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/2406.12950v1
http://arxiv.org/pdf/2406.12950v1
MolecularGPT: Open Large Language Model (LLM) for Few-Shot Molecular Property Prediction
2024-06-18T12:54:47
2024-06-18T12:54:47
Yuyan Liu, Sirui Ding, Sheng Zhou, Wenqi Fan, Qiaoyu Tan
q-bio.QM
q-bio.QM, cs.AI, cs.CE, cs.CL, cs.LG
Molecular property prediction (MPP) is a fundamental and crucial task in drug discovery. However, prior methods are limited by the requirement for a large number of labeled molecules and their restricted ability to generalize for unseen and new tasks, both of which are essential for real-world applications. To address these challenges, we present MolecularGPT for few-shot MPP. From a perspective on instruction tuning, we fine-tune large language models (LLMs) based on curated molecular instructions spanning over 1000 property prediction tasks. This enables building a versatile and specialized LLM that can be adapted to novel MPP tasks without any fine-tuning through zero- and few-shot in-context learning (ICL). MolecularGPT exhibits competitive in-context reasoning capabilities across 10 downstream evaluation datasets, setting new benchmarks for few-shot molecular prediction tasks. More importantly, with just two-shot examples, MolecularGPT can outperform standard supervised graph neural network methods on 4 out of 7 datasets. It also excels state-of-the-art LLM baselines by up to 16.6% increase on classification accuracy and decrease of 199.17 on regression metrics (e.g., RMSE) under zero-shot. This study demonstrates the potential of LLMs as effective few-shot molecular property predictors. The code is available at https://github.com/NYUSHCS/MolecularGPT.
[ -0.2640831768512726, -0.7759891152381897, 0.6435083150863647, -0.3346308767795563, -0.221713125705719, -0.01864609494805336, -0.45645391941070557, -0.1917068213224411, -0.2102591097354889, 0.5219492316246033, -0.6277667880058289, -0.6601386070251465, -0.8284817934036255, -0.15953968465328217, 0.13443437218666077, 1.177398920059204, 0.08433699607849121, 0.2775607705116272, -0.000794554827734828, 0.06771384924650192, -0.07100760191679001, -0.13809511065483093, -0.3762862980365753, -0.5463545322418213, 0.5503587126731873, 0.6739519238471985, 0.3198665976524353, 0.8281199336051941, 0.9015768766403198, 0.17398862540721893, -0.08063744008541107, -0.03332168236374855, -0.7282990217208862, -0.14730408787727356, -0.019998112693428993, -0.3427562713623047, -0.6317039132118225, -0.00003364925942150876, 0.3250599801540375, 0.5865694284439087, -0.0813620388507843, 0.028295015916228294, 0.09250408411026001, 0.6617274880409241, -0.6510050892829895, 0.2446509301662445, -0.7848080992698669, 0.2852627635002136, -0.3047039210796356, -0.2740172743797302, -0.1838098168373108, 0.15596601366996765, 0.331254243850708, -0.4376178979873657, 0.2517126202583313, -0.015585149638354778, 0.5613533854484558, 0.337628573179245, -0.46130865812301636, 0.07421692460775375, -0.49448153376579285, 0.6269387006759644, -0.8340662121772766, 0.15335965156555176, 0.27887585759162903, 0.6887500286102295, -0.6486926078796387, -0.7374857068061829, -0.28162696957588196, -0.7545676827430725, 0.17550428211688995, 0.15622322261333466, 0.07218144834041595, 0.43766942620277405, 0.16059914231300354, 0.25036779046058655, -0.7272904515266418, 0.07973749190568924, -0.39475688338279724, -0.11077261716127396, 0.2397574484348297, 0.17154726386070251, 0.09322943538427353, -0.10260595381259918, -0.5743743777275085, 0.05724799633026123, -0.8539661169052124, -0.16288627684116364, 0.03769254311919212, 0.7420583367347717, -0.03806155174970627, 0.8947368860244751, -0.3351428508758545, 0.7179076671600342, -0.051307257264852524, -0.18453864753246307, -0.19500471651554108, -0.2649281322956085, -0.3190366327762604, 0.35361385345458984, 0.7897514700889587, 0.3262159824371338, 0.29450663924217224, 0.09261123090982437, 0.017039092257618904, -0.21751652657985687, -0.06363619118928909, -1.3138691186904907, -0.5067137479782104, 0.24141637980937958, -0.15999837219715118, -0.229958176612854, 0.09148050099611282, -0.859582781791687, -0.48640817403793335, -0.08355960249900818, 0.38575515151023865, -0.5603389739990234, 0.2986513674259186, 0.192295104265213, -0.2131412923336029, -0.14726383984088898, 0.15810197591781616, -1.1451174020767212, 0.1811668574810028, 0.8340789079666138, 1.01874840259552, -0.3887089788913727, -0.4882661700248718, -0.6914508938789368, 0.319672554731369, -0.05893217399716377, 0.9539061784744263, -0.8405240774154663, -0.23206093907356262, -0.49992290139198303, -0.07294056564569473, 0.14936748147010803, -0.5120210647583008, 0.14809580147266388, -0.13218174874782562, -0.15115101635456085, 0.016777947545051575, -0.7549085021018982, 0.0529211200773716, 0.41576087474823, -0.3141429126262665, 0.4615517854690552, 0.37931326031684875, -0.3780801594257355, 0.5360623598098755, -0.68679279088974, -0.13085564970970154, 0.24469594657421112, -0.19270998239517212, -0.39424559473991394, 0.03784700110554695, 0.19177648425102234, 0.5687693953514099, -0.06007019802927971, -0.06907058507204056, -0.45789864659309387, -0.47054919600486755, 0.174948588013649, -0.3773450553417206, 0.3588064908981323, -0.06217169016599655, -0.3105829060077667, 0.1481960415840149, -0.8044477105140686, 0.10554162412881851, -0.20934928953647614, -0.5058619379997253, 0.3595331311225891, -0.4091682732105255, -0.05068565532565117, 0.24202479422092438, 0.1438569575548172, -0.5215182304382324, 0.7855326533317566, -0.5423356294631958, 0.46642404794692993, 0.8548088669776917, 0.24538826942443848, 0.6281942129135132, -0.06370878219604492, 0.8645205497741699, 0.12223220616579056, -0.05120193958282471, -0.15914157032966614, -0.5969533920288086, -0.47510671615600586, -0.3886202871799469, 0.3244202733039856, 0.6978682279586792, -0.4869863986968994, 0.1646309643983841, -0.3131483495235443, -0.5382192134857178, 0.01716596633195877, 0.5770219564437866, 0.5025795102119446, 0.482045441865921, 0.46569302678108215, -0.1682242453098297, -0.34169816970825195, -0.7251216769218445, -0.4179423153400421, 0.028828278183937073, -0.19222313165664673, 0.6618664860725403, 0.7198379039764404, -0.3391764461994171, 0.7047457098960876, -0.8068665266036987, -0.6113933324813843, -0.49007681012153625, -0.039236873388290405, 0.35567283630371094, 0.3182052671909332, 0.1563405990600586, -0.1928521692752838, -0.7290914058685303, 0.3326009213924408, -0.4185146987438202, 0.0016471192939206958, 0.07870405167341232, -0.26854774355888367, 0.010009219869971275, 0.3692609965801239, -0.7355249524116516, 0.17411170899868011, 0.4864465892314911, -0.14282333850860596, 0.32549726963043213, -0.0549740344285965, -0.18240045011043549, -0.9018065333366394, -0.23459404706954956, 0.36930587887763977, -0.15103334188461304, -0.46298572421073914, -0.14544610679149628, -0.26979196071624756, -0.06506838649511337, -0.810066282749176, 0.7271185517311096, -0.16515067219734192, 0.0891532450914383, -0.4564368724822998, -0.11122602969408035, -0.18932890892028809, 0.529405951499939, 0.013517441228032112, 0.7421845197677612, 0.5707980990409851, -0.3128759562969208, 0.36390846967697144, 0.03754271939396858, -0.24361419677734375, 0.25798213481903076, -0.5061146020889282, 0.1610514521598816, 0.09704301506280899, 0.39281097054481506, -0.5996240377426147, -0.6213256120681763, 0.35451748967170715, -0.37322595715522766, 0.5716342926025391, -0.8745272755622864, -0.23075249791145325, -0.005478242877870798, -0.28603246808052063, 0.022228127345442772, 0.3472629189491272, -0.411064475774765, 0.41108497977256775, 0.10205313563346863, -0.04216359555721283, -0.45549261569976807, -0.7252515554428101, -0.02228626236319542, -0.11612094193696976, -0.4409111440181732, 0.16591855883598328, -0.014601340517401695, 0.19686149060726166, -0.1391827017068863, -0.20396235585212708, -0.2556481957435608, -0.22470687329769135, 0.3302823305130005, 0.1910862922668457, -0.4050147533416748, 0.2060767412185669, -0.22096681594848633, -0.44617515802383423, -0.2726982533931732, -0.7196257710456848, 0.41748863458633423, -0.4739212393760681, -0.06536488234996796, -0.04075775668025017, 0.011165308766067028, 0.26736530661582947, 0.011138146743178368, 0.605385422706604, 0.6523085236549377, -0.06112360954284668, -0.47747424244880676, 0.23350194096565247, -0.5132872462272644, -0.5182320475578308, 0.5481858849525452, -0.38950854539871216, -1.0055328607559204, 0.08316897600889206, -0.3592756390571594, -0.4624428451061249, 0.1455576866865158, 0.739212155342102, -0.21878300607204437, 0.6586620807647705, 0.6169087886810303, -0.03172878175973892, 0.3924442529678345, -0.46306172013282776, 0.3686387240886688, -0.7176843881607056, -0.037294209003448486, 0.0518568754196167, -0.5742813944816589, -0.7782958149909973, -0.5052421689033508, 0.7898939847946167, 0.31582704186439514, -0.4700431525707245, 0.4172625243663788, -0.5753511786460876, 0.924233078956604, 0.7342491745948792, 0.3885284960269928, 0.06111355125904083, 0.21027487516403198, -0.05236554890871048, -0.02796868234872818, -0.6537057757377625, -0.5060486197471619, 1.5765864849090576, 0.1005643829703331, 0.7278904914855957, -0.08585968613624573, 0.7812814712524414, -0.03630712628364563, -0.0035511201713234186, -1.1719943284988403, 0.5991693735122681, -0.37540996074676514, -0.6317149996757507, -0.3508278429508209, -0.4742487370967865, -0.6676934957504272, -0.1142595186829567, -0.19347088038921356, -0.9765598177909851, -0.03188898041844368, 0.5018050074577332, -0.5569887757301331, 0.3695639967918396, -0.6674234867095947, 1.1128017902374268, -0.27292072772979736, -0.6424802541732788, 0.06029452756047249, -0.8011378645896912, 0.4569002091884613, -0.021816905587911606, -0.48376739025115967, -0.36922574043273926, -0.07049840688705444, 0.19724422693252563, -0.5549695491790771, 0.6512520909309387, -0.025559479370713234, 0.2085917741060257, 0.21475113928318024, 0.2864324450492859, 0.5272480249404907, 0.04588165506720543, 0.06577553600072861, 0.20876093208789825, 0.02795986831188202, -0.4426893889904022, -0.6642584204673767, 0.8814014196395874, -0.38463523983955383, -0.3169344365596771, -0.39030131697654724, -0.49661025404930115, -0.2644043564796448, 0.34435856342315674, 0.6873698830604553, 0.08753617852926254, -0.046925004571676254, -0.004214742686599493, 0.4777205288410187, -0.11728184670209885, 0.18931712210178375, 0.4444403350353241, 0.00440964475274086, -0.2288396656513214, 1.1886427402496338, 0.08071542531251907, 0.338421106338501, 0.6176044344902039, 0.5871814489364624, 0.12242159992456436, -0.7000170350074768, -0.43732279539108276, -0.19272862374782562, -0.7892404794692993, -0.2969093918800354, -0.38223493099212646, -0.10872604697942734, -0.23476894199848175, -0.26671481132507324, -0.5742186307907104, -0.6638177633285522, -0.14116352796554565, -0.2605419456958771, 0.587794303894043, 0.5721626281738281, -0.07921437174081802, 0.5300927758216858, -0.9336792826652527, 0.5070269107818604, 0.40075668692588806, 0.5611952543258667, -0.52875155210495, -0.46279263496398926, -0.2592408061027527, 0.1011960357427597, -0.42502501606941223, -0.5547104477882385, 0.31190964579582214, 0.5202994346618652, 0.21461249887943268, 0.4654855728149414, -0.36454877257347107, 0.3561822474002838, -0.7267926931381226, 0.6875198483467102, -0.16415809094905853, -0.6167938709259033, 0.8379931449890137, -0.7114272713661194, 0.3734184503555298, 0.7519637942314148, 0.27852654457092285, -0.13813963532447815, 0.1012832373380661, -0.3624017536640167, -0.780136227607727, 0.5831126570701599, 0.1854880452156067, -0.12359513342380524, 0.22521106898784637, 0.29716458916664124, 0.06289491802453995, 0.18303769826889038, -0.6713314652442932, -0.2306763231754303, -0.20422528684139252, -0.22290079295635223, -0.10801409184932709, -0.13296106457710266, -0.05954660847783089, -0.5115325450897217, 0.7181498408317566, -0.4463855028152466, 0.2822365462779999, -0.16617272794246674, 0.08493074029684067, -0.08562052249908447, 0.5737987756729126, 0.8200780749320984, 0.47176527976989746, -0.862535297870636, 0.013673308305442333, 0.13767048716545105, -0.6915952563285828, 0.2542068064212799, 0.1590924710035324, -0.04971820116043091, -0.3433891534805298, 0.38039883971214294, 0.7595142126083374, -0.05257844179868698, -0.7470165491104126, 0.4855300188064575, 0.346387654542923, 0.03414814919233322, -0.01835087686777115, 0.3123199939727783, -0.01608206145465374, 0.32074683904647827, -0.08910030126571655, 0.12619154155254364, 0.2520962655544281, -0.5836372375488281, 0.3642820417881012, 0.3872374892234802, -0.5965826511383057, -0.11196023970842361, 0.5713813900947571, -0.062190230935811996, 0.08030257374048233, 0.5517066121101379, -0.3300033509731293, -0.4595457911491394, 0.6483568549156189, 0.3925211727619171, 1.0200074911117554, 0.006733303423970938, 0.10350102931261063, 0.3391997516155243, 0.32835519313812256, 0.015115263871848583, 0.13242658972740173, 0.16655510663986206, -0.7697734832763672, -0.01922064833343029, -0.6547675132751465, -0.5898527503013611, 0.0119263781234622, -0.03794500231742859, 0.42056047916412354, -0.8375068306922913, -0.07007254660129547, 0.2500433027744293, 0.1433214396238327, -0.3471977710723877, -0.02250850200653076, 0.2602078318595886, 0.6987790465354919, -0.614408016204834, 1.116481065750122, 0.49742591381073, -0.3171461224555969, -0.5502909421920776, -0.045358650386333466, 0.5013938546180725, -0.6668576598167419, 0.7509844303131104, 0.23263470828533173, -0.19661779701709747, -0.020668717101216316, -0.8046437501907349, -0.6315028071403503, 1.0695236921310425, 0.6361294388771057, -0.9059079885482788, 0.12226616591215134, 0.40660926699638367, 0.5099833011627197, -0.4431314468383789, 0.18823669850826263, 1.0546576976776123, 0.6062828302383423, 0.30993565917015076, -0.6738454103469849, -0.23539486527442932, -0.021295426413416862, -0.0873929113149643, 0.21110621094703674, -0.4004417359828949, 0.7350190281867981, -0.5102431774139404, 0.18147391080856323, -0.0019011700060218573, 0.17649126052856445, 0.6855470538139343, 0.3059377670288086, -0.14651191234588623, 0.6004945635795593, 0.4760292172431946, -0.2244299352169037, 1.348225474357605, -0.3766625225543976, 0.2625288665294647, 1.4095392227172852, -0.256093829870224, 0.9380137324333191, 0.4479624927043915, -0.3345339894294739, 0.20008736848831177, 0.5206691026687622, -0.4374408721923828, 0.6395826935768127, 0.5326979756355286, -0.4799269735813141, -0.2160429060459137, -0.03963061422109604, -0.04311973601579666, 0.6577470302581787, 0.47578275203704834, -0.331799179315567, -0.18680360913276672, 0.010261462070047855, -0.1810148060321808, -0.2461024820804596, -0.25722673535346985, 0.7311697006225586, 0.30287298560142517, -0.23271207511425018, 0.4207131266593933, -0.03038649819791317, 0.5937660932540894, -0.6895660758018494, -0.3649972975254059, -0.22551381587982178, 0.4491114616394043, -0.2499435693025589, -0.8536087870597839, -0.19362883269786835, -0.18610231578350067, -0.22209253907203674, 0.11349070817232132, 0.8153548240661621, -0.5482652187347412, -0.7208935022354126, 0.12075180560350418, 0.1934393048286438, 0.19657489657402039, -0.3597537875175476, -0.7499363422393799, -0.3263799846172333, -0.08256827294826508, -0.4108121991157532, 0.3540400266647339, 0.35598430037498474, 0.18362700939178467, 0.8195750713348389, 0.552051305770874, 0.2997424900531769, 0.12487716227769852, -0.1705545336008072, 0.7882683873176575, -0.7267967462539673, 0.07037533819675446, -0.9870222806930542, 0.3546799421310425, 0.26750025153160095, -0.434488445520401, 0.5023946166038513, 0.7054040431976318, 0.7360408902168274, -0.24832873046398163, 0.7123825550079346, 0.4144041836261749, 0.2459263801574707, -0.8252459168434143, 0.6157423257827759, -0.20779407024383545, 0.5115329623222351, -0.04984039440751076, -1.088411569595337, -0.4206973910331726, 0.5358134508132935, -0.16754096746444702, 0.3395993113517761, 0.6826801896095276, 1.2094788551330566, -0.3495159149169922, -0.37314316630363464, 0.29326245188713074, 0.37595444917678833, 0.36086270213127136, 1.0110278129577637, 0.554038941860199, -0.3817156255245209, 0.40429994463920593, -0.5962562561035156, 0.04445885494351387, -0.2592379152774811, -1.1045368909835815, -1.0083447694778442, -0.0027481408324092627, -0.32978469133377075, -0.28621187806129456, 0.12198060750961304, 1.2786310911178589, 0.8795322179794312, -1.0592741966247559, -0.14247819781303406, -0.5973158478736877, -0.0885845348238945, 0.023067783564329147, -0.20769913494586945, 0.3149723410606384, -0.016133537515997887, -0.5594165325164795, 0.8117490410804749, 0.7423004508018494, 0.49219173192977905, -0.12728267908096313, -0.12378787249326706, -0.028652938082814217, -0.19733700156211853, 0.6047561764717102, 0.43038490414619446, -0.6693195104598999, 0.02465507574379444, -0.13178202509880066, -0.18153464794158936, 0.3479996621608734, 0.8514689207077026, -0.7473647594451904, 0.5080727338790894, 0.6154190301895142, 0.49393370747566223, 0.774286687374115, -0.02328123152256012, 0.6942340731620789, -0.9882359504699707, 0.2600169777870178, 0.4506719410419464, 0.31394287943840027, 0.14319780468940735, -0.4968893527984619, 0.6129125952720642, 0.07123995572328568, -0.539424479007721, -0.49197426438331604, 0.2428811490535736, -1.2898399829864502, -0.4135788381099701, 1.2121602296829224, -0.11029308289289474, -0.19961342215538025, 0.3193153738975525, -0.1279616504907608, -0.04706541448831558, -0.6064327359199524, 0.4711689352989197, 0.5524576306343079, -0.3207373023033142, -0.6332213878631592, -0.8630086779594421, 0.7322595715522766, 0.15593688189983368, -0.8052095770835876, -0.025680730119347572, 0.5100371837615967, 0.22351227700710297, -0.3067581057548523, 0.4988645613193512, 0.16993264853954315, 0.2146005630493164, -0.05764571949839592, -0.17987574636936188, -0.32889214158058167, -0.6025499105453491, -0.3910304605960846, -0.07215531915426254, 0.06197378784418106, 0.03275604546070099 ]
http://arxiv.org/abs/2406.12566v2
http://arxiv.org/pdf/2406.12566v2
RichRAG: Crafting Rich Responses for Multi-faceted Queries in Retrieval-Augmented Generation
2024-06-18T12:52:51
2024-06-21T18:12:15
Shuting Wang, Xin Yu, Mang Wang, Weipeng Chen, Yutao Zhu, Zhicheng Dou
cs.CL
cs.CL
Retrieval-augmented generation (RAG) effectively addresses issues of static knowledge and hallucination in large language models. Existing studies mostly focus on question scenarios with clear user intents and concise answers. However, it is prevalent that users issue broad, open-ended queries with diverse sub-intents, for which they desire rich and long-form answers covering multiple relevant aspects. To tackle this important yet underexplored problem, we propose a novel RAG framework, namely RichRAG. It includes a sub-aspect explorer to identify potential sub-aspects of input questions, a multi-faceted retriever to build a candidate pool of diverse external documents related to these sub-aspects, and a generative list-wise ranker, which is a key module to provide the top-k most valuable documents for the final generator. These ranked documents sufficiently cover various query aspects and are aware of the generator's preferences, hence incentivizing it to produce rich and comprehensive responses for users. The training of our ranker involves a supervised fine-tuning stage to ensure the basic coverage of documents, and a reinforcement learning stage to align downstream LLM's preferences to the ranking of documents. Experimental results on two publicly available datasets prove that our framework effectively and efficiently provides comprehensive and satisfying responses to users.
[ -0.8066781759262085, -0.8380969166755676, 0.26152971386909485, 0.1854187697172165, -0.06387682259082794, 0.17773045599460602, -0.1664734184741974, -0.4057583808898926, 0.5445907711982727, 0.6074696779251099, -0.321318119764328, -0.08412593603134155, -0.5420143008232117, 0.021075746044516563, -0.4332907497882843, 1.4740757942199707, 0.1467789262533188, -0.31850501894950867, -0.19399595260620117, -0.18477167189121246, -0.3208635151386261, -0.4061447083950043, -0.5657841563224792, -0.1910611391067505, 1.0306333303451538, 0.3921240568161011, 0.537642240524292, 0.2542904317378998, 0.21169978380203247, 0.26068180799484253, -0.2387230098247528, 0.5113382339477539, -0.8425189256668091, 0.8179073929786682, -0.422981858253479, -0.2344464659690857, -0.3991149663925171, -0.22443027794361115, 0.403372585773468, 0.5308734178543091, 0.07688659429550171, 0.3099208176136017, 0.2903495132923126, 0.6132828593254089, -0.8996471166610718, -0.2901413142681122, -0.850399374961853, -0.007318584248423576, -0.43628883361816406, -0.4935026466846466, -0.2806439995765686, 0.10503123700618744, -0.2564789950847626, -0.6554852724075317, 0.4800805151462555, 0.09721271693706512, 0.7417343258857727, 0.2776832580566406, -0.35867705941200256, -0.3441987931728363, -0.8075271248817444, 0.5961455702781677, -0.18784703314304352, 0.3715551495552063, 0.4888116121292114, 0.5991930961608887, -0.03924212232232094, -0.6197882890701294, -0.5908677577972412, 0.20004823803901672, -0.1780022233724594, 0.3249742090702057, 0.3610880970954895, -0.15961122512817383, 0.08113877475261688, 0.6290295720100403, -0.6675305962562561, -0.09607038646936417, -0.21323952078819275, -0.07440505176782608, 0.6913089156150818, 0.11260420829057693, -0.060874130576848984, -0.3818497061729431, -0.2712312638759613, -0.16077734529972076, -0.5763760805130005, -0.015006489120423794, 0.5158240795135498, 0.42483362555503845, 0.15554067492485046, 0.962441086769104, -0.5378957390785217, 0.6444907784461975, 0.34495121240615845, -0.0162952933460474, 0.0013572369934991002, -0.3662862181663513, 0.02265695109963417, -0.031009050086140633, 0.48453488945961, -0.034175388514995575, -0.0971044972538948, -0.1809442937374115, -0.6251634955406189, -0.4140990078449249, 0.4569677710533142, -1.0800837278366089, -0.010130050592124462, 0.4959506094455719, -0.24814358353614807, -0.3202860951423645, -0.05495276674628258, -1.085599660873413, -0.7318731546401978, -0.22483167052268982, 0.551091730594635, -0.06483892351388931, -0.1651260405778885, -0.1042192131280899, -0.14150139689445496, 0.3000704050064087, 0.3111051023006439, -0.8366613388061523, 0.15343810617923737, 0.8337000608444214, 0.43018707633018494, 0.010507380589842796, -0.34477493166923523, -1.2109901905059814, 0.32860618829727173, -0.1626611053943634, 1.2107274532318115, -0.7112973928451538, -0.3306421935558319, -0.021806005388498306, -0.16625824570655823, 0.00497132632881403, -0.668664813041687, 0.44391709566116333, -0.947301983833313, 0.5217012763023376, -0.31030768156051636, -0.27053144574165344, 0.12178613245487213, 0.6184587478637695, -0.711905300617218, 1.1356786489486694, 0.28181302547454834, -1.1048089265823364, 0.40042370557785034, -0.422058641910553, -0.32924917340278625, 0.28468090295791626, -0.30488625168800354, -0.49203112721443176, 0.1345483660697937, 0.29043713212013245, 0.4667266607284546, -0.3061397671699524, 0.3506222367286682, -0.12344282865524292, -0.4177659749984741, 0.19372038543224335, -0.18059663474559784, 0.39627689123153687, 0.39108899235725403, -0.23372402787208557, 0.40304574370384216, -0.5050933957099915, -0.018168525770306587, 0.09096301347017288, -0.6048891544342041, -0.33151042461395264, -0.043175455182790756, 0.319551020860672, 0.12566159665584564, 0.2514759302139282, -0.46676522493362427, 0.21762850880622864, -0.3991614878177643, -0.19700808823108673, 0.5334765315055847, 0.1314905732870102, 0.3800787627696991, -0.49103081226348877, 0.6372570395469666, -0.0349682979285717, -0.013001525774598122, -0.13583357632160187, -0.22385601699352264, -0.732466995716095, -0.34913113713264465, 0.3557896018028259, 0.39628246426582336, -0.9319894313812256, 0.2660803496837616, -0.3009546399116516, -0.3574134111404419, -0.6404069662094116, 0.2619105577468872, 0.3951747417449951, 0.2765135169029236, 0.5118385553359985, -0.14363451302051544, -0.40771928429603577, -0.6926310062408447, -0.376166433095932, 0.0719241127371788, -0.13516871631145477, 0.7490139007568359, 0.3671948313713074, -0.28619205951690674, 0.758495032787323, -0.4141782820224762, -0.33800745010375977, -0.5177070498466492, 0.15836021304130554, 0.054984789341688156, 0.1914708912372589, 0.3555760681629181, -1.1429332494735718, -0.5234992504119873, 0.09949969500303268, -0.4759122431278229, -0.08882299065589905, -0.03560831770300865, -0.40337327122688293, 0.0020811473950743675, 0.10880877822637558, -0.7003027200698853, 0.09388930350542068, 0.34048721194267273, -0.3110669255256653, 0.35891762375831604, 0.04237530007958412, 0.20144380629062653, -1.4216512441635132, 0.3402208983898163, -0.38944941759109497, -0.10498521476984024, -0.30696380138397217, 0.45108479261398315, -0.16700471937656403, -0.3440433144569397, -0.18597272038459778, 0.9648025631904602, -0.17685961723327637, -0.400042325258255, -0.24751457571983337, 0.13098248839378357, 0.12628382444381714, 0.3034023940563202, -0.12293683737516403, 0.9198473691940308, 0.15146541595458984, -0.5449802875518799, 0.19067250192165375, 0.28248128294944763, 0.08223401010036469, 0.6722704768180847, -0.7613051533699036, 0.07219893485307693, -0.45163199305534363, 0.28419598937034607, -0.7023323178291321, -0.6356096863746643, -0.05764981359243393, -0.46467578411102295, 0.4614078402519226, -0.3401826024055481, -0.37385544180870056, -0.06292889267206192, -0.4901362657546997, 0.4930057227611542, 0.1311456710100174, -0.540813684463501, 0.932846188545227, 0.4091266691684723, -0.36513569951057434, -0.8203504681587219, -0.18403251469135284, -0.05686274543404579, -0.2335585504770279, -0.4785453975200653, 0.42079004645347595, -0.1775609701871872, -0.14871619641780853, 0.07190027087926865, -0.07158163189888, -0.10036710649728775, 0.10650792717933655, 0.06185857579112053, -0.08652754873037338, 0.02746247500181198, -0.0024664869997650385, 0.1763569861650467, -0.07875452935695648, -0.3547595143318176, -0.07747843116521835, 0.7679752111434937, 0.14020277559757233, -0.4080412983894348, 0.3478308618068695, 0.6230653524398804, 0.41205939650535583, -0.8132954835891724, 0.6350549459457397, 0.9819434881210327, -0.19501976668834686, -0.5864912867546082, -0.4680825471878052, -0.18783926963806152, -0.4127182364463806, 0.24836380779743195, -0.6146663427352905, -1.0604428052902222, 0.5787240266799927, 0.0787573978304863, 0.21195189654827118, 0.4382292926311493, 0.7097432613372803, 0.026405997574329376, 0.9633963108062744, 0.46699970960617065, 0.06226694956421852, 0.3115561902523041, -0.3599269390106201, 0.22867272794246674, -1.0646916627883911, -0.3913365602493286, -0.7255424857139587, -0.4751247465610504, -0.6914398670196533, -0.463467001914978, 0.624196469783783, 0.37462446093559265, -0.2885085642337799, 0.004314069170504808, -0.5918172001838684, 0.285328209400177, 0.4447306990623474, -0.14692148566246033, 0.21644273400306702, -0.013103044591844082, -0.051468122750520706, 0.25306805968284607, -0.5905286073684692, -0.2172948271036148, 0.9251133799552917, 0.027903489768505096, 0.910636842250824, 0.12051411718130112, 1.0911781787872314, 0.12142182886600494, 0.27840492129325867, -0.7880403399467468, 0.3736594617366791, 0.006509370170533657, -0.7854469418525696, -0.3780464231967926, -0.5650267601013184, -1.1054229736328125, 0.5908988118171692, -0.30730628967285156, -0.23339320719242096, 0.14335541427135468, 0.0761423259973526, -0.4104226231575012, 0.08236660063266754, -0.10974791646003723, 0.6510734558105469, -0.3901533782482147, -0.760718822479248, -0.07334902882575989, -0.5121862888336182, 0.4035526216030121, -0.11639561504125595, 0.13818764686584473, 0.1874726265668869, -0.032966796308755875, 0.5360330939292908, -0.0905705913901329, 0.37804827094078064, -0.2081308364868164, -0.00968626793473959, 0.1886652708053589, 0.20518118143081665, 0.5044012665748596, 0.37464216351509094, -0.17363479733467102, -0.43813076615333557, -0.19953984022140503, -0.445119708776474, -0.565493643283844, 0.8015633821487427, -0.5401456356048584, -0.4513983428478241, -0.3424343466758728, -0.6851041913032532, -0.3121866285800934, 0.3486365079879761, 0.2168959379196167, 0.4399382472038269, -0.009064286015927792, 0.32244837284088135, 0.9975230693817139, -0.44873207807540894, 0.11205035448074341, 0.30269041657447815, -0.4601273834705353, -0.5066867470741272, 0.970635175704956, -0.01427603978663683, -0.1786736100912094, 0.5556380152702332, 0.22703075408935547, -0.22634772956371307, -0.4997877776622772, -0.7502961158752441, 0.1493588238954544, -0.373384028673172, -0.4627809226512909, -0.9792872071266174, -0.30009225010871887, -0.37710049748420715, -0.02919403463602066, -0.33001869916915894, -0.36063647270202637, -0.0021727036219090223, 0.10214196890592575, 0.3084169924259186, 0.7250985503196716, 0.14151372015476227, -0.134018212556839, -0.7410439252853394, 0.7408748865127563, 0.6490501165390015, 0.5138856172561646, -0.0788913369178772, -0.3770536482334137, -0.2793666124343872, -0.09305133670568466, -0.41436293721199036, -0.52554851770401, 0.33950960636138916, 0.2409340888261795, 0.7022156715393066, 0.08749724179506302, 0.26814231276512146, 0.5858202576637268, -0.3399534821510315, 0.7785455584526062, -0.4967626929283142, -0.28840160369873047, 0.5730298161506653, -0.5364667177200317, 0.07216373085975647, 0.828223466873169, 0.4454670548439026, -0.36301305890083313, -0.33719494938850403, -0.4903710186481476, -1.1307337284088135, 0.3759738504886627, 0.03961190953850746, 0.1872493177652359, 0.033361662179231644, 0.18267561495304108, 0.28424379229545593, 0.36874908208847046, -0.381114661693573, -0.000023881872039055452, -0.3865780532360077, -0.09019206464290619, 0.09427042305469513, -0.2691923677921295, -0.3118986487388611, 0.044936809688806534, 0.6885795593261719, -0.3206697702407837, 0.1458657830953598, 0.10001884400844574, -0.02158726006746292, -0.13190390169620514, 0.609498918056488, 0.43002891540527344, 0.5030948519706726, -0.205987811088562, 0.2987346053123474, -0.25580182671546936, -0.314389169216156, -0.2264070361852646, 0.5988690257072449, -0.2897288501262665, -0.2007022500038147, 0.26945334672927856, 0.5657100081443787, 0.09044650197029114, -0.5827928185462952, 0.48961693048477173, -0.014534318819642067, 0.0032623731531202793, -0.09938198328018188, 0.06506744027137756, 0.02019495703279972, 0.2610248625278473, 0.47421637177467346, -0.21232548356056213, 0.38975995779037476, -0.5441073179244995, 0.20150324702262878, 0.6594939231872559, -0.14556315541267395, -0.17766299843788147, 0.84300297498703, 0.19373202323913574, -0.17620635032653809, 0.3649662137031555, -0.40276631712913513, -0.7752456068992615, 0.11306557059288025, 0.368943989276886, 0.7925283908843994, 0.010933137498795986, 0.2547462284564972, 0.15634028613567352, -0.08340425789356232, 0.08180360496044159, 0.49199485778808594, -0.44142526388168335, -0.4608011245727539, -0.4756939709186554, -1.1886506080627441, -0.29863929748535156, 0.22473667562007904, -0.5574102401733398, -0.07454951852560043, -0.15339387953281403, 0.14354166388511658, -0.14662130177021027, 0.24508218467235565, -0.6859738826751709, 0.10980047285556793, -0.20955321192741394, 0.6021247506141663, -0.44313445687294006, 0.40630581974983215, 0.7897282242774963, -0.6505866050720215, -0.7557816505432129, 0.1137700229883194, -0.30467987060546875, -0.5149715542793274, 0.5780401825904846, -0.0769532173871994, -0.080453060567379, -0.04944481700658798, -0.33831483125686646, -0.6858101487159729, 0.9528142809867859, 0.16168883442878723, -0.12844182550907135, 0.005943514872342348, 0.028871072456240654, 0.42634832859039307, -0.1507757157087326, 0.3681899607181549, 0.06729152798652649, 0.41841921210289, 0.18914894759655, -0.8649423718452454, -0.16973571479320526, -0.4214276075363159, -0.03626972436904907, 0.39618879556655884, -0.6840544939041138, 0.948890745639801, 0.052032455801963806, -0.021019650623202324, 0.009707968682050705, 0.4736625850200653, 0.5736609101295471, 0.5262332558631897, 0.28236737847328186, 0.808155357837677, 0.6215660572052002, 0.18664862215518951, 1.278327465057373, -0.3177381157875061, 0.1985778659582138, 1.1075047254562378, -0.344648152589798, 0.9033779501914978, 0.4139663577079773, 0.14165949821472168, 0.36884814500808716, 0.4200085699558258, 0.39963123202323914, 0.5627309083938599, 0.15023651719093323, -0.518953263759613, -0.29459649324417114, -0.42199385166168213, -0.4214017987251282, 0.47489961981773376, 0.21841837465763092, -0.14337603747844696, -0.40464693307876587, -0.05214131250977516, -0.2269248217344284, 0.20136548578739166, -0.18111319839954376, 1.0005078315734863, -0.1746189296245575, -0.6825315356254578, 0.523191511631012, 0.00225769798271358, 0.7727052569389343, -0.46621614694595337, -0.17399683594703674, -0.6633242964744568, -0.013083936646580696, -0.3135596811771393, -0.8285748958587646, 0.12791360914707184, 0.15170598030090332, -0.31139805912971497, -0.3609660267829895, 0.9340791702270508, -0.5077056884765625, -0.3502405285835266, -0.027904003858566284, 0.7834436297416687, 0.1666945070028305, -0.24509169161319733, -0.5325794219970703, 0.10884706676006317, -0.3288120627403259, -0.6250308156013489, 0.6555852890014648, 0.7456580996513367, -0.11964377760887146, 0.3997727334499359, 0.5582379698753357, 0.25384971499443054, 0.007402963470667601, 0.2710488438606262, 1.1852213144302368, -0.3705393075942993, -0.3849112093448639, -0.102016381919384, 0.6317301392555237, -0.24355673789978027, -0.2507581114768982, 0.7210233211517334, 0.9271406531333923, 0.9459099173545837, 0.18757136166095734, 0.6778915524482727, -0.23417018353939056, 0.7416512370109558, -0.26598140597343445, 0.7906840443611145, -0.7568648457527161, 0.347854346036911, -0.06138487532734871, -1.2012611627578735, -0.04050152748823166, 0.4102915823459625, 0.02734670229256153, 0.23555272817611694, 0.28564319014549255, 0.7969441413879395, -0.27125054597854614, -0.39539238810539246, 0.17789813876152039, -0.08010926842689514, 0.42885881662368774, 0.3233951926231384, 0.7881284356117249, -0.3540979325771332, 0.5380934476852417, -0.1711570918560028, -0.05998201295733452, -0.2594622075557709, -0.4808715581893921, -0.7615881562232971, -0.511260449886322, 0.3026805818080902, -0.2531245946884155, 0.09685855358839035, 0.6783294677734375, 0.5721418261528015, -0.660783588886261, -0.008951175957918167, 0.16255806386470795, 0.15868966281414032, 0.03978681191802025, -0.2579144537448883, 0.2763429582118988, -0.5787141919136047, -0.5892374515533447, 0.4240800440311432, 0.12541146576404572, -0.27104443311691284, -0.5437084436416626, -0.1206926703453064, -0.061253469437360764, -0.0037506965454667807, 0.7946977615356445, 0.1883271336555481, -0.4340890347957611, -0.11436796933412552, 0.16423331201076508, -0.06534357368946075, -0.16585159301757812, 0.9141330122947693, -1.0190523862838745, 0.39223209023475647, 0.7045167088508606, 1.2196388244628906, 0.8037391304969788, 0.3170042634010315, 0.16474488377571106, -0.9369386434555054, -0.056340716779232025, 0.5446621179580688, -0.03707617148756981, 0.47093361616134644, -0.515954852104187, 0.5429869294166565, -0.08084724098443985, -0.7019700407981873, -0.7870544195175171, 0.2575715482234955, -0.9691614508628845, -0.2993437349796295, 1.1591923236846924, 0.26742491126060486, 0.0724201574921608, -0.13571101427078247, -0.23340825736522675, 0.14274165034294128, -0.37417513132095337, 0.8488438725471497, 0.2519962191581726, -0.3414573073387146, -0.1839560568332672, -0.7048868536949158, 0.500459611415863, 0.32477378845214844, -0.9755081534385681, 0.17278429865837097, 0.7703749537467957, 0.06567050516605377, 0.26657724380493164, 0.6215866208076477, -0.09103289991617203, 0.09744580835103989, -0.059235431253910065, -0.2126942276954651, -0.20760153234004974, -0.6653388738632202, 0.07752852141857147, 0.687311053276062, 0.3347819149494171, 0.25637882947921753 ]
http://arxiv.org/abs/2406.12564v1
http://arxiv.org/pdf/2406.12564v1
Low-Resource Machine Translation through the Lens of Personalized Federated Learning
2024-06-18T12:50:00
2024-06-18T12:50:00
Viktor Moskvoretskii, Nazarii Tupitsa, Chris Biemann, Samuel Horváth, Eduard Gorbunov, Irina Nikishina
cs.CL
cs.CL, cs.LG
We present a new approach based on the Personalized Federated Learning algorithm MeritFed that can be applied to Natural Language Tasks with heterogeneous data. We evaluate it on the Low-Resource Machine Translation task, using the dataset from the Large-Scale Multilingual Machine Translation Shared Task (Small Track #2) and the subset of Sami languages from the multilingual benchmark for Finno-Ugric languages. In addition to its effectiveness, MeritFed is also highly interpretable, as it can be applied to track the impact of each language used for training. Our analysis reveals that target dataset size affects weight distribution across auxiliary languages, that unrelated languages do not interfere with the training, and auxiliary optimizer parameters have minimal impact. Our approach is easy to apply with a few lines of code, and we provide scripts for reproducing the experiments at https://github.com/VityaVitalich/MeritFed
[ -0.2012302726507187, -0.2798902988433838, 0.3952646255493164, 0.3168332874774933, -0.18005217611789703, 0.11118702590465546, -0.5320151448249817, -0.307737797498703, 0.3920666575431824, 0.5473713278770447, -0.8659736514091492, -0.5258844494819641, -0.7207319736480713, 0.5835575461387634, 0.010295907035470009, 1.0431114435195923, -0.2712422013282776, 0.37047019600868225, -0.3903922438621521, -0.7624979019165039, -0.4312639534473419, -0.3274233341217041, -0.2412545382976532, -0.43986862897872925, 0.6869924068450928, 0.8923165798187256, 0.37267953157424927, 0.7215085625648499, 0.9921162724494934, 0.3356734812259674, 0.26692360639572144, 0.09347651153802872, -0.7902988791465759, 0.23683758080005646, -0.17975521087646484, -0.6945099234580994, -0.22038055956363678, 0.0680910274386406, 0.8927282094955444, 0.983181893825531, -0.017211630940437317, 0.7279414534568787, -0.025017863139510155, 0.6266590356826782, -0.49154648184776306, 0.27559927105903625, -0.508274495601654, 0.18834972381591797, -0.4672945439815521, 0.019301550462841988, -0.4243115484714508, -0.21140681207180023, -0.17763635516166687, -0.6348362565040588, 0.28136226534843445, 0.2542249262332916, 0.33746337890625, 0.6883094906806946, -0.06544782966375351, 0.09062011539936066, -0.5429094433784485, 1.1868127584457397, -0.3625611364841461, 0.4391593039035797, 0.538745641708374, 0.5287383794784546, 0.040027398616075516, -0.7006457448005676, -0.31553584337234497, 0.05689007788896561, -0.4721175730228424, -0.1963307410478592, -0.2426905483007431, -0.1429699957370758, 0.2017252892255783, 0.5614886283874512, -0.5142760872840881, 0.10707703232765198, -0.22118550539016724, -0.1885807365179062, 0.6122123599052429, 0.3291429877281189, 0.06973855197429657, -0.133267343044281, -0.4017397165298462, -0.10352969169616699, -0.31621551513671875, 0.07578330487012863, 0.3433395326137543, 0.8472084403038025, -0.4441702663898468, 0.4318755567073822, -0.8908172845840454, 0.5548635125160217, 0.33619382977485657, -0.3132893443107605, 0.711122989654541, -0.573663592338562, -0.3416386842727661, 0.09325572848320007, 0.8466882109642029, -0.13792720437049866, -0.459921270608902, -0.4687659442424774, -0.3733230531215668, -0.42760008573532104, 0.004988301079720259, -0.6794221997261047, -0.03620404750108719, -0.17318542301654816, -0.6008852124214172, -0.2429671585559845, -0.28329285979270935, -0.5624561905860901, -0.25889042019844055, -0.48215213418006897, 0.27656370401382446, -0.2320503294467926, 0.07054813951253891, -0.2712998688220978, 0.24225130677223206, -0.08584912121295929, 0.3665633499622345, -1.0568617582321167, 0.3330615162849426, 0.5753942728042603, 0.980902373790741, -0.23833513259887695, -0.3700924217700958, -1.2974523305892944, -0.10451020300388336, 0.16611817479133606, 0.5319629907608032, -0.491703599691391, 0.06898415088653564, -0.15568074584007263, 0.26823222637176514, -0.14434808492660522, -0.40235865116119385, 0.77051842212677, -0.39209550619125366, 0.47709304094314575, -0.6464647650718689, -0.19766472280025482, -0.3111966848373413, 0.17699584364891052, -0.6659159064292908, 0.7401734590530396, 0.5730241537094116, -0.7160406708717346, 0.3811894953250885, -0.6407420039176941, -0.680404543876648, 0.28178560733795166, -0.10669378191232681, -0.34277084469795227, 0.2028212696313858, 0.07403133809566498, 0.5834574103355408, -0.6301249861717224, 0.25805947184562683, -0.4481831192970276, -0.2380656599998474, -0.12383748590946198, -0.44265058636665344, 0.8046271800994873, 0.45115768909454346, -0.49511972069740295, 0.10708657652139664, -0.6284494996070862, 0.040833551436662674, 0.17617559432983398, -0.5848698616027832, -0.45070692896842957, -0.39771154522895813, 0.33086514472961426, 0.2805195450782776, 0.4220609664916992, -0.6387528777122498, 0.0649661123752594, -0.41620564460754395, -0.03401772677898407, 0.63184654712677, -0.32482364773750305, 0.8553067445755005, -0.054698407649993896, 0.5883519053459167, -0.2708890438079834, 0.06649389117956161, 0.20396539568901062, -0.18973441421985626, -0.6023121476173401, -0.42032745480537415, 0.3687000274658203, 0.25155991315841675, -0.936528742313385, 0.1070607379078865, -0.4272845387458801, -0.1790759414434433, -0.9295732378959656, 0.6265566349029541, 0.7083631753921509, 0.5720189213752747, 0.5757561922073364, -0.4419700801372528, -0.3611688017845154, -0.9070647954940796, -0.08430998772382736, 0.17394088208675385, -0.04630385339260101, 0.26729094982147217, 0.22600537538528442, -0.5038082003593445, 0.6629025936126709, -0.5134247541427612, -0.5956027507781982, -0.44060173630714417, 0.12604549527168274, 0.2298864871263504, 0.5452075600624084, 0.6535508036613464, -0.727469265460968, -0.6009329557418823, 0.4582541286945343, -0.6981946229934692, -0.24754664301872253, 0.15470334887504578, -0.3368815779685974, 0.03446369990706444, -0.052481021732091904, -0.21559327840805054, -0.25824636220932007, 0.8460158705711365, -0.37602365016937256, 0.16853858530521393, -0.20748381316661835, 0.32859671115875244, -1.1580119132995605, 0.2223927527666092, 0.024564094841480255, -0.4872581958770752, -0.5270513296127319, 0.04652566462755203, -0.1285111904144287, -0.10916496813297272, -0.481987327337265, 0.5943458080291748, -0.3291606903076172, -0.37900567054748535, -0.17225290834903717, -0.10439546406269073, -0.3260060250759125, 0.5261769890785217, -0.11968554556369781, 0.5281387567520142, 0.00948577281087637, -0.2573356032371521, 0.33942246437072754, 0.3610383868217468, -0.18451827764511108, 0.7954474091529846, -0.1995435357093811, -0.008467525243759155, -0.00911687035113573, -0.03858930245041847, -0.44131964445114136, -0.6903428435325623, 0.5816907286643982, -0.2667405903339386, 0.21598607301712036, 0.07644238322973251, -0.41082778573036194, -0.12864921987056732, 0.004098108503967524, 0.28866052627563477, 0.21738842129707336, -0.7382333874702454, 0.3116346597671509, 0.4858112335205078, -0.008659946732223034, -0.4766647517681122, -0.6903231739997864, -0.10312564671039581, -0.1369393765926361, -0.46874794363975525, 0.25230860710144043, -0.006873939651995897, -0.22693364322185516, -0.04173910245299339, -0.07096849381923676, -0.29001766443252563, 0.39303168654441833, 0.26689472794532776, -0.1317622810602188, -0.2998282313346863, 0.19520772993564606, 0.33081701397895813, -0.11696416884660721, -0.17728251218795776, -0.5348494648933411, 0.5222681164741516, -0.3393033742904663, -0.28207680583000183, -0.6491903066635132, 0.27128782868385315, 0.31097087264060974, -0.3699289858341217, 0.8715556263923645, 1.125218391418457, -0.33207806944847107, -0.17909741401672363, -0.35742005705833435, -0.11361468583345413, -0.42758074402809143, 0.258918434381485, -0.35868632793426514, -1.0201865434646606, 0.306959867477417, -0.042834777384996414, 0.11165071278810501, 0.5056155323982239, 0.6724830269813538, -0.19792932271957397, 0.692546010017395, 1.0344622135162354, -0.5152063965797424, 0.48977726697921753, -0.25699639320373535, -0.15695808827877045, -0.5782016515731812, -0.143312469124794, -0.5093266367912292, -0.7711933851242065, -0.5624089241027832, -0.6893677115440369, 0.10237271338701248, -0.10102595388889313, -0.14355935156345367, 0.3665406405925751, -0.24331450462341309, 0.2401372492313385, 0.8619853258132935, -0.126360222697258, 0.5172795653343201, 0.3056897222995758, -0.0009567940724082291, -0.1701524406671524, -0.911888599395752, -0.22022804617881775, 1.026125431060791, 0.18804454803466797, 0.5989710092544556, 0.04019608348608017, 1.0935910940170288, 0.536293089389801, 0.6722753643989563, -0.5700689554214478, 0.22381235659122467, -0.3380831778049469, -0.4361113905906677, -0.4066987931728363, -0.9477068781852722, -0.5929966568946838, 0.4917202889919281, -0.2664782702922821, -0.34521448612213135, 0.20521175861358643, 0.30280110239982605, -0.06685497611761093, 0.12338630110025406, -0.8052577376365662, 1.0313559770584106, -0.47343015670776367, -0.3752880394458771, -0.3619081676006317, -0.6697895526885986, 0.5825276970863342, -0.22672943770885468, 0.13078176975250244, -0.15505947172641754, 0.17633536458015442, 0.8069009780883789, -0.3997369706630707, 0.7571726441383362, -0.23660454154014587, 0.24792683124542236, -0.10971976816654205, -0.2593652009963989, 0.5630919933319092, 0.16004358232021332, -0.1842399686574936, 0.39055806398391724, -0.3233155310153961, -0.7007825374603271, -0.2753792107105255, 0.8351346254348755, -0.726895809173584, -0.25848686695098877, -0.2650783956050873, -0.6681531071662903, -0.22139090299606323, 0.4006134569644928, 0.32330453395843506, 0.1263379454612732, -0.30521905422210693, 0.35722076892852783, 0.38894638419151306, -0.056733835488557816, 0.3052985966205597, 0.759386420249939, 0.31844115257263184, -0.6285184621810913, 1.0925170183181763, -0.09647513926029205, 0.27349403500556946, 0.6569746136665344, 0.19671078026294708, -0.09975450485944748, -0.47099512815475464, -0.6307049989700317, 0.2973584830760956, -0.5331891775131226, -0.37745100259780884, -0.7679057121276855, 0.5668205618858337, -0.34065935015678406, -0.15916697680950165, -0.6233092546463013, -0.2877746820449829, -0.2589317858219147, 0.07277868688106537, 0.20170500874519348, 0.33767059445381165, 0.07921455800533295, 0.45635905861854553, -0.7969430685043335, 0.09573347866535187, 0.09710720181465149, 0.37427154183387756, -0.3770720064640045, -0.37620922923088074, -0.6494197249412537, 0.20134887099266052, -0.014857438392937183, -0.39846646785736084, 0.35618826746940613, 0.10356806218624115, 0.7418726086616516, 0.40743812918663025, 0.371794193983078, 0.3933749496936798, -0.3988911807537079, 0.3112671375274658, 0.6153153777122498, -0.7953556180000305, 0.25419023633003235, -0.22889955341815948, 0.49368199706077576, 1.0988268852233887, 0.3367452025413513, -0.7009151577949524, -0.4564847946166992, -0.39482370018959045, -0.42048150300979614, 1.1275365352630615, 0.2551233768463135, -0.0006296100909821689, 0.41628044843673706, 0.055821098387241364, 0.3841375410556793, 0.3863108158111572, -0.5760374665260315, -0.36404532194137573, -0.019446132704615593, -0.6208547949790955, -0.48056742548942566, 0.09631431102752686, -0.258653849363327, -0.20863817632198334, 0.566262423992157, -0.5192651748657227, 0.19454768300056458, -0.15236251056194305, -0.4646025598049164, -0.4205734133720398, 0.21030443906784058, 0.5915676951408386, 0.1797773540019989, -0.18477332592010498, 0.012557693757116795, 0.2352549433708191, -0.48978328704833984, 0.2683928310871124, 0.5561854243278503, -0.41928255558013916, 0.1914188116788864, 0.4643825888633728, 0.9918310642242432, 0.42906662821769714, -0.5670243501663208, 0.25417664647102356, -0.20773321390151978, -0.3281097710132599, 0.21177887916564941, -0.12095668911933899, -0.06269067525863647, 0.40656957030296326, 0.14637687802314758, 0.4223911166191101, -0.02770281210541725, -0.10928203165531158, 0.07076209783554077, 0.291380912065506, -0.6357471346855164, -0.713009238243103, 0.7985891699790955, 0.6739728450775146, 0.02884058654308319, 0.28678566217422485, -0.4944410026073456, -0.3812471330165863, 0.1891440600156784, 0.31989407539367676, 1.0558000802993774, -0.2174762338399887, 0.6174468994140625, 0.24354076385498047, 0.5290992856025696, -0.2813783586025238, -0.1410059779882431, -0.3037124574184418, -0.49566856026649475, -0.3917103707790375, -0.9461586475372314, -0.2818184494972229, -0.03418562933802605, -0.4724496901035309, 0.09361067414283752, -0.30098846554756165, 0.03645825386047363, -0.17265360057353973, 0.3917640447616577, -1.0577640533447266, 0.0970698744058609, 0.04833890497684479, 0.40114498138427734, -1.0319490432739258, 0.8329628109931946, 0.8563224673271179, -0.5763863921165466, -0.6295129060745239, 0.04256872087717056, 0.07146106660366058, -0.6015322208404541, 0.9691219925880432, -0.02997140772640705, -0.0014607516350224614, 0.09442668408155441, -0.07272408902645111, -1.1791719198226929, 1.1465531587600708, 0.777195155620575, -0.4599452018737793, 0.2580272853374481, 0.2379613071680069, 0.4396180510520935, -0.4984458088874817, -0.22641603648662567, 0.44022348523139954, 0.5561895966529846, -0.20936591923236847, -0.865933358669281, 0.07021819800138474, -0.021362073719501495, -0.1819000095129013, 0.2196502387523651, -0.6810383796691895, 0.7027159929275513, -0.1882553994655609, -0.2752333879470825, -0.2943509817123413, 0.8140247464179993, -0.3213404417037964, 0.5686476826667786, 0.5306084156036377, 0.5483065247535706, 1.107612133026123, -0.013411074876785278, 1.1563267707824707, -0.04158734530210495, 0.5523026585578918, 1.2662768363952637, -0.2626325488090515, 0.5542657375335693, 0.5407631397247314, -0.14431054890155792, -0.026654701679944992, 0.45599257946014404, 0.11385273188352585, 0.8108039498329163, -0.09463871270418167, -0.3074606955051422, -0.2099897563457489, -0.44877830147743225, -0.2908787727355957, 0.5018006563186646, -0.26226112246513367, -0.5495777130126953, -0.3280465602874756, 0.41013652086257935, -0.11121814697980881, 0.23752163350582123, -0.3248019814491272, 0.6195644736289978, 0.16843818128108978, -0.3900168836116791, 0.7458232045173645, 0.4006061553955078, 0.7107609510421753, -0.35664990544319153, 0.3562164306640625, -0.5714928507804871, 0.386251300573349, -0.10054907947778702, -0.1600264310836792, 0.2933254539966583, 0.23568123579025269, -0.5518584847450256, -0.7522009611129761, 0.6482120752334595, -0.6302770972251892, -0.6277063488960266, 0.13695469498634338, 0.6641290783882141, -0.16422823071479797, 0.1254812330007553, -0.5212187767028809, -0.10870090126991272, 0.19698351621627808, -0.17917728424072266, 0.6614668965339661, 0.2955670654773712, -0.056746792048215866, 0.5702927112579346, 0.539155900478363, -0.039477840065956116, -0.1893671751022339, -0.054374370723962784, 0.7962012887001038, -0.30948886275291443, -0.6112021207809448, -0.3733963668346405, 0.17975850403308868, -0.031924668699502945, -0.33952420949935913, 0.8143503665924072, 0.5126597881317139, 1.1871024370193481, -0.33519425988197327, 0.7506340146064758, -0.19466686248779297, 0.4646680951118469, -0.3649234473705292, 0.8135145306587219, -0.6189260482788086, 0.008588479831814766, -0.3178248405456543, -0.9132972359657288, -0.18074588477611542, 0.22510850429534912, -0.5201557874679565, -0.4972313642501831, 0.6367725729942322, 0.3310984969139099, -0.23459812998771667, -0.19391387701034546, 0.3373360335826874, -0.28545790910720825, 0.04101785272359848, 0.47424712777137756, 0.3187258839607239, -0.3021087348461151, 0.538448691368103, -0.6510196924209595, -0.1512340009212494, -0.5042057037353516, -0.38072627782821655, -0.7461512684822083, -0.6057825088500977, -0.22269625961780548, 0.15687774121761322, -0.05280356854200363, 1.293279767036438, 0.6015862226486206, -0.8612412214279175, -0.15454939007759094, 0.0245792418718338, 0.5178218483924866, -0.4387498199939728, -0.14571940898895264, 0.006491202861070633, -0.6488330960273743, -0.9280734658241272, 0.40031465888023376, 0.15666139125823975, -0.3010508418083191, -0.14067134261131287, -0.4396275281906128, -0.212988942861557, -0.6266902089118958, 0.6175951361656189, 0.22943556308746338, -0.52519291639328, -0.1820889264345169, -0.020119454711675644, -0.3834505081176758, -0.03187836334109306, 0.7046745419502258, -0.6108493208885193, 0.4322737455368042, 0.7686222791671753, 1.1869287490844727, 0.3122904598712921, 0.08884769678115845, 0.7258425951004028, -1.0107202529907227, 0.3806290030479431, 0.17333707213401794, 0.19280505180358887, 0.47261354327201843, -0.5027481913566589, 0.5956591367721558, 0.7155223488807678, -0.13374824821949005, -0.9184920787811279, -0.10527084022760391, -0.6412784457206726, 0.13282926380634308, 0.8901832103729248, -0.25572270154953003, -0.24424079060554504, 0.20334291458129883, 0.16869015991687775, 0.17124204337596893, -0.5325587391853333, 0.512010395526886, 0.4929790794849396, 0.11856751888990402, 0.014866653829813004, -0.5876234769821167, 0.5657820105552673, 0.5174974203109741, -0.9979594945907593, 0.0016300072893500328, 0.6296601295471191, 0.13131055235862732, 0.19240114092826843, 0.7978159785270691, 0.24983704090118408, 0.18682050704956055, -0.2903425693511963, 0.11826976388692856, -0.046609122306108475, -0.09974416345357895, -0.5672286152839661, 0.13040857017040253, -0.11351460963487625, -0.41696813702583313 ]
http://arxiv.org/abs/2406.12549v1
http://arxiv.org/pdf/2406.12549v1
MultiSocial: Multilingual Benchmark of Machine-Generated Text Detection of Social-Media Texts
2024-06-18T12:26:09
2024-06-18T12:26:09
Dominik Macko, Jakub Kopal, Robert Moro, Ivan Srba
cs.CL
cs.CL, cs.AI
Recent LLMs are able to generate high-quality multilingual texts, indistinguishable for humans from authentic human-written ones. Research in machine-generated text detection is however mostly focused on the English language and longer texts, such as news articles, scientific papers or student essays. Social-media texts are usually much shorter and often feature informal language, grammatical errors, or distinct linguistic items (e.g., emoticons, hashtags). There is a gap in studying the ability of existing methods in detection of such texts, reflected also in the lack of existing multilingual benchmark datasets. To fill this gap we propose the first multilingual (22 languages) and multi-platform (5 social media platforms) dataset for benchmarking machine-generated text detection in the social-media domain, called MultiSocial. It contains 472,097 texts, of which about 58k are human-written and approximately the same amount is generated by each of 7 multilingual LLMs. We use this benchmark to compare existing detection methods in zero-shot as well as fine-tuned form. Our results indicate that the fine-tuned detectors have no problem to be trained on social-media texts and that the platform selection for training matters.
[ -0.3470229506492615, -0.8614922165870667, 0.44957029819488525, 0.4773660898208618, -0.4917428493499756, 0.532313346862793, -0.36833563446998596, -0.7121802568435669, 0.6404843926429749, 0.17096911370754242, -0.47568368911743164, -0.8079920411109924, -0.7482532858848572, 0.569101095199585, -0.3091173470020294, 0.825588047504425, -0.09079102426767349, -0.002278987318277359, -0.008163969032466412, -0.5051386952400208, 0.16227605938911438, -0.5655784606933594, -0.6859579086303711, 0.046137988567352295, 0.8457831740379333, 0.4919346570968628, 0.28882017731666565, 0.17987549304962158, 0.5352948904037476, 0.3478226065635681, 0.021103888750076294, 0.683414876461029, -0.457859069108963, 0.11812164634466171, 0.11669646948575974, -0.07517159730195999, -0.2576252222061157, -0.05472242459654808, 0.8163252472877502, 0.24455676972866058, 0.24051015079021454, 0.4333934783935547, 0.20926687121391296, 0.546540379524231, -0.7414636611938477, 0.01300871092826128, -0.5510104894638062, -0.08150636404752731, -0.40617358684539795, -0.34073686599731445, -0.3184831142425537, -0.35652056336402893, -0.6522408127784729, -0.3442622125148773, 0.27518054842948914, -0.13555456697940826, 0.566651463508606, -0.13254296779632568, -0.6024795174598694, -0.3893806040287018, -0.5602068305015564, 0.6535745859146118, -0.5008113384246826, 0.434207558631897, 0.4305265247821808, 0.33273813128471375, 0.09449350088834763, -0.5010841488838196, -0.5753237009048462, -0.015847953036427498, 0.05995844304561615, 0.1541385054588318, -0.07887916266918182, -0.3879379332065582, 0.016892114654183388, -0.20038695633411407, -0.6971973776817322, 0.17760278284549713, -0.2817974090576172, -0.37170031666755676, 0.8372069597244263, -0.04792346805334091, 0.16113834083080292, -0.21271513402462006, -0.18488982319831848, -0.01806047186255455, -0.6420109868049622, -0.135947123169899, 0.5676536560058594, 0.31155407428741455, -0.3369347155094147, 0.4338894784450531, -0.32531577348709106, 0.11734231561422348, -0.3666231036186218, -0.41237929463386536, 0.5237874388694763, -0.6038171052932739, 0.18014585971832275, 0.17413927614688873, 1.2071523666381836, 0.5474784970283508, 0.5952141284942627, -0.012535125948488712, -0.16096386313438416, 0.23052535951137543, -0.12735339999198914, -0.7797704339027405, 0.0571739487349987, 0.014356663450598717, -0.652038037776947, -0.6246570944786072, 0.04522327706217766, -0.5749437212944031, -0.4945547878742218, 0.031883567571640015, 0.028990909457206726, -0.28081855177879333, -0.44516435265541077, -0.040151357650756836, -0.007014634553343058, 0.026902690529823303, 0.12818190455436707, -0.4692089855670929, 0.14096304774284363, 0.49793708324432373, 0.9994093775749207, 0.053247760981321335, -0.6379472017288208, -0.6239488124847412, 0.12965098023414612, -0.3036419451236725, 1.1499773263931274, -0.40972551703453064, -0.2186604142189026, 0.23490996658802032, 0.2378416806459427, 0.17752400040626526, -0.42972657084465027, 0.6340207457542419, -0.284175843000412, -0.14662516117095947, -0.4387957751750946, -0.3421463370323181, 0.26600757241249084, 0.24737481772899628, -0.4944700300693512, 1.319913625717163, -0.281924843788147, -0.845787763595581, 0.6196965575218201, -0.4215586185455322, -0.7284694314002991, 0.15069672465324402, -0.14505162835121155, -0.5247697830200195, -0.05638766661286354, 0.17731915414333344, 0.906030535697937, -0.20593279600143433, 0.2911701500415802, -0.9527682065963745, -0.5559210777282715, 0.5159322619438171, -0.5516201853752136, 0.5862595438957214, 0.22570936381816864, -0.15691861510276794, -0.01870086044073105, -0.9303328394889832, -0.09451182186603546, 0.31221452355384827, -0.3237214982509613, -0.5205230712890625, 0.04019550606608391, 0.48962679505348206, 0.3718772530555725, 0.3773029148578644, -0.9473206996917725, -0.33666715025901794, 0.16842657327651978, 0.6183493733406067, 0.7219070792198181, -0.020876770839095116, 0.1659235954284668, -0.23675155639648438, 0.33679699897766113, 0.030979763716459274, 0.08294057846069336, -0.34046146273612976, -0.47801336646080017, -0.3811016082763672, -0.2867206931114197, 0.09148667007684708, 0.45531970262527466, -0.9553874731063843, 0.2793205976486206, -0.11520235240459442, -0.5785662531852722, -0.6441909074783325, 0.3652053475379944, 0.40627485513687134, -0.08136604726314545, 0.13792647421360016, 0.01476712990552187, -0.538921594619751, -0.7673946619033813, -0.635841965675354, -0.13340233266353607, 0.20506776869297028, 0.2949400246143341, 0.5965117812156677, -0.2528471350669861, 0.4013456404209137, -0.312145859003067, -0.24417604506015778, -0.19313102960586548, 0.21612608432769775, -0.12129602581262589, 0.07171093672513962, 0.6520370244979858, -0.8182218670845032, -1.049723505973816, -0.07019758224487305, -1.0332568883895874, -0.34954833984375, 0.04186055436730385, 0.07066234946250916, 0.23532480001449585, 0.8583986759185791, -0.4054144322872162, 0.18457362055778503, 0.6874192357063293, -0.1355656236410141, 0.48850420117378235, -0.32192710041999817, 0.309328556060791, -1.4054008722305298, -0.12039248645305634, 0.4540303945541382, -0.4490615725517273, -0.5272152423858643, -0.1135871484875679, 0.28125447034835815, -0.1297721415758133, -0.6396608352661133, 0.6950283050537109, -0.5270816087722778, -0.18859797716140747, -0.2501677870750427, 0.5019274950027466, 0.04119768366217613, 0.20670579373836517, -0.192849799990654, 0.7853848934173584, 0.3025851845741272, -0.5033128261566162, 0.2550019919872284, -0.1541266143321991, -0.2745276093482971, 0.9934425354003906, -0.764147162437439, 0.21155603229999542, -0.23012056946754456, 0.18884843587875366, -1.2648228406906128, -0.19364169239997864, 0.161862313747406, -0.6921396255493164, -0.054217904806137085, 0.11244441568851471, -1.031206727027893, -0.31970369815826416, -0.6740002632141113, 0.2485557496547699, 0.000289066054392606, -0.4062034487724304, 0.2203441858291626, 0.6232783198356628, -0.24734283983707428, -0.5054997801780701, -0.5990622639656067, 0.4216797351837158, -0.18539924919605255, -0.6338745355606079, 0.33603280782699585, -0.03141920641064644, -0.05929163470864296, -0.010790259577333927, 0.2696828544139862, -0.13487793505191803, 0.1377892643213272, 0.028061123564839363, 0.05787043645977974, -0.1670415848493576, 0.13993223011493683, 0.287104994058609, -0.1896800547838211, -0.11604378372430801, 0.1503170132637024, 0.6142310500144958, -0.11097138375043869, -0.4061919152736664, -0.3871830701828003, 0.500076949596405, 0.6322463750839233, -0.32021015882492065, 0.7274535894393921, 1.1500134468078613, -0.4760400056838989, 0.07337909191846848, -0.6093973517417908, -0.10860715061426163, -0.5282195210456848, 0.16450545191764832, -0.30357521772384644, -1.0642951726913452, 0.5239661931991577, 0.014875335618853569, -0.14974436163902283, 0.2880437970161438, 0.49844881892204285, -0.18371081352233887, 1.1010748147964478, 0.5092838406562805, -0.129644513130188, 0.40025198459625244, 0.2986961305141449, 0.17727656662464142, -0.4030091464519501, 0.012581730261445045, -0.7238763570785522, -0.2588166892528534, -0.9779548645019531, -0.3058611750602722, 0.23208929598331451, -0.18806402385234833, -0.17496217787265778, 0.5152127742767334, -0.499138742685318, 0.6166805624961853, 0.5685869455337524, 0.24456435441970825, 0.3737097978591919, 0.00246908375993371, -0.048039235174655914, -0.08629833906888962, -0.4663253426551819, -0.8316649794578552, 1.1077262163162231, 0.15417781472206116, 0.5053723454475403, 0.0902097225189209, 1.0297154188156128, 0.4616260528564453, 0.40272319316864014, -0.38230857253074646, 0.6233103275299072, -0.49540257453918457, -0.5679791569709778, -0.08315271139144897, -0.4061927795410156, -0.9913669228553772, 0.2171754091978073, -0.4310704469680786, -0.6059768199920654, 0.04658188670873642, -0.12211260944604874, -0.15872426331043243, 0.21499665081501007, -0.6599431037902832, 0.8522632718086243, -0.325571209192276, -0.424005925655365, -0.18287135660648346, -0.6361925005912781, 0.12749411165714264, -0.32854312658309937, 0.5784655213356018, -0.5274181365966797, -0.07590167224407196, 0.608660876750946, -0.03890132158994675, 1.1429108381271362, -0.20999273657798767, 0.022727612406015396, 0.34993088245391846, -0.12804299592971802, 0.5062690377235413, 0.14300882816314697, 0.13258463144302368, 0.2798110246658325, 0.13078834116458893, -0.5135071277618408, 0.04282693192362785, 0.7095848321914673, -0.7101983428001404, 0.24973851442337036, -0.2680369019508362, -0.14132806658744812, -0.009325153194367886, 0.46090826392173767, 0.37215495109558105, 0.37422919273376465, -0.6682108044624329, 0.37332820892333984, 0.44280317425727844, -0.46007826924324036, 0.5709017515182495, 0.8360847234725952, -0.12623442709445953, -0.6143066883087158, 1.0539004802703857, 0.050556477159261703, -0.10583033412694931, 0.4014908969402313, 0.0773257315158844, -0.37878870964050293, -0.2245045304298401, -0.5225619077682495, 0.37205326557159424, -0.6487724781036377, -0.20533765852451324, -0.9044593572616577, 0.008464745245873928, -0.5514531135559082, -0.25948992371559143, -0.45066845417022705, -0.03942146152257919, -0.27958744764328003, 0.10186632722616196, 0.27657800912857056, 0.6329818367958069, -0.3000304698944092, 0.3320344388484955, -0.9849036931991577, 0.5800318717956543, -0.13686522841453552, 0.3150542080402374, -0.27481043338775635, -0.07836682349443436, -0.29003632068634033, 0.13627511262893677, -0.11689221113920212, -0.8748182654380798, 0.21297353506088257, 0.3033410310745239, 0.47728613018989563, 0.506818413734436, 0.0010967779671773314, 0.40294820070266724, -0.5210623145103455, 0.3399614691734314, 0.264544814825058, -0.7408155798912048, 0.39222797751426697, -0.5515037775039673, 0.21777786314487457, 0.6946471929550171, 0.44203147292137146, -0.9480435252189636, -0.4493447244167328, -0.44279783964157104, -0.5136076807975769, 0.3960786461830139, 0.19791793823242188, 0.3743637800216675, -0.2610398530960083, 0.282079815864563, 0.059605684131383896, 0.3502698838710785, -0.8963280320167542, -0.08646658807992935, -0.04625054448843002, -0.2741624414920807, -0.3846760094165802, -0.3421826958656311, 0.1445845067501068, 0.025609243661165237, 0.39365604519844055, -0.2738937735557556, 0.2929477393627167, -0.08082672208547592, -0.10405963659286499, -0.14638423919677734, 0.13024882972240448, 0.6558514833450317, 0.3949063718318939, -0.024022849276661873, 0.3907519578933716, 0.08993148803710938, -0.5361363291740417, 0.3170034885406494, 0.1300049126148224, -0.1572551280260086, 0.2735689580440521, 0.4252051115036011, 0.4805320203304291, 0.38785791397094727, -0.5962998867034912, 0.5429670810699463, -0.17577962577342987, -0.36059093475341797, -0.2781955599784851, -0.2246343195438385, 0.3694961369037628, 0.32318535447120667, 0.2983543574810028, -0.10566390305757523, 0.08637508004903793, -0.6005820035934448, 0.25547876954078674, 0.47003889083862305, -0.35394105315208435, -0.423995703458786, 0.5621123313903809, 0.3302757441997528, -0.49320006370544434, 0.08406046032905579, -0.5563022494316101, -0.5098938941955566, 0.6577370762825012, 0.46725761890411377, 0.9798327088356018, -0.12505972385406494, 0.7057948708534241, 0.1637033075094223, 0.5370312929153442, -0.07131580263376236, 0.50295090675354, 0.06282183527946472, -1.170902967453003, -0.3434780240058899, -0.5427568554878235, -0.4305856227874756, 0.08901429921388626, -0.4868544340133667, 0.5062770843505859, -0.39492136240005493, -0.2298010140657425, 0.5039263367652893, 0.02023565210402012, -0.5726978778839111, -0.04567433148622513, 0.23545709252357483, 0.6286470293998718, -1.1166797876358032, 0.7442843317985535, 0.93790602684021, -0.1080470085144043, -0.23932698369026184, -0.13580428063869476, 0.2892259955406189, -0.8497418165206909, 0.3091404438018799, 0.5454515218734741, -0.4266793727874756, -0.04443714767694473, -0.6331773996353149, -0.44505882263183594, 0.853314995765686, 0.30483782291412354, -0.3916477560997009, 0.37346574664115906, 0.4618834853172302, 0.7392459511756897, -0.32845309376716614, 0.08071287721395493, 0.09417921304702759, 0.41656774282455444, -0.16535265743732452, -0.685140073299408, -0.04450920969247818, -0.4567308723926544, -0.11156867444515228, 0.370650053024292, -1.0517585277557373, 0.7507371306419373, 0.11473245173692703, -0.24532872438430786, -0.19723422825336456, 0.300211638212204, 0.4287891387939453, 0.9049488306045532, 0.33256518840789795, 0.2469358891248703, 0.673527181148529, 0.09023252874612808, 0.6823452115058899, -0.5723657608032227, 0.3627495765686035, 0.8275517821311951, -0.7248436808586121, 0.8614733219146729, 0.1807316392660141, -0.19159717857837677, 0.3220769464969635, 0.8626013398170471, 0.05135998874902725, 0.35572293400764465, -0.1948677897453308, -0.4833720326423645, -0.2668801546096802, -0.2683698832988739, -0.23742109537124634, 0.5981218218803406, 0.275192528963089, -0.3122258186340332, -0.22217553853988647, -0.09919397532939911, 0.10690551996231079, 0.2239101380109787, -0.06755220890045166, 0.7404278516769409, 0.14346793293952942, -0.268700510263443, 0.36090168356895447, 0.3241150379180908, 0.8995856642723083, -0.419144868850708, 0.2682572901248932, -0.15418225526809692, 0.3436218202114105, -0.10020085424184799, -0.7751906514167786, 0.2889900207519531, 0.11539528518915176, 0.14293302595615387, -0.27536651492118835, 1.4047095775604248, -0.3484216034412384, -0.7088010907173157, 0.6006520986557007, 0.8095972537994385, 0.3731403648853302, -0.3541231155395508, -1.000659704208374, 0.07000517845153809, -0.24283373355865479, -0.0038394310977309942, 0.32002609968185425, 0.9395607113838196, 0.016779081895947456, 0.46579471230506897, 0.7727488279342651, -0.11206331849098206, -0.05515589565038681, 0.30406704545021057, 0.7877686023712158, -0.5776302814483643, -0.40461379289627075, -1.1269627809524536, 0.11595626175403595, -0.43654370307922363, -0.48093196749687195, 0.9406181573867798, 0.6703365445137024, 0.9143531918525696, 0.19296784698963165, 0.8851198554039001, 0.08514814078807831, 0.6011584997177124, -0.23976407945156097, 0.7464550733566284, -0.7667489647865295, -0.10414187610149384, -0.6537225842475891, -0.9803430438041687, -0.21481961011886597, 0.5159651637077332, 0.011394663713872433, 0.028519097715616226, 0.5891441106796265, 0.7542181015014648, -0.10560085624456406, 0.009008849039673805, 0.37784287333488464, -0.23466062545776367, 0.11543598026037216, 0.30146902799606323, 0.8411667943000793, -0.5541491508483887, 0.6092826724052429, -0.23567941784858704, -0.22585077583789825, -0.3657895624637604, -0.9674700498580933, -1.2421910762786865, -0.47331681847572327, -0.19378836452960968, -0.4092928171157837, 0.09331967681646347, 0.7448438405990601, 0.4538537859916687, -0.6813119649887085, -0.2809673249721527, 0.13217027485370636, 0.07473478466272354, -0.05352945253252983, -0.1322404146194458, 0.035338301211595535, -0.10041207820177078, -0.5542186498641968, 0.25048261880874634, 0.5070663094520569, 0.10552812367677689, -0.38484498858451843, -0.09797646105289459, -0.434600293636322, 0.027714194729924202, 0.9369590878486633, 0.045884065330028534, -0.13565613329410553, -0.2578187584877014, 0.4851006865501404, -0.32415297627449036, 0.053120825439691544, 0.7350540161132812, -0.1384657472372055, 0.199863001704216, 0.4784283936023712, 0.4596521258354187, 0.5717109441757202, -0.2743901014328003, 0.09734116494655609, -0.9801010489463806, 0.30867475271224976, -0.05656946450471878, 0.3829251229763031, 0.547233521938324, -0.31491631269454956, 0.5382282733917236, 0.5646045207977295, -0.6184553503990173, -0.8871544003486633, 0.053195077925920486, -0.6733310222625732, -0.4628308117389679, 1.3738720417022705, 0.00533246248960495, -0.01356794498860836, -0.29157379269599915, -0.13078859448432922, 0.3750035762786865, -0.5370801687240601, 0.8106539845466614, 0.8238500952720642, 0.3307030200958252, -0.3111671507358551, -0.5088560581207275, 0.15215663611888885, 0.08636286109685898, -0.9638622999191284, 0.000014621894479205366, 0.33334094285964966, 0.1848897784948349, 0.1271517127752304, 1.133172631263733, 0.04965249076485634, 0.1835768073797226, 0.04260392114520073, 0.07690051198005676, 0.2018144130706787, -0.3837035000324249, 0.06174028292298317, 0.060961876064538956, -0.08339198678731918, -0.05300752446055412 ]
http://arxiv.org/abs/2406.12548v1
http://arxiv.org/pdf/2406.12548v1
P-Tailor: Customizing Personality Traits for Language Models via Mixture of Specialized LoRA Experts
2024-06-18T12:25:13
2024-06-18T12:25:13
Yuhao Dan, Jie Zhou, Qin Chen, Junfeng Tian, Liang He
cs.CL
cs.CL
Personalized large language models (LLMs) have attracted great attention in many applications, such as intelligent education and emotional support. Most work focuses on controlling the character settings based on the profile (e.g., age, skill, experience, and so on). Conversely, the psychological theory-based personality traits with implicit expression and behavior are not well modeled, limiting their potential application in more specialized fields such as the psychological counseling agents. In this paper, we propose a mixture of experts (MoE)-based personalized LLMs, named P-tailor, to model the Big Five Personality Traits. Particularly, we learn specialized LoRA experts to represent various traits, such as openness, conscientiousness, extraversion, agreeableness and neuroticism. Then, we integrate P-Tailor with a personality specialization loss, promoting experts to specialize in distinct personality traits, thereby enhancing the efficiency of model parameter utilization. Due to the lack of datasets, we also curate a high-quality personality crafting dataset (PCD) to learn and develop the ability to exhibit different personality traits across various topics. We conduct extensive experiments to verify the great performance and effectiveness of P-Tailor in manipulation of the fine-grained personality traits of LLMs.
[ -0.7019731998443604, -0.7683444023132324, 0.5743024945259094, 0.5380086302757263, -0.0721559152007103, 0.08780840039253235, -0.4928388297557831, -0.17656295001506805, 0.6425372958183289, 0.6417355537414551, -0.6278699040412903, -0.4582352340221405, -0.45520052313804626, 0.12352413684129715, -0.07454942166805267, 0.6986295580863953, 0.18799273669719696, 0.045473817735910416, 0.10071054100990295, 0.02186155691742897, -0.6024745106697083, -0.6208017468452454, -0.4473889470100403, -0.4782220423221588, 0.5987114310264587, 0.6372530460357666, 0.43963074684143066, 0.5307409167289734, 0.21093255281448364, 0.31051257252693176, -0.21848879754543304, 0.2559060752391815, -0.5134751200675964, 0.03212035074830055, -0.5423301458358765, -0.37084776163101196, -1.0213762521743774, 0.0664134994149208, 0.29876673221588135, 0.6695212721824646, -0.2996291220188141, 0.1471707969903946, 0.06627720594406128, 0.5304924249649048, -0.6353168487548828, -0.030476324260234833, -0.7138009071350098, 0.049038391560316086, -0.19287055730819702, 0.10814198851585388, -0.33860841393470764, -0.3982757329940796, 0.21289926767349243, -0.40784889459609985, 0.14772754907608032, 0.04854942485690117, 0.39472225308418274, 0.17152602970600128, -0.5656246542930603, -0.010309865698218346, -0.8601328730583191, 0.9086938500404358, -0.8975846767425537, 0.021047906950116158, 0.6450244784355164, 0.35988450050354004, -0.1635146290063858, -0.2173147350549698, -0.5206121802330017, 0.09664846956729889, 0.057737287133932114, 0.06875468045473099, 0.22768954932689667, -0.21672427654266357, -0.07977849245071411, 0.5797960162162781, -0.32672998309135437, 0.47737860679626465, 0.0031561432406306267, -0.07492106407880783, 1.039304256439209, 0.35791751742362976, 0.02255084365606308, 0.34922677278518677, 0.020638151094317436, 0.1707180142402649, -0.530892550945282, -0.005217000376433134, 0.641173779964447, -0.01087865885347128, 0.01085334550589323, 0.4996812641620636, -0.3140155076980591, 0.459949791431427, 0.5191294550895691, -0.6485425233840942, 0.1340843290090561, 0.07217662036418915, -0.08579406142234802, -0.10268306732177734, 0.7498984932899475, 0.14910849928855896, 0.6470224857330322, -0.08314933627843857, -0.01128807757049799, -0.3408103585243225, 0.08447566628456116, -0.6820088028907776, -0.43183615803718567, 0.27030977606773376, -0.5429784059524536, -0.3612639904022217, -0.16734535992145538, -0.8581850528717041, -0.6113666892051697, -0.29863351583480835, -0.057475194334983826, -0.6828300952911377, -0.3850618302822113, 0.18939821422100067, 0.075828418135643, 0.26304227113723755, 0.19724901020526886, -1.0404919385910034, 0.1774054765701294, 0.4368932843208313, 0.4168749451637268, -0.26600122451782227, -0.45004090666770935, -0.3717792332172394, 0.26998406648635864, -0.054546553641557693, 0.868802011013031, -0.9853329658508301, -0.592745304107666, -0.12042298913002014, -0.26592281460762024, 0.06929105520248413, -0.36414089798927307, 0.6875352263450623, -0.31799599528312683, 0.3123534321784973, -0.3976907432079315, -0.6222256422042847, -0.04453364387154579, 0.12225289642810822, -0.2382553517818451, 0.6629990935325623, 0.2905738055706024, -0.5482761859893799, 0.34468352794647217, -0.508719265460968, -0.44804564118385315, 0.03357505425810814, -0.04794305935502052, -0.4784623086452484, 0.2571352422237396, 0.5171843767166138, 0.7025487422943115, -0.10627689212560654, 0.1029478907585144, -0.8192134499549866, -0.37389424443244934, 0.6381956934928894, 0.1351800560951233, 0.35715287923812866, -0.03881587088108063, -0.07123387604951859, 0.23629102110862732, -0.8974856734275818, 0.16831108927726746, 0.07689070701599121, -0.6085138916969299, -0.2978496551513672, 0.11587319523096085, 0.20467986166477203, 0.1572360396385193, 0.6251852512359619, -0.4683985412120819, 0.4391879439353943, -0.3332745432853699, 0.33721640706062317, 1.1911749839782715, -0.04605109244585037, 0.46796464920043945, -0.40083175897598267, 0.5346720218658447, -0.01390560157597065, 0.030311400070786476, 0.19667431712150574, -0.5242496132850647, -0.6814387440681458, -0.8076443672180176, -0.02058330923318863, 0.4968247413635254, -0.266198068857193, 1.3352770805358887, 0.07799284160137177, -0.8051267266273499, -0.43775784969329834, 0.42051607370376587, 0.4122433662414551, 0.2916133999824524, 0.199702650308609, -0.3441999554634094, -0.587710440158844, -1.0264978408813477, -0.6919496059417725, 0.1620992124080658, -0.2109799087047577, 0.35889193415641785, 0.31604036688804626, -0.33873996138572693, 1.2774029970169067, -0.8244055509567261, -0.2863366901874542, -0.5259608626365662, -0.2899059057235718, 0.3321501314640045, 0.35266822576522827, 0.6783798336982727, -0.5335126519203186, -0.7134510278701782, -0.03248358517885208, -0.2969069480895996, -0.47054606676101685, 0.32058781385421753, -0.13760235905647278, -0.06212442368268967, 0.06566149741411209, -0.2502887547016144, 0.10337752848863602, 0.4672200679779053, -0.6687824726104736, 0.8183793425559998, -0.29956263303756714, -0.4079820513725281, -1.3448365926742554, 0.20595918595790863, 0.22195395827293396, -0.11979105323553085, -0.4314683973789215, 0.02916121669113636, -0.20245656371116638, -0.06348393112421036, -0.07989013940095901, 0.7590702772140503, -0.19871805608272552, -0.03582121804356575, -0.24938824772834778, -0.10046408325433731, -0.039960507303476334, 0.7529101967811584, 0.12759022414684296, 0.5168938040733337, 0.5279442071914673, -0.5564266443252563, 0.4749482274055481, 0.5054124593734741, -0.1785126030445099, 1.042962670326233, -0.6665748357772827, 0.5941795706748962, 0.01428060419857502, 0.3155021667480469, -0.48693060874938965, -0.5685823559761047, 0.04134608432650566, -0.1080707386136055, -0.059956252574920654, -0.237754687666893, -0.3557857871055603, 0.0475647933781147, -0.3062466084957123, -0.2062809318304062, 0.7830023765563965, -0.25682002305984497, 0.7894894480705261, 0.32833632826805115, -0.5612871646881104, -0.22040072083473206, -0.47237569093704224, -0.011361083947122097, -0.5706422924995422, -0.5390415787696838, 0.5489976406097412, -0.5650509595870972, -0.16890715062618256, -0.3422730565071106, 0.2077963948249817, -0.23944373428821564, 0.015973418951034546, 0.10594278573989868, 0.014924165792763233, -0.26413044333457947, -0.24631740152835846, 0.16499528288841248, -0.1400894820690155, -0.2527224123477936, -0.1272520124912262, 0.7431656122207642, -0.2479184865951538, -0.300972580909729, -0.45098647475242615, 0.557181179523468, 0.748384416103363, -0.6928833723068237, 0.9264094233512878, 0.9140429496765137, -0.015076627023518085, -0.2777276933193207, -0.8588289618492126, -0.15563364326953888, -0.5195475220680237, 0.4733497202396393, -0.5641604065895081, -0.9044597744941711, 0.7779909372329712, 0.06294342875480652, 0.027750927954912186, -0.03262006863951683, 0.8714012503623962, -0.05348033457994461, 1.1048952341079712, 0.8176848888397217, -0.2957599461078644, 0.7060709595680237, -0.03774024918675423, 0.3313208818435669, -1.1436412334442139, -0.17780058085918427, -0.2791078984737396, -0.7082526087760925, -0.5040605664253235, -0.020745204761624336, 0.4418906569480896, -0.13046753406524658, -0.5981282591819763, 0.004708630032837391, -0.4384918510913849, 0.5409728288650513, 0.6157487034797668, 0.335970014333725, 0.2825283706188202, 0.027857186272740364, 0.13203206658363342, -0.2717583179473877, -0.26543736457824707, -0.6825544834136963, 1.119537115097046, 0.4619622528553009, 0.9914534091949463, 0.2994914948940277, 0.6006041765213013, -0.0054232110269367695, 0.09589514136314392, -0.817908525466919, 0.7028940320014954, -0.5381476879119873, -0.3180486559867859, -0.15824899077415466, -0.26681214570999146, -0.4141279458999634, 0.15487061440944672, -0.22700251638889313, -1.0662775039672852, 0.43494853377342224, 0.3302763104438782, -0.2103034406900406, 0.14898186922073364, -0.7942939400672913, 0.5868319869041443, -0.19032703340053558, -0.18455573916435242, -0.2514832019805908, -0.2616051435470581, 0.3756389319896698, -0.3385077118873596, -0.1413644552230835, -0.15133608877658844, -0.21786987781524658, 0.4490848183631897, -0.39391863346099854, 0.9453129172325134, -0.01568533480167389, -0.1482505202293396, -0.3499247431755066, 0.27136537432670593, 0.6888902187347412, -0.0035560105461627245, -0.30859723687171936, -0.25291404128074646, -0.018741216510534286, -0.5858887434005737, -0.6556524634361267, 0.8200279474258423, -1.0148905515670776, -0.47979289293289185, 0.06396724283695221, -0.43301621079444885, -0.6704310774803162, 0.1788903921842575, 0.2745530903339386, 0.10162460058927536, -0.2582206726074219, 0.16856230795383453, 0.7402780055999756, -0.3417171835899353, 0.1827021837234497, 0.8955307006835938, -0.17114226520061493, -0.4817008376121521, 1.0482605695724487, -0.1362922489643097, -0.07448070496320724, 0.15168899297714233, 0.5899755954742432, 0.07839657366275787, -0.6114971041679382, 0.12525127828121185, 0.31472229957580566, -0.5340920686721802, 0.22412137687206268, -0.4725067913532257, 0.09956807643175125, -0.5275370478630066, -0.45829105377197266, -0.37864917516708374, -0.009958862327039242, -0.27831918001174927, 0.3192008137702942, 0.4076181650161743, 0.5238608121871948, 0.5507106781005859, 0.6158028244972229, -0.5076358914375305, 0.14860904216766357, 0.3935871124267578, 0.5445601940155029, -0.18078941106796265, -0.5852441191673279, -0.07439865171909332, -0.1808694750070572, -0.45243871212005615, -0.8039188385009766, 0.622430145740509, 0.4674173891544342, 0.5138305425643921, 0.8026125431060791, -0.22305674850940704, 0.48246824741363525, -0.17410312592983246, 0.555210530757904, -0.19678840041160583, -0.9641264081001282, 0.5124160051345825, -0.5189290046691895, 0.1647203415632248, 0.2755447030067444, 0.16420389711856842, -0.47583943605422974, -0.34581899642944336, -0.5000905394554138, -0.605046272277832, 0.5573623180389404, 0.05080467090010643, 0.15325339138507843, 0.39138486981391907, 0.5330007076263428, 0.2937829792499542, 0.2727039158344269, -0.5349193215370178, -0.03414562717080116, -0.15105998516082764, -0.37962114810943604, -0.04083341360092163, -0.3606833815574646, 0.057993084192276, -0.1925298422574997, 0.7739645838737488, -0.4959399104118347, 0.034662876278162, -0.021009815856814384, 0.1215362548828125, 0.2377055138349533, 0.48810049891471863, 0.4952632188796997, 0.6305214762687683, -0.26923176646232605, -0.2970025837421417, 0.12729305028915405, -0.40578973293304443, -0.015943102538585663, -0.11338520795106888, 0.11973097175359726, -0.34752407670021057, 0.4027346670627594, 0.6533356308937073, 0.050566770136356354, -0.651268482208252, 0.26123547554016113, -0.01098610833287239, 0.10373928397893906, -0.529729962348938, 0.46431270241737366, 0.23111534118652344, 0.2792147397994995, 0.13962654769420624, -0.08439690619707108, -0.14850667119026184, -0.6329108476638794, -0.2994270324707031, 0.25494614243507385, -0.07773981243371964, -0.5040526390075684, 0.24751442670822144, 0.5037381649017334, -0.5633482933044434, 0.49625712633132935, -0.038382768630981445, -0.3450707793235779, 0.39547446370124817, 0.5005528330802917, 0.8202993273735046, -0.5451981425285339, 0.0139679666608572, -0.12925240397453308, -0.16470326483249664, 0.046015605330467224, 0.3613239824771881, 0.17042632400989532, -0.9879920482635498, -0.4974740445613861, -0.7291143536567688, -0.4740518033504486, 0.29350095987319946, -0.5559870004653931, 0.3525312542915344, -0.7683187127113342, -0.12335028499364853, -0.2101009041070938, -0.0434766449034214, -0.6557103991508484, 0.08477351814508438, -0.07176712155342102, 0.7951785922050476, -0.7072075009346008, 0.8195980787277222, 1.2485514879226685, -0.23033449053764343, -0.6722143888473511, 0.06859917938709259, -0.0574200414121151, -0.8687898516654968, 0.5618206858634949, -0.3030949532985687, 0.2843431234359741, 0.14156803488731384, -0.3448605239391327, -0.631316065788269, 0.969420850276947, 0.7537083029747009, -0.49254298210144043, -0.39212363958358765, -0.025273887440562248, 0.5928623080253601, -0.5321998000144958, 0.21542800962924957, 0.7524545192718506, 0.5125465393066406, 0.025731904432177544, -0.986549973487854, -0.2696302831172943, -0.34792202711105347, 0.13427400588989258, -0.08395928889513016, -0.9297538995742798, 0.7947105169296265, 0.07254946231842041, 0.5955111980438232, 0.18287210166454315, 0.4111042022705078, 0.40137720108032227, -0.07749591022729874, 0.4304478168487549, 0.4700324535369873, 0.7209995985031128, 0.2591656744480133, 0.7238547205924988, -0.48226481676101685, 0.21464309096336365, 1.1453771591186523, -0.4344402551651001, 0.7137352824211121, 0.3752821385860443, -0.22048841416835785, 0.6747179627418518, 0.48386603593826294, -0.09692791849374771, 0.381892591714859, 0.0014121010899543762, -0.27037420868873596, -0.45157045125961304, -0.008281474933028221, -0.10397878289222717, 0.8146142363548279, 0.41166871786117554, -0.4731110632419586, 0.2310517579317093, -0.020424315705895424, 0.08153080195188522, 0.21450698375701904, -0.22277724742889404, 0.7152338027954102, 0.1288776695728302, -0.5818207263946533, 0.12048518657684326, 0.42996272444725037, 0.9035462737083435, -0.7331135869026184, 0.25701528787612915, -0.5489863157272339, 0.5154159069061279, -0.43163517117500305, -0.776884138584137, 0.19067101180553436, -0.05500788986682892, -0.3067129850387573, -0.5144789218902588, 0.7720957398414612, -0.30160802602767944, -0.5518889427185059, -0.1681968867778778, 0.5328717827796936, -0.09055788815021515, -0.45390287041664124, -0.396943598985672, -0.22057150304317474, -0.20904532074928284, -0.32004424929618835, 0.5945311784744263, 0.32147857546806335, -0.025305625051259995, 0.9269272685050964, 0.5546787977218628, 0.35576626658439636, -0.2669501304626465, -0.024639496579766273, 0.8098117113113403, -0.7081922888755798, -0.8209812641143799, -0.9369401931762695, 0.49886462092399597, -0.07605216652154922, -0.6894912123680115, 0.665973424911499, 0.2984969913959503, 0.4789767265319824, -0.3785836100578308, 0.8888494372367859, -0.05584408715367317, 0.5649206042289734, -0.44580861926078796, 0.721092939376831, -0.2011958211660385, 0.21375584602355957, -0.4313807487487793, -1.0803552865982056, 0.15098528563976288, 0.6340325474739075, -0.5301752686500549, 0.38594087958335876, 0.3674231767654419, 0.7221344709396362, -0.2154461145401001, -0.2478455901145935, 0.3996076285839081, 0.4596255123615265, 0.572027325630188, 0.7316260933876038, 0.5485126376152039, 0.3450353443622589, 0.14671050012111664, -0.2927427589893341, -0.31064915657043457, -0.5561822652816772, -0.7494285702705383, -1.2095685005187988, -0.5107015371322632, -0.3004055917263031, -0.048092734068632126, -0.26288849115371704, 0.9494073390960693, 0.8713644742965698, -0.4596661627292633, -0.08281447738409042, 0.12708641588687897, 0.07168755680322647, -0.11321012675762177, -0.2935902178287506, 0.22385762631893158, 0.06960491836071014, -0.7002483606338501, 0.38013118505477905, 0.2478676587343216, -0.1586688607931137, -0.7587998509407043, 0.02627958543598652, 0.3468652367591858, 0.1156778484582901, 0.5964055061340332, 0.11765549331903458, -0.7408680319786072, -0.289872407913208, 0.06164915859699249, 0.1824910193681717, -0.10546830296516418, 0.9024528861045837, -0.6418769359588623, 0.21303115785121918, 0.4405362606048584, 0.35605499148368835, 0.10354170948266983, -0.11914573609828949, 0.9401521682739258, -0.7852614521980286, 0.16684448719024658, 0.31853508949279785, 0.5967363119125366, 0.2688119411468506, -0.5105721354484558, 0.15205243229866028, 0.22014972567558289, -0.5449790358543396, -0.5721272826194763, 0.5469895005226135, -0.9824374914169312, 0.04519382491707802, 1.0890008211135864, -0.3204118311405182, 0.03265015780925751, -0.11194127798080444, -0.6026617884635925, -0.10553901642560959, -0.47554755210876465, 1.0484223365783691, 0.8040501475334167, -0.4097534716129303, -0.21217775344848633, -0.06457497924566269, 0.14583761990070343, 0.49387800693511963, -0.8315851092338562, -0.08260399103164673, 0.2547551989555359, 0.6197066307067871, -0.1185348778963089, 0.5160518288612366, 0.1495874524116516, -0.07025395333766937, -0.5446675419807434, 0.1271723210811615, -0.2600821256637573, 0.20983979105949402, -0.12311293929815292, 0.1396818608045578, 0.31657060980796814, 0.2884675860404968 ]
http://arxiv.org/abs/2406.12546v1
http://arxiv.org/pdf/2406.12546v1
Liar, Liar, Logical Mire: A Benchmark for Suppositional Reasoning in Large Language Models
2024-06-18T12:24:22
2024-06-18T12:24:22
Philipp Mondorf, Barbara Plank
cs.CL
cs.CL
Knights and knaves problems represent a classic genre of logical puzzles where characters either tell the truth or lie. The objective is to logically deduce each character's identity based on their statements. The challenge arises from the truth-telling or lying behavior, which influences the logical implications of each statement. Solving these puzzles requires not only direct deductions from individual statements, but the ability to assess the truthfulness of statements by reasoning through various hypothetical scenarios. As such, knights and knaves puzzles serve as compelling examples of suppositional reasoning. In this paper, we introduce $\textit{TruthQuest}$, a benchmark for suppositional reasoning based on the principles of knights and knaves puzzles. Our benchmark presents problems of varying complexity, considering both the number of characters and the types of logical statements involved. Evaluations on $\textit{TruthQuest}$ show that large language models like Llama 3 and Mixtral-8x7B exhibit significant difficulties solving these tasks. A detailed error analysis of the models' output reveals that lower-performing models exhibit a diverse range of reasoning errors, frequently failing to grasp the concept of truth and lies. In comparison, more proficient models primarily struggle with accurately inferring the logical implications of potentially false statements.
[ -0.023415304720401764, -0.5540908575057983, 1.076480746269226, 0.03414153680205345, 0.025957327336072922, 0.12771113216876984, 0.20581196248531342, -0.33393052220344543, 0.04586571827530861, 0.7588741779327393, -0.5779988765716553, -0.2579059302806854, -0.5020825862884521, 0.24235253036022186, -0.08694110065698624, 0.609244167804718, -0.0712849572300911, 0.22263316810131073, -0.41321322321891785, -0.23045501112937927, -0.6539111137390137, -0.6177164316177368, 0.03197644278407097, -0.18703342974185944, 0.46765491366386414, 0.5424087047576904, 0.8975796699523926, 0.7412471771240234, 0.8270192742347717, 0.41987335681915283, 0.027598971500992775, 0.02171861007809639, -0.3026537299156189, 0.7489914298057556, -0.5207085013389587, -0.9078300595283508, 0.22228455543518066, 0.09909798949956894, 0.44852739572525024, 0.9253264665603638, -0.19545218348503113, 0.33827197551727295, -0.5589273571968079, 0.6763058304786682, -0.7526053786277771, 0.17190463840961456, -0.6616477370262146, -0.03615598753094673, -0.4153388440608978, 0.19905386865139008, -0.4036591053009033, -0.7483689785003662, 0.15206371247768402, -0.6831851601600647, -0.19729267060756683, 0.10818463563919067, 0.8005234599113464, 0.2857537269592285, -0.39582720398902893, -0.6087054014205933, -0.4454471170902252, 0.9791865944862366, -0.932528018951416, 0.567480206489563, 0.3110423684120178, 0.6895373463630676, -0.36590221524238586, -0.49678489565849304, -0.7410895228385925, -0.37924084067344666, 0.08230147510766983, 0.04356226325035095, -0.030643081292510033, -0.3067690134048462, 0.6438022255897522, -0.020967187359929085, -0.6493563652038574, -0.22706593573093414, -0.09378624707460403, -0.11003248393535614, 0.5017161965370178, 0.21265389025211334, -0.07190309464931488, -0.3244119882583618, -0.2928866147994995, -0.36714404821395874, -0.5242131948471069, 0.17851492762565613, 0.4866953492164612, 0.17717772722244263, 0.2571380138397217, 0.5664865970611572, -0.02440015785396099, 0.5226637721061707, 0.012438302859663963, -0.5502045154571533, 0.21573321521282196, 0.08899743109941483, -0.0164144616574049, -0.10102679580450058, 0.35148507356643677, 0.398194283246994, 0.42266595363616943, 0.08739937841892242, -0.19889022409915924, 0.6363776922225952, 0.10515215992927551, -0.5231384634971619, -0.2501097321510315, -0.01272230688482523, -0.3097502589225769, -0.27639123797416687, -0.11463034152984619, -0.6993700265884399, -0.7302811741828918, -0.1872737854719162, 0.42129912972450256, -0.3449200987815857, 0.006878901273012161, 0.20177268981933594, -0.18613301217556, 0.06903029978275299, 0.2941876947879791, -0.6354842782020569, 0.3339342474937439, 0.7693036794662476, 0.21787820756435394, -0.11294357478618622, -0.19288408756256104, -0.6089407801628113, 0.08367771655321121, -0.6446357369422913, 0.9271437525749207, -0.8657898306846619, -0.2194947600364685, -0.1557978242635727, -0.1144312247633934, 0.05726192519068718, -0.6777479648590088, 1.0642229318618774, -0.5039019584655762, 0.03726812079548836, -1.0247490406036377, -0.6490281224250793, -0.38943204283714294, 0.507652759552002, -0.4687102138996124, 0.8041474223136902, 0.21819159388542175, -0.6556623578071594, -0.04003196209669113, -0.24106378853321075, -0.35677582025527954, 0.20712313055992126, -0.5441245436668396, 0.02275346778333187, 0.34579187631607056, 0.07185053080320358, 0.2988464832305908, -0.829067051410675, 0.519485592842102, -0.36269211769104004, -0.20922240614891052, 0.7124959230422974, -0.17374345660209656, 0.7672469019889832, 0.08472339808940887, -0.23853342235088348, -0.3081476092338562, -0.7009757161140442, 0.19215039908885956, 0.3653463125228882, 0.240340918302536, -0.5259425640106201, 0.2747042179107666, -0.5909179449081421, 0.2180965542793274, 0.40534693002700806, -0.6105213761329651, 0.1148083359003067, -0.47181451320648193, 0.24701744318008423, 0.9156848788261414, -0.10032592713832855, 0.10917463153600693, -0.47326093912124634, 0.40729302167892456, -0.001806061714887619, 0.28209999203681946, -0.12197607010602951, -0.35458385944366455, -0.646099328994751, -0.12738537788391113, 0.5632582902908325, 0.7136240601539612, -0.9284340143203735, 0.0517999567091465, -0.20452046394348145, -0.49798402190208435, -0.5869592428207397, -0.16366086900234222, 0.5509922504425049, 0.9713340401649475, 0.23390433192253113, 0.10430540889501572, -0.3091442584991455, -1.350696325302124, -0.5068145394325256, -0.49549880623817444, -0.0009025899926200509, 0.24070876836776733, 0.7918623089790344, 0.09009469300508499, 0.8476331233978271, -0.495731920003891, -0.06385497003793716, 0.015706971287727356, 0.18607135117053986, 0.5191547870635986, 0.16135890781879425, 0.3652758300304413, -1.0705076456069946, -0.5149729251861572, -0.2992919385433197, -0.9572461843490601, -0.48309049010276794, -0.07471610605716705, 0.17174765467643738, 0.1491401344537735, 0.03979334235191345, -0.4720202386379242, 0.35047754645347595, 0.4880688190460205, -0.28749334812164307, 0.9201240539550781, 0.1009749174118042, 0.25367528200149536, -0.6259093284606934, -0.008813494816422462, -0.3192703425884247, -0.0824870616197586, -0.3683054745197296, 0.36869990825653076, -0.09377337992191315, 0.06971364468336105, -0.3072611689567566, 0.3280191719532013, -0.25238996744155884, -0.36900079250335693, 0.0959637388586998, 0.3523416817188263, 0.2519293427467346, 0.4707009792327881, -0.07985353469848633, 0.7311331033706665, 0.32264044880867004, -0.3829771876335144, 0.4747011959552765, 0.29401859641075134, -0.4490697383880615, 0.9538456201553345, -0.7987906336784363, 0.19189481437206268, -0.04141347110271454, 0.10884220153093338, -1.0753939151763916, -0.1234695166349411, 0.12435072660446167, -0.5195352435112, -0.3224901258945465, 0.054086264222860336, -0.7776402235031128, -0.4261159300804138, -0.2887241840362549, 0.3517729341983795, 0.459406316280365, -0.5127149820327759, 0.6400187611579895, 0.3294459283351898, -0.17159435153007507, -0.8405380249023438, -0.7062512040138245, -0.18647998571395874, -0.13056644797325134, -0.6934515833854675, 0.2367161512374878, -0.3102013170719147, -0.6048534512519836, -0.01775255985558033, -0.44595086574554443, 0.062412865459918976, -0.03759666532278061, 0.2457164078950882, 0.44085997343063354, -0.20575684309005737, 0.051933836191892624, -0.10203709453344345, -0.4135746359825134, 0.17059490084648132, 0.1010112315416336, 0.3807859420776367, -0.4939049482345581, -0.7601211071014404, -0.3579866886138916, 0.6043865084648132, 0.5708064436912537, -0.24209409952163696, 0.45925042033195496, -0.2388475388288498, -0.24900683760643005, 0.02519173175096512, -0.8201255202293396, -0.05427953228354454, -0.4936368763446808, 0.021036572754383087, -0.6653490662574768, -0.8985142707824707, 0.7749898433685303, -0.3181791305541992, 0.012668164446949959, 0.5175172686576843, 0.2217753529548645, -0.3858926296234131, 1.1437761783599854, 0.19968092441558838, 0.23696233332157135, -0.32056868076324463, 0.11002499610185623, 0.20219799876213074, -0.5265718102455139, -0.07767245918512344, -0.734000027179718, -0.43427395820617676, -0.4247314929962158, -0.4895287752151489, 0.4934522807598114, 0.25117480754852295, -0.4562552869319916, 0.2754789888858795, -0.3867049515247345, 0.8326760530471802, 0.3665015399456024, -0.39846011996269226, 0.2948625981807709, -0.2855110764503479, -0.53334641456604, -0.7047467827796936, -0.4392932653427124, -0.623286783695221, 0.8632757663726807, 0.3736560046672821, 0.48825395107269287, 0.46210333704948425, 0.36749130487442017, 0.18702355027198792, 0.0220822561532259, -0.5673354864120483, 0.8298544883728027, -0.160904660820961, -0.776528537273407, -0.16570602357387543, -0.6031457185745239, -0.5397144556045532, 0.25022006034851074, -0.19192735850811005, -0.963431179523468, 0.4088049530982971, -0.07804044336080551, -0.28892782330513, 0.12330726534128189, -0.3468077480792999, 0.8474873900413513, -0.2827276885509491, -0.15846402943134308, -0.11492782086133957, -0.9625795483589172, 0.4300883114337921, -0.06603595614433289, 0.3498246967792511, -0.21352463960647583, 0.16070561110973358, 0.600800096988678, -0.3349992036819458, 0.6411905884742737, -0.20958127081394196, -0.010860762558877468, 0.18018224835395813, 0.6834592223167419, 0.8742440342903137, -0.14775298535823822, -0.19784103333950043, 0.15806365013122559, 0.4588879942893982, -0.1761510819196701, -1.0957367420196533, 0.4333619177341461, -0.5814155340194702, -0.5625386834144592, -0.7137877345085144, -0.7350345253944397, -0.5975584983825684, 0.2110227793455124, 0.13426809012889862, 0.5490269660949707, -0.003666466102004051, 0.33084794878959656, 0.9265871047973633, -0.12392798811197281, 0.12647464871406555, 0.9527788162231445, -0.4474867582321167, -0.449977844953537, 0.8344658017158508, 0.23783612251281738, 0.2480260729789734, 0.4249533414840698, 0.3880791962146759, -0.5983638167381287, -0.45128580927848816, -0.20410354435443878, 0.5008030533790588, -0.9603865742683411, -0.3810601234436035, -0.19673752784729004, -0.16167688369750977, -0.19018810987472534, -0.2879515290260315, -0.5620321035385132, -0.5617446303367615, 0.3110189735889435, 0.2309468537569046, -0.02163590118288994, 0.4864434003829956, 0.009094271808862686, 0.3806408941745758, -0.5403571128845215, 0.5846276879310608, 0.6275989413261414, 0.11255533248186111, -0.2689272463321686, -0.5217154026031494, 0.3335803747177124, 0.053247760981321335, -0.27428507804870605, -1.102022647857666, 0.03542549908161163, -0.3500794470310211, 0.705943763256073, 0.3249603807926178, 0.48351216316223145, 0.6053207516670227, -0.6264930963516235, 0.7030593156814575, 0.21232281625270844, -1.1198316812515259, 0.37338894605636597, -0.3555412292480469, 0.047161638736724854, 0.9421601891517639, 0.4893086850643158, -0.6598779559135437, -0.08083236217498779, -0.6982728242874146, -0.31940191984176636, 0.38926926255226135, 0.2745653986930847, -0.36224204301834106, -0.22745612263679504, 0.30499565601348877, 0.2142295241355896, 0.357285737991333, -0.6019483804702759, -0.13086852431297302, 0.11984451115131378, -0.27081865072250366, 0.11649034917354584, -0.37468037009239197, -0.34621310234069824, -0.12763711810112, 0.6108010411262512, -0.054219406098127365, 0.147903710603714, 0.07170739769935608, -0.29199180006980896, -0.11253359913825989, 0.32448336482048035, 0.7226227521896362, 0.8493501543998718, -0.016617437824606895, 0.27303460240364075, 0.1617947816848755, -0.20403365790843964, 0.20500384271144867, 0.07840291410684586, -0.2806936204433441, -0.06289089471101761, 0.6050387620925903, 0.5724270343780518, 0.3163378834724426, -0.9312999844551086, 0.8243477940559387, 0.15214253962039948, -0.3618696331977844, -0.26225584745407104, -0.04556480795145035, -0.048437926918268204, 0.8078164458274841, 0.28196170926094055, 0.05556546896696091, 0.25733041763305664, -0.5640298128128052, -0.01760745979845524, 0.386062890291214, -0.0836293175816536, -0.06396487355232239, 0.45307648181915283, -0.06818173080682755, -0.5548691749572754, 0.5465807318687439, -0.21550272405147552, -0.9326654672622681, 0.42220908403396606, 0.7338554263114929, 0.45048218965530396, -0.38430532813072205, 0.5227140188217163, 0.0071768625639379025, 0.32054537534713745, -0.2178388088941574, 0.494843065738678, 0.16400231420993805, -0.7989856600761414, -0.3900551497936249, -0.5028005242347717, -0.5907890200614929, 0.04532187432050705, -0.6458396911621094, -0.11734964698553085, -0.4997631907463074, -0.029455171898007393, 0.05597854405641556, 0.13903309404850006, -0.24663466215133667, -0.055505987256765366, -0.044985853135585785, 0.7911884784698486, -0.9232222437858582, 0.36115366220474243, 0.4572502374649048, -0.138981431722641, -0.8839496970176697, -0.028655946254730225, 0.1420668512582779, -0.7578977942466736, 0.7959646582603455, 0.048099372535943985, -0.3764600455760956, -0.30987709760665894, -0.6616971492767334, -0.8157747387886047, 0.756843626499176, 0.7897723317146301, -0.634579598903656, 0.05618441477417946, 0.3815540373325348, 0.471481591463089, -0.35738837718963623, 0.07501161843538284, 0.5800380110740662, 0.6878402829170227, 0.47953319549560547, -0.8317683339118958, 0.018907442688941956, -0.16264218091964722, 0.1264842450618744, 0.1605236828327179, -0.5515594482421875, 1.1400172710418701, 0.04267728328704834, -0.05637725815176964, 0.10656305402517319, 0.7448239326477051, 0.8996962308883667, 0.18021705746650696, 0.7912960648536682, 0.5915144085884094, 0.9998971223831177, -0.14456109702587128, 0.8289827108383179, 0.16937248408794403, -0.02198263257741928, 1.2433969974517822, -0.715598464012146, 1.0009092092514038, 0.36680787801742554, -0.21210262179374695, 0.7998027801513672, 0.238012433052063, 0.0070025199092924595, 0.5753393173217773, 0.3367384672164917, 0.08151689171791077, -0.5872947573661804, -0.2639695405960083, -0.6239736080169678, 0.6270222067832947, 0.48808664083480835, 0.047424159944057465, -0.27406546473503113, -0.08559250831604004, -0.013418647460639477, 0.5973176956176758, -0.0388956144452095, 0.29111865162849426, -0.05459342151880264, -0.7368776798248291, 0.3763345777988434, 0.030658401548862457, 0.0521012507379055, -0.6666399836540222, -0.3313600420951843, -0.1188684031367302, 0.2676979601383209, 0.21472890675067902, -0.889668881893158, 0.12360166758298874, -0.1003904938697815, -0.17650246620178223, -0.187813863158226, 0.6818401217460632, -0.058502197265625, -0.5330082178115845, -0.010506566613912582, 0.2371515929698944, 0.33548152446746826, -0.013611226342618465, -0.8503762483596802, 0.4271688759326935, -0.10004782676696777, 0.018490144982933998, 0.03590523451566696, 0.7052859663963318, -0.20765772461891174, 0.7871266007423401, 0.5509251356124878, -0.13433268666267395, -0.20732904970645905, -0.010782308876514435, 0.746665358543396, -0.5334742069244385, -0.6884732842445374, -0.7448607087135315, 0.38748905062675476, -0.17866802215576172, -0.288315087556839, 0.8543972373008728, 0.4971298575401306, 0.3680088520050049, 0.009924403391778469, 0.4166632890701294, 0.22285525500774384, 1.1028281450271606, -0.4902302920818329, 0.2399117648601532, -0.4170614778995514, 0.30287763476371765, -0.5896638631820679, -0.9260181188583374, -0.15107984840869904, 1.1336760520935059, -0.6145349144935608, -0.13409419357776642, 0.8151364922523499, 0.46764281392097473, 0.1445271372795105, 0.49129289388656616, 0.29440903663635254, 0.4306733012199402, 0.10639640688896179, 0.8061618804931641, 1.2086304426193237, -0.4454886317253113, 0.11651972681283951, -0.02612975239753723, -0.1365910917520523, -0.127939835190773, -0.9315171837806702, -0.8475409150123596, -0.6633282899856567, -0.15283727645874023, -0.10716340690851212, 0.03882916271686554, 0.6039167046546936, 0.4302785098552704, -0.779589831829071, -0.12385580688714981, 0.0834319218993187, 0.30565202236175537, -0.24518118798732758, -0.1650339812040329, 0.2774182856082916, -0.018735479563474655, -0.22189456224441528, 0.584781289100647, 0.28420165181159973, -0.11106821894645691, -0.2981613576412201, 0.037721190601587296, -0.3100341260433197, 0.37461769580841064, 0.2686043381690979, 0.2561943233013153, -0.957732081413269, -0.5465237498283386, 0.20175693929195404, 0.07211025059223175, -0.09599500149488449, 0.6915335655212402, -0.8262739181518555, 0.39152583479881287, 0.3516589105129242, 0.6807993650436401, 0.4239402413368225, 0.12164926528930664, 0.38152197003364563, -0.5373551249504089, -0.04274692386388779, 0.624079704284668, 0.12801243364810944, 0.20932456851005554, -0.13467071950435638, 0.5360889434814453, 0.47739118337631226, -0.5636022090911865, -1.26075279712677, 0.5258293151855469, -0.9726507067680359, -0.4958837628364563, 0.6047288179397583, -0.11621187627315521, -0.22923889756202698, -0.05855855345726013, -0.0045576984994113445, -0.1998312771320343, -0.023146159946918488, 0.5580044984817505, 1.112259030342102, -0.11584734916687012, -0.09994484484195709, -0.922390878200531, 0.3193652629852295, 0.685640811920166, -0.6954814791679382, 0.196355402469635, 0.6143243908882141, 0.005602592136710882, 0.5208747982978821, 0.4880646765232086, -0.05040579289197922, 0.24982444941997528, 0.1253151148557663, -0.3736549913883209, 0.03106675110757351, -0.7416241765022278, 0.18863579630851746, 0.27732139825820923, -0.25766757130622864, 0.012461881153285503 ]
http://arxiv.org/abs/2406.12534v3
http://arxiv.org/pdf/2406.12534v3
Unified Active Retrieval for Retrieval Augmented Generation
2024-06-18T12:09:02
2024-06-27T15:37:15
Qinyuan Cheng, Xiaonan Li, Shimin Li, Qin Zhu, Zhangyue Yin, Yunfan Shao, Linyang Li, Tianxiang Sun, Hang Yan, Xipeng Qiu
cs.CL
cs.CL
In Retrieval-Augmented Generation (RAG), retrieval is not always helpful and applying it to every instruction is sub-optimal. Therefore, determining whether to retrieve is crucial for RAG, which is usually referred to as Active Retrieval. However, existing active retrieval methods face two challenges: 1. They usually rely on a single criterion, which struggles with handling various types of instructions. 2. They depend on specialized and highly differentiated procedures, and thus combining them makes the RAG system more complicated and leads to higher response latency. To address these challenges, we propose Unified Active Retrieval (UAR). UAR contains four orthogonal criteria and casts them into plug-and-play classification tasks, which achieves multifaceted retrieval timing judgements with negligible extra inference cost. We further introduce the Unified Active Retrieval Criteria (UAR-Criteria), designed to process diverse active retrieval scenarios through a standardized procedure. Experiments on four representative types of user instructions show that UAR significantly outperforms existing work on the retrieval timing judgement and the performance of downstream tasks, which shows the effectiveness of UAR and its helpfulness to downstream tasks.
[ -0.24270182847976685, -0.7010135054588318, 0.45231321454048157, 0.3628605902194977, -0.3008110523223877, 0.3471333682537079, -0.04160204529762268, -0.5798524022102356, 0.02342543751001358, 0.5453013181686401, -0.00035127089358866215, 0.1950746476650238, -0.08597399294376373, 0.1207868903875351, -0.3886188864707947, 0.8940306901931763, -0.14439862966537476, -0.08623212575912476, -0.09454788267612457, -0.28498053550720215, -0.7079699635505676, -0.5619202256202698, -0.4180162847042084, -0.4463120996952057, 0.7583000063896179, 0.500201940536499, 0.5405466556549072, 0.5203033089637756, 0.7906316518783569, 0.3294582664966583, -0.3697456419467926, 0.3415088653564453, -0.09991571307182312, 0.3809013366699219, -0.08689538389444351, -0.25163429975509644, -0.40551578998565674, -0.026240065693855286, 0.595906138420105, 0.7179337739944458, -0.2806328535079956, 0.31449010968208313, 0.057894181460142136, 0.7334516048431396, -0.9860131144523621, -0.42836445569992065, -0.565475344657898, 0.2790559232234955, -0.42436060309410095, -0.4562884271144867, -0.4622524082660675, -0.24880069494247437, -0.03598929941654205, -0.44890809059143066, 0.5801423192024231, 0.10322824865579605, 0.7370789051055908, 0.05200714245438576, -0.8487746119499207, -0.1433747559785843, -1.1219981908798218, 0.7564019560813904, -0.12357432395219803, 0.40362676978111267, 0.17356166243553162, 0.4854815602302551, -0.1105274111032486, -1.025115728378296, -0.32564687728881836, -0.18727734684944153, -0.13433636724948883, 0.23021697998046875, -0.22859203815460205, 0.08592768758535385, 0.23294207453727722, 0.605242133140564, -0.4429510533809662, -0.18843060731887817, -0.44280973076820374, -0.22681567072868347, 0.5774922966957092, -0.012690541334450245, 0.08065620064735413, -0.38486433029174805, -0.7378065586090088, 0.07835330814123154, -0.5752772688865662, 0.1312282532453537, 0.38613030314445496, 0.38786664605140686, 0.48894259333610535, 0.7033418416976929, -0.26393255591392517, 0.6880107522010803, 0.18453556299209595, -0.004402915481477976, 0.16902343928813934, -0.24178072810173035, 0.13900165259838104, -0.23775941133499146, 0.48835259675979614, -0.2810952663421631, -0.36550888419151306, -0.5658717155456543, -0.6447167992591858, 0.04345053434371948, 0.7418410778045654, -0.46154946088790894, -0.032713279128074646, -0.10000193864107132, -0.4719759225845337, 0.06182488426566124, 0.38615038990974426, -0.6393003463745117, 0.0183402169495821, -0.4305310547351837, 0.8114870190620422, -0.048691362142562866, -0.0679921805858612, -0.3417854607105255, -0.1769096404314041, 0.13537651300430298, 0.23900924623012543, -0.3354320526123047, 0.4028659760951996, 0.44440630078315735, 0.4669108986854553, -0.5575815439224243, -0.057809218764305115, -1.0217353105545044, 0.1103094145655632, -0.13929960131645203, 1.1440554857254028, -0.695280909538269, -0.5686486959457397, -0.35032129287719727, -0.14969481527805328, -0.06661903113126755, -0.5510287284851074, 0.8661388754844666, -0.8989239931106567, 0.21501712501049042, -0.2900450825691223, -0.0816531851887703, -0.12754185497760773, -0.24853827059268951, -0.7161789536476135, 1.2237749099731445, 0.18196634948253632, -0.4577171504497528, 0.39897871017456055, -0.6585999131202698, -0.776618242263794, 0.536918044090271, -0.27626800537109375, -0.43469786643981934, 0.19954165816307068, -0.0875362828373909, 0.29326528310775757, -0.22586597502231598, -0.004667013417929411, -0.09120697528123856, -0.5385738015174866, -0.007008806336671114, -0.5136652588844299, 0.5904207229614258, 0.6956509947776794, -0.47291770577430725, -0.15332990884780884, -0.7404153347015381, 0.2953508198261261, -0.06095213443040848, -0.8337156772613525, -0.37948834896087646, -0.0677919015288353, -0.004016492515802383, -0.12434040755033493, 0.315164715051651, -0.5876448750495911, 0.2671296000480652, 0.18469110131263733, -0.2015434205532074, 0.675701379776001, 0.2002163529396057, 0.6541433334350586, -0.17259275913238525, 0.5687748789787292, -0.3197948634624481, 0.23977400362491608, -0.08774570375680923, -0.5501264333724976, -0.6399409770965576, -0.17763832211494446, 0.46085816621780396, 0.5566534996032715, -0.6730782389640808, 0.45135626196861267, 0.14966970682144165, -0.2848585844039917, -0.43639346957206726, 0.30388298630714417, 0.962273120880127, 0.5347416996955872, 0.5674530267715454, -0.4640626013278961, -0.6583602428436279, -0.46606382727622986, -0.22162343561649323, -0.16763894259929657, -0.1014266163110733, 0.6943697929382324, 0.1678769886493683, -0.19145849347114563, 0.7685145139694214, -0.3362368047237396, -0.386576384305954, -0.22959409654140472, 0.49806666374206543, 0.14829477667808533, 0.1795261949300766, 0.22913435101509094, -1.322252869606018, -0.3896794617176056, 0.06974632292985916, -0.6987783312797546, -0.38315510749816895, 0.011251868680119514, -0.1435515135526657, 0.21743527054786682, 0.22610870003700256, -0.4350857138633728, 0.6587980389595032, 0.12603776156902313, -0.45180267095565796, 0.32919779419898987, -0.42228952050209045, 0.4151783287525177, -0.6011087894439697, 0.43476617336273193, -0.3578762412071228, 0.02687544748187065, -0.294486403465271, 0.37608692049980164, 0.16444352269172668, 0.046476591378450394, -0.18517716228961945, 0.6138680577278137, -0.9395016431808472, -0.3619422912597656, -0.30081942677497864, -0.3136569857597351, 0.12236744910478592, 0.15129870176315308, -0.3985162377357483, 0.9159359931945801, 0.2011152058839798, -1.0101910829544067, 0.346245139837265, 0.05043446645140648, 0.10184574127197266, 0.4195261597633362, -0.7222962379455566, 0.46749356389045715, -0.17193953692913055, 0.17504364252090454, -0.9136569499969482, -0.2532896399497986, -0.2729012668132782, -0.4958585202693939, 0.6120548844337463, -0.3098486363887787, -0.4041089117527008, -0.6017339825630188, 0.04051581025123596, 0.3240053355693817, 0.6677635312080383, -0.8021079897880554, 0.9903254508972168, 0.4696056842803955, 0.16328753530979156, -0.7867943644523621, -0.12042659521102905, -0.12580615282058716, -0.06466595828533173, -0.19027158617973328, 0.5269026160240173, 0.034149352461099625, -0.07106821984052658, 0.24188317358493805, -0.47932466864585876, 0.05001320689916611, 0.09596659988164902, 0.12639333307743073, 0.27614641189575195, -0.019880076870322227, -0.2017947882413864, -0.034113310277462006, -0.1876957267522812, -0.4129103124141693, 0.2026827484369278, 0.2330189347267151, 0.1988213062286377, -0.6026357412338257, -0.056856606155633926, 0.5240151882171631, 0.20534123480319977, -0.7145880460739136, 0.15650822222232819, 0.8550160527229309, -0.021622370928525925, -0.19040586054325104, -0.8043546676635742, -0.04196620360016823, -0.4945252239704132, -0.1769033670425415, -0.5224041938781738, -0.6431099772453308, 0.4960552155971527, 0.0935177430510521, 0.36563995480537415, 0.4431949257850647, 0.353929728269577, -0.10299299657344818, 1.5353573560714722, 0.4176800847053528, 0.2983005940914154, 0.47242823243141174, -0.2677888572216034, -0.010869280435144901, -1.0809407234191895, -0.5659111142158508, -0.785693347454071, -0.35605043172836304, -0.19223099946975708, -0.37718233466148376, 0.5792366862297058, 0.4374019205570221, -0.1710301637649536, 0.3825685679912567, -0.8781933188438416, 0.3582080602645874, 0.5648919343948364, 0.09840554744005203, 0.35756731033325195, 0.210128054022789, -0.417564332485199, 0.09091732650995255, -0.5466241836547852, -0.3203526437282562, 0.9582199454307556, -0.18178385496139526, 0.9102749824523926, 0.4389690160751343, 0.7406527400016785, 0.6156312227249146, 0.4257480502128601, -0.5766343474388123, 0.6985920667648315, -0.42856571078300476, -0.8382899165153503, -0.024634508416056633, -0.9776893258094788, -1.561070442199707, 0.3196346163749695, -0.24743840098381042, -0.5096451640129089, 0.1278582662343979, 0.0381128191947937, -0.35295671224594116, 0.23741309344768524, -0.760962963104248, 0.3026512563228607, -0.41214191913604736, -0.2558108866214752, 0.08414576202630997, -0.7378035187721252, 0.18355189263820648, -0.07400909066200256, 0.11044362932443619, -0.06805066019296646, -0.10966425389051437, 0.7260011434555054, -0.11823347955942154, 0.3012695610523224, -0.3482052683830261, 0.37683090567588806, 0.4751206934452057, -0.014378081075847149, 0.23943442106246948, -0.115372434258461, -0.01116922590881586, -0.3996129631996155, -0.20870181918144226, -0.3062857389450073, -0.5775389075279236, 0.7540823817253113, -0.6935065984725952, -0.4300040006637573, -0.619001030921936, -0.21814987063407898, -0.08194158226251602, 0.40637314319610596, 0.3146190345287323, 0.52004075050354, -0.09248903393745422, 0.3123054504394531, 0.6243763566017151, 0.23415149748325348, 0.4014087915420532, 0.8863885998725891, -0.16580061614513397, -0.3032841384410858, 0.8971712589263916, 0.1981208622455597, -0.020171428099274635, 0.5143609046936035, 0.22301289439201355, -0.5089155435562134, -0.47838935256004333, -0.569797694683075, 0.09909190237522125, -0.4085029661655426, -0.682341456413269, -0.7673642635345459, -0.13136354088783264, -0.37977564334869385, 0.12355438619852066, -0.3318443298339844, -0.4908568263053894, -0.3881346881389618, 0.2316380888223648, 0.3530137538909912, 0.7953985333442688, -0.2922084927558899, -0.08743607252836227, -1.0815544128417969, 1.1083773374557495, 0.5585627555847168, 0.4737463891506195, -0.04187425598502159, -0.8111417293548584, 0.052745379507541656, -0.14658769965171814, -0.6935244798660278, -0.7452722787857056, 0.0015824296278879046, 0.3962283730506897, 1.1692677736282349, 0.2835042178630829, 0.35216161608695984, 0.8783560991287231, -0.6935086250305176, 0.4474692940711975, -0.04771390184760094, -0.47111520171165466, 0.6092361211776733, 0.10581191629171371, 0.10787089169025421, 0.4756016731262207, 0.389658123254776, -0.04461541399359703, -0.10368359833955765, -0.6723101735115051, -1.282484531402588, 0.6062651872634888, 0.24120062589645386, 0.22747385501861572, -0.07362091541290283, 0.5300177335739136, -0.12239501625299454, -0.1822448968887329, -0.18139559030532837, -0.42571496963500977, 0.21611428260803223, 0.3072938621044159, 0.22962962090969086, -0.184315487742424, -0.06552167236804962, -0.1587221771478653, 0.47779926657676697, 0.08311831206083298, 0.47297215461730957, 0.32582998275756836, 0.01867837831377983, -0.6300961971282959, 0.45595911145210266, -0.22917436063289642, 0.5839398503303528, -0.3154497444629669, 0.08433989435434341, -0.05858976021409035, -0.6465356945991516, 0.3588484227657318, 0.599147617816925, -0.34026631712913513, 0.20890063047409058, 0.10069820284843445, 0.425824373960495, 0.3513275980949402, -0.43764761090278625, 0.43224263191223145, -0.19145582616329193, 0.040786758065223694, -0.28565287590026855, 0.30817943811416626, -0.7118078470230103, 0.1624504178762436, 1.1756839752197266, 0.29481565952301025, 0.6042521595954895, -0.70253586769104, 0.5506204962730408, 0.44646987318992615, -0.2209034562110901, -0.29553475975990295, 0.9692664742469788, 0.15304845571517944, -0.4246641993522644, 0.5040057301521301, -0.5761278867721558, -0.4493272006511688, 0.2501368522644043, 0.587443470954895, 0.817156195640564, -0.5474565029144287, 0.09598321467638016, 0.26317888498306274, -0.22702498733997345, -0.3414211571216583, 0.5844642519950867, -0.18959297239780426, -0.38550934195518494, -0.52933669090271, -0.9059897065162659, -0.45918554067611694, -0.1884823441505432, -1.1819486618041992, 0.01711471751332283, -0.09608816355466843, -0.4713258445262909, 0.2113223820924759, 0.13280385732650757, -0.505530595779419, 0.03861323744058609, -0.1116361916065216, 0.5866594910621643, -0.3888508081436157, 0.367316871881485, 1.2700034379959106, -0.502436101436615, -0.8829251527786255, -0.25558391213417053, -0.03856859356164932, -0.4019474685192108, 0.5080094933509827, -0.041172292083501816, -0.24485181272029877, -0.06435657292604446, -0.27496805787086487, -0.7311837077140808, 1.0217623710632324, 0.05031643807888031, 0.04934586212038994, -0.21521374583244324, -0.5653014183044434, 0.4621035158634186, -0.12808476388454437, 0.18099667131900787, 0.37795203924179077, 0.37884557247161865, 0.6143363118171692, -1.0306600332260132, -0.09041932225227356, -0.4231836497783661, 0.0798998549580574, 0.5784993171691895, -0.5129911303520203, 0.9605261087417603, -0.48493120074272156, -0.59163498878479, 0.2880702316761017, 0.8157675862312317, 0.4499632716178894, 0.5293780565261841, 0.6351017951965332, 0.6039872169494629, 0.46996521949768066, -0.05145658180117607, 1.080146312713623, 0.13497747480869293, 0.13316479325294495, 0.6081318855285645, -0.24258825182914734, 0.9230158925056458, 0.33571478724479675, -0.3648875653743744, 0.2902292013168335, 0.1673153191804886, 0.1383538544178009, 0.44828277826309204, -0.22299349308013916, -0.5722920894622803, -0.1500326544046402, -0.2705296277999878, -0.3638274073600769, 0.559745728969574, 0.23493143916130066, -0.026471750810742378, -0.2231443226337433, -0.04958367347717285, -0.04181164130568504, 0.21682919561862946, -0.3443138897418976, 0.9771322011947632, -0.1537119597196579, -0.9808729887008667, 0.5572494268417358, -0.120433010160923, 0.5774912238121033, -0.5122419595718384, -0.5194368958473206, -0.38752660155296326, 0.4705454409122467, -0.3479279577732086, -0.6931082606315613, 0.09739544242620468, 0.27351030707359314, -0.1472637951374054, -0.261165976524353, 0.7634081244468689, -0.13697245717048645, -0.45982322096824646, 0.34455475211143494, 0.6217793226242065, 0.24232815206050873, -0.014891089871525764, -0.6427062153816223, 0.0254665520042181, 0.07428786158561707, -0.37850865721702576, 0.4641117453575134, 0.6628181338310242, -0.17162242531776428, 0.41245037317276, 0.8820240497589111, 0.22907693684101105, 0.2935531735420227, 0.23874223232269287, 1.038235068321228, -0.5690856575965881, -0.1490289866924286, -0.07027439028024673, 0.4358842372894287, 0.05221157521009445, -0.20391666889190674, 0.8660039305686951, 0.7642943263053894, 0.5853029489517212, 0.36323973536491394, 0.5510253310203552, -0.44946974515914917, 1.1069649457931519, -0.37436288595199585, 0.426713228225708, -0.8690561056137085, 0.4875096380710602, -0.12404768913984299, -1.1535170078277588, -0.2910737097263336, 0.5708953142166138, 0.25734657049179077, 0.3832530081272125, 0.46732479333877563, 0.4572330713272095, -0.3443819284439087, -0.27884483337402344, 0.14744450151920319, -0.2089136838912964, 0.24482539296150208, 0.14721430838108063, 0.821138858795166, -0.3846864104270935, 1.030543565750122, -0.4024028480052948, -0.4010900855064392, -0.34301626682281494, -0.49627885222435, -0.501002848148346, -0.541779100894928, 0.0761064812541008, -0.34107092022895813, 0.0998406931757927, 0.6244141459465027, 0.5773468613624573, -0.6804940104484558, -0.04090908542275429, 0.09159210324287415, 0.01949583925306797, -0.26845815777778625, -0.25697851181030273, 0.2505999505519867, -0.7681375741958618, -0.47713491320610046, 0.5353415608406067, 0.14017625153064728, -0.020077450200915337, -0.03176017850637436, 0.029202928766608238, -0.293435275554657, -0.09363715350627899, 0.5922803282737732, 0.7504256963729858, -0.5821866989135742, -0.19258202612400055, 0.38624826073646545, -0.19256457686424255, -0.06613510102033615, 1.1433099508285522, -0.920856773853302, 0.6030557751655579, 0.44520220160484314, 0.6022555828094482, 0.5867884755134583, 0.3953297734260559, 0.357494980096817, -0.9325802326202393, -0.18636314570903778, 0.6352761387825012, 0.255682110786438, 0.2519949972629547, -0.43258941173553467, 0.6868669986724854, 0.16017749905586243, -0.9307668805122375, -0.933014452457428, 0.11506133526563644, -1.0685324668884277, -0.14648857712745667, 1.2571431398391724, -0.1522197127342224, -0.03883597254753113, -0.6029939651489258, -0.30774766206741333, 0.4313277304172516, -0.5495406985282898, 0.7786149978637695, -0.21171849966049194, -0.5804190039634705, 0.026909103617072105, -0.4543232321739197, 0.2510712146759033, 0.26417815685272217, -0.425351083278656, -0.17150594294071198, 0.6021091938018799, -0.09129813313484192, 0.475728839635849, 0.6436218619346619, -0.347397118806839, 0.5323755145072937, -0.13423927128314972, 0.10648422688245773, -0.029804076999425888, -0.679876983165741, -0.14918632805347443, 0.18985632061958313, -0.010834644548594952, -0.1877610832452774 ]
http://arxiv.org/abs/2406.12527v1
http://arxiv.org/pdf/2406.12527v1
FuseGen: PLM Fusion for Data-generation based Zero-shot Learning
2024-06-18T11:55:05
2024-06-18T11:55:05
Tianyuan Zou, Yang Liu, Peng Li, Jianqing Zhang, Jingjing Liu, Ya-Qin Zhang
cs.CL
cs.CL
Data generation-based zero-shot learning, although effective in training Small Task-specific Models (STMs) via synthetic datasets generated by Pre-trained Language Models (PLMs), is often limited by the low quality of such synthetic datasets. Previous solutions have primarily focused on single PLM settings, where synthetic datasets are typically restricted to specific sub-spaces and often deviate from real-world distributions, leading to severe distribution bias. To mitigate such bias, we propose FuseGen, a novel data generation-based zero-shot learning framework that introduces a new criteria for subset selection from synthetic datasets via utilizing multiple PLMs and trained STMs. The chosen subset provides in-context feedback to each PLM, enhancing dataset quality through iterative data generation. Trained STMs are then used for sample re-weighting as well, further improving data quality. Extensive experiments across diverse tasks demonstrate that FuseGen substantially outperforms existing methods, highly effective in boosting STM performance in a PLM-agnostic way. Code is provided in https://github.com/LindaLydia/FuseGen.
[ -0.15880274772644043, -0.5196377635002136, 0.34082597494125366, 0.08608325570821762, -0.37245818972587585, 0.3073360323905945, -0.20196717977523804, 0.01215967908501625, 0.00833924300968647, 0.5043467879295349, -0.7479262948036194, -0.6854238510131836, -0.28031468391418457, 0.03853645548224449, -0.47601211071014404, 0.7399408221244812, -0.05764870345592499, 0.21988315880298615, -0.6360752582550049, -0.07950306683778763, -0.5152866244316101, -0.2356332242488861, -0.13731420040130615, -0.5287952423095703, 0.3166060745716095, 0.7525991201400757, 0.2649286091327667, 0.6787510514259338, 0.29393190145492554, 0.09102160483598709, 0.6161432862281799, 0.28033164143562317, -0.8888416886329651, 0.2120070606470108, -0.11079743504524231, -0.36421433091163635, 0.1719282567501068, 0.13959096372127533, 0.6113561391830444, 0.5920586585998535, -0.06734773516654968, 0.18088315427303314, -0.15905511379241943, 0.3882722854614258, -0.8318619728088379, -0.08360106498003006, -0.8367838859558105, 0.15386052429676056, -0.23030303418636322, -0.29522788524627686, -0.6910625696182251, -0.2473037838935852, -0.08156568557024002, -0.6507744193077087, 0.7684215903282166, 0.0643530935049057, 0.7897393703460693, 0.3710482716560364, -0.371211439371109, 0.3800988793373108, -0.8169499635696411, 1.1122435331344604, -0.396770179271698, 0.2774980068206787, -0.015897853299975395, 0.4635125994682312, -0.1744927316904068, -0.3085103929042816, -0.548314094543457, -0.000009318114280176815, 0.14467474818229675, 0.47056078910827637, 0.157653346657753, -0.0324600450694561, 0.13348844647407532, 0.608138382434845, -0.7911810874938965, 0.08111070096492767, -0.46554455161094666, -0.062491580843925476, 0.905287504196167, 0.01461663469672203, 0.06331821531057358, -0.0801505520939827, -0.60073322057724, -0.34750068187713623, -1.19605553150177, -0.24761873483657837, 0.4075140953063965, 0.5552312135696411, -0.15168261528015137, 0.3847653567790985, -0.3233453035354614, 1.0498371124267578, -0.020370228216052055, -0.03749791532754898, 0.5308381915092468, -0.38990646600723267, -0.2733649015426636, 0.08612237125635147, 0.8636780977249146, 0.03882967680692673, -0.1452156901359558, -0.18037402629852295, 0.015139489434659481, 0.1760087013244629, 0.08405151963233948, -0.6861802935600281, -0.37841206789016724, 0.2872721254825592, -0.12492524087429047, -0.5663715600967407, 0.22241488099098206, -0.6390349864959717, -0.3103521168231964, -0.14919418096542358, 0.4886620342731476, -0.5733280181884766, -0.22308704257011414, 0.16647905111312866, -0.3929250240325928, 0.45195749402046204, 0.06107432022690773, -0.543660581111908, -0.1458115130662918, 0.24083031713962555, 0.6317923069000244, -0.2854851186275482, -0.4116535484790802, -0.6845499277114868, 0.3162675201892853, -0.271237850189209, 1.0991202592849731, -0.4985481798648834, -0.7604802846908569, -0.07732593268156052, -0.3346770107746124, -0.17462386190891266, -0.710452139377594, 0.3513554036617279, 0.1358375996351242, 0.4459409713745117, 0.004718951415270567, -0.7289522290229797, 0.10810860991477966, 0.02451970800757408, -0.32015639543533325, 1.066096544265747, 0.37217503786087036, -0.366476446390152, 0.6485588550567627, -0.3452923595905304, -0.7109478712081909, 0.2888786494731903, -0.4575244188308716, -0.5747604966163635, 0.30975985527038574, 0.1524970680475235, 0.48208650946617126, -0.34066241979599, 0.08807981014251709, -0.5895999670028687, -0.3437671959400177, -0.16387991607189178, -0.13783732056617737, 0.5691306591033936, 0.18212449550628662, -0.059065867215394974, 0.3171921670436859, -0.8073923587799072, 0.0932408794760704, 0.2577165365219116, 0.01642504148185253, -0.024920130148530006, -0.01798405684530735, -0.24269255995750427, 0.662691056728363, -0.18686281144618988, -0.8788930773735046, 0.24336501955986023, -0.6724021434783936, 0.10009359568357468, 0.4885822534561157, 0.14684279263019562, 0.5146344900131226, -0.6555227637290955, 0.4612289071083069, 0.20865629613399506, 0.09393691271543503, -0.49884718656539917, -0.24889688193798065, -0.6942000985145569, -0.4160684049129486, 0.3045678734779358, 0.5019891858100891, -1.2759474515914917, 0.5746357440948486, -0.22414612770080566, -0.7367829084396362, -0.6974359750747681, 0.5131785273551941, 0.30762192606925964, 0.7425572872161865, 0.37849903106689453, -0.22101904451847076, -0.5631521344184875, -0.7599896192550659, 0.11112848669290543, 0.11146777123212814, -0.23161581158638, 0.334042489528656, 0.3279344439506531, 0.09710505604743958, 1.2269775867462158, -0.6240048408508301, -0.5092645883560181, -0.6734971404075623, 0.23123569786548615, -0.03469201922416687, 0.33382171392440796, 0.6195480227470398, -0.5042006373405457, -0.5386905074119568, -0.2763277292251587, -0.696662962436676, -0.33470258116722107, -0.32926833629608154, -0.10914282500743866, -0.0002361569058848545, 0.08225109428167343, -0.330429345369339, 0.17029458284378052, 0.5479475855827332, -0.028289930894970894, 0.443747341632843, -0.2156822681427002, -0.23115959763526917, -1.238599419593811, 0.13631412386894226, 0.0903211161494255, -0.15764881670475006, -0.8382322192192078, -0.1746581792831421, 0.08886202424764633, -0.28278741240501404, -0.9863293766975403, 0.67692631483078, -0.1648179590702057, -0.041278526186943054, -0.3311438262462616, 0.13358725607395172, 0.017950713634490967, 0.3675908148288727, 0.26820456981658936, 0.6250206232070923, 0.8465311527252197, -0.44975656270980835, 0.38085728883743286, 0.38004446029663086, -0.1938149333000183, 0.6482560634613037, -0.4676632583141327, -0.12027433514595032, -0.3066021800041199, 0.3061944544315338, -0.9072532057762146, -0.3760961592197418, 0.05935514345765114, -0.3872578740119934, 0.3601734936237335, 0.17655925452709198, -0.6126128435134888, -0.3385979235172272, -0.4728487432003021, 0.32304587960243225, 0.7513187527656555, -0.6039594411849976, 0.3141389787197113, 0.2511291801929474, 0.2659325897693634, -0.2335304170846939, -0.41199350357055664, -0.25813353061676025, 0.05863821506500244, -0.6098699569702148, 0.4927219748497009, 0.026485491544008255, 0.1898527890443802, -0.17826031148433685, -0.2020847052335739, 0.11733083426952362, -0.09054186195135117, 0.2704208493232727, 0.37520095705986023, 0.2787128686904907, 0.12681522965431213, 0.08943431079387665, -0.2824276089668274, -0.4934363067150116, -0.40723931789398193, 0.5769416093826294, 0.4637438952922821, -0.4240734279155731, -0.004858081694692373, 0.21225668489933014, 0.1929280012845993, -0.1820695847272873, 0.6411728858947754, 0.4974119961261749, -0.02885863371193409, -0.8910753726959229, -0.3427937626838684, -0.3128412365913391, -0.399599552154541, -0.10959426313638687, -0.11761975288391113, -0.8980268239974976, 0.15770770609378815, -0.15991845726966858, 0.2184699922800064, 0.5098860859870911, 0.5675597786903381, -0.27034494280815125, 1.0757477283477783, 0.45834892988204956, -0.01574060320854187, 0.4860149025917053, -0.3932633101940155, 0.1490410566329956, -0.4348161518573761, -0.1885351836681366, -0.14417552947998047, -0.4678192436695099, -0.16243070363998413, -0.5411228537559509, 0.35032957792282104, -0.10342678427696228, -0.051423732191324234, 0.3663928806781769, -0.5889492034912109, 0.5583750009536743, 0.6925551891326904, 0.01867181994020939, 0.11287597566843033, 0.022852353751659393, -0.14655911922454834, 0.2081596404314041, -1.0655525922775269, 0.04606867581605911, 1.1727344989776611, -0.06555047631263733, 0.8203626275062561, -0.35177046060562134, 0.9763860702514648, 0.13624654710292816, 0.3398117423057556, -0.6063864231109619, 0.49944522976875305, -0.484247088432312, -0.4682224988937378, 0.08283768594264984, -0.8395030498504639, -0.7294555902481079, 0.11699163168668747, -0.2573543190956116, -0.2870582938194275, 0.11694301664829254, 0.3186510503292084, -0.5834329724311829, 0.2262612283229828, -0.6399757862091064, 0.8612129092216492, -0.4237715005874634, -0.39727330207824707, 0.08357077836990356, -0.6629258990287781, 0.5606450438499451, -0.183100625872612, -0.15795964002609253, -0.41780996322631836, 0.3104352355003357, 0.44029700756073, -0.4211694300174713, 0.7300193309783936, -0.3817237615585327, 0.1430802196264267, 0.3983495235443115, -0.11639011651277542, 0.20175237953662872, -0.20969152450561523, 0.10546086728572845, 0.3195645213127136, -0.11413126438856125, -0.5729612708091736, -0.4376066327095032, 0.8070179224014282, -0.680158257484436, -0.24387206137180328, -0.43307989835739136, -0.7726797461509705, -0.5155259370803833, 0.19777989387512207, 0.5856661200523376, 0.12081539630889893, -0.09079904854297638, 0.4088592827320099, 0.8147286176681519, -0.39647558331489563, 0.16595302522182465, 0.6863697171211243, -0.11741647124290466, -0.4180583655834198, 1.5132743120193481, 0.08303762227296829, 0.41885581612586975, 0.41239795088768005, -0.03708672150969505, -0.26614829897880554, -0.472817987203598, -0.4927949607372284, 0.19446410238742828, -0.09616166353225708, -0.5668172836303711, -0.22929607331752777, -0.2894146740436554, -0.3732624650001526, -0.3332991302013397, -0.3327459692955017, -0.27151602506637573, -0.34481707215309143, -0.22281429171562195, 0.11351475864648819, 0.2178177833557129, 0.0059152692556381226, 0.4360315799713135, -0.7910215854644775, 0.49056604504585266, 0.11157380789518356, 0.44602084159851074, -0.6266893744468689, -0.3812755346298218, -0.0001139240266638808, 0.14855951070785522, -0.4659520983695984, -0.7900227904319763, 0.5494605302810669, 0.5179511904716492, 0.5487088561058044, 0.3778090476989746, 0.2810165584087372, 0.4943857789039612, -0.3087935149669647, 0.8643117547035217, 0.39258548617362976, -0.6664791107177734, 0.920369029045105, -0.5491478443145752, 0.6458694934844971, 0.6396998763084412, 0.0882008820772171, -0.23238235712051392, -0.5122731328010559, -0.7944934368133545, -0.7699275612831116, 0.8973411917686462, 0.15890999138355255, -0.026275336742401123, 0.0809893012046814, 0.17364604771137238, 0.4330328106880188, 0.4077993929386139, -0.3403710424900055, -0.3167429268360138, -0.45560699701309204, -0.5107784867286682, -0.11256987601518631, 0.12088421732187271, -0.08159060776233673, -0.2083369791507721, 0.7976551651954651, -0.31929293274879456, 0.1369161605834961, -0.005848730448633432, -0.28715938329696655, -0.30157479643821716, 0.07053957134485245, 0.4956599771976471, 0.28695371747016907, -0.24692997336387634, -0.0326506569981575, 0.1537330150604248, -0.04272225871682167, 0.31747499108314514, 0.24926264584064484, -0.5908679962158203, 0.158487468957901, -0.03326939791440964, 0.8461021184921265, 0.4473416209220886, -0.9584535360336304, 0.527716338634491, 0.13161982595920563, -0.6508907079696655, -0.11526915431022644, 0.5201693773269653, -0.32752320170402527, -0.19767692685127258, 0.44108885526657104, -0.05510547384619713, -0.34789085388183594, -0.29319116473197937, 0.6490339040756226, 0.5135138034820557, -0.2440372258424759, -0.34026098251342773, 0.6321040987968445, 0.39728444814682007, 0.10686253756284714, 0.5615219473838806, -0.2886701822280884, -0.0475541390478611, 0.41432952880859375, 0.5583723187446594, 0.8358471989631653, -0.3589687645435333, 0.7344319224357605, 0.27915677428245544, -0.034217577427625656, -0.06619231402873993, 0.425141304731369, -0.13916867971420288, -0.8004775047302246, -0.47986477613449097, -0.7943313717842102, -0.42652803659439087, 0.26060277223587036, -0.3227415680885315, 0.4604291021823883, -0.5984563231468201, 0.20062825083732605, -0.25440335273742676, -0.12907016277313232, -0.6321563124656677, 0.0723307654261589, 0.22253380715847015, 1.0543591976165771, -1.0792144536972046, 1.0858038663864136, 0.4020501375198364, -0.5890487432479858, -0.4817322790622711, -0.2858394682407379, 0.17518076300621033, -0.7541566491127014, 0.2689765691757202, 0.15202337503433228, 0.24522998929023743, 0.2846669852733612, -0.4305969774723053, -0.6840851902961731, 1.2364990711212158, 0.642669141292572, -0.3120250403881073, 0.0833045020699501, 0.47584766149520874, 0.32077598571777344, -0.5034822821617126, -0.13843505084514618, 0.4720225930213928, 0.07006973028182983, 0.7906138896942139, -0.5920538902282715, -0.3619135022163391, -0.06443620473146439, 0.06436041742563248, 0.44448912143707275, -0.6810528039932251, 0.5033580660820007, 0.12176841497421265, -0.4493868947029114, -0.1577250063419342, 0.46985194087028503, 0.40583139657974243, 0.25121086835861206, 0.17117483913898468, 0.8662447929382324, 0.36113980412483215, -0.41310712695121765, 0.9549245238304138, -0.4112861454486847, 0.3768235445022583, 1.1981704235076904, -0.878749668598175, 0.7294476628303528, 0.3444751501083374, 0.08928701281547546, 0.24261480569839478, 0.4562510848045349, -0.515011727809906, 0.7757903337478638, 0.07166603207588196, -0.5673890113830566, -0.4033587872982025, -0.37714487314224243, -0.10518784075975418, 0.41854673624038696, 0.19756130874156952, -0.30384403467178345, -0.6737598776817322, 0.3488398492336273, -0.3983045518398285, -0.15669630467891693, -0.14435213804244995, 0.7946078181266785, -0.041926704347133636, -0.4933837056159973, 0.2966555058956146, -0.22547000646591187, 0.6531856060028076, -0.8259034752845764, -0.028212159872055054, -0.2196079045534134, 0.19263507425785065, -0.31008487939834595, -0.6707118153572083, 0.4037822186946869, -0.09886791557073593, -0.16974079608917236, -0.6152681112289429, 1.0818848609924316, -0.718532383441925, -0.5666523575782776, -0.07502107322216034, 0.7145208716392517, -0.1900792121887207, -0.04167480766773224, -0.575238823890686, -0.028263939544558525, 0.030334845185279846, 0.18883706629276276, 0.5532298684120178, -0.29281800985336304, 0.3524496853351593, 0.586710512638092, 0.8588420152664185, 0.3014070391654968, -0.017983470112085342, -0.002404566388577223, 0.6908733248710632, -0.37966302037239075, -0.19544917345046997, -0.5562774538993835, 0.6391615867614746, -0.2750210165977478, -0.16662150621414185, 1.0267263650894165, 0.6576887965202332, 1.2160882949829102, -0.1378813236951828, 1.1897002458572388, -0.02784397080540657, 0.619378924369812, -0.12380401045084, 0.5442134141921997, -0.3283992111682892, 0.027488263323903084, 0.19220754504203796, -0.8676036596298218, -0.5464062690734863, 0.46487995982170105, -0.4316500425338745, -0.049093205481767654, 0.24335463345050812, 0.7376086711883545, -0.0905895084142685, -0.15452447533607483, 0.6463850736618042, -0.05329303815960884, 0.3481651544570923, 0.734477698802948, 0.5753289461135864, -0.4371180534362793, 0.6037355661392212, -0.4645097851753235, -0.12882991135120392, -0.16990025341510773, -0.6408659815788269, -0.6799328923225403, -0.4253321588039398, -0.4751211106777191, 0.1391645222902298, -0.047333914786577225, 0.8970125317573547, 0.8640913963317871, -0.862042248249054, -0.12841975688934326, -0.3675179183483124, 0.0004395958094391972, -0.1912146359682083, -0.286141037940979, -0.07041018456220627, -0.46756264567375183, -0.5314849615097046, 0.7942669987678528, 0.501797080039978, -0.01504773460328579, -0.3153717517852783, -0.09650669991970062, -0.1979960948228836, 0.10008671879768372, 0.5299053192138672, 0.616295337677002, -0.3198838531970978, -0.2672034800052643, 0.06377051770687103, 0.057565078139305115, 0.05316973477602005, 0.7918018698692322, -1.17608642578125, 0.6843520402908325, 0.6658105850219727, 0.5189976692199707, 0.4093588590621948, 0.08741210401058197, 0.8200426697731018, -1.5285602807998657, 0.1576731950044632, 0.34083470702171326, 0.22158916294574738, 0.30267617106437683, -0.0474398210644722, 0.4269586205482483, 0.5147472023963928, -0.3465212285518646, -0.8394961953163147, 0.35068053007125854, -0.8117030262947083, -0.23757323622703552, 1.1099179983139038, 0.119268037378788, -0.18415459990501404, 0.07308197766542435, -0.14323784410953522, 0.16415314376354218, -0.2794801592826843, 0.7829471230506897, 0.3486204147338867, -0.39905524253845215, -0.35831528902053833, -0.2614763081073761, 0.49551159143447876, 0.37439200282096863, -0.9642149209976196, 0.05276587978005409, 0.8005303144454956, 0.23685026168823242, -0.03606034070253372, 0.23374992609024048, 0.03321581706404686, 0.33823642134666443, -0.06162644177675247, 0.019542094320058823, -0.4267449378967285, -0.42224493622779846, -0.38600125908851624, 0.43442630767822266, -0.31316453218460083, -0.29055407643318176 ]
http://arxiv.org/abs/2406.12502v1
http://arxiv.org/pdf/2406.12502v1
Code-Optimise: Self-Generated Preference Data for Correctness and Efficiency
2024-06-18T11:05:37
2024-06-18T11:05:37
Leonidas Gee, Milan Gritta, Gerasimos Lampouras, Ignacio Iacobacci
cs.CL
cs.CL
Code Language Models have been trained to generate accurate solutions, typically with no regard for runtime. On the other hand, previous works that explored execution optimisation have observed corresponding drops in functional correctness. To that end, we introduce Code-Optimise, a framework that incorporates both correctness (passed, failed) and runtime (quick, slow) as learning signals via self-generated preference data. Our framework is both lightweight and robust as it dynamically selects solutions to reduce overfitting while avoiding a reliance on larger models for learning signals. Code-Optimise achieves significant improvements in pass@k while decreasing the competitive baseline runtimes by an additional 6% for in-domain data and up to 3% for out-of-domain data. As a byproduct, the average length of the generated solutions is reduced by up to 48% on MBPP and 23% on HumanEval, resulting in faster and cheaper inference. The generated data and codebase will be open-sourced at www.open-source.link.
[ -0.3334714472293854, -0.21031658351421356, 0.41046422719955444, 0.2331521064043045, -0.05845683068037033, -0.036221522837877274, -0.27680325508117676, -0.21771638095378876, 0.12158507108688354, 0.5289862751960754, -0.39958876371383667, -0.40845394134521484, -0.02489207498729229, -0.0942976251244545, -0.01596481166779995, 0.8938926458358765, 0.1253020018339157, 0.041649408638477325, -0.39323997497558594, -0.2728441655635834, -0.16811813414096832, -0.7006059885025024, -0.24984696507453918, -0.424977570772171, 0.3799342215061188, 0.7967599630355835, 0.6672441363334656, 0.9213706254959106, 0.5214200615882874, 0.08192101866006851, 0.4218301475048065, -0.008588924072682858, -0.6203439235687256, 0.08919627219438553, -0.11475617438554764, -0.5668860673904419, -0.39708027243614197, 0.050115637481212616, 0.010180594399571419, 0.4673404097557068, -0.26033246517181396, 0.5007318258285522, -0.10163035988807678, 1.1482294797897339, -1.065415620803833, 0.21797406673431396, -0.5209356546401978, 0.17170512676239014, 0.07481933385133743, -0.39457061886787415, -0.46792280673980713, -0.6602646112442017, -0.1909952461719513, -0.28306281566619873, 0.1366921067237854, -0.16693174839019775, 0.4789077341556549, 0.55392986536026, -0.14500057697296143, -0.4601816236972809, -0.3417987823486328, 0.9351593255996704, -0.7762459516525269, 0.4658159911632538, 0.21594734489917755, 0.36683928966522217, -0.14027689397335052, -0.628666341304779, -0.24054765701293945, -0.3765159845352173, -0.02757555991411209, 0.06446507573127747, 0.07845597714185715, 0.026564592495560646, 0.36282169818878174, 0.2362567037343979, -0.6768611669540405, -0.0626794621348381, -0.290449857711792, -0.3037162125110626, 0.8747394680976868, 0.07427842915058136, 0.03495626524090767, -0.27429601550102234, -0.15137124061584473, 0.04377170279622078, -0.711349606513977, 0.24752743542194366, 0.6278972029685974, 0.23446226119995117, -0.09889940172433853, 0.3596632480621338, -0.3879321813583374, 0.7811130881309509, 0.1915653496980667, -0.08620966970920563, 0.4939008355140686, -0.09675461798906326, -0.16978155076503754, -0.012512565590441227, 0.5788467526435852, 0.23300984501838684, 0.5398324728012085, -0.1558666080236435, -0.2611026167869568, 0.3289320468902588, 0.5337359309196472, -0.9716266989707947, -0.6520944833755493, 0.38869529962539673, -0.6031330227851868, -0.5709017515182495, -0.316350519657135, -0.5213219523429871, 0.1217140406370163, -0.6505881547927856, 0.26354753971099854, -0.4255436062812805, -0.30361276865005493, 0.5118923187255859, 0.06899778544902802, 0.13084903359413147, 0.06842806190252304, -0.9453465342521667, 0.003393271705135703, 0.4443569779396057, 0.7411113381385803, -0.419399619102478, 0.0738663598895073, -0.5999148488044739, -0.079282745718956, -0.5281887650489807, 0.6404244899749756, -0.3853365182876587, -0.5809741616249084, -0.18832431733608246, -0.45129767060279846, -0.03618459776043892, -0.6636058688163757, 0.42283815145492554, -0.5238823890686035, 0.03763015940785408, -0.142989382147789, -0.6933873295783997, 0.24393697082996368, -0.01956810988485813, -0.5944288372993469, 1.1592183113098145, 0.373441219329834, -0.6845491528511047, 0.6448746919631958, -1.0950580835342407, -0.40128180384635925, -0.14762504398822784, -0.2550014853477478, -0.4808034300804138, 0.0747399553656578, 0.20656923949718475, 0.5389890670776367, 0.19811876118183136, 0.22286590933799744, -0.683456301689148, -0.3524470925331116, 0.06849923729896545, -0.1156369224190712, 0.6148008704185486, 0.7458163499832153, -0.5068525671958923, 0.04811658337712288, -1.0541132688522339, 0.6536334753036499, 0.19041569530963898, -0.5145790576934814, -0.17658554017543793, 0.10558384656906128, -0.01378384605050087, 0.18585972487926483, 0.22661471366882324, -0.4268575608730316, 0.26982468366622925, -0.38760682940483093, 0.35204705595970154, 0.823126494884491, -0.2501375377178192, 0.4203365743160248, -0.1669103056192398, 0.7616188526153564, -0.06255339086055756, 0.4984353482723236, 0.04386194422841072, -0.243007093667984, -0.6791186928749084, -0.1660030335187912, 0.237905815243721, 0.416513592004776, -0.7442479133605957, 0.31343087553977966, -0.10798767954111099, -0.27665597200393677, -0.4040769338607788, 0.28658536076545715, 0.439576119184494, 0.5354918837547302, 0.3775984048843384, -0.30884620547294617, -0.43270793557167053, -1.0112286806106567, -0.3018609285354614, -0.22091726958751678, 0.3075668215751648, 0.3571132719516754, 0.4008912742137909, -0.37591108679771423, 1.347687005996704, -0.8613387942314148, 0.19339101016521454, -0.15982449054718018, -0.09634818881750107, 0.36384493112564087, 0.7043030261993408, 1.0444327592849731, -0.9611861109733582, -0.5462415218353271, -0.2079572081565857, -0.6703253388404846, -0.3702450096607208, 0.07192700356245041, -0.25501489639282227, 0.33989182114601135, 0.2624513804912567, 0.07612184435129166, 0.14296728372573853, 0.6820891499519348, -0.18633879721164703, 0.7337887287139893, -0.1599704623222351, 0.22943712770938873, -0.9611703753471375, 0.3507770895957947, -0.1939697116613388, -0.4782710373401642, -0.17221172153949738, 0.20629501342773438, 0.31598398089408875, -0.1736324578523636, -0.5398013591766357, 0.322596937417984, -0.2547270953655243, -0.1897578090429306, 0.03093903325498104, -0.25851020216941833, 0.012218647636473179, 0.6334911584854126, 0.08605441451072693, 1.367270827293396, 0.33019906282424927, -0.5736937522888184, 0.06155318394303322, 0.0330488495528698, -0.29949578642845154, 0.3469125032424927, -0.5295687317848206, 0.40010935068130493, 0.078042171895504, -0.41220882534980774, -0.6772857904434204, -0.3616129159927368, 0.1637500822544098, -0.6022608280181885, 0.33977583050727844, -0.5316530466079712, -0.28958526253700256, -0.37664496898651123, -0.358242005109787, 0.4722976088523865, 0.5999860763549805, -0.8645627498626709, 0.1284407526254654, 0.31791481375694275, 0.23967744410037994, -0.7939606308937073, -0.5738518834114075, -0.24785514175891876, -0.04141876474022865, -0.4852726459503174, -0.03547215834259987, -0.46613365411758423, 0.10656266659498215, -0.0244184248149395, -0.2682257294654846, -0.3799958825111389, 0.05960046872496605, 0.01584348827600479, -0.050440989434719086, -0.27610647678375244, 0.16386549174785614, 0.06308306753635406, -0.34273234009742737, 0.17561113834381104, -0.43742409348487854, 0.4021454453468323, -0.2453807294368744, -0.43429526686668396, -0.1736626923084259, 0.3783440589904785, 0.616382360458374, -0.2556666433811188, 0.4662455916404724, 0.17122069001197815, 0.15883922576904297, -0.509229838848114, -0.3739258944988251, -0.026435645297169685, -0.5376263856887817, -0.008702804334461689, -0.5651246309280396, -0.9295374155044556, 0.36801236867904663, 0.1263369768857956, 0.12450185418128967, 0.2610662877559662, 0.4345460832118988, 0.06380161643028259, 1.1510205268859863, 0.6203171610832214, -0.09751077741384506, 0.5352733135223389, -0.4106241762638092, 0.3166702687740326, -0.2279527187347412, -0.0816299095749855, -0.5415576100349426, 0.2500314712524414, -0.4723322093486786, -0.2830043137073517, 0.3734784424304962, 0.0818687155842781, -0.10774380713701248, 0.444111704826355, -0.7558853626251221, 0.6051120162010193, 0.4329744875431061, 0.2661851644515991, 0.11581125855445862, -0.07116828858852386, -0.10166748613119125, -0.21304066479206085, -1.0204927921295166, -0.4191494286060333, 1.407591700553894, 0.1872841864824295, 1.0229651927947998, 0.05549916625022888, 1.0033472776412964, 0.7245570421218872, 0.29810452461242676, -0.7289826273918152, 0.25777333974838257, -0.00917145423591137, -0.6301174163818359, 0.13223157823085785, -0.7852510213851929, -0.6008076667785645, -0.06758084893226624, 0.014980940148234367, -0.1695101112127304, 0.1246422529220581, 0.7347981929779053, -0.49440401792526245, -0.06339861452579498, -1.0718823671340942, 1.177810549736023, -0.35501858592033386, -0.3972729444503784, -0.26734793186187744, -0.4103553891181946, 0.316879540681839, -0.27346622943878174, 0.11899919807910919, -0.01972269080579281, 0.13535378873348236, 0.5475158095359802, -0.4136219322681427, 0.5332996249198914, -0.2263503521680832, -0.019165340811014175, 0.43320101499557495, 0.1838761568069458, 0.20857952535152435, 0.09279076755046844, -0.36968788504600525, -0.007430496159940958, 0.13703764975070953, -0.6557230949401855, -0.7122417092323303, 0.6135022044181824, -0.5155186057090759, -0.14813706278800964, -0.24976429343223572, -0.17561441659927368, -0.15331417322158813, 0.24200814962387085, 0.30909794569015503, 0.886225163936615, 0.14582030475139618, 0.23151522874832153, 0.6733795404434204, -0.19926446676254272, 0.49734851717948914, 0.5666535496711731, -0.28296011686325073, -0.5360774993896484, 0.8849414587020874, -0.05248614773154259, 0.6002665758132935, 0.0018386259907856584, 0.1917792707681656, -0.519546627998352, -0.609818696975708, -0.6561581492424011, -0.03450527414679527, -0.9046962261199951, -0.322272390127182, -0.6253235936164856, 0.09254033118486404, -0.4575059413909912, -0.5571173429489136, -0.6661273241043091, -0.45368197560310364, -0.21747303009033203, 0.015603777952492237, 0.30252161622047424, 0.4163290560245514, -0.3559056520462036, 0.2106679379940033, -0.7271496653556824, 0.336404025554657, 0.027498779818415642, 0.7131965756416321, -0.37829065322875977, -0.19684909284114838, -0.5975815057754517, -0.09891759604215622, -0.13562314212322235, -0.6573143601417542, 0.30745771527290344, 0.30776527523994446, 0.5169745683670044, 0.2780844569206238, 0.35019364953041077, 0.5350976586341858, -0.22093795239925385, 0.7046809792518616, 0.24590934813022614, -1.089686632156372, 0.8068757057189941, -0.24182727932929993, 0.2895791828632355, 0.8923720121383667, 0.3702719509601593, 0.03940337896347046, -0.029777437448501587, -0.6686801910400391, -0.5064100623130798, 0.5529540777206421, 0.2376425862312317, -0.017794938758015633, -0.1493423730134964, 0.5648248791694641, 0.25438666343688965, 0.2986311614513397, -0.6634092926979065, -0.34077492356300354, -0.12137890607118607, -0.3447488248348236, 0.057616401463747025, -0.212942436337471, 0.3201296329498291, -0.26265254616737366, 0.7059584856033325, -0.7315946221351624, 0.39905881881713867, 0.18099085986614227, -0.14836391806602478, -0.13926486670970917, 0.15078601241111755, 0.3759134113788605, 0.9190666675567627, -0.28558436036109924, -0.18552438914775848, -0.1775279939174652, -0.38114607334136963, 0.1767890900373459, -0.47618794441223145, -0.17521515488624573, -0.08674224466085434, 0.1490856409072876, 0.36975666880607605, 0.0951077863574028, -0.7646183967590332, 0.609329879283905, -0.04936672002077103, -0.04078347980976105, -0.2618701159954071, 0.584235429763794, -0.20065517723560333, -0.045502919703722, -0.02956514246761799, 0.48780348896980286, 0.5763671398162842, -0.3510296940803528, 0.650697648525238, 0.19440589845180511, -0.14778795838356018, -0.03819996118545532, 0.7170460224151611, 0.3120104968547821, -0.06713590770959854, 0.20850948989391327, -0.34167972207069397, -0.5655809044837952, 0.8150741457939148, 0.42612725496292114, 0.8933350443840027, -0.10862045735120773, 0.20781774818897247, 0.390616238117218, -0.19961358606815338, -0.04767487943172455, 0.6511386036872864, -0.34582027792930603, -0.6455285549163818, -0.6714006066322327, -0.8356423377990723, -0.43883293867111206, -0.11188877373933792, -0.8837475180625916, 0.3117258846759796, -0.4052552282810211, -0.32690125703811646, -0.15984782576560974, 0.01659032143652439, -0.5365188121795654, 0.48664987087249756, -0.13752734661102295, 1.0185060501098633, -0.5464140772819519, 1.121627926826477, 0.5877425670623779, -0.380105584859848, -0.944302499294281, -0.08549003303050995, -0.33932846784591675, -0.6805304288864136, 0.6092413663864136, 0.2305154800415039, -0.5439141988754272, 0.10238838940858841, -0.6958988904953003, -0.8203126192092896, 0.38150355219841003, 0.7097939252853394, -0.5182009339332581, 0.2613675892353058, -0.03719593584537506, 0.35228225588798523, -0.4886067807674408, 0.10107865929603577, 0.7703434824943542, 0.1784876435995102, -0.14945223927497864, -0.8056519627571106, -0.40078455209732056, -0.3035604655742645, -0.15440374612808228, 0.4342372715473175, -0.5245558619499207, 0.38525351881980896, -0.3966634273529053, 0.05839947983622551, -0.30287787318229675, 0.27527251839637756, -0.08521788567304611, 0.3154151737689972, 0.36496710777282715, 0.5321853756904602, 0.3688359260559082, 0.13240383565425873, 1.0736923217773438, -0.790928304195404, 0.7730752825737, 0.7999445199966431, -0.07638221234083176, 0.6851546764373779, 0.32094478607177734, -0.20475751161575317, 0.4090244770050049, 0.6547072529792786, 0.27916428446769714, 0.7070869207382202, 0.0387057401239872, 0.06211963668465614, -0.48879000544548035, 0.34451979398727417, -0.45434510707855225, 0.4984988868236542, 0.0894707664847374, -0.26440393924713135, -0.07989374548196793, -0.20117682218551636, 0.050610825419425964, 0.2255968153476715, -0.1600848138332367, 0.4874897599220276, 0.06001805514097214, -0.6950709223747253, 1.023245930671692, -0.2631647288799286, 0.7106994390487671, -0.6346205472946167, 0.01882888749241829, -0.3471601903438568, 0.44176921248435974, -0.44724565744400024, -0.6762847304344177, 0.5912254452705383, -0.047992102801799774, -0.3812752962112427, -0.32621026039123535, 0.6716442108154297, -0.24521270394325256, -0.2572091519832611, 0.4848444163799286, 0.42720407247543335, 0.0689689889550209, 0.04022076725959778, -0.9497542977333069, -0.08424496650695801, 0.28859084844589233, -0.21237003803253174, 0.14382554590702057, 0.04992226883769035, 0.27259328961372375, 0.8662768006324768, 0.7593284249305725, 0.10293228924274445, 0.09097340703010559, -0.07679358869791031, 0.8932256698608398, -0.542350172996521, -0.8345577716827393, -0.6773144006729126, 0.4042665958404541, -0.23791787028312683, -0.37565040588378906, 0.6046554446220398, 0.9223899841308594, 1.0556614398956299, -0.45029783248901367, 0.8300189971923828, -0.15445084869861603, 0.40830227732658386, -0.7935693860054016, 0.7505246996879578, -0.7028313875198364, 0.07999073714017868, -0.3332664370536804, -0.8749406933784485, -0.3032820224761963, 0.6611641049385071, -0.4737933874130249, 0.08438684791326523, 0.49106836318969727, 0.9554704427719116, -0.34935927391052246, -0.11030472069978714, 0.4805352985858917, -0.5273088216781616, 0.3587169647216797, 0.703299343585968, 0.5800825953483582, -0.21417632699012756, 0.24031686782836914, -0.5039677023887634, -0.292864590883255, -0.45344942808151245, -1.0525166988372803, -0.8259558081626892, -0.34341323375701904, -0.4761522710323334, -0.3156197965145111, 0.3225252628326416, 1.3301666975021362, 1.0659795999526978, -1.0350295305252075, -0.2981909513473511, -0.13076671957969666, -0.1668957620859146, -0.013277565129101276, -0.24588215351104736, 0.22036297619342804, -1.0225189924240112, -0.22286708652973175, 0.4546146094799042, 0.2729435861110687, -0.1668444722890854, -0.09684628993272781, -0.42267727851867676, 0.3490278124809265, 0.2682267129421234, 0.6308748126029968, 0.32068803906440735, -0.0915585458278656, -0.3340561091899872, -0.025876875966787338, -0.19796030223369598, 0.493308961391449, 1.228545069694519, -0.8121680617332458, 0.5826948881149292, 0.3733215928077698, 0.6751099228858948, 0.24739865958690643, 0.0478481724858284, 0.6195183396339417, -0.5543379783630371, 0.13938963413238525, 0.3712490499019623, 0.2988278865814209, 0.1825752705335617, -0.6314845681190491, 0.7983034253120422, 0.3259503245353699, -0.675855278968811, -0.6328164935112, 0.4661124646663666, -0.7449998259544373, -0.2517358362674713, 1.0842324495315552, -0.2571042478084564, -0.2655598819255829, -0.12837958335876465, -0.1682465374469757, -0.13423864543437958, -0.6216212511062622, 0.7183911204338074, 0.20970578491687775, -0.5865046381950378, 0.08979306370019913, -0.5779812335968018, 0.8980690240859985, 0.6013628840446472, -0.7781533598899841, 0.06073075905442238, 0.8017717599868774, 0.585412859916687, -0.08068609982728958, 0.7412344217300415, -0.03671012446284294, 0.4553047716617584, -0.12260320037603378, 0.1839524805545807, -0.12316591292619705, -0.37555423378944397, -0.3269485533237457, 0.34558969736099243, 0.2115505188703537, -0.3141729533672333 ]
http://arxiv.org/abs/2406.12494v1
http://arxiv.org/pdf/2406.12494v1
LightPAL: Lightweight Passage Retrieval for Open Domain Multi-Document Summarization
2024-06-18T10:57:27
2024-06-18T10:57:27
Masafumi Enomoto, Kunihiro Takeoka, Kosuke Akimoto, Kiril Gashteovski, Masafumi Oyamada
cs.CL
cs.CL
Open-Domain Multi-Document Summarization (ODMDS) is crucial for addressing diverse information needs, which aims to generate a summary as answer to user's query, synthesizing relevant content from multiple documents in a large collection. Existing approaches that first find relevant passages and then generate a summary using a language model are inadequate for ODMDS. This is because open-ended queries often require additional context for the retrieved passages to cover the topic comprehensively, making it challenging to retrieve all relevant passages initially. While iterative retrieval methods have been explored for multi-hop question answering (MQA), they are impractical for ODMDS due to high latency from repeated large language model (LLM) inference for reasoning. To address this issue, we propose LightPAL, a lightweight passage retrieval method for ODMDS that constructs a graph representing passage relationships using an LLM during indexing and employs random walk instead of iterative reasoning and retrieval at inference time. Experiments on ODMDS benchmarks show that LightPAL outperforms baseline retrievers in summary quality while being significantly more efficient than an iterative MQA approach.
[ -0.12977859377861023, -0.97883141040802, 0.6821935772895813, -0.06070009246468544, -0.5633065700531006, 0.18715612590312958, -0.025654330849647522, -0.4592292010784149, 0.268350750207901, 0.49976345896720886, -0.17632260918617249, -0.4253525137901306, -0.3377077579498291, -0.0007387395016849041, -0.2420387715101242, 0.9343773126602173, -0.12035427987575531, 0.030951740220189095, 0.07146774977445602, -0.26388901472091675, 0.26802778244018555, 0.19122327864170074, -0.52936190366745, -0.28282099962234497, 0.5540144443511963, 0.41079479455947876, 0.7762660980224609, 0.07647441327571869, 0.44631174206733704, 0.17937099933624268, -0.31059783697128296, 0.17661336064338684, -0.5069981813430786, 0.16580110788345337, 0.02602900192141533, -0.19305817782878876, -0.6305015087127686, 0.01162785291671753, 0.7466188669204712, 1.253766417503357, -0.256098210811615, 0.19668816030025482, -0.1254466474056244, 0.579259991645813, -0.8057048916816711, 0.05010703578591347, -0.34395214915275574, 0.23226448893547058, -0.33225417137145996, -0.4126117527484894, -0.41415438055992126, -0.3181375563144684, 0.2684454917907715, -0.602739155292511, 0.25418171286582947, 0.3246666491031647, 0.19891037046909332, -0.22697146236896515, -0.6549997925758362, -0.17112207412719727, -0.5284743905067444, 0.5026124715805054, -0.7528116106987, 0.42684030532836914, -0.006116180680692196, 0.5539240837097168, 0.09353656321763992, -0.9180256724357605, -0.5773534774780273, -0.09294788539409637, -0.20924928784370422, 0.21514439582824707, 0.21695901453495026, 0.0027447915636003017, 0.15678644180297852, 0.45020440220832825, -0.6445775032043457, -0.3669777810573578, -0.49605458974838257, -0.019982948899269104, 0.3261108994483948, 0.2973516285419464, -0.07972580939531326, -0.33708634972572327, -0.77205890417099, 0.026330390945076942, -0.7937270402908325, 0.2518312633037567, 0.20745337009429932, 0.3455422520637512, 0.08145420253276825, 0.7110683917999268, -0.38702982664108276, 0.9174967408180237, -0.4027879238128662, -0.6199203133583069, 0.1953802853822708, -0.7196667790412903, 0.013527609407901764, 0.053721241652965546, 0.9048846364021301, 0.4339664578437805, -0.1767749935388565, -0.2738030254840851, -0.3161976635456085, -0.6912893056869507, -0.007455387152731419, -0.9113858342170715, 0.05272207036614418, 0.1714976280927658, -0.8867926001548767, 0.04323292896151543, 0.13436849415302277, -1.0511597394943237, -0.36049413681030273, 0.14610834419727325, 0.3089229166507721, -0.6090744733810425, -0.18450793623924255, 0.10160117596387863, -0.4936279058456421, 0.2807893753051758, 0.9520465135574341, -0.7331727147102356, 0.5408159494400024, 0.48962873220443726, 1.2065576314926147, -0.2084675133228302, -0.5078593492507935, -0.916003942489624, 0.3572024703025818, -0.30370625853538513, 0.5963628888130188, -0.48991677165031433, -0.5095096826553345, -0.2587842345237732, -0.31232932209968567, -0.18460296094417572, -0.22837980091571808, 0.4388355016708374, -0.6850389242172241, 0.18511569499969482, 0.05518816411495209, -0.5657569169998169, 0.0708678737282753, 0.21097028255462646, -0.5823109149932861, 0.7591261863708496, 0.3844200670719147, -0.9089395403862, 0.3171277344226837, -0.33309242129325867, -0.5174157619476318, 0.20704321563243866, -0.37246009707450867, -0.14106236398220062, -0.012025333940982819, 0.1594085693359375, 0.4550299346446991, -0.4458603262901306, 0.06583032757043839, -0.2330775260925293, -0.49160486459732056, -0.2330918312072754, -0.26167032122612, 0.746279239654541, 0.30209439992904663, -0.18410846590995789, 0.07484783977270126, -0.6799132227897644, -0.18227021396160126, 0.29008278250694275, -0.45760953426361084, -0.5503409504890442, 0.05391598865389824, 0.13025927543640137, 0.15465709567070007, 0.08232706040143967, -0.6156333684921265, 0.302701473236084, -0.17884944379329681, 0.12909159064292908, 0.6257973313331604, 0.10658343881368637, 0.5302220582962036, -0.17659524083137512, 0.6717306971549988, -0.03224226459860802, 0.1479591578245163, -0.5735310912132263, -0.9327473044395447, 0.034223806113004684, -0.13335277140140533, 0.016112539917230606, 0.2337215542793274, -1.0743275880813599, 0.006093214266002178, -0.3576914072036743, -0.5798437595367432, -0.6552994251251221, 0.21889406442642212, 0.3849506378173828, 1.072304368019104, 0.48768654465675354, -0.39156773686408997, 0.32368263602256775, -0.3533078730106354, -0.16313672065734863, -0.06088801100850105, 0.00560127105563879, 0.6388117074966431, 0.560491144657135, 0.06833062320947647, 0.7774167060852051, -0.8950097560882568, -0.45815902948379517, -0.3557371199131012, 0.10968860983848572, 0.3338284194469452, 0.2445489913225174, 0.7003318071365356, -1.0073119401931763, -0.4336547255516052, -0.221038356423378, -0.5414032340049744, 0.14339801669120789, -0.14431995153427124, -0.1926669329404831, -0.0918421596288681, 0.5638404488563538, -0.8325979709625244, 0.4863964915275574, 0.036102112382650375, -0.7867099642753601, 0.5168853998184204, -0.3665342926979065, 0.44647088646888733, -0.8195465803146362, 0.5312126278877258, -0.5521440505981445, -0.34283697605133057, -0.32467368245124817, 0.239867702126503, 0.2994377315044403, -0.313740611076355, -0.49752098321914673, 0.8323153853416443, -0.5743870735168457, -0.4687589108943939, 0.09541089832782745, 0.9157224893569946, 0.17602138221263885, 0.26569294929504395, 0.0740111693739891, 0.7877241373062134, 0.5249036550521851, -0.6625196933746338, 0.39041388034820557, 0.4358123540878296, -0.26088106632232666, 0.6109269261360168, -0.48570993542671204, -0.24718531966209412, -0.20078055560588837, 0.5048842430114746, -1.1090174913406372, 0.06089667230844498, 0.23050935566425323, -0.2445971518754959, 0.1156894862651825, -0.10429448634386063, -0.447127103805542, -0.18075791001319885, -0.8270330429077148, 0.651056170463562, 0.19572217762470245, -0.7302921414375305, 0.5810037851333618, 0.07187391072511673, -0.27193483710289, -0.702752411365509, -0.26987072825431824, 0.11293081939220428, 0.28593626618385315, -0.799774169921875, 0.35513052344322205, -0.1550585925579071, -0.2163621187210083, 0.0870387926697731, -0.35649028420448303, 0.23480844497680664, 0.14086134731769562, -0.39190998673439026, 0.0839877724647522, -0.36621981859207153, 0.014974716119468212, -0.06517387181520462, -0.20263683795928955, -0.2712220549583435, -0.22017794847488403, 0.4467012882232666, 0.07633735984563828, -0.41224566102027893, 0.335171103477478, 0.6539565324783325, 0.40330633521080017, -0.4048108160495758, 0.8524399995803833, 0.6500195860862732, -0.03153612092137337, -0.4570867717266083, -0.012847368605434895, -0.09816969931125641, -0.36552441120147705, -0.1535838395357132, -0.5044639110565186, -0.7939151525497437, 0.40708014369010925, -0.11959797143936157, 0.08455123752355576, 0.3422084152698517, 0.11619457602500916, 0.029329398646950722, 0.8287082314491272, 0.5469872951507568, 0.05043795704841614, 0.49287813901901245, -0.135613813996315, 0.10092514753341675, -1.074279546737671, -0.4117523729801178, -0.564590573310852, -0.15092821419239044, -0.17082053422927856, -0.5861545205116272, 0.6747128963470459, 0.37513381242752075, 0.1635478287935257, -0.05149030312895775, -0.07382294535636902, 0.26527124643325806, 0.5745253562927246, -0.005486844107508659, 0.907213568687439, -0.2666361927986145, -0.40934693813323975, 0.33497369289398193, -0.5645481944084167, -0.37968069314956665, 1.1038098335266113, -0.2585512697696686, 1.2135905027389526, 0.6992784142494202, 0.6688334941864014, -0.014816820621490479, 0.09303367882966995, -0.622660756111145, 0.7011517286300659, 0.15040116012096405, -0.34988582134246826, -0.4075763523578644, -0.8935340642929077, -0.997135579586029, 0.7863251566886902, -0.04102986678481102, -0.9105566143989563, -0.031716808676719666, -0.0680832713842392, -0.25532785058021545, 0.4643493592739105, -0.5676454901695251, 0.8728458881378174, -0.0639825090765953, -0.25535574555397034, -0.22570185363292694, -1.0044729709625244, 0.6996747851371765, -0.007214605342596769, 0.16072522103786469, -0.02591007947921753, -0.5881624817848206, 0.603721022605896, -0.8495094776153564, 0.3255414366722107, -0.21781037747859955, -0.2922094762325287, 0.15565387904644012, -0.043938715010881424, 0.40103888511657715, 0.35794487595558167, -0.12350436300039291, -0.35091909766197205, -0.18686111271381378, -0.5436780452728271, -0.6652305722236633, 0.5067943930625916, -0.4443724751472473, -0.368161678314209, -0.43380701541900635, -0.057709187269210815, -0.20553933084011078, 0.6137294769287109, 0.20973123610019684, 0.5246305465698242, -0.22482426464557648, 0.12980623543262482, 0.6860817670822144, -0.20351633429527283, 0.7257761359214783, 0.7574209570884705, -0.5278471112251282, -0.46049290895462036, 0.5244041085243225, -0.0006929222727194428, 0.5142463445663452, 0.532185971736908, 0.3112277686595917, -0.2384846955537796, -0.6419118046760559, -0.8434869050979614, 0.2906842529773712, -0.8903669714927673, -0.21614278852939606, -0.7194948196411133, 0.14195598661899567, -0.5620079040527344, -0.2390977144241333, -0.2308676540851593, -0.7265617251396179, 0.03258876875042915, -0.004718003328889608, 0.3151266276836395, 0.579060971736908, 0.2933878004550934, 0.10733487457036972, -0.8585484027862549, 1.0069150924682617, 0.21065615117549896, 0.694695234298706, 0.14746108651161194, -0.32915714383125305, -0.09859403222799301, -0.44936925172805786, -0.12170348316431046, -0.9933856725692749, 0.04396266117691994, 0.4324706792831421, 0.6645499467849731, 0.6261335611343384, 0.3820110559463501, 0.4759504199028015, -0.6609830260276794, 0.874089777469635, 0.34122660756111145, -0.7455145120620728, 0.7280486822128296, -0.24384154379367828, 0.33751180768013, 0.48451557755470276, 0.48885244131088257, -0.5662697553634644, -0.33447733521461487, -0.6538670659065247, -1.226182460784912, 0.9034428596496582, 0.30362558364868164, -0.31207001209259033, 0.16335290670394897, 0.341257780790329, 0.267866313457489, 0.5756334066390991, -0.4338263273239136, -0.5219491720199585, -0.09754151105880737, 0.07870566844940186, -0.37993812561035156, 0.06806296110153198, -0.11588525027036667, -0.005163304042071104, 0.5861458778381348, -0.5610064268112183, 0.2276190221309662, 0.4314384162425995, -0.21196451783180237, -0.29027482867240906, 0.22957228124141693, 0.4940272271633148, 0.8529052734375, -0.6308956742286682, 0.3962610960006714, -0.27634894847869873, -0.6525408029556274, -0.07134269922971725, 0.41030439734458923, -0.4410531222820282, 0.24720337986946106, 0.6831907033920288, 0.4419246315956116, 0.19005087018013, -0.9580516219139099, 0.9684525728225708, -0.2321663349866867, 0.13432547450065613, 0.134909525513649, 0.06909837573766708, 0.06581161916255951, 0.29648831486701965, 0.6363916993141174, 0.20581449568271637, 0.4460330009460449, -0.7336220145225525, 0.2021951824426651, 0.4085061252117157, -0.2130875140428543, 0.011132070794701576, 0.9601942300796509, 0.1552542895078659, -0.12187932431697845, 0.46169787645339966, -0.2501629889011383, -0.04929686337709427, 0.3727044463157654, 0.32071155309677124, 0.6374564170837402, 0.006943285930901766, 0.19948214292526245, 0.06687824428081512, 0.2571936547756195, 0.011351888068020344, 0.6322565078735352, -0.5990085601806641, -0.3358411192893982, -0.3103882670402527, -0.49982213973999023, -0.6860018968582153, -0.46840333938598633, -0.40045565366744995, 0.10149700939655304, -0.42437583208084106, 0.21820782124996185, -0.05738914757966995, -0.11120915412902832, -0.2481255978345871, 0.10615112632513046, -0.08551430702209473, 1.1557559967041016, -0.3990115821361542, 0.5263036489486694, 0.4475533068180084, -0.7114195823669434, -0.5815824866294861, 0.06908134371042252, 0.014064020477235317, -0.5074567198753357, 0.2029053419828415, -0.05598337948322296, -0.4578739404678345, -0.018287790939211845, -0.3135072588920593, -0.5480373501777649, 1.4816670417785645, 0.366146057844162, -0.0859113484621048, 0.06031928211450577, -0.20644769072532654, 0.35466909408569336, -0.23134931921958923, 0.7796216607093811, 0.22421281039714813, 0.1914331465959549, 0.31944069266319275, -0.8497032523155212, 0.23704008758068085, -0.22997434437274933, -0.362779825925827, 0.3599856495857239, -1.0067435503005981, 1.1578103303909302, -0.5666760802268982, 0.0977543368935585, 0.03118695691227913, 0.31897199153900146, 0.2509027421474457, 0.4317411184310913, 0.3307623565196991, 0.38625845313072205, 1.0198760032653809, 0.17497804760932922, 1.2219194173812866, -0.07123558968305588, 0.2556612491607666, 1.1362783908843994, -0.2916923761367798, 1.0155147314071655, 0.4569559395313263, -0.09197887033224106, 0.08286450803279877, 0.44918403029441833, 0.4810126721858978, 0.7150437831878662, -0.13124722242355347, -0.39859503507614136, -0.004766664933413267, 0.10725095123052597, -0.6009179353713989, 0.1090489998459816, 0.08963624387979507, -0.3599872589111328, -0.6246860027313232, -0.170248344540596, -0.06323463469743729, -0.2240578532218933, -0.4183375835418701, 0.7473779916763306, 0.324687123298645, -0.60480797290802, 0.34547486901283264, 0.15722672641277313, 0.4654198884963989, -0.7322447896003723, -0.09548385441303253, -0.526297926902771, 0.13277336955070496, -0.12254413962364197, -0.7978507876396179, -0.11353352665901184, -0.1311819702386856, 0.0823773592710495, -0.5550515055656433, 0.671153724193573, -0.5162409543991089, -0.21884845197200775, 0.5135876536369324, 1.0013463497161865, 0.09949811547994614, 0.09966079145669937, -0.5410552620887756, -0.5331042408943176, -0.2360210120677948, -0.661777138710022, 0.3595426082611084, 0.785314679145813, 0.028682537376880646, 0.7685384154319763, 0.34885767102241516, 0.19092053174972534, 0.1062161847949028, 0.317221462726593, 0.996577799320221, -0.8590068221092224, -0.6650543808937073, -0.6582329273223877, 0.2909240424633026, -0.15903499722480774, -0.5360178351402283, 0.8803877830505371, 0.8388772010803223, 0.6303625106811523, 0.01749270409345627, 0.535251796245575, -0.09469815343618393, 0.5880887508392334, -0.8453267216682434, 0.6820977330207825, -0.8066505789756775, 0.4588824510574341, -0.7522159218788147, -1.043404459953308, -0.12769204378128052, 0.5305712819099426, 0.21374687552452087, 0.06612208485603333, 0.8997666239738464, 0.3869175910949707, -0.45392170548439026, 0.02938375063240528, 0.18351224064826965, -0.02535761520266533, 0.3891429007053375, 0.47790098190307617, 0.6907602548599243, -0.4093852639198303, 0.8577988743782043, -0.019725525751709938, -0.1797001212835312, -0.3597468435764313, -0.8203557133674622, -0.7166204452514648, -0.34187525510787964, -0.24402958154678345, -0.18524272739887238, -0.298936665058136, 0.721451461315155, 0.4390243589878082, -0.4861920475959778, -0.16802763938903809, 0.11888916790485382, 0.6288673281669617, -0.30236613750457764, -0.21066613495349884, 0.5233653783798218, -0.5026248693466187, -0.4613354206085205, 0.587672770023346, 0.44386446475982666, -0.08404700458049774, -0.22441928088665009, -0.2198691964149475, -0.417654812335968, -0.15137265622615814, 0.4975585639476776, -0.007468835450708866, -0.34446272253990173, 0.006010540761053562, -0.16141049563884735, -0.15784217417240143, 0.143916055560112, 1.034680962562561, -0.9167543649673462, 0.6099273562431335, 0.7025371193885803, 0.4465075433254242, 0.8253225684165955, 0.0281173437833786, 0.4584972560405731, -0.8527953624725342, 0.0733887106180191, 0.3652149736881256, 0.5432701706886292, 0.12992574274539948, -0.06326364725828171, 0.728951632976532, 0.5582996010780334, -0.15781909227371216, -0.5058580636978149, 0.10700640082359314, -0.9751995801925659, -0.5860486626625061, 0.8298172354698181, -0.27251139283180237, -0.3069804906845093, -0.24490207433700562, -0.344698041677475, -0.14661313593387604, -0.7343481779098511, 0.2797585725784302, 0.2592816948890686, -0.42198771238327026, -0.3761232793331146, -0.6013861894607544, 0.5547270774841309, 0.06312069296836853, -0.8069043159484863, 0.057761985808610916, 0.718854546546936, -0.04407212510704994, 0.3509702682495117, 1.3937944173812866, 0.054975125938653946, 0.33595654368400574, 0.28091564774513245, -0.34471312165260315, 0.12028467655181885, -0.2591416537761688, -0.07564255595207214, 0.7059476971626282, 0.039480194449424744, 0.14525707066059113 ]
http://arxiv.org/abs/2406.12480v1
http://arxiv.org/pdf/2406.12480v1
The Power of LLM-Generated Synthetic Data for Stance Detection in Online Political Discussions
2024-06-18T10:36:21
2024-06-18T10:36:21
Stefan Sylvius Wagner, Maike Behrendt, Marc Ziegele, Stefan Harmeling
cs.CL
cs.CL, cs.LG
Stance detection holds great potential for enhancing the quality of online political discussions, as it has shown to be useful for summarizing discussions, detecting misinformation, and evaluating opinion distributions. Usually, transformer-based models are used directly for stance detection, which require large amounts of data. However, the broad range of debate questions in online political discussion creates a variety of possible scenarios that the model is faced with and thus makes data acquisition for model training difficult. In this work, we show how to leverage LLM-generated synthetic data to train and improve stance detection agents for online political discussions:(i) We generate synthetic data for specific debate questions by prompting a Mistral-7B model and show that fine-tuning with the generated synthetic data can substantially improve the performance of stance detection. (ii) We examine the impact of combining synthetic data with the most informative samples from an unlabelled dataset. First, we use the synthetic data to select the most informative samples, second, we combine both these samples and the synthetic data for fine-tuning. This approach reduces labelling effort and consistently surpasses the performance of the baseline model that is trained with fully labeled data. Overall, we show in comprehensive experiments that LLM-generated data greatly improves stance detection performance for online political discussions.
[ -0.9177442193031311, -0.7644956111907959, 0.6883178949356079, -0.10520365834236145, -0.5909369587898254, 0.13829271495342255, -0.21561342477798462, -0.359821081161499, 0.5053718686103821, 0.46099185943603516, -0.4214709401130676, -0.5634941458702087, -0.6488107442855835, 0.1578630954027176, -0.4096119701862335, 1.0460708141326904, 0.36806944012641907, 0.27558428049087524, -0.06320197135210037, -0.23481623828411102, -0.14916576445102692, -0.49318790435791016, -0.4950883388519287, -0.5625844597816467, 0.3636558949947357, 0.2963920831680298, 0.6110156178474426, 0.7485060691833496, 0.21012786030769348, 0.35049736499786377, -0.1682584434747696, 0.4545741677284241, -0.700875997543335, 0.2185869663953781, -0.2037065029144287, -0.7167429327964783, -0.5321115851402283, 0.11280348896980286, 0.6421982645988464, 0.23310911655426025, -0.1421053409576416, -0.1266801804304123, -0.16848663985729218, 0.61210697889328, -0.35803595185279846, 0.03281053528189659, -1.099596381187439, 0.06876132637262344, -0.2208043783903122, -0.3226737678050995, -0.3784777522087097, -0.48320427536964417, -0.27029961347579956, -0.5912174582481384, 0.47608181834220886, -0.14381329715251923, 0.7441771626472473, 0.1016247496008873, -0.5149510502815247, -0.23394452035427094, -0.9034019708633423, 0.4609605371952057, -0.7612451910972595, 0.3423222005367279, 0.10432244837284088, 0.3142946660518646, -0.34088289737701416, -0.6292715072631836, -1.0430599451065063, -0.008838692680001259, 0.07914727181196213, 0.2343246191740036, -0.3075001537799835, 0.12061301618814468, 0.25608259439468384, 0.2927018105983734, -0.21800415217876434, -0.0050239404663443565, -0.2999415993690491, -0.23696807026863098, 0.6590477824211121, 0.2550753951072693, -0.09970257431268692, -0.6092000007629395, -0.34893304109573364, -0.23000562191009521, -0.6475747227668762, -0.013492869213223457, 0.8522853851318359, 0.49759116768836975, 0.09635201841592789, 0.676754355430603, -0.35380828380584717, 0.5945888757705688, 0.7785077095031738, 0.012474930845201015, -0.08163318037986755, -0.26839497685432434, -0.04947294667363167, -0.09176882356405258, 0.818020224571228, 0.4802938997745514, -0.012725084088742733, 0.277913898229599, -0.2154112011194229, 0.2521781921386719, 0.31540006399154663, -0.8013386726379395, -0.3058696389198303, 0.3124161660671234, -0.4513229429721832, -0.45710840821266174, 0.549113929271698, -0.8110405802726746, -0.985650897026062, -0.8273176550865173, 0.11868714541196823, -0.10246901959180832, -0.3738086223602295, -0.07735351473093033, -0.34473514556884766, 0.5426692366600037, 0.6519038677215576, -0.43840286135673523, 0.05265216529369354, 0.9647253751754761, 0.7445302605628967, -0.44883057475090027, 0.3471931517124176, -0.4881107211112976, -0.1468905657529831, -0.5248520970344543, 1.1666827201843262, -0.5292913317680359, -0.32821300625801086, -0.06858084350824356, 0.02739705704152584, 0.2182990163564682, -0.9439390897750854, 0.2875896096229553, -0.5041751861572266, 0.094317227602005, -0.18663430213928223, -0.8260279297828674, 0.09431307762861252, 0.7756065130233765, -0.9015645384788513, 0.9193331003189087, -0.23730802536010742, -0.7701541185379028, 0.5047367811203003, -0.4944285452365875, -0.2248006910085678, -0.16460733115673065, -0.3395310044288635, -0.5471969246864319, 0.010631952434778214, 0.3247244656085968, 0.45292264223098755, 0.015606699511408806, 0.38496702909469604, -0.3790110945701599, -0.11661183089017868, 0.6378071308135986, -0.2935475707054138, 0.5525664687156677, -0.044052813202142715, -0.4192037284374237, 0.3218311667442322, -0.8129969239234924, -0.2427387535572052, -0.0512009896337986, -0.42901167273521423, -0.16075876355171204, 0.14833489060401917, -0.17203103005886078, 0.17819595336914062, -0.027937715873122215, -0.5690124034881592, 0.21627773344516754, -0.5817970037460327, 0.0326370894908905, 0.8554397821426392, 0.3091576099395752, 0.45907318592071533, -0.3684416115283966, 0.5002331137657166, 0.07428053766489029, 0.07308545708656311, 0.2212275266647339, -0.45343512296676636, -0.9730042219161987, -0.07378645986318588, 0.11672725528478622, 0.46754780411720276, -0.7102225422859192, 0.2859616279602051, -0.1956690102815628, -0.5393915772438049, -0.5223338007926941, 0.0964697077870369, -0.003644244046881795, 0.21073418855667114, 0.3238953649997711, 0.09365695714950562, -0.5878429412841797, -0.8149152398109436, -0.5665313601493835, -0.2237280309200287, -0.024720920249819756, 0.1885213553905487, 0.3482482433319092, -0.16165870428085327, 1.159116268157959, -0.3378060758113861, -0.02857709676027298, -0.5534063577651978, 0.24109256267547607, -0.011562679894268513, 0.08156750351190567, 0.32741475105285645, -0.8644538521766663, -0.454926073551178, -0.012024018913507462, -0.42633792757987976, -0.06757946312427521, -0.39991295337677, -0.3198827803134918, 0.17676514387130737, 0.3924002945423126, -0.8686389923095703, 0.31009918451309204, 0.28349581360816956, -0.11426754295825958, 0.2317124754190445, 0.1629367172718048, 0.24271439015865326, -1.4457646608352661, -0.2334064394235611, 0.1329445242881775, -0.5818513035774231, -0.8285778760910034, -0.15643365681171417, -0.11078068614006042, 0.03854252025485039, -0.7578725218772888, 0.40445393323898315, -0.08269257843494415, 0.25551119446754456, -0.572192907333374, 0.1742074340581894, -0.09711042046546936, 0.1487388163805008, 0.2036704570055008, 0.4835604131221771, 0.16159465909004211, -0.5209811329841614, 0.3363291025161743, 0.23589257895946503, -0.014221100136637688, 0.705903947353363, -0.46752801537513733, 0.5099140405654907, -0.1836685985326767, 0.5539835691452026, -1.093298077583313, -0.46831002831459045, 0.37895074486732483, -0.448618620634079, 0.3027907609939575, -0.4656106233596802, -0.3471972346305847, 0.0711558535695076, -0.6422954201698303, 0.03515414521098137, 0.18369728326797485, -0.7003233432769775, 0.7023194432258606, 0.7922427654266357, 0.2570309638977051, -0.42119601368904114, -0.2887997031211853, -0.08970426768064499, -0.4567989110946655, -0.3579304814338684, 0.4381490647792816, 0.31288930773735046, -0.560242772102356, -0.2796008884906769, -0.16644354164600372, 0.25200459361076355, -0.3812931478023529, 0.39731407165527344, 0.12318683415651321, -0.039015110582113266, 0.08634908497333527, 0.03861754760146141, -0.1901993453502655, 0.20423486828804016, -0.11649961769580841, 0.6437269449234009, -0.0036470608320087194, -0.37599024176597595, -0.6648412942886353, 0.10293325036764145, 0.6770636439323425, 0.25215262174606323, 0.7859217524528503, 0.6386243104934692, -0.2942958474159241, -0.622619092464447, -0.5306750535964966, -0.3800815939903259, -0.5263741612434387, 0.09305424988269806, 0.18385307490825653, -0.7266795039176941, 0.40664151310920715, -0.428631454706192, 0.11628259718418121, 0.41331177949905396, 0.7370745539665222, -0.36675888299942017, 1.102728247642517, 0.38325873017311096, -0.015851326286792755, 0.5083701610565186, -0.35853996872901917, 0.10346738249063492, -0.4149623513221741, -0.28804129362106323, -0.4123923182487488, -0.45577943325042725, -0.7303450107574463, -0.6473756432533264, 0.42106643319129944, -0.2829689085483551, -0.034088823944330215, 0.10396147519350052, -0.5140509009361267, 0.5164682865142822, 0.11254458129405975, 0.32944929599761963, 0.29833149909973145, 0.11462900042533875, 0.41229695081710815, -0.17964570224285126, -0.30476194620132446, -0.5100932717323303, 1.0590896606445312, 0.15344111621379852, 0.7387524843215942, -0.0822317972779274, 0.5786808729171753, 0.5282809734344482, 0.40334975719451904, -1.1062620878219604, 0.7415383458137512, 0.006225131917744875, -0.4612410068511963, 0.012952200137078762, -0.4192453622817993, -0.8272957801818848, 0.4296143054962158, -0.39202186465263367, -0.08041627705097198, 0.06976787745952606, 0.4346204102039337, -0.0653519406914711, 0.592828094959259, -0.16735978424549103, 0.5932326316833496, -0.1512349396944046, -0.15956617891788483, -0.4501938819885254, -0.47337427735328674, 0.19986991584300995, 0.0351388081908226, 0.08990159630775452, -0.14582251012325287, 0.14166171848773956, 0.7722954154014587, -0.3813396990299225, 1.1695556640625, -0.46995025873184204, -0.11288650333881378, 0.42157188057899475, 0.015864059329032898, 0.6080479621887207, 0.1741151511669159, -0.037247005850076675, 0.11201543360948563, -0.36829638481140137, 0.07032130658626556, -0.5913580656051636, 0.44370266795158386, -0.8481313586235046, -0.9333306550979614, -0.33126357197761536, -0.4795551002025604, -0.25639358162879944, -0.28069770336151123, 0.25379329919815063, 0.18073251843452454, -0.4507829248905182, 0.5051221251487732, 0.5953982472419739, 0.008984736166894436, 0.07888856530189514, 0.32916003465652466, -0.04148492217063904, -0.47260841727256775, 0.7587805986404419, 0.05968886986374855, 0.25355347990989685, 0.36059293150901794, 0.41907116770744324, -0.6477790474891663, -0.3607303500175476, -0.18763181567192078, 0.13628649711608887, -0.9126584529876709, -0.47775527834892273, -0.5476040840148926, -0.1619403213262558, -0.09376917779445648, -0.10936510562896729, -0.5042113661766052, -0.8424032330513, -0.31534117460250854, -0.37560340762138367, 0.5166885852813721, 0.9000636339187622, -0.026349646970629692, 0.5633092522621155, -0.3716781735420227, 0.5692362785339355, 0.21203823387622833, -0.02465316839516163, -0.4512329697608948, -0.5868498682975769, 0.20428499579429626, 0.17314550280570984, -0.7476887702941895, -1.2037445306777954, 0.3680069148540497, 0.16696177423000336, 0.49671483039855957, 0.6146409511566162, 0.2666587829589844, 0.6190053224563599, -0.06835604459047318, 0.7315541505813599, -0.17796459794044495, -0.7231860160827637, 0.8262790441513062, -0.5466190576553345, -0.13095691800117493, 0.2914567291736603, 0.42474791407585144, -0.016048287972807884, -0.762887179851532, -0.5725657939910889, -0.6844954490661621, 0.7729165554046631, 0.27000942826271057, 0.34947195649147034, 0.04820575192570686, 0.3862513303756714, 0.29186463356018066, 0.17582382261753082, -0.7424710392951965, -0.10877063125371933, -0.38773247599601746, 0.002282150322571397, 0.2565443813800812, 0.1760396659374237, -0.4032987058162689, -0.5734375715255737, 0.5856378674507141, -0.3924226760864258, 0.0788508802652359, 0.00383126363158226, -0.007888450287282467, -0.04996941238641739, 0.2558193504810333, 0.43668830394744873, 0.42009738087654114, 0.0889267846941948, 0.20252393186092377, 0.4020620286464691, -0.29381293058395386, 0.13140203058719635, -0.19355760514736176, -0.20628003776073456, 0.22685058414936066, 0.00544314319267869, 0.7599509954452515, -0.22720159590244293, -0.25485876202583313, 0.31805741786956787, 0.0008263065828941762, -0.1587308794260025, -0.39437243342399597, 0.2695770859718323, 0.40247422456741333, 0.37905043363571167, 0.12049117684364319, 0.09717752039432526, 0.03357793390750885, -0.6330372095108032, 0.33950528502464294, 0.7728431224822998, -0.0887221023440361, -0.3843414783477783, 0.5551128387451172, 0.10049822926521301, -0.3501655161380768, 0.31974247097969055, -0.015674449503421783, -0.7127747535705566, 0.8285626769065857, 0.6041222810745239, 0.44444116950035095, -0.1388760209083557, 0.5431651473045349, 0.40285831689834595, 0.05007766932249069, 0.07023605704307556, 0.24901317059993744, 0.013117830269038677, -0.9117205142974854, 0.06384169310331345, -0.46627968549728394, -0.6922615766525269, 0.4203369915485382, -0.4898012578487396, 0.4366186261177063, -0.7775048017501831, -0.6679853200912476, 0.059182047843933105, 0.052653178572654724, -0.4794589877128601, -0.061252787709236145, 0.14285902678966522, 0.4528866708278656, -0.9092321991920471, 0.5643677115440369, 0.6556777358055115, 0.03818686306476593, -0.51643967628479, 0.3150062561035156, 0.40644147992134094, -0.48551028966903687, 0.2295590192079544, 0.15209653973579407, -0.4334748089313507, -0.12109213322401047, -0.7503812909126282, -0.3778405487537384, 0.9769404530525208, 0.7733150124549866, -0.37800416350364685, 0.49853208661079407, 0.6094425916671753, 0.6615572571754456, -0.3924979269504547, 0.11959809064865112, 0.39953699707984924, 0.565507709980011, 0.198003351688385, -0.40046074986457825, 0.007532691117376089, -0.15932118892669678, -0.27876946330070496, 0.2286953330039978, -0.6668011546134949, 0.8546077609062195, 0.22661370038986206, -0.3179672360420227, -0.4424719512462616, 0.6555142402648926, 0.47173187136650085, 0.27952900528907776, 0.6162331700325012, 0.27780628204345703, 0.7736654281616211, -0.14277473092079163, 0.8998557925224304, -0.2782028913497925, 0.3235417306423187, 0.7259446382522583, -0.30178046226501465, 0.8833383917808533, 0.5171679854393005, 0.06224721297621727, 0.47647207975387573, 0.5932478904724121, -0.004692214075475931, -0.009328744374215603, 0.13705839216709137, -0.41386768221855164, -0.6378928422927856, -0.1734677106142044, -0.12501180171966553, 0.46417495608329773, 0.6174425482749939, -0.11224529147148132, -0.22826461493968964, -0.07778914272785187, 0.02022548019886017, 0.25495627522468567, -0.22168926894664764, 1.0342015027999878, 0.070701964199543, -0.6636933088302612, 0.494107186794281, 0.017515985295176506, 0.6321774125099182, -0.4028412997722626, -0.2316623330116272, -0.39351609349250793, 0.311398446559906, -0.37086787819862366, -1.0151679515838623, 0.3567925989627838, 0.16963477432727814, -0.039983123540878296, -0.2887316346168518, 0.9536721706390381, -0.35822951793670654, -0.31657689809799194, 0.19439032673835754, 0.664767861366272, 0.028194189071655273, -0.04703764244914055, -0.5668309330940247, 0.10554388165473938, -0.1413179636001587, -0.45313578844070435, 0.44327694177627563, 0.31183677911758423, -0.14003604650497437, 0.5066102147102356, 1.0421409606933594, 0.11035267263650894, -0.02035428397357464, 0.12966880202293396, 1.2499173879623413, -0.3738034665584564, -0.4332718253135681, -0.9047513008117676, 0.49077221751213074, -0.34763577580451965, -0.07166551053524017, 0.63132643699646, 0.5738099217414856, 0.9104165434837341, -0.043510738760232925, 0.8067921996116638, 0.00502588739618659, 0.3340710699558258, -0.4975357949733734, 0.8788596987724304, -0.3883993625640869, 0.14142316579818726, 0.22690322995185852, -0.7835255265235901, -0.2533666789531708, 0.8171902298927307, -0.12099307030439377, -0.11712080240249634, 0.3018125593662262, 1.1397595405578613, -0.5034952759742737, 0.052539557218551636, 0.08893411606550217, 0.1386317014694214, 0.585528552532196, 0.06543438881635666, 1.1299564838409424, -0.09540313482284546, 0.519314169883728, -0.30334192514419556, 0.22743208706378937, -0.09028968960046768, -0.7962343692779541, -1.2412387132644653, -0.4950944781303406, -0.33047762513160706, -0.4913662075996399, -0.22308512032032013, 1.2071921825408936, 0.7008535265922546, -1.0041909217834473, -0.22195130586624146, -0.17148542404174805, 0.06429745256900787, 0.2523359954357147, -0.27151599526405334, 0.17129553854465485, -0.05347789078950882, -0.7625858783721924, 0.6196069121360779, -0.07821469008922577, 0.04173547774553299, -0.20956356823444366, -0.1654532551765442, -0.08588284254074097, 0.4492914080619812, 0.4953010380268097, 0.2984592616558075, -0.9011147022247314, -0.36907485127449036, 0.0708310455083847, 0.01561527419835329, 0.472382515668869, 1.036781668663025, -0.746989905834198, 0.5197612047195435, 0.6644284129142761, 0.6040270328521729, 0.5506172776222229, 0.6370140314102173, 0.6099176406860352, -0.9332072734832764, 0.15739114582538605, 0.2173391729593277, 0.1936216652393341, 0.4977774918079376, -0.44002771377563477, 0.16834662854671478, 0.39630332589149475, -0.2793467044830322, -0.7276246547698975, 0.20050062239170074, -1.0386205911636353, -0.1613234430551529, 1.3143240213394165, 0.2507365942001343, 0.055477190762758255, -0.1349429488182068, -0.526785671710968, 0.5359348654747009, -0.4699869453907013, 0.885981023311615, 0.4896036386489868, -0.5139764547348022, -0.029204951599240303, -0.3881526589393616, 0.6632891893386841, 0.03604936599731445, -1.109890341758728, 0.08807503432035446, 0.5901733636856079, 0.31576818227767944, 0.0364808663725853, 0.5411301851272583, 0.0519806407392025, 0.010001696646213531, -0.1451421082019806, -0.36701303720474243, -0.00916325580328703, -0.4085592031478882, -0.3569576144218445, 0.33846551179885864, -0.30863428115844727, -0.04918639734387398 ]
http://arxiv.org/abs/2406.12474v1
http://arxiv.org/pdf/2406.12474v1
Exploring Intra and Inter-language Consistency in Embeddings with ICA
2024-06-18T10:24:50
2024-06-18T10:24:50
Rongzhi Li, Takeru Matsuda, Hitomi Yanaka
cs.CL
cs.CL, stat.ME
Word embeddings represent words as multidimensional real vectors, facilitating data analysis and processing, but are often challenging to interpret. Independent Component Analysis (ICA) creates clearer semantic axes by identifying independent key features. Previous research has shown ICA's potential to reveal universal semantic axes across languages. However, it lacked verification of the consistency of independent components within and across languages. We investigated the consistency of semantic axes in two ways: both within a single language and across multiple languages. We first probed into intra-language consistency, focusing on the reproducibility of axes by performing ICA multiple times and clustering the outcomes. Then, we statistically examined inter-language consistency by verifying those axes' correspondences using statistical tests. We newly applied statistical methods to establish a robust framework that ensures the reliability and universality of semantic axes.
[ -0.33341121673583984, -0.5559894442558289, 0.5477190613746643, 0.39732420444488525, -0.2576049566268921, -0.03328848257660866, -0.22117802500724792, -0.4925699830055237, 0.5636135339736938, 0.18103773891925812, -0.35168105363845825, -0.9197534918785095, -0.6789649128913879, 0.19771230220794678, -0.36112838983535767, 0.3904390037059784, -0.44214797019958496, 0.5048015117645264, -0.5059119462966919, -0.9940042495727539, -0.7859079837799072, -0.26750677824020386, -0.11566441506147385, -0.24995051324367523, 0.4076465368270874, 0.3826684057712555, 0.9296769499778748, 0.8586336374282837, 0.5859862565994263, 0.2823852598667145, 0.4232683777809143, 0.1746589094400406, -0.17568425834178925, 0.1342938393354416, -0.3449679911136627, -0.21792884171009064, -0.2997124493122101, -0.13980832695960999, 0.8009885549545288, 0.7515617609024048, 0.22242508828639984, -0.18896086513996124, 0.39123502373695374, 0.277584433555603, -0.7339485287666321, 0.6981311440467834, -0.7045907378196716, -0.13588975369930267, -0.2765817940235138, 0.05266985297203064, -0.17995929718017578, -0.39289119839668274, 0.025874121114611626, -0.6622695326805115, -0.14594535529613495, -0.21317046880722046, 0.9507550001144409, -0.0467224083840847, -0.6086220741271973, -0.4255618751049042, -0.6261199712753296, 0.682066023349762, -0.5153353810310364, 0.7910590171813965, 0.5149152278900146, -0.1350201964378357, -0.20731985569000244, -0.539228081703186, -0.7511809468269348, -0.23070204257965088, -0.27807414531707764, -0.030878815799951553, -0.329926460981369, -0.0865422859787941, -0.4104212820529938, -0.261919230222702, -0.43406030535697937, 0.39046281576156616, 0.16032657027244568, -0.3037225604057312, 0.470450758934021, -0.10857690125703812, 0.7868542075157166, 0.03754201531410217, -0.4932018518447876, -0.4553145468235016, -0.9417259097099304, -0.08173860609531403, 0.485243558883667, 0.5323768854141235, -0.1921299397945404, 0.8927925229072571, -0.0403086319565773, 0.07594295591115952, -0.23693537712097168, -0.2933503985404968, 0.3002672493457794, -0.5255406498908997, 0.27847084403038025, 0.20692244172096252, 0.786928117275238, 0.26122426986694336, 0.03206777945160866, -0.5272528529167175, 0.13512304425239563, 0.45197564363479614, 0.08259351551532745, -0.3236786425113678, 0.010100770741701126, 0.22721751034259796, -0.4165644645690918, 0.150331512093544, 0.2413899153470993, -0.45867180824279785, 0.07423984259366989, -0.6434130668640137, 0.6174180507659912, -0.7230239510536194, -0.31046831607818604, -0.07521770149469376, 0.10668117552995682, 0.3805030286312103, -0.12247510254383087, -0.7085672616958618, 0.17920808494091034, 1.2016983032226562, 0.49955612421035767, -0.21111837029457092, -0.913680374622345, -0.10170286148786545, 0.2087416797876358, -0.669169008731842, 1.119673490524292, -0.6513515114784241, 0.09280538558959961, 0.2394544631242752, 0.17987997829914093, -0.02033180557191372, -0.3869737982749939, 0.32232430577278137, -0.36402302980422974, -0.19857488572597504, -0.6542413830757141, -0.8986614346504211, -0.2477235198020935, 0.29356253147125244, -0.4073796272277832, 0.7557900547981262, -0.15726351737976074, -0.7610158920288086, 0.9501129984855652, -0.010679248720407486, -0.0789886862039566, -0.10473386198282242, -0.9050694108009338, -0.585518479347229, 0.1728258728981018, 0.11571472883224487, 0.3218518793582916, -0.1342487782239914, 0.21117983758449554, -0.6533120274543762, -0.1652672290802002, 0.21979700028896332, -0.32312431931495667, 0.6802834868431091, -0.25778454542160034, -0.25590780377388, -0.12623193860054016, -0.7639498114585876, 0.22128669917583466, -0.08475569635629654, 0.10886342823505402, -0.6787832975387573, 0.2976846396923065, -0.2693963944911957, 0.05153891071677208, 0.15696485340595245, -0.9724751710891724, 0.29902029037475586, 0.0781562402844429, -0.1979808360338211, 0.7638323903083801, -0.1477423459291458, 0.16188599169254303, 0.05810955911874771, 0.270410418510437, 0.46692997217178345, -0.25831249356269836, -0.004469659645110369, -0.6650676727294922, -0.4566187858581543, -0.41949662566185, 0.33313342928886414, 0.4082079231739044, -0.6303916573524475, 0.7174369692802429, -0.43078434467315674, -0.4471607208251953, -0.5998319983482361, 0.05965640768408775, 0.5076087713241577, 0.1272929310798645, 0.19257910549640656, -0.6326780319213867, -0.39972159266471863, -1.0734145641326904, -0.14387273788452148, -0.26882171630859375, 0.11825872212648392, -0.24905215203762054, 0.3700398802757263, -0.48513293266296387, 1.088310956954956, -0.2716423273086548, -0.45859453082084656, -0.14942872524261475, 0.26393774151802063, -0.2055041342973709, 0.6965449452400208, 0.7437882423400879, -0.3415272831916809, -0.6716343760490417, 0.237892746925354, -1.0135189294815063, 0.004984206985682249, -0.01312785129994154, -0.37152737379074097, -0.06937064230442047, 0.5114752054214478, -0.3809412717819214, 0.929902970790863, 0.6991716027259827, -0.46821731328964233, 0.17069518566131592, -0.5310429930686951, 0.14681699872016907, -0.8037304282188416, -0.2063979059457779, -0.2145683765411377, 0.13523893058300018, -0.5767267346382141, -0.029417162761092186, 0.23369468748569489, 0.18801173567771912, -0.1299063265323639, 0.3204611539840698, -0.5360494256019592, -0.227414071559906, -0.27808240056037903, 0.3823421001434326, 0.021213291212916374, 0.47841677069664, -0.2449941337108612, 0.6044566631317139, 0.6896228790283203, -0.44702035188674927, -0.03075096383690834, 0.4142427146434784, -0.3878512978553772, 0.842498779296875, -0.5889931321144104, 0.1889844536781311, -0.4988992214202881, -0.05633070692420006, -1.264507532119751, 0.15368175506591797, 0.16371946036815643, -0.16913840174674988, 0.30884990096092224, 0.02720005437731743, -0.6350536942481995, 0.40506628155708313, -0.3304635286331177, 0.6160945296287537, -0.036035772413015366, -0.611977219581604, 0.7906829714775085, 0.6807079315185547, 0.10707949101924896, -0.609551727771759, -0.42285558581352234, -0.16761642694473267, 0.01534368097782135, -0.8470662832260132, 0.300220787525177, -0.032762620598077774, -0.5897566080093384, 0.31050384044647217, -0.029276520013809204, -0.16426266729831696, -0.03826262056827545, 0.2156227082014084, 0.07064014673233032, -0.26330387592315674, 0.24604550004005432, 0.12414154410362244, -0.41347765922546387, -0.26094529032707214, -0.18299712240695953, 0.42930370569229126, -0.050692591816186905, -1.1003749370574951, -0.8092553019523621, 0.6081428527832031, 0.3264933228492737, -0.19371125102043152, 0.7918931245803833, 0.5478903651237488, -0.48881450295448303, 0.03979118913412094, -0.28988322615623474, -0.08700858801603317, -0.37505629658699036, 0.2933177351951599, -0.6675254106521606, -0.47815895080566406, 0.8900967836380005, 0.26273274421691895, 0.14451734721660614, 0.6221436262130737, 0.3578026294708252, 0.1213902086019516, 1.181029200553894, 1.0235238075256348, -0.08040859550237656, 0.03767917677760124, -0.0334663949906826, 0.4487432837486267, -0.6269937753677368, -0.38772499561309814, -0.8672407865524292, -0.3120967745780945, -0.9173088073730469, -0.2967272698879242, 0.41538205742836, 0.1656871885061264, 0.17915168404579163, 0.2877108156681061, -0.1758936494588852, 0.5410513877868652, 0.4158037304878235, -0.3303108513355255, 0.3212953805923462, 0.005105090793222189, -0.4771658182144165, -0.2648410201072693, -0.4835236966609955, -0.49627599120140076, 0.8520246744155884, 0.22075659036636353, 0.8317881226539612, 0.037496741861104965, 0.5702469944953918, -0.02202816680073738, 0.23829852044582367, -0.6472032070159912, 0.3498935103416443, -0.4433004856109619, -0.18443326652050018, -0.10780590027570724, 0.040580783039331436, -1.231072187423706, 0.6575798392295837, -0.19119131565093994, -0.8040456771850586, 0.6720287799835205, -0.13672487437725067, 0.3415311574935913, 0.4144555628299713, -0.401297926902771, 0.7997688055038452, -0.0011384892277419567, 0.002961323596537113, -0.11858689785003662, -0.4088837802410126, -0.03855851665139198, 0.019546041265130043, 0.19611698389053345, -0.5494834780693054, 0.017907481640577316, 0.48080676794052124, -0.4726737439632416, 0.7721608877182007, 0.24322739243507385, -0.35904765129089355, 0.39124009013175964, 0.06852853298187256, 0.46584352850914, 0.09426279366016388, 0.1772734373807907, 0.6200246214866638, 0.1880035251379013, -0.4863969087600708, -0.5579982399940491, 0.8505575060844421, -1.0055347681045532, -0.10750608891248703, -0.4784012734889984, -0.5431827902793884, -0.39644497632980347, 0.16195756196975708, 0.07532902806997299, 0.6689498424530029, -0.24829407036304474, 0.29610010981559753, 0.5301093459129333, -0.09561125189065933, 0.1956399828195572, 0.4329986274242401, -0.23904730379581451, -0.2653611898422241, 0.9061815142631531, 0.5330798625946045, -0.025860054418444633, 0.47668126225471497, 0.266193687915802, -0.15932099521160126, -0.5913137793540955, -0.33625417947769165, 0.39265909790992737, -0.8148030638694763, -0.12385593354701996, -0.6023650765419006, 0.14117753505706787, -0.6520776152610779, -0.0837293267250061, -0.6785459518432617, -0.19018465280532837, 0.03416965529322624, -0.11653692275285721, 0.12552793323993683, 1.060450553894043, -0.3343174457550049, -0.07381268590688705, -0.8938326835632324, 0.22427649796009064, 0.26311975717544556, 0.4471379220485687, -0.02256232313811779, 0.1883298009634018, -0.1459326446056366, 0.1273987889289856, 0.0440625436604023, -0.8419267535209656, 0.059108439832925797, 0.14314620196819305, 0.8505371809005737, 0.5138801336288452, -0.09469035267829895, 0.654562771320343, -0.5145392417907715, 0.6144015192985535, 0.016106409952044487, -0.9386630058288574, -0.04561943560838699, -0.07571391016244888, 0.536796510219574, 0.5825455188751221, 0.3496280610561371, -0.5666742324829102, -0.6675795316696167, -0.44585445523262024, -0.9182969331741333, 0.45813173055648804, 0.17483073472976685, -0.03230136260390282, -0.30804383754730225, 0.12009145319461823, 0.43607333302497864, -0.21935194730758667, -0.23776589334011078, -0.36185580492019653, -0.04810689762234688, -0.5665002465248108, 0.12629933655261993, -0.3168346881866455, -0.34004291892051697, 0.12666982412338257, 0.5806382298469543, -0.44312235713005066, 0.3417503535747528, -0.01995180733501911, -0.10387638211250305, 0.13557617366313934, 0.08212251216173172, 0.413629412651062, 1.2127865552902222, 0.12889012694358826, 0.43292224407196045, -0.027689604088664055, -0.5909276604652405, 0.15946193039417267, -0.1071917861700058, -0.27437394857406616, 0.2305874079465866, 0.6954885125160217, 0.5354418158531189, 0.2044607400894165, -0.47724011540412903, 0.5428200960159302, -0.46316149830818176, 0.10580044984817505, -0.279674232006073, -0.6116754412651062, 0.04606868699193001, 0.08876337110996246, 0.04399925097823143, -0.2389666587114334, -0.31007084250450134, -0.5713398456573486, 0.3851678967475891, 0.613136351108551, -0.4654046595096588, -0.6572847962379456, 0.12642332911491394, -0.4728143811225891, 0.22688999772071838, 0.6437425017356873, -0.07763450592756271, -0.2889721095561981, 0.521205723285675, 0.39979445934295654, 1.047181248664856, -0.028877096250653267, 0.2607434391975403, 0.08165986835956573, 0.40846049785614014, 0.111860491335392, 0.5518008470535278, 0.32767561078071594, -1.1052964925765991, -0.13931730389595032, -0.3650534749031067, -0.49284976720809937, -0.423391729593277, -0.7431889772415161, 0.18104490637779236, 0.0010560347000136971, 0.12609152495861053, 0.06367146223783493, -0.24749130010604858, -0.8928326368331909, -0.03861222043633461, -0.1254080981016159, 0.4884851574897766, -0.8985486030578613, 1.0802152156829834, 0.5614809989929199, -0.4197658896446228, -0.9465875029563904, -0.05722710117697716, 0.10524386167526245, -0.9288917779922485, 0.5420664548873901, -0.057227667421102524, -0.27644437551498413, -0.7806474566459656, -0.36469072103500366, -1.375863790512085, 1.0746564865112305, 0.4967901408672333, -0.09933987259864807, 0.3126422166824341, 0.6521406769752502, 0.5978121757507324, -0.51862633228302, 0.05984582379460335, 0.3580279052257538, 0.3465065658092499, -0.20165224373340607, -0.7597587704658508, -0.040375400334596634, 0.12668438255786896, 0.18252810835838318, 0.24861930310726166, -0.5326206684112549, 0.8023698925971985, 0.17507924139499664, -0.2915430963039398, -0.007188296411186457, 1.1898013353347778, 0.18317517638206482, 0.2595597207546234, 0.3778185248374939, 0.7685977220535278, 0.6893406510353088, -0.22803035378456116, 0.8497166037559509, -0.6505616903305054, 0.3111008107662201, 1.1903162002563477, -0.35440900921821594, 0.8539729118347168, 0.40624096989631653, -0.05135732889175415, 0.6303936839103699, 0.019550321623682976, 0.4287308156490326, 0.5009247660636902, -0.22935684025287628, -0.1285807192325592, 0.1415865570306778, -0.3019804358482361, -0.252526193857193, 1.0350521802902222, 0.233390212059021, 0.008406330831348896, -0.401644229888916, 0.3062112331390381, 0.47208765149116516, 0.07191228866577148, 0.05283578857779503, 0.8011009693145752, -0.07339033484458923, -0.5738651752471924, 0.18973976373672485, -0.01963908225297928, 0.3795869052410126, -1.018855333328247, -0.0568220429122448, -0.36106935143470764, 0.4995640814304352, 0.10244128853082657, -0.8104149699211121, 0.45555993914604187, -0.49418267607688904, 0.10601472109556198, -0.06510792672634125, 0.5543555021286011, -0.8155069947242737, -0.43265220522880554, 0.5426434278488159, 0.4443260729312897, -0.014551375061273575, 0.44643059372901917, -0.3540782332420349, 0.5376508831977844, -0.13975419104099274, 0.22351273894309998, 0.5830118656158447, 0.8415186405181885, -0.15072034299373627, 0.47676894068717957, 0.30396026372909546, -0.11822833120822906, 0.251984566450119, 0.04457477107644081, 0.6575024127960205, -0.33260777592658997, -0.3136151134967804, -0.6607563495635986, 0.4066134989261627, 0.1559794694185257, -0.5492137670516968, 1.2326661348342896, 0.3582722246646881, 1.1851035356521606, 0.18297912180423737, 0.4433828592300415, -0.03959823027253151, 0.2210223376750946, -0.49456074833869934, 0.47597578167915344, -0.32056206464767456, -0.020495019853115082, -0.27817022800445557, -0.7665342092514038, -0.3897230923175812, 0.49374085664749146, 0.22627022862434387, -0.3306146562099457, 0.8228985667228699, 0.7147826552391052, -0.14115235209465027, 0.04579900577664375, 0.38220545649528503, 0.2877378463745117, 0.6154080033302307, -0.17957037687301636, 0.40615496039390564, -0.40947896242141724, 0.1674993932247162, -0.6772108674049377, -0.19809551537036896, 0.3284362256526947, -0.8558453321456909, -0.37903913855552673, -0.8370475769042969, -0.4199795126914978, -0.4513836205005646, -0.15570631623268127, 0.9479018449783325, 0.42630311846733093, -0.9978506565093994, -0.4567834734916687, 0.2519453465938568, 0.2888641059398651, -0.6380571126937866, -0.1688961237668991, 0.8778772950172424, -0.4817461669445038, -0.7903972864151001, 0.4660950005054474, 0.5730120539665222, -0.170943021774292, -0.6933394074440002, 0.264559805393219, -0.33718839287757874, 0.2582184076309204, 0.5689151883125305, 0.24498935043811798, -0.6346765756607056, -0.8603248596191406, -0.31280967593193054, -0.15568362176418304, 0.2244061976671219, 0.8967909216880798, -0.4876985251903534, 0.7945460081100464, 0.8814570307731628, 0.7627238035202026, -0.14345386624336243, -0.23745690286159515, 0.7706485986709595, -0.5876340866088867, 0.2342444360256195, -0.021916896104812622, 0.7714275121688843, 0.33138465881347656, -0.030822981148958206, 0.39309465885162354, 0.002372146351262927, -0.6417922377586365, -0.5167697668075562, 0.3217526972293854, -0.959077775478363, -0.1691453605890274, 0.7975024580955505, -0.5589743256568909, -0.26469001173973083, -0.2955702841281891, -0.0021795190405100584, 0.09590522199869156, -0.03200504556298256, 0.707716703414917, 0.8110570311546326, -0.24444957077503204, 0.4248725175857544, 0.030047092586755753, 0.3110271096229553, 0.25024178624153137, -0.7412452697753906, -0.1528228223323822, 0.2345438003540039, 0.3601117432117462, 0.44156843423843384, 0.5408955812454224, -0.39201483130455017, -0.1096385270357132, 0.2608526051044464, -0.06650695949792862, 0.6078470945358276, -0.5944204926490784, -0.17173431813716888, 0.3175146281719208, 0.04853300005197525, -0.31252244114875793 ]
http://arxiv.org/abs/2406.12471v1
http://arxiv.org/pdf/2406.12471v1
Fighting Randomness with Randomness: Mitigating Optimisation Instability of Fine-Tuning using Delayed Ensemble and Noisy Interpolation
2024-06-18T10:20:36
2024-06-18T10:20:36
Branislav Pecher, Jan Cegin, Robert Belanec, Jakub Simko, Ivan Srba, Maria Bielikova
cs.CL
cs.CL
While fine-tuning of pre-trained language models generally helps to overcome the lack of labelled training samples, it also displays model performance instability. This instability mainly originates from randomness in initialisation or data shuffling. To address this, researchers either modify the training process or augment the available samples, which typically results in increased computational costs. We propose a new mitigation strategy, called Delayed Ensemble with Noisy Interpolation (DENI), that leverages the strengths of ensembling, noise regularisation and model interpolation, while retaining computational efficiency. We compare DENI with 9 representative mitigation strategies across 3 models, 4 tuning strategies and 7 text classification datasets. We show that: 1) DENI outperforms the best performing mitigation strategy (Ensemble), while using only a fraction of its cost; 2) the mitigation strategies are beneficial for parameter-efficient fine-tuning (PEFT) methods, outperforming full fine-tuning in specific cases; and 3) combining DENI with data augmentation often leads to even more effective instability mitigation.
[ -0.6619557738304138, -0.7612685561180115, -0.016810551285743713, 0.2763213515281677, -0.3378918468952179, 0.5643983483314514, -0.45975369215011597, -0.47819602489471436, -0.019999990239739418, 0.35415521264076233, -0.6781616806983948, -0.06271543353796005, -0.5825461149215698, 0.05794057995080948, -0.3438687324523926, 0.8426821827888489, 0.1528748869895935, 0.20742009580135345, -0.05519448220729828, -0.08873694390058517, -0.1805107444524765, -0.5522738695144653, -1.1409485340118408, -0.341409295797348, 0.5183520317077637, 0.5477147698402405, 0.7595804333686829, 0.43875762820243835, 0.5038062334060669, 0.29134729504585266, -0.02255966141819954, 0.19080133736133575, -0.6525201201438904, 0.3629964590072632, 0.34486663341522217, -0.6718306541442871, -0.0900929793715477, -0.020535750314593315, 0.9204340577125549, 0.5299854874610901, -0.3129926323890686, -0.1318661868572235, 0.2074006199836731, 0.7202399969100952, -0.6896815896034241, -0.092405304312706, -0.7928712964057922, 0.07927492260932922, -0.5185691714286804, -0.27343156933784485, -0.3145096004009247, -0.2566961944103241, -0.16249094903469086, -0.6155380010604858, 0.36745771765708923, 0.19134871661663055, 0.9741104245185852, 0.5111400485038757, 0.31156814098358154, 0.006330696400254965, -0.9924072623252869, 1.0220386981964111, -0.8242404460906982, 0.3429369032382965, 0.31155630946159363, 0.24923960864543915, -0.2917044460773468, -0.3450128436088562, -0.5225722789764404, 0.07593739032745361, 0.2860928773880005, 0.20756390690803528, -0.14279507100582123, 0.1745034158229828, 0.266648530960083, 0.10882546752691269, -0.4031951427459717, 0.8627528548240662, -0.32998940348625183, -0.34094753861427307, 0.7852814197540283, -0.06796151399612427, 0.13813431560993195, 0.6346608400344849, 0.009803866036236286, -0.5010138154029846, -0.7544506192207336, 0.14075246453285217, 1.199751853942871, 0.4056137204170227, 0.03297105431556702, 0.38725486397743225, -0.23977379500865936, 0.6329938173294067, 0.30866527557373047, -0.051189906895160675, 0.23680800199508667, -0.24340032041072845, -0.004929910879582167, 0.2722175121307373, 0.5810359716415405, 0.22779370844364166, 0.45908814668655396, -0.30913108587265015, -0.4925430715084076, 0.1451261341571808, 0.16219240427017212, -0.8023231625556946, -0.1924758106470108, 0.4417821764945984, -0.3522914946079254, -0.8440431356430054, -0.24954257905483246, -0.9224637150764465, 0.010740241035819054, -0.22369663417339325, 0.2628205418586731, -0.3312179148197174, -0.16611461341381073, 0.024550313130021095, -0.1163354143500328, -0.19660212099552155, 0.32451000809669495, -1.2090635299682617, 0.5263602137565613, 0.6372273564338684, 0.644149661064148, -0.10868044197559357, -0.2841111123561859, -0.4402358829975128, 0.0012802890269085765, -0.590843141078949, 0.7806959748268127, -0.6899252533912659, -0.4784751832485199, -0.21585026383399963, -0.2462722361087799, -0.1484287828207016, -0.5725923776626587, 0.40803730487823486, -0.37578365206718445, 0.19476811587810516, 0.09917248785495758, -0.3573041260242462, 0.18206553161144257, 0.09026055037975311, -0.7202073335647583, 1.2074928283691406, -0.020252646878361702, -0.7899367809295654, 0.6209518313407898, -0.39957118034362793, -0.28840091824531555, -0.11673806607723236, -0.2389785498380661, -0.7740694284439087, 0.11469253897666931, 0.2127075046300888, 0.39699581265449524, -0.1329018473625183, 0.18486087024211884, -0.3856934607028961, -0.7045496702194214, -0.07125522941350937, -0.5298582315444946, 0.3628370463848114, 0.6673243045806885, -0.1064222902059555, 0.1075175330042839, -0.9848687052726746, 0.2111612856388092, -0.05755070596933365, -0.3182511031627655, -0.4465080499649048, 0.18548500537872314, -0.0987049862742424, 0.06266973167657852, -0.05020630732178688, -0.35338518023490906, 0.24576283991336823, -0.7343502044677734, 0.588512122631073, 0.8536111116409302, 0.056238532066345215, 0.5996729731559753, -0.7421541213989258, 0.40450647473335266, 0.3391122817993164, 0.09404610097408295, 0.1878279596567154, -0.446815550327301, -0.5225222110748291, -0.12355846911668777, 0.5722873210906982, 0.5201811194419861, -0.7064063549041748, -0.034783195704221725, -0.27056658267974854, -0.6737776398658752, -0.7161768078804016, 0.026166632771492004, 0.3666919767856598, 0.11654272675514221, 0.09917130321264267, -0.4340781569480896, -0.5203917622566223, -0.6326570510864258, -0.4495616853237152, -0.003557592863216996, 0.05916563421487808, 0.049364782869815826, 0.06409712135791779, -0.1727963536977768, 0.5788826942443848, 0.020303480327129364, -0.025245657190680504, -0.20266884565353394, 0.6289070248603821, 0.13865967094898224, 0.8089184165000916, 0.6319087147712708, -0.7830272316932678, -0.28077393770217896, -0.12015100568532944, -0.07070358842611313, -0.13881351053714752, -0.23892265558242798, 0.1291133016347885, 0.46989530324935913, 0.55008465051651, -0.26198068261146545, 0.2677718997001648, 0.35539689660072327, 0.2549512982368469, 0.43463870882987976, -0.200132355093956, 0.20115859806537628, -0.7394551634788513, -0.18413026630878448, -0.1894926279783249, 0.15511129796504974, -0.5559314489364624, -0.0025355955585837364, -0.1678536832332611, -0.17561902105808258, -0.252511203289032, 0.4236885607242584, -0.3884846568107605, 0.4501885175704956, -0.05099830776453018, 0.00202252808958292, -0.3669275939464569, 0.2881617248058319, -0.0371922105550766, 0.8898791670799255, 0.5212159156799316, -0.6408509016036987, -0.3332625925540924, -0.2818048298358917, -0.48563453555107117, -0.013223079964518547, -0.539024829864502, 0.14668281376361847, -0.440432071685791, -0.18246185779571533, -0.7590357661247253, -0.21105992794036865, 0.14495664834976196, -0.3865956664085388, 0.6993017196655273, -0.20015475153923035, -0.5857157111167908, -0.479406476020813, -0.36573129892349243, 0.45885950326919556, 0.5245541334152222, -0.27972251176834106, 0.18159912526607513, 0.38046783208847046, -0.15813972055912018, -0.784305989742279, -0.5691919326782227, -0.25506284832954407, -0.32951056957244873, -0.5280044674873352, 0.43705710768699646, -0.3413897156715393, -0.39769938588142395, -0.08816596865653992, -0.19121503829956055, -0.24288108944892883, 0.3718818128108978, 0.11918480694293976, -0.20357951521873474, -0.03583710640668869, 0.10342413932085037, 0.25589779019355774, -0.19896887242794037, -0.27173906564712524, -0.24412205815315247, 0.846444845199585, 0.17628416419029236, -0.22411760687828064, -0.13262449204921722, 0.3295029103755951, 0.38587793707847595, -0.028080778196454048, 0.6947845220565796, 0.6330159902572632, -0.3833358585834503, -0.3556987941265106, -0.6937819123268127, -0.5070252418518066, -0.4889572858810425, 0.2804643511772156, -0.4961036145687103, -0.9531703591346741, 0.6567955613136292, -0.14435063302516937, 0.2633343040943146, 0.17804421484470367, 0.5199108123779297, -0.1478601098060608, 1.191848635673523, 0.7737541794776917, -0.2579967677593231, 0.6326748132705688, -0.1019183099269867, 0.36320996284484863, -0.19530268013477325, 0.09119954705238342, -0.7995606660842896, -0.5721307396888733, -0.8939446210861206, -0.24619677662849426, 0.08818383514881134, 0.30173027515411377, -0.20908457040786743, 0.07654371857643127, -0.6311547160148621, 0.6062723994255066, 0.6542309522628784, -0.055558573454618454, 0.21153198182582855, 0.40275174379348755, -0.10983186960220337, -0.14886607229709625, -1.0707331895828247, -0.3443065285682678, 1.0764987468719482, 0.2772681713104248, 0.9789615273475647, -0.16637538373470306, 1.0496044158935547, -0.06911619752645493, -0.0031171725131571293, -0.2834372818470001, 0.3599717319011688, -0.14037667214870453, -0.3952862620353699, -0.6109533905982971, -0.5461913347244263, -1.0601184368133545, 0.1639869064092636, -0.4563901722431183, -0.7844815850257874, 0.5297644734382629, 0.19705933332443237, -0.5585377216339111, 0.4386655390262604, -0.6213889122009277, 0.48529812693595886, 0.10562806576490402, -0.26994580030441284, -0.39181578159332275, -0.6533079147338867, 0.30335015058517456, -0.20038460195064545, 0.4834577441215515, -0.05455946922302246, 0.21766120195388794, 0.8833028078079224, -0.34302374720573425, 0.6978757381439209, 0.06786327809095383, 0.1129651814699173, 0.33791205286979675, -0.041256826370954514, 0.6927614212036133, 0.058006301522254944, -0.16610121726989746, 0.27080294489860535, 0.1634453684091568, -0.564072847366333, -0.6395135521888733, 0.7842287421226501, -0.9369372129440308, -0.44569554924964905, -0.3271945118904114, -0.450115442276001, -0.14716224372386932, 0.2221401333808899, 0.6126236319541931, 0.2801663279533386, -0.06252560019493103, 0.11971011757850647, 0.8531196117401123, 0.1115647554397583, 0.751865804195404, 0.3902446925640106, -0.023750321939587593, -0.32893162965774536, 0.9357753992080688, 0.5969051718711853, 0.48332712054252625, 0.2714748680591583, 0.09706167876720428, 0.26079991459846497, -0.9556677341461182, -0.19296057522296906, -0.15906491875648499, -0.2949943244457245, -0.11365537345409393, -0.7222960591316223, -0.41942211985588074, -0.5090873837471008, -0.08545412868261337, -0.45686793327331543, -0.7418540716171265, -0.16566027700901031, 0.017092637717723846, 0.4556047320365906, 0.37678882479667664, -0.37990787625312805, 0.6123539209365845, -0.6789551377296448, 0.010052669793367386, -0.01236014999449253, 0.45374417304992676, -0.024396833032369614, -0.2613350450992584, -0.2033023089170456, 0.12933167815208435, -0.20631954073905945, -0.5256243348121643, 0.521354615688324, 0.2293584942817688, 0.6422824859619141, 0.45377621054649353, 0.13799861073493958, 0.802533745765686, -0.4419749081134796, 0.4701434373855591, -0.004338142927736044, -0.4621395468711853, 0.44410938024520874, -0.3000575602054596, 0.09450028091669083, 0.7615389227867126, 0.1838231235742569, -0.010349182412028313, -0.7086301445960999, -0.7851658463478088, -1.0522435903549194, 0.5682554244995117, 0.2773902118206024, -0.03448076546192169, 0.12827031314373016, 0.32341352105140686, -0.07239409536123276, 0.47376808524131775, -0.5059394240379333, -0.17281131446361542, 0.015814432874321938, -0.09163150936365128, -0.1369583159685135, -0.398366242647171, -0.24964608252048492, -0.2896919548511505, 0.8109923601150513, 0.04668296501040459, 0.07542001456022263, 0.07153066992759705, 0.0534907765686512, -0.595957338809967, 0.25777003169059753, 0.568073034286499, 0.19978338479995728, -0.35394561290740967, -0.1397600769996643, 0.04493119940161705, -0.7971884608268738, 0.10227387398481369, 0.18842384219169617, -0.5446755886077881, -0.11067302525043488, 0.03104417584836483, 0.7368780970573425, 0.4801938533782959, -0.6506981253623962, 0.10866760462522507, -0.13120543956756592, -0.18475915491580963, -0.007805206347256899, 0.2718958556652069, -0.31994345784187317, 0.02242962457239628, 0.14350014925003052, 0.5940849781036377, -0.03413861617445946, -0.1869731992483139, 0.2565215826034546, 0.4746473431587219, -0.3225575387477875, -0.18336771428585052, 0.6964130997657776, -0.1229308545589447, -0.33937183022499084, 0.5200567245483398, -0.14211952686309814, -0.07489058375358582, 0.7386709451675415, 0.5346571803092957, 0.766141414642334, -0.2837027609348297, 0.08764836192131042, 0.2868262231349945, 0.7225069403648376, -0.3636874258518219, 0.476830393075943, 0.1231517642736435, -0.8183485865592957, -0.36818212270736694, -0.6604236364364624, -0.4879710078239441, 0.011640834622085094, -0.6064375638961792, 0.40702369809150696, -0.718254029750824, -0.024772020056843758, -0.2463596761226654, 0.17718949913978577, -0.6362740397453308, 0.15278765559196472, -0.19682620465755463, 0.8838407397270203, -0.7161532640457153, 0.9683316349983215, 0.39027950167655945, -0.35915398597717285, -0.8286828398704529, -0.01883728615939617, -0.15041957795619965, -0.5923281311988831, 0.33903998136520386, 0.023780087009072304, 0.08576507866382599, 0.3276805579662323, -0.7511026859283447, -1.0786070823669434, 0.8562291264533997, 0.22891299426555634, -1.2125259637832642, 0.23206764459609985, -0.051913484930992126, 0.4601336121559143, -0.12080542743206024, 0.0961720421910286, 0.5500651597976685, 0.5250577926635742, -0.036778852343559265, -0.6384966373443604, -0.2834748327732086, -0.3094235956668854, -0.21463853120803833, 0.3353998363018036, -0.7273393273353577, 0.6890566945075989, -0.16052573919296265, -0.41619595885276794, 0.2946185767650604, 0.4175668954849243, 0.18755120038986206, 0.36553719639778137, 0.55598384141922, 1.0164963006973267, 0.9302002787590027, -0.2718544900417328, 0.9150909781455994, -0.5020493268966675, 0.008959541097283363, 1.085253357887268, -0.11798539757728577, 0.8099463582038879, 0.6156111359596252, -0.18119525909423828, 0.018362920731306076, 0.8436282873153687, -0.13922427594661713, 0.7281590104103088, 0.36523371934890747, -0.27227887511253357, -0.07925479859113693, 0.29402416944503784, -0.42564526200294495, 0.06667356193065643, 0.22635993361473083, 0.06930608302354813, -0.35752132534980774, 0.16327768564224243, -0.025947634130716324, 0.2117420881986618, -0.22571712732315063, 0.682314395904541, -0.13667424023151398, -0.47329869866371155, 0.6187099814414978, -0.10187006741762161, 0.7270827889442444, -0.5509418845176697, 0.1309356540441513, -0.11056536436080933, 0.05201588571071625, -0.10869523882865906, -0.2727832794189453, 0.3062092661857605, -0.3988204300403595, -0.36021119356155396, -0.18324342370033264, 0.588898777961731, -0.597405195236206, -0.6193801164627075, 0.021901316940784454, 0.33756133913993835, 0.1172063872218132, 0.14592856168746948, -0.5003805160522461, 0.16131499409675598, -0.2657836377620697, -0.224391907453537, 0.8261871337890625, 0.5168760418891907, -0.3877718150615692, 0.8333349823951721, 0.8359612226486206, 0.2430562973022461, 0.2522950768470764, 0.34884098172187805, 1.061990737915039, -0.3153547942638397, -0.3058023750782013, -0.7943239808082581, 0.2780885696411133, -0.11732932925224304, -0.3720620572566986, 0.729414165019989, 0.4835115969181061, 0.9931364059448242, -0.032897889614105225, 0.6763182878494263, 0.2448049783706665, 0.4104565978050232, -0.5983472466468811, 0.9788423776626587, -0.303323894739151, 0.5014678239822388, -0.3602968752384186, -0.8148044943809509, -0.6058009266853333, 0.35042986273765564, -0.12000972032546997, -0.12643404304981232, 0.25747358798980713, 1.012218952178955, 0.09839054942131042, -0.03578449785709381, 0.3564472794532776, 0.33733782172203064, 0.09683293104171753, 0.1707785427570343, 0.7603389620780945, -0.45547470450401306, 0.2939242124557495, -0.7877418398857117, -0.1761658936738968, 0.05913360416889191, -0.8539441823959351, -0.7421488761901855, -0.3249729573726654, -0.4391568601131439, -0.34189850091934204, 0.4723898768424988, 0.6749630570411682, 0.7913584113121033, -1.096066951751709, -0.07658757269382477, -0.387850821018219, 0.2906147837638855, -0.5161787271499634, -0.19924208521842957, 0.11190550774335861, -0.8009325265884399, -0.7775535583496094, 0.4392792284488678, 0.2604367434978485, 0.3339802026748657, -0.09474775940179825, 0.11651396006345749, -0.01633942313492298, 0.3118970990180969, 0.12091173976659775, 0.39392852783203125, -0.45267269015312195, -0.12869884073734283, -0.21415287256240845, 0.1560685932636261, 0.04463443532586098, 0.702052116394043, -0.7655794024467468, 0.504599392414093, 0.30221518874168396, 0.5699967741966248, 0.32886844873428345, -0.0545446015894413, 0.592150092124939, -0.811271071434021, 0.7169402241706848, 0.5298553109169006, 0.1690034121274948, -0.02535243332386017, -0.47225597500801086, 0.6454043984413147, 0.19240881502628326, -0.7210326790809631, -1.2978882789611816, 0.007434288505464792, -0.6778953671455383, -0.23237621784210205, 0.7034653425216675, 0.16500252485275269, -0.18397797644138336, -0.11298936605453491, -0.13957959413528442, 0.14296886324882507, -0.447172611951828, 1.165838599205017, 0.8944922685623169, 0.13821862637996674, -0.2221371978521347, -0.48215973377227783, 0.7320183515548706, 0.6063591837882996, -0.32665112614631653, -0.24996981024742126, -0.037241287529468536, 0.0027390788309276104, 0.1116018071770668, 0.6158607602119446, -0.2510014474391937, -0.0739109069108963, 0.07975495606660843, -0.15761816501617432, 0.13773293793201447, -0.5032210946083069, -0.37940454483032227, 0.10666545480489731, 0.023309722542762756, -0.06890808790922165 ]
http://arxiv.org/abs/2406.12468v1
http://arxiv.org/pdf/2406.12468v1
Adaptive Token Biaser: Knowledge Editing via Biasing Key Entities
2024-06-18T10:18:06
2024-06-18T10:18:06
Baolong Bi, Shenghua Liu, Yiwei Wang, Lingrui Mei, Hongcheng Gao, Yilong Xu, Xueqi Cheng
cs.CL
cs.CL, cs.AI
The parametric knowledge memorized by large language models (LLMs) becomes outdated quickly. In-context editing (ICE) is currently the most effective method for updating the knowledge of LLMs. Recent advancements involve enhancing ICE by modifying the decoding strategy, obviating the need for altering internal model structures or adjusting external prompts. However, this enhancement operates across the entire sequence generation, encompassing a plethora of non-critical tokens. In this work, we introduce $\textbf{A}$daptive $\textbf{T}$oken $\textbf{Bias}$er ($\textbf{ATBias}$), a new decoding technique designed to enhance ICE. It focuses on the tokens that are mostly related to knowledge during decoding, biasing their logits by matching key entities related to new and parametric knowledge. Experimental results show that ATBias significantly enhances ICE performance, achieving up to a 32.3% improvement over state-of-the-art ICE methods while incurring only half the latency. ATBias not only improves the knowledge editing capabilities of ICE but can also be widely applied to LLMs with negligible cost.
[ -0.1986972540616989, -0.6372849941253662, 0.3842022716999054, 0.04481697082519531, -0.3511379361152649, 0.4185490310192108, -0.25735846161842346, -0.2575191557407379, 0.393953412771225, 0.4594895541667938, -0.10546016693115234, -0.6663700342178345, -0.6247488260269165, 0.04531776160001755, -0.31009891629219055, 0.960192859172821, -0.206197589635849, 0.2846556305885315, -0.10699273645877838, -0.4172567129135132, -0.5721203684806824, -0.37314099073410034, -0.9500628709793091, -0.1254855841398239, 0.025572309270501137, 0.45559054613113403, 0.7229928374290466, 0.9058361053466797, 0.1340879201889038, 0.22971144318580627, -0.542709231376648, 0.3750287890434265, -0.18818864226341248, 0.23295818269252777, -0.32364746928215027, -0.6214628219604492, -0.8429067730903625, -0.4412214159965515, 0.7588846683502197, 0.3948020935058594, -0.036057550460100174, 0.1902390718460083, -0.08449088037014008, 0.6805597543716431, -0.7984412908554077, 0.03593391552567482, -0.9596875309944153, -0.08672891557216644, -0.3874119818210602, -0.14309246838092804, -0.45326271653175354, -0.18548361957073212, 0.07814591377973557, -0.805308997631073, 0.10458255559206009, 0.2977813184261322, 0.45355480909347534, 0.4654201567173004, -0.1767115443944931, -0.3655489385128021, -0.22318705916404724, 0.7856819033622742, -0.7914695739746094, 0.6225265860557556, 0.2510901093482971, -0.11053875088691711, -0.32798904180526733, -0.560829222202301, -0.49791765213012695, 0.23449331521987915, 0.10390494018793106, -0.23160092532634735, -0.30801600217819214, 0.25447097420692444, 0.2712363302707672, 0.09545417875051498, 0.27265074849128723, -0.05357643589377403, -0.13219408690929413, -0.4663797616958618, 0.24025152623653412, 0.14126792550086975, 0.3641824722290039, -0.2940968871116638, -0.0931190699338913, 0.07361886650323868, -0.7213196754455566, -0.07875024527311325, 0.1963415890932083, -0.04442944750189781, 0.013543598353862762, 0.3891051113605499, -0.053709473460912704, 0.7821832299232483, 0.5047615170478821, -0.23683227598667145, 0.2941003739833832, -0.06818998605012894, -0.27480223774909973, 0.23208121955394745, 0.45330899953842163, 0.5907779932022095, -0.03152718022465706, -0.34133708477020264, -0.3586352467536926, -0.31046611070632935, 0.03835069015622139, -0.5433575510978699, -0.22949236631393433, 0.04576712101697922, -0.6237386465072632, -0.3739655315876007, -0.10083714872598648, -1.02446448802948, -0.5922888517379761, -0.1504480242729187, 0.1265709549188614, -0.5813710689544678, 0.050971776247024536, 0.13360406458377838, -0.36326685547828674, -0.1390312910079956, 0.3411264419555664, -0.6440271139144897, 0.2980830669403076, 0.41456180810928345, 0.9640985131263733, -0.10929402709007263, -0.21340134739875793, -0.7365591526031494, 0.390800416469574, -0.4177708923816681, 0.8403609991073608, -0.8387449979782104, -0.3652041256427765, -0.011971456930041313, -0.5262108445167542, 0.12876206636428833, -0.596195638179779, 0.648301899433136, -1.0766820907592773, -0.08683831244707108, -0.6325458288192749, -0.6561148762702942, -0.007269812747836113, 0.01113002747297287, -0.6354650855064392, 0.8605327606201172, -0.03289332985877991, -0.9493424892425537, 0.8590473532676697, -1.1386126279830933, -0.5212492942810059, -0.25964754819869995, -0.022109346464276314, -0.26605668663978577, 0.26232385635375977, 0.8386292457580566, 0.12795116007328033, -0.25204890966415405, 0.2401074469089508, -0.27648791670799255, -0.2766507565975189, 0.3841702938079834, -0.4027174711227417, 0.7148801684379578, 0.28205814957618713, -0.4349616467952728, 0.3572792112827301, -1.003499984741211, -0.22328105568885803, -0.3806130588054657, -0.5478838086128235, -0.4990096688270569, 0.22548392415046692, -0.11948864161968231, -0.0722590759396553, -0.012505998834967613, -0.5033782124519348, 0.21900933980941772, -0.28168779611587524, 0.6969577670097351, 1.134010672569275, 0.21218159794807434, 0.9009405970573425, -0.19864733517169952, 0.4256574511528015, 0.3195803463459015, 0.0369904488325119, -0.19212931394577026, -0.2009870409965515, -1.034389615058899, -0.6403719782829285, 0.48373985290527344, 0.49492403864860535, -1.1323227882385254, 0.23836475610733032, -0.2987968325614929, -0.1312713623046875, -0.9033234119415283, 0.34461215138435364, 0.33704063296318054, 0.6803914308547974, 0.5788580775260925, -0.2827644944190979, -0.7665673494338989, -0.6172691583633423, -0.655681848526001, -0.16397282481193542, -0.1732117235660553, 0.3681223690509796, 0.11483268439769745, -0.19097775220870972, 1.1727968454360962, -0.4601899981498718, -0.38192522525787354, 0.012161367572844028, -0.0375581793487072, 0.02114861086010933, 0.44539961218833923, 0.7027878165245056, -0.3309396207332611, -0.5612611174583435, -0.3564341962337494, -0.7480573654174805, -0.32540106773376465, 0.0009183714282698929, -0.3580811321735382, 0.34587281942367554, 0.936740517616272, -0.45147058367729187, 0.33563855290412903, 0.1557486355304718, -0.5876061916351318, 0.1459207385778427, -0.1099732369184494, 0.2121678739786148, -1.0607292652130127, -0.1299375742673874, -0.22017431259155273, -0.20856113731861115, -0.7316251397132874, -0.09509984403848648, 0.25243550539016724, 0.08037138730287552, -0.5564962029457092, 0.6290786266326904, -0.7820300459861755, 0.2299608737230301, -0.32199937105178833, 0.003393725259229541, -0.06910666823387146, 0.27925625443458557, -0.06794320791959763, 0.8596016764640808, 0.8787904977798462, -0.6180821061134338, 0.14784224331378937, 0.4261382520198822, -0.4513564705848694, 0.6625680923461914, -0.31478843092918396, 0.5374782681465149, -0.4574246108531952, 0.5467581748962402, -0.38926512002944946, -0.10955283045768738, 0.441414475440979, -0.27926671504974365, 0.41575515270233154, -0.15058650076389313, -0.3871017396450043, -0.04372696951031685, -0.5612883567810059, 0.7488691210746765, 0.2590111494064331, -0.7360453009605408, 1.048638939857483, 0.46964332461357117, 0.1088307574391365, -0.9215078353881836, -0.5895240306854248, 0.47599729895591736, -0.39553678035736084, -0.527357280254364, 0.45665639638900757, 0.042915139347314835, -0.6025500297546387, 0.14308157563209534, -0.16586802899837494, 0.04410145804286003, -0.1917729377746582, -0.1260576844215393, 0.38737624883651733, -0.173320472240448, 0.06749264895915985, 0.3981478214263916, -0.0471205972135067, 0.010710985399782658, -0.7924337983131409, 0.23738634586334229, 0.20615297555923462, -0.12092596292495728, -0.4128466844558716, 0.07980851083993912, 0.8791440725326538, -0.1483442187309265, 0.869897723197937, 0.3712683618068695, -0.5275964736938477, -0.05868101492524147, -0.9293325543403625, -0.08957357704639435, -0.4760565757751465, 0.46751970052719116, -0.4748240113258362, -0.7698931097984314, 0.8449211120605469, 0.29497790336608887, 0.12527813017368317, 0.22323766350746155, 0.3547229766845703, 0.2388404756784439, 0.7976251244544983, 0.4587310254573822, -0.7427883148193359, 0.8322487473487854, 0.20181258022785187, 0.1346375197172165, -1.1559562683105469, -0.06799706816673279, -0.3157038986682892, -0.31349286437034607, -0.2793842852115631, -0.6612938642501831, 0.4084942638874054, 0.09055852144956589, -0.16330108046531677, -0.009536602534353733, -0.17340807616710663, 0.6961183547973633, 0.4891226589679718, 0.41428300738334656, 0.24833333492279053, -0.06153568997979164, -0.08911052346229553, -0.010266228578984737, -0.9120777249336243, -0.3992757201194763, 1.5854909420013428, 0.5390878319740295, 0.9746787548065186, 0.05751310661435127, 0.38094326853752136, 0.5792842507362366, 0.4189903140068054, -0.5325751900672913, 0.33343496918678284, 0.023212702944874763, -0.6497718095779419, -0.34075626730918884, -0.19682665169239044, -0.2341168224811554, 0.0890888199210167, -0.37904495000839233, -0.8006450533866882, 0.40081924200057983, 0.6687490940093994, -0.4508190155029297, 0.8336212038993835, -0.6234902739524841, 0.3692111372947693, 0.20384465157985687, -0.5407930016517639, -0.2516498863697052, -0.5778918862342834, 0.055661607533693314, -0.16442957520484924, 0.38817548751831055, 0.23562410473823547, -0.2546100616455078, 1.042746663093567, -0.2794675827026367, 0.722381591796875, -0.5523909330368042, 0.08458614349365234, 0.42969954013824463, 0.16962648928165436, 0.7945326566696167, 0.49584412574768066, -0.48502403497695923, 0.1813865602016449, -0.4154963791370392, -0.4730290174484253, -0.6319240927696228, 0.6120399236679077, -0.6461461782455444, -0.7336938977241516, -0.22247572243213654, -0.7748520970344543, -0.3063786029815674, 0.2086527794599533, 0.2901414930820465, 0.46177130937576294, -0.11051634699106216, 0.003966083750128746, 0.812938928604126, -0.24617567658424377, 0.3078535199165344, 0.4217435121536255, 0.1584317535161972, -0.6535208225250244, 0.6417443752288818, -0.07631270587444305, 0.2092990130186081, 0.48719102144241333, -0.03522628918290138, -0.176763653755188, -0.8331685662269592, -0.752408504486084, 0.025634972378611565, -1.0992695093154907, -0.5284152626991272, -0.8508830070495605, 0.14972881972789764, -0.5053927898406982, -0.4018550217151642, -0.25172677636146545, -0.36130112409591675, -0.4058384597301483, -0.2153526395559311, 0.47652867436408997, 0.6960852742195129, -0.22535844147205353, 0.28898924589157104, -0.6817395091056824, 0.2488185614347458, 0.03501322120428085, 0.49984580278396606, 0.16033120453357697, -0.7488464117050171, -0.34194502234458923, -0.08647394180297852, -0.09986747056245804, -1.0244717597961426, 0.025864634662866592, 0.22605547308921814, 0.5198330879211426, 0.4507421851158142, 0.10093317180871964, 0.8093032836914062, -0.5477389693260193, 0.7045105695724487, -0.08429303765296936, -1.5494035482406616, 0.28607654571533203, -0.21453341841697693, 0.3440663814544678, 0.5642613172531128, -0.22480858862400055, -0.544511616230011, -0.5614326000213623, -0.36076050996780396, -0.9213585257530212, 1.0390465259552002, 0.010340949520468712, 0.21301470696926117, -0.1295223832130432, 0.7390512824058533, -0.0597374252974987, 0.4030342996120453, -0.4602019488811493, -0.32524368166923523, -0.3922289311885834, -0.33220013976097107, 0.12377352267503738, -0.6483123302459717, -0.08670352399349213, -0.30958324670791626, 0.9631189703941345, -0.15469084680080414, 0.36912426352500916, 0.25937020778656006, -0.403976708650589, -0.3690072000026703, 0.2809130847454071, 0.5787889957427979, 0.774617612361908, -0.16868352890014648, 0.1828232854604721, 0.9914718866348267, -0.4871232509613037, -0.01503145880997181, -0.30217549204826355, -0.5414029359817505, -0.026483982801437378, 0.38289815187454224, 1.1839252710342407, 0.23587778210639954, -0.44440463185310364, 0.26703548431396484, 0.01040632650256157, -0.04320153221487999, 0.043407827615737915, 0.008271826431155205, -0.36900073289871216, 0.27696067094802856, 0.355537086725235, 0.5101181864738464, 0.19458836317062378, -0.34050673246383667, 0.17239807546138763, 0.2726496458053589, -0.4148833751678467, -0.32154127955436707, 0.8403725028038025, 0.3288049101829529, -0.3159940838813782, 0.6143878102302551, -0.029758790507912636, -0.8033040761947632, 0.14901377260684967, 0.554445207118988, 0.8479215502738953, -0.1888452023267746, -0.2209983766078949, 0.21082007884979248, 0.22126974165439606, 0.12355118989944458, -0.05881652981042862, -0.05058900639414787, -0.9120337963104248, -0.2140444666147232, -0.4640372097492218, -0.1415122002363205, 0.1356833279132843, -0.5645349025726318, 0.5242103934288025, -0.45861223340034485, -0.14017294347286224, -0.28382742404937744, -0.6185735464096069, -0.5285842418670654, 0.23234431445598602, -0.1866295337677002, 1.242079734802246, -0.6779910922050476, 0.8076165914535522, 0.9162151217460632, 0.09048254042863846, -0.4919954240322113, 0.4396703541278839, 0.16018152236938477, -0.7281749248504639, 0.3568483889102936, -0.3820168077945709, -0.0588383749127388, -0.0227828212082386, -0.22321045398712158, -1.053597092628479, 0.8653059601783752, 0.6071730256080627, -0.2071058303117752, -0.31252560019493103, -0.14955967664718628, 0.320387601852417, -0.43335652351379395, 0.28016898036003113, 0.7910435199737549, 0.47147196531295776, -0.09567151218652725, -0.7316656708717346, 0.22727380692958832, -0.11884519457817078, 0.06864206492900848, 0.13059747219085693, -0.547598659992218, 0.5261316895484924, -0.15995098650455475, 0.03795616328716278, -0.22510670125484467, 1.031152606010437, -0.03423057124018669, 0.05635127052664757, 0.7649504542350769, 0.34216827154159546, 0.821594774723053, 0.183756023645401, 0.5957611203193665, -0.6181937456130981, -0.08722659945487976, 1.0940163135528564, 0.11009373515844345, 0.5347590446472168, 0.8536855578422546, 0.167358860373497, 0.4999157190322876, 0.3883213698863983, 0.3470587134361267, 0.7055810689926147, 0.15967819094657898, -0.3628184199333191, -0.08073048293590546, 0.004073518328368664, -0.13378269970417023, 0.29109612107276917, 0.3007623851299286, -0.46459171175956726, 0.11193040013313293, 0.20980417728424072, 0.42163750529289246, 0.16673141717910767, -0.508658766746521, 0.811664342880249, -0.11223800480365753, -0.7937600612640381, 0.2927984893321991, 0.3626861572265625, 0.8466558456420898, -0.31938913464546204, 0.20008280873298645, -0.12377817928791046, 0.2960018515586853, -0.26981592178344727, -0.4489823281764984, 0.3749161958694458, 0.29182618856430054, -0.32700449228286743, -0.1043597087264061, 0.8744029998779297, -0.271369069814682, -0.38667288422584534, 0.31256937980651855, 0.18044616281986237, -0.3786253035068512, -0.00997560378164053, -0.514207124710083, 0.32379114627838135, 0.19814294576644897, -0.2834532558917999, 0.003831590060144663, 0.38988184928894043, -0.1655324399471283, 0.6881694793701172, 0.40686914324760437, 0.1722116768360138, 0.22217151522636414, 0.010057413950562477, 1.1319295167922974, -0.41274017095565796, -0.5674688220024109, -0.9523168206214905, 0.505088210105896, -0.07800619304180145, -0.23842673003673553, 0.5667641758918762, 0.5219160318374634, 0.9045087695121765, -0.0693025067448616, 0.9941039085388184, -0.12423461675643921, 0.35383370518684387, -0.8702345490455627, 0.7012906670570374, -0.33171841502189636, 0.4379819333553314, -0.5305452346801758, -0.92094886302948, -0.32179099321365356, 0.4823957085609436, -0.2437019795179367, -0.16597868502140045, 0.6531675457954407, 0.7241281867027283, -0.011529235169291496, -0.02731250412762165, -0.0654335469007492, 0.3002418279647827, 0.46311333775520325, 0.26448383927345276, 0.47772738337516785, -0.5027855634689331, 0.40276196599006653, -0.0768018364906311, -0.4882868528366089, 0.03264279663562775, -0.7807475924491882, -1.161220669746399, -0.4260275065898895, -0.14465227723121643, -0.5425273776054382, 0.48265916109085083, 1.298653483390808, 0.5547887682914734, -1.0043249130249023, -0.1341526061296463, -0.028512265533208847, 0.27225905656814575, -0.09119366109371185, -0.14797477424144745, 0.5286068320274353, -0.477740615606308, -0.8163008689880371, 0.4785386025905609, 0.09349307417869568, -0.034704696387052536, 0.16533924639225006, -0.22891280055046082, 0.056464605033397675, 0.37523728609085083, 0.41590848565101624, -0.024177128449082375, -0.6071645617485046, -0.5305095911026001, 0.11940555274486542, 0.3083188533782959, 0.18562933802604675, 0.9751787781715393, -0.6554127335548401, 0.6808672547340393, 0.3987574279308319, 0.6106409430503845, 0.3106521666049957, -0.0771675854921341, 0.8435267806053162, -0.5816137790679932, 0.26248985528945923, 0.04043307900428772, 0.5463550090789795, 0.33257532119750977, -0.5055714249610901, 0.08624053746461868, 0.22506766021251678, -0.3669876456260681, -0.8364660739898682, 0.029804833233356476, -0.6045002341270447, -0.04830567538738251, 1.1372374296188354, -0.07837437093257904, -0.2748804986476898, -0.1869867891073227, -0.43699437379837036, 0.5537024736404419, -0.8933807015419006, 1.1005046367645264, 0.9312922358512878, 0.09520310163497925, 0.10546030849218369, -0.06976372003555298, 0.7960518598556519, 0.5901362895965576, -0.5412008762359619, 0.15490789711475372, 0.4568546712398529, 0.4338655173778534, -0.04845771938562393, 0.7135237455368042, -0.17899686098098755, 0.2975460886955261, -0.13607585430145264, -0.021435104310512543, -0.15698060393333435, -0.3536215126514435, -0.3152201175689697, -0.03972022607922554, 0.5005340576171875, -0.12965816259384155 ]
http://arxiv.org/abs/2406.12442v1
http://arxiv.org/pdf/2406.12442v1
Abstraction-of-Thought Makes Language Models Better Reasoners
2024-06-18T09:46:44
2024-06-18T09:46:44
Ruixin Hong, Hongming Zhang, Xiaoman Pan, Dong Yu, Changshui Zhang
cs.CL
cs.CL, cs.AI
Abstract reasoning, the ability to reason from the abstract essence of a problem, serves as a key to generalization in human reasoning. However, eliciting language models to perform reasoning with abstraction remains unexplored. This paper seeks to bridge this gap by introducing a novel structured reasoning format called Abstraction-of-Thought (AoT). The uniqueness of AoT lies in its explicit requirement for varying levels of abstraction within the reasoning process. This approach could elicit language models to first contemplate on the abstract level before incorporating concrete details, which is overlooked by the prevailing step-by-step Chain-of-Thought (CoT) method. To align models with the AoT format, we present AoT Collection, a generic finetuning dataset consisting of 348k high-quality samples with AoT reasoning processes, collected via an automated and scalable pipeline. We finetune a wide range of language models with AoT Collection and conduct extensive evaluations on 23 unseen tasks from the challenging benchmark Big-Bench Hard. Experimental results indicate that models aligned to AoT reasoning format substantially outperform those aligned to CoT in many reasoning tasks.
[ -0.48813238739967346, -0.8103282451629639, 0.8565921187400818, -0.13757619261741638, -0.18842187523841858, -0.04566032066941261, -0.009699507616460323, -0.5481784343719482, -0.41619613766670227, 0.3228766918182373, -0.4249129295349121, -0.42805373668670654, -0.637943685054779, -0.07702460885047913, -0.569227397441864, 0.8804633617401123, -0.3518245220184326, -0.4033041298389435, 0.09068583697080612, -0.11670064181089401, -0.34969624876976013, -0.262009859085083, -0.8386649489402771, -0.6221571564674377, 0.20417721569538116, 0.03370785340666771, 0.7045173645019531, 0.7961126565933228, 0.3451862931251526, 0.29582569003105164, 0.03678291663527489, 0.29459667205810547, -0.26153215765953064, -0.009146533906459808, -0.4315626621246338, -0.3043029308319092, -0.7600961327552795, 0.06033074110746384, 0.2822642922401428, 0.974984884262085, -0.18861959874629974, 0.011617656797170639, -0.05791568011045456, 0.8150140047073364, -0.8473727107048035, 0.37037599086761475, -0.5917622447013855, -0.12092670798301697, 0.13633538782596588, 0.20040284097194672, -0.4808605909347534, -0.11558221280574799, 0.17094336450099945, -0.587593138217926, -0.18805404007434845, 0.034505654126405716, 0.5976089239120483, 0.3034871220588684, -0.11744402348995209, -0.21084964275360107, -0.9698965549468994, 0.6312592625617981, -0.5349513292312622, 0.4117308259010315, 0.44911912083625793, 0.22809390723705292, 0.13075780868530273, -0.6894355416297913, -0.5182093381881714, -0.10245873779058456, -0.044604577124118805, -0.030891016125679016, -0.4414835274219513, 0.16155658662319183, 0.19415254890918732, 0.4676823019981384, -0.4011003077030182, -0.1360706388950348, -0.2966122329235077, 0.10487285256385803, 0.4999271035194397, 0.12608623504638672, 0.21892032027244568, 0.04334580898284912, -0.3830011785030365, 0.12714871764183044, -0.5367968082427979, -0.09223531186580658, -0.0002083931613015011, 0.1758447140455246, -0.13548067212104797, 0.35350945591926575, -0.4773372411727905, 0.8620446920394897, 0.16015784442424774, 0.38846448063850403, -0.10184589773416519, -0.26593220233917236, -0.39368075132369995, -0.07090281695127487, 0.660559356212616, 0.07643575966358185, 0.4636251628398895, -0.1465371549129486, -0.4930306077003479, 0.18005910515785217, 0.22928954660892487, -0.6621444821357727, -0.636639416217804, 0.6197713613510132, -0.30323150753974915, -0.09649816155433655, -0.033238962292671204, -0.056514304131269455, -0.15820631384849548, -0.7267865538597107, 0.30480071902275085, -0.6331002116203308, -0.3981916010379791, 0.48489418625831604, -0.01249073725193739, 0.005782640539109707, 0.5683051943778992, -0.7331689596176147, 0.5669096112251282, 0.8647924661636353, 0.633590817451477, -0.3237711787223816, 0.010999432764947414, -0.18868638575077057, -0.014623712748289108, -0.4995984137058258, 1.2631398439407349, -0.6424121856689453, 0.043063919991254807, -0.47314074635505676, -0.52934730052948, 0.03721287101507187, -0.434463232755661, 0.4363378584384918, -0.26401305198669434, 0.021254410967230797, 0.003063343232497573, -0.5083703398704529, -0.06880474835634232, 0.6459713578224182, -0.6808906197547913, 0.8958446383476257, 0.20402519404888153, -0.5284923315048218, 0.11741021275520325, -0.8329533934593201, -0.15228083729743958, 0.10631619393825531, -0.550412118434906, 0.03285204619169235, 0.18382766842842102, 0.3628944754600525, 0.2511633336544037, -0.4100344181060791, 0.2810826301574707, 0.019440392032265663, -0.22609269618988037, 0.10482723265886307, -0.504891037940979, 0.7426972985267639, 0.5696786046028137, -0.3656446039676666, 0.04843780770897865, -0.7831801176071167, 0.3041278123855591, 0.10745294392108917, -0.19430576264858246, -0.4512697756290436, -0.0994282141327858, -0.23101089894771576, 0.5092763304710388, -0.051453255116939545, -0.49351897835731506, 0.20490418374538422, -0.5593670606613159, 0.6412378549575806, 0.7095023393630981, -0.12915177643299103, 0.5085911154747009, -0.3915709853172302, 0.46151021122932434, 0.1155204027891159, -0.13475419580936432, -0.2940821945667267, -0.14225102961063385, -0.6211315989494324, -0.29151883721351624, 0.25639528036117554, 0.3787229359149933, -0.35750311613082886, 0.22090788185596466, -0.17681939899921417, -0.5763913989067078, -0.6604207754135132, -0.23818619549274445, 0.6182231903076172, 0.3985537886619568, 0.35822609066963196, 0.013838998042047024, -0.3959696292877197, -0.8409140706062317, -0.41162532567977905, -0.15468885004520416, -0.05601363629102707, 0.1561131775379181, 0.46316394209861755, 0.06077713519334793, 0.8644497394561768, -0.5026990175247192, 0.09548978507518768, -0.25086256861686707, 0.36921507120132446, -0.044435758143663406, 0.5554627180099487, 0.06944340467453003, -0.6197030544281006, -0.18133527040481567, 0.16373707354068756, -0.6620493531227112, 0.09323950111865997, -0.016767635941505432, -0.43532606959342957, 0.04998856037855148, 0.5697066783905029, -0.7168952822685242, 0.3587821125984192, 0.17218676209449768, -0.247340589761734, 0.5775986313819885, -0.08595778793096542, -0.02113719843327999, -0.7911754250526428, 0.16764183342456818, -0.22121413052082062, -0.27129489183425903, -0.3529684245586395, 0.2854616343975067, -0.08819286525249481, -0.14627332985401154, -0.4688165485858917, 0.7397996187210083, -0.6181369423866272, 0.20342233777046204, -0.35186585783958435, 0.17276950180530548, 0.23175132274627686, 0.5524584650993347, 0.28770020604133606, 0.4089137613773346, 0.5880168676376343, -0.7220538258552551, 0.16434836387634277, 0.21530400216579437, -0.5572875738143921, 0.4659854769706726, -0.697955310344696, 0.43800872564315796, -0.283987820148468, 0.28728142380714417, -0.9103098511695862, -0.04715901240706444, 0.056882765144109726, -0.0879870057106018, 0.011262276209890842, -0.13270257413387299, -0.3477538824081421, -0.11167362332344055, 0.09057626128196716, 0.8105653524398804, 0.39264896512031555, -0.19307972490787506, 0.7048389315605164, 0.4136672914028168, -0.3399200141429901, -0.5635828375816345, -0.5977468490600586, -0.3080890476703644, -0.0803624764084816, -0.32848331332206726, 0.33893218636512756, 0.15693190693855286, -0.6487478017807007, -0.006589004769921303, -0.5729745030403137, -0.09582772105932236, -0.006889993324875832, 0.02329855039715767, 0.12923790514469147, -0.395683228969574, 0.2172219604253769, 0.019978933036327362, -0.30411359667778015, 0.198857843875885, -0.6109416484832764, 0.5649994015693665, -0.4282768964767456, -0.49475574493408203, -0.2907695770263672, 0.4461902379989624, 0.44365811347961426, -0.44854262471199036, 0.356010764837265, 0.049796223640441895, -0.5643382668495178, -0.2640027701854706, -0.33473193645477295, -0.11768918484449387, -0.37520524859428406, 0.27704909443855286, -0.6210525631904602, -0.4708285331726074, 0.3602379262447357, -0.2799432873725891, 0.43210139870643616, 0.27102649211883545, 0.26615506410598755, -0.12462199479341507, 1.2233082056045532, 0.3569817841053009, 0.2162151038646698, 0.2942354679107666, -0.49171724915504456, 0.27277523279190063, -0.7999110221862793, -0.07851120829582214, -0.45069336891174316, -0.41077208518981934, -0.24834778904914856, -0.3835911750793457, 0.06376279890537262, 0.1694430112838745, -0.48391082882881165, 0.17624951899051666, -0.626363217830658, 0.8300605416297913, 0.02247011847794056, 0.15058624744415283, 0.5894788503646851, -0.12942425906658173, -0.13578686118125916, 0.48495256900787354, -0.5564380884170532, -0.8570317625999451, 0.8444453477859497, 0.19572027027606964, 0.7018486261367798, -0.057859137654304504, 0.6355969905853271, 0.00255905045196414, 0.37171411514282227, -0.7779404520988464, 0.557364821434021, -0.12523294985294342, -0.6273696422576904, -0.34627819061279297, -0.12819544970989227, -0.9802679419517517, 0.434061735868454, 0.13691599667072296, -0.7980203032493591, 0.20476078987121582, 0.42745670676231384, -0.5826237797737122, 0.2640927731990814, -0.4551297128200531, 0.8419659733772278, 0.049907319247722626, -0.15750183165073395, -0.17742548882961273, -0.5338798761367798, 0.461819052696228, 0.03510095924139023, 0.5241864919662476, -0.25697600841522217, 0.08283857256174088, 0.4910658299922943, -0.6268085837364197, 0.48183223605155945, 0.11732650548219681, -0.36951419711112976, 0.5863996744155884, 0.4475165009498596, 0.6487911343574524, -0.3197605311870575, -0.22350357472896576, -0.07158149778842926, -0.15165573358535767, -0.3293860852718353, -0.7555311918258667, 0.5593308210372925, -0.35764187574386597, -0.6534273624420166, -0.28065893054008484, -0.8122694492340088, -0.27133384346961975, 0.25385522842407227, 0.28250813484191895, 0.5457802414894104, -0.11160624772310257, -0.10556859523057938, 0.6229263544082642, 0.4872290790081024, 0.26472994685173035, 0.23191796243190765, -0.2307056486606598, 0.18475286662578583, 0.5593032240867615, -0.07991212606430054, 0.6938572525978088, 0.4257248342037201, 0.16791695356369019, -0.2624925673007965, -0.6878462433815002, -0.2842673361301422, -0.04862699285149574, -0.9170451164245605, -0.08894575387239456, -0.9152857065200806, -0.30407458543777466, -0.11280813813209534, -0.006869360338896513, -0.6216923594474792, -0.741082489490509, 0.37843161821365356, -0.2991863489151001, 0.1912832111120224, 0.6059778332710266, 0.16677415370941162, 0.04415057599544525, -0.5494303703308105, 0.503354012966156, 0.22960926592350006, 0.41930580139160156, 0.24199526011943817, -0.35174664855003357, -0.03594134375452995, 0.24373792111873627, -0.4707557260990143, -0.4377535283565521, 0.057490479201078415, 0.06958921253681183, 0.4069799780845642, 0.28432804346084595, 0.125772163271904, 0.7916045784950256, -0.6034314632415771, 0.4641422629356384, -0.05196518078446388, -0.8448672890663147, 0.7025312781333923, -0.3369006812572479, 0.5757809281349182, 0.5576045513153076, 0.35788092017173767, -0.21526595950126648, -0.6316830515861511, -0.7984791994094849, -0.971244752407074, 0.628662645816803, 0.45794540643692017, -0.10778789967298508, -0.3331877887248993, 0.12046505510807037, 0.38217103481292725, 0.0015877294354140759, -0.6712680459022522, -0.10422229021787643, -0.110438272356987, -0.3103189766407013, 0.2455151528120041, 0.37616583704948425, -0.01388977188616991, -0.24703486263751984, 0.39987024664878845, -0.018341124057769775, 0.23855413496494293, 0.12507648766040802, -0.2108089029788971, -0.057668931782245636, 0.5444508194923401, 0.25903773307800293, 0.8271108269691467, -0.00003686846321215853, 0.41044846177101135, -0.10767625272274017, -0.30084919929504395, 0.16423648595809937, 0.0001533031463623047, -0.08542514592409134, -0.20563310384750366, 0.27631789445877075, 0.798237681388855, 0.16640563309192657, -0.7874851822853088, 0.20234866440296173, 0.14971980452537537, -0.22091631591320038, -0.16470292210578918, 0.3378906548023224, 0.11735605448484421, 0.07234276086091995, 0.14897854626178741, 0.42562875151634216, 0.39405760169029236, -0.6840347051620483, 0.045991308987140656, 0.3517872095108032, -0.3984842002391815, -0.1539173722267151, 0.6113219857215881, 0.14439110457897186, -0.17932479083538055, 0.7629303932189941, -0.023817045614123344, -0.06083917245268822, 0.583922803401947, 0.6088581085205078, 0.82563716173172, -0.049779973924160004, -0.13672085106372833, 0.29119789600372314, 0.18317413330078125, -0.3845665752887726, 0.4785003662109375, -0.2831953465938568, -0.7480096817016602, -0.6173662543296814, -0.5971764922142029, -0.10724231600761414, 0.4565771520137787, -0.5932616591453552, 0.17750431597232819, -0.49524715542793274, 0.009810443967580795, 0.21984967589378357, -0.44315144419670105, -0.7075794339179993, 0.35252895951271057, 0.1702340841293335, 1.0493298768997192, -0.8276167511940002, 0.5918248295783997, 0.7181047797203064, -0.43398517370224, -1.0616835355758667, -0.0058386363089084625, -0.20724782347679138, -0.6098712682723999, 0.5551925301551819, 0.20961076021194458, -0.49449753761291504, 0.3507874011993408, -0.4306142032146454, -0.716727077960968, 0.7653905749320984, 0.4984365999698639, -0.5347650647163391, -0.2525699734687805, -0.07009663432836533, 0.35557639598846436, -0.6257903575897217, 0.20544566214084625, 0.9004331827163696, 0.43618008494377136, 0.18853729963302612, -0.8443742394447327, 0.19701501727104187, -0.41651684045791626, -0.1505833864212036, 0.4391731917858124, -0.1964208036661148, 0.9992852210998535, -0.35713911056518555, -0.3972014784812927, -0.0077935173176229, 0.4825950860977173, 0.7534139752388, 0.1453944593667984, 0.477957546710968, 0.6244246363639832, 0.7248948216438293, -0.10803519934415817, 1.1716338396072388, -0.01929684542119503, -0.14673465490341187, 1.3840495347976685, -0.05254099890589714, 0.9190942049026489, 0.25665903091430664, -0.15224020183086395, 0.8526937365531921, 0.39212676882743835, 0.6078410744667053, 0.4977136254310608, 0.18954361975193024, -0.15040801465511322, -0.5444811582565308, 0.26658570766448975, -0.2249687910079956, 0.5580212473869324, 0.48264357447624207, -0.1898447573184967, -0.33386483788490295, -0.06641466915607452, -0.09161116927862167, 0.37518009543418884, -0.632486879825592, 0.8980705738067627, 0.27230069041252136, -0.9345325231552124, 0.7582368850708008, -0.20440036058425903, 0.2949536144733429, -0.2574506998062134, -0.28293582797050476, -0.12243315577507019, 0.26359444856643677, -0.18302179872989655, -0.8919157385826111, 0.4208553433418274, 0.06933166831731796, -0.2079673707485199, -0.4052392542362213, 0.5383728742599487, -0.33306920528411865, -0.4226216971874237, -0.19095221161842346, 0.7510247230529785, 0.4921574890613556, -0.3676433563232422, -0.6682296395301819, -0.1202264353632927, -0.3875865638256073, -0.24438968300819397, 0.12674149870872498, 0.8357918858528137, -0.47716403007507324, 0.7310421466827393, 0.41723835468292236, 0.016485080122947693, -0.2649301290512085, 0.11614461243152618, 0.8260877132415771, -0.5831745266914368, -0.7031906247138977, -1.090335726737976, 0.8568978309631348, 0.08532032370567322, -0.1678575873374939, 0.18034523725509644, 0.6023231148719788, 0.7507840991020203, -0.05110950395464897, 0.855852484703064, -0.009711232036352158, 0.27643927931785583, -0.5767726302146912, 0.6613858938217163, -0.2609284818172455, 0.2985326647758484, -0.3329140245914459, -0.7251946926116943, -0.07038497179746628, 0.9128831028938293, -0.4276232123374939, 0.2504902780056, 0.9815413951873779, 0.26484212279319763, -0.5060411095619202, 0.22861348092556, 0.09295933693647385, 0.1901765912771225, 0.21113382279872894, 0.8131481409072876, 0.9319171905517578, -0.47350189089775085, 0.36050945520401, -0.0024812996853142977, -0.23223847150802612, 0.2162502259016037, -1.0810860395431519, -0.6005171537399292, -0.5676732063293457, -0.484770268201828, -0.03507983312010765, -0.018632343038916588, 1.0312789678573608, 0.6877410411834717, -0.7683503031730652, -0.0830475464463234, -0.7806313037872314, -0.03537111356854439, -0.6844465732574463, -0.16598059237003326, 0.47376710176467896, -0.30514323711395264, -0.695600152015686, 0.20969508588314056, 0.2673545777797699, 0.022153731435537338, -0.05800367519259453, 0.03237888216972351, -0.23865914344787598, 0.2930491268634796, 0.7132565379142761, 0.20990577340126038, -0.9726142883300781, -0.14997711777687073, -0.19260835647583008, -0.07463546842336655, 0.19795306026935577, 0.8154611587524414, -1.0182894468307495, 0.28064611554145813, 0.3162164092063904, 0.36980336904525757, 0.31461772322654724, 0.2201004922389984, 0.724916398525238, -0.7177894711494446, 0.22359974682331085, 0.48668184876441956, 0.3941367268562317, 0.07081935554742813, -0.20221638679504395, 0.4831046164035797, -0.3100886642932892, -0.2781844735145569, -0.802061140537262, 0.5165097117424011, -0.811018168926239, -0.5754220485687256, 0.9037060141563416, -0.169149711728096, -0.18244697153568268, -0.44463178515434265, -0.2993471920490265, 0.177493155002594, -0.310148686170578, 0.937309205532074, 0.8593788146972656, -0.5902774930000305, -0.33191531896591187, -0.289421021938324, 0.5632404088973999, 0.32735520601272583, -1.0292223691940308, 0.5437222719192505, 0.49136707186698914, 0.131947323679924, 0.2252017706632614, 0.943829357624054, -0.4407874345779419, 0.42357367277145386, 0.03632146120071411, -0.18471229076385498, -0.32661283016204834, -0.32114264369010925, -0.01574280858039856, 0.2515350878238678, 0.19433218240737915, -0.010795554146170616 ]
http://arxiv.org/abs/2406.12430v1
http://arxiv.org/pdf/2406.12430v1
PlanRAG: A Plan-then-Retrieval Augmented Generation for Generative Large Language Models as Decision Makers
2024-06-18T09:25:35
2024-06-18T09:25:35
Myeonghwa Lee, Seonho An, Min-Soo Kim
cs.CL
cs.CL, cs.AI, cs.LG, I.2.7
In this paper, we conduct a study to utilize LLMs as a solution for decision making that requires complex data analysis. We define Decision QA as the task of answering the best decision, $d_{best}$, for a decision-making question $Q$, business rules $R$ and a database $D$. Since there is no benchmark that can examine Decision QA, we propose Decision QA benchmark, DQA. It has two scenarios, Locating and Building, constructed from two video games (Europa Universalis IV and Victoria 3) that have almost the same goal as Decision QA. To address Decision QA effectively, we also propose a new RAG technique called the iterative plan-then-retrieval augmented generation (PlanRAG). Our PlanRAG-based LM generates the plan for decision making as the first step, and the retriever generates the queries for data analysis as the second step. The proposed method outperforms the state-of-the-art iterative RAG method by 15.8% in the Locating scenario and by 7.4% in the Building scenario, respectively. We release our code and benchmark at https://github.com/myeon9h/PlanRAG.
[ -0.47079741954803467, -0.8861491084098816, 0.5531617999076843, 0.3828793168067932, -0.19127175211906433, 0.2306477278470993, -0.13998869061470032, -0.1538546234369278, 0.38216614723205566, 0.5969665050506592, -0.45423585176467896, -0.5872611999511719, -0.07640591263771057, -0.11127003282308578, -0.3306299149990082, 0.7188754081726074, -0.4120764434337616, 0.08280465751886368, 0.019205180928111076, 0.03838317468762398, -0.6752841472625732, -0.4065442383289337, -1.2032546997070312, -0.17834879457950592, 0.36805006861686707, 0.31014519929885864, 0.6457531452178955, 0.3252611458301544, 0.42997461557388306, 0.34741777181625366, -0.11417093873023987, 0.41418740153312683, -0.6177868843078613, 0.41307881474494934, -0.10996358096599579, -0.6976045966148376, -0.6406135559082031, -0.29467347264289856, 0.4118858873844147, 0.3675193786621094, -0.4346514940261841, 0.47040948271751404, -0.2607141435146332, 0.9761423468589783, -0.8339253664016724, 0.16905780136585236, -0.6640950441360474, 0.4166339635848999, -0.32337814569473267, -0.46494969725608826, -0.37076374888420105, -0.3333645761013031, -0.23619063198566437, -0.5891064405441284, 0.18359558284282684, 0.5185377597808838, 0.6055073142051697, 0.5237194895744324, -0.20576053857803345, -0.45455220341682434, -0.9647142291069031, 0.5143522024154663, -0.5758829712867737, 0.3271266222000122, 0.3151172995567322, 0.7324160933494568, -0.60630202293396, -0.8573296070098877, -0.7956530451774597, -0.014412141405045986, 0.21731474995613098, 0.2226255089044571, -0.2650861144065857, 0.058168746531009674, 0.4807750880718231, 0.12364958226680756, -0.5867823958396912, 0.1351862996816635, -0.4609817862510681, 0.20872274041175842, 0.8367916345596313, 0.3677615821361542, 0.20109513401985168, -0.3909837603569031, -0.4226771891117096, -0.11811195313930511, -0.9266767501831055, 0.039585474878549576, 0.17271380126476288, 0.029183685779571533, 0.240054190158844, 0.9823223352432251, -0.400774210691452, 0.6157445311546326, 0.039081551134586334, -0.30255410075187683, 0.08849446475505829, -0.09107444435358047, -0.40797561407089233, 0.19783255457878113, 0.6733366250991821, 0.4184669852256775, 0.11820700764656067, -0.1680162101984024, -0.44557949900627136, 0.25123152136802673, 0.4335806369781494, -0.8716716170310974, -0.4145454168319702, 0.3520840108394623, -0.48770684003829956, -0.19466422498226166, -0.3290495276451111, -0.9596976637840271, -0.32224759459495544, -0.25275468826293945, 0.41003960371017456, -0.11960914731025696, -0.18913772702217102, 0.32121825218200684, 0.09378660470247269, 0.5295534133911133, 0.1758565455675125, -0.5676180124282837, 0.27308130264282227, 0.603163480758667, 0.5904204845428467, -0.42549920082092285, -0.0769345685839653, -0.7609028220176697, 0.28650355339050293, -0.907975971698761, 1.2001607418060303, -0.3299214243888855, -0.5374666452407837, 0.006608164869248867, -0.511031448841095, 0.03676280006766319, -0.922753095626831, 1.071511149406433, -0.8671069145202637, 0.2651686668395996, -0.2178928554058075, -0.5687819123268127, -0.1422816514968872, 0.3535477817058563, -0.7720270156860352, 1.0230507850646973, -0.09421757608652115, -0.6459496021270752, 0.5415235161781311, -0.5202928781509399, -0.2057611495256424, 0.300301194190979, -0.5481494069099426, -0.6381802558898926, 0.03004544787108898, 0.1153479665517807, 0.510799765586853, -0.46212249994277954, 0.5057091116905212, -0.2521360516548157, -0.2366875559091568, 0.16491976380348206, -0.22977899014949799, 0.5044113993644714, 0.22535747289657593, -0.34675151109695435, 0.37488481402397156, -0.57485032081604, 0.4992797076702118, 0.1702970266342163, -0.724021852016449, -0.0034698364324867725, 0.4285888969898224, -0.07042377442121506, 0.3002606928348541, 0.021363431587815285, -0.1565207988023758, 0.42106008529663086, 0.11460113525390625, -0.10909901559352875, 0.5241198539733887, -0.1541295200586319, 0.3190078139305115, -0.49702733755111694, 0.8260601162910461, -0.5146986842155457, -0.06475076079368591, 0.37959328293800354, -0.2643043100833893, -0.8813914060592651, -0.3202246427536011, 0.3621496558189392, 0.5226715207099915, -1.1534065008163452, 0.14675545692443848, -0.2393302172422409, -0.4527117609977722, -0.40446609258651733, -0.2241026610136032, 0.418956458568573, 0.31318554282188416, 0.3783983886241913, 0.15225546061992645, -0.8619856834411621, -0.6916074752807617, -0.2212948203086853, -0.30467769503593445, -0.10987871885299683, 0.1505374312400818, 0.23896707594394684, -0.2968701422214508, 0.8825005292892456, -0.6185886263847351, -0.39873194694519043, -0.5679207444190979, -0.04918192699551582, 0.36550360918045044, 0.0637778714299202, 0.3945607542991638, -1.0294877290725708, -0.41118019819259644, -0.2607611119747162, -0.7367410063743591, -0.16468064486980438, -0.05342286452651024, -0.33578258752822876, 0.20617793500423431, 0.5425377488136292, -1.0314950942993164, 0.38238561153411865, 0.38635939359664917, -0.4372046887874603, 0.9330660700798035, -0.2501932680606842, 0.2170683890581131, -1.2508472204208374, 0.11827190220355988, -0.2600885331630707, -0.12750831246376038, -0.5972623229026794, 0.18095196783542633, -0.05090383440256119, -0.08622696250677109, -0.1983477622270584, 0.6211047172546387, -0.45834141969680786, -0.4440276324748993, -0.17680466175079346, 0.23208653926849365, -0.11748658120632172, 0.46305349469184875, -0.07363366335630417, 1.0917832851409912, 0.24806304275989532, -0.9193683862686157, 0.3189134895801544, 0.47101643681526184, -0.6476356387138367, 0.6019089818000793, -0.6930869817733765, -0.08523891121149063, -0.3311169445514679, 0.367918461561203, -0.7592638731002808, -0.24984872341156006, 0.2874782085418701, -0.3228120505809784, 0.3773232102394104, -0.0023766930680722, -0.5228541493415833, -0.4525389075279236, -0.29063037037849426, 0.26507362723350525, 0.42914295196533203, -0.6448588371276855, 0.7909230589866638, 0.8411784172058105, -0.2963874042034149, -0.4697786271572113, -0.13717155158519745, 0.08266603946685791, -0.4816858470439911, -0.5122859477996826, 0.8178675770759583, -0.38396111130714417, -0.6588090658187866, -0.09194477647542953, -0.14366263151168823, -0.14187641441822052, -0.11951275914907455, 0.1458769291639328, 0.3411465287208557, -0.033464930951595306, 0.12275335937738419, -0.008011667057871819, -0.3263789713382721, 0.2340070605278015, 0.1173577681183815, 0.6834014654159546, 0.10068761557340622, -0.18176916241645813, -0.012264040298759937, 0.30897319316864014, 0.3741489350795746, -0.4826529920101166, 0.21793696284294128, 0.3189312517642975, -0.2917381227016449, -0.7094722986221313, -0.5681625604629517, 0.2912517786026001, -0.4785693883895874, 0.45964908599853516, -0.7679509520530701, -0.5770436525344849, 0.4746631979942322, -0.44886311888694763, 0.26414626836776733, 0.3853823244571686, 0.6908398270606995, -0.35135573148727417, 0.9647063612937927, 0.39625808596611023, 0.02052609622478485, 0.22990253567695618, -0.4353496730327606, 0.2456054389476776, -0.8419061303138733, -0.3741077780723572, -0.5899962186813354, -0.5594934225082397, -0.49097588658332825, -0.8839870691299438, 0.701323390007019, 0.637052059173584, -0.2011605203151703, 0.030347980558872223, -0.18159213662147522, 0.31627941131591797, 0.33408358693122864, -0.04880516231060028, 0.3475460410118103, -0.15142540633678436, -0.039433132857084274, 0.027188455685973167, -0.930845320224762, -0.5213379859924316, 1.0046824216842651, -0.1262345165014267, 0.7622304558753967, 0.31795594096183777, 0.8733282089233398, 0.20154716074466705, 0.24665217101573944, -0.8995581865310669, 0.8179317116737366, 0.16171099245548248, -0.4170702397823334, -0.24652034044265747, -0.6047898530960083, -1.2557973861694336, 0.5204735398292542, -0.44818443059921265, -0.3684976100921631, -0.031843144446611404, -0.11501823365688324, -0.43962496519088745, 0.4969516396522522, -0.24373145401477814, 0.6275522708892822, -0.42571741342544556, -0.3657182455062866, -0.21693433821201324, -0.055400680750608444, 0.37537816166877747, -0.09985793381929398, 0.290060818195343, -0.14861658215522766, -0.1332954615354538, 0.7628822326660156, -0.3659808039665222, 0.14932025969028473, -0.16829340159893036, -0.031092721968889236, 0.4108157157897949, 0.25035905838012695, 0.8307896256446838, -0.06637538224458694, -0.2202083021402359, -0.3329675495624542, -0.06274111568927765, -0.07848845422267914, -0.6247979998588562, 0.4910474121570587, -0.44081106781959534, -0.5496066212654114, -0.22249415516853333, -0.33723506331443787, -0.22185705602169037, 0.18725766241550446, 0.23028390109539032, 0.3905906677246094, -0.1906166970729828, 0.015023930929601192, 0.6995874047279358, -0.2746126651763916, 0.5422704815864563, 0.6625989079475403, -0.6875624656677246, -0.3466060757637024, 0.7226377129554749, 0.15037710964679718, -0.2940240502357483, 0.484603613615036, 0.11786063760519028, -0.4968763291835785, -0.8176987171173096, -0.5795416235923767, 0.16815967857837677, -0.33236196637153625, -0.5281673669815063, -0.4360913038253784, -0.018865903839468956, 0.27860143780708313, -0.07850249856710434, -0.4652598798274994, -0.24879226088523865, -0.008140946738421917, -0.14507047832012177, 0.051544975489377975, 0.7537621855735779, 0.16812869906425476, -0.03432965651154518, -0.5111083984375, 0.6921178102493286, 0.25506100058555603, 0.329334020614624, -0.30462348461151123, 0.010586380958557129, 0.06999717652797699, -0.1138017401099205, -0.18555442988872528, -0.8587811589241028, 0.5679178237915039, -0.25305771827697754, 0.7554388046264648, 0.01362770888954401, 0.3805105984210968, 0.7396726012229919, -0.640729546546936, 0.30735230445861816, -0.1861599236726761, -0.5774587988853455, 0.41590118408203125, -0.2918543815612793, 0.10455489903688431, 0.5873582363128662, 0.21666832268238068, -0.2841164171695709, 0.04075431823730469, -0.4390715956687927, -0.8709077835083008, 0.4349658489227295, 0.20821885764598846, -0.24976800382137299, 0.054383471608161926, 0.41619643568992615, -0.16121388971805573, 0.2724069356918335, -0.4310150742530823, -0.39137518405914307, 0.5265275239944458, 0.14012804627418518, 0.07887466251850128, -0.5645292401313782, 0.021901000291109085, 0.015678642317652702, 0.6966150403022766, -0.12947218120098114, 0.29159483313560486, 0.039113402366638184, 0.1484394073486328, -0.16137617826461792, 0.3579636514186859, 0.27578455209732056, 0.9527196288108826, -0.07223071902990341, -0.06712290644645691, 0.31075942516326904, -0.012097587808966637, -0.022744126617908478, 0.21478122472763062, -0.40653422474861145, 0.17366600036621094, 0.14792491495609283, 0.7649794220924377, 0.25992438197135925, -0.8479429483413696, 0.2750553786754608, -0.30875977873802185, -0.19230157136917114, -0.5644150972366333, 0.018200719729065895, 0.007920629344880581, 0.6894057393074036, 0.37515386939048767, -0.10762568563222885, 0.34844017028808594, -0.32336434721946716, 0.26059097051620483, 0.5551407933235168, 0.08874660730361938, 0.05847667530179024, 0.7430390119552612, 0.05801534652709961, -0.4760126769542694, 0.4397558271884918, -0.5889440774917603, -0.6468830108642578, 0.5091292858123779, 0.5059674382209778, 0.9456172585487366, -0.1408177763223648, 0.5225651264190674, 0.47174951434135437, 0.04754852131009102, -0.19340674579143524, 0.803256630897522, -0.051009345799684525, -0.6668087244033813, -0.6310117244720459, -0.8297780752182007, -0.4302193820476532, -0.10214215517044067, -0.5410929918289185, 0.3678869903087616, -0.24740777909755707, -0.13186824321746826, -0.4090692698955536, 0.29008767008781433, -0.6871822476387024, 0.1608041375875473, -0.052914950996637344, 0.7654271721839905, -0.00697888620197773, 0.6137061715126038, 0.6578673720359802, -0.035509586334228516, -1.0350525379180908, 0.003718991531059146, -0.1677354872226715, -0.5903304815292358, 0.7628283500671387, -0.10748176276683807, -0.22491388022899628, -0.03498172387480736, -0.25900211930274963, -0.935769259929657, 1.37445068359375, 0.3176403343677521, -0.7120940089225769, -0.09870117902755737, -0.11247390508651733, 0.4629962742328644, -0.15266776084899902, 0.16836340725421906, 0.5156471133232117, 0.4328201115131378, 0.2710582911968231, -0.7930031418800354, -0.020987678319215775, -0.22565077245235443, 0.04186636209487915, 0.541551947593689, -0.5187444090843201, 0.9418914914131165, -0.5551129579544067, -0.6083231568336487, 0.01213574968278408, 0.5871604084968567, 0.8158211708068848, 0.3080827295780182, 0.3269810974597931, 0.8702830076217651, 0.9487057328224182, 0.025215916335582733, 1.1734402179718018, -0.18810760974884033, 0.3149608373641968, 1.2867244482040405, -0.28506410121917725, 1.4368218183517456, 0.20079487562179565, -0.4840534031391144, 0.2531599998474121, 0.6410797834396362, 0.31065016984939575, 0.4650544226169586, 0.4668744206428528, -0.3035590648651123, -0.1673087179660797, 0.00269598257727921, -0.38077256083488464, 0.732067346572876, 0.41493070125579834, -0.030625028535723686, -0.2543262243270874, -0.3803355097770691, 0.27256280183792114, -0.07788147777318954, -0.529513955116272, 0.8994660377502441, -0.21671755611896515, -0.7554567456245422, 0.6955893039703369, 0.07114677131175995, 0.5570403337478638, -0.5751911997795105, -0.09281855076551437, -0.41059261560440063, 0.1541222482919693, -0.24931100010871887, -0.7723203897476196, 0.29335537552833557, -0.02882433868944645, -0.21482212841510773, -0.15230253338813782, 0.625883162021637, -0.47958675026893616, -0.5163360238075256, 0.2654893398284912, 0.6476497054100037, 0.08087555319070816, -0.18168067932128906, -0.6653764843940735, 0.3670348823070526, 0.05296261981129646, -0.3375301659107208, 0.13727827370166779, 0.3629727065563202, -0.16024339199066162, 0.9370537400245667, 0.5983324646949768, 0.1966177523136139, 0.12997986376285553, -0.08165031671524048, 0.9572622776031494, -0.630179762840271, -0.2903643548488617, -0.5903364419937134, 0.22905147075653076, -0.08283555507659912, -0.14745967090129852, 0.582832396030426, 0.8642681241035461, 0.9061094522476196, 0.06436260789632797, 0.6709252595901489, -0.14026007056236267, 0.4821876287460327, -0.9437969923019409, 0.6615854501724243, -0.35364025831222534, 0.4287266135215759, -0.04905593395233154, -1.371800184249878, -0.30249515175819397, 0.5540544390678406, -0.27560606598854065, -0.03620290011167526, 0.6111025810241699, 0.8735471367835999, 0.23765406012535095, -0.11084190756082535, 0.29457002878189087, 0.09676826000213623, 0.5760430693626404, 0.597149670124054, 0.8765580654144287, -0.3433993458747864, 0.545540988445282, -0.02928265556693077, -0.1426123082637787, -0.06853384524583817, -0.5742102265357971, -0.8160924911499023, -0.5005198121070862, -0.12254826724529266, -0.1620088815689087, -0.0009896507253870368, 0.7869114875793457, 0.47036245465278625, -0.5377580523490906, -0.44713813066482544, -0.1139526218175888, 0.27537891268730164, 0.0037940095644444227, -0.2234213799238205, 0.5272480845451355, -0.5176647305488586, -0.6873753070831299, 0.5774859189987183, 0.2513977289199829, -0.20379243791103363, -0.2659561336040497, -0.31497853994369507, -0.11287921667098999, -0.15130415558815002, 0.8664101362228394, 0.22664004564285278, -0.539501428604126, 0.12371125817298889, -0.23456215858459473, -0.05717338249087334, -0.03809231147170067, 1.0331268310546875, -0.9827460646629333, 0.6120802164077759, 0.5583555102348328, 0.857579231262207, 0.8505684733390808, -0.08320873975753784, 0.5920299887657166, -0.19431491196155548, -0.29638609290122986, 0.2670138478279114, 0.3920484185218811, 0.1921156346797943, -0.04668925702571869, 0.7812948226928711, -0.36349377036094666, -0.6576077342033386, -0.5122299790382385, 0.2467128038406372, -0.8019336462020874, -0.24466538429260254, 1.2611054182052612, 0.1713780164718628, -0.12885990738868713, 0.011690405197441578, -0.7278635501861572, 0.06787313520908356, -0.2321733832359314, 0.9125958681106567, 0.18137674033641815, -0.34915828704833984, -0.03866809606552124, -0.8298888802528381, 0.910872220993042, 0.30687960982322693, -1.2774317264556885, 0.006773392204195261, 0.797391414642334, -0.10958057641983032, 0.058378685265779495, 0.8230332732200623, 0.008420032449066639, 0.04037756472826004, -0.04413476213812828, 0.016201842576265335, 0.09326238930225372, -0.43999236822128296, 0.11397551745176315, 0.45915982127189636, 0.070560023188591, -0.30551406741142273 ]
http://arxiv.org/abs/2406.12428v1
http://arxiv.org/pdf/2406.12428v1
PSLM: Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems
2024-06-18T09:23:54
2024-06-18T09:23:54
Kentaro Mitsui, Koh Mitsuda, Toshiaki Wakatsuki, Yukiya Hono, Kei Sawada
cs.CL
cs.CL, cs.AI, cs.LG, cs.SD, eess.AS
Multimodal language models that process both text and speech have a potential for applications in spoken dialogue systems. However, current models face two major challenges in response generation latency: (1) generating a spoken response requires the prior generation of a written response, and (2) speech sequences are significantly longer than text sequences. This study addresses these issues by extending the input and output sequences of the language model to support the parallel generation of text and speech. Our experiments on spoken question answering tasks demonstrate that our approach improves latency while maintaining the quality of response content. Additionally, we show that latency can be further reduced by generating speech in multiple sequences. Demo samples are available at https://rinnakk.github.io/research/publications/PSLM.
[ -0.25042566657066345, -0.7283647656440735, 0.8031989336013794, 0.10293326526880264, -0.31361594796180725, 0.41998228430747986, 0.02897043153643608, -0.2495543360710144, 0.1226213350892067, 0.6814860105514526, -0.8613512516021729, -0.16469170153141022, -0.32900339365005493, 0.24675872921943665, -0.32273876667022705, 1.005571961402893, 0.2369198352098465, 0.19828197360038757, -0.5035992860794067, 0.05428742617368698, -0.08870993554592133, -0.9313430190086365, -0.5811555981636047, -0.2621602714061737, 0.6314310431480408, 0.4147137403488159, 0.6154484152793884, 0.08568624407052994, 0.648753821849823, 0.27638760209083557, -0.020125769078731537, 0.34061139822006226, -0.531036913394928, 0.857434093952179, 0.0865197405219078, -0.25911468267440796, -0.6303162574768066, -0.4507124125957489, 0.9294028878211975, 0.6876937747001648, -0.15052726864814758, 0.22322076559066772, 0.02462669461965561, 0.48804059624671936, -0.3040296137332916, 0.0192575566470623, -0.4775662124156952, 0.2164219319820404, -0.4013437032699585, -0.3481563925743103, -0.4282127320766449, -0.3998185992240906, 0.09383758902549744, -0.2251407653093338, 0.21450220048427582, 0.17327666282653809, 0.47057482600212097, 0.193060502409935, -0.13358823955059052, -0.1649356186389923, -0.9175856709480286, 0.9226340055465698, -1.1671338081359863, 0.24641968309879303, 0.1142752468585968, 0.36063167452812195, -0.10548864305019379, -0.95694500207901, -0.8095560073852539, -0.13938862085342407, -0.0069683268666267395, 0.24908195436000824, 0.02470399998128414, 0.2625557780265808, 0.5809539556503296, 0.4035058617591858, -0.8671544194221497, -0.17134536802768707, -0.410643607378006, -0.3334887623786926, 0.6048370599746704, 0.8045933246612549, 0.12644609808921814, -0.22657068073749542, -0.14429880678653717, 0.28547412157058716, -0.602057695388794, 0.11315782368183136, 0.6896301507949829, 0.6664630174636841, -0.06591078639030457, 0.8366212248802185, -0.28712597489356995, 0.8720489144325256, -0.3561260998249054, -0.6535354852676392, 0.22477176785469055, -0.6580567359924316, -0.17038489878177643, -0.1461157202720642, 0.8704928755760193, 0.2715604305267334, -0.1997213363647461, 0.05962057411670685, -0.350431889295578, 0.28334152698516846, 0.04768764600157738, -0.9338334798812866, -0.018430033698678017, 0.2589287757873535, -0.5443564653396606, -0.23445001244544983, -0.25134310126304626, -0.8325037360191345, -0.2274058312177658, -0.3034035563468933, -0.009257513098418713, -0.15152394771575928, -0.1498507857322693, 0.12978634238243103, 0.015196728520095348, 0.03899313136935234, 0.3532138168811798, -0.6735945343971252, 0.6411604285240173, 0.26560720801353455, 0.8731523156166077, -0.2990400791168213, -0.19080254435539246, -0.8993808031082153, 0.20699137449264526, -0.02487931400537491, 0.7128058671951294, -0.47843900322914124, -0.5411521792411804, -0.11867731064558029, -0.11517500132322311, -0.012996425852179527, -0.37971335649490356, 0.41637805104255676, -0.4658045768737793, 0.5279276967048645, -0.20652930438518524, -0.5107020139694214, 0.2790609300136566, -0.21016797423362732, -0.37713247537612915, 0.999244749546051, -0.08897032588720322, -0.9243772029876709, -0.37130263447761536, -0.514941394329071, -0.5958884954452515, 0.14808379113674164, -0.34270408749580383, -0.4481568932533264, 0.20819717645645142, 0.11046577244997025, 0.41506966948509216, -0.5973464250564575, 0.3907158672809601, -0.2261067032814026, -0.2743802070617676, 0.16971351206302643, -0.45692551136016846, 0.3987785279750824, 0.48228511214256287, -0.027448108419775963, 0.34173378348350525, -0.9704312682151794, 0.0386202409863472, 0.36577004194259644, -0.5514035224914551, 0.2322814166545868, 0.46823960542678833, 0.12190429866313934, 0.46862682700157166, 0.23527264595031738, -0.7259167432785034, -0.0617697574198246, -0.3908470571041107, 0.4930342435836792, 0.5722000002861023, 0.04063154757022858, 0.27323272824287415, -0.6284247636795044, 0.612188458442688, 0.06390688568353653, -0.0004486891266424209, -0.6220618486404419, -0.7623604536056519, -0.701789379119873, -0.040616653859615326, -0.29921260476112366, 0.7259997129440308, -1.062270164489746, -0.004210372921079397, 0.03749814257025719, -0.34159836173057556, -0.41426342725753784, 0.15217533707618713, 0.46436595916748047, 0.8547105193138123, 0.17102591693401337, -0.40010717511177063, -0.8086870312690735, -0.9088818430900574, -0.03958640247583389, -0.38380712270736694, -0.16319264471530914, 0.5336000919342041, -0.17575770616531372, 0.052710793912410736, 1.0720783472061157, -0.5848614573478699, 0.20196618139743805, -0.321767121553421, 0.017298879101872444, 0.1732049584388733, 0.12605582177639008, 0.3086424171924591, -0.5955331325531006, -0.3719637989997864, -0.3010008931159973, -0.7799789905548096, -0.41423895955085754, 0.13253726065158844, 0.26414260268211365, 0.23485620319843292, 0.4290800094604492, -0.5372317433357239, 0.16005872189998627, 0.7805700302124023, -0.03109590895473957, 0.6693913340568542, -0.07008063048124313, 0.07778895646333694, -1.2124826908111572, -0.03942238539457321, -0.40495923161506653, -0.5936024785041809, -0.9776306748390198, -0.2678976356983185, -0.31595367193222046, -0.918889045715332, -0.8329380750656128, 0.21659979224205017, -0.23925310373306274, -0.6456954479217529, -0.43223389983177185, 0.43017709255218506, 0.20430146157741547, 0.555806577205658, -0.017749153077602386, 1.0883986949920654, 0.49223390221595764, -0.5667951703071594, 0.6901126503944397, 0.11922191828489304, -0.26806125044822693, 0.3425312936306, -0.7829952239990234, 0.4159698188304901, -0.1992567628622055, 0.22694648802280426, -1.3182555437088013, -0.09630220383405685, 0.20909123122692108, -0.29694581031799316, -0.04334993660449982, 0.37380993366241455, -0.7094763517379761, -0.5366174578666687, 0.0026274025440216064, 0.3344630002975464, 0.5761239528656006, -0.10208970308303833, 0.44625169038772583, 0.2606227695941925, -1.0026031732559204, -0.15949681401252747, -0.5930255055427551, -0.11535371840000153, 0.04302893206477165, -0.785270631313324, 0.0814901664853096, -0.32573553919792175, -0.2724948227405548, -0.1886407434940338, 0.19377347826957703, 0.2625387907028198, -0.25470268726348877, 0.179390087723732, 0.21042852103710175, -0.522652804851532, 0.1565917283296585, 0.273870587348938, 0.06383964419364929, -0.22946292161941528, -0.22309039533138275, 0.9296489953994751, -0.09046024084091187, -0.5594433546066284, -0.5981515049934387, 0.8687552213668823, 0.7676935195922852, -0.2764718234539032, 0.5609761476516724, 0.3955174386501312, -0.13571685552597046, 0.2166227400302887, -0.29944300651550293, -0.2986961305141449, -0.4680253267288208, 0.3193570673465729, -0.44781917333602905, -1.1339435577392578, 0.4299301207065582, -0.03522224724292755, 0.013212999328970909, 0.1286987066268921, 0.8287353515625, -0.20940887928009033, 1.0784893035888672, 0.5337731838226318, 0.21610905230045319, 0.43828198313713074, 0.4116969704627991, 0.3677011728286743, -0.7522685527801514, -0.13496775925159454, -0.446010947227478, -0.06920791417360306, -0.2825195789337158, -0.6687270998954773, 0.16203805804252625, -0.007931175641715527, -0.11031463742256165, 0.13536714017391205, -0.2694225609302521, -0.07793068140745163, 0.534045398235321, 0.10963060706853867, 0.5013236999511719, 0.17990417778491974, -0.3382083475589752, -0.3685302734375, -0.8472068309783936, -0.7192699909210205, 0.7847889065742493, 0.3821655809879303, 0.6644737124443054, 0.25137972831726074, 0.6492530107498169, 0.22024445235729218, -0.009284698404371738, -0.4215773344039917, 0.7891807556152344, -0.2063884139060974, -0.28553739190101624, -0.4873270094394684, -0.4158462584018707, -0.5316940546035767, 0.35211676359176636, -0.09799601137638092, -0.6817294359207153, -0.21502146124839783, 0.038114774972200394, -0.5859266519546509, 0.30258139967918396, -0.5056759119033813, 0.21673204004764557, -0.16818441450595856, -0.39805880188941956, -0.07147032767534256, -0.7994674444198608, 0.35754382610321045, -0.13215139508247375, -0.007949712686240673, -0.336130827665329, -0.015359744429588318, 0.7194996476173401, -0.6028918623924255, 0.9331724047660828, -0.09011183679103851, -0.27584904432296753, 0.26596513390541077, -0.15718790888786316, 0.6724610328674316, 0.07938359677791595, -0.08219640702009201, -0.17387807369232178, -0.3021545708179474, -0.4640645384788513, -0.42156726121902466, 0.708644688129425, -0.5823552012443542, -0.7403644323348999, -0.3059457838535309, -0.900642454624176, -0.41726717352867126, 0.20061950385570526, 0.15145456790924072, 0.5004934072494507, 0.10085608810186386, -0.13808183372020721, 0.5834616422653198, -0.5697906613349915, 0.6068742871284485, 0.5208527445793152, -0.599333643913269, -0.6268782019615173, 0.8631364107131958, -0.07430492341518402, 0.5898723602294922, 0.1390925943851471, -0.03319692984223366, -0.32430389523506165, -0.5081362724304199, -0.26805001497268677, 0.2921874225139618, -0.43624964356422424, -0.058522000908851624, -0.8145930767059326, -0.32261061668395996, -0.6630770564079285, 0.1435691863298416, -0.2528637647628784, -0.5457166433334351, -0.34973782300949097, 0.07096054404973984, 0.20106036961078644, 0.7975465655326843, 0.1517719179391861, 0.635176956653595, -0.9315893054008484, 0.6760947108268738, 0.5119900703430176, 0.14676882326602936, -0.12587526440620422, -0.40161725878715515, 0.05759011209011078, 0.06454311311244965, -0.4104567766189575, -0.9618712663650513, 0.5614649057388306, 0.15568676590919495, 0.4963390529155731, 0.08582092821598053, 0.07805086672306061, 0.6054047346115112, -0.9240739941596985, 1.0928747653961182, 0.5356685519218445, -0.888117790222168, 0.7985461950302124, -0.4164179265499115, 0.5318465232849121, 0.07045605033636093, 0.07152550667524338, -0.6595170497894287, -0.6863886713981628, -0.44799891114234924, -0.7975115776062012, 0.9359914064407349, 0.5639544725418091, 0.08713685721158981, 0.08556149154901505, 0.005658004432916641, 0.03343038633465767, 0.6419593095779419, -0.39073866605758667, -0.28563961386680603, -0.19234336912631989, 0.08534613996744156, -0.38591468334198, -0.5092050433158875, -0.14646606147289276, 0.039120063185691833, 0.49001431465148926, -0.12608447670936584, 0.44296613335609436, 0.26222357153892517, 0.017005519941449165, -0.30676373839378357, 0.21655060350894928, 1.1406192779541016, 0.6984156370162964, -0.12952637672424316, 0.010837670415639877, 0.09149665385484695, -0.20029425621032715, 0.16527554392814636, 0.19810238480567932, -0.1490587741136551, 0.37425848841667175, 0.19090071320533752, 1.164534330368042, 0.05980532243847847, -0.7176116704940796, 0.34815874695777893, -0.21602760255336761, -0.0687924474477768, -0.0723647028207779, -0.27326032519340515, 0.22721312940120697, 0.38787904381752014, 0.4040612280368805, 0.211333766579628, 0.053967949002981186, -0.25265055894851685, 0.3283314108848572, 0.15341868996620178, -0.15313492715358734, -0.16335129737854004, 0.7056468725204468, 0.41831710934638977, -0.7583868503570557, 0.5786627531051636, 0.07752681523561478, -0.3868485391139984, 0.30852407217025757, 0.7856668829917908, 0.5827375054359436, -0.31262335181236267, 0.267057329416275, 0.1024208515882492, -0.03912120312452316, 0.21739904582500458, 0.7073161602020264, -0.24449127912521362, -0.528019905090332, -0.6112833619117737, -0.875690221786499, -0.5966866612434387, 0.17595472931861877, -0.5789730548858643, 0.0927560031414032, -0.4420383870601654, -0.32803311944007874, -0.26355791091918945, -0.151541069149971, -0.315088152885437, -0.01432028692215681, 0.4009471833705902, 0.47249215841293335, -0.8861119151115417, 0.9094560742378235, 0.514336884021759, -0.23200151324272156, -0.5355368256568909, 0.031502775847911835, -0.06713315844535828, -0.507422685623169, 0.6285995244979858, -0.16345852613449097, -0.3187691569328308, 0.04832732304930687, -0.2467004805803299, -0.8363690376281738, 0.9555573463439941, 0.5489388704299927, -0.9325329065322876, -0.19802969694137573, 0.4321240484714508, 0.5945696830749512, -0.403146892786026, 0.07056966423988342, 0.22024546563625336, 0.008714385330677032, 0.1291998326778412, -1.014785885810852, -0.12654806673526764, -0.19853566586971283, 0.4582417607307434, 0.08146297186613083, -0.5466657876968384, 1.0875298976898193, -0.17796465754508972, -0.2502085268497467, 0.4540533423423767, 0.7574571967124939, 0.7815698981285095, 0.363326758146286, 0.19713671505451202, 0.3827560245990753, 0.7422229647636414, -0.17358238995075226, 0.956322968006134, -0.21710270643234253, 0.2830941081047058, 1.3270031213760376, -0.7082709074020386, 0.9021727442741394, 0.732499361038208, -0.38563886284828186, 0.37180107831954956, 0.546863853931427, 0.4202894866466522, 0.6746325492858887, 0.30293068289756775, -0.6227561235427856, -0.3167675733566284, -0.26028382778167725, -0.4371723234653473, 0.06337416172027588, 0.3791210651397705, -0.27768126130104065, -0.3230319917201996, 0.3355259597301483, -0.37177571654319763, 0.22224915027618408, -0.023892978206276894, 0.7231691479682922, 0.2021619975566864, -0.5043308138847351, 0.3287303149700165, -0.254762202501297, 0.5112746357917786, -0.6036648750305176, 0.06695446372032166, -0.3450152277946472, 0.03615693375468254, -0.11653199046850204, -0.5771607160568237, 0.4405713975429535, 0.04499989002943039, -0.4653949439525604, -0.4323851466178894, 0.9029529690742493, -0.5105400085449219, -0.4114057123661041, 0.21526147425174713, 0.7507619857788086, 0.2866140305995941, 0.32592135667800903, -0.6136435270309448, 0.29043862223625183, -0.1207817867398262, -0.25487813353538513, 0.25365960597991943, 0.16966646909713745, 0.1861095279455185, 0.6066960096359253, 0.8222230672836304, 0.253469854593277, 0.4886695444583893, 0.39848533272743225, 0.9114053249359131, -0.446776419878006, -0.5398554801940918, -0.6637858748435974, 0.48672595620155334, -0.08711759746074677, -0.01258903369307518, 0.7724151015281677, 0.7099460959434509, 0.481331467628479, -0.23581184446811676, 1.0137377977371216, -0.024437353014945984, 0.9347790479660034, -0.43720877170562744, 0.38604438304901123, -0.4404568672180176, 0.26846960186958313, -0.4227343201637268, -0.8172589540481567, -0.2529617249965668, 0.26497504115104675, -0.1603594571352005, -0.25794923305511475, 0.6506581902503967, 0.850317656993866, 0.16142749786376953, 0.010635395534336567, 0.8194429874420166, -0.034311093389987946, 0.38722893595695496, 0.6706850528717041, 1.100589394569397, -0.44994446635246277, 0.6024727821350098, -0.21524883806705475, 0.11514678597450256, -0.006015300750732422, -0.6728957891464233, -0.8064507842063904, -0.6356772780418396, -0.02661737985908985, -0.414252907037735, 0.24948324263095856, 0.4930051267147064, 0.5670565962791443, -0.7884812951087952, -0.48631972074508667, -0.12994173169136047, -0.06822726875543594, 0.034680455923080444, -0.22547616064548492, -0.06972650438547134, -0.5470080375671387, -0.8595922589302063, 0.5466212630271912, 0.5566102862358093, 0.2514782249927521, -0.40357735753059387, -0.44517508149147034, -0.270864874124527, 0.23042647540569305, 0.7954453825950623, 0.2021658718585968, -0.9684917330741882, -0.015064512379467487, 0.2151058167219162, -0.2638985812664032, -0.007402270101010799, 1.201436161994934, -0.7210313081741333, 0.3987267315387726, 0.7111825942993164, 0.5568268895149231, 0.5937255620956421, -0.06913124024868011, 0.8163735270500183, -0.961165726184845, 0.35444509983062744, 0.5221248865127563, 0.3515523374080658, 0.4599023461341858, -0.14755000174045563, 0.015504695475101471, 0.4566234052181244, -0.5074324607849121, -1.0094369649887085, 0.7429288625717163, -0.916266918182373, -0.04108498618006706, 1.0031425952911377, -0.18830852210521698, 0.062006689608097076, -0.15050482749938965, -0.4082925319671631, 0.44640251994132996, -0.3899228274822235, 0.14500068128108978, 0.68240886926651, -0.5077444314956665, -0.5597045421600342, -0.4625846743583679, 0.35261619091033936, 0.5737555623054504, -0.7745358943939209, 0.01878337934613228, 0.5154812932014465, -0.09686283767223358, 0.3439347743988037, 1.0440104007720947, -0.04966505244374275, 0.1984650194644928, 0.005954769905656576, -0.18705055117607117, 0.028684288263320923, -0.3108986020088196, -0.4226493239402771, 0.3768497705459595, 0.000034154792956542224, -0.21918651461601257 ]
http://arxiv.org/abs/2406.12422v1
http://arxiv.org/pdf/2406.12422v1
Open-Source Web Service with Morphological Dictionary-Supplemented Deep Learning for Morphosyntactic Analysis of Czech
2024-06-18T09:14:58
2024-06-18T09:14:58
Milan Straka, Jana Straková
cs.CL
cs.CL
We present an open-source web service for Czech morphosyntactic analysis. The system combines a deep learning model with rescoring by a high-precision morphological dictionary at inference time. We show that our hybrid method surpasses two competitive baselines: While the deep learning model ensures generalization for out-of-vocabulary words and better disambiguation, an improvement over an existing morphological analyser MorphoDiTa, at the same time, the deep learning model benefits from inference-time guidance of a manually curated morphological dictionary. We achieve 50% error reduction in lemmatization and 58% error reduction in POS tagging over MorphoDiTa, while also offering dependency parsing. The model is trained on one of the currently largest Czech morphosyntactic corpora, the PDT-C 1.0, with the trained models available at https://hdl.handle.net/11234/1-5293. We provide the tool as a web service deployed at https://lindat.mff.cuni.cz/services/udpipe/. The source code is available at GitHub (https://github.com/ufal/udpipe/tree/udpipe-2), along with a Python client for a simple use. The documentation for the models can be found at https://ufal.mff.cuni.cz/udpipe/2/models#czech_pdtc1.0_model.
[ -0.19160734117031097, -0.5352948307991028, 0.3132736086845398, 0.3908815085887909, -0.7825132012367249, 0.20255424082279205, -0.39484864473342896, -0.5534642338752747, 0.35596999526023865, 0.6321152448654175, -0.6246323585510254, -1.0274438858032227, -0.24065709114074707, 0.4210694432258606, -0.1582050621509552, 0.6476978659629822, 0.10592912882566452, 0.8390796780586243, -0.020173002034425735, 0.20017367601394653, 0.07752873003482819, -0.5815562009811401, -0.2598751187324524, -0.0640505701303482, 0.3162355124950409, 0.07405456900596619, 0.3555907905101776, 0.41997432708740234, 0.3737829029560089, 0.3329675793647766, -0.22743625938892365, 0.1004401445388794, -0.09377595782279968, 0.5907461643218994, -0.35398027300834656, -0.2733266055583954, -0.535279393196106, -0.48110345005989075, 0.5459312200546265, 0.9727925062179565, -0.18650245666503906, -0.08399400860071182, -0.027787301689386368, 0.6004456281661987, -0.5861985087394714, 0.2578490376472473, -0.8032258152961731, 0.09747469425201416, -0.49987995624542236, 0.19333584606647491, -0.28107985854148865, -0.261871874332428, 0.2754424810409546, -0.6073193550109863, 0.0325862392783165, -0.46539896726608276, 0.6667696833610535, 0.1817447692155838, -0.28781452775001526, -0.2206284999847412, -0.6281566619873047, 0.5629797577857971, -0.6570845246315002, 0.476305216550827, 0.3353239893913269, 0.2367476373910904, -0.1434442102909088, -0.5929986834526062, -0.3115013539791107, -0.23843614757061005, 0.2552652359008789, 0.3019990921020508, -0.2667028307914734, 0.26637178659439087, -0.35112637281417847, 0.5470766425132751, -0.704574704170227, 0.2018418163061142, -0.419780969619751, -0.48438674211502075, 0.35452908277511597, 0.20659881830215454, 0.2615901231765747, -0.18675509095191956, -0.16087594628334045, 0.11176539957523346, -0.49133244156837463, -0.2853901982307434, 0.6348926424980164, 0.706321120262146, -0.14910754561424255, 0.8030267953872681, -0.43650245666503906, 0.5354135036468506, -0.04588863253593445, 0.3315671384334564, 0.4896274507045746, -0.42816171050071716, -0.26457181572914124, 0.04902416840195656, 0.8352078199386597, 0.0304202102124691, 0.03855298459529877, -0.27426519989967346, -0.09674247354269028, 0.2137710005044937, 0.13564734160900116, -0.7944517135620117, -0.6503852009773254, 0.16448339819908142, -0.24678963422775269, -0.21262989938259125, 0.09024736285209656, -1.0227786302566528, -0.2533804476261139, -0.23199795186519623, 0.12026043981313705, -0.5055499076843262, -0.4943166971206665, 0.271125853061676, -0.119144007563591, -0.11404921114444733, 0.44000503420829773, -0.9379412531852722, 0.44773298501968384, 0.5775191187858582, 1.1950838565826416, -0.38332611322402954, 0.03276200592517853, -0.4899272620677948, -0.13953714072704315, -0.27454718947410583, 1.1180964708328247, -0.24826543033123016, -0.342713326215744, 0.12419646978378296, 0.1618114411830902, 0.18121026456356049, -0.7859253287315369, 0.44222402572631836, -0.3624734580516815, 0.209625244140625, 0.3802529275417328, -0.404946506023407, 0.10130444169044495, -0.01327572949230671, -0.8593705296516418, 1.11031973361969, 0.4060632884502411, -0.5772673487663269, 0.24829167127609253, -0.4574204087257385, -0.20612603425979614, 0.4790944457054138, -0.07582000643014908, -0.21930834650993347, -0.043249573558568954, -0.12645910680294037, 0.22439895570278168, -0.09281572699546814, 0.14781874418258667, -0.6644572019577026, 0.24657726287841797, -0.11915135383605957, -0.25893256068229675, 1.5523321628570557, 0.2508998215198517, -0.07607768476009369, 0.2774581015110016, -1.1046146154403687, 0.091385118663311, -0.10281413793563843, -0.6585962176322937, -0.5285629034042358, -0.18264161050319672, 0.4636406898498535, 0.13123303651809692, 0.44828128814697266, -0.9000617265701294, 0.33336466550827026, -0.8860791921615601, 0.44504114985466003, 0.6697083115577698, -0.2068498581647873, 0.2432243973016739, 0.4609983265399933, 0.6226450204849243, -0.04821169376373291, 0.21789008378982544, 0.22037453949451447, -0.6893513798713684, -0.3237696886062622, -0.5861099362373352, 0.6366549730300903, 0.6152395606040955, -0.7236929535865784, 0.7753421664237976, -0.319945752620697, -0.635670006275177, -0.6506688594818115, 0.15664584934711456, 0.4966890513896942, 0.3280608355998993, 0.2624179422855377, -0.45032915472984314, -0.9531771540641785, -0.9040501713752747, 0.29688435792922974, -0.1280055046081543, -0.2840724289417267, -0.09813261777162552, 0.6630446314811707, -0.35196614265441895, 0.9968675971031189, -0.30375540256500244, -0.1439998745918274, -0.11283941566944122, 0.15868067741394043, 0.1088014617562294, 0.47069796919822693, 0.6757380366325378, -0.9893056750297546, -0.7089701890945435, 0.3360772430896759, -0.3260916769504547, -0.4511258900165558, 0.7007936835289001, -0.15752749145030975, 0.6178979873657227, -0.1086740642786026, -0.780320405960083, 0.07769712805747986, 0.8961394429206848, -0.5573804974555969, 0.9851301908493042, -0.07957548648118973, -0.10927069187164307, -1.3961995840072632, 0.1926322728395462, -0.1266932338476181, -0.17187468707561493, -0.5398468375205994, 0.09386912733316422, 0.028390733525156975, -0.0016661679837852716, -0.7244774699211121, 0.5545006990432739, -0.21064050495624542, -0.25275686383247375, -0.03771159425377846, -0.016518307849764824, -0.07030075788497925, 0.31317025423049927, 0.18608535826206207, 0.9470322728157043, 0.6791970133781433, -0.46107447147369385, 0.8055527210235596, 0.42906737327575684, -0.6129007935523987, 0.21704518795013428, -0.2346564531326294, -0.016351750120520592, 0.49547702074050903, 0.09207254648208618, -0.8273119926452637, -0.3520844578742981, 0.4495968222618103, -0.6677717566490173, -0.11181113123893738, -0.6868556141853333, -0.6556070446968079, -0.18589787185192108, -0.3531840145587921, 0.12564121186733246, 0.2626780569553375, -0.5305808186531067, 0.6084494590759277, 0.4540195167064667, -0.39406266808509827, -0.35007309913635254, -0.8487191796302795, 0.13481925427913666, 0.05435008183121681, -0.7595494389533997, 0.754307210445404, -0.19241508841514587, -0.5603440403938293, 0.3202570080757141, -0.08727376908063889, -0.9858616590499878, 0.07568833976984024, 0.17435237765312195, 0.42059141397476196, -0.37021616101264954, 0.1327454149723053, 0.22237658500671387, -0.058780692517757416, -0.2082693725824356, -0.6550788879394531, 0.9264605641365051, -0.0801398754119873, -0.1792317032814026, -0.6908278465270996, 0.4129844903945923, 0.6441576480865479, -0.20636241137981415, 0.4122106432914734, 0.3438042998313904, -0.4413127601146698, 0.09339462965726852, -0.17351655662059784, 0.1319303661584854, -0.4065966308116913, 0.29045215249061584, -0.28408119082450867, -0.7081805467605591, 0.6759620904922485, 0.01261676475405693, -0.07603070139884949, 0.733141303062439, 0.7751162052154541, -0.14025259017944336, 0.9950147271156311, 0.7761853933334351, 0.047902416437864304, 0.5104972124099731, -0.30214548110961914, -0.33792251348495483, -0.5814297795295715, -0.27397236227989197, -0.7707110643386841, 0.4291319251060486, -0.6677271723747253, -0.057648975402116776, 0.1327791064977646, 0.0919606164097786, 0.12567946314811707, 0.33335965871810913, -0.417489618062973, 0.04562538489699364, 0.41760772466659546, 0.01060524582862854, 0.4017634391784668, 0.22288504242897034, -0.4720595180988312, 0.11591283977031708, -0.4137982130050659, -0.6479558348655701, 0.8887982368469238, -0.007156555540859699, 0.7332368493080139, 0.15282514691352844, 0.7389107942581177, 0.20220744609832764, -0.2542993426322937, -1.0566378831863403, 0.45267432928085327, -0.44629570841789246, -0.449364572763443, -0.3834555745124817, -0.46256178617477417, -1.0810415744781494, 0.43222343921661377, -0.225836381316185, -0.6675573587417603, 0.15657870471477509, 0.3395511507987976, -0.43522581458091736, 0.3119060695171356, -0.6938602328300476, 0.7994492053985596, -0.11699387431144714, -0.08553636819124222, -0.4063301980495453, -0.3840024173259735, 0.1418471783399582, 0.13009808957576752, -0.0008951346389949322, -0.006521753966808319, -0.13046258687973022, 0.597484290599823, -0.4728770852088928, 1.0042424201965332, -0.2167438268661499, -0.3706721365451813, 0.03604557737708092, 0.0899379551410675, 0.15391705930233002, -0.031973570585250854, -0.1466846913099289, 0.436768501996994, 0.28972384333610535, -0.4511021375656128, -0.4568890333175659, 0.6356344819068909, -0.5571585893630981, -0.28269273042678833, -0.37649446725845337, -0.25266286730766296, -0.08433309197425842, 0.2999739944934845, 0.27110907435417175, 0.5175448060035706, -0.24518842995166779, 0.34259670972824097, 0.7660021185874939, -0.049196336418390274, 0.2044384628534317, 0.39900004863739014, -0.3120841681957245, -0.7186642289161682, 0.5975545048713684, 0.2036815732717514, 0.21749618649482727, 0.5143589973449707, 0.22255943715572357, -0.1585724800825119, -0.8782743811607361, -0.7320037484169006, 0.06731385737657547, -0.592239499092102, -0.2552642822265625, -0.6662405133247375, -0.17748858034610748, -0.8770716190338135, 0.23902852833271027, -0.5362332463264465, -0.6449294090270996, -0.33491846919059753, -0.03525694087147713, 0.41322991251945496, 0.5732573866844177, -0.11382517963647842, 0.2064637988805771, -0.7751886248588562, 0.03647005930542946, 0.27064698934555054, 0.3832379877567291, -0.4696757197380066, -0.23712635040283203, -0.3726508617401123, 0.059711795300245285, -0.28113049268722534, -1.0350602865219116, 0.48820632696151733, -0.05316859483718872, 0.450284481048584, 0.4012412428855896, -0.1948145031929016, 0.5670018792152405, -0.5313720107078552, 1.030238389968872, 0.14743800461292267, -0.8521179556846619, 0.5082259178161621, -0.42082974314689636, 0.2498890608549118, 0.4340876042842865, 0.2582073509693146, -0.4523353576660156, -0.46346861124038696, -0.23833461105823517, -0.8982558250427246, 0.54618901014328, 0.0767248198390007, 0.1546652615070343, -0.12392841279506683, 0.22152946889400482, 0.4622892439365387, 0.026771459728479385, -0.5754535794258118, -0.06405537575483322, -0.2430037409067154, -0.3884890675544739, 0.32642173767089844, -0.17724837362766266, 0.003676444059237838, -0.3144073784351349, 0.9063034653663635, -0.13578662276268005, 0.16997846961021423, 0.1799900382757187, -0.4314621686935425, -0.1777934730052948, 0.2686108946800232, 0.7731345295906067, 0.7124209403991699, -0.2974158525466919, 0.10164150595664978, 0.13380371034145355, -0.8932371735572815, -0.23681491613388062, 0.15111780166625977, -0.199122354388237, 0.4369063079357147, 0.35544833540916443, 0.48335200548171997, 0.3241821825504303, -1.0181151628494263, 0.39074593782424927, 0.08301776647567749, -0.3429836630821228, -0.5738481283187866, -0.08387791365385056, -0.05383652076125145, 0.4340585172176361, 0.5931901335716248, -0.25129562616348267, 0.2854653000831604, -0.3849451243877411, 0.05115032568573952, 0.6183931827545166, -0.2651090919971466, -0.6085343956947327, 0.04485185444355011, 0.3098051846027374, -0.4379890263080597, 0.41452130675315857, -0.07821935415267944, -0.6668305397033691, 0.5666232109069824, 0.5692408084869385, 0.9449792504310608, -0.4215109944343567, 0.3532797396183014, 0.18394175171852112, -0.03363604471087456, 0.2986602485179901, 0.46165385842323303, -0.21500398218631744, -0.5017380714416504, -0.6228935122489929, -0.8064633011817932, -0.4045495390892029, 0.46232327818870544, -0.7376303672790527, 0.3393893539905548, -0.27405187487602234, 0.015363776125013828, -0.0006208914564922452, 0.1790115237236023, -0.18211203813552856, 0.08063782006502151, 0.0022305769380182028, 1.2107117176055908, -0.7166460752487183, 1.064279317855835, 0.7625204920768738, -0.3340063989162445, -0.001761268824338913, -0.04962131753563881, 0.03666025772690773, -0.5753490328788757, 0.8925487399101257, -0.09545759111642838, -0.5387762188911438, 0.005803554784506559, -0.3584464490413666, -0.8340402841567993, 0.931098461151123, 0.745070219039917, -0.5999629497528076, -0.2423948496580124, -0.25930094718933105, 0.6620513200759888, -0.21050739288330078, -0.16061195731163025, 0.21172401309013367, 0.3167099356651306, -0.1866215020418167, -1.2140270471572876, -0.33790168166160583, -0.32484114170074463, -0.09357330203056335, 0.36942943930625916, -0.039427101612091064, 0.8432486057281494, 0.31345298886299133, -0.4254477620124817, 0.5942427515983582, 0.5187710523605347, -0.013990875333547592, 0.00831723865121603, 0.39874380826950073, 0.6407703161239624, 0.6396397948265076, 0.16587930917739868, 0.6653929352760315, -0.20884832739830017, 0.45689094066619873, 1.1094971895217896, -0.07387548685073853, 0.9225201606750488, 0.67800372838974, -0.278924822807312, 0.6229867935180664, 0.9091922640800476, -0.211217999458313, 0.7504537105560303, -0.08025527000427246, -0.5349082350730896, -0.28364598751068115, 0.04551161453127861, -0.43219706416130066, 0.5062191486358643, 0.3122917711734772, -0.24744465947151184, -0.5713304877281189, 0.1444380283355713, -0.21045735478401184, 0.16607291996479034, -0.45043566823005676, 0.7533932328224182, -0.28734317421913147, -0.2314375340938568, 0.3160126507282257, -0.04620044678449631, 0.7068865895271301, -0.6275220513343811, -0.12542834877967834, -0.0033773125614970922, -0.015802884474396706, -0.10459446161985397, -0.7086198925971985, 0.4670598804950714, 0.19943982362747192, -0.25576528906822205, -0.04812603443861008, 0.40779197216033936, -0.4514060318470001, -0.4665471613407135, 0.5805565118789673, 0.44387394189834595, 0.34339460730552673, 0.053482625633478165, -0.6250793933868408, -0.1726086139678955, -0.2479410022497177, -0.14324738085269928, 0.4002763330936432, 0.4716925323009491, -0.14774377644062042, 0.5824469923973083, 0.7672905325889587, 0.516909658908844, 0.22280777990818024, 0.2348153442144394, 0.9348794221878052, -0.3455589711666107, -0.5127173066139221, -0.9126161336898804, 0.5551197528839111, -0.12243520468473434, -0.3426041603088379, 0.4515801668167114, 0.9165867567062378, 1.2939810752868652, -0.3238738179206848, 0.8260237574577332, -0.14159977436065674, 0.4204710125923157, -0.8040906190872192, 0.5726305246353149, -0.3683996796607971, -0.30117374658584595, 0.03493163362145424, -0.7541163563728333, -0.5849462747573853, 0.44796428084373474, -0.19643943011760712, -0.4360858201980591, 0.6572350859642029, 0.7126055955886841, -0.23875625431537628, -0.34498101472854614, 0.46863794326782227, 0.30854249000549316, -0.026808906346559525, 0.12684668600559235, 0.7237480878829956, 0.25377902388572693, 0.7188416719436646, -0.5521320700645447, -0.33501511812210083, -0.30288952589035034, -0.5633605718612671, -0.7560206651687622, -0.9839812517166138, -0.08760565519332886, -0.23027203977108002, 0.19820250570774078, 1.305712103843689, 0.5889209508895874, -1.0626980066299438, -0.17319853603839874, -0.2563853859901428, -0.1321459859609604, -0.18788962066173553, -0.19830141961574554, 0.26529768109321594, -0.5341940522193909, -0.8460895419120789, 0.4466691315174103, 0.5058271884918213, 0.09438365697860718, -0.5659324526786804, 0.04148469492793083, -0.19381938874721527, -0.26182040572166443, 0.6742246150970459, 0.1802023947238922, -0.9956932663917542, 0.12497295439243317, -0.109796442091465, -0.2586566209793091, 0.4259341359138489, 0.8562532067298889, -0.6340039372444153, 0.49660077691078186, 0.5126551389694214, 0.47684961557388306, 0.31528279185295105, -0.368512362241745, 0.3548373878002167, -0.4170485734939575, 0.18302403390407562, 0.44909510016441345, 0.5544799566268921, 0.2692573666572571, -0.49427926540374756, 0.30246302485466003, 0.4936480224132538, -0.10154005140066147, -0.95920330286026, 0.3678894639015198, -1.0721073150634766, -0.47040432691574097, 0.9504114985466003, -0.3758145272731781, -0.31252896785736084, -0.32468292117118835, -0.29694095253944397, 0.5953436493873596, -0.38191741704940796, 1.0010653734207153, 0.8231869339942932, -0.02784169465303421, 0.019125254824757576, -0.43950286507606506, 0.36762937903404236, 0.026060735806822777, -1.0183416604995728, 0.27656063437461853, 0.7299848794937134, 0.41161349415779114, 0.349172443151474, 0.4266180694103241, -0.3828062415122986, 0.5015243291854858, -0.21187706291675568, 0.42380720376968384, 0.026875430718064308, -0.4416448473930359, -0.7749759554862976, 0.04821342974901199, -0.21809886395931244, -0.2202104926109314 ]
http://arxiv.org/abs/2406.12420v1
http://arxiv.org/pdf/2406.12420v1
MMUTF: Multimodal Multimedia Event Argument Extraction with Unified Template Filling
2024-06-18T09:14:17
2024-06-18T09:14:17
Philipp Seeberger, Dominik Wagner, Korbinian Riedhammer
cs.CL
cs.CL, cs.LG
With the advancement of multimedia technologies, news documents and user-generated content are often represented as multiple modalities, making Multimedia Event Extraction (MEE) an increasingly important challenge. However, recent MEE methods employ weak alignment strategies and data augmentation with simple classification models, which ignore the capabilities of natural language-formulated event templates for the challenging Event Argument Extraction (EAE) task. In this work, we focus on EAE and address this issue by introducing a unified template filling model that connects the textual and visual modalities via textual prompts. This approach enables the exploitation of cross-ontology transfer and the incorporation of event-specific semantics. Experiments on the M2E2 benchmark demonstrate the effectiveness of our approach. Our system surpasses the current SOTA on textual EAE by +7% F1, and performs generally better than the second-best systems for multimedia EAE.
[ -0.6127407550811768, -0.5576611161231995, 0.6093150973320007, 0.09618131816387177, -0.5607518553733826, -0.20591840147972107, -0.12147476524114609, -0.2790735363960266, 0.06740717589855194, 0.3006373643875122, -0.8932769298553467, -0.2699359059333801, -0.5472384691238403, 0.21319043636322021, -0.12595319747924805, 0.7165651917457581, -0.09864137321710587, -0.017298342660069466, -0.17593617737293243, -0.23353655636310577, -0.8020893931388855, -0.32157644629478455, -0.6893095970153809, -0.07499274611473083, 0.6694322824478149, 0.8714519143104553, 0.40102842450141907, 0.46046561002731323, 0.39269524812698364, 0.2576160430908203, 0.4501918852329254, 0.32747820019721985, 0.02475409023463726, 0.12102410197257996, -0.28060489892959595, -0.12789888679981232, -0.2592703104019165, 0.16577428579330444, 0.34665828943252563, 0.2359803467988968, -0.05079703405499458, 0.15022209286689758, -0.013712197542190552, 0.25241923332214355, -0.7896230220794678, -0.1597173660993576, -0.6240593791007996, 0.3210044205188751, -0.3747934103012085, -0.5921714901924133, -0.4264119863510132, 0.39595234394073486, 0.11033845692873001, -0.7044219374656677, 0.003349514212459326, -0.17760001122951508, 0.8233295679092407, 0.011865504086017609, -0.550910234451294, -0.1704629808664322, -0.5848499536514282, 0.7261258959770203, -0.4763638973236084, 0.5837355852127075, 0.019879251718521118, 0.339458167552948, -0.15151673555374146, -0.9138491749763489, -0.8364523649215698, 0.08170395344495773, 0.25717833638191223, 0.4734310209751129, -0.34510084986686707, -0.0024005481973290443, 0.1333739310503006, -0.014568028971552849, -0.7177912592887878, 0.11734919995069504, -0.19322188198566437, -0.219674751162529, 0.37488263845443726, 0.19223248958587646, 0.6459255218505859, -0.7804074883460999, -0.6869722604751587, -0.23991885781288147, -0.32724735140800476, -0.06871352344751358, 0.26832085847854614, -0.08160106092691422, -0.10928860306739807, 0.7595918774604797, 0.14930355548858643, 0.4885343611240387, -0.04484229162335396, -0.2806420624256134, -0.09974784404039383, -0.40184536576271057, -0.4571494460105896, -0.10212624073028564, 0.9368871450424194, 0.7337719202041626, -0.022673282772302628, -0.04846815764904022, 0.25224757194519043, -0.08045032620429993, 0.025036072358489037, -0.7424947023391724, 0.02432076446712017, 0.2148689180612564, -0.4782048761844635, -0.3147425055503845, 0.28282415866851807, -1.3691409826278687, -0.2508452832698822, -0.3801678717136383, 0.4367416501045227, -0.34116461873054504, -0.2012065351009369, 0.04860169067978859, -0.43991589546203613, 0.15245626866817474, 0.5908294320106506, -0.7517653703689575, -0.14434044063091278, 0.4738428294658661, 0.6587210297584534, -0.318553626537323, -0.06693045049905777, -0.9180988073348999, 0.5789777636528015, 0.024351313710212708, 1.1484580039978027, -0.8297175168991089, -0.319569855928421, 0.06444288790225983, 0.0810578316450119, -0.06662900000810623, -0.22880378365516663, 1.0085372924804688, -0.3581909239292145, 0.8027716279029846, -0.25115886330604553, -0.5564460754394531, -0.14301741123199463, 0.14784374833106995, -0.6395372152328491, 1.1058716773986816, -0.3006167709827423, -0.6058984398841858, 0.5740275979042053, -1.016549825668335, -0.03837381303310394, -0.08679519593715668, -0.6322085857391357, -0.10921251773834229, -0.00033364605042152107, 0.5146106481552124, 0.4981081783771515, -0.40677347779273987, 0.26380759477615356, -0.41403281688690186, 0.1440708041191101, 0.13619287312030792, -0.9124407172203064, 0.45906394720077515, 0.21673598885536194, -0.3365585505962372, 0.12925389409065247, -0.9030323028564453, -0.3359001576900482, 0.08583430200815201, -0.27324041724205017, -0.15706944465637207, -0.05643938481807709, 0.5484644770622253, 0.6455782651901245, -0.16514675319194794, -0.6205753684043884, 0.48757532238960266, -0.07397165894508362, 0.15209515392780304, 0.81389319896698, 0.07184299826622009, 0.4685724675655365, 0.0076035805977880955, 0.44449782371520996, 0.3502708673477173, 0.07249912619590759, -0.6184278130531311, -0.6074750423431396, -0.2047407478094101, -0.5827586650848389, 0.3366323411464691, 0.6613708734512329, -0.8876489996910095, 0.24371446669101715, -0.11234673112630844, -0.05550787225365639, -0.29158225655555725, 0.286425918340683, -0.22785229980945587, 0.5501716732978821, 0.29430946707725525, -0.046716950833797455, -0.8423404097557068, -0.6917487978935242, 0.13142898678779602, -0.13200099766254425, -0.11257858574390411, 0.31790974736213684, 0.11693187803030014, -0.20505717396736145, 0.8365932703018188, -0.2582182288169861, -0.5283718705177307, -0.32047605514526367, 0.5100460648536682, -0.022987285628914833, 0.5780705809593201, 0.6054155230522156, -0.9224581718444824, -0.2551230490207672, 0.13789984583854675, -0.981752336025238, -0.39372795820236206, -0.47205522656440735, -0.24426865577697754, 0.2348899096250534, 0.7282533645629883, -0.7081776857376099, 0.5222405195236206, 0.45364904403686523, -0.5369880199432373, 0.46585458517074585, 0.05408668518066406, 0.4903988838195801, -1.4898837804794312, -0.132401704788208, -0.09619934856891632, -0.22468818724155426, -0.3099413514137268, -0.2614325284957886, -0.10034477710723877, -0.2896518111228943, -0.5464243292808533, 0.8448459506034851, -0.4922824800014496, 0.25618860125541687, -0.2909112572669983, 0.45987701416015625, 0.3358316421508789, 0.3499983549118042, 0.03322111815214157, 0.40224069356918335, 0.5833702087402344, -0.3144950866699219, 0.40147534012794495, 0.22783292829990387, 0.1441529244184494, 0.8885545134544373, -0.25641417503356934, -0.054425619542598724, -0.17769227921962738, 0.05746125802397728, -1.1249661445617676, -0.3394400477409363, 0.24750803411006927, -0.2863065004348755, 0.5081735253334045, -0.3022792339324951, -0.5665480494499207, -0.13208051025867462, -0.31840941309928894, 0.4004824757575989, 0.1858813315629959, -0.6501240730285645, 1.1030710935592651, 0.1615566611289978, -0.1936638355255127, -0.5927406549453735, -0.3974372446537018, 0.4984985888004303, -0.3498815894126892, -0.9379078149795532, 0.40369731187820435, -0.09658844769001007, 0.17966565489768982, 0.056506142020225525, -0.11269115656614304, 0.011181036941707134, -0.19491049647331238, 0.22326186299324036, 0.3333556652069092, -0.7849775552749634, 0.24601948261260986, 0.17015284299850464, -0.3466305732727051, -0.2887607514858246, -0.38641229271888733, 0.39289769530296326, 0.2223733365535736, -0.7827561497688293, -0.7371249794960022, 0.998950719833374, 0.6074822545051575, -0.1999310553073883, 0.49360907077789307, 1.1772640943527222, -0.6144676208496094, 0.3789064288139343, -0.8869463205337524, -0.31949689984321594, -0.4100857675075531, 0.4067869484424591, -0.42608368396759033, -0.679695188999176, 0.4130379259586334, -0.18852663040161133, 0.2261490374803543, 0.6827468276023865, 0.4371495544910431, -0.4068395793437958, 1.2618300914764404, 0.4695838391780853, 0.29227691888809204, 0.6693423390388489, -0.02845161035656929, -0.3064768612384796, -0.5992130041122437, -0.18487805128097534, -0.3704054057598114, -0.360664963722229, -0.16858284175395966, -0.6381886601448059, 0.26479628682136536, 0.2960568070411682, 0.3128376305103302, 0.04478013888001442, 0.021107900887727737, 0.50083327293396, 0.16070452332496643, -0.39863160252571106, 0.4806573987007141, 0.30890998244285583, -0.42965975403785706, -0.6237767338752747, -0.7649375200271606, -0.7430126070976257, 0.7907673120498657, 0.1545838713645935, 0.48327112197875977, 0.38217657804489136, 0.4965054392814636, 0.33314359188079834, 0.4650365114212036, -0.44054147601127625, 0.3693343698978424, -0.27010369300842285, -0.6221351623535156, -0.16218779981136322, -0.1473233997821808, -0.9763614535331726, 0.5087713599205017, -0.6216345429420471, -1.1837109327316284, 0.35325106978416443, -0.2054740935564041, 0.011643907986581326, 0.6032320261001587, -0.6233195066452026, 1.1642779111862183, 0.09066446125507355, -0.38861948251724243, -0.022547243162989616, -0.35734280943870544, 0.2782667577266693, 0.00877262931317091, 0.3460956811904907, -0.28577542304992676, -0.18991567194461823, 0.7977603673934937, -0.20220385491847992, 0.6179064512252808, -0.013786593452095985, 0.05011943727731705, 0.28737732768058777, -0.08169859647750854, 0.3321094512939453, 0.44546666741371155, 0.18569184839725494, -0.29677632451057434, 0.05033191666007042, -0.3840670585632324, -0.8557054400444031, 0.3855327367782593, -0.45084309577941895, -0.4748319089412689, -0.20889344811439514, -0.2801823318004608, -0.12206806242465973, 0.19064481556415558, 0.4318869709968567, 1.06526780128479, -0.34428656101226807, 0.34592366218566895, 0.5636136531829834, 0.02143268659710884, 0.8675867915153503, 0.5691990256309509, -0.27314692735671997, -0.6905815005302429, 0.8529865741729736, -0.11732035130262375, -0.09535342454910278, 0.4569496810436249, 0.19910456240177155, -0.4549892544746399, -0.11883144825696945, -1.1391565799713135, 0.004869671072810888, -0.8812219500541687, -0.4127514958381653, -1.1898728609085083, 0.1634753942489624, -0.06017312780022621, -0.3547745645046234, -0.37149614095687866, -0.5670273303985596, -0.5800230503082275, -0.09872085601091385, 0.03338569030165672, 0.35159704089164734, -0.33000972867012024, 0.3696669340133667, -1.3061857223510742, 0.37956884503364563, 0.22992537915706635, 0.13449427485466003, -0.2657645046710968, -0.2948826849460602, 0.2800031006336212, -0.17486155033111572, -0.7672944068908691, -1.3849296569824219, -0.018669771030545235, 0.3452645540237427, 0.8304046392440796, 0.717570960521698, -0.21838557720184326, 0.8722414970397949, -0.4672423005104065, 0.7015925049781799, 0.7195402979850769, -0.7686495184898376, 0.544198215007782, -0.3070577085018158, 0.11485433578491211, 0.4055996537208557, 0.24475672841072083, -0.5396432876586914, -0.30805546045303345, -0.8719198703765869, -0.6074109077453613, 0.48975640535354614, 0.3139817714691162, 0.11907871812582016, -0.0725373923778534, 0.28643614053726196, 0.21689072251319885, -0.15902996063232422, -0.7367659211158752, -0.09039285778999329, -0.10170212388038635, -0.5686715245246887, 0.27741724252700806, -0.23604506254196167, 0.0005263510975055397, -0.06107323244214058, 0.381860613822937, -0.3197796642780304, 0.26446864008903503, 0.3762204647064209, -0.27533629536628723, -0.24273031949996948, 0.41443493962287903, 0.7496188879013062, 0.4486290514469147, -0.030978888273239136, 0.22172263264656067, 0.10639478266239166, -0.4427131414413452, 0.16256815195083618, 0.17293931543827057, 0.16616655886173248, 0.2663053572177887, 0.4190142750740051, 0.4843275547027588, 0.34979358315467834, -0.7396747469902039, 0.6536773443222046, -0.3596697747707367, -0.3003228008747101, 0.029885664582252502, -0.2452523410320282, 0.022249825298786163, 0.39335429668426514, 0.5016852021217346, 0.24129252135753632, 0.34044748544692993, -0.4461081326007843, 0.6904813051223755, 0.39310070872306824, -0.720164954662323, -0.3641470968723297, 0.7774376273155212, 0.18305380642414093, 0.11973373591899872, 0.20317305624485016, -0.12094434350728989, -0.1384613960981369, 0.3213500678539276, 0.5584982633590698, 0.7740278244018555, 0.07005657255649567, 0.2736632227897644, 0.2819640636444092, 0.33443987369537354, 0.39577150344848633, 0.478424608707428, 0.17628200352191925, -0.5026364922523499, -0.6935731768608093, -0.5006882548332214, -0.15310123562812805, 0.2745979130268097, -0.4385450482368469, 0.598017692565918, -0.08581778407096863, -0.2022358775138855, 0.2861713171005249, -0.21431869268417358, -0.6930544376373291, 0.180927112698555, 0.47045451402664185, 1.0571223497390747, -0.920063853263855, 0.4598824381828308, 0.8973298072814941, -0.6173916459083557, -0.6522729992866516, -0.26604774594306946, 0.28218188881874084, -0.18731090426445007, 0.3410196900367737, 0.16809608042240143, 0.14735150337219238, -0.2202378660440445, -0.3187664747238159, -0.6232935786247253, 0.9681820273399353, 0.4587472975254059, -0.00442739250138402, 0.2440919131040573, 0.047932885587215424, 0.14792953431606293, -0.7653887271881104, 0.38598164916038513, 0.036628078669309616, 0.7384873032569885, 0.4366023540496826, -0.5086801648139954, 0.01258813589811325, -0.23563385009765625, -0.23106327652931213, 0.09721888601779938, -0.1645982712507248, 0.4003995358943939, -0.19804708659648895, -0.3240501880645752, -0.12610609829425812, 1.0880937576293945, 0.1431429535150528, 0.6866521239280701, 0.5261242389678955, 0.46217218041419983, 0.6092578768730164, -0.006517812609672546, 0.7285261154174805, 0.37220990657806396, 0.08423471450805664, 1.0542845726013184, -0.2456439882516861, 0.8745132088661194, 0.634078323841095, 0.07575111836194992, 0.6141190528869629, 0.5840232372283936, 0.06831639260053635, 0.3127593398094177, -0.49772945046424866, -0.11832095682621002, -0.5258644819259644, -0.24726422131061554, -0.37551185488700867, 0.7879018187522888, 0.2740052342414856, -0.08459455519914627, -0.5746962428092957, 0.27558133006095886, -0.059490762650966644, -0.11887155473232269, -0.02329339273273945, 0.9360480904579163, -0.02724234014749527, -0.4528885781764984, -0.05113530904054642, 0.15572504699230194, 0.3328695297241211, -0.4838821589946747, -0.24714581668376923, -0.022102901712059975, -0.1195751503109932, -0.15610364079475403, -0.7381506562232971, 0.42228102684020996, 0.035412535071372986, -0.3786769211292267, 0.15025636553764343, 0.8634150624275208, -0.511671781539917, -0.45837855339050293, 0.24897827208042145, 0.7776110172271729, -0.08387291431427002, -0.0020160444546490908, -0.6769117116928101, -0.06994757801294327, 0.017069470137357712, -0.291925311088562, 0.3873458504676819, 0.8465467095375061, -0.21339718997478485, 0.26387739181518555, 0.950829803943634, -0.40057578682899475, 0.24402965605258942, 0.1949082762002945, 0.6593800187110901, -0.6521692276000977, -0.5404927730560303, -1.1188130378723145, 0.9853302240371704, -0.4234383702278137, -0.38865864276885986, 0.36675888299942017, 0.5578166842460632, 0.262635201215744, -0.1728876233100891, 0.5121909379959106, -0.02335374243557453, -0.1430688351392746, -0.7255327105522156, 0.3633463382720947, -0.9476154446601868, -0.05777900293469429, -0.4603743255138397, -0.8448317050933838, -0.2614114582538605, 0.10415806621313095, 0.33766189217567444, -0.28949081897735596, 0.6665937304496765, 0.5503150820732117, -0.5884900689125061, 0.4270922839641571, 0.5527170300483704, -0.2370045930147171, 0.6177785992622375, 0.30705904960632324, 0.9338459968566895, -0.46407008171081543, 0.7708014249801636, -0.00482209213078022, -0.2891058027744293, -0.413669615983963, -1.4349149465560913, -0.8280353546142578, -0.8040696382522583, -0.523233950138092, -0.09400564432144165, -0.38440465927124023, 1.0982528924942017, 0.761638879776001, -0.8902773261070251, 0.041473109275102615, 0.3511926531791687, 0.1381387710571289, -0.09180785715579987, -0.21804676949977875, 0.27924033999443054, -0.2604922354221344, -0.6347971558570862, 0.3623487949371338, 0.7551448941230774, 0.2307361215353012, 0.15603896975517273, 0.07876438647508621, -0.5244678258895874, 0.3171452283859253, 0.6671109795570374, 0.2250295728445053, -0.7535516023635864, -0.33784621953964233, -0.04802194610238075, -0.09964675456285477, 0.26894813776016235, 0.8908616900444031, -0.3058013617992401, 0.5416475534439087, 0.46503540873527527, 0.7454656958580017, 0.36340418457984924, -0.16632036864757538, 0.6529117226600647, -1.0519930124282837, 0.24829962849617004, -0.24969550967216492, 0.7599895000457764, 0.21954424679279327, -0.18328920006752014, 0.3958733081817627, 0.5305108428001404, -0.08949872851371765, -0.8368727564811707, 0.16703206300735474, -1.541178584098816, -0.07461230456829071, 1.0107011795043945, 0.2086268812417984, -0.10369271785020828, -0.2680257260799408, -0.6430237293243408, 0.25730663537979126, -0.2800677418708801, 0.35149267315864563, 0.8522645831108093, -0.023276545107364655, -0.47486042976379395, -0.7868133187294006, 0.30998659133911133, 0.3892393112182617, -0.83906090259552, -0.278890460729599, 0.5268186926841736, 0.15694527328014374, 0.31831273436546326, 0.6402202844619751, -0.2145216017961502, 0.6241382360458374, -0.1186102107167244, 0.04485644772648811, -0.13532933592796326, -0.4107173681259155, -0.04996645078063011, 0.5079320073127747, -0.4440751373767853, -0.16701556742191315 ]
http://arxiv.org/abs/2406.12419v1
http://arxiv.org/pdf/2406.12419v1
AI-Assisted Human Evaluation of Machine Translation
2024-06-18T09:12:11
2024-06-18T09:12:11
Vilém Zouhar, Tom Kocmi, Mrinmaya Sachan
cs.CL
cs.CL
Annually, research teams spend large amounts of money to evaluate the quality of machine translation systems (WMT, inter alia). This is expensive because it requires detailed human labor. The recently proposed annotation protocol, Error Span Annotation (ESA), has annotators marking erroneous parts of the translation. In our work, we help the annotators by pre-filling the span annotations with automatic quality estimation. With AI assistance, we obtain more detailed annotations while cutting down the time per span annotation by half (71s/error span $\rightarrow$ 31s/error span). The biggest advantage of ESA$^\mathrm{AI}$ protocol is an accurate priming of annotators (pre-filled error spans) before they assign the final score as opposed to starting from scratch. In addition, the annotation budget can be reduced by up to 24% with filtering of examples that the AI deems to be very likely to be correct.
[ -0.4688977599143982, -0.4736116826534271, 0.3786316514015198, 0.4448522627353668, -0.24180477857589722, 0.1274256855249405, -0.08369164913892746, -0.7607781887054443, 0.19416362047195435, 0.31168898940086365, -0.36376506090164185, -0.13793452084064484, -0.8854895234107971, 0.4765014946460724, -0.4321959316730499, 0.8511228561401367, -0.3760139048099518, 0.12856371700763702, 0.12123344838619232, -0.1210440844297409, -0.41396328806877136, -0.41934794187545776, -0.836747407913208, -0.20239600539207458, 0.39838117361068726, 0.3799302577972412, 0.9952422380447388, 1.01071298122406, 0.9922518730163574, 0.35446619987487793, 0.10373906046152115, 0.4591655433177948, 0.013498364947736263, -0.13919125497341156, 0.13963541388511658, -0.479225754737854, -0.7501671314239502, 0.2990533411502838, 0.34480032324790955, 0.7400590181350708, 0.18982209265232086, 0.21205930411815643, -0.059024471789598465, 0.9622893333435059, -0.49218472838401794, 0.09774820506572723, -0.28396156430244446, 0.206610769033432, -0.2090897113084793, -0.255176305770874, -0.4451645314693451, -0.20545144379138947, 0.18698303401470184, -0.759169340133667, 0.029833346605300903, 0.3869614005088806, 1.1233330965042114, 0.889478325843811, -0.10815183818340302, 0.01919858530163765, -0.6760001182556152, 0.7340449690818787, -0.5435881614685059, 0.18804509937763214, 0.8308698534965515, 0.36108970642089844, -0.16524989902973175, -0.7117491364479065, -0.555921733379364, -0.2830493450164795, -0.3041136860847473, 0.23956821858882904, -0.2801516354084015, 0.38322123885154724, 0.1924765259027481, 0.4230353534221649, -0.35035061836242676, 0.08304174244403839, -0.3793744742870331, -0.4527064263820648, 0.8888133764266968, -0.024314893409609795, 0.5359380841255188, -0.015959739685058594, -0.265550434589386, -0.27484601736068726, -0.3650633990764618, -0.27889037132263184, 0.18198387324810028, 0.0621614083647728, 0.20725587010383606, 0.7085943222045898, -0.2389245331287384, 0.619245707988739, 0.11671581864356995, 0.12725737690925598, 0.46559399366378784, -0.4053040146827698, -0.4657869040966034, -0.15551301836967468, 0.9005829691886902, 0.5504810810089111, 0.5256686210632324, -0.37806347012519836, -0.4619634449481964, 0.19911637902259827, 0.3425770401954651, -0.5489859580993652, -0.03986049070954323, 0.19684310257434845, -0.4911651313304901, -0.06523552536964417, 0.2103199064731598, -0.5248494148254395, -0.15136945247650146, -0.29073160886764526, 0.6793749928474426, -0.4379898011684418, 0.22222070395946503, 0.04245365038514137, -0.1174120381474495, -0.03346576914191246, 0.5105024576187134, -0.43908435106277466, 0.2430862933397293, 0.20945583283901215, 0.8703864216804504, -0.005587036721408367, -0.564486026763916, -0.8853492140769958, -0.04423307254910469, -0.40420830249786377, 0.8972505331039429, -0.23179274797439575, -0.36336296796798706, -0.3890647888183594, -0.18805737793445587, -0.14618262648582458, -0.4364093542098999, 0.8258054852485657, -0.4953018128871918, 0.24639487266540527, -0.22368240356445312, -0.5448987483978271, -0.24221237003803253, 0.14943285286426544, -0.841090202331543, 1.082926630973816, 0.16674885153770447, -0.6539551019668579, 0.6314914226531982, -1.189208984375, -0.4967116713523865, 0.11445122957229614, 0.15522536635398865, -0.2633775472640991, 0.027034929022192955, 0.6298467516899109, 0.30614328384399414, -0.19146838784217834, 0.13503830134868622, 0.24718916416168213, -0.6137192249298096, 0.22182504832744598, -0.40868040919303894, 0.5386233329772949, 0.5051640868186951, -0.6063905358314514, 0.47619304060935974, -0.6497960090637207, -0.0869055688381195, -0.18420566618442535, -0.5593750476837158, -0.3950919806957245, -0.11953659355640411, 0.10155123472213745, 0.16626423597335815, 0.002186537254601717, -0.48229488730430603, 0.22367021441459656, -0.4978477954864502, 0.23212961852550507, 0.7716950178146362, -0.13615170121192932, 0.4515005052089691, -0.38193026185035706, 0.6395504474639893, -0.2602161765098572, 0.255972683429718, -0.2250344157218933, -0.6131279468536377, -0.9401738047599792, -0.5352603793144226, 0.7199617624282837, 0.5927584767341614, -0.4984361529350281, 0.7447156310081482, -0.026121867820620537, -0.4483194649219513, -1.2896062135696411, -0.005481684114784002, 0.5268746018409729, 0.29214125871658325, 0.6845051050186157, -0.4625522494316101, -0.5378002524375916, -0.9481472373008728, -0.2577314078807831, -0.3840150237083435, -0.08383891731500626, -0.1249469667673111, 0.5271204710006714, -0.30442386865615845, 0.8684102296829224, -0.18669532239437103, -0.5511237978935242, -0.09046944975852966, 0.6713840961456299, -0.31508904695510864, 0.6135532855987549, 0.460584819316864, -0.7020425796508789, -0.583693265914917, -0.1600397527217865, -0.36013898253440857, -0.5523068308830261, -0.2579449415206909, -0.28855082392692566, 0.2678758203983307, 0.4396473169326782, -0.5761607885360718, 0.6448848247528076, 0.5255110859870911, -0.4790799021720886, 0.4767226278781891, -0.46607306599617004, 0.6512048244476318, -0.8780874013900757, 0.3382395803928375, -0.06497595459222794, -0.3639523983001709, -0.21900233626365662, -0.04579675942659378, -0.008909267373383045, 0.15843452513217926, -0.17092353105545044, 0.336465984582901, -0.5388376116752625, -0.19091248512268066, -0.32363247871398926, 0.17036791145801544, 0.1642417013645172, 0.3055046796798706, -0.1298108696937561, 1.1819145679473877, -0.038375746458768845, -0.39418524503707886, 0.19138985872268677, 0.3759661614894867, -0.12874962389469147, 0.575115442276001, -0.7205074429512024, 0.14982058107852936, -0.08517926186323166, 0.4113752245903015, -0.9927281737327576, -0.21445916593074799, 0.3380450904369354, -0.704675018787384, 0.2089768350124359, 0.06611417979001999, -0.6776245832443237, -0.30143195390701294, -0.2226700484752655, 0.18022805452346802, 0.44423186779022217, -0.3634280264377594, 0.44397294521331787, 0.42645373940467834, -0.03920940309762955, -0.6499065160751343, -0.9121860265731812, 0.4610302448272705, -0.07945919036865234, -0.46519580483436584, 0.32835492491722107, 0.047544192522764206, -0.3095574378967285, 0.2661910057067871, 0.09362076967954636, -0.0036015391815453768, 0.42926928400993347, 0.29170095920562744, 0.11926564574241638, -0.10653086751699448, 0.12178708612918854, 0.13617883622646332, -0.582369327545166, -0.0716724768280983, -0.2335551679134369, 0.3684827983379364, -0.16049838066101074, -0.67083740234375, -0.9398012757301331, 0.4834916889667511, 0.7726475596427917, -0.6592705249786377, 0.7206101417541504, 0.6557055115699768, -0.5721321702003479, 0.21705125272274017, -0.7020378112792969, -0.024059860035777092, -0.3354390263557434, 0.545920729637146, -0.24937120079994202, -0.45881399512290955, 0.3064184784889221, 0.030627712607383728, 0.17238345742225647, 0.9620510339736938, 0.13738606870174408, -0.381771981716156, 1.2319881916046143, 0.5607466101646423, -0.4130176603794098, 0.36778202652931213, -0.15588510036468506, -0.09675829112529755, -0.7366394996643066, -0.021016288548707962, -0.8449386358261108, -0.5946503281593323, -0.19300279021263123, -0.499372661113739, 0.3671463131904602, 0.19331388175487518, -0.1738881915807724, 0.3752512037754059, -0.4440593421459198, 0.33320051431655884, 0.853216290473938, -0.05987607315182686, 0.45128974318504333, -0.1781250387430191, 0.04480210691690445, -0.2011413276195526, -0.36137720942497253, -0.8471905589103699, 1.0635509490966797, 0.5330305695533752, 0.4149164855480194, -0.14177894592285156, 0.5537684559822083, 0.7454773783683777, 0.7107976675033569, -0.7421049475669861, 0.4259074032306671, 0.08361206203699112, -0.4342349171638489, -0.4380389451980591, -0.35618194937705994, -0.7825749516487122, 0.06551235169172287, -0.33476659655570984, -0.5924602746963501, -0.13098368048667908, 0.3925043046474457, -0.3649843633174896, 0.25016656517982483, -0.8807001113891602, 0.8059870600700378, -0.357817679643631, 0.0539543516933918, -0.244539275765419, -0.9494624137878418, -0.22809846699237823, -0.22727321088314056, 0.05283249169588089, -0.023059936240315437, -0.050511281937360764, 1.0968583822250366, -0.606361985206604, 0.6792996525764465, -0.3523533344268799, 0.31580862402915955, 0.29385167360305786, 0.023969532921910286, 0.6729817390441895, -0.5192723274230957, -0.19707274436950684, -0.05363720282912254, -0.2685856819152832, -0.40038686990737915, -0.2979336678981781, 0.00804158765822649, -0.8768773078918457, -0.37576815485954285, -0.32822850346565247, -0.6629747748374939, -0.2304716259241104, 0.20674389600753784, 0.3449785113334656, -0.09621307998895645, 0.027705317363142967, -0.03775889053940773, 0.04636495187878609, -0.15122205018997192, 0.37788674235343933, 0.25691553950309753, 0.0055742450058460236, -0.45787933468818665, 0.5791639089584351, 0.08331993222236633, 0.14369729161262512, 0.3743324875831604, 0.10432250797748566, -0.2332475632429123, -0.6833285689353943, -0.9656820893287659, 0.1762203425168991, -0.49522000551223755, -0.3825784921646118, -0.6519288420677185, -0.018083490431308746, -0.12037060409784317, -0.15594112873077393, -0.500586986541748, -0.6048403382301331, -0.0367094986140728, -0.40949371457099915, 0.3492443859577179, 0.4727489948272705, -0.16492798924446106, 0.5675056576728821, -1.0279580354690552, -0.006057424005120993, -0.17461954057216644, 0.13649919629096985, -0.25898119807243347, -0.5965422987937927, -0.5323994159698486, 0.039165228605270386, -0.20282971858978271, -0.8577010631561279, 0.35171744227409363, 0.16542944312095642, 0.5160756707191467, 0.2717447876930237, 0.050696711987257004, 1.0220749378204346, -0.4384136199951172, 0.7597178220748901, -0.01161911804229021, -1.2429752349853516, 0.455022394657135, 0.16558900475502014, 0.06683050841093063, 0.7525913715362549, 0.16307684779167175, -0.5049440860748291, -0.5663242340087891, -0.42551469802856445, -1.1088773012161255, 0.6417122483253479, 0.40872418880462646, -0.1956169754266739, 0.08391311019659042, 0.33916136622428894, 0.0546860508620739, 0.11293856054544449, -0.34523090720176697, -0.28862613439559937, -0.03490619361400604, -0.3231615722179413, -0.039269059896469116, -0.13627706468105316, -0.010018456727266312, -0.10414284467697144, 0.9499778747558594, -0.05802478641271591, 0.2212095707654953, 0.38837674260139465, -0.4542510509490967, -0.5206543803215027, 0.2242855578660965, 0.5894960761070251, 0.7278285026550293, -0.1718575805425644, 0.10247375816106796, 0.26386162638664246, -0.34628066420555115, 0.11828146874904633, 0.3617399334907532, -0.21818217635154724, 0.10908747464418411, 0.5473072528839111, 0.7699830532073975, -0.4696606397628784, -0.7560762166976929, 0.5233079195022583, 0.11894773691892624, -0.09162599593400955, -0.10491028428077698, -0.2530350387096405, -0.19377252459526062, 0.1364489495754242, 0.6034495234489441, 0.44308388233184814, 0.2859724462032318, -0.0535794273018837, 0.33264991641044617, 0.17612160742282867, -0.4570172429084778, -0.2898281216621399, 0.8032710552215576, 0.46292710304260254, -0.4102708697319031, 0.6451111435890198, -0.18677093088626862, -0.7025309205055237, 0.5883015990257263, 0.3620794117450714, 0.9582672715187073, -0.3978269100189209, 0.11639735847711563, 0.24000561237335205, 0.7192943692207336, -0.2001403421163559, 0.03013070672750473, 0.05979021266102791, -0.387800395488739, -0.9168893098831177, -0.5685854554176331, -0.49305590987205505, -0.15494874119758606, -0.603794276714325, 0.07689068466424942, 0.09608817845582962, -0.2393570989370346, -0.15162450075149536, -0.0889948233962059, -0.5913696885108948, 0.6320269703865051, -0.03472676873207092, 1.012385368347168, -1.0342307090759277, 0.6220142841339111, 0.9668049812316895, -0.7682868242263794, -0.8328846096992493, 0.06700945645570755, -0.26785871386528015, -0.7673002481460571, 0.7970139980316162, 0.18365058302879333, -0.2709426283836365, -0.04580799117684364, -0.1543082743883133, -0.6330658197402954, 0.8134341239929199, 0.3865014612674713, -0.5697497129440308, -0.14657807350158691, 0.20671114325523376, 0.7388754487037659, -0.10376113653182983, 0.30330368876457214, 0.6585796475410461, 0.8429324626922607, -0.2935464084148407, -1.2799535989761353, 0.040905844420194626, -0.3014869689941406, -0.22327204048633575, 0.41244906187057495, -0.3914109766483307, 0.47863975167274475, -0.21501311659812927, -0.20219074189662933, 0.10427643358707428, 0.7086829543113708, -0.3139527440071106, 0.3490282893180847, 0.7688000202178955, 0.43407076597213745, 0.808061957359314, -0.1893775463104248, 1.0467809438705444, -0.21082787215709686, 0.18723046779632568, 0.8650469779968262, 0.08813530951738358, 0.7722859382629395, 0.8024193644523621, -0.34635812044143677, 0.025037100538611412, 0.7605844736099243, -0.06498932838439941, 0.26262354850769043, 0.3220725655555725, 0.09197579324245453, -0.07562761008739471, -0.0820007249712944, -0.2829700708389282, 0.2950485646724701, 0.21176034212112427, -0.5077869892120361, 0.1066880002617836, 0.0028553486336022615, 0.20441319048404694, 0.19476176798343658, -0.018865076825022697, 0.7860097289085388, -0.19556361436843872, -0.8503578305244446, 0.20572839677333832, 0.31753700971603394, 0.5879088640213013, -0.3920629918575287, -0.041519757360219955, -0.3629591464996338, 0.1507813036441803, -0.2921856939792633, -0.4991956055164337, 0.6519197821617126, 0.2744242548942566, -0.04601304233074188, -0.1811799556016922, 0.341526061296463, -0.3325093686580658, -0.37278756499290466, 0.2114078551530838, 0.620546817779541, 0.4095800518989563, -0.3438316285610199, -0.6584013104438782, 0.04912461340427399, -0.14490555226802826, -0.4688502848148346, -0.048201341181993484, 0.21376124024391174, -0.3256608843803406, 0.5400466322898865, 0.5233651995658875, 0.3050782084465027, -0.06971398741006851, -0.04720228537917137, 0.585810661315918, -0.5831931233406067, -0.477571576833725, -0.8780744671821594, 0.6741963624954224, -0.08501820266246796, -0.25308266282081604, 0.555694043636322, 0.45130106806755066, 0.8263183832168579, -0.014314083382487297, 0.9161545634269714, -0.1157742291688919, 0.32955557107925415, -0.3531172275543213, 0.8769151568412781, -0.6698468923568726, 0.17757581174373627, -0.5030999779701233, -0.7367082238197327, -0.6920557022094727, 0.8337015509605408, -0.1880665272474289, -0.010085041634738445, 0.7299632430076599, 0.46652647852897644, 0.12138295918703079, -0.06058167666196823, 0.14907993376255035, -0.003435302758589387, 0.40692609548568726, 0.2401471734046936, 0.8566709756851196, -0.5964342355728149, 0.6234583854675293, -0.1500694304704666, -0.4624454379081726, -0.30925217270851135, -0.8603241443634033, -0.535844087600708, -0.4679306447505951, -0.4663296043872833, -0.37471726536750793, 0.13447034358978271, 1.3460795879364014, 0.7475076913833618, -0.8010022044181824, -0.0729655772447586, 0.030280258506536484, -0.2667846083641052, -0.6314959526062012, -0.1574469804763794, 0.7747536897659302, -0.44949179887771606, -1.0746310949325562, 0.320594847202301, 0.34923070669174194, 0.03156716004014015, -0.07925844937562943, -0.2291709929704666, -0.15299928188323975, 0.045842260122299194, 0.3303922116756439, 0.11147726327180862, -0.6877822279930115, -0.4918366074562073, -0.11108403652906418, -0.3377034366130829, 0.14761985838413239, 0.44167008996009827, -0.43683290481567383, 0.5444988012313843, 0.29270684719085693, 1.252408504486084, 0.27689531445503235, 0.2457723170518875, 0.6907601356506348, -0.5768638849258423, 0.13810127973556519, 0.20368081331253052, 0.4635297358036041, 0.43796366453170776, -0.28546279668807983, 0.7945939302444458, 0.19216525554656982, -0.6389070153236389, -0.7815890908241272, -0.14291369915008545, -0.8239215016365051, 0.1743348389863968, 0.7304216623306274, -0.4583912491798401, -0.18261004984378815, -0.05224526301026344, -0.7993665337562561, 0.4951455593109131, -0.4592134356498718, 0.9835869669914246, 0.7270429730415344, -0.26171374320983887, 0.2130715250968933, -0.3580799102783203, 0.5159177184104919, 0.7293200492858887, -1.046093225479126, -0.29661160707473755, 0.561333179473877, -0.10254983603954315, 0.4284559488296509, 0.7100464105606079, -0.0931166410446167, 0.42489179968833923, -0.07650905102491379, 0.3425748944282532, -0.3344652056694031, -0.2965407967567444, -0.0006288869772106409, -0.01821533404290676, 0.426059365272522, -0.8859210014343262 ]
http://arxiv.org/abs/2406.12416v2
http://arxiv.org/pdf/2406.12416v2
Beyond Under-Alignment: Atomic Preference Enhanced Factuality Tuning for Large Language Models
2024-06-18T09:07:30
2024-06-27T12:07:55
Hongbang Yuan, Yubo Chen, Pengfei Cao, Zhuoran Jin, Kang Liu, Jun Zhao
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have achieved remarkable success but still tend to generate factually erroneous responses, a phenomenon known as hallucination. A recent trend is to use preference learning to fine-tune models to align with factuality. However, existing work primarily evaluates fine-tuned models on in-domain (ID) datasets and the factuality on out-of-domain (OOD) datasets remains underexplored. In this paper, we conduct a comprehensive evaluation of the factuality of different models tuned by various preference learning algorithms and demonstrate that their performance on OOD datasets either increases minimally or decreases. Subsequently, we reveal that the main cause of model's failure to uphold factuality under a distribution shift is \textbf{under-alignment}, rather than \textbf{over-alignment}, by analyzing the token distribution shift of the models before and after tuning. Finally, we propose \textbf{APEFT} (\textbf{A}tomic \textbf{P}reference \textbf{E}nhanced \textbf{F}actuality \textbf{T}uning), a framework that enhances model's awareness of factuality at the granularity of individual facts. Extensive experiments demonstrate that APEFT improves model performance by an average of $\boldsymbol{3.45\%}$ on both ID and OOD datasets, which is highly effective.
[ -0.4674375653266907, -0.7887584567070007, 0.7944872975349426, -0.3731064200401306, -0.33219483494758606, -0.0846165344119072, -0.41252243518829346, -0.46449440717697144, 0.028595522046089172, 0.5888594388961792, -0.30843642354011536, -0.4315255880355835, -0.4381439685821533, 0.14798958599567413, -0.09459897875785828, 1.0610268115997314, 0.1886017620563507, -0.07472813129425049, -0.21019725501537323, -0.19511432945728302, -0.2462487816810608, -0.5881322622299194, -0.15648208558559418, -0.44834378361701965, 0.1639983355998993, 0.4172775149345398, 1.119515061378479, 0.9666239023208618, 0.6338292360305786, 0.23431384563446045, 0.0037881263997405767, 0.6366686820983887, -0.6028120517730713, -0.1461101621389389, -0.38818931579589844, -0.4657030403614044, -0.6564656496047974, -0.029944974929094315, 0.6341812610626221, 0.6828985810279846, -0.11712885648012161, 0.0418948233127594, -0.16817235946655273, 0.7730484008789062, -0.7470635771751404, 0.045056138187646866, -1.0649455785751343, -0.1566990613937378, -0.1241670697927475, -0.24547839164733887, -0.5102006793022156, -0.5111306309700012, 0.2613869905471802, -0.6938775181770325, 0.3029499351978302, 0.5046671032905579, 1.0609922409057617, 0.39071163535118103, -0.5794327855110168, -0.20225316286087036, -0.7316727638244629, 0.920243501663208, -0.8903847336769104, 0.6303797364234924, 0.5225387811660767, -0.07724412530660629, -0.16491059958934784, -0.23827099800109863, -0.6929828524589539, -0.29658976197242737, -0.08775615692138672, -0.14433473348617554, 0.04928692802786827, 0.17475080490112305, 0.1219005435705185, 0.61991286277771, -0.3615852892398834, 0.18168006837368011, -0.02875680848956108, -0.1220402866601944, 0.7594665288925171, 0.01908963918685913, 0.0782008171081543, -0.013037523254752159, -0.38137051463127136, -0.15353693068027496, -0.8358036875724792, -0.3433988392353058, 0.4061729907989502, 0.582821249961853, -0.08364490419626236, 0.6933320760726929, -0.17438848316669464, 0.5041383504867554, 0.45755839347839355, -0.09448738396167755, 0.42099234461784363, -0.18650442361831665, -0.3619944751262665, 0.37878453731536865, 0.48083269596099854, 0.36606207489967346, 0.26343873143196106, -0.17047007381916046, -0.3300234079360962, 0.09765397012233734, 0.35038745403289795, -0.7623703479766846, -0.21361975371837616, 0.2658977508544922, -0.43182921409606934, -0.28358694911003113, 0.20084726810455322, -0.5441814064979553, -0.6531223058700562, -0.6992712616920471, 0.35216960310935974, -0.4765819311141968, -0.37842148542404175, 0.3181927502155304, 0.1304405927658081, 0.043276555836200714, 0.27410054206848145, -1.151511788368225, 0.17899289727210999, 0.9301648139953613, 0.8752065896987915, -0.4388611912727356, -0.1826114058494568, -0.3604835271835327, 0.0486186146736145, -0.5969780087471008, 0.9811223149299622, -0.5920066833496094, -0.19597460329532623, -0.12539973855018616, -0.19526776671409607, -0.1416967660188675, -0.7930563688278198, 0.5983266830444336, -0.7645860910415649, -0.09417308121919632, -0.6807196736335754, -0.8233543038368225, -0.2468140423297882, 0.19877664744853973, -0.5345438122749329, 0.8698939085006714, -0.1610768735408783, -0.632217526435852, 0.8419158458709717, -0.6430166363716125, -0.34625279903411865, -0.30732086300849915, -0.1977444440126419, -0.4578576683998108, 0.42046383023262024, 0.21377962827682495, 0.28134241700172424, -0.3041365444660187, 0.5580547451972961, -0.6506414413452148, -0.30904102325439453, 0.48728689551353455, -0.574155867099762, 0.5228273272514343, 0.16474668681621552, -0.40122902393341064, 0.19696742296218872, -0.8872803449630737, -0.23744608461856842, -0.08811106532812119, -0.2237105667591095, -0.41577979922294617, 0.14040035009384155, -0.19541746377944946, 0.06194841116666794, 0.09098994731903076, -0.48708993196487427, 0.28780388832092285, -0.7349987030029297, 0.20969423651695251, 0.972788393497467, -0.15290534496307373, 0.45118266344070435, -0.5802826881408691, 0.032830312848091125, 0.09669540077447891, 0.07251647859811783, 0.25729164481163025, -0.23604179918766022, -0.7474732995033264, -0.3358665108680725, 0.2381765991449356, 0.3464394807815552, -0.24908104538917542, 0.7554882168769836, -0.5026891827583313, -0.14710856974124908, -0.6138304471969604, 0.047942109405994415, 0.24863846600055695, 0.69630366563797, 0.47586172819137573, -0.31517189741134644, -0.3302075266838074, -0.804443895816803, -0.06451305747032166, -0.3803653120994568, 0.2675187885761261, 0.46627524495124817, 0.4139452576637268, -0.3545028865337372, 1.1810171604156494, -0.5819065570831299, -0.10626719892024994, -0.0344160720705986, 0.1058831438422203, 0.1819598227739334, 0.3002922832965851, 0.44701462984085083, -0.9466533064842224, -0.2660243809223175, 0.30445873737335205, -0.5669949054718018, -0.010259795933961868, 0.08183524757623672, -0.13552595674991608, 0.7247495055198669, 0.2936767041683197, -0.7653687000274658, 0.31369221210479736, 0.30238261818885803, -0.22783590853214264, 0.6509183645248413, -0.19295033812522888, 0.2692246735095978, -0.8846417665481567, 0.12141948938369751, -0.14977285265922546, -0.25160422921180725, -0.43000733852386475, -0.04198808968067169, 0.07192499935626984, 0.3372790217399597, -0.4435521960258484, 0.5609102845191956, -0.33989542722702026, -0.15065883100032806, -0.5179368257522583, 0.1391700804233551, -0.10027068853378296, 0.3030903935432434, 0.3276900351047516, 0.8471875786781311, 0.4027266204357147, -0.7577774524688721, 0.20104579627513885, 0.4377264082431793, -0.4004592299461365, 0.3438788056373596, -0.3916381895542145, 0.19596092402935028, -0.11113762855529785, 0.029333114624023438, -0.9941247701644897, -0.27184823155403137, 0.15399014949798584, -0.2645340859889984, 0.3510510325431824, -0.11482993513345718, -0.34136825799942017, 0.22092200815677643, -0.40303879976272583, 0.4921676516532898, 0.4507980942726135, -0.8361783623695374, 0.3707861304283142, 0.4346863627433777, 0.2337079793214798, -0.7190932035446167, -0.455111563205719, -0.25501400232315063, -0.42957279086112976, -0.4126192629337311, 0.30825144052505493, -0.09831774234771729, -0.5146705508232117, -0.06650300323963165, -0.3296569287776947, 0.2447066307067871, 0.03494931384921074, 0.08900755643844604, 0.45525962114334106, -0.4883843660354614, 0.28279298543930054, 0.01883646659553051, -0.08886678516864777, -0.055363211780786514, -0.255802720785141, 0.5984944701194763, -0.2308269739151001, -0.24369779229164124, -0.20698760449886322, -0.17746317386627197, 0.47706130146980286, -0.01555158756673336, 0.9214766025543213, 0.19352830946445465, -0.22587475180625916, -0.2074114978313446, -0.5791664719581604, -0.4266963601112366, -0.5013762712478638, 0.326543390750885, -0.17721915245056152, -0.7321816086769104, 0.3669816851615906, -0.04872822016477585, 0.03381812199950218, 0.5523926615715027, 0.5672034025192261, 0.1814568191766739, 1.0125442743301392, 0.6686791777610779, -0.2922239899635315, 0.4411284923553467, 0.0505504310131073, 0.3910156488418579, -0.7170168161392212, 0.08173868805170059, -0.3968917727470398, 0.013393634930253029, -0.7120800018310547, -0.2710350453853607, 0.4015369713306427, -0.024819426238536835, -0.4129713177680969, 0.03340757265686989, -0.06856139749288559, 0.6109794974327087, 0.2272224724292755, 0.05493489280343056, 0.4470573961734772, 0.15340721607208252, -0.007930602878332138, 0.0747247263789177, -0.5561031699180603, -0.5012127161026001, 1.3505915403366089, 0.245416522026062, 0.7489597797393799, 0.12704728543758392, 0.3260342478752136, 0.3789883553981781, 0.1725410670042038, -0.8843969702720642, 0.3296459913253784, -0.20289559662342072, -0.8024045825004578, -0.5238140225410461, -0.42829397320747375, -0.584038257598877, 0.35586971044540405, -0.48850885033607483, -0.8007102608680725, 0.5688533186912537, 0.5224681496620178, -0.5490595102310181, 0.3007606267929077, -0.5331113934516907, 0.6939308643341064, -0.24944622814655304, -0.3113117516040802, -0.45381417870521545, -0.6715623140335083, 0.43966758251190186, -0.22112233936786652, 0.10381241887807846, -0.36825019121170044, 0.21275819838047028, 0.3006995618343353, -0.3015305697917938, 0.7720027565956116, 0.20453669130802155, -0.2943030893802643, -0.1735307276248932, 0.003553202608600259, 0.6125320792198181, 0.22990940511226654, -0.3846138119697571, 0.38186115026474, -0.21134309470653534, -0.025507032871246338, -0.5949825048446655, 0.6474525332450867, -0.9777829051017761, -0.7286764979362488, -0.4783429801464081, -0.546225368976593, -0.4664527177810669, 0.3464571535587311, 0.37728676199913025, 0.5015526413917542, -0.25254321098327637, 0.16794627904891968, 1.0206003189086914, -0.06074156612157822, 0.1490834504365921, 0.5185127854347229, -0.3002735674381256, -0.3305337727069855, 0.9740501046180725, 0.08560453355312347, 0.43996158242225647, 0.44899189472198486, 0.36346298456192017, -0.5944730043411255, -0.621674120426178, -0.4397462010383606, 0.509951651096344, -0.7503374814987183, -0.2447168380022049, -0.5634352564811707, -0.16150502860546112, -0.7463184595108032, -0.14289040863513947, -0.5807981491088867, -0.388825923204422, -0.3843942880630493, -0.28387629985809326, 0.3879353404045105, 0.49509188532829285, -0.035595111548900604, 0.24863237142562866, -0.5413012504577637, 0.4968750476837158, 0.11573314666748047, 0.4167143702507019, -0.16659554839134216, -0.8997519016265869, -0.2660304009914398, 0.12598606944084167, -0.26970353722572327, -0.4491356909275055, 0.3002748489379883, 0.3256881535053253, 0.32880550622940063, 0.798475444316864, 0.3651520013809204, 0.8644777536392212, -0.4256783723831177, 0.5523393154144287, -0.24583376944065094, -1.1378921270370483, 0.16069646179676056, -0.2631746828556061, -0.052769776433706284, 0.6671490669250488, 0.40317752957344055, -0.25333377718925476, -0.15156513452529907, -0.6065958142280579, -0.9160171151161194, 0.9626797437667847, 0.06473991274833679, 0.050578523427248, 0.06546248495578766, 0.4732498824596405, 0.486174076795578, 0.5703582167625427, -0.492078572511673, -0.32659608125686646, -0.11271918565034866, -0.11331998556852341, -0.3460460901260376, -0.25502440333366394, -0.07795818895101547, -0.31986793875694275, 1.0737088918685913, -0.3173421621322632, 0.013693765737116337, 0.13035690784454346, -0.13645805418491364, -0.4165751338005066, 0.22848351299762726, 0.6169764399528503, 0.9300045967102051, -0.5568642020225525, 0.21199364960193634, 0.04316026344895363, -0.26625731587409973, -0.06623528152704239, -0.021410997956991196, -0.27319082617759705, -0.25971275568008423, 0.22593480348587036, 1.2020646333694458, -0.05512133613228798, -0.5759435296058655, 0.3605876564979553, 0.2100359946489334, 0.10187505930662155, -0.12323777377605438, 0.2462080717086792, -0.4402558207511902, 0.10741639137268066, 0.15170447528362274, 0.21507565677165985, 0.3419762849807739, -0.7060917019844055, 0.1671881079673767, 0.7353296875953674, -0.1762361079454422, -0.4308249056339264, 0.5523850917816162, -0.07505761086940765, 0.16396677494049072, 0.658544659614563, 0.043205440044403076, -0.4092737138271332, 0.43125319480895996, 0.7846372127532959, 0.8706099987030029, 0.013654421083629131, 0.26144981384277344, 0.08569937199354172, 0.3411060869693756, -0.3531985282897949, 0.017320046201348305, -0.16052234172821045, -1.386210322380066, -0.16489961743354797, -0.6168732047080994, -0.423862487077713, 0.21120326220989227, -0.6503665447235107, 0.3274984657764435, -0.35192427039146423, -0.3158036172389984, -0.01219397597014904, -0.02484792284667492, -0.2483307421207428, 0.4045078754425049, 0.14572209119796753, 0.5235762596130371, -1.0379105806350708, 0.882468044757843, 0.7470472455024719, -0.07120099663734436, -0.5619054436683655, 0.49373793601989746, 0.08189823478460312, -0.8244868516921997, 0.27560701966285706, 0.0075831664726138115, -0.3402986526489258, -0.002940216101706028, -0.512116014957428, -1.1713964939117432, 0.6017966866493225, 0.8151472210884094, -0.45409151911735535, 0.2189446985721588, 0.25555238127708435, 0.5169504284858704, -0.4045642912387848, 0.25026145577430725, 0.9273606538772583, 0.43504759669303894, 0.138502836227417, -0.9030479788780212, 0.0667482540011406, 0.04933302477002144, -0.08978068083524704, 0.3355964422225952, -0.9034727215766907, 0.8299077749252319, -0.2362533062696457, -0.15549755096435547, -0.19032517075538635, 0.7672001719474792, 0.41797757148742676, 0.27897152304649353, 0.5070937871932983, 0.46500933170318604, 1.078685998916626, 0.11961939930915833, 0.895938515663147, -0.22657684981822968, 0.551669716835022, 1.0271131992340088, -0.6497149467468262, 0.8121381998062134, 0.4934569001197815, -0.05871107801795006, 0.22368194162845612, 0.6105720400810242, 0.09808909147977829, 0.6344848871231079, -0.26458847522735596, 0.08450835943222046, -0.6082077026367188, -0.16696012020111084, -0.40771135687828064, 0.29070720076560974, 0.22536753118038177, -0.23698864877223969, 0.03472407907247543, -0.1952962428331375, -0.029595287516713142, 0.05535632371902466, -0.2639017403125763, 0.8203949332237244, 0.024686913937330246, -0.5718380212783813, 0.8394644856452942, -0.057477522641420364, 0.560677707195282, -0.3926980793476105, 0.10033728927373886, -0.3128355145454407, 0.2881215810775757, -0.30514442920684814, -0.4142530560493469, 0.2527134418487549, -0.2459697276353836, -0.4699879288673401, 0.1026853621006012, 0.48442354798316956, -0.36171284317970276, -0.379658967256546, 0.07656380534172058, 0.012283268384635448, -0.08037324994802475, 0.004498362075537443, -0.524990439414978, 0.17548373341560364, -0.047043751925230026, -0.3027147948741913, 0.22393406927585602, 0.4655396342277527, -0.21184682846069336, 0.5222043395042419, 0.5609932541847229, 0.19387073814868927, -0.0957774966955185, -0.13247936964035034, 0.7116559147834778, -0.5142951011657715, -0.5259883999824524, -1.1056091785430908, 0.1920512318611145, -0.0462004616856575, -0.47762349247932434, 0.9202325940132141, 0.6987325549125671, 1.0115331411361694, -0.06364285945892334, 0.7312395572662354, 0.19817830622196198, 0.40201058983802795, -0.8568642139434814, 0.5977911353111267, -0.7220462560653687, 0.3105478286743164, -0.3189738690853119, -0.9826596975326538, -0.40103816986083984, 0.5335111618041992, -0.6215749979019165, -0.04377513751387596, 0.7113210558891296, 0.8767659068107605, -0.39853575825691223, 0.1457759141921997, 0.407973974943161, 0.32591667771339417, 0.1604469120502472, 0.0686367005109787, 0.7323717474937439, -0.21294578909873962, -0.1497672200202942, -0.17435862123966217, -0.10820429772138596, -0.4851970076560974, -0.9533908367156982, -0.9118131995201111, -0.48366838693618774, -0.44569528102874756, -0.23792219161987305, 0.1543274223804474, 1.4819934368133545, 0.797703206539154, -1.2487800121307373, -0.1947193145751953, -0.11140892654657364, 0.1655830442905426, -0.13484196364879608, -0.18502290546894073, 0.6165797114372253, -0.3590414524078369, -0.591374397277832, 0.448585569858551, 0.23925283551216125, 0.06299614161252975, 0.1480284035205841, 0.002955906093120575, 0.0494370274245739, 0.5992879271507263, 0.48082435131073, 0.21591374278068542, -0.6748114228248596, -0.3966212868690491, -0.16507436335086823, 0.11929503083229065, 0.49689123034477234, 0.810111939907074, -0.4802936315536499, 0.3226626217365265, 0.38661983609199524, 0.5948166847229004, 0.17587357759475708, 0.548383355140686, 0.5779094696044922, -0.5202658176422119, 0.2145439237356186, 0.0500190369784832, 0.261340469121933, 0.23964926600456238, -0.7281548380851746, 0.16580787301063538, 0.366000235080719, -0.7498899102210999, -1.08896803855896, 0.1398787498474121, -0.7773759365081787, -0.35018211603164673, 1.3084869384765625, 0.2766661047935486, -0.18869175016880035, -0.14152520895004272, -0.19844792783260345, 0.35798004269599915, -0.6755509376525879, 1.2810441255569458, 0.654927670955658, -0.2860724925994873, 0.25906649231910706, -0.18193960189819336, 0.8395251631736755, 0.5849595069885254, -0.7087345123291016, 0.452657550573349, 0.7531915307044983, 0.2183275669813156, 0.07739447057247162, 0.38643860816955566, -0.003328408347442746, 0.13446669280529022, -0.3950040340423584, -0.08543913811445236, 0.06932481378316879, -0.6608633995056152, -0.5673245191574097, 0.022630460560321808, 0.3574105203151703, -0.034444332122802734 ]
http://arxiv.org/abs/2406.12403v1
http://arxiv.org/pdf/2406.12403v1
PDSS: A Privacy-Preserving Framework for Step-by-Step Distillation of Large Language Models
2024-06-18T08:48:14
2024-06-18T08:48:14
Tao Fan, Yan Kang, Weijing Chen, Hanlin Gu, Yuanfeng Song, Lixin Fan, Kai Chen, Qiang Yang
cs.CL
cs.CL, cs.AI
In the context of real-world applications, leveraging large language models (LLMs) for domain-specific tasks often faces two major challenges: domain-specific knowledge privacy and constrained resources. To address these issues, we propose PDSS, a privacy-preserving framework for step-by-step distillation of LLMs. PDSS works on a server-client architecture, wherein client transmits perturbed prompts to the server's LLM for rationale generation. The generated rationales are then decoded by the client and used to enrich the training of task-specific small language model(SLM) within a multi-task learning paradigm. PDSS introduces two privacy protection strategies: the Exponential Mechanism Strategy and the Encoder-Decoder Strategy, balancing prompt privacy and rationale usability. Experiments demonstrate the effectiveness of PDSS in various text generation tasks, enabling the training of task-specific SLM with enhanced performance while prioritizing data privacy protection.
[ -0.1422853320837021, -0.7173639535903931, 0.668799102306366, 0.361454039812088, -0.19612009823322296, 0.20211298763751984, -0.2426290065050125, 0.22341808676719666, -0.2594831883907318, 0.643153727054596, -0.5841844081878662, -0.5622184872627258, -0.45748743414878845, 0.12301592528820038, -0.5114823579788208, 1.2924968004226685, -0.023652639240026474, 0.03971317782998085, -0.15880954265594482, 0.3080657124519348, 0.2037031352519989, -0.5500664114952087, -0.8565197587013245, -0.05985352769494057, 0.4584428668022156, 0.10452036559581757, 0.3623437285423279, 0.732636570930481, 0.21111297607421875, 0.27708837389945984, -0.21336489915847778, 0.27361127734184265, -0.5232020020484924, 0.594872772693634, -0.355968177318573, -0.5806825757026672, -0.5041067600250244, -0.06899111717939377, 0.625098705291748, 0.7178277969360352, -0.5164819955825806, 0.3448469936847687, 0.3818534016609192, 0.7139268517494202, -0.7022450566291809, 0.14682751893997192, -0.41565316915512085, -0.0485607273876667, -0.2661653161048889, -0.24911612272262573, -0.5671301484107971, -0.47164061665534973, 0.2832387387752533, -0.26507261395454407, 0.38775795698165894, 0.03126858174800873, 0.4545767605304718, 0.1805260181427002, -0.41788479685783386, 0.022491849958896637, -0.6092934012413025, 0.7383517622947693, -0.6029978394508362, 0.38549038767814636, 0.6898624897003174, 0.388816237449646, -0.34018415212631226, -0.7217237949371338, -0.6693564653396606, -0.057462554425001144, 0.08792168647050858, -0.5047221779823303, 0.0603569820523262, 0.20032130181789398, 0.4807176887989044, 0.2464907020330429, -0.5833227038383484, -0.027004053816199303, -0.06822789460420609, -0.31290215253829956, 0.5088292956352234, 0.12004557251930237, -0.047162655740976334, 0.028431767597794533, -0.42068371176719666, -0.0062817418947815895, -1.0374013185501099, -0.041470080614089966, 0.32148972153663635, 0.31107017397880554, -0.15719056129455566, 0.35037752985954285, -0.27998635172843933, 0.533246636390686, 0.3120384216308594, -0.8112996816635132, 0.060745835304260254, -0.12019553780555725, -0.5227213501930237, -0.17944616079330444, 0.8211811780929565, 0.05252408981323242, -0.059812743216753006, -0.36669468879699707, -0.0986129492521286, -0.03310622274875641, 0.04927441105246544, -1.0813026428222656, -0.33077433705329895, 0.3359801173210144, -0.3786330819129944, -0.3974691927433014, -0.2812913656234741, -0.7904248833656311, -0.7226346731185913, -0.4494309425354004, -0.06154942885041237, -0.27172133326530457, -0.12671634554862976, 0.11058282107114792, -0.05772670358419418, -0.2160775065422058, 0.4286809265613556, -1.0024387836456299, 0.6304436326026917, 0.781511664390564, 0.765205442905426, -0.2554142475128174, -0.31951746344566345, -0.6843103766441345, 0.496730774641037, -0.12939119338989258, 0.11183975636959076, -0.293207585811615, -0.4846411347389221, 0.04869375005364418, 0.14340800046920776, 0.15938319265842438, -0.37822431325912476, 0.1126449704170227, -0.6119179725646973, 0.07685552537441254, -0.481471985578537, -0.5805028676986694, 0.11174240708351135, 0.18285822868347168, -0.5060123205184937, 0.6864244341850281, -0.17402739822864532, -0.7291023135185242, 0.40630078315734863, -0.5543749928474426, -0.4447343945503235, 0.053838808089494705, -0.3339249789714813, -0.49902617931365967, 0.0682639479637146, 0.04829084128141403, 0.5976751446723938, -0.41652634739875793, 0.23991639912128448, -0.33240607380867004, 0.08598965406417847, 0.38120266795158386, -0.6498375535011292, 0.9495505690574646, 0.3656845688819885, -0.38276007771492004, -0.05750695616006851, -0.8938199877738953, -0.17241470515727997, 0.1000228077173233, -0.4868370294570923, -0.35441553592681885, 0.11054320633411407, -0.31016823649406433, 0.1738940328359604, 0.43727922439575195, -0.7020502090454102, -0.08582934737205505, -0.12385078519582748, 0.6451021432876587, 0.8285773396492004, 0.10633761435747147, 0.7181639075279236, -0.10084855556488037, 0.5764428973197937, 0.22578586637973785, 0.16239437460899353, -0.30771541595458984, -0.23169302940368652, -0.40904536843299866, -0.5296749472618103, 0.2825801372528076, 0.46987220644950867, -0.80611652135849, 0.49795621633529663, -0.28057125210762024, -0.27603358030319214, -0.21841101348400116, 0.20081159472465515, 0.44821858406066895, 0.4464096426963806, -0.09139303117990494, -0.20851130783557892, -0.21760016679763794, -0.7522197365760803, -0.03883188217878342, 0.07580887526273727, -0.16799990832805634, -0.04623265191912651, 0.24270226061344147, -0.04104602336883545, 0.9475151896476746, -0.5697388052940369, -0.3208637535572052, -0.16464151442050934, 0.10136344283819199, -0.2708715498447418, 0.6768171191215515, 0.4834170341491699, -0.7585020065307617, -0.6855133771896362, -0.26304781436920166, -0.5785226821899414, -0.037488047033548355, -0.008292908780276775, -0.11077501624822617, 0.21850353479385376, 0.3406828045845032, -0.7996219992637634, 0.4553166627883911, 0.5540763139724731, -0.12309791147708893, 0.2731499969959259, -0.46916890144348145, 0.06604963541030884, -1.1262787580490112, 0.012436117976903915, 0.21277004480361938, -0.5964903235435486, -0.6802497506141663, 0.13628007471561432, 0.22043262422084808, -0.3466266989707947, -0.4172057509422302, 0.213006854057312, -0.6866546273231506, 0.20092545449733734, -0.4402213990688324, 0.07812672108411789, 0.21617645025253296, 0.3617798089981079, 0.07847852259874344, 0.7516167163848877, 0.8448290228843689, -0.767827033996582, 0.2815585732460022, 0.15165305137634277, -0.11550828069448471, 0.7941767573356628, -0.3158644139766693, 0.40232911705970764, -0.2691982686519623, 0.3109927475452423, -0.7377044558525085, -0.03971005603671074, 0.1043001189827919, -0.024220073595643044, 0.5073578357696533, -0.31858929991722107, -0.7882643938064575, -0.12932246923446655, -0.4128737151622772, 0.058589424937963486, 0.5936754941940308, -0.649015486240387, 0.5624540448188782, 0.6484726071357727, -0.4189732074737549, -0.6399840116500854, -0.6276315450668335, 0.1480344980955124, -0.39495304226875305, -0.2564425468444824, 0.24850048124790192, -0.13506849110126495, -0.2660830616950989, -0.2683325409889221, -0.29679587483406067, -0.36325666308403015, 0.10903649777173996, 0.3836899697780609, 0.18918068706989288, 0.2664382755756378, -0.33123070001602173, 0.60991370677948, -0.05034569650888443, 0.19151169061660767, -0.3904707729816437, 0.40193629264831543, 0.306168794631958, -0.29999563097953796, -0.6772189736366272, 0.44302934408187866, 0.5750715732574463, -0.1847364604473114, 0.911270022392273, 0.16637030243873596, -0.39450034499168396, -0.7835020422935486, -0.44074198603630066, -0.20293721556663513, -0.5756356716156006, 0.20046783983707428, -0.5232692360877991, -1.0402683019638062, 0.31042078137397766, -0.3510344624519348, 0.23587635159492493, -0.25295084714889526, 0.42088571190834045, 0.17410719394683838, 0.9658389687538147, 0.7903531789779663, -0.1710868924856186, 0.34405583143234253, -0.06330876052379608, 0.42818406224250793, -0.6286234259605408, -0.2148728370666504, -0.5578883290290833, -0.0526314452290535, -0.28394871950149536, -0.3597499132156372, 0.17433269321918488, -0.03752029687166214, -0.20735745131969452, 0.4122711420059204, -0.5249157547950745, 0.7759824991226196, 0.21082347631454468, 0.09400399774312973, 0.3444027900695801, 0.20168665051460266, 0.022908447310328484, -0.17533917725086212, -0.43839067220687866, -0.7537490129470825, 1.2664369344711304, 0.5091205835342407, 1.1003131866455078, 0.301868736743927, 1.147993803024292, 0.3180111348628998, 0.05443757772445679, -0.29799360036849976, 0.9736703634262085, -0.12621065974235535, -0.6079884171485901, -0.4388585388660431, -0.6225903630256653, -0.6479939222335815, 0.3807325065135956, 0.2808012366294861, -0.8961027264595032, 0.35011738538742065, 0.30205225944519043, -0.482805460691452, 0.13590745627880096, -0.5687566995620728, 0.6518800854682922, -0.054443974047899246, -0.7800837755203247, -0.1093922033905983, -0.7769089341163635, 0.2990435063838959, -0.17673471570014954, 0.27461743354797363, -0.061178628355264664, -0.1576547473669052, 0.460805743932724, -0.5775530934333801, 1.150505542755127, -0.5756176710128784, -0.5064129829406738, 0.005731464363634586, 0.48897963762283325, 0.708092451095581, 0.26554250717163086, 0.09205614030361176, -0.07371199876070023, 0.15984398126602173, -0.10007048398256302, -0.5353812575340271, 1.0371348857879639, -0.20922748744487762, -0.6609044075012207, -0.5081879496574402, -0.43381839990615845, -0.19197805225849152, 0.2127838283777237, 0.011004799976944923, 0.20083215832710266, -0.14476637542247772, 0.12770628929138184, 1.1360197067260742, 0.006504651624709368, 0.5123568177223206, 0.873445451259613, -0.26749730110168457, -0.2624504268169403, 0.9628732204437256, -0.08350098133087158, 0.38537153601646423, 0.4023226201534271, -0.0646989569067955, -0.5771732926368713, -0.7211483716964722, -0.49919283390045166, 0.13330374658107758, -0.6689102649688721, -0.17073588073253632, -0.5098844766616821, -0.01743483729660511, -0.383846640586853, 0.05205390974879265, -0.28236615657806396, -0.44751232862472534, -0.4869316518306732, -0.1603635996580124, 0.2533947229385376, 0.4833466410636902, -0.09923652559518814, 0.1991705447435379, -0.7284774780273438, 0.5376043319702148, 0.3136502206325531, 0.4111568331718445, -0.09396903216838837, -0.31727203726768494, -0.11657428741455078, 0.197965607047081, -0.259579062461853, -0.8515805006027222, 0.5359358787536621, 0.224124014377594, 0.376680850982666, 0.2927156984806061, 0.3475528657436371, 0.6147539019584656, -0.8839657306671143, 0.8544709086418152, 0.19290487468242645, -1.0925514698028564, 0.512090265750885, -0.11411552876234055, -0.09517830610275269, 0.7288605570793152, 0.371567040681839, -0.11380144953727722, -0.4121853709220886, -0.4176378548145294, -0.6607790589332581, 0.876826286315918, 0.11111843585968018, 0.06661856919527054, 0.02223387360572815, 0.37098246812820435, 0.332592248916626, 0.6767551302909851, -0.6805532574653625, -0.31392574310302734, 0.018692288547754288, -0.30654263496398926, 0.10165396332740784, -0.13558927178382874, -0.583564281463623, -0.13787375390529633, 0.5980270504951477, -0.010037836618721485, -0.196323424577713, -0.04053926840424538, -0.132533997297287, -0.01653551124036312, 0.36975976824760437, 0.3418882191181183, 0.5194117426872253, 0.1038169339299202, 0.22216258943080902, 0.013717840425670147, -0.5426206588745117, 0.42618831992149353, 0.32701581716537476, -0.37203389406204224, -0.1427186131477356, -0.5055771470069885, 0.6846976280212402, -0.001994814956560731, -0.6088918447494507, 0.5963613986968994, -0.1969738006591797, -0.22957175970077515, -0.1291242092847824, 0.1570204645395279, 0.06261920183897018, 0.1027115061879158, 0.21654467284679413, -0.07161355763673782, 0.2844015955924988, -0.3623206913471222, 0.04341829940676689, 0.35023632645606995, 0.18947196006774902, -0.38206610083580017, 0.8226761221885681, 0.26406389474868774, -0.2393016666173935, -0.08627917617559433, -0.5261002779006958, -0.15005910396575928, 0.1207108274102211, 0.6091862320899963, 1.0538232326507568, -0.4193803369998932, 0.3511086106300354, -0.08422745019197464, 0.01583467423915863, -0.5056171417236328, 0.40925121307373047, -0.5540299415588379, -0.18205392360687256, -0.22818760573863983, -0.7908934354782104, -0.5288272500038147, 0.10705014318227768, -0.6407792568206787, -0.004528638906776905, -0.8054881691932678, -0.2922404110431671, 0.09747321903705597, -0.31180623173713684, -0.3284761607646942, 0.13277404010295868, 0.1678573042154312, 0.7137355208396912, -0.5598912239074707, 1.2258974313735962, 0.43083998560905457, -0.2615533769130707, -0.6176177859306335, 0.15563620626926422, 0.29019394516944885, -0.3150458037853241, 0.6458802819252014, -0.2225322425365448, -0.17498894035816193, -0.1062934547662735, -0.4521414339542389, -0.8091635704040527, 1.0483886003494263, 0.7312464118003845, -1.0040595531463623, -0.2157669961452484, 0.4543682038784027, 0.5725639462471008, -0.2384369671344757, -0.6693016886711121, 0.5856208205223083, 0.008985588327050209, -0.1783130019903183, -1.0751091241836548, 0.4024917185306549, 0.1271919161081314, 0.32774147391319275, 0.212642103433609, -0.359966516494751, 0.8427572846412659, -0.03271729499101639, -0.3670964241027832, 0.15172894299030304, 0.3723483085632324, 0.5037425756454468, 0.19229991734027863, 0.3998078405857086, 0.4014134407043457, 0.7741798162460327, 0.04618743807077408, 0.8461061716079712, -0.46140924096107483, 0.29248037934303284, 1.1679356098175049, -0.8512745499610901, 0.7023457288742065, 0.473553866147995, -0.47162574529647827, 0.3864429295063019, 0.09622488915920258, 0.48177850246429443, 0.9421541094779968, 0.43640267848968506, -0.6640903353691101, 0.016045287251472473, 0.19015510380268097, -0.2616262137889862, 0.10153262317180634, 0.38779449462890625, -0.5405409336090088, -0.2818526327610016, 0.13000594079494476, 0.25092199444770813, 0.1851421743631363, -0.018178889527916908, 0.9178665280342102, 0.24527014791965485, -0.5677400827407837, 0.43209055066108704, 0.13643130660057068, 0.5076760053634644, -0.8024348616600037, 0.11230608820915222, 0.10710302740335464, 0.39456596970558167, -0.11876833438873291, -0.5391877889633179, 0.18510624766349792, 0.363267719745636, -0.31888800859451294, -0.6136992573738098, 0.5221952199935913, -0.8018366694450378, -0.1297006756067276, 0.0377257764339447, 0.31345242261886597, -0.01644498109817505, 0.02277037501335144, -0.6052614450454712, 0.09741739928722382, -0.00501511013135314, -0.22581669688224792, 0.8603432178497314, 0.7404152750968933, 0.265115350484848, 0.5615622997283936, 0.7498542666435242, 0.2992721498012543, 0.12469319999217987, 0.3153817057609558, 0.8836947083473206, -0.4048786461353302, -0.84748375415802, -0.9474602341651917, 0.4269392192363739, -0.3435480296611786, 0.04392590373754501, 1.0865702629089355, 0.5792036056518555, 0.580292284488678, -0.08523109555244446, 1.0469133853912354, 0.037781935185194016, 0.8468304872512817, -0.37807899713516235, 0.9711944460868835, -0.16683855652809143, 0.650514543056488, -0.17114250361919403, -0.7974046468734741, -0.00799825694411993, 0.5633571147918701, -0.1203785315155983, -0.24426059424877167, 0.6033129096031189, 0.7724164128303528, 0.19669826328754425, 0.15234865248203278, 0.15036503970623016, -0.04645484313368797, 0.5941307544708252, 0.2399846613407135, 0.45962750911712646, -0.08986648917198181, 0.191368967294693, -0.5947917103767395, -0.4703841805458069, 0.387592613697052, -0.9996668696403503, -1.0586843490600586, -0.5771305561065674, -0.5102025866508484, -0.3471237123012543, 0.15859198570251465, 0.7721145153045654, 0.7490284442901611, -0.6758977770805359, -0.3341774344444275, -0.34415796399116516, -0.2248004525899887, -0.16498737037181854, -0.14940518140792847, 0.19938938319683075, -0.30713772773742676, -0.7572062015533447, 0.46771758794784546, 0.4179980158805847, 0.2170332670211792, -0.630830705165863, -0.03544621169567108, 0.21081140637397766, 0.07841581106185913, 0.6727264523506165, 0.3828754723072052, -0.5758547186851501, 0.09223742038011551, -0.21284352242946625, -0.28390559554100037, -0.30974382162094116, 0.9100067615509033, -0.5834408402442932, 0.3438591957092285, 0.3709627091884613, 0.6024106740951538, 0.6001676321029663, -0.08351259678602219, 0.5716542601585388, -1.0809170007705688, 0.2828424572944641, 0.18426969647407532, 0.4655297100543976, 0.3909514248371124, -0.45126715302467346, 0.10253594070672989, 0.1285880208015442, -0.5843223333358765, -1.2281428575515747, 0.25709930062294006, -1.0421032905578613, -0.25419899821281433, 1.114724040031433, -0.5859184861183167, -0.27228808403015137, -0.3521980047225952, -0.20042270421981812, -0.04227348417043686, -0.5872197151184082, 0.7585973739624023, 0.37901195883750916, 0.21545355021953583, -0.11075031757354736, -0.17588166892528534, 0.9738315343856812, 0.06130177155137062, -0.8039653897285461, 0.6992599368095398, 0.7020765542984009, 0.5184441804885864, 0.11844068020582199, 0.8057233095169067, -0.23175129294395447, 0.04050998017191887, 0.035131387412548065, -0.40617287158966064, -0.1109703779220581, -0.5175162553787231, -0.38126805424690247, 0.5111755728721619, 0.11191453784704208, -0.34645238518714905 ]
http://arxiv.org/abs/2406.12402v1
http://arxiv.org/pdf/2406.12402v1
Flee the Flaw: Annotating the Underlying Logic of Fallacious Arguments Through Templates and Slot-filling
2024-06-18T08:44:45
2024-06-18T08:44:45
Irfan Robbani, Paul Reisert, Naoya Inoue, Surawat Pothong, Camélia Guerraoui, Wenzhi Wang, Shoichi Naito, Jungmin Choi, Kentaro Inui
cs.CL
cs.CL
Prior research in computational argumentation has mainly focused on scoring the quality of arguments, with less attention on explicating logical errors. In this work, we introduce four sets of explainable templates for common informal logical fallacies designed to explicate a fallacy's implicit logic. Using our templates, we conduct an annotation study on top of 400 fallacious arguments taken from LOGIC dataset and achieve a high agreement score (Krippendorf's alpha of 0.54) and reasonable coverage (0.83). Finally, we conduct an experiment for detecting the structure of fallacies and discover that state-of-the-art language models struggle with detecting fallacy templates (0.47 accuracy). To facilitate research on fallacies, we make our dataset and guidelines publicly available.
[ -0.4899457097053528, -0.7649618983268738, 0.7216923832893372, 0.007978396490216255, -0.25666314363479614, -0.07123183459043503, 0.0958881750702858, -0.06900842487812042, 0.029033813625574112, 0.2792763113975525, -0.5871261954307556, -0.1954822838306427, -0.4937049448490143, 0.1943957805633545, -0.582951545715332, 1.0328446626663208, -0.22158397734165192, -0.11970807611942291, -0.24411733448505402, -0.2890584170818329, -0.41570842266082764, -0.5554497838020325, -0.3894979953765869, -0.12102604657411575, 0.5021372437477112, 0.6644320487976074, 0.6565324664115906, 0.5008103251457214, 0.30213162302970886, 0.24809680879116058, -0.01874641329050064, 0.1931537538766861, -0.25629037618637085, -0.26529955863952637, -0.19175051152706146, -0.37432897090911865, -0.19802646338939667, 0.2619958817958832, 0.10449502617120743, 0.6270556449890137, -0.3356935679912567, -0.0073190308175981045, -0.5161057114601135, 0.7772043347358704, -0.8298705220222473, 0.024012280628085136, -0.740155816078186, 0.16497136652469635, -0.2921064794063568, 0.19051484763622284, -0.663856029510498, -0.6154876351356506, 0.05653427168726921, -0.7476145029067993, 0.3621300458908081, 0.07796778529882431, 0.7126133441925049, 0.3012614846229553, 0.09699554741382599, -0.5758718252182007, -0.6208752393722534, 0.7521445155143738, -0.7445796728134155, 0.029965531080961227, 0.06799816340208054, 0.33893200755119324, -0.20608404278755188, -0.7447121739387512, -0.7871286273002625, -0.17469307780265808, -0.17645351588726044, 0.14524607360363007, -0.37560299038887024, -0.25472044944763184, 0.5764461755752563, 0.2992731034755707, -0.3471734821796417, -0.16037017107009888, -0.5950029492378235, -0.19630016386508942, 0.52522873878479, -0.07101009786128998, 0.485055536031723, -0.08308534324169159, -0.3068360686302185, -0.015221210196614265, -0.9183816313743591, 0.04284921661019325, 0.49661538004875183, 0.0983709767460823, -0.16806770861148834, 0.3832477033138275, 0.38013190031051636, 0.7813121676445007, 0.14159755408763885, 0.2404874861240387, 0.14135876297950745, -0.2838788330554962, -0.3001093566417694, 0.1808319240808487, 0.3428989052772522, 0.3628036379814148, 0.24980773031711578, -0.10163837671279907, 0.03601671755313873, 0.3650539815425873, 0.5956994295120239, -0.06294749677181244, -0.24518203735351562, 0.23351193964481354, -0.3023116886615753, -0.6181515455245972, 0.03100428730249405, -0.7179602980613708, -0.4955201745033264, -0.1418667882680893, 0.05928407981991768, -0.6017885208129883, -0.13429169356822968, 0.31232133507728577, -0.6715940237045288, 0.36086204648017883, 0.6792444586753845, -0.5606193542480469, 0.5701876282691956, 0.8293889760971069, 0.733346164226532, -0.0900864228606224, -0.26663604378700256, -0.44569453597068787, 0.13655942678451538, -0.8411743640899658, 1.1333194971084595, -0.6612803936004639, -0.07084352523088455, -0.07686344534158707, -0.18004082143306732, -0.22481529414653778, -0.4175400733947754, 1.1576601266860962, -0.207027867436409, 0.5885117053985596, -0.3189733326435089, -0.5191273093223572, -0.4515507221221924, 0.23621657490730286, -0.8496894240379333, 0.7816709280014038, 0.2430482804775238, -0.9747490286827087, 0.48132315278053284, -0.7159724235534668, -0.33866268396377563, -0.04927624389529228, -0.3123830556869507, -0.395359069108963, 0.6162827014923096, 0.34095850586891174, 0.041402217000722885, -0.21178004145622253, -0.009328375570476055, -0.4655623137950897, -0.405387282371521, 0.44000184535980225, -0.14306434988975525, 0.8573480844497681, -0.12583792209625244, -0.5668627023696899, -0.15058964490890503, -0.6674386262893677, -0.3124852478504181, 0.1716410517692566, -0.11824168264865875, -0.5774290561676025, 0.2873270511627197, -0.17040599882602692, 0.3738211989402771, -0.2785867154598236, -0.5473891496658325, 0.18389441072940826, -0.7072033286094666, 0.6057872772216797, 1.013939380645752, -0.07641075551509857, 0.18505194783210754, -0.5125812888145447, 0.5528963208198547, 0.3250504434108734, 0.04221609607338905, -0.018046988174319267, -0.31758570671081543, -0.8295265436172485, -0.2680683732032776, 0.2094959169626236, 0.28752896189689636, -0.46683433651924133, 0.006384365260601044, -0.059101954102516174, -0.41111284494400024, -0.5223673582077026, -0.08768041431903839, 0.3473363220691681, 0.8460993766784668, 0.31558090448379517, 0.049381040036678314, -0.4872032403945923, -1.1975972652435303, -0.5248648524284363, -0.17537975311279297, 0.17173150181770325, 0.22008618712425232, 0.6081326007843018, 0.1908622831106186, 1.1381415128707886, -0.4292178750038147, -0.01033033523708582, -0.25473207235336304, 0.20279137790203094, 0.4010271728038788, 0.39237940311431885, 0.763468325138092, -0.8161372542381287, -0.14520125091075897, -0.3631618022918701, -0.727496325969696, -0.19021986424922943, -0.07015620917081833, 0.045603808015584946, 0.48202022910118103, 0.6030136942863464, -0.6158121824264526, 0.6374258399009705, -0.01697121560573578, -0.2569088339805603, 0.8190488815307617, 0.18675650656223297, -0.008293225429952145, -0.9523951411247253, -0.16130629181861877, 0.08082452416419983, -0.14003321528434753, -0.3049198091030121, 0.008045587688684464, -0.26619330048561096, 0.0028171788435429335, -0.40522104501724243, 0.4127701222896576, -0.2818417549133301, 0.2626599967479706, 0.13592024147510529, 0.21085739135742188, 0.09415004402399063, 0.015927791595458984, -0.04195846617221832, 0.33349406719207764, 0.26371195912361145, -0.3530370593070984, 0.30206137895584106, 0.175076425075531, -0.006634996738284826, 0.8217998147010803, -0.7267870903015137, 0.13851848244667053, -0.355847030878067, 0.3965654969215393, -1.1033447980880737, -0.35755863785743713, 0.48267585039138794, -0.34442365169525146, 0.021908501163125038, -0.774345338344574, -0.256778746843338, -0.3050808012485504, -0.5460957884788513, 0.2479686588048935, 0.4295606315135956, -0.7080926299095154, 0.6515721082687378, 0.2827722728252411, -0.06436248868703842, -0.8187856674194336, -0.6757885813713074, 0.021848486736416817, -0.6236526966094971, -0.3990412950515747, 0.18474061787128448, -0.150929793715477, -0.48516353964805603, -0.12174808233976364, -0.13758818805217743, 0.0665745735168457, 0.07416116446256638, 0.34580197930336, 0.018736684694886208, -0.36662694811820984, -0.050240810960531235, -0.1334361732006073, -0.36928942799568176, 0.35033535957336426, -0.315631240606308, 0.2413826584815979, -0.20923525094985962, -0.5723355412483215, 0.06648623198270798, 0.6218150854110718, 0.6925331354141235, 0.3001581132411957, 0.4655330777168274, -0.10463859140872955, -0.793987512588501, -0.4912482500076294, -0.6427496075630188, 0.07236449420452118, -0.4448772668838501, -0.02507598325610161, -0.30805668234825134, -0.2651999890804291, 0.3706972301006317, -0.06975138932466507, 0.5794616341590881, 0.5609641075134277, 0.2867032289505005, -0.2153424769639969, 0.8238112330436707, 0.21880629658699036, 0.1889658421278, -0.048551708459854126, 0.028131816536188126, 0.4913286566734314, -0.37555941939353943, -0.0335661955177784, -0.6708388924598694, -0.10932479053735733, -0.3191414773464203, -0.5956428647041321, 0.06442841142416, 0.15985053777694702, -0.1671314239501953, 0.02512483112514019, -0.5124773383140564, 0.6822495460510254, 0.313798189163208, -0.318508118391037, 0.04380939155817032, 0.34272199869155884, -0.30061566829681396, -0.5638389587402344, -0.7779849171638489, -0.6946421265602112, 0.5427654385566711, 0.4032607674598694, 0.6051385402679443, 0.2187526822090149, 0.5472822189331055, 0.5699825286865234, 0.28849315643310547, -0.5874567031860352, 0.38565120100975037, -0.08197561651468277, -0.7072134613990784, -0.09543867409229279, -0.35631412267684937, -0.574974000453949, 0.09934443235397339, 0.03121335431933403, -0.9152372479438782, 0.13188645243644714, 0.4537407159805298, 0.10434232652187347, 0.24111106991767883, -0.710557758808136, 0.9726839661598206, -0.022845882922410965, -0.17975778877735138, -0.06215345114469528, -0.33949553966522217, 0.58954256772995, 0.06825362890958786, 0.4948130249977112, 0.057896729558706284, 0.33346882462501526, 0.8435990810394287, -0.7477062344551086, 0.8660258054733276, -0.15518160164356232, 0.03486768156290054, 0.2699635922908783, 0.4432211220264435, 0.28794634342193604, -0.05375371128320694, -0.19772367179393768, -0.020971523597836494, -0.06816481798887253, -0.3695506155490875, -0.8155192136764526, 0.37525948882102966, -0.34478116035461426, -0.5284497737884521, -0.6590332388877869, 0.060537416487932205, -0.015159759670495987, 0.12016741931438446, 0.3446573317050934, 0.6133884787559509, -0.25402435660362244, -0.13827139139175415, 0.5767818093299866, -0.021027280017733574, 0.49159756302833557, 0.21497000753879547, 0.24018660187721252, -0.4504718780517578, 0.9291228652000427, 0.15718649327754974, -0.1863829791545868, -0.056637685745954514, 0.41479456424713135, -0.38235026597976685, -0.6166663765907288, -0.5311160087585449, 0.1793586164712906, -1.1834207773208618, -0.16932198405265808, -0.4656504988670349, -0.07234121114015579, -0.2835559844970703, -0.7475590705871582, -0.4134589433670044, -0.911228358745575, 0.03478294238448143, -0.29154258966445923, 0.23764432966709137, 0.9254373908042908, -0.20866647362709045, 0.029658213257789612, -0.5353379249572754, 0.2908271253108978, 0.02177165262401104, 0.28116923570632935, -0.010714339092373848, -0.4240221679210663, 0.20434501767158508, -0.23145651817321777, -0.13753937184810638, -1.1242207288742065, -0.042804569005966187, -0.03355143964290619, 0.8161320686340332, 0.5342665314674377, 0.267342209815979, 0.7207602262496948, -0.5485103130340576, 0.7493667006492615, 0.338520348072052, -1.1399389505386353, 0.8679720163345337, -0.23521476984024048, -0.21942074596881866, 0.6004467010498047, 0.5443299412727356, -0.38970598578453064, -0.4257609248161316, -0.9861351847648621, -1.0317457914352417, 0.8604875206947327, 0.23115898668766022, -0.23398558795452118, -0.13588185608386993, 0.5056325793266296, 0.2687099874019623, -0.000236009422224015, -1.1311671733856201, -0.16436676681041718, -0.21257071197032928, -0.33974069356918335, 0.22777250409126282, -0.2901569902896881, -0.6693299412727356, -0.040790826082229614, 0.6177440285682678, -0.3555237054824829, 0.11309642344713211, 0.17288890480995178, -0.24390152096748352, 0.02765648066997528, 0.3660213351249695, 0.9072192311286926, 1.0346554517745972, -0.05690797418355942, 0.47819045186042786, 0.08379791676998138, -0.22796373069286346, 0.31029781699180603, 0.22591330111026764, -0.427349716424942, 0.22809910774230957, 0.8310955166816711, 0.26518645882606506, 0.04280475899577141, -0.496982604265213, 0.5641102194786072, -0.33503228425979614, -0.16238464415073395, -0.7368664145469666, 0.011886299587786198, 0.21407489478588104, -0.15340019762516022, 0.1325359046459198, 0.1416442096233368, 0.08619636297225952, -0.34838899970054626, 0.0952134057879448, 0.2368287742137909, -0.4911072552204132, -0.21526476740837097, 0.20423156023025513, 0.26473891735076904, -0.2963721454143524, 0.5526195764541626, 0.03734162822365761, -0.583405077457428, 0.48647332191467285, 0.518524706363678, 0.5311711430549622, 0.13252601027488708, 0.4202226996421814, 0.16772998869419098, 0.779091477394104, -0.025119507685303688, 0.1936797946691513, 0.157454252243042, -0.6082888841629028, -0.11309392750263214, -0.4186045825481415, -0.5068680644035339, 0.3311459720134735, -0.49485063552856445, 0.2596314251422882, -0.7125391960144043, 0.3332972228527069, 0.23763827979564667, -0.37316179275512695, -0.29532334208488464, 0.20913319289684296, 0.16803522408008575, 1.2056405544281006, -1.054390549659729, -0.20484262704849243, 0.9051114916801453, -0.6385338306427002, -0.5682006478309631, 0.17637154459953308, 0.1288219541311264, -0.5496485233306885, 0.509419322013855, 0.24044077098369598, -0.4075354039669037, -0.6212628483772278, -0.7886647582054138, -0.46954718232154846, 0.310554176568985, 0.5834023356437683, -0.3420528769493103, -0.04084029048681259, 0.03264903649687767, 0.2220195084810257, -0.5621959567070007, 0.34572094678878784, 0.6392297744750977, 0.5858142971992493, 0.11682942509651184, -0.2685287296772003, 0.42691466212272644, -0.2506742775440216, -0.3757511079311371, -0.10047188401222229, -0.38761070370674133, 0.6302849054336548, -0.24175925552845, -0.08276950567960739, -0.4868777096271515, 0.3822006285190582, 0.5755727887153625, 0.6635020971298218, 0.7928410172462463, 0.898878812789917, 0.7359796762466431, -0.23839592933654785, 0.9698089361190796, 0.32823026180267334, 0.05881287902593613, 1.1577670574188232, -0.3333336114883423, 0.5901643633842468, 0.5099157094955444, 0.06382054835557938, 0.8810150027275085, 0.7389742732048035, -0.04605651646852493, 0.33444133400917053, 0.6220763921737671, 0.017809990793466568, -0.4175350069999695, 0.34912461042404175, -0.29284384846687317, 0.38514193892478943, 0.6767876148223877, -0.22015492618083954, -0.35517311096191406, -0.458607941865921, 0.3095638155937195, 0.19259679317474365, -0.0258661936968565, 0.6406291723251343, 0.028006676584482193, -0.784529447555542, 0.3828754425048828, 0.13637958467006683, 0.08529169112443924, -0.32639080286026, -0.5202072262763977, -0.2819596827030182, 0.18453064560890198, -0.281825989484787, -0.5349721908569336, 0.2923121154308319, 0.038288913667201996, -0.23478317260742188, 0.09802030026912689, 0.7666144371032715, 0.42769384384155273, -0.7095779776573181, 0.04919949918985367, 0.34078875184059143, 0.11541947722434998, 0.3203378915786743, -0.883732259273529, -0.02434186451137066, -0.1927119493484497, -0.10075807571411133, -0.21167120337486267, 0.5614995360374451, -0.14782676100730896, 0.43780940771102905, 0.7309367656707764, 0.09013866633176804, 0.05892304703593254, -0.07432866841554642, 1.072104573249817, -0.8010439276695251, -0.684352695941925, -1.0194917917251587, 0.5476890802383423, -0.6689616441726685, -0.27611595392227173, 0.4146110713481903, 0.5331205725669861, 0.5848879814147949, -0.17468072474002838, 1.065677285194397, -0.001702070701867342, 0.7634081840515137, -0.6465659141540527, 0.46451812982559204, -0.48052921891212463, 0.27518099546432495, -0.5300602316856384, -0.6802716255187988, -0.29977238178253174, 0.8732085824012756, -0.3071293830871582, 0.10444417595863342, 0.7478435039520264, 0.3926168382167816, -0.5137945413589478, 0.09958900511264801, 0.03258021920919418, 0.35803741216659546, 0.42748939990997314, 0.5737317204475403, 1.2057859897613525, -0.33305639028549194, 0.41925856471061707, 0.10193480551242828, -0.30726227164268494, -0.4503782093524933, -1.3937368392944336, -0.9608945250511169, -0.24159318208694458, -0.7114899158477783, -0.9232276678085327, 0.16261659562587738, 0.6689732670783997, 0.752254843711853, -0.7606231570243835, 0.25910764932632446, -0.4013615846633911, 0.7159624099731445, -0.20544350147247314, -0.25787124037742615, 0.2726888954639435, -0.21982645988464355, -0.33141809701919556, 0.4709630012512207, 0.24150729179382324, -0.03123738244175911, -0.10358712822198868, 0.15059320628643036, -0.04033692181110382, 0.6204485893249512, 0.07205048203468323, 0.5846678614616394, -0.8754222989082336, -0.41566288471221924, -0.5181158781051636, 0.1270488053560257, 0.18101224303245544, 1.2582194805145264, -0.629009485244751, 0.3455454111099243, 0.44961416721343994, 0.4304713010787964, 0.146298348903656, -0.0263968538492918, 0.8618156313896179, -0.853431761264801, 0.12032477557659149, 0.35666483640670776, 0.46484220027923584, 0.42695698142051697, -0.19755879044532776, 0.5262049436569214, 0.5681162476539612, -0.049944616854190826, -1.1688027381896973, 0.4109446406364441, -0.9006920456886292, -0.36295250058174133, 0.7697907090187073, -0.4105094075202942, -0.459199994802475, -0.46425461769104004, -0.03374692425131798, -0.1795441210269928, -0.19930677115917206, 1.0142910480499268, 1.0697615146636963, -0.19664683938026428, -0.24396522343158722, -0.41538047790527344, 0.9861088395118713, 0.375146746635437, -0.9485471844673157, 0.4516623914241791, 0.7620316743850708, 0.49201446771621704, 0.492153137922287, 0.6732025146484375, -0.2981831431388855, 0.8954935669898987, 0.26080086827278137, -0.44613146781921387, -0.04689587652683258, -0.23469172418117523, -0.3678520619869232, 0.3689245283603668, 0.0003708207805175334, 0.002953603398054838 ]
http://arxiv.org/abs/2406.12399v1
http://arxiv.org/pdf/2406.12399v1
QueerBench: Quantifying Discrimination in Language Models Toward Queer Identities
2024-06-18T08:40:29
2024-06-18T08:40:29
Mae Sosto, Alberto Barrón-Cedeño
cs.CL
cs.CL, cs.AI, cs.CY
With the increasing role of Natural Language Processing (NLP) in various applications, challenges concerning bias and stereotype perpetuation are accentuated, which often leads to hate speech and harm. Despite existing studies on sexism and misogyny, issues like homophobia and transphobia remain underexplored and often adopt binary perspectives, putting the safety of LGBTQIA+ individuals at high risk in online spaces. In this paper, we assess the potential harm caused by sentence completions generated by English large language models (LLMs) concerning LGBTQIA+ individuals. This is achieved using QueerBench, our new assessment framework, which employs a template-based approach and a Masked Language Modeling (MLM) task. The analysis indicates that large language models tend to exhibit discriminatory behaviour more frequently towards individuals within the LGBTQIA+ community, reaching a difference gap of 7.2% in the QueerBench score of harmfulness.
[ -0.2598772644996643, -0.7395501136779785, 0.28265389800071716, 0.34385010600090027, 0.1456543356180191, -0.055507466197013855, 0.06102386489510536, -0.8420262932777405, 0.10777003318071365, 0.4783982038497925, -0.5022473931312561, -0.4165266454219818, -0.5403187870979309, 0.2810785472393036, -0.8229976296424866, 0.7311317920684814, 0.17566122114658356, 0.20742473006248474, -0.2776125371456146, -0.007355089299380779, -0.7283562421798706, -0.5653399229049683, -0.32843467593193054, 0.29859474301338196, 0.5841363668441772, 0.011187397874891758, 0.7855923175811768, 0.215715229511261, 0.4983022212982178, 0.2860860526561737, -0.3500831425189972, -0.4072209894657135, -0.5609525442123413, 0.42170658707618713, -0.463273286819458, -0.7236788272857666, -0.3342531621456146, 0.15320985019207, 0.574857234954834, 0.829834520816803, -0.07313208281993866, 0.31322044134140015, -0.13441871106624603, 0.5790847539901733, -0.6886781454086304, -0.40950900316238403, -0.7267343401908875, 0.3199014663696289, -0.45560145378112793, 0.4041491746902466, -0.22188928723335266, -0.4904941916465759, -0.1739574372768402, 0.04941713809967041, 0.20512205362319946, 0.272889107465744, 0.5269414782524109, 0.09279672801494598, -0.7395502924919128, -0.1921711415052414, -0.596230685710907, 0.6277052760124207, -0.8843122720718384, 0.7640076875686646, 0.5055925250053406, 0.14040100574493408, -0.11351380497217178, -0.40372294187545776, -0.5996893048286438, -0.16060130298137665, -0.15166355669498444, -0.20692609250545502, -0.1708173155784607, 0.052336327731609344, 0.39890962839126587, 0.46042779088020325, -0.9332266449928284, 0.4143664240837097, -0.6429611444473267, -0.09923265129327774, 1.0244096517562866, 0.20351743698120117, 0.4218944013118744, -0.46172815561294556, -0.46796995401382446, 0.2718674838542938, -0.5576733946800232, -0.005610720720142126, 0.7391517162322998, 0.29973873496055603, 0.10671162605285645, 0.6702890396118164, 0.3331058919429779, 0.42181047797203064, -0.054466232657432556, 0.3409050703048706, 0.4643450677394867, -0.09454233944416046, -0.26182395219802856, -0.055320803076028824, 0.5872883200645447, 0.5344903469085693, 0.1842208206653595, -0.21310614049434662, -0.06978242099285126, -0.01938934437930584, 0.5788960456848145, -0.5033654570579529, 0.39263463020324707, 0.4692457914352417, -0.3499891757965088, -0.0597686730325222, -0.06475546956062317, -0.8878881931304932, -0.8916565775871277, 0.1007731556892395, 0.07838724553585052, -0.09903215616941452, -0.254360556602478, 0.3180769681930542, -0.16445587575435638, 0.30306702852249146, 0.32011136412620544, -0.6252381205558777, 0.3447319567203522, 0.7587258815765381, 0.6192393898963928, -0.4427497982978821, -0.08517030626535416, -0.637840986251831, -0.19814027845859528, -0.21301336586475372, 0.2790669798851013, -0.3651321828365326, -0.43522584438323975, 0.02038414403796196, -0.03362876921892166, 0.061725396662950516, -0.5293419361114502, 0.6951274871826172, -0.4005717635154724, 0.48842376470565796, -0.044800277799367905, -0.8034869432449341, -0.11144724488258362, 0.2694929242134094, -0.8487411737442017, 0.9817748665809631, 0.14847958087921143, -1.018688440322876, 0.30952465534210205, -0.5280233025550842, -0.09596642851829529, 0.33711519837379456, -0.23530036211013794, -0.31794267892837524, 0.1734946370124817, -0.31528571248054504, 0.4970576763153076, -0.22744250297546387, 0.468575656414032, -0.49130168557167053, -0.24296995997428894, 0.30648931860923767, -0.22195850312709808, 0.8745611310005188, 0.030724087730050087, -0.6124346256256104, 0.41902971267700195, -0.5859355330467224, -0.20109932124614716, -0.08340885490179062, -0.4180079698562622, -0.4205808639526367, -0.10536066442728043, 0.5829829573631287, 0.5429872274398804, -0.04483736306428909, -0.6890110373497009, -0.1884351372718811, -0.6888788342475891, -0.21799466013908386, 1.0572326183319092, -0.3322117328643799, 0.11298873275518417, -0.15932051837444305, 0.7914974689483643, -0.2681882977485657, 0.30131593346595764, 0.6012139916419983, -0.6629850268363953, -0.4253080487251282, -0.057006385177373886, 0.3601197302341461, 0.508504331111908, -0.2993050217628479, 0.641499400138855, -0.1348157376050949, -0.32530683279037476, -0.27045080065727234, 0.31782346963882446, 0.38495030999183655, -0.06116485968232155, 0.12052840739488602, -0.4742744565010071, -0.6507455110549927, -1.1013870239257812, -0.6098493337631226, -0.34583622217178345, -0.3184320628643036, 0.08974223583936691, 0.6452447175979614, -0.3955673277378082, 0.943422794342041, -0.24680615961551666, -0.18630531430244446, -0.18791082501411438, -0.04146507754921913, 0.00691876420751214, 0.3961716294288635, 0.727763831615448, -1.1325172185897827, -0.4639926850795746, -0.48808664083480835, -0.4272312819957733, -0.2835850417613983, 0.0626712515950203, -0.18722891807556152, 0.12208818644285202, 0.6190270185470581, -0.48238298296928406, 0.5168520212173462, 0.5619450211524963, -1.1030659675598145, 0.7624061107635498, 0.5288926362991333, -0.03407549858093262, -0.8462589383125305, 0.11777713894844055, 0.037965524941682816, -0.5561844706535339, -0.5885488986968994, 0.37597382068634033, -0.20189909636974335, -0.002119530690833926, -0.7371018528938293, 0.6812616586685181, -0.12269121408462524, 0.1438453644514084, 0.03951379656791687, 0.07649492472410202, -0.10415592044591904, 0.15442189574241638, -0.3158756196498871, 0.4500495493412018, 0.05683856084942818, -0.21909643709659576, 0.43459776043891907, 0.36495882272720337, -0.3302091956138611, 0.47811904549598694, -0.46647149324417114, 0.03732910752296448, -0.3874697983264923, 0.07251517474651337, -0.9977179765701294, -0.13808409869670868, 0.2110266089439392, -0.31269603967666626, 0.04283768683671951, 0.36509376764297485, -0.4455580413341522, -0.4437389373779297, -0.6721932888031006, 0.5007869601249695, 0.1762644648551941, -0.1870175004005432, 0.4756470024585724, 0.4275151789188385, -0.2560921609401703, -0.6201783418655396, -0.8313093781471252, 0.11222317814826965, -0.4964180886745453, -0.47735080122947693, 0.12779439985752106, -0.22823643684387207, -0.5828524827957153, -0.3445325493812561, -0.02450789324939251, 0.0396704375743866, 0.5958162546157837, 0.4419521391391754, 0.08563687652349472, 0.04331604018807411, 0.4898291826248169, -0.22585321962833405, 0.35773080587387085, 0.2911214828491211, 0.28729385137557983, 0.7044745683670044, -0.18128064274787903, -0.41458359360694885, 0.09936296939849854, 0.8085719347000122, 0.32896125316619873, 0.02275151014328003, 0.9193810820579529, 0.6535746455192566, -0.4173101782798767, -0.12928326427936554, -0.5742539763450623, 0.13134433329105377, -0.44496089220046997, 0.6283624768257141, 0.004013071767985821, -1.385400414466858, 0.40228891372680664, 0.2646387219429016, 0.21015797555446625, 0.47060081362724304, 0.5307844877243042, 0.04137146472930908, 0.7144140601158142, 0.8847153782844543, -0.02161106839776039, 0.44367945194244385, 0.43533143401145935, 0.16079813241958618, -0.4866342842578888, -0.15527474880218506, -0.6088932752609253, -0.3913368582725525, -0.7919778227806091, -0.5843713283538818, 0.19212964177131653, 0.16078191995620728, -0.27345550060272217, 0.1582239717245102, -0.2543472945690155, 0.37894609570503235, 0.42530786991119385, -0.1465662568807602, 0.2524038553237915, -0.08252972364425659, -0.027843767777085304, -0.38108861446380615, -0.24734100699424744, -0.5475276708602905, 1.0887649059295654, 0.5815346240997314, 0.5046664476394653, 0.5931995511054993, 0.47735515236854553, 0.7548924088478088, 0.36783796548843384, -0.5579468607902527, 0.5632233619689941, 0.019815562292933464, -1.299756646156311, -0.22794589400291443, -0.5072743892669678, -0.9771019220352173, 0.3587358295917511, -0.23876674473285675, -1.3596678972244263, 0.34836840629577637, -0.10400979220867157, -0.07188323140144348, 0.42372655868530273, -0.39392271637916565, 0.7923765778541565, -0.35723450779914856, -0.6063550710678101, 0.01609933190047741, -0.7361740469932556, 0.6480627655982971, -0.3914092183113098, 0.4683988392353058, -0.3638772666454315, 0.01669551245868206, 0.7835707068443298, -0.22142179310321808, 0.9746564030647278, -0.14517483115196228, -0.6012014150619507, -0.2624514102935791, 0.3463118076324463, 0.21564704179763794, -0.1893557906150818, -0.6354495286941528, 0.22104914486408234, -0.08113075792789459, -0.31869158148765564, -0.3179173469543457, 0.38537561893463135, -0.4992343783378601, -0.8477643132209778, -0.26802343130111694, -0.45724788308143616, -0.38411974906921387, 0.023690709844231606, -0.021594824269413948, -0.0731012150645256, -0.5559805631637573, 0.01316784881055355, 0.3517070412635803, -0.7097774147987366, 0.1321311742067337, 0.39723414182662964, -0.9032579064369202, -0.13552530109882355, 0.51579749584198, -0.23461014032363892, 0.27863675355911255, 0.023609451949596405, -0.05347056686878204, -0.30018916726112366, -0.3879828453063965, -0.06446361541748047, 0.3027361333370209, -0.7789261937141418, -0.14192838966846466, -0.5593011975288391, -0.1020369753241539, -0.6058587431907654, -0.11674316972494125, -0.2370385378599167, -0.46787187457084656, -0.07078467309474945, -0.31340137124061584, 0.1528039425611496, 0.8157348036766052, 0.06571292877197266, 0.14100082218647003, -0.7529322504997253, 0.28234896063804626, 0.3458446264266968, 0.4823499321937561, -0.22481794655323029, -0.3736374080181122, -0.15346746146678925, -0.18717136979103088, -0.1952066719532013, -0.9510598182678223, 0.41602668166160583, 0.05718308687210083, 0.4195792078971863, 0.17466048896312714, 0.06269799917936325, 0.24984674155712128, -0.41814345121383667, 1.0467650890350342, 0.4253711700439453, -1.1272310018539429, 0.41326814889907837, -0.2403424084186554, 0.11773345619440079, 0.5546264052391052, 0.6455411911010742, -1.0868979692459106, -0.7380741834640503, -0.5866773724555969, -1.0492454767227173, 0.5173378586769104, 0.4434519112110138, 0.2986019253730774, -0.10622259229421616, 0.23424194753170013, 0.26819145679473877, 0.5405060052871704, -1.191429853439331, -0.37201470136642456, 0.09338782727718353, -0.21547433733940125, 0.011874758638441563, -0.46574535965919495, 0.02192240208387375, -0.3401969373226166, 0.6096888780593872, 0.11387556791305542, 0.1807478964328766, -0.08344974368810654, -0.2539910078048706, -0.07629148662090302, 0.5728538036346436, 0.28326520323753357, 0.3786316514015198, -0.20046010613441467, 0.20527690649032593, 0.1702578216791153, -0.36001056432724, 0.23184314370155334, 0.022323787212371826, -0.03205634653568268, 0.18206685781478882, 0.41430163383483887, 0.7538837790489197, -0.12174610048532486, -0.9884085059165955, 0.7807433605194092, -0.12658584117889404, -0.02669251523911953, -0.17983122169971466, 0.18157458305358887, 0.19319431483745575, 0.3462171256542206, 0.21309392154216766, -0.16734345257282257, 0.4450751543045044, -0.4760068356990814, 0.2436516284942627, 0.39045313000679016, -0.4670853912830353, -0.1160304844379425, 0.7776609659194946, 0.2809405028820038, -0.4153570234775543, 0.444594144821167, -0.10233893990516663, -0.7240279316902161, 0.4984857439994812, 0.3625500500202179, 0.9079647064208984, -0.506733238697052, 0.16766837239265442, 0.3077891170978546, 0.4163467586040497, 0.29633915424346924, 0.279946893453598, 0.3368058204650879, -0.7554406523704529, -0.03484851121902466, -0.9889393448829651, -0.10332505404949188, 0.07505287230014801, -0.5184593796730042, 0.17927893996238708, -0.5166215300559998, -0.28477078676223755, -0.00822057481855154, -0.08041790872812271, -0.5644015669822693, 0.0492098294198513, 0.7710107564926147, 0.775385856628418, -0.9085550308227539, 0.30654847621917725, 0.4912415146827698, -0.245518296957016, -0.4063102900981903, 0.09986452758312225, 0.3962555527687073, -0.29516494274139404, 0.7770891189575195, 0.4963189363479614, -0.08298331499099731, -0.34845972061157227, -0.4110475182533264, -0.5953981876373291, 0.4827096462249756, 0.6297295689582825, -0.8378053903579712, -0.19779425859451294, 0.7354004979133606, 0.6867050528526306, -0.1372336447238922, 0.22657786309719086, 0.46525776386260986, 0.4474680423736572, -0.2531011402606964, -1.3038452863693237, 0.22241535782814026, -0.620722770690918, 0.12898100912570953, 0.09017378836870193, -0.32178476452827454, 1.0400677919387817, 0.24805256724357605, -0.5179378390312195, -0.1873580813407898, 0.31144580245018005, 0.0708455890417099, -0.08649284392595291, 0.687577486038208, 0.3447698950767517, 0.9652701020240784, 0.3119039237499237, 0.9307118058204651, 0.29602763056755066, 0.4288273751735687, 1.2637548446655273, -0.4123150706291199, 0.8010683059692383, 0.3790283501148224, -0.49564558267593384, 0.5717285871505737, 0.3409620523452759, -0.060277994722127914, -0.20259007811546326, 0.7894837260246277, -0.2635209560394287, -0.31580430269241333, -0.25730931758880615, -0.31937578320503235, 0.4621030390262604, 0.4345584213733673, -0.5313693881034851, -0.2715768814086914, 0.3085411489009857, 0.02203279547393322, 0.2810688316822052, -0.2415437549352646, 0.42969581484794617, 0.13705474138259888, -0.09085110574960709, 0.5006647706031799, 0.3088682293891907, 1.1836504936218262, -0.4281366467475891, 0.12783676385879517, -0.2186780869960785, 0.021190641447901726, -0.4025116562843323, -0.7531455159187317, 0.5701798796653748, 0.1456461250782013, -0.3845849633216858, -0.21083927154541016, 0.47974178194999695, -0.5015957355499268, -0.6286100745201111, 0.5762056112289429, 0.7379682064056396, 0.17105264961719513, -0.23354308307170868, -0.791211724281311, 0.12274064868688583, 0.13566602766513824, -0.20935088396072388, 0.3160078525543213, -0.13822798430919647, -0.23729677498340607, 0.7013097405433655, 0.37309277057647705, -0.05938652902841568, 0.3483402729034424, 0.018650569021701813, 0.5797371864318848, -0.879511296749115, -0.4704831540584564, -0.886461615562439, 0.45865243673324585, -0.16437563300132751, -0.3224024772644043, 0.9495770931243896, 0.7044674754142761, 0.7216122150421143, 0.13485395908355713, 0.4221445322036743, -0.18656687438488007, 0.6540412306785583, -0.3047887086868286, 0.8448250889778137, -0.7468146681785583, 0.49408435821533203, -0.48468562960624695, -0.7505191564559937, -0.5005183815956116, 0.38737061619758606, -0.24803946912288666, 0.07941561192274094, 0.5814720988273621, 0.8141193985939026, 0.12573488056659698, 0.11488130688667297, 0.5631698966026306, 0.3961147665977478, 0.3333262503147125, 0.3780408203601837, 0.9894347786903381, -0.42190879583358765, 0.034782715141773224, 0.1531725376844406, 0.23205392062664032, -0.11662150919437408, -0.5577425360679626, -0.9143383502960205, -0.5324466228485107, -0.3967339098453522, -0.40636131167411804, -0.2016485333442688, 1.1042155027389526, 0.24732381105422974, -0.7269302010536194, -0.38771528005599976, 0.026246841996908188, 0.36349278688430786, 0.258474737405777, -0.3461982309818268, 0.1621033102273941, -0.09734106808900833, -0.7707636952400208, 0.06737906485795975, 0.056381359696388245, -0.22096118330955505, -0.5937908887863159, 0.0944497287273407, -0.6251568794250488, 0.1332848221063614, 0.6529049277305603, -0.07484353333711624, -0.7220514416694641, -0.2361016571521759, -0.3359616696834564, -0.22083157300949097, -0.0443684384226799, 0.6371570825576782, -0.6166730523109436, 0.4001595973968506, 0.40497341752052307, 0.39165419340133667, 0.20695790648460388, -0.15336115658283234, 0.8463165760040283, -0.9831691384315491, 0.014292892999947071, 0.4256705939769745, 0.3007352948188782, 0.4208926260471344, -0.6570745706558228, 0.5086203813552856, 0.3009995222091675, -0.13268904387950897, -1.0185630321502686, 0.2604093551635742, -0.5988690853118896, -0.5538173317909241, 1.1410446166992188, -0.16899892687797546, -0.16478782892227173, -0.3793802559375763, -0.12254665046930313, 0.09125940501689911, -0.05842113122344017, 0.7099115252494812, 0.7165294885635376, 0.08710784465074539, -0.0332644097507, -0.6214932799339294, 0.609913170337677, 0.48473966121673584, -0.9166338443756104, 0.2539530396461487, 0.8250629901885986, 0.40139126777648926, 0.08242929726839066, 0.38044723868370056, -0.05221228674054146, 0.16551800072193146, -0.2546232342720032, 0.40982672572135925, 0.28570273518562317, 0.052228327840566635, -0.5549489855766296, 0.2840160131454468, -0.04678820073604584, 0.3156452178955078 ]
http://arxiv.org/abs/2406.12397v1
http://arxiv.org/pdf/2406.12397v1
Unveiling the Flaws: Exploring Imperfections in Synthetic Data and Mitigation Strategies for Large Language Models
2024-06-18T08:38:59
2024-06-18T08:38:59
Jie Chen, Yupeng Zhang, Bingning Wang, Wayne Xin Zhao, Ji-Rong Wen, Weipeng Chen
cs.CL
cs.CL
Synthetic data has been proposed as a solution to address the issue of high-quality data scarcity in the training of large language models (LLMs). Studies have shown that synthetic data can effectively improve the performance of LLMs on downstream benchmarks. However, despite its potential benefits, our analysis suggests that there may be inherent flaws in synthetic data. The uniform format of synthetic data can lead to pattern overfitting and cause significant shifts in the output distribution, thereby reducing the model's instruction-following capabilities. Our work delves into these specific flaws associated with question-answer (Q-A) pairs, a prevalent type of synthetic data, and presents a method based on unlearning techniques to mitigate these flaws. The empirical results demonstrate the effectiveness of our approach, which can reverse the instruction-following issues caused by pattern overfitting without compromising performance on benchmarks at relatively low cost. Our work has yielded key insights into the effective use of synthetic data, aiming to promote more robust and efficient LLM training.
[ -0.2719806730747223, -1.136598825454712, 0.6795955300331116, -0.102707639336586, -0.18972209095954895, 0.5862530469894409, -0.09563682973384857, -0.363188236951828, -0.07904432713985443, 0.8105593323707581, -0.639284074306488, -0.3760027289390564, -0.3240050673484802, -0.04851207137107849, -0.5370662808418274, 0.7588595747947693, -0.14057017862796783, 0.28562676906585693, -0.5022150278091431, -0.10282133519649506, -0.5685597062110901, -0.695494532585144, -0.6584969758987427, -0.28426358103752136, 0.2788877487182617, 0.6056773066520691, 0.6115843057632446, 0.8877971172332764, 0.260918527841568, 0.2988373041152954, -0.03515169769525528, 0.5502632260322571, -0.7549843788146973, 0.32672441005706787, 0.020166436210274696, -0.6191786527633667, -0.19634363055229187, -0.013627720065414906, 0.9173475503921509, 0.8770291805267334, -0.06211528927087784, 0.11048412322998047, 0.09149633347988129, 0.8816600441932678, -0.4668865501880646, 0.17185576260089874, -0.588289737701416, -0.1207074448466301, -0.3869453966617584, -0.14865966141223907, -0.36362436413764954, -0.38506877422332764, -0.27456948161125183, -0.4583337604999542, 0.46680504083633423, 0.15840671956539154, 0.5527258515357971, 0.3397381901741028, -0.29256367683410645, -0.24968856573104858, -1.0378705263137817, 0.8875537514686584, -0.8925527334213257, 0.2798455059528351, 0.3251641094684601, 0.31679362058639526, -0.5828819870948792, -0.4482828378677368, -0.651962399482727, 0.01648145169019699, -0.08210328221321106, 0.027003182098269463, 0.07010546326637268, -0.06361250579357147, 0.4316440522670746, 0.5564213395118713, -0.7900249361991882, 0.10802537947893143, -0.5944169759750366, -0.18145811557769775, 0.9312011003494263, 0.27665549516677856, 0.31142833828926086, 0.09933480620384216, -0.037093933671712875, -0.39898940920829773, -1.0519033670425415, 0.015153789892792702, 0.7415154576301575, 0.4268946051597595, 0.16109809279441833, 0.7421141266822815, -0.24497245252132416, 0.37850484251976013, -0.2558036148548126, 0.24844923615455627, 0.1784851849079132, -0.4709579348564148, -0.09627014398574829, 0.04243039712309837, 0.42915064096450806, 0.0504840686917305, 0.29224541783332825, -0.3200153708457947, -0.3780667781829834, -0.0178908109664917, 0.19985586404800415, -0.6113434433937073, -0.20742076635360718, 0.4364907443523407, -0.0942809134721756, -0.26115724444389343, 0.140619695186615, -0.8799324631690979, -0.42806580662727356, -0.588533878326416, 0.3597767949104309, -0.29440590739250183, -0.05953193083405495, 0.09040430188179016, -0.24077118933200836, 0.26981598138809204, 0.1922193020582199, -0.7128404974937439, 0.2698154151439667, 0.7224565148353577, 0.6628475785255432, -0.018193189054727554, -0.14732970297336578, -0.4881133437156677, 0.07839804142713547, -0.5409557223320007, 0.7231485843658447, -0.4420604705810547, -0.5866377353668213, 0.01665407605469227, -0.09749191254377365, -0.050001416355371475, -0.9005319476127625, 0.5296453237533569, -0.3632957339286804, 0.21229280531406403, -0.47008565068244934, -0.6308456659317017, -0.017519813030958176, 0.2041216343641281, -0.6723912954330444, 1.0555648803710938, 0.1733938455581665, -0.42242375016212463, -0.03125195577740669, -0.44233959913253784, -0.2827463448047638, -0.1600358933210373, -0.2298780381679535, -0.5532199740409851, 0.2842442989349365, 0.285416841506958, -0.014817794784903526, -0.3819863796234131, 0.004420061130076647, -0.29347825050354004, -0.5745088458061218, 0.6055231690406799, -0.7027624249458313, 0.6845698356628418, -0.04250253736972809, -0.22230494022369385, 0.018358377739787102, -1.0297640562057495, 0.19113394618034363, 0.442466676235199, -0.23086196184158325, -0.37096622586250305, 0.027601290494203568, -0.08247023075819016, 0.12515787780284882, -0.061757367104291916, -0.7278906106948853, 0.4072817862033844, -0.5019775032997131, 0.35361960530281067, 0.8994243741035461, 0.1441250890493393, 0.3900250494480133, -0.6341175436973572, 0.4950062036514282, 0.0357062853872776, 0.16708466410636902, -0.1984412521123886, -0.2246685028076172, -0.9726899266242981, 0.10660647600889206, 0.40944862365722656, 0.47175002098083496, -0.6109618544578552, 0.05315065011382103, 0.03954002633690834, -0.47455787658691406, -0.8165223598480225, 0.3794149160385132, 0.6468925476074219, 0.3689051866531372, 0.47452887892723083, -0.32447850704193115, -0.7977578639984131, -0.8847416639328003, -0.3607739508152008, -0.012043843977153301, 0.10386363416910172, 0.15168188512325287, 0.3684788942337036, -0.2572024464607239, 0.8835024237632751, -0.5651155710220337, -0.010406166315078735, -0.2728745639324188, 0.16219303011894226, -0.13239596784114838, 0.6646876335144043, 0.19644293189048767, -0.7172790169715881, -0.301657110452652, -0.28040891885757446, -0.4073528051376343, 0.010927406139671803, -0.21476776897907257, -0.11023198068141937, 0.4254000186920166, 0.7656716704368591, -0.5286256074905396, 0.3365764915943146, 0.5456848740577698, -0.11747489124536514, 0.6577038168907166, -0.20536546409130096, 0.10104295611381531, -0.9359225034713745, -0.11884453147649765, -0.18513600528240204, -0.05174561217427254, -0.6729750037193298, 0.028983190655708313, 0.014122280292212963, 0.052329257130622864, -0.2932661771774292, 0.5014048218727112, -0.3090968728065491, -0.015152698382735252, -0.0881187692284584, -0.13833512365818024, 0.1484307199716568, 0.3915521800518036, -0.33204367756843567, 0.9329460263252258, 0.14926700294017792, -0.25837939977645874, 0.4063168466091156, 0.26712897419929504, -0.1879245489835739, 0.23408570885658264, -0.6797707676887512, 0.4680602550506592, -0.35149043798446655, 0.08969302475452423, -1.122764229774475, -0.4517291188240051, 0.21421125531196594, -0.5013831853866577, 0.5552075505256653, -0.24313583970069885, -0.6093042492866516, -0.06613413989543915, -0.471703439950943, 0.5464082956314087, 0.607322633266449, -0.5738227963447571, 0.29322129487991333, 0.25113552808761597, -0.06979823857545853, -0.4671928882598877, -0.6859633922576904, -0.13237003982067108, -0.25739187002182007, -0.5173430442810059, 0.3416873812675476, -0.22949646413326263, -0.2902737259864807, -0.07620126754045486, -0.24095873534679413, -0.1743009388446808, 0.025024570524692535, 0.1680382788181305, 0.165763720870018, -0.24406053125858307, 0.19140741229057312, -0.0870208814740181, -0.08751590549945831, 0.28255873918533325, 0.00717101851478219, 0.7604888677597046, 0.11993914842605591, -0.49582353234291077, -0.21727000176906586, 0.524589478969574, 0.7051741480827332, -0.23430995643138885, 0.7935308218002319, 0.2258560061454773, -0.4062032103538513, -0.6033725738525391, -0.44071078300476074, -0.23344109952449799, -0.5272570252418518, 0.36692145466804504, 0.02578405663371086, -0.4927365183830261, 0.5045393109321594, -0.20679646730422974, 0.03325444087386131, 0.17170949280261993, 0.1425412893295288, -0.318512886762619, 1.2451555728912354, 0.586763322353363, 0.10883365571498871, 0.2119569480419159, -0.40769630670547485, 0.3998868465423584, -0.7637388706207275, -0.43287286162376404, -0.6264317035675049, -0.23850296437740326, -0.6360129714012146, -0.4925376772880554, 0.28082314133644104, 0.2428438812494278, -0.2805632948875427, 0.06845337897539139, -0.08448760211467743, 0.6609638333320618, 0.726832926273346, 0.09996464848518372, 0.3186590075492859, -0.038169387727975845, 0.09540324658155441, -0.014335780404508114, -0.5895035266876221, -0.5215759873390198, 1.2001758813858032, 0.2558072805404663, 0.7359541058540344, 0.05223919078707695, 0.6132757067680359, 0.06258948147296906, -0.14276757836341858, -0.6304574608802795, 0.401344358921051, -0.18590757250785828, -0.4648604989051819, -0.4664313495159149, -0.5940004587173462, -0.7143025994300842, -0.08921708911657333, -0.22054989635944366, -0.4011256694793701, 0.10371920466423035, 0.4235664904117584, -0.1165858805179596, 0.3281126916408539, -0.7922541499137878, 0.8905762434005737, -0.3240410387516022, -0.26880380511283875, -0.03515618294477463, -0.3472296893596649, 0.38134095072746277, -0.37155795097351074, 0.27025100588798523, 0.14398545026779175, 0.30743125081062317, 0.5478546023368835, -0.34985944628715515, 0.873602032661438, 0.016290174797177315, -0.13236449658870697, 0.21609625220298767, 0.07317466288805008, 0.7143294811248779, 0.05298946797847748, 0.14143778383731842, -0.0074738748371601105, -0.04262363538146019, -0.7316972017288208, -0.9529824256896973, 0.6447365880012512, -0.6704455614089966, -0.6305025815963745, -0.2670797109603882, -0.7265707850456238, -0.6526440382003784, -0.053014542907476425, 0.16504302620887756, 0.5552932024002075, -0.18324004113674164, 0.24433375895023346, 0.7655832171440125, -0.4097045958042145, 0.35379353165626526, 0.4293551743030548, -0.07423712313175201, -0.21255436539649963, 1.000127911567688, 0.3525451123714447, 0.5552440881729126, 0.02392738312482834, 0.1313256174325943, -0.4268729090690613, -0.8939415216445923, -0.4670868217945099, 0.2778806686401367, -0.5006075501441956, -0.07174381613731384, -0.19359250366687775, -0.436898797750473, -0.40197378396987915, 0.08483385294675827, -0.6643438935279846, -0.5199722647666931, -0.0811212956905365, -0.04558393731713295, 0.19668139517307281, 0.8245140314102173, 0.0638679787516594, 0.237251415848732, -0.9000462889671326, 0.0845053642988205, 0.12736938893795013, 0.35039034485816956, -0.06110679730772972, -0.4876714050769806, -0.17474474012851715, 0.5411611795425415, -0.3438904881477356, -0.6910489201545715, 0.4867173433303833, 0.03659922629594803, 0.48431703448295593, 0.12948428094387054, 0.21039234101772308, 0.8682544827461243, -0.3891962170600891, 0.5725465416908264, -0.26954180002212524, -0.7836456298828125, 0.5617560148239136, -0.320440411567688, 0.10034354031085968, 0.36381784081459045, 0.4011022448539734, -0.5553866624832153, -0.5246533751487732, -0.6617549657821655, -0.958655834197998, 0.590320348739624, 0.23890572786331177, 0.25204381346702576, 0.2474631816148758, 0.5352720618247986, 0.08828911930322647, 0.18882153928279877, -0.386884868144989, -0.3402926027774811, 0.019504932686686516, -0.226614847779274, -0.33615782856941223, -0.211717888712883, -0.10740810632705688, -0.25819528102874756, 0.753144383430481, -0.01049712859094143, -0.05003736913204193, 0.09638602286577225, -0.08058686554431915, -0.3663443922996521, 0.33257484436035156, 0.6487666964530945, 0.5753025412559509, -0.18815618753433228, -0.012558745220303535, 0.11350154876708984, -0.4876759946346283, 0.14374300837516785, -0.11065337806940079, -0.3213936388492584, -0.12070076912641525, 0.3258969783782959, 0.44585251808166504, -0.08477744460105896, -0.9889588356018066, 0.1353064775466919, 0.1200082004070282, -0.08263789117336273, -0.324464350938797, 0.32113197445869446, 0.022785618901252747, 0.27686312794685364, 0.31752756237983704, 0.03680894151329994, -0.05254397541284561, -0.9733544588088989, 0.16373495757579803, 0.4785628616809845, -0.24371685087680817, -0.3090781569480896, 0.1288832426071167, -0.11394108086824417, -0.34531497955322266, 0.8415153622627258, -0.19346925616264343, -0.5746357440948486, 0.7425022721290588, 0.6627214550971985, 0.36576908826828003, -0.4027961492538452, 0.2919810116291046, 0.23943251371383667, 0.34496256709098816, -0.19750559329986572, 0.33901575207710266, 0.3227430582046509, -0.7104085683822632, -0.41685354709625244, -0.4091285169124603, -0.5275442004203796, 0.5126229524612427, -0.6736689805984497, 0.04017869383096695, -0.4714833199977875, 0.3807278871536255, -0.17026923596858978, 0.05543433502316475, -0.4060429334640503, 0.15269005298614502, -0.16257651150226593, 0.5474492907524109, -0.9548525214195251, 0.6612805128097534, 0.453163206577301, -0.5832061171531677, -0.8357628583908081, 0.08868709951639175, 0.08656421303749084, -0.7970705628395081, 0.46483418345451355, 0.03229927644133568, 0.22674152255058289, 0.016479818150401115, -0.58003830909729, -0.8806502819061279, 0.7581225633621216, 0.5099359154701233, -0.7142475843429565, 0.031461142003536224, 0.7767027020454407, 0.49813970923423767, -0.07319372147321701, -0.10251707583665848, 0.9101117849349976, 0.4210849702358246, 0.17992156744003296, -0.6560313105583191, 0.1124795451760292, -0.21063505113124847, -0.24264097213745117, 0.5045084953308105, -0.5195610523223877, 0.8298935890197754, -0.12847569584846497, -0.401358038187027, 0.13023637235164642, 0.11035570502281189, 0.20549272000789642, 0.37373554706573486, 0.2417011559009552, 0.5649069547653198, 0.7548738121986389, -0.28487110137939453, 0.8984200954437256, 0.1368561089038849, 0.20571386814117432, 1.1592882871627808, -0.21602864563465118, 0.9277095198631287, 0.6396802067756653, -0.1913577914237976, 0.20034386217594147, 0.5121322870254517, -0.017452357336878777, 0.39312756061553955, 0.610963761806488, -0.11716422438621521, -0.19959795475006104, -0.07159951329231262, -0.24042171239852905, 0.5426813364028931, 0.3808937072753906, -0.08370154350996017, -0.26390397548675537, -0.19946731626987457, -0.1855778694152832, 0.3130055367946625, -0.1686345934867859, 0.6960096955299377, -0.01454202365130186, -0.4682185649871826, 0.6999561786651611, -0.006279050372540951, 0.3177890181541443, -0.25857269763946533, -0.41386932134628296, -0.643064558506012, 0.234290212392807, -0.1698835790157318, -0.544304609298706, 0.5155516862869263, -0.07785040885210037, -0.192285418510437, -0.19721315801143646, 0.4122580289840698, -0.5982829332351685, -0.4906725287437439, -0.02647010236978531, 0.616570234298706, -0.02436242811381817, -0.2119460552930832, -0.4841940999031067, 0.16221103072166443, -0.027494391426444054, 0.041828129440546036, 0.36384594440460205, 0.31651753187179565, -0.093610480427742, 0.6027736663818359, 0.9323827624320984, 0.235470250248909, 0.1362975686788559, -0.025617480278015137, 0.940618634223938, -0.7297447919845581, -0.030605832114815712, -0.7986234426498413, 0.628937840461731, -0.21009336411952972, -0.2214127779006958, 0.7892370820045471, 0.6952141523361206, 1.2526053190231323, 0.13336166739463806, 0.6839631795883179, 0.5672366619110107, 0.7797214388847351, -0.816454291343689, 0.6436417698860168, -0.3808158338069916, 0.7422571778297424, 0.01314011961221695, -1.046667218208313, -0.2970864474773407, 0.27628523111343384, -0.09499743580818176, 0.05060974881052971, 0.6419268846511841, 1.0216729640960693, -0.0032184021547436714, -0.026015976443886757, 0.27187374234199524, 0.397087424993515, 0.4819023609161377, 0.4043563902378082, 1.1383311748504639, -0.6658118963241577, 0.5260443091392517, -0.42131778597831726, 0.13639488816261292, 0.006842696573585272, -0.5371651649475098, -0.8174514174461365, -0.49726468324661255, -0.3024967908859253, -0.39094078540802, 0.3677603006362915, 0.8109302520751953, 0.40920963883399963, -0.9654547572135925, -0.11369713395833969, -0.5173293948173523, 0.028287088498473167, 0.08375179022550583, -0.19287365674972534, 0.3488755524158478, -0.45407813787460327, -0.6904557943344116, 0.6005275249481201, 0.08668424934148788, 0.5128865242004395, -0.42302095890045166, -0.038342565298080444, 0.1561790406703949, 0.36634042859077454, 0.36836475133895874, 0.517358660697937, -0.514162540435791, -0.31908321380615234, 0.19481360912322998, 0.1162962019443512, -0.0017798779299482703, 1.0104731321334839, -0.6793844103813171, 0.3591628670692444, 0.43630367517471313, 0.8274517059326172, 0.26266318559646606, 0.18763111531734467, 0.9016417860984802, -1.0900681018829346, -0.007295862305909395, 0.28929635882377625, 0.2686125934123993, 0.3723333179950714, -0.3434275984764099, 0.38524460792541504, 0.14485540986061096, -0.4944583773612976, -1.2888569831848145, 0.12771429121494293, -0.6765277981758118, -0.5682755708694458, 1.1559982299804688, 0.030604572966694832, -0.1337066888809204, -0.3264319896697998, -0.3385903239250183, 0.29138365387916565, -0.14899781346321106, 1.0901485681533813, 0.7317492365837097, -0.056211113929748535, -0.0899495854973793, -0.6814650893211365, 0.6479897499084473, 0.4821716547012329, -0.9323038458824158, 0.3858586251735687, 0.5363478064537048, 0.09843293577432632, -0.05362531542778015, 0.1387380212545395, -0.2323800027370453, 0.22335882484912872, -0.029266007244586945, -0.38218650221824646, -0.2276473194360733, -0.4032677412033081, -0.43851470947265625, -0.0545523427426815, 0.11553053557872772, -0.13001269102096558 ]
http://arxiv.org/abs/2406.12946v1
http://arxiv.org/pdf/2406.12946v1
Instruction Data Generation and Unsupervised Adaptation for Speech Language Models
2024-06-18T08:27:00
2024-06-18T08:27:00
Vahid Noroozi, Zhehuai Chen, Somshubra Majumdar, Steve Huang, Jagadeesh Balam, Boris Ginsburg
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG
In this paper, we propose three methods for generating synthetic samples to train and evaluate multimodal large language models capable of processing both text and speech inputs. Addressing the scarcity of samples containing both modalities, synthetic data generation emerges as a crucial strategy to enhance the performance of such systems and facilitate the modeling of cross-modal relationships between the speech and text domains. Our process employs large language models to generate textual components and text-to-speech systems to generate speech components. The proposed methods offer a practical and effective means to expand the training dataset for these models. Experimental results show progress in achieving an integrated understanding of text and speech. We also highlight the potential of using unlabeled speech data to generate synthetic samples comparable in quality to those with available transcriptions, enabling the expansion of these models to more languages.
[ -0.07821006327867508, -0.8455297350883484, 0.5103573799133301, 0.002154389163479209, -0.0701313316822052, 0.15055295825004578, -0.4618617296218872, -0.25787076354026794, -0.12762007117271423, 0.711845338344574, -0.6860014200210571, -0.32557448744773865, -0.14921769499778748, -0.1414351761341095, -0.598352313041687, 0.911465585231781, 0.20631267130374908, 0.5136265754699707, -0.19830439984798431, 0.09658188372850418, -0.5029774308204651, -0.6974589228630066, -0.3511350154876709, -0.3168299198150635, 0.0909755676984787, 0.36186984181404114, 0.3696122467517853, 0.44040489196777344, -0.1814432591199875, 0.3513188660144806, 0.3478114902973175, 0.30020084977149963, -0.3244321346282959, 0.2859160304069519, -0.29983094334602356, -0.3477461338043213, -0.23744353652000427, 0.09521808475255966, 1.0115891695022583, 1.043318510055542, -0.18971900641918182, 0.1549450159072876, 0.015912050381302834, 0.37909790873527527, -0.5504449009895325, 0.28612685203552246, -0.76503586769104, -0.1296069175004959, -0.22668848931789398, -0.3508027493953705, -0.7684739232063293, -0.11641574651002884, 0.2186809629201889, -0.5166803598403931, 0.41478559374809265, -0.33001524209976196, -0.02380957268178463, -0.0012490894878283143, -0.453665554523468, -0.41146987676620483, -1.2244482040405273, 0.9761109352111816, -0.6866461038589478, 0.7145752906799316, 0.23231734335422516, 0.3686193823814392, -0.37493205070495605, -0.9002346396446228, -0.6589124798774719, -0.30414485931396484, 0.24339425563812256, 0.13393762707710266, -0.021720951423048973, -0.04926282539963722, 0.16235485672950745, 0.07316513359546661, -0.45303142070770264, 0.09253273159265518, -0.672406017780304, -0.15075485408306122, 0.7906559109687805, -0.020976755768060684, 0.47420817613601685, -0.1302640289068222, -0.1562444418668747, -0.4909649193286896, -0.5707098245620728, -0.12683692574501038, 0.5723681449890137, 0.6171618103981018, -0.16157089173793793, 0.6703605055809021, 0.02459132671356201, 0.8188096880912781, -0.06345665454864502, -0.3270117938518524, 0.39695265889167786, -0.4772008955478668, -0.2768172323703766, 0.38190898299217224, 0.7139541506767273, 0.08484866470098495, 0.27009010314941406, -0.13819921016693115, -0.19774404168128967, 0.1134796142578125, 0.33168721199035645, -0.5525503754615784, -0.21815581619739532, -0.004115517251193523, -0.20871925354003906, -0.23879899084568024, 0.07110552489757538, -1.121425747871399, -0.25976717472076416, -0.7529445290565491, 0.3853791356086731, -0.4822838008403778, -0.2020225077867508, -0.005139264278113842, -0.2988497316837311, -0.07215780764818192, 0.13910965621471405, -1.0744990110397339, 0.2802332639694214, 0.2803401052951813, 0.34439677000045776, -0.38126036524772644, -0.25256577134132385, -0.6814563870429993, 0.3873538076877594, -0.4603157043457031, 0.7022563815116882, -0.7994626760482788, -0.5392149090766907, 0.18479642271995544, 0.10253123939037323, -0.36555734276771545, -0.5347855687141418, 0.39406606554985046, -0.3175073564052582, 0.42916300892829895, 0.3226557672023773, -0.5273073315620422, -0.20747803151607513, -0.4560423791408539, -0.7135655879974365, 1.041476845741272, 0.25607702136039734, -0.22979258000850677, 0.019040169194340706, -0.8137005567550659, -0.5051484107971191, -0.13879841566085815, -0.1820031851530075, -0.08713845908641815, 0.2575429677963257, 0.4460422694683075, 0.4813518822193146, -0.48485860228538513, 0.3301417827606201, -0.008365774527192116, -0.052589721977710724, 0.5779428482055664, -0.7652066349983215, 0.6411657929420471, 0.19806478917598724, -0.23722028732299805, 0.05442158505320549, -1.1301668882369995, 0.3426956236362457, -0.06528332084417343, -0.4995260238647461, -0.24461498856544495, 0.1562158614397049, 0.47439947724342346, 0.0494111105799675, -0.05124795064330101, -0.618288516998291, 0.03487825021147728, -0.48689547181129456, 0.7236827611923218, 0.6249085068702698, 0.07657431811094284, 0.4374697208404541, -0.13822853565216064, 0.4951186776161194, 0.04417644441127777, -0.1696394383907318, -0.4479600787162781, -0.15299223363399506, -0.7585455775260925, -0.07284936308860779, 0.5878564715385437, 0.5180543065071106, -1.0741981267929077, 0.2918822169303894, -0.2514604926109314, -0.4996791183948517, -0.5964698195457458, 0.0983489528298378, 0.4850757122039795, 0.27828294038772583, 0.41816267371177673, -0.1431257426738739, -0.7728311419487, -0.6988076567649841, -0.013617271557450294, -0.0017028748989105225, -0.24414047598838806, 0.019019456580281258, 0.28839269280433655, -0.23839044570922852, 0.7816594839096069, -0.2848321497440338, 0.23283635079860687, -0.3600216209888458, 0.3009718060493469, -0.1790141612291336, 0.7338742017745972, 0.5483858585357666, -0.666689932346344, -0.1448032706975937, 0.06368660181760788, -0.39338093996047974, -0.054244544357061386, -0.24720627069473267, 0.10344596207141876, 0.3058493733406067, 0.6114417910575867, -0.1687021255493164, 0.15400169789791107, 0.9293987154960632, 0.10033918172121048, 0.43242284655570984, -0.33103445172309875, 0.2495313286781311, -1.3245395421981812, -0.12135614454746246, -0.041348718106746674, -0.2762114703655243, -1.0168414115905762, -0.18956080079078674, -0.2663806080818176, -0.5222654938697815, -0.631380558013916, 0.4166582226753235, -0.5238341689109802, -0.19867615401744843, -0.316456139087677, 0.08870149403810501, -0.12658920884132385, 0.3591589033603668, 0.1246325671672821, 0.9951990246772766, 0.5531564950942993, -0.5769825577735901, 0.6420341730117798, 0.04286109656095505, -0.5782790184020996, 0.1082972064614296, -0.6364908218383789, 0.4378058910369873, -0.18247388303279877, 0.1987915188074112, -0.9789174795150757, -0.5562064051628113, 0.05820183828473091, -0.4135976731777191, 0.4401305615901947, -0.015583241358399391, -0.32561835646629333, -0.01893431879580021, -0.023001696914434433, 0.5319393277168274, 0.6593523025512695, -0.6187669038772583, 0.6607563495635986, 0.651506245136261, -0.42019250988960266, -0.21623869240283966, -0.7179123163223267, -0.08408092707395554, 0.0599108561873436, -0.46684494614601135, 0.42423495650291443, 0.07792460918426514, -0.1256052702665329, -0.14286772906780243, 0.19707849621772766, -0.2518865764141083, -0.398215115070343, 0.23254580795764923, 0.21992285549640656, -0.29587599635124207, 0.3271629512310028, 0.36534079909324646, 0.12460077553987503, 0.12764735519886017, -0.3334572911262512, 0.6211742162704468, 0.4606490731239319, -0.5087438821792603, -0.494197815656662, 0.6247447729110718, 0.7209625244140625, -0.21867170929908752, 0.46926257014274597, 0.4717058837413788, -0.23259034752845764, -0.6134929060935974, -0.2889384627342224, -0.23581723868846893, -0.4583946764469147, 0.6036590933799744, -0.2618423402309418, -0.5456305146217346, 0.028135407716035843, -0.19792258739471436, -0.05343214422464371, 0.22160647809505463, 0.8357685208320618, -0.00470074312761426, 1.222784161567688, 0.5523837804794312, 0.2400173544883728, 0.5651703476905823, -0.07159283012151718, 0.04952733963727951, -0.7398265600204468, -0.2822704315185547, -0.5943139791488647, 0.004367902409285307, -0.709832489490509, -0.9245946407318115, 0.5065305829048157, -0.2889789342880249, 0.15113680064678192, 0.15620307624340057, -0.40792903304100037, 0.39157047867774963, 0.8127343654632568, 0.2292923480272293, -0.01279581617563963, 0.3428332805633545, -0.08489847928285599, -0.08809645473957062, -0.7402749061584473, -0.4707501530647278, 1.3123232126235962, 0.10204043239355087, 0.7738281488418579, -0.1281290501356125, 0.25107666850090027, 0.29568660259246826, -0.10164093971252441, -0.7008848786354065, 0.38269004225730896, -0.35343676805496216, -0.506919801235199, -0.3489344120025635, -0.26435965299606323, -0.775015652179718, 0.07583696395158768, -0.3691697418689728, -0.5135790109634399, 0.22735430300235748, 0.03826098144054413, -0.10655884444713593, -0.00043320850818417966, -1.0421802997589111, 0.5312380194664001, -0.08703508228063583, -0.06763622909784317, -0.2904999852180481, -0.413915753364563, 0.38791972398757935, -0.4598991274833679, 0.17750148475170135, 0.2474602609872818, 0.2687743902206421, 0.9406627416610718, -0.15337297320365906, 1.0801585912704468, -0.17718225717544556, -0.21697813272476196, 0.4500710964202881, -0.2245790809392929, 0.28625717759132385, -0.16889232397079468, -0.24773365259170532, 0.04127665236592293, 0.16525448858737946, -0.2719654440879822, -0.7123501896858215, 0.5489452481269836, -0.8265431523323059, -0.40306758880615234, -0.18191152811050415, -0.9925957322120667, -0.5287946462631226, -0.004313668701797724, 0.06869907677173615, 0.7845245003700256, -0.29462695121765137, 0.3683737814426422, 0.520689070224762, -0.6057400703430176, 0.46226128935813904, 0.4089805483818054, -0.001586636179126799, -0.5583494901657104, 0.9069502353668213, 0.08692469447851181, 0.5423315167427063, 0.17936304211616516, 0.03406620770692825, -0.4500846862792969, -0.5050638318061829, -0.7085007429122925, 0.1420896053314209, -0.636588990688324, 0.1680244356393814, -0.4312555491924286, -0.39359837770462036, -0.826577365398407, 0.20299102365970612, -0.47809454798698425, -0.5707542300224304, -0.26680997014045715, 0.08356118947267532, 0.3393939435482025, 0.7287752628326416, -0.13307295739650726, 0.3535969853401184, -0.9246879816055298, 0.3706127107143402, 0.45565423369407654, -0.21562884747982025, -0.15627065300941467, -0.6192947030067444, -0.15981878340244293, 0.5910021066665649, -0.22818580269813538, -0.9491134285926819, 0.4704076647758484, 0.4503211975097656, 0.6356698274612427, 0.09247596561908722, -0.012462211772799492, 0.5466641187667847, -0.8882238864898682, 0.8840777277946472, 0.10887603461742401, -1.110615849494934, 0.6937068700790405, -0.373958557844162, 0.10547246783971786, 0.13648657500743866, 0.3276737332344055, -0.3148314356803894, -0.14025017619132996, -0.360835462808609, -0.5411335229873657, 0.9231052398681641, 0.1375131607055664, 0.4687564969062805, 0.27586179971694946, 0.20485888421535492, 0.18882666528224945, 0.16218826174736023, -0.44663602113723755, -0.03320912644267082, -0.3496664762496948, -0.3501567542552948, -0.20944182574748993, -0.19481442868709564, -0.1073397621512413, -0.33054405450820923, 0.7368486523628235, -0.18576893210411072, 0.3295731544494629, -0.1416887491941452, -0.030876854434609413, -0.010625069960951805, 0.4438902735710144, 0.7389780282974243, 0.7410734295845032, 0.11439864337444305, 0.05477561056613922, 0.02921876683831215, -0.610651433467865, 0.3177432119846344, 0.12379731982946396, -0.10180550813674927, 0.15030603110790253, 0.4261374771595001, 1.098801851272583, 0.24576866626739502, -0.8886807560920715, 0.18094035983085632, 0.1860118955373764, -0.14490650594234467, -0.3056054413318634, 0.3760541081428528, 0.01866675727069378, 0.23366695642471313, 0.08261509239673615, -0.19096092879772186, -0.011474833823740482, -1.0061187744140625, 0.29210007190704346, 0.306081622838974, -0.3296636641025543, -0.446296364068985, 0.5420493483543396, 0.15760909020900726, -0.3186410367488861, 0.6020593047142029, 0.21169880032539368, -0.18164651095867157, 0.4461667835712433, 1.0522910356521606, 0.663587212562561, -0.6305446028709412, 0.4556411802768707, 0.2404545247554779, 0.010685398243367672, 0.1554478406906128, 0.2163229137659073, 0.015340035781264305, -0.6485068202018738, -0.5968901515007019, -0.7084423303604126, -0.37406665086746216, 0.4868979752063751, -0.6954320073127747, 0.2605421841144562, -0.07140243053436279, 0.07252656668424606, 0.4140312075614929, -0.39664551615715027, -0.20799553394317627, 0.2741765081882477, 0.165932759642601, 0.510703980922699, -1.0340595245361328, 1.1190816164016724, 0.7391217947006226, -0.1158890649676323, -0.7737933397293091, 0.020007966086268425, -0.07891647517681122, -0.8008611798286438, 0.7159428000450134, -0.24664947390556335, -0.059432029724121094, 0.0643274262547493, -0.38061246275901794, -0.8063559532165527, 0.6813569068908691, 0.5312351584434509, -0.4881826341152191, -0.08939971774816513, 0.5575250387191772, 0.619448184967041, -0.4894539713859558, 0.026640381664037704, 0.7509256601333618, 0.32170066237449646, 0.22607675194740295, -0.7943710684776306, -0.21385155618190765, -0.16504856944084167, 0.2593970000743866, 0.05464530363678932, -0.04968532174825668, 0.9512827396392822, 0.05958838388323784, -0.31003186106681824, 0.043543215841054916, 0.5862559676170349, 0.15373064577579498, 0.021901171654462814, 0.5004350543022156, 0.12932811677455902, 0.5904396176338196, 0.005202829372137785, 0.7402743697166443, -0.1323046237230301, -0.0676933079957962, 1.3247039318084717, -0.3250327706336975, 0.7894055843353271, 0.43555542826652527, -0.08530650287866592, 0.40091472864151, 0.30913639068603516, -0.06302054226398468, 0.5809131860733032, 0.1824052780866623, -0.4220966398715973, -0.0940399095416069, -0.23405209183692932, -0.3556159436702728, 0.9268472194671631, 0.5090485215187073, -0.5218291282653809, -0.33719030022621155, 0.47097048163414, -0.2936388850212097, 0.21837587654590607, -0.10904770344495773, 0.765636682510376, -0.17559289932250977, -0.7514392733573914, 0.6948666572570801, 0.1097414493560791, 0.15579715371131897, -0.520733654499054, -0.27917686104774475, 0.19371534883975983, 0.1381567120552063, 0.06357384473085403, -0.5439152717590332, 0.23407134413719177, 0.2423398196697235, -0.4095049798488617, -0.23587064445018768, 0.488852322101593, -0.8276776671409607, -0.8019554018974304, -0.05366378277540207, 0.38028040528297424, 0.1927943229675293, 0.18903590738773346, -0.4778498411178589, 0.057692576199769974, 0.15817292034626007, -0.10662735253572464, 0.32225552201271057, 0.4786403775215149, -0.14313051104545593, 0.26354363560676575, 0.9495086669921875, 0.2964652478694916, 0.4207537770271301, 0.2474411427974701, 0.8870534300804138, -0.3475925326347351, -0.254129022359848, -0.5987971425056458, 0.4434199631214142, 0.0986928939819336, -0.12846161425113678, 0.5733710527420044, 0.458095520734787, 0.9457603693008423, -0.42126455903053284, 1.0545074939727783, 0.08268067985773087, 0.776573657989502, -1.008890151977539, 0.4659302830696106, -0.28204643726348877, -0.030540943145751953, -0.2115253508090973, -0.9244303703308105, 0.19642724096775055, 0.4213314354419708, -0.06824007630348206, 0.0993432030081749, 0.6195895671844482, 0.9133001565933228, -0.22968682646751404, 0.17660534381866455, 0.2828776240348816, 0.004526567179709673, 0.3313896358013153, 0.48382940888404846, 0.8439252376556396, -0.5380256772041321, 0.2214830368757248, -0.3004602789878845, -0.23601442575454712, 0.19838428497314453, -0.6219092607498169, -0.9354096055030823, -0.910760223865509, -0.15037290751934052, -0.17860671877861023, -0.02536631189286709, 0.8847531080245972, 0.9628648161888123, -0.9689191579818726, -0.3995143175125122, -0.08817961812019348, -0.38799849152565, -0.03962797299027443, -0.21822214126586914, 0.28287792205810547, -0.48126155138015747, -1.4058990478515625, 1.0359973907470703, -0.005395368207246065, 0.32849249243736267, -0.45594343543052673, 0.1416676938533783, -0.13351544737815857, 0.32348063588142395, 0.7193652391433716, 0.20592185854911804, -0.5736300349235535, -0.10882566124200821, -0.04765157029032707, 0.3103904128074646, -0.15846852958202362, 0.9767154455184937, -0.7285100817680359, 0.6560965776443481, 0.500263512134552, 0.8117188215255737, 0.4634934365749359, 0.006921935360878706, 0.9842129349708557, -1.0655543804168701, 0.5514618158340454, 0.2107396125793457, 0.048597510904073715, 0.31222739815711975, -0.08734223246574402, 0.2006932944059372, 0.02797679603099823, -0.39360934495925903, -1.0648701190948486, 0.2953867018222809, -0.8774142861366272, -0.32671505212783813, 1.2763346433639526, 0.11064380407333374, -0.2872965633869171, -0.0072957174852490425, -0.2885931730270386, 0.635432779788971, -0.19596752524375916, 0.6220803260803223, 0.5220790505409241, -0.20896010100841522, -0.08316670358181, -0.753770649433136, 0.49640804529190063, 0.1601007580757141, -1.0292075872421265, 0.2795310914516449, 0.6994169354438782, 0.036368969827890396, 0.20143680274486542, 0.1882242113351822, -0.18539105355739594, 0.2605641484260559, 0.15233929455280304, 0.13884007930755615, 0.06785611808300018, -0.4981168210506439, -0.3162548542022705, 0.032230496406555176, -0.3761177062988281, -0.41534367203712463 ]
http://arxiv.org/abs/2406.12389v1
http://arxiv.org/pdf/2406.12389v1
EMO-KNOW: A Large Scale Dataset on Emotion and Emotion-cause
2024-06-18T08:26:33
2024-06-18T08:26:33
Mia Huong Nguyen, Yasith Samaradivakara, Prasanth Sasikumar, Chitralekha Gupta, Suranga Nanayakkara
cs.CL
cs.CL
Emotion-Cause analysis has attracted the attention of researchers in recent years. However, most existing datasets are limited in size and number of emotion categories. They often focus on extracting parts of the document that contain the emotion cause and fail to provide more abstractive, generalizable root cause. To bridge this gap, we introduce a large-scale dataset of emotion causes, derived from 9.8 million cleaned tweets over 15 years. We describe our curation process, which includes a comprehensive pipeline for data gathering, cleaning, labeling, and validation, ensuring the dataset's reliability and richness. We extract emotion labels and provide abstractive summarization of the events causing emotions. The final dataset comprises over 700,000 tweets with corresponding emotion-cause pairs spanning 48 emotion classes, validated by human evaluators. The novelty of our dataset stems from its broad spectrum of emotion classes and the abstractive emotion cause that facilitates the development of an emotion-cause knowledge graph for nuanced reasoning. Our dataset will enable the design of emotion-aware systems that account for the diverse emotional responses of different people for the same event.
[ -0.45600736141204834, -0.7662250399589539, 0.6384508609771729, 0.09490128606557846, -0.15051686763763428, 0.029363339766860008, -0.14527222514152527, -0.4314194321632385, 0.7039378881454468, 0.3059942424297333, -0.7427168488502502, -0.45151081681251526, -0.6349688768386841, 0.16502216458320618, -0.518618643283844, 0.9128515124320984, 0.08762888610363007, -0.4167546033859253, 0.303150475025177, -0.05973783880472183, -0.0931507796049118, -0.0824718177318573, -0.8753494024276733, -0.00331351300701499, 0.9925820231437683, 0.938762366771698, 0.2313893735408783, 0.318759560585022, 0.36278796195983887, 0.09595097601413727, 0.1986643373966217, 0.0654095709323883, -0.7336333990097046, 0.3805244266986847, -0.03459370508790016, -0.16346947848796844, -0.5111262202262878, -0.3845868706703186, 0.16495637595653534, 0.33164316415786743, -0.06502620130777359, 0.15922729671001434, -0.30040231347084045, 0.8853541612625122, -0.9171595573425293, -0.17825910449028015, -0.47411298751831055, 0.33138465881347656, -0.18089932203292847, -0.03251532092690468, -0.024219051003456116, -0.414995938539505, -0.08083224296569824, -0.7339046001434326, 0.025026055052876472, 0.10954108089208603, 0.4974733889102936, 0.27606770396232605, -0.7412430047988892, -0.30355405807495117, -0.5482934713363647, 0.6751400232315063, -0.3004891276359558, 0.26815178990364075, 0.23580710589885712, 0.22881373763084412, 0.21524357795715332, -0.43110519647598267, -0.4741460084915161, 0.589706540107727, 0.3001463711261749, 0.3146086037158966, -0.5354853868484497, -0.04411293566226959, 0.47441431879997253, 0.27738621830940247, -0.588493824005127, 0.09697571396827698, -0.2939128875732422, -0.01862780749797821, 0.9286327362060547, 0.24508249759674072, 0.6409191489219666, 0.024074725806713104, -0.08045098930597305, 0.14217257499694824, -0.8826473355293274, -0.15804463624954224, 0.3749951422214508, -0.20727622509002686, -0.17570927739143372, 0.5810482501983643, -0.1419961303472519, 0.3355560004711151, -0.05452532693743706, 0.30199989676475525, 0.09377229958772659, 0.17346948385238647, -0.21581228077411652, 0.22282445430755615, 0.940363347530365, 0.5754659175872803, 0.4826343357563019, -0.28022897243499756, -0.22035841643810272, -0.06143536791205406, 0.15518879890441895, -1.069671630859375, -0.24576380848884583, 0.9479675889015198, -0.33403199911117554, -0.32503649592399597, -0.08560934662818909, -1.2757269144058228, -0.8827208876609802, -0.4753282368183136, 0.5269354581832886, -0.30688396096229553, -0.543144702911377, -0.01839921437203884, -0.5385485291481018, -0.2514571249485016, 0.3889021575450897, -0.6248592138290405, 0.05871882662177086, 0.7155758142471313, 0.6255741715431213, 0.21859261393547058, 0.09149190783500671, -0.33248206973075867, -0.015031890943646431, -0.5392248034477234, 0.7569761276245117, -0.5800904035568237, 0.046744536608457565, 0.2396920770406723, -0.05381816625595093, 0.3154923617839813, -0.36706891655921936, 0.7603805661201477, -0.2559696435928345, -0.12399478256702423, -0.4929448962211609, -0.5179392695426941, -0.04522084817290306, 0.3994661867618561, -0.6923044919967651, 0.5695210099220276, 0.019762692973017693, -0.8728674650192261, 0.48385298252105713, -0.8367657661437988, -0.5016685724258423, -0.18088307976722717, 0.13248315453529358, -0.03397112712264061, 0.3901114761829376, 0.32506945729255676, 0.6730393767356873, -0.45032474398612976, 0.45317745208740234, -0.6874509453773499, -0.09421848505735397, -0.08316323161125183, 0.37225279211997986, 0.6824527382850647, 0.5160704255104065, 0.012697124853730202, -0.041550472378730774, -0.9384413957595825, -0.4190254509449005, 0.09802333265542984, 0.25380200147628784, -0.7361018061637878, -0.06152015179395676, 0.003484046086668968, 0.5022450089454651, 0.13233375549316406, -1.0373001098632812, -0.10867498070001602, -0.056381143629550934, 0.537763774394989, 0.7142062783241272, 0.39636969566345215, 0.33165839314460754, -0.2438720017671585, 0.6263933181762695, 0.28444188833236694, 0.2853987514972687, -0.48511478304862976, -0.2798200845718384, -0.43809154629707336, -0.16069775819778442, -0.3289189040660858, 0.2900855243206024, -0.4018283784389496, 0.2796538174152374, -0.08758236467838287, -0.8377034068107605, -0.3652149736881256, -0.18288537859916687, 0.03120507299900055, 0.5260698795318604, 0.09314747154712677, 0.36139175295829773, -0.8290128111839294, -0.6899818181991577, -0.4390695095062256, 0.42122697830200195, -0.2670086920261383, 0.2000304013490677, 0.6423657536506653, -0.15984474122524261, 0.8152030110359192, -0.6063973903656006, -0.21050681173801422, 0.2695099115371704, 0.11700156331062317, 0.12734223902225494, 0.26037195324897766, 0.5228187441825867, -0.5492478609085083, -0.2151053547859192, 0.09831705689430237, -0.8442931771278381, -0.4460599422454834, 0.09074939787387848, -0.4034053683280945, -0.1895710676908493, 0.2358253300189972, -0.23543891310691833, 0.18042252957820892, 0.6549673080444336, -0.46422404050827026, 0.1506359726190567, 0.22132745385169983, 0.322299063205719, -1.3057643175125122, 0.16109581291675568, 0.23429954051971436, 0.30007100105285645, -0.47277286648750305, -0.5612451434135437, 0.001578083261847496, -0.4909427762031555, -0.17644038796424866, 0.6638147830963135, -0.11843527108430862, 0.10443349182605743, 0.04740947112441063, 0.3135180175304413, 0.27847644686698914, 0.23341545462608337, -0.20426979660987854, -0.0983942374587059, 0.7450348734855652, -0.4330786466598511, 0.5179413557052612, 0.20016168057918549, -0.0020142770372331142, 0.7129698991775513, -0.5409758687019348, 0.19296082854270935, -0.3907129764556885, 0.0017236657440662384, -1.0396828651428223, -0.7367088198661804, 0.23142199218273163, -0.4398406147956848, 0.17878049612045288, -0.15061193704605103, -0.5257550477981567, -0.37293586134910583, -0.2722853720188141, 0.11821731925010681, 0.3117560148239136, -0.6612879037857056, 0.992543637752533, 0.627114474773407, -0.22840940952301025, -0.36522161960601807, -0.42658162117004395, 0.18234339356422424, -0.44554007053375244, -0.8838915228843689, -0.10957604646682739, 0.10986239463090897, -0.5150253176689148, 0.012878818437457085, -0.09451525658369064, -0.21735070645809174, 0.18739746510982513, 0.613612949848175, -0.5315631031990051, 0.2445754110813141, 0.8520433902740479, 0.3909803330898285, 0.16643275320529938, 0.4196159243583679, -0.12055271118879318, 0.32838383316993713, 0.2074616700410843, -0.05835593864321709, -0.20617778599262238, 0.5318748950958252, 0.6975927948951721, -0.043730780482292175, 0.6770766377449036, 0.5638567209243774, -0.7526162266731262, -0.4176110029220581, -0.5404061675071716, -0.33338552713394165, -0.3065338134765625, 0.14410758018493652, -0.16439037024974823, -0.8333507776260376, 0.9503072500228882, -0.1683548539876938, 0.2092142254114151, 0.6323407888412476, 0.29642024636268616, -0.2504860758781433, 0.9270402789115906, 0.29789382219314575, -0.09141480177640915, 0.5424962639808655, -0.043540745973587036, 0.26228439807891846, -0.6327968835830688, -0.2805522084236145, -0.6307973861694336, -0.4037708044052124, -0.6110673546791077, 0.1179950162768364, 0.16833294928073883, -0.33647438883781433, -0.7971835136413574, -0.13456961512565613, -0.33177778124809265, 0.22116701304912567, 0.08597403764724731, 0.27954962849617004, 0.12597085535526276, -0.06834873557090759, 0.5334075093269348, 0.06418424844741821, -0.5032041072845459, -0.4117204546928406, 1.134704828262329, 0.2036009132862091, 0.7779821157455444, 0.03661328926682472, 0.798799455165863, 0.35569676756858826, 0.6115652918815613, -0.7540877461433411, 0.1411384642124176, -0.13834039866924286, -0.8844170570373535, -0.16051796078681946, -0.41829928755760193, -0.9653687477111816, -0.299231618642807, -0.1644439846277237, -0.8116071224212646, 0.33671021461486816, 0.229624405503273, -0.06650494039058685, 0.286191463470459, -0.9102978706359863, 0.7548343539237976, -0.17767946422100067, -0.22938226163387299, -0.14882250130176544, -0.6076534390449524, 0.6543256640434265, -0.7016794085502625, 0.5140916109085083, -0.33612850308418274, 0.07605047523975372, 1.122643232345581, -0.49584490060806274, 0.8123839497566223, -0.221125990152359, -0.16925199329853058, 0.3907833695411682, 0.19281262159347534, 0.44666510820388794, -0.03788921236991882, -0.20538118481636047, -0.04996104538440704, -0.30783289670944214, -0.2619248330593109, -0.6979178190231323, 0.6110206842422485, -0.6828798651695251, -0.14210985600948334, 0.09886094927787781, -0.3419561982154846, -0.06509197503328323, 0.07096396386623383, 0.3494126796722412, 0.4248579740524292, -0.13698792457580566, 0.2555844187736511, 0.5047845840454102, -0.13977020978927612, 0.39025670289993286, 0.2535731792449951, -0.2970585823059082, -0.5619582533836365, 0.6432743072509766, 0.17571668326854706, 0.009870396926999092, 0.41373172402381897, 0.6176700592041016, 0.009682229720056057, 0.08925650268793106, 0.08226123452186584, 0.07173813134431839, -0.6266710162162781, -0.32142871618270874, -0.7973889112472534, 0.45645031332969666, -0.5570123195648193, -0.30306491255760193, -0.45972904562950134, -0.41818109154701233, -0.18347670137882233, -0.25886598229408264, 0.8585182428359985, 0.9391362071037292, -0.31390807032585144, 0.27731990814208984, -0.901825487613678, 0.3534601628780365, 0.25393617153167725, 0.4069667160511017, 0.17082621157169342, -0.34279000759124756, -0.2437373846769333, 0.04346975311636925, -0.32542747259140015, -1.1615606546401978, 0.7264477014541626, 0.3411482870578766, 0.12207499146461487, 1.0777512788772583, 0.5993696451187134, 0.4335278868675232, 0.04547825828194618, 0.47582271695137024, 0.2179705798625946, -0.9186285138130188, 1.010815978050232, -0.7157768607139587, -0.2097446769475937, 0.04721992462873459, 0.5596292614936829, -0.8916420936584473, -0.5060299634933472, -0.9666295647621155, -0.8568084239959717, 0.6660317778587341, 0.17476676404476166, -0.10488522797822952, -0.15072575211524963, 0.23843520879745483, 0.09766098856925964, 0.14084157347679138, -0.043997276574373245, -0.14871783554553986, -0.2607782781124115, -0.3924565613269806, 0.010721821337938309, -0.16084305942058563, -0.3879994750022888, 0.07420020550489426, 0.5426605939865112, 0.015968408435583115, 0.05400979518890381, 0.18067316710948944, 0.01991729997098446, -0.609529435634613, 0.20251622796058655, 0.19594931602478027, 0.5004313588142395, -0.5140222311019897, 0.10477301478385925, -0.11717086285352707, -0.24937057495117188, -0.06876291334629059, 0.01447313278913498, 0.11817824840545654, -0.1811196208000183, 0.2520027458667755, 0.582449197769165, 0.1471244990825653, -0.7932513952255249, 0.42376479506492615, 0.05316965654492378, -0.12431517243385315, -0.4050717353820801, -0.22904671728610992, 0.2499275505542755, 0.20557530224323273, 0.5315948724746704, -0.13976800441741943, 0.3675215542316437, -0.6251466274261475, 0.24329672753810883, -0.13929297029972076, -0.43054521083831787, -0.7280492186546326, 0.5295138955116272, 0.3791395127773285, -0.08249032497406006, 0.6177478432655334, 0.020927073433995247, -0.4986342787742615, 1.1099836826324463, 0.133211150765419, 0.9202894568443298, -0.26349395513534546, 0.08716924488544464, 0.7680764198303223, 0.11689959466457367, 0.0741129219532013, 0.6092053055763245, 0.13988931477069855, -0.9524976015090942, -0.25679272413253784, -0.37336814403533936, -0.48718714714050293, -0.026481803506612778, -0.6926119327545166, 0.27158570289611816, -0.4465894401073456, -0.29059308767318726, -0.006253130733966827, -0.17097802460193634, -0.9323291182518005, 0.5473661422729492, 0.15244588255882263, 0.7355390191078186, -1.639064908027649, 0.1311279684305191, 0.8165032267570496, -0.3203030228614807, -0.897398829460144, -0.37287890911102295, 0.2077234387397766, -0.670129656791687, 0.7621310353279114, 0.2594006657600403, 0.264396071434021, -0.07809208333492279, -0.8560424447059631, -0.4433344900608063, 0.9748796820640564, 0.13017891347408295, -0.7676026821136475, 0.36819759011268616, -0.3337094783782959, 0.6581720113754272, -0.7285307049751282, 0.2628353536128998, 0.5550717711448669, 0.5344234108924866, 0.24309810996055603, -0.35667216777801514, 0.08813179284334183, -0.3043626546859741, -0.48526731133461, 0.48088565468788147, -0.6847608685493469, 0.6114501953125, -0.4441770017147064, -0.10840699076652527, -0.7504948973655701, 0.12823298573493958, 0.35326528549194336, 0.891424298286438, 0.4078274667263031, 0.9328331351280212, 0.8942214250564575, -0.31731918454170227, 1.0336378812789917, -0.25504475831985474, 0.43194910883903503, 0.9009478092193604, -0.24911841750144958, 0.5477195978164673, 0.46080705523490906, 0.10982569307088852, 0.055442795157432556, 0.8063638806343079, 0.18458852171897888, 0.1861380636692047, 0.026156367734074593, -0.29852232336997986, -0.5039750933647156, -0.38934311270713806, -0.042594775557518005, 0.30699026584625244, 0.6532963514328003, -0.6173880100250244, -0.2913513481616974, 0.15114761888980865, 0.33093270659446716, -0.4105833172798157, -0.4610540270805359, 0.6517854332923889, 0.17257823050022125, -0.40800678730010986, -0.22394968569278717, -0.8586333990097046, 0.2412075698375702, -0.08759759366512299, 0.08047572523355484, -0.3711889386177063, -0.03057822212576866, -0.5637242197990417, -1.1005091667175293, 0.2870740294456482, 0.11964523792266846, -0.043156947940588, -0.19988371431827545, 0.82750004529953, -0.25692254304885864, -0.33446136116981506, 0.4121587872505188, 0.5479668974876404, 0.3047155439853668, -0.6072676181793213, -0.1294649839401245, 0.05010603368282318, -0.2096235752105713, -0.5524253249168396, 0.10089404881000519, 1.3863064050674438, 0.13547635078430176, 0.6975238919258118, 0.44610875844955444, -0.11705340445041656, -0.0194111205637455, 0.2622344493865967, 0.906730055809021, -0.8570008277893066, -0.18189217150211334, -0.7684270143508911, 0.7577674388885498, -0.24001027643680573, -0.5025618076324463, 0.2886103391647339, 0.5103626251220703, 0.27991339564323425, -0.07208836078643799, 0.9437000155448914, -0.4059179127216339, 0.5610508918762207, -0.04045809432864189, 0.5461249947547913, -0.9013673663139343, -0.1156526505947113, -0.35993772745132446, -0.6917042136192322, -0.4190819561481476, 0.1852496862411499, -0.30409011244773865, -0.11541751027107239, 0.35402414202690125, 0.6185256838798523, 0.3534657955169678, 0.23528054356575012, 0.38186463713645935, 0.4560739994049072, 0.5368617177009583, 0.6941811442375183, 0.8871660232543945, -0.4178241491317749, 0.4654470682144165, -0.35285356640815735, -0.24774070084095, -0.567154586315155, -1.1017309427261353, -0.6316938996315002, -0.7030344605445862, -0.5585654973983765, -0.2914447486400604, -0.061437200754880905, 0.8538560271263123, 0.282599538564682, -0.6767752766609192, 0.4814164638519287, -0.05939072370529175, 0.4442105293273926, 0.16052468121051788, -0.24692320823669434, 0.415353000164032, -0.35908088088035583, -0.4326225221157074, -0.17516328394412994, 0.2778897285461426, -0.2741086184978485, 0.5050644874572754, 0.12212304770946503, 0.2353123426437378, -0.010401522740721703, 0.741847574710846, 0.3848502039909363, -0.2985406219959259, -0.43607303500175476, -0.04686427488923073, 0.10559643805027008, 0.011999868787825108, 0.7797368764877319, -0.24097418785095215, 0.7629890441894531, 0.7641549110412598, 0.31513452529907227, 0.16044455766677856, -0.1400192379951477, 0.6779085993766785, -0.701256513595581, -0.3195733428001404, 0.3842030167579651, 0.6881450414657593, 0.24898283183574677, -0.4367228150367737, 0.7313427329063416, 0.09701767563819885, -0.8554942011833191, -0.4976261854171753, 0.06455773115158081, -1.2171071767807007, 0.10366792976856232, 1.1046611070632935, -0.18112985789775848, -0.22987942397594452, -0.0057707480154931545, -0.1599806547164917, 0.7268046736717224, -0.927747905254364, 1.004127025604248, 0.7283190488815308, -0.15756475925445557, -0.40926238894462585, -0.365831583738327, 0.20041528344154358, -0.12445785105228424, -1.1040229797363281, 0.27716827392578125, 0.7280256748199463, 0.3137318193912506, 0.01168920285999775, 0.17382609844207764, 0.005418732762336731, 0.14015184342861176, 0.0917910560965538, 0.5058087706565857, 0.002265176735818386, -0.23668275773525238, -0.16926991939544678, 0.3937668204307556, -0.36527860164642334, 0.0014445409178733826 ]
http://arxiv.org/abs/2406.12387v1
http://arxiv.org/pdf/2406.12387v1
Performant ASR Models for Medical Entities in Accented Speech
2024-06-18T08:19:48
2024-06-18T08:19:48
Tejumade Afonja, Tobi Olatunji, Sewade Ogun, Naome A. Etori, Abraham Owodunni, Moshood Yekini
eess.AS
eess.AS, cs.CL, cs.SD
Recent strides in automatic speech recognition (ASR) have accelerated their application in the medical domain where their performance on accented medical named entities (NE) such as drug names, diagnoses, and lab results, is largely unknown. We rigorously evaluate multiple ASR models on a clinical English dataset of 93 African accents. Our analysis reveals that despite some models achieving low overall word error rates (WER), errors in clinical entities are higher, potentially posing substantial risks to patient safety. To empirically demonstrate this, we extract clinical entities from transcripts, develop a novel algorithm to align ASR predictions with these entities, and compute medical NE Recall, medical WER, and character error rate. Our results show that fine-tuning on accented clinical speech improves medical WER by a wide margin (25-34 % relative), improving their practical applicability in healthcare environments.
[ -0.009815720841288567, -0.4082089364528656, 0.5542773008346558, -0.028066929429769516, -0.09113271534442902, 0.22528323531150818, -0.39777931571006775, -0.8793049454689026, 0.44124773144721985, 0.7125396728515625, -0.13087698817253113, -0.4875866174697876, -0.7632310390472412, 0.2875516712665558, -0.11919738352298737, 0.6015145182609558, 0.1071287989616394, 0.6528287529945374, 0.04693332314491272, -0.558007001876831, -0.43665674328804016, -0.7484320998191833, -1.1181145906448364, -0.28234153985977173, 0.5032784938812256, 0.4557385742664337, 0.7801792025566101, 0.8013453483581543, 0.7361783981323242, 0.2928788363933563, -0.10475010424852371, 0.3407714366912842, -0.0766584500670433, 0.12186139076948166, -0.14136716723442078, -0.21398501098155975, -0.5833004713058472, -0.4254048466682434, 0.4279615581035614, 1.0771490335464478, -0.38850128650665283, -0.24667763710021973, -0.10096114128828049, 0.4450877904891968, -0.30353686213493347, 0.06969087570905685, -0.5703927874565125, -0.339603453874588, -0.11759274452924728, -0.1822529286146164, -0.16718949377536774, -0.3028877377510071, 0.3926233649253845, -0.4736270606517792, 0.47970154881477356, 0.1460844725370407, 0.8174394965171814, 0.3863566815853119, -0.34337398409843445, -0.610765814781189, -0.7129486799240112, 0.35205283761024475, -0.8409083485603333, 0.49275943636894226, 0.2662979066371918, 0.37899789214134216, -0.12836089730262756, -0.9521811604499817, -0.3809969425201416, -0.24048860371112823, -0.10133707523345947, -0.14876960217952728, -0.24544188380241394, 0.5121716260910034, 0.2353743463754654, 0.4149579703807831, -0.3025585114955902, 0.44940122961997986, -0.5406069159507751, -0.36937984824180603, 0.7605788111686707, 0.2672158181667328, 0.7196241021156311, 0.17323799431324005, -0.07396302372217178, 0.03942062333226204, -0.6082165241241455, 0.008066218346357346, -0.14091810584068298, 0.839413046836853, -0.002858018036931753, 0.5887910723686218, -0.1213226318359375, 0.2642703056335449, 0.08025576174259186, -0.039399441331624985, 0.27922654151916504, 0.09382060170173645, -0.09417393058538437, 0.6181620359420776, 0.7247156500816345, 0.4414462447166443, 0.3315027356147766, -0.2356594055891037, -0.2567630410194397, 0.4394075870513916, 0.582199215888977, -0.7773513793945312, -0.42169424891471863, 0.3507627248764038, -0.39678218960762024, 0.020394138991832733, -0.3477558195590973, -0.45044925808906555, -0.5422656536102295, -0.2505333125591278, 0.6759372353553772, -0.6672617197036743, 0.038031160831451416, 0.13624553382396698, 0.012846575118601322, -0.17106635868549347, 0.2585429847240448, -0.8196356296539307, 0.7419776320457458, 0.5302091836929321, 0.6058029532432556, -0.2560788691043854, 0.15490470826625824, -0.5070421695709229, -0.14112982153892517, -0.3925548493862152, 0.7129577994346619, -0.39947137236595154, -0.6740599870681763, 0.1133335530757904, 0.11978314816951752, -0.2537018358707428, -0.7804509401321411, 0.7475482225418091, -0.26858413219451904, -0.43937399983406067, -0.41315025091171265, -0.6228449940681458, -0.18069981038570404, -0.17950013279914856, -0.7131823301315308, 0.2778071165084839, -0.10548407584428787, -0.26541486382484436, 0.47560375928878784, -0.7831214666366577, -0.9355726838111877, 0.04231971129775047, -0.2558969557285309, -0.6833547949790955, 0.39990973472595215, 0.3311959505081177, 0.210402712225914, -0.22982309758663177, 0.12982387840747833, 0.1298322230577469, -0.24982850253582, 0.3388872444629669, -0.39262622594833374, 0.5585817098617554, 0.2288064807653427, -0.32675254344940186, -0.015421131625771523, -1.013543963432312, 0.10592310130596161, -0.05687997117638588, -0.17868514358997345, -0.4347052574157715, 0.13357721269130707, 0.2461484670639038, -0.03585338220000267, -0.12001948058605194, -0.55560702085495, -0.21416306495666504, -0.5576373934745789, 0.4081886410713196, 0.04744771495461464, 0.362575888633728, 0.1601988673210144, -0.41219374537467957, 0.4588684141635895, 0.05134816840291023, -0.2885030508041382, -0.14612603187561035, -0.5386629104614258, -0.8210246562957764, -0.5888133645057678, 0.5455206632614136, 0.4819828271865845, -0.4537372887134552, 0.08222568780183792, -0.23124675452709198, -0.3422185778617859, -0.9406521916389465, -0.42420679330825806, 0.6497997045516968, 0.8871915936470032, 0.5972388982772827, -0.5940704345703125, -0.5969128012657166, -0.9222756028175354, -0.6196703314781189, -0.13250242173671722, -0.2122342735528946, 0.6919184923171997, 0.16616958379745483, -0.4586307108402252, 0.47814300656318665, -0.19635239243507385, -0.3230741322040558, 0.04614897817373276, 0.11237405240535736, 0.09400462359189987, 0.612453043460846, 0.20439277589321136, -0.6507095098495483, -0.4031669795513153, 0.057168878614902496, -0.2991880774497986, -0.22305935621261597, 0.11446724832057953, 0.3015402555465698, 0.09933234006166458, 0.3219674527645111, -0.37458065152168274, 0.4046761393547058, 0.39228907227516174, -0.2111668884754181, 0.2593895494937897, -0.4579654633998871, 0.39120471477508545, -0.9474267363548279, 0.028278935700654984, -0.020737208425998688, -0.24437209963798523, -0.966749370098114, -0.16158659756183624, 0.18923933804035187, -0.08404159545898438, -0.20893162488937378, 0.4927191138267517, -0.7007834315299988, 0.14430730044841766, -0.17782646417617798, -0.13578543066978455, 0.09774306416511536, -0.016255993396043777, 0.22593183815479279, 0.7967430949211121, 0.610764741897583, -0.7781798243522644, -0.11852790415287018, 0.5571171641349792, -0.3594948649406433, 0.7987319231033325, -0.8463596701622009, 0.23991374671459198, 0.0882299542427063, -0.19846853613853455, -0.7817949056625366, -0.4654398560523987, -0.42036280035972595, -0.5995625257492065, 0.8192243576049805, -0.2372646927833557, -0.058755062520504, -0.38039061427116394, 0.4618197977542877, 0.2778986990451813, 0.4741245210170746, -0.35836324095726013, 0.6096881031990051, 0.663201630115509, -0.4705321192741394, -0.440665066242218, -0.8066332936286926, 0.22114408016204834, -0.07770441472530365, -0.3621571660041809, 0.48444998264312744, 0.3157711327075958, -0.2652575373649597, -0.14996746182441711, -0.21297849714756012, -0.4054870307445526, 0.06393501907587051, 0.3498643636703491, 0.0619373582303524, -0.5668838620185852, 0.08746414631605148, -0.06383991986513138, 0.03649578243494034, 0.08032727241516113, 0.023379940539598465, 0.30419662594795227, 0.12269363552331924, -0.4646362364292145, -0.5542283058166504, 0.4426749646663666, 0.699674129486084, -0.30342429876327515, 0.6655576825141907, 0.1832582801580429, -1.0401824712753296, 0.2079419642686844, -0.8009754419326782, -0.37409478425979614, -0.40617528557777405, 0.5633174777030945, -0.339810311794281, -0.5413023233413696, 0.8462345004081726, 0.19313056766986847, -0.09156239777803421, 0.40362799167633057, 0.5106788277626038, 0.013501504436135292, 1.1370491981506348, 0.43655726313591003, 0.17695225775241852, 0.019231731072068214, -0.0075170788913965225, 0.143523171544075, -0.756007969379425, -0.2528252601623535, -0.5637263059616089, -0.06299438327550888, -0.7332575917243958, -0.359978049993515, 0.6843692064285278, -0.24370525777339935, 0.060647569596767426, 0.1275821328163147, -0.4681135416030884, 0.20731988549232483, 0.30648308992385864, 0.25894832611083984, 0.25681862235069275, -0.003358825808390975, -0.27746936678886414, -0.1543947458267212, -0.49881842732429504, -0.5655673742294312, 0.9321404099464417, 0.48384398221969604, 0.6706631183624268, 0.09324640035629272, 0.523540198802948, 0.08490701764822006, 0.3480893075466156, -0.7558422088623047, 0.008812924847006798, -0.712447464466095, -0.6540716290473938, -0.17070215940475464, -0.21216386556625366, -0.9143416285514832, -0.03227808699011803, -0.2927636504173279, -0.6376359462738037, 0.4710733890533447, 0.5351787805557251, -0.9681117534637451, -0.02795024961233139, -0.4732317328453064, 0.6357194781303406, -0.17987792193889618, 0.07932743430137634, -0.10820001363754272, -0.7236589193344116, -0.11894318461418152, -0.08824659883975983, 0.07237248867750168, -0.05288739874958992, 0.015501110814511776, 0.5414158701896667, -0.6759059429168701, 0.48783940076828003, -0.26375043392181396, 0.2859572470188141, 0.05750023573637009, -0.2477414757013321, 0.42157694697380066, -0.04553260654211044, -0.31128475069999695, 0.5245957374572754, -0.07575996965169907, -0.16402341425418854, -0.46140146255493164, 0.5025686621665955, -0.5594857335090637, -0.30644217133522034, -0.2909175455570221, -0.36435219645500183, -0.6469343304634094, 0.12672372162342072, 0.5502113103866577, 0.9115297794342041, -0.5696106553077698, -0.062046777456998825, 0.6335585713386536, -0.2086319476366043, 0.03944963589310646, 0.7647457122802734, 0.41768908500671387, -0.6412094235420227, 0.6659043431282043, 0.338701456785202, 0.40701285004615784, 0.14896243810653687, -0.04953824356198311, -0.3783737123012543, -0.9611808657646179, -0.5879893898963928, 0.23047570884227753, -0.5818318128585815, -0.2041451781988144, -1.1161081790924072, -0.43818938732147217, -0.4633694589138031, -0.2257561981678009, -0.4976932406425476, -0.5310699343681335, -0.41082850098609924, 0.04458634927868843, 0.4685271084308624, 0.517915666103363, 0.15067383646965027, 0.4986286759376526, -0.7365891933441162, 0.3699165880680084, 0.016371674835681915, 0.3954005241394043, -0.4193666875362396, -0.5675370693206787, -0.14439082145690918, 0.20181410014629364, 0.00543071748688817, -0.7977302074432373, 0.6706641912460327, 0.5864826440811157, 0.5520586967468262, 0.39948466420173645, 0.12052427232265472, 0.9563806056976318, -1.1688376665115356, 0.5981603264808655, 0.062260791659355164, -0.7267375588417053, 0.3212147653102875, 0.008662101812660694, -0.009425893425941467, 0.8456266522407532, 0.3830964267253876, -0.6229661107063293, -0.3993300199508667, -0.6427527070045471, -0.9877840876579285, 0.3883095979690552, 0.10655151307582855, -0.000009777312698133755, -0.21419382095336914, 0.3519345819950104, -0.07026834785938263, 0.16559486091136932, 0.14539183676242828, -0.5036159157752991, 0.19514286518096924, -0.44256025552749634, -0.33141374588012695, -0.31164276599884033, -0.2812230587005615, -0.03309863805770874, 0.6390572190284729, -0.22200006246566772, 0.37467241287231445, 0.56319260597229, -0.22813796997070312, -0.17002055048942566, 0.25796934962272644, 0.6070510745048523, 0.3746607303619385, -0.05195626616477966, -0.03230176493525505, 0.35032224655151367, -0.8349242806434631, 0.03650505468249321, 0.6541728973388672, 0.09611225873231888, 0.274531751871109, 0.1212306097149849, 0.9016972780227661, 0.3215574622154236, -0.7148962616920471, 0.416179895401001, -0.2936932444572449, 0.14358773827552795, -0.4143994450569153, -0.002727522747591138, -0.05726974457502365, 0.10962673276662827, 0.21427272260189056, 0.3895929157733917, 0.6574872732162476, -0.5217874050140381, 0.46347251534461975, 0.6193180084228516, -0.7595699429512024, -0.24430131912231445, 1.0913535356521606, 0.2514548599720001, -0.6065464019775391, 0.5677000880241394, 0.24924196302890778, -0.6245039105415344, 0.7116027474403381, 0.7136050462722778, 0.7814001441001892, -0.5499420762062073, -0.3732629418373108, 0.2868208885192871, 0.1477949470281601, -0.22709383070468903, 0.4595582187175751, 0.431772381067276, -0.8203439712524414, -0.2464887946844101, -0.5297567844390869, -0.6353974938392639, -0.004779784940183163, -1.0019855499267578, 0.4101112484931946, -0.4054126441478729, -0.46419262886047363, 0.5982488393783569, -0.04567349702119827, -0.6329060792922974, 0.6597029566764832, 0.3629551827907562, 0.7451422810554504, -0.6718137860298157, 0.677518367767334, 0.9241333603858948, -0.12250709533691406, -0.9813358187675476, -0.1095588207244873, 0.24024397134780884, -0.782444953918457, 0.09568829834461212, 0.23782789707183838, -0.07005445659160614, -0.02368907816708088, 0.005135443992912769, -0.9623083472251892, 0.6854096055030823, 0.15403848886489868, -0.7811095118522644, -0.036067333072423935, 0.18495780229568481, 0.8511051535606384, -0.5849606990814209, 0.2527107894420624, 0.7349136471748352, 0.012626775540411472, 0.020449243485927582, -1.4655604362487793, 0.003939052578061819, -0.19326038658618927, -0.08984784036874771, 0.11577588319778442, -0.24158158898353577, 0.6238295435905457, -0.6585808396339417, -0.3153568208217621, 0.22585266828536987, 0.4169812798500061, 0.22379328310489655, 0.61040860414505, 0.3875065743923187, 0.1634214073419571, 1.1474552154541016, -0.20708557963371277, 1.0688706636428833, -0.4817216694355011, -0.1975889950990677, 0.9118844866752625, -0.49315622448921204, 0.7398470044136047, 0.11320770531892776, -0.028341718018054962, 0.3594242334365845, 0.39593860507011414, 0.27308428287506104, 0.5025848150253296, -0.014439921826124191, -0.38842883706092834, -0.04297950491309166, -0.1858607977628708, -0.26280075311660767, 0.5998103618621826, 0.8490661382675171, -0.696257472038269, 0.5169950723648071, 0.07627398520708084, 0.1074897050857544, 0.1871013194322586, -0.4005562365055084, 0.8883056044578552, 0.2969133257865906, -0.47013840079307556, 0.6900748014450073, -0.2092960923910141, 0.30591505765914917, -0.3691818118095398, -0.07106798887252808, 0.12635689973831177, 0.3487035632133484, -0.1332007199525833, -0.1468743234872818, 0.29945555329322815, -0.07563179731369019, -0.31605058908462524, 0.2241581827402115, 0.5702201128005981, -0.5893028974533081, -0.4356285631656647, -0.07145489007234573, 0.047490447759628296, 0.22527071833610535, 0.02447294257581234, -0.3291275203227997, -0.08542448282241821, -0.13861501216888428, 0.2562923729419708, -0.0037593909073621035, 0.35815009474754333, -0.17206740379333496, 0.5395994186401367, 0.484422504901886, 0.6087068319320679, 0.003265833016484976, 0.27172866463661194, 0.6582875847816467, -0.5690702199935913, -0.5706778168678284, -0.6394028663635254, 0.5496602654457092, -0.15002159774303436, -0.21697765588760376, 0.3816308081150055, 0.4977709650993347, 0.27026253938674927, 0.06514733284711838, 0.5022076368331909, 0.25250813364982605, 1.0094473361968994, -0.5811505317687988, 1.091522216796875, -0.43015843629837036, 0.269784152507782, -0.24599500000476837, -0.38030871748924255, -0.547213613986969, 0.5369325876235962, -0.07812164723873138, -0.11625608801841736, 0.5012913942337036, 0.8003098964691162, 0.09132835268974304, 0.21467456221580505, 0.5197650194168091, 0.4632990062236786, 0.2430882453918457, 0.26000407338142395, 0.3166886568069458, -0.5229626297950745, 0.040364641696214676, -0.38380497694015503, -0.04745398461818695, -0.4575388729572296, -0.5755388140678406, -0.57096928358078, -0.2715100049972534, -0.48007944226264954, -0.4731277525424957, 0.5026026964187622, 1.2606635093688965, 0.8391098976135254, -1.3337812423706055, 0.25693416595458984, 0.28194665908813477, -0.37517839670181274, -0.5351668000221252, -0.10531074553728104, 0.42305880784988403, -0.18437999486923218, -0.7270440459251404, 0.7039307951927185, 0.1958412230014801, 0.13111470639705658, 0.34873923659324646, 0.014596103690564632, 0.2901037931442261, 0.4467128813266754, 0.2839736342430115, 0.5107814073562622, -0.7658157348632812, -0.28076180815696716, -0.007823978550732136, -0.38218122720718384, 0.33775749802589417, 0.7678587436676025, -0.529931902885437, 0.6806576251983643, -0.26429641246795654, 0.694387674331665, 0.16295506060123444, 0.17851495742797852, 0.8065778017044067, -0.5632393956184387, -0.10436928272247314, 0.6729953289031982, 0.5868075489997864, 0.6897439956665039, -0.5378530621528625, 0.29072752594947815, -0.19810594618320465, -0.723666787147522, -0.9003428220748901, -0.11559046059846878, -0.7654244899749756, 0.30230027437210083, 1.038944125175476, -0.23573341965675354, -0.01852096989750862, -0.49712154269218445, -0.115699402987957, 0.3944820165634155, -0.36305657029151917, 0.7662155032157898, 0.23152199387550354, -0.34130972623825073, 0.1449045091867447, -0.7193259000778198, 0.9363718628883362, 0.4101984202861786, -0.5643708109855652, -0.2309209555387497, 0.6224452257156372, 0.5391777157783508, 0.26292121410369873, 0.6818074584007263, -0.2052697241306305, 0.49042239785194397, 0.02508663386106491, 0.20680122077465057, 0.13681933283805847, -0.20057764649391174, -0.6906477212905884, -0.17194625735282898, 0.3144211769104004, -0.3587784469127655 ]
http://arxiv.org/abs/2406.12386v1
http://arxiv.org/pdf/2406.12386v1
IPEval: A Bilingual Intellectual Property Agency Consultation Evaluation Benchmark for Large Language Models
2024-06-18T08:18:18
2024-06-18T08:18:18
Qiyao Wang, Jianguo Huang, Shule Lu, Yuan Lin, Kan Xu, Liang Yang, Hongfei Lin
cs.CL
cs.CL
The rapid development of Large Language Models (LLMs) in vertical domains, including intellectual property (IP), lacks a specific evaluation benchmark for assessing their understanding, application, and reasoning abilities. To fill this gap, we introduce IPEval, the first evaluation benchmark tailored for IP agency and consulting tasks. IPEval comprises 2657 multiple-choice questions across four major dimensions: creation, application, protection, and management of IP. These questions span patent rights (inventions, utility models, designs), trademarks, copyrights, trade secrets, and other related laws. Evaluation methods include zero-shot, 5-few-shot, and Chain of Thought (CoT) for seven LLM types, predominantly in English or Chinese. Results show superior English performance by models like GPT series and Qwen series, while Chinese-centric LLMs excel in Chinese tests, albeit specialized IP LLMs lag behind general-purpose ones. Regional and temporal aspects of IP underscore the need for LLMs to grasp legal nuances and evolving laws. IPEval aims to accurately gauge LLM capabilities in IP and spur development of specialized models. Website: \url{https://ipeval.github.io/}
[ -0.409810334444046, -0.4576328992843628, 0.20923511683940887, 0.9420602917671204, -0.20855103433132172, 0.42996910214424133, -0.1424318552017212, -0.540155291557312, -0.10101786255836487, 0.5642852187156677, -0.1681222915649414, -0.5941859483718872, -0.39223232865333557, 0.02091713435947895, -0.2156367152929306, 0.9744832515716553, -0.1532672792673111, 0.30802908539772034, -0.08334586769342422, -0.19260454177856445, -0.3998948633670807, -0.4022482633590698, -0.6605977416038513, -0.32795748114585876, 0.17467059195041656, 0.16750603914260864, 0.407589852809906, 0.2505732476711273, 0.7164227366447449, 0.1932310312986374, -0.1459488868713379, 0.11056078225374222, -0.4123988151550293, -0.08655043691396713, -0.34600305557250977, -0.37535297870635986, -0.6024393439292908, 0.04103923961520195, 0.7092312574386597, 0.5866190195083618, -0.164826899766922, 0.48494601249694824, -0.01771731674671173, 0.8208836913108826, -0.7245572209358215, 0.08884342759847641, -0.794628381729126, 0.0780114158987999, -0.39030641317367554, 0.017644843086600304, -0.4527377188205719, -0.3199656903743744, 0.4189363718032837, -0.24312974512577057, -0.15142951905727386, 0.3959207534790039, 0.9545568823814392, 0.0018435489619150758, -0.4760066866874695, 0.10616294294595718, -0.3273846209049225, 0.7378288507461548, -0.4707847833633423, 0.2093207687139511, 0.33164775371551514, 0.401949942111969, 0.03518672287464142, -1.0777119398117065, -0.4902956783771515, -0.634868323802948, 0.29024413228034973, 0.15443801879882812, -0.13248203694820404, -0.13247063755989075, 0.04949970915913582, 0.2177814096212387, -0.499593049287796, 0.14791105687618256, -0.40123361349105835, -0.08621038496494293, 0.7428213953971863, 0.1124035194516182, 0.5381454229354858, 0.23334597051143646, -0.5150142908096313, 0.21092930436134338, -1.4214372634887695, 0.023012759163975716, 0.44434717297554016, 0.1670725792646408, -0.0376196913421154, 0.4913100302219391, 0.048097845166921616, 0.3252852261066437, 0.017990045249462128, 0.217375710606575, 0.27437758445739746, -0.2772118151187897, -0.05250783637166023, 0.08873938024044037, 0.6254981756210327, 0.2250930219888687, 0.2864387035369873, -0.058276303112506866, -0.1932547688484192, -0.6475134491920471, 0.23746471107006073, -0.8825233578681946, -0.0879707783460617, 0.24185848236083984, -0.4454804062843323, -0.019449984654784203, -0.05536158010363579, -0.4101448357105255, -0.5774227976799011, -0.32669854164123535, 0.444205105304718, -0.20807290077209473, -0.4509820342063904, -0.059948381036520004, -0.013242246583104134, 0.6121426224708557, 0.227974534034729, -0.6152737140655518, 0.4008186459541321, 0.9001178741455078, 0.7983539700508118, -0.32669520378112793, -0.8015692234039307, -0.5372350215911865, -0.12278865277767181, -0.49097132682800293, 1.0234246253967285, -0.4581700563430786, -0.3663984537124634, 0.06629671156406403, -0.01285871583968401, 0.10779191553592682, -0.7519932389259338, 0.4940550625324249, -0.9256086945533752, -0.15220734477043152, -0.3572717607021332, -0.19156904518604279, 0.21695204079151154, 0.5072447657585144, -0.58948814868927, 0.7620070576667786, -0.06472188979387283, -0.6681467890739441, 0.6121070981025696, -0.7928571701049805, -0.3395901024341583, 0.5897218585014343, -0.27205944061279297, -0.18577244877815247, -0.3845413327217102, 0.23284116387367249, -0.0036608355585485697, -0.9220362901687622, 0.27264705300331116, -0.22290125489234924, -0.3488481938838959, 0.05764174461364746, -0.43666964769363403, 1.161486268043518, 0.26470640301704407, -0.30981647968292236, 0.05880572274327278, -0.44423601031303406, 0.17546354234218597, -0.024945132434368134, -0.4422665238380432, -0.07750829309225082, 0.058723196387290955, 0.00020126109302509576, 0.11557463556528091, 0.6316381692886353, -0.5311696529388428, -0.08579212427139282, -0.3005254566669464, 0.17333386838436127, 0.8688097596168518, -0.04034353047609329, -0.22922706604003906, -0.2663615643978119, 0.7412972450256348, -0.04117508605122566, -0.030391480773687363, -0.0733027458190918, -0.47461849451065063, -0.669098973274231, -0.4681060314178467, 0.5323741436004639, 0.5701910853385925, -0.5169057250022888, 0.36498627066612244, -0.42155539989471436, -0.6434335112571716, -0.9158390760421753, 0.19503982365131378, 0.5017504096031189, 0.3483041226863861, 0.16703961789608002, -0.12846049666404724, -0.25641027092933655, -1.1484601497650146, -0.4720498025417328, -0.48610544204711914, -0.012078747153282166, 0.33206769824028015, 0.5584050416946411, 0.11549833416938782, 0.7284683585166931, -0.013366804458200932, -0.3416418135166168, -0.2844468951225281, 0.45670831203460693, 0.30722862482070923, 0.014411008916795254, 0.7233317494392395, -0.7713573575019836, -1.251326084136963, 0.32407379150390625, -0.4426122307777405, -0.48803550004959106, 0.15672042965888977, -0.1718105971813202, -0.06956973671913147, 0.16709177196025848, -0.4029926359653473, 0.2584449052810669, 0.23503531515598297, -0.3810318410396576, 0.8428229689598083, -0.33552128076553345, 0.19316153228282928, -0.714602530002594, 0.25221893191337585, -0.14396198093891144, -0.08468744158744812, -0.42795896530151367, 0.2060806006193161, 0.2838100790977478, -0.1865576207637787, -0.8166612982749939, 0.7067481279373169, -0.6730676889419556, -0.11466903239488602, -0.12319113314151764, 0.21714240312576294, 0.09412509202957153, 0.022759150713682175, -0.07165543735027313, 1.3794970512390137, 0.7597436308860779, -0.2804797887802124, 0.4859592914581299, 0.18136249482631683, -0.4736481308937073, 0.9727329611778259, -0.7793179750442505, 0.19557718932628632, -0.04034703969955444, -0.05265333876013756, -0.7500870823860168, 0.18056628108024597, -0.21391890943050385, 0.03563690930604935, 0.3071993291378021, -0.2572939693927765, -0.4752720892429352, -0.38011258840560913, -0.4969054162502289, 0.41303011775016785, 0.4734443426132202, -0.9457529187202454, 0.34399864077568054, 0.6944699883460999, -0.4827954173088074, -1.065842628479004, -0.7338045835494995, 0.4875854253768921, -0.19691528379917145, -0.6980122327804565, 0.4803408682346344, -0.20653368532657623, -0.429292231798172, 0.10681303590536118, 0.32346829771995544, -0.48864221572875977, -0.13907618820667267, -0.09523092210292816, 0.22509251534938812, -0.484795480966568, -0.03475257754325867, -0.07616874575614929, 0.12647084891796112, 0.20126873254776, -0.11605054140090942, 0.44163933396339417, -0.7759566903114319, -0.6667730212211609, -0.24859941005706787, 0.27296534180641174, 0.7956278324127197, -0.47633418440818787, 0.5231847167015076, -0.08011379837989807, -0.2645947337150574, -0.4495585858821869, -0.5963464975357056, 0.5499469041824341, -0.492569237947464, 0.4500216245651245, -0.6366155743598938, -0.3074261546134949, 0.6150991916656494, -0.15888965129852295, -0.02224919945001602, 0.5719202160835266, 0.8203930854797363, 0.34163016080856323, 0.8074567317962646, 0.48196303844451904, -0.38913673162460327, 0.10382014513015747, -0.2260706126689911, 0.5798924565315247, -0.8778971433639526, -0.2359604835510254, -0.305039644241333, -0.1909896284341812, -0.4122946858406067, -0.31953397393226624, 0.5424781441688538, 0.00901738740503788, -0.317984938621521, 0.2738892138004303, -0.2678306996822357, 0.8308926224708557, 0.32404813170433044, -0.11421149224042892, 0.41534048318862915, -0.031676262617111206, -0.3560131788253784, -0.24222075939178467, -0.28450191020965576, -0.8035594820976257, 1.3027909994125366, 0.5058178901672363, 0.690175473690033, 0.12423861026763916, 0.4756660759449005, 0.5279502868652344, 0.710708498954773, -0.6912030577659607, 0.6124604344367981, -0.26603078842163086, -0.7023205757141113, -0.11132460832595825, 0.06738045066595078, -0.8099903464317322, 0.45261141657829285, 0.2588587701320648, -0.7054387331008911, 0.13553518056869507, -0.1725465953350067, -0.26051393151283264, 0.34590888023376465, -0.668023943901062, 0.665550708770752, -0.793653130531311, -0.6956814527511597, -0.37514498829841614, -0.26649582386016846, 0.30147266387939453, -0.3987255096435547, -0.07300751656293869, -0.30625900626182556, -0.25183892250061035, 0.4778873920440674, -0.5286334753036499, 0.48288673162460327, -0.2213924527168274, 0.20991985499858856, 0.3749876618385315, -0.09715521335601807, 0.30958425998687744, 0.09397774934768677, -0.5615877509117126, 0.32852378487586975, 0.14386272430419922, -0.34584102034568787, -0.10310571640729904, 0.8599060773849487, -0.9198846220970154, -0.6732848286628723, -0.5341449975967407, -0.42233383655548096, -0.3853937089443207, 0.36881545186042786, 0.0951361358165741, 0.09969369322061539, -0.5674159526824951, 0.2637682855129242, 0.30478188395500183, -0.25971174240112305, 0.2225768119096756, 1.0592238903045654, -0.13989713788032532, -0.26807472109794617, 0.7916973233222961, 0.23738816380500793, -0.02330639585852623, 0.23745235800743103, 0.1384863555431366, -0.38783496618270874, -0.8512203097343445, -0.2831834852695465, 0.14961709082126617, -0.8245739340782166, -0.21780970692634583, -0.3777899146080017, -0.6734058856964111, -0.13137172162532806, 0.06151986122131348, -0.5641724467277527, -0.06191205978393555, 0.04034975916147232, -0.03896136209368706, 0.07046692073345184, 0.5519245862960815, 0.04035992920398712, -0.17598214745521545, -0.3606216609477997, 0.32427284121513367, 0.36397966742515564, 0.5718488693237305, -0.21209311485290527, -0.5921702980995178, -0.048920802772045135, -0.04782656207680702, -0.37049081921577454, -0.49112722277641296, 0.47208842635154724, 0.3390953838825226, 0.7457255721092224, 0.34982261061668396, 0.1344534009695053, 0.7405427098274231, -0.8832322955131531, 1.0008572340011597, -0.040680479258298874, -0.9825551509857178, 0.37426528334617615, -0.1480833888053894, -0.12259207665920258, 0.6727959513664246, 0.43646517395973206, -0.3111487329006195, -0.13211408257484436, -0.26523303985595703, -1.025954008102417, 0.5847842693328857, -0.1458643227815628, 0.37915951013565063, 0.008722005411982536, 0.12332561612129211, 0.19172029197216034, 0.2701660692691803, -0.9151867032051086, -0.03119899146258831, 0.176129549741745, 0.11861175298690796, 0.5902974605560303, -0.2785172462463379, -0.2932831346988678, -0.2567853331565857, 0.6976591348648071, 0.053157031536102295, 0.06517217308282852, 0.05315929278731346, -0.3167926073074341, 0.017036153003573418, 0.20322121679782867, 0.2833017110824585, 1.2925007343292236, -0.1469385176897049, -0.05551055073738098, 0.290770024061203, -0.39968112111091614, 0.03323088586330414, 0.21410298347473145, 0.031357575207948685, -0.2469494789838791, 0.3267783224582672, 0.5707646608352661, -0.5109438300132751, -0.9941379427909851, 0.9186668992042542, -0.10738920420408249, -0.22779962420463562, -0.4457149803638458, -0.2858707308769226, -0.1350822150707245, 0.3066316246986389, 0.5443009734153748, -0.41960179805755615, -0.028202999383211136, -0.4787740707397461, 0.21386076509952545, 0.5085447430610657, -0.2897821366786957, -0.2730952799320221, 0.583441972732544, 0.28188738226890564, -0.42999085783958435, 0.5311340689659119, -0.1374964565038681, -0.4898592233657837, 0.6635772585868835, 0.6225863099098206, 1.1440935134887695, -0.018756570294499397, 0.21668748557567596, -0.015763860195875168, 0.5126968622207642, 0.2452024221420288, 0.4485834836959839, 0.10122426599264145, -0.5472201108932495, -0.22818945348262787, -0.4701482057571411, -0.7712742686271667, 0.35766860842704773, -0.24492746591567993, 0.5215432643890381, -0.620070219039917, 0.0358068011701107, -0.14104428887367249, 0.15516133606433868, -0.8252167701721191, -0.132428377866745, 0.047976456582546234, 1.2992970943450928, -0.6162861585617065, 0.7760034203529358, 0.6245188117027283, -0.45759931206703186, -0.36411550641059875, 0.2157711386680603, -0.18704403936862946, -1.1117005348205566, 1.2107497453689575, 0.07862871140241623, -0.33482587337493896, -0.148495614528656, -0.45051059126853943, -0.6140588521957397, 1.0938403606414795, 0.5613865852355957, -0.32274770736694336, 0.38407957553863525, 0.6167609095573425, 0.90232914686203, -0.5804350972175598, 0.4301528334617615, 0.6769909858703613, 0.4947642683982849, -0.17346462607383728, -1.1327065229415894, -0.24520762264728546, -0.7028884887695312, 0.018583694472908974, -0.11821703612804413, -0.8730641007423401, 0.7639226913452148, -0.06462561339139938, -0.107375368475914, 0.1559784859418869, 0.23437947034835815, 0.4438944160938263, 0.2778889238834381, 0.26335373520851135, 0.353866845369339, 0.7771199941635132, -0.11790868639945984, 1.220162272453308, -0.8075593113899231, 0.0031384460162371397, 1.124545693397522, -0.8681702613830566, 1.1595990657806396, 0.5357937216758728, -0.4964035153388977, 0.3734568953514099, 0.5038537979125977, -0.07840757817029953, 0.6365060210227966, 0.33225342631340027, -0.44039440155029297, 0.2160123586654663, -0.5029261112213135, -0.48266422748565674, 0.26509544253349304, 0.47923681139945984, -0.16176694631576538, -0.20309263467788696, -0.2365451604127884, -0.2401929646730423, 0.03757883608341217, -0.044007305055856705, 0.531313419342041, 0.010546734556555748, -0.741533637046814, 0.5298986434936523, 0.17094746232032776, 0.30632221698760986, -0.7572135925292969, 0.08110618591308594, -0.32812216877937317, 0.17719833552837372, 0.0965057760477066, -0.9719653129577637, 0.09252957999706268, 0.3209104835987091, 0.2664507329463959, -0.3276704251766205, 0.45900872349739075, -0.3625851273536682, -0.3508901000022888, 0.500731885433197, 0.31814026832580566, 0.3018432855606079, -0.09293128550052643, -0.9372632503509521, -0.16742077469825745, -0.4407157897949219, -0.26347318291664124, 0.19049321115016937, 0.5260433554649353, -0.22990158200263977, 0.704155683517456, 0.48247289657592773, 0.6540523767471313, 0.1726062148809433, 0.25338470935821533, 0.8371655941009521, -0.3747803270816803, -0.3647303879261017, -0.7003666162490845, 0.67951899766922, -0.3393387198448181, -0.5615835785865784, 0.5431340932846069, 0.6147075295448303, 0.5959007143974304, 0.0048450808972120285, 0.8934886455535889, 0.003994187340140343, 0.3919384479522705, -0.24885143339633942, 0.9676605463027954, -0.43757617473602295, 0.6905783414840698, 0.08676120638847351, -0.9514610767364502, -0.41082698106765747, 0.339717835187912, -0.7421604990959167, -0.16180182993412018, 0.7385696172714233, 0.8194506168365479, -0.09915946424007416, -0.35903120040893555, 0.43943628668785095, 0.11713743209838867, 0.558906078338623, 0.31755331158638, 1.1718238592147827, -0.3628377914428711, 0.517890989780426, -0.1987747997045517, -0.25673040747642517, 0.012627706862986088, -1.1585853099822998, -0.9559770822525024, -0.23913051187992096, -0.2521429657936096, 0.03163740783929825, 0.06803145259618759, 0.976233720779419, 0.7988878488540649, -0.9881129264831543, -0.6340433955192566, -0.04672154411673546, 0.017892586067318916, -0.002739429473876953, -0.2573821246623993, 0.43288367986679077, -0.30750739574432373, -0.6488252282142639, 0.46170565485954285, 0.8126102089881897, -0.28139418363571167, -0.461490660905838, -0.0345146469771862, -0.25347763299942017, 0.1587548702955246, 0.5662252306938171, 0.44320639967918396, -0.8087943196296692, 0.024727672338485718, -0.18092387914657593, -0.09137113392353058, 0.1849825233221054, 0.7232828736305237, -0.27575913071632385, 0.8033326268196106, 0.6266636252403259, 0.9966012835502625, 0.47083815932273865, -0.24038514494895935, 0.7290709614753723, -0.5994071960449219, 0.37100085616111755, 0.434790700674057, 0.49812808632850647, 0.2660825848579407, -0.2229117751121521, 0.3986823558807373, -0.1949387937784195, -0.6645156145095825, -0.8241572380065918, 0.07482859492301941, -0.36842218041419983, -0.03294101357460022, 0.7115329504013062, -0.4798888564109802, 0.03609086200594902, -0.07773349434137344, -0.4040563106536865, -0.4401858150959015, -0.09680670499801636, 0.8304452896118164, 0.9016439914703369, -0.09323306381702423, -0.028199542313814163, -0.5299018025398254, 0.23058629035949707, 0.5513269901275635, -0.9730329513549805, 0.020378287881612778, 0.23144711554050446, 0.16353914141654968, 0.00036774840555153787, 0.7694831490516663, -0.3940490782260895, 0.3548729419708252, -0.11009753495454788, -0.1484515368938446, 0.13873165845870972, -0.48353755474090576, -0.255039244890213, 0.17054343223571777, 0.6296021938323975, -0.04286354407668114 ]
http://arxiv.org/abs/2406.12382v1
http://arxiv.org/pdf/2406.12382v1
From Instance Training to Instruction Learning: Task Adapters Generation from Instructions
2024-06-18T08:14:28
2024-06-18T08:14:28
Huanxuan Liao, Yao Xu, Shizhu He, Yuanzhe Zhang, Yanchao Hao, Shengping Liu, Kang Liu, Jun Zhao
cs.CL
cs.CL
Large language models (LLMs) have acquired the ability to solve general tasks by utilizing instruction finetuning (IFT). However, IFT still relies heavily on instance training of extensive task data, which greatly limits the adaptability of LLMs to real-world scenarios where labeled task instances are scarce and broader task generalization becomes paramount. Contrary to LLMs, humans acquire skills and complete tasks not merely through repeated practice but also by understanding and following instructional guidelines. This paper is dedicated to simulating human learning to address the shortcomings of instance training, focusing on instruction learning to enhance cross-task generalization. Within this context, we introduce Task Adapters Generation from Instructions (TAGI), which automatically constructs the task-specific model in a parameter generation manner based on the given task instructions without retraining for unseen tasks. Specifically, we utilize knowledge distillation to enhance the consistency between TAGI developed through Learning with Instruction and task-specific models developed through Training with Instance, by aligning the labels, output logits, and adapter parameters between them. TAGI is endowed with cross-task generalization capabilities through a two-stage training process that includes hypernetwork pretraining and finetuning. We evaluate TAGI on the Super-Natural Instructions and P3 datasets. The experimental results demonstrate that TAGI can match or even outperform traditional meta-trained models and other hypernetwork models, while significantly reducing computational requirements.
[ -0.09742208570241928, -0.6910335421562195, 0.5014401078224182, -0.14632590115070343, -0.16897733509540558, -0.28847187757492065, -0.2674061954021454, -0.2272159308195114, -0.430398166179657, 0.3524264097213745, -0.6857851147651672, -0.29324808716773987, -0.5488447546958923, -0.15661105513572693, 0.016429975628852844, 1.0778332948684692, -0.013037086464464664, 0.004595893435180187, -0.2283899337053299, 0.2591172456741333, -0.7784788012504578, -0.32805564999580383, -0.5652843117713928, -0.6249057054519653, 0.3199813663959503, 0.7613819241523743, -0.06230924651026726, 0.6865732073783875, 0.14145973324775696, 0.2723206579685211, 0.6440120935440063, 0.31525030732154846, -0.49209240078926086, -0.14371098577976227, -0.3115338981151581, -0.885333240032196, -0.269235223531723, 0.07739165425300598, 0.4183552861213684, 0.6432716846466064, -0.34210070967674255, 0.19456860423088074, 0.4241887032985687, 0.4619695544242859, -0.5635947585105896, 0.3655082583427429, -0.889280378818512, -0.11797469854354858, 0.09682472050189972, -0.15720535814762115, -0.4860234260559082, 0.019927849993109703, 0.15737149119377136, -0.8504692912101746, 0.6601831912994385, 0.14847218990325928, 0.7740598320960999, 0.3025273382663727, -0.09811080992221832, -0.351067453622818, -0.8455226421356201, 1.0596426725387573, -0.7822539806365967, 0.2596166729927063, 0.34747961163520813, 0.3956533670425415, -0.28794023394584656, -0.6937996745109558, -0.3933701813220978, -0.18569496273994446, -0.09130643308162689, 0.16285628080368042, -0.24789664149284363, 0.1636006236076355, 0.314187616109848, -0.07920878380537033, -0.4226110279560089, 0.20672288537025452, -0.33348536491394043, 0.21963250637054443, 0.3845296800136566, 0.1552867442369461, 0.30765849351882935, 0.12445343285799026, -0.3879562318325043, -0.13721823692321777, -0.686259925365448, 0.05170688405632973, 0.3139142692089081, 0.2891424596309662, -0.01943185180425644, 0.21379317343235016, -0.15258021652698517, 1.0452326536178589, 0.2885764241218567, -0.2309330254793167, 0.01702420972287655, -0.19510719180107117, -0.33297228813171387, -0.07137920707464218, 0.49670904874801636, 0.37800493836402893, 0.2654833495616913, -0.46789056062698364, 0.03710191696882248, -0.035521235316991806, 0.7316824793815613, -0.9072551131248474, -0.2520233392715454, -0.10926678031682968, -0.2637653350830078, 0.02416979894042015, 0.02196544036269188, -0.33807066082954407, -0.0635560005903244, -0.7024913430213928, 0.4184499979019165, -0.622498095035553, 0.20564411580562592, -0.013085507787764072, -0.1082955002784729, 0.23488466441631317, 0.33690372109413147, -1.0257253646850586, 0.3748171329498291, 0.8067970275878906, 0.4693982005119324, 0.036591075360774994, -0.6297482848167419, -0.44210514426231384, 0.4313274919986725, -0.13844622671604156, 0.5808594822883606, -0.5224927067756653, -0.22748692333698273, -0.2502022981643677, 0.15455923974514008, -0.4039890766143799, -0.6746664643287659, 0.3292054235935211, -0.3200135827064514, -0.20506976544857025, 0.006543184630572796, -0.7567519545555115, -0.3378000557422638, 0.06748615205287933, -0.3021761178970337, 0.5945389866828918, 0.09527629613876343, -0.5838342905044556, 0.5565738677978516, -0.7146663665771484, -0.4288943409919739, -0.047673340886831284, -0.16006314754486084, -0.40722978115081787, 0.29086679220199585, 0.16211886703968048, 0.9057673811912537, -0.5139895677566528, 0.23427130281925201, -0.1755438894033432, -0.42273667454719543, -0.13709184527397156, -0.16770464181900024, 0.28102368116378784, -0.02676558680832386, -0.6584306359291077, -0.017631927505135536, -0.5949439406394958, -0.04601037874817848, 0.10198963433504105, -0.26122570037841797, -0.5058184862136841, 0.19924095273017883, -0.3629974126815796, 0.16753609478473663, -0.07551682740449905, -0.655184268951416, 0.2938796281814575, -0.10272376984357834, 0.6066237688064575, 0.5917818546295166, 0.04926114156842232, 0.37589117884635925, -0.45751506090164185, 0.27885615825653076, 0.20436596870422363, 0.02624404802918434, -0.1121218129992485, -0.37759795784950256, -0.851513683795929, 0.10516950488090515, 0.09861146658658981, 0.7370822429656982, -0.8821569681167603, 0.43952247500419617, -0.41339418292045593, -0.5075141787528992, -0.47077515721321106, 0.40142858028411865, 0.7035531401634216, 0.5687378644943237, 0.44200652837753296, -0.13128209114074707, -0.6165683269500732, -0.8860589265823364, -0.06448280066251755, 0.08432561159133911, -0.23415112495422363, 0.30381327867507935, 0.41834622621536255, -0.20796601474285126, 0.7377980351448059, -0.4773128926753998, -0.35945406556129456, -0.3251248002052307, 0.46964019536972046, -0.05265981703996658, 0.7579441666603088, 0.3275050222873688, -0.5674912333488464, -0.26740556955337524, 0.04459019750356674, -0.6332839727401733, 0.12937158346176147, -0.25651395320892334, -0.10418146103620529, -0.0018546596402302384, 0.5232358574867249, 0.005036712624132633, 0.29338064789772034, 0.4994690418243408, 0.161870539188385, 0.26208987832069397, -0.5828709006309509, 0.14762979745864868, -1.2946364879608154, 0.0954648032784462, 0.45845144987106323, -0.11265882104635239, -0.7153365015983582, -0.09422703087329865, -0.05376201122999191, -0.10749396681785583, -0.28068575263023376, 0.2240930050611496, -0.6906214952468872, 0.017226148396730423, -0.5186384916305542, -0.2002415806055069, 0.023593399673700333, 0.6972137093544006, 0.17726682126522064, 0.7851494550704956, 0.5707576274871826, -0.6500731706619263, 0.2857457399368286, -0.04166758060455322, -0.31873512268066406, 0.5718806385993958, -0.8316858410835266, 0.29815635085105896, -0.01837547868490219, 0.19015948474407196, -0.8384830951690674, -0.12053339183330536, 0.15217921137809753, 0.010171981528401375, 0.4451829493045807, -0.43409106135368347, -0.21310928463935852, -0.24503688514232635, 0.07936972379684448, 0.28817570209503174, 0.823285698890686, -0.5065357089042664, 0.6855356097221375, 0.1676836907863617, 0.18253234028816223, -0.5069981813430786, -0.6218760013580322, -0.34094664454460144, -0.13123798370361328, -0.2674717605113983, 0.3194161057472229, 0.008058762177824974, 0.17329153418540955, 0.035574354231357574, -0.24709802865982056, -0.3485105633735657, 0.13493070006370544, 0.6479868292808533, 0.2576439380645752, -0.13157017529010773, -0.140648752450943, 0.23174718022346497, 0.11464330554008484, -0.018442630767822266, -0.520432710647583, 0.28066664934158325, 0.07148341834545135, -0.4481806755065918, -0.8095619678497314, 0.22176890075206757, 0.21351341903209686, -0.13080498576164246, 0.6439657211303711, 0.6154271960258484, -0.2846139669418335, -0.6214452385902405, -0.5047978758811951, -0.23399657011032104, -0.4024014174938202, 0.5580320954322815, -0.5381321310997009, -0.7541482448577881, 0.029838288202881813, -0.3892477750778198, 0.3625660836696625, -0.08158725500106812, 0.2018541693687439, -0.24725846946239471, 0.7859320044517517, 0.7086488604545593, -0.08334103971719742, 0.543141782283783, -0.5313758254051208, -0.09582647681236267, -1.0170135498046875, -0.1553960144519806, -0.275920033454895, -0.5096504092216492, -0.15543414652347565, -0.7418500185012817, 0.18179212510585785, 0.222080796957016, -0.02404026687145233, 0.5132555365562439, -0.5646815896034241, 0.4572986662387848, 0.8395305275917053, 0.5075349807739258, -0.09252770245075226, 0.04936322569847107, 0.16367729008197784, 0.10520166903734207, -0.9526757001876831, -0.441042959690094, 1.1960195302963257, 0.04042382910847664, 0.8297886252403259, -0.4483563005924225, 1.0239057540893555, 0.38010019063949585, 0.3567017614841461, -0.563085675239563, 0.4575271010398865, -0.45411497354507446, -0.25420689582824707, -0.20986692607402802, -0.43227192759513855, -1.0907658338546753, -0.00630266172811389, -0.158797025680542, -0.6652804613113403, 0.18269722163677216, 0.5569940209388733, -0.3526580333709717, 0.394844114780426, -1.1225128173828125, 1.0285757780075073, -0.05535739287734032, -0.36400267481803894, -0.2868598997592926, -0.6493807435035706, 0.2487582117319107, 0.027942292392253876, 0.08696494996547699, -0.03473450616002083, -0.0392063707113266, 0.6363776922225952, -0.20414979755878448, 1.2892210483551025, -0.4422006905078888, 0.011995474807918072, 0.46225717663764954, -0.16647285223007202, 0.37259694933891296, -0.20271721482276917, -0.01158903818577528, -0.10324801504611969, -0.4275442361831665, -0.6369335651397705, -0.8785190582275391, 0.7515078186988831, -0.9091530442237854, -0.7762765288352966, 0.12274033576250076, -0.8533915281295776, -0.15806318819522858, -0.08671820163726807, 0.17079663276672363, 0.6004167199134827, -0.34827136993408203, -0.1411871463060379, 0.7939509749412537, 0.20067371428012848, 0.25293415784835815, 0.38466188311576843, 0.3361556828022003, -0.02569332905113697, 1.1686649322509766, 0.046310678124427795, 0.3128874599933624, 0.5729677081108093, 0.0848061740398407, 0.028745274990797043, -0.6290766596794128, -0.6536059379577637, 0.10202818363904953, -0.40329599380493164, -0.13161177933216095, -0.35638687014579773, 0.04271218553185463, -0.24384139478206635, -0.11733201891183853, -0.0324394591152668, 0.07697618752717972, -0.4373067021369934, 0.13347510993480682, 0.11709806323051453, 0.9469603300094604, 0.14670920372009277, 0.47515854239463806, -0.9299802184104919, 0.36207595467567444, 0.7447705268859863, 0.04503238573670387, 0.06375746428966522, -0.5696446895599365, -0.41401341557502747, 0.3976665735244751, -0.21492500603199005, -0.6720943450927734, 0.01728113368153572, 0.571088969707489, 0.7627012133598328, 0.24494799971580505, -0.02233034558594227, 0.9124491214752197, -0.9791074991226196, 0.41316479444503784, 0.1011892557144165, -0.9755332469940186, 0.684863269329071, -0.13851642608642578, 0.1595640629529953, 0.47773393988609314, 0.6917951107025146, -0.19162803888320923, -0.15961599349975586, -0.5138882398605347, -0.5553622841835022, 1.0826576948165894, -0.1080385223031044, 0.18446891009807587, 0.18566599488258362, 0.7173452973365784, 0.2664605975151062, -0.031804900616407394, -0.3419857621192932, -0.04343653842806816, -0.3026389479637146, -0.3572503626346588, -0.2461898922920227, -0.03628638759255409, -0.18662546575069427, -0.20816676318645477, 0.8208355903625488, -0.2295529544353485, 0.23471619188785553, 0.14325964450836182, -0.31659623980522156, 0.14934392273426056, 0.30855298042297363, 0.5392274260520935, 0.6365413665771484, -0.030223803594708443, 0.09584027528762817, 0.2710718512535095, -0.37502890825271606, 0.38662341237068176, 0.1864660233259201, 0.04247511178255081, -0.24420149624347687, 0.26320239901542664, 1.2046699523925781, 0.4012519121170044, -0.48653101921081543, 0.30440354347229004, 0.04145844280719757, -0.24368560314178467, 0.12451758980751038, 0.7235544919967651, 0.2813476622104645, 0.30208924412727356, 0.16755615174770355, -0.02369954250752926, 0.11824968457221985, -0.6056017279624939, 0.24883201718330383, 0.20919270813465118, -0.3911782205104828, -0.5283336043357849, 0.637225329875946, 0.3678065240383148, -0.22881020605564117, 0.39012542366981506, -0.35051852464675903, -0.17937014997005463, 0.5007526874542236, 0.8542900085449219, 0.6286095380783081, -0.36967629194259644, 0.1093902736902237, 0.30847761034965515, 0.18991908431053162, -0.1113588735461235, 0.0010548366699367762, -0.2528855800628662, -0.534089982509613, -0.5259398221969604, -0.4642191529273987, -0.32402658462524414, -0.002548785647377372, -0.6833446621894836, 0.03286896273493767, -0.4363507926464081, 0.039137717336416245, 0.0771147832274437, -0.19902066886425018, -0.690780520439148, 0.35795748233795166, 0.11494698375463486, 0.5585145354270935, -1.1109811067581177, 1.220847249031067, 1.1646500825881958, -0.28553715348243713, -1.0413565635681152, 0.18111293017864227, -0.3506214916706085, -0.8368158936500549, 0.7127970457077026, 0.2036598175764084, 0.041137102991342545, 0.24742911756038666, -0.4219033420085907, -0.2626323699951172, 1.27194082736969, 0.40273165702819824, -0.815869152545929, -0.3868577480316162, 0.2839774489402771, 0.3683347702026367, -0.49436742067337036, 0.21308690309524536, 0.5735635161399841, 0.1044638454914093, -0.08668693900108337, -0.7132838368415833, 0.12346155941486359, -0.2139963060617447, 0.41843461990356445, 0.11780322343111038, -0.37634485960006714, 0.6465782523155212, -0.1588752716779709, -0.032876428216695786, -0.13734470307826996, 0.6879222393035889, 0.20499104261398315, 0.10605848580598831, 0.700022280216217, 0.7018515467643738, 0.2866612672805786, -0.04459249973297119, 0.9598877429962158, -0.1580364853143692, 0.03495638072490692, 1.4122700691223145, -0.2974817156791687, 0.6199773550033569, 0.36582040786743164, -0.05993517488241196, 0.7229135632514954, 0.14816726744174957, -0.10817820578813553, 0.30361470580101013, 0.38970789313316345, -0.11524543911218643, -0.38420596718788147, -0.038216009736061096, -0.051803819835186005, 0.438201367855072, 0.27349546551704407, -0.19349509477615356, -0.36340752243995667, 0.25599202513694763, -0.10685484856367111, 0.21465806663036346, -0.30827298760414124, 0.9411545991897583, -0.05646563321352005, -0.8036618828773499, 0.7232523560523987, -0.09521900117397308, 0.818401575088501, -0.7004502415657043, -0.5271573662757874, 0.14811208844184875, 0.2871688902378082, -0.08268339931964874, -0.4527452886104584, 0.1505267322063446, -0.00296785868704319, -0.4448709189891815, -0.14381331205368042, 0.7292807102203369, -0.5885156393051147, -0.4110545814037323, 0.11645685136318207, 0.4875620901584625, 0.18957388401031494, 0.1197303980588913, -0.7384009957313538, -0.1601806879043579, 0.048725105822086334, -0.03275325894355774, 0.5834323167800903, 0.4133208096027374, -0.07975157350301743, 0.5106580853462219, 0.5360169410705566, -0.1459108591079712, 0.3147051930427551, -0.1551916003227234, 0.7939738631248474, -0.23658178746700287, -0.19505274295806885, -0.5755700469017029, 0.3983927071094513, -0.0035194880329072475, -0.17148616909980774, 0.49144282937049866, 0.5271931290626526, 1.0655725002288818, -0.3746916353702545, 0.8223140239715576, -0.2112276554107666, 0.3574070930480957, -0.5116642117500305, 0.6163593530654907, -0.48087525367736816, -0.005940400995314121, -0.07826563715934753, -0.8396596908569336, 0.060105036944150925, 0.35903236269950867, -0.4657396078109741, 0.07017067074775696, 0.3908475339412689, 0.5662721991539001, -0.5132231712341309, -0.16411401331424713, 0.4162162244319916, -0.16162818670272827, 0.06282122433185577, 0.9914659857749939, 0.5768815875053406, -0.412237286567688, 0.47467488050460815, -0.5686004757881165, -0.33162209391593933, -0.11288072168827057, -0.7949152588844299, -1.0729315280914307, -0.7279550433158875, -0.3218540549278259, 0.2018260657787323, 0.5704123377799988, 0.7897118926048279, 1.1987886428833008, -0.7236448526382446, -0.5496693253517151, -0.493071049451828, -0.13751710951328278, -0.5341978669166565, -0.16206948459148407, 0.15482839941978455, -0.6636815667152405, -0.9720167517662048, 0.49201273918151855, -0.28369250893592834, 0.046338990330696106, 0.21753595769405365, -0.00484894635155797, -0.26651665568351746, -0.1107354387640953, 0.3052985370159149, 0.3290957808494568, -0.66818767786026, -0.30016663670539856, -0.2257886528968811, 0.04046304523944855, 0.06692138314247131, 0.9959108233451843, -0.7359634637832642, 0.3603803515434265, 0.16296187043190002, 0.7426688075065613, 0.43079453706741333, 0.10658331960439682, 0.6625019311904907, -0.9482406377792358, 0.2094530165195465, -0.10001426190137863, 0.34172630310058594, 0.13591624796390533, -0.22135046124458313, 0.36614683270454407, 0.1470884084701538, -0.5968513488769531, -0.4554721415042877, 0.2683844566345215, -0.8465896844863892, -0.3079712688922882, 0.8834468722343445, -0.7318968772888184, -0.4476834833621979, -0.07902370393276215, -0.3299535810947418, 0.7171239256858826, -0.2753787040710449, 0.7508102059364319, 0.25847914814949036, -0.2825113832950592, -0.03385299816727638, -0.5603442192077637, 0.3493216335773468, 0.5169425010681152, -1.129980444908142, 0.10545031726360321, 0.4003067910671234, 0.5861846804618835, 0.05603054538369179, 0.11792745441198349, 0.4414204955101013, 0.29756999015808105, -0.04733186215162277, 0.506196141242981, -0.43684616684913635, -0.40710678696632385, -0.07322631031274796, 0.01476441789418459, 0.07270090281963348, -0.6180098056793213 ]
http://arxiv.org/abs/2406.12381v2
http://arxiv.org/pdf/2406.12381v2
QOG:Question and Options Generation based on Language Model
2024-06-18T08:09:58
2024-07-02T09:21:03
Jincheng Zhou
cs.CL
cs.CL, cs.LG
Question-Options Generation (QOG) is a task that involves generating a set of question-options pairs given context. This task has various applications, including fine-tuning large models, information retrieval, and automated multiple-choice question generation for education. In this paper, we develop QOG models using three different methods based on fine-tuning sequence-to-sequence language models (LMs). Experiments demonstrate that the end-to-end QOG model is computationally efficient and stable during both training and inference, outperforming other methods. Furthermore, our analysis indicates that our QOG models are competitive on the QOG task compared to the large language model Llama 3-8B.
[ -0.4008031189441681, -1.2144975662231445, 0.6891437768936157, -0.4319942891597748, -0.17096403241157532, 0.20688730478286743, -0.03693316504359245, -0.3415068984031677, -0.2865419089794159, 0.8001419305801392, -0.4739849865436554, -0.20555247366428375, -0.10242711752653122, 0.07811074703931808, -0.3603646755218506, 0.9986388087272644, 0.0063258507288992405, -0.007757024839520454, -0.4002317488193512, -0.019856968894600868, -0.47435200214385986, -0.4483390152454376, -1.0639156103134155, -0.07063435763120651, 0.36778688430786133, 0.4562840163707733, 0.805985689163208, 0.33451953530311584, 0.3727221190929413, 0.21784785389900208, -0.06711491197347641, 0.23162873089313507, -0.5282568335533142, 0.3084214925765991, 0.012575386092066765, -0.747229278087616, -0.21125827729701996, -0.0689493864774704, 0.8987321257591248, 0.3181278705596924, -0.34762221574783325, 0.6579851508140564, -0.13531306385993958, 0.45278385281562805, -0.5453388094902039, -0.3210031986236572, -0.7027838230133057, -0.08196264505386353, -0.050827961415052414, -0.24376511573791504, -0.37743982672691345, -0.6604600548744202, 0.11215461045503616, -0.3122742772102356, 0.04153499752283096, 0.47650086879730225, 0.66045743227005, 0.045350365340709686, -0.5597670078277588, -0.32835012674331665, -0.5450456142425537, 0.8541974425315857, -1.058449625968933, 0.4195095896720886, 0.3758050799369812, 0.5338842272758484, -0.3992287516593933, -0.8461258411407471, -0.5056015849113464, -0.16111359000205994, 0.07041674852371216, 0.06365475803613663, 0.1621091365814209, 0.27744215726852417, 0.32105904817581177, 0.367540568113327, -0.6128431558609009, 0.09291532635688782, -0.6405788064002991, 0.16474628448486328, 0.7047808766365051, 0.2972806990146637, 0.2681006193161011, -0.0695820227265358, -0.1296938806772232, 0.06632436066865921, -0.8271059393882751, 0.3541812300682068, 0.5482097864151001, 0.20990480482578278, 0.42216694355010986, 0.6305867433547974, -0.46318286657333374, 1.1520332098007202, 0.2061396688222885, -0.48201072216033936, -0.22505274415016174, -0.2066732794046402, -0.4836805760860443, -0.023834414780139923, 0.5072871446609497, 0.5489341020584106, -0.01696210727095604, 0.0031942289788275957, -0.2533699572086334, -0.28303858637809753, 0.159233957529068, -0.6462298035621643, 0.21583788096904755, 0.5955392122268677, -0.5478978157043457, -0.4310339689254761, -0.464709609746933, -0.4094008505344391, 0.16484487056732178, -0.30077674984931946, 0.6449326276779175, -0.2537423372268677, -0.17480584979057312, 0.33227822184562683, -0.1264084130525589, 0.35621747374534607, 0.24330252408981323, -0.7703280448913574, 0.08861386030912399, 0.36113500595092773, 0.45821237564086914, -0.05355474352836609, -0.13282425701618195, -0.5267987847328186, 0.24401137232780457, -0.37547487020492554, 0.8059125542640686, -0.737201988697052, -0.47640863060951233, -0.020779332146048546, -0.14897982776165009, 0.03395168110728264, -0.5650173425674438, 0.04559650272130966, -0.7572866082191467, 0.8025703430175781, 0.0168883316218853, -0.9920248985290527, -0.3139738142490387, 0.2593403458595276, -0.5669780373573303, 1.351605772972107, 0.08729976415634155, -0.4958951473236084, 0.06268368661403656, -0.5685157775878906, -0.0542694590985775, 0.2692279815673828, -0.10222893953323364, -0.36119234561920166, 0.06526080518960953, -0.019319741055369377, 0.3939397931098938, -0.6265037059783936, 0.4667528569698334, -0.0795404464006424, -0.3291972279548645, 0.2361452430486679, -0.16888409852981567, 0.9239246249198914, 0.3080455958843231, -0.2089814692735672, 0.13033463060855865, -0.820542573928833, 0.4999060332775116, 0.2428193837404251, -0.6072571873664856, -0.1624060422182083, 0.24888750910758972, -0.4434233605861664, 0.3320498764514923, 0.35873615741729736, -0.18795746564865112, 0.3313957154750824, -0.17505572736263275, 0.4866548478603363, 0.5036212205886841, 0.16805525124073029, 0.23059126734733582, -0.4809618592262268, 0.8215054273605347, -0.27747049927711487, 0.17780467867851257, -0.2741530239582062, -0.8245952129364014, -0.826837956905365, 0.16980725526809692, 0.3944929838180542, 0.8216386437416077, -0.6154249906539917, 0.10140484571456909, 0.3097994029521942, -0.42155545949935913, -0.7396513223648071, 0.022400209680199623, 0.3347218632698059, 0.4034002721309662, 0.1428665667772293, -0.07205408066511154, -0.3331020176410675, -0.8265120983123779, -0.19106034934520721, -0.5320339202880859, 0.04818645864725113, 0.2607007920742035, 0.1955043375492096, 0.14949293434619904, 0.9089857339859009, -0.5451384782791138, 0.6087945103645325, -0.3319393992424011, 0.24072910845279694, 0.11708253622055054, 0.3262212574481964, 0.5722968578338623, -0.6538754105567932, -0.32297053933143616, -0.27025964856147766, -0.46000322699546814, -0.06205206736922264, -0.24764643609523773, -0.4579520523548126, 0.0775328129529953, 0.5938669443130493, -0.5375609397888184, 0.15944404900074005, 0.5104179382324219, -0.21432358026504517, 0.6822779774665833, 0.08499106764793396, 0.19595907628536224, -1.3390053510665894, -0.018862441182136536, -0.39019691944122314, -0.35473230481147766, -0.9126153588294983, 0.43429702520370483, -0.02034185081720352, -0.35179394483566284, -0.6651941537857056, 0.7251154184341431, -0.30508938431739807, 0.0622258223593235, -0.1253451108932495, 0.10604789853096008, 0.05688631534576416, 0.4172499179840088, 0.004046160262078047, 0.7824203968048096, 0.5666865110397339, -0.7184520959854126, 0.4721894860267639, 0.07611491531133652, -0.3456937074661255, 0.3687763810157776, -0.5873035192489624, 0.4131746292114258, -0.26897406578063965, -0.05371493846178055, -1.1583937406539917, -0.20836809277534485, 0.18804344534873962, -0.25542524456977844, 0.046331148594617844, 0.0962337851524353, -0.3793058693408966, -0.4809619188308716, -0.22397062182426453, 0.6805633902549744, 0.7330955862998962, -0.3533177077770233, 0.2172943651676178, 0.2840518355369568, -0.3692699074745178, -0.36050108075141907, -0.14853650331497192, -0.12981094419956207, -0.44720301032066345, -0.5828681588172913, -0.0017463561380282044, -0.40289220213890076, -0.34599751234054565, -0.10938888043165207, 0.17652301490306854, -0.17195069789886475, 0.20084212720394135, -0.13962318003177643, 0.13006362318992615, -0.34968268871307373, 0.3100321292877197, 0.26926279067993164, 0.36976364254951477, -0.0818009227514267, -0.2960321307182312, 0.4037688374519348, -0.07250736653804779, -0.33144667744636536, -0.07540688663721085, 0.7455845475196838, 0.3397868871688843, -0.45997679233551025, 0.4474165737628937, 0.09307830780744553, -0.37784019112586975, -0.2328496128320694, -0.5787584781646729, -0.11222071200609207, -0.48001036047935486, 0.24747489392757416, -0.2351735532283783, -1.2286063432693481, 0.371816486120224, -0.14972460269927979, 0.4106338322162628, 0.12216537445783615, 0.5919875502586365, -0.08827861398458481, 1.387190580368042, 0.4674545228481293, 0.1637541502714157, 0.47005900740623474, 0.11465317755937576, 0.31425026059150696, -0.5281769037246704, 0.005744272843003273, -0.3941415250301361, -0.19733107089996338, -0.5309944152832031, -0.45794782042503357, 0.3902153968811035, 0.7080889344215393, -0.2821575999259949, 0.06403739750385284, -0.32889696955680847, 0.5103544592857361, 1.0636191368103027, -0.021422352641820908, 0.2812359035015106, 0.024573130533099174, 0.0024667277466505766, 0.5190804600715637, -0.7970473766326904, -0.8406131863594055, 1.3525840044021606, 0.17744815349578857, 0.5041742920875549, 0.10582313686609268, 0.8691416382789612, 0.10126227140426636, -0.018747910857200623, -0.6757587194442749, 0.7929459810256958, 0.38967210054397583, -0.9207775592803955, -0.666584849357605, -0.05837081000208855, -0.9195367693901062, 0.162434384226799, -0.26190367341041565, -0.7764363884925842, -0.18275471031665802, 0.35042354464530945, -0.6526526808738708, 0.3456420302391052, -0.5667710304260254, 0.6377524137496948, -0.4411250352859497, -0.2969573140144348, -0.21554307639598846, -0.625167965888977, 0.4132511615753174, 0.041748639196157455, -0.12939339876174927, -0.075301893055439, 0.2552777826786041, 0.7128142714500427, -0.05726141110062599, 0.672055721282959, 0.07858044654130936, -0.291742205619812, 1.0564067363739014, 0.060587383806705475, 0.5304606556892395, 0.17938050627708435, -0.1316918581724167, -0.03803594037890434, -0.0551719032227993, -0.44062912464141846, -0.46181735396385193, 0.21761204302310944, -0.4419398605823517, -1.0146279335021973, 0.03237774595618248, -0.5996571183204651, -0.2507302463054657, 0.4504060745239258, 0.20014722645282745, 0.4375647306442261, -0.09204088151454926, -0.1354866325855255, 0.620614230632782, -0.48775768280029297, 0.42569711804389954, 0.4316575527191162, -0.5160752534866333, -0.30373677611351013, 0.750686526298523, 0.169364333152771, 0.6756319999694824, 0.31876370310783386, -0.06130046397447586, -0.1880478709936142, -0.588206946849823, -0.5797787308692932, 0.1432994157075882, -0.5752288103103638, -0.2634725868701935, -0.3103792369365692, -0.381989449262619, -0.3001256287097931, -0.1836990863084793, -0.14722919464111328, -0.5666609406471252, -0.2617608904838562, -0.22284072637557983, 0.18702515959739685, 0.7087720036506653, 0.30642226338386536, 0.42599591612815857, -0.8865078687667847, 0.3417227864265442, 0.8918823003768921, 0.3407212793827057, -0.15339773893356323, -0.22081731259822845, -0.32456085085868835, 0.14733126759529114, -0.6616902947425842, -1.089772343635559, 0.1052074208855629, 0.15313173830509186, 0.564116895198822, 0.4387929141521454, -0.2477627396583557, 0.5905330181121826, -0.6313389539718628, 1.1856187582015991, 0.012218873016536236, -0.833319365978241, 0.6356621384620667, -0.43328356742858887, 0.2586837112903595, 0.230895534157753, 0.25439444184303284, -0.5402944087982178, -0.6660097241401672, -0.7513187527656555, -0.7971557974815369, 0.5786687135696411, 0.14271479845046997, -0.14049500226974487, -0.311175674200058, 0.510827362537384, 0.22271139919757843, 0.5492881536483765, -0.5665423274040222, -0.02765236608684063, -0.013684437610208988, -0.131181538105011, 0.01955721154808998, -0.3650071918964386, -0.08515569567680359, 0.03181898221373558, 0.6341571807861328, -0.22929421067237854, 0.31740644574165344, -0.054622478783130646, 0.015854494646191597, -0.3664100170135498, 0.569533109664917, 0.7355239391326904, 0.728975772857666, -0.36619287729263306, -0.10048132389783859, 0.392897367477417, 0.01686811074614525, 0.27886369824409485, -0.19957411289215088, -0.42675796151161194, -0.02194434218108654, 0.06628458946943283, 1.162244200706482, -0.09341331571340561, -1.034128189086914, -0.016544148325920105, -0.02222076617181301, -0.2560718059539795, -0.053269680589437485, 0.340642511844635, 0.12306474149227142, 0.4679657518863678, 0.23197203874588013, -0.5448925495147705, 0.40402740240097046, -0.5650049448013306, -0.07133878022432327, 0.5652259588241577, 0.2046932578086853, -0.15857285261154175, 0.7639526128768921, 0.16942648589611053, -0.40562692284584045, 0.5334728360176086, -0.2502930164337158, -0.2888793349266052, 0.7280731201171875, 0.8379087448120117, 0.7832995653152466, -0.4582422971725464, 0.42938119173049927, 0.49031302332878113, 0.13810309767723083, -0.3908073306083679, 0.665224015712738, 0.006279239431023598, -0.5963144898414612, -0.503509521484375, -0.5700430870056152, -0.5800178050994873, 0.46917620301246643, -0.8977574706077576, 0.20809033513069153, -0.16195090115070343, -0.34494107961654663, -0.4254553020000458, -0.14730194211006165, -0.40850988030433655, 0.5980515480041504, 0.309658408164978, 0.7944896221160889, -0.5120699405670166, 0.5212368965148926, 1.0405515432357788, 0.03800731152296066, -0.8786728382110596, -0.025396190583705902, -0.42322108149528503, -0.7364156246185303, 0.5953828692436218, 0.07958984375, 0.03621450439095497, 0.3017924726009369, -0.6425420641899109, -1.261832594871521, 1.1049739122390747, 0.3208882510662079, -0.8736310601234436, -0.45399051904678345, 0.324161171913147, 0.3473752439022064, -0.38520190119743347, 0.25068050622940063, 0.6037419438362122, 0.2261810004711151, -0.46511152386665344, -0.8593098521232605, -0.01306865457445383, -0.19801019132137299, 0.2564769983291626, 0.3763006329536438, -1.0050978660583496, 0.8642625212669373, -0.20870304107666016, -0.2453383207321167, 0.20699864625930786, 0.5959227681159973, 0.5207594633102417, 0.1093527302145958, 0.45946162939071655, 0.4960346817970276, 0.9200888276100159, 0.07388181984424591, 0.9162895679473877, -0.6540437936782837, 0.3899402320384979, 0.9294500350952148, -0.20521686971187592, 0.886600136756897, 0.4980044364929199, -0.06823460757732391, 0.3013448417186737, 0.9597636461257935, 0.13215139508247375, 0.5327752828598022, 0.25874462723731995, -0.25755739212036133, -0.5435134768486023, 0.16699275374412537, -0.3700834810733795, 0.39911940693855286, 0.26387709379196167, -0.14685630798339844, -0.11967658996582031, -0.13044419884681702, -0.23533891141414642, -0.44934314489364624, -0.571173369884491, 0.8153222799301147, -0.13222618401050568, -1.152092456817627, 0.6892520785331726, -0.05665493756532669, 0.12353051453828812, -0.4423432946205139, -0.1727265864610672, -0.13392388820648193, -0.5277758836746216, 0.07423712313175201, -0.7187139987945557, -0.18534378707408905, -0.11220429837703705, -0.13693158328533173, 0.023109188303351402, 0.7869687676429749, -0.7453965544700623, -0.5842574834823608, -0.20281773805618286, 0.5626775622367859, 0.08289472758769989, 0.44688621163368225, -0.7440650463104248, -0.4115622043609619, 0.12882111966609955, -0.6213701963424683, 0.22999127209186554, 0.18669836223125458, -0.3920370638370514, 0.6315714120864868, 0.4744335412979126, 0.04818465933203697, 0.4896034896373749, -0.1335975080728531, 0.534217357635498, -0.7157361507415771, -0.49300330877304077, -0.5980133414268494, 0.7905222773551941, 0.006059766747057438, -0.3202457129955292, 0.5924582481384277, 0.466373473405838, 0.9617449641227722, -0.0599014051258564, 1.173595666885376, 0.028355509042739868, 0.5471460223197937, -0.7868131995201111, 0.1992596834897995, -0.6365982294082642, 0.045122984796762466, 0.01811150275170803, -0.8021584749221802, -0.06102241575717926, 0.43260568380355835, -0.06854752451181412, 0.0825667455792427, 0.5727419257164001, 0.709655225276947, 0.14595337212085724, -0.05000182241201401, 0.3088420331478119, -0.09859851747751236, 0.22146756947040558, 0.6349005699157715, 1.0352134704589844, -0.3714461326599121, 0.376496821641922, -0.005108251702040434, -0.025819404050707817, -0.3663213551044464, -0.7693700790405273, -1.089418649673462, -0.5599437355995178, -0.16725531220436096, -0.2132517695426941, 0.20875594019889832, 0.8014059662818909, 0.5553499460220337, -0.6964369416236877, -0.4860186278820038, -0.11369604617357254, 0.1064709722995758, -0.13994841277599335, -0.19350774586200714, 0.22240228950977325, -0.5411173105239868, -0.8094353675842285, 0.29158255457878113, 0.16628989577293396, 0.16890361905097961, -0.17146041989326477, -0.0071357302367687225, -0.12443491816520691, 0.5084632039070129, 0.6821871399879456, 0.26439449191093445, -0.7289466261863708, -0.46970051527023315, 0.05337812379002571, 0.16022641956806183, 0.013407199643552303, 0.7469490766525269, -0.5522818565368652, 0.49499988555908203, 0.5240775942802429, 0.669255793094635, 0.1351388543844223, 0.1416098177433014, 0.7849826812744141, -0.6127625703811646, -0.0504508800804615, 0.07924643903970718, 0.30363887548446655, 0.1356939673423767, -0.4202651381492615, 0.3147107660770416, -0.2564806044101715, -0.8706377744674683, -1.0724705457687378, 0.48264750838279724, -0.6205386519432068, -0.43905746936798096, 1.2417659759521484, 0.15294285118579865, -0.05833444371819496, 0.14785151183605194, -0.5767506957054138, 0.4593721330165863, -0.2820577621459961, 0.7814360857009888, 0.7641546726226807, -0.33296898007392883, -0.20610496401786804, -0.8071631193161011, 0.6321464776992798, 0.6139791011810303, -0.8085781931877136, -0.2756801247596741, 0.4449109435081482, 0.26696479320526123, 0.059037234634160995, 0.6351627111434937, 0.273551881313324, 0.4102663993835449, -0.27549487352371216, 0.05341221019625664, 0.15538586676120758, -0.21462219953536987, -0.13019385933876038, 0.36062735319137573, 0.38930150866508484, -0.0792601928114891 ]
http://arxiv.org/abs/2406.12373v2
http://arxiv.org/pdf/2406.12373v2
WebCanvas: Benchmarking Web Agents in Online Environments
2024-06-18T07:58:33
2024-06-27T16:56:13
Yichen Pan, Dehan Kong, Sida Zhou, Cheng Cui, Yifei Leng, Bing Jiang, Hangyu Liu, Yanyi Shang, Shuyan Zhou, Tongshuang Wu, Zhengyang Wu
cs.CL
cs.CL, cs.AI, cs.LG, 68T50, I.2.7
For web agents to be practically useful, they must adapt to the continuously evolving web environment characterized by frequent updates to user interfaces and content. However, most existing benchmarks only capture the static aspects of the web. To bridge this gap, we introduce WebCanvas, an innovative online evaluation framework for web agents that effectively addresses the dynamic nature of web interactions. WebCanvas contains three main components to facilitate realistic assessments: (1) A novel evaluation metric which reliably capture critical intermediate actions or states necessary for task completions while disregarding noise caused by insignificant events or changed web-elements. (2) A benchmark dataset called Mind2Web-Live, a refined version of original Mind2Web static dataset containing 542 tasks with 2439 intermediate evaluation states; (3) Lightweight and generalizable annotation tools and testing pipelines that enables the community to collect and maintain the high-quality, up-to-date dataset. Building on WebCanvas, we open-source an agent framework with extensible modules for reasoning, providing a foundation for the community to conduct online inference and evaluations. Our best-performing agent achieves a task success rate of 23.1% and a task completion rate of 48.8% on the Mind2Web-Live test set. Additionally, we analyze the performance discrepancies across various websites, domains, and experimental environments. We encourage the community to contribute further insights on online agent evaluation, thereby advancing this field of research.
[ -0.7716379761695862, -0.33233442902565, 0.3868754804134369, 0.3240495026111603, -0.20124836266040802, 0.2831050455570221, -0.20995166897773743, -0.8457428216934204, 0.1507866233587265, 0.01642921194434166, -0.5946505665779114, -0.36135607957839966, -0.19840489327907562, 0.06340782344341278, -0.27762094140052795, 0.7046633362770081, -0.003490169532597065, -0.009536171332001686, -0.721946120262146, -0.20629243552684784, -0.2217220962047577, -0.014531389810144901, -0.7630385756492615, -0.3037117123603821, 0.4999345541000366, 0.07728909701108932, 0.507117509841919, 0.2218555361032486, 0.768746018409729, 0.3689652383327484, 0.32112452387809753, 0.4043383002281189, -0.6137856245040894, 0.3546479642391205, -0.4764079749584198, -0.3933666944503784, -0.6815261840820312, 0.06684558093547821, 0.1504926234483719, 0.30367204546928406, -0.31674525141716003, 0.3705434203147888, 0.09526719152927399, 0.3182639479637146, -1.0618702173233032, 0.29465997219085693, -0.421239972114563, -0.04840105026960373, -0.042565006762742996, -0.1986016184091568, -0.0740811824798584, -0.7779608964920044, 0.18413156270980835, -0.9280552864074707, 0.29477447271347046, -0.16403228044509888, 0.7328934073448181, 0.4072858393192291, -0.2620408535003662, 0.01078710611909628, -0.6147385239601135, 0.4503219425678253, -0.1789868324995041, 0.41408899426460266, 0.4833967685699463, 0.9165412187576294, -0.21307581663131714, -0.8518400192260742, -0.5548877716064453, -0.16939660906791687, 0.38951215147972107, 0.356601744890213, -0.40309855341911316, -0.15125542879104614, 0.12991617619991302, 0.08643785864114761, -0.5461265444755554, -0.1007581576704979, -0.050375789403915405, -0.4099932014942169, 0.6300415396690369, 0.35720181465148926, 0.12494935095310211, 0.43510109186172485, -0.3216162323951721, -0.6420587301254272, -0.2703743577003479, 0.37704822421073914, 0.38368144631385803, 0.08382018655538559, -0.0939558818936348, 0.1885383576154709, -0.4597429633140564, 0.3702840507030487, -0.047454074025154114, 0.06561459600925446, 0.3452896177768707, -0.16706636548042297, -0.023024046793580055, -0.4456210732460022, 0.5637981295585632, 0.8909115791320801, 0.18956659734249115, -0.42132568359375, -0.3054945170879364, 0.4173058569431305, 0.7045419216156006, -0.8064457774162292, -0.14963817596435547, 0.5215509533882141, -0.35351070761680603, -0.24690182507038116, 0.17632140219211578, -0.9527889490127563, -0.7679089307785034, 0.0006095054559409618, 0.4179455637931824, -0.2090110033750534, -0.4271990954875946, -0.037388622760772705, -0.639695942401886, 0.3646242320537567, 0.6918978691101074, -0.16663795709609985, 0.832356870174408, 0.7176902294158936, 0.7190741300582886, -0.5300489068031311, -0.3292151093482971, -0.45156216621398926, -0.18455545604228973, -0.3796788156032562, 1.240855097770691, -0.4051186144351959, -0.14988133311271667, 0.19135737419128418, -0.054677072912454605, 0.2664235830307007, -0.5147301554679871, 0.3032015860080719, -0.5828234553337097, -0.21860304474830627, -0.5189597606658936, -0.5417747497558594, -0.09200713783502579, 0.6152098774909973, -0.7851501107215881, 0.9782915711402893, 0.12095402926206589, -0.39921778440475464, 0.5759108066558838, -0.687268853187561, -0.10678550601005554, 0.1700555831193924, 0.14964823424816132, -0.15231989324092865, -0.0988771989941597, -0.17114923894405365, 0.31841471791267395, -0.6851257681846619, -0.32675570249557495, -0.611962080001831, -0.5142648816108704, 0.5682237148284912, -0.1832338124513626, 0.5926292538642883, 0.25139471888542175, -0.49802759289741516, 0.11780416965484619, -0.7659194469451904, 0.36621910333633423, 0.18751008808612823, -0.15384308993816376, -0.3052215576171875, 0.18262912333011627, 0.3258046805858612, 0.1932324320077896, 0.24126559495925903, -0.8458572030067444, 0.014450588263571262, 0.1008029505610466, -0.03303060308098793, 0.6589881181716919, 0.11118058115243912, -0.2790031135082245, -0.5319774746894836, 0.7249332070350647, -0.49883535504341125, 0.48972296714782715, 0.303526908159256, -0.4578559696674347, -0.7193340063095093, -0.3550783097743988, 0.13616928458213806, 0.4117409288883209, -0.4552193284034729, 0.22920162975788116, -0.4237351417541504, -1.012622356414795, -0.40138670802116394, -0.018663445487618446, 0.4832465946674347, -0.10133808106184006, 0.43069353699684143, -0.7565249800682068, -0.2579948902130127, -0.7293593287467957, -0.2571415305137634, -0.09403043240308762, -0.16397111117839813, 0.09098544716835022, 0.3220148980617523, -0.322855144739151, 1.1457066535949707, -0.42847660183906555, -0.2844541668891907, 0.01883508823812008, 0.20331569015979767, -0.3284873962402344, 0.18609431385993958, 0.48119452595710754, -0.6530346870422363, -0.29334062337875366, -0.002062862040475011, -0.6480538249015808, -0.23563405871391296, 0.11037081480026245, -0.13338671624660492, -0.34522703289985657, 0.2599732279777527, -0.5959544777870178, 0.44272229075431824, 0.23289671540260315, -0.2391240894794464, 0.3914773464202881, -0.18031294643878937, 0.30248045921325684, -0.5705119967460632, 0.23881706595420837, -0.06979397684335709, -0.565335750579834, -0.34936636686325073, 0.35954490303993225, 0.12683890759944916, 0.020482391119003296, -0.6380569934844971, 0.7136155962944031, -0.4936712980270386, -0.4421198070049286, -0.4475325047969818, 0.39565780758857727, 0.07614720612764359, 0.6147847771644592, -0.4784562885761261, 0.5992714762687683, 0.2566768527030945, -0.7782671451568604, 0.797080934047699, -0.015073438175022602, -0.43610286712646484, 0.7627976536750793, -0.46683269739151, 0.33597397804260254, 0.13334247469902039, 0.5558590888977051, -0.8082676529884338, -0.06970908492803574, 0.05209057405591011, -0.3038250207901001, -0.32658854126930237, 0.3237304985523224, -0.493476003408432, -0.41384732723236084, -0.6079809665679932, 0.08416179567575455, 0.26486894488334656, -0.17920014262199402, 0.5521883964538574, 0.5599755048751831, 0.2993518114089966, -0.4380996525287628, -0.3891910910606384, 0.06554320454597473, 0.054731085896492004, -0.28684476017951965, 0.3442220687866211, -0.1431049406528473, -0.5107728838920593, 0.160556361079216, -0.19807995855808258, -0.45456069707870483, 0.46351808309555054, 0.3146505057811737, -0.14487288892269135, 0.08865456283092499, 0.022185878828167915, -0.08377362787723541, -0.06406968086957932, 0.12342244386672974, -0.16564099490642548, 0.39506492018699646, -0.3713846206665039, -0.5284274816513062, -0.47995707392692566, 0.10268198698759079, 0.7055677175521851, -0.3980022966861725, 0.2703310549259186, 0.7217241525650024, -0.81500244140625, -0.13980942964553833, -0.6849123239517212, -0.049998361617326736, -0.4462350010871887, 0.22374050319194794, -0.6210567355155945, -0.3559058904647827, 0.6305196285247803, -0.25812339782714844, 0.4009507894515991, 0.4056639075279236, 0.5235475301742554, -0.19243133068084717, 0.767173171043396, 0.47389107942581177, 0.34228968620300293, 0.36631515622138977, -0.17935045063495636, -0.3857756555080414, -0.7012490630149841, -0.282245934009552, -0.3420640528202057, -0.3265959322452545, -0.5418190360069275, -0.6601235270500183, 0.2511676251888275, -0.02424660325050354, -0.02712114341557026, 0.47598233819007874, -0.30059653520584106, 0.43879440426826477, 0.3212548494338989, 0.3198240101337433, 0.07514476031064987, -0.21531400084495544, -0.2951452136039734, 0.3657129108905792, -0.13504894077777863, -0.4354512393474579, 1.2381807565689087, 0.11328566819429398, 0.5050098299980164, 0.5635332465171814, 0.14865392446517944, 1.0500990152359009, 0.39577731490135193, -0.5118726491928101, 0.6434910297393799, 0.3765336573123932, -0.6405689716339111, -0.3352135419845581, 0.03891799598932266, -1.2568329572677612, 0.456796258687973, -0.23340919613838196, -0.8402422070503235, 0.18968388438224792, 0.09233636409044266, -0.3231136202812195, -0.03662440553307533, -0.440453439950943, 0.8720144033432007, -0.21029995381832123, -0.7761998176574707, -0.9651201367378235, -0.406548410654068, -0.148323193192482, 0.007831444963812828, -0.05286575108766556, -0.5024118423461914, -0.2612745463848114, 0.4710110127925873, -0.574942946434021, 0.7665368914604187, -0.3403272330760956, 0.303498774766922, 0.484830379486084, 0.11437258869409561, 0.5248971581459045, -0.23087279498577118, 0.02558557502925396, 0.055308062583208084, 0.17622330784797668, -0.6280160546302795, -0.7360985279083252, 0.5048633813858032, -0.8539369106292725, -0.26852911710739136, -0.608767032623291, -0.014881511218845844, -0.6669521927833557, 0.05130014196038246, -0.11787374317646027, 0.4963638186454773, -0.6697056889533997, 0.12162534147500992, 0.3702467978000641, -0.05051175877451897, 0.3967287242412567, 0.8133503198623657, -0.2661396265029907, -0.3325848877429962, 0.9477812051773071, -0.2405901849269867, 0.1297028362751007, 0.4576959013938904, 0.08238480985164642, -0.4564618468284607, -0.39315447211265564, -0.513687014579773, -0.10833840817213058, -0.8558397889137268, -0.15852311253547668, -0.6520917415618896, 0.24457606673240662, -0.28040891885757446, 0.07676753401756287, -0.6504768133163452, -0.33444827795028687, 0.07194121181964874, -0.0474582239985466, 0.2844542860984802, 0.7705450057983398, -0.07587596774101257, -0.03091876022517681, -0.5183824300765991, 0.1773780733346939, 0.6480591297149658, 0.4926580488681793, 0.16881611943244934, 0.12113922834396362, -0.3094434142112732, -0.23012788593769073, -0.47674405574798584, -0.9183056950569153, -0.0294621754437685, 0.04989463463425636, 0.9199627041816711, 0.5665816068649292, 0.0050592864863574505, 0.8478341698646545, -0.14335183799266815, 0.5767799615859985, -0.01956833153963089, -0.9033263921737671, 0.36389362812042236, -0.382658451795578, 0.34944480657577515, 0.8685407042503357, 0.35302382707595825, -0.4904925525188446, -0.393437922000885, -0.354478120803833, -0.5147464871406555, 0.3825482130050659, 0.3560870289802551, -0.3178044557571411, 0.07132533192634583, 0.12857747077941895, 0.24163399636745453, 0.28024736046791077, -0.1769370287656784, -0.1328621357679367, -0.3929038345813751, 0.08823040872812271, -0.009079360403120518, 0.20742204785346985, -0.15808403491973877, 0.06951460987329483, 0.45338383316993713, -0.3974964916706085, 0.5483262538909912, 0.1824561357498169, -0.4654824435710907, 0.007648770231753588, -0.022561993449926376, 0.5916654467582703, 1.1203995943069458, -0.501349925994873, 0.08686070144176483, 0.3673083484172821, -0.5893241167068481, 0.21870695054531097, 0.3015502989292145, 0.20686456561088562, -0.33433592319488525, 0.3796057105064392, 0.46039077639579773, 0.0777544304728508, -1.0954374074935913, 0.6637591123580933, -0.5834517478942871, 0.3233211934566498, -0.49691805243492126, 0.24321500957012177, -0.10960909724235535, 0.32944783568382263, 0.5725919008255005, 0.10014055669307709, 0.4361410140991211, -0.4822792410850525, 0.23950105905532837, 0.24168604612350464, -0.6886745691299438, -0.4152354300022125, 0.5672098398208618, 0.5896594524383545, -0.4037627577781677, 0.2525533437728882, -0.46653056144714355, -0.3734157681465149, 0.9074922204017639, 0.17823490500450134, 1.2178999185562134, -0.13936620950698853, 0.20496007800102234, 0.11317282915115356, 0.28582143783569336, 0.06029841676354408, 0.3423057794570923, -0.3988925516605377, -0.6331464052200317, 0.08074100315570831, -0.6718781590461731, -1.0103387832641602, -0.13849510252475739, -0.7178053855895996, 0.1288461685180664, -0.47695788741111755, -0.47981396317481995, -0.1884036660194397, 0.25168663263320923, -1.070753574371338, 0.4897761046886444, 0.08024581521749496, 0.8398887515068054, -0.5197519659996033, 0.615075945854187, 0.8205865025520325, -0.27886515855789185, -0.12650157511234283, 0.09744326770305634, 0.3489684462547302, -0.431123822927475, 0.00522729754447937, 0.36818745732307434, -0.5498363971710205, -0.24737806618213654, 0.07807625830173492, -0.8904241919517517, 1.1816167831420898, 0.26843899488449097, -0.32917121052742004, 0.4748193919658661, 0.017711227759718895, 0.9518796801567078, -0.2072363644838333, 1.026041030883789, 0.27421730756759644, 0.5432631373405457, -0.3749362528324127, -0.9047274589538574, 0.2822730839252472, -0.6322922706604004, -0.05039508268237114, -0.07608555257320404, -1.0481269359588623, 0.43692103028297424, 0.17205622792243958, -0.2756682336330414, -0.1136530265212059, 0.600638747215271, -0.017645590007305145, 0.39507678151130676, 0.8536669611930847, 0.3352920711040497, 0.9316384196281433, -0.009318326599895954, 1.12107253074646, -0.18584910035133362, 0.28689688444137573, 0.9874597191810608, -0.5215203166007996, 0.8740924596786499, -0.061390846967697144, -0.39594826102256775, 0.5917048454284668, 0.8932635188102722, 0.1374024748802185, 0.46743708848953247, 0.3413788676261902, -0.17583967745304108, -0.45926105976104736, -0.3814297318458557, -0.23124384880065918, 0.729952335357666, 0.18138067424297333, 0.39346200227737427, -0.2748520076274872, -0.0026322773192077875, -0.2449548840522766, 0.04411303997039795, -0.053229108452796936, 0.5151358842849731, -0.24468019604682922, -0.9081589579582214, 0.2390206903219223, 0.12257657945156097, 0.2812342643737793, -0.7275623083114624, -0.032791487872600555, -0.21612508594989777, 0.3538304269313812, 0.029668491333723068, -0.5361676216125488, 0.18323564529418945, 0.17053450644016266, 0.11722438782453537, -0.1600460261106491, 0.64034503698349, 0.20536410808563232, -0.15859918296337128, 0.6859440803527832, 0.5559247136116028, 0.5134063363075256, -0.2315964251756668, -0.7490659952163696, 0.15350915491580963, -0.35456034541130066, -0.2287180870771408, 0.32243168354034424, 0.10137084126472473, -0.34501904249191284, 0.9380331039428711, 0.7531595826148987, -0.08249567449092865, -0.016648082062602043, 0.12818223237991333, 0.7433431148529053, -0.6657349467277527, -0.4884563386440277, -0.46520957350730896, 0.2582407295703888, -0.45732712745666504, -0.643265426158905, 0.4954419732093811, 0.8440511226654053, 0.6684898138046265, 0.24194665253162384, 0.7957649230957031, -0.07870378345251083, 0.5138446688652039, 0.05705734342336655, 0.7271885871887207, -0.6041697263717651, -0.26568350195884705, -0.2329171746969223, -1.064691424369812, 0.1723848432302475, 0.35934916138648987, 0.2627783715724945, -0.15068669617176056, 0.8111407160758972, 0.525921642780304, 0.09987594187259674, 0.02959378995001316, 0.3720929026603699, -0.03221859037876129, 0.4391804039478302, 0.40228936076164246, 0.902435302734375, -0.36097678542137146, 0.7054430842399597, -0.2644347846508026, -0.4123155176639557, -0.27244704961776733, -0.7423291206359863, -0.9353303909301758, -0.4459451735019684, -0.4023117125034332, -0.287750780582428, 0.3978709280490875, 1.113261103630066, 0.6639493107795715, -0.7660143971443176, -0.36813831329345703, -0.09125270694494247, -0.007594020571559668, -0.9216008186340332, -0.20190943777561188, 0.03315005823969841, -0.05401621386408806, -0.750636100769043, 0.3827193081378937, 0.32836225628852844, -0.12989197671413422, -0.5728347301483154, 0.07038301229476929, -0.0911673828959465, 0.28535765409469604, 0.33771079778671265, 0.3265857994556427, -0.7173555493354797, -0.278597891330719, -0.07338263839483261, -0.45299232006073, -0.13588856160640717, 0.6800652146339417, -0.8832165002822876, 0.6849250197410583, 0.4996817409992218, 0.8328567147254944, 0.8745123147964478, 0.10303151607513428, 0.5135514736175537, -0.19207744300365448, -0.06611276417970657, 0.2252216637134552, 0.167867049574852, 0.3349459767341614, -0.02910650707781315, 0.668502926826477, 0.29050949215888977, -0.2194957584142685, -0.6670364737510681, -0.1458899974822998, -1.0177249908447266, -0.2603464424610138, 0.81678307056427, -0.4612259864807129, -0.04890229180455208, -0.3800480365753174, 0.3549239933490753, 0.3680683672428131, -0.33625757694244385, 0.8069706559181213, 0.6529842615127563, -0.17540724575519562, 0.28093817830085754, -0.5519322156906128, 0.33193641901016235, 0.22606413066387177, -1.2371373176574707, -0.17538310587406158, 0.4416845142841339, 0.2810647189617157, 0.10564826428890228, 0.6277589201927185, 0.4312409460544586, 0.6676197052001953, 0.38856247067451477, 0.5251387357711792, -0.000572968740016222, -0.29805999994277954, 0.11796322464942932, 0.3313632607460022, -0.1458531767129898, -0.43703964352607727 ]
http://arxiv.org/abs/2406.12369v1
http://arxiv.org/pdf/2406.12369v1
A Comparative Study of Continuous Sign Language Recognition Techniques
2024-06-18T07:51:44
2024-06-18T07:51:44
Sarah Alyami, Hamzah Luqman
cs.CL
cs.CL, cs.CV
Continuous Sign Language Recognition (CSLR) focuses on the interpretation of a sequence of sign language gestures performed continually without pauses. In this study, we conduct an empirical evaluation of recent deep learning CSLR techniques and assess their performance across various datasets and sign languages. The models selected for analysis implement a range of approaches for extracting meaningful features and employ distinct training strategies. To determine their efficacy in modeling different sign languages, these models were evaluated using multiple datasets, specifically RWTH-PHOENIX-Weather-2014, ArabSign, and GrSL, each representing a unique sign language. The performance of the models was further tested with unseen signers and sentences. The conducted experiments establish new benchmarks on the selected datasets and provide valuable insights into the robustness and generalization of the evaluated techniques under challenging scenarios.
[ 0.13417664170265198, -0.10521355271339417, 0.24781213700771332, 0.07440482079982758, -0.361599862575531, 0.6303105354309082, -0.3461041748523712, -0.8462736010551453, -0.30461084842681885, 0.18308806419372559, -0.37295031547546387, -0.5836588144302368, -0.729846715927124, 0.15936748683452606, -0.43499019742012024, 0.5153600573539734, -0.060603681951761246, 0.730027437210083, 0.1842862218618393, -0.3050028085708618, -0.2536599040031433, -0.26399391889572144, -0.9007975459098816, -0.4260731041431427, 0.11789696663618088, 0.23011155426502228, 0.6563252806663513, 0.10471532493829727, 0.7155341506004333, 0.1992366909980774, -0.31460246443748474, 0.057994190603494644, -0.26558491587638855, -0.021894529461860657, 0.40107834339141846, 0.30435049533843994, 0.23254849016666412, -0.04126125946640968, 0.8410491943359375, 0.9499500393867493, 0.09910985082387924, 0.22558560967445374, 0.11830784380435944, 0.4601350724697113, -0.5727585554122925, -0.17290042340755463, -0.3096187114715576, 0.5728232860565186, -0.2037830352783203, 0.4559181332588196, -0.5164958834648132, -0.5294522643089294, 0.32512032985687256, -0.30299463868141174, 0.22189410030841827, -0.1809096336364746, 0.8062291741371155, 0.03796755149960518, -0.2234860062599182, -0.7655563950538635, -0.8007553815841675, 0.926402747631073, -1.0224641561508179, 1.00572669506073, -0.04951143264770508, 0.5151658058166504, 0.1192891001701355, -0.7239327430725098, -0.46844935417175293, -0.8241702914237976, -0.17182683944702148, 0.07759789377450943, 0.19467951357364655, 0.012450856156647205, 0.3278917968273163, 0.4584595263004303, -0.8674557209014893, 0.5349388718605042, -0.6043029427528381, -0.32453131675720215, 0.6722750067710876, 0.3295830190181732, 0.3017244338989258, 0.23960065841674805, -0.42320752143859863, -0.34771808981895447, -0.4126763939857483, 0.5857982635498047, 0.03990819305181503, 0.6218815445899963, -0.572492778301239, 0.32343390583992004, -0.227572962641716, 0.9151654839515686, -0.08792538940906525, -0.3298361301422119, 0.2652919292449951, -0.10506532341241837, -0.3366996645927429, -0.3350185453891754, 0.8331676721572876, -0.0666571781039238, 0.4827340245246887, -0.29965612292289734, -0.05763572081923485, 0.07046423852443695, -0.3996599614620209, -0.5726497769355774, -0.15180382132530212, -0.0006178747862577438, -0.6764690279960632, -0.17297270894050598, 0.14500555396080017, -0.2443799078464508, -0.8473823666572571, -0.6634868383407593, -0.28584814071655273, -0.29501762986183167, -0.5770465731620789, 0.2333705723285675, -0.2726181447505951, 0.5592844486236572, 0.23780092597007751, -0.4156191945075989, 0.5192591547966003, 0.6285694241523743, 0.8085176944732666, -0.6444362998008728, 0.15846870839595795, -0.37936365604400635, -0.5321694016456604, -0.28061169385910034, 0.35704419016838074, -0.8415484428405762, -0.4139153063297272, -0.01705353334546089, -0.14635320007801056, -0.13990913331508636, -0.28055453300476074, 0.5044898986816406, -0.6206128597259521, -0.18485450744628906, -0.2706683576107025, -0.498643159866333, -0.011086050420999527, -0.06534816324710846, -0.7985254526138306, 0.8889657258987427, -0.2281762659549713, -0.1581118106842041, 0.8835214972496033, -0.42868295311927795, -0.6030430793762207, 0.3720184564590454, -0.3007216155529022, -0.7862151265144348, 0.15807181596755981, -0.08987721800804138, 0.6457974910736084, 0.05204334110021591, -0.27646708488464355, -0.21389886736869812, -0.5152654051780701, 0.603269100189209, -0.48210516571998596, 0.8126580715179443, 0.5772647261619568, -0.4121965169906616, -0.24034763872623444, -1.017163872718811, 0.2727891802787781, -0.15887285768985748, -0.4150220453739166, 0.031521689146757126, 0.09246473759412766, 0.1693384051322937, 0.41749629378318787, -0.06983701884746552, -0.700959324836731, -0.25043785572052, -0.19491101801395416, 0.2888036370277405, 0.32835522294044495, -0.1838769018650055, 0.20079392194747925, 0.47288718819618225, 0.6010342836380005, -0.04697247967123985, 0.3235347270965576, 0.12577034533023834, -0.19624285399913788, -0.8186348080635071, -0.2853565514087677, 0.17814159393310547, 0.42283737659454346, -0.07494029402732849, -0.11466465890407562, -0.13098491728305817, -0.5805293917655945, -0.3184032738208771, 0.11921095848083496, 1.058307409286499, 0.16129253804683685, 0.2731519639492035, -0.6315885186195374, -0.5948412418365479, -0.29802390933036804, -0.20912843942642212, 0.06904983520507812, 0.29431623220443726, 0.0776047632098198, 0.26393434405326843, 0.40760350227355957, 0.3598344922065735, -0.03905320167541504, 0.033716730773448944, -0.25118687748908997, 0.08811253309249878, 0.34480157494544983, 0.31501320004463196, 0.324659526348114, -0.7126801013946533, -0.8398107290267944, 0.4725804328918457, -0.7861345410346985, 0.4509131610393524, -0.5143664479255676, 0.6410972476005554, 0.2190379500389099, 0.6317833662033081, -0.1526939570903778, 0.7555416226387024, 0.693640947341919, -0.43191421031951904, 0.6115438342094421, 0.16063982248306274, 0.2700602114200592, -0.12462970614433289, 0.09968874603509903, -0.05065710097551346, -0.12328971922397614, -0.9539090991020203, 0.09475938230752945, 0.21233347058296204, -0.45708298683166504, -0.8584267497062683, 0.3799715042114258, -1.1895688772201538, -0.5858411192893982, -0.23019114136695862, 0.009864188730716705, -0.2930312752723694, 0.2113329917192459, 0.4362781047821045, 0.6561223268508911, 0.6506294012069702, -0.8462164998054504, -0.07040981948375702, 0.032606784254312515, -0.6543800830841064, 0.1448960304260254, -0.620491623878479, 0.4680210053920746, 0.0010485310340300202, -0.07580198347568512, -1.355926752090454, 0.1959255486726761, 0.3374689519405365, -0.5990831851959229, 0.35252344608306885, 0.04816215857863426, -0.11457955092191696, -0.6701584458351135, -0.01610896736383438, 0.1307583749294281, 0.7100646495819092, -0.3882618248462677, 0.5854568481445312, -0.09624659270048141, 0.3677823841571808, -0.7774690985679626, -0.8630237579345703, 0.046233344823122025, -0.19212546944618225, -0.1577126681804657, -0.20792463421821594, 0.06333038955926895, -0.3016863167285919, -0.5168214440345764, -0.11626721173524857, -0.11046157032251358, 0.28951966762542725, 0.4244905412197113, -0.13113310933113098, -0.19860544800758362, -0.14827416837215424, -0.19268545508384705, -0.11134389787912369, -0.32167649269104004, 0.10628147423267365, 0.3873666822910309, -0.23542135953903198, -0.6325139403343201, -0.9790037274360657, 0.011586837470531464, 0.5605936050415039, -0.27049946784973145, 0.5319681167602539, 0.44264113903045654, -0.15879839658737183, 0.12225838750600815, -0.47836360335350037, 0.11495934426784515, -0.43117377161979675, 0.021489281207323074, -0.5249038338661194, -0.9627361297607422, 0.5308299660682678, -0.12584790587425232, 0.39898917078971863, -0.06355622410774231, 0.31282690167427063, -0.19934462010860443, 0.8102221488952637, 0.5337743163108826, -0.10324306786060333, 0.5326988697052002, 0.05729438364505768, 0.26630696654319763, -0.5452906489372253, -0.2383774071931839, -0.5107269883155823, -0.20607438683509827, -0.09519387036561966, -0.21603631973266602, 0.01773815229535103, 0.14058414101600647, -0.18938417732715607, 0.7247269749641418, -0.5996826887130737, 0.36053043603897095, -0.10484668612480164, 0.2058526873588562, 0.4217458963394165, -0.03325343504548073, -0.2028559148311615, -0.14819292724132538, -0.28090977668762207, -0.6419121623039246, 1.0189348459243774, 0.30368757247924805, 0.33080294728279114, 0.04683371260762215, 0.3582824468612671, 0.4078930616378784, 0.3482297658920288, -0.5460659265518188, 0.5240976810455322, -0.26460590958595276, -0.21844784915447235, -0.42384621500968933, 0.014643429778516293, -1.044392466545105, 0.492557555437088, -0.35630670189857483, -0.40825924277305603, 0.34017783403396606, 0.19386529922485352, -0.42121851444244385, 0.17345231771469116, -0.6424004435539246, 0.5444570183753967, -0.5364387035369873, 0.09846332669258118, -0.24995958805084229, -0.6972740292549133, 0.2133697122335434, 0.00717474240809679, 0.3308050334453583, -0.1455516666173935, 0.1747961938381195, 0.4251895844936371, -0.14668093621730804, 1.1146512031555176, -0.304868221282959, -0.1986330896615982, 0.24482981860637665, -0.01979842409491539, 0.47450122237205505, -0.20777370035648346, -0.45049092173576355, 0.29488903284072876, -0.17147505283355713, -0.265848308801651, -0.27625229954719543, 0.4277862012386322, -0.5976178646087646, 0.15615084767341614, -0.5044153928756714, 0.003681804984807968, -0.09468977898359299, 0.11187390238046646, 0.06715307384729385, 0.39746102690696716, -0.6152402758598328, -0.06904838234186172, 0.4595629572868347, -0.09887991100549698, 0.8689165711402893, 0.802619218826294, 0.053482137620449066, -0.318159282207489, 0.5014969706535339, -0.048559755086898804, 0.5472255945205688, 0.23888647556304932, 0.15306030213832855, -0.194451242685318, -1.0621522665023804, -0.2780127227306366, -0.005836868658661842, -0.8210194706916809, 0.08906487375497818, -0.2017160952091217, -0.05726339668035507, -0.5905280113220215, -0.1605067402124405, -0.09445953369140625, -0.44101423025131226, -0.16570807993412018, -0.24566568434238434, 0.3222189247608185, 0.4585484564304352, -0.16389349102973938, 0.25717365741729736, -0.44655629992485046, 0.15966840088367462, 0.04859278351068497, 0.02555578202009201, 0.2740091383457184, -0.3280865252017975, -0.1947617530822754, -0.026759320870041847, 0.038781650364398956, -0.5092284083366394, -0.049163978546857834, 0.5357430577278137, 0.45350193977355957, 0.6821016669273376, -0.12227686494588852, 0.8640089631080627, -0.3654335141181946, 0.9131379723548889, 0.7216924428939819, -0.8867977261543274, 0.20960582792758942, -0.030209504067897797, 0.41782665252685547, 0.7278345227241516, 0.3166845142841339, -0.7381072044372559, -0.27067896723747253, -0.273896723985672, -0.598900556564331, 0.02360820211470127, 0.3427634835243225, -0.00103278539609164, 0.11969783157110214, 0.3755856156349182, 0.3365117907524109, -0.050385184586048126, -0.8694515228271484, -0.06655150651931763, -0.03359082713723183, -0.18038904666900635, 0.19345656037330627, 0.21114730834960938, 0.2895883321762085, -0.34665045142173767, 0.21829549968242645, 0.02412569709122181, -0.09622660279273987, -0.06064344942569733, -0.39742112159729004, 0.1179521307349205, 0.13969764113426208, 0.8505721092224121, 0.8203036785125732, 0.37466558814048767, -0.22632142901420593, 0.632401704788208, -0.7662177681922913, -0.029272273182868958, -0.3062533736228943, -0.17752738296985626, 0.2797389626502991, 0.6531281471252441, 0.9312292337417603, 0.1669677495956421, -0.9063382148742676, 0.36557525396347046, -0.08814851939678192, -0.11852826923131943, -0.8485060334205627, 0.012683835811913013, -0.2851879894733429, 0.18640445172786713, 0.267614483833313, 0.07085726410150528, 0.18144240975379944, -0.25757691264152527, 0.14051397144794464, 0.6163650751113892, -0.7738269567489624, -0.25478455424308777, 0.32044100761413574, 0.0702642947435379, -0.3403814435005188, 0.7124660015106201, 0.11876606941223145, -0.25797808170318604, 0.6607576608657837, 0.14133457839488983, 0.7749232649803162, -0.2510237395763397, 0.2871815264225006, 0.62043297290802, 0.14937937259674072, 0.09595177322626114, 0.409641832113266, -0.5994067788124084, -0.6649217009544373, -0.5924201011657715, -0.39762791991233826, -0.6168744564056396, 0.023145053535699844, -0.7608304023742676, 0.36278191208839417, -0.7820661067962646, -0.04246130585670471, -0.042535364627838135, -0.033479977399110794, -0.9014908671379089, 0.6382239460945129, 0.5858917236328125, 0.7367121577262878, -1.0810664892196655, 0.5749841332435608, 0.33896663784980774, -0.2754691243171692, -0.6750966906547546, -0.19418954849243164, 0.13073483109474182, -0.8880517482757568, 0.9061081409454346, 0.09090636670589447, -0.5043986439704895, -0.20076726377010345, -0.5269365310668945, -0.9712699055671692, 0.909295916557312, -0.16614210605621338, -0.9943111538887024, 0.3299742639064789, 0.6518707871437073, 0.7517393231391907, -0.1524573564529419, 0.1756974160671234, 0.787262499332428, 0.4225188195705414, 0.07533733546733856, -0.9406414031982422, 0.1162010133266449, 0.04250442609190941, 0.054577119648456573, 0.07637587934732437, -0.48252546787261963, 0.30193430185317993, -0.2347882091999054, -0.6933069825172424, 0.5618990063667297, 0.9984689950942993, 0.5799135565757751, 0.425136923789978, 0.4683472812175751, 0.3585999310016632, 0.8853429555892944, -0.13675256073474884, 0.6612749695777893, -0.14117193222045898, 0.2918139696121216, 0.8465215563774109, -0.569007933139801, 0.8726646304130554, 0.36446383595466614, -0.3527005910873413, 0.5555630326271057, 0.4671288728713989, -0.17002080380916595, 0.5978696346282959, 0.5715765357017517, -0.31783249974250793, -0.36787325143814087, 0.25091272592544556, -0.23959419131278992, 0.19405145943164825, 0.42692646384239197, -0.43071091175079346, -0.16419504582881927, 0.5842849016189575, 0.10547541826963425, 0.32980072498321533, -0.3033885359764099, 0.6765009164810181, 0.38189586997032166, -0.3554825782775879, 0.6054718494415283, -0.3799479305744171, 0.671285092830658, -0.5247364044189453, -0.023614484816789627, -0.06945831328630447, 0.33360782265663147, -0.3330364525318146, -0.6291829347610474, 0.24454958736896515, 0.07999320328235626, 0.26997122168540955, -0.42149460315704346, 0.8388141989707947, 0.1446138620376587, -0.4896676540374756, 0.20494413375854492, -0.061136554926633835, 0.5774575471878052, 0.5375156402587891, -0.9767096042633057, 0.4922187328338623, -0.17226539552211761, 0.06889836490154266, 0.039084888994693756, 0.12545375525951385, -0.06598029285669327, 0.616067111492157, 0.7960327863693237, 0.009017969481647015, 0.18049411475658417, 0.395098477602005, 0.5736796855926514, -0.6947629451751709, -0.26849356293678284, -0.5853224992752075, 0.7650715112686157, -0.36101385951042175, -0.8587602972984314, 0.9195253252983093, 0.5356736183166504, 0.6844643950462341, -0.308142751455307, 0.7438865303993225, -0.024896996095776558, 0.6832029819488525, -0.6892874836921692, 0.537209689617157, 0.041045382618904114, 0.029044153168797493, -0.42594245076179504, -0.3414722979068756, -0.6325255036354065, 0.6186964511871338, -0.24861803650856018, 0.021001165732741356, 0.5902972221374512, 0.5047385692596436, 0.05853300541639328, 0.03865234553813934, 0.3543814420700073, -0.4446502923965454, 0.22055885195732117, 0.5973569750785828, 0.9259823560714722, -0.655250608921051, 0.44952550530433655, 0.10212830454111099, 0.11119517683982849, 0.0871611163020134, -0.8916326761245728, -1.1007405519485474, -0.47400322556495667, -0.7263748645782471, -0.31167852878570557, 0.1965789645910263, 0.522966206073761, 0.8694274425506592, -1.0663541555404663, -0.4233514070510864, -0.2837892770767212, -0.35087132453918457, -0.8420257568359375, -0.17473727464675903, 0.44719478487968445, -0.20549993216991425, -0.37811532616615295, 0.8553000688552856, -0.20196637511253357, 0.2409997135400772, -0.12358613312244415, -0.5148091912269592, 0.24022503197193146, -0.21375109255313873, 0.5623236894607544, 0.9387269020080566, -0.7705227136611938, -0.27171117067337036, 0.03225092962384224, 0.0021139122545719147, -0.10201422870159149, 0.9416681528091431, -0.7212826013565063, 0.13683263957500458, 0.4846007227897644, 0.43622061610221863, 0.6004515886306763, -0.09532688558101654, 0.2812313139438629, -0.5538595914840698, 0.1516636461019516, 0.27391764521598816, 0.04730673506855965, 0.49620407819747925, -0.2915463447570801, 0.5444822907447815, -0.05152997374534607, -0.10683748871088028, -0.7757981419563293, 0.4612290561199188, -1.1220753192901611, -0.34407275915145874, 1.0710948705673218, -0.25495773553848267, 0.27123650908470154, -0.4901299774646759, 0.1513347178697586, 0.02860267274081707, -0.08854866772890091, 0.2564852833747864, 0.39158883690834045, -0.37013471126556396, -0.5389357805252075, -0.2856135964393616, 0.5935606360435486, 0.23505258560180664, -0.21036070585250854, -0.1257959008216858, 0.44717925786972046, 0.44474658370018005, 0.07834334671497345, 0.6002576947212219, -0.2990822196006775, 0.4513276219367981, -0.3048625588417053, 0.15888890624046326, -0.11027552932500839, -0.0427299365401268, -0.6627805829048157, 0.20155872404575348, 0.14750432968139648, -0.20185285806655884 ]
http://arxiv.org/abs/2406.12364v1
http://arxiv.org/pdf/2406.12364v1
Does Context Help Mitigate Gender Bias in Neural Machine Translation?
2024-06-18T07:44:13
2024-06-18T07:44:13
Harritxu Gete, Thierry Etchegoyhen
cs.CL
cs.CL
Neural Machine Translation models tend to perpetuate gender bias present in their training data distribution. Context-aware models have been previously suggested as a means to mitigate this type of bias. In this work, we examine this claim by analysing in detail the translation of stereotypical professions in English to German, and translation with non-informative context in Basque to Spanish. Our results show that, although context-aware models can significantly enhance translation accuracy for feminine terms, they can still maintain or even amplify gender bias. These results highlight the need for more fine-grained approaches to bias mitigation in Neural Machine Translation.
[ -0.22289417684078217, -0.6393793225288391, 0.4147195816040039, 0.2954610586166382, 0.025017185136675835, -0.5182133316993713, -0.13308271765708923, -0.4107425808906555, -0.2809422016143799, 0.5277422070503235, -0.771149754524231, -0.38046276569366455, -0.7628707885742188, 0.34173333644866943, -0.5830903053283691, 0.8927583694458008, 0.05855605751276016, 0.7006005048751831, -0.18152233958244324, -0.17074891924858093, -1.0340138673782349, -0.7199053168296814, -0.5438504815101624, -0.6587650179862976, 0.254730224609375, 0.023917172104120255, 0.6319867372512817, 0.5590500831604004, 0.2851465940475464, 0.2274123579263687, -0.360792338848114, 0.15879428386688232, -0.20688410103321075, 0.2767389714717865, -0.19179604947566986, -0.7021270394325256, -0.49896666407585144, -0.0031448311638087034, 0.676234245300293, 0.9998594522476196, 0.15128521621227264, 0.04115922376513481, 0.06272309273481369, 0.7205492854118347, -0.4389280378818512, -0.11868259310722351, -0.6549060344696045, 0.44228628277778625, -0.0373544879257679, -0.31381115317344666, -0.5245966911315918, -0.051641639322042465, 0.3795132339000702, -0.3209363520145416, 0.49548062682151794, 0.053698085248470306, 0.45700153708457947, 0.4404425323009491, -0.968726396560669, -0.11252573877573013, -0.8373100757598877, 0.8345447778701782, -0.6279658675193787, 0.3371499478816986, 0.38287848234176636, 0.4577803313732147, -0.19397766888141632, -0.21644552052021027, -0.1401507705450058, 0.1338210254907608, -0.28903135657310486, -0.049767352640628815, -0.38919034600257874, -0.08699469268321991, 0.35826271772384644, -0.15181219577789307, -0.1350329965353012, 0.04438098147511482, -0.42822471261024475, -0.17184476554393768, 0.37090548872947693, 0.11018124967813492, 0.6556162238121033, -0.2718586027622223, -0.28174230456352234, 0.046391505748033524, -0.8979974389076233, -0.10157767683267593, 0.5417910814285278, 0.37400102615356445, -0.023285429924726486, 0.4667746126651764, -0.06885585188865662, 0.633050799369812, 0.03751145303249359, 0.03618689998984337, 0.15470732748508453, -0.2443314641714096, -0.2061547338962555, 0.3665356934070587, 0.3878514766693115, 0.5491092801094055, 0.34562501311302185, -0.37772810459136963, -0.2082386165857315, -0.1609175056219101, 0.5080455541610718, -0.6381396055221558, 0.20019148290157318, -0.03255082294344902, -0.507125973701477, -0.40957459807395935, -0.1672292798757553, -0.4962255358695984, -0.258094847202301, -0.3699673116207123, 0.15979839861392975, -0.19653144478797913, -0.06208004802465439, 0.06416860967874527, -0.45684173703193665, 0.05579761043190956, 0.35205888748168945, -1.0216522216796875, 0.060866355895996094, 0.549548327922821, 0.6812570095062256, 0.25137200951576233, -0.1884450763463974, -0.2145642191171646, 0.24049057066440582, -0.6019136905670166, 0.3031662702560425, -0.3248668611049652, -0.36480358242988586, -0.12891624867916107, 0.12338059395551682, -0.22899901866912842, -0.4739089012145996, 0.40334752202033997, -0.3523222506046295, 0.3237426280975342, -0.5248054265975952, -0.10884853452444077, -0.19968755543231964, 0.13210232555866241, -0.5082776546478271, 0.7463456988334656, 0.016643667593598366, -1.0250085592269897, 0.49594637751579285, -0.5910564661026001, -0.6103344559669495, -0.5289624333381653, -0.2135576605796814, -0.172311931848526, 0.317507266998291, 0.45955467224121094, 0.28388968110084534, -0.21195705235004425, 0.5228105187416077, 0.04710863158106804, -0.32871800661087036, 0.522932767868042, -0.5882443785667419, 0.6960436701774597, 0.020268958061933517, -0.7060957551002502, 0.24708402156829834, 0.038669418543577194, -0.34796395897865295, -0.10406116396188736, -0.02411501854658127, -0.6488184332847595, -0.033392444252967834, 0.17292192578315735, 0.695038378238678, -0.08585023880004883, -0.2268051952123642, -0.028953881934285164, -0.3944013714790344, 0.7186591625213623, 0.663378119468689, -0.4124414920806885, 1.1080864667892456, -0.10089514404535294, 0.5142830014228821, 0.26652225852012634, -0.06742894649505615, 0.1229758933186531, -0.5502876043319702, -0.5468986630439758, -0.2425788938999176, 0.44653934240341187, 0.6339375376701355, -0.7687150835990906, 0.4216175079345703, -0.24828840792179108, -0.18820808827877045, -0.582892119884491, 0.05758553743362427, 0.7001861333847046, 1.0227795839309692, 0.4629576504230499, -0.06831154227256775, -0.5981931090354919, -1.3572607040405273, -0.5785570740699768, 0.4015006422996521, -0.2260088324546814, 0.4458795189857483, 0.6270819306373596, -0.48346519470214844, 0.9804778099060059, -0.18124490976333618, -0.3538137972354889, -0.13966012001037598, 0.05249405652284622, 0.0001775968266883865, 0.7382286190986633, 0.8906123042106628, -0.9347890615463257, 0.09912360459566116, -0.16840842366218567, -0.8731588125228882, -0.2590939700603485, -0.0482422411441803, -0.6020871996879578, 0.162260502576828, 0.5230885744094849, -0.4330044984817505, 0.3207261562347412, 0.5413011908531189, -0.6333609819412231, 0.1823563426733017, -0.22854366898536682, 0.07448481768369675, -1.1214258670806885, 0.36202293634414673, 0.0006722937105223536, -0.5909792184829712, -0.7901648283004761, -0.06759855151176453, 0.15674754977226257, 0.20296244323253632, -0.5583080649375916, 0.7747333645820618, -0.3349342346191406, -0.26375478506088257, -0.2931087613105774, 0.024203423410654068, -0.04547754302620888, -0.06977921724319458, 0.2614365816116333, 0.923462450504303, 0.2595861554145813, -0.7857101559638977, -0.49552950263023376, 0.4765995740890503, 0.012692918069660664, 0.7031627893447876, -0.5137972831726074, 0.02326817624270916, -0.41469356417655945, 0.5485115051269531, -0.6827815175056458, -0.20677243173122406, 0.18499699234962463, -0.43762874603271484, 0.19645965099334717, -0.257669597864151, -0.2566346824169159, -0.13208022713661194, 0.02000052109360695, 0.2888757288455963, 0.34280431270599365, -0.4622725248336792, 0.24996758997440338, 0.26400935649871826, 0.10262078791856766, -0.9722182154655457, -1.322753667831421, 0.08003835380077362, -0.3555213212966919, -0.5479393005371094, 0.598207950592041, 0.1258831024169922, -0.23857896029949188, -0.2622695565223694, -0.2924579381942749, -0.09215470403432846, 0.40235698223114014, 0.08235672116279602, 0.24343693256378174, -0.03966489061713219, 0.16479375958442688, 0.38343340158462524, -0.022312598302960396, 0.10505534708499908, -0.3452218770980835, 0.5985395908355713, 0.004385081119835377, -0.07902970910072327, -0.1443164050579071, 0.4572871923446655, 0.5682970881462097, 0.032320138067007065, 0.9620747566223145, 0.6839228272438049, -0.5594760775566101, -0.16239698231220245, -0.2690166234970093, -0.6503750085830688, -0.4269130229949951, 0.4011825919151306, -0.4418301284313202, -0.9226253628730774, 0.6268843412399292, 0.004696979187428951, -0.19653677940368652, 0.5706678032875061, 0.39923474192619324, -0.3222648501396179, 1.4298142194747925, 0.6168832182884216, -0.03167419135570526, 0.5134763717651367, -0.056992389261722565, 0.13811875879764557, -1.1461766958236694, -0.0052156164310872555, -0.6411287784576416, -0.7036941647529602, -0.7105480432510376, -0.24178671836853027, 0.2750477194786072, 0.18140241503715515, -0.28996869921684265, 0.31581029295921326, -0.6213781833648682, 0.21111898124217987, 0.618227481842041, 0.0994361937046051, 0.12457823753356934, 0.025858953595161438, 0.05620685592293739, -0.3936239182949066, -0.8760637044906616, -0.7352654933929443, 1.0792421102523804, 0.5211899876594543, 0.14935162663459778, 0.20214088261127472, 0.3198168873786926, 0.31372272968292236, 0.3158751428127289, -0.27730369567871094, 0.31799864768981934, -0.47476035356521606, -1.094014286994934, -0.06473658978939056, -0.585360050201416, -0.8245450258255005, 0.2600422501564026, -0.19690774381160736, -0.6694028377532959, 0.5130125880241394, 0.28440412878990173, 0.20216549932956696, 0.24357570707798004, -0.5602417588233948, 0.9547854065895081, -0.20622222125530243, -0.23035883903503418, 0.09963838011026382, -0.6548993587493896, 0.4927894175052643, -0.08042153716087341, 0.32021158933639526, 0.0010850679827854037, -0.07906503975391388, 0.5766249299049377, -0.18570007383823395, 1.0331000089645386, -0.22571493685245514, -0.13357652723789215, -0.23010334372520447, 0.20156599581241608, 0.22010959684848785, 0.00687893433496356, -0.1309385895729065, 0.45791107416152954, -0.17198561131954193, -0.451332151889801, -0.29213398694992065, 0.4260100722312927, -0.7744367718696594, -0.5159039497375488, -0.12002535164356232, -1.0595653057098389, -0.04103785753250122, 0.28523313999176025, 0.5741595029830933, 0.14726665616035461, -0.1768869310617447, 0.11305259168148041, 0.6613237857818604, -0.21437576413154602, 0.24230153858661652, 0.3099387288093567, -0.09817440062761307, -0.10489363968372345, 0.17856371402740479, 0.15157730877399445, 0.19602687656879425, 0.1846296191215515, 0.1281091719865799, -0.2431543469429016, -0.1355964094400406, -0.8065085411071777, -0.08498493582010269, -0.9634572267532349, -0.03652629256248474, -0.9063199162483215, 0.08666065335273743, -0.5246469378471375, -0.3680128753185272, -0.29159557819366455, -0.5877583622932434, -0.10090122371912003, -0.019924001768231392, 0.27343472838401794, 0.44656866788864136, 0.40494805574417114, 0.700176477432251, -0.4637487530708313, 0.12671631574630737, 0.10058565437793732, -0.17238955199718475, -0.24060551822185516, -0.6505002975463867, 0.17849645018577576, 0.223244771361351, -0.03594715893268585, -1.0734797716140747, 0.8166157007217407, -0.062485355883836746, 0.5247107744216919, 0.2084667682647705, -0.22981461882591248, 0.3204793632030487, -0.6284982562065125, 0.6545023322105408, 0.07186108082532883, -1.1746076345443726, 0.6662073731422424, -0.7102270126342773, 0.4672618806362152, 0.41476109623908997, 0.2792443037033081, -0.7570134401321411, -0.28084778785705566, -0.31162700057029724, -0.8909425735473633, 0.7803373336791992, 0.24374699592590332, 0.6111122369766235, -0.06404063105583191, 0.48931261897087097, 0.12540499866008759, 0.7407671213150024, -0.7330800890922546, -0.31784337759017944, -0.13447338342666626, -0.14201204478740692, -0.07706384360790253, -0.15684932470321655, -0.42415133118629456, -0.37701836228370667, 0.579036295413971, -0.15312212705612183, 0.6042614579200745, 0.28290724754333496, -0.3274412453174591, 0.07787331193685532, 0.4598446190357208, 0.9105749726295471, 0.48157697916030884, -0.1817365288734436, 0.1569863110780716, 0.41511785984039307, -0.3417000472545624, 0.17129038274288177, -0.1575898379087448, -0.86512291431427, 0.27480456233024597, 0.31529471278190613, 0.8320544362068176, 0.4030311703681946, -0.3618800640106201, 0.4090821146965027, 0.012142742983996868, -0.25390443205833435, -0.14589394629001617, -0.017116116359829903, 0.2806141972541809, 0.3023805022239685, 0.2959730923175812, 0.5792837142944336, 0.3291812241077423, -0.45532146096229553, -0.12079235166311264, 0.42987632751464844, -0.5038737654685974, -0.098171167075634, 0.944648265838623, 0.25013643503189087, -0.22485487163066864, 0.5521848201751709, 0.1800030916929245, -0.8461898565292358, 0.9771924614906311, 0.961051881313324, 1.0240542888641357, -0.3392578959465027, -0.02226865477859974, 0.3475904166698456, 0.5732608437538147, -0.38721174001693726, 0.09195996820926666, -0.012520071119070053, -0.7655591368675232, -0.07588478922843933, -0.25782719254493713, -0.16925759613513947, -0.35215094685554504, -0.5545967221260071, 0.2732701897621155, -0.057385917752981186, -0.5251080989837646, -0.19676955044269562, -0.6989905834197998, -0.8617900013923645, 0.28281015157699585, 0.05431869626045227, 0.8346303701400757, -1.056300401687622, 0.9235116243362427, 0.8236787915229797, -0.293563574552536, -0.40337103605270386, -0.020619219169020653, -0.0032637605909258127, -0.21677745878696442, 1.157625675201416, 0.3995758891105652, -0.3021964132785797, -0.11938893049955368, -0.19615933299064636, -0.7151609063148499, 1.1107743978500366, 0.6987990736961365, -0.48871904611587524, -0.1653401106595993, 0.21340911090373993, 0.4824278950691223, -0.5846678018569946, 0.37691056728363037, 0.536638617515564, 0.652895987033844, -0.4616915285587311, -1.066146731376648, 0.01766497828066349, -0.2963641583919525, 0.30958762764930725, -0.10253186523914337, -0.04510568082332611, 0.9650006890296936, 0.26830825209617615, 0.1371975839138031, -0.3285573422908783, 0.2714232802391052, -0.0338229276239872, 0.4340459108352661, 0.3972136378288269, 0.05006522312760353, 0.7280391454696655, -0.2799433171749115, 1.1334294080734253, -0.22298572957515717, -0.07870197296142578, 1.1824508905410767, -0.11941944807767868, 0.5672462582588196, 0.6690168976783752, 0.31759777665138245, 0.25378456711769104, 0.5157805681228638, 0.21730004251003265, 0.48300331830978394, -0.002696454059332609, -0.22462429106235504, -0.16260701417922974, -0.29597753286361694, -0.5630569458007812, 0.5795437097549438, 0.21527449786663055, -1.0616592168807983, 0.009136823937296867, 0.27549251914024353, 0.3371143341064453, 0.19929824769496918, -0.208903506398201, 0.4868607521057129, 0.2503797709941864, -0.7084931135177612, 0.3825967311859131, 0.42186036705970764, 1.0059958696365356, -0.33523446321487427, 0.13960708677768707, -0.2283497303724289, 0.22405236959457397, -0.28868043422698975, -0.3043366074562073, 0.5978169441223145, -0.02605513669550419, -0.7013026475906372, -0.5696604251861572, 0.9435326457023621, -0.5561768412590027, -0.3880154490470886, 0.36547067761421204, 0.7209922671318054, -0.040400903671979904, -0.12322968989610672, -0.5297363996505737, -0.4632662236690521, -0.07086165994405746, -0.12654966115951538, 0.35801124572753906, 0.09467408061027527, -0.49791279435157776, 0.6903531551361084, 0.5179538130760193, 0.00008884593262337148, 0.22070398926734924, 0.011840625666081905, 0.4698576033115387, -0.4387524127960205, -0.5615531206130981, -1.0808470249176025, 0.44063130021095276, -0.15650328993797302, -0.3376985192298889, 0.8545205593109131, 0.31910836696624756, 0.7881007790565491, -0.427956223487854, 0.608869194984436, 0.2487916499376297, 0.08246229588985443, -0.3886875808238983, 1.1049140691757202, -0.4338139593601227, 0.22238966822624207, -0.43101146817207336, -0.9573784470558167, -0.4255852997303009, 0.7181336879730225, -0.8274625539779663, 0.24677634239196777, 0.5125667452812195, 0.6705836057662964, -0.22115790843963623, -0.0031353093218058348, 0.24139270186424255, -0.1345694363117218, 0.01310511864721775, 0.2404525876045227, 0.5644689202308655, -0.646855354309082, 0.2316274344921112, -0.19254609942436218, 0.11240513622760773, -0.2756292223930359, -1.0921663045883179, -0.9354180693626404, -0.2512322962284088, -0.2256508469581604, -0.28326815366744995, 0.2857671082019806, 0.7437916994094849, 1.0902442932128906, -0.5554196834564209, -0.06999730318784714, -0.36103498935699463, 0.24894066154956818, -0.29835930466651917, -0.1470910906791687, 0.1620682179927826, -0.35767069458961487, -0.9168840050697327, 0.44294649362564087, -0.2115955501794815, -0.01490357518196106, -0.27854210138320923, -0.14821608364582062, -0.10817930847406387, 0.17267701029777527, 0.47638919949531555, -0.28611764311790466, -0.6136560440063477, -0.20520959794521332, 0.2060299813747406, -0.4694216549396515, 0.08992661535739899, 0.7895119190216064, -0.5588201284408569, 0.49932312965393066, 0.6267503499984741, 0.5397160649299622, 0.28103530406951904, -0.1451469361782074, 1.1116652488708496, -1.1981403827667236, 0.47042226791381836, 0.08970039337873459, 0.40758243203163147, 0.4963695704936981, -0.8219379186630249, 0.6397895812988281, 0.11172625422477722, -0.26002827286720276, -0.7994203567504883, 0.21077927947044373, -0.3617408275604248, -0.5965721011161804, 1.0239437818527222, 0.0068724812008440495, -0.3281656801700592, 0.056407563388347626, -0.3406488299369812, 0.5699176788330078, -0.20562130212783813, 0.6553025245666504, 0.8146429061889648, 0.2889818847179413, -0.07660786807537079, -1.3429310321807861, 0.5602666735649109, 0.9684705138206482, -0.623843252658844, -0.07404343783855438, 0.3924686312675476, 0.44035083055496216, -0.05091719701886177, 0.41764751076698303, -0.13040947914123535, 0.39392581582069397, -0.23368389904499054, 0.315125048160553, 0.07035703957080841, -0.2968991696834564, -0.4670041501522064, -0.24537867307662964, -0.19206906855106354, -0.008180749602615833 ]
http://arxiv.org/abs/2406.12354v1
http://arxiv.org/pdf/2406.12354v1
Cross-Lingual Unlearning of Selective Knowledge in Multilingual Language Models
2024-06-18T07:40:18
2024-06-18T07:40:18
Minseok Choi, Kyunghyun Min, Jaegul Choo
cs.CL
cs.CL
Pretrained language models memorize vast amounts of information, including private and copyrighted data, raising significant safety concerns. Retraining these models after excluding sensitive data is prohibitively expensive, making machine unlearning a viable, cost-effective alternative. Previous research has focused on machine unlearning for monolingual models, but we find that unlearning in one language does not necessarily transfer to others. This vulnerability makes models susceptible to low-resource language attacks, where sensitive information remains accessible in less dominant languages. This paper presents a pioneering approach to machine unlearning for multilingual language models, selectively erasing information across different languages while maintaining overall performance. Specifically, our method employs an adaptive unlearning scheme that assigns language-dependent weights to address different language performances of multilingual language models. Empirical results demonstrate the effectiveness of our framework compared to existing unlearning baselines, setting a new standard for secure and adaptable multilingual language models.
[ -0.08577492088079453, -0.542361855506897, 0.006293626967817545, -0.07019608467817307, -0.28437384963035583, 0.3429485857486725, -0.43523970246315, -0.3740873336791992, -0.1995326280593872, 0.761502206325531, -0.4448981285095215, -0.29818615317344666, -0.4989085793495178, -0.22018398344516754, -0.19000118970870972, 1.0142143964767456, -0.008665456436574459, 0.21584847569465637, -0.07388520985841751, -0.534371018409729, -0.35831761360168457, -0.758317232131958, -0.2677239775657654, -0.45617592334747314, 0.5827605724334717, 0.4175993502140045, 0.5506247878074646, 0.44215816259384155, 0.19577042758464813, 0.2414204329252243, -0.005675164982676506, 0.05948745831847191, -0.704664945602417, 0.18279032409191132, -0.500105082988739, -0.4479328989982605, -0.027249721810221672, -0.16372646391391754, 0.7522600293159485, 1.0213900804519653, -0.2678844928741455, 0.11906252056360245, 0.2739536464214325, 0.8259413242340088, -1.0700970888137817, -0.06981731951236725, -1.0026229619979858, 0.17309902608394623, -0.3264634609222412, -0.06392641365528107, -0.7166003584861755, 0.19262045621871948, -0.04850124940276146, -0.7275741696357727, 0.14102239906787872, -0.2385215312242508, 0.5055000185966492, 0.07307954132556915, -0.3114892244338989, -0.09198086708784103, -0.7091614603996277, 1.039932131767273, -0.21210190653800964, 0.8498197197914124, 0.6021040081977844, 0.16333158314228058, 0.2607141435146332, -0.5722457766532898, 0.07846863567829132, 0.1619827002286911, -0.0999152809381485, 0.0949321910738945, -0.4194067716598511, -0.2763950824737549, 0.015586871653795242, -0.043167538940906525, -0.4944421052932739, 0.34798216819763184, -0.5649484992027283, -0.2914115786552429, 0.3698892593383789, -0.3459516167640686, 0.3435569703578949, 0.09594331681728363, -0.4580744206905365, 0.01384846679866314, -0.8370781540870667, 0.004781439900398254, 0.41243982315063477, 0.501539409160614, -0.07804443687200546, 0.32449665665626526, -0.18695922195911407, 0.39149099588394165, -0.13413257896900177, -0.19263547658920288, 0.3240872919559479, -0.12184419482946396, -0.13414590060710907, 0.08196870237588882, 0.674959123134613, 0.004339470528066158, 0.46258604526519775, -0.5658854246139526, -0.15855728089809418, -0.1868763118982315, 0.19195011258125305, -0.7050080299377441, -0.2750590145587921, -0.08731777220964432, -0.47089919447898865, -0.11155006289482117, -0.1523294597864151, -0.8057904243469238, -0.39289698004722595, -0.07532351464033127, 0.3906802833080292, -0.47673726081848145, -0.43912774324417114, -0.11271525174379349, -0.06299494206905365, -0.20874638855457306, -0.00910225324332714, -1.0059001445770264, 0.11681366711854935, 0.3303847312927246, 0.5131136178970337, -0.06464776396751404, -0.697959303855896, -0.49717000126838684, 0.38624072074890137, -0.31529903411865234, 0.3906761109828949, -0.6768726706504822, -0.372994601726532, -0.03298962861299515, 0.24358703196048737, -0.16241420805454254, -0.5534561276435852, -0.04609754681587219, -0.8900061845779419, 0.1985921859741211, -0.20803329348564148, -0.39965617656707764, -0.3562719523906708, 0.03281547874212265, -0.7248197793960571, 0.7099893093109131, 0.03167906031012535, -0.8660361170768738, 0.500459611415863, -0.40876057744026184, -0.6101577877998352, -0.18136756122112274, 0.13255123794078827, -0.4454633891582489, 0.019240787252783775, 0.2453232705593109, 0.24181681871414185, -0.24392864108085632, 0.2599511742591858, -0.36066290736198425, -0.018321750685572624, 0.1574528068304062, -0.6334356665611267, 1.0966392755508423, 0.47165003418922424, -0.05603545531630516, 0.053661081939935684, -0.8523334264755249, 0.1516728550195694, 0.1778535395860672, -0.4490491449832916, -0.6161425709724426, -0.19608192145824432, 0.06571713835000992, 0.1005859225988388, 0.4429294168949127, -0.4971143305301666, -0.08821450918912888, -0.16422870755195618, 0.30792471766471863, 0.7712311744689941, -0.12788444757461548, 0.7454848885536194, -0.378064900636673, 0.5504213571548462, 0.13462257385253906, 0.176556795835495, -0.1359015852212906, -0.22463145852088928, -0.49927136301994324, -0.44888418912887573, 0.47739171981811523, 0.7098557949066162, -0.7519295811653137, -0.08525251597166061, 0.03127237781882286, -0.5765279531478882, -0.753452718257904, 0.6574358344078064, 0.8120645880699158, 0.34480375051498413, 0.43938761949539185, -0.21596503257751465, -0.5383409261703491, -0.7473236918449402, -0.6199637055397034, -0.0949026569724083, 0.05856230482459068, -0.0476040281355381, 0.3095841109752655, -0.23023851215839386, 0.5250285863876343, -0.15367990732192993, -0.05935603380203247, -0.4002425968647003, 0.1661638468503952, -0.3134978711605072, 0.6702236533164978, 0.4402458965778351, -0.8886150121688843, -0.5278529524803162, 0.3307980000972748, -0.8885645866394043, 0.016314497217535973, -0.022220218554139137, -0.2315186709165573, 0.42132365703582764, 0.47286105155944824, -0.18369464576244354, 0.21916277706623077, 0.7048091888427734, -0.028448842465877533, 0.2116471827030182, -0.5368350744247437, -0.08523835241794586, -0.9271970987319946, 0.32043617963790894, -0.5030863285064697, -0.16355666518211365, -0.899725079536438, 0.26948994398117065, 0.3161376714706421, -0.13384169340133667, -0.6477255821228027, 0.7071135640144348, -0.8351109027862549, -0.032775942236185074, -0.27961063385009766, -0.13034364581108093, 0.054100438952445984, 0.6553492546081543, 0.18700328469276428, 0.3937690556049347, 0.672707736492157, -0.5231508016586304, -0.0351930670440197, 0.04929693788290024, -0.37092339992523193, 0.3841238021850586, -0.26742544770240784, 0.22931493818759918, -0.31574785709381104, -0.26287418603897095, -0.5019306540489197, 0.06897882372140884, -0.03519885614514351, -0.2804795801639557, 0.5159504413604736, -0.5431711673736572, -0.14608824253082275, 0.33222681283950806, -0.09637713432312012, 0.7639455199241638, 0.5231744647026062, -0.6073144674301147, 0.6050323247909546, 0.873047411441803, -0.1863505095243454, -0.909778892993927, -0.6990596055984497, -0.11047393828630447, -0.23259523510932922, -0.33581751585006714, 0.19817599654197693, -0.10307293385267258, -0.23030832409858704, -0.08460836857557297, 0.008644578978419304, -0.5918926000595093, 0.3363152742385864, 0.09871257841587067, 0.06715930998325348, 0.04310707375407219, 0.12834511697292328, 0.07740779221057892, -0.2994866967201233, -0.20299945771694183, -0.5296589136123657, 0.5294914841651917, 0.2805696427822113, -0.5516636371612549, -0.13962000608444214, 0.6390557885169983, 0.6341602802276611, -0.6020777225494385, 0.7971131205558777, 0.678150475025177, -0.7668939828872681, -0.3905056416988373, -0.3064824342727661, -0.029056638479232788, -0.4502720534801483, 0.4749279320240021, -0.4110417366027832, -0.7577822804450989, 0.6567332148551941, 0.11546897143125534, 0.3704361915588379, 0.06785335391759872, 0.5481913089752197, 0.2397496998310089, 1.0420687198638916, 1.0439093112945557, -0.278567373752594, 0.5886052846908569, 0.1877978891134262, 0.12242939323186874, -0.4159228205680847, -0.3030702769756317, -0.5131940841674805, -0.07447929680347443, -0.6799368858337402, -0.3023472726345062, 0.1203235313296318, 0.35890471935272217, -0.240342915058136, 0.2261948585510254, -0.1628485769033432, 0.7063412070274353, 0.7582805752754211, 0.11021539568901062, 0.4406292140483856, 0.14638487994670868, -0.36072948575019836, 0.011571458540856838, -0.8493732213973999, -0.1873985230922699, 1.3288428783416748, 0.06175515800714493, 0.8376123905181885, 0.19096291065216064, 0.5486428141593933, 0.010549759492278099, 0.3910435140132904, -0.2622741162776947, 0.09225734323263168, -0.5139936804771423, -0.8385568261146545, -0.38760945200920105, -0.7164568901062012, -1.0178931951522827, 0.5283645391464233, -0.07143933326005936, -0.824018120765686, 0.055665794759988785, 0.04673484340310097, -0.1509113907814026, 0.7005895972251892, -0.6851673722267151, 1.0408636331558228, -0.3943577706813812, -0.34487587213516235, -0.23251211643218994, -0.4615446925163269, 0.284974604845047, -0.6747637987136841, 0.5399618148803711, -0.022953111678361893, 0.06421737372875214, 0.879365086555481, -0.041828762739896774, 0.9627460837364197, -0.30675214529037476, -0.03824758902192116, -0.006673590280115604, 0.3219919502735138, 0.3941156268119812, 0.043660908937454224, -0.18928739428520203, 0.316404789686203, 0.03169703111052513, -0.6397536993026733, -0.3907274901866913, 0.48121821880340576, -0.7438183426856995, -0.3204021453857422, 0.01378406211733818, -0.7528384327888489, -0.3185838460922241, 0.5509495139122009, 0.3832492530345917, 0.08063256740570068, -0.3717232048511505, 0.10131923854351044, 0.7415271401405334, -0.34788182377815247, 0.4083561301231384, 0.9569404721260071, -0.22932222485542297, -0.41110336780548096, 1.123219609260559, 0.2820689082145691, 0.4747645854949951, 0.7454468607902527, 0.05610361322760582, -0.14719617366790771, -0.3683511018753052, -0.4779815077781677, 0.10996755957603455, -0.865142285823822, -0.00196279538795352, -0.7104622721672058, -0.014179384335875511, -0.37579017877578735, -0.25589460134506226, -0.6813309192657471, -0.3771439492702484, -0.15832827985286713, -0.14997468888759613, 0.10605057328939438, 0.5682746767997742, -0.2932787835597992, 0.13952158391475677, -0.9374356865882874, 0.299812912940979, 0.25224024057388306, 0.38592538237571716, -0.07289683818817139, -0.6570684313774109, -0.38642632961273193, 0.24165955185890198, -0.11793310940265656, -0.5860897302627563, 0.4743993878364563, 0.2602172791957855, 0.8024547696113586, 0.4279588758945465, 0.27187928557395935, 0.5467821359634399, -0.43608415126800537, 0.26497671008110046, 0.31016281247138977, -0.9158837199211121, 0.2624828815460205, -0.1573856621980667, 0.4043782651424408, 0.6316705346107483, 0.5369243025779724, -0.7576890587806702, -0.2865128815174103, -0.5371682643890381, -0.8154716491699219, 0.7545694708824158, -0.23601004481315613, 0.04122161120176315, 0.48615002632141113, 0.04905229061841965, 0.45803940296173096, 0.19522571563720703, -0.817326545715332, -0.08879724144935608, -0.1491895616054535, -0.17292022705078125, -0.347854346036911, -0.22102703154087067, -0.16666090488433838, -0.08091072738170624, 0.6868257522583008, -0.10949243605136871, -0.20160585641860962, -0.35648876428604126, -0.6587444543838501, -0.17816264927387238, 0.3210158348083496, 0.25805845856666565, 0.670012891292572, 0.09313911199569702, 0.225483238697052, 0.435477077960968, -0.41977372765541077, 0.24802298843860626, -0.11372267454862595, -0.46031126379966736, -0.24223987758159637, 0.3450542390346527, 0.5737484693527222, 0.4196498990058899, -0.6702336072921753, 0.26684147119522095, 0.030599238350987434, -0.08510357141494751, -0.017439695075154305, -0.16811254620552063, 0.11428191512823105, 0.030215192586183548, -0.010965796187520027, 0.15228432416915894, -0.28273117542266846, -0.5604219436645508, 0.4744900166988373, 0.4260806441307068, -0.648298442363739, -0.427762508392334, 0.6604102253913879, -0.05487922579050064, -0.01685142144560814, 0.6107487082481384, 0.08362329006195068, -0.43957650661468506, 0.2579696774482727, 0.5484113097190857, 0.74455326795578, -0.5384860038757324, 0.18657052516937256, 0.04650311544537544, 0.5753958225250244, -0.14514701068401337, 0.341746062040329, -0.030212147161364555, -0.8818821310997009, -0.12673991918563843, -0.5404584407806396, -0.2899593114852905, 0.10613249242305756, -0.7415614724159241, -0.020584944635629654, -0.6319597959518433, 0.18350645899772644, 0.06721336394548416, -0.23801863193511963, -0.6248984336853027, 0.09166955202817917, 0.06666231155395508, 0.6203360557556152, -0.8672494292259216, 1.082505702972412, 0.6586712002754211, -0.34900110960006714, -0.5366021990776062, -0.29053327441215515, 0.0869472324848175, -1.0202925205230713, 0.4157955050468445, 0.02428119257092476, -0.008601129055023193, -0.23363032937049866, 0.016418468207120895, -0.8833951950073242, 0.5829083323478699, 0.8726264238357544, -0.38014477491378784, 0.16598835587501526, 0.38923630118370056, 0.17922437191009521, -0.154794380068779, 0.060163866728544235, 0.3454580307006836, 0.37723374366760254, -0.41481345891952515, -0.8543620705604553, -0.11638754606246948, -0.34675073623657227, -0.34832507371902466, 0.2344183325767517, -0.7081165909767151, 1.0999541282653809, -0.24248264729976654, -0.3099859654903412, -0.2000586837530136, 0.4330889880657196, -0.05899794027209282, 0.19434042274951935, 0.5256522297859192, 0.4309539198875427, 1.2255727052688599, 0.2256723791360855, 0.5312013626098633, -0.5434142351150513, 0.1324600875377655, 1.0254346132278442, -0.48129022121429443, 0.6693226099014282, 0.31953585147857666, 0.17316491901874542, 0.1432730257511139, 0.39921319484710693, 0.3201136589050293, 0.725614607334137, 0.03638429567217827, -0.2557674050331116, -0.4682673215866089, -0.1759929060935974, -0.1926741898059845, 0.6676673293113708, 0.002381134545430541, -0.30413171648979187, -0.3035729229450226, 0.37755417823791504, 0.3133370578289032, 0.06466546654701233, -0.19007165729999542, 0.7803986072540283, -0.03254007175564766, -0.615276038646698, 0.7327912449836731, 0.20209114253520966, 0.5000894069671631, -0.7822459936141968, 0.26754477620124817, -0.28800833225250244, 0.5465094447135925, -0.15101759135723114, -0.23839415609836578, 0.25288453698158264, 0.337126225233078, -0.5069858431816101, -0.5683255791664124, 0.5769370198249817, -0.7192946672439575, -0.6182709336280823, 0.7766804099082947, 0.7546104192733765, 0.01998673379421234, -0.10279333591461182, -0.7011576890945435, -0.18377098441123962, 0.22434455156326294, -0.22132910788059235, 0.8381281495094299, 0.6097016334533691, -0.33734968304634094, 0.8648399114608765, 0.7965750098228455, -0.009256014600396156, 0.17448903620243073, 0.353974848985672, 0.7735634446144104, -0.5109196305274963, -0.7043833136558533, -0.6123549342155457, 0.43192538619041443, 0.2652488946914673, -0.24701356887817383, 0.7643001079559326, 0.6037144660949707, 1.3589674234390259, 0.21015650033950806, 1.0040844678878784, 0.39350026845932007, 0.46653687953948975, -0.652988612651825, 1.2199848890304565, -0.6936371922492981, 0.2983618676662445, -0.2558721601963043, -0.5138280987739563, -0.3037746548652649, 0.23936519026756287, 0.07056566327810287, 0.1877608597278595, 0.5073968768119812, 0.9447275996208191, -0.15449975430965424, 0.030442358925938606, 0.5787665247917175, -0.015572983771562576, 0.06205309182405472, 0.6433561444282532, 0.7291041612625122, -0.15105101466178894, 0.7181126475334167, -0.5522916913032532, -0.34250888228416443, 0.11769019067287445, -0.622239887714386, -0.8767858743667603, -0.5307116508483887, -0.10699623078107834, 0.05897478759288788, 0.32744133472442627, 0.48507463932037354, 0.7828313112258911, -0.9789636731147766, -0.46418002247810364, 0.2658829689025879, 0.41760680079460144, -0.45907458662986755, -0.12235554307699203, 0.26151949167251587, -0.34134992957115173, -0.49447545409202576, 0.6306590437889099, 0.05340675637125969, 0.002687565516680479, -0.191586434841156, -0.1594064086675644, -0.18451520800590515, -0.09196201711893082, 0.32317695021629333, 0.5346778631210327, -0.2553642690181732, -0.06901245564222336, -0.02944464236497879, -0.014560614712536335, -0.0661318302154541, 0.960777223110199, -0.531436562538147, 0.40915006399154663, 0.457670658826828, 0.7199079990386963, 0.32714220881462097, -0.403286337852478, 0.5539146065711975, -1.0614625215530396, 0.4709298312664032, 0.03976844996213913, 0.6383501291275024, 0.3617698848247528, -0.2999995946884155, 0.21218888461589813, 0.2874889075756073, -0.22639092803001404, -0.9941072463989258, 0.2636273503303528, -0.44716235995292664, -0.8681926727294922, 0.8410940170288086, -0.42092663049697876, -0.3157443404197693, -0.37649208307266235, 0.20419666171073914, 0.4210861325263977, -0.17035318911075592, 0.6488260626792908, 0.4861466586589813, 0.45775121450424194, -0.17188574373722076, -0.287134051322937, 0.3089921474456787, 0.622882604598999, -0.6120432615280151, 0.6964454054832458, 0.2447088062763214, 0.4242567718029022, 0.061165135353803635, 0.5551717877388, -0.2997725009918213, 0.31553247570991516, 0.08995974063873291, 0.1847710907459259, -0.11684028059244156, -0.8147420883178711, -0.4070993959903717, 0.4150623679161072, -0.07858353853225708, -0.05022866651415825 ]
http://arxiv.org/abs/2406.12347v1
http://arxiv.org/pdf/2406.12347v1
Interpreting Bias in Large Language Models: A Feature-Based Approach
2024-06-18T07:28:15
2024-06-18T07:28:15
Nirmalendu Prakash, Lee Ka Wei Roy
cs.CL
cs.CL
Large Language Models (LLMs) such as Mistral and LLaMA have showcased remarkable performance across various natural language processing (NLP) tasks. Despite their success, these models inherit social biases from the diverse datasets on which they are trained. This paper investigates the propagation of biases within LLMs through a novel feature-based analytical approach. Drawing inspiration from causal mediation analysis, we hypothesize the evolution of bias-related features and validate them using interpretability techniques like activation and attribution patching. Our contributions are threefold: (1) We introduce and empirically validate a feature-based method for bias analysis in LLMs, applied to LLaMA-2-7B, LLaMA-3-8B, and Mistral-7B-v0.3 with templates from a professions dataset. (2) We extend our method to another form of gender bias, demonstrating its generalizability. (3) We differentiate the roles of MLPs and attention heads in bias propagation and implement targeted debiasing using a counterfactual dataset. Our findings reveal the complex nature of bias in LLMs and emphasize the necessity for tailored debiasing strategies, offering a deeper understanding of bias mechanisms and pathways for effective mitigation.
[ -0.39166000485420227, -0.8970778584480286, 0.6086037158966064, 0.4078347384929657, -0.08015888184309006, -0.15406692028045654, -0.18234582245349884, -0.48191794753074646, 0.24877293407917023, 0.819331705570221, -0.695391058921814, -0.34068894386291504, -1.018850326538086, -0.04790954291820526, -0.5547201037406921, 0.9994909167289734, 0.06808945536613464, 0.3545599579811096, -0.0772925615310669, -0.2802759110927582, -0.7038672566413879, -0.45351046323776245, -0.37209025025367737, -0.7128452062606812, 0.45072227716445923, 0.12852489948272705, 0.7267209887504578, 0.6702237725257874, 0.23473741114139557, 0.16558079421520233, -0.5103176832199097, 0.058977484703063965, -0.587589681148529, 0.12242360413074493, -0.23633286356925964, -0.7103331089019775, -0.42487430572509766, 0.06521277129650116, 0.6108341813087463, 0.9423670768737793, 0.08016089349985123, 0.4808720350265503, 0.451852411031723, 0.5578421354293823, -0.5818356275558472, 0.19161321222782135, -0.8896003365516663, 0.013715555891394615, -0.33421987295150757, -0.04353461042046547, -0.32758739590644836, -0.22720231115818024, 0.23709021508693695, -0.1686273068189621, 0.4188162386417389, -0.1233038529753685, 0.5330252051353455, 0.4319324791431427, -0.5418513417243958, -0.31520766019821167, -0.6296679377555847, 0.991401731967926, -0.5577760338783264, 0.32393166422843933, 0.27380067110061646, 0.07876420021057129, -0.30027809739112854, -0.2626775801181793, -0.44131773710250854, 0.02150265872478485, -0.08362419903278351, -0.40885621309280396, -0.20882463455200195, -0.2470044046640396, 0.3464500606060028, 0.13875043392181396, -0.03734472021460533, 0.2971859872341156, -0.09126745164394379, 0.034279439598321915, 0.5271268486976624, -0.05565968155860901, 0.18237079679965973, -0.030572079122066498, -0.263624370098114, 0.24863700568675995, -0.991777241230011, -0.207657590508461, 0.4207945466041565, 0.32133445143699646, -0.19620263576507568, 0.5262932777404785, -0.007782211527228355, 0.45510491728782654, 0.23831763863563538, -0.025171296671032906, 0.22577448189258575, 0.1174670159816742, -0.2848987281322479, 0.1887071281671524, 0.5837509036064148, 0.2021564245223999, 0.31062817573547363, 0.0585143081843853, -0.00739977927878499, 0.22231201827526093, 0.21621489524841309, -0.36176472902297974, 0.22969458997249603, 0.0843556821346283, -0.6483569741249084, -0.7958061099052429, -0.3129802644252777, -0.8669322729110718, -0.911756157875061, -0.3108402490615845, 0.22470512986183167, 0.17781832814216614, -0.3494841754436493, -0.00014740755432285368, -0.04333570599555969, 0.11020918935537338, 0.2743763029575348, -0.8173724412918091, 0.23469465970993042, 0.8520872592926025, 0.6266288757324219, -0.1335757076740265, -0.2964054346084595, -0.3419504463672638, 0.14074301719665527, -0.18296541273593903, 0.6140415072441101, -0.7414889931678772, -0.1448436826467514, 0.1854507029056549, -0.12982524931430817, 0.10532482713460922, -0.7024328112602234, 0.5789005160331726, -0.4832039177417755, -0.11051204055547714, -0.7493600845336914, -0.1595497578382492, -0.2959609627723694, 0.11675193905830383, -0.8707403540611267, 0.975652813911438, -0.006599868182092905, -1.13540780544281, 0.7353156805038452, -0.6172912120819092, -0.25730395317077637, -0.5714441537857056, -0.3806470036506653, -0.37429893016815186, 0.2238050252199173, 0.4979003369808197, 0.3308614194393158, -0.6982254385948181, 0.7422048449516296, -0.6618059277534485, -0.3150206208229065, 0.49076688289642334, -0.7283298373222351, 0.936058759689331, -0.126328706741333, -0.854895830154419, -0.02382582426071167, -0.586509108543396, -0.5851805210113525, -0.004214752931147814, 0.07404576987028122, -0.37987419962882996, 0.26199865341186523, -0.06263208389282227, 0.26206961274147034, -0.08702877163887024, -0.22742657363414764, 0.09807811677455902, -0.09874396026134491, 0.33215007185935974, 0.7808830738067627, 0.05790802836418152, 0.5677181482315063, -0.02636122703552246, 0.3879426121711731, 0.28208956122398376, 0.3828420042991638, 0.06965358555316925, -0.47690778970718384, -0.744304895401001, -0.3921993672847748, 0.0924062505364418, 0.36210423707962036, -0.5528160929679871, 0.34600433707237244, -0.13257485628128052, -0.2558012306690216, -0.7326066493988037, 0.4033186137676239, 0.31526997685432434, 0.5145502686500549, 0.3421229422092438, -0.2471337765455246, -0.4562014937400818, -1.2110943794250488, -0.6128197312355042, -0.06323239207267761, 0.043724171817302704, 0.12787437438964844, 0.3098491430282593, -0.4954579472541809, 0.9650312662124634, -0.439276784658432, -0.35989078879356384, -0.4057500660419464, 0.29036951065063477, 0.26228174567222595, 0.17918021976947784, 0.5171694159507751, -0.5459776520729065, -0.01026731077581644, -0.2904592752456665, -0.6937851905822754, -0.7648184299468994, -0.18176652491092682, -0.18658769130706787, -0.01635137014091015, 0.4240368604660034, -0.5238323211669922, 0.544154942035675, 0.5703710317611694, -0.4278307855129242, 0.4546821713447571, 0.3960569500923157, -0.14951007068157196, -0.6553537249565125, 0.07489190995693207, 0.32787394523620605, -0.1441296488046646, -0.6599689722061157, -0.12712007761001587, -0.37975820899009705, 0.36821284890174866, -0.21768304705619812, 0.5946578979492188, -0.5213293433189392, -0.35820525884628296, -0.3359836935997009, 0.026542656123638153, 0.01743873953819275, 0.2995302975177765, -0.031212521716952324, 0.28795790672302246, 0.4007631838321686, -0.3922499716281891, 0.048219628632068634, 0.19402359426021576, -0.2725261449813843, 0.5364906787872314, -0.48250699043273926, 0.02330383099615574, -0.38780486583709717, 0.5046725869178772, -0.799162745475769, 0.04433060064911842, 0.3860681653022766, -0.12294171750545502, 0.07655484229326248, -0.292178213596344, -0.3400309979915619, -0.09353260695934296, -0.38373276591300964, 0.5066623687744141, 0.20344603061676025, -0.5588183999061584, 0.4416709244251251, 0.43733227252960205, -0.09716199338436127, -0.9834035038948059, -0.7058263421058655, 0.03650795295834541, -0.5020697116851807, -0.28820547461509705, 0.0031173755414783955, 0.38143467903137207, -0.67435222864151, -0.12866950035095215, 0.0009059372241608799, -0.07188423722982407, 0.2547079026699066, 0.4605846405029297, 0.15047825872898102, -0.1096477285027504, -0.0684531033039093, 0.2195967733860016, 0.023904338479042053, 0.30472344160079956, 0.07910999655723572, 0.5381075739860535, 0.3520026206970215, -0.5554132461547852, -0.1644865721464157, 0.15693333745002747, 0.677557647228241, -0.10727892816066742, 0.8070552945137024, 0.6227331757545471, -0.2932766377925873, -0.4721137583255768, -0.8788220286369324, -0.31037330627441406, -0.37900084257125854, 0.4339121878147125, -0.06833131611347198, -0.8266273140907288, 0.6647136807441711, 0.012133066542446613, 0.03170448914170265, 0.4247819185256958, 0.8453832268714905, 0.2568379342556, 0.9473525285720825, 0.684791088104248, -0.5661916732788086, 0.46130093932151794, -0.07507805526256561, 0.12551671266555786, -0.9282649755477905, -0.1483592838048935, -0.47533541917800903, -0.3857537508010864, -0.5772103667259216, -0.590718150138855, 0.23051020503044128, 0.13304120302200317, -0.26354163885116577, -0.1931387484073639, -0.27106183767318726, 0.2350550889968872, 0.41257914900779724, 0.13940995931625366, 0.21155902743339539, 0.028548017144203186, 0.09470272064208984, -0.13819092512130737, -0.5139659643173218, -0.5884915590286255, 1.1615756750106812, 0.8449083566665649, 0.9095829725265503, -0.0338619090616703, 0.27623942494392395, 0.4545948803424835, 0.7373664975166321, -0.496325820684433, 0.3457363545894623, 0.051177579909563065, -0.7389577031135559, -0.4089523255825043, -0.12743881344795227, -0.644698977470398, 0.5777201056480408, -0.49497103691101074, -0.7429407238960266, 0.48541325330734253, 0.16805870831012726, 0.17070893943309784, 0.30181217193603516, -0.43162575364112854, 0.66192227602005, -0.11565884947776794, -0.5070956945419312, -0.33028116822242737, -0.3458555340766907, 0.6652599573135376, -0.2864888608455658, 0.3647865355014801, -0.2001638412475586, 0.04659781605005264, 0.5552740693092346, -0.037913572043180466, 1.2906967401504517, -0.26313450932502747, -0.5274553298950195, 0.12494388222694397, 0.11355579644441605, 0.34645503759384155, 0.0674968883395195, -0.31924235820770264, 0.44617488980293274, -0.33351758122444153, -0.15453822910785675, -0.6215938925743103, 0.6081335544586182, -0.7198569774627686, -0.7376356720924377, -0.2541584074497223, -0.566987156867981, -0.23317724466323853, 0.10401641577482224, -0.07708144187927246, 0.3534315526485443, -0.23062390089035034, -0.1032419204711914, 0.6376940011978149, -0.3648504614830017, 0.12567216157913208, 0.37719178199768066, -0.34884992241859436, 0.03389903903007507, 0.36951184272766113, 0.2357977032661438, 0.15707802772521973, 0.12929196655750275, 0.31462833285331726, -0.1633460521697998, -0.4900556802749634, -0.3339366912841797, 0.43990060687065125, -0.679648756980896, 0.1077766865491867, -0.6056431531906128, -0.07662994414567947, -0.2977809011936188, -0.037207115441560745, -0.3054904043674469, 0.018996290862560272, -0.3083374500274658, -0.043660759925842285, 0.08799475431442261, 0.9966163039207458, 0.12354599684476852, 0.42336979508399963, -0.3979627788066864, 0.34380751848220825, 0.24864226579666138, 0.23490415513515472, 0.41826823353767395, -0.5187869071960449, -0.09762696176767349, -0.027446988970041275, -0.27256113290786743, -1.1014913320541382, 0.4129127264022827, -0.20292693376541138, 0.5762385725975037, 0.5212097764015198, -0.25289660692214966, 0.454013854265213, -0.5252403616905212, 0.6832658648490906, -0.0031454365234822035, -1.0100295543670654, 0.4307989180088043, -0.48064762353897095, 0.07668481767177582, 0.36152559518814087, 0.21121570467948914, -0.5296311974525452, -0.6349748373031616, -0.6611121296882629, -0.7786411046981812, 0.6299903392791748, 0.004017340485006571, 0.11403083801269531, -0.08146481215953827, 0.506377637386322, 0.1991267055273056, 0.42892709374427795, -0.8259055614471436, -0.4277850091457367, 0.18505138158798218, -0.1314847320318222, -0.1755104959011078, -0.7456285953521729, -0.2543441653251648, 0.00964125245809555, 0.47778409719467163, -0.12115293741226196, 0.18238519132137299, 0.092021644115448, -0.5397621989250183, -0.015557640232145786, 0.38057905435562134, 0.6372115612030029, 0.8026218414306641, -0.14536097645759583, 0.22826698422431946, 0.2956613600254059, -0.5407595038414001, 0.045750170946121216, -0.0947735607624054, -0.3402496874332428, 0.11842672526836395, 0.6497775912284851, 0.8613914847373962, 0.17508700489997864, -0.2858203947544098, 0.6499993205070496, 0.4123552441596985, 0.10447944700717926, -0.07531590014696121, -0.13564163446426392, -0.000723126984667033, 0.6041505336761475, 0.3695965111255646, -0.2456711381673813, 0.3831164836883545, -0.5482715964317322, 0.053700998425483704, 0.5289856195449829, -0.6982161402702332, -0.4302027225494385, 0.6196798086166382, 0.16646872460842133, 0.23943014442920685, 0.14285346865653992, 0.21638822555541992, -0.6349928975105286, 0.6428493857383728, 0.42685723304748535, 1.0553712844848633, -0.228611558675766, 0.18750905990600586, 0.05237063765525818, 0.5575993657112122, -0.3034273386001587, 0.07218429446220398, 0.2809669077396393, -0.8835926651954651, -0.6009977459907532, -0.5927982330322266, -0.18122611939907074, 0.2888031005859375, -0.7529743313789368, 0.34575825929641724, -0.21152643859386444, -0.18435782194137573, 0.12211107462644577, -0.4010782539844513, -0.716346263885498, 0.09042934328317642, 0.3584461510181427, 0.7820619940757751, -1.4022133350372314, 0.6566416621208191, 0.5347471237182617, 0.03395967185497284, -0.3871224522590637, 0.2625197470188141, 0.45111608505249023, -1.0868545770645142, 1.0120580196380615, 0.08388856798410416, -0.07268775254487991, -0.4559958577156067, -0.3737410306930542, -0.7850180268287659, 0.7851973176002502, 0.5150473117828369, -0.39976766705513, 0.09778814762830734, 0.43481898307800293, 0.4487531781196594, -0.5206484198570251, 0.4678536355495453, 0.9065817594528198, 0.38401538133621216, -0.3113013207912445, -0.9870497584342957, 0.24478194117546082, 0.2590957581996918, 0.15763767063617706, 0.0208514966070652, -0.49864405393600464, 0.6755518913269043, 0.10944348573684692, 0.3088745176792145, -0.4859655499458313, 0.5139830708503723, 0.2552832067012787, 0.2554982900619507, 0.6815879344940186, 0.3233840763568878, 0.6014451384544373, 0.11594393849372864, 0.8129687905311584, 0.0001633639622014016, 0.2815110981464386, 1.026209831237793, -0.43257802724838257, 0.5686125159263611, 0.743903398513794, -0.17825762927532196, 0.515103280544281, 0.3093157410621643, 0.11441413313150406, 0.3193618655204773, 0.43928104639053345, -0.1301247626543045, 0.04202273115515709, -0.48144641518592834, -0.09200114011764526, 0.5952523350715637, 0.268893837928772, -0.8185673356056213, -0.2657512128353119, -0.07324928045272827, 0.3629598915576935, -0.07074195146560669, -0.4892351031303406, 0.4587983787059784, 0.21967896819114685, -0.4471307098865509, 0.25814130902290344, -0.05096546933054924, 0.8180473446846008, -0.33114781975746155, -0.20590399205684662, -0.19264620542526245, 0.17795276641845703, -0.2979719936847687, -0.6608394980430603, 0.18877455592155457, 0.12603572010993958, -0.4712908864021301, -0.20753322541713715, 0.7821733355522156, -0.40962469577789307, -0.458140105009079, 0.32582008838653564, 0.6356769800186157, -0.18111500144004822, -0.06532681733369827, -0.6603554487228394, 0.498380571603775, 0.11988507956266403, -0.4111579358577728, 0.3348112106323242, 0.3263237774372101, -0.5445274710655212, 0.7371636629104614, 0.2841600775718689, 0.3915367126464844, 0.06998661160469055, 0.46217969059944153, 0.8478281497955322, -0.5501030087471008, -0.3051612675189972, -1.132025957107544, 0.3613233268260956, -0.02803020551800728, -0.04676894471049309, 0.7312452793121338, 0.2127605676651001, 0.3764587640762329, 0.13517703115940094, 0.767876923084259, 0.3053959608078003, 0.5533973574638367, -0.3848836123943329, 0.7056134343147278, -0.23831462860107422, 0.5009588003158569, -0.5455083250999451, -1.1488977670669556, -0.23708707094192505, 0.38729584217071533, -0.5916537642478943, 0.10878165811300278, 0.31516072154045105, 0.6857073307037354, 0.013321585953235626, -0.028676077723503113, -0.03632139042019844, 0.38666510581970215, 0.41872239112854004, 0.12184935063123703, 0.8884333372116089, -0.10990848392248154, 0.04691543057560921, -0.006315723527222872, -0.36690831184387207, -0.3536461889743805, -1.0101969242095947, -1.0144864320755005, -0.15179045498371124, -0.21771405637264252, -0.40159639716148376, -0.08356945961713791, 0.8419038653373718, 0.3727073073387146, -0.5563485622406006, -0.2831437885761261, 0.25380784273147583, 0.43863117694854736, -0.18001163005828857, -0.215611532330513, 0.3930632770061493, -0.32151222229003906, -0.5437448024749756, -0.09803910553455353, 0.023470498621463776, -0.3517369031906128, -0.7519786357879639, 0.2097242921590805, -0.07118745893239975, 0.15623149275779724, 0.7443436980247498, -0.06792127341032028, -0.9667119383811951, -0.3654688894748688, -0.30835139751434326, -0.030007999390363693, -0.14084838330745697, 0.8881560564041138, -0.6690430045127869, 0.24829839169979095, 0.26066944003105164, 0.5526760220527649, 0.318439781665802, -0.1973898857831955, 0.7969585061073303, -0.48064911365509033, 0.26326510310173035, -0.18393266201019287, 0.292825311422348, 0.3342829942703247, -0.38241392374038696, 0.4522474706172943, 0.24626341462135315, -0.24634015560150146, -1.06687331199646, 0.23576991260051727, -0.6503185033798218, -0.2713169753551483, 1.4297431707382202, 0.20307406783103943, -0.15112674236297607, -0.20028920471668243, -0.23799405992031097, 0.3597377836704254, -0.10603759437799454, 1.0188597440719604, 0.6596939563751221, 0.009830502793192863, -0.13311654329299927, -0.8936241865158081, 0.5784267783164978, 0.4600534737110138, -0.4600315988063812, 0.35158026218414307, 0.4912823736667633, 0.47311675548553467, 0.0411379374563694, 0.4764464199542999, -0.20930801331996918, -0.022115914151072502, -0.1608867645263672, 0.2521660327911377, 0.16787970066070557, -0.147603377699852, -0.6744471192359924, -0.06699908524751663, 0.3425922691822052, 0.2165049910545349 ]
http://arxiv.org/abs/2406.12336v1
http://arxiv.org/pdf/2406.12336v1
A Compass for Navigating the World of Sentence Embeddings for the Telecom Domain
2024-06-18T07:03:34
2024-06-18T07:03:34
Sujoy Roychowdhury, Sumit Soman, H. G. Ranjani, Vansh Chhabra, Neeraj Gunda, Subhadip Bandyopadhyay, Sai Krishna Bala
cs.CL
cs.CL, cs.LG, 68T50, I.2.7
A plethora of sentence embedding models makes it challenging to choose one, especially for domains such as telecom, rich with specialized vocabulary. We evaluate multiple embeddings obtained from publicly available models and their domain-adapted variants, on both point retrieval accuracies as well as their (95\%) confidence intervals. We establish a systematic method to obtain thresholds for similarity scores for different embeddings. We observe that fine-tuning improves mean bootstrapped accuracies as well as tightens confidence intervals. The pre-training combined with fine-tuning makes confidence intervals even tighter. To understand these variations, we analyse and report significant correlations between the distributional overlap between top-$K$, correct and random sentence similarities with retrieval accuracies and similarity thresholds. Following current literature, we analyze if retrieval accuracy variations can be attributed to isotropy of embeddings. Our conclusions are that isotropy of embeddings (as measured by two independent state-of-the-art isotropy metric definitions) cannot be attributed to better retrieval performance. However, domain adaptation which improves retrieval accuracies also improves isotropy. We establish that domain adaptation moves domain specific embeddings further away from general domain embeddings.
[ -0.2630445063114166, -0.6661898493766785, 0.6527784466743469, 0.1258016973733902, -0.3464951515197754, -0.07522152364253998, -0.24637837707996368, -0.35955220460891724, 0.2937747836112976, 0.18442244827747345, -0.20019306242465973, -0.6220446228981018, -0.6537165641784668, 0.20116972923278809, -0.1460576206445694, 0.5138360261917114, 0.07928083837032318, 0.18970680236816406, -0.21636106073856354, -0.3936222493648529, -0.3962388336658478, -0.580141544342041, 0.018568778410553932, -0.14033493399620056, 0.14018553495407104, 0.37770041823387146, 0.9535606503486633, 0.6129270792007446, 0.4704418480396271, 0.16320499777793884, -0.038054458796978, 0.16652849316596985, -0.44346779584884644, 0.14721117913722992, 0.03538474068045616, -0.4635743796825409, -0.15750378370285034, 0.07523012906312943, 0.46445411443710327, 0.7266989350318909, -0.33778706192970276, 0.06011568754911423, 0.33542242646217346, 0.4763146936893463, -0.7608222365379333, -0.11974503844976425, -0.8102843761444092, 0.1993957906961441, 0.02546815387904644, -0.3449285328388214, -0.4303915202617645, -0.5686790347099304, 0.4711156487464905, -0.9445859789848328, 0.10445462912321091, 0.34416815638542175, 1.1905694007873535, 0.1984574943780899, -0.6585004329681396, -0.4219549000263214, -0.27553245425224304, 0.8791770339012146, -0.494674950838089, 0.7166841626167297, 0.3948635458946228, 0.055814266204833984, 0.14705747365951538, -0.6501242518424988, -0.22201111912727356, -0.1907954216003418, 0.19947285950183868, 0.08337582647800446, -0.25188732147216797, 0.10459325462579727, 0.027839353308081627, 0.06645627319812775, -0.36185985803604126, 0.01840192824602127, -0.1557050496339798, -0.1232326552271843, 0.3013828694820404, -0.04860462248325348, 0.0833454430103302, -0.03356635943055153, -0.4785917103290558, 0.05802639573812485, -0.9424644708633423, -0.1444416493177414, 0.6337119340896606, 0.22013677656650543, 0.13748544454574585, 0.6278076171875, -0.13491664826869965, 0.7463168501853943, 0.05438942462205887, 0.2739016115665436, 0.3526356518268585, -0.21878093481063843, -0.15950001776218414, 0.11571920663118362, 0.4263933598995209, 0.5826091170310974, 0.7692652344703674, -0.2449367195367813, 0.04986843094229698, -0.3609955608844757, 0.5877375602722168, -0.500832200050354, -0.21161866188049316, 0.014985709451138973, -0.599210798740387, -0.05833551287651062, 0.4526464343070984, -0.36754682660102844, -0.15149861574172974, -0.2697949707508087, 0.41781625151634216, -0.6855379343032837, -0.00986533798277378, 0.3965686559677124, -0.2901029884815216, 0.30129891633987427, 0.22160141170024872, -0.649177610874176, 0.41184014081954956, 0.8227546811103821, 0.9726352691650391, -0.09301237761974335, -0.12084181606769562, -0.29756027460098267, -0.004597082734107971, -0.3446001708507538, 0.6040860414505005, -0.9355503916740417, -0.3650935888290405, 0.5771315097808838, -0.10098060965538025, -0.3404167890548706, -0.5932119488716125, 0.78605717420578, -0.8514935374259949, 0.1755443960428238, -0.3438945710659027, -0.8586653470993042, -0.4059314429759979, 0.077176533639431, -0.604081928730011, 0.843332827091217, -0.03749938681721687, -0.686530590057373, 0.44489338994026184, -0.2707250416278839, -0.25047779083251953, -0.2210293412208557, 0.015612424351274967, -0.33222365379333496, 0.3493826985359192, -0.011285336688160896, 0.45171937346458435, -0.21774236857891083, -0.14787352085113525, -0.45521196722984314, -0.5374434590339661, 0.2786247432231903, 0.049083467572927475, 0.8889402151107788, 0.4335499107837677, 0.08288407325744629, -0.4335707426071167, -0.5935314893722534, 0.45673444867134094, -0.4334953725337982, 0.002696976298466325, -0.7716508507728577, -0.04298466444015503, 0.12805959582328796, -0.046543385833501816, 0.07076464593410492, -0.687707245349884, 0.0859142616391182, -0.11562317609786987, 0.6706619262695312, 0.46876874566078186, 0.22364068031311035, 0.4937257468700409, -0.4076363742351532, 0.3965616822242737, 0.36902254819869995, -0.08318354189395905, 0.1176254004240036, -0.5801497101783752, -0.4027077257633209, -0.028809430077672005, 0.5360378623008728, 0.5760758519172668, -0.45950794219970703, 0.5147035121917725, -0.46574535965919495, -0.4257248342037201, -0.9692965149879456, 0.12925784289836884, 0.33683302998542786, 0.2019035518169403, 0.5348173379898071, -0.2494296282529831, -0.2209603488445282, -0.8611809015274048, -0.771999716758728, 0.1104663610458374, 0.017088493332266808, 0.39053863286972046, 0.3643353283405304, 0.03835821524262428, 0.9457255601882935, -0.8269405961036682, -0.4582279920578003, 0.1431960016489029, 0.06579209119081497, -0.034208957105875015, 0.3557547628879547, 0.44738608598709106, -0.9282155632972717, -0.5659443140029907, -0.2334073781967163, -0.5675962567329407, -0.017127111554145813, -0.1491294652223587, 0.27029740810394287, -0.08126970380544662, 0.47229433059692383, -0.5205724835395813, 0.1733083724975586, 0.4121558368206024, -0.23813676834106445, 0.44641727209091187, -0.3030458688735962, 0.24717645347118378, -1.1709578037261963, -0.2032271772623062, 0.27324602007865906, -0.30058881640434265, -0.4580964744091034, 0.06293419748544693, 0.29071205854415894, 0.07440204918384552, -0.28130725026130676, 0.11404077708721161, -0.7369215488433838, -0.07024041563272476, 0.03843100368976593, 0.5007490515708923, 0.16280105710029602, 0.07589516788721085, -0.25267699360847473, 0.9433765411376953, 0.5490620136260986, -0.656035840511322, -0.01095631718635559, 0.49521464109420776, -0.753059446811676, 0.5586259365081787, -0.7944839000701904, 0.11468306928873062, 0.11240535229444504, -0.006698915734887123, -0.8033688068389893, 0.23645642399787903, -0.2122056633234024, -0.4003731310367584, 0.021297702565789223, -0.20101934671401978, -0.3370971083641052, 0.277273029088974, -0.4636610746383667, 0.40483248233795166, 0.5292606949806213, -0.305387943983078, 0.09965936094522476, 0.47677311301231384, -0.1349218785762787, -0.8142228722572327, -0.7194639444351196, 0.11091969162225723, -0.223977193236351, -0.6000772714614868, 0.8918005228042603, 0.3092185854911804, -0.18506456911563873, 0.15148022770881653, 0.033892303705215454, -0.2695688009262085, 0.04535446688532829, 0.16598092019557953, -0.01073132548481226, -0.4186301827430725, 0.3531641364097595, 0.15909981727600098, -0.0016473447903990746, -0.044855885207653046, -0.5581926703453064, 0.20666469633579254, -0.11679128557443619, -0.24517059326171875, -0.41015926003456116, 0.25187361240386963, 0.15919001400470734, -0.09014540165662766, 0.699158787727356, 0.5258920192718506, -0.22181083261966705, -0.281876802444458, -0.5246753692626953, -0.1187126412987709, -0.46071237325668335, 0.2033950388431549, -0.7742370367050171, -0.9947569966316223, 0.4122874438762665, -0.35736793279647827, -0.2518990933895111, 0.2231462448835373, 0.10719214379787445, -0.11862324923276901, 0.679729700088501, 1.0107555389404297, 0.21103422343730927, 0.44621971249580383, -0.10430166870355606, 0.36224380135536194, -0.9828172326087952, -0.14671137928962708, -0.664344847202301, -0.3096288740634918, -0.918990433216095, -0.34150081872940063, 0.33477193117141724, 0.043902646750211716, -0.14139577746391296, 0.6042956113815308, -0.35536032915115356, 0.419152170419693, 0.3522167503833771, 0.17511507868766785, 0.37100934982299805, 0.24151912331581116, -0.534156322479248, -0.3137652277946472, -0.8034248948097229, -0.5463493466377258, 1.0431389808654785, 0.13675273954868317, 1.010262370109558, 0.2042396068572998, 0.582943856716156, 0.3424256443977356, -0.23960696160793304, -0.6373756527900696, 0.25470587611198425, -0.3728082478046417, -0.28513213992118835, -0.07494676113128662, -0.4901649057865143, -0.861552894115448, 0.13007910549640656, -0.2280549556016922, -0.8587571978569031, 0.5663521885871887, -0.14392468333244324, -0.3832671344280243, 0.0465506985783577, -0.7663528919219971, 0.7000783085823059, 0.30798253417015076, -0.16042247414588928, -0.2952387034893036, -0.528990626335144, -0.12234460562467575, 0.044317640364170074, -0.079465351998806, 0.029046770185232162, -0.4498480260372162, 0.5237877368927002, -0.19664312899112701, 0.6744588613510132, -0.08132942765951157, 0.10763054341077805, 0.2570365071296692, 0.21977034211158752, 0.09909253567457199, -0.07022926211357117, -0.45316529273986816, 0.21365880966186523, 0.29035937786102295, -0.3066515028476715, -0.5713258385658264, 0.8686422109603882, -0.9469907283782959, -0.612777829170227, -0.3223571479320526, -0.33460092544555664, -0.34134799242019653, 0.14159394800662994, 0.41622865200042725, 0.5428128242492676, -0.4097696542739868, 0.5940306186676025, 0.726736843585968, -0.21217875182628632, 0.2544512450695038, 0.14962661266326904, 0.3189196288585663, -0.27022916078567505, 0.54547119140625, 0.30895358324050903, 0.31997406482696533, 0.7124265432357788, -0.12235606461763382, -0.6059027314186096, -0.422637015581131, -0.22876733541488647, 0.15969571471214294, -0.7837937474250793, -0.37155112624168396, -0.7220717072486877, -0.2236326038837433, -0.5500332117080688, -0.3519108295440674, -0.13541829586029053, -0.8603294491767883, -0.4947108328342438, -0.261601060628891, 0.5307109355926514, 0.5886741876602173, 0.17631754279136658, 0.4123954176902771, -0.7312085628509521, -0.033229582011699677, -0.2177218794822693, 0.39092376828193665, -0.21350660920143127, -0.7515134215354919, -0.4216425120830536, 0.12961074709892273, -0.42237916588783264, -0.8390364646911621, 0.2849602997303009, 0.7785813212394714, 0.36667001247406006, 0.17895540595054626, 0.1489274501800537, 0.7984954118728638, -0.6777510643005371, 0.9919112324714661, -0.01590542681515217, -1.050695538520813, 0.2938600182533264, -0.011219319887459278, 0.10434389114379883, 0.7319429516792297, 0.9162414073944092, -0.40885257720947266, -0.12314414978027344, -0.6584532856941223, -0.5837591886520386, 0.07576768100261688, -0.058793436735868454, 0.503199577331543, 0.06474895030260086, 0.5418793559074402, 0.17025631666183472, 0.13734780251979828, -0.3162948787212372, -0.17916230857372284, -0.21796664595603943, -0.35198646783828735, 0.0984436571598053, -0.18762974441051483, -0.15045683085918427, 0.06583108007907867, 0.38687336444854736, -0.03604753315448761, 0.44367095828056335, 0.4991143047809601, -0.4996553361415863, 0.1602715700864792, 0.2798592150211334, 0.38739436864852905, 0.7040224671363831, -0.1517152339220047, 0.2109164297580719, 0.08985231071710587, -0.6785476207733154, 0.16796571016311646, -0.022786809131503105, -0.13815201818943024, 0.44065791368484497, 0.24444115161895752, 0.39943215250968933, 0.3088196814060211, -0.3637086749076843, 0.7456251382827759, 0.10555936396121979, -0.1902141273021698, -0.30743131041526794, 0.023633074015378952, -0.07141941785812378, 0.04940120503306389, 0.46390995383262634, -0.010946269147098064, 0.2612076699733734, -0.42261171340942383, 0.455383837223053, 0.40496450662612915, -0.603378176689148, -0.18643330037593842, 0.6222027540206909, 0.17799369990825653, -0.45461514592170715, 0.7058829069137573, -0.008538461290299892, -0.40409812331199646, 0.30969715118408203, 0.5596937537193298, 0.9858639240264893, -0.038700394332408905, 0.37589147686958313, 0.16724130511283875, 0.20424336194992065, -0.22046953439712524, 0.4129112660884857, 0.05828831344842911, -0.8813048005104065, -0.23147305846214294, -0.2822064161300659, -0.3939579725265503, -0.5134590864181519, -0.8984926342964172, 0.2725352644920349, -0.2589856684207916, -0.5210559964179993, -0.01667858473956585, 0.06563768535852432, -0.7770189046859741, 0.09010736644268036, -0.4780828058719635, 1.2718404531478882, -0.5697253346443176, 0.9656995534896851, 0.7290173768997192, -0.3497771620750427, -0.6720770001411438, 0.30203771591186523, -0.03620380908250809, -0.7846516370773315, 0.6223424077033997, 0.10639779269695282, -0.27211421728134155, 0.3290329575538635, -0.16176694631576538, -0.6931700110435486, 1.408729076385498, 0.16308818757534027, -0.46225303411483765, 0.0418245755136013, 0.14369727671146393, 0.47377723455429077, -0.7792537808418274, 0.3667633533477783, 0.1328464299440384, 0.1292201429605484, -0.3765430748462677, -0.8238643407821655, 0.2587295174598694, 0.026014475151896477, 0.17198364436626434, -0.03989780321717262, -0.6160101294517517, 0.6025936603546143, -0.3293772339820862, -0.28704604506492615, 0.04928438365459442, 0.4625418186187744, -0.1329834759235382, 0.13085706532001495, 0.40861502289772034, 0.6556041836738586, 0.6685667037963867, -0.1342606246471405, 0.979387640953064, -0.6109498739242554, 0.46627357602119446, 0.8100868463516235, -0.33558663725852966, 1.0894687175750732, 0.4827449917793274, 0.09379053860902786, 0.8120323419570923, 0.5544462203979492, 0.0049081589095294476, 0.7263196706771851, 0.18485185503959656, -0.05044609308242798, -0.1073494628071785, -0.08280277252197266, -0.45545825362205505, 0.42441001534461975, 0.3789622485637665, -0.5217728018760681, -0.18007338047027588, 0.011293384246528149, -0.07960841804742813, 0.2340337187051773, 0.09086687117815018, 0.6367248892784119, 0.5287919640541077, -0.5773949027061462, 0.7928847670555115, 0.11194484680891037, 0.5688971281051636, -0.4358879327774048, 0.0523516945540905, -0.023152519017457962, 0.12436304241418839, -0.16179431974887848, -0.774909257888794, 0.22663699090480804, -0.147506445646286, 0.16427569091320038, -0.41761314868927, 0.6500738263130188, -0.4215555191040039, 0.01772235706448555, 0.2204025387763977, 0.7713367342948914, 0.10361747443675995, -0.03998001292347908, -0.7985172271728516, 0.196645125746727, -0.109347864985466, -0.20891836285591125, 0.2571265399456024, 0.7634420394897461, 0.4079538583755493, 0.7123816013336182, 0.3623218238353729, 0.11182691156864166, 0.03446851670742035, 0.09613539278507233, 0.648879885673523, -0.7183841466903687, -0.5592413544654846, -0.6342934370040894, 0.15494264662265778, -0.23244629800319672, -0.8383599519729614, 0.7640230655670166, 0.6435957551002502, 0.908370852470398, -0.2374628335237503, 0.4956037104129791, 0.0774252787232399, 0.12723152339458466, -0.77973473072052, 0.5286175608634949, -0.45442327857017517, 0.39292216300964355, -0.027572685852646828, -1.1866850852966309, -0.2907038629055023, 0.830398440361023, -0.40155330300331116, 0.002369549823924899, 0.9485720992088318, 1.0036565065383911, -0.43977561593055725, 0.16593067348003387, 0.3452703356742859, 0.1083512008190155, -0.014895167201757431, 0.43051624298095703, 0.7038769721984863, -0.6694426536560059, 0.5702933669090271, 0.11551973968744278, -0.09404577314853668, -0.5004771947860718, -0.9345226287841797, -0.4364702105522156, -0.7847538590431213, -0.47264808416366577, -0.345506876707077, 0.45455384254455566, 0.8388961553573608, 0.8388739824295044, -0.5857593417167664, -0.22586551308631897, 0.11168459802865982, 0.10550427436828613, -0.4781564474105835, -0.24341195821762085, 0.23397193849086761, -0.5662215352058411, -0.5279426574707031, 0.11984813213348389, 0.1409827023744583, -0.07673264294862747, 0.12139683216810226, 0.17929302155971527, -0.36540454626083374, 0.12330783158540726, 0.4091919958591461, -0.04531330615282059, -0.6047493815422058, -0.7021113634109497, 0.3922778069972992, -0.39883238077163696, 0.10328759998083115, 1.1190681457519531, -0.6163272857666016, 0.2077031284570694, 0.3381060063838959, 0.8613548874855042, 0.2745039165019989, 0.10414604097604752, 0.7308658361434937, -0.8810182213783264, -0.07917884737253189, 0.26174354553222656, 0.32978811860084534, 0.250155508518219, -0.41989296674728394, 0.5676660537719727, 0.16083884239196777, -0.7076967358589172, -0.7004669308662415, 0.3315804898738861, -1.1169610023498535, -0.29481908679008484, 1.2257163524627686, -0.40217044949531555, 0.0972423180937767, -0.3660479187965393, 0.12080013751983643, -0.025951489806175232, -0.3364810645580292, 0.9027183651924133, 0.963100790977478, -0.035902008414268494, -0.10106053203344345, -0.5656516551971436, 0.6908848881721497, 0.5096262097358704, -0.306856632232666, -0.08491628617048264, 0.24339181184768677, 0.561292290687561, 0.18382862210273743, 0.3024563193321228, -0.21835960447788239, 0.1423623263835907, 0.17946431040763855, -0.5173330903053284, -0.05163446441292763, -0.2692312002182007, -0.37627124786376953, 0.24690866470336914, 0.007016381714493036, -0.32826244831085205 ]
http://arxiv.org/abs/2406.12335v1
http://arxiv.org/pdf/2406.12335v1
Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matters
2024-06-18T07:01:11
2024-06-18T07:01:11
Zhiyu Guo, Hidetaka Kamigaito, Taro Watanabe
cs.CL
cs.CL, cs.LG
Scaling the context size of large language models (LLMs) enables them to perform various new tasks, e.g., book summarization. However, the memory cost of the Key and Value (KV) cache in attention significantly limits the practical applications of LLMs. Recent works have explored token pruning for KV cache reduction in LLMs, relying solely on attention scores as a token importance indicator. However, our investigation into value vector norms revealed a notably non-uniform pattern questioning their reliance only on attention scores. Inspired by this, we propose a new method: Value-Aware Token Pruning (VATP) which uses both attention scores and the $ \ell_{1} $ norm of value vectors to evaluate token importance. Extensive experiments on LLaMA2-7B-chat and Vicuna-v1.5-7B across 16 LongBench tasks demonstrate VATP's superior performance.
[ -0.3455725908279419, -0.4262007176876068, 0.31491148471832275, 0.46740564703941345, -0.5425117611885071, -0.257767915725708, -0.3174463212490082, -0.23414751887321472, 0.3899790644645691, 0.2895071506500244, -0.25049862265586853, -0.4575096666812897, -0.48898935317993164, -0.2721545994281769, -0.3720712661743164, 0.8755144476890564, 0.15003883838653564, -0.12094835191965103, -0.44914525747299194, -0.31829333305358887, -0.8626781105995178, -0.7644258141517639, -0.656669020652771, 0.08329802006483078, 0.683408796787262, 0.3831780254840851, -0.07400625199079514, 0.7871713042259216, 0.7418573498725891, 0.1810380518436432, -0.4405859708786011, 0.14445087313652039, -0.7874413728713989, 0.2261219173669815, 0.04733230173587799, -0.774052619934082, -0.723054826259613, 0.0842546820640564, 0.6844276785850525, 0.33174535632133484, 0.28337863087654114, 0.5406355857849121, -0.28346458077430725, 0.7642070055007935, -0.9979124665260315, 0.42684677243232727, -0.6089348793029785, -0.07258855551481247, -0.44256913661956787, -0.3990010917186737, -0.47429975867271423, -0.09330347925424576, -0.28258341550827026, -0.2712971866130829, 0.1125480905175209, 0.07804371416568756, 0.993728756904602, 0.501428484916687, -0.3292895555496216, 0.5343448519706726, -0.6180406808853149, 1.0795072317123413, -0.3700854182243347, 0.20878112316131592, 0.3417532444000244, 0.14014579355716705, -0.02394840307533741, -0.6713276505470276, -0.38280749320983887, 0.2396981120109558, 0.1738225519657135, 0.17184218764305115, -0.18834485113620758, 0.30448445677757263, 0.11867868155241013, 0.41788598895072937, 0.04231064021587372, 0.06928820163011551, -0.5576832294464111, -0.38252565264701843, 0.16858308017253876, 0.3087691068649292, -0.10099200904369354, -0.23424366116523743, -0.4269389808177948, -0.26699525117874146, -0.9083518981933594, 0.46662524342536926, 0.02852586843073368, 0.1637897789478302, 0.2146591991186142, 0.4189704358577728, 0.07595904171466827, 0.5607985854148865, 0.11885291337966919, -0.28686878085136414, 0.08446552604436874, -0.4141865074634552, -0.32290342450141907, 0.0034317439422011375, 0.417253315448761, 0.733958899974823, 0.3087088465690613, -0.08098195493221283, -0.04147866740822792, 0.10814642161130905, 0.48424240946769714, -0.8891268372535706, 0.0395844429731369, 0.2830507457256317, -0.6745055913925171, -0.35757192969322205, -0.07524420320987701, -0.5005680322647095, 0.09777304530143738, -0.19206808507442474, 0.19814956188201904, -0.0829213336110115, -0.32036855816841125, -0.22070322930812836, -0.3624536395072937, 0.5070566534996033, 0.6066445112228394, -0.8434377312660217, 0.3359074294567108, 0.8295243382453918, 0.8688786625862122, -0.5273149013519287, -0.11768698692321777, -0.913216233253479, -0.0314306877553463, -0.44435861706733704, 0.674303412437439, -0.5771950483322144, -0.4648350477218628, -0.3411501348018646, -0.11966732889413834, 0.09865481406450272, -0.5908249616622925, 0.6315790414810181, -0.5611016154289246, -0.38983285427093506, -0.7336359620094299, -0.4771411716938019, -0.10807982832193375, 0.32894381880760193, -0.8069460391998291, 1.3240776062011719, 0.3703765869140625, -0.7425543069839478, 0.6510968804359436, -0.46136474609375, -0.5371647477149963, -0.016837233677506447, -0.0072612399235367775, -0.4056609272956848, 0.4905437231063843, 0.18065941333770752, 0.43083250522613525, -0.2969835698604584, 0.1080457866191864, -0.16521055996418, -0.667494535446167, 0.13613887131214142, -0.627730131149292, 0.31816017627716064, -0.04511009156703949, -0.3612498939037323, 0.23601526021957397, -0.6543242335319519, 0.15433208644390106, -0.14436110854148865, -0.5725002884864807, -0.43294593691825867, -0.1934388130903244, 0.33148515224456787, 0.3157569468021393, 0.19843031466007233, -0.347005158662796, 0.2478094846010208, -0.5134320855140686, 0.5907114744186401, 1.069364070892334, 0.06739577651023865, 0.38275566697120667, -0.26304712891578674, 0.5850470066070557, 0.12821166217327118, 0.35903844237327576, 0.01874634250998497, -0.5581584572792053, -1.2742432355880737, -0.6654236912727356, 0.3849159777164459, 0.03656093403697014, -0.02451656013727188, 0.34269702434539795, -0.5393151044845581, -0.32885122299194336, -0.6992159485816956, -0.06494180113077164, 0.4670385420322418, 0.39791640639305115, 0.4237643778324127, -0.5804091691970825, -0.504844069480896, -0.9395453333854675, -0.2560071647167206, -0.42514652013778687, 0.09587342292070389, 0.49460193514823914, 0.23368249833583832, 0.2105051726102829, 1.2716383934020996, -0.2153223156929016, -0.42846256494522095, -0.09041932225227356, -0.14598308503627777, 0.028827447444200516, 0.2908604145050049, 0.53074049949646, -0.8005403876304626, -0.3135172426700592, -0.19464392960071564, 0.0011151653015986085, -0.1102134957909584, 0.01635609194636345, -0.03287811577320099, 0.20555227994918823, 0.6773722767829895, -0.7044873237609863, 0.7652813196182251, 0.35328948497772217, -0.12370972335338593, 0.4174312949180603, -0.0882473811507225, 0.15636442601680756, -0.6647458672523499, 0.35201382637023926, -0.26765966415405273, -0.48218992352485657, -0.5321477651596069, -0.23138226568698883, 0.3304573595523834, 0.17151156067848206, -0.7404365539550781, 0.993644118309021, -0.2752126157283783, -0.22162650525569916, -0.2824465334415436, -0.05458211526274681, 0.23860494792461395, 0.7261845469474792, -0.1841568797826767, 0.9273285865783691, 0.08710037171840668, -0.8886387348175049, -0.03949330374598503, -0.08490124344825745, -0.15884262323379517, 0.37038853764533997, -0.5208249092102051, 0.0025944248773157597, -0.060513999313116074, -0.0046227965503931046, -1.2520078420639038, 0.2867371737957001, -0.005073227919638157, -0.4765286147594452, 0.4878268539905548, -0.17403411865234375, -0.44081324338912964, -0.14194253087043762, -0.518022358417511, 0.7366930842399597, 0.5039363503456116, -0.4637344181537628, 0.3553260564804077, 0.6401872634887695, 0.11129270493984222, -0.5823127031326294, -0.5511937737464905, -0.07209738343954086, -0.4426220655441284, -0.2809770703315735, 0.4673269987106323, 0.03861236572265625, -0.16909748315811157, -0.10029815882444382, -0.5404432415962219, -0.009643821977078915, 0.18741199374198914, 0.3876180946826935, 0.058152928948402405, 0.004658493213355541, 0.6252886652946472, -0.07072466611862183, -0.44127199053764343, 0.028166646137833595, -0.29090407490730286, 0.48989352583885193, -0.15704573690891266, -0.44144222140312195, -0.2667667269706726, 0.20189742743968964, 1.0569349527359009, -0.4856823980808258, 0.7575862407684326, 0.674506664276123, -0.1743038445711136, 0.05233057215809822, -0.7730526924133301, -0.1432049423456192, -0.42262300848960876, 0.3804832100868225, -0.10203098505735397, -1.1580402851104736, 0.5410054922103882, -0.08762411773204803, 0.06977218389511108, 0.6485082507133484, 0.830482006072998, 0.2654319405555725, 0.8082298040390015, 0.6175071597099304, -0.49123090505599976, 0.6562373638153076, -0.018790027126669884, 0.4796064496040344, -1.0761171579360962, -0.00423398008570075, -0.5121999382972717, -0.4812001883983612, -0.40640905499458313, -0.8037912249565125, 0.39902639389038086, 0.013527574017643929, -0.018016183748841286, -0.12773479521274567, -0.8013178706169128, 0.5786668062210083, 0.45071250200271606, -0.10948639363050461, 0.15665405988693237, -0.03593536838889122, 0.18283602595329285, -0.30456069111824036, -0.7114763855934143, -0.16467596590518951, 1.258386492729187, 0.2979808449745178, 0.24722003936767578, -0.028508765622973442, 0.3697201609611511, 0.1656377911567688, 0.5102818012237549, -1.0330561399459839, 0.4396706223487854, 0.21103085577487946, -0.6143457293510437, -0.5547928810119629, -0.4562782347202301, -0.961369514465332, 0.38687169551849365, 0.29505112767219543, -0.7215468287467957, 0.013813194818794727, 0.14489954710006714, -0.3327122628688812, 0.038298968225717545, -0.7443339228630066, 0.717572808265686, 0.0523926317691803, -0.16448214650154114, -0.43406471610069275, -0.4533223509788513, 0.3049880862236023, 0.03618062660098076, 0.1580740511417389, -0.23120994865894318, -0.2777746915817261, 1.0245860815048218, -0.594948410987854, 0.9216349720954895, -0.12805917859077454, 0.3306659460067749, 0.3123282790184021, -0.10015682876110077, 0.6324887275695801, 0.11558464169502258, 0.19014383852481842, 0.0010653773788362741, -0.15614302456378937, -0.486427366733551, -0.4930456280708313, 0.8717443943023682, -0.6876886487007141, -0.7598707675933838, -0.19743888080120087, -0.24399617314338684, 0.037776101380586624, 0.14733187854290009, 0.037395693361759186, 0.06292235851287842, -0.09963413327932358, 0.28679734468460083, 0.7806815505027771, 0.14447246491909027, 0.46858298778533936, 0.11936290562152863, 0.17798884212970734, -0.19463911652565002, 0.826960563659668, 0.3973619341850281, 0.33752378821372986, 0.6042627692222595, 0.19559788703918457, -0.09578878432512283, -0.48166051506996155, 0.17868702113628387, 0.15143030881881714, -1.0216901302337646, -0.3286653757095337, -0.6691275238990784, -0.20001570880413055, -0.2847970724105835, -0.15519560873508453, -0.6874295473098755, -0.5957897901535034, -0.39195525646209717, -0.24192364513874054, 0.8151918053627014, 0.10943339765071869, 0.15425291657447815, 0.2438451647758484, -0.6691156625747681, 0.16756124794483185, 0.5159199237823486, 0.4200465977191925, 0.34328001737594604, -0.46060991287231445, -0.30904436111450195, -0.46274685859680176, -0.032665517181158066, -0.5224303007125854, 0.6562172770500183, 0.08549731224775314, 0.49930810928344727, 0.417669415473938, 0.08551730960607529, 0.9047900438308716, -0.31279587745666504, 0.660717785358429, 0.15039019286632538, -1.1207664012908936, 0.38386696577072144, -0.09857811778783798, 0.5047206878662109, 0.7174561619758606, -0.2721123695373535, -0.7214999198913574, -0.33691471815109253, -0.8814857602119446, -1.278973937034607, 0.6453142166137695, 0.3957992494106293, 0.0756390392780304, -0.35755616426467896, 0.5557134747505188, -0.17575591802597046, 0.4265805780887604, -0.5524425506591797, -0.34998080134391785, 0.052043866366147995, -0.04889450967311859, 0.08247353881597519, -0.4897589683532715, 0.03218751400709152, -0.5400410890579224, 0.30448588728904724, 0.03592411056160927, 0.41382941603660583, 0.18225201964378357, -0.05863337591290474, -0.05673038586974144, 0.11157234758138657, 0.4817548096179962, 0.5352704524993896, -0.11179058253765106, 0.06883248686790466, 0.36119452118873596, -0.635633647441864, -0.06040356680750847, -0.677832305431366, 0.10686510801315308, 0.10597753524780273, 0.21904008090496063, 0.7001787424087524, 0.5420812964439392, -0.5850966572761536, 0.8653535842895508, -0.36422663927078247, 0.08322537690401077, -0.17968370020389557, 0.08996699750423431, 0.16271010041236877, -0.17119921743869781, 0.022730354219675064, -0.06943563371896744, -0.04905809834599495, -0.20225873589515686, -0.022336533293128014, 0.2733788788318634, -0.7460301518440247, -0.13781195878982544, 0.3620286285877228, 0.3386571705341339, -0.2983857989311218, 0.6265898942947388, 0.01593487709760666, -0.5016078352928162, 0.9466713070869446, 0.14750368893146515, 0.75697922706604, -0.1882384866476059, -0.2576923966407776, 0.28345102071762085, 0.5082281827926636, -0.033860113471746445, 0.080485038459301, -0.4229109287261963, -0.2238258421421051, -0.6630250215530396, -0.6778132319450378, -0.2837648093700409, 0.26445600390434265, -0.6384331583976746, 0.38867703080177307, -0.6236026883125305, -0.3191063404083252, -0.0512053519487381, -0.06793223321437836, -0.8494887351989746, 0.16416023671627045, -0.3761836886405945, 0.687716007232666, -0.6462584733963013, 0.8039789795875549, 0.301841676235199, -0.18964286148548126, -0.6937337517738342, -0.2122364640235901, -0.1172972321510315, -0.7269642949104309, 0.8404054045677185, 0.4502960741519928, 0.08846607804298401, 0.005981239024549723, -0.24798627197742462, -1.072417974472046, 1.0214921236038208, 0.30445030331611633, -0.4885098338127136, 0.10070046037435532, -0.17438599467277527, 0.4334651231765747, -0.1825476586818695, 0.238472580909729, 0.6537012457847595, 0.6850039958953857, -0.03285426273941994, -0.9413809776306152, -0.03901015222072601, -0.36581090092658997, 0.0670742616057396, 0.6482338309288025, -1.1920905113220215, 0.9139265418052673, 0.08909697085618973, -0.22771261632442474, -0.43697240948677063, 0.4334470331668854, 0.07326722890138626, -0.1476983278989792, 0.414333313703537, 0.5530056357383728, 0.8143208622932434, -0.020021522417664528, 0.8632773756980896, -0.18582302331924438, 0.30483487248420715, 0.696427047252655, 0.07621827721595764, 0.738602340221405, 1.0682183504104614, -0.2642144560813904, -0.17013606429100037, 0.6719695925712585, 0.17231832444667816, 0.525474488735199, 0.3900289237499237, -0.03049601800739765, -0.5456288456916809, -0.0459585003554821, -0.23513439297676086, 0.5926206707954407, 0.5499374270439148, -0.29266515374183655, -0.04795918986201286, -0.26983344554901123, 0.1370907574892044, -0.5035422444343567, -0.39718881249427795, 0.6062788367271423, 0.17076729238033295, -0.7292512655258179, 0.6720927357673645, 0.11742502450942993, 0.30786752700805664, -0.4331344962120056, -0.05943436920642853, -0.09536894410848618, 0.352007120847702, 0.13683874905109406, -0.26276183128356934, 0.22317636013031006, -0.0416216105222702, -0.4662935137748718, -0.212265282869339, 0.6277573108673096, -0.027088293805718422, -0.26823028922080994, 0.21697567403316498, 0.34229183197021484, 0.21502360701560974, -0.27077630162239075, -0.17597386240959167, 0.10654659569263458, -0.20009444653987885, -0.6133377552032471, 0.7704893350601196, 0.5141351819038391, -0.4030989110469818, 0.7086923122406006, 0.7659443616867065, 0.21975377202033997, -0.045495662838220596, 0.14517387747764587, 1.1653785705566406, -0.6851285099983215, -0.6039371490478516, -0.8921452760696411, 0.44997212290763855, -0.195261612534523, -0.7088673710823059, 0.6856434941291809, 0.38652926683425903, 0.647811233997345, 0.24753935635089874, 0.6989898085594177, 0.38108620047569275, 0.10035115480422974, -0.3765692710876465, 0.6340337991714478, -0.5918505191802979, 0.21811480820178986, -0.1726808249950409, -0.8133348822593689, -0.4856850802898407, 0.5176923871040344, -0.1462402194738388, -0.037195488810539246, 0.8094853162765503, 0.5141326189041138, 0.15814071893692017, -0.4670979976654053, 0.5016282796859741, -0.006202910095453262, 0.5204693078994751, 0.5452976822853088, 0.2784756124019623, -0.3273567259311676, 0.7187827229499817, 0.12639445066452026, -0.3441968262195587, -0.8186406493186951, -0.9101540446281433, -1.0689107179641724, -0.5065140724182129, -0.17341944575309753, -0.20908330380916595, -0.0829601138830185, 0.6312769651412964, 0.7781540155410767, -0.5864110589027405, 0.142221137881279, -0.13330787420272827, 0.22006450593471527, -0.4135196805000305, -0.2288353592157364, 0.7141748666763306, -0.5515939593315125, -0.45359164476394653, 0.07318398356437683, 0.8974871039390564, -0.1818426549434662, -0.3417060077190399, 0.1450771689414978, 0.08876754343509674, 0.20453694462776184, 0.5074204206466675, 0.23600739240646362, -0.8178113102912903, -0.5037041902542114, 0.16543184220790863, -0.26842331886291504, 0.3640297055244446, 0.9459660053253174, -0.849855363368988, 0.6514398455619812, 0.5965650081634521, 0.561622679233551, 0.7778427004814148, -0.1942519247531891, 0.5323305130004883, -1.0058741569519043, 0.42575180530548096, 0.4548712968826294, 0.35221341252326965, 0.17409473657608032, -0.45167508721351624, 0.15627765655517578, 0.29854893684387207, -0.527118444442749, -0.8833133578300476, 0.11287010461091995, -1.208296298980713, -0.08290555328130722, 1.2360910177230835, -0.0960559993982315, -0.8598476052284241, -0.28383690118789673, -0.2856033146381378, 0.2001621425151825, -0.4880290925502777, 0.8778334856033325, 1.0390958786010742, 0.3042128384113312, -0.24719835817813873, -0.3290758728981018, 0.6188075542449951, 0.694520115852356, -0.6181902885437012, 0.5315898656845093, 0.13589784502983093, -0.06403324753046036, 0.16518814861774445, 0.9293128848075867, -0.23661251366138458, 0.5051523447036743, -0.03898680955171585, 0.1669122725725174, -0.1331823319196701, -0.3711283802986145, -0.24261489510536194, 0.31849753856658936, 0.42691171169281006, -0.17752347886562347 ]
http://arxiv.org/abs/2406.12331v1
http://arxiv.org/pdf/2406.12331v1
Retrieval Meets Reasoning: Dynamic In-Context Editing for Long-Text Understanding
2024-06-18T06:54:28
2024-06-18T06:54:28
Weizhi Fei, Xueyan Niu, Guoqing Xie, Yanhua Zhang, Bo Bai, Lei Deng, Wei Han
cs.CL
cs.CL, cs.AI
Current Large Language Models (LLMs) face inherent limitations due to their pre-defined context lengths, which impede their capacity for multi-hop reasoning within extensive textual contexts. While existing techniques like Retrieval-Augmented Generation (RAG) have attempted to bridge this gap by sourcing external information, they fall short when direct answers are not readily available. We introduce a novel approach that re-imagines information retrieval through dynamic in-context editing, inspired by recent breakthroughs in knowledge editing. By treating lengthy contexts as malleable external knowledge, our method interactively gathers and integrates relevant information, thereby enabling LLMs to perform sophisticated reasoning steps. Experimental results demonstrate that our method effectively empowers context-limited LLMs, such as Llama2, to engage in multi-hop reasoning with improved performance, which outperforms state-of-the-art context window extrapolation methods and even compares favorably to more advanced commercial long-context models. Our interactive method not only enhances reasoning capabilities but also mitigates the associated training and computational costs, making it a pragmatic solution for enhancing LLMs' reasoning within expansive contexts.
[ -0.24533317983150482, -1.0783649682998657, 1.301916241645813, 0.001756954239681363, -0.2829437255859375, 0.35960155725479126, -0.5028566122055054, -0.6582072377204895, 0.14304056763648987, 0.46393829584121704, -0.49587810039520264, -0.15308120846748352, -0.40952032804489136, 0.11142434924840927, -0.27295348048210144, 0.6808584928512573, -0.29698729515075684, -0.4852571487426758, -0.4397514760494232, -0.25320032238960266, -0.6092424988746643, -0.3276245594024658, -0.4416753649711609, -0.17189761996269226, 0.653099536895752, 0.4237988293170929, 0.7592670321464539, 0.5614964365959167, 0.21136474609375, 0.3439767062664032, -0.654862642288208, 0.7294727563858032, -0.4981180727481842, 0.6778907179832458, -0.4232085049152374, -0.387620210647583, -0.36894771456718445, -0.24987761676311493, 0.8763036131858826, 0.6074485182762146, 0.1217498928308487, -0.032022926956415176, -0.051101990044116974, 0.5978572368621826, -0.5558991432189941, -0.08410070836544037, -0.9553143978118896, -0.10944260656833649, -0.241738960146904, -0.5114130973815918, -0.5288050174713135, -0.12024742364883423, 0.14855864644050598, -0.8679476380348206, -0.3289790153503418, -0.021854670718312263, 0.43274739384651184, 0.49361133575439453, -0.8174962401390076, -0.49422159790992737, -0.591230034828186, 0.6608368754386902, -0.3930486738681793, 0.5215069651603699, 0.22885967791080475, 0.4296197295188904, -0.513102650642395, -1.0199352502822876, -0.6485118269920349, -0.2496149092912674, -0.1391545832157135, -0.09491563588380814, 0.12204005569219589, -0.12851159274578094, 0.39826372265815735, -0.013577692210674286, -0.05329115688800812, -0.1998426914215088, -0.1290784776210785, 0.18662838637828827, 0.4387114644050598, -0.017515167593955994, 0.09975180774927139, -0.15757368505001068, -0.4801420569419861, 0.20428907871246338, -0.8080664873123169, 0.07572569698095322, 0.018624572083353996, 0.14581073820590973, 0.3165307939052582, 0.6521543860435486, -0.1721673309803009, 0.7707964777946472, 0.10395601391792297, -0.15869885683059692, 0.04897845908999443, -0.25329652428627014, -0.2461932748556137, -0.0066010672599077225, 0.21900613605976105, 0.1395920217037201, -0.10097403079271317, -0.2597711682319641, -0.21104665100574493, -0.6084139347076416, 0.1953076720237732, -0.6208649277687073, 0.29731935262680054, 0.2865428924560547, -0.23743268847465515, -0.1981244683265686, -0.11889344453811646, -0.8428544998168945, -0.523448646068573, -0.4500516653060913, 0.5022913813591003, -0.4620460569858551, 0.041842032223939896, 0.009560424834489822, -0.30322593450546265, -0.030988303944468498, 0.8458966612815857, -0.5400886535644531, -0.10976444184780121, 0.6881874203681946, 0.703545093536377, -0.17539016902446747, -0.1997125893831253, -0.6575372219085693, 0.7083525061607361, -0.2098018229007721, 0.7366541028022766, -1.0093166828155518, -0.38347724080085754, -0.10638703405857086, -0.0894150510430336, 0.2123844474554062, -0.5464338064193726, 0.5533410310745239, -1.0701663494110107, 0.10359422117471695, -0.2705383896827698, -0.5986025929450989, -0.22211648523807526, 0.4250659942626953, -0.5760735869407654, 1.2174725532531738, -0.019352775067090988, -0.789513111114502, 0.3377617299556732, -0.7264699935913086, -0.3716649115085602, 0.006630313582718372, -0.1842137575149536, 0.006169359665364027, 0.08948838710784912, 0.298208624124527, 0.23931729793548584, -0.06700710207223892, 0.4622251093387604, -0.21625113487243652, -0.43702375888824463, 0.39351117610931396, -0.43464791774749756, 0.47845321893692017, 0.11779849231243134, -0.25262588262557983, 0.2647339403629303, -0.7606188654899597, 0.029913675040006638, 0.04091920703649521, -0.7437397241592407, -0.5522531867027283, 0.2169826477766037, -0.30394089221954346, 0.17871487140655518, 0.4574001431465149, -0.29854828119277954, 0.5949324369430542, -0.27939704060554504, 0.40423160791397095, 0.7051472067832947, 0.07241187989711761, 0.5741387605667114, -0.17913591861724854, 0.3293580114841461, -0.26647239923477173, -0.0023823881056159735, -0.5184182524681091, -0.23635458946228027, -0.6691240668296814, -0.2610308825969696, -0.03643115609884262, 0.5223170518875122, -0.9516487121582031, 0.12230107933282852, -0.361699640750885, -0.2229508012533188, -0.2596123218536377, 0.1603105515241623, 0.07028413563966751, 0.6411336064338684, 0.7029430866241455, 0.2292216569185257, -0.46585923433303833, -0.5744366645812988, -0.6056165099143982, 0.03244460001587868, -0.007665558718144894, 0.5927349925041199, 0.39967775344848633, -0.5629830956459045, 1.0638363361358643, -0.41171130537986755, 0.06248559057712555, -0.2906121015548706, -0.022980721667408943, 0.2564381957054138, 0.3026382327079773, 0.15838591754436493, -0.8902688026428223, -0.35655975341796875, 0.030969135463237762, -0.8005465269088745, -0.1898055374622345, -0.4415314197540283, -0.46834149956703186, 0.04025445505976677, 0.8209685683250427, -0.8177834749221802, 0.41505783796310425, 0.20228330790996552, -0.37105900049209595, 0.5724316835403442, -0.2972498834133148, 0.1728530377149582, -0.9555615782737732, 0.08548939228057861, -0.44087326526641846, -0.463524729013443, -0.3955059349536896, 0.36250466108322144, 0.19541853666305542, -0.03796258568763733, -0.26491087675094604, 0.9360995292663574, -0.8050026893615723, 0.018896635621786118, -0.4656575620174408, 0.5384827852249146, 0.2838124930858612, 0.21054749190807343, -0.03155476599931717, 0.9330490231513977, 0.11263556033372879, -0.5068630576133728, 0.38607147336006165, 0.3083505630493164, -0.5526984930038452, 0.31424301862716675, -0.3319285809993744, 0.27435144782066345, -0.260879784822464, 0.8207871317863464, -0.6683939099311829, -0.34793969988822937, -0.07027208060026169, -0.12778328359127045, 0.3879810869693756, -0.2766236960887909, -0.5993648767471313, 0.017079176381230354, -0.2337062507867813, 0.7389815449714661, 0.1429368108510971, -1.0138163566589355, 0.8083918690681458, 0.3389545977115631, -0.15791890025138855, -0.7218292355537415, -0.5032374858856201, 0.38133734464645386, -0.4185899794101715, -0.7319046854972839, 0.6859481334686279, -0.0703558474779129, -0.6080473065376282, -0.14040812849998474, -0.08299890160560608, -0.09423773735761642, 0.137221559882164, -0.11872213333845139, -0.0054651955142617226, 0.09158496558666229, 0.4890151917934418, 0.5062974095344543, 0.08111587911844254, -0.14410778880119324, -0.07938594371080399, 0.263540655374527, 0.08626934885978699, -0.4174253046512604, -0.2513473927974701, 0.5621950030326843, 0.7297218441963196, -0.37969517707824707, 0.5333759188652039, 0.21678955852985382, -0.3555563688278198, -0.38204115629196167, -0.6316744089126587, -0.05600956827402115, -0.5473054051399231, 0.27073803544044495, -0.629684567451477, -1.1287885904312134, 0.38741061091423035, -0.5719639658927917, 0.1057196781039238, 0.1305556744337082, 0.37057286500930786, -0.1653778851032257, 0.882646918296814, 0.5344714522361755, 0.5473911166191101, 0.5473072528839111, 0.029951535165309906, 0.11366022378206253, -1.1695846319198608, -0.45050743222236633, -0.10388980805873871, -0.3519822359085083, -0.41044285893440247, -0.9713737964630127, 0.6675121784210205, 0.4463277757167816, -0.2906656861305237, -0.05760227143764496, -0.28185197710990906, 0.7208188772201538, 0.3258391320705414, 0.26923617720603943, 0.5165686011314392, -0.2525511384010315, -0.24404273927211761, 0.04823470488190651, -0.4333518147468567, -0.5034026503562927, 0.708946704864502, 0.3479551076889038, 0.6560467481613159, 0.5227129459381104, 0.4299764335155487, 0.07689164578914642, 0.2910822331905365, -0.8736670017242432, 0.616448700428009, 0.28746458888053894, -0.5558283925056458, -0.4097323417663574, -0.3811822533607483, -0.8992148041725159, 0.4485107660293579, -0.26478102803230286, -0.78822261095047, 0.11266621947288513, 0.08481556922197342, -0.3192453682422638, 0.4567365050315857, -0.4467957019805908, 0.5615866184234619, -0.4488475024700165, -0.7911686301231384, -0.40946048498153687, -0.7005988955497742, 0.39321887493133545, -0.2833859324455261, 0.39355817437171936, -0.03424747288227081, -0.45710402727127075, 0.37818071246147156, -0.39455798268318176, 0.5254713296890259, -0.2081252485513687, -0.18079981207847595, 0.38488855957984924, 0.381572425365448, 0.7969681620597839, 0.43003568053245544, -0.42095157504081726, -0.43348363041877747, -0.10815726220607758, -0.1765960305929184, -1.0227241516113281, 0.7661908268928528, -0.17772772908210754, -0.9009830355644226, -0.35870635509490967, -0.8057483434677124, -0.47831568121910095, 0.2097429782152176, -0.3230361044406891, 0.43151694536209106, 0.07982951402664185, 0.39313748478889465, 0.6167043447494507, -0.47543394565582275, 0.3881932199001312, 0.4114344120025635, -0.42190438508987427, -0.292435884475708, 0.34469106793403625, 0.07086200267076492, 0.12887637317180634, 0.6746218204498291, 0.3023194670677185, -0.39600253105163574, -0.29445338249206543, -0.5371249914169312, 0.23317484557628632, -0.9289688467979431, -0.11970701068639755, -0.7750756740570068, 0.17786405980587006, 0.028941145166754723, -0.3648528754711151, -0.061896950006484985, -0.4433573782444, -0.23362857103347778, -0.14838242530822754, 0.47578510642051697, 0.7126797437667847, -0.031204214319586754, 0.21496963500976562, -0.84328693151474, 0.17619991302490234, 0.4107464849948883, 0.4023895561695099, 0.17921960353851318, -0.6657042503356934, -0.30353885889053345, -0.2585960626602173, -0.2719375491142273, -1.1300349235534668, 0.18079917132854462, 0.13315138220787048, 0.5681263208389282, 0.15734076499938965, -0.038519132882356644, 0.9551807641983032, -0.7954830527305603, 0.6956945061683655, -0.26932746171951294, -1.0433954000473022, 0.7023986577987671, -0.4653322696685791, 0.39491719007492065, 0.6430306434631348, 0.30296868085861206, -0.5438401699066162, -0.15066732466220856, -0.3997964560985565, -1.179507851600647, 0.3881254494190216, -0.08195024728775024, 0.19386646151542664, -0.10087644308805466, 0.6558548808097839, 0.1852377951145172, 0.19402803480625153, -0.38333860039711, 0.12435872107744217, 0.14191600680351257, -0.027091918513178825, 0.18758080899715424, -0.5482631921768188, -0.09978874772787094, -0.5454718470573425, 0.6339608430862427, -0.2445376217365265, 0.18772681057453156, 0.3193872570991516, -0.3048439621925354, 0.09902650862932205, 0.42804545164108276, 0.5447147488594055, 1.0922943353652954, -0.22960829734802246, 0.3184705376625061, 0.5876877307891846, -0.055344972759485245, -0.0278161708265543, 0.08221816271543503, 0.03675875812768936, -0.02089727856218815, 0.3496304154396057, 0.7519353628158569, 0.530174195766449, -1.0290322303771973, 0.39593788981437683, 0.0064485506154596806, 0.2701592743396759, -0.43981680274009705, -0.04569564759731293, 0.17630495131015778, 0.6398245692253113, 0.5761820077896118, -0.19651615619659424, 0.07175060361623764, -0.7138547897338867, 0.4298243522644043, 0.4091096520423889, -0.10538647323846817, 0.025598717853426933, 0.7362866401672363, 0.18795593082904816, -0.2915107011795044, 0.4824165999889374, -0.07512138783931732, -0.5056660771369934, 0.3150339126586914, 0.5469760298728943, 0.5473462343215942, 0.12406763434410095, -0.15057291090488434, 0.23000794649124146, 0.009689592756330967, -0.024762801826000214, 0.10131169855594635, -0.4169136583805084, -0.4879741072654724, -0.8239051699638367, -0.4805373251438141, -0.6108514666557312, 0.1677161008119583, -0.37151941657066345, 0.250598669052124, -0.2612873315811157, -0.10796251893043518, -0.23318347334861755, 0.006779761984944344, -0.31068524718284607, 0.14557094871997833, -0.01757907122373581, 1.3144283294677734, -0.12988661229610443, 0.8990689516067505, 0.6658889055252075, -0.14867612719535828, -0.5458678603172302, 0.3369852304458618, -0.01229183841496706, -0.48148664832115173, 0.6522231698036194, 0.3894752264022827, -0.28720971941947937, -0.05325765162706375, -0.5684624910354614, -1.0768574476242065, 1.2232165336608887, 0.37634554505348206, -0.4831150472164154, -0.1116822138428688, -0.2628934383392334, 0.46454182267189026, -0.07236594706773758, 0.3407409191131592, 0.6115533113479614, 0.6583850383758545, 0.23644152283668518, -0.7984116077423096, 0.09036421030759811, -0.16531045734882355, -0.25190088152885437, 0.23783142864704132, -0.6431993246078491, 0.6199164986610413, -0.31924381852149963, -0.19563712179660797, 0.13878732919692993, 0.7885314226150513, 0.4664369225502014, 0.3040057122707367, 0.5433443188667297, 0.4492306709289551, 1.0178989171981812, 0.14015468955039978, 0.9971805214881897, -0.3242633044719696, 0.10784051567316055, 1.404145359992981, -0.20531295239925385, 0.9570927619934082, 0.712249219417572, 0.11620481312274933, 0.7087621092796326, 0.4305633306503296, 0.5731812715530396, 0.3715178072452545, 0.08117181062698364, -0.6977387070655823, -0.35825350880622864, -0.03560931235551834, -0.160973459482193, 0.5443028807640076, 0.5292278528213501, -0.22989772260189056, -0.13993728160858154, -0.05049007013440132, 0.2761791944503784, 0.3161199986934662, -0.2219824194908142, 0.708605170249939, 0.026830216869711876, -0.8056125640869141, 0.4599713087081909, 0.16945777833461761, 0.6776554584503174, -0.4663977026939392, -0.22294580936431885, -0.07136896252632141, 0.06873529404401779, -0.06707625091075897, -1.2390308380126953, 0.5187777876853943, 0.20974868535995483, -0.12574175000190735, -0.44879451394081116, 0.7781972289085388, -0.5181741118431091, -0.25035324692726135, 0.4893852472305298, 0.5691527724266052, 0.06206384301185608, -0.10865609347820282, -0.4742679297924042, 0.19391022622585297, -0.09176003932952881, -0.5425970554351807, 0.29082340002059937, 0.8264307975769043, -0.2101113647222519, 0.7869167327880859, 0.6320756673812866, -0.08427929878234863, -0.043159350752830505, -0.10763546079397202, 1.0601037740707397, -0.7027603387832642, -0.45221811532974243, -0.7513322830200195, 0.6360968947410583, -0.3418368995189667, -0.1449573040008545, 0.4396194517612457, 0.5193057656288147, 0.7137714624404907, 0.2879393696784973, 0.7502631545066833, 0.03370457515120506, 0.6468344330787659, -0.5819085836410522, 0.533309817314148, -0.916313111782074, 0.3675830662250519, -0.04030026122927666, -0.7109458446502686, -0.3019948899745941, 0.5637887120246887, -0.4421572983264923, -0.030748993158340454, 0.5535830855369568, 0.5367718935012817, -0.2297007292509079, -0.14844241738319397, 0.10549592971801758, 0.36032596230506897, 0.5556183457374573, 0.43975821137428284, 1.0210871696472168, -0.022546710446476936, 0.5288949608802795, -0.0677475780248642, -0.3028494119644165, -0.142914280295372, -1.1605418920516968, -0.6420854926109314, -0.4979149401187897, 0.20561374723911285, -0.21000967919826508, 0.17153272032737732, 1.0003995895385742, 0.34748342633247375, -0.18955041468143463, 0.01336890459060669, 0.18247520923614502, 0.3337695002555847, 0.07773041725158691, -0.2446276992559433, 0.4358167350292206, -0.4617760181427002, -0.7739080190658569, 1.126852035522461, 0.3381909728050232, -0.231442391872406, -0.037295158952474594, 0.10568931698799133, -0.4569830298423767, 0.36894673109054565, 1.0870201587677002, 0.19284221529960632, -0.6882766485214233, -0.5734922289848328, -0.2394183725118637, 0.02684742957353592, 0.07965321838855743, 0.7012627124786377, -1.1049349308013916, 0.6294924020767212, 0.7287535667419434, 0.9766404032707214, 0.5498071312904358, 0.3771750330924988, 0.3724147379398346, -0.7449777722358704, 0.22054505348205566, 0.23936806619167328, 0.34078797698020935, 0.320856511592865, -0.4640268087387085, 0.3474346101284027, 0.1486636996269226, -0.6624862551689148, -0.9029515981674194, 0.43397873640060425, -1.043595314025879, -0.604961097240448, 1.4318171739578247, 0.008102175779640675, -0.0563945434987545, -0.07948920875787735, -0.46100276708602905, 0.31254974007606506, -0.2267114520072937, 0.712409496307373, 0.48006945848464966, -0.3686094582080841, -0.06575359404087067, -0.6027058959007263, 0.4993624687194824, 0.3748601973056793, -0.9619407057762146, 0.16284172236919403, 0.6679316759109497, 0.12594687938690186, 0.00876710843294859, 0.48130640387535095, -0.00666732108220458, 0.0022473111748695374, -0.414867103099823, -0.49202588200569153, -0.24593400955200195, -0.5960789918899536, -0.06077250465750694, 0.19689518213272095, -0.00438475888222456, 0.3652139902114868 ]
http://arxiv.org/abs/2406.12329v1
http://arxiv.org/pdf/2406.12329v1
SNAP: Unlearning Selective Knowledge in Large Language Models with Negative Instructions
2024-06-18T06:54:05
2024-06-18T06:54:05
Minseok Choi, Daniel Rim, Dohyun Lee, Jaegul Choo
cs.CL
cs.CL
Instruction-following large language models (LLMs), such as ChatGPT, have become increasingly popular with the general audience, many of whom are incorporating them into their daily routines. However, these LLMs inadvertently disclose personal or copyrighted information, which calls for a machine unlearning method to remove selective knowledge. Previous attempts sought to forget the link between the target information and its associated entities, but it rather led to generating undesirable responses about the target, compromising the end-user experience. In this work, we propose SNAP, an innovative framework designed to selectively unlearn information by 1) training an LLM with negative instructions to generate obliterated responses, 2) augmenting hard positives to retain the original LLM performance, and 3) applying the novel Wasserstein regularization to ensure adequate deviation from the initial weights of the LLM. We evaluate our framework on various NLP benchmarks and demonstrate that our approach retains the original LLM capabilities, while successfully unlearning the specified information.
[ -0.28034698963165283, -0.7838839888572693, 0.2963813245296478, -0.13274873793125153, -0.5333206057548523, 0.26236703991889954, -0.5126861333847046, -0.1286894977092743, 0.24897713959217072, 0.8066241145133972, -0.6043205857276917, -0.5135882496833801, -0.5683562159538269, -0.28814634680747986, -0.6513840556144714, 1.1917709112167358, 0.23145247995853424, 0.04889846220612526, -0.10663822293281555, -0.006981014274060726, -0.24801909923553467, -0.5201556086540222, -0.28601714968681335, -0.5593582391738892, 0.4491141736507416, 0.6668793559074402, 0.5972189903259277, 0.47395071387290955, 0.20269721746444702, 0.2120116651058197, -0.16825778782367706, 0.21056246757507324, -0.9131671190261841, 0.14575347304344177, -0.2861335277557373, -0.38535404205322266, -0.14796540141105652, 0.05145712196826935, 0.6887244582176208, 0.7872026562690735, -0.21051239967346191, 0.24933622777462006, 0.4297960698604584, 0.7125853896141052, -0.8745814561843872, 0.15394899249076843, -0.8459572196006775, 0.10055491328239441, -0.046310752630233765, -0.2771415710449219, -0.758887529373169, -0.21736764907836914, 0.08136189728975296, -0.3464190363883972, 0.2436550259590149, -0.2492443323135376, 0.747246265411377, 0.22424349188804626, -0.1774282306432724, -0.2792099416255951, -0.8159478306770325, 0.7893433570861816, -0.6359474658966064, 0.31775322556495667, 0.47385281324386597, 0.2464701235294342, -0.29165884852409363, -0.24650655686855316, -0.2269083708524704, -0.04012242704629898, 0.11103148758411407, 0.21354253590106964, -0.1536785066127777, 0.020484091714024544, 0.16139912605285645, 0.18886786699295044, -0.4775071144104004, 0.40065234899520874, -0.4747706651687622, -0.17306634783744812, 0.5872889757156372, -0.11498525738716125, 0.24365442991256714, -0.08251553773880005, -0.5428869724273682, 0.10455162823200226, -0.8670434951782227, -0.18501681089401245, 0.33729320764541626, 0.4635816216468811, 0.046261467039585114, 0.9342807531356812, -0.19132587313652039, 0.33905237913131714, 0.09245537966489792, 0.09470956027507782, 0.3732733726501465, 0.18914400041103363, -0.055857956409454346, 0.100688137114048, 0.7228397727012634, 0.18076808750629425, 0.23730577528476715, -0.46036919951438904, -0.3700259327888489, -0.061761274933815, 0.11247576028108597, -0.6448657512664795, -0.028353173285722733, 0.02067725919187069, -0.2903861403465271, -0.15117672085762024, -0.09037404507398605, -0.5856499075889587, -0.5823447108268738, -0.25101399421691895, 0.4973411560058594, -0.6198506355285645, -0.09642752259969711, 0.16054034233093262, -0.21243241429328918, 0.3425278663635254, 0.457302987575531, -0.9038633704185486, 0.27326497435569763, 0.7576457262039185, 0.5711321830749512, -0.1293812394142151, -0.3901950418949127, -0.7554300427436829, 0.1317165046930313, -0.13668054342269897, 0.5438191890716553, -0.6849192976951599, -0.343841552734375, -0.08194698393344879, -0.19660191237926483, -0.03044161945581436, -0.5872644186019897, 0.20765908062458038, -0.7905686497688293, 0.2460484355688095, -0.16830384731292725, -0.7946462631225586, -0.3719247877597809, 0.42738601565361023, -0.41956406831741333, 0.6986150145530701, 0.15920387208461761, -0.5768154859542847, 0.18124450743198395, -0.39259445667266846, -0.39812740683555603, 0.15567289292812347, -0.20163100957870483, -0.39388060569763184, 0.08594346791505814, 0.22801433503627777, 0.441742479801178, -0.30058154463768005, 0.21725963056087494, -0.434743195772171, -0.6888163089752197, 0.11660988628864288, -0.7048053741455078, 0.7982134222984314, -0.006561571732163429, -0.24458281695842743, 0.06212432682514191, -0.7499857544898987, -0.06088985502719879, 0.2146081179380417, -0.668839693069458, -0.32194218039512634, -0.08154597878456116, -0.3820091187953949, 0.04454033821821213, 0.24413061141967773, -0.6454131603240967, 0.3119746148586273, -0.438385009765625, 0.3290969133377075, 0.8872179388999939, 0.07741004973649979, 0.57198166847229, -0.2727530300617218, 0.5241005420684814, 0.13327346742153168, 0.08554056286811829, -0.3752312660217285, -0.41916850209236145, -0.8327040076255798, -0.2594725787639618, 0.18615058064460754, 0.5901058912277222, -0.7909883856773376, 0.3350927531719208, -0.1504254788160324, -0.41155731678009033, -0.5975269079208374, 0.4902980923652649, 0.5072264671325684, 0.6226964592933655, 0.5581707954406738, -0.20072954893112183, -0.6161194443702698, -0.6592886447906494, -0.36818361282348633, 0.023463664576411247, -0.2899439036846161, 0.24670632183551788, 0.31417593359947205, -0.45063450932502747, 0.8212243914604187, -0.499016672372818, -0.3568013310432434, -0.4535943865776062, 0.10363247245550156, 0.31804776191711426, 0.24637511372566223, 0.0480259545147419, -0.6360377669334412, -0.2148107886314392, -0.24168746173381805, -0.5098506212234497, 0.05077245831489563, -0.09245213866233826, 0.05088997632265091, 0.10991896688938141, 0.42393016815185547, -0.7077544331550598, 0.4931280016899109, 0.43232467770576477, -0.10255219042301178, 0.7607572674751282, -0.18267138302326202, 0.02971905656158924, -1.1559834480285645, -0.0535668209195137, -0.16783404350280762, -0.1885661482810974, -0.3754546046257019, -0.03973735496401787, 0.060949765145778656, -0.28434082865715027, -0.6888455748558044, 0.6022741198539734, -0.6577240824699402, 0.009993119165301323, -0.32629549503326416, 0.2839469611644745, 0.04280082881450653, 0.7372521162033081, -0.001984658185392618, 0.6432985663414001, 0.28974393010139465, -0.6023674607276917, 0.15021173655986786, 0.4480881989002228, -0.245089590549469, 0.014987512491643429, -0.37595123052597046, 0.26532959938049316, -0.3744873106479645, 0.06746917217969894, -0.868259608745575, -0.2833319306373596, 0.19184152781963348, -0.529068648815155, 0.36216092109680176, -0.49876880645751953, -0.37032783031463623, -0.23970937728881836, -0.4653213918209076, 0.2747328281402588, 0.8129258155822754, -0.7125855684280396, 0.5103853940963745, 0.4691608250141144, 0.16838043928146362, -0.7105454206466675, -0.6974517107009888, 0.07317155599594116, -0.09556148201227188, -0.2647944688796997, 0.3214644491672516, 0.04396812617778778, 0.06674668937921524, 0.014694553799927235, 0.07990469038486481, -0.17809532582759857, 0.01377987489104271, 0.2335585504770279, 0.19754953682422638, -0.20549896359443665, 0.26262378692626953, 0.08392464369535446, -0.18940642476081848, -0.13944292068481445, -0.1721518188714981, 0.811621904373169, -0.060101885348558426, -0.6959922313690186, -0.3640916645526886, 0.1930767446756363, 0.5203383564949036, -0.2821475565433502, 0.7566611170768738, 0.5614979863166809, -0.35228967666625977, -0.36286601424217224, -0.4434240460395813, -0.35683679580688477, -0.4977050721645355, 0.3643259108066559, 0.06275875866413116, -1.0230423212051392, 0.4688274562358856, -0.24909885227680206, 0.22907650470733643, -0.11759968101978302, 0.4548291265964508, -0.03356791287660599, 0.990630567073822, 0.6232354640960693, -0.2524174749851227, 0.5944345593452454, -0.20971344411373138, 0.25334182381629944, -0.967390239238739, -0.052360739558935165, -0.2526572346687317, -0.3603741526603699, -0.3139371871948242, -0.38708582520484924, 0.21579182147979736, 0.307105153799057, -0.338868647813797, 0.3690146803855896, -0.27628666162490845, 0.8331096768379211, 0.7170928120613098, 0.48265865445137024, 0.22427035868167877, -0.18494050204753876, -0.12588973343372345, 0.2828334867954254, -0.6791408658027649, -0.4484487473964691, 1.0384827852249146, 0.26886579394340515, 1.0965198278427124, 0.04007202386856079, 1.0546855926513672, 0.23361879587173462, 0.3038356900215149, -0.9571985602378845, 0.7077648639678955, -0.36642691493034363, -0.3560090959072113, -0.4123450815677643, -0.5350509881973267, -0.8278297781944275, 0.29760998487472534, -0.16110630333423615, -0.9956310987472534, -0.25473541021347046, 0.4752185046672821, -0.362382173538208, 0.4834156930446625, -0.9934025406837463, 0.5535651445388794, -0.07715611904859543, -0.37612661719322205, -0.032270397990942, -0.48269322514533997, 0.45018213987350464, -0.09347812086343765, 0.041884645819664, -0.15954451262950897, -0.0038903621025383472, 0.583267867565155, -0.30972185730934143, 1.3461247682571411, -0.1912849247455597, 0.12926669418811798, 0.34395164251327515, 0.3219434320926666, 0.72379070520401, -0.028530627489089966, -0.15882131457328796, 0.10151650756597519, -0.3699081838130951, -0.3311910331249237, -0.7007991075515747, 0.37941643595695496, -0.6481242179870605, -0.7338084578514099, 0.20372527837753296, -0.4252917766571045, -0.2843204140663147, 0.47016629576683044, 0.3697526156902313, 0.30481716990470886, -0.17491695284843445, 0.15502595901489258, 0.6965786218643188, -0.3170715868473053, 0.34711572527885437, 0.6450044512748718, -0.14924301207065582, -0.34041687846183777, 0.9945310950279236, 0.17924298346042633, 0.16246430575847626, 0.6028949618339539, 0.38564378023147583, -0.28626757860183716, -0.5361663103103638, -0.31516948342323303, 0.2959297299385071, -0.7727565169334412, -0.2865517735481262, -0.45529648661613464, -0.4295174777507782, -0.3085309565067291, -0.23567821085453033, -0.6664080619812012, -0.3689125180244446, -0.6880607008934021, -0.020697876811027527, 0.09526638686656952, 0.5500584840774536, 0.11765708029270172, 0.34646284580230713, -1.1511671543121338, 0.13749998807907104, 0.05055731162428856, 0.42207080125808716, 0.15939824283123016, -0.7406245470046997, -0.13539423048496246, 0.34271207451820374, -0.29230448603630066, -0.6712304353713989, 0.37959346175193787, 0.12683990597724915, 0.45055830478668213, 0.6144574880599976, 0.4275679290294647, 0.5380532741546631, -0.5935718417167664, 0.6173701286315918, 0.3309173285961151, -0.8477172255516052, 0.48487091064453125, -0.35468098521232605, 0.6360514163970947, 0.4651329517364502, 0.378695011138916, -0.7084668278694153, -0.4877191483974457, -0.519658088684082, -1.041757583618164, 0.6392952799797058, -0.26037606596946716, 0.4139491319656372, -0.08931109309196472, 0.3296160101890564, 0.3854125738143921, 0.28087079524993896, -0.5707900524139404, 0.1370927095413208, 0.09182023257017136, -0.17131055891513824, -0.08537350594997406, -0.49378907680511475, 0.08166363090276718, -0.022293560206890106, 0.8428316116333008, -0.0779309794306755, 0.0371641144156456, -0.21611301600933075, -0.48096877336502075, 0.05224601924419403, 0.44182178378105164, 0.3846079409122467, 0.43758946657180786, -0.04909185692667961, 0.2779090106487274, 0.13419294357299805, -0.5217201709747314, 0.07123153656721115, -0.2877107560634613, -0.5079904794692993, -0.38569894433021545, 0.3967951536178589, 0.5604800581932068, 0.5065895318984985, -0.7724140882492065, 0.6171759366989136, 0.08447911590337753, -0.06698095798492432, -0.227058544754982, 0.35018518567085266, 0.09002167731523514, 0.22570055723190308, 0.20482106506824493, 0.10097537189722061, 0.05192286893725395, -0.29684552550315857, 0.5033423900604248, 0.4210193157196045, -0.5243911147117615, -0.48935821652412415, 0.36380770802497864, 0.23319505155086517, -0.3863677382469177, 0.8478417992591858, -0.25478190183639526, -0.6935340762138367, 0.26098307967185974, 0.6896079182624817, 0.9309037327766418, -0.16458025574684143, 0.41725024580955505, 0.1685127466917038, 0.25664371252059937, -0.06937267631292343, 0.10146114230155945, -0.19600096344947815, -1.0025677680969238, -0.44288715720176697, -0.43861091136932373, -0.43293431401252747, 0.3799442648887634, -0.6935563087463379, 0.4514583647251129, -0.5993708968162537, -0.035690516233444214, -0.18653585016727448, -0.31964874267578125, -0.5273302793502808, -0.17992161214351654, 0.11869736760854721, 0.808772087097168, -0.7123928070068359, 0.5558990240097046, 0.5161126852035522, -0.43319055438041687, -0.690674901008606, 0.07093048840761185, 0.3240226209163666, -1.0746480226516724, 0.2315252274274826, 0.30238690972328186, -0.25085121393203735, -0.02994958683848381, -0.5823761224746704, -0.8298454880714417, 0.6619241237640381, 0.708154022693634, -0.5566654205322266, -0.027490492910146713, 0.12575000524520874, 0.23893699049949646, -0.08120787143707275, 0.1855461299419403, 0.33830198645591736, -0.04280726984143257, 0.2794148325920105, -0.5708828568458557, 0.013002234511077404, -0.19460466504096985, -0.31170591711997986, 0.32120630145072937, -0.6904489994049072, 0.6506425738334656, -0.6711601614952087, -0.40745800733566284, -0.14438749849796295, 0.36608994007110596, 0.07681403309106827, 0.02759227342903614, 0.31667056679725647, 0.43067467212677, 0.9226609468460083, 0.2307521104812622, 0.5564549565315247, -0.03480570763349533, 0.4228244423866272, 1.5558089017868042, -0.310430645942688, 0.9373704791069031, 0.5302168130874634, 0.20770429074764252, 0.0018513109534978867, 0.47984179854393005, 0.04341595619916916, 0.49259158968925476, 0.24036948382854462, -0.2886977195739746, -0.288895845413208, -0.09501681476831436, -0.01732831448316574, 0.8436893224716187, 0.2924198508262634, -0.3549512028694153, -0.6761730313301086, 0.1645636409521103, 0.09062992036342621, -0.027209380641579628, -0.18323737382888794, 0.9016029238700867, 0.05312436819076538, -0.4499027132987976, 0.791901171207428, -0.12094506621360779, 0.569539487361908, -0.5335771441459656, -0.28876179456710815, -0.17394162714481354, 0.3192005753517151, -0.24995477497577667, -0.6938510537147522, 0.106700100004673, 0.05200130492448807, -0.3434756398200989, -0.2532213032245636, 0.7686876654624939, -0.572232723236084, -0.09390264004468918, 0.40110912919044495, 0.43781983852386475, 0.1997617483139038, -0.07426144927740097, -0.7317066192626953, 0.02746874839067459, 0.22673660516738892, -0.44044482707977295, 0.43304550647735596, 0.3318062126636505, 0.002781015820801258, 0.991729199886322, 0.5899667739868164, -0.042535942047834396, -0.1321554034948349, 0.3265930712223053, 1.2166234254837036, -0.6117399334907532, -0.4462302029132843, -0.9703255891799927, 0.38565894961357117, 0.07096042484045029, -0.20626011490821838, 0.7317517399787903, 0.6686119437217712, 0.9006372690200806, 0.01569545641541481, 0.8096276521682739, 0.3549375832080841, 0.6504605412483215, -0.6105724573135376, 0.8572512865066528, -0.29662051796913147, 0.6644629836082458, -0.23564913868904114, -0.8822171688079834, -0.31899797916412354, 0.041330736130476, -0.45651480555534363, 0.0360209159553051, 0.22681458294391632, 0.807651937007904, -0.189239963889122, 0.17920011281967163, 0.54277503490448, 0.18676643073558807, 0.3787725269794464, 0.46075770258903503, 0.948356032371521, -0.09268023818731308, 0.6103799343109131, -0.19519124925136566, -0.4444475471973419, -0.36294734477996826, -0.7812038064002991, -1.005515694618225, -0.3928689956665039, -0.15274208784103394, -0.14724700152873993, 0.12663933634757996, 1.1444329023361206, 0.5659783482551575, -0.6974717378616333, -0.08628363907337189, 0.04247236251831055, 0.4020788371562958, -0.03514901548624039, -0.19224999845027924, 0.36213481426239014, -0.37481364607810974, -0.3620533347129822, 0.5466347932815552, 0.3431074321269989, 0.22755305469036102, -0.132605642080307, -0.03676428645849228, -0.045989252626895905, 0.004565359093248844, 0.6954100728034973, 0.38857558369636536, -0.4553220272064209, -0.35979703068733215, -0.01288535911589861, 0.13174955546855927, 0.08417577296495438, 0.7414047122001648, -0.7560747861862183, 0.37516605854034424, 0.39142322540283203, 0.8741049766540527, 0.37279775738716125, 0.08380542695522308, 0.49733054637908936, -0.9597612023353577, 0.13075672090053558, 0.5185908675193787, 0.3104555010795593, 0.3018728196620941, -0.5015305876731873, 0.17891466617584229, -0.006486704107373953, -0.2867071330547333, -0.8370293378829956, 0.2262231856584549, -0.5808088779449463, -0.48837417364120483, 1.3014689683914185, -0.18969817459583282, -0.511640727519989, -0.06209590286016464, -0.11854252219200134, 0.21144326031208038, -0.5573573112487793, 0.8764742016792297, 0.4215448200702667, -0.17646369338035583, -0.26691246032714844, -0.12807878851890564, 0.14523561298847198, 0.09291348606348038, -0.41409435868263245, 0.46696144342422485, 0.41565263271331787, 0.3223167955875397, -0.0164837297052145, 0.682769775390625, -0.19994080066680908, 0.24029883742332458, -0.07620210945606232, 0.1937485635280609, -0.27800291776657104, -0.4522123336791992, -0.2556826174259186, 0.09827830642461777, -0.0004267062759026885, -0.3398734927177429 ]
http://arxiv.org/abs/2406.12321v1
http://arxiv.org/pdf/2406.12321v1
Automatic benchmarking of large multimodal models via iterative experiment programming
2024-06-18T06:43:46
2024-06-18T06:43:46
Alessandro Conti, Enrico Fini, Paolo Rota, Yiming Wang, Massimiliano Mancini, Elisa Ricci
cs.AI
cs.AI, cs.CL, cs.CV
Assessing the capabilities of large multimodal models (LMMs) often requires the creation of ad-hoc evaluations. Currently, building new benchmarks requires tremendous amounts of manual work for each specific analysis. This makes the evaluation process tedious and costly. In this paper, we present APEx, Automatic Programming of Experiments, the first framework for automatic benchmarking of LMMs. Given a research question expressed in natural language, APEx leverages a large language model (LLM) and a library of pre-specified tools to generate a set of experiments for the model at hand, and progressively compile a scientific report. The report drives the testing procedure: based on the current status of the investigation, APEx chooses which experiments to perform and whether the results are sufficient to draw conclusions. Finally, the LLM refines the report, presenting the results to the user in natural language. Thanks to its modularity, our framework is flexible and extensible as new tools become available. Empirically, APEx reproduces the findings of existing studies while allowing for arbitrary analyses and hypothesis testing.
[ -0.38932016491889954, -0.7148861289024353, 0.5595628619194031, 0.33912959694862366, 0.04905657842755318, -0.05580352246761322, -0.4709774851799011, -0.33172646164894104, -0.12341724336147308, 0.1133563444018364, -0.4259549677371979, -0.54216068983078, -0.4656433165073395, 0.4354884922504425, -0.513665497303009, 0.4382342994213104, -0.2845824360847473, 0.16691578924655914, -0.5440192818641663, -0.269706666469574, -0.1594669669866562, -0.13443787395954132, -0.4131454527378082, -0.20692802965641022, 0.2984365224838257, 0.2571714222431183, 0.6058284044265747, 0.6790420413017273, 0.5937331318855286, 0.41611966490745544, 0.374228835105896, 0.24373628199100494, -0.3828117549419403, 0.10625703632831573, -0.20507661998271942, -0.17387859523296356, -0.24374794960021973, -0.02613489143550396, 0.8264082074165344, 0.761879026889801, -0.009746604599058628, 0.37440168857574463, -0.007152123376727104, 0.23986391723155975, -0.9077640175819397, 0.46118152141571045, -0.5202981233596802, 0.019253864884376526, 0.11967667937278748, -0.21925696730613708, -0.39990130066871643, -0.5150326490402222, -0.2299075722694397, -0.5793992877006531, -0.04253016412258148, 0.17329466342926025, 0.538351833820343, 0.3507980704307556, -0.6067917346954346, -0.23461569845676422, -0.6850115656852722, 1.057893991470337, -0.8682734370231628, 0.4237547516822815, 0.36579394340515137, 0.4696256220340729, -0.06998726725578308, -0.7298884987831116, -0.5873405933380127, -0.7526230812072754, -0.058235328644514084, -0.12076412886381149, -0.3497820198535919, -0.19257852435112, 0.1570539027452469, 0.3125041723251343, -0.7008338570594788, 0.09499509632587433, -0.3776351511478424, -0.12759041786193848, 0.9514585733413696, 0.4704619348049164, 0.09076841175556183, -0.013469019904732704, -0.22194960713386536, -0.47752243280410767, -0.4744071364402771, -0.06087270751595497, 0.09534823149442673, 0.5198559165000916, 0.15653565526008606, 0.6901387572288513, -0.47377750277519226, 0.7582482695579529, -0.39702001214027405, -0.1057252362370491, 0.4679885804653168, -0.44815948605537415, -0.26057004928588867, -0.0998106375336647, 0.9071014523506165, 0.5979130864143372, 0.049551304429769516, -0.1421094685792923, -0.3468277156352997, 0.33849936723709106, 0.28449931740760803, -0.819459855556488, -0.21605220437049866, 0.29924276471138, -0.19301313161849976, -0.15284083783626556, -0.2678658664226532, -0.7046546339988708, -0.22623440623283386, -0.49738380312919617, 0.8158775568008423, -0.45816951990127563, -0.3275950849056244, -0.0053982241079211235, -0.0036491225473582745, -0.2961418330669403, 0.21443066000938416, -0.591683030128479, 0.5798459053039551, 0.49865853786468506, 0.8116961717605591, -0.4260362386703491, -0.46166977286338806, -0.7759236693382263, 0.04351760447025299, -0.4694235920906067, 0.9889128804206848, -0.7573094367980957, -0.6526833176612854, -0.01856045052409172, -0.1097799614071846, -0.11665680259466171, -0.5438644886016846, 0.31924697756767273, -0.24667268991470337, -0.042620010673999786, -0.08050619810819626, -0.6899483799934387, 0.03634263947606087, 0.43608158826828003, -0.5419214963912964, 1.3906174898147583, 0.20723816752433777, -0.37625929713249207, 0.4509834051132202, -0.7221353054046631, -0.17880523204803467, -0.013564725406467915, -0.5170938372612, -0.32919400930404663, -0.02722594141960144, 0.17893573641777039, 0.2470032274723053, -0.5423437356948853, 0.17410212755203247, -0.5015601515769958, -0.13533909618854523, 0.06730104237794876, -0.06690147519111633, 0.45419439673423767, 0.3014957308769226, -0.3852146565914154, 0.5780134201049805, -0.8528586626052856, 0.4564328193664551, 0.08975249528884888, -0.30219393968582153, -0.25463882088661194, 0.10802596807479858, 0.2500537037849426, -0.01452806405723095, 0.03685086593031883, -0.5657086968421936, 0.5690246224403381, 0.004349233582615852, 0.4186720550060272, 0.7237847447395325, -0.26174765825271606, 0.3795086741447449, -0.3296351134777069, 0.47589418292045593, -0.4282703697681427, 0.2940846085548401, -0.34482884407043457, -0.15197621285915375, -0.43742620944976807, -0.3372025787830353, 0.30222979187965393, 0.3104028105735779, -0.5203222036361694, 0.16664433479309082, -0.18741628527641296, -0.6041003465652466, -0.2696288824081421, 0.28420940041542053, 0.3151116967201233, 0.32259494066238403, 0.32385167479515076, -0.25131574273109436, -0.4747653007507324, -1.301965594291687, -0.13935023546218872, -0.13439467549324036, -0.120219387114048, 0.3309158384799957, 0.7515182495117188, -0.1646289825439453, 1.07776939868927, -0.7146443724632263, -0.3517124056816101, -0.04529479891061783, 0.7140488028526306, -0.06802121549844742, 0.41272521018981934, 0.5352193713188171, -0.7509492635726929, -0.380780965089798, -0.2213074117898941, -0.8092760443687439, -0.3868785798549652, 0.054652512073516846, 0.00785452127456665, -0.2441152036190033, 0.6898491382598877, -0.23579934239387512, 0.22062203288078308, 0.6002147197723389, 0.011034644208848476, 0.8598577380180359, -0.19548660516738892, 0.2872123718261719, -0.6889048218727112, 0.3117538392543793, -0.006470483262091875, -0.19175906479358673, -0.09284171462059021, 0.1817937046289444, 0.26380854845046997, -0.1863323301076889, -0.32912206649780273, 0.8455536961555481, -0.5918198823928833, -0.2421734482049942, -0.306829035282135, -0.1564340889453888, -0.06324896216392517, 0.350783109664917, 0.047736749053001404, 0.8579766750335693, 0.5675076246261597, -0.7081756591796875, 0.4286389648914337, 0.17164672911167145, -0.4736780822277069, 0.49643272161483765, -0.7365208864212036, 0.09201997518539429, 0.06796904653310776, 0.12464437633752823, -0.8845520615577698, -0.15002897381782532, -0.18905551731586456, -0.30357739329338074, -0.02632858231663704, -0.13558261096477509, -0.6239993572235107, -0.34118035435676575, -0.47050052881240845, 0.2990611493587494, 0.30070099234580994, -0.21275371313095093, 0.9063504338264465, 0.36334723234176636, -0.23109811544418335, -0.3212980628013611, -0.24252277612686157, 0.208078533411026, 0.1528490036725998, -0.6050782799720764, 0.3417895436286926, -0.5245022773742676, -0.6149353384971619, 0.15849857032299042, -0.01698344014585018, -0.15282513201236725, 0.04224564507603645, 0.35830429196357727, 0.0231691412627697, -0.20564210414886475, 0.17912282049655914, -0.20387037098407745, -0.0798039361834526, 0.09615458548069, 0.0907461941242218, 0.5076056718826294, -0.29226410388946533, -0.6345049142837524, -0.11945055425167084, 0.527359664440155, 0.4252767860889435, -0.4130289852619171, 0.19538381695747375, 0.39529383182525635, -0.34650102257728577, -0.5575648546218872, -0.39346036314964294, -0.12962482869625092, -0.5189515948295593, 0.3255433440208435, -0.32994914054870605, -0.5137495398521423, 0.16934892535209656, -0.4367556869983673, 0.3063208758831024, 0.2974373698234558, 0.7056826949119568, 0.3531624972820282, 1.4086508750915527, 0.8548848032951355, 0.23299184441566467, 0.42045196890830994, -0.21423397958278656, -0.23569893836975098, -0.6720704436302185, -0.023313401266932487, -0.5296177864074707, -0.19192881882190704, -0.025269480422139168, -0.41581863164901733, 0.8327006101608276, -0.2491292804479599, -0.14933046698570251, 0.3302554488182068, -0.43965160846710205, 0.49872058629989624, 0.5700391530990601, -0.21279512345790863, 0.5486539602279663, -0.4283573031425476, -0.20994244515895844, 0.124517060816288, -0.47239822149276733, -0.52999347448349, 1.2933669090270996, -0.14450252056121826, 0.8956761956214905, -0.08834829181432724, 0.4513028562068939, 0.5668332576751709, 0.7171594500541687, -0.6483290791511536, 0.6381407976150513, 0.27929002046585083, -0.5315789580345154, -0.20435333251953125, -0.47090744972229004, -0.8262039422988892, 0.35077619552612305, -0.2755174934864044, -0.6982909440994263, 0.04457499459385872, 0.29548147320747375, -0.4520168602466583, 0.06294412165880203, -0.7016773819923401, 0.9509891867637634, -0.40238329768180847, -0.6845076084136963, -0.2821364402770996, -0.2317318320274353, 0.24499376118183136, -0.05091390386223793, 0.30914565920829773, -0.2807033658027649, 0.14011836051940918, 0.6282926201820374, -0.2163228839635849, 0.5423592925071716, -0.11711891740560532, -0.11207585781812668, 0.0318557508289814, 0.4195138216018677, 0.4421478807926178, 0.18643172085285187, -0.28871795535087585, -0.11841242015361786, 0.19187913835048676, -0.26204097270965576, -0.3975888788700104, 0.8955998420715332, -0.55449378490448, -0.4211355745792389, -0.5678656101226807, -0.7072197794914246, -0.4285752475261688, 0.47775813937187195, -0.0716242790222168, 0.6693483591079712, -0.5262075662612915, 0.1664997637271881, 0.3545904755592346, -0.30784156918525696, 0.41408079862594604, 0.8234185576438904, -0.6085783839225769, -0.042711906135082245, 0.5982847809791565, -0.027201494202017784, 0.14191682636737823, 0.17559082806110382, 0.2095838040113449, -0.16727665066719055, -0.8448107242584229, -0.6153517961502075, -0.17436301708221436, -0.6945639848709106, -0.23644283413887024, -0.7240923643112183, 0.20275463163852692, -0.4471423923969269, -0.17680388689041138, -0.8090497255325317, -0.15823331475257874, 0.3556530475616455, 0.1099410131573677, 0.2678818702697754, 0.759657621383667, -0.31909409165382385, -0.03596419841051102, -0.6787719130516052, 0.4534345269203186, 0.43015769124031067, 0.4361916482448578, -0.04072228819131851, -0.056867826730012894, -0.2350558042526245, -0.07834015041589737, -0.2605186104774475, -0.4326055347919464, 0.47714880108833313, 0.42266422510147095, 0.6306724548339844, 0.20920634269714355, 0.22356881201267242, 0.5493011474609375, -0.7249877452850342, 0.6942142844200134, -0.09133221954107285, -0.9468368291854858, 0.527446448802948, -0.32223188877105713, 0.4077816307544708, 0.7565839886665344, 0.5241211652755737, -0.2819099426269531, -0.35375702381134033, -0.10941560566425323, -1.2058765888214111, 0.4932849705219269, 0.1422102302312851, -0.06682732701301575, -0.05394548922777176, -0.25134018063545227, 0.42814964056015015, 0.3053821325302124, -0.445109099149704, -0.0018408318283036351, -0.059765975922346115, 0.00991668552160263, -0.25223347544670105, 0.08087052404880524, -0.7063419818878174, -0.3207095265388489, 0.514670729637146, -0.433282732963562, 0.18226277828216553, 0.13695357739925385, -0.5963378548622131, -0.29737892746925354, 0.06705991923809052, 0.4600386321544647, 1.3292107582092285, -0.5484407544136047, 0.2802504003047943, 0.14239364862442017, -0.05530431866645813, -0.11056531220674515, 0.2651616036891937, 0.14920265972614288, -0.11887580156326294, 0.5135652422904968, 0.5459498763084412, 0.4555116295814514, -1.3046374320983887, 0.4896904528141022, -0.24201911687850952, -0.18866991996765137, -0.6850460767745972, 0.1678030788898468, 0.04757828265428543, 0.22496382892131805, 0.7298341393470764, -0.11003363877534866, 0.2471223920583725, -0.7197564244270325, 0.5235885381698608, 0.4341827630996704, -0.030256908386945724, -0.3301142156124115, 0.8622222542762756, 0.23444849252700806, -0.14105366170406342, 0.5020387172698975, -0.36822009086608887, -0.2918824255466461, 0.6585824489593506, 0.45584484934806824, 0.6200284361839294, -0.17188766598701477, 0.05224777013063431, 0.5646957755088806, 0.2783830165863037, -0.19477182626724243, 0.23458437621593475, 0.03199194744229317, -0.4882509410381317, -0.49091118574142456, -0.7257843017578125, -0.780406653881073, 0.030804496258497238, -0.7311388254165649, 0.290290504693985, -0.44121021032333374, -0.022938627749681473, 0.49993056058883667, -0.2647622525691986, -0.7623138427734375, 0.1393832117319107, 0.3513723611831665, 1.0253503322601318, -0.9133507013320923, 0.6239300966262817, 0.7540001273155212, -0.2602936625480652, -0.38463786244392395, -0.5121082663536072, 0.39148303866386414, -0.908201277256012, 0.8107447028160095, 0.13854199647903442, -0.2601795196533203, -0.07381118834018707, -0.703868567943573, -0.9797489643096924, 1.0016236305236816, 0.25970736145973206, -0.5333682298660278, 0.3200766444206238, -0.015447420999407768, 0.4898594319820404, -0.4787787199020386, 0.6844291090965271, 0.3245910108089447, 0.7871229648590088, -0.10004721581935883, -1.3592013120651245, 0.08032790571451187, -0.8628824353218079, -0.20477870106697083, 0.24547360837459564, -0.417809396982193, 1.2218784093856812, -0.10733815282583237, -0.10045380145311356, -0.07431349158287048, 0.4923935532569885, 0.02487955242395401, 0.3375691771507263, 0.7271245718002319, 0.5043116211891174, 0.4849236011505127, 0.08098569512367249, 1.1980440616607666, -0.42618587613105774, 0.41972604393959045, 1.2078452110290527, -0.8497512340545654, 0.8571377396583557, 0.25991111993789673, -0.25428202748298645, 0.3103204369544983, 0.4464774429798126, -0.33217209577560425, 0.4326445460319519, 0.3654443919658661, -0.15988214313983917, -0.3559727370738983, -0.15319035947322845, -0.38298824429512024, 0.4922083914279938, 0.13347361981868744, -0.17154021561145782, -0.6264466643333435, 0.11989864706993103, -0.019653957337141037, 0.19522662460803986, -0.26702243089675903, 0.6186851263046265, -0.04656625911593437, -0.6325443983078003, 0.7274793982505798, 0.08101891726255417, 0.7104392647743225, -1.1085797548294067, -0.13474039733409882, -0.14504744112491608, 0.4665440022945404, -0.12893377244472504, -0.51610267162323, 0.3538832366466522, 0.03362942859530449, 0.027497543022036552, -0.3399796485900879, 0.35089707374572754, -0.27093496918678284, -0.624323844909668, 0.4098414480686188, 0.4846543073654175, -0.07995573431253433, -0.22329482436180115, -0.642667293548584, 0.4210418462753296, -0.31141096353530884, -0.5293543338775635, 0.5025372505187988, 0.0411536730825901, -0.25780966877937317, 1.0085296630859375, 0.7899048924446106, 0.014931339770555496, -0.10904219001531601, 0.018878350034356117, 1.1186680793762207, -0.6711781024932861, -0.5006749629974365, -0.8398450613021851, 0.35514628887176514, -0.1215926855802536, -0.4311341941356659, 0.9533717632293701, 0.9289748072624207, 0.7613871097564697, -0.009652216918766499, 0.9886026978492737, -0.2788967490196228, 0.43691304326057434, -0.37655821442604065, 0.4372989535331726, -0.8229630589485168, 0.11389663815498352, -0.19779431819915771, -0.9399179816246033, -0.16670559346675873, 0.40667861700057983, -0.2944273352622986, -0.11707888543605804, 0.8330132961273193, 0.8309536576271057, -0.3018967807292938, -0.1395293027162552, 0.0620616115629673, 0.33563798666000366, 0.39473816752433777, 0.455114483833313, 0.7513247728347778, -0.03669163957238197, 0.5259000658988953, -0.32192665338516235, -0.4388192296028137, -0.27555692195892334, -1.3068739175796509, -0.7200848460197449, -0.5360216498374939, -0.4449848234653473, -0.047139570116996765, 0.01960025168955326, 1.3114190101623535, 0.8049408197402954, -0.8324099183082581, -0.5208677649497986, 0.34367552399635315, -0.2530645728111267, -0.5765220522880554, -0.22662906348705292, 0.4732266366481781, -0.09741469472646713, -0.9514116048812866, 0.7681499123573303, 0.2823890447616577, -0.47018060088157654, -0.3559366762638092, 0.2565428614616394, -0.3469504415988922, -0.013243701308965683, 0.6186326742172241, 0.37409988045692444, -0.16174544394016266, -0.24288098514080048, -0.028573131188750267, 0.09391826391220093, 0.06767448782920837, 0.8920086622238159, -0.7586444020271301, 0.6418518424034119, 0.3765842318534851, 0.5119088292121887, 0.5200130343437195, -0.08520049601793289, 0.9232062697410583, -0.7063124179840088, 0.0581759512424469, 0.5068690180778503, 0.30526378750801086, 0.30473190546035767, 0.12137435376644135, 0.6523962616920471, -0.05913373455405235, -0.5484941601753235, -1.3581061363220215, 0.12399447709321976, -0.9686326384544373, -0.5619920492172241, 1.240930438041687, 0.05049299821257591, -0.2381160408258438, -0.025632841512560844, -0.20221658051013947, -0.011170826852321625, -0.41121935844421387, 1.0500516891479492, 0.6328650712966919, -0.3567364513874054, 0.10800555348396301, -0.8982843160629272, 0.4789833128452301, 0.3182556927204132, -0.901671826839447, 0.19834747910499573, 0.4112744927406311, 0.4208708107471466, 0.13775165379047394, 0.5293115973472595, -0.04186646640300751, 0.14699611067771912, 0.21966552734375, 0.4707711935043335, -0.6414542198181152, -0.0454084575176239, -0.0035239653661847115, 0.22127583622932434, -0.041923582553863525, 0.19940994679927826 ]
http://arxiv.org/abs/2406.12319v1
http://arxiv.org/pdf/2406.12319v1
PRePair: Pointwise Reasoning Enhance Pairwise Evaluating for Robust Instruction-Following Assessments
2024-06-18T06:43:04
2024-06-18T06:43:04
Hawon Jeong, ChaeHun Park, Jimin Hong, Jaegul Choo
cs.CL
cs.CL
Pairwise evaluation using large language models (LLMs) is widely used for evaluating natural language generation (NLG) tasks. However, the reliability of LLMs is often compromised by biases, such as favoring verbosity and authoritative tone. In the study, we focus on the comparison of two LLM-based evaluation approaches, pointwise and pairwise. Our findings demonstrate that pointwise evaluators exhibit more robustness against undesirable preferences. Further analysis reveals that pairwise evaluators can accurately identify the shortcomings of low-quality outputs even when their judgment is incorrect. These results indicate that LLMs are more severely influenced by their bias in a pairwise evaluation setup. To mitigate this, we propose a hybrid method that integrates pointwise reasoning into pairwise evaluation. Experimental results show that our method enhances the robustness of pairwise evaluators against adversarial samples while preserving accuracy on normal samples.
[ -0.15279720723628998, -0.8237988352775574, 0.5714040994644165, 0.37397393584251404, -0.06337030231952667, 0.36634862422943115, -0.41691458225250244, -0.08733180910348892, -0.001453409786336124, 0.3306533694267273, -0.11436247080564499, -0.6798557043075562, -0.6437892913818359, 0.014496330171823502, -0.32026925683021545, 0.8337602019309998, -0.0073010604828596115, 0.13754193484783173, -0.5552359223365784, -0.1923876702785492, -0.5716120600700378, -0.45179513096809387, -0.78789883852005, -0.35091617703437805, 0.1418154388666153, 0.26517295837402344, 0.7409057021141052, 0.3422689139842987, 0.2843049168586731, 0.3051575720310211, 0.013407078571617603, 0.32584434747695923, -0.47679510712623596, 0.22220416367053986, 0.03939949348568916, -0.17967469990253448, -0.5725474953651428, 0.025532014667987823, 0.546341061592102, 0.6347486972808838, -0.017492767423391342, -0.08093630522489548, 0.29057610034942627, 0.6641302108764648, -0.9056803584098816, -0.17040184140205383, -0.6643069982528687, -0.17424626648426056, 0.17993870377540588, -0.22971230745315552, -0.5912183523178101, -0.5380169749259949, 0.26291176676750183, -0.5639104843139648, 0.012457187287509441, -0.15456467866897583, 0.5299901962280273, 0.4148723781108856, -0.13716275990009308, -0.1354028731584549, -0.5260009169578552, 1.0215141773223877, -1.031000018119812, 0.4548984169960022, 0.4329497814178467, 0.021251650527119637, -0.35091084241867065, -0.6440737247467041, -0.4835645854473114, -0.43881338834762573, -0.09193513542413712, 0.3162105977535248, -0.14499245584011078, 0.2148747742176056, 0.1183726117014885, 0.17476379871368408, -0.5963915586471558, 0.3388078510761261, -0.2152109593153, -0.2811676561832428, 0.8206369876861572, -0.06456055492162704, 0.23882804811000824, -0.514938473701477, -0.40376046299934387, -0.19820867478847504, -0.8432131409645081, 0.12098122388124466, 0.5263862609863281, 0.204431414604187, 0.07914087921380997, 0.36507225036621094, 0.033300936222076416, 0.990227460861206, 0.32667726278305054, -0.2250973880290985, 0.07361555099487305, -0.4211704432964325, -0.22262020409107208, 0.04522711783647537, 0.9948056936264038, 0.6681185960769653, 0.09297507256269455, -0.23221361637115479, -0.22341687977313995, 0.14391565322875977, 0.32679086923599243, -0.5909571647644043, -0.3573976755142212, 0.29445019364356995, -0.5002077221870422, -0.42190995812416077, 0.1995425671339035, -0.8299237489700317, -0.31423571705818176, -0.2312350571155548, 0.565082311630249, -0.4474771022796631, 0.007832447066903114, -0.11134083569049835, -0.08476105332374573, 0.21408991515636444, 0.16203919053077698, -0.7534966468811035, 0.27320924401283264, 1.0136432647705078, 0.6418740749359131, -0.4800976812839508, -0.31367573142051697, -0.9316487908363342, -0.00961211696267128, -0.34611743688583374, 0.7669125199317932, -0.688292384147644, -0.6808683276176453, -0.15213917195796967, -0.4669405221939087, -0.21302956342697144, -0.6425808668136597, 0.5561389327049255, -0.4131920635700226, 0.5257686376571655, -0.13635650277137756, -0.4214889705181122, -0.05213369429111481, 0.256348192691803, -0.38740450143814087, 1.3187346458435059, 0.1787300705909729, -0.8722057342529297, 0.538451075553894, -0.3293611705303192, -0.691314697265625, 0.0708889588713646, -0.40130162239074707, -0.3628762364387512, -0.052687983959913254, 0.46621987223625183, 0.4828927516937256, -0.039141323417425156, 0.3743301331996918, -0.4334654211997986, -0.5542044639587402, -0.04764881357550621, -0.34259700775146484, 0.5507438778877258, -0.20236963033676147, -0.5605589747428894, 0.5447575449943542, -0.7625031471252441, 0.1429087519645691, 0.02861770987510681, -0.27073612809181213, -0.6197786927223206, 0.16073879599571228, -0.46131032705307007, 0.012307786382734776, 0.29741212725639343, -0.26202133297920227, -0.031893663108348846, -0.5038003325462341, 0.26565513014793396, 0.8795390725135803, 0.10853052139282227, 0.6397544741630554, -0.3697957396507263, 0.5145716667175293, -0.3361511826515198, 0.24182479083538055, 0.259295254945755, -0.537528395652771, -0.7492774128913879, 0.02215706557035446, 0.21895703673362732, 0.7271723747253418, -0.948508083820343, 0.6416528820991516, -0.10581421852111816, -0.38834255933761597, -0.3809516727924347, 0.5501803159713745, 0.7776468396186829, 0.9458950161933899, 0.32647785544395447, -0.09186191111803055, -0.4511978328227997, -0.6871374249458313, -0.34097591042518616, -0.33990156650543213, -0.1667557954788208, 0.012315962463617325, 0.11505775153636932, 0.09628105908632278, 0.7137291431427002, -0.05933304503560066, 0.5544192790985107, -0.530207633972168, 0.20520654320716858, 0.1209220290184021, 0.4707592725753784, 0.48917317390441895, -0.6097118258476257, -0.297679603099823, -0.40965691208839417, -0.5417042374610901, -0.2836659252643585, -0.156915545463562, -0.37657493352890015, 0.32251161336898804, 0.2689514756202698, -0.22675706446170807, 0.5092000365257263, 0.6679787039756775, -0.3390904366970062, 0.5672035217285156, -0.13520082831382751, 0.18092159926891327, -0.9875375032424927, -0.17034821212291718, 0.26408591866493225, -0.08695821464061737, -0.602274477481842, -0.05250745639204979, -0.1079169437289238, 0.23200061917304993, -0.2685134708881378, 0.4791276752948761, -0.2802392840385437, -0.2649257779121399, -0.2323593646287918, 0.4547339677810669, 0.43587708473205566, 0.20157434046268463, 0.11712761968374252, 0.9220685958862305, 0.3559953272342682, -0.5288998484611511, 0.27969855070114136, 0.2862507104873657, -0.14434312283992767, 0.7465196847915649, -0.8716549873352051, 0.4499204754829407, 0.22407138347625732, 0.23053483664989471, -0.6980517506599426, 0.02611495368182659, 0.4045272469520569, -0.4925347864627838, 0.4382602870464325, -0.030969463288784027, -0.3754359483718872, -0.29725855588912964, -0.8876343965530396, 0.09456897526979446, 0.5327578186988831, -0.8276716470718384, 0.3000911474227905, -0.005968997720628977, -0.1289927214384079, -0.5415551066398621, -0.5446656346321106, -0.0967753678560257, -0.37924328446388245, -0.800704836845398, 0.20345720648765564, -0.0664701983332634, -0.602400541305542, -0.19550281763076782, -0.3826355040073395, 0.21454869210720062, 0.1770663857460022, 0.1804029792547226, 0.7020728588104248, -0.20580196380615234, -0.1519649773836136, 0.18654689192771912, -0.20051920413970947, 0.3698148727416992, -0.2848646938800812, 0.3625113368034363, -0.23421408236026764, -0.38138547539711, -0.07883793860673904, 0.32524991035461426, 0.21546030044555664, -0.27551743388175964, 0.46822816133499146, 0.5577160716056824, -0.2570561170578003, -0.4763483703136444, -0.5354623794555664, -0.28364527225494385, -0.5134193301200867, 0.15877114236354828, -0.06714914739131927, -0.6360906958580017, -0.0010284765157848597, 0.20808598399162292, 0.051370978355407715, 0.31329119205474854, 0.31958770751953125, -0.13774581253528595, 0.9488612413406372, 0.22887839376926422, 0.1154649406671524, 0.24336682260036469, -0.11816763132810593, 0.42970383167266846, -1.0151182413101196, -0.25538742542266846, -0.29886430501937866, -0.37332871556282043, -0.37355008721351624, -0.2786847949028015, 0.644528865814209, 0.43603426218032837, -0.11499247699975967, 0.1569124311208725, -0.6729118824005127, 0.3130972385406494, 1.011146068572998, 0.3310758173465729, 0.17558130621910095, -0.08383132517337799, -0.11411093920469284, 0.010309230536222458, -0.8189176321029663, -0.8811425566673279, 1.391254186630249, 0.013206416741013527, 0.4379453957080841, -0.11525246500968933, 0.8363898992538452, 0.14126449823379517, 0.26720213890075684, -0.7945746183395386, 0.723605215549469, -0.25671714544296265, -0.06732355803251266, -0.22953124344348907, -0.5652984976768494, -0.637107253074646, 0.031189026311039925, -0.47916388511657715, -0.9788712859153748, -0.12084541469812393, 0.38807767629623413, -0.6769620180130005, 0.40132278203964233, -0.8117357492446899, 0.834326446056366, -0.7437946796417236, -0.6918613910675049, -0.2096865326166153, -0.6291537284851074, 0.4557749927043915, -0.004470020066946745, -0.05944067984819412, 0.17565785348415375, 0.029976731166243553, 1.0564600229263306, -0.5568789839744568, 0.6371824145317078, -0.1473594754934311, 0.0870620384812355, 0.3349425196647644, 0.31600797176361084, 0.35759416222572327, 0.1120186373591423, -0.2610723078250885, 0.04800856485962868, -0.04981638491153717, -0.4422188103199005, -0.8884701132774353, 1.0098363161087036, -0.588341236114502, -0.943697988986969, -0.15606904029846191, -0.6093170046806335, -0.7109832167625427, 0.06297535449266434, 0.3780038356781006, 0.5556690096855164, -0.007280032150447369, -0.10241593420505524, 0.5746996402740479, -0.36445513367652893, 0.508301854133606, 0.06642093509435654, -0.1023213267326355, -0.4953106939792633, 0.9022899270057678, -0.2259720414876938, 0.6149085760116577, 0.38567668199539185, 0.5834524035453796, -0.293483704328537, -0.9425042271614075, -0.46909454464912415, 0.07069490849971771, -0.7321071028709412, -0.17208810150623322, -0.2062142789363861, -0.0782666951417923, -0.47558361291885376, -0.41858941316604614, -0.08358916640281677, -0.4953514337539673, -0.09721463173627853, -0.21588626503944397, 0.28788912296295166, 0.8213088512420654, -0.016774823889136314, 0.345647394657135, -0.7387399077415466, 0.24003872275352478, 0.4530661106109619, 0.218679279088974, -0.2268134504556656, -0.473239928483963, 0.2713026702404022, -0.13641326129436493, -0.35751378536224365, -0.899660587310791, 0.053757958114147186, -0.10308117419481277, 0.6641978621482849, 0.6189130544662476, 0.1883309930562973, 0.4731728136539459, -0.021496783941984177, 0.8239880800247192, 0.1634349524974823, -1.051478385925293, 0.7571516633033752, -0.20866218209266663, 0.15542298555374146, 0.7410153150558472, 0.2963351905345917, -0.08020578324794769, -0.2922150194644928, -0.6610309481620789, -0.7683019638061523, 0.3897755444049835, -0.06633420288562775, -0.3504077196121216, 0.02305740863084793, 0.15907356142997742, 0.16156013309955597, 0.08624246716499329, -0.38730987906455994, -0.08899666368961334, -0.3909350335597992, -0.2575643062591553, -0.05564295873045921, -0.30655431747436523, -0.20534396171569824, -0.231176495552063, 0.5748496651649475, -0.08738195896148682, -0.08274361491203308, 0.0685054212808609, 0.06743673980236053, 0.08049970865249634, 0.39773932099342346, 0.48561030626296997, 0.898876965045929, -0.2661294937133789, 0.11911866813898087, 0.4204159080982208, -0.2710154354572296, -0.12925033271312714, 0.21624942123889923, -0.569668173789978, -0.05178035423159599, 0.7709940671920776, 0.773645281791687, 0.5735480189323425, -0.6585234999656677, 0.7864135503768921, 0.030273618176579475, -0.032310258597135544, -0.061069365590810776, 0.03780185431241989, 0.020428791642189026, 0.05549708753824234, 0.05010247975587845, 0.1428503394126892, 0.052845828235149384, -0.2559269964694977, 0.06409185379743576, 0.549148678779602, -0.0752360075712204, -0.29300329089164734, 0.605686366558075, 0.4104149341583252, -0.3712344169616699, 0.5580495595932007, -0.2778356373310089, -0.7348989248275757, 0.48351603746414185, 0.5315989851951599, 0.8542940616607666, -0.21506346762180328, 0.16886746883392334, 0.32477909326553345, 0.3081768751144409, 0.11220291256904602, 0.3425323963165283, -0.21472719311714172, -0.6902102828025818, -0.3901052474975586, -0.4770938754081726, -0.6382573843002319, -0.007792622782289982, -0.7204152941703796, 0.12069830298423767, -0.8701981902122498, 0.0474461168050766, -0.465169221162796, -0.1310984492301941, -0.39641085267066956, 0.10092449933290482, 0.25124964118003845, 0.7915687561035156, -0.6849620938301086, 0.7186546921730042, 0.7421136498451233, -0.16804750263690948, -1.0388706922531128, 0.18336106836795807, 0.09651320427656174, -0.9747031927108765, 0.37993961572647095, 0.05141934007406235, -0.3359794020652771, -0.43914851546287537, -0.16767041385173798, -0.40729808807373047, 1.0541468858718872, 0.14841073751449585, -0.6404221653938293, -0.020761117339134216, -0.0959148034453392, 0.3441338837146759, -0.10346227139234543, 0.37235966324806213, 0.8810904026031494, 0.6878682971000671, 0.16361981630325317, -0.8664930462837219, 0.16518697142601013, -0.18608412146568298, -0.07253266125917435, 0.2383514642715454, -0.44795140624046326, 0.40215909481048584, -0.35191288590431213, -0.1258934885263443, -0.047292087227106094, 0.5319628119468689, 0.6731476187705994, 0.6973077058792114, 0.7587774991989136, 0.5212118029594421, 0.7320404648780823, -0.1839280128479004, 1.0534350872039795, -0.42513972520828247, -0.3250274956226349, 1.3051339387893677, -0.296728253364563, 1.0823904275894165, 0.5416396856307983, -0.21121671795845032, 0.46800559759140015, 0.5091776847839355, 0.1623029112815857, 0.27542799711227417, 0.25248268246650696, -0.27928370237350464, -0.3804013133049011, 0.10750427842140198, -0.2120080143213272, 0.4440174102783203, 0.17355217039585114, -0.1274971216917038, 0.05029379203915596, -0.3746405243873596, 0.29823267459869385, 0.6886563897132874, -0.4344531297683716, 0.6025779247283936, 0.048309460282325745, -0.9536817669868469, 0.46543920040130615, -0.13220031559467316, 0.9653774499893188, -0.5804524421691895, 0.01591133140027523, -0.3159802556037903, 0.010093973018229008, -0.48416006565093994, -0.705382227897644, 0.36371251940727234, 0.20752784609794617, 0.17776373028755188, -0.3730904757976532, 0.9213385581970215, -0.15682458877563477, -0.5526894927024841, 0.5080435276031494, 0.5404551029205322, -0.24452130496501923, 0.06881020218133926, -0.5787267684936523, 0.0869007259607315, 0.04064202308654785, -0.08572079241275787, 0.15787319839000702, -0.11862543225288391, -0.2416049689054489, 0.4227633774280548, 0.7186723351478577, 0.30192774534225464, 0.17588907480239868, 0.14139120280742645, 0.7141206860542297, -0.43373069167137146, -0.21215344965457916, -0.8554317355155945, 0.22292135655879974, -0.16315825283527374, -0.38132694363594055, 0.9016571640968323, 0.4608161747455597, 0.9207296371459961, 0.3440271317958832, 0.8662860989570618, 0.11487924307584763, 0.48599687218666077, -0.7052018642425537, 0.5715505480766296, -0.19084741175174713, 0.4781501293182373, -0.3509090542793274, -0.9373494386672974, -0.2727853059768677, 0.48439064621925354, -0.8475285172462463, 0.10257067531347275, 0.6360429525375366, 0.7529547810554504, -0.02084028348326683, 0.052814334630966187, 0.21604718267917633, -0.023618454113602638, 0.175919771194458, 0.7661400437355042, 1.1648348569869995, -0.1326584368944168, 0.563384473323822, -0.6095941066741943, -0.4081856906414032, 0.2010941356420517, -0.9716559648513794, -1.1935133934020996, -0.1292448192834854, -0.26406049728393555, -0.49829623103141785, 0.17637817561626434, 0.9567049741744995, 0.6478054523468018, -0.8221516013145447, -0.18575580418109894, -0.04427158087491989, 0.3222081959247589, -0.134697824716568, -0.24814216792583466, 0.48469167947769165, -0.07521318644285202, -0.6703525185585022, 0.9320011734962463, 0.34148138761520386, -0.22172395884990692, -0.4163516163825989, -0.4764375686645508, 0.046340201050043106, 0.02051762118935585, 0.46479952335357666, 0.20242959260940552, -0.7936122417449951, -0.4105556607246399, -0.09768698364496231, 0.07085159420967102, 0.05341744050383568, 0.7709686756134033, -0.8369647860527039, 0.4213884472846985, 0.7526015639305115, 0.6924881935119629, -0.04854125156998634, 0.30609485507011414, 0.8801377415657043, -0.5193151235580444, 0.08688608556985855, 0.3843132257461548, 0.46315085887908936, 0.6061062812805176, -0.2647918462753296, 0.3176425099372864, 0.1396765559911728, -0.4210927486419678, -0.5970090627670288, 0.06044642627239227, -1.1034204959869385, -0.044951461255550385, 1.2766940593719482, -0.3239164352416992, -0.005826101638376713, 0.3458663821220398, 0.0026558369863778353, 0.23591093719005585, -0.34740161895751953, 0.6652035117149353, 0.4478013813495636, -0.34079205989837646, -0.07145827263593674, -0.29198288917541504, 0.2594854533672333, 0.7438744902610779, -0.956716001033783, -0.5495493412017822, 0.4650310277938843, 0.19528339803218842, -0.02151682786643505, 0.22055207192897797, 0.06872046738862991, 0.2800537943840027, -0.05833907797932625, -0.2857723534107208, -0.2251957654953003, -0.20926184952259064, -0.4556185007095337, 0.03382481634616852, 0.19858267903327942, -0.3297884464263916 ]
http://arxiv.org/abs/2406.12317v1
http://arxiv.org/pdf/2406.12317v1
Finding Task-specific Subnetworks in Multi-task Spoken Language Understanding Model
2024-06-18T06:39:41
2024-06-18T06:39:41
Hayato Futami, Siddhant Arora, Yosuke Kashiwagi, Emiru Tsunoo, Shinji Watanabe
cs.CL
cs.CL, eess.AS
Recently, multi-task spoken language understanding (SLU) models have emerged, designed to address various speech processing tasks. However, these models often rely on a large number of parameters. Also, they often encounter difficulties in adapting to new data for a specific task without experiencing catastrophic forgetting of previously trained tasks. In this study, we propose finding task-specific subnetworks within a multi-task SLU model via neural network pruning. In addition to model compression, we expect that the forgetting of previously trained tasks can be mitigated by updating only a task-specific subnetwork. We conduct experiments on top of the state-of-the-art multi-task SLU model ``UniverSLU'', trained for several tasks such as emotion recognition (ER), intent classification (IC), and automatic speech recognition (ASR). We show that pruned models were successful in adapting to additional ASR or IC data with minimal performance degradation on previously trained tasks.
[ -0.2091824859380722, -0.5673001408576965, 0.317959189414978, 0.12405122071504593, -0.37758272886276245, -0.2915964424610138, -0.29585519433021545, -0.11021920293569565, 0.2501121461391449, 0.44133928418159485, -0.8201069831848145, -0.41368231177330017, -0.3864791691303253, -0.23310013115406036, -0.3123578131198883, 0.7203917503356934, 0.05611133947968483, -0.2810872197151184, -0.3434649407863617, -0.3325483500957489, -0.7186780571937561, -0.6513273119926453, -0.7533080577850342, -0.6438451409339905, 0.4042533338069916, 0.5574260950088501, 0.14865659177303314, 0.15163061022758484, 0.14011195302009583, 0.37710168957710266, -0.3634168803691864, 0.08586963266134262, -0.4810028374195099, 0.19253326952457428, -0.017666194587945938, -0.7080998420715332, -0.33289533853530884, -0.3166033625602722, 0.9126648306846619, 0.7223014235496521, -0.36169546842575073, 0.278433233499527, 0.12336497753858566, 0.5365742444992065, -0.5111885666847229, 0.20232178270816803, -0.6664954423904419, 0.24555906653404236, -0.15415352582931519, -0.19333899021148682, -0.5001420378684998, 0.38759347796440125, 0.226339191198349, -0.6477771401405334, 0.45652252435684204, -0.26566600799560547, 0.6830869913101196, 0.37453389167785645, -0.25717851519584656, 0.030572062358260155, -0.5854208469390869, 0.7892683744430542, -0.8871724009513855, 0.4665950536727905, 0.37947985529899597, -0.08677433431148529, -0.20699550211429596, -0.5387352705001831, -0.22252966463565826, -0.30570968985557556, -0.17915818095207214, 0.2873525321483612, -0.5850366950035095, 0.20003171265125275, 0.20210491120815277, 0.032669320702552795, -0.5270846486091614, 0.1413763165473938, -0.4703102111816406, -0.25813430547714233, 0.3441474735736847, 0.016304466873407364, 0.2716240882873535, 0.014008305966854095, -0.11169314384460449, 0.21678024530410767, -0.5779683589935303, 0.15173391997814178, 0.334883451461792, 0.32929813861846924, 0.15755745768547058, 0.31035035848617554, -0.137492373585701, 0.6832878589630127, -0.15242236852645874, -0.09269528836011887, 0.41174790263175964, -0.3296435475349426, -0.4481338560581207, -0.03951716795563698, 0.46644681692123413, -0.1291513741016388, 0.4459722638130188, -0.21315060555934906, -0.19214428961277008, 0.0032615007366985083, 0.4917547106742859, -0.20273646712303162, -0.5185949206352234, 0.1825752556324005, -0.5297316908836365, 0.10167841613292694, -0.4126752018928528, 0.08852856606245041, -0.11967450380325317, -0.3818050026893616, 0.2337101250886917, -0.4637176990509033, -0.5368850231170654, -0.046406373381614685, -0.11422323435544968, -0.27407318353652954, 0.3109334707260132, -0.43301233649253845, 0.28651708364486694, 0.4772695004940033, 0.9101837277412415, -0.08612918108701706, -0.7624830603599548, -0.39349302649497986, -0.13802453875541687, -0.150155171751976, 0.544467568397522, -0.26023679971694946, -0.15232357382774353, -0.3275493383407593, 0.20797385275363922, -0.6053420305252075, -0.6341832876205444, 0.510558009147644, -0.3076331913471222, -0.3852055072784424, -0.08872154355049133, -0.3716883361339569, -0.4604722857475281, 0.2264057695865631, -0.7815578579902649, 0.8117138147354126, -0.29323717951774597, -0.7652578949928284, -0.17678788304328918, -0.6227999925613403, -0.706140398979187, -0.054856814444065094, -0.0047096991911530495, -0.5575069189071655, 0.707843005657196, 0.12460269033908844, 0.45719465613365173, -0.10996757447719574, 0.4290722608566284, -0.07880648225545883, -0.353899210691452, 0.21914216876029968, -0.24243919551372528, 0.5848621726036072, 0.05988740548491478, -0.13136713206768036, 0.5219135284423828, -0.41022437810897827, -0.12812864780426025, 0.06724730134010315, -0.3014475405216217, -0.5228955149650574, 0.09238392859697342, -0.10504038631916046, 0.16534629464149475, 0.0957992672920227, -0.5613905787467957, -0.03448078781366348, -0.0876883789896965, 0.7176490426063538, 0.6632548570632935, -0.0930345207452774, 0.3801763653755188, -0.47293075919151306, 0.5461137890815735, 0.5030558705329895, 0.13679859042167664, -0.23459357023239136, -0.4301908314228058, -1.0672471523284912, 0.20950761437416077, 0.14019794762134552, 0.5781503915786743, -0.5404541492462158, 0.008368401788175106, -0.15312959253787994, -0.6314586997032166, -0.6527912020683289, 0.12610265612602234, 0.495472252368927, 0.5220675468444824, 0.3827444911003113, -0.41334062814712524, -0.4912005662918091, -1.1217516660690308, -0.28294336795806885, -0.05068819969892502, 0.06548377871513367, 0.5036482810974121, 0.43174293637275696, -0.0933927670121193, 0.7851367592811584, -0.2928348481655121, -0.4741404354572296, -0.4960078299045563, 0.4315609335899353, 0.259843111038208, 0.603039026260376, 0.1437249630689621, -1.0292162895202637, -0.082516610622406, -0.05311768501996994, -0.4364128112792969, -0.0210834089666605, -0.4780126214027405, 0.3583035469055176, -0.2952517569065094, 0.3777661919593811, -0.7264969348907471, 0.4497045576572418, 0.5054079294204712, 0.07122015208005905, 0.731357991695404, -0.3528677225112915, -0.16776210069656372, -0.8096578121185303, 0.07751323282718658, 0.26298898458480835, -0.12960128486156464, -1.2095500230789185, -0.0006013410747982562, 0.06881732493638992, -0.225608691573143, -0.5549662709236145, 0.22713357210159302, -0.7636125087738037, -0.345348060131073, -0.24629327654838562, 0.08934438228607178, -0.06916698813438416, 0.8576938509941101, 0.33310797810554504, 0.5396154522895813, 0.8085771203041077, -0.746189534664154, 0.2269655466079712, 0.05050458386540413, -0.22599051892757416, 0.11083360016345978, -0.6731269359588623, 0.4900730848312378, -0.40056556463241577, 0.31027084589004517, -0.7569931745529175, 0.31652355194091797, -0.11098448932170868, -0.39944273233413696, 0.25879964232444763, -0.5321177244186401, -0.009416832588613033, -0.12780587375164032, 0.22405773401260376, 0.40845468640327454, 0.17797061800956726, -0.18866784870624542, 0.9541012048721313, 0.5457067489624023, -0.3177521824836731, -0.645738422870636, -0.7816289663314819, -0.015905657783150673, -0.21363849937915802, -0.5583760142326355, 0.5397229790687561, -0.028072591871023178, -0.03500333055853844, 0.029075052589178085, -0.3880729675292969, -0.1641140878200531, 0.2812526226043701, 0.4349866211414337, -0.1318492591381073, -0.23521050810813904, 0.14171630144119263, -0.07508458197116852, -0.19593282043933868, -0.1219257265329361, -0.3042394518852234, 0.6324748396873474, -0.2061331868171692, -0.4890015423297882, -0.6585091352462769, 0.5460789799690247, 0.6763253211975098, -0.5481812357902527, 0.45021530985832214, 0.7508253455162048, -0.5223307013511658, -0.3074875473976135, -0.5312321186065674, -0.2955082356929779, -0.4234773814678192, 0.7715673446655273, -0.6758348345756531, -1.0013841390609741, 0.5985971689224243, -0.28083840012550354, 0.20837807655334473, 0.03908233344554901, 0.38322004675865173, -0.10246581584215164, 0.7408885955810547, 0.7322260737419128, -0.21477611362934113, 0.6177888512611389, -0.19354000687599182, 0.11679555475711823, -1.0756536722183228, -0.15117602050304413, -0.5058545470237732, -0.6011518239974976, -0.06009983271360397, -0.3916429281234741, 0.2279539406299591, 0.09883594512939453, 0.236812561750412, 0.5550198554992676, -0.42767980694770813, 0.20960572361946106, 0.8815581798553467, 0.2607642114162445, 0.13009019196033478, -0.14587563276290894, -0.08654270321130753, 0.12157680094242096, -1.0917121171951294, -0.03939609229564667, 0.5546045899391174, 0.3730311095714569, 0.4922664165496826, -0.01915569417178631, 0.6449393630027771, 0.13826194405555725, 0.16913573443889618, -0.7006760239601135, 0.552782416343689, -0.46386703848838806, -0.2743065357208252, -0.33396831154823303, -0.6999072432518005, -1.0182219743728638, 0.405415415763855, 0.0777844712138176, -0.932185173034668, 0.2887665331363678, 0.39037904143333435, -0.2851639688014984, 0.328104168176651, -0.8548473715782166, 0.8892724514007568, -0.15563978254795074, 0.2659118175506592, -0.4143974483013153, -0.48751288652420044, 0.168412446975708, 0.09603670984506607, 0.2911604940891266, -0.2829242944717407, 0.3461819887161255, 0.9738495945930481, 0.005028727930039167, 1.0459903478622437, -0.4412679672241211, 0.2634687125682831, 0.26661166548728943, 0.13696728646755219, 0.47156742215156555, -0.18302775919437408, -0.008462945930659771, 0.11080782860517502, -0.15659621357917786, -0.33935990929603577, -0.5342636704444885, 0.7323625087738037, -0.6536002159118652, -0.5590006113052368, -0.15819424390792847, -0.9272794723510742, -0.19703762233257294, 0.06554887443780899, 0.1923920065164566, 0.6225074529647827, 0.05004739388823509, 0.20542114973068237, 0.8187539577484131, -0.20375841856002808, 0.4556182622909546, 0.4606567621231079, 0.28964635729789734, 0.0885852724313736, 0.8988208174705505, 0.21356190741062164, 0.15820716321468353, 0.3371959924697876, 0.21260617673397064, -0.09609394520521164, -1.0160508155822754, -0.17645399272441864, 0.1437540501356125, -0.6166728734970093, -0.16516521573066711, -0.4809061288833618, -0.07403777539730072, -0.3655073940753937, 0.2651214301586151, -0.49552518129348755, -0.09986226260662079, -0.5449821352958679, -0.10624920576810837, 0.21319466829299927, 0.5932213068008423, 0.09776485711336136, 0.4492216110229492, -0.8561062216758728, 0.2539343535900116, 0.12593668699264526, 0.09089402109384537, 0.2537895143032074, -0.7155866026878357, -0.18961356580257416, 0.14291439950466156, 0.1715199202299118, -1.0801323652267456, 0.47266992926597595, 0.5874282717704773, 0.7458241581916809, 0.05591747537255287, 0.05244852975010872, 0.9651760458946228, -0.47583523392677307, 0.508367121219635, 0.3419085443019867, -1.012844204902649, 0.5978301167488098, -0.037614643573760986, 0.8254250288009644, 0.4355289936065674, 0.2559814453125, -0.8824148774147034, -0.22973424196243286, -0.6069864630699158, -0.9125056862831116, 0.871242880821228, 0.2159568816423416, 0.0710562989115715, 0.3383701741695404, 0.406064510345459, -0.26475247740745544, 0.13216394186019897, -0.7619413137435913, -0.3563939929008484, -0.10666655004024506, -0.18136289715766907, -0.1622404307126999, -0.0881921648979187, -0.09080018848180771, -0.16969476640224457, 0.7070074081420898, -0.14613918960094452, 0.35860776901245117, 0.3943946659564972, -0.6154916882514954, 0.06335793435573578, 0.40738189220428467, 0.5685521960258484, 0.581001877784729, 0.11751724034547806, 0.2715734541416168, 0.40972062945365906, -0.5596064925193787, 0.10052629560232162, 0.015336408279836178, -0.1286812275648117, 0.21668025851249695, 0.3972637355327606, 1.237337589263916, 0.39560824632644653, -0.6508172750473022, 0.26336729526519775, -0.12559129297733307, -0.14764323830604553, -0.28211766481399536, 0.07034069299697876, 0.3699122369289398, 0.25682076811790466, 0.591236412525177, 0.24019008874893188, -0.02231314592063427, -0.5338558554649353, 0.3865751326084137, 0.24921417236328125, -0.5242712497711182, -0.33568015694618225, 0.17222951352596283, -0.016721319407224655, -0.5813133120536804, 0.8027677536010742, -0.13306201994419098, -0.6844872236251831, 0.8326902389526367, 0.7620515823364258, 0.6223976016044617, -0.3305934965610504, 0.10960033535957336, 0.10730920732021332, 0.49258002638816833, -0.05834149196743965, 0.265768438577652, -0.05678116902709007, -0.8405096530914307, -0.6022179126739502, -0.43838074803352356, -0.2111825793981552, 0.2822187542915344, -0.8443055152893066, -0.17028236389160156, -0.17393018305301666, -0.2930313050746918, 0.014310553669929504, -0.18072734773159027, -0.5859302878379822, 0.42988690733909607, 0.12054557353258133, 0.7975899577140808, -0.9891915321350098, 1.2369616031646729, 0.8751344680786133, -0.0007974403561092913, -0.9901167750358582, -0.28811725974082947, 0.11976197361946106, -0.47799158096313477, 0.3706183135509491, 0.08952556550502777, -0.1072433665394783, 0.14268529415130615, 0.006083908025175333, -0.8570480346679688, 1.0391967296600342, 0.43404704332351685, -0.9772817492485046, -0.09897765517234802, -0.1929490864276886, 0.23894374072551727, -0.2433062493801117, 0.29889971017837524, 0.5265528559684753, 0.21963469684123993, -0.12656933069229126, -1.1839373111724854, -0.028772320598363876, -0.6159713864326477, -0.28542670607566833, 0.3690730035305023, -0.4750547409057617, 0.9922446608543396, -0.19546915590763092, -0.119580939412117, -0.21655721962451935, 0.6946690678596497, 0.2538275122642517, 0.3686649203300476, 0.9629924297332764, 0.7166640758514404, 0.7852637767791748, -0.14900846779346466, 0.3810480535030365, 0.10705042630434036, 0.4625244438648224, 1.3316192626953125, 0.053423184901475906, 0.6984127759933472, 0.4152125418186188, 0.07066208869218826, 0.15139146149158478, 0.6342344284057617, 0.17140883207321167, 0.368733286857605, 0.3186115026473999, -0.10414198786020279, -0.4030936062335968, -0.23026251792907715, 0.027605712413787842, 0.4629179537296295, 0.47443056106567383, -0.0425507053732872, -0.05340496823191643, 0.33820483088493347, 0.076752208173275, -0.2756170928478241, -0.4357290267944336, 0.7419003248214722, 0.2361426204442978, -0.819719135761261, 0.5732366442680359, 0.05688628554344177, 0.6459172368049622, -0.7237386107444763, 0.1752195805311203, -0.2782515287399292, 0.09596895426511765, -0.235602468252182, -0.5021477937698364, 0.4518371820449829, -0.19618315994739532, -0.1448344737291336, -0.24667765200138092, 1.0860904455184937, -0.5721880793571472, -0.2134978473186493, 0.46791979670524597, 0.4445111155509949, 0.240379199385643, -0.41911423206329346, -0.9916313290596008, 0.21826161444187164, 0.28512370586395264, -0.24417805671691895, 0.4875127673149109, 0.14920209348201752, 0.09628802537918091, 0.8755671381950378, 0.7346811890602112, 0.046608079224824905, 0.14191178977489471, 0.4435877203941345, 0.7375669479370117, -0.5079450607299805, -0.5619386434555054, -0.5386264324188232, 0.36002224683761597, -0.028492815792560577, -0.3949468731880188, 0.5821201205253601, 0.19369031488895416, 0.707841694355011, -0.037300728261470795, 0.6994587182998657, 0.060672711580991745, 0.18705058097839355, -0.362745076417923, 0.5247087478637695, -0.6109250783920288, -0.032051797956228256, -0.13835184276103973, -0.4852457046508789, -0.2155345380306244, 0.6910310983657837, -0.23199106752872467, -0.21487005054950714, 0.6074532270431519, 0.7202182412147522, -0.23532456159591675, 0.12837402522563934, 0.27600809931755066, 0.3020492494106293, 0.03626721724867821, 0.8698914647102356, 0.5216969847679138, -0.08243224024772644, 0.5945211052894592, -0.5760774612426758, -0.20175953209400177, -0.0021908048074692488, -0.7838044166564941, -0.7665984630584717, -0.8465357422828674, -0.47791460156440735, 0.021165354177355766, 0.13926753401756287, 0.5171090960502625, 1.0312860012054443, -0.7323801517486572, -0.32621634006500244, -0.21790586411952972, 0.15592211484909058, -0.6215376853942871, -0.13308316469192505, 0.3629484474658966, -0.2031661719083786, -0.47503745555877686, 0.9064396619796753, 0.23760907351970673, -0.19345234334468842, -0.10012905299663544, -0.045076884329319, -0.558364748954773, -0.24057048559188843, 0.2042926698923111, 0.39367353916168213, -0.6904247403144836, -0.11692304164171219, 0.03487665206193924, 0.5039449334144592, -0.008536085486412048, 1.1926056146621704, -0.638364851474762, 0.20782223343849182, 0.36488911509513855, 0.5074098110198975, 0.8324233293533325, -0.018414553254842758, 0.49783003330230713, -1.1902711391448975, 0.24847394227981567, 0.456180602312088, 0.7553077340126038, 0.29467567801475525, -0.24713294208049774, 0.07364197820425034, 0.20023325085639954, -0.4664815068244934, -0.7789009809494019, 0.4660979211330414, -0.9699422717094421, -0.4919942021369934, 0.9223200082778931, -0.5545137524604797, -0.30348169803619385, -0.3890916705131531, -0.024545365944504738, 0.4099036157131195, -0.18429332971572876, 0.31945425271987915, 0.48588159680366516, -0.2291577011346817, -0.5514224171638489, -0.4057733118534088, 0.20722270011901855, 0.8829360008239746, -0.6260585784912109, 0.28247612714767456, 0.11248846352100372, 0.2843852937221527, 0.21762442588806152, 0.6607648730278015, 0.480753093957901, 0.2909581959247589, -0.1076819896697998, -0.05168544128537178, -0.3578941524028778, -0.6914234757423401, -0.3086673319339752, 0.26151660084724426, -0.10224192589521408, -0.3612247109413147 ]
http://arxiv.org/abs/2406.12307v1
http://arxiv.org/pdf/2406.12307v1
Can Tool-augmented Large Language Models be Aware of Incomplete Conditions?
2024-06-18T06:28:06
2024-06-18T06:28:06
Seungbin Yang, ChaeHun Park, Taehee Kim, Jaegul Choo
cs.CL
cs.CL
Recent advancements in integrating large language models (LLMs) with tools have allowed the models to interact with real-world environments. However, these tool-augmented LLMs often encounter incomplete scenarios when users provide partial information or the necessary tools are unavailable. Recognizing and managing such scenarios is crucial for LLMs to ensure their reliability, but this exploration remains understudied. This study examines whether LLMs can identify incomplete conditions and appropriately determine when to refrain from using tools. To this end, we address a dataset by manipulating instances from two datasets by removing necessary tools or essential information for tool invocation. We confirm that most LLMs are challenged to identify the additional information required to utilize specific tools and the absence of appropriate tools. Our research can contribute to advancing reliable LLMs by addressing scenarios that commonly arise during interactions between humans and LLMs.
[ -0.2784324288368225, -0.9204831719398499, 1.1121528148651123, 0.25527527928352356, -0.18523412942886353, 0.39940887689590454, -0.4457428753376007, -0.6617429256439209, 0.016920069232583046, 0.4777802526950836, -0.7003457546234131, -0.23236481845378876, -0.6052669286727905, 0.11379721015691757, -0.6259569525718689, 0.6468371748924255, -0.28262558579444885, -0.15135236084461212, -0.7118786573410034, -0.05634821951389313, -0.786587655544281, -0.4772120714187622, -0.5250825881958008, -0.6186268329620361, 0.36430859565734863, 0.4443495273590088, 0.8191030621528625, 0.34493130445480347, 0.5048902630805969, 0.3506676256656647, -0.23731866478919983, 0.1200803592801094, -0.3151436746120453, 0.18591611087322235, -0.08993355184793472, -0.1532253921031952, -0.5920929312705994, -0.060925502330064774, 0.47928112745285034, 1.2502951622009277, -0.19512170553207397, 0.127824068069458, 0.4922114610671997, 0.16025717556476593, -0.5524781942367554, 0.08582541346549988, -0.6284334659576416, 0.29359346628189087, -0.2279316484928131, -0.24171416461467743, -0.3660426437854767, 0.03072340413928032, 0.1950000822544098, -0.5629620552062988, 0.19143061339855194, -0.029137080535292625, 0.6133256554603577, 0.42870256304740906, -0.4904825687408447, -0.25514236092567444, -0.9487099051475525, 0.5919030904769897, -0.6901068091392517, 0.291774719953537, 0.7312815189361572, -0.024011163040995598, -0.776235818862915, -0.37124621868133545, -0.7324983477592468, -0.014297903515398502, -0.34735679626464844, -0.010968491435050964, -0.09527618438005447, 0.12431123107671738, 0.6052456498146057, 0.11387556046247482, -0.21394194662570953, 0.5197380185127258, -0.48675215244293213, -0.4176200032234192, 0.20300619304180145, 0.4138903021812439, 0.39195170998573303, -0.4705977737903595, -0.13123859465122223, 0.3343232572078705, -0.9667144417762756, -0.06281345337629318, 0.2888219356536865, 0.2838534712791443, -0.3554660975933075, 0.8888370394706726, 0.22030767798423767, 0.8974704742431641, -0.21207474172115326, -0.27873823046684265, 0.28087010979652405, -0.3123491108417511, -0.5403504967689514, -0.07023494690656662, 0.5854372978210449, 0.09513749182224274, 0.08186497539281845, -0.4441675543785095, -0.6410912275314331, -0.45003554224967957, 0.0604042112827301, -0.15967537462711334, 0.06691808998584747, 0.6512200832366943, -0.050304822623729706, -0.03928598016500473, -0.13735021650791168, -0.4138569235801697, -0.866599440574646, -0.42440372705459595, 0.6306652426719666, 0.03029656782746315, -0.6614235043525696, -0.1541178971529007, -0.21020907163619995, 0.15919871628284454, 0.5005972385406494, -0.33303552865982056, 0.24437856674194336, 0.6180497407913208, 0.9705365896224976, -0.056204717606306076, -0.2808731496334076, -0.7593028545379639, 0.2959761619567871, -0.4172405004501343, 0.33569255471229553, -0.5616170167922974, -0.6221842169761658, 0.05042455717921257, 0.3264477849006653, 0.16673141717910767, -0.6478793025016785, 0.4242696166038513, -0.41272348165512085, 0.18104375898838043, -0.3862278461456299, -0.48559293150901794, -0.09672888368368149, 0.17532497644424438, -0.873613178730011, 1.0703409910202026, 0.2607302963733673, -0.818058431148529, 0.32140496373176575, -0.40911564230918884, -0.543225109577179, 0.09199748188257217, -0.14859071373939514, -0.47311854362487793, 0.12485670298337936, -0.0020129845943301916, 0.5856630206108093, -0.34587016701698303, 0.5099153518676758, -0.7287154793739319, -0.5603600740432739, 0.18330954015254974, -0.3978732228279114, 0.5616516470909119, 0.07390852272510529, -0.19767706096172333, -0.051840923726558685, -0.5518115758895874, -0.1457117646932602, 0.2139573097229004, -0.4377409517765045, -0.3280036747455597, 0.2666328251361847, 0.05258767679333687, 0.30092889070510864, 0.4310780167579651, -0.5439368486404419, 0.1536264717578888, -0.3604256510734558, 0.4541473686695099, 0.9219911694526672, 0.022568529471755028, 0.3991551399230957, -0.09605319797992706, 0.5809425711631775, 0.17909350991249084, -0.05464094504714012, 0.07879140228033066, -0.0839349627494812, -1.2193083763122559, -0.15313182771205902, 0.29822415113449097, 0.6949529647827148, -0.9473972320556641, 0.5315836071968079, -0.22393660247325897, -0.08544326573610306, -0.437104731798172, 0.3561534881591797, 0.3391256332397461, 0.33162492513656616, 0.1285991668701172, 0.015929030254483223, -0.7668753862380981, -0.8265783786773682, 0.06076239421963692, 0.06365001201629639, -0.14549532532691956, 0.38879141211509705, 0.32267630100250244, -0.08270324766635895, 1.0542237758636475, -0.009742899797856808, -0.1623082309961319, -0.5442268252372742, -0.11009550094604492, 0.4539015591144562, 0.24457019567489624, 0.3791169226169586, -0.6624714136123657, -0.09903884679079056, 0.05825591832399368, -0.9415028691291809, -0.13102681934833527, -0.30644625425338745, 0.37797239422798157, 0.2671981155872345, 0.7395120859146118, -0.6114720106124878, 0.6643298268318176, 0.6878073811531067, 0.03125118464231491, 0.44131380319595337, -0.4404853284358978, -0.10145865380764008, -0.7469739317893982, 0.19981098175048828, 0.16652952134609222, -0.5356073379516602, -0.5578616261482239, -0.32106736302375793, 0.09588250517845154, -0.11286534368991852, -0.4793334901332855, 0.9021743535995483, -0.757489025592804, -0.2868025302886963, -0.33942854404449463, 0.33585724234580994, -0.10465198010206223, 0.23214639723300934, 0.16899043321609497, 0.7813751697540283, 0.6374412178993225, -0.5642800331115723, 0.09941821545362473, -0.04113652557134628, -0.3926444947719574, 0.3196779191493988, -0.9351205825805664, 0.12337836623191833, -0.13158200681209564, 0.09872004389762878, -0.7547276020050049, -0.6157171130180359, 0.585001528263092, 0.005817505065351725, 0.2793170213699341, -0.4869913160800934, -0.9505564570426941, -0.42859819531440735, 0.09621861577033997, 0.260916531085968, 0.5677480697631836, -0.412350058555603, 0.7855204343795776, 0.3311830461025238, -0.4215626120567322, -0.4989233613014221, -0.5112905502319336, 0.3247404396533966, -0.3219723105430603, -0.1960548758506775, -0.0680544525384903, 0.06621202081441879, -0.30266618728637695, 0.1256522536277771, -0.21220532059669495, -0.19006122648715973, 0.35306861996650696, 0.7090871930122375, 0.4924992024898529, 0.23796430230140686, 0.2997753918170929, 0.02088349685072899, 0.22129301726818085, 0.15865838527679443, 0.3981510400772095, 0.39771977066993713, 0.377857506275177, -0.8847196698188782, -0.35121676325798035, 0.2489701807498932, 0.6518423557281494, -0.05413432791829109, 0.6798631548881531, 0.4965437352657318, -0.598546028137207, 0.08338729292154312, -0.8744491934776306, -0.05068334937095642, -0.5193980932235718, 0.3074311316013336, -0.4191780686378479, -0.7996737360954285, 0.738181471824646, -0.14388984441757202, 0.1336759328842163, 0.12235743552446365, 0.5640957355499268, -0.2628604769706726, 1.0649888515472412, 0.6549205183982849, -0.20539739727973938, 0.2552656829357147, 0.18049615621566772, 0.1712154597043991, -1.1175026893615723, -0.2637259364128113, -0.3122962713241577, -0.15837933123111725, -0.2864115536212921, -0.17298448085784912, 0.5821517705917358, 0.13875791430473328, 0.05837971717119217, 0.06616485863924026, -0.11971374601125717, 0.5506974458694458, 0.21812346577644348, 0.33557191491127014, 0.12354861199855804, -0.17129045724868774, -0.2905080318450928, 0.3099933862686157, -0.7201254367828369, -0.4270267188549042, 0.9605087637901306, 0.2717311680316925, 0.5353354215621948, 0.04390576481819153, 0.5436509251594543, 0.3491915166378021, 0.23736871778964996, -0.7791451811790466, 0.4784208834171295, 0.30653810501098633, -0.48283737897872925, -0.1636352390050888, -0.37481775879859924, -1.1724110841751099, 0.12312433123588562, -0.24855412542819977, -0.8342748880386353, 0.13935090601444244, 0.22860655188560486, -0.4906105399131775, 0.07890886813402176, -0.816918671131134, 0.6962993144989014, -0.16523493826389313, -0.2657303512096405, -0.05469277501106262, -0.5594328045845032, 0.400165319442749, -0.4349241554737091, 0.6868250966072083, -0.271096795797348, 0.05974728241562843, 0.6334702372550964, -0.5168482065200806, 1.0687389373779297, -0.19348223507404327, -0.1622864007949829, 0.11909862607717514, 0.1895310878753662, 0.8252160549163818, -0.05973199009895325, -0.06757763028144836, -0.031729426234960556, 0.01173868402838707, -0.47218775749206543, -0.455707311630249, 0.8961730003356934, -0.7228408455848694, -0.8411784172058105, -0.5796800255775452, -0.4987953007221222, -0.4166751801967621, 0.24218203127384186, -0.20451620221138, 0.4389983117580414, 0.0878705307841301, -0.017693614587187767, 0.4111129343509674, -0.34259772300720215, 0.657500684261322, 0.6039648056030273, -0.21997198462486267, 0.15331774950027466, 0.6985993981361389, 0.1472247689962387, 0.30875900387763977, -0.38866710662841797, -0.1626252681016922, -0.02532145008444786, -0.7811015844345093, -0.21870647370815277, 0.30597639083862305, -0.7470983266830444, -0.13635486364364624, -0.2978736460208893, -0.26802629232406616, 0.04486638680100441, 0.1231071725487709, 0.017621980980038643, -0.07626179605722427, -0.7218870520591736, -0.07926298677921295, 0.3198098838329315, 0.8433198928833008, 0.06999213993549347, 0.22103628516197205, -1.0582355260849, 0.13031898438930511, 0.028595853596925735, 0.26919543743133545, 0.2252492606639862, -0.5031828284263611, -0.22857777774333954, 0.17370714247226715, 0.18944011628627777, -0.6844862699508667, 0.09659625589847565, 0.1523505449295044, 0.7481625080108643, 0.20733307301998138, 0.09340114891529083, 0.8765174746513367, -0.5843877792358398, 0.6242828965187073, -0.04400895908474922, -0.9888860583305359, 0.40442436933517456, -0.45935699343681335, 0.3353590667247772, 0.14954839646816254, 0.431560754776001, -0.6820073127746582, -0.6152174472808838, -0.36206164956092834, -0.8865358829498291, 0.8261831402778625, 0.0388224795460701, 0.17270490527153015, 0.030270610004663467, 0.5130975246429443, -0.01111159473657608, 0.14936351776123047, -0.6929827332496643, 0.03886807709932327, 0.339307576417923, 0.056304093450307846, 0.06524819135665894, -0.2558706998825073, -0.2255697250366211, -0.2233317345380783, 0.3295520544052124, 0.20374071598052979, -0.173677459359169, -0.04205331578850746, -0.41533350944519043, -0.2779266834259033, 0.3511144518852234, 0.38238227367401123, 1.0174894332885742, -0.20044636726379395, 0.03330888971686363, 0.43345651030540466, -0.11507225781679153, 0.16798429191112518, -0.16944754123687744, 0.18021900951862335, -0.19256961345672607, 0.6350583434104919, 0.6596750020980835, 0.2648361027240753, -1.0904115438461304, 0.5220772624015808, 0.09069610387086868, 0.14771820604801178, -0.6427156925201416, 0.11920563131570816, 0.21267668902873993, 0.2157370001077652, 0.27357298135757446, 0.07427537441253662, -0.001996260369196534, -0.5309414267539978, -0.07663120329380035, 0.583739161491394, -0.6058648824691772, -0.409991979598999, 0.1988908350467682, 0.33647286891937256, -0.23115508258342743, 0.8247311115264893, -0.2630966007709503, -0.4124416708946228, 0.5186138153076172, 0.23752595484256744, 0.6314318180084229, 0.22805172204971313, -0.08436351269483566, -0.07946467399597168, 0.4861716330051422, -0.13380558788776398, 0.21461471915245056, 0.22195278108119965, -0.6825639605522156, -0.8451542854309082, -0.5385703444480896, -0.4087965786457062, 0.33925342559814453, -0.7165509462356567, 0.49689000844955444, -0.4039013981819153, -0.1940029114484787, -0.07825967669487, -0.4316062331199646, -1.031299352645874, 0.02367376908659935, -0.049520835280418396, 0.5718901753425598, -0.990050196647644, 0.8744299411773682, 0.6109182834625244, -0.17455627024173737, -0.8098418712615967, -0.11589627712965012, 0.3523336350917816, -0.6644849181175232, 0.4367222785949707, -0.1678982526063919, -0.13682088255882263, -0.323350727558136, -0.4007362723350525, -0.7286575436592102, 0.7714613080024719, 0.543475866317749, -0.6423137784004211, 0.13940632343292236, 0.006741039454936981, 0.4553227424621582, 0.2201916128396988, 0.11807405948638916, 0.7069870233535767, 0.7741730809211731, 0.27048689126968384, -1.486557960510254, 0.16970357298851013, -0.07327145338058472, -0.2892385423183441, 0.44533106684684753, -0.33922746777534485, 0.6495102643966675, -0.30161282420158386, -0.47307541966438293, 0.1296941339969635, 0.24718327820301056, -0.02434440329670906, 0.2837195098400116, 0.6270784735679626, 0.508882999420166, 0.6391550898551941, -0.14082863926887512, 0.9848122000694275, 0.07945185899734497, 0.21754014492034912, 1.2160871028900146, -0.6052313446998596, 0.8794900178909302, 0.5051795244216919, -0.2776736915111542, -0.06822791695594788, 0.9354764819145203, 0.17551472783088684, 0.16803078353405, -0.1047491580247879, -0.43616119027137756, -0.7539023160934448, -0.11349984258413315, -0.34965279698371887, 0.5793182253837585, 0.5407186150550842, -0.09784387052059174, -0.23134972155094147, 0.22197988629341125, 0.11682798713445663, -0.2901345193386078, -0.09610944986343384, 0.8902348279953003, -0.0637444257736206, -0.5721389651298523, 0.6161792278289795, -0.05754629522562027, 0.46270042657852173, -0.5390534996986389, -0.12745673954486847, -0.16618628799915314, -0.20262645184993744, -0.4397296607494354, -0.89699387550354, 0.18060512840747833, -0.10358502715826035, -0.21190153062343597, 0.035801250487565994, 0.4883844256401062, -0.4480776786804199, -0.6975911855697632, 0.10239800065755844, 0.8643211126327515, 0.1551867127418518, 0.09870891273021698, -0.38407835364341736, 0.4206024408340454, -0.16354040801525116, -0.1960456818342209, 0.5278635621070862, 0.5181671977043152, -0.009819017723202705, 0.9451585412025452, 0.5541019439697266, 0.3350207209587097, -0.3163997232913971, 0.004234132822602987, 0.8891066312789917, -0.5490424036979675, 0.199041947722435, -0.9774016737937927, 0.2973979115486145, -0.16419383883476257, 0.09298630803823471, 0.8219993710517883, 0.32288792729377747, 0.45194974541664124, 0.15103870630264282, 1.0934200286865234, -0.11145957559347153, 0.8187841176986694, -0.7738198637962341, 0.509706437587738, -0.9263924360275269, 0.7474153637886047, -0.2524239718914032, -0.9407213926315308, -0.16119994223117828, 0.22451697289943695, -0.2525060176849365, 0.08322316408157349, 0.5715821385383606, 0.585460364818573, -0.3027384877204895, -0.4463842809200287, 0.13640443980693817, 0.19361303746700287, 0.46152105927467346, 0.3629318177700043, 0.8294178247451782, 0.17249812185764313, 0.5161351561546326, -0.012005100958049297, -0.08740702271461487, -0.06109979748725891, -1.0538140535354614, -0.8866867423057556, -0.5205444693565369, -0.25590574741363525, -0.1705983579158783, 0.05360613390803337, 1.0740782022476196, 0.4802885353565216, -0.5000610947608948, -0.2080252319574356, 0.2554895579814911, 0.5006974339485168, 0.1886403113603592, -0.15300318598747253, 0.31013092398643494, -0.24659296870231628, -0.7647614479064941, 0.4382617473602295, 0.5246039628982544, 0.3352983295917511, -0.5766806602478027, 0.06756875663995743, -0.046379879117012024, -0.002891965676099062, 0.5339133739471436, 0.3946838676929474, -0.9866245985031128, -0.6684086918830872, -0.21155475080013275, 0.1591552495956421, 0.013037321157753468, 0.7485501766204834, -0.8530905246734619, 0.4717235565185547, 0.18378658592700958, 0.4700256884098053, 0.11555762588977814, -0.18209005892276764, 0.6617683172225952, -1.1961373090744019, 0.4559621512889862, 0.24582993984222412, 0.6380195617675781, 0.5191158652305603, -0.240579292178154, 0.3368840515613556, -0.01761900633573532, -0.4580228626728058, -1.110664963722229, 0.08811759203672409, -0.8897426724433899, -0.1876799613237381, 1.3583370447158813, -0.20318879187107086, -0.06899973750114441, -0.5926222205162048, -0.1934744268655777, -0.16708242893218994, -0.12146158516407013, 0.6714800596237183, 1.1524077653884888, -0.05419732257723808, -0.26877325773239136, -0.7446821928024292, 0.3082573711872101, 0.2519298195838928, -0.8284236192703247, 0.10166236758232117, 0.6743053793907166, 0.4246552288532257, -0.08895278722047806, 0.5031542181968689, 0.26037225127220154, 0.23811128735542297, -0.3870888352394104, -0.13791106641292572, -0.05854988098144531, -0.15069152414798737, 0.027793746441602707, -0.004117964301258326, 0.4863632917404175, 0.3093554973602295 ]
http://arxiv.org/abs/2406.12304v1
http://arxiv.org/pdf/2406.12304v1
COT: A Generative Approach for Hate Speech Counter-Narratives via Contrastive Optimal Transport
2024-06-18T06:24:26
2024-06-18T06:24:26
Linhao Zhang, Li Jin, Guangluan Xu, Xiaoyu Li, Xian Sun
cs.CL
cs.CL, 68U15, I.2.7
Counter-narratives, which are direct responses consisting of non-aggressive fact-based arguments, have emerged as a highly effective approach to combat the proliferation of hate speech. Previous methodologies have primarily focused on fine-tuning and post-editing techniques to ensure the fluency of generated contents, while overlooking the critical aspects of individualization and relevance concerning the specific hatred targets, such as LGBT groups, immigrants, etc. This research paper introduces a novel framework based on contrastive optimal transport, which effectively addresses the challenges of maintaining target interaction and promoting diversification in generating counter-narratives. Firstly, an Optimal Transport Kernel (OTK) module is leveraged to incorporate hatred target information in the token representations, in which the comparison pairs are extracted between original and transported features. Secondly, a self-contrastive learning module is employed to address the issue of model degeneration. This module achieves this by generating an anisotropic distribution of token representations. Finally, a target-oriented search method is integrated as an improved decoding strategy to explicitly promote domain relevance and diversification in the inference process. This strategy modifies the model's confidence score by considering both token similarity and target relevance. Quantitative and qualitative experiments have been evaluated on two benchmark datasets, which demonstrate that our proposed model significantly outperforms current methods evaluated by metrics from multiple aspects.
[ -0.6597586870193481, -0.6499402523040771, 0.332972913980484, -0.18476815521717072, -0.4337579607963562, 0.1905188411474228, -0.0249144546687603, -0.2557104527950287, 0.4414723515510559, 0.404828280210495, -0.543682336807251, -0.5140543580055237, -0.5835856199264526, -0.07725786417722702, -0.7836618423461914, 1.1145259141921997, 0.1964251697063446, 0.01490738894790411, 0.22395916283130646, -0.5382940769195557, -0.4220921993255615, -0.5728175640106201, -0.5804445743560791, 0.14999404549598694, 0.5155884623527527, 0.24031323194503784, 0.7461897134780884, 0.6160225868225098, 0.26006126403808594, 0.21962910890579224, -0.24005059897899628, -0.19174550473690033, -0.8542650938034058, 0.33365342020988464, -0.6592430472373962, -0.3979963958263397, 0.13278359174728394, -0.22207258641719818, 0.4190666973590851, 0.21538065373897552, 0.08918674290180206, -0.05357038974761963, -0.03648597374558449, 0.1409091204404831, -0.806284487247467, -0.6315050721168518, -0.8739510178565979, 0.14909277856349945, -0.31178736686706543, -0.007635484915226698, -0.2884894013404846, -0.11789006739854813, -0.10286694765090942, -0.5550709366798401, 0.5805935859680176, 0.16211219131946564, 0.5431128144264221, 0.10438444465398788, -0.6977654099464417, -0.41051772236824036, -0.7462098002433777, 0.9697486758232117, -0.4519291818141937, 0.24802160263061523, -0.03592274710536003, 0.22982648015022278, 0.20897528529167175, -0.3711204528808594, -0.6065663695335388, -0.0642852783203125, -0.03367379307746887, 0.21514137089252472, -0.4625259041786194, -0.06331400573253632, -0.31801050901412964, 0.30004531145095825, -0.6590521931648254, 0.3722655773162842, -0.5342546701431274, -0.20981872081756592, 0.6720350980758667, 0.5180293321609497, 0.32639220356941223, -0.17572665214538574, -0.853047251701355, 0.06869828701019287, -0.6136621236801147, -0.30658528208732605, 0.7257177233695984, 0.47172439098358154, -0.36068955063819885, 0.4812907576560974, -0.0340745747089386, 0.36171165108680725, 0.13175490498542786, 0.13318398594856262, 0.19145433604717255, -0.2731505036354065, 0.021721741184592247, 0.09246242791414261, 0.7879026532173157, 0.335423082113266, 0.07834602892398834, -0.3771623969078064, -0.18248414993286133, 0.3399278223514557, 0.7756067514419556, -0.6264321208000183, 0.1162378340959549, 0.13344110548496246, -0.46951448917388916, -0.6712695360183716, -0.3273850083351135, -1.3772445917129517, -0.5363913178443909, -0.11977504193782806, 0.3625098764896393, -0.6606966853141785, -0.3664485812187195, -0.38683778047561646, -0.17468573153018951, 0.15905822813510895, 0.12625151872634888, -0.925429105758667, 0.3795861005783081, 0.32806241512298584, 0.91087406873703, -0.798679530620575, 0.13348369300365448, -0.45412054657936096, 0.21813036501407623, -0.3526105582714081, 0.759562611579895, -0.7789570689201355, -0.627346932888031, -0.023271897807717323, -0.4141160547733307, 0.14165948331356049, -0.47635698318481445, 0.7260181307792664, -0.43485236167907715, -0.0006956852157600224, -0.07625916600227356, -0.44363754987716675, 0.05687357857823372, 0.30147260427474976, -0.4087683856487274, 0.6461659669876099, 0.3773951530456543, -0.7166382074356079, 0.14476042985916138, -0.4647124111652374, -0.4229031205177307, 0.06592319160699844, -0.25454676151275635, -0.4691682457923889, 0.1084505096077919, 0.0029166683088988066, -0.07718484103679657, -0.2943306565284729, 0.24116723239421844, -0.1189054325222969, -0.24097579717636108, -0.1386658400297165, -0.4219517707824707, 0.7315167784690857, 0.630315899848938, -0.5888525247573853, 0.41947105526924133, -0.5434696674346924, -0.6093568205833435, 0.20964309573173523, 0.04992011934518814, -0.4044210612773895, -0.2238314300775528, 0.23314984142780304, 0.18374237418174744, -0.15684480965137482, -0.8519659042358398, -0.3351915776729584, -0.5951741933822632, -0.10200630128383636, 1.0994625091552734, -0.07970382273197174, 0.4252135157585144, -0.24036158621311188, 0.8873950839042664, 0.5070256590843201, 0.3842746615409851, 0.24150724709033966, -0.35517987608909607, -0.5419933199882507, -0.10103920102119446, -0.2232743352651596, 0.34553098678588867, -0.6288027167320251, 0.11792124062776566, 0.0865764319896698, -0.4464488923549652, -0.31671103835105896, -0.13340836763381958, 0.4182623624801636, 0.7697309851646423, 0.87277752161026, -0.2956765592098236, -0.868044376373291, -0.9123948216438293, -0.19602540135383606, -0.11317415535449982, 0.2238374799489975, 0.14988060295581818, 0.20436686277389526, -0.2135467678308487, 0.8288676738739014, -0.5486729741096497, -0.27354735136032104, -0.4692489802837372, 0.2975781559944153, -0.334805965423584, 0.45538702607154846, 0.9757384061813354, -1.2229667901992798, -0.630493700504303, -0.2987939715385437, -0.38080939650535583, -0.1648910939693451, -0.0805652067065239, -0.5136098265647888, 0.07396382838487625, 0.4436267912387848, -0.15959379076957703, 0.707141101360321, 0.4626094102859497, -0.5735052824020386, 0.6515727639198303, 0.42532533407211304, 0.35884320735931396, -0.9965336918830872, -0.09606508165597916, -0.21365833282470703, -0.10494683682918549, -0.7313458323478699, 0.10535240918397903, -0.6167546510696411, -0.09496039897203445, -0.6467005610466003, 0.5591408610343933, 0.16864149272441864, 0.3244766891002655, -0.4655224680900574, 0.3822399079799652, -0.24513660371303558, 0.3983074724674225, -0.05863040313124657, 0.5652338862419128, 0.35467031598091125, -0.5168036222457886, 0.4071270227432251, 0.35485029220581055, -0.02504448965191841, 1.0998510122299194, -0.20484116673469543, -0.04034857824444771, -0.42623579502105713, 0.010890514589846134, -1.259496808052063, 0.46601811051368713, 0.41515615582466125, -0.2592580020427704, 0.027573207393288612, -0.1273883432149887, 0.017523963004350662, -0.16582520306110382, -0.24117346107959747, 0.8360404372215271, 0.6313462853431702, -0.5170282125473022, 0.717818558216095, 0.4577327370643616, -0.15256769955158234, -0.5436139106750488, -0.7381857633590698, 0.05931897461414337, -0.6940461993217468, -0.10973194986581802, 0.7188400030136108, -0.17641466856002808, -0.29266437888145447, 0.07346561551094055, -0.1459752917289734, 0.07743698358535767, -0.23750564455986023, 0.15412169694900513, 0.13536958396434784, -0.15524041652679443, 0.14284153282642365, 0.08866924047470093, -0.03878520429134369, -0.12966251373291016, -0.2357998639345169, 0.6585294604301453, 0.25091299414634705, -0.0035743422340601683, -0.0044085197150707245, 0.6826232671737671, 0.39962732791900635, 0.0548088476061821, 0.9327182769775391, 0.9132178425788879, 0.07683037221431732, -0.14917290210723877, -0.5475755333900452, -0.023136815056204796, -0.4208050072193146, 0.31345298886299133, -0.46265771985054016, -0.7292537689208984, 0.4907597005367279, 0.011931173503398895, 0.023386122658848763, 0.6875311136245728, 0.6603107452392578, 0.22749802470207214, 0.7290036082267761, 0.4744744896888733, -0.10638168454170227, 0.49324899911880493, -0.0975256860256195, 0.3255864679813385, -0.6742385029792786, -0.22059501707553864, -0.6125693917274475, -0.23900364339351654, -0.4995768368244171, -0.4889509677886963, 0.3820725679397583, -0.3037492632865906, -0.4756494462490082, 0.393639475107193, -0.49158525466918945, 0.22336526215076447, 0.27574965357780457, 0.0528498999774456, 0.16109122335910797, 0.06834287941455841, -0.5173361301422119, -0.10301253199577332, -0.6987151503562927, -0.19757089018821716, 1.0916235446929932, 0.0851784199476242, 0.5988056063652039, 0.45990607142448425, 0.6604601740837097, 0.5610678195953369, 0.5300298929214478, -0.3966721296310425, 0.5014313459396362, -0.483457088470459, -0.6384966969490051, -0.27486452460289, -0.5815487504005432, -0.9916346669197083, 0.3496098518371582, -0.23329922556877136, -0.7921328544616699, 0.3130829334259033, 0.12224427610635757, -0.21941828727722168, 0.7299466133117676, -0.5092678070068359, 0.8029711246490479, -0.09287308156490326, -0.5395834445953369, -0.6245859265327454, -0.6314106583595276, 0.29964277148246765, -0.04862099513411522, 0.41306501626968384, 0.028033776208758354, -0.061667781323194504, 0.6450608968734741, -0.3098766505718231, 0.6903005838394165, -0.06933605670928955, -0.07313982397317886, 0.3594827353954315, 0.3641541600227356, 0.2505315840244293, -0.44932428002357483, -0.3777516186237335, 0.09277763962745667, -0.3419257700443268, -0.48903974890708923, -0.49371182918548584, 0.6599746346473694, -0.6483432650566101, -0.5847306847572327, 0.029527774080634117, -0.5219607353210449, -0.1176198422908783, 0.07528027147054672, 0.38784757256507874, 0.39437344670295715, -0.621730387210846, -0.02446174807846546, 0.4925980865955353, -0.5655966997146606, 0.2793658673763275, 0.38008323311805725, 0.01674075238406658, -0.4337262809276581, 0.8834460377693176, -0.071787528693676, 0.4692404568195343, 0.4947567284107208, 0.3955053687095642, -0.5782783031463623, -0.6277338266372681, -0.3224729895591736, -0.003836393356323242, -0.8080340027809143, -0.3168763816356659, -0.9049437642097473, -0.13383957743644714, -0.5270857214927673, -0.6189334392547607, -0.47650933265686035, -0.09818167239427567, -0.10098495334386826, -0.17293287813663483, 0.20937961339950562, 0.7631043791770935, -0.3494488596916199, 0.29968586564064026, -0.009698628447949886, 0.8344039916992188, 0.23040983080863953, 0.2815851867198944, 0.1745966523885727, -0.8766638040542603, -0.27839040756225586, -0.052521489560604095, -0.4960762560367584, -0.9837371110916138, 0.5238020420074463, -0.47927069664001465, 0.5937873125076294, 0.31402090191841125, 0.5881270170211792, 0.5410619974136353, -0.32463207840919495, 0.72579425573349, 0.3852331340312958, -0.877780020236969, 0.606137216091156, -0.10534998029470444, 0.01470169797539711, 0.4023900032043457, 0.6132877469062805, -0.2161806970834732, -0.8795790672302246, -0.8535032272338867, -1.1421592235565186, 0.5269893407821655, 0.4988786578178406, 0.29413968324661255, -0.2917992174625397, -0.1649523675441742, 0.1693194955587387, 0.05730454996228218, -0.7955719828605652, -0.24484196305274963, -0.5206538438796997, -0.5162883400917053, -0.039155565202236176, -0.4102436602115631, -0.09377007931470871, 0.071701280772686, 0.7161352634429932, 0.2081095576286316, 0.015560226514935493, 0.1266460418701172, 0.0029423730447888374, 0.1151016503572464, 0.33272191882133484, 0.5773994326591492, 0.3744298815727234, -0.12272276729345322, 0.45132124423980713, 0.25269487500190735, -0.4765087068080902, 0.3529658317565918, -0.2638445794582367, -0.2488202601671219, 0.16090188920497894, -0.010097610764205456, 0.7354567646980286, -0.014783033169806004, -0.6667810082435608, 0.4983609616756439, 0.16676053404808044, 0.05401778221130371, -0.23062992095947266, 0.001308974577113986, -0.20674404501914978, 0.22578559815883636, 0.15887793898582458, 0.06908616423606873, 0.32317420840263367, -0.34617215394973755, 0.2479725182056427, 0.3284517526626587, -0.4687216579914093, 0.09622257202863693, 0.8226239681243896, 0.34676840901374817, -0.335653692483902, 0.2839932441711426, -0.33134469389915466, -0.4683566391468048, 0.5663984417915344, 0.6265292167663574, 0.8798630833625793, -0.5639917254447937, 0.4158461093902588, 0.5766720771789551, 0.13711699843406677, 0.5081281065940857, -0.32070305943489075, -0.13282465934753418, -0.8065887093544006, 0.24776357412338257, -0.6329742670059204, -0.19528014957904816, 0.09319092333316803, -0.5809177160263062, 0.36945903301239014, -0.32290834188461304, 0.1234348714351654, -0.1617029905319214, -0.3970593214035034, -0.5233474373817444, 0.3799159824848175, 0.2594783902168274, 0.5847652554512024, -0.8054863214492798, 0.3205988109111786, 0.026544950902462006, -0.4887559711933136, -0.3650210499763489, 0.22896058857440948, 0.1788203865289688, -0.6327739953994751, 0.6488178372383118, -0.06117663159966469, -0.5134016275405884, -0.08426392078399658, -0.29344642162323, -0.6519893407821655, 0.580169141292572, 0.30002567172050476, -0.5108743906021118, 0.2682218849658966, 0.3560413718223572, 0.5821067690849304, -0.708385169506073, 0.23149147629737854, 0.43170368671417236, 0.08948317170143127, 0.37266677618026733, -0.4541608989238739, 0.28534767031669617, 0.1028367131948471, 0.06184074282646179, -0.0596422404050827, -0.7753728628158569, 0.6505851745605469, -0.023968946188688278, -0.15230213105678558, 0.039588265120983124, 0.41782981157302856, 0.15001210570335388, 0.11476029455661774, 0.761734664440155, 0.5701816082000732, 0.2790227234363556, 0.42514440417289734, 0.833651602268219, -0.03556142374873161, 0.13246968388557434, 1.0321323871612549, -0.035914674401283264, 0.43885931372642517, 0.3652583658695221, 0.025962065905332565, 0.6682600975036621, -0.034555260092020035, 0.02598409727215767, 0.6458175778388977, 0.7529199123382568, -0.5724530816078186, -0.022676242515444756, -0.4382551312446594, -0.10913427174091339, 0.5979950428009033, 0.26417070627212524, -0.4516819417476654, -0.4856783449649811, 0.32539278268814087, -0.02627442590892315, 0.615116536617279, -0.3778133988380432, 0.7342231273651123, -0.2140718549489975, -0.37047743797302246, 0.5323053598403931, 0.15671996772289276, 0.850716233253479, -0.5568757057189941, 0.20518870651721954, -0.3783738613128662, -0.05173799395561218, 0.02690805494785309, -0.5637861490249634, 0.7579600811004639, 0.2834431231021881, -0.10399478673934937, -0.24192564189434052, 0.30093422532081604, -0.47235485911369324, -0.3622928857803345, 0.5003346800804138, -0.004692953545600176, 0.14259934425354004, 0.17697402834892273, -0.648088276386261, 0.3913951814174652, 0.14224651455879211, 0.022644629701972008, 0.3522352874279022, 0.3936862647533417, 0.09856690466403961, 0.4974020719528198, 0.21138101816177368, 0.17258009314537048, -0.06887809187173843, 0.2883438467979431, 0.9225410223007202, -0.6832723617553711, -0.8733648657798767, -0.8349024653434753, 0.5329216718673706, -0.16777949035167694, -0.3842660188674927, 0.40546977519989014, 0.840957522392273, 0.7559676766395569, 0.07581638544797897, 0.8006284832954407, -0.05802440270781517, 0.6957337856292725, -0.40044137835502625, 0.303791880607605, -0.47855430841445923, 0.2590773403644562, -0.5120769739151001, -0.5467593669891357, -0.033843472599983215, 0.5171400904655457, -0.4117428660392761, 0.05976038798689842, 0.633980929851532, 1.0507440567016602, -0.20026196539402008, -0.07604881376028061, 0.47325950860977173, 0.4150231182575226, 0.4591321647167206, 0.6803176999092102, 0.7458077073097229, -0.45091718435287476, 0.9115949273109436, -0.05898487940430641, -0.027961691841483116, -0.11375884711742401, -0.49941614270210266, -0.7424538135528564, -0.6069809198379517, -0.40189501643180847, -0.46360018849372864, 0.29656463861465454, 0.6510752439498901, 0.7398967146873474, -0.8508960008621216, -0.1809394508600235, -0.3011886775493622, 0.3817405700683594, 0.105450339615345, -0.3347194492816925, 0.2046506404876709, -0.4603242576122284, -0.6035091876983643, 0.08992721885442734, 0.31962066888809204, 0.11943447589874268, -0.22002537548542023, -0.07013459503650665, -0.3381401598453522, 0.38865014910697937, 0.5652424693107605, 0.049387235194444656, -0.7086024284362793, -0.27492591738700867, -0.44615045189857483, -0.08996123820543289, 0.06112939864397049, 1.0191686153411865, -0.9227079749107361, 0.4662337899208069, 0.06885022670030594, 0.5919915437698364, 0.5752164721488953, 0.2527839243412018, 0.6268222332000732, -0.6728541254997253, 0.5106970071792603, 0.5397908091545105, 0.023560376837849617, 0.22866451740264893, -0.49559321999549866, 0.4177709221839905, 0.45271632075309753, -0.03329622745513916, -0.745756208896637, 0.6174494028091431, -0.8444230556488037, -0.5863754749298096, 1.2043057680130005, -0.06547224521636963, 0.0967085063457489, -0.4984286427497864, -0.3088832497596741, 0.37955984473228455, -0.21949782967567444, 0.9680609107017517, 0.3466522693634033, -0.1259351521730423, -0.2431119829416275, 0.12797634303569794, 0.46255773305892944, 0.5082072615623474, -0.5711779594421387, -0.008907271549105644, 0.3612810969352722, 0.14220726490020752, 0.10341626405715942, 0.5364788174629211, -0.32836923003196716, -0.13491776585578918, 0.4241587221622467, -0.12004434317350388, 0.20206262171268463, -0.3508952856063843, -0.05274338647723198, 0.4177522361278534, -0.47281375527381897, -0.16424210369586945 ]
http://arxiv.org/abs/2406.12295v1
http://arxiv.org/pdf/2406.12295v1
Fast and Slow Generating: An Empirical Study on Large and Small Language Models Collaborative Decoding
2024-06-18T05:59:28
2024-06-18T05:59:28
Kaiyan Zhang, Jianyu Wang, Ning Ding, Biqing Qi, Ermo Hua, Xingtai Lv, Bowen Zhou
cs.CL
cs.CL
Large Language Models (LLMs) demonstrate impressive performance in diverse applications, yet they face significant drawbacks, including high inference latency, expensive training cost, and generation of hallucination. Collaborative decoding between large and small language models (SLMs) offers a novel approach to address these challenges. Inspired by dual-process cognitive theory, we integrate these methods into a unified framework termed Fast and Slow Generating (FS-GEN). This paper explores several techniques within the FS-GEN framework, including speculative decoding, contrastive decoding, and emulator or proxy fine-tuning. We provide a comprehensive analysis of these methodologies, offering insights into their similarities and differences under this framework. Our study delves into the differential knowledge capabilities of LLMs versus SLMs through the FS-GEN lens, revealing that fewer than 20% of collaborative interactions are required across various methods. These interactions adhere to a scaling law relative to the parameter ratios, thereby facilitating predictable collaboration. Furthermore, we investigate the specific positions where collaboration is most effective from an uncertainty perspective, yielding novel insights that could refine FS-GEN methods. Our findings reveal that the essential difference between models of different sizes lies in the uncertainty of the next token prediction, where interventions by larger models are most needed to assist the smaller ones. Code for Reproduction: https://github.com/TsinghuaC3I/FS-GEN
[ -0.29622453451156616, -0.7941974401473999, 0.7423627972602844, 0.08936958014965057, -0.1421140879392624, 0.3421851396560669, -0.5337549448013306, -0.5796700716018677, 0.11335152387619019, 0.3822900354862213, -0.6294753551483154, -0.0510951429605484, -0.5758119225502014, 0.14772449433803558, -0.23031923174858093, 0.6231539845466614, 0.07433923333883286, 0.29564717411994934, -0.20648014545440674, 0.13140013813972473, -0.10622426122426987, -0.3615586459636688, -0.9810985922813416, -0.35922425985336304, 0.4874289333820343, 0.4084794819355011, 0.9443137645721436, 0.7331601977348328, 0.4774787724018097, 0.3148525655269623, -0.14749903976917267, 0.1528385579586029, -0.6705396771430969, 0.1620711237192154, -0.1315976232290268, -0.43466898798942566, -0.2674996256828308, -0.13290174305438995, 0.4238203465938568, 1.0257892608642578, -0.02267950214445591, 0.2960647642612457, 0.17817836999893188, 0.6170993447303772, -0.6393091082572937, 0.15716688334941864, -0.7926097512245178, 0.0009746890282258391, -0.2621246576309204, 0.07842696458101273, -0.49201029539108276, -0.28384825587272644, 0.19585131108760834, -0.49385151267051697, 0.5786391496658325, 0.26563578844070435, 0.31460097432136536, 0.34905123710632324, -0.15027326345443726, -0.64389967918396, -1.019317865371704, 0.9508761167526245, -0.6731116771697998, 0.3857186436653137, 0.27116072177886963, 0.07772886008024216, -0.3064815402030945, -0.8361888527870178, -0.42220380902290344, -0.1259220391511917, 0.022902974858880043, -0.34000611305236816, -0.13449034094810486, 0.11949099600315094, 0.25590789318084717, 0.542048990726471, -0.4498446583747864, 0.37327244877815247, -0.20616766810417175, -0.39024144411087036, 0.6987406611442566, 0.477835476398468, 0.03807207942008972, 0.03452981635928154, -0.034596338868141174, -0.03426984325051308, -0.6990936398506165, -0.06595034152269363, 0.3021712005138397, 0.37598562240600586, -0.2062193602323532, 0.4686419367790222, -0.17793293297290802, 0.4761553108692169, 0.26402145624160767, -0.20769797265529633, 0.1346447914838791, -0.7525561451911926, -0.15291298925876617, -0.18029627203941345, 0.9718892574310303, 0.15211306512355804, -0.08380549401044846, -0.39940136671066284, -0.3050094246864319, 0.23606547713279724, -0.2020990252494812, -0.6957483291625977, -0.01607361063361168, 0.12893974781036377, -0.6229032874107361, -0.298266738653183, -0.07308140397071838, -0.8861751556396484, -0.3625529408454895, -0.2837529182434082, 0.23545627295970917, -0.31542065739631653, -0.3492020070552826, 0.19381792843341827, -0.05031304433941841, -0.021128233522176743, 0.27690377831459045, -1.1197084188461304, 0.2834104001522064, 0.6749320030212402, 0.7407937049865723, -0.10151459276676178, -0.43292176723480225, -0.7351576685905457, 0.18316088616847992, -0.32786887884140015, 0.39471569657325745, -0.20318827033042908, -0.4371345341205597, -0.09330938756465912, -0.18669520318508148, -0.05357208475470543, -0.3854922652244568, 0.17180997133255005, -0.38557320833206177, -0.12372183054685593, -0.43649980425834656, -0.4567328095436096, 0.30240917205810547, -0.30744606256484985, -0.8271875977516174, 0.800177812576294, 0.007911719381809235, -0.8573662638664246, 0.3681415319442749, -0.2924034893512726, -0.4116736054420471, 0.13869892060756683, -0.39554837346076965, -0.25438636541366577, 0.5682372450828552, 0.05244860798120499, 0.6634123921394348, -0.7695643305778503, 0.28578662872314453, -0.4951801002025604, -0.48310598731040955, 0.22408084571361542, -0.21142813563346863, 0.4699004888534546, 0.566826343536377, -0.21849115192890167, 0.022116661071777344, -0.7478494048118591, -0.004094691947102547, 0.4007362127304077, -0.2454105168581009, -0.22357428073883057, 0.19402486085891724, -0.2551550567150116, 0.13991481065750122, 0.4304896295070648, -0.2721598744392395, 0.01591205783188343, -0.2909172773361206, 0.6762763857841492, 0.5879117846488953, -0.0012668773997575045, 0.824070394039154, -0.19719000160694122, 0.4079468548297882, -0.15029723942279816, 0.22088509798049927, -0.12236761301755905, -0.2672348916530609, -0.6827782988548279, -0.11102849990129471, 0.2778848111629486, 0.17933475971221924, -1.1671810150146484, 0.08588500320911407, -0.2694571912288666, -0.3972952961921692, -0.6304587721824646, 0.3457612991333008, 0.5348767042160034, 0.020888620987534523, -0.004567100200802088, -0.353755384683609, -0.5757787823677063, -0.5938663482666016, -0.19128327071666718, -0.15870004892349243, -0.024362238124012947, 0.09337866306304932, 0.40127676725387573, -0.19124217331409454, 0.6495374441146851, -0.3850680887699127, 0.0914350375533104, -0.4379100501537323, 0.28619393706321716, -0.09728934615850449, 0.28212952613830566, 0.5339239835739136, -0.5168123841285706, -0.42079201340675354, -0.3126581609249115, -0.7431257963180542, 0.10480471700429916, 0.00449327751994133, 0.13678379356861115, 0.29952219128608704, 0.6679131388664246, -0.5425150394439697, 0.18879981338977814, 0.7305613160133362, -0.2110743373632431, 0.5333241820335388, -0.28106197714805603, -0.07586253434419632, -0.916885495185852, -0.23001301288604736, -0.1288325935602188, 0.22004254162311554, -0.6950125694274902, 0.2606135606765747, -0.25834164023399353, 0.08211053907871246, -0.37605470418930054, 0.20094217360019684, -0.7856141924858093, -0.3557763397693634, -0.1335216760635376, 0.11055432260036469, -0.21254535019397736, 0.2854527235031128, 0.006462362129241228, 0.8384521007537842, 0.3662620186805725, -0.4099811911582947, 0.148027241230011, -0.12062455713748932, -0.3684670031070709, -0.004517771769315004, -0.46451619267463684, 0.36359041929244995, 0.16247232258319855, 0.13849706947803497, -0.5708065032958984, -0.273113876581192, -0.08372826129198074, -0.24797503650188446, 0.1842239648103714, -0.12508556246757507, -0.9371864199638367, -0.6325092911720276, -0.3284491300582886, 0.4995558559894562, 0.5924093723297119, -0.32409411668777466, 0.3672865033149719, 0.32889842987060547, -0.11975503712892532, -0.3487907648086548, -0.8798342347145081, -0.1209976002573967, -0.10870274901390076, -0.8751645684242249, 0.1686004102230072, -0.17848913371562958, -0.5569029450416565, 0.014685500413179398, 0.09688210487365723, 0.016885245218873024, 0.08380650728940964, 0.24177950620651245, -0.06447191536426544, -0.4085715115070343, -0.12503260374069214, 0.0634673461318016, -0.12802699208259583, 0.008271553553640842, -0.2401483654975891, 0.5963708162307739, -0.19914983212947845, -0.14791741967201233, -0.22163274884223938, 0.45806002616882324, 0.6987308263778687, -0.14679072797298431, 0.8371468186378479, 0.7600136399269104, -0.15948614478111267, -0.3236023485660553, -0.5189937949180603, -0.31143397092819214, -0.49935293197631836, 0.06443413347005844, -0.45553162693977356, -1.1148619651794434, 0.7281191945075989, -0.21732845902442932, -0.2916322946548462, 0.28113695979118347, 0.7490274310112, 0.2334362119436264, 1.0567070245742798, 0.9682358503341675, -0.06188294664025307, 0.46308374404907227, -0.3300117254257202, 0.12219099700450897, -0.5325830578804016, -0.14369745552539825, -0.5300858020782471, 0.030760712921619415, -0.514261782169342, -0.5923859477043152, 0.07362909615039825, 0.44786185026168823, 0.0030514481477439404, 0.02669147029519081, -0.33829066157341003, 0.36475780606269836, 0.6724902987480164, -0.15278945863246918, 0.45765072107315063, 0.16206568479537964, -0.41992810368537903, -0.16680549085140228, -0.9819620251655579, -0.3765917122364044, 1.0653471946716309, 0.22670815885066986, 0.8190279603004456, -0.01068465318530798, 0.8535271286964417, 0.10269611328840256, -0.025216471403837204, -0.6795334815979004, 0.6611714363098145, -0.310187429189682, -0.31998732686042786, -0.2620523273944855, -0.5942631959915161, -0.8968654274940491, 0.1365242749452591, -0.4628983438014984, -0.6393776535987854, -0.00764488847926259, 0.11929836869239807, -0.5172054171562195, 0.35924872756004333, -0.8136980533599854, 0.5052683353424072, -0.13469284772872925, -0.6585943698883057, -0.3361136019229889, -0.8638768196105957, 0.4879494607448578, -0.3742656707763672, 0.4388759732246399, -0.007506342604756355, 0.19478479027748108, 0.5939486622810364, -0.4424477517604828, 0.7283139824867249, -0.12372787296772003, -0.15849819779396057, 0.46526286005973816, 0.1521899402141571, 0.4707339406013489, 0.03973356634378433, -0.3154209852218628, 0.17549975216388702, -0.17719808220863342, -0.223653644323349, -0.2295294851064682, 0.7968769669532776, -0.7523553371429443, -0.38088151812553406, -0.16540217399597168, -0.6892687082290649, -0.16329722106456757, 0.2268160730600357, 0.5211024284362793, 0.22783121466636658, -0.35768556594848633, -0.0017234102124348283, 0.6467838287353516, -0.13074688613414764, 0.6212655305862427, 0.5579274892807007, -0.1569022387266159, -0.3904392123222351, 0.7601834535598755, 0.04018547385931015, 0.4929371178150177, 0.21621626615524292, 0.022722184658050537, 0.01996327005326748, -0.8838291764259338, -0.32354122400283813, 0.3902299702167511, -0.41168642044067383, -0.09924542903900146, -0.31409600377082825, -0.09659857302904129, -0.5375044345855713, -0.38827887177467346, -0.5239264369010925, -0.35012781620025635, -0.35818958282470703, 0.06741403788328171, 0.2481798380613327, 1.0280648469924927, -0.3410826623439789, 0.43655139207839966, -0.8443136811256409, 0.28193995356559753, 0.07504058629274368, 0.20453780889511108, 0.2904260456562042, 0.025578530505299568, -0.5458032488822937, 0.20545603334903717, -0.09739934653043747, -0.6067758798599243, 0.14888033270835876, -0.20979547500610352, 0.4790094494819641, 0.35838496685028076, 0.037309449166059494, 0.5665686726570129, -0.5016195774078369, 1.0612422227859497, 0.31982943415641785, -1.0760248899459839, 0.2651348412036896, -0.26573583483695984, 0.19697004556655884, 0.5612462759017944, 0.03691416233778, -0.17598456144332886, -0.4673812687397003, -0.6186150908470154, -0.8657951951026917, 0.8569508194923401, 0.18163944780826569, -0.22129186987876892, 0.09997865557670593, 0.3828257918357849, 0.33144062757492065, 0.24924929440021515, -0.26769334077835083, -0.132481649518013, 0.21336661279201508, -0.25708866119384766, -0.36401742696762085, -0.31977298855781555, 0.025645647197961807, -0.0313885435461998, 0.31278833746910095, -0.10942285507917404, 0.33104991912841797, -0.16167880594730377, -0.15926678478717804, -0.530563235282898, 0.14617493748664856, 0.4875465929508209, 0.41019725799560547, -0.043979011476039886, 0.12407676875591278, -0.006150288973003626, -0.3773372173309326, 0.08043412864208221, 0.10027219355106354, -0.1320711076259613, -0.08669280260801315, 0.4875890016555786, 0.8830057978630066, 0.18862780928611755, -0.4475308656692505, 0.4353138208389282, -0.3346760869026184, -0.3185025453567505, -0.049229465425014496, 0.06024855375289917, 0.18026697635650635, 0.5273839235305786, 0.43138840794563293, 0.14269587397575378, -0.06009887158870697, -0.4882810413837433, 0.01819514110684395, 0.33380162715911865, 0.20658405125141144, -0.608649492263794, 0.7325165867805481, 0.33261868357658386, -0.28858256340026855, 0.5139250755310059, -0.5218669772148132, -0.1518416404724121, 0.590755045413971, 0.3430919051170349, 0.8368434906005859, -0.16581366956233978, 0.1916974037885666, 0.05646464228630066, 0.27645978331565857, -0.5852797627449036, 0.3022529184818268, -0.09501080214977264, -0.7512691020965576, -0.6475225687026978, -0.7138127088546753, -0.4316626787185669, 0.26733478903770447, -0.8074751496315002, 0.08937986195087433, -0.4452380836009979, -0.2099352777004242, -0.024807903915643692, 0.3054872155189514, -0.8762153387069702, -0.12648019194602966, 0.12856335937976837, 0.682249903678894, -0.8096904754638672, 0.8916736841201782, 0.47666409611701965, -0.40645432472229004, -1.0273661613464355, 0.14271928369998932, 0.19129624962806702, -0.5762776732444763, 0.4403422474861145, -0.09847183525562286, -0.3730679154396057, 0.0597100704908371, -0.5079501867294312, -0.9347057342529297, 1.2987958192825317, 0.41935309767723083, -0.7628334164619446, -0.4123232662677765, 0.20887845754623413, 0.672650158405304, -0.5281599760055542, -0.2619079649448395, 0.6413639783859253, 0.10524816811084747, 0.09120828658342361, -1.0182783603668213, 0.3636055886745453, 0.24129986763000488, 0.19931507110595703, 0.254913330078125, -0.7895058989524841, 0.9728865027427673, -0.5983089804649353, -0.22067365050315857, 0.5734013319015503, 0.4572983682155609, 0.2629973590373993, 0.6464744210243225, 0.3808248043060303, 0.4595295190811157, 0.5803488492965698, 0.01354546844959259, 0.7227509617805481, -0.5654464364051819, 0.3792639374732971, 1.1134318113327026, -0.40760883688926697, 0.7246332764625549, 0.6864475607872009, -0.1543036699295044, 0.2905574142932892, 0.5237388014793396, 0.09135644882917404, 0.6271489262580872, 0.07793120294809341, -0.06954227387905121, -0.09443993866443634, 0.11735519766807556, -0.3814500570297241, 0.21447166800498962, 0.7165514230728149, -0.5779646039009094, 0.002033156342804432, 0.014762074686586857, -0.01836472563445568, -0.03310920298099518, -0.3461441099643707, 0.7722721099853516, 0.3017779290676117, -0.5902711153030396, 0.45930159091949463, 0.019899578765034676, 0.7799678444862366, -0.5534887313842773, 0.3432258367538452, -0.1430763453245163, 0.3705040514469147, 0.023029077798128128, -0.48636582493782043, 0.1813627928495407, -0.13113875687122345, -0.3663029968738556, -0.24822980165481567, 0.6793209910392761, -0.4039985239505768, -0.16923634707927704, 0.5692143440246582, 0.946986198425293, 0.05583736672997475, 0.3268384337425232, -0.7143764495849609, 0.5876948833465576, 0.06736712157726288, -0.14180375635623932, 0.28557315468788147, 0.6189107298851013, -0.02206585928797722, 0.47467973828315735, 0.667380154132843, 0.3233070969581604, 0.14830563962459564, 0.10013923048973083, 0.6858965754508972, -0.5300774574279785, -0.3146399259567261, -0.7282449007034302, 0.15158653259277344, 0.19319765269756317, -0.020306941121816635, 0.9271945953369141, 0.3520849049091339, 1.007196068763733, -0.17825324833393097, 0.7651496529579163, -0.01900395192205906, 0.35337430238723755, -0.6990021467208862, 0.5718297362327576, -0.39383772015571594, 0.41169965267181396, -0.28247082233428955, -0.7178043723106384, -0.12474428862333298, 0.28369423747062683, -0.15918684005737305, -0.1128205731511116, 0.7898304462432861, 0.7494572997093201, 0.1252651810646057, 0.19733482599258423, 0.24339547753334045, 0.3157085180282593, 0.11347084492444992, 0.7511911988258362, 0.8686603903770447, -0.1797277331352234, 0.5538934469223022, -0.3896808922290802, -0.035057201981544495, -0.3113246262073517, -0.6634396910667419, -0.8636854290962219, -0.5287395119667053, -0.14099787175655365, -0.37005487084388733, 0.03765742853283882, 0.8100309371948242, 0.6428518295288086, -0.3862629234790802, -0.35226529836654663, -0.3779240548610687, 0.028236020356416702, -0.17838557064533234, -0.18587744235992432, 0.10518350452184677, -0.20481693744659424, -0.6741207242012024, 0.4648999273777008, 0.045767515897750854, 0.2816835939884186, -0.5659105777740479, -0.29127711057662964, 0.15399521589279175, 0.15795081853866577, 0.5717965364456177, 0.2046208530664444, -0.7631468176841736, -0.045394014567136765, -0.05631067231297493, -0.23029163479804993, -0.3788313567638397, 1.235148549079895, -0.6960795521736145, 0.2352280616760254, 0.6329860687255859, 0.40927037596702576, 0.6743628978729248, -0.39891162514686584, 0.67877197265625, -0.6568956971168518, 0.4594140350818634, 0.04029465839266777, 0.33985093235969543, 0.46971437335014343, -0.43228110671043396, 0.5315673351287842, 0.3548700511455536, -0.6132816672325134, -0.9681544899940491, 0.5109807848930359, -0.6464678049087524, -0.4090845286846161, 1.1587554216384888, -0.07820208370685577, -0.08399558812379837, 0.01898832991719246, 0.0789315328001976, 0.31189897656440735, -0.41188910603523254, 0.4764111638069153, 0.6153647899627686, -0.1384909301996231, 0.09118011593818665, -0.3201056122779846, 0.6318221092224121, 0.2939628064632416, -0.35180357098579407, 0.1270630806684494, 0.5886834859848022, 0.2825748920440674, 0.31082332134246826, 0.8374155163764954, 0.1636980026960373, 0.02880769968032837, 0.4292551875114441, -0.1262386292219162, -0.02703840471804142, -0.3309009075164795, -0.5099737644195557, 0.2646467089653015, 0.2727075517177582, 0.1373918503522873 ]
http://arxiv.org/abs/2406.12277v1
http://arxiv.org/pdf/2406.12277v1
What Matters in Learning Facts in Language Models? Multifaceted Knowledge Probing with Diverse Multi-Prompt Datasets
2024-06-18T05:11:35
2024-06-18T05:11:35
Xin Zhao, Naoki Yoshinaga, Daisuke Oba
cs.CL
cs.CL
Large language models (LLMs) face issues in handling factual knowledge, making it vital to evaluate their true ability to understand facts. In this study, we introduce knowledge probing frameworks, BELIEF(-ICL), to evaluate the knowledge understanding ability of not only encoder-based PLMs but also decoder-based PLMs from diverse perspectives. BELIEFs utilize a multi-prompt dataset to evaluate PLM's accuracy, consistency, and reliability in factual knowledge understanding. To provide a more reliable evaluation with BELIEFs, we semi-automatically create MyriadLAMA, which has more diverse prompts than existing datasets. We validate the effectiveness of BELIEFs in correctly and comprehensively evaluating PLM's factual understanding ability through extensive evaluations. We further investigate key factors in learning facts in LLMs, and reveal the limitation of the prompt-based knowledge probing. The dataset is anonymously publicized.
[ -0.42861640453338623, -0.6522181630134583, 1.0690289735794067, 0.28974011540412903, -0.09915338456630707, 0.11639553308486938, -0.11673731356859207, -0.07208622246980667, -0.4490486681461334, 0.20237217843532562, -0.3598406910896301, -0.628459095954895, -0.6580004692077637, 0.2105720043182373, -0.05871245265007019, 0.95650315284729, 0.11106153577566147, 0.15657338500022888, -0.5427276492118835, -0.2358628660440445, -0.38222044706344604, -0.4255357086658478, -0.4733625650405884, -0.3213839828968048, 0.5681783556938171, 0.5722233653068542, 0.4547247588634491, 0.4192454218864441, 0.19577723741531372, 0.27096107602119446, -0.10025262832641602, 0.4828747808933258, -0.3830829858779907, 0.11132048070430756, -0.2856004238128662, -0.8215016722679138, 0.20851552486419678, 0.04509834200143814, 0.8334764838218689, 0.7278180718421936, -0.06010952964425087, 0.30221912264823914, 0.03929876908659935, 0.4575081169605255, -0.49055567383766174, 0.3696121871471405, -0.6923462152481079, 0.04042541980743408, -0.0857868567109108, -0.03677304461598396, -0.6511545181274414, -0.5404572486877441, 0.3301759958267212, -0.3552471399307251, 0.2510988116264343, 0.2658354938030243, 0.6397266387939453, 0.03835093230009079, -0.9475681185722351, -0.6176409125328064, -0.47542276978492737, 0.8631167411804199, -0.7359593510627747, 0.691985011100769, 0.3540121912956238, 0.2610177993774414, -0.10090295970439911, -0.3200456500053406, -0.738429605960846, -0.3786081075668335, -0.10514318943023682, -0.06619298458099365, 0.07922664284706116, 0.15906855463981628, 0.5491751432418823, 0.2734135091304779, -0.493113249540329, 0.06222469359636307, -0.20195411145687103, -0.3397698700428009, 0.23540610074996948, 0.06021225452423096, 0.3615393042564392, -0.2243804633617401, -0.5228020548820496, -0.06411025673151016, -0.9940266609191895, 0.3722408711910248, 0.27416855096817017, 0.03327231481671333, -0.42051443457603455, 0.389934778213501, -0.039507556706666946, 0.6916254162788391, -0.07020744681358337, -0.6975876092910767, 0.2111148238182068, -0.26996004581451416, -0.25451457500457764, -0.014428003691136837, 0.5535346865653992, 0.08013559132814407, 0.027461234480142593, -0.3039175570011139, -0.21201016008853912, -0.001977431820705533, -0.2786273956298828, -0.5877487063407898, 0.11407410353422165, 0.23459666967391968, -0.33289575576782227, 0.21347710490226746, 0.21460680663585663, -0.5572506189346313, -0.6660444140434265, -0.39680948853492737, 0.4008120596408844, -0.6820359826087952, -0.14041998982429504, 0.19239014387130737, -0.18257850408554077, 0.2731165289878845, 0.585371732711792, -0.6767019629478455, 0.012541745789349079, 0.6086594462394714, 0.613104522228241, -0.033534396439790726, -0.38274291157722473, -0.5529108047485352, -0.005166065879166126, -0.31782710552215576, 0.7739267945289612, -0.41453954577445984, -0.1633533239364624, -0.09644081443548203, -0.08988942950963974, -0.5054433345794678, -0.4436775743961334, 0.5173688530921936, -0.6734044551849365, 0.12643489241600037, -0.8378421664237976, -0.9564419984817505, -0.6603848338127136, 0.41271528601646423, -0.5333443880081177, 0.45812126994132996, -0.29735344648361206, -0.7896748185157776, 0.5712525248527527, -0.6115058660507202, -0.2468729466199875, 0.020067822188138962, -0.327541321516037, -0.09966663271188736, 0.15806452929973602, 0.06592617183923721, 0.44661566615104675, -0.2917894721031189, 0.7206258773803711, -0.4680120646953583, -0.03723158687353134, 0.7253291606903076, -0.7475593090057373, 0.7920634150505066, 0.32627424597740173, -0.22486765682697296, -0.05713789165019989, -0.5796619057655334, -0.30519601702690125, -0.026805289089679718, -0.5020440816879272, -0.22502641379833221, 0.19050495326519012, -0.5641801953315735, 0.2235201895236969, 0.13795897364616394, -0.8386521935462952, 0.023161394521594048, -0.3641531765460968, -0.10331462323665619, 0.7225040793418884, 0.17703410983085632, 0.10115497559309006, -0.524481475353241, 0.3621913194656372, 0.32426178455352783, 0.09510408341884613, -0.39562350511550903, -0.6209163665771484, -1.017025351524353, -0.021515382453799248, 0.08537187427282333, 0.41132327914237976, -0.6757987141609192, 0.13590355217456818, -0.060711897909641266, -0.35880860686302185, -0.49636971950531006, 0.1012328639626503, 0.35749372839927673, 0.7778306603431702, 0.11483721435070038, 0.2486734539270401, -0.4622752070426941, -0.9221314191818237, -0.2387695610523224, -0.27086132764816284, 0.2134530246257782, 0.3059297800064087, 0.6129319071769714, -0.036572638899087906, 1.0376585721969604, -0.35616832971572876, 0.14646019041538239, -0.2895292043685913, 0.35128098726272583, 0.24324029684066772, 0.24892166256904602, 0.5872079730033875, -0.8449888229370117, -0.5090168118476868, -0.04792040213942528, -0.8989686369895935, 0.15399950742721558, -0.31290578842163086, 0.38355958461761475, 0.17855022847652435, 0.11978280544281006, -0.7841564416885376, 0.2882785201072693, 0.6582775712013245, -0.4165855944156647, 0.5406347513198853, -0.19931986927986145, 0.29888224601745605, -0.7832251191139221, -0.159568190574646, 0.19598321616649628, -0.18872730433940887, -0.6059122681617737, 0.06629562377929688, 0.22123168408870697, 0.2618735432624817, -0.37899163365364075, 0.48828592896461487, -0.35068419575691223, -0.1197034940123558, -0.07926465570926666, 0.1043257936835289, 0.06270069628953934, 0.3112863302230835, 0.19250355660915375, 0.9339308142662048, 0.8043162226676941, -0.8304452896118164, 0.2674839496612549, 0.1610931009054184, -0.7417362928390503, 0.09936101734638214, -0.34222412109375, 0.1659434735774994, -0.2592996060848236, -0.05148129165172577, -1.0224970579147339, 0.022581355646252632, 0.23105095326900482, -0.30595046281814575, 0.10734020918607712, -0.18580421805381775, -0.7221416234970093, 0.08063143491744995, -0.029717182740569115, 0.02770565077662468, 0.32881036400794983, -0.8127399682998657, 0.5105594396591187, 0.33954110741615295, -0.1278737485408783, -0.6521604061126709, -0.2615813612937927, 0.07248114794492722, -0.2754247784614563, -0.5169401168823242, -0.08482899516820908, -0.4466729462146759, -0.6259220242500305, -0.205331489443779, -0.05017838627099991, 0.09106165915727615, 0.15006688237190247, 0.02557363174855709, 0.18930596113204956, -0.34795352816581726, 0.4451519846916199, 0.010817006230354309, 0.1040392592549324, 0.3349541425704956, -0.24673081934452057, 0.4411325752735138, -0.3041748106479645, -0.7697160243988037, -0.1332779973745346, 0.0036725325044244528, 0.6918103694915771, -0.1414829045534134, 1.0119916200637817, 0.41336166858673096, -0.16267815232276917, -0.46197861433029175, -0.7969195246696472, -0.2552589774131775, -0.4277011454105377, 0.23700577020645142, -0.40087684988975525, -1.0037999153137207, 0.6596305966377258, -0.13011063635349274, 0.040139779448509216, 0.3921942114830017, 0.43234628438949585, -0.20350603759288788, 0.9850308895111084, 0.44259464740753174, 0.16065876185894012, -0.16844864189624786, 0.10533550381660461, 0.21985380351543427, -0.6741623878479004, -0.5087900757789612, -0.39192891120910645, 0.24572089314460754, -0.36157718300819397, -0.431049644947052, 0.6588470339775085, -0.11316803097724915, -0.3145948350429535, -0.3859866261482239, 0.2231617271900177, 0.36403027176856995, 0.3543226718902588, 0.17956572771072388, 0.4479953348636627, -0.1693102866411209, -0.3910088837146759, 0.001602139906026423, -0.6872656345367432, -0.538502037525177, 0.9869576692581177, 0.5396637916564941, 0.6739873290061951, 0.46993958950042725, 0.19696591794490814, 0.2642821967601776, 0.1620078682899475, -0.9583303928375244, 0.40538841485977173, -0.036875706166028976, -0.6831847429275513, -0.11967813223600388, -0.4401014745235443, -0.43856894969940186, 0.3655216693878174, -0.10933449864387512, -0.4474834203720093, 0.32712817192077637, 0.05172131210565567, -0.4559665620326996, 0.5613422989845276, -0.6795487403869629, 0.5995474457740784, -0.463207483291626, -0.0017062685219570994, -0.3378255069255829, -0.494381308555603, 0.5465085506439209, -0.20363225042819977, 0.31019675731658936, -0.07345321029424667, 0.11484697461128235, 0.6914864778518677, -0.12673720717430115, 1.2316642999649048, -0.3023342788219452, -0.2956126928329468, 0.2836841344833374, 0.02445441111922264, 0.3433539569377899, 0.37245750427246094, -0.07039052993059158, 0.03596881777048111, -0.06038688123226166, -0.11122148483991623, -0.7574288845062256, 0.38991931080818176, -0.8023594617843628, -0.914876401424408, -0.4475388824939728, -0.6076596975326538, -0.4468008577823639, 0.0013357913121581078, 0.0951312705874443, 0.751995325088501, -0.05674441531300545, 0.5128484964370728, 1.2940212488174438, -0.44402655959129333, 0.18224787712097168, 0.9012645483016968, -0.2214028239250183, -0.04133443161845207, 0.9122305512428284, 0.1692037433385849, 0.3387739658355713, 0.5156614184379578, 0.3290848731994629, -0.6325374841690063, -0.7148358821868896, -0.3431131839752197, 0.3136708736419678, -1.2056264877319336, -0.1662081629037857, -0.7507227659225464, -0.08410926163196564, -0.35017502307891846, 0.2707095146179199, -0.0758705884218216, 0.09635177254676819, -0.2101258486509323, -0.33666813373565674, 0.45925334095954895, 0.7968207001686096, 0.01171681098639965, 0.13677144050598145, -0.8540697693824768, 0.42818373441696167, 0.4771486520767212, 0.23681966960430145, -0.17487110197544098, -0.5765752196311951, -0.24008598923683167, 0.19994233548641205, 0.17360779643058777, -0.9466007947921753, 0.19507300853729248, 0.1985747218132019, 0.9485236406326294, 0.5549572706222534, 0.07700949907302856, 0.3138797879219055, -0.14335502684116364, 0.5714121460914612, -0.043329738080501556, -1.0363420248031616, 0.4176081120967865, -0.13839761912822723, 0.2427925169467926, 0.33710238337516785, 0.5223575234413147, -0.6912829875946045, -0.24821093678474426, -0.38042014837265015, -0.135856494307518, 0.7879018783569336, -0.17948749661445618, -0.08789949864149094, 0.04001336172223091, 0.18981018662452698, 0.5910288691520691, 0.3887949585914612, -0.6613887548446655, -0.5001193881034851, -0.13185110688209534, -0.23975688219070435, 0.017782075330615044, -0.4093876779079437, -0.20545892417430878, -0.2116253823041916, 0.5260044932365417, -0.4119480848312378, -0.008958502672612667, 0.05000760406255722, -0.4169588088989258, 0.17351588606834412, 0.5673930644989014, 0.5049150586128235, 0.939594566822052, -0.1884787380695343, 0.40947577357292175, 0.320230096578598, -0.36319223046302795, 0.06430944800376892, -0.02934817411005497, -0.3888969123363495, -0.08688297867774963, 0.3478721082210541, 1.1863993406295776, 0.2657047510147095, -0.7484601140022278, 0.5194085836410522, -0.09339588135480881, 0.006655484903603792, -0.12018821388483047, 0.10784169286489487, 0.08834892511367798, 0.016786957159638405, 0.4065815210342407, 0.4625542163848877, 0.04766836017370224, -0.6115013957023621, 0.2688477039337158, 0.2261687070131302, -0.07875754684209824, -0.5215911269187927, 0.10415206104516983, -0.017863556742668152, 0.2686460316181183, 0.6056041717529297, -0.4146195948123932, -0.6703463196754456, 0.6027058362960815, 0.6675823330879211, 0.3750256299972534, -0.3059273064136505, 0.6140129566192627, 0.27604687213897705, 0.43599703907966614, 0.05648498609662056, 0.27950066328048706, 0.006237547378987074, -1.370192289352417, -0.6006975173950195, -0.5258643627166748, -0.433765172958374, 0.25797590613365173, -0.36549878120422363, 0.09953220188617706, -0.5328512191772461, 0.08267015963792801, -0.35970890522003174, 0.08339521288871765, -0.8533923625946045, 0.4030967652797699, 0.3249853253364563, 1.102660059928894, -0.9885613918304443, 0.8269497752189636, 0.5575201511383057, -0.5019606351852417, -0.9067766666412354, 0.024697573855519295, 0.15218733251094818, -0.9201231002807617, 0.9897934198379517, 0.04304935038089752, -0.24108481407165527, -0.04944365471601486, -0.7051517367362976, -1.0289249420166016, 0.7987660765647888, 0.7372990846633911, -0.4223887622356415, 0.17894767224788666, 0.1299913078546524, 0.20543929934501648, -0.4707554578781128, 0.33684322237968445, 0.3883858025074005, 0.6897680163383484, 0.12174692749977112, -0.7994478940963745, -0.13624359667301178, 0.010515259578824043, -0.4889378845691681, -0.29279062151908875, -0.629296064376831, 1.0779415369033813, -0.3562192916870117, -0.3997390866279602, -0.3521779179573059, 0.6187746524810791, 0.7144973874092102, 0.3635631501674652, 0.5766105055809021, 0.38411945104599, 1.076409101486206, -0.036567602306604385, 0.997910737991333, -0.19152410328388214, 0.3699098825454712, 0.892918050289154, -0.2527892291545868, 0.4402289092540741, 0.2624088227748871, -0.2059796005487442, 0.6248669624328613, 0.6842706203460693, -0.046030789613723755, 0.3920839726924896, -0.17658887803554535, -0.3256366550922394, -0.5512503385543823, -0.26374468207359314, -0.15497322380542755, 0.6065065264701843, 0.7850461006164551, -0.14081424474716187, -0.37612536549568176, 0.09532061219215393, 0.1169482171535492, -0.01026936899870634, -0.07729663699865341, 0.7368162870407104, 0.12373779714107513, -0.6491466760635376, 0.3117315173149109, 0.0034985910169780254, 0.634342610836029, -0.8203145265579224, -0.21724845468997955, -0.10445842146873474, -0.20634543895721436, -0.10188528150320053, -1.0051339864730835, -0.10687954723834991, -0.02798824943602085, -0.21058693528175354, -0.15879204869270325, 0.8389319181442261, -0.43655410408973694, -0.2560080885887146, 0.09990116953849792, 0.7526476383209229, 0.09678269177675247, -0.13838347792625427, -0.6440704464912415, 0.11588580906391144, 0.2717565894126892, -0.1076023280620575, 0.2319875806570053, 0.5931592583656311, 0.21793553233146667, 0.907879650592804, 0.5947772860527039, 0.1523178666830063, 0.09390633553266525, 0.24548491835594177, 0.7789518237113953, -0.4103533625602722, -0.43169155716896057, -0.8108996748924255, 0.502986490726471, 0.017320528626441956, -0.20534004271030426, 1.1752680540084839, 0.5145528316497803, 0.6301277279853821, -0.051681432873010635, 1.1237409114837646, 0.1821177750825882, 0.6715306043624878, -0.962005615234375, 0.7542946338653564, -0.13868585228919983, 0.35030412673950195, 0.30100491642951965, -0.5712946653366089, -0.08718348294496536, 0.4685889184474945, -0.5310739874839783, 0.08071811497211456, 0.6774155497550964, 0.49795034527778625, 0.025827864184975624, 0.3893497586250305, 0.4442559480667114, 0.4875999987125397, 0.3639514744281769, 0.23153817653656006, 1.1061689853668213, -0.12988035380840302, 0.1370350420475006, -0.11862803995609283, -0.18244440853595734, 0.019290568307042122, -0.9096426367759705, -0.8380272388458252, -0.7755348086357117, -0.2821996510028839, -0.018365919589996338, -0.14503945410251617, 1.0253461599349976, 0.5947139859199524, -1.0518792867660522, -0.20189236104488373, 0.052702613174915314, 0.5920763611793518, 0.1077989712357521, -0.23667772114276886, 0.45861247181892395, -0.6716928482055664, -0.5080750584602356, 0.6659507751464844, 0.29700300097465515, -0.06844350695610046, -0.3887179493904114, -0.17776863276958466, -0.24582579731941223, -0.09704285115003586, 0.7399688959121704, 0.17970699071884155, -0.8190217018127441, -0.4027906656265259, 0.10288747400045395, 0.07665346562862396, 0.09082739800214767, 0.7778593897819519, -0.9312705993652344, 0.5989765524864197, 0.48349669575691223, 0.6635833382606506, 0.06338493525981903, -0.028254834935069084, 0.5864214897155762, -0.6101047396659851, -0.13119672238826752, 0.022837691009044647, 0.6757510900497437, 0.6152666211128235, -0.44547995924949646, -0.05709753558039665, 0.5202756524085999, -0.41841593384742737, -0.567084014415741, 0.3508633077144623, -0.653676450252533, -0.31806862354278564, 1.268601655960083, -0.40518566966056824, -0.18469581007957458, -0.6022698879241943, -0.032846979796886444, 0.08243606239557266, -0.3899625241756439, 0.5301876664161682, 0.8001279234886169, -0.13676966726779938, -0.38907790184020996, -0.6417028903961182, 0.5341917872428894, 0.22507907450199127, -0.6612234711647034, 0.08201798051595688, 0.45785942673683167, 0.49483877420425415, 0.20735695958137512, 0.2948562204837799, 0.08772075921297073, -0.04983660206198692, -0.11480862647294998, -0.21950607001781464, 0.041444968432188034, -0.4904557764530182, -0.19098250567913055, 0.31532585620880127, 0.2805517315864563, 0.1310274451971054 ]
http://arxiv.org/abs/2406.12276v1
http://arxiv.org/pdf/2406.12276v1
CodeNav: Beyond tool-use to using real-world codebases with LLM agents
2024-06-18T05:10:38
2024-06-18T05:10:38
Tanmay Gupta, Luca Weihs, Aniruddha Kembhavi
cs.AI
cs.AI, cs.CL, cs.SE
We present CodeNav, an LLM agent that navigates and leverages previously unseen code repositories to solve user queries. In contrast to tool-use LLM agents that require ``registration'' of all relevant tools via manual descriptions within the LLM context, CodeNav automatically indexes and searches over code blocks in the target codebase, finds relevant code snippets, imports them, and uses them to iteratively generate a solution with execution feedback. To highlight the core-capabilities of CodeNav, we first showcase three case studies where we use CodeNav for solving complex user queries using three diverse codebases. Next, on three benchmarks, we quantitatively compare the effectiveness of code-use (which only has access to the target codebase) to tool-use (which has privileged access to all tool names and descriptions). Finally, we study the effect of varying kinds of tool and library descriptions on code-use performance, as well as investigate the advantage of the agent seeing source code as opposed to natural descriptions of code. All code will be made open source under a permissive license.
[ -0.21996904909610748, -0.1902722418308258, 0.27485373616218567, 0.09707460552453995, -0.14466536045074463, 0.6357684135437012, -0.1191498264670372, -0.42121773958206177, 0.3793032169342041, 0.6766142845153809, -0.38605815172195435, -0.7477309107780457, 0.0974944457411766, -0.0669027790427208, -0.5001683831214905, 0.4745384156703949, 0.04349786788225174, -0.07368268072605133, -0.4986569881439209, -0.14551523327827454, -0.29281920194625854, -0.9323395490646362, -0.1062907874584198, -0.22370722889900208, 0.7335981726646423, 0.6689344048500061, 0.8761475682258606, 0.6433575749397278, 0.6576119661331177, 0.2249220907688141, 0.21215422451496124, 0.0655960738658905, -0.5030972957611084, 0.4326302111148834, -0.09665621072053909, -0.890035092830658, -0.3097645342350006, -0.02883131615817547, 0.18641896545886993, 0.3085256516933441, -0.12062346190214157, 0.3060278296470642, -0.07061559706926346, 0.6167835593223572, -0.6813806295394897, 0.015588745474815369, -0.5681861042976379, 0.06445717066526413, -0.2266741842031479, -0.5565222501754761, -0.17374026775360107, -0.49708300828933716, 0.055971551686525345, -0.5708884000778198, -0.024630581960082054, -0.014933177269995213, 0.6842969655990601, 0.5686145424842834, -0.4296852648258209, -0.401720255613327, -0.6299310922622681, 0.4941750466823578, -0.4571100175380707, 0.15346640348434448, 0.21130584180355072, 0.608988881111145, -0.2343961000442505, -0.9513793587684631, -0.2462717592716217, -0.473254531621933, 0.02955581247806549, -0.010958938859403133, -0.29468104243278503, -0.03092772141098976, 0.2955228388309479, 0.2780107259750366, -0.5095949769020081, 0.07356971502304077, -0.3898346424102783, -0.4373779296875, 0.622769296169281, 0.27431654930114746, 0.2457713484764099, 0.2527134418487549, -0.5020686388015747, 0.007090712431818247, -0.9288602471351624, 0.1925698071718216, 0.2809109687805176, 0.037495121359825134, 0.29936838150024414, 0.7633568048477173, -0.10150034725666046, 0.5917257070541382, -0.5325074791908264, 0.13527147471904755, 0.463173508644104, -0.2835443913936615, -0.11963970959186554, -0.12362843006849289, 0.2698112428188324, 0.4786907434463501, 0.46804070472717285, -0.47713354229927063, -0.30991268157958984, 0.003435812657698989, 0.5156301856040955, -0.7056640982627869, -0.3006281852722168, 0.1508254110813141, -0.47127559781074524, -0.4344073534011841, 0.20550420880317688, -0.430596262216568, -0.9205967783927917, -0.14099735021591187, 0.16799457371234894, 0.15547572076320648, -0.35426071286201477, -0.14588604867458344, -0.27868419885635376, 0.49182257056236267, 0.31957799196243286, -0.013609997928142548, 0.3309372365474701, 0.4971507489681244, 0.8584040999412537, -0.3538840711116791, -0.2489563375711441, -0.7055351734161377, -0.0003201610816176981, -0.305798202753067, 0.6677412986755371, -0.6213129758834839, -0.6522592902183533, 0.06467457115650177, -0.025263186544179916, 0.39116644859313965, -0.741991400718689, -0.0891716256737709, -0.8043814897537231, -0.36355432868003845, -0.2235247790813446, -0.3383045494556427, -0.27017685770988464, 0.3491989076137543, -0.8017421364784241, 1.0882633924484253, 0.23731637001037598, -0.231700137257576, 0.3386293649673462, -0.7315276861190796, -0.30878153443336487, 0.23542387783527374, -0.337467223405838, 0.04136764630675316, -0.010683778673410416, -0.16961634159088135, 0.36999985575675964, 0.000487981247715652, -0.0637068971991539, -0.12401285767555237, -0.6569330096244812, 0.4115537106990814, 0.1396598368883133, 0.588324248790741, 0.5344609022140503, -0.36279863119125366, 0.23276527225971222, -0.5424462556838989, 0.06292174756526947, 0.15810954570770264, -0.4844593405723572, -0.1895754188299179, 0.20538325607776642, -0.045942749828100204, 0.17573867738246918, 0.3423173427581787, -0.28338465094566345, 0.6908268928527832, -0.46353012323379517, 0.3770988881587982, 0.37930598855018616, 0.012538024224340916, 0.5744082927703857, -0.25795695185661316, 1.0879254341125488, -0.16102056205272675, 0.21292690932750702, -0.21913449466228485, -0.3880269229412079, -0.5432688593864441, -0.11544998735189438, 0.2786441445350647, 0.7357428073883057, -0.9428153038024902, -0.0573589988052845, -0.09708963334560394, -0.6082647442817688, -0.27483853697776794, 0.341105580329895, 0.39212772250175476, 0.07328642159700394, 0.1284026950597763, -0.5250759720802307, -0.6497783064842224, -0.7781566381454468, -0.4663999378681183, -0.2677420675754547, 0.02363477647304535, 0.6009679436683655, 0.4398358464241028, -0.4837952256202698, 1.0581233501434326, -0.6388425827026367, -0.2942381203174591, -0.3255753219127655, -0.32821419835090637, 0.11970695108175278, 0.15630175173282623, 0.34732088446617126, -0.8922423720359802, -0.25773707032203674, 0.06589458882808685, -0.6836352944374084, -0.25155553221702576, -0.1267096847295761, -0.15753276646137238, 0.2075977772474289, 0.8408573865890503, -0.26952093839645386, 0.6505737900733948, 0.39270609617233276, -0.21470598876476288, 0.3894340991973877, -0.06069491431117058, -0.01870950311422348, -0.8758173584938049, 0.11760285496711731, -0.3055342137813568, -0.5622735619544983, -0.4220111668109894, 0.6734333038330078, 0.2276284098625183, -0.21649594604969025, -0.7468759417533875, 0.4990932047367096, -0.733590304851532, -0.6800003051757812, -0.20376305282115936, 0.2111297845840454, 0.024359283968806267, 0.3955690562725067, -0.30357763171195984, 1.4497019052505493, 0.43996554613113403, -0.5317063331604004, 0.5346964001655579, -0.0830807164311409, -0.04732588678598404, 0.03431796655058861, -0.5525230169296265, 0.23923009634017944, 0.3992084860801697, 0.20957788825035095, -0.6999829411506653, 0.03860858455300331, 0.3154381215572357, -0.3847927451133728, 0.014051171950995922, -0.5948867797851562, -0.8213517665863037, -0.28492116928100586, -0.44191059470176697, 0.09937231242656708, 0.6126895546913147, -0.4767972528934479, 0.6868922114372253, 0.491181880235672, 0.31694546341896057, -0.67716383934021, -0.6891452074050903, 0.47603920102119446, -0.15786363184452057, -0.5129199028015137, 0.06926023960113525, -0.21603915095329285, -0.41995769739151, -0.023821210488677025, -0.46586230397224426, -0.42721307277679443, 0.5317257046699524, 0.5518737435340881, 0.22776810824871063, -0.19628554582595825, 0.47709450125694275, -0.2368192970752716, -0.05782706290483475, 0.07526610046625137, -0.2433052957057953, 0.40118974447250366, -0.430869460105896, -0.4493076205253601, 0.23782658576965332, 0.12084910273551941, 0.3428252339363098, -0.5389479994773865, 0.28004083037376404, 0.20023734867572784, -0.17343716323375702, -0.349068284034729, -0.47979581356048584, 0.027671001851558685, -0.5191470384597778, 0.1437176913022995, -0.5120092630386353, -0.8639346957206726, 0.7108930349349976, -0.33647024631500244, 0.08356321603059769, -0.0813848152756691, 0.5658185482025146, -0.09442723542451859, 0.5463598966598511, 0.6961127519607544, 0.04261511191725731, 0.6227591633796692, -0.4251748025417328, -0.0623592883348465, -0.4696860909461975, -0.3852227032184601, -0.45901089906692505, -0.41531500220298767, -0.2594558000564575, -0.7909857630729675, 0.22855167090892792, 0.16472360491752625, 0.16599984467029572, 0.8003197312355042, -0.7109757661819458, 0.8986254334449768, 0.49349960684776306, 0.001514095813035965, 0.6601019501686096, -0.254985511302948, -0.026909910142421722, 0.27617111802101135, -0.6673992872238159, -0.6902353763580322, 1.354475736618042, 0.17833811044692993, 0.8943503499031067, 0.10124046355485916, 1.0783848762512207, 0.6999221444129944, 0.3088769018650055, -0.9743326902389526, 0.7039785981178284, 0.3512721657752991, -0.6583114266395569, -0.05563942715525627, -0.24971804022789001, -1.15804922580719, 0.3343644440174103, 0.13468614220619202, -0.5011650919914246, 0.27810078859329224, 0.19317282736301422, -0.14991189539432526, 0.11841502040624619, -0.8725804686546326, 0.7727137804031372, -0.2846162021160126, -0.1867932677268982, -0.21716132760047913, -0.6028320789337158, 0.05823635309934616, 0.09092320501804352, 0.060955338180065155, 0.014198415912687778, -0.7341388463973999, 0.2987416982650757, -0.4447416067123413, 0.6803077459335327, -0.30057036876678467, -0.12417515367269516, 0.38353878259658813, 0.47726577520370483, 0.5257436037063599, 0.10367061197757721, -0.005381612107157707, 0.09034620970487595, 0.14040975272655487, -0.3482609987258911, -0.6051327586174011, 0.7603626847267151, -0.6226783990859985, -0.6812616586685181, -0.4153346121311188, -0.28700876235961914, 0.05685119330883026, 0.299936980009079, -0.06490008533000946, 0.6144638061523438, -0.15988516807556152, 0.2759128510951996, 0.5656107068061829, -0.08497611433267593, 0.4516482353210449, 0.6955426335334778, -0.5486447215080261, 0.16703787446022034, 0.8609076738357544, 0.12485569715499878, 0.06520506739616394, 0.316523015499115, -0.1456802934408188, -0.08116002380847931, -0.6053981781005859, -0.3109673261642456, 0.05351987108588219, -0.8284226059913635, -0.39849454164505005, -0.44887837767601013, -0.0009109077509492636, 0.1762271225452423, -0.30397528409957886, -0.33846133947372437, -0.5776803493499756, -0.44256436824798584, -0.03240522742271423, 0.39989835023880005, 0.756872296333313, 0.21026146411895752, 0.1562323421239853, -0.7558763027191162, 0.25634849071502686, 0.12584544718265533, 0.5270793437957764, -0.35710424184799194, -0.06588984280824661, -0.5753222107887268, -0.27284520864486694, -0.21768270432949066, -0.9713512063026428, 0.3269987404346466, -0.024428335949778557, 0.7757471799850464, 0.0585457943379879, 0.31321263313293457, 0.31154146790504456, -0.27860933542251587, 0.819699227809906, -0.21741445362567902, -0.7906990051269531, 0.5621204972267151, -0.048984576016664505, 0.17424486577510834, 0.7343313694000244, 0.25458359718322754, -0.25294479727745056, -0.5672339200973511, -0.31473544239997864, -0.7918288111686707, 0.3883759081363678, 0.4469585716724396, 0.0658831000328064, 0.2332780957221985, 0.368839830160141, -0.08733577281236649, 0.3850899040699005, -0.5300247073173523, -0.4923775792121887, -0.2980319559574127, 0.26136597990989685, -0.014288674108684063, 0.008312768302857876, -0.3375658690929413, -0.07348988950252533, 0.2380945086479187, -0.2650318443775177, 0.16892045736312866, 0.3457429111003876, -0.8362681865692139, 0.054098889231681824, 0.2421320080757141, 0.4281165301799774, 1.0785431861877441, -0.19200727343559265, 0.12717029452323914, 0.10651591420173645, -0.3807995915412903, -0.09033191949129105, -0.015971746295690536, 0.321963369846344, -0.0829358771443367, 0.1779993772506714, 0.0635598823428154, 0.20900452136993408, -1.0491578578948975, 0.6408784985542297, -0.15505875647068024, -0.20295944809913635, -0.4647248685359955, 0.4797857105731964, 0.20366023480892181, 0.711683988571167, 0.5039909482002258, 0.19121018052101135, 0.4397641122341156, -0.5302978157997131, 0.3090091347694397, 0.24863822758197784, -0.41109782457351685, 0.04034684598445892, 0.6424371004104614, 0.4952836036682129, -0.5561811923980713, 0.24727840721607208, -0.09381337463855743, -0.5797340869903564, 0.9628113508224487, 0.08084066212177277, 0.9044961929321289, 0.294060081243515, 0.08951222151517868, -0.2951241731643677, 0.33920252323150635, 0.25020670890808105, 0.4748493731021881, -0.4351228177547455, -0.4380573630332947, -0.343099981546402, 0.10435641556978226, -0.6944637298583984, -0.48233649134635925, -0.7069740295410156, 0.19096936285495758, -0.5387873649597168, -0.2057398557662964, -0.35571661591529846, 0.2806323766708374, -0.720437228679657, -0.2962600886821747, 0.07559866458177567, 1.4152659177780151, -0.29549553990364075, 1.1191009283065796, 1.0539710521697998, -0.6546860337257385, -0.7143741846084595, 0.024000011384487152, 0.21738961338996887, -1.016771674156189, 0.5125898718833923, 0.18403105437755585, -0.4363920986652374, 0.1007135882973671, -0.8161574602127075, -0.6559739708900452, 1.5728496313095093, 0.13141730427742004, -0.43172281980514526, 0.15531185269355774, -0.3431631326675415, 0.6795148253440857, -0.4646477997303009, 0.18166576325893402, 0.6668519377708435, 0.2605196237564087, -0.08304347842931747, -0.60379958152771, 0.05780867114663124, -0.4266505241394043, 0.057600703090429306, 0.10644926875829697, -0.35998719930648804, 0.48802679777145386, -0.28097862005233765, -0.1764202117919922, 0.03369499742984772, 0.30843204259872437, 0.24507084488868713, 0.37949880957603455, 0.4737817645072937, -0.09715975075960159, 0.5474795699119568, 0.10993494093418121, 1.133386492729187, -0.4921157658100128, 0.24039527773857117, 0.8521003723144531, -0.34713125228881836, 0.6898759007453918, 0.41798362135887146, -0.18747520446777344, 0.5704657435417175, 0.3690107464790344, -0.10244924575090408, 0.18812383711338043, 0.490600049495697, -0.11035726964473724, -0.17673057317733765, -0.06458365172147751, -0.5739275217056274, 0.16952569782733917, 0.17153333127498627, -0.056255094707012177, -0.1512778103351593, -0.2015358805656433, 0.003269035369157791, 0.29863440990448, -0.1859620064496994, 0.7412412762641907, 0.12338755279779434, -0.3150999844074249, 0.54619300365448, -0.22901968657970428, 0.5548660755157471, -0.6889508962631226, -0.15003156661987305, -0.42398184537887573, 0.050321899354457855, -0.4213915765285492, -0.916924238204956, 0.21749348938465118, 0.1016526147723198, -0.0060203722678124905, -0.35663726925849915, 0.9637432098388672, -0.05229542776942253, 0.09116531908512115, 0.5109927654266357, 0.7205376625061035, 0.4788997769355774, -0.28890615701675415, -0.7063505053520203, 0.012953761965036392, -0.0428457111120224, -0.37345775961875916, 0.4796103239059448, 0.2925260663032532, -0.0723840594291687, 1.1592108011245728, 0.5970442295074463, 0.13785101473331451, 0.11176184564828873, 0.1950921267271042, 1.2829357385635376, -0.7607336044311523, -0.33197134733200073, -0.56727534532547, 0.4784621000289917, -0.07196057587862015, -0.04341016337275505, 0.7936047911643982, 0.6948509216308594, 0.8371748328208923, -0.13379785418510437, 0.6685141324996948, 0.043585482984781265, 0.4401852488517761, -0.3956603407859802, 0.6083637475967407, -0.6587720513343811, 0.7740163803100586, -0.10253217816352844, -1.0414832830429077, -0.516023576259613, 0.36353379487991333, -0.09865183383226395, -0.2341092824935913, 0.4931058883666992, 1.1216456890106201, 0.15763673186302185, -0.5051102042198181, 0.49595656991004944, -0.17972210049629211, 0.43126365542411804, 0.3007989525794983, 1.2562118768692017, 0.025348784402012825, 1.1897876262664795, -0.03928574547171593, -0.07423529028892517, -0.5223953127861023, -0.7921706438064575, -0.9962180852890015, -0.19901669025421143, -0.09591924399137497, -0.40758731961250305, -0.011899958364665508, 1.1031367778778076, 0.5962182879447937, -0.5370603203773499, -0.5656952261924744, 0.14699000120162964, 0.5521316528320312, -0.140264630317688, -0.2208939492702484, -0.25930458307266235, -0.37374043464660645, -0.21346363425254822, 0.5675926804542542, 0.26718243956565857, -0.1924590915441513, -0.4748248755931854, -0.2169223427772522, 0.05876905843615532, -0.04742537438869476, 0.39044275879859924, 0.5209243297576904, -0.6112526059150696, 0.028208935633301735, 0.211526021361351, -0.36705344915390015, 0.3499518930912018, 1.3307164907455444, -1.209731936454773, 0.5897933840751648, 0.38682425022125244, 0.6586514115333557, 0.4868600070476532, 0.11311031132936478, 0.6417428851127625, -0.8336567878723145, -0.06432833522558212, 0.35905933380126953, 0.16894084215164185, -0.17397616803646088, -0.4227422773838043, 0.8592542409896851, -0.07341422885656357, -0.5175338983535767, -0.9148926138877869, 0.33512791991233826, -0.9970076084136963, -0.3856711983680725, 1.1397768259048462, -0.2556888163089752, 0.09822813421487808, -0.5149058103561401, -0.46830832958221436, -0.1574041247367859, -0.657078742980957, 0.07030712813138962, 0.23450244963169098, -0.12203960120677948, -0.21569009125232697, -0.7028191089630127, 0.3481084406375885, -0.1054065078496933, -0.7127830386161804, -0.1383606642484665, 0.5478286147117615, 0.26356953382492065, -0.035511743277311325, 0.66294926404953, 0.019569018855690956, 0.374379962682724, -0.10651954263448715, 0.2777249813079834, -0.6055105328559875, -0.44198352098464966, -0.47558683156967163, 0.05770423635840416, 0.44107696413993835, -0.26723411679267883 ]
http://arxiv.org/abs/2406.12274v1
http://arxiv.org/pdf/2406.12274v1
SafeInfer: Context Adaptive Decoding Time Safety Alignment for Large Language Models
2024-06-18T05:03:23
2024-06-18T05:03:23
Somnath Banerjee, Soham Tripathy, Sayan Layek, Shanu Kumar, Animesh Mukherjee, Rima Hazra
cs.CL
cs.CL
Safety-aligned language models often exhibit fragile and imbalanced safety mechanisms, increasing the likelihood of generating unsafe content. In addition, incorporating new knowledge through editing techniques to language models can further compromise safety. To address these issues, we propose SafeInfer, a context-adaptive, decoding-time safety alignment strategy for generating safe responses to user queries. SafeInfer comprises two phases: the safety amplification phase, which employs safe demonstration examples to adjust the model's hidden states and increase the likelihood of safer outputs, and the safety-guided decoding phase, which influences token selection based on safety-optimized distributions, ensuring the generated content complies with ethical guidelines. Further, we present HarmEval, a novel benchmark for extensive safety evaluations, designed to address potential misuse scenarios in accordance with the policies of leading AI tech giants.
[ 0.036390550434589386, -0.7436227202415466, 0.027304857969284058, 0.28055840730667114, -0.2319953739643097, 0.07487814128398895, 0.04694202169775963, -0.6329647898674011, -0.3641345500946045, 0.37532806396484375, -0.30515286326408386, -0.5236006379127502, -0.409854918718338, -0.031842708587646484, -0.5655895471572876, 0.931736171245575, 0.17324669659137726, -0.08679098635911942, 0.023573212325572968, -0.19399869441986084, -0.7565590739250183, -0.5516205430030823, -1.0445125102996826, -0.03174067288637161, 0.37682676315307617, 0.34279894828796387, 1.014936089515686, 0.8949469923973083, 0.6084166169166565, 0.29124563932418823, -0.16080667078495026, 0.0672188550233841, -0.25510871410369873, 0.4165094494819641, -0.35930928587913513, -0.07229214906692505, -0.77171391248703, -0.3185445964336395, 0.45437872409820557, 0.6211849451065063, -0.3862937092781067, -0.18654803931713104, 0.2513493001461029, 0.37697333097457886, -0.9424418807029724, -0.1430712342262268, -0.6003598570823669, 0.07108833640813828, 0.04527248442173004, -0.23981590569019318, -0.6538065671920776, -0.6471344828605652, 0.06309971958398819, -0.5251259803771973, -0.11458277702331543, 0.43156296014785767, 0.5158069133758545, 0.3583791255950928, -0.6088922619819641, -0.09354674071073532, -0.5244140028953552, 0.6442819833755493, -0.8011191487312317, 0.42065495252609253, 0.41179436445236206, 0.369798481464386, -0.5272253155708313, -0.7065916061401367, -0.48078233003616333, 0.055131006985902786, -0.034726954996585846, -0.2856164276599884, -0.07971534878015518, 0.19622395932674408, 0.11566685140132904, -0.09675106406211853, -0.5116671323776245, 0.19897891581058502, -0.07863413542509079, -0.522234320640564, 0.7878263592720032, 0.23287002742290497, 0.531449556350708, -0.2970408499240875, -0.36514812707901, -0.4540030360221863, -0.6769232153892517, -0.09912404417991638, 0.23286499083042145, 0.36531099677085876, -0.07600608468055725, 0.38256922364234924, -0.34744101762771606, 0.6288993954658508, 0.11940254271030426, 0.01843814179301262, 0.30894964933395386, -0.3658851683139801, -0.2169535756111145, 0.6560803651809692, 1.03639554977417, 0.7414801716804504, 0.11749252676963806, -0.15441343188285828, -0.12056651711463928, -0.29504552483558655, 0.5257063508033752, -0.844648003578186, 0.023296833038330078, 0.41844263672828674, -0.2565191090106964, -0.791683554649353, -0.07214269042015076, -0.8977984189987183, -0.6591036915779114, 0.33336132764816284, 0.4798744320869446, -0.46648865938186646, -0.16277825832366943, 0.37589189410209656, 0.14190632104873657, 0.10026635974645615, -0.07617799937725067, -0.739495575428009, 0.08617259562015533, 0.7350773811340332, 0.669288694858551, -0.12812462449073792, -0.38919365406036377, -1.041174054145813, 0.29646795988082886, -0.7041932940483093, 0.5591228604316711, -0.29282426834106445, -0.4594302177429199, 0.3424435555934906, 0.3312232792377472, 0.0850742757320404, -0.2302924543619156, 0.960608720779419, -0.8490250706672668, 0.010939043946564198, -0.18799780309200287, -0.43093258142471313, -0.08691730350255966, 0.0806267261505127, -0.6475574374198914, 0.7053455710411072, -0.07757604867219925, -0.9652926325798035, 0.670304536819458, -0.8805676698684692, -0.812504768371582, -0.10663100332021713, 0.34955042600631714, -0.4072960913181305, -0.19903147220611572, 0.34764009714126587, 0.3999751806259155, 0.06481785327196121, 0.4038132429122925, -0.3764658570289612, -0.20658598840236664, 0.40149760246276855, -0.5356861352920532, 0.8475479483604431, 0.41554567217826843, -0.44318780303001404, 0.42940667271614075, -0.7701057195663452, 0.051795441657304764, 0.08672492951154709, -0.35400980710983276, -0.5956804752349854, 0.3627565801143646, 0.13795806467533112, 0.1524844616651535, 0.10717897117137909, -0.5912936925888062, -0.2536464333534241, -0.4921230375766754, 0.42828458547592163, 0.8022589683532715, 0.19606368243694305, 0.47777339816093445, -0.16312366724014282, 0.09286759793758392, 0.061123769730329514, 0.541870653629303, -0.024035783484578133, -0.005858270917087793, -0.6017876267433167, 0.21560436487197876, 0.4402256906032562, 0.7852497696876526, -0.5144190192222595, 0.4743964672088623, -0.36074164509773254, -0.18206262588500977, -0.3797082304954529, 0.008266311138868332, 0.5712403655052185, 0.7319679856300354, 0.39693644642829895, -0.17356714606285095, -0.36219677329063416, -0.8453742861747742, -0.5030470490455627, -0.33361977338790894, 0.10542665421962738, -0.028704309836030006, 0.2016538679599762, -0.2944800555706024, 0.6737505793571472, -0.24684089422225952, 0.056712839752435684, 0.0646645575761795, 0.14877939224243164, -0.35439103841781616, 0.9148608446121216, 0.6497973799705505, -0.8198227286338806, -0.22475938498973846, 0.11887788027524948, -0.7841696739196777, 0.03285861387848854, -0.061718326061964035, -0.4579814374446869, 0.3877970576286316, 0.7343602776527405, -0.29407256841659546, 0.22546619176864624, 0.37107428908348083, -0.8071072101593018, 0.0723673477768898, -0.12442798167467117, 0.4887354075908661, -1.2447412014007568, 0.09841818362474442, -0.4507623314857483, -0.5217888951301575, -0.743380069732666, 0.16924569010734558, 0.4210631847381592, -0.024437444284558296, -0.8998034596443176, 0.517239511013031, -0.1753343790769577, 0.1940467357635498, -0.23586690425872803, 0.25289642810821533, -0.02644118294119835, 0.06943924725055695, -0.19902291893959045, 0.8039538264274597, 0.377224326133728, -0.4886711835861206, 0.24177300930023193, 0.418833464384079, -0.5369307398796082, 0.3923617899417877, -0.7518129348754883, 0.35159191489219666, -0.036983150988817215, -0.08028919994831085, -0.6104060411453247, -0.6715026497840881, 0.29067984223365784, -0.2555404305458069, 0.32198289036750793, -0.148028165102005, -0.337114155292511, -0.10523371398448944, -0.16730986535549164, 0.7124695777893066, 0.45771798491477966, -0.44866588711738586, 0.34159913659095764, 0.5192739963531494, -0.4318658113479614, -1.033011555671692, -0.7212579250335693, 0.21065199375152588, -0.263587087392807, -0.6109560132026672, 0.24205665290355682, -0.1334645301103592, -0.3208487927913666, 0.11281148344278336, -0.04552062600851059, -0.1162959411740303, 0.4326571822166443, 0.29648342728614807, 0.14448724687099457, 0.06472212076187134, -0.10659884661436081, 0.5241872668266296, -0.16404877603054047, 0.05219091475009918, -0.08531364053487778, 0.3134881556034088, -0.047003574669361115, -0.4150286912918091, -0.4826644957065582, 0.6816733479499817, 0.7913500070571899, -0.2128668576478958, 0.7195208668708801, 0.34578877687454224, -0.6710335612297058, 0.041364867240190506, -0.35698023438453674, -0.08906558156013489, -0.5422438979148865, 0.40679341554641724, 0.07987310737371445, -0.8445518612861633, 0.30163776874542236, 0.2713623642921448, 0.5489577651023865, 0.35986313223838806, 0.2428445965051651, 0.03362110257148743, 1.34030282497406, 0.5896046161651611, -0.0503879189491272, 0.4190562963485718, 0.4449530243873596, 0.14532896876335144, -0.27931684255599976, -0.4108291566371918, -0.5315902829170227, -0.03914487361907959, -0.46741846203804016, -0.16137202084064484, 0.25297412276268005, 0.19854089617729187, -0.5005316734313965, 0.22657611966133118, -0.3087390959262848, 0.5577125549316406, 0.45756101608276367, 0.04168933629989624, 0.22346332669258118, -0.03287741169333458, -0.1394374966621399, 0.11513712257146835, -0.6970279216766357, -0.4438531994819641, 0.8021194338798523, 0.16190284490585327, 0.8451484441757202, 0.2183106541633606, 0.4082471430301666, 0.5682758688926697, 0.17357702553272247, -0.4865439236164093, 0.4778251349925995, -0.18808861076831818, -0.9261685609817505, -0.22832421958446503, -0.29968589544296265, -0.7821158170700073, -0.017149532213807106, -0.5699167847633362, -0.6485117673873901, 0.16485686600208282, 0.3240765333175659, -0.6038961410522461, 0.16362139582633972, -0.6276413798332214, 0.9746179580688477, -0.4579426944255829, -0.4448661804199219, -0.2969191074371338, -0.8377046585083008, 0.2483457624912262, -0.21866963803768158, 0.3896966576576233, -0.04787600412964821, 0.04943310469388962, 0.7016057968139648, -0.3149678409099579, 0.683245837688446, -0.12519831955432892, 0.13568150997161865, 0.3468334972858429, 0.42377156019210815, 0.6229111552238464, 0.1099102646112442, -0.33918851613998413, 0.046233657747507095, 0.26862528920173645, -0.42171207070350647, -0.3222464621067047, 0.7498018145561218, -0.4351889193058014, -0.5037119388580322, -0.5257542133331299, -0.6504873037338257, -0.32000717520713806, 0.5236532688140869, 0.21639813482761383, 0.5384553074836731, -0.3470204174518585, 0.46982240676879883, 0.5570936799049377, -0.4449237585067749, 0.8827406167984009, 0.271593302488327, 0.07341153919696808, -0.5951047539710999, 0.5445951223373413, -0.3140438199043274, 0.26746559143066406, 0.24895131587982178, 0.04964997619390488, -0.4667443633079529, -0.6808269619941711, -0.47576236724853516, -0.2481478899717331, -0.8832536935806274, -0.3233254551887512, -0.79961758852005, -0.20947802066802979, -0.43643200397491455, -0.2938917577266693, -0.4235978126525879, -0.3667052388191223, -0.03980124369263649, -0.3116614818572998, 0.43724068999290466, 0.40906524658203125, -0.27063000202178955, 0.2239847481250763, -1.0341960191726685, 0.11455664038658142, 0.29670408368110657, 0.5403211712837219, -0.38188573718070984, -0.15825548768043518, -0.20459343492984772, 0.03682919964194298, -0.08384938538074493, -0.798550546169281, 0.10414579510688782, 0.2627319097518921, 0.5175334811210632, 0.360808789730072, 0.6826398372650146, 0.48618221282958984, -0.6800706386566162, 0.8893458843231201, 0.1575407087802887, -1.0139317512512207, 0.5777736306190491, -0.30722835659980774, 0.10009714215993881, 0.6782315373420715, 0.2056446671485901, -0.5864025950431824, -0.17852714657783508, -0.20506833493709564, -0.9049407243728638, 0.5129500031471252, 0.2114865481853485, 0.30073487758636475, -0.30470913648605347, 0.3698582351207733, 0.12584757804870605, 0.08819832652807236, -0.406894713640213, 0.07585318386554718, -0.289295494556427, -0.40667980909347534, 0.14258743822574615, -0.6153336763381958, -0.38659706711769104, 0.2281591147184372, 0.6328054070472717, -0.23057228326797485, 0.17632386088371277, 0.10150936990976334, -0.12480209022760391, -0.20502129197120667, 0.5105385780334473, 0.5266915559768677, 0.4883268177509308, -0.15163807570934296, 0.13873368501663208, 0.37435129284858704, -0.4886764883995056, 0.1729813814163208, 0.30441710352897644, -0.1857239007949829, -0.19421298801898956, 0.33914539217948914, 0.6304731369018555, 0.16028165817260742, -0.7374467849731445, 0.5140151381492615, -0.39626190066337585, -0.06584165245294571, -0.0022788401693105698, 0.48022153973579407, -0.21259592473506927, 0.2282637357711792, 0.29518941044807434, 0.10164384543895721, 0.14657986164093018, -0.1557588428258896, 0.4207848906517029, 0.29229605197906494, -0.5564103126525879, -0.11435206234455109, 1.0786778926849365, 0.4772253632545471, -0.43017661571502686, 0.40397486090660095, 0.08285632729530334, -0.195662260055542, 0.4247468411922455, 0.4963720738887787, 1.180508017539978, -0.5011220574378967, -0.05825234577059746, 0.3883035480976105, 0.39166009426116943, -0.16311115026474, 0.3541831970214844, 0.34755802154541016, -0.5954596400260925, -0.3914239704608917, -0.6260068416595459, -0.2529038190841675, 0.0527932271361351, -0.6513199806213379, 0.05631130188703537, -0.46646416187286377, -0.24139833450317383, -0.23958420753479004, -0.3936142921447754, -0.2986840605735779, 0.38703233003616333, -0.32847869396209717, 0.9756297469139099, -0.5857449173927307, 0.49007847905158997, 0.7232341170310974, 0.06022864207625389, -0.7325119972229004, 0.14632876217365265, 0.15162897109985352, -0.21225793659687042, 0.16243158280849457, -0.03654728829860687, -0.29022225737571716, -0.25172826647758484, -0.4601535201072693, -0.7483958601951599, 0.982151448726654, 0.5387393236160278, -0.6226568222045898, 0.06508941203355789, 0.14871689677238464, 0.2139173448085785, -0.2474183887243271, -0.35976511240005493, 0.3548091650009155, 0.15440921485424042, -0.25659388303756714, -0.8988672494888306, 0.3684920370578766, -0.2726781368255615, -0.06224251165986061, 0.23535506427288055, -0.4074084758758545, 0.382210373878479, -0.20040284097194672, -0.32706978917121887, 0.13898813724517822, 0.6987634301185608, 0.007100499700754881, 0.43700191378593445, 0.793900728225708, 0.11339682340621948, 0.6807472705841064, -0.11549706757068634, 0.9782577753067017, -0.6492829322814941, 0.1235443577170372, 1.0485230684280396, -0.07669846713542938, 0.8770980834960938, 0.3920155167579651, 0.394010990858078, 0.26144081354141235, 0.6978378295898438, 0.5329235792160034, 0.85358726978302, -0.43880510330200195, -0.343203067779541, -0.40999114513397217, -0.20375072956085205, -0.502992570400238, 0.41757309436798096, 0.20554493367671967, -0.3187545835971832, 0.022353971377015114, 0.08306001871824265, 0.2961925268173218, -0.17802774906158447, -0.05810334160923958, 0.7554351687431335, -0.12895654141902924, -0.8651644587516785, 0.5269889831542969, 0.034688860177993774, 0.3279978930950165, -0.3979143500328064, 0.0027897206600755453, -0.2861742079257965, 0.264786958694458, -0.07203836739063263, -0.8984109163284302, 0.49848589301109314, 0.16033482551574707, 0.05781398341059685, 0.021133095026016235, 0.8516421914100647, -0.2671150863170624, -0.3491205871105194, 0.3434457778930664, 0.05369814485311508, -0.23412096500396729, 0.36902835965156555, -0.6098530888557434, 0.10235694795846939, -0.19829152524471283, -0.16812297701835632, 0.22964078187942505, 0.18605458736419678, -0.2938145399093628, 0.6841868758201599, 0.6124660968780518, -0.3387652039527893, 0.21123754978179932, 0.09725109487771988, 0.617811918258667, -0.7007070183753967, -0.6564869284629822, -0.6670204997062683, 0.7463030219078064, -0.19133758544921875, -0.16210457682609558, 0.37428420782089233, 0.17779284715652466, 0.7392778396606445, 0.09207438677549362, 0.8526607155799866, -0.22067871689796448, 0.12019772082567215, -0.6186956167221069, 1.1458635330200195, -0.7169846296310425, 0.1689613163471222, -0.49066704511642456, -0.6981058120727539, -0.6502207517623901, 0.3572084903717041, 0.0003144860966131091, -0.12921631336212158, 0.5245884656906128, 0.9121069312095642, -0.022130822762846947, 0.1048894077539444, 0.19700831174850464, 0.1066802516579628, 0.5070596933364868, 0.4567095935344696, 0.7456662654876709, -0.5250033140182495, 0.7977203726768494, -0.3814225196838379, -0.18430311977863312, -0.26202303171157837, -1.4300318956375122, -0.8166565299034119, -0.467180073261261, -0.44158753752708435, -0.5218023657798767, 0.5251584649085999, 1.0264759063720703, 0.8080013990402222, -1.0594050884246826, 0.09137043356895447, -0.011507549323141575, 0.047205664217472076, -0.31930699944496155, -0.13476163148880005, 0.3787703514099121, -0.26142728328704834, -0.7286674976348877, 0.713137686252594, 0.20781829953193665, 0.14482517540454865, 0.2566733956336975, -0.043098125606775284, -0.0028690032195299864, 0.10082439333200455, 0.5054601430892944, 0.29662996530532837, -0.4424020051956177, -0.8275047540664673, 0.09348755329847336, -0.26939308643341064, -0.2625592052936554, 0.6208925247192383, -0.17713108658790588, 0.5710198879241943, 0.6305192112922668, 0.9492948651313782, -0.15255507826805115, 0.08225398510694504, 0.6974038481712341, -0.6356066465377808, 0.25267869234085083, 0.050829701125621796, 0.45493221282958984, 0.49695953726768494, -0.6081681251525879, 0.34438076615333557, -0.17580671608448029, -0.6460174918174744, -0.8907638192176819, 0.20314788818359375, -0.9505879282951355, -0.27908679842948914, 1.1655491590499878, -0.04804876074194908, -0.25958508253097534, -0.29241034388542175, -0.10642100125551224, 0.39137721061706543, -0.4700600504875183, 0.8268908262252808, 0.4526316523551941, 0.051658179610967636, -0.022216463461518288, -0.43521589040756226, 0.6738876700401306, 0.5102623105049133, -0.8052061200141907, 0.20714214444160461, 0.6927034258842468, 0.5016120076179504, 0.07372461259365082, 0.2282259464263916, -0.38310784101486206, 0.4979323148727417, -0.027473798021674156, -0.2526310980319977, -0.08079063892364502, -0.35582980513572693, -0.2752993106842041, 0.3806925415992737, 0.2067311406135559, -0.4151971638202667 ]
http://arxiv.org/abs/2406.12269v1
http://arxiv.org/pdf/2406.12269v1
Unveiling Implicit Table Knowledge with Question-Then-Pinpoint Reasoner for Insightful Table Summarization
2024-06-18T04:55:09
2024-06-18T04:55:09
Kwangwook Seo, Jinyoung Yeo, Dongha Lee
cs.CL
cs.CL
Implicit knowledge hidden within the explicit table cells, such as data insights, is the key to generating a high-quality table summary. However, unveiling such implicit knowledge is a non-trivial task. Due to the complex nature of structured tables, it is challenging even for large language models (LLMs) to mine the implicit knowledge in an insightful and faithful manner. To address this challenge, we propose a novel table reasoning framework Question-then-Pinpoint. Our work focuses on building a plug-and-play table reasoner that can self-question the insightful knowledge and answer it by faithfully pinpointing evidence on the table to provide explainable guidance for the summarizer. To train a reliable reasoner, we collect table knowledge by guiding a teacher LLM to follow the coarse-to-fine reasoning paths and refine it through two quality enhancement strategies to selectively distill the high-quality knowledge to the reasoner. Extensive experiments on two table summarization datasets, including our newly proposed InsTaSumm, validate the general effectiveness of our framework.
[ -0.385351300239563, -0.5434359908103943, 0.938734233379364, -0.08087805658578873, -0.37469741702079773, -0.07056595385074615, 0.1445169597864151, -0.25314798951148987, -0.12720242142677307, 0.43260347843170166, -0.5349026322364807, -0.5562211871147156, -0.4378865361213684, -0.2050771862268448, -0.826286792755127, 1.235342264175415, -0.16813509166240692, 0.018296953290700912, -0.566318929195404, -0.038716282695531845, -0.51777184009552, -0.22828860580921173, -0.28533267974853516, -0.515731930732727, 0.382062703371048, 1.1911617517471313, 0.26977235078811646, 0.6958485245704651, 0.2727661728858948, 0.15499435365200043, 0.03385677933692932, 0.35632607340812683, -0.3233698606491089, 0.2943311929702759, -0.2899703085422516, -0.7446441650390625, -0.3922181725502014, -0.2692539691925049, 0.30983057618141174, 0.7625581622123718, 0.09304939210414886, 0.33552151918411255, 0.2419007271528244, 0.7958775162696838, -0.4220525622367859, 0.5952146649360657, -0.7843927145004272, -0.07923165708780289, -0.18669044971466064, -0.003670195583254099, -0.3341703414916992, -0.683908998966217, 0.11980348080396652, -0.446950227022171, 0.3079133629798889, 0.005717315711081028, 0.6309735178947449, 0.30299270153045654, -0.5548951029777527, -0.1896296739578247, -0.8302775621414185, 0.265849769115448, -0.5660718679428101, 0.37538692355155945, 0.12865346670150757, 0.5528284311294556, -0.24690012633800507, -0.9074252843856812, -0.7355945706367493, -0.1828935444355011, -0.3366044759750366, 0.03647306561470032, 0.12138209491968155, -0.17033272981643677, 0.2812805473804474, 0.2981175184249878, -0.716595470905304, -0.3552446663379669, -0.12590034306049347, 0.12416687607765198, 0.5156986117362976, 0.020660260692238808, 0.21464380621910095, 0.14357934892177582, -0.31908804178237915, 0.1513490229845047, -0.8051955699920654, 0.2783178687095642, -0.1364528238773346, -0.07111642509698868, 0.2074963003396988, 0.5794170498847961, -0.3687516152858734, 0.6291215419769287, 0.1165371909737587, -0.018287591636180878, -0.4529566168785095, -0.17283453047275543, 0.27198347449302673, 0.43908098340034485, 0.3440842926502228, 0.4146788716316223, 0.3354487121105194, -0.3591906726360321, -0.15401379764080048, 0.25936686992645264, -0.1205287054181099, -0.8316131830215454, -0.5388801097869873, 0.33557018637657166, -0.0862642377614975, -0.08386199176311493, 0.0921357050538063, -0.6884381175041199, -0.35371753573417664, -0.28616249561309814, 0.47196197509765625, -0.29344484210014343, -0.24216464161872864, -0.15072165429592133, -0.2480776160955429, 0.3612118363380432, 0.4701789319515228, -0.9495181441307068, 0.2821345031261444, 0.7715523838996887, 0.7024164795875549, -0.043103672564029694, -0.1252046376466751, -0.4898340106010437, 0.6314399242401123, -0.5108140707015991, 1.1991724967956543, -0.18500633537769318, -0.19684180617332458, -0.08602605760097504, -0.18922987580299377, 0.2518361210823059, -0.4036675989627838, 0.562113344669342, -0.3942657709121704, 0.37768861651420593, -0.7981091737747192, -0.5809707641601562, -0.17222656309604645, 0.4698232114315033, -0.3427383303642273, 0.9341163635253906, -0.07743249088525772, -0.5883178114891052, 0.8952977657318115, -0.6428031325340271, -0.33598682284355164, 0.1696942299604416, -0.44785764813423157, -0.3913203179836273, 0.18390588462352753, 0.4670567214488983, 0.43909385800361633, -0.2557937502861023, 0.5176083445549011, -0.2043735533952713, -0.43891969323158264, 0.2373977154493332, 0.01198231615126133, 0.29521510004997253, -0.13241560757160187, -0.4112752377986908, 0.3354579210281372, -0.7245035767555237, 0.12916670739650726, 0.25023773312568665, -0.23206382989883423, -0.15904287993907928, 0.26936399936676025, -0.41317522525787354, 0.3641863167285919, 0.03734361007809639, -0.40880003571510315, 0.02358228527009487, -0.18277637660503387, 0.31459420919418335, 0.5386313199996948, 0.23137196898460388, 0.42167848348617554, -0.4645753800868988, 0.20069383084774017, -0.002210413571447134, 0.08952250331640244, -0.20992936193943024, -0.30944639444351196, -1.0161012411117554, 0.07839212566614151, 0.10522358864545822, 0.3124799132347107, -0.7349313497543335, 0.2189297080039978, -0.3139640688896179, -0.5564189553260803, -0.2941475212574005, -0.0012403151486068964, 0.41838207840919495, 1.103812336921692, 0.7135983109474182, 0.36577174067497253, -0.31941062211990356, -0.8027573227882385, -0.5283662676811218, -0.2545248568058014, -0.0751379206776619, 0.09849726408720016, 0.6155321598052979, 0.2844785451889038, 1.2890876531600952, -0.6724597811698914, -0.31363749504089355, -0.693539023399353, 0.1645170897245407, 0.37317177653312683, 0.658653974533081, 0.25482550263404846, -0.5333459973335266, -0.4144614636898041, -0.29575276374816895, -0.763256311416626, -0.22251175343990326, -0.02131154201924801, -0.36605504155158997, -0.10826888680458069, 0.7308582663536072, -0.6793537735939026, 0.35346290469169617, -0.14580971002578735, -0.4918149411678314, 0.6313183903694153, -0.1680464893579483, -0.015271750278770924, -0.8217625021934509, 0.10641903430223465, -0.29409414529800415, -0.12966103851795197, -0.5525652170181274, -0.14281035959720612, 0.15619948506355286, -0.11437910050153732, -0.13417160511016846, 0.34438782930374146, -0.5383248329162598, 0.02909155748784542, -0.25472715497016907, 0.1759827584028244, 0.2961052358150482, 0.5535786747932434, -0.00017895092605613172, 0.5939233899116516, 0.18511049449443817, -0.7230124473571777, 0.06038830056786537, 0.5441592335700989, -0.35917091369628906, 0.6917271614074707, -1.0362842082977295, 0.07634560018777847, -0.33883556723594666, 0.16970905661582947, -1.3342996835708618, -0.2185046225786209, 0.13393762707710266, -0.4235908091068268, 0.41860470175743103, -0.481812983751297, -0.49875637888908386, -0.2557571530342102, -0.10714200884103775, 0.23948848247528076, 0.2915361225605011, -0.8520814180374146, 0.5940760970115662, 0.39406412839889526, -0.12683410942554474, -0.6098878383636475, -0.5862447023391724, -0.08171442896127701, -0.23499828577041626, -0.7116563320159912, 0.4775673449039459, -0.17016282677650452, -0.42293378710746765, -0.08632377535104752, -0.6935254335403442, 0.06275968253612518, -0.032443687319755554, 0.23528099060058594, 0.12372227758169174, -0.09350091964006424, 0.2796509265899658, 0.49517256021499634, -0.5684267282485962, 0.6392859220504761, -0.46970659494400024, 0.42572903633117676, -0.37397074699401855, -0.3858165144920349, -0.03971831873059273, 0.4811722934246063, 0.4182412028312683, -0.3507702350616455, 0.5391103625297546, 0.31312084197998047, -0.41749775409698486, -0.36895376443862915, -0.7019282579421997, -0.5315194725990295, -0.4138564467430115, 0.32802891731262207, -0.43818530440330505, -0.7536424994468689, 0.6335999369621277, -0.2752666175365448, 0.2628806531429291, 0.4288680851459503, 0.14819055795669556, -0.3782603144645691, 1.2179185152053833, 0.3334108591079712, 0.2662465572357178, 0.029098156839609146, -0.2721925973892212, 0.10827883332967758, -0.4763432443141937, -0.770806074142456, -0.6860939264297485, -0.19489720463752747, 0.0428721159696579, -0.025888098403811455, 0.5250136852264404, 0.17087097465991974, -0.16941574215888977, -0.05537622421979904, -0.36378294229507446, 0.8282843828201294, 0.6123226284980774, 0.15976084768772125, 0.46206575632095337, -0.3220553994178772, -0.1355297714471817, -0.028455831110477448, -0.8012834787368774, -0.4818791151046753, 0.5699745416641235, 0.15457934141159058, 0.5693328976631165, 0.13927991688251495, 0.5703119039535522, -0.003298369236290455, 0.27912887930870056, -0.46071648597717285, 0.694280207157135, 0.18192622065544128, -0.7371910810470581, -0.3331182599067688, -0.36199918389320374, -0.4121384918689728, 0.4343098998069763, -0.2584157884120941, -0.41254952549934387, 0.28045332431793213, 0.46424105763435364, -0.07387615740299225, 0.19366128742694855, -0.7124896049499512, 1.221103549003601, -0.24105699360370636, -0.5446550250053406, 0.16009122133255005, -0.6693844199180603, 0.5456308722496033, 0.19471053779125214, 0.11551371216773987, -0.3115418255329132, 0.06186893209815025, 0.6598840951919556, -0.9562680125236511, 0.4065597653388977, -0.4047428369522095, -0.07836706191301346, 0.23534677922725677, 0.3905506432056427, 0.5745145678520203, 0.3718942403793335, 0.20469732582569122, -0.036063022911548615, -0.11696972697973251, -0.14308364689350128, -0.8890129923820496, 0.5567418932914734, -0.28497540950775146, -0.6798266172409058, -0.3643304109573364, -0.5757599472999573, -0.4004775285720825, 0.2689799964427948, 0.3756519556045532, 0.39312925934791565, 0.07538209110498428, -0.0244483333081007, 0.812861979007721, 0.40895676612854004, 0.4032760560512543, 0.7214138507843018, -0.07549387961626053, -0.1390773057937622, 0.8734316229820251, 0.279626727104187, -0.08881926536560059, 0.5472751259803772, 0.41559693217277527, -0.693245530128479, -0.7334174513816833, -0.5229812860488892, 0.15184427797794342, -0.7208592891693115, -0.3130708634853363, -0.621701180934906, -0.04118850454688072, -0.04495894908905029, -0.16373132169246674, -0.11587882786989212, -0.6816370487213135, -0.09529878199100494, -0.39294660091400146, 0.5012374520301819, 0.5084109902381897, 0.05072054639458656, 0.39903706312179565, -0.644717812538147, 0.26529034972190857, 0.7098448276519775, 0.4694080352783203, -0.18938210606575012, -0.5714057087898254, -0.11680164188146591, -0.1968812197446823, 0.09348085522651672, -1.2368857860565186, 0.30271637439727783, 0.20416846871376038, 0.7034850716590881, 0.43924495577812195, 0.1916225552558899, 0.7378167510032654, -0.40638598799705505, 0.40461912751197815, -0.011540730483829975, -1.000159740447998, 0.9138171672821045, -0.24421881139278412, 0.3848499357700348, 0.8800722360610962, 0.3634733259677887, -0.17133420705795288, -0.43701058626174927, -0.3769727051258087, -1.1335968971252441, 0.6688216924667358, 0.04337609186768532, -0.3968118727207184, 0.20828849077224731, 0.6760841012001038, 0.43800655007362366, 0.21210071444511414, -0.9294515252113342, -0.2910837233066559, -0.3101206123828888, -0.16459546983242035, 0.11320618540048599, -0.6725350022315979, -0.14414890110492706, -0.32275107502937317, 0.6742908954620361, -0.22908124327659607, -0.003404296236112714, 0.14099757373332977, -0.5146471858024597, -0.03398614749312401, 0.5405036211013794, 0.3530643582344055, 1.0940972566604614, -0.384461909532547, 0.5282756686210632, 0.3207109868526459, -0.30265897512435913, 0.14156055450439453, 0.23195287585258484, -0.48006415367126465, 0.09349377453327179, 0.32240965962409973, 0.22422456741333008, 0.19549678266048431, -0.39770686626434326, 0.532286524772644, -0.30990180373191833, -0.2806586027145386, -0.38546398282051086, 0.27347081899642944, 0.024700619280338287, 0.2808913588523865, 0.38113096356391907, -0.262717604637146, 0.2802453935146332, -0.21276293694972992, 0.3120597302913666, 0.3965388238430023, -0.5668909549713135, -0.09353487938642502, 0.8427773118019104, -0.09029422700405121, 0.10842980444431305, 0.5319995284080505, -0.1650194227695465, -0.5303955078125, 0.3634456396102905, 0.6089652180671692, 0.5525760054588318, -0.24413339793682098, 0.2061154544353485, 0.3568221926689148, 0.4485110342502594, 0.04666430875658989, 0.7060169577598572, -0.43591251969337463, -0.4965984523296356, -0.3645554184913635, -0.008422454819083214, -0.4040466248989105, -0.002442695666104555, -0.6136394739151001, 0.09297337383031845, -0.42141425609588623, 0.2302744835615158, -0.2542644441127777, -0.24107182025909424, -0.2705972492694855, 0.13038578629493713, -0.19142650067806244, 0.7764491438865662, -0.8364660739898682, 0.4946545362472534, 0.3905138671398163, -0.5378223061561584, -0.9052415490150452, -0.0991552546620369, -0.16178949177265167, -0.6812329292297363, 0.34778478741645813, 0.1360052078962326, -0.08124147355556488, 0.08247122913599014, -0.6726459860801697, -0.8193697929382324, 1.1414378881454468, 0.5773629546165466, -0.5912944078445435, 0.04790627211332321, 0.3315694034099579, 0.3551972806453705, -0.07933980971574783, 0.5441824197769165, 0.9360882043838501, 0.5110644698143005, 0.3967811167240143, -0.16093891859054565, 0.36479490995407104, -0.4067939519882202, -0.39227885007858276, 0.4014816880226135, -0.20427197217941284, 0.5754950046539307, -0.562174379825592, -0.10178942233324051, -0.5546243190765381, 1.0130815505981445, 0.5021962523460388, 0.525474488735199, 0.6065974235534668, 0.44956910610198975, 0.6234050989151001, -0.5717441439628601, 0.574557900428772, -0.25810226798057556, -0.16388162970542908, 1.469374656677246, -0.12495184689760208, 0.530991792678833, 0.46807223558425903, 0.0705253854393959, 0.7252537608146667, 0.4405728876590729, 0.09740588068962097, 0.4697694182395935, 0.17928273975849152, -0.13385041058063507, -0.3865222930908203, -0.22228477895259857, -0.6460219621658325, 0.44539061188697815, 0.48141857981681824, -0.03311222046613693, -0.4532393217086792, -0.45468929409980774, 0.12872105836868286, 0.0993596762418747, -0.49389341473579407, 0.8938154578208923, -0.01006101444363594, -0.6040476560592651, 0.20117439329624176, -0.21202726662158966, -0.0198516808450222, -0.5344601273536682, -0.4176517724990845, -0.5941271185874939, 0.1221010833978653, -0.3837854862213135, -0.8505164980888367, 0.285400390625, -0.02121569588780403, -0.22538433969020844, -0.1556679904460907, 0.7152886986732483, -0.7264296412467957, -0.21488313376903534, -0.1290988326072693, 0.6953923106193542, 0.08177346736192703, -0.42918723821640015, -0.5084246397018433, -0.4186643958091736, -0.24941684305667877, 0.14371666312217712, 0.03203628957271576, 0.58271324634552, 0.021070048213005066, 0.7145758271217346, 0.818218469619751, -0.17510700225830078, -0.2480228841304779, 0.2397204488515854, 1.0486619472503662, -0.549170970916748, -0.8691927790641785, -0.9635499119758606, 0.8283727169036865, -0.1525183916091919, -0.1992127001285553, 0.8595501780509949, 0.71024090051651, 0.5496119856834412, -0.017086025327444077, 0.41971704363822937, 0.27305033802986145, 0.703460693359375, -0.5261414647102356, 0.9058593511581421, -0.5095550417900085, 0.37087735533714294, -0.40473228693008423, -0.9355576038360596, -0.3280476927757263, 0.5058180689811707, -0.32712826132774353, 0.06325799971818924, 0.7527089715003967, 0.5797461271286011, 0.17540448904037476, 0.2025901973247528, -0.013968993909657001, 0.3896816372871399, 0.5769943594932556, 0.5985301733016968, 1.205541729927063, -0.13236822187900543, 0.9916101098060608, -0.33482080698013306, -0.41276147961616516, -0.11278174072504044, -0.9672800302505493, -0.8962732553482056, -0.6485022306442261, -0.3028414845466614, -0.2830522954463959, -0.03455004096031189, 0.7385470867156982, 0.6701949834823608, -0.8290949463844299, -0.08950179815292358, -0.5853925347328186, 0.4750358462333679, -0.18447993695735931, -0.24598649144172668, 0.7512521147727966, -0.1496831774711609, -0.09162504971027374, 0.35722219944000244, 0.24406670033931732, 0.11095240712165833, -0.00839835312217474, 0.16024665534496307, -0.018521111458539963, -0.17506419122219086, 0.537527322769165, 0.3593980073928833, -0.31969958543777466, -0.04730171337723732, -0.028583526611328125, 0.2577707767486572, -0.08200179785490036, 1.011591911315918, -0.6927750110626221, 0.34710103273391724, 0.5222795009613037, 0.2252471148967743, 0.7891054749488831, 0.01593584008514881, 0.5542259812355042, -0.8094717264175415, -0.11123011261224747, 0.33511996269226074, 0.612843930721283, 0.005829681176692247, -0.42783188819885254, 0.4094754457473755, 0.040264710783958435, -0.5763934850692749, -0.7501113414764404, 0.13741281628608704, -0.9497779607772827, -0.16813746094703674, 0.643430769443512, -0.16214488446712494, -0.19732339680194855, -0.4822807013988495, -0.23154810070991516, 0.29444462060928345, -0.38069266080856323, 1.1046863794326782, 0.20867638289928436, -0.30714789032936096, -0.41292551159858704, -0.0008459716336801648, 0.8359721899032593, 0.38234075903892517, -1.2605611085891724, 0.00729129184037447, 0.531235933303833, 0.05943189188838005, -0.13100755214691162, 0.4061618149280548, -0.2657032310962677, 0.42667555809020996, -0.10097958892583847, 0.014680405147373676, -0.5541971325874329, -0.7953813076019287, 0.004465428180992603, 0.5072715282440186, 0.13241946697235107, -0.04556955769658089 ]
http://arxiv.org/abs/2406.12266v2
http://arxiv.org/pdf/2406.12266v2
Towards a Client-Centered Assessment of LLM Therapists by Client Simulation
2024-06-18T04:46:55
2024-06-20T22:06:47
Jiashuo Wang, Yang Xiao, Yanran Li, Changhe Song, Chunpu Xu, Chenhao Tan, Wenjie Li
cs.CL
cs.CL
Although there is a growing belief that LLMs can be used as therapists, exploring LLMs' capabilities and inefficacy, particularly from the client's perspective, is limited. This work focuses on a client-centered assessment of LLM therapists with the involvement of simulated clients, a standard approach in clinical medical education. However, there are two challenges when applying the approach to assess LLM therapists at scale. Ethically, asking humans to frequently mimic clients and exposing them to potentially harmful LLM outputs can be risky and unsafe. Technically, it can be difficult to consistently compare the performances of different LLM therapists interacting with the same client. To this end, we adopt LLMs to simulate clients and propose ClientCAST, a client-centered approach to assessing LLM therapists by client simulation. Specifically, the simulated client is utilized to interact with LLM therapists and complete questionnaires related to the interaction. Based on the questionnaire results, we assess LLM therapists from three client-centered aspects: session outcome, therapeutic alliance, and self-reported feelings. We conduct experiments to examine the reliability of ClientCAST and use it to evaluate LLMs therapists implemented by Claude-3, GPT-3.5, LLaMA3-70B, and Mixtral 8*7B. Codes are released at https://github.com/wangjs9/ClientCAST.
[ -0.42061710357666016, -0.5004406571388245, 0.5322278738021851, 0.3819811940193176, -0.19116155803203583, 0.3776296377182007, -0.17865386605262756, -0.5241722464561462, 0.3375876545906067, 0.2491094022989273, -0.49121642112731934, -0.28563013672828674, -0.5147559642791748, 0.09146988391876221, 0.06604842841625214, 0.5703175067901611, -0.12088805437088013, 0.8585606813430786, -0.40471452474594116, -0.20881901681423187, -0.5518065094947815, -0.5086272358894348, -0.651015043258667, -0.6608533263206482, 0.5061684846878052, 0.31206047534942627, 0.2617291808128357, 0.13641873002052307, 0.36054959893226624, 0.20923399925231934, 0.1250646561384201, -0.05170853063464165, -0.6107995510101318, -0.03798554465174675, -0.025794701650738716, -0.25631117820739746, -0.9504554867744446, 0.5355595350265503, 0.5915260910987854, 1.0396243333816528, -0.5147851705551147, 0.3866722881793976, 0.043746404349803925, 0.2625802755355835, -0.3808668553829193, -0.36097460985183716, -0.49630945920944214, 0.304612934589386, 0.06914091110229492, -0.27021706104278564, -0.468595415353775, -0.5411480665206909, 0.30413806438446045, -0.11496803164482117, 0.2844955027103424, 0.05320805683732033, 0.18018917739391327, 0.01829344592988491, -0.6105403900146484, 0.021504387259483337, -0.6470478177070618, 0.5644954442977905, -0.5516158938407898, 0.3673851788043976, 0.0489574559032917, 0.5763079524040222, -0.22824695706367493, -0.5985811352729797, -0.21243448555469513, -0.3735853433609009, 0.2625065743923187, 0.5031760931015015, 0.2362527847290039, 0.20397773385047913, 0.4751858115196228, 0.08554676920175552, -0.5170541405677795, 0.45120155811309814, -0.10657539963722229, -0.15815310180187225, 0.6003297567367554, 0.39234083890914917, 0.10450102388858795, 0.2568461000919342, -0.66371750831604, 0.24831876158714294, -0.7840709686279297, 0.16940389573574066, 0.2517302632331848, -0.05231147259473801, 0.18274112045764923, 0.5637139081954956, 0.3442479074001312, 0.3088165521621704, 0.061608631163835526, -0.49660372734069824, -0.09656782448291779, 0.29694947600364685, -0.39721184968948364, 0.47565391659736633, 0.5602397322654724, 0.9335957169532776, -0.07189901173114777, -0.14111782610416412, 0.0803011953830719, -0.0011742380447685719, 0.6869118809700012, -0.9659397602081299, 0.18095681071281433, 0.557164192199707, -0.7052299380302429, -0.34420904517173767, -0.19087955355644226, -0.5921316146850586, -0.4580313563346863, -0.30095162987709045, 0.2913825511932373, -0.23670640587806702, -0.4843725562095642, 0.1815529763698578, 0.05284427851438522, 0.3577447533607483, 0.7226812839508057, -0.4187098443508148, 0.7689248919487, 0.5596292018890381, 0.40898099541664124, -0.3173069655895233, -0.2784644365310669, -0.40253716707229614, 0.22677956521511078, 0.026793215423822403, 0.5877857804298401, -0.04676922783255577, -0.8816791772842407, 0.047813545912504196, 0.06567617505788803, -0.06557872146368027, -0.5339187979698181, 0.26637977361679077, -0.4221418797969818, 0.16762249171733856, -0.45794808864593506, -0.9657721519470215, 0.10624974220991135, 0.7236947417259216, -0.21695245802402496, 0.5170692205429077, 0.3195827603340149, -0.6853635907173157, 0.43020838499069214, -0.629292368888855, 0.022660085931420326, 0.3758525848388672, -0.21630574762821198, -0.24840907752513885, 0.11778486520051956, -0.22495047748088837, 0.26524245738983154, -0.17734234035015106, 0.06562932580709457, -0.7801390290260315, -0.7046312093734741, 0.7994415760040283, -0.39409419894218445, 0.6596209406852722, 0.0905744656920433, -0.024034535512328148, -0.004503427539020777, -0.5142244100570679, 0.21898876130580902, -0.04032643139362335, -0.15599048137664795, 0.0989476814866066, -0.22722069919109344, 0.2596786916255951, -0.03474003076553345, 0.16883708536624908, -0.8198836445808411, 0.42497578263282776, -0.16165392100811005, -0.07897468656301498, 0.6143189668655396, 0.22297675907611847, 0.1509779691696167, -0.6061650514602661, 0.9473567605018616, -0.27476930618286133, 0.6537613272666931, 0.3753548562526703, -0.29169806838035583, -0.3322368562221527, -0.47405242919921875, 0.05153244733810425, 0.2028215229511261, -0.38720259070396423, 0.05083590745925903, -0.0035641256254166365, -0.7803255915641785, -0.4419584572315216, 0.09660354256629944, 0.433018296957016, 0.5826675891876221, 0.08236727118492126, -0.8403631448745728, -0.34924212098121643, -0.6049987077713013, -0.33264434337615967, -0.1458977609872818, 0.04679093882441521, 0.25049322843551636, 0.19154976308345795, -0.24793894588947296, 0.7692420482635498, -0.1708189994096756, -0.3279613256454468, -0.3040126860141754, -0.24614381790161133, 0.1437278687953949, 0.543052077293396, 0.6140799522399902, -0.36561456322669983, -0.5983243584632874, -0.110309898853302, -0.835623562335968, 0.0024117473512887955, -0.04780342057347298, 0.1844126135110855, -0.2895589768886566, 0.22555996477603912, -0.254848837852478, 0.47468581795692444, 0.3124191164970398, -0.23117998242378235, 0.7132553458213806, -0.5159942507743835, 0.10825599730014801, -0.629517138004303, 0.1960274577140808, -0.21317555010318756, -0.3820003867149353, -0.6142189502716064, -0.27226999402046204, -0.2429080605506897, 0.0013191459001973271, -0.7611693143844604, 0.5383748412132263, -0.37180212140083313, -0.4630867540836334, -0.3373361825942993, 0.18443019688129425, -0.057226330041885376, 0.2804494798183441, -0.29711416363716125, 0.6028874516487122, 0.43528294563293457, -0.2384527325630188, 0.3943360149860382, 0.001248643733561039, -0.07147086411714554, 1.0215970277786255, -0.5655827522277832, 0.4588370621204376, 0.11263684183359146, 0.3130165934562683, -0.5331703424453735, -0.08206672966480255, 0.3108660876750946, -0.22853776812553406, 0.4023815989494324, -0.33461660146713257, -0.331035852432251, -0.27134284377098083, -0.43359434604644775, 0.6459116339683533, 0.3939570486545563, -0.1763148307800293, 0.5149465203285217, 0.2311413288116455, 0.0733085572719574, -0.5697038173675537, -0.29406723380088806, 0.05536523088812828, -0.5276533961296082, -0.4454440474510193, 0.06516343355178833, -0.36574360728263855, -0.19396165013313293, -0.2529942989349365, 0.015597028657793999, 0.1703060418367386, 0.36346113681793213, 0.4970243275165558, 0.3842749297618866, 0.17140856385231018, -0.23014934360980988, 0.05968964099884033, -0.1116987094283104, 0.3425002098083496, -0.16635394096374512, 0.4142453670501709, -0.463962584733963, -1.067153811454773, -0.5562160611152649, 0.2537987530231476, 0.44081032276153564, 0.16535472869873047, 0.4808495342731476, 0.7302036881446838, -0.27282464504241943, 0.06491933763027191, -1.0085822343826294, -0.14537003636360168, -0.38231533765792847, 0.09790967404842377, -0.24085932970046997, -0.9775053262710571, 0.6967136859893799, -0.39664557576179504, -0.03768039867281914, -0.1251244693994522, 0.9720883965492249, -0.36706629395484924, 0.9421106576919556, 0.34011125564575195, 0.22453467547893524, 0.13383641839027405, -0.4782675802707672, 0.045362383127212524, -1.0676345825195312, -0.33294034004211426, -0.038730770349502563, -0.4151250422000885, -0.4313230812549591, -0.469207763671875, 0.6542961001396179, 0.03386419638991356, -0.25914493203163147, -0.06160449981689453, -0.4162101447582245, 0.20795664191246033, 0.267977237701416, 0.26613667607307434, 0.3811541497707367, -0.2552902102470398, -0.4602762460708618, -0.271841824054718, -0.4916989207267761, -0.7001308798789978, 1.223283052444458, 0.8025139570236206, 0.47395774722099304, 0.12611347436904907, 0.8280021548271179, 0.05027148127555847, 1.337443232536316, -0.8119362592697144, 0.542508065700531, 0.4707118570804596, -0.6803758144378662, -0.1244635134935379, -0.096799835562706, -0.8444453477859497, 0.5282877087593079, -0.0005724757211282849, -0.8916177153587341, 0.17718163132667542, -0.11276741325855255, -0.24991707503795624, 0.134191632270813, -0.3953532576560974, 0.7792184352874756, -0.4115474820137024, -0.41990193724632263, -0.442624568939209, -0.6743449568748474, 0.3541988432407379, -0.14459660649299622, 0.2493511289358139, -0.36508285999298096, -0.02136189676821232, 0.45296746492385864, -0.48405569791793823, 0.8877713084220886, -0.5963285565376282, 0.08157180994749069, 0.2370198369026184, 0.4390430748462677, -0.0023356357123702765, 0.4148259162902832, -0.1219957247376442, -0.23267698287963867, 0.6062448620796204, -0.7041465044021606, -0.8520120978355408, 0.5802379846572876, -1.0083107948303223, -0.5346270799636841, -0.4590604603290558, -0.4291611611843109, -0.7184611558914185, 0.0439596101641655, -0.06067221239209175, 0.429231196641922, -0.8375328183174133, -0.1496196985244751, 0.2621382176876068, -0.1949804723262787, 0.10655373334884644, 0.8437297344207764, -0.6410826444625854, -0.7112311124801636, 0.6241374015808105, -0.05375828593969345, 0.3245023488998413, -0.44473960995674133, 0.012701569125056267, -0.33141273260116577, -0.7186539769172668, -0.0627296194434166, 0.38068243861198425, -0.6522312760353088, -0.02375311776995659, -0.19440607726573944, -0.1546200066804886, -0.12492578476667404, -0.1745506078004837, -0.38039258122444153, -0.025649433955550194, -0.18887212872505188, -0.2391485571861267, -0.2416248470544815, 0.7002626061439514, 0.046083349734544754, 0.3831157088279724, -0.5379355549812317, -0.30787038803100586, 0.339466392993927, 0.345949649810791, 0.04107843339443207, -0.1700039505958557, -0.1988915652036667, 0.018937280401587486, -0.7560957670211792, -0.6380653381347656, 0.3540976941585541, -0.3477590084075928, 0.6979272365570068, 0.8982254862785339, -0.08486564457416534, 0.6668344736099243, -0.33009248971939087, 0.6539170742034912, 0.6343825459480286, -0.6714591383934021, 0.24481570720672607, -0.41979870200157166, -0.30179697275161743, 0.7408040761947632, 0.2361723929643631, -0.44991326332092285, -0.3805598020553589, -0.927899956703186, -0.0806022435426712, 0.3881424069404602, -0.06027969717979431, 0.06565847247838974, 0.09172625839710236, 0.7037410736083984, 0.0951448380947113, 0.2252773642539978, -0.6615485548973083, -0.0693245381116867, -0.10879442095756531, -0.004745997488498688, 0.049652960151433945, -0.45741990208625793, -0.6750869154930115, -0.11514763534069061, 0.30058053135871887, -0.25323358178138733, 0.41926565766334534, 0.5945132970809937, 0.08221017569303513, -0.41038644313812256, 0.12676429748535156, 0.5005430579185486, 0.7457404732704163, -0.6540871262550354, 0.30776315927505493, 0.6564751863479614, -0.38051390647888184, 0.30431392788887024, -0.06874756515026093, 0.497943639755249, -0.2541956901550293, 0.505025327205658, 0.23914282023906708, 0.2252839058637619, -0.7472343444824219, 0.8137627243995667, -0.3828985393047333, -0.5262230038642883, -0.4864542782306671, -0.09109532088041306, 0.17454707622528076, 0.4276108145713806, -0.05435388907790184, -0.03732289373874664, 0.13692665100097656, -0.3566884994506836, 0.16759537160396576, 0.5146068930625916, -0.9070023894309998, -0.32558223605155945, 0.40521034598350525, 0.03481779992580414, -0.36848947405815125, 0.4857880771160126, 0.04719178378582001, -0.3632563352584839, 0.6619369387626648, 0.4678289294242859, 0.7803455591201782, -0.16119560599327087, 0.012146919034421444, -0.10294274985790253, 0.04446808993816376, 0.07588031142950058, 0.24881881475448608, 0.16162730753421783, -0.7157390117645264, -0.40328115224838257, -0.3098275065422058, -0.9668784737586975, -0.310269296169281, -1.0402474403381348, 0.1265416145324707, -0.7231227159500122, -0.5972012281417847, -0.5795913934707642, 0.554587721824646, -0.6442247629165649, -0.12156223505735397, 0.19926941394805908, 1.123671531677246, -0.6170477271080017, 1.107328176498413, 1.022136926651001, -0.18834185600280762, -0.834691047668457, -0.3344929814338684, 0.07643334567546844, -0.9501377940177917, 0.6133857369422913, 0.15851472318172455, -0.06973498314619064, -0.166909322142601, -0.502000093460083, -0.27330246567726135, 1.6268914937973022, 0.5600250363349915, -0.10594826936721802, 0.09448635578155518, 0.40066662430763245, 0.7964902520179749, -0.5972614288330078, 0.7086432576179504, 0.3444993793964386, 0.33365747332572937, 0.2510793209075928, -1.1037390232086182, -0.015989186242222786, 0.0006797157693654299, 0.14585117995738983, -0.6468923091888428, -0.71670001745224, 0.3394169509410858, -0.18114422261714935, 0.19590260088443756, 0.23055511713027954, 0.34773340821266174, 0.6623828411102295, 0.548447847366333, 0.7474386096000671, 0.40064823627471924, 0.7286567687988281, 0.3235224485397339, 0.8879738450050354, -0.42342397570610046, 0.5994478464126587, 0.8825375437736511, -0.7827138304710388, 0.3543032109737396, 0.798715353012085, -0.45735281705856323, 0.15496455132961273, 0.6437462568283081, -0.1432432234287262, 0.08221200108528137, 0.47159332036972046, -0.453105092048645, -0.2948493957519531, -0.5762223601341248, -0.31299880146980286, 0.3462914824485779, 0.2362620234489441, -0.0038392716087400913, -0.22021733224391937, 0.27335289120674133, -0.0715419352054596, 0.03759455308318138, -0.06056155264377594, 0.5171203017234802, 0.6307464838027954, -0.23683352768421173, 0.24143368005752563, -0.09947816282510757, 0.016455762088298798, -0.34053003787994385, 0.047309789806604385, -0.21139530837535858, 0.3952493965625763, -0.14746445417404175, -0.30065131187438965, 0.003009506268426776, -0.197537362575531, 0.3785543441772461, -0.6924867033958435, 0.7314870357513428, -0.23153056204319, -0.2725374698638916, 0.48364096879959106, 0.8797139525413513, 0.30366063117980957, 0.2892800271511078, -0.7231802940368652, 0.14487811923027039, -0.32858744263648987, -0.39549943804740906, 0.943632960319519, 0.29869863390922546, 0.3195778727531433, 0.9547927975654602, 0.6234468817710876, 0.4114644229412079, -0.23687225580215454, 0.4374662935733795, 0.8499462604522705, -0.22318072617053986, -0.09733095020055771, -0.6275069117546082, 0.10990125685930252, -0.023584093898534775, -0.04769512265920639, 0.6296482682228088, 0.532646656036377, 0.3128693997859955, 0.10883335024118423, 0.3310007154941559, 0.280427485704422, 0.5937235951423645, -0.2320658564567566, 0.6581960916519165, -0.6166630387306213, 0.4785265326499939, -0.28260329365730286, -0.8969871997833252, -0.2243887484073639, 0.39367011189460754, -0.23907795548439026, -0.1399766057729721, 0.5363478064537048, 0.5556590557098389, 0.15100958943367004, 0.11919534206390381, 0.5140105485916138, 0.028033019974827766, 0.7545620203018188, 0.5042700171470642, 1.2586663961410522, -0.16138847172260284, -0.01501863170415163, -0.31311917304992676, -0.32837721705436707, -0.257270485162735, -0.8417695760726929, -0.922572135925293, 0.03949839249253273, -0.28325963020324707, -0.439312607049942, -0.3134486973285675, 1.2442665100097656, 0.5685032606124878, -0.2993256449699402, -0.760704517364502, 0.3421182334423065, 0.0073619200848042965, -0.248212531208992, -0.16066358983516693, 0.22420254349708557, -0.076093889772892, -0.45101478695869446, 0.3783862292766571, 0.25220972299575806, 0.21543669700622559, -0.6491969227790833, -0.2770809233188629, 0.3137698173522949, -0.29066234827041626, 0.2643511891365051, -0.019090212881565094, -0.6617028117179871, -0.4959515333175659, -0.06299945712089539, -0.27588385343551636, -0.04819026589393616, 0.8826499581336975, -0.7352806329727173, 0.4226278066635132, -0.3387802839279175, 0.46832430362701416, 0.6150123476982117, 0.09329375624656677, 0.6409852504730225, -0.11034484207630157, 0.1687050759792328, 0.41609519720077515, 0.36568132042884827, -0.009591436013579369, -0.2530905306339264, 0.3259720206260681, 0.3103578984737396, -0.5890519022941589, -1.0421462059020996, -0.15103107690811157, -1.3898941278457642, -0.019615763798356056, 0.7685893177986145, -0.5930419564247131, 0.045864056795835495, -0.19225507974624634, -0.4882705807685852, 0.20873621106147766, 0.05042440444231033, 0.5915404558181763, 0.38185903429985046, -0.4660748839378357, 0.03924153372645378, -0.6834421157836914, 0.4147605299949646, 0.5582913160324097, -0.46371451020240784, -0.28040051460266113, 0.11961257457733154, 0.8534775376319885, -0.16002558171749115, 1.0349256992340088, -0.13699333369731903, 0.1144680306315422, -0.39058294892311096, 0.38445454835891724, -0.249273419380188, 0.16156983375549316, -0.31126946210861206, 0.225204199552536, 0.5358678102493286, 0.21727722883224487 ]
http://arxiv.org/abs/2406.12263v1
http://arxiv.org/pdf/2406.12263v1
Defending Against Social Engineering Attacks in the Age of LLMs
2024-06-18T04:39:40
2024-06-18T04:39:40
Lin Ai, Tharindu Kumarage, Amrita Bhattacharjee, Zizhou Liu, Zheng Hui, Michael Davinroy, James Cook, Laura Cassani, Kirill Trapeznikov, Matthias Kirchner, Arslan Basharat, Anthony Hoogs, Joshua Garland, Huan Liu, Julia Hirschberg
cs.CL
cs.CL
The proliferation of Large Language Models (LLMs) poses challenges in detecting and mitigating digital deception, as these models can emulate human conversational patterns and facilitate chat-based social engineering (CSE) attacks. This study investigates the dual capabilities of LLMs as both facilitators and defenders against CSE threats. We develop a novel dataset, SEConvo, simulating CSE scenarios in academic and recruitment contexts, and designed to examine how LLMs can be exploited in these situations. Our findings reveal that, while off-the-shelf LLMs generate high-quality CSE content, their detection capabilities are suboptimal, leading to increased operational costs for defense. In response, we propose ConvoSentinel, a modular defense pipeline that improves detection at both the message and the conversation levels, offering enhanced adaptability and cost-effectiveness. The retrieval-augmented module in ConvoSentinel identifies malicious intent by comparing messages to a database of similar conversations, enhancing CSE detection at all stages. Our study highlights the need for advanced strategies to leverage LLMs in cybersecurity.
[ -0.19229647517204285, -0.880312979221344, 0.36682504415512085, -0.06005281209945679, -0.09553898125886917, 0.7788727283477783, 0.03888026997447014, -0.49515387415885925, 0.3925827443599701, 0.41792380809783936, -0.6990146040916443, -0.4820569157600403, -0.5806809663772583, -0.09430959820747375, -0.6411812901496887, 0.6819230914115906, 0.40210577845573425, 0.07946004718542099, -0.1301659643650055, 0.2202715426683426, -0.30278685688972473, -0.7403034567832947, -0.9340222477912903, -0.2567567825317383, 0.4751933217048645, 0.4301915764808655, 0.5611869096755981, -0.2214735895395279, 0.38283905386924744, 0.4147411584854126, -0.1539851576089859, 0.0650697723031044, -0.855147123336792, 0.3804773986339569, -0.15674719214439392, -0.5248920321464539, -0.17931480705738068, -0.19813448190689087, 0.12594138085842133, 0.33154037594795227, 0.019287336617708206, 0.051562514156103134, 0.3281519114971161, 0.5825602412223816, -0.691769540309906, -0.17895030975341797, -0.9632889032363892, -0.3048468828201294, -0.19418935477733612, 0.026140661910176277, -0.6155509948730469, -0.4442833960056305, 0.14949162304401398, -0.38065534830093384, 0.06742843240499496, -0.027082892134785652, 0.5365830063819885, -0.037531256675720215, -0.3271804451942444, -0.282981812953949, -0.49919405579566956, 0.5013678073883057, -0.6081600189208984, 0.25577765703201294, 0.1258709877729416, 0.4920876622200012, -0.5429938435554504, -0.7213563919067383, -0.15280862152576447, -0.34589698910713196, 0.03111494518816471, -0.06951543688774109, -0.43740054965019226, 0.22294782102108002, 0.16480739414691925, 0.07366414368152618, -0.5782793760299683, 0.33389362692832947, -0.6173005700111389, -0.5641826391220093, 0.9124739766120911, 0.21241135895252228, 0.5088150501251221, 0.006495630834251642, -0.29298636317253113, 0.08458876609802246, -0.7302836775779724, 0.09029090404510498, 0.5462589263916016, 0.16082872450351715, -0.33870837092399597, 0.3117288053035736, 0.03862418979406357, -0.017865760251879692, 0.1544036716222763, 0.15713916718959808, -0.23166140913963318, -0.07547768205404282, -0.243729367852211, 0.225768581032753, 0.8307080864906311, 0.08793636411428452, 0.3252720534801483, -0.1503671556711197, -0.057054851204156876, 0.4499015510082245, 0.5720801949501038, -0.8656929135322571, -0.20478050410747528, 0.3454664945602417, -0.4394069314002991, -0.6863749623298645, 0.024815643206238747, -0.6370239853858948, -0.835740864276886, -0.1400248408317566, 0.13960479199886322, -0.408695787191391, -0.32124364376068115, 0.23738333582878113, -0.26132932305336, 0.22957433760166168, 0.12027644366025925, -0.3926101326942444, 0.629623293876648, 0.9340111613273621, 0.9160179495811462, -0.20775246620178223, -0.009557983838021755, -0.4145629107952118, -0.0691261813044548, -0.4482988715171814, 0.5799834132194519, -0.44381991028785706, -0.778854489326477, 0.2210562825202942, 0.024156270548701286, 0.24910925328731537, -0.30600032210350037, 0.5537567138671875, -0.7814337015151978, -0.2832373082637787, -0.21089300513267517, -0.44214412569999695, 0.058447614312171936, 0.38069450855255127, -0.4799160659313202, 0.8232836127281189, -0.16742070019245148, -0.8659342527389526, -0.12533411383628845, -0.4066653549671173, -0.3887125849723816, 0.3100718855857849, -0.4265354871749878, -0.3259536325931549, 0.22318293154239655, -0.27136939764022827, 0.6320496797561646, -0.3785201609134674, 0.21832089126110077, -0.790230393409729, -0.5095449090003967, 0.35481250286102295, -0.4634663760662079, 0.8303966522216797, 0.2752684950828552, -0.19497527182102203, 0.030934441834688187, -0.4458669126033783, -0.23598216474056244, 0.1846301108598709, 0.07748079299926758, -0.5243351459503174, 0.3378406763076782, -0.43526527285575867, -0.10007043927907944, 0.34236910939216614, -0.7769010066986084, -0.12791870534420013, -0.5492085218429565, 0.4095143675804138, 0.8839060068130493, 0.17082254588603973, 0.4735088646411896, -0.19186997413635254, 0.580374002456665, -0.1594967544078827, 0.4368380904197693, 0.24714282155036926, -0.14337417483329773, -0.43060415983200073, -0.32723838090896606, -0.14775197207927704, 0.7357314229011536, -1.118683934211731, 0.0325566790997982, -0.2203862965106964, -0.8360346555709839, -0.21020737290382385, -0.08666971325874329, 0.32927075028419495, -0.17546944320201874, 0.0013651688350364566, 0.15355552732944489, -0.5807967782020569, -1.1264216899871826, -0.3024721145629883, -0.1684272587299347, -0.044393617659807205, 0.1348821073770523, 0.36572930216789246, -0.24459877610206604, 0.7075445652008057, -0.47652021050453186, 0.12625834345817566, -0.25339043140411377, -0.14835956692695618, -0.006159665994346142, 0.26479053497314453, 0.6208660006523132, -0.6822254061698914, -0.43545249104499817, 0.03689293935894966, -0.8490036725997925, -0.2547449767589569, -0.1323438435792923, -0.07270409166812897, -0.22858969867229462, 0.7885284423828125, -0.3897942900657654, 0.2850829064846039, 0.5401217341423035, -0.3763745129108429, 0.8063557744026184, 0.23165276646614075, 0.2882102131843567, -1.2360426187515259, -0.39527660608291626, 0.17920486629009247, -0.18276886641979218, -1.0282237529754639, 0.1305980533361435, 0.038421519100666046, -0.4532727897167206, -0.8986409306526184, 0.43681108951568604, -0.45480021834373474, 0.22221089899539948, -0.40921255946159363, 0.3378238081932068, -0.12216953933238983, 0.1892343908548355, -0.5370206236839294, 0.857964813709259, 0.8421606421470642, -0.6095705032348633, 0.48635005950927734, 0.05113653093576431, -0.2603203058242798, 0.8316059708595276, -0.9476152658462524, 0.3598940074443817, -0.0710996761918068, 0.31075015664100647, -0.8579901456832886, -0.1615840643644333, 0.04062638431787491, -0.5824424028396606, 0.4749596416950226, -0.25016799569129944, -0.2923842966556549, -0.3971191644668579, -0.8696153163909912, 0.2195427268743515, 0.11973436176776886, -0.4841613471508026, 0.8686957955360413, 0.6590412259101868, -0.2194288820028305, -0.6434733271598816, -0.8194829821586609, 0.3482561707496643, -0.27929675579071045, -0.8915090560913086, 0.43571335077285767, -0.025040503591299057, -0.5996094942092896, -0.46630245447158813, -0.1393548846244812, 0.17916658520698547, 0.6005846858024597, 0.3424117863178253, 0.40721970796585083, -0.04038228094577789, -0.15659283101558685, 0.039476968348026276, -0.016946034505963326, 0.41078564524650574, -0.16506201028823853, 0.6490864157676697, 0.18990157544612885, -0.6017810702323914, -0.5102382898330688, 0.4676089286804199, 0.6231979131698608, 0.15842793881893158, 0.5966857075691223, 0.10853095352649689, -0.31917569041252136, -0.31839802861213684, -0.6482435464859009, -0.5424831509590149, -0.6422208547592163, 0.4433208107948303, -0.26918405294418335, -1.1279103755950928, 0.4716350734233856, -0.2428009957075119, 0.25632983446121216, -0.007540972903370857, 0.26644468307495117, 0.002211141400039196, 0.7379938960075378, 0.3256317377090454, -0.3784027099609375, 0.513191282749176, -0.2324618548154831, 0.4371066987514496, -0.5893492102622986, -0.24950473010540009, -0.463578999042511, -0.2679835259914398, -0.8412032723426819, 0.08574865758419037, 0.3844045102596283, -0.18626564741134644, -0.22621069848537445, 0.5383773446083069, -0.5562738180160522, 0.5165997743606567, 0.2196885198354721, 0.43454495072364807, -0.12880270183086395, -0.10780730843544006, 0.18638934195041656, 0.12846297025680542, -0.47921764850616455, -0.758906364440918, 0.8331140875816345, 0.48268160223960876, 0.9503976702690125, 0.3702892065048218, 0.6737836599349976, 0.7141808867454529, 0.06842747330665588, -0.5194451808929443, 1.0698102712631226, -0.23743771016597748, -0.5285643935203552, 0.06797328591346741, -0.24943368136882782, -0.8914670944213867, 0.32117584347724915, -0.2367372214794159, -0.9066301584243774, 0.345714271068573, -0.046930618584156036, -0.4013107120990753, 0.3881039321422577, -0.7166011929512024, 0.58812016248703, -0.341600626707077, -0.615228533744812, -0.506506621837616, -0.3449903428554535, 0.3194632828235626, -0.05386359244585037, 0.25315210223197937, -0.21235528588294983, 0.15780696272850037, 0.46385735273361206, -0.10139539837837219, 1.4005495309829712, -0.062450241297483444, -0.03474082425236702, 0.3272712826728821, 0.5415412187576294, 0.8118680119514465, 0.0999680906534195, -0.10585708916187286, 0.2812422513961792, 0.21046237647533417, -0.4790363609790802, -0.3152853846549988, 0.9531936049461365, -0.6559864282608032, -1.0301058292388916, -0.49553120136260986, -0.12953287363052368, -0.0310553926974535, -0.12627173960208893, 0.06859727203845978, 0.4587157666683197, -0.8154664635658264, 0.41632509231567383, 0.8130746483802795, -0.3926451504230499, 0.3109472393989563, 0.46076563000679016, 0.07395391911268234, -0.359164297580719, 0.7011900544166565, 0.029606694355607033, 0.5695177912712097, 0.13777144253253937, 0.11814908683300018, -0.10451845824718475, -0.5237144231796265, 0.1406434178352356, 0.1615578979253769, -0.5006942749023438, -0.3658585250377655, -0.7284684777259827, -0.45286476612091064, -0.5641803741455078, -0.5783604383468628, -0.1285613626241684, -0.19955438375473022, -0.14242038130760193, -0.2739715874195099, 0.36204537749290466, 0.6569986343383789, 0.016563840210437775, 0.3970384895801544, -0.40811455249786377, 0.02102084644138813, 0.33691567182540894, -0.06525442004203796, -0.07873857766389847, -0.36565452814102173, -0.0944405272603035, 0.21292220056056976, -0.40434348583221436, -1.1363884210586548, 0.028156844899058342, -0.2182590663433075, 0.53807532787323, 0.2907119691371918, 0.3141956031322479, 0.20759816467761993, -0.3387041687965393, 0.9582220911979675, 0.06419225037097931, -0.7118409276008606, 0.42227429151535034, -0.34694725275039673, -0.058940958231687546, 0.4805292785167694, 0.37801939249038696, -0.5607718825340271, -0.6098690032958984, -0.712627112865448, -0.6115521788597107, 0.43349596858024597, 0.2714957594871521, 0.4294939637184143, -0.11156929284334183, 0.30297213792800903, -0.3011968731880188, 0.003405687166377902, -0.5692413449287415, -0.14570236206054688, 0.18809962272644043, -0.21866115927696228, 0.3884030878543854, -0.5605546832084656, -0.1914559304714203, 0.21778927743434906, 0.9599997997283936, 0.05560886859893799, 0.048133689910173416, 0.03474992886185646, 0.05940169841051102, 0.5256571769714355, 0.35090264678001404, 0.3213445246219635, 0.11335448175668716, 0.26322048902511597, 0.17233183979988098, 0.6337723135948181, -0.4707273840904236, 0.31145989894866943, -0.1214958131313324, -0.2607267200946808, -0.14306695759296417, 0.17679481208324432, 0.3772226572036743, 0.3550156354904175, -0.51446932554245, 0.6434604525566101, 0.06723115593194962, -0.24491865932941437, -0.561991274356842, 0.22713874280452728, 0.14267180860042572, 0.5003421306610107, 0.28102052211761475, -0.2873264253139496, 0.2589321732521057, -0.5745810270309448, 0.09591899812221527, 0.9472070336341858, -0.28164970874786377, -0.3255377411842346, 0.5273794531822205, 0.2852630019187927, -0.636235237121582, 0.09335396438837051, -0.06717642396688461, -0.6348934769630432, 0.6729384064674377, 0.3211651146411896, 1.088755488395691, -0.4012967050075531, 0.1956178992986679, -0.008553894236683846, 0.47143426537513733, 0.03802407532930374, 0.122843898832798, 0.19144964218139648, -0.6831952333450317, -0.184833362698555, -0.1643010973930359, -0.46308210492134094, 0.019593441858887672, -0.3038707971572876, 0.6219388842582703, -0.6051512956619263, -0.22970406711101532, 0.07916063815355301, -0.13866278529167175, -0.39830145239830017, -0.31203365325927734, 0.1947370022535324, 0.9778323769569397, -0.737366259098053, 0.6179904341697693, 0.3210020661354065, -0.05317717045545578, -0.4397483766078949, -0.2285415083169937, 0.5880665183067322, -0.49520164728164673, 0.49334588646888733, 0.12113268673419952, -0.733042299747467, -0.23781529068946838, -0.8804311752319336, -0.4827819764614105, 1.1568361520767212, 0.5302663445472717, -0.6853023171424866, 0.031672630459070206, 0.3248266279697418, 0.46528103947639465, -0.1973072588443756, 0.11359580606222153, 0.5033657550811768, 0.06207544729113579, -0.05165228992700577, -0.5186397433280945, 0.06727441400289536, -0.12984143197536469, -0.052919402718544006, 0.25165632367134094, -0.8344849944114685, 0.3566858172416687, 0.23899079859256744, -0.5818828344345093, -0.30554676055908203, 0.5317805409431458, 0.3623356521129608, 0.461669385433197, 0.35903406143188477, 0.07886277139186859, 0.5927010178565979, -0.03353538364171982, 0.8985491394996643, -0.3939415514469147, 0.02847438119351864, 0.9559241533279419, -0.45191413164138794, 0.5493994355201721, 0.2268725484609604, -0.0571594275534153, 0.534304678440094, 0.6188147664070129, 0.13256923854351044, 0.22229628264904022, 0.4267561733722687, -0.5636722445487976, -0.23552419245243073, -0.17097432911396027, -0.0683659240603447, 0.16574278473854065, 0.47439712285995483, -0.016615785658359528, -0.12699246406555176, 0.14378206431865692, 0.4235486090183258, 0.45308658480644226, -0.28617045283317566, 0.8142870664596558, 0.37116801738739014, -0.21667832136154175, 0.26327192783355713, -0.13479351997375488, 0.8480626344680786, -0.8283329606056213, 0.3409513235092163, -0.1784808337688446, 0.32627996802330017, -0.16256313025951385, -0.6502256393432617, 0.42131340503692627, -0.1017722561955452, 0.18071922659873962, -0.016109904274344444, 1.0866321325302124, -0.0967477485537529, -0.2844170928001404, 0.6598939895629883, 0.17605368793010712, -0.10927329957485199, -0.15406376123428345, -0.8358682990074158, 0.2464408576488495, -0.14232884347438812, 0.023943142965435982, 0.3692026436328888, 0.4838259816169739, -0.041006676852703094, 0.964794933795929, 0.694764256477356, -0.021121038123965263, -0.1503787785768509, 0.15920713543891907, 1.0888127088546753, -0.14859703183174133, -0.4819903075695038, -1.3505291938781738, 0.22821715474128723, -0.7269303202629089, 0.2510167062282562, 0.8402535915374756, 0.6569460034370422, 0.6017497777938843, 0.23855136334896088, 0.7033960223197937, 0.15940377116203308, 0.44423115253448486, -0.36424052715301514, 0.5889593362808228, -0.27404436469078064, 0.6113453507423401, -0.18978968262672424, -0.3796381950378418, 0.09394703805446625, 0.020492492243647575, -0.37457165122032166, -0.4476830065250397, 0.4996991753578186, 1.262559175491333, -0.07434677332639694, 0.26288899779319763, 0.42099711298942566, 0.2713764011859894, 0.6964320540428162, 0.43487539887428284, 1.0248245000839233, -0.29379671812057495, 0.5570741891860962, 0.20116731524467468, -0.27287304401397705, 0.05735595151782036, -0.5393227934837341, -1.3898979425430298, -0.22356802225112915, -0.2686777412891388, -0.6999284625053406, 0.4236343502998352, 1.0322051048278809, 0.5471456050872803, -0.8374776840209961, -0.28689754009246826, 0.23546840250492096, 0.11309044063091278, 0.05891114100813866, -0.20750777423381805, -0.06178003177046776, -0.2533452808856964, -0.41454634070396423, 0.7695096135139465, 0.41489407420158386, 0.09423734992742538, -0.6511172652244568, 0.1318311244249344, -0.37700244784355164, 0.6763786673545837, 0.7123124599456787, 0.1961175799369812, -0.5393334627151489, -0.4195495545864105, 0.22834229469299316, -0.2776775658130646, -0.3896036446094513, 0.9479842782020569, -0.4127172529697418, 0.030141878873109818, 0.6041359305381775, 0.9840936660766602, 0.22277884185314178, -0.26347115635871887, 0.5882090330123901, -0.7733786106109619, 0.24172234535217285, 0.1000058576464653, 0.4396193325519562, 0.23558993637561798, -0.7013669610023499, 0.5722434520721436, 0.203753262758255, -0.5390777587890625, -0.7484159469604492, 0.40273842215538025, -0.5451415181159973, -0.6542328596115112, 1.2186295986175537, 0.10786690562963486, -0.1642736941576004, -0.45728200674057007, -0.3956415355205536, -0.062438659369945526, -0.47183534502983093, 0.8702470064163208, 0.6202141046524048, 0.5187963247299194, 0.07758936285972595, -0.5805193781852722, 0.44649261236190796, 0.09370504319667816, -0.6717219948768616, 0.15768474340438843, 0.45481088757514954, 0.2639215588569641, 0.2180543690919876, 0.4743404686450958, -0.0030847599264234304, 0.14903444051742554, -0.2284340262413025, -0.09362973272800446, 0.03898392245173454, -0.21289300918579102, 0.06310978531837463, 0.22838906943798065, -0.14787034690380096, -0.29081106185913086 ]
http://arxiv.org/abs/2406.12260v1
http://arxiv.org/pdf/2406.12260v1
Self-Supervised Time-Series Anomaly Detection Using Learnable Data Augmentation
2024-06-18T04:25:56
2024-06-18T04:25:56
Kukjin Choi, Jihun Yi, Jisoo Mok, Sungroh Yoon
cs.LG
cs.LG, cs.AI, cs.CL
Continuous efforts are being made to advance anomaly detection in various manufacturing processes to increase the productivity and safety of industrial sites. Deep learning replaced rule-based methods and recently emerged as a promising method for anomaly detection in diverse industries. However, in the real world, the scarcity of abnormal data and difficulties in obtaining labeled data create limitations in the training of detection models. In this study, we addressed these shortcomings by proposing a learnable data augmentation-based time-series anomaly detection (LATAD) technique that is trained in a self-supervised manner. LATAD extracts discriminative features from time-series data through contrastive learning. At the same time, learnable data augmentation produces challenging negative samples to enhance learning efficiency. We measured anomaly scores of the proposed technique based on latent feature similarities. As per the results, LATAD exhibited comparable or improved performance to the state-of-the-art anomaly detection assessments on several benchmark datasets and provided a gradient-based diagnosis technique to help identify root causes.
[ -0.35157474875450134, -0.6506482362747192, 0.27795135974884033, -0.07836192846298218, -0.3933868110179901, 0.12226809561252594, 0.40024885535240173, -0.6566320657730103, 0.2922462522983551, 0.40838879346847534, -1.0225422382354736, -0.4224812388420105, -0.28806254267692566, -0.06436270475387573, -0.45253366231918335, 0.9573985934257507, -0.20427535474300385, -0.43798646330833435, 0.09423311054706573, -0.23287902772426605, -0.3741283118724823, -0.654828667640686, -0.5858222246170044, -0.1845058649778366, 0.2254868894815445, 0.174102321267128, 0.24105709791183472, 0.7248312830924988, 0.47927457094192505, 0.24332356452941895, 0.23816297948360443, 0.665625274181366, -0.14386703073978424, 0.2381274700164795, 0.12803930044174194, -0.27113470435142517, -0.5343676805496216, -0.27839937806129456, 0.4038900136947632, 0.6618114113807678, -0.15486808121204376, 0.15889495611190796, 0.20356042683124542, 0.6723602414131165, -0.44715964794158936, 0.16282369196414948, -0.31040501594543457, 0.5248611569404602, -0.3527761995792389, -0.3087517321109772, 0.1898641437292099, -0.1818666309118271, -0.28493326902389526, -0.6059662103652954, 0.828830361366272, -0.0884382426738739, 0.5011183619499207, 0.6732531785964966, -0.15019938349723816, -0.174326553940773, -0.7103220820426941, 0.8857451677322388, -0.77085942029953, 0.14752988517284393, 0.0945972129702568, 0.5296697616577148, 0.013097072020173073, -0.6602067351341248, -0.4311453700065613, 0.20513483881950378, -0.12859544157981873, 0.12031552195549011, -0.10741249471902847, -0.4202883839607239, 0.22901158034801483, 0.5493506789207458, -0.6136100888252258, 0.7734094262123108, -0.19316630065441132, -0.20996008813381195, 0.43624308705329895, 0.6671547293663025, -0.16148675978183746, -0.1330678015947342, -0.4388739764690399, -0.044864535331726074, -0.20189666748046875, 0.07453359663486481, 0.6469491720199585, 0.5359795093536377, -0.3440067768096924, 0.03026774898171425, -0.5128278732299805, 0.4261394441127777, 0.07571150362491608, 0.15358136594295502, 0.6939301490783691, -0.2127978801727295, -0.22600078582763672, 0.20160232484340668, 0.44325798749923706, 0.028729790821671486, -0.24860848486423492, 0.04911491274833679, -0.4041661024093628, -0.02316259779036045, 0.14089004695415497, -0.5153375864028931, -0.4553426206111908, 0.36189109086990356, -0.4674302041530609, -0.5115259885787964, -0.004554789047688246, -0.8947314620018005, -0.5518019795417786, -0.22537602484226227, 0.49178269505500793, -0.11367230117321014, -0.5875182151794434, -0.10307186841964722, 0.08331158757209778, 0.1641114205121994, 0.23239348828792572, -0.7536225318908691, -0.17276082932949066, 0.6080040335655212, 0.7780927419662476, -0.5264360904693604, -0.012949666939675808, -0.6318787336349487, 0.06248582527041435, -0.35040372610092163, 0.7938994765281677, -0.18653005361557007, -0.6654747128486633, -0.2019825279712677, 0.20698143541812897, 0.19742518663406372, -0.9445923566818237, 0.419232577085495, -0.44955918192863464, -0.040031127631664276, 0.0704883262515068, -0.3273513913154602, 0.049222711473703384, 0.40919598937034607, -0.6198943853378296, 1.1233394145965576, 0.35246214270591736, -0.7216530442237854, 0.5747238993644714, -0.726423978805542, -0.35516297817230225, 0.034654080867767334, -0.2539246678352356, -1.0519229173660278, -0.1813667118549347, 0.5788829326629639, 0.7718620896339417, 0.09144557267427444, 0.21462169289588928, -0.5773480534553528, -0.13964292407035828, 0.27009138464927673, -0.7536020278930664, 0.48784127831459045, 0.35835206508636475, -0.4303703010082245, -0.17104309797286987, -0.9123666286468506, -0.02199334092438221, 0.09789884090423584, 0.06560743600130081, -0.277934193611145, -0.3158186972141266, -0.2922461926937103, 0.03895113244652748, 0.1865731179714203, -0.5230109691619873, 0.12616661190986633, -0.2916218638420105, -0.11941543966531754, 0.8854917883872986, 0.4896673560142517, -0.07665608823299408, -0.4089839458465576, 0.535291314125061, 0.7461674213409424, 0.15289995074272156, -0.3736712336540222, -0.0699138343334198, -0.8329213261604309, -0.40506622195243835, -0.002888708608224988, 0.575981080532074, -0.7473381757736206, 0.5815277099609375, -0.017814770340919495, -0.2910953164100647, -0.387067973613739, 0.33890819549560547, 0.09282894432544708, 0.9599936604499817, 0.5454506278038025, -0.2151551991701126, -0.6029751300811768, -0.8915424346923828, -0.31227967143058777, 0.527206540107727, -0.042075131088495255, 0.05702944099903107, 0.2856142520904541, -0.3234047591686249, 0.8432939052581787, -0.8188472390174866, -0.7365540862083435, 0.21763376891613007, 0.4253246486186981, 0.7627717852592468, 0.7392833232879639, 0.5666295289993286, -0.5486589074134827, -0.35322126746177673, 0.19844463467597961, -1.0712825059890747, -0.09559399634599686, -0.09993932396173477, 0.5110691785812378, 0.3762015402317047, 0.7457208037376404, 0.2249612957239151, 0.5445430874824524, 0.35092097520828247, -0.02832932025194168, 0.4322696626186371, -0.30220043659210205, 0.1695176362991333, -1.1747969388961792, -0.08075298368930817, 0.1599874347448349, -0.14744381606578827, -0.6287558078765869, -0.4347047805786133, -0.032289259135723114, -0.09819960594177246, -0.3767191171646118, 0.19107109308242798, -0.19555184245109558, 0.04288025572896004, -0.2072787880897522, -0.41797366738319397, 0.01425137184560299, 0.5181038975715637, -0.13785012066364288, 0.824032187461853, 0.48080554604530334, -0.8012599945068359, 0.506382942199707, -0.3010999262332916, -0.5406352281570435, 0.5966964960098267, -0.3592924475669861, 0.14505158364772797, -0.21957243978977203, -0.20091180503368378, -0.9044701457023621, -0.2984488010406494, 0.49760305881500244, -0.26508378982543945, 0.538972020149231, -0.09587207436561584, -0.16567043960094452, -0.22203750908374786, -0.247528076171875, 0.5492410659790039, 0.38885053992271423, -1.0427601337432861, 0.47976112365722656, 0.14157302677631378, 0.087651327252388, -0.7553889751434326, -0.8687195181846619, -0.6420223712921143, -0.6020243167877197, -0.23381364345550537, 0.20984011888504028, 0.10857787728309631, -0.09564674645662308, -0.059867046773433685, -0.40620532631874084, -0.36890125274658203, 0.29047340154647827, 0.1787973940372467, 0.16287115216255188, -0.2693619132041931, 0.1650257408618927, 0.06595925241708755, -0.2081078290939331, 0.1397061049938202, -0.10366805642843246, 0.3424718677997589, -0.14838877320289612, -0.6645084023475647, -0.650844395160675, 0.29817789793014526, 0.20209956169128418, 0.2445579469203949, 0.4500337839126587, 0.8177837133407593, -0.3605937361717224, -0.46939629316329956, -0.4442870318889618, -0.2630482614040375, -0.5982038378715515, 0.3577945828437805, -0.19277745485305786, -0.5545172691345215, 0.7071045637130737, -0.2365722805261612, -0.17228913307189941, 0.5816062092781067, 0.03356340527534485, -0.42279866337776184, 0.6878604888916016, 0.4243205785751343, -0.1785290688276291, 0.44045260548591614, -0.6318120956420898, 0.27186745405197144, -0.8423282504081726, -0.44271549582481384, -0.21275822818279266, -0.271034836769104, -0.580172598361969, -0.24997104704380035, 0.7717269062995911, -0.28208127617836, -0.23299023509025574, -0.02352181449532509, -0.48619985580444336, 0.19433118402957916, 0.26632896065711975, 0.48111337423324585, 0.28455403447151184, 0.22599071264266968, 0.1410074234008789, -0.34267258644104004, -0.5138534307479858, 0.12122869491577148, 0.7987395524978638, 0.29016774892807007, 0.7643255591392517, 0.04333219677209854, 0.7347347736358643, 1.1590967178344727, 0.04598941281437874, -0.4896208345890045, 0.11245612055063248, -0.2907867729663849, -0.25308138132095337, -0.3730746805667877, -0.4826526343822479, -0.985327959060669, -0.0774276927113533, -0.17499808967113495, -0.41630613803863525, 0.6768904328346252, 0.44502419233322144, -0.4903337359428406, 0.44973722100257874, -0.7542813420295715, 0.7321285009384155, -0.6318312883377075, -0.37083011865615845, -0.06879232078790665, -0.2655446231365204, 0.29182013869285583, -0.46931254863739014, 0.2909717261791229, -0.1267523616552353, -0.026510873809456825, 0.6404968500137329, -0.48009607195854187, 1.0858608484268188, -0.3946034908294678, -0.2480207085609436, 0.1986963003873825, -0.07220792770385742, 0.5154603719711304, 0.04999542608857155, -0.04134903475642204, 0.2933584153652191, -0.35017725825309753, -0.46044135093688965, -0.6927495002746582, 0.7481454014778137, -0.5768355131149292, -0.6207329630851746, -0.6516379117965698, -0.4004284143447876, -0.25671693682670593, 0.05688076466321945, 0.11842998117208481, 0.6438376307487488, 0.024022044613957405, 0.18957756459712982, 0.5945735573768616, 0.0009913642425090075, 0.7658125162124634, 0.5997939705848694, 0.15947557985782623, -0.15024858713150024, 1.2365087270736694, 0.21496640145778656, -0.08148927241563797, 0.2265622615814209, 0.052753690630197525, -0.2790665030479431, -0.44126641750335693, -0.08180789649486542, 0.004476144444197416, -0.5613874197006226, -0.33241507411003113, -0.516250729560852, -0.3373258709907532, -0.28767895698547363, -0.03327907249331474, -0.33928054571151733, -0.45208537578582764, -0.8212518095970154, 0.1938038170337677, 0.3829021751880646, 0.4885498881340027, -0.37925034761428833, 0.40668511390686035, -0.8487691879272461, 0.393821656703949, 0.6363826394081116, 0.3951689600944519, 0.07999839633703232, -0.7154048681259155, -0.2511187195777893, -0.005657057277858257, -0.46505630016326904, -0.29446640610694885, 0.6191043257713318, 0.0994579941034317, 0.7226876616477966, 0.7779359817504883, 0.4014972150325775, 0.6013121008872986, 0.14951132237911224, 0.49324172735214233, 0.13357698917388916, -0.6146057844161987, 0.54719078540802, -0.5672175884246826, 0.20280282199382782, 0.06369395554065704, 0.31980565190315247, -0.062150996178388596, 0.16040363907814026, -0.6509461402893066, -0.9277639985084534, 0.7415810227394104, -0.04392018914222717, -0.12752294540405273, 0.24979612231254578, 0.44765424728393555, 0.42782318592071533, 0.27068161964416504, -0.4984642267227173, -0.3472331762313843, -0.33846914768218994, -0.06348627805709839, -0.12784844636917114, 0.06723693758249283, 0.07135561853647232, -0.015443244017660618, 0.55368971824646, -0.18764236569404602, 0.1588274985551834, 0.2732897400856018, 0.07397689670324326, 0.04664912819862366, 0.2541232407093048, 0.4091382324695587, 0.4835962951183319, -0.33065909147262573, -0.21707533299922943, 0.42178407311439514, -0.39801594614982605, 0.045187778770923615, 0.33393052220344543, 0.19037120044231415, -0.17132870852947235, 0.23768460750579834, 0.5667900443077087, -0.24966737627983093, -0.3663196861743927, 0.23910285532474518, 0.40192919969558716, -0.011640926823019981, -0.7109029293060303, 0.3796631693840027, -0.5253689885139465, 0.6226121783256531, 0.7090438604354858, 0.11363609880208969, 0.32076722383499146, -0.4105275571346283, 0.1947401612997055, 0.49369874596595764, -0.4178045690059662, -0.06868494302034378, 0.4805481731891632, 0.17371249198913574, -0.13462458550930023, 0.5531710982322693, -0.11000175774097443, -0.44239237904548645, 1.0978341102600098, 0.35302045941352844, 0.6388674974441528, -0.37967097759246826, -0.03449248522520065, 0.08812349289655685, 0.3653612732887268, 0.06906026601791382, 0.25211331248283386, -0.21081025898456573, -0.7621119618415833, -0.18969275057315826, -0.21551145613193512, -0.3839103877544403, 0.8139348030090332, -0.7900996208190918, 0.3496025800704956, -0.47800585627555847, -0.010683813132345676, -0.11259964853525162, -0.09780100733041763, -0.5608441829681396, 0.3575393259525299, -0.13090378046035767, 0.4611138701438904, -1.1326733827590942, 0.6015497446060181, 0.1749579906463623, -0.10779386758804321, -0.444560706615448, 0.03322005644440651, -0.11899670213460922, -0.7754880785942078, 0.4827342927455902, 0.3392809331417084, -0.11761239171028137, -0.030820557847619057, -0.07197859138250351, -0.5769513249397278, 1.0902976989746094, 0.07829257100820541, -0.52601557970047, 0.39912718534469604, 0.13881276547908783, 0.47674623131752014, -0.3185984790325165, -0.12934625148773193, 0.706498920917511, 0.16457918286323547, -0.23428349196910858, -0.40683162212371826, -0.1385229527950287, -0.22977185249328613, -0.442120760679245, 0.7059551477432251, -0.6830285787582397, 0.6641834378242493, -0.1405387818813324, 0.04863716661930084, -0.1935781091451645, 0.8477025628089905, 0.027109717950224876, 0.9277862310409546, 0.5571138262748718, 0.6128942370414734, 0.8547345995903015, -0.05044470727443695, 0.6832439303398132, -0.004503350239247084, 0.290762335062027, 1.1167123317718506, -0.1759541779756546, 0.40862298011779785, 0.18507909774780273, -0.2172844558954239, 0.5003440976142883, 0.7302506566047668, -0.3554548919200897, 0.6778537631034851, -0.19593524932861328, -0.38226157426834106, -0.37107595801353455, -0.1373576521873474, -0.8548036813735962, 0.39837729930877686, 0.7430444359779358, -0.33612242341041565, -0.17759378254413605, -0.08570379763841629, -0.31232357025146484, -0.0657181367278099, -0.47797420620918274, 0.4474439024925232, -0.069708913564682, -0.19106772541999817, 0.6059798002243042, -0.48707276582717896, 0.7918372750282288, -0.4872022271156311, -0.34267231822013855, -0.4599713087081909, 0.3143415153026581, -0.38967493176460266, -0.7070543169975281, 0.450053870677948, -0.18068954348564148, -0.1627134084701538, -0.06393802911043167, 0.6531711220741272, -0.04423515871167183, -0.4079211950302124, 0.0013438317691907287, 0.4974677860736847, 0.12131790816783905, 0.22960549592971802, -0.23844647407531738, -0.2503318190574646, -0.026773424819111824, 0.15601053833961487, 0.2506392300128937, 0.26925161480903625, -0.12215036153793335, 0.7602995038032532, 0.5711479187011719, -0.03478304296731949, -0.15290631353855133, -0.04927691072225571, 0.9137936234474182, -0.4637221693992615, -0.7659540772438049, -0.5634503960609436, 0.40030762553215027, -0.3759343922138214, -0.09437984228134155, 0.47422468662261963, 0.5802109241485596, 0.7112006545066833, -0.3161901533603668, 0.8777315020561218, 0.32055628299713135, 1.0507738590240479, -0.7294650077819824, 0.5392788052558899, -0.6507608890533447, 0.8654168844223022, 0.02370396815240383, -0.6186591386795044, -0.2952783703804016, 0.16615112125873566, -0.30250170826911926, 0.2913624048233032, 0.4650445580482483, 0.7267659902572632, -0.5175410509109497, 0.02660803124308586, 0.2387898862361908, 0.2528681457042694, 0.08808393031358719, 0.3407682776451111, 0.8716434240341187, -0.28805097937583923, 0.617713987827301, -0.4693746566772461, -0.11104726046323776, -0.4027758836746216, -1.2012338638305664, -0.9814048409461975, -0.29523563385009766, -0.3707345128059387, -0.23119992017745972, 0.011695323511958122, 0.8622697591781616, 0.5072153210639954, -1.143823504447937, 0.10934676975011826, -0.03932855278253555, -0.10646446794271469, -0.4374341368675232, -0.2881585657596588, 0.6849707961082458, -0.2758272588253021, -0.5857634544372559, 0.6464852690696716, 0.02926870435476303, 0.37763240933418274, -0.2729576528072357, 0.2881487011909485, 0.2868083119392395, -0.45737946033477783, 0.14367254078388214, 0.6716764569282532, -0.22949521243572235, -0.15618610382080078, -0.04377760365605354, 0.5607925057411194, 0.1505550891160965, 0.7627093195915222, -0.9812118411064148, 0.5947412252426147, 0.24486735463142395, 0.7160102128982544, 0.6626492738723755, 0.09882792085409164, 0.19949467480182648, -1.021901249885559, 0.5029148459434509, 0.04452797770500183, 0.2881009578704834, 0.4592771530151367, -0.8813654184341431, 0.44589170813560486, 0.45350220799446106, -0.4849475622177124, -0.9199175834655762, 0.23202304542064667, -0.6453014612197876, -0.042780451476573944, 0.482726514339447, -0.08330562710762024, 0.11975123733282089, -0.5991415977478027, 0.3352647125720978, 0.3789336681365967, -0.5317285060882568, 1.215386152267456, 0.030101701617240906, -0.764220118522644, 0.05862255021929741, -0.30854326486587524, 0.3384886384010315, 0.18799495697021484, -0.9249978065490723, -0.1779893934726715, 0.1571115404367447, 0.3206229507923126, 0.0998997613787651, 0.12312944233417511, 0.16152088344097137, 0.41096746921539307, -0.20184919238090515, -0.4177863299846649, -0.5048057436943054, -0.1990637332201004, -0.6829055547714233, 0.1423712819814682, -0.26519888639450073, -0.6745132207870483 ]
http://arxiv.org/abs/2406.12255v1
http://arxiv.org/pdf/2406.12255v1
A Hopfieldian View-based Interpretation for Chain-of-Thought Reasoning
2024-06-18T04:07:13
2024-06-18T04:07:13
Lijie Hu, Liang Liu, Shu Yang, Xin Chen, Hongru Xiao, Mengdi Li, Pan Zhou, Muhammad Asif Ali, Di Wang
cs.CL
cs.CL, cs.AI, cs.HC, cs.LG
Chain-of-Thought (CoT) holds a significant place in augmenting the reasoning performance for large language models (LLMs). While some studies focus on improving CoT accuracy through methods like retrieval enhancement, yet a rigorous explanation for why CoT achieves such success remains unclear. In this paper, we analyze CoT methods under two different settings by asking the following questions: (1) For zero-shot CoT, why does prompting the model with "let's think step by step" significantly impact its outputs? (2) For few-shot CoT, why does providing examples before questioning the model could substantially improve its reasoning ability? To answer these questions, we conduct a top-down explainable analysis from the Hopfieldian view and propose a Read-and-Control approach for controlling the accuracy of CoT. Through extensive experiments on seven datasets for three different tasks, we demonstrate that our framework can decipher the inner workings of CoT, provide reasoning error localization, and control to come up with the correct reasoning path.
[ -0.3552353084087372, -0.8748387098312378, 0.9053955674171448, -0.11860819905996323, -0.22784937918186188, 0.37181827425956726, -0.09257012605667114, -0.5395563840866089, 0.10860847681760788, 0.6272457838058472, -0.4568686783313751, -0.30463358759880066, -0.7098631858825684, 0.08938556909561157, -0.28812992572784424, 0.987355649471283, -0.5272948145866394, -0.4450671672821045, 0.21036770939826965, 0.10413595288991928, -0.610988974571228, -0.392238974571228, -0.588434636592865, -0.21375338733196259, 0.7116611003875732, 0.33162468671798706, 1.0301200151443481, 0.5514280200004578, 0.5326470732688904, 0.08719735592603683, -0.5880123972892761, 0.4146013557910919, -0.5214651226997375, 0.052213627845048904, -0.44013917446136475, -0.9603906869888306, -0.4849851727485657, 0.024468325078487396, 0.3084820806980133, 0.7179328203201294, 0.08853936940431595, 0.0034275418147444725, -0.06644203513860703, 0.6378254890441895, -1.1856963634490967, -0.26994213461875916, -0.585328996181488, 0.07097943872213364, 0.14182572066783905, -0.3203364908695221, -0.7156493067741394, -0.21497930586338043, 0.05551585182547569, -0.205064594745636, 0.03547285124659538, 0.28530749678611755, 0.34477731585502625, -0.026169458404183388, -0.6651152968406677, -0.3945755362510681, -0.82662034034729, 0.7161824107170105, -0.6030671000480652, 0.3589623272418976, 0.5806246995925903, 0.07092597335577011, -0.39911749958992004, -0.3099512755870819, -0.7286038398742676, -0.10734447836875916, -0.26391467452049255, 0.11634892970323563, 0.06618453562259674, 0.13281264901161194, 0.4314056932926178, 0.29438382387161255, -0.35905197262763977, -0.3644793927669525, -0.25500568747520447, 0.1897815465927124, 0.510888397693634, 0.18464267253875732, -0.04996916279196739, 0.04301103204488754, -0.4771347939968109, 0.013863892294466496, -0.5872029066085815, 0.16394607722759247, -0.035525619983673096, 0.2676655054092407, -0.02499995566904545, 0.49021321535110474, -0.13365627825260162, 1.009647011756897, 0.10494186729192734, 0.19105008244514465, -0.20532886683940887, -0.2910177707672119, -0.5342745780944824, 0.004689323250204325, 0.5576673746109009, 0.12371736019849777, 0.2270204722881317, -0.22907285392284393, -0.0261614378541708, -0.05077383294701576, 0.5993984341621399, -0.4992409646511078, 0.16011279821395874, 0.6231317520141602, -0.2768653631210327, -0.6139149069786072, 0.08297472447156906, -0.44356903433799744, -0.3806033432483673, -0.18260829150676727, 0.34513717889785767, -0.417329341173172, -0.2971718907356262, 0.29432782530784607, -0.052351802587509155, 0.3007110059261322, 0.5095500349998474, -0.8069269061088562, 0.4221577048301697, 0.6950138807296753, 0.8906120657920837, -0.2981031537055969, -0.38795340061187744, -0.6007062792778015, 0.28763461112976074, -1.1806639432907104, 0.8219391107559204, -0.4862583875656128, -0.09501458704471588, -0.23336461186408997, -0.30569595098495483, -0.1965264081954956, -0.19589674472808838, -0.12095367163419724, -0.6381146311759949, 0.05732446163892746, -0.4419560432434082, -0.5131397247314453, -0.042176298797130585, 0.5263119339942932, -0.4449673891067505, 0.6535168290138245, -0.1811947226524353, -0.9696356058120728, 0.5232403874397278, -0.3604453206062317, -0.14415104687213898, -0.15951190888881683, -0.42507249116897583, 0.24596840143203735, 0.3423563241958618, 0.3037317097187042, 0.18325699865818024, -0.2734518051147461, 0.20044872164726257, -0.17239968478679657, -0.5224327445030212, 0.4096052050590515, -0.4789181053638458, 0.8665083050727844, 0.2657042145729065, -0.608025074005127, 0.1010359451174736, -0.5313013792037964, 0.36129558086395264, -0.14994795620441437, -0.02753540687263012, -0.27600520849227905, 0.05136483535170555, -0.48356693983078003, 0.21358995139598846, -0.3132159113883972, -0.2398870587348938, 0.344899982213974, -0.33540523052215576, 0.08139616996049881, 0.5997741222381592, 0.31458935141563416, 0.4157201945781708, -0.4255877137184143, 0.6663486957550049, 0.17645125091075897, 0.33226069808006287, -0.04846390709280968, -0.2715218961238861, -0.5167420506477356, -0.10846968740224838, 0.09203080087900162, 0.3172808289527893, -0.6304061412811279, 0.11672674864530563, 0.21627548336982727, -0.2825380265712738, -0.33238643407821655, -0.06341780722141266, 0.3365846276283264, 0.5986587405204773, 0.34873878955841064, -0.1899968683719635, -0.05109434574842453, -0.5433139801025391, -0.4467320144176483, -0.35254746675491333, 0.2333970069885254, 0.08156084269285202, 0.4551607668399811, 0.04831802472472191, 0.8676788210868835, -0.3815900385379791, 0.30009645223617554, -0.4194716811180115, 0.10160846263170242, 0.554743230342865, 0.34258896112442017, 0.03749885782599449, -0.62635737657547, -0.13468368351459503, 0.11523645371198654, -0.695029616355896, 0.14068275690078735, -0.46475303173065186, -0.7931349277496338, 0.030889352783560753, 0.4717480540275574, -0.549000084400177, 1.0004194974899292, 0.07929236441850662, -0.5323998928070068, 0.6940765976905823, -0.15804722905158997, 0.4113350510597229, -0.6886186599731445, -0.15950854122638702, -0.4968675971031189, -0.3232634961605072, -0.4564219117164612, 0.48203930258750916, 0.07281792908906937, 0.40703657269477844, -0.429657518863678, 0.03820022940635681, -0.3012179136276245, -0.030906109139323235, -0.49205297231674194, 0.3751367926597595, 0.2584632635116577, 0.3784812092781067, 0.24112260341644287, 0.7544576525688171, 0.5091066360473633, -0.7407504320144653, 0.1777622401714325, 0.4675654470920563, -0.16812582314014435, 0.38513731956481934, -0.4181508719921112, 0.31019413471221924, -0.2300119549036026, 0.5386553406715393, -0.9036453366279602, 0.03388785570859909, 0.25170356035232544, -0.2830200493335724, 0.00783564243465662, 0.07573438435792923, -0.14753152430057526, -0.1327735036611557, -0.2707861661911011, 0.39977315068244934, 0.180946484208107, -0.7656381130218506, 0.5063751339912415, -0.13518115878105164, 0.27084681391716003, -0.7842854261398315, -0.7644042372703552, -0.14104270935058594, -0.05912616476416588, -0.16010716557502747, 0.11611726135015488, 0.12864604592323303, -0.5525830984115601, -0.17537418007850647, -0.5301932692527771, 0.02942012809216976, -0.1106635257601738, -0.03548845276236534, 0.47913914918899536, 0.05213235691189766, 0.4553906321525574, 0.006519270595163107, -0.01155856903642416, 0.1487530618906021, -0.48354005813598633, 0.42277058959007263, -0.18664155900478363, -0.17292888462543488, -0.3230589032173157, 0.29800286889076233, 0.5553170442581177, -0.22952263057231903, 0.8643145561218262, -0.10850854218006134, -0.21747621893882751, -0.46245864033699036, -0.26096174120903015, 0.1278267204761505, -0.35901540517807007, -0.1384098380804062, -0.5681278109550476, -0.4973083734512329, 0.34919384121894836, -0.1650448590517044, 0.08568159490823746, 0.31612059473991394, 0.6126512289047241, -0.42846399545669556, 0.7524497509002686, 0.41513195633888245, 0.15851420164108276, 0.17295649647712708, -0.5949659943580627, 0.358218789100647, -1.0664727687835693, -0.3555099368095398, -0.34352907538414, -0.2934577465057373, -0.5756513476371765, -0.5740403532981873, 0.12495201081037521, 0.5617942214012146, -0.48841431736946106, 0.504944384098053, -0.347262978553772, 0.5644325613975525, 0.24995861947536469, 0.3364662826061249, 0.6010147333145142, -0.30328595638275146, -0.5486838817596436, 0.5162325501441956, -0.7864617705345154, -0.6895999908447266, 0.8675858974456787, 0.14141316711902618, 1.0735281705856323, 0.11281933635473251, 0.681311845779419, 0.18612170219421387, -0.03789083659648895, -0.836109459400177, 0.25561946630477905, 0.3810414969921112, -0.8630533218383789, -0.19901731610298157, -0.37837594747543335, -0.6025537848472595, 0.4482063055038452, -0.2121347039937973, -1.1166149377822876, 0.4107958972454071, 0.4565233290195465, -0.42794057726860046, 0.640839159488678, -0.47356465458869934, 0.6692401170730591, -0.4550924599170685, -0.6834054589271545, -0.3677174150943756, -0.6253734827041626, 0.2707962393760681, 0.054679300636053085, 0.37075021862983704, 0.4605535566806793, -0.07351513206958771, 0.4758087694644928, -0.6842556595802307, 0.592331051826477, 0.31878843903541565, -0.2502506971359253, 0.7189148664474487, 0.5187153816223145, 0.667774498462677, -0.10203363746404648, 0.02551097236573696, 0.03208158165216446, 0.38839152455329895, -0.46034225821495056, -0.9316226243972778, 0.3486775755882263, -0.4751531481742859, -0.6732420325279236, -0.6506585478782654, -0.7113946080207825, -0.5375232696533203, 0.00706045376136899, 0.3145257830619812, 0.5082891583442688, 0.24905700981616974, -0.06119362264871597, 0.37452951073646545, -0.19615386426448822, 0.24343612790107727, -0.016088396310806274, -0.8646706342697144, -0.13015757501125336, 0.2846292555332184, -0.04266463220119476, 0.8743403553962708, 0.5615368485450745, 0.14253924787044525, -0.12944164872169495, -0.38981521129608154, -0.2768101692199707, 0.12704098224639893, -0.738720178604126, 0.0958826020359993, -0.4782674312591553, -0.025502396747469902, -0.1903916746377945, -0.27082642912864685, -0.3391779959201813, -0.305586576461792, 0.184766486287117, -0.43180617690086365, 0.26487916707992554, 0.9094655513763428, 0.08632436394691467, 0.3892888128757477, -0.25959447026252747, 0.34495824575424194, 0.11867497116327286, 0.6308892965316772, 0.27898404002189636, -0.27539944648742676, -0.18292304873466492, 0.01861456409096718, -0.36016735434532166, -0.9019383788108826, -0.010290484875440598, -0.4751989245414734, 0.13749945163726807, 0.3058255612850189, 0.025538843125104904, 0.9232080578804016, -0.3486935794353485, 0.5628112554550171, 0.16265127062797546, -1.04818856716156, 0.8842275738716125, 0.05005413293838501, 0.33333662152290344, 0.5459379553794861, 0.48900657892227173, -0.37519195675849915, -0.500898540019989, -0.610466480255127, -0.5586440563201904, 0.6478577852249146, 0.4846699833869934, -0.2777203619480133, -0.20250502228736877, 0.5110756754875183, 0.15070025622844696, -0.017061160877346992, -0.3279537856578827, 0.14494553208351135, 0.22617042064666748, 0.12858480215072632, 0.15055757761001587, -0.05291907489299774, 0.02397497557103634, -0.08795420825481415, 0.6307814717292786, -0.07980085164308548, 0.21450337767601013, 0.5879979133605957, -0.12402192503213882, -0.4043594300746918, 0.39726272225379944, 0.3271041810512543, 1.1978925466537476, -0.4795059263706207, 0.4518370032310486, 0.2509081959724426, -0.42780157923698425, 0.19552451372146606, -0.734714150428772, -0.19792142510414124, -0.14006160199642181, 0.965475857257843, 0.9165343046188354, -0.26565369963645935, -0.5540838241577148, 0.33248424530029297, 0.019828839227557182, -0.09184501320123672, -0.08348414301872253, 0.4219752550125122, -0.15500029921531677, 0.3890937268733978, 0.09786386042833328, 0.2888854146003723, 0.07688389718532562, -0.8088998794555664, 0.13706742227077484, 0.3325735032558441, -0.5537995100021362, 0.07241318374872208, 0.5464873909950256, -0.23522575199604034, -0.359772264957428, 0.5086930394172668, 0.13339389860630035, -0.42680633068084717, 0.5572172403335571, 0.6215329170227051, 0.6617569923400879, 0.3663704991340637, 0.27023032307624817, 0.15927563607692719, 0.4736347794532776, -0.08041145652532578, 0.4370037913322449, -0.39521992206573486, -0.8876478672027588, -0.7547154426574707, -0.30293938517570496, -0.6414963603019714, 0.12436187267303467, -1.026100754737854, 0.1380743682384491, -0.577397346496582, -0.21215756237506866, -0.11994210630655289, -0.16906149685382843, -0.6207829713821411, 0.5106754899024963, 0.0635269358754158, 1.2733234167099, -0.4642230272293091, 0.562190055847168, 0.2052728235721588, -0.5000295639038086, -1.1340328454971313, 0.5702787637710571, -0.21616502106189728, -0.6040418744087219, 0.45060476660728455, -0.037441711872816086, -0.662282407283783, -0.16358710825443268, -0.6831973791122437, -0.798034131526947, 0.917050838470459, 0.021437618881464005, -0.973875105381012, -0.16596031188964844, -0.2903170883655548, 0.45420345664024353, -0.5177463889122009, 0.5768666863441467, 0.8380110263824463, 0.028251199051737785, 0.41351860761642456, -0.8262531757354736, -0.017343079671263695, 0.17249834537506104, 0.07049032300710678, 0.324847936630249, -0.39765188097953796, 0.4909895062446594, -0.6872112154960632, 0.1679811030626297, -0.28993305563926697, 0.40589168667793274, 0.47827959060668945, 0.2512557804584503, 0.5256455540657043, 0.24035781621932983, 0.8010784983634949, 0.2856901288032532, 1.5749783515930176, 0.009206559509038925, 0.4491625130176544, 1.3108975887298584, -0.259452223777771, 0.9653412103652954, 0.7308720350265503, -0.4145987033843994, 0.7841530442237854, 0.4751379191875458, 0.5990614295005798, 0.5695860385894775, 0.16089586913585663, -0.13175880908966064, -0.3573334515094757, 0.1980777531862259, -0.037594862282276154, 0.5715530514717102, 0.20859579741954803, -0.5432037711143494, 0.0009734683553688228, -0.1182255670428276, -0.10875151306390762, -0.09455297887325287, -0.5155666470527649, 0.6046484708786011, 0.026740290224552155, -0.7597529888153076, 0.763571560382843, -0.47881588339805603, 0.1461361050605774, -0.30444541573524475, -0.06616208702325821, -0.023850442841649055, 0.2556007206439972, -0.10664179176092148, -0.8169119358062744, 0.4056665003299713, 0.4477248787879944, -0.041273459792137146, -0.1022675633430481, 0.471990168094635, -0.11188890039920807, -0.5674208998680115, 0.4076198935508728, 0.6751240491867065, 0.35090529918670654, 0.10058680176734924, -0.37802332639694214, 0.2587036192417145, -0.14725224673748016, -0.31772878766059875, -0.2014070302248001, 0.5043875575065613, -0.4490374028682709, 0.476148784160614, 0.335184246301651, 0.592144250869751, -0.11825573444366455, 0.07511531561613083, 0.7190941572189331, -0.9661882519721985, -0.4569322168827057, -1.0201239585876465, 0.3829476833343506, -0.09767170250415802, -0.33690908551216125, 0.07282596081495285, 0.29226455092430115, 0.9826709628105164, 0.20340067148208618, 0.8341713547706604, -0.272026389837265, 0.42029446363449097, -0.5990473628044128, 0.5308736562728882, -0.3500894606113434, 0.280341237783432, -0.3855268359184265, -0.7133352756500244, -0.2513434588909149, 0.9536398649215698, -0.6796683669090271, 0.0556742399930954, 1.3030608892440796, 0.4934765100479126, 0.08323638886213303, 0.27416032552719116, 0.45713675022125244, 0.5724826455116272, 0.40089279413223267, 0.6494221091270447, 0.950944721698761, -0.44152164459228516, 0.29730871319770813, -0.2794877290725708, -0.5430322289466858, 0.36520916223526, -1.011177659034729, -0.844801664352417, -0.20273669064044952, -0.2898435592651367, -0.489198237657547, 0.09377127885818481, 1.0989798307418823, 0.5167009830474854, -0.9977734088897705, -0.33975350856781006, -0.6681996583938599, 0.2094097137451172, -0.5953545570373535, -0.11962691694498062, 0.45218756794929504, -0.6043850183486938, -0.32650792598724365, 0.12795846164226532, 0.4806077480316162, -0.3979485332965851, 0.08605808764696121, 0.010038229636847973, -0.5782414674758911, 0.3618142902851105, 0.5985051393508911, -0.20679005980491638, -0.9580591917037964, -0.42367345094680786, 0.008593791164457798, -0.032666195183992386, 0.007848037406802177, 0.9344232678413391, -1.0424394607543945, 0.8242850303649902, 0.29859235882759094, 0.4973428249359131, 0.6793971657752991, 0.22796835005283356, 0.6491450667381287, -0.12700167298316956, -0.08271101117134094, 0.15781418979167938, 0.20719324052333832, -0.15355484187602997, -0.569161593914032, 0.6401910781860352, -0.003744435729458928, -0.44534027576446533, -0.5029117465019226, 0.3580258786678314, -0.905102014541626, -0.4061620831489563, 0.9368319511413574, -0.10688420385122299, -0.3423278033733368, 0.07041165232658386, -0.5077933073043823, 0.41721928119659424, 0.10735076665878296, 0.808872640132904, 0.8603057265281677, -0.7400794625282288, -0.29140588641166687, -0.40916723012924194, 0.3380616307258606, 0.20866380631923676, -0.7520654797554016, 0.28240641951560974, 0.3691212832927704, 0.10824853181838989, 0.1302834004163742, 0.7540979981422424, -0.11637891083955765, 0.25362226366996765, 0.03811195120215416, -0.34320127964019775, 0.1304219365119934, -0.6000379920005798, -0.1712801307439804, -0.010533391498029232, 0.1342587172985077, -0.23711226880550385 ]
http://arxiv.org/abs/2406.12252v1
http://arxiv.org/pdf/2406.12252v1
Language and Multimodal Models in Sports: A Survey of Datasets and Applications
2024-06-18T03:59:26
2024-06-18T03:59:26
Haotian Xia, Zhengbang Yang, Yun Zhao, Yuqing Wang, Jingxi Li, Rhys Tracy, Zhuangdi Zhu, Yuan-fang Wang, Hanjie Chen, Weining Shen
cs.CL
cs.CL
Recent integration of Natural Language Processing (NLP) and multimodal models has advanced the field of sports analytics. This survey presents a comprehensive review of the datasets and applications driving these innovations post-2020. We overviewed and categorized datasets into three primary types: language-based, multimodal, and convertible datasets. Language-based and multimodal datasets are for tasks involving text or multimodality (e.g., text, video, audio), respectively. Convertible datasets, initially single-modal (video), can be enriched with additional annotations, such as explanations of actions and video descriptions, to become multimodal, offering future potential for richer and more diverse applications. Our study highlights the contributions of these datasets to various applications, from improving fan experiences to supporting tactical analysis and medical diagnostics. We also discuss the challenges and future directions in dataset development, emphasizing the need for diverse, high-quality data to support real-time processing and personalized user experiences. This survey provides a foundational resource for researchers and practitioners aiming to leverage NLP and multimodal models in sports, offering insights into current trends and future opportunities in the field.
[ -0.309501588344574, -0.5919793844223022, 0.12425928562879562, 0.3532369136810303, 0.14610473811626434, 0.3697567880153656, -0.1530008316040039, -0.7464549541473389, 0.2908688485622406, 0.14823931455612183, -1.0006744861602783, -0.49484989047050476, -0.5159562230110168, -0.08074301481246948, -0.34810811281204224, 0.9763320088386536, -0.20609989762306213, 0.294973224401474, -0.49808719754219055, -0.5526745915412903, -0.7547134160995483, -0.8989107012748718, -0.5350464582443237, -0.29465624690055847, 0.17056456208229065, 0.04690859839320183, 0.5174707174301147, 0.42115381360054016, 0.9453390836715698, 0.29274314641952515, 0.34400472044944763, 0.25645262002944946, -0.3469151556491852, 0.6438026428222656, 0.02568218484520912, -0.12084337323904037, -0.7331940531730652, 0.22982287406921387, 0.6707194447517395, 0.9821819067001343, 0.0015714498003944755, 0.17783738672733307, -0.32484450936317444, 0.5214356780052185, -0.5600733160972595, 0.4298224449157715, -0.054508108645677567, 0.2537202537059784, -0.26291680335998535, -0.5044754147529602, 0.036530252546072006, -0.18674443662166595, -0.004252081271260977, -0.6204160451889038, 0.25698208808898926, 0.05564847216010094, 0.2055746614933014, 0.10329023748636246, -0.5771026015281677, -0.34725281596183777, -0.9709043502807617, 0.9933019280433655, -0.562094509601593, 0.8663228750228882, 0.28960689902305603, 0.5208130478858948, 0.07518470287322998, -0.2491932511329651, -0.22488132119178772, -0.08066502213478088, 0.07151854038238525, 0.3555355370044708, -0.14385706186294556, 0.018528321757912636, 0.11940361559391022, 0.10441424697637558, -0.7090445160865784, 0.1344066858291626, -0.22756369411945343, 0.13332480192184448, 1.0270224809646606, 0.6550143361091614, 0.3641861379146576, 0.23340150713920593, -0.09272212535142899, -0.10068317502737045, -0.37571537494659424, 0.1677703857421875, 0.24409620463848114, 0.3116682171821594, -0.2341698557138443, 0.7016274929046631, -0.6672763228416443, 0.8162181973457336, -0.5167086720466614, -0.4451618194580078, 0.37263599038124084, -0.710522472858429, -0.11861592531204224, -0.054700542241334915, 0.6749280691146851, 0.7019765377044678, 0.12612344324588776, -0.49791601300239563, 0.004445603117346764, 0.004887313582003117, -0.2909402549266815, -0.5627289414405823, -0.20959770679473877, 0.3680262267589569, -0.6639233827590942, -0.24668656289577484, 0.07612183690071106, -0.9754815697669983, -0.5083746910095215, -0.6107308268547058, 0.026361150667071342, -0.3098030984401703, -0.29192960262298584, 0.4122389853000641, -0.4128649830818176, 0.25947505235671997, 0.14130431413650513, -0.8245392441749573, 0.47828903794288635, 0.46240195631980896, 0.568668782711029, -0.08722882717847824, -0.2555627226829529, -0.34273841977119446, 0.2452852576971054, -0.3129447102546692, 0.9770543575286865, -0.7250496745109558, -0.10816866904497147, 0.6096518635749817, -0.1535542905330658, -0.06037452444434166, -0.3554966151714325, 0.3165239989757538, -0.31185582280158997, 0.2323456108570099, -0.054080743342638016, -0.485864520072937, -0.4002212882041931, 0.5133851766586304, -0.9140282869338989, 0.9240071177482605, -0.15549784898757935, -0.46747156977653503, 0.7280516028404236, -1.09738290309906, -0.6234162449836731, -0.2071274369955063, -0.054823536425828934, -0.3574856221675873, 0.1140456572175026, 0.2945896089076996, 0.6285315752029419, -0.4592721164226532, 0.15136200189590454, -0.7149674296379089, -0.08568879961967468, 0.4224516451358795, -0.41170579195022583, 0.5335360169410706, 0.11131942272186279, 0.27448025345802307, -0.1417563110589981, -0.7483541965484619, -0.029638107866048813, -0.06594517827033997, -0.22544458508491516, 0.031192906200885773, 0.5464922785758972, 0.4069967567920685, 0.4850696921348572, 0.047016043215990067, -0.456924170255661, 0.17606106400489807, 0.06563448905944824, 0.16974325478076935, 0.33462151885032654, -0.06065164506435394, 0.47405606508255005, -0.15776130557060242, 0.8537161946296692, 0.05387864261865616, 0.35807517170906067, -0.24836385250091553, -0.5109471678733826, -0.07594534754753113, -0.10466036200523376, 0.15753136575222015, 0.5585567355155945, -0.7595850825309753, 0.005839566234499216, -0.5685815215110779, -0.6055225729942322, -0.257750928401947, 0.11782828718423843, -0.12997844815254211, 0.3967134356498718, 0.2629619538784027, 0.1726510226726532, -0.7965238690376282, -0.7389095425605774, -0.3506007790565491, -0.18110787868499756, 0.3891931474208832, 0.3433094024658203, 0.37694838643074036, 0.08210194110870361, 0.841395378112793, -0.6532317399978638, -0.2725856602191925, -0.5403416752815247, 0.14913804829120636, 0.21131280064582825, 0.5411373376846313, 1.0842409133911133, -1.0637006759643555, -0.4963899254798889, -0.024658365175127983, -1.1078546047210693, -0.017612066119909286, -0.02702639438211918, 0.29243409633636475, -0.14294523000717163, 0.17644010484218597, -0.2900198996067047, 0.3861066997051239, 1.0318210124969482, -0.5428162813186646, 0.549166738986969, 0.020713811740279198, 0.7543789148330688, -0.7122175693511963, 0.2687307298183441, 0.13776659965515137, -0.23773148655891418, -0.9431601762771606, -0.3219815492630005, -0.45674073696136475, -0.13580816984176636, -0.4001936614513397, 0.627785861492157, -0.460498183965683, -0.24186360836029053, -0.3913055658340454, -0.2924646735191345, 0.08639731258153915, 0.10186443477869034, 0.397375226020813, 0.5583041906356812, 0.6397596001625061, -0.6748324632644653, 0.8264515399932861, 0.3860462009906769, -0.38625362515449524, 0.46945446729660034, -0.3405996263027191, -0.27362167835235596, -0.41792526841163635, 0.2929631471633911, -0.7954230904579163, -0.5541899800300598, 0.3640972077846527, -0.22807279229164124, 0.15070737898349762, 0.028981268405914307, -0.46978527307510376, -0.4325850009918213, -0.43617281317710876, 0.8314252495765686, -0.042345304042100906, -0.05394956097006798, 0.6132927536964417, 0.6648943424224854, -0.23498475551605225, -0.4335222840309143, -0.6928960084915161, 0.17562395334243774, -0.2131478637456894, -0.38254380226135254, 0.15146301686763763, -0.3845735192298889, -0.19477912783622742, -0.006364790722727776, 0.11764439940452576, -0.7516036629676819, 0.15222305059432983, 0.0022075767628848553, 0.4013478755950928, -0.2498263567686081, 0.18310406804084778, -0.30033406615257263, 0.15529485046863556, -0.2350374311208725, 0.1020236387848854, 0.3682440221309662, 0.14355328679084778, -0.04352099820971489, -0.5384587645530701, 0.867981493473053, 0.2382885068655014, -0.16500885784626007, 0.7578778266906738, 0.5388472080230713, -0.18023070693016052, 0.13189156353473663, -0.3756519854068756, -0.11283426731824875, -0.3339728116989136, 0.5290416479110718, -0.2504400908946991, -0.8000603318214417, 0.46586695313453674, 0.07406166195869446, 0.15028934180736542, 0.21963846683502197, 0.5399777889251709, -0.6244107484817505, 1.3295769691467285, 0.31007540225982666, -0.16495290398597717, 0.5459644198417664, -0.17508426308631897, 0.06490401923656464, -0.4247935712337494, -0.4234303832054138, -0.5999237298965454, -0.5945965051651001, -0.43520238995552063, -0.11965925246477127, 0.14530523121356964, -0.31091806292533875, -0.017235931009054184, 0.3391532599925995, -0.13225898146629333, 0.6266156435012817, 0.18415142595767975, -0.05941477417945862, 0.30155616998672485, -0.2623589336872101, 0.7720747590065002, -0.44744178652763367, -0.8417564034461975, 0.06131098419427872, 0.9928780198097229, 0.2499352991580963, 0.7260543704032898, 0.41149505972862244, 0.28054147958755493, 0.5872074365615845, 0.20131030678749084, -0.8509666323661804, 0.19391581416130066, -0.40757641196250916, -1.2364128828048706, -0.17840197682380676, -0.29056060314178467, -0.7211672067642212, 0.0125776631757617, -0.44887879490852356, -0.32841429114341736, 0.37031397223472595, 0.1724047213792801, -0.2262292206287384, 0.3362388014793396, -0.5471736192703247, 0.48033982515335083, -0.27693605422973633, -0.31684765219688416, 0.27917802333831787, -0.2617279291152954, 0.6353519558906555, -0.04881427437067032, 0.5302993655204773, -0.41312167048454285, -0.13491222262382507, 0.9840457439422607, 0.03280163183808327, 0.6636092066764832, -0.20422214269638062, 0.049348361790180206, 0.17269669473171234, -0.043331217020750046, 0.00009900705481413752, -0.016084738075733185, -0.1658293455839157, 0.1587096005678177, 0.3142410218715668, -0.45025959610939026, -0.6817549467086792, 0.4376615881919861, -0.3534516394138336, -0.14506344497203827, -0.5774227380752563, -0.6230853199958801, -0.7398520112037659, 0.0003063848416786641, -0.20652861893177032, 0.7218310832977295, -0.2761520743370056, 0.5736740231513977, 0.2804272174835205, -0.01499876193702221, 0.7895652651786804, 0.4235466420650482, -0.3045105040073395, -0.36206597089767456, 0.8615992069244385, 0.279229074716568, -0.27888235449790955, 0.40922877192497253, 0.009092164225876331, -0.6360769867897034, -0.7696385979652405, 0.036182958632707596, 0.05700594559311867, -0.46688541769981384, -0.3823543190956116, -0.16404321789741516, 0.08673067390918732, -0.7208132147789001, 0.2058238387107849, -0.4432038962841034, -0.448703795671463, 0.017266368493437767, -0.1977083832025528, 0.4034823179244995, 0.8317705392837524, -0.182582288980484, 0.38540613651275635, -0.8250063061714172, 0.46530792117118835, -0.06803708523511887, 0.8299018740653992, -0.272647887468338, -0.18242397904396057, -0.4143182933330536, 0.0644063800573349, 0.052428871393203735, -0.8108841180801392, 0.48778215050697327, 0.44019368290901184, 0.6188012957572937, 0.40886741876602173, -0.414373517036438, 0.6073004603385925, -0.6024384498596191, 1.0550036430358887, 0.3932182490825653, -0.3609955608844757, 0.29322102665901184, -0.7091750502586365, -0.023371173068881035, 0.7779720425605774, 0.48377710580825806, -0.8829169273376465, 0.43331751227378845, -0.16386687755584717, -0.40616074204444885, 0.8622678518295288, -0.05078249052166939, 0.16177710890769958, 0.13262537121772766, 0.08756764233112335, 0.278291791677475, 0.4617958664894104, -0.4026847183704376, -0.21038754284381866, -0.3189041018486023, -0.30184951424598694, -0.3798998296260834, 0.23748019337654114, -0.09298968315124512, -0.29995131492614746, 0.5003232359886169, -0.20059633255004883, 0.22729048132896423, -0.2960605025291443, -0.0015457477420568466, 0.24042387306690216, -0.08250319212675095, 0.6767686605453491, 0.6791706681251526, -0.33271467685699463, -0.26532694697380066, -0.09387040883302689, -0.37826257944107056, 0.14794033765792847, 0.006371863652020693, -0.009105969220399857, 0.1586284190416336, 0.6682066321372986, 0.6606043577194214, 0.4324808120727539, -0.767805814743042, 0.47746530175209045, 0.12217123806476593, -0.4336741864681244, -0.050850361585617065, -0.3888404965400696, -0.14250576496124268, 0.1448206901550293, 0.11260649561882019, 0.10401197522878647, 0.5500181913375854, -0.7211799621582031, 0.0650998130440712, 0.4407050907611847, -0.3616488575935364, -0.593737006187439, 0.8163298964500427, 0.2122088223695755, 0.05842495337128639, 0.27777114510536194, 0.4871680438518524, -0.15224827826023102, 0.17277675867080688, 0.2868468463420868, 0.5558544397354126, -0.05153508484363556, 0.4230479896068573, 0.059137992560863495, -0.2220839560031891, 0.023683080449700356, 0.3453250825405121, 0.03307737037539482, -0.793850839138031, -0.6001103520393372, -0.5101268887519836, -0.342868447303772, 0.02690020762383938, -0.5714325308799744, -0.03699619323015213, -0.07587117701768875, -0.513501763343811, 0.28085553646087646, -0.08335552364587784, -1.1510014533996582, 0.5195707678794861, 0.5356626510620117, 0.9318931102752686, -1.0009280443191528, 0.6241110563278198, 0.8574045300483704, -0.8359355330467224, -0.10922793298959732, -0.4966566264629364, 0.12848792970180511, -0.42604365944862366, 0.9099016189575195, -0.4106494188308716, 0.1911514848470688, -0.21416442096233368, -0.45941805839538574, -0.3733642101287842, 0.8424445986747742, 0.04042170196771622, 0.03806488215923309, -0.327764093875885, 0.6737930178642273, 0.2194613665342331, -0.32119277119636536, 0.2776830494403839, 0.7338413596153259, 0.5197789669036865, -0.03802325576543808, -0.7171617746353149, -0.6088161468505859, -0.14525896310806274, -0.08330672979354858, 0.01597905531525612, -0.7477394938468933, 0.5269511342048645, 0.4576977491378784, 0.20978710055351257, -0.13756869733333588, 0.5714953541755676, 0.10206293314695358, 0.28461024165153503, 0.10730552673339844, 0.2782682180404663, 0.35212013125419617, -0.2221243679523468, 1.0885181427001953, -0.06600205600261688, 0.3456207811832428, 0.872891902923584, -0.5588100552558899, 0.5733757019042969, 0.4160865545272827, -0.3122950494289398, 0.24169716238975525, 0.34176817536354065, -0.10756117850542068, 0.4327678680419922, -0.27371931076049805, -0.3551933169364929, -0.43301236629486084, -0.25016531348228455, -0.31228873133659363, 0.9522311091423035, 0.22258859872817993, -0.1659327745437622, -0.5378302931785583, 0.36829298734664917, -0.015524652786552906, -0.02311871387064457, -0.2184317260980606, 0.963589608669281, -0.40099725127220154, -0.452128142118454, -0.23449888825416565, -0.08898699283599854, 0.6042271852493286, -0.8542404174804688, -0.2181989848613739, -0.11749342828989029, 0.06366129964590073, -0.07140574604272842, -1.1301953792572021, 0.34710726141929626, -0.030909372493624687, -0.42118772864341736, -0.5544982552528381, 0.8037421703338623, -0.32015419006347656, -0.5531373620033264, 0.015568559058010578, 0.584338366985321, 0.17254920303821564, -0.0036736787296831608, -0.7514990568161011, 0.24869005382061005, -0.2813689708709717, -0.2115452140569687, 0.20245595276355743, 0.17073114216327667, 0.05584981292486191, 0.6302452683448792, 0.5815168619155884, 0.33526214957237244, 0.4453423321247101, 0.13619060814380646, 0.5663970112800598, -0.6782689094543457, -0.23245233297348022, -0.5819352269172668, 0.5390633344650269, -0.18272416293621063, -0.3498725891113281, 0.7634233832359314, 1.0605412721633911, 0.44118359684944153, -0.40617871284484863, 0.9662266373634338, -0.08640686422586441, 0.6372910737991333, -0.5181803703308105, 0.6828730702400208, -0.49011364579200745, -0.2913871705532074, 0.04164433851838112, -0.6187557578086853, -0.7381042838096619, 0.1513521820306778, -0.13475234806537628, 0.02512126974761486, 0.20198363065719604, 0.10265032947063446, -0.08215417712926865, 0.26147493720054626, 0.3371225893497467, -0.27801820635795593, 0.5893506407737732, 0.17215827107429504, 0.6484086513519287, -0.6889153122901917, 0.371673583984375, -0.22517216205596924, -0.23336464166641235, -0.48045703768730164, -0.7759509682655334, -0.7934297323226929, -0.6889586448669434, -0.3784675598144531, -0.051103632897138596, 0.10211815685033798, 0.8519319295883179, 0.8086904287338257, -1.080426573753357, -0.4296726882457733, 0.4518314003944397, -0.46797701716423035, -0.43088099360466003, -0.1725616753101349, 0.19172507524490356, -0.3977647125720978, -0.9455876350402832, 0.5229582190513611, 0.15077313780784607, -0.03886760026216507, -0.12864086031913757, 0.006155568175017834, -0.48891547322273254, 0.010710550472140312, 0.9616760015487671, 0.7671518325805664, -0.3872435986995697, -0.172495499253273, 0.30569398403167725, 0.27725812792778015, 0.10774878412485123, 0.9846827387809753, -0.7943994402885437, 0.58473801612854, 0.8545430898666382, 0.5003363490104675, 0.2987131178379059, 0.07163270562887192, 0.6960468292236328, -0.6705442667007446, 0.2013922929763794, 0.49793460965156555, 0.1761973798274994, 0.05344284698367119, 0.24093197286128998, 0.5222009420394897, 0.5672900676727295, -0.15169040858745575, -0.7557278871536255, -0.016150759533047676, -0.9531484246253967, -0.1883324682712555, 1.0072810649871826, 0.43321457505226135, -0.10801646113395691, -0.32502567768096924, -0.008847557939589024, 0.08962055295705795, -0.1585111916065216, 0.3902682065963745, 1.1552295684814453, -0.6247415542602539, 0.08579901605844498, -0.9369046092033386, 0.7508363127708435, -0.17913874983787537, -0.8843340277671814, 0.2682300806045532, 0.6897760033607483, -0.06790629029273987, -0.2607892155647278, 0.5674054622650146, -0.051297809928655624, 0.18637771904468536, 0.04260250926017761, 0.005833343602716923, -0.2747894823551178, -0.4948151111602783, -0.08762580156326294, 0.30434051156044006, -0.4383898377418518, -0.23301225900650024 ]
http://arxiv.org/abs/2406.12251v1
http://arxiv.org/pdf/2406.12251v1
Mitigate Negative Transfer with Similarity Heuristic Lifelong Prompt Tuning
2024-06-18T03:57:49
2024-06-18T03:57:49
Chenyuan Wu, Gangwei Jiang, Defu Lian
cs.CL
cs.CL, cs.AI, cs.LG
Lifelong prompt tuning has significantly advanced parameter-efficient lifelong learning with its efficiency and minimal storage demands on various tasks. Our empirical studies, however, highlights certain transferability constraints in the current methodologies: a universal algorithm that guarantees consistent positive transfer across all tasks is currently unattainable, especially when dealing dissimilar tasks that may engender negative transfer. Identifying the misalignment between algorithm selection and task specificity as the primary cause of negative transfer, we present the Similarity Heuristic Lifelong Prompt Tuning (SHLPT) framework. This innovative strategy partitions tasks into two distinct subsets by harnessing a learnable similarity metric, thereby facilitating fruitful transfer from tasks regardless of their similarity or dissimilarity. Additionally, SHLPT incorporates a parameter pool to combat catastrophic forgetting effectively. Our experiments shows that SHLPT outperforms state-of-the-art techniques in lifelong learning benchmarks and demonstrates robustness against negative transfer in diverse task sequences.
[ -0.3021094799041748, -0.5085874795913696, 0.43860501050949097, 0.26102831959724426, -0.33038508892059326, 0.08671695739030838, 0.014369990676641464, -0.35939741134643555, 0.1445460468530655, 0.22718042135238647, -0.9934595227241516, -0.1391458362340927, -0.4714571535587311, -0.21892260015010834, -0.15208959579467773, 0.9523107409477234, -0.008024790324270725, -0.15802936255931854, -0.24411089718341827, -0.3880902826786041, -0.9327545762062073, -0.32810407876968384, -1.0037238597869873, -0.5274111032485962, 0.7100467085838318, 0.5948160290718079, 0.22898371517658234, 0.4421963095664978, 0.6488288044929504, 0.15005822479724884, 0.2946573495864868, -0.17978931963443756, -0.7353599667549133, 0.33724266290664673, -0.629718542098999, -0.2587834298610687, 0.08023705333471298, -0.17623399198055267, 0.49842965602874756, 0.4729357063770294, -0.023835480213165283, 0.4405669867992401, 0.27798590064048767, 0.8397505283355713, -0.8080601096153259, -0.06904704868793488, -0.7511383295059204, 0.24007846415042877, -0.3737541139125824, -0.48921242356300354, -0.23004528880119324, -0.6165828108787537, 0.04603930935263634, -0.5806856751441956, 0.25967180728912354, 0.052631180733442307, 0.6381286978721619, 0.48189854621887207, -0.2585158050060272, -0.06535220146179199, -0.5712419748306274, 0.761997401714325, -0.5395689606666565, 0.18855319917201996, 0.25820663571357727, 0.4839276373386383, 0.19393539428710938, -0.08158953487873077, -0.3158147633075714, -0.36736467480659485, 0.2807981073856354, 0.16787484288215637, 0.24172741174697876, -0.07338574528694153, 0.18073579668998718, 0.04865265637636185, -0.6778571605682373, 0.20453841984272003, -0.4369466304779053, -0.4677381217479706, 0.25217166543006897, 0.2304016500711441, 0.3166470527648926, 0.10709525644779205, -0.5749266147613525, 0.07931054383516312, -0.8521149754524231, -0.10152401775121689, 0.07850362360477448, 0.37177905440330505, 0.08605712652206421, 0.22592861950397491, -0.06084504351019859, 0.5518024563789368, 0.1739199161529541, 0.014196662232279778, 0.06902480125427246, -0.3361583948135376, 0.20934443175792694, -0.00015375993098132312, 0.4033176004886627, 0.49728840589523315, 0.273711621761322, -0.4409341812133789, -0.048230089247226715, 0.137703999876976, 0.4489397704601288, -0.6090943813323975, -0.250503808259964, -0.2957192361354828, -0.33359295129776, -0.13783514499664307, -0.08867800235748291, -0.7601585984230042, -0.3543057441711426, -0.44780418276786804, 0.8990978598594666, -0.5762757658958435, 0.13174861669540405, -0.0779358521103859, -0.15015950798988342, 0.23260445892810822, 0.20619575679302216, -0.8709092736244202, 0.1602376252412796, 0.8318424224853516, 0.9454297423362732, -0.6493624448776245, -0.7146185636520386, -0.9462328553199768, 0.33555859327316284, -0.02399185299873352, 0.817829430103302, -0.40172138810157776, -0.18367622792720795, -0.24981650710105896, -0.059772759675979614, -0.450743705034256, -0.5971139669418335, 0.43879812955856323, -0.49310776591300964, 0.14670197665691376, -0.744388997554779, -0.6138348579406738, -0.1723664402961731, 0.21953098475933075, -0.4722996652126312, 0.7938572764396667, 0.3288581669330597, -0.5282308459281921, 0.416098028421402, -0.5284268856048584, -0.750001072883606, 0.11769348382949829, 0.23440618813037872, -0.6016560196876526, 0.15443287789821625, -0.3176875710487366, 0.2708912193775177, -0.2433772087097168, 0.044042784720659256, -0.712109386920929, -0.8557350635528564, -0.16810522973537445, -0.37969887256622314, 0.7359498143196106, 0.20867738127708435, -0.5225463509559631, 0.09808050841093063, -0.5325474739074707, -0.17984700202941895, -0.2090947926044464, -0.0201248899102211, -0.4514821469783783, -0.3684197664260864, -0.14495566487312317, 0.4699947237968445, 0.3936039209365845, -0.5024738311767578, 0.28327476978302, 0.04977709427475929, 0.5775688290596008, 1.0182878971099854, 0.35457131266593933, 0.5510673522949219, -0.8551298379898071, 0.5539633631706238, -0.0042414008639752865, 0.26360294222831726, 0.005436677020043135, -0.22199146449565887, -0.47253677248954773, -0.06626464426517487, -0.17668703198432922, 0.9396762251853943, -0.4328741133213043, 0.4963468015193939, -0.048748113214969635, -0.3704908788204193, -0.27418169379234314, 0.21206693351268768, 0.2608506977558136, 1.1268396377563477, 0.5779709219932556, -0.45559656620025635, -0.4307587444782257, -0.7741914391517639, -0.4047737121582031, -0.012656757608056068, 0.22495421767234802, 0.21780812740325928, 0.40079614520072937, -0.1368049532175064, 0.5575459599494934, -0.41637417674064636, -0.536191999912262, 0.16672523319721222, 0.033092014491558075, 0.32970505952835083, 0.876531183719635, 0.4993579089641571, -0.602939784526825, -0.7053550481796265, -0.2366262823343277, -0.5485655665397644, -0.06157734990119934, -0.8736060261726379, -0.3081172704696655, 0.01186656579375267, 0.5717113018035889, -0.809650182723999, 0.17121225595474243, 0.15811756253242493, -0.4890384376049042, 0.7161044478416443, -0.3142571449279785, 0.2941809594631195, -1.0037890672683716, 0.41426417231559753, -0.17932021617889404, -0.24834372103214264, -0.13180576264858246, 0.18175636231899261, 0.24373430013656616, -0.040179021656513214, -0.4148785173892975, 0.7689331769943237, 0.005966025870293379, 0.09816469997167587, -0.14030832052230835, -0.1735697090625763, -0.23691347241401672, 0.6061925888061523, -0.407710999250412, 1.0097023248672485, 0.6426612734794617, -0.6542791724205017, 0.3674538731575012, 0.30456626415252686, 0.10941434651613235, 1.2907160520553589, -0.528012216091156, -0.013826536945998669, -0.079373300075531, 0.2677449584007263, -0.8890132308006287, 0.2784595191478729, 0.4757313132286072, -0.21934117376804352, 0.22694499790668488, -0.040584977716207504, -0.06963419914245605, -0.41158196330070496, -0.4329706132411957, 0.4033588767051697, 1.0202127695083618, -0.4205890893936157, 0.22026249766349792, -0.3987462818622589, -0.3424378037452698, -0.5434512495994568, -0.4300355017185211, 0.08131096512079239, -0.6950590014457703, -0.1814691722393036, 0.6019251346588135, -0.46101415157318115, 0.33582648634910583, 0.04164363816380501, -0.5073299407958984, -0.07458692789077759, 0.3334662914276123, 0.3119141757488251, 0.24196143448352814, -0.21531809866428375, 0.14081619679927826, 0.20321322977542877, -0.4206760823726654, -0.10206770151853561, -0.6507399082183838, 0.4008738696575165, 0.13192933797836304, -0.6582565903663635, -0.7917055487632751, 0.2932111918926239, 0.7067605257034302, 0.091912642121315, 0.6955641508102417, 1.017708420753479, -0.05666622146964073, -0.0765606015920639, -0.6960544586181641, -0.4578041136264801, -0.4728735089302063, 0.12922924757003784, -0.2981633245944977, -0.9354375600814819, 0.6683400273323059, -0.1670108139514923, 0.17117321491241455, 0.32711029052734375, 0.24708813428878784, -0.5359756350517273, 0.39572396874427795, 0.6129750609397888, -0.4283434748649597, 0.8086321949958801, 0.12560902535915375, -0.0633053258061409, -0.6592448353767395, 0.050101060420274734, -0.5100187063217163, -0.5508711338043213, -0.1819079965353012, -0.14294852316379547, 0.14037196338176727, 0.26392295956611633, -0.8159761428833008, 0.5668249130249023, -0.3914046287536621, 0.6560764312744141, 0.7860317230224609, 0.21329694986343384, 0.14944647252559662, -0.013307342305779457, -0.06893552094697952, -0.2712324261665344, -0.46720972657203674, 0.09941019862890244, 0.797615110874176, -0.014453699812293053, 0.5417517423629761, -0.05116048827767372, 1.1490317583084106, 0.8075611591339111, 0.25272926688194275, -0.36389708518981934, 0.4797573685646057, -0.38332074880599976, -0.32678282260894775, -0.4790496528148651, -0.588432788848877, -0.6616954207420349, -0.03413206338882446, 0.03900307044386864, -0.7924162745475769, 0.058848969638347626, 0.5030889511108398, -0.42053598165512085, 0.3465844392776489, -0.5639252066612244, 0.7476693987846375, 0.0680568739771843, -0.6737257838249207, -0.5219697952270508, -0.7936822175979614, 0.015742521733045578, -0.35093924403190613, -0.15479683876037598, -0.22448523342609406, 0.009304801933467388, 0.5150887966156006, -0.09771153330802917, 0.7801616787910461, -0.6166749596595764, -0.05178241804242134, 0.008614111691713333, 0.34675726294517517, 0.7137438058853149, 0.05450371652841568, -0.19347357749938965, -0.08357029408216476, -0.035933468490839005, -0.8775486946105957, -0.5851555466651917, 0.8438053131103516, -0.5148793458938599, -0.5744856595993042, -0.04338483139872551, -0.5018318295478821, -0.25800415873527527, 0.5396924018859863, 0.4940965473651886, 0.2365742325782776, -0.03128698468208313, -0.18817074596881866, 0.858883798122406, 0.05895979702472687, 0.3609746992588043, 0.4067985713481903, 0.4823847711086273, -0.1607183963060379, 1.550992727279663, 0.008995703421533108, 0.3085085451602936, 0.6097736954689026, 0.2808936536312103, -0.30613213777542114, -0.5026159286499023, -0.3567018210887909, 0.28476107120513916, -0.5776746273040771, -0.32618334889411926, -0.2343929558992386, -0.1258045732975006, -0.21006923913955688, -0.7714450359344482, -0.360169917345047, -0.46775132417678833, -0.46799013018608093, 0.07223187386989594, 0.20609310269355774, 0.32137009501457214, -0.4550020396709442, 0.15246273577213287, -0.9405002593994141, 0.6143304109573364, 0.7353506088256836, 0.46765515208244324, 0.1366523653268814, -0.746694028377533, 0.1488150954246521, -0.08216708153486252, -0.4159546494483948, -0.7196208238601685, 0.17139199376106262, 0.5403963327407837, 0.6861100196838379, 0.2506387233734131, 0.2383945882320404, 0.8213926553726196, -0.45407217741012573, 0.591422438621521, 0.37861716747283936, -1.0215375423431396, 0.2649385929107666, -0.45389941334724426, 0.6620916724205017, 1.2249855995178223, 0.466900110244751, -0.7550248503684998, -0.1709362119436264, -0.3955121636390686, -0.8423137068748474, 0.34741681814193726, -0.25362536311149597, 0.1309436410665512, 0.2620543837547302, 0.5583797097206116, 0.7106192708015442, 0.05459374189376831, -0.5177806615829468, -0.048437949270009995, -0.14871995151042938, -0.16047026216983795, -0.1280514895915985, 0.1403801441192627, 0.032826464623212814, -0.16186316311359406, 0.7274692058563232, -0.16753877699375153, 0.33125603199005127, 0.057299546897411346, -0.363872230052948, -0.2578776776790619, 0.2758464217185974, 0.5748827457427979, 0.5199747085571289, -0.3176935613155365, 0.16992440819740295, 0.31033292412757874, -0.4107604920864105, 0.558232307434082, -0.011809646151959896, -0.3580438196659088, -0.428711473941803, 0.38811808824539185, 0.5667200684547424, 0.40160757303237915, -0.3684149384498596, 0.3354433476924896, 0.19415903091430664, -0.1997707635164261, -0.1921379417181015, 0.29385191202163696, 0.1791914999485016, 0.2824200689792633, 0.43209439516067505, 0.7573317289352417, 0.14781242609024048, -0.20725023746490479, 0.5449514985084534, 0.2753298878669739, -0.7953351736068726, -0.3781663775444031, 0.5634029507637024, 0.3160597085952759, -0.5166862607002258, 1.0466736555099487, -0.3319317698478699, -0.4795299470424652, 0.6018040180206299, 0.7062702178955078, 0.9028480648994446, -0.22186332941055298, 0.3949606418609619, 0.5269812941551208, 0.09092403203248978, -0.28909197449684143, 0.2379392832517624, -0.6424405574798584, -0.36430829763412476, -0.3496382236480713, -0.33102086186408997, -0.26064741611480713, -0.13571526110172272, -0.9018548130989075, -0.027085870504379272, -0.4102109372615814, 0.12921620905399323, -0.48884958028793335, -0.1480497121810913, -0.7184167504310608, -0.25599774718284607, 0.11730870604515076, 0.9075546860694885, -1.0377633571624756, 0.7170968651771545, 0.4123243987560272, -0.12583427131175995, -0.2371147722005844, 0.10095558315515518, 0.07430010288953781, -0.876274585723877, 0.3944471478462219, 0.32209616899490356, -0.10167120397090912, 0.15224474668502808, -0.12135613709688187, -0.8501289486885071, 1.1321377754211426, 0.3947674334049225, -0.869559645652771, -0.2786562442779541, -0.18850518763065338, 0.2291896492242813, 0.1560012400150299, -0.22170081734657288, 0.5109097361564636, 0.5840179324150085, 0.2255493551492691, -0.9054831862449646, 0.4236278831958771, 0.024366652593016624, -0.21733228862285614, 0.3908845782279968, -0.7484807372093201, 0.5581815838813782, -0.5570278763771057, -0.265123575925827, 0.24352499842643738, 0.3048516511917114, 0.4283452033996582, 0.3891078531742096, 0.3997228741645813, 0.6933862566947937, 0.6767581105232239, 0.2608148753643036, 0.5185946822166443, -0.29491811990737915, 0.40822315216064453, 1.1281996965408325, -0.45192626118659973, 0.5351813435554504, 0.7132548689842224, -0.14949782192707062, 0.13611267507076263, 0.5935437083244324, -0.16896291077136993, 0.9019692540168762, 0.23795025050640106, -0.18950599431991577, -0.3646174371242523, -0.06873685866594315, -0.5199916362762451, -0.1013689637184143, 0.16277764737606049, 0.06741665303707123, -0.49763163924217224, 0.20567584037780762, -0.24573564529418945, 0.05193640664219856, -0.32386550307273865, 0.8007965087890625, 0.15316033363342285, -0.8215991854667664, 0.6048392653465271, -0.6202282309532166, 1.066534399986267, -0.650119960308075, -0.19859294593334198, -0.38254812359809875, 0.1613788902759552, -0.10290558636188507, -0.4011564254760742, 0.4958442747592926, -0.7849345207214355, -0.1722531020641327, -0.45009100437164307, 0.7100210189819336, -0.16695503890514374, -0.08683346211910248, 0.11325482279062271, 0.4469192326068878, -0.318693608045578, -0.009555000811815262, -1.0104721784591675, -0.12515605986118317, 0.20505240559577942, 0.041389547288417816, 0.5790611505508423, 0.1908910870552063, -0.13319151103496552, 0.9304192066192627, 0.504216730594635, 0.30593594908714294, -0.040116336196660995, -0.11095986515283585, 0.6009935736656189, -0.9046525955200195, -0.8414352536201477, -0.8668784499168396, 0.12015023082494736, 0.17485183477401733, -0.4781597852706909, 0.6679499745368958, 0.21113474667072296, 0.6066094040870667, -0.2576621472835541, 0.6400702595710754, 0.0037645609118044376, 0.37584006786346436, -0.42247942090034485, 0.6366189122200012, -0.29816994071006775, 0.17002369463443756, -0.31979748606681824, -1.2320775985717773, -0.29498013854026794, 0.4671175181865692, -0.2598626911640167, -0.06202489510178566, 0.6905059814453125, 0.6039460301399231, -0.233835369348526, -0.057753488421440125, 0.3091091215610504, -0.09494931250810623, 0.30083197355270386, 1.1138427257537842, 0.8320209980010986, -0.11060278862714767, 0.32046523690223694, -0.23232759535312653, -0.14698952436447144, -0.366794615983963, -1.0457478761672974, -0.5547544360160828, -0.7622477412223816, -0.4672746956348419, -0.12767598032951355, 0.604840099811554, 0.8829575777053833, 1.033740758895874, -0.8361757397651672, 0.01883358508348465, -0.492725133895874, 0.14754816889762878, -0.6679278016090393, -0.2599937319755554, 0.4386270046234131, -0.4249506890773773, -0.01850714720785618, 0.1953783631324768, 0.2733047306537628, 0.0017964759608730674, -0.10657305270433426, -0.08094047755002975, 0.1557391732931137, -0.08856537938117981, 0.42527511715888977, 0.755590558052063, -0.321880042552948, -0.45839548110961914, -0.18974052369594574, -0.04877050220966339, 0.006511581130325794, 1.0928966999053955, -0.8878572583198547, -0.021922040730714798, 0.5192084908485413, 0.9874811768531799, 0.29646366834640503, -0.05212247371673584, 0.36588048934936523, -0.4440540075302124, 0.00826752558350563, 0.5589616894721985, -0.03682071343064308, 0.17681559920310974, -0.6356862187385559, 0.196039617061615, 0.3723452687263489, -0.6656593084335327, -0.5695698857307434, 0.35523131489753723, -0.9879474639892578, -0.4587407112121582, 0.7064298987388611, -0.16850900650024414, 0.0029294996056705713, -0.23534449934959412, -0.16378451883792877, 0.054514531046152115, -0.617622971534729, 1.1738533973693848, 0.3983893394470215, -0.35182568430900574, -0.20816068351268768, -0.24527934193611145, 0.37265288829803467, 0.717431902885437, -0.7041823267936707, -0.060546208173036575, 0.2940414249897003, 0.7278575301170349, -0.11041206866502762, 0.6462501883506775, 0.10124611109495163, 0.6968278288841248, -0.12392356991767883, -0.3023458421230316, -0.2094862461090088, -0.42129042744636536, -0.4544864296913147, 0.4584864377975464, 0.01800667680799961, -0.038059379905462265 ]
http://arxiv.org/abs/2406.12246v2
http://arxiv.org/pdf/2406.12246v2
TroL: Traversal of Layers for Large Language and Vision Models
2024-06-18T03:42:00
2024-06-19T21:40:03
Byung-Kwan Lee, Sangyun Chung, Chae Won Kim, Beomchan Park, Yong Man Ro
cs.LG
cs.LG, cs.CL, cs.CV
Large language and vision models (LLVMs) have been driven by the generalization power of large language models (LLMs) and the advent of visual instruction tuning. Along with scaling them up directly, these models enable LLVMs to showcase powerful vision language (VL) performances by covering diverse tasks via natural language instructions. However, existing open-source LLVMs that perform comparably to closed-source LLVMs such as GPT-4V are often considered too large (e.g., 26B, 34B, and 110B parameters), having a larger number of layers. These large models demand costly, high-end resources for both training and inference. To address this issue, we present a new efficient LLVM family with 1.8B, 3.8B, and 7B LLM model sizes, Traversal of Layers (TroL), which enables the reuse of layers in a token-wise manner. This layer traversing technique simulates the effect of looking back and retracing the answering stream while increasing the number of forward propagation layers without physically adding more layers. We demonstrate that TroL employs a simple layer traversing approach yet efficiently outperforms the open-source LLVMs with larger model sizes and rivals the performances of the closed-source LLVMs with substantial sizes.
[ -0.30660954117774963, -0.4846278131008148, 0.5717635154724121, 0.24142596125602722, -0.5600461363792419, 0.3584405481815338, 0.0044257319532334805, -0.7658684253692627, -0.16026443243026733, 0.9609465003013611, -0.4127395749092102, -0.6134707927703857, -0.41315075755119324, -0.3424304127693176, -0.35610705614089966, 0.5716854929924011, 0.08541032671928406, -0.20133844017982483, -0.09546486288309097, -0.10101769119501114, -0.18366886675357819, -0.24100808799266815, -0.6974305510520935, -0.2618619203567505, 0.8520339727401733, 0.2759985029697418, 0.6259545683860779, 0.8329010605812073, 0.6252543926239014, 0.34813547134399414, -0.16800564527511597, 0.4142630696296692, -0.3634854853153229, 0.07019157707691193, -0.12169800698757172, -0.31855645775794983, -0.3581726551055908, -0.059650175273418427, 0.853882372379303, 0.5816245675086975, -0.1736585795879364, 0.2641567587852478, -0.16420921683311462, 0.8304163813591003, -0.7264854311943054, -0.03759520873427391, -0.5386679768562317, 0.16924339532852173, -0.15999312698841095, -0.18746954202651978, -0.6718636751174927, -0.10166122019290924, 0.5658631920814514, -0.6242079138755798, 0.1991041600704193, 0.14064307510852814, 0.538125216960907, 0.12485591322183609, -0.252383291721344, 0.16003146767616272, -0.6862651705741882, 0.8930158019065857, -0.7151065468788147, 0.7746135592460632, -0.01671244204044342, 0.4389129877090454, 0.21503379940986633, -1.0978147983551025, -0.39414700865745544, -0.345935583114624, 0.17943350970745087, -0.12474152445793152, -0.19901201128959656, 0.2706088423728943, 0.3406163454055786, 0.18323762714862823, -0.5197449326515198, 0.012739610858261585, -0.5263272523880005, -0.13596604764461517, 0.3225947320461273, 0.030847078189253807, 0.2633688449859619, 0.030801469460129738, -0.6234601736068726, -0.30299219489097595, -0.7321493625640869, 0.004664530046284199, 0.0346081405878067, 0.1444273293018341, -0.03733908385038376, 0.3671104907989502, -0.03574368357658386, 1.046194314956665, -0.18945863842964172, -0.3135320544242859, 0.3172812759876251, -0.22782734036445618, -0.45047447085380554, -0.11914151161909103, 0.4161180555820465, 0.2192191630601883, 0.23824867606163025, -0.21052956581115723, -0.1910925954580307, -0.2608225345611572, 0.2887815237045288, -0.78117835521698, -0.10010524839162827, 0.10918871313333511, -0.31110161542892456, -0.38239097595214844, -0.1545165628194809, -0.8682772517204285, -0.15366119146347046, -0.08519599586725235, 0.45135533809661865, -0.34294024109840393, 0.012882959097623825, 0.18867997825145721, -0.07891881465911865, 0.5719895958900452, 0.6304324269294739, -0.5192420482635498, 0.29901421070098877, 0.5513584613800049, 1.0468685626983643, -0.06747370958328247, -0.309660404920578, -1.0705175399780273, 0.3060435354709625, -0.35112011432647705, 0.5272168517112732, -0.7888402938842773, -0.25464800000190735, -0.056928250938653946, -0.14465752243995667, 0.05406392365694046, -0.5417240262031555, 0.42411068081855774, -0.7235909104347229, 0.13356097042560577, 0.0446198508143425, -0.18812832236289978, -0.4242279529571533, 0.3493903577327728, -0.7692394852638245, 0.7370293140411377, 0.18001192808151245, -0.6739437580108643, 0.019149545580148697, -0.41194793581962585, -0.433431476354599, 0.2334119826555252, -0.025397134944796562, -0.4641817510128021, 0.26828694343566895, 0.48511311411857605, 0.2017066329717636, -0.4285328984260559, -0.1643567532300949, -0.10357946902513504, -0.4406015872955322, -0.28621673583984375, -0.21645869314670563, 0.8208953738212585, 0.2080250382423401, -0.23529554903507233, 0.2326451539993286, -0.6905468702316284, 0.20910118520259857, -0.003956454806029797, -0.48682552576065063, -0.48522621393203735, 0.006479648407548666, -0.2733787000179291, 0.24551397562026978, 0.13187569379806519, -0.5521745085716248, 0.20668651163578033, -0.5285640358924866, 0.5903695225715637, 0.7819476127624512, -0.21473295986652374, 0.37813588976860046, 0.03760462999343872, 0.5759735703468323, 0.27805572748184204, 0.3742225468158722, -0.15912622213363647, -0.5138370394706726, -0.8917326927185059, -0.2489202618598938, 0.01490335538983345, 0.38578060269355774, -1.2202420234680176, -0.11889554560184479, -0.3450009822845459, -0.45379966497421265, -0.3725684583187103, 0.2684813141822815, 0.5411375761032104, 0.6163452863693237, 0.39022698998451233, -0.30222079157829285, -0.5193396806716919, -0.9225247502326965, -0.03551588952541351, -0.30796971917152405, -0.10463659465312958, 0.5944322347640991, 0.45480290055274963, -0.06825117021799088, 0.519324779510498, -0.4751755893230438, -0.05467798188328743, -0.37356045842170715, -0.17150551080703735, -0.017830507829785347, 0.29604166746139526, 0.45407548546791077, -0.6368759274482727, -0.3020714223384857, 0.31063249707221985, -0.4890301525592804, -0.09278799593448639, 0.11897702515125275, -0.17669729888439178, 0.12300039827823639, 0.3766462206840515, -0.5237100720405579, 0.15520510077476501, 0.795968770980835, -0.24118229746818542, 0.45920318365097046, -0.24321770668029785, -0.24301421642303467, -0.7400508522987366, -0.031177276745438576, 0.10472733527421951, -0.5070908069610596, -0.7695859670639038, 0.5298522710800171, 0.10490994155406952, -0.11099211126565933, -0.830848217010498, 0.5657922029495239, -0.6430364847183228, -0.4374956488609314, -0.016943324357271194, 0.2296592891216278, 0.3290907144546509, 0.530183732509613, 0.040042053908109665, 0.7123976349830627, 0.7523033618927002, -0.41492360830307007, 0.6755958199501038, -0.06776920706033707, -0.35033732652664185, 0.17077983915805817, -0.6815246343612671, 0.43884071707725525, -0.03538357838988304, 0.2153121680021286, -0.5628235340118408, 0.14957810938358307, 0.23509274423122406, -0.04044913873076439, 0.22117979824543, -0.2174665927886963, -0.19214831292629242, -0.4749129116535187, -0.5235282182693481, 0.6760832667350769, 0.5828831195831299, -0.981080174446106, 1.138791799545288, 0.20732569694519043, 0.25708281993865967, -0.7446560263633728, -0.8872453570365906, 0.35710662603378296, -0.23148490488529205, -0.9696857929229736, 0.18764019012451172, 0.01295887678861618, -0.11609435826539993, -0.12266302853822708, -0.12904618680477142, -0.021809594705700874, -0.2172074168920517, 0.00019128223357256502, 0.32955867052078247, -0.3944869935512543, -0.15907680988311768, -0.29654407501220703, 0.20715273916721344, 0.04249576851725578, -1.04420804977417, 0.6275513172149658, -0.2984994947910309, -0.1623646318912506, -0.046175532042980194, 0.1376824826002121, 0.6441757082939148, -0.7006555795669556, 0.5766099691390991, 0.3812107443809509, -0.18360073864459991, -0.6570478081703186, -0.6581105589866638, 0.15240249037742615, -0.5287401676177979, 0.49120524525642395, -0.3812507390975952, -0.9327307939529419, 0.47227033972740173, 0.18971599638462067, 0.06801382452249527, 0.11908405274152756, 0.30719679594039917, 0.02757973037660122, 0.8220601081848145, 0.4468151032924652, -0.000013990385923534632, 0.5715620517730713, -0.4315812289714813, -0.00418907031416893, -0.9252145886421204, -0.2655118405818939, -0.1830161064863205, -0.4453778564929962, -0.46166542172431946, -0.948273241519928, 0.31013157963752747, -0.2702562212944031, -0.1831403225660324, 0.10866028815507889, -0.4337638318538666, 0.6165640354156494, 0.8219519853591919, 0.3818609118461609, 0.4356064200401306, 0.3870287537574768, -0.22501325607299805, 0.39786580204963684, -0.736291766166687, -0.1853542923927307, 0.8579211235046387, 0.5866031646728516, 0.9130314588546753, 0.13575242459774017, 0.47507837414741516, 0.07858648151159286, 0.07839594781398773, -0.6409872174263, 0.9875266551971436, -0.6353687047958374, -0.32642942667007446, -0.3361365795135498, -0.5753098130226135, -0.584368884563446, 0.38534823060035706, 0.168972909450531, -0.6760274767875671, 0.30071815848350525, 0.22615273296833038, -0.1422729641199112, 0.8401908278465271, -0.6301829218864441, 0.5648394227027893, -0.281948447227478, -0.6223142147064209, -0.16354823112487793, -0.7933964729309082, 0.5345105528831482, 0.02753312885761261, -0.216497540473938, 0.25787869095802307, -0.18994492292404175, 0.5101779699325562, -0.492191880941391, 0.864117443561554, -0.26686257123947144, -0.1412421315908432, 0.535149872303009, 0.12717410922050476, 0.662348747253418, -0.22955027222633362, 0.23172760009765625, 0.20995751023292542, -0.29673296213150024, -0.3675265312194824, -0.7258242964744568, 0.8066776394844055, -0.7432047128677368, -0.745032548904419, -0.25538408756256104, -0.58456951379776, -0.12302097678184509, 0.1706659197807312, 0.014336228370666504, 0.6114581823348999, 0.2768101096153259, 0.31918731331825256, 0.6337273716926575, -0.5267812609672546, 0.2751460373401642, 0.3294268846511841, -0.43881261348724365, -0.22144073247909546, 1.0486927032470703, -0.05553606525063515, 0.6038483381271362, 0.6154715418815613, 0.3037336468696594, -0.35344016551971436, -0.9242061376571655, -0.4968261122703552, 0.2193952351808548, -0.6222817301750183, -0.06721662729978561, -0.37226346135139465, -0.5804916620254517, -0.09297355264425278, 0.05128399655222893, -0.3253043293952942, -0.3904731571674347, 0.02139923721551895, -0.14431630074977875, 0.050288427621126175, 0.523898720741272, 0.08260557055473328, 0.3081745207309723, -0.762054443359375, 0.28506922721862793, 0.6383324265480042, 0.6469542980194092, 0.20064643025398254, -0.548397421836853, -0.2977723777294159, -0.23387235403060913, -0.14496128261089325, -0.5649976134300232, 0.45772629976272583, 0.2388380616903305, 0.34144988656044006, 0.30550941824913025, -0.29466813802719116, 0.7597514986991882, -0.6690261960029602, 0.6965563893318176, 0.21072439849376678, -0.8890993595123291, 0.45491158962249756, -0.21056301891803741, 0.3531009554862976, 0.09029973298311234, -0.15772446990013123, -0.3997285068035126, -0.40748298168182373, -0.3523041307926178, -0.7967859506607056, 0.6485500931739807, 0.11547235399484634, -0.05309054255485535, 0.25615477561950684, 0.5045469999313354, -0.1963486224412918, 0.08732878416776657, -0.7032721042633057, -0.02244562655687332, -0.44579094648361206, -0.06843725591897964, 0.0012100758031010628, -0.3674560785293579, 0.024247262626886368, -0.05793408304452896, 0.4601276218891144, -0.05126256123185158, 0.030977420508861542, 0.3641861081123352, -0.13796447217464447, -0.12431669235229492, 0.1055617481470108, 0.6192907691001892, 0.7306886315345764, -0.34700286388397217, 0.6475294828414917, 0.19941139221191406, -0.7664639949798584, 0.04531925171613693, -0.11203103512525558, -0.4343593716621399, -0.1800764799118042, 0.5477307438850403, 1.1444282531738281, 0.0610162615776062, -0.7376444339752197, 0.34256085753440857, 0.07354693114757538, -0.2914840877056122, -0.009675217792391777, 0.24634534120559692, 0.1118394136428833, 0.60288006067276, 0.14107738435268402, -0.15887856483459473, 0.04846484586596489, -0.4146476686000824, 0.17045599222183228, 0.4907899796962738, -0.23427452147006989, -0.24237516522407532, 0.6221281290054321, 0.4038501977920532, -0.40056490898132324, 0.7567209005355835, 0.14947111904621124, -0.5217306017875671, 0.5058482885360718, 0.5510278940200806, 0.9366812109947205, -0.17497225105762482, 0.283681184053421, 0.21551570296287537, 0.4758930802345276, -0.015581682324409485, 0.09735660254955292, 0.10751056671142578, -0.7533788681030273, -0.7321691513061523, -0.666137158870697, -0.46167847514152527, 0.2404647320508957, -0.2740652859210968, 0.030943648889660835, -0.7370782494544983, 0.16024209558963776, -0.27290356159210205, -0.03646186366677284, -0.6115017533302307, 0.2897660732269287, 0.49781614542007446, 1.2886251211166382, -0.3701099157333374, 1.1306676864624023, 0.6176506280899048, -0.19083045423030853, -0.8321280479431152, -0.014434225857257843, -0.25354674458503723, -1.1122390031814575, 0.9796854257583618, 0.1494535356760025, -0.5885847806930542, 0.19436021149158478, -0.7034638524055481, -0.6520175337791443, 1.1381219625473022, 0.4244718849658966, -0.7655073404312134, -0.5857969522476196, 0.2525731027126312, 0.4930689334869385, -0.5545685887336731, -0.0032576178200542927, 0.3688172399997711, 0.3313276469707489, 0.4656992554664612, -0.6000464558601379, -0.0033470222260802984, -0.10512814670801163, 0.31012576818466187, 0.14485393464565277, -0.7298787236213684, 0.8132975101470947, -0.5182709097862244, -0.25359243154525757, 0.01364923920482397, 0.6164038181304932, 0.47878068685531616, 0.2075972557067871, 0.9663066864013672, 0.5731706023216248, 0.3948734402656555, 0.029187308624386787, 1.0888913869857788, -0.26927122473716736, 0.16447405517101288, 1.0715898275375366, -0.1466623991727829, 0.7971442937850952, 0.6200646162033081, 0.022944243624806404, 0.4406375586986542, 0.3191082179546356, -0.0968700647354126, 0.495862752199173, 0.2593114376068115, -0.2937086224555969, -0.4119085967540741, -0.0055184513330459595, -0.13483314216136932, 0.44097039103507996, 0.08706390112638474, -0.39876726269721985, -0.1970950961112976, -0.13409776985645294, -0.5965304970741272, -0.2340383529663086, -0.6100326776504517, 0.292313814163208, 0.15251874923706055, -0.42721521854400635, 0.36658716201782227, -0.1169823408126831, 0.3194896876811981, -0.6501041650772095, -0.12844225764274597, -0.27421531081199646, 0.12865445017814636, -0.015922630205750465, -0.9612151384353638, 0.03552234545350075, 0.017845485359430313, 0.12373591959476471, -0.0739704892039299, 0.8354858756065369, -0.3639480173587799, -0.7629417181015015, 0.5480694770812988, 0.6049574613571167, -0.01661359705030918, -0.006851374637335539, -0.38811612129211426, 0.10968281328678131, 0.10765431076288223, -0.47349458932876587, 0.07234896719455719, 0.38395965099334717, -0.11490681022405624, 1.1158583164215088, 0.687982976436615, 0.39449915289878845, 0.39851897954940796, 0.31268495321273804, 1.0514436960220337, -0.7504640817642212, -0.49313873052597046, -0.7259926795959473, 0.4516173303127289, -0.009163940325379372, -0.03349384292960167, 0.41210687160491943, 0.5260858535766602, 0.9522818922996521, 0.004976462107151747, 0.5081189870834351, 0.34016820788383484, 0.32095780968666077, -0.6959328651428223, 0.24103549122810364, -0.8223528265953064, 0.5229902863502502, -0.1922331005334854, -1.0633865594863892, -0.5784410238265991, 0.6336033940315247, -0.28722327947616577, 0.16461524367332458, 0.3853159546852112, 0.48926329612731934, -0.18326438963413239, -0.1602013260126114, 0.5376895666122437, 0.5476464629173279, 0.6261995434761047, 0.8765690326690674, 0.8156257271766663, -0.06439200043678284, 0.7648007869720459, -0.36401405930519104, -0.04673318192362785, -0.06482669711112976, -0.9949114918708801, -0.902564525604248, -0.2675239145755768, -0.06808368861675262, -0.19349834322929382, 0.292682409286499, 0.5099271535873413, 0.845301628112793, -0.428363561630249, -0.21399135887622833, -0.09752196818590164, 0.15050488710403442, -0.10987327992916107, -0.15501350164413452, 0.340645968914032, -0.03972788155078888, -0.6933560371398926, 0.3208950459957123, 0.5179165601730347, 0.010886331088840961, -0.6623544692993164, -0.1926058828830719, -0.09650374948978424, 0.014069589786231518, 0.9180652499198914, 0.21320292353630066, -0.9198095202445984, -0.652934193611145, 0.11601042002439499, 0.05055312067270279, 0.28482070565223694, 0.6685348749160767, -0.9510881304740906, 0.4660029411315918, 0.6235095858573914, 0.6125383377075195, 0.8128766417503357, -0.032732103019952774, 0.5805423855781555, -0.8621937036514282, 0.13758933544158936, 0.21858444809913635, 0.3690643310546875, 0.3174687325954437, -0.04460078105330467, 0.5698116421699524, 0.1568102240562439, -0.31132468581199646, -0.8028322458267212, 0.36422643065452576, -1.3387912511825562, -0.2020929902791977, 0.9993252158164978, -0.0834353044629097, -0.3536264896392822, 0.2962314486503601, -0.14596647024154663, -0.024288242682814598, -0.18929843604564667, 0.47245699167251587, 0.4201136529445648, -0.007820896804332733, -0.878929615020752, -0.6804283857345581, 0.0881345272064209, 0.07821854948997498, -0.6829794645309448, 0.18605215847492218, 0.3315209448337555, 0.25810325145721436, 0.13496918976306915, 0.3661215901374817, -0.05488838255405426, 0.12926656007766724, -0.15992887318134308, -0.05556173250079155, -0.4658832550048828, -0.6395978331565857, -0.08559991419315338, 0.2313936948776245, -0.011495356447994709, -0.27434760332107544 ]
http://arxiv.org/abs/2406.12238v1
http://arxiv.org/pdf/2406.12238v1
PFID: Privacy First Inference Delegation Framework for LLMs
2024-06-18T03:27:09
2024-06-18T03:27:09
Haoyan Yang, Zhitao Li, Yong Zhang, Jianzong Wang, Ning Cheng, Ming Li, Jing Xiao
cs.CL
cs.CL
This paper introduces a novel privacy-preservation framework named PFID for LLMs that addresses critical privacy concerns by localizing user data through model sharding and singular value decomposition. When users are interacting with LLM systems, their prompts could be subject to being exposed to eavesdroppers within or outside LLM system providers who are interested in collecting users' input. In this work, we proposed a framework to camouflage user input, so as to alleviate privacy issues. Our framework proposes to place model shards on the client and the public server, we sent compressed hidden states instead of prompts to and from servers. Clients have held back information that can re-privatized the hidden states so that overall system performance is comparable to traditional LLMs services. Our framework was designed to be communication efficient, computation can be delegated to the local client so that the server's computation burden can be lightened. We conduct extensive experiments on machine translation tasks to verify our framework's performance.
[ -0.16161902248859406, -0.8462512493133545, 0.5259478688240051, 0.3353959918022156, -0.13105376064777374, -0.11272821575403214, 0.16002172231674194, -0.11756780743598938, 0.1028718501329422, 0.6941258907318115, -0.5036476850509644, -0.6182988286018372, -0.3436155617237091, -0.22100920975208282, -0.37489718198776245, 0.6741533875465393, -0.02971944399178028, -0.017596255987882614, -0.5835552215576172, 0.29379719495773315, 0.3880428075790405, -0.9196450710296631, -0.41319209337234497, -0.20077861845493317, 0.22756358981132507, 0.5013083219528198, 0.6609787344932556, 0.634023129940033, 0.4280548095703125, 0.27654555439949036, -0.09254227578639984, 0.3152727782726288, -0.7371513247489929, 0.2831006944179535, -0.37119045853614807, -0.3364335298538208, -0.6203073263168335, -0.16020436584949493, 0.7763742208480835, 0.7419756650924683, -0.14521190524101257, 0.2835771143436432, 0.03239087760448456, 0.4009419083595276, -1.039370059967041, 0.17816480994224548, -0.1886461228132248, 0.13340145349502563, -0.23089541494846344, -0.03914682939648628, -0.5196903347969055, -0.1834743171930313, 0.06295016407966614, -0.43331122398376465, 0.29943811893463135, 0.1086784154176712, 0.7199400663375854, 0.32312461733818054, -0.5765334367752075, 0.45510372519493103, -0.7024513483047485, 0.43551385402679443, -0.4740893244743347, 0.3803171217441559, 0.6716155409812927, -0.004563008435070515, -0.32401344180107117, -0.9900286793708801, -0.3321634531021118, 0.09777351468801498, -0.2952549159526825, -0.147101029753685, -0.2367609292268753, 0.4115756154060364, 0.13685019314289093, 0.611301600933075, -0.1545981764793396, 0.1621263325214386, 0.08205975592136383, -0.5825257301330566, 0.7346929311752319, 0.18312916159629822, -0.21357542276382446, 0.07689345628023148, -0.8289323449134827, 0.08485174924135208, -0.941923201084137, 0.14798927307128906, 0.42054781317710876, -0.2143900990486145, -0.2549074590206146, 0.454565167427063, -0.5552480220794678, 0.3203856647014618, 0.17902672290802002, -0.2898240089416504, 0.1396823674440384, -0.17520293593406677, -0.5943812727928162, -0.3053085505962372, 0.7702488899230957, 0.3988231420516968, -0.36740872263908386, -0.4064657688140869, -0.3321828544139862, -0.36296677589416504, -0.1256982684135437, -1.0363279581069946, -0.3046761751174927, 0.17805854976177216, -0.8701469898223877, -0.46069639921188354, 0.3651686906814575, -0.5571237802505493, -0.6761558651924133, 0.13763466477394104, 0.19174599647521973, 0.05942269414663315, -0.48858773708343506, 0.12933477759361267, 0.1693212240934372, 0.29814767837524414, 0.34836217761039734, -0.7824695706367493, 0.8384401798248291, 0.8876622915267944, 0.6277236342430115, -0.5553067922592163, -0.22155651450157166, -0.3891909122467041, 0.2407170534133911, -0.10132742673158646, 0.3960014283657074, -0.20518863201141357, -0.8106682896614075, -0.04435116797685623, 0.2543216347694397, -0.003769318573176861, -0.6002837419509888, 0.6561437845230103, -0.5575994253158569, -0.020716574043035507, -0.4730965793132782, -0.7595033049583435, -0.20798909664154053, -0.10914099961519241, -0.6493634581565857, 0.7634137868881226, 0.0275824386626482, -0.7176296710968018, 0.029039936140179634, -0.7128822207450867, -0.2814807593822479, 0.26505258679389954, -0.10824120044708252, -0.6868389248847961, 0.2360251098871231, 0.19366802275180817, 0.8073692917823792, -0.19805949926376343, 0.1917651891708374, -0.5913637280464172, -0.42023801803588867, 0.42535126209259033, -0.5598815679550171, 0.8281145691871643, 0.6257526278495789, -0.22834357619285583, 0.08577843010425568, -0.41364359855651855, -0.04159841313958168, 0.07694980502128601, -0.25757551193237305, -0.011867137625813484, 0.15663093328475952, 0.08545554429292679, -0.3577842712402344, 0.5069372653961182, -0.578435480594635, -0.034965988248586655, -0.3741929233074188, 0.39564844965934753, 0.8573974370956421, 0.5370172262191772, 0.7722691297531128, -0.5190650224685669, 0.5913882255554199, 0.19136939942836761, 0.3618412911891937, -0.14758647978305817, -0.47762438654899597, -0.3203129768371582, -0.6854897141456604, 0.1836380809545517, 0.6411738991737366, -0.37896037101745605, 0.2658875584602356, -0.16207152605056763, 0.0035777464509010315, -0.3371090292930603, 0.22965876758098602, 0.5167875289916992, 0.502717137336731, -0.22031396627426147, 0.02343684248626232, -0.0835515707731247, -1.4605814218521118, -0.010569026693701744, -0.1339305192232132, -0.2423781156539917, 0.3573756814002991, 0.36405259370803833, -0.10552454739809036, 0.893248438835144, -0.45344746112823486, -0.1690979301929474, 0.2053641378879547, -0.18684284389019012, -0.14060010015964508, 0.8329839706420898, 0.10718322545289993, -1.105101227760315, 0.0760311558842659, -0.19799208641052246, -0.6290079355239868, -0.11925769597291946, 0.0029002041555941105, -0.47867387533187866, 0.06030893325805664, 0.44779953360557556, -0.4574337899684906, 0.6222981810569763, 0.49170011281967163, -0.5203551054000854, 0.33529552817344666, -0.3475794792175293, 0.21756145358085632, -1.0485808849334717, 0.056877583265304565, -0.40632134675979614, -0.7744516134262085, -0.5174527764320374, 0.45604562759399414, 0.2782215476036072, -0.43384745717048645, -0.6735804080963135, 0.5891538262367249, -0.582288384437561, -0.20267975330352783, -0.09621698409318924, -0.2885016202926636, -0.04264233633875847, 0.33658313751220703, 0.18030047416687012, 0.9504463076591492, 0.5769891142845154, -0.6831247210502625, 0.21407441794872284, 0.12398546934127808, -0.08871769905090332, 0.6255958676338196, -0.4223296344280243, 0.45367756485939026, 0.16258294880390167, 0.060852959752082825, -0.9218447804450989, -0.3901171386241913, 0.36075150966644287, -0.3901011347770691, 0.22197343409061432, -0.27254438400268555, -0.6304927468299866, -0.00042148615466430783, -0.3618175685405731, 0.3265749216079712, 0.4851835370063782, -0.5446994304656982, 0.7182300686836243, 0.5894303321838379, 0.03991986811161041, -0.2625873386859894, -0.7010310292243958, 0.1128634363412857, -0.2621569037437439, -0.840951144695282, 0.6968583464622498, -0.19437463581562042, -0.5289945602416992, 0.07304969429969788, -0.11645972728729248, -0.47254374623298645, 0.6216463446617126, 0.8150007128715515, 0.009109415113925934, -0.20720802247524261, -0.15655702352523804, 0.3256306052207947, -0.14921461045742035, 0.22954225540161133, -0.31879836320877075, 0.16603636741638184, -0.2115190327167511, -0.6670075058937073, -1.0259790420532227, 0.7832502126693726, 0.36121171712875366, -0.26275941729545593, 0.8320124745368958, 0.4360506236553192, -0.5346968173980713, -0.288943350315094, -0.6606571078300476, -0.2783675789833069, -0.5416879653930664, 0.130644753575325, -0.5675138831138611, -1.0132604837417603, 0.6337530612945557, -0.3747210204601288, 0.11918073147535324, -0.12053216248750687, 0.6517957448959351, -0.17968569695949554, 0.8280139565467834, 0.8701688647270203, -0.10520656406879425, 0.4769841134548187, -0.17908643186092377, -0.02325049601495266, -0.6797835230827332, -0.27299216389656067, -0.3169236481189728, -0.2484530508518219, -0.4543004631996155, -0.5010538697242737, 0.3154646158218384, 0.31109893321990967, -0.05067232996225357, -0.3585032820701599, -0.37053337693214417, 0.6892312169075012, 0.59996497631073, 0.4941680431365967, 0.1874421089887619, 0.09678962826728821, 0.07020224630832672, 0.09684048593044281, -0.39233672618865967, -0.6239165663719177, 1.0232112407684326, 0.4941345751285553, 0.9493710994720459, 0.2745858430862427, 1.224636197090149, 0.4383247494697571, 0.20946474373340607, -0.5864725112915039, 0.6819962859153748, 0.18004977703094482, -0.5222418904304504, -0.05100161209702492, -0.48375794291496277, -0.6831158995628357, 0.4113460183143616, 0.004298853687942028, -0.9322434067726135, 0.5219649076461792, 0.1873209923505783, -0.48560255765914917, 0.4081234931945801, -1.0417119264602661, 0.5867979526519775, 0.11434333026409149, -0.8848863840103149, 0.11911872029304504, -0.5711483955383301, 0.541886568069458, 0.16358895599842072, -0.024886993691325188, 0.00510592432692647, -0.4090905487537384, 0.7786689400672913, -0.6876563429832458, 0.9540857076644897, -0.6723203659057617, -0.08912540972232819, -0.03413959592580795, 0.5550523400306702, 0.6510686874389648, 0.5127218961715698, -0.12285526096820831, 0.15727294981479645, 0.2247006893157959, -0.47583574056625366, -0.45001330971717834, 0.90858393907547, -0.5584151148796082, -0.8460347056388855, -0.1360597461462021, -0.5439348816871643, -0.09274382144212723, 0.26401659846305847, 0.04205811396241188, 0.032507576048374176, -0.11065909266471863, 0.40272191166877747, 1.0771915912628174, 0.0006355852237902582, 0.4898754358291626, 0.7278503775596619, -0.2074737846851349, -0.29001373052597046, 0.549292802810669, -0.2310047447681427, 0.3369031548500061, 0.4191022217273712, 0.08993318676948547, -0.42877689003944397, -0.6597565412521362, -0.29414260387420654, 0.17210106551647186, -0.7666600346565247, -0.1785138100385666, -0.35681775212287903, 0.05259627848863602, -0.48529666662216187, -0.25492772459983826, -0.35217007994651794, -0.4055841863155365, -0.50264573097229, -0.33167213201522827, 0.07513818144798279, 0.5266285538673401, -0.05746947601437569, 0.3065747320652008, -0.27028435468673706, 0.34995847940444946, -0.0936727523803711, 0.31036943197250366, -0.4733613133430481, -0.21285437047481537, 0.19564583897590637, 0.04532170668244362, 0.014557179994881153, -0.8981060981750488, 0.13468895852565765, 0.11329655349254608, 0.8100669384002686, 0.611789882183075, 0.5202873349189758, 0.49761295318603516, -0.020263491198420525, 1.0001487731933594, -0.23400968313217163, -1.0709973573684692, 0.25683796405792236, -0.10045239329338074, 0.022648148238658905, 0.5253340005874634, 0.09409712255001068, -0.16356834769248962, -0.1778053194284439, -0.7209069728851318, -0.7719915509223938, 0.7107855081558228, 0.09179289638996124, 0.15711817145347595, 0.2817826569080353, 0.6284212470054626, 0.011039689183235168, 0.26923584938049316, -0.5693975687026978, -0.6675788164138794, 0.12560777366161346, -0.03854120522737503, 0.2493913769721985, -0.5834449529647827, -0.3973926603794098, -0.15643776953220367, 0.5555691123008728, -0.005873875226825476, 0.6737715601921082, 0.41185903549194336, -0.2093578279018402, 0.1686377376317978, -0.13795043528079987, 0.4900091886520386, 0.6164016723632812, 0.06261340528726578, 0.34849002957344055, 0.1325896829366684, -0.34269416332244873, 0.16299033164978027, 0.07349766790866852, -0.6142767667770386, -0.25819990038871765, 0.029691729694604874, 0.5850603580474854, 0.3562181293964386, -0.09208426624536514, 0.8883223533630371, -0.10483170300722122, -0.41993802785873413, -0.3201753497123718, 0.12012870609760284, 0.17087587714195251, 0.2315232753753662, 0.24166996777057648, -0.007591502740979195, 0.2784571647644043, 0.03580044209957123, 0.28002339601516724, 0.4978986382484436, 0.06856001913547516, -0.19445838034152985, 0.9057536125183105, 0.18517936766147614, -0.47542038559913635, 0.28116002678871155, -0.43457743525505066, -0.27365586161613464, 0.2629581391811371, 0.5441853404045105, 0.9479482769966125, -0.29487118124961853, 0.2140020728111267, -0.2108529955148697, 0.07581627368927002, 0.07602842897176743, 0.41366955637931824, -0.8177224397659302, -0.4836287498474121, -0.027567172423005104, -0.5626131892204285, -0.504100501537323, 0.029967328533530235, -0.8458458781242371, 0.040543630719184875, -0.7465090751647949, -0.10564187169075012, -0.37685370445251465, 0.06531708687543869, -0.5123860239982605, -0.2798658609390259, 0.2783118188381195, 0.8161720633506775, -0.6167894601821899, 1.0912752151489258, 0.46975114941596985, -0.06530307978391647, -0.6170659065246582, -0.07874539494514465, 0.39154666662216187, -0.6527746319770813, 0.49245837330818176, -0.24883639812469482, -0.4488826394081116, 0.11583791673183441, -0.6360135674476624, -0.6955859661102295, 1.2560248374938965, 0.7641147375106812, -0.32958224415779114, 0.12161873281002045, 0.06095259636640549, 0.10401875525712967, -0.17422720789909363, -0.08079898357391357, 0.34772035479545593, 0.43089479207992554, -0.09047999233007431, -0.8303689956665039, 0.21189570426940918, -0.07671200484037399, 0.04509532079100609, -0.13886529207229614, -0.5307937860488892, 0.8400864601135254, -0.10198269039392471, -0.5052983164787292, 0.24276359379291534, 0.8404198288917542, -0.01718788780272007, 0.3679322600364685, 0.22114044427871704, 0.18628820776939392, 1.1114100217819214, -0.05819111689925194, 1.156644344329834, -0.29786816239356995, 0.4036145508289337, 0.9682457447052002, -0.5022261142730713, 0.7650924921035767, 0.5980241298675537, -0.1491854190826416, 0.14520715177059174, 0.5774036049842834, 0.25966450572013855, 0.536017894744873, 0.12375593930482864, -0.7167392373085022, -0.27721506357192993, 0.011462558060884476, -0.25637000799179077, 0.2333803027868271, 0.19044333696365356, -0.5730544924736023, -0.20290111005306244, -0.028224214911460876, 0.31736767292022705, 0.07024838775396347, -0.22826676070690155, 0.8492423295974731, 0.030617667362093925, -0.24061256647109985, 0.5223104953765869, 0.6077129244804382, 0.6942576766014099, -0.5791006684303284, 0.1486184000968933, -0.46167296171188354, 0.4078351557254791, -0.49084165692329407, -0.4134269058704376, 0.09720094501972198, -0.24503496289253235, -0.2934204936027527, -0.8255801200866699, 0.7421422004699707, -0.21029353141784668, -0.30892765522003174, 0.0000721672986401245, 0.2910011410713196, 0.22766180336475372, -0.13231635093688965, -0.6362456679344177, 0.10497080534696579, 0.015997422859072685, -0.42426764965057373, 0.494251549243927, 0.20548132061958313, -0.20850791037082672, 0.7345544695854187, 0.742093026638031, 0.16981005668640137, 0.11292491108179092, -0.07404250651597977, 0.793165385723114, -0.2531719505786896, -0.7449015974998474, -0.9042965173721313, 0.23346984386444092, -0.18396063148975372, -0.11522476375102997, 0.8785830140113831, 0.7306463718414307, 0.7171245217323303, 0.04846348986029625, 0.43054038286209106, 0.184524804353714, 0.45395100116729736, -0.6105283498764038, 1.043333649635315, -0.013652658089995384, 0.3428713083267212, 0.05986609309911728, -0.43095844984054565, -0.2877953350543976, 0.5028029680252075, -0.244548499584198, -0.2618156969547272, 0.5075168609619141, 1.3063738346099854, -0.1944107860326767, 0.058641280978918076, 0.4903329610824585, 0.055633291602134705, 0.453462153673172, 0.5362138748168945, 0.6593060493469238, -0.26486438512802124, 0.018483391031622887, -0.6954813599586487, -0.32041648030281067, -0.03605865314602852, -0.8006945252418518, -0.7354123592376709, -0.5952755808830261, -0.3527901768684387, -0.12771698832511902, -0.04015554487705231, 0.7394818663597107, 1.1118613481521606, -0.732654333114624, -0.24713648855686188, 0.01563560590147972, 0.36784929037094116, -0.14081567525863647, -0.25182992219924927, 0.34238651394844055, 0.1678663045167923, -0.5766593813896179, 0.6087450385093689, 0.12176091223955154, 0.00848996452987194, -0.6450003981590271, -0.26708582043647766, 0.03492296114563942, -0.24121913313865662, 0.24779967963695526, 0.16906318068504333, -0.8014654517173767, -0.09955736249685287, -0.16777868568897247, 0.005648416932672262, -0.2709773778915405, 1.0043200254440308, -0.6866301894187927, 0.33183059096336365, 0.37904092669487, 0.8277165293693542, 0.7257103323936462, 0.4219416379928589, 0.42164427042007446, -0.8818902969360352, 0.44667455554008484, 0.32006925344467163, 0.37666699290275574, 0.19153785705566406, -0.9042054414749146, 0.04578397050499916, 0.3923414945602417, -0.5783007740974426, -1.036155343055725, 0.236750066280365, -0.6409763693809509, -0.10111375898122787, 1.072329044342041, -0.8055968284606934, -0.6569668054580688, -0.16194677352905273, -0.1048271656036377, -0.27605536580085754, -0.36630281805992126, 0.21225199103355408, 0.45202144980430603, -0.14441564679145813, -0.22138381004333496, -0.2739340364933014, 0.5985641479492188, 0.3465661108493805, -0.6819140911102295, 0.36722332239151, 0.7418521642684937, 0.6188602447509766, -0.28817692399024963, 1.0348150730133057, -0.3981184661388397, 0.2618998885154724, 0.06181439012289047, -0.22199468314647675, -0.6661107540130615, -0.15783998370170593, -0.6575164794921875, 0.5473390221595764, 0.09919782727956772, -0.553514301776886 ]
http://arxiv.org/abs/2406.12233v1
http://arxiv.org/pdf/2406.12233v1
SyncVSR: Data-Efficient Visual Speech Recognition with End-to-End Crossmodal Audio Token Synchronization
2024-06-18T03:14:22
2024-06-18T03:14:22
Young Jin Ahn, Jungwoo Park, Sangha Park, Jonghyun Choi, Kee-Eung Kim
cs.AI
cs.AI, cs.CL, cs.CV
Visual Speech Recognition (VSR) stands at the intersection of computer vision and speech recognition, aiming to interpret spoken content from visual cues. A prominent challenge in VSR is the presence of homophenes-visually similar lip gestures that represent different phonemes. Prior approaches have sought to distinguish fine-grained visemes by aligning visual and auditory semantics, but often fell short of full synchronization. To address this, we present SyncVSR, an end-to-end learning framework that leverages quantized audio for frame-level crossmodal supervision. By integrating a projection layer that synchronizes visual representation with acoustic data, our encoder learns to generate discrete audio tokens from a video sequence in a non-autoregressive manner. SyncVSR shows versatility across tasks, languages, and modalities at the cost of a forward pass. Our empirical evaluations show that it not only achieves state-of-the-art results but also reduces data usage by up to ninefold.
[ -0.03281329572200775, -0.43855786323547363, 0.039592258632183075, -0.047917500138282776, -0.4945426285266876, 0.06576906144618988, -0.040866054594516754, -0.32107824087142944, 0.23503290116786957, 0.05075526237487793, -0.4416775107383728, -0.371058851480484, -0.5078273415565491, -0.11388177424669266, -0.6877771019935608, 0.5164125561714172, -0.04001495614647865, 0.3307715654373169, -0.5667722821235657, -0.4051694869995117, -0.31434351205825806, -0.34576019644737244, -0.28556379675865173, -0.07906726002693176, 0.18334230780601501, 0.2966131567955017, 0.6170225739479065, 0.9479156732559204, 0.4681227505207062, 0.3692002296447754, -0.0016692352946847677, 0.09247871488332748, -0.33431288599967957, 0.2911053001880646, 0.025563539937138557, -0.33598971366882324, -0.2591603696346283, -0.25860628485679626, 0.47612643241882324, 0.373199462890625, -0.32521766424179077, 0.4194379448890686, -0.10743574798107147, 0.519725501537323, -0.6452179551124573, 0.1899065524339676, -0.4988083839416504, 0.3791825771331787, -0.3889296352863312, -0.4588605463504791, -0.041241131722927094, -0.03168832138180733, 0.433949738740921, -0.7134338617324829, 0.1057807207107544, 0.03505183011293411, 0.6408359408378601, 0.5537484288215637, -0.25532975792884827, -0.06007733196020126, -0.6729608774185181, 0.6560184359550476, -0.02187115140259266, 1.0647177696228027, 0.2658822536468506, 0.5776858329772949, 0.2712060213088989, -1.0399792194366455, -0.7168921828269958, 0.30272501707077026, 0.479826420545578, 0.39304712414741516, -0.30754968523979187, -0.05689577758312225, 0.22357116639614105, 0.5001612901687622, -0.8678531050682068, -0.16096428036689758, -0.33976227045059204, -0.4416062831878662, 0.2410569041967392, 0.0812222883105278, 0.25728556513786316, -0.1542753428220749, -0.7977562546730042, -0.39586934447288513, -0.07767923921346664, 0.4178124666213989, -0.09426027536392212, 0.13378769159317017, -0.3164980709552765, 0.6516156792640686, 0.001061027287505567, 0.7637195587158203, 0.13347917795181274, -0.2063978761434555, 0.4377661943435669, -0.42539510130882263, -0.6381143927574158, 0.39770546555519104, 0.725369930267334, 0.45321375131607056, 0.1658596694469452, -0.1231403723359108, -0.31588125228881836, 0.39898207783699036, -0.030909856781363487, -0.590461254119873, -0.06294634938240051, 0.1096448227763176, -0.31559479236602783, 0.21451067924499512, 0.0177912674844265, -0.5015913844108582, -0.024353446438908577, -0.5697001218795776, 0.5576246380805969, -0.4451352655887604, 0.019138498231768608, -0.03060716763138771, -0.4129484295845032, 0.42102956771850586, 0.3000861406326294, -0.6637315154075623, 0.3730435371398926, 0.5766405463218689, 0.9302446842193604, -0.00886607076972723, -0.04214027523994446, -1.0196900367736816, 0.28757399320602417, -0.3133881688117981, 0.3750699460506439, -0.6660820245742798, -0.5479631423950195, -0.05914142355322838, -0.20339901745319366, 0.13129113614559174, -0.7219743728637695, 0.15819676220417023, -0.12259266525506973, 0.3776503801345825, -0.31840214133262634, -0.5582760572433472, 0.12395536154508591, -0.21146851778030396, -0.24369831383228302, 0.8527159690856934, -0.06387080997228622, -0.6472694873809814, 0.8043867945671082, 0.07150903344154358, -0.3343808352947235, 0.29420316219329834, -0.4601547122001648, -0.5927734971046448, 0.05725064128637314, 0.09607820957899094, 0.3242442309856415, -0.27990490198135376, 0.17824600636959076, -0.10079426318407059, -0.30546486377716064, 0.02407749556005001, -0.4299285113811493, 0.3084363639354706, 0.2785056531429291, -0.19080998003482819, 0.36739009618759155, -1.0340468883514404, -0.1263195276260376, -0.17672859132289886, 0.00948647502809763, -0.49282675981521606, 0.027121705934405327, 0.3856393098831177, 0.2774718105792999, 0.1502504199743271, -0.6944978833198547, -0.26447609066963196, -0.004367093089967966, 0.627054750919342, 0.6921372413635254, -0.4397009015083313, 0.5111657381057739, -0.3369368314743042, 0.3565562963485718, 0.18766912817955017, 0.47210055589675903, -0.5401953458786011, -0.4316505491733551, -0.6888770461082458, -0.7004806995391846, -0.006287869997322559, 0.6305945515632629, -0.8149727582931519, 0.42807266116142273, -0.4709208011627197, -0.16936863958835602, -0.7616637349128723, 0.06946314126253128, 0.6553348898887634, 0.5408631563186646, 0.4259069859981537, -0.7406553030014038, -0.8240672945976257, -0.5807674527168274, -0.03049737587571144, -0.08341556042432785, -0.03134588897228241, 0.3082166910171509, 0.3000052571296692, -0.20877264440059662, 1.173295021057129, 0.22439546883106232, -0.7197672724723816, 0.32237154245376587, -0.0009953596163541079, -0.14159609377384186, 0.4960993230342865, 0.20860902965068817, -1.161530613899231, -0.3797149062156677, 0.22831235826015472, -0.7345720529556274, 0.0747210681438446, -0.14449752867221832, 0.09178618341684341, -0.10481157153844833, 0.7168473601341248, -0.1274043619632721, 0.29028916358947754, 0.7095259428024292, -0.26819097995758057, -0.017676129937171936, -0.06724898517131805, -0.010952879674732685, -1.0401039123535156, -0.0764685869216919, 0.02264348790049553, -0.6833993196487427, -0.4893702566623688, -0.7306858897209167, -0.14842592179775238, -0.3230282664299011, -0.5802543759346008, 0.2919895350933075, -0.4648878574371338, -0.43339210748672485, 0.16496171057224274, 0.25830668210983276, -0.24705719947814941, 0.3571959435939789, 0.17680373787879944, 0.8801921010017395, 0.8300278186798096, -0.15240104496479034, 0.5835698246955872, 0.39543014764785767, -0.12816421687602997, 0.8048149943351746, -0.693541944026947, 0.018305227160453796, -0.2259763926267624, -0.08245515823364258, -0.939274787902832, -0.12824063003063202, -0.03639283403754234, -0.6916703581809998, 0.2642976641654968, -0.16775773465633392, -0.07499468326568604, 0.01367969624698162, -0.21359984576702118, 0.4679078757762909, 0.6930949687957764, -0.6865656971931458, 0.7482090592384338, 0.48213931918144226, 0.09146376699209213, -0.541097104549408, -0.9960749745368958, 0.04195751994848251, 0.03161030262708664, -0.4142456352710724, 0.28188925981521606, 0.11840921640396118, -0.013884847983717918, 0.10730139166116714, -0.6690091490745544, -0.14410534501075745, -0.5766822695732117, 0.6979266405105591, 0.16754761338233948, -0.08755585551261902, -0.20147189497947693, -0.22607091069221497, -0.13970816135406494, -0.04998502507805824, -0.5885521769523621, 0.32734304666519165, -0.03184763714671135, -0.47311481833457947, -0.7637897729873657, 0.3457085192203522, 0.9088532328605652, -0.3891301453113556, 0.11763285845518112, 0.6368473172187805, -0.22676913440227509, -0.05125685781240463, -0.30645275115966797, 0.16533365845680237, -0.4836673438549042, 0.36986368894577026, -0.36426159739494324, -1.0250062942504883, 0.4840075671672821, 0.08933832496404648, -0.10620924830436707, -0.17777904868125916, 0.3715245723724365, -0.13165132701396942, 0.7127529978752136, 0.4699605107307434, -0.032214224338531494, 1.1307398080825806, -0.1513279229402542, 0.013932646252214909, -0.7663978934288025, -0.6800329685211182, 0.018036803230643272, -0.12405113130807877, -0.5355808734893799, -0.8949447274208069, 0.3344264328479767, -0.08086902648210526, -0.07159214466810226, 0.39444923400878906, -0.403001993894577, 0.43465757369995117, 0.6813790202140808, 0.15970081090927124, 0.059811193495988846, 0.15667182207107544, -0.08682755380868912, -0.1656799018383026, -0.5603700280189514, 0.0160299614071846, 0.6320514678955078, 0.16664598882198334, 0.7787618041038513, -0.09733106940984726, 0.6072579622268677, 0.43430274724960327, -0.4427482485771179, -0.6129791736602783, 0.6268948316574097, -0.08311348408460617, -0.05089160054922104, -0.2776215374469757, -0.5135456323623657, -0.512604296207428, 0.3253563940525055, -0.2983986735343933, -0.49355548620224, 0.5824149250984192, 0.3781592845916748, -0.030520791187882423, 0.23406092822551727, -0.3734589219093323, 0.6870779991149902, -0.15362827479839325, -0.5326977968215942, 0.017146870493888855, -0.9925777912139893, 0.020862461999058723, 0.04962136596441269, 0.16832967102527618, 0.06226872652769089, -0.14111018180847168, 0.5161228179931641, -0.34642818570137024, 0.6987350583076477, -0.19137679040431976, 0.054580915719270706, 0.18706049025058746, -0.042325764894485474, 0.2788994312286377, -0.1578701138496399, 0.42817848920822144, 0.09333374351263046, -0.15018020570278168, -0.23896221816539764, -0.3669716417789459, 0.31904247403144836, -0.40712395310401917, -0.0017505250871181488, -0.3697931468486786, -0.47149407863616943, -0.09341569244861603, -0.006680995225906372, 0.1650652289390564, 0.8170750737190247, -0.1577218919992447, 0.2154214233160019, 0.6402482390403748, -0.21687571704387665, 0.5123512148857117, 0.16076989471912384, -0.30373141169548035, -0.9680664539337158, 1.1798129081726074, 0.0020946599543094635, 0.3539658486843109, 0.622048556804657, -0.09493179619312286, -0.225763201713562, -0.13909253478050232, -0.42436864972114563, -0.12653926014900208, -0.5990813970565796, -0.04050752893090248, -0.3694722354412079, -0.00022710218036081642, -0.29805347323417664, -0.23845185339450836, -0.6310519576072693, -0.3529972434043884, -0.30998995900154114, 0.09543661773204803, 0.25888386368751526, -0.048992086201906204, -0.23243845999240875, 0.28717315196990967, -0.7597373127937317, 0.6612865328788757, 0.8747104406356812, 0.23013456165790558, -0.3504873514175415, -0.5423405170440674, -0.26872962713241577, -0.1770218312740326, 0.20720210671424866, -0.5302662253379822, 0.4675770699977875, 0.5529887080192566, 0.31234490871429443, 0.6444830298423767, -0.0782608836889267, 1.2509835958480835, -0.6514530777931213, 0.7051903605461121, 0.8086914420127869, -1.4505943059921265, 0.435181200504303, -0.06251025944948196, 0.20516617596149445, 0.17056378722190857, 0.26755258440971375, -0.7118036150932312, -0.1217925027012825, -0.20985166728496552, -0.9960596561431885, 0.3516484797000885, 0.13724151253700256, -0.10844530165195465, 0.03305954486131668, -0.09169616550207138, -0.0014280484756454825, 0.32668986916542053, -0.3271740674972534, -0.1314646601676941, -0.6437429785728455, -0.2815936803817749, 0.07434539496898651, 0.011225446127355099, -0.018714269623160362, -0.40795931220054626, 0.18125998973846436, -0.1857883632183075, 0.2125767022371292, 0.6699654459953308, -0.350745290517807, -0.31676602363586426, 0.26285520195961, 0.4625298082828522, 0.28439879417419434, 0.0545823872089386, 0.23702672123908997, 0.1348380595445633, -0.48120617866516113, -0.040776390582323074, 0.04704335331916809, 0.14888499677181244, 0.10813789814710617, 0.4161423146724701, 1.1225484609603882, 0.17633625864982605, -1.008711814880371, 0.9038797616958618, -0.15371264517307281, -0.23545682430267334, -0.42132309079170227, -0.2567739486694336, -0.2753380835056305, 0.696625292301178, 0.3086581230163574, 0.19414152204990387, 0.23016460239887238, -0.4950856566429138, 0.5896582007408142, 0.4150610566139221, -0.8458713293075562, -0.4594492018222809, 1.0922337770462036, 0.24746720492839813, -0.2776768207550049, 0.4849163889884949, 0.22200194001197815, -0.3426208198070526, 0.21692140400409698, 0.34901052713394165, 0.9016284942626953, -0.38267192244529724, 0.08620518445968628, -0.03151614964008331, 0.04411664605140686, 0.29425305128097534, 0.8863646984100342, -0.8704562187194824, -0.28142136335372925, -0.40431609749794006, -0.6759669780731201, -0.5050026774406433, -0.596177875995636, -1.0089274644851685, 0.15000483393669128, -0.3913414180278778, -0.20516645908355713, -0.17779482901096344, -0.8342368602752686, -0.2949248254299164, 0.25287002325057983, 0.577506422996521, 0.6620408892631531, -0.838973343372345, 0.8650252819061279, 0.5034812092781067, -0.339243084192276, -0.3330891728401184, -0.2813975512981415, 0.2370823621749878, -0.7415866255760193, 0.6688722968101501, 0.07363211363554001, -0.25958698987960815, -0.03877547010779381, -0.2584117352962494, -0.67887943983078, 1.104030728340149, 0.3794114291667938, -1.221411943435669, -0.017669685184955597, 0.23792728781700134, 0.46789494156837463, 0.05281452462077141, -0.006070172879844904, 0.17266876995563507, -0.0038128856103867292, 0.4003393054008484, -1.25699782371521, -0.3049425184726715, -0.29808926582336426, 0.21394142508506775, 0.3349526524543762, -0.4990517795085907, 0.8593904376029968, -0.30076590180397034, -0.348039448261261, -0.2608182430267334, 0.9994643926620483, -0.027527272701263428, 0.4860673248767853, 0.6097082495689392, 0.6293690204620361, 0.6295012831687927, -0.11009351909160614, 0.7096841931343079, -0.21020430326461792, 0.14262057840824127, 1.0372486114501953, -0.3434843420982361, 0.9870471954345703, 0.9085818529129028, 0.06647387892007828, 0.19338403642177582, 0.2996271550655365, -0.05432998389005661, 0.9160939455032349, 0.12802790105342865, -0.3596060276031494, -0.4792262613773346, -0.49042177200317383, -0.22156719863414764, 0.6068750619888306, 0.1169726699590683, -0.224151149392128, 0.12597838044166565, 0.5714113712310791, -0.4759974479675293, 0.07132260501384735, -0.2860604226589203, 0.916000485420227, 0.2425612360239029, 0.079771988093853, 0.4259839653968811, -0.8703245520591736, 0.7151142358779907, -0.577292263507843, -0.25265073776245117, 0.15977546572685242, 0.2991447150707245, -0.1958884745836258, -0.6776089072227478, 0.1914932131767273, 0.05647796392440796, -0.2559913694858551, -0.5467491149902344, 0.2041412591934204, -0.7937307953834534, -0.05244787409901619, 0.3871031105518341, 0.3577486276626587, -0.07022646814584732, 0.24814020097255707, -0.41610103845596313, 0.17279863357543945, -0.14546141028404236, 0.018012892454862595, 0.1310538798570633, 0.5722594261169434, -0.06685619801282883, 0.7097976207733154, 0.8101425766944885, 0.12622977793216705, 0.3508601784706116, 0.10501015186309814, 0.7144884467124939, -0.6192772388458252, -0.6545410752296448, -0.6236417293548584, 0.48941275477409363, 0.050007037818431854, -0.26274847984313965, 0.7934885621070862, 0.8746126294136047, 1.246076226234436, 0.15507373213768005, 0.5725970268249512, 0.03031308948993683, 0.26475653052330017, -0.4975818693637848, 0.1545134037733078, -0.7372543215751648, 0.0272743571549654, -0.38252344727516174, -0.5642958879470825, -0.3228761553764343, 0.5599921941757202, 0.26439163088798523, -0.24839654564857483, 0.2894648015499115, 0.42393699288368225, -0.19861644506454468, 0.05524686351418495, 0.5712807178497314, -0.009149028919637203, 0.09660156071186066, 0.5272178649902344, 0.8862252235412598, -0.5528782606124878, 0.5643460750579834, -0.2365344762802124, -0.03842048719525337, 0.10084620118141174, -0.49507129192352295, -0.7368809580802917, -0.8569438457489014, -0.37641283869743347, -0.02361958473920822, 0.4272703230381012, 1.0940204858779907, 0.9717934131622314, -0.5022387504577637, -0.3793354332447052, -0.10121499001979828, -0.3211619257926941, -0.3369009792804718, -0.10693179816007614, 0.16185949742794037, 0.016487296670675278, -0.7620611190795898, 0.518847644329071, 0.5470952987670898, 0.284683495759964, 0.1403340995311737, -0.3554418087005615, 0.23158347606658936, -0.0781225711107254, 0.5641655921936035, 0.3766355514526367, -0.6867762804031372, -0.12909576296806335, 0.08835598826408386, 0.06500723958015442, 0.2670791745185852, 0.8099014163017273, -0.9337600469589233, 0.9239570498466492, 0.7487337589263916, 0.4642355144023895, 0.7325988411903381, -0.09325028210878372, 0.5059342980384827, -0.8299795389175415, 0.2325824499130249, 0.1211400181055069, 0.49884629249572754, 0.4241253733634949, 0.19351531565189362, 0.20396989583969116, 0.4883209466934204, -0.42524123191833496, -0.9617390036582947, 0.02673441171646118, -1.4733059406280518, 0.03483845666050911, 0.6653565168380737, 0.0433882474899292, -0.3697958290576935, 0.04518578201532364, -0.1665593981742859, 0.43836963176727295, -0.5041571855545044, 0.07985690236091614, -0.038893163204193115, -0.11217610538005829, -0.43141043186187744, -0.36152103543281555, 0.3959203362464905, 0.3099920153617859, -0.48525241017341614, 0.2606104016304016, 0.6178237199783325, 0.19979695975780487, 0.05423962324857712, 0.39391958713531494, -0.18229807913303375, 0.5630123615264893, 0.18490183353424072, 0.18226827681064606, -0.29981252551078796, -0.4053081274032593, -0.5465265512466431, 0.03386680409312248, -0.6397973299026489, -0.8449521064758301 ]
http://arxiv.org/abs/2406.12232v1
http://arxiv.org/pdf/2406.12232v1
"You Gotta be a Doctor, Lin": An Investigation of Name-Based Bias of Large Language Models in Employment Recommendations
2024-06-18T03:11:43
2024-06-18T03:11:43
Huy Nghiem, John Prindle, Jieyu Zhao, Hal Daumé III
cs.AI
cs.AI, cs.CL
Social science research has shown that candidates with names indicative of certain races or genders often face discrimination in employment practices. Similarly, Large Language Models (LLMs) have demonstrated racial and gender biases in various applications. In this study, we utilize GPT-3.5-Turbo and Llama 3-70B-Instruct to simulate hiring decisions and salary recommendations for candidates with 320 first names that strongly signal their race and gender, across over 750,000 prompts. Our empirical results indicate a preference among these models for hiring candidates with White female-sounding names over other demographic groups across 40 occupations. Additionally, even among candidates with identical qualifications, salary recommendations vary by as much as 5% between different subgroups. A comparison with real-world labor data reveals inconsistent alignment with U.S. labor market characteristics, underscoring the necessity of risk investigation of LLM-powered systems.
[ -0.10774420201778412, -0.3307195007801056, 0.9007689952850342, -0.138671413064003, -0.08355319499969482, -0.020944982767105103, -0.13092166185379028, -0.6317163109779358, 0.566626250743866, 0.37013885378837585, -0.4831429123878479, -0.22903071343898773, -0.7895551323890686, -0.06727910786867142, -0.4285692274570465, 1.062161922454834, 0.3280707895755768, 0.6066262722015381, 0.17814384400844574, 0.12305789440870285, -0.43695148825645447, -0.41680118441581726, -0.7260392904281616, -0.20452232658863068, 0.8131780028343201, 0.28127866983413696, 1.0224814414978027, 0.5820707678794861, 0.23308320343494415, 0.17679749429225922, -0.1675928384065628, -0.1649671196937561, -0.3203040361404419, 0.2351231575012207, -0.3716033697128296, -0.44273003935813904, -0.39851996302604675, 0.370535671710968, 0.1199982687830925, 1.0323108434677124, -0.07976485043764114, 0.5031629800796509, -0.49656617641448975, 0.7693855166435242, -0.5809054970741272, -0.1765291541814804, -0.728756844997406, 0.00519173638895154, -0.22353897988796234, 0.09366192668676376, -0.21859432756900787, -0.8140537142753601, 0.4479905366897583, -0.21794576942920685, 0.30747172236442566, 0.2501629590988159, 1.0127718448638916, -0.048498302698135376, -0.5699747800827026, -0.12067078053951263, -0.8625622987747192, 0.5454483032226562, -0.6035988926887512, 0.48107632994651794, 0.5242743492126465, 0.4119560420513153, 0.09232795983552933, -0.44639354944229126, -0.367950439453125, -0.2289523184299469, -0.1100681871175766, -0.17359761893749237, 0.09075330942869186, 0.09181768447160721, 0.503113329410553, 0.19772137701511383, -0.37180066108703613, 0.48842576146125793, -0.7251109480857849, -0.08492955565452576, 0.8503598570823669, 0.33982184529304504, 0.33183085918426514, 0.3697783946990967, -0.0963241308927536, -0.032241977751255035, -0.8151317834854126, -0.01830030232667923, 0.9037665724754333, 0.17885132133960724, -0.017614299431443214, 0.490023672580719, -0.2975870370864868, 0.7077015042304993, -0.018054384738206863, -0.0738612487912178, 0.04443460702896118, -0.02822118066251278, -0.3198389708995819, 0.3196062445640564, 0.7271143794059753, 0.5805901288986206, 0.7327799201011658, -0.20932091772556305, -0.0051105874590575695, -0.05172977223992348, 0.4503158628940582, -0.4875478744506836, -0.10697411000728607, 0.01714571937918663, -0.40984031558036804, -0.4019255042076111, -0.06314238905906677, -0.7697536945343018, -0.7989639639854431, -0.29163530468940735, 0.03462253510951996, 0.03229062259197235, -0.24688497185707092, -0.09143248945474625, -0.07190018892288208, 0.1563345342874527, 0.3187197744846344, -1.178490400314331, -0.007416729815304279, 0.6320484280586243, 0.39553385972976685, -0.11707008630037308, -0.2307155281305313, -0.3265444338321686, 0.05926244705915451, -0.3819117248058319, 0.4827538728713989, -0.6502842307090759, -0.5334491729736328, -0.07657879590988159, 0.13354375958442688, 0.05876496061682701, -0.4790956676006317, 0.3322484791278839, -0.46035441756248474, 0.07072337716817856, -0.5541210174560547, -0.3168974816799164, -0.054785069078207016, -0.030163301154971123, -0.44046714901924133, 0.6289713382720947, 0.3707183003425598, -0.5343376994132996, 0.9306461215019226, -0.31647083163261414, -0.3927804231643677, 0.10433728992938995, -0.6446695923805237, -0.2930186986923218, 0.19089950621128082, -0.046275872737169266, 0.3085765242576599, -0.4902540147304535, 0.5592637658119202, -0.22922353446483612, -0.41186901926994324, 0.2425670325756073, -0.19011467695236206, 0.946383535861969, 0.01261158287525177, -0.4567575752735138, -0.029444444924592972, -0.3740319609642029, -0.1439579874277115, 0.04413537308573723, -0.05929483845829964, -0.421733021736145, 0.05168559402227402, -0.19002540409564972, 0.057481683790683746, -0.1515689194202423, -0.6795417666435242, 0.418649286031723, -0.2813242971897125, 0.03191570192575455, 0.9682456254959106, -0.35103487968444824, 0.2171308696269989, -0.3862631916999817, 0.7707825899124146, -0.15165218710899353, -0.038741644471883774, 0.4380221664905548, -0.575433611869812, -0.5281273722648621, -0.07573956996202469, 0.5213886499404907, 0.550014317035675, -0.32987409830093384, -0.04120391979813576, -0.08384012430906296, -0.6656365394592285, -0.5636864304542542, -0.026581143960356712, 0.09230790287256241, 0.4382696747779846, 0.0030536120757460594, -0.03324861451983452, -0.7373009920120239, -1.277432918548584, -0.6880583763122559, -0.36577361822128296, -0.11484959721565247, 0.6444105505943298, 0.34556248784065247, -0.4218043386936188, 1.0120275020599365, -0.7449284195899963, 0.011530921794474125, 0.0748574510216713, -0.1700097769498825, 0.6920618414878845, 0.16203927993774414, 0.7288998961448669, -0.335141658782959, -0.4384177029132843, -0.03898794576525688, -0.23827819526195526, -0.26952606439590454, 0.08539468795061111, -0.44762498140335083, -0.13944396376609802, 0.41629353165626526, -0.23899483680725098, 0.3635018467903137, 0.7198337316513062, -0.5905728340148926, 0.9727606773376465, -0.150407612323761, -0.29285767674446106, -0.9378423094749451, 0.12386267632246017, 0.2764385938644409, -0.23738668859004974, -0.45028409361839294, -0.2473289519548416, -0.06409800052642822, -0.19053056836128235, -0.31179046630859375, 0.7391981482505798, -0.48274746537208557, -0.12118768692016602, -0.13479894399642944, -0.12697415053844452, -0.3031422197818756, 0.0164888184517622, -0.1387944519519806, 0.723969042301178, 0.5027778148651123, -0.9396336674690247, 0.4494885802268982, 0.10247968882322311, -0.48272812366485596, 0.7461239099502563, -0.7259228825569153, 0.27020594477653503, -0.09512725472450256, 0.26823124289512634, -0.7722204327583313, -0.26154470443725586, -0.15102282166481018, 0.012525349855422974, 0.0597948394715786, -0.10909204185009003, -0.24329619109630585, -0.7296143174171448, -0.050577472895383835, 0.6034862399101257, 0.3732013702392578, -0.45082077383995056, 0.1716204583644867, 0.6139014363288879, -0.45099106431007385, -0.633838951587677, -0.7180947661399841, -0.06536245346069336, -0.17690244317054749, -0.3781755864620209, 0.35190412402153015, -0.13931092619895935, -0.41669532656669617, -0.2825174629688263, 0.022572576999664307, -0.45637667179107666, 0.11140543222427368, 0.2849500775337219, 0.7021782994270325, -0.08568171411752701, 0.03585099056363106, -0.2102840393781662, 0.017371147871017456, 0.2798583507537842, -0.038777079433202744, 0.29230985045433044, 0.35092291235923767, -0.34036073088645935, -0.06535954028367996, 0.028662240132689476, 0.7276571393013, 0.1675363928079605, 0.5448859930038452, 0.46935105323791504, -0.1701178401708603, 0.013113930821418762, -0.7526276707649231, -0.3585909903049469, -0.45399755239486694, 0.3936270773410797, 0.0946284607052803, -0.851935625076294, 0.4087950885295868, 0.0409354604780674, 0.13153484463691711, 0.310372918844223, 0.7155821919441223, -0.01588459312915802, 1.0124675035476685, 0.571033775806427, -0.4338742792606354, 0.2575260400772095, 0.16125045716762543, 0.4430476427078247, -0.6298438310623169, -0.05716397240757942, -0.4407069981098175, -0.7810280323028564, -0.7742727994918823, -0.1332707703113556, 0.37387242913246155, -0.5307071805000305, -0.26076027750968933, 0.007710527162998915, -0.6858416795730591, 0.5720415115356445, 0.5103022456169128, -0.09113102406263351, 0.005894388072192669, -0.10796405375003815, -0.23131056129932404, -0.10389041155576706, -0.19733034074306488, -0.2911662459373474, 1.203712821006775, 0.5194478631019592, 0.836036205291748, 0.22168409824371338, 0.4132061302661896, 0.24032998085021973, 0.34796690940856934, -0.4886675775051117, 0.3193170428276062, -0.3946012556552887, -1.0792111158370972, -0.5031985640525818, -0.18468095362186432, -0.9622048735618591, 0.30380845069885254, -0.2026059627532959, -0.8664501905441284, 0.41684192419052124, 0.028788667172193527, -0.3902536928653717, 0.42298200726509094, -0.4180010259151459, 0.4467878043651581, -0.534763514995575, -0.06753916293382645, 0.12064038962125778, -0.31845033168792725, 0.7308139801025391, -0.1973579078912735, 0.3535924255847931, -0.4785451889038086, 0.11483196914196014, 0.555080771446228, -0.6957385540008545, 0.7076727151870728, -0.1864812970161438, -0.05709570646286011, -0.33412104845046997, 0.1594819575548172, 0.6514665484428406, 0.23386862874031067, -0.6876728534698486, 0.44404175877571106, 0.08093616366386414, -0.13238662481307983, -0.16540345549583435, 0.5718312859535217, -0.7120648622512817, -0.6442257761955261, -0.44297951459884644, -0.5953958034515381, -0.2822759747505188, 0.24879325926303864, 0.47293156385421753, 0.005124656483530998, -0.18199098110198975, -0.04163533076643944, 0.2231505811214447, -0.3588492274284363, -0.1998596489429474, 0.5417255163192749, -0.42787882685661316, -0.07671348005533218, 0.6243482232093811, 0.23066368699073792, 0.10431405156850815, -0.4532397389411926, 0.25363829731941223, -0.16527263820171356, -0.061961814761161804, -0.5033199787139893, 0.5560303926467896, -0.2983604967594147, -0.00970898475497961, -0.49674269556999207, -0.3961900770664215, -0.3577071726322174, -0.26547443866729736, -0.14923050999641418, -0.05246206745505333, -0.025614049285650253, -0.24445071816444397, 0.3331015110015869, 1.0618517398834229, 0.34507450461387634, 0.1433776617050171, 0.04872254654765129, 0.26949477195739746, 0.7317494750022888, 0.6759213209152222, -0.16800126433372498, -0.348244845867157, -0.12615583837032318, 0.05064181610941887, -0.05535469576716423, -0.8532668352127075, 0.36788973212242126, -0.027228567749261856, 0.7752559781074524, 0.44911468029022217, -0.06992609053850174, 0.23845836520195007, -0.5314337611198425, 0.7648602724075317, 0.22562859952449799, -0.5443136096000671, 0.31420621275901794, -0.4112814962863922, 0.01974504441022873, 0.7579955458641052, 0.28698477149009705, -0.661526083946228, -0.4104371666908264, -0.48140469193458557, -0.9794304370880127, 0.9308673143386841, -0.08659728616476059, 0.3079373240470886, -0.12094728648662567, 0.2812311053276062, 0.2777421474456787, 0.29213833808898926, -0.6932746171951294, -0.7106826901435852, 0.3439146876335144, 0.049196165055036545, 0.005349410232156515, -0.7294601798057556, -0.23024852573871613, -0.3377656936645508, 0.51387619972229, 0.13275645673274994, 0.09390376508235931, 0.05724700540304184, -0.012827016413211823, -0.054485831409692764, 0.3226677477359772, 0.9533053040504456, 0.6983098387718201, -0.08837714046239853, 0.05876205116510391, 0.5221583843231201, -0.5183113217353821, 0.35920530557632446, -0.11580713838338852, -0.0068270619958639145, 0.47720620036125183, -0.09012794494628906, 0.8725457191467285, 0.13550305366516113, -0.42482835054397583, 0.3491858243942261, -0.10152404755353928, -0.5391381978988647, -0.3741961121559143, 0.047384995967149734, 0.16223816573619843, 0.0665227472782135, 0.24938537180423737, -0.338559627532959, -0.050432268530130386, -0.6144947409629822, -0.2986239492893219, 0.5806662440299988, -0.5401124954223633, 0.06506078690290451, 0.841580331325531, 0.44099661707878113, -0.4098494052886963, 0.607459306716919, -0.2547261416912079, -0.4698109030723572, 0.7335073351860046, 0.3585214614868164, 0.7387555241584778, -0.3678436577320099, 0.23524600267410278, 0.32924604415893555, 0.18341264128684998, -0.3015017807483673, 0.12398568540811539, 0.42434120178222656, -0.6412895917892456, -0.1570787876844406, -0.6368195414543152, -0.7120270133018494, 0.02343134395778179, -0.3699108362197876, 0.501826286315918, -0.653483510017395, -0.46197280287742615, 0.13814875483512878, -0.5023337006568909, -0.9205278158187866, 0.24051928520202637, 0.400941401720047, 0.6912631988525391, -0.8318955898284912, 0.6995270252227783, 0.8958456516265869, -0.10154660791158676, -1.109747052192688, 0.02600395306944847, 0.15533500909805298, -0.8735687136650085, 1.2904243469238281, -0.05058008059859276, 0.21727384626865387, -0.2590485215187073, -0.10784545540809631, -0.957946240901947, 1.1538058519363403, 0.8235517740249634, -0.736766517162323, -0.3616061508655548, 0.14652949571609497, 0.2300603687763214, -0.4076142907142639, 0.8750062584877014, 0.6082421541213989, 0.6488905549049377, -0.34875476360321045, -1.4101959466934204, -0.14941425621509552, 0.12605436146259308, 0.1758374273777008, 0.04885222390294075, -0.5445943474769592, 1.1744613647460938, -0.4578431248664856, 0.028650375083088875, -0.28877758979797363, 0.21919022500514984, 0.5472129583358765, 0.304948627948761, 0.71372389793396, 0.05923481658101082, 1.1984503269195557, 0.0011478380765765905, 1.1320922374725342, -0.47724878787994385, 0.38803666830062866, 0.7774034142494202, -0.528579831123352, 0.0719657763838768, 0.22630575299263, -0.44725146889686584, 0.890987753868103, 0.6073523759841919, -0.2395063042640686, 0.15418283641338348, 0.48945215344429016, -0.07770227640867233, 0.05486733466386795, -0.32013392448425293, -0.6975221633911133, 0.43854984641075134, 0.1822873204946518, -0.8145483732223511, 0.03235616907477379, -0.2941400706768036, 0.04200960323214531, -0.19240568578243256, -0.274146169424057, 0.30232951045036316, 0.23761790990829468, -0.5427181124687195, 0.1897275447845459, -0.13631774485111237, 0.8894123435020447, -0.5353694558143616, 0.0863204151391983, -0.07855231314897537, -0.1350206732749939, -0.47853684425354004, -0.6317765116691589, 0.004973973613232374, -0.024797452613711357, -0.5365203022956848, 0.0023304917849600315, 0.5158119797706604, -0.35595691204071045, -0.7054433822631836, 0.25530147552490234, 0.32352274656295776, 0.29349616169929504, 0.04773122817277908, -0.45235973596572876, -0.2952764630317688, 0.13383197784423828, -0.10654060542583466, 0.3793414533138275, 0.0986938551068306, -0.03094254806637764, 0.5929402709007263, 0.6488519906997681, 0.7321394085884094, 0.019395120441913605, 0.3337204158306122, 0.4267118573188782, -0.7552430629730225, -0.8288120031356812, -1.0164326429367065, 0.18180549144744873, -0.1476002037525177, -0.3530243933200836, 0.34507396817207336, 0.39745044708251953, 0.5276026129722595, -0.14675410091876984, 0.6766893863677979, 0.238553985953331, 0.6732940077781677, -0.439435213804245, 0.8310863971710205, -0.4745887219905853, 0.3489956259727478, -0.5580742955207825, -1.097962737083435, 0.19255714118480682, 0.34631553292274475, -0.5169165730476379, 0.596542477607727, 0.6520902514457703, 0.6638237237930298, -0.058083683252334595, -0.11057471483945847, 0.5804503560066223, 0.10846685618162155, 0.0962282195687294, 0.284466028213501, 0.3088476061820984, 0.043409910053014755, 0.2719622552394867, -0.06470128148794174, 0.12146750092506409, -0.8300224542617798, -0.7509585022926331, -0.49888715147972107, -0.010064474307000637, -0.38923701643943787, -0.3760465085506439, 0.0288508590310812, 0.7585828900337219, 0.9473865032196045, -0.6999797224998474, -0.38913866877555847, 0.44443216919898987, 0.2733278274536133, -0.022548219189047813, -0.2447093278169632, -0.01803469844162464, 0.07061852514743805, -0.6657121181488037, 0.4352315664291382, 0.011861425824463367, -0.2069619745016098, -0.31888315081596375, -0.012987473048269749, -0.03846871107816696, -0.051056165248155594, 0.23693226277828217, 0.3850337862968445, -0.9311537146568298, -0.40874183177948, -0.3037770092487335, -0.5207228064537048, -0.3343776762485504, 0.8882461190223694, -0.5323353409767151, 0.5446290969848633, 0.10599249601364136, 0.5372114777565002, 0.16724544763565063, 0.001501753693446517, 1.0063375234603882, -0.6712033748626709, 0.11409934610128403, 0.026909252628684044, 0.4780346155166626, 0.04448382928967476, -0.8119509220123291, 0.7673770785331726, 0.14909255504608154, -0.8227190375328064, -0.9237527847290039, 0.19486524164676666, -0.670315146446228, -0.21748001873493195, 1.3306150436401367, 0.4763689339160919, 0.1429813653230667, -0.13201294839382172, -0.25323769450187683, 0.0874517634510994, -0.4834536015987396, 0.6719744205474854, 0.8146066069602966, -0.1411912590265274, 0.029736217111349106, -1.1579225063323975, 0.43873971700668335, 0.6110959053039551, -0.1805214285850525, -0.048707254230976105, 0.18555723130702972, 0.589065432548523, -0.15170574188232422, 0.8705311417579651, 0.2393260896205902, 0.46629971265792847, -0.3196476101875305, 0.3278457820415497, -0.12737169861793518, 0.23399928212165833, -0.2750440835952759, -0.2735648453235626, 0.5241700410842896, 0.07332726567983627 ]
http://arxiv.org/abs/2406.12230v1
http://arxiv.org/pdf/2406.12230v1
MCSD: An Efficient Language Model with Diverse Fusion
2024-06-18T03:08:01
2024-06-18T03:08:01
Hua Yang, Duohai Li, Shiman Li
cs.CL
cs.CL, cs.AI
Transformers excel in Natural Language Processing (NLP) due to their prowess in capturing long-term dependencies but suffer from exponential resource consumption with increasing sequence lengths. To address these challenges, we propose MCSD model, an efficient language model with linear scaling and fast inference speed. MCSD model leverages diverse feature fusion, primarily through the multi-channel slope and decay (MCSD) block, to robustly represent features. This block comprises slope and decay sections that extract features across diverse temporal receptive fields, facilitating capture of both local and global information. In addition, MCSD block conducts element-wise fusion of diverse features to further enhance the delicate feature extraction capability. For inference, we formulate the inference process into a recurrent representation, slashing space complexity to $O(1)$ and time complexity to $O(N)$ respectively. Our experiments show that MCSD attains higher throughput and lower GPU memory consumption compared to Transformers, while maintaining comparable performance to larger-scale language learning models on benchmark tests. These attributes position MCSD as a promising base for edge deployment and embodied intelligence.
[ -0.6943217515945435, -0.8420630693435669, 0.3602203130722046, 0.23495608568191528, -0.05405966192483902, 0.3976573646068573, -0.16156788170337677, -0.32707101106643677, 0.2098589390516281, 0.5672048926353455, -0.644459068775177, -0.4536096155643463, -0.6010227799415588, -0.13740822672843933, -0.414948970079422, 0.8370665907859802, 0.3902263939380646, -0.1181197464466095, -0.021120740100741386, -0.25003841519355774, -0.15792439877986908, -0.14213845133781433, -0.637728214263916, -0.34340712428092957, 0.29071351885795593, 0.14521093666553497, 1.0429987907409668, 0.9323855638504028, 0.39361122250556946, 0.3587714731693268, -0.11001608520746231, 0.06091201305389404, -0.4260028004646301, 0.16920584440231323, -0.3545503616333008, -0.1735459864139557, -0.5320509672164917, -0.165588840842247, 0.6284148097038269, 0.9740456938743591, -0.20701126754283905, 0.12113002687692642, -0.14946159720420837, 0.3812532126903534, -0.670635998249054, -0.11842570453882217, -0.811927855014801, -0.18575941026210785, -0.0906372144818306, 0.3181154131889343, -0.5002630949020386, -0.06306581944227219, 0.1090315654873848, -0.3029366731643677, 0.39406681060791016, -0.2670041620731354, 0.6258596181869507, 0.36875346302986145, -0.35859328508377075, -0.2806623876094818, -0.7788058519363403, 1.027342438697815, -0.5911234617233276, 0.8636611104011536, 0.1932062953710556, 0.537852942943573, -0.11409568786621094, -0.9758611917495728, -0.632473886013031, -0.11079882085323334, 0.21921661496162415, -0.06265987455844879, -0.039832718670368195, 0.17592091858386993, 0.1713731437921524, 0.34643951058387756, -0.374159574508667, 0.3079918324947357, -0.1158611997961998, -0.3554125130176544, 0.5362330675125122, 0.2571670413017273, 0.5098832845687866, -0.5053569674491882, -0.37094005942344666, -0.20724919438362122, -0.3490479290485382, 0.06763984262943268, 0.25099918246269226, 0.6146448850631714, -0.22801031172275543, 0.5562706589698792, -0.0485430583357811, 0.7596588134765625, -0.30916497111320496, -0.4509207010269165, 0.21502244472503662, -0.40101200342178345, -0.06667418777942657, -0.1315287947654724, 0.6653649210929871, 0.04519149288535118, -0.10224778950214386, -0.14628997445106506, -0.13941578567028046, 0.40119287371635437, 0.3144080638885498, -0.7424936890602112, -0.2249513566493988, 0.29930415749549866, -0.48587921261787415, 0.14199578762054443, -0.15360839664936066, -1.168358325958252, -0.41948190331459045, -0.18563731014728546, 0.02095959708094597, -0.6113324761390686, -0.5156981945037842, 0.008580217137932777, -0.2937208116054535, 0.025902343913912773, 0.10443790256977081, -0.9869977235794067, 0.5491297245025635, 0.754941999912262, 1.0097110271453857, -0.3839031159877777, -0.2697766125202179, -0.5344247221946716, 0.03736431524157524, 0.09608037024736404, 0.6952385306358337, -0.8563442230224609, -0.5505782961845398, -0.3034978210926056, -0.3739919066429138, 0.061659712344408035, -0.3436855375766754, 0.4917447566986084, -0.2162601798772812, -0.2511858642101288, 0.06900661438703537, -0.25407275557518005, -0.035710789263248444, -0.10048197954893112, -0.8719136118888855, 1.1610865592956543, 0.20412974059581757, -0.6545831561088562, 0.1636764109134674, -0.6090479493141174, -0.4170851707458496, 0.1571795493364334, -0.20141838490962982, -0.2417006939649582, 0.12347818911075592, 0.38113173842430115, 0.5443567633628845, -0.3510403335094452, 0.326904833316803, -0.5811293125152588, -0.15431243181228638, -0.010720165446400642, -0.5832808613777161, 0.6346509456634521, 0.32622984051704407, -0.22878451645374298, -0.04834078997373581, -1.072773814201355, -0.08893292397260666, 0.03798691928386688, -0.24355120956897736, -0.33592280745506287, 0.1964542418718338, -0.038666218519210815, 0.3421277105808258, -0.057805631309747696, -0.7316223978996277, 0.06005648523569107, -0.10939040780067444, 0.4584137797355652, 0.5751546621322632, -0.1409214437007904, 0.7080929279327393, -0.04381402209401131, 0.4654533863067627, 0.015635548159480095, 0.013763830997049809, -0.5311217904090881, -0.5991072654724121, -0.5346156358718872, -0.9165188074111938, 0.17829646170139313, 0.33159852027893066, -0.9176977276802063, 0.2879289984703064, -0.5244885087013245, -0.6806707382202148, -0.9701146483421326, 0.19286833703517914, 0.3014325201511383, 0.5518417954444885, 0.6015525460243225, -0.02021993324160576, -0.46046605706214905, -1.0212129354476929, -0.10596770793199539, 0.11481180787086487, -0.2847682535648346, 0.16016443073749542, 0.2596867084503174, -0.537432849407196, 1.146971344947815, -0.5632506012916565, 0.015553590841591358, -0.624440610408783, 0.2520335018634796, 0.04756385460495949, 0.3405945897102356, 0.3588181138038635, -0.8587487936019897, -0.176627516746521, -0.06402279436588287, -0.39837124943733215, -0.15761642158031464, -0.24055860936641693, -0.08796782791614532, 0.06249074265360832, 0.43351051211357117, -0.6833832859992981, 0.25629937648773193, 0.831244945526123, -0.13515707850456238, 0.20290854573249817, -0.08258002251386642, -0.15771034359931946, -1.062065839767456, 0.08776678144931793, 0.04283135011792183, -0.21085546910762787, -0.7419649362564087, 0.048677269369363785, 0.14487867057323456, -0.3889528810977936, -0.5309453010559082, 0.587846577167511, -0.4380611777305603, -0.25946947932243347, -0.1885678619146347, 0.5230830907821655, -0.1196570172905922, 0.572243332862854, 0.016256825998425484, 0.5431149005889893, 0.4155239164829254, -0.9219617247581482, 0.1675713211297989, 0.03142472356557846, -0.05658042058348656, 0.6110525727272034, -0.42645716667175293, -0.12814795970916748, -0.23280271887779236, 0.2534271776676178, -0.9433582425117493, 0.03320565074682236, -0.2615290582180023, -0.23687848448753357, 0.3093990981578827, -0.0037283911369740963, -0.35290732979774475, -0.4743271470069885, -0.2420525848865509, 0.34217777848243713, 0.5992990732192993, -0.6403464078903198, 1.174620270729065, 0.5907607674598694, -0.188120499253273, -0.6000913977622986, -0.6406263709068298, -0.06137401983141899, 0.12215344607830048, -0.631911039352417, 0.5294823050498962, 0.12158991396427155, -0.0808606967329979, 0.018549449741840363, -0.000985766644589603, 0.18169419467449188, 0.1838526874780655, 0.37984055280685425, 0.06960267573595047, -0.15774580836296082, 0.2542057931423187, 0.26995256543159485, -0.3868234157562256, -0.3470005691051483, -0.0028614357579499483, 1.0851354598999023, -0.1433444619178772, -0.5900058150291443, -0.28961363434791565, 0.5371290445327759, 0.8100141882896423, -0.4022693932056427, 0.7088353037834167, 0.753305971622467, -0.43258237838745117, -0.5075082778930664, -0.5728124380111694, -0.0185368824750185, -0.4755139648914337, 0.71406489610672, -0.5603213310241699, -0.6144958734512329, 0.7443677186965942, -0.3760693669319153, 0.10174047201871872, 0.7219409942626953, 0.39770132303237915, 0.12541544437408447, 1.2804259061813354, 0.7190858721733093, 0.06445198506116867, 0.3731791079044342, -0.42802220582962036, 0.305518239736557, -1.0632282495498657, -0.25778844952583313, -0.6187222003936768, -0.29608508944511414, -0.5713163018226624, -0.4037579894065857, -0.007135521154850721, 0.05890357494354248, -0.18611881136894226, 0.3324534595012665, -0.32405149936676025, 0.2344234138727188, 0.2876652181148529, 0.06128909811377525, 0.20981016755104065, -0.1455923616886139, -0.3072000741958618, -0.24688389897346497, -0.615402102470398, -0.42461660504341125, 0.8173325061798096, 0.6078186631202698, 0.8671499490737915, 0.13916628062725067, 0.4909455180168152, 0.17744854092597961, 0.18448364734649658, -0.5526991486549377, 0.727706789970398, -0.49000075459480286, -0.20090699195861816, -0.21948553621768951, -0.4687316119670868, -0.6592346429824829, 0.31834128499031067, -0.34966397285461426, -0.7119542956352234, -0.1138388141989708, -0.054472196847200394, -0.07741729170084, 0.6501911878585815, -0.6907027363777161, 0.6389756798744202, -0.18574422597885132, -0.07703062891960144, -0.3965897858142853, -0.6578464508056641, 0.43672874569892883, 0.04493676871061325, 0.23549839854240417, -0.2307516485452652, -0.14477571845054626, 0.5027297735214233, -0.2509431838989258, 0.7083715796470642, -0.08179168403148651, 0.13861820101737976, 0.08439352363348007, 0.17096777260303497, 0.21598240733146667, 0.02868597023189068, -0.14764077961444855, 0.26045987010002136, -0.48791956901550293, -0.4199123978614807, -0.7836161851882935, 0.8255714178085327, -0.6273609399795532, -0.30242592096328735, -0.07208483666181564, -0.715600848197937, -0.14181768894195557, 0.2005549967288971, 0.1672641485929489, 0.6598896980285645, -0.1419793963432312, 0.12773102521896362, 0.6575732827186584, -0.36094287037849426, 0.8774868249893188, 0.05716510862112045, -0.5486320853233337, -0.508401095867157, 0.9918924570083618, 0.14786496758460999, 0.8252377510070801, 0.1942881941795349, -0.10152312368154526, -0.36511820554733276, -0.44572654366493225, -0.60086590051651, 0.3765820562839508, -0.7944807410240173, -0.18337053060531616, -1.2480864524841309, -0.4176344871520996, -0.2509109079837799, -0.3213319778442383, -0.8507028818130493, -0.46200522780418396, -0.11327219754457474, -0.09330597519874573, 0.17453600466251373, 0.6536223888397217, 0.1327824592590332, 0.4185151755809784, -0.7669623494148254, 0.8607955574989319, 0.26495516300201416, 0.5888692140579224, 0.20016834139823914, -0.16569048166275024, 0.03856074810028076, 0.22306691110134125, -0.26834291219711304, -0.7064436674118042, 0.29159581661224365, 0.2784813344478607, 0.9180988073348999, 0.3073481321334839, -0.07068974524736404, 0.7733250856399536, -0.3457774221897125, 0.9959203004837036, 0.2435532510280609, -1.1451541185379028, 0.3084571361541748, -0.019032076001167297, 0.6446295380592346, 0.3926903307437897, 0.4291742444038391, -0.6247552037239075, -0.7128739356994629, -0.7175665497779846, -0.8511343002319336, 0.47239214181900024, 0.007110401522368193, 0.21898069977760315, -0.18356236815452576, 0.00009269724250771105, 0.2635761797428131, 0.04094339907169342, -0.4870070219039917, -0.2630194127559662, -0.3443247377872467, -0.45525190234184265, -0.12277784198522568, -0.1714884489774704, 0.30040812492370605, -0.15022337436676025, 0.48544472455978394, -0.25949445366859436, 0.19193609058856964, -0.04077977314591408, -0.40984851121902466, 0.38079988956451416, 0.15519757568836212, 0.6442602276802063, 0.4644177258014679, -0.07261057198047638, 0.4845545291900635, 0.3196805715560913, -0.7403861284255981, 0.037917912006378174, -0.03225397318601608, 0.07855097204446793, 0.12016122788190842, 0.3540067970752716, 0.7455652356147766, 0.4443511664867401, -0.6193091869354248, 0.18048709630966187, -0.13791923224925995, 0.3017399311065674, 0.22794599831104279, 0.0809972733259201, 0.4050341546535492, 0.15334810316562653, 0.47930315136909485, 0.28774285316467285, -0.02925681136548519, -0.4521615207195282, 0.47225937247276306, 0.4925071597099304, -0.43055763840675354, -0.0833006352186203, 0.5470265746116638, 0.26935312151908875, -0.4592147171497345, 0.8752481937408447, -0.143506720662117, -0.49392130970954895, 0.47462406754493713, 0.7091854214668274, 0.7325538992881775, -0.4718567132949829, 0.47678515315055847, 0.19381903111934662, 0.15279115736484528, -0.0004755203553941101, 0.14365160465240479, -0.06058291345834732, -0.5769509673118591, -0.44789451360702515, -0.9115814566612244, -0.23329636454582214, -0.2771165668964386, -0.48188483715057373, 0.313892126083374, -0.620323657989502, -0.30754756927490234, 0.06652693450450897, -0.30453944206237793, -0.5639896988868713, 0.08466290682554245, 0.23830077052116394, 1.0800048112869263, -0.862253725528717, 0.7506117224693298, 0.18801790475845337, -0.28658056259155273, -0.4493146240711212, -0.3541600704193115, 0.030822167173027992, -0.5723143219947815, 0.594284176826477, 0.3274645209312439, -0.4384056627750397, 0.1797790825366974, -0.33871063590049744, -0.958228588104248, 1.1041656732559204, 0.558887243270874, -0.23287208378314972, 0.16253244876861572, 0.15701717138290405, 0.4861312806606293, -0.6435128450393677, 0.4605848491191864, 0.6760356426239014, 0.18037334084510803, 0.36893847584724426, -0.7734078764915466, -0.01617935113608837, -0.17149174213409424, 0.3895339369773865, 0.6025876998901367, -0.26994913816452026, 1.1281708478927612, -0.2510538697242737, -0.5038692355155945, -0.16864749789237976, 0.8820976614952087, 0.2539839744567871, -0.05018490552902222, 0.41285231709480286, 0.7523196935653687, 0.8347452878952026, -0.15368056297302246, 1.0478249788284302, -0.061568908393383026, 0.24653242528438568, 0.905015230178833, -0.17447324097156525, 0.9935362935066223, 0.27254459261894226, -0.039723750203847885, 0.7543349862098694, 0.2403206080198288, 0.20881424844264984, 0.559598982334137, 0.09148060530424118, -0.21018655598163605, -0.2178480178117752, -0.2619454562664032, -0.21673254668712616, 0.5001564621925354, 0.5864608883857727, -0.21979205310344696, -0.4661902189254761, 0.25561389327049255, 0.12296026200056076, 0.17873331904411316, -0.4168052673339844, 0.5738712549209595, 0.07470746338367462, -0.576316773891449, 0.2843664586544037, 0.06503592431545258, 0.7841745615005493, -0.8056491017341614, -0.14137330651283264, -0.14011403918266296, 0.36694425344467163, -0.1528434157371521, -0.7573225498199463, 0.357413649559021, -0.22561322152614594, -0.20371221005916595, -0.23080354928970337, 0.5519118905067444, -0.45549967885017395, -0.5589607954025269, 0.525091290473938, 0.2050989270210266, -0.20386573672294617, 0.1422906368970871, -0.5780338048934937, 0.27283015847206116, -0.15623235702514648, 0.04268396273255348, 0.2612789571285248, 0.029450474306941032, -0.001952621154487133, 1.2181730270385742, 0.7270357012748718, 0.09862811118364334, 0.3853309750556946, 0.027180900797247887, 0.8059502840042114, -0.705112099647522, -0.5853662490844727, -0.9096018075942993, 0.9267280101776123, -0.3396538197994232, -0.23537294566631317, 0.48706814646720886, 0.36081263422966003, 0.5583791732788086, 0.16663911938667297, 0.6188386678695679, 0.04070207476615906, 0.4771844446659088, -0.6142450571060181, 0.5935992002487183, -0.22695356607437134, 0.2508828639984131, -0.3349989056587219, -1.073702335357666, -0.34217825531959534, 0.29397597908973694, 0.08504513651132584, 0.1396263688802719, 0.689826488494873, 0.607826828956604, -0.3622351884841919, 0.25514093041419983, 0.20591968297958374, 0.037626203149557114, 0.6910873651504517, 0.42210638523101807, 0.3438434898853302, -0.22757704555988312, 0.4587699770927429, -0.3070334494113922, -0.26772066950798035, -0.055742885917425156, -0.9530656933784485, -0.7532991170883179, -0.7379376292228699, -0.14788492023944855, -0.24166427552700043, -0.41716504096984863, 0.8853507041931152, 0.6552728414535522, -0.6584046483039856, -0.12789933383464813, 0.01720026135444641, 0.33797672390937805, -0.2684142589569092, -0.2088272124528885, 0.35157135128974915, -0.37588658928871155, -0.6644582748413086, 0.3189014196395874, 0.5710886716842651, 0.08802739530801773, -0.7172116041183472, -0.18404227495193481, -0.4465114176273346, 0.03612278029322624, 0.6261240839958191, 0.22370758652687073, -0.8092530369758606, -0.24069397151470184, 0.12482548505067825, -0.37657129764556885, -0.06277252733707428, 0.7638928294181824, -0.9698078036308289, 0.6281552910804749, 0.4702383279800415, 0.9742039442062378, 0.5673184394836426, -0.040839459747076035, 0.7622491121292114, -0.5882522463798523, 0.2357041835784912, 0.187583327293396, 0.3311954736709595, 0.5472100377082825, -0.07449713349342346, 0.3154289424419403, 0.1308758556842804, -0.1829688549041748, -0.8472396731376648, 0.5797674059867859, -1.0403482913970947, -0.32107192277908325, 0.9451894760131836, 0.0839737206697464, -0.2319577932357788, -0.22364050149917603, -0.10209240019321442, 0.22849825024604797, -0.23310457170009613, 0.3969936966896057, 0.4511905312538147, -0.00369510380551219, -0.35738885402679443, -0.4138544797897339, 0.46967822313308716, 0.17339785397052765, -0.6166794896125793, -0.04010435938835144, 0.1885308027267456, -0.04356615990400314, 0.6159810423851013, 0.3329120874404907, -0.04316495731472969, 0.02525254897773266, 0.396791934967041, 0.16365349292755127, -0.08580352365970612, -0.4691988527774811, -0.31273478269577026, 0.3991398811340332, -0.36205431818962097, -0.048307694494724274 ]
http://arxiv.org/abs/2406.12223v1
http://arxiv.org/pdf/2406.12223v1
ToxiCloakCN: Evaluating Robustness of Offensive Language Detection in Chinese with Cloaking Perturbations
2024-06-18T02:44:56
2024-06-18T02:44:56
Yunze Xiao, Yujia Hu, Kenny Tsu Wei Choo, Roy Ka-wei Lee
cs.CL
cs.CL, cs.CY
Detecting hate speech and offensive language is essential for maintaining a safe and respectful digital environment. This study examines the limitations of state-of-the-art large language models (LLMs) in identifying offensive content within systematically perturbed data, with a focus on Chinese, a language particularly susceptible to such perturbations. We introduce \textsf{ToxiCloakCN}, an enhanced dataset derived from ToxiCN, augmented with homophonic substitutions and emoji transformations, to test the robustness of LLMs against these cloaking perturbations. Our findings reveal that existing models significantly underperform in detecting offensive content when these perturbations are applied. We provide an in-depth analysis of how different types of offensive content are affected by these perturbations and explore the alignment between human and model explanations of offensiveness. Our work highlights the urgent need for more advanced techniques in offensive language detection to combat the evolving tactics used to evade detection mechanisms.
[ -0.03471991792321205, -1.0496402978897095, 0.006326644215732813, 0.21447430551052094, -0.45467835664749146, 0.10552266985177994, -0.1308407485485077, -0.6268936395645142, -0.06593717634677887, 0.64903724193573, -0.2665208876132965, -0.6108970642089844, -0.8400906920433044, 0.0922461673617363, -0.5583463907241821, 0.8617833256721497, 0.19859720766544342, 0.008996469900012016, 0.5208501219749451, -0.23145660758018494, -0.0610196515917778, -0.7143768668174744, -0.7719766497612, -0.05119713768362999, 0.7609629034996033, 0.20079711079597473, 0.8707952499389648, 0.4214615821838379, 0.5929816961288452, 0.2833777368068695, -0.38941308856010437, 0.004189282655715942, -0.7001816034317017, 0.39411792159080505, 0.1653071492910385, -0.24214735627174377, -0.3388497829437256, -0.25652024149894714, 0.49107930064201355, -0.0388023816049099, -0.015816448256373405, -0.13104858994483948, -0.05806050822138786, 0.25285083055496216, -0.9277136921882629, -0.06256052106618881, -0.8130113482475281, 0.25757789611816406, -0.5517300963401794, 0.3009764552116394, -0.5565832257270813, 0.024242954328656197, -0.10007727146148682, -0.4065976142883301, -0.36873024702072144, -0.302062451839447, 0.5826684832572937, 0.03225192800164223, -0.39026859402656555, -0.4481717646121979, -0.5818657875061035, 0.7697945237159729, -1.1226540803909302, 0.3662923276424408, 0.4027506709098816, 0.10448016971349716, -0.12720517814159393, -0.6054196357727051, -0.7060912251472473, -0.5891094207763672, 0.08186692744493484, 0.3692386746406555, -0.3875226676464081, 0.035319793969392776, 0.22319844365119934, 0.3155496418476105, -0.44504350423812866, 0.5311707258224487, 0.13552308082580566, -0.4885329604148865, 0.8224350810050964, 0.3257330060005188, 0.868314802646637, -0.19990773499011993, -0.25010812282562256, -0.15190812945365906, -0.6297901272773743, -0.0994979590177536, 0.8707018494606018, 0.43688464164733887, -0.16631488502025604, 0.38045430183410645, 0.10129041969776154, 0.4393845498561859, -0.13088324666023254, 0.020395545288920403, -0.00915121752768755, -0.2154700607061386, 0.027923064306378365, 0.035192765295505524, 0.9566459655761719, 0.2992350161075592, 0.21725678443908691, 0.047815967351198196, -0.3981621265411377, 0.10126753896474838, 0.17034736275672913, -0.6648058295249939, -0.4175644814968109, 0.13351193070411682, -0.27129489183425903, -0.6735585927963257, -0.026521077379584312, -0.7865152359008789, -0.9445061683654785, 0.27711302042007446, 0.06856950372457504, -0.3334372043609619, -0.489511638879776, -0.15413382649421692, -0.11808677762746811, 0.22807654738426208, 0.19021980464458466, -0.7704158425331116, 0.0896153599023819, 0.6522798538208008, 0.7169094085693359, -0.3713832199573517, -0.20601676404476166, -0.3450377881526947, 0.02782638557255268, -0.4385603070259094, 0.4323011040687561, -0.742323100566864, -0.20595084130764008, 0.3865334987640381, 0.04610884189605713, 0.3728504180908203, -0.7440372705459595, 0.7545351386070251, -0.6065970659255981, -0.05215153470635414, -0.1765272617340088, -0.1560944765806198, -0.048473794013261795, 0.3179776072502136, -0.7224998474121094, 0.8435589671134949, 0.1706208437681198, -1.2002454996109009, 0.09783591330051422, -0.5250548124313354, -0.6246286034584045, 0.18739649653434753, 0.22919027507305145, -0.6337584853172302, -0.05062541738152504, -0.07343394309282303, 0.2500181794166565, 0.09531311690807343, -0.11019567400217056, -0.573360025882721, -0.3897997736930847, 0.41411280632019043, -0.4282459616661072, 1.0783531665802002, 0.5310192108154297, -0.4920053482055664, 0.3857111930847168, -0.46351489424705505, -0.4872823655605316, 0.5342593789100647, -0.4651215672492981, -0.6541886329650879, 0.16766692698001862, 0.48062655329704285, 0.11351396143436432, 0.1742742955684662, -0.728521466255188, -0.2980402410030365, -0.5420700311660767, 0.43162965774536133, 0.924908459186554, -0.35228219628334045, 0.04254675284028053, -0.22859463095664978, 0.5203966498374939, 0.21571728587150574, 0.34486153721809387, -0.1271771639585495, -0.48529958724975586, -0.2716202139854431, 0.013722906820476055, -0.14863058924674988, 0.7411205172538757, -0.8227783441543579, 0.267285019159317, 0.09736454486846924, -0.39693689346313477, -0.10776515305042267, 0.008748406544327736, 0.3983890116214752, 0.23655961453914642, 0.03916243091225624, -0.1884043663740158, -0.6492165327072144, -0.7040768265724182, -0.6167670488357544, -0.38715770840644836, -0.2140326201915741, 0.41392549872398376, 0.2059909552335739, -0.35070663690567017, 0.2567578852176666, 0.003731487086042762, -0.09575379639863968, -0.21055881679058075, 0.039983104914426804, -0.053935348987579346, 0.18195156753063202, 0.529381275177002, -1.0467644929885864, -0.9736744165420532, 0.16701047122478485, -0.5792078375816345, -0.5385215282440186, 0.11402135342359543, 0.16199550032615662, 0.2047855705022812, 0.484022319316864, 0.014067700132727623, 0.344210147857666, 0.9762998223304749, -0.3091059625148773, 0.7801731824874878, 0.37032321095466614, 0.23668260872364044, -0.6918154954910278, -0.08308655023574829, -0.07009683549404144, -0.21507954597473145, -1.1098036766052246, 0.6244773268699646, -0.03236820176243782, -0.01460697315633297, -0.8185311555862427, 0.4491657614707947, -0.08624517172574997, 0.44310262799263, -0.38459232449531555, 0.3031542897224426, -0.41883596777915955, 0.163816437125206, -0.09765718132257462, 0.500667154788971, 0.3131989538669586, -0.34549617767333984, 0.678581178188324, 0.1430024802684784, -0.21007119119167328, 0.14586777985095978, -0.40877804160118103, 0.3276548981666565, 0.0035865497775375843, 0.1327270269393921, -1.2237128019332886, -0.342894583940506, 0.7040484547615051, -0.3269627094268799, 0.2309655100107193, -0.19010630249977112, -0.5993891358375549, -0.35729652643203735, -0.5779109597206116, 0.7812768816947937, 0.3471026122570038, -0.689121663570404, 0.4850988984107971, 0.6551671028137207, 0.12136046588420868, -0.7257766723632812, -0.8631981015205383, 0.26711905002593994, -0.5441076755523682, -0.5834933519363403, -0.049753595143556595, -0.1614818274974823, -0.2785980701446533, -0.5712532997131348, 0.03433451056480408, -0.15085813403129578, 0.3611160218715668, 0.08994687348604202, 0.22166697680950165, -0.30634719133377075, -0.2900100648403168, -0.17139938473701477, 0.4504163861274719, 0.3613445460796356, -0.048530399799346924, 0.5150384306907654, -0.007042978424578905, -0.12659825384616852, -0.3791658580303192, 0.007900598458945751, 0.763705849647522, 0.09621762484312057, 0.6287969350814819, 0.6259786486625671, -0.36142900586128235, -0.010330223478376865, -0.4433470666408539, -0.0701529011130333, -0.5701862573623657, 0.7236541509628296, 0.10844699293375015, -0.874517023563385, 0.8343810439109802, 0.2303304225206375, -0.0023122408892959356, 0.3790954649448395, 0.606722891330719, 0.17210878431797028, 1.0978963375091553, 0.20176146924495697, -0.3298603594303131, 0.765978217124939, 0.34505146741867065, 0.2734889090061188, -0.764752209186554, -0.09680096805095673, -0.3603380024433136, 0.006882127840071917, -0.9258890151977539, -0.05774591490626335, 0.14786173403263092, -0.4305322766304016, -0.5309906601905823, 0.4046623706817627, -0.3770919442176819, 0.47862130403518677, -0.2343742847442627, 0.40803292393684387, 0.10372304916381836, 0.10086492449045181, -0.07724756747484207, -0.14180822670459747, -0.5458360314369202, -0.31702920794487, 0.8962894678115845, 0.7250909209251404, 0.7412664294242859, 0.3397539258003235, 0.15221884846687317, 0.39949968457221985, 0.5163292288780212, -0.8034335970878601, 0.40726715326309204, -0.8304263353347778, -0.9322434067726135, -0.4031085968017578, -0.4407886862754822, -0.7870818376541138, 0.20110630989074707, -0.25053954124450684, -0.9745936989784241, -0.052557848393917084, 0.2142798751592636, -0.07467526197433472, 0.8731895089149475, -0.39266613125801086, 0.6495629549026489, -0.36615225672721863, -0.581874668598175, 0.1249985545873642, -0.3443175256252289, 0.6985172033309937, -0.3191431164741516, 0.39702463150024414, -0.03042001836001873, -0.1986718624830246, 0.675608217716217, 0.07036121189594269, 1.0489128828048706, -0.022805532440543175, -0.7191618084907532, 0.25661954283714294, 0.517039954662323, 0.5379346013069153, -0.23487786948680878, -0.3199504315853119, 0.5589246153831482, -0.15527434647083282, -0.4509941041469574, -0.33466458320617676, 0.5521209239959717, -0.2972241938114166, -0.7165021896362305, -0.23992396891117096, -0.6215750575065613, 0.09053956717252731, 0.3457570970058441, 0.502021312713623, -0.007411428261548281, -0.2580976188182831, 0.015458810143172741, 0.5421398878097534, -0.7857188582420349, 0.14141945540905, 0.4891226589679718, -0.4752501845359802, -0.12206590175628662, 0.8896847367286682, -0.026082370430231094, 0.36054614186286926, 0.24007728695869446, 0.5854415893554688, -0.09379322081804276, -0.6890692710876465, -0.16399578750133514, 0.03323069587349892, -0.7346180081367493, 0.0399191789329052, -0.41094231605529785, -0.4197459816932678, -0.4892294108867645, 0.13765963912010193, -0.41156500577926636, 0.048773206770420074, -0.14457273483276367, 0.28756850957870483, -0.09936543554067612, 1.020259141921997, -0.04345444589853287, 0.42906448245048523, -0.625498354434967, 0.15682509541511536, 0.13407211005687714, 0.3889933228492737, 0.17368124425411224, -1.076300024986267, -0.2139313966035843, 0.25571516156196594, -0.3455348312854767, -1.0938985347747803, 0.3615410625934601, -0.12288539111614227, 0.42133697867393494, 0.9395619630813599, 0.3250454366207123, 0.24459801614284515, -0.28428369760513306, 0.9661138653755188, 0.13536874949932098, -0.8830491304397583, 0.5001425743103027, -0.680650532245636, 0.3191145360469818, 0.008289641700685024, 0.563224196434021, -0.728757917881012, -0.8270148634910583, -0.3357032239437103, -0.7267675995826721, 0.596620500087738, 0.23677024245262146, 0.7114073038101196, -0.08704759925603867, 0.32189300656318665, -0.024235274642705917, -0.14444111287593842, -1.0730093717575073, -0.4726846516132355, -0.4073265492916107, 0.06920822709798813, 0.04478534683585167, -0.627135157585144, -0.05433337017893791, -0.10385149717330933, 0.3769667446613312, 0.1543581336736679, 0.09116988629102707, 0.0045761349610984325, -0.07800399512052536, -0.2195039987564087, 0.043680306524038315, 0.7438909411430359, 0.30926352739334106, -0.004750940483063459, 0.1778986006975174, 0.4524044394493103, -0.8451252579689026, -0.03280819579958916, -0.434542715549469, -0.11209028959274292, -0.15990671515464783, 0.5512314438819885, 0.5681686401367188, 0.021669819951057434, -0.8276718854904175, 0.6755860447883606, -0.057537466287612915, 0.08770034462213516, -0.28548508882522583, 0.060103703290224075, -0.24808046221733093, 0.0035467122215777636, 0.07083095610141754, -0.24160589277744293, 0.27161839604377747, -0.6041275262832642, 0.1892130821943283, 0.4894371032714844, -0.49356287717819214, -0.5046349167823792, 0.6352785229682922, -0.06049010902643204, -0.4811737835407257, 0.5635517835617065, 0.105525441467762, -1.1112961769104004, 0.5404650568962097, 0.7780527472496033, 0.7608699798583984, -0.6807281374931335, 0.17275135219097137, 0.4964781105518341, 0.46337249875068665, 0.3390408456325531, -0.05577004328370094, 0.10030519217252731, -0.9979602694511414, -0.10671939700841904, -0.32141146063804626, -0.26235631108283997, 0.6255841255187988, -0.32926300168037415, 0.2262202948331833, -0.9197584390640259, -0.1605672985315323, -0.10206309705972672, -0.4216305613517761, -0.021105213090777397, -0.009540579281747341, 0.7182873487472534, 0.7884737849235535, -0.9298320412635803, 0.47905096411705017, 0.4712253510951996, -0.10824904590845108, -0.6238651275634766, 0.3257862627506256, 0.35269561409950256, -0.812804639339447, 0.5648496747016907, -0.1251927763223648, -0.11006231606006622, -0.48195546865463257, -0.9558137655258179, -0.3629836440086365, 0.3619981110095978, 0.45095881819725037, -0.3888973593711853, 0.2361142635345459, 0.24427802860736847, 0.759276270866394, -0.13927097618579865, 0.26150962710380554, 0.6287010312080383, 0.565801739692688, 0.021304896101355553, -0.6841453909873962, 0.25102803111076355, -0.25160813331604004, -0.1186840757727623, 0.013660288415849209, -0.7683943510055542, 0.9459577798843384, 0.11702648550271988, -0.5423175692558289, 0.10905266553163528, 0.31273841857910156, 0.04704194515943527, 0.36667338013648987, 0.5734551548957825, 0.24091729521751404, 0.4229632019996643, 0.022016039118170738, 1.0571647882461548, 0.0832526832818985, 0.148339182138443, 0.9003645777702332, -0.16346518695354462, 0.8346447348594666, 0.17812177538871765, -0.17755341529846191, 0.6892989277839661, 0.5741473436355591, -0.13367114961147308, 0.16292916238307953, 0.5072851777076721, -0.437446266412735, -0.1646137535572052, -0.24462898075580597, -0.22454191744327545, 0.7387123107910156, 0.43047165870666504, -0.1970372200012207, -0.04098349064588547, 0.07920793443918228, 0.17062176764011383, 0.2755280137062073, -0.26546698808670044, 0.8318377137184143, -0.024646174162626266, -0.17735564708709717, 0.7407490611076355, -0.004740111529827118, 1.0629805326461792, -0.5015923976898193, 0.1437602937221527, -0.27320629358291626, -0.025236712768673897, -0.3946774899959564, -0.8114887475967407, 0.32389289140701294, 0.0406760536134243, 0.4005983769893646, 0.1925659477710724, 0.8035564422607422, -0.32114893198013306, -0.1625169962644577, 0.7978781461715698, -0.2781548798084259, 0.22533543407917023, -0.07030939310789108, -0.7544231414794922, 0.3321068286895752, -0.0025369939394295216, -0.07627679407596588, 0.33185866475105286, 0.3431210517883301, 0.019708003848791122, 0.6902893781661987, 0.6466235518455505, 0.28062161803245544, 0.2313871532678604, 0.1510583609342575, 0.838346004486084, -0.28841185569763184, -0.46065643429756165, -1.0007691383361816, 0.33879247307777405, 0.04662168025970459, -0.013996223919093609, 0.9260041117668152, 0.3963472843170166, 0.986240565776825, -0.03736414760351181, 0.6825523972511292, 0.12786255776882172, 0.132055401802063, -0.4095960557460785, 1.1835674047470093, -0.5990435481071472, 0.48362523317337036, -0.6271892786026001, -0.7127041816711426, -0.6950386762619019, 0.3964003026485443, -0.2412124127149582, -0.011996756307780743, 0.3436940014362335, 0.8970322608947754, -0.03188861533999443, 0.027964387089014053, 0.7580451965332031, 0.689375102519989, 0.4528363347053528, 0.43565717339515686, 1.2466411590576172, -0.6239829063415527, 0.6097740530967712, -0.37119626998901367, -0.2054455578327179, -0.0750848576426506, -0.8661226034164429, -0.9688851237297058, -0.5173293948173523, -0.19467423856258392, -0.609160840511322, 0.35583001375198364, 0.4650493264198303, 0.4388735592365265, -1.3140696287155151, -0.36524540185928345, 0.15897250175476074, 0.33505168557167053, 0.18765553832054138, -0.2333223521709442, 0.11031936854124069, -0.0245647095143795, -0.7558740973472595, 0.2061769664287567, 0.15439650416374207, 0.07775185257196426, -0.16714736819267273, -0.2258872240781784, -0.24389711022377014, 0.2186766117811203, 0.8234273195266724, 0.36209943890571594, -0.9122594594955444, -0.3773997128009796, 0.0023802209179848433, -0.14885225892066956, -0.01877337321639061, 0.8710786700248718, -0.06878338754177094, 0.6500229239463806, 0.5198675990104675, 0.7288936972618103, 0.04316329210996628, -0.08074245601892471, 0.2945885956287384, -0.531426727771759, 0.34798508882522583, 0.301805317401886, 0.16520489752292633, 0.3366636633872986, -0.7072501182556152, 0.14046500623226166, 0.14777430891990662, -0.5294488072395325, -0.9383559823036194, 0.32214584946632385, -0.6953259110450745, -0.4116828739643097, 1.364507794380188, -0.4182872176170349, -0.1692388951778412, -0.39008811116218567, -0.30609267950057983, 0.3657955527305603, -0.34310683608055115, 1.0583689212799072, 0.7973672747612, 0.19772283732891083, -0.2546020448207855, -0.23786760866641998, 0.4923393130302429, 0.49344825744628906, -0.40863052010536194, 0.4198686480522156, 0.2900155186653137, 0.1890043020248413, 0.1637727916240692, 0.13864107429981232, -0.3036990761756897, 0.47832465171813965, 0.01819421537220478, -0.39450618624687195, 0.09936816245317459, -0.10238154977560043, -0.48426327109336853, -0.016624154523015022, -0.011407935991883278, 0.03754059225320816 ]
http://arxiv.org/abs/2406.12221v1
http://arxiv.org/pdf/2406.12221v1
On-Policy Fine-grained Knowledge Feedback for Hallucination Mitigation
2024-06-18T02:43:49
2024-06-18T02:43:49
Xueru Wen, Xinyu Lu, Xinyan Guan, Yaojie Lu, Hongyu Lin, Ben He, Xianpei Han, Le Sun
cs.CL
cs.CL
Hallucination occurs when large language models (LLMs) exhibit behavior that deviates from the boundaries of their knowledge during the response generation process. Previous learning-based methods focus on detecting knowledge boundaries and finetuning models with instance-level feedback, but they suffer from inaccurate signals due to off-policy data sampling and coarse-grained feedback. In this paper, we introduce \textit{\b{R}einforcement \b{L}earning \b{f}or \b{H}allucination} (RLFH), a fine-grained feedback-based online reinforcement learning method for hallucination mitigation. Unlike previous learning-based methods, RLFH enables LLMs to explore the boundaries of their internal knowledge and provide on-policy, fine-grained feedback on these explorations. To construct fine-grained feedback for learning reliable generation behavior, RLFH decomposes the outcomes of large models into atomic facts, provides statement-level evaluation signals, and traces back the signals to the tokens of the original responses. Finally, RLFH adopts the online reinforcement algorithm with these token-level rewards to adjust model behavior for hallucination mitigation. For effective on-policy optimization, RLFH also introduces an LLM-based fact assessment framework to verify the truthfulness and helpfulness of atomic facts without human intervention. Experiments on HotpotQA, SQuADv2, and Biography benchmarks demonstrate that RLFH can balance their usage of internal knowledge during the generation process to eliminate the hallucination behavior of LLMs.
[ -0.508783221244812, -1.2320597171783447, 0.5677328109741211, 0.16371071338653564, 0.1557704359292984, -0.13102152943611145, -0.4498017728328705, -0.40061017870903015, 0.19814075529575348, 0.6199949383735657, -0.7177035808563232, -0.2838584780693054, -0.12463501840829849, -0.1907389760017395, 0.06630569696426392, 1.0706707239151, 0.11232809722423553, 0.030709072947502136, -0.3527381420135498, 0.127571702003479, -0.34863612055778503, -0.44742706418037415, -0.5560855865478516, -0.6618561148643494, 0.4568192660808563, 0.5187588334083557, 0.4972028136253357, 0.42761093378067017, 0.3746320307254791, 0.22716307640075684, -0.07504880428314209, 0.45484623312950134, -0.748843789100647, 0.14893591403961182, -0.22076666355133057, -0.2262657731771469, -0.28564998507499695, -0.3390958607196808, 0.4631733000278473, 0.49781352281570435, -0.5568873286247253, -0.1736694574356079, 0.16360414028167725, 0.588474452495575, -0.7500972747802734, 0.25499144196510315, -0.6508519053459167, 0.24103446304798126, 0.17903535068035126, -0.5021459460258484, -0.5040114521980286, -0.667069673538208, -0.037263620644807816, -0.4390099048614502, 0.10410076379776001, 0.08382418751716614, 0.8624817728996277, 0.41684573888778687, 0.09650349617004395, -0.41703182458877563, -0.9239094853401184, 0.9003074765205383, -0.6530380249023438, 0.5468943119049072, 0.7295718193054199, 0.39295363426208496, -0.3489925265312195, -0.4811490774154663, -0.4934062957763672, -0.4470478296279907, -0.20978011190891266, 0.011071373708546162, 0.11668853461742401, 0.21482624113559723, 0.23720471560955048, 0.3457580506801605, -0.21664254367351532, 0.2245764285326004, -0.23468363285064697, -0.5605932474136353, 0.45128893852233887, 0.06488968431949615, -0.13999083638191223, -0.14772361516952515, -0.4604977071285248, -0.21587112545967102, -0.7505829334259033, 0.06905282288789749, 0.2696206271648407, 0.5032140612602234, 0.11266124248504639, 0.4019755423069, -0.48646169900894165, 0.4040464460849762, 0.10308384895324707, -0.052883733063936234, 0.1475762575864792, -0.08650568872690201, -0.04160797968506813, 0.29485562443733215, 0.5636293888092041, 0.28163638710975647, 0.17391018569469452, -0.4259788691997528, -0.673795759677887, -0.003029115730896592, 0.2594047784805298, -1.0213792324066162, -0.00899227149784565, 0.15767385065555573, -0.4447705149650574, -0.2730306088924408, 0.10655522346496582, -1.1382277011871338, -0.5831018090248108, -0.17883774638175964, 0.6646760106086731, -0.3477044701576233, -0.2637694776058197, -0.01890784502029419, 0.006031909957528114, 0.35958167910575867, 0.2548710107803345, -1.0566034317016602, 0.4572798013687134, 0.575079083442688, 0.8450198769569397, -0.15538683533668518, -0.3848748803138733, -0.9583851099014282, 0.05295849218964577, -0.006243716925382614, 0.8840246200561523, -0.360636830329895, -0.2518581748008728, 0.2443397343158722, -0.08797601610422134, 0.11735612154006958, -0.823336124420166, 0.19724954664707184, -0.3111140727996826, -0.07504509389400482, -0.2983502447605133, -0.5923282504081726, -0.22927741706371307, 0.5152531266212463, -0.49611639976501465, 0.838172972202301, 0.10656704753637314, -0.5138857364654541, 0.2242511659860611, -0.587436854839325, -0.4126347303390503, -0.06613629311323166, -0.37894052267074585, -0.5450292825698853, 0.14900991320610046, 0.1776924729347229, 0.5630373954772949, 0.007912005297839642, 0.3616669476032257, -0.47307950258255005, -0.37687453627586365, 0.2585073411464691, -0.4500346779823303, 0.2102551907300949, 0.14794887602329254, -0.6591067314147949, 0.45532822608947754, -0.8126551508903503, -0.015743296593427658, 0.07828128337860107, -0.35641440749168396, -0.10289686918258667, 0.19232885539531708, -0.050792694091796875, 0.16177235543727875, 0.0630442202091217, -0.5195115804672241, 0.06615922600030899, -0.4283725321292877, 0.23019033670425415, 0.7693517804145813, 0.3145255446434021, 0.22002273797988892, -0.690566897392273, 0.3334988057613373, -0.15609458088874817, 0.2560453414916992, 0.16325578093528748, -0.25670361518859863, -0.7619972825050354, -0.050916191190481186, 0.08599089831113815, 0.4652162790298462, -0.646233856678009, 0.454719215631485, -0.03513624891638756, -0.22626939415931702, -0.41652071475982666, 0.027649903669953346, 0.4850555956363678, 0.17585498094558716, 0.583124041557312, -0.14167720079421997, -0.32787612080574036, -0.5417017936706543, -0.06402803212404251, -0.010251128114759922, 0.13225023448467255, 0.3754722774028778, 0.42031148076057434, -0.3791118562221527, 0.9379770755767822, -0.5099955201148987, -0.6350259184837341, -0.27641960978507996, 0.36931678652763367, -0.2699008882045746, 0.3908318877220154, 0.049848008900880814, -0.380829393863678, 0.10610111802816391, 0.18718717992305756, -0.5645080804824829, -0.13982447981834412, -0.33245787024497986, 0.05472540855407715, 0.5273964405059814, 0.5870833396911621, -0.5183430910110474, 0.401115357875824, 0.306779146194458, -0.29240792989730835, 0.574192464351654, -0.28807416558265686, 0.046140410006046295, -0.4603438675403595, -0.06392911076545715, -0.22990810871124268, -0.33592066168785095, -0.44953736662864685, 0.16901612281799316, -0.2901827096939087, 0.38910818099975586, -0.5419106483459473, 0.6162228584289551, -0.12032384425401688, -0.3000790774822235, -0.4383170008659363, 0.18076853454113007, -0.3066187798976898, 0.8834155797958374, 0.18287697434425354, 0.5233905911445618, 0.19630838930606842, -0.9158597588539124, 0.2677859663963318, 0.11646836996078491, -0.3738289177417755, 0.4021580219268799, -0.2724919319152832, 0.09573976695537567, -0.042937010526657104, 0.14409005641937256, -0.5121000409126282, -0.21798838675022125, 0.3456834554672241, -0.34017109870910645, 0.12060587853193283, 0.32261884212493896, -0.31410810351371765, -0.03370026871562004, -0.4834146201610565, 0.13611716032028198, 0.35192784667015076, -0.6564518809318542, 0.5676780939102173, 0.3608536124229431, 0.05779225006699562, -0.36545586585998535, -0.5749529600143433, -0.4829377233982086, -0.08667479455471039, -0.24918827414512634, 0.2896147072315216, -0.20143122971057892, -0.3506009876728058, 0.02605769969522953, -0.12102734297513962, 0.012278471142053604, 0.19478127360343933, 0.14095622301101685, 0.03830393776297569, -0.027102984488010406, 0.12041779607534409, 0.05867448449134827, 0.06950465589761734, 0.2597428858280182, -0.015182075090706348, 0.9073124527931213, -0.15626272559165955, -0.2755395770072937, -0.34559187293052673, 0.018152384087443352, 0.441503643989563, 0.09998591244220734, 0.6328809857368469, 0.8024675846099854, -0.47054046392440796, -0.5520786643028259, -0.5026600956916809, -0.8990446925163269, -0.43243035674095154, 0.35877928137779236, -0.30559757351875305, -0.9467695355415344, 0.5283044576644897, -0.21476860344409943, 0.1391669064760208, 0.32324594259262085, 0.6493772864341736, 0.2959729731082916, 0.8403691649436951, 0.2912183701992035, 0.07605462521314621, 0.30876991152763367, -0.2931143045425415, 0.15768374502658844, -0.6683144569396973, -0.5308820009231567, -0.37144753336906433, -0.15988032519817352, -0.49462059140205383, -0.34114870429039, 0.10239853709936142, 0.20000497996807098, -0.22975671291351318, -0.17290189862251282, -0.35384318232536316, 0.422118216753006, 0.49148815870285034, 0.4840850830078125, 0.36264467239379883, 0.10037355124950409, -0.16234171390533447, 0.16280044615268707, -0.7353712916374207, -0.057023707777261734, 0.8140847682952881, 0.5477304458618164, 1.0523463487625122, -0.002573756966739893, 0.7910131216049194, 0.5601571798324585, 0.12950028479099274, -1.1136213541030884, 0.5614001750946045, 0.2782645523548126, -0.23944790661334991, -0.5720415115356445, -0.7987868785858154, -0.6487215161323547, 0.14850760996341705, -0.3852819502353668, -0.7748047709465027, 0.08715594559907913, 0.218348890542984, -0.6876676082611084, 0.31133919954299927, -0.19312337040901184, 0.5915550589561462, -0.2795805037021637, -0.531236469745636, -0.6536867618560791, -0.407701700925827, 0.392416775226593, 0.042448561638593674, 0.350572794675827, 0.16410720348358154, 0.5673026442527771, 0.6996468901634216, -0.4482581913471222, 1.0165554285049438, -0.5351081490516663, -0.18175865709781647, 0.17695489525794983, 0.1179330050945282, 0.8870490193367004, -0.05786433070898056, 0.23036199808120728, 0.013986313715577126, -0.14485976099967957, 0.04306740686297417, -0.5786794424057007, 0.7817078232765198, -0.7136166095733643, -0.5750414133071899, -0.29857125878334045, -0.702099084854126, -0.2908453345298767, -0.06477805972099304, 0.13588806986808777, 0.3991910517215729, -0.17125335335731506, 0.27302971482276917, 0.972191572189331, -0.35026535391807556, 0.3487226068973541, 0.3936544358730316, -0.7999764680862427, -0.5482848882675171, 1.3850572109222412, -0.04138077422976494, 0.3709573447704315, 0.31383538246154785, 0.611448347568512, -0.40465641021728516, -0.33255982398986816, -0.33804410696029663, 0.20153167843818665, -0.677696943283081, -0.34279996156692505, -0.5976807475090027, -0.5198792219161987, -0.37375500798225403, -0.0641961544752121, -0.36426615715026855, -0.3290162980556488, -0.1003333255648613, -0.0762406513094902, 0.4198572635650635, 0.8407883644104004, -0.30423346161842346, 0.2887794077396393, -0.641335666179657, 0.3696715533733368, 0.42859378457069397, 0.4214463531970978, 0.24069447815418243, -0.4405093789100647, -0.34618133306503296, 0.1451938897371292, -0.5442922711372375, -0.6132165789604187, 0.17161951959133148, 0.24880282580852509, 0.6326469779014587, 0.6928539276123047, 0.18076488375663757, 0.550731897354126, -0.18425486981868744, 0.49931710958480835, -0.06753996759653091, -0.8779328465461731, 0.44192150235176086, -0.09088432043790817, 0.056997790932655334, 0.37133243680000305, 0.13249793648719788, -0.4128077030181885, -0.6031262874603271, -0.4430953860282898, -0.8313887119293213, 0.825000524520874, 0.08215345442295074, -0.22499066591262817, 0.10203481465578079, 0.21320421993732452, 0.23883448541164398, 0.2673755884170532, -0.867304265499115, -0.0164773091673851, -0.19132637977600098, -0.028502102941274643, 0.3506433665752411, -0.17843836545944214, -0.11077248305082321, -0.230547234416008, 0.9418432116508484, -0.28058186173439026, 0.2524111568927765, 0.1654893457889557, -0.2592531740665436, -0.29591238498687744, 0.32910364866256714, 0.8302010893821716, 0.4202782213687897, -0.4130580723285675, 0.08514034748077393, 0.2290859967470169, -0.2654840350151062, -0.044002432376146317, -0.1381809413433075, -0.33218318223953247, -0.22353574633598328, 0.1022733598947525, 1.0373599529266357, 0.2687869668006897, -0.6791843175888062, 0.39604052901268005, 0.11659717559814453, -0.34809887409210205, -0.20731207728385925, 0.16834498941898346, -0.397199809551239, 0.42507970333099365, 0.132649764418602, -0.1896769404411316, 0.05938982218503952, -0.7147554159164429, 0.5916116237640381, 0.5598265528678894, -0.560044527053833, -0.08950402587652206, 0.38577309250831604, 0.1612352430820465, -0.20783506333827972, 0.5609224438667297, -0.5169852375984192, -0.6832326054573059, 0.45914262533187866, 0.7914786338806152, 0.8229244351387024, -0.3361482322216034, 0.5138849020004272, 0.3514593243598938, 0.30746909976005554, -0.36686068773269653, 0.45341041684150696, -0.19387583434581757, -0.7373253107070923, -0.2648800015449524, -0.9134865403175354, -0.4187305271625519, 0.3913428783416748, -0.7145471572875977, 0.13890431821346283, -0.7372956275939941, -0.01641148328781128, -0.5044216513633728, -0.13151445984840393, -0.3705345690250397, 0.04118867591023445, 0.08774233609437943, 0.4934611916542053, -0.8264949917793274, 0.734069287776947, 0.3250003159046173, -0.4916999638080597, -0.6650578379631042, 0.41144779324531555, -0.03431166335940361, -0.7812801003456116, 0.4948858618736267, 0.37509870529174805, -0.2788137197494507, 0.23388712108135223, -0.26598501205444336, -0.624701201915741, 0.901761531829834, 0.08040208369493484, -0.57829350233078, 0.1165878102183342, 0.19383765757083893, 0.2084420919418335, -0.23726704716682434, 0.16879568994045258, 0.730202317237854, 0.7498305439949036, 0.20373018085956573, -0.6971386671066284, 0.28832733631134033, 0.3238002061843872, -0.19002574682235718, 0.3375355899333954, -0.5619640946388245, 0.5699384212493896, -0.3009234368801117, -0.11969539523124695, -0.05477668717503548, 0.7805832028388977, 0.4492708146572113, 0.36987045407295227, 0.6292178630828857, 0.7491206526756287, 0.8001195788383484, -0.08734380453824997, 0.7059394717216492, -0.1542281210422516, 0.5458145141601562, 0.9462122917175293, -0.23425431549549103, 0.9123803377151489, 0.6794298887252808, -0.0140274902805686, 0.5941171646118164, 0.45430880784988403, -0.1308625340461731, 0.7972640991210938, 0.5496038198471069, -0.1820802390575409, -0.24140062928199768, -0.4638589024543762, -0.19738690555095673, 0.33203306794166565, 0.48170754313468933, 0.1509304940700531, -0.3636002838611603, 0.35748291015625, 0.031661227345466614, 0.09988591074943542, -0.5515179634094238, 0.9657838940620422, -0.022065669298171997, -0.7663464546203613, 0.7135205864906311, -0.11932174116373062, 0.7102604508399963, -0.5850147604942322, -0.32890141010284424, -0.3978012800216675, 0.41678330302238464, -0.40207377076148987, -0.42793986201286316, 0.4764295816421509, -0.1873299479484558, -0.11819031089544296, -0.01808258704841137, 0.6308982968330383, -0.6346930265426636, -0.19200728833675385, 0.45696398615837097, 0.3260776400566101, 0.18544156849384308, -0.12902460992336273, -0.34748801589012146, 0.14191804826259613, 0.04601147398352623, -0.293944776058197, 0.38614794611930847, 0.26920920610427856, -0.14918245375156403, 0.5901026725769043, 0.4741169214248657, 0.3903544247150421, -0.012570527382194996, 0.3294048011302948, 0.7420533299446106, -0.7074905037879944, -0.4522685110569, -0.7889983057975769, 0.12925031781196594, 0.050789475440979004, -0.0038084418047219515, 0.510890543460846, 0.4202486276626587, 1.0193750858306885, -0.07421953231096268, 0.6792601943016052, -0.055433522909879684, 0.21601539850234985, -0.9263620376586914, 0.8876606225967407, -0.6488342881202698, 0.28061971068382263, 0.0702565535902977, -0.999987006187439, -0.2304266393184662, 0.8455265760421753, 0.03941839560866356, 0.010589647106826305, 0.8785198926925659, 1.1167970895767212, 0.04629566892981529, 0.06145823374390602, 0.4356338679790497, 0.45147138833999634, 0.06456279754638672, 0.3390764892101288, 0.9725742340087891, -0.03284735605120659, 0.4274701476097107, -0.36312195658683777, -0.24736186861991882, -0.476730078458786, -0.5759739279747009, -0.9226903915405273, -0.4169374406337738, -0.21104741096496582, -0.5326273441314697, 0.11150616407394409, 1.265368938446045, 0.4041970372200012, -0.9867987036705017, -0.4057721495628357, -0.39675068855285645, 0.21430933475494385, -0.489874929189682, -0.3484008312225342, 0.2930006682872772, -0.7156631946563721, -0.3410314619541168, 0.4440101087093353, 0.12038247287273407, -0.13227738440036774, -0.7364621162414551, -0.5558115243911743, -0.09446097165346146, 0.17073826491832733, 0.5727160573005676, 0.34527045488357544, -0.8423049449920654, -0.3671397268772125, -0.19680872559547424, -0.04591452702879906, -0.07762506604194641, 0.8503106832504272, -0.8824942111968994, 0.12741734087467194, 0.4530157148838043, 0.9293046593666077, 0.3199388384819031, -0.140384241938591, 0.34595048427581787, -0.7150328159332275, 0.037383269518613815, 0.13726910948753357, 0.19841767847537994, 0.2071400135755539, -0.5030022859573364, 0.27401918172836304, 0.34267258644104004, -0.7286368012428284, -0.8468560576438904, 0.23139287531375885, -0.6995373964309692, -0.47518813610076904, 1.3616681098937988, 0.014550206251442432, -0.31330811977386475, -0.027143599465489388, -0.09295683354139328, 0.3777729868888855, -0.5530902147293091, 1.3798118829727173, 0.6062617897987366, -0.1763225793838501, -0.09454222768545151, -0.48145735263824463, 0.8035843372344971, 0.4613070785999298, -1.1976861953735352, 0.2922310531139374, 0.6636219620704651, -0.17139381170272827, 0.0543488971889019, 0.4116547107696533, 0.17755067348480225, 0.15578493475914001, -0.19280704855918884, 0.29614344239234924, -0.1490733027458191, -0.845448911190033, -0.2873491942882538, 0.15887075662612915, 0.13290704786777496, -0.1627630740404129 ]
http://arxiv.org/abs/2406.12216v1
http://arxiv.org/pdf/2406.12216v1
Is persona enough for personality? Using ChatGPT to reconstruct an agent's latent personality from simple descriptions
2024-06-18T02:32:57
2024-06-18T02:32:57
Yongyi Ji, Zhisheng Tang, Mayank Kejriwal
cs.CL
cs.CL, cs.AI
Personality, a fundamental aspect of human cognition, contains a range of traits that influence behaviors, thoughts, and emotions. This paper explores the capabilities of large language models (LLMs) in reconstructing these complex cognitive attributes based only on simple descriptions containing socio-demographic and personality type information. Utilizing the HEXACO personality framework, our study examines the consistency of LLMs in recovering and predicting underlying (latent) personality dimensions from simple descriptions. Our experiments reveal a significant degree of consistency in personality reconstruction, although some inconsistencies and biases, such as a tendency to default to positive traits in the absence of explicit information, are also observed. Additionally, socio-demographic factors like age and number of children were found to influence the reconstructed personality dimensions. These findings have implications for building sophisticated agent-based simulacra using LLMs and highlight the need for further research on robust personality generation in LLMs.
[ -0.30511727929115295, -0.5060902237892151, 0.9430371522903442, 0.45082566142082214, 0.02493204176425934, 0.2617188096046448, -0.44098833203315735, -0.30297189950942993, 0.33624008297920227, 0.7058081030845642, -0.5761110782623291, -0.038231704384088516, -0.38211145997047424, -0.1416289508342743, -0.12775155901908875, 1.1513080596923828, 0.4504072666168213, -0.05236798897385597, -0.270840048789978, 0.15051020681858063, -0.3307996392250061, -0.7408793568611145, -0.852454423904419, -0.5304633975028992, 0.7715534567832947, 0.5396242737770081, 0.678752601146698, 0.41013333201408386, 0.15715382993221283, 0.26423704624176025, 0.03249511867761612, 0.0030617748852819204, -0.6089237332344055, 0.15084193646907806, -0.35916227102279663, -0.3675326406955719, -0.7869922518730164, 0.24157483875751495, 0.6694682240486145, 0.919840931892395, -0.11703876405954361, -0.10176731646060944, 0.24967701733112335, 0.473652184009552, -0.42375418543815613, 0.3440885543823242, -0.6309811472892761, -0.15824273228645325, 0.011212467215955257, -0.138887420296669, -0.5121123194694519, -0.2539386749267578, 0.2280321717262268, -0.1693776696920395, 0.21840538084506989, 0.08896922320127487, 0.6672281622886658, -0.03312424197793007, -0.7670073509216309, -0.18371960520744324, -1.3023916482925415, 0.7279595732688904, -0.4383513331413269, -0.06505522131919861, 0.609017550945282, 0.5553577542304993, -0.3440287709236145, -0.36183470487594604, -0.6411924958229065, -0.3399938642978668, -0.30197614431381226, 0.10372336208820343, -0.0969957485795021, -0.19565428793430328, 0.374218225479126, 0.18385784327983856, -0.3482471704483032, 0.14076676964759827, -0.24398912489414215, -0.4796600341796875, 0.7516476511955261, 0.5017305612564087, 0.28347375988960266, -0.2181667983531952, -0.15802106261253357, -0.152243971824646, -0.7957648038864136, 0.17700856924057007, 0.6147271394729614, 0.2192382961511612, -0.18052299320697784, 0.5757147073745728, -0.10981497913599014, -0.04519744962453842, 0.21841278672218323, -0.565030038356781, 0.012483290396630764, -0.11139446496963501, 0.2176055908203125, -0.10607906430959702, 0.6329842805862427, 0.1226036474108696, 0.6336272954940796, -0.21553929150104523, 0.00908913929015398, 0.09297285974025726, 0.5451087951660156, -0.8380765318870544, -0.2143600583076477, 0.4644286036491394, -0.3734980523586273, -0.10137451440095901, -0.035753633826971054, -0.8154365420341492, -0.595832109451294, -0.2319035530090332, -0.122001513838768, -0.5325747132301331, -0.307487428188324, -0.17860278487205505, 0.1885199099779129, 0.6912371516227722, 0.5244035720825195, -0.7922095060348511, 0.22953034937381744, 0.6698935031890869, 0.48679375648498535, -0.2464970350265503, -0.35659658908843994, -0.2971070408821106, 0.10395325720310211, -0.23822999000549316, 0.7969584465026855, -0.5311602354049683, -0.3928978741168976, -0.10766708105802536, 0.19345316290855408, 0.09354154765605927, -0.33363083004951477, 0.4984813630580902, -0.32742413878440857, -0.013774523511528969, -0.6138902902603149, -0.37632638216018677, 0.1698720008134842, 0.2708027958869934, -0.542655348777771, 0.45976901054382324, 0.2980800271034241, -0.5018954277038574, 0.1252617985010147, -0.08751534670591354, -0.25213518738746643, 0.2265535444021225, -0.3736434876918793, -0.45242542028427124, 0.13021449744701385, -0.1498815417289734, 0.6919570565223694, -0.0797957107424736, 0.18421505391597748, -0.459930956363678, -0.0673065260052681, 0.7797908782958984, -0.2574146091938019, 0.6243200302124023, 0.08829344809055328, -0.0697401687502861, 0.0014247397193685174, -0.7571227550506592, -0.02249160036444664, 0.253312349319458, -0.45114463567733765, 0.148801788687706, 0.28711998462677, -0.03381936997175217, 0.2082214057445526, 0.5312132835388184, -0.8198683857917786, 0.34640035033226013, -0.023946525529026985, 0.4541655480861664, 0.7755714058876038, 0.010443927720189095, 0.48672378063201904, -0.5718008875846863, 0.512352466583252, -0.02807391621172428, -0.2719273567199707, 0.004270818550139666, -0.25404757261276245, -0.6502521634101868, -0.6085910201072693, -0.2098512500524521, 0.5356644988059998, -0.6771700978279114, 0.5885918140411377, -0.4176453649997711, -0.6580067873001099, 0.029535692185163498, -0.07446737587451935, 0.3771466314792633, 0.1958048790693283, -0.17662839591503143, -0.3521997928619385, -0.6382981538772583, -1.1031464338302612, -0.03283539414405823, -0.36337992548942566, -0.272705614566803, 0.6115058064460754, 0.5087055563926697, -0.4030686020851135, 0.9176059365272522, -0.49114012718200684, -0.017782973125576973, -0.5728785991668701, -0.28702032566070557, -0.1585453301668167, 0.2538014352321625, 0.8715685606002808, -0.45227769017219543, -0.47270336747169495, -0.12404891103506088, -0.6437641978263855, -0.11863064020872116, -0.1067381501197815, -0.06906232237815857, -0.14130423963069916, 0.10863329470157623, -0.7492947578430176, 0.4561019539833069, 0.26631999015808105, -0.49749723076820374, 0.6995277404785156, -0.30989256501197815, -0.12765510380268097, -0.9180467128753662, 0.06959144026041031, -0.04373330622911453, -0.4981101155281067, -0.652590811252594, -0.034962449222803116, -0.12412333488464355, -0.12161131203174591, -0.19526171684265137, 0.7357475757598877, -0.3754325211048126, -0.34766316413879395, -0.5383683443069458, 0.13941270112991333, -0.07500962913036346, 0.6522507071495056, 0.1051759198307991, 0.6248438954353333, 0.5143210291862488, -0.46561750769615173, 0.23957405984401703, 0.2906469404697418, -0.02810642682015896, 1.0687965154647827, -0.5814824104309082, 0.5546963810920715, -0.5664461255073547, 0.5587174892425537, -1.0144786834716797, -0.7008154392242432, -0.03395671769976616, -0.300496369600296, 0.12372499704360962, -0.05649907886981964, -0.3963671624660492, -0.13577502965927124, -0.1901775747537613, -0.06625127047300339, 0.6657918691635132, -0.2135738879442215, 1.0789552927017212, 0.26468533277511597, -0.5146117806434631, -0.025689950212836266, -0.3181699812412262, 0.04712728038430214, -0.19977176189422607, -0.4114086627960205, 0.19477573037147522, -0.44491663575172424, -0.3638049364089966, -0.38830941915512085, 0.14828048646450043, -0.19933626055717468, -0.01731942594051361, 0.4142541289329529, 0.4138437509536743, 0.025623105466365814, -0.0555451475083828, -0.29031553864479065, -0.007804570719599724, -0.06619526445865631, 0.11269670724868774, 0.8804080486297607, -0.3834196627140045, -0.0512608177959919, -0.11097919940948486, 0.23545794188976288, 0.6901041269302368, -0.07894884794950485, 0.864054799079895, 0.5376943945884705, -0.2716591954231262, -0.11684577912092209, -0.4231383800506592, -0.19997310638427734, -0.38824698328971863, 0.2665401101112366, -0.47554081678390503, -0.9086894989013672, 0.9329141974449158, 0.0983349159359932, -0.15692153573036194, 0.3005097806453705, 0.7305857539176941, -0.3585575222969055, 0.789513111114502, 0.6140827536582947, 0.08478835225105286, 0.3035154938697815, 0.14314602315425873, 0.00675987359136343, -0.9690827131271362, -0.3319424092769623, -0.4698145389556885, -0.2688203454017639, -0.6628077626228333, 0.0059569040313363075, 0.07980093359947205, -0.4956223964691162, -0.40785959362983704, 0.2585967481136322, -0.12801484763622284, 0.3864259421825409, 0.14210771024227142, 0.28363168239593506, 0.07036352157592773, -0.019755171611905098, 0.3007674515247345, -0.2656717300415039, -0.1902168244123459, -0.9662874937057495, 1.193234920501709, 0.4238795340061188, 0.7667202353477478, 0.4107493758201599, 0.5111679434776306, 0.18512693047523499, 0.3315946161746979, -0.8414656519889832, 0.7698343992233276, -0.17823339998722076, -0.6089398860931396, -0.26200059056282043, -0.46432924270629883, -1.0876076221466064, 0.1293030083179474, -0.443729966878891, -1.2423789501190186, 0.30307257175445557, 0.17181168496608734, -0.5430510640144348, -0.10451428592205048, -0.3962624669075012, 0.312631756067276, -0.25732409954071045, -0.3960535228252411, -0.09601406008005142, -0.5611756443977356, 0.2738344967365265, -0.3093916177749634, -0.2181950956583023, -0.33549538254737854, 0.020319581031799316, 0.36693301796913147, -0.47686830163002014, 1.037854552268982, -0.006780500058084726, -0.1912805587053299, 0.16978777945041656, 0.2648451328277588, 0.4844028353691101, 0.01646161451935768, 0.059701014310121536, -0.07767660915851593, 0.41136741638183594, -0.6312825083732605, -0.8211914300918579, 0.6930030584335327, -1.0664247274398804, -0.536512017250061, -0.252631276845932, -0.5513880848884583, -0.3731165826320648, -0.03570139780640602, -0.014505969360470772, 0.1543712466955185, -0.6039133071899414, 0.4688793420791626, 0.8138443827629089, -0.3729490339756012, 0.20810270309448242, 0.6040105819702148, -0.2867000997066498, -0.06374455243349075, 0.8448850512504578, 0.06343966722488403, 0.24992692470550537, 0.016372593119740486, 0.28668874502182007, 0.16892844438552856, -0.17425774037837982, 0.08677901327610016, 0.44271746277809143, -0.44075894355773926, 0.2671396732330322, -0.6668154001235962, -0.3498364984989166, -0.4294705092906952, -0.040636662393808365, -0.5986015796661377, -0.18363717198371887, 0.026282696053385735, 0.25286874175071716, -0.08439013361930847, 0.7031735181808472, 0.25959670543670654, 0.7748399972915649, -0.3386653661727905, 0.3073819875717163, 0.5236947536468506, 0.09639906883239746, 0.1607186496257782, -0.45922043919563293, 0.05616935342550278, 0.14528784155845642, -0.36039918661117554, -0.852897047996521, 0.49255234003067017, 0.3353477120399475, 0.6060336232185364, 0.490726113319397, -0.299783319234848, 0.15516029298305511, -0.36027592420578003, 0.6702571511268616, -0.307392418384552, -0.6052557229995728, 0.41151562333106995, -0.47668808698654175, 0.3495296835899353, 0.340132474899292, 0.3456419110298157, -0.4283317029476166, -0.08950039744377136, -0.7530936002731323, -0.45867231488227844, 0.4641205966472626, 0.5617374777793884, 0.4084647297859192, -0.040111761540174484, 0.7861806750297546, 0.08103208243846893, 0.27170708775520325, -0.663892388343811, -0.09602700918912888, -0.2235049456357956, -0.2652202546596527, -0.12555792927742004, -0.5346229672431946, -0.12171562016010284, 0.04127485677599907, 0.3585214614868164, -0.3353957533836365, 0.5965655446052551, -0.15645885467529297, 0.09459898620843887, 0.24879300594329834, 0.5228092670440674, 0.44596466422080994, 0.42711135745048523, -0.23595485091209412, 0.17865581810474396, -0.13322895765304565, -0.5567041039466858, 0.17340503633022308, -0.3409707546234131, 0.007926852442324162, -0.5570129752159119, 0.5672914385795593, 0.6569739580154419, 0.05351164937019348, -0.6553527116775513, 0.674481987953186, -0.17076048254966736, 0.0780283734202385, -0.8380977511405945, 0.26940420269966125, 0.2851390242576599, 0.3476608693599701, 0.28326791524887085, -0.13813477754592896, -0.30522584915161133, -1.145829439163208, -0.021733906120061874, 0.5571111440658569, -0.15880364179611206, -0.6827879548072815, 0.37269577383995056, -0.05641422048211098, -0.3994182348251343, 0.7811754941940308, -0.14912396669387817, -0.3282192349433899, 0.6571482419967651, 0.5068315267562866, 0.8386721611022949, -0.2563178837299347, 0.27598902583122253, 0.22518271207809448, 0.05160089582204819, -0.0693010464310646, 0.37077462673187256, 0.09537632763385773, -1.186455249786377, -0.20778726041316986, -0.6877204775810242, -0.3810344934463501, 0.08059871941804886, -0.4538405239582062, -0.04709243401885033, -0.9510046243667603, -0.2426934391260147, 0.04112747311592102, 0.008895821869373322, -1.008937120437622, 0.15271194279193878, 0.15457244217395782, 0.3508892059326172, -0.7832384705543518, 0.876688539981842, 0.5793753862380981, -0.5049413442611694, -0.8644415140151978, 0.12387128174304962, 0.15976373851299286, -0.7430423498153687, 0.5880744457244873, -0.13818810880184174, -0.11302114278078079, -0.11580003798007965, -1.015031337738037, -0.7870921492576599, 1.1840087175369263, 0.5785243511199951, -0.3182644546031952, -0.2769836187362671, 0.24201874434947968, 0.9171253442764282, -0.869181215763092, 0.18475385010242462, 0.5011783242225647, 0.3718867301940918, 0.4634377658367157, -0.838222324848175, -0.09001363813877106, -0.026158543303608894, 0.1036563366651535, -0.3977794945240021, -0.8906987905502319, 0.9868023991584778, -0.29614174365997314, -0.20232999324798584, 0.3875894546508789, 0.6146655082702637, 0.3102540373802185, -0.20467114448547363, 0.376454621553421, 0.06661858409643173, 0.7348632216453552, -0.0731813907623291, 1.1720514297485352, -0.20549052953720093, 0.16464872658252716, 1.2824078798294067, -0.4798678457736969, 0.7137483954429626, 0.21167266368865967, -0.16820095479488373, 0.7442705631256104, 0.40979236364364624, 0.14878107607364655, 0.1966373175382614, -0.12053287029266357, -0.05192092806100845, -0.44046732783317566, -0.14856110513210297, 0.25061294436454773, 1.0388456583023071, 0.3446790874004364, -0.3559158444404602, 0.05635297670960426, 0.04340020567178726, 0.23831872642040253, 0.026560425758361816, -0.16521598398685455, 0.7942006587982178, 0.1461416333913803, -0.628639280796051, 0.011026154272258282, -0.13861726224422455, 0.45021745562553406, -0.6024945378303528, 0.04896922409534454, -0.4796192944049835, 0.1504107415676117, -0.2780168950557709, -0.8482264876365662, 0.2746231257915497, -0.324139803647995, -0.20368768274784088, -0.2806023061275482, 1.0196863412857056, -0.4284009039402008, -0.18645194172859192, -0.05574313551187515, 0.7861147522926331, 0.4522707462310791, -0.16635724902153015, -0.14121918380260468, -0.15481428802013397, -0.009135591797530651, -0.17250728607177734, 0.4636688828468323, 0.4454177916049957, -0.23803620040416718, 0.9221221208572388, 0.36783018708229065, 0.20616769790649414, -0.3652416169643402, -0.058527037501335144, 0.5752201080322266, -0.7653623223304749, -0.344745397567749, -0.7990261912345886, 0.534910261631012, -0.09971706569194794, -0.029867593199014664, 0.701856791973114, 0.31201064586639404, 0.4671822488307953, -0.155919149518013, 0.7661336064338684, -0.02505440078675747, 0.4930250942707062, -0.22273501753807068, 0.6998059749603271, -0.1609746366739273, 0.25132516026496887, -0.24332353472709656, -1.2198173999786377, 0.3848797678947449, 0.5252891778945923, -0.34819838404655457, 0.34311991930007935, 0.5726882219314575, 0.6223894953727722, 0.11668780446052551, -0.29971784353256226, 0.5586569309234619, 0.3280071020126343, 0.38869357109069824, 0.5588259100914001, 0.7482536435127258, 0.14427846670150757, 0.3562960922718048, 0.0531267374753952, -0.39012593030929565, -0.07426765561103821, -0.6911950707435608, -1.0277467966079712, -0.4989057183265686, -0.31575220823287964, -0.6270570158958435, -0.3500145375728607, 0.7940411567687988, 0.5134222507476807, -0.3379458487033844, -0.12511475384235382, 0.5433225035667419, -0.08832753449678421, 0.06078591197729111, -0.22108541429042816, 0.011963814496994019, 0.12804390490055084, -0.6937038898468018, -0.02511233277618885, 0.4056374430656433, 0.2755323052406311, -0.9963688254356384, -0.12480251491069794, 0.2702631950378418, 0.5634804964065552, 0.7644392251968384, 0.430841863155365, -0.737357497215271, -0.8143451809883118, 0.0438644140958786, -0.4239310920238495, 0.09761760383844376, 0.9206704497337341, -0.6248174905776978, 0.09896393120288849, 0.21278567612171173, 0.3488978445529938, 0.3902670443058014, -0.030480293557047844, 0.5748468637466431, -0.9372714757919312, 0.14226004481315613, 0.07971213012933731, 0.5471729636192322, 0.5593813061714172, -0.5069372057914734, 0.40436285734176636, 0.14945350587368011, -0.5567144751548767, -0.27818164229393005, 0.7667602300643921, -1.4496095180511475, -0.13321834802627563, 1.518241286277771, -0.28130754828453064, -0.4062393307685852, -0.10200043022632599, -0.4611820876598358, -0.14737153053283691, -0.3146333396434784, 0.8150285482406616, 0.8901499509811401, -0.284533828496933, -0.47056883573532104, -0.3081439435482025, 0.2339126020669937, 0.021354064345359802, -0.8347443342208862, 0.04724040627479553, 0.6322076320648193, 0.49051129817962646, 0.18975916504859924, 0.9179487228393555, 0.011690112762153149, -0.04695511236786842, 0.1325330287218094, 0.12201640754938126, 0.3704235851764679, -0.1718197464942932, 0.09619662165641785, 0.2429574579000473, 0.3600998520851135, 0.5767701864242554 ]
http://arxiv.org/abs/2406.12213v3
http://arxiv.org/pdf/2406.12213v3
LLM-Oracle Machines
2024-06-18T02:25:33
2024-07-03T12:59:21
Jie Wang
cs.CL
cs.CL, cs.AI, cs.FL, F.1.1; F.4.1; I.2.0
Contemporary AI applications leverage large language models (LLMs) to harness their knowledge and reasoning abilities for natural language processing tasks. This approach shares similarities with the concept of oracle Turing machines (OTMs). To capture the broader potential of these computations, including those not yet realized, we propose an extension to OTMs: the LLM-oracle machine (LLM-OM), by employing a cluster of LLMs as the oracle. Each LLM acts as a black box, capable of answering queries within its expertise, albeit with a delay. We introduce four variants of the LLM-OM: basic, augmented, fault-avoidance, and $\epsilon$-fault. The first two are commonly observed in existing AI applications. The latter two are specifically designed to address the challenges of LLM hallucinations, biases, and inconsistencies, aiming to ensure reliable outcomes.
[ -0.3973115086555481, -1.1126587390899658, 1.0631216764450073, 0.056129373610019684, 0.03126341477036476, 0.043613918125629425, -0.08752366900444031, -0.8788561224937439, 0.44075965881347656, 0.9242336750030518, -0.67893385887146, -0.3894539773464203, -0.47755154967308044, 0.4337555468082428, -0.5695319771766663, 0.5779680013656616, 0.08398328721523285, -0.19338683784008026, -0.23959630727767944, -0.07333655655384064, -0.4642491042613983, -0.5361838936805725, -0.7412129044532776, -0.5961296558380127, 0.38816285133361816, 0.32556354999542236, 0.8265070915222168, 0.8764737844467163, 0.48994171619415283, 0.32174205780029297, 0.22531425952911377, 0.2654467225074768, -0.03523869812488556, 0.2895902693271637, 0.086960569024086, -0.8105618953704834, -0.6871249079704285, -0.2382226437330246, 0.5555334091186523, 0.9074041247367859, -0.05697831138968468, -0.0312516912817955, -0.30963006615638733, 0.6337696313858032, -0.4725378453731537, 0.2819231152534485, -0.725567638874054, 0.05595070868730545, -0.09560629725456238, 0.14970126748085022, -0.48786064982414246, -0.588009774684906, 0.03090653568506241, -0.5438393354415894, -0.29652631282806396, 0.28065747022628784, 0.5198747515678406, 0.8250605463981628, -0.12872648239135742, -0.3833000659942627, -0.9575930833816528, 0.7538939118385315, -0.6179124712944031, 0.13996680080890656, 0.14004549384117126, 0.5786697268486023, -0.09746993333101273, -0.5261728763580322, -0.7129917740821838, -0.3680110275745392, -0.09822145104408264, -0.11634410172700882, -0.1253080815076828, 0.1976756602525711, 0.07369553297758102, 0.39367878437042236, -0.45746153593063354, 0.46710941195487976, -0.3652110695838928, 0.06677384674549103, 0.5473005771636963, 0.6008886694908142, 0.23597092926502228, 0.16666322946548462, -0.18145596981048584, 0.13846547901630402, -0.8614774942398071, -0.31339123845100403, -0.02237449213862419, 0.22256526350975037, 0.27158740162849426, 0.9167532324790955, -0.11819535493850708, 1.097386121749878, -0.09139253944158554, -0.2530544102191925, 0.0012840802082791924, 0.023235704749822617, -0.4973890483379364, 0.23292630910873413, 0.6524648666381836, -0.13418833911418915, 0.17058165371418, -0.37494704127311707, -0.22330507636070251, 0.2220480591058731, 0.41229522228240967, -0.332699716091156, 0.11141213774681091, 0.44474852085113525, -0.3864918053150177, -0.22986598312854767, -0.046664293855428696, -0.7844185829162598, -0.6426278352737427, -0.47388118505477905, 0.6280004978179932, -0.533598780632019, -0.010173399932682514, 0.05957397446036339, 0.039848774671554565, 0.5002089142799377, 0.32238414883613586, -0.5588784217834473, 0.512380838394165, 0.8328818678855896, 0.5123292207717896, -0.44023144245147705, -0.3766593635082245, -0.5315423607826233, 0.3680680990219116, -0.3629196286201477, 0.8485323786735535, -0.8829728960990906, -0.20067904889583588, 0.2018587291240692, -0.17863436043262482, 0.037924785166978836, -0.737337052822113, 0.5005781054496765, -0.4347410798072815, 0.19452466070652008, -0.05435577780008316, -0.6018584370613098, -0.46019768714904785, 0.4615459144115448, -0.7259383201599121, 1.0425305366516113, -0.050081755965948105, -0.22575412690639496, 0.20694392919540405, -0.9884923100471497, -0.539925217628479, -0.012364166788756847, -0.2534984350204468, -0.3205215632915497, 0.11772103607654572, 0.11672216653823853, 0.37878045439720154, -0.7179148197174072, -0.14989399909973145, -0.36516210436820984, -0.5219884514808655, 0.028780970722436905, -0.07579658180475235, 0.5068472623825073, 0.15249165892601013, -0.2798035740852356, 0.33881694078445435, -0.9556194543838501, -0.13592810928821564, 0.23766322433948517, -0.2598804235458374, -0.42824530601501465, 0.1392725259065628, -0.52277010679245, 0.0005163868772797287, 0.49780091643333435, -0.32202622294425964, 0.3358558714389801, -0.5826814770698547, 0.4207915961742401, 0.7504333257675171, -0.3344811201095581, 0.545148491859436, -0.4426923394203186, 0.4672749936580658, -0.2265353798866272, 0.06415403634309769, -0.29612335562705994, -0.6469005346298218, -1.2301526069641113, -0.2841768264770508, -0.12711629271507263, 0.9007964134216309, -0.8736560344696045, 0.6608417630195618, -0.02612103335559368, -0.39149853587150574, -0.7565284967422485, 0.09005742520093918, 0.23000980913639069, 0.2467876672744751, 0.34997016191482544, 0.16030888259410858, -0.5805408954620361, -0.9939112067222595, -0.22691042721271515, -0.35671287775039673, -0.15600541234016418, 0.47792112827301025, 0.21052004396915436, -0.40633201599121094, 0.9502474069595337, -0.30618906021118164, -0.28130486607551575, -0.2692587673664093, -0.028026603162288666, 0.43180903792381287, 0.08892901241779327, 0.22981823980808258, -0.49763092398643494, -0.35718852281570435, 0.05680089816451073, -1.129082202911377, -0.19845633208751678, -0.1941046267747879, 0.24056465923786163, 0.6147288680076599, 0.7103831171989441, -0.8300899267196655, 0.31212231516838074, 0.3060365915298462, -0.1757102608680725, 0.5883028507232666, -0.20053163170814514, 0.06149502471089363, -1.023107647895813, -0.1727517992258072, -0.4473837912082672, -0.041670769453048706, -0.7304419279098511, 0.09620967507362366, -0.29220932722091675, -0.029730603098869324, -0.4847366213798523, 0.6275705695152283, -0.44664260745048523, -0.4624703526496887, -0.484232097864151, 0.15642999112606049, -0.33296632766723633, 0.37412229180336, 0.11750500649213791, 0.7478455305099487, 0.6564396023750305, -0.7986846566200256, 0.5812928676605225, 0.02430737018585205, 0.11975066363811493, 0.7122907638549805, -0.742389976978302, 0.33300721645355225, -0.20264576375484467, -0.2970495820045471, -0.6752002239227295, -0.1748296171426773, 0.208883136510849, -0.21105311810970306, 0.15227025747299194, 0.21146439015865326, -0.6932022571563721, -0.5541025996208191, -0.19444486498832703, 0.30329540371894836, 0.6938109397888184, -0.5965723395347595, 1.0041471719741821, 0.35760074853897095, 0.015192103572189808, -0.5362452268600464, -0.8103681802749634, 0.27582547068595886, -0.4419906735420227, -0.7269736528396606, 0.19249239563941956, 0.08544455468654633, -0.6449012756347656, 0.2802015244960785, 0.23872950673103333, -0.18690386414527893, 0.005782283842563629, 0.41497310996055603, 0.27815937995910645, -0.5360924601554871, 0.07202082127332687, -0.17140060663223267, -0.1628875881433487, 0.10593563318252563, -0.4711964428424835, 0.7095175981521606, -0.3549005389213562, -0.663300633430481, -0.3029848039150238, 0.29831334948539734, 0.6661710143089294, 0.03122721239924431, 0.8761922121047974, 0.19559864699840546, -0.720361053943634, -0.20270580053329468, -0.7578157186508179, -0.3158594071865082, -0.4782564640045166, 0.24696692824363708, -0.3595578372478485, -1.03608238697052, 0.41935715079307556, 0.06050541251897812, 0.07663104683160782, 0.41527628898620605, 0.7563891410827637, -0.04091833904385567, 0.5576350092887878, 0.8753944635391235, -0.33072346448898315, 0.067776158452034, 0.1595427691936493, 0.32280465960502625, -0.5663841962814331, -0.18017856776714325, -0.7265787124633789, -0.1120210662484169, -0.4206252694129944, -0.44702595472335815, 0.37370526790618896, -0.23299254477024078, -0.4171404540538788, 0.44425880908966064, -0.4959537982940674, 0.5005179047584534, 0.6770113110542297, -0.18615245819091797, 0.4496587812900543, -0.1562276929616928, 0.06344807147979736, 0.11332337558269501, -0.6646216511726379, -0.6836520433425903, 0.9379723072052002, 0.2381855845451355, 0.8158401250839233, -0.04540928453207016, 0.5838798880577087, 0.3994366228580475, 0.27998557686805725, -0.571952760219574, 0.7493813037872314, -0.10180521011352539, -0.6598175764083862, -0.5330072641372681, -0.2184760719537735, -1.0839508771896362, 0.0988035649061203, -0.23864559829235077, -0.9556547999382019, -0.19906046986579895, -0.004710263106971979, -0.3034486472606659, 0.4358161985874176, -0.6217614412307739, 0.6875091195106506, -0.3357433080673218, -0.036122143268585205, -0.3294351100921631, -0.43897148966789246, 0.7011768221855164, -0.1303929090499878, 0.1389816850423813, 0.08884227275848389, -0.1544288694858551, 0.3241453468799591, -0.3910786509513855, 0.9282577037811279, 0.23706084489822388, 0.1113315150141716, 0.3702227473258972, 0.1835031807422638, 0.508977472782135, -0.11349174380302429, -0.18132571876049042, 0.07127901166677475, -0.44070398807525635, -0.3046647906303406, -0.331973135471344, 0.6276867985725403, -0.761958122253418, -0.8010638952255249, -0.4307144284248352, -0.6513095498085022, -0.21300233900547028, 0.3859049379825592, -0.23887287080287933, -0.23051872849464417, -0.16616040468215942, -0.042350344359874725, 0.6902818083763123, -0.5654685497283936, 0.48912784457206726, 0.5413327217102051, -0.3025748133659363, -0.11970052123069763, 0.7666329145431519, -0.21187222003936768, 0.3143455386161804, 0.5558173060417175, -0.14690952003002167, -0.19662824273109436, -0.6420522928237915, -0.2941889464855194, 0.23832856118679047, -0.5754517912864685, -0.051785629242658615, -0.6384994983673096, -0.5419397354125977, -0.10292337089776993, -0.20415787398815155, -0.45761004090309143, -0.4898444712162018, -0.11342158913612366, -0.0003749870229512453, 0.4762718975543976, 0.9541575312614441, 0.14183369278907776, 0.3105168044567108, -0.7295682430267334, 0.5131540298461914, 0.6821796894073486, 0.40105897188186646, -0.13888312876224518, -0.19597215950489044, 0.18460457026958466, -0.09872259944677353, -0.18703535199165344, -0.8404593467712402, 0.33606237173080444, 0.05905285105109215, 0.7001302242279053, 0.21238912642002106, -0.0597725436091423, 0.4855315089225769, -0.6748085021972656, 0.7873881459236145, 0.08236468583345413, -0.7116230130195618, 0.5272876620292664, -0.12000977993011475, -0.016634494066238403, 0.3536725640296936, 0.11410724371671677, -0.35346555709838867, -0.5588071942329407, -0.4014001786708832, -0.6459522843360901, 0.6829628944396973, 0.3537409007549286, -0.28889551758766174, 0.052808649837970734, 0.5352887511253357, 0.37698763608932495, 0.28719115257263184, -0.7071670293807983, -0.5082187652587891, 0.11204798519611359, -0.09819977730512619, -0.0032935773488134146, -0.10548717528581619, -0.0022142475936561823, 0.255979984998703, 0.44489508867263794, -0.034062016755342484, 0.47980430722236633, 0.037160392850637436, -0.17847585678100586, -0.08127746731042862, 0.214661106467247, 0.4654979407787323, 0.4479382336139679, -0.11985365301370621, 0.22515134513378143, 0.350650429725647, -0.06823183596134186, -0.014111105352640152, 0.021475451067090034, -0.47155386209487915, -0.12106997519731522, 0.23530179262161255, 0.6602768898010254, -0.26471808552742004, -0.8973881006240845, -0.12924325466156006, 0.04744146391749382, -0.032378192991018295, -0.6342769265174866, 0.3279373347759247, 0.2628784477710724, 0.42627355456352234, 0.3525906205177307, -0.008593647740781307, 0.15554384887218475, -0.7976052165031433, 0.17636148631572723, 0.5748898386955261, -0.4154026210308075, -0.07302816957235336, 0.817173957824707, 0.07550516724586487, -0.8370056748390198, 0.6104272603988647, -0.12094374746084213, -0.3807033598423004, 0.8932388424873352, 0.4664473235607147, 0.8734046816825867, -0.08436349034309387, -0.03807934373617172, -0.11595168709754944, 0.7620876431465149, 0.04567697271704674, 0.2590107321739197, 0.41773220896720886, -0.6803424954414368, -0.6523469686508179, -0.6810727119445801, -0.6857602596282959, 0.18624217808246613, -0.25740304589271545, 0.3585132360458374, -0.45747557282447815, 0.1700008064508438, -0.0962604358792305, -0.2630845010280609, -0.5742807984352112, 0.030024519190192223, 0.4232073128223419, 0.9253031611442566, -0.48370563983917236, 1.018797516822815, 0.7987315058708191, -0.39597049355506897, -0.3920881748199463, -0.24122139811515808, -0.04942549392580986, -1.1563799381256104, 0.3248847723007202, 0.07972977310419083, 0.18979862332344055, -0.4115001857280731, -0.2377704679965973, -0.6894100308418274, 1.1304457187652588, 0.5108458995819092, -0.3001943528652191, 0.13955029845237732, 0.7863262295722961, 0.5789382457733154, -0.6130250692367554, 0.151493638753891, 0.9730826020240784, 0.7691115736961365, -0.11152341961860657, -1.0403568744659424, 0.03358619287610054, -0.013977211900055408, -0.30401891469955444, 0.27679428458213806, -0.5543107390403748, 0.8383404612541199, -0.11290638148784637, 0.26088327169418335, 0.29471638798713684, 0.5982423424720764, 0.6462147831916809, 0.3874092698097229, 0.5393893718719482, 0.6682865023612976, 0.7378479242324829, -0.3452252447605133, 1.1575833559036255, -0.18917709589004517, -0.35128912329673767, 0.9577106833457947, -0.3943015933036804, 0.5972948670387268, 0.5071319341659546, -0.36454513669013977, 0.3204179108142853, 0.500114917755127, 0.03741767257452011, 0.15776866674423218, 0.09522742033004761, -0.034078821539878845, -0.2269320785999298, -0.06469190120697021, -0.31717339158058167, 0.22939558327198029, 0.6645603775978088, -0.03639151528477669, -0.0892770066857338, -0.24834594130516052, -0.17547142505645752, 0.18282344937324524, -0.4396215081214905, 0.9087811708450317, 0.20011667907238007, -0.675818145275116, 0.475686252117157, -0.01551505271345377, 0.554031252861023, -0.35292303562164307, -0.1180434376001358, -0.12550686299800873, 0.2049349993467331, -0.026363663375377655, -0.793026864528656, 0.6359158158302307, -0.15240751206874847, -0.3010331094264984, 0.014892788603901863, 0.812091052532196, -0.3342020809650421, -0.6763306260108948, 0.40801867842674255, 0.5630985498428345, 0.27990514039993286, -0.15225180983543396, -0.6060190796852112, 0.13425324857234955, -0.24771176278591156, 0.13219206035137177, 0.19756028056144714, 0.6126315593719482, -0.16475196182727814, 0.9368067979812622, 0.35393697023391724, 0.12563027441501617, 0.5023590326309204, -0.19564874470233917, 0.7616249322891235, -0.8348497748374939, -0.33256226778030396, -0.9483554363250732, 0.23229877650737762, -0.09593100100755692, -0.017409030348062515, 0.5116370320320129, 0.32961326837539673, 0.3240126967430115, -0.1627606451511383, 0.9117452502250671, -0.0605696402490139, 0.5555561780929565, -0.6103781461715698, 0.44345948100090027, -0.6613128185272217, 0.562816321849823, -0.20602168142795563, -1.1578421592712402, -0.4779195487499237, 0.5495467185974121, -0.15766918659210205, -0.10585121065378189, 0.7459258437156677, 0.5585588216781616, 0.17847169935703278, 0.1591184437274933, 0.39062634110450745, 0.5595933198928833, 0.3537229895591736, 0.8957852721214294, 0.9601684808731079, -0.24627423286437988, 0.6919872164726257, -0.10630274564027786, -0.10562020540237427, -0.2978539764881134, -0.8721013069152832, -1.118904709815979, -0.23691491782665253, -0.11843516677618027, -0.1708587110042572, 0.31256258487701416, 0.7065625786781311, 0.6928830146789551, -0.8735650181770325, -0.3170320987701416, -0.16487470269203186, 0.5059463381767273, -0.20004020631313324, -0.12453284859657288, 0.31061726808547974, -0.5476523637771606, -0.7105448842048645, 0.5381460189819336, 0.644446074962616, -0.1823670119047165, -0.35212114453315735, -0.331699401140213, 0.1526281237602234, 0.3327045738697052, 0.5071273446083069, 0.4420913755893707, -0.8973484635353088, -0.23374666273593903, 0.2980755865573883, 0.030798885971307755, 0.0713527649641037, 0.5825444459915161, -0.7641041278839111, 0.15610121190547943, 0.17452605068683624, 1.1233433485031128, 0.38489237427711487, -0.3355626165866852, 0.7674660682678223, -0.31066635251045227, 0.44895488023757935, 0.42460209131240845, 0.5373768210411072, 0.14948487281799316, -0.3112676441669464, 0.6053523421287537, 0.1082218736410141, -0.46091029047966003, -0.7809976935386658, 0.34864354133605957, -0.9749703407287598, -0.438541054725647, 0.9696327447891235, 0.22387486696243286, -0.32928791642189026, -0.23579491674900055, -0.14448529481887817, -0.1468246877193451, -0.2624549865722656, 1.0941247940063477, 0.6700926423072815, -0.40228331089019775, -0.23676489293575287, -0.538263201713562, 0.32200658321380615, 0.453336238861084, -1.1396068334579468, -0.16394217312335968, 0.30142584443092346, -0.2271120399236679, 0.34963878989219666, 0.4916943609714508, -0.20155583322048187, 0.3530777096748352, -0.10806062817573547, 0.22295834124088287, 0.00033983224420808256, -0.4931168854236603, -0.17094786465168, 0.3970286548137665, 0.2718714475631714, -0.04946036636829376 ]
http://arxiv.org/abs/2406.12209v1
http://arxiv.org/pdf/2406.12209v1
Interface Design for Self-Supervised Speech Models
2024-06-18T02:13:48
2024-06-18T02:13:48
Yi-Jen Shih, David Harwath
cs.SD
cs.SD, cs.CL, eess.AS
Self-supervised speech (SSL) models have recently become widely adopted for many downstream speech processing tasks. The general usage pattern is to employ SSL models as feature extractors, and then train a downstream prediction head to solve a specific task. However, different layers of SSL models have been shown to capture different types of information, and the methods of combining them are not well studied. To this end, we extend the general framework for SSL model utilization by proposing the interface that connects the upstream and downstream. Under this view, the dominant technique of combining features via a layerwise weighted sum can be regarded as a specific interface. We propose several alternative interface designs and demonstrate that the weighted sum interface is suboptimal for many tasks. In particular, we show that a convolutional interface whose depth scales logarithmically with the depth of the upstream model consistently outperforms many other interface designs.
[ -0.6126750707626343, -0.4021919369697571, 0.4020102322101593, 0.27595216035842896, -0.23171471059322357, -0.08807200938463211, 0.258833646774292, -0.7334460020065308, 0.3485044240951538, 0.5588589310646057, -0.5536282658576965, -0.08842575550079346, -0.44015926122665405, -0.3346760869026184, -0.620619535446167, 0.9550173282623291, 0.25817734003067017, -0.08380760252475739, -0.2771465480327606, -0.05370628461241722, -0.4218555986881256, -0.6772060394287109, -0.7674912810325623, -0.6364462375640869, 0.5585024356842041, 0.2970527410507202, 0.5428739786148071, 0.42710453271865845, 0.5228986144065857, 0.2959034740924835, 0.12384512275457382, -0.18961216509342194, -0.23433487117290497, -0.03558190166950226, -0.062483642250299454, -0.04973491281270981, -0.5769339203834534, 0.3289824426174164, 0.46785590052604675, 0.9629418253898621, -0.17327214777469635, 0.4283906817436218, 0.32796671986579895, 0.779130756855011, -0.7251970171928406, -0.042725082486867905, -0.163113072514534, 0.12966986000537872, -0.22409780323505402, -0.03964684158563614, -0.3188247084617615, 0.07529200613498688, 0.48599115014076233, -0.3186255991458893, -0.09053239226341248, -0.2319956123828888, 0.13755926489830017, 0.41419321298599243, -0.3596377968788147, -0.15153475105762482, -0.7761794328689575, 0.6909658908843994, -0.9017651677131653, 0.5101064443588257, 0.23917073011398315, 0.2512931525707245, 0.17885242402553558, -0.7171452045440674, -0.12040755897760391, -0.21592962741851807, -0.41838395595550537, 0.3309909403324127, -0.3418651819229126, 0.08080007880926132, -0.018260477110743523, 0.31535640358924866, -0.5195516347885132, 0.4671260118484497, -0.5956833958625793, -0.0337117575109005, 1.0467196702957153, 0.17171910405158997, 0.1406296193599701, 0.0552438348531723, -0.5749912261962891, 0.20298443734645844, -0.6101818084716797, 0.5797149538993835, 0.5652549266815186, 0.46735405921936035, -0.48949113488197327, 0.39603668451309204, -0.4735373556613922, 0.9011899828910828, 0.30233943462371826, -0.005671920720487833, 0.24235743284225464, -0.1640511006116867, -0.21959441900253296, 0.3830101191997528, 0.5739532709121704, -0.02190454863011837, 0.4408237934112549, -0.010845585726201534, -0.24528877437114716, -0.2879379987716675, 0.4034300148487091, -0.6621469259262085, -0.6073725819587708, 0.6107935905456543, -0.6583370566368103, -0.3619651198387146, -0.2841886579990387, -0.26555997133255005, -0.08081518858671188, -0.70982825756073, 0.5801246166229248, -0.025936778634786606, -0.6187074780464172, -0.251605361700058, -0.36874476075172424, 0.2786804735660553, 0.09501060098409653, -1.0846550464630127, 0.44289448857307434, 0.6049062013626099, 0.9154109358787537, -0.3776286244392395, -0.10537133365869522, -0.7346938848495483, 0.1558789312839508, -0.3185298442840576, 0.6352825164794922, -0.5261415243148804, -0.5566408038139343, -0.23296646773815155, -0.35133230686187744, 0.029624884948134422, -0.3509693443775177, 0.36800849437713623, -0.1280701756477356, 0.2360512912273407, 0.014544645324349403, -0.7207365036010742, 0.18318210542201996, -0.47923606634140015, -0.5203810930252075, 0.5942322611808777, 0.17043821513652802, -0.8555363416671753, -0.04849550873041153, -0.6801503896713257, -0.7092968225479126, 0.345845103263855, -0.24111336469650269, -0.49913325905799866, 0.26231589913368225, 0.041318152099847794, 0.49492064118385315, 0.08370067179203033, 0.2717558741569519, -0.6067748069763184, -0.49589094519615173, 0.1333339661359787, -0.15422117710113525, 0.9487434029579163, 0.6161215901374817, -0.10897216200828552, 0.06632129848003387, -0.9295040369033813, -0.04277748614549637, -0.2491883933544159, -0.32585543394088745, -0.7068600654602051, 0.12409117072820663, -0.04228619858622551, 0.09195739030838013, 0.30292585492134094, -0.6437203288078308, -0.31211963295936584, -0.1718684583902359, 0.7823836207389832, 0.6868829727172852, -0.18097704648971558, 0.5500522255897522, 0.02232016623020172, 0.2558649182319641, 0.33357805013656616, 0.4384324848651886, 0.11759857088327408, -0.3723769187927246, -0.6396660208702087, -0.2913387715816498, 0.40920954942703247, 0.4387817084789276, -0.3856978118419647, 0.24828532338142395, -0.006759711541235447, -0.6770932674407959, -0.6276277899742126, 0.2279355376958847, 0.5238465666770935, 0.8189102411270142, 0.5716123580932617, -0.25600486993789673, -0.33120232820510864, -1.3372207880020142, -0.3694226145744324, -0.11378844827413559, -0.43777868151664734, 0.2875252366065979, 0.051064979285001755, 0.42244961857795715, 1.1123257875442505, -0.2338942587375641, -0.44996458292007446, -0.2414676398038864, 0.3502686023712158, 0.32972899079322815, 0.894875705242157, 0.5483461022377014, -0.8130847215652466, -0.38758695125579834, -0.20951208472251892, -0.855069100856781, -0.181155264377594, -0.015033875592052937, 0.15789522230625153, -0.19131387770175934, 0.37540385127067566, -0.4691428542137146, 0.4689425826072693, 0.7032186388969421, 0.10457426309585571, 0.12479648739099503, -0.16653235256671906, -0.2731766998767853, -0.7204364538192749, -0.18665066361427307, 0.435476690530777, -0.07606353610754013, -1.1848199367523193, -0.0824945792555809, 0.2396770417690277, -0.207513689994812, -0.807989776134491, 0.5117031335830688, -0.410325825214386, -0.30412229895591736, -0.4557914435863495, 0.06790918111801147, -0.12936057150363922, 0.6525251269340515, 0.3492700159549713, 0.7104973793029785, 0.5934740900993347, -0.719931960105896, 0.2411922663450241, 0.04164619743824005, -0.020074276253581047, 0.6666518449783325, -1.0870534181594849, 0.07794231921434402, -0.18021930754184723, 0.21713975071907043, -1.244123101234436, -0.088150255382061, -0.04721297696232796, -0.5176259875297546, 0.3283175528049469, -0.2992668151855469, 0.43020471930503845, -0.25920236110687256, -0.32804641127586365, 0.5543663501739502, 0.6293485760688782, -0.5595928430557251, 0.999276876449585, 0.7661173939704895, -0.23869219422340393, -0.23866793513298035, -1.2259132862091064, -0.0687580406665802, -0.526965320110321, -0.6814824342727661, 0.4136374294757843, 0.07909677177667618, -0.11799417436122894, -0.10447802394628525, -0.09655030071735382, 0.03028029203414917, 0.07615766674280167, 0.3996579051017761, 0.08075118809938431, -0.2776219844818115, 0.05016425997018814, 0.1788855791091919, -0.19345498085021973, 0.08228588849306107, -0.29008764028549194, 0.15668651461601257, 0.10434526205062866, -0.41521090269088745, -0.7384405136108398, 0.6797565817832947, 0.1767614185810089, -0.37128084897994995, 0.25848302245140076, 0.459179550409317, -0.2643187344074249, 0.027094189077615738, -0.6914326548576355, -0.05423744395375252, -0.5218874216079712, 0.03818867355585098, -0.7772237658500671, -0.958282470703125, 0.5069227814674377, 0.07830984145402908, 0.25562581419944763, 0.45151346921920776, 0.2870326042175293, -0.6094066500663757, 1.136199712753296, 0.7493792176246643, -0.2877811789512634, 0.46449071168899536, -0.19440290331840515, 0.2943923771381378, -1.378086805343628, 0.12770234048366547, -0.43115463852882385, -0.42421865463256836, -0.7926129698753357, 0.5191911458969116, 0.3297528922557831, -0.030265657231211662, -0.252388060092926, 0.44479525089263916, -0.5201467275619507, 0.040580835193395615, 0.9599717259407043, 0.1301780492067337, 0.08664356917142868, -0.26616835594177246, 0.18523767590522766, 0.22318007051944733, -0.6340771913528442, -0.045928601175546646, 0.7819918990135193, 0.5231491923332214, 1.064430832862854, 0.08669669181108475, 0.9317561984062195, 0.5899083018302917, 0.11061706393957138, -0.30568963289260864, 0.29024946689605713, -0.6138537526130676, -0.4406659007072449, -0.6551994681358337, -0.3073635995388031, -0.7521737217903137, 0.3619694113731384, 0.06571942567825317, -0.6926572918891907, 0.6935368776321411, 0.550480306148529, -0.5151699781417847, -0.1925704926252365, -0.9277909398078918, 0.6903782486915588, -0.2510344088077545, -0.15112753212451935, -0.22357787191867828, -0.648123562335968, 0.5129728317260742, -0.12183615565299988, 0.2685951590538025, -0.12669982016086578, 0.30113929510116577, 0.621411919593811, -0.4281909465789795, 1.0612891912460327, -0.4434833526611328, -0.24753351509571075, 0.37935587763786316, -0.07327932119369507, 0.3436115086078644, -0.12163353711366653, 0.1426403969526291, 0.36924755573272705, -0.08000944554805756, -0.30674275755882263, -0.359510600566864, 0.8733684420585632, -0.7607703804969788, -0.7147941589355469, 0.006624976173043251, -0.2731286585330963, -0.25050216913223267, -0.12813007831573486, 0.07223786413669586, 0.9197620153427124, 0.2947161793708801, 0.18346139788627625, 0.37418413162231445, -0.013351335190236568, 0.6449368596076965, 0.507001519203186, 0.06523893028497696, -0.0962405875325203, 1.151766061782837, 0.37693387269973755, 0.5149721503257751, 0.23653993010520935, 0.47818320989608765, -0.5228070616722107, -0.653302013874054, -0.36146265268325806, -0.2781967222690582, -0.5410569310188293, -0.037341635674238205, -0.4852752983570099, -0.9302628636360168, -0.6107445359230042, 0.13070650398731232, -0.3087433874607086, -0.6409711837768555, -0.2456970065832138, 0.0023462409153580666, 0.07158885151147842, 0.3222304880619049, -0.32660168409347534, 0.44305670261383057, -0.4089881479740143, 0.5412108302116394, 0.8854515552520752, 0.3512187600135803, 0.19124077260494232, -0.7452338933944702, -0.16212812066078186, 0.06006348133087158, -0.05234823748469353, -0.5531190037727356, 0.2584119141101837, 0.35023733973503113, 0.7515453100204468, 0.3458729088306427, 0.13180968165397644, 0.7790977954864502, -0.5078902840614319, 0.736407995223999, 0.2585549056529999, -0.9001020789146423, 0.750469446182251, -0.13095775246620178, 0.45858636498451233, 0.3041412830352783, 0.45128321647644043, -0.39574408531188965, -0.7957378029823303, -0.5847756266593933, -0.539381206035614, 0.31331804394721985, 0.2497359663248062, 0.24563826620578766, 0.2377348244190216, 0.22641409933567047, 0.07743800431489944, 0.04029542952775955, -0.7473553419113159, -0.25457489490509033, -0.5410017371177673, -0.3502993881702423, 0.01080236304551363, -0.20545707643032074, 0.015242195688188076, -0.25478026270866394, 0.4656022787094116, -0.12370102107524872, -0.14600570499897003, 0.3762390613555908, 0.03645453229546547, 0.050706300884485245, 0.05099866911768913, 0.5311684608459473, 0.7273252606391907, -0.11596269905567169, 0.4273785948753357, 0.04003297910094261, -0.1777932047843933, -0.09117042273283005, -0.06465302407741547, -0.299431711435318, -0.26405641436576843, 0.5048562288284302, 0.7862993478775024, 0.2707378566265106, -0.11508666723966599, 0.36834922432899475, -0.0667557567358017, -0.3701234757900238, -0.44752174615859985, 0.304536908864975, 0.3324434161186218, 0.5273413062095642, 0.5828383564949036, -0.1565355360507965, 0.7152464985847473, -0.3256871700286865, 0.2218475490808487, 0.8308249711990356, -0.4085352420806885, -0.028030171990394592, 0.9136005640029907, 0.5496957302093506, -0.5791355967521667, 0.5732582211494446, 0.3064580261707306, -0.18614999949932098, 0.49989232420921326, 0.2863163650035858, 0.9384610652923584, -0.3637102246284485, 0.010128860361874104, 0.20267941057682037, 0.01324361003935337, 0.43939635157585144, 0.030970515683293343, -0.4602005183696747, -0.47225722670555115, -0.6053798198699951, -0.7059983015060425, -0.4842696487903595, 0.2117842435836792, -0.6184194087982178, 0.0694364458322525, -0.2573748826980591, -0.13761985301971436, 0.4837525188922882, -0.32166150212287903, -0.5938960313796997, 0.46144580841064453, 0.386096715927124, 0.7100557684898376, -0.9121118783950806, 1.049645185470581, 0.07304554432630539, -0.40667852759361267, -0.6563324332237244, -0.51642245054245, -0.13750337064266205, -0.8933209180831909, 0.7798585295677185, -0.023386454209685326, -0.3455118238925934, 0.13442067801952362, -0.4088764488697052, -1.0588372945785522, 0.7159026265144348, 0.020292101427912712, -0.7138652801513672, 0.13988491892814636, 0.31998512148857117, 0.4311964809894562, -0.7025544047355652, 0.15487565100193024, 0.4254757761955261, 0.2220897227525711, 0.14963601529598236, -0.8522465825080872, -0.11947991698980331, -0.20572315156459808, 0.2884041368961334, -0.1064184233546257, -0.8233746886253357, 0.9261621832847595, 0.09544523805379868, -0.1831187903881073, -0.20458181202411652, 0.9654797911643982, 0.13158394396305084, 0.20931963622570038, 0.8612350821495056, 0.44259360432624817, 0.23625828325748444, 0.07529739290475845, 0.7012284994125366, -0.20030970871448517, 0.20435771346092224, 1.4045403003692627, -0.11217636615037918, 0.8543257117271423, 0.43460315465927124, -0.265567421913147, 0.22376880049705505, 0.8770358562469482, 0.12513746321201324, 0.7818463444709778, 0.30469268560409546, -0.02819507196545601, -0.3701068162918091, -0.10535401105880737, -0.5046099424362183, 0.6182103157043457, 0.09121605008840561, -0.11515414714813232, -0.09285717457532883, 0.04795527085661888, -0.662752091884613, -0.33571240305900574, -0.4863012731075287, 0.9041127562522888, 0.32143986225128174, -0.5586938261985779, 0.2530505657196045, -0.33138227462768555, 0.5796149373054504, -0.43611109256744385, -0.02145247533917427, -0.588367223739624, -0.05088363587856293, -0.4228602349758148, -0.9430423974990845, 0.2525578737258911, -0.29587575793266296, 0.05557039752602577, -0.20869477093219757, 0.7726076245307922, -0.5378854274749756, -0.6170215010643005, 0.3769799768924713, 0.373586505651474, 0.21242505311965942, -0.05008016899228096, -0.38955068588256836, -0.08394069969654083, -0.3656618595123291, -0.21594975888729095, 0.5178357362747192, 0.09925141930580139, -0.01671351119875908, 0.8419760465621948, 0.6210964322090149, 0.0724402368068695, 0.3171140253543854, 0.5941590666770935, 0.8017145991325378, -0.4456208646297455, -0.6377156376838684, -0.7981239557266235, 0.6414014101028442, -0.22227491438388824, -0.2281782478094101, 0.4631991386413574, 0.4801909923553467, 0.8448165655136108, 0.07887677848339081, 0.8433874845504761, 0.3655093312263489, 0.7302936911582947, -0.6153439283370972, 0.4011588990688324, -0.6984583735466003, -0.07577439397573471, -0.1885485053062439, -0.7514935731887817, 0.1806560605764389, 0.5115512013435364, -0.025325700640678406, 0.13269226253032684, 0.25931811332702637, 0.2231113165616989, -0.3885001242160797, 0.2286716252565384, 0.44029805064201355, -0.042920563369989395, 0.3983018696308136, 0.5677710771560669, 0.833812952041626, -0.11883257329463959, 0.21843299269676208, -0.4923512935638428, -0.370018869638443, -0.0777624174952507, -0.908842146396637, -0.8497390151023865, -0.7128527760505676, -0.4033818542957306, 0.363478422164917, -0.10833856463432312, 0.24357059597969055, 1.1246230602264404, -0.7791991829872131, -0.3956367075443268, 0.009597407653927803, -0.034765370190143585, -0.17341019213199615, -0.23086203634738922, 0.1939181536436081, -0.4989023208618164, -0.5440532565116882, 0.5624787211418152, 0.49648404121398926, 0.18475386500358582, -0.8535153269767761, 0.07116080820560455, 0.0129067562520504, -0.00672714039683342, 0.5653825402259827, 0.44690197706222534, -0.8135361075401306, -0.47650328278541565, -0.39076098799705505, 0.06720136106014252, 0.0007189472671598196, 0.9002797603607178, -0.832821786403656, 0.11980395019054413, 0.36543795466423035, 0.6698894500732422, 0.8186088800430298, 0.31906142830848694, 0.476129949092865, -0.8373415470123291, 0.067625492811203, -0.2061605304479599, 0.3211425244808197, 0.19273576140403748, -0.45237988233566284, 0.6317656636238098, -0.23099154233932495, -0.45535027980804443, -0.5455182194709778, 0.3395300507545471, -0.9897438287734985, -0.3693700432777405, 0.5885685682296753, -0.052646394819021225, -0.14393725991249084, -0.038376256823539734, 0.17623285949230194, -0.009355698712170124, -0.12327604740858078, 0.6623576283454895, 0.6161177754402161, -0.7666664123535156, -0.4636552333831787, -0.39233165979385376, 0.38622143864631653, 0.21174544095993042, -0.5583223104476929, -0.046676624566316605, 0.18127427995204926, 0.31416016817092896, 0.1889020800590515, 0.8106463551521301, 0.13144943118095398, 0.09387604147195816, -0.19075407087802887, -0.1831822246313095, -0.1350765973329544, -0.462088018655777, -0.42546337842941284, 0.16771851480007172, -0.14335069060325623, -0.4209011197090149 ]
http://arxiv.org/abs/2406.12208v1
http://arxiv.org/pdf/2406.12208v1
Knowledge Fusion By Evolving Weights of Language Models
2024-06-18T02:12:34
2024-06-18T02:12:34
Guodong Du, Jing Li, Hanting Liu, Runhua Jiang, Shuyang Yu, Yifei Guo, Sim Kuan Goh, Ho-Kin Tang
cs.CL
cs.CL, cs.AI, cs.CV, cs.NE
Fine-tuning pre-trained language models, particularly large language models, demands extensive computing resources and can result in varying performance outcomes across different domains and datasets. This paper examines the approach of integrating multiple models from diverse training scenarios into a unified model. This unified model excels across various data domains and exhibits the ability to generalize well on out-of-domain data. We propose a knowledge fusion method named Evolver, inspired by evolutionary algorithms, which does not need further training or additional training data. Specifically, our method involves aggregating the weights of different language models into a population and subsequently generating offspring models through mutation and crossover operations. These offspring models are then evaluated against their parents, allowing for the preservation of those models that show enhanced performance on development datasets. Importantly, our model evolving strategy can be seamlessly integrated with existing model merging frameworks, offering a versatile tool for model enhancement. Experimental results on mainstream language models (i.e., encoder-only, decoder-only, encoder-decoder) reveal that Evolver outperforms previous state-of-the-art models by large margins. The code is publicly available at {https://github.com/duguodong7/model-evolution}.
[ -0.4296177327632904, -0.486526757478714, 0.24332264065742493, -0.1698131561279297, -0.029806260019540787, 0.31675970554351807, -0.35919493436813354, -0.4653173089027405, -0.08507303148508072, 0.5411432981491089, -0.3997196853160858, -0.13780300319194794, -0.634553074836731, -0.22231420874595642, -0.40335211157798767, 0.7955635786056519, 0.15172500908374786, 0.1713835746049881, -0.531933069229126, -0.19048990309238434, -0.31925731897354126, -0.21044884622097015, -0.1922832876443863, -0.7826983332633972, 0.04596898704767227, 0.2196662276983261, 0.7812985181808472, 0.7727910280227661, 0.28987011313438416, 0.28158584237098694, -0.11846252530813217, 0.42967647314071655, -0.7071276307106018, 0.051353804767131805, -0.33595624566078186, -0.14617611467838287, -0.17376671731472015, -0.36316925287246704, 0.5870068073272705, 0.8412712216377258, -0.17938068509101868, 0.001300264149904251, 0.12850983440876007, 0.4377534091472626, -0.6772999167442322, -0.18259137868881226, -0.6605516076087952, -0.18587686121463776, -0.15030264854431152, 0.055092617869377136, -0.3129003345966339, -0.4347274899482727, 0.3310529291629791, -0.4133959412574768, 0.030504979193210602, -0.08140364289283752, 0.7568894624710083, 0.046582527458667755, -0.24779000878334045, 0.043478429317474365, -1.0663955211639404, 0.8467159867286682, -0.7907975912094116, 0.7570021152496338, -0.1433921754360199, 0.24416664242744446, -0.32514163851737976, -0.6536663174629211, -0.7449904680252075, 0.03920585289597511, -0.06834910064935684, -0.014165508560836315, -0.41867268085479736, -0.026378406211733818, -0.2390412837266922, 0.44110897183418274, -0.5491753816604614, 0.29878318309783936, -0.5140101909637451, 0.06240023300051689, 0.6592293381690979, -0.14412494003772736, 0.6831361055374146, 0.32933130860328674, -0.13041438162326813, -0.29461565613746643, -0.7191540002822876, -0.23126371204853058, 0.38085228204727173, 0.5170993804931641, -0.06944993138313293, 0.519840657711029, -0.2709692716598511, 1.0054693222045898, 0.14013022184371948, -0.04040418192744255, 0.26387619972229004, -0.317231684923172, -0.06621219217777252, -0.10533618927001953, 0.7369244694709778, 0.013686287216842175, 0.16070200502872467, -0.49551910161972046, -0.1402830183506012, 0.10658320039510727, 0.20015200972557068, -0.4641910791397095, -0.46348094940185547, 0.042410265654325485, -0.29509222507476807, -0.2996947169303894, -0.23794767260551453, -1.0150296688079834, -0.5060900449752808, -0.2801195979118347, 0.7413573861122131, -0.6066968441009521, -0.5663825869560242, 0.4729653000831604, -0.34044086933135986, 0.26727718114852905, -0.04605119302868843, -1.0598273277282715, 0.2801150381565094, 0.6825295090675354, 0.45114433765411377, -0.20465166866779327, -0.46987468004226685, -0.26535916328430176, 0.10227397084236145, -0.07084585726261139, 0.8230018615722656, -0.7530669569969177, -0.42027193307876587, 0.034238051623106, -0.3900575339794159, -0.3393001854419708, -0.507000207901001, 0.33236566185951233, -0.701525092124939, 0.3981158435344696, 0.12561479210853577, -0.7960286736488342, -0.2724260985851288, -0.09070398658514023, -0.5564088821411133, 0.9894014000892639, 0.46256470680236816, -0.5519896149635315, 0.5207102298736572, -0.9702568650245667, -0.5937118530273438, 0.395616352558136, -0.07676396518945694, -0.26220476627349854, 0.054467540234327316, 0.4458478093147278, 0.3692411482334137, -0.4925018548965454, 0.2243259698152542, -0.37550634145736694, -0.05814897269010544, -0.06793950498104095, 0.13093021512031555, 0.7067421078681946, 0.3821616768836975, -0.18837139010429382, 0.044643327593803406, -0.6829915046691895, 0.15507331490516663, 0.3059402406215668, -0.3841228187084198, -0.5515512824058533, 0.06826278567314148, -0.2752256691455841, 0.1738291233778, 0.32547906041145325, -0.4503849446773529, 0.39576950669288635, -0.45838749408721924, 0.34574851393699646, 0.2324855923652649, 0.007868262007832527, 0.7899424433708191, -0.3872601091861725, 0.41364097595214844, 0.0031856198329478502, 0.15898767113685608, -0.054494984447956085, -0.5141072869300842, -0.9076634645462036, 0.08951561897993088, 0.4845471680164337, 0.27061140537261963, -0.6739817261695862, 0.7576144337654114, -0.8425464034080505, -0.6826134920120239, -0.9060277342796326, 0.4455913305282593, 0.30740946531295776, 0.30570077896118164, 0.4898056089878082, -0.23700128495693207, -0.634345293045044, -0.7675564289093018, -0.3075563907623291, -0.09932390600442886, 0.044028010219335556, 0.08316642045974731, 0.2746411859989166, -0.510362446308136, 1.1505472660064697, -0.4137550890445709, 0.22421300411224365, -0.6455374956130981, 0.05945038050413132, -0.13251350820064545, 0.7571049332618713, 0.5119243860244751, -0.8479423522949219, -0.0719861090183258, 0.5394536256790161, -0.6715495586395264, 0.05278484895825386, 0.03661666065454483, -0.2036801427602768, -0.2838982343673706, 0.19998286664485931, -0.3435627520084381, -0.2249992936849594, 0.8249630331993103, -0.18130721151828766, 0.28900304436683655, -0.24210695922374725, 0.14377962052822113, -1.244994878768921, 0.007991925813257694, -0.08273465931415558, 0.03987165912985802, -1.157119870185852, 0.40705808997154236, 0.162416473031044, -0.05016767606139183, -0.374377965927124, 0.7462112307548523, -0.4136667251586914, 0.08346004039049149, -0.13803033530712128, 0.13950210809707642, -0.07252098619937897, 0.15203040838241577, 0.018387671560049057, 0.5589056015014648, 0.7384080290794373, -0.8266070485115051, 0.41597121953964233, 0.2541068494319916, -0.4790501296520233, 0.13838647305965424, -0.37278273701667786, 0.20755144953727722, -0.1966547966003418, -0.13639946281909943, -0.5994533896446228, -0.19646872580051422, -0.07481759786605835, -0.31188613176345825, 0.3760626018047333, -0.26387277245521545, -0.2734277844429016, -0.5745991468429565, 0.0764792338013649, 0.3302091062068939, 0.8921899199485779, -0.9240831732749939, 1.0521892309188843, 0.509044885635376, -0.16810522973537445, -0.2930010259151459, -0.463615745306015, -0.04443309083580971, -0.33752864599227905, -0.9255098700523376, 0.4503838121891022, -0.11845599114894867, -0.14377743005752563, 0.0954948365688324, 0.12197332829236984, -0.03684912994503975, -0.11865369230508804, -0.22766657173633575, 0.20770059525966644, -0.42082059383392334, 0.1584189534187317, 0.46598491072654724, 0.26485389471054077, -0.3838452398777008, -0.7241562604904175, 0.7614303827285767, 0.04398239776492119, -0.3340180814266205, 0.02515510469675064, 0.08843974769115448, 0.7681381702423096, -0.4028703570365906, 0.9155441522598267, 0.37100979685783386, -0.35839566588401794, -0.34939438104629517, -0.7926454544067383, -0.030394304543733597, -0.45709896087646484, 0.3973879814147949, -0.33805885910987854, -0.9790692329406738, 0.48906317353248596, -0.6144013404846191, 0.204700767993927, 0.6089943647384644, 0.3697381317615509, 0.3210461437702179, 1.2458295822143555, 1.0500556230545044, -0.14303812384605408, 0.46423307061195374, -0.19542939960956573, 0.16288481652736664, -0.8808914422988892, -0.3872806131839752, -0.439199298620224, -0.22261568903923035, -0.27166229486465454, -0.3231504559516907, 0.01106322929263115, 0.3589343726634979, -0.18193082511425018, 0.5499128699302673, -0.5202717781066895, 0.6104327440261841, 0.30988168716430664, 0.04957428202033043, 0.29372280836105347, 0.007217057980597019, -0.25387877225875854, 0.18292959034442902, -1.104634165763855, -0.17824487388134003, 1.1044809818267822, 0.22789548337459564, 0.8345023989677429, 0.22646553814411163, 0.7196131944656372, 0.0765305832028389, 0.1989467889070511, -0.37503018975257874, 0.26111164689064026, -0.4139327108860016, -0.28970420360565186, -0.24252133071422577, -0.6446245908737183, -0.8649557828903198, 0.37082430720329285, -0.4684164226055145, -0.7356019616127014, 0.428617924451828, 0.039330773055553436, -0.36213234066963196, 0.3395470976829529, -0.8010461330413818, 0.7285181879997253, -0.454865425825119, -0.015497536398470402, -0.22149869799613953, -0.3369680643081665, 0.7748197317123413, -0.4884328246116638, 0.29300016164779663, 0.13143301010131836, 0.27666905522346497, 0.8260582685470581, -0.15266327559947968, 0.4210381507873535, -0.08661547303199768, -0.0979803130030632, 0.05627024173736572, -0.005087511148303747, 0.49558621644973755, -0.3800511062145233, -0.16769514977931976, 0.1170593649148941, -0.35490861535072327, -0.324657678604126, -0.6729680299758911, 0.650537371635437, -0.9730846285820007, -0.4411962926387787, 0.2309948205947876, -0.538212239742279, -0.4777790307998657, 0.3442782163619995, 0.27286723256111145, 0.36883166432380676, -0.15717923641204834, 0.13410541415214539, 0.6631492376327515, -0.14605717360973358, 0.15707649290561676, 0.6283391118049622, -0.32549193501472473, -0.3556824028491974, 0.9255339503288269, -0.21620723605155945, 0.4674905240535736, 0.34099647402763367, 0.40059810876846313, -0.2527483105659485, -0.6656635403633118, -0.48289400339126587, 0.09606882929801941, -0.6355942487716675, -0.3380429446697235, -0.8816779255867004, -0.31544727087020874, -0.588870108127594, -0.1830025166273117, -0.46962621808052063, -0.17132870852947235, -0.015676721930503845, 0.14304959774017334, 0.49519798159599304, 0.9088287353515625, -0.09465740621089935, 0.5106464624404907, -0.930791437625885, 0.1516546756029129, 0.5027734041213989, 0.41304853558540344, 0.15122395753860474, -0.6448901891708374, -0.2766816020011902, 0.3642674386501312, -0.07403802126646042, -0.5985448956489563, 0.3906346559524536, 0.4908102750778198, 0.8664084076881409, 0.495411217212677, -0.08521060645580292, 0.7852529883384705, -0.25654131174087524, 0.7772067785263062, 0.24390800297260284, -0.9015874862670898, 0.5839171409606934, -0.3064436614513397, 0.5077182650566101, 0.5219401121139526, 0.32219213247299194, -0.4294328987598419, -0.34613317251205444, -0.4897683262825012, -0.6663011312484741, 0.5988628268241882, 0.020324865356087685, 0.21605339646339417, 0.3994837701320648, 0.38971617817878723, 0.30942362546920776, -0.13368819653987885, -0.48993179202079773, -0.09906397014856339, -0.06867665797472, -0.3605601191520691, -0.050152938812971115, 0.06893908232450485, -0.08599184453487396, -0.5606698989868164, 0.7123581171035767, -0.018373902887105942, -0.03771810606122017, -0.4396805167198181, -0.44106370210647583, -0.20787125825881958, 0.18102380633354187, 0.37910255789756775, 0.6029345989227295, 0.1630147099494934, -0.0009905720362439752, 0.39104321599006653, -0.4508587718009949, 0.051449764519929886, 0.3371281623840332, -0.12717950344085693, -0.32943180203437805, 0.26406022906303406, 0.8473340272903442, 0.43873536586761475, -0.5794130563735962, 0.26568546891212463, -0.15696609020233154, -0.21962818503379822, 0.36502134799957275, 0.38598424196243286, 0.1868198812007904, 0.3906098008155823, 0.29740098118782043, 0.18747977912425995, -0.1744581162929535, -0.37963035702705383, 0.32603558897972107, 0.33795884251594543, -0.11764156073331833, -0.3320164680480957, 0.4984184205532074, 0.276802122592926, -0.056345585733652115, 0.6023615598678589, -0.1539609134197235, -0.7225806713104248, 0.17992916703224182, 0.8211841583251953, 0.8359353542327881, -0.4828862249851227, 0.12336460500955582, 0.06734013557434082, 0.13664758205413818, -0.36711791157722473, 0.1153680682182312, 0.03562316298484802, -1.2551887035369873, -0.4586338698863983, -1.0281753540039062, -0.2845263183116913, 0.18903720378875732, -0.3020317256450653, 0.30846431851387024, 0.06224584951996803, 0.1841193437576294, 0.06837847828865051, -0.23415488004684448, -0.7128077149391174, 0.08312886953353882, 0.27927374839782715, 0.7845443487167358, -0.8968084454536438, 0.9833942651748657, 0.9238108992576599, -0.23098719120025635, -0.6478924751281738, -0.08643986284732819, -0.16879387199878693, -0.9307683110237122, 0.5456207394599915, -0.2589576244354248, -0.18252445757389069, 0.42796555161476135, -0.42109033465385437, -1.1431820392608643, 0.9088606238365173, 0.40072330832481384, -0.43932005763053894, 0.07572408020496368, 0.04204699397087097, 0.4684150815010071, -0.7098770141601562, -0.061509937047958374, 0.8864742517471313, 0.38037919998168945, 0.20482634007930756, -0.7033398151397705, -0.23041950166225433, -0.3849218785762787, 0.08942343294620514, 0.4242921769618988, -0.2510107457637787, 0.6463595032691956, -0.32108089327812195, -0.4093305766582489, -0.07050373405218124, 0.6766784191131592, 0.05960889533162117, -0.3577954173088074, 0.5005156993865967, 0.6725952625274658, 0.7644855380058289, -0.05525197833776474, 0.807532012462616, -0.6057202816009521, 0.30510076880455017, 0.8773767352104187, -0.2706807255744934, 0.6968123316764832, 0.0714821070432663, -0.16784127056598663, 0.551613986492157, 0.27130216360092163, -0.14677000045776367, 0.5438987016677856, 0.09881911426782608, -0.31207719445228577, -0.25855734944343567, -0.05461830273270607, -0.37502068281173706, 0.6266877055168152, 0.3211172819137573, -0.14902786910533905, -0.3034513294696808, 0.21268697082996368, -0.038093630224466324, 0.0019274145597591996, -0.2094184309244156, 1.088329553604126, -0.28014901280403137, -0.7095751166343689, 0.47548121213912964, -0.06877879798412323, 0.9772704839706421, -0.7911022901535034, 0.15436530113220215, -0.1456693857908249, 0.3060392737388611, -0.10071846097707748, -0.5496566891670227, 0.04953693598508835, -0.12229898571968079, -0.04421555995941162, 0.003862373996526003, 0.9266552925109863, -0.8272891640663147, -0.4768792688846588, 0.48424673080444336, 0.7118933200836182, -0.25354453921318054, 0.31028294563293457, -0.46900689601898193, 0.16181901097297668, -0.01055989321321249, 0.09006419777870178, 0.48440179228782654, 0.11535729467868805, 0.325923889875412, 0.6598246693611145, 0.785148024559021, 0.1890343278646469, 0.2583363950252533, 0.14171361923217773, 1.0754352807998657, -0.34272056818008423, -0.4106757342815399, -0.8326833844184875, 0.6349136233329773, -0.15781977772712708, -0.37780478596687317, 0.5145015120506287, 0.5091752409934998, 0.8384355306625366, -0.04294915497303009, 1.013213872909546, -0.11216910183429718, 0.32946017384529114, -0.3782038390636444, 0.9662867188453674, -0.5534521341323853, -0.052967000752687454, -0.2004445195198059, -1.0247008800506592, -0.27083665132522583, 0.19241060316562653, -0.2128448188304901, 0.22407788038253784, 0.33653101325035095, 0.6384539008140564, -0.21736370027065277, 0.18129990994930267, 0.2943589687347412, 0.03153662756085396, 0.24569901823997498, 0.44660475850105286, 0.7224770784378052, -0.30535075068473816, 0.4197462797164917, -0.2362029254436493, -0.3336208164691925, -0.15457621216773987, -0.6465953588485718, -0.705885112285614, -0.633593738079071, -0.3295114040374756, 0.026361193507909775, 0.23304547369480133, 0.7583449482917786, 0.9270632266998291, -0.78058260679245, -0.22022850811481476, -0.12994524836540222, -0.021623099222779274, -0.29181942343711853, -0.19535361230373383, 0.07726261764764786, -0.37171095609664917, -0.6520368456840515, 0.731286883354187, 0.11434204876422882, 0.14260044693946838, -0.34422338008880615, -0.39847466349601746, -0.12292010337114334, 0.1302228420972824, 0.46787095069885254, 0.4518802762031555, -0.47736886143684387, -0.1680060774087906, -0.08885852992534637, 0.28343090415000916, -0.18238630890846252, 0.674024224281311, -0.9307997822761536, 0.8230324983596802, 0.4273081123828888, 0.8991466760635376, 0.2923767566680908, 0.034435201436281204, 1.0555065870285034, -0.6156758666038513, -0.2128618061542511, 0.15928585827350616, 0.39870011806488037, 0.49189841747283936, -0.2865365743637085, 0.24381974339485168, -0.0010728308698162436, -0.46612995862960815, -0.8361908793449402, 0.2644886076450348, -0.4666140377521515, -0.27568957209587097, 0.9952192306518555, 0.22000713646411896, 0.06587876379489899, -0.13634152710437775, 0.365823358297348, 0.27869343757629395, -0.2856441140174866, 0.7527269721031189, 0.4655788540840149, -0.17241841554641724, -0.24632249772548676, -0.009371954947710037, 0.46162304282188416, 0.15963740646839142, -0.9233875274658203, 0.2038068324327469, 0.07306645810604095, 0.2461787462234497, 0.349249005317688, -0.018300736322999, -0.10046682506799698, 0.17594729363918304, 0.16710035502910614, 0.37980881333351135, -0.03647357597947121, -0.1506003886461258, -0.6431063413619995, 0.00846036896109581, 0.09931506216526031, 0.1458740085363388 ]
http://arxiv.org/abs/2406.12197v1
http://arxiv.org/pdf/2406.12197v1
Debate as Optimization: Adaptive Conformal Prediction and Diverse Retrieval for Event Extraction
2024-06-18T01:53:49
2024-06-18T01:53:49
Sijia Wang, Lifu Huang
cs.CL
cs.CL, cs.AI
We propose a multi-agent debate as optimization (DAO) system for event extraction, where the primary objective is to iteratively refine the large language models (LLMs) outputs through debating without parameter tuning. In DAO, we introduce two novel modules: the Diverse-RAG (DRAG) module and the Adaptive Conformal Prediction (AdaCP) module. DRAG systematically retrieves supporting information that best fits the debate discussion, while AdaCP enhances the accuracy and reliability of event extraction by effectively rejecting less promising answers. Experimental results demonstrate a significant reduction in the performance gap between supervised approaches and tuning-free LLM-based methods by 18.1% and 17.8% on ACE05 and 17.9% and 15.2% on CASIE for event detection and argument extraction respectively.
[ -0.6662307977676392, -0.821153998374939, 0.4621621072292328, 0.006262702401727438, -0.34948331117630005, 0.17226190865039825, -0.44276389479637146, -0.5518196821212769, 0.3661043345928192, 0.38828831911087036, -0.7075029015541077, -0.13493043184280396, -0.6002272963523865, 0.10477897524833679, -0.024679599329829216, 0.974853515625, 0.12343831360340118, 0.07631730288267136, -0.07796527445316315, -0.22074203193187714, -0.23258334398269653, -0.2503363788127899, -0.88478684425354, -0.17783652245998383, 0.4348353445529938, 0.6465072631835938, 0.3427410423755646, 0.684611976146698, 0.28557753562927246, 0.38376930356025696, -0.42288529872894287, 0.3983927369117737, -0.4013059735298157, 0.569978654384613, -0.18648149073123932, -0.29492175579071045, -0.4500150978565216, 0.018464289605617523, 0.9108260869979858, 0.28322136402130127, -0.5360327363014221, -0.05740250647068024, -0.1577298939228058, 0.7480055093765259, -0.8576176762580872, -0.07826567441225052, -1.334909200668335, -0.25096237659454346, -0.23052532970905304, 0.007264772895723581, -0.3638366162776947, -0.231160968542099, 0.254219651222229, -0.7947238683700562, 0.26902806758880615, -0.04677002131938934, 0.9521909952163696, 0.28031763434410095, -0.4123289883136749, -0.44086021184921265, -0.7098350524902344, 0.9052456617355347, -0.6545941829681396, 0.08874937146902084, -0.034107401967048645, 0.3455877900123596, -0.30707335472106934, -0.8934494256973267, -0.6467774510383606, -0.030051475390791893, 0.37532728910446167, 0.3127172291278839, -0.35910436511039734, 0.049640413373708725, -0.02032289281487465, 0.13712704181671143, -0.15164218842983246, 0.31648775935173035, -0.4493440091609955, -0.056260786950588226, 0.9321387410163879, 0.1970943659543991, -0.03881381079554558, -0.1387142837047577, -0.22871990501880646, 0.05332747474312782, -0.33616575598716736, -0.031108805909752846, 0.46552225947380066, 0.2772989571094513, 0.07462405413389206, 0.06939532607793808, -0.2382352650165558, 0.46892598271369934, 0.29616379737854004, 0.04849712550640106, 0.07950042933225632, -0.21450620889663696, 0.02717011049389839, -0.18994975090026855, 0.9652321934700012, -0.04588942974805832, -0.04160724952816963, -0.1622917205095291, -0.10027490556240082, -0.1164536252617836, 0.4305935800075531, -0.7239314317703247, -0.29895928502082825, 0.19257380068302155, -0.2659783363342285, -0.3605809211730957, 0.15007498860359192, -1.457157015800476, -0.3470746874809265, -0.21008366346359253, 0.03153042122721672, -0.02848515287041664, -0.36299246549606323, 0.12654034793376923, -0.43779295682907104, 0.13493964076042175, 0.9326751828193665, -0.6316511034965515, 0.4116075336933136, 0.7233670353889465, 0.6487342119216919, -0.846182107925415, -0.03332969918847084, -1.0581505298614502, 0.2684357464313507, -0.21482127904891968, 1.2889182567596436, -1.0904474258422852, -0.3804723620414734, -0.2807685136795044, -0.14092384278774261, -0.1258133202791214, -0.6684481501579285, 0.8583321571350098, -0.7682586908340454, 0.15546351671218872, -0.29983994364738464, -0.651617705821991, -0.12743370234966278, 0.06942277401685715, -1.0706120729446411, 0.7818137407302856, -0.4799959063529968, -0.4793570637702942, 0.3152809739112854, -0.8970963954925537, -0.25886404514312744, 0.029825130477547646, -0.3726053535938263, -0.6616820693016052, -0.033034421503543854, 0.4102686643600464, 0.05011898651719093, -0.37544775009155273, 0.11831127852201462, -0.6687428951263428, 0.0007796360296197236, 0.11634666472673416, -0.18604645133018494, 0.603054404258728, 0.4925568997859955, -0.3618338406085968, 0.2876100242137909, -1.0432207584381104, -0.1841435730457306, -0.04197525978088379, -0.6340402960777283, -0.060922469943761826, 0.5076368451118469, -0.06628651171922684, 0.008874022401869297, 0.10082997381687164, -0.8232315182685852, 0.358122855424881, -0.5272077322006226, 0.2699563205242157, 1.0726110935211182, 0.050070784986019135, 0.5512475371360779, -0.21320579946041107, 0.8203234076499939, 0.13080821931362152, -0.15352027118206024, 0.18168748915195465, -0.6520386338233948, -0.5384818315505981, -0.45813286304473877, 0.1404658704996109, 0.3359808623790741, -0.7252553105354309, -0.0032704074401408434, 0.0033280120696872473, -0.3258861005306244, -0.5151256918907166, 0.1233706995844841, 0.16310808062553406, 0.3064819276332855, 0.14304445683956146, -0.026156872510910034, -0.6468612551689148, -0.48500382900238037, -0.31485655903816223, -0.3951447308063507, 0.18620143830776215, 0.37043800950050354, 0.15187272429466248, -0.03072374127805233, 0.7913318872451782, -0.6801844239234924, 0.030078819021582603, -0.3234642446041107, 0.44039666652679443, -0.03718051686882973, 0.20746386051177979, 0.5603728294372559, -0.954014778137207, -0.7149491906166077, 0.47922283411026, -0.22729738056659698, -0.23548121750354767, 0.026402581483125687, -0.11938142776489258, 0.6183895468711853, 0.37186914682388306, -0.4536072909832001, 0.39797207713127136, 0.253124862909317, -0.14383038878440857, 0.6531030535697937, 0.17267027497291565, 0.02015434391796589, -1.0567004680633545, 0.029856551438570023, -0.15800443291664124, -0.18691101670265198, -0.6309270858764648, 0.10506734997034073, -0.06493985652923584, 0.03217758238315582, -0.16507725417613983, 0.7322545647621155, -0.608549177646637, 0.21393407881259918, -0.6607192754745483, 0.46424904465675354, 0.16783110797405243, 0.3992924988269806, 0.2245984673500061, 0.5636880993843079, 0.49995723366737366, -0.6761060357093811, 0.4357754588127136, 0.2693537175655365, 0.042896971106529236, 0.37703078985214233, -0.353662371635437, 0.5860905051231384, -0.330367773771286, -0.03740239888429642, -1.091448426246643, 0.08016997575759888, 0.13777293264865875, -0.4124618470668793, 0.4036661684513092, -0.290330708026886, 0.19060257077217102, -0.21044178307056427, -0.5265934467315674, 0.2940150499343872, 0.2242165505886078, -0.3428758680820465, 0.606532096862793, 0.9758310914039612, -0.4667336642742157, -0.8778730034828186, 0.11573713272809982, -0.012686562724411488, -0.36794179677963257, -0.30376335978507996, 0.021231884136795998, -0.19999369978904724, -0.2942498028278351, -0.15452569723129272, -0.2861688733100891, -0.3783459961414337, 0.1201842725276947, -0.06198229268193245, 0.1974892020225525, -0.3516268730163574, 0.264410138130188, 0.05959474295377731, 0.11527319252490997, -0.123800128698349, -0.1334368884563446, 0.14296549558639526, -0.1923668384552002, -0.14595498144626617, -0.24057462811470032, 0.6688960790634155, 0.35792770981788635, -0.2390296906232834, 0.39432719349861145, 0.6655009984970093, -0.1989200860261917, -0.35168877243995667, -0.8247825503349304, -0.10460755974054337, -0.5315598845481873, 0.4770328998565674, -0.45976611971855164, -1.0347391366958618, 0.7448427677154541, -0.2502487003803253, 0.4261143207550049, 0.6428961157798767, 0.7241159081459045, -0.06717512756586075, 0.8087553381919861, 0.5819694995880127, 0.002714740578085184, 0.7040836215019226, 0.1280422806739807, -0.44077691435813904, -0.7559985518455505, -0.08705059438943863, -0.9940240383148193, -0.3253993093967438, -0.4340629279613495, -0.31088075041770935, 0.33851611614227295, 0.09568821638822556, 0.03329242765903473, 0.07738795876502991, -0.44434645771980286, 0.393179327249527, 0.2820416986942291, -0.2339579313993454, 0.4775600731372833, -0.06864237040281296, -0.0005217433208599687, -0.14965294301509857, -0.579172670841217, -0.4676538109779358, 1.1097149848937988, 0.0836983248591423, 0.8157654404640198, 0.20065048336982727, 0.6596027612686157, 0.11372983455657959, 0.5080702304840088, -0.8908287882804871, 0.44291505217552185, -0.16285985708236694, -0.7852112650871277, -0.5399780869483948, -0.5893998742103577, -1.2830291986465454, 0.5757930278778076, -0.12522681057453156, -0.9962066411972046, 0.5582325458526611, -0.05079735815525055, -0.21905089914798737, 0.5220487117767334, -0.3264142572879791, 0.6180174350738525, 0.33590030670166016, -0.11410529166460037, -0.5286642909049988, -0.4840063750743866, 0.11929409205913544, -0.2207760065793991, 0.25649482011795044, -0.2015688568353653, -0.30222511291503906, 0.9230270981788635, -0.18898898363113403, 0.4506070017814636, -0.026615768671035767, -0.0491778738796711, 0.6199663281440735, 0.027752382680773735, 0.6071270704269409, 0.10005946457386017, -0.5394644737243652, -0.14134638011455536, 0.1836353987455368, -0.12467306107282639, -0.6036374568939209, 0.47577965259552, -0.9599283933639526, -0.9628924131393433, -0.1318693608045578, -0.44731780886650085, -0.08557894825935364, -0.08476037532091141, -0.029292600229382515, 0.396450936794281, -0.3591901957988739, 0.1912219524383545, 0.34338510036468506, 0.12915703654289246, 0.7026262283325195, 0.9526833295822144, 0.13214439153671265, -0.7223330140113831, 0.7875639796257019, -0.04077855870127678, 0.19687120616436005, 0.3386305868625641, 0.45462730526924133, -0.19112592935562134, -0.7162935137748718, -0.556669294834137, 0.17828398942947388, -0.8142973184585571, -0.4019535779953003, -0.9049771428108215, -0.01621990278363228, -0.37258803844451904, 0.0881321057677269, -0.6325409412384033, -0.8349727988243103, -0.5681495070457458, -0.04958134889602661, 0.28480586409568787, 0.9271738529205322, -0.260253369808197, 0.24177958071231842, -0.8150503635406494, 0.26681649684906006, 0.23061996698379517, 0.11536547541618347, -0.013320361264050007, -0.6463971138000488, -0.20110125839710236, -0.1317697912454605, -1.1021735668182373, -1.139085292816162, 0.3360786736011505, 0.6457719206809998, 0.9237461686134338, 0.6639655828475952, 0.258029967546463, 0.8236359357833862, -0.574331521987915, 0.603373646736145, 0.08139947056770325, -0.8697656393051147, 0.798891544342041, -0.18680769205093384, -0.14389576017856598, 0.5753650069236755, 0.40783703327178955, -0.21454666554927826, -0.6482406854629517, -0.604110062122345, -0.6534770727157593, 1.1923773288726807, 0.0841020867228508, -0.18836553394794464, -0.02482357621192932, 0.6568445563316345, 0.3503018319606781, 0.2273022085428238, -0.7090303897857666, -0.20966875553131104, 0.13702137768268585, 0.0826030969619751, 0.24701961874961853, -0.21886222064495087, -0.2921781837940216, -0.19934216141700745, 0.5824205875396729, -0.3296507000923157, 0.029067032039165497, 0.2458328902721405, 0.23040223121643066, -0.6690337061882019, 0.23889325559139252, 0.5943950414657593, 0.780579686164856, -0.10859338939189911, -0.08275147527456284, 0.2808323800563812, -0.5691900253295898, 0.1445966362953186, 0.225784569978714, 0.07921568304300308, 0.12371829152107239, 0.1932448446750641, 0.7391198873519897, -0.2117677628993988, -0.6023144721984863, 0.22978492081165314, -0.19223202764987946, -0.25092020630836487, 0.07078339904546738, 0.10592439770698547, 0.01185818761587143, 0.48347020149230957, 0.4100392162799835, -0.10923485457897186, 0.523985743522644, -0.4190306067466736, 0.5938225388526917, 0.7278589606285095, -0.47658929228782654, -0.4598652720451355, 0.8031917214393616, 0.4118557274341583, -0.2254725992679596, 0.274970680475235, -0.13490420579910278, -0.33674904704093933, 0.8473563194274902, 0.39155688881874084, 1.0562827587127686, -0.4436805248260498, 0.2942611575126648, 0.3645663261413574, 0.1076807901263237, 0.25048011541366577, 0.2891019880771637, -0.09506712853908539, -0.9017057418823242, -0.5148496627807617, -0.699450671672821, -0.663756251335144, 0.18434685468673706, -0.8143832683563232, 0.42205438017845154, -0.3531883656978607, -0.18013408780097961, 0.4054170846939087, 0.4402965009212494, -0.141547292470932, -0.31859180331230164, 0.41258540749549866, 0.7669215798377991, -0.5567160248756409, 0.9301557540893555, 1.0888010263442993, -0.010592831298708916, -0.5035693049430847, 0.08168933540582657, 0.13003501296043396, -0.4229264557361603, 0.4275539815425873, -0.1724175065755844, -0.17573769390583038, -0.22279484570026398, -0.486288458108902, -0.9032140970230103, 0.7948788404464722, 0.7247430682182312, -0.4744624197483063, 0.1144372746348381, -0.25960779190063477, 0.3793920874595642, -0.4275822937488556, 0.26884955167770386, 0.3252328038215637, 0.46126076579093933, 0.7205777764320374, -1.0728567838668823, -0.032364621758461, -0.19882433116436005, -0.24009649455547333, 0.13648739457130432, -0.8794724941253662, 0.869132936000824, -0.1349707543849945, -0.4934113025665283, 0.07673430442810059, 0.8051185607910156, 0.2364535927772522, 0.4445917010307312, 0.45455440878868103, 0.2793443202972412, 0.8525288701057434, 0.061256684362888336, 0.774316132068634, 0.11217724531888962, 0.3877299726009369, 0.9932605028152466, -0.3639110028743744, 0.7951490879058838, 0.4534308612346649, -0.18349450826644897, 0.5723886489868164, 0.5134941935539246, 0.4552801251411438, 0.43013232946395874, 0.07598868012428284, -0.302311509847641, -0.5677735805511475, 0.3322288393974304, -0.09267015755176544, 0.6216365098953247, 0.4296049475669861, 0.322502464056015, -0.3262602984905243, -0.28261876106262207, 0.0037021683529019356, 0.20389461517333984, -0.2211686670780182, 1.2825417518615723, 0.12141004949808121, -0.8113915324211121, 0.5826208591461182, 0.1024019792675972, 0.3703630566596985, -0.5826940536499023, -0.09406405687332153, -0.19042004644870758, 0.17121802270412445, 0.1341882348060608, -0.45166054368019104, 0.4724804759025574, -0.28690633177757263, -0.07321254163980484, 0.20725750923156738, 0.7821020483970642, -0.4779621660709381, -0.34854739904403687, 0.274178683757782, 0.5664362907409668, 0.16182926297187805, 0.03539601340889931, -0.9386866092681885, 0.20928141474723816, -0.005263034719973803, -0.7056331634521484, 0.2519529163837433, 0.8486850261688232, -0.030354877933859825, 0.7600598931312561, 0.39458030462265015, 0.30747005343437195, 0.04259422793984413, -0.09748281538486481, 1.3197766542434692, -0.5543023347854614, -0.5819318294525146, -1.0240005254745483, 0.3205673098564148, -0.26654696464538574, -0.16914577782154083, 0.270455002784729, 0.4374019503593445, 0.36417660117149353, 0.13495376706123352, 0.5937014818191528, 0.19030030071735382, 0.4802093207836151, -0.3385464549064636, 0.45750680565834045, -0.7962312698364258, 0.1772688329219818, -0.4555988311767578, -0.5625729560852051, -0.0369299054145813, 0.46612003445625305, -0.029278850182890892, -0.177617609500885, 0.6665727496147156, 0.5863981246948242, -0.02498413249850273, 0.36760765314102173, 0.19023236632347107, 0.11693169176578522, 0.5956882238388062, 0.5561935305595398, 0.9790157675743103, -0.16954724490642548, 0.8250313401222229, 0.2535247206687927, -0.3378169536590576, -0.1771111935377121, -0.826888382434845, -0.8315803408622742, -0.7263870239257812, -0.5995309352874756, -0.009673058986663818, 0.12893126904964447, 0.7416172623634338, 0.6109301447868347, -1.1088173389434814, -0.5525988936424255, 0.1954076588153839, 0.5671547651290894, -0.25167304277420044, -0.2486547827720642, 0.26926785707473755, -0.8251248002052307, -1.1292405128479004, 0.4121074378490448, 0.36980485916137695, -0.31045448780059814, 0.20466724038124084, -0.0439806766808033, -0.4634788930416107, 0.2866230309009552, 0.38142552971839905, 0.41471654176712036, -0.7074938416481018, -0.48440852761268616, -0.24138283729553223, 0.0928877592086792, 0.3675936460494995, 0.7807243466377258, -0.5909296274185181, 0.6037253737449646, 0.4651142656803131, 0.8593176007270813, 0.7481051683425903, 0.08736066520214081, 0.8414417505264282, -0.6624907851219177, 0.28848159313201904, 0.30687493085861206, 0.20981094241142273, -0.1441294103860855, -0.36697882413864136, 0.37881600856781006, 0.5070517659187317, -0.6645314693450928, -0.8940985798835754, 0.3719214200973511, -1.1756426095962524, -0.33844152092933655, 1.3071675300598145, -0.26726654171943665, -0.0921550840139389, -0.40321481227874756, -0.3330566883087158, 0.23912368714809418, -0.6849090456962585, 0.9571192264556885, 0.7429460287094116, -0.26788586378097534, -0.2504139840602875, -0.3535900413990021, 0.7882569432258606, 0.30676111578941345, -0.7920089960098267, 0.18859417736530304, 0.5505911707878113, 0.2293601930141449, 0.19801174104213715, 0.7679001092910767, -0.16718293726444244, 0.3096414804458618, -0.14075393974781036, 0.014010712504386902, 0.10476621985435486, -0.3997873067855835, -0.3681061565876007, 0.3970722556114197, -0.03714362159371376, -0.19501768052577972 ]
http://arxiv.org/abs/2406.12182v1
http://arxiv.org/pdf/2406.12182v1
Aqulia-Med LLM: Pioneering Full-Process Open-Source Medical Language Models
2024-06-18T01:30:07
2024-06-18T01:30:07
Lulu Zhao, Weihao Zeng, Xiaofeng Shi, Hua Zhou, Donglin Hao, Yonghua Lin
cs.CL
cs.CL, cs.AI
Recently, both closed-source LLMs and open-source communities have made significant strides, outperforming humans in various general domains. However, their performance in specific professional fields such as medicine, especially within the open-source community, remains suboptimal due to the complexity of medical knowledge. We propose Aquila-Med, a bilingual medical LLM based on Aquila, addressing these challenges through continue pre-training, supervised fine-tuning (SFT), and reinforcement learning from human feedback (RLHF). We construct a large-scale Chinese and English medical dataset for continue pre-training and a high-quality SFT dataset, covering extensive medical specialties. Additionally, we develop a high-quality Direct Preference Optimization (DPO) dataset for further alignment. Aquila-Med achieves notable results across single-turn, multi-turn dialogues, and medical multiple-choice questions, demonstrating the effectiveness of our approach. We open-source the datasets and the entire training process, contributing valuable resources to the research community. Our models and datasets will released at https://huggingface.co/BAAI/AquilaMed-RL.
[ 0.037067312747240067, -0.5929197072982788, 0.649697482585907, 0.41053852438926697, -0.33950626850128174, 0.0681944489479065, -0.5329296588897705, -0.37886670231819153, 0.385118305683136, 0.557287335395813, -0.72626131772995, -0.5203322172164917, -0.44655361771583557, 0.07875745743513107, 0.06491474062204361, 0.8372360467910767, -0.36702898144721985, 0.8665834069252014, 0.011294220574200153, -0.43885743618011475, -0.10736358165740967, -0.5687309503555298, -1.0271189212799072, -0.40416547656059265, 0.8553887009620667, 0.40788471698760986, 0.8524274230003357, 1.0226906538009644, 0.2088422030210495, 0.1481163054704666, 0.16067029535770416, 0.23260779678821564, -0.4768935739994049, 0.09155461192131042, -0.3219195306301117, -0.46467286348342896, -0.3573075830936432, 0.015832118690013885, 0.45853713154792786, 0.44801485538482666, -0.5388219356536865, 0.07323776930570602, -0.3184778392314911, 0.7048226594924927, -0.229389026761055, 0.08613529801368713, -0.42222079634666443, 0.22332823276519775, -0.114268958568573, -0.21733012795448303, -0.10733678936958313, -0.6633694171905518, 0.19475892186164856, -0.7352941036224365, -0.21896953880786896, 0.06647057831287384, 0.8532206416130066, 0.39875149726867676, -0.30447492003440857, -0.41709771752357483, -0.6653614044189453, 0.7842514514923096, -0.7441943287849426, 0.40312060713768005, 0.19380418956279755, 0.25509870052337646, -0.23688705265522003, -0.46749383211135864, -0.2949162423610687, -0.3230799734592438, 0.1757829189300537, 0.1814667135477066, -0.09703115373849869, 0.09259337931871414, -0.15897463262081146, 0.39781269431114197, -0.3988499641418457, 0.4853411614894867, -0.45839807391166687, -0.029982665553689003, 0.4053238034248352, 0.23847469687461853, 0.534295916557312, 0.5690014362335205, -0.4349074065685272, 0.21836329996585846, -0.8465477228164673, 0.1184297427535057, -0.06608384102582932, 0.05771839618682861, -0.23604029417037964, 0.5925024151802063, -0.1403801590204239, 0.3710021376609802, -0.253368616104126, -0.152654230594635, 0.3199748694896698, -0.18424639105796814, -0.24291548132896423, -0.06464731693267822, 1.2059599161148071, -0.012839091010391712, 0.29144757986068726, -0.3035925030708313, -0.057308707386255264, -0.10432726889848709, 0.23030759394168854, -0.8231390714645386, -0.30239251255989075, 0.5613401532173157, -0.4651925563812256, -0.35154852271080017, -0.37325695157051086, -0.3529326617717743, -0.3986847698688507, -0.5284619331359863, 0.4084502160549164, -0.3588927984237671, -0.22502738237380981, 0.366248220205307, 0.4726451635360718, -0.02923119068145752, 0.49896037578582764, -0.6925908327102661, 0.30654338002204895, 0.38465461134910583, 0.7918755412101746, -0.4912637174129486, -0.4252600371837616, -0.3683716356754303, -0.04321308806538582, -0.3140043616294861, 0.6336386203765869, -0.11786434799432755, -0.3573276102542877, -0.06913493573665619, 0.17780126631259918, -0.06979403644800186, -0.6636708378791809, 0.4628554880619049, -0.30600786209106445, 0.39455801248550415, -0.20986923575401306, -0.22077222168445587, -0.08639119565486908, 0.3040032386779785, -0.6008977293968201, 0.43806347250938416, 0.15780311822891235, -0.721484899520874, 0.07355290651321411, -0.5982677340507507, -0.3313882052898407, -0.05908309295773506, -0.35832881927490234, -0.44381627440452576, -0.12563160061836243, 0.33738332986831665, -0.013652639463543892, -0.7342398166656494, 0.506127119064331, -0.2543010711669922, -0.20755580067634583, 0.36958369612693787, -0.2965090572834015, 1.1130337715148926, 0.1467483639717102, 0.0821247547864914, 0.597505509853363, -0.6028236150741577, -0.1224040687084198, 0.1306726187467575, -0.5915311574935913, -0.0652916356921196, 0.17014625668525696, -0.10131536424160004, 0.5764973759651184, 0.3766069710254669, -0.8306117057800293, 0.20624735951423645, -0.5743751525878906, 0.4861049950122833, 0.557197093963623, 0.017315221950411797, 0.2306559979915619, -0.5201712250709534, 0.7266294956207275, 0.09570541232824326, 0.6594308018684387, 0.11596155166625977, -0.5529542565345764, -0.5959753394126892, -0.741491973400116, 0.3695226013660431, 1.0016605854034424, -0.7705180048942566, 0.09550949931144714, 0.03238428011536598, -0.3049777150154114, -1.1993426084518433, 0.2745888829231262, 0.39882102608680725, 0.7806394696235657, 0.5119873881340027, -0.4369606077671051, -0.38093477487564087, -0.9489859342575073, 0.072654128074646, -0.2392226904630661, -0.1483561098575592, 0.41287049651145935, 0.09403309226036072, -0.5839154124259949, 0.7679203748703003, -0.4775694012641907, -0.5306985974311829, 0.016374602913856506, -0.12495113164186478, 0.31879499554634094, 0.3507748544216156, 0.42503294348716736, -0.43723011016845703, -0.33851855993270874, 0.19401009380817413, -0.7570012211799622, -0.23867538571357727, 0.30104145407676697, -0.47445130348205566, 0.11966522783041, 0.09475664049386978, -0.46738380193710327, -0.045113302767276764, 0.6407763957977295, -0.196980819106102, 0.4858952760696411, -0.5278932452201843, 0.25916457176208496, -1.2268786430358887, 0.11928664147853851, -0.18247362971305847, 0.02315429039299488, -0.6298270225524902, 0.012684520334005356, 0.11227104812860489, -0.04310430958867073, -0.7760894298553467, 0.7254078388214111, -0.016150102019309998, 0.32075992226600647, -0.1952558159828186, -0.28176435828208923, -0.27812138199806213, 0.49838992953300476, 0.21447795629501343, 0.6211617588996887, 0.6534070372581482, -0.4172826409339905, 0.6118299961090088, 0.3095439076423645, -0.045692652463912964, 0.27696284651756287, -0.6137065291404724, -0.12089192122220993, -0.049082137644290924, 0.11301026493310928, -0.508984386920929, -0.261883020401001, 0.34841689467430115, -0.3596170246601105, 0.00686230231076479, 0.007356226909905672, -0.5345811247825623, -0.29608553647994995, -0.3425580561161041, 0.4551752209663391, 0.3691105842590332, -0.575968325138092, 0.24564188718795776, 0.4716208875179291, -0.3072420358657837, -0.470308780670166, -0.4869186282157898, -0.13819821178913116, 0.16461029648780823, -0.4932171404361725, 0.0838281586766243, -0.18679223954677582, -0.1288992017507553, 0.15105801820755005, 0.22154608368873596, -0.4477962553501129, -0.05881596729159355, 0.09133393317461014, 0.48582378029823303, -0.34115031361579895, 0.3101683259010315, 0.27048468589782715, 0.044955991208553314, 0.060374125838279724, -0.3661878705024719, 0.3050559461116791, 0.11502005904912949, -0.21500812470912933, -0.39697539806365967, 0.2608882486820221, 0.6113978624343872, -0.5066148638725281, 0.6744239330291748, 0.35756751894950867, -0.4052220582962036, -0.0840645506978035, -0.4268818497657776, 0.09270008653402328, -0.3575974404811859, 0.21403484046459198, 0.14496439695358276, -1.0310852527618408, 0.5389759540557861, -0.05382080376148224, 0.28851619362831116, 0.2737293541431427, 0.9665258526802063, -0.17298148572444916, 0.9943543672561646, 0.37805378437042236, -0.1414399892091751, 0.33686205744743347, 0.10980667173862457, -0.13579368591308594, -0.3777720034122467, -0.4275530278682709, -0.27608343958854675, -0.06015312671661377, -0.4480981230735779, -0.6040858030319214, 0.6640238165855408, -0.08836427330970764, -0.22099286317825317, -0.18749120831489563, -0.2890513837337494, 0.26721057295799255, 0.5711085796356201, 0.487339049577713, 0.4999764859676361, -0.24613851308822632, -0.32164445519447327, 0.049294326454401016, -0.5890277624130249, -0.1062474176287651, 1.156150460243225, 0.5348437428474426, 0.8295574188232422, -0.03959030285477638, 0.7235461473464966, -0.05692341923713684, 0.5521404147148132, -1.0019031763076782, 0.211073100566864, -0.40914660692214966, -0.4397338926792145, -0.39288097620010376, -0.632062554359436, -1.075455665588379, 0.2586642801761627, -0.416251003742218, -0.21529275178909302, -0.14947600662708282, 0.21839506924152374, -0.3982292115688324, 0.3185325264930725, -0.41726452112197876, 0.8044331669807434, -0.5087950229644775, -0.3733903467655182, -0.19570983946323395, -0.5623728036880493, 0.6461963057518005, -0.34429168701171875, 0.4116162657737732, -0.30972301959991455, -0.2981013059616089, 0.34421631693840027, -0.41749152541160583, 0.6004956364631653, -0.10513265430927277, -0.2757425308227539, 0.08278084546327591, -0.027260301634669304, 0.02666991949081421, 0.27783650159835815, 0.057843614369630814, 0.2678372859954834, 0.06985365599393845, -0.4891091287136078, -0.35097476840019226, 0.7633731961250305, -0.9655454158782959, -0.4149605631828308, -0.28803008794784546, -0.48353153467178345, -0.5248180627822876, 0.23779955506324768, 0.21154434978961945, 0.27236130833625793, -0.3637300133705139, -0.09852741658687592, 0.8577969670295715, -0.6519883871078491, -0.13189375400543213, 1.0370360612869263, -0.3597799241542816, -0.7157060503959656, 0.8224382996559143, -0.03451704606413841, -0.11260056495666504, 0.3207451403141022, 0.3971424996852875, -0.22509640455245972, -0.5411192178726196, -0.8698383569717407, 0.49455785751342773, -0.19302970170974731, -0.10504566133022308, -0.6033620238304138, -0.4077455699443817, -0.260678231716156, -0.012622245587408543, -0.3957170248031616, -0.30873581767082214, -0.3677491247653961, 0.17226403951644897, 0.22368139028549194, 0.7872951626777649, 0.13921020925045013, -0.025490833446383476, -0.9666968584060669, 0.5429038405418396, 0.2864953577518463, 0.6573218703269958, -0.1035602018237114, -0.2064390331506729, -0.46968868374824524, 0.06444846093654633, -0.19764654338359833, -0.9189370274543762, 0.5522924661636353, -0.04340735450387001, 0.6892825961112976, 0.2775755226612091, -0.19325216114521027, 0.1916527897119522, -0.6903892159461975, 0.5653218626976013, 0.3075326085090637, -0.42624592781066895, 0.7556354999542236, -0.46813201904296875, 0.4634292423725128, 0.6594706773757935, 0.6280530095100403, -0.39567485451698303, -0.5920757055282593, -0.07052796334028244, -0.6191967129707336, 0.7898532152175903, -0.0315776988863945, -0.17834292352199554, -0.01651427149772644, 0.2360682189464569, 0.16143669188022614, 0.2788378596305847, -0.5343669056892395, -0.11989100277423859, -0.0037798606790602207, -0.42569151520729065, -0.04045364633202553, 0.01941768079996109, -0.444778174161911, -0.4887155592441559, 0.8303006887435913, -0.02637452818453312, -0.04618057236075401, 0.20917537808418274, 0.06241597607731819, -0.25882312655448914, 0.34808677434921265, 0.608009397983551, 0.5289592146873474, -0.06176292896270752, -0.32034027576446533, 0.060366496443748474, -0.5623401403427124, 0.29008519649505615, 0.16299152374267578, -0.15553142130374908, -0.0935322716832161, 0.08137920498847961, 0.6238999962806702, 0.2343798577785492, -1.0887947082519531, 0.5198040008544922, -0.19253937900066376, -0.34095999598503113, -0.13796918094158173, -0.09886465221643448, 0.008373643271625042, 0.28060445189476013, 0.07821683585643768, -0.1764068305492401, 0.16084039211273193, -0.48112961649894714, 0.15624898672103882, 0.1749822050333023, -0.5248559713363647, -0.34247463941574097, 0.7576905488967896, 0.22730009257793427, -0.0614967904984951, 0.42200109362602234, 0.10293067991733551, -0.2893301248550415, 0.4388633370399475, 0.406686007976532, 0.7905511856079102, -0.47192540764808655, 0.20628312230110168, 0.42515361309051514, 0.13818567991256714, -0.5123232007026672, 0.5393592119216919, 0.10153917968273163, -0.6100119352340698, -0.3997468948364258, -0.6612698435783386, -0.8383780121803284, 0.09284636378288269, -0.6398565769195557, 0.3724733293056488, -0.5685270428657532, -0.1101297065615654, -0.3808170258998871, -0.03543027117848396, -0.39252278208732605, 0.2975064516067505, -0.0936070904135704, 0.8210418820381165, -0.6317700147628784, 1.2569420337677002, 0.878178060054779, -0.45362555980682373, -0.6502546668052673, -0.16344329714775085, 0.029279349371790886, -0.9260901212692261, 0.17248299717903137, -0.2784595489501953, -0.06202644854784012, -0.2063845545053482, -0.41231560707092285, -0.6942612528800964, 1.117501974105835, 0.7295303344726562, -0.40349704027175903, -0.3949388265609741, -0.09154629707336426, 0.8443856835365295, -0.4191007912158966, -0.06284233927726746, 0.4838699400424957, 0.0009604471852071583, 0.14460855722427368, -1.3135870695114136, -0.05162598192691803, -0.16805307567119598, -0.2536798417568207, 0.08869510143995285, -0.9146527647972107, 0.794110119342804, -0.3789691925048828, -0.0368661992251873, 0.11835234612226486, 0.2766256034374237, 0.4150615334510803, 0.17483079433441162, 0.23064422607421875, 0.5328012704849243, 0.6789836287498474, 0.03913935273885727, 0.7246862053871155, -0.5972872376441956, 0.04697132855653763, 1.016271948814392, -0.15967102348804474, 0.9976102709770203, 0.4112260639667511, -0.1274522840976715, 0.39370590448379517, 0.5421749353408813, 0.14810477197170258, 0.4314948618412018, 0.2609321177005768, -0.5068672895431519, -0.11544939875602722, -0.30764132738113403, -0.3967989385128021, 0.3228895664215088, 0.4465982913970947, -0.5449933409690857, -0.0030610202811658382, 0.07536113262176514, 0.06249068304896355, 0.1142311692237854, -0.3844490647315979, 0.8642058372497559, 0.17639043927192688, -0.756271481513977, 0.4793310761451721, 0.06887052953243256, 0.7161363959312439, -0.8283135294914246, 0.16866521537303925, -0.30464962124824524, -0.0797291100025177, -0.17415368556976318, -0.48841947317123413, 0.06810587644577026, -0.03703288361430168, -0.17441518604755402, -0.22591321170330048, 0.4452560544013977, -0.8692440390586853, -0.41413232684135437, 0.44432827830314636, 0.6152381896972656, -0.031378671526908875, 0.27467283606529236, -0.6054290533065796, -0.15198318660259247, -0.11628765612840652, -0.027062643319368362, 0.46269187331199646, 0.4125877320766449, -0.07491501420736313, 0.7215450406074524, 0.6532952189445496, 0.6396605968475342, 0.04159070551395416, 0.14070534706115723, 1.0333844423294067, -0.45671069622039795, -0.45488545298576355, -0.609573245048523, -0.040746722370386124, 0.3054805397987366, -0.34563136100769043, 0.28211134672164917, 0.7282822728157043, 0.636599600315094, -0.1511026918888092, 0.6538459062576294, 0.5545387268066406, 0.7767931222915649, -0.5636547803878784, 0.9601247310638428, -0.5622507333755493, 0.029735013842582703, 0.39892280101776123, -0.5228102803230286, -0.2911777198314667, 0.24420355260372162, 0.1352114975452423, -0.30929264426231384, 0.4486048221588135, 0.6648374199867249, 0.10836813598871231, -0.20003169775009155, 0.35719582438468933, 0.38983413577079773, 0.15218284726142883, 0.9695103168487549, 0.7001653909683228, 0.03402841091156006, 0.45841431617736816, -0.1068248450756073, -0.5034919381141663, 0.005881705787032843, -0.4759649634361267, -0.8204329609870911, -0.14721152186393738, -0.17765748500823975, -0.31665265560150146, 0.10528217256069183, 1.4196046590805054, 0.4811538755893707, -0.9141976833343506, -0.414623498916626, 0.2797563672065735, -0.07710223644971848, -0.027980580925941467, -0.09868985414505005, 0.18934090435504913, -0.4550330638885498, -0.5729390382766724, 0.6282450556755066, 0.4651128649711609, 0.06854251027107239, -0.5419185161590576, -0.2547853887081146, -0.11416533589363098, 0.26978516578674316, 0.4353695511817932, 0.7135668992996216, -0.7625491619110107, 0.2826318144798279, 0.11988330632448196, -0.4846898317337036, 0.12678679823875427, 0.8749133944511414, -0.6872863173484802, 0.6756189465522766, 0.28874343633651733, 0.634858250617981, 0.3153297007083893, -0.17420394718647003, 0.8896118998527527, -0.3088492453098297, 0.047249067574739456, 0.4281257092952728, 0.28767478466033936, -0.014198518358170986, -0.20113977789878845, 0.4732593297958374, 0.07099789381027222, -0.4217376708984375, -0.595787525177002, 0.09190891683101654, -0.8570573329925537, -0.26149722933769226, 1.1821115016937256, -0.31294798851013184, -0.11597096174955368, -0.20051434636116028, -0.601921796798706, 0.4812873601913452, -0.3949364125728607, 0.8562031984329224, 0.5803982019424438, -0.32946521043777466, -0.0005463644047267735, -0.6172803044319153, 0.6745529770851135, 0.3390873372554779, -0.9096633791923523, -0.27802157402038574, 0.4179762303829193, 0.4431481659412384, -0.31479641795158386, 1.3354177474975586, -0.44123274087905884, 0.42997288703918457, -0.610526978969574, 0.19332191348075867, -0.17430280148983002, -0.26914432644844055, -0.5298051238059998, 0.09268935769796371, 0.3424046039581299, -0.24548645317554474 ]
http://arxiv.org/abs/2406.12168v2
http://arxiv.org/pdf/2406.12168v2
BPO: Supercharging Online Preference Learning by Adhering to the Proximity of Behavior LLM
2024-06-18T00:41:40
2024-06-19T05:25:27
Wenda Xu, Jiachen Li, William Yang Wang, Lei Li
cs.LG
cs.LG, cs.AI, cs.CL
Direct alignment from preferences (DAP) has emerged as a promising paradigm for aligning large language models (LLMs) to human desiderata from pre-collected, offline preference datasets. While recent studies indicate that existing offline DAP methods can directly benefit from online training samples, we highlight the need to develop specific online DAP algorithms to fully harness the power of online training. Specifically, we identify that the learned LLM should adhere to the proximity of the behavior LLM, which collects the training samples. To this end, we propose online Preference Optimization in proximity to the Behavior LLM (BPO), emphasizing the importance of constructing a proper trust region for LLM alignment. We conduct extensive experiments to validate the effectiveness and applicability of our approach by integrating it with various DAP methods, resulting in significant performance improvements across a wide range of tasks when training with the same amount of preference data. Even when only introducing one additional data collection phase, our online BPO improves its offline DAP baseline from 72.0% to 80.2% on TL;DR and from 82.2% to 89.1% on Anthropic Helpfulness in terms of win rate against human reference text.
[ -0.5664545893669128, -0.43289923667907715, 0.6268060207366943, -0.09288231283426285, -0.08964847773313522, 0.033281028270721436, -0.214029923081398, -0.6143445372581482, 0.3798556923866272, 0.24575203657150269, -0.6717774868011475, -0.08714108169078827, -0.49604323506355286, -0.03884023427963257, 0.33335524797439575, 0.9559007883071899, 0.14423872530460358, 0.09134607017040253, -0.3825281262397766, 0.06922171264886856, -0.33782875537872314, -0.8538994193077087, -0.7356745004653931, -0.4074455499649048, 0.24804309010505676, 0.41329219937324524, 0.5072343945503235, 0.9178882241249084, 0.46280598640441895, 0.2949788272380829, -0.04163411259651184, 0.5085053443908691, -0.6579550504684448, 0.09194140881299973, -0.11381885409355164, -0.42943328619003296, -0.732258677482605, -0.004225917160511017, 0.3379141390323639, 0.48586592078208923, -0.3484637141227722, 0.05100124329328537, 0.07850618660449982, 1.0927472114562988, -0.598017692565918, 0.06913396716117859, -0.6878862380981445, 0.14584006369113922, 0.0960857942700386, -0.1942155808210373, -0.12043453007936478, -0.7400940656661987, 0.6296907067298889, -0.7342662215232849, 0.03112366981804371, 0.1387576311826706, 1.0653650760650635, 0.4107302129268646, -0.2816322147846222, -0.08069711178541183, -0.581377387046814, 0.8702571988105774, -0.4814486503601074, 0.418803334236145, 0.640069305896759, 0.06873506307601929, -0.24446064233779907, -0.17488640546798706, -0.6341518759727478, 0.02017306350171566, 0.29466474056243896, 0.013533439487218857, 0.08424315601587296, 0.21128830313682556, 0.0056577702052891254, 0.24972626566886902, -0.13821496069431305, 0.17843230068683624, 0.14927947521209717, 0.03257296606898308, 0.6263284683227539, -0.13368432223796844, -0.037707410752773285, 0.21353033185005188, -0.3814217448234558, -0.06443476676940918, -0.4637724459171295, 0.28540313243865967, 0.5406850576400757, 0.3286522626876831, -0.11595717817544937, 0.3088708221912384, -0.008826490491628647, 0.7473664879798889, 0.8339381814002991, -0.2927466332912445, 0.3027104437351227, -0.30823826789855957, 0.056103263050317764, 0.2146805077791214, 0.48327669501304626, 0.7419437170028687, 0.3052957057952881, -0.2648318111896515, 0.047558240592479706, -0.10706040263175964, 0.5368682146072388, -0.5570802092552185, 0.1472901552915573, 0.5128403902053833, -0.2832017242908478, -0.291426420211792, 0.06348195672035217, -0.7191129326820374, -0.4932880699634552, -0.7511771321296692, 0.1928885281085968, -0.17068873345851898, -0.2271183282136917, 0.046512801200151443, -0.04795755073428154, 0.31043741106987, 0.16115188598632812, -1.4542572498321533, 0.3055347800254822, 0.8598601222038269, 0.9758130311965942, -0.4467134177684784, -0.09369061887264252, -0.6701693534851074, 0.39437350630760193, -0.2816063463687897, 0.7707889080047607, -0.6380751132965088, -0.2620435953140259, 0.21555431187152863, -0.35575544834136963, 0.09330666810274124, -0.6497927904129028, 0.603796660900116, -0.6409469246864319, 0.12239712476730347, -0.4141540825366974, -0.8641007542610168, 0.0033370228484272957, 0.2897387146949768, -0.44609710574150085, 1.0588369369506836, -0.0897357240319252, -0.6403842568397522, 0.5596944689750671, -0.7439523935317993, -0.13152524828910828, -0.4942672550678253, -0.1270432323217392, -0.5256040096282959, 0.13420738279819489, 0.24300692975521088, 0.5239990949630737, 0.1757844239473343, 0.09951695054769516, -0.6508602499961853, -0.2361825555562973, 0.19352403283119202, 0.34824466705322266, 0.6039324402809143, 0.007267779670655727, -0.5939629077911377, 0.25003668665885925, -0.6037968993186951, -0.01759876124560833, 0.05299102142453194, -0.21921740472316742, -0.5645157098770142, 0.09591653943061829, -0.34308600425720215, 0.356193482875824, 0.4810181260108948, -0.6845731139183044, 0.5060939192771912, -0.7254668474197388, 0.24014532566070557, 1.3570435047149658, -0.27218306064605713, 0.6869640350341797, -0.4880596101284027, 0.386936753988266, -0.33711349964141846, 0.30066657066345215, 0.5279932618141174, -0.36933544278144836, -0.532224178314209, -0.3964150846004486, 0.02467561699450016, 0.3253239095211029, -0.29022300243377686, 1.0113906860351562, -0.45412155985832214, -0.28728097677230835, -0.5471845865249634, 0.12306590378284454, 0.42011964321136475, 0.6926949620246887, 0.33368486166000366, -0.43954741954803467, -0.4712698757648468, -0.8190094232559204, -0.02850300818681717, -0.016831498593091965, -0.02514888532459736, 0.5424657464027405, -0.14360490441322327, -0.23344168066978455, 1.3458565473556519, -0.6762428879737854, -0.6094846129417419, -0.181043341755867, -0.24120475351810455, 0.08278880268335342, 0.12094021588563919, 0.5793522000312805, -0.8073708415031433, -0.7271600365638733, -0.11186166852712631, -0.36568179726600647, -0.2090226262807846, 0.25885096192359924, -0.3028688132762909, 0.6188769340515137, 0.04462695121765137, -0.26750287413597107, -0.11628242582082748, 0.7875152230262756, -0.058340661227703094, 0.13515707850456238, -0.4196239113807678, 0.20398101210594177, -1.144976019859314, -0.031048903241753578, 0.018176550045609474, -0.22600217163562775, -0.7097837924957275, 0.0041889892891049385, -0.19495698809623718, 0.0949966311454773, -0.38969653844833374, 0.5185584425926208, -0.4096289575099945, -0.24590398371219635, -0.4300081431865692, 0.3459627628326416, -0.1284731924533844, 0.5599187016487122, 0.5992010831832886, 0.5925747156143188, 0.4425290524959564, -0.8726826310157776, 0.31267011165618896, 0.47816145420074463, 0.030206507071852684, 0.5875343680381775, -0.2946518361568451, 0.6576940417289734, -0.06692031770944595, 0.2615002393722534, -0.8641623854637146, -0.12180516123771667, 0.11558354645967484, -0.2826772630214691, 0.4052709937095642, -0.20227022469043732, -0.15214070677757263, 0.14231708645820618, -0.6436612606048584, 0.2511001229286194, 0.4412761926651001, -0.8082178831100464, 0.4790571928024292, 0.8870473504066467, -0.06668902933597565, -0.7031242251396179, -0.2878109812736511, -0.3979015648365021, -0.3927466571331024, -0.44855543971061707, 0.41894596815109253, -0.09819740802049637, -0.2302698791027069, -0.5690489411354065, -0.2364283949136734, -0.08047910034656525, 0.05981773883104324, 0.35745182633399963, 0.42220500111579895, 0.35188737511634827, 0.02710201032459736, -0.24509721994400024, -0.28211989998817444, -0.057179372757673264, -0.4063659906387329, 0.7334288954734802, -0.03385310620069504, -0.11217916756868362, -0.517416775226593, 0.2524705231189728, 0.1271577924489975, 0.03508845344185829, 0.7557210326194763, 0.23687401413917542, -0.1580270677804947, -0.10697266459465027, -0.5975245833396912, -0.32726290822029114, -0.5483715534210205, 0.15578904747962952, -0.3218362033367157, -0.6379864811897278, 0.10228602588176727, 0.04207310080528259, 0.14652682840824127, -0.16669251024723053, 0.4193154573440552, -0.2756040394306183, 0.9312303066253662, 0.893911600112915, -0.3855750560760498, 0.8459959030151367, -0.03940075635910034, 0.13934290409088135, -0.685421347618103, -0.20656462013721466, -0.4377436339855194, -0.32696449756622314, -0.6207460761070251, -0.31747353076934814, 0.36524707078933716, -0.11300826817750931, -0.1841658055782318, 0.2966698706150055, -0.47460559010505676, 0.4046293795108795, 0.7030997276306152, 0.4242398738861084, 0.27430999279022217, 0.3637683093547821, -0.04693938046693802, -0.4527110755443573, -0.4805290102958679, -0.4642711877822876, 1.3848929405212402, 0.3129562735557556, 0.3070111572742462, 0.21348333358764648, 0.8575180768966675, 0.24835093319416046, 0.04285566136240959, -0.9883547425270081, 0.4458920657634735, 0.005303983110934496, -0.5115534067153931, -0.2705093324184418, -0.2849024534225464, -0.9688636064529419, -0.07648584246635437, -0.21087293326854706, -0.7414093017578125, 0.07716894894838333, 0.6694678068161011, -0.4843176305294037, 0.24309350550174713, -0.6960887908935547, 0.6943439841270447, -0.3854384422302246, -0.5762197375297546, -0.4457318186759949, -0.7793745398521423, -0.015161185525357723, -0.15493300557136536, 0.23960715532302856, -0.07092880457639694, -0.2990659177303314, 0.5358113646507263, -0.27638891339302063, 0.625720739364624, -0.18042729794979095, -0.29501524567604065, -0.10703501105308533, -0.07098473608493805, 0.6874721050262451, -0.3982878029346466, -0.19080469012260437, 0.44300565123558044, -0.09090766310691833, -0.43537479639053345, -0.5237881541252136, 0.7093031406402588, -1.0014599561691284, -0.5546371936798096, -0.675510823726654, -0.378661185503006, -0.6998974084854126, -0.14380796253681183, -0.017169812694191933, 0.18337184190750122, 0.07721630483865738, -0.04949917644262314, 0.7967869639396667, -0.015863962471485138, 0.3551715016365051, 0.54893958568573, -0.13916881382465363, -0.4262508153915405, 1.0586360692977905, -0.06248578429222107, 0.5274620056152344, 0.7198834419250488, 0.4942849278450012, -0.8053314089775085, -0.5102736949920654, -0.2370193600654602, 0.2288724035024643, -0.4015856683254242, 0.21213917434215546, -0.47791731357574463, 0.3951660096645355, -0.5188208818435669, -0.4537949562072754, -0.45156797766685486, -0.21625345945358276, -0.235987588763237, -0.06075974553823471, 0.2619994580745697, 0.459681898355484, -0.22700119018554688, 0.18356958031654358, -0.8212605714797974, 0.46091240644454956, 0.37348875403404236, 0.4414712190628052, -0.1806853711605072, -0.7730410099029541, -0.20316727459430695, 0.08406691253185272, -0.4366275668144226, -0.663497805595398, 0.30743101239204407, 0.26615530252456665, 0.6026630401611328, 0.8708437085151672, 0.23559454083442688, 0.9318040013313293, -0.46721509099006653, 0.5003395676612854, 0.12062832713127136, -0.8851122260093689, 0.6011268496513367, -0.3932054042816162, -0.1723284274339676, 0.7428057789802551, 1.0752817392349243, -0.36449143290519714, -0.031827911734580994, -0.5766158699989319, -0.7675793766975403, 0.835888147354126, -0.005663630086928606, 0.05540333688259125, 0.15348127484321594, 0.5141465663909912, 0.2005062848329544, 0.4359876811504364, -0.6394276022911072, -0.541484534740448, -0.11302721500396729, -0.15312835574150085, -0.02993399277329445, -0.10609102994203568, -0.22888895869255066, -0.06638092547655106, 0.8675675392150879, -0.3159000277519226, 0.1916213184595108, 0.0914592295885086, 0.26827871799468994, -0.14593346416950226, 0.07502910494804382, 0.37142273783683777, 0.7862336039543152, -0.5831841230392456, -0.1378430873155594, -0.025741837918758392, -0.4222778081893921, 0.2923597991466522, -0.044491395354270935, -0.24364766478538513, -0.48206982016563416, -0.07671350240707397, 0.430144339799881, -0.1280110627412796, -0.6676675081253052, 0.4761385917663574, -0.009636041708290577, 0.12114670872688293, -0.2566477358341217, 0.11794854700565338, -0.07383236289024353, 0.0743633359670639, 0.2111702561378479, -0.10229401290416718, 0.1629582941532135, -0.636983335018158, 0.15897856652736664, 0.7398286461830139, -0.4987412691116333, -0.17277833819389343, 0.4517078399658203, 0.5758224725723267, -0.24378842115402222, 0.2735242247581482, -0.16019810736179352, -0.47346970438957214, 0.4065282940864563, 0.44080138206481934, 0.8280549645423889, -0.19118492305278778, 0.07968098670244217, 0.4031048119068146, -0.14582368731498718, -0.1172814592719078, 0.0499982088804245, -0.24357596039772034, -1.0036214590072632, -0.2450087070465088, -0.6807647347450256, -0.7357816100120544, 0.0683784931898117, -0.7369404435157776, 0.41129621863365173, -0.6124600172042847, -0.2683699131011963, -0.2992638647556305, 0.16332513093948364, -0.18866972625255585, 0.10372116416692734, 0.2693018615245819, 0.34101685881614685, -0.6234434247016907, 0.8481839299201965, 0.7648143172264099, -0.2163230925798416, -0.6087723970413208, 0.3353727161884308, 0.20234841108322144, -0.9892465472221375, 0.5892348885536194, 0.21200349926948547, -0.3771129250526428, 0.2267162799835205, -0.2852417230606079, -0.8887606859207153, 0.7979562282562256, 0.532878577709198, -0.8206915855407715, -0.09434088319540024, -0.01017652079463005, 0.4502387046813965, -0.3524457812309265, 0.34252145886421204, 0.554319441318512, 0.3000757396221161, -0.05968921631574631, -1.1389210224151611, -0.014550946652889252, 0.27136725187301636, -0.12729117274284363, 0.29795780777931213, -0.9446690678596497, 0.07889657467603683, -0.3003518879413605, -0.009346498176455498, -0.28601810336112976, 0.534916877746582, 0.42068544030189514, 0.04082052409648895, 0.632229745388031, 0.5695681571960449, 0.6585444211959839, -0.011071881279349327, 0.9565001130104065, -0.30104827880859375, 0.19697967171669006, 1.2118146419525146, -0.500385582447052, 0.9442043900489807, 0.7988630533218384, -0.3928106725215912, 0.28771141171455383, 0.9635196924209595, 0.19615140557289124, 0.6723939180374146, 0.10355696082115173, -0.2388738989830017, -0.28819361329078674, -0.5334697365760803, -0.46807125210762024, 0.3242008090019226, -0.12127586454153061, -0.020567232742905617, 0.23037366569042206, -0.32424965500831604, -0.03312217444181442, 0.35576918721199036, -0.36851269006729126, 1.046350359916687, -0.14546678960323334, -0.7984916567802429, 0.4866315722465515, -0.18224869668483734, 0.823411226272583, -0.9046491384506226, 0.09525416046380997, -0.2706156373023987, 0.4390621483325958, -0.27275601029396057, -0.42882925271987915, 0.2684688866138458, -0.22163839638233185, -0.19724132120609283, -0.494415283203125, 0.2778688967227936, -0.30858591198921204, 0.00017898535588756204, 0.5871242880821228, 0.20836596190929413, 0.12711644172668457, -0.2047063410282135, -0.5712746381759644, -0.14828994870185852, 0.009665600955486298, -0.11194945126771927, 0.8154252767562866, 0.10711198300123215, 0.2774803936481476, 0.7670064568519592, 0.751406729221344, 0.30222082138061523, -0.04437287896871567, -0.058433763682842255, 0.7184605598449707, -0.36288124322891235, -0.7886735796928406, -0.8739916682243347, 0.09731531143188477, -0.18180939555168152, -0.27252548933029175, 0.8330860137939453, 0.6959073543548584, 1.1491212844848633, -0.09163522720336914, 0.6750681400299072, -0.0042138900607824326, 0.6035618782043457, -0.5060543417930603, 0.3670506179332733, -0.5634565353393555, -0.004097164608538151, -0.34360355138778687, -1.0676647424697876, 0.11814931780099869, 0.6654612421989441, -0.4241308271884918, -0.06578712910413742, 0.6026768684387207, 0.6989977359771729, 0.018528858199715614, -0.19983214139938354, 0.24134884774684906, -0.19946818053722382, 0.11188548058271408, 0.5402191877365112, 0.45346754789352417, -0.04411807656288147, 0.5611364841461182, -0.4815475642681122, -0.47731107473373413, -0.23079046607017517, -1.2091768980026245, -0.9189037680625916, -0.5118159651756287, -0.31060218811035156, -0.40204766392707825, 0.010356208309531212, 1.6931854486465454, 0.9012726545333862, -0.8626498579978943, -0.38459640741348267, -0.12813536822795868, -0.022681863978505135, -0.4178580939769745, -0.1971708983182907, 0.34639066457748413, -0.3933955430984497, -1.125443935394287, 0.27918541431427, 0.19001121819019318, 0.1606397181749344, -0.1425032615661621, -0.36732521653175354, -0.3559315800666809, 0.009335340932011604, 0.4740464687347412, 0.2739165425300598, -0.6696497201919556, -0.33110472559928894, 0.07970936596393585, -0.06260297447443008, 0.39246422052383423, 0.8171660900115967, -0.4427734911441803, 0.6907220482826233, 0.4924403429031372, 0.9827049970626831, 0.40604671835899353, 0.49935317039489746, 0.8730853199958801, -0.709842324256897, 0.04508565738797188, 0.11135450750589371, 0.15527944266796112, 0.25825947523117065, -0.48900097608566284, 0.3483346402645111, 0.3274754285812378, -0.7028481364250183, -0.5150363445281982, 0.32472917437553406, -1.1131559610366821, -0.06894825398921967, 1.2980377674102783, -0.2592932879924774, -0.049856510013341904, -0.4394795894622803, -0.39818817377090454, 0.28432151675224304, -0.8595468997955322, 1.4710768461227417, 0.7277027368545532, -0.6434758901596069, 0.19385819137096405, -0.23475278913974762, 0.9196716547012329, 0.5239372849464417, -0.986412525177002, 0.05689093470573425, 0.544008195400238, 0.14370618760585785, 0.19165687263011932, 0.7284966707229614, 0.28808656334877014, -0.009610658511519432, -0.4130714237689972, 0.20602422952651978, -0.12917962670326233, -0.18258190155029297, -0.5654768943786621, 0.18420515954494476, 0.11646844446659088, -0.44808539748191833 ]
http://arxiv.org/abs/2406.12165v1
http://arxiv.org/pdf/2406.12165v1
Statistical Uncertainty in Word Embeddings: GloVe-V
2024-06-18T00:35:02
2024-06-18T00:35:02
Andrea Vallebueno, Cassandra Handan-Nader, Christopher D. Manning, Daniel E. Ho
cs.CL
cs.CL
Static word embeddings are ubiquitous in computational social science applications and contribute to practical decision-making in a variety of fields including law and healthcare. However, assessing the statistical uncertainty in downstream conclusions drawn from word embedding statistics has remained challenging. When using only point estimates for embeddings, researchers have no streamlined way of assessing the degree to which their model selection criteria or scientific conclusions are subject to noise due to sparsity in the underlying data used to generate the embeddings. We introduce a method to obtain approximate, easy-to-use, and scalable reconstruction error variance estimates for GloVe (Pennington et al., 2014), one of the most widely used word embedding models, using an analytical approximation to a multivariate normal model. To demonstrate the value of embeddings with variance (GloVe-V), we illustrate how our approach enables principled hypothesis testing in core word embedding tasks, such as comparing the similarity between different word pairs in vector space, assessing the performance of different models, and analyzing the relative degree of ethnic or gender bias in a corpus using different word lists.
[ -0.1589561104774475, -0.9659942388534546, 0.5931870341300964, 0.12659750878810883, -0.2014661282300949, 0.1359589844942093, -0.05752983316779137, -0.12510913610458374, 0.285390168428421, 0.18665488064289093, -0.3426090478897095, -0.7591895461082458, -0.9839765429496765, -0.1567988395690918, -0.32728680968284607, 0.3452005982398987, -0.16405822336673737, 0.27579265832901, -0.3537824749946594, -0.2847810387611389, -0.2872355878353119, -0.19737742841243744, 0.10223132371902466, 0.22211025655269623, 0.010926485061645508, 0.3766573667526245, 0.9375065565109253, 0.4869999289512634, 0.389205664396286, 0.18517757952213287, 0.23666691780090332, 0.23404590785503387, -0.26282164454460144, 0.20281842350959778, 0.10518436878919601, -0.5426256060600281, -0.4222763180732727, 0.13072621822357178, 0.24825476109981537, 1.0121533870697021, -0.061397209763526917, 0.3170524835586548, 0.08377420157194138, 0.33115142583847046, -1.070310115814209, 0.05954153835773468, -0.4103696644306183, 0.20569735765457153, -0.18151520192623138, -0.06611061096191406, -0.25450053811073303, -0.36468157172203064, 0.22407039999961853, -0.5560625791549683, 0.504518985748291, 0.35651540756225586, 0.6248841285705566, 0.2446952760219574, -0.0763392299413681, -0.38636478781700134, -0.5437033772468567, 0.8871252536773682, -0.5065041780471802, 0.6964614987373352, 0.9425521492958069, -0.11426998674869537, -0.13702768087387085, -0.2672859728336334, -0.3984316885471344, -0.33088311553001404, 0.27113884687423706, 0.2024095058441162, -0.23196148872375488, -0.17948096990585327, 0.11312088370323181, 0.03182419016957283, -0.29479342699050903, -0.1293424367904663, -0.19367650151252747, -0.22502470016479492, 0.5940941572189331, -0.05386008322238922, 0.29580187797546387, 0.031751345843076706, -0.11017361283302307, -0.2883352041244507, -0.45503610372543335, -0.029824236407876015, 0.604904055595398, 0.25798577070236206, -0.28692811727523804, 0.8628178238868713, 0.08292996138334274, 0.4825502634048462, -0.06499671190977097, -0.04633494094014168, 0.4125925302505493, -0.17012286186218262, -0.09312625229358673, -0.19467808306217194, 0.4819364845752716, 0.5913340449333191, -0.06509280204772949, -0.2149658203125, 0.10063472390174866, 0.045052189379930496, 0.39437344670295715, -0.25326278805732727, -0.10483057051897049, 0.31108057498931885, -0.3130975663661957, -0.2817656993865967, 0.3412461280822754, -0.9875319004058838, -0.7311767339706421, -0.10476768761873245, 0.45612648129463196, -0.4417928159236908, -0.20389120280742645, 0.30046114325523376, -0.5645692348480225, 0.19169501960277557, 0.33201271295547485, -0.44316303730010986, 0.5719327330589294, 0.5741825699806213, 0.7419584393501282, -0.04259215667843819, -0.02362026274204254, -0.3087882101535797, -0.023469502106308937, -0.6934565901756287, 0.47898241877555847, -0.6682515144348145, -0.8834033608436584, 0.22979019582271576, -0.25241824984550476, 0.16653969883918762, -0.12331477552652359, 0.6216247081756592, -0.09344511479139328, -0.20687319338321686, -0.6586045026779175, -0.8088862895965576, 0.052073944360017776, 0.130840465426445, -0.49021148681640625, 1.0195752382278442, 0.23836201429367065, -1.2186675071716309, 0.7713002562522888, -0.12038945406675339, -0.11515749245882034, -0.23956941068172455, -0.24120362102985382, -0.7191879749298096, 0.4351525604724884, 0.36209791898727417, 0.7496883869171143, -0.25674518942832947, -0.30634328722953796, -1.1905971765518188, -0.29298460483551025, 0.535132884979248, -0.3190155625343323, 0.49552175402641296, -0.11994745582342148, -0.39435943961143494, -0.23325875401496887, -0.6153616905212402, -0.2046600580215454, -0.08284585922956467, 0.47959962487220764, -0.7126078605651855, 0.36947908997535706, -0.0835728794336319, -0.3364199101924896, 0.123837411403656, -0.6658335328102112, 0.1258796602487564, 0.12407241761684418, -0.07311863452196121, 0.5902847647666931, -0.04641582444310188, 0.5093861818313599, -0.359489768743515, 0.5236330628395081, 0.013652238063514233, 0.04804670810699463, 0.5764840245246887, -0.5994058847427368, -0.4774607717990875, -0.5194746255874634, 0.3724507987499237, 0.5608416795730591, -0.5228077173233032, 0.504759669303894, -0.2829396426677704, -0.765384316444397, -0.6660109758377075, -0.04814184457063675, 0.26973363757133484, 0.04179408773779869, 0.3366868495941162, -0.1718975454568863, -0.4223329424858093, -0.781865119934082, -0.4934667944908142, -0.02677365019917488, -0.12415695935487747, 0.23374323546886444, 0.6341689229011536, -0.3118429183959961, 0.8715024590492249, -0.7020021080970764, 0.0552634596824646, 0.04525918886065483, 0.5408720374107361, -0.07962211221456528, 0.3791343569755554, 0.3872133493423462, -0.4337756037712097, -0.3428947627544403, -0.24395357072353363, -0.522423505783081, 0.09060873091220856, 0.10560640692710876, -0.032972436398267746, -0.1620684415102005, 0.47893136739730835, -0.3176826536655426, 0.9750930070877075, 0.5891948342323303, -0.25070852041244507, 0.6924362182617188, -0.4098507761955261, 0.2644842565059662, -0.9036373496055603, -0.10527215898036957, 0.3775651752948761, -0.18596109747886658, -0.3647128641605377, -0.01045942958444357, 0.24043361842632294, 0.1712338924407959, -0.040796201676130295, 0.2515478730201721, -0.7746225595474243, -0.2820332944393158, -0.1315382868051529, -0.07907714694738388, -0.355433851480484, -0.20191356539726257, -0.01835913397371769, 0.7882137894630432, 0.6387857794761658, -0.5200706124305725, -0.15719980001449585, 0.10466040670871735, -0.3720764219760895, 0.5498396158218384, -0.7786617279052734, -0.10380374640226364, -0.282945454120636, 0.1605149507522583, -1.0493446588516235, -0.34085267782211304, 0.16388657689094543, -0.5142529010772705, 0.3412973880767822, 0.06034828722476959, -0.30755093693733215, -0.42146724462509155, -0.8528335690498352, 0.15631040930747986, 0.5485274195671082, -0.04017217457294464, 0.08548589795827866, 0.9601823687553406, -0.10120846331119537, -0.7603033781051636, -0.4995756447315216, -0.2708776891231537, -0.15661747753620148, -0.2482697069644928, 0.20221836864948273, 0.04466763138771057, -0.5081748962402344, 0.04034961387515068, -0.371537983417511, -0.21217802166938782, 0.2407069355249405, 0.45183056592941284, 0.19405509531497955, 0.047607094049453735, 0.07339251041412354, 0.23403207957744598, 0.08344988524913788, -0.04440848156809807, 0.05949835479259491, 0.07868009060621262, -0.02059192582964897, -0.8157357573509216, 0.07114987075328827, 0.34649980068206787, 0.4496544599533081, 0.136783629655838, 0.48301923274993896, 0.8212447166442871, -0.7213500738143921, -0.3023965060710907, -0.6546416282653809, -0.03662277013063431, -0.388809472322464, 0.4412836730480194, -0.28190529346466064, -0.7009527683258057, 0.43497490882873535, 0.035232774913311005, 0.02562820538878441, 0.40117931365966797, 0.5274919867515564, -0.3970303237438202, 0.8599668741226196, 0.5625261664390564, -0.029571056365966797, 0.046888552606105804, -0.054949916899204254, 0.08282726258039474, -0.7145494818687439, 0.18041105568408966, -0.694743275642395, -0.08992214500904083, -0.751365065574646, -1.1143206357955933, 0.46777674555778503, 0.026919646188616753, -0.06156149134039879, 0.27117010951042175, -0.23070451617240906, 0.075006403028965, 0.6288553476333618, 0.3838960826396942, -0.26697632670402527, 0.025913994759321213, 0.03367398679256439, -0.2534250020980835, -0.4815974831581116, -0.4665176272392273, 1.2665212154388428, 0.41507938504219055, 0.9301819801330566, 0.05937378853559494, 0.823803186416626, 0.3860027492046356, 0.25630953907966614, -0.5532378554344177, -0.11569403856992722, -0.13344694674015045, -0.43389052152633667, -0.3947300910949707, -0.17397423088550568, -0.8895885944366455, 0.36151060461997986, -0.6609114408493042, -1.1454755067825317, 0.34294989705085754, 0.16596491634845734, -0.3897773027420044, 0.4241490960121155, -0.4703378975391388, 0.37810930609703064, 0.4300194978713989, -0.34309816360473633, 0.005740414839237928, -0.5130712389945984, 0.3739364743232727, -0.012402508407831192, 0.7010086178779602, -0.2001769244670868, -0.33083823323249817, 0.8189091086387634, -0.3549361526966095, 1.1156821250915527, -0.17644421756267548, 0.051477350294589996, 0.3147895634174347, 0.24013885855674744, 0.46542224287986755, 0.07787567377090454, -0.20634911954402924, 0.16697251796722412, 0.27808573842048645, -0.5153625011444092, -0.38517364859580994, 0.26416146755218506, -0.7976121306419373, -0.5594425201416016, -0.6052183508872986, -0.47789448499679565, -0.5388292074203491, -0.17082946002483368, 0.45032209157943726, 0.32517415285110474, -0.46461740136146545, 0.42457205057144165, 0.7799172401428223, -0.33850255608558655, 0.12880313396453857, -0.08241340517997742, 0.19125081598758698, -0.1945192962884903, 0.690714418888092, 0.46896833181381226, -0.11344028264284134, 0.32152941823005676, 0.48161786794662476, -0.3956473767757416, -0.4858224093914032, -0.20047540962696075, 0.008902761153876781, -0.3516314625740051, -0.06704582273960114, -0.7197359204292297, 0.18358509242534637, -0.5019327402114868, -0.4252944886684418, -0.4913348853588104, -0.2682344913482666, -0.2797539532184601, -0.3776852786540985, 0.33155956864356995, 0.8046548366546631, -0.2690555155277252, 0.05518074706196785, -0.721517026424408, 0.25184768438339233, 0.0388413704931736, 0.2966412901878357, -0.31401771306991577, -0.2657764256000519, -0.14030419290065765, 0.23353569209575653, -0.1338929384946823, -1.3061250448226929, 0.314354807138443, 0.08910363912582397, 0.6174119114875793, 0.2017529457807541, 0.3447106182575226, 0.5641453862190247, -0.5307917594909668, 1.008980393409729, 0.22921746969223022, -1.0837632417678833, 0.11546885967254639, -0.3253360092639923, -0.25768864154815674, 0.47882068157196045, 0.6581546068191528, -0.14784985780715942, -0.49892792105674744, -0.9283922910690308, -0.7405248880386353, -0.09685605019330978, 0.09958890825510025, 0.005481834057718515, -0.10917225480079651, 0.12893597781658173, 0.33948203921318054, 0.1268840879201889, -0.017877256497740746, -0.3581030070781708, -0.08167759329080582, -0.29824796319007874, -0.26303306221961975, -0.40643495321273804, -0.2748902440071106, -0.21269218623638153, 0.3703477680683136, -0.12809719145298004, 0.5672893524169922, 0.28660598397254944, -0.286390095949173, 0.09166905283927917, 0.08839058876037598, 0.6171090602874756, 0.6446214318275452, -0.295062392950058, 0.381664514541626, 0.5200888514518738, -0.6891677379608154, 0.1798555552959442, -0.08805686235427856, 0.056138020008802414, 0.30019012093544006, 0.6544438600540161, 0.40309229493141174, 0.43378564715385437, -0.3742222189903259, 0.9975504875183105, -0.08362547308206558, -0.22316280007362366, -0.2770095467567444, -0.3612591326236725, 0.1460765153169632, -0.021012745797634125, 0.11366255581378937, 0.13694125413894653, 0.38177114725112915, -0.21995586156845093, 0.4742162823677063, 0.4392262101173401, -0.5639682412147522, -0.28587812185287476, 0.43556368350982666, -0.04948796331882477, 0.1701037585735321, 0.014975832775235176, -0.20712009072303772, -0.32760050892829895, 0.4102610647678375, 0.2510945498943329, 0.7481396794319153, -0.006541626062244177, 0.34434351325035095, 0.49434033036231995, 0.4147511422634125, -0.22646073997020721, 0.5048790574073792, 0.16180282831192017, -0.8899868130683899, -0.05666882544755936, -0.44028395414352417, -0.6487898230552673, -0.556631326675415, -1.0470080375671387, 0.020790645852684975, -0.3225439488887787, -0.4533902108669281, -0.1514238566160202, -0.11129290610551834, -0.972829282283783, 0.08952995389699936, -0.1446690708398819, 0.7477161288261414, -1.0411280393600464, 0.4246846139431, 0.4146864712238312, -0.19568873941898346, -0.6002603769302368, 0.21067751944065094, 0.3197556436061859, -0.9355231523513794, 0.23137804865837097, -0.17660102248191833, -0.029415378347039223, -0.5048185586929321, -0.6174924969673157, -0.8703543543815613, 0.881314754486084, 0.19765809178352356, -0.4215719699859619, 0.3269210457801819, -0.009531181305646896, 0.09247767180204391, 0.17798858880996704, 0.34459319710731506, 0.3919409215450287, 0.43483802676200867, -0.3995102047920227, -0.5437605381011963, 0.2841828167438507, 0.09551411122083664, 0.02024565450847149, -0.02314036525785923, -0.09190842509269714, 0.7868121266365051, -0.2547379732131958, -0.026897115632891655, 0.01615549996495247, 0.876575767993927, 0.3368058502674103, 0.14388111233711243, 0.6457616686820984, 0.47661954164505005, 1.1093851327896118, -0.023633575066924095, 1.2235972881317139, -0.3220731317996979, 0.5093811750411987, 0.9730653166770935, -0.1290697455406189, 0.8902467489242554, 0.5053500533103943, -0.5517109632492065, 0.11461073160171509, 0.6035248637199402, 0.19143380224704742, 0.192780002951622, 0.6229761242866516, -0.1735994815826416, -0.1583070456981659, 0.08370774984359741, -0.5079439282417297, 0.2968520522117615, 0.7593665719032288, -0.03750334680080414, -0.040132567286491394, -0.21384063363075256, 0.106186643242836, -0.020706210285425186, 0.1014457419514656, 0.41225680708885193, 0.17454619705677032, -0.2273683100938797, 0.024030400440096855, 0.017350507900118828, 0.807964026927948, -0.47089171409606934, 0.00978800654411316, 0.20222677290439606, -0.0724712461233139, 0.0009080995223484933, -0.7207578420639038, 0.3711985647678375, -0.0921579971909523, 0.1558160036802292, 0.1335127353668213, 0.7067978382110596, -0.3116258382797241, -0.8428904414176941, 0.03360726684331894, 0.6622723937034607, 0.03069871850311756, 0.0861547663807869, -0.5133760571479797, 0.2945758104324341, -0.2678164839744568, -0.2735368609428406, 0.17633453011512756, 0.3893105983734131, 0.10336807370185852, 0.4932335317134857, 0.4564247727394104, 0.2590784430503845, 0.27484482526779175, -0.20510898530483246, 0.32943886518478394, -0.2846732437610626, -0.34701403975486755, -0.706331193447113, 0.4954202175140381, -0.2604554295539856, -0.5819829106330872, 0.937675952911377, 0.17910246551036835, 0.5190737247467041, -0.375118225812912, 1.0632965564727783, -0.06638369709253311, 0.431001216173172, -0.41313907504081726, 0.6182590126991272, -0.5170671343803406, -0.2730560898780823, -0.7331849932670593, -0.49699997901916504, -0.45552682876586914, 0.8753791451454163, -0.16129770874977112, -0.14768530428409576, 0.5787713527679443, 0.813347339630127, -0.16261796653270721, 0.14017042517662048, 0.6255660653114319, 0.010064376518130302, 0.09166347980499268, -0.23540566861629486, 0.40303558111190796, -0.521660327911377, -0.2967856824398041, -0.4899212419986725, -0.6110935211181641, -0.2565937638282776, -0.9511553049087524, -0.4899745583534241, -0.6848961710929871, -0.47389328479766846, -0.6304991245269775, 0.0570104606449604, 1.1483631134033203, 0.704984724521637, -0.7259090542793274, -0.15219490230083466, 0.1839885115623474, 0.1381487101316452, -0.5992224216461182, -0.11529491096735, 0.7359556555747986, -0.18347741663455963, -0.6095543503761292, 0.16712339222431183, -0.10964962095022202, -0.023709146305918694, -0.004265257157385349, 0.19535109400749207, -0.016888393089175224, 0.3409290015697479, 0.37255528569221497, 0.0886847972869873, -0.581679105758667, -0.6740860342979431, -0.10857350379228592, -0.13275666534900665, -0.513526976108551, 0.6872013807296753, 0.09502677619457245, 0.5537660121917725, 0.657471239566803, 0.9755837321281433, 0.3528800308704376, -0.24990521371364594, 0.8793421983718872, -0.7806779146194458, 0.01618465594947338, 0.07261042296886444, 0.7597761750221252, 0.18360622227191925, -0.26318100094795227, 0.38286903500556946, 0.3437196910381317, -0.16731595993041992, -0.8091275095939636, 0.09052123129367828, -1.0784177780151367, -0.3817937970161438, 1.2320600748062134, -0.2998872399330139, -0.40124958753585815, -0.2502094805240631, -0.0657554566860199, 0.3839605152606964, -0.20702439546585083, 0.697192907333374, 0.8553963303565979, 0.31064555048942566, 0.1801280826330185, -0.7328183054924011, 0.4239068031311035, 0.19233791530132294, -0.3381921350955963, 0.07105804234743118, 0.10215790569782257, 0.40237608551979065, 0.16145919263362885, 0.4593275487422943, -0.03963956981897354, 0.2601553499698639, 0.6653875112533569, 0.15911510586738586, 0.2452496439218521, 0.04899328574538231, 0.12547482550144196, 0.1964549869298935, 0.03160729259252548, -0.45068037509918213 ]
http://arxiv.org/abs/2406.12159v1
http://arxiv.org/pdf/2406.12159v1
Exploring the Impact of a Transformer's Latent Space Geometry on Downstream Task Performance
2024-06-18T00:17:30
2024-06-18T00:17:30
Anna C. Marbut, John W. Chandler, Travis J. Wheeler
cs.CL
cs.CL, cs.LG
It is generally thought that transformer-based large language models benefit from pre-training by learning generic linguistic knowledge that can be focused on a specific task during fine-tuning. However, we propose that much of the benefit from pre-training may be captured by geometric characteristics of the latent space representations, divorced from any specific linguistic knowledge. In this work we explore the relationship between GLUE benchmarking task performance and a variety of measures applied to the latent space resulting from BERT-type contextual language models. We find that there is a strong linear relationship between a measure of quantized cell density and average GLUE performance and that these measures may be predictive of otherwise surprising GLUE performance for several non-standard BERT-type models from the literature. These results may be suggestive of a strategy for decreasing pre-training requirements, wherein model initialization can be informed by the geometric characteristics of the model's latent space.
[ -0.3754064738750458, -0.5849962830543518, 0.5798467993736267, 0.07036115974187851, -0.05356264114379883, -0.18932150304317474, -0.08126024901866913, -0.15997259318828583, 0.1549926996231079, 0.2686951160430908, -0.5588155388832092, -0.20932815968990326, -0.7785223126411438, -0.4174252152442932, -0.32451340556144714, 0.9719663262367249, -0.11521222442388535, -0.23440033197402954, -0.38030338287353516, 0.12398205697536469, -0.39406129717826843, -0.6023434996604919, -0.11980640888214111, -0.16389039158821106, 0.7952680587768555, -0.17920228838920593, 0.8667662739753723, 0.5994056463241577, 0.6106200814247131, 0.3501695692539215, -0.13808533549308777, -0.5255351662635803, -0.5981228351593018, -0.043860435485839844, 0.10476332902908325, -0.7556402087211609, -0.5712958574295044, 0.4249659776687622, 0.7443264722824097, 1.053157091140747, -0.07158340513706207, 0.023452242836356163, 0.416735976934433, 0.5995691418647766, -0.6924445629119873, 0.18852974474430084, -0.47272810339927673, 0.08672021329402924, -0.4032280445098877, -0.07578858733177185, -0.3501479923725128, -0.3641929626464844, 0.4798654615879059, -0.7888275384902954, 0.39768803119659424, -0.13674628734588623, 0.9818256497383118, 0.7292947173118591, -0.2892848253250122, -0.13059930503368378, -0.8904057741165161, 0.8164785504341125, -0.5567348003387451, 0.5163424611091614, 0.32930344343185425, 0.3062475919723511, -0.10633603483438492, -0.7412638068199158, -0.06240468472242355, -0.0006530643440783024, -0.5058994293212891, 0.15738916397094727, -0.129055917263031, -0.10083663463592529, 0.3870605230331421, 0.3930177092552185, -0.5304775834083557, -0.03808606415987015, -0.5266480445861816, -0.17756493389606476, 0.3092482388019562, 0.024221057072281837, 0.19943517446517944, 0.10474982857704163, -0.25731128454208374, -0.35829415917396545, -0.7637460231781006, 0.48305511474609375, 0.3925762474536896, 0.2354649156332016, -0.19550032913684845, 0.5193668007850647, 0.11948695033788681, 0.4283047914505005, 0.02183639444410801, 0.1285921335220337, 0.03250499442219734, 0.01347654964774847, -0.058915019035339355, -0.24874085187911987, 0.5707613825798035, -0.2933558523654938, 0.05213484168052673, -0.3438205420970917, -0.16102683544158936, 0.12041351199150085, 0.7360283732414246, -0.8628866076469421, -0.6682418584823608, -0.2746953070163727, -0.574396550655365, 0.15744511783123016, 0.16602823138237, -0.21396636962890625, 0.10382132232189178, -0.4108569622039795, 0.4197244644165039, -0.47658368945121765, -0.15031586587429047, -0.3121050000190735, -0.04691161960363388, 0.19767609238624573, 0.1395002007484436, -0.8124727606773376, 0.23426522314548492, 0.849846601486206, 0.924027144908905, -0.24419145286083221, -0.09832321107387543, -0.4927177429199219, 0.13879214227199554, -0.3470601439476013, 1.0888324975967407, -0.6843510866165161, -0.35132265090942383, -0.08075613528490067, 0.08228858560323715, -0.41042593121528625, -0.5949587225914001, 0.35196980834007263, -0.5078747272491455, 0.29668736457824707, -0.42057862877845764, -0.6370232105255127, -0.17409208416938782, -0.2624451518058777, -0.9201754927635193, 1.0073504447937012, 0.48787492513656616, -0.5032647848129272, 0.7656503319740295, -0.47012847661972046, -0.5038252472877502, 0.09988105297088623, -0.3317367732524872, -0.5368610620498657, 0.5828062891960144, -0.004449720028787851, 0.5496076345443726, 0.08097951114177704, 0.2774357199668884, -0.4177769422531128, -0.5426140427589417, 0.20184090733528137, -0.2370680421590805, 0.239724799990654, -0.025962231680750847, -0.32054027915000916, 0.10737541317939758, -0.49249324202537537, -0.11143863946199417, -0.2903388738632202, -0.36456939578056335, -0.3481728732585907, 0.17817123234272003, -0.13674050569534302, 0.3548201024532318, 0.25815197825431824, -0.38112178444862366, 0.07439744472503662, -0.44650915265083313, 0.035224299877882004, 0.5791852474212646, -0.3200283348560333, 0.6928160786628723, -0.23569732904434204, 0.43098771572113037, 0.10733041167259216, -0.023299945518374443, 0.043018639087677, -0.547432005405426, -0.795261025428772, -0.3183012306690216, 0.10587877780199051, 0.19244353473186493, -0.5857354998588562, 0.45845693349838257, -0.33164316415786743, -0.7114434242248535, -0.2850628197193146, 0.13595572113990784, 0.41749632358551025, 0.3413388431072235, 0.19806279242038727, -0.3478713035583496, -0.22662712633609772, -1.0725077390670776, -0.3034934103488922, -0.010913563892245293, -0.3602463901042938, 0.4686637818813324, 0.34712642431259155, 0.11007751524448395, 1.2349162101745605, -0.9102407097816467, -0.45305800437927246, 0.036278996616601944, 0.2338714748620987, 0.5835915803909302, 0.42532363533973694, 0.6972268223762512, -0.5798555612564087, -0.42337048053741455, -0.1782074123620987, -0.5353561043739319, -0.1268356591463089, 0.20997925102710724, -0.13441184163093567, 0.22382277250289917, 0.5782471895217896, -0.5640661120414734, 0.7202185392379761, 0.8608847856521606, -0.573406994342804, 0.6616224050521851, -0.34590181708335876, -0.0070311506278812885, -0.8407098054885864, 0.21841424703598022, 0.05713152512907982, 0.16209620237350464, -0.6028652191162109, -0.5788289904594421, -0.0313560925424099, -0.26677820086479187, -0.6269900798797607, 0.2081925868988037, -0.27043837308883667, -0.3598291575908661, -0.2996729612350464, -0.02655310370028019, -0.18559981882572174, 0.6533498167991638, 0.31759464740753174, 1.1454859972000122, 0.30925023555755615, -0.5841612815856934, -0.25806528329849243, 0.2713814973831177, -0.4112052917480469, 0.2740615904331207, -0.8952234387397766, -0.09530781954526901, 0.10612280666828156, 0.2747693359851837, -1.2369340658187866, 0.019936854019761086, -0.4993783235549927, -0.277031809091568, 0.2613995671272278, 0.0432652086019516, -0.2667028307914734, -0.32966721057891846, 0.10885986685752869, 0.47560930252075195, 0.7489227056503296, -0.2524835765361786, 0.6013934016227722, 0.29804712533950806, -0.1958388239145279, -0.19528846442699432, -0.423973947763443, -0.5409227609634399, -0.4401102662086487, -0.844893753528595, 0.5099084377288818, 0.2106674760580063, 0.2057163268327713, 0.011382351629436016, -0.31005430221557617, -0.2634080648422241, 0.1510934680700302, 0.45968249440193176, 0.24119088053703308, -0.564530074596405, 0.04670717939734459, 0.11604750156402588, -0.2777281105518341, 0.32188600301742554, -0.3238207995891571, 0.431897908449173, -0.26827335357666016, -0.2680925726890564, -0.2843843996524811, 0.07193072140216827, 0.30329394340515137, 0.013152390718460083, 1.0974129438400269, 0.7875074148178101, -0.12922827899456024, -0.010816322639584541, -0.49380627274513245, -0.4105425477027893, -0.5246944427490234, 0.41645684838294983, -0.4101826846599579, -1.0034905672073364, 0.5796317458152771, -0.28805017471313477, -0.11911503970623016, 0.5537739992141724, 0.48968273401260376, -0.4612806439399719, 0.7087332606315613, 0.9674919843673706, 0.1739615648984909, 0.546564519405365, -0.37935084104537964, 0.5130085945129395, -0.9583811163902283, -0.12162253260612488, -0.49658963084220886, -0.48297253251075745, -0.632570207118988, -0.6373674869537354, 0.4045679271221161, 0.23586174845695496, -0.1808219999074936, 0.6574925780296326, -0.3037516176700592, 0.26098260283470154, 0.4983268976211548, -0.08657942712306976, -0.13507148623466492, -0.09662415087223053, -0.0885569378733635, -0.3172290325164795, -0.8071120977401733, -0.7423447370529175, 0.8164975643157959, 0.3082970678806305, 0.6974550485610962, 0.011209791526198387, 0.22410643100738525, -0.09956652671098709, 0.2137051373720169, -0.4059167206287384, 0.3139937222003937, -0.6106540560722351, -0.35586199164390564, -0.3101593852043152, -0.3850216269493103, -1.0989186763763428, 0.16595503687858582, -0.11814098805189133, -0.9519802927970886, 0.0806698277592659, 0.25192463397979736, -0.3068704903125763, 0.3178207278251648, -0.6954424977302551, 1.0375272035598755, -0.14591719210147858, -0.2642633020877838, -0.2369910180568695, -0.3862886130809784, -0.012280869297683239, -0.22614485025405884, -0.10421925038099289, -0.13648535311222076, 0.03800337389111519, 0.9478075504302979, -0.4555051922798157, 0.8686913847923279, -0.30083173513412476, -0.26889991760253906, 0.15446896851062775, 0.05624355003237724, 0.2653253972530365, -0.16683484613895416, 0.29805248975753784, 0.4305156171321869, -0.121501624584198, -0.45114365220069885, -0.726344883441925, 0.5898624062538147, -1.136177897453308, -0.6434505581855774, 0.12432435154914856, -0.9558616280555725, -0.39321085810661316, -0.043892037123441696, 0.42202261090278625, 0.4352453351020813, -0.15695929527282715, 0.6532053351402283, 0.5882036685943604, -0.28609922528266907, 0.7068548798561096, 0.2223428189754486, 0.12973862886428833, 0.21570570766925812, 0.6698985695838928, 0.31858548521995544, 0.13851597905158997, 0.4856884479522705, 0.0850624069571495, -0.4306662082672119, -0.23031699657440186, 0.18435831367969513, 0.3015775680541992, -0.3623639941215515, 0.10635796189308167, -0.616378903388977, -0.35511425137519836, -0.24316278100013733, -0.40587449073791504, -0.7283892631530762, -0.48417729139328003, -0.2962513566017151, 0.26116788387298584, -0.025827400386333466, 0.8680402040481567, 0.35164088010787964, 0.6594775319099426, -0.8012914657592773, -0.10299926996231079, 0.3357296288013458, 0.8004553318023682, -0.03187381476163864, -0.5678309202194214, -0.5394142866134644, -0.10400477796792984, -0.6139498949050903, -0.3692602217197418, 0.3168385326862335, 0.1464361697435379, 0.7249624133110046, 0.448751837015152, -0.2844095826148987, 0.6295278668403625, -0.6865056753158569, 0.8463449478149414, 0.16739530861377716, -0.9231795072555542, 0.72769695520401, -0.5644100308418274, 0.46382084488868713, 0.07970394194126129, 0.5050414204597473, 0.0275814738124609, -0.6317141652107239, -0.6743285655975342, -0.6897450685501099, 0.6977021098136902, 0.5296586751937866, -0.02892361767590046, 0.23766157031059265, 0.1978868693113327, 0.14390195906162262, 0.06278663873672485, -0.6706351637840271, -0.03788948804140091, -0.216494619846344, 0.09995895624160767, -0.34197190403938293, -0.188271164894104, 0.22161684930324554, -0.14589497447013855, 0.3902048170566559, -0.07891568541526794, 0.40608322620391846, -0.1496429145336151, -0.22119459509849548, 0.13302560150623322, 0.0010717505356296897, 0.6591739058494568, 0.5228068232536316, -0.1722719818353653, -0.17838767170906067, 0.08894181251525879, -0.6334258317947388, 0.04782086983323097, 0.0264255553483963, 0.24880775809288025, -0.05101444199681282, 0.6039082407951355, 0.9671820402145386, 0.4097471535205841, -0.1851639300584793, 0.404384583234787, -0.013671849854290485, -0.2714099586009979, -0.11475120484828949, 0.313312828540802, 0.07129783183336258, 0.2381792515516281, 0.5058566331863403, 0.1051749736070633, 0.03784138709306717, -0.11175724864006042, 0.3485357463359833, 0.3238130509853363, -0.7718808650970459, -0.7143261432647705, 0.5330849289894104, 0.16196608543395996, -0.243833526968956, 0.6645733118057251, 0.2751522660255432, -0.3568645715713501, 0.6363289952278137, 0.37531909346580505, 0.7756244540214539, -0.3976185917854309, -0.08262652903795242, 0.20081788301467896, 0.1871003955602646, 0.37435469031333923, -0.26036328077316284, -0.09772556275129318, -0.4587319791316986, -0.7758466005325317, -0.6438149213790894, 0.12246236205101013, 0.12259192019701004, -0.6909340620040894, 0.10867838561534882, -0.09467000514268875, -0.351706862449646, -0.07036419957876205, -0.06374304741621017, -0.851423978805542, 0.2490828037261963, 0.25211817026138306, 0.6080595254898071, -0.9891940951347351, 0.8694231510162354, 0.776423990726471, -0.0376930758357048, -1.0922032594680786, -0.014660525135695934, -0.1408243477344513, -0.3351837694644928, 1.0614686012268066, 0.3705314099788666, -0.017458125948905945, -0.348705917596817, 0.06764649599790573, -1.3900147676467896, 1.0300450325012207, 0.537225067615509, -0.5105397701263428, -0.1844729334115982, 0.47480419278144836, 0.6533302664756775, -0.4539671540260315, 0.4649755656719208, 0.6036934852600098, 0.12161547690629959, 0.18297399580478668, -0.9890503287315369, -0.1040518581867218, -0.30054330825805664, 0.45169588923454285, 0.5789845585823059, -0.3811491131782532, 1.0350168943405151, 0.043859001249074936, -0.3501918613910675, -0.19521866738796234, 0.8969460725784302, 0.2543018162250519, -0.14465516805648804, 0.5326991677284241, 0.5769652724266052, 0.33355075120925903, -0.5796756744384766, 1.116098403930664, -0.4167892038822174, 0.45388635993003845, 0.8761734366416931, -0.028947366401553154, 0.9613403081893921, 0.5824323892593384, -0.34224721789360046, 0.7431637048721313, 0.3351925313472748, 0.043395861983299255, 0.6000375747680664, 0.2662440240383148, 0.22489608824253082, -0.10016520321369171, -0.03998907655477524, -0.34296751022338867, 0.6437366604804993, 0.506102979183197, -0.03132551908493042, -0.25033167004585266, -0.05775647982954979, -0.2601628303527832, 0.024945156648755074, -0.059377271682024, 0.8077988624572754, 0.1562284231185913, -0.8211224675178528, 0.437787264585495, -0.6898627281188965, 0.5115451812744141, -0.43598541617393494, 0.07018683850765228, -0.06518002599477768, 0.30434975028038025, -0.19028401374816895, -0.8766905665397644, 0.8293478488922119, -0.2856971323490143, -0.373444527387619, -0.3782135546207428, 0.5889743566513062, -0.2685147225856781, -0.3120048940181732, 0.43635737895965576, 0.5452559590339661, 0.1501254141330719, -0.054419390857219696, -0.3855384886264801, 0.05000818893313408, -0.3361624479293823, -0.42497363686561584, 0.3318623900413513, 0.40602052211761475, 0.052346933633089066, 0.4986787736415863, 0.5996410846710205, 0.05976312980055809, 0.11492562294006348, 0.09364975988864899, 0.9384375214576721, -0.441779762506485, -0.691589891910553, -0.5988280773162842, 0.7403675317764282, 0.0851757675409317, -0.2137642204761505, 0.6887513399124146, 0.6472665667533875, 0.7444663047790527, -0.27454060316085815, 0.31298503279685974, 0.023145433515310287, 0.39677926898002625, -0.5736497640609741, 0.9236608743667603, -0.4929092824459076, 0.21556630730628967, -0.4597506523132324, -1.4513182640075684, 0.09862034767866135, 0.6954883933067322, -0.7940698862075806, 0.290991872549057, 1.016467809677124, 0.4869749844074249, -0.2721310257911682, -0.0717160627245903, 0.5299351811408997, 0.1340535581111908, 0.49592065811157227, 0.8149569630622864, 0.9925113916397095, -0.3890460133552551, 0.5572987794876099, -0.21131902933120728, -0.21866896748542786, -0.010716899298131466, -0.8400403261184692, -1.0852259397506714, -0.9527972936630249, -0.30940765142440796, 0.058119866997003555, -0.393206387758255, 0.037146519869565964, 1.2130011320114136, -0.6192781925201416, -0.36309006810188293, -0.05492591857910156, -0.34988582134246826, 0.1374930441379547, -0.20021125674247742, 0.5460762977600098, -0.7171770334243774, -0.4836937189102173, 0.08343200385570526, 0.35605013370513916, 0.029455039650201797, -0.009750799275934696, 0.17733146250247955, -0.09257736802101135, -0.06891167163848877, 0.5399209260940552, -0.21845313906669617, -0.7948705554008484, -0.1238059252500534, 0.09586792439222336, -0.10245051234960556, 0.19024382531642914, 1.1929817199707031, -1.0415970087051392, -0.0812334343791008, 0.26775646209716797, 0.4906706213951111, 0.6198952794075012, -0.06953456252813339, 0.8740171194076538, -1.0599004030227661, 0.4721238911151886, 0.11226855963468552, 0.37458282709121704, 0.10350250452756882, -0.5360674262046814, 0.40633624792099, 0.013263467699289322, -0.6597501039505005, -0.34397372603416443, 0.07791087031364441, -0.6718823909759521, -0.24099783599376678, 0.7137997150421143, -0.49640944600105286, -0.3872055411338806, 0.12881983816623688, 0.15477879345417023, 0.3126448094844818, -0.23575353622436523, 0.7039440274238586, 0.7296239733695984, -0.19734136760234833, 0.04301401600241661, -0.415533185005188, 0.6445618867874146, 0.7649272680282593, -0.8478366732597351, -0.11818438023328781, 0.2265365719795227, 0.08994051814079285, 0.53581303358078, 0.18270371854305267, -0.00881985668092966, 0.24150113761425018, -0.07924139499664307, -0.2707935571670532, 0.3503347337245941, -0.5218172073364258, -0.12689626216888428, 0.23921747505664825, -0.15817362070083618, 0.107208251953125 ]
http://arxiv.org/abs/2406.12158v1
http://arxiv.org/pdf/2406.12158v1
LLMs Are Prone to Fallacies in Causal Inference
2024-06-18T00:14:07
2024-06-18T00:14:07
Nitish Joshi, Abulhair Saparov, Yixin Wang, He He
cs.CL
cs.CL, cs.AI
Recent work shows that causal facts can be effectively extracted from LLMs through prompting, facilitating the creation of causal graphs for causal inference tasks. However, it is unclear if this success is limited to explicitly-mentioned causal facts in the pretraining data which the model can memorize. Thus, this work investigates: Can LLMs infer causal relations from other relational data in text? To disentangle the role of memorized causal facts vs inferred causal relations, we finetune LLMs on synthetic data containing temporal, spatial and counterfactual relations, and measure whether the LLM can then infer causal relations. We find that: (a) LLMs are susceptible to inferring causal relations from the order of two entity mentions in text (e.g. X mentioned before Y implies X causes Y); (b) if the order is randomized, LLMs still suffer from the post hoc fallacy, i.e. X occurs before Y (temporal relation) implies X causes Y. We also find that while LLMs can correctly deduce the absence of causal relations from temporal and spatial relations, they have difficulty inferring causal relations from counterfactuals, questioning their understanding of causality.
[ -0.04653637483716011, -1.0880427360534668, 1.1242154836654663, 0.12289433181285858, -0.19336435198783875, -0.2870343029499054, 0.21962688863277435, -0.5431245565414429, 0.11279968172311783, 0.49311280250549316, -0.7856307029724121, -0.290385901927948, -0.5664739608764648, 0.15211938321590424, -0.36943310499191284, 0.9076889157295227, -0.06504326313734055, 0.2503353953361511, -0.5580376386642456, -0.0794312059879303, -0.19302667677402496, -0.7901793718338013, -0.40741845965385437, -0.7738953232765198, 0.8178747296333313, -0.0031126283574849367, 0.4997577667236328, 0.44622495770454407, 0.4872983992099762, 0.32263538241386414, 0.09341083467006683, 0.22191670536994934, -0.733570396900177, -0.02011501044034958, -0.4516908526420593, -0.9421365261077881, -0.1956518590450287, 0.18646809458732605, 0.4699830710887909, 0.6892767548561096, -0.15347614884376526, 0.07205989956855774, -0.03327126055955887, 0.6810083389282227, -0.49103406071662903, 0.19791534543037415, -0.8204633593559265, -0.030977169051766396, -0.1786797046661377, -0.4060957729816437, -0.5293912291526794, -0.40839052200317383, 0.11808683723211288, -0.6972115635871887, 0.40972042083740234, 0.29955148696899414, 0.9436739087104797, 0.4094109535217285, -0.7332401871681213, -0.2825698256492615, -0.8600574135780334, 0.6147744655609131, -0.5844559669494629, 0.2351568192243576, 0.41163700819015503, 0.08181656152009964, -0.39461421966552734, -0.7726900577545166, -0.7389892935752869, -0.27972808480262756, -0.5312008261680603, 0.19442737102508545, 0.047312911599874496, -0.12771739065647125, 0.7701873183250427, 0.20540578663349152, -0.3927166163921356, -0.052662480622529984, -0.19357605278491974, 0.023379463702440262, 0.4196842908859253, 0.4348887801170349, 0.345793753862381, -0.1919724941253662, -0.6506596207618713, 0.2945482134819031, -1.1937395334243774, -0.199097141623497, 0.26068106293678284, 0.15221618115901947, -0.14211925864219666, 0.5933699607849121, 0.2663801908493042, 0.2448461353778839, 0.005322529003024101, -0.07435405999422073, 0.019299225881695747, -0.3286433815956116, -0.30878475308418274, 0.22461095452308655, 0.8421517014503479, 0.24449336528778076, 0.40607327222824097, -0.26729705929756165, 0.19449079036712646, 0.2982456684112549, 0.12938138842582703, -0.4947739243507385, -0.0881093218922615, -0.03808428719639778, -0.3081185519695282, -0.051867954432964325, 0.14520032703876495, -0.3817274868488312, -0.4017440974712372, -0.4055017828941345, 0.5569337010383606, -0.12215062230825424, -0.03913998603820801, -0.21832580864429474, -0.24407878518104553, -0.14742395281791687, 0.35211610794067383, -0.5706602334976196, 0.2890909016132355, 0.42053866386413574, 0.5945672988891602, -0.1870334893465042, -0.6499301791191101, -0.13507577776908875, 0.5641679763793945, -0.38891348242759705, 0.8343392610549927, -0.33894598484039307, -0.5270926356315613, -0.1897871494293213, 0.3043743073940277, -0.5060065984725952, -0.5045346617698669, 0.324616938829422, -0.7259353995323181, 0.18797403573989868, -0.5604289174079895, -0.780552089214325, -0.15144124627113342, 0.13329653441905975, -0.6160273551940918, 0.8606950640678406, -0.14760173857212067, -1.1865798234939575, 0.5454582571983337, 0.1517258882522583, -0.6051040887832642, -0.5345296859741211, -0.5191235542297363, -0.4484790861606598, 0.0699690580368042, -0.03629346936941147, 0.28545084595680237, -0.41356518864631653, 0.6729586124420166, -0.7178113460540771, -0.209546759724617, 0.6393419504165649, -0.40347039699554443, 0.8399362564086914, -0.05028482899069786, -0.36488908529281616, -0.15630489587783813, -0.8378784656524658, -0.558680534362793, 0.2608698010444641, -0.35404065251350403, -0.6257753372192383, 0.3906557857990265, -0.48866942524909973, 0.2871111035346985, -0.15803074836730957, -0.4782613515853882, 0.06417442113161087, -0.15304827690124512, 0.056776028126478195, 0.7337793111801147, 0.4081629812717438, 0.29605650901794434, -0.6121585965156555, 0.073693186044693, 0.48761147260665894, -0.14587877690792084, 0.03946053236722946, -0.2918969690799713, -0.6781112551689148, -0.01998121105134487, -0.18263642489910126, 0.7010089159011841, -0.8491634130477905, -0.019206779077649117, -0.2111831158399582, -0.3783740699291229, 0.3027571439743042, -0.037402890622615814, 0.4640129506587982, 1.049068570137024, 0.3162498474121094, 0.1778644174337387, -0.6935418844223022, -0.6088367700576782, -0.5286816358566284, -0.43516528606414795, 0.07701580971479416, 0.4630766808986664, 0.6937175393104553, -0.07741009443998337, 0.8875505328178406, -0.6453706622123718, 0.08268464356660843, 0.02384173683822155, 0.1719617396593094, 0.3817307651042938, 0.34174802899360657, 0.5769988298416138, -0.5211012363433838, -0.034004561603069305, -0.5558526515960693, -1.2377521991729736, -0.1291947364807129, -0.22030365467071533, -0.07901149243116379, 0.23559772968292236, 0.905526876449585, -0.9514038562774658, 0.5884960889816284, 0.09703096747398376, -0.3815286159515381, 0.7070137858390808, -0.19914229214191437, 0.06771814823150635, -0.8311147689819336, -0.15318293869495392, -0.1398676037788391, -0.08613981306552887, -0.5629866123199463, -0.7046751976013184, -0.23302647471427917, 0.5148467421531677, -0.5118684768676758, 0.5358617901802063, -0.32987961173057556, -0.018635299056768417, 0.024495895951986313, 0.16745968163013458, -0.07415267825126648, 0.3435613214969635, 0.2700829803943634, 0.3282549977302551, 0.3303004205226898, -0.9935776591300964, -0.026474008336663246, 0.2091822773218155, -0.32681146264076233, 0.5687538981437683, -0.5823078155517578, -0.2588801085948944, -0.35982656478881836, 0.27738288044929504, -1.1010234355926514, -0.039566803723573685, 0.20081351697444916, -0.35821834206581116, 0.19931724667549133, -0.18221303820610046, -0.6482965350151062, -0.25512760877609253, 0.0006901011220179498, 0.25769099593162537, 0.36283424496650696, -0.6574362516403198, 0.22566722333431244, 0.3534003794193268, 0.18546050786972046, -0.45253464579582214, -0.9577509164810181, -0.32587501406669617, -0.45571422576904297, -0.32539132237434387, 0.09266366064548492, 0.029473507776856422, -0.6016402244567871, 0.05455005541443825, -0.17933449149131775, -0.10400526970624924, 0.10474619269371033, 0.6054795980453491, 0.21146000921726227, -0.2219226062297821, 0.403889000415802, -0.2067851573228836, -0.09073790907859802, 0.5790265798568726, 0.13752229511737823, 0.018130633980035782, 0.510301947593689, -0.5271798968315125, -0.16541536152362823, 0.012761814519762993, 0.3546868562698364, 0.5442970395088196, 0.9303350448608398, 0.21881403028964996, -0.5229368209838867, -0.17819100618362427, -0.4996206760406494, -0.4143293797969818, -0.38288360834121704, 0.1368882656097412, -0.17339375615119934, -0.6123092174530029, 0.6208541393280029, -0.2459288239479065, -0.23048105835914612, 0.530799925327301, 0.43785303831100464, -0.44551175832748413, 0.555571436882019, 0.2786451578140259, 0.07990190386772156, 0.30549880862236023, -0.16857941448688507, -0.03142951428890228, -0.6327457427978516, -0.36334019899368286, -0.41766366362571716, -0.047931015491485596, -0.7573462724685669, -0.20788508653640747, 0.2100324183702469, 0.17007207870483398, -0.5727202296257019, 0.0637878030538559, 0.25884416699409485, 0.3365178108215332, 0.46825867891311646, 0.42346352338790894, 0.4511994421482086, 0.12083287537097931, -0.17108826339244843, -0.3041820526123047, -0.8510217666625977, -0.37786397337913513, 0.9949811100959778, 0.050493061542510986, 0.9330254793167114, 0.16295172274112701, 0.543967068195343, 0.05608530715107918, 0.5258565545082092, -0.3127192556858063, 0.5003699064254761, 0.1109975054860115, -0.9444763660430908, -0.24602346122264862, -0.6386281251907349, -0.9833219051361084, 0.2473079264163971, -0.3389591574668884, -0.8085558414459229, 0.27482935786247253, 0.23738440871238708, -0.057336531579494476, 0.303092896938324, -0.4706363081932068, 0.5512856245040894, -0.09514006972312927, -0.7130026817321777, -0.10541843622922897, -0.8238435387611389, 0.7650997042655945, 0.03483564779162407, 0.40468892455101013, -0.30985692143440247, 0.26081952452659607, 0.9682357311248779, -0.7352673411369324, 1.196711778640747, -0.06026855856180191, -0.01924029178917408, 0.5242946147918701, 0.23577359318733215, 0.5119432806968689, 0.320277601480484, 0.053738564252853394, 0.20727838575839996, -0.016553498804569244, -0.22845853865146637, -0.6873137354850769, 0.6108716130256653, -0.798264741897583, -0.6874603033065796, -0.6004291772842407, -0.47177839279174805, -0.23449692130088806, 0.30974113941192627, 0.35083022713661194, 0.3551580011844635, -0.3692404329776764, -0.21595744788646698, 0.5462847948074341, -0.04863659664988518, 0.6321346759796143, 0.7802721858024597, -0.1761784553527832, -0.36440351605415344, 0.5127409100532532, 0.3016728162765503, 0.27498960494995117, 0.5520600080490112, 0.3035123646259308, -0.40387657284736633, -0.38187652826309204, 0.1509738713502884, 0.6715941429138184, -0.8112714290618896, 0.06118204444646835, -0.4961271584033966, -0.1265871524810791, -0.05694645643234253, 0.07067238539457321, -0.16006998717784882, -0.48565077781677246, -0.49832668900489807, -0.3097449541091919, 0.35344114899635315, 0.8503100275993347, -0.1280781328678131, 0.274625301361084, -0.8326744437217712, 0.5003414154052734, 0.35961413383483887, -0.14120633900165558, 0.0301480945199728, -0.5662062168121338, 0.03493855148553848, -0.06889370083808899, -0.14163640141487122, -0.9823399186134338, 0.05836859345436096, -0.08232253789901733, 0.7908626794815063, 0.6054635047912598, 0.223084956407547, 0.8734965920448303, -0.7700506448745728, 0.6443497538566589, 0.24315091967582703, -0.49874311685562134, 0.42231327295303345, -0.4566435217857361, -0.06404676288366318, 0.32877859473228455, 0.6592949628829956, -0.16720403730869293, -0.47657161951065063, -0.9497742652893066, -0.6141586303710938, 0.7076468467712402, 0.152478888630867, -0.1503983587026596, -0.4764900803565979, 0.6209248900413513, 0.010549664497375488, 0.30466780066490173, -0.993216335773468, -0.6797913908958435, 0.24927979707717896, 0.040243327617645264, -0.27593162655830383, -0.5662534236907959, -0.31644201278686523, -0.10968014597892761, 0.48713159561157227, 0.3373107314109802, 0.06420659273862839, 0.5703440308570862, -0.3479507267475128, -0.1985986977815628, -0.11915496736764908, 0.6421034932136536, 1.1530702114105225, -0.20408691465854645, 0.7029992341995239, 0.32783210277557373, -0.3392593264579773, 0.316859632730484, -0.020526453852653503, -0.41968870162963867, 0.10426938533782959, 0.9412268996238708, 0.6377280354499817, 0.5136132836341858, -0.3179920017719269, 0.2982013523578644, 0.029635122045874596, -0.1189255341887474, -0.21546101570129395, 0.016139118000864983, 0.39447030425071716, 0.32009193301200867, 0.14668218791484833, -0.008017807267606258, -0.15330515801906586, -0.7313287854194641, 0.3036489188671112, 0.31613805890083313, -0.2049974501132965, -0.44746652245521545, 0.8143106698989868, -0.0973670557141304, -0.04205293580889702, 0.46007266640663147, 0.09649181365966797, -0.2876582145690918, 0.7395296096801758, 0.7934437394142151, 0.4988625943660736, -0.28598251938819885, 0.05427246540784836, 0.6678106784820557, 0.45648330450057983, -0.04029529169201851, 0.2599911689758301, 0.20342350006103516, -0.8409948945045471, -0.22497111558914185, -0.2759174108505249, -0.29907381534576416, 0.09925514459609985, -0.47488000988960266, 0.19056165218353271, -0.3202970325946808, -0.3475736677646637, -0.21980798244476318, -0.24199949204921722, -0.45241284370422363, 0.2525804340839386, -0.06690014153718948, 0.5163967609405518, -1.0527948141098022, 0.6396510601043701, 0.2941291630268097, -0.4412758946418762, -0.5827746391296387, -0.09075864404439926, 0.07758702337741852, -0.7657548189163208, 1.1200090646743774, -0.016933705657720566, -0.15646159648895264, -0.2833388149738312, -0.37119773030281067, -0.8374627232551575, 1.103756070137024, 0.6131762266159058, -0.5800343751907349, -0.13305652141571045, 0.3263361155986786, 0.384235143661499, -0.10452291369438171, 0.3183329701423645, 0.3534623980522156, 0.3182576298713684, 0.21358555555343628, -0.527006983757019, 0.3895021378993988, 0.25015735626220703, -0.2691350281238556, 0.08694982528686523, -0.606350839138031, 1.0043810606002808, -0.5943245887756348, -0.34467554092407227, -0.4567003846168518, 0.4939309358596802, 0.5357067584991455, 0.8531069159507751, 0.4185495376586914, 0.5917134284973145, 0.7508344054222107, 0.039681900292634964, 0.9845035672187805, 0.022737089544534683, 0.2598852813243866, 1.4984040260314941, -0.3269246816635132, 0.48077136278152466, 0.8128313422203064, -0.5328983664512634, 0.5447462797164917, 0.8106962442398071, 0.2046213448047638, 0.571511447429657, 0.19863975048065186, -0.021863626316189766, -0.27192747592926025, 0.18206444382667542, -0.38489770889282227, 0.027932332828640938, 0.44151878356933594, -0.5135668516159058, -0.3053116798400879, -0.5581466555595398, 0.4117608070373535, 0.007085074670612812, -0.2299753725528717, 0.7564249038696289, 0.5440189242362976, -0.6001970171928406, 0.37524110078811646, -0.4719032049179077, 0.06946326792240143, -0.5426540374755859, 0.010731407441198826, -0.21606028079986572, 0.2775428295135498, -0.31907206773757935, -0.41541042923927307, 0.49694859981536865, -0.3309831917285919, -0.3452235162258148, 0.07052472233772278, 0.5984172821044922, -0.35478267073631287, -0.6228621602058411, 0.3832674026489258, 0.782314121723175, 0.09875762462615967, 0.23430374264717102, -0.42240405082702637, -0.3901619613170624, -0.2102237045764923, -0.4735376834869385, 0.24706068634986877, 0.6721639037132263, -0.24750180542469025, 0.6110020279884338, 0.5669220685958862, 0.11081277579069138, 0.26235905289649963, 0.06311763823032379, 0.6886783242225647, -0.8687224984169006, -0.3764190673828125, -1.439183235168457, 0.1981414556503296, 0.05814645439386368, -0.07745662331581116, 1.1008323431015015, 0.3211546540260315, 0.6694883108139038, -0.19327157735824585, 0.6449335813522339, 0.30828574299812317, 0.5743156671524048, -0.9243283271789551, 0.6275662183761597, -0.3978637456893921, 0.38645732402801514, -0.31516537070274353, -0.6713199615478516, -0.28263765573501587, 0.1961754709482193, -0.7320444583892822, 0.013916381634771824, 1.1432191133499146, 0.62957763671875, 0.12582489848136902, -0.08155834674835205, 0.1997651904821396, 0.42778897285461426, 0.1806703805923462, 0.6144386529922485, 1.09023916721344, -0.3447708487510681, 0.4342755079269409, 0.005862201098352671, 0.2159276306629181, -0.10068480670452118, -1.0363324880599976, -1.3053935766220093, -0.4106496572494507, -0.5094354748725891, -0.26028794050216675, -0.08914437890052795, 0.3094466030597687, 0.2822198271751404, -0.5625250935554504, -0.14112670719623566, -0.36419355869293213, 0.8124717473983765, 0.11475583165884018, -0.19929930567741394, 0.4304032623767853, -0.1324041336774826, -0.30419936776161194, 0.17111334204673767, 0.06246011331677437, 0.3852187693119049, 0.22511599957942963, 0.021250851452350616, -0.45134416222572327, 0.2199256420135498, 0.5116739273071289, 0.13282400369644165, -0.6091557741165161, -0.3332098722457886, -0.3207401633262634, -0.07221542298793793, -0.01963495835661888, 1.0674914121627808, -0.6981552839279175, 0.11377999186515808, 0.5993068218231201, 0.14776700735092163, 0.5701612830162048, 0.0014676814898848534, 0.44291797280311584, -0.6293123960494995, 0.27955642342567444, -0.1973189115524292, 0.5542404651641846, 0.14349104464054108, -0.3833068609237671, 0.4802556037902832, 0.8488637208938599, -0.5197112560272217, -0.8123816251754761, 0.3985752761363983, -0.5284092426300049, -0.38955986499786377, 0.9909749031066895, -0.3652207553386688, -0.3922761082649231, -0.19222775101661682, 0.14510196447372437, 0.4854111075401306, 0.17647337913513184, 0.7162185907363892, 0.717345654964447, -0.502528727054596, 0.09199125319719315, -0.6561518907546997, 0.5513205528259277, 0.15922409296035767, -0.8039622902870178, 0.024860799312591553, 0.551150381565094, 0.4174864888191223, 0.04825349152088165, 0.9193860292434692, 0.018896745517849922, 0.13456608355045319, 0.215498149394989, -0.48527786135673523, -0.022505681961774826, -0.13906729221343994, 0.18325099349021912, -0.019153239205479622, -0.006039865780621767, -0.10968942195177078 ]
http://arxiv.org/abs/2406.15487v1
http://arxiv.org/pdf/2406.15487v1
Improving Text-To-Audio Models with Synthetic Captions
2024-06-18T00:02:15
2024-06-18T00:02:15
Zhifeng Kong, Sang-gil Lee, Deepanway Ghosal, Navonil Majumder, Ambuj Mehrish, Rafael Valle, Soujanya Poria, Bryan Catanzaro
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS
It is an open challenge to obtain high quality training data, especially captions, for text-to-audio models. Although prior methods have leveraged \textit{text-only language models} to augment and improve captions, such methods have limitations related to scale and coherence between audio and captions. In this work, we propose an audio captioning pipeline that uses an \textit{audio language model} to synthesize accurate and diverse captions for audio at scale. We leverage this pipeline to produce a dataset of synthetic captions for AudioSet, named \texttt{AF-AudioSet}, and then evaluate the benefit of pre-training text-to-audio models on these synthetic captions. Through systematic evaluations on AudioCaps and MusicCaps, we find leveraging our pipeline and synthetic captions leads to significant improvements on audio generation quality, achieving a new \textit{state-of-the-art}.
[ -0.5046629309654236, -0.44157874584198, 0.3566000461578369, 0.14753055572509766, -0.33231621980667114, 0.5246297717094421, -0.3254702687263489, -0.44631218910217285, 0.4886874556541443, 0.4838159680366516, -0.92286616563797, -0.41230812668800354, -0.4747801721096039, 0.29066380858421326, -0.7289878726005554, 1.003741979598999, -0.0013560655061155558, 0.25585922598838806, -0.12196606397628784, -0.1887131929397583, -0.8744749426841736, -0.18768657743930817, -0.6921050548553467, 0.040361564606428146, 0.17610540986061096, 0.4855077266693115, 0.5052534341812134, 0.6784992218017578, 0.49696382880210876, 0.1607777625322342, 0.1819458305835724, 0.3790584206581116, -0.18674474954605103, 0.2265423983335495, 0.09283550083637238, -0.2052699327468872, -0.5418288707733154, 0.27586060762405396, 0.637528657913208, 0.4871615171432495, -0.07993031293153763, 0.24662645161151886, -0.30723223090171814, 0.4590553045272827, -0.2397899329662323, 0.1599315106868744, -0.6955268979072571, 0.15721075236797333, 0.10847961157560349, -0.463598370552063, -0.48471909761428833, 0.0873817577958107, 0.33424022793769836, -0.9286304116249084, 0.5248262882232666, 0.5812419652938843, 0.7383338212966919, 0.45839303731918335, -0.15503409504890442, -0.22139154374599457, -0.9602852463722229, 0.7394747138023376, -0.7532861828804016, 0.599198043346405, 0.14634214341640472, 0.7345882654190063, 0.39483919739723206, -0.9918414354324341, -0.568426787853241, -0.27149131894111633, 0.024166930466890335, 0.13731297850608826, 0.07167478650808334, 0.033908914774656296, 0.2075360268354416, 0.92140793800354, -0.2795933783054352, -0.1076917052268982, -0.5033215880393982, -0.3451729118824005, 0.8608742356300354, -0.05981786176562309, 0.6456801891326904, 0.06945012509822845, -0.30448558926582336, -0.43422365188598633, -0.6988039016723633, -0.23800599575042725, 0.49261680245399475, 0.5338137745857239, -0.3319884240627289, 0.6792818903923035, -0.13129922747612, 0.4445524513721466, 0.17511792480945587, 0.24217896163463593, 0.346760630607605, -0.6396733522415161, -0.15630783140659332, 0.2711790204048157, 0.7881600856781006, 0.3526531755924225, 0.37707027792930603, -0.40189480781555176, -0.38955795764923096, 0.12015987187623978, 0.38556376099586487, -0.5899261832237244, -0.48463162779808044, 0.42359521985054016, -0.14309494197368622, -0.26598280668258667, 0.1901434063911438, -0.5902659893035889, -0.16947004199028015, -0.826484739780426, 0.6999523639678955, -0.3361917734146118, -0.24466979503631592, 0.009096297435462475, -0.38212326169013977, -0.09357713162899017, 0.03533640131354332, -1.0205161571502686, 0.3456329107284546, 0.32910504937171936, 0.8971114158630371, -0.28512752056121826, 0.036725450307130814, -0.9721705913543701, 0.19631949067115784, -0.28320273756980896, 0.8241565823554993, -0.3443846106529236, -0.18414953351020813, 0.10261718183755875, -0.2961215376853943, 0.2750455141067505, -0.6258611083030701, 0.4853488504886627, -0.20687708258628845, 0.3627040684223175, 0.002380714751780033, -0.5970078706741333, 0.057276103645563126, -0.039797890931367874, -0.9427334070205688, 0.7991595268249512, 0.03891860321164131, -0.4776659607887268, 0.5631711483001709, -0.9954870343208313, -0.6055134534835815, -0.1376301795244217, 0.016320768743753433, -0.5534836053848267, 0.15058286488056183, 0.7540614008903503, 0.33251121640205383, -0.3183787763118744, 0.39030545949935913, 0.02460819110274315, -0.4291171431541443, 0.23907753825187683, -0.4992339313030243, 0.32889237999916077, 0.18949933350086212, -0.06704527139663696, 0.31952956318855286, -0.9387828707695007, -0.17498096823692322, -0.06906064599752426, -0.13705119490623474, -0.015417000278830528, -0.03180215507745743, 0.5658266544342041, -0.19822952151298523, -0.11995392292737961, -0.6808715462684631, -0.24406488239765167, -0.6979109644889832, 0.9068567752838135, 0.44137337803840637, 0.03228187933564186, 0.8577912449836731, -0.6131526827812195, 0.5410996675491333, -0.218193918466568, -0.09734288603067398, -0.6322593688964844, -0.17506326735019684, -0.6509996652603149, -0.7032161951065063, 0.5317776799201965, 0.371019184589386, -0.43440937995910645, 0.5395628213882446, -0.40002354979515076, -0.459238737821579, -0.7928736209869385, -0.1049942672252655, -0.012873389758169651, 0.20369312167167664, 0.6315597295761108, -0.48769673705101013, -0.8379946351051331, -0.7537142038345337, -0.23922744393348694, -0.0052412450313568115, -0.4279264211654663, 0.3347815275192261, 0.09431169927120209, -0.20474733412265778, 1.328006386756897, -0.2388543337583542, -0.4283141493797302, -0.03989099711179733, 0.23105427622795105, 0.06175120919942856, 0.7277565598487854, 0.4789282977581024, -0.7469452619552612, -0.3674181401729584, -0.23743069171905518, -0.4326689541339874, -0.20510032773017883, -0.2809910178184509, -0.14488744735717773, -0.14856477081775665, 0.7520520091056824, -0.657400906085968, -0.24051658809185028, 0.6546005010604858, -0.03272010013461113, 0.6353642344474792, 0.14077657461166382, 0.22599609196186066, -1.1643329858779907, 0.02825894206762314, -0.17940892279148102, -0.47265681624412537, -0.5863413214683533, -0.11633524298667908, -0.33932244777679443, -0.4952079951763153, -0.5396807789802551, 0.6410703659057617, -0.4416169226169586, -0.2950729727745056, -0.07264280319213867, 0.16756010055541992, 0.12015503644943237, 0.3948763310909271, 0.3353351652622223, 0.861154317855835, 0.6167613863945007, -0.18880918622016907, 0.5100703239440918, 0.45385828614234924, -0.492292582988739, 0.43181243538856506, -0.6279420852661133, 0.12175409495830536, -0.03954390063881874, 0.36324912309646606, -1.2289220094680786, -0.407439649105072, -0.05358467996120453, -0.6757680177688599, 0.5347920656204224, 0.04685557633638382, -0.588117778301239, -0.08034363389015198, -0.09258817136287689, 0.5946139693260193, 0.37855544686317444, -0.7105228900909424, 0.7362780570983887, 0.35452088713645935, -0.3116501271724701, -0.15810972452163696, -0.6021327376365662, 0.24703143537044525, -0.33977848291397095, -0.5437898635864258, 0.43893709778785706, -0.14774399995803833, -0.0006559034809470177, -0.2745104134082794, -0.3310823440551758, -0.35669514536857605, -0.3567490577697754, 0.090475894510746, 0.17579399049282074, -0.3352358937263489, 0.2855112850666046, 0.4688679277896881, -0.006455067545175552, 0.20755521953105927, -0.4971248507499695, 0.49167370796203613, 0.16510994732379913, -0.0372990220785141, -0.5647016167640686, 0.37131595611572266, 0.6570960879325867, -0.5916204452514648, 0.30348774790763855, 0.43515124917030334, -0.23181870579719543, -0.40596383810043335, -0.4994626045227051, -0.7857725620269775, -0.4855920374393463, 0.3121229410171509, -0.1095099076628685, -0.8767269849777222, 0.2784692049026489, -0.08810108155012131, 0.36259377002716064, 0.3646779954433441, 0.2524128258228302, -0.5055379867553711, 1.0062059164047241, 0.28434962034225464, 0.15932923555374146, 0.6521459817886353, -0.5488051176071167, 0.09975611418485641, -0.6061991453170776, -0.02833518013358116, -0.36066341400146484, -0.22995586693286896, -0.5288071632385254, -0.42410510778427124, 0.27464956045150757, -0.418712854385376, -0.4679963290691376, 0.7095761299133301, -0.5162026882171631, 0.428645521402359, 0.6139351725578308, 0.20559290051460266, 0.36555299162864685, 0.5958526134490967, 0.09885619580745697, -0.06797522306442261, -0.7829179167747498, -0.27067482471466064, 1.2884116172790527, 0.6173774003982544, 0.45536816120147705, -0.08880215883255005, 0.6142022013664246, 0.6568595170974731, 0.3308955430984497, -0.7531687617301941, 0.154418483376503, -0.29817861318588257, -0.8262012600898743, -0.6052734851837158, -0.36124005913734436, -0.4855901896953583, -0.016695646569132805, -0.5923498868942261, -0.17285166680812836, -0.16587379574775696, 0.17864179611206055, -0.3350384533405304, 0.08685730397701263, -0.5486516952514648, 0.8471558690071106, 0.025341207161545753, 0.00932257529348135, -0.01618216186761856, -0.5811435580253601, 0.09508568793535233, -0.22330717742443085, 0.3817102015018463, -0.07525663077831268, 0.22466909885406494, 0.6847582459449768, -0.4594477713108063, 0.6208415031433105, -0.03178931400179863, -0.2202165573835373, 0.6777751445770264, 0.034941304475069046, 0.2318691909313202, 0.22931568324565887, 0.23613907396793365, 0.3707306981086731, 0.006349295377731323, -0.26161259412765503, -0.5516570806503296, 0.3886042535305023, -0.7347404360771179, -0.2723923623561859, -0.10098890215158463, -0.9828362464904785, -0.5177345275878906, 0.07392321527004242, 0.37556543946266174, 0.7428054213523865, -0.08563858270645142, 0.32107123732566833, 0.5165542364120483, -0.33114752173423767, 0.46838676929473877, 0.22337986528873444, -0.013081671670079231, -0.8871456384658813, 0.7839604020118713, -0.19328546524047852, 0.5505703687667847, 0.5835933089256287, 0.10953212529420853, -0.6591852307319641, -0.522123396396637, -0.6754008531570435, 0.16546836495399475, -0.3707909882068634, -0.18821607530117035, -0.5204228758811951, -0.24817772209644318, -0.4254910349845886, -0.02944149263203144, -0.7481902837753296, -0.6545665860176086, -0.21282126009464264, -0.33011043071746826, 0.503951907157898, 0.0935579389333725, -0.14536768198013306, 0.6287881731987, -1.0843297243118286, 0.5221393704414368, 0.31869181990623474, 0.2646277844905853, -0.28667354583740234, -0.7464994788169861, -0.2947827875614166, 0.263231098651886, -0.03711851313710213, -0.5777400732040405, 0.45939749479293823, 0.45380479097366333, 0.16468580067157745, 0.049613479524850845, 0.15503863990306854, 0.30204397439956665, -0.7960377931594849, 0.7936962842941284, 0.4379286766052246, -1.0048414468765259, 0.6032707691192627, -0.7369232177734375, 0.23584994673728943, 0.6061214208602905, -0.11416973173618317, -0.36586207151412964, -0.673407256603241, -0.39936158061027527, -0.8768338561058044, 0.4376569092273712, 0.716269850730896, 0.6005170345306396, 0.13276222348213196, 0.23232585191726685, 0.17371176183223724, 0.44169968366622925, -0.9049932360649109, -0.07152865827083588, -0.572645902633667, -0.5104358792304993, -0.23833920061588287, 0.19301708042621613, -0.10607190430164337, -0.1283528208732605, 0.7485364675521851, -0.14556051790714264, 0.27461549639701843, 0.12708638608455658, 0.10656259208917618, -0.271885484457016, 0.20404145121574402, 0.3937722146511078, 0.2515096664428711, -0.26688820123672485, -0.10681496560573578, 0.11436629295349121, -0.3791493773460388, 0.35260167717933655, 0.037491682916879654, 0.026463782414793968, 0.12191858142614365, 0.5087860822677612, 0.9433117508888245, 0.10866592824459076, -0.9502126574516296, 0.3552300035953522, 0.11407048255205154, -0.24438902735710144, -0.6011558175086975, 0.039110030978918076, -0.012869196012616158, -0.0514410100877285, 0.2751903533935547, 0.38971981406211853, 0.2522050738334656, -0.5603503584861755, 0.4265696108341217, 0.040194086730480194, -0.5817946195602417, 0.008867728523910046, 0.9746524095535278, 0.520348310470581, -0.37746280431747437, 0.613817572593689, 0.3598824441432953, -0.015520735643804073, 0.6005690097808838, 0.4316014051437378, 1.0167852640151978, -0.07190723717212677, 0.09626514464616776, 0.5746524930000305, 0.266928106546402, -0.13034819066524506, 0.04313354939222336, -0.2667253911495209, -0.5359205007553101, -0.8068758249282837, -0.6596723198890686, -0.48984065651893616, 0.13951978087425232, -0.5252718329429626, 0.51520174741745, -0.39436569809913635, -0.09990806877613068, -0.09663205593824387, -0.40710872411727905, -0.3874853849411011, 0.6724978089332581, -0.004124846775084734, 0.86453777551651, -1.0887361764907837, 0.3842654228210449, 0.5833863019943237, -0.609769880771637, -0.8118094205856323, -0.01700272597372532, -0.4202468991279602, -0.23749035596847534, 0.2547098994255066, 0.40694499015808105, 0.09744010120630264, 0.1317393034696579, -0.6733190417289734, -0.7787535786628723, 0.9019057750701904, 0.3466043472290039, -0.9659562706947327, -0.03754820674657822, 0.586406409740448, 0.7235044240951538, -0.6753441095352173, -0.13766157627105713, 0.4666564166545868, 0.4370042085647583, 0.17543677985668182, -0.9092022776603699, -0.2758241891860962, -0.11031730473041534, -0.2899920642375946, 0.02841012179851532, -0.22889064252376556, 0.5435791611671448, 0.03336869180202484, -0.1427270472049713, 0.29848846793174744, 0.8367617726325989, 0.3629445433616638, 0.4110250473022461, 0.7784115076065063, 0.47875475883483887, 0.2260553389787674, -0.29418736696243286, 1.0235469341278076, -0.1434493213891983, 0.2101234346628189, 1.323848009109497, 0.14235487580299377, 0.8141773343086243, 0.4884210228919983, 0.0025391618255525827, 0.34273919463157654, 0.6617152690887451, -0.24306458234786987, 0.7399654388427734, 0.3877086341381073, -0.24024583399295807, -0.43309006094932556, -0.13196103274822235, 0.007056036032736301, 0.5278642773628235, 0.023255791515111923, -0.5263878107070923, 0.2599713206291199, 0.2368306964635849, -0.4694075584411621, 0.4218057692050934, -0.10295022279024124, 0.6622210741043091, 0.060790061950683594, -0.4827747344970703, 0.3176005184650421, -0.28441932797431946, 0.5431906580924988, -0.2661386728286743, -0.13139700889587402, -0.03353190794587135, -0.2545802891254425, -0.0463343970477581, -0.441333532333374, 0.376274049282074, 0.15909676253795624, -0.5201302766799927, -0.20362338423728943, 0.2681311368942261, -0.8714606761932373, -0.5677952170372009, 0.11191646754741669, 0.1925683170557022, 0.05100467801094055, -0.315173476934433, -0.21253445744514465, -0.08589468896389008, -0.17815124988555908, 0.24780552089214325, -0.24797582626342773, 0.1458440124988556, 0.10809314250946045, 0.37771111726760864, 0.9390325546264648, 0.27405038475990295, 0.0007093584863469005, 0.43770459294319153, 0.3848974108695984, -0.28770196437835693, -0.7327717542648315, -0.4536302089691162, 0.711493968963623, -0.05593554303050041, 0.1217740848660469, 0.28705617785453796, 0.791322648525238, 0.916771411895752, -0.49500635266304016, 0.9844913482666016, 0.1142139881849289, 0.7694758176803589, -0.676067590713501, 0.8800827264785767, -0.6929799318313599, 0.3354705572128296, -0.3919063210487366, -1.376552700996399, -0.3254048824310303, 0.3998534083366394, 0.1843227744102478, 0.032674893736839294, 0.4560542702674866, 0.7989664077758789, -0.45033836364746094, 0.23832783102989197, 0.13024328649044037, 0.1502619832754135, 0.3894420862197876, 0.17886291444301605, 0.81610107421875, -0.88729327917099, 0.7274525165557861, -0.14883337914943695, 0.06331419199705124, 0.14524079859256744, -0.8801053762435913, -0.871903121471405, -0.6611740589141846, -0.6542339324951172, -0.15727534890174866, 0.028337348252534866, 0.894611656665802, 1.027780294418335, -1.1770864725112915, -0.19988225400447845, -0.4124850034713745, -0.45053476095199585, -0.31388041377067566, -0.2526315152645111, 0.26014697551727295, -0.25510889291763306, -1.0891000032424927, 0.6745379567146301, -0.01580425538122654, 0.2831144630908966, -0.19154764711856842, -0.22542521357536316, 0.18643313646316528, 0.4480553865432739, 0.6050682067871094, 0.10049428045749664, -0.5432772040367126, -0.45288407802581787, -0.019698455929756165, 0.282981276512146, 0.14546775817871094, 0.7940260767936707, -0.36215740442276, 0.7125828266143799, 0.45475083589553833, 0.5700704455375671, 0.7115903496742249, -0.11759398132562637, 1.0353795289993286, -1.2045152187347412, -0.026639148592948914, 0.21818746626377106, 0.17697098851203918, 0.6636529564857483, 0.026581158861517906, 0.5774917006492615, 0.15781505405902863, -0.32318341732025146, -0.9169507026672363, -0.038813162595033646, -1.2185478210449219, 0.09285112470388412, 1.1535924673080444, 0.09252814948558807, 0.3096212148666382, 0.27140310406684875, -0.5830886960029602, 0.6187808513641357, -0.534863293170929, 0.8227784633636475, 0.5885891914367676, 0.2638314366340637, -0.3083045482635498, -0.4730430245399475, 0.6908292770385742, 0.34310227632522583, -0.7499324679374695, 0.11583097279071808, 0.7871774435043335, 0.27554550766944885, 0.2887004017829895, 0.11077935248613358, -0.2079053372144699, 0.4969184696674347, 0.02552935853600502, -0.021435679867863655, -0.3994455933570862, -0.6400324106216431, -0.019438453018665314, -0.010270830243825912, -0.25516462326049805, -0.4457458257675171 ]
http://arxiv.org/abs/2406.12141v1
http://arxiv.org/pdf/2406.12141v1
A dual task learning approach to fine-tune a multilingual semantic speech encoder for Spoken Language Understanding
2024-06-17T23:07:53
2024-06-17T23:07:53
Gaëlle Laperrière, Sahar Ghannay, Bassam Jabaian, Yannick Estève
cs.CL
cs.CL, cs.SD, eess.AS
Self-Supervised Learning is vastly used to efficiently represent speech for Spoken Language Understanding, gradually replacing conventional approaches. Meanwhile, textual SSL models are proposed to encode language-agnostic semantics. SAMU-XLSR framework employed this semantic information to enrich multilingual speech representations. A recent study investigated SAMU-XLSR in-domain semantic enrichment by specializing it on downstream transcriptions, leading to state-of-the-art results on a challenging SLU task. This study's interest lies in the loss of multilingual performances and lack of specific-semantics training induced by such specialization in close languages without any SLU implication. We also consider SAMU-XLSR's loss of initial cross-lingual abilities due to a separate SLU fine-tuning. Therefore, this paper proposes a dual task learning approach to improve SAMU-XLSR semantic enrichment while considering distant languages for multilingual and language portability experiments.
[ -0.14695002138614655, -0.5047366619110107, 0.41120925545692444, -0.17609848082065582, -0.39602699875831604, 0.17445708811283112, -0.4737820327281952, -0.5914136171340942, 0.11373800039291382, 0.5007254481315613, -0.7458643913269043, -0.24911801517009735, -0.6758849024772644, 0.14245107769966125, 0.19865655899047852, 0.9058490991592407, 0.04984765499830246, 0.42779088020324707, -0.1670318841934204, -0.35096660256385803, -0.45508232712745667, -0.3929451107978821, -0.7933189868927002, -0.17815150320529938, 0.4282016158103943, 0.4871382415294647, 0.4441739618778229, 0.4292331337928772, 0.14524632692337036, 0.2828728258609772, -0.12796145677566528, 0.3168676197528839, -0.39185309410095215, 0.2689428925514221, -0.5058842301368713, -0.4568820595741272, -0.12047027796506882, -0.35138389468193054, 0.9510008692741394, 0.529569149017334, 0.08283887058496475, 0.35054275393486023, 0.19572113454341888, 0.46152955293655396, -0.5516983270645142, 0.4381712079048157, -0.8780019283294678, 0.01722467876970768, -0.2937600314617157, 0.005113440100103617, -0.40684783458709717, 0.32215169072151184, -0.10673241317272186, -0.4622690975666046, 0.11245490610599518, -0.4517311453819275, 0.79250168800354, 0.6244895458221436, -0.7043271660804749, -0.27072030305862427, -0.632818877696991, 1.012244701385498, -0.471819132566452, 0.8994148373603821, 0.38923314213752747, 0.21019022166728973, 0.23481158912181854, -0.44074952602386475, -0.33451008796691895, -0.18331779539585114, -0.3393821120262146, 0.27201515436172485, -0.03611517325043678, -0.04495302960276604, 0.0017279167659580708, 0.05871296674013138, -0.6549758911132812, 0.16519205272197723, -0.3868291676044464, -0.20161885023117065, 0.6486807465553284, 0.011272873729467392, 0.3360012471675873, -0.23093119263648987, -0.3248368799686432, 0.012257016263902187, -0.5176701545715332, 0.17669327557086945, 0.2715061902999878, 0.7285338044166565, -0.10344868153333664, 0.357021301984787, -0.07962064445018768, 0.5956844091415405, -0.015705911442637444, -0.3068147301673889, 0.45623666048049927, -0.6452412605285645, -0.0373275987803936, 0.2667393386363983, 0.40231597423553467, -0.21647930145263672, -0.19919513165950775, -0.41944122314453125, -0.08361129462718964, 0.2779722809791565, 0.16691507399082184, -0.39763143658638, 0.19163984060287476, 0.13708744943141937, -0.19931316375732422, 0.2988962233066559, -0.027453329414129257, -0.30907610058784485, 0.16434040665626526, -0.8687992095947266, 0.5361939668655396, -0.405739426612854, -0.5076556205749512, -0.005067203659564257, -0.02262960374355316, -0.026604823768138885, 0.000047303874453064054, -0.80538010597229, 0.30428263545036316, 0.6846580505371094, 0.5766183137893677, -0.12409057468175888, -0.5408067107200623, -0.9108998775482178, 0.5182429552078247, 0.1492132544517517, 0.46603792905807495, -0.5621414184570312, -0.26481106877326965, -0.3094378113746643, 0.25848764181137085, -0.3337799310684204, -0.3476497530937195, 0.5376449823379517, -0.36442768573760986, -0.14151979982852936, -0.15793411433696747, -0.3298841714859009, -0.22289228439331055, -0.27181363105773926, -0.45765915513038635, 0.9108555912971497, 0.050874724984169006, -0.5817214250564575, 0.5591429471969604, -0.4939205050468445, -0.7272244691848755, 0.15300743281841278, -0.3966546654701233, -0.34259167313575745, 0.015908313915133476, 0.0767916664481163, 0.55423504114151, 0.1822541058063507, 0.3643127381801605, -0.024485575035214424, -0.34844085574150085, 0.01929817907512188, -0.06362968683242798, 0.6600399613380432, 0.37757229804992676, -0.4968971312046051, 0.1635512113571167, -0.6573464274406433, 0.19320791959762573, -0.08739471435546875, 0.0483415387570858, -0.6130358576774597, -0.12178774923086166, 0.0706699937582016, 0.4653652608394623, 0.3294471204280853, -0.8530712127685547, -0.48723772168159485, -0.39075401425361633, 0.609303891658783, 0.5301384329795837, -0.3454711437225342, 0.43987587094306946, 0.017955085262656212, 0.3152465224266052, 0.24007254838943481, -0.07741779088973999, -0.013651198707520962, -0.20548808574676514, -0.7095751762390137, -0.22252009809017181, 0.14958959817886353, 0.6832217574119568, -0.6378540396690369, 0.40182140469551086, -0.39155903458595276, -0.2594897150993347, -1.0051095485687256, 0.3582296073436737, 0.7445057034492493, 0.28781455755233765, 0.5970628261566162, -0.15870504081249237, -0.6262325644493103, -1.0129250288009644, -0.31502851843833923, 0.1547345221042633, 0.16284091770648956, 0.3161659836769104, 0.3790188431739807, -0.4962040185928345, 0.7942453026771545, -0.10248198360204697, -0.6593925356864929, -0.4645141661167145, 0.07459466904401779, -0.16241012513637543, 0.5509704947471619, 0.11843524873256683, -1.0505422353744507, -0.6419253349304199, 0.3710233271121979, -0.5980734825134277, 0.2619263529777527, -0.19442251324653625, -0.08670129626989365, 0.3621416389942169, 0.4032176733016968, -0.5486719608306885, 0.3437473773956299, 0.5786236524581909, -0.14482007920742035, 0.2636301517486572, -0.4475259482860565, 0.14746975898742676, -1.039955496788025, -0.11591906100511551, -0.043050527572631836, -0.2767944633960724, -0.8015468716621399, 0.34218427538871765, 0.37561726570129395, -0.22441832721233368, -0.40030041337013245, 0.3906177878379822, -0.5273370742797852, -0.1721552461385727, -0.31516048312187195, 0.510372519493103, -0.08568207174539566, 0.40852901339530945, 0.46199530363082886, 0.8482359647750854, 0.7098919153213501, -0.4602477252483368, -0.01901664026081562, 0.1760353147983551, -0.0142833786085248, 0.4288804829120636, -0.4690645933151245, 0.15359008312225342, -0.39355435967445374, 0.0832793265581131, -0.8937134742736816, 0.031018320471048355, 0.1168704554438591, -0.4142201840877533, 0.7277611494064331, -0.25170794129371643, -0.3121207654476166, -0.073267363011837, 0.184905543923378, 0.39578795433044434, 0.3921853303909302, -0.5221617221832275, 0.634268581867218, 0.5518105626106262, -0.2767932116985321, -0.7016147375106812, -1.062320590019226, 0.01641058549284935, -0.18527348339557648, -0.63362056016922, 0.41541850566864014, 0.09135080873966217, -0.1283530592918396, 0.02910344861447811, -0.16028918325901031, 0.08692251145839691, -0.1908065229654312, 0.3011666536331177, -0.04789319634437561, -0.2366591840982437, 0.34036481380462646, 0.5148329138755798, -0.3847346603870392, -0.03893672674894333, -0.4268449544906616, 0.18002545833587646, -0.28769606351852417, -0.41099438071250916, -0.7847262620925903, 0.5878656506538391, 0.12842418253421783, -0.5289416909217834, 0.7482413649559021, 0.7826926112174988, -0.04588055983185768, -0.09973068535327911, -0.6025280356407166, -0.13302825391292572, -0.4447490870952606, 0.3681085407733917, -0.9472141861915588, -1.1378501653671265, 0.3694927394390106, 0.017981691285967827, -0.09625563025474548, 0.4234907329082489, 0.3579994738101959, 0.1921636313199997, 0.7733438014984131, 0.5921347141265869, 0.018198950216174126, 0.17595863342285156, -0.19487227499485016, 0.12066152691841125, -0.7383354902267456, -0.1646522432565689, -0.4443804919719696, 0.0505661703646183, -0.6163592338562012, -0.5401614308357239, 0.16550900042057037, -0.20942287147045135, -0.07566240429878235, 0.5632254481315613, -0.2672612965106964, 0.2046179473400116, 0.4920385479927063, 0.33023375272750854, 0.3029279410839081, 0.044860292226076126, -0.24332286417484283, -0.21446476876735687, -0.6029189229011536, -0.3430650234222412, 0.6960490345954895, 0.20634205639362335, 0.5310516953468323, 0.16119277477264404, 0.9985525608062744, -0.007056318689137697, -0.3995738625526428, -0.42781516909599304, 0.42723584175109863, -0.5434916019439697, -0.3078508973121643, -0.6109327673912048, -0.6253171563148499, -0.8899974822998047, 0.6076425909996033, 0.10710360109806061, -0.610532283782959, -0.02354378253221512, 0.10662506520748138, -0.12395912408828735, 0.2224174439907074, -0.7916092276573181, 1.0172960758209229, -0.29919713735580444, -0.3649364411830902, -0.6666945815086365, -1.0444625616073608, 0.013470863923430443, -0.16869288682937622, 0.5920352935791016, -0.05256097391247749, -0.16336973011493683, 0.48294660449028015, 0.05440463870763779, 0.9503535628318787, -0.32177239656448364, -0.24404992163181305, -0.015528665855526924, -0.20541812479496002, 0.3844415545463562, 0.2662557065486908, -0.04890873283147812, 0.16559632122516632, 0.11216401308774948, -0.5120264291763306, -0.4016956388950348, 0.8137222528457642, -0.7840113043785095, -0.45432496070861816, -0.265026718378067, -0.4379168152809143, -0.29508814215660095, 0.04462600499391556, 0.17898523807525635, 0.5293383598327637, -0.013002138584852219, -0.12950251996517181, 0.688792884349823, -0.04708154872059822, 0.1555449217557907, 0.5696377754211426, 0.20210382342338562, -0.19967326521873474, 1.062696099281311, 0.06225334852933884, 0.5729870796203613, 0.6386286616325378, 0.04505746811628342, -0.3995736837387085, -0.45027104020118713, -0.7559619545936584, 0.5107491612434387, -0.6912515163421631, 0.006929205730557442, -0.7541112303733826, -0.13344848155975342, -0.6623463034629822, 0.13842326402664185, -0.3873271644115448, -0.33544960618019104, -0.5211726427078247, -0.03164805471897125, 0.15406443178653717, 0.5420738458633423, -0.25944405794143677, 0.059676069766283035, -0.9452961087226868, 0.3777083158493042, 0.0976216271519661, 0.161554753780365, -0.11656033247709274, -0.7147766351699829, -0.3381815254688263, 0.42960408329963684, 0.1995866894721985, -0.5503161549568176, 0.1798275262117386, 0.5705210566520691, 0.7893672585487366, 0.2585712969303131, 0.04745587334036827, 1.063598394393921, -0.6198441386222839, 0.6990821361541748, 0.1278211921453476, -1.065384030342102, 0.8174920082092285, -0.0065154111944139, 0.5849950313568115, 0.6550648212432861, 0.513572633266449, -0.6196051836013794, -0.6192821264266968, -0.5215501189231873, -0.5421006083488464, 0.9141760468482971, 0.07525505870580673, 0.1419016718864441, 0.09794562309980392, 0.2693055272102356, 0.5571740865707397, -0.18931844830513, -0.7199059128761292, -0.3441820740699768, -0.22016239166259766, 0.010667956434190273, -0.42092230916023254, -0.29078030586242676, 0.12736009061336517, -0.30127623677253723, 0.9167245030403137, -0.11673279851675034, -0.003907057922333479, 0.054642800241708755, -0.5338823199272156, -0.17872454226016998, 0.5771413445472717, 0.4656359851360321, 0.5970079898834229, 0.14909562468528748, 0.19704429805278778, 0.33169710636138916, -0.40906548500061035, 0.08809195458889008, 0.40590032935142517, -0.11704842001199722, 0.050405826419591904, 0.1032504066824913, 1.027913212776184, 0.5332118272781372, -0.7532033324241638, 0.2562256157398224, -0.0646471381187439, -0.022338103502988815, -0.41432157158851624, -0.06811916828155518, 0.07225315272808075, 0.14879560470581055, 0.25260186195373535, 0.02751452848315239, 0.166825070977211, -0.4825500249862671, 0.3665945827960968, 0.638533353805542, -0.5329951643943787, -0.23246361315250397, 0.6084191203117371, -0.06643246859312057, 0.1246466264128685, 0.2744767963886261, -0.5318974852561951, -0.35983484983444214, 0.22079098224639893, 0.6797114014625549, 0.6519094109535217, -0.5593586564064026, 0.18935047090053558, 0.35062387585639954, 0.09509662538766861, 0.2847907245159149, 0.29604360461235046, -0.5132742524147034, -0.5160920023918152, -0.6893210411071777, -0.6392508149147034, -0.11672192066907883, -0.15772153437137604, -0.8846265077590942, 0.2590477764606476, 0.3472089469432831, -0.08115226775407791, 0.08787038922309875, -0.07130002230405807, -0.49862930178642273, 0.20274238288402557, 0.22006505727767944, 0.4074896574020386, -0.7035527229309082, 1.1850115060806274, 0.8981464505195618, -0.24738462269306183, -0.6673518419265747, -0.19955919682979584, -0.10845797508955002, -0.6166994571685791, 1.1009674072265625, 0.14125896990299225, -0.672282874584198, -0.01674332469701767, 0.24547627568244934, -1.0824273824691772, 0.9746185541152954, 0.39829736948013306, -0.5237327814102173, 0.030630061402916908, 0.4762251377105713, 0.4450390040874481, -0.11328946053981781, 0.08310628682374954, 0.44337305426597595, 0.1621502935886383, 0.12991559505462646, -1.1919136047363281, -0.06178837642073631, -0.047148093581199646, 0.10688062757253647, 0.4672461152076721, -0.6407630443572998, 0.44131335616111755, -0.25255048274993896, -0.3535158038139343, 0.054226383566856384, 0.8987549543380737, -0.18754319846630096, 0.38538891077041626, 0.49303367733955383, 0.4960927665233612, 0.568096399307251, 0.0733204260468483, 0.45343437790870667, -0.1721503585577011, 0.3430986702442169, 1.3542338609695435, -0.3268093466758728, 1.045790433883667, 0.5190422534942627, -0.15483501553535461, 0.4109884798526764, 0.36765098571777344, 0.2798185348510742, 0.604512095451355, -0.08318386226892471, -0.5232983827590942, -0.43518689274787903, -0.09749095886945724, -0.3700735569000244, 0.7419915199279785, 0.6063293814659119, -0.1769440472126007, -0.33754992485046387, 0.6309810876846313, -0.06654968857765198, 0.1979016363620758, -0.3467455506324768, 0.8642134666442871, 0.15034997463226318, -0.5563201308250427, 0.5458478927612305, -0.02309303544461727, 0.6544196009635925, -0.7609513401985168, 0.13370883464813232, 0.10440603643655777, 0.2661880850791931, -0.14193303883075714, -0.5719122290611267, 0.5719920992851257, -0.28170284628868103, 0.08281022310256958, -0.3372485339641571, 0.7928714752197266, -0.788002073764801, -0.32341858744621277, 0.6103762984275818, 0.4598865807056427, 0.2737293243408203, 0.03237506002187729, -0.739458441734314, 0.03481358289718628, 0.08237642794847488, 0.340663880109787, 0.6639364957809448, 0.3540426194667816, 0.26999998092651367, 0.5712530016899109, 0.38766664266586304, -0.06711636483669281, 0.04549659788608551, 0.21249593794345856, 0.5970816612243652, -0.48477357625961304, -0.8256664276123047, -0.6704447865486145, 0.3995912969112396, 0.02204248122870922, -0.08107675611972809, 0.9038735032081604, 0.7328327298164368, 1.1737020015716553, -0.2393614500761032, 0.8300590515136719, -0.004230695776641369, 0.6988948583602905, -0.659302830696106, 0.4819480776786804, -0.7553597688674927, -0.06922540068626404, -0.16758890450000763, -0.37445494532585144, -0.24869781732559204, 0.5346118211746216, -0.15519078075885773, -0.17713439464569092, 0.7161215543746948, 0.7886610627174377, -0.25594013929367065, 0.31100448966026306, 0.5629170536994934, -0.0269315242767334, -0.2747229337692261, 0.5691857933998108, 0.6702427864074707, -0.24103671312332153, 0.5094683766365051, -0.5269160270690918, -0.22807617485523224, 0.12735244631767273, -0.5353795886039734, -0.9338516592979431, -1.0407838821411133, -0.4073405861854553, -0.12157203257083893, 0.3299473524093628, 0.7601375579833984, 0.7301607728004456, -0.8130713105201721, -0.3914829194545746, 0.12655790150165558, -0.12806446850299835, -0.5139098167419434, -0.14612676203250885, 0.47922033071517944, -0.8888478875160217, -0.6309112906455994, 0.6689305901527405, 0.1943644881248474, -0.17857186496257782, -0.120170459151268, -0.1735387146472931, -0.16953922808170319, -0.4624389708042145, 0.7486580610275269, 0.187018483877182, -1.112012267112732, -0.12048839777708054, -0.16868817806243896, 0.09127311408519745, 0.10037600249052048, 0.75273597240448, -0.8771860599517822, 0.4134429395198822, 0.14830152690410614, 0.7362403273582458, 0.7233076691627502, -0.2063242644071579, 0.2269168645143509, -0.8149293065071106, 0.26682335138320923, 0.05799566209316254, 0.40993309020996094, 0.2166016846895218, -0.5929481387138367, 0.40209928154945374, 0.046875856816768646, -0.5662352442741394, -0.46616145968437195, 0.36896106600761414, -1.1712510585784912, -0.3409736156463623, 1.2025657892227173, -0.21934783458709717, 0.018923237919807434, -0.34538841247558594, -0.2418660968542099, 0.4985470473766327, -0.4256923496723175, 0.19477355480194092, 0.33249783515930176, -0.22498570382595062, -0.21383124589920044, -0.5785025358200073, 0.4343617856502533, 0.6312750577926636, -0.550810694694519, 0.27873536944389343, 0.270679235458374, 0.21929386258125305, 0.13554376363754272, 0.2639486789703369, -0.061169013381004333, 0.42168381810188293, -0.08577360957860947, -0.2866758704185486, 0.08767976611852646, -0.19719991087913513, -0.5727394223213196, -0.1329154670238495, 0.13130852580070496, -0.21624459326267242 ]
http://arxiv.org/abs/2406.12138v1
http://arxiv.org/pdf/2406.12138v1
Bias in Text Embedding Models
2024-06-17T22:58:36
2024-06-17T22:58:36
Vasyl Rakivnenko, Nestor Maslej, Jessica Cervi, Volodymyr Zhukov
cs.AI
cs.AI, cs.CL
Text embedding is becoming an increasingly popular AI methodology, especially among businesses, yet the potential of text embedding models to be biased is not well understood. This paper examines the degree to which a selection of popular text embedding models are biased, particularly along gendered dimensions. More specifically, this paper studies the degree to which these models associate a list of given professions with gendered terms. The analysis reveals that text embedding models are prone to gendered biases but in varying ways. Although there are certain inter-model commonalities, for instance, greater association of professions like nurse, homemaker, and socialite with female identifiers, and greater association of professions like CEO, manager, and boss with male identifiers, not all models make the same gendered associations for each occupation. Furthermore, the magnitude and directionality of bias can also vary on a model-by-model basis and depend on the particular words models are prompted with. This paper demonstrates that gender bias afflicts text embedding models and suggests that businesses using this technology need to be mindful of the specific dimensions of this problem.
[ -0.14549602568149567, -0.5979393720626831, 0.6078452467918396, 0.34161660075187683, 0.033358294516801834, -0.02374272234737873, 0.18194182217121124, -0.5527015924453735, -0.07177775353193283, 0.4908835291862488, -0.6217738389968872, -0.3630359470844269, -0.9180057048797607, 0.19761374592781067, -0.29640114307403564, 1.0175340175628662, 0.12750616669654846, 0.600744903087616, -0.687707245349884, -0.36446577310562134, -0.7718731760978699, -0.7268105745315552, -0.21070891618728638, -0.5446211099624634, 0.15910296142101288, -0.07184707373380661, 1.114251971244812, 0.7558336853981018, 0.43666163086891174, 0.2204716056585312, -0.08380573987960815, 0.048030830919742584, -0.07526781409978867, 0.13545092940330505, -0.18846704065799713, -0.5404282212257385, -0.4915693998336792, 0.2645277678966522, 0.30610084533691406, 0.8665094375610352, 0.18826264142990112, 0.27451878786087036, 0.18682055175304413, 0.7290355563163757, -0.4627213180065155, 0.25110334157943726, -0.37658676505088806, 0.14661161601543427, 0.09570500254631042, 0.24280305206775665, -0.344738632440567, -0.38164108991622925, 0.7708545923233032, -0.22297406196594238, 0.28747209906578064, 0.2966804802417755, 0.5816470980644226, 0.1685284674167633, -0.7543593049049377, -0.5611715912818909, -0.79423987865448, 0.8556803464889526, -0.36566343903541565, 0.5954161882400513, 0.559907078742981, -0.00521422503516078, 0.3434010446071625, -0.11684376001358032, -0.11233983188867569, -0.08180829137563705, -0.02417808584868908, -0.3453865945339203, -0.2718028724193573, -0.06752394884824753, 0.3568326532840729, 0.03244014456868172, 0.025444259867072105, 0.27331605553627014, -0.1218947097659111, 0.34050771594047546, 0.50877845287323, 0.038365621119737625, 0.4653675854206085, -0.052353981882333755, -0.27650728821754456, -0.05322827398777008, -0.5994152426719666, -0.1804170459508896, 0.8116390109062195, 0.24212512373924255, 0.06646613031625748, 0.5891660451889038, 0.3373032808303833, 0.6037733554840088, 0.19886435568332672, -0.007429004181176424, 0.20673032104969025, -0.2645173966884613, -0.27659717202186584, 0.3284946382045746, 0.6600218415260315, 0.41336503624916077, 0.42460182309150696, -0.03191082924604416, -0.08886352181434631, -0.129346564412117, 0.7698602080345154, -0.4604407548904419, 0.17108698189258575, 0.22775065898895264, -0.7548171281814575, -0.49300268292427063, 0.10829871892929077, -0.5409979820251465, -0.7914861440658569, -0.08750870078802109, 0.27947863936424255, -0.12537449598312378, -0.14675335586071014, -0.26950472593307495, -0.5831646919250488, 0.049758899956941605, 0.11455903947353363, -0.990225613117218, 0.06399859488010406, 0.8246014714241028, 0.7198473811149597, 0.24885229766368866, -0.1707613319158554, 0.02318934164941311, 0.31537455320358276, -0.45966023206710815, 0.5062339901924133, -0.9475731253623962, -0.6241109371185303, 0.2547609210014343, -0.18109777569770813, -0.0524040125310421, -0.467597633600235, 0.2970699071884155, -0.1584191918373108, 0.36714136600494385, -0.6098883152008057, -0.6017851233482361, -0.26372355222702026, 0.24419765174388885, -0.8708619475364685, 0.7442331910133362, -0.049892134964466095, -1.070257544517517, 0.8049473762512207, -0.5739034414291382, -0.1419047862291336, -0.3562864363193512, -0.7046083807945251, -0.7509878873825073, 0.11442537605762482, 0.2587951123714447, 0.6309431791305542, -0.48902347683906555, 0.4429977238178253, -0.36663374304771423, -0.11942944675683975, 0.384556382894516, -0.43567654490470886, 0.7831721305847168, -0.19403722882270813, -0.47426968812942505, -0.08800259232521057, -0.26606395840644836, -0.6321919560432434, -0.14925120770931244, 0.008072365075349808, -0.8836750984191895, 0.35379505157470703, 0.056301940232515335, 0.1797860711812973, 0.11050710827112198, -0.4894059896469116, 0.17529980838298798, -0.14940191805362701, 0.44620585441589355, 0.8588021993637085, -0.1447327584028244, 0.8559967875480652, -0.6204522252082825, 0.4889516234397888, 0.12127339094877243, -0.11380457133054733, 0.17555329203605652, -0.7323429584503174, -0.15340344607830048, -0.37964335083961487, 0.3937813341617584, 0.47883591055870056, -0.3088255524635315, 0.3742682933807373, -0.2220122516155243, -0.5828448534011841, -0.7592263221740723, 0.02757876180112362, 0.4563314616680145, 0.10383456200361252, -0.03082926757633686, -0.03558001294732094, -0.10940684378147125, -1.3370288610458374, -1.022493839263916, 0.12561596930027008, 0.012570507824420929, 0.6995097398757935, 0.5699272155761719, -0.5201482176780701, 1.1075454950332642, -0.572001039981842, -0.6460325717926025, -0.2471090704202652, 0.035054247826337814, 0.20124199986457825, 0.48285868763923645, 0.8747995495796204, -0.8308424353599548, -0.25980234146118164, -0.1985534429550171, -0.5832757949829102, 0.05835415795445442, -0.36963191628456116, -0.18813271820545197, 0.18192054331302643, 0.33004921674728394, -0.5035902857780457, 0.6718112230300903, 0.5446760654449463, -0.6237314939498901, 0.34673210978507996, -0.18551480770111084, -0.18764157593250275, -1.09225332736969, -0.0916341245174408, 0.5635948181152344, -0.4071243107318878, -0.5785475969314575, -0.09218603372573853, -0.030289094895124435, -0.0219820998609066, -0.04257415980100632, 0.4358542561531067, -0.7017975449562073, -0.36557695269584656, -0.25255313515663147, 0.024619771167635918, 0.11395177990198135, 0.003200542414560914, 0.15769493579864502, 0.47793129086494446, 0.4285714328289032, -0.6755548715591431, -0.03609219565987587, 0.5884777307510376, -0.33005285263061523, 0.6043305993080139, -0.7895495891571045, 0.14929915964603424, -0.2336397022008896, 0.4314947724342346, -0.7409539818763733, 0.22977754473686218, 0.12403306365013123, -0.27175286412239075, 0.19290344417095184, 0.02529836632311344, -0.45379137992858887, -0.218120276927948, -0.37725213170051575, 0.5208394527435303, 0.21357131004333496, -0.4042285084724426, 0.7670778036117554, 0.4714156687259674, -0.01249627210199833, -0.7144668102264404, -1.1298487186431885, -0.271240234375, -0.08907435834407806, -0.5524465441703796, 0.5678130984306335, 0.20195631682872772, -0.4134388864040375, 0.03619430214166641, -0.01902759075164795, -0.18756340444087982, 0.05584903806447983, 0.4776279032230377, 0.18127287924289703, 0.2354193478822708, 0.07141637802124023, 0.1753556728363037, 0.09089355170726776, 0.2234223335981369, -0.06160948425531387, 0.41711923480033875, 0.26320186257362366, -0.5734947919845581, -0.36185401678085327, 0.5036447644233704, 0.6471783518791199, -0.10822063684463501, 1.0980490446090698, 0.5319028496742249, -0.7068945169448853, -0.183536559343338, -0.40460312366485596, -0.22973878681659698, -0.4546397924423218, 0.5761334896087646, -0.008687198162078857, -0.7082568407058716, 0.5091414451599121, 0.03253592923283577, 0.2992677688598633, 0.4043419659137726, 0.5903655290603638, -0.0011070342734456062, 1.446817398071289, 0.9336945414543152, -0.41135770082473755, 0.39563649892807007, -0.16882435977458954, 0.4869767427444458, -0.747444212436676, -0.36503171920776367, -0.8988940715789795, -0.5493514537811279, -1.2002832889556885, -0.07615448534488678, 0.014570758678019047, -0.47585633397102356, -0.3119605779647827, -0.07939413189888, -0.6444537043571472, 0.02485341764986515, 0.8370815515518188, 0.1702350378036499, -0.11850498616695404, -0.0340302512049675, -0.10705480724573135, -0.25375527143478394, -0.6237752437591553, -0.697289228439331, 0.9764728546142578, 0.7729999423027039, 0.741478443145752, 0.26134538650512695, 0.4551144540309906, 0.6381054520606995, 0.1847015768289566, -0.6185272336006165, 0.019054077565670013, -0.51100093126297, -1.1594715118408203, -0.06567604839801788, 0.00649539940059185, -0.6433165073394775, 0.06030029430985451, -0.40066972374916077, -0.6466505527496338, 0.6087272763252258, 0.04396374151110649, -0.053474731743335724, 0.4818480610847473, -0.4460427165031433, 0.6830626130104065, 0.10505621880292892, -0.3594948649406433, -0.04376628249883652, -0.2665008008480072, 0.1402284950017929, -0.05555380880832672, 0.46164384484291077, 0.06615166366100311, 0.07022988796234131, 0.793117105960846, -0.38307496905326843, 1.1879394054412842, -0.11200534552335739, -0.22077950835227966, -0.1026180237531662, -0.0030185256619006395, 0.49018800258636475, 0.027495333924889565, -0.22686667740345, 0.3432392477989197, -0.055203769356012344, -0.3614276647567749, -0.2418082058429718, 0.4378841519355774, -0.9870144128799438, -0.6381374001502991, -0.8270734548568726, -0.3981713354587555, -0.26051411032676697, 0.02637419104576111, 0.37977856397628784, 0.5715001821517944, -0.301663875579834, 0.20743301510810852, 0.6788248419761658, -0.5715139508247375, 0.2538095712661743, -0.10829764604568481, -0.15649612247943878, -0.021593112498521805, 0.5341253280639648, 0.3295234143733978, 0.03671709820628166, 0.24958230555057526, 0.1511794775724411, -0.12018216401338577, 0.06526259332895279, -0.4057718813419342, 0.13621512055397034, -0.4767442047595978, -0.06513415277004242, -0.7722477912902832, -0.28320956230163574, -0.4514295756816864, -0.4082794487476349, -0.3374395966529846, -0.15249353647232056, -0.6765453219413757, -0.2066350281238556, 0.3597070276737213, 1.0362529754638672, 0.5927441716194153, 0.3508231043815613, -0.5599021911621094, 0.20151692628860474, 0.27501025795936584, 0.3226325213909149, 0.22146610915660858, -0.25233450531959534, -0.0907229483127594, 0.09287992119789124, -0.32065799832344055, -1.222017765045166, 0.35584667325019836, 0.04281512647867203, 0.6665332317352295, 0.665951132774353, -0.25262394547462463, -0.006142361089587212, -0.5517900586128235, 0.9864296317100525, -0.029268544167280197, -1.0015815496444702, 0.24170240759849548, -0.5543941855430603, 0.13183991611003876, 0.3301415741443634, 0.8339579701423645, -0.46507585048675537, -0.37475934624671936, -0.5599294304847717, -0.732855498790741, 0.6821329593658447, -0.01909210905432701, 0.6426599025726318, -0.1201581358909607, 0.3600427210330963, 0.51949542760849, 0.6866117715835571, -0.8720847964286804, -0.5367591977119446, -0.057086311280727386, -0.3179819881916046, 0.3315548002719879, -0.7173251509666443, 0.12989942729473114, -0.18572717905044556, 0.5736063718795776, 0.21339699625968933, 0.8842648267745972, 0.07403441518545151, -0.13665278255939484, 0.2831907868385315, 0.13219526410102844, 0.36390990018844604, 0.806927502155304, -0.31172746419906616, -0.0721983090043068, -0.1507386863231659, -0.6886863112449646, -0.015616519376635551, -0.21301642060279846, -0.33097684383392334, 0.2500447928905487, 0.4158468246459961, 0.9282072186470032, 0.04076480120420456, -0.18735995888710022, 0.7156673073768616, 0.1410050094127655, -0.4251940846443176, -0.3263024687767029, -0.06381791830062866, 0.006326019298285246, 0.4127748906612396, 0.44136807322502136, 0.19489213824272156, 0.21718157827854156, -0.6995021104812622, -0.2964368462562561, 0.708834171295166, -0.7440659403800964, -0.00037748125032521784, 0.8933137059211731, 0.36829179525375366, -0.474721223115921, 0.6081717610359192, 0.14983688294887543, -0.7788063287734985, 0.7586730122566223, 0.5250088572502136, 1.2022173404693604, -0.14459234476089478, 0.21791188418865204, 0.03709426894783974, 0.601039469242096, -0.18050038814544678, 0.3069682717323303, 0.44969674944877625, -0.8536382913589478, 0.14978332817554474, -0.2503271996974945, -0.4723498225212097, -0.3339862823486328, -0.590833306312561, 0.4226609766483307, -0.5832080245018005, -0.6716436743736267, 0.048117272555828094, -0.3269394338130951, -1.090160846710205, 0.21915730834007263, 0.026233278214931488, 0.7525096535682678, -0.876065194606781, 0.4425201117992401, 0.9189016819000244, -0.18655627965927124, -0.3106454610824585, 0.2237091213464737, 0.018116392195224762, -0.5780208110809326, 0.7067791223526001, 0.4374113380908966, 0.13577468693256378, -0.22600308060646057, -0.22877399623394012, -0.5813518762588501, 1.1360725164413452, 0.07552117109298706, -0.6790060997009277, -0.3409576714038849, 0.2974216639995575, 0.34529441595077515, -0.7813894152641296, 0.5735934376716614, 0.23301050066947937, 0.32562053203582764, -0.920264720916748, -0.8470302820205688, 0.10842357575893402, 0.10902298241853714, 0.39271652698516846, -0.17218519747257233, -0.6815474033355713, 0.7243623733520508, -0.0016619147500023246, 0.32270607352256775, -0.40125763416290283, 0.3956224024295807, 0.17386704683303833, 0.5314279794692993, 0.3746708333492279, 0.2632821202278137, 0.7815084457397461, 0.04627097770571709, 1.0468430519104004, -0.3264302611351013, 0.06466430425643921, 0.8710017800331116, -0.16750715672969818, 0.5038175582885742, 0.18809375166893005, -0.08220425248146057, 0.9284061193466187, 0.4051586389541626, -0.3450321853160858, 0.3678034543991089, -0.026284782215952873, 0.037163350731134415, 0.06231914088129997, -0.30566683411598206, -0.49264928698539734, 0.6173800826072693, 0.25274065136909485, -1.2174197435379028, 0.29180335998535156, 0.09402349591255188, 0.15761585533618927, -0.020678609609603882, -0.19946801662445068, 0.5223568081855774, 0.2475728690624237, -0.27221307158470154, -0.3834216594696045, 0.4170539677143097, 0.8875668048858643, -0.3562711477279663, 0.13388319313526154, 0.0482419952750206, 0.033218007534742355, -0.2551453709602356, -0.6352365016937256, 0.2293291687965393, -0.007553547155112028, -0.622721791267395, -0.4744141101837158, 0.8590527176856995, -0.3224036395549774, -0.5540183186531067, 0.2071361392736435, 0.7393350005149841, -0.3265244960784912, -0.2648560106754303, -0.5804557204246521, -0.16322556138038635, 0.14976420998573303, -0.1627182513475418, 0.36793282628059387, 0.24451541900634766, -0.17542259395122528, 0.669124186038971, 0.28677260875701904, -0.23235799372196198, -0.09751652181148529, 0.11439841240644455, 0.5109990835189819, -0.6831895112991333, -0.7504227757453918, -1.1244268417358398, 0.20523282885551453, -0.06901749968528748, -0.3643246591091156, 0.812666118144989, 0.44251102209091187, 0.45659056305885315, -0.17678244411945343, 0.8946449160575867, 0.4533609449863434, 0.2906382083892822, -0.1840439736843109, 1.0833052396774292, -0.4367510676383972, 0.3145804703235626, -0.6153216361999512, -1.2763558626174927, 0.1345989853143692, 0.5146201252937317, -0.5040274858474731, 0.6558188199996948, 0.420356422662735, 0.2470889538526535, 0.0492144338786602, 0.29310929775238037, 0.06735491752624512, 0.03754417970776558, 0.14235149323940277, -0.1281375139951706, 0.46833813190460205, -0.24735023081302643, 0.033672504127025604, -0.12349254637956619, -0.15008026361465454, -0.42929404973983765, -1.1528816223144531, -1.0852597951889038, -0.4800681173801422, -0.6361202001571655, -0.2619295120239258, -0.00019063314539380372, 0.9585160613059998, 0.5534632802009583, -0.33620503544807434, -0.13818487524986267, 0.09799598902463913, 0.4730599820613861, -0.18991310894489288, -0.24425318837165833, 0.16291894018650055, 0.19139952957630157, -0.7538845539093018, -0.3615446090698242, 0.0341508649289608, -0.10576652735471725, -0.5604430437088013, 0.37091752886772156, -0.3379795253276825, 0.43790319561958313, 0.3197266459465027, -0.39767152070999146, -0.511491596698761, -0.20129165053367615, -0.016331961378455162, -0.22214525938034058, -0.14644378423690796, 0.7725363373756409, -0.6402915120124817, 0.34451356530189514, 0.44857555627822876, 0.6408904790878296, 0.022918984293937683, 0.0449596606194973, 0.8595573902130127, -0.9565716981887817, 0.026213431730866432, 0.009766990318894386, 0.23484745621681213, 0.4228361248970032, -0.7975488901138306, 0.2717520296573639, 0.2907874584197998, -0.5127723813056946, -0.8069292902946472, 0.16128987073898315, -0.4350108504295349, -0.6404106020927429, 1.164047122001648, 0.37255802750587463, -0.18863901495933533, -0.03503341227769852, -0.1833091676235199, 0.18523766100406647, -0.415396511554718, 0.6361857056617737, 0.9325924515724182, 0.04320480301976204, 0.06716050952672958, -0.8215240240097046, 0.5548645853996277, 0.37421971559524536, -0.3125133514404297, -0.03219329193234444, 0.38171082735061646, 0.31239405274391174, 0.08778831362724304, 0.39953750371932983, 0.04143229126930237, 0.06650687754154205, 0.07514496892690659, -0.014824419282376766, 0.05796037241816521, -0.18404585123062134, -0.23373326659202576, -0.10493253916501999, 0.25271812081336975, -0.10387609153985977 ]
http://arxiv.org/abs/2406.12131v1
http://arxiv.org/pdf/2406.12131v1
Gram2Vec: An Interpretable Document Vectorizer
2024-06-17T22:42:14
2024-06-17T22:42:14
Peter Zeng, Eric Sclafani, Owen Rambow
cs.CL
cs.CL
We present Gram2Vec, a grammatical style embedding algorithm that embeds documents into a higher dimensional space by extracting the normalized relative frequencies of grammatical features present in the text. Compared to neural approaches, Gram2Vec offers inherent interpretability based on how the feature vectors are generated. In our demo, we present a way to visualize a mapping of authors to documents based on their Gram2Vec vectors and highlight the ability to drop or add features to view which authors make certain linguistic choices. Next, we use authorship attribution as an application to show how Gram2Vec can explain why a document is attributed to a certain author, using cosine similarities between the Gram2Vec feature vectors to calculate the distances between candidate documents and a query document.
[ -0.1721353828907013, -0.5921772718429565, 0.8769424557685852, 0.0972563773393631, -0.01940048485994339, -0.058301154524087906, -0.23603160679340363, -0.2856276333332062, 0.3228607177734375, 0.20789538323879242, -0.4608268737792969, -0.708976149559021, -0.9289342761039734, -0.14056481420993805, -0.5007346868515015, 0.740098774433136, 0.07526814192533493, 0.07278073579072952, -0.9056591987609863, -0.09973137080669403, -0.5561307072639465, -0.4089488387107849, -0.38467735052108765, -0.1942252516746521, 0.39197197556495667, 0.653128981590271, 0.7963409423828125, 0.570156991481781, 0.42111214995384216, 0.26337939500808716, -0.3404887616634369, 0.030736109241843224, -0.7303455471992493, 0.13290558755397797, -0.2204311043024063, -0.8313586115837097, -0.3956388235092163, 0.25832170248031616, 0.6104387044906616, 0.23332329094409943, 0.03114517591893673, 0.04364888370037079, 0.1699853539466858, 0.3411743938922882, -0.5233889818191528, 0.5682758688926697, -0.26988929510116577, -0.0439722016453743, -0.26131224632263184, -0.3043164610862732, -0.5302445888519287, -0.8590874671936035, -0.20562568306922913, -0.717352032661438, 0.31042957305908203, -0.12342242896556854, 0.7669711112976074, -0.014705044217407703, -0.38789430260658264, -0.7510024309158325, -0.614301860332489, 0.6579278707504272, -0.1436634510755539, 0.49021539092063904, 0.5755447745323181, 0.3979221284389496, -0.0700611099600792, -0.8692185878753662, -0.5938108563423157, 0.16999411582946777, -0.3210950195789337, 0.3303280174732208, -0.2407110333442688, -0.19523212313652039, -0.03324712812900543, 0.3938046097755432, -0.5604322552680969, 0.015371750108897686, -0.3833458125591278, -0.04154784232378006, 0.3155996799468994, -0.1760299652814865, 0.5458125472068787, -0.43781957030296326, -0.22814051806926727, -0.14304816722869873, -0.5511651039123535, 0.29825204610824585, 0.7108136415481567, -0.06795917451381683, 0.12285809218883514, 0.6246512532234192, 0.35247713327407837, 0.48903340101242065, -0.24643678963184357, 0.10342307388782501, 0.2450716346502304, -0.13929659128189087, 0.18898576498031616, 0.0695803314447403, 0.5259674787521362, 0.47560158371925354, 0.44247081875801086, -0.12316910177469254, -0.034089818596839905, 0.10955314338207245, 0.6496273875236511, -0.658176839351654, -0.3816371262073517, -0.07832018285989761, -0.7719534635543823, -0.5555172562599182, 0.5992916822433472, -1.074200987815857, -0.4641578793525696, -0.26333022117614746, 0.2191028743982315, -0.5632262825965881, -0.19921326637268066, -0.2564905881881714, -0.6235373616218567, 0.4310457110404968, 0.19537656009197235, -1.1349153518676758, 0.3957502543926239, 1.205884575843811, 0.9868833422660828, 0.047028426080942154, 0.03687309846282005, -0.758660614490509, -0.08140664547681808, -0.2905617654323578, 0.8850415349006653, -1.0940139293670654, -0.7067452669143677, 0.33810311555862427, 0.07894407212734222, 0.17124302685260773, -0.2476733922958374, 0.6848549842834473, -0.5470626354217529, 0.2213950753211975, -0.26640596985816956, -0.6166906356811523, -0.29144394397735596, -0.08188267052173615, -0.6560080051422119, 1.12071692943573, 0.4478969871997833, -0.6116172075271606, 0.2256079763174057, -0.45172733068466187, -0.33885371685028076, 0.10530638694763184, -0.44707170128822327, -0.3492024838924408, 0.23934955894947052, 0.15139229595661163, 0.4808611273765564, 0.06267935037612915, -0.13405971229076385, -0.2281149923801422, -0.18186745047569275, 0.18712849915027618, -0.12158379703760147, 0.6849483847618103, 0.3018054664134979, 0.06929147988557816, 0.22432772815227509, -1.0322542190551758, -0.0075475675985217094, 0.13249963521957397, -0.3653063178062439, -0.6192718744277954, 0.2616325318813324, 0.35969847440719604, 0.0233165230602026, 0.23275160789489746, -0.4149312973022461, 0.2647207975387573, -0.3001301884651184, 0.47201183438301086, 0.7191835641860962, 0.01330433040857315, 0.7686647176742554, -0.0024662839714437723, 0.8121873736381531, -0.7298063039779663, -0.025252914056181908, 0.0798654779791832, -0.8773130178451538, -0.5321773290634155, -0.4012480676174164, 0.1927003264427185, 0.7331174612045288, -0.586148738861084, 0.5193911790847778, -0.5774369239807129, -0.3730192482471466, -0.5376853346824646, 0.4583333432674408, 0.5563462972640991, 0.3472987115383148, 0.27074891328811646, -0.11413931846618652, -0.33307942748069763, -0.8404477834701538, -0.3011291027069092, -0.38239148259162903, -0.29415857791900635, 0.2962914705276489, 0.2451060563325882, -0.10632254928350449, 0.8019863367080688, -0.830767810344696, -0.39606568217277527, -0.21929723024368286, 0.3383564054965973, -0.2537026107311249, 0.35435250401496887, 0.7443150281906128, -0.7776147127151489, -0.373612642288208, 0.051162149757146835, -0.8729389309883118, -0.31859344244003296, -0.029798759147524834, -0.4603244364261627, -0.026562953367829323, 1.0419327020645142, -0.15449537336826324, 0.5356165170669556, 0.6317542195320129, -0.779379665851593, -0.09742625057697296, -0.3872848153114319, 0.0389225110411644, -1.1982762813568115, -0.09041725099086761, 0.052154090255498886, -0.39880919456481934, -0.41041427850723267, -0.04144744947552681, 0.3748030364513397, -0.05585363507270813, -0.10680245608091354, 0.29906323552131653, -0.5126436352729797, -0.304012268781662, 0.04635974019765854, 0.3802662193775177, 0.3509792685508728, 0.0738847553730011, -0.18212106823921204, 0.611013650894165, 0.1908709704875946, -0.0822637602686882, 0.3911827802658081, 0.8371084928512573, -0.4412805736064911, 0.7222838401794434, -0.40363916754722595, 0.31963425874710083, -0.3228996992111206, -0.006408995017409325, -1.2852423191070557, -0.17945674061775208, 0.13639888167381287, -0.776398777961731, 0.4425166845321655, -0.31995370984077454, -0.2966986894607544, -0.009652062319219112, -0.5213139653205872, 0.091457299888134, 0.6588022708892822, -0.7217844724655151, 0.9574554562568665, 0.14150816202163696, -0.39871877431869507, -0.007102999836206436, -0.9325578212738037, 0.1060035452246666, 0.18510107696056366, -0.9352500438690186, 0.2955162823200226, 0.30331218242645264, -0.38375845551490784, 0.45558902621269226, 0.41043621301651, 0.13694201409816742, 0.0816197544336319, 0.7726861238479614, 0.2060013860464096, -0.09881213307380676, 0.34912750124931335, 0.26678019762039185, -0.26068198680877686, 0.12008236348628998, -0.33235496282577515, 0.3233867883682251, -0.10733435302972794, -0.17437061667442322, -0.23978941142559052, 0.5675088167190552, 0.3725764751434326, -0.4001258909702301, 0.6408445835113525, 0.8174647092819214, -0.28835219144821167, -0.27737656235694885, -0.29381710290908813, 0.2317991554737091, -0.4508310556411743, 0.3109612464904785, -0.6051065921783447, -0.7384463548660278, 0.5058708190917969, 0.009135383181273937, -0.2915852963924408, 0.7683445811271667, 0.5760024785995483, -0.061540767550468445, 0.5591700077056885, 0.7732489705085754, 0.08633771538734436, 0.6919708847999573, -0.37539833784103394, 0.15550614893436432, -0.7680804133415222, -0.8823119401931763, -0.6782506704330444, -0.42136305570602417, -0.5903465151786804, -0.7346243858337402, 0.13186341524124146, 0.06836793571710587, 0.36947447061538696, 0.3114526867866516, -0.6030399799346924, 0.5502273440361023, 0.7646236419677734, -0.21107645332813263, -0.02310550957918167, 0.06223541125655174, -0.1500924825668335, -0.09302693605422974, -0.29321128129959106, -0.6286329030990601, 0.7816277742385864, 0.4968549311161041, 0.7939910888671875, 0.5400176048278809, 0.5329509377479553, 0.3817999064922333, -0.1367451399564743, -1.180029034614563, 0.2335713654756546, -0.4488692581653595, -0.23065637052059174, -0.14465831220149994, -0.05435631796717644, -0.6296588182449341, -0.0016985888360068202, -0.49611377716064453, -0.7233995199203491, 0.6929606199264526, 0.014611479826271534, -0.24015018343925476, 0.1466810703277588, -0.9100706577301025, 0.9571333527565002, 0.02494448609650135, -0.07901980727910995, -0.160541370511055, -0.3867451846599579, -0.22881639003753662, 0.21760043501853943, 0.26282408833503723, 0.31497806310653687, -0.08584534376859665, 0.6729850769042969, -0.3938893675804138, 0.6640188097953796, -0.22804531455039978, -0.029902935028076172, 0.26610031723976135, 0.35904163122177124, 0.6201979517936707, 0.20928023755550385, -0.18773019313812256, 0.13097959756851196, -0.12650930881500244, -0.24328111112117767, -0.9950515627861023, 0.9047139286994934, -0.7000422477722168, -0.323739230632782, -0.33874955773353577, -0.13156303763389587, -0.055211685597896576, 0.03708892688155174, 0.37843379378318787, 0.6116772890090942, -0.6019415855407715, 0.29603010416030884, 0.4379149377346039, -0.2530519366264343, 0.16564685106277466, 0.042502254247665405, -0.1642322838306427, -0.3805496394634247, 1.0444691181182861, 0.02836153469979763, 0.08324871212244034, 0.44488033652305603, 0.2598080039024353, -0.34525763988494873, -0.5212453603744507, -0.23443178832530975, 0.0032634162344038486, -1.0519440174102783, 0.22464025020599365, -0.8169218897819519, -0.15263597667217255, -0.6259053945541382, -0.5882371664047241, -0.14107011258602142, -0.6980608105659485, -0.7751937508583069, -0.35862958431243896, 0.5039581656455994, 1.2701213359832764, -0.0586918480694294, 0.3650686740875244, -0.5461114645004272, 0.31067416071891785, 0.44379982352256775, 0.31686028838157654, -0.487509161233902, -0.7154116630554199, -0.03712436556816101, -0.5829777717590332, -0.12535259127616882, -0.7272161841392517, 0.24142833054065704, 0.32813408970832825, 0.38945725560188293, 0.7754120826721191, -0.5561918616294861, 0.27521246671676636, -0.6320477724075317, 0.9726011157035828, 0.025560615584254265, -0.925275981426239, 0.8827689290046692, -0.0648910328745842, -0.025731991976499557, 0.4904075264930725, 0.37451860308647156, -0.7027980089187622, -0.21105672419071198, -0.39297497272491455, -0.7735521197319031, 0.47922030091285706, 0.2899506986141205, 0.11838480830192566, 0.008074335753917694, 0.6470609903335571, 0.06844978034496307, -0.3563319146633148, -0.12676705420017242, 0.010960188694298267, -0.5657802224159241, -0.6776383519172668, -0.45040586590766907, -1.1472111940383911, -0.07693413645029068, -0.14193949103355408, 0.5281071066856384, -0.046842437237501144, 0.47886890172958374, 0.01230597123503685, -0.18430329859256744, 0.1982364058494568, 0.25796645879745483, 0.6229661703109741, 0.5751236081123352, -0.28660672903060913, 0.34370994567871094, -0.25010550022125244, -0.6305322051048279, -0.13459263741970062, 0.1704212874174118, -0.1148238480091095, 0.08655425906181335, 0.80800461769104, 0.9068862795829773, 0.06334370374679565, -0.042073629796504974, 0.905148446559906, -0.23059625923633575, -0.504621148109436, -0.5298046469688416, 0.07286564260721207, 0.2340489774942398, 0.30335181951522827, -0.17748650908470154, 0.12458396703004837, 0.2818368971347809, -0.5584868788719177, 0.13932815194129944, 0.23395274579524994, -0.9036049842834473, -0.46714094281196594, 0.8666636347770691, 0.39170002937316895, -0.37652525305747986, 0.6102295517921448, -0.24386581778526306, -0.6062345504760742, 0.5347992181777954, 0.3542425334453583, 1.0528141260147095, -0.09550271928310394, 0.29676565527915955, 0.27631035447120667, 0.3804386258125305, -0.001997999846935272, 0.3904680609703064, 0.19922354817390442, -0.47665414214134216, -0.007308304775506258, -0.6303565502166748, 0.011736977845430374, -0.4390314519405365, -0.7659536600112915, 0.3013332784175873, -0.5576927661895752, 0.013949614949524403, 0.4541102349758148, -0.3895067572593689, -0.5516319870948792, -0.20818114280700684, 0.34492453932762146, 0.6434178352355957, -1.0405609607696533, 0.8533205986022949, 0.8103734254837036, -0.4628531336784363, -0.5843712687492371, -0.07812842726707458, 0.658429741859436, -0.8288039565086365, 0.7742048501968384, 0.03354543447494507, -0.23827865719795227, -0.15474441647529602, -0.2952989339828491, -0.6851179599761963, 1.1884651184082031, 0.1582966446876526, -0.3199581205844879, -0.027165070176124573, -0.00745245348662138, 0.5471671223640442, -0.2935656011104584, 0.13644972443580627, 0.569534182548523, 0.6297191977500916, 0.1899280548095703, -0.2855679392814636, 0.0022023385390639305, -0.6268868446350098, 0.5082268714904785, 0.07389042526483536, -0.343993604183197, 0.7258193492889404, 0.06513581424951553, -0.27347347140312195, -0.010647151619195938, 0.7978843450546265, -0.7378413677215576, 0.10505300015211105, 0.41996046900749207, 0.5717263221740723, 1.0590856075286865, -0.15705156326293945, 1.3518035411834717, 0.021755894646048546, 0.377485066652298, 1.2766157388687134, 0.21874311566352844, 0.8480278253555298, 0.386556476354599, -0.039696503430604935, 0.8537653088569641, 0.19750353693962097, -0.5003548860549927, 0.5261294841766357, 0.17226094007492065, -0.25235363841056824, -0.16504111886024475, -0.06276999413967133, -0.07562941312789917, 0.6174518465995789, 0.27339601516723633, -0.6981660723686218, 0.08371173590421677, 0.114527627825737, 0.10137879103422165, 0.7412188053131104, -0.13789620995521545, 0.8726422786712646, 0.1777142435312271, -0.35967451333999634, 0.09927177429199219, 0.19138076901435852, 0.5095110535621643, -0.44093555212020874, -0.33229443430900574, 0.0021889579948037863, 0.3245404362678528, -0.6183837652206421, -1.1010770797729492, 0.4411361515522003, 0.07905205339193344, -0.42972034215927124, -0.44947710633277893, 0.917827844619751, -0.44291257858276367, -0.7785608768463135, 0.4888571500778198, 0.2489098459482193, 0.15542078018188477, -0.08698475360870361, -0.10292592644691467, -0.03194008022546768, -0.12130651623010635, -0.26781874895095825, 0.02793717570602894, 0.6092550158500671, -0.07923778891563416, 0.4389226734638214, 0.4297805726528168, 0.06214316561818123, 0.005367442965507507, 0.38320252299308777, 0.7216704487800598, -0.5146363377571106, -0.545524001121521, -0.7977402806282043, 0.26618140935897827, -0.050625286996364594, -0.17961831390857697, 0.7096883058547974, 0.6613306999206543, 0.6645193696022034, -0.16815203428268433, 0.7566260695457458, -0.20103831589221954, 0.3084007203578949, -0.7284758687019348, 1.0459961891174316, -0.5587498545646667, -0.0404982753098011, -0.03136012703180313, -0.8427993059158325, -0.3336462378501892, 0.6635610461235046, -0.2663959562778473, -0.15897253155708313, 0.7436728477478027, 0.9077795743942261, -0.06755667179822922, 0.003914158791303635, 0.3214607536792755, 0.15344229340553284, 0.6228942275047302, 0.10286060720682144, 0.6609665751457214, -0.2079586535692215, 0.6719146966934204, -0.0667046383023262, -0.2883583605289459, -0.4031657874584198, -0.6758348941802979, -1.0239064693450928, -0.7385505437850952, -0.14341358840465546, -0.4860483407974243, 0.006007645279169083, 0.7526969313621521, 0.1879304051399231, -0.6931090354919434, 0.2179051786661148, 0.06283728033304214, 0.11248965561389923, -0.16026926040649414, -0.2441026270389557, 0.5713559985160828, -0.29216212034225464, -0.8220454454421997, 0.2932201027870178, 0.28701895475387573, -0.08772801607847214, -0.1828218400478363, -0.07739143818616867, -0.24206691980361938, 0.06772314757108688, 0.7815627455711365, 0.01638944447040558, -0.6433400511741638, -0.6843854784965515, -0.2585225999355316, -0.1468278467655182, 0.10685385763645172, 0.8739883303642273, -0.3430843651294708, 0.9480488300323486, 0.9021879434585571, 0.573992133140564, 0.5043659210205078, 0.2216978669166565, 0.5495864748954773, -0.8025281429290771, 0.19959969818592072, -0.0630483627319336, 0.3202465772628784, 0.27331820130348206, -0.6944580078125, 0.5801511406898499, 0.2806534767150879, -0.3171725571155548, -0.17746584117412567, -0.1133417934179306, -1.293031096458435, -0.33510497212409973, 1.6067456007003784, -0.37528732419013977, -0.43562960624694824, 0.04644352197647095, -0.2954673171043396, 0.21485039591789246, -0.46176931262016296, 0.19037584960460663, 0.9679664373397827, 0.316662073135376, 0.08329401910305023, -0.8953860998153687, 0.6932247877120972, 0.1027594730257988, -0.5730932354927063, -0.11490993201732635, 0.6425792574882507, 0.30445754528045654, 0.20827992260456085, 0.47220608592033386, -0.4496372640132904, 0.026190143078565598, 0.2632814645767212, 0.3530494272708893, -0.3724404573440552, -0.4548855423927307, -0.6346454620361328, 0.1418502777814865, 0.21246452629566193, -0.3792356848716736 ]
http://arxiv.org/abs/2406.12128v1
http://arxiv.org/pdf/2406.12128v1
AI "News" Content Farms Are Easy to Make and Hard to Detect: A Case Study in Italian
2024-06-17T22:19:00
2024-06-17T22:19:00
Giovanni Puccetti, Anna Rogers, Chiara Alzetta, Felice Dell'Orletta, Andrea Esuli
cs.CL
cs.CL
Large Language Models (LLMs) are increasingly used as "content farm" models (CFMs), to generate synthetic text that could pass for real news articles. This is already happening even for languages that do not have high-quality monolingual LLMs. We show that fine-tuning Llama (v1), mostly trained on English, on as little as 40K Italian news articles, is sufficient for producing news-like texts that native speakers of Italian struggle to identify as synthetic. We investigate three LLMs and three methods of detecting synthetic texts (log-likelihood, DetectGPT, and supervised classification), finding that they all perform better than human raters, but they are all impractical in the real world (requiring either access to token likelihood information or a large dataset of CFM texts). We also explore the possibility of creating a proxy CFM: an LLM fine-tuned on a similar dataset to one used by the real "content farm". We find that even a small amount of fine-tuning data suffices for creating a successful detector, but we need to know which base LLM is used, which is a major challenge. Our results suggest that there are currently no practical methods for detecting synthetic news-like texts 'in the wild', while generating them is too easy. We highlight the urgency of more NLP research on this problem.
[ -0.4588135778903961, -0.7392081618309021, 0.5659080743789673, 0.1219334602355957, -0.4566924571990967, 0.2669978439807892, -0.32998764514923096, -0.7887623310089111, 0.37446779012680054, 0.47778844833374023, -0.7345215082168579, -0.630452036857605, -0.7053151726722717, 0.4901334345340729, -0.9188170433044434, 1.225730538368225, 0.12370291352272034, -0.08432315289974213, 0.005207019858062267, -0.11550038307905197, -0.04669710621237755, -0.31403297185897827, -0.9688028693199158, -0.14986595511436462, 0.6614870429039001, 0.22594691812992096, 0.7870486378669739, 0.8591846227645874, 0.2940402626991272, 0.29249107837677, -0.23602965474128723, 0.7643895149230957, -0.613335371017456, -0.08812902122735977, -0.1937219500541687, -0.5697327256202698, -0.02294510044157505, 0.20687049627304077, 0.6430609822273254, 0.5398792028427124, 0.2544887959957123, 0.05202903598546982, -0.014644858427345753, 0.7401450872421265, -0.369424968957901, -0.12214308977127075, -1.0862715244293213, 0.12304511666297913, -0.33412662148475647, -0.22109785676002502, -0.4756418466567993, -0.14871567487716675, -0.2552623748779297, -0.5912672281265259, 0.3527078926563263, 0.18368308246135712, 1.044825553894043, 0.23788312077522278, -0.6198585629463196, -0.5342108011245728, -0.8977062702178955, 0.7731806039810181, -0.66778963804245, 0.09099104255437851, 0.26501110196113586, 0.012002570554614067, -0.6045745015144348, -0.6244502067565918, -1.0338791608810425, -0.3109853267669678, -0.18453918397426605, -0.0825633630156517, -0.257638543844223, -0.1998003125190735, -0.0047330092638731, 0.4367815852165222, -0.4260534644126892, 0.371499240398407, -0.29453277587890625, -0.28391531109809875, 0.6676792502403259, 0.19315069913864136, 0.33929842710494995, 0.012799561955034733, -0.1594194620847702, 0.05179606005549431, -0.7491227984428406, -0.18025079369544983, 0.5924277305603027, 0.30046799778938293, 0.01569381356239319, 0.6664698719978333, -0.22282584011554718, 0.6816092729568481, 0.03417998179793358, -0.38204246759414673, 0.09143827855587006, -0.3527500331401825, 0.004880771040916443, 0.1651923954486847, 0.9144913554191589, 0.20350602269172668, 0.45242953300476074, -0.09486862272024155, -0.41514018177986145, 0.3026835024356842, 0.4005502462387085, -0.502837061882019, 0.06905003637075424, 0.14545714855194092, -0.21171046793460846, -0.48333755135536194, 0.0044856686145067215, -0.37310290336608887, -0.4900817275047302, -0.19613982737064362, 0.3359377682209015, -0.16242164373397827, -0.10304165631532669, 0.048753347247838974, -0.13471165299415588, 0.2686617970466614, 0.26419150829315186, -0.7244800925254822, 0.07439322769641876, 0.7199952602386475, 0.9370792508125305, -0.4507519602775574, -0.2507398724555969, -0.6603178977966309, 0.10221201926469803, -0.6677941679954529, 1.1631795167922974, -0.24876396358013153, -0.14714281260967255, 0.13982219994068146, 0.18552781641483307, 0.03353912755846977, -0.5932206511497498, 0.5833598375320435, -0.5492867827415466, 0.11451708525419235, 0.027566928416490555, -0.5457050800323486, 0.008102848194539547, 0.47566652297973633, -0.89718097448349, 0.8055396676063538, 0.054017871618270874, -0.6836528182029724, 0.44149816036224365, -0.13078512251377106, -0.9846943616867065, -0.27642038464546204, 0.001977714942768216, -0.46416836977005005, 0.22922199964523315, 0.1708725094795227, 0.36315298080444336, 0.0711071565747261, 0.2671634554862976, 0.1323051154613495, -0.4590895473957062, 0.2760607898235321, -0.7665297389030457, 0.30537423491477966, 0.372496098279953, -0.3480035066604614, -0.2213888168334961, -0.9328306317329407, -0.32447147369384766, -0.11234568804502487, -0.7282293438911438, -0.2660517692565918, 0.359881192445755, -0.03596794977784157, -0.04112865775823593, 0.17041489481925964, -0.4421117305755615, 0.1153881698846817, -0.5849230885505676, 0.3956835865974426, 0.5355131030082703, -0.24671798944473267, 0.3700655400753021, -0.6784364581108093, 0.30550578236579895, 0.20579704642295837, -0.18815161287784576, -0.4175035059452057, -0.46432656049728394, -1.0628300905227661, -0.2563566565513611, 0.21284320950508118, 0.426249235868454, -0.8449326157569885, 0.22894780337810516, -0.18582552671432495, -0.6865254044532776, -0.6500530242919922, 0.42248809337615967, 0.23355720937252045, 0.22239580750465393, 0.18745851516723633, -0.0670899748802185, -0.3939349055290222, -0.8975034356117249, -0.6724901795387268, 0.0976291224360466, 0.047795191407203674, -0.05611550435423851, 0.2215704321861267, -0.22247840464115143, 0.8679983019828796, -0.17992186546325684, -0.36907219886779785, -0.325235515832901, 0.2791038453578949, 0.5638559460639954, 0.38239020109176636, 0.4933455288410187, -1.0213394165039062, -0.3812218904495239, 0.11819746345281601, -0.6830364465713501, 0.06156503036618233, -0.33657222986221313, 0.0638263151049614, 0.44660231471061707, 0.4927278459072113, -0.9128973484039307, 0.23622845113277435, 0.6513358354568481, -0.12270727008581161, 0.44116121530532837, -0.17118869721889496, 0.061807550489902496, -1.1769330501556396, -0.20571617782115936, 0.18688705563545227, -0.5367536544799805, -0.6804828643798828, 0.15144214034080505, -0.28274428844451904, -0.019711995497345924, -0.7649155855178833, 0.6909856796264648, -0.41564276814460754, -0.02277838997542858, -0.5626826882362366, 0.023671602830290794, -0.01480055321007967, 0.31097331643104553, 0.1919335126876831, 0.8397677540779114, 0.06793202459812164, -0.7193151712417603, 0.3620859384536743, -0.050677306950092316, -0.6820147633552551, 0.25954949855804443, -0.46114039421081543, 0.10277795791625977, -0.3823245167732239, 0.509105384349823, -0.8368077278137207, -0.37907978892326355, 0.24371272325515747, -0.37338894605636597, 0.06093461066484451, 0.026732977479696274, -0.7557541728019714, -0.26830217242240906, -0.26710137724876404, 0.1837485283613205, 0.3381320834159851, -0.6319523453712463, 0.4581744074821472, 0.3343179523944855, -0.07971753180027008, -0.2874354422092438, -0.8321301937103271, 0.3686131238937378, -0.1094619408249855, -0.5569126009941101, 0.32991519570350647, 0.07922729104757309, -0.23036037385463715, 0.13081379234790802, -0.15289880335330963, -0.16171589493751526, 0.16082897782325745, -0.03124220296740532, -0.14584583044052124, -0.25105613470077515, 0.18215171992778778, 0.2849307060241699, -0.06351522356271744, -0.08401942998170853, -0.44495686888694763, 0.4764697551727295, 0.08619975298643112, -0.2132205069065094, -0.6527333855628967, 0.324393093585968, 0.7133821845054626, -0.1121387854218483, 0.8614787459373474, 0.7582286596298218, -0.4607614278793335, -0.5662124752998352, -0.5392560958862305, -0.15960419178009033, -0.4852030277252197, 0.20173460245132446, 0.0077194105833768845, -0.7212413549423218, 0.2164345234632492, -0.04634792357683182, 0.1966879963874817, 0.6609739661216736, 0.630744457244873, -0.15454044938087463, 1.3835935592651367, 0.4799724817276001, -0.1510484516620636, 0.3706337511539459, -0.22709834575653076, 0.21225109696388245, -0.18729281425476074, -0.19270005822181702, -0.6407991647720337, -0.5683711767196655, -0.911762535572052, -0.1571321040391922, 0.45856839418411255, -0.24586467444896698, -0.019803868606686592, 0.2733527421951294, -0.46452605724334717, 0.729570209980011, 0.8433833122253418, 0.042729754000902176, 0.858328640460968, 0.24786950647830963, 0.2312847524881363, 0.25104060769081116, -0.7015841007232666, -0.7748236656188965, 0.7559494972229004, 0.13625584542751312, 0.7732255458831787, -0.19735032320022583, 0.529024064540863, 0.5923982858657837, 0.46223708987236023, -0.9303506016731262, 0.3523999750614166, -0.7395358085632324, -0.5279625058174133, -0.01855618692934513, -0.333597332239151, -0.8898714184761047, 0.027756690979003906, -0.5337218642234802, -0.2636197805404663, -0.014106049202382565, 0.13306525349617004, -0.27360817790031433, 0.39239874482154846, -0.6016501188278198, 0.4533112943172455, -0.17747417092323303, -0.29126694798469543, -0.3132960796356201, -0.15656442940235138, 0.31488609313964844, -0.276065856218338, 0.6693998575210571, -0.3066699206829071, -0.0739484578371048, 0.42807096242904663, -0.3877277970314026, 1.0909667015075684, 0.31275486946105957, -0.30788153409957886, 0.5589990019798279, 0.16931192576885223, 0.7457261681556702, 0.30800583958625793, -0.16203737258911133, 0.263792484998703, -0.05490574240684509, -0.40264758467674255, -0.34591758251190186, 0.8521236777305603, -0.9085352420806885, -0.769953191280365, -0.490896999835968, -0.47617340087890625, -0.04030560702085495, 0.23873034119606018, 0.5392143130302429, 0.2122652679681778, -0.0505451001226902, 0.16749264299869537, 0.4547576904296875, -0.2230938971042633, 0.3602800667285919, 0.6336730122566223, 0.2094082534313202, -0.04495067149400711, 1.1011544466018677, 0.041381724178791046, 0.05539882928133011, 0.34069815278053284, 0.07373076677322388, -0.04314856603741646, -0.6389656066894531, -0.8140988945960999, -0.008349001407623291, -0.21782749891281128, -0.3355972468852997, -0.6194661259651184, -0.5044264197349548, 0.07385580986738205, -0.26124006509780884, -0.5018383860588074, -0.28611472249031067, -0.7069992423057556, -0.060641296207904816, 0.1738859862089157, 0.7662498950958252, -0.025821413844823837, 0.48540472984313965, -0.9978917837142944, 0.5234231352806091, 0.22521042823791504, 0.10738614946603775, -0.33669379353523254, -0.3330104351043701, -0.4404650330543518, 0.65501868724823, -0.3541373610496521, -0.7245310544967651, 0.631238579750061, 0.385931134223938, 0.25006332993507385, 0.5541866421699524, 0.11401352286338806, 0.3090382516384125, -0.48740091919898987, 0.8310410380363464, -0.14771215617656708, -0.789854884147644, 0.5897296667098999, -0.5353642106056213, 0.11781331151723862, 0.4718509316444397, 0.6314980387687683, -0.332493394613266, -0.8962844014167786, -0.23068708181381226, -0.6441432237625122, 0.5395968556404114, 0.11561743915081024, 0.8323767185211182, -0.6070467233657837, 0.4277285039424896, 0.23890992999076843, 0.3979641795158386, -1.0122382640838623, 0.05035664141178131, 0.0375441275537014, -0.2884231209754944, -0.047882791608572006, -0.14689438045024872, 0.043455660343170166, -0.11998419463634491, 0.6477068066596985, -0.23593084514141083, -0.051429204642772675, 0.31872132420539856, -0.10637213289737701, -0.3500005900859833, 0.08733717352151871, 0.4124111235141754, 0.42054483294487, 0.2121013104915619, 0.24347569048404694, 0.0057702562771737576, -0.27761346101760864, 0.24413089454174042, -0.08162002265453339, -0.5332818031311035, 0.2987881600856781, 0.7043290138244629, 0.7254104018211365, 0.3080742359161377, -1.0400258302688599, 0.49451735615730286, 0.07935500144958496, -0.27712395787239075, -0.6074375510215759, 0.3886767029762268, 0.06048284098505974, 0.2913907766342163, 0.4834608733654022, 0.027964653447270393, -0.03781247138977051, -0.9516226649284363, 0.013598568737506866, 0.5371848940849304, -0.29931870102882385, -0.2920314371585846, 0.6421282291412354, 0.25958889722824097, -0.39490747451782227, 0.8012019395828247, -0.44639846682548523, -0.4833414852619171, 0.8792533278465271, 0.6612904071807861, 0.44334083795547485, 0.1886591911315918, 0.5290874242782593, 0.0772213414311409, 0.4549625813961029, -0.3652741312980652, -0.00004191258267383091, 0.39225468039512634, -1.1683591604232788, -0.6408976912498474, -0.8458857536315918, -0.2587789297103882, 0.3208843469619751, -0.32211247086524963, 0.4999755620956421, -0.46572595834732056, -0.07996740937232971, 0.24144460260868073, 0.06808475404977798, -0.6468181014060974, 0.2273571789264679, 0.25340378284454346, 1.077839732170105, -0.8351985216140747, 0.7052465677261353, 0.803312361240387, -0.046215735375881195, -0.6087778806686401, 0.004115403164178133, 0.07774896174669266, -0.8332932591438293, 0.3426015377044678, 0.3922840654850006, 0.14044193923473358, 0.16361784934997559, -0.7646060585975647, -0.46976935863494873, 0.8759683966636658, 0.4293903112411499, -0.7910538911819458, -0.16877079010009766, 0.35071349143981934, 0.800930917263031, -0.42950794100761414, -0.05157265439629555, 0.6102361083030701, 0.6572542786598206, 0.19253233075141907, -0.6730877161026001, -0.2670080065727234, -0.039292652159929276, -0.36246734857559204, 0.15435977280139923, -0.934255838394165, 0.8102165460586548, -0.324474573135376, -0.4538182318210602, 0.2110794633626938, 0.6415418982505798, -0.005792751908302307, 0.7167360186576843, 0.5704463124275208, 0.5321722030639648, 0.5554395914077759, -0.09165998548269272, 1.1313363313674927, -0.39136847853660583, 0.013450209982693195, 0.7788227796554565, -0.01458226889371872, 0.8096055388450623, 0.34412333369255066, 0.10196206718683243, 0.6830148100852966, 0.7736683487892151, -0.23182378709316254, 0.37762734293937683, 0.4285396933555603, -0.503673255443573, -0.496907502412796, -0.5154590010643005, -0.06198824569582939, 0.7690682411193848, 0.34942489862442017, -0.41681069135665894, -0.13181297481060028, 0.03763175755739212, 0.21708057820796967, 0.3175313174724579, -0.43158721923828125, 0.9450471997261047, 0.22327931225299835, -0.8668535947799683, 0.4423868954181671, 0.3190179169178009, 0.7217012047767639, -0.5030106902122498, 0.07338026165962219, -0.5676561594009399, -0.04337843134999275, -0.24665813148021698, -0.5768225193023682, 0.5614481568336487, 0.32325953245162964, -0.3344551920890808, -0.05298234149813652, 0.6610355377197266, -0.4549563527107239, -0.8023459911346436, 0.08795984834432602, 0.6488692164421082, 0.011442764662206173, -0.2710323631763458, -0.134030282497406, 0.09501461684703827, -0.11518242955207825, -0.45227667689323425, 0.28225407004356384, 0.4745228588581085, -0.13546232879161835, 0.6398256421089172, 1.101704478263855, 0.311928927898407, -0.027563834562897682, -0.1855764240026474, 0.9237420558929443, -0.5292091965675354, -0.2955383062362671, -0.8924952745437622, 0.023945143446326256, 0.055558983236551285, -0.23692813515663147, 0.4466429650783539, 0.493234783411026, 1.0864262580871582, -0.02221512235701084, 0.8160833716392517, 0.20859450101852417, 0.34886693954467773, -0.7743497490882874, 0.7683403491973877, -0.7515812516212463, 0.34836262464523315, 0.16021722555160522, -0.9699616432189941, -0.16813290119171143, 0.3328315317630768, 0.1090422123670578, -0.2647016644477844, 0.5116090178489685, 0.8517158031463623, -0.09788256138563156, 0.04991234838962555, 0.21172143518924713, 0.5509291291236877, 0.1640663892030716, 0.4768100380897522, 1.046386957168579, -0.13819900155067444, 0.8178730010986328, -0.11663975566625595, -0.026914840564131737, -0.03831407055258751, -1.1226955652236938, -0.9507080316543579, -0.32605645060539246, -0.08655626326799393, -0.18384329974651337, 0.40437325835227966, 0.7767266631126404, 0.7660572528839111, -0.7785041332244873, 0.1444869041442871, -0.22027325630187988, 0.4378771185874939, -0.20064681768417358, -0.195292130112648, 0.14068083465099335, -0.4796685576438904, -1.2275325059890747, 0.5344502925872803, -0.0062186443246901035, 0.0507521852850914, -0.3149949610233307, 0.14275230467319489, -0.08643127977848053, 0.26323068141937256, 0.5505827069282532, 0.2251071035861969, -0.45581623911857605, -0.30786362290382385, -0.13434436917304993, -0.21839311718940735, -0.15959641337394714, 0.6915647387504578, -0.9949033856391907, 0.12819385528564453, 0.37001824378967285, 0.7264177203178406, 0.4808400571346283, -0.09590926766395569, 0.5892502069473267, -0.838821291923523, 0.1951003223657608, 0.11302492767572403, 0.10656340420246124, 0.3536769449710846, -0.5229871869087219, 0.3486885726451874, 0.38682854175567627, -0.31517672538757324, -0.5779154896736145, 0.12976917624473572, -0.628780722618103, -0.31438374519348145, 1.3168038129806519, 0.08473726361989975, -0.3432498872280121, 0.031046979129314423, -0.17397597432136536, 0.11124509572982788, -0.21965400874614716, 1.0695605278015137, 0.663971483707428, 0.27164608240127563, 0.15593375265598297, -0.6403519511222839, 0.646153450012207, 0.19729503989219666, -0.7530153393745422, -0.48143792152404785, 0.48002320528030396, 0.2833171486854553, 0.1746937334537506, 0.4652557969093323, 0.2024848461151123, 0.18602359294891357, -0.1487317979335785, -0.497488796710968, -0.1736660897731781, -0.5350877046585083, 0.12051556259393692, -0.00875829253345728, -0.025007260963320732, 0.1831168234348297 ]
http://arxiv.org/abs/2406.12125v1
http://arxiv.org/pdf/2406.12125v1
Efficient Sequential Decision Making with Large Language Models
2024-06-17T22:13:22
2024-06-17T22:13:22
Dingyang Chen, Qi Zhang, Yinglun Zhu
cs.LG
cs.LG, cs.CL
This paper focuses on extending the success of large language models (LLMs) to sequential decision making. Existing efforts either (i) re-train or finetune LLMs for decision making, or (ii) design prompts for pretrained LLMs. The former approach suffers from the computational burden of gradient updates, and the latter approach does not show promising results. In this paper, we propose a new approach that leverages online model selection algorithms to efficiently incorporate LLMs agents into sequential decision making. Statistically, our approach significantly outperforms both traditional decision making algorithms and vanilla LLM agents. Computationally, our approach avoids the need for expensive gradient updates of LLMs, and throughout the decision making process, it requires only a small number of LLM calls. We conduct extensive experiments to verify the effectiveness of our proposed approach. As an example, on a large-scale Amazon dataset, our approach achieves more than a $6$x performance gain over baselines while calling LLMs in only $1.5$\% of the time steps.
[ -0.27584901452064514, -0.7099136114120483, 0.8731840252876282, 0.5752593278884888, -0.10853813588619232, 0.3569171726703644, -0.5946425199508667, -0.33944380283355713, 0.10211269557476044, 0.4866364598274231, -0.6097060441970825, -0.3559485375881195, -0.31235823035240173, 0.20824916660785675, -0.23750856518745422, 0.5541701912879944, 0.03909450024366379, 0.26941514015197754, 0.02765536867082119, 0.04773499444127083, -0.21943438053131104, -0.21336142718791962, -1.4232702255249023, -0.4882190525531769, 0.5869624018669128, 0.20746740698814392, 0.6330311894416809, 0.6030489206314087, 0.4000207483768463, 0.41949883103370667, -0.05703235790133476, 0.23215848207473755, -0.4922967553138733, 0.27227774262428284, -0.17737488448619843, -0.5984508991241455, -0.38517436385154724, -0.23080560564994812, 0.7299355268478394, 0.7321749329566956, -0.40576496720314026, 0.12495081126689911, -0.044917311519384384, 0.7678484916687012, -0.5266406536102295, 0.02249365858733654, -0.7011168599128723, 0.3550936281681061, -0.02085217833518982, -0.2011631578207016, -0.8258036375045776, -0.5804144144058228, 0.26418906450271606, -0.5924229621887207, -0.07622361928224564, 0.20089490711688995, 0.12469188868999481, 0.25905266404151917, -0.19111278653144836, -0.17410454154014587, -0.9024292826652527, 0.9326731562614441, -0.7897211909294128, 0.5776088833808899, 0.32292672991752625, 0.321158766746521, -0.3708118796348572, -0.9656000733375549, -0.4088471531867981, -0.5572212934494019, 0.09869644045829773, -0.09245148301124573, 0.11114008724689484, -0.02878829836845398, 0.4151290953159332, -0.06341610848903656, -0.4562733769416809, 0.693286657333374, 0.03477118909358978, 0.1511213630437851, 0.658781886100769, 0.21730729937553406, -0.08960197865962982, 0.26084598898887634, -0.22065404057502747, -0.07413047552108765, -0.8102495670318604, -0.09142367541790009, 0.26049965620040894, 0.377415269613266, 0.1073986366391182, 0.3076905608177185, -0.2766776978969574, 0.7980783581733704, 0.2487647384405136, -0.3197639286518097, 0.29394975304603577, -0.20473389327526093, -0.2383066713809967, -0.17567040026187897, 0.8001781702041626, 0.1955670863389969, 0.360755056142807, -0.1068517193198204, -0.44841334223747253, -0.2985207438468933, 0.07557757198810577, -0.929714560508728, 0.08333013951778412, 0.4377523362636566, -0.5542788505554199, -0.20916764438152313, -0.30315038561820984, -0.767476499080658, -0.6259719133377075, -0.46415436267852783, 0.21487349271774292, -0.04204625263810158, 0.0163487046957016, 0.12259254604578018, -0.01795043796300888, 0.10801738500595093, 0.7944936156272888, -0.9194190502166748, 0.35273241996765137, 0.6032326221466064, 0.987857460975647, -0.19246307015419006, -0.22622215747833252, -0.7433080077171326, -0.06080878525972366, -0.6876676678657532, 0.7640277147293091, -0.6084835529327393, -0.4564661681652069, 0.0561407133936882, -0.24212123453617096, 0.15057876706123352, -0.6290977597236633, 0.41449353098869324, -0.8864361643791199, 0.04075152799487114, -0.017494646832346916, -0.4696030020713806, -0.004068299662321806, 0.17416536808013916, -0.8200031518936157, 0.9918938875198364, -0.13284701108932495, -0.46090516448020935, 0.4284338355064392, -0.327003538608551, -0.4487176239490509, -0.031944531947374344, -0.2158326953649521, -0.3814891576766968, -0.05908888578414917, 0.17305703461170197, 0.6396923065185547, -0.5653570890426636, 0.25929808616638184, -0.5488531589508057, -0.2113831490278244, 0.1742437183856964, -0.07885263860225677, 0.6347097158432007, 0.28596988320350647, -0.3221130669116974, 0.2664337754249573, -0.7644843459129333, 0.0689471885561943, 0.15170195698738098, -0.6091892719268799, -0.19037850201129913, 0.5126538276672363, -0.2862780690193176, 0.2399265468120575, 0.17352664470672607, -0.20355330407619476, 0.5079666972160339, -0.26437559723854065, 0.4183852970600128, 1.0103541612625122, -0.2677408754825592, 0.7383245825767517, -0.4800797402858734, 0.5525728464126587, -0.4489646255970001, 0.12606102228164673, -0.0021753800101578236, -0.4458654224872589, -1.0738166570663452, -0.4799557626247406, 0.5642151832580566, 0.6409229040145874, -0.8413525819778442, 0.5138736367225647, -0.2642621397972107, -0.34729427099227905, -0.33443310856819153, 0.09855461865663528, 0.04336601495742798, 0.03126034140586853, 0.14002256095409393, -0.25487440824508667, -0.6666457653045654, -0.6416743993759155, -0.057951316237449646, -0.04714261367917061, -0.15101271867752075, 0.13330435752868652, 0.3329489529132843, -0.36376118659973145, 0.9730398654937744, -0.4330436587333679, -0.05200505256652832, -0.3202514350414276, 0.15687012672424316, 0.4302482306957245, 0.20878636837005615, 0.4513765573501587, -0.393844336271286, -0.5698421001434326, 0.15441429615020752, -0.6512937545776367, -0.07805521786212921, -0.5580980777740479, -0.05137895047664642, 0.20576609671115875, 0.6461771130561829, -0.7593526244163513, -0.0013633809285238385, 0.23893707990646362, 0.08407822996377945, 0.21565815806388855, -0.35028940439224243, -0.10058575868606567, -0.7010969519615173, -0.10230683535337448, 0.06677189469337463, -0.5116091966629028, -0.6369960904121399, 0.04856554791331291, -0.06491171568632126, 0.17240308225154877, -0.4832843244075775, 0.8046872019767761, -0.7089247703552246, -0.3344345986843109, -0.11821270734071732, 0.1280965954065323, -0.49615585803985596, 0.6023731231689453, 0.19421268999576569, 0.4904422461986542, 0.5702728629112244, -0.7188146710395813, 0.2807832956314087, 0.057334449142217636, -0.7520855665206909, 0.03867613896727562, -0.5513799786567688, 0.35027727484703064, -0.44923415780067444, 0.6522616147994995, -0.6887606978416443, 0.06076737865805626, 0.24505051970481873, -0.09355722367763519, 0.1988377720117569, -0.03352280333638191, -0.5264135599136353, -0.333845317363739, -0.5084548592567444, 0.15994369983673096, 0.5517926216125488, -0.6852594017982483, 0.8264278173446655, 0.2806747555732727, -0.4742303192615509, -0.46641620993614197, -0.6283375024795532, -0.03819608315825462, -0.23312728106975555, -0.46985679864883423, 0.1855868250131607, -0.3535515069961548, -0.5462828874588013, -0.29500311613082886, 0.2504090368747711, 0.1821787804365158, 0.23722395300865173, -0.11050449311733246, 0.23566147685050964, -0.08193720132112503, -0.016307031735777855, -0.3198569118976593, -0.10366597026586533, -0.1722889393568039, -0.6053832173347473, 0.655900776386261, 0.21388520300388336, -0.16736404597759247, -0.29068517684936523, 0.18296177685260773, 0.5611832141876221, -0.27405500411987305, 0.7093234062194824, 0.2803767919540405, -0.267605185508728, -0.8896586298942566, -0.6410697102546692, -0.21405422687530518, -0.4974612295627594, 0.3307775557041168, -0.20725750923156738, -0.8355302810668945, 0.5140492916107178, -0.33076348900794983, 0.313383013010025, 0.09679744392633438, 0.7928715944290161, 0.07504052668809891, 1.1630749702453613, 0.2793577313423157, 0.007645462639629841, 0.9132067561149597, -0.14919233322143555, 0.16562481224536896, -0.4805572032928467, -0.1270405799150467, -0.4326082766056061, -0.2520000636577606, -0.6987276673316956, -0.7620756030082703, 0.35164132714271545, -0.054930731654167175, -0.40905067324638367, -0.09685984998941422, -0.0037921264301985502, 0.5213468074798584, 0.5467804074287415, 0.1467948704957962, 0.3589058816432953, 0.05003519356250763, -0.11856797337532043, 0.2309240698814392, -0.7644522190093994, -0.39376741647720337, 1.1927789449691772, 0.3545363247394562, 0.7835304141044617, 0.2786306142807007, 0.5930428504943848, 0.4002957046031952, 0.5503626465797424, -0.876539409160614, 0.78132563829422, 0.0023102310951799154, -0.2567381262779236, -0.43673279881477356, -0.573417603969574, -1.1252918243408203, 0.6522387266159058, -0.5174860954284668, -0.550814151763916, 0.07289458811283112, 0.016132371500134468, -0.7405552268028259, 0.1267409771680832, -0.49416854977607727, 0.458413302898407, -0.5362621545791626, -0.49185726046562195, -0.5575168132781982, -0.585867166519165, 0.2956662178039551, -0.5829746127128601, 0.40483617782592773, -0.018305694684386253, -0.2470894306898117, 0.7708250284194946, -0.5585274696350098, 0.7961252331733704, 0.07526561617851257, -0.04127226769924164, 0.2388385832309723, -0.0036187656223773956, 1.0569714307785034, -0.17898230254650116, -0.4074386954307556, -0.0028824415057897568, -0.5392759442329407, 0.032594554126262665, -0.7079052925109863, 0.7816328406333923, -0.6903380155563354, -0.605835497379303, -0.50606769323349, -0.04312277212738991, -0.5026629567146301, 0.3429381549358368, -0.09783230721950531, 0.41454577445983887, -0.12372932583093643, 0.13075187802314758, 0.4593486487865448, -0.3826102614402771, 0.7255005836486816, 0.8342668414115906, -0.5330687761306763, -0.548038899898529, 0.7348027229309082, 0.21106740832328796, 0.357963502407074, 0.5010814666748047, 0.4513263702392578, -0.5338762998580933, -0.9540758728981018, -0.26973143219947815, 0.23537077009677887, -0.6743667721748352, 0.0007659196853637695, -0.4923972189426422, 0.15040655434131622, -0.26032790541648865, -0.06351598352193832, -0.17038178443908691, -0.4207036793231964, -0.23144960403442383, -0.13825012743473053, 0.09410814940929413, 0.9053344130516052, -0.07695573568344116, 0.39771923422813416, -0.7919173240661621, 0.33431312441825867, 0.39301732182502747, 0.3966458737850189, 0.415963739156723, -0.4352031350135803, -0.17419417202472687, -0.18885540962219238, -0.2760072350502014, -0.672236979007721, 0.4414946436882019, 0.13167434930801392, 0.726467490196228, 0.38189151883125305, -0.12026359885931015, 0.6551229357719421, -0.9135622978210449, 0.3925524055957794, 0.12666179239749908, -0.7014074921607971, 0.39641833305358887, -0.47684210538864136, 0.19603799283504486, 0.5304486155509949, 0.48308637738227844, -0.421254962682724, -0.1805112510919571, -0.475615918636322, -0.8487693071365356, 0.8246452808380127, 0.10100910812616348, -0.26947474479675293, 0.02645137533545494, 0.057694610208272934, 0.06954128295183182, 0.3023196756839752, -0.5152732133865356, -0.364719957113266, 0.4979504942893982, 0.08668570220470428, -0.2284024953842163, -0.0316552072763443, 0.13276992738246918, -0.334513396024704, 0.6444485187530518, -0.1718245893716812, 0.03391072154045105, -0.06399688869714737, -0.03640782833099365, -0.07327067106962204, 0.08255382627248764, 0.41296592354774475, 0.7726424932479858, -0.10839547961950302, -0.25880908966064453, 0.37136489152908325, 0.005998543929308653, 0.06521821022033691, 0.07020943611860275, -0.23888175189495087, -0.1310928910970688, 0.4040307104587555, 0.9330609440803528, 0.3854160010814667, -0.8215864896774292, 0.27599695324897766, -0.16248582303524017, 0.024108216166496277, -0.5354836583137512, -0.20956607162952423, 0.06471746414899826, 0.5384567379951477, 0.27167823910713196, 0.2008172869682312, 0.06287617236375809, -0.6841041445732117, 0.17489881813526154, 0.4403286278247833, 0.39352893829345703, 0.04926611855626106, 0.3633435070514679, 0.5878244638442993, -0.4467763304710388, 0.7166415452957153, -0.2698194086551666, -0.4417061507701874, 0.5367287397384644, 0.3372422754764557, 0.8388136029243469, -0.24071674048900604, 0.3085947036743164, 0.340917706489563, 0.07641338557004929, -0.8225840926170349, 0.15526661276817322, 0.06338419765233994, -0.9101864695549011, -0.6228349208831787, -0.623604416847229, -0.6036144495010376, 0.06088857725262642, -0.26192209124565125, 0.5100537538528442, -1.004331350326538, -0.31891709566116333, -0.1963861733675003, -0.05163539946079254, -0.6868782043457031, 0.18913006782531738, 0.4694163203239441, 0.9337573051452637, -0.4091395437717438, 0.8448947668075562, 0.381116658449173, -0.05615079030394554, -0.5912672281265259, -0.16627441346645355, 0.08260959386825562, -0.8687593340873718, 0.6914747953414917, 0.04578619450330734, -0.19221770763397217, 0.22593382000923157, -0.34907060861587524, -0.9933764934539795, 1.0819586515426636, 0.530744194984436, -0.9935392141342163, 0.10123182088136673, -0.1611080914735794, 0.4633925259113312, -0.37637385725975037, 0.7463364005088806, 0.6806658506393433, 0.520382821559906, 0.43716728687286377, -0.9909977912902832, -0.04240283742547035, 0.06066111475229263, -0.053104907274246216, 0.3721553385257721, -0.7599387764930725, 0.995863139629364, -0.5632026791572571, -0.4234205186367035, 0.17342181503772736, 0.7368243336677551, 0.4967021942138672, -0.0866914838552475, 0.6764708757400513, 0.5956348180770874, 1.172295093536377, 0.1882963478565216, 1.2386242151260376, -0.10320202261209488, 0.3196397125720978, 1.2904365062713623, -0.6127606630325317, 1.2451159954071045, 0.15142449736595154, -0.3537622094154358, 0.4520787298679352, 1.0546821355819702, -0.03148968517780304, 0.6088842153549194, 0.3596654236316681, -0.3884042203426361, -0.6586998701095581, -0.02433941885828972, -0.17170728743076324, 0.15926402807235718, 0.20641006529331207, -0.20819534361362457, -0.032605063170194626, -0.2893263101577759, 0.05461561679840088, -0.26654550433158875, -0.4268246293067932, 0.7178860306739807, 0.1713562309741974, -0.9176394939422607, 0.4322032034397125, 0.1682383120059967, 0.7372545599937439, -0.7837134599685669, 0.053842294961214066, -0.1408393681049347, 0.41848888993263245, -0.19741585850715637, -0.5911129713058472, -0.24671922624111176, -0.15433354675769806, 0.029256360605359077, -0.6482661962509155, 0.4791262149810791, -0.4934077858924866, -0.6734886169433594, 0.43528488278388977, 0.6014525294303894, -0.15621301531791687, 0.06262858211994171, -0.5796694159507751, 0.24362796545028687, -0.10629798471927643, -0.27639228105545044, 0.32736971974372864, 0.1262854039669037, -0.3484244644641876, 1.0885794162750244, 0.8912108540534973, 0.4327335059642792, -0.005487381014972925, 0.3113773763179779, 0.5955110788345337, -0.7175107002258301, -0.8451025485992432, -0.9364920854568481, 0.32062724232673645, -0.1343141496181488, -0.0981474220752716, 0.5734694600105286, 0.34945136308670044, 0.9136091470718384, -0.12790866196155548, 1.0505938529968262, 0.2128295749425888, 0.3564232587814331, -0.892231285572052, 0.3139195144176483, -0.351310133934021, 0.4982118010520935, 0.09201765060424805, -0.9523526430130005, -0.3513961732387543, 0.8216128349304199, -0.49396249651908875, 0.14667612314224243, 0.861541748046875, 0.8127191066741943, 0.33030179142951965, 0.14373907446861267, 0.15380148589611053, 0.43614858388900757, 0.28193962574005127, 0.5644673705101013, 1.1933115720748901, 0.08965950459241867, -0.05661822855472565, 0.10684797912836075, -0.350474089384079, -0.14469917118549347, -1.1375638246536255, -1.1024525165557861, -0.15390896797180176, -0.24282413721084595, 0.02043149806559086, -0.08037422597408295, 1.5884743928909302, 0.6817038655281067, -0.7555392384529114, -0.4884396493434906, 0.14928707480430603, 0.24388740956783295, -0.12909765541553497, -0.052132803946733475, 0.06126070395112038, -0.3504916727542877, -0.7303609251976013, 0.7267301678657532, -0.016538338735699654, -0.03129365295171738, -0.2561373710632324, -0.336664617061615, -0.2930879294872284, 0.12968631088733673, 0.895516037940979, 0.17693988978862762, -0.6860726475715637, -0.06117437407374382, -0.37576666474342346, 0.034209080040454865, 0.009822612628340721, 1.1762139797210693, -0.8679442405700684, 0.26159143447875977, 0.7371149659156799, 0.9587664604187012, 0.614851176738739, -0.07851078361272812, 0.7725088596343994, -0.3091873228549957, 0.1320996880531311, 0.28377842903137207, 0.593268632888794, 0.4302683174610138, 0.024325557053089142, 0.44173663854599, 0.19745580852031708, -0.5065944790840149, -0.5692487359046936, 0.07457590103149414, -0.8167325854301453, -0.3349357843399048, 1.5454076528549194, 0.11233168095350266, -0.016478918492794037, -0.015024470165371895, -0.1876690834760666, -0.20350632071495056, -0.6189833283424377, 0.41478362679481506, 0.5945959687232971, -0.20030555129051208, -0.029566388577222824, -0.6369900703430176, 0.4968303442001343, 0.3100285530090332, -0.7804664373397827, -0.011745860800147057, 0.6199893951416016, 0.1285255402326584, -0.136227548122406, 0.9333266019821167, 0.3513104021549225, -0.12545788288116455, -0.34886154532432556, -0.23433835804462433, 0.23178568482398987, -0.5185753703117371, -0.5315839052200317, 0.16059213876724243, 0.37463662028312683, -0.04060157760977745 ]
http://arxiv.org/abs/2406.12117v1
http://arxiv.org/pdf/2406.12117v1
Decoding the Narratives: Analyzing Personal Drug Experiences Shared on Reddit
2024-06-17T21:56:57
2024-06-17T21:56:57
Layla Bouzoubaa, Elham Aghakhani, Max Song, Minh Trinh, Rezvaneh Rezapour
cs.CL
cs.CL
Online communities such as drug-related subreddits serve as safe spaces for people who use drugs (PWUD), fostering discussions on substance use experiences, harm reduction, and addiction recovery. Users' shared narratives on these forums provide insights into the likelihood of developing a substance use disorder (SUD) and recovery potential. Our study aims to develop a multi-level, multi-label classification model to analyze online user-generated texts about substance use experiences. For this purpose, we first introduce a novel taxonomy to assess the nature of posts, including their intended connections (Inquisition or Disclosure), subjects (e.g., Recovery, Dependency), and specific objectives (e.g., Relapse, Quality, Safety). Using various multi-label classification algorithms on a set of annotated data, we show that GPT-4, when prompted with instructions, definitions, and examples, outperformed all other models. We apply this model to label an additional 1,000 posts and analyze the categories of linguistic expression used within posts in each class. Our analysis shows that topics such as Safety, Combination of Substances, and Mental Health see more disclosure, while discussions about physiological Effects focus on harm reduction. Our work enriches the understanding of PWUD's experiences and informs the broader knowledge base on SUD and drug use.
[ -0.3798597455024719, -0.6675954461097717, 0.7596011161804199, 0.18763256072998047, 0.002606502501294017, 0.2383112907409668, 0.057986460626125336, -0.7462481260299683, 0.3774665594100952, 0.5821442604064941, -0.47413134574890137, -0.9108030200004578, -0.9288399815559387, 0.35844919085502625, -0.24932587146759033, 1.550088882446289, -0.2191213220357895, -0.19558005034923553, -0.06990807503461838, -0.00717263063415885, -0.7403199076652527, -0.8248562216758728, -0.6097920536994934, -0.06553053855895996, 1.052619457244873, 0.11959292739629745, 0.03899122029542923, 0.08622420579195023, 0.6205458045005798, 0.21549062430858612, 0.13966046273708344, -0.18962498009204865, -0.6793990135192871, -0.09541191905736923, -0.26258009672164917, -0.22877731919288635, -0.34393587708473206, 0.09046941995620728, 0.06299079209566116, 0.590989887714386, -0.26317745447158813, 0.14653509855270386, 0.16505904495716095, 0.1449836790561676, -0.6103174090385437, -0.11762278527021408, -0.12474147230386734, 0.06436723470687866, -0.13184459507465363, -0.34064263105392456, -0.41689661145210266, -0.4108399748802185, 0.013085109181702137, -0.776388943195343, 0.30346429347991943, 0.13063128292560577, 0.6666725277900696, -0.026555949822068214, -0.7257004380226135, -0.4918753504753113, -0.7500335574150085, 0.40293267369270325, -0.5414012670516968, 0.22289732098579407, 0.47781509160995483, 0.14178742468357086, -0.09411750733852386, -0.9578714966773987, -0.538703978061676, 0.397306352853775, -0.6953641176223755, -0.13657133281230927, -0.05427271127700806, 0.20479081571102142, 0.21827425062656403, 0.44377610087394714, -0.6666630506515503, -0.029845409095287323, -0.7099403738975525, -0.39758020639419556, 0.42841836810112, 0.466083824634552, 0.5985706448554993, -0.26594841480255127, -0.7633788585662842, 0.34065407514572144, -0.49245625734329224, 0.0704786628484726, 0.18392875790596008, 0.0541401244699955, -0.16135725378990173, 0.6194528937339783, 0.07971977442502975, 0.46727702021598816, -0.28967079520225525, -0.4533674418926239, 0.4916588366031647, -0.6421053409576416, 0.022773200646042824, -0.014587393961846828, 0.956577718257904, 0.926237940788269, -0.12250154465436935, -0.08084791153669357, -0.14792810380458832, 0.06907480955123901, 0.4889087677001953, -0.9194250106811523, -0.5781185030937195, 0.22988970577716827, -0.8842568397521973, -0.2699532210826874, -0.03007448837161064, -0.7931757569313049, -0.9914913177490234, -0.13532112538814545, 0.5146934390068054, -0.19045355916023254, -0.4557723104953766, 0.08324362337589264, -0.26929721236228943, -0.25155046582221985, 0.18710419535636902, -0.873102068901062, 0.6620249152183533, 0.6042661070823669, 1.0740971565246582, -0.5114853978157043, -0.27456653118133545, -0.1366206258535385, 0.22844935953617096, 0.20425303280353546, 0.9319536089897156, -0.3393919765949249, -0.37936675548553467, -0.011147272773087025, 0.3823704719543457, -0.029994143173098564, -0.49660825729370117, 0.8731846809387207, -0.4188578724861145, 0.15296849608421326, -0.4974188804626465, -0.729399561882019, -0.31202083826065063, 0.23960921168327332, -0.6051839590072632, 0.3446720242500305, 0.057031478732824326, -1.1389306783676147, 0.6193434000015259, -0.8214213252067566, -0.2669866979122162, 0.057322777807712555, 0.057544365525245667, -0.07389339059591293, 0.14046837389469147, 0.0031240375246852636, 0.3096633851528168, 0.02413497306406498, 0.17979557812213898, -0.0830686166882515, -0.344234436750412, 0.3169316053390503, -0.280575692653656, 0.7590782642364502, 0.2495749145746231, 0.1804523468017578, 0.2691533863544464, -0.6191942691802979, -0.2787190079689026, -0.24259421229362488, -0.5074812173843384, -0.6884952187538147, -0.29818689823150635, 0.20869067311286926, 0.27899354696273804, -0.024729730561375618, -0.8152936100959778, 0.029611511155962944, -0.21392224729061127, 0.30817487835884094, 0.5319873690605164, 0.7520814538002014, -0.05129704251885414, -0.371412456035614, 0.6082342267036438, 0.18042288720607758, 0.1519877314567566, -0.24684792757034302, -0.6136518716812134, -0.13294516503810883, -0.2723698616027832, 0.26952335238456726, 0.5032247304916382, -0.5846015810966492, 0.2092094123363495, -0.043714623898267746, -0.28908073902130127, -0.49001383781433105, 0.14179731905460358, 0.3500150740146637, 0.692676842212677, 0.7925692796707153, -0.3298303484916687, -0.42450404167175293, -0.9266617298126221, -0.43472638726234436, 0.14211232960224152, -0.2254653424024582, 0.2488037645816803, 0.6287241578102112, -0.4235571324825287, 0.7514938116073608, -0.8465977907180786, -0.6565373539924622, -0.09161112457513809, 0.711135745048523, -0.05231281369924545, 0.1349835842847824, 0.3164387345314026, -0.6744544506072998, -0.649682879447937, -0.047388408333063126, -0.6775918006896973, -0.10188313573598862, -0.09777497500181198, -0.06066766008734703, -0.3673834502696991, 0.18532811105251312, -0.2569804787635803, 0.44940289855003357, 0.3131130635738373, -0.6769768595695496, 0.5051806569099426, -0.262766033411026, 0.35636427998542786, -0.766357958316803, -0.14426776766777039, 0.23259811103343964, 0.24236325919628143, -0.778927206993103, -0.4138525724411011, -0.18511223793029785, -0.07615189254283905, -0.24861404299736023, 0.2830811142921448, -0.42924609780311584, -0.05680513754487038, -0.28032186627388, -0.11577173322439194, 0.051453348249197006, 0.27818962931632996, 0.2420206516981125, 0.3643288314342499, 0.5880554914474487, -0.42705675959587097, 0.22915108501911163, 0.09992033243179321, -0.4678795039653778, 0.55412757396698, -0.4278963506221771, 0.011917226016521454, -0.10041194409132004, 0.2991198003292084, -1.2200734615325928, -0.5730144381523132, 0.5419614315032959, -0.3817671537399292, 0.13709646463394165, -0.08798767626285553, -0.43462881445884705, -0.2596885561943054, -0.1117548793554306, 0.577314019203186, 0.10823741555213928, -0.21739207208156586, 0.30741384625434875, 0.8729615211486816, -0.3466000258922577, -0.39419543743133545, -0.46515023708343506, 0.18240703642368317, -0.5891494750976562, -0.24908135831356049, 0.34873348474502563, -0.10569245368242264, -0.3027878999710083, 0.1742761880159378, 0.16776007413864136, -0.19470086693763733, -0.04094991832971573, 0.1836547553539276, 0.03259895741939545, 0.11065816134214401, 0.2932686507701874, 0.1785881221294403, -0.17737357318401337, 0.35213178396224976, 0.2878910303115845, 0.5519164204597473, -0.17929385602474213, 0.2769715189933777, -0.6341233849525452, 0.6213029026985168, 0.2664642930030823, -0.05950552225112915, 1.1472209692001343, 0.5765843391418457, -0.39012473821640015, -0.1680224984884262, -0.2415822446346283, -0.2866791784763336, -0.4261247515678406, -0.04661356285214424, -0.2935386598110199, -0.7570900917053223, 0.3948309123516083, -0.15880191326141357, 0.10422946512699127, 0.03306583687663078, 0.5382328033447266, -0.5026336908340454, 0.6744613647460938, 0.4336651861667633, 0.5617721676826477, -0.07480023056268692, -0.0884198471903801, 0.3352702558040619, -0.6490119695663452, -0.3385649025440216, 0.09671138226985931, -0.4447922110557556, -0.3582453429698944, -0.3855169415473938, 0.5397316217422485, -0.10714767873287201, -0.11640030145645142, 0.15069034695625305, -0.5961127877235413, 0.5859825611114502, 0.2579970955848694, 0.13946422934532166, 0.49152904748916626, -0.026727044954895973, 0.3399941623210907, -0.5335869193077087, -0.36787664890289307, -0.39338061213493347, 1.0669273138046265, 0.6176354885101318, 0.6107993721961975, 0.12354806810617447, 0.8464933037757874, 0.5570255517959595, 0.8488323092460632, -0.7228987216949463, 0.349538117647171, -0.09619995951652527, -0.6226217150688171, -0.0027875008527189493, -0.5135139226913452, -1.146996259689331, 0.3754664659500122, -0.40354788303375244, -0.6643490195274353, 0.13044679164886475, -0.16538837552070618, -0.5982782244682312, 0.30801355838775635, -0.9389174580574036, 0.9635592699050903, -0.3429562449455261, 0.00885293073952198, -0.16023430228233337, -0.8478853702545166, 0.9275716543197632, -0.333315372467041, 0.8315228223800659, -0.03976025804877281, -0.061950236558914185, 1.0744651556015015, -0.2786550223827362, 0.8439698815345764, -0.25410211086273193, -0.2303958684206009, 0.3628263771533966, -0.035106875002384186, -0.22830665111541748, -0.10970775038003922, 0.42745816707611084, 0.19558283686637878, 0.18310607969760895, -0.06436044722795486, -0.5781819224357605, 0.8044986128807068, -0.8458560109138489, -0.23696765303611755, -0.25972819328308105, -0.30889052152633667, -0.3216283619403839, 0.2709684371948242, 0.3559512495994568, 0.4077436327934265, -0.008749926462769508, 0.06837686151266098, 0.5071362853050232, -0.6183087825775146, 0.051197558641433716, 0.15732233226299286, -0.45276933908462524, -0.4434835612773895, 0.801933765411377, 0.3166826367378235, 0.0998489186167717, 0.16572506725788116, 0.41668203473091125, -0.4531584680080414, -0.647177517414093, 0.0763188898563385, 0.596706748008728, -0.7305717468261719, -0.09728120267391205, -0.7378352284431458, -0.019581781700253487, -0.48277631402015686, 0.21484114229679108, -0.06764764338731766, -0.22421753406524658, -0.12325235456228256, -0.5426693558692932, 0.2301882803440094, 1.187839388847351, -0.2495037168264389, 0.2577436566352844, -1.049001693725586, 0.7231001853942871, 0.2046663761138916, 0.5326523780822754, -0.029855642467737198, -0.11407790333032608, -0.08186814188957214, -0.2474493533372879, -0.26665905117988586, -1.274260401725769, 0.3117862343788147, -0.03170805424451828, 0.6933435797691345, 0.3342202305793762, 0.6411036849021912, 0.3177762031555176, -0.1625245362520218, 0.7580857276916504, 0.5102236270904541, -0.455143004655838, 0.5074622631072998, -0.45218127965927124, -0.2902432978153229, 0.588245153427124, 0.9377833008766174, -0.8762233257293701, -0.0839802697300911, -0.2972450256347656, -0.9397011995315552, 0.6145710945129395, 0.22255262732505798, 0.10096345096826553, -0.23033364117145538, 0.1325473040342331, 0.4991343021392822, 0.12873482704162598, -1.0770554542541504, -0.5379514694213867, -0.18067575991153717, -0.13673736155033112, 0.22999544441699982, -0.45718076825141907, -0.4142114222049713, -0.20787623524665833, 0.3308246433734894, 0.27253031730651855, 0.25815704464912415, -0.018529949709773064, -0.036661162972450256, 0.23331739008426666, 0.4167516827583313, 0.3413100242614746, 0.6699102520942688, -0.11984699219465256, 0.45831772685050964, -0.11648061871528625, -0.6023983359336853, 0.2808876931667328, -0.322070837020874, -0.08533596247434616, -0.2934457063674927, 0.26614829897880554, 0.8341737985610962, 0.12032762914896011, -0.6512290239334106, 0.4320257306098938, -0.49205583333969116, -0.2785803973674774, 0.0028535346500575542, -0.05591729283332825, 0.10435465723276138, 0.025644123554229736, 0.2480567991733551, 0.11635331064462662, 0.37165966629981995, -0.9824586510658264, 0.47492823004722595, -0.29353153705596924, -0.26572853326797485, -0.3408387303352356, 0.5163663625717163, 0.3758804500102997, -0.5027381777763367, 0.4489814341068268, -0.2425541877746582, -0.2946957051753998, 0.11987917125225067, 0.4526215195655823, 0.6735036373138428, 0.05234849080443382, 0.4361990988254547, 0.8696839809417725, -0.09288661181926727, 0.18293921649456024, -0.21851667761802673, -0.016842719167470932, -0.8317845463752747, 0.055137354880571365, -0.764508843421936, 0.1572689265012741, 0.2961292862892151, -0.6955247521400452, 0.1286521553993225, -0.48839741945266724, -0.48936519026756287, -0.05969984084367752, -0.2667810022830963, -0.3078528940677643, 0.18259207904338837, 0.11142417788505554, 0.3069959580898285, -1.0354511737823486, 0.5430808663368225, 0.3690457344055176, -0.44841524958610535, -0.596920907497406, 0.18452493846416473, 0.08146996051073074, 0.014642184600234032, 0.4303051233291626, 0.2662878930568695, -0.29924023151397705, -0.011762232519686222, -0.17792794108390808, -0.4988408088684082, 0.9800313711166382, -0.29300230741500854, -0.35263916850090027, -0.008116624318063259, 0.11979309469461441, 0.8172743916511536, -0.4802510142326355, -0.06746705621480942, 0.7516111731529236, 0.30519115924835205, 0.22301015257835388, -0.8991912603378296, 0.005688312463462353, -0.22493799030780792, -0.19164463877677917, 0.055358629673719406, -0.29176074266433716, 0.9178749918937683, -0.43970412015914917, -0.6318370699882507, -0.16448532044887543, 0.24565592408180237, 0.37011322379112244, 0.4462624490261078, 0.5611430406570435, 0.37127193808555603, 1.007577657699585, 0.03966621682047844, 1.0566459894180298, -0.06106243282556534, 0.5145178437232971, 1.2051433324813843, -0.12438978999853134, 0.725915789604187, 0.3217613995075226, -0.16259904205799103, 0.7725699543952942, 0.7391853332519531, 0.005710921715945005, 0.8056129813194275, 0.19547715783119202, -0.2935539484024048, -0.09175297617912292, -0.0941319689154625, -0.4095374047756195, 0.07095032185316086, 0.7168442606925964, -0.5675615668296814, -0.21640489995479584, 0.45164981484413147, -0.10225003957748413, 0.06172238290309906, -0.3829561471939087, 0.9543365240097046, 0.10060373693704605, -0.49916109442710876, 0.40181517601013184, -0.04157528281211853, 0.6728954315185547, -0.18779197335243225, 0.03005467914044857, -0.01813368871808052, 0.20905494689941406, -0.45209622383117676, -1.1417522430419922, 0.5113191604614258, -0.010956265032291412, -0.025506310164928436, -0.3992311656475067, 0.942535936832428, -0.5762443542480469, -0.482879638671875, 0.4253220558166504, 0.4985446631908417, 0.34232884645462036, 0.2058168649673462, -0.5258932113647461, -0.008777613751590252, -0.11618562042713165, -0.05510563775897026, 0.43383872509002686, 0.45643219351768494, 0.09626345336437225, 0.5002968311309814, 0.4628870487213135, 0.2085912972688675, 0.15317970514297485, 0.14706535637378693, 0.5122921466827393, -0.5781360864639282, -0.5316179990768433, -0.5488697290420532, 0.5675034523010254, -0.14244385063648224, -0.5518143773078918, 0.8606098890304565, 0.5712295770645142, 0.7244321703910828, -0.16317041218280792, 0.8153846263885498, -0.023288816213607788, 0.9867274761199951, -0.28575658798217773, 1.0652451515197754, -0.47802734375, 0.43459227681159973, -0.23951639235019684, -0.5408958196640015, -0.30920547246932983, 0.68072110414505, -0.3960435688495636, -0.06964870542287827, 0.7338179349899292, 0.5729057192802429, 0.1722128689289093, 0.01961388997733593, 0.06932775676250458, 0.4014749825000763, 0.27234798669815063, 0.4314347207546234, 1.1095386743545532, -0.3005709946155548, 0.569506824016571, -0.29618674516677856, -0.022219862788915634, 0.22856108844280243, -0.3723776936531067, -0.9306301474571228, -0.6626858115196228, -0.23237986862659454, -0.3591925799846649, -0.37108275294303894, 0.5688164234161377, 0.2650884985923767, -0.7027040123939514, -0.19334983825683594, 0.054340679198503494, 0.20390664041042328, 0.08385656774044037, -0.3279763162136078, 0.025821799412369728, -0.1388612687587738, -0.3911147713661194, 0.1264224350452423, 0.1363265961408615, -0.13340555131435394, -0.21578922867774963, -0.1825796216726303, -0.22328422963619232, -0.2912611961364746, 0.6889901161193848, 0.027130186557769775, -0.6043805480003357, -0.15236611664295197, -0.06019297242164612, -0.09943230450153351, 0.1449880748987198, 1.2333133220672607, -0.4894360601902008, 0.45891648530960083, 0.5894579291343689, 0.3202165365219116, 0.46165940165519714, 0.4042102098464966, 0.4857458174228668, -0.5509142875671387, -0.6226702332496643, 0.34286966919898987, 0.25174301862716675, 0.3035060167312622, -0.35143107175827026, 0.34502607583999634, 0.51119464635849, -0.4670674800872803, -0.8008587956428528, 0.004236963577568531, -0.7574019432067871, -0.8481051325798035, 1.1481977701187134, -0.43171176314353943, 0.09833013266324997, -0.8692074418067932, -0.6245113611221313, -0.030464181676506996, -0.3751346468925476, 0.9440488219261169, 0.9713816046714783, -0.6197669506072998, -0.3084469437599182, -0.7311034202575684, 0.7900202870368958, -0.6000716090202332, -1.083029866218567, 0.3474368155002594, 0.7478073239326477, 0.7267696261405945, 0.3450752794742584, 1.0097066164016724, -0.029977940022945404, 0.030812399461865425, 0.15920256078243256, -0.2929781973361969, 0.09618084132671356, -0.445966899394989, 0.027429969981312752, 0.6807370185852051, -0.4176581799983978, 0.06647355854511261 ]
http://arxiv.org/abs/2406.12114v1
http://arxiv.org/pdf/2406.12114v1
Enhancing Text Classification through LLM-Driven Active Learning and Human Annotation
2024-06-17T21:45:48
2024-06-17T21:45:48
Hamidreza Rouzegar, Masoud Makrehchi
cs.CL
cs.CL, cs.AI, cs.LG, 68T50, I.2.7
In the context of text classification, the financial burden of annotation exercises for creating training data is a critical issue. Active learning techniques, particularly those rooted in uncertainty sampling, offer a cost-effective solution by pinpointing the most instructive samples for manual annotation. Similarly, Large Language Models (LLMs) such as GPT-3.5 provide an alternative for automated annotation but come with concerns regarding their reliability. This study introduces a novel methodology that integrates human annotators and LLMs within an Active Learning framework. We conducted evaluations on three public datasets. IMDB for sentiment analysis, a Fake News dataset for authenticity discernment, and a Movie Genres dataset for multi-label classification.The proposed framework integrates human annotation with the output of LLMs, depending on the model uncertainty levels. This strategy achieves an optimal balance between cost efficiency and classification performance. The empirical results show a substantial decrease in the costs associated with data annotation while either maintaining or improving model accuracy.
[ 0.04484032467007637, -0.6482788324356079, 0.4633912444114685, -0.06106926128268242, -0.271477609872818, 0.19363759458065033, -0.36835601925849915, -0.7695427536964417, -0.2555818259716034, 0.5128960609436035, -0.09147313237190247, -0.4870476722717285, -0.3478069305419922, 0.07246577739715576, -0.31095942854881287, 1.0086601972579956, -0.4895355701446533, 0.0034474674612283707, 0.06102374568581581, -0.21932758390903473, 0.09518945962190628, -0.7592815160751343, -0.6071319580078125, -0.1541467159986496, 0.6842243075370789, 0.23604746162891388, 0.7514224648475647, 0.8633870482444763, 0.4525400996208191, 0.178704172372818, -0.06929472088813782, 0.4450918436050415, 0.05943015217781067, 0.2467464655637741, -0.017477260902523994, -0.4854683578014374, -0.3424149453639984, 0.43188077211380005, 0.6442906260490417, 0.5082716941833496, -0.07175252586603165, 0.04573339968919754, -0.0056151426397264, 0.3194507658481598, -0.6893641352653503, 0.30772823095321655, -0.5365864038467407, 0.1312316209077835, -0.320812463760376, 0.03555906563997269, -0.3257244825363159, -0.30891284346580505, 0.07260597497224808, -0.5371097922325134, 0.25667518377304077, 0.034291401505470276, 0.9402256011962891, 0.4344088137149811, -0.33213189244270325, -0.40653374791145325, -0.8062218427658081, 0.677112340927124, -0.3592342734336853, 0.24362188577651978, 0.5832207202911377, 0.16182002425193787, 0.25353559851646423, -0.5494589805603027, -0.6760274171829224, -0.07071792334318161, 0.06704200804233551, 0.12535524368286133, 0.11504758149385452, 0.11362340301275253, 0.09328772127628326, 0.44513392448425293, -0.050695665180683136, 0.41399991512298584, -0.2303929477930069, -0.38128939270973206, 0.6183943748474121, -0.34568214416503906, 0.1423809677362442, -0.24029721319675446, -0.46357476711273193, -0.10177110135555267, -0.5543126463890076, -0.20344237983226776, 0.5167479515075684, 0.40539881587028503, 0.29513415694236755, 0.5802553296089172, -0.03504052385687828, 0.4923180043697357, -0.2971716821193695, -0.22892779111862183, 0.4371497929096222, -0.1654132455587387, -0.18433184921741486, 0.17157283425331116, 0.6903472542762756, 0.10036193579435349, 0.23948751389980316, -0.16004736721515656, -0.5563031435012817, 0.06434544920921326, 0.22200174629688263, -0.5490865707397461, -0.28213897347450256, 0.09449002891778946, -0.10188354551792145, -0.6747419238090515, 0.23407994210720062, -0.49976223707199097, -0.6513067483901978, -0.3061554431915283, 0.6555265188217163, -0.07766111940145493, -0.23173263669013977, -0.11628514528274536, 0.18919649720191956, -0.009975869208574295, 0.7635743618011475, -0.6420506834983826, 0.11844655871391296, 0.28612375259399414, 0.9467347264289856, -0.33600398898124695, 0.09600279480218887, -0.39948320388793945, 0.3713540732860565, -0.15779051184654236, 0.8740758895874023, -0.2891601324081421, 0.0019675029907375574, 0.1419275850057602, -0.09867241978645325, 0.2262694388628006, -0.34977987408638, 0.8098362684249878, -0.5215327739715576, 0.31564295291900635, 0.19823679327964783, -0.35998064279556274, -0.47241270542144775, 0.38369041681289673, -0.9993488192558289, 1.2787545919418335, 0.1846330165863037, -0.762999415397644, 0.5741554498672485, -0.6865047216415405, -0.43909579515457153, 0.25360268354415894, -0.20290127396583557, -0.8377978205680847, -0.18215367197990417, 0.2758362293243408, 0.9148465394973755, -0.1156899482011795, 0.36401066184043884, -0.2016882300376892, -0.3976171612739563, 0.4384298324584961, -0.7232368588447571, 0.3623494505882263, 0.22049503028392792, -0.5042256712913513, 0.028100134804844856, -0.8273215293884277, -0.33472010493278503, -0.1511285901069641, -0.8466317057609558, -0.3678751587867737, 0.09261895716190338, 0.23324517905712128, 0.10602429509162903, 0.13101346790790558, -0.39194679260253906, 0.3436441421508789, -0.14612486958503723, 0.18165823817253113, 0.7377818822860718, 0.18681110441684723, 0.606338381767273, -0.1365644335746765, 0.41073787212371826, -0.10463877022266388, -0.04234858602285385, -0.2097538560628891, -0.46201226115226746, -0.7446751594543457, -0.6800878047943115, 0.6580076813697815, 0.7456550598144531, -0.620026707649231, 0.47355136275291443, -0.14523419737815857, -0.4942440688610077, -0.5837656259536743, 0.33845797181129456, 0.1267826408147812, 0.21905368566513062, 0.41997745633125305, 0.0037398452404886484, -0.32476910948753357, -0.6929111480712891, -0.11031652241945267, -0.48599672317504883, -0.21598652005195618, 0.14210113883018494, 0.18466278910636902, -0.34707939624786377, 0.8313759565353394, -0.29478219151496887, -0.3750440180301666, -0.20532956719398499, 0.47714102268218994, -0.09286300837993622, 0.2779639959335327, 0.19658547639846802, -1.000224232673645, -0.36786726117134094, 0.06268133968114853, -0.6060590147972107, -0.18108181655406952, -0.37630075216293335, 0.11878618597984314, 0.44698861241340637, 0.37098628282546997, -0.2870708703994751, 0.43272653222084045, 0.2595478892326355, -0.09845011681318283, 0.13110804557800293, -0.0864463523030281, 0.10529246181249619, -0.7554531097412109, 0.021220967173576355, 0.2532092034816742, -0.24716569483280182, -0.3541446924209595, -0.3219934403896332, 0.2901417016983032, -0.003955021034926176, -0.22539326548576355, 0.6061291694641113, -0.6270078420639038, 0.15877243876457214, -0.3037787079811096, 0.20800349116325378, -0.12845709919929504, 0.4296058416366577, 0.21633344888687134, 0.6694727540016174, 0.35565969347953796, -0.5454728007316589, 0.34046199917793274, -0.08169875293970108, -0.3903389275074005, 0.13427400588989258, -0.12086775153875351, 0.06273175030946732, -0.12273958325386047, 0.2648204565048218, -0.9913566708564758, -0.4695727825164795, 0.3677714765071869, -0.33046048879623413, 0.4684598445892334, -0.18406710028648376, -0.754737913608551, -0.032967254519462585, -0.28894662857055664, -0.08090609312057495, 0.47922801971435547, -0.508695125579834, 0.748154878616333, 0.41363444924354553, -0.2083245813846588, -0.5450723171234131, -0.7890833020210266, 0.15013086795806885, -0.2854692339897156, -0.05048307776451111, 0.21761754155158997, 0.3261757791042328, -0.2928767800331116, -0.03883196413516998, -0.21253976225852966, -0.2209618240594864, 0.4265052080154419, 0.23441694676876068, 0.3054911196231842, 0.17774325609207153, 0.5383549928665161, 0.16044344007968903, -0.0875815823674202, -0.15708452463150024, -0.32798677682876587, -0.048270177096128464, 0.19786293804645538, -0.28968143463134766, -0.4368777275085449, 0.0009164241491816938, 0.38835352659225464, -0.36577901244163513, 0.5976505875587463, 0.9780672788619995, -0.48231935501098633, -0.38848912715911865, -0.6628260612487793, 0.013221699744462967, -0.3950846195220947, 0.37634360790252686, -0.005955797620117664, -0.7977138161659241, 0.15465067327022552, -0.16592422127723694, 0.2991800010204315, 0.5248585939407349, 0.5324491262435913, -0.1294873207807541, 0.8425672054290771, 0.4691384732723236, -0.030975710600614548, 0.7824430465698242, -0.009728915989398956, -0.047783054411411285, -0.39379993081092834, -0.12322311103343964, -0.38408952951431274, -0.25726962089538574, -0.3421385586261749, -0.83168625831604, 0.09636817872524261, 0.17316611111164093, -0.12511026859283447, -0.05822678282856941, -0.49644601345062256, 0.42676401138305664, 0.5199204683303833, 0.28019073605537415, 0.3956408202648163, 0.21551476418972015, 0.18288646638393402, 0.0797242820262909, -0.48518887162208557, -0.9618457555770874, 1.1527881622314453, 0.7312610745429993, 0.8019905686378479, 0.2882363796234131, 0.525987982749939, 0.4527706503868103, 0.9784690141677856, -0.8898553252220154, 0.4204029142856598, 0.06239135563373566, -0.7846500277519226, -0.369453489780426, -0.567967414855957, -0.5752586722373962, 0.09054173529148102, -0.5669207572937012, -0.39378392696380615, 0.08076850324869156, 0.1809597909450531, -0.3464948236942291, 0.4823477566242218, -0.7552232146263123, 0.45836347341537476, -0.47851449251174927, -0.5129067301750183, 0.16653425991535187, -0.5135535597801208, 0.12131255120038986, -0.6527983546257019, 0.35918474197387695, -0.15376602113246918, -0.5642218589782715, 1.0751235485076904, 0.12612687051296234, 1.124709129333496, -0.34182897210121155, -0.11685442179441452, 0.46357327699661255, -0.21386641263961792, 0.6423704028129578, 0.1638513058423996, -0.34868359565734863, 0.03614196553826332, -0.6143701672554016, -0.2850094139575958, -0.38580963015556335, 0.3635970950126648, -0.9006012082099915, -0.2268287092447281, -0.6446044445037842, -0.36648795008659363, -0.2575121223926544, 0.11546734720468521, -0.22145284712314606, 0.1629864126443863, 0.17403928935527802, 0.19116456806659698, 0.7958846688270569, -0.09996578842401505, 0.42194485664367676, 0.3709454834461212, 0.04822392016649246, -0.7346253395080566, 0.6428968906402588, 0.2956719696521759, 0.14149990677833557, 0.4648105502128601, 0.14508864283561707, -0.36156749725341797, -0.9000531435012817, -0.42838719487190247, 0.1597396582365036, -0.8843545913696289, -0.4706207513809204, -0.7176317572593689, -0.03975338488817215, -0.1511993408203125, -0.09471109509468079, -0.10375184565782547, -0.5877860188484192, -0.4455346465110779, -0.6098268628120422, 0.5800586342811584, 0.7279573678970337, 0.12033002823591232, 0.5296555161476135, -0.6497275233268738, 0.12261098623275757, 0.44568493962287903, 0.4253969192504883, -0.1806005984544754, -0.42354273796081543, -0.481606662273407, -0.11994955688714981, -0.31050482392311096, -0.8662763237953186, 0.1991642415523529, 0.418275386095047, 0.6815992593765259, 0.46206361055374146, 0.24387846887111664, 0.22029730677604675, -0.19440004229545593, 0.6632772088050842, 0.05716191977262497, -0.885936439037323, 0.46381714940071106, -0.420775830745697, 0.03740115091204643, 0.7537971138954163, 0.6155776381492615, -0.1705671101808548, -0.35633429884910583, -0.5703701376914978, -1.1075704097747803, 0.6904258728027344, 0.22785350680351257, -0.05799279361963272, 0.06058204919099808, 0.7329185605049133, 0.04464900121092796, 0.12142322957515717, -1.06679368019104, -0.012822942808270454, -0.059366341680288315, -0.6284703016281128, -0.15776067972183228, -0.17683447897434235, -0.005792464129626751, -0.1420959085226059, 0.9350335597991943, -0.2470071017742157, 0.049949441105127335, 0.2610433101654053, -0.25791969895362854, -0.12327729910612106, 0.10226605087518692, 0.17840497195720673, 0.28273874521255493, -0.2815839648246765, 0.33384132385253906, 0.28226032853126526, -0.6764673590660095, 0.24539263546466827, 0.2149035632610321, -0.24076984822750092, -0.04824460670351982, 0.46446356177330017, 0.7187219262123108, 0.21123434603214264, -0.6671034693717957, 0.5530056953430176, -0.023426534608006477, -0.1784561723470688, -0.3448864221572876, 0.13719919323921204, -0.12232448160648346, 0.19437085092067719, 0.7522182464599609, 0.10852529853582382, -0.000056789293012116104, -0.4311150908470154, 0.25176557898521423, 0.0003213497984688729, -0.7044139504432678, -0.16959428787231445, 0.5353296399116516, 0.4217374920845032, -0.16683512926101685, 0.5159528255462646, -0.23867769539356232, -0.769378662109375, 0.12521468102931976, 0.152705579996109, 0.8644904494285583, -0.24377751350402832, 0.09763620793819427, 0.2830013930797577, 0.3672278821468353, -0.5628674030303955, 0.011430143378674984, -0.21663598716259003, -0.7040572166442871, -0.6161931753158569, -0.8020889759063721, -0.778374969959259, -0.1531859189271927, -0.4969499707221985, 0.5919223427772522, -0.4100041389465332, -0.12409378588199615, -0.18113496899604797, 0.27596768736839294, -0.2786470949649811, 0.436015248298645, 0.4250396490097046, 0.6429573893547058, -1.0641498565673828, 0.910106897354126, 1.084061622619629, -0.520354688167572, -0.6125067472457886, 0.09117364138364792, -0.1449422687292099, -0.34180453419685364, 0.5254822373390198, 0.4433825612068176, 0.07959380000829697, 0.03682037070393562, -0.555931031703949, -0.5755188465118408, 1.1266024112701416, 0.04957892745733261, -0.4289429783821106, -0.004944557789713144, -0.211111381649971, 0.4276922047138214, -0.16263392567634583, 0.03701953962445259, 0.16267290711402893, 0.5533186197280884, 0.10896638035774231, -0.6974638104438782, -0.005132608115673065, -0.1287669986486435, -0.43399086594581604, 0.43170222640037537, -0.3739042282104492, 0.5314326286315918, -0.05620849132537842, -0.25276127457618713, -0.27853259444236755, 0.8245282173156738, 0.1716861128807068, 0.3076734244823456, 0.8261034488677979, 0.22763654589653015, 1.093294382095337, -0.19300022721290588, 0.7465001940727234, 0.0796443298459053, 0.3497866690158844, 0.6562254428863525, -0.3165813982486725, 0.9871447086334229, 0.32818102836608887, -0.31525087356567383, 0.24839657545089722, 0.8410979509353638, -0.31284257769584656, 0.22567376494407654, 0.2632297873497009, -0.5570901036262512, -0.3941231966018677, 0.09465759247541428, 0.1874290555715561, 0.31431546807289124, 0.43376123905181885, -0.3868884742259979, 0.015318685211241245, 0.22252300381660461, 0.3355811834335327, 0.1253371685743332, -0.3052930235862732, 0.8629052639007568, -0.18611545860767365, -0.35540997982025146, 0.1543206423521042, 0.06347223371267319, 0.9005194902420044, -0.62004554271698, 0.06059669703245163, 0.0929623693227768, 0.25616350769996643, -0.2656836211681366, -0.6923877000808716, 0.11277793347835541, 0.2692229151725769, -0.14748266339302063, -0.4001982510089874, 0.6281319856643677, -0.5233986973762512, -0.6249324679374695, -0.019162006676197052, 0.24224978685379028, 0.14234624803066254, -0.2332676351070404, -0.5014178156852722, 0.0024638185277581215, 0.06355311721563339, -0.40081897377967834, 0.22233355045318604, 0.6321625113487244, -0.28626689314842224, 0.5236562490463257, 0.7145172357559204, 0.2484046369791031, -0.1476827710866928, -0.0673544779419899, 0.7792087197303772, -0.6667891144752502, -0.39693742990493774, -0.6872400045394897, 0.414745569229126, -0.2204888015985489, -0.15900181233882904, 0.7502647042274475, 0.520855188369751, 0.593043327331543, 0.21080657839775085, 1.0587153434753418, 0.13218215107917786, 0.6886366009712219, -0.509733259677887, 0.7881360650062561, -0.4651876389980316, 0.49977943301200867, -0.28350329399108887, -1.0343319177627563, -0.7955512404441833, 0.7958652377128601, -0.32470864057540894, -0.005847643129527569, 0.4757600724697113, 0.4294956624507904, 0.03417956456542015, -0.08139646053314209, 0.0760592520236969, -0.038647960871458054, 0.431023508310318, 0.03330438584089279, 0.8094481229782104, -0.38717707991600037, 0.6472727656364441, -0.2579458951950073, -0.4939049780368805, -0.1027936115860939, -0.879111111164093, -0.9190767407417297, -0.43770867586135864, -0.6681745648384094, -0.198114812374115, 0.015838928520679474, 0.9526187777519226, 0.6164436340332031, -0.6382110714912415, 0.07656103372573853, 0.10984355211257935, -0.025365201756358147, -0.14743518829345703, -0.20622923970222473, 0.6141035556793213, -0.343498170375824, -0.8316951394081116, 0.11623774468898773, 0.1342237889766693, 0.40678179264068604, -0.4100368022918701, 0.16168546676635742, -0.33715084195137024, -0.0004563372931443155, 0.43704622983932495, -0.0015042515005916357, -0.5393023490905762, -0.23793935775756836, -0.2530004680156708, -0.11207380145788193, -0.08878707885742188, 0.5523807406425476, -0.7856000065803528, 0.25414344668388367, 0.20679517090320587, 0.9137512445449829, 0.4624751806259155, 0.2862790524959564, 0.3910645842552185, -0.8924767374992371, 0.06030306592583656, 0.43436217308044434, 0.14587433636188507, 0.6598993539810181, -0.4482162296772003, 0.6451436281204224, 0.26097169518470764, -0.6042833924293518, -1.000006079673767, -0.10170511156320572, -1.0664032697677612, -0.2422717660665512, 1.3846445083618164, -0.23806145787239075, -0.3005848228931427, -0.4759168028831482, -0.33672139048576355, 0.3170316219329834, -0.35923346877098083, 0.6363008618354797, 0.7260282039642334, -0.009283757768571377, -0.2337023764848709, -0.5948671102523804, 0.44157326221466064, 0.06804369390010834, -0.8240302205085754, 0.34457001090049744, 0.5313301682472229, -0.021325942128896713, 0.28181058168411255, 0.25107502937316895, -0.11957263201475143, -0.0411817841231823, -0.25896716117858887, 0.5460113286972046, -0.23287920653820038, -0.27420902252197266, -0.43249136209487915, 0.3657110333442688, 0.24915644526481628, -0.0323888398706913 ]
http://arxiv.org/abs/2406.12109v1
http://arxiv.org/pdf/2406.12109v1
Can LLMs Learn Macroeconomic Narratives from Social Media?
2024-06-17T21:37:09
2024-06-17T21:37:09
Almog Gueta, Amir Feder, Zorik Gekhman, Ariel Goldstein, Roi Reichart
cs.CL
cs.CL, cs.CE
This study empirically tests the $\textit{Narrative Economics}$ hypothesis, which posits that narratives (ideas that are spread virally and affect public beliefs) can influence economic fluctuations. We introduce two curated datasets containing posts from X (formerly Twitter) which capture economy-related narratives (Data will be shared upon paper acceptance). Employing Natural Language Processing (NLP) methods, we extract and summarize narratives from the tweets. We test their predictive power for $\textit{macroeconomic}$ forecasting by incorporating the tweets' or the extracted narratives' representations in downstream financial prediction tasks. Our work highlights the challenges in improving macroeconomic models with narrative data, paving the way for the research community to realistically address this important challenge. From a scientific perspective, our investigation offers valuable insights and NLP tools for narrative extraction and summarization using Large Language Models (LLMs), contributing to future research on the role of narratives in economics.
[ -0.21778684854507446, -1.0544835329055786, 0.7201852202415466, 0.2513240873813629, -0.4112800359725952, 0.46515774726867676, -0.14117707312107086, -0.7447481751441956, 0.6436047554016113, 0.5733317732810974, -0.7189411520957947, -0.4599231779575348, -0.6956707835197449, 0.13262450695037842, -0.3532796800136566, 1.0188772678375244, 0.15843845903873444, -0.246869295835495, -0.004940134938806295, 0.1987857073545456, 0.09257501363754272, -0.07075196504592896, -0.722277045249939, -0.020962802693247795, 0.8578699827194214, 0.2794055640697479, 0.8153948783874512, 0.7145588397979736, 0.20151518285274506, 0.1988680213689804, 0.13057494163513184, 0.41839900612831116, -0.5735668540000916, 0.004715620540082455, -0.17046712338924408, -0.3234874904155731, -0.31670573353767395, 0.043264489620923996, 0.6243388652801514, 0.474338173866272, -0.07867716997861862, 0.582731306552887, 0.34102490544319153, 0.5022598505020142, -0.32604193687438965, 0.4443596303462982, -0.6157941222190857, -0.22583052515983582, 0.15857456624507904, -0.25067558884620667, -0.21507342159748077, -0.7761746644973755, 0.24312248826026917, -0.244363471865654, 0.05118287354707718, 0.15425026416778564, 0.8000256419181824, -0.11721926927566528, -0.6953521370887756, -0.33816736936569214, -0.9495981931686401, 0.574007511138916, -0.5578343868255615, -0.026459941640496254, 0.299474835395813, 0.3236691653728485, 0.2559870779514313, -0.8707081079483032, -0.26903989911079407, 0.20619449019432068, -0.05725763738155365, 0.21192340552806854, -0.5585449934005737, -0.22123147547245026, 0.1899162232875824, 0.19994831085205078, -0.27639350295066833, -0.05911965295672417, -0.7324604392051697, 0.1264469474554062, 0.7298346161842346, 0.2202015221118927, 0.21202853322029114, -0.3750889003276825, -0.2069340944290161, -0.019267598167061806, -0.6207999587059021, 0.09677711874246597, 0.26449310779571533, 0.4371211528778076, -0.40017053484916687, 0.6215943098068237, 0.05324852094054222, 0.15778501331806183, -0.24553833901882172, -0.41694876551628113, 0.12304516136646271, -0.3215251863002777, -0.26479873061180115, 0.2272549271583557, 0.7535525560379028, 0.8125401735305786, 0.5186663269996643, -0.10458721220493317, -0.2875550091266632, -0.28326520323753357, -0.03021278791129589, -0.6377890110015869, 0.15503673255443573, -0.06840492784976959, -0.5105008482933044, -0.5341971516609192, 0.022270070388913155, -1.2696173191070557, -0.5329191088676453, -0.20358775556087494, 0.20961783826351166, -0.09109874069690704, -0.1190921738743782, -0.08100339025259018, -0.48957520723342896, 0.14974811673164368, 0.03925716131925583, -0.9850795865058899, 0.3322533965110779, 0.769140899181366, 1.1894780397415161, 0.2911913990974426, -0.08988560736179352, -0.29576852917671204, 0.42558881640434265, -0.3133448362350464, 1.0984933376312256, -0.24512577056884766, -0.42690321803092957, 0.45248380303382874, -0.07164966315031052, -0.27188926935195923, -0.4243137240409851, -0.05169091373682022, -0.28790736198425293, -0.22216466069221497, -0.3455447852611542, -0.5101922154426575, -0.034644965082407, 0.16500157117843628, -0.762281060218811, 0.6279236674308777, 0.025878380984067917, -0.8386263251304626, 0.37511593103408813, -0.4181489646434784, -0.49124661087989807, -0.3853662312030792, 0.08432925492525101, -0.21565863490104675, 0.2194843590259552, 0.5112891793251038, 0.46401792764663696, -0.40895840525627136, 0.5478306412696838, -0.553895115852356, -0.07713942974805832, 0.35491684079170227, -0.7755683660507202, 0.910856306552887, -0.15002185106277466, -0.19711808860301971, -0.28695836663246155, -0.7517827153205872, -0.49407830834388733, 0.1668708622455597, -0.04849035665392876, -0.04273265227675438, 0.30118367075920105, -0.04206440597772598, -0.15416806936264038, 0.08331836014986038, -0.37306123971939087, 0.3491494357585907, -0.19675834476947784, 0.6236202120780945, 0.9275956153869629, 0.5843198299407959, 0.2652950882911682, -0.7274736762046814, 0.5713639259338379, -0.4205089807510376, 0.0021317170467227697, -0.33354735374450684, -0.4112938642501831, -0.22584255039691925, -0.03886944800615311, -0.06474976986646652, 0.5151369571685791, -0.6572625041007996, -0.3808619976043701, -0.08020831644535065, -0.6140285730361938, -0.09066881239414215, 0.14043380320072174, -0.22344249486923218, 0.489452600479126, 0.2034127414226532, 0.5568258762359619, -0.9462504982948303, -0.71640944480896, -0.5941342711448669, -0.3726613223552704, -0.21411345899105072, 0.4042026996612549, 0.40626809000968933, -0.39818528294563293, 0.9915184378623962, -0.7149344682693481, 0.09772039204835892, -0.7556593418121338, 0.6869212985038757, 0.4956408739089966, -0.21181747317314148, 0.6763737201690674, -0.598115086555481, -0.4979340136051178, -0.06477446109056473, -0.6075229048728943, -0.2509535849094391, -0.3603077530860901, 0.46998849511146545, 0.4646259844303131, 0.43362605571746826, -0.6212248802185059, 0.4964711666107178, 0.5841406583786011, -0.31831783056259155, 0.7752231955528259, -0.1905478686094284, 0.02412877045571804, -1.0799241065979004, -0.54494708776474, 0.5025890469551086, -0.4072597026824951, -0.18505273759365082, -0.6546695828437805, -0.3185112178325653, 0.2803334891796112, -0.24885374307632446, 0.4973028302192688, -0.28370627760887146, -0.2772573232650757, -0.11954481154680252, 0.05014413222670555, 0.0011527864262461662, 0.0236626286059618, 0.13767488300800323, 0.6032257676124573, 0.35576045513153076, -0.3970641493797302, 0.3823569118976593, -0.001524446764960885, -0.5399186015129089, -0.08382148295640945, -0.7078632712364197, -0.2747170031070709, -0.13966654241085052, 0.2698444128036499, -0.9433618187904358, -0.40439465641975403, -0.11034312844276428, -0.3323429524898529, -0.0014166302280500531, 0.029483899474143982, -0.7527269721031189, -0.22837521135807037, -0.4090427756309509, -0.4186604917049408, 0.5541499257087708, -0.441413551568985, 0.5857879519462585, 0.46655163168907166, -0.5594853758811951, -0.19567488133907318, -0.6012511849403381, 0.19940711557865143, -0.46883946657180786, -0.4541139006614685, 0.05799586698412895, 0.17955778539180756, -0.7588794827461243, -0.019455203786492348, -0.09684036672115326, -0.054748110473155975, 0.10517662018537521, -0.015204762108623981, 0.5510008931159973, -0.39545077085494995, 0.19148626923561096, 0.128459632396698, -0.046229831874370575, 0.6368111968040466, -0.29539257287979126, 0.3426860570907593, -0.06857119500637054, 0.3774888515472412, -0.02803315408527851, -0.0680386945605278, 0.3653392493724823, 0.4218732416629791, 0.9511092901229858, 0.6628856062889099, -0.34857577085494995, -0.10330276936292648, -0.5639778971672058, -0.029807858169078827, -0.45576363801956177, 0.0626574158668518, 0.28276526927948, -0.9086781740188599, 0.45260947942733765, -0.19032932817935944, 0.11401175707578659, 0.7001726627349854, 0.3847692310810089, -0.4691644310951233, 0.8550612926483154, 0.8582099676132202, -0.2544211149215698, 0.4169654846191406, -0.4399230182170868, 0.3158274292945862, -0.3139888346195221, -0.057977095246315, -0.3029758036136627, -0.2036444991827011, -0.6448257565498352, -0.2035522162914276, 0.2457384318113327, -0.13039158284664154, -0.2074095904827118, 0.19141902029514313, 0.3256242573261261, 0.6912577152252197, 0.3747107684612274, 0.23292285203933716, 0.3652227222919464, -0.017291205003857613, 0.33637988567352295, -0.10381283611059189, -0.3971897065639496, -0.9044312834739685, 1.0254719257354736, 0.26487022638320923, 0.5468016862869263, -0.1002110093832016, 0.5845834016799927, 0.5935467481613159, 0.3058609068393707, -0.30836060643196106, 0.3493184745311737, -0.07822855561971664, -0.22931547462940216, -0.35458964109420776, -0.5511779189109802, -0.6483592391014099, -0.29977405071258545, -0.41628530621528625, -1.1070959568023682, 0.11946504563093185, -0.15301121771335602, -0.6338033080101013, 0.5125706791877747, -0.5330595374107361, 0.8129939436912537, -0.29745399951934814, -0.4056452512741089, -0.22148744761943817, -0.5225577354431152, 0.37986353039741516, -0.217336967587471, 0.6588652729988098, -0.2067391723394394, -0.016655437648296356, 0.6471390128135681, -0.16876952350139618, 1.2994064092636108, 0.27277618646621704, -0.031996019184589386, 0.48473477363586426, -0.008959518745541573, 0.4106597602367401, 0.4955293536186218, 0.018287166953086853, 0.12154998630285263, 0.0929947942495346, -0.37464699149131775, -0.31673237681388855, 0.46269381046295166, -0.726337194442749, -0.4913572072982788, -0.12659865617752075, -0.6614757776260376, -0.2275564819574356, -0.13655129075050354, 0.21943984925746918, 0.3898504972457886, -0.5304375290870667, 0.20677506923675537, 0.4576985836029053, -0.10007599741220474, 0.9256138801574707, 0.16449210047721863, -0.4991992712020874, -0.5085165500640869, 0.786750316619873, 0.5018416047096252, 0.2965250611305237, 0.49182483553886414, 0.6103540062904358, -0.1825847327709198, -0.1815534383058548, 0.008894340135157108, 0.3343888819217682, -0.46173039078712463, -0.2007865160703659, -0.6595802903175354, -0.1942673921585083, -0.7003815174102783, -0.6018836498260498, -0.12436971068382263, -0.3618674874305725, -0.5197619795799255, -0.979468822479248, 0.5009042620658875, 1.1356900930404663, -0.7084986567497253, 0.3473648428916931, -1.1311252117156982, 0.43027710914611816, 0.36154091358184814, -0.09226240962743759, 0.09070690721273422, -0.05554880574345589, -0.5493860840797424, 0.3593980371952057, -0.15612637996673584, -0.9142709374427795, 0.9882420897483826, 0.050267599523067474, 0.02897070348262787, 0.73077392578125, -0.03317328542470932, 0.7375670671463013, -0.35002800822257996, 0.6662817597389221, 0.1304360181093216, -0.7747306227684021, 0.5113476514816284, -0.813624918460846, 0.11615076661109924, 0.30936914682388306, 0.6162566542625427, -0.4255657494068146, -0.5088021755218506, -0.7908976078033447, -0.9437044858932495, 0.4742400348186493, 0.04866407439112663, 0.35507357120513916, -0.3951283097267151, 0.2605274021625519, 0.3746049404144287, 0.3885117173194885, -0.6927298903465271, -0.0870344340801239, 0.056831374764442444, -0.10064153373241425, -0.4119243323802948, -0.725924015045166, 0.39641863107681274, -0.30315837264060974, 0.312744140625, 0.1914142221212387, -0.08966190367937088, 0.07575514912605286, -0.031571149826049805, -0.3083861768245697, -0.2540723979473114, 0.2813447415828705, 0.9591708779335022, -0.5869919657707214, 0.2698051631450653, 0.12965618073940277, -0.2558648884296417, -0.2101605087518692, -0.044693611562252045, -0.09800206869840622, 0.2569098174571991, 0.6226984858512878, 0.5394681096076965, 0.5527510643005371, -0.919802188873291, 0.2970990538597107, -0.13879534602165222, -0.3763044476509094, -0.575430154800415, -0.30728718638420105, 0.4621763527393341, 0.8219491243362427, 0.47155648469924927, -0.0316103957593441, 0.1643972098827362, -1.052829623222351, 0.15724770724773407, 0.08848299831151962, -0.1636640727519989, -0.5911440849304199, 0.76651531457901, -0.14731091260910034, -0.2423277199268341, 0.3947877585887909, -0.0006755783688277006, -0.2821323871612549, 1.0181535482406616, 0.7996372580528259, 0.8564398288726807, 0.11452820897102356, 0.6780213713645935, 0.3084203600883484, 0.4672378897666931, -0.44760289788246155, -0.046578679233789444, 0.09927472472190857, -0.6167739033699036, -0.46661630272865295, -0.5970615744590759, -0.45967069268226624, -0.01526004821062088, -0.6381288170814514, 0.45626208186149597, -0.38418421149253845, -0.0010404669446870685, 0.11991865187883377, -0.1766735315322876, -0.4172922670841217, 0.1523832231760025, 0.4923950433731079, 0.7619698643684387, -1.0285903215408325, 0.4701792895793915, 0.12022043764591217, -0.501361072063446, -0.6221859455108643, 0.0783485695719719, 0.14221107959747314, -0.8001139760017395, 0.6027092933654785, 0.3241078853607178, -0.027168333530426025, -0.05892103537917137, -0.6399006247520447, -0.83970046043396, 1.1854560375213623, 0.3915804624557495, -0.4263855218887329, -0.2989658713340759, 0.3865860104560852, 0.3912601172924042, -0.7800507545471191, 0.20500053465366364, 0.7299314141273499, 0.4490951895713806, 0.19709032773971558, -0.5275881886482239, -0.2786625623703003, 0.016590509563684464, -0.3555360734462738, -0.06786449998617172, -0.48518702387809753, 0.80028235912323, -0.45084384083747864, -0.1411532610654831, -0.19882477819919586, 0.7322559952735901, 0.05081925168633461, 1.021760106086731, 0.28077933192253113, 0.16308031976222992, 0.7005326747894287, 0.2655585706233978, 1.2660084962844849, -0.3646039366722107, 0.5213705897331238, 0.9133205413818359, -0.15210160613059998, 0.8078724145889282, 0.20776069164276123, -0.17748573422431946, 0.7303509712219238, 0.8042864203453064, -0.026661358773708344, 0.37410449981689453, -0.11392642557621002, -0.14654973149299622, -0.14779634773731232, -0.06388732045888901, 0.1169603168964386, 0.2542037069797516, 0.443888783454895, -0.39838987588882446, -0.25279200077056885, -0.06794945150613785, 0.3108665943145752, 0.03485768660902977, -0.7062402367591858, 0.8861234188079834, 0.43729183077812195, -0.20130965113639832, -0.19183336198329926, -0.4217008650302887, 0.3995544910430908, -0.330744206905365, -0.03497369959950447, -0.2873411178588867, -0.009633513167500496, -0.009511752985417843, -0.5456200242042542, 0.866413414478302, 0.2666417360305786, -0.10483711212873459, -0.7509963512420654, 0.8906991481781006, -0.3005887567996979, -0.8692689538002014, 0.3253477215766907, 0.7917717695236206, -0.11798286437988281, -0.20880891382694244, -0.11641519516706467, -0.4380609393119812, 0.07630018889904022, -0.43367812037467957, 0.38330432772636414, 0.6544909477233887, 0.43465563654899597, 0.5024737119674683, 0.2721322476863861, 0.06792868673801422, -0.07727164775133133, -0.06919127702713013, 0.690348744392395, -0.9255866408348083, -0.4816969633102417, -1.4514281749725342, 0.23526114225387573, -0.18262779712677002, -0.06287890672683716, 0.7620425820350647, 0.5781258344650269, 0.6131041646003723, -0.04206504300236702, 1.0213779211044312, 0.290710985660553, 0.6605954170227051, -0.5694261789321899, 0.5555212497711182, -0.34024885296821594, 0.31060168147087097, -0.19754168391227722, -0.6951790452003479, -0.0572824701666832, 0.3015439212322235, -0.4677116274833679, -0.2847096025943756, 0.7449135780334473, 0.18731267750263214, 0.19534756243228912, 0.3616926074028015, 0.18960608541965485, 0.47340431809425354, -0.04048556834459305, -0.13258661329746246, 0.6479954123497009, 0.2036159783601761, 0.6663275957107544, -0.40882694721221924, 0.11502806097269058, -0.3311476409435272, -0.9545063972473145, -0.9739184379577637, -0.2310197651386261, -0.3725391626358032, -0.5006563663482666, 0.2866259813308716, 0.9801508784294128, -0.19984446465969086, -0.17298972606658936, -0.667173445224762, -0.018525246530771255, 0.5298087000846863, -0.1157117411494255, -0.2897036075592041, 0.354507178068161, -0.41146206855773926, -0.610130250453949, 0.04804152995347977, 0.5937217473983765, 0.11850527673959732, 0.03770974278450012, 0.4259597063064575, -0.25812268257141113, 0.5546335577964783, 0.6698728203773499, -0.05955302342772484, -0.18180833756923676, -0.26900729537010193, 0.28172382712364197, 0.02608846127986908, 0.0326235368847847, 0.8990066647529602, -0.6228141784667969, -0.12092996388673782, 0.2638460397720337, 0.38654425740242004, 0.5152342915534973, 0.0016888909740373492, 0.717420220375061, -0.4169618785381317, -0.1981368213891983, -0.03572569042444229, 0.6067546606063843, -0.11874475330114365, -0.3057917356491089, 0.5051862001419067, 0.47574788331985474, -0.4320559799671173, -0.6217766404151917, -0.13906577229499817, -0.7366827726364136, -0.5579882860183716, 1.2847356796264648, -0.12611854076385498, -0.6371837258338928, -0.03962411358952522, -0.00030268149566836655, 0.25746047496795654, -0.4795677661895752, 1.1575673818588257, 0.6889644861221313, 0.22891676425933838, -0.4834280014038086, -1.002970814704895, 0.1358145922422409, -0.5888265371322632, -0.5158829689025879, 0.26819679141044617, 0.3990073502063751, -0.02360687218606472, -0.363212525844574, 0.7699384093284607, 0.3558078110218048, 0.03292247653007507, 0.23022250831127167, -0.24359187483787537, 0.11123667657375336, -0.059401314705610275, 0.09125196188688278, 0.1695190817117691, -0.39402464032173157, 0.285753071308136 ]
http://arxiv.org/abs/2406.12104v1
http://arxiv.org/pdf/2406.12104v1
End-to-end Text-to-SQL Generation within an Analytics Insight Engine
2024-06-17T21:33:01
2024-06-17T21:33:01
Karime Maamari, Amine Mhedhbi
cs.CL
cs.CL, cs.AI, cs.DB, cs.LG
Recent advancements in Text-to-SQL have pushed database management systems towards greater democratization of data access. Today's language models are at the core of these advancements. They enable impressive Text-to-SQL generation as experienced in the development of Distyl AI's Analytics Insight Engine. Its early deployment with enterprise customers has highlighted three core challenges. First, data analysts expect support with authoring SQL queries of very high complexity. Second, requests are ad-hoc and, as such, require low latency. Finally, generation requires an understanding of domain-specific terminology and practices. The design and implementation of our Text-to-SQL generation pipeline, powered by large language models, tackles these challenges. The core tenants of our approach rely on external knowledge that we extract in a pre-processing phase, on retrieving the appropriate external knowledge at query generation time, and on decomposing SQL query generation following a hierarchical CTE-based structure. Finally, an adaptation framework leverages feedback to update the external knowledge, in turn improving query generation over time. We give an overview of our end-to-end approach and highlight the operators generating SQL during inference.
[ -0.2396324723958969, -0.8218052387237549, 0.6624811291694641, 0.046599131077528, -0.19943134486675262, 0.16498883068561554, -0.09753087162971497, -0.4947986602783203, 0.11950115114450455, 0.5180294513702393, -1.0053303241729736, -0.5291339159011841, -0.39438265562057495, 0.17075854539871216, -0.47547268867492676, 1.1169711351394653, 0.2918061316013336, -0.17064093053340912, -0.3949713110923767, 0.0651128888130188, -0.5051431059837341, -0.7845357656478882, -0.8561426401138306, 0.2370852828025818, 0.21510793268680573, 0.31277012825012207, 0.20370961725711823, 0.598904013633728, 0.28428274393081665, 0.27735722064971924, 0.1164129301905632, 0.3954525291919708, -0.7711383700370789, 0.6298607587814331, -0.2064094841480255, -0.5072905421257019, -0.6499878764152527, -0.40508249402046204, 0.17441560328006744, 0.710328221321106, -0.36440515518188477, 0.15364232659339905, -0.13058626651763916, 1.049102544784546, -0.7000667452812195, 0.19697214663028717, -1.070332407951355, -0.16911667585372925, -0.18241311609745026, -0.25247472524642944, -0.7305182814598083, -0.14097745716571808, 0.22434990108013153, -0.450308233499527, 0.14645211398601532, 0.18385100364685059, 0.5794013142585754, 0.4829046428203583, -0.5736429691314697, -0.5908111333847046, -0.6939173340797424, 0.5017180442810059, -0.476413369178772, 0.16965042054653168, -0.044726938009262085, 0.5365808010101318, -0.19920586049556732, -1.093912959098816, -0.36426296830177307, 0.11492516845464706, -0.05107460916042328, 0.18481871485710144, -0.19339534640312195, -0.15588028728961945, -0.04345317184925079, 0.1029677465558052, -0.40421590209007263, -0.018055101856589317, -0.20867368578910828, 0.27268698811531067, 0.9351627826690674, 0.44983354210853577, -0.09998425841331482, 0.15611164271831512, -0.1321088969707489, 0.22302818298339844, -0.6777071952819824, -0.3993819057941437, 0.24637609720230103, 0.37177205085754395, 0.17559771239757538, 0.4825083911418915, -0.33735203742980957, 0.5916082262992859, 0.14989367127418518, 0.7068269848823547, -0.05243949592113495, -0.4830990433692932, -0.24819332361221313, 0.27191290259361267, 0.712141752243042, 0.31772589683532715, 0.1653585284948349, -0.2710345685482025, -0.09148328751325607, -0.20340749621391296, 0.38334912061691284, -1.0082371234893799, -0.15044409036636353, 0.43959054350852966, -0.256355345249176, -0.3411710262298584, -0.22289788722991943, -0.9130368232727051, -0.5823095440864563, -0.4674922823905945, 0.19177448749542236, -0.4184623956680298, -0.3388350009918213, -0.12027063220739365, -0.19786888360977173, 0.43491891026496887, 0.26296040415763855, -0.8208222985267639, 0.47165367007255554, 0.5331447124481201, 0.6793944239616394, -0.13417285680770874, 0.14431129395961761, -0.49810701608657837, 0.29922616481781006, -0.48482710123062134, 0.7692309021949768, -0.34359297156333923, -0.4105251431465149, 0.11517290771007538, -0.2633630633354187, 0.15225186944007874, -0.40997952222824097, 0.21290022134780884, -0.6107503771781921, 0.4139741063117981, -0.12321627140045166, -0.925934910774231, 0.11417201161384583, 0.08095336705446243, -0.26857632398605347, 0.9018314480781555, 0.0654686689376831, -0.6715982556343079, 0.6674457788467407, -0.7871723771095276, -0.4920370876789093, 0.31396549940109253, -0.390041708946228, -0.4245002567768097, 0.4274160861968994, 0.26528647541999817, 0.38674846291542053, -0.7361260652542114, 0.1276353895664215, -0.06285504996776581, 0.09885494410991669, 0.026979725807905197, -0.21105818450450897, 0.6697881817817688, 0.4550895690917969, -0.25770798325538635, 0.0013077396433800459, -1.0345008373260498, 0.1855565905570984, 0.5158023834228516, 0.16669927537441254, -0.3509252369403839, 0.48441603779792786, 0.07890473306179047, -0.0724463239312172, 0.3181092441082001, -0.2535690665245056, 0.13723354041576385, -0.30552709102630615, 0.6129235029220581, 0.7172846794128418, 0.2954499423503876, 0.16619716584682465, 0.3066079616546631, 0.3950252830982208, 0.2294197380542755, 0.14986898005008698, -0.5041655898094177, -0.1028067097067833, -0.6642573475837708, -0.09384484589099884, -0.004904174245893955, 0.49095144867897034, -0.5259085297584534, 0.5457500219345093, -0.36906957626342773, -0.6150153875350952, -0.29983270168304443, -0.15091297030448914, -0.03882534056901932, 0.38273707032203674, 0.24719452857971191, -0.019266538321971893, -0.6431835889816284, -0.857716977596283, -0.2565654218196869, -0.11723984032869339, -0.034088052809238434, 0.285631000995636, 0.35598596930503845, -0.06513494998216629, 1.209691047668457, -0.992117166519165, -0.2401939183473587, -0.3107724189758301, 0.041904084384441376, 0.18541279435157776, 0.24338197708129883, 0.5101584196090698, -0.8600814938545227, -0.6573286652565002, 0.15678881108760834, -0.799250602722168, -0.008097878657281399, -0.07380149513483047, -0.44644737243652344, 0.5306783318519592, 0.4659595191478729, -0.4237956702709198, 0.2203163355588913, 0.06942093372344971, -0.4518025517463684, 0.4346370995044708, -0.1292552351951599, -0.041456423699855804, -1.5465556383132935, 0.023897912353277206, -0.006844033021479845, -0.1251114159822464, -0.7305313944816589, -0.12654028832912445, -0.241261824965477, -0.2724844217300415, -0.16412730515003204, 0.17458634078502655, -0.6611467599868774, -0.058344174176454544, -0.08347079157829285, 0.02368141897022724, 0.14889606833457947, 0.15764372050762177, 0.2089831531047821, 0.7089534997940063, 0.6912733316421509, -0.7782043814659119, 0.4201701581478119, 0.29312264919281006, -0.2162814736366272, 0.8193694949150085, -0.658315122127533, 0.4209660291671753, -0.18665631115436554, 0.054232627153396606, -0.7173315286636353, -0.3469385802745819, -0.20825627446174622, -0.641020655632019, 0.36846038699150085, -0.20218509435653687, -0.37568071484565735, -0.002421671524643898, -0.11598015576601028, -0.03191182017326355, 0.5472868084907532, -0.6018579006195068, 0.6627833843231201, 0.472292959690094, -0.3922001123428345, -0.42097213864326477, -0.619384229183197, 0.43288952112197876, -0.3372068405151367, -0.7507662177085876, 0.15422023832798004, 0.09266846626996994, -0.4233015179634094, -0.04468897357583046, 0.14534053206443787, -0.40908828377723694, 0.023049550130963326, -0.17326225340366364, 0.25450485944747925, -0.26984110474586487, 0.09501232206821442, 0.41106221079826355, 0.09403988718986511, 0.45882299542427063, -0.5688337683677673, 0.3745778501033783, 0.39729470014572144, -0.2218157798051834, -0.2124388962984085, 0.7280261516571045, 0.5445363521575928, -0.4195552468299866, 0.9832085371017456, 0.16974738240242004, -0.45583397150039673, -0.5599556565284729, -0.28290727734565735, -0.2433249056339264, -0.43595564365386963, 0.8180877566337585, -0.41929835081100464, -0.2873373329639435, 0.2771286964416504, -0.20779716968536377, 0.36261340975761414, 0.5471292734146118, 0.5972074270248413, -0.1586500108242035, 1.2669386863708496, 0.795961856842041, 0.24208468198776245, 0.319431334733963, -0.2245178073644638, 0.4414721131324768, -0.5048434138298035, -0.4603579044342041, -0.6345178484916687, 0.09027440845966339, -0.3916035592556, -0.07761824131011963, 0.4959215223789215, 0.04405753314495087, -0.13259772956371307, 0.04730505123734474, -0.5573736429214478, 0.3251909911632538, 0.11765358597040176, -0.19941937923431396, 0.29583239555358887, 0.17482809722423553, 0.5802559852600098, -0.16035428643226624, -0.5911444425582886, -0.21795359253883362, 1.1261712312698364, 0.01406075805425644, 0.7160034775733948, 0.28076744079589844, 0.6258742809295654, 0.48082688450813293, 0.06710927933454514, -0.6263033151626587, 0.5336040258407593, -0.22790813446044922, -0.6012077927589417, -0.08187627047300339, -0.42814701795578003, -0.4634518623352051, 0.03713521733880043, -0.11325815320014954, -0.5025606155395508, 0.1078442856669426, 0.30313989520072937, 0.10358960181474686, -0.0040849316865205765, -1.032334804534912, 0.7368974685668945, -0.29775381088256836, -0.7206907868385315, -0.15813402831554413, -0.657613217830658, 0.29233747720718384, -0.11190129071474075, 0.13502447307109833, 0.33862873911857605, 0.024324914440512657, 0.3798164427280426, -0.6407977342605591, 0.6881522536277771, -0.45392975211143494, -0.14247754216194153, 0.5517449975013733, 0.04816265031695366, 0.7124568819999695, 0.01867031306028366, -0.1471889317035675, -0.041933704167604446, -0.09571702778339386, -0.18942683935165405, -0.615238606929779, 0.3583154082298279, -0.33526402711868286, -0.42878222465515137, -0.32133907079696655, -0.3961220383644104, -0.2822156250476837, 0.00895286537706852, 0.4728662073612213, 0.5270063877105713, -0.3377644121646881, 0.24390266835689545, 0.5688396096229553, -0.07471977919340134, 0.24823935329914093, 0.33635613322257996, -0.26298290491104126, -0.15804514288902283, 0.8829120397567749, 0.05257931724190712, 0.3114734888076782, 0.4185565710067749, -0.11814349889755249, -0.84195876121521, -0.745218813419342, -0.6415619254112244, -0.08312123268842697, -0.6195745468139648, -0.16285216808319092, -0.5568554401397705, -0.15971322357654572, -0.612809419631958, -0.1132848933339119, -0.4026257395744324, -0.3759531080722809, -0.28214433789253235, -0.09155591577291489, 0.6050337553024292, 0.773377537727356, 0.330035001039505, 0.25857770442962646, -0.7257204055786133, -0.2511635720729828, -0.12188377231359482, 0.048068899661302567, -0.142223060131073, -0.17845502495765686, -0.6020893454551697, -0.1033625453710556, -0.20194265246391296, -0.9406353831291199, 0.3422670364379883, 0.5367549061775208, 0.19939562678337097, 0.1542157530784607, 0.16003912687301636, 0.47465935349464417, -0.5487753748893738, 0.88509601354599, 0.020548708736896515, -0.8645995855331421, 0.8765733242034912, -0.18181778490543365, -0.034920524805784225, 0.4856439530849457, 0.32480117678642273, -0.20421883463859558, -0.20956403017044067, -0.35063469409942627, -1.1943022012710571, 0.5627814531326294, 0.13847659528255463, -0.023444170132279396, -0.0789581909775734, 0.5293887853622437, 0.3394719660282135, 0.5486660599708557, -0.39116933941841125, -0.19324389100074768, -0.30251920223236084, -0.44559451937675476, 0.0418793261051178, 0.0332370363175869, 0.02460993453860283, 0.06453076750040054, 0.5998480319976807, -0.46672937273979187, 0.00009101199975702912, 0.11110661178827286, -0.18567079305648804, 0.3737003207206726, 0.3590377867221832, 0.04342551901936531, 0.8779415488243103, -0.08626087754964828, -0.3599412441253662, 0.004267262294888496, -0.3072480261325836, -0.22185443341732025, -0.029008636251091957, -0.2688954174518585, -0.03183973953127861, 0.20188596844673157, 0.9283841252326965, -0.5545998811721802, -0.731421947479248, 0.27789419889450073, -0.21331587433815002, -0.2912196218967438, -0.5050230622291565, -0.007774522993713617, 0.024788618087768555, -0.02519838884472847, 0.6301753520965576, -0.38010790944099426, 0.4393661320209503, -0.5163280963897705, 0.09893155843019485, 0.5530347228050232, -0.24044792354106903, -0.34293100237846375, 0.9825281500816345, 0.4158053398132324, 0.08041349053382874, 0.7303937673568726, -0.14990584552288055, -0.1567171961069107, 0.5800111889839172, 0.5887777209281921, 1.122652530670166, -0.10486011952161789, -0.0621366985142231, 0.242513045668602, 0.1397039294242859, 0.5137320756912231, 0.41458427906036377, -0.10599157214164734, -0.32549476623535156, -0.6149131655693054, -0.631784200668335, -0.2983226478099823, -0.1428886353969574, -0.8170018196105957, 0.4406312108039856, -0.16378262639045715, 0.01809876598417759, 0.032084956765174866, -0.1645268052816391, -0.4247341454029083, 0.24731256067752838, -0.20902401208877563, 0.9560487866401672, -0.6831293106079102, 0.5437218546867371, 0.719235360622406, -0.3497142791748047, -0.4537404775619507, -0.2729467749595642, 0.0619894303381443, -0.5015670657157898, 0.5620377659797668, 0.02998613566160202, -0.12332266569137573, 0.2590760886669159, -0.5048003196716309, -0.2455184906721115, 1.0790759325027466, 0.2809731364250183, -0.7011467814445496, -0.20972363650798798, 0.22472475469112396, 0.6944578289985657, -0.7165337800979614, 0.2811654210090637, 0.8463025689125061, 0.1886003166437149, 0.18418307602405548, -0.2317175269126892, -0.08507087081670761, -0.15773271024227142, -0.043380361050367355, 0.48967599868774414, -0.38569530844688416, 0.6166959404945374, -0.2877040207386017, -0.2449035346508026, -0.3866516649723053, 0.7952617406845093, -0.016159508377313614, 0.4084435999393463, 0.44323277473449707, 0.41126492619514465, 0.5294750332832336, -0.022839751094579697, 0.8951845169067383, -0.36421510577201843, 0.06251661479473114, 1.3173481225967407, -0.5870408415794373, 0.8784025311470032, 0.4655137360095978, -0.20547515153884888, 0.3736400902271271, 0.6414752006530762, 0.2261790633201599, 0.5600467920303345, -0.014137727208435535, -0.2536253035068512, 0.03722543641924858, -0.29503190517425537, -0.36517134308815, 0.41509774327278137, 0.6110864877700806, -0.17418809235095978, 0.007607188541442156, -0.4945294260978699, -0.08423101156949997, 0.24265225231647491, -0.2424096018075943, 1.2309590578079224, -0.06457759439945221, -0.5168306231498718, 0.14383110404014587, -0.356674462556839, 0.18787933886051178, -0.7831824421882629, -0.09904558211565018, -0.23112253844738007, 0.2008521407842636, -0.2180340439081192, -0.7572550773620605, 0.6336191892623901, 0.2355845868587494, -0.2336907535791397, 0.015004415065050125, 0.5212014317512512, -0.39449504017829895, -0.34613844752311707, 0.30011799931526184, 0.584598958492279, 0.08864255249500275, -0.20778366923332214, -0.37451472878456116, -0.10753244161605835, 0.19276712834835052, -0.42362841963768005, 0.3001084327697754, 0.8026164770126343, 0.0964459627866745, 0.4482841491699219, 0.5163834095001221, 0.20473332703113556, 0.31553903222084045, 0.209529310464859, 0.7580397129058838, -0.4696366786956787, -0.5884190201759338, -0.882339358329773, 0.7197597026824951, -0.3788928687572479, -0.16525277495384216, 0.39438602328300476, 0.8201285600662231, 0.2895961403846741, 0.11527779698371887, 0.9396070837974548, -0.34506648778915405, 0.45500946044921875, -0.6661916971206665, 0.8071362972259521, -0.8641833066940308, 0.2560827434062958, -0.025691712275147438, -1.0604314804077148, 0.21174168586730957, -0.08032914996147156, 0.1724635809659958, -0.0362989641726017, 0.7436847686767578, 0.6041585206985474, 0.2314700484275818, 0.1803344041109085, -0.03902646154165268, 0.46213415265083313, 0.6855307221412659, 0.4459822177886963, 0.5655564665794373, -0.32028988003730774, 0.6469976902008057, 0.10504210740327835, -0.29880601167678833, 0.06831034272909164, -0.8644064664840698, -0.5285187363624573, -0.8114156723022461, -0.2009608894586563, -0.16558633744716644, 0.14439639449119568, 0.7083075642585754, 0.6466730833053589, -0.5531337261199951, -0.2390052229166031, -0.5264914631843567, -0.35223710536956787, -0.06141567975282669, -0.2715640962123871, 0.392241507768631, -0.6281440258026123, -0.923313319683075, 0.3895833492279053, 0.4057147800922394, -0.2611401379108429, -0.38992366194725037, 0.18719473481178284, 0.01666807010769844, 0.12821869552135468, 0.7797353267669678, -0.036058973520994186, 0.035179413855075836, 0.025454901158809662, 0.10303464531898499, 0.2146769016981125, -0.05753793567419052, 0.7318246364593506, -0.6465350985527039, 0.3138604462146759, 0.411628395318985, 1.0350769758224487, 0.7510046362876892, 0.02005465142428875, 0.8992888331413269, -0.9659035801887512, -0.00024004181614145637, 0.3378707468509674, 0.18124547600746155, 0.3372465968132019, -0.6116164922714233, 0.5881609320640564, 0.12057716399431229, -0.6216791272163391, -0.9813237190246582, 0.41133278608322144, -0.5871036648750305, -0.27357879281044006, 0.5726315379142761, 0.2835838198661804, -0.3075781762599945, -0.06501910835504532, -0.12841026484966278, 0.11239150166511536, -0.44826945662498474, 0.5249468088150024, 0.5391786694526672, -0.4857025444507599, -0.041045207530260086, -0.4738123118877411, 0.4026046097278595, 0.4372923970222473, -1.2985557317733765, 0.5513631105422974, 0.8021350502967834, 0.02047976478934288, -0.06480838358402252, 0.5773653984069824, -0.007851779460906982, -0.17576368153095245, 0.2695639133453369, -0.015563316643238068, -0.004493404179811478, -0.36441847681999207, -0.05418798327445984, 0.03784697875380516, 0.11051040142774582, -0.27597713470458984 ]
http://arxiv.org/abs/2406.12094v1
http://arxiv.org/pdf/2406.12094v1
Who's asking? User personas and the mechanics of latent misalignment
2024-06-17T21:15:12
2024-06-17T21:15:12
Asma Ghandeharioun, Ann Yuan, Marius Guerard, Emily Reif, Michael A. Lepori, Lucas Dixon
cs.CL
cs.CL, cs.AI
Despite investments in improving model safety, studies show that misaligned capabilities remain latent in safety-tuned models. In this work, we shed light on the mechanics of this phenomenon. First, we show that even when model generations are safe, harmful content can persist in hidden representations and can be extracted by decoding from earlier layers. Then, we show that whether the model divulges such content depends significantly on its perception of who it is talking to, which we refer to as user persona. In fact, we find manipulating user persona to be even more effective for eliciting harmful content than direct attempts to control model refusal. We study both natural language prompting and activation steering as control methods and show that activation steering is significantly more effective at bypassing safety filters. We investigate why certain personas break model safeguards and find that they enable the model to form more charitable interpretations of otherwise dangerous queries. Finally, we show we can predict a persona's effect on refusal given only the geometry of its steering vector.
[ -0.2264152318239212, -0.744469165802002, 0.7108076214790344, 0.1369262933731079, 0.10510190576314926, 0.08012200146913528, 0.4320005178451538, -0.5927485823631287, -0.12577460706233978, 0.6631975769996643, -0.7537273168563843, 0.1807401478290558, -0.5387114882469177, -0.18390962481498718, -0.25540417432785034, 0.9314032196998596, 0.4437655806541443, 0.005004152189940214, -0.27580514550209045, 0.08929099142551422, -0.649174153804779, -0.6093322038650513, -0.5603457689285278, -0.4015555679798126, 0.875545859336853, 0.3065722584724426, 1.0910143852233887, 0.403556764125824, 0.29494571685791016, 0.2979976236820221, -0.1398932784795761, -0.46489736437797546, -0.5444952249526978, 0.46552687883377075, -0.4721248745918274, -0.6888094544410706, -0.39949551224708557, 0.3167499899864197, 0.20170606672763824, 1.0054429769515991, 0.014912760816514492, -0.287710577249527, 0.2333640158176422, 0.4279843866825104, -0.8850688934326172, -0.3736076056957245, -0.45669981837272644, -0.18710410594940186, -0.3356226086616516, -0.3589384853839874, -0.5992647409439087, -0.29506346583366394, 0.3590334951877594, -0.5434346199035645, 0.10039758682250977, 0.2912907600402832, 0.7433509230613708, 0.49292629957199097, -0.7954859733581543, 0.018482835963368416, -0.9198731184005737, 0.7588990926742554, -0.3261170983314514, 0.44680729508399963, 0.8785802125930786, 0.36292925477027893, -0.28377261757850647, -0.5166487097740173, -0.5384909510612488, 0.051381275057792664, -0.21060830354690552, 0.015863176435232162, -0.40787288546562195, 0.22789885103702545, 0.3963317275047302, -0.12006399035453796, -0.6596240997314453, 0.35670992732048035, -0.5693922638893127, -0.377663791179657, 0.7353041768074036, -0.01914960891008377, 0.43597155809402466, -0.5363263487815857, -0.6066873073577881, -0.1569780856370926, -0.9531760215759277, 0.019956059753894806, 0.8533268570899963, 0.04330376535654068, -0.014636400155723095, 0.6646108627319336, 0.12115971744060516, 0.5547814965248108, 0.4831430912017822, 0.12660911679267883, -0.07463319599628448, 0.013519864529371262, -0.09637289494276047, -0.005102965049445629, 0.742461621761322, 0.5305087566375732, 0.26468268036842346, -0.1452675312757492, -0.15029779076576233, -0.25377005338668823, 0.7849814891815186, -0.353628009557724, -0.3206144869327545, 0.2715511620044708, -0.5636664032936096, -0.449607789516449, 0.16533038020133972, -0.7024422287940979, -0.7954807877540588, -0.233504980802536, 0.44554081559181213, -0.3960074186325073, -0.31842300295829773, 0.13798266649246216, 0.06209113821387291, 0.2616497874259949, 0.16095899045467377, -1.0100297927856445, 0.03373526409268379, 0.6804266571998596, 0.29281389713287354, -0.020320633426308632, -0.1369912177324295, -0.742027759552002, 0.22675049304962158, -0.2122916728258133, 0.8439416885375977, -0.5716019868850708, -0.7296788692474365, -0.17848855257034302, 0.10498674213886261, -0.22139972448349, -0.5191553235054016, 0.432363361120224, -0.7918957471847534, 0.49548113346099854, -0.7901353240013123, -0.20842427015304565, -0.24284206330776215, 0.1217825710773468, -0.6411604285240173, 0.6942866444587708, -0.03714650124311447, -0.8368987441062927, 0.26149386167526245, -0.5414705276489258, -0.3333728611469269, 0.042849101126194, -0.21527287364006042, -0.2011692076921463, 0.20220497250556946, 0.010749411769211292, 0.40269777178764343, 0.071295365691185, 0.2948276698589325, -0.4173530340194702, 0.007227946072816849, 0.6657199859619141, -0.486812561750412, 1.0358495712280273, 0.28564453125, -0.11880116164684296, 0.07205043733119965, -0.31164243817329407, -0.16026586294174194, -0.022418545559048653, -0.17698049545288086, -0.4716116189956665, 0.16084156930446625, 0.016187630593776703, 0.4075530767440796, 0.09445714950561523, -0.2961376905441284, -0.2084287405014038, -0.37113797664642334, 0.22322092950344086, 0.8286672830581665, 0.4513205289840698, 0.7129721641540527, -0.4895084500312805, 0.7820741534233093, 0.05766642466187477, 0.2964036166667938, 0.11822178959846497, -0.7009724974632263, -0.49185606837272644, 0.5340083837509155, 0.04780044034123421, 0.6663393974304199, -0.7597708702087402, 0.2169831246137619, 0.09267676621675491, -0.1488901823759079, -0.23673388361930847, -0.12068594992160797, 0.620829164981842, 0.8666457533836365, 0.20896513760089874, -0.2504548132419586, -0.2338811755180359, -1.0592660903930664, -0.5201753973960876, -0.8259938955307007, -0.11374107748270035, 0.23308341205120087, 0.20632709562778473, 0.08378658443689346, 0.8902508020401001, -0.4850403368473053, 0.2671024799346924, -0.13758696615695953, 0.39301472902297974, -0.5304446816444397, 0.7550144791603088, 0.7986106276512146, -1.1621489524841309, -0.22653807699680328, -0.3870508074760437, -0.6466432809829712, -0.27405431866645813, -0.24686697125434875, -0.2858662009239197, 0.12240615487098694, 0.6858277320861816, -0.5692270994186401, 0.5716362595558167, 0.2367294430732727, -0.5413317084312439, 0.5480731129646301, -0.21820680797100067, 0.16633836925029755, -0.8921120762825012, 0.22646479308605194, 0.10589207708835602, -0.2114904820919037, -0.8111513257026672, 0.008865739218890667, 0.09265454858541489, -0.15589329600334167, -0.6953882575035095, 0.18085826933383942, -0.36490175127983093, -0.004407448694109917, -0.33432137966156006, 0.1133599504828453, 0.07761609554290771, 0.19297337532043457, -0.2267104983329773, 0.8513516187667847, 0.37462347745895386, -0.9906716346740723, -0.05367061868309975, 0.4043344259262085, -0.12838898599147797, 1.1759709119796753, -0.7757085561752319, 0.42061924934387207, -0.45034101605415344, -0.09103018045425415, -1.040540337562561, -0.5800418257713318, 0.6413214206695557, -0.6290186643600464, 0.4059102535247803, -0.29936620593070984, -0.2530233561992645, -0.25246065855026245, 0.1445540189743042, 0.30889296531677246, 0.49685439467430115, -0.1781379133462906, 0.5107819437980652, 0.7227276563644409, -0.27586302161216736, -0.5926186442375183, -0.6738797426223755, -0.1169772520661354, -0.566290020942688, -0.6432772278785706, 0.4035901427268982, -0.364066481590271, -0.5060504078865051, -0.12458238005638123, -0.22281332314014435, -0.23716478049755096, 0.4630243182182312, 0.5490361452102661, 0.14639107882976532, 0.07274674624204636, 0.26931488513946533, 0.35974857211112976, -0.3602670729160309, 0.3470492959022522, 0.0005357425543479621, 0.2665163278579712, 0.10223926603794098, -0.5550602674484253, -0.5624133944511414, 0.5006263256072998, 0.4852876365184784, -0.26118046045303345, 0.7370557188987732, 0.19209852814674377, -0.4566001296043396, 0.4385855495929718, -0.5207363367080688, -0.534579873085022, -0.5422956943511963, 0.0505988709628582, -0.14874088764190674, -0.7960712313652039, 0.4713616967201233, 0.020978977903723717, -0.0025881449691951275, 0.25271645188331604, 0.18472838401794434, -0.45936819911003113, 1.2153102159500122, 0.8564321994781494, 0.04079785197973251, 0.17085139453411102, 0.10590710490942001, 0.26014724373817444, -0.5167607069015503, -0.5712897777557373, -0.7719535231590271, -0.5191039443016052, -0.43025702238082886, -0.23848840594291687, 0.43846261501312256, 0.040102969855070114, -0.23692293465137482, 0.3921966552734375, -0.14668381214141846, 0.5826391577720642, 0.2677859961986542, 0.12212809920310974, 0.24597403407096863, -0.18562129139900208, -0.037624601274728775, -0.4763389825820923, -0.4756200909614563, -0.6757716536521912, 0.6456549763679504, 0.34769484400749207, 1.0243196487426758, 0.434197336435318, 0.24199411273002625, 0.18690508604049683, 0.016878511756658554, -0.5283878445625305, 0.563307523727417, 0.3504166007041931, -1.2837995290756226, -0.09105908870697021, -0.02021588385105133, -1.1081016063690186, 0.19115273654460907, -0.41931095719337463, -1.0495671033859253, 0.5412521958351135, 0.4087260663509369, -0.772070050239563, 0.23402975499629974, -0.6910296082496643, 0.7139028906822205, -0.5118322968482971, -0.5478881001472473, -0.15557968616485596, -1.1455905437469482, 0.2579205334186554, 0.04886193200945854, 0.046958647668361664, -0.05166136100888252, -0.1360265612602234, 0.653712272644043, -0.2583470940589905, 1.0578750371932983, -0.38362887501716614, -0.121271513402462, 0.09244407713413239, 0.4162801206111908, 0.30875328183174133, -0.03418247401714325, -0.04432234168052673, -0.2824309468269348, -0.147491455078125, -0.3165256679058075, -0.7611554265022278, 0.6796874403953552, -0.5996789932250977, -0.9804192185401917, -0.3855438828468323, -0.36013826727867126, -0.4185241162776947, 0.3003789186477661, 0.5314962863922119, 0.04917719587683678, -0.22599449753761292, 0.21685990691184998, 1.0912925004959106, -0.3051713705062866, 0.43332070112228394, 0.4762957990169525, -0.11812469363212585, 0.2794644832611084, 0.5573224425315857, 0.029069337993860245, 0.47071701288223267, 0.2460898607969284, 0.04369255527853966, -0.4840812385082245, -0.43259140849113464, -0.39655357599258423, 0.2621389925479889, -0.5196726322174072, 0.03837822750210762, -0.7914328575134277, -0.10586618632078171, -0.40245863795280457, -0.08418672531843185, -0.28207841515541077, -0.432930052280426, -0.6533044576644897, -0.337252140045166, -0.08783163875341415, 0.7738025784492493, -0.03224797919392586, 0.7525889277458191, -0.4381401836872101, 0.044107332825660706, 0.45674851536750793, 0.12072715163230896, -0.2105305939912796, -0.41915956139564514, 0.26130080223083496, -0.14286966621875763, -0.7277161478996277, -1.3503248691558838, 0.282632052898407, -0.2398935854434967, 0.8133916854858398, 0.7838314771652222, 0.441702663898468, 0.4283420443534851, -0.20054982602596283, 0.6493541598320007, 0.08008888363838196, -0.6507794857025146, 0.6674730181694031, -0.5230032801628113, -0.04103884473443031, 0.6418924927711487, 0.8744280934333801, -0.5796510577201843, -0.15840229392051697, -0.7369717955589294, -0.5273563265800476, 0.7316080331802368, 0.17486774921417236, 0.3793145418167114, 0.18090613186359406, 0.5318102240562439, 0.1860659122467041, 0.17016258835792542, -0.7439245581626892, -0.36466190218925476, -0.15113742649555206, 0.14729493856430054, 0.10947613418102264, -0.6448442339897156, -0.1426052302122116, 0.15140973031520844, 0.45020535588264465, -0.04146154597401619, 0.20425176620483398, -0.055201902985572815, -0.08934103697538376, -0.4560675323009491, 0.31345444917678833, 0.5012843012809753, 0.7025989890098572, 0.0439201295375824, 0.07596033811569214, -0.14621134102344513, -0.4090310335159302, 0.07541829347610474, -0.005475236568599939, -0.3615967631340027, -0.5103396773338318, -0.004558153450489044, 0.7384674549102783, 0.5833370685577393, -0.32352957129478455, 0.5626170039176941, -0.07545048743486404, -0.18013238906860352, -0.1433752179145813, 0.40011066198349, -0.03822413086891174, 0.1568981111049652, 0.35043954849243164, 0.3735171854496002, 0.1261397898197174, -0.32415133714675903, 0.06410396099090576, 0.4185797870159149, -0.6150321364402771, -0.6373013257980347, 1.0956430435180664, 0.24985270202159882, -0.4933857321739197, 0.664311408996582, 0.2136262059211731, -0.4498317837715149, 0.23726734519004822, 0.35339412093162537, 0.701776921749115, -0.5038653612136841, 0.409437358379364, 0.2857705056667328, 0.3995051980018616, 0.13009846210479736, 0.32185864448547363, 0.02141529694199562, -0.6686891317367554, -0.25155654549598694, -0.07442386448383331, -0.43531665205955505, 0.34524279832839966, -0.8969373106956482, -0.014078502543270588, -0.6105948090553284, -0.4989053010940552, 0.02175879292190075, -0.43403103947639465, -0.33201083540916443, 0.17241926491260529, -0.05233588442206383, 0.640674352645874, -0.8786818981170654, 0.34538698196411133, 0.7626021504402161, -0.395510196685791, -0.7920089364051819, 0.5063085556030273, 0.4448366165161133, -0.4490625560283661, 0.40303099155426025, 0.03753914684057236, -0.014728059060871601, -0.13441985845565796, -1.000159502029419, -0.881215512752533, 0.8116861581802368, 0.6127690672874451, -0.24085445702075958, -0.372185617685318, 0.07155846804380417, 0.25135332345962524, 0.047276731580495834, -0.18462297320365906, 0.3193853199481964, 0.5072522759437561, 0.16446523368358612, -0.8363652229309082, -0.11142420023679733, -0.21543794870376587, -0.06695427000522614, -0.0725741982460022, -0.5810678005218506, 0.8653273582458496, -0.38979917764663696, -0.3350078761577606, 0.06079786643385887, 0.6332339644432068, 0.2803288698196411, 0.3205035626888275, 0.7402223944664001, 0.23582792282104492, 0.939429759979248, -0.123844213783741, 1.273464560508728, 0.07869309931993484, -0.1746869683265686, 0.8682867884635925, -0.10014260560274124, 0.5639301538467407, 0.5829459428787231, 0.04729921743273735, 0.6462443470954895, 0.6774303913116455, 0.5022699236869812, 0.5369677543640137, -0.29838401079177856, -0.2353123277425766, -0.6964390873908997, 0.01635647378861904, -0.4121650755405426, 0.5943835377693176, 0.5096853971481323, -0.25063958764076233, -0.07506422698497772, 0.13951759040355682, 0.22264862060546875, 0.2586089074611664, 0.07609532028436661, 0.575596809387207, 0.12528164684772491, -0.9846370816230774, 0.04622996225953102, 0.14435335993766785, 0.27650314569473267, -0.4059877395629883, 0.38766250014305115, -0.0703968033194542, -0.0689084529876709, -0.10455166548490524, -0.8075557947158813, 0.4588406980037689, -0.22729913890361786, -0.1501520872116089, -0.4295197129249573, 1.1230745315551758, 0.006311898119747639, -0.1370561420917511, 0.06152816116809845, 0.8378422260284424, 0.22623978555202484, -0.053133271634578705, -0.8732432723045349, -0.11211279779672623, -0.14386577904224396, -0.1803998053073883, 0.3948313593864441, 0.17905843257904053, -0.33156144618988037, 0.9117419123649597, 0.544749915599823, -0.29121828079223633, 0.10354198515415192, -0.039672404527664185, 0.7774262428283691, -0.6270122528076172, -0.7789943218231201, -0.5191762447357178, 0.8586755990982056, -0.007072482258081436, -0.2808131277561188, 0.7982485890388489, 0.2391769140958786, 0.9219611287117004, -0.029661552980542183, 0.6414393782615662, -0.0661015436053276, 0.47009050846099854, -0.4396536946296692, 1.306023120880127, -0.5970531702041626, 0.34505385160446167, -0.35876402258872986, -0.6051468253135681, -0.16351880133152008, 0.6837498545646667, -0.7000994086265564, 0.36773741245269775, 0.401321142911911, 0.8499544858932495, -0.04372415319085121, 0.27374061942100525, 0.27372223138809204, 0.06329721212387085, 0.3656887412071228, 0.4628821015357971, 1.175878882408142, -0.24058747291564941, 0.3343275487422943, -0.15416564047336578, 0.04339218512177467, -0.3169019818305969, -0.8600172996520996, -0.8292334675788879, -0.8036676645278931, -0.45393452048301697, -0.45285528898239136, -0.018359053879976273, 0.382670134305954, 1.0730417966842651, -0.5516862273216248, 0.08008971065282822, -0.0035438230261206627, 0.34352052211761475, 0.3174314498901367, -0.1579425185918808, -0.21871738135814667, 0.0476217195391655, -0.7503124475479126, 0.5144580602645874, 0.18545329570770264, 0.5588068962097168, -0.5562446117401123, -0.1135312169790268, -0.282153457403183, 0.056038059294223785, 0.2619859278202057, 0.64324951171875, -0.532374382019043, -0.4060523211956024, 0.19812656939029694, -0.18760287761688232, -0.0026880805380642414, 0.9817972183227539, -0.854698121547699, 0.4411216676235199, 0.3859979808330536, 0.357143372297287, 0.08497586101293564, 0.33497533202171326, 0.7301402688026428, -0.7260597944259644, 0.06580379605293274, 0.30576997995376587, 0.204213947057724, 0.4863888919353485, -0.7578374147415161, 0.13936670124530792, 0.39651432633399963, -0.5732348561286926, -0.6498886346817017, 0.5271890163421631, -0.7930107116699219, -0.2811669111251831, 0.899577260017395, 0.12596431374549866, -0.25261396169662476, -0.5399171710014343, -0.2565523087978363, -0.01638098619878292, -0.17796747386455536, 0.6795152425765991, 0.5614741444587708, -0.31599709391593933, -0.34579354524612427, -0.6481500267982483, 0.5723862051963806, 0.627167284488678, -0.6428079009056091, -0.09637430310249329, 0.744644820690155, 0.43290138244628906, 0.13999031484127045, 0.6121562123298645, -0.19720108807086945, 0.3811229467391968, -0.2532525956630707, -0.5880926847457886, 0.024344976991415024, -0.6375240087509155, -0.2722703218460083, 0.29989588260650635, 0.161992609500885, 0.06399937719106674 ]
http://arxiv.org/abs/2406.12091v2
http://arxiv.org/pdf/2406.12091v2
Is poisoning a real threat to LLM alignment? Maybe more so than you think
2024-06-17T21:06:00
2024-06-19T17:56:17
Pankayaraj Pathmanathan, Souradip Chakraborty, Xiangyu Liu, Yongyuan Liang, Furong Huang
cs.LG
cs.LG, cs.CL, cs.CR
Recent advancements in Reinforcement Learning with Human Feedback (RLHF) have significantly impacted the alignment of Large Language Models (LLMs). The sensitivity of reinforcement learning algorithms such as Proximal Policy Optimization (PPO) has led to new line work on Direct Policy Optimization (DPO), which treats RLHF in a supervised learning framework. The increased practical use of these RLHF methods warrants an analysis of their vulnerabilities. In this work, we investigate the vulnerabilities of DPO to poisoning attacks under different scenarios and compare the effectiveness of preference poisoning, a first of its kind. We comprehensively analyze DPO's vulnerabilities under different types of attacks, i.e., backdoor and non-backdoor attacks, and different poisoning methods across a wide array of language models, i.e., LLama 7B, Mistral 7B, and Gemma 7B. We find that unlike PPO-based methods, which, when it comes to backdoor attacks, require at least 4\% of the data to be poisoned to elicit harmful behavior, we exploit the true vulnerabilities of DPO more simply so we can poison the model with only as much as 0.5\% of the data. We further investigate the potential reasons behind the vulnerability and how well this vulnerability translates into backdoor vs non-backdoor attacks.
[ 0.028213052079081535, -0.6221218109130859, 0.5790460705757141, 0.009181932546198368, 0.1600675880908966, -0.03782130032777786, 0.03473103046417236, -0.380684494972229, -0.30150532722473145, 0.8324313759803772, -0.6452635526657104, -0.3935507535934448, -0.34226706624031067, -0.034197285771369934, -0.07505788654088974, 1.0322755575180054, 0.11501877009868622, -0.10263409465551376, -0.024129126220941544, 0.1648101806640625, -0.7208214402198792, -0.8187850117683411, -0.5715346932411194, -0.39055949449539185, 0.7645291686058044, 0.45743462443351746, 0.8189818859100342, 0.5754363536834717, 0.5312733054161072, 0.2569662034511566, -0.04255712032318115, -0.10486428439617157, -0.6384378671646118, 0.3855830729007721, -0.31612110137939453, -0.5120251774787903, -0.5250942707061768, 0.03970839083194733, 0.29148387908935547, 0.1171325072646141, -0.30284592509269714, -0.29097890853881836, -0.08716553449630737, 0.8985589742660522, -0.8470001220703125, -0.4395308494567871, -0.9557137489318848, 0.2713466286659241, -0.05302172154188156, -0.26167672872543335, -0.7702270150184631, -0.2068311870098114, 0.3064126968383789, -0.5498154163360596, -0.420806348323822, 0.15839503705501556, 0.7613322138786316, 0.5855962038040161, -0.4433225691318512, -0.19357766211032867, -0.5597119331359863, 0.8951243758201599, -0.5805234909057617, 0.08744984120130539, 0.28427430987358093, 0.33694881200790405, -0.7016030550003052, -0.24760040640830994, -0.5469273328781128, -0.4210381507873535, 0.02775793895125389, 0.0486803837120533, -0.22343093156814575, 0.3354468047618866, 0.04389817267656326, 0.28321030735969543, -0.7185431122779846, 0.6085205078125, 0.20397211611270905, -0.2887265682220459, 0.8267104625701904, 0.4536190629005432, 0.5711656808853149, -0.32739633321762085, -0.7672377228736877, -0.39706236124038696, -1.008750319480896, -0.18274898827075958, 1.0087953805923462, 0.1680232137441635, 0.12593978643417358, 0.2769983112812042, 0.22464437782764435, 0.6794582009315491, -0.015397006645798683, -0.18553422391414642, -0.2269625961780548, -0.2176155000925064, -0.11702127754688263, 0.32056427001953125, 0.9139206409454346, 0.6215223073959351, 0.3646829128265381, -0.2170950472354889, -0.050491053611040115, -0.1472606211900711, 0.5772306323051453, -0.516342282295227, -0.33900347352027893, 0.6127097606658936, 0.11016170680522919, -0.8312242031097412, -0.16847416758537292, -0.9628812074661255, -0.5712039470672607, 0.25543180108070374, 0.32405373454093933, -0.2878422737121582, -0.3273295760154724, 0.051351651549339294, 0.029416369274258614, 0.4223318099975586, -0.028314007446169853, -1.1110128164291382, 0.09642733633518219, 1.0669816732406616, 0.5482498407363892, -0.4221433699131012, -0.49764302372932434, -0.4854964315891266, 0.24410168826580048, -0.322706401348114, 0.5672518014907837, -0.36214107275009155, -0.5463300347328186, 0.0755687952041626, -0.24249990284442902, 0.047138262540102005, -0.8116182684898376, 0.5859226584434509, -0.7265547513961792, 0.08675188571214676, -0.17157164216041565, -0.2808728814125061, 0.05885223299264908, 0.27622756361961365, -0.6041972041130066, 0.7247758507728577, -0.22962446510791779, -0.952339768409729, 0.1763797551393509, -0.103984534740448, -0.3400515913963318, -0.38484740257263184, -0.006225477438420057, -0.5722814202308655, -0.2828742563724518, -0.0021068654023110867, 0.20527631044387817, 0.01786275953054428, 0.41942304372787476, -0.4720480740070343, -0.1927138715982437, 0.5706902146339417, -0.5311253666877747, 0.7339538335800171, 0.32364359498023987, 0.03679383918642998, 0.3926163911819458, -0.6451864838600159, -0.02533981390297413, 0.22334618866443634, -0.37402963638305664, -0.3675636649131775, 0.14556469023227692, -0.2123958021402359, 0.3744281828403473, 0.19886033236980438, -0.3199383616447449, 0.4637722074985504, -0.5685213208198547, 0.4398604929447174, 1.1847282648086548, 0.44179782271385193, 0.5216741561889648, -0.4170452356338501, 0.5694843530654907, 0.024337656795978546, 0.6143763065338135, 0.1412535011768341, -0.14265090227127075, -0.27664434909820557, -0.30619579553604126, 0.13186614215373993, 0.9046952724456787, -0.5013028383255005, 0.6403114795684814, -0.13309365510940552, -0.5713211894035339, -0.2338235080242157, -0.08971867710351944, 0.7991616725921631, 0.8053027391433716, 0.18080484867095947, 0.002374913776293397, -0.33950573205947876, -0.9013383388519287, -0.4194858968257904, -0.28022992610931396, 0.2338876873254776, 0.24976909160614014, 0.415790319442749, -0.35505178570747375, 0.8752978444099426, -0.6545892357826233, -0.22152742743492126, -0.10381711274385452, -0.4259302616119385, 0.1296888142824173, 0.557957112789154, 0.5275036692619324, -0.42137205600738525, -0.3997478187084198, -0.09345300495624542, -0.6612982153892517, -0.32081547379493713, -0.16107283532619476, -0.46532657742500305, 0.24248984456062317, 0.1401337832212448, -0.3380742371082306, 0.23461955785751343, 0.6244704723358154, -0.005196466110646725, 0.8024400472640991, -0.02865905873477459, -0.17308208346366882, -0.8944205045700073, -0.03286341577768326, -0.09927988797426224, 0.011058073490858078, -0.9270670413970947, 0.2023979276418686, 0.06393866240978241, -0.27197161316871643, -0.8646402955055237, 0.4810650944709778, -0.09930215775966644, 0.17273472249507904, -0.1019757017493248, -0.06563280522823334, 0.051880039274692535, 0.49881085753440857, -0.07472912967205048, 0.9168204665184021, 0.5136613845825195, -0.5659130215644836, 0.4418947696685791, 0.13375630974769592, -0.06035199761390686, 0.29119637608528137, -0.4635470509529114, 0.3123856782913208, 0.2623094320297241, 0.2515066862106323, -0.7994993925094604, -0.4004739820957184, 0.5679091215133667, -0.21460163593292236, 0.6324310302734375, -0.1820128858089447, -0.3363869786262512, -0.01833532191812992, -0.7661867141723633, 0.266918808221817, 0.27819132804870605, -0.7001568675041199, 0.16514886915683746, 0.36565420031547546, 0.18509769439697266, -1.0988572835922241, -0.479761004447937, 0.08721493929624557, -0.6164268255233765, -0.7419272065162659, 0.38788139820098877, 0.06302138417959213, -0.47569987177848816, -0.2623661458492279, -0.31633511185646057, 0.16801373660564423, 0.5124690532684326, 0.19473333656787872, 0.32471174001693726, 0.36205142736434937, -0.22824189066886902, -0.027979958802461624, -0.29673099517822266, 0.10799853503704071, 0.025623800233006477, 0.6795690059661865, 0.18334659934043884, -0.3447587192058563, -0.8065001964569092, 0.4524785876274109, 0.42533254623413086, -0.02723587304353714, 0.5492690801620483, -0.251487135887146, 0.016406092792749405, -0.2685321569442749, -0.150323286652565, -0.2616811990737915, -0.5214087963104248, 0.47657978534698486, -0.23220448195934296, -0.42123958468437195, 0.5064762830734253, 0.11502612382173538, -0.051128827035427094, 0.15767614543437958, 0.4246049225330353, 0.08738142251968384, 0.8832481503486633, 0.4396006166934967, -0.3837980628013611, 0.6147201657295227, 0.016689585521817207, 0.12421561777591705, -0.9326512813568115, -0.10634926706552505, -0.12703408300876617, -0.17681431770324707, -0.6798946261405945, 0.03664987161755562, 0.40674179792404175, -0.026836128905415535, -0.43207353353500366, 0.2838982045650482, -0.47142118215560913, 0.6889458298683167, 0.46240532398223877, 0.08431307226419449, 0.29832714796066284, -0.034082621335983276, -0.21388857066631317, -0.14685633778572083, -0.490104079246521, -0.5297130346298218, 1.2143058776855469, 0.5326575040817261, 1.1835228204727173, 0.242738276720047, 0.9536405205726624, 0.20323128998279572, 0.05584140121936798, -0.9039322733879089, 0.47727739810943604, 0.14802679419517517, -0.7018991708755493, -0.2079208493232727, -0.360319048166275, -1.080479621887207, 0.35585683584213257, 0.010335076600313187, -0.7682351469993591, 0.12442052364349365, 0.30899128317832947, -0.4228335916996002, 0.2138206660747528, -0.86640465259552, 0.9251598715782166, -0.6554079055786133, -0.6328052282333374, 0.014737915247678757, -0.6876970529556274, 0.6174332499504089, -0.0885288417339325, -0.04059019684791565, -0.1456374078989029, -0.002288084477186203, 0.5947302579879761, -0.5614258646965027, 0.8307921886444092, 0.0037833142559975386, -0.505979061126709, 0.008522173389792442, 0.25102460384368896, 0.5554138422012329, 0.04271884262561798, -0.15248434245586395, 0.17683036625385284, -0.010119699873030186, -0.30558064579963684, -0.5215901136398315, 0.8916709423065186, -0.9612319469451904, -1.0896682739257812, -0.9098044037818909, -0.2812800109386444, -0.32209521532058716, -0.010874854400753975, 0.2439274787902832, 0.0935443863272667, -0.029292069375514984, -0.45058709383010864, 0.6684757471084595, -0.5280141830444336, 0.38387495279312134, 0.5249066948890686, -0.23810438811779022, -0.5897310376167297, 0.9635725021362305, -0.01599067449569702, 0.6323637366294861, 0.38821256160736084, 0.413457989692688, -0.09503241628408432, -0.5746711492538452, -0.30777111649513245, 0.44540929794311523, -0.6407503485679626, -0.30501049757003784, -0.32387489080429077, -0.09928429871797562, -0.5390855669975281, -0.07532057911157608, -0.28710150718688965, 0.03135128691792488, -0.40503859519958496, -0.17431554198265076, 0.35687124729156494, 0.5510857105255127, -0.01911277137696743, 0.4700060784816742, -0.6422252655029297, -0.21799172461032867, 0.41481053829193115, 0.03521652892231941, 0.013669868931174278, -0.38396182656288147, 0.21506944298744202, -0.29986295104026794, -0.63901287317276, -1.4983820915222168, 0.5532245635986328, -0.1217321902513504, 0.526069700717926, 0.5446799993515015, 0.3019658327102661, 0.5209967494010925, -0.607703447341919, 0.7516708374023438, 0.15026012063026428, -0.6874361038208008, 0.5721557140350342, -0.4256049692630768, -0.20109984278678894, 0.6088479161262512, 0.5018278360366821, -0.6676644682884216, -0.16022218763828278, -0.3188202381134033, -1.0588515996932983, 0.7416926622390747, -0.1454641968011856, 0.08133280277252197, -0.03892343118786812, 0.44732868671417236, 0.10952720046043396, 0.06326237320899963, -0.5948575139045715, -0.17828837037086487, 0.15368196368217468, -0.01900411583483219, 0.29069942235946655, -0.5167394876480103, -0.24256297945976257, -0.006527959369122982, 0.7748777866363525, 0.21552608907222748, -0.0751604288816452, 0.16449278593063354, -0.07422030717134476, -0.0861276164650917, 0.3860083222389221, 0.7054963707923889, 0.3948535621166229, -0.2838366627693176, 0.2031359076499939, 0.051387980580329895, -0.5085009336471558, 0.35748112201690674, -0.24281980097293854, -0.04547181725502014, -0.7348621487617493, 0.5334330201148987, 0.5992774963378906, 0.16183477640151978, -0.8246738314628601, 0.45519518852233887, -0.09950192272663116, 0.16338226199150085, -0.3928470015525818, 0.3028715252876282, -0.2600846588611603, 0.014837322756648064, 0.178172305226326, -0.37377306818962097, -0.11487745493650436, -0.7192210555076599, 0.19436118006706238, 0.5502119064331055, -0.2970869243144989, -0.2824029326438904, 0.37672093510627747, 0.27540507912635803, -0.3578644394874573, 0.514387845993042, 0.19013214111328125, -0.9212972521781921, 0.35659676790237427, 0.5866747498512268, 0.785176694393158, -0.6160611510276794, -0.09557844698429108, 0.12052839249372482, 0.2723216116428375, 0.2014419436454773, -0.0067750015296041965, 0.024446235969662666, -0.8241358399391174, -0.2513519823551178, -0.5175624489784241, -0.600751519203186, 0.23749347031116486, -0.5652444362640381, 0.059856582432985306, -0.6420292854309082, -0.18982556462287903, -0.2362712323665619, -0.0600435696542263, 0.19184623658657074, -0.2275974154472351, -0.01896549202501774, 0.44997233152389526, -0.9346850514411926, 0.7115870714187622, 0.30354347825050354, -0.3193311095237732, -0.6459605097770691, 0.48085111379623413, 0.2433464676141739, -0.9563909769058228, 0.7151128053665161, 0.04603296145796776, -0.13816945254802704, -0.06578093767166138, -0.3920274078845978, -0.7035557627677917, 0.8671891093254089, 0.402843713760376, -0.6633769869804382, -0.18390153348445892, 0.0340893417596817, 0.35818472504615784, 0.1495753675699234, -0.17532022297382355, 0.8015733957290649, 0.49299848079681396, -0.11216385662555695, -0.8355486989021301, 0.06312845647335052, 0.12895433604717255, -0.05488898605108261, 0.36734455823898315, -0.6826096773147583, 0.5711402297019958, -0.16677531599998474, -0.2530066668987274, -0.23914377391338348, 0.34076908230781555, 0.2843119502067566, 0.08834660053253174, 0.38411712646484375, 0.9637017250061035, 0.6167859435081482, 0.06579464673995972, 1.2314972877502441, -0.013620647601783276, 0.17090009152889252, 1.1712185144424438, -0.8060081005096436, 0.9816092848777771, 0.7634643912315369, -0.3037343919277191, 0.34978336095809937, 0.708706796169281, 0.16190195083618164, 0.881367564201355, 0.5100616216659546, -0.3231269419193268, -0.12229756265878677, 0.022021280601620674, -0.2398565709590912, 0.21630680561065674, 0.30338719487190247, -0.17765772342681885, -0.06161841005086899, 0.022611256688833237, 0.5526354312896729, 0.17103679478168488, -0.044830240309238434, 1.0595169067382812, 0.03360855206847191, -1.0429999828338623, 0.6337665915489197, -0.1729985475540161, 0.6621254086494446, -0.48141029477119446, 0.2123851776123047, -0.23323948681354523, 0.4378838837146759, -0.41963300108909607, -0.9062844514846802, 0.35896092653274536, -0.09267915785312653, 0.06246126443147659, -0.033267393708229065, 0.5988009572029114, -0.18986375629901886, 0.29504355788230896, 0.525902509689331, -0.09937816858291626, -0.12365230917930603, -0.10040812939405441, -0.6058789491653442, 0.24288727343082428, 0.0049682073295116425, -0.3201036751270294, 0.6749469041824341, -0.08263934403657913, -0.0522921159863472, 0.8044083714485168, 0.685256838798523, 0.23712366819381714, 0.2639214098453522, -0.2627497613430023, 0.8542624115943909, -0.4177056849002838, -0.21767011284828186, -1.2876852750778198, 0.21190427243709564, -0.09642375260591507, -0.11581060290336609, 0.8310537934303284, 0.3496325612068176, 0.7329631447792053, 0.05706821754574776, 0.5423488020896912, 0.39444780349731445, 0.05378154665231705, -0.6565952897071838, 0.8165903687477112, -0.4193987250328064, 0.4281637966632843, -0.16356037557125092, -0.7148266434669495, -0.3450150787830353, 0.2934108078479767, -0.7269687056541443, -0.3287999629974365, 0.6635287404060364, 1.0252289772033691, 0.41680005192756653, -0.24112342298030853, 0.2008245587348938, 0.1279783546924591, 0.588463544845581, 0.701446533203125, 1.2249057292938232, -0.07000821083784103, 0.5861445069313049, -0.38510432839393616, -0.2496127337217331, -0.4449349045753479, -1.0019123554229736, -0.8020561933517456, -0.29605504870414734, -0.2560120224952698, -0.6021023988723755, 0.18832430243492126, 0.7377225160598755, 0.44822558760643005, -0.5969139933586121, -0.08633478730916977, -0.09543737024068832, 0.48377856612205505, -0.01591736264526844, -0.27321159839630127, 0.2808662950992584, -0.2375483363866806, -0.5395413041114807, 0.38912665843963623, 0.30979299545288086, 0.029999205842614174, -0.4457494616508484, -0.09741794317960739, -0.290336936712265, 0.03203651309013367, 0.25066184997558594, 0.5048199892044067, -0.8045182824134827, -0.44295254349708557, -0.20976948738098145, -0.2588108479976654, 0.030041111633181572, 0.5904972553253174, -0.3758184611797333, 0.4588955342769623, 0.6852274537086487, 0.6692928075790405, -0.026995884254574776, 0.12555073201656342, 0.617379367351532, -0.8124236464500427, 0.14004573225975037, 0.4372624456882477, 0.25496000051498413, 0.2286529541015625, -0.8043944239616394, 0.2583410441875458, 0.06471012532711029, -0.7994585633277893, -1.1274850368499756, 0.7361809611320496, -0.9985523819923401, -0.31035423278808594, 1.3326133489608765, -0.1317153424024582, -0.623417317867279, 0.0443156473338604, -0.32209402322769165, -0.0029975625220686197, -0.5685639977455139, 0.7603909373283386, 0.6168007850646973, -0.22234976291656494, 0.2898217439651489, -0.5691815614700317, 0.6598456501960754, 0.3967199921607971, -0.7996248006820679, 0.3361310064792633, 0.40610969066619873, 0.49183088541030884, 0.08015074580907822, 0.32529938220977783, -0.21447324752807617, 0.10215837508440018, -0.23523162305355072, -0.08661922812461853, -0.024625487625598907, -0.3941366374492645, -0.6408735513687134, 0.014899223111569881, 0.2740339934825897, -0.1725040227174759 ]
http://arxiv.org/abs/2406.12084v1
http://arxiv.org/pdf/2406.12084v1
When Reasoning Meets Information Aggregation: A Case Study with Sports Narratives
2024-06-17T20:49:35
2024-06-17T20:49:35
Yebowen Hu, Kaiqiang Song, Sangwoo Cho, Xiaoyang Wang, Wenlin Yao, Hassan Foroosh, Dong Yu, Fei Liu
cs.CL
cs.CL, cs.AI
Reasoning is most powerful when an LLM accurately aggregates relevant information. We examine the critical role of information aggregation in reasoning by requiring the LLM to analyze sports narratives. To succeed at this task, an LLM must infer points from actions, identify related entities, attribute points accurately to players and teams, and compile key statistics to draw conclusions. We conduct comprehensive experiments with real NBA basketball data and present SportsGen, a new method to synthesize game narratives. By synthesizing data, we can rigorously evaluate LLMs' reasoning capabilities under complex scenarios with varying narrative lengths and density of information. Our findings show that most models, including GPT-4o, often fail to accurately aggregate basketball scores due to frequent scoring patterns. Open-source models like Llama-3 further suffer from significant score hallucinations. Finally, the effectiveness of reasoning is influenced by narrative complexity, information density, and domain-specific terms, highlighting the challenges in analytical reasoning tasks.
[ -0.24713602662086487, -0.8978893160820007, 1.0049409866333008, 0.13606011867523193, -0.19846419990062714, 0.3110971748828888, 0.15470103919506073, -0.6736109852790833, 0.014345582574605942, 0.1309773176908493, -0.35225909948349, -0.4879392087459564, -0.7149364352226257, -0.06246756762266159, -0.44224926829338074, 0.7538027763366699, -0.24670828878879547, -0.12179084867238998, -0.5844677090644836, -0.3415445387363434, -0.517169177532196, -0.604817807674408, -0.5855441689491272, -0.3881182372570038, -0.07855001837015152, 0.3138751685619354, 0.6868979334831238, 0.770600438117981, 0.7466241121292114, 0.3771580755710602, 0.20446129143238068, 0.605694591999054, -0.7370910048484802, 0.5281633138656616, -0.22913457453250885, -0.6655212044715881, -0.5801489353179932, 0.2062498778104782, 0.3094428777694702, 0.6543675661087036, -0.2006891369819641, 0.261814147233963, -0.12359856814146042, 0.5857378840446472, -0.4345383048057556, 0.12579520046710968, -0.35231813788414, 0.05510398745536804, -0.01341478805989027, -0.5507801175117493, -0.1506023406982422, -0.430738627910614, -0.038418762385845184, -0.6956724524497986, 0.16744941473007202, 0.04100460931658745, 0.6799248456954956, 0.3708667755126953, -0.3104637861251831, -0.40985631942749023, -1.0671151876449585, 0.694797933101654, -0.44603419303894043, 0.23826730251312256, 0.4328075647354126, 0.23429732024669647, -0.14782346785068512, -0.34156543016433716, -0.41496092081069946, 0.03200879693031311, 0.017738286405801773, 0.38037699460983276, -0.41689515113830566, -0.1600225418806076, 0.32979822158813477, 0.13677985966205597, -0.4602193236351013, -0.20750612020492554, -0.7063623070716858, 0.2051164209842682, 0.90877765417099, 0.5298580527305603, 0.24183732271194458, 0.15651892125606537, -0.4342552423477173, 0.40147504210472107, -0.4671576917171478, 0.2753676176071167, 0.32202669978141785, -0.1772889345884323, 0.12828731536865234, 0.7240977883338928, -0.21129824221134186, 0.5165776014328003, 0.10050670802593231, -0.4442978501319885, 0.05593357980251312, -0.18515627086162567, -0.2254437506198883, 0.580511212348938, 0.678733229637146, 0.7443936467170715, 0.07576607912778854, -0.43480849266052246, 0.12996944785118103, 0.09405063092708588, 0.28848305344581604, -0.38331711292266846, -0.04838778078556061, 0.639989972114563, -0.49180397391319275, -0.16306167840957642, 0.1315561681985855, -0.46851488947868347, -0.5085749626159668, -0.5332061648368835, 0.43865934014320374, -0.6365841627120972, 0.1679598093032837, 0.1082361713051796, -0.651151180267334, 0.30680587887763977, 0.44222331047058105, -0.7054997682571411, 0.1955738067626953, 0.7847092151641846, 0.7981966733932495, -0.18925774097442627, -0.40139642357826233, -0.4723396301269531, 0.5809637308120728, -0.5766713619232178, 1.2242470979690552, -0.4833715558052063, -0.1925840973854065, -0.2542566657066345, -0.6857591271400452, 0.20773600041866302, -0.5313392281532288, 0.4187414348125458, -0.07864265888929367, -0.10245784372091293, -0.04187936335802078, -1.0216152667999268, -0.0621190071105957, 0.42231085896492004, -0.4253809452056885, 0.9216495156288147, 0.0854838490486145, -0.3998754620552063, 0.6145427823066711, -0.4076453745365143, -0.43453249335289, 0.12077252566814423, -0.3425581157207489, -0.025851137936115265, 0.36913132667541504, 0.15112997591495514, 0.27224811911582947, -0.42522555589675903, 0.21083509922027588, -0.2802666127681732, -0.5654547214508057, 0.39266306161880493, -0.021479686722159386, 0.38821208477020264, 0.1976919025182724, -0.01342878770083189, -0.23190410435199738, -0.5068475008010864, -0.1345614343881607, 0.11608458310365677, -0.3503931164741516, -0.2774112820625305, 0.4698573350906372, -0.944358766078949, -0.11773768067359924, -0.06781807541847229, -0.04064434766769409, 0.325204998254776, -0.14842699468135834, -0.022575801238417625, 0.6312588453292847, -0.035738203674554825, 0.631754994392395, -0.4213798940181732, 0.5151568651199341, -0.1803378313779831, 0.35029909014701843, 0.02659384347498417, -0.6510325074195862, -0.13655327260494232, -0.05428794026374817, -0.18619295954704285, 0.7307842373847961, -0.6818975210189819, 0.14921438694000244, -0.3063802123069763, -0.829882800579071, -0.15248307585716248, 0.12332300841808319, -0.144429013133049, 0.7727658152580261, 0.2233397215604782, 0.11312302201986313, -0.42246684432029724, -0.5328943729400635, -0.6430450081825256, -0.4027513861656189, 0.12125959992408752, 0.3395475745201111, 0.2012171596288681, 0.21087345480918884, 0.7471573352813721, -0.6948440670967102, -0.23987248539924622, -0.5822315216064453, 0.23213820159435272, 0.4136669635772705, 0.14915896952152252, 0.7627425789833069, -0.6055191159248352, -0.052389174699783325, -0.2354041188955307, -1.3587665557861328, -0.21574734151363373, -0.18979676067829132, -0.3088392913341522, -0.4050224721431732, 0.4632856249809265, -0.9847449660301208, 0.6411671042442322, 0.4276106357574463, -0.6386858820915222, 0.45868781208992004, -0.255563884973526, 0.5765736103057861, -0.36360591650009155, -0.3900515139102936, 0.255218505859375, 0.1061878353357315, -0.8914206624031067, -0.07027804106473923, -0.5591534376144409, 0.2963426411151886, -0.05770017206668854, 0.4293058216571808, -0.3744262456893921, -0.2733765244483948, -0.48250043392181396, 0.32810142636299133, 0.1647382229566574, 0.14318124949932098, -0.07816675305366516, 0.4346622824668884, 0.5132107138633728, -0.9084025025367737, 0.8867762684822083, 0.2074083685874939, -0.657997727394104, 0.6326523423194885, -0.2423376888036728, -0.16220858693122864, -0.4521850049495697, 0.27801957726478577, -0.7432923316955566, -0.40008804202079773, 0.20244121551513672, -0.5434617400169373, 0.007121913135051727, 0.1550932228565216, -0.37126728892326355, -0.33473289012908936, -0.31021130084991455, 0.5333141684532166, 0.2852797508239746, -0.18586257100105286, 0.9883478879928589, 0.7209972143173218, -0.09480444341897964, -0.2694704234600067, -0.6984227895736694, -0.04430660605430603, -0.4882884621620178, -0.6791112422943115, 0.13790881633758545, -0.2815060615539551, -0.8930606245994568, 0.023235227912664413, -0.374945729970932, -0.35609176754951477, 0.19509920477867126, 0.1441822201013565, 0.3783417344093323, -0.17658236622810364, 0.2713651657104492, -0.06991806626319885, 0.09652706980705261, 0.19157221913337708, 0.01989685744047165, 0.19660058617591858, 0.14255376160144806, -0.19710955023765564, -0.08224739134311676, 0.37886613607406616, 0.2230723649263382, 0.20842845737934113, 0.7591618895530701, 0.21644757688045502, -0.13631099462509155, -0.1575823426246643, -0.5271182060241699, -0.05405407026410103, -0.34365665912628174, 0.054985471069812775, -0.35890284180641174, -0.812842845916748, 0.36936137080192566, -0.04596531763672829, 0.1200321763753891, 0.5145310163497925, 0.5544995069503784, -0.48675158619880676, 1.2931721210479736, -0.14118832349777222, 0.15373452007770538, 0.007994365878403187, -0.005295547191053629, 0.32849135994911194, -0.494285523891449, -0.4680868983268738, -0.2352021038532257, -0.5527951717376709, -0.14853619039058685, -0.4269797205924988, 0.38502275943756104, 0.36659589409828186, -0.20950058102607727, -0.08435255289077759, -0.37277376651763916, 1.0421830415725708, 0.5627216696739197, 0.3362232446670532, 0.3876122832298279, -0.2435544729232788, 0.47133561968803406, 0.16771307587623596, -0.6868268251419067, -0.384552925825119, 0.802314817905426, 0.09534578770399094, 0.6034725308418274, 0.4883445203304291, 0.7183858752250671, 0.3716830611228943, 0.22620290517807007, -0.9218360185623169, 0.4533239006996155, -0.10652848333120346, -0.6610079407691956, -0.3199674189090729, -0.528068482875824, -0.7642224431037903, 0.052841510623693466, -0.32945379614830017, -0.8179672956466675, 0.04508204385638237, 0.1662997305393219, -0.658811092376709, 0.2994529902935028, -0.7728568315505981, 0.3167421817779541, -0.4594816267490387, -0.4650121331214905, 0.10495835542678833, -0.2960491478443146, 0.8602954745292664, -0.06294305622577667, 0.6586953401565552, -0.46189188957214355, -0.08236127346754074, 0.6295086145401001, -0.3760843873023987, 0.3296954333782196, 0.23096001148223877, 0.1124577671289444, 0.8894892930984497, 0.47861093282699585, 0.2644089162349701, -0.10258475691080093, -0.10875707864761353, 0.22014360129833221, -0.12849493324756622, -0.4512534737586975, -0.8028138875961304, 0.48571643233299255, -0.5911136269569397, -1.052629828453064, -0.4643854796886444, -0.6476563215255737, -0.4817473292350769, -0.32185766100883484, 0.2375781387090683, 0.20124180614948273, -0.03238818049430847, 0.11631418019533157, 0.4067521095275879, 0.13265949487686157, 0.22682686150074005, 0.14499163627624512, -0.03153896704316139, -0.039496418088674545, 0.6462809443473816, 0.18223130702972412, -0.10594554990530014, 0.23013460636138916, 0.434957355260849, -0.11413916200399399, -0.7359107136726379, -0.02182089164853096, 0.10478087514638901, -0.9775375723838806, -0.35093873739242554, -0.14334160089492798, -0.09469525516033173, -0.3186951279640198, -0.1446930468082428, -0.07343573123216629, -0.2816705107688904, -0.10712143778800964, -0.7584027647972107, 0.2202637493610382, 0.9187358617782593, -0.3675198554992676, 0.07943384349346161, -1.1679797172546387, 0.3863435685634613, 0.23030295968055725, 0.21962280571460724, -0.04923444241285324, -0.4198426306247711, -0.15396811068058014, -0.21489012241363525, -0.1346084475517273, -1.0126018524169922, 0.2726159691810608, -0.1936710774898529, 0.9806477427482605, 0.509804904460907, -0.2602404057979584, 0.7499080896377563, -0.3964611887931824, 0.9735457897186279, 0.2627792954444885, -0.6932264566421509, 0.5794349908828735, -0.44465962052345276, 0.3582178056240082, 0.3842910826206207, 0.34797361493110657, 0.06345885992050171, -0.4678260087966919, -0.6565752029418945, -0.5896279215812683, 0.8204054236412048, 0.29709839820861816, -0.06110759079456329, -0.2773914635181427, 0.42142435908317566, 0.2012428641319275, 0.09557602554559708, -0.29199835658073425, -0.282298743724823, -0.04314973205327988, -0.19080275297164917, -0.07557826489210129, -0.35119542479515076, -0.1548791080713272, -0.3414001762866974, 0.5846655964851379, 0.2469630092382431, 0.008894059807062149, 0.16811881959438324, 0.030321504920721054, -0.08054208010435104, -0.21706658601760864, 0.6460075974464417, 0.9637287259101868, -0.054678238928318024, 0.2586209774017334, 0.2323593944311142, -0.1414605677127838, 0.19682857394218445, -0.16474749147891998, 0.0873914510011673, -0.12545843422412872, 0.8434464335441589, 0.7149900197982788, 0.11152636259794235, -0.8688191771507263, 0.39449572563171387, -0.05063297599554062, -0.6671823263168335, 0.10239864885807037, 0.34620770812034607, 0.14722806215286255, 0.6436583399772644, 0.4853956401348114, 0.18795739114284515, 0.2080819457769394, -1.0486069917678833, 0.06072518602013588, 0.08935095369815826, -0.13298290967941284, -0.04376786947250366, 0.7290180325508118, -0.06313628703355789, -0.0333368182182312, 0.4594873785972595, -0.00789053924381733, -0.5259485244750977, 0.6704174280166626, 0.15970537066459656, 0.268231064081192, -0.35357367992401123, 0.2989632487297058, 0.3890151381492615, 0.1791258603334427, -0.38495156168937683, 0.04623064026236534, 0.05309014022350311, -0.8610233068466187, -0.5913258790969849, -0.350606232881546, -0.34145253896713257, -0.13200882077217102, -0.10720404982566833, -0.12686747312545776, -0.18403175473213196, -0.16018015146255493, 0.0262933187186718, -0.4688606560230255, -0.44430598616600037, 0.30067989230155945, 0.33260053396224976, 0.6430566906929016, -0.6967192888259888, 0.018930546939373016, 0.42346522212028503, -0.6335756778717041, -0.9537165760993958, -0.3172171115875244, 0.2555672824382782, -0.8606976270675659, 0.9474056959152222, -0.22296015918254852, -0.011849994771182537, -0.17132623493671417, -0.84365314245224, -0.5726836323738098, 1.20554518699646, 0.3756561577320099, -0.2662178874015808, -0.05326704680919647, 0.06266007572412491, 0.4640332758426666, -0.41000667214393616, 0.2589932084083557, 0.942171573638916, 0.4224714934825897, 0.7334303855895996, -0.45847785472869873, -0.22982174158096313, 0.05294056609272957, -0.7210723161697388, 0.1453431397676468, -0.7383503317832947, 0.7453967928886414, -0.4300612211227417, -0.042738690972328186, -0.23151171207427979, 0.6264652609825134, 0.5496495962142944, 0.6892829537391663, 0.2021966576576233, 0.5429925322532654, 1.0824644565582275, -0.22571805119514465, 1.2751209735870361, -0.05374661833047867, 0.04333335533738136, 1.046105980873108, -0.49385619163513184, 0.3240898549556732, 0.2958979606628418, -0.20057551562786102, 0.19186663627624512, 0.3927995562553406, -0.13803377747535706, 0.21448834240436554, 0.14214453101158142, -0.28996774554252625, -0.6080933213233948, -0.05329379811882973, 0.07926756143569946, 0.9823895692825317, 0.2905091643333435, -0.36923748254776, -0.2865481376647949, -0.3932487666606903, 0.13366039097309113, 0.16676631569862366, -0.6491188406944275, 0.9014539122581482, 0.0805804431438446, -0.8960136771202087, -0.34496375918388367, -0.38313329219818115, -0.13554807007312775, -0.34345346689224243, -0.22809866070747375, -0.5029129981994629, 0.07756354659795761, -0.2606707215309143, -0.9797606468200684, 0.34063246846199036, 0.29928696155548096, -0.05936102941632271, -0.08435090631246567, 0.8458158373832703, -0.18922880291938782, -0.4962351322174072, 0.041833799332380295, 0.8979811072349548, 0.42473429441452026, -0.19570359587669373, -0.533392071723938, 0.19414518773555756, -0.08453096449375153, -0.2436106950044632, 0.30889812111854553, 0.8794965147972107, 0.10462170094251633, 0.6903921365737915, 0.5508498549461365, 0.35610291361808777, 0.16096436977386475, 0.07539371401071548, 0.5027872920036316, -0.6515464186668396, -0.2960665225982666, -1.319588541984558, 0.29267555475234985, -0.4627158045768738, -0.07271216064691544, 0.7996602058410645, 0.9263922572135925, 0.25924625992774963, 0.05525389313697815, 0.9444880485534668, 0.2476196587085724, 0.4299294352531433, -0.6670041084289551, 0.31347182393074036, -0.33669155836105347, 0.40008407831192017, 0.13027070462703705, -0.882423996925354, -0.4279031455516815, 0.4331883192062378, -0.33854153752326965, -0.13753525912761688, 0.6086887121200562, 0.02147708274424076, 0.17747937142848969, 0.24407151341438293, 0.2849976718425751, 0.28096044063568115, 0.3273603320121765, 0.5519497990608215, 1.040578007698059, -0.15676544606685638, 0.8781859874725342, 0.07536862790584564, -0.41625234484672546, -0.11622384935617447, -0.7076444625854492, -0.9346815943717957, -0.16962102055549622, -0.37290695309638977, -0.31912145018577576, -0.003180727595463395, 0.6172705888748169, 0.14120902121067047, -0.4324263036251068, -0.22239120304584503, 0.06548184901475906, 0.3392072021961212, -0.265575647354126, -0.28310322761535645, 0.26153138279914856, -0.3174973726272583, -0.5106077790260315, 0.45351406931877136, 0.6153929829597473, -0.03030351921916008, 0.3091757297515869, -0.12838132679462433, -0.22852961719036102, 0.4555675685405731, 0.8066710829734802, 0.11137572675943375, -0.47794848680496216, -0.31244421005249023, -0.06080259755253792, 0.0153767429292202, 0.20830005407333374, 0.8540694117546082, -0.6837892532348633, 0.44647425413131714, 0.6359853148460388, 0.3614475429058075, 0.34203794598579407, 0.5563454031944275, 0.6417135000228882, -0.312811017036438, -0.23030239343643188, 0.1393420398235321, 0.39089667797088623, 0.01627371646463871, -0.24138502776622772, 0.8445050716400146, 0.4732969105243683, -0.4846029579639435, -0.49375519156455994, -0.10785125195980072, -0.8250579237937927, -0.6279780268669128, 1.156295895576477, 0.14743328094482422, -0.3188984990119934, -0.13306570053100586, -0.20903277397155762, 0.1417362540960312, -0.31012827157974243, 0.9064987897872925, 1.1820329427719116, -0.9035314917564392, -0.1530987173318863, -0.5828512907028198, 0.5730397701263428, -0.4529261589050293, -0.8625726699829102, -0.17289721965789795, 0.6567553877830505, -0.25101613998413086, 0.14452973008155823, 0.8042315244674683, 0.3018503785133362, 0.2186557650566101, 0.46230077743530273, -0.6027864217758179, -0.18797659873962402, -0.13993069529533386, 0.49986565113067627, 0.476707398891449, -0.2699492871761322, 0.17885366082191467 ]
http://arxiv.org/abs/2406.12074v1
http://arxiv.org/pdf/2406.12074v1
COMMUNITY-CROSS-INSTRUCT: Unsupervised Instruction Generation for Aligning Large Language Models to Online Communities
2024-06-17T20:20:47
2024-06-17T20:20:47
Zihao He, Rebecca Dorn, Siyi Guo, Minh Duc Chu, Kristina Lerman
cs.CL
cs.CL
Social scientists use surveys to probe the opinions and beliefs of populations, but these methods are slow, costly, and prone to biases. Recent advances in large language models (LLMs) enable creating computational representations or "digital twins" of populations that generate human-like responses mimicking the population's language, styles, and attitudes. We introduce Community-Cross-Instruct, an unsupervised framework for aligning LLMs to online communities to elicit their beliefs. Given a corpus of a community's online discussions, Community-Cross-Instruct automatically generates instruction-output pairs by an advanced LLM to (1) finetune an foundational LLM to faithfully represent that community, and (2) evaluate the alignment of the finetuned model to the community. We demonstrate the method's utility in accurately representing political and fitness communities on Reddit. Unlike prior methods requiring human-authored instructions, Community-Cross-Instruct generates instructions in a fully unsupervised manner, enhancing scalability and generalization across domains. This work enables cost-effective and automated surveying of diverse online communities.
[ -0.4876999258995056, -0.5639486312866211, 0.5875974893569946, -0.10077560693025589, -0.13132227957248688, 0.5974445343017578, -0.5340626239776611, -0.19484636187553406, 0.6203243136405945, 0.4480758607387543, -0.5042006969451904, -0.5802483558654785, -0.5834766626358032, -0.31336066126823425, -0.46495649218559265, 0.8742005825042725, 0.1749841570854187, 0.3065260350704193, -0.6172258257865906, -0.02639799565076828, -0.014014297164976597, -0.5095773935317993, -0.2675594091415405, -0.3951427936553955, 0.2920871675014496, 0.6557261347770691, 0.5719102621078491, 0.3850380778312683, 0.10267169028520584, 0.2584042251110077, 0.21981731057167053, 0.2906692922115326, -0.7010667324066162, -0.12820662558078766, -0.3241988718509674, -0.39063534140586853, -0.07321486622095108, 0.11202652752399445, 0.5120441913604736, 1.0673478841781616, -0.13205361366271973, 0.4611814618110657, 0.35841092467308044, 0.649337649345398, -0.7553567886352539, -0.07774366438388824, -0.5757387280464172, -0.31620344519615173, -0.012715558521449566, -0.18798260390758514, -0.3613101840019226, -0.7890904545783997, 0.06098391115665436, -0.3583735525608063, 0.47525960206985474, -0.13235270977020264, 0.2484472393989563, 0.007394855376332998, -0.5187061429023743, -0.35333022475242615, -0.747122585773468, 0.8895542621612549, -0.40000131726264954, 0.4641982913017273, 0.2678712010383606, 0.29226720333099365, -0.2231154590845108, -0.4376395642757416, -0.506885826587677, 0.27166837453842163, 0.03214852139353752, 0.11407218128442764, -0.08829016238451004, -0.11739630252122879, -0.11578211933374405, 0.1766858696937561, -0.3824654221534729, 0.23996466398239136, -0.3709936738014221, 0.0885627493262291, 0.7348958253860474, 0.17296387255191803, 0.1646471917629242, -0.04825243353843689, -0.13473960757255554, -0.11592016369104385, -0.88570237159729, -0.15155452489852905, 0.4993389844894409, 0.30442312359809875, -0.07124796509742737, 0.6321559548377991, -0.07605113089084625, 0.4204510748386383, 0.6877982020378113, 0.13637752830982208, 0.16423138976097107, -0.2887224853038788, 0.005720469634979963, 0.1244422122836113, 0.6664959192276001, 0.6267408132553101, 0.29142990708351135, -0.06670165807008743, 0.014492728747427464, 0.280624657869339, 0.12280239164829254, -0.591278612613678, -0.23369424045085907, 0.12709768116474152, -0.524532675743103, -0.35031670331954956, 0.35071250796318054, -1.1107978820800781, -0.5466712117195129, -0.371508926153183, 0.1740378439426422, 0.18760287761688232, -0.37350136041641235, 0.12512825429439545, 0.03028368204832077, -0.014992848969995975, 0.4157353639602661, -0.9638850688934326, 0.39934635162353516, 0.7661079168319702, 0.5822349190711975, -0.23152142763137817, -0.1562737673521042, -0.41807013750076294, 0.3358910381793976, -0.1221541240811348, 0.7883997559547424, -0.9292307496070862, -0.36664268374443054, 0.32300451397895813, -0.006665773689746857, 0.15906144678592682, -0.4069735109806061, -0.37935981154441833, -0.4834248125553131, 0.46213865280151367, -0.2698739469051361, -0.7596847414970398, 0.17210091650485992, 0.2957405745983124, -0.5328875184059143, 1.0240122079849243, 0.10774505883455276, -0.6311531662940979, 0.154687762260437, -0.6689683794975281, -0.27020472288131714, -0.13316422700881958, -0.2511788308620453, -0.21832787990570068, 0.061241909861564636, 0.42044395208358765, 0.42175790667533875, -0.2795904576778412, 0.05136171728372574, -0.46959787607192993, -0.1402505338191986, 0.3999260365962982, -0.21356670558452606, 0.8892339468002319, -0.05330519750714302, -0.5695520043373108, 0.12183938920497894, -0.32937121391296387, -0.048530690371990204, 0.017476841807365417, -0.28557372093200684, -0.5393837094306946, 0.3395812213420868, -0.13156159222126007, -0.18214890360832214, 0.2902345657348633, -0.7537700533866882, 0.3293144404888153, -0.4077538847923279, 0.529625415802002, 0.7571490406990051, 0.0603954903781414, 0.660603404045105, -0.25177454948425293, 0.4945896565914154, -0.34988781809806824, 0.36347225308418274, 0.2513992488384247, -0.5229886770248413, -0.7177478075027466, 0.07367594540119171, 0.22207824885845184, 0.27991849184036255, -0.6218833327293396, 0.38827353715896606, -0.2619965672492981, -0.5939659476280212, -0.5710505843162537, 0.2120196521282196, 0.284761518239975, 0.061068832874298096, 0.4157589375972748, -0.15623173117637634, -0.4737195372581482, -0.5399978160858154, -0.15985529124736786, -0.0716109648346901, -0.15364794433116913, -0.024794965982437134, 0.364124059677124, -0.4606662094593048, 0.7533299326896667, -0.6163760423660278, 0.13805781304836273, -0.2591204047203064, 0.3933824896812439, -0.30745601654052734, 0.20703482627868652, 0.38033077120780945, -0.46044015884399414, -0.688962459564209, 0.011846935376524925, -0.28387314081192017, -0.24663624167442322, 0.05532919242978096, -0.26465117931365967, -0.011415953747928143, 0.38953691720962524, -0.20717841386795044, 0.3329291045665741, 0.7594446539878845, -0.008066145703196526, 0.11025594919919968, -0.06433158367872238, 0.4418032765388489, -1.3037068843841553, -0.31336551904678345, 0.08430789411067963, -0.29372602701187134, -0.3525876998901367, 0.18978121876716614, -0.2046755850315094, 0.04855886846780777, -0.2464936077594757, 0.30528077483177185, -0.6846733689308167, -0.13771356642246246, -0.3667958974838257, 0.29425904154777527, -0.14505703747272491, 0.24587160348892212, 0.10325364768505096, 0.449323832988739, 0.21866631507873535, -0.3596542775630951, 0.401754230260849, 0.23954620957374573, -0.3606387972831726, 0.49038177728652954, -0.3097066879272461, 0.5135798454284668, -0.22886936366558075, 0.40116071701049805, -0.8485568165779114, -0.41752922534942627, 0.13479888439178467, -0.45055535435676575, -0.06476885825395584, -0.26541468501091003, -0.42741236090660095, -0.2844984233379364, -0.3951955735683441, 0.5395308136940002, 0.5588036775588989, -0.8585072755813599, 0.5375072360038757, 0.7879299521446228, 0.06773821264505386, -0.2616444230079651, -0.6468125581741333, -0.18137146532535553, -0.0911804735660553, -0.31915920972824097, 0.022328676655888557, -0.10880842804908752, -0.486642062664032, 0.11732882261276245, 0.28211987018585205, -0.23382620513439178, -0.2367878258228302, 0.2472275048494339, 0.17821595072746277, -0.0796680822968483, 0.17509403824806213, 0.30929115414619446, 0.12050694227218628, 0.1771288812160492, -0.45020586252212524, 0.701728105545044, 0.044631119817495346, -0.9080671072006226, -0.1979321837425232, 0.8319042921066284, 0.4514995217323303, -0.3087668716907501, 0.5203038454055786, 0.1272515207529068, -0.4514506459236145, -0.4448913037776947, -0.6206874847412109, -0.3749091625213623, -0.49587884545326233, 0.2114972472190857, 0.5213270783424377, -1.1642580032348633, 0.1557619720697403, -0.3084452152252197, 0.300060510635376, 0.2497129589319229, 0.7169116139411926, -0.372928649187088, 0.9463911056518555, 0.47563600540161133, 0.03869662061333656, 0.3635358512401581, 0.01889917626976967, 0.047148920595645905, -0.3286835849285126, -0.3017193675041199, -0.5348536372184753, -0.5588427186012268, -0.3777309060096741, -0.8497788310050964, 0.3716889023780823, -0.2078360915184021, -0.3690231740474701, 0.20993244647979736, -0.7554237842559814, 0.7450927495956421, 0.49342992901802063, 0.2985498607158661, 0.1505196988582611, 0.2918751835823059, 0.2161826491355896, -0.2017873078584671, -0.6729966998100281, -0.46673479676246643, 1.353121042251587, -0.02561499923467636, 0.8997256755828857, 0.22236885130405426, 0.9926568865776062, 0.49705785512924194, 0.6973546743392944, -0.6019930243492126, 0.32276660203933716, -0.3324053883552551, -0.5136908292770386, -0.12732098996639252, -0.34490782022476196, -0.9910416603088379, -0.1261741667985916, -0.5608656406402588, -0.438419908285141, 0.26349765062332153, 0.4245545268058777, -0.41181889176368713, 0.5859917402267456, -0.47950834035873413, 0.6201112270355225, -0.4791605472564697, -0.10740771144628525, -0.6974672079086304, -0.42103469371795654, 0.24661237001419067, -0.2094998061656952, 0.328739196062088, 0.24944685399532318, 0.09944561123847961, 0.5209432244300842, -0.33490264415740967, 1.3697484731674194, -0.11788417398929596, 0.08186906576156616, 0.4264308214187622, -0.028390217572450638, 0.29743674397468567, -0.1762198805809021, 0.06271287798881531, -0.04159259423613548, 0.0003854433598462492, -0.3023380935192108, -0.6545177102088928, 0.8410107493400574, -0.960745632648468, -0.5728726387023926, 0.026888148859143257, -0.26263830065727234, -0.22471588850021362, -0.10110912472009659, 0.07919607311487198, 0.3487869203090668, -0.45854735374450684, 0.20911909639835358, 0.9712538719177246, -0.24667948484420776, -0.03486332297325134, 0.28312262892723083, -0.35454821586608887, -0.5576290488243103, 0.8286129832267761, -0.03005124069750309, 0.7107858657836914, 0.5177831649780273, 0.3395017087459564, -0.2952660322189331, -0.12751035392284393, -0.27658510208129883, 0.1296071708202362, -0.8178313970565796, -0.2062256634235382, -0.3831499218940735, -0.0009670575382187963, -0.4469486474990845, -0.4709884822368622, -0.46422624588012695, -0.37324583530426025, -0.21497438848018646, -0.03520160913467407, 0.2909756004810333, 1.3176567554473877, -0.2329060286283493, 0.41224706172943115, -0.8086361289024353, 0.1003337949514389, 0.6193044781684875, 0.1158711314201355, 0.0890175849199295, -0.20349308848381042, -0.2308058887720108, 0.5379108190536499, -0.1086072102189064, -1.1524969339370728, -0.03415430709719658, 0.09050819277763367, 0.5850654244422913, 0.45792996883392334, 0.3422122299671173, 0.6985454559326172, -0.3139187693595886, 0.5415589213371277, 0.4114476144313812, -0.9006760716438293, 0.5386937856674194, -0.07944761961698532, 0.08186998963356018, 0.7141332030296326, 0.6149125695228577, -0.6689141392707825, -0.5326356291770935, -0.43051955103874207, -0.548486053943634, 0.27031394839286804, -0.19251038134098053, 0.3293207287788391, -0.25852614641189575, 0.25356024503707886, 0.2981480360031128, 0.09095979481935501, -0.5249108672142029, -0.08256486803293228, -0.5004651546478271, -0.32539185881614685, 0.22614827752113342, -0.09891514480113983, -0.4262215793132782, -0.40428802371025085, 0.4372932016849518, -0.2976382374763489, 0.24814803898334503, -0.09462729841470718, -0.012670593336224556, -0.5104621648788452, 0.12022125720977783, 0.35304081439971924, 0.6189354062080383, 0.20550774037837982, 0.26049596071243286, 0.11364134401082993, -0.1121751070022583, 0.03664185479283333, -0.2809394299983978, -0.23381192982196808, -0.09377162903547287, 0.42031919956207275, 0.3515520393848419, 0.36732354760169983, -0.3788461983203888, 0.791508138179779, -0.007602074183523655, -0.2139533907175064, -0.29327592253685, -0.0013731539947912097, 0.5248857736587524, 0.2876093089580536, 0.14653852581977844, -0.09465738385915756, -0.3003421723842621, -0.6733856797218323, 0.06874251365661621, 0.6417109966278076, -0.2724689245223999, -0.32651323080062866, 0.6663932204246521, 0.5972577333450317, -0.3345378339290619, 0.5875667929649353, -0.11824453622102737, -0.6311065554618835, 0.47429385781288147, 0.23515434563159943, 0.8783907294273376, -0.1983698457479477, 0.33026203513145447, 0.5254506468772888, 0.3292507827281952, -0.14454984664916992, 0.15735213458538055, 0.007349969353526831, -0.7464898824691772, -0.4625890552997589, -0.5299123525619507, -0.5787740349769592, -0.08791553974151611, -0.7420641779899597, 0.07450199872255325, -0.6858343482017517, -0.00728622218593955, -0.007586047984659672, -0.17367614805698395, -0.49799206852912903, -0.019703717902302742, 0.20243889093399048, 0.6564728021621704, -1.1826162338256836, 0.7433674931526184, 0.747379720211029, -0.1709212213754654, -0.7569623589515686, 0.40009525418281555, 0.2956395745277405, -0.7620418667793274, 0.3753085434436798, -0.025159427896142006, -0.4003930389881134, -0.10648608952760696, -1.078919768333435, -0.5724712610244751, 0.8609691262245178, 0.42443349957466125, -0.6870152950286865, 0.16306787729263306, 0.5464199781417847, 0.5394251346588135, -0.6990193128585815, 0.033907461911439896, -0.007332435343414545, 0.4290638566017151, -0.09243056178092957, -0.6991581916809082, -0.04441538080573082, 0.03767722472548485, -0.3821899890899658, 0.26464155316352844, -0.6551450490951538, 0.5378872752189636, -0.1621212363243103, -0.2988818287849426, -0.15108251571655273, 0.7760300636291504, 0.03818540275096893, 0.09668848663568497, 0.739651620388031, 0.2696191966533661, 0.7767677903175354, 0.1455051600933075, 0.6365393996238708, -0.4044798016548157, 0.40466514229774475, 1.0417312383651733, -0.21832764148712158, 0.9188833236694336, 0.4256972074508667, -0.2119189351797104, 0.7087607979774475, 0.6563639044761658, 0.029253169894218445, 0.29752516746520996, 0.12951283156871796, -0.40717944502830505, -0.6862090229988098, -0.008497248403728008, -0.3038369417190552, 0.3762599527835846, 0.3384767472743988, -0.3047264516353607, -0.2984018325805664, -0.24578917026519775, -0.22179295122623444, 0.7007639408111572, -0.3870210349559784, 0.6523114442825317, -0.07975658029317856, -0.7540773749351501, 0.25800925493240356, -0.16501764953136444, 0.694216251373291, -0.46459153294563293, -0.2798718214035034, -0.22570283710956573, 0.18616913259029388, -0.3837742805480957, -1.0049529075622559, 0.35021939873695374, 0.1329498589038849, -0.19918233156204224, -0.3877120018005371, 0.4799303710460663, -0.7941424250602722, -0.6618475317955017, 0.44240933656692505, 0.45635756850242615, 0.2283470779657364, 0.19060909748077393, -0.5140716433525085, -0.07631422579288483, 0.23435792326927185, 0.1050422191619873, 0.42945772409439087, 0.27101370692253113, -0.3174690902233124, 0.35979312658309937, 0.6525652408599854, -0.06668645143508911, 0.14674757421016693, 0.28003156185150146, 1.0324146747589111, -0.22247514128684998, -0.1358756422996521, -0.6226420998573303, 0.2671525478363037, -0.2185412049293518, -0.14175482094287872, 0.6420000791549683, 0.6414185166358948, 1.1813771724700928, 0.07815665006637573, 1.0177122354507446, -0.06983201950788498, 0.5832201838493347, -0.2398029863834381, 0.8038979768753052, -0.5934460163116455, 0.06637701392173767, -0.05650389567017555, -0.9587162733078003, -0.13099981844425201, 0.32277315855026245, -0.2448844611644745, -0.1618768870830536, 0.45752429962158203, 0.9846789836883545, -0.37560901045799255, 0.026745200157165527, -0.10522151738405228, -0.11741850525140762, 0.04429510608315468, 0.5140252709388733, 0.8756154179573059, 0.23782211542129517, 0.5607916712760925, -0.2831099033355713, -0.43845659494400024, 0.13937479257583618, -0.7211981415748596, -1.2353999614715576, -0.34633564949035645, -0.4777577519416809, -0.4284835457801819, 0.034850042313337326, 1.4064526557922363, 0.48277077078819275, -0.8863474726676941, -0.49648696184158325, 0.18928945064544678, -0.08910869807004929, -0.08423585444688797, -0.16748958826065063, 0.2505822777748108, 0.1637493371963501, -0.8962912559509277, 0.3275763690471649, 0.10083744674921036, -0.20791849493980408, -0.8629513382911682, -0.2957049608230591, -0.38470497727394104, 0.09247628599405289, 0.3633060157299042, 0.38569116592407227, -0.6964753866195679, -0.457849383354187, 0.03497762978076935, -0.23853811621665955, 0.0028642364777624607, 0.9021879434585571, -0.4008697271347046, 0.47282904386520386, 0.5033312439918518, 0.9360868334770203, 0.4226641058921814, 0.16103164851665497, 0.5672107934951782, -0.6592639684677124, -0.30059993267059326, 0.08916491270065308, 0.09667453169822693, 0.5098307728767395, -0.34626638889312744, 0.2163393348455429, 0.3688635230064392, -0.54184889793396, -0.3578426241874695, 0.3488622009754181, -0.7089530825614929, -0.4019414484500885, 1.1427441835403442, 0.08451883494853973, -0.20060858130455017, -0.1737338900566101, -0.01655014418065548, 0.32987114787101746, -0.3141021728515625, 1.0483558177947998, 0.3850271999835968, -0.0509217269718647, -0.16304084658622742, -0.22092606127262115, 0.06742477416992188, 0.2783223092556, -0.9260080456733704, 0.2363547384738922, 0.5607815384864807, 0.3504036068916321, 0.06753706932067871, 0.4518136978149414, 0.20855265855789185, 0.2439286857843399, -0.17085394263267517, 0.29028043150901794, 0.1193523034453392, 0.04658731073141098, 0.04936502128839493, 0.16703014075756073, -0.18099108338356018, -0.028329776600003242 ]
http://arxiv.org/abs/2406.12069v1
http://arxiv.org/pdf/2406.12069v1
Satyrn: A Platform for Analytics Augmented Generation
2024-06-17T20:14:16
2024-06-17T20:14:16
Marko Sterbentz, Cameron Barrie, Shubham Shahi, Abhratanu Dutta, Donna Hooshmand, Harper Pack, Kristian J. Hammond
cs.CL
cs.CL
Large language models (LLMs) are capable of producing documents, and retrieval augmented generation (RAG) has shown itself to be a powerful method for improving accuracy without sacrificing fluency. However, not all information can be retrieved from text. We propose an approach that uses the analysis of structured data to generate fact sets that are used to guide generation in much the same way that retrieved documents are used in RAG. This analytics augmented generation (AAG) approach supports the ability to utilize standard analytic techniques to generate facts that are then converted to text and passed to an LLM. We present a neurosymbolic platform, Satyrn that leverages AAG to produce accurate, fluent, and coherent reports grounded in large scale databases. In our experiments, we find that Satyrn generates reports in which over 86% accurate claims while maintaining high levels of fluency and coherence, even when using smaller language models such as Mistral-7B, as compared to GPT-4 Code Interpreter in which just 57% of claims are accurate.
[ -0.09471248835325241, -0.8625718355178833, 0.5703909397125244, 0.21302016079425812, -0.10605432838201523, 0.2698630392551422, -0.5145446062088013, -0.3559928834438324, 0.8047480583190918, 0.6743364930152893, -0.38970425724983215, -0.5988802909851074, -0.43235546350479126, 0.05079442635178566, -0.4429354965686798, 1.2795989513397217, 0.18459969758987427, 0.08921878039836884, -0.3127661943435669, -0.005211271811276674, -0.2996082603931427, -0.6478071808815002, -0.558632493019104, -0.45718735456466675, 0.47425606846809387, 0.4029795229434967, 0.7958447933197021, 0.6773508191108704, 0.5377322435379028, 0.2966896891593933, 0.20403513312339783, 0.49598994851112366, -0.40021467208862305, 0.5938147306442261, -0.10785356909036636, -0.4136838912963867, -0.840654730796814, -0.06944970041513443, 0.5040532350540161, 0.6421351432800293, -0.46620145440101624, 0.31268084049224854, -0.030977128073573112, 0.5090637803077698, -0.45945820212364197, 0.3045954406261444, -0.5404490828514099, -0.2894098460674286, -0.25376468896865845, -0.30053243041038513, -0.4087613523006439, -0.4912659227848053, -0.11905466020107269, -0.8335772156715393, 0.46190351247787476, -0.03827785700559616, 0.7830567359924316, 0.3434622287750244, -0.41848209500312805, -0.6572332382202148, -0.5693377256393433, 0.5736802816390991, -0.8023728132247925, 0.21508778631687164, 0.425595760345459, 0.1701749861240387, -0.5467262268066406, -0.9572578072547913, -0.5890766978263855, -0.5014044642448425, -0.10371512919664383, 0.22942079603672028, 0.16615302860736847, 0.005636929534375668, 0.2757926285266876, 0.18337787687778473, -0.5536832809448242, -0.13067074120044708, -0.14203909039497375, 0.04185246676206589, 1.0095164775848389, 0.2914118766784668, 0.23406825959682465, -0.6490504741668701, -0.11199479550123215, -0.086922787129879, -0.5987012982368469, -0.5724772810935974, 0.21388205885887146, 0.5143741965293884, 0.08956145495176315, 0.8167256712913513, -0.13644152879714966, 0.6536027193069458, 0.3339550197124481, -0.3372798562049866, 0.22461679577827454, -0.15268474817276, -0.06821215152740479, 0.49979183077812195, 0.6444096565246582, 0.1857612133026123, -0.05593172833323479, -0.25420013070106506, -0.22553011775016785, 0.26525089144706726, 0.47398871183395386, -0.8111668825149536, -0.5998175144195557, 0.23022864758968353, -0.23686297237873077, -0.30787792801856995, -0.17425744235515594, -0.801163375377655, -0.8954014778137207, -0.5943329930305481, 0.35989242792129517, -0.5306167006492615, -0.38171330094337463, -0.0774410143494606, -0.009655250236392021, 0.03109038434922695, 0.31392335891723633, -0.7373321056365967, 0.4466173052787781, 0.6828722357749939, 0.8103222250938416, -0.4634697437286377, 0.04911673814058304, -0.661817729473114, 0.2991168797016144, -0.48405325412750244, 0.9289310574531555, -0.3264126777648926, -0.013050896115601063, -0.17492243647575378, -0.4647664427757263, -0.18420857191085815, -0.40982916951179504, 0.3727061152458191, -0.5407305359840393, 0.10291051119565964, 0.06190958991646767, -0.6074668169021606, -0.0982450470328331, 0.4864756762981415, -0.688873291015625, 1.1953895092010498, -0.046411290764808655, -0.6996755003929138, 0.6174456477165222, -0.6410483717918396, -0.5239367485046387, 0.4854057729244232, -0.5184299349784851, -0.2002020627260208, 0.32060739398002625, 0.2883468270301819, 0.44548243284225464, -0.3929414451122284, 0.6677581071853638, 0.04860303923487663, -0.08991087973117828, 0.3842853009700775, -0.27363327145576477, 0.49310246109962463, 0.2134293168783188, -0.44500598311424255, -0.046827282756567, -1.1927822828292847, 0.21740473806858063, -0.030258361250162125, -0.657153844833374, -0.2570945918560028, 0.12783631682395935, 0.09412706643342972, -0.09982391446828842, 0.3755013644695282, -0.6739130020141602, 0.008422496728599072, -0.5733258724212646, -0.04696742817759514, 0.47223353385925293, 0.0256761834025383, 0.19826146960258484, -0.07219157367944717, 0.6802201271057129, -0.26543769240379333, -0.4761717915534973, -0.12582138180732727, -0.07375019788742065, -0.7827572822570801, -0.4625212252140045, 0.5867394804954529, 0.4602793753147125, -0.9547882080078125, 0.36899977922439575, -0.6317285299301147, -0.2733994424343109, -0.23325103521347046, 0.00613095797598362, 0.12360820919275284, 0.5042957067489624, 0.061544694006443024, 0.08427966386079788, -0.6986173987388611, -0.7484692335128784, -0.5298395156860352, -0.08683083951473236, 0.0137809282168746, 0.343229204416275, 0.33290523290634155, 0.019770242273807526, 0.7512339353561401, -0.5026348233222961, -0.05372817814350128, -0.41378653049468994, 0.22950507700443268, 0.5579361915588379, 0.436682790517807, 0.31899794936180115, -0.7704171538352966, -0.553199291229248, 0.3424215018749237, -0.9469017386436462, -0.08729226887226105, -0.24810318648815155, 0.12779872119426727, 0.38290995359420776, 0.29565781354904175, -0.8115575909614563, 0.5584257245063782, 0.45059069991111755, -0.3721529543399811, 0.3904268741607666, -0.24397635459899902, 0.21181726455688477, -1.402132511138916, 0.20935948193073273, -0.03170979768037796, -0.495458722114563, -0.5559143424034119, 0.028741760179400444, -0.22379548847675323, -0.4029114842414856, 0.2134680151939392, 0.3295588493347168, -0.43527600169181824, -0.010800245217978954, -0.5364364981651306, 0.28970152139663696, -0.0475848987698555, 0.16210278868675232, -0.10858713090419769, 0.8963908553123474, 0.41261276602745056, -0.43978649377822876, 0.584189236164093, 0.4753732979297638, -0.3268163204193115, 0.6295897364616394, -0.5358001589775085, 0.0806480199098587, -0.16681049764156342, 0.1216200441122055, -0.8527370691299438, -0.8914798498153687, 0.017502449452877045, -0.7780634164810181, 0.4632827937602997, -0.07035612314939499, -0.703555703163147, -0.05050656571984291, 0.0780193954706192, -0.1017591580748558, 0.3656468987464905, -0.8193289637565613, 1.2070634365081787, 0.4897654056549072, -0.4367106556892395, -0.4268024265766144, -0.7108430862426758, 0.5399302840232849, -0.2242054045200348, -0.9183205962181091, 0.08332772552967072, 0.3222019672393799, -0.2786710560321808, -0.08946792036294937, -0.3773708939552307, 0.04812512919306755, -0.17571793496608734, 0.350302517414093, 0.3110986649990082, -0.3444056808948517, 0.23129841685295105, -0.04382411763072014, -0.10902047157287598, 0.1821812093257904, -0.2981712520122528, 0.4932858645915985, 0.04733885079622269, 0.07799266278743744, -0.09694353491067886, 0.28475528955459595, 0.3558073043823242, -0.14783446490764618, 0.8689447045326233, 0.20388102531433105, -0.34131625294685364, -0.6468089818954468, -0.562311589717865, -0.12239278852939606, -0.5082249045372009, 0.15941448509693146, -0.3381935954093933, -0.6125089526176453, 0.4494803547859192, -0.3314223289489746, 0.046877577900886536, 0.43754544854164124, 0.5060732364654541, -0.12482915073633194, 1.329573154449463, 0.6189627647399902, 0.5597777962684631, 0.2684655785560608, -0.247433602809906, 0.4011216461658478, -0.46525490283966064, -0.37632104754447937, -0.4571755826473236, -0.17161479592323303, -0.5211977958679199, -0.13299910724163055, 0.6793292164802551, 0.012956501916050911, -0.07844926416873932, 0.2455979734659195, -0.3974915146827698, 0.5569112300872803, 0.35481324791908264, 0.1953069269657135, 0.26683101058006287, 0.446639746427536, 0.04570236802101135, -0.07622447609901428, -0.9628185629844666, -0.5330960154533386, 1.3020775318145752, -0.07845231890678406, 0.9419217109680176, -0.001138283871114254, 0.8024028539657593, 0.5457360744476318, 0.5482861995697021, -0.7538912892341614, 0.614936113357544, -0.24213621020317078, -0.8213467597961426, 0.09073421359062195, -0.7223529815673828, -0.8104972243309021, 0.23338253796100616, -0.4980389177799225, -0.6622704863548279, 0.24666310846805573, 0.24137993156909943, -0.30303242802619934, -0.06252849847078323, -0.6514365077018738, 0.484767884016037, -0.31225594878196716, -0.4757065773010254, -0.318536639213562, -0.3888894319534302, 0.3571396470069885, -0.09124460816383362, -0.1691831350326538, 0.11598125100135803, 0.08640218526124954, 0.8495227098464966, -0.5005735158920288, 0.7037670016288757, -0.13206249475479126, 0.12176893651485443, 0.41299009323120117, 0.29664167761802673, 0.57770836353302, 0.12689900398254395, -0.32262951135635376, -0.1467370241880417, -0.052405793219804764, -0.32361331582069397, -0.6509789824485779, 1.0020911693572998, -0.5643677115440369, -0.46754753589630127, -0.7991585731506348, -0.9892488121986389, -0.3069249093532562, 0.29873228073120117, 0.05679330974817276, 0.6621860861778259, -0.13316501677036285, 0.4069484770298004, 0.6554345488548279, -0.013974977657198906, 0.14006789028644562, 0.3886995017528534, -0.27824798226356506, -0.9186331629753113, 1.0336353778839111, 0.27594637870788574, -0.1133246049284935, -0.26027563214302063, 0.02339559979736805, -0.32094642519950867, -0.617871105670929, -0.4958825409412384, 0.4009578824043274, -0.6891084313392639, -0.5516529083251953, -0.5804538130760193, -0.10250933468341827, -0.4215688407421112, -0.05682173743844032, -0.2674608528614044, -0.7747407555580139, 0.0040116566233336926, -0.26319894194602966, 0.6056872606277466, 0.8580431938171387, -0.1488099992275238, 0.7695242166519165, -0.4999646842479706, 0.5195883512496948, -0.21065373718738556, 0.33594727516174316, -0.2996012568473816, -0.17340022325515747, -0.4918537437915802, 0.17181986570358276, -0.19688111543655396, -0.796273946762085, 0.564346432685852, 0.21813714504241943, 0.40076619386672974, -0.04786914959549904, -0.10912245512008667, 0.6455857753753662, -0.19964304566383362, 0.8215473294258118, 0.30766579508781433, -0.8128124475479126, 0.47585999965667725, -0.6056377291679382, -0.058168068528175354, 0.6135653257369995, 0.20589995384216309, -0.16663704812526703, -0.1686023473739624, -0.8303241729736328, -0.8528410196304321, 0.8685962557792664, 0.26286712288856506, -0.05477394536137581, -0.1607580929994583, 0.6762006282806396, 0.0350993387401104, 0.42200231552124023, -0.4905308187007904, 0.045538000762462616, -0.21276910603046417, -0.5555548667907715, -0.10902545601129532, 0.11512317508459091, -0.3905475437641144, -0.04303911328315735, 0.7390771508216858, -0.38906168937683105, -0.188360333442688, 0.28898850083351135, -0.13562609255313873, -0.007779841776937246, -0.06441992521286011, 0.05116870254278183, 1.0265759229660034, -0.03529364988207817, 0.2065606266260147, -0.005342953372746706, -0.7683209776878357, -0.10145252197980881, 0.3460169732570648, -0.37410178780555725, 0.09636738896369934, 0.22652262449264526, 0.6662893891334534, -0.3135489523410797, -0.7301785349845886, 0.3059469163417816, 0.18849019706249237, -0.22821171581745148, -0.43915611505508423, 0.23557715117931366, 0.045101165771484375, 0.25582221150398254, 0.38458505272865295, -0.008643833920359612, 0.05837259441614151, -0.3867739140987396, 0.344929575920105, 0.2479276955127716, 0.003934952430427074, -0.13491307199001312, 0.627332866191864, 0.08944793045520782, -0.19756950438022614, 0.6685818433761597, 0.06831297278404236, -0.31028982996940613, 0.6341000199317932, 0.8656157851219177, 0.8542828559875488, -0.06093469262123108, 0.49407318234443665, 0.3743828535079956, 0.12811678647994995, -0.09504999965429306, 0.5780162811279297, 0.011861835606396198, -0.47642186284065247, -0.825062096118927, -0.8546733260154724, -0.10505352169275284, 0.06885894387960434, -0.6011019349098206, 0.02257423847913742, -0.738635241985321, -0.45023709535598755, 0.2608351707458496, 0.1456892192363739, -0.31120386719703674, 0.3892952799797058, 0.03621470928192139, 0.7263727188110352, -0.6269482970237732, 0.45956021547317505, 0.7812040448188782, -0.46258097887039185, -0.934544026851654, -0.05927678570151329, -0.16842113435268402, -0.5095962285995483, 0.6769337058067322, -0.0852142870426178, -0.23153172433376312, -0.009205455891788006, -0.9934646487236023, -0.8997220993041992, 1.029972791671753, 0.5135804414749146, -0.16286800801753998, 0.1443377137184143, 0.25467976927757263, 0.81878662109375, -0.6752975583076477, -0.15468178689479828, 0.7056379318237305, 0.5136467814445496, 0.20507828891277313, -0.56272292137146, 0.038289424031972885, -0.2682894468307495, -0.1126076951622963, 0.5272193551063538, -0.37970399856567383, 0.6214603781700134, 0.02326376549899578, -0.3558630645275116, 0.10680574178695679, 0.7050487995147705, 0.44298142194747925, 0.5343306064605713, 0.18596066534519196, 0.6519608497619629, 0.8569942712783813, 0.0217534638941288, 1.1551791429519653, -0.28181192278862, 0.05422459542751312, 1.2986515760421753, -0.38518568873405457, 0.726428747177124, 0.4427313804626465, 0.27443498373031616, 0.6341257095336914, 0.14238066971302032, -0.025628304108977318, 0.13791143894195557, 0.1350896954536438, -0.28268012404441833, -0.46198204159736633, -0.2119680941104889, 0.03882741555571556, 0.49864915013313293, 0.6804705262184143, -0.2865963578224182, -0.30009955167770386, -0.0166186410933733, 0.19175037741661072, 0.4125211536884308, -0.3452317714691162, 0.8835526704788208, -0.010653914883732796, -0.8044742345809937, 0.7004280090332031, -0.05567958578467369, 0.16018414497375488, -0.627120316028595, -0.3686577081680298, -0.2425534576177597, 0.3826066851615906, -0.5757628679275513, -0.6148859858512878, 0.24266357719898224, 0.3319125175476074, -0.11691191047430038, -0.07435629516839981, 1.0333001613616943, -0.3995550870895386, -0.6854337453842163, -0.1348075568675995, 0.5084207653999329, 0.14768753945827484, 0.138081356883049, -0.3993644118309021, -0.025179704651236534, -0.11639225482940674, -0.2808084487915039, 0.08946425467729568, 0.32504886388778687, -0.06194398179650307, 0.5927515625953674, 0.8585215210914612, 0.3900120258331299, 0.2616272568702698, -0.18147097527980804, 1.0468865633010864, -0.6090428829193115, -0.6060946583747864, -0.3998505771160126, 0.4653787612915039, -0.42418667674064636, -0.2624705731868744, 1.1133424043655396, 0.8134188055992126, 0.17457641661167145, 0.19131244719028473, 0.7666677236557007, -0.43204811215400696, 0.664857029914856, -0.4762320816516876, 0.7597377300262451, -0.4328252673149109, 0.2439306080341339, 0.11016097664833069, -1.1055158376693726, -0.3802671730518341, 0.5186624526977539, -0.33906611800193787, -0.11814099550247192, 0.557350754737854, 0.8727025985717773, -0.3081304728984833, 0.2344328910112381, -0.053233109414577484, 0.48083004355430603, 0.2897593677043915, -0.02730904519557953, 0.779419481754303, -0.44660574197769165, 0.46816137433052063, 0.1355910748243332, -0.36165907979011536, 0.025485264137387276, -0.6897587776184082, -0.9956507086753845, -0.23311300575733185, -0.295306921005249, -0.9715806245803833, 0.26718175411224365, 0.7784115076065063, 0.589702308177948, -0.7757488489151001, -0.3733842968940735, -0.26819494366645813, -0.25677475333213806, 0.1072520762681961, -0.25154149532318115, 0.6496686339378357, -0.4406600594520569, -0.2973769009113312, 0.689447283744812, 0.10295180231332779, -0.3850466012954712, -0.1444624811410904, -0.08270789682865143, -0.2394120842218399, 0.31208834052085876, 0.4522276818752289, 0.08768501877784729, -0.24027690291404724, -0.12308601289987564, 0.14056958258152008, -0.03258410468697548, 0.053872983902692795, 1.024151086807251, -1.0557588338851929, 0.40682902932167053, 0.7058212757110596, 0.8271315693855286, 0.8884212374687195, 0.2940620183944702, 0.698932409286499, -0.7006811499595642, -0.0586894191801548, 0.48497992753982544, -0.036186788231134415, 0.48034441471099854, -0.5313292145729065, 0.501537561416626, 0.10248375684022903, -0.7009430527687073, -0.9529764652252197, 0.10386190563440323, -0.9170196652412415, -0.22152790427207947, 1.0849575996398926, 0.02945808134973049, -0.5644552707672119, 0.043293293565511703, -0.16176879405975342, 0.15118806064128876, -0.3061584532260895, 0.7910211086273193, 0.43621826171875, -0.415792852640152, 0.1155012920498848, -0.5556456446647644, 0.5051330924034119, 0.3761289715766907, -0.8672265410423279, 0.31662246584892273, 1.0642118453979492, 0.28817084431648254, 0.5368117094039917, 0.2626776695251465, -0.09951716661453247, 0.2911299765110016, 0.38694965839385986, 0.08010635524988174, -0.06340430676937103, -0.6144441962242126, -0.2600095868110657, 0.21976344287395477, -0.20879054069519043, 0.11962459236383438 ]
http://arxiv.org/abs/2406.12066v2
http://arxiv.org/pdf/2406.12066v2
Language Models are Surprisingly Fragile to Drug Names in Biomedical Benchmarks
2024-06-17T20:09:24
2024-06-19T03:59:41
Jack Gallifant, Shan Chen, Pedro Moreira, Nikolaj Munch, Mingye Gao, Jackson Pond, Leo Anthony Celi, Hugo Aerts, Thomas Hartvigsen, Danielle Bitterman
cs.CL
cs.CL
Medical knowledge is context-dependent and requires consistent reasoning across various natural language expressions of semantically equivalent phrases. This is particularly crucial for drug names, where patients often use brand names like Advil or Tylenol instead of their generic equivalents. To study this, we create a new robustness dataset, RABBITS, to evaluate performance differences on medical benchmarks after swapping brand and generic drug names using physician expert annotations. We assess both open-source and API-based LLMs on MedQA and MedMCQA, revealing a consistent performance drop ranging from 1-10\%. Furthermore, we identify a potential source of this fragility as the contamination of test data in widely used pre-training datasets. All code is accessible at https://github.com/BittermanLab/RABBITS, and a HuggingFace leaderboard is available at https://huggingface.co/spaces/AIM-Harvard/rabbits-leaderboard.
[ 0.14558839797973633, -0.6559502482414246, 0.5263932943344116, -0.1363983005285263, 0.018328925594687462, 0.23653359711170197, -0.2579195201396942, -0.7983617782592773, -0.148793563246727, 0.4336663484573364, -0.29912465810775757, -0.45242926478385925, -1.0315814018249512, 0.34579944610595703, -0.24549926817417145, 1.0375922918319702, -0.23389996588230133, 0.32388126850128174, -0.20796069502830505, -0.8031782507896423, -0.2631699740886688, -0.5793443322181702, -0.3096713125705719, -0.46026572585105896, 0.4235610365867615, -0.14564299583435059, 0.9678349494934082, 0.8402743339538574, 0.9064531922340393, 0.298370897769928, -0.04888405650854111, 0.0001419975742464885, -0.31826692819595337, 0.3081026077270508, -0.39373356103897095, -0.5905357599258423, -0.45853370428085327, -0.021209601312875748, 0.2362196445465088, 0.799841582775116, -0.13365311920642853, 0.010928020812571049, -0.18910983204841614, 0.46564316749572754, -0.5755760669708252, 0.25515952706336975, -0.9104054570198059, -0.2984369695186615, -0.33257949352264404, 0.0931677594780922, -0.23262549936771393, -0.33187106251716614, 0.1775214672088623, -0.7474520206451416, 0.09954451024532318, -0.006416613701730967, 1.4945094585418701, 0.5583664178848267, 0.04559475556015968, -0.3685445189476013, -0.2140253633260727, 0.8005856275558472, -0.681672990322113, 0.3824942111968994, 0.4972778558731079, 0.4387282133102417, -0.43702223896980286, -0.6595714688301086, 0.03601691126823425, -0.23910017311573029, 0.05028751865029335, -0.173730731010437, -0.18838459253311157, -0.12130717933177948, 0.15298444032669067, 0.2263626903295517, -0.2699353098869324, 0.09297695010900497, -0.3394365608692169, -0.3485903739929199, 0.40749868750572205, 0.14327269792556763, 0.41057196259498596, -0.02630002424120903, -0.5650490522384644, -0.23069871962070465, -0.7821000218391418, 0.136225163936615, -0.18523040413856506, 0.6351683139801025, 0.10250629484653473, 0.427712082862854, -0.01727975532412529, 0.4428786039352417, -0.020736346021294594, -0.22131136059761047, 0.7816429138183594, -0.14574868977069855, -0.5240567922592163, -0.046053845435380936, 0.8046860694885254, 0.4926663339138031, 0.3224542737007141, -0.33443060517311096, -0.12328657507896423, 0.2681237459182739, 0.2266470342874527, -0.652145266532898, -0.6759882569313049, 0.49099037051200867, -0.3615913987159729, -0.40148866176605225, -0.4171362519264221, -0.5253359079360962, -0.6980259418487549, -0.041838254779577255, 0.5185188055038452, -0.7242549657821655, -0.18887817859649658, 0.24004724621772766, -0.058399394154548645, -0.03344359248876572, 0.13482992351055145, -0.7279325127601624, 0.4098179042339325, 0.6977124214172363, 0.6181991696357727, -0.34195855259895325, -0.2934396266937256, -0.45976462960243225, 0.020562108606100082, -0.45638635754585266, 1.048085331916809, -0.5891005396842957, -0.5433768630027771, -0.1023067757487297, 0.19409625232219696, -0.1891886442899704, -1.3636553287506104, 0.5350973010063171, -0.12479261308908463, -0.11153285950422287, -0.5284902453422546, -0.7546253204345703, 0.13075804710388184, 0.18897973001003265, -0.6718727946281433, 0.7321496605873108, 0.1545342206954956, -0.8340087532997131, 0.9306519031524658, -0.19728755950927734, -0.38255515694618225, 0.10707499086856842, -0.49768131971359253, -0.5893832445144653, 0.03831935673952103, 0.15525700151920319, 0.19432732462882996, -0.04289121553301811, 0.36182349920272827, -0.6469026803970337, -0.1682460904121399, 0.6946752667427063, -0.0017272679833695292, 0.7245540022850037, 0.12356796860694885, -0.11677796393632889, -0.2282288819551468, -0.8567610383033752, 0.0026349565014243126, 0.1024148017168045, -0.3950483202934265, -0.48730218410491943, 0.021640611812472343, 0.1430257260799408, 0.10029873996973038, -0.12683159112930298, -0.36254382133483887, 0.1469966173171997, -0.3392546474933624, 0.5435924530029297, 0.77830970287323, -0.08071078360080719, 0.05718966946005821, -0.6894651055335999, 0.390154093503952, 0.1620330661535263, 0.24490849673748016, 0.18909935653209686, -0.5346668362617493, -0.38815101981163025, -0.49545353651046753, 0.705771803855896, 0.6002233028411865, -0.48405247926712036, -0.006869533099234104, -0.3177061975002289, -0.34028011560440063, -0.6646170020103455, 0.29511547088623047, 0.5672784447669983, 0.6612694263458252, 0.5788019895553589, -0.2919718623161316, -0.28498873114585876, -1.1491214036941528, -0.9898680448532104, -0.440629780292511, -0.14874397218227386, 0.3878771662712097, 0.39415615797042847, -0.6166104078292847, 0.6370307803153992, -0.31235095858573914, -0.1942088007926941, -0.008605019189417362, -0.02394198626279831, 0.16865023970603943, 0.3441827595233917, 0.5601049065589905, -0.3669273555278778, -0.06171032786369324, -0.4289449453353882, -0.5602923035621643, -0.2740311920642853, -0.03051440790295601, -0.34810036420822144, 0.03779526427388191, 0.4015812277793884, -0.6814306378364563, 0.12295395135879517, 0.5448846817016602, -0.13737253844738007, 0.5847505927085876, 0.030607646331191063, 0.10652759671211243, -1.1061559915542603, 0.06001503765583038, 0.2594301402568817, -0.08668834716081619, -0.5122113227844238, -0.04218445345759392, 0.030858254060149193, 0.28004780411720276, -0.6242465972900391, 0.6153469085693359, -0.21821032464504242, 0.3298822045326233, 0.20655545592308044, 0.06211363151669502, 0.11047672480344772, -0.12887029349803925, -0.1547108143568039, 0.7017531394958496, 0.6986332535743713, -0.4997502863407135, 0.05986615642905235, 0.481231689453125, -0.34433189034461975, 0.6552585363388062, -0.6421501636505127, -0.49420180916786194, 0.5329288840293884, -0.056297581642866135, -0.5196478366851807, -0.5273815989494324, 0.28233394026756287, -0.4519299566745758, 0.5913286805152893, -0.1065320298075676, -0.6927696466445923, -0.14786292612552643, -0.1925254762172699, 0.3763842284679413, 0.49610471725463867, -0.42150136828422546, 0.09009446948766708, 0.7090574502944946, -0.04983540624380112, -0.47855299711227417, -1.0568253993988037, 0.12744265794754028, -0.3414033055305481, -0.3417952358722687, 0.1753365397453308, -0.19876740872859955, -0.5355211496353149, 0.04791443794965744, -0.2811841368675232, -0.4065021872520447, 0.08175893872976303, 0.3551025092601776, 0.31680136919021606, -0.023557476699352264, 0.6600026488304138, -0.03336367756128311, -0.12522880733013153, 0.3433957099914551, 0.2722293436527252, -0.13199952244758606, -0.13472816348075867, -0.09482879191637039, -0.16919878125190735, 0.06684619933366776, 0.7264560461044312, -0.027871225029230118, 0.6005297303199768, 0.12741559743881226, -0.49467435479164124, -0.3046553134918213, -0.3781811594963074, -0.07061570137739182, -0.42645955085754395, 0.18346723914146423, -0.3109208941459656, -0.4638245403766632, 0.5558016896247864, -0.3853422701358795, -0.10485267639160156, 0.4333157241344452, 0.6966924071311951, -0.07447074353694916, 0.7014262676239014, 0.37355008721351624, 0.13744093477725983, 0.0171278715133667, 0.14536629617214203, 0.0833408311009407, -0.5340583324432373, -0.29878613352775574, -0.3651561737060547, -0.14618173241615295, -0.516998291015625, -0.561585545539856, -0.010105444118380547, -0.09799661487340927, -0.16529537737369537, 0.37409383058547974, -0.6200540065765381, 0.20037800073623657, 0.2090758979320526, 0.16200117766857147, 0.30945107340812683, -0.07005200535058975, -0.400562584400177, -0.16023199260234833, -0.36070412397384644, -0.5442551970481873, 1.3707287311553955, 0.41076967120170593, 1.0414179563522339, -0.18902331590652466, 0.6642791032791138, 0.07266432046890259, 0.48576921224594116, -0.5110432505607605, 0.39445748925209045, -0.3654659688472748, -0.6804732084274292, 0.2215425968170166, -0.475331574678421, -1.0370309352874756, -0.08400353789329529, -0.3712509572505951, -0.6318865418434143, 0.1479388177394867, -0.0611833892762661, -0.45793357491493225, 0.31607744097709656, -0.6324942708015442, 0.7651628851890564, -0.39876699447631836, -0.3310820162296295, 0.35548636317253113, -0.6580439209938049, 0.27197104692459106, -0.40796607732772827, 0.4686228930950165, -0.6148344278335571, -0.1726778894662857, 0.5766205191612244, -0.7885850071907043, 0.448059618473053, 0.2082652598619461, 0.0022131691221147776, -0.18052218854427338, 0.20488105714321136, -0.008879562839865685, 0.14157280325889587, -0.1618064045906067, 0.5518304705619812, 0.3797571659088135, -0.5083814859390259, -0.17407482862472534, 0.8725284934043884, -0.7000881433486938, -0.20273888111114502, -0.48670926690101624, -0.5747166275978088, -0.6483489274978638, 0.20952153205871582, 0.4675253629684448, 0.37916505336761475, -0.009022102691233158, 0.0855727568268776, 0.7785390019416809, -0.4536696970462799, -0.1439032107591629, 0.6546618938446045, 0.014068013988435268, -0.4653729498386383, 0.49094146490097046, 0.2765050530433655, 0.29006227850914, 0.11435291916131973, 0.16491013765335083, -0.3208272457122803, -0.5423247814178467, -0.3879427909851074, 0.28863850235939026, -0.6438646912574768, -0.3338932991027832, -0.5916240215301514, -0.06916283071041107, -0.22985868155956268, -0.20714035630226135, -0.7157443761825562, -0.1877874881029129, 0.04707513749599457, -0.008399219252169132, 0.5173613429069519, 0.6791250705718994, 0.06960972398519516, -0.18319495022296906, -0.7394177913665771, 0.2583597004413605, -0.002914897631853819, 0.745603621006012, -0.7660905122756958, -0.23456527292728424, -0.14143036305904388, -0.06687793880701065, -0.00851823017001152, -0.8348132371902466, 0.10616081953048706, 0.2677791118621826, 0.8993790745735168, 0.2569386959075928, 0.22347339987754822, 0.4358622133731842, -0.4062606394290924, 0.5908742547035217, 0.06404810398817062, -0.6768068671226501, 0.70511394739151, -0.3650851249694824, 0.3140273094177246, 1.113326072692871, 0.19184742867946625, -0.11459847539663315, -0.7854142189025879, -0.486961305141449, -0.9791938662528992, 0.28996968269348145, 0.3217839002609253, -0.2923993766307831, -0.13650068640708923, 0.3104531764984131, 0.4285925626754761, 0.11204569041728973, -0.4023089110851288, -0.29216763377189636, 0.19175876677036285, -0.35933417081832886, -0.03965707868337631, -0.02574988454580307, -0.5551934242248535, -0.20237813889980316, 0.4949795603752136, 0.11453543603420258, -0.11976733803749084, 0.15420742332935333, -0.15327546000480652, -0.14578232169151306, 0.2266186624765396, 0.2798316180706024, 0.6802074313163757, -0.33536580204963684, -0.027000032365322113, 0.11104428023099899, -0.6236799955368042, 0.03927187994122505, 0.3536665737628937, 0.06218628212809563, 0.17219163477420807, 0.43703988194465637, 0.25828200578689575, 0.6303697228431702, -1.2439755201339722, 0.380094438791275, -0.3753029406070709, -0.3303559422492981, 0.06589863449335098, -0.037261344492435455, -0.0856228619813919, 0.15742850303649902, 0.084261454641819, 0.4164646863937378, 0.08123583346605301, -0.4610932171344757, 0.5459194779396057, 0.133697047829628, -0.3863197863101959, -0.08435364812612534, 1.0100470781326294, 0.040376801043748856, -0.048183418810367584, 0.3470206558704376, 0.14484411478042603, -0.21431706845760345, 0.5068907141685486, 0.04963324964046478, 0.759400486946106, -0.20890256762504578, 0.045535724610090256, 0.15137532353401184, 0.22932541370391846, -0.08312442898750305, 0.05930627882480621, 0.40581297874450684, -0.3418949842453003, 0.018184170126914978, -0.5715882778167725, -0.599453330039978, 0.16553719341754913, -0.6387642621994019, 0.36267510056495667, -0.44997039437294006, -0.7220566868782043, 0.20011427998542786, -0.03712407499551773, -0.610188901424408, 0.2529371380805969, 0.07352893799543381, 0.8991599678993225, -0.962336003780365, 0.8525953888893127, 1.1507688760757446, -0.388103723526001, -0.826206624507904, -0.03996315225958824, 0.15624544024467468, -0.7017473578453064, 0.481669157743454, 0.22795672714710236, 0.1749742031097412, -0.8621476292610168, -0.3361227810382843, -0.8596488833427429, 1.0265880823135376, 0.36601516604423523, -0.4521520137786865, 0.08712203800678253, 0.17692077159881592, 0.7501353025436401, -0.1955920308828354, 0.045596569776535034, 0.6446881294250488, 0.1844104826450348, 0.024322858080267906, -1.0494060516357422, 0.14108949899673462, -0.5596707463264465, -0.2299354374408722, 0.052802182734012604, -0.5480051040649414, 1.0202898979187012, -0.2378338724374771, -0.18496453762054443, 0.2868669629096985, -0.18891586363315582, 0.573557436466217, 0.45717811584472656, 0.2922583222389221, 0.7549073100090027, 0.8045174479484558, -0.3600589334964752, 0.8962085247039795, -0.5664432644844055, 0.4823918640613556, 1.164987325668335, -0.37607207894325256, 1.0342814922332764, 0.43632635474205017, -0.4025629162788391, 0.5672944784164429, 0.8286662101745605, -0.2997473478317261, 0.5909327268600464, 0.2444014698266983, 0.08521132171154022, -0.3754158616065979, 0.08907926827669144, -0.5713995695114136, 0.3304298520088196, 0.5563849210739136, -0.48501846194267273, -0.3558182120323181, -0.01203740295022726, 0.2890302240848541, 0.040283411741256714, 0.1454758644104004, 0.5677778720855713, 0.1360754519701004, -0.3612447679042816, 0.9084050059318542, -0.39945465326309204, 0.3038964867591858, -0.5665168762207031, 0.13155540823936462, -0.20001493394374847, 0.6818392872810364, -0.18125243484973907, -0.628812849521637, 0.1433849036693573, -0.11430349200963974, -0.05901668593287468, 0.09378766268491745, 0.5280097723007202, -0.3223583996295929, -0.5147470831871033, 0.6309795379638672, 0.4987223744392395, 0.24254700541496277, 0.210000678896904, -1.0842195749282837, 0.4843956232070923, -0.43941980600357056, -0.07894009351730347, 0.5244030952453613, 0.3726785182952881, 0.09948903322219849, 0.9984045028686523, 0.29182127118110657, 0.4137735366821289, 0.06888770312070847, 0.05112390220165253, 1.0643738508224487, -0.1965179145336151, 0.030797075480222702, -0.6193335652351379, 0.23826494812965393, -0.04637670889496803, -0.46631017327308655, 0.742296040058136, 0.6023222208023071, 0.6378795504570007, 0.06258069723844528, 0.5837666988372803, 0.27349281311035156, 0.7795594334602356, -0.35395586490631104, 1.1245224475860596, -0.76053386926651, 0.5329476594924927, -0.29043829441070557, -0.4743883013725281, -0.5907742977142334, 0.09373300522565842, -0.17652954161167145, 0.02278316020965576, 0.7105651497840881, 0.6847974061965942, 0.10471101850271225, -0.31615254282951355, 0.33015602827072144, 0.5519765019416809, 0.47264060378074646, 0.8680716753005981, 0.4274519681930542, -0.5783371329307556, 0.6745108962059021, -0.3132854700088501, -0.30286622047424316, -0.379048228263855, -0.6787273287773132, -0.9920312166213989, -0.24376045167446136, -0.625180721282959, -0.6132901310920715, 0.565183162689209, 0.7370825409889221, 0.8580798506736755, -1.0857175588607788, 0.2149377018213272, 0.11919321864843369, -0.2615512013435364, -0.19322144985198975, -0.1821409910917282, 0.47860559821128845, -0.5856297016143799, -0.47688937187194824, 0.3440956771373749, 0.24527589976787567, -0.09472598135471344, 0.0904315635561943, 0.05878515914082527, -0.05158373713493347, 0.3074938654899597, 0.1913374662399292, 0.4084383249282837, -0.9842961430549622, -0.28008756041526794, -0.08998245000839233, -0.5091438293457031, 0.11700131744146347, 0.5332469940185547, -0.8596876263618469, 0.955701470375061, 0.17557182908058167, 0.6679955720901489, -0.292582631111145, 0.19534140825271606, 0.5178333520889282, -0.29924267530441284, -0.17959478497505188, 0.1897890716791153, 0.49191105365753174, 0.49523216485977173, -0.0830439105629921, 0.46669501066207886, 0.48749256134033203, -0.6657130122184753, -0.9156516790390015, -0.02225472591817379, -1.0417083501815796, -0.4750373363494873, 1.2693891525268555, -0.19466744363307953, -0.4333980977535248, -0.22507421672344208, 0.07521827518939972, 0.07057368010282516, -0.4131847620010376, 0.9547132849693298, 0.79483562707901, -0.2936745882034302, 0.22085393965244293, -0.8406983613967896, 0.8442275524139404, 0.3505421578884125, -0.6823360323905945, 0.14598026871681213, 0.32545971870422363, 0.7006747722625732, 0.030320079997181892, 0.607780933380127, -0.5162462592124939, 0.15873171389102936, 0.23794201016426086, -0.026020515710115433, 0.06886199861764908, 0.11180569976568222, -0.2310747653245926, -0.10276071727275848, 0.19215068221092224, -0.3433719277381897 ]
http://arxiv.org/abs/2406.12060v1
http://arxiv.org/pdf/2406.12060v1
Not Eliminate but Aggregate: Post-Hoc Control over Mixture-of-Experts to Address Shortcut Shifts in Natural Language Understanding
2024-06-17T20:00:04
2024-06-17T20:00:04
Ukyo Honda, Tatsushi Oka, Peinan Zhang, Masato Mita
cs.CL
cs.CL, cs.LG
Recent models for natural language understanding are inclined to exploit simple patterns in datasets, commonly known as shortcuts. These shortcuts hinge on spurious correlations between labels and latent features existing in the training data. At inference time, shortcut-dependent models are likely to generate erroneous predictions under distribution shifts, particularly when some latent features are no longer correlated with the labels. To avoid this, previous studies have trained models to eliminate the reliance on shortcuts. In this study, we explore a different direction: pessimistically aggregating the predictions of a mixture-of-experts, assuming each expert captures relatively different latent features. The experimental results demonstrate that our post-hoc control over the experts significantly enhances the model's robustness to the distribution shift in shortcuts. Besides, we show that our approach has some practical advantages. We also analyze our model and provide results to support the assumption.
[ -0.3291303217411041, -1.0223917961120605, 0.5703661441802979, 0.06488336622714996, -0.47899675369262695, 0.3077371418476105, -0.14224816858768463, -0.30591171979904175, 0.3453286290168762, 0.6432909369468689, -0.4239296019077301, -0.4607926309108734, -1.1229649782180786, 0.08516176044940948, -0.41815024614334106, 1.2079678773880005, 0.034506380558013916, -0.4933871924877167, -0.16052253544330597, -0.3089020550251007, -0.31097328662872314, -0.2907342314720154, -0.44917020201683044, -0.25224605202674866, 0.43039822578430176, 0.21024636924266815, 1.1275992393493652, 0.6040116548538208, 0.4299798011779785, 0.2934320867061615, -0.5264934301376343, -0.032246559858322144, -0.369696706533432, -0.1733846515417099, -0.3622422516345978, -0.48377200961112976, -0.5824621915817261, 0.0826706662774086, 0.39861389994621277, 1.1964224576950073, -0.40605127811431885, -0.2418949156999588, 0.19677618145942688, 0.37384188175201416, -0.5249941945075989, -0.15851464867591858, -0.9648568034172058, -0.2578463554382324, -0.2950868010520935, -0.1531902253627777, -0.1779233068227768, -0.29208168387413025, 0.3663117289543152, -0.5615920424461365, 0.34790438413619995, -0.043711837381124496, 0.5275125503540039, 0.43493399024009705, -0.49998292326927185, -0.28400200605392456, -0.5200779438018799, 0.9540857672691345, -0.6952998042106628, 0.16558195650577545, 0.6083611249923706, 0.2875380516052246, -0.0533330999314785, -0.23372066020965576, -0.22648775577545166, 0.15568172931671143, -0.235030397772789, -0.04562447592616081, 0.09962838143110275, -0.008763343095779419, -0.27197906374931335, 0.2661629319190979, -0.2959938645362854, 0.28516241908073425, -0.2402038276195526, -0.2010158896446228, 0.6799302697181702, 0.18663354218006134, 0.17398148775100708, 0.06046263501048088, -0.1639658361673355, 0.2488640993833542, -0.615098774433136, 0.12237289547920227, 0.08259132504463196, 0.34039369225502014, -0.2345019280910492, 0.6334471702575684, -0.13264259696006775, 0.8896163702011108, 0.21847470104694366, -0.309693843126297, 0.17201480269432068, -0.3803018629550934, -0.18242095410823822, 0.1042829304933548, 0.7202913165092468, 0.0860384851694107, 0.07482178509235382, -0.5183233022689819, -0.23189996182918549, 0.08945845067501068, -0.09606129676103592, -0.2304840385913849, -0.5765039324760437, 0.06711381673812866, -0.3977285921573639, -0.4851505756378174, -0.0770256370306015, -0.6388037800788879, -0.27398666739463806, -0.3112926781177521, 0.3463749885559082, -0.2667303681373596, -0.38316428661346436, 0.07092611491680145, -0.21198135614395142, -0.13310027122497559, 0.43463319540023804, -0.8563209772109985, 0.49200013279914856, 0.766949474811554, 0.7805134057998657, -0.2285899817943573, -0.36757078766822815, -0.6087409257888794, 0.37644264101982117, -0.31690433621406555, 0.7571158409118652, -0.8631198406219482, -0.6819857358932495, -0.2762443423271179, -0.3986831307411194, -0.2356577068567276, -0.6085137128829956, 0.26386740803718567, -0.3823917806148529, 0.518871009349823, -0.13934201002120972, -0.5185584425926208, -0.010060549713671207, 0.10749038308858871, -0.3516205847263336, 0.9150286316871643, 0.12420818954706192, -0.9678664207458496, 0.44589701294898987, -0.2662507891654968, -0.5972892045974731, -0.2811608612537384, -0.40703076124191284, -0.4208814799785614, 0.3061373233795166, 0.43325796723365784, 0.13008958101272583, -0.0902094766497612, 0.6854827404022217, -0.5169574618339539, -0.0668780729174614, 0.2976452708244324, -0.2874225676059723, 0.6577118635177612, 0.00338905886746943, -0.28848329186439514, -0.07572219520807266, -0.6411224603652954, -0.33873486518859863, -0.10271463543176651, -0.24317681789398193, -0.9141190052032471, 0.10802903771400452, -0.4666854441165924, 0.46054208278656006, -0.01718803122639656, -0.02261394076049328, 0.2513313889503479, -0.5454981923103333, 0.17715159058570862, 0.9347411394119263, 0.4110293388366699, 1.1122562885284424, -0.16159166395664215, 0.5069938898086548, 0.2070697546005249, 0.14823415875434875, 0.2221461832523346, -0.6026403903961182, -0.5433654189109802, -0.2549585998058319, 0.09121078252792358, 0.3244502544403076, -1.1026896238327026, 0.6234711408615112, -0.27563992142677307, -0.439581960439682, -0.3747907876968384, 0.4249257743358612, 0.47746890783309937, 0.7607342600822449, 0.49071356654167175, -0.24760712683200836, 0.031203053891658783, -0.7952753901481628, -0.8683133721351624, -0.043008964508771896, -0.21349076926708221, 0.20760776102542877, 0.20681743323802948, -0.08590726554393768, 1.1438779830932617, -0.726612389087677, -0.0033797197975218296, -0.3758675754070282, 0.6947264671325684, 0.32811567187309265, 0.43715745210647583, 0.6022821664810181, -0.7508096098899841, -0.593805193901062, -0.19694635272026062, -0.3144512176513672, -0.21993635594844818, -0.09835794568061829, -0.3312087059020996, -0.16770538687705994, 0.2509121000766754, -0.6712934970855713, 0.4661126136779785, 0.3594745397567749, -0.3557170629501343, 0.3871326446533203, 0.017666921019554138, -0.18443234264850616, -0.850125789642334, -0.24839334189891815, 0.03260303661227226, -0.05678834766149521, -0.7317947149276733, -0.42163267731666565, -0.10700936615467072, 0.12708120048046112, -0.31212136149406433, 0.4936838746070862, -0.4042325019836426, 0.07137728482484818, -0.3081427216529846, -0.11216382682323456, 0.09631824493408203, 0.4168418049812317, 0.3702479600906372, 0.6318797469139099, 0.6672919392585754, -0.9573538303375244, -0.4917808771133423, 0.3505795896053314, -0.15003737807273865, 0.4309484362602234, -0.5497274994850159, 0.20031990110874176, -0.21031375229358673, 0.04866544529795647, -0.6881412267684937, -0.19937387108802795, 0.33598077297210693, -0.5036171078681946, 0.22085896134376526, 0.016498474404215813, -0.1914370208978653, -0.046463895589113235, -0.15991675853729248, 0.13934226334095, 0.5562825202941895, -0.08279282599687576, 0.7565580010414124, 0.506544828414917, -0.5484105348587036, -0.3963395059108734, -0.7129254341125488, -0.17341895401477814, -0.5169202089309692, -0.36606934666633606, 0.3880114257335663, 0.14021457731723785, -0.5733429789543152, 0.08887073397636414, -0.270145058631897, -0.39945748448371887, 0.34520789980888367, -0.06560511887073517, 0.0800485759973526, 0.13370686769485474, 0.20308126509189606, 0.49130168557167053, -0.20271258056163788, 0.03384539112448692, -0.1431892365217209, 0.14484526216983795, 0.3714377284049988, -0.34222447872161865, -0.13496199250221252, 0.5809404850006104, 0.45152920484542847, -0.34112444519996643, 0.9118881225585938, 0.3336125910282135, -0.17182908952236176, 0.09442569315433502, -0.44885578751564026, -0.33812543749809265, -0.5136529207229614, 0.3162572383880615, -0.12778131663799286, -0.8667360544204712, 0.5236530900001526, -0.05913151055574417, 0.14596569538116455, 0.4086282551288605, 0.25038382411003113, -0.3038245737552643, 1.015000343322754, 0.7507673501968384, -0.3561675548553467, 0.433939129114151, -0.0146818608045578, 0.3327125906944275, -0.4945446252822876, -0.05858824402093887, -0.6799915432929993, -0.1350158303976059, -0.30395087599754333, -0.3898935616016388, 0.46712619066238403, 0.1755206435918808, 0.1634022295475006, 0.04997818171977997, -0.2986391484737396, 0.33544957637786865, 0.39083224534988403, 0.19270116090774536, 0.10943502932786942, -0.11118316650390625, -0.0031025740318000317, -0.05857187509536743, -0.7642382979393005, -0.22712285816669464, 0.7927516102790833, 0.06053166836500168, 0.8012025356292725, 0.07118045538663864, 0.8359096646308899, 0.24255777895450592, 0.24976088106632233, -0.5669087767601013, 0.43116462230682373, -0.03704759478569031, -0.433134526014328, -0.39974695444107056, -0.5862209796905518, -0.7771592736244202, 0.3019579350948334, -0.1747273951768875, -0.7332174181938171, 0.4709382951259613, 0.521043598651886, -0.49826571345329285, 0.24763844907283783, -0.7142438888549805, 0.7184907793998718, -0.33057406544685364, -0.3436962366104126, -0.16155362129211426, -0.9345632195472717, 0.3391624689102173, -0.29126256704330444, 0.6865653991699219, -0.09680827707052231, -0.06881983578205109, 0.9192959666252136, -0.6878652572631836, 0.7785487771034241, -0.18728306889533997, 0.032741107046604156, 0.5034059286117554, 0.14574368298053741, 0.9828809499740601, -0.14434771239757538, -0.007973837666213512, -0.10129904001951218, -0.5094792246818542, -0.5725499391555786, -0.6624792218208313, 0.30480918288230896, -0.8817082047462463, -0.5186558365821838, -0.11372363567352295, -0.28992417454719543, -0.40388572216033936, 0.0561966635286808, 0.41152718663215637, 0.3633808195590973, -0.017114369198679924, -0.01071274746209383, 0.5376315712928772, -0.009127781726419926, 0.5036404132843018, 0.3699241578578949, 0.0576944425702095, -0.4293960630893707, 0.834913432598114, 0.21383501589298248, 0.5401965975761414, 0.4103816747665405, 0.43515467643737793, -0.43305954337120056, -0.8896684050559998, 0.16230233013629913, 0.10510843247175217, -0.6364022493362427, 0.07986418157815933, -0.9607581496238708, 0.23182234168052673, -0.6937229037284851, -0.4138176441192627, -0.39741918444633484, -0.38032495975494385, -0.6398576498031616, -0.28568515181541443, 0.2394159436225891, 0.5237663984298706, 0.11913992464542389, 0.885022759437561, -1.0484569072723389, 0.2904103994369507, 0.5544893145561218, 0.047212548553943634, 0.004736972041428089, -0.5819998979568481, -0.4897156059741974, -0.022560320794582367, -0.23241400718688965, -1.193511724472046, 0.6448372006416321, 0.3829253911972046, 0.8637083768844604, 0.6873359084129333, 0.13243557512760162, 0.6679338812828064, -0.23095688223838806, 0.694054365158081, 0.33909836411476135, -1.030490517616272, 0.5077217817306519, -0.5271633267402649, 0.38500821590423584, 0.9165209531784058, 0.34303221106529236, -0.33989137411117554, -0.8729598522186279, -0.9086713790893555, -0.8761934041976929, 0.6699981689453125, 0.3730778098106384, -0.18160460889339447, 0.002595728961750865, 0.016095537692308426, 0.5064875483512878, 0.49801966547966003, -0.4409492015838623, -0.11218086630105972, -0.0940294861793518, -0.1531355082988739, -0.24352233111858368, -0.42073819041252136, -0.08277948200702667, -0.3129902184009552, 0.47764214873313904, 0.11023066937923431, -0.14324752986431122, -0.1252286583185196, -0.4108292758464813, 0.0807424783706665, 0.4348423480987549, 0.33617451786994934, 0.8506519198417664, -0.2875007092952728, 0.39444366097450256, 0.07839461416006088, -0.3638575077056885, 0.08520720154047012, 0.04294301196932793, -0.1663886308670044, 0.23018597066402435, 0.4278152585029602, 0.6518148183822632, 0.4185383915901184, -0.16733628511428833, 0.3327799141407013, 0.2234412133693695, -0.07821687310934067, 0.2576916515827179, 0.04010380432009697, -0.0021709995344281197, -0.1596529185771942, 0.36963531374931335, 0.6213616728782654, 0.33322903513908386, -0.2124299854040146, 0.2741759717464447, 0.17933809757232666, -0.24505507946014404, -0.6219723224639893, 0.4993424415588379, 0.3474617302417755, -0.21368277072906494, 0.4298124611377716, -0.1725492775440216, -0.5521970987319946, 0.6230162978172302, 0.03352458402514458, 0.8855646848678589, -0.38071954250335693, 0.2626332640647888, -0.0555449053645134, 0.3592739999294281, 0.02720119245350361, -0.1205524280667305, -0.26201340556144714, -0.7440691590309143, -0.4193800985813141, -0.19916844367980957, -0.390220582485199, -0.23542311787605286, -0.8362753987312317, 0.2755674123764038, -0.14500877261161804, -0.22966523468494415, -0.0041128648445010185, -0.4699495732784271, -0.7263804078102112, 0.20138272643089294, -0.24470798671245575, 0.6786184310913086, -1.5207853317260742, 0.9771389365196228, 0.6849380731582642, 0.02708154171705246, -0.6781921982765198, 0.23959319293498993, 0.02726037986576557, -0.395263671875, 0.08399458229541779, -0.07672940939664841, 0.18911798298358917, -0.22056661546230316, -0.45648208260536194, -0.8711260557174683, 0.5377981066703796, 0.06044292077422142, -0.4768558740615845, -0.006687612738460302, 0.019685575738549232, 0.35889172554016113, -0.13860060274600983, 0.24854689836502075, 0.8738594651222229, 0.35270586609840393, 0.20302730798721313, -0.9652498960494995, -0.2739490866661072, -0.025631124153733253, -0.3110111355781555, 0.3139290511608124, -0.24366168677806854, 1.1947191953659058, -0.06344445049762726, -0.05776369944214821, -0.5114750862121582, 0.6865320801734924, 0.3102591633796692, 0.48075905442237854, 0.7425702810287476, 0.4343019723892212, 0.8059697151184082, 0.2733144164085388, 1.0443028211593628, -0.006498278118669987, 0.346975713968277, 1.5868064165115356, -0.10231409221887589, 0.5107762217521667, 0.7316030859947205, -0.33832991123199463, 0.15072494745254517, 0.819514274597168, 0.7077934145927429, 1.2460211515426636, -0.46874910593032837, -0.2595750093460083, -0.523529052734375, 0.041436661034822464, -0.5824559330940247, 0.36408746242523193, 0.6308442950248718, -0.520368754863739, -0.5158648490905762, -0.17913025617599487, 0.09234710037708282, 0.1440458446741104, -0.3312397301197052, 1.0048727989196777, 0.18386943638324738, -0.7647266983985901, 0.3805774450302124, -0.18475094437599182, 0.7797902226448059, -0.4787866771221161, 0.17403699457645416, -0.21646511554718018, -0.12163269519805908, -0.03354928269982338, -0.6637816429138184, 0.6482206583023071, -0.25941261649131775, -0.043795231729745865, -0.24476388096809387, 0.766033947467804, -0.6087950468063354, -0.687347948551178, 0.09477204084396362, 0.6899146437644958, 0.14658136665821075, -0.2897671163082123, -0.781337559223175, -0.2641635239124298, 0.15056535601615906, -0.11120542138814926, 0.381405770778656, 0.5747550129890442, -0.15312138199806213, 0.3120780885219574, 0.28558704257011414, 0.17500096559524536, 0.22982148826122284, -0.1545296013355255, 1.1215097904205322, -0.4294384717941284, -0.8255954384803772, -0.987887978553772, 0.5375379323959351, -0.1602127104997635, -0.2796463966369629, 0.6370225548744202, 0.2463926076889038, 0.43891191482543945, -0.06503637880086899, 0.9088932871818542, 0.19962099194526672, 0.7441202998161316, -0.44836676120758057, 0.5401352047920227, -0.5294660329818726, 0.24692577123641968, -0.40759342908859253, -0.7192457318305969, -0.24561567604541779, 0.2543862462043762, -0.8648520112037659, -0.10310579836368561, 0.522802472114563, 0.499742716550827, -0.12824200093746185, -0.09426438808441162, 0.15658427774906158, 0.1730988770723343, 0.4798274040222168, 0.4205617606639862, 0.6773092150688171, 0.3147677481174469, 0.4045768678188324, -0.5175410509109497, -0.21059799194335938, -0.2562025189399719, -0.791630744934082, -0.8929932117462158, -0.018645551055669785, -0.4692116379737854, 0.06477447599172592, -0.05547839030623436, 0.8040525913238525, 0.4748658835887909, -0.8201836943626404, 0.11748223751783371, -0.3520803153514862, 0.5605974197387695, -0.30395734310150146, -0.17975394427776337, 0.48191404342651367, -0.20205697417259216, -0.47474488615989685, 0.28690314292907715, 0.41774240136146545, 0.3096122741699219, 0.061588555574417114, -0.08594381809234619, -0.12612447142601013, 0.10497169196605682, 0.3119249641895294, 0.08793294429779053, -0.7055662274360657, -0.09736453741788864, -0.0825522243976593, -0.029427247121930122, 0.16980284452438354, 0.826363205909729, -0.6223071217536926, 0.4315478503704071, 0.7080130577087402, 0.4401419758796692, 0.02332843467593193, 0.34771671891212463, 0.6662043333053589, -0.9344774484634399, 0.5754055380821228, 0.39966824650764465, 0.26711246371269226, 0.23864616453647614, -0.47668394446372986, 0.1993473619222641, 0.21153853833675385, -0.36101582646369934, -0.5338006615638733, -0.028043562546372414, -0.7494285106658936, -0.32922178506851196, 0.959642767906189, -0.1492953598499298, -0.36603477597236633, -0.47098082304000854, 0.03630630671977997, 0.2986631989479065, -0.43017202615737915, 0.8992467522621155, 0.5053197145462036, -0.14958803355693817, -0.24759481847286224, -0.13514840602874756, 0.4572613537311554, 0.5493391156196594, -0.7644076347351074, -0.2515541911125183, 0.39794090390205383, 0.16593214869499207, -0.03360501676797867, 0.9875474572181702, 0.06852816790342331, -0.0706663653254509, -0.18373139202594757, -0.18565115332603455, 0.24368616938591003, -0.4475492537021637, -0.22260990738868713, 0.1113877072930336, 0.28163307905197144, -0.41227930784225464 ]
http://arxiv.org/abs/2406.12058v3
http://arxiv.org/pdf/2406.12058v3
WellDunn: On the Robustness and Explainability of Language Models and Large Language Models in Identifying Wellness Dimensions
2024-06-17T19:50:40
2024-06-28T04:08:12
Seyedali Mohammadi, Edward Raff, Jinendra Malekar, Vedant Palit, Francis Ferraro, Manas Gaur
cs.AI
cs.AI, cs.CL
Language Models (LMs) are being proposed for mental health applications where the heightened risk of adverse outcomes means predictive performance may not be a sufficient litmus test of a model's utility in clinical practice. A model that can be trusted for practice should have a correspondence between explanation and clinical determination, yet no prior research has examined the attention fidelity of these models and their effect on ground truth explanations. We introduce an evaluation design that focuses on the robustness and explainability of LMs in identifying Wellness Dimensions (WD). We focus on two mental health and well-being datasets: (a) Multi-label Classification-based MultiWD, and (b) WellXplain for evaluating attention mechanism veracity against expert-labeled explanations. The labels are based on Halbert Dunn's theory of wellness, which gives grounding to our evaluation. We reveal four surprising results about LMs/LLMs: (1) Despite their human-like capabilities, GPT-3.5/4 lag behind RoBERTa, and MedAlpaca, a fine-tuned LLM fails to deliver any remarkable improvements in performance or explanations. (2) Re-examining LMs' predictions based on a confidence-oriented loss function reveals a significant performance drop. (3) Across all LMs/LLMs, the alignment between attention and explanations remains low, with LLMs scoring a dismal 0.0. (4) Most mental health-specific LMs/LLMs overlook domain-specific knowledge and undervalue explanations, causing these discrepancies. This study highlights the need for further research into their consistency and explanations in mental health and well-being.
[ -0.295487642288208, -0.693114697933197, 0.8857213854789734, 0.08472343534231186, 0.001740447711199522, -0.1320241242647171, -0.32338008284568787, -0.5648424029350281, 0.025749871507287025, 0.1591048538684845, -0.7234556674957275, -0.5241869688034058, -0.7370153665542603, 0.05106067284941673, -0.022233473137021065, 1.038454294204712, 0.26170939207077026, 0.010134461335837841, -0.27438244223594666, -0.21960805356502533, -0.5691287517547607, -0.4441336393356323, -0.48548009991645813, -0.6512734293937683, 0.5344804525375366, 0.06112237647175789, 1.0433036088943481, 0.43553102016448975, 0.66414475440979, 0.18774615228176117, -0.23342502117156982, 0.009849149733781815, -0.8394476771354675, -0.12359990924596786, -0.3341626524925232, -0.2534807622432709, -0.6965559720993042, -0.1302923709154129, 0.36788395047187805, 0.9549785256385803, -0.12236161530017853, 0.3102567195892334, 0.34101077914237976, 0.6240572929382324, -0.7480307221412659, -0.043778568506240845, -0.20678895711898804, 0.06805740296840668, -0.026497604325413704, 0.057479459792375565, -0.14443311095237732, -0.3106374740600586, 0.1067962720990181, -0.4806288778781891, -0.03430910408496857, -0.052356574684381485, 0.9416347742080688, 0.6436660289764404, -0.3617396056652069, -0.20326825976371765, -0.8418834805488586, 0.8824405670166016, -1.0182985067367554, 0.49777036905288696, 0.6124951243400574, 0.09423178434371948, -0.039702158421278, -0.47902432084083557, -0.4100746810436249, -0.06136619672179222, -0.18855851888656616, 0.3239174485206604, -0.42418646812438965, 0.16243812441825867, 0.5999535918235779, 0.5950555205345154, -0.7359234094619751, 0.14590619504451752, -0.02918871119618416, -0.373026043176651, 0.5843303203582764, 0.3314304053783417, 0.26034125685691833, -0.2664247155189514, -0.1812187284231186, 0.36907321214675903, -0.46517637372016907, 0.3493940532207489, -0.2790391147136688, 0.03676557168364525, -0.2811921536922455, 0.6672355532646179, -0.03845485672354698, 0.5856571197509766, -0.038067176938056946, -0.9143944978713989, 0.08660327643156052, -0.2637732923030853, -0.3828987777233124, -0.018215861171483994, 0.738288938999176, 0.6660938262939453, 0.21025285124778748, -0.3717331886291504, -0.139036163687706, 0.18521243333816528, 0.2445140928030014, -0.7467383146286011, -0.19046804308891296, 0.5033353567123413, -0.8208132982254028, 0.23157919943332672, -0.15123781561851501, -0.6762058734893799, -0.5717621445655823, -0.3805975317955017, 0.39756402373313904, -0.5483428835868835, -0.3504205346107483, 0.4461824595928192, 0.2857787609100342, 0.001645682961679995, 0.051160428673028946, -0.7517045140266418, 0.21243524551391602, 0.7797272801399231, 0.7178448438644409, -0.46340397000312805, -0.148342102766037, -0.3182675242424011, -0.008062446489930153, -0.28086721897125244, 0.5401871800422668, -0.3330892324447632, -0.2310408651828766, -0.0021625428926199675, 0.1337483674287796, -0.08650755882263184, -0.4861495792865753, 0.6903944611549377, -0.20220503211021423, 0.13576069474220276, -0.7105401158332825, -0.5766993165016174, -0.014070571400225163, 0.32535839080810547, -0.5057218074798584, 0.7666886448860168, 0.2302863746881485, -1.0858042240142822, 0.35532522201538086, -0.5575777888298035, -0.4661495089530945, -0.05172715336084366, 0.18362675607204437, -0.3540116548538208, 0.2548177242279053, 0.05075393244624138, 0.4687868058681488, -0.2221597284078598, 0.4118245840072632, -0.6753783226013184, -0.44155943393707275, 0.6164641976356506, -0.5459045171737671, 0.8926540613174438, 0.31548869609832764, -0.11277353763580322, 0.010859137400984764, -0.8761700391769409, 0.12639544904232025, 0.07219578325748444, -0.2079174518585205, -0.44337061047554016, -0.05471421405673027, -0.26003551483154297, 0.25368064641952515, 0.28211191296577454, -0.21438893675804138, -0.4797881543636322, -0.39768579602241516, 0.2787926197052002, 0.38679638504981995, 0.02030087634921074, 0.19890490174293518, -0.18300281465053558, 0.797083854675293, -0.2825632691383362, 0.3298287093639374, -0.2851860225200653, -0.361532986164093, -0.14234142005443573, -0.7355643510818481, 0.06584756821393967, 0.3986572027206421, -0.20729292929172516, 0.3839402198791504, -0.4003477692604065, -0.0996408760547638, -0.5660118460655212, 0.09467996656894684, 0.39888885617256165, 0.6107348203659058, 0.27865681052207947, -0.31944572925567627, -0.2540450394153595, -0.9656496047973633, -0.5164496302604675, 0.008609134703874588, -0.13802507519721985, 0.09198527038097382, 0.3360409140586853, -0.4750846326351166, 0.8558289408683777, -0.21278955042362213, 0.10281451791524887, -0.182749405503273, -0.11359831690788269, 0.1418331265449524, 0.02235502377152443, 0.5560513138771057, -0.4112274944782257, -0.15305708348751068, -0.29117849469184875, -0.8406237959861755, -0.027718177065253258, 0.09989704936742783, -0.024473190307617188, -0.32171472907066345, -0.07688941061496735, -0.7254756093025208, 0.4248306453227997, 0.45543545484542847, -0.29246285557746887, 0.6010919809341431, -0.09903110563755035, -0.17755363881587982, -1.0088891983032227, -0.027475349605083466, 0.25560256838798523, -0.28825896978378296, -0.6794112324714661, 0.06651033461093903, -0.07576090097427368, -0.12959681451320648, 0.004441373515874147, 0.3675937056541443, -0.345002144575119, -0.06632057577371597, -0.3379150331020355, 0.12247110903263092, 0.24252039194107056, 0.19821201264858246, -0.3552974760532379, 0.38502541184425354, 0.8324811458587646, -0.4874936640262604, 0.3799068331718445, -0.019560839980840683, -0.2999875843524933, 0.8216521739959717, -0.7121714353561401, -0.11003702878952026, -0.18203236162662506, 0.11460430175065994, -1.0513131618499756, -0.43872547149658203, 0.16826169192790985, -0.3061479330062866, 0.30199867486953735, 0.2776370942592621, -0.35468199849128723, -0.5002498030662537, -0.1778447926044464, 0.17402900755405426, 0.42186981439590454, -0.33029717206954956, 0.2684585750102997, 0.5554285645484924, -0.042163025587797165, -0.38798803091049194, -0.7156314253807068, 0.13323277235031128, -0.7185070514678955, -0.45065367221832275, 0.16318078339099884, -0.05742567777633667, -0.6399072408676147, -0.002101176418364048, -0.4230864942073822, 0.029000502079725266, 0.5658757090568542, 0.27642732858657837, 0.1602546125650406, -0.32442963123321533, 0.5278255939483643, -0.2040262371301651, -0.21908503770828247, 0.5784454345703125, -0.07740215957164764, 0.13726451992988586, -0.2307090312242508, -0.3330898582935333, -0.575910210609436, 0.38467347621917725, 0.5998023152351379, -0.45557159185409546, 0.9641016721725464, 0.691280722618103, -0.7968816161155701, 0.10463377088308334, -0.3356560170650482, -0.3439079821109772, -0.33838310837745667, 0.44079792499542236, -0.32648834586143494, -0.8609740734100342, 0.5659804344177246, -0.08480951189994812, -0.08580835163593292, 0.4795936346054077, 0.6290069818496704, -0.1574423760175705, 1.2374519109725952, 0.7811778783798218, 0.0610882043838501, 0.095087930560112, -0.004275830462574959, 0.8195978403091431, -0.8055334687232971, -0.22224971652030945, -0.40979838371276855, -0.20999853312969208, -0.654306948184967, -0.02915175072848797, 0.30692222714424133, 0.2763911485671997, -0.23682041466236115, -0.2502800524234772, -0.44416365027427673, 0.202158123254776, 0.035202402621507645, 0.06333214044570923, 0.2752489745616913, -0.08789591491222382, 0.004285055212676525, -0.41854536533355713, -0.6325919032096863, -0.7276660799980164, 0.8574724197387695, 0.8854689002037048, 1.2566194534301758, 0.2873365879058838, 0.5401483178138733, 0.16078171133995056, 0.5328729152679443, -0.9671000242233276, 0.21667814254760742, 0.04383077099919319, -0.6147080063819885, -0.5325655341148376, -0.3613482415676117, -0.855459451675415, 0.11654402315616608, -0.11949951946735382, -1.2458932399749756, 0.1634766012430191, 0.14427433907985687, -0.750152587890625, -0.0759715735912323, -0.6813879609107971, 0.9468859434127808, -0.41549959778785706, -0.4173830449581146, -0.20020774006843567, -0.6746906042098999, 0.7422871589660645, -0.16893665492534637, 0.3820645213127136, -0.3659663796424866, 0.31620943546295166, 0.612628161907196, -0.2199825942516327, 0.667650580406189, 0.17750683426856995, -0.5403362512588501, -0.1456046849489212, 0.016975080594420433, 0.09987413138151169, 0.33403322100639343, -0.2180997133255005, 0.03799320384860039, 0.28767654299736023, -0.23608432710170746, -0.8384446501731873, 0.8400769829750061, -0.6917784214019775, -0.6764855980873108, -0.21160250902175903, -0.652468740940094, -0.5927486419677734, 0.13949839770793915, 0.15802466869354248, 0.5284113883972168, -0.12688058614730835, 0.10694035142660141, 0.9004355669021606, -0.31815922260284424, -0.03583281859755516, 0.35116347670555115, -0.3256895840167999, -0.20691227912902832, 0.8527182936668396, 0.005285243969410658, 0.32349109649658203, 0.12435340881347656, 0.3555331826210022, -0.39330434799194336, -0.25000566244125366, 0.07929195463657379, 0.39089810848236084, -0.8073827624320984, -0.004609277471899986, -0.5439079999923706, -0.17798511683940887, -0.3462163209915161, 0.2273409068584442, -0.4049639105796814, -0.159468874335289, -0.21018564701080322, -0.22491934895515442, -0.014595241285860538, 0.7288424968719482, -0.1789967268705368, -0.09582445025444031, -0.548526406288147, 0.5752586722373962, 0.2630844712257385, 0.5488074421882629, 0.3640820384025574, -0.48221051692962646, -0.665632963180542, 0.31854766607284546, -0.4364301264286041, -1.2588801383972168, 0.10209836065769196, 0.14020709693431854, 0.7890608310699463, 0.8479121327400208, 0.1158292144536972, 0.7098718881607056, -0.17433761060237885, 0.7158404588699341, 0.23144996166229248, -0.8871056437492371, 0.5345438122749329, -0.07496121525764465, 0.4387306869029999, 0.33705225586891174, 0.5610888004302979, -0.3439634442329407, -0.41878849267959595, -0.5399484038352966, -0.48197484016418457, 0.4952968657016754, 0.05222455784678459, -0.043540943413972855, -0.04663998633623123, 0.5556254982948303, 0.19543075561523438, -0.11441454291343689, -0.6644722819328308, -0.3946135938167572, -0.37921062111854553, -0.16080905497074127, -0.2695087790489197, -0.6650353074073792, -0.4512326717376709, -0.2556237280368805, 0.45774129033088684, -0.23131175339221954, 0.3710574805736542, 0.3299328088760376, 0.11953335255384445, -0.24037273228168488, 0.5551537871360779, 0.6806566715240479, 1.1247020959854126, -0.20212383568286896, 0.5648679733276367, 0.11852060258388519, -0.19467659294605255, -0.02298481948673725, 0.16284847259521484, 0.12425441294908524, -0.02586050145328045, 0.7259112596511841, 0.785198986530304, 0.13528962433338165, -0.5694693922996521, 0.22781267762184143, 0.0325106643140316, 0.010961970314383507, 0.15543198585510254, 0.07436554878950119, 0.443023145198822, 0.26443958282470703, 0.090031698346138, -0.17987559735774994, 0.3727312982082367, -0.7351218461990356, -0.12233420461416245, 0.6574115753173828, -0.5845904350280762, -0.5643407106399536, 0.6752000451087952, -0.3074670433998108, -0.3538612127304077, 0.3706224858760834, -0.10922790318727493, -0.46583762764930725, 0.36375364661216736, 0.6087881922721863, 0.7179998159408569, -0.22871503233909607, 0.33863791823387146, 0.38811391592025757, 0.4136090576648712, -0.10665170103311539, 0.35501906275749207, 0.04357929527759552, -0.6661568284034729, -0.5622069239616394, -0.6846506595611572, -0.15547320246696472, 0.5677375197410583, -1.0522857904434204, -0.442649245262146, -0.1177096739411354, -0.6548253893852234, -0.011072397232055664, -0.017532233148813248, -0.7733023762702942, 0.2959756553173065, 0.3738844692707062, 0.6405636072158813, -0.8295527696609497, 0.49097156524658203, 0.7410870790481567, -0.07389325648546219, -0.900827944278717, 0.6084690093994141, 0.08485104143619537, -0.5591461062431335, 0.20146659016609192, 0.21240240335464478, -0.19018994271755219, -0.3004486560821533, -0.4276299476623535, -0.9567970037460327, 0.9083666205406189, 0.766488790512085, -0.3334769308567047, 0.08411408215761185, 0.2002534568309784, 0.8630844950675964, -0.181360125541687, 0.15575852990150452, 0.6327188611030579, 0.6815707087516785, -0.08247487992048264, -1.0124927759170532, 0.14453497529029846, 0.04838625341653824, 0.19310441613197327, -0.36499664187431335, -0.5274129509925842, 0.5654895305633545, -0.7127934694290161, -0.37887823581695557, -0.1261308193206787, 0.5031226277351379, 0.4465020000934601, 0.4716748297214508, 0.1531035602092743, 0.7187759876251221, 1.1209404468536377, -0.11017005145549774, 1.3234819173812866, -0.2726292908191681, 0.778609037399292, 0.9564159512519836, -0.4090130925178528, 0.45763230323791504, 0.38353049755096436, -0.4326418340206146, 0.2949095070362091, 0.985583484172821, 0.331856906414032, 0.7118965983390808, 0.299780011177063, 0.012394506484270096, -0.5116989612579346, -0.34544000029563904, -0.2673323154449463, 0.20759789645671844, 0.37162184715270996, -0.2982363998889923, -0.28072866797447205, 0.2484348565340042, -0.02046011947095394, -0.028487153351306915, -0.1464020013809204, 0.5559734106063843, 0.5216258764266968, -0.48947423696517944, 0.6934698224067688, 0.09276805073022842, 0.12604574859142303, -0.36977386474609375, 0.0982150286436081, -0.20898054540157318, 0.354206383228302, -0.3160950839519501, -0.7753109931945801, 0.37853074073791504, -0.08696214109659195, -0.3584350347518921, -0.1896902173757553, 0.8689115047454834, -0.3038126230239868, -0.49824804067611694, 0.25017431378364563, 0.6817023158073425, 0.20009557902812958, 0.007838919758796692, -0.7594431042671204, 0.1718772053718567, -0.263990581035614, -0.2985799312591553, 0.3792637288570404, 0.8546451330184937, -0.04614010825753212, 0.8720189929008484, 0.35510122776031494, -0.009980046190321445, -0.10797932744026184, 0.18002091348171234, 0.5038421750068665, -0.4433097839355469, -0.25313684344291687, -1.0535104274749756, 0.4426923394203186, 0.13683509826660156, -0.20646147429943085, 0.8584877848625183, 0.38668113946914673, 0.24876433610916138, 0.042221710085868835, 0.7114849090576172, 0.31435853242874146, 0.37608835101127625, -0.5185412764549255, 0.7384763360023499, -0.8483873009681702, 0.21467703580856323, -0.06350965797901154, -0.817069947719574, -0.18902206420898438, 0.7072318196296692, -0.38332223892211914, 0.23538213968276978, 0.8596815466880798, 0.5204954147338867, -0.06391414999961853, -0.02233904041349888, 0.5429589152336121, 0.5929759740829468, 0.28349336981773376, 0.6425818204879761, 0.7700748443603516, 0.017053775489330292, -0.06807372719049454, -0.20957225561141968, -0.24496908485889435, -0.16672857105731964, -0.8100631833076477, -0.9832133054733276, -0.2714690864086151, -0.39652687311172485, -0.45791634917259216, 0.15386326611042023, 0.5568833947181702, 0.6427410244941711, -0.6339701414108276, 0.17825552821159363, 0.35773923993110657, 0.4335654079914093, -0.463255912065506, -0.23257780075073242, 0.4374254643917084, -0.16376346349716187, -0.16366247832775116, 0.1367703676223755, 0.5146671533584595, -0.2314946949481964, -0.7323516011238098, -0.26597490906715393, 0.34944257140159607, -0.006172616500407457, 0.6085004806518555, 0.15996912121772766, -1.2183011770248413, -0.2030418962240219, 0.07187239825725555, -0.33223578333854675, -0.0023187489714473486, 0.46881404519081116, -0.5571684837341309, 0.37695154547691345, 0.02382967434823513, 0.5550279021263123, -0.056608133018016815, 0.015571211464703083, 0.38244524598121643, -0.12004965543746948, -0.4569062888622284, 0.06725145131349564, 0.45251280069351196, 0.46525657176971436, -0.5759872794151306, 0.23883236944675446, -0.015592323616147041, -0.47319748997688293, -0.8192237019538879, 0.2101348638534546, -0.9894028306007385, -0.04522792994976044, 1.2208669185638428, -0.3964111804962158, -0.22183758020401, -0.09217962622642517, -0.05809948593378067, 0.05137588083744049, 0.02885018289089203, 1.1091406345367432, 1.0631273984909058, -0.19398564100265503, -0.38578662276268005, -0.8105475306510925, 0.49192947149276733, 0.3951205015182495, -0.7960090041160583, 0.2011984884738922, 0.40698668360710144, 0.483773797750473, 0.2799486219882965, 0.48835375905036926, -0.07262624800205231, 0.3841509222984314, -0.3930366039276123, -0.10021708905696869, 0.22783195972442627, -0.046593017876148224, -0.3494991362094879, -0.00848003663122654, 0.16928119957447052, 0.16499175131320953 ]
http://arxiv.org/abs/2406.12053v1
http://arxiv.org/pdf/2406.12053v1
InternalInspector $I^2$: Robust Confidence Estimation in LLMs through Internal States
2024-06-17T19:46:05
2024-06-17T19:46:05
Mohammad Beigi, Ying Shen, Runing Yang, Zihao Lin, Qifan Wang, Ankith Mohan, Jianfeng He, Ming Jin, Chang-Tien Lu, Lifu Huang
cs.CL
cs.CL
Despite their vast capabilities, Large Language Models (LLMs) often struggle with generating reliable outputs, frequently producing high-confidence inaccuracies known as hallucinations. Addressing this challenge, our research introduces InternalInspector, a novel framework designed to enhance confidence estimation in LLMs by leveraging contrastive learning on internal states including attention states, feed-forward states, and activation states of all layers. Unlike existing methods that primarily focus on the final activation state, InternalInspector conducts a comprehensive analysis across all internal states of every layer to accurately identify both correct and incorrect prediction processes. By benchmarking InternalInspector against existing confidence estimation methods across various natural language understanding and generation tasks, including factual question answering, commonsense reasoning, and reading comprehension, InternalInspector achieves significantly higher accuracy in aligning the estimated confidence scores with the correctness of the LLM's predictions and lower calibration error. Furthermore, InternalInspector excels at HaluEval, a hallucination detection benchmark, outperforming other internal-based confidence estimation methods in this task.
[ -0.3174096643924713, -0.39552658796310425, 0.7156773805618286, 0.11189291626214981, -0.053487639874219894, 0.29683178663253784, -0.31509923934936523, -0.5992876887321472, 0.15341641008853912, 0.20872315764427185, -0.43129396438598633, -0.4318731129169464, -0.5865761637687683, 0.1380244940519333, -0.34747207164764404, 0.3958410322666168, 0.08996749669313431, 0.33391255140304565, -0.4955879747867584, 0.33456867933273315, -0.2966936230659485, -0.42656582593917847, -0.5548171401023865, -0.6537157297134399, 0.14812451601028442, 0.6248797178268433, 0.41650334000587463, -0.07190565764904022, 0.3288441300392151, 0.41004011034965515, -0.045972857624292374, 0.505374550819397, -0.5081393718719482, 0.3266199827194214, -0.1294507086277008, -0.44223952293395996, 0.07611235976219177, -0.21616333723068237, 0.7672540545463562, 0.40266042947769165, -0.015386000275611877, -0.1296660602092743, 0.5801350474357605, 0.5763317942619324, -0.9646310210227966, 0.24462054669857025, -0.8663737177848816, 0.11797329783439636, 0.031882550567388535, -0.2381991297006607, -0.40434974431991577, -0.6181187033653259, -0.01261364296078682, -0.19775372743606567, 0.04110225290060043, -0.141869455575943, 0.6868261694908142, 0.4570460021495819, -0.2021399438381195, -0.278240829706192, -0.39283934235572815, 0.6664972901344299, -0.6964998841285706, 0.44950202107429504, 0.6488882303237915, 0.20151540637016296, -0.38701218366622925, -0.825131893157959, -0.6046940088272095, -0.6114596128463745, -0.20929180085659027, 0.17085213959217072, -0.031980328261852264, 0.2151869386434555, -0.025353912264108658, 0.5666374564170837, -0.4771682620048523, 0.3141261637210846, -0.018316131085157394, -0.44930481910705566, 0.33253052830696106, 0.009048822335898876, -0.10362103581428528, -0.04592462629079819, -0.2545362412929535, -0.04948930814862251, -0.4873262643814087, 0.20207086205482483, 0.4085439145565033, 0.3025206923484802, 0.06224561482667923, 0.5098606944084167, -0.27462971210479736, 0.280348539352417, 0.4526716470718384, -0.24120646715164185, 0.3439459800720215, -0.09438097476959229, -0.33237171173095703, 0.34009695053100586, 0.5810682773590088, 0.13658729195594788, 0.20546413958072662, -0.3440607190132141, -0.3054717183113098, 0.30245473980903625, 0.4406766891479492, -0.9667488932609558, -0.39938217401504517, 0.5188299417495728, -0.15770885348320007, -0.2859663963317871, 0.42005014419555664, -0.7416133284568787, -0.7425556778907776, -0.3367663025856018, 0.5926581621170044, -0.679541826248169, -0.31367743015289307, -0.12556655704975128, 0.19043421745300293, 0.2833689749240875, 0.15169812738895416, -0.4385764002799988, 0.5508472919464111, 0.7879893183708191, 0.876757800579071, -0.5533691644668579, -0.21022473275661469, -0.7426169514656067, -0.09898434579372406, -0.5053454041481018, 0.9203372001647949, -0.5485095381736755, -0.2262173295021057, 0.15033642947673798, 0.14399486780166626, -0.06982330232858658, -0.7904812097549438, 0.5256798267364502, -0.11407444626092911, 0.12537267804145813, -0.053210314363241196, -0.8930771946907043, -0.244637131690979, 0.47938865423202515, -0.387910932302475, 1.3859955072402954, 0.11818958073854446, -0.73433917760849, 0.2375156581401825, -0.2271759808063507, -0.2542975842952728, 0.1419348120689392, -0.3390118479728699, -0.30517029762268066, 0.31883302330970764, 0.09348330646753311, 0.6505506038665771, -0.13875462114810944, 0.026702338829636574, -0.18597452342510223, -0.7446702122688293, 0.5817062854766846, -0.1329115331172943, 0.44808271527290344, -0.09931391477584839, -0.503328800201416, 0.5086755752563477, -0.6920742988586426, 0.14736877381801605, -0.24680566787719727, 0.020654091611504555, -0.18789561092853546, -0.12638817727565765, -0.19239507615566254, 0.10601605474948883, 0.19013550877571106, -0.6106821298599243, -0.2966363728046417, -0.47958654165267944, -0.07785298675298691, 0.8619791865348816, 0.20862837135791779, 0.32820773124694824, -0.16268892586231232, 0.4754849076271057, 0.20149585604667664, -0.1015002429485321, 0.019058987498283386, -0.35567158460617065, -0.6445017457008362, -0.4835032522678375, -0.06972598284482956, 0.48087626695632935, -0.553375244140625, 0.745744526386261, 0.007517979014664888, -0.619570255279541, -0.4795158803462982, 0.2734893262386322, 0.5910033583641052, 0.850050687789917, 0.3205636739730835, -0.15376245975494385, -0.42600423097610474, -0.9300790429115295, -0.18227414786815643, -0.17071883380413055, -0.1823703944683075, -0.22566205263137817, 0.4275946319103241, -0.3521850109100342, 0.49734705686569214, -0.2530796527862549, -0.49179431796073914, -0.1738651841878891, 0.1181180402636528, 0.20206038653850555, 0.4568959176540375, 0.08923590183258057, -0.48398101329803467, -0.6526635885238647, 0.058383237570524216, -0.7419194579124451, 0.09003141522407532, -0.04408359155058861, -0.19070683419704437, 0.28382572531700134, 0.7636392712593079, -0.4057098627090454, 0.32677918672561646, 0.5411332249641418, -0.2194838523864746, 0.4573521018028259, -0.10448077321052551, 0.0959036648273468, -1.1103049516677856, -0.1416376680135727, 0.3123701512813568, -0.2340644896030426, -0.5320100784301758, 0.1927952766418457, 0.3799227774143219, 0.44176599383354187, -0.1723133772611618, 0.43251490592956543, -0.5586677193641663, -0.03433440253138542, -0.3308837115764618, 0.2661232650279999, -0.22864046692848206, 0.37137314677238464, -0.033281031996011734, 0.9092444777488708, 0.5321788787841797, -0.5023993849754333, 0.07309113442897797, 0.10709220170974731, -0.8859115242958069, 0.7345991730690002, -0.446246862411499, 0.24983935058116913, -0.17754322290420532, -0.01352122612297535, -1.3542977571487427, -0.3646651804447174, 0.25415951013565063, -0.528999924659729, 0.6016831994056702, 0.05641154572367668, -0.59184330701828, -0.06881099194288254, -0.4577977657318115, -0.17101213335990906, 0.5078527927398682, -0.6465399861335754, 0.6625213027000427, 0.48689672350883484, -0.04046061262488365, -0.6345769762992859, -0.7667835354804993, 0.10255753248929977, 0.005991097539663315, -0.30310752987861633, 0.30148592591285706, -0.2527301013469696, -0.5018220543861389, -0.12913991510868073, -0.25192591547966003, -0.32381972670555115, 0.020062362775206566, 0.5240929126739502, 0.084446020424366, -0.015476331114768982, 0.31387531757354736, 0.07820018380880356, -0.0957556813955307, 0.19090460240840912, 0.019668037071824074, 0.5046752095222473, -0.25413841009140015, -0.3964096009731293, -0.6471739411354065, 0.12824879586696625, 0.34049269556999207, -0.017878791317343712, 0.6191250085830688, 0.5879928469657898, -0.6989333033561707, -0.45070499181747437, -0.7833736538887024, -0.5012526512145996, -0.5130032300949097, 0.5840560793876648, -0.5719878673553467, -0.7179474830627441, 0.39864233136177063, 0.12432259321212769, -0.132740318775177, 0.27852627635002136, 0.5353146195411682, -0.10705924034118652, 0.7692902088165283, 0.5317625999450684, -0.03927150368690491, 0.2855013906955719, 0.009150557219982147, 0.04216218739748001, -0.867364227771759, -0.49095600843429565, -0.4639216661453247, -0.2753013074398041, -0.46713531017303467, -0.462383896112442, 0.43695876002311707, -0.04338904097676277, -0.35506996512413025, 0.03844008222222328, -0.6264047026634216, 0.5172085165977478, 0.4858257472515106, 0.3651862144470215, 0.3485226631164551, 0.16998110711574554, -0.1988992989063263, -0.48795419931411743, -0.340631902217865, -0.30975180864334106, 0.8502398133277893, 0.4594855010509491, 0.9079038500785828, 0.08251070231199265, 0.7377212643623352, 0.012170675210654736, 0.5722160935401917, -0.9205885529518127, 0.5126686692237854, 0.03548875078558922, -0.2908394932746887, -0.1831352710723877, -0.30718323588371277, -0.3670487105846405, 0.3131598234176636, -0.20160411298274994, -0.9261694550514221, 0.39707645773887634, 0.12857064604759216, -0.1549939513206482, 0.318138062953949, -0.46096155047416687, 0.47239547967910767, -0.12862779200077057, -0.5193488597869873, -0.252887099981308, -0.545294463634491, 0.5579288005828857, -0.08725359290838242, -0.2881053686141968, -0.15877753496170044, -0.24194999039173126, 0.15958306193351746, -0.10029302537441254, 1.0518298149108887, 0.0051611983217298985, -0.26110437512397766, 0.18310976028442383, 0.3537987470626831, 0.7238368988037109, 0.09217219799757004, -0.49381139874458313, 0.16970551013946533, -0.2311786413192749, 0.018949953839182854, -0.38103291392326355, 0.9948774576187134, -0.5596038699150085, -0.24115565419197083, -0.5797625780105591, -0.43207061290740967, -0.651688277721405, -0.13518688082695007, 0.5360776782035828, 0.31450340151786804, -0.20202891528606415, 0.38590535521507263, 0.8168882727622986, -0.09363474696874619, 0.316622257232666, 0.18790076673030853, 0.1328088641166687, -0.5046434998512268, 0.8252317905426025, -0.09536121785640717, 0.27807074785232544, 0.5611609816551208, 0.19497795403003693, -0.4896489977836609, -0.44342806935310364, 0.149093359708786, 0.25016453862190247, -1.0394175052642822, -0.41101038455963135, -0.6035265326499939, -0.5703283548355103, -0.30289411544799805, -0.03399193286895752, -0.4233156144618988, 0.012866097502410412, -0.23580209910869598, -0.35628843307495117, 0.08028692752122879, 0.6345580816268921, -0.017312468960881233, 0.15256722271442413, -0.32556477189064026, 0.3432910740375519, 0.33438554406166077, 0.42538154125213623, -0.17993146181106567, -0.8366857767105103, -0.2630939781665802, -0.25785547494888306, -0.16379953920841217, -0.8710412383079529, 0.39403969049453735, 0.26721665263175964, 0.823722779750824, 0.6278445720672607, 0.0538090281188488, 0.8944475054740906, -0.16739626228809357, 0.6646391749382019, 0.06229820102453232, -1.0327584743499756, 0.15724553167819977, 0.4014809727668762, 0.4556390941143036, 0.9321000576019287, 0.5076006650924683, -0.2033398449420929, -0.6910865306854248, -0.19759628176689148, -0.5308781266212463, 0.2440640926361084, 0.11795875430107117, -0.07112841308116913, -0.0557764396071434, 0.2719642221927643, 0.344888836145401, 0.33819273114204407, -0.8065811991691589, -0.026368778198957443, -0.14127206802368164, -0.44441649317741394, -0.1988452970981598, -0.5319165587425232, -0.07954465597867966, -0.2689260244369507, 0.9268538951873779, -0.47698748111724854, 0.3102371096611023, 0.4767756760120392, -0.3457542955875397, -0.2846392095088959, 0.04627521336078644, 0.5047467350959778, 0.8057450652122498, -0.4843460023403168, 0.33774977922439575, 0.11739731580018997, -0.4433172941207886, -0.028217189013957977, 0.10882523655891418, -0.039292629808187485, 0.19300399720668793, 0.40887507796287537, 0.4403616786003113, 0.4813319146633148, -0.6811766028404236, 0.4870823919773102, -0.060343142598867416, -0.16425707936286926, -0.824987530708313, -0.08631971478462219, -0.07205789536237717, 0.48795953392982483, 0.31737712025642395, -0.16894598305225372, 0.2812075912952423, -0.4026535451412201, 0.22545310854911804, 0.5919991135597229, -0.9635809659957886, -0.2309335321187973, 0.4596758782863617, 0.047179847955703735, -0.10088542103767395, 0.5377853512763977, -0.16415071487426758, -0.40487605333328247, 0.4019838571548462, 0.638709306716919, 1.513309121131897, -0.5195600390434265, 0.15856356918811798, 0.6715927124023438, 0.5911831855773926, -0.16162392497062683, 0.48992109298706055, -0.022216346114873886, -0.9608102440834045, -0.3990268111228943, -0.5831872224807739, -0.6499117016792297, 0.3694396913051605, -0.5839037299156189, -0.09796880185604095, -0.47035250067710876, 0.05405324697494507, -0.4848180115222931, 0.03619115427136421, -0.4907890856266022, 0.1004871353507042, 0.23847873508930206, 0.8534848690032959, -0.518274188041687, 0.933618426322937, 0.36844363808631897, -0.33157649636268616, -0.4303165674209595, 0.5431122779846191, 0.1702992022037506, -0.6530439853668213, 0.5336092710494995, 0.5509908199310303, -0.6948091983795166, -0.14259269833564758, -0.6362816691398621, -0.7549042105674744, 0.9471572637557983, 0.42744651436805725, -0.565477192401886, 0.20777861773967743, -0.19187961518764496, 0.3612535893917084, -0.4673737585544586, 0.17635269463062286, 0.5156014561653137, 0.5078202486038208, 0.029595524072647095, -0.4941616356372833, 0.20453430712223053, -0.1773524284362793, -0.07294729351997375, 0.02932027354836464, -0.29497775435447693, 0.7523767948150635, -0.12395047396421432, -0.3363458812236786, 0.32958438992500305, 0.8316314220428467, 0.3883945047855377, 0.010163143277168274, 0.6401904821395874, 0.3415668308734894, 0.8840050101280212, -0.12038199603557587, 1.036699891090393, -0.6563134789466858, -0.14005988836288452, 1.614137887954712, -0.3065022826194763, 1.0017051696777344, 0.6453573107719421, 0.11797161400318146, 0.7562950849533081, 0.6167840957641602, 0.11114419251680374, 0.4695020020008087, 0.14822067320346832, -0.42674943804740906, -0.3175099790096283, 0.0032825125381350517, -0.26094990968704224, 0.3516762852668762, 0.5439671277999878, -0.2630665898323059, 0.2506444752216339, -0.2692906856536865, -0.038029272109270096, 0.24914520978927612, -0.172397181391716, 0.8015274405479431, 0.1815289855003357, -0.7377747893333435, 0.3249153792858124, -0.2916746139526367, 0.8036525249481201, -0.8564021587371826, -0.16882602870464325, -0.3591861128807068, 0.6444992423057556, -0.1493971198797226, -0.8379138708114624, 0.012707943096756935, -0.38749995827674866, 0.38316571712493896, 0.1144818663597107, 0.7484294176101685, -0.6000164747238159, -0.5565134286880493, 0.4847281277179718, 0.28637611865997314, -0.06606319546699524, -0.545020341873169, -0.4101036787033081, -0.05156417191028595, -0.27481788396835327, -0.2001495510339737, 0.15691302716732025, 0.32559671998023987, 0.29747578501701355, 0.725898027420044, 0.3196311295032501, 0.1357133388519287, -0.15479911863803864, 0.00413922592997551, 0.6565988063812256, -0.49911314249038696, -0.5075196623802185, -0.6825085282325745, 0.6576704978942871, -0.4796123802661896, -0.46425989270210266, 0.9322314858436584, 0.503841757774353, 0.8657357096672058, -0.12638717889785767, 0.6316283345222473, 0.4401976764202118, 0.6065699458122253, -0.47062480449676514, 0.517305850982666, -0.5171321034431458, 0.07697645574808121, -0.2971747815608978, -1.0333284139633179, -0.24274758994579315, 0.7187362909317017, 0.10340245813131332, -0.13118232786655426, 1.0191080570220947, 1.1901592016220093, 0.044146034866571426, -0.17417047917842865, 0.5810601115226746, 0.5364887714385986, 0.05978564918041229, 0.2925461530685425, 0.8649443984031677, -0.24055729806423187, 0.27414384484291077, -0.7487330436706543, -0.22261269390583038, -0.16248565912246704, -0.8220394253730774, -1.1240566968917847, -0.6711835861206055, -0.18974092602729797, -0.46496447920799255, -0.11233055591583252, 1.0150820016860962, 0.6490386724472046, -1.066054344177246, -0.6063340306282043, -0.09793055802583694, -0.04505657032132149, -0.35768193006515503, -0.2622142434120178, 0.19969256222248077, -0.6121742725372314, -0.8356366753578186, 0.776565670967102, 0.4742635488510132, -0.09016668796539307, -0.6014067530632019, -0.19987356662750244, -0.09983182698488235, 0.2259337157011032, 0.5601311922073364, 0.1107553020119667, -0.868800938129425, -0.26351025700569153, -0.20092834532260895, -0.1696333885192871, 0.09267382323741913, 0.6391870975494385, -0.8113996386528015, 0.5841239094734192, 0.42269840836524963, 0.7441508769989014, 0.5392891764640808, -0.09403328597545624, 0.4492667019367218, -0.7989572882652283, 0.3842037618160248, 0.2814282178878784, 0.4514721930027008, 0.6370657086372375, -0.5455164313316345, 0.7655321955680847, -0.12781953811645508, -0.46291181445121765, -0.9339250326156616, 0.1857604831457138, -0.7175029516220093, -0.3576565682888031, 0.9555812478065491, 0.19889357686042786, -0.07070127874612808, -0.11447394639253616, -0.04180658981204033, 0.027446452528238297, -0.43998125195503235, 0.8668639063835144, 0.44510048627853394, -0.17963474988937378, -0.36032769083976746, -0.4699203372001648, 0.7630462050437927, 0.30566343665122986, -1.0437873601913452, -0.26764440536499023, 0.40145209431648254, 0.15870310366153717, 0.18876244127750397, 0.3616737723350525, -0.08939453214406967, 0.05580780282616615, -0.10175435245037079, 0.20835445821285248, 0.07125860452651978, -0.4278194010257721, -0.45323824882507324, 0.4323834180831909, -0.02239164337515831, -0.23759837448596954 ]
http://arxiv.org/abs/2406.12052v1
http://arxiv.org/pdf/2406.12052v1
UniGLM: Training One Unified Language Model for Text-Attributed Graphs
2024-06-17T19:45:21
2024-06-17T19:45:21
Yi Fang, Dongzhe Fan, Sirui Ding, Ninghao Liu, Qiaoyu Tan
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Representation learning on text-attributed graphs (TAGs), where nodes are represented by textual descriptions, is crucial for textual and relational knowledge systems and recommendation systems. Currently, state-of-the-art embedding methods for TAGs primarily focus on fine-tuning language models (e.g., BERT) using structure-aware training signals. While effective, these methods are tailored for individual TAG and cannot generalize across various graph scenarios. Given the shared textual space, leveraging multiple TAGs for joint fine-tuning, aligning text and graph structure from different aspects, would be more beneficial. Motivated by this, we introduce a novel Unified Graph Language Model (UniGLM) framework, the first graph embedding model that generalizes well to both in-domain and cross-domain TAGs. Specifically, UniGLM is trained over multiple TAGs with different domains and scales using self-supervised contrastive learning. UniGLM includes an adaptive positive sample selection technique for identifying structurally similar nodes and a lazy contrastive module that is devised to accelerate training by minimizing repetitive encoding calculations. Extensive empirical results across 9 benchmark TAGs demonstrate UniGLM's efficacy against leading embedding baselines in terms of generalization (various downstream tasks and backbones) and transfer learning (in and out of domain scenarios). The code is available at https://github.com/NYUSHCS/UniGLM.
[ -0.04683592915534973, -0.48770031332969666, 0.2556801438331604, -0.08278965204954147, -0.583695650100708, 0.5691559910774231, -0.005153476260602474, -0.20775893330574036, 0.10475246608257294, 0.5046115517616272, -0.21991586685180664, -0.896912693977356, -0.34045854210853577, -0.285473495721817, -0.14846259355545044, 1.15518057346344, -0.12358029186725616, 0.13251623511314392, -0.30200114846229553, -0.3926892876625061, -0.3053748905658722, -0.5724553465843201, -0.360564649105072, -0.8613842725753784, 0.5374715924263, 0.0770966187119484, 0.3969254493713379, 0.4519350528717041, 0.3361847996711731, 0.2214130163192749, 0.13267159461975098, 0.4256959557533264, -0.5151368975639343, -0.1805965006351471, -0.24299749732017517, 0.13619479537010193, -0.3296612501144409, -0.11068715900182724, 0.707425057888031, 1.1355304718017578, -0.08023873716592789, 0.011092266999185085, 0.3915540874004364, 0.5190138816833496, -0.3643236756324768, 0.18589890003204346, -0.765631377696991, -0.1504143625497818, -0.04602700471878052, 0.047093749046325684, -0.6691957116127014, -0.006835657637566328, 0.07139578461647034, -0.7077556252479553, 0.10800493508577347, 0.2548983097076416, 0.891523540019989, 0.15746618807315826, -0.6041277647018433, -0.06591829657554626, -0.2747012674808502, 0.5060259699821472, -0.411060631275177, 0.5205777883529663, 0.20314881205558777, 0.04538339748978615, -0.21116553246974945, -1.1618187427520752, -0.058836452662944794, 0.0666131004691124, -0.426748663187027, -0.06576700508594513, -0.4302283227443695, 0.22875691950321198, -0.3313854932785034, 0.03438000753521919, -0.6494074463844299, 0.24699847400188446, -0.11712141335010529, -0.23532944917678833, 0.35711029171943665, -0.031938426196575165, 0.26235297322273254, -0.026326097548007965, -0.8004239201545715, 0.19571907818317413, -0.6446724534034729, -0.10418383777141571, 0.28960269689559937, 0.6604437828063965, 0.08729838579893112, 0.2477729171514511, -0.013644651509821415, 0.7332600951194763, -0.25508445501327515, 0.36802855134010315, 0.40248003602027893, -0.034952983260154724, -0.4774811863899231, -0.08134550601243973, 0.9711069464683533, 0.2252519428730011, 0.34386318922042847, -0.5448370575904846, -0.07016763091087341, 0.1748458594083786, 0.20290054380893707, -0.636908233165741, -0.6621149778366089, -0.19179758429527283, -0.35851210355758667, -0.12456455081701279, 0.05338296666741371, -0.4717143476009369, -0.2704847455024719, -0.008825251832604408, 0.30744627118110657, -0.3636217415332794, -0.11431464552879333, 0.204012930393219, -0.19368278980255127, -0.3165777623653412, 0.07098724693059921, -0.6445416808128357, 0.3797875940799713, 0.39522436261177063, 0.7346014380455017, -0.16512706875801086, -0.47852271795272827, -0.296431303024292, 0.3533952832221985, -0.17055974900722504, 1.0459215641021729, -0.8020693063735962, -0.33683526515960693, 0.14243634045124054, 0.11853998154401779, -0.1852751225233078, -0.042855728417634964, 0.6131343841552734, -0.5037587881088257, 0.0015527349896728992, -0.03686158359050751, -0.8169459700584412, -0.3081008791923523, 0.08202347159385681, -0.5642110705375671, 1.2150152921676636, 0.3900357186794281, -0.9574462175369263, 0.25940898060798645, -0.6613801121711731, -0.5327407121658325, 0.2740272283554077, -0.07827090471982956, -0.4635952413082123, -0.13108493387699127, 0.24471279978752136, 0.6798402667045593, -0.27710190415382385, 0.14674563705921173, -0.5430617332458496, -0.29292261600494385, -0.0000803611328592524, -0.16304334998130798, 0.712187647819519, 0.13906054198741913, 0.15886233747005463, 0.17436686158180237, -0.6686818599700928, 0.331394225358963, 0.2895611822605133, -0.23406340181827545, -0.7722315192222595, -0.10689667612314224, 0.24526602029800415, -0.12500089406967163, 0.1762377768754959, -0.8527939915657043, 0.40715062618255615, -0.3585292100906372, 0.6170979738235474, 0.7149759531021118, -0.025164010003209114, 0.3702445924282074, -0.10106459259986877, 0.12530037760734558, -0.18425370752811432, -0.21560968458652496, -0.3430391252040863, -0.34929633140563965, -0.35673072934150696, -0.4294101297855377, 0.5986201167106628, 0.12003462761640549, -0.5841761827468872, 0.4498809278011322, -0.2761550545692444, -0.45185837149620056, -0.6196663975715637, 0.3215026259422302, 0.7325226068496704, 0.5341293811798096, 0.4066774845123291, -0.40839675068855286, -0.5153165459632874, -0.5257067084312439, -0.31727349758148193, -0.11963025480508804, 0.15895196795463562, 0.20245271921157837, 0.4144485294818878, -0.45593735575675964, 0.9426103234291077, -0.7197457551956177, -0.7146826982498169, -0.17483894526958466, 0.3778170943260193, -0.04862460866570473, 0.44410911202430725, 0.652622640132904, -0.624708354473114, -0.8513829708099365, 0.30588632822036743, -0.6078262329101562, -0.062496643513441086, 0.1655178666114807, -0.09721407294273376, 0.2027612328529358, 0.40880677103996277, -0.29068219661712646, 0.2701469659805298, 0.6986100077629089, -0.45854732394218445, -0.021594781428575516, -0.5227177143096924, -0.32633963227272034, -0.9747087359428406, 0.05360133573412895, -0.05136656388640404, -0.5187392830848694, -0.4805331230163574, -0.022759851068258286, 0.10232077538967133, 0.0006815558299422264, -0.12684562802314758, 0.659646213054657, -0.758732259273529, -0.05915220454335213, -0.13969938457012177, 0.225568026304245, 0.31582197546958923, 0.7861712574958801, -0.32241290807724, 0.3799290955066681, 0.7574082612991333, -0.348025918006897, 0.2812878489494324, 0.23040664196014404, -0.14160428941249847, 0.4614838659763336, -0.7113066911697388, 0.4605240225791931, -0.10310107469558716, 0.22780129313468933, -1.4496846199035645, 0.0010403391206637025, 0.06917934864759445, -0.4533984661102295, 0.5432159304618835, -0.4418652057647705, -0.4227132797241211, -0.46354109048843384, -0.17215083539485931, 0.2733732759952545, 0.4368831515312195, -0.8656421303749084, 0.7493236660957336, 0.6090193390846252, 0.2765715420246124, -0.6143366694450378, -0.6487277150154114, -0.2589794099330902, 0.055710550397634506, -0.34502488374710083, 0.48386621475219727, -0.041597891598939896, 0.4119691550731659, 0.534525454044342, -0.03743588551878929, -0.20222890377044678, 0.2283363789319992, 0.3631118834018707, 0.0975390300154686, 0.08859650790691376, 0.5486844778060913, 0.15093833208084106, -0.32866138219833374, -0.2562766969203949, -0.839268147945404, 0.6698969006538391, -0.17112529277801514, -0.5408002734184265, -0.17697404325008392, 0.37258583307266235, 0.20314708352088928, -0.4791976809501648, 0.4239145815372467, 0.7177960276603699, -0.32166656851768494, -0.48807772994041443, 0.0032482142560184, 0.34439924359321594, -0.4577704668045044, 0.5209550857543945, -0.32066813111305237, -1.0175507068634033, 0.520111083984375, -0.4845934212207794, -0.017223043367266655, 0.42700985074043274, 0.43873846530914307, -0.30675771832466125, 1.1782398223876953, 0.8539304733276367, -0.23968000710010529, 0.37431600689888, -0.2921384871006012, 0.07716862112283707, -0.9639227986335754, -0.33532699942588806, -0.49536654353141785, -0.1770448088645935, -0.5232030749320984, -0.40873992443084717, -0.010671762749552727, 0.18971651792526245, -0.4637947380542755, 0.22456791996955872, -0.9067586064338684, 0.7474861741065979, 0.3024648129940033, -0.05976032838225365, 0.3120889961719513, 0.2518988847732544, -0.6573629975318909, 0.10237863659858704, -0.698688268661499, -0.4154518246650696, 1.2409874200820923, 0.23426030576229095, 1.2385042905807495, -0.16758482158184052, 0.6112613081932068, 0.5191089510917664, 0.6058028340339661, -0.5651726126670837, 0.19775784015655518, -0.7169901132583618, -0.3398451507091522, -0.2085573971271515, -0.32228749990463257, -1.1762287616729736, 0.414593905210495, -0.054325170814991, -0.9033743143081665, -0.11048220098018646, 0.2335064709186554, 0.03352363407611847, 0.5881461501121521, -0.6986562609672546, 0.9445176124572754, -0.23823244869709015, 0.10289506614208221, 0.23788946866989136, -0.651475727558136, -0.28519320487976074, 0.05443419888615608, 0.11365287750959396, -0.33206844329833984, 0.11313535273075104, 0.6401174068450928, 0.0889345109462738, 1.0938661098480225, -0.14523008465766907, 0.19613368809223175, 0.2862885892391205, 0.10954906046390533, 0.5106990337371826, -0.06799742579460144, 0.14612352848052979, 0.2824515402317047, -0.21406400203704834, -0.38723430037498474, -0.43406596779823303, 0.7405543923377991, -0.9350813031196594, -0.11426610499620438, -0.280986487865448, -0.5860416889190674, -0.2664806544780731, 0.5368853211402893, 0.2563561499118805, 0.626752495765686, -0.6491040587425232, 0.1301966905593872, 0.49624353647232056, 0.27775225043296814, 0.3595246970653534, 0.37936487793922424, -0.4318684935569763, -0.4843290150165558, 0.9139113426208496, 0.01296385657042265, 0.0973077118396759, 0.5572512149810791, 0.14671777188777924, -0.4284892976284027, -0.5186101794242859, -0.3997892141342163, 0.3211899995803833, -0.9979997277259827, -0.5239192843437195, -0.832144021987915, -0.022129463031888008, -0.5235605835914612, -0.24143551290035248, -0.35042423009872437, -0.2862265706062317, -0.3936396837234497, -0.2383458912372589, 0.23423241078853607, 1.037102460861206, 0.09919174760580063, 0.44023242592811584, -0.5648308396339417, 0.011722489260137081, 0.2175690233707428, 0.7236849665641785, -0.16861675679683685, -0.42321696877479553, -0.2851506173610687, -0.03048897162079811, -0.16610462963581085, -0.782940685749054, 0.30423247814178467, 0.4133084714412689, 0.8917093276977539, 0.2720429599285126, 0.07253921777009964, 0.4042621850967407, -0.5999994874000549, 0.3878757059574127, 0.35304030776023865, -0.9293370842933655, 0.12943489849567413, -0.3008202016353607, 0.04813773185014725, 0.4374341666698456, 0.5997246503829956, -0.5005775094032288, -0.0947267934679985, -0.46582895517349243, -0.6731534600257874, 0.4031268358230591, -0.10953453928232193, 0.3388824760913849, 0.1153060644865036, 0.28247812390327454, -0.0194537416100502, 0.122309610247612, -0.8793200850486755, -0.48490360379219055, -0.30852141976356506, -0.4773794114589691, -0.07761484384536743, -0.12208078056573868, -0.27253517508506775, -0.3813897967338562, 0.5071825385093689, -0.6520698070526123, 0.36090782284736633, 0.13224314153194427, -0.23399950563907623, -0.14631423354148865, 0.1669219732284546, -0.11554262787103653, 0.5038440227508545, -0.1649027168750763, 0.42940279841423035, 0.0674675852060318, -0.08667733520269394, 0.039483442902565, 0.3802371025085449, -0.11650387197732925, 0.13717912137508392, 0.37671878933906555, 0.9309242367744446, 0.3241438567638397, -0.33448997139930725, 0.4247702658176422, 0.058389026671648026, -0.12691067159175873, 0.22438789904117584, -0.3313233554363251, 0.2554166615009308, 0.009224358946084976, 0.2818812131881714, -0.10981921851634979, 0.02404676377773285, -0.555927038192749, 0.3503379821777344, 0.7026035189628601, -0.8054250478744507, -0.3178897500038147, 0.6035868525505066, 0.2813308835029602, -0.22220084071159363, 0.4302482306957245, -0.5101935863494873, -0.820701003074646, 0.24671457707881927, 0.9629186391830444, 0.8253519535064697, -0.21840880811214447, 0.5580309629440308, 0.07416171580553055, 0.22311708331108093, 0.3133751153945923, 0.1046445295214653, 0.2169131189584732, -0.8564753532409668, -0.10649368911981583, -0.5657634735107422, -0.20363877713680267, -0.4905109703540802, -0.5391587615013123, -0.017231561243534088, -0.4062667191028595, -0.05943208932876587, 0.19065620005130768, 0.018341904506087303, -0.6187281012535095, -0.003341902978718281, -0.029665615409612656, 0.5939640402793884, -1.03797447681427, 1.1286619901657104, 1.1645511388778687, -0.39521166682243347, -0.8291945457458496, -0.40871453285217285, -0.22732141613960266, -1.0136491060256958, 0.4850182831287384, 0.10187956690788269, -0.22218352556228638, 0.37501060962677, -0.6678704023361206, -0.8093087077140808, 1.0315401554107666, 0.5064608454704285, -0.1932397186756134, -0.04974754899740219, -0.0018134359270334244, 0.6605998277664185, -0.948463499546051, 0.04128716140985489, 0.23104876279830933, 0.08740926533937454, 0.1692475527524948, -0.6483398675918579, 0.11390793323516846, -0.1691451370716095, 0.06815078854560852, 0.5540677905082703, -0.6653509140014648, 0.9942736029624939, -0.2865341007709503, -0.4477778673171997, -0.06130354851484299, 0.4843951165676117, -0.1998041570186615, 0.17545509338378906, 0.30322515964508057, 0.7488127946853638, 1.1152316331863403, -0.13380086421966553, 1.0187902450561523, -0.19156070053577423, 0.8680484890937805, 1.3036785125732422, -0.38472920656204224, 0.5479837656021118, 0.15971975028514862, 0.004541453439742327, 0.9147018790245056, 0.519831120967865, -0.07227658480405807, 0.6783766746520996, 0.05818900465965271, 0.09869709610939026, -0.39707937836647034, -0.4866779148578644, -0.29257139563560486, 0.3352876305580139, 0.17424915730953217, -0.3864137828350067, -0.546321451663971, -0.03157762065529823, 0.09795472025871277, 0.25852155685424805, -0.19917993247509003, 0.6936245560646057, 0.03626829758286476, -0.21231698989868164, 0.43695539236068726, 0.011287933215498924, 0.4520350694656372, -0.7609225511550903, -0.11991038173437119, -0.10783553868532181, 0.27074599266052246, -0.09212519228458405, -0.8786348700523376, -0.08289725333452225, -0.18391261994838715, -0.00358417141251266, -0.2185637354850769, 1.0848164558410645, -0.6450477838516235, -0.41775745153427124, 0.7887896299362183, 0.3737618327140808, -0.11911015957593918, 0.06257190555334091, -0.8104208111763, -0.14614154398441315, 0.04998735338449478, -0.00124997622333467, 0.3203047513961792, 0.6475470662117004, -0.03600621223449707, 0.6829364895820618, 0.6986035108566284, -0.15775805711746216, -0.07608868181705475, 0.38563528656959534, 1.2916722297668457, -0.424450546503067, -0.5609630346298218, -0.7050726413726807, 0.5045025944709778, -0.12113600224256516, -0.3383648991584778, 0.7472624182701111, 0.37416574358940125, 0.9510720372200012, 0.2635860741138458, 0.6754376292228699, 0.14583361148834229, 0.3528273105621338, -0.37848958373069763, 0.6783345937728882, -0.6322228908538818, -0.08701128512620926, -0.3564857840538025, -0.7087845802307129, -0.533891499042511, 0.49913665652275085, 0.22665870189666748, 0.042330361902713776, 0.7600031495094299, 0.42784592509269714, 0.020076744258403778, -0.2728703022003174, 0.3740227520465851, 0.08644923567771912, 0.21068093180656433, 0.69783616065979, 0.5797897577285767, -0.37231600284576416, 0.5912858843803406, 0.04198885336518288, -0.03292911872267723, -0.001937215798534453, -0.9138278365135193, -1.3260059356689453, -0.6921257376670837, -0.20445294678211212, -0.1153239756822586, 0.027438197284936905, 0.848680853843689, 0.6731249690055847, -0.5849822759628296, 0.00016358328866772354, 0.0501372367143631, 0.3108046352863312, -0.024458425119519234, -0.10245472937822342, 0.5926041603088379, -0.3770133852958679, -0.46455278992652893, 0.18717801570892334, 0.44451895356178284, 0.18553614616394043, -0.1721358746290207, -0.11185499280691147, -0.3951447308063507, -0.0867554321885109, 0.3672294318675995, 0.16378425061702728, -0.4600687623023987, -0.4979608654975891, -0.13746771216392517, -0.2323375940322876, 0.28349483013153076, 0.9961729049682617, -0.6854248642921448, 0.6814091205596924, 0.3999685049057007, 0.7631142139434814, 0.49979424476623535, 0.04462961107492447, 0.23941895365715027, -1.2854830026626587, 0.10120254755020142, 0.11957984417676926, 0.6892748475074768, 0.5472007393836975, -0.27219024300575256, 0.6499622464179993, 0.3486621677875519, -0.4895789623260498, -0.9508277773857117, 0.2329959124326706, -0.9567865133285522, -0.5112090110778809, 0.9646028280258179, -0.5689875483512878, -0.04930046200752258, -0.3658354580402374, -0.14343757927417755, 0.4874725341796875, -0.33504220843315125, 0.27896347641944885, 0.4349219799041748, 0.005129445344209671, 0.15269871056079865, 0.1786966472864151, 0.27386409044265747, 0.0895102471113205, -0.6479593515396118, 0.316987007856369, 0.2750522196292877, 0.33756184577941895, 0.15867163240909576, 0.8702159523963928, 0.16335946321487427, -0.16805709898471832, -0.02792590670287609, 0.227412611246109, -0.431298166513443, -0.5165783762931824, -0.31315964460372925, 0.21347415447235107, 0.045702386647462845, -0.16431763768196106 ]
http://arxiv.org/abs/2406.12050v1
http://arxiv.org/pdf/2406.12050v1
Learn Beyond The Answer: Training Language Models with Reflection for Mathematical Reasoning
2024-06-17T19:42:22
2024-06-17T19:42:22
Zhihan Zhang, Zhenwen Liang, Wenhao Yu, Dian Yu, Mengzhao Jia, Dong Yu, Meng Jiang
cs.CL
cs.CL
Supervised fine-tuning enhances the problem-solving abilities of language models across various mathematical reasoning tasks. To maximize such benefits, existing research focuses on broadening the training set with various data augmentation techniques, which is effective for standard single-round question-answering settings. Our work introduces a novel technique aimed at cultivating a deeper understanding of the training problems at hand, enhancing performance not only in standard settings but also in more complex scenarios that require reflective thinking. Specifically, we propose reflective augmentation, a method that embeds problem reflection into each training instance. It trains the model to consider alternative perspectives and engage with abstractions and analogies, thereby fostering a thorough comprehension through reflective reasoning. Extensive experiments validate the achievement of our aim, underscoring the unique advantages of our method and its complementary nature relative to existing augmentation techniques.
[ -0.6986573934555054, -0.8415893912315369, 0.6401121020317078, -0.021264616400003433, -0.06521264463663101, 0.28702637553215027, -0.39102035760879517, -0.36441770195961, -0.08900213241577148, 0.802979588508606, -0.915663480758667, -0.20649339258670807, -0.4672330915927887, -0.09918053448200226, -0.1471177488565445, 1.0523426532745361, -0.013475276529788971, 0.3407358229160309, -0.5410792827606201, -0.04469049721956253, -0.4811968207359314, -0.25061288475990295, -0.49070900678634644, -0.37727823853492737, 0.17594300210475922, 0.4732210338115692, 0.5186073780059814, 0.2622436583042145, 0.5330222249031067, 0.2969845235347748, 0.2001437246799469, 0.7606183290481567, -0.48426640033721924, 0.22305981814861298, -0.2230508178472519, -0.8400689959526062, -0.1528913676738739, 0.14088675379753113, 0.641829252243042, 1.126644253730774, -0.15672461688518524, 0.3321102559566498, 0.03428938612341881, 0.7785643935203552, -0.7633547782897949, 0.3017933666706085, -0.7256893515586853, 0.1029684916138649, 0.21069037914276123, -0.05486099421977997, -0.3420465886592865, -0.6396899223327637, 0.1837443858385086, -0.8373661637306213, 0.25675395131111145, -0.3758285641670227, 0.40144258737564087, 0.348696231842041, -0.21446506679058075, 0.0412958525121212, -0.7547814846038818, 0.8972794413566589, -0.6206163167953491, 0.34368565678596497, 0.34894445538520813, 0.38089972734451294, 0.1511453539133072, -0.520514190196991, -0.4749998152256012, -0.0410202331840992, -0.12465772032737732, 0.23367191851139069, 0.339129775762558, 0.07966644316911697, 0.5478813648223877, 0.47889459133148193, -0.37760016322135925, -0.5620306134223938, -0.4804627001285553, 0.22596167027950287, 0.7693513631820679, 0.20336326956748962, 0.19309063255786896, 0.38327959179878235, 0.10796751081943512, -0.01089579425752163, -0.5588564276695251, 0.13667377829551697, 0.16942521929740906, 0.41389450430870056, 0.41313421726226807, 0.37658706307411194, -0.27826935052871704, 0.863027811050415, -0.06504295766353607, 0.24633890390396118, 0.20888637006282806, -0.20511870086193085, 0.026245955377817154, -0.08741144835948944, 0.11820784956216812, 0.17620861530303955, 0.49860769510269165, -0.19224844872951508, -0.206222802400589, 0.10199888795614243, 0.44006437063217163, -0.768114447593689, -0.37575989961624146, -0.030419042333960533, -0.046840328723192215, -0.3254329264163971, 0.22506017982959747, -0.6263144612312317, -0.19494567811489105, -0.8509863615036011, 0.5406582355499268, -0.29820603132247925, -0.5692062973976135, 0.55417799949646, -0.12057637423276901, 0.09904143959283829, 0.4777015447616577, -0.9766743779182434, 0.5588216781616211, 1.0507010221481323, 0.5282822847366333, 0.28683409094810486, -0.13950034976005554, -0.7308579683303833, 0.057955075055360794, -0.6520542502403259, 0.8214857578277588, -0.951336145401001, -0.3394981622695923, 0.18721704185009003, -0.12609460949897766, -0.1058155819773674, -0.7362568378448486, 0.39449891448020935, -0.5598470568656921, 0.581104040145874, -0.4158453643321991, -0.55438631772995, -0.413178950548172, 0.3662309944629669, -0.4962083101272583, 1.3305329084396362, 0.2627192735671997, -0.4139930307865143, 0.3561173379421234, -0.9099170565605164, -0.35334011912345886, 0.09442158043384552, -0.12926514446735382, -0.338527649641037, 0.49157455563545227, 0.5843616724014282, 0.21958166360855103, -0.03547578305006027, 0.06052783504128456, -0.5194224715232849, -0.3371734619140625, 0.18125459551811218, -0.2643842399120331, 0.6992426514625549, 0.003957108128815889, -0.07615868747234344, -0.09933992475271225, -0.7843518853187561, 0.4567711353302002, 0.0411413311958313, 0.08018280565738678, -0.542834997177124, -0.17690452933311462, -0.26203933358192444, 0.2617470324039459, 0.23160699009895325, -0.7568572759628296, 0.35050734877586365, -0.8074318170547485, 0.1246994286775589, 0.6360333561897278, 0.10310324281454086, 0.387991338968277, -0.45354393124580383, 0.47807472944259644, -0.06730860471725464, 0.19049225747585297, -0.35007625818252563, -0.3245353698730469, -0.8450414538383484, 0.019524922594428062, 0.01466588769108057, 0.6546126008033752, -0.933070182800293, -0.1624777913093567, -0.15500010550022125, -0.3366526961326599, -1.0503966808319092, 0.4337349534034729, 0.6420890092849731, 0.8394902348518372, 0.694896936416626, -0.13174191117286682, -0.733944296836853, -0.8044033050537109, -0.47480955719947815, 0.2756718695163727, -0.015814118087291718, 0.3690641224384308, 0.49617800116539, 0.20225319266319275, 0.8932833671569824, -1.0275126695632935, -0.1409284770488739, -0.07897919416427612, 0.13690215349197388, 0.2559691071510315, 0.6507492661476135, 0.2658475339412689, -0.8471354246139526, -0.5353366732597351, -0.019036831334233284, -0.9227995872497559, 0.16898919641971588, -0.15127761662006378, -0.035343483090400696, -0.11559008806943893, 0.4036654233932495, -0.29970017075538635, 0.3286552131175995, 0.0793440043926239, -0.007466305512934923, 0.515527606010437, -0.301439493894577, 0.28134971857070923, -0.808585524559021, -0.25597724318504333, 0.12899149954319, -0.2789800763130188, -0.8317315578460693, 0.33539432287216187, -0.130174458026886, -0.10783916711807251, -0.29387685656547546, 0.42876777052879333, -0.4523695707321167, 0.21830840408802032, -0.30851373076438904, 0.3368696868419647, 0.28791606426239014, 0.2694983184337616, 0.27160340547561646, 1.1170604228973389, 0.6167486906051636, -0.48027223348617554, 0.33674898743629456, 0.38239455223083496, -0.5417284965515137, 0.6213948130607605, -0.7249014973640442, 0.3493189811706543, -0.4254969358444214, -0.08009130507707596, -1.0503818988800049, -0.014894112944602966, -0.07528501003980637, -0.505267858505249, 0.2663501501083374, -0.09426224231719971, -0.3474506735801697, -0.33514493703842163, -0.3627919852733612, 0.515310525894165, 0.5294930338859558, -0.674326479434967, 0.5786324739456177, 0.3100934624671936, -0.17176203429698944, -0.5814894437789917, -0.7900446057319641, -0.03465273976325989, -0.13245870172977448, -0.7403492331504822, 0.07159288227558136, -0.09330334514379501, -0.48357802629470825, -0.23790013790130615, -0.04086783900856972, -0.2107921540737152, 0.12886746227741241, -0.1493442952632904, 0.3204108476638794, -0.33096736669540405, 0.28131401538848877, 0.32873696088790894, -0.29146939516067505, 0.31199386715888977, -0.3374183475971222, 0.30557864904403687, -0.38488680124282837, -0.4432215690612793, -0.296741783618927, 0.6694527864456177, 0.03726343810558319, -0.6603537797927856, 0.8296814560890198, 0.4732440710067749, -0.4128357470035553, -0.4780939221382141, -0.7260899543762207, -0.5471658706665039, -0.5228512287139893, 0.3770139515399933, -0.607940137386322, -0.7844688892364502, 0.5936006903648376, -0.12298647314310074, 0.11578959226608276, -0.013200716115534306, 0.222167506814003, -0.19204701483249664, 1.6243735551834106, 0.6275192499160767, 0.45498237013816833, 0.5015120506286621, -0.5563738942146301, 0.1700330525636673, -1.2121107578277588, -0.22593024373054504, -0.21156033873558044, -0.01845407858490944, -0.2875524163246155, -0.4154181480407715, 0.38569754362106323, -0.001775676035322249, -0.2579304575920105, 0.14252792298793793, -0.7453897595405579, 0.7544865608215332, 0.3555012047290802, 0.5602652430534363, 0.4498976767063141, -0.2361467182636261, 0.14350482821464539, -0.2951469123363495, -0.4505910575389862, -0.39800265431404114, 1.0722346305847168, 0.08769696205854416, 0.502528190612793, -0.07735894620418549, 0.6370487809181213, -0.29349759221076965, 0.6133699417114258, -0.6114406585693359, 0.4905194342136383, -0.11258837580680847, -0.8190332651138306, -0.3097097873687744, -0.3376244902610779, -0.5438697338104248, 0.5491071343421936, -0.09353882819414139, -0.5643408298492432, -0.01543383114039898, 0.06913897395133972, -0.45208579301834106, 0.2229127585887909, -0.6354895830154419, 0.684451162815094, -0.03513730317354202, -0.3800768554210663, -0.34826958179473877, -0.4789193272590637, 0.4807610511779785, 0.09458331763744354, 0.2800655961036682, 0.24345971643924713, -0.11688142269849777, 0.3491526246070862, -0.34782320261001587, 0.7147870063781738, -0.4531624913215637, -0.31718993186950684, 0.3341507017612457, 0.186594620347023, 0.32661211490631104, 0.28207114338874817, -0.015189362689852715, -0.3007623851299286, 0.14937724173069, -0.5430834889411926, -1.3704032897949219, 0.4739070534706116, -0.3450413942337036, -0.9059725403785706, -0.14029821753501892, -0.8699333667755127, -0.7504134178161621, 0.1233733743429184, -0.2148483693599701, 0.5227536559104919, 0.10928099602460861, 0.06818898767232895, 1.3163713216781616, 0.16613736748695374, 0.1460740864276886, 0.47627967596054077, -0.42764273285865784, -0.40327388048171997, 0.9864413738250732, 0.15025243163108826, 0.5212631225585938, 0.341473251581192, 0.10393782705068588, -0.3336356282234192, -0.5060722827911377, -0.3221678137779236, 0.14389967918395996, -0.7551208138465881, -0.0033806641586124897, -0.33077460527420044, -0.18158139288425446, -0.36599797010421753, -0.04582015052437782, -0.39219754934310913, -0.7349779009819031, -0.24950839579105377, -0.2783735692501068, 0.319267213344574, 0.4218105375766754, -0.003778393380343914, 0.12713685631752014, -0.8349265456199646, 0.23311841487884521, 0.5221545100212097, 0.47793200612068176, 0.07998441159725189, -0.5850207805633545, -0.24262374639511108, 0.5343220829963684, -0.3189421594142914, -0.5069048404693604, 0.10919393599033356, 0.34188762307167053, 0.5602644085884094, 0.34105053544044495, -0.02707287110388279, 0.9186644554138184, -0.6706437468528748, 0.6510661244392395, 0.02109174244105816, -0.9738101959228516, 0.8144974708557129, -0.3651134669780731, 0.21752284467220306, 0.9851752519607544, 0.2549477219581604, -0.3288130462169647, -0.41576969623565674, -0.51517254114151, -0.40665334463119507, 0.4655899703502655, -0.128181591629982, 0.5483853816986084, 0.008298824541270733, 0.6920550465583801, 0.15620218217372894, 0.3263554573059082, -0.5175727009773254, -0.14966285228729248, -0.2501857578754425, -0.220686137676239, -0.17236363887786865, 0.19960086047649384, -0.4443107843399048, -0.7906731367111206, 0.7828376293182373, -0.3804008364677429, -0.024857988581061363, 0.20123443007469177, -0.11084362119436264, -0.17969182133674622, -0.05033544450998306, 0.6786917448043823, 0.9192214012145996, -0.007063501048833132, 0.06774529069662094, 0.5684036016464233, -0.34435853362083435, -0.12580369412899017, 0.06584139168262482, -0.06690848618745804, -0.13192938268184662, 0.36847540736198425, 0.6276367902755737, 0.16791361570358276, -0.7350345253944397, 0.39535853266716003, 0.1643226593732834, -0.39120304584503174, -0.28477048873901367, 0.42970091104507446, -0.13891983032226562, 0.2975580394268036, 0.43020114302635193, 0.07215162366628647, 0.39968082308769226, -0.5460779666900635, 0.33462658524513245, 0.7856512069702148, -0.6756010055541992, -0.19857890903949738, 0.418699711561203, -0.2366117686033249, -0.28555527329444885, 0.5071221590042114, -0.003926683217287064, -0.6828000545501709, 0.5009069442749023, 0.6191282868385315, 0.7003324627876282, -0.20923905074596405, 0.32438912987709045, 0.3686031699180603, 0.2144477814435959, -0.13016009330749512, 0.6263598799705505, -0.3816242814064026, -0.7256738543510437, -0.8987811207771301, -0.14713285863399506, -0.4141036868095398, -0.14664463698863983, -1.0932000875473022, -0.05583934113383293, -0.38312146067619324, 0.14378321170806885, -0.05044819414615631, 0.17989280819892883, -0.36563175916671753, 0.34398153424263, 0.06720393896102905, 0.9224450588226318, -0.8719437122344971, 0.553479790687561, 0.7951853275299072, -0.6001746654510498, -0.7092039585113525, -0.2835604250431061, -0.36998251080513, -0.9594225287437439, 0.6147865653038025, 0.1421898603439331, -0.3730891942977905, -0.026729194447398186, -0.8515713214874268, -0.6085682511329651, 0.6759195327758789, 0.43604210019111633, -0.21692180633544922, 0.10086703300476074, 0.2694751024246216, 0.7246248722076416, -0.42648324370384216, 0.42411303520202637, 0.6666373610496521, 0.4843451678752899, 0.251877099275589, -0.7194222211837769, 0.03746221587061882, -0.38181233406066895, 0.16304045915603638, 0.3815096616744995, -0.5612192749977112, 0.6186599731445312, -0.33329564332962036, 0.06550358235836029, 0.004911031574010849, 0.6534196734428406, 0.15022984147071838, 0.3105507791042328, 0.2791093587875366, 0.7773467898368835, 0.6574041843414307, -0.1782698929309845, 0.863467812538147, -0.09452115744352341, 0.4899294078350067, 1.3188966512680054, -0.1328541338443756, 0.6454265713691711, 0.6446865200996399, -0.27297213673591614, 0.6827082633972168, 0.3105238974094391, 0.05909011512994766, 0.7525251507759094, 0.14524991810321808, -0.5428457856178284, -0.7867156267166138, -0.06178129464387894, -0.5860421657562256, 0.2073274403810501, 0.5369461178779602, -0.03666379675269127, -0.278094083070755, 0.32448098063468933, -0.22902818024158478, 0.7461793422698975, -0.5120545625686646, 0.9082021713256836, 0.20859406888484955, -0.8607419729232788, 0.664826512336731, -0.4609740376472473, 0.22325429320335388, -0.2239953726530075, -0.42487072944641113, -0.018962224945425987, 0.4361301064491272, -0.30743569135665894, -0.9885510802268982, 0.5467866063117981, -0.41181856393814087, -0.23358194530010223, -0.36280345916748047, 0.4014086127281189, -0.6244640946388245, -0.7451921105384827, -0.11523891985416412, 0.5727688074111938, -0.16230422258377075, -0.17945994436740875, -0.746173083782196, -0.3024396002292633, -0.1287834793329239, -0.07202684134244919, 0.17574365437030792, 0.5209792256355286, 0.3091685175895691, 0.9002901911735535, 0.7345624566078186, 0.02673165313899517, -0.06789279729127884, 0.34597426652908325, 1.1783729791641235, -0.2604198157787323, -0.29524683952331543, -0.720328688621521, 0.7285532355308533, -0.39213505387306213, -0.31421053409576416, 0.8475337028503418, 0.6813686490058899, 0.956426203250885, -0.17715643346309662, 0.7071406245231628, 0.5757434368133545, 0.9693096280097961, -0.49596235156059265, 0.23984506726264954, -0.49485185742378235, 0.30869540572166443, -0.45245301723480225, -0.7637240886688232, -0.6601497530937195, 0.9863958358764648, -0.9294525384902954, 0.07124751806259155, 0.45548486709594727, 0.6937854886054993, -0.16385836899280548, 0.42817145586013794, 0.17161963880062103, -0.17070899903774261, 0.37537306547164917, 0.7080231308937073, 1.1502327919006348, -0.5509542226791382, 0.3087269961833954, -0.4374968409538269, -0.22143962979316711, 0.30941250920295715, -0.5577262043952942, -1.100034475326538, -0.5419183373451233, -0.3183503746986389, -0.31923410296440125, 0.0686294287443161, 0.8101118206977844, 0.8204889893531799, -0.8987064361572266, -0.05037911236286163, -0.41897886991500854, 0.006863894872367382, -0.4084552228450775, -0.27579164505004883, 0.18689283728599548, -0.8719081282615662, -0.6437414884567261, 0.24377958476543427, 0.2028733342885971, -0.29694077372550964, -0.4882618188858032, 0.12377047538757324, -0.23780739307403564, 0.3204423189163208, 0.5219074487686157, 0.1102161705493927, -0.35466575622558594, -0.35781213641166687, 0.19053354859352112, 0.42297330498695374, 0.24356737732887268, 0.9487901926040649, -0.9062235355377197, 0.711853563785553, 0.21098504960536957, 0.8961097598075867, 0.7924849987030029, 0.26137346029281616, 0.5501933693885803, -0.6201821565628052, 0.09410300850868225, 0.5577464699745178, 0.04057040065526962, 0.3017217516899109, -0.40674111247062683, 0.38412749767303467, -0.04349278658628464, -0.3235243260860443, -1.1288918256759644, 0.40839946269989014, -0.5297637581825256, -0.3586004376411438, 0.6626752614974976, -0.13869813084602356, 0.08295457065105438, -0.17059896886348724, -0.3205908238887787, 0.06668054312467575, -0.07585618644952774, 0.9439155459403992, 0.8314167261123657, -0.32369524240493774, -0.44117575883865356, -0.7339575886726379, 0.5603368282318115, 0.7540549635887146, -0.9946596622467041, 0.14281849563121796, 0.2521142065525055, 0.25281742215156555, 0.22851182520389557, 0.22542467713356018, -0.17879629135131836, 0.4289114475250244, -0.1307082623243332, -0.4230959415435791, -0.3237810432910919, -0.39714252948760986, -0.3224261403083801, 0.058466531336307526, -0.13125668466091156, -0.0867159441113472 ]
http://arxiv.org/abs/2406.12045v1
http://arxiv.org/pdf/2406.12045v1
$τ$-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains
2024-06-17T19:33:08
2024-06-17T19:33:08
Shunyu Yao, Noah Shinn, Pedram Razavi, Karthik Narasimhan
cs.AI
cs.AI, cs.CL
Existing benchmarks do not test language agents on their interaction with human users or ability to follow domain-specific rules, both of which are vital for deploying them in real world applications. We propose $\tau$-bench, a benchmark emulating dynamic conversations between a user (simulated by language models) and a language agent provided with domain-specific API tools and policy guidelines. We employ an efficient and faithful evaluation process that compares the database state at the end of a conversation with the annotated goal state. We also propose a new metric (pass^k) to evaluate the reliability of agent behavior over multiple trials. Our experiments show that even state-of-the-art function calling agents (like gpt-4o) succeed on <50% of the tasks, and are quite inconsistent (pass^8 <25% in retail). Our findings point to the need for methods that can improve the ability of agents to act consistently and follow rules reliably.
[ -0.4106053411960602, -0.9718640446662903, 0.4667913317680359, 0.10872277617454529, -0.08007344603538513, 0.4065763056278229, -0.17815546691417694, -0.6946101784706116, 0.08726629614830017, 0.10923635959625244, -0.5409727096557617, -0.3723362684249878, -0.16618898510932922, -0.056261930614709854, -0.2664324641227722, 0.577079713344574, -0.11857744306325912, -0.08337729424238205, -0.1099136471748352, -0.2683260142803192, -0.4436887204647064, -0.5778053998947144, -0.879478931427002, -0.5598018169403076, 0.38563936948776245, 0.09961281716823578, 1.110710620880127, 0.49611571431159973, 0.4117812216281891, 0.3045903146266937, 0.3487703204154968, 0.12363983690738678, -0.46653905510902405, 0.2956758439540863, -0.24483400583267212, -0.42139002680778503, -0.7029979228973389, 0.22610092163085938, 0.4517705738544464, 0.45700541138648987, -0.21282748878002167, -0.04438352212309837, -0.18441209197044373, 0.15681947767734528, -0.5940598249435425, 0.3771798014640808, -0.3822096288204193, -0.17340438067913055, -0.023370569571852684, -0.08455155044794083, -0.33704763650894165, -0.5933671593666077, -0.02723950892686844, -0.7996386289596558, -0.20033428072929382, 0.03620080649852753, 1.2447434663772583, 0.17659828066825867, -0.2602444291114807, -0.032613158226013184, -0.7010486125946045, 0.7893810272216797, -0.6726214289665222, 0.43498194217681885, 0.697257936000824, 0.6341820359230042, -0.37723347544670105, -0.9784837365150452, -0.7267269492149353, -0.6052672863006592, -0.0021165169309824705, -0.026804031804203987, -0.18602249026298523, -0.0802837461233139, 0.19368894398212433, -0.0505167618393898, -0.07808980345726013, -0.13343073427677155, 0.2539782226085663, -0.03193053603172302, 0.5356397032737732, 0.2402048408985138, 0.20010825991630554, 0.34168630838394165, -0.3132701814174652, -0.6250858306884766, -0.56644606590271, 0.16569776833057404, 0.2958899140357971, 0.26380687952041626, -0.04245820641517639, 0.1895514577627182, -0.23757556080818176, 0.44372686743736267, -0.20843783020973206, -0.14151670038700104, 0.40464338660240173, -0.3511585593223572, -0.012339918874204159, -0.4052942395210266, 0.6461107134819031, 0.4748174250125885, 0.5189899802207947, -0.6390471458435059, -0.40699201822280884, 0.15085269510746002, 0.6523389220237732, -0.592292308807373, 0.18060137331485748, 0.22112418711185455, -0.054335396736860275, -0.15028253197669983, -0.009881318546831608, -0.5866527557373047, -0.3096461892127991, -0.4052145779132843, 0.5043152570724487, -0.5478612184524536, -0.47772854566574097, -0.3318260908126831, -0.0753275528550148, 0.5701745748519897, 0.2559545636177063, -0.5176195502281189, 1.0664803981781006, 1.0215040445327759, 0.6532544493675232, -0.23746027052402496, -0.8095996379852295, -0.7028600573539734, 0.06994950026273727, -0.41194745898246765, 0.7804416418075562, -0.6857705116271973, -0.5923105478286743, 0.18398450314998627, 0.05370771139860153, -0.11446788907051086, -0.5695216059684753, 0.6776458621025085, -0.3493362367153168, -0.47132760286331177, -0.7023534178733826, -0.5361142158508301, 0.17618772387504578, 0.6000316143035889, -0.2973414957523346, 1.2690361738204956, 0.48447179794311523, -0.053654301911592484, 0.6461970210075378, -0.6178086996078491, -0.45769768953323364, 0.1419428437948227, -0.3580906391143799, -0.2640659511089325, -0.22180534899234772, -0.19785834848880768, 0.015373035334050655, -0.4234173893928528, 0.06539015471935272, -0.5117432475090027, -0.6820328235626221, 0.5677977204322815, -0.2054472267627716, 0.3390428125858307, 0.14653488993644714, -0.8242285251617432, 0.01836674101650715, -0.6116566061973572, 0.2690477669239044, 0.1924949288368225, -0.062233585864305496, -0.16375306248664856, 0.1020250916481018, 0.36194074153900146, 0.048002030700445175, 0.12971214950084686, -0.7069779634475708, 0.133212611079216, -0.08923980593681335, 0.032762859016656876, 0.6905332207679749, -0.1937982738018036, 0.107009157538414, -0.6115474104881287, 0.5891684889793396, -0.471204936504364, 0.3041931986808777, 0.40278056263923645, -0.26008135080337524, -0.4944626986980438, -0.22613130509853363, 0.3377307951450348, 0.2937562167644501, -0.5847730040550232, 0.457620233297348, -0.38698872923851013, -0.8525963425636292, -0.32795077562332153, -0.11590717732906342, 0.6363206505775452, 0.5091755390167236, 0.1946365088224411, -0.6452929973602295, 0.006402106024324894, -0.6769367456436157, -0.37857240438461304, -0.43240872025489807, 0.22398579120635986, 0.6724036931991577, 0.23413175344467163, -0.29131609201431274, 1.0922737121582031, -0.08461280167102814, -0.14423726499080658, -0.11683668196201324, 0.24408623576164246, -0.16845852136611938, 0.33075135946273804, 0.7090614438056946, -0.5834471583366394, -0.6146872639656067, -0.06293746083974838, -0.7876940965652466, -0.27959132194519043, 0.24458545446395874, -0.18532173335552216, 0.292409747838974, 0.36650964617729187, -0.6628143191337585, 0.4906492829322815, 0.1911727339029312, -0.3979528546333313, 0.6802356243133545, -0.24413441121578217, 0.39539313316345215, -0.549074113368988, 0.27276521921157837, -0.03212951496243477, -0.38045021891593933, -0.6042399406433105, 0.1815672665834427, 0.03600301221013069, -0.19399337470531464, -0.6349084973335266, 0.9537175297737122, -0.28398755192756653, -0.5459416508674622, -0.37531620264053345, 0.12132357805967331, -0.14435002207756042, 0.5492251515388489, -0.12155463546514511, 1.0219649076461792, 0.4115074574947357, -0.6372272968292236, 0.37164926528930664, 0.2365293800830841, -0.2978894114494324, 1.0379667282104492, -0.7759771347045898, 0.2352847158908844, 0.4527108371257782, 0.36890649795532227, -0.8292471170425415, 0.08325278013944626, 0.13402222096920013, -0.13444499671459198, 0.0393744520843029, -0.05631130933761597, -1.0399765968322754, -0.24128970503807068, -0.31920912861824036, 0.36706939339637756, 0.5701804757118225, -0.3249697685241699, 0.6663455963134766, 0.5133507251739502, 0.2097722589969635, -0.6548914909362793, -0.5014803409576416, 0.1800696849822998, 0.019705679267644882, -0.34876391291618347, 0.17360854148864746, -0.0016879042377695441, -0.37411895394325256, 0.09941402077674866, -0.1899155080318451, -0.025899941101670265, 0.27575111389160156, 0.2413434386253357, -0.1252278834581375, -0.10554789006710052, -0.013532919809222221, -0.23992998898029327, -0.14349137246608734, 0.10100015997886658, 0.12748359143733978, 0.7220446467399597, -0.34730419516563416, -0.6801251173019409, -0.5753027200698853, 0.050723232328891754, 0.6480855345726013, -0.1728081852197647, 0.46289217472076416, 0.49267199635505676, -0.24407218396663666, -0.14313717186450958, -0.5749313831329346, -0.4481513798236847, -0.5118280649185181, 0.10211383551359177, -0.8958293199539185, -0.2863137423992157, 0.5324080586433411, -0.45327407121658325, 0.36869072914123535, 0.1068134754896164, 0.4841000735759735, -0.0731574073433876, 0.8014280796051025, 0.5023312568664551, 0.04738790541887283, 0.4555128216743469, -0.12348043918609619, 0.0631406381726265, -0.44225090742111206, -0.02458854578435421, -0.4763648808002472, -0.46755966544151306, -0.3414841294288635, -0.2090355008840561, 0.22449786961078644, -0.15794818103313446, -0.35291004180908203, 0.6594104766845703, -0.29939305782318115, 0.3120689392089844, 0.6647907495498657, -0.13212087750434875, 0.07372993975877762, -0.280843585729599, -0.1983335018157959, 0.0037723188288509846, -0.3217153549194336, -0.5697792172431946, 0.9085553288459778, 0.24019889533519745, 0.9410819411277771, 0.45332539081573486, 0.5311750173568726, 0.6865458488464355, 0.4589598774909973, -0.5988399982452393, 0.7960007190704346, 0.22951620817184448, -0.47659119963645935, -0.45333003997802734, -0.2779707908630371, -1.2397751808166504, 0.3739897310733795, -0.08986502885818481, -0.9581871628761292, 0.2437317669391632, 0.07284480333328247, 0.007850976660847664, 0.09956702589988708, -0.7715432047843933, 1.2015093564987183, -0.3326131999492645, -0.5519760251045227, -0.3136751651763916, -0.36240342259407043, -0.10683877766132355, -0.010216066613793373, 0.20740674436092377, -0.6866046786308289, -0.23205693066120148, 0.3670065701007843, -0.9368085265159607, 0.8636980652809143, -0.43497607111930847, 0.1994493007659912, 0.31959035992622375, 0.21175357699394226, 0.6989665031433105, -0.20001564919948578, -0.11617492139339447, -0.1332458257675171, 0.4095551073551178, -0.5456545948982239, -0.6191518902778625, 0.6853928565979004, -0.9594705700874329, -0.27524620294570923, -0.6319547891616821, -0.4750242233276367, -0.7317976951599121, 0.17439237236976624, -0.3639305830001831, 0.5041708946228027, -0.6966705918312073, -0.056675732135772705, 0.042417749762535095, 0.14868465065956116, 0.3222971260547638, 1.0205684900283813, -0.04555502161383629, -0.03643284738063812, 0.9059332609176636, 0.028001818805933, 0.28490766882896423, 0.0671129822731018, 0.07588502019643784, -0.5907421708106995, -0.08342067897319794, -0.41108742356300354, 0.3353625237941742, -0.6945990324020386, -0.009653478860855103, -0.46183013916015625, 0.016471989452838898, -0.24618734419345856, -0.09878445416688919, -0.5003264546394348, -0.26331964135169983, 0.3234723210334778, 0.1526903659105301, 0.35205212235450745, 0.4867151081562042, 0.07677741348743439, 0.31083616614341736, -0.49121230840682983, 0.11423797160387039, 0.3029747009277344, 0.6251776814460754, 0.05937968194484711, -0.221065953373909, -0.2265125811100006, -0.15338890254497528, -0.3341074287891388, -0.6622963547706604, 0.04203157499432564, 0.17282235622406006, 1.014432430267334, -0.040575072169303894, 0.36119842529296875, 0.45331186056137085, -0.4539543688297272, 0.5109342336654663, -0.2211831510066986, -0.8942419290542603, 0.3333572447299957, -0.2955605387687683, 0.3429175019264221, 0.9593629837036133, 0.18187688291072845, -0.5521693825721741, -0.6517897844314575, -0.8672482371330261, -0.6944111585617065, 0.7256848216056824, 0.31580400466918945, 0.10055069625377655, -0.051200974732637405, 0.2838553786277771, -0.01661255955696106, 0.30463603138923645, -0.21197903156280518, -0.3308162987232208, -0.11389721184968948, -0.07999484241008759, -0.01536298356950283, 0.13185268640518188, -0.36409202218055725, 0.11336157470941544, 0.5835337042808533, -0.2236519157886505, 0.11808750033378601, -0.03451235964894295, -0.11134348064661026, -0.10464034974575043, 0.24435311555862427, 0.42614680528640747, 1.1481096744537354, -0.451958566904068, 0.04950517416000366, 0.0771847814321518, -0.47569504380226135, 0.21484704315662384, 0.49371737241744995, -0.059885866940021515, 0.013897269032895565, -0.15750253200531006, 0.44092875719070435, 0.4398007094860077, -1.079378366470337, 0.4935612380504608, -0.45545780658721924, -0.13139420747756958, -0.44617369771003723, 0.1036132350564003, -0.11012697964906693, 0.149969682097435, 0.30567142367362976, -0.34150230884552, -0.08521205186843872, -0.9882005453109741, 0.5394511222839355, 0.3771701157093048, -0.5500942468643188, -0.32212671637535095, 0.6369898915290833, 0.46148231625556946, -0.7135338187217712, 0.29174402356147766, -0.42121782898902893, -0.2045280933380127, 0.6326147317886353, 0.36013564467430115, 0.8006961345672607, 0.02926688641309738, 0.17169979214668274, 0.024884097278118134, 0.122096948325634, -0.1684217005968094, 0.42030325531959534, -0.1415831595659256, -0.6966328620910645, -0.1585041731595993, -0.3855520784854889, -1.1432856321334839, -0.08160076290369034, -0.44552773237228394, 0.07715565711259842, -0.5377982258796692, -0.6584132313728333, 0.13310249149799347, 0.334978312253952, -0.7293675541877747, 0.067995585501194, -0.26645591855049133, 1.0260601043701172, -0.5152773857116699, 1.1559299230575562, 0.7307098507881165, -0.5687631964683533, -0.5906045436859131, -0.15487298369407654, 0.13912667334079742, -0.8637092709541321, 0.3569514751434326, 0.03393452614545822, -0.2938600778579712, -0.14635345339775085, -0.1618136614561081, -0.47948649525642395, 1.157894253730774, 0.3194245994091034, -0.22808045148849487, 0.44843974709510803, 0.26838308572769165, 0.7527601718902588, -0.28449276089668274, 0.5121312141418457, 0.9226869940757751, 0.6050153970718384, -0.07911349833011627, -1.1979756355285645, 0.1655665934085846, -0.3844614326953888, -0.280568927526474, 0.2419857680797577, -0.9702765941619873, 0.5584251880645752, 0.2970679700374603, -0.13345134258270264, 0.18997211754322052, 0.41368454694747925, 0.406606525182724, 0.42726442217826843, 0.9028713703155518, 0.5218316316604614, 0.7694351673126221, -0.3456054627895355, 1.4439057111740112, -0.5990570783615112, 0.2121448665857315, 1.0629135370254517, -0.7777678370475769, 0.9714755415916443, 0.23115088045597076, -0.34005507826805115, 0.4924112558364868, 0.39351245760917664, 0.013636779971420765, 0.4177364706993103, 0.2851680517196655, -0.29568302631378174, -0.0327056385576725, -0.4123854339122772, -0.1507461667060852, 0.2549065053462982, 0.28962603211402893, 0.39792945981025696, -0.1082615777850151, -0.3343627154827118, 0.19360117614269257, 0.304284930229187, 0.12735043466091156, 0.6863623261451721, 0.1301743984222412, -0.8274626731872559, 0.7208647727966309, -0.03878730535507202, 0.4376142919063568, -0.8349857926368713, 0.00031835754634812474, -0.3152250051498413, 0.43299973011016846, 0.16960245370864868, -0.6905893683433533, 0.05302286520600319, -0.033201321959495544, 0.3477462828159332, -0.13644105195999146, 0.5376988053321838, -0.05887533724308014, -0.08686637133359909, 0.47292396426200867, 0.7330716252326965, 0.537609875202179, 0.12060485780239105, -1.046019196510315, 0.3611571788787842, -0.7264896035194397, -0.17461605370044708, 0.4718838334083557, 0.3417293429374695, -0.21757474541664124, 0.8682636618614197, 0.4657946527004242, -0.11070948094129562, -0.14343559741973877, 0.5959974527359009, 0.658130943775177, -0.6166276931762695, -0.5195181965827942, -0.38451242446899414, 0.14362464845180511, -0.39507603645324707, -0.3988761901855469, 0.5687094926834106, 0.5316442847251892, 0.5816699862480164, 0.30844613909721375, 0.619077205657959, -0.10497040301561356, 0.6374766826629639, 0.08096679300069809, 0.7161591053009033, -0.5616011023521423, 0.18716026842594147, -0.18521654605865479, -0.9423262476921082, 0.22516097128391266, 0.32570260763168335, -0.1272953748703003, 0.31924620270729065, 0.7148541808128357, 0.7608804702758789, -0.2282402217388153, -0.14613422751426697, 0.5508612990379333, -0.04714116454124451, 0.5033332705497742, 0.207620769739151, 0.8244480490684509, -0.3705376088619232, 0.7765857577323914, -0.2618483006954193, -0.3220241665840149, -0.22387772798538208, -0.4643101990222931, -0.6866753101348877, -0.366946816444397, -0.2704300880432129, -0.5223231315612793, 0.5082500576972961, 0.7995061278343201, 0.8998435735702515, -0.6389558911323547, -0.5959337949752808, 0.015179692767560482, -0.15089985728263855, -0.8786646723747253, -0.19015659391880035, 0.3510914444923401, -0.7368398904800415, -0.8666430115699768, 0.3892817497253418, 0.1092846468091011, -0.038180697709321976, -0.1758470982313156, -0.33430033922195435, -0.11857178062200546, 0.265067458152771, 0.26727157831192017, 0.8219097256660461, -0.8119861483573914, -0.4345177412033081, -0.059254806488752365, -0.5129348635673523, 0.06070059537887573, 0.7952522039413452, -0.7861719727516174, 0.4169546365737915, -0.010810879990458488, 0.9997782111167908, 0.6478281617164612, 0.21101254224777222, 0.8856527209281921, -0.6997795701026917, 0.060365669429302216, 0.2378028780221939, 0.27099812030792236, 0.27736347913742065, 0.14504286646842957, 0.9439167976379395, 0.20931370556354523, -0.6319255232810974, -0.7778252363204956, 0.12088923156261444, -1.1087943315505981, -0.16886675357818604, 1.047515630722046, -0.3511965870857239, -0.23755969107151031, -0.47947853803634644, -0.14491420984268188, -0.026383116841316223, -0.707345724105835, 0.6255714297294617, 0.4419479966163635, -0.22264577448368073, -0.14523594081401825, -0.5638310313224792, 0.6559004783630371, 0.5191566348075867, -1.0038505792617798, 0.18537700176239014, 0.29990729689598083, 0.15951907634735107, 0.013622412458062172, 1.121557593345642, 0.0012931973906233907, 0.570468544960022, 0.30745112895965576, 0.06225718930363655, 0.01915913075208664, 0.10869047045707703, 0.2276717871427536, -0.03515475243330002, 0.5173280835151672, -0.2921842336654663 ]
http://arxiv.org/abs/2406.12038v1
http://arxiv.org/pdf/2406.12038v1
Soft Prompting for Unlearning in Large Language Models
2024-06-17T19:11:40
2024-06-17T19:11:40
Karuna Bhaila, Minh-Hao Van, Xintao Wu
cs.CL
cs.CL, cs.AI, cs.LG
The widespread popularity of Large Language Models (LLMs), partly due to their unique ability to perform in-context learning, has also brought to light the importance of ethical and safety considerations when deploying these pre-trained models. In this work, we focus on investigating machine unlearning for LLMs motivated by data protection regulations. In contrast to the growing literature on fine-tuning methods to achieve unlearning, we focus on a comparatively lightweight alternative called soft prompting to realize the unlearning of a subset of training data. With losses designed to enforce forgetting as well as utility preservation, our framework \textbf{S}oft \textbf{P}rompting for \textbf{U}n\textbf{l}earning (SPUL) learns prompt tokens that can be appended to an arbitrary query to induce unlearning of specific examples at inference time without updating LLM parameters. We conduct a rigorous evaluation of the proposed method and our results indicate that SPUL can significantly improve the trade-off between utility and forgetting in the context of text classification with LLMs. We further validate our method using multiple LLMs to highlight the scalability of our framework and provide detailed insights into the choice of hyperparameters and the influence of the size of unlearning data. Our implementation is available at \url{https://github.com/karuna-bhaila/llm_unlearning}.
[ 0.036343757063150406, -0.7198807001113892, 0.4219561517238617, -0.11160887777805328, -0.39278751611709595, -0.18945804238319397, -0.7466352581977844, 0.21033670008182526, -0.37018051743507385, 0.7007256150245667, -0.6687093377113342, -0.45413774251937866, -0.3695097267627716, -0.06652980297803879, -0.2117520123720169, 1.3385542631149292, 0.11663989722728729, -0.010012134909629822, -0.3919448256492615, -0.28473690152168274, -0.5460032224655151, -0.5049213171005249, -0.5585657358169556, -0.41520053148269653, 0.6964014172554016, 0.6906028985977173, 0.31682106852531433, 0.5429103970527649, -0.1655360758304596, 0.34314781427383423, -0.3026517331600189, 0.2846764326095581, -0.6921259164810181, 0.4487561881542206, -0.3525678217411041, -0.43207624554634094, -0.17080548405647278, 0.06407545506954193, 0.7264799475669861, 0.9580182433128357, -0.4417017698287964, 0.33268511295318604, 0.6074353456497192, 0.8805853724479675, -0.9332332611083984, 0.2720998525619507, -0.926188051700592, -0.07729174941778183, -0.15476013720035553, -0.4925292432308197, -0.8085978627204895, -0.15474534034729004, 0.012278052046895027, -0.25453153252601624, 0.24115584790706635, -0.22241513431072235, 0.5973448753356934, 0.41339918971061707, -0.2954805791378021, -0.3855244219303131, -0.38451504707336426, 1.0379829406738281, -0.3725716769695282, 0.39195716381073, 0.5187342762947083, 0.011185524053871632, -0.18638227880001068, -0.731346845626831, -0.3682493567466736, -0.126206174492836, 0.08766086399555206, 0.15716657042503357, -0.05215280503034592, 0.020413357764482498, 0.2343742847442627, 0.2459254264831543, -0.18440833687782288, 0.5088325142860413, -0.40095505118370056, -0.1366252899169922, 0.5123618245124817, 0.05604623258113861, -0.017013244330883026, -0.021306324750185013, -0.39203137159347534, -0.029820457100868225, -1.1842551231384277, 0.10946647822856903, 0.5253555774688721, 0.4643450975418091, 0.11432895064353943, 0.4405197203159332, 0.06301064789295197, 0.27917492389678955, 0.04626094922423363, 0.03398030996322632, 0.33638814091682434, 0.2968120276927948, -0.23331218957901, 0.12608477473258972, 0.6969783902168274, 0.3319335877895355, 0.5473999977111816, -0.23823858797550201, -0.48070192337036133, -0.3519923686981201, 0.07935836911201477, -0.8198898434638977, 0.07434390485286713, 0.15456539392471313, -0.595940351486206, -0.1570696085691452, -0.0016532849986106157, -0.6903566122055054, -0.596602737903595, -0.38448745012283325, 0.47631949186325073, -0.34092235565185547, -0.4101608693599701, 0.33842483162879944, -0.017062561586499214, 0.08502013981342316, 0.1007806658744812, -1.0179957151412964, 0.10454846918582916, 0.6448891162872314, 0.566277265548706, 0.00020537272212095559, -0.5168064832687378, -0.8603376746177673, -0.025839125737547874, -0.1259532868862152, 0.44196784496307373, -0.2197648286819458, -0.5343958735466003, 0.31409889459609985, 0.2722080945968628, -0.19455905258655548, -0.6529032588005066, 0.48924392461776733, -0.4582322835922241, 0.35121384263038635, -0.2218092679977417, -0.7432620525360107, -0.3198116421699524, -0.05495075136423111, -0.46322688460350037, 0.9063503742218018, -0.0877990573644638, -0.6178606748580933, 0.7866925597190857, -0.4834655523300171, -0.4510590732097626, 0.24241334199905396, -0.14209601283073425, -0.7541569471359253, 0.2508361339569092, -0.058788809925317764, 0.8869098424911499, -0.19625826179981232, 0.5934700965881348, -0.3847202658653259, -0.4835103452205658, 0.3370446264743805, -0.9405732154846191, 0.9702589511871338, 0.19447369873523712, -0.39864179491996765, 0.1896456778049469, -0.5950077772140503, -0.0553317628800869, 0.19741016626358032, -0.4675942361354828, -0.3853922188282013, 0.07985333353281021, -0.15255843102931976, -0.07958049327135086, 0.23381225764751434, -0.3964098393917084, 0.2606266140937805, -0.42397183179855347, 0.547366201877594, 1.2168761491775513, -0.029845882207155228, 0.5856306552886963, -0.23233160376548767, 0.2599775791168213, 0.00775016937404871, 0.041784659028053284, -0.37632206082344055, -0.133184015750885, -0.7129021883010864, -0.33381447196006775, 0.379253089427948, 0.41206222772598267, -0.5836305022239685, 0.38600805401802063, -0.05107627809047699, -0.21525079011917114, -0.5210136771202087, 0.749549388885498, 0.48576608300209045, 0.42416834831237793, 0.15797816216945648, 0.1198415756225586, -0.36097127199172974, -0.5666346549987793, -0.4043525755405426, 0.013105512596666813, -0.20959168672561646, 0.4502063989639282, 0.34591132402420044, -0.17414610087871552, 0.8462738990783691, -0.2571510076522827, -0.2565218210220337, -0.6229143738746643, 0.07540004700422287, 0.2945994734764099, 0.4635319113731384, 0.27822214365005493, -0.8427078127861023, -0.21278713643550873, -0.3767525255680084, -0.725275456905365, -0.22220131754875183, -0.21799436211585999, 0.21011501550674438, 0.5130851864814758, 0.7683612108230591, -0.6271225810050964, 0.43295830488204956, 0.17363327741622925, -0.12704969942569733, 0.5532048344612122, -0.5261436104774475, -0.22135885059833527, -0.9588404297828674, 0.14404505491256714, -0.1930522471666336, -0.07666701078414917, -0.39229485392570496, -0.20134751498699188, 0.2208777219057083, -0.10231137275695801, -0.7887417078018188, 0.71120685338974, -0.6179968118667603, 0.21411436796188354, -0.4059309959411621, -0.21018314361572266, -0.08193366974592209, 0.6267299056053162, 0.08595040440559387, 0.7830197811126709, 0.7001240253448486, -1.0226463079452515, -0.15410076081752777, 0.06032246723771095, -0.2103450447320938, 0.36924561858177185, -0.7021299004554749, 0.32747405767440796, -0.4191707372665405, 0.20062826573848724, -0.6137625575065613, -0.057022325694561005, -0.013545705936849117, -0.28076499700546265, 0.40919405221939087, -0.4760169982910156, -0.6444997191429138, -0.06296946853399277, -0.4134606122970581, 0.2932385206222534, 0.7249792814254761, -0.9263193607330322, 0.3801814019680023, 0.3346903622150421, -0.14449986815452576, -0.605025053024292, -0.4495183229446411, -0.09442926943302155, -0.6768895983695984, -0.14694975316524506, 0.05394382402300835, -0.12102583050727844, -0.09725331515073776, -0.16526958346366882, 0.0063621485605835915, -0.003238129895180464, 0.18696777522563934, 0.48538342118263245, 0.33376359939575195, -0.16097481548786163, 0.3499405086040497, 0.10162423551082611, -0.45930561423301697, 0.03747810423374176, -0.412876695394516, 0.4380212128162384, -0.0859769657254219, -0.30947065353393555, -0.3702423870563507, 0.21920807659626007, 0.6421800851821899, -0.12864911556243896, 0.9272028207778931, 0.5200157165527344, -0.39961880445480347, -0.6086582541465759, -0.5063148140907288, -0.26289457082748413, -0.6535443067550659, 0.07769404351711273, -0.16282504796981812, -0.979582667350769, 0.2520458400249481, -0.36560162901878357, 0.27724209427833557, 0.1915026307106018, 0.7318621277809143, 0.001642922405153513, 1.0471535921096802, 0.7424312829971313, -0.1291070580482483, 0.42798513174057007, -0.17175231873989105, 0.03880533203482628, -0.5182700157165527, -0.4176262617111206, -0.4314827024936676, -0.04918249323964119, -0.5012763142585754, 0.008739063516259193, 0.21666908264160156, 0.16314049065113068, -0.2592223584651947, -0.02908475138247013, -0.4179726839065552, 0.8105738759040833, 0.6425959467887878, 0.07794152945280075, 0.07563629746437073, 0.09001389145851135, -0.02284199744462967, 0.07117992639541626, -0.7984362244606018, -0.45891904830932617, 1.0024429559707642, 0.3966532051563263, 0.8604388236999512, -0.06259479373693466, 0.6795395016670227, 0.2784495949745178, 0.15345317125320435, -0.8865299224853516, 0.6636380553245544, -0.3396044373512268, -0.26749661564826965, -0.19986076653003693, -0.7451116442680359, -1.2670732736587524, -0.023474380373954773, 0.023270316421985626, -0.8186394572257996, 0.047308508306741714, 0.30487877130508423, -0.3440755009651184, 0.4355160593986511, -0.837874174118042, 0.7352966070175171, -0.26107269525527954, -0.4846267104148865, -0.15343621373176575, -0.3987763822078705, 0.1665358990430832, 0.00239286245778203, -0.0203864648938179, -0.127068892121315, -0.006443594116717577, 0.8343778848648071, -0.42942506074905396, 1.2588356733322144, -0.4395548403263092, -0.09733036905527115, 0.3497636616230011, 0.11071288585662842, 0.4309759736061096, 0.14072413742542267, -0.25724977254867554, 0.08805794268846512, -0.22389385104179382, -0.3838405907154083, -0.35544610023498535, 0.6462677121162415, -0.41642090678215027, -0.4957074224948883, -0.3266737759113312, -0.5477114319801331, -0.2928413152694702, 0.3709482252597809, 0.4876822531223297, 0.45741111040115356, 0.11389997601509094, 0.5244179368019104, 0.9840635657310486, -0.41554731130599976, 0.5169190764427185, 0.8044900298118591, 0.14037302136421204, -0.07286261022090912, 1.2172611951828003, 0.12468897551298141, 0.08418954163789749, 0.1401503086090088, 0.5631541609764099, -0.6655819416046143, -0.59873366355896, -0.458233505487442, 0.1687813103199005, -0.657076358795166, -0.4848857522010803, -0.4156705141067505, -0.13543134927749634, -0.31563690304756165, -0.2892586290836334, -0.21786607801914215, -0.10651383548974991, -0.5406742095947266, -0.2186921089887619, 0.5822359919548035, 0.7978674173355103, 0.02714136615395546, 0.30638587474823, -0.8192471265792847, -0.14126460254192352, 0.1461257040500641, 0.5863014459609985, 0.04303679242730141, -0.7235360145568848, -0.1324271857738495, -0.16850952804088593, -0.09455116093158722, -0.37049323320388794, 0.2708440124988556, 0.33414265513420105, 0.6197855472564697, 0.580974280834198, 0.3050430715084076, 0.3403472304344177, -0.5208961963653564, 0.453425794839859, 0.24423883855342865, -0.9109573364257812, 0.39683547616004944, -0.4945639371871948, 0.3044663071632385, 0.967415988445282, 0.3267483413219452, -0.5371688008308411, -0.13339842855930328, -0.7594338655471802, -1.229680061340332, 0.6194424033164978, -0.4023885726928711, 0.4517785310745239, 0.005119540728628635, 0.530855655670166, 0.5290284156799316, 0.41955846548080444, -0.5121974945068359, -0.11525237560272217, 0.11432556062936783, -0.33395594358444214, -0.0032502051908522844, -0.4449680745601654, 0.16119752824306488, -0.0994177758693695, 0.6753147840499878, -0.15412816405296326, -0.2590183615684509, -0.2294941395521164, -0.4916278123855591, 0.03224136307835579, 0.3946765661239624, 0.08983276039361954, 0.5051636695861816, 0.06172194331884384, 0.21131689846515656, 0.495395302772522, -0.3810919523239136, 0.07160463184118271, -0.1979042887687683, -0.36748790740966797, -0.25365665555000305, 0.10706383734941483, 0.5166042447090149, 0.5666574239730835, -0.8777695894241333, 0.6086183786392212, 0.10980603843927383, -0.39802849292755127, -0.16608400642871857, 0.1779823899269104, -0.08845986425876617, -0.1130131185054779, 0.3020232021808624, -0.28619131445884705, 0.010007853619754314, -0.4563310444355011, 0.4887923002243042, 0.22742509841918945, -0.4790794253349304, -0.18499940633773804, 0.4732681214809418, 0.25595346093177795, -0.22681362926959991, 0.8163393139839172, -0.3379300832748413, -0.5249723196029663, 0.23821569979190826, 0.5446736216545105, 0.8391156792640686, -0.18386739492416382, 0.13521568477153778, 0.09083784371614456, 0.020784011110663414, -0.279979944229126, 0.09479445219039917, -0.21409930288791656, -0.4280356466770172, -0.4096531271934509, -0.5708977580070496, -0.34625864028930664, 0.4440528154373169, -0.6294249892234802, 0.24267518520355225, -0.6413297653198242, 0.20000049471855164, -0.2119532823562622, -0.021675994619727135, -0.5104552507400513, -0.01511295698583126, 0.058758821338415146, 0.922968864440918, -0.7600533366203308, 0.5916876196861267, 0.5101544857025146, -0.3666979968547821, -0.7692518830299377, -0.02619188092648983, 0.3926563560962677, -0.926067054271698, 0.4029824435710907, 0.4234517812728882, -0.2931513488292694, -0.06596355140209198, -0.5971620082855225, -0.20236638188362122, 0.857565701007843, 0.6110930442810059, -0.5465943813323975, 0.3074036240577698, 0.054775774478912354, 0.03744765743613243, 0.044856708496809006, 0.03683364391326904, 0.4967786371707916, 0.18113088607788086, -0.057354021817445755, -0.6322632431983948, 0.18007412552833557, -0.14447712898254395, -0.5204111933708191, 0.3361566960811615, -0.6926563382148743, 0.725875973701477, -0.33543524146080017, -0.35955363512039185, 0.03735518455505371, 0.4778478443622589, 0.2507370412349701, 0.5821438431739807, 0.9046398997306824, 0.19137494266033173, 1.0124226808547974, 0.10713345557451248, 0.6971762180328369, -0.0299632977694273, 0.38009268045425415, 0.9739440679550171, -0.3627249002456665, 0.6816052794456482, 0.39574486017227173, 0.15933236479759216, 0.163681298494339, 0.5960067510604858, 0.11207828670740128, 0.34227117896080017, 0.3694380521774292, -0.4541691243648529, -0.21312516927719116, -0.285521924495697, -0.0928480327129364, 0.464526891708374, 0.3657665550708771, -0.19049859046936035, -0.32885366678237915, 0.23782756924629211, 0.4052681028842926, 0.06012630835175514, -0.4738383889198303, 0.9037683010101318, 0.31131258606910706, -0.596182107925415, 0.5556831359863281, -0.14296872913837433, 0.8132433295249939, -0.7273915410041809, 0.04576818645000458, -0.19066177308559418, 0.5685501098632812, -0.18531478941440582, -0.7230137586593628, 0.018847666680812836, 0.26879647374153137, -0.21233610808849335, -0.6925999522209167, 0.7830953001976013, -0.6215913891792297, -0.30651164054870605, 0.28144571185112, 0.520361065864563, 0.25815916061401367, -0.08021288365125656, -0.8933750987052917, -0.13383764028549194, -0.11438964307308197, -0.38798871636390686, 0.6793012022972107, 0.75508052110672, 0.02683146670460701, 0.7723680734634399, 0.844613790512085, -0.020097684115171432, -0.39672815799713135, 0.6097663044929504, 0.7770811915397644, -0.5947006344795227, -0.6196668744087219, -0.9771007895469666, 0.4228905439376831, 0.12201961874961853, -0.41782230138778687, 0.8301922082901001, 0.47578397393226624, 0.6400728821754456, 0.218826562166214, 0.6854115724563599, 0.32024329900741577, 0.4259963035583496, -0.8769885897636414, 1.026755928993225, -0.6799042820930481, 0.3999004065990448, -0.04286325350403786, -0.5466284155845642, -0.1107461154460907, 0.15732519328594208, -0.21891269087791443, 0.26625415682792664, 0.43670520186424255, 0.7114278674125671, -0.19084088504314423, -0.039464399218559265, 0.32484564185142517, 0.019104762002825737, 0.025074031203985214, 0.3636055886745453, 0.8720933198928833, 0.24903467297554016, 0.6401777863502502, 0.04628024250268936, -0.30097734928131104, -0.2872307002544403, -0.9763069748878479, -0.9168234467506409, -0.5930406451225281, -0.2055307775735855, -0.514930009841919, 0.24229100346565247, 1.0209027528762817, 0.6516594886779785, -0.6570961475372314, -0.19444651901721954, -0.1104457676410675, 0.17687363922595978, -0.17496301233768463, -0.21126064658164978, 0.6210663914680481, -0.6370949149131775, -0.5216586589813232, 0.46017247438430786, 0.17649824917316437, 0.030025765299797058, -0.23922227323055267, -0.13718941807746887, 0.14963047206401825, -0.06357397139072418, 0.5132862329483032, 0.5479423999786377, -0.15762144327163696, -0.049324970692396164, -0.0643705427646637, 0.2468109130859375, -0.24953415989875793, 1.1937826871871948, -0.7894821166992188, 0.03563703969120979, 0.2836484909057617, 0.8942331075668335, 0.2601880133152008, -0.24642616510391235, 0.5995208024978638, -1.1055223941802979, 0.3196287155151367, 0.21737007796764374, 0.5910153985023499, 0.37374386191368103, -0.5911906361579895, 0.18535540997982025, 0.024440480396151543, -0.6689079999923706, -1.119202971458435, 0.07766979187726974, -0.5363019108772278, -0.47127705812454224, 1.2751922607421875, -0.11086665093898773, -0.49146226048469543, -0.2655395567417145, -0.2109135389328003, 0.13867664337158203, -0.6292639970779419, 0.7269025444984436, 0.3609999120235443, 0.25193142890930176, -0.08356624841690063, -0.4996602237224579, 0.5923459529876709, 0.7484332323074341, -0.5164554715156555, 0.817981481552124, 0.3481917381286621, 0.4780994653701782, -0.3675081431865692, 0.6430453658103943, 0.019314736127853394, 0.44544440507888794, -0.2525632679462433, -0.2027919888496399, -0.3073466718196869, -0.5463112592697144, -0.6897588968276978, 0.051810480654239655, 0.033666569739580154, -0.282930850982666 ]
http://arxiv.org/abs/2406.12036v4
http://arxiv.org/pdf/2406.12036v4
MedCalc-Bench: Evaluating Large Language Models for Medical Calculations
2024-06-17T19:07:21
2024-06-30T15:12:10
Nikhil Khandekar, Qiao Jin, Guangzhi Xiong, Soren Dunn, Serina S Applebaum, Zain Anwar, Maame Sarfo-Gyamfi, Conrad W Safranek, Abid A Anwar, Andrew Zhang, Aidan Gilson, Maxwell B Singer, Amisha Dave, Andrew Taylor, Aidong Zhang, Qingyu Chen, Zhiyong Lu
cs.CL
cs.CL, cs.AI
As opposed to evaluating computation and logic-based reasoning, current benchmarks for evaluating large language models (LLMs) in medicine are primarily focused on question-answering involving domain knowledge and descriptive reasoning. While such qualitative capabilities are vital to medical diagnosis, in real-world scenarios, doctors frequently use clinical calculators that follow quantitative equations and rule-based reasoning paradigms for evidence-based decision support. To this end, we propose MedCalc-Bench, a first-of-its-kind dataset focused on evaluating the medical calculation capability of LLMs. MedCalc-Bench contains an evaluation set of over 1000 manually reviewed instances from 55 different medical calculation tasks. Each instance in MedCalc-Bench consists of a patient note, a question requesting to compute a specific medical value, a ground truth answer, and a step-by-step explanation showing how the answer is obtained. While our evaluation results show the potential of LLMs in this area, none of them are effective enough for clinical settings. Common issues include extracting the incorrect entities, not using the correct equation or rules for a calculation task, or incorrectly performing the arithmetic for the computation. We hope our study highlights the quantitative knowledge and reasoning gaps in LLMs within medical settings, encouraging future improvements of LLMs for various clinical calculation tasks.
[ -0.12548770010471344, -0.6931763291358948, 1.1926928758621216, 0.2966201603412628, -0.10517928749322891, -0.12493602186441422, -0.36946797370910645, -0.23981668055057526, -0.049285173416137695, 0.39141154289245605, -0.4625398814678192, -0.7681151032447815, -0.6575661897659302, 0.12188172340393066, -0.21841759979724884, 0.5665225386619568, -0.08021822571754456, 0.8002520203590393, -0.6128385663032532, -0.3555580675601959, -0.39227956533432007, -0.5066172480583191, -0.6556234955787659, -0.47341838479042053, 0.5175443887710571, 0.31392693519592285, 0.679392397403717, 0.3640882968902588, 0.8951916694641113, 0.2573438882827759, 0.19445423781871796, 0.3099054992198944, -0.3284544348716736, 0.007266624830663204, -0.25600117444992065, -0.610793948173523, -0.5763662457466125, -0.003082855837419629, 0.5549270510673523, 1.0657583475112915, -0.2713436782360077, 0.04761376976966858, -0.6349795460700989, 0.793620228767395, -0.6426211595535278, 0.4058912396430969, -0.33927208185195923, 0.07607880234718323, -0.10573803633451462, -0.1970776915550232, -0.477956086397171, -0.7411368489265442, -0.03733490779995918, -0.4158581495285034, -0.03043866716325283, -0.055581312626600266, 0.4391441345214844, 0.30605176091194153, -0.2730049192905426, -0.20990623533725739, -0.4439244866371155, 0.758842945098877, -0.8074033260345459, 0.3598540723323822, 0.7790055871009827, 0.7808772921562195, -0.3372300863265991, -0.7161489129066467, -0.2699887454509735, -0.48643869161605835, 0.11041619628667831, 0.14538544416427612, -0.09231860935688019, 0.07097911089658737, 0.3578881621360779, 0.330870121717453, -0.5457566976547241, 0.2207968831062317, -0.3140430748462677, -0.06416747719049454, 0.6663814187049866, 0.5758066177368164, 0.24525001645088196, 0.04447800666093826, -0.12767550349235535, -0.04911036416888237, -0.8992213010787964, -0.25824204087257385, -0.606341540813446, -0.015018354170024395, -0.22164982557296753, 0.6354844570159912, 0.06865191459655762, 0.7158624529838562, -0.21938736736774445, -0.3362116813659668, 0.177565798163414, -0.2684827148914337, -0.24582454562187195, 0.12085393816232681, 0.8272494673728943, 0.6355512142181396, 0.31021010875701904, -0.18552809953689575, -0.1294894814491272, 0.16403920948505402, 0.34419745206832886, -0.8951408863067627, -0.03381657227873802, 0.19683413207530975, -0.4901275038719177, -0.32679614424705505, -0.37538468837738037, -0.4461435079574585, -0.7039400935173035, -0.38422897458076477, 0.149195596575737, -0.4503144919872284, 0.0798502191901207, 0.15158724784851074, 0.2578109800815582, -0.11598847806453705, 0.4514552652835846, -0.3996821939945221, 0.7096376419067383, 0.5131242871284485, 0.6340587735176086, -0.075098916888237, -0.055708881467580795, -0.38698360323905945, -0.30976539850234985, -0.4992316961288452, 0.941039502620697, -0.4320361912250519, -0.509850800037384, -0.020257405936717987, 0.08162888139486313, -0.15709984302520752, -0.9602558016777039, 0.7486386299133301, -0.2195299118757248, -0.14276587963104248, -0.38686761260032654, -0.6987375020980835, 0.10524003207683563, 0.20316077768802643, -0.7169312238693237, 0.7122524976730347, 0.4025757908821106, -0.45217812061309814, 0.31658193469047546, -0.5356019139289856, -0.4254133403301239, 0.10916056483983994, -0.591211199760437, -0.25864753127098083, 0.14445780217647552, 0.2638072371482849, 0.2488456517457962, -1.1674946546554565, 0.5002242922782898, -0.29362788796424866, -0.2488003671169281, 0.7373949885368347, -0.33124732971191406, 0.5209690928459167, 0.35839828848838806, -0.0871824398636818, -0.12753257155418396, -0.7771613597869873, 0.29371747374534607, 0.10450278967618942, -0.2363201081752777, -0.2645339071750641, 0.12309423834085464, -0.07214492559432983, 0.31071457266807556, 0.057930126786231995, -0.5460977554321289, 0.030698681250214577, -0.3911098837852478, 0.31880173087120056, 0.47767379879951477, 0.0037840474396944046, 0.06258179247379303, -0.6399971842765808, 0.5456796288490295, -0.2327301949262619, 0.16657760739326477, 0.04552292078733444, -0.25836533308029175, -0.2680651843547821, -0.3759929835796356, 0.47652167081832886, 0.5293179154396057, -0.4418376684188843, 0.12340928614139557, -0.18513889610767365, -0.5701217651367188, -0.5231521725654602, -0.25449490547180176, 0.5818032026290894, 0.7732736468315125, 0.24452413618564606, -0.03328967094421387, -0.4891442656517029, -1.0968906879425049, -0.2562331557273865, -0.09583744406700134, -0.0030697002075612545, 0.6976865530014038, 0.34913063049316406, -0.253323495388031, 0.8610190749168396, -0.5208079814910889, -0.2567548453807831, -0.07082956284284592, -0.0012515736743807793, 0.36536073684692383, 0.3321938216686249, 0.7132065296173096, -0.467620849609375, -0.21904364228248596, 0.11937469244003296, -1.056329607963562, -0.579074501991272, 0.08945323526859283, -0.00019677338423207402, 0.013977820985019207, 0.5456151962280273, -0.5640615224838257, 0.4760845899581909, 0.4833584129810333, -0.08684716373682022, 0.7007470726966858, -0.42740413546562195, 0.5930858850479126, -0.6969967484474182, 0.2343529462814331, 0.06146160140633583, -0.2747655212879181, -0.27264654636383057, -0.05402098223567009, 0.30797404050827026, -0.03484948351979256, -0.2684042453765869, 0.7023138403892517, -0.06275027990341187, 0.04475466534495354, -0.20241974294185638, 0.24407245218753815, -0.11400026082992554, 0.013480126857757568, -0.2037504017353058, 0.7774263024330139, 0.23646073043346405, -0.3881497383117676, 0.3413955867290497, 0.10535968840122223, -0.6046169996261597, 0.7196347117424011, -0.60552579164505, 0.001258071162737906, 0.042070597410202026, 0.2411860078573227, -0.8023099303245544, -0.1788693368434906, -0.2765367329120636, -0.31042200326919556, 0.18355166912078857, -0.011043816804885864, -0.768682062625885, -0.6343281865119934, -0.10919257253408432, 0.8594545722007751, 0.28070610761642456, -0.2557571530342102, 0.34307387471199036, 0.5820525884628296, -0.3005801737308502, -0.3158721923828125, -0.7184845209121704, 0.04245219752192497, 0.2010214924812317, -0.6754420399665833, 0.2705267071723938, -0.16782242059707642, -0.49155113101005554, -0.16162043809890747, -0.10578954219818115, -0.31713852286338806, -0.11326009035110474, 0.4082987904548645, 0.4218328595161438, -0.20069032907485962, 0.36167895793914795, 0.018504347652196884, -0.1278650015592575, 0.46401745080947876, 0.12050334364175797, 0.5530741214752197, -0.19435985386371613, -0.7273916602134705, -0.3094891905784607, 0.2713279128074646, 0.9750167727470398, -0.22085534036159515, 0.6245214343070984, 0.0639001876115799, -0.7761440873146057, 0.12193288654088974, -0.9855632185935974, -0.043704282492399216, -0.31689688563346863, 0.5758505463600159, -0.3410034775733948, -0.6003295183181763, 0.581453263759613, -0.41854390501976013, 0.07118386030197144, 0.482008159160614, 0.965029239654541, 0.014136423356831074, 1.3351985216140747, 0.08342305570840836, 0.24597857892513275, -0.10339483618736267, 0.0118173249065876, 0.048202354460954666, -0.6497170925140381, -0.4157673716545105, -0.5782729983329773, -0.1322273463010788, -0.27896448969841003, -0.6786289215087891, 0.7141821980476379, -0.38617128133773804, -0.28121936321258545, -0.02117440477013588, -0.14037950336933136, 0.35537606477737427, -0.0029168520122766495, 0.4608314633369446, 0.2068987786769867, -0.1646409034729004, -0.702929675579071, -0.22936195135116577, -0.5647261738777161, -0.3338700234889984, 1.3268241882324219, 0.2869420647621155, 0.9402987360954285, -0.053196992725133896, 0.43242594599723816, 0.43967515230178833, 0.612801730632782, -0.9327487945556641, 0.6347907185554504, -0.38668015599250793, -0.5652813911437988, 0.043254952877759933, -0.7146281599998474, -0.8776185512542725, 0.23091581463813782, -0.15225769579410553, -0.4964386224746704, -0.16282153129577637, -0.23541943728923798, -0.3721969425678253, 0.11872028559446335, -0.792363703250885, 0.8373371958732605, -0.48367613554000854, -0.3691151440143585, -0.42849594354629517, -0.4102216958999634, 0.2996884286403656, -0.3586553931236267, 0.6159722208976746, -0.2403125911951065, -0.07876590639352798, 0.6188156604766846, -0.8094649910926819, 0.5641835331916809, -0.18828509747982025, 0.0257309190928936, -0.0074586714617908, 0.26192569732666016, 0.11978816986083984, 0.1194094866514206, -0.3439232110977173, -0.17118215560913086, 0.5392976403236389, -0.38553276658058167, -0.7445452809333801, 0.7877029776573181, -0.5542423129081726, -0.31987419724464417, -0.497788667678833, -0.7463489770889282, -0.6935160160064697, 0.15621620416641235, -0.12985026836395264, 0.615757405757904, -0.5365201830863953, 0.194495290517807, 0.3111717700958252, -0.24614039063453674, -0.1099090576171875, 0.9165230393409729, -0.3212583065032959, -0.5769729614257812, 0.38747355341911316, 0.018785854801535606, 0.22485016286373138, 0.2065909504890442, 0.43545669317245483, -0.3409132957458496, -0.5725858807563782, -0.3625214099884033, 0.49176475405693054, -0.7951353788375854, -0.2820136845111847, -0.39707085490226746, -0.2871555984020233, -0.12212769687175751, -0.08292347192764282, -0.386112779378891, -0.34708037972450256, 0.26317572593688965, 0.1436387300491333, 0.29456934332847595, 0.5170246958732605, 0.09165018796920776, 0.07598324120044708, -0.8510728478431702, 0.26653948426246643, -0.017425838857889175, 0.484813392162323, -0.15778954327106476, -0.3582295775413513, -0.2999947667121887, 0.06525696069002151, -0.014220550656318665, -0.7275878190994263, 0.37662383913993835, 0.008620415814220905, 0.6495541334152222, 0.28651514649391174, -0.0925944596529007, 0.7226675748825073, -0.7245028614997864, 0.2726556956768036, 0.5193048715591431, -0.5032472014427185, 0.4098946452140808, -0.06423038989305496, 0.4877561628818512, 0.8206374049186707, 0.20340478420257568, -0.48409321904182434, -0.0403205081820488, -0.3620550334453583, -0.4298405945301056, 0.6194973587989807, 0.09961077570915222, -0.40374237298965454, -0.12796245515346527, 0.4086514413356781, 0.03602961450815201, 0.10032693296670914, -0.13421449065208435, -0.14998865127563477, 0.45938044786453247, -0.525826096534729, -0.1048051044344902, -0.043157678097486496, -0.4530755281448364, -0.5612895488739014, 0.27912890911102295, -0.13046520948410034, 0.17390842735767365, 0.30008336901664734, -0.1395614594221115, -0.2989061176776886, 0.315297931432724, 0.6489309072494507, 1.1456841230392456, -0.33066025376319885, 0.13526560366153717, 0.5110791921615601, -0.701568603515625, -0.12446901202201843, 0.3137573003768921, 0.25243282318115234, -0.06056477501988411, 0.1991177797317505, 0.3241196572780609, 0.6270965933799744, -1.2717084884643555, 0.6981195211410522, -0.36352184414863586, -0.37538132071495056, -0.39113283157348633, -0.19049972295761108, 0.13149820268154144, 0.11139153689146042, 0.06658446788787842, 0.19690069556236267, 0.05595048889517784, -0.5362682938575745, 0.28131914138793945, 0.3220454156398773, -0.37930983304977417, 0.058513764292001724, 0.4504660665988922, -0.04802747815847397, -0.1506921499967575, 0.6109604239463806, 0.2572709918022156, -0.3162027895450592, 0.7916354537010193, 0.7493767738342285, 0.43756452202796936, -0.1251021921634674, -0.05593809485435486, 0.39845237135887146, 0.160264790058136, -0.02789948135614395, 0.33972829580307007, 0.19520077109336853, -0.3917384445667267, -0.49032944440841675, -0.5568830966949463, -0.5975550413131714, 0.1083369255065918, -0.5457494258880615, 0.31406015157699585, -0.6438987255096436, -0.4907936751842499, 0.27133041620254517, 0.0016466493252664804, -0.7031112909317017, 0.3509480357170105, 0.16232722997665405, 1.095890760421753, -0.43310031294822693, 0.7097136378288269, 0.6981756091117859, -0.19892269372940063, -0.6987143754959106, -0.6145787239074707, 0.09584339708089828, -1.0412369966506958, 0.5335545539855957, 0.010596003383398056, -0.12723177671432495, -0.5173726677894592, -0.514802098274231, -0.45077192783355713, 1.0465333461761475, 0.578345000743866, -0.6018180847167969, -0.004200762137770653, 0.3464849293231964, 0.6860703229904175, -0.5740257501602173, 0.601570725440979, 0.8291240930557251, 0.46056753396987915, 0.15402504801750183, -1.3150522708892822, 0.17801693081855774, -0.4413248896598816, -0.37617459893226624, 0.28427907824516296, -0.35983383655548096, 0.8822526335716248, -0.35897406935691833, 0.09690121561288834, 0.23008304834365845, -0.19760628044605255, 0.5236070156097412, 0.5952895879745483, 0.32672110199928284, 0.7055502533912659, 0.8719318509101868, -0.2169264703989029, 1.3235224485397339, -0.38178136944770813, 0.23901519179344177, 0.9134573340415955, -0.5905869603157043, 0.6742369532585144, 0.22316475212574005, -0.6435301303863525, 0.3651168644428253, 0.4457972049713135, 0.03793608769774437, 0.2554453909397125, 0.5493738055229187, -0.41393253207206726, -0.47556737065315247, -0.1705484837293625, -0.4797424077987671, 0.20532484352588654, 0.7468759417533875, -0.6608798503875732, -0.32670119404792786, -0.1928257793188095, 0.18780918419361115, 0.12352417409420013, -0.3957410156726837, 0.5467897653579712, 0.3928914964199066, -0.7112253904342651, 0.9268923997879028, 0.04763662442564964, -0.10461317747831345, -0.7636927366256714, -0.18191468715667725, -0.0816023051738739, 0.4886256754398346, -0.39806607365608215, -0.7402089834213257, -0.019981903955340385, 0.18399351835250854, -0.1733298897743225, 0.19095158576965332, 0.5786157250404358, -0.0789218544960022, -0.6390945315361023, 0.153517484664917, 0.6052420139312744, 0.35738828778266907, -0.11773107200860977, -0.6047179698944092, 0.008334921672940254, -0.28721368312835693, 0.33072614669799805, 0.4270819425582886, 0.3876100480556488, -0.1848762482404709, 0.8025580048561096, 0.6202965974807739, 0.10982342064380646, -0.13063162565231323, 0.7172537446022034, 1.007896065711975, -0.6550138592720032, -0.06603865325450897, -0.7634176015853882, 0.027320051565766335, -0.0004234812513459474, -0.18257291615009308, 0.20111703872680664, 0.7139666676521301, 0.09448263794183731, 0.00825008936226368, 0.5535359978675842, 0.1620035320520401, 0.5829422473907471, -0.49473169445991516, 0.8389259576797485, -0.6494140028953552, 0.26589247584342957, -0.021110566332936287, -0.5555590391159058, -0.4938618838787079, 0.5610657930374146, -0.6394790410995483, 0.05066322907805443, 1.1459366083145142, 0.6336522102355957, 0.09685014188289642, 0.3166850209236145, 0.43230515718460083, 0.36416181921958923, 0.20930175483226776, 0.8882533311843872, 0.7052134275436401, -0.27060574293136597, 0.2851327657699585, -0.20835146307945251, -0.6765964031219482, -0.19309383630752563, -0.5641879439353943, -0.8613155484199524, -0.19219942390918732, -0.09128279238939285, -0.4046182930469513, 0.05609877407550812, 1.1758726835250854, 0.7243662476539612, -0.8646329045295715, -0.33475133776664734, 0.0001242322032339871, -0.2400231659412384, -0.09857963770627975, -0.13008201122283936, 0.5476390719413757, -0.29073798656463623, -0.36987102031707764, 0.545870304107666, 0.335042268037796, -0.3633226752281189, -0.12263219803571701, -0.0052582514472305775, -0.1442222148180008, 0.048525821417570114, 0.6651782393455505, 0.20285522937774658, -0.6076140999794006, 0.1745339184999466, 0.15513357520103455, -0.4249993562698364, 0.18189390003681183, 1.006359338760376, -1.01502525806427, 0.6228041648864746, 0.1690828651189804, 0.7717655301094055, 0.5758309364318848, -0.13036634027957916, 0.5791574120521545, -0.08024037629365921, -0.08373181521892548, 0.5421151518821716, 0.6372705101966858, 0.09122590720653534, 0.06797698885202408, 0.5061929821968079, 0.14707669615745544, -0.75747150182724, -0.7175179719924927, -0.08626826852560043, -1.084124207496643, -0.20184272527694702, 0.8945674896240234, -0.11291607469320297, -0.40301403403282166, -0.037524979561567307, -0.4167480766773224, 0.05305926129221916, -0.18855272233486176, 0.6641695499420166, 0.5512537360191345, -0.29759880900382996, 0.06726215034723282, -0.9853323101997375, 0.24497899413108826, 0.6046047806739807, -1.0067511796951294, 0.037109069526195526, 0.6295143365859985, 0.34923943877220154, -0.07531680166721344, 0.6249660849571228, -0.7722382545471191, 0.7136780619621277, -0.09616545587778091, -0.13106481730937958, 0.05162365362048149, 0.05768937990069389, 0.0025449444074183702, 0.08056900650262833, 0.1801285594701767, 0.12306979298591614 ]
http://arxiv.org/abs/2406.12034v1
http://arxiv.org/pdf/2406.12034v1
Self-MoE: Towards Compositional Large Language Models with Self-Specialized Experts
2024-06-17T19:06:54
2024-06-17T19:06:54
Junmo Kang, Leonid Karlinsky, Hongyin Luo, Zhen Wang, Jacob Hansen, James Glass, David Cox, Rameswar Panda, Rogerio Feris, Alan Ritter
cs.CL
cs.CL, cs.LG
We present Self-MoE, an approach that transforms a monolithic LLM into a compositional, modular system of self-specialized experts, named MiXSE (MiXture of Self-specialized Experts). Our approach leverages self-specialization, which constructs expert modules using self-generated synthetic data, each equipped with a shared base LLM and incorporating self-optimized routing. This allows for dynamic and capability-specific handling of various target tasks, enhancing overall capabilities, without extensive human-labeled data and added parameters. Our empirical results reveal that specializing LLMs may exhibit potential trade-offs in performances on non-specialized tasks. On the other hand, our Self-MoE demonstrates substantial improvements over the base LLM across diverse benchmarks such as knowledge, reasoning, math, and coding. It also consistently outperforms other methods, including instance merging and weight merging, while offering better flexibility and interpretability by design with semantic experts and routing. Our findings highlight the critical role of modularity and the potential of self-improvement in achieving efficient, scalable, and adaptable systems.
[ -0.5239220261573792, -0.6892954111099243, 0.4995177090167999, 0.3572758138179779, 0.17985133826732635, 0.22982065379619598, -0.4034212827682495, -0.3915358781814575, 0.6806901097297668, 0.6381008625030518, -0.5344188213348389, -0.3608500361442566, -0.4891054928302765, 0.05568321421742439, -0.35993722081184387, 0.647797167301178, 0.2512803077697754, -0.08060969412326813, -0.22666232287883759, 0.023404985666275024, -0.6400464177131653, -0.4294195771217346, -0.36026185750961304, -0.2305690348148346, 0.57178795337677, 0.5635578632354736, 0.48571738600730896, 0.7495885491371155, 0.17136426270008087, 0.3997842073440552, 0.32554689049720764, 0.1946408450603485, -0.45579200983047485, 0.37875455617904663, -0.5102983117103577, -0.5031905174255371, -1.0068116188049316, -0.17220856249332428, 0.5456439256668091, 0.7308671474456787, -0.1891276240348816, -0.029085325077176094, 0.011835522018373013, 0.6511318683624268, -0.5839148163795471, 0.06711680442094803, -0.7125113606452942, 0.10360335558652878, -0.35401812195777893, -0.041233476251363754, -0.3620573878288269, 0.3720279633998871, 0.10461919009685516, -0.4862036108970642, -0.04149796441197395, -0.03982461616396904, -0.13235510885715485, 0.47337064146995544, -0.429778128862381, -0.12972888350486755, -0.5447697043418884, 0.9232543110847473, -0.9734486937522888, 0.3979983925819397, 0.14761601388454437, 0.25067973136901855, -0.31644508242607117, -0.4223533868789673, -0.32669708132743835, -0.017392633482813835, 0.1465766727924347, 0.3861210346221924, 0.038534920662641525, -0.019776469096541405, -0.21468597650527954, 0.5145263671875, -0.44548875093460083, 0.36328476667404175, -0.43572795391082764, -0.18964895606040955, 1.0697946548461914, 0.3341864049434662, 0.4945903420448303, -0.13395360112190247, -0.3833785355091095, 0.38218262791633606, -0.5962381362915039, -0.23607724905014038, 0.36145758628845215, 0.057249054312705994, 0.10940297693014145, 0.6195641160011292, -0.46345508098602295, 0.6275613903999329, 0.295946329832077, -0.1268632411956787, 0.06498877704143524, -0.21287283301353455, -0.16457943618297577, -0.0017942533595487475, 0.9916585683822632, -0.02951628528535366, 0.1868697553873062, -0.44004887342453003, -0.3284386694431305, -0.44173651933670044, 0.46653681993484497, -0.38132336735725403, -0.628291130065918, 0.23976117372512817, -0.37590980529785156, -0.20589804649353027, -0.19225722551345825, -0.6843072772026062, 0.030399268493056297, -0.46667638421058655, 0.6204974055290222, -0.3681105077266693, -0.49293771386146545, 0.23153230547904968, 0.12102768570184708, -0.17984406650066376, 0.41084668040275574, -1.3220256567001343, 0.3532862663269043, 0.6645587086677551, 0.628333568572998, -0.6731239557266235, -0.5354355573654175, -0.056261539459228516, 0.6352432370185852, -0.4573780596256256, 0.6946168541908264, -0.5676879286766052, -0.673413872718811, -0.43396487832069397, -0.49204984307289124, -0.09337235242128372, -0.7125675678253174, 0.12402404099702835, -0.46945884823799133, 0.0845290794968605, 0.051359497010707855, -0.7326306104660034, -0.0794459879398346, 0.23029085993766785, -0.42635291814804077, 1.0724602937698364, 0.15455278754234314, -0.44334250688552856, -0.04254736378788948, -0.7196348905563354, -0.7169609665870667, 0.13039126992225647, -0.2895888090133667, 0.2192729264497757, 0.3810635507106781, 0.21368996798992157, 0.7038571238517761, -0.11400480568408966, 0.21189384162425995, -0.4330218732357025, 0.11199039965867996, 0.23008422553539276, -0.27894675731658936, 0.47974246740341187, 0.33916693925857544, -0.20203471183776855, 0.1528540700674057, -0.7751260995864868, 0.16486258804798126, -0.15033696591854095, -0.6020158529281616, -0.43560296297073364, 0.2376200258731842, -0.336484432220459, 0.11291808634996414, 0.8296452164649963, -0.38280731439590454, 0.5238066911697388, -0.31716546416282654, 0.401299387216568, 1.132240891456604, -0.37103506922721863, 0.8118414282798767, -0.26140740513801575, 0.3983679711818695, 0.12888148427009583, 0.14644025266170502, -0.3988906741142273, -0.6124703884124756, -1.0817488431930542, -0.6405482292175293, 0.14480268955230713, 0.32569465041160583, -0.5591660737991333, 0.7388680577278137, -0.3021893799304962, -0.4592368006706238, -0.5312792062759399, 0.5309991836547852, 0.18989872932434082, 0.5669459700584412, 0.6266021132469177, -0.3814808130264282, -0.35655543208122253, -1.284361720085144, -0.1578228771686554, -0.03561271354556084, 0.10114791244268417, 0.07500341534614563, 0.16992752254009247, -0.5284969806671143, 1.25562584400177, -0.5439292788505554, -0.22718243300914764, -0.19721020758152008, 0.0645020604133606, 0.09486427903175354, 0.8126959204673767, 0.3354085385799408, -0.3677590787410736, -0.7142364978790283, 0.21589414775371552, -0.9183908700942993, -0.25979241728782654, 0.14040470123291016, -0.32005059719085693, -0.009324409998953342, 0.4986744821071625, -0.48026686906814575, -0.1524757444858551, 0.6456727385520935, -0.023818738758563995, 0.6045531034469604, -0.35729020833969116, -0.14006608724594116, -1.2962654829025269, -0.320453405380249, -0.2576797902584076, -0.27362900972366333, -0.6844251155853271, 0.2558508813381195, 0.018692459911108017, 0.0625094324350357, -0.09763635694980621, 0.7077307105064392, -0.5352472066879272, -0.0940137431025505, -0.32233214378356934, -0.28920260071754456, -0.321113646030426, 0.4866943061351776, -0.15793868899345398, 0.933502733707428, 0.9642505049705505, -0.6798434853553772, 0.46412813663482666, -0.027931900694966316, -0.13926655054092407, 0.600865364074707, -0.6053248047828674, 0.16035358607769012, 0.062174029648303986, -0.04231766611337662, -0.8744625449180603, -0.45886948704719543, 0.17458093166351318, -0.2390115112066269, 0.3817330598831177, -0.08943206816911697, -0.46110236644744873, -0.15036259591579437, 0.007376108318567276, 0.5626540780067444, 0.5470102429389954, -0.20803625881671906, 1.078239917755127, 0.47434383630752563, -0.4876754879951477, -0.40013036131858826, -0.94306880235672, 0.29522833228111267, -0.04791465029120445, -0.9217578172683716, 0.25678402185440063, -0.5240184664726257, -0.08700000494718552, 0.0439005009829998, -0.10875653475522995, -0.2293773591518402, 0.21738575398921967, -0.007758706342428923, -0.15090908110141754, -0.5257417559623718, 0.2916693091392517, 0.4338639974594116, -0.26826128363609314, 0.157013401389122, -0.5605310797691345, 0.41436728835105896, -0.021460261195898056, -0.7078945636749268, -0.3828139305114746, 0.7056533694267273, 0.6353849172592163, -0.37434160709381104, 0.375619500875473, 0.32868528366088867, 0.021218739449977875, -0.6015492677688599, -0.870769202709198, -0.05921769514679909, -0.5317094922065735, 0.22596873342990875, -0.64873206615448, -1.0678331851959229, 0.617253839969635, 0.030476879328489304, 0.04110972583293915, 0.5876305103302002, 0.7387014031410217, -0.24706290662288666, 0.8912703990936279, 0.4651166498661041, -0.26852643489837646, 0.3978235721588135, -0.1763308346271515, 0.17709167301654816, -0.8475534319877625, -0.15399262309074402, 0.04884001612663269, -0.5036665797233582, -0.3749999701976776, -0.66981440782547, 0.48480024933815, -0.1888950765132904, -0.03545117750763893, 0.2639584541320801, -0.30491623282432556, 0.43147942423820496, 0.6347041726112366, 0.09417638927698135, 0.4070049822330475, -0.2566854953765869, -0.032411690801382065, 0.06367609649896622, -1.042719841003418, -0.36126357316970825, 1.3228570222854614, 0.2892869710922241, 1.1360507011413574, 0.14677609503269196, 1.0188279151916504, 0.41320955753326416, 0.32851511240005493, -0.7985812425613403, 0.8002458214759827, -0.14195935428142548, -0.7677878737449646, -0.41637951135635376, -0.5114235281944275, -0.6619238257408142, 0.4575534164905548, -0.08447131514549255, -0.45434993505477905, 0.024989232420921326, 0.1473361849784851, -0.14394110441207886, 0.26992449164390564, -0.7742156386375427, 0.6795320510864258, -0.475452721118927, -0.12729716300964355, -0.5559040904045105, -0.3906133472919464, 0.4398488700389862, -0.4962426424026489, 0.2743224799633026, -0.2712602913379669, -0.3767203390598297, 0.48395419120788574, -0.19778963923454285, 0.9921287298202515, 0.3027130961418152, -0.3645557761192322, 0.1762615442276001, 0.4887996017932892, 0.257960706949234, 0.07234790176153183, -0.4012920558452606, 0.281772255897522, -0.28564688563346863, -0.6817086935043335, -0.7737984657287598, 0.9930704236030579, -0.9058718085289001, -0.9098092913627625, 0.14271312952041626, -0.7875988483428955, -0.3169320821762085, 0.3484951853752136, -0.004320170730352402, 0.5789402723312378, -0.11442308127880096, 0.2128237932920456, 0.7533882260322571, 0.19864831864833832, 0.3773172199726105, 0.6859946250915527, -0.08789761364459991, -0.5569107532501221, 0.9471749663352966, 0.42534980177879333, 0.33744820952415466, 0.4021530747413635, 0.2758965492248535, -0.0031984560191631317, -0.6457700133323669, -0.47512751817703247, 0.09315819293260574, -0.8089845776557922, -0.004909267649054527, -0.8436955809593201, -0.05126505345106125, -0.40747588872909546, -0.32720640301704407, -0.8890409469604492, -0.4293012320995331, -0.45109644532203674, 0.051268547773361206, -0.16501463949680328, 1.0588608980178833, -0.16776663064956665, 0.30085331201553345, -0.81342613697052, 0.09644987434148788, 0.734002947807312, 0.36883676052093506, 0.23341231048107147, -0.4156225025653839, -0.47480371594429016, -0.06651203334331512, -0.23504044115543365, -0.739060640335083, 0.1316901594400406, 0.12443572282791138, 1.0646090507507324, 0.4359559714794159, 0.07631824910640717, 0.6667155027389526, -0.699858546257019, 0.6464778184890747, 0.24351352453231812, -1.114827275276184, 0.5253254771232605, -0.6801941394805908, 0.20601674914360046, 0.4011055827140808, 0.17043231427669525, -0.1694399118423462, -0.6182568073272705, -0.5127214193344116, -0.6617490649223328, 0.532069206237793, 0.14990496635437012, 0.5347947478294373, -0.1279950588941574, 0.245381698012352, 0.3810417056083679, 0.2428554743528366, -0.7139883041381836, -0.2669123709201813, -0.0715009793639183, -0.3977488577365875, -0.05490079149603844, -0.30941808223724365, -0.16796475648880005, -0.2601453959941864, 0.5253720283508301, -0.25074392557144165, 0.13154298067092896, 0.19735337793827057, -0.23942086100578308, 0.05305427685379982, 0.32305869460105896, 0.5409078001976013, 0.9536301493644714, 0.3070825934410095, 0.361165851354599, 0.3360798954963684, 0.15638473629951477, 0.00930433627218008, -0.45072633028030396, 0.010484556667506695, -0.3293100595474243, 0.478270947933197, 0.4427315592765808, 0.6903082132339478, -0.496932715177536, 0.29997602105140686, 0.46574047207832336, -0.06119455397129059, -0.06826364994049072, 0.4991050958633423, 0.1736101508140564, 0.3997194766998291, 0.47036290168762207, 0.054798442870378494, 0.27330562472343445, -0.5914594531059265, 0.21412692964076996, 0.38333627581596375, -0.009169908240437508, -0.5900738835334778, 0.4631761312484741, 0.6282753348350525, -0.39960548281669617, 0.055250782519578934, 0.0776619017124176, -0.37084344029426575, 0.37880733609199524, 0.5453057289123535, 0.8542969226837158, -0.6032279133796692, 0.011953937821090221, -0.013407832942903042, 0.2490694671869278, -0.12403550744056702, -0.05080050602555275, -0.3080426752567291, -0.6427473425865173, -0.5338213443756104, -0.39571988582611084, -0.294036328792572, -0.35179558396339417, -0.5109997987747192, 0.05243244022130966, -0.5587455630302429, -0.06237820163369179, -0.21232035756111145, -0.47482606768608093, -0.35256847739219666, 0.1488599330186844, 0.007341747637838125, 0.8205291032791138, -0.5817969441413879, 0.7327004671096802, 0.924634575843811, -0.13562732934951782, -0.5457062721252441, -0.012145442888140678, -0.4028717279434204, -0.845914363861084, 0.8238320350646973, -0.1030304878950119, -0.11301182955503464, 0.1804383397102356, -0.3729115426540375, -0.9366434216499329, 0.9605987071990967, 0.3346479833126068, -0.39218878746032715, 0.04401536285877228, -0.021947359666228294, 0.5646241307258606, -0.5486233234405518, 0.13467571139335632, 0.16613233089447021, 0.39592063426971436, -0.08875735849142075, -1.1309319734573364, -0.2409067302942276, -0.15945935249328613, 0.008559121750295162, 0.22895671427249908, -0.9352796673774719, 1.0080691576004028, 0.2296321839094162, 0.1377410888671875, -0.10494425892829895, 0.9132066369056702, -0.23633429408073425, 0.023674702271819115, 0.3531686067581177, 0.7167221903800964, 0.6181809902191162, 0.38096508383750916, 0.8010069131851196, -0.5046988129615784, 0.33774057030677795, 1.0144902467727661, -0.09693917632102966, 0.8987547159194946, 0.3822730779647827, -0.13048739731311798, 0.7065786719322205, 0.3358907103538513, 0.3247455954551697, 0.396117240190506, -0.09433791041374207, -0.4425604045391083, -0.8476606607437134, 0.4702838063240051, -0.34807154536247253, 0.5882699489593506, 0.3678961992263794, -0.1358201950788498, -0.31190454959869385, -0.00508570671081543, -0.2365259975194931, 0.015442333184182644, -0.3779166042804718, 0.8778238892555237, 0.05208075791597366, -0.680595874786377, 0.15873581171035767, 0.07743168622255325, 0.8408238887786865, -0.6218162775039673, 0.4199640452861786, -0.2531128227710724, -0.01135269831866026, -0.2918807566165924, -0.9946569204330444, 0.35129380226135254, -0.41339877247810364, -0.40576934814453125, -0.4242844879627228, 0.7794523239135742, -0.5127119421958923, -0.5551139116287231, 0.3861270248889923, 0.8304320573806763, 0.0784103199839592, 0.03601177781820297, -0.6475852727890015, -0.198019877076149, -0.26597288250923157, -0.27091142535209656, 0.42144089937210083, 0.7083005905151367, 0.10483265668153763, 1.1013412475585938, 0.5989583134651184, 0.022753586992621422, 0.46550318598747253, -0.31411564350128174, 1.056218147277832, -0.5967313051223755, -0.7415527701377869, -0.7871389389038086, 0.645448625087738, 0.05144356191158295, -0.1083373948931694, 0.8773403763771057, 0.554730236530304, 0.8642326593399048, -0.2996004521846771, 0.8725233674049377, 0.09421998262405396, 0.29448559880256653, -0.6309148073196411, 0.6142669320106506, -0.8634741902351379, 0.24026770889759064, 0.006942661013454199, -0.8281218409538269, 0.003459247527644038, 0.4745017886161804, -0.3971779942512512, 0.17555168271064758, 0.32591256499290466, 0.7055417895317078, -0.6023995876312256, -0.32077035307884216, 0.6831337809562683, 0.22204139828681946, 0.2733822762966156, 0.3392718732357025, 0.8124607801437378, 0.03363867476582527, 0.23440015316009521, -0.04062403738498688, -0.1995345503091812, -0.4891546964645386, -0.6337201595306396, -1.0477700233459473, -0.41365090012550354, -0.26739490032196045, 0.40862008929252625, -0.20300686359405518, 0.9305689334869385, 1.19955313205719, -0.6175267696380615, -0.47039881348609924, 0.009288358502089977, 0.18774497509002686, 0.2840115427970886, -0.19081951677799225, -0.2608274817466736, -0.7434094548225403, -0.7625890970230103, 0.9267366528511047, 0.8759481310844421, -0.06865359842777252, -0.8269787430763245, -0.15510046482086182, 0.17230439186096191, 0.29113563895225525, 0.7970049977302551, 0.09793777763843536, -0.9126524329185486, -0.07009600102901459, 0.04683980718255043, -0.18599897623062134, 0.14045405387878418, 0.8932055830955505, -0.496213436126709, 0.8141217827796936, 0.6300066113471985, 0.966137170791626, 0.20523220300674438, -0.1060919389128685, 0.7761181592941284, -0.5570602416992188, -0.08366566151380539, 0.16959726810455322, 0.4322081506252289, 0.09143219143152237, -0.35684868693351746, 0.3459656238555908, 0.2329220473766327, -0.637403666973114, -0.36408567428588867, 0.47570130228996277, -1.1624187231063843, -0.3282078206539154, 0.9873467087745667, -0.18250218033790588, -0.14088250696659088, -0.09889184683561325, -0.10401151329278946, -0.32425615191459656, -0.3599158823490143, 0.7942115068435669, 0.8485069274902344, -0.2701062858104706, -0.22385725378990173, -0.43094906210899353, -0.152715265750885, 0.6897665858268738, -0.9012882709503174, -0.19506129622459412, 0.3894115090370178, 0.7167819142341614, 0.1977618932723999, 0.8632011413574219, 0.14499323070049286, 0.004401892889291048, -0.29566052556037903, 0.1840902715921402, -0.2576659917831421, -0.418625146150589, -0.07227727025747299, 0.10371848940849304, 0.044156625866889954, 0.11387442797422409 ]
http://arxiv.org/abs/2406.12033v2
http://arxiv.org/pdf/2406.12033v2
Unveiling and Mitigating Bias in Mental Health Analysis with Large Language Models
2024-06-17T19:05:32
2024-06-19T18:28:22
Yuqing Wang, Yun Zhao, Sara Alessandra Keller, Anne de Hond, Marieke M. van Buchem, Malvika Pillai, Tina Hernandez-Boussard
cs.CL
cs.CL
The advancement of large language models (LLMs) has demonstrated strong capabilities across various applications, including mental health analysis. However, existing studies have focused on predictive performance, leaving the critical issue of fairness underexplored, posing significant risks to vulnerable populations. Despite acknowledging potential biases, previous works have lacked thorough investigations into these biases and their impacts. To address this gap, we systematically evaluate biases across seven social factors (e.g., gender, age, religion) using ten LLMs with different prompting methods on eight diverse mental health datasets. Our results show that GPT-4 achieves the best overall balance in performance and fairness among LLMs, although it still lags behind domain-specific models like MentalRoBERTa in some cases. Additionally, our tailored fairness-aware prompts can effectively mitigate bias in mental health predictions, highlighting the great potential for fair analysis in this field.
[ -0.3581916391849518, -0.7111181020736694, 0.9544339776039124, 0.2233424186706543, 0.1535327136516571, -0.10808857530355453, -0.2775927186012268, -0.42077013850212097, -0.12102316319942474, 0.31031322479248047, -0.7924655079841614, -0.3779720067977905, -0.9342877864837646, 0.10407033562660217, 0.061943016946315765, 1.3294250965118408, 0.30635809898376465, 0.5553946495056152, -0.057832270860672, -0.019741542637348175, -0.6024790406227112, -0.7003370523452759, -0.9033081531524658, -0.6808741688728333, 0.5472287535667419, 0.09590964019298553, 0.7820351719856262, 0.16818371415138245, 0.39925578236579895, 0.20470640063285828, -0.11652401834726334, -0.16248278319835663, -0.6734135150909424, 0.06554210931062698, -0.405790239572525, -0.43413543701171875, -0.7477222084999084, 0.18074411153793335, 0.5270534157752991, 0.8200803995132446, -0.2615082263946533, 0.312068909406662, 0.15507765114307404, 0.7212100028991699, -0.4830407202243805, 0.13535553216934204, -0.571983277797699, 0.21986885368824005, -0.5260252952575684, -0.07674479484558105, -0.18593208491802216, -0.5047765970230103, 0.10256398469209671, -0.29979071021080017, 0.306587815284729, -0.019534924998879433, 0.44215667247772217, 0.39327365159988403, -0.5771288871765137, 0.06052856147289276, -0.49757757782936096, 0.9088565111160278, -0.8572755455970764, 0.2646145224571228, 0.40274688601493835, 0.3877270519733429, -0.3024595379829407, -0.39272359013557434, -0.40994131565093994, 0.23444679379463196, 0.1784735769033432, 0.02142561972141266, -0.34781545400619507, 0.16861902177333832, 0.7100640535354614, 0.19007828831672668, -0.469832181930542, 0.11850208044052124, -0.4169391393661499, -0.4454607367515564, 0.49329230189323425, 0.3565238416194916, 0.41352635622024536, -0.05509359389543533, 0.14984130859375, 0.28435954451560974, -0.7158191204071045, 0.12094949185848236, 0.404468297958374, 0.1460653394460678, -0.10942540317773819, 0.5844107866287231, -0.007335031405091286, 0.18500277400016785, 0.10129671543836594, -0.24090860784053802, 0.3582553267478943, -0.05289381369948387, -0.1445702761411667, 0.03561709076166153, 0.6795381307601929, 0.8323178887367249, 0.4265454411506653, -0.16943329572677612, -0.183834969997406, 0.3540113866329193, 0.09854203462600708, -0.9486642479896545, 0.04122670367360115, 0.20058144629001617, -0.6402716636657715, 0.05961435288190842, -0.29579076170921326, -1.1308962106704712, -0.6703906655311584, -0.32529279589653015, 0.018378816545009613, -0.2229829728603363, -0.29862475395202637, 0.2757112383842468, -0.012217848561704159, 0.07269340008497238, 0.34905022382736206, -0.7923502326011658, 0.44910958409309387, 0.7191460728645325, 0.7055351734161377, -0.21146894991397858, 0.07050411403179169, -0.7954907417297363, 0.21566253900527954, -0.13291384279727936, 0.5370787978172302, -0.7007108330726624, -0.2527404725551605, -0.004068935289978981, -0.0991065576672554, 0.2525663673877716, -0.34570908546447754, 0.735896646976471, -0.14324983954429626, 0.4830419421195984, -1.0085123777389526, -0.4676104784011841, -0.10277713090181351, 0.02634536474943161, -0.6139606833457947, 0.6470204591751099, 0.19341517984867096, -1.1740570068359375, 0.5687177181243896, -0.7289010882377625, -0.4216679632663727, -0.07308631390333176, -0.5503859519958496, -0.4560920298099518, 0.295562744140625, 0.6029080748558044, 0.345716267824173, -0.4629206359386444, 0.6519545316696167, -0.6226427555084229, -0.5117260813713074, 0.11192815005779266, -0.6032071113586426, 0.7758851647377014, 0.21192021667957306, -0.6715636253356934, 0.15267632901668549, -0.20152202248573303, -0.11509411782026291, 0.11945989727973938, 0.07046595215797424, -0.156554713845253, -0.06775026023387909, -0.03316192701458931, 0.40625107288360596, 0.05432111397385597, -0.4529981017112732, -0.15082751214504242, -0.4662792980670929, 0.36400124430656433, 1.0364729166030884, -0.21294179558753967, 0.30704426765441895, -0.45298096537590027, 0.8166720271110535, -0.15745355188846588, 0.4640517830848694, 0.30344128608703613, -0.7811054587364197, -0.018221039324998856, -0.5905879139900208, 0.11419418454170227, 0.4387838542461395, -0.5867010951042175, 0.15007054805755615, -0.202409029006958, 0.012248384766280651, -0.660100519657135, -0.00033453499781899154, 0.3290482759475708, 0.38077065348625183, 0.1707126647233963, -0.3324835002422333, -0.34310483932495117, -0.9567159414291382, -0.5545770525932312, 0.07534997165203094, -0.05483078211545944, 0.20507431030273438, 0.3226368725299835, -0.33328720927238464, 0.7995190024375916, -0.3092183470726013, -0.2686011493206024, -0.22906389832496643, -0.044009726494550705, 0.2523915469646454, 0.09025441855192184, 0.7712582349777222, -0.4384295344352722, -0.23188826441764832, -0.349485844373703, -0.6565654277801514, -0.7167478203773499, 0.44369539618492126, -0.16312001645565033, -0.04020193964242935, 0.1581888198852539, -0.49716904759407043, 0.38207587599754333, 0.6444592475891113, -0.49241140484809875, 0.38471999764442444, 0.10908298194408417, 0.1496034562587738, -0.6519470810890198, 0.00490294536575675, 0.1586654782295227, -0.1448194682598114, -0.4701317846775055, -0.2799067795276642, -0.06980124861001968, -0.038779016584157944, -0.24443139135837555, 0.6876440048217773, -0.2616322338581085, -0.15066631138324738, -0.2865963280200958, -0.07222342491149902, -0.1369309425354004, 0.11626221984624863, -0.39651399850845337, 0.7247583270072937, 0.46478644013404846, -0.0715869814157486, -0.08794775605201721, -0.15756598114967346, 0.02394341118633747, 0.6494368314743042, -0.5959283113479614, 0.10889516770839691, -0.33973339200019836, 0.5680897235870361, -0.7358909845352173, -0.14016659557819366, 0.3350335955619812, -0.36080530285835266, 0.13831642270088196, 0.09420186281204224, -0.39964625239372253, -0.45911675691604614, -0.5710494518280029, 0.6264550089836121, 0.45499560236930847, -0.1860220730304718, 0.40818506479263306, 0.7180083394050598, -0.4677324593067169, -0.6717541813850403, -0.36635854840278625, -0.04980906471610069, -0.6397157907485962, -0.5435822010040283, 0.3047972023487091, -0.33734744787216187, -0.4979346692562103, -0.20383773744106293, -0.18406911194324493, 0.18256162106990814, 0.0842675194144249, 0.28124114871025085, 0.36902257800102234, 0.1556086540222168, 0.1321738213300705, 0.04019489884376526, -0.15415871143341064, 0.3472071886062622, -0.08822078257799149, 0.5057173371315002, -0.1991928517818451, -0.2905515432357788, -0.23254968225955963, 0.5233824253082275, 0.4678463339805603, -0.24767713248729706, 0.5590476393699646, 0.6543914675712585, -0.6685312986373901, -0.011983176693320274, -0.7954705953598022, -0.31574320793151855, -0.45913171768188477, 0.33524617552757263, -0.1111239641904831, -1.2412981986999512, 0.5305365920066833, 0.21889838576316833, -0.015218831598758698, 0.25676411390304565, 0.7941537499427795, 0.25217053294181824, 1.3933361768722534, 0.6577199101448059, -0.36680158972740173, 0.4140043258666992, 0.25125065445899963, 0.5470852255821228, -0.6144229173660278, 0.027276217937469482, -0.45338737964630127, -0.1344524770975113, -0.7603055834770203, -0.49011749029159546, 0.47664931416511536, -0.19439594447612762, -0.4387459456920624, -0.6395997405052185, -0.5166569948196411, 0.28502580523490906, 0.21761171519756317, 0.17933671176433563, 0.28394484519958496, -0.11937695741653442, -0.17247320711612701, -0.47843030095100403, -0.47130507230758667, -0.5217510461807251, 1.402639389038086, 0.6927408576011658, 0.7810231447219849, 0.09292470663785934, 0.5072852373123169, 0.3161296248435974, 0.7339017391204834, -0.45611605048179626, 0.3390278220176697, -0.11751490086317062, -0.9126937985420227, -0.3605189323425293, -0.7320660948753357, -0.8810959458351135, 0.2526386082172394, 0.02608771063387394, -0.872473955154419, 0.017312508076429367, 0.08678986132144928, -0.40196555852890015, 0.17119146883487701, -0.6694114208221436, 0.478895902633667, -0.278181791305542, -0.3494931757450104, -0.20828324556350708, -0.4701549708843231, 0.6755297183990479, -0.30388569831848145, 0.659554660320282, -0.7251397967338562, 0.17669664323329926, 0.7600913643836975, -0.10523133724927902, 0.6542146801948547, -0.3211858570575714, -0.32739704847335815, -0.24026429653167725, -0.09833942353725433, 0.2598682641983032, 0.3843342363834381, -0.26132944226264954, 0.25258511304855347, 0.06814602017402649, -0.4870087802410126, -0.6345205307006836, 0.860041081905365, -0.6989096999168396, -0.7776237726211548, -0.517368733882904, -0.6451005935668945, -0.5484625697135925, 0.2191183716058731, 0.12262298166751862, 0.18351970613002777, -0.048572443425655365, -0.3248877227306366, 0.7031844258308411, -0.546920657157898, 0.1596754491329193, 0.4998021423816681, -0.5093653798103333, -0.45079925656318665, 0.4931930601596832, 0.18419033288955688, 0.05216396600008011, -0.2612136900424957, 0.41960400342941284, -0.3242078721523285, -0.39842161536216736, 0.004339816048741341, 0.5031294822692871, -0.5970678925514221, -0.1996016651391983, -0.575189471244812, -0.026030493900179863, -0.676826000213623, -0.028762156143784523, -0.22865159809589386, 0.015940722078084946, 0.1816328912973404, -0.33703720569610596, 0.2876633405685425, 0.7593745589256287, -0.08818131685256958, 0.11720338463783264, -0.34157848358154297, 0.38040822744369507, 0.3089160621166229, 0.640011727809906, 0.26787063479423523, -0.2625850439071655, 0.13741181790828705, -0.053249187767505646, -0.3843229413032532, -0.8762903809547424, 0.31542861461639404, -0.19705553352832794, 0.7842110991477966, 0.4959237575531006, 0.043869342654943466, 0.4466194212436676, -0.7105526924133301, 0.6864224076271057, 0.5541719198226929, -0.9697754383087158, 0.6024724245071411, -0.4801676273345947, 0.26786282658576965, 0.4094026982784271, 0.3114284873008728, -0.531982421875, -0.526779055595398, -0.5633411407470703, -0.7087711691856384, 0.5190947651863098, 0.2483796626329422, -0.057668473571538925, -0.18534837663173676, 0.30252107977867126, 0.30525270104408264, 0.16999050974845886, -0.8425173759460449, -0.19420857727527618, -0.16604967415332794, -0.3499916195869446, -0.08370696008205414, -0.34031856060028076, -0.4668891429901123, -0.43445974588394165, 0.43639424443244934, -0.19493265450000763, 0.3674747347831726, 0.09174302965402603, 0.19434130191802979, -0.34241265058517456, 0.40539059042930603, 0.4575127065181732, 0.7445449233055115, -0.2258928120136261, 0.16842132806777954, 0.2562476694583893, -0.5487524271011353, 0.2426053285598755, 0.20230284333229065, -0.056992776691913605, -0.2207551896572113, 0.3485869765281677, 0.5853945016860962, -0.0749417319893837, -0.6581166386604309, 0.6633848547935486, -0.22916938364505768, 0.004338332451879978, 0.12429557740688324, 0.03147925063967705, -0.004480977077037096, 0.5304844379425049, 0.24573904275894165, -0.4449085593223572, 0.43998467922210693, -0.48669713735580444, 0.11957722157239914, 0.6260956525802612, -0.40129154920578003, -0.3771161437034607, 0.7763510346412659, 0.15514077246189117, -0.11325612664222717, 0.4477064609527588, -0.007464895024895668, -0.42403218150138855, 0.48371875286102295, 0.4789275527000427, 0.6505728363990784, -0.2847682237625122, 0.17446599900722504, 0.1482182890176773, 0.4827064573764801, -0.12843886017799377, 0.4601411521434784, 0.5336438417434692, -0.6883164048194885, -0.5725967288017273, -0.5263156294822693, -0.1729569286108017, 0.3151698112487793, -0.7510029077529907, 0.027854422107338905, -0.4059421122074127, -0.8331540822982788, -0.09483687579631805, 0.30514955520629883, -1.1448392868041992, 0.2221144586801529, 0.45193400979042053, 0.6655871272087097, -0.9293034076690674, 0.6257100701332092, 0.4041074514389038, -0.1929207742214203, -0.5935959815979004, 0.32591935992240906, 0.3158675730228424, -0.7011622190475464, 0.33287885785102844, 0.44368523359298706, -0.06119532138109207, -0.2841954231262207, -0.49335744976997375, -0.7191275358200073, 0.9262112975120544, 0.9597615599632263, -0.6409660577774048, -0.111723393201828, 0.10467582195997238, 0.4001008868217468, -0.22662213444709778, 0.4531738758087158, 0.8403580784797668, 0.7563936710357666, -0.3765501379966736, -1.0525895357131958, 0.2474251389503479, -0.1370767503976822, 0.21850897371768951, -0.06587008386850357, -0.5187316536903381, 0.667752742767334, -0.26732203364372253, -0.10518614947795868, -0.3927580416202545, 0.3806796967983246, 0.5626774430274963, 0.5159986019134521, 0.5163417458534241, 0.43694010376930237, 1.1957298517227173, -0.07293572276830673, 1.0723559856414795, 0.04150394722819328, 0.27920717000961304, 1.1319386959075928, -0.7192828059196472, 0.1644156128168106, 0.47299617528915405, -0.4494599997997284, 0.06364726275205612, 0.6380481123924255, 0.24756769835948944, 0.5233858227729797, 0.5040836930274963, -0.25574052333831787, -0.06287553906440735, -0.2824555039405823, -0.5110000967979431, 0.14284588396549225, 0.45090535283088684, -0.31251057982444763, -0.19331026077270508, 0.10268717259168625, 0.3734682500362396, -0.00766109861433506, -0.35530003905296326, 0.3375805616378784, 0.28776106238365173, -0.4105207622051239, 0.08446601033210754, 0.04347427934408188, 0.9805461764335632, -0.5008062124252319, -0.005514981225132942, -0.4247376620769501, -0.1106804832816124, -0.10284443199634552, -0.6886177659034729, 0.16592366993427277, -0.04124253988265991, -0.4851824939250946, -0.06963837891817093, 0.7653701901435852, -0.2123105525970459, -0.5281092524528503, 0.7193894386291504, 0.7146207690238953, -0.02689671888947487, -0.17034117877483368, -0.6551459431648254, 0.22897744178771973, -0.06103205680847168, -0.15123552083969116, 0.6362341642379761, 0.7666189670562744, -0.3772962987422943, 0.7312136888504028, 0.520582914352417, 0.31345459818840027, 0.01151240523904562, 0.4032318890094757, 0.6896436810493469, -0.764348566532135, -0.37654203176498413, -1.0461622476577759, 0.27084624767303467, -0.11525879055261612, -0.10673590749502182, 0.7681725025177002, 0.2208871841430664, 0.3932996690273285, 0.2400495707988739, 0.8729423880577087, 0.4001092314720154, 0.4734012186527252, -0.3043972849845886, 0.8648973703384399, -0.3465464413166046, 0.2752804756164551, -0.5552855730056763, -0.7638188600540161, -0.2532058358192444, 0.4882468581199646, -0.6499229073524475, 0.3909657895565033, 0.6378715634346008, 0.7344546318054199, 0.3289344310760498, 0.04864945635199547, 0.2744404971599579, 0.16551747918128967, 0.7301624417304993, 0.6168925762176514, 0.7353605628013611, 0.07320521026849747, -0.045928727835416794, 0.1234956756234169, -0.48611241579055786, 0.07595206797122955, -1.060740351676941, -0.9909185767173767, 0.03247682377696037, -0.07453329861164093, -0.31089937686920166, 0.32317304611206055, 0.7321116924285889, 0.522599458694458, -0.687751829624176, 0.0011860219528898597, 0.4335845112800598, 0.22654221951961517, -0.14903448522090912, -0.2243497520685196, 0.2913978099822998, -0.11319156736135483, -0.4861277639865875, -0.039545319974422455, 0.26283910870552063, -0.3418812155723572, -0.3454395830631256, -0.1073169857263565, 0.24636107683181763, 0.18945325911045074, 0.6105121970176697, -0.24980492889881134, -0.9270464181900024, -0.37051355838775635, -0.36133840680122375, -0.12326212972402573, 0.0035022974479943514, 0.7776932120323181, -0.581524670124054, 0.22393789887428284, 0.22316914796829224, 0.5797784328460693, 0.013810229487717152, -0.2630334496498108, 0.9112629890441895, -0.37642383575439453, -0.17754864692687988, 0.26196417212486267, 0.557773768901825, 0.42140522599220276, -0.7263430953025818, 0.5402337908744812, 0.10344591736793518, -0.6136047840118408, -0.8033900856971741, -0.030120978131890297, -0.6530108451843262, -0.29228878021240234, 1.1702539920806885, 0.10531622916460037, 0.0035613025538623333, -0.16547837853431702, -0.36258289217948914, 0.31799036264419556, -0.6947928071022034, 0.9844390153884888, 0.9339336156845093, -0.15020716190338135, -0.1604803204536438, -1.1527057886123657, 0.5636444091796875, 0.5821565985679626, -0.8534356355667114, 0.13648764789104462, 0.5686218738555908, 0.5421950817108154, -0.4704746603965759, 1.0949220657348633, -0.420452356338501, 0.2838917374610901, -0.6399138569831848, 0.058936957269907, 0.3493422865867615, -0.12256760895252228, -0.5496436357498169, 0.042734283953905106, 0.04968160390853882, 0.46143820881843567 ]
http://arxiv.org/abs/2406.12031v1
http://arxiv.org/pdf/2406.12031v1
Large Scale Transfer Learning for Tabular Data via Language Modeling
2024-06-17T18:58:20
2024-06-17T18:58:20
Josh Gardner, Juan C. Perdomo, Ludwig Schmidt
cs.LG
cs.LG, cs.AI, cs.CL
Tabular data -- structured, heterogeneous, spreadsheet-style data with rows and columns -- is widely used in practice across many domains. However, while recent foundation models have reduced the need for developing task-specific datasets and predictors in domains such as language modeling and computer vision, this transfer learning paradigm has not had similar impact in the tabular domain. In this work, we seek to narrow this gap and present TabuLa-8B, a language model for tabular prediction. We define a process for extracting a large, high-quality training dataset from the TabLib corpus, proposing methods for tabular data filtering and quality control. Using the resulting dataset, which comprises over 1.6B rows from 3.1M unique tables, we fine-tune a Llama 3-8B large language model (LLM) for tabular data prediction (classification and binned regression) using a novel packing and attention scheme for tabular prediction. Through evaluation across a test suite of 329 datasets, we find that TabuLa-8B has zero-shot accuracy on unseen tables that is over 15 percentage points (pp) higher than random guessing, a feat that is not possible with existing state-of-the-art tabular prediction models (e.g. XGBoost, TabPFN). In the few-shot setting (1-32 shots), without any fine-tuning on the target datasets, TabuLa-8B is 5-15 pp more accurate than XGBoost and TabPFN models that are explicitly trained on equal, or even up to 16x more data. We release our model, code, and data along with the publication of this paper.
[ -0.1835458129644394, -0.8795968890190125, 0.2938060164451599, 0.10938404500484467, 0.08213599771261215, -0.016280440613627434, -0.3523479104042053, -0.5592236518859863, -0.17229411005973816, 0.8143845200538635, -0.13353249430656433, -0.6487969160079956, -0.5107589364051819, -0.2741245925426483, -0.586875855922699, 1.1144481897354126, -0.1478399932384491, 0.0021227169781923294, 0.10702379047870636, 0.12667861580848694, -0.6805320978164673, -0.14615026116371155, -0.18750032782554626, -0.20754267275333405, 0.5475834608078003, 0.7223444581031799, 0.4379526376724243, 0.9434686303138733, 0.7216829061508179, 0.13862039148807526, 0.06531152129173279, -0.03217628225684166, -0.7168280482292175, -0.23135614395141602, -0.10244694352149963, -0.6123881936073303, -0.597976565361023, -0.13334645330905914, 0.8570269346237183, 0.7719007134437561, -0.35439854860305786, 0.49018239974975586, 0.05309036374092102, 0.6347422003746033, -0.28306642174720764, 0.541012167930603, -0.9898290038108826, 0.24196270108222961, -0.35758864879608154, 0.08141013979911804, -0.8383884429931641, -0.43417519330978394, -0.00811735074967146, -0.3104749321937561, 0.10661929100751877, 0.3356986343860626, 0.7061449289321899, -0.07064380496740341, -0.3140340745449066, 0.15958546102046967, -0.778236985206604, 0.5051261782646179, -0.4245437979698181, 0.46181604266166687, 0.4712488055229187, 0.519058883190155, -0.3329757750034332, -0.5228875279426575, -0.6297653317451477, -0.4636056423187256, 0.16818338632583618, -0.18856093287467957, 0.07748845964670181, -0.06304147839546204, 0.32729822397232056, 0.11151140183210373, -0.9175164103507996, 0.2738487422466278, -0.7164617776870728, -0.004669242072850466, 0.39656150341033936, 0.08482121676206589, 0.06702789664268494, 0.07771938294172287, -0.44659173488616943, -0.1976584941148758, -0.7584165334701538, 0.14413020014762878, -0.02249474637210369, 0.6032006740570068, -0.0772189199924469, 0.3755921721458435, -0.2714061737060547, 0.9204283952713013, 0.04010969027876854, -0.17166592180728912, 0.19813860952854156, 0.02936914935708046, -0.31836074590682983, -0.10197421163320541, 0.44623884558677673, 0.27872151136398315, 0.16023282706737518, -0.248612642288208, -0.12860244512557983, 0.1321224719285965, 0.295306921005249, -0.7612278461456299, -0.37213027477264404, 0.009054230526089668, -0.250142902135849, -0.3249731659889221, -0.02404087781906128, -0.8312194347381592, -0.435261607170105, -0.3588595986366272, 0.463077187538147, -0.23715080320835114, 0.12648580968379974, -0.10244805365800858, 0.45881786942481995, 0.24210797250270844, 0.5034576058387756, -0.8661344647407532, 0.30989721417427063, 0.4422740042209625, 0.6554484367370605, -0.5427007079124451, -0.3929314613342285, -0.85063236951828, 0.25324612855911255, -0.7170296907424927, 1.1822916269302368, -0.5868473052978516, 0.05792156234383583, 0.03513212502002716, 0.09277171641588211, 0.08188110589981079, -0.6288857460021973, 0.3728218078613281, -0.2944021224975586, -0.28287628293037415, 0.017461556941270828, -0.45665109157562256, -0.24542395770549774, 0.2346404492855072, -0.8506049513816833, 0.8706072568893433, 0.4252142608165741, -0.2424447238445282, 0.672203779220581, -0.35917040705680847, -0.36779189109802246, 0.29504773020744324, -0.23877526819705963, -0.693488359451294, -0.07881508767604828, 0.01514824852347374, 0.6557408571243286, -0.32364514470100403, 0.49664732813835144, -0.6291379332542419, -0.1620909869670868, 0.35020312666893005, -0.1458262950181961, 0.1507733017206192, 0.12101206183433533, -0.1679263561964035, 0.12991923093795776, -0.8476817607879639, 0.14537550508975983, -0.20125025510787964, -0.44266369938850403, 0.3879735469818115, -0.5442705154418945, 0.3239419162273407, 0.314935564994812, -0.01890878565609455, -0.4229207932949066, 0.45945215225219727, 0.014006886631250381, 0.15023347735404968, 0.6321894526481628, -0.3152639865875244, 0.764212965965271, -0.3655385375022888, 0.5152497291564941, 0.12041503190994263, 0.012806238606572151, 0.07652240991592407, -0.23950502276420593, -0.3752349019050598, -0.07799313217401505, 0.5386882424354553, 0.4478882849216461, -0.5557990074157715, 0.2514951229095459, -0.41945573687553406, -0.7123958468437195, -0.13883079588413239, 0.31094276905059814, 0.29894348978996277, 0.6407326459884644, 0.36295086145401, -0.12810227274894714, -0.43315231800079346, -0.8072227835655212, 0.04064129292964935, 0.0014451645547524095, 0.2300778031349182, 0.13716524839401245, 0.4252493381500244, 0.02230389416217804, 0.5121030211448669, -0.5930016040802002, -0.7342151403427124, -0.8494214415550232, 0.1768832504749298, 0.36439022421836853, 0.5039697289466858, 0.42346978187561035, -0.6311353445053101, -0.982245147228241, 0.5211923718452454, -0.5061938166618347, 0.042609620839357376, -0.21838568150997162, -0.2471684217453003, 0.2298811972141266, 0.3529987633228302, -0.555907130241394, 0.6440678834915161, 0.5156108736991882, -0.29350990056991577, 0.6932313442230225, -0.009243625216186047, -0.07945169508457184, -1.03513765335083, 0.18031343817710876, 0.17221534252166748, -0.2829900085926056, -0.9384850859642029, -0.19769926369190216, 0.37365180253982544, -0.2316761612892151, -0.4471033215522766, 0.641689121723175, -0.5510525107383728, -0.30856752395629883, -0.33057358860969543, -0.11068934947252274, -0.03157461807131767, 0.6120003461837769, 0.08297009766101837, 0.6985005140304565, 0.5226514339447021, -0.3706815540790558, 0.37326565384864807, 0.5063982009887695, -0.6727004647254944, 0.4296286106109619, -0.15871135890483856, -0.190281942486763, -0.015305396169424057, 0.6173527836799622, -0.9020886421203613, -0.2429903745651245, -0.0700281485915184, -0.40474700927734375, 0.6472225189208984, -0.2408542037010193, -0.0812835842370987, -0.47521528601646423, 0.012716185301542282, 0.1425725221633911, 0.34008681774139404, -0.353555828332901, 0.5603192448616028, 0.563073992729187, -0.23297365009784698, -0.7284340858459473, -0.7379662394523621, 0.014308219775557518, -0.21508407592773438, -0.2705489993095398, 0.32444024085998535, 0.10889172554016113, 0.1807197481393814, -0.040553826838731766, -0.21236953139305115, -0.4158402383327484, -0.13587814569473267, 0.26170825958251953, 0.5688774585723877, -0.07026660442352295, 0.12114574015140533, -0.1945040076971054, 0.05678709223866463, -0.09034238755702972, -0.27227967977523804, 0.5174612998962402, -0.09091819077730179, 0.16237720847129822, -0.33479660749435425, -0.010640195570886135, 0.37185657024383545, -0.23143289983272552, 0.9204350709915161, 0.804011344909668, -0.5599042177200317, -0.6260947585105896, -0.5596792697906494, -0.08603373169898987, -0.37145256996154785, 0.672980546951294, -0.4950393736362457, -0.5330093502998352, 0.7713923454284668, 0.14205509424209595, 0.051219161599874496, 0.009767965413630009, 0.5959232449531555, -0.10127217322587967, 0.5283412933349609, 0.7475546598434448, -0.2786804735660553, 0.78947514295578, -0.563220202922821, 0.09171067178249359, -0.740153431892395, -0.25253939628601074, -0.6637722253799438, -0.40583062171936035, -0.5904202461242676, -0.44323912262916565, 0.2707114815711975, -0.2824237048625946, -0.1410231590270996, 0.6347437500953674, -0.08217496424913406, 0.5032825469970703, 0.3066086173057556, 0.4468704164028168, 0.1702984720468521, 0.2507883608341217, 0.13192375004291534, 0.2509167194366455, -0.5574551820755005, -0.23350201547145844, 1.3179796934127808, 0.3624492883682251, 1.12107253074646, -0.25699329376220703, 0.35975831747055054, 0.42794069647789, 0.6530188322067261, -0.6572950482368469, 0.4506611227989197, -0.2884346544742584, -0.524029552936554, -0.6027124524116516, -0.7206907272338867, -1.0163499116897583, 0.09041064232587814, -0.3402118980884552, -1.0851068496704102, 0.0771242082118988, 0.31024402379989624, -0.3011213541030884, 0.42515796422958374, -0.6846021413803101, 1.1218156814575195, -0.048425186425447464, -0.715883731842041, -0.050938740372657776, -0.6226314306259155, 0.23782014846801758, -0.1773163229227066, 0.18437112867832184, -0.26720112562179565, 0.49621081352233887, 0.7167481184005737, 0.002354237250983715, 0.6173248887062073, -0.14628908038139343, -0.03195078670978546, 0.23686517775058746, 0.4121529459953308, 0.65216463804245, -0.3784562349319458, -0.02705269493162632, 0.03366513550281525, -0.13136211037635803, -0.3341140151023865, -0.5958360433578491, 0.6657466888427734, -0.6867217421531677, -0.255645751953125, -0.02729213796555996, -0.9402235150337219, -0.37123337388038635, 0.15546177327632904, 0.005621679592877626, 0.6739316582679749, 0.030707141384482384, 0.6016867160797119, 0.6339433193206787, -0.10572843998670578, 0.0811721533536911, 0.3253713846206665, -0.364124059677124, -0.27932798862457275, 1.010085940361023, 0.5548222661018372, 0.15150682628154755, 0.6764366626739502, 0.17343886196613312, -0.4063716530799866, -0.688634991645813, -0.5820407271385193, 0.19021785259246826, -0.4789889454841614, -0.7218837141990662, -0.3770214319229126, -0.2266707867383957, -0.5305438041687012, 0.007143029477447271, -0.3212777376174927, -0.29828405380249023, -0.0883898138999939, -0.34277287125587463, 0.25354552268981934, 0.6796157360076904, 0.19345900416374207, 0.4520955979824066, -0.8296421766281128, 0.3757114112377167, -0.13796930015087128, 0.5984799265861511, -0.007032136898487806, -0.9619529247283936, -0.5643894076347351, -0.2212689369916916, -0.37610429525375366, -0.8685826659202576, 0.7665285468101501, 0.2627347409725189, 0.5254204869270325, 0.12457281351089478, -0.10974889993667603, 0.7380115389823914, -0.5455718636512756, 0.17529603838920593, 0.18181200325489044, -0.6391633152961731, 0.2723720967769623, -0.40415313839912415, 0.20124706625938416, 0.47262051701545715, 0.2526857256889343, -0.31167882680892944, -0.12696129083633423, -0.3304154574871063, -0.49563074111938477, 0.8341426253318787, -0.21631182730197906, -0.3235227167606354, 0.5580618977546692, 0.33089613914489746, 0.4981255829334259, 0.24101673066616058, -1.1493324041366577, 0.16808591783046722, 0.24987979233264923, -0.378201961517334, -0.037930119782686234, 0.09256888926029205, 0.31862103939056396, -0.14116032421588898, 0.5505440831184387, -0.30974796414375305, 0.1426168978214264, -0.18047933280467987, -0.43822160363197327, -0.32608845829963684, 0.2694840729236603, 0.3817554712295532, 0.8232057690620422, -0.2791011929512024, 0.017434345558285713, 0.17519903182983398, -0.6706835627555847, 0.22644957900047302, 0.10110519826412201, -0.06727243214845657, -0.38716259598731995, 0.037848182022571564, 0.8916624188423157, -0.06757920980453491, -0.509477436542511, 0.31664639711380005, 0.15816624462604523, -0.23995143175125122, -0.1043364405632019, -0.1924564391374588, -0.18194012343883514, 0.25738653540611267, 0.2829809784889221, -0.37871378660202026, 0.43410542607307434, -0.7560977935791016, 0.32569634914398193, 0.3564310669898987, -0.1449088156223297, -0.329963356256485, 0.46051275730133057, -0.09125881642103195, 0.08615231513977051, 0.5523080229759216, -0.005844536703079939, -0.3630109429359436, 0.6413875222206116, 0.7090901732444763, 0.39914220571517944, -0.3466517925262451, 0.45456215739250183, 0.43900907039642334, 0.2222331464290619, -0.17924678325653076, 0.24355697631835938, 0.036179885268211365, -0.5902267098426819, -0.4024162292480469, -0.8393493890762329, -0.5226633548736572, 0.4497121274471283, -0.6994097232818604, 0.3953014612197876, -0.2847127914428711, -0.16879521310329437, -0.010657692328095436, 0.28851383924484253, -0.859814465045929, 0.15632285177707672, 0.4037075340747833, 0.857183039188385, -1.0511143207550049, 0.9743828177452087, 0.4913637638092041, -0.2765912711620331, -1.0957564115524292, -0.3721126317977905, -0.5728415846824646, -0.709175705909729, 0.6423712968826294, 0.35769808292388916, 0.47389253973960876, -0.20291981101036072, -0.5357668399810791, -0.9508837461471558, 0.8165882229804993, 0.5366346836090088, -0.7787385582923889, -0.2690831124782562, 0.46948572993278503, 0.3981936573982239, -0.35682806372642517, 0.21947453916072845, 0.8537881374359131, 0.45573291182518005, 0.1421407014131546, -1.1195849180221558, -0.04941426217556, 0.07185564190149307, 0.07154498249292374, 0.31876516342163086, -0.47805851697921753, 0.696506679058075, -0.24657778441905975, 0.16454234719276428, -0.1966288834810257, 0.7273406386375427, 0.014298285357654095, 0.20541323721408844, 0.11075681447982788, 0.5488421320915222, 0.5479423403739929, -0.014401313848793507, 0.5880571603775024, -0.034708645194768906, 0.3161206841468811, 1.3177311420440674, -0.6316934823989868, 1.1265404224395752, 0.2805183231830597, -0.24084214866161346, 0.3351629674434662, 0.4324731230735779, -0.26232531666755676, 0.418207585811615, 0.20651589334011078, 0.21888616681098938, -0.10948377847671509, -0.09387381374835968, -0.10370422899723053, 0.579351544380188, 0.5826038122177124, -0.15588058531284332, -0.24024921655654907, 0.18807421624660492, -0.2635612487792969, -0.07375054806470871, -0.49060362577438354, 0.8037687540054321, -0.1352880597114563, -0.6200495362281799, 0.6360617876052856, -0.39661726355552673, 0.04025542363524437, -0.23670566082000732, -0.23063059151172638, -0.3402006924152374, 0.24995364248752594, -0.3515511453151703, -0.8952730894088745, 0.047763824462890625, -0.1465664803981781, -0.08380722999572754, -0.1653236299753189, 0.6373393535614014, -0.836738646030426, -0.5683888792991638, -0.04314667358994484, 0.501443088054657, 0.2938750982284546, 0.05601881444454193, -0.461245059967041, 0.2192915380001068, 0.03563885763287544, -0.21124345064163208, 0.6353233456611633, 0.4290551543235779, -0.29251712560653687, 0.9608878493309021, 0.4923888146877289, 0.4483111798763275, 0.27779367566108704, -0.030467204749584198, 0.8983814716339111, -0.5840911269187927, -0.5670457482337952, -0.4844859838485718, 0.3214350640773773, 0.17547616362571716, 0.03802918270230293, 0.23773951828479767, 0.6516429781913757, 0.7755230069160461, -0.3082232177257538, 0.6151428818702698, 0.06694354116916656, 0.5077693462371826, -0.48302316665649414, 0.6269972324371338, -0.18859955668449402, -0.07719942927360535, -0.14986245334148407, -1.1070696115493774, -0.38977059721946716, 0.6702473759651184, -0.4558360278606415, -0.13143251836299896, 0.6290895938873291, 0.7275750041007996, -0.019058462232351303, -0.365191787481308, 0.7137157320976257, 0.47160789370536804, 0.3267260789871216, 0.6282274723052979, 0.5869842171669006, -0.3993401825428009, 0.8062184453010559, -0.11726914346218109, -0.34530726075172424, -0.4316648542881012, -0.6205354332923889, -0.7343454957008362, -0.6381484866142273, -0.09275700896978378, -0.23468337953090668, 0.08432730287313461, 0.8924906849861145, 0.8293890357017517, -0.7641786932945251, -0.6136202812194824, -0.09082482755184174, -0.08483662456274033, -0.16258136928081512, -0.23733438551425934, 0.4098547101020813, -0.20250046253204346, -0.38628801703453064, -0.00705221900716424, 0.14918087422847748, 0.08685944974422455, -0.12688128650188446, 0.41721630096435547, -0.040763262659311295, -0.3243211805820465, 0.5022161602973938, 0.2099868208169937, -0.42965906858444214, -0.13335859775543213, -0.01600981317460537, -0.07159140706062317, 0.49812012910842896, 0.38088735938072205, -0.6920202374458313, 0.15221944451332092, 0.2743898332118988, 0.7073697447776794, 0.8285929560661316, 0.09379249811172485, 0.4060685336589813, -0.38688650727272034, -0.04751362279057503, 0.19810260832309723, 0.429149329662323, 0.2648248076438904, -0.4385668933391571, 0.4052978456020355, -0.1739259511232376, -0.7932834625244141, -1.055755853652954, 0.009464248083531857, -1.232527732849121, 0.08801776170730591, 1.19527268409729, -0.1817919760942459, -0.7297250032424927, 0.1846293807029724, -0.2700013220310211, 0.3032223582267761, -0.6716762781143188, 1.023350715637207, 0.4067386984825134, -0.07366732507944107, -0.37142249941825867, -0.6325088143348694, 0.38631701469421387, -0.039073821157217026, -1.2098313570022583, 0.5438467264175415, 0.5976361632347107, 0.2625367045402527, 0.0010201354743912816, 0.14579081535339355, -0.014675440266728401, 0.435988187789917, -0.0346289798617363, 0.30966147780418396, 0.07831909507513046, -0.9039314985275269, -0.18340066075325012, 0.3751336932182312, 0.23411400616168976, 0.07994960248470306 ]