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/2402.16844v1
http://arxiv.org/pdf/2402.16844v1
Think Big, Generate Quick: LLM-to-SLM for Fast Autoregressive Decoding
2024-02-26T18:59:28
2024-02-26T18:59:28
Benjamin Bergner, Andrii Skliar, Amelie Royer, Tijmen Blankevoort, Yuki Asano, Babak Ehteshami Bejnordi
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) have become ubiquitous in practice and are widely used for generation tasks such as translation, summarization and instruction following. However, their enormous size and reliance on autoregressive decoding increase deployment costs and complicate their use in latency-critical applications. In this work, we propose a hybrid approach that combines language models of different sizes to increase the efficiency of autoregressive decoding while maintaining high performance. Our method utilizes a pretrained frozen LLM that encodes all prompt tokens once in parallel, and uses the resulting representations to condition and guide a small language model (SLM), which then generates the response more efficiently. We investigate the combination of encoder-decoder LLMs with both encoder-decoder and decoder-only SLMs from different model families and only require fine-tuning of the SLM. Experiments with various benchmarks show substantial speedups of up to $4\times$, with minor performance penalties of $1-2\%$ for translation and summarization tasks compared to the LLM.
[ -0.1802087128162384, -0.716180145740509, 0.46730470657348633, 0.3344767689704895, -0.6532845497131348, 0.42366155982017517, -0.41463592648506165, -0.2242652326822281, 0.45415735244750977, 0.4651188552379608, -0.3783341944217682, -0.15549102425575256, -0.48882052302360535, 0.3131045997142792, -0.31094396114349365, 0.7992311716079712, 0.016047898679971695, -0.11170517653226852, -0.032786790281534195, 0.03725341334939003, -0.3411891758441925, -0.5425834655761719, -0.6534231901168823, -0.18765215575695038, 0.27526021003723145, 0.207563579082489, 0.7661749720573425, 0.8627876043319702, 0.24476954340934753, 0.302253782749176, -0.035449180752038956, 0.3560686409473419, -0.3901098668575287, 0.33136212825775146, 0.200839564204216, -0.40554362535476685, -0.6857563853263855, -0.2769136130809784, 0.9165202975273132, 0.45437076687812805, -0.30254581570625305, 0.3408082127571106, -0.14032763242721558, 0.45748648047447205, -0.706830620765686, 0.18929453194141388, -0.779982328414917, -0.0017526840092614293, -0.08235587924718857, -0.25802212953567505, -0.5676012635231018, -0.557770311832428, -0.3477019965648651, -0.2930438816547394, 0.1995059698820114, 0.24067386984825134, 0.3823339343070984, 0.3747384548187256, -0.22986216843128204, -0.11178360134363174, -0.8655981421470642, 0.6360611915588379, -1.0148978233337402, 0.47543105483055115, -0.0682450458407402, 0.19461560249328613, 0.05128728598356247, -0.7422401905059814, -0.777051568031311, -0.030218234285712242, -0.1468353122472763, 0.02920803800225258, -0.1497652232646942, -0.08258380740880966, 0.4087032973766327, 0.5044395327568054, -0.8376474380493164, 0.26022249460220337, 0.07026597112417221, -0.2935589849948883, 0.6485117673873901, 0.6978468298912048, 0.20498375594615936, -0.05213748663663864, -0.04631504788994789, -0.15918084979057312, -0.7296222448348999, -0.2229960411787033, 0.23976761102676392, 0.29383406043052673, -0.10441683232784271, 0.5466816425323486, -0.07439324259757996, 0.894368052482605, 0.2586224675178528, -0.2931745648384094, 0.18040093779563904, -0.6846034526824951, -0.1294063776731491, 0.015250463038682938, 1.026756763458252, 0.1651700735092163, -0.14693263173103333, -0.23960593342781067, -0.4972397983074188, 0.11287485063076019, -0.2411312609910965, -1.0311387777328491, -0.2578383982181549, 0.03741766884922981, -0.45555379986763, 0.06664274632930756, -0.38692742586135864, -0.7210921049118042, 0.013481158763170242, -0.2231694459915161, 0.2909587621688843, -0.31020474433898926, -0.46475690603256226, 0.39058545231819153, 0.083591029047966, 0.31453096866607666, 0.10396337509155273, -0.9446418881416321, 0.15685011446475983, 0.3226172924041748, 0.878536581993103, -0.20934554934501648, -0.15166091918945312, -0.9613351225852966, 0.19928684830665588, -0.4713211953639984, 0.564497172832489, -0.24891658127307892, -0.411374032497406, -0.01175286527723074, -0.3147331178188324, -0.23141323029994965, -0.5728407502174377, -0.04066852107644081, -0.6505112648010254, -0.09967976063489914, -0.02701530046761036, -0.4305974543094635, 0.4031936526298523, -0.00018067397468257695, -0.7381748557090759, 0.839516818523407, 0.01455510314553976, -0.7729864716529846, 0.21137551963329315, -0.3211885094642639, -0.7409614324569702, 0.4315544366836548, -0.12323573231697083, -0.2394726723432541, 0.3087221384048462, 0.3398638069629669, 0.5334253311157227, -0.48921898007392883, 0.315477579832077, 0.0012021774891763926, -0.11083096265792847, 0.19150622189044952, -0.3061085343360901, 0.4976387321949005, 0.4528413414955139, -0.14541837573051453, 0.01318374089896679, -0.7845062017440796, 0.04727805033326149, 0.37771090865135193, -0.6134303212165833, -0.178676038980484, -0.19351133704185486, -0.11735966801643372, 0.08366981893777847, 0.5911389589309692, -0.3588297665119171, 0.20256991684436798, -0.35540953278541565, 0.46040695905685425, 0.372737318277359, -0.060981374233961105, 0.520797848701477, -0.057865314185619354, 0.7168276906013489, 0.054454654455184937, -0.0544125996530056, -0.6501734256744385, -0.01253132801502943, -1.0646291971206665, -0.3365016579627991, 0.36168885231018066, 0.4200705885887146, -1.2195208072662354, 0.6384832859039307, -0.34674617648124695, -0.30780741572380066, -0.6984960436820984, 0.14027179777622223, 0.4210129678249359, 0.37351152300834656, 0.2530699074268341, -0.12979695200920105, -0.4446876049041748, -0.7953222393989563, -0.2762520909309387, -0.1366952657699585, 0.0710969939827919, -0.06321179121732712, 0.2626868486404419, -0.16686932742595673, 0.8015908002853394, -0.6281099915504456, 0.18995121121406555, -0.5749046802520752, 0.2978217303752899, 0.17724886536598206, 0.4347253739833832, 0.3418927788734436, -0.31854376196861267, -0.5392296314239502, -0.22979450225830078, -0.6037986874580383, -0.05108516290783882, -0.08590532839298248, 0.013094021938741207, 0.36520469188690186, 0.6413111090660095, -0.8543044924736023, -0.03861797973513603, 0.3584621250629425, -0.31190595030784607, 0.49361473321914673, -0.5798835158348083, -0.13568656146526337, -1.170728325843811, 0.05079095810651779, -0.24726232886314392, -0.35701504349708557, -0.5909607410430908, 0.19494417309761047, 0.28436926007270813, -0.4758908748626709, -0.4204261004924774, 0.4703238904476166, -0.9081927537918091, -0.15847933292388916, -0.2640037536621094, -0.09203340858221054, 0.00974955689162016, 0.21654798090457916, 0.1458875685930252, 1.0544151067733765, 0.4565489888191223, -0.5695987343788147, 0.2544594407081604, 0.02548263967037201, -0.2055724859237671, -0.11826293170452118, -0.6300498843193054, 0.35609740018844604, -0.29407840967178345, 0.49368539452552795, -0.6116135716438293, -0.2029605209827423, -0.10342398285865784, -0.16151288151741028, 0.3525516092777252, 0.11746423691511154, -1.0348269939422607, -0.5472375750541687, -0.23635904490947723, 0.6293894052505493, 0.9280880689620972, -0.6162174344062805, 0.9018639326095581, 0.33938074111938477, -0.3254796266555786, -0.20207811892032623, -0.6436249017715454, 0.14038681983947754, -0.08310159295797348, -0.6556435823440552, 0.14668066799640656, -0.385003000497818, -0.16091804206371307, -0.10708814114332199, 0.3764817416667938, 0.3097245991230011, -0.16690115630626678, -0.17052927613258362, 0.27116528153419495, -0.40047040581703186, -0.16022998094558716, 0.1359962671995163, -0.262912392616272, -0.003338966751471162, -0.4340091049671173, 0.723942220211029, -0.10758690536022186, -0.02787073142826557, -0.1676379144191742, 0.8173381686210632, 0.7869631052017212, -0.5044482946395874, 0.7787218689918518, 0.5680665373802185, -0.11548592150211334, -0.45120516419410706, -0.6418784856796265, -0.30354827642440796, -0.49769270420074463, 0.19300472736358643, -0.3190126121044159, -0.8849024176597595, 0.5753041505813599, 0.01564430631697178, 0.17608638107776642, 0.23331648111343384, 0.8037936091423035, 0.3298896253108978, 1.1277649402618408, 0.7563475966453552, -0.18155546486377716, 0.2877413034439087, -0.2810583710670471, 0.43329572677612305, -0.6119323968887329, -0.18542315065860748, -0.3446367681026459, 0.09623068571090698, -0.12101291865110397, -0.6887636780738831, 0.4110628068447113, 0.005876785144209862, -0.10884817689657211, 0.3154023289680481, -0.30007204413414, 0.48493722081184387, 0.3530665934085846, -0.18065594136714935, 0.4751163721084595, -0.030366763472557068, -0.11716276407241821, -0.027535993605852127, -1.2579221725463867, -0.33060422539711, 0.9239171147346497, 0.25936320424079895, 0.8998401761054993, -0.04577966406941414, 0.7602391242980957, 0.19055911898612976, 0.0006798363756388426, -0.7272903323173523, 0.8327293992042542, -0.3364284336566925, -0.03460443764925003, -0.06776676326990128, -0.5195948481559753, -0.6035991907119751, 0.2697520852088928, -0.24596759676933289, -0.18217937648296356, -0.0811758041381836, 0.4530029892921448, -0.713472306728363, 0.26736700534820557, -0.636843204498291, 0.5002170205116272, -0.2831666171550751, -0.20591484010219574, -0.16021163761615753, -0.4237958788871765, 0.565687358379364, -0.27575913071632385, 0.12101197987794876, 0.09287392348051071, -0.10153044015169144, 0.6924062371253967, -0.5076952576637268, 0.682201087474823, -0.03813283517956734, -0.1654818058013916, 0.23053988814353943, 0.22547641396522522, 0.8865243196487427, 0.044834040105342865, -0.03651576116681099, -0.037900809198617935, -0.47903648018836975, -0.15258429944515228, -0.5112380981445312, 0.706705629825592, -0.6681252121925354, -0.4983403980731964, -0.1800633817911148, -0.7186170816421509, -0.1475074589252472, 0.036289770156145096, 0.5473922491073608, 0.5940508842468262, 0.07124795764684677, -0.14285972714424133, 0.977059006690979, -0.13678644597530365, 0.8250223398208618, 0.772007405757904, -0.1535683274269104, -0.41823312640190125, 1.0337220430374146, 0.04278715327382088, 0.3759016990661621, 0.23829448223114014, -0.038562774658203125, -0.37362581491470337, -0.7490920424461365, -0.5859289169311523, 0.5733301639556885, -0.5511773228645325, -0.4518478512763977, -0.9878026247024536, -0.29789280891418457, -0.5454676747322083, -0.17652422189712524, -0.6078644394874573, -0.149821937084198, -0.49040529131889343, 0.12506872415542603, 0.2746523916721344, 0.5667712688446045, -0.17191433906555176, 0.46714451909065247, -0.9078854322433472, 0.46890559792518616, 0.4693267345428467, -0.06207111477851868, 0.23268838226795197, -0.4748989939689636, -0.4953354597091675, -0.21959097683429718, 0.18651409447193146, -0.6005806922912598, 0.7566246390342712, 0.07085540890693665, 0.43434321880340576, 0.05283701792359352, 0.245809406042099, 0.6235135197639465, -0.6956080794334412, 0.8130515217781067, 0.5729125738143921, -0.8954551815986633, 0.377821683883667, -0.172173872590065, 0.6981485486030579, 0.2835008203983307, 0.14873330295085907, -0.18846645951271057, -0.5272554755210876, -0.38735437393188477, -1.1310384273529053, 0.5914754867553711, 0.017258621752262115, 0.0009984724456444383, -0.17789161205291748, 0.23093490302562714, 0.2543850839138031, 0.17435075342655182, -0.4674489200115204, -0.062114983797073364, -0.1842743158340454, -0.2032071053981781, -0.30159348249435425, -0.5766306519508362, -0.04336075112223625, -0.10121672600507736, 0.4443112313747406, -0.3310467302799225, 0.3601280450820923, -0.11470413208007812, -0.43595898151397705, -0.24787820875644684, 0.16182991862297058, 0.4245905578136444, 0.45825448632240295, 0.028167542070150375, 0.19679096341133118, 0.19044728577136993, -0.3015703856945038, 0.2650744616985321, 0.10249333083629608, -0.2914455235004425, 0.21644197404384613, 0.368187814950943, 1.0704164505004883, 0.11175621300935745, -0.6043772101402283, 0.3629084527492523, -0.30214327573776245, -0.11824405193328857, -0.24338126182556152, 0.046739187091588974, 0.1646275669336319, 0.2567307949066162, 0.5144161581993103, -0.2813737988471985, -0.0835191085934639, -0.4027325510978699, -0.07631509006023407, 0.3691502511501312, 0.557475745677948, -0.47746574878692627, 0.7589357495307922, 0.4223649203777313, -0.355174720287323, 0.6627207398414612, -0.3442460894584656, -0.4005701243877411, 0.48574867844581604, 0.8377683162689209, 1.0559213161468506, -0.06007012724876404, 0.05063527449965477, 0.3814791142940521, 0.20244990289211273, -0.24128641188144684, 0.24997559189796448, -0.0686621367931366, -0.5526284575462341, -0.7422991991043091, -0.9169779419898987, -0.15425366163253784, 0.2816348373889923, -0.6201686263084412, -0.019103143364191055, -0.36218103766441345, -0.14625944197177887, -0.2846163809299469, -0.21440111100673676, -0.7100213766098022, 0.017807960510253906, 0.2955769896507263, 0.8660928606987, -0.9223024845123291, 0.9459492564201355, 0.4831799566745758, -0.04706921428442001, -1.0061473846435547, 0.11520272493362427, -0.32108935713768005, -0.6846802234649658, 0.6637688875198364, -0.04172296077013016, -0.3038690686225891, 0.24508456885814667, -0.3126892149448395, -0.9375446438789368, 1.1070841550827026, 0.5787174701690674, -1.020482063293457, -0.3134288489818573, -0.01947658695280552, 0.3666043281555176, -0.7315555810928345, 0.268221914768219, 0.7253480553627014, 0.14801113307476044, -0.01881439797580242, -0.9200672507286072, 0.20517370104789734, -0.08754592388868332, 0.4359968900680542, 0.268175333738327, -0.826190710067749, 0.9916528463363647, -0.32182440161705017, -0.3378291130065918, 0.012269186787307262, 0.8610965609550476, 0.42265835404396057, -0.08683192729949951, 0.5185019373893738, 0.46057799458503723, 0.5443176627159119, 0.2246883362531662, 0.8984488844871521, -0.7289091944694519, 0.12943649291992188, 1.0930836200714111, -0.27075663208961487, 0.8363523483276367, 0.4597679674625397, 0.13993200659751892, 0.2351243644952774, 0.46884778141975403, 0.36642950773239136, 0.6557653546333313, -0.03123173490166664, -0.5054317712783813, -0.5444633364677429, 0.04913870617747307, -0.5905389189720154, 0.05544519051909447, 0.40539851784706116, -0.3425322473049164, -0.33958935737609863, 0.18772287666797638, 0.08009085059165955, 0.038203269243240356, -0.3760001063346863, 0.8022466897964478, 0.1440497487783432, -0.7496666312217712, 0.8312989473342896, 0.07892105728387833, 0.8819514513015747, -0.7703904509544373, 0.1316038817167282, -0.4677184522151947, 0.14695674180984497, 0.1006089597940445, -0.48321717977523804, 0.14973540604114532, 0.10122670233249664, -0.38433271646499634, -0.4066975712776184, 0.7729722261428833, -0.7696465253829956, -0.521770179271698, 0.25527799129486084, 0.6613133549690247, 0.058079879730939865, 0.3313506841659546, -0.49580663442611694, 0.45646631717681885, -0.07782325893640518, -0.19193512201309204, 0.4372970759868622, 0.2828603982925415, 0.21968215703964233, 0.6077136397361755, 0.7487172484397888, 0.34571242332458496, 0.4180513322353363, 0.036432113498449326, 1.126677393913269, -0.684984564781189, -0.6965765357017517, -0.8875225782394409, 0.3521086871623993, 0.15243814885616302, -0.09325562417507172, 0.7067016959190369, 0.5163410902023315, 0.3799968659877777, -0.22600647807121277, 0.7886923551559448, 0.03569053113460541, 0.2697645425796509, -0.8642817735671997, 0.6792439818382263, -0.3362007737159729, 0.22664900124073029, 0.21462738513946533, -0.8964548110961914, -0.023707227781414986, 0.17756132781505585, -0.017400968819856644, -0.273157000541687, 0.5476850271224976, 0.7966465950012207, 0.08216855674982071, -0.22943991422653198, 0.34856298565864563, 0.2484760582447052, 0.24224203824996948, 0.6596472263336182, 0.7418377995491028, -0.19853709638118744, 0.5213591456413269, -0.13312338292598724, -0.11866290122270584, -0.3554357588291168, -0.9942389726638794, -1.0392637252807617, -0.37762871384620667, -0.42182430624961853, -0.3594475984573364, 0.07999490201473236, 0.8460381031036377, 0.6896249651908875, -0.3616580069065094, -0.26680365204811096, -0.012002820149064064, -0.2637771666049957, 0.1110660508275032, -0.1865069568157196, 0.2425728440284729, -0.4306514859199524, -0.6000856757164001, 0.6418638825416565, 0.30502113699913025, 0.221694678068161, -0.5793601870536804, -0.2674301862716675, 0.18077853322029114, 0.19666428864002228, 0.7516892552375793, 0.3125743269920349, -0.472858190536499, 0.21692481637001038, 0.009116141125559807, -0.1157427504658699, -0.18273743987083435, 1.2091916799545288, -0.8869926333427429, 0.4329301416873932, 0.5687612295150757, 0.6464120745658875, 0.7588003277778625, -0.14546477794647217, 0.7860419750213623, -0.42021864652633667, 0.38142842054367065, 0.4953936040401459, 0.3348177671432495, 0.45173606276512146, -0.5005194544792175, -0.04144728556275368, 0.14566093683242798, -0.42282766103744507, -0.90550696849823, 0.3345142900943756, -0.6979454755783081, -0.16403017938137054, 1.1664340496063232, -0.13388054072856903, -0.3662853538990021, 0.1848643720149994, 0.232804536819458, 0.13647395372390747, -0.5694403648376465, 0.2865907549858093, 0.23271562159061432, -0.10904360562562943, -0.331587553024292, -0.1805099993944168, 0.3891344666481018, 0.435085266828537, -0.6233071684837341, 0.35902276635169983, 0.5184575319290161, 0.29935798048973083, 0.044287294149398804, 0.8429316878318787, 0.07005006074905396, 0.1346559375524521, 0.1980542093515396, 0.1060255691409111, -0.35384035110473633, -0.33232244849205017, -0.4632547199726105, 0.11856206506490707, 0.1775849312543869, -0.07132311165332794 ]
http://arxiv.org/abs/2402.16843v1
http://arxiv.org/pdf/2402.16843v1
Multi-LoRA Composition for Image Generation
2024-02-26T18:59:18
2024-02-26T18:59:18
Ming Zhong, Yelong Shen, Shuohang Wang, Yadong Lu, Yizhu Jiao, Siru Ouyang, Donghan Yu, Jiawei Han, Weizhu Chen
cs.CV
cs.CV, cs.AI, cs.CL, cs.GR, cs.LG
Low-Rank Adaptation (LoRA) is extensively utilized in text-to-image models for the accurate rendition of specific elements like distinct characters or unique styles in generated images. Nonetheless, existing methods face challenges in effectively composing multiple LoRAs, especially as the number of LoRAs to be integrated grows, thus hindering the creation of complex imagery. In this paper, we study multi-LoRA composition through a decoding-centric perspective. We present two training-free methods: LoRA Switch, which alternates between different LoRAs at each denoising step, and LoRA Composite, which simultaneously incorporates all LoRAs to guide more cohesive image synthesis. To evaluate the proposed approaches, we establish ComposLoRA, a new comprehensive testbed as part of this research. It features a diverse range of LoRA categories with 480 composition sets. Utilizing an evaluation framework based on GPT-4V, our findings demonstrate a clear improvement in performance with our methods over the prevalent baseline, particularly evident when increasing the number of LoRAs in a composition.
[ -0.373007595539093, -0.5233916640281677, 0.3122122585773468, 0.3022247850894928, -0.5435577034950256, 0.16995537281036377, -0.04492897912859917, -0.6222915649414062, 0.2623980641365051, 0.4133363664150238, -0.4895361363887787, -0.47526317834854126, -0.5535735487937927, 0.27207621932029724, -0.4249057471752167, 0.9163988828659058, -0.11986596137285233, -0.3266447186470032, 0.030651194974780083, -0.40868255496025085, -0.9029788970947266, -0.38613757491111755, -0.5740488171577454, -0.16688397526741028, 0.6470311880111694, 0.45095089077949524, 0.2742973268032074, 0.36313962936401367, 0.4497368037700653, 0.26329946517944336, 0.18504635989665985, 0.5803409814834595, -0.632455050945282, 0.13553112745285034, 0.014471218921244144, -0.6364952325820923, -0.5751413702964783, -0.018445195630192757, 0.7060386538505554, 0.42743656039237976, -0.016901155933737755, 0.10674314200878143, 0.1402275115251541, 0.7002139091491699, -1.0812441110610962, -0.14763836562633514, -0.8459797501564026, 0.36213287711143494, 0.10687802731990814, -0.2901175022125244, -0.6854680180549622, -0.17027541995048523, -0.10056956112384796, -0.980903148651123, 0.15591299533843994, -0.3592369258403778, 0.33030006289482117, 0.3244086802005768, -0.27966371178627014, -0.16685698926448822, -0.7975912094116211, 0.868282675743103, -0.4166337847709656, 0.14201050996780396, -0.14472952485084534, 0.24515382945537567, 0.23931702971458435, -0.3593234121799469, -0.4355962872505188, 0.3384413421154022, 0.2836388945579529, 0.6188853979110718, -0.29584917426109314, -0.4926064610481262, 0.0029608351178467274, 0.2582637667655945, -0.11007342487573624, 0.12394542992115021, -0.12542927265167236, -0.018499033525586128, 0.3673413097858429, 0.10237814486026764, 0.19657638669013977, -0.21063819527626038, -0.4401940405368805, -0.4307858347892761, -0.8414338231086731, -0.15714381635189056, 0.379262775182724, 0.30734509229660034, -0.27176156640052795, 0.4559607207775116, 0.18968543410301208, 0.5654478669166565, 0.290939599275589, -0.4735333025455475, 0.32049769163131714, -0.43109065294265747, -0.1707167625427246, 0.07644007354974747, 0.7450639009475708, 0.4877500832080841, -0.1777355968952179, -0.01396841648966074, -0.07204190641641617, 0.5576332211494446, 0.07392764091491699, -0.9004282355308533, -0.004419880453497171, -0.04904238507151604, -0.5253403186798096, -0.5015413761138916, -0.15467026829719543, -0.8880890011787415, -0.31698206067085266, -0.2763666808605194, 0.6066884994506836, -0.492063045501709, -0.048035889863967896, 0.1289568543434143, -0.1665879487991333, 0.41969290375709534, 0.6053348183631897, -0.9857419729232788, 0.09473615139722824, 0.14087025821208954, 0.7359617948532104, -0.4049288332462311, -0.49326714873313904, -0.8374384641647339, 0.47347208857536316, -0.3571140766143799, 1.0785232782363892, -0.26875340938568115, -0.3605717718601227, -0.10702367126941681, -0.12555624544620514, -0.2364273965358734, -0.40783628821372986, 0.2684737741947174, -0.4558665156364441, 0.25490787625312805, -0.15683415532112122, -0.08250367641448975, 0.03574937954545021, 0.1652260273694992, -1.0393422842025757, 0.946122944355011, 0.29438522458076477, -0.910950243473053, 0.2649939954280853, -0.8186854720115662, -0.6574152708053589, -0.18266986310482025, -0.2562682628631592, -0.5266088843345642, 0.3078445494174957, 0.5564783811569214, 0.06810705363750458, -0.20020036399364471, -0.5033636093139648, 0.06572278589010239, -0.4701213240623474, 0.496650367975235, -0.330802857875824, 0.43392258882522583, 0.05278109759092331, -0.39873000979423523, 0.025991281494498253, -1.0167421102523804, 0.04785900563001633, 0.10809731483459473, -0.4197545349597931, -0.29983991384506226, -0.04739174619317055, 0.05925258994102478, 0.04442846029996872, 0.16065089404582977, -0.324863463640213, 0.15115241706371307, -0.04317875951528549, 0.49269941449165344, 0.723433792591095, 0.286215603351593, 0.5463173985481262, -0.5538368821144104, 0.4394572079181671, 0.28548508882522583, 0.22163386642932892, -0.3675364553928375, -0.5414146780967712, -1.0053749084472656, -0.35990387201309204, 0.0715753510594368, 0.3986305892467499, -1.0961143970489502, 0.36210328340530396, -0.2578152120113373, -0.4463730752468109, -0.4035513997077942, 0.23825664818286896, 0.33942872285842896, 0.29543250799179077, 0.5145986676216125, -0.6009876132011414, -0.5181463956832886, -0.5360845327377319, 0.1359749287366867, 0.14230681955814362, 0.2969732880592346, 0.032143834978342056, 0.39880046248435974, -0.26040327548980713, 0.753351628780365, -0.6113911867141724, -0.4597192704677582, -0.2299167811870575, 0.04576287791132927, 0.22599732875823975, 0.4510950446128845, 0.7729159593582153, -0.477480411529541, -0.62852942943573, 0.07181019335985184, -0.8054222464561462, 0.32356423139572144, -0.19278593361377716, -0.3622214198112488, 0.2544606029987335, 0.27875396609306335, -0.40033259987831116, 0.20880594849586487, 0.8717993497848511, -0.03609117120504379, 0.2857016623020172, -0.4092854857444763, 0.3244296908378601, -1.323499083518982, 0.05089336633682251, -0.18188205361366272, 0.019983721897006035, -0.639589250087738, 0.33810415863990784, -0.18629613518714905, -0.12485850602388382, -0.6503949761390686, 0.039658255875110626, -0.4260508716106415, -0.3453480899333954, -0.10605740547180176, 0.028271237388253212, 0.483754962682724, 0.5128118395805359, 0.0009418864501640201, 0.6117449402809143, 0.520780086517334, -0.4962979257106781, 0.16656257212162018, 0.5099524855613708, -0.5565148591995239, 1.0215671062469482, -0.6674060225486755, 0.5790377855300903, -0.16496695578098297, 0.2845320403575897, -0.793685257434845, -0.3449266850948334, 0.3172394633293152, 0.09437060356140137, -0.12328284233808517, -0.2684519588947296, -0.3960438370704651, 0.08711209148168564, -0.4375016391277313, 0.6013478636741638, 0.6969483494758606, -0.5681623816490173, 0.6557923555374146, 0.041469473391771317, 0.029590023681521416, -0.4912380278110504, -0.9797364473342896, -0.0333528108894825, -0.38650351762771606, -0.4321696162223816, 0.4645809531211853, -0.2679077088832855, 0.16240309178829193, -0.11530924588441849, 0.2605435252189636, 0.03578953817486763, 0.011974730528891087, 0.3650398552417755, 0.35089895129203796, -0.34555745124816895, -0.37152791023254395, 0.11728254705667496, 0.04555344209074974, -0.40694287419319153, 0.08849214017391205, 0.419806569814682, 0.07456622272729874, -0.6868171691894531, -0.36606115102767944, 0.7022018432617188, 0.632093071937561, -0.31245186924934387, 0.3512752950191498, 0.7396148443222046, 0.02356708236038685, -0.5379775762557983, -0.014337792061269283, 0.11867397278547287, -0.4317704737186432, 0.21845388412475586, -0.49517759680747986, -0.6255835890769958, 0.6744289398193359, 0.074349045753479, -0.06703268736600876, 0.4895485043525696, 0.5762885808944702, -0.21589282155036926, 0.6099986433982849, 0.5512658953666687, 0.09493215382099152, 0.6332221031188965, -0.6452141404151917, 0.1005917564034462, -1.0086474418640137, -0.1847868412733078, -0.2730603516101837, -0.5359483957290649, -0.6029924154281616, -0.7975472807884216, 0.757858395576477, -0.24206754565238953, 0.008154064416885376, 0.32533887028694153, -0.6665021181106567, 0.49210330843925476, 0.48011940717697144, 0.5401174426078796, 0.7740564942359924, 0.6447537541389465, 0.4488993287086487, -0.062246862798929214, -0.5758204460144043, 0.06910970062017441, 1.0864812135696411, 0.011786953546106815, 1.1733781099319458, 0.3185441493988037, 0.933304488658905, 0.2468465268611908, 0.1473495066165924, -0.8978322148323059, 0.5065213441848755, -0.6592841148376465, -0.16612184047698975, -0.23726920783519745, -0.23697113990783691, -1.0953748226165771, 0.4363427460193634, -0.45870181918144226, -0.06310594826936722, 0.44666698575019836, 0.060325950384140015, -0.388120174407959, 0.15992917120456696, -0.644649088382721, 0.6008294820785522, -0.21725031733512878, -0.29915478825569153, -0.1732545644044876, -0.39879751205444336, 0.37415602803230286, -0.3191584050655365, 0.2053043097257614, 0.1394905298948288, 0.048551492393016815, 0.5367830395698547, -0.06498922407627106, 1.0782641172409058, 0.01839659921824932, -0.45227617025375366, 0.4488399922847748, -0.14058630168437958, 0.30105066299438477, -0.1828816682100296, -0.16809354722499847, -0.1378764808177948, 0.04532458260655403, -0.2894654870033264, -0.3816024363040924, 0.6008712649345398, -1.2232288122177124, -0.03478572517633438, -0.21907296776771545, -0.6194114089012146, -0.2768126428127289, 0.1920279711484909, 0.5406469106674194, 0.536098301410675, -0.49833425879478455, 0.12310194969177246, 0.5928449034690857, -0.2279621660709381, 0.5704492926597595, -0.11025835573673248, -0.05526399239897728, -0.8423434495925903, 0.9803467392921448, -0.10143746435642242, 0.35176727175712585, 0.34951362013816833, 0.06060503050684929, 0.038607072085142136, -0.5149182081222534, -0.6708648800849915, -0.027454933151602745, -1.2557077407836914, -0.3129930794239044, -0.19123168289661407, -0.09959644824266434, -0.15773363411426544, -0.23863446712493896, -0.401419460773468, -0.10669472068548203, -0.4729180335998535, 0.5720367431640625, 0.29272857308387756, 0.7508407235145569, 0.15031097829341888, 0.5044714212417603, -0.7613292932510376, 0.6970738768577576, 0.6497867703437805, 0.16284766793251038, -0.0555085651576519, -0.43084290623664856, -0.29769596457481384, -0.06282811611890793, -0.2573855519294739, -0.6355336904525757, 0.11950773745775223, 0.39636772871017456, 0.4709840416908264, 0.05720994994044304, -0.0873493105173111, 0.6247081160545349, -0.2584891617298126, 0.6114993095397949, 0.6067603826522827, -0.9241663217544556, 0.3884378969669342, -0.3200584053993225, 0.4502786695957184, 0.5913028717041016, -0.19686491787433624, -0.29561492800712585, -0.09196638315916061, -0.3299424350261688, -0.533215343952179, 0.4548328220844269, 0.06450638175010681, 0.3482048213481903, 0.23071114718914032, 0.0947042852640152, 0.3633151948451996, -0.010503249242901802, -0.8749184012413025, 0.0658709779381752, -0.719836413860321, -0.17655803263187408, 0.1107097640633583, -0.034021783620119095, -0.45128217339515686, -0.06717515736818314, 0.36494776606559753, -0.4919396936893463, 0.390594482421875, 0.08897930383682251, -0.32047978043556213, -0.09908335655927658, 0.39516741037368774, 0.5918481945991516, 0.3935810923576355, 0.022705407813191414, 0.22789235413074493, -0.10395530611276627, -0.34837672114372253, 0.40016594529151917, -0.3455725610256195, -0.48187991976737976, -0.014058200642466545, 0.5835059285163879, 1.1008683443069458, 0.2594424784183502, -0.2292153537273407, 0.5535961985588074, 0.20515687763690948, -0.3842152953147888, -0.008298971690237522, 0.2271360456943512, -0.03332312032580376, -0.019289793446660042, 0.3529578745365143, 0.37934383749961853, -0.0973859652876854, -0.7453087568283081, -0.3066674768924713, 0.22714264690876007, 0.09745215624570847, -0.46439728140830994, 0.24300314486026764, 0.37658634781837463, 0.3276132643222809, 0.39044642448425293, -0.06231817230582237, -0.17200680077075958, 0.4954049587249756, 0.9012920260429382, 0.670093834400177, -0.03545258194208145, 0.48012691736221313, 0.35830631852149963, 0.13177086412906647, -0.1218266636133194, 0.4257160723209381, 0.27203506231307983, -0.8405786156654358, -0.6485182642936707, -0.4582855701446533, -0.6874674558639526, 0.14642131328582764, -0.5481268763542175, 0.3248877227306366, -0.3300451338291168, -0.03779071941971779, -0.11745207756757736, -0.39479950070381165, -0.5445004105567932, 0.07678840309381485, 0.1485762894153595, 0.4760172963142395, -1.1274715662002563, 0.5640177130699158, 0.7397319078445435, -0.3802313804626465, -0.6102089285850525, -0.06527914106845856, -0.551380455493927, -0.7532340884208679, 0.4556632936000824, 0.025332871824502945, -0.5480682849884033, 0.07015254348516464, -0.45130375027656555, -0.6595626473426819, 1.1891261339187622, 0.5769747495651245, -0.19792556762695312, -0.12545564770698547, 0.3311060965061188, 0.4695527255535126, -0.670158326625824, -0.25029832124710083, 0.41285440325737, 0.3448783755302429, 0.4400148093700409, -0.4323875308036804, -0.07510890066623688, -0.05425656959414482, 0.19114887714385986, -0.15508171916007996, -0.6759103536605835, 1.2089660167694092, -0.10799851268529892, -0.15147018432617188, 0.4703291058540344, 0.2993101179599762, 0.425033837556839, 0.07829967886209488, 0.6394622921943665, 0.6373052000999451, 0.5206080079078674, 0.23279233276844025, 0.7337172627449036, -0.11446942389011383, 0.16332033276557922, 1.2186709642410278, -0.3475789427757263, 0.791816771030426, 0.6579742431640625, -0.005556586664170027, 0.8625590205192566, 0.3651442527770996, -0.2161620706319809, 1.0278511047363281, -0.19774343073368073, -0.3846970498561859, -0.19938552379608154, -0.11934219300746918, -0.5396748185157776, 0.8571473956108093, 0.1304209679365158, -0.2323315143585205, -0.3126480281352997, 0.13003288209438324, -0.3853490948677063, -0.008881835266947746, -0.3032839596271515, 0.7605818510055542, -0.13648514449596405, -0.7555674910545349, 0.7084830403327942, -0.05640758201479912, 0.6534102559089661, -0.4399169385433197, -0.150173157453537, -0.44638410210609436, 0.3142983913421631, -0.36572954058647156, -0.6067461371421814, -0.10498159378767014, -0.1777101457118988, -0.21025414764881134, -0.06530965119600296, 0.790070652961731, -0.26767614483833313, -0.49193334579467773, 0.05434723570942879, 0.7688378095626831, -0.11201857030391693, 0.1206805482506752, -0.3816937804222107, 0.6879521608352661, -0.0443807914853096, 0.08190114051103592, 0.32235199213027954, 0.37447088956832886, -0.19552597403526306, 0.06097106263041496, 0.6263700723648071, 0.015315909869968891, 0.09011389315128326, 0.3878321647644043, 0.9062682390213013, -0.40464162826538086, -0.5640010237693787, -0.5539000630378723, 0.2658410370349884, 0.12008403986692429, -0.07861482352018356, 0.45040711760520935, 0.38234448432922363, 0.41006359457969666, -0.5928769707679749, 1.2197707891464233, -0.09376926720142365, -0.10457206517457962, -0.8942082524299622, 0.4088549017906189, -0.28844109177589417, -0.12092582881450653, -0.48053598403930664, -1.2135248184204102, -0.21723146736621857, 0.5435966849327087, 0.08388467133045197, -0.1279057413339615, 0.7137144804000854, 0.45624738931655884, -0.38451123237609863, -0.3501109778881073, 0.3527055084705353, -0.17448976635932922, 0.2167174369096756, 0.8643879294395447, 1.1321204900741577, -0.8149409294128418, 0.6264320611953735, -0.12364272028207779, -0.0597856380045414, -0.3521798253059387, -1.2087314128875732, -0.7867202162742615, -0.38792183995246887, -0.4014516770839691, -0.1625075489282608, -0.2447250783443451, 0.3167877793312073, 0.8628376722335815, -0.5991272926330566, -0.1567823886871338, 0.09019137173891068, -0.005589201580733061, -0.35375121235847473, -0.0696488618850708, 0.3124529719352722, -0.10181847959756851, -0.7400578856468201, 0.5012911558151245, 0.3582920432090759, 0.09455843269824982, -0.3709774613380432, -0.18320724368095398, 0.10045888274908066, 0.13039164245128632, 1.0209472179412842, 0.13417944312095642, -0.3315989673137665, -0.31124046444892883, -0.06983322650194168, -0.16862984001636505, 0.5598276853561401, 0.8425255417823792, -0.5479418635368347, 0.2682245075702667, 0.5235395431518555, 0.5811740756034851, 0.7266713976860046, 0.053319208323955536, 0.024979842826724052, -0.9257817268371582, 0.3358023762702942, -0.3033817708492279, 0.35760197043418884, 0.5971817374229431, -0.018463101238012314, 0.44149187207221985, 0.4348059296607971, -0.10579883307218552, -0.4886184334754944, 0.4285498261451721, -1.6521157026290894, -0.11711340397596359, 1.0467182397842407, 0.060740675777196884, -0.18938042223453522, 0.2823212742805481, -0.3183334767818451, 0.2188400775194168, -0.2851405441761017, 0.5943232178688049, 0.3634965717792511, -0.2838229835033417, -0.30913615226745605, -0.115562304854393, -0.06513764709234238, 0.2046201229095459, -1.2658329010009766, -0.25936999917030334, 0.7892342209815979, 0.3769768178462982, 0.545840322971344, 0.6575850248336792, -0.17356452345848083, 0.4738253057003021, 0.04082248732447624, 0.1530228853225708, 0.07416840642690659, -0.18276596069335938, -0.19430489838123322, 0.36714181303977966, 0.35544076561927795, -0.2192157357931137 ]
http://arxiv.org/abs/2402.16840v1
http://arxiv.org/pdf/2402.16840v1
MobiLlama: Towards Accurate and Lightweight Fully Transparent GPT
2024-02-26T18:59:03
2024-02-26T18:59:03
Omkar Thawakar, Ashmal Vayani, Salman Khan, Hisham Cholakal, Rao M. Anwer, Michael Felsberg, Tim Baldwin, Eric P. Xing, Fahad Shahbaz Khan
cs.CL
cs.CL
"Bigger the better" has been the predominant trend in recent Large Language Models (LLMs) development. However, LLMs do not suit well for scenarios that require on-device processing, energy efficiency, low memory footprint, and response efficiency. These requisites are crucial for privacy, security, and sustainable deployment. This paper explores the "less is more" paradigm by addressing the challenge of designing accurate yet efficient Small Language Models (SLMs) for resource constrained devices. Our primary contribution is the introduction of an accurate and fully transparent open-source 0.5 billion (0.5B) parameter SLM, named MobiLlama, catering to the specific needs of resource-constrained computing with an emphasis on enhanced performance with reduced resource demands. MobiLlama is a SLM design that initiates from a larger model and applies a careful parameter sharing scheme to reduce both the pre-training and the deployment cost. Our work strives to not only bridge the gap in open-source SLMs but also ensures full transparency, where complete training data pipeline, training code, model weights, and over 300 checkpoints along with evaluation codes is available at : https://github.com/mbzuai-oryx/MobiLlama.
[ -0.18626591563224792, -0.5424624085426331, 0.6342097520828247, 0.1911873072385788, -0.3281181752681732, -0.07019960135221481, -0.42664337158203125, -0.3703542649745941, 0.23740175366401672, 0.527031421661377, -0.359534353017807, -0.479064017534256, -0.5332257151603699, -0.32918864488601685, -0.12939709424972534, 0.8951438665390015, -0.1963176727294922, -0.10835786908864975, -0.04193740338087082, -0.3648860454559326, -0.27961480617523193, -0.22636327147483826, -0.5919894576072693, -0.379903107881546, 0.5833998322486877, 0.31652384996414185, 0.7836899757385254, 0.7361565828323364, 0.31080934405326843, 0.27905938029289246, -0.07716068625450134, 0.15314073860645294, -0.48810556530952454, 0.11061855405569077, -0.2002486288547516, -0.4221898913383484, -0.4387997090816498, 0.07375446707010269, 0.597023606300354, 0.5129892826080322, -0.5225216150283813, 0.6484604477882385, 0.035640161484479904, 0.8671875596046448, -0.8644869923591614, 0.09220560640096664, -1.0293521881103516, -0.06328519433736801, -0.26245781779289246, 0.3442592918872833, -0.5225744247436523, -0.35895678400993347, -0.339923232793808, -0.5521227717399597, 0.0037190038710832596, 0.043602172285318375, 0.6007755398750305, 0.3550453782081604, -0.37370505928993225, -0.11333402991294861, -0.726669430732727, 0.8892558813095093, -0.41541483998298645, 0.3666834831237793, 0.40945541858673096, 0.42034679651260376, -0.0777321308851242, -0.7917651534080505, -0.5657482147216797, -0.18538016080856323, 0.18826453387737274, -0.1857832968235016, -0.15807673335075378, 0.06174994632601738, 0.17724791169166565, 0.0075487056747078896, -0.7232025265693665, 0.09732986986637115, -0.35474953055381775, -0.4732572138309479, 0.5567731261253357, 0.2601560652256012, -0.17840071022510529, 0.20306475460529327, -0.5182575583457947, 0.20954832434654236, -1.0883314609527588, -0.21147286891937256, 0.35978418588638306, 0.25523248314857483, -0.4218605160713196, 0.3608536124229431, -0.1178610548377037, 0.7959861159324646, -0.33645811676979065, -0.471050888299942, 0.09533651918172836, -0.4210231900215149, -0.47951504588127136, -0.09848340600728989, 0.8570736646652222, 0.11087317764759064, -0.05736294016242027, 0.030370736494660378, -0.028266122564673424, 0.11802852153778076, 0.09951604157686234, -1.2178311347961426, -0.13257306814193726, 0.24844077229499817, -0.6762409210205078, -0.0902504175901413, -0.10788058489561081, -0.8374987244606018, -0.6108483672142029, -0.23515509068965912, 0.1871449202299118, -0.0295658428221941, -0.22353285551071167, 0.07667918503284454, 0.37166887521743774, 0.01796369068324566, 0.4305787980556488, -0.900847315788269, 0.2915197014808655, 0.7456650733947754, 1.3778913021087646, 0.08561448752880096, 0.056201133877038956, -0.5294384360313416, 0.5175561904907227, -0.04940832406282425, 0.5358713269233704, -0.5273745059967041, -0.6439047455787659, -0.2531431317329407, -0.2099727988243103, -0.3217207193374634, -0.4100683033466339, 0.7433306574821472, -0.23219797015190125, -0.1510951668024063, -0.05985131114721298, -0.2961615324020386, -0.24644041061401367, -0.07455670833587646, -0.6175202131271362, 0.6329005360603333, -0.03006526455283165, -0.46640491485595703, 0.0754084512591362, -0.7420365810394287, -0.24375109374523163, 0.02521943300962448, -0.1926679164171219, -0.6258211135864258, 0.2388632446527481, -0.024281095713377, 0.38960158824920654, -0.3037153482437134, 0.05144203454256058, -0.43783554434776306, -0.3506043553352356, 0.13601304590702057, -0.35461944341659546, 0.7616129517555237, 0.8190472722053528, -0.3960011601448059, 0.04019009321928024, -0.6682308912277222, 0.34808069467544556, -0.01799592562019825, -0.12645457684993744, -0.12034759670495987, -0.09762053191661835, 0.11917673796415329, 0.006949907168745995, 0.5222251415252686, -0.6566068530082703, 0.21136976778507233, 0.007017940748482943, 0.86832594871521, 0.873199999332428, -0.5522435307502747, 0.6232078671455383, -0.32781699299812317, 0.5130065083503723, -0.5640140175819397, 0.5338476896286011, -0.3914770483970642, -0.6123665571212769, -0.5139358639717102, -0.7401590347290039, 0.5363401770591736, 0.42745304107666016, -0.4142095446586609, 0.008565242402255535, -0.3121531009674072, -0.7620288133621216, -0.7035887837409973, 0.476240873336792, 0.3763873279094696, 0.4276023507118225, 0.04172851890325546, 0.029601797461509705, -0.5580264329910278, -0.8548537492752075, -0.1425040364265442, -0.25344347953796387, -0.022608894854784012, 0.20433050394058228, 0.5508032441139221, -0.47882264852523804, 0.532310962677002, -0.4661361575126648, -0.41040006279945374, -0.018237460404634476, -0.17062102258205414, 0.2285216897726059, 0.598456084728241, 0.3333790600299835, -0.5892656445503235, -0.6353898048400879, 0.4251656234264374, -0.38113123178482056, -0.05677524209022522, 0.2639698088169098, 0.2375827431678772, 0.16723057627677917, 0.16384541988372803, -0.9805632829666138, 0.23385576903820038, 1.1165690422058105, 0.0101748276501894, 0.196611687541008, -0.41830548644065857, -0.2456301897764206, -0.9101550579071045, 0.2849538028240204, -0.1287788599729538, -0.43979522585868835, -0.4658559560775757, 0.4249820411205292, 0.24579697847366333, -0.3449954688549042, -0.4710667133331299, 0.6702787280082703, -0.6538277864456177, -0.03775348141789436, -0.33841264247894287, -0.04026849567890167, 0.13761435449123383, 0.3182802200317383, -0.2216711789369583, 1.0485814809799194, 0.3539474308490753, -0.37065136432647705, 0.3719669580459595, -0.3652363419532776, -0.4268960654735565, 0.554780125617981, -0.7333890795707703, 0.33940887451171875, 0.10907194763422012, 0.2890520989894867, -0.7880424857139587, -0.08560540527105331, 0.1841115802526474, -0.0794912651181221, 0.150710329413414, -0.29718366265296936, -0.7400505542755127, -0.05085860937833786, -0.46953195333480835, 0.49912911653518677, 0.8590609431266785, -0.4401678740978241, 0.557600736618042, 0.8170687556266785, -0.14874449372291565, -0.2449953407049179, -0.748856782913208, -0.1104518324136734, -0.09241639822721481, -0.8261610269546509, 0.2765052616596222, -0.10204985737800598, -0.12074985355138779, -0.4734082520008087, -0.14913029968738556, -0.273050457239151, 0.0864742174744606, 0.5809922218322754, 0.0716710314154625, -0.12891070544719696, 0.2007516771554947, 0.011060155928134918, -0.10062971711158752, -0.30542808771133423, -0.4203799366950989, 0.45235010981559753, -0.28998449444770813, -0.3942044675350189, -0.6871458888053894, 0.1990034282207489, 0.3182160556316376, -0.08605208247900009, 0.8126813769340515, 0.5855346322059631, -0.2704519033432007, -0.2746245563030243, -0.5586621165275574, 0.10610581934452057, -0.556354820728302, 0.019197644665837288, -0.260252445936203, -0.9404716491699219, 0.619701087474823, -0.12596598267555237, -0.028599441051483154, 0.09067539125680923, 0.7192856073379517, -0.07928874343633652, 0.9485495090484619, 0.6569394469261169, -0.048140451312065125, 0.5272122025489807, -0.1771133989095688, -0.049631088972091675, -0.7752628922462463, -0.4679117202758789, -0.7402967810630798, -0.42364564538002014, -0.5904655456542969, -0.7407213449478149, 0.3764747381210327, -0.11659104377031326, -0.20049352943897247, 0.2694777548313141, -0.7636129260063171, 0.5855909585952759, 0.1787281036376953, 0.18393509089946747, 0.5017776489257812, 0.047041140496730804, -0.0625171810388565, -0.06217154487967491, -0.6915025115013123, -0.762904703617096, 1.3129373788833618, 0.4830721616744995, 1.0975054502487183, 0.142593652009964, 0.42612946033477783, 0.08063379675149918, 0.6142305135726929, -0.40948763489723206, 0.557580828666687, 0.11995723843574524, -0.6514278650283813, -0.20396623015403748, -0.7284858226776123, -1.2060887813568115, 0.5799756646156311, 0.18679682910442352, -0.6452658772468567, 0.03178365156054497, 0.2531222999095917, -0.42302122712135315, 0.3730960488319397, -1.079542875289917, 0.8863520622253418, -0.05679578334093094, -0.5040500164031982, -0.22377616167068481, -0.3964442014694214, 0.37517204880714417, -0.08453122526407242, 0.4615979790687561, -0.393840491771698, -0.8279668688774109, 0.42996206879615784, -0.8282047510147095, 0.7851531505584717, -0.3643460273742676, -0.14597105979919434, 0.42204850912094116, 0.056193482130765915, 0.9725164771080017, 0.10533999651670456, -0.1925152838230133, 0.31434953212738037, -0.21208404004573822, -0.7193523645401001, -0.3645537197589874, 0.9397870898246765, -0.4849134683609009, -0.3832961320877075, -0.18947601318359375, -0.4478912949562073, 0.033938582986593246, 0.23897144198417664, 0.25996097922325134, 0.09543218463659286, -0.054134003818035126, 0.13913604617118835, 1.0365567207336426, 0.10804441571235657, 0.4471453130245209, 0.5424733757972717, -0.4445348083972931, -0.2974512279033661, 1.0868544578552246, 0.20302210748195648, 0.07196823507547379, 0.38233110308647156, 0.15939734876155853, -0.31825441122055054, -0.9764012098312378, -0.5703714489936829, 0.24512667953968048, -0.20825190842151642, -0.31524452567100525, -0.39610856771469116, 0.07929772883653641, -0.26193884015083313, 0.07296928018331528, -0.6618797183036804, -0.5249581933021545, -0.19427992403507233, -0.12266090512275696, 0.3326950669288635, 0.4924173653125763, -0.03744322061538696, 0.795168399810791, -0.5268906950950623, -0.028606994077563286, 0.2598072588443756, 0.5380513668060303, -0.16913120448589325, -0.47681546211242676, -0.3741348683834076, 0.16531285643577576, -0.47082147002220154, -0.574322521686554, 0.19760440289974213, 0.2505839765071869, 0.46724897623062134, 0.293222576379776, -0.18034105002880096, 0.5579496622085571, -0.4879058301448822, 0.5858702063560486, 0.3379497826099396, -0.9339783787727356, 0.5106085538864136, -0.4368559718132019, 0.2736252248287201, 0.7166624665260315, 0.055797360837459564, -0.19223225116729736, -0.18025361001491547, -0.512166440486908, -0.3788444995880127, 0.23383434116840363, 0.3186023533344269, 0.28398630023002625, 0.5282876491546631, 0.1627701073884964, 0.3627009391784668, 0.6393663883209229, -0.7394315600395203, -0.2810407876968384, -0.2636975347995758, -0.3407912850379944, 0.0060968948528170586, -0.09321160614490509, -0.1772404909133911, -0.16036471724510193, 0.4961354732513428, -0.040330324321985245, 0.23834443092346191, -0.13101452589035034, -0.3370058238506317, 0.12643040716648102, 0.13418810069561005, 1.122847557067871, 0.7388356924057007, 0.060334932059049606, 0.26983487606048584, 0.09632416069507599, -0.7741718888282776, 0.26363956928253174, -0.0637751892209053, -0.41870737075805664, 0.37255460023880005, 0.1087084412574768, 0.8463279604911804, -0.012313743121922016, -0.7201719880104065, 0.7011586427688599, 0.14607660472393036, -0.07451115548610687, -0.18058475852012634, 0.05788835138082504, 0.07209927588701248, 0.16453394293785095, 0.15727181732654572, 0.13569311797618866, 0.01332284789532423, -0.4683386981487274, -0.0423240102827549, 0.732241153717041, -0.24094170331954956, -0.5210586786270142, 0.7240396738052368, 0.45118093490600586, -0.18854014575481415, 0.11934994161128998, -0.20873290300369263, -0.0044006472453475, 0.39119744300842285, 0.24335791170597076, 0.7262864708900452, -0.4963580071926117, 0.40427011251449585, -0.038868315517902374, 0.8058185577392578, -0.22834953665733337, 0.3075557351112366, -0.2657022476196289, -0.25992462038993835, -0.5766577124595642, -0.4748251736164093, -0.49084803462028503, 0.19019664824008942, -0.2657696008682251, 0.09051377326250076, -0.9996365308761597, -0.40697094798088074, -0.4781007170677185, 0.05870696157217026, -0.43397030234336853, -0.1507689505815506, -0.0958305299282074, 0.9330055117607117, -0.38733920454978943, 1.1421993970870972, 0.484335333108902, -0.10685748606920242, -0.6836610436439514, -0.6178517937660217, -0.14277121424674988, -1.1456559896469116, 0.22246570885181427, 0.1915169507265091, -0.021288491785526276, -0.2975861132144928, -0.5793600082397461, -0.6167629957199097, 1.129143476486206, 1.0800753831863403, -0.747401237487793, 0.08788642287254333, 0.14138871431350708, 0.42777514457702637, -0.2867570221424103, 0.346570760011673, 0.159670889377594, 0.7007259726524353, 0.023769591003656387, -1.0789819955825806, 0.09940355271100998, 0.07323398441076279, 0.26066622138023376, 0.4778563678264618, -1.1463148593902588, 1.0387617349624634, -0.3622440993785858, -0.3122453987598419, 0.30580419301986694, 0.39111724495887756, 0.13369515538215637, 0.5160959959030151, 0.13724404573440552, 0.6220804452896118, 1.0456867218017578, -0.053777310997247696, 1.0947794914245605, -0.17561160027980804, 0.47764140367507935, 1.066283106803894, -0.366083025932312, 0.7655547857284546, 0.5562540292739868, -0.3218158483505249, 0.5730478763580322, 0.5705291032791138, 0.2078441083431244, 0.5466196537017822, 0.19538132846355438, -0.4644491374492645, 0.02104894630610943, -0.14247764647006989, -0.5462230443954468, -0.08752307295799255, 0.13906605541706085, -0.3863954544067383, -0.11431725323200226, -0.01261576171964407, 0.3384276032447815, 0.1430753618478775, -0.7551408410072327, 0.44313427805900574, 0.4145229160785675, -0.10563210397958755, 0.6460215449333191, 0.20645572245121002, 0.666941225528717, -0.6234959959983826, 0.264362096786499, -0.35939833521842957, 0.011890207417309284, -0.47572052478790283, -0.30057522654533386, 0.30355364084243774, 0.13357238471508026, -0.238364115357399, -0.40836235880851746, 0.731261670589447, -0.35075342655181885, -0.5376470685005188, -0.028574712574481964, 0.31665509939193726, 0.14452776312828064, -0.3429920971393585, -0.6435689926147461, 0.6098056435585022, -0.16788698732852936, -0.05758114904165268, 0.4865860939025879, 0.2539365589618683, 0.2089776247739792, 0.9698051810264587, 0.6699767708778381, 0.40775159001350403, 0.35762736201286316, -0.33536607027053833, 0.49988460540771484, -0.39852285385131836, -0.5239088535308838, -1.0149410963058472, 0.3314317464828491, -0.17169688642024994, -0.08561767637729645, 0.7374381422996521, 0.7928911447525024, 0.6409777998924255, 0.07912661135196686, 0.6928445100784302, 0.2484765499830246, 0.37135833501815796, -0.5491043925285339, 0.7829431295394897, -0.31272411346435547, 0.45810675621032715, 0.021649425849318504, -1.0073236227035522, 0.0965224951505661, 0.7074527144432068, -0.04145020991563797, 0.05289405956864357, 0.5379212498664856, 0.8702196478843689, -0.03478676825761795, 0.11478135734796524, 0.4542260468006134, 0.096737340092659, 0.04206395521759987, 0.7869982123374939, 0.5521851181983948, -0.46544498205184937, 0.8180854320526123, -0.0596560500562191, -0.18832316994667053, -0.29715901613235474, -0.9621655344963074, -0.7439277172088623, -0.3678339719772339, -0.23518306016921997, -0.05834197625517845, 0.048850979655981064, 0.6330245733261108, 0.946150541305542, -0.5886417627334595, -0.46640413999557495, -0.11439328640699387, 0.7260653972625732, -0.05948273092508316, -0.06937087327241898, 0.009549153037369251, 0.059340767562389374, -0.5795007348060608, 0.24993187189102173, 0.3707422614097595, 0.09074199199676514, -0.4281599819660187, -0.20475423336029053, 0.35005825757980347, 0.019620323553681374, 0.5787674784660339, 0.3823443651199341, -0.32696908712387085, -0.03682412952184677, -0.5019211769104004, -0.43104255199432373, -0.004367389250546694, 0.9001610279083252, -0.6471250653266907, 0.22284755110740662, 0.34632402658462524, 0.7475045919418335, 0.7651541233062744, -0.375260591506958, 0.3722032606601715, -0.5578280687332153, 0.5517547130584717, 0.10006023198366165, 0.28176799416542053, 0.26475825905799866, -0.05857997387647629, 0.5930219888687134, 0.33643510937690735, -0.48937466740608215, -1.2074767351150513, 0.4751843512058258, -0.9359824657440186, -0.08038413524627686, 1.1440613269805908, -0.12864801287651062, -0.31509169936180115, -0.016256794333457947, -0.1881006360054016, -0.2593347728252411, -0.6526455283164978, 0.5247581601142883, 0.31184664368629456, 0.03980405256152153, -0.12720833718776703, -0.6250463128089905, 0.3821749985218048, 0.3252018988132477, -0.7972278594970703, -0.021539274603128433, 0.18299166858196259, 0.250038206577301, 0.04563016816973686, 0.8003317713737488, -0.012358536943793297, 0.18783891201019287, 0.036648258566856384, -0.035603687167167664, -0.34355440735816956, -0.24353572726249695, -0.2816365361213684, 0.44358140230178833, 0.23448790609836578, -0.35836294293403625 ]
http://arxiv.org/abs/2402.16837v1
http://arxiv.org/pdf/2402.16837v1
Do Large Language Models Latently Perform Multi-Hop Reasoning?
2024-02-26T18:57:54
2024-02-26T18:57:54
Sohee Yang, Elena Gribovskaya, Nora Kassner, Mor Geva, Sebastian Riedel
cs.CL
cs.CL
We study whether Large Language Models (LLMs) latently perform multi-hop reasoning with complex prompts such as "The mother of the singer of 'Superstition' is". We look for evidence of a latent reasoning pathway where an LLM (1) latently identifies "the singer of 'Superstition'" as Stevie Wonder, the bridge entity, and (2) uses its knowledge of Stevie Wonder's mother to complete the prompt. We analyze these two hops individually and consider their co-occurrence as indicative of latent multi-hop reasoning. For the first hop, we test if changing the prompt to indirectly mention the bridge entity instead of any other entity increases the LLM's internal recall of the bridge entity. For the second hop, we test if increasing this recall causes the LLM to better utilize what it knows about the bridge entity. We find strong evidence of latent multi-hop reasoning for the prompts of certain relation types, with the reasoning pathway used in more than 80% of the prompts. However, the utilization is highly contextual, varying across different types of prompts. Also, on average, the evidence for the second hop and the full multi-hop traversal is rather moderate and only substantial for the first hop. Moreover, we find a clear scaling trend with increasing model size for the first hop of reasoning but not for the second hop. Our experimental findings suggest potential challenges and opportunities for future development and applications of LLMs.
[ -0.20434445142745972, -0.8203453421592712, 1.008333683013916, 0.31808239221572876, -0.13133805990219116, 0.15109944343566895, 0.024674396961927414, -0.6581221222877502, 0.20182661712169647, 0.36678048968315125, -0.6815381050109863, 0.0705474466085434, -0.5025153756141663, 0.09447415173053741, -0.2732624411582947, 0.7333843111991882, 0.13939976692199707, -0.14776620268821716, 0.014179271645843983, 0.2216987907886505, -0.3938641846179962, -0.7079118490219116, -0.7052091360092163, -0.22538256645202637, 0.8317784667015076, 0.4159213900566101, 0.7777040600776672, 0.30246466398239136, 0.5321976542472839, 0.1885480284690857, -0.46175795793533325, 0.23329760134220123, -0.24455496668815613, 0.5379377007484436, -0.20726631581783295, -0.7893326282501221, -0.4389864206314087, 0.10211333632469177, 0.8859205842018127, 0.8331277370452881, 0.10072925686836243, 0.01558274682611227, -0.1463751196861267, 0.4032737612724304, -0.35539138317108154, -0.07805341482162476, -1.00693941116333, -0.04065442457795143, -0.3020135760307312, -0.3815179467201233, -0.45733335614204407, -0.28760409355163574, 0.26770368218421936, -0.10305656492710114, -0.2053142488002777, 0.3755838871002197, 0.6056914329528809, 0.20952026546001434, -0.7278950810432434, -0.4644644558429718, -0.7682334184646606, 0.6920490860939026, -0.4452742338180542, 0.4556135833263397, 0.20790310204029083, 0.39296066761016846, -0.45238420367240906, -0.48275333642959595, -0.7691342830657959, -0.6705429553985596, -0.20089974999427795, -0.18938936293125153, -0.1794912964105606, -0.08920229971408844, 0.8643761277198792, 0.40833574533462524, -0.5038813352584839, 0.06565199792385101, -0.18758800625801086, -0.2512824237346649, 0.33248183131217957, 0.27536097168922424, 0.2759033143520355, -0.21645990014076233, -0.413769394159317, 0.28214380145072937, -1.0267122983932495, 0.3322807252407074, 0.21037855744361877, 0.3973028063774109, -0.2255702018737793, 0.6552727818489075, 0.30404266715049744, 0.8254579305648804, -0.07318775355815887, -0.5618882775306702, 0.20656520128250122, -0.304180771112442, 0.13269728422164917, 0.14715397357940674, 0.777805507183075, 0.04215691611170769, 0.4433688223361969, -0.14088530838489532, -0.15080690383911133, -0.08833799511194229, -0.17779600620269775, -0.5223889946937561, -0.12349685281515121, 0.2704341411590576, -0.3987549841403961, 0.10787737369537354, -0.1651463359594345, -0.23463542759418488, -0.5504451990127563, -0.07081825286149979, 0.2675738036632538, -0.4018182158470154, -0.34436070919036865, 0.14067743718624115, -0.11004247516393661, 0.0895816832780838, 0.2755371332168579, -0.7576336860656738, -0.21604125201702118, 0.6231043338775635, 1.0554463863372803, 0.17313344776630402, -0.5777742862701416, -0.9775469303131104, 0.21034599840641022, -0.45233336091041565, 0.8156986832618713, -0.8114109039306641, -0.2424260824918747, -0.4020228385925293, 0.020739775151014328, -0.26624953746795654, -0.36300143599510193, 0.5466956496238708, -0.6806172728538513, -0.08209540694952011, -0.4189426302909851, -0.35389646887779236, -0.056798405945301056, 0.3449893295764923, -0.7320393323898315, 0.6857046484947205, -0.10142070800065994, -0.8455590009689331, 0.12016376107931137, -0.5403158664703369, -0.5132862329483032, -0.26035749912261963, -0.396136611700058, -0.25454506278038025, 0.184594988822937, -0.04117036983370781, 0.5143532752990723, -0.5824766159057617, 0.5480048060417175, -0.40754520893096924, -0.4633963704109192, 0.4732377231121063, -0.5640546083450317, 0.9579036235809326, 0.039914991706609726, -0.3411194086074829, -0.22025690972805023, -0.8730227947235107, -0.2814992666244507, 0.16758646070957184, -0.5493108630180359, -0.47498002648353577, -0.026856714859604836, -0.47204315662384033, 0.5384597778320312, -0.06526948511600494, -0.5439246892929077, 0.7331715226173401, -0.2852185070514679, 0.19381290674209595, 0.6419895887374878, 0.18914349377155304, 0.07301396876573563, -0.37092283368110657, 0.567962110042572, 0.18942464888095856, 0.030099021270871162, -0.7569435834884644, -0.8791370987892151, -0.5699259042739868, 0.04227961227297783, 0.08126816898584366, 0.5537164211273193, -0.5811250805854797, 0.05007857829332352, -0.026375101879239082, -0.31354811787605286, -0.18375670909881592, -0.2628554701805115, 0.34789490699768066, 0.3678629398345947, 0.41448935866355896, 0.1096993088722229, -0.5251961350440979, -0.8798602819442749, -0.37805795669555664, -0.40316903591156006, 0.08602068573236465, 0.4857024550437927, 0.35295894742012024, -0.12414255738258362, 0.7879567742347717, -0.34734684228897095, 0.041061315685510635, -0.08201199769973755, 0.3660701513290405, 0.6860535144805908, 0.3534875810146332, 0.7350560426712036, -0.8381367921829224, -0.20353096723556519, -0.2627454102039337, -0.6898477673530579, -0.2153615653514862, -0.539974570274353, 0.008366672322154045, -0.13597670197486877, 0.5095500946044922, -0.7310769557952881, -0.034053340554237366, 0.7523414492607117, -0.6215296387672424, 1.0167489051818848, -0.011470743454992771, 0.1749301552772522, -0.9755606055259705, -0.1792224496603012, -0.2600577175617218, 0.1053272932767868, -0.6462018489837646, -0.013423892669379711, 0.04655837267637253, 0.3369567096233368, -0.16331325471401215, 0.4976899027824402, -0.6254661679267883, -0.20336291193962097, -0.13253268599510193, -0.021757090464234352, -0.056380052119493484, 0.18820224702358246, 0.08957767486572266, 0.8351126313209534, 0.9367402195930481, -0.7186391353607178, 0.4995836317539215, -0.11851871758699417, -0.24634645879268646, 0.6396255493164062, -0.5132296085357666, 0.22615359723567963, -0.11977554857730865, 0.43388235569000244, -1.081568956375122, -0.009426141157746315, 0.14686931669712067, -0.3836054801940918, 0.22393469512462616, -0.3746344745159149, -0.6219388842582703, -0.6531384587287903, 0.1095590889453888, 0.18409721553325653, 0.09809333086013794, -0.495980441570282, 0.8424379229545593, 0.06264857202768326, -0.17270615696907043, -0.4196757674217224, -0.8216914534568787, 0.24405698478221893, -0.24035616219043732, -0.7507253885269165, 0.08373624831438065, -0.30324897170066833, -0.465183824300766, -0.26586830615997314, -0.025802867487072945, 0.18951906263828278, 0.26329779624938965, 0.20780891180038452, 0.49697768688201904, -0.4005769193172455, 0.3165138065814972, -0.07174281775951385, -0.11378617584705353, 0.3796527683734894, -0.5095815658569336, 0.4193372130393982, -0.24534691870212555, -0.5791640877723694, -0.14845581352710724, 0.46105411648750305, 0.7989885807037354, -0.19133971631526947, 0.9487436413764954, 0.39920371770858765, -0.30781200528144836, 0.1953125298023224, -0.6999603509902954, -0.2041301727294922, -0.376593679189682, -0.11393201351165771, -1.073570966720581, -1.2506879568099976, 0.7801392674446106, -0.11388170719146729, 0.06960758566856384, 0.5466554760932922, 0.3691837787628174, -0.11461617797613144, 0.941047191619873, 0.26856574416160583, 0.18425434827804565, 0.19577382504940033, -0.29348620772361755, 0.272215336561203, -1.1669806241989136, -0.29664430022239685, -0.6953318119049072, -0.28124406933784485, -0.6067768931388855, -0.6686075925827026, 0.6437835693359375, 0.38269442319869995, -0.302756667137146, 0.0020887001883238554, 0.0951087698340416, 0.47304192185401917, 0.5731924176216125, -0.2720309793949127, 0.6797890067100525, -0.23771171271800995, -0.732729434967041, 0.13533563911914825, -0.7236101627349854, -0.4694729447364807, 1.0531080961227417, 0.37739408016204834, 0.8037991523742676, 0.44702666997909546, 0.5065440535545349, -0.12288523465394974, 0.07840129733085632, -0.7104412913322449, 0.5617261528968811, 0.17731936275959015, -0.9659104943275452, -0.2805924117565155, -0.633353590965271, -0.8659427165985107, 0.2000526487827301, -0.38182052969932556, -1.100069522857666, 0.23756149411201477, 0.3113133907318115, -0.7845141291618347, 0.6768313050270081, -0.5993552803993225, 0.5785899758338928, -0.41928520798683167, -0.2361835241317749, 0.0760120153427124, -0.7848874926567078, 0.8296964168548584, -0.27748462557792664, 0.33115682005882263, 0.052371688187122345, 0.2322845160961151, 0.6824933290481567, -0.2031448781490326, 0.6491039991378784, -0.018207214772701263, -0.4080263674259186, 0.486959308385849, 0.4413430988788605, 0.9541239738464355, -0.0678609162569046, 0.10930271446704865, -0.03448458015918732, -0.2859293818473816, -0.13672278821468353, -0.7269486784934998, 0.7583383917808533, -0.5178869962692261, -0.7710106372833252, -0.5169457197189331, -0.40261706709861755, -0.5231666564941406, 0.008031859062612057, 0.01665184274315834, 0.3315543830394745, 0.3659850060939789, 0.3445630669593811, 0.8090964555740356, -0.11551607400178909, 0.3943638801574707, 0.6145838499069214, -0.3031480610370636, 0.0689103752374649, 0.5514662861824036, 0.21209979057312012, 0.4249532222747803, 0.4169766902923584, 0.6123737096786499, -0.35656318068504333, -0.5228063464164734, -0.5090605616569519, 0.41834959387779236, -0.6271238327026367, 0.12591621279716492, -1.01897394657135, -0.23267529904842377, -0.17890703678131104, 0.1605745255947113, -0.29950666427612305, -0.3876360058784485, 0.05312518775463104, -0.01211596466600895, 0.3428288400173187, 0.7593820691108704, -0.1257975548505783, 0.14609621465206146, -1.1987082958221436, 0.46796101331710815, 0.6999495625495911, 0.3993855118751526, 0.4382628798484802, -0.5427027344703674, -0.10615216195583344, -0.1601003110408783, -0.01859249733388424, -1.1385960578918457, -0.4603983759880066, 0.038904838263988495, 0.8061516284942627, 0.5921213626861572, -0.11687126755714417, 0.5749672651290894, -0.6263336539268494, 0.9907128214836121, 0.4296850860118866, -0.738461971282959, 0.5501785278320312, -0.5371326208114624, 0.23845268785953522, 0.09453073143959045, 0.7504784464836121, -0.7629832029342651, -0.4825862646102905, -0.6400163769721985, -0.6266934871673584, 0.6374024152755737, 0.009412255138158798, 0.00015484722098335624, -0.059079576283693314, 0.18912971019744873, 0.06222120299935341, 0.06561009585857391, -0.8824576735496521, -0.38497990369796753, 0.31103938817977905, 0.5101916790008545, -0.027931883931159973, -0.5563125014305115, 0.09849502891302109, -0.07499965280294418, 0.5011734366416931, -0.26672932505607605, 0.061636097729206085, 0.024318262934684753, 0.1777854561805725, -0.3126351237297058, 0.5410448908805847, 0.4385245144367218, 0.7249784469604492, -0.12314654886722565, 0.4892716705799103, 0.02646017260849476, -0.4407050609588623, 0.23144225776195526, -0.030130557715892792, -0.21343782544136047, -0.13786202669143677, 0.8033696413040161, 0.8235655426979065, 0.30504876375198364, -0.5624040961265564, 0.38446375727653503, -0.04479926452040672, -0.0696040615439415, -0.06447421759366989, 0.22359509766101837, 0.44703495502471924, 0.796757161617279, 0.5665491819381714, 0.12564301490783691, 0.017544066533446312, -0.9715389609336853, -0.10216735303401947, 0.4429641366004944, -0.04802851378917694, -0.2172519415616989, 0.6769000291824341, -0.2103542983531952, -0.3097137212753296, 0.507760763168335, -0.442918062210083, -0.7115746140480042, 0.30472230911254883, 0.5410842895507812, 0.7036760449409485, -0.32219669222831726, -0.12609247863292694, 0.41646862030029297, 0.42531535029411316, -0.045276153832674026, 0.5771403312683105, -0.060413070023059845, -0.7294536828994751, -0.7741281986236572, -0.7446746826171875, -0.2895970940589905, 0.31846103072166443, -0.12456037104129791, 0.05637682229280472, -0.07729494571685791, -0.18409189581871033, 0.09766696393489838, -0.2714739441871643, -0.5335084795951843, 0.10136192291975021, 0.41137295961380005, 0.8508539795875549, -0.9591665267944336, 0.6259369850158691, 0.7329398393630981, -0.4262685775756836, -1.3219225406646729, 0.3897474706172943, 0.19215209782123566, -0.5051918625831604, 0.8848254084587097, 0.0008085955050773919, -0.5038974285125732, -0.1408437043428421, -0.33692851662635803, -1.091862440109253, 0.737062931060791, 0.19670051336288452, -0.9470330476760864, -0.31625643372535706, -0.15112927556037903, 0.2894602417945862, -0.5525220036506653, 0.5698702931404114, 0.5952497124671936, 0.6404836773872375, 0.7386550307273865, -1.3527389764785767, 0.08202139288187027, -0.06210607662796974, -0.09330104291439056, 0.043057046830654144, -0.7167409658432007, 1.3874680995941162, -0.7973556518554688, -0.05554259568452835, -0.18494465947151184, 0.42714250087738037, 0.797895073890686, 0.23342329263687134, 0.802991509437561, 0.3544662892818451, 1.0253561735153198, -0.08594904094934464, 1.0004268884658813, -0.17930205166339874, 0.15180721879005432, 1.2475672960281372, -0.24885982275009155, 0.6952793598175049, 0.5251185894012451, -0.4389191269874573, 0.7860456109046936, 0.7306755185127258, 0.4074055850505829, 0.06580532342195511, 0.34455591440200806, 0.04359672591090202, -0.6202966570854187, -0.07726337015628815, -0.526249885559082, 0.5449680089950562, 0.34736326336860657, -0.48336440324783325, -0.008849904872477055, -0.0006097754230722785, 0.17027100920677185, -0.3738139569759369, -0.4329281747341156, 0.477090984582901, 0.33764928579330444, -0.875643253326416, 0.61723792552948, -0.20300765335559845, 0.47330009937286377, -0.5982019305229187, 0.002162552671507001, -0.08091718703508377, -0.11480705440044403, -0.137507826089859, -0.9685697555541992, 0.19546523690223694, 0.12971742451190948, -0.20390307903289795, -0.039496615529060364, 0.6046831607818604, -0.31497377157211304, -0.3480874300003052, 0.484663724899292, 0.953283965587616, 0.41741934418678284, -0.3045269846916199, -0.5475198030471802, -0.06145784258842468, -0.2184375524520874, -0.5301021933555603, -0.043098948895931244, 0.9065080285072327, -0.3267180621623993, 0.7357566952705383, 0.8712109923362732, 0.6052402257919312, 0.3382602632045746, 0.6108561754226685, 1.0194923877716064, -0.9396204352378845, -0.76422119140625, -1.1423479318618774, 0.3796732425689697, 0.11242768168449402, 0.06141746789216995, 0.6740815043449402, 0.6253450512886047, 0.5690984725952148, 0.13967108726501465, 0.7223823666572571, 0.09552282094955444, 0.6436247825622559, -0.9711973071098328, 0.23761077225208282, -0.6679366230964661, 0.46253761649131775, -0.4429451823234558, -1.012213945388794, -0.14198565483093262, 0.4480164349079132, -0.5367995500564575, 0.15428544580936432, 1.1281228065490723, 0.6091776490211487, -0.09859119355678558, 0.2857055366039276, 0.21016521751880646, 0.5911154747009277, 0.2613702714443207, 1.009913682937622, 1.4422999620437622, 0.01810569316148758, 0.5666385293006897, 0.35586628317832947, -0.26501795649528503, -0.30789706110954285, -0.9830060601234436, -1.0456452369689941, -0.5355896949768066, -0.12764565646648407, -0.40186113119125366, -0.12055251002311707, 1.0415643453598022, 0.6246908903121948, -0.6543868184089661, -0.013182486407458782, 0.22202429175376892, 0.4234318435192108, -0.18943464756011963, -0.16788752377033234, 0.20997008681297302, -0.10789497196674347, -0.26094305515289307, 0.5576315522193909, 0.5801864266395569, 0.33092179894447327, -0.6683401465415955, 0.003077868139371276, -0.49162861704826355, 0.06709475070238113, 0.6444163918495178, -0.11517059803009033, -0.8784278631210327, -0.4201694428920746, 0.17203444242477417, 0.04745504632592201, 0.03456056863069534, 1.151655673980713, -0.6923788785934448, 0.3184821903705597, 0.39545342326164246, 0.31302013993263245, 0.26055118441581726, -0.10157979279756546, 0.1319064497947693, -0.6180103421211243, -0.21208618581295013, 0.24011829495429993, 0.5172703862190247, 0.14185261726379395, -0.4803476929664612, 0.14945726096630096, 0.5598278641700745, -0.43159717321395874, -0.6311330795288086, 0.626423716545105, -0.6836265921592712, -0.2271662801504135, 1.3347375392913818, -0.22665482759475708, -0.2881605327129364, -0.3274691700935364, -0.17921900749206543, -0.06695478409528732, -0.23060595989227295, 0.5753516554832458, 1.0017424821853638, -0.5633576512336731, -0.36883240938186646, -0.590587854385376, 0.2878679633140564, 0.031054241582751274, -0.445608526468277, 0.16799256205558777, 0.5439700484275818, -0.012536885216832161, 0.6620139479637146, 0.9507296085357666, 0.2682756781578064, 0.23256678879261017, 0.1818801462650299, -0.565268874168396, -0.07664869725704193, -0.9704614877700806, -0.03631095588207245, 0.26641619205474854, 0.33922719955444336, 0.2106037735939026 ]
http://arxiv.org/abs/2402.16836v1
http://arxiv.org/pdf/2402.16836v1
PhyGrasp: Generalizing Robotic Grasping with Physics-informed Large Multimodal Models
2024-02-26T18:57:52
2024-02-26T18:57:52
Dingkun Guo, Yuqi Xiang, Shuqi Zhao, Xinghao Zhu, Masayoshi Tomizuka, Mingyu Ding, Wei Zhan
cs.RO
cs.RO, cs.AI, cs.CL, cs.CV
Robotic grasping is a fundamental aspect of robot functionality, defining how robots interact with objects. Despite substantial progress, its generalizability to counter-intuitive or long-tailed scenarios, such as objects with uncommon materials or shapes, remains a challenge. In contrast, humans can easily apply their intuitive physics to grasp skillfully and change grasps efficiently, even for objects they have never seen before. This work delves into infusing such physical commonsense reasoning into robotic manipulation. We introduce PhyGrasp, a multimodal large model that leverages inputs from two modalities: natural language and 3D point clouds, seamlessly integrated through a bridge module. The language modality exhibits robust reasoning capabilities concerning the impacts of diverse physical properties on grasping, while the 3D modality comprehends object shapes and parts. With these two capabilities, PhyGrasp is able to accurately assess the physical properties of object parts and determine optimal grasping poses. Additionally, the model's language comprehension enables human instruction interpretation, generating grasping poses that align with human preferences. To train PhyGrasp, we construct a dataset PhyPartNet with 195K object instances with varying physical properties and human preferences, alongside their corresponding language descriptions. Extensive experiments conducted in the simulation and on the real robots demonstrate that PhyGrasp achieves state-of-the-art performance, particularly in long-tailed cases, e.g., about 10% improvement in success rate over GraspNet. Project page: https://sites.google.com/view/phygrasp
[ -0.1713283509016037, -0.7309259176254272, 0.757442057132721, -0.08587631583213806, -0.1401769369840622, -0.18485037982463837, -0.16108471155166626, -0.4304507076740265, 0.22531327605247498, 0.16142228245735168, -0.2456692010164261, -0.22892138361930847, -0.6478179693222046, -0.14660164713859558, -0.1714552491903305, 0.8531745672225952, 0.1124892458319664, -0.14028674364089966, -0.027189578860998154, -0.20784342288970947, 0.02083410881459713, -0.4782382547855377, -0.0423460491001606, -0.6616175174713135, 0.7351555228233337, 0.16572493314743042, 1.2504686117172241, 0.482430636882782, 0.45187878608703613, 0.33574438095092773, -0.013329900801181793, 0.3141557276248932, -0.04865866154432297, -0.2867085635662079, -0.6761856079101562, -0.3461460769176483, -0.3165181577205658, -0.07634930312633514, 0.48844894766807556, 1.1553655862808228, -0.13962988555431366, -0.20193712413311005, 0.17773592472076416, 0.4046279788017273, -0.9355635643005371, -0.03735734522342682, -0.4922487139701843, 0.09538861364126205, -0.12664391100406647, 0.025451401248574257, -0.23627276718616486, 0.00464117806404829, 0.17742660641670227, -1.0535951852798462, 0.11699012666940689, -0.11399852484464645, 0.9904391169548035, 0.14332373440265656, -0.7825106382369995, -0.0024477506522089243, -0.6677483320236206, 0.7535101771354675, -0.45235487818717957, 0.6800413131713867, 0.5333694815635681, 0.5200288891792297, -0.382956862449646, -0.5956326127052307, -0.6879541277885437, -0.39636915922164917, 0.015217430889606476, 0.1273467242717743, 0.04763362929224968, 0.5228039622306824, 0.49950623512268066, 0.13476164638996124, -0.584581732749939, -0.09904094785451889, -0.5184386968612671, -0.15467886626720428, 0.6816521883010864, 0.030295372009277344, 0.3367280066013336, -0.30870476365089417, -0.5756238102912903, -0.3981366753578186, -0.42066970467567444, 0.35256966948509216, 0.5461153984069824, 0.21889826655387878, -0.071749746799469, 1.100504755973816, -0.38810956478118896, 0.9505993723869324, -0.013549712486565113, -0.20478370785713196, 0.41075098514556885, -0.18529745936393738, -0.277631938457489, -0.61966472864151, 0.9290547370910645, 0.5009805560112, 0.3705381751060486, 0.00803315918892622, -0.015698930248618126, -0.17364852130413055, 0.4307173192501068, -0.3460882604122162, -0.6526339650154114, 0.5679163932800293, -0.478355348110199, 0.3635660707950592, 0.3128575384616852, -0.5944303274154663, -0.7712931632995605, -0.6295303106307983, 0.593246340751648, -0.6962200403213501, -0.5729857683181763, 0.7912470698356628, -0.3294595181941986, 0.1347275972366333, 0.595234751701355, -0.9819778203964233, 0.23603646457195282, 0.8327171802520752, 0.8665253520011902, 0.007277380675077438, -0.8315801024436951, -0.5672891736030579, 0.4289999008178711, -0.1860024631023407, 0.5872848033905029, -0.3765346109867096, -0.20946180820465088, -0.16629458963871002, 0.0006854406674392521, -0.23402950167655945, -0.5209407806396484, 0.1939789056777954, -0.10637637227773666, 0.041499242186546326, 0.09409144520759583, -0.2510533034801483, -0.43111446499824524, 0.2914843261241913, -0.7030617594718933, 0.6106577515602112, 0.12797559797763824, -0.46317237615585327, 0.628442645072937, -0.7278971672058105, -0.7278492450714111, 0.02258387580513954, 0.14856064319610596, -0.23813118040561676, 0.20360955595970154, 0.08298509567975998, 0.5533556938171387, 0.04664762318134308, 0.3280216157436371, -0.7558709383010864, 0.1328313946723938, 0.12652765214443207, -0.07852549850940704, 0.4872797429561615, 0.2877316474914551, 0.0764864832162857, 0.3284354507923126, -0.190455362200737, -0.24448342621326447, -0.02886304445564747, -0.003830046858638525, -0.4194244146347046, 0.0046251374296844006, -0.08440717309713364, 0.3247516453266144, 0.4326595067977905, -0.4505457282066345, 0.40205082297325134, -0.5517461895942688, 0.3341227173805237, 0.2549509108066559, -0.18147213757038116, 0.9470690488815308, -0.1705167293548584, 0.2987770438194275, -0.4176371395587921, 0.618227481842041, -0.0632273480296135, -0.4533293545246124, -0.12264644354581833, -0.42672374844551086, -0.23781083524227142, 0.3420118987560272, -0.8823212385177612, 0.3132721781730652, 0.006208521779626608, -0.4180350601673126, 0.05769576504826546, 0.3656538426876068, 0.14793865382671356, 0.41709405183792114, 0.30603939294815063, -0.17143023014068604, -0.03574218973517418, -1.0339823961257935, -0.3049227297306061, -0.2860524654388428, -0.6161879301071167, 0.08409067988395691, 0.5152808427810669, 0.30851319432258606, 1.0390312671661377, -0.521243691444397, -0.14669182896614075, -0.239792138338089, 0.20788240432739258, 0.3704322576522827, 0.4701255261898041, 0.40357375144958496, -1.16372811794281, 0.07654303312301636, 0.3239027261734009, -0.7463878393173218, 0.2896985113620758, -0.3470379114151001, -0.20270031690597534, -0.21712836623191833, 0.0877460390329361, -1.2074238061904907, 0.25601932406425476, 0.4016614258289337, -0.41796875, 0.6326143145561218, -0.3136058747768402, 0.11441885679960251, -0.7344191670417786, 0.29244425892829895, 0.4113721251487732, -0.01886902004480362, -0.5699238777160645, 0.3297745883464813, 0.20955458283424377, -0.1283315271139145, -0.9078391790390015, 0.5765728950500488, -0.487210214138031, -0.2945835590362549, -0.3338164985179901, 0.16652587056159973, 0.15426278114318848, 0.5427631735801697, 0.36267054080963135, 0.3488636612892151, 0.40329450368881226, -0.7555702924728394, 0.5284724235534668, -0.05819473788142204, -0.1771809458732605, 0.6608058214187622, -0.8149669170379639, -0.14406052231788635, 0.05547880008816719, 0.05830955505371094, -0.7054247260093689, -0.6149412989616394, 0.621053159236908, -0.5188196897506714, 0.030811075121164322, -0.4614908695220947, -0.7077751159667969, -0.5470696687698364, -0.15528294444084167, 0.33537593483924866, 0.16914398968219757, -0.5042469501495361, 1.1869550943374634, 0.3298965096473694, 0.07628455758094788, -0.5861423015594482, -0.4612622857093811, -0.046557266265153885, -0.27721163630485535, -0.5686233043670654, 0.012888096272945404, -0.1600244790315628, -0.2840033173561096, -0.18990018963813782, -0.28039079904556274, -0.27817681431770325, 0.13130629062652588, 0.20161551237106323, 0.014358355663716793, 0.5092196464538574, 0.14573125541210175, 0.24261625111103058, 0.055534977465867996, 0.057751864194869995, -0.3726215660572052, 0.6625399589538574, -0.12811343371868134, -0.8716723322868347, -0.6001762747764587, -0.11604627966880798, 0.6598681211471558, -0.13600881397724152, 0.27059587836265564, 0.4679138660430908, -0.5065138936042786, -0.0002077534154523164, -0.16627275943756104, -0.3408714234828949, -0.5292553901672363, 0.5020166039466858, -0.7480301856994629, -0.38474059104919434, 0.17737825214862823, -0.15368834137916565, 0.24195349216461182, 0.05477520823478699, 0.48641085624694824, -0.2940443158149719, 1.2400422096252441, 0.41855013370513916, 0.1399698406457901, 0.4934885501861572, -0.4546247720718384, -0.08877355605363846, -0.6877367496490479, -0.5965138673782349, -0.2786993682384491, -0.44116324186325073, 0.0791817307472229, -0.701143205165863, 0.3510949909687042, 0.2920234501361847, -0.2596169114112854, 0.5995416641235352, -0.4113691747188568, 0.4699007272720337, 0.4517706036567688, 0.42841553688049316, 0.20672546327114105, 0.06742776185274124, -0.03634268790483475, 0.0468062162399292, -0.557807981967926, -0.47177061438560486, 0.7539030909538269, 0.31705039739608765, 0.6468670964241028, 0.03766332194209099, 0.1277594268321991, 0.1891847550868988, -0.18051917850971222, -1.0531859397888184, 0.601722002029419, 0.018041450530290604, -0.4825287461280823, -0.22206537425518036, -0.46255403757095337, -1.3166260719299316, 0.6792149543762207, -0.2526308000087738, -0.6396465301513672, -0.06414107233285904, 0.35648512840270996, -0.30810484290122986, 0.7094321250915527, -0.8299482464790344, 0.8739110827445984, -0.5669069886207581, -0.5746638178825378, -0.7066117525100708, -0.6787678599357605, 0.39314332604408264, 0.48624005913734436, 0.20112106204032898, -0.09574781358242035, -0.3808175027370453, 0.29418081045150757, -0.20355047285556793, 0.8415494561195374, -0.3474736511707306, -0.3755818009376526, 0.18945994973182678, 0.4264813959598541, 0.21485619246959686, 0.14442260563373566, 0.15428125858306885, 0.1733478158712387, -0.149814635515213, -0.6517990827560425, -0.9831279516220093, 0.3389221429824829, -0.7379530668258667, -0.41853833198547363, -0.2488129436969757, -0.9485980272293091, -0.2980782091617584, 0.20116333663463593, -0.13114438951015472, 0.38801711797714233, 0.20943371951580048, -0.0297258161008358, 0.5743399858474731, -0.12887117266654968, 0.21666236221790314, 0.23751261830329895, -0.33821606636047363, -0.1736178696155548, 0.8728703856468201, -0.27019792795181274, 0.4665434658527374, 0.7021097540855408, 0.3985234797000885, -0.5039440989494324, -0.5839090943336487, -0.44714856147766113, 0.35971492528915405, -0.4545360207557678, -0.012856733053922653, -0.646711528301239, 0.2315521538257599, -0.1407809555530548, -0.35109907388687134, -0.350580096244812, -0.6093308329582214, -0.017935650423169136, -0.039449937641620636, 0.26014113426208496, 0.7083790302276611, -0.27558863162994385, 0.4432685375213623, -0.6533826589584351, 0.7395163178443909, 0.4586382806301117, 0.3061075508594513, -0.25357940793037415, -0.448220431804657, -0.14912164211273193, 0.3603802025318146, -0.2021884024143219, -0.6009333729743958, 0.30901744961738586, 0.0690009817481041, 0.6186228394508362, 0.5156790614128113, -0.12921014428138733, 0.4633674621582031, -0.02235548198223114, 0.7368538975715637, 0.6145774126052856, -0.7684940099716187, 0.6527632474899292, -0.6866050958633423, 0.4886589050292969, 0.0873858854174614, 0.6051303744316101, -0.46810948848724365, -0.2916814088821411, -0.5000273585319519, -0.6197676062583923, 0.4150868356227875, -0.08898754417896271, 0.16861221194267273, 0.2422657459974289, 0.20757532119750977, 0.2917426526546478, 0.3130996823310852, -0.5073273777961731, 0.31793412566185, -0.33110859990119934, -0.20029501616954803, 0.06451313197612762, 0.29365435242652893, -0.23784025013446808, -0.2125571370124817, 0.1063656136393547, -0.3976571559906006, -0.14235445857048035, -0.0756431370973587, -0.33397525548934937, 0.18834327161312103, -0.1138615757226944, 0.5236629843711853, 0.8430110216140747, -0.07691441476345062, 0.27715641260147095, 0.09044608473777771, -0.569533109664917, -0.24246665835380554, 0.018077416345477104, 0.16019992530345917, -0.3141975402832031, 0.3552462160587311, 0.3014167249202728, 0.17281094193458557, -0.8142521977424622, 0.374836802482605, 0.42278391122817993, -0.42117705941200256, 0.022550901398062706, 0.011818645521998405, -0.14878614246845245, 0.29093536734580994, 0.47267141938209534, 0.31215834617614746, 0.29435741901397705, -0.34632936120033264, 0.17729593813419342, 0.5331768989562988, 0.027105288580060005, -0.7030268311500549, 0.5091780424118042, 0.14398644864559174, 0.04306480661034584, 0.4280320107936859, -0.1138186901807785, -0.4762488901615143, 0.530005693435669, 0.08798683434724808, 0.4755208194255829, -0.1365382969379425, 0.35343533754348755, 0.6105757355690002, 0.3209775984287262, -0.2202974110841751, 0.07502395659685135, -0.3305223882198334, -0.8660072088241577, -0.5592465996742249, -0.22980734705924988, -0.513187050819397, -0.17384439706802368, -0.36481231451034546, 0.25303977727890015, -0.7717041969299316, -0.16113589704036713, -0.3527020812034607, -0.07937312871217728, -0.43079686164855957, 0.07894598692655563, 0.11563756316900253, 0.732903242111206, -0.8043026924133301, 0.7919594645500183, 1.0995063781738281, -0.573418915271759, -0.4932688772678375, -0.16939422488212585, 0.11512648314237595, -0.7609015107154846, 0.6067931652069092, -0.14021232724189758, -0.408006489276886, -0.4194464385509491, -0.8147187232971191, -0.6701251268386841, 0.8744766712188721, 0.41178399324417114, -0.4213120639324188, -0.045574549585580826, 0.15198929607868195, 0.20065028965473175, 0.24687430262565613, 0.27960485219955444, 0.19246092438697815, 0.5390210151672363, 0.2852742373943329, -1.24917733669281, -0.40672701597213745, -0.2860967218875885, -0.31224530935287476, 0.4826902747154236, -0.7096695303916931, 0.7856137156486511, -0.36034199595451355, -0.10150448232889175, 0.061066608875989914, 0.6141660213470459, 0.6377640962600708, 0.3505375385284424, 0.7385324239730835, 0.6707623600959778, 0.6476672291755676, 0.07764951139688492, 1.1649138927459717, 0.026142489165067673, 0.18588249385356903, 0.9000154137611389, -0.3649178445339203, 0.7457583546638489, 0.5751385688781738, -0.1614285409450531, 0.2717732787132263, 0.2547881007194519, 0.12628571689128876, 0.35357892513275146, 0.0808355063199997, -0.20408280193805695, -0.5513380169868469, -0.16527453064918518, -0.07514884322881699, 0.5216883420944214, 0.5293523073196411, 0.2638915479183197, -0.28921371698379517, 0.553320050239563, 0.013104237616062164, 0.41271862387657166, -0.49639683961868286, 0.3698784112930298, -0.05186775326728821, -0.5381518006324768, 0.19549989700317383, -0.21254627406597137, 0.8761981725692749, -0.8474618792533875, -0.04824250563979149, 0.13849033415317535, 0.31281131505966187, -0.20076951384544373, -1.4093782901763916, 0.174577534198761, -0.42863839864730835, -0.03789859265089035, -0.3633905053138733, 0.8977879285812378, -0.2727033197879791, 0.02052765153348446, 0.26860421895980835, 0.3980405330657959, 0.16508443653583527, -0.24825799465179443, -0.7773672938346863, -0.014466734603047371, -0.49158260226249695, -0.04446719214320183, 0.5290579795837402, 0.5074270367622375, 0.002499842317774892, 1.1850996017456055, 0.6110390424728394, 0.08822862058877945, -0.09258486330509186, 0.013628369197249413, 0.6910257935523987, -0.4783942699432373, -0.3103652894496918, -0.4446178674697876, 0.582460880279541, -0.09188663214445114, -0.3762252926826477, 0.8166730999946594, 0.5737363696098328, 1.094853401184082, -0.180116206407547, 0.4801119267940521, -0.3140391707420349, 0.1882697492837906, -0.70684415102005, 0.3990864157676697, -0.706730306148529, -0.35319963097572327, -0.28091150522232056, -0.6448453068733215, -0.4878607392311096, 0.8031224608421326, -0.5859088897705078, 0.21349452435970306, 0.4772696793079376, 0.5514042973518372, -0.4560057818889618, -0.28052207827568054, 0.5559048652648926, -0.044580332934856415, 0.24734064936637878, 0.9221783876419067, 1.166793704032898, -0.05875692889094353, 0.628001868724823, -0.4055069386959076, -0.1784200668334961, -0.007717487867921591, -0.7717067003250122, -0.7760008573532104, -0.527740478515625, -0.2254256010055542, -0.10478650778532028, -0.11679629236459732, 0.9275132417678833, 0.9785475730895996, -0.43488001823425293, -0.49913546442985535, 0.029139691963791847, 0.14711838960647583, -0.3759273290634155, -0.17395150661468506, 0.08202983438968658, -0.20801417529582977, -0.9777296781539917, 0.41490691900253296, 0.2829590439796448, -0.06911656260490417, -0.08390185981988907, -0.22163504362106323, -0.33025601506233215, -0.5721703767776489, 0.8970364928245544, 0.7430954575538635, -0.7366379499435425, -0.2087118774652481, 0.10098955780267715, -0.002023731591179967, -0.14445483684539795, 0.9904762506484985, -0.864612877368927, 0.5910130739212036, 0.5517260432243347, 0.4489670395851135, 0.3970091640949249, 0.10833097994327545, 0.6593461632728577, -0.45751553773880005, 0.5077934265136719, 0.20511727035045624, 0.6284911036491394, 0.29492610692977905, -0.11714361608028412, 0.4116238057613373, 0.28329527378082275, -0.3119024336338043, -0.28660884499549866, 0.5580074787139893, -1.0882539749145508, -0.5981938242912292, 1.0927387475967407, 0.14048640429973602, -0.3629004955291748, -0.33046501874923706, -0.42447352409362793, 0.125226229429245, -0.33857330679893494, 0.5774322748184204, 0.30642154812812805, -0.11241944879293442, -0.40028175711631775, -0.4367585778236389, 0.11417076736688614, 0.5640257000923157, -0.6710605621337891, 0.11876130104064941, 0.7655284404754639, 0.14187709987163544, 0.24374282360076904, 0.15013034641742706, -0.07195226103067398, 0.6033482551574707, -0.18906180560588837, 0.4039502739906311, -0.2548304796218872, -0.6513311862945557, -0.2670527398586273, 0.40437081456184387, 0.10330985486507416, -0.2657356858253479 ]
http://arxiv.org/abs/2402.16835v1
http://arxiv.org/pdf/2402.16835v1
Eight Methods to Evaluate Robust Unlearning in LLMs
2024-02-26T18:57:37
2024-02-26T18:57:37
Aengus Lynch, Phillip Guo, Aidan Ewart, Stephen Casper, Dylan Hadfield-Menell
cs.CL
cs.CL
Machine unlearning can be useful for removing harmful capabilities and memorized text from large language models (LLMs), but there are not yet standardized methods for rigorously evaluating it. In this paper, we first survey techniques and limitations of existing unlearning evaluations. Second, we apply a comprehensive set of tests for the robustness and competitiveness of unlearning in the "Who's Harry Potter" (WHP) model from Eldan and Russinovich (2023). While WHP's unlearning generalizes well when evaluated with the "Familiarity" metric from Eldan and Russinovich, we find i) higher-than-baseline amounts of knowledge can reliably be extracted, ii) WHP performs on par with the original model on Harry Potter Q&A tasks, iii) it represents latent knowledge comparably to the original model, and iv) there is collateral unlearning in related domains. Overall, our results highlight the importance of comprehensive unlearning evaluation that avoids ad-hoc metrics.
[ -0.11004672944545746, -0.6974570155143738, 0.2792058289051056, -0.17913858592510223, -0.22778980433940887, 0.45549657940864563, -0.5903138518333435, -0.24876587092876434, -0.4841272532939911, 0.38724255561828613, -0.42043277621269226, -0.3538113832473755, -0.5507822036743164, -0.03859651833772659, -0.3264053761959076, 0.9550893902778625, 0.04561774060130119, 0.13439060747623444, -0.5370371341705322, -0.0728333368897438, -0.265560120344162, -0.2765848636627197, -0.18534721434116364, -0.8247795701026917, 0.40479761362075806, 0.5157002806663513, 0.5924978256225586, 0.7881443500518799, 0.7466093897819519, 0.3875909447669983, -0.47581055760383606, 0.2533377707004547, -0.7110504508018494, 0.36863958835601807, -0.28723809123039246, -0.25243133306503296, -0.3072272837162018, -0.04019736126065254, 0.5396193861961365, 1.1847238540649414, -0.37542974948883057, 0.2538052499294281, 0.6880613565444946, 0.6370148658752441, -0.8027328252792358, 0.10671637207269669, -0.8139374852180481, -0.03770672529935837, -0.0821407213807106, -0.08319991827011108, -0.38993290066719055, -0.07876774668693542, 0.2724018692970276, -0.5830642580986023, 0.03693912550806999, -0.12619945406913757, 0.751176655292511, 0.20472733676433563, -0.5592138171195984, -0.30373701453208923, -0.7987257242202759, 1.2850239276885986, -0.4998169243335724, 0.5567426085472107, 0.6199546456336975, 0.31739258766174316, -0.2957369089126587, -0.835487961769104, -0.23785080015659332, -0.35981833934783936, 0.26949211955070496, 0.31286177039146423, -0.24859124422073364, -0.0026139328256249428, 0.27369439601898193, 0.4758101999759674, -0.3696523904800415, 0.39377886056900024, -0.5458757877349854, -0.16925613582134247, 0.46784189343452454, 0.04763107746839523, 0.26173749566078186, 0.0007585658458992839, -0.5162649154663086, -0.09966151416301727, -0.4946311116218567, 0.20132553577423096, 0.40185579657554626, 0.05355214327573776, 0.23319290578365326, 0.6210705637931824, -0.16746503114700317, 0.28124716877937317, -0.15961603820323944, -0.6590783596038818, 0.32352423667907715, -0.033076316118240356, -0.13991928100585938, -0.5424551963806152, 0.6793913841247559, 0.5654030442237854, 0.6891819834709167, -0.781078040599823, -0.41417112946510315, -0.03621215000748634, 0.3042259216308594, -0.5708484053611755, -0.14318203926086426, 0.07053744047880173, -0.7924531102180481, -0.1608562022447586, -0.01684618927538395, -0.9194276928901672, -0.5144280791282654, -0.18581414222717285, 0.36515671014785767, -0.5002648830413818, -0.25209805369377136, -0.22769661247730255, -0.46570393443107605, 0.29065755009651184, 0.2527124881744385, -0.8289220929145813, 0.1348128765821457, 0.5052995085716248, 0.46666911244392395, -0.79664546251297, -0.6152122020721436, -0.20812897384166718, 0.00827592983841896, -0.3509778082370758, 0.7760468125343323, -0.3599894046783447, -0.4956468939781189, 0.16181188821792603, -0.022597430273890495, -0.008049998432397842, -1.0675092935562134, 0.4669255018234253, -0.566875696182251, 0.13297444581985474, -0.3638491928577423, -0.7424412965774536, -0.22640007734298706, 0.24140118062496185, -0.4537872076034546, 0.8761004209518433, 0.08231593668460846, -0.7209372520446777, 0.526648223400116, -0.13928966224193573, -0.30380409955978394, -0.09007379412651062, 0.2514127492904663, -0.46188366413116455, 0.08542608469724655, -0.02710292860865593, 0.5143272876739502, -0.24913012981414795, 0.32186540961265564, -0.6122115850448608, -0.5089318752288818, 0.24898084998130798, -0.7666078805923462, 0.9775729775428772, 0.3874273896217346, -0.2753395736217499, -0.08349040150642395, -0.8429532051086426, 0.11778418719768524, 0.15590590238571167, -0.584879994392395, -0.3000129759311676, -0.10663843899965286, -0.31757915019989014, -0.11087208986282349, 0.40739014744758606, -0.45277854800224304, -0.011349795386195183, -0.28268545866012573, 0.08251486718654633, 0.6024401187896729, 0.20631729066371918, 0.5352147817611694, -0.6821419596672058, 0.517877995967865, -0.19723886251449585, 0.23488453030586243, -0.13144135475158691, -0.3467648923397064, -0.7593858242034912, -0.24533061683177948, 0.08398768305778503, 0.6433343291282654, -0.7150732278823853, 0.4571465849876404, 0.008898177184164524, -0.734016478061676, -0.18397673964500427, 0.6609638929367065, 0.7524667382240295, 0.625925600528717, 0.3167053461074829, -0.15602529048919678, -0.37801700830459595, -0.5255709886550903, -0.47289958596229553, -0.3316502273082733, -0.14169469475746155, -0.2239333838224411, 0.43332818150520325, -0.31864285469055176, 0.5254526138305664, 0.010277030058205128, 0.03554559126496315, -0.24314211308956146, 0.07948745042085648, -0.015031223185360432, 0.18999500572681427, -0.14533942937850952, -0.2931419312953949, -0.33476173877716064, 0.18841783702373505, -1.1306071281433105, -0.0015530353412032127, 0.13430669903755188, 0.2588474750518799, 0.039284270256757736, 0.6195654273033142, -0.3653428256511688, 0.4551008641719818, 0.21480202674865723, 0.08359505236148834, 0.6047698259353638, -0.42469456791877747, 0.17701011896133423, -0.7765661478042603, 0.1088336706161499, -0.2087477445602417, -0.08510065078735352, -0.6599218845367432, 0.27263641357421875, -0.051265325397253036, 0.25907182693481445, -0.5666550993919373, 0.4635859429836273, -0.8669331073760986, -0.012194103561341763, -0.39530229568481445, 0.3173602819442749, 0.038732483983039856, 0.5013731718063354, -0.21744175255298615, 0.6973639130592346, 0.35428306460380554, -0.5915192365646362, 0.328008770942688, 0.07415923476219177, -0.5166724324226379, 0.15244095027446747, -0.555548906326294, 0.12077578902244568, -0.16224822402000427, -0.376930832862854, -1.1590914726257324, 0.1656910479068756, -0.29991406202316284, -0.3568858206272125, 0.35736700892448425, 0.05670011416077614, -0.42122501134872437, -0.22757533192634583, -0.5357644557952881, 0.14749577641487122, 0.9903550148010254, -0.6511067152023315, 0.37201523780822754, 0.5843165516853333, 0.07836411893367767, -0.9493768215179443, -0.468212366104126, -0.28399646282196045, -0.5561057329177856, -0.3174307346343994, 0.12585952877998352, 0.03325486555695534, -0.5852319002151489, -0.21693314611911774, -0.25024938583374023, -0.2544543147087097, 0.25275859236717224, 0.3168518841266632, 0.16068297624588013, 0.1174507886171341, -0.0430995412170887, -0.07141146063804626, -0.12249965220689774, 0.08082947134971619, 0.28850793838500977, 0.27910616993904114, -0.013714645057916641, -0.3977926969528198, -0.21326944231987, 0.008023937232792377, 0.6085004210472107, -0.1374390423297882, 0.5411705374717712, 0.7086750864982605, -0.5716431736946106, -0.4348015785217285, -0.5680363178253174, -0.2622288763523102, -0.5156984925270081, 0.5876045227050781, 0.08192169666290283, -0.8198125958442688, 0.7973613142967224, -0.4897991716861725, 0.24846626818180084, 0.2564392387866974, 0.7008945941925049, -0.32173386216163635, 0.8400662541389465, 0.781800389289856, 0.19784891605377197, 0.2672428488731384, -0.2457272857427597, 0.32061031460762024, -0.7255498766899109, -0.6348204612731934, -0.5118631720542908, -0.0126563161611557, -0.5978655219078064, -0.12036991119384766, 0.26789408922195435, 0.7230674028396606, -0.35609170794487, 0.23788246512413025, -0.1702277958393097, 0.6893430352210999, 0.5143318176269531, -0.032393794506788254, 0.6966844797134399, 0.23436568677425385, -0.5472985506057739, -0.15347173810005188, -0.4866006672382355, -0.7853303551673889, 1.324533462524414, 0.4638984799385071, 0.8586801886558533, 0.11036276072263718, 0.4821396768093109, 0.17467844486236572, 0.3892420828342438, -0.7081212401390076, 0.5122150182723999, -0.19749881327152252, -0.3851599395275116, -0.46482813358306885, -0.49203163385391235, -1.204874873161316, 0.20451237261295319, -0.2926134467124939, -1.0144648551940918, -0.04890255630016327, -0.059993524104356766, -0.2776913642883301, 0.5115445256233215, -0.7386582493782043, 0.603166937828064, 0.006928315386176109, -0.26104989647865295, -0.05438340827822685, -0.38627752661705017, 0.5281094312667847, -0.3637358546257019, 0.03671790286898613, -0.040335338562726974, -0.09358807653188705, 1.0130665302276611, -0.23093436658382416, 0.7184176445007324, 0.015670286491513252, -0.08048815280199051, 0.37824031710624695, 0.11870337277650833, 0.27125734090805054, -0.3031633794307709, -0.03771883249282837, 0.24169708788394928, 0.1895035207271576, -0.0896432027220726, -0.65595942735672, 0.4900646507740021, -0.8522500395774841, -0.4683879613876343, -0.25413745641708374, -0.5430846810340881, -0.5103172659873962, 0.3540191352367401, 0.5211556553840637, 0.08497844636440277, -0.3542798161506653, 0.2781505882740021, 0.7644661664962769, -0.3316510021686554, 0.736888587474823, 0.5551252961158752, -0.34631192684173584, -0.38680359721183777, 0.9166781902313232, 0.13741271197795868, 0.20819564163684845, 0.27410486340522766, 0.341856986284256, -0.5364746451377869, -0.7041414380073547, -0.008735837414860725, 0.30605989694595337, -1.008200764656067, -0.3001807928085327, -0.3983105719089508, -0.20711389183998108, -0.3683149516582489, -0.017563166096806526, -0.39866188168525696, -0.14855919778347015, -0.22286619246006012, -0.13399498164653778, 0.005274351220577955, 1.0295097827911377, -0.09866822510957718, 0.38718485832214355, -0.6972245573997498, 0.042793720960617065, 0.4940963387489319, 0.16755028069019318, 0.4150315523147583, -0.8899440169334412, -0.23014400899410248, -0.18948298692703247, -0.5994395017623901, -0.7555668354034424, 0.379917174577713, 0.009866375476121902, 0.8934313058853149, 0.8622673749923706, 0.18636390566825867, 0.6786808967590332, -0.383664071559906, 0.5837495923042297, 0.18330328166484833, -0.7394468188285828, 0.0216162521392107, -0.5111629366874695, 0.016178788617253304, 0.6851454377174377, 0.4894215166568756, -0.30619779229164124, -0.31328603625297546, -0.5427796840667725, -0.6676684617996216, 0.21472832560539246, -0.15953902900218964, -0.016446048393845558, 0.07458315789699554, 0.4432743489742279, 0.1505502611398697, 0.2589685618877411, -0.5407366156578064, -0.30678799748420715, 0.2869873642921448, 0.029308198019862175, -0.04307765141129494, -0.41842254996299744, 0.04976530000567436, -0.35034751892089844, 0.5276329517364502, 0.17067734897136688, 0.031958699226379395, -0.25684598088264465, -0.24590995907783508, -0.22230279445648193, 0.23996426165103912, 0.16147881746292114, 1.044389009475708, -0.2807265818119049, 0.13043946027755737, 0.5000059604644775, -0.5055169463157654, 0.04467158764600754, -0.3907594382762909, 0.0010106643894687295, -0.2959734797477722, 0.8939275145530701, 0.20671457052230835, 0.048528656363487244, -0.8974480628967285, 0.6841133832931519, 0.11077861487865448, -0.1872854232788086, -0.27366727590560913, 0.08399073779582977, 0.006829029880464077, 0.18814539909362793, 0.16519470512866974, -0.143421471118927, 0.11291445791721344, -0.6573266386985779, 0.5505200028419495, 0.5674211978912354, -0.4959721267223358, -0.14301371574401855, 0.43472960591316223, -0.12915289402008057, -0.1200573518872261, 0.6680735349655151, -0.28477874398231506, -0.35949912667274475, 0.4300868511199951, 0.6129125356674194, 0.543452262878418, -0.4726589322090149, 0.12023074179887772, 0.169295072555542, 0.5152508020401001, -0.30746978521347046, 0.12710502743721008, -0.021417291834950447, -0.6399273872375488, -0.48491171002388, -0.4382174015045166, -0.4566948115825653, 0.3281141519546509, -0.9774549007415771, 0.15324199199676514, -0.48699110746383667, -0.04816509038209915, -0.2220960557460785, 0.2566626965999603, -0.5454266667366028, 0.029299309477210045, -0.2569207549095154, 0.6810389161109924, -0.7973734140396118, 0.7380933165550232, 0.5841720700263977, -0.21857693791389465, -0.7332931756973267, 0.08372616022825241, 0.22077195346355438, -1.075873851776123, 0.3119208514690399, 0.049317967146635056, -0.027674248442053795, -0.31636008620262146, -0.19946269690990448, -0.6349446177482605, 1.1120070219039917, 0.43594983220100403, -0.574224591255188, 0.11566650122404099, -0.048549920320510864, 0.5507000684738159, 0.06419576704502106, 0.5800299644470215, 0.6559353470802307, 0.23188172280788422, 0.06475961208343506, -0.9363418817520142, -0.24436195194721222, -0.2703603506088257, -0.19858968257904053, -0.09657648205757141, -0.45877113938331604, 0.7887995839118958, -0.4615023732185364, -0.28101250529289246, 0.2851034998893738, 0.5955755114555359, 0.23418009281158447, 0.419222891330719, 0.5299343466758728, 0.5552579164505005, 1.103560209274292, 0.03344648703932762, 0.5882917642593384, -0.07277090102434158, 0.4911808371543884, 0.8106561303138733, -0.2615950107574463, 0.8951499462127686, 0.3267691731452942, -0.16431206464767456, 0.2601434886455536, 0.46626734733581543, 0.01878977194428444, 0.6047190427780151, 0.35409626364707947, -0.1455555409193039, -0.4394676089286804, -0.11794040352106094, -0.17115336656570435, 0.6797829866409302, 0.06281064450740814, -0.06877996772527695, -0.5041556358337402, 0.15614382922649384, 0.405241996049881, 0.31244951486587524, -0.21545995771884918, 0.9148083925247192, 0.17736512422561646, -0.7486573457717896, 0.627601146697998, 0.13986210525035858, 0.7567319869995117, -0.4637347161769867, -0.10204537212848663, -0.44286489486694336, 0.4531983435153961, -0.15548250079154968, -0.534637987613678, 0.22861914336681366, 0.21096038818359375, -0.07563658058643341, -0.14605456590652466, 0.881389856338501, -0.478148877620697, -0.2669079303741455, 0.6105955839157104, 1.0286507606506348, 0.3321421146392822, 0.1405603587627411, -0.61688232421875, -0.14327429234981537, 0.020502224564552307, -0.22429344058036804, 0.6389603614807129, 0.5566943287849426, -0.030062053352594376, 1.0075944662094116, 0.5867013931274414, 0.027229398488998413, -0.045510563999414444, 0.15442751348018646, 0.7956911325454712, -0.4604443311691284, 0.07955595850944519, -0.9051182866096497, 0.31945809721946716, 0.14025676250457764, -0.38731062412261963, 1.2109571695327759, 0.3253902494907379, 0.8064936399459839, 0.27717551589012146, 0.609697699546814, 0.6568308472633362, 0.5562456846237183, -0.465599924325943, 0.7899317145347595, -0.6388581395149231, 0.4941765367984772, -0.3776448667049408, -1.030079960823059, -0.22528193891048431, 0.501618504524231, -0.008903424255549908, 0.5181595087051392, 0.9058807492256165, 0.6117585301399231, 0.10004077851772308, -0.055164411664009094, 0.8338218331336975, -0.010344095528125763, 0.06746350973844528, 0.3505520820617676, 1.2086381912231445, -0.18279896676540375, 0.6753319501876831, -0.4355098307132721, -0.4951338768005371, 0.2692336440086365, -0.9167047739028931, -1.3160691261291504, -0.5806381106376648, -0.2530197501182556, -0.5202659368515015, 0.06129273772239685, 0.5944355726242065, 0.38603028655052185, -0.6837639808654785, -0.36932629346847534, 0.33479782938957214, 0.3112475275993347, -0.3023328185081482, -0.12852643430233002, 0.38818973302841187, -0.5274114012718201, -0.5420894026756287, 0.5209475755691528, 0.19826407730579376, 0.04067257046699524, -0.41291502118110657, -0.10314540565013885, 0.27289852499961853, -0.13897168636322021, 0.41746458411216736, 0.29377487301826477, -0.5527714490890503, 0.047295231372117996, 0.21426977217197418, 0.11993411183357239, -0.19392240047454834, 0.7495306730270386, -0.47012558579444885, 0.2814428508281708, 0.5246790051460266, 0.6475834250450134, -0.02425282821059227, 0.03325214609503746, 0.2593928277492523, -0.5303682088851929, -0.22391414642333984, 0.002520441310480237, 0.510794997215271, 0.3012673556804657, -0.07321012020111084, 0.2801992893218994, 0.3175670802593231, -0.9042862057685852, -0.9919370412826538, -0.17859527468681335, -0.667879045009613, -0.3887878656387329, 1.4064443111419678, -0.4370429515838623, -0.3210639953613281, -0.6513185501098633, 0.40515434741973877, 0.34000059962272644, -0.14294038712978363, 0.7474140524864197, 0.655659019947052, 0.08374742418527603, -0.012651368975639343, -0.5280038118362427, 0.4007919132709503, 0.37247326970100403, -0.6211503148078918, 0.2943534553050995, 0.13437116146087646, 0.4585648775100708, 0.11598360538482666, 0.5433593392372131, -0.2943798303604126, 0.06543491780757904, -0.08593727648258209, 0.03768502175807953, -0.1441701352596283, -0.7115120887756348, -0.4471679627895355, 0.09657322615385056, 0.3474361002445221, -0.06774596869945526 ]
http://arxiv.org/abs/2402.16832v1
http://arxiv.org/pdf/2402.16832v1
Mysterious Projections: Multimodal LLMs Gain Domain-Specific Visual Capabilities Without Richer Cross-Modal Projections
2024-02-26T18:56:48
2024-02-26T18:56:48
Gaurav Verma, Minje Choi, Kartik Sharma, Jamelle Watson-Daniels, Sejoon Oh, Srijan Kumar
cs.CL
cs.CL, cs.AI, cs.CV
Multimodal large language models (MLLMs) like LLaVA and GPT-4(V) enable general-purpose conversations about images with the language modality. As off-the-shelf MLLMs may have limited capabilities on images from domains like dermatology and agriculture, they must be fine-tuned to unlock domain-specific applications. The prevalent architecture of current open-source MLLMs comprises two major modules: an image-language (cross-modal) projection network and a large language model. It is desirable to understand the roles of these two modules in modeling domain-specific visual attributes to inform the design of future models and streamline the interpretability efforts on the current models. To this end, via experiments on 4 datasets and under 2 fine-tuning settings, we find that as the MLLM is fine-tuned, it indeed gains domain-specific visual capabilities, but the updates do not lead to the projection extracting relevant domain-specific visual attributes. Our results indicate that the domain-specific visual attributes are modeled by the LLM, even when only the projection is fine-tuned. Through this study, we offer a potential reinterpretation of the role of cross-modal projections in MLLM architectures. Projection webpage: https://claws-lab.github.io/projection-in-MLLMs/
[ -0.43301960825920105, -0.5821276307106018, 0.6498221755027771, 0.03312669321894646, -0.14589881896972656, 0.1343020796775818, -0.18270033597946167, -0.7815693616867065, 0.048922330141067505, 0.6250473260879517, -0.5055217742919922, -0.4721544086933136, -0.6249862909317017, -0.022389309480786324, -0.2646881341934204, 0.9467138051986694, -0.032225046306848526, 0.11875191330909729, -0.4035798907279968, -0.22431857883930206, -0.32057201862335205, -0.41895225644111633, -0.11253183335065842, -0.12525448203086853, 0.8761462569236755, 0.07222060114145279, 0.9677578210830688, 0.5935723185539246, 0.6551356911659241, 0.2710702419281006, 0.22330142557621002, 0.5075675845146179, -0.5047203898429871, 0.1483609676361084, -0.19519470632076263, -0.38552793860435486, -0.5485171675682068, 0.08225514739751816, 0.7058471441268921, 0.7630982398986816, 0.179373636841774, 0.14833799004554749, 0.22285200655460358, 0.5671874284744263, -0.5855683088302612, 0.3271264135837555, -0.7661231756210327, -0.010398602113127708, -0.21900592744350433, -0.500397801399231, -0.44061538577079773, 0.33967551589012146, 0.18133953213691711, -0.5001435875892639, 0.23071984946727753, 0.24021713435649872, 0.9518749713897705, 0.15208452939987183, -0.7533085346221924, -0.0952812135219574, -0.7766513228416443, 1.0585492849349976, -0.42353570461273193, 0.4610802233219147, 0.16668447852134705, 0.4338195323944092, -0.08088147640228271, -0.7557859420776367, -0.275092214345932, -0.32687175273895264, -0.10118058323860168, -0.09228957444429398, -0.3130463659763336, 0.12463034689426422, 0.1478690207004547, 0.1907753050327301, -0.5922914743423462, 0.13495901226997375, -0.3595845103263855, -0.302423357963562, 0.4349534213542938, 0.31772151589393616, 0.32243090867996216, -0.10546106845140457, -0.7365249395370483, 0.2247191071510315, -0.985399067401886, -0.13950592279434204, 0.17056867480278015, 0.2722378075122833, -0.15866386890411377, 0.7247323393821716, 0.06958863139152527, 0.9476831555366516, -0.18292050063610077, -0.26023200154304504, 0.1382523775100708, -0.3880048990249634, -0.4074527323246002, -0.5657558441162109, 0.49547144770622253, 0.45930635929107666, 0.292741060256958, -0.1361793875694275, -0.38007983565330505, 0.10949411988258362, 0.34176933765411377, -0.4255341589450836, -0.18939156830310822, -0.09432482719421387, -0.5891163945198059, -0.2613624036312103, -0.16407209634780884, -0.49129748344421387, -0.4275325536727905, -0.39914682507514954, 0.46493786573410034, -0.25738924741744995, -0.22977490723133087, -0.16862276196479797, -0.04209263250231743, 0.2389305680990219, 0.5619850754737854, -0.8640026450157166, -0.06741905957460403, 0.5187158584594727, 0.6258639693260193, -0.5477829575538635, -0.41091927886009216, -0.09844053536653519, 0.19982275366783142, -0.3760891556739807, 0.7211880087852478, -0.8922900557518005, -0.17126840353012085, 0.21847254037857056, 0.16280244290828705, -0.11616066098213196, -0.48899635672569275, 0.3205890655517578, -0.7057228088378906, 0.07868780940771103, -0.2833158075809479, -0.23773913085460663, -0.34539249539375305, 0.3905584514141083, -0.6842731237411499, 0.49154266715049744, 0.13534364104270935, -0.5011268258094788, 0.576347291469574, -0.4364638924598694, -0.010743343271315098, 0.061535581946372986, -0.49293288588523865, -0.20978637039661407, 0.36697953939437866, 0.16215939819812775, 0.6853128671646118, -0.4228733777999878, 0.15348467230796814, -0.3177807927131653, -0.01766038127243519, 0.48326265811920166, -0.6042272448539734, 0.41277259588241577, 0.24715660512447357, -0.1587071567773819, 0.4148878753185272, -0.6439040303230286, -0.008489023894071579, 0.08850125223398209, -0.30041712522506714, -0.3102680742740631, -0.026502516120672226, 0.1264934092760086, 0.25488731265068054, 0.32357022166252136, -0.2688163220882416, 0.29380443692207336, 0.026205183938145638, 0.24744658172130585, 0.8915755748748779, -0.25418952107429504, 0.5838043689727783, -0.3439776301383972, 0.6350196003913879, 0.17597217857837677, 0.3737388551235199, -0.38475361466407776, -0.8156679272651672, -0.7619200944900513, -0.5092422962188721, -0.0021967028733342886, 0.2150241732597351, -1.0605850219726562, -0.30787450075149536, -0.2293318510055542, -0.36066702008247375, -0.3358217477798462, 0.23749399185180664, 0.3741314113140106, 0.22431296110153198, 0.34731364250183105, -0.19626876711845398, -0.40485304594039917, -1.307661771774292, -0.22331023216247559, 0.11134463548660278, 0.18546363711357117, 0.5223410725593567, 0.4099181592464447, -0.32448938488960266, 0.6625736355781555, -0.3370235860347748, -0.49688300490379333, -0.31137749552726746, -0.12617342174053192, 0.0878969207406044, 0.22045567631721497, 0.8250163197517395, -1.063642978668213, -0.5142808556556702, 0.05266059562563896, -0.8298664093017578, -0.05359393358230591, -0.16847644746303558, 0.11535976082086563, 0.2121637612581253, 0.16705961525440216, -0.7261092662811279, 0.386820912361145, 1.0600146055221558, -0.35789263248443604, 0.6907389163970947, -0.23637400567531586, 0.07856010645627975, -0.6802751421928406, -0.1356949806213379, 0.06748931109905243, -0.37406492233276367, -0.7001063823699951, 0.3995235860347748, 0.09860461205244064, 0.02948571741580963, -0.5631389021873474, 0.392236590385437, -0.860805094242096, -0.3393175005912781, -0.26742348074913025, 0.05189419910311699, 0.22717195749282837, 0.5909183025360107, -0.15680259466171265, 0.7097610831260681, 0.898790717124939, -0.3723877966403961, 0.34550485014915466, 0.005275620147585869, -0.4709370732307434, 0.5280318260192871, -0.3056449890136719, -0.05793456360697746, -0.01149690616875887, 0.11641661822795868, -0.8401870727539062, -0.25040942430496216, 0.2743823826313019, -0.14667001366615295, 0.514860987663269, 0.0033322584349662066, -0.21085822582244873, -0.09640204906463623, -0.34867870807647705, 0.6588062047958374, 0.27748459577560425, -0.5200112462043762, 0.833206295967102, 0.4189285635948181, 0.15691745281219482, -0.5887387990951538, -0.7970346808433533, 0.26041239500045776, -0.12699978053569794, -0.6934196949005127, 0.36752039194107056, 0.04406579211354256, -0.2658579647541046, 0.1229868158698082, 0.12424051016569138, 0.0753093883395195, -0.12850086390972137, 0.5132491588592529, 0.49698320031166077, -0.40110647678375244, 0.038841862231492996, -0.1662169247865677, 0.08478684723377228, -0.09580133855342865, -0.21918955445289612, 0.2759908437728882, -0.12837658822536469, -0.7120396494865417, -0.1468137502670288, 0.404451459646225, 0.7824074625968933, -0.25494930148124695, 0.5851213335990906, 0.5536814332008362, -0.11392363160848618, -0.19227519631385803, -0.49371078610420227, 0.05839460343122482, -0.4964921772480011, 0.5560719966888428, -0.591356635093689, -0.9145449995994568, 0.3573032319545746, -0.14487405121326447, -0.0634239912033081, 0.4685748517513275, 0.80643230676651, -0.0991184413433075, 1.196413278579712, 0.8826665282249451, 0.3501069247722626, 0.49416282773017883, -0.28905898332595825, 0.025530142709612846, -1.1130573749542236, -0.4807698726654053, 0.000942061364185065, -0.46316879987716675, -0.552211582660675, -0.850945770740509, 0.41206759214401245, -0.27499672770500183, 0.17278189957141876, -0.018004082143306732, -0.35522857308387756, 0.31701183319091797, 0.5319213271141052, 0.04405013471841812, 0.324260413646698, 0.23139673471450806, -0.18551048636436462, -0.3079492151737213, -0.6205030083656311, -0.4794180989265442, 1.0803223848342896, 0.4121073782444, 0.9009350538253784, -0.001584748737514019, 0.18173587322235107, 0.4426954984664917, 0.2583532929420471, -0.7227588295936584, 0.6835287809371948, -0.3059302270412445, -0.585986852645874, -0.06512504816055298, -0.2097092717885971, -0.9173938035964966, 0.5072185397148132, -0.3692496418952942, -0.5907149314880371, 0.5275039672851562, 0.261859267950058, 0.017234614118933678, 0.5046715140342712, -0.5710809230804443, 0.7398782968521118, -0.3348706066608429, -0.44076359272003174, -0.37133657932281494, -0.503238320350647, 0.36276859045028687, -0.27849820256233215, 0.10340651869773865, -0.2749297022819519, -0.19277319312095642, 0.2406461089849472, 0.0006615153979510069, 1.1215791702270508, -0.14330221712589264, -0.3644590675830841, 0.15323707461357117, 0.2685200572013855, 0.395682156085968, -0.2520774304866791, 0.20347769558429718, 0.4471181035041809, -0.16025196015834808, -0.36163073778152466, -0.5819778442382812, 0.9576495289802551, -0.8162091374397278, -0.8702817559242249, -0.29456353187561035, -0.7937831878662109, -0.32873451709747314, 0.005104501266032457, 0.003846267005428672, 0.5381478071212769, -0.2090863287448883, 0.28408074378967285, 0.2712201774120331, -0.41557246446609497, 0.22162476181983948, 0.3282172679901123, -0.5833926200866699, -0.1380944401025772, 1.032477855682373, 0.01609736494719982, 0.6569317579269409, 0.47790223360061646, -0.08617253601551056, -0.009299004450440407, -0.6806129217147827, -0.464190274477005, 0.22299018502235413, -0.8589107394218445, -0.2604653239250183, -0.40542086958885193, -0.05975271761417389, -0.3012208342552185, -0.01667593978345394, -0.19846460223197937, -0.5429302453994751, -0.2839371860027313, 0.09906510263681412, -0.05249258130788803, 0.8407894968986511, -0.1261005848646164, 0.01179576013237238, -0.642414391040802, 0.4379722774028778, 0.44777071475982666, 0.11778479069471359, -0.13162176311016083, -0.5018295645713806, -0.43103891611099243, 0.2560081481933594, -0.3584737181663513, -0.6745754480361938, 0.5995346307754517, 0.487298846244812, 0.5749837160110474, 0.4779278337955475, -0.32291364669799805, 0.6129072904586792, -0.6247787475585938, 0.9497728943824768, 0.1963803470134735, -0.5415126085281372, 0.263401061296463, -0.2655241787433624, 0.2872999906539917, -0.19084958732128143, 0.30285194516181946, -0.1948232799768448, -0.5597250461578369, -0.12759527564048767, -0.6030057072639465, 0.4688301384449005, 0.06594472378492355, 0.3482292592525482, 0.19302907586097717, 0.06201149523258209, 0.35481974482536316, 0.1955113708972931, -0.7441047430038452, -0.2664160132408142, -0.2901211082935333, 0.07789690047502518, -0.13805852830410004, -0.6342145800590515, -0.4226887822151184, -0.09235963970422745, 0.30505186319351196, -0.2529922127723694, 0.27968084812164307, 0.04764464870095253, -0.2291756123304367, -0.1734924018383026, 0.2283712476491928, 0.8706989288330078, 0.8249540328979492, 0.00041049893479794264, 0.49000370502471924, -0.08442090451717377, -0.4027818739414215, -0.19601790606975555, -0.15853050351142883, -0.1319606751203537, -0.009099607355892658, 0.5806992650032043, 1.1490235328674316, 0.17089323699474335, -0.4754658043384552, 0.5357303619384766, 0.19067850708961487, -0.1131085753440857, -0.10534389317035675, -0.007581582758575678, -0.09833315759897232, 0.671028733253479, 0.6142609119415283, 0.507154107093811, 0.09717676043510437, -0.5998073220252991, -0.012102282606065273, 0.7822085022926331, -0.43014511466026306, -0.7162207961082458, 0.6901706457138062, 0.10710728168487549, -0.09968646615743637, 0.29937270283699036, 0.28014490008354187, -0.3354002833366394, 0.39306655526161194, 0.6343612670898438, 0.7221673727035522, -0.03894077241420746, 0.3271063566207886, -0.2090316265821457, 0.34272220730781555, 0.334137886762619, 0.06620532274246216, 0.06479396671056747, -0.9255238771438599, -0.48562952876091003, -0.6278844475746155, -0.2577924132347107, 0.0032206049654632807, -0.326150119304657, 0.12882862985134125, -0.21544644236564636, -0.3836939334869385, 0.06753586232662201, -0.5256797671318054, -0.9150538444519043, 0.1502600610256195, 0.4643125534057617, 0.7365688681602478, -0.6789512038230896, 1.1042547225952148, 0.7337656617164612, -0.2406291514635086, -0.556492805480957, -0.20127394795417786, 0.06559709459543228, -1.249138355255127, 1.0858912467956543, 0.023708419874310493, -0.2592203617095947, -0.15989379584789276, -0.6311729550361633, -0.8187456727027893, 1.0956698656082153, 0.6191790699958801, -0.47873905301094055, -0.3714122474193573, 0.5204148292541504, 0.5017110705375671, -0.6529456973075867, -0.15077322721481323, 0.04121014475822449, 0.5322930216789246, 0.04969959706068039, -1.071213722229004, 0.12456823885440826, -0.10024890303611755, 0.11136399209499359, 0.051213111728429794, -0.421446293592453, 0.9893943667411804, -0.5887883901596069, -0.23782488703727722, 0.12879468500614166, 0.5092567205429077, -0.018627889454364777, 0.13329316675662994, 0.4416270852088928, 0.2074633538722992, 0.2524448037147522, -0.10160436481237411, 1.2084170579910278, -0.3774150013923645, 0.29227063059806824, 0.8251153826713562, -0.1777830868959427, 0.671743631362915, 0.8453752398490906, -0.003596738912165165, 0.40358588099479675, 0.27037182450294495, -0.22873668372631073, 0.7357524633407593, -0.13894569873809814, -0.23053546249866486, -0.5137759447097778, -0.41999107599258423, -0.4783701002597809, 0.6468805074691772, 0.5029293894767761, -0.7052373886108398, -0.14901402592658997, 0.22333748638629913, -0.5117023587226868, -0.19319984316825867, -0.2915869653224945, 0.4019585847854614, 0.3746742308139801, -0.3208402991294861, 0.6243943572044373, -0.17226870357990265, 0.5311152935028076, -0.6576067209243774, -0.22466860711574554, -0.049626272171735764, 0.12461759150028229, -0.2919023633003235, -0.7915869951248169, 0.2505187392234802, -0.29968956112861633, -0.11201121658086777, -0.4650864899158478, 1.0170390605926514, -0.46188655495643616, -0.4040127992630005, 0.41634657979011536, 0.8294997215270996, 0.0706794485449791, -0.01901862770318985, -0.6512480974197388, 0.3064746856689453, -0.014740468934178352, -0.34702885150909424, 0.49201500415802, 0.650020182132721, -0.1565718948841095, 0.7963343858718872, 0.6225143671035767, 0.26974740624427795, 0.14705924689769745, 0.09864964336156845, 1.036132574081421, -0.5245459675788879, 0.114668108522892, -0.7778513431549072, 0.495540976524353, 0.17618483304977417, -0.03732285276055336, 0.8593857288360596, 0.44025367498397827, 0.7122797966003418, -0.44285258650779724, 0.543249785900116, 0.12068913877010345, 0.05605568736791611, -0.5848196148872375, 0.5105426907539368, -0.971733033657074, 0.32885345816612244, -0.10000207275152206, -0.9916128516197205, -0.5868754386901855, 0.26888948678970337, -0.2983367443084717, -0.03547195717692375, 0.6890653371810913, 0.9091485738754272, -0.08815384656190872, -0.5378770232200623, 0.9255656003952026, 0.32614243030548096, 0.357342392206192, 0.4163563847541809, 1.143162727355957, 0.03362466022372246, 0.5791425108909607, -0.00518896384164691, -0.09507907181978226, -0.23565298318862915, -0.8137819170951843, -0.8701077699661255, -0.7245872020721436, -0.09191367030143738, -0.048322226852178574, 0.05345853418111801, 0.613836944103241, 0.6847588419914246, -0.618751049041748, -0.07056305557489395, 0.3554838299751282, -0.02328239008784294, -0.017120664939284325, -0.20992374420166016, 0.25417038798332214, -0.15476258099079132, -0.6820669174194336, 0.36656585335731506, 0.7471346259117126, 0.0568670816719532, -0.7554124593734741, -0.008694141171872616, -0.04162121191620827, 0.010974305681884289, 0.8418923020362854, 0.0681077316403389, -1.118899941444397, -0.4827677607536316, 0.09771375358104706, -0.3317470848560333, 0.23054006695747375, 0.8838303089141846, -0.8019868731498718, 0.4986414313316345, 0.22489574551582336, 0.3654458820819855, 0.2776525616645813, -0.32110336422920227, 0.7337054014205933, -0.6299274563789368, 0.16772246360778809, -0.027153458446264267, 0.5788738131523132, 0.4841741919517517, -0.1349164843559265, 0.3325324058532715, 0.2488093376159668, -0.47690078616142273, -0.7528314590454102, 0.5530378222465515, -1.0707200765609741, -0.29107049107551575, 1.2140955924987793, -0.19667968153953552, -0.11600092798471451, -0.09360852092504501, -0.45961958169937134, -0.07993356138467789, -0.08969827741384506, 0.6709386706352234, 0.40809497237205505, -0.2372446060180664, -0.31329450011253357, -0.6057087182998657, 0.45729026198387146, 0.16803914308547974, -0.4992010295391083, -0.1254468560218811, 0.6503191590309143, 0.09818824380636215, 0.25752779841423035, 0.43306559324264526, -0.08122751116752625, -0.026472432538866997, -0.15412984788417816, -0.13076163828372955, -0.22224794328212738, -0.4659828543663025, -0.0926215872168541, 0.38623282313346863, 0.23241591453552246, -0.1699501872062683 ]
http://arxiv.org/abs/2402.16830v1
http://arxiv.org/pdf/2402.16830v1
SKILL: Similarity-aware Knowledge distILLation for Speech Self-Supervised Learning
2024-02-26T18:56:42
2024-02-26T18:56:42
Luca Zampierin, Ghouthi Boukli Hacene, Bac Nguyen, Mirco Ravanelli
eess.AS
eess.AS, cs.CL, cs.LG, cs.SD
Self-supervised learning (SSL) has achieved remarkable success across various speech-processing tasks. To enhance its efficiency, previous works often leverage the use of compression techniques. A notable recent attempt is DPHuBERT, which applies joint knowledge distillation (KD) and structured pruning to learn a significantly smaller SSL model. In this paper, we contribute to this research domain by introducing SKILL, a novel method that conducts distillation across groups of layers instead of distilling individual arbitrarily selected layers within the teacher network. The identification of the layers to distill is achieved through a hierarchical clustering procedure applied to layer similarity measures. Extensive experiments demonstrate that our distilled version of WavLM Base+ not only outperforms DPHuBERT but also achieves state-of-the-art results in the 30M parameters model class across several SUPERB tasks.
[ -0.2218886762857437, -0.6516812443733215, 0.3663652241230011, 0.2203192114830017, -0.3266533613204956, 0.28489169478416443, -0.1697874665260315, -0.061964280903339386, 0.041285544633865356, 0.20526322722434998, -0.502629280090332, -0.5559859871864319, -0.7488839626312256, -0.14338718354701996, -0.5025273561477661, 0.8201951384544373, 0.42430979013442993, 0.06707587838172913, -0.41158220171928406, 0.12424962222576141, -0.41794341802597046, -0.7343319058418274, -0.6504402160644531, -0.5617335438728333, 0.5807943940162659, 0.43754538893699646, 0.1058969795703888, 0.7023365497589111, 0.4228658676147461, 0.4112056791782379, -0.20657329261302948, 0.07880925387144089, -0.5080229640007019, 0.3251216411590576, -0.15941128134727478, -0.41870003938674927, -0.32143405079841614, 0.23796455562114716, 0.3920210897922516, 0.898363471031189, -0.5440899729728699, 0.29688549041748047, 0.5515165328979492, 0.9110903739929199, -0.5416163802146912, 0.3422996997833252, -1.0107769966125488, 0.033689528703689575, -0.2212878167629242, -0.05946516990661621, -0.2324056476354599, -0.15031060576438904, 0.18305589258670807, -0.43954354524612427, 0.48027855157852173, -0.24538686871528625, 0.2380106896162033, 0.8112236261367798, -0.18841703236103058, -0.17115217447280884, -0.6406779885292053, 0.8535560965538025, -0.6213352084159851, 0.3011529743671417, 0.5598174929618835, 0.5974345803260803, -0.016801336780190468, -1.0580906867980957, -0.4646996557712555, -0.02642882615327835, 0.16669873893260956, 0.18413153290748596, 0.05929894372820854, -0.019614599645137787, 0.25353506207466125, 0.4562221169471741, -0.31691664457321167, 0.0032213167287409306, -0.7093106508255005, -0.13765943050384521, 0.6886683702468872, -0.23393435776233673, -0.1511157751083374, 0.058959268033504486, -0.45211929082870483, -0.28490424156188965, -0.265728235244751, 0.05371716618537903, 0.3146965801715851, 0.39396268129348755, 0.25942882895469666, 0.19176767766475677, -0.33812642097473145, 0.7220714092254639, 0.32686203718185425, -0.5662673115730286, 0.30039817094802856, 0.13678425550460815, -0.312109112739563, 0.5747620463371277, 0.5147599577903748, -0.0667187049984932, 0.37092718482017517, 0.03514353558421135, 0.05760253965854645, -0.10214097797870636, 0.129611536860466, -0.6332962512969971, -0.9563894867897034, 0.008895400911569595, -0.39028704166412354, -0.5196122527122498, 0.017506558448076248, -0.254728227853775, -0.323985755443573, -0.4557682275772095, 0.5450559258460999, -0.40680885314941406, -0.4329991638660431, -0.032151781022548676, -0.34606823325157166, -0.15880131721496582, 0.0016119882930070162, -0.9701881408691406, 0.45823806524276733, 0.6656813025474548, 0.810426652431488, -0.3936777710914612, -0.5397843718528748, -0.42996010184288025, 0.06599482893943787, -0.1963505744934082, 0.34624096751213074, -0.2702257037162781, -0.4532549977302551, -0.6216737627983093, -0.4406820237636566, 0.06073460355401039, -0.8226062655448914, 0.5235899090766907, -0.3323942720890045, 0.02502080425620079, -0.16023702919483185, -0.7469412684440613, -0.2818453907966614, -0.12515735626220703, -0.4911773204803467, 1.1971008777618408, 0.15245391428470612, -0.7512403130531311, 0.5640091896057129, -0.3053949177265167, -0.5066502690315247, 0.18507120013237, -0.1945059448480606, -0.5499145984649658, 0.23615604639053345, 0.19790561497211456, 0.7267589569091797, 0.13445022702217102, 0.24473722279071808, -0.3507126271724701, -0.20682476460933685, -0.08870794624090195, -0.6592138409614563, 0.7852684259414673, 0.28944337368011475, -0.2137000411748886, -0.1370537281036377, -1.0235700607299805, 0.09609171748161316, 0.024560073390603065, -0.1342117339372635, -0.7204112410545349, -0.18473316729068756, -0.2927154302597046, 0.3776567876338959, 0.3162792921066284, -0.4691064655780792, 0.17866250872612, -0.12286879867315292, 0.6943350434303284, 0.63351970911026, 0.024805596098303795, 0.24436485767364502, -0.2428964078426361, 0.18224874138832092, 0.3106865882873535, 0.17738062143325806, 0.10026568919420242, -0.42747652530670166, -0.3903849124908447, -0.45163851976394653, 0.4566234350204468, 0.28525346517562866, -0.6109400391578674, 0.5711830854415894, -0.08122967183589935, -0.8871589303016663, -0.7977791428565979, 0.44459351897239685, 0.40693482756614685, 0.9079123139381409, 0.64070063829422, -0.2568713426589966, -0.2604372799396515, -0.8465960025787354, 0.014685755595564842, -0.17101484537124634, -0.023165816441178322, 0.10639401525259018, 0.12925846874713898, 0.3581278920173645, 1.052272081375122, -0.6793496608734131, -0.745613157749176, 0.06747189909219742, 0.27131062746047974, 0.26197004318237305, 0.6778960227966309, 0.5424809455871582, -0.9607150554656982, -0.878031849861145, -0.21149764955043793, -0.5241103768348694, -0.17030398547649384, 0.25710204243659973, 0.20700597763061523, -0.2557680308818817, 0.671941876411438, -0.16565047204494476, 0.14276519417762756, 0.6153646111488342, 0.08053100109100342, 0.3382495939731598, -0.36564943194389343, 0.13012193143367767, -1.0392966270446777, -0.1408781111240387, -0.07504355162382126, -0.32831403613090515, -0.6079082489013672, -0.37418332695961, 0.08538517355918884, -0.05390433967113495, -0.556490957736969, -0.10878174751996994, -0.4614088535308838, -0.09969726204872131, -0.3889261484146118, -0.027143502607941628, 0.011959822848439217, 0.5753582119941711, 0.10045487433671951, 0.6931556463241577, 0.8120360970497131, -0.5304927825927734, 0.6451701521873474, 0.019947918131947517, -0.47576767206192017, 0.5725568532943726, -0.7193257212638855, 0.2949253022670746, 0.029526202008128166, -0.057460717856884, -1.0208238363265991, 0.024174880236387253, -0.16146835684776306, -0.3589491546154022, 0.41054779291152954, -0.5232676863670349, -0.07619146257638931, -0.43775564432144165, 0.09006631374359131, 0.4283500015735626, 0.8637442588806152, -0.5327162742614746, 0.3973546624183655, 0.39185357093811035, -0.23341022431850433, -0.6240918636322021, -0.879429280757904, -0.1290951818227768, -0.6212419867515564, -0.42128056287765503, 0.5141850709915161, -0.05170423910021782, -0.027243580669164658, 0.16061046719551086, -0.44117531180381775, -0.49879980087280273, 0.3571929931640625, 0.36191055178642273, -0.20724926888942719, 0.024156948551535606, 0.2509117126464844, 0.22117644548416138, -0.06225615367293358, -0.09856698662042618, -0.5905895233154297, 0.45039117336273193, 0.12414460629224777, -0.6992209553718567, -0.5737359523773193, 0.228147491812706, 0.39057931303977966, -0.22247138619422913, 0.5807090997695923, 0.5991581678390503, 0.00040754128713160753, -0.6067023873329163, -0.6394232511520386, -0.46803557872772217, -0.5461296439170837, 0.2786989212036133, -0.6033464670181274, -1.0064233541488647, 0.38348281383514404, -0.1168324425816536, -0.20887358486652374, 0.30208465456962585, 0.27983585000038147, -0.3978434205055237, 0.7480607628822327, 0.6044639348983765, -0.3986121714115143, 0.4471399486064911, -0.27358201146125793, -0.027699731290340424, -0.6041003465652466, -0.2082456350326538, -0.40466904640197754, -0.49895527958869934, -0.24794995784759521, -0.462838739156723, 0.5372201204299927, 0.3181730806827545, 0.012360945343971252, 0.22938649356365204, -0.8678299784660339, 0.5889952182769775, 0.9751317501068115, 0.15124747157096863, 0.3558979034423828, 0.14427751302719116, -0.155498668551445, -0.07698316872119904, -0.8514509201049805, 0.06490354984998703, 0.8645450472831726, 0.20740218460559845, 0.6565815806388855, -0.17581836879253387, 1.3313153982162476, 0.49830561876296997, -0.1981518715620041, -0.7144959568977356, 0.37952160835266113, -0.38283222913742065, -0.4159083664417267, -0.6200208067893982, -0.5057460069656372, -0.7469521760940552, 0.3817247152328491, 0.06498517841100693, -0.2357301115989685, 0.039780594408512115, 0.39885473251342773, -0.3144351840019226, 0.20024697482585907, -0.7861811518669128, 0.5150865912437439, -0.03020671382546425, -0.10364215821027756, -0.4338577687740326, -0.54058438539505, 0.16254810988903046, -0.1747014820575714, 0.09886057674884796, -0.28284451365470886, 0.3492017090320587, 0.6724576950073242, -0.5178170204162598, 0.935644268989563, -0.5920947790145874, -0.11628737300634384, 0.5542964935302734, 0.08113188296556473, 0.17071764171123505, -0.35831376910209656, -0.10929428040981293, 0.26468726992607117, 0.10043809562921524, -0.33965662121772766, -0.7953758239746094, 0.8418586850166321, -0.609993577003479, -0.7987964749336243, -0.1410779058933258, -0.3011603057384491, -0.18391923606395721, 0.18056945502758026, 0.08852019906044006, 0.4429745376110077, 0.10053061693906784, 0.4625049829483032, 0.6152851581573486, 0.29658418893814087, 0.45705363154411316, 0.5026317834854126, 0.08553507924079895, -0.11884086579084396, 1.0664687156677246, 0.565209150314331, 0.3525732755661011, 0.17958775162696838, 0.45846569538116455, -0.45905792713165283, -0.776763916015625, -0.01378508098423481, -0.1933821439743042, -0.6755071878433228, -0.12414321303367615, -0.4201379418373108, -0.5553654432296753, -0.5771765112876892, 0.18422602117061615, -0.5700204372406006, -0.54355388879776, -0.2229013592004776, -0.1378118246793747, 0.4094260036945343, 0.634571373462677, -0.2734646797180176, 0.18988266587257385, -0.6803743243217468, 0.26402390003204346, 0.9060625433921814, 0.3140580356121063, 0.13970305025577545, -0.7153186798095703, -0.21679002046585083, 0.03228018805384636, -0.18025913834571838, -0.7378701567649841, 0.3280692398548126, 0.7053258419036865, 0.7900839447975159, 0.19858227670192719, 0.36561280488967896, 0.736137330532074, -0.5870586633682251, 0.8267847895622253, 0.13393054902553558, -0.879863977432251, 0.7928332686424255, -0.06013360619544983, 0.21209341287612915, 0.7693054676055908, 0.6016212105751038, -0.30141201615333557, -0.35315728187561035, -0.7758736610412598, -0.7184051871299744, 0.3017783761024475, 0.17096881568431854, 0.008625442162156105, 0.02229238860309124, 0.3750227093696594, 0.10874170064926147, 0.3128456175327301, -0.416412889957428, -0.4044419527053833, -0.3991939425468445, -0.4026934802532196, -0.113540880382061, -0.1724974811077118, -0.07398299872875214, -0.4768298268318176, 0.6887801289558411, -0.04131322726607323, -0.42056936025619507, 0.4564809501171112, -0.13925062119960785, 0.2731063663959503, 0.14496393501758575, 0.04570688679814339, 0.5187590718269348, -0.056794021278619766, 0.4920075833797455, 0.2044888585805893, -0.5751742124557495, 0.28404420614242554, -0.10474776476621628, 0.16810011863708496, -0.25298526883125305, 0.4853883683681488, 0.59636390209198, 0.20272068679332733, -0.0832081213593483, 0.5440551042556763, 0.09354890137910843, -0.5760926604270935, -0.14693790674209595, 0.4955669343471527, 0.14810626208782196, 0.47642311453819275, 0.5815194845199585, -0.17038123309612274, 0.44552499055862427, -0.3157684803009033, 0.5102288722991943, 0.14747737348079681, -0.5727147459983826, -0.07655543088912964, 0.47894325852394104, 0.26104816794395447, -0.09284993261098862, 0.5443011522293091, -0.10867831110954285, -0.3919561505317688, 0.4858831465244293, 0.3180614411830902, 0.7292014956474304, -0.6381208300590515, 0.1334824413061142, 0.22035162150859833, -0.1700567603111267, -0.1757008135318756, 0.17638589441776276, -0.6238395571708679, -0.6163416504859924, -0.5384079813957214, -0.7021536231040955, -0.15175500512123108, 0.03542567417025566, -0.8550258874893188, -0.09728855639696121, -0.41086021065711975, -0.15646784007549286, 0.2996656894683838, 0.1359650194644928, -0.41444021463394165, 0.16317972540855408, 0.10305391252040863, 0.6007311344146729, -1.0062958002090454, 1.5415633916854858, 0.38692665100097656, -0.19307439029216766, -1.2418386936187744, -0.182613804936409, 0.050794146955013275, -0.6758036613464355, 0.9947856068611145, -0.09162109345197678, -0.2070554494857788, 0.486847847700119, -0.34663447737693787, -0.5814520120620728, 1.4150408506393433, 0.2969263792037964, -0.8208593726158142, 0.2570687234401703, 0.06523575633764267, 0.4636726677417755, -0.2601291239261627, -0.13484323024749756, 0.6640267372131348, 0.08274781703948975, 0.4224643111228943, -1.2456766366958618, -0.3739013969898224, -0.0640021339058876, 0.00498482258990407, -0.20819558203220367, -0.5898112058639526, 0.8725444674491882, 0.0653378814458847, -0.14162170886993408, -0.5145670771598816, 0.8154067397117615, 0.17947319149971008, 0.29605621099472046, 0.7824707627296448, 0.595693051815033, 1.0717475414276123, 0.10975085198879242, 0.3312608599662781, -0.24088764190673828, 0.3486635088920593, 1.5944417715072632, -0.2682403326034546, 0.8102474212646484, 0.48224377632141113, -0.41094261407852173, 0.47389695048332214, 0.22542928159236908, -0.1142456978559494, 0.8427730798721313, 0.2594321668148041, -0.3050757944583893, -0.36387205123901367, -0.06009894236922264, -0.5162357687950134, 0.6958440542221069, 0.07113723456859589, -0.22685976326465607, -0.12196741998195648, 0.1016203835606575, -0.4280780851840973, 0.4502798020839691, -0.39933764934539795, 1.1138676404953003, 0.3453803062438965, -0.5447255373001099, 0.536003828048706, -0.38267064094543457, 0.7323722243309021, -0.49617013335227966, -0.13449974358081818, 0.09827500581741333, 0.012820734642446041, -0.250651091337204, -0.9396998286247253, 0.3225347101688385, -0.2733175456523895, -0.3135606050491333, -0.3059766888618469, 1.0255591869354248, -0.812654435634613, -0.31627750396728516, 0.33330631256103516, 0.5962971448898315, 0.24059832096099854, -0.3790678083896637, -0.6293414235115051, -0.26053130626678467, -0.08274973928928375, 0.056223314255476, 0.3663705587387085, 0.5580605268478394, 0.24817298352718353, 0.7760193943977356, 0.5899161696434021, 0.33643585443496704, 0.3012489080429077, 0.34807804226875305, 0.8887253403663635, -0.23279544711112976, -0.6338309645652771, -0.9841399192810059, 0.3894462287425995, -0.30888980627059937, -0.016572153195738792, 0.8557103872299194, 0.4042871296405792, 1.0641716718673706, -0.15536372363567352, 0.8164182305335999, 0.08151848614215851, 0.7496810555458069, -0.418474942445755, 0.947661280632019, -0.35580793023109436, 0.10690426081418991, -0.26137369871139526, -0.9038369655609131, 0.11938930302858353, 0.7601156830787659, -0.20433363318443298, 0.029187435284256935, 0.3357180058956146, 0.5493691563606262, -0.20757853984832764, -0.053570881485939026, 0.7691597938537598, 0.05345000699162483, 0.22944208979606628, 0.410123348236084, 0.7928671836853027, -0.14901301264762878, 0.3493412137031555, -0.8437929749488831, -0.3109731376171112, 0.05768737196922302, -1.0573304891586304, -0.9865292906761169, -1.0982271432876587, -0.5006257891654968, 0.1273607611656189, -0.008723211474716663, 0.8578508496284485, 1.1645493507385254, -0.6530786752700806, -0.009895012713968754, -0.05399994179606438, 0.013372039422392845, -0.5821118950843811, -0.19972757995128632, 0.4745790362358093, -0.3556986451148987, -0.5756266117095947, 0.6321067810058594, 0.03958350047469139, 0.11102670431137085, -0.4249163568019867, 0.1499086171388626, 0.10029385983943939, -0.2828889787197113, 0.38805726170539856, -0.024324633181095123, -0.46355822682380676, -0.1944524645805359, -0.5027196407318115, 0.10013552010059357, -0.07655571401119232, 0.7989282011985779, -0.8391274809837341, 0.3440698981285095, 0.4799039363861084, 0.39229491353034973, 0.673767626285553, 0.14512953162193298, 0.24903962016105652, -1.3460571765899658, 0.3418882489204407, 0.36133354902267456, 0.1973603069782257, 0.30332446098327637, -0.28872042894363403, 0.34988319873809814, 0.3312530517578125, -0.6242620944976807, -0.5811134576797485, 0.13271136581897736, -0.9419441819190979, -0.3346761167049408, 0.8247696757316589, -0.48802947998046875, -0.07879720628261566, -0.07739614695310593, -0.2297927588224411, 0.3924647867679596, -0.32305073738098145, 1.0326563119888306, 0.6439186334609985, 0.002583612920716405, -0.32382434606552124, -0.288495272397995, 0.7180972695350647, 0.20002371072769165, -0.4089488983154297, 0.05520826205611229, 0.2896615266799927, 0.5242453813552856, 0.08931183069944382, 0.6153807044029236, 0.018838591873645782, -0.03165075555443764, 0.07963530719280243, -0.06767365336418152, -0.7265200018882751, -0.6431304812431335, -0.2031022608280182, 0.603310763835907, 0.20545272529125214, -0.33473798632621765 ]
http://arxiv.org/abs/2402.16829v1
http://arxiv.org/pdf/2402.16829v1
GISTEmbed: Guided In-sample Selection of Training Negatives for Text Embedding Fine-tuning
2024-02-26T18:55:15
2024-02-26T18:55:15
Aivin V. Solatorio
cs.LG
cs.LG, cs.CL
Embedding models are integral to AI applications like semantic search, personalized recommendations, and retrieval augmented generation for LLMs, necessitating high-quality training data. However, the limited scalability of manual data curation prompts the need for automated methods to ensure data integrity. Traditional unsupervised triplet mining automates training data generation, crucial for embedding model training, yet inadvertently injects biases and noise, thereby degrading model performance. Addressing this, we introduce GISTEmbed, a novel strategy that enhances in-batch negative selection during contrastive training through a guide model. This approach departs from reliance on random sampling and equal utility assumption of batch negatives, significantly reducing noise from data quality issues and improving model fine-tuning. Benchmarked against the Massive Text Embedding Benchmark (MTEB), GISTEmbed showcases consistent performance improvements across various model sizes and achieves state-of-the-art results in select categories. This framework enables significant enhancements for smaller models by leveraging the capabilities of powerful yet resource-intensive large models. GISTEmbed can potentially revolutionize the creation of highly efficient, smaller models, democratizing access to advanced AI technologies. Making these technologies more accessible and cost-effective, especially for applications constrained by resources, significantly expands the impact and accessibility of state-of-the-art AI solutions across diverse sectors.
[ -0.4940020740032196, -0.6838977336883545, 0.3126872777938843, -0.050175782293081284, -0.630346953868866, -0.0693880096077919, -0.008523114025592804, -0.312309205532074, 0.27632027864456177, 0.5829401612281799, -0.5030040740966797, -0.6925168037414551, -0.7451351284980774, -0.2870938181877136, -0.41147854924201965, 1.2747597694396973, 0.03414732962846756, 0.4747447073459625, -0.27264031767845154, -0.4100263714790344, -0.6299629211425781, -0.4252777695655823, -0.7014457583427429, -0.4257901608943939, 0.23474228382110596, 0.513258695602417, 0.703911304473877, 0.6640019416809082, 0.3748038113117218, 0.13549566268920898, 0.009140942245721817, 0.2175375372171402, -0.31596553325653076, 0.5963759422302246, -0.3098057210445404, -0.3549971282482147, -0.1510254293680191, 0.14921006560325623, 0.36249014735221863, 0.46792808175086975, -0.08764934539794922, 0.266207218170166, 0.5224280953407288, 0.5187804102897644, -0.7166447043418884, 0.019603321328759193, -0.5687861442565918, 0.016575582325458527, -0.12220292538404465, -0.1914851814508438, -0.22757375240325928, -0.6019167900085449, 0.19753164052963257, -0.36288589239120483, 0.6195753216743469, -0.07240062952041626, 0.9327952265739441, 0.5813330411911011, -0.29869794845581055, -0.5042685270309448, -0.3681659996509552, 0.7774907946586609, -0.6383782625198364, 0.11841435730457306, 0.44095560908317566, 0.2233051359653473, -0.013339023105800152, -0.5321609377861023, -0.17420066893100739, -0.21133384108543396, -0.003790666116401553, -0.13803212344646454, 0.2533423602581024, 0.1552305668592453, 0.2258719801902771, 0.441837877035141, -0.32414084672927856, 0.16403456032276154, -0.29484617710113525, -0.11145111173391342, 0.2815514802932739, -0.132552370429039, 0.2833327651023865, 0.010190286673605442, -0.11744026839733124, -0.10031162947416306, -0.6761032938957214, -0.34218230843544006, 0.49041011929512024, 0.4577661454677582, -0.019456710666418076, 0.497427761554718, -0.14953623712062836, 0.6320966482162476, 0.022773053497076035, 0.33962520956993103, 0.23963208496570587, -0.21976034343242645, -0.26104626059532166, 0.11650746315717697, 0.5010358691215515, 0.3665405809879303, 0.16080237925052643, 0.03752101957798004, -0.3853549361228943, 0.11413867026567459, 0.23826947808265686, -1.1657968759536743, -0.5836004614830017, 0.0022979590576142073, -0.15546739101409912, -0.6377861499786377, -0.1270577609539032, -0.843122124671936, -0.7663192749023438, -0.3340066075325012, 0.6500848531723022, -0.667543351650238, 0.06538704037666321, 0.08784764260053635, -0.4864668548107147, 0.022934764623641968, 0.3232627511024475, -1.0912744998931885, 0.208102747797966, 0.5860427021980286, 1.0911147594451904, 0.1667778640985489, -0.21198460459709167, -0.8299307227134705, 0.13337698578834534, -0.48295822739601135, 0.6651018857955933, -0.7800397276878357, -0.2953670620918274, 0.020411834120750427, -0.31731489300727844, 0.2244352102279663, -0.49698111414909363, 0.62876296043396, -0.4705657362937927, 0.2828066051006317, -0.07635288685560226, -0.4891994595527649, -0.1933469921350479, 0.5845363736152649, -0.6931313276290894, 1.04836905002594, 0.24080528318881989, -0.8618111610412598, 0.7046651840209961, -0.6781222224235535, -0.516670286655426, -0.1471046507358551, -0.43841245770454407, -0.7130773663520813, 0.014940633438527584, 0.6299598217010498, 0.7990615963935852, -0.37893247604370117, 0.3114568591117859, -0.5469508171081543, -0.5787564516067505, -0.6078576445579529, -0.21637997031211853, 0.5978085398674011, -0.023336371406912804, -0.4938669800758362, -0.0018367980374023318, -0.4610127806663513, -0.0437203124165535, 0.07244370877742767, -0.08039595931768417, -0.8473924994468689, 0.10775059461593628, -0.2259729951620102, 0.24763765931129456, -0.07437429577112198, -0.39579638838768005, 0.3919788599014282, -0.40532344579696655, 0.4665023684501648, 0.9066643714904785, 0.16894939541816711, 0.6342409253120422, -0.4201720654964447, 0.5102015733718872, 0.057546310126781464, 0.0718509778380394, -0.18654152750968933, -0.4209229648113251, -0.7502967715263367, -0.3741380572319031, 0.5436514616012573, 0.3151438534259796, -0.970681369304657, 0.3738337457180023, -0.21985872089862823, -0.6283966898918152, -0.8794645071029663, 0.21192708611488342, 0.33945417404174805, 0.5424233078956604, 0.7158307433128357, -0.20486941933631897, -0.4266793727874756, -1.1811885833740234, -0.13331420719623566, 0.2759428322315216, -0.17279453575611115, 0.21147799491882324, 0.4981546700000763, -0.5174273252487183, 0.6692684888839722, -0.5052788853645325, -0.5247176885604858, -0.10635518282651901, 0.2888680696487427, 0.31595101952552795, 0.7500467300415039, 0.5227930545806885, -0.707141637802124, -0.5300977826118469, -0.24216878414154053, -0.6046356558799744, -0.024184634909033775, -0.2139100432395935, -0.3310880661010742, 0.13119760155677795, 0.49836423993110657, -0.2340596616268158, 0.38833048939704895, 0.6267063617706299, -0.1722528487443924, 0.2767016589641571, -0.3388834297657013, 0.17226631939411163, -1.015901803970337, -0.06802486628293991, 0.31314682960510254, -0.16426947712898254, -0.4133886694908142, 0.08196704089641571, 0.4405895471572876, -0.002131102606654167, -0.19049662351608276, 0.41025200486183167, -0.6915574073791504, 0.12088298797607422, -0.056943248957395554, 0.15695106983184814, 0.06526734679937363, 0.46078383922576904, -0.36530229449272156, 0.9370968341827393, 0.63200843334198, -0.9382060766220093, 0.004229055251926184, 0.33971622586250305, -0.3751299977302551, 0.6160426735877991, -0.5902831554412842, 0.0082776490598917, -0.16097751259803772, 0.25014570355415344, -0.8059795498847961, -0.08693825453519821, 0.34847378730773926, -0.23102664947509766, 0.6218557953834534, -0.4791679084300995, -0.5409814715385437, -0.14120735228061676, -0.8925747871398926, 0.41986384987831116, 0.48419931530952454, -0.8692620396614075, 0.44175904989242554, 0.6057590842247009, -0.2571331262588501, -0.4980136752128601, -0.7021100521087646, 0.06938520818948746, -0.11889989674091339, -0.5473968386650085, 0.4434884786605835, -0.07992030680179596, 0.10690468549728394, -0.14165888726711273, -0.14539216458797455, 0.053226079791784286, 0.2952342629432678, 0.14372582733631134, 0.29285410046577454, -0.020251011475920677, 0.3477489650249481, 0.5253089666366577, -0.24704022705554962, -0.2403034269809723, -0.4198431968688965, 0.7697087526321411, 0.051387105137109756, -0.4964459240436554, -0.33671876788139343, 0.18837116658687592, 0.5086153745651245, -0.10011722892522812, 0.554347038269043, 0.8136990070343018, -0.3191322982311249, -0.38736745715141296, -0.45522910356521606, -0.2501746416091919, -0.447079598903656, 0.3706868290901184, -0.10375296324491501, -0.6926952004432678, 0.07899295538663864, -0.07780227065086365, 0.1255330890417099, 0.4579904079437256, 0.4696500599384308, -0.06071789190173149, 1.2558871507644653, 0.6514936685562134, -0.34474465250968933, 0.7382749319076538, -0.4394921660423279, -0.0729917660355568, -1.020224928855896, -0.1053144782781601, -0.7111673355102539, -0.6005341410636902, -0.7923474907875061, -0.28487858176231384, 0.3327689468860626, 0.0671602115035057, -0.39139804244041443, 0.05201330408453941, -0.9894982576370239, 0.6640028953552246, 0.9394385814666748, 0.3636520802974701, -0.04487985745072365, -0.053264789283275604, -0.32048583030700684, -0.09114602208137512, -0.4969671070575714, -0.6212899088859558, 1.1719691753387451, 0.06638267636299133, 0.830985963344574, -0.05999835580587387, 0.8615509271621704, 0.5475537776947021, 0.44372451305389404, -0.6879921555519104, 0.35140231251716614, -0.10773642361164093, -0.5313454270362854, -0.2532610297203064, -0.08935485035181046, -0.6945545077323914, 0.41997769474983215, -0.23336048424243927, -0.5556910037994385, 0.05008798837661743, 0.4551394581794739, -0.3520733118057251, 0.5406455397605896, -0.9572169780731201, 0.6004078388214111, -0.06370215117931366, -0.4655872881412506, -0.3221328556537628, -0.5869221091270447, 0.2867737114429474, -0.1326499879360199, -0.028732337057590485, -0.07778675854206085, -0.1797173023223877, 0.7680994868278503, -0.15815813839435577, 0.6811412572860718, -0.5752567052841187, 0.010472767055034637, -0.13946034014225006, 0.1767358034849167, 0.8436694741249084, 0.19611182808876038, -0.44662603735923767, 0.2219475507736206, -0.12141825258731842, -0.5443004965782166, -0.38506075739860535, 0.8934453725814819, -0.8158971071243286, -0.6802909970283508, -0.3727400302886963, -0.1316368281841278, -0.3128052353858948, 0.21765835583209991, 0.36866599321365356, 0.5206977725028992, -0.06352249532938004, 0.40743371844291687, 0.6812085509300232, -0.2868613004684448, 0.24584992229938507, -0.022359061986207962, 0.06465068459510803, -0.5365799069404602, 0.8933082222938538, 0.1395646035671234, 0.10113368928432465, 0.2730894088745117, 0.1190730556845665, -0.2053481936454773, -0.9418204426765442, -0.47623196244239807, 0.0770542174577713, -0.7127935886383057, -0.30098995566368103, -0.6934258937835693, -0.15517650544643402, -0.2553400993347168, -0.34593117237091064, -0.16268177330493927, -0.36896735429763794, -0.5088781714439392, -0.21029424667358398, -0.039635952562093735, 0.675084114074707, -0.0036994609981775284, 0.17558206617832184, -0.6899187564849854, 0.506083607673645, 0.1539902687072754, 0.6136156916618347, -0.10456426441669464, -0.4331435561180115, -0.4833180904388428, 0.23920616507530212, -0.42987388372421265, -0.6587223410606384, 0.46505600214004517, 0.1786540001630783, 0.6226412057876587, 0.20887702703475952, 0.15905866026878357, 0.5724292993545532, -0.4072399139404297, 0.7967716455459595, 0.021695075556635857, -0.7590169310569763, 0.8074362277984619, -0.27376753091812134, 0.09673221409320831, 0.8281280398368835, 0.4217992424964905, -0.4378364682197571, -0.38056430220603943, -0.6502872705459595, -1.125125527381897, 0.7541962265968323, 0.1494363397359848, 0.17515072226524353, 0.08047882467508316, 0.15940816700458527, 0.34532999992370605, 0.37459418177604675, -0.2953856587409973, -0.05818089842796326, -0.31883421540260315, -0.1959342360496521, -0.11516401916742325, -0.32877981662750244, -0.07413820177316666, -0.45703086256980896, 1.1519254446029663, -0.19779324531555176, 0.12280198186635971, 0.11689067631959915, -0.4039061367511749, 0.22746886312961578, 0.014590488746762276, 0.4776547849178314, 0.16202469170093536, -0.44496431946754456, 0.010580453090369701, 0.24302831292152405, -0.6601166129112244, 0.09934503585100174, 0.10175016522407532, -0.2788339853286743, 0.10398393124341965, 0.0389411486685276, 0.5562247633934021, 0.2322205901145935, -0.30997756123542786, 0.5183826684951782, -0.18469053506851196, -0.08426403254270554, -0.13210925459861755, 0.39631766080856323, -0.33850914239883423, 0.21424221992492676, 0.38065725564956665, 0.5027197003364563, 0.21398189663887024, -0.14894284307956696, 0.3244997560977936, 0.5982732176780701, -0.5466413497924805, -0.015393123030662537, 0.5254429578781128, 0.33914485573768616, -0.31095731258392334, 0.7036899328231812, -0.09722570329904556, -0.27019813656806946, 0.6277143955230713, 0.16060228645801544, 1.1145777702331543, -0.03035615384578705, 0.09790978580713272, 0.375691682100296, 0.3082626163959503, -0.24299782514572144, -0.09017109870910645, -0.16079986095428467, -0.7408407926559448, 0.030243560671806335, -0.3901914060115814, -0.6938234567642212, 0.16059429943561554, -0.798176646232605, 0.7054209113121033, -0.6115522384643555, -0.10169261693954468, -0.05573316663503647, 0.1661383956670761, -0.7341811656951904, 0.181471586227417, 0.014845308847725391, 0.7926738858222961, -0.5097799301147461, 0.9605240225791931, 0.593328595161438, -0.3883488178253174, -0.27041566371917725, 0.17194269597530365, 0.10180006921291351, -0.7470724582672119, 0.10838018357753754, 0.47251760959625244, -0.05618816241621971, 0.14852885901927948, -0.8064451217651367, -0.5833495855331421, 1.2808551788330078, 0.5562716722488403, -0.4587838053703308, -0.0169973187148571, -0.41112852096557617, 0.32835474610328674, -0.19117653369903564, 0.5378784537315369, 0.6518047451972961, 0.30056288838386536, 0.10199953615665436, -0.33355477452278137, 0.031299952417612076, -0.4334386885166168, 0.0706103965640068, 0.3659776449203491, -0.40940141677856445, 0.841474711894989, -0.20007240772247314, -0.23847037553787231, 0.004518772475421429, 0.21551160514354706, 0.307977557182312, 0.04019187018275261, 0.352075457572937, 0.429778516292572, 1.0832643508911133, 0.0023389568086713552, 1.1199500560760498, -0.5181765556335449, 0.3477066159248352, 1.2635397911071777, -0.1588989794254303, 0.5463451743125916, 0.45361414551734924, 0.3432552218437195, 0.3320680260658264, 0.8003514409065247, -0.29799532890319824, 0.8776904344558716, 0.11610956490039825, -0.15730857849121094, -0.15502408146858215, -0.04178677126765251, -0.5690271258354187, -0.03874628245830536, 0.37049219012260437, -0.4442984461784363, -0.5693689584732056, -0.11954396963119507, -0.015225264243781567, -0.039852824062108994, -0.22257140278816223, 0.5747771263122559, -0.1589379757642746, -0.48287495970726013, 0.6128860116004944, 0.09149853885173798, 1.2227243185043335, -0.5947823524475098, -0.157429039478302, -0.34809011220932007, 0.2801869213581085, -0.1364469677209854, -0.6513972878456116, 0.11571402847766876, -0.1696006804704666, -0.04824811592698097, -0.4123845100402832, 0.7273869514465332, -0.27258118987083435, -0.2977565824985504, 0.2620558440685272, 0.2997770607471466, -0.20454441010951996, -0.3108823299407959, -0.5889793038368225, -0.28729715943336487, 0.189568430185318, -0.2531565725803375, 0.48568081855773926, 0.5254697203636169, -0.05643570423126221, 0.8119850158691406, 0.729667603969574, 0.12012128531932831, -0.3772697150707245, 0.1003098264336586, 1.1318730115890503, -0.8088324069976807, -0.6882525086402893, -1.1959400177001953, 0.4330902695655823, -0.3787664473056793, -0.2623063027858734, 0.5964165329933167, 0.6116628646850586, 0.8262913823127747, -0.0003728409647010267, 0.9936349987983704, 0.2694254517555237, 0.3983369469642639, -0.5582156181335449, 0.861132025718689, -0.47854769229888916, 0.34637436270713806, -0.4330384433269501, -0.6302068829536438, -0.5003544092178345, 0.5882981419563293, -0.3421381115913391, -0.0449397973716259, 0.5612296462059021, 1.0371284484863281, -0.20649650692939758, 0.17756137251853943, 0.33591344952583313, 0.1209295466542244, 0.7620365619659424, 0.23321498930454254, 0.6747974753379822, -0.492500364780426, 0.5208698511123657, -0.029672598466277122, -0.14501702785491943, -0.40674009919166565, -0.8722410202026367, -0.9470489025115967, -0.5384929776191711, -0.25002139806747437, -0.17276166379451752, 0.13617856800556183, 1.1085224151611328, 0.7343246340751648, -0.8104629516601562, 0.2152295857667923, -0.10041365027427673, 0.31761953234672546, -0.06549946218729019, -0.17518989741802216, 0.24689219892024994, -0.5752760171890259, -0.7324458360671997, 0.09798677265644073, 0.22928999364376068, 0.2663525938987732, -0.1838894486427307, -0.13268087804317474, -0.29049935936927795, 0.03165708854794502, 0.4876926839351654, -0.07726742327213287, -0.15537934005260468, -0.29189395904541016, -0.5722107887268066, -0.32006847858428955, 0.12396140396595001, 0.5593590140342712, -0.9817451238632202, 0.2583565413951874, 0.34121614694595337, 0.8217759728431702, 0.7086927890777588, -0.039409901946783066, 0.5461803078651428, -0.9010175466537476, 0.24205158650875092, 0.515033483505249, 0.4315588176250458, 0.40402382612228394, -0.33709320425987244, 0.7726439237594604, 0.0106987114995718, -0.41167134046554565, -0.68431556224823, -0.0988420844078064, -0.48687928915023804, -0.2580508887767792, 1.1977651119232178, 0.23213008046150208, 0.05431186780333519, -0.21778470277786255, -0.4468526244163513, 0.22276808321475983, -0.7167819738388062, 0.919021725654602, 0.7177516222000122, 0.17107129096984863, 0.14610333740711212, -0.6852726340293884, 0.4865194261074066, 0.19682155549526215, -0.48392054438591003, -0.08940522372722626, 0.5743854641914368, 0.1676815003156662, -0.04404863342642784, 0.5186198949813843, 0.06688854843378067, 0.025147322565317154, -0.11224672198295593, 0.08518891036510468, -0.24839651584625244, -0.30206426978111267, -0.47839441895484924, 0.3332054316997528, 0.006944988388568163, -0.5738581418991089 ]
http://arxiv.org/abs/2402.16827v2
http://arxiv.org/pdf/2402.16827v2
A Survey on Data Selection for Language Models
2024-02-26T18:54:35
2024-03-08T20:04:01
Alon Albalak, Yanai Elazar, Sang Michael Xie, Shayne Longpre, Nathan Lambert, Xinyi Wang, Niklas Muennighoff, Bairu Hou, Liangming Pan, Haewon Jeong, Colin Raffel, Shiyu Chang, Tatsunori Hashimoto, William Yang Wang
cs.CL
cs.CL, cs.LG
A major factor in the recent success of large language models is the use of enormous and ever-growing text datasets for unsupervised pre-training. However, naively training a model on all available data may not be optimal (or feasible), as the quality of available text data can vary. Filtering out data can also decrease the carbon footprint and financial costs of training models by reducing the amount of training required. Data selection methods aim to determine which candidate data points to include in the training dataset and how to appropriately sample from the selected data points. The promise of improved data selection methods has caused the volume of research in the area to rapidly expand. However, because deep learning is mostly driven by empirical evidence and experimentation on large-scale data is expensive, few organizations have the resources for extensive data selection research. Consequently, knowledge of effective data selection practices has become concentrated within a few organizations, many of which do not openly share their findings and methodologies. To narrow this gap in knowledge, we present a comprehensive review of existing literature on data selection methods and related research areas, providing a taxonomy of existing approaches. By describing the current landscape of research, this work aims to accelerate progress in data selection by establishing an entry point for new and established researchers. Additionally, throughout this review we draw attention to noticeable holes in the literature and conclude the paper by proposing promising avenues for future research.
[ -0.6781463027000427, -0.7105730772018433, 0.6114338636398315, -0.12881039083003998, -0.15986602008342743, 0.2391454577445984, -0.3511817157268524, -0.4434470534324646, -0.083705835044384, 0.5966833233833313, -0.3843124508857727, -0.4538446068763733, -0.4684896171092987, -0.003462183056399226, -0.530125081539154, 0.856543779373169, -0.09561622887849808, 0.16393525898456573, -0.34613683819770813, 0.052511125802993774, -0.39760643243789673, -0.5604907274246216, -0.5739201307296753, -0.4638747572898865, 0.41756802797317505, 0.3494897484779358, 0.4334940016269684, 0.5516529083251953, 0.50956791639328, 0.08590254932641983, -0.2484888881444931, 0.11311964690685272, -0.4661494195461273, 0.2958278954029083, 0.05492687225341797, -0.32096007466316223, -0.12882505357265472, 0.12930195033550262, 0.6434518098831177, 1.131690502166748, 0.015996567904949188, 0.17281430959701538, 0.005011938977986574, 0.9047549366950989, -0.7650241255760193, 0.02569250389933586, -0.7073877453804016, 0.20142582058906555, -0.525595486164093, 0.18633952736854553, -0.295012891292572, -0.36816272139549255, 0.391541987657547, -0.2804467976093292, 0.2529480755329132, 0.14379939436912537, 0.3467607796192169, -0.10502178221940994, -0.40188199281692505, -0.33146318793296814, -0.9993903040885925, 0.9637811779975891, -0.41820886731147766, 0.4054103195667267, 0.6473811268806458, 0.2627701461315155, 0.0718032494187355, -0.5087448358535767, -0.15738874673843384, -0.26270556449890137, 0.1152275949716568, -0.0888272374868393, -0.15797768533229828, -0.08913574367761612, 0.14015154540538788, 0.442376971244812, -0.7912464141845703, 0.31195998191833496, -0.43156948685646057, -0.03653433173894882, 0.6121873259544373, -0.04097922146320343, 0.04697750508785248, 0.1856917142868042, 0.045011136680841446, -0.2846584618091583, -0.8812863826751709, -0.10805311053991318, 0.39025911688804626, 0.4145161807537079, 0.3237200379371643, 0.38279563188552856, -0.4956052005290985, 0.9509323239326477, -0.5456091165542603, 0.22958716750144958, 0.29396265745162964, -0.509575366973877, -0.2645476758480072, -0.22348792850971222, 0.720586359500885, 0.04052989184856415, 0.2784663438796997, -0.15707264840602875, -0.3099944293498993, -0.25691795349121094, 0.05413336306810379, -0.6501316428184509, -0.24421744048595428, 0.2138822376728058, -0.5309798121452332, -0.2662063539028168, 0.03482051566243172, -1.1121035814285278, -0.32528963685035706, -0.3200158178806305, -0.24362511932849884, -0.005207964684814215, -0.5766706466674805, 0.11185228079557419, 0.06284857541322708, -0.08227238059043884, 0.10302905738353729, -0.738450288772583, 0.3403700292110443, 0.35917574167251587, 0.6108788251876831, -0.2407313883304596, -0.14521189033985138, -0.15639938414096832, -0.13971492648124695, -0.6952711343765259, 0.8289296627044678, -0.9122937321662903, -0.55339115858078, 0.27095454931259155, -0.2903033494949341, 0.014236262068152428, -0.5313917994499207, 0.488667368888855, -0.7893345355987549, 0.27233490347862244, -0.19369952380657196, -0.5281598567962646, -0.22880463302135468, 0.10585056990385056, -0.8439756631851196, 0.9430070519447327, 0.236764594912529, -0.9012062549591064, 0.6698603630065918, -0.406556636095047, -0.4363821744918823, -0.11281724274158478, -0.28112825751304626, -0.5354095101356506, 0.04319953918457031, 0.5250406861305237, 0.5607156753540039, -0.7102938890457153, 0.4664551615715027, -0.4296937882900238, -0.2784753441810608, 0.25351133942604065, -0.4315057396888733, 0.7534520626068115, 0.5465495586395264, -0.1408427506685257, -0.14267154037952423, -0.7726097106933594, 0.08741725236177444, 0.17840160429477692, -0.2683059275150299, -0.4896044135093689, 0.10650862753391266, 0.14299948513507843, 0.09285204112529755, -0.06463424116373062, -0.3376374840736389, 0.3024727404117584, -0.16905878484249115, 0.30882498621940613, 0.48405665159225464, -0.09394945204257965, 0.550204336643219, -0.21340858936309814, 0.6870633959770203, -0.15094950795173645, 0.21571822464466095, 0.05485166236758232, -0.2044195830821991, -0.5899397730827332, -0.0063805123791098595, 0.6065412759780884, 0.23183587193489075, -0.7472928166389465, 0.4978257715702057, -0.11129533499479294, -0.682854950428009, -0.4807223379611969, 0.2823905646800995, 0.21444348990917206, 0.08481883257627487, 0.280926376581192, -0.12616987526416779, -0.5802883505821228, -0.7128155827522278, 0.01884165033698082, -0.12204708158969879, 0.11002649366855621, 0.44000300765037537, 0.4017777442932129, -0.11398540437221527, 1.086596131324768, -0.7514727711677551, -0.07008075714111328, -0.48942258954048157, -0.098636195063591, 0.29053184390068054, 0.3233861029148102, 0.7310832738876343, -0.8444464802742004, -0.3390725255012512, 0.04170699417591095, -0.401922345161438, 0.12786366045475006, 0.009873601607978344, -0.06321301311254501, -0.08113136887550354, 0.5998325347900391, -0.5888656973838806, 0.2826811373233795, 0.652336835861206, -0.13440179824829102, 0.2392551153898239, -0.04647934064269066, 0.1362362504005432, -0.8223848938941956, 0.4679408073425293, 0.05461570993065834, -0.011280911974608898, -0.6010329127311707, -0.31354376673698425, 0.07150813192129135, -0.05603431165218353, -0.1461794525384903, 0.6045249104499817, -0.5573986172676086, 0.002215018030256033, -0.13914863765239716, -0.08062217384576797, -0.27106449007987976, 0.22173400223255157, 0.22663064301013947, 0.5398591160774231, 0.8976849317550659, -0.728657066822052, 0.35048651695251465, 0.3948747515678406, -0.7706608772277832, 0.01493102591484785, -0.3904472291469574, 0.1864248514175415, -0.15315479040145874, 0.3275361955165863, -0.8613830208778381, -0.10612229257822037, -0.04094097763299942, -0.3328917920589447, 0.3197617530822754, -0.21719662845134735, -0.5272656083106995, -0.4163435697555542, -0.021536685526371002, 0.3721833825111389, 0.4127872586250305, -0.3430362641811371, 0.035320889204740524, 0.6882340908050537, -0.4246310889720917, -0.52781742811203, -0.6921347975730896, 0.031020991504192352, -0.22513295710086823, -0.047244761139154434, -0.07026117295026779, -0.09013915061950684, -0.30537205934524536, -0.21654967963695526, -0.08030207455158234, -0.33321666717529297, 0.10824248194694519, -0.37681150436401367, 0.30381911993026733, -0.05821097269654274, 0.16619685292243958, 0.01353510469198227, -0.06765173375606537, 0.06835228204727173, -0.26798316836357117, 0.5597236752510071, 0.4604472219944, -0.3379197120666504, 0.18055443465709686, 0.24529938399791718, 0.45877721905708313, -0.5850710868835449, 0.5843615531921387, 0.2694050371646881, -0.27935293316841125, -0.44245612621307373, -0.6197685599327087, -0.14437642693519592, -0.3420006334781647, 0.5316076874732971, -0.024479912593960762, -0.8518968224525452, 0.14439880847930908, -0.10296178609132767, 0.16595704853534698, 0.2214045375585556, 0.28817039728164673, 0.15257441997528076, 0.9822461009025574, 0.6871362924575806, -0.40454161167144775, 0.6114069223403931, -0.2567857801914215, 0.41841813921928406, -0.5774205327033997, -0.1290493607521057, -1.0118412971496582, 0.027268214151263237, -0.46930819749832153, -0.1763232797384262, 0.0719434916973114, -0.1051710993051529, 0.0348694883286953, 0.051256999373435974, -0.5351693630218506, 0.4244547188282013, 0.3735920190811157, -0.11030732840299606, 0.23748286068439484, 0.1425141841173172, 0.07862034440040588, 0.0466294139623642, -0.6432459354400635, -0.306076318025589, 1.374300241470337, 0.3133808970451355, 0.6910881996154785, -0.30536597967147827, 0.2733913064002991, -0.01909777522087097, 0.06569833308458328, -0.4628097414970398, 0.47536322474479675, -0.25555604696273804, -0.9042874574661255, -0.5138547420501709, -0.6575824022293091, -1.1777851581573486, 0.20297569036483765, -0.21314899623394012, -0.45161527395248413, 0.18817731738090515, 0.02124873176217079, -0.22449760138988495, 0.3780663013458252, -0.43041664361953735, 0.6120353937149048, -0.18623507022857666, 0.09469319880008698, -0.1286775916814804, -0.4204624891281128, 0.2177450805902481, -0.5380039215087891, 0.4234044849872589, -0.18812169134616852, 0.35048946738243103, 0.9352569580078125, 0.14095333218574524, 0.5481734871864319, -0.2860677242279053, -0.07674780488014221, 0.22715575993061066, -0.057701386511325836, 0.4577370285987854, -0.08524277806282043, -0.18758133053779602, 0.21619613468647003, -0.17181287705898285, -0.16284283995628357, -0.3601272702217102, 0.42661359906196594, -0.4569813907146454, -0.1448744684457779, -0.24188122153282166, -0.3942298889160156, -0.8294321298599243, 0.12440889328718185, 0.2698368430137634, 0.318962424993515, -0.2503323256969452, 0.729910135269165, 0.8220095038414001, -0.2679234445095062, 0.281981498003006, 0.3865729570388794, -0.33346375823020935, -0.36404111981391907, 0.7696844935417175, 0.3888995349407196, 0.18290846049785614, 0.3811519145965576, 0.12887240946292877, -0.2872508466243744, -1.1027148962020874, -0.1743593066930771, -0.05718080326914787, -0.43464112281799316, -0.1264238953590393, -0.584281325340271, -0.3137059509754181, -0.4420596659183502, 0.08294369280338287, -0.49711260199546814, -0.31533753871917725, -0.25684431195259094, -0.24772317707538605, 0.32178616523742676, 0.6032038927078247, 0.195935919880867, 0.2692510485649109, -0.49623918533325195, 0.22953417897224426, 0.12608522176742554, 0.39198559522628784, 0.11836229264736176, -0.21006794273853302, -0.4198596775531769, 0.03391038998961449, 0.03792949765920639, -0.4180826246738434, 0.3977092206478119, 0.029321569949388504, 0.8203385472297668, 0.2407303899526596, 0.06189484894275665, 0.4839564859867096, -0.3890271782875061, 0.5565614104270935, 0.19656354188919067, -0.3801780641078949, 0.80238938331604, -0.358246386051178, 0.1734282523393631, 0.8283798098564148, 0.48346856236457825, -0.5765892863273621, -0.2083338052034378, -0.5801208019256592, -1.0713653564453125, 0.6842924952507019, 0.37497997283935547, 0.10075756907463074, 0.3944849967956543, 0.12124623358249664, 0.3220580816268921, 0.40438273549079895, -0.463297963142395, -0.40326404571533203, 0.2745504677295685, -0.030733589082956314, -0.2983006536960602, -0.031162556260824203, 0.09917977452278137, -0.25497087836265564, 0.6478169560432434, -0.10693362355232239, -0.05430885776877403, -0.13684020936489105, 0.07281315326690674, -0.029885899275541306, 0.3129730522632599, -0.07057555764913559, 0.9020269513130188, -0.022016704082489014, -0.20374782383441925, -0.058355893939733505, -0.7367252707481384, 0.008510426618158817, 0.27338916063308716, -0.44225937128067017, 0.12402293086051941, 0.16894777119159698, 0.8902603387832642, -0.03265960142016411, -0.6920304894447327, 0.48578977584838867, -0.17868931591510773, -0.35375353693962097, -0.18978531658649445, 0.11527556926012039, -0.1416616290807724, 0.03389604762196541, 0.35248252749443054, -0.10475894063711166, 0.13989973068237305, -0.49278196692466736, 0.05441749840974808, 0.4852287471294403, -0.29700395464897156, -0.01006009615957737, 0.27572470903396606, 0.19875457882881165, 0.183545783162117, 0.9077386856079102, 0.17816737294197083, -0.009913674555718899, 0.5070012807846069, 0.14547426998615265, 0.682986855506897, -0.2560841143131256, 0.2509692907333374, 0.29519638419151306, 0.25276124477386475, -0.3875940442085266, 0.1623023897409439, 0.014787894673645496, -0.782058596611023, -0.4987683892250061, -0.5907940864562988, -0.39122915267944336, 0.7393302321434021, -0.7358038425445557, 0.2732057273387909, -0.21951037645339966, -0.12031298130750656, -0.11705563217401505, 0.28571975231170654, -0.8515673875808716, 0.4510727524757385, 0.2047397941350937, 1.0627046823501587, -0.9118124842643738, 0.8116562962532043, 0.6232811212539673, -0.17843912541866302, -0.39429569244384766, 0.01735822856426239, -0.12054287642240524, -0.6126522421836853, 0.32749688625335693, -0.1460622251033783, 0.27768296003341675, -0.015797404572367668, -0.7637458443641663, -1.0210493803024292, 0.7132522463798523, 0.3669738173484802, -0.5875235199928284, -0.12364562600851059, 0.08033246546983719, 0.3494907319545746, -0.30261877179145813, 0.1971558928489685, 0.897950291633606, 0.4451638460159302, 0.2998039722442627, -0.7514327764511108, -0.3859799802303314, -0.22889702022075653, 0.1211526021361351, 0.23303936421871185, -0.3923057019710541, 0.709134042263031, 0.20706287026405334, 0.05261604115366936, -0.0024714013561606407, 0.4530722200870514, 0.358275830745697, 0.2277607023715973, 0.5985605716705322, 0.11896084994077682, 0.7791178822517395, 0.0072700162418186665, 0.7097175121307373, -0.17559336125850677, 0.3610951006412506, 0.895397961139679, -0.41866254806518555, 0.7234655022621155, 0.4690042734146118, -0.5026286244392395, -0.011324409395456314, 1.0471479892730713, -0.3377399444580078, 0.7547292113304138, 0.2569562494754791, -0.0401107557117939, -0.2152853012084961, -0.22407808899879456, -0.4149319529533386, 0.5141527652740479, 0.44171491265296936, -0.29273316264152527, -0.16945147514343262, 0.1174318864941597, -0.04966998100280762, -0.2743966579437256, -0.12995804846286774, 0.7897828221321106, -0.009277479723095894, -0.6525478959083557, 0.2804643213748932, -0.2964886724948883, 0.48137685656547546, -0.8937190771102905, 0.05522392690181732, -0.25133490562438965, -0.1083870604634285, -0.182147815823555, -0.8754885196685791, 0.10165801644325256, 0.1970648467540741, -0.01595200225710869, -0.4140821695327759, 0.794414758682251, -0.4055943191051483, -0.3672774136066437, 0.2856614887714386, 0.8529412150382996, 0.25746431946754456, -0.2869774401187897, -0.5206149816513062, 0.21012724936008453, 0.22966426610946655, -0.5914093852043152, 0.3327849507331848, 0.32946473360061646, 0.00524804787710309, 0.6089358329772949, 0.7924627065658569, 0.5503957271575928, -0.37295252084732056, 0.23779098689556122, 1.0256788730621338, -0.6437615156173706, -0.551199197769165, -0.6143872141838074, 0.4027811884880066, -0.22398778796195984, -0.4586373567581177, 0.5566080212593079, 0.6734813451766968, 1.0109840631484985, 0.12559911608695984, 1.256746530532837, -0.020125703886151314, 0.8606078028678894, -0.6968851089477539, 0.80720454454422, -0.3982977271080017, 0.14842483401298523, -0.29957664012908936, -1.2232747077941895, -0.333130419254303, 0.617059051990509, -0.39584991335868835, 0.3771152198314667, 0.6664840579032898, 0.6302251815795898, -0.04818775877356529, 0.15611021220684052, 0.391075074672699, -0.011726733297109604, 0.24393384158611298, 0.2729882597923279, 0.8375272154808044, -0.10480698943138123, 0.4441538155078888, -0.1669629067182541, -0.21342724561691284, -0.14872312545776367, -0.6591964364051819, -0.9135237336158752, -0.77658611536026, -0.22673003375530243, 0.1192125529050827, -0.1132664903998375, 0.7460148930549622, 1.043472409248352, -0.8781235814094543, -0.26495519280433655, -0.1602049022912979, 0.08010175079107285, -0.01597723737359047, -0.06968022137880325, 0.32086634635925293, -0.3109283745288849, -0.5909340381622314, 0.46462222933769226, -0.10379235446453094, 0.032349471002817154, -0.3553430140018463, 0.09885399788618088, -0.18028105795383453, -0.18138937652111053, 0.3479979932308197, 0.2750079929828644, -0.17158374190330505, 0.35027360916137695, -0.01167925912886858, -0.04621138051152229, 0.007643756922334433, 1.0500832796096802, -0.6196901798248291, 0.29983657598495483, 0.4867454469203949, 0.9166538715362549, 0.5775279402732849, -0.5465014576911926, 0.57722407579422, -0.6987610459327698, 0.05734550207853317, 0.46974611282348633, 0.3006654381752014, 0.37595394253730774, -0.31650951504707336, 0.6373961567878723, -0.04901738837361336, -0.6498400568962097, -0.9793805480003357, 0.0360896922647953, -0.3889850974082947, -0.6949915289878845, 1.2860143184661865, 0.23778539896011353, -0.024568894878029823, -0.3429560363292694, -0.1647624373435974, 0.0385233610868454, -0.2778991460800171, 0.5850815176963806, 0.9017634987831116, -0.0873647928237915, -0.13564646244049072, -1.1172301769256592, 0.6394134163856506, 0.1387900710105896, -1.0262731313705444, 0.4960126578807831, 0.4755443334579468, -0.06050187721848488, -0.12912361323833466, 0.4959750771522522, -0.10741526633501053, -0.18250612914562225, -0.18779335916042328, 0.025082800537347794, 0.2348373681306839, -0.45055314898490906, -0.4693583548069, 0.05091684311628342, 0.31095415353775024, 0.04647282510995865 ]
http://arxiv.org/abs/2402.16823v2
http://arxiv.org/pdf/2402.16823v2
Language Agents as Optimizable Graphs
2024-02-26T18:48:27
2024-02-27T11:03:10
Mingchen Zhuge, Wenyi Wang, Louis Kirsch, Francesco Faccio, Dmitrii Khizbullin, Jürgen Schmidhuber
cs.AI
cs.AI, cs.CL, cs.LG, cs.MA
Various human-designed prompt engineering techniques have been proposed to improve problem solvers based on Large Language Models (LLMs), yielding many disparate code bases. We unify these approaches by describing LLM-based agents as computational graphs. The nodes implement functions to process multimodal data or query LLMs, and the edges describe the information flow between operations. Graphs can be recursively combined into larger composite graphs representing hierarchies of inter-agent collaboration (where edges connect operations of different agents). Our novel automatic graph optimizers (1) refine node-level LLM prompts (node optimization) and (2) improve agent orchestration by changing graph connectivity (edge optimization). Experiments demonstrate that our framework can be used to efficiently develop, integrate, and automatically improve various LLM agents. The code can be found at https://github.com/metauto-ai/gptswarm.
[ -0.524582028388977, -0.9102964997291565, 0.735711932182312, 0.16945137083530426, 0.23330506682395935, 0.6538123488426208, -0.3034590482711792, -0.22204522788524628, 0.3220040500164032, 0.4080753028392792, -0.7876684665679932, -0.43854227662086487, -0.18339598178863525, 0.45036575198173523, 0.09894663840532303, 0.608195424079895, -0.07427892088890076, -0.1188139095902443, -0.3308333158493042, -0.020395519211888313, -0.3124271333217621, -0.1886243373155594, -0.9886355400085449, -0.5419472455978394, 0.6923713684082031, 0.4944855272769928, 0.9518933296203613, 0.6886369585990906, 0.21621249616146088, 0.49628081917762756, 0.10685863345861435, 0.5887507200241089, -0.4638124704360962, 0.3637004494667053, -0.04342646151781082, -0.22642746567726135, -0.4703097641468048, -0.11519972234964371, 0.45447641611099243, 0.7968222498893738, 0.09745396673679352, -0.1364600956439972, 0.1056058332324028, 0.6357985734939575, -0.3557921051979065, 0.6537452340126038, -0.3239676058292389, -0.08443044871091843, 0.06527382135391235, -0.5479920506477356, -0.4999713599681854, -0.5043213963508606, -0.26751673221588135, -0.7751088738441467, -0.13529513776302338, 0.16914108395576477, 0.5029237866401672, 0.5311699509620667, -0.25961196422576904, -0.3662659525871277, -0.5735756754875183, 0.46580371260643005, -0.3506180942058563, 0.14593513309955597, 0.19571463763713837, 0.5673404932022095, -0.717211902141571, -0.709276556968689, -0.38332444429397583, -0.35993948578834534, -0.07744330167770386, -0.09952600300312042, -0.4504944980144501, 0.4718645215034485, 0.17544817924499512, -0.054384440183639526, -0.64300537109375, 0.28070494532585144, 0.007762303575873375, -0.41621366143226624, 0.535323441028595, 0.45381322503089905, 0.7382431030273438, 0.2004295289516449, 0.13022682070732117, -0.035057708621025085, -0.5224652290344238, 0.07222913205623627, 0.2225172519683838, 0.5352731347084045, 0.05153817683458328, 0.22405754029750824, -0.3750784993171692, 0.7645800709724426, -0.05838002264499664, -0.07719951868057251, 0.3324664235115051, -0.18323735892772675, 0.21944080293178558, -0.3051460385322571, 0.8288406133651733, 0.2711416482925415, 0.5735547542572021, -0.337866872549057, -0.2612382769584656, 0.1192471832036972, -0.05883561447262764, -0.6898201107978821, -0.24946174025535583, 0.1970801204442978, -0.14502498507499695, -0.3127211630344391, -0.3295450806617737, -0.5866904258728027, -0.6005510091781616, -0.36658740043640137, 0.1366690695285797, -0.2939940392971039, -0.17948980629444122, -0.1848277598619461, -0.1866462230682373, 0.106292724609375, 0.3180951476097107, -0.6499985456466675, 0.2262965589761734, 0.7088226675987244, 0.9543344974517822, 0.11907123029232025, -0.5162190198898315, -0.6262243986129761, 0.09310387820005417, -0.5128937363624573, 0.8006296157836914, -0.6953781843185425, -0.5109825134277344, 0.004561793524771929, 0.006712989881634712, -0.0812663808465004, -0.33533716201782227, 0.40401706099510193, -0.5648123025894165, -0.046841394156217575, -0.2440868616104126, -0.339191734790802, 0.05892482027411461, 0.1759055107831955, -0.7704878449440002, 0.7653434872627258, 0.21422992646694183, -0.5365328788757324, -0.234254851937294, -1.0347050428390503, -0.37277159094810486, 0.2628561556339264, -0.10465547442436218, -0.1351860612630844, -0.08094886690378189, 0.3289855122566223, 0.19768927991390228, -0.4762949049472809, 0.23009273409843445, -0.16885215044021606, -0.3914130628108978, 0.18498815596103668, -0.050313301384449005, 0.8102291822433472, 0.4953489899635315, -0.11272038519382477, 0.5878089666366577, -0.48138952255249023, 0.19113069772720337, 0.2507970333099365, -0.3606683611869812, 0.10349492728710175, 0.09959111362695694, -0.23836347460746765, -0.0937030166387558, 0.20762641727924347, -0.23993214964866638, 0.3499046862125397, -0.30953073501586914, 0.815239429473877, 0.8946976661682129, -0.21572650969028473, 0.5085763931274414, -0.430877685546875, 0.886637270450592, -0.5152513384819031, 0.1643921285867691, -0.3294179439544678, -0.4131145179271698, -0.6269029378890991, -0.45005470514297485, -0.17359107732772827, 0.5346813797950745, -1.2632745504379272, 0.254424512386322, -0.03624629229307175, -0.49011361598968506, -0.2767138183116913, 0.026131847873330116, 0.17575660347938538, 0.6237800717353821, 0.1290706843137741, 0.07693134993314743, -0.4188639223575592, -0.7443692684173584, -0.2082843780517578, -0.23934057354927063, 0.2232082635164261, 0.4564051032066345, 0.1422131508588791, -0.5899979472160339, 1.3102744817733765, -0.5774195194244385, 0.13864687085151672, -0.37470996379852295, 0.0554487369954586, 0.3428363502025604, 0.15181495249271393, 0.5750747919082642, -0.5210014581680298, -0.7508154511451721, 0.09253261238336563, -0.7460839748382568, -0.7118191719055176, 0.1396028995513916, -0.1587645411491394, 0.139406219124794, 0.7817004323005676, -0.8220515251159668, -0.10191553831100464, 0.35063034296035767, -0.26315030455589294, 0.6867524981498718, -0.13885626196861267, 0.15569138526916504, -0.9035385847091675, -0.18489697575569153, -0.18132416903972626, -0.3662222921848297, -0.7724599838256836, 0.1835545301437378, -0.19366714358329773, -0.5620172619819641, -0.2323148548603058, 0.728398323059082, -0.7959966659545898, -0.020116621628403664, -0.5650649666786194, 0.25747743248939514, -0.09050542116165161, 0.6290183663368225, -0.43400731682777405, 1.0940985679626465, 0.9157301783561707, -0.4580519199371338, 0.867115318775177, -0.036535896360874176, 0.207511767745018, 0.5297104120254517, -0.756644606590271, 0.5106244683265686, -0.4008732736110687, 0.3167443871498108, -1.1351524591445923, -0.4340571165084839, 0.5108432173728943, -0.3814637362957001, 0.23374004662036896, -0.06422646343708038, -0.536426305770874, -0.4933127164840698, -0.43230652809143066, 0.37657058238983154, 0.4618620276451111, -0.5567406415939331, 0.8625454902648926, 0.4340518116950989, -0.2668236792087555, -0.44985052943229675, -0.17866551876068115, 0.34343791007995605, -0.17959941923618317, -0.9683960676193237, 0.21159236133098602, -0.19200004637241364, -0.44859039783477783, 0.15129142999649048, 0.32479918003082275, -0.11511288583278656, 0.18129560351371765, 0.14521293342113495, -0.04009588435292244, -0.04073503986001015, 0.356616735458374, -0.056501224637031555, -0.4439445436000824, 0.027920300140976906, -0.4911439120769501, 0.8174738883972168, -0.5044868588447571, -0.29342398047447205, -0.39309489727020264, 0.4192076027393341, 0.4890355169773102, -0.33093103766441345, 0.35465294122695923, 0.4710053503513336, -0.2500074505805969, -0.36472442746162415, -0.293183833360672, -0.16262148320674896, -0.6259405016899109, 0.4772011339664459, -0.6017731428146362, -1.0143100023269653, 0.6354967951774597, -0.398722380399704, -0.047096531838178635, 0.20765915513038635, 0.4986964464187622, 0.004667768254876137, 1.1370131969451904, 0.644340455532074, -0.2021714150905609, 0.5973760485649109, -0.062240708619356155, 0.06690111011266708, -0.34757938981056213, 0.03457029536366463, -0.7282359600067139, -0.13496705889701843, -0.657182514667511, -0.43561989068984985, 0.5657135248184204, -0.057901155203580856, -0.2851496636867523, 0.19023601710796356, -0.5681313276290894, 0.8706822395324707, 0.4161294400691986, -0.16499459743499756, 0.052640680223703384, -0.01773330196738243, -0.06391653418540955, 0.34713155031204224, -0.908951997756958, -0.6143877506256104, 0.6636000871658325, 0.37295061349868774, 0.9941359758377075, -0.006886232644319534, 0.7001475691795349, 0.46292075514793396, 0.33205446600914, -0.8439128994941711, 0.756522536277771, 0.22223979234695435, -0.12633678317070007, -0.5796756148338318, -0.6560119986534119, -1.2768288850784302, 0.16713525354862213, 0.13501304388046265, -0.7324433326721191, -0.16190692782402039, 0.09232582151889801, 0.06512366980314255, 0.005970429163426161, -0.8499614000320435, 0.8661938309669495, -0.1787116676568985, -0.08461156487464905, -0.14716032147407532, -0.5170389413833618, -0.13380932807922363, 0.11517730355262756, 0.4343697428703308, -0.23145896196365356, -0.04131193831562996, 0.40472283959388733, -0.7733134627342224, 0.8363391757011414, -0.272930771112442, -0.08123882859945297, 0.6211426258087158, 0.11618882417678833, 0.7765955924987793, -0.4089652895927429, -0.07481560111045837, -0.1649521291255951, -0.4601220488548279, -0.4766908884048462, -0.8490468859672546, 0.6083917617797852, -0.8887187838554382, -0.8058421015739441, -0.00863761268556118, -0.793790876865387, -0.2293926328420639, 0.2504865527153015, -0.10669906437397003, 0.5921297073364258, -0.20379801094532013, -0.2978101372718811, 0.20845165848731995, -0.17584989964962006, 0.7190884351730347, 0.3858576714992523, -0.1261993646621704, -0.3855886161327362, 0.934395432472229, -0.08120845258235931, 0.19104614853858948, 0.3477648198604584, 0.2364700883626938, -0.279550164937973, -0.397555410861969, -0.4152159094810486, 0.32664185762405396, -0.9772443771362305, -0.09899615496397018, -0.4721619188785553, -0.011691969819366932, -0.43904173374176025, -0.3729713559150696, -0.08305833488702774, -0.22757147252559662, -0.2283077836036682, -0.09509547799825668, 0.4424143135547638, 0.6559092998504639, -0.07883970439434052, 0.5130994915962219, -0.5675726532936096, 0.01681743748486042, 0.3367970287799835, 0.1700977385044098, -0.14042630791664124, 0.03102831356227398, -0.2794094383716583, -0.1750551164150238, -0.14261433482170105, -1.036704659461975, 0.2569997310638428, 0.2115166038274765, 0.8240473866462708, 0.19868552684783936, -0.011667910031974316, 0.27561116218566895, -0.5751820206642151, 0.3917613625526428, 0.12152240425348282, -1.0404222011566162, 0.430215448141098, -0.6134535670280457, 0.22680972516536713, 0.3498896360397339, 0.22701402008533478, -0.5972502827644348, -0.40150344371795654, -0.12558986246585846, -0.6671521663665771, 0.7380549907684326, 0.12069191038608551, 0.07003054022789001, -0.04954567179083824, 0.4370371997356415, -0.12148904800415039, 0.15046855807304382, -0.4489873945713043, -0.28853297233581543, -0.17158624529838562, -0.37393176555633545, -0.13942106068134308, -0.042597588151693344, -0.15887725353240967, 0.13005490601062775, 0.5182895660400391, -0.6004107594490051, 0.1474015712738037, 0.013413039036095142, -0.16743816435337067, -0.1385682076215744, 0.2221713662147522, 0.5248053669929504, 0.902734637260437, 0.15226133167743683, 0.303821325302124, 0.05288074165582657, -0.16249996423721313, 0.41335541009902954, 0.16401013731956482, -0.08454366028308868, -0.16908542811870575, 0.40278270840644836, 0.8024176955223083, -0.3033885657787323, -0.7211067080497742, 0.10878033936023712, -0.029171500355005264, 0.11499754339456558, -0.13235387206077576, 0.28986048698425293, 0.23355822265148163, 0.5742699503898621, 0.3687889873981476, -0.3150351643562317, 0.13115395605564117, -0.6568834185600281, 0.136885404586792, 0.5581469535827637, -0.2216644436120987, -0.19981157779693604, 0.5312672257423401, 0.6600069999694824, -0.9129605293273926, 0.5402519702911377, -0.4633654057979584, -0.6126759648323059, 0.7901203036308289, 0.4671127200126648, 1.0578407049179077, -0.2877778708934784, 0.4302513301372528, -0.071003757417202, 0.3154159486293793, 0.31594568490982056, 0.09697139263153076, 0.026758616790175438, -0.7382376194000244, -0.5934728384017944, -0.2521057426929474, -0.5057896375656128, -0.4728366732597351, 0.14200235903263092, 0.3795645236968994, -0.3990631401538849, -0.3115021884441376, -0.047883231192827225, 0.018158474937081337, -0.5020170211791992, -0.18129798769950867, 0.024906696751713753, 0.6334375143051147, -0.7010015845298767, 0.466961532831192, 0.8835598826408386, -0.3500784635543823, -0.7996389865875244, -0.16968350112438202, -0.05751435458660126, -0.9647568464279175, 0.4521154463291168, 0.17351524531841278, -0.5245600938796997, 0.21326403319835663, -0.6035833358764648, -0.7575106620788574, 1.0682624578475952, 0.7417183518409729, -0.4913576543331146, 0.004016629420220852, 0.277330607175827, 0.565898597240448, -0.585181713104248, 0.6269145011901855, 0.4328976571559906, 0.5698373317718506, 0.08085472136735916, -0.9891243577003479, 0.18528755009174347, -0.37039729952812195, -0.04820738732814789, 0.37910252809524536, -0.8006948828697205, 0.8499273657798767, -0.3082052171230316, -0.358999639749527, -0.12804414331912994, 0.45738181471824646, 0.17281357944011688, 0.4376983642578125, 0.6150343418121338, 0.22630612552165985, 1.0032012462615967, -0.11676756292581558, 1.0877183675765991, -0.5521532893180847, 0.30772045254707336, 0.735712468624115, -0.16632717847824097, -0.1340152770280838, 0.2432219535112381, -0.12026015669107437, 0.4202636778354645, 0.7455379962921143, 0.27299296855926514, 0.2725399136543274, 0.47999438643455505, -0.11472635716199875, -0.2989951968193054, -0.46840932965278625, -0.18682648241519928, 0.19515739381313324, 0.21257981657981873, 0.02297275885939598, -0.37438932061195374, -0.07044956088066101, 0.16678504645824432, 0.10266264528036118, -0.3815014660358429, 0.6733933091163635, 0.01005496270954609, -0.5353757739067078, 0.6339805722236633, 0.09775853902101517, 0.30784711241722107, -0.3407931923866272, 0.05030336603522301, -0.32019296288490295, -0.2088523954153061, -0.24295155704021454, -0.548859179019928, 0.1159130111336708, -0.18189379572868347, 0.03860849887132645, -0.1563502997159958, 0.9763532280921936, -0.3276311755180359, -0.15124598145484924, 0.30622437596321106, 0.7920411229133606, 0.35067981481552124, -0.07281660288572311, -0.7381008267402649, 0.1534533053636551, -0.17901986837387085, -0.19825565814971924, -0.0777256041765213, 0.6113699674606323, -0.2113550454378128, 1.0564712285995483, 0.5052059292793274, -0.07934442907571793, -0.22384795546531677, 0.4220290780067444, 1.1711794137954712, -0.7336916327476501, -0.748235285282135, -1.0588772296905518, 0.2728591859340668, -0.04896765574812889, 0.13854849338531494, 0.4773033857345581, 0.2779313027858734, 0.32597440481185913, 0.090424545109272, 0.7451707720756531, 0.2188473641872406, 0.20094771683216095, -0.4723074734210968, 0.50426185131073, -0.386788010597229, 0.14600326120853424, -0.35273733735084534, -1.1618247032165527, -0.05532220005989075, 0.27059924602508545, -0.04435061290860176, 0.24510470032691956, 0.4955821931362152, 1.0382510423660278, 0.3048863410949707, -0.1460079699754715, 0.18380127847194672, 0.12543007731437683, 0.7020189762115479, 0.688880980014801, 1.2104145288467407, 0.25157326459884644, 0.5733751654624939, 0.12900696694850922, -0.47355470061302185, -0.26955747604370117, -0.7034204006195068, -1.1154859066009521, -0.501373827457428, -0.3296906352043152, -0.10947846621274948, 0.11706224083900452, 1.1283031702041626, 0.5916022658348083, -0.32019633054733276, -0.4196220934391022, -0.19233915209770203, 0.6137626767158508, 0.048871204257011414, -0.24957707524299622, 0.18730777502059937, -0.7561046481132507, -0.839802622795105, 0.7581380009651184, 0.37013375759124756, 0.043864794075489044, -0.41075804829597473, -0.47037363052368164, 0.37539154291152954, 0.22522081434726715, 0.5424522161483765, 0.3867740333080292, -0.4078821539878845, -0.26237305998802185, 0.0750560536980629, -0.1715492159128189, 0.11640122532844543, 0.9149983525276184, -0.6125842928886414, 0.4426042437553406, 0.635701596736908, 0.7661840915679932, 0.21402870118618011, 0.15400108695030212, 0.6705721020698547, -0.6232956647872925, 0.16437968611717224, 0.15847419202327728, 0.3672786355018616, 0.30954256653785706, -0.27169716358184814, 0.6663666367530823, 0.2426341027021408, -0.6209785342216492, -0.8000024557113647, 0.5194240808486938, -0.7405369877815247, -0.43306997418403625, 1.0328619480133057, 0.0610915943980217, -0.38860806822776794, -0.19780629873275757, -0.3799729347229004, 0.2442123144865036, -0.6497220993041992, 0.5105812549591064, 0.5497079491615295, -0.5720435976982117, -0.19715867936611176, -0.16844405233860016, 0.5935006141662598, 0.13705764710903168, -1.1005353927612305, -0.008868370205163956, 0.7021034359931946, 0.09097987413406372, 0.3064207136631012, 1.0084953308105469, 0.2469784915447235, 0.031304992735385895, 0.0021304418332874775, 0.18799622356891632, -0.5541486740112305, -0.49495211243629456, -0.19579853117465973, 0.11777932196855545, 0.3251684308052063, -0.05000504478812218 ]
http://arxiv.org/abs/2402.16822v1
http://arxiv.org/pdf/2402.16822v1
Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Prompts
2024-02-26T18:47:27
2024-02-26T18:47:27
Mikayel Samvelyan, Sharath Chandra Raparthy, Andrei Lupu, Eric Hambro, Aram H. Markosyan, Manish Bhatt, Yuning Mao, Minqi Jiang, Jack Parker-Holder, Jakob Foerster, Tim Rocktäschel, Roberta Raileanu
cs.CL
cs.CL, cs.AI, cs.LG
As large language models (LLMs) become increasingly prevalent across many real-world applications, understanding and enhancing their robustness to user inputs is of paramount importance. Existing methods for identifying adversarial prompts tend to focus on specific domains, lack diversity, or require extensive human annotations. To address these limitations, we present Rainbow Teaming, a novel approach for producing a diverse collection of adversarial prompts. Rainbow Teaming casts adversarial prompt generation as a quality-diversity problem, and uses open-ended search to generate prompts that are both effective and diverse. It can uncover a model's vulnerabilities across a broad range of domains including, in this paper, safety, question answering, and cybersecurity. We also demonstrate that fine-tuning on synthetic data generated by Rainbow Teaming improves the safety of state-of-the-art LLMs without hurting their general capabilities and helpfulness, paving the path to open-ended self-improvement.
[ -0.7155597805976868, -1.0108124017715454, 0.16730406880378723, 0.23175136744976044, 0.18227729201316833, 0.3675236105918884, -0.10332253575325012, -0.3237195909023285, -0.1621152013540268, 0.4503328204154968, -0.9454571008682251, -0.40983083844184875, -0.420081228017807, 0.237337127327919, -0.2815714180469513, 1.2666751146316528, 0.017937079071998596, 0.03708825260400772, 0.14791540801525116, -0.2163771241903305, -0.5242950916290283, -0.439609557390213, -0.7397213578224182, -0.014640548266470432, 0.8565474152565002, 0.3795551061630249, 1.1066842079162598, 0.48362523317337036, 0.3677554428577423, 0.3387150466442108, -0.08330678194761276, 0.4963166117668152, -0.8391236066818237, 0.5189893245697021, -0.35194098949432373, -0.44281241297721863, 0.03603718429803848, 0.12562496960163116, 0.4556766748428345, 0.5564545392990112, 0.08515127003192902, 0.04203000292181969, 0.14571349322795868, 0.45731857419013977, -0.6474570631980896, -0.45525848865509033, -0.86545729637146, 0.29015806317329407, -0.219673752784729, -0.3847316801548004, -0.3655173182487488, -0.28871190547943115, 0.1825314462184906, -0.725537896156311, 0.31410521268844604, 0.23904047906398773, 0.5093837976455688, 0.13392841815948486, -0.3146986663341522, -0.37129929661750793, -0.6595653295516968, 0.6145406365394592, -0.18094785511493683, -0.052172109484672546, -0.02145303227007389, 0.7472465634346008, -0.5675031542778015, -0.47469013929367065, -0.5227764248847961, -0.013373835012316704, 0.39175596833229065, 0.12744124233722687, -0.4287545084953308, 0.007449472788721323, 0.055563077330589294, 0.32835954427719116, -0.759213924407959, 0.4005640149116516, -0.29810941219329834, -0.15701431035995483, 0.6624352931976318, 0.36227142810821533, 0.8131192922592163, 0.3008212149143219, -0.5459344387054443, -0.04625339061021805, -0.7212179899215698, 0.20082424581050873, 0.6122123599052429, 0.5977509617805481, 0.002241673180833459, 0.6939452290534973, 0.011819769628345966, 0.4995976686477661, -0.09135754406452179, 0.21618129312992096, -0.19148854911327362, -0.28391408920288086, -0.06440476328134537, -0.18714824318885803, 0.8129292130470276, 0.4480151832103729, 0.2434530109167099, -0.45224428176879883, -0.2901650667190552, -0.00824170932173729, 0.3066067099571228, -0.4579489231109619, -0.1987319141626358, 0.41939663887023926, -0.32527655363082886, -0.4374391436576843, -0.06743942946195602, -0.8904812932014465, -0.8279799818992615, -0.08454634994268417, 0.24970217049121857, -0.42066851258277893, -0.046435046941041946, -0.20254234969615936, -0.5608320236206055, -0.012227778322994709, 0.20198765397071838, -0.8161609768867493, -0.04352622851729393, 0.65152508020401, 0.6884532570838928, -0.23397697508335114, -0.6231694221496582, -0.9243390560150146, -0.08247905969619751, -0.31215864419937134, 0.4727771580219269, -0.24674755334854126, -0.32686540484428406, -0.005300571676343679, -0.4744452238082886, 0.3526792824268341, -0.5352703332901001, 0.05870781093835831, -0.7178320288658142, 0.492832750082016, -0.3111293315887451, -0.21354562044143677, 0.15580853819847107, 0.33072274923324585, -0.6196749806404114, 0.6364014148712158, 0.22273167967796326, -0.6278077363967896, 0.2720610797405243, -0.8372119069099426, -0.29463624954223633, 0.4499778747558594, -0.17393243312835693, -0.23505452275276184, -0.18265435099601746, 0.34885266423225403, 0.16369317471981049, -0.44703879952430725, 0.21014712750911713, -0.6188876628875732, -0.15416212379932404, 0.5102226734161377, -0.3643918037414551, 1.1804403066635132, 0.2436310201883316, -0.3724987506866455, 0.5512972474098206, -0.4042463004589081, -0.05140450969338417, 0.12187755852937698, -0.22291716933250427, -0.0832715854048729, -0.3821992576122284, -0.0458679124712944, 0.2029327005147934, 0.2320581078529358, -0.5211836099624634, 0.08444797247648239, -0.34019505977630615, 0.23497658967971802, 1.081608533859253, -0.1062684953212738, 0.3921099901199341, -0.4342438578605652, 0.8090813159942627, -0.030323514714837074, 0.5310937762260437, -0.1256512552499771, -0.7323901653289795, -0.3179207444190979, -0.5484872460365295, 0.23521049320697784, 0.8025893568992615, -1.2485605478286743, 0.42732006311416626, 0.14237624406814575, -0.43101435899734497, -0.6134638786315918, 0.4072208106517792, 0.45634907484054565, 0.529310405254364, 0.36013367772102356, 0.28221631050109863, -0.6705600619316101, -0.8829914331436157, -0.43007737398147583, 0.035309799015522, -0.1677141636610031, 0.46233707666397095, 0.45331132411956787, -0.4008554220199585, 1.0121325254440308, -0.3628791570663452, -0.0024887246545404196, -0.3111705482006073, 0.23993177711963654, -0.05655624344944954, 0.21643976867198944, 0.5274795293807983, -0.9465975165367126, -0.40842926502227783, -0.25579607486724854, -0.945995569229126, -0.11711198836565018, -0.18176522850990295, -0.36430615186691284, 0.05755285918712616, 0.2893357276916504, -0.34935784339904785, 0.011378028430044651, 0.7189175486564636, -0.6421350836753845, 0.462268590927124, -0.02564224600791931, 0.1708345115184784, -1.0707346200942993, -0.03464185819029808, -0.019171489402651787, -0.12929673492908478, -0.7330422401428223, 0.48393529653549194, -0.1615152508020401, -0.5198055505752563, -0.577143669128418, 0.6796777248382568, -0.28479793667793274, 0.010226255282759666, -0.16509909927845, 0.26948630809783936, -0.27412328124046326, 0.3324034512042999, -0.4439200162887573, 0.97868812084198, 0.7488627433776855, -0.5027063488960266, 0.8387579917907715, 0.18710032105445862, -0.02206592820584774, 0.44762393832206726, -0.5395442843437195, -0.11167039722204208, -0.18492969870567322, 0.2104814052581787, -0.8911579251289368, -0.2503198981285095, 0.2956693172454834, -0.49160653352737427, 0.09431463479995728, 0.13522250950336456, -0.5839501619338989, -0.3761924207210541, -0.47964563965797424, 0.4913155436515808, 0.5311936140060425, -0.957524836063385, 0.33416369557380676, 0.5241294503211975, -0.21931159496307373, -0.7045720219612122, -0.6557654142379761, 0.3300369083881378, -0.2622509300708771, -0.9630898833274841, 0.20492351055145264, -0.19475267827510834, -0.3433094620704651, -0.1939627230167389, 0.21908988058567047, -0.02781934291124344, 0.5498335361480713, 0.19028322398662567, 0.39506664872169495, -0.20890295505523682, -0.029151316732168198, -0.25026413798332214, 0.11044763773679733, -0.11683520674705505, -0.2227400541305542, 0.5564186573028564, -0.2547602951526642, -0.24292656779289246, 0.030741969123482704, 0.8307923674583435, 0.4352525770664215, -0.2985701262950897, 0.8409373164176941, 0.6468999981880188, -0.3700847327709198, -0.7463952898979187, -0.22194384038448334, -0.16107608377933502, -0.5752610564231873, 0.06450802087783813, -0.015266643837094307, -1.2599022388458252, 0.6637431979179382, 0.11623860895633698, 0.2846352756023407, 0.19411562383174896, 0.5837889313697815, -0.1397681087255478, 1.1064441204071045, 0.4430660605430603, 0.06479275971651077, 0.41404083371162415, 0.019965417683124542, 0.08720915764570236, -0.5244563221931458, -0.2602132260799408, -0.1834900826215744, -0.4049350619316101, -0.5354057550430298, -0.21629396080970764, 0.7243250608444214, 0.1893526166677475, -0.33861830830574036, 0.11936227977275848, -0.43487855792045593, 0.5881035327911377, 0.8795102834701538, 0.28341978788375854, -0.21567222476005554, -0.12794211506843567, -0.113436758518219, 0.13100814819335938, -0.7427287697792053, -0.28674766421318054, 1.083662986755371, 0.3975386321544647, 0.49575406312942505, 0.4268379509449005, 0.8348366022109985, 0.32767951488494873, 0.21974140405654907, -0.34267720580101013, 0.5899231433868408, -0.2274961620569229, -0.6095606088638306, -0.6335263848304749, -0.8354905247688293, -1.2491382360458374, 0.15837529301643372, -0.3245333731174469, -0.5503251552581787, -0.26055672764778137, 0.15054070949554443, -0.6934313178062439, 0.3428967297077179, -0.4332774877548218, 0.8027210831642151, -0.33389976620674133, -0.07244229316711426, 0.2368718385696411, -0.5153650045394897, 0.7121793627738953, -0.05877946317195892, 0.18427394330501556, 0.1295374482870102, -0.15888172388076782, 0.40668243169784546, -0.3512381911277771, 0.8624093532562256, -0.09639996290206909, -0.2637924551963806, 0.3748074471950531, 0.14740274846553802, 0.4283647835254669, 0.05944003164768219, -0.07506009191274643, -0.003622754942625761, -0.8092555999755859, -0.4365557134151459, -0.6701327562332153, 0.6703956723213196, -0.6790735721588135, -0.6608407497406006, -0.20833535492420197, -0.923495352268219, -0.28509095311164856, 0.11993589252233505, 0.4224056899547577, 0.3433864712715149, -0.22618764638900757, 0.06881219893693924, 0.8409656882286072, -0.5711967945098877, 0.5770313143730164, 0.3185003399848938, -0.08268938213586807, -0.7859163880348206, 1.0069985389709473, -0.08734722435474396, 0.25723615288734436, 0.11630961298942566, 0.06277884542942047, -0.36177659034729004, -0.604132890701294, -0.7117096185684204, -0.10277289897203445, -0.7922409772872925, -0.339048832654953, -0.37102341651916504, -0.08318499475717545, -0.4914872646331787, -0.48033618927001953, -0.010036783292889595, -0.35680529475212097, -0.44606325030326843, 0.16258029639720917, 0.42259299755096436, 0.44817084074020386, -0.012623879127204418, 0.13625900447368622, -0.8418627977371216, 0.6513276696205139, 0.6984196305274963, 0.2821367681026459, -0.32955828309059143, -0.13351187109947205, 0.0975925400853157, 0.18991412222385406, -0.3880763351917267, -1.0238534212112427, 0.3392806053161621, -0.031753670424222946, 0.8201830983161926, -0.0029045725241303444, 0.29611703753471375, 0.33869656920433044, -0.23343414068222046, 1.058284044265747, 0.5447551012039185, -0.9566441178321838, 0.6681743860244751, -0.6990779042243958, 0.33021944761276245, 0.3882380425930023, 0.4000382423400879, -0.28703242540359497, -0.596397876739502, -0.4794265329837799, -0.8662989735603333, 0.5451817512512207, 0.4169355630874634, -0.23901018500328064, -0.04877340421080589, -0.08425240218639374, 0.0009524456108920276, 0.16278275847434998, -0.5937963128089905, -0.463168740272522, -0.24119795858860016, -0.2611342668533325, -0.04872196912765503, 0.1675236076116562, -0.5349506139755249, 0.2942127287387848, 0.5219547152519226, -0.24957554042339325, -0.15912245213985443, 0.0038814342115074396, 0.037369001656770706, -0.2496955543756485, 0.29513972997665405, 0.6382637619972229, 0.22538740932941437, 0.36590272188186646, 0.19513770937919617, 0.27115634083747864, 0.033251818269491196, 0.07439599931240082, 0.15882986783981323, -0.27684286236763, -0.2134033590555191, 0.32855772972106934, 0.5777209997177124, -0.06220267340540886, -0.9335674047470093, 0.46916505694389343, -0.141495943069458, -0.023937314748764038, 0.06984230875968933, 0.3787955641746521, -0.12784408032894135, 0.5136451125144958, 0.49840211868286133, 0.24522119760513306, 0.22224979102611542, -0.8346878290176392, 0.3228374719619751, 0.7950702905654907, -0.057809583842754364, 0.1613491326570511, 0.6011610627174377, 0.40385422110557556, -0.5852168202400208, 0.4763696789741516, -0.2688688337802887, -0.7872076034545898, 0.6603088974952698, 0.45634788274765015, 1.0057579278945923, -0.3608482778072357, 0.2947933077812195, -0.027865195646882057, 0.3193255364894867, 0.01535172387957573, 0.4510745406150818, 0.10444055497646332, -0.5422888398170471, 0.09134619683027267, -0.33155950903892517, -0.531528115272522, 0.15174882113933563, -0.40359288454055786, 0.24196113646030426, -0.6399326324462891, -0.058139365166425705, 0.050369177013635635, -0.2800617516040802, -0.38172775506973267, 0.23647189140319824, 0.3942037522792816, 0.819528341293335, -0.595511257648468, 0.18726585805416107, 0.4505312442779541, -0.4194744825363159, -0.4023761451244354, -0.12511272728443146, 0.1074516549706459, -0.8046610951423645, 0.5538879632949829, 0.1570013165473938, -0.06146418675780296, -0.2818869352340698, -0.5837633609771729, -0.5427885055541992, 1.0204966068267822, 0.545107901096344, -0.3968300223350525, -0.07747407257556915, 0.42487481236457825, 0.5021696090698242, -0.3631448447704315, 0.10463477671146393, 0.09603812545537949, 0.35274794697761536, -0.03272494301199913, -0.865782618522644, 0.2165602743625641, -0.3720233738422394, -0.011233271099627018, 0.09871692210435867, -0.5608015060424805, 1.176937460899353, -0.28973332047462463, -0.4014657437801361, -0.034027643501758575, 0.7169389724731445, 0.6852070093154907, 0.31734421849250793, 0.5819149613380432, 0.26081573963165283, 0.9977232813835144, 0.008779441937804222, 0.9622882008552551, -0.1355496346950531, -0.1747918725013733, 0.9361059665679932, -0.11536668241024017, 0.4180441200733185, 0.26345929503440857, 0.18462011218070984, 0.1634126901626587, 0.5466800928115845, -0.30310875177383423, 0.3557385802268982, 0.43496739864349365, -0.5295522212982178, -0.4021355211734772, -0.032105930149555206, -0.2701486051082611, 0.14544324576854706, 0.214935302734375, -0.47740718722343445, -0.42252403497695923, 0.2503175735473633, -0.2683068811893463, 0.1691548079252243, -0.48128747940063477, 0.8143543004989624, -0.11207265406847, -0.9835037589073181, 0.7905346751213074, -0.10660790652036667, 0.9544341564178467, -0.4679125249385834, 0.08705756813287735, -0.023168493062257767, 0.024803942069411278, -0.1453581154346466, -1.1423639059066772, 0.0632961094379425, 0.23117464780807495, -0.2588553726673126, -0.29249536991119385, 0.45737624168395996, -0.5033212900161743, -0.12296054512262344, 0.21304106712341309, 0.21183522045612335, -0.17964521050453186, -0.1442481130361557, -0.777240514755249, -0.12545527517795563, -0.012173635885119438, -0.013147742487490177, 0.3584028482437134, 0.5239277482032776, 0.0968618392944336, 1.0224533081054688, 0.9097802639007568, 0.06476005911827087, 0.3309977948665619, -0.056114714592695236, 0.8737776279449463, -0.44884809851646423, -0.5898894667625427, -0.9572560787200928, 0.634331464767456, -0.2441670000553131, -0.7263909578323364, 0.8948598504066467, 0.4978761374950409, 0.574104368686676, -0.0040773446671664715, 1.0865521430969238, 0.4121744930744171, 0.3893764019012451, -0.39120903611183167, 0.7693192362785339, -0.3460386097431183, 0.3258801996707916, 0.032014261931180954, -0.4646173119544983, -0.29852837324142456, 0.07108109444379807, 0.1021663099527359, -0.020287785679101944, 0.24467752873897552, 0.7878567576408386, 0.09190046042203903, 0.38300439715385437, 0.2587875723838806, -0.09315527975559235, 0.5310566425323486, 0.6804830431938171, 1.05506432056427, -0.2767128348350525, 0.9386863112449646, 0.022601205855607986, -0.5078960657119751, -0.12022118270397186, -0.6663650274276733, -1.1736268997192383, -0.4083854556083679, -0.2693014442920685, -0.5083746910095215, 0.24762652814388275, 0.8455604910850525, 0.421695739030838, -0.7667468190193176, 0.08481325209140778, -0.3068431317806244, 0.20747986435890198, 0.058458372950553894, -0.22920747101306915, -0.1922718584537506, -0.6222245693206787, -0.3916301131248474, 0.72932368516922, 0.0818452388048172, 0.3048192262649536, -0.5931329727172852, -0.15395142138004303, 0.18810983002185822, 0.17400352656841278, 0.48754143714904785, 0.4688248634338379, -0.7328919172286987, -0.03880930319428444, 0.08406302332878113, -0.27440565824508667, -0.39794501662254333, 0.6930651068687439, -0.5382681488990784, 0.32427510619163513, 0.6020990610122681, 0.9557700157165527, -0.2310090959072113, -0.14964815974235535, 1.0775803327560425, -0.9132657051086426, -0.33688580989837646, 0.45728036761283875, 0.33455216884613037, 0.3678811192512512, -0.5793837904930115, 0.29727447032928467, 0.05404992774128914, -0.49139922857284546, -1.0917834043502808, 0.4937603175640106, -0.7139617204666138, -0.6794290542602539, 1.3202227354049683, -0.2567012906074524, -0.16224952042102814, -0.2533087134361267, -0.3067066967487335, 0.3680279552936554, -0.3477790653705597, 0.9098497033119202, 0.46622154116630554, -0.011145070195198059, -0.043124567717313766, 0.09347791224718094, 0.5705165266990662, 0.2777703106403351, -1.0182000398635864, 0.27372413873672485, 0.4317094385623932, 0.031493935734033585, 0.19189774990081787, 0.19982850551605225, 0.2651382088661194, 0.6590980291366577, 0.10646212100982666, -0.22067822515964508, -0.3315485417842865, -0.603835940361023, -0.42295753955841064, 0.5893004536628723, -0.3357263505458832, -0.15674638748168945 ]
http://arxiv.org/abs/2402.16819v2
http://arxiv.org/pdf/2402.16819v2
Nemotron-4 15B Technical Report
2024-02-26T18:43:45
2024-02-27T15:22:57
Jupinder Parmar, Shrimai Prabhumoye, Joseph Jennings, Mostofa Patwary, Sandeep Subramanian, Dan Su, Chen Zhu, Deepak Narayanan, Aastha Jhunjhunwala, Ayush Dattagupta, Vibhu Jawa, Jiwei Liu, Ameya Mahabaleshwarkar, Osvald Nitski, Annika Brundyn, James Maki, Miguel Martinez, Jiaxuan You, John Kamalu, Patrick LeGresley, Denys Fridman, Jared Casper, Ashwath Aithal, Oleksii Kuchaiev, Mohammad Shoeybi, Jonathan Cohen, Bryan Catanzaro
cs.CL
cs.CL, cs.AI, cs.LG
We introduce Nemotron-4 15B, a 15-billion-parameter large multilingual language model trained on 8 trillion text tokens. Nemotron-4 15B demonstrates strong performance when assessed on English, multilingual, and coding tasks: it outperforms all existing similarly-sized open models on 4 out of 7 downstream evaluation areas and achieves competitive performance to the leading open models in the remaining ones. Specifically, Nemotron-4 15B exhibits the best multilingual capabilities of all similarly-sized models, even outperforming models over four times larger and those explicitly specialized for multilingual tasks.
[ -0.517406165599823, -0.5325036644935608, 0.38312068581581116, 0.5199272036552429, -0.08535183221101761, 0.0760413259267807, -0.26393958926200867, -0.8462188839912415, 0.06653700023889542, 0.4405031204223633, -0.3443029820919037, -0.3094462454319, -0.6577212810516357, 0.604892373085022, -0.35517916083335876, 1.0314996242523193, 0.2548312842845917, 0.5202120542526245, 0.11549973487854004, 0.026469970121979713, -0.3168070614337921, -0.7362719774246216, -0.6705557703971863, -0.49504101276397705, 0.902241587638855, 0.6566857099533081, 0.5467578768730164, 0.5821157097816467, 1.0329478979110718, 0.3117251992225647, -0.2004789412021637, 0.0496218167245388, -0.2917039096355438, -0.18603716790676117, -0.20082108676433563, 0.04450390487909317, -0.8883376121520996, -0.10928816348314285, 0.8937457203865051, 0.5324000120162964, -0.35288119316101074, 0.17363956570625305, -0.14679020643234253, 0.2670121490955353, -0.2664780914783478, -0.058591749519109726, -0.4356558918952942, -0.10344745963811874, -0.3490092158317566, 0.010318901389837265, -0.6300795078277588, -0.10017484426498413, -0.19392110407352448, -0.5015887022018433, 0.17566828429698944, 0.24150674045085907, 1.3207937479019165, -0.25499194860458374, -0.7191362977027893, -0.09556343406438828, -0.4185149669647217, 1.0912034511566162, -0.8767973184585571, 0.8607909083366394, 0.28936639428138733, 0.43860483169555664, 0.21042336523532867, -1.1118942499160767, -0.4089849889278412, -0.44555342197418213, 0.18420828878879547, -0.044789962470531464, -0.2070303112268448, 0.07363025844097137, 0.18833152949810028, 0.3166061043739319, -0.6480002403259277, 0.47109857201576233, -0.7410419583320618, -0.3730992376804352, 0.45808860659599304, 0.16959542036056519, 0.3750770390033722, -0.3168712854385376, -0.32767418026924133, 0.08051659166812897, -0.6013246178627014, -0.47129106521606445, 0.7395687103271484, 0.4629803001880646, -0.2834043502807617, 0.3827604353427887, -0.3493238091468811, 1.0207109451293945, -0.006407341919839382, -0.005565928760915995, 0.5127639770507812, -0.7426842451095581, -0.055498868227005005, -0.1343909651041031, 0.8615536689758301, 0.19639484584331512, -0.1293788105249405, -0.026025040075182915, -0.4350675940513611, -0.3473604917526245, 0.4482285976409912, -1.3824015855789185, -0.11707069724798203, -0.02744588628411293, -0.6591218113899231, -0.11638691276311874, -0.1470547765493393, -0.8806049227714539, -0.033087510615587234, -0.35127314925193787, 0.43250665068626404, -0.5464772582054138, -0.17529909312725067, 0.11735599488019943, -0.06628279387950897, 0.15015548467636108, 0.3376408517360687, -1.3752304315567017, 0.6569972038269043, 0.43202394247055054, 1.0120552778244019, -0.12693071365356445, -0.7201146483421326, -0.6619912981987, -0.07925905287265778, -0.5188990831375122, 0.9693816304206848, -0.7149670124053955, -0.019529981538653374, -0.3749631643295288, 0.252816379070282, -0.1332382708787918, -0.5257251858711243, 0.5092724561691284, -0.4786878228187561, 0.18671226501464844, -0.056439030915498734, -0.29606565833091736, -0.5673936605453491, 0.5891459584236145, -1.0165807008743286, 0.9300202131271362, 0.062480684369802475, -0.5610767602920532, 0.41599056124687195, -0.7710533738136292, -0.24845142662525177, 0.31718307733535767, -0.005697735585272312, -0.30900391936302185, -0.05195729061961174, 0.012638328596949577, 0.5146138668060303, -0.7382739186286926, 0.34376004338264465, -0.18383948504924774, -0.21583402156829834, 0.012793502770364285, -0.356440931558609, 0.5555391907691956, 0.3793019652366638, -0.2040349245071411, 0.24034206569194794, -0.6339682936668396, -0.21710056066513062, 0.04536417871713638, -0.34861308336257935, 0.2009228616952896, -0.8091483116149902, 0.1888568103313446, 0.4758232533931732, 0.5611045956611633, -0.9769802689552307, -0.2546349763870239, -0.36073964834213257, 0.4893496334552765, 0.3359766900539398, -0.038463130593299866, 0.5326550602912903, -0.23821070790290833, 1.016486644744873, -0.09432704001665115, 0.14383380115032196, -0.40814438462257385, -0.6437199115753174, -0.3251516819000244, -0.31085115671157837, 0.39343512058258057, 0.23815064132213593, -0.6177893877029419, -0.34718000888824463, -0.0503227524459362, -0.8559790253639221, -0.07980282604694366, 0.28544703125953674, 0.4655638039112091, 0.24625031650066376, 0.42087531089782715, -0.035031091421842575, -0.43120139837265015, -1.0873292684555054, -0.1724492758512497, 0.024256885051727295, 0.3688666522502899, 0.22139595448970795, 0.6796461343765259, -0.3481312096118927, -0.061185769736766815, -0.13701719045639038, -0.1541304588317871, -0.7595741748809814, 0.22886008024215698, 0.48965984582901, 0.5166016817092896, 0.7481302618980408, -0.6465474367141724, -0.31734222173690796, 0.7363659739494324, -0.5626128315925598, -0.007247846107929945, 0.05021623894572258, -0.12484578788280487, 0.2795615792274475, 0.7445002198219299, -0.36142104864120483, -0.20777298510074615, 1.2696453332901, -0.3033226430416107, 0.32703110575675964, -0.703072726726532, 0.261437326669693, -1.1372181177139282, 0.15170957148075104, -0.044510312378406525, 0.050200361758470535, -0.5582544207572937, 0.09970753639936447, 0.7056793570518494, -0.3540325164794922, -0.5801323652267456, 0.80650794506073, -0.6790528297424316, -0.07633449882268906, -0.070484958589077, 0.13915759325027466, 0.1443585604429245, 0.29928427934646606, -0.10815700888633728, 0.4878278970718384, 0.3864048421382904, -0.7283324003219604, 0.8364529609680176, 0.3164200782775879, -0.21652883291244507, 0.5325818657875061, -0.764639139175415, -0.059364669024944305, 0.038397304713726044, 0.09378974884748459, -0.6698794960975647, -0.580437421798706, -0.37969809770584106, -0.5576863288879395, 0.39199206233024597, 0.044244952499866486, -0.4059206247329712, -0.48879683017730713, -0.10002177953720093, 0.7572330236434937, 0.11343821883201599, -0.45451775193214417, 0.8189721703529358, 0.30825403332710266, -0.3638093173503876, -0.42861393094062805, -0.9700625538825989, 0.3945879340171814, -0.114597387611866, -0.573861837387085, 0.5070244669914246, 0.11133498698472977, 0.1652214378118515, -0.1028815358877182, 0.3549884557723999, -0.23955489695072174, -0.05918579921126366, 0.1692323535680771, 0.2372354120016098, -0.10559061169624329, 0.16813981533050537, -0.03991207107901573, -0.30268946290016174, -0.11817751824855804, -0.0522746741771698, 0.7233275771141052, -0.20599332451820374, -0.41934219002723694, -0.4415097236633301, 0.1470315307378769, 0.6253764629364014, -0.48699015378952026, 0.8294357657432556, 0.5839977264404297, -0.4474990665912628, -0.17744962871074677, -0.3436218202114105, -0.26424768567085266, -0.5041496157646179, 0.7810698747634888, -0.4863933026790619, -0.825210452079773, 0.6382062435150146, 0.15907976031303406, 0.14777569472789764, 0.43679100275039673, 0.7041344046592712, 0.5634437203407288, 1.1866075992584229, 0.5483245253562927, 0.37029293179512024, 0.5909671783447266, -0.10238873958587646, 0.4299132525920868, -0.546657919883728, -0.8843056559562683, -0.8306089639663696, -0.2717675268650055, -0.6942382454872131, -0.40895378589630127, 0.23133857548236847, -0.4097404181957245, -0.5604473948478699, 0.658305287361145, -0.2670822739601135, 0.2038315236568451, 0.5941083431243896, -0.267671138048172, 0.1388595551252365, -0.4450456202030182, -0.35910293459892273, 0.04297822713851929, -0.8945925831794739, -0.5330845713615417, 1.0313570499420166, 0.36954930424690247, 0.7479657530784607, 0.4762421250343323, 0.67570561170578, -0.16744963824748993, 0.2716396749019623, -0.6059123873710632, 0.510212242603302, -0.19133511185646057, -1.310481071472168, -0.33489322662353516, -0.5050276517868042, -1.041351079940796, 0.33773767948150635, -0.06701545417308807, -0.48234573006629944, -0.1286875158548355, 0.04520164057612419, -0.28743642568588257, 0.3453283905982971, -0.8648494482040405, 1.3522082567214966, -0.3353380262851715, -0.18136098980903625, -0.3043437898159027, -0.39585283398628235, 0.27211251854896545, -0.38670864701271057, 0.368420273065567, -0.259629487991333, -0.15331533551216125, 0.6943798065185547, -0.08783518522977829, 0.32359743118286133, -0.03677946701645851, -0.013148823752999306, -0.09986855089664459, 0.029050955548882484, 0.17433936893939972, 0.029686693102121353, -0.4826783239841461, 0.47753432393074036, 0.12107166647911072, -0.5514974594116211, -0.336947500705719, 0.9371069073677063, -0.7430526614189148, -0.1469908207654953, -0.5042253732681274, -0.5046018958091736, -0.052660081535577774, 0.5399003624916077, 0.3316441774368286, 1.081074833869934, -0.31574901938438416, 0.594917893409729, 0.16416287422180176, -0.7851986885070801, 0.9312136769294739, 0.5570273995399475, -0.5587897300720215, -0.7172349095344543, 0.9261011481285095, 0.2579505145549774, 0.48187676072120667, 0.5697458982467651, 0.015282177366316319, -0.33464136719703674, -0.7302648425102234, -0.7365694642066956, 0.5052250623703003, -0.5399243235588074, -0.42968013882637024, -0.9726004600524902, -0.340469092130661, -0.44992244243621826, -0.003062406787648797, -0.7088288068771362, -0.23303978145122528, -0.15395113825798035, -0.3992651700973511, 0.19847650825977325, 1.156487226486206, -0.26525911688804626, 0.32612159848213196, -1.092009425163269, 0.3178839683532715, 0.22031071782112122, 0.4262899160385132, -0.011486566625535488, -0.973787784576416, -0.6662992238998413, -0.07070817053318024, -0.5242403745651245, -0.6356937885284424, 0.7425869107246399, 0.1785106658935547, 0.8113446235656738, 0.4164107143878937, -0.3650647699832916, 0.5046362280845642, -0.799308717250824, 0.8822503089904785, 0.27019840478897095, -1.1983247995376587, 0.11755794286727905, -0.6324612498283386, 0.5990957617759705, 0.12614142894744873, 0.30667194724082947, -0.5782672762870789, -0.25120073556900024, -0.7374265193939209, -0.5628936290740967, 0.9815284609794617, 0.07420262694358826, 0.5353329181671143, -0.3571375012397766, 0.04492417350411415, 0.2917032837867737, 0.18388311564922333, -0.8572009205818176, 0.32494524121284485, -0.19721654057502747, -0.1660960167646408, -0.26360148191452026, -0.4023580253124237, 0.255628764629364, -0.038863442838191986, 0.7923722863197327, -0.18209514021873474, 0.38903823494911194, -0.3592086434364319, 0.10045402497053146, 0.12932032346725464, -0.0009374181972816586, 0.7971661686897278, 0.9303046464920044, -0.025661630555987358, 0.2626943290233612, 0.6304998397827148, -0.6391494870185852, -0.009866932407021523, 0.2804667055606842, 0.3056160509586334, -0.029670758172869682, 0.6753923296928406, 0.7296122908592224, 0.39284747838974, -0.7419360876083374, 0.5119822025299072, -0.07859557121992111, -0.5577788949012756, 0.02434118092060089, -0.4477616846561432, 0.253728449344635, -0.011981277726590633, 0.06828410178422928, -0.229614719748497, 0.20641563832759857, -0.3952135443687439, 0.26833462715148926, 0.25657394528388977, -0.44265565276145935, -0.6709870100021362, 0.6611790657043457, 0.3202584981918335, -0.09299673140048981, 0.3283558189868927, -0.2510511875152588, -0.4400988221168518, 0.6561827063560486, 0.7273812890052795, 0.4714033603668213, -0.6642683744430542, 0.3728610873222351, 0.6261435747146606, 0.605150580406189, -0.22271449863910675, 0.4825672507286072, 0.46101507544517517, -0.8469657897949219, -0.6803163886070251, -0.670867919921875, -0.7217916250228882, -0.16936522722244263, -0.8252299427986145, 0.5338483452796936, -0.6139086484909058, -0.297594279050827, 0.29513946175575256, 0.03735443949699402, -0.5071530938148499, 0.42981821298599243, 0.14200298488140106, 0.8881338834762573, -0.6608608961105347, 0.7668490409851074, 1.056155800819397, -0.394945353269577, -1.1003072261810303, -0.634590208530426, -0.11830786615610123, -0.6710787415504456, 0.9317322969436646, 0.3526841998100281, -0.21136316657066345, 0.015010329894721508, -0.37565451860427856, -1.166814923286438, 0.9623060822486877, 0.7059817314147949, -0.4221057593822479, 0.122186079621315, -0.3084182143211365, 0.38164156675338745, -0.10785461217164993, 0.45462262630462646, 0.1420132964849472, 0.4960367977619171, 0.06154628470540047, -1.3810874223709106, -0.20893977582454681, -0.43693551421165466, -0.08909370005130768, 0.6196858286857605, -1.0097728967666626, 1.1951091289520264, -0.1757175326347351, 0.23732148110866547, 0.13884858787059784, 0.5394207835197449, 0.2364676296710968, 0.25430047512054443, 0.05978568270802498, 0.4922046959400177, 0.8103934526443481, 0.027440138161182404, 1.3751130104064941, -0.4867303967475891, 0.2349606603384018, 0.8874310255050659, -0.35948315262794495, 0.6042570471763611, 0.31626075506210327, 0.3262428939342499, 0.6926124095916748, 0.5555354952812195, 0.13215933740139008, 0.3336801826953888, -0.14234794676303864, -0.05902609974145889, -0.2611098885536194, -0.32436031103134155, -0.2888883650302887, 0.6194780468940735, 0.10228153318166733, -0.17067956924438477, -0.18637371063232422, 0.20445245504379272, 0.20099563896656036, 0.07190204411745071, -0.3482381999492645, 0.5712462663650513, 0.16096118092536926, -0.637078583240509, 0.4101119935512543, 0.5191067457199097, 0.41419926285743713, -0.6160671710968018, -0.1310271918773651, -0.2039671689271927, 0.47831109166145325, -0.11205479502677917, -0.5233683586120605, 0.2358717918395996, 0.048576295375823975, 0.11038050800561905, -0.5657452940940857, 0.38474559783935547, -0.04657362028956413, -0.5680628418922424, 0.6938701272010803, 0.3684672713279724, 0.1399577558040619, 0.016114698722958565, -0.43294277787208557, 0.21378403902053833, -0.1273173987865448, -0.23149904608726501, 0.3072243630886078, 1.0116260051727295, -0.049119915813207626, 0.8581889271736145, 0.5392714738845825, 0.14521236717700958, 0.04879457503557205, 0.268012136220932, 0.7231938242912292, -1.0656678676605225, -0.6253105998039246, -0.8005041480064392, 0.1755845695734024, -0.14775581657886505, -0.5994516611099243, 1.201749563217163, 0.6867455244064331, 0.8259446620941162, 0.17418931424617767, 0.3626891076564789, 0.11174965649843216, 0.5514899492263794, -0.4776424467563629, 0.29231932759284973, -0.6607775688171387, -0.18452979624271393, -0.348755419254303, -1.047737717628479, -0.5791130065917969, 0.5214588046073914, -0.3853316605091095, 0.6092530488967896, 1.098355770111084, 0.7590699791908264, 0.04172130301594734, 0.30739879608154297, 0.7485511898994446, 0.04031228646636009, 0.49809953570365906, 0.571125328540802, 0.9990934133529663, -0.2348974496126175, 0.6758480072021484, -0.09118041396141052, -0.08887120336294174, -0.28573280572891235, -1.0159097909927368, -1.0790587663650513, -0.40127304196357727, 0.0623137429356575, -0.08004500716924667, -0.317952424287796, 0.8430549502372742, 0.9301097989082336, -0.9066381454467773, -0.42560943961143494, 0.0015124401543289423, -0.1790066659450531, -0.1369483470916748, -0.053155310451984406, -0.22379742562770844, -0.34498971700668335, -1.0225639343261719, 0.41520509123802185, 0.6278688311576843, 0.040636442601680756, -0.18214967846870422, -0.4552725553512573, -0.3684259355068207, 0.2231438159942627, 0.30802467465400696, -0.20526786148548126, -0.37544432282447815, -0.043197665363550186, 0.30264654755592346, -0.23366281390190125, -0.3231394588947296, 0.5837496519088745, -0.2563380002975464, 0.3247763216495514, 0.5479604005813599, 0.6931800246238708, 0.7951301336288452, -0.09465520828962326, 0.891552209854126, -0.21962179243564606, 0.4944364130496979, 0.3801339268684387, 0.4333489239215851, 0.6810511350631714, -0.09768100827932358, 0.2870854139328003, 0.006201865151524544, -0.7618414163589478, -0.885905385017395, 0.022771798074245453, -0.9163471460342407, -0.3298003375530243, 1.3584845066070557, -0.034322597086429596, 0.031169485300779343, 0.15105319023132324, -0.256111204624176, 0.010347402654588223, -0.44478315114974976, 0.03286424279212952, 0.8031013607978821, -0.01668737269937992, -0.31967151165008545, -0.919033944606781, 0.12341176718473434, 0.41379284858703613, -0.9063946604728699, -0.4561786949634552, 0.5981537699699402, 0.027654141187667847, 0.09426549822092056, 0.3708339035511017, -0.3434044420719147, 0.34846431016921997, 0.30749034881591797, 0.44816839694976807, -0.21948093175888062, -0.7487710118293762, -0.3894442915916443, 0.2841542065143585, 0.31632766127586365, -0.1838662475347519 ]
http://arxiv.org/abs/2402.16817v1
http://arxiv.org/pdf/2402.16817v1
Investigating the Effectiveness of HyperTuning via Gisting
2024-02-26T18:42:26
2024-02-26T18:42:26
Jason Phang
cs.CL
cs.CL
Gisting (Mu et al., 2023) is a simple method for training models to compress information into fewer token representations using a modified attention mask, and can serve as an economical approach to training Transformer-based hypernetworks. We introduce HyperLlama, a set of Gisting-based hypernetworks built on Llama-2 models that generates task-specific soft prefixes based on few-shot inputs. In experiments across P3, Super-NaturalInstructions and Symbol Tuning datasets, we show that HyperLlama models can effectively compress information from few-shot examples into soft prefixes. However, they still underperform multi-task fine-tuned language models with full attention over few-shot in-context examples. We also show that HyperLlama-generated soft prefixes can serve as better initializations for further prefix tuning. Overall, Gisting-based hypernetworks are economical and easy to implement, but have mixed empirical performance.
[ -0.2847617566585541, -0.696282684803009, 0.22804248332977295, 0.027509799227118492, -0.42201098799705505, -0.24874240159988403, -0.6076862215995789, -0.3539527654647827, 0.40742215514183044, 0.30373188853263855, -0.5840750336647034, -0.27989959716796875, -0.6571166515350342, 0.21814940869808197, -0.5105246305465698, 1.1499181985855103, 0.31513863801956177, -0.33064544200897217, 0.3658938705921173, -0.03128161281347275, -0.3369901180267334, -0.36202800273895264, -0.40388473868370056, -0.5291035771369934, 0.7323510050773621, 0.6728672385215759, 1.0850762128829956, 0.9678106904029846, 0.5440483093261719, 0.28413334488868713, -0.27309495210647583, 0.30625119805336, -0.7116838693618774, 0.09188925474882126, 0.15104319155216217, -0.7051994204521179, -0.2417316734790802, 0.12062381953001022, 0.47085121273994446, 0.530597448348999, -0.005050606559962034, 0.5739249587059021, 0.34701263904571533, 0.5903512835502625, -0.8664662837982178, 0.17169855535030365, -0.9523594379425049, 0.05867023393511772, -0.4333292245864868, 0.010487462393939495, -0.14296841621398926, -0.31332868337631226, 0.05808417499065399, -0.7177568674087524, 0.35076069831848145, -0.039825405925512314, 1.4082648754119873, 0.4966121017932892, 0.08128976821899414, -0.11886656284332275, -0.6756923198699951, 0.515734851360321, -0.5854317545890808, 0.1939002424478531, 0.5877385139465332, 0.2848019003868103, 0.034151218831539154, -0.9349663257598877, -0.3160535395145416, 0.025746924802660942, -0.31966230273246765, 0.06457754969596863, -0.17102289199829102, 0.21983447670936584, 0.6320711374282837, 0.435524046421051, -0.6288092136383057, -0.052851270884275436, -0.320147842168808, 0.06082601100206375, 0.11403461545705795, 0.12887302041053772, -0.11777900904417038, -0.2134743332862854, -0.28321829438209534, 0.06307808309793472, -0.9392050504684448, -0.19486910104751587, 0.34928998351097107, 0.3281506896018982, -0.01064606849104166, 0.5541936755180359, -0.3456132113933563, 0.6731194853782654, 0.297583669424057, -0.041545622050762177, -0.170784592628479, -0.13370902836322784, -0.6217811703681946, -0.08024752140045166, 0.4340805411338806, 0.08454462885856628, 0.7695665955543518, -0.2748200297355652, 0.05119176208972931, -0.10862764716148376, 0.26685893535614014, -0.7464683055877686, -0.28715288639068604, -0.07886099815368652, -0.078973688185215, -0.3429352343082428, 0.09143632650375366, -0.5636732578277588, -0.24303200840950012, -0.6186410784721375, 0.23955115675926208, -0.2210354208946228, -0.1004810631275177, 0.16632011532783508, -0.08639749884605408, 0.09430035203695297, 0.03464296832680702, -1.1441165208816528, 0.13816823065280914, 0.8397783041000366, 1.2183023691177368, 0.07365480065345764, -0.2729015648365021, -0.4969140887260437, 0.3143516778945923, -0.31322985887527466, 0.6822776794433594, -0.3153362572193146, -0.13846033811569214, 0.09650272876024246, 0.03311749920248985, -0.04225887730717659, -0.6172172427177429, 0.11759458482265472, -0.40273454785346985, -0.2774587571620941, -0.008181813172996044, -0.2505786120891571, -0.1731836348772049, 0.3408239781856537, -0.8083878755569458, 1.236743688583374, 0.06947488337755203, -0.4922736883163452, 0.2754294276237488, -0.5155383944511414, -0.40807676315307617, 0.32832080125808716, 0.022976916283369064, -0.5657742619514465, 0.4549636244773865, 0.006737189367413521, 0.556920051574707, -0.5205087661743164, 0.32994842529296875, -0.11253279447555542, -0.5838529467582703, 0.10865475237369537, -0.35555458068847656, 0.5270294547080994, -0.007166782394051552, -0.6673177480697632, -0.032832395285367966, -0.569957435131073, 0.23200291395187378, 0.03870082274079323, -0.4361993372440338, -0.3307951092720032, -0.43806594610214233, 0.18001513183116913, 0.1505199372768402, -0.04536878317594528, -0.2546103596687317, 0.4308939576148987, -0.5331819653511047, 0.3896263539791107, 0.6626334190368652, -0.33339962363243103, 0.32589101791381836, -0.27608171105384827, 0.41701996326446533, -0.08224958181381226, 0.3193756639957428, -0.15638455748558044, -0.5321715474128723, -1.273500919342041, -0.29762813448905945, 0.43235698342323303, 0.20659905672073364, -0.8784320950508118, 0.2209078073501587, -0.41580134630203247, -0.6444647908210754, -0.4424305856227875, 0.40114638209342957, 0.5057408809661865, 0.5020884275436401, 0.3370647132396698, -0.14957940578460693, -0.461010605096817, -1.0364576578140259, -0.10348021984100342, -0.0035247011110186577, 0.1925654113292694, -0.09839604794979095, 0.42343080043792725, -0.1117405891418457, 0.8686923980712891, -0.6346065402030945, -0.42194706201553345, -0.16169878840446472, 0.377292275428772, 0.4219624996185303, 0.35090672969818115, 0.3813151717185974, -0.5261722207069397, -0.45209547877311707, -0.03278502821922302, -0.7081748247146606, -0.01582605391740799, -0.11934737116098404, -0.19429057836532593, -0.10606680810451508, 0.1749110370874405, -0.8133067488670349, 0.5321967601776123, 0.570457398891449, 0.07464377582073212, 0.844457745552063, -0.02739342860877514, -0.04002586752176285, -0.7186755537986755, 0.15779268741607666, 0.26667460799217224, -0.3267720639705658, -0.7938029170036316, 0.21468617022037506, 0.255315899848938, -0.3557910621166229, -0.6838647723197937, 0.3648050129413605, -0.7150258421897888, 0.017380302771925926, -0.6556441783905029, -0.5043343901634216, -0.03942699357867241, 0.9456438422203064, -0.011277716606855392, 0.9706827998161316, 0.5991038084030151, -0.6344724297523499, 0.36629366874694824, 0.06076294928789139, -0.4331338107585907, 0.4390612542629242, -0.9706422090530396, 0.4377441704273224, -0.02581024542450905, 0.08646462857723236, -0.6660826802253723, -0.27399247884750366, 0.36997222900390625, -0.004429004620760679, 0.18542298674583435, -0.7203414440155029, -0.5586114525794983, -0.40419819951057434, -0.3278730809688568, 0.33328258991241455, 0.480061411857605, -0.6157907247543335, 0.4121243953704834, 0.11270402371883392, -0.14414292573928833, -0.4528920650482178, -0.7888484597206116, 0.27574753761291504, -0.4832456111907959, -0.424024760723114, 0.2974294126033783, 0.10709734261035919, 0.22174857556819916, -0.12782789766788483, -0.01602671481668949, -0.21831652522087097, 0.2884119749069214, 0.6192942261695862, 0.09170492738485336, -0.3734765946865082, 0.2529599666595459, -0.2142794281244278, -0.4152846336364746, -0.3374134600162506, -0.4827086329460144, 0.41168248653411865, -0.18846356868743896, -0.19962342083454132, -0.507745623588562, 0.38890376687049866, 0.5374066829681396, -0.19971418380737305, 0.40744274854660034, 0.6126119494438171, -0.6115150451660156, -0.26989036798477173, -0.5498343706130981, -0.3467007875442505, -0.5506022572517395, 0.23688194155693054, -0.4815182685852051, -0.9232840538024902, 0.14822497963905334, -0.38665345311164856, 0.07785617560148239, 0.17016033828258514, 0.8671920895576477, -0.0759183019399643, 0.6927125453948975, 0.7507126331329346, -0.10773573815822601, 0.5654318332672119, -0.6071127653121948, -0.15688395500183105, -0.7429553866386414, 0.13741828501224518, -0.6191403269767761, -0.6265156865119934, -0.2748488783836365, -0.3463321030139923, 0.5626709461212158, 0.10059116035699844, -0.18402177095413208, 0.7724442481994629, -0.5497245788574219, 0.9396969079971313, 0.7425044775009155, 0.0971345454454422, 0.20461878180503845, 0.329901784658432, 0.18953099846839905, -0.025065023452043533, -0.9454623460769653, -0.5517377853393555, 1.0343472957611084, 0.08614715188741684, 1.0198074579238892, -0.03757033869624138, 0.4386776089668274, 0.15817973017692566, 0.26609569787979126, -0.936332106590271, 0.2977648973464966, -0.004512657877057791, -0.4866099953651428, -0.3755664527416229, -0.1251084804534912, -1.0076525211334229, 0.13603956997394562, -0.2705901265144348, -0.678684413433075, 0.16703814268112183, 0.33126553893089294, -0.5997753739356995, 0.1523103266954422, -0.6274610161781311, 0.5009610652923584, -0.05016900599002838, -0.5654050707817078, -0.20865057408809662, -0.3891890347003937, 0.3772337734699249, -0.09114313125610352, -0.18884140253067017, -0.2529224753379822, 0.12464052438735962, 0.8328709602355957, -0.3546634912490845, 0.9517672657966614, -0.0021351641044020653, -0.07855693995952606, 0.31338757276535034, 0.06849054247140884, 0.5374141335487366, 0.20447449386119843, -0.030319200828671455, 0.3091025650501251, -0.3993159830570221, -0.3335804045200348, -0.7979806661605835, 0.7490857839584351, -0.5847225189208984, -0.7992631196975708, -0.18416231870651245, -0.5390724539756775, -0.23595821857452393, -0.05802352353930473, 0.28571048378944397, 0.5738751292228699, 0.1653347760438919, 0.1547439694404602, 0.5654362440109253, 0.49159157276153564, 0.4965520203113556, 0.1474953442811966, 0.2630513906478882, -0.2544809877872467, 0.7620345950126648, 0.4472910761833191, 0.04900645837187767, -0.15583200752735138, 0.2995148003101349, -0.06445737928152084, -0.15415145456790924, -0.6138904690742493, 0.4397676885128021, -0.6094006896018982, -0.5821965932846069, -0.2178734689950943, -0.21693173050880432, -0.11170250922441483, -0.05994395911693573, -0.4322407841682434, -0.4602600932121277, -0.15355508029460907, 0.027726517990231514, 0.3666025698184967, 0.6770582795143127, -0.10067382454872131, 0.8365657329559326, -0.6511067748069763, 0.40656864643096924, 0.5852088928222656, 0.37368786334991455, 0.025502068921923637, -0.37479400634765625, -0.9360906481742859, 0.0986512154340744, -0.391127347946167, -0.854670524597168, 0.1377030611038208, 0.5902513861656189, 0.19508618116378784, 0.4869684875011444, -0.27969059348106384, 1.0174500942230225, -0.5776412487030029, 0.5995401740074158, 0.3402037024497986, -0.911858320236206, 0.5887569189071655, -0.06760036200284958, 0.48439937829971313, 0.49995389580726624, 0.5303009152412415, -0.6942476034164429, -0.3375204801559448, -0.534990131855011, -0.6562892198562622, 0.5700116753578186, 0.2811816930770874, 0.24007710814476013, -0.06068126857280731, 0.4865887463092804, 0.11553149670362473, -0.0874832421541214, -0.4873036742210388, -0.31453919410705566, -0.0451122410595417, -0.11661547422409058, 0.013177059590816498, -0.3348766565322876, -0.3519609868526459, -0.3490470051765442, 0.7272558808326721, -0.48448967933654785, 0.2921451926231384, 0.0034831291995942593, -0.602444052696228, -0.015476545318961143, 0.12072170525789261, 0.6161518692970276, 0.34903475642204285, 0.2041310966014862, 0.45741894841194153, 0.1666712611913681, -0.4689614772796631, 0.5638979077339172, -0.2553291320800781, -0.19308961927890778, 0.34461119771003723, 0.18701933324337006, 0.9169676899909973, 0.40959227085113525, -0.16852012276649475, 0.30650296807289124, 0.14928022027015686, -0.16882626712322235, 0.22908595204353333, 0.3371175527572632, 0.07983755320310593, 0.25757986307144165, 0.30204716324806213, -0.26031261682510376, 0.1263156533241272, -0.2591916620731354, 0.0490972101688385, 0.145496666431427, -0.5251919031143188, -0.5010181665420532, 0.5646611452102661, 0.22821882367134094, -0.19397932291030884, 0.5217994451522827, 0.1846737116575241, -0.37300974130630493, 0.7180440425872803, 0.5191065073013306, 0.8944162726402283, 0.08404559642076492, 0.028711596503853798, 0.37365061044692993, 0.43851834535598755, -0.18667379021644592, -0.15621480345726013, -0.1650913804769516, -0.26800569891929626, -0.546089231967926, -0.2593702971935272, -0.4085794687271118, 0.19117547571659088, -0.5639100670814514, 0.4425922930240631, -0.38947683572769165, -0.696444034576416, 0.04477953165769577, -0.258063405752182, -0.9568833112716675, 0.14584161341190338, 0.28768593072891235, 0.6735802292823792, -0.8751360177993774, 0.9259601831436157, 0.7798522114753723, -0.2747211456298828, -0.708212673664093, 0.02536487579345703, 0.12442696839570999, -0.7410275340080261, 0.748838484287262, 0.2977626323699951, -0.19731606543064117, 0.40154317021369934, -0.6505939364433289, -0.9520695209503174, 0.9711983799934387, 0.5565443634986877, -0.7339124083518982, -0.30493953824043274, 0.4881613254547119, 0.1657068282365799, 0.1473432034254074, 0.3710029125213623, 0.6249053478240967, 0.5563042163848877, -0.1797802597284317, -0.89894038438797, -0.1456088274717331, -0.22983989119529724, 0.2190726101398468, 0.07043889164924622, -0.6414905190467834, 0.569794237613678, 0.006384902633726597, -0.5569814443588257, -0.04699471965432167, 0.9034608006477356, -0.10956429690122604, -0.18891151249408722, 0.4613766372203827, 0.6795545220375061, 0.7338256239891052, -0.3532215654850006, 0.8594872355461121, -0.45530322194099426, 0.6424808502197266, 1.074027419090271, -0.09314675629138947, 0.2610276937484741, 0.5284372568130493, 0.18338237702846527, 0.2655460834503174, 0.3294200003147125, 0.027626466006040573, 0.4978453814983368, 0.5409020185470581, -0.042509984225034714, -0.28394845128059387, -0.31129634380340576, -0.3056372404098511, 0.5098836421966553, 0.21335043013095856, 0.06771865487098694, -0.5424888134002686, 0.3421902358531952, 0.1641337275505066, -0.36206895112991333, -0.2262110412120819, 0.8205302953720093, 0.15611332654953003, -0.6191524267196655, 1.0492385625839233, 0.1916043609380722, 0.9851222038269043, -0.7565486431121826, 0.1442064791917801, -0.48325014114379883, -0.03892954811453819, -0.21818841993808746, -0.5610288977622986, 0.37080565094947815, 0.38693395256996155, -0.12214097380638123, -0.11341242492198944, 0.8633298277854919, -0.4181678295135498, -0.35021233558654785, -0.17048196494579315, 0.6043185591697693, 0.11291143298149109, -0.22400636970996857, -0.6373587250709534, -0.07945993542671204, -0.5699422359466553, -0.590183436870575, 0.18208783864974976, 0.3142782151699066, -0.012723066844046116, 0.6346995830535889, 0.6619239449501038, 0.19367405772209167, 0.30340418219566345, 0.1525888890028, 0.742843508720398, -0.5987842679023743, -0.5068029761314392, -1.0505107641220093, 0.3935507535934448, 0.10338866710662842, -0.6089085936546326, 0.5409844517707825, 0.5075428485870361, 0.5087000131607056, -0.280595988035202, 0.6691632270812988, 0.19423963129520416, -0.2612166404724121, -0.5932190418243408, 0.683742105960846, -0.27689898014068604, -0.42727139592170715, 0.020642844960093498, -0.9299320578575134, -0.3392951786518097, 0.39591729640960693, -0.020922575145959854, -0.2144588977098465, 0.6112967729568481, 1.1012006998062134, -0.2953531742095947, -0.07088043540716171, 0.6250531673431396, -0.1930040419101715, 0.012164640240371227, 0.794775128364563, 0.8019570708274841, -0.45904383063316345, 0.48714199662208557, -0.2913972735404968, -0.04883524775505066, -0.35481494665145874, -0.7155507206916809, -0.9429752230644226, -0.5437183380126953, -0.5534295439720154, -0.09463139623403549, 0.39774268865585327, 0.9342771172523499, 1.2910016775131226, -0.4732755720615387, -0.3701341450214386, 0.16185598075389862, 0.05275873839855194, -0.42047515511512756, -0.12838822603225708, 0.27011680603027344, -0.47856754064559937, -0.7957740426063538, 0.2193700075149536, 0.33326342701911926, 0.12527228891849518, -0.2520483732223511, -0.02587335929274559, -0.2249714583158493, 0.12806905806064606, 0.4324382543563843, 0.22181425988674164, -0.5258434414863586, -0.34623828530311584, -0.1301029920578003, -0.5020546913146973, 0.16809548437595367, 1.0000455379486084, -0.7404459714889526, 0.0831664651632309, 0.2362387627363205, 0.7350861430168152, 0.5891172885894775, -0.1389089673757553, 0.3377632796764374, -0.8975278735160828, 0.3055257201194763, -0.20960880815982819, 0.3498696982860565, 0.14484643936157227, -0.25428563356399536, 0.8638559579849243, 0.35436680912971497, -0.326287180185318, -0.48405539989471436, 0.1196889579296112, -0.6322548389434814, -0.0011588922934606671, 1.3180394172668457, -0.19203412532806396, -0.4196019768714905, -0.03679823502898216, -0.21162199974060059, 0.4078082740306854, -0.03313435986638069, 0.7767120003700256, 0.7678778171539307, 0.2825500965118408, 0.00390105159021914, -0.4258407652378082, 0.47028666734695435, 0.5810773372650146, -0.910336971282959, 0.1742747575044632, 0.25754210352897644, 0.10727673023939133, 0.007685357704758644, 0.2476927638053894, 0.2826331853866577, 0.4974072575569153, -0.3590618073940277, 0.08324407041072845, -0.5640775561332703, -0.7554736137390137, -0.4301854074001312, 0.3458036184310913, -0.003206590423360467, -0.17451037466526031 ]
http://arxiv.org/abs/2402.17793v1
http://arxiv.org/pdf/2402.17793v1
A Surprising Failure? Multimodal LLMs and the NLVR Challenge
2024-02-26T18:37:18
2024-02-26T18:37:18
Anne Wu, Kianté Brantley, Yoav Artzi
cs.AI
cs.AI, cs.CL, cs.LG
This study evaluates three state-of-the-art MLLMs -- GPT-4V, Gemini Pro, and the open-source model IDEFICS -- on the compositional natural language vision reasoning task NLVR. Given a human-written sentence paired with a synthetic image, this task requires the model to determine the truth value of the sentence with respect to the image. Despite the strong performance demonstrated by these models, we observe they perform poorly on NLVR, which was constructed to require compositional and spatial reasoning, and to be robust for semantic and systematic biases.
[ -0.3417580723762512, -0.6490285992622375, 0.9300802946090698, 0.4933702349662781, -0.24138590693473816, 0.24333015084266663, 0.10670514404773712, -0.4137800633907318, -0.28120821714401245, 0.5500585436820984, -0.9608038663864136, -0.6837430000305176, -0.47241947054862976, 0.5255323648452759, -0.3851078450679779, 0.8958114385604858, -0.28992199897766113, 0.0651121586561203, -0.7305700778961182, -0.37323471903800964, -0.678235650062561, -0.33695003390312195, -0.24563691020011902, -0.16322633624076843, 0.4988059103488922, 0.1380011886358261, 0.6079870462417603, 0.16746270656585693, 0.992556631565094, 0.29074376821517944, 0.056419748812913895, 0.7015273571014404, -0.151967853307724, 0.198103666305542, -0.0069048963487148285, -0.5511369705200195, -0.13577701151371002, 0.03424055501818657, 0.6612147092819214, 0.5262684226036072, -0.062358029186725616, -0.07347659021615982, -0.22585302591323853, 0.9482041001319885, -0.5259130597114563, 0.1677800565958023, -0.7382634282112122, 0.31734126806259155, 0.09016537666320801, -0.03410014137625694, -0.3422609567642212, -0.1689792424440384, 0.35324838757514954, -0.8003957867622375, 0.09789878875017166, 0.3076125383377075, 0.7331557273864746, 0.743293046951294, -0.5733998417854309, -0.37474873661994934, -0.7346314191818237, 0.846483588218689, -0.6588447690010071, 0.16949562728405, 0.1179194226861, 0.3247242271900177, -0.21393410861492157, -0.6456116437911987, -0.7548238039016724, -0.6054375767707825, 0.09613864868879318, 0.2875930070877075, -0.25707530975341797, 0.1542801409959793, 0.2493181973695755, 0.20296166837215424, -0.6303395628929138, 0.002651033690199256, -0.44513118267059326, -0.19594824314117432, 0.39136824011802673, 0.7107988595962524, 0.2800901234149933, -0.33207401633262634, -0.7652794122695923, 0.0286551620811224, -0.5583915710449219, -0.1592855602502823, 0.45402777194976807, 0.06113453209400177, -0.2510591149330139, 0.9243922829627991, 0.049461036920547485, 1.0445877313613892, -0.3069460988044739, -0.37627309560775757, 0.3173205852508545, -0.6786645650863647, -0.34987831115722656, -0.2846057415008545, 0.8307427167892456, 0.8919140100479126, 0.10287565737962723, -0.0011552729411050677, -0.29322633147239685, 0.45507198572158813, 0.23342013359069824, -0.19476278126239777, -0.17985250055789948, 0.44963163137435913, -0.26724421977996826, -0.363223671913147, 0.014298048801720142, -0.26443904638290405, -0.3880085349082947, -0.5040779113769531, 0.7328740954399109, -0.5265066027641296, -0.009141634218394756, 0.12999333441257477, -0.36306384205818176, 0.3379039764404297, 0.5875616073608398, -0.8129382133483887, -0.006675867363810539, 0.4275127947330475, 0.8886582851409912, -0.523228645324707, -0.3738440275192261, -0.08260108530521393, 0.0022550246212631464, -0.3829461336135864, 0.9109551310539246, -0.0926971286535263, -0.46573537588119507, -0.25462454557418823, -0.15908469259738922, -0.2769671678543091, -0.6421712636947632, 0.6320094466209412, -0.1470927596092224, 0.41058534383773804, -0.4576096534729004, -0.4940890073776245, -0.19079582393169403, 0.7616917490959167, -0.7387580871582031, 1.0538558959960938, 0.13497255742549896, -1.0185644626617432, 0.363300085067749, -0.7036440372467041, -0.36557537317276, 0.022550849243998528, -0.389757364988327, -0.36993682384490967, 0.0586126372218132, 0.0834684744477272, 0.43310415744781494, -0.21746298670768738, 0.3795434534549713, -0.13868670165538788, -0.4727727472782135, 0.4264070689678192, -0.6439548134803772, 0.8311472535133362, 0.0524388886988163, -0.35948941111564636, 0.327065110206604, -0.954597532749176, -0.2845654785633087, 0.39074504375457764, -0.5875629782676697, -0.06513858586549759, 0.13468316197395325, -0.012633830308914185, 0.26726034283638, 0.0002142678276868537, -0.6035534143447876, 0.20658206939697266, -0.1771213710308075, 0.40997937321662903, 0.7675048112869263, -0.14976581931114197, 0.43172964453697205, -0.4416446089744568, 0.4589694142341614, 0.07146807760000229, 0.3581137955188751, -0.28984373807907104, -0.8641244173049927, -0.8270757794380188, -0.2760108709335327, -0.19150908291339874, 0.8153207898139954, -1.1922900676727295, 0.01732444390654564, -0.13319119811058044, -0.3331747353076935, -0.46268218755722046, 0.1876073181629181, 0.3063657879829407, 0.6304578185081482, 0.2750101685523987, -0.17467401921749115, -0.48704591393470764, -1.2345757484436035, -0.10051410645246506, -0.18239657580852509, 0.12179306149482727, 0.2189466953277588, 0.6973890662193298, -0.5121136903762817, 0.8711462616920471, -0.2622259259223938, -0.6676929593086243, -0.21410496532917023, 0.06341557949781418, 0.09417527168989182, 0.18746572732925415, 0.6226797103881836, -0.7771611213684082, -0.21726232767105103, -0.12093755602836609, -0.9862107038497925, 0.09832951426506042, -0.01829942688345909, 0.1738167703151703, 0.6280640363693237, 0.3664579391479492, -0.797684907913208, 0.49644777178764343, 0.9090884923934937, -0.3333483934402466, 0.8906360864639282, -0.4135209619998932, -0.027472885325551033, -0.6987763047218323, -0.15978918969631195, 0.17516343295574188, -0.13281555473804474, -0.5120673775672913, -0.15031380951404572, -0.14859114587306976, 0.287445604801178, -0.6208231449127197, 0.35307997465133667, -0.39355501532554626, -0.20030958950519562, -0.18603667616844177, 0.11575242131948471, 0.18499766290187836, 0.5675021409988403, -0.12574617564678192, 0.42670977115631104, 0.5517967343330383, -0.4075804054737091, 0.9561260938644409, 0.18469353020191193, -0.6175427436828613, 0.7367538213729858, -0.6056640148162842, 0.10445474833250046, -0.5249523520469666, 0.21471449732780457, -1.1871751546859741, -0.4257241487503052, 0.36094728112220764, -0.2136356085538864, -0.044168513268232346, 0.1716977059841156, -0.604741096496582, -0.44819915294647217, -0.33061638474464417, 0.2245999574661255, 0.03614599257707596, -0.4029041826725006, 0.8918101787567139, -0.010232415050268173, 0.3163708746433258, -0.6534770131111145, -1.0631046295166016, 0.3872632682323456, -0.1907050758600235, -0.7816210389137268, 0.27143749594688416, -0.23912115395069122, -0.574845016002655, 0.29969334602355957, 0.12208227068185806, 0.22235462069511414, 0.023113399744033813, 0.26451006531715393, 0.5725159049034119, -0.10526891052722931, -0.08062108606100082, -0.32128164172172546, 0.049155715852975845, 0.23389066755771637, -0.021733447909355164, -0.07000317424535751, -0.6150413751602173, -0.7486869692802429, -0.4322708249092102, 0.3734935224056244, 0.7906069159507751, -0.0902748852968216, 0.7334864139556885, 0.878898561000824, -0.1845265030860901, -0.21893323957920074, -0.587696373462677, 0.004390896763652563, -0.42669549584388733, 0.27716267108917236, -0.2561036944389343, -0.9834282994270325, 0.32119208574295044, 0.2962285578250885, 0.02530388906598091, 0.34869635105133057, 0.6229852437973022, -0.525925874710083, 0.8864620327949524, 0.3012246787548065, 0.42955461144447327, 0.12395097315311432, -0.31481701135635376, 0.1694740355014801, -0.7820134162902832, -0.7198563814163208, 0.06046763062477112, -0.4453897774219513, -0.4510129690170288, -0.6426379084587097, 0.7003923654556274, -0.44238921999931335, -0.12792685627937317, -0.018579700961709023, -0.47738274931907654, 0.3037385046482086, 1.0348446369171143, 0.12092019617557526, 0.3943409025669098, 0.046797532588243484, -0.592011570930481, -0.1306685358285904, -0.6490839123725891, -0.4550721347332001, 0.9930123686790466, 0.22919867932796478, 0.7247392535209656, 0.31005045771598816, 0.26816698908805847, 0.11225743591785431, 0.26437386870384216, -0.7079926133155823, 0.5671796798706055, -0.1940387338399887, -0.8117574453353882, -0.13108965754508972, -0.2007865309715271, -0.6229082942008972, 0.5593583583831787, -0.45464256405830383, -0.4606717824935913, -0.056823745369911194, 0.14398899674415588, -0.3222252428531647, 0.36177125573158264, -0.5897855758666992, 1.1370447874069214, -0.5815496444702148, -0.31452831625938416, 0.257488489151001, -1.0571401119232178, 0.708111584186554, 0.021959614008665085, 0.295848548412323, -0.4294079542160034, -0.06034804508090019, 0.4531329274177551, -0.20732954144477844, 0.8223641514778137, -0.09576418995857239, 0.002996784169226885, 0.5940336585044861, 0.13491617143154144, 0.2735225558280945, -0.0967218279838562, 0.3186505138874054, 0.017618514597415924, -0.06933616101741791, -0.12776508927345276, -0.6794958710670471, 0.4778776466846466, -0.5712021589279175, -0.5109025835990906, -0.44770559668540955, -0.4937947392463684, -0.22317388653755188, -0.10264553874731064, 0.29799485206604004, 0.4880478084087372, -0.12667086720466614, 0.23260624706745148, 0.5632162094116211, -0.18452094495296478, 0.5519096851348877, 0.21372713148593903, -0.35849958658218384, -0.604716420173645, 0.659396231174469, -0.2700427174568176, 0.475929319858551, 0.3368513584136963, 0.03276043385267258, -0.4510629177093506, -0.7526161670684814, -0.5419115424156189, 0.07207413762807846, -1.0816532373428345, -0.16191454231739044, -0.49633219838142395, -0.14442381262779236, 0.12928985059261322, -0.013409344479441643, -0.3854333162307739, -0.30020299553871155, -0.4631195068359375, -0.24443528056144714, 0.09133566915988922, 0.9032655954360962, 0.002517123706638813, -0.029370691627264023, -0.8765620589256287, 0.472408264875412, 0.3758203983306885, 0.14300590753555298, -0.3896593451499939, -0.38528409600257874, -0.005409061908721924, -0.169093519449234, -0.4363968074321747, -0.675559401512146, 0.29740336537361145, -0.03885382413864136, 0.7309306263923645, 0.22546789050102234, -0.18153692781925201, 0.3883230984210968, -0.3912203013896942, 0.9941713809967041, 0.44490811228752136, -0.6251328587532043, 0.5896698236465454, -0.4237861931324005, 0.43888112902641296, 0.45580586791038513, 0.1476229429244995, -0.2877611815929413, -0.3415253460407257, -0.18131287395954132, -0.7688292264938354, 0.3156678378582001, 0.3927278220653534, 0.10358916968107224, -0.10165845602750778, 0.21242795884609222, 0.04620835557579994, 0.15327559411525726, -1.0842746496200562, -0.38644254207611084, -0.25343260169029236, -0.4960656762123108, 0.03769252076745033, -0.28631266951560974, -0.09873117506504059, -0.4205659329891205, 0.4259893596172333, -0.3494233787059784, 0.16440612077713013, 0.5873027443885803, -0.029322808608412743, 0.08735712617635727, 0.06994009017944336, 1.03984534740448, 0.5119423270225525, -0.2866306006908417, 0.2713644504547119, 0.08625385165214539, -0.22191503643989563, 0.2864973247051239, -0.14323724806308746, -0.26589399576187134, 0.08382554352283478, 0.6825209856033325, 1.2395771741867065, 0.35710299015045166, -0.9894379377365112, 0.7497762441635132, -0.23614268004894257, -0.8136721849441528, -0.4436376392841339, -0.06863877922296524, 0.2568107843399048, 0.3465040624141693, 0.36741772294044495, 0.6085983514785767, -0.06814496964216232, -0.5237480401992798, -0.19947995245456696, 0.701165497303009, -0.4046241343021393, -0.26216381788253784, 0.9671666622161865, 0.041008513420820236, 0.03118167631328106, 0.7834199070930481, -0.22432774305343628, -0.6222232580184937, 0.5946952104568481, 0.31937140226364136, 0.7165250182151794, 0.18070334196090698, 0.17473340034484863, 0.16637136042118073, 0.7479555606842041, -0.2443973273038864, 0.4405304789543152, 0.15509682893753052, -1.1051322221755981, -0.7031875252723694, -0.46907275915145874, -0.6748784184455872, -0.08929373323917389, -0.23195944726467133, 0.14166118204593658, -0.4009702503681183, -0.30099424719810486, -0.2257874459028244, -0.45251214504241943, -0.8645179867744446, 0.26292330026626587, 0.37914255261421204, 0.7137770056724548, -0.8330901265144348, 0.49405524134635925, 0.861614465713501, -0.2705255150794983, -0.5401848554611206, -0.5280941128730774, 0.15933941304683685, -0.6310902833938599, 0.9472688436508179, 0.19968441128730774, -0.25904297828674316, -0.2245596945285797, -0.5652900338172913, -0.7174196243286133, 1.1597225666046143, 0.6052350401878357, -0.4285750091075897, -0.232435941696167, 0.15896549820899963, 0.473812073469162, -0.4105530381202698, -0.10890112072229385, 0.44533681869506836, 0.7031452059745789, 0.29866060614585876, -1.0739102363586426, -0.15341418981552124, -0.09421868622303009, -0.044683799147605896, -0.21090015769004822, -0.4611334502696991, 0.8786724209785461, -0.7102094888687134, -0.16276268661022186, 0.061662834137678146, 0.45227494835853577, 0.48431074619293213, 0.49846887588500977, 0.5337140560150146, 0.9438852071762085, 0.4730711281299591, -0.2356104552745819, 1.29612135887146, 0.2644500732421875, 0.18021529912948608, 0.9871997833251953, -0.31909510493278503, 0.7615306377410889, 0.6113202571868896, -0.3167915940284729, 0.5413560271263123, 0.3957992196083069, -0.2506098449230194, 0.6766502261161804, 0.22408005595207214, -0.5138651132583618, -0.19876566529273987, 0.23947469890117645, 0.19953973591327667, 0.7590364217758179, 0.39647603034973145, -0.1892775446176529, 0.05210793763399124, 0.3381578326225281, -0.5755398869514465, -0.0014445451088249683, -0.19216568768024445, 0.6745322942733765, 0.24749326705932617, -0.7762940526008606, 0.35913151502609253, 0.11237658560276031, 0.7430275082588196, -0.26150763034820557, -0.08872777223587036, -0.005387512501329184, 0.187739759683609, -0.24262814223766327, -0.8329837322235107, 0.4918924570083618, -0.2013273686170578, -0.04257960990071297, -0.15558841824531555, 0.6990039348602295, -0.3047562837600708, -0.6559264063835144, 0.2637413442134857, 0.5346278548240662, 0.0629810243844986, -0.26573100686073303, -0.7360127568244934, 0.44060856103897095, 0.049948014318943024, -0.17206445336341858, -0.06772958487272263, 0.13306285440921783, 0.07829361408948898, 1.0491414070129395, 0.5644358992576599, -0.26649096608161926, 0.4240109324455261, 0.2120029777288437, 0.6503735184669495, -0.7341039180755615, -0.1279722899198532, -1.089460849761963, 0.7381858229637146, 0.1209251806139946, -0.15319252014160156, 0.8867968320846558, 0.45798563957214355, 0.6706525087356567, -0.2424013763666153, 0.8498634696006775, 0.33502355217933655, 0.20344975590705872, -0.806259274482727, 0.18429899215698242, -0.5920078754425049, 0.27602335810661316, -0.09490735083818436, -1.0047005414962769, -0.7661909461021423, 0.6076309680938721, 0.05360366776585579, -0.08016711473464966, 0.9511117339134216, 0.635667085647583, 0.27689439058303833, -0.09337235242128372, 0.44812384247779846, -0.030320972204208374, 0.17244264483451843, 0.7212757468223572, 1.3620415925979614, -0.3245619833469391, 0.6032814979553223, -0.3417237401008606, 0.08002184331417084, -0.16256390511989594, -1.2160871028900146, -0.9494571089744568, -0.5818698406219482, -0.4636354446411133, -0.2682666778564453, -0.13944636285305023, 0.775681734085083, 0.4451148211956024, -0.4427076578140259, 0.28184449672698975, -0.23834510147571564, 0.087506964802742, 0.15719270706176758, -0.21338343620300293, 0.1795508712530136, -0.08315242826938629, -0.6008602976799011, 0.667131781578064, 0.7480143904685974, 0.40901896357536316, -0.6283859610557556, -0.16697679460048676, -0.053745195269584656, -0.020045485347509384, 0.8381705284118652, -0.15382014214992523, -1.2852391004562378, -0.2233513444662094, 0.17566214501857758, -0.29179173707962036, 0.15753602981567383, 0.6167420744895935, -0.7164060473442078, 0.5428903102874756, 0.3058364689350128, 0.4664416015148163, 0.4892243444919586, -0.05399441719055176, 0.34753474593162537, -0.6948413252830505, 0.010223514400422573, 0.3738638758659363, 0.6464397311210632, 0.8932075500488281, -0.01092408038675785, 0.3907720744609833, 0.631153404712677, -0.45696449279785156, -0.6185662150382996, 0.1738385707139969, -1.3857049942016602, -0.3573595881462097, 1.1693538427352905, 0.04205234721302986, -0.3280068039894104, -0.12602095305919647, -0.4965822994709015, -0.31208741664886475, 0.16753657162189484, 0.4057435989379883, 0.8997376561164856, -0.3760734796524048, -0.33844971656799316, -0.8097100853919983, 0.31707754731178284, 0.12458838522434235, -0.5506020188331604, -0.4935920834541321, 0.735881507396698, 0.43823331594467163, 0.1877354383468628, 0.7299776673316956, -0.05947330221533775, 0.22326397895812988, 0.1292937994003296, 0.042460519820451736, -0.3100597858428955, -0.28144311904907227, -0.3015408515930176, 0.24450667202472687, 0.06633759289979935, -0.18834049999713898 ]
http://arxiv.org/abs/2402.16810v1
http://arxiv.org/pdf/2402.16810v1
OncoGPT: A Medical Conversational Model Tailored with Oncology Domain Expertise on a Large Language Model Meta-AI (LLaMA)
2024-02-26T18:33:13
2024-02-26T18:33:13
Fujian Jia, Xin Liu, Lixi Deng, Jiwen Gu, Chunchao Pu, Tunan Bai, Mengjiang Huang, Yuanzhi Lu, Kang Liu
cs.CL
cs.CL
In the past year, there has been a growing trend in applying Large Language Models (LLMs) to the field of medicine, particularly with the advent of advanced language models such as ChatGPT developed by OpenAI. However, there is limited research on LLMs specifically addressing oncology-related queries. The primary aim of this research was to develop a specialized language model that demonstrates improved accuracy in providing advice related to oncology. We performed an extensive data collection of online question-answer interactions centered around oncology, sourced from reputable doctor-patient platforms. Following data cleaning and anonymization, a dataset comprising over 180K+ oncology-related conversations was established. The conversations were categorized and meticulously reviewed by field specialists and clinicians to ensure precision. Employing the LLaMA model and other selected open-source datasets, we conducted iterative fine-tuning to enhance the model's proficiency in basic medical conversation and specialized oncology knowledge. We observed a substantial enhancement in the model's understanding of genuine patient inquiries and its reliability in offering oncology-related advice through the utilization of real online question-answer interactions in the fine-tuning process. We release database and models to the research community (https://github.com/OncoGPT1).
[ -0.0822441354393959, -1.1528247594833374, 0.9859858155250549, -0.1423175185918808, -0.19867630302906036, 0.014621851034462452, -0.2644886076450348, -0.268964558839798, 0.15268225967884064, 0.9321283102035522, -0.5614579916000366, -0.6547414064407349, -0.692406415939331, -0.09049642086029053, -0.033080536872148514, 1.1485005617141724, 0.26040568947792053, 0.40557795763015747, -0.172957181930542, -0.1105680987238884, -0.1674114316701889, -0.39429914951324463, -1.1092395782470703, -0.36169686913490295, 0.6711141467094421, 0.6011697053909302, 0.7054343223571777, 0.6434629559516907, 0.7332592606544495, 0.1068667396903038, -0.23840971291065216, 0.14476823806762695, -0.5931578278541565, 0.06029023230075836, -0.09326494485139847, -0.4007725715637207, -0.8384773135185242, -0.3407762944698334, -0.0035053773317486048, 0.72526615858078, -0.7113763093948364, -0.17721174657344818, -0.09734995663166046, 0.14390237629413605, -0.44378042221069336, 0.17715802788734436, -0.9037304520606995, 0.10827530920505524, 0.0038875832688063383, -0.2409789115190506, -0.07782741636037827, -0.4486556053161621, 0.23925337195396423, -0.657889723777771, -0.0976109728217125, -0.1497630774974823, 0.4736414849758148, 0.2951076626777649, -0.4690452814102173, -0.6320582032203674, -0.5441311597824097, 0.504338264465332, -1.0020920038223267, 0.0878257229924202, 0.6692330241203308, 0.48481646180152893, -0.05270041525363922, -1.112160563468933, -0.30659979581832886, -0.4105333983898163, -0.025443485006690025, 0.22580456733703613, -0.3152538239955902, 0.476086288690567, 0.08336616307497025, 0.2130042463541031, -0.3104916512966156, 0.18023578822612762, -0.25172755122184753, -0.09628722071647644, 0.5355933308601379, 0.41493022441864014, 0.3389832079410553, 0.1972208470106125, -0.13210533559322357, 0.4935830533504486, -0.7841610908508301, -0.2105470895767212, -0.1580677032470703, 0.1982221156358719, 0.08205871284008026, 0.737291157245636, -0.4112034738063812, 0.7899990081787109, 0.09231371432542801, -0.11177437752485275, -0.38554707169532776, -0.5541349053382874, -0.21173684298992157, 0.12787576019763947, 0.8092759847640991, 0.4197562336921692, 0.40265047550201416, -0.21238131821155548, 0.4965898096561432, -0.10578841716051102, 0.3883959650993347, -0.7489908337593079, -0.37256184220314026, 0.3295510411262512, -0.35629400610923767, -0.4670427739620209, -0.23322097957134247, -0.6748802065849304, -0.4337700605392456, 0.22577063739299774, 0.19417616724967957, -0.15902477502822876, -0.047662731260061264, 0.3560458719730377, 0.31179162859916687, -0.09428507089614868, 0.3206222653388977, -0.6738056540489197, 0.20998291671276093, 0.6378419995307922, 0.7159909009933472, 0.14298298954963684, 0.10238773375749588, -0.5574734807014465, 0.3480221629142761, 0.018428348004817963, 0.8803471922874451, -1.1339343786239624, -0.4510839879512787, -0.020294230431318283, -0.03950260579586029, -0.11965375393629074, -0.20198121666908264, 0.623595118522644, -0.29049235582351685, 0.4643914997577667, -0.3823707699775696, -0.5223535299301147, -0.1297464221715927, 0.6970993876457214, -0.2511783838272095, 0.5089482665061951, 0.0026671483647078276, -0.8088437914848328, 0.050542958080768585, -0.9920059442520142, 0.006529575679451227, 0.22410047054290771, -0.25051945447921753, -0.3920075297355652, -0.17375482618808746, 0.48059165477752686, 0.5448700189590454, -0.6567612290382385, 0.29463815689086914, -0.23138479888439178, -0.09352687746286392, 0.2547706663608551, -0.08239223062992096, 0.6963817477226257, 0.4159431457519531, -0.10971934348344803, 0.06159292533993721, -0.5939756631851196, 0.1887943297624588, 0.06198218837380409, -0.26144424080848694, -0.2072228491306305, -0.08876964449882507, -0.3310750126838684, 0.05968528240919113, 0.1581134796142578, -0.7904124855995178, 0.5471316576004028, -0.5679702162742615, 0.822830080986023, 0.012264600023627281, 0.3546672463417053, -0.031333763152360916, -0.35982924699783325, 0.5757191777229309, -0.27118632197380066, 0.32892298698425293, -0.33038491010665894, -0.9142025113105774, -0.5202207565307617, -0.23276396095752716, 0.23325425386428833, 0.7563943862915039, -0.6314418911933899, 0.03930016979575157, -0.2700415849685669, -0.5739624500274658, -0.5146632790565491, -0.1531594693660736, 0.485243558883667, 0.5171226263046265, 0.32474657893180847, -0.5922098159790039, -0.3594619035720825, -0.700635552406311, -0.15673501789569855, -0.05911905691027641, -0.001449289615266025, 0.8251423239707947, 0.047966957092285156, -0.5880012512207031, 0.9264862537384033, -0.7639365196228027, -0.30302852392196655, -0.18503670394420624, 0.022933892905712128, -0.020280184224247932, -0.004648102447390556, 0.2584947645664215, -0.44905295968055725, -0.6122926473617554, 0.5339630842208862, -0.5634408593177795, -0.36321061849594116, 0.21272848546504974, 0.0028689929749816656, -0.31205299496650696, 0.3973982632160187, -0.6153544187545776, 0.37344974279403687, 0.6606858372688293, -0.3011806905269623, -0.03614138811826706, -0.4695284962654114, 0.3506247401237488, -1.187162160873413, 0.19908031821250916, -0.25364020466804504, -0.33422958850860596, -0.8633900284767151, 0.057013873010873795, -0.40894898772239685, -0.18911555409431458, -0.37924307584762573, 0.44714969396591187, -0.21106794476509094, 0.12107713520526886, -0.3966761827468872, 0.05903645604848862, -0.23345065116882324, 0.441550076007843, 0.1532547026872635, 0.5703608989715576, 0.4066149890422821, -0.5295289754867554, 0.37821006774902344, 0.550767719745636, -0.34355437755584717, 0.4401243031024933, -0.8952978253364563, 0.5169907808303833, 0.2820245623588562, 0.2866446375846863, -0.8957239389419556, -0.3217509388923645, 0.3895469009876251, -0.2795214056968689, -0.0935496911406517, -0.3494800925254822, -0.11662070453166962, -0.05039472132921219, 0.21728603541851044, 0.4335957467556, 0.2811698019504547, 0.007942293770611286, 0.4751625955104828, 0.5748291611671448, -0.7879708409309387, -0.3712235391139984, -0.7898155450820923, 0.17865023016929626, -0.017482096329331398, -0.6329519748687744, 0.25251930952072144, -0.06355124711990356, -0.2860775887966156, -0.03462506830692291, 0.4928036332130432, -0.4662417471408844, -0.06408191472291946, 0.007305520586669445, -0.218109130859375, -0.131906196475029, 0.2670117914676666, 0.1050162985920906, -0.02076544612646103, -0.10293004661798477, -0.139637291431427, 0.7251248359680176, 0.15054263174533844, -0.6394501328468323, -0.22817441821098328, 0.22878840565681458, 0.529723048210144, -0.1739536076784134, 0.8080158829689026, 0.37379226088523865, -0.26057833433151245, 0.22787633538246155, -0.51039719581604, -0.3868916630744934, -0.371714323759079, 0.42851758003234863, -0.15933795273303986, -1.1070178747177124, 0.5571607351303101, -0.18011297285556793, 0.05030243843793869, 0.17740613222122192, 1.0608725547790527, 0.17547056078910828, 1.0234843492507935, 0.454141765832901, 0.0004677079850807786, 0.2604888081550598, -0.05746718868613243, 0.2574981451034546, -0.6896024346351624, -0.33720752596855164, -0.44741418957710266, 0.15409636497497559, -0.5140851140022278, -0.6193851828575134, 0.6552019715309143, -0.41062498092651367, -0.39496946334838867, 0.08082070201635361, -0.5873514413833618, 0.31591126322746277, 0.12588167190551758, 0.5252102017402649, 0.5993661880493164, 0.05853498354554176, 0.11739679425954819, -0.04614455997943878, -1.0634499788284302, -0.38905271887779236, 1.4930325746536255, 0.4021146893501282, 0.6584376096725464, 0.08008632063865662, 0.06585461646318436, 0.2644224464893341, 0.15598343312740326, -0.7473744750022888, 0.34945744276046753, -0.12393997609615326, -0.5955141186714172, -0.19354692101478577, -0.5611969232559204, -1.1560131311416626, -0.0655326247215271, -0.17344245314598083, -0.7732447981834412, -0.12390978634357452, 0.18364132940769196, -0.6146909594535828, 0.3133557438850403, -0.1662888377904892, 0.8031222224235535, -0.34594130516052246, -0.2848854064941406, -0.2133347988128662, -0.6559460759162903, 0.27085423469543457, -0.10304862260818481, 0.15132759511470795, -0.046723686158657074, -0.16128186881542206, 0.21223758161067963, -0.5530642867088318, 0.9072219133377075, 0.0949225202202797, -0.2614842355251312, 0.37183427810668945, 0.012697892263531685, 0.8156951665878296, 0.030355852097272873, -0.1747252494096756, 0.2984553277492523, 0.04811091721057892, -0.3912319540977478, -0.48014938831329346, 0.7072741389274597, -0.6093039512634277, -0.4921248257160187, -0.03611685708165169, -0.4847353994846344, -0.5009263157844543, -0.11070872843265533, 0.5127138495445251, 0.35420629382133484, -0.3743363916873932, 0.16905292868614197, 0.6270536780357361, -0.4208086133003235, -0.20609888434410095, 0.628643810749054, -0.15538527071475983, -0.3627171218395233, 0.5364766716957092, 0.07942674309015274, 0.42631086707115173, 0.3731166422367096, 0.4317565858364105, -0.022693131119012833, -0.6410507559776306, -0.34024420380592346, 0.08946366608142853, -0.6930756568908691, -0.02228235825896263, -1.0842167139053345, -0.23112539947032928, -0.5157833695411682, 0.05560428276658058, -0.2423180192708969, -0.4451010525226593, -0.11436732113361359, -0.03652782365679741, 0.6550695896148682, 0.8239295482635498, 0.436361163854599, 0.6301304697990417, -0.9737533330917358, -0.20047171413898468, 0.4100364148616791, 0.10232662409543991, -0.1860986351966858, -0.8416632413864136, -0.18643659353256226, 0.4213251769542694, -0.2754584550857544, -0.8266748189926147, 0.4164005219936371, 0.46729665994644165, 0.6207736134529114, 0.35798126459121704, -0.10455391556024551, 0.3686348795890808, -0.20826902985572815, 0.719690203666687, 0.023378318175673485, -0.6498405337333679, 0.587801456451416, -0.8312486410140991, 0.353484183549881, 0.37221774458885193, 0.46359995007514954, -0.714378833770752, -0.36928898096084595, -0.6821357011795044, -0.4850640296936035, 0.6454329490661621, 0.4204609990119934, 0.10358891636133194, 0.1446520835161209, 0.5480421781539917, 0.0960257351398468, 0.31704291701316833, -0.4576657712459564, 0.03994348272681236, -0.03443761169910431, -0.43091386556625366, 0.08763258159160614, -0.3116428852081299, -0.5146260261535645, -0.08530452847480774, 0.39143818616867065, -0.34586653113365173, 0.49231863021850586, 0.19426272809505463, 0.19358105957508087, -0.06831765174865723, 0.4451358914375305, 0.6282768845558167, 0.6739965081214905, 0.1051221638917923, -0.1832442283630371, 0.7584441304206848, -0.5823795795440674, -0.304975301027298, -0.18620651960372925, 0.04187208041548729, -0.4128466546535492, 0.5392354726791382, 0.881467878818512, 0.20751793682575226, -0.7818208336830139, 0.45019835233688354, -0.13420666754245758, -0.1876560002565384, 0.019699692726135254, 0.13239218294620514, 0.04520509019494057, 0.10979745537042618, -0.010927672497928143, -0.19481857120990753, 0.3191850185394287, -0.7252903580665588, 0.1525968760251999, 0.45544156432151794, -0.7195633053779602, -0.1440538763999939, 0.6262468099594116, 0.26448312401771545, -0.3080781102180481, 0.4274015724658966, 0.33752742409706116, -0.5872175693511963, 0.6568330526351929, 0.3345849812030792, 0.41785022616386414, -0.21023789048194885, 0.26223674416542053, 0.3301599621772766, 0.08869439363479614, -0.16137070953845978, 0.2549467980861664, 0.11711659282445908, -0.6665881276130676, -0.2076198309659958, -0.22188472747802734, -0.8949252963066101, -0.04759441316127777, -0.3001422882080078, 0.18005354702472687, -0.6235407590866089, -0.3839475214481354, -0.13154883682727814, 0.048003263771533966, -0.34338146448135376, 0.2996802031993866, -0.14910359680652618, 0.5888888835906982, -0.5140836238861084, 1.0834063291549683, 0.8089816570281982, -0.3599205017089844, -0.8754645586013794, 0.17276646196842194, -0.18944306671619415, -0.9931273460388184, 0.34496140480041504, -0.20418275892734528, -0.020278887823224068, 0.2876574397087097, -0.6217951774597168, -0.9208536148071289, 1.2589448690414429, 0.5309385657310486, -0.6460574269294739, 0.10164658725261688, 0.3943072259426117, 0.8860543966293335, -0.7405412793159485, 0.7584131360054016, 0.46098199486732483, 0.4861873388290405, 0.3738206923007965, -1.2747802734375, -0.07135079056024551, 0.012118699960410595, -0.37032613158226013, -0.04253028705716133, -0.8588093519210815, 0.8185228705406189, -0.37706664204597473, -0.12532159686088562, 0.20985570549964905, 0.01573232375085354, 0.046036262065172195, 0.445774644613266, 0.15832379460334778, 0.6494207978248596, 0.8908783197402954, -0.23599302768707275, 1.2920405864715576, -0.5123388171195984, 0.38467681407928467, 0.8017189502716064, -0.3105059862136841, 0.5418992042541504, 0.11939458549022675, -0.1512756645679474, 0.42730480432510376, 0.5212226510047913, 0.15965917706489563, 0.6070795059204102, -0.005601921584457159, -0.28989681601524353, -0.4284392297267914, -0.3709889352321625, -0.5045269131660461, 0.40665656328201294, 0.5005781054496765, -0.5811461806297302, 0.14457334578037262, 0.08025553822517395, 0.218379408121109, 0.025713350623846054, -0.37510421872138977, 1.118253231048584, 0.08770587295293808, -0.733708918094635, 0.4005904495716095, 0.069101482629776, 0.45547589659690857, -0.8259663581848145, 0.0282154344022274, -0.4245300590991974, 0.22956624627113342, -0.27020683884620667, -0.743685245513916, 0.43596068024635315, 0.23352055251598358, 0.11254475265741348, 0.27967822551727295, 0.7992247939109802, -0.7274389266967773, -0.6604388952255249, 0.25338828563690186, 0.5069120526313782, 0.44368383288383484, -0.11629406362771988, -0.7972303032875061, 0.07240872830152512, 0.10062538832426071, -0.16863055527210236, 0.17658130824565887, 0.2816832363605499, -0.09882976114749908, 1.0611170530319214, 0.49364161491394043, 0.19075609743595123, -0.20000290870666504, -0.0261396337300539, 0.9082369208335876, -0.4198743999004364, -0.24804849922657013, -0.6717334985733032, 0.270140677690506, -0.05089687183499336, -0.42431288957595825, 0.5499000549316406, 0.20551930367946625, 0.43538814783096313, 0.11643814295530319, 0.9328641891479492, 0.05810637027025223, 0.600647509098053, -0.6812748312950134, 0.8721029162406921, -0.5347435474395752, 0.39187198877334595, -0.042855046689510345, -0.6209157705307007, -0.378471702337265, 0.5388725996017456, -0.6327938437461853, 0.25563672184944153, 0.4838694930076599, 1.0511000156402588, -0.015566947869956493, 0.06096978485584259, 0.5538693070411682, 0.4267258942127228, 0.41181322932243347, 0.7985883951187134, 0.572312593460083, -0.45801854133605957, 0.6230455636978149, 0.10629226267337799, -0.1313554346561432, -0.3460642695426941, -0.7067095637321472, -0.9174845814704895, -0.2543434500694275, -0.30385032296180725, -0.08974093198776245, 0.420381098985672, 1.1015921831130981, 0.7823030352592468, -0.7665265202522278, -0.07544558495283127, -0.12475566565990448, -0.2899570167064667, 0.1067517101764679, -0.036317236721515656, 0.1629665344953537, 0.12836192548274994, -0.6747738122940063, 0.5204123258590698, 0.21713514626026154, -0.17886528372764587, -0.2037326693534851, -0.2159237414598465, -0.21683456003665924, 0.3617478311061859, 0.4233671724796295, 0.28104621171951294, -0.5978772044181824, -0.0778336301445961, 0.1682179570198059, -0.3433307707309723, 0.26433125138282776, 1.0098192691802979, -0.4407725930213928, 0.49326106905937195, 0.3155982196331024, 0.6633835434913635, 0.5330290198326111, 0.22851356863975525, 0.8246568441390991, -0.47394561767578125, -0.05080801621079445, 0.31159526109695435, 0.13342508673667908, 0.35093215107917786, -0.7496877908706665, 0.6082296967506409, 0.09191925078630447, -0.8168306946754456, -0.557481586933136, 0.2411535680294037, -1.042781949043274, -0.29304465651512146, 1.423195242881775, -0.4159913659095764, 0.11771110445261002, -0.5257962346076965, -0.7388507127761841, 0.21616755425930023, -0.3919515907764435, 0.9217590093612671, 0.5285961627960205, -0.16269409656524658, -0.5110275149345398, -0.3945562541484833, 0.5198981761932373, 0.30314725637435913, -1.0804716348648071, -0.04978210851550102, 0.20135192573070526, 0.4015246331691742, -0.2049526870250702, 0.9750613570213318, 0.04942922666668892, 0.20097914338111877, -0.2569941580295563, 0.022903883829712868, -0.3033261001110077, -0.052528902888298035, -0.08468359708786011, 0.28419193625450134, 0.16812382638454437, 0.1988895833492279 ]
http://arxiv.org/abs/2402.16797v2
http://arxiv.org/pdf/2402.16797v2
Set the Clock: Temporal Alignment of Pretrained Language Models
2024-02-26T18:10:56
2024-06-09T19:47:15
Bowen Zhao, Zander Brumbaugh, Yizhong Wang, Hannaneh Hajishirzi, Noah A. Smith
cs.CL
cs.CL
Language models (LMs) are trained on web text originating from many points in time and, in general, without any explicit temporal grounding. This work investigates the temporal chaos of pretrained LMs and explores various methods to align their internal knowledge to a target time, which we call "temporal alignment." To do this, we first automatically construct a dataset containing 20K time-sensitive questions and their answers for each year from 2000 to 2023. Based on this dataset, we empirically show that pretrained LMs (e.g., LLaMa2), despite having a recent pretraining cutoff (e.g., 2022), mostly answer questions using earlier knowledge (e.g., in 2019). We then develop several methods, from prompting to finetuning, to align LMs to use their most recent knowledge when answering questions, and investigate various factors in this alignment. Our experiments demonstrate that aligning LLaMa2 to the year 2022 can enhance its performance by up to 62% according to that year's answers. This improvement occurs even without explicitly mentioning time information, indicating the possibility of aligning models' internal sense of time after pretraining. Finally, we find that alignment to a historical time is also possible, with up to 2.8$\times$ the performance of the unaligned LM in 2010 if finetuning models to that year. These findings hint at the sophistication of LMs' internal knowledge organization and the necessity of tuning them properly.
[ -0.13815265893936157, -0.5712293386459351, 0.6094407439231873, 0.0642966702580452, -0.262519896030426, 0.18168164789676666, -0.08173874765634537, -0.729458212852478, -0.19891855120658875, 0.14903071522712708, -0.9795917868614197, 0.008942424319684505, -0.23012888431549072, -0.020550301298499107, -0.22101563215255737, 1.046243667602539, -0.18754097819328308, -0.004052473232150078, -0.1996043622493744, 0.05167609080672264, -0.37801387906074524, -0.35557079315185547, -0.3276785910129547, -0.6826720237731934, 0.5486129522323608, 0.13525086641311646, 0.8580666184425354, 1.088499903678894, 0.5639426708221436, 0.21943217515945435, 0.07987857609987259, 0.08410341292619705, -0.4635576903820038, 0.09285790473222733, 0.032526854425668716, -0.5405928492546082, -0.4909401834011078, 0.01620982214808464, 0.48817723989486694, 0.6338937282562256, -0.22090363502502441, 0.40007930994033813, -0.028133008629083633, 0.5046191215515137, -0.608444094657898, -0.07968545705080032, -0.8473129272460938, 0.19658556580543518, -0.5080096125602722, -0.5277246832847595, -0.05142473429441452, -0.6202749609947205, 0.13844959437847137, -0.8081771731376648, -0.06086767092347145, 0.020444074645638466, 1.1792036294937134, 0.711425244808197, -0.29573798179626465, -0.04270021617412567, -0.8534203171730042, 0.7583611607551575, -0.9022813439369202, 0.48208481073379517, 0.4482646882534027, 0.33359432220458984, -0.10243762284517288, -0.6719325184822083, -0.6871339082717896, 0.06535360962152481, 0.15254969894886017, 0.13245612382888794, 0.053359996527433395, -0.29419854283332825, 0.2937110960483551, 0.25729939341545105, -0.7721008062362671, 0.4538779854774475, -0.09523466974496841, -0.05851031467318535, 0.24542534351348877, 0.3860926032066345, 0.28233444690704346, 0.4258458912372589, -0.32819169759750366, -0.01768270507454872, -0.6426519751548767, 0.2109151929616928, 0.5903258323669434, 0.1926589161157608, -0.052807774394750595, 0.6335806846618652, 0.04857301339507103, 0.9189690947532654, 0.3195478022098541, -0.20580604672431946, 0.058064140379428864, -0.4168071448802948, -0.09201521426439285, 0.2584306597709656, 0.6110072135925293, 0.5530237555503845, 0.7246702909469604, -0.2142167091369629, -0.2797743082046509, 0.13147619366645813, 0.4981658160686493, -0.710817813873291, -0.04430510848760605, 0.21943117678165436, -0.10519606620073318, -0.27548953890800476, -0.3282932639122009, -0.5460613965988159, -0.20871199667453766, -0.6517703533172607, 0.4747236967086792, -0.2678866982460022, -0.09201525896787643, 0.08828228712081909, 0.26210740208625793, 0.3165684640407562, 0.2797660231590271, -0.9214679598808289, 0.2149462103843689, 0.5725258588790894, 0.5312455892562866, -0.08280105888843536, -0.26949813961982727, -0.18516258895397186, 0.28543993830680847, -0.5675864815711975, 0.6941608786582947, -0.5242605209350586, 0.08278175443410873, 0.07171067595481873, -0.09763996303081512, -0.07625944912433624, -0.2986304759979248, 0.1173340231180191, -1.0317579507827759, 0.5555363893508911, -0.17978230118751526, -0.6089157462120056, 0.3395855724811554, 0.12370768189430237, -0.43808555603027344, 1.1898952722549438, -0.35544803738594055, -0.7993568181991577, 0.2588341534137726, -0.3100205957889557, -0.2932717502117157, -0.3079240620136261, -0.0920635461807251, -0.40587419271469116, -0.1471671313047409, 0.4370828866958618, 0.11456847190856934, -0.15418921411037445, 0.29094192385673523, -0.12717308104038239, -0.25691986083984375, 0.5496790409088135, -0.2384333610534668, 0.8072835206985474, 0.5316212177276611, -0.3085649013519287, -0.090587317943573, -0.6411016583442688, 0.378764271736145, 0.1894073784351349, -0.23048730194568634, -0.05373328924179077, 0.1421559900045395, -0.441045343875885, 0.2559034824371338, 0.7621433734893799, -0.3026791512966156, 0.3333396017551422, -0.5406973361968994, 0.3459566831588745, 0.9897879362106323, -0.15174224972724915, 0.4555824100971222, -0.8010871410369873, 0.4601267874240875, 0.13508188724517822, 0.31316760182380676, -0.15480074286460876, -0.15267108380794525, -0.7768558263778687, 0.5127333998680115, -0.03317824751138687, 0.8100049495697021, -0.34194186329841614, 0.4879242479801178, -0.5717500448226929, -0.5337632298469543, -0.4547918140888214, 0.120437391102314, 0.3942483365535736, 0.682919979095459, 0.29906976222991943, -0.2037409245967865, -0.7155076265335083, -0.6625347137451172, -0.22665295004844666, -0.2119625061750412, 0.2197481393814087, -0.06074681878089905, 0.16686363518238068, 0.018001683056354523, 1.0332249402999878, -0.4919491708278656, 0.12464365363121033, 0.32626983523368835, 0.07908165454864502, 0.33666685223579407, 0.456613689661026, 0.18598909676074982, -0.3247741758823395, -0.20171086490154266, -0.03982803225517273, -0.6280469298362732, -0.5169516801834106, -0.018337802961468697, -0.14388929307460785, 0.1883024424314499, 0.6793224811553955, -0.3726464509963989, 0.1135251373052597, 0.5901791453361511, 0.006056686397641897, 0.6374108195304871, 0.12317021191120148, 0.04510798677802086, -1.2017624378204346, 0.05452951788902283, -0.4401017725467682, -0.21419905126094818, -0.6481871604919434, -0.477898508310318, 0.03984076529741287, -0.11225530505180359, -0.31596696376800537, 0.7248987555503845, -0.6220435500144958, 0.06236954405903816, -0.15475642681121826, 0.3467467129230499, -0.24514007568359375, 0.4480673670768738, -0.07349202781915665, 0.8156181573867798, 0.1348293125629425, -0.7692579030990601, -0.05429127439856529, 0.08870545029640198, -0.802239716053009, 0.15332891047000885, -0.47739893198013306, 0.6778223514556885, -0.07198473066091537, -0.11200577765703201, -0.761021077632904, 0.032482728362083435, 0.017390768975019455, -0.32384708523750305, 0.3537216782569885, 0.009101683273911476, -0.36662521958351135, -0.18847045302391052, 0.11173912137746811, 0.6021094918251038, 0.43653103709220886, -0.3431468904018402, 0.35211706161499023, 0.37600743770599365, -0.19829659163951874, -0.9880052804946899, -0.4770311415195465, -0.23688896000385284, -0.18778103590011597, -0.5574285387992859, 0.5452162623405457, -0.38959163427352905, -0.46028509736061096, 0.03412019833922386, -0.41034743189811707, 0.02657603845000267, 0.13614244759082794, 0.1363595575094223, 0.23514842987060547, -0.5597602725028992, 0.30955103039741516, -0.3130650818347931, -0.10456445068120956, -0.231376513838768, -0.5009858012199402, 0.9845470190048218, 0.02421739511191845, -0.4896595776081085, -0.5904873013496399, -0.1422441601753235, 0.4032934010028839, -0.2916623651981354, 0.7529110312461853, 0.423396497964859, -0.5462130308151245, 0.15392780303955078, -0.9813282489776611, -0.1297314316034317, -0.45471328496932983, 0.1309092938899994, -0.08445794880390167, -0.928668737411499, 0.5853694677352905, 0.14191848039627075, 0.3904467821121216, 0.2828142046928406, 0.6334096789360046, -0.4126616418361664, 1.0436747074127197, 0.6644675135612488, -0.09604981541633606, 1.0504631996154785, 0.3244757652282715, 0.17515094578266144, -0.6288914680480957, -0.30047768354415894, -0.5711823105812073, -0.5577696561813354, -0.3025847375392914, -0.22918207943439484, 0.12304907292127609, 0.4861152768135071, -0.7725896239280701, 0.24006745219230652, -0.28766992688179016, 0.6248067617416382, 0.34946975111961365, -0.01787203922867775, 0.2538418173789978, -0.09832877665758133, -0.1797088384628296, -0.250600129365921, -0.5062434673309326, -0.7477253079414368, 1.0727944374084473, 0.15087883174419403, 0.8424744606018066, 0.19266599416732788, 0.4299785792827606, -0.07293747365474701, 0.059099651873111725, -0.26802003383636475, 0.37823721766471863, 0.06470704078674316, -0.634946882724762, -0.3550153076648712, -0.24719306826591492, -0.9940512180328369, -0.34375280141830444, -0.1695484071969986, -0.9928078055381775, 0.018540799617767334, 0.32671666145324707, -0.48996707797050476, 0.29166191816329956, -0.5851783156394958, 0.6980862617492676, -0.8235957026481628, -0.3303663432598114, 0.03551027923822403, -0.8894164562225342, 0.16963942348957062, -0.17973074316978455, 0.19109795987606049, -0.5326611995697021, -0.061949968338012695, 0.8669157028198242, -0.43630456924438477, 1.040060043334961, 0.11778629571199417, -0.19034788012504578, -0.0009945346973836422, 0.19166019558906555, 0.646334707736969, -0.19199378788471222, 0.09450320154428482, -0.05901432782411575, 0.433700293302536, -0.26602813601493835, -0.6663739085197449, 0.5220401287078857, -1.068490982055664, -0.7564610838890076, -0.5117034316062927, -0.764393150806427, -0.37382766604423523, 0.3506990969181061, 0.2659880816936493, 0.42468371987342834, -0.2758268415927887, -0.2781285345554352, 0.6447567939758301, 0.09303772449493408, 0.686725914478302, 0.7316169142723083, -0.6263022422790527, -0.21800349652767181, 0.3930896818637848, 0.15680155158042908, 0.405629426240921, 0.7900816798210144, 0.18313215672969818, -0.2745763659477234, -0.37083306908607483, -0.21900580823421478, 0.3089130222797394, -0.5176150798797607, -0.25021684169769287, -0.5618463158607483, -0.42853856086730957, -0.6757875680923462, -0.11959338933229446, -0.36995214223861694, -0.6095033288002014, -0.4165056049823761, 0.023309718817472458, 0.23160722851753235, 0.6144083738327026, 0.09041439741849899, 0.6193137764930725, -0.7497240900993347, -0.06205543130636215, 0.3263649642467499, 0.21258807182312012, -0.09369096159934998, -0.6462976932525635, -0.3237721920013428, 0.11174006760120392, -0.31491488218307495, -0.8694728016853333, 0.041358355432748795, 0.2536911368370056, 0.5888117551803589, 0.657909631729126, -0.1215495765209198, 1.1428238153457642, -0.7776925563812256, 0.7789595127105713, 0.05746147781610489, -0.8026689887046814, 0.5427967309951782, -0.31449782848358154, 0.7184348106384277, 0.3794819414615631, 0.4502462148666382, -0.6264118552207947, -0.26314306259155273, -0.35104674100875854, -0.46868500113487244, 0.6392675638198853, 0.04094437509775162, -0.0055841407738626, 0.19751299917697906, 0.476725310087204, 0.03361106663942337, 0.22827553749084473, -0.7955718040466309, -0.03967539221048355, -0.06347621977329254, -0.4082031846046448, -0.19723312556743622, -0.23717616498470306, -0.3986462950706482, -0.1299695521593094, 0.7303786873817444, -0.013413453474640846, 0.33035096526145935, -0.10100686550140381, -0.382724404335022, -0.6086821556091309, 0.27869537472724915, 0.7777731418609619, 1.2031346559524536, -0.20630937814712524, 0.2738775312900543, 0.309075266122818, -0.3308226466178894, 0.21331200003623962, 0.16092844307422638, -0.05772358924150467, -0.37104764580726624, 0.7221629023551941, 0.825402021408081, 0.2703617811203003, -0.4593668580055237, 0.08471963554620743, 0.04750955477356911, 0.3933405578136444, -0.5768101811408997, -0.03075641207396984, 0.07022999972105026, 0.5259845852851868, 0.1942412108182907, -0.2291887402534485, -0.7937308549880981, -0.4950565993785858, -0.04133877158164978, 0.4004058241844177, -0.43077772855758667, -0.5534552931785583, 0.7927451729774475, -0.18040665984153748, -0.5406442880630493, 0.6543144583702087, 0.26728591322898865, -0.5908438563346863, 0.38770005106925964, 0.8840579986572266, 0.6065995693206787, -0.6131190061569214, -0.2532724440097809, 0.31349316239356995, 0.5160810947418213, -0.1053871214389801, 0.3251144587993622, 0.027354024350643158, -1.1972068548202515, -0.42964786291122437, -0.9419381618499756, -0.04728322848677635, 0.17957930266857147, -0.6756220459938049, 0.1577042192220688, -0.4048977196216583, -0.550101637840271, -0.2873101234436035, 0.1971741020679474, -0.8619374632835388, 0.20419207215309143, -0.012030569836497307, 0.845469057559967, -0.7300503253936768, 0.8686490058898926, 0.6062723398208618, -0.2487844079732895, -0.6830297708511353, 0.10933737456798553, 0.2529873549938202, -1.2816107273101807, 0.6384620070457458, -0.06024367734789848, -0.3147909343242645, 0.2862624228000641, -0.5747729539871216, -1.1406751871109009, 1.18973708152771, 0.4552713632583618, -0.9573749899864197, -0.39484933018684387, 0.15288104116916656, 0.6316326260566711, -0.2591650187969208, -0.026972102001309395, 0.4080274999141693, 0.2991154193878174, -0.1487373560667038, -1.19484281539917, -0.17442362010478973, -0.3513055443763733, -0.25432103872299194, 0.4755176305770874, -0.4415193796157837, 0.7900511622428894, -0.32864466309547424, -0.6191820502281189, 0.17610344290733337, 0.6763099431991577, -0.030329883098602295, 0.21437932550907135, 0.4448044002056122, 0.8900212645530701, 1.0383360385894775, -0.3586556613445282, 0.808462381362915, -0.5313335061073303, -0.15276913344860077, 1.4178228378295898, -0.412972629070282, 0.7322718501091003, 0.6254063844680786, -0.29712021350860596, 0.4177781343460083, 0.7814896106719971, 0.3384106755256653, 0.6049155592918396, 0.015688391402363777, -0.15757259726524353, -0.5299020409584045, -0.10477298498153687, -0.7480259537696838, 0.0832875669002533, 0.09126369655132294, 0.03005870245397091, -0.07528003305196762, -0.2700101137161255, 0.23625221848487854, -0.013075264170765877, -0.18461795151233673, 0.9158564209938049, 0.15713171660900116, -0.9119749665260315, 0.37646469473838806, -0.42940962314605713, 0.2546565532684326, -0.8497402667999268, 0.41284558176994324, -0.18411201238632202, 0.4046098291873932, 0.020103221759200096, -0.842816948890686, 0.17793317139148712, 0.018821878358721733, -0.2797747254371643, -0.3724847435951233, 0.34939539432525635, -0.536639392375946, -0.3213643431663513, 0.1430387943983078, 0.5961561799049377, 0.04354841262102127, 0.2940576672554016, -0.5511173009872437, 0.1406424641609192, -0.22392934560775757, -0.05283847823739052, 0.3534582555294037, 0.504657506942749, -0.1498054414987564, 0.712785542011261, 0.6879816651344299, 0.11862201243638992, 0.4798441529273987, 0.0845174789428711, 0.717510461807251, -0.5609250068664551, -0.3098219335079193, -0.9621809720993042, 0.35178348422050476, 0.22831043601036072, -0.5481963157653809, 0.5642185211181641, 0.45278695225715637, 0.9047580361366272, 0.18510958552360535, 0.30991247296333313, 0.2545895278453827, 0.48215192556381226, -0.981713056564331, 0.6222500801086426, -0.6861878037452698, 0.32171812653541565, -0.06437757611274719, -1.0330804586410522, -0.13206887245178223, 0.3948216140270233, -0.4863418638706207, 0.172268807888031, 0.7702564597129822, 0.9009677767753601, 0.21353182196617126, 0.10173717886209488, 0.06862332671880722, 0.2679210901260376, 0.25377342104911804, 0.6227815747261047, 1.205353021621704, -0.1234750971198082, 0.6298922896385193, -0.4202166199684143, 0.01311603095382452, -0.08249838650226593, -1.2024399042129517, -0.8482791185379028, -0.8278112411499023, -0.16696882247924805, -0.2848049998283386, 0.4829515516757965, 0.9515308141708374, 0.45179224014282227, -0.8128326535224915, -0.41902709007263184, 0.34176868200302124, -0.208439439535141, -0.2197939157485962, -0.11623426526784897, 0.3499293029308319, -0.5351746678352356, -0.5102124214172363, 0.3940107524394989, 0.05555224418640137, 0.3805959224700928, 0.13337194919586182, 0.03891333192586899, -0.4853247404098511, -0.018528075888752937, 0.09087395668029785, 0.36933019757270813, -0.6520655155181885, -0.4066447913646698, 0.33975598216056824, -0.23415611684322357, 0.21342253684997559, 0.9760838150978088, -0.4439660310745239, 0.4818086624145508, 0.3655737042427063, 0.5167038440704346, 0.564944326877594, 0.17493200302124023, 0.7693089842796326, -0.7279857397079468, 0.04297001659870148, 0.3597382605075836, 0.24285989999771118, 0.2257770150899887, -0.17810262739658356, 0.3181532621383667, 0.04338690638542175, -0.9544258117675781, -0.8446371555328369, 0.2510429322719574, -0.7542033195495605, -0.16018220782279968, 0.6878331303596497, 0.29119130969047546, -0.13906408846378326, -0.1495765894651413, 0.17743125557899475, 0.7335183620452881, 0.080152727663517, 1.007493495941162, 1.0202957391738892, -0.09256255626678467, -0.03952694684267044, -0.6042919158935547, 0.6558927297592163, 0.5458428859710693, -0.7768352627754211, -0.036253683269023895, 0.21201519668102264, 0.3592126667499542, 0.2228868305683136, 0.7159520387649536, -0.1790844053030014, 0.11986615508794785, -0.2990780174732208, 0.0416279174387455, -0.05110227316617966, -0.3613246977329254, -0.21598634123802185, -0.31980100274086, 0.12925823032855988, 0.0703870952129364 ]
http://arxiv.org/abs/2402.16795v2
http://arxiv.org/pdf/2402.16795v2
If in a Crowdsourced Data Annotation Pipeline, a GPT-4
2024-02-26T18:08:52
2024-06-28T19:33:48
Zeyu He, Chieh-Yang Huang, Chien-Kuang Cornelia Ding, Shaurya Rohatgi, Ting-Hao 'Kenneth' Huang
cs.HC
cs.HC, cs.AI, cs.CL, cs.LG
Recent studies indicated GPT-4 outperforms online crowd workers in data labeling accuracy, notably workers from Amazon Mechanical Turk (MTurk). However, these studies were criticized for deviating from standard crowdsourcing practices and emphasizing individual workers' performances over the whole data-annotation process. This paper compared GPT-4 and an ethical and well-executed MTurk pipeline, with 415 workers labeling 3,177 sentence segments from 200 scholarly articles using the CODA-19 scheme. Two worker interfaces yielded 127,080 labels, which were then used to infer the final labels through eight label-aggregation algorithms. Our evaluation showed that despite best practices, MTurk pipeline's highest accuracy was 81.5%, whereas GPT-4 achieved 83.6%. Interestingly, when combining GPT-4's labels with crowd labels collected via an advanced worker interface for aggregation, 2 out of the 8 algorithms achieved an even higher accuracy (87.5%, 87.0%). Further analysis suggested that, when the crowd's and GPT-4's labeling strengths are complementary, aggregating them could increase labeling accuracy.
[ -0.4173769950866699, -0.2698934078216553, 0.6830024719238281, 0.22089742124080658, -0.3073604106903076, 0.3582592308521271, -0.03770934417843819, -0.861113965511322, 0.23500245809555054, 0.28342220187187195, -0.22315317392349243, -0.5407393574714661, -0.773566722869873, 0.7559231519699097, -0.23855288326740265, 1.4789520502090454, 0.07483354210853577, -0.05850718542933464, -0.05182397738099098, -0.47411468625068665, -0.024611888453364372, -0.690944254398346, -0.3881039321422577, -0.2549979090690613, 0.982324481010437, 0.08994929492473602, 0.8711994290351868, 1.021162986755371, 0.5183553695678711, 0.4006361961364746, 0.09586120396852493, 0.14370931684970856, -0.5025203824043274, -0.1560887098312378, -0.14604005217552185, -0.2500985264778137, -0.36404046416282654, 0.7678837776184082, 0.347979873418808, 0.39583003520965576, 0.023196766152977943, 0.5218143463134766, 0.037844449281692505, 0.7916948795318604, -0.5078714489936829, 0.13500337302684784, -0.3834768533706665, 0.019708998501300812, -1.001474142074585, 0.05823146924376488, -0.34373602271080017, -0.6990534663200378, 0.0738164409995079, -1.079700231552124, 0.3153269588947296, 0.0294181015342474, 0.907058596611023, 0.46116968989372253, -0.10439541935920715, -0.3532743752002716, -0.17830520868301392, 0.6961069703102112, -0.5868270397186279, 0.246280238032341, 0.823871374130249, -0.021192708984017372, 0.2978818118572235, -1.0572909116744995, -0.5529715418815613, 0.24288409948349, -0.05871184170246124, 0.3472614884376526, 0.015699485316872597, 0.2081671804189682, 0.39947351813316345, 0.292934775352478, -0.45709943771362305, 0.34855541586875916, -0.7765762209892273, -0.3392096757888794, 0.5963107347488403, -0.059990208595991135, -0.19056063890457153, -0.2404823899269104, -0.41592276096343994, 0.05935480445623398, -0.3624800145626068, -0.08714655041694641, 0.9097817540168762, 0.051570478826761246, 0.11726384609937668, 0.5808865427970886, -0.4052838385105133, 1.010037899017334, 0.0752924308180809, 0.012510126456618309, 0.7927373051643372, -0.482191264629364, -0.14245525002479553, -0.104521244764328, 1.0015019178390503, 0.4200901389122009, 0.18201376497745514, -0.2187798172235489, -0.1097482442855835, -0.0011286441003903747, 0.3479343354701996, -0.6233640313148499, -0.4747283458709717, 0.20979993045330048, -0.4869869351387024, -0.40603262186050415, 0.28431814908981323, -0.5801835656166077, -0.46041738986968994, -0.4243529438972473, 0.3853051960468292, -0.09891021996736526, 0.15845030546188354, -0.2995170056819916, -0.36363816261291504, -0.010072415694594383, 0.40360915660858154, -0.6822644472122192, -0.0625772550702095, 1.0017303228378296, 1.3626930713653564, -0.29308661818504333, -0.407989501953125, -0.9369266629219055, 0.02786741778254509, -0.2641505300998688, 0.8902571797370911, -0.6839633584022522, -0.13347767293453217, -0.0628194808959961, -0.2456672489643097, 0.018016787245869637, -0.327686071395874, 0.7281908988952637, -0.552603006362915, 0.47046273946762085, -0.7066968083381653, -0.6737263202667236, -0.32011088728904724, 0.17497514188289642, -1.0261539220809937, 1.0235862731933594, 0.25530189275741577, -1.1071527004241943, 0.8414493799209595, -0.9349517226219177, -0.11356761306524277, 0.524972140789032, -0.05427858233451843, -0.5116744637489319, -0.33020856976509094, 0.23129519820213318, 0.5680755972862244, 0.20821556448936462, 0.20798154175281525, -0.3562185764312744, -0.5471621751785278, 0.5042436718940735, -0.1772453486919403, 0.9660452008247375, 0.39528316259384155, -0.4843708872795105, -0.11712337285280228, -0.30339252948760986, -0.006076475139707327, -0.44679176807403564, -0.6801720857620239, -0.25732937455177307, -0.3370131850242615, -0.18166609108448029, 0.2348071038722992, -0.07603461295366287, -0.6821133494377136, 0.16346216201782227, 0.01899312622845173, 0.3680294156074524, 0.9917364716529846, -0.15944747626781464, 0.2431623339653015, -0.47804468870162964, 0.36457452178001404, -0.5754960775375366, 0.08553716540336609, 0.17242179811000824, -0.9919865727424622, -0.2926360070705414, -0.4501940906047821, 0.7027324438095093, 0.42314764857292175, -1.0025228261947632, 0.16192685067653656, -0.343761146068573, -0.6944571137428284, -0.8491566181182861, 0.08229139447212219, 0.3243606388568878, 0.6597409248352051, 0.33801019191741943, -0.3700435757637024, -0.3676246702671051, -0.9581000208854675, -0.7130042910575867, -0.33824214339256287, -0.3317233622074127, -0.11186666786670685, 0.3711709976196289, -0.05099676549434662, 0.8672381639480591, -0.1244916170835495, -0.3549462556838989, 0.3650366961956024, 0.6367700099945068, 0.20420204102993011, 0.22637853026390076, 0.3250329792499542, -0.48684000968933105, -0.4868583679199219, -0.07974249124526978, -0.6794682741165161, -0.34419867396354675, 0.06862220913171768, -0.25102823972702026, 0.40375614166259766, -0.22250592708587646, -0.35536521673202515, 0.36881035566329956, 0.6796781420707703, -0.31981757283210754, 0.5120227932929993, -0.06575342267751694, 0.5569460391998291, -0.5118324160575867, 0.050360240042209625, 0.1817544400691986, -0.2455926388502121, -0.49024316668510437, -0.17811521887779236, 0.045533373951911926, 0.16078895330429077, -0.2419147938489914, -0.04872428998351097, -0.4248257875442505, -0.16966399550437927, -0.1494864970445633, 0.3320577144622803, 0.0504736565053463, 0.2673403322696686, 0.003921438939869404, 0.8028436899185181, 0.12161850929260254, -0.15272730588912964, 0.5211790800094604, 0.27643418312072754, -0.3739449977874756, 0.7653895616531372, -0.32502907514572144, 0.6804447174072266, 0.16666516661643982, 0.6352460980415344, -0.829629123210907, -0.20668192207813263, 0.42561817169189453, -0.5378980040550232, -0.32691261172294617, -0.23106731474399567, -0.7622374296188354, -0.5387095808982849, -0.542752742767334, 0.31522440910339355, 0.3772504925727844, -0.5782431960105896, 0.25453633069992065, 0.42097365856170654, -0.35138848423957825, -0.5459164381027222, -1.0205150842666626, 0.28386950492858887, -0.37851592898368835, -0.597103476524353, 0.047425877302885056, 0.32399916648864746, -0.11384844034910202, -0.1465837061405182, 0.1448676586151123, -0.171611949801445, -0.2814112901687622, 0.2287435382604599, 0.1400609165430069, 0.07608244568109512, 0.12273299694061279, -0.39290478825569153, -0.32182419300079346, 0.011797930113971233, -0.23766115307807922, -0.012929883785545826, -0.18227076530456543, -0.3059762418270111, -0.633442759513855, 0.09796962141990662, 0.17847934365272522, -0.2615644335746765, 0.5773176550865173, 1.0059374570846558, -0.07863443344831467, 0.5997740626335144, -0.9251713156700134, -0.13009127974510193, -0.5006400942802429, -0.02487216703593731, -0.20457279682159424, -0.8631974458694458, 0.3616008460521698, 0.0830962136387825, 0.5029389262199402, 0.5481932163238525, 0.42841577529907227, -0.26870205998420715, 0.49035605788230896, 0.025129299610853195, -0.17456863820552826, 0.1720464825630188, -0.10548481345176697, 0.09457442909479141, -0.586493194103241, -0.27116063237190247, -0.7046934366226196, -0.6092292666435242, -0.7684499025344849, -0.7243655920028687, 0.3885903060436249, -0.3896697163581848, -0.19438819587230682, 0.09391362220048904, -0.97259920835495, 0.4076187312602997, 0.8485779166221619, 0.11073683947324753, 0.6657549738883972, 0.0337463915348053, 0.6083589196205139, -0.21373872458934784, -0.4468214809894562, -0.7330775260925293, 1.121641755104065, 0.2966533303260803, 0.18772061169147491, -0.027465160936117172, 0.6242899894714355, 0.5895561575889587, 0.822109580039978, -0.2577860355377197, 0.12676949799060822, 0.007915751077234745, -0.9085853695869446, -0.5229495167732239, -0.3413323163986206, -0.9150984287261963, 0.389416366815567, -0.03910183906555176, -0.7399530410766602, 0.27790576219558716, 0.1643858402967453, -0.2905803918838501, 0.3918300271034241, -0.99678635597229, 0.705158531665802, -0.11719748377799988, -0.3276388347148895, 0.05772896856069565, -0.8741462230682373, 0.26456570625305176, -0.45555058121681213, 0.628959596157074, -0.19139759242534637, -0.40071022510528564, 1.243920087814331, -0.7452201843261719, 0.7739658951759338, -0.4677424430847168, 0.003885328071191907, 0.6431021690368652, -0.2996126711368561, 0.9037303328514099, -0.16471777856349945, -0.4880017936229706, 0.6319843530654907, -0.2146235555410385, -0.6115502715110779, -0.2282143235206604, 0.4058815836906433, -0.6728104948997498, -0.35278964042663574, -0.5965897440910339, -0.34567487239837646, -0.05551394075155258, 0.0025197851937264204, 0.4548461437225342, 0.3947911858558655, 0.2876657247543335, 0.09422308206558228, 0.1388731151819229, 0.10822927951812744, 0.5721165537834167, 0.23466171324253082, 0.19257351756095886, -0.7450701594352722, 0.9259058833122253, 0.5869450569152832, 0.041469279676675797, -0.05271507427096367, 0.15393894910812378, -0.5562832951545715, -0.5347709059715271, -0.8356754183769226, 0.050992030650377274, -0.485217422246933, -0.4093344807624817, -0.9121440649032593, 0.33165478706359863, -0.13028882443904877, -0.2552686929702759, -0.25672584772109985, -0.3719179332256317, -0.148240327835083, -0.6331368088722229, 0.8445621728897095, 0.8787223100662231, -0.37067633867263794, 0.20809601247310638, -0.6283832788467407, 0.11059896647930145, 0.34155306220054626, 0.5500470399856567, -0.45910006761550903, -0.36388707160949707, -0.3346177041530609, 0.12227065116167068, -0.2642234265804291, -1.025542974472046, -0.07757958769798279, 0.0002194308181060478, 0.3735162019729614, 0.4848455786705017, 0.04782616347074509, 0.8043918609619141, -0.2508229911327362, 0.8356568217277527, 0.16680021584033966, -1.013496994972229, -0.08482720702886581, -0.7574493885040283, 0.16796325147151947, 0.7176448106765747, 0.36270958185195923, -0.5557534098625183, -0.7111963629722595, -0.7514645457267761, -0.8360660672187805, 0.7785608768463135, 0.6955883502960205, -0.1576882004737854, 0.2243012934923172, 0.13866350054740906, 0.7339702248573303, 0.1597609519958496, -0.8496531844139099, -0.15633217990398407, -0.6493982076644897, -0.01535837259143591, 0.04665862396359444, 0.04281089827418327, -0.11344463378190994, -0.11958584934473038, 0.5429283976554871, 0.08811195939779282, 0.1161385327577591, 0.13913603127002716, 0.06377453356981277, 0.03922303766012192, 0.027715349569916725, 0.3492950201034546, 1.0738285779953003, -0.021563975140452385, 0.35465583205223083, 0.26682260632514954, -0.6214306950569153, 0.005318093113601208, 0.5301940441131592, -0.1333530992269516, 0.09829821437597275, 0.5269457697868347, 0.5602680444717407, -0.39678725600242615, -0.31707215309143066, 0.34667330980300903, 0.300169974565506, -0.5142109394073486, -0.006821236573159695, -0.2763260006904602, 0.26335740089416504, 0.10153055191040039, 0.7166005969047546, 0.12567993998527527, 0.5299554467201233, -0.08816726505756378, 0.21141666173934937, 0.002540897112339735, -0.13981321454048157, -0.2710011303424835, 0.7175542712211609, 0.5715713500976562, -0.2608380615711212, 0.6857814192771912, -0.380188524723053, -0.38983091711997986, 0.3601300120353699, -0.06524807214736938, 0.4652225971221924, -0.2405954748392105, 0.5348455905914307, 0.2528286874294281, 0.4705847203731537, -0.30455607175827026, -0.11716233193874359, -0.0259235892444849, -0.34631261229515076, -0.9270744919776917, -0.10771214962005615, -0.5436183214187622, -0.08081614226102829, -0.5371366739273071, -0.17424939572811127, -0.12666527926921844, -0.3905097544193268, 0.12776696681976318, 0.07757306843996048, -0.8744368553161621, 0.19648830592632294, -0.0587606318295002, 0.2940331697463989, -0.983095645904541, 0.46314430236816406, 0.8159354329109192, -0.36794301867485046, -0.8188754916191101, -0.2907365560531616, 0.16967648267745972, -0.5609912276268005, 0.3702646493911743, 0.3841880261898041, 0.06865409016609192, 0.05082239583134651, -0.6332308650016785, -0.9221497774124146, 1.0854341983795166, 0.2208193838596344, -0.4788104295730591, 0.5253133773803711, 0.0526759997010231, 0.519332230091095, 0.08704793453216553, 0.360719233751297, 0.47944918274879456, 1.0522191524505615, -0.15307730436325073, -1.0733964443206787, 0.12305358797311783, -0.1141994446516037, -0.30255624651908875, 0.05765910819172859, -0.8748939633369446, 0.465943306684494, -0.07425852119922638, -0.15077784657478333, -0.3180476725101471, 0.690775990486145, 0.5327489376068115, 0.7487527132034302, 0.6355780959129333, 0.582236647605896, 1.2089767456054688, -0.30155912041664124, 0.9685733914375305, 0.3644289970397949, 0.24899102747440338, 0.6489304304122925, -0.10804031044244766, 0.3873675763607025, 0.38710978627204895, -0.5577291250228882, 0.44724711775779724, 1.0761414766311646, -0.2599758803844452, 0.36666417121887207, 0.19331303238868713, -0.11340832710266113, 0.08000499755144119, 0.03905227407813072, -0.4223090410232544, 0.14659222960472107, 0.0852353498339653, -0.18277214467525482, 0.13053637742996216, -0.0748206302523613, 0.27185797691345215, -0.038293905556201935, -0.19380080699920654, 0.696999192237854, -0.1317366659641266, -0.6752078533172607, 0.3330512046813965, -0.011473068036139011, 0.7636166214942932, 0.10588885843753815, 0.05169441178441048, -0.1648724526166916, -0.40382441878318787, -0.5987435579299927, -0.8482164144515991, 0.24828247725963593, 0.3760632276535034, 0.11283184587955475, -0.4611755609512329, 0.45137330889701843, -0.23957738280296326, -0.38451099395751953, -0.278613805770874, 0.5001312494277954, 0.7080748081207275, -0.2953858971595764, -0.44698798656463623, 0.1958429366350174, 0.17707887291908264, -0.36287036538124084, 0.03178832679986954, 0.6595968008041382, 0.033904220908880234, 0.4356659948825836, 0.7479249835014343, -0.10951552540063858, 0.2326958030462265, 0.0033181090839207172, 0.6621870994567871, -0.5682422518730164, -0.5934588313102722, -0.8266541361808777, 0.5681177973747253, -0.5552798509597778, -0.4062478542327881, 0.6291275024414062, 0.817503035068512, 0.8657311201095581, -0.057371970266103745, 1.0023616552352905, -0.15615281462669373, 0.564763069152832, -0.4105531573295593, 0.48937639594078064, 0.06978322565555573, -0.12611263990402222, -0.48142141103744507, -0.9212139844894409, -0.28142687678337097, 0.5928145051002502, -0.5219588279724121, 0.34319859743118286, 0.7584906220436096, 0.26631590723991394, 0.15525417029857635, 0.30846700072288513, -0.03982231765985489, -0.05964045226573944, 0.29924046993255615, 0.13780884444713593, 0.6920398473739624, 0.011352358385920525, 0.792339563369751, -0.38210543990135193, -0.3429313898086548, -0.009867818094789982, -0.9960364699363708, -0.7613686323165894, -0.5762735605239868, -0.48888227343559265, -0.13106805086135864, 0.19410677254199982, 0.5280459523200989, 0.6810089349746704, -0.532950758934021, 0.16390793025493622, 0.2412954568862915, -0.12139680981636047, -0.3938750922679901, -0.22233867645263672, 0.5513437986373901, -0.138176828622818, -0.8495876789093018, 0.03711621090769768, 0.2221623659133911, -0.2665518522262573, -0.06324020773172379, -0.11562959849834442, -0.1141439899802208, -0.4152301847934723, 0.41369175910949707, 0.05241049826145172, -0.6487374901771545, -0.36249151825904846, -0.3796992301940918, -0.1752810776233673, 0.1513829529285431, 0.7872719168663025, -0.7935567498207092, 0.48848989605903625, 0.41999930143356323, 0.8129614591598511, 0.6206878423690796, 0.8852785229682922, 0.46877434849739075, -0.5492871403694153, -0.039455268532037735, 0.3301917314529419, -0.04916422814130783, 0.6640148758888245, -0.4622296392917633, 1.0620614290237427, 0.48067763447761536, -1.0046231746673584, -0.5139561295509338, -0.2735706567764282, -0.8207547664642334, 0.09119666367769241, 1.1274927854537964, -0.21753884851932526, 0.17125371098518372, -0.6927069425582886, -0.22794927656650543, 0.3410378098487854, -0.8206268548965454, 0.9912334680557251, 0.9130146503448486, -0.3770392835140228, 0.05613670498132706, -0.8077390193939209, 0.45346125960350037, 0.12270794063806534, -0.7880778908729553, -0.11965014040470123, 0.761249840259552, 0.23471437394618988, 0.16113422811031342, 0.9511036276817322, -0.04431268572807312, 0.01546446979045868, -0.05223964527249336, 0.23023439943790436, -0.3677862584590912, 0.46371084451675415, 0.2602393627166748, 0.2600145936012268, 0.0019165088888257742, -0.5261409282684326 ]
http://arxiv.org/abs/2402.16786v2
http://arxiv.org/pdf/2402.16786v2
Political Compass or Spinning Arrow? Towards More Meaningful Evaluations for Values and Opinions in Large Language Models
2024-02-26T18:00:49
2024-06-05T10:17:53
Paul Röttger, Valentin Hofmann, Valentina Pyatkin, Musashi Hinck, Hannah Rose Kirk, Hinrich Schütze, Dirk Hovy
cs.CL
cs.CL, cs.AI
Much recent work seeks to evaluate values and opinions in large language models (LLMs) using multiple-choice surveys and questionnaires. Most of this work is motivated by concerns around real-world LLM applications. For example, politically-biased LLMs may subtly influence society when they are used by millions of people. Such real-world concerns, however, stand in stark contrast to the artificiality of current evaluations: real users do not typically ask LLMs survey questions. Motivated by this discrepancy, we challenge the prevailing constrained evaluation paradigm for values and opinions in LLMs and explore more realistic unconstrained evaluations. As a case study, we focus on the popular Political Compass Test (PCT). In a systematic review, we find that most prior work using the PCT forces models to comply with the PCT's multiple-choice format. We show that models give substantively different answers when not forced; that answers change depending on how models are forced; and that answers lack paraphrase robustness. Then, we demonstrate that models give different answers yet again in a more realistic open-ended answer setting. We distill these findings into recommendations and open challenges in evaluating values and opinions in LLMs.
[ -0.3416772782802582, -0.39103108644485474, 0.7336838841438293, -0.010961824096739292, -0.5620172619819641, 0.28052687644958496, -0.4156322777271271, -0.29380956292152405, 0.1116257756948471, 0.4606315791606903, -0.5696102976799011, -0.34432199597358704, -0.5617764592170715, 0.18943853676319122, -0.14968642592430115, 1.0685330629348755, 0.13691306114196777, 0.3745233118534088, -0.07737653702497482, -0.28294235467910767, -0.27562275528907776, -0.6925978660583496, -0.19376900792121887, -0.5267190933227539, 0.5755543112754822, 0.30030813813209534, 1.1873167753219604, 0.4476841688156128, 0.6248587369918823, 0.19994252920150757, -0.19353385269641876, 0.07170268148183823, -0.5996711254119873, 0.07347527891397476, -0.31465309858322144, -0.3816535174846649, -0.15817902982234955, 0.6055163741111755, 0.44571125507354736, 0.8117537498474121, 0.13020485639572144, 0.28718504309654236, 0.03700457885861397, 0.7993623614311218, -0.5355731844902039, 0.20076535642147064, -0.866861879825592, -0.09218452125787735, -0.11216060817241669, -0.01000137161463499, -0.2668944001197815, -0.6165282130241394, 0.3633100390434265, -0.45041558146476746, -0.19595271348953247, 0.14807675778865814, 0.8976072669029236, -0.15075182914733887, -0.610123336315155, -0.5148316621780396, -0.7487769722938538, 1.073814868927002, -0.5353928804397583, 0.3126058876514435, 0.10732297599315643, 0.41739875078201294, -0.13591526448726654, -0.448417603969574, -0.5266462564468384, -0.39792564511299133, 0.2649264633655548, 0.18168410658836365, -0.0016037754248827696, -0.03659097105264664, -0.09365354478359222, 0.33319687843322754, -0.17779196798801422, -0.04696698859333992, -0.2917294502258301, 0.1581781506538391, 0.6037552952766418, 0.26126864552497864, -0.12486211210489273, -0.5102726221084595, -0.34751075506210327, -0.27074795961380005, -1.0989967584609985, 0.1528320610523224, 0.612553596496582, 0.5881630182266235, 0.1670284867286682, 0.7738673090934753, 0.10875029116868973, 0.5205773115158081, 0.4036325514316559, 0.07942333072423935, 0.0016380648594349623, -0.297555148601532, -0.03459453582763672, -0.29842349886894226, 0.7050665616989136, 0.7087906002998352, 0.5533340573310852, 0.21340860426425934, -0.2857162654399872, -0.027470888569951057, 0.0029827586840838194, -0.741280198097229, 0.0750712901353836, 0.23271574079990387, -0.689734697341919, -0.40019655227661133, 0.3092136085033417, -0.9102357029914856, -0.8432217836380005, -0.5935899019241333, -0.01750766485929489, -0.18948662281036377, -0.39011168479919434, 0.08509301394224167, -0.013278050348162651, 0.4973183572292328, 0.5157521963119507, -0.557209312915802, 0.028611162677407265, 1.100078821182251, 0.836306095123291, -0.3531792163848877, -0.07490408420562744, -0.42085984349250793, -0.4710475504398346, -0.42744165658950806, 0.856513500213623, -0.96326744556427, -0.42970290780067444, 0.10488367825746536, -0.02644171565771103, 0.10065972059965134, -0.5648812651634216, 0.2495088428258896, -0.5907459855079651, 0.3159749209880829, -0.9504298567771912, -0.3894522488117218, -0.015135658904910088, 0.4100888967514038, -0.6133908033370972, 0.8036351203918457, 0.05761761590838432, -0.6806622743606567, 0.6208839416503906, -0.48338285088539124, -0.18858899176120758, -0.046742331236600876, -0.43886473774909973, -0.2835787534713745, 0.3135607838630676, -0.11354678869247437, 0.22873081266880035, -0.7207932472229004, 0.36296817660331726, -0.6498832702636719, -0.29235976934432983, 0.6802458763122559, -0.6439939141273499, 0.997891366481781, 0.2672097682952881, -0.3159452974796295, 0.16664455831050873, -0.7329442501068115, 0.10788261890411377, -0.1921645551919937, -0.3394363522529602, -0.26950696110725403, 0.18240053951740265, 0.1242440864443779, 0.4572846591472626, 0.05218090862035751, -0.7038163542747498, 0.15883873403072357, -0.36190155148506165, 0.40523388981819153, 1.188966155052185, -0.07953428477048874, 0.4593453109264374, -0.5501947999000549, 0.767961859703064, -0.31216859817504883, 0.09644699841737747, 0.48533886671066284, -0.4557381570339203, -0.6005653142929077, -0.18749336898326874, 0.11406555026769638, 0.5053806900978088, -0.6259452104568481, 0.11991406977176666, -0.23910212516784668, -0.6775190830230713, -0.8122686743736267, -0.08662130683660507, 0.08496727049350739, 0.2608169615268707, 0.06956060975790024, 0.01255798153579235, -0.2539522051811218, -0.6980679035186768, -0.7444131970405579, -0.5157821178436279, -0.17151057720184326, 0.3851414918899536, 0.7282711863517761, 0.27760082483291626, 0.9379609823226929, -0.24607880413532257, 0.03296712413430214, -0.3523656129837036, 0.19587430357933044, 0.4554522633552551, 0.03565753251314163, 0.1777249425649643, -0.6651948690414429, -0.5028574466705322, 0.07127010077238083, -0.4184854030609131, -0.24546730518341064, -0.32491353154182434, 0.18437813222408295, 0.0639946311712265, 0.10985273867845535, -0.7022165060043335, 0.27708783745765686, 0.49109673500061035, -0.3613062798976898, 0.723077654838562, 0.13941709697246552, 0.3692499101161957, -0.7273135185241699, 0.04394261911511421, -0.181731179356575, -0.14345736801624298, -0.5500269532203674, 0.0636105090379715, -0.020859552547335625, 0.1534484475851059, -0.577470064163208, 0.3306286633014679, -0.45303377509117126, 0.014082138426601887, -0.29841408133506775, 0.3766767680644989, -0.04420606791973114, -0.0273024532943964, 0.08668707311153412, 0.7007318735122681, 0.16440925002098083, -0.2554550766944885, 0.5911827683448792, 0.030930275097489357, -0.5012051463127136, 1.0077074766159058, -0.6810436844825745, 0.25460100173950195, -0.2653020918369293, 0.13940423727035522, -1.0593699216842651, 0.009061520919203758, 0.09373857080936432, -0.20623642206192017, -0.15170833468437195, -0.15736296772956848, -0.33732882142066956, -0.09423665702342987, -0.7554408311843872, 0.18894712626934052, 0.48580020666122437, -0.6288666725158691, 0.3927336037158966, 0.46431511640548706, 0.0630936473608017, -0.5403420329093933, -0.3794670104980469, 0.09903664141893387, -0.42246320843696594, -0.5344566106796265, -0.06741221994161606, -0.08037005364894867, -0.7660576105117798, -0.07470998913049698, -0.14809595048427582, 0.01752607524394989, -0.0968158021569252, 0.09936687350273132, 0.27989357709884644, -0.2121858298778534, 0.21013136208057404, -0.2863571047782898, 0.03335022181272507, -0.002191597828641534, -0.13887465000152588, 0.4518990218639374, -0.6977099776268005, -0.636665940284729, -0.21058084070682526, 0.35774797201156616, 0.9748717546463013, -0.35789304971694946, 0.5598373413085938, 0.08633974939584732, 0.013499625027179718, 0.041304778307676315, -0.5197848677635193, -0.16139793395996094, -0.4834657907485962, 0.33469030261039734, -0.23338072001934052, -0.9548372030258179, 0.5287140011787415, -0.12229105830192566, 0.3399072587490082, 0.4534376561641693, 0.744786262512207, -0.08309826254844666, 0.9525483846664429, 0.16160503029823303, 0.06274434179067612, 0.16829568147659302, 0.13243885338306427, 0.5365245938301086, -0.7204999327659607, -0.11271563917398453, -0.703642725944519, -0.22951754927635193, -0.8896099328994751, -0.4055350720882416, 0.45400938391685486, -0.2012265920639038, -0.2362322062253952, -0.08971080183982849, -0.5672343969345093, 0.4505607783794403, 0.1501350998878479, -0.14494936168193817, 0.4374089241027832, -0.20798799395561218, 0.02218579314649105, -0.2524549663066864, -0.5300446152687073, -0.8392794728279114, 1.2068021297454834, 0.264622300863266, 0.9469852447509766, 0.011356099508702755, 0.2930075228214264, -0.07409839332103729, 0.6710096597671509, -0.9490851759910583, 0.542394757270813, -0.01432078704237938, -0.7733191847801208, -0.48772919178009033, -0.2830302119255066, -0.9761728048324585, 0.7699013352394104, -0.2345799058675766, -0.40816760063171387, 0.26239344477653503, -0.03179216757416725, -0.28280168771743774, 0.48673737049102783, -0.10733400285243988, 0.5652313232421875, -0.3974013030529022, -0.3653803765773773, 0.024740738794207573, -0.5811553597450256, 0.3244606554508209, 0.0213264599442482, 0.36624354124069214, -0.31712642312049866, -0.05183427408337593, 0.5233740210533142, -0.4761750400066376, 0.7775188684463501, -0.04941948503255844, -0.014751801267266273, 0.40141451358795166, 0.022940943017601967, 0.374642014503479, 0.06541670858860016, -0.4207479953765869, -0.04948972165584564, 0.31225311756134033, -0.17331302165985107, -0.5428281426429749, 0.7532234787940979, -0.7563849091529846, -0.9485865831375122, -0.8388497829437256, -0.6131631731987, -0.08649254590272903, 0.10472080111503601, 0.2381569743156433, 0.14599129557609558, -0.2954500913619995, 0.4821814298629761, 0.5493643283843994, -0.2050660401582718, 0.16228370368480682, 0.38612568378448486, -0.3563643991947174, -0.3765302002429962, 0.501670777797699, 0.4336148798465729, 0.6176339983940125, 0.07607205212116241, 0.5920241475105286, -0.33360061049461365, -0.3121910095214844, -0.4470060467720032, 0.3184717297554016, -0.7969616055488586, -0.10617181658744812, -0.053111832588911057, 0.15896326303482056, -0.2383379489183426, -0.301257848739624, -0.693335771560669, -0.5475045442581177, -0.3163524568080902, -0.0796755775809288, 0.41893836855888367, 0.9913687705993652, 0.04248139634728432, 0.08255086839199066, -0.23548410832881927, 0.0718516856431961, 0.21083101630210876, 0.3228873014450073, -0.22050374746322632, -0.42646417021751404, 0.24596887826919556, 0.09395308047533035, -0.3734123408794403, -1.2359230518341064, 0.11703402549028397, -0.005366381257772446, 0.2818564772605896, 0.4329098165035248, 0.412447452545166, 0.7794559001922607, -0.5847739577293396, 0.9802184700965881, 0.06291812658309937, -0.8572742342948914, 0.045436691492795944, -0.27568620443344116, 0.5073909759521484, 0.8471794724464417, 0.3620590269565582, -0.7393890619277954, -0.5398845076560974, -0.3364615738391876, -0.6875478625297546, 0.21029284596443176, -0.02828959748148918, 0.2535809874534607, -0.16027969121932983, 0.43301811814308167, 0.13219894468784332, 0.4401703178882599, -0.993472158908844, 0.0054528312757611275, -0.3532164990901947, -0.06424164772033691, 0.12848800420761108, -0.0634133368730545, -0.08558764308691025, -0.27810877561569214, 0.4442991018295288, -0.06877632439136505, 0.0019108488922938704, 0.2786257266998291, 0.1318649798631668, -0.2189898043870926, 0.625327467918396, 0.36263614892959595, 0.9317461252212524, -0.1578003466129303, 0.32509657740592957, 0.19073760509490967, -0.14732931554317474, 0.2418089061975479, -0.2857385575771332, -0.31453680992126465, 0.13965649902820587, 0.22875778377056122, 0.4308423101902008, -0.08354377746582031, -0.431645929813385, 0.778612494468689, 0.13207365572452545, -0.13998210430145264, -0.37267640233039856, -0.4955902695655823, 0.16611774265766144, -0.008906095288693905, 0.16146546602249146, -0.08641703426837921, -0.0759291723370552, -0.8299705982208252, -0.13166838884353638, 1.0241578817367554, -0.551994800567627, -0.3369204103946686, 0.36319929361343384, 0.20019245147705078, -0.415902704000473, 0.4428880512714386, -0.14521348476409912, -0.7615991830825806, 0.47348910570144653, 0.3433939516544342, 0.843223512172699, -0.3150627315044403, 0.2879236042499542, -0.08969748020172119, 0.8035477995872498, 0.023338770493865013, 0.5500912666320801, 0.2898894250392914, -0.5437090992927551, -0.4498286545276642, -0.37088820338249207, -0.6563308238983154, 0.44798269867897034, -0.6063264012336731, 0.37775442004203796, -0.7442494034767151, -0.23147521913051605, -0.27651676535606384, 0.15747487545013428, -0.49889224767684937, -0.12973777949810028, -0.284493625164032, 0.7655060887336731, -0.8879213929176331, 0.6323425769805908, 0.46145159006118774, -0.13806559145450592, -0.46517714858055115, -0.08244670927524567, 0.28614315390586853, -0.6140965819358826, 0.520069420337677, 0.11658601462841034, -0.6188192367553711, -0.6478250622749329, -0.5566709637641907, -0.743508517742157, 0.7976972460746765, 0.2525942027568817, -0.4300905466079712, 0.19292277097702026, 0.4948113262653351, 0.5669605731964111, -0.5557174682617188, 0.3752225637435913, 0.5865591168403625, 0.7970833778381348, 0.13046050071716309, -0.8894819617271423, 0.022048063576221466, 0.13851462304592133, 0.011647481471300125, 0.07785304635763168, -0.8412260413169861, 1.1009026765823364, -0.14911003410816193, -0.22406154870986938, 0.09011127799749374, 0.5239793062210083, 0.41837477684020996, 0.20567910373210907, 0.5907385349273682, -0.12777858972549438, 0.8018055558204651, -0.06809557229280472, 1.0253700017929077, -0.2639208734035492, 0.39673376083374023, 0.9483560919761658, -0.7980167865753174, 0.8583436608314514, 0.8564856648445129, -0.16596576571464539, 0.24415211379528046, 0.6809097528457642, -0.07566814869642258, 0.33232367038726807, 0.6730640530586243, -0.254973441362381, -0.3693213164806366, -0.09589114785194397, -0.24416430294513702, 0.537418007850647, 0.16756877303123474, 0.005629553459584713, -0.2538350224494934, -0.23750126361846924, 0.4843144118785858, 0.4498445689678192, -0.17877702414989471, 0.3151170611381531, 0.19058364629745483, -0.7832415103912354, 0.45417067408561707, 0.03462638705968857, 0.4276224970817566, -0.44823139905929565, -0.08241540938615799, -0.004361617844551802, 0.08307825773954391, -0.11793366819620132, -0.9400330781936646, 0.23490215837955475, 0.2814246714115143, 0.12953878939151764, -0.40749484300613403, 0.443889856338501, -0.3006832003593445, -0.6228775382041931, 0.09277521073818207, 0.5492300391197205, 0.10737196356058121, -0.01595521904528141, -0.7009233832359314, 0.20127274096012115, -0.052854906767606735, -0.5708463191986084, 0.18030790984630585, 0.4234671890735626, -0.025899697095155716, 0.6946386694908142, 0.6900217533111572, 0.2964639961719513, -0.1766037493944168, -0.19726118445396423, 0.8319680690765381, -0.39576494693756104, -0.32970985770225525, -0.9419732093811035, 0.32925945520401, -0.1843460649251938, -0.5349282622337341, 0.9055114984512329, 0.47510722279548645, 0.8294061422348022, 0.043025851249694824, 0.8697916865348816, 0.08669354021549225, 0.5700876116752625, -0.4622458815574646, 0.8002405762672424, -0.2572844326496124, 0.5653753876686096, -0.38835716247558594, -0.775143027305603, -0.42610612511634827, 0.9775845408439636, -0.6571094393730164, 0.2612084150314331, 0.7768853902816772, 0.632889986038208, 0.1875118762254715, 0.1410742700099945, 0.34402352571487427, 0.10706430673599243, 0.5168119668960571, 0.5392539501190186, 1.3324497938156128, -0.01766277849674225, 0.4345763027667999, -0.04984384402632713, -0.4510178565979004, 0.05550503358244896, -1.3225107192993164, -1.1411819458007812, -0.4637831449508667, -0.2000349760055542, -0.4999234676361084, 0.03185832500457764, 1.3477720022201538, 0.4952319860458374, -0.7349863648414612, -0.8272144198417664, 0.20910678803920746, 0.3901820480823517, -0.06017952412366867, -0.1932668387889862, 0.4378628134727478, -0.06230916827917099, -0.6581421494483948, 0.098038449883461, 0.23115846514701843, -0.24934150278568268, -0.5347371697425842, 0.028111131861805916, -0.1601191610097885, 0.4024129807949066, 0.6493126749992371, 0.12433161586523056, -0.9058124423027039, -0.7885070443153381, 0.19239577651023865, 0.12900620698928833, 0.17657318711280823, 0.976859986782074, -0.4857964813709259, 0.4357011020183563, 0.44544729590415955, 0.4681864380836487, 0.044959906488657, 0.0055913846008479595, 0.5544078946113586, -0.1041778028011322, -0.16043494641780853, 0.4482237696647644, 0.15706424415111542, 0.41181930899620056, -0.13883467018604279, 0.07088442146778107, 0.1439124494791031, -0.6155365705490112, -0.8776147365570068, 0.5516613721847534, -0.7846314907073975, -0.33812475204467773, 1.4244089126586914, -0.07932130992412567, -0.09894701093435287, -0.13872069120407104, -0.14395107328891754, -0.14735372364521027, -0.26755210757255554, 0.8107694387435913, 1.0989207029342651, -0.2296363115310669, -0.13327006995677948, -0.5546374917030334, 0.45103633403778076, 0.350534588098526, -0.5672647953033447, 0.3607131838798523, 0.5312267541885376, 0.3762553632259369, -0.11256379634141922, 0.4034471809864044, -0.41977980732917786, 0.23442833125591278, -0.42484036087989807, -0.29524433612823486, 0.19426031410694122, -0.24939942359924316, -0.5926464200019836, 0.32162219285964966, 0.4859824776649475, 0.12522107362747192 ]
http://arxiv.org/abs/2402.16775v2
http://arxiv.org/pdf/2402.16775v2
A Comprehensive Evaluation of Quantization Strategies for Large Language Models
2024-02-26T17:45:36
2024-06-06T13:38:26
Renren Jin, Jiangcun Du, Wuwei Huang, Wei Liu, Jian Luan, Bin Wang, Deyi Xiong
cs.CL
cs.CL, cs.AI
Increasing the number of parameters in large language models (LLMs) usually improves performance in downstream tasks but raises compute and memory costs, making deployment difficult in resource-limited settings. Quantization techniques, which reduce the bits needed for model weights or activations with minimal performance loss, have become popular due to the rise of LLMs. However, most quantization studies use pre-trained LLMs, and the impact of quantization on instruction-tuned LLMs and the relationship between perplexity and benchmark performance of quantized LLMs are not well understood. Evaluation of quantized LLMs is often limited to language modeling and a few classification tasks, leaving their performance on other benchmarks unclear. To address these gaps, we propose a structured evaluation framework consisting of three critical dimensions: (1) knowledge \& capacity, (2) alignment, and (3) efficiency, and conduct extensive experiments across ten diverse benchmarks. Our experimental results indicate that LLMs with 4-bit quantization can retain performance comparable to their non-quantized counterparts, and perplexity can serve as a proxy metric for quantized LLMs on most benchmarks. Furthermore, quantized LLMs with larger parameter scales can outperform smaller LLMs. Despite the memory savings achieved through quantization, it can also slow down the inference speed of LLMs. Consequently, substantial engineering efforts and hardware support are imperative to achieve a balanced optimization of decoding speed and memory consumption in the context of quantized LLMs.
[ -0.2926006317138672, -0.7230264544487, 0.8103915452957153, 0.3416404128074646, -0.39398449659347534, 0.15300697088241577, -0.3343283534049988, 0.02254665456712246, -0.3002862334251404, 0.43028751015663147, -0.1487191617488861, -0.5750920176506042, -0.47137635946273804, 0.1542150378227234, -0.394520103931427, 0.7935364842414856, -0.05763617157936096, 0.06440486013889313, -0.37824133038520813, -0.1007177084684372, -0.06273902952671051, -0.7485665678977966, -0.48998308181762695, -0.06638126075267792, 0.4051174223423004, 0.1279841512441635, 0.8304060697555542, 0.8047307133674622, 0.5055019855499268, 0.3484202027320862, -0.23063914477825165, -0.16404029726982117, -0.3543934226036072, 0.08720280230045319, 0.20675420761108398, -0.7222212553024292, -0.6637302041053772, -0.03061569109559059, 1.0726959705352783, 0.8094803094863892, -0.250521719455719, 0.19411584734916687, -0.0024738237261772156, 0.652190625667572, -0.9417917132377625, -0.16205178201198578, -0.3560898005962372, 0.07875487208366394, -0.2898770570755005, -0.22343949973583221, -0.15373669564723969, -0.5426653027534485, 0.21012553572654724, -0.4975854754447937, -0.01452782191336155, -0.05381729453802109, 0.5730468034744263, 0.2984195351600647, -0.4558791518211365, -0.06634524464607239, -0.798723578453064, 0.9516991376876831, -0.8858976364135742, 0.5285247564315796, 0.1759202927350998, 0.14674519002437592, 0.12176747620105743, -0.606947660446167, -0.42088231444358826, -0.07247341424226761, 0.1342209130525589, -0.1446898877620697, -0.2131763994693756, 0.36306920647621155, 0.595385730266571, 0.5728424787521362, -0.5877751708030701, 0.08811099082231522, -0.07611976563930511, -0.22683732211589813, 0.4923689365386963, 0.2622607350349426, 0.08519216626882553, 0.008004890754818916, -0.2564026117324829, -0.12326095998287201, -0.8093625903129578, -0.015076828189194202, 0.5321141481399536, -0.08925770968198776, 0.026407917961478233, 0.3348994255065918, -0.3653925061225891, 0.7441374063491821, -0.11442576348781586, -0.27778178453445435, 0.15549339354038239, -0.3616907298564911, -0.29206985235214233, -0.1384032517671585, 0.7812250852584839, -0.0173410065472126, 0.0880667045712471, -0.23423369228839874, -0.47600728273391724, -0.17458581924438477, 0.10310685634613037, -1.1077550649642944, -0.06923659145832062, 0.22170427441596985, -0.3501039147377014, -0.08249610662460327, -0.3772641122341156, -0.46907052397727966, -0.30724507570266724, -0.23472225666046143, 0.5830413103103638, -0.6542625427246094, -0.17823857069015503, 0.348855197429657, 0.008192339912056923, 0.20321619510650635, 0.19064879417419434, -0.8175800442695618, 0.37186217308044434, 0.8668290972709656, 0.7028103470802307, 0.05773964524269104, -0.009049874730408192, -0.43683481216430664, 0.1130228042602539, -0.40972083806991577, 0.5937379598617554, -0.6052411198616028, -0.17574802041053772, 0.06613408774137497, -0.43983539938926697, 0.1474146544933319, -0.6411939263343811, 0.3630014955997467, -0.778359591960907, -0.2180132418870926, -0.3233545124530792, -0.6235841512680054, -0.12470831722021103, 0.2303888350725174, -0.8302149772644043, 0.5445812344551086, 0.1623566448688507, -0.5991374254226685, 0.263904869556427, -0.33184587955474854, -0.38324087858200073, 0.20304036140441895, -0.05786454677581787, -0.4032556414604187, 0.5337263345718384, 0.12736563384532928, 0.3534976840019226, -0.6462664604187012, 0.301896333694458, -0.29472699761390686, -0.7845147848129272, 0.4751637578010559, -0.7411492466926575, 0.5951612591743469, 0.08860626071691513, -0.3233059346675873, 0.10480216890573502, -0.8921259641647339, 0.2318287342786789, -0.04775571823120117, -0.7045530676841736, -0.34737497568130493, 0.12146924436092377, -0.43854793906211853, -0.20684877038002014, 0.3936552107334137, -0.16310688853263855, 0.029881009832024574, -0.6101878881454468, 0.6847339272499084, 0.583825945854187, -0.139565110206604, 0.43464773893356323, -0.020358998328447342, 0.8472827076911926, -0.046038996428251266, 0.322296142578125, -0.2663910984992981, 0.12440445274114609, -1.0248020887374878, -0.40947189927101135, 0.6312698721885681, 0.35032063722610474, -0.6691927313804626, 0.3155840039253235, -0.43535786867141724, 0.02470974251627922, -0.5429040193557739, 0.09409312158823013, 0.7149043083190918, -0.1802726686000824, 0.09993934631347656, -0.1851276457309723, -0.3944755792617798, -1.0123393535614014, -0.3134339451789856, 0.05719912797212601, -0.2735249996185303, -0.02133173868060112, 0.23143959045410156, 0.11377127468585968, 0.6418231129646301, -0.13919103145599365, 0.2622998058795929, 0.06349514424800873, 0.21472203731536865, 0.17752525210380554, 0.2872883379459381, 0.12605580687522888, -0.5285811424255371, -0.19795669615268707, -0.04132489114999771, -0.49283748865127563, -0.084368035197258, 0.159355029463768, 0.06256368011236191, 0.3382973074913025, 0.5514881014823914, -0.4764404892921448, 0.21286097168922424, 0.6436605453491211, -0.004859611392021179, 0.5579834580421448, -0.12133457511663437, 0.029131079092621803, -0.7487786412239075, -0.055568598210811615, -0.03020811639726162, -0.12778669595718384, -0.47177013754844666, 0.1919945329427719, 0.2341960370540619, 0.020662551745772362, -0.2380194216966629, 0.27435770630836487, -0.6588915586471558, -0.3499787151813507, 0.04518403485417366, 0.318539559841156, 0.16299095749855042, 0.4303174912929535, -0.2160533219575882, 0.9327427744865417, 0.47121039032936096, -0.4372316300868988, 0.38860949873924255, -0.25292691588401794, -0.5914992094039917, 0.61907559633255, -0.7015060186386108, 0.17931878566741943, 0.08074227720499039, 0.04080125316977501, -0.8058540225028992, 0.13916508853435516, -0.26803329586982727, -0.15470197796821594, 0.3307693302631378, -0.05855076387524605, -0.8519862294197083, -0.12584418058395386, -0.5169170498847961, 0.8396762013435364, 0.4924468994140625, -0.2573104500770569, 0.5913364887237549, 0.0778314471244812, -0.012590834870934486, -0.37768518924713135, -0.3852972090244293, 0.09237860888242722, -0.5309761166572571, -0.533781886100769, 0.24536943435668945, -0.02540595829486847, -0.25959768891334534, -0.1147211417555809, -0.38722842931747437, 0.04207558184862137, 0.26347681879997253, -0.011623753234744072, -0.03930697590112686, -0.45561081171035767, 0.36988601088523865, 0.09639202058315277, -0.17226232588291168, 0.2941606640815735, -0.5232790112495422, 0.6301898956298828, -0.5079025030136108, -0.26779183745384216, -0.2828611731529236, 0.1121625155210495, 0.37031489610671997, -0.45178499817848206, 0.6199966669082642, 0.5651774406433105, -0.16417837142944336, -0.18123909831047058, -0.7372220158576965, -0.013703770935535431, -0.4916847348213196, 0.6269487142562866, -0.6526330709457397, -1.1004718542099, 0.3509116768836975, -0.37908846139907837, -0.2509390711784363, 0.11309144645929337, 0.4404243528842926, 0.01984679326415062, 1.1673824787139893, 0.535364031791687, 0.09488148242235184, 0.174455925822258, -0.27851319313049316, 0.48985546827316284, -1.0536056756973267, 0.020126458257436752, -0.47258734703063965, -0.21543529629707336, -0.6918765306472778, -0.5214199423789978, 0.5281912684440613, 0.6200282573699951, -0.505778431892395, 0.09568776935338974, -0.17883458733558655, 0.4991726875305176, 0.3868868947029114, 0.050309520214796066, 0.4149855673313141, 0.05018359422683716, -0.12406136840581894, 0.03242392838001251, -0.8515909314155579, -0.6758404970169067, 1.227128028869629, 0.4865211546421051, 0.6429648399353027, 0.31468281149864197, 0.5827107429504395, -0.15602317452430725, 0.10433890670537949, -0.8725444078445435, 0.6525311470031738, -0.268932044506073, -0.2761800289154053, -0.6642298102378845, -0.5932444334030151, -0.7899717092514038, 0.40523767471313477, -0.13574667274951935, -0.5833961367607117, -0.06742261350154877, 0.02898353338241577, -0.6351783275604248, 0.08880101144313812, -0.6120187044143677, 0.7491002082824707, -0.3302376866340637, -0.3448050618171692, -0.41172266006469727, -0.3635212182998657, 0.4399425983428955, -0.3127761483192444, 0.21170859038829803, 0.030094152316451073, -0.3652304410934448, 0.7324957847595215, -0.3811798095703125, 0.6099075078964233, 0.0900535136461258, -0.36993494629859924, -0.04716721922159195, 0.2071225643157959, 0.3341951370239258, 0.096758171916008, -0.13103757798671722, 0.24467644095420837, 0.2659708857536316, -0.5009053945541382, -0.884601891040802, 0.6982496976852417, -0.7055343985557556, -0.8886324167251587, -0.015863832086324692, -0.7249377369880676, -0.5738123655319214, 0.04723314195871353, 0.06058012321591377, 0.49589332938194275, 0.06542997062206268, 0.4099343419075012, 0.9247426986694336, -0.5427480340003967, 0.3899163007736206, 0.5586569905281067, 0.020068516954779625, -0.5501248240470886, 0.9671095609664917, 0.04708683863282204, 0.521879255771637, 0.5579835772514343, 0.2858060300350189, -0.2309914082288742, -0.8363567590713501, -0.03817734122276306, 0.26516851782798767, -0.6543012857437134, -0.28869885206222534, -0.4062846302986145, -0.27947181463241577, -0.31093674898147583, 0.1369670182466507, -0.41562899947166443, -0.3118618130683899, -0.20675818622112274, 0.06908877938985825, 0.11154881864786148, 0.3488864302635193, 0.11238422244787216, 0.5439599752426147, -0.7702146768569946, 0.12079517543315887, 0.4479924142360687, 0.5628326535224915, 0.171339750289917, -0.5426555275917053, -0.5233158469200134, -0.08809266984462738, -0.2942105829715729, -0.5596109628677368, 0.10866719484329224, 0.060580722987651825, 0.36483439803123474, 0.5299755930900574, -0.06616754829883575, 0.8931494951248169, -0.4680570960044861, 0.4798710346221924, 0.12591087818145752, -1.38341224193573, 0.35226839780807495, -0.13604477047920227, 0.40325602889060974, 0.27847206592559814, 0.4794919490814209, -0.1607976257801056, -0.15694653987884521, -0.38686317205429077, -0.8563805818557739, 0.5672692656517029, 0.029706591740250587, 0.20068423449993134, 0.1493791788816452, 0.4505237638950348, -0.23594780266284943, 0.41397523880004883, -0.5874766111373901, 0.02352706529200077, 0.1705871820449829, -0.06397277861833572, 0.07648330181837082, -0.7315117120742798, -0.12211207300424576, -0.14095577597618103, 0.25593721866607666, -0.025862202048301697, 0.05727306753396988, -0.23553426563739777, -0.11872432380914688, 0.024636585265398026, 0.3196125626564026, 0.5402756929397583, 0.7171000242233276, -0.07798448950052261, 0.14177416265010834, 0.20928683876991272, -0.1364445686340332, 0.17477788031101227, -0.041883207857608795, 0.09124702960252762, -0.29584938287734985, 0.6192869544029236, 1.1442148685455322, 0.4554152488708496, -0.6566689610481262, 0.6053673028945923, 0.056376732885837555, -0.23463952541351318, -0.14877158403396606, 0.1260012984275818, 0.09942851960659027, 0.5492464303970337, 0.15666019916534424, -0.5263698101043701, 0.21028614044189453, -0.474383682012558, -0.164366215467453, 0.6527619361877441, 0.03467973321676254, -0.41539087891578674, 0.3372035622596741, 0.06562294065952301, -0.2882564663887024, 0.6310421228408813, -0.2240656614303589, -0.5476502180099487, 0.49385786056518555, 0.4207003712654114, 0.8279363512992859, -0.33696073293685913, 0.07947109639644623, 0.2523738741874695, 0.24991711974143982, -0.01705506071448326, 0.1236061081290245, -0.37886470556259155, -0.5702759027481079, -0.7737176418304443, -1.035252332687378, -0.14947396516799927, 0.27654144167900085, -0.6995277404785156, 0.05783404782414436, -0.5905895233154297, -0.2625742554664612, -0.1295095980167389, 0.21649989485740662, -0.5253642201423645, 0.14937695860862732, 0.19462266564369202, 0.6443982124328613, -0.46300381422042847, 0.8190097808837891, 0.4904244542121887, -0.12494824081659317, -0.8499394655227661, 0.17653295397758484, -0.28634113073349, -0.7824782729148865, 0.7866767644882202, -0.07411544024944305, -0.06218142434954643, 0.14465074241161346, -0.37384477257728577, -1.0799143314361572, 0.9669042825698853, 0.5586773753166199, -0.9036542773246765, 0.0006064824992790818, 0.31568533182144165, 0.6057515144348145, 0.014169475063681602, 0.3995327055454254, 1.0492613315582275, 0.5069509744644165, 0.09602352231740952, -0.8046398162841797, 0.19948813319206238, 0.056086789816617966, 0.6146166920661926, 0.4274502694606781, -0.5771528482437134, 0.8432875871658325, -0.0281131062656641, -0.481621652841568, 0.2845599055290222, 0.42340975999832153, 0.4746116101741791, -0.08577756583690643, 0.35209089517593384, 0.640048623085022, 0.496380090713501, -0.15034142136573792, 1.0327012538909912, -0.4672040045261383, 0.1810220628976822, 0.6892038583755493, -0.24241352081298828, 0.7985121607780457, 0.511832594871521, -0.6909745931625366, 0.19966720044612885, 0.4632156491279602, 0.12238399684429169, 0.32658451795578003, 0.8430113792419434, -0.3676747977733612, -0.33656758069992065, 0.12613651156425476, -0.08039401471614838, 0.2895631194114685, 0.3914967179298401, -0.006882956717163324, -0.13409502804279327, -0.013768114149570465, -0.02603744901716709, -0.03281674534082413, -0.16216342151165009, 0.7403241991996765, 0.10122789442539215, -0.39121270179748535, 1.1047989130020142, 0.15059354901313782, 0.5341896414756775, -0.4448159337043762, 0.041396625339984894, -0.45564383268356323, 0.0336812362074852, -0.1328851282596588, -0.43535280227661133, 0.1289311647415161, -0.051008693873882294, -0.11425010114908218, -0.14326035976409912, 0.14632034301757812, -0.28593820333480835, -0.49064379930496216, 0.1641005277633667, 0.29390597343444824, 0.15090827643871307, -0.3543168306350708, -0.37060537934303284, 0.5089749097824097, -0.11561596393585205, -0.42209768295288086, 0.610487163066864, 0.9139875173568726, -0.23030710220336914, 0.6571276783943176, 0.5000874400138855, 0.2263072431087494, 0.02608209289610386, 0.321943461894989, 0.846307635307312, -0.7447390556335449, -0.07908394932746887, -1.0168787240982056, 0.29059740900993347, 0.282622754573822, -0.11086833477020264, 0.7234171628952026, 0.5499345660209656, 0.7692751288414001, 0.23916514217853546, 0.5239085555076599, 0.4232468008995056, 0.091771699488163, -0.8078876733779907, 0.38980016112327576, -0.6271597743034363, 0.7238537073135376, -0.12921690940856934, -1.1165435314178467, -0.2864898443222046, 0.5016088485717773, -0.3750283420085907, 0.21422281861305237, 0.8162202835083008, 0.6261889338493347, 0.37056660652160645, -0.22231145203113556, 0.6374350190162659, 0.3116440176963806, 0.17268073558807373, 0.8052377700805664, 1.0782290697097778, -0.45665377378463745, 0.5775374174118042, -0.2593311667442322, -0.33919385075569153, -0.048125483095645905, -0.8595250844955444, -0.8204663395881653, -0.5083000659942627, -0.4471176564693451, -0.06765680015087128, 0.14123770594596863, 0.25305208563804626, 0.7590233683586121, -0.5032865405082703, -0.46522626280784607, -0.11693529784679413, 0.09403952956199646, 0.07658230513334274, -0.22097349166870117, 0.37167972326278687, -0.5213173031806946, -0.7873178720474243, 0.08499091863632202, 0.5672698020935059, -0.0583798885345459, -0.6186419725418091, -0.0026982775889337063, 0.2775305509567261, 0.16005194187164307, 0.8879162073135376, -0.11615989357233047, -0.8224446177482605, 0.05849706381559372, -0.04139415919780731, -0.08261336386203766, -0.12061597406864166, 0.8438030481338501, -0.7505330443382263, 0.18029870092868805, 0.3348652720451355, 0.6725762486457825, 0.5057093501091003, 0.06109621375799179, 0.632338285446167, -0.5995199680328369, 0.05474197864532471, 0.29949134588241577, 0.06580515950918198, 0.2075795829296112, -0.23421402275562286, 0.2640984058380127, -0.08822780847549438, -0.5288007259368896, -0.9325739741325378, 0.07134871929883957, -0.5470907688140869, -0.3153148591518402, 1.1148793697357178, -0.22649380564689636, -0.24801695346832275, 0.33306530117988586, 0.2675255537033081, 0.10051349550485611, -0.08937215805053711, 0.6037081480026245, 0.7334380149841309, 0.0795070081949234, -0.34374961256980896, -0.5876415371894836, 0.478407084941864, 0.5564691424369812, -0.6421130895614624, -0.03196297958493233, 0.4860662519931793, 0.23194186389446259, 0.0054337759502232075, 0.352757066488266, -0.24413764476776123, 0.09705385565757751, -0.0849742740392685, 0.13094839453697205, 0.11030219495296478, -0.20147141814231873, -0.703819215297699, 0.04210778698325157, 0.3154168128967285, -0.03000943921506405 ]
http://arxiv.org/abs/2402.16767v1
http://arxiv.org/pdf/2402.16767v1
CorpusBrain++: A Continual Generative Pre-Training Framework for Knowledge-Intensive Language Tasks
2024-02-26T17:35:44
2024-02-26T17:35:44
Jiafeng Guo, Changjiang Zhou, Ruqing Zhang, Jiangui Chen, Maarten de Rijke, Yixing Fan, Xueqi Cheng
cs.IR
cs.IR, cs.CL
Knowledge-intensive language tasks (KILTs) typically require retrieving relevant documents from trustworthy corpora, e.g., Wikipedia, to produce specific answers. Very recently, a pre-trained generative retrieval model for KILTs, named CorpusBrain, was proposed and reached new state-of-the-art retrieval performance. However, most existing research on KILTs, including CorpusBrain, has predominantly focused on a static document collection, overlooking the dynamic nature of real-world scenarios, where new documents are continuously being incorporated into the source corpus. To address this gap, it is crucial to explore the capability of retrieval models to effectively handle the dynamic retrieval scenario inherent in KILTs. In this work, we first introduce the continual document learning (CDL) task for KILTs and build a novel benchmark dataset named KILT++ based on the original KILT dataset for evaluation. Then, we conduct a comprehensive study over the use of pre-trained CorpusBrain on KILT++. Unlike the promising results in the stationary scenario, CorpusBrain is prone to catastrophic forgetting in the dynamic scenario, hence hampering the retrieval performance. To alleviate this issue, we propose CorpusBrain++, a continual generative pre-training framework. Empirical results demonstrate the significant effectiveness and remarkable efficiency of CorpusBrain++ in comparison to both traditional and generative IR methods.
[ -0.3026283085346222, -0.7335060238838196, 0.34793442487716675, 0.3404633104801178, -0.1385791003704071, 0.4483245611190796, -0.4545404613018036, -0.6317762136459351, 0.1099412590265274, 0.31160077452659607, -0.356692910194397, -0.5533149242401123, -0.7104155421257019, -0.13728846609592438, -0.7290219664573669, 0.8443326354026794, -0.17989572882652283, -0.004439199343323708, -0.33057498931884766, -0.2829652428627014, -0.801525354385376, -0.598734974861145, -0.8722299337387085, -0.327891081571579, 0.9229236245155334, 0.26719826459884644, 0.4203800857067108, 0.18232540786266327, 0.21892490983009338, 0.23491725325584412, -0.04038483649492264, 0.06570395827293396, -0.5813961029052734, 0.48797792196273804, 0.13104255497455597, -0.7386627793312073, 0.010934696532785892, -0.08574803173542023, 0.7438026666641235, 0.7034862041473389, -0.12475408613681793, 0.15259963274002075, 0.018843399360775948, 0.4881478250026703, -0.9901881217956543, -0.04561062157154083, -0.6445032954216003, 0.14173422753810883, -0.46749943494796753, -0.06842033565044403, -0.44264766573905945, -0.49648576974868774, 0.12781278789043427, -0.9885141849517822, 0.14812253415584564, -0.34094133973121643, 0.9175103902816772, -0.0206854660063982, -0.44192761182785034, -0.6947786211967468, -0.6911371946334839, 0.6756595969200134, -0.153949573636055, 0.7509543895721436, 0.5499274730682373, 0.14352552592754364, -0.016077879816293716, -0.914537787437439, -0.5295120477676392, -0.7308326959609985, -0.2951030731201172, 0.36152103543281555, 0.5084496736526489, -0.20958250761032104, 0.08573251217603683, -0.10151021182537079, -0.6441935896873474, -0.07969944179058075, -0.33852797746658325, -0.13279862701892853, 0.1364791989326477, -0.058881402015686035, 0.20598408579826355, 0.043295979499816895, -0.2870916724205017, -0.28605422377586365, -0.8381022810935974, 0.038540568202733994, 0.2698638141155243, -0.2053242027759552, 0.14955011010169983, 0.06534184515476227, 0.0998246893286705, 0.7722787261009216, 0.018861664459109306, 0.0420907698571682, 0.4553627371788025, -0.39056262373924255, 0.20686101913452148, 0.1744890660047531, 0.2560783326625824, -0.45314061641693115, 0.4237315058708191, -0.4096372425556183, -0.19361305236816406, 0.2766916751861572, 0.6432716846466064, -0.5613370537757874, -0.40667104721069336, 0.32789698243141174, -0.07150435447692871, -0.5738762021064758, -0.46661368012428284, -0.5623075366020203, -0.055751774460077286, -0.5684173107147217, 0.41471612453460693, -0.7888690829277039, -0.5680572390556335, 0.011558787897229195, -0.06704878807067871, 0.13855235278606415, 0.3158797323703766, -0.7711831331253052, 0.22673842310905457, 0.6605613231658936, 0.629723310470581, -0.35580798983573914, -0.4646212160587311, -0.5802780389785767, 0.04105377197265625, -0.4471830427646637, 0.7797671556472778, -0.8298702239990234, -0.5321396589279175, 0.07174019515514374, 0.0705568939447403, -0.3986750543117523, -0.5481612086296082, 0.7344359159469604, -0.9825922846794128, 0.1079125851392746, -0.1439533829689026, -0.4335711598396301, 0.07330948114395142, 0.7113982439041138, -0.5640034079551697, 1.156013011932373, 0.1839390993118286, -0.6690167188644409, 0.4923699200153351, -0.5325236320495605, -0.5574570894241333, 0.34841635823249817, -0.1555873453617096, -0.22568388283252716, -0.31170064210891724, -0.32241395115852356, 0.30719953775405884, 0.033488254994153976, 0.5812972187995911, -0.30417582392692566, -0.4391685724258423, 0.24955041706562042, -0.4489874541759491, 0.6747364401817322, 0.22721713781356812, -0.2484656274318695, -0.0274247694760561, -0.862289547920227, 0.06751399487257004, -0.06622707843780518, -0.5578830242156982, -0.6026630401611328, -0.08596359938383102, 0.15802614390850067, 0.16437657177448273, 0.4478898048400879, -0.7177543044090271, -0.10299301147460938, -0.12688902020454407, 0.06812901794910431, 0.5787618160247803, -0.4163227677345276, 0.45095890760421753, -0.2637332081794739, 0.36699625849723816, 0.0040915245190262794, 0.12729956209659576, -0.22874505817890167, 0.17423544824123383, -0.7214275002479553, -0.10096074640750885, 0.4719932973384857, 0.7254942059516907, -0.7577304840087891, -0.001488753710873425, -0.5256198048591614, -0.7296270132064819, -0.34926271438598633, 0.34433820843696594, 0.5980684757232666, 0.48067161440849304, 0.29202723503112793, -0.3067328631877899, -0.6204984784126282, -0.30812692642211914, 0.28959402441978455, -0.1240483820438385, 0.07724446803331375, 0.34342193603515625, 0.24223387241363525, -0.1350400596857071, 0.5068366527557373, -0.14918316900730133, -0.06885220110416412, -0.09388444572687149, 0.5187520980834961, 0.10410325974225998, 0.7147085070610046, 0.5091551542282104, -1.335971474647522, -0.4711376428604126, -0.026766600087285042, -1.0756694078445435, 0.15064576268196106, -0.23169872164726257, -0.36131811141967773, 0.21110205352306366, 0.3935387134552002, -1.0411204099655151, -0.029112722724676132, 0.4607661962509155, -0.16634303331375122, 0.9377565979957581, -0.4206622242927551, 0.1758570671081543, -0.902369499206543, 0.46361225843429565, -0.4222058355808258, -0.18876342475414276, -0.5007619261741638, 0.14279626309871674, 0.5886613130569458, -0.22944240272045135, -0.4874745011329651, 0.5281095504760742, -0.33564016222953796, 0.28103840351104736, -0.012124517001211643, 0.4073237180709839, 0.13221250474452972, 0.3424040973186493, 0.2034682184457779, 0.7395283579826355, 0.5661043524742126, -0.8180732131004333, 0.4397849440574646, 0.293520987033844, -0.3530481457710266, 0.4324517548084259, -0.44564563035964966, -0.11295270174741745, -0.35009071230888367, 0.44791164994239807, -0.7369999289512634, -0.18026046454906464, -0.10673201084136963, -0.5090914964675903, 0.866098165512085, 0.021111177280545235, -0.5619004964828491, -0.4174785912036896, -0.1841762214899063, 0.5012317895889282, 0.3845779597759247, -0.5098029971122742, 0.6116821765899658, 0.3003046214580536, -0.19699090719223022, -0.783439576625824, -0.346523642539978, 0.004736057948321104, -0.06486285477876663, -0.48512306809425354, 0.5037015676498413, -0.17727096378803253, 0.11684651672840118, 0.04715411365032196, -0.1963590830564499, -0.0497443787753582, 0.31950563192367554, 0.16863691806793213, 0.20197823643684387, -0.12917114794254303, 0.45538628101348877, -0.24926629662513733, -0.24526438117027283, -0.15406817197799683, -0.5627385973930359, 0.7686800360679626, 0.11805950850248337, -0.24180768430233002, -0.0494588203728199, 0.3058774769306183, 0.5549513697624207, -0.47174835205078125, 0.6148515939712524, 0.9378302693367004, -0.05584061145782471, 0.14977455139160156, -1.0318262577056885, -0.06758076697587967, -0.4327757656574249, 0.3830905258655548, -0.5080256462097168, -0.906822919845581, 0.4116532802581787, -0.3943837285041809, -0.11099687963724136, 0.20657441020011902, 0.18310120701789856, -0.6038959622383118, 0.45010748505592346, 0.602730929851532, -0.20087380707263947, 0.6416833996772766, -0.23854506015777588, -0.25839298963546753, -0.6139451861381531, -0.3454030752182007, -0.4403601288795471, -0.11123798787593842, -0.4372936487197876, 0.09272467344999313, 0.3113400936126709, 0.32976198196411133, -0.17242391407489777, 0.8823245167732239, -0.3404887914657593, 0.3629211187362671, 0.4765966832637787, 0.11722078174352646, -0.22699853777885437, -0.2348957061767578, -0.4612143337726593, 0.40305715799331665, -0.738899827003479, -0.06584242731332779, 1.2394200563430786, -0.06778276711702347, 0.4507196545600891, 0.03671086207032204, 0.5949668288230896, 0.26340341567993164, 0.5180764198303223, -0.17880794405937195, 0.4296458959579468, -0.2865014374256134, -0.7767232656478882, -0.2837723195552826, -0.41367337107658386, -1.3928273916244507, 0.0035436684265732765, -0.2214311808347702, -0.7844016551971436, 0.1441870629787445, 0.17617589235305786, -0.26928001642227173, -0.04299426078796387, -0.8138035535812378, 0.9668641686439514, -0.4548935890197754, -0.7270845770835876, -0.5710078477859497, -0.6866474151611328, 0.14723385870456696, -0.5419600605964661, 0.07910978049039841, 0.1297319382429123, 0.1415344774723053, 0.5656751394271851, 0.17093917727470398, 0.6253143548965454, -0.42393749952316284, -0.040586553514003754, 0.36202409863471985, 0.210060715675354, 0.8164836168289185, 0.15661607682704926, -0.3181547522544861, 0.04135352745652199, 0.4239427149295807, -0.673311173915863, -0.5768060088157654, 0.9360365271568298, -0.6779768466949463, -0.4449060559272766, -0.11299482733011246, -0.22856326401233673, -0.27928227186203003, 0.04953808709979057, 0.10713190585374832, 0.6978312730789185, -0.16084398329257965, 0.4995250999927521, 0.9690807461738586, -0.27126115560531616, 0.25733599066734314, 0.7876723408699036, -0.09048841148614883, -0.22491224110126495, 1.0698457956314087, 0.36579543352127075, 0.029660962522029877, 0.601239025592804, -0.2038489282131195, -0.13493691384792328, -0.45734667778015137, -0.46459341049194336, 0.08803428709506989, -0.6350436806678772, 0.03334749862551689, -0.9114318490028381, -0.25463390350341797, -0.23053644597530365, -0.276019424200058, -0.3494054973125458, -0.20889192819595337, -0.03758938983082771, -0.013746460899710655, 0.1273319572210312, 0.21795378625392914, 0.13069690763950348, 0.18671216070652008, -0.9840274453163147, 0.21923862397670746, 0.14863266050815582, 0.3867427110671997, 0.11427376419305801, -0.3399752676486969, -0.4341433048248291, -0.0979820191860199, -0.24920716881752014, -0.4732648730278015, 0.16537290811538696, 0.09860678017139435, 0.6785507202148438, -0.05024556815624237, -0.16928498446941376, 0.5644611716270447, -0.39886417984962463, 0.6334129571914673, 0.00004299584907130338, -0.3477719724178314, 0.39939063787460327, -0.35891488194465637, 0.6797544956207275, 0.8017714619636536, 0.9166132211685181, -0.5358294248580933, -0.5199214816093445, -0.6738775968551636, -1.153100848197937, 0.44889405369758606, 0.40820547938346863, 0.3788796663284302, -0.11892379075288773, 0.4483211934566498, 0.2892647981643677, 0.2102094441652298, -0.5553039908409119, 0.09723471105098724, -0.23771832883358002, -0.3249417841434479, -0.10763324052095413, -0.4351251423358917, 0.18891707062721252, -0.09657289832830429, 0.8003095388412476, 0.2328045815229416, 0.2711411118507385, -0.002414754359051585, -0.6045293211936951, 0.29507407546043396, 0.14782078564167023, 0.5702234506607056, 0.6705889105796814, -0.4334086775779724, 0.15083743631839752, 0.5108608603477478, -0.865028977394104, 0.1639309823513031, 0.28446391224861145, -0.14117391407489777, 0.14592424035072327, 0.415712833404541, 0.460064172744751, 0.45331791043281555, -0.8521255850791931, 0.4671359360218048, -0.058176711201667786, -0.035358726978302, -1.1845906972885132, 0.06520222127437592, 0.2240743786096573, -0.049536462873220444, 0.27454015612602234, 0.25936102867126465, -0.18968549370765686, -0.3116951584815979, 0.5017581582069397, 0.19377057254314423, -0.36395302414894104, -0.30781179666519165, 0.4399532377719879, 0.21943630278110504, -0.16735538840293884, 0.6157066822052002, -0.18212690949440002, -0.35338830947875977, 0.6557363271713257, 0.44593682885169983, 0.5099192261695862, -0.11498019099235535, 0.13061273097991943, 0.6229061484336853, -0.060940470546483994, -0.07729427516460419, 0.10749316215515137, -0.8216120600700378, -0.7623497843742371, -0.47131872177124023, -0.9139724373817444, -0.007861572317779064, 0.22156542539596558, -0.3579539954662323, 0.17067715525627136, -0.10401777923107147, -0.16398724913597107, -0.09908191859722137, -0.06288642436265945, -0.8364307284355164, 0.4670872986316681, 0.08144903182983398, 0.9073967933654785, -0.3110283315181732, 1.3866182565689087, 0.4822107255458832, -0.5714905858039856, -0.6231847405433655, -0.1006917804479599, -0.26938119530677795, -0.5405632853507996, 1.065239667892456, 0.2089592069387436, -0.16661076247692108, 0.04532621428370476, -0.33672621846199036, -1.0409088134765625, 1.1723772287368774, 0.2869771122932434, -0.5622203946113586, -0.2143680304288864, -0.025142258033156395, 0.5673601031303406, -0.04534497857093811, 0.37400808930397034, 0.4168095886707306, 0.5263489484786987, 0.05878769978880882, -0.6549636125564575, -0.28735119104385376, -0.5815367102622986, -0.21147635579109192, 0.464089035987854, -0.5495919585227966, 0.4250733554363251, 0.5638939738273621, -0.2089758962392807, 0.06627432256937027, 0.25534361600875854, 0.12984198331832886, 0.20347128808498383, 0.6492441296577454, 0.455441415309906, 0.7864726185798645, -0.02359486185014248, 1.1277023553848267, -0.6256236433982849, -0.09264801442623138, 1.2900428771972656, -0.2991819381713867, 0.9570417404174805, 0.24739523231983185, -0.014257223345339298, 0.5290213227272034, 0.495165079832077, 0.09590208530426025, 0.4732649028301239, 0.12467829138040543, -0.8463413119316101, -0.367521196603775, -0.14206001162528992, -0.21847732365131378, 0.24305544793605804, 0.5708363652229309, -0.12243257462978363, -0.22239382565021515, 0.42042121291160583, -0.01751655898988247, 0.1005919948220253, -0.12417847663164139, 0.6838164925575256, -0.03555109351873398, -0.9501490592956543, 0.911900520324707, -0.39525341987609863, 0.8202475309371948, -1.1744436025619507, 0.20567816495895386, -0.24873629212379456, 0.17832285165786743, 0.007658233866095543, -0.5785057544708252, 0.4360964000225067, -0.005422740709036589, -0.03881284222006798, -0.30230310559272766, 1.0301263332366943, -0.549209475517273, -0.3874852955341339, 0.7534241080284119, 0.1178068220615387, 0.15128715336322784, 0.21540483832359314, -0.44566142559051514, -0.02416864223778248, -0.2414575070142746, -0.3594816029071808, 0.6915291547775269, 0.4924450218677521, -0.0819903314113617, 0.9766601920127869, 0.7176852226257324, -0.005502539221197367, -0.011701577343046665, 0.13330745697021484, 1.0136216878890991, -0.3686141073703766, -0.09507561475038528, -0.43311384320259094, 0.5114392638206482, -0.071872778236866, -0.20290607213974, 0.39126020669937134, 0.5543633699417114, 1.0452630519866943, -0.12417668104171753, 0.5938965678215027, -0.14996379613876343, 0.3011079430580139, -0.4718003273010254, 1.0061196088790894, -0.6189835667610168, -0.005657179281115532, -0.004942494444549084, -0.6294010877609253, -0.2129128873348236, 0.21715250611305237, -0.2906135618686676, -0.12121623009443283, 0.7671674489974976, 0.9721587300300598, -0.16909344494342804, 0.06329402327537537, 0.5062111020088196, 0.0033899375703185797, -0.022184139117598534, 0.5020927786827087, 0.7768993377685547, -0.18561209738254547, 0.9755607843399048, -0.03831329941749573, 0.1022670567035675, 0.12211736291646957, -0.6179425120353699, -0.33498910069465637, -0.8350285291671753, -0.14743264019489288, -0.27575212717056274, 0.6767761707305908, 0.7432105541229248, 0.876282811164856, -0.8985466957092285, -0.09977602958679199, -0.483040452003479, -0.15735439956188202, 0.027917707338929176, -0.20617058873176575, 0.4479822516441345, -0.9490693211555481, -0.2988492250442505, 0.5234596133232117, 0.08352812379598618, -0.13031071424484253, -0.11067076027393341, -0.09163839370012283, -0.624829888343811, -0.20776614546775818, 0.6722477078437805, 0.29286977648735046, -0.24069944024085999, -0.36524978280067444, -0.07358327507972717, -0.1810440868139267, -0.04772089421749115, 0.7396256923675537, -1.2551110982894897, 0.4893096685409546, 0.27866560220718384, 1.0386302471160889, 1.0708913803100586, -0.3446960747241974, 0.5818332433700562, -0.8424205780029297, 0.32643288373947144, 0.2885919511318207, 0.09836942702531815, 0.25818347930908203, -0.28177034854888916, 0.4800190031528473, 0.33994370698928833, -0.4784447252750397, -0.4007059931755066, 0.26403680443763733, -0.7845482230186462, -0.23282018303871155, 0.9235352277755737, -0.5796950459480286, -0.17579849064350128, -0.2622798979282379, -0.2059049904346466, 0.4533246159553528, -0.11446703970432281, 0.8508076071739197, 0.7897018194198608, 0.5110374689102173, -0.1985199898481369, -0.7036154270172119, 0.3871019184589386, 0.8291062116622925, -0.5286841988563538, -0.10890737920999527, 0.21947741508483887, 0.35827112197875977, 0.49818941950798035, 0.684589147567749, -0.19873274862766266, 0.3360682725906372, 0.21420741081237793, 0.1049702987074852, 0.02070564776659012, -0.3846223056316376, 0.2432049661874771, 0.5864735245704651, 0.09261449426412582, 0.021002760156989098 ]
http://arxiv.org/abs/2402.16751v1
http://arxiv.org/pdf/2402.16751v1
Value Preferences Estimation and Disambiguation in Hybrid Participatory Systems
2024-02-26T17:16:28
2024-02-26T17:16:28
Enrico Liscio, Luciano C. Siebert, Catholijn M. Jonker, Pradeep K. Murukannaiah
cs.AI
cs.AI, cs.CL
Understanding citizens' values in participatory systems is crucial for citizen-centric policy-making. We envision a hybrid participatory system where participants make choices and provide motivations for those choices, and AI agents estimate their value preferences by interacting with them. We focus on situations where a conflict is detected between participants' choices and motivations, and propose methods for estimating value preferences while addressing detected inconsistencies by interacting with the participants. We operationalize the philosophical stance that "valuing is deliberatively consequential." That is, if a participant's choice is based on a deliberation of value preferences, the value preferences can be observed in the motivation the participant provides for the choice. Thus, we propose and compare value estimation methods that prioritize the values estimated from motivations over the values estimated from choices alone. Then, we introduce a disambiguation strategy that addresses the detected inconsistencies between choices and motivations by directly interacting with the participants. We evaluate the proposed methods on a dataset of a large-scale survey on energy transition. The results show that explicitly addressing inconsistencies between choices and motivations improves the estimation of an individual's value preferences. The disambiguation strategy does not show substantial improvements when compared to similar baselines--however, we discuss how the novelty of the approach can open new research avenues and propose improvements to address the current limitations.
[ -0.4214860796928406, -0.3066236078739166, 0.779545247554779, -0.23090782761573792, -0.1387728750705719, 0.3954479992389679, -0.23304428160190582, -0.47863537073135376, 0.7067552208900452, 0.05314677208662033, -0.39329394698143005, -0.038757991045713425, -0.6085246801376343, -0.055262066423892975, 0.10651851445436478, 0.7768408060073853, 0.048719435930252075, 0.20246325433254242, -0.4236011803150177, -0.10323023796081543, -0.4790351092815399, -0.38612329959869385, -0.2155037373304367, -0.6554588675498962, 0.4045162796974182, 0.632840096950531, 0.7298443913459778, -0.07152806967496872, 0.09059049934148788, 0.31450286507606506, -0.21277248859405518, 0.13694597780704498, -0.4716157615184784, 0.24695321917533875, -0.34264683723449707, -0.4486674964427948, 0.15313488245010376, 0.45686015486717224, 0.3672119379043579, 0.7718214988708496, 0.011828321032226086, 0.3400808274745941, -0.21133606135845184, 0.5894531011581421, -1.054368495941162, 0.2910831570625305, -0.655707061290741, 0.16276158392429352, -0.237976536154747, -0.2685370147228241, -0.047725725919008255, -0.5444936752319336, 0.051785022020339966, -0.39509356021881104, -0.1686220020055771, -0.0839293897151947, 0.5324183702468872, 0.5475304126739502, -0.4645608365535736, -0.10092244297266006, -0.9081816077232361, 0.9447993040084839, -0.27833181619644165, 0.21618427336215973, 0.5463967323303223, 0.3726198077201843, -0.12447692453861237, -0.3706238567829132, -0.8985978364944458, -0.10277275741100311, -0.17123199999332428, 0.31439363956451416, 0.011495472863316536, 0.27995923161506653, 0.24870207905769348, 0.5887744426727295, -0.20673830807209015, 0.1298280507326126, -0.37884092330932617, -0.4049757421016693, 0.700799286365509, 0.19700415432453156, -0.15532642602920532, -0.492683082818985, -0.39138466119766235, -0.12462823837995529, -0.3712417483329773, 0.6693370342254639, 0.6774212718009949, 0.19343161582946777, 0.036823175847530365, 0.6374515295028687, -0.23346562683582306, 0.37561091780662537, 0.39086589217185974, -0.1324959248304367, 0.4289413094520569, -0.46250036358833313, -0.09310945123434067, 0.3025122284889221, 0.33581987023353577, 0.47842463850975037, -0.18314173817634583, 0.07729154080152512, -0.02779780700802803, 0.15898650884628296, -0.08560973405838013, -0.5355196595191956, -0.2894199788570404, 0.43740135431289673, -0.4873577058315277, -0.15617522597312927, 0.16587476432323456, -0.5883046984672546, -0.43606269359588623, -0.7139166593551636, 0.5568602085113525, -0.002566738985478878, -0.5421368479728699, 0.021624663844704628, -0.4153226912021637, -0.20490868389606476, 0.5865219831466675, -1.1357200145721436, -0.06598766893148422, 0.45366808772087097, 0.6285033822059631, 0.025667941197752953, -0.15649770200252533, -0.4073934853076935, -0.10619385540485382, 0.08044534921646118, 0.8098660707473755, -0.8601348400115967, -0.6547110676765442, -0.35069772601127625, -0.14444434642791748, 0.13546130061149597, -0.6893835067749023, 0.23689332604408264, -0.3992007374763489, 0.29320529103279114, -0.6970356702804565, -0.48517531156539917, 0.1393330693244934, 0.37437331676483154, -0.62977135181427, 1.1642030477523804, 0.1729336380958557, -0.7074687480926514, 0.7660620212554932, -0.8255018591880798, -0.2227160781621933, 0.11999745666980743, -0.2051992118358612, -0.10405430942773819, 0.049179401248693466, -0.3922087848186493, 0.07844121754169464, -0.08861749619245529, 0.30785709619522095, -0.2211480736732483, -0.04796002060174942, 0.21374362707138062, -0.5638662576675415, 0.7872704863548279, 0.29839077591896057, -0.21280930936336517, 0.44789955019950867, -0.6159067153930664, -0.09121312946081161, -0.15277646481990814, -0.333978533744812, -0.6807811260223389, 0.3474273681640625, -0.19243955612182617, 0.01526991929858923, 0.6630980372428894, -0.6249112486839294, 0.14454522728919983, -0.1312376707792282, 0.27905765175819397, 0.9683260321617126, -0.00016117397171910852, 0.4540487229824066, -0.10458989441394806, 0.40847429633140564, 0.05759531259536743, 0.5983548760414124, 0.018024826422333717, -0.16198915243148804, -0.430315226316452, -0.042534299194812775, 0.1736142337322235, 0.2601839601993561, -0.652833104133606, 0.24507148563861847, 0.14652539789676666, -0.3162975609302521, -0.38944771885871887, -0.404725581407547, -0.09244038164615631, 0.5660696029663086, 0.5679892897605896, 0.16761542856693268, -0.41072019934654236, -0.8486424684524536, -0.04174718260765076, -0.6097615957260132, -0.03263122960925102, 0.19710196554660797, 0.4573696553707123, 0.1868503838777542, 0.9626418352127075, -0.376730352640152, 0.5934973359107971, 0.12224308401346207, 0.3044734597206116, 0.09894543886184692, 0.47982603311538696, 0.30068865418434143, -1.3630625009536743, -0.3854029178619385, -0.13859844207763672, -0.14048321545124054, 0.1490330994129181, 0.028454596176743507, -0.15686166286468506, -0.2786957621574402, -0.0700179934501648, -0.20732614398002625, 0.4330020248889923, 0.33783626556396484, -0.17391526699066162, 0.6148462891578674, -0.14729593694210052, 0.5335519313812256, -0.8862327933311462, 0.14073018729686737, 0.07135599851608276, -0.11560530960559845, -0.41248056292533875, -0.2992285192012787, -0.22560186684131622, 0.17615419626235962, -0.5459568500518799, 0.36968404054641724, -0.18418928980827332, -0.0635327398777008, -0.24477767944335938, -0.2100229412317276, -0.03049454279243946, 0.14331911504268646, 0.2381276935338974, 0.7947276830673218, 0.05986782908439636, -0.4756085276603699, 0.5182980298995972, 0.1350245475769043, -0.21486438810825348, 0.8241934180259705, -0.255778968334198, -0.05204181373119354, -0.14148543775081635, 0.268795907497406, -0.8567481637001038, -0.1609184890985489, 0.49192240834236145, -0.3249991238117218, 0.043049078434705734, -0.23202472925186157, -0.2809346616268158, -0.17800918221473694, -0.30017122626304626, 0.4394245743751526, 0.13918434083461761, -0.3622903823852539, 0.30662158131599426, 0.8655898571014404, 0.11770542711019516, -0.5665186643600464, -0.17540451884269714, -0.08647837489843369, -0.3556440770626068, -0.2012040913105011, 0.33148446679115295, -0.21884101629257202, -0.4678269326686859, -0.14811952412128448, -0.2719748914241791, 0.02658136561512947, 0.1511615365743637, 0.3596183657646179, 0.22823216021060944, 0.2845019996166229, 0.3924896717071533, 0.3579566478729248, -0.5760844945907593, 0.05413743481040001, -0.2232506424188614, 0.38751035928726196, 0.018488306552171707, -0.4834698438644409, -0.15311092138290405, 0.49245738983154297, 0.7312930822372437, -0.22149023413658142, 0.5585706830024719, 0.21339187026023865, -0.31525400280952454, 0.18384359776973724, -0.3764476776123047, -0.1241784542798996, -0.4221515357494354, -0.09355024993419647, -0.23534910380840302, -1.0596307516098022, 0.4908651113510132, -0.41090378165245056, 0.14737413823604584, 0.42365124821662903, 0.5925862789154053, -0.3497968912124634, 0.7126243710517883, 0.46336856484413147, 0.05652840435504913, 0.6442857384681702, -0.0696239322423935, 0.10204953700304031, -0.695155680179596, -0.5250443816184998, -0.6181873083114624, -0.7642587423324585, -0.7502524256706238, -0.5263826847076416, 0.8874877691268921, -0.15795613825321198, -0.36966317892074585, 0.215530127286911, -0.6624658703804016, 0.4200746417045593, 0.5133869647979736, 0.07970430701971054, 0.3487401008605957, -0.38332241773605347, 0.332411527633667, -0.22516781091690063, -0.383154958486557, -0.34833917021751404, 0.8252416849136353, 0.04796376824378967, 0.7179082036018372, 0.21253320574760437, 0.7227752208709717, 0.45635855197906494, 0.24258145689964294, -1.0423208475112915, 0.2333686649799347, 0.41056880354881287, -0.7567156553268433, -0.6655256748199463, -0.5087109208106995, -1.171444296836853, 0.3684122562408447, -0.24487753212451935, -0.7963229417800903, 0.7023141384124756, 0.319532185792923, -0.6083276867866516, 0.2806127667427063, -0.4714948534965515, 1.0567023754119873, -0.41821587085723877, -0.352210134267807, -0.6302918791770935, -0.8382183909416199, 0.08960367739200592, 0.3446584641933441, 0.01926230452954769, -0.2854447066783905, 0.1693444848060608, 0.4147966206073761, -0.6446530222892761, 0.6548686027526855, -0.4663168489933014, -0.009083431214094162, 0.3078404366970062, -0.2824411988258362, 0.27882176637649536, 0.11089108884334564, -0.5210946202278137, 0.16438016295433044, 0.3730751872062683, -0.5670168995857239, -0.568026602268219, 0.5624166131019592, -0.6561280488967896, -0.6935033798217773, -0.6279844045639038, -0.23058174550533295, -0.17957808077335358, 0.006567356176674366, 0.26222068071365356, -0.05239883437752724, -0.4771505296230316, -0.062373075634241104, 0.8314719796180725, 0.11461693793535233, 0.3894558250904083, 0.324733167886734, 0.14424823224544525, -0.05483942851424217, 0.7341306805610657, 0.38077181577682495, 0.624647319316864, 0.59552001953125, 0.47023218870162964, -0.5723405480384827, -0.4334715008735657, -0.525137722492218, -0.26206034421920776, -0.371127724647522, -0.13083165884017944, -0.2362845242023468, 0.230103000998497, -0.08465941995382309, -0.17982977628707886, -0.43990978598594666, -0.49095940589904785, -0.3197270631790161, -0.2561456859111786, 0.2648109197616577, 0.40083932876586914, -0.4357435405254364, -0.2973414957523346, -0.6838846206665039, 0.05138985067605972, 0.4733221232891083, 0.06595165282487869, -0.22408722341060638, -0.21014325320720673, -0.46051719784736633, 0.3153168261051178, -0.2843482494354248, -1.0687954425811768, -0.12930947542190552, -0.6003115177154541, 0.6617112755775452, 0.2870590388774872, 0.6731067895889282, 0.6656577587127686, -0.08487121015787125, 1.0130770206451416, 0.4280969500541687, -1.1043418645858765, 0.7936816811561584, -0.06774748116731644, -0.07588684558868408, 1.0866299867630005, 0.4283667504787445, -0.6431311368942261, 0.17142871022224426, -0.6673959493637085, -0.8678953647613525, 0.4488644599914551, -0.05006461963057518, 0.14673198759555817, -0.05263310298323631, 0.27910301089286804, 0.30560657382011414, 0.6292003989219666, -0.6044411063194275, -0.2880561053752899, -0.5245012044906616, 0.21079282462596893, 0.20798613131046295, 0.12769940495491028, -0.4298407733440399, -0.2970983386039734, 0.47493284940719604, -0.23247940838336945, -0.13538435101509094, 0.10284139215946198, 0.21042896807193756, -0.4535370469093323, 0.42423248291015625, 0.5214001536369324, 0.8068944215774536, -0.24332158267498016, 0.23051036894321442, 0.1801948845386505, -0.1022028774023056, 0.5243085026741028, 0.203688845038414, -0.3525502681732178, -0.048498671501874924, -0.3834809362888336, 0.7426621913909912, 0.17238035798072815, -0.48356661200523376, 0.41546037793159485, 0.1615910828113556, 0.05269777774810791, -0.39753928780555725, 0.005305948201566935, -0.08093439787626266, 0.34555479884147644, 0.27353283762931824, 0.4077054262161255, 0.4208172559738159, -0.832597553730011, -0.3923007547855377, 0.6333677768707275, -0.33170923590660095, -0.35903382301330566, 0.4665234684944153, 0.5865127444267273, -0.2977309226989746, 0.1298808753490448, -0.2232753187417984, -0.4834464490413666, 0.5569505095481873, -0.1199025958776474, 0.7577865123748779, -0.3157307505607605, 0.45040544867515564, 0.2738642394542694, 0.24765130877494812, 0.03169701620936394, 0.178190216422081, -0.5360072255134583, -0.8671830296516418, -0.3225867450237274, -0.36917081475257874, -0.8712044954299927, 0.09668227285146713, -0.8284193873405457, 0.0483253076672554, -0.26321202516555786, -0.3136763274669647, 0.06269492208957672, 0.21867448091506958, -0.5466490387916565, 0.09990275651216507, 0.17952802777290344, 0.5788251161575317, -1.060546636581421, 0.5138958096504211, 0.6939480900764465, -0.6294867396354675, -0.7666954398155212, 0.23023682832717896, 0.10845692455768585, -0.4582405686378479, 0.5708760023117065, -0.38704541325569153, -0.29410046339035034, -0.2896271049976349, -0.492792010307312, -0.8084502220153809, 1.161675214767456, 0.45568549633026123, -0.4622386395931244, 0.2263418585062027, -0.0844392254948616, 0.24042168259620667, 0.049668747931718826, 0.4336661696434021, 0.49411648511886597, 1.1529680490493774, 0.18843567371368408, -1.0927523374557495, -0.2582678496837616, -0.09262372553348541, -0.10878374427556992, 0.6542845368385315, -1.159698724746704, 0.6548742055892944, -0.09167920798063278, -0.30729636549949646, -0.21123634278774261, 0.5503586530685425, -0.009933194145560265, 0.9773927330970764, 0.7635298371315002, 0.2990296185016632, 1.0597070455551147, -0.024871325120329857, 0.6191025972366333, -0.1617823988199234, 0.5569639801979065, 0.9288452863693237, -0.49327802658081055, 0.5259968638420105, 0.9247872829437256, -0.7470867037773132, 0.41653621196746826, 1.027981162071228, 0.39755699038505554, 0.604138195514679, 0.23079507052898407, -0.622614324092865, -0.4843136668205261, -0.23976540565490723, -0.49080851674079895, 0.3894376754760742, 0.23813462257385254, -0.010262039490044117, -0.18536165356636047, -0.04559813812375069, -0.11269774287939072, 0.12560731172561646, -0.09649905562400818, 0.7502091526985168, -0.2654299736022949, -0.7348883152008057, 0.03334533050656319, -0.16533352434635162, 0.37277546525001526, -0.5168049335479736, -0.15107056498527527, -0.05182874575257301, -0.31048768758773804, -0.3677161931991577, -0.9019107222557068, 0.20658528804779053, -0.10304814577102661, -0.6509474515914917, -0.4356594383716583, 0.17936494946479797, -0.3893354535102844, -0.1455436497926712, -0.09874926507472992, 0.4714558720588684, 0.16838856041431427, 0.08694645017385483, -0.6792649030685425, 0.07021314650774002, 0.1265842765569687, -0.1340498924255371, 0.5827385783195496, 0.36066243052482605, -0.041212230920791626, 0.06275637447834015, 0.7371013760566711, -0.10576508939266205, -0.4117576479911804, -0.10595666617155075, 1.0949251651763916, -0.25532102584838867, -0.4671873152256012, -0.7121903896331787, 0.7723667025566101, -0.21373888850212097, -0.5196875333786011, 0.5061808824539185, 0.8058339357376099, 1.052512288093567, 0.3375290334224701, 1.0023932456970215, -0.23503969609737396, 0.5131770372390747, -0.49060752987861633, 0.1340164840221405, -0.479338139295578, 0.3277520537376404, -0.0832262933254242, -0.8341545462608337, 0.26158666610717773, 0.7345691323280334, -0.6622164249420166, -0.14769771695137024, 0.2562939524650574, 0.533207356929779, -0.10111335664987564, 0.09081272780895233, 0.2755662798881531, -0.29438215494155884, 0.3744111955165863, 0.3315984606742859, 1.0480234622955322, 0.000574896635953337, -0.0026878828648477793, -0.17695455253124237, -0.5082207322120667, -0.35210883617401123, -0.8403127193450928, -0.2666378319263458, -0.7086899280548096, -0.34391286969184875, -0.39076942205429077, -0.07268685102462769, 1.503846526145935, 0.7959463596343994, -0.6973217129707336, -0.21947164833545685, 0.23090116679668427, 0.557751476764679, -0.17699548602104187, -0.24524736404418945, 0.1722196489572525, 0.11688582599163055, -1.054301142692566, 0.3340647518634796, 0.5516847968101501, -0.172173872590065, -0.6685789823532104, -0.24994707107543945, -0.1704808473587036, 0.17873400449752808, 0.4934374988079071, 0.7740190029144287, -0.7325689792633057, -0.6637583374977112, -0.19744214415550232, 0.21555115282535553, 0.2865777909755707, 1.0078380107879639, -0.7224007248878479, 0.8661357760429382, 0.6825469732284546, 0.4103798270225525, 0.785617470741272, 0.1692652404308319, -0.08008749037981033, -0.24093732237815857, 0.07706330716609955, 0.5680215358734131, 0.2317432016134262, 0.23084889352321625, -0.5944848656654358, 0.15161937475204468, 0.5106261968612671, -0.8006647825241089, -0.5927491784095764, 0.5362377166748047, -0.9419593214988708, -0.2032083421945572, 0.6915558576583862, -0.17152713239192963, 0.07829129695892334, -0.11572989076375961, -0.26460257172584534, 0.18414300680160522, -0.5816410183906555, 1.03468656539917, 0.575049877166748, -0.6346176266670227, -0.0985938236117363, -0.2432737648487091, 0.22233399748802185, 0.2884150743484497, -0.845116913318634, -0.08948976546525955, 1.007523775100708, 0.09987135976552963, 0.4495331943035126, 0.7445119619369507, 0.2163008451461792, 0.2611929476261139, -0.04575589671730995, -0.004207578022032976, 0.04203888773918152, -0.0835115909576416, -0.002191235776990652, 0.17487362027168274, -0.11035089939832687, -0.5245400667190552 ]
http://arxiv.org/abs/2402.16717v1
http://arxiv.org/pdf/2402.16717v1
CodeChameleon: Personalized Encryption Framework for Jailbreaking Large Language Models
2024-02-26T16:35:59
2024-02-26T16:35:59
Huijie Lv, Xiao Wang, Yuansen Zhang, Caishuang Huang, Shihan Dou, Junjie Ye, Tao Gui, Qi Zhang, Xuanjing Huang
cs.CL
cs.CL, cs.AI, cs.CR
Adversarial misuse, particularly through `jailbreaking' that circumvents a model's safety and ethical protocols, poses a significant challenge for Large Language Models (LLMs). This paper delves into the mechanisms behind such successful attacks, introducing a hypothesis for the safety mechanism of aligned LLMs: intent security recognition followed by response generation. Grounded in this hypothesis, we propose CodeChameleon, a novel jailbreak framework based on personalized encryption tactics. To elude the intent security recognition phase, we reformulate tasks into a code completion format, enabling users to encrypt queries using personalized encryption functions. To guarantee response generation functionality, we embed a decryption function within the instructions, which allows the LLM to decrypt and execute the encrypted queries successfully. We conduct extensive experiments on 7 LLMs, achieving state-of-the-art average Attack Success Rate (ASR). Remarkably, our method achieves an 86.6\% ASR on GPT-4-1106.
[ -0.34434765577316284, -0.7060778737068176, 0.4166790544986725, 0.15161266922950745, -0.09329746663570404, 0.38262253999710083, -0.34481081366539, -0.2739144265651703, 0.34117111563682556, 1.1332241296768188, -0.25960206985473633, -0.6344231963157654, -0.5866588950157166, 0.0316336490213871, -0.44259291887283325, 0.9992435574531555, 0.2815411686897278, -0.14868803322315216, 0.21591143310070038, -0.05924627557396889, -0.6748260855674744, -0.8136819005012512, -0.4552047848701477, -0.24202488362789154, 0.3593144714832306, 0.23861651122570038, 0.8180806636810303, 0.6001316905021667, 0.5250117182731628, 0.34781235456466675, -0.12933026254177094, -0.0677519142627716, -0.2907954752445221, 0.37938132882118225, 0.07466515898704529, -0.8274519443511963, -0.2488359957933426, -0.27759674191474915, -0.09806535392999649, 0.29571664333343506, -0.40598753094673157, -0.16917505860328674, -0.15736809372901917, 0.7452529072761536, -0.7727482318878174, 0.055717114359140396, -1.1368944644927979, 0.1735275834798813, -0.250628262758255, -0.1442531943321228, -0.6493792533874512, -0.4592171013355255, -0.051277123391628265, -0.2559836804866791, 0.008598494343459606, 0.04985148832201958, 0.15124134719371796, 0.08195731043815613, -0.21453051269054413, -0.657339870929718, -0.3639918863773346, 0.4848453104496002, -0.7610504627227783, -0.047711361199617386, 0.6909111142158508, 0.40928328037261963, -0.366189181804657, -0.675497829914093, -0.38868337869644165, -0.5012190341949463, 0.019154444336891174, -0.2806690037250519, -0.13329951465129852, 0.2775149643421173, 0.2641279995441437, 0.13568651676177979, -0.6579129695892334, 0.03441750630736351, -0.31549614667892456, -0.21096378564834595, 0.8025376200675964, 0.21192768216133118, 0.5756632089614868, -0.21956896781921387, -0.15403078496456146, 0.15349958837032318, -0.8069243431091309, 0.24744103848934174, 0.5412731170654297, 0.15262795984745026, -0.017874030396342278, 0.5839940905570984, 0.006677152123302221, 0.7000630497932434, -0.025051768869161606, 0.038988709449768066, 0.12731710076332092, 0.09040794521570206, -0.31826213002204895, 0.6475083231925964, 0.905337929725647, 0.17009933292865753, 0.5576819777488708, -0.45312511920928955, -0.21193809807300568, -0.015816228464245796, 0.5148630738258362, -0.857428789138794, -0.3550376892089844, 0.4308657646179199, -0.3432973325252533, -0.8412591218948364, 0.11062128841876984, -0.7748958468437195, -0.6833825707435608, 0.33851203322410583, -0.05713756009936333, -0.3876742422580719, -0.03669097647070885, 0.3002828061580658, 0.08222663402557373, 0.09874499589204788, -0.05879772827029228, -1.2879552841186523, 0.391461580991745, 0.8423157930374146, 0.7497873902320862, -0.04505957290530205, -0.21276313066482544, -0.4769551455974579, 0.25389304757118225, -0.20452548563480377, 0.35186246037483215, -0.6894719004631042, -0.6796009540557861, 0.0762147530913353, -0.14380194246768951, -0.16982589662075043, -0.47558778524398804, 0.2911364734172821, -1.0723706483840942, -0.3212578296661377, 0.0017970349872484803, -0.5666546821594238, -0.10493742674589157, 0.31468015909194946, -0.907766580581665, 0.16509473323822021, -0.33406370878219604, -0.731781005859375, -0.05868382379412651, -0.6678244471549988, -0.594281017780304, 0.14931172132492065, -0.393502801656723, -0.47835633158683777, 0.19026243686676025, 0.3532841205596924, 0.3602190911769867, -0.18127988278865814, 0.44332319498062134, -0.420881450176239, -0.4043373167514801, 0.7134950160980225, -0.3649652302265167, 0.8639388084411621, 0.3703223466873169, -0.5766967535018921, -0.006425168830901384, -0.7102836966514587, 0.2579963803291321, 0.5355650782585144, -0.3914808928966522, -0.3997052311897278, 0.17017851769924164, -0.07560382783412933, -0.14101485908031464, 0.3398143947124481, -0.5020595788955688, 0.5190333127975464, -0.622035801410675, 1.0224266052246094, 0.7172558307647705, 0.06330864131450653, 0.3403354585170746, 0.11670076847076416, 0.5667705535888672, -0.28024300932884216, -0.04411257430911064, -0.5837206840515137, -0.3309590220451355, -0.13132427632808685, -0.1511876881122589, 0.19805145263671875, 0.6543238162994385, -0.4041730761528015, 0.42831143736839294, -0.050459686666727066, -0.45083579421043396, -0.34228256344795227, 0.2874828577041626, 0.6821652054786682, 0.1629544049501419, 0.25759199261665344, -0.2782931923866272, -0.5361911058425903, -0.8198820352554321, -0.6332991123199463, -0.03472036123275757, 0.06610049307346344, 0.4632135331630707, 0.4682450592517853, -0.4772966504096985, 0.7451208233833313, -0.7155634760856628, -0.12160448729991913, -0.38689643144607544, -0.06909987330436707, 0.16029424965381622, 0.5704232454299927, 0.6231689453125, -1.0060935020446777, -0.24652650952339172, -0.08489246666431427, -0.8958162665367126, 0.06891719251871109, 0.14948047697544098, 0.12258599698543549, 0.006045403424650431, 0.5280990600585938, -0.775683581829071, 0.4357680380344391, 0.5266741514205933, -0.3889755308628082, 0.5280333757400513, -0.13225726783275604, 0.1497947722673416, -1.0472347736358643, -0.18774493038654327, -0.20302554965019226, -0.1259630024433136, -0.7224598526954651, 0.42899590730667114, 0.14303848147392273, -0.4861641228199005, -0.2979152500629425, 0.12908154726028442, -0.3383598029613495, 0.0036280937492847443, -0.37511515617370605, 0.05262860283255577, -0.3290488123893738, 0.357943594455719, -0.2534997761249542, 0.7778085470199585, 0.3662542700767517, -0.27851319313049316, 0.4883672297000885, 0.5136860609054565, -0.26592379808425903, -0.08900440484285355, -0.8561622500419617, 0.49992573261260986, 0.1359773576259613, 0.10301967710256577, -0.9143653512001038, -0.6581118702888489, 0.086084745824337, -0.5486576557159424, 0.08236677199602127, -0.2556770443916321, -0.3199099898338318, -0.26035502552986145, -0.5311421751976013, 0.5169579386711121, 0.5446860194206238, -0.703120231628418, 0.29307904839515686, 0.4900316298007965, -0.09348324686288834, -0.4956778287887573, -0.8700209259986877, 0.5313357710838318, -0.30996382236480713, -0.8090813159942627, 0.3134351074695587, -0.13181017339229584, -0.31440269947052, -0.33091849088668823, -0.07124105840921402, -0.22847622632980347, 0.34082454442977905, 0.2587704360485077, 0.16505609452724457, 0.02153673581779003, -0.35422420501708984, -0.0506790466606617, -0.03710067272186279, 0.29244881868362427, -0.12371335923671722, 0.8825783729553223, -0.15467941761016846, -0.3444293439388275, -0.26132476329803467, 0.13687235116958618, 0.7177148461341858, -0.5928520560264587, 0.64630126953125, -0.007437756285071373, -0.30775782465934753, -0.12024327367544174, -0.4641602039337158, -0.20833735167980194, -0.5600056648254395, 0.39770713448524475, -0.4968586564064026, -0.9691358208656311, 0.5296540856361389, 0.023581016808748245, -0.006440821103751659, -0.30582115054130554, 0.5070921182632446, 0.20673327147960663, 1.2092496156692505, 0.3622162342071533, -0.6004436612129211, 0.30976027250289917, -0.042999640107154846, 0.30224764347076416, -0.781405508518219, -0.39529314637184143, -0.5153384208679199, -0.13392551243305206, -0.7574537992477417, 0.030658738687634468, 0.01563306897878647, 0.0988461822271347, -0.35979923605918884, 0.6825267672538757, -0.5514650344848633, 0.4982684850692749, 0.22200839221477509, 0.23375262320041656, 0.3605705201625824, 0.045712344348430634, 0.18791194260120392, -0.0948057547211647, -0.22389833629131317, -0.4792170226573944, 1.3508882522583008, 0.17040927708148956, 1.2023884057998657, 0.3123663663864136, 0.9509266018867493, 0.41562652587890625, 0.047616954892873764, -0.6041185259819031, 0.6705856323242188, -0.09824808686971664, -0.44188249111175537, -0.07630646228790283, -0.38947224617004395, -1.078207015991211, 0.4235866963863373, 0.12047142535448074, -1.2173949480056763, -0.2732731103897095, 0.30760571360588074, -0.2547716796398163, 0.19534653425216675, -0.5618606209754944, 0.7745189666748047, -0.4944014251232147, -0.11239992827177048, -0.11099747568368912, -0.6708148717880249, 0.8066065907478333, -0.29126375913619995, 0.24185429513454437, 0.030440179631114006, -0.019385529682040215, 0.6006536483764648, -0.7247235774993896, 0.7351574897766113, -0.32074978947639465, 0.20273619890213013, 0.138498917222023, 0.38131624460220337, 0.8974084258079529, 0.37447312474250793, 0.003517888253554702, -0.01978471875190735, -0.2791816294193268, -0.127143993973732, -0.6587660312652588, 0.8735010623931885, -0.5722782015800476, -0.9348817467689514, -0.15335172414779663, -0.36628758907318115, -0.20768824219703674, 0.1621495634317398, 0.43448546528816223, 0.3213951289653778, 0.055167004466056824, 0.42440930008888245, 0.8418570756912231, -0.2502126395702362, 0.5203787088394165, 0.430691123008728, -0.30800196528434753, -0.589742124080658, 0.7218396067619324, -0.18407554924488068, 0.07263945043087006, 0.16699150204658508, 0.09651262313127518, 0.029152924194931984, -0.7680953741073608, -0.29804015159606934, -0.15045422315597534, -0.4839223325252533, -0.31963208317756653, -0.7017554044723511, -0.394191175699234, -0.38736584782600403, -0.3843851089477539, -0.3315237760543823, -0.03882888704538345, 0.11137082427740097, -0.10549766570329666, 0.13381952047348022, 0.4163912534713745, 0.5453894734382629, 0.437309205532074, -0.8353999257087708, 0.39168068766593933, 0.2921757400035858, 0.05119991675019264, -0.08876382559537888, -0.322733610868454, 0.05796420946717262, -0.11155765503644943, -0.24471446871757507, -1.1771068572998047, 0.42412492632865906, -0.02138601429760456, 0.419540137052536, 0.251217782497406, 0.029644198715686798, 0.4077620208263397, -0.612240731716156, 0.622120201587677, 0.2658708691596985, -1.0394444465637207, 0.8054783940315247, -0.21334101259708405, 0.1659102886915207, 0.5957630276679993, -0.032980505377054214, -0.3991653621196747, -0.5220931768417358, -0.4472077190876007, -1.0696728229522705, 0.5273737907409668, 0.4675527513027191, 0.31481486558914185, 0.07696270942687988, 0.503703773021698, -0.08840706944465637, 0.6244398355484009, -0.8389855027198792, -0.28203389048576355, -0.18961983919143677, -0.3163131773471832, 0.14023181796073914, -0.36347609758377075, -0.19242611527442932, 0.08502958714962006, 0.3601526916027069, -0.07939477264881134, 0.17610621452331543, -0.019829651340842247, -0.3952026069164276, 0.28726527094841003, 0.4906356632709503, 0.6175527572631836, 0.4114346206188202, -0.08185221254825592, -0.0038159906398504972, -0.09396935999393463, -0.848684549331665, 0.3835054039955139, 0.163760244846344, -0.26321330666542053, -0.3860761821269989, 0.5608198046684265, 0.5785895586013794, 0.23892304301261902, -0.9444538950920105, 0.5906592607498169, -0.403677374124527, 0.0995989665389061, -0.5330385565757751, 0.49300265312194824, -0.1189330518245697, 0.20390355587005615, 0.3731192648410797, 0.13827195763587952, 0.19658415019512177, -0.3854615390300751, 0.2591172456741333, 0.5123112201690674, -0.2017049938440323, -0.33392128348350525, 0.9915919303894043, 0.0422755591571331, -0.5049465298652649, 0.5750331878662109, -0.09084700047969818, -0.6348971128463745, 0.9560782313346863, 0.8391757607460022, 1.1286756992340088, -0.405619740486145, 0.037050969898700714, 0.043832991272211075, 0.532066285610199, -0.1262548863887787, 0.19522033631801605, -0.014785908162593842, -0.764085590839386, -0.0249035581946373, -0.4668683409690857, -0.18625764548778534, 0.3162956237792969, -0.7265577912330627, 0.01910175010561943, -0.7335466146469116, 0.06622722744941711, -0.02750333398580551, -0.363781213760376, -0.2798236906528473, 0.13794921338558197, 0.13987073302268982, 0.9768636226654053, -0.31504467129707336, 0.8706235885620117, 0.6433987021446228, -0.1881365329027176, -0.8801615834236145, 0.22608427703380585, 0.15447945892810822, -1.0055102109909058, 0.4664008617401123, 0.4851646423339844, 0.04686715826392174, -0.20176076889038086, -0.6204418540000916, -0.7227271199226379, 1.087789535522461, 0.5709401965141296, -0.9802913665771484, -0.07511033862829208, 0.20245592296123505, 0.28046050667762756, -0.5666502714157104, -0.0827992707490921, 1.0121639966964722, 0.33141282200813293, -0.24751269817352295, -0.5121827125549316, 0.2721814811229706, -0.1841394305229187, 0.2914178967475891, 0.21956826746463776, -0.48361194133758545, 0.651852011680603, -0.5367150902748108, 0.27729541063308716, 0.3502640426158905, 0.4037116467952728, 0.5863164663314819, 0.29044705629348755, 0.39414843916893005, 0.3972436189651489, 0.6528517007827759, -0.020817343145608902, 1.0286344289779663, -0.7968865036964417, 0.2879825830459595, 1.0858180522918701, -0.26170679926872253, 0.6323876976966858, 0.27426862716674805, -0.03250443935394287, 0.1439054012298584, 0.31512850522994995, -0.15020513534545898, 0.885136067867279, 0.45425790548324585, -0.3691149353981018, 0.03212794288992882, 0.3943476676940918, -0.4154778718948364, 0.681134819984436, 0.34115949273109436, -0.6170353889465332, 0.03270072862505913, 0.4534986913204193, 0.3916592299938202, 0.20049116015434265, -0.5961992144584656, 0.7091381549835205, 0.1713208258152008, -0.6834871768951416, 0.5799314379692078, 0.1874811202287674, 0.6250039339065552, -0.6442648768424988, 0.27637389302253723, -0.08369915187358856, 0.27430227398872375, -0.5605787038803101, -0.7238477468490601, 0.11939215660095215, 0.21569080650806427, 0.016460545361042023, 0.2779041528701782, 0.9722517132759094, -0.36314523220062256, -0.07894545048475266, 0.5011506676673889, -0.19296972453594208, -0.13247628509998322, -0.24042335152626038, -0.6515423059463501, 0.47407034039497375, 0.2425033301115036, -0.6815049052238464, 0.42372140288352966, -0.18141065537929535, 0.158763125538826, 0.9063916802406311, 0.5333429574966431, -0.013084776699543, 0.1008855327963829, -0.0025368237402290106, 0.9192653894424438, -0.8199672102928162, -0.6660049557685852, -1.345637559890747, 0.22461940348148346, -0.12714631855487823, -0.07550442963838577, 0.709694504737854, 0.5722951292991638, 0.6434531211853027, -0.12660878896713257, 1.2338443994522095, -0.0970316231250763, -0.0769430622458458, -0.7008335590362549, 0.7785371541976929, -0.13847902417182922, 0.7807613611221313, -0.22916683554649353, -0.703967809677124, -0.13105234503746033, 0.4041508138179779, -0.40340715646743774, 0.0876920148730278, 0.4228929579257965, 0.7617673277854919, 0.19201835989952087, 0.35553449392318726, 0.43831804394721985, 0.20496191084384918, 0.7713831067085266, 0.7477095127105713, 0.5500850081443787, -0.30533453822135925, 0.7403465509414673, -0.12410791218280792, -0.23436085879802704, -0.24699260294437408, -0.39697086811065674, -1.1758816242218018, -0.18489019572734833, 0.005773311480879784, -0.46295711398124695, 0.33798468112945557, 0.9537085294723511, 0.4263909161090851, -0.6980451345443726, -0.15631498396396637, -0.4688403010368347, -0.09323703497648239, 0.19549457728862762, -0.21630364656448364, 0.1440955549478531, -0.3162153363227844, -0.3625611364841461, 0.5878697633743286, 0.4734393060207367, -0.18489067256450653, -0.21045255661010742, -0.08101603388786316, 0.2924860715866089, 0.17118456959724426, 0.3536868989467621, 0.5320340991020203, -0.6967509388923645, -0.16598334908485413, -0.26830434799194336, -0.40633857250213623, 0.10333389043807983, 1.0768938064575195, -0.49336421489715576, 0.4586564898490906, 0.20615790784358978, 1.1093688011169434, 0.4776751697063446, -0.05446885898709297, 0.4915916323661804, -0.6411411166191101, 0.31183794140815735, 0.29492393136024475, 0.538883626461029, 0.11376594752073288, -0.6957080364227295, 0.3440091609954834, 0.13152071833610535, -0.6894146203994751, -0.8437917828559875, 0.5830225944519043, -0.7229021191596985, -0.3272976577281952, 0.8817972540855408, -0.4286811649799347, -0.48709115386009216, -0.024897471070289612, -0.2793402373790741, -0.37530508637428284, -0.4954043924808502, 0.928054928779602, 0.45157042145729065, -0.15167999267578125, 0.10178931057453156, -0.6103134155273438, 0.42997005581855774, 0.16820603609085083, -0.8999853134155273, 0.11477923393249512, 0.0824451893568039, 0.446705162525177, 0.14714135229587555, 0.686987042427063, -0.27170807123184204, 0.448047935962677, -0.16177985072135925, -0.09392347931861877, -0.337196409702301, -0.17556749284267426, -0.3822747468948364, 0.6379256248474121, 0.13323602080345154, -0.10871308296918869 ]
http://arxiv.org/abs/2402.16714v2
http://arxiv.org/pdf/2402.16714v2
Quantum linear algebra is all you need for Transformer architectures
2024-02-26T16:31:28
2024-05-31T03:34:57
Naixu Guo, Zhan Yu, Matthew Choi, Aman Agrawal, Kouhei Nakaji, Alán Aspuru-Guzik, Patrick Rebentrost
quant-ph
quant-ph, cs.AI, cs.CL
Generative machine learning methods such as large-language models are revolutionizing the creation of text and images. While these models are powerful they also harness a large amount of computational resources. The transformer is a key component in large language models that aims to generate a suitable completion of a given partial sequence. In this work, we investigate transformer architectures under the lens of fault-tolerant quantum computing. The input model is one where trained weight matrices are given as block encodings and we construct the query, key, and value matrices for the transformer. We show how to prepare a block encoding of the self-attention matrix, with a new subroutine for the row-wise application of the softmax function. In addition, we combine quantum subroutines to construct important building blocks in the transformer, the residual connection and layer normalization, and the feed-forward neural network. Our subroutines prepare an amplitude encoding of the transformer output, which can be measured to obtain a prediction. Based on common open-source large-language models, we provide insights into the behavior of important parameters determining the run time of the quantum algorithm. We discuss the potential and challenges for obtaining a quantum advantage.
[ -0.10691700875759125, -0.6466677188873291, 0.6847420930862427, 0.16562248766422272, -0.1446145623922348, 0.3478879928588867, 0.2506359815597534, -0.05335591733455658, 0.04920320212841034, 0.2415313571691513, -0.14825809001922607, 0.15077640116214752, -0.6231049299240112, -0.08822941035032272, -0.6682776212692261, 0.7416588068008423, -0.22853749990463257, -0.005217425525188446, -0.04336331784725189, 0.013392037712037563, -0.5925367474555969, -0.2311234325170517, -0.4396742880344391, -0.3805612027645111, 0.09630458056926727, 0.0045979637652635574, 1.1067070960998535, 0.44600909948349, 0.3265085220336914, 0.4249397814273834, 0.15741510689258575, -0.36871662735939026, -0.646988570690155, 0.3073013722896576, -0.35403385758399963, -0.5962034463882446, -0.3012215793132782, -0.5171195864677429, 0.9165869355201721, 0.5899778008460999, -0.07923558354377747, 0.19708776473999023, -0.0023123696446418762, 0.9438843727111816, -0.5706596374511719, 0.039295412600040436, -0.5242446660995483, 0.572943925857544, -0.07628993690013885, 0.06529402732849121, -0.39544469118118286, -0.4266607463359833, -0.12389985471963882, -0.5140414237976074, 0.15635725855827332, -0.03520119562745094, 0.5493012070655823, 0.20700982213020325, -0.5198273062705994, -0.002195577835664153, -1.1514018774032593, 0.9452117681503296, -0.22811980545520782, 1.036989688873291, -0.15539401769638062, 0.44060271978378296, -0.06828705221414566, -0.7868961691856384, -0.5483548045158386, 0.021543366834521294, -0.08167241513729095, 0.299051433801651, -0.8284575939178467, -0.10160242766141891, 0.0722113847732544, 0.6327288746833801, -0.7573517560958862, -0.33607447147369385, -0.5659371614456177, -0.07979554682970047, 0.3052516579627991, 0.18440558016300201, 0.03756454214453697, -0.21088555455207825, -0.20636163651943207, -0.2765847146511078, -0.5327820777893066, -0.20316743850708008, -0.06443078070878983, -0.08492988348007202, 0.11060366779565811, 0.3595510721206665, 0.06650955229997635, 0.30598941445350647, 0.27272745966911316, 0.21053801476955414, -0.17141716182231903, -0.1497066617012024, -0.3894064128398895, 0.09307057410478592, 0.9620909690856934, -0.3562026917934418, 0.15920990705490112, -0.48824983835220337, -0.42953357100486755, 0.06904172152280807, 0.8770711421966553, -0.6006315350532532, -0.45789170265197754, 0.288568913936615, -0.5052233338356018, -0.06741882115602493, -0.5204768180847168, -0.6876050233840942, -0.22166116535663605, -0.18152645230293274, 0.8967995047569275, -0.4745190739631653, -0.11177720129489899, -0.0534750260412693, -0.008378393948078156, 0.3348329961299896, 0.051131367683410645, -0.6603879928588867, 0.3223716616630554, 0.5298290252685547, 0.48898839950561523, 0.28260770440101624, -0.05466058477759361, -0.3110862970352173, 0.169411301612854, -0.645107090473175, 0.411378413438797, -0.2087727040052414, -0.4375900626182556, 0.08945056796073914, -0.24419493973255157, 0.05002962425351143, -0.39295101165771484, 0.5805880427360535, -1.014628291130066, -0.037709906697273254, 0.20255325734615326, -0.33891215920448303, -0.22283536195755005, -0.021090177819132805, -0.7787799835205078, 0.5136268734931946, 0.4671298563480377, -0.35373225808143616, -0.4147578775882721, -0.5464417934417725, -0.7800731658935547, 0.2401503473520279, -0.07676995545625687, -0.7100763916969299, 0.5173276662826538, -0.069980189204216, 0.32070523500442505, -0.41995733976364136, 0.27338719367980957, -0.0645408183336258, -0.39834052324295044, 0.5941312313079834, -0.29047179222106934, 0.40507328510284424, 0.27670130133628845, -0.5538845658302307, 0.19007869064807892, -0.9009771943092346, -0.012363016605377197, 0.48705336451530457, -0.19887755811214447, -0.05926042050123215, 0.16541865468025208, 0.07349403202533722, 0.05503164976835251, 0.390360027551651, -0.5426607131958008, -0.052077390253543854, -0.0495375357568264, 0.7367004156112671, 0.9216004610061646, -0.5147888660430908, 0.5637896060943604, 0.09950502216815948, 0.810500979423523, -0.009433354251086712, 0.3895889222621918, -0.17755451798439026, -0.13031479716300964, -1.1179511547088623, 0.09151393175125122, 0.3040415644645691, 0.5987241864204407, -0.8881955146789551, 0.34465456008911133, -0.5333461165428162, -0.6043418049812317, -0.5822233557701111, 0.18867279589176178, 0.6268529891967773, 0.18399493396282196, 0.492433100938797, -0.17266340553760529, -0.6286523342132568, -1.1940207481384277, -0.14692874252796173, 0.01939503103494644, -0.031033603474497795, 0.003804778214544058, 0.18664534389972687, -0.31503042578697205, 0.6017654538154602, -0.5152034759521484, -0.1861519068479538, -0.055755164474248886, -0.209570974111557, 0.2973138988018036, 0.6156603693962097, -0.21353910863399506, -0.8094951510429382, -0.2534882426261902, 0.05778152123093605, -0.9166164398193359, 0.7000855207443237, -0.023051610216498375, -0.4248349368572235, 0.03784012049436569, 0.34981998801231384, -0.5975335836410522, 0.20222923159599304, 0.601826548576355, -0.09057662636041641, 0.2383386641740799, 0.020916402339935303, -0.03338773921132088, -1.0601081848144531, -0.04324335604906082, 0.003159424988552928, -0.3962332010269165, -0.7593721747398376, 0.3737984001636505, 0.20987382531166077, -0.3468973636627197, 0.0102532422170043, -0.07172948122024536, -0.06378812342882156, -0.055854011327028275, -0.25232452154159546, -0.11082620918750763, -0.0643291026353836, 0.40592923760414124, -0.20955650508403778, 0.5090364217758179, 0.5780977606773376, -0.40230512619018555, 0.4415275454521179, 0.1634892076253891, -0.011616808362305164, 0.4513741135597229, -1.0050705671310425, 0.17601926624774933, -0.10091373324394226, 0.09183329343795776, -0.7356163859367371, 0.20623746514320374, 0.0019014234421774745, -0.3403457999229431, 0.2536133825778961, 0.12530885636806488, -0.3503323495388031, -0.5372289419174194, -0.17258964478969574, 0.5467982888221741, 0.8628812432289124, -0.4125286042690277, 1.3305786848068237, 0.1758994609117508, 0.23733370006084442, -0.37815526127815247, -0.650748074054718, -0.0018633464351296425, 0.12417634576559067, -0.5500721335411072, 0.18000905215740204, 0.012276527471840382, 0.07660359144210815, 0.2550393342971802, 0.033561285585165024, -0.04748653247952461, 0.27517759799957275, 0.590359091758728, 0.3391996920108795, -0.5476107001304626, 0.18500323593616486, 0.0816115140914917, -0.2982221245765686, 0.17047198116779327, -0.6783871054649353, 0.544461190700531, -0.533301055431366, -0.2506358325481415, -0.2177656888961792, 0.3763123154640198, 0.5646846890449524, -0.30546918511390686, 0.5589643716812134, 0.5626528263092041, -0.34676066040992737, -0.26090168952941895, -0.3014501631259918, -0.027539176866412163, -0.5556614398956299, 0.4403283894062042, -0.5438626408576965, -1.1123627424240112, 0.15179955959320068, 0.041508998721838, 0.034162819385528564, 0.6276131272315979, 0.5824084281921387, -0.022529352456331253, 1.0224509239196777, 0.8204160928726196, -0.1092468872666359, 0.3208348751068115, -0.033442702144384384, 0.864205539226532, -0.6500571966171265, 0.14034323394298553, -0.2838813066482544, -0.519519031047821, -0.6653275489807129, -0.31337785720825195, 0.5817520618438721, 0.25007861852645874, -0.46910399198532104, 0.5190878510475159, -0.7031447887420654, 0.23171573877334595, 0.7718595266342163, -0.07988166064023972, 0.20053048431873322, -0.09884554892778397, 0.2560236155986786, 0.23985496163368225, -0.5790023803710938, -0.25601789355278015, 1.0142569541931152, 0.5543454885482788, 0.8604441285133362, 0.254636287689209, 0.5500022768974304, 0.12763266265392303, -0.08526096493005753, -0.6585016846656799, 0.449161171913147, -0.03922000527381897, -0.2972685992717743, -0.288766086101532, -0.49025389552116394, -0.9243998527526855, 0.024081414565443993, -0.13876743614673615, -0.2827201783657074, 0.20665901899337769, 0.23435699939727783, -0.40712055563926697, 0.16512897610664368, -0.6998506784439087, 0.8760420680046082, 0.07097961753606796, -0.2218198925256729, -0.535433292388916, -0.462477445602417, 0.6237052083015442, -0.39154189825057983, 0.21491332352161407, 0.5339404940605164, 0.3471987545490265, 0.5472092032432556, 0.02587788924574852, 0.5182079672813416, 0.22811582684516907, -0.19710606336593628, 0.15206214785575867, 0.6651396155357361, 0.26384276151657104, 0.06873903423547745, 0.2119768261909485, 0.09621024876832962, -0.031984198838472366, -0.5404040217399597, -0.40561699867248535, 0.6556875705718994, -1.0029295682907104, -0.5454865097999573, -0.2614108622074127, -0.5301766395568848, -0.2895827293395996, 0.18973150849342346, -0.20904260873794556, 0.46250709891319275, -0.11122670024633408, 0.20036357641220093, 0.9251391887664795, -0.12087352573871613, 0.5039944648742676, 0.43664389848709106, -0.30947333574295044, -0.4617847800254822, 1.171932339668274, 0.01552577968686819, 0.10938851535320282, 0.7444362044334412, 0.1507662534713745, 0.005090909544378519, -0.27224212884902954, -0.47758445143699646, 0.012641822919249535, -0.8772408366203308, -0.5458435416221619, -0.5565426349639893, -0.49601152539253235, -0.30707886815071106, -0.29608026146888733, -0.6038382649421692, -0.381526917219162, 0.10452985763549805, 0.030240580439567566, 0.26139184832572937, 1.0992826223373413, -0.09478821605443954, 0.1484045684337616, -1.1176668405532837, 0.421650767326355, 0.9790231585502625, 0.4058273434638977, 0.4093834161758423, -0.27321475744247437, -0.5818673372268677, -0.40394508838653564, -0.7883133888244629, -0.6774724721908569, -0.005189156625419855, 0.193686842918396, 0.26223865151405334, 0.2505625784397125, -0.0731365755200386, 0.42541876435279846, -0.916128933429718, 0.7386611700057983, 0.33140093088150024, -1.49269700050354, 0.5028820037841797, 0.058955829590559006, 0.3106057345867157, 0.056450486183166504, 0.5694130659103394, -0.4794386327266693, -0.45397666096687317, -0.44593513011932373, -0.5440331697463989, 0.3517993092536926, 0.17580923438072205, 0.24017038941383362, 0.1741126924753189, 0.18915320932865143, -0.2579527795314789, -0.0285466518253088, -0.8348657488822937, -0.22093652188777924, -0.6120274662971497, -0.3468647301197052, -0.13615088164806366, -0.2819443643093109, -0.16498877108097076, 0.04178141802549362, 0.7776104807853699, -0.10700278729200363, 0.45405903458595276, 0.0784730315208435, -0.25942015647888184, -0.6061403155326843, 0.4997454583644867, 0.3703776001930237, 0.8366090059280396, 0.1386706680059433, 0.39735811948776245, 0.026442717760801315, -0.4081774652004242, 0.06746452301740646, 0.28060775995254517, -0.16457179188728333, -0.071552574634552, 0.2385057806968689, 0.9250702261924744, 0.4100586473941803, -0.682979166507721, 0.30059781670570374, -0.23735861480236053, -0.09788554906845093, -0.3733288645744324, -0.21673902869224548, 0.3187907636165619, 0.6597435474395752, 0.5878314971923828, -0.2021321803331375, 0.4030999541282654, -0.37596508860588074, 0.046570513397455215, 0.6014867424964905, -0.5277482867240906, -0.4806656837463379, 0.7874959111213684, -0.17736667394638062, -0.2932471036911011, 0.5856463313102722, -0.23410587012767792, -0.8653311133384705, 0.24253840744495392, 0.7475717663764954, 0.9266335964202881, -0.435488224029541, -0.004926454275846481, 0.2612449824810028, 0.4959771931171417, 0.43342459201812744, 0.21584296226501465, -0.04958996921777725, -0.4893038272857666, -0.5345902442932129, -1.2545162439346313, -0.26278793811798096, -0.30351343750953674, -0.41403841972351074, -0.10412732511758804, -0.5735798478126526, 0.12246865034103394, -0.10135143995285034, -0.366946280002594, -0.5844870805740356, 0.11263705044984818, 0.3962642252445221, 0.3157727122306824, -0.8189277648925781, 0.7903493642807007, 0.5523194670677185, -0.16373714804649353, -1.0319534540176392, -0.47791871428489685, -0.37644726037979126, -0.9328681826591492, 0.758370041847229, -0.19527657330036163, 0.03409489244222641, 0.1277981996536255, -0.16249026358127594, -0.8995319604873657, 1.0305596590042114, 0.2533971965312958, -0.8057440519332886, 0.014140687882900238, 0.1908615678548813, 0.3302169442176819, 0.3622983694076538, 0.2523916959762573, 0.566888153553009, 0.1513032615184784, -0.1212126687169075, -0.7657578587532043, 0.37475553154945374, -0.14238041639328003, 0.5702285766601562, 0.7561930418014526, -0.5204033851623535, 1.1185470819473267, 0.24100333452224731, -0.13983763754367828, -0.11407408863306046, 1.1967037916183472, -0.03582063689827919, -0.1561904400587082, 0.5350223779678345, 0.7303482890129089, 0.34472838044166565, -0.030475249513983727, 0.9387442469596863, -0.49746206402778625, 0.421082079410553, 0.48264017701148987, -0.004410258028656244, 0.9167765974998474, 0.234582781791687, -0.7132361531257629, 0.665982186794281, -0.13738761842250824, -0.1461770087480545, 0.22529441118240356, 0.2582342028617859, -0.2680806815624237, -0.2630655765533447, 0.03418070077896118, -0.3316207528114319, 0.2784248888492584, 0.15653003752231598, -0.428549200296402, -0.18121285736560822, 0.26900869607925415, -0.21780215203762054, 0.04259585961699486, -0.6037817597389221, 0.6747010350227356, 0.29537060856819153, -0.39997389912605286, 0.6037103533744812, -0.024313097819685936, 0.5373252034187317, -0.5076203942298889, -0.14388993382453918, -0.13350680470466614, 0.5777074098587036, -0.21006342768669128, -0.6737785935401917, 0.32016894221305847, -0.383101224899292, -0.38985633850097656, -0.21737155318260193, 0.7208923697471619, -0.21100392937660217, -0.7708121538162231, 0.10994123667478561, 0.3579767346382141, -0.14175382256507874, -0.041402239352464676, -0.4629247188568115, 0.3002239465713501, -0.21593615412712097, -0.0707562267780304, 0.38663503527641296, 0.3818342089653015, 0.13873881101608276, 0.4632691442966461, 0.42265716195106506, -0.4439099431037903, 0.5472117066383362, -0.35550418496131897, 0.9910776019096375, -0.6915157437324524, -0.26856672763824463, -0.6876062750816345, 0.3105628192424774, 0.46344080567359924, 0.09180370718240738, 0.8269594311714172, 0.5164702534675598, 0.5235292315483093, -0.27971869707107544, 0.573707640171051, -0.002376631135120988, 0.16700394451618195, -0.26659706234931946, 0.6716914176940918, -0.4740084111690521, -0.32474419474601746, -0.029009254649281502, -0.8931217789649963, -0.023775627836585045, 0.4183395504951477, 0.030079934746026993, -0.24718472361564636, 0.5972299575805664, 0.5303127765655518, -0.06178054213523865, 0.20903849601745605, 0.3492675721645355, 0.3358367383480072, 0.4565471410751343, 1.2237662076950073, 0.7493038773536682, -0.8676280379295349, 0.6851215362548828, -0.36924630403518677, -0.17666296660900116, -0.08943658322095871, -0.6015339493751526, -0.5587426424026489, -0.6673832535743713, -0.3746854066848755, -0.5315665006637573, 0.09678911417722702, 0.43762800097465515, 0.4096817076206207, -0.8512516617774963, -0.21142695844173431, -0.3555411696434021, 0.27761855721473694, -0.15622100234031677, -0.24480801820755005, 0.42837369441986084, -0.5028083920478821, -0.5131920576095581, 0.30547699332237244, 0.2873380482196808, -0.17832499742507935, -0.5817402005195618, 0.06286302208900452, 0.23915039002895355, 0.151078000664711, 0.8631176352500916, 0.42019587755203247, -0.38746845722198486, -0.03648065775632858, 0.08982191979885101, -0.17719222605228424, 0.07325748354196548, 0.5442299246788025, -1.100272297859192, 0.461162269115448, 0.3103162944316864, 1.0137790441513062, 0.30026382207870483, -0.5109081268310547, 0.6102454662322998, -0.2869892716407776, -0.30331161618232727, 0.38996797800064087, 0.3264942467212677, 0.2604283392429352, -0.3413086235523224, 0.12422861158847809, 0.01668914034962654, -0.7460229992866516, -0.5580573081970215, 0.14546535909175873, -0.9308844208717346, -0.2589888870716095, 0.5554271936416626, 0.10427755117416382, -0.6935470700263977, 0.24372713267803192, 0.1557191163301468, 0.3378518223762512, 0.03333660960197449, 0.6199783086776733, 0.2418777495622635, 0.12736915051937103, -0.31576913595199585, -0.41118431091308594, 0.1056007444858551, 0.6782971620559692, -0.47405216097831726, -0.18955542147159576, 0.269416868686676, -0.0329134501516819, 0.8644137978553772, 0.2873879373073578, -0.08751863986253738, 0.4359550178050995, 0.11263779550790787, 0.2872374951839447, 0.22225435078144073, -0.08292928338050842, -0.7018371224403381, 0.42770814895629883, 0.14533822238445282, -0.20495596528053284 ]
http://arxiv.org/abs/2402.16705v1
http://arxiv.org/pdf/2402.16705v1
SelectIT: Selective Instruction Tuning for Large Language Models via Uncertainty-Aware Self-Reflection
2024-02-26T16:21:53
2024-02-26T16:21:53
Liangxin Liu, Xuebo Liu, Derek F. Wong, Dongfang Li, Ziyi Wang, Baotian Hu, Min Zhang
cs.CL
cs.CL, cs.AI, cs.LG
Instruction tuning (IT) is crucial to tailoring large language models (LLMs) towards human-centric interactions. Recent advancements have shown that the careful selection of a small, high-quality subset of IT data can significantly enhance the performance of LLMs. Despite this, common approaches often rely on additional models or data sets, which increases costs and limits widespread adoption. In this work, we propose a novel approach, termed SelectIT, that capitalizes on the foundational capabilities of the LLM itself. Specifically, we exploit the intrinsic uncertainty present in LLMs to more effectively select high-quality IT data, without the need for extra resources. Furthermore, we introduce a novel IT dataset, the Selective Alpaca, created by applying SelectIT to the Alpaca-GPT4 dataset. Empirical results demonstrate that IT using Selective Alpaca leads to substantial model ability enhancement. The robustness of SelectIT has also been corroborated in various foundation models and domain-specific tasks. Our findings suggest that longer and more computationally intensive IT data may serve as superior sources of IT, offering valuable insights for future research in this area. Data, code, and scripts are freely available at https://github.com/Blue-Raincoat/SelectIT.
[ -0.2838131785392761, -0.7157343029975891, 0.46245434880256653, 0.2521863281726837, -0.23238469660282135, 0.2666367292404175, -0.49642235040664673, -0.39090946316719055, 0.14636747539043427, 0.6040840148925781, -0.5679060816764832, -0.5473768711090088, -0.5972249507904053, -0.2340170443058014, -0.43697723746299744, 0.6365960836410522, -0.09342179447412491, -0.1525605171918869, 0.27564746141433716, -0.06459899246692657, -0.4274386763572693, -0.17539328336715698, -0.6926957368850708, 0.029728811234235764, 0.11664922535419464, 0.6923825144767761, 0.6644459962844849, 0.9692250490188599, 0.5301050543785095, 0.26637423038482666, 0.24103134870529175, 0.18345268070697784, -0.4014776349067688, 0.11236121505498886, -0.26339325308799744, -0.3272744119167328, -0.34949955344200134, 0.07809694111347198, 0.8914726972579956, 0.4675508737564087, -0.25913646817207336, 0.2595081031322479, 0.10362353175878525, 0.6021500825881958, -0.7738192677497864, 0.136618971824646, -0.9011549353599548, -0.17856869101524353, -0.3406713604927063, 0.04035751149058342, -0.3596560060977936, -0.26668471097946167, 0.14691004157066345, -0.6721118092536926, 0.3297829031944275, 0.1902322769165039, 0.7298434376716614, 0.641072690486908, -0.25268590450286865, -0.09688068926334381, -0.7686882615089417, 0.8493797779083252, -0.5890455842018127, 0.5310529470443726, 0.7287424802780151, 0.3581356704235077, -0.053421784192323685, -0.3319568336009979, -0.22298265993595123, -0.21846695244312286, 0.2847054600715637, 0.07589224725961685, 0.12525272369384766, 0.04679853841662407, -0.06989745050668716, 0.5019403696060181, -0.2873598337173462, 0.2708218991756439, -0.4099028706550598, -0.2843576669692993, 0.43341711163520813, -0.06555506587028503, 0.14205877482891083, 0.2617340683937073, -0.09686747193336487, -0.36017975211143494, -0.6460334658622742, -0.10386603325605392, 0.40629008412361145, 0.4238446354866028, 0.012707876041531563, 0.5148251056671143, -0.3790772259235382, 0.7724342942237854, 0.07006719708442688, 0.024333277717232704, -0.04393180459737778, -0.16337716579437256, -0.18198032677173615, -0.05705094709992409, 0.7595236301422119, 0.07714300602674484, 0.06595710664987564, -0.1493389755487442, -0.10788129270076752, -0.017350036650896072, 0.2721206843852997, -0.8040012717247009, -0.28717246651649475, 0.22226344048976898, 0.04566793888807297, -0.10359282046556473, -0.10646100342273712, -0.8379202485084534, -0.17190268635749817, -0.2609383761882782, 0.26922622323036194, -0.6009217500686646, -0.36633700132369995, 0.16007103025913239, 0.20637474954128265, 0.31848081946372986, 0.24107755720615387, -1.2269902229309082, 0.2038084864616394, 0.5371949672698975, 0.5919054746627808, -0.6222074627876282, -0.39046913385391235, -0.5500512719154358, 0.3812033236026764, -0.5392733216285706, 0.764998733997345, -1.0496762990951538, -0.3564050495624542, -0.2541819214820862, -0.3181164860725403, -0.28744423389434814, -0.558899998664856, 0.5818871259689331, -0.6008632183074951, 0.09584315866231918, -0.24756711721420288, -0.4802502989768982, -0.01197061501443386, 0.17418286204338074, -0.9384360909461975, 1.2225924730300903, 0.486274778842926, -0.4920347034931183, 0.5344887375831604, -0.5463367104530334, -0.43952950835227966, -0.12297794222831726, -0.3768523037433624, -0.48865005373954773, 0.08337999135255814, 0.3713470697402954, 0.25969281792640686, -0.44487619400024414, 0.14440228044986725, -0.26579850912094116, -0.27765557169914246, 0.052930548787117004, -0.5351279973983765, 0.4512347877025604, 0.23698922991752625, -0.49782276153564453, 0.045272111892700195, -0.921261727809906, 0.4006829857826233, 0.09302017837762833, -0.49717187881469727, -0.16788250207901, 0.006485354155302048, -0.2636208236217499, -0.03637891262769699, 0.34514549374580383, -0.43170884251594543, 0.2796478271484375, -0.1794254183769226, 0.46479079127311707, 0.8932933807373047, -0.2899523377418518, 0.708198606967926, -0.18569700419902802, 0.6093273162841797, -0.28051134943962097, 0.4176570773124695, 0.18296074867248535, -0.3032052516937256, -0.8639618754386902, -0.5695616006851196, 0.3700871467590332, 0.5414559245109558, -0.6286303997039795, 0.25911712646484375, -0.22333168983459473, -0.2181759774684906, -0.9128807783126831, 0.3955851197242737, 0.23377758264541626, 0.4286259412765503, 0.38625234365463257, 0.05664549395442009, -0.3098331391811371, -0.8900361657142639, -0.021632300689816475, -0.12907101213932037, 0.07960861921310425, 0.3109499216079712, 0.07693213224411011, -0.1971909999847412, 0.9601805210113525, -0.36094728112220764, -0.3215501606464386, -0.164674773812294, -0.17465907335281372, 0.18381108343601227, 0.5507099628448486, 0.5471024513244629, -0.5314271450042725, -0.5400264263153076, -0.019443275406956673, -0.33322468400001526, -0.11936876177787781, -0.11539094150066376, -0.5792130827903748, -0.042863987386226654, 0.17027553915977478, -0.40424755215644836, 0.18847906589508057, 0.7715733051300049, -0.20574335753917694, 0.3118845224380493, -0.12033899128437042, 0.3440978229045868, -0.9765276312828064, -0.1652068942785263, -0.13991005718708038, -0.1589789092540741, -0.21242211759090424, 0.2964031398296356, 0.4248058795928955, 0.24935729801654816, -0.3603277802467346, 0.6348504424095154, -0.5580117702484131, 0.02291461080312729, -0.19002293050289154, -0.11024016886949539, -0.08968638628721237, 0.2969312071800232, 0.14557626843452454, 1.2808289527893066, 0.5723047852516174, -0.630379319190979, -0.06921914219856262, 0.18658028542995453, -0.39551880955696106, 0.20044942200183868, -0.43906429409980774, 0.2655077278614044, 0.30077579617500305, -0.2985841631889343, -0.5413626432418823, -0.5184499621391296, 0.17203249037265778, -0.061225391924381256, 0.5985785126686096, -0.11972636729478836, -0.347013384103775, -0.20026232302188873, -0.2695683240890503, 0.38804343342781067, 0.3863700330257416, -0.6637258529663086, 0.8670229911804199, 0.3876132369041443, -0.15336918830871582, -0.6872230172157288, -0.4905049204826355, 0.08531492203474045, -0.155520960688591, -0.3936505913734436, 0.33382460474967957, -0.4927166998386383, -0.12553814053535461, -0.2490137219429016, -0.30439436435699463, -0.1751646250486374, 0.3512094020843506, 0.10456070303916931, 0.22112144529819489, -0.1734943985939026, -0.030759239569306374, 0.509627640247345, -0.16867315769195557, -0.15773959457874298, -0.31408408284187317, 0.43298301100730896, -0.2868689000606537, -0.566634476184845, -0.32028043270111084, 0.46345531940460205, 0.431797593832016, -0.39117231965065, 0.5655964016914368, 0.5304421186447144, -0.0742744654417038, -0.6548136472702026, -0.7737296223640442, -0.2781635820865631, -0.5740130543708801, 0.3594277501106262, -0.2780778408050537, -1.0832645893096924, 0.4142043888568878, 0.060036551207304, 0.1572134643793106, 0.25960537791252136, 0.41738569736480713, 0.10843237489461899, 0.9144963622093201, 0.7663089632987976, -0.3874351382255554, 0.8669559955596924, -0.26438793540000916, -0.06561551243066788, -0.8069525361061096, 0.17933392524719238, -0.43352237343788147, -0.08189413696527481, -0.3098171055316925, -0.48226386308670044, 0.2594330310821533, -0.07531865686178207, -0.3361472189426422, 0.065465547144413, -0.6701949238777161, 0.7516726851463318, 0.9240454435348511, 0.23063667118549347, 0.24901574850082397, 0.1287716180086136, 0.03153963014483452, -0.04126185178756714, -0.49320825934410095, -0.5146887302398682, 1.2275519371032715, 0.08032098412513733, 0.9088910818099976, 0.04432300850749016, 0.5905989408493042, 0.20803573727607727, 0.3212001323699951, -0.5721006989479065, 0.4484529197216034, -0.20914718508720398, -0.7110437750816345, -0.4320445954799652, -0.40811654925346375, -0.8342890739440918, 0.0790531188249588, -0.13125376403331757, -0.7689487934112549, -0.06373625993728638, 0.3886283040046692, -0.5695641040802002, 0.262963205575943, -0.936339259147644, 0.5893867611885071, -0.4109707474708557, -0.5162826180458069, -0.20865923166275024, -0.39353394508361816, 0.11112898588180542, -0.2061053365468979, 0.005680593196302652, -0.2732457220554352, -0.08950957655906677, 0.556372880935669, -0.2030816674232483, 0.8791192173957825, 0.12616251409053802, -0.19185404479503632, 0.4188464879989624, 0.3639516830444336, 0.6081963181495667, 0.12935477495193481, -0.43762335181236267, 0.1563926637172699, -0.09419754892587662, -0.5280125141143799, -0.47654989361763, 0.8020915985107422, -0.9405317306518555, -0.8632570505142212, -0.16551095247268677, -0.6112367510795593, -0.4328858554363251, 0.32332444190979004, 0.2086464762687683, 0.1773868352174759, 0.03418141230940819, 0.12079578638076782, 0.7584829926490784, 0.051821932196617126, 0.45291590690612793, 0.6620081067085266, 0.09158867597579956, -0.4801017940044403, 1.124016523361206, 0.255560040473938, 0.4143331050872803, 0.4206773042678833, 0.2704830765724182, -0.07846299558877945, -0.9336130023002625, -0.6504560708999634, 0.18762393295764923, -0.6760278940200806, -0.16607564687728882, -0.42894506454467773, -0.1382068544626236, -0.21489600837230682, -0.15907588601112366, -0.7044950723648071, -0.5150483846664429, -0.5140944123268127, -0.295295774936676, 0.47694092988967896, 0.45287054777145386, 0.22622673213481903, 0.6359513998031616, -0.7399740815162659, 0.14244072139263153, 0.47758764028549194, 0.7115742564201355, -0.44138315320014954, -0.4090805649757385, -0.25622478127479553, 0.10486738383769989, -0.06474191695451736, -0.7391049861907959, 0.2968440055847168, 0.5772773027420044, 0.7869485020637512, 0.4094817340373993, 0.16978412866592407, 0.5144920945167542, -0.3821675479412079, 0.5545606017112732, -0.47641322016716003, -0.889704704284668, 0.7615140676498413, -0.494339257478714, 0.20370396971702576, 0.9978814125061035, 0.08187251538038254, 0.18418662250041962, -0.5559521317481995, -0.36228305101394653, -0.8794538974761963, 0.8314408659934998, 0.10427623987197876, 0.10916436463594437, -0.022919610142707825, 0.5993906855583191, 0.4159178137779236, 0.26973557472229004, -0.5250688791275024, -0.04627300053834915, -0.08665574342012405, -0.577431321144104, 0.23368586599826813, -0.20514586567878723, -0.1811041533946991, -0.08147861063480377, 0.8964653611183167, -0.47976425290107727, 0.173003688454628, -0.1482163369655609, -0.15136756002902985, -0.22163641452789307, 0.25031059980392456, 0.30878350138664246, 0.7269449830055237, -0.1867818832397461, -0.0861113965511322, 0.16282691061496735, -0.761305570602417, 0.010621351189911366, 0.07945286482572556, -0.279403418302536, -0.47601038217544556, 0.2297835350036621, 0.7877203226089478, 0.11531081795692444, -0.7100203633308411, 0.30697745084762573, -0.25508466362953186, 0.16463345289230347, -0.2538820505142212, 0.5671299695968628, -0.27760744094848633, 0.36620110273361206, 0.3162221610546112, 0.0037443118635565042, 0.1672065705060959, -0.16842064261436462, 0.00779217341914773, 0.44580167531967163, -0.19330716133117676, -0.3076314330101013, 0.7256742715835571, 0.1916787177324295, -0.1601029336452484, 0.7487592697143555, -0.17589187622070312, -0.14629203081130981, 0.6536577343940735, 0.5675308108329773, 0.8422695994377136, -0.46853670477867126, 0.27864450216293335, 0.2685299515724182, 0.5302496552467346, -0.19507996737957, 0.3432202637195587, -0.1622907668352127, -0.85495924949646, -0.5737695693969727, -0.5689737796783447, -0.6035932302474976, 0.22534309327602386, -0.6580949425697327, 0.1459890604019165, -0.7305911183357239, -0.1950637847185135, -0.5751482844352722, -0.15926764905452728, -0.7649542689323425, 0.15452134609222412, 0.028666766360402107, 0.7883118987083435, -0.7273687124252319, 0.9798721671104431, 0.5360410213470459, -0.15645235776901245, -0.9341050982475281, -0.02843933179974556, -0.20588092505931854, -0.9776691198348999, 0.14255017042160034, 0.06159254163503647, -0.19646339118480682, 0.06647489964962006, -0.558821976184845, -1.3682504892349243, 1.0003832578659058, 0.8432714343070984, -0.6633898019790649, -0.06666366755962372, 0.1124933660030365, 0.2216244637966156, -0.2255529761314392, 0.370233952999115, 1.0038375854492188, 0.39758262038230896, 0.11167821288108826, -0.7106918692588806, 0.019406231120228767, -0.14233587682247162, -0.12273448705673218, 0.24293534457683563, -1.0780866146087646, 0.5972937345504761, -0.15748101472854614, -0.05355997756123543, -0.20377835631370544, 0.7271618843078613, 0.25910282135009766, -0.1407819390296936, 0.4404933750629425, 0.37206408381462097, 0.9013004899024963, -0.03509441763162613, 1.0267831087112427, -0.5910205245018005, 0.12191861867904663, 1.280704379081726, -0.32436180114746094, 0.9145395159721375, 0.32502609491348267, -0.14604957401752472, 0.12681588530540466, 0.8969034552574158, 0.20955440402030945, 0.5371962785720825, -0.32960236072540283, -0.27932456135749817, -0.6334967613220215, 0.1731693297624588, -0.22485308349132538, 0.6260854005813599, 0.6552586555480957, -0.2547135651111603, -0.01594553329050541, -0.04151448979973793, -0.025977039709687233, -0.06958365440368652, -0.269027978181839, 0.7173193693161011, -0.1394636183977127, -0.7301153540611267, 0.5638988018035889, -0.2287435084581375, 0.5014230608940125, -0.7711682915687561, -0.06410343945026398, -0.17195942997932434, 0.11810478568077087, 0.12131042033433914, -0.5479402542114258, 0.05584503710269928, -0.2539677023887634, -0.18991604447364807, -0.18978871405124664, 0.4927902817726135, -0.4376564919948578, -0.6808677315711975, 0.32303449511528015, 0.34701648354530334, -0.2714173495769501, -0.12820935249328613, -0.6418353319168091, 0.3167496621608734, 0.15330888330936432, -0.4978020191192627, 0.3946819305419922, 0.3439057469367981, -0.24144014716148376, 0.9630659222602844, 0.42148736119270325, 0.14983350038528442, 0.19204124808311462, 0.05863827466964722, 1.0499913692474365, -0.4512987434864044, -0.5007197260856628, -0.7041053771972656, 0.2654578685760498, -0.08168245851993561, -0.3865829408168793, 0.5989065766334534, 0.42516469955444336, 0.846892237663269, 0.09739592671394348, 0.9420711398124695, 0.2362404614686966, 0.5510186553001404, -0.6630215644836426, 0.6009467244148254, -0.15543873608112335, 0.4197775721549988, -0.0730702131986618, -0.9979320764541626, -0.11823629587888718, 0.7085670232772827, -0.4612899720668793, 0.20339620113372803, 0.5521809458732605, 0.8514503836631775, -0.2377677857875824, 0.13669461011886597, 0.20548687875270844, 0.12746621668338776, 0.39683645963668823, 0.24879471957683563, 0.6502002477645874, -0.1568862944841385, 0.5326271057128906, -0.4072555899620056, -0.3861984312534332, -0.044735878705978394, -0.8095975518226624, -0.8952807784080505, -0.5293713212013245, -0.4210810959339142, -0.019975194707512856, 0.06286478042602539, 1.0982701778411865, 1.0244351625442505, -0.9242843985557556, -0.030891330912709236, 0.008918246254324913, 0.12093424797058105, -0.3094629943370819, -0.1908445805311203, 0.43342679738998413, -0.3456589877605438, -0.8812240958213806, 0.7115774750709534, 0.12974762916564941, 0.05478961393237114, -0.0670316219329834, 0.0921836569905281, 0.08144289255142212, 0.21837365627288818, 0.3611578941345215, 0.3056723177433014, -0.45618563890457153, -0.48373278975486755, 0.03241082280874252, 0.04480239003896713, 0.11197756975889206, 0.7372038960456848, -0.6445308327674866, 0.4516754746437073, 0.1182105541229248, 1.072938084602356, 0.5802253484725952, -0.10671059042215347, 0.5600273609161377, -0.7842345237731934, -0.023419953882694244, 0.38196784257888794, 0.4623265266418457, 0.35499507188796997, -0.6311337351799011, 0.5972437858581543, -0.16488294303417206, -0.6386919021606445, -0.4830579161643982, 0.18515774607658386, -0.8606399893760681, -0.16604262590408325, 1.3136677742004395, 0.08080467581748962, -0.4488210082054138, 0.0671645924448967, -0.4079490900039673, -0.0520026832818985, -0.7509408593177795, 1.0356018543243408, 0.6756855249404907, -0.01896578259766102, -0.3303684592247009, -0.6964365243911743, 0.4512060880661011, 0.5044758915901184, -0.8401654362678528, 0.02315489761531353, 0.5872414112091064, 0.45849841833114624, -0.15066100656986237, 0.5784727334976196, 0.12212764471769333, 0.24652153253555298, -0.17558497190475464, 0.006524801254272461, -0.17750652134418488, -0.4611406922340393, 0.012559322640299797, 0.15038761496543884, 0.3918423056602478, -0.19731277227401733 ]
http://arxiv.org/abs/2403.00821v1
http://arxiv.org/pdf/2403.00821v1
Social Media as a Sensor: Analyzing Twitter Data for Breast Cancer Medication Effects Using Natural Language Processing
2024-02-26T16:17:19
2024-02-26T16:17:19
Seibi Kobara, Alireza Rafiei, Masoud Nateghi, Selen Bozkurt, Rishikesan Kamaleswaran, Abeed Sarker
cs.CL
cs.CL, cs.LG, cs.SI
Breast cancer is a significant public health concern and is the leading cause of cancer-related deaths among women. Despite advances in breast cancer treatments, medication non-adherence remains a major problem. As electronic health records do not typically capture patient-reported outcomes that may reveal information about medication-related experiences, social media presents an attractive resource for enhancing our understanding of the patients' treatment experiences. In this paper, we developed natural language processing (NLP) based methodologies to study information posted by an automatically curated breast cancer cohort from social media. We employed a transformer-based classifier to identify breast cancer patients/survivors on X (Twitter) based on their self-reported information, and we collected longitudinal data from their profiles. We then designed a multi-layer rule-based model to develop a breast cancer therapy-associated side effect lexicon and detect patterns of medication usage and associated side effects among breast cancer patients. 1,454,637 posts were available from 583,962 unique users, of which 62,042 were detected as breast cancer members using our transformer-based model. 198 cohort members mentioned breast cancer medications with tamoxifen as the most common. Our side effect lexicon identified well-known side effects of hormone and chemotherapy. Furthermore, it discovered a subject feeling towards cancer and medications, which may suggest a pre-clinical phase of side effects or emotional distress. This analysis highlighted not only the utility of NLP techniques in unstructured social media data to identify self-reported breast cancer posts, medication usage patterns, and treatment side effects but also the richness of social data on such clinical questions.
[ -0.017781050875782967, -1.0346976518630981, 0.58909672498703, 0.22062452137470245, -0.24385645985603333, 0.3218291401863098, 0.18015940487384796, -0.5014704465866089, 0.7260648012161255, 0.8279954791069031, -0.7298740744590759, -1.22028386592865, -0.9951528310775757, 0.1217985600233078, -0.6533524990081787, 0.9892333745956421, 0.010535039938986301, 0.15028584003448486, 0.11881822347640991, -0.09773396700620651, -0.29911768436431885, -0.12357025593519211, -0.95698481798172, -0.22620680928230286, 0.8821954131126404, 0.08013492077589035, 0.36356255412101746, 0.280720978975296, 0.6850075125694275, 0.22113659977912903, 0.19889965653419495, 0.1945895403623581, -0.3306879997253418, -0.05964937433600426, -0.18033941090106964, -0.20930753648281097, -0.1746930032968521, -0.11099835485219955, 0.2726246118545532, 0.5561285018920898, 0.028403688222169876, 0.3500804901123047, 0.08103232085704803, 0.6554731130599976, -0.4277415871620178, -0.021306024864315987, -0.2614133954048157, 0.2177209109067917, -0.07553757727146149, -0.40485790371894836, 0.00500089256092906, -0.6321439743041992, 0.008239014074206352, -0.5142394304275513, 0.2889261841773987, -0.19305174052715302, 0.7208827137947083, 0.26756027340888977, -0.5368101000785828, -0.5602506399154663, -0.6354041695594788, 0.47934678196907043, -0.5914176106452942, 0.13167044520378113, 0.6002861857414246, 0.5352779030799866, -0.3563609719276428, -0.7294455766677856, -0.27468937635421753, 0.252396821975708, -0.3341989815235138, -0.0383932963013649, -0.5140368938446045, 0.039444200694561005, -0.012544097378849983, 0.2999075949192047, -0.7063736319541931, -0.01576889120042324, -0.41453272104263306, -0.36654970049858093, 0.5324174761772156, 0.14850302040576935, 0.7255218625068665, -0.5030547380447388, -0.04653025045990944, 0.49654439091682434, -0.4259920120239258, 0.15539772808551788, -0.08619923144578934, 0.47535496950149536, -0.369325190782547, 0.8402161598205566, -0.20080728828907013, 0.7218623757362366, -0.22726474702358246, 0.3658190369606018, -0.16562417149543762, -0.37132155895233154, -0.27417510747909546, 0.1530938595533371, 1.2745872735977173, 0.597473680973053, -0.1443091481924057, -0.04782060161232948, 0.47460025548934937, 0.24025602638721466, 0.355148583650589, -0.7971749901771545, -0.3709665834903717, 0.3469056487083435, -0.707463264465332, -0.195105642080307, -0.1856687217950821, -0.8257269263267517, -0.6585466265678406, -0.07562210410833359, 0.6257266998291016, -0.4284222722053528, -0.19261300563812256, 0.44379130005836487, -0.21925118565559387, -0.1891094148159027, -0.0009288720320910215, -0.6586748361587524, 0.603192925453186, 0.7723413109779358, 1.2871564626693726, 0.12688671052455902, 0.16995610296726227, -0.3907386064529419, 0.14487557113170624, -0.05468448996543884, 1.0611995458602905, -0.31008508801460266, -0.4310002028942108, 0.14205582439899445, 0.15336771309375763, -0.35590335726737976, -0.4055003821849823, 0.5716213583946228, -0.2345590740442276, 0.278955340385437, -0.6646038889884949, -0.8240591883659363, 0.043476298451423645, 0.09243184328079224, -0.7286333441734314, 0.5494731664657593, 0.10499846935272217, -0.7409147620201111, 0.4001029431819916, -0.7319126725196838, -0.5949776768684387, 0.15222276747226715, 0.010273384861648083, -0.27879804372787476, 0.19166050851345062, 0.30197450518608093, 0.8254421949386597, -0.0349823422729969, 0.295941025018692, -0.2601768672466278, -0.4615417420864105, 0.2689686417579651, 0.109308622777462, 0.8022518754005432, 0.18356165289878845, 0.10074210166931152, 0.042162179946899414, -0.7405278086662292, -0.30131739377975464, 0.14615966379642487, -0.07731585204601288, -0.6283659934997559, 0.029184533283114433, 0.020617201924324036, 0.0977926179766655, -0.06921936571598053, -0.7745461463928223, 0.002855211729183793, -0.44661322236061096, 0.5309082865715027, 0.40336674451828003, 0.6182959675788879, 0.06717604398727417, -0.3713633120059967, 0.2181527018547058, -0.24915683269500732, 0.4631115198135376, 0.27512407302856445, -0.8162279725074768, -0.1304769665002823, -0.18201351165771484, 0.005192617420107126, 0.16463252902030945, -0.6575129628181458, 0.2786054015159607, -0.06743329763412476, -0.35148411989212036, -0.7631787657737732, 0.17001326382160187, 0.13586550951004028, 0.6759545207023621, 0.6254353523254395, -0.009286955930292606, -0.7561086416244507, -0.7218141555786133, -0.5354478359222412, -0.053664498031139374, 0.09090793132781982, -0.059930797666311264, 0.2565470039844513, -0.5486086010932922, 0.8161584138870239, -0.7941955924034119, -0.31994426250457764, -0.13976788520812988, 0.37840771675109863, 0.07311003655195236, 0.029995331540703773, 0.3522581458091736, -0.4769193232059479, -0.4312729835510254, -0.05963531509041786, -0.6397855281829834, -0.527952253818512, 0.03730889409780502, -0.4287070333957672, -0.23968780040740967, 0.1525307297706604, -0.43406474590301514, 0.40677985548973083, 0.5881084203720093, -0.3007145822048187, -0.10838665813207626, 0.1313718855381012, 0.1587916761636734, -1.2935220003128052, -0.07915257662534714, 0.5604386329650879, -0.03461306542158127, -0.6679638028144836, -0.6830286979675293, -0.33010488748550415, 0.016275683417916298, -0.23910042643547058, 0.5157732367515564, 0.04617982730269432, 0.1900406926870346, -0.19359630346298218, -0.37175852060317993, 0.3171428143978119, -0.10676226764917374, 0.17668510973453522, -0.011975410394370556, 0.020267317071557045, -0.4742017388343811, 0.18857741355895996, 0.09947053343057632, -0.3202345371246338, 0.4844443202018738, -0.4722695052623749, -0.24851879477500916, -0.08410152792930603, 0.12105745822191238, -1.1719528436660767, -0.2889735996723175, 0.7166392803192139, -0.6203572154045105, -0.100031279027462, -0.21348786354064941, -0.3645694851875305, -0.46263206005096436, -0.15795356035232544, -0.1917184442281723, 0.04022059962153435, -0.1064240112900734, 0.5703712105751038, 0.5234951972961426, -0.30114221572875977, -0.11843979358673096, -0.7559930086135864, 0.24808292090892792, -0.17075389623641968, -0.39381664991378784, 0.2572631537914276, 0.17523840069770813, -0.13251225650310516, 0.3378329277038574, 0.17132678627967834, -0.1336294710636139, -0.1581796556711197, 0.27239617705345154, 0.09671980142593384, 0.11953224986791611, 0.4190390706062317, 0.494983434677124, -0.14234459400177002, 0.3396340310573578, 0.2253527045249939, 0.5775033831596375, 0.18033450841903687, -0.2157767117023468, -0.5068501234054565, 0.7084682583808899, 0.2078707218170166, 0.09704332798719406, 0.8002817034721375, 0.7957597970962524, -0.6920046806335449, -0.04611501097679138, -0.4330112338066101, -0.20442184805870056, -0.3667580783367157, -0.14229445159435272, 0.18435077369213104, -0.9611663222312927, 0.4784901738166809, 0.09180748462677002, -0.06443297863006592, 0.4333004951477051, 0.6299980282783508, -0.18986967206001282, 0.9523593783378601, 0.33262330293655396, -0.2050704061985016, 0.38836669921875, -0.23611168563365936, 0.28665485978126526, -0.17349156737327576, -0.09969991445541382, -0.12087766081094742, -0.3628958463668823, -0.647014319896698, -0.2956990599632263, 0.4302934408187866, -0.6209225058555603, -0.18310067057609558, 0.40193605422973633, -0.6940889358520508, -0.0281328484416008, 0.32865697145462036, 0.5714860558509827, 0.4007228910923004, 0.06333800405263901, 0.46800580620765686, -0.09201404452323914, -0.5449933409690857, -0.28560563921928406, 0.9681966304779053, 0.2768634557723999, 0.4927487373352051, -0.010719546116888523, 0.8495128154754639, 0.41789236664772034, 0.3493809998035431, -0.6674373149871826, 0.44716793298721313, -0.35076838731765747, -0.5456414818763733, -0.017306586727499962, -0.6638555526733398, -0.9597796201705933, -0.21740420162677765, -0.4169335663318634, -0.5812817811965942, 0.11104972660541534, -0.21621285378932953, -0.8557789325714111, 0.11761154979467392, -1.021773338317871, 0.9442378282546997, -0.4390651285648346, -0.28710296750068665, 0.13727547228336334, -0.8741838932037354, 0.16055963933467865, -0.15650734305381775, 0.305995374917984, -0.3548015356063843, 0.2382313311100006, 0.740622878074646, -0.5951213240623474, 0.8704882264137268, -0.13953693211078644, 0.2396654486656189, 0.35085782408714294, -0.11401998996734619, -0.14146679639816284, -0.08602068573236465, 0.13826510310173035, 0.21519675850868225, 0.48514822125434875, -0.3748224377632141, -0.5996687412261963, 0.7425492405891418, -0.68731290102005, 0.061373308300971985, -0.27788516879081726, -0.3591548800468445, -0.18976199626922607, 0.09902658313512802, 0.5104114413261414, 0.07745339721441269, -0.3131835460662842, -0.20576545596122742, 0.14622533321380615, -0.3974337875843048, 0.2502775490283966, 0.6444440484046936, -0.3809882700443268, -0.034953948110342026, 0.6895194053649902, 0.5529378652572632, -0.16396698355674744, 0.6468791365623474, 0.7636241316795349, -0.19261981546878815, -0.2575794756412506, -0.09897740185260773, 0.36109474301338196, -0.29993924498558044, -0.08799150586128235, -0.9273588061332703, -0.27025750279426575, -0.6016277074813843, -0.0004588872252497822, -0.2792470157146454, -0.10621366649866104, -0.41041332483291626, -0.36165332794189453, 0.8798444867134094, 0.8796284794807434, -0.0692925825715065, 0.5047239661216736, -1.0817182064056396, 0.46657267212867737, 0.13196079432964325, 0.5299156904220581, -0.15470752120018005, 0.11648432165384293, -0.3384764790534973, 0.07444547116756439, 0.060632526874542236, -0.9944387078285217, 0.5446007251739502, 0.21783049404621124, 0.208017498254776, 0.4449843168258667, 0.17182716727256775, 0.46502983570098877, -0.11628393828868866, 0.3587549328804016, 0.16998018324375153, -0.5702927708625793, 0.6344074010848999, -0.6540459990501404, 0.34878912568092346, 0.6500208377838135, 0.7494590878486633, -1.0874799489974976, -0.19023071229457855, -0.2451559156179428, -0.6745458841323853, 0.44551190733909607, 0.33408042788505554, 0.16888491809368134, -0.30984532833099365, 0.38723698258399963, 0.16632579267024994, 0.22078147530555725, -0.3663770258426666, -0.025444116443395615, -0.30835968255996704, -0.4800187647342682, 0.05957844853401184, -0.2452358454465866, -0.11057335883378983, -0.27199360728263855, 0.4142559766769409, 0.16494876146316528, 0.381054162979126, 0.00035542063415050507, 0.06992507725954056, -0.23121334612369537, 0.21818488836288452, 0.028208864852786064, 0.18953093886375427, -0.6402618288993835, 0.2948403060436249, -0.19728228449821472, -0.621411144733429, -0.36312752962112427, 0.4733930230140686, -0.036231182515621185, 0.06983484327793121, 0.5749295353889465, 0.2960849106311798, 0.15805090963840485, -0.4601946175098419, 0.2863699495792389, -0.30817463994026184, 0.08620396256446838, -0.09499016404151917, -0.1746598780155182, 0.29889214038848877, 0.05612805113196373, 0.26238852739334106, -0.22370555996894836, 0.5808448195457458, -0.5806968808174133, 0.2013026624917984, 0.2222113311290741, -0.8309010863304138, -0.4333980977535248, 0.12633013725280762, -0.009533625096082687, -0.3010987341403961, 0.08718365430831909, 0.27970561385154724, -0.1426045000553131, 0.3317519426345825, 0.19451871514320374, 0.5397610664367676, -0.5355677604675293, 0.5558249950408936, 0.3324018120765686, 0.08350516855716705, 0.034902676939964294, 0.3024500906467438, 0.18288499116897583, -0.7793782353401184, -0.25368040800094604, -0.6011368036270142, -0.3114171326160431, -0.10517299920320511, -0.5925919413566589, 0.20430295169353485, -0.6224982738494873, -0.6764134764671326, 0.372537225484848, 0.09192655235528946, -0.34305962920188904, 0.36389636993408203, -0.1046484187245369, 0.24319946765899658, -1.336011290550232, 0.3330315947532654, 0.6658897995948792, -0.34016573429107666, -0.6609275341033936, -0.2591770887374878, 0.5008214712142944, -0.7034156322479248, 0.016438128426671028, 0.3462063670158386, -0.12030334025621414, -0.20846246182918549, -0.4554901421070099, -0.5534487366676331, 0.8925380110740662, 0.07488539814949036, -0.3663293719291687, 0.10702385753393173, 0.6511717438697815, 1.0093212127685547, -0.29351961612701416, 0.15949998795986176, 0.5641855597496033, 0.16137221455574036, 0.35673657059669495, -0.28844380378723145, 0.035649627447128296, -0.48328545689582825, -0.2244933396577835, 0.35103467106819153, -0.3601158559322357, 0.5611646771430969, 0.0814410001039505, -0.39358052611351013, -0.07600666582584381, -0.12702499330043793, -0.0011126287281513214, 0.7668253183364868, 0.04588112607598305, 0.6418471932411194, 0.5743139982223511, -0.015609798952937126, 1.0367063283920288, -0.0540660060942173, 0.269883930683136, 0.7509863376617432, -0.2443006932735443, 0.8098703622817993, 0.3836413025856018, -0.1775772124528885, 0.6418651342391968, 0.7562348246574402, 0.11511001735925674, 0.4445640742778778, -0.09561414271593094, -0.46065717935562134, -0.10035348683595657, -0.5609984993934631, -0.1970597356557846, 0.04996313154697418, 0.5944241881370544, -0.6618521213531494, -0.42799586057662964, 0.335065633058548, 0.2679476737976074, 0.11366454511880875, -0.2034149020910263, 0.8412099480628967, 0.405307412147522, -0.10279110074043274, 0.059356290847063065, -0.10059282928705215, 0.27113473415374756, -0.5372269749641418, -0.04573753848671913, 0.13053558766841888, 0.1622905731201172, -0.6749688386917114, -0.8290590047836304, 0.9501400589942932, 0.05257253721356392, -0.16534146666526794, -0.1408318728208542, 1.0544275045394897, -0.25043532252311707, -1.0137382745742798, 0.6662708520889282, 0.6332240104675293, -0.05289428308606148, -0.34288981556892395, -0.8121346831321716, 0.07901884615421295, -0.31722357869148254, -0.21401450037956238, 0.18882790207862854, 0.2874510884284973, -0.0971897765994072, 0.39063891768455505, 0.6396852731704712, 0.3211279809474945, -0.1665896475315094, 0.36598682403564453, 0.749659538269043, -0.5214360356330872, 0.03184996545314789, -1.1220003366470337, 0.26789912581443787, -0.14469939470291138, -0.19212259352207184, 0.9090420603752136, 0.45407795906066895, 0.20665228366851807, 0.36688539385795593, 0.7063829898834229, 0.21712055802345276, 1.1481050252914429, -0.4614376723766327, 0.9970158338546753, -0.46333926916122437, 0.34902918338775635, -0.44909074902534485, -0.3072902262210846, -0.6975252628326416, 0.41004225611686707, -0.8637956380844116, -0.10524408519268036, 0.466215580701828, 0.6605679988861084, 0.23075847327709198, 0.34211447834968567, -0.15579818189144135, 0.32922688126564026, 0.3157489597797394, 0.5269097685813904, 0.6419848799705505, -0.5436619520187378, 0.038979921489953995, -0.258607417345047, -0.04562578350305557, -0.2257334291934967, -0.5040149092674255, -0.9515100717544556, -0.4809514880180359, -0.10333619266748428, -0.5051782131195068, 0.14729630947113037, 1.3081285953521729, 0.24195650219917297, -0.7175992131233215, -0.13284440338611603, -0.014534728601574898, 0.3680082857608795, -0.17944489419460297, -0.23434586822986603, 0.44389134645462036, 0.4248105585575104, -0.2972814738750458, 0.14329946041107178, 0.24396122992038727, -0.12540842592716217, 0.12760789692401886, 0.24062947928905487, -0.569604218006134, -0.04859641566872597, 0.6408254504203796, 0.11745811998844147, -0.15213774144649506, 0.13237552344799042, 0.3353273570537567, -0.1784065216779709, 0.003921829164028168, 0.5970743298530579, -0.5126426219940186, 0.7422005534172058, 0.4177600145339966, 0.4070381820201874, 0.519973635673523, 0.1431562453508377, 0.429071307182312, -0.40623125433921814, -0.6709800362586975, 0.24036286771297455, 0.2592231333255768, 0.4792785942554474, -0.4808371961116791, 0.2002047300338745, 0.39750605821609497, -0.19648854434490204, -0.23168595135211945, -0.08885721117258072, -1.1330732107162476, -0.5304116010665894, 1.2707706689834595, 0.303933322429657, -0.4704623222351074, -0.4885247051715851, -0.4189758598804474, 0.5747131109237671, -0.6210447549819946, 0.9397074580192566, 0.6810840368270874, -0.25042688846588135, -0.3700389564037323, -0.68870609998703, 0.3239416182041168, -0.2672206461429596, -0.6588367223739624, -0.35166066884994507, 0.375853031873703, 0.33171772956848145, -0.09395993500947952, 1.0197784900665283, -0.06835189461708069, -0.10048708319664001, -0.5657237768173218, -0.05115411803126335, 0.10405610501766205, 0.4135158956050873, -0.12484902143478394, 0.12925253808498383, -0.5981681942939758, 0.01752658374607563 ]
http://arxiv.org/abs/2402.16700v1
http://arxiv.org/pdf/2402.16700v1
Generating Effective Ensembles for Sentiment Analysis
2024-02-26T16:14:47
2024-02-26T16:14:47
Itay Etelis, Avi Rosenfeld, Abraham Itzhak Weinberg, David Sarne
cs.CL
cs.CL, cs.AI
In recent years, transformer models have revolutionized Natural Language Processing (NLP), achieving exceptional results across various tasks, including Sentiment Analysis (SA). As such, current state-of-the-art approaches for SA predominantly rely on transformer models alone, achieving impressive accuracy levels on benchmark datasets. In this paper, we show that the key for further improving the accuracy of such ensembles for SA is to include not only transformers, but also traditional NLP models, despite the inferiority of the latter compared to transformer models. However, as we empirically show, this necessitates a change in how the ensemble is constructed, specifically relying on the Hierarchical Ensemble Construction (HEC) algorithm we present. Our empirical studies across eight canonical SA datasets reveal that ensembles incorporating a mix of model types, structured via HEC, significantly outperform traditional ensembles. Finally, we provide a comparative analysis of the performance of the HEC and GPT-4, demonstrating that while GPT-4 closely approaches state-of-the-art SA methods, it remains outperformed by our proposed ensemble strategy.
[ -0.5971473455429077, -0.0739821195602417, 0.18391674757003784, 0.23204492032527924, -0.13608570396900177, 0.7180039286613464, -0.19412752985954285, -0.5488325953483582, 0.11017239838838577, 0.03866026550531387, -0.3563876748085022, -0.7691270112991333, -0.7718981504440308, 0.1045069545507431, -0.5166166424751282, 1.340718150138855, 0.3042147755622864, -0.1238742396235466, -0.19464559853076935, -0.34638693928718567, -0.0012205814709886909, -0.5006493926048279, -0.4632314145565033, -0.43347153067588806, 0.3517346680164337, -0.04388953745365143, 0.8486109972000122, -0.03443748503923416, 0.762580156326294, 0.33184415102005005, -0.3146846294403076, 0.24389700591564178, -0.2650732696056366, 0.15770278871059418, -0.12268536537885666, -0.3613559305667877, -0.49283334612846375, 0.11578337848186493, 0.5787534117698669, 0.5660054087638855, -0.2667115032672882, 0.04444331303238869, 0.24364176392555237, 0.7434154748916626, -0.8069328665733337, 0.15552261471748352, -0.7679792642593384, 0.31683221459388733, -0.2693388760089874, -0.09428039938211441, -0.5964586734771729, -0.2395920753479004, 0.36932551860809326, -0.2741864025592804, 0.43300867080688477, -0.024722924456000328, 0.8595913052558899, 0.1929328888654709, -0.24605663120746613, -0.14744165539741516, -0.7626223564147949, 1.0584990978240967, -0.9057790637016296, 0.1922898292541504, -0.09231975674629211, 0.34560447931289673, 0.120770663022995, -0.5594049692153931, -0.3997371792793274, 0.1860300600528717, -0.15950851142406464, 0.65532386302948, -0.5182135701179504, 0.0392126627266407, -0.0672668069601059, 0.666963517665863, -0.21810629963874817, 0.03776365518569946, -0.2651729881763458, -0.10794609785079956, 0.5281602144241333, 0.043344128876924515, 0.030245058238506317, -0.6980234980583191, -0.4374638497829437, -0.27156129479408264, -0.37250134348869324, 0.09058795124292374, 0.5203151106834412, 0.34189367294311523, 0.07247631251811981, 0.2790914475917816, 0.15150786936283112, 0.3456098735332489, 0.39655712246894836, 0.011873619630932808, 0.491131454706192, -0.19250968098640442, -0.18656998872756958, -0.15922634303569794, 1.0652600526809692, 0.407022625207901, 0.11787544190883636, -0.27605628967285156, -0.5637233853340149, 0.428419291973114, 0.8279274702072144, -0.4109252989292145, -0.5083252787590027, 0.3268727660179138, -0.6403083205223083, -0.7645853757858276, 0.20876237750053406, -1.2361018657684326, -0.31838610768318176, -0.2981603443622589, 0.2876772880554199, -0.4103770852088928, -0.35160771012306213, -0.24795028567314148, -0.3778650164604187, 0.4500725269317627, -0.09431280195713043, -0.9730255007743835, 0.6165336966514587, 0.7856793999671936, 0.8900651931762695, -0.3872418701648712, -0.05807848647236824, -0.1928957849740982, -0.3389141857624054, -0.5484281778335571, 1.0049704313278198, -0.6921248435974121, -0.675116777420044, 0.1891525387763977, -0.42405444383621216, -0.1452234983444214, -0.6610588431358337, 0.8936836123466492, -0.5373731255531311, 0.4795767366886139, -0.22278155386447906, -0.46204960346221924, -0.0391998253762722, 0.3001720607280731, -0.7011793255805969, 1.2367191314697266, 0.1850988119840622, -0.9786245822906494, 0.370841383934021, -0.7422587275505066, -0.5139803886413574, -0.2635032534599304, -0.10764984786510468, -0.5976185202598572, 0.4308997690677643, 0.7213466167449951, 0.5239826440811157, -0.192613422870636, 0.07563716173171997, -0.14560578763484955, -0.27372366189956665, 0.05357017740607262, -0.2855414152145386, 0.48784178495407104, 0.2860129177570343, -0.3201383948326111, 0.19826829433441162, -0.6166774034500122, -0.1356857866048813, -0.28264734148979187, -0.10909835994243622, -0.37580710649490356, 0.24816690385341644, 0.0069170198403298855, 0.05593298375606537, -0.06614384800195694, -0.4296117126941681, 0.05825399234890938, -0.6660911440849304, 0.41271308064460754, 0.9233534336090088, -0.0028213905170559883, 0.9281459450721741, -0.13396836817264557, 0.6689020991325378, 0.05510709062218666, 0.09039207547903061, -0.05266105383634567, -0.4603886902332306, -0.47813695669174194, -0.3067522346973419, 0.3638042211532593, 0.3576395511627197, -0.7809903621673584, 0.6385241746902466, -0.3921439051628113, -0.5788387656211853, -0.6267243027687073, -0.21519063413143158, -0.05536682903766632, 0.44592466950416565, 0.48909878730773926, -0.3036804497241974, -0.7178023457527161, -0.8421273231506348, -0.5106275081634521, -0.3238365352153778, -0.025949232280254364, -0.14688263833522797, 0.43466368317604065, -0.20262616872787476, 1.1294302940368652, -0.36907759308815, -0.11124693602323532, -0.4096459746360779, 0.4672373831272125, 0.3350818157196045, 0.22083210945129395, 0.634823739528656, -0.5556992888450623, -0.2470683455467224, 0.020696846768260002, -0.6696111559867859, 0.13702674210071564, -0.06157296523451805, -0.18336211144924164, 0.25579166412353516, -0.057455867528915405, -0.6508305668830872, 0.10597723722457886, 0.6426184773445129, 0.14212626218795776, 0.45916715264320374, 0.23575735092163086, 0.15856382250785828, -1.135460376739502, -0.2604888379573822, 0.5373140573501587, -0.09989695996046066, -0.6558692455291748, 0.09857264161109924, -0.12200777977705002, 0.13328146934509277, -0.04324007406830788, -0.03059845231473446, -0.15374191105365753, -0.13036632537841797, -0.03835374489426613, -0.0653071478009224, -0.10845892876386642, 0.4123500883579254, -0.005835500080138445, 0.45660731196403503, 0.6004138588905334, -0.13987118005752563, 0.026410328224301338, 0.14460298418998718, -0.46626633405685425, 0.6633335947990417, -0.5810733437538147, 0.11928810179233551, -0.224537193775177, 0.5896050930023193, -1.0903056859970093, -0.33082059025764465, 0.05903519317507744, -0.5016934871673584, 0.3073486387729645, 0.026232095435261726, -0.3168780207633972, -0.591249942779541, -0.7428447008132935, 0.04929665848612785, 0.9535232782363892, -0.8441798090934753, 1.0575932264328003, 0.31276336312294006, -0.003621872514486313, -0.7528030872344971, -0.6172896027565002, 0.22092002630233765, -0.48330923914909363, -0.5780901312828064, 0.5409061312675476, 0.4718942642211914, -0.36130228638648987, -0.15687765181064606, -0.3388049900531769, 0.0907694548368454, -0.10470395535230637, 0.05749465525150299, 0.40904301404953003, -0.1852724552154541, 0.12298402935266495, 0.08368416875600815, -0.17193545401096344, 0.06822893023490906, -0.3146992027759552, 0.5129856467247009, -0.4523231089115143, -0.10027286410331726, -0.5285043716430664, 0.23796015977859497, 0.7352225184440613, -0.37727856636047363, 0.5955583453178406, 0.7705969214439392, -0.20762883126735687, -0.4093811511993408, -0.43731555342674255, -0.17550429701805115, -0.4880237281322479, 0.021647287532687187, -0.13792288303375244, -0.6859764456748962, 0.4689393639564514, -0.10131192952394485, 0.43524426221847534, 0.6143000721931458, 0.41041433811187744, -0.45093414187431335, 1.14888334274292, 0.341708779335022, -0.620203971862793, 0.3875569701194763, -0.2915278971195221, 0.6250368356704712, -0.7107677459716797, 0.036753516644239426, -0.6841393709182739, -0.472400963306427, -1.0550185441970825, -0.14545248448848724, 0.5748075246810913, -0.25676974654197693, -0.06881450861692429, 0.19336995482444763, -0.6981459856033325, 0.19271263480186462, 0.4728456437587738, -0.09112253785133362, 0.15959639847278595, 0.24877071380615234, 0.21315206587314606, 0.0461655929684639, -0.7512811422348022, -0.6432385444641113, 0.890805184841156, 0.5353507399559021, 0.6373772621154785, 0.06232759729027748, 1.0031930208206177, 0.26073387265205383, 0.34421423077583313, -0.8669536113739014, 0.26578861474990845, -0.508617639541626, -0.3280063271522522, -0.022270066663622856, -0.37751519680023193, -0.7129355669021606, 0.551004946231842, -0.17435793578624725, -0.4809202551841736, 0.3394220471382141, 0.1754070222377777, -0.532122015953064, 0.30039334297180176, -0.5096716284751892, 0.5169520974159241, 0.3096403479576111, -0.009831231087446213, -0.019235167652368546, -0.6613143682479858, 0.4140397906303406, 0.06623023003339767, 0.3145735561847687, 0.3303000330924988, 0.14920182526111603, 0.7095551490783691, -0.36736610531806946, 0.9109408855438232, -0.22171486914157867, -0.3835706412792206, 0.6060463786125183, -0.2631881535053253, 0.7202356457710266, -0.20818668603897095, -0.38901785016059875, 0.22020214796066284, -0.17680050432682037, -0.35093843936920166, -0.7869532108306885, 0.5708209276199341, -0.9192448258399963, -0.27397555112838745, -0.31884855031967163, -0.31961414217948914, -0.4949488341808319, -0.548973560333252, 0.46950745582580566, 0.5578321218490601, -0.06462167203426361, 0.27766695618629456, 0.46130985021591187, -0.033651985228061676, 0.6169895529747009, -0.2943314015865326, 0.15449978411197662, -0.5385258793830872, 0.7408307790756226, 0.10834740102291107, 0.2422853261232376, 0.2712289094924927, 0.37984681129455566, -0.38558176159858704, -0.44228270649909973, -0.4491389989852905, -0.2737218737602234, -0.768191933631897, -0.16138845682144165, -0.7316398620605469, 0.045411087572574615, -0.6465550661087036, -0.15901653468608856, -0.30781090259552, -0.38717618584632874, 0.07826270163059235, -0.270357608795166, 0.261380672454834, 0.7221753597259521, 0.007598658557981253, 0.6298744082450867, -0.9140610098838806, 0.3066619038581848, 0.29990509152412415, 0.1470390409231186, 0.1169310063123703, -0.32618868350982666, 0.0972629114985466, -0.24178524315357208, -0.39812639355659485, -0.7729705572128296, 0.4597841501235962, 0.22960802912712097, 0.35034647583961487, 0.3441118001937866, -0.0488152951002121, 0.603172242641449, -0.4348142743110657, 1.2012923955917358, 0.2710987627506256, -1.056944727897644, 0.3504982888698578, -0.5824512243270874, 0.3151664435863495, 0.6248456239700317, 0.2311147004365921, -0.3476632833480835, -0.46388769149780273, -0.7835562229156494, -0.9804524779319763, 0.5051705241203308, 0.5142207741737366, 0.2694494128227234, -0.1354583352804184, 0.23449395596981049, 0.08876416832208633, 0.37288880348205566, -0.7907900810241699, 0.0004656888486351818, -0.6697793006896973, -0.6687259078025818, -0.11658811569213867, 0.04510127753019333, 0.08146028965711594, -0.1686694473028183, 0.8066255450248718, -0.20109088718891144, 0.25201913714408875, 0.013569091446697712, 0.17554998397827148, -0.10580673813819885, 0.4833441972732544, -0.05925207957625389, 0.05226163938641548, -0.0028404800686985254, 0.21088998019695282, 0.32592853903770447, -0.15484759211540222, -0.15149985253810883, -0.22338488698005676, 0.013770361430943012, 0.035282034426927567, 0.6651235222816467, 0.6959910988807678, 0.20045310258865356, -0.22732123732566833, 0.5314151644706726, 0.19671310484409332, -0.17285262048244476, -0.1921616643667221, 0.07848489284515381, 0.024120425805449486, 0.12181498110294342, 0.3347344994544983, 0.7260663509368896, 0.32418927550315857, -0.5775311589241028, 0.11378012597560883, 0.43421998620033264, -0.5160191655158997, -0.4490033984184265, 0.05769747868180275, 0.3047981560230255, -0.06169794127345085, 0.5822415351867676, -0.22874097526073456, -0.8718171715736389, 0.4452691674232483, 0.28964757919311523, 1.032187819480896, -0.2900274693965912, 0.44763678312301636, 0.37442293763160706, 0.38735079765319824, -0.4452417492866516, -0.004280184395611286, -0.1805153489112854, -0.9164981842041016, -0.631885290145874, -0.6846184730529785, -0.3307443857192993, -0.2675914764404297, -0.8685882687568665, 0.02765662781894207, -0.34584856033325195, -0.1286037564277649, -0.01542133279144764, -0.28099435567855835, -0.43265020847320557, 0.32685768604278564, 0.07515647262334824, 0.644193708896637, -0.8735221028327942, 0.33349403738975525, 0.6524430513381958, -0.14090348780155182, -0.8102043271064758, 0.2599712610244751, 0.12326429039239883, -0.3440583050251007, 0.29846522212028503, 0.13982641696929932, -0.3423636555671692, -0.13826696574687958, -0.6621788144111633, -0.6585496664047241, 0.814842939376831, -0.31205135583877563, -0.6954180598258972, 0.003631936851888895, 0.02007891610264778, 1.0129984617233276, -0.3166632354259491, 0.22879362106323242, 0.8620473146438599, 0.5098798871040344, 0.2575153112411499, -0.5759958624839783, -0.44342392683029175, -0.32140645384788513, -0.058018386363983154, 0.472788542509079, -0.432086706161499, 0.7032497525215149, 0.13732799887657166, -0.18779879808425903, 0.015864815562963486, 0.8951625823974609, 0.032353971153497696, 0.1944817155599594, 0.8929431438446045, 0.6125661730766296, 0.9211803078651428, -0.3010914623737335, 1.3407788276672363, -0.06312491744756699, 0.4733108580112457, 0.9630258083343506, -0.41622546315193176, 0.8930419683456421, 0.37626054883003235, -0.4125007092952728, 0.9063716530799866, 0.5636169910430908, -0.2117430716753006, 0.5244165658950806, 0.09341698884963989, -0.3930666744709015, -0.40777498483657837, 0.2323981523513794, 0.023003725335001945, 0.7072715163230896, 0.2654094994068146, -0.2898194491863251, -0.2104341834783554, -0.12061672657728195, -0.1833678036928177, 0.2225417047739029, -0.35101985931396484, 0.8607317209243774, 0.07889155298471451, -0.7290412187576294, 0.19826412200927734, -0.18481741845607758, 1.136061191558838, -0.30508720874786377, 0.29604753851890564, 0.12814071774482727, 0.17016413807868958, -0.6340246200561523, -0.6544379591941833, 0.48252299427986145, 0.21067824959754944, -0.09030303359031677, -0.17395971715450287, 0.8236103653907776, -0.023496896028518677, -0.6674339175224304, 0.16410957276821136, 0.5708215832710266, -0.17380045354366302, -0.04056787118315697, -0.44572746753692627, -0.1890566051006317, -0.05182107537984848, -0.3894610106945038, 0.1839955598115921, 0.10533908754587173, -0.0873015969991684, 0.175555020570755, 0.6580923795700073, -0.08343929052352905, -0.2092442810535431, 0.5622863173484802, 0.6706675887107849, -0.5436722040176392, -0.4372674226760864, -0.9096617102622986, 0.7203769087791443, -0.4337306320667267, -0.32264605164527893, 0.6983057856559753, 0.13881631195545197, 0.49623820185661316, -0.03217180445790291, 1.0259093046188354, -0.007821990177035332, 0.49958550930023193, -0.286782830953598, 0.516868531703949, -0.34663042426109314, 0.3584935665130615, -0.7275996804237366, -1.0314826965332031, -0.4609806537628174, 0.7928070425987244, -0.3650994598865509, 0.20719347894191742, 0.5329257249832153, 0.7265983819961548, 0.047663550823926926, 0.8485569357872009, 0.0754486694931984, 0.17913265526294708, 0.5673376321792603, 0.074821338057518, 1.3294837474822998, -0.5003834366798401, 0.34110918641090393, -0.46121498942375183, -0.21592076122760773, 0.3147319257259369, -0.9290550947189331, -0.9036559462547302, -0.38260209560394287, -0.20086893439292908, -0.11885439604520798, -0.07845018804073334, 1.0902280807495117, 0.5703321099281311, -0.7987995743751526, -0.03523227944970131, -0.1545514613389969, -0.17153339087963104, -0.46177205443382263, -0.2559927999973297, 0.31903254985809326, -0.7065276503562927, -0.8038874268531799, 0.45403236150741577, 0.23514720797538757, -0.2705104947090149, -0.3029715120792389, 0.22891630232334137, 0.21427319943904877, 0.28974035382270813, 1.0675525665283203, -0.40966829657554626, -0.6945630311965942, -0.5213280916213989, 0.09209293872117996, 0.19928719103336334, 0.38871002197265625, 0.7307661771774292, -0.955908477306366, 0.032868485897779465, 0.5895985960960388, 0.6940460205078125, 0.15114058554172516, 0.2404894232749939, 0.5326734185218811, -1.0014548301696777, -0.5171738266944885, 0.35775962471961975, 0.4877302646636963, 0.48542678356170654, -0.1885373592376709, 0.573024332523346, 0.02105322666466236, -0.4476759731769562, -0.6586915850639343, -0.051921430975198746, -1.055717945098877, -0.30322280526161194, 1.0168191194534302, 0.15003368258476257, -0.0978727787733078, 0.14465783536434174, -0.24367853999137878, 0.015091508626937866, -0.6727848649024963, 0.9884032011032104, 0.7977493405342102, -0.2454136461019516, 0.09137995541095734, -0.03924599289894104, 0.3226486146450043, 0.5352849364280701, -0.9488795399665833, -0.06714774668216705, 0.4035939574241638, -0.05518275871872902, 0.6172153949737549, 0.16264532506465912, -0.32002076506614685, 0.07531808316707611, -0.1205381527543068, 0.0663238912820816, 0.6608796119689941, -0.3302296996116638, -0.4309306740760803, 0.789749801158905, -0.126641184091568, 0.005866378080099821 ]
http://arxiv.org/abs/2402.16696v2
http://arxiv.org/pdf/2402.16696v2
Look Before You Leap: Towards Decision-Aware and Generalizable Tool-Usage for Large Language Models
2024-02-26T16:11:03
2024-02-28T03:31:28
Anchun Gui, Jian Li, Yong Dai, Nan Du, Han Xiao
cs.CL
cs.CL
Tool-augmented large language models (LLMs) are attracting widespread attention when accessing up-to-date knowledge and alleviating hallucination issues. Nowadays, advanced closed-source LLMs (e.g., ChatGPT) have demonstrated surprising tool-usage capabilities through prompting and in-context learning techniques. To empower the capabilities of open-source LLMs (e.g., LLaMA) in manipulating tools, current efforts focus on either template-driven or token-triggered tool-usage. However, the former hampers LLMs' flexibility to address diverse user's queries due to constrained tool interactions, while the latter limits the generalizability when engaging with new tools, since tool-usage learning is based on task- and tool-specific datasets. To alleviate these concerns, in this paper, we propose a decision-aware and generalizable tool-usage framework (DEER). Specifically, we first construct the tool-usage samples with multiple decision branches via an automatic generation pipeline, thereby inspiring the decision-making awareness of LLMs under diverse scenarios. Meanwhile, we propose a novel tool sampling strategy to enhance the generalizability of LLMs over unseen tools. Extensive experiments demonstrate that our proposed DEER is effective and significantly outperforms baselines across various datasets.
[ -0.3319351077079773, -0.578643262386322, 0.556088387966156, 0.027124684303998947, -0.3881756663322449, 0.2712426781654358, -0.15358880162239075, -0.2831401526927948, 0.09803930670022964, 0.41774383187294006, -0.5570330619812012, -0.894558846950531, -0.404408723115921, -0.2370361089706421, -0.6017708778381348, 0.5387793779373169, 0.14684079587459564, -0.36449626088142395, -0.10599710047245026, -0.2070470005273819, -0.39165636897087097, -0.43847256898880005, -0.5056494474411011, -0.1733960062265396, 0.6546314358711243, 0.27787214517593384, 0.7444483041763306, 0.35401731729507446, 0.14552266895771027, 0.25024524331092834, -0.14865636825561523, 0.23020213842391968, -0.22850489616394043, -0.041367266327142715, -0.2779132127761841, -0.4927966892719269, -0.5559069514274597, -0.09305439889431, 0.2620088458061218, 0.707845151424408, -0.3610365390777588, 0.24901250004768372, 0.04939283803105354, 0.09092649072408676, -0.8613706827163696, 0.14560943841934204, -1.103553056716919, 0.14999641478061676, -0.23286104202270508, -0.16378135979175568, -0.4075402021408081, -0.000009669928658695426, 0.2694561779499054, -0.9111303687095642, 0.24202728271484375, 0.002105729654431343, 0.543765664100647, 0.20499219000339508, -0.3372321128845215, -0.17882877588272095, -0.5796347856521606, 0.9015761613845825, -0.651436984539032, 0.6472394466400146, 0.5953370928764343, 0.43264633417129517, -0.29290542006492615, -0.6994178891181946, -0.4467419385910034, 0.10201406478881836, 0.11074889451265335, -0.24107353389263153, -0.2814435064792633, -0.023234860971570015, 0.2999873757362366, 0.09474928677082062, -0.4480421543121338, 0.34441375732421875, 0.01928984373807907, -0.3256460130214691, 0.4306412935256958, 0.06904101371765137, 0.02326822653412819, 0.05438421294093132, -0.19176504015922546, -0.0536981001496315, -0.8810471296310425, 0.04946449398994446, 0.2725464701652527, 0.5160462260246277, 0.08674567937850952, 0.563305675983429, 0.034997545182704926, 0.7668160200119019, 0.17079830169677734, -0.01501768734306097, 0.42794737219810486, -0.25320693850517273, -0.7072474360466003, -0.2585720419883728, 0.575694739818573, 0.28549444675445557, 0.44202134013175964, -0.04557691514492035, -0.14684785902500153, -0.27082517743110657, 0.28373295068740845, -0.6369173526763916, -0.14090517163276672, 0.19563749432563782, 0.007403525989502668, -0.3129790425300598, -0.35255998373031616, -0.613386332988739, -0.622696042060852, -0.2653941512107849, 0.11608648300170898, -0.35516512393951416, -0.4603472352027893, 0.3231430649757385, 0.1955089569091797, 0.5644851922988892, 0.5956916213035583, -0.6963755488395691, 0.019529376178979874, 0.5994560718536377, 0.8457139730453491, -0.184499591588974, -0.169932022690773, -0.8362078666687012, 0.3767821788787842, -0.5509781837463379, 0.5831724405288696, -0.6508535742759705, -0.8571565747261047, 0.1258602738380432, -0.173335000872612, 0.12924914062023163, -0.5695326924324036, 0.22211216390132904, -0.7835063934326172, 0.2024746686220169, -0.16055090725421906, -0.20482730865478516, -0.4210549592971802, 0.4875282943248749, -0.5265368223190308, 1.0076154470443726, 0.1332460343837738, -0.8367080092430115, 1.0210343599319458, -0.6602023243904114, -0.4857769012451172, 0.15208667516708374, -0.3822229504585266, -0.3822982907295227, 0.03549324721097946, 0.5827797651290894, 0.5462204217910767, 0.06182832270860672, 0.4505758285522461, -0.42856907844543457, -0.18223577737808228, -0.22649243474006653, -0.13980591297149658, 0.770122766494751, 0.10967212170362473, -0.10794790834188461, 0.34246817231178284, -0.5915732979774475, 0.06756163388490677, 0.09692549705505371, -0.48836371302604675, -0.47054263949394226, 0.2047862410545349, -0.1811610758304596, 0.14680267870426178, -0.018455862998962402, -0.35664793848991394, 0.3048875331878662, -0.5526333451271057, 0.1520494669675827, 0.8905318975448608, -0.10648484528064728, 0.2855552136898041, 0.08689714968204498, 0.7688594460487366, 0.2162259966135025, -0.013126335106790066, -0.21146324276924133, -0.2557981014251709, -0.668732225894928, -0.31119710206985474, 0.3123100996017456, 0.5289475321769714, -0.7042355537414551, 0.62428218126297, -0.059696026146411896, -0.4516999423503876, -0.2717421054840088, 0.26703014969825745, 0.07228705286979675, 0.3082369863986969, 0.27488675713539124, -0.2897247076034546, -0.6476303339004517, -0.688054084777832, -0.35107555985450745, -0.4482913911342621, -0.24979190528392792, 0.5135440826416016, 0.19237877428531647, -0.4236550033092499, 1.3736591339111328, -0.5062805414199829, -0.1546609252691269, -0.452243834733963, -0.11715902388095856, 0.26937663555145264, 0.2775486409664154, 0.4402288794517517, -0.6983727812767029, -0.30978140234947205, 0.09425774216651917, -0.4009052813053131, -0.002552432008087635, -0.1087934821844101, -0.19253157079219818, 0.07772383838891983, 0.6103832721710205, -0.6597191691398621, 0.38300251960754395, 0.3707267642021179, -0.2740798890590668, 0.6557475924491882, -0.07602142542600632, -0.27159544825553894, -1.0889719724655151, 0.05229613557457924, -0.007560781668871641, -0.3822658061981201, -0.5208515524864197, -0.12667502462863922, 0.046436622738838196, 0.10058283060789108, -0.6472541093826294, 0.6109779477119446, -0.3927668631076813, -0.29297390580177307, 0.08163571357727051, 0.0034642498940229416, -0.158569797873497, 0.2660364508628845, -0.012575448490679264, 0.924801230430603, 0.7896064519882202, -0.7124049663543701, -0.1662922352552414, 0.38388073444366455, -0.4457394778728485, 0.3685915768146515, -0.5019806027412415, 0.24328552186489105, 0.02896863967180252, 0.16981232166290283, -0.6098527312278748, -0.17814412713050842, 0.29029569029808044, -0.28301122784614563, 0.19016599655151367, -0.4602105915546417, -0.6122573614120483, -0.2781359553337097, -0.24309992790222168, 0.1495549976825714, 0.39109688997268677, -0.786651074886322, 0.9715518355369568, 0.3859386444091797, -0.10750587284564972, -0.8289113640785217, -0.5775356292724609, 0.21979224681854248, -0.4916015565395355, -0.3837096095085144, -0.07717590034008026, -0.2700686752796173, -0.2763034403324127, -0.4085260033607483, -0.16065946221351624, 0.026340682059526443, 0.19694586098194122, 0.13354894518852234, 0.3607386648654938, -0.035456277430057526, 0.5049779415130615, 0.057398684322834015, 0.15148155391216278, 0.005533041898161173, -0.40943312644958496, 0.6622846722602844, -0.03594203293323517, -0.8903568387031555, 0.15295745432376862, -0.007654853630810976, 0.5088987350463867, -0.5201467275619507, 0.09813781082630157, 0.5477087497711182, -0.20236222445964813, -0.37224799394607544, -0.6150186657905579, 0.027508443221449852, -0.5438075661659241, 0.44676104187965393, -0.33615145087242126, -0.9690451622009277, 0.30032598972320557, -0.4190743863582611, 0.705379068851471, 0.08121807128190994, 0.6605376601219177, 0.09438473731279373, 1.0026363134384155, 0.8779826164245605, -0.0525117851793766, 0.5883132219314575, -0.2012762427330017, 0.2040552794933319, -0.769265353679657, -0.06583420187234879, -0.19050543010234833, -0.20042777061462402, -0.2397991120815277, -0.8565827012062073, 0.20513927936553955, 0.06531168520450592, -0.2352718710899353, 0.1406807005405426, -0.3138609826564789, 0.6745089292526245, 0.2680020332336426, -0.31712764501571655, 0.3907768130302429, 0.06126804277300835, -0.44624313712120056, 0.16168467700481415, -0.6512323617935181, -0.4208545684814453, 1.374729037284851, 0.23005995154380798, 0.6700329780578613, -0.1412619948387146, 0.779516339302063, 0.2678396701812744, 0.18140551447868347, -1.1709754467010498, 0.7489244937896729, 0.14858338236808777, -0.5178430080413818, -0.30780380964279175, -0.0893973633646965, -1.1771594285964966, 0.5530107021331787, 0.09370261430740356, -0.7538725137710571, 0.3231201767921448, 0.24469062685966492, -0.38354507088661194, 0.575461745262146, -0.6323573589324951, 0.4691368341445923, -0.3101949393749237, -0.04939361661672592, -0.2474909871816635, -0.2753894031047821, 0.315842866897583, -0.35359513759613037, 0.47262415289878845, -0.26906201243400574, -0.4603936970233917, 0.42295363545417786, -0.0025830992963165045, 1.0499783754348755, -0.29124534130096436, -0.23804034292697906, 0.35500702261924744, 0.43740227818489075, 0.6524171233177185, -0.044962987303733826, -0.02321288362145424, 0.1136699914932251, -0.3463754951953888, -0.014096352271735668, -0.385231614112854, 0.42605024576187134, -0.35828959941864014, -0.8500977158546448, -0.3962603509426117, -0.5480266809463501, -0.5622084140777588, 0.3851553499698639, -0.12045688927173615, 0.36026135087013245, -0.4224018454551697, -0.012320146895945072, 0.5429177284240723, -0.3528997004032135, 0.42074283957481384, 0.7127173542976379, -0.7957013249397278, -0.11200957745313644, 0.6895799040794373, -0.05284728854894638, 0.19426393508911133, -0.02310493029654026, 0.25367385149002075, -0.2919647693634033, -0.8105756044387817, -0.38045424222946167, 0.09568961709737778, -0.6818356513977051, -0.11397794634103775, -0.6576238870620728, 0.0651564672589302, -0.1549464762210846, -0.384855180978775, -0.037644192576408386, -0.1344192773103714, -0.37946760654449463, -0.30443423986434937, 0.44176730513572693, 0.6057994961738586, -0.06200327351689339, 0.2673519253730774, -0.5126485824584961, 0.021291961893439293, 0.5839145183563232, 0.43853437900543213, -0.02177937515079975, -0.36007365584373474, -0.17318212985992432, -0.19221557676792145, -0.19422496855258942, -0.32650700211524963, 0.4690430164337158, 0.23268353939056396, 0.7772367596626282, 0.48989468812942505, 0.019300552085042, 0.4759347438812256, -0.47369763255119324, 0.6912847757339478, 0.1725209802389145, -0.8033119440078735, 0.6486005783081055, -0.5197224617004395, 0.4356030523777008, 0.22947382926940918, 0.2528219223022461, -0.47445419430732727, -0.4152698814868927, -0.6995063424110413, -0.9492195844650269, 0.5656672716140747, -0.08722363412380219, 0.21702641248703003, 0.13456319272518158, -0.12830360233783722, 0.28624024987220764, 0.40838801860809326, -0.38106703758239746, 0.14807090163230896, -0.19707295298576355, 0.15374664962291718, -0.16199077665805817, 0.10444077104330063, -0.12151575088500977, -0.3450128138065338, 0.42373254895210266, -0.5718991756439209, -0.3407687246799469, -0.15546786785125732, -0.3333502411842346, -0.007201279513537884, 0.4830121397972107, -0.016758255660533905, 0.7818701267242432, -0.16943074762821198, 0.0800887793302536, 0.619374692440033, -0.38590675592422485, 0.011994983069598675, -0.0027328836731612682, -0.17273464798927307, 0.040721774101257324, 0.11626218259334564, 0.6754265427589417, 0.41208404302597046, -0.9788296222686768, 0.3095352351665497, 0.07195331901311874, -0.11590968072414398, -0.2486564964056015, 0.24200426042079926, 0.4398464262485504, 0.36305227875709534, 0.0682843029499054, -0.027437007054686546, 0.14647696912288666, -0.3287632465362549, 0.16580377519130707, 0.6728488206863403, -0.15875381231307983, -0.1303166151046753, 0.35690435767173767, 0.2275211215019226, -0.2748507559299469, 0.45771095156669617, -0.1195797473192215, -0.25347641110420227, 0.2641002833843231, 0.30102819204330444, 0.9967516660690308, -0.20284375548362732, 0.265830934047699, 0.27334821224212646, 0.12068678438663483, 0.19787509739398956, 0.09244949370622635, -0.2780921161174774, -0.8116503357887268, -0.45388689637184143, -0.5906489491462708, -0.5289053320884705, 0.18908709287643433, -0.5088258385658264, 0.6162122488021851, -0.6849240660667419, -0.3092908263206482, -0.17178702354431152, -0.2246248722076416, -0.8420058488845825, 0.013342905789613724, 0.04251076653599739, 1.2447617053985596, -0.38602712750434875, 0.9913045763969421, 0.6967534422874451, -0.006899741478264332, -0.65691739320755, 0.14700327813625336, 0.2594729959964752, -1.0514461994171143, 0.44347676634788513, 0.12898172438144684, -0.3470119833946228, -0.006033703684806824, -0.6885315179824829, -0.7124941349029541, 1.1582547426223755, 0.45593997836112976, -0.6671810746192932, -0.25762054324150085, -0.1424100250005722, 0.24109378457069397, -0.295819491147995, 0.010346113704144955, 0.8449103236198425, 0.47966712713241577, 0.5440382957458496, -0.8909719586372375, -0.27144184708595276, -0.014038663357496262, -0.04213031381368637, 0.13507774472236633, -0.2270299196243286, 0.6770114898681641, -0.528656542301178, -0.4468396008014679, -0.3942153751850128, 0.3275829255580902, 0.5690752267837524, 0.13031652569770813, 0.9435549974441528, 0.4914698004722595, 0.8807932734489441, 0.34448766708374023, 0.8346070647239685, 0.09569226950407028, 0.06485527753829956, 1.1676833629608154, -0.37347549200057983, 0.9995476007461548, 0.33013391494750977, -0.33712393045425415, 0.33975887298583984, 0.5787950158119202, -0.025655904784798622, 0.3029427230358124, 0.232060506939888, -0.22694820165634155, -0.7380785942077637, 0.08046943694353104, -0.3557164967060089, 0.6316018104553223, 0.6220961213111877, -0.26359158754348755, -0.5950406789779663, -0.2644990086555481, 0.09532225877046585, -0.24974873661994934, -0.3048287630081177, 0.8806062936782837, 0.07739922404289246, -0.26178908348083496, 0.6385006904602051, -0.312675803899765, 0.845303475856781, -0.872661292552948, 0.07927997410297394, 0.09782685339450836, 0.0058839814737439156, -0.11016577482223511, -1.0800623893737793, 0.1776331216096878, 0.17480836808681488, -0.11333894729614258, -0.23917336761951447, 0.7934841513633728, -0.3198314607143402, -0.6840152144432068, 0.408906489610672, 0.9345093965530396, 0.13933992385864258, -0.16118937730789185, -0.5863335728645325, 0.01595464162528515, 0.07888249307870865, -0.3031940460205078, 0.6045638918876648, 0.2748306691646576, -0.11987947672605515, 0.9758692383766174, 0.8084321022033691, 0.21313337981700897, -0.08723962306976318, 0.20635543763637543, 1.0833120346069336, -0.45350322127342224, -0.5676044225692749, -0.6063404083251953, 0.5053284764289856, -0.025197159498929977, -0.21826042234897614, 0.6624045372009277, 0.5162593722343445, 0.9261904954910278, 0.058546554297208786, 1.0706766843795776, 0.0696810781955719, 0.7105560898780823, -0.3741897940635681, 0.7202101349830627, -0.619289219379425, 0.3180471360683441, -0.15501828491687775, -0.7291952967643738, -0.38510462641716003, 0.4218002259731293, -0.5262786746025085, 0.027590196579694748, 0.09922477602958679, 0.9057661294937134, -0.33653637766838074, -0.1730264276266098, 0.4443061649799347, 0.012219231575727463, 0.7357267737388611, 0.33416444063186646, 0.6505610942840576, 0.4095681607723236, 0.7173683047294617, 0.2443891316652298, -0.10696792602539062, -0.24901825189590454, -1.1133317947387695, -0.9253106713294983, -0.3661578595638275, -0.21804989874362946, 0.1030348688364029, -0.08630964905023575, 1.1250633001327515, 0.8595253825187683, -0.7792835235595703, -0.3208152651786804, 0.0041830032132565975, 0.21861644089221954, -0.044314756989479065, -0.07976925373077393, 0.25395888090133667, -0.488277405500412, -0.5886582732200623, 0.6205727458000183, 0.17681649327278137, 0.16963981091976166, -0.4261017143726349, -0.09378054738044739, -0.23972788453102112, 0.1504676192998886, 0.7931494116783142, 0.36742982268333435, -0.8281205892562866, -0.21136881411075592, -0.2146507203578949, 0.25229236483573914, 0.304938942193985, 0.8250232338905334, -1.276626706123352, 0.7481110692024231, 0.1985250860452652, 0.5988309383392334, 0.3303143084049225, -0.09070191532373428, 0.730208694934845, -0.8752371668815613, 0.09670800715684891, 0.3804001808166504, 0.3848101496696472, 0.46110567450523376, -0.15250514447689056, 0.4569965898990631, 0.004364970605820417, -0.1308930516242981, -0.8490890860557556, 0.42801985144615173, -0.7446345090866089, -0.145645871758461, 1.1738990545272827, -0.19446516036987305, 0.24861755967140198, -0.36868348717689514, -0.4488944709300995, 0.016021965071558952, -0.49118921160697937, 0.5762238502502441, 0.540030300617218, 0.0678296610713005, -0.1485794633626938, -0.49030062556266785, 0.4526679813861847, 0.16136348247528076, -0.8700555562973022, 0.5712732076644897, 0.5303366780281067, 0.3731507658958435, -0.0764642283320427, 0.3838041424751282, -0.045070163905620575, -0.010003892704844475, -0.2795206904411316, -0.019908741116523743, -0.36097896099090576, -0.2578248977661133, -0.3022516071796417, 0.001632794039323926, 0.4123605787754059, -0.181990846991539 ]
http://arxiv.org/abs/2402.16694v2
http://arxiv.org/pdf/2402.16694v2
HumanEval-XL: A Multilingual Code Generation Benchmark for Cross-lingual Natural Language Generalization
2024-02-26T16:09:00
2024-03-24T15:41:21
Qiwei Peng, Yekun Chai, Xuhong Li
cs.CL
cs.CL, cs.PL, cs.SE
Large language models (LLMs) have made significant progress in generating codes from textual prompts. However, existing benchmarks have mainly concentrated on translating English prompts to multilingual codes or have been constrained to very limited natural languages (NLs). These benchmarks have overlooked the vast landscape of massively multilingual NL to multilingual code, leaving a critical gap in the evaluation of multilingual LLMs. In response, we introduce HumanEval-XL, a massively multilingual code generation benchmark specifically crafted to address this deficiency. HumanEval-XL establishes connections between 23 NLs and 12 programming languages (PLs), and comprises of a collection of 22,080 prompts with an average of 8.33 test cases. By ensuring parallel data across multiple NLs and PLs, HumanEval-XL offers a comprehensive evaluation platform for multilingual LLMs, allowing the assessment of the understanding of different NLs. Our work serves as a pioneering step towards filling the void in evaluating NL generalization in the area of multilingual code generation. We make our evaluation code and data publicly available at \url{https://github.com/FloatAI/humaneval-xl}.
[ -0.4949009120464325, -0.4671380817890167, 0.22690331935882568, 0.5587614178657532, -0.14192929863929749, 0.19878360629081726, -0.5007771253585815, -0.3862583339214325, -0.11708185821771622, 0.4770183265209198, -0.4235462546348572, -0.8361758589744568, -0.21548177301883698, 0.8383198976516724, 0.209135502576828, 1.018507957458496, 0.08292905986309052, 0.2478458434343338, -0.1264551728963852, -0.7356823086738586, -0.34111058712005615, -0.6058278679847717, -0.48444128036499023, 0.18082483112812042, 0.8058693408966064, 0.31645989418029785, 0.6776822805404663, 0.6102687120437622, 0.3850353956222534, 0.23766376078128815, 0.12374533712863922, 0.19940052926540375, -0.4457819163799286, 0.02655460499227047, -0.03881317004561424, -0.2859652638435364, -0.3372426927089691, -0.1991889774799347, 0.8990055918693542, 0.6353726983070374, -0.05035490542650223, 0.14967234432697296, -0.11619263887405396, 0.6693252921104431, -0.5754556059837341, 0.06052924692630768, -0.45449772477149963, 0.3210015594959259, -0.2182403802871704, -0.20225286483764648, -0.3750465512275696, -0.8262054324150085, -0.30124691128730774, -0.48951637744903564, -0.0658259317278862, 0.043366312980651855, 0.4850122332572937, 0.21159179508686066, -0.5279613733291626, -0.16757287085056305, -0.3488121032714844, 1.0549513101577759, -0.5418329834938049, 0.724963366985321, 0.36106517910957336, 0.3853150010108948, -0.006297066807746887, -0.6488471031188965, -0.325577050447464, -0.3816084861755371, 0.3095991909503937, -0.0730196088552475, -0.533908486366272, -0.2273150384426117, 0.45622509717941284, 0.24823760986328125, -0.9761083722114563, 0.14712980389595032, -0.31425338983535767, -0.5240569114685059, 0.570618748664856, 0.18522489070892334, 0.4513150453567505, -0.14562636613845825, -0.20886112749576569, -0.1407819390296936, -0.8099957704544067, 0.369232714176178, 0.6456922292709351, 0.43459779024124146, -0.358807772397995, 0.3424047827720642, -0.1803845912218094, 0.6931343674659729, -0.264132559299469, -0.07321880012750626, 0.610350489616394, -0.5800300240516663, 0.04086950793862343, -0.06082049384713173, 0.9796196818351746, 0.547465443611145, 0.2536506652832031, -0.13736602663993835, -0.2693317234516144, 0.11973202973604202, 0.15838080644607544, -0.898651123046875, 0.08108855038881302, 0.13383682072162628, -0.3539368808269501, -0.2050458788871765, -0.34040567278862, -0.8260513544082642, -0.18067342042922974, -0.1948343813419342, -0.08237531781196594, -0.21633057296276093, -0.19399280846118927, 0.24340732395648956, 0.20253166556358337, 0.42462778091430664, 0.051693134009838104, -0.5327857136726379, 0.06435316056013107, 0.6272326707839966, 0.549297571182251, -0.06442049145698547, -0.35828179121017456, -1.3506664037704468, -0.2950682044029236, -0.5818716883659363, 0.7938382029533386, -0.9087206721305847, -0.32899734377861023, 0.24492061138153076, 0.14444655179977417, 0.27264976501464844, -0.5786296725273132, 0.8357070684432983, -0.5147904753684998, 0.09941547363996506, -0.6029847860336304, -0.26119762659072876, -0.01805456541478634, 0.3719031512737274, -0.7319366335868835, 1.1183674335479736, 0.0014567392645403743, -0.9192355871200562, 0.4183666706085205, -0.5005134344100952, -0.3040623068809509, 0.28068310022354126, -0.5981477499008179, -0.46359628438949585, -0.17371438443660736, 0.19631320238113403, 0.28672149777412415, -0.5852415561676025, 0.482702374458313, -0.48757946491241455, -0.14573660492897034, -0.07617482542991638, -0.2973267734050751, 0.8661986589431763, 0.31086811423301697, -0.28494027256965637, 0.2809631824493408, -0.7596625685691833, 0.15283708274364471, 0.03498001769185066, -0.5748026371002197, -0.4223681390285492, -0.3504292964935303, 0.16727802157402039, 0.3137394189834595, 0.15237613022327423, -0.7308233380317688, 0.2790467441082001, -0.25131481885910034, 0.19776490330696106, 0.5638816356658936, -0.18994642794132233, 0.32821980118751526, -0.19024698436260223, 0.7839975953102112, -0.24833425879478455, 0.11556211113929749, -0.27714648842811584, -0.631533145904541, -0.24278967082500458, -0.21963052451610565, 0.2506360411643982, 0.5548149347305298, -0.7811971306800842, 0.29897341132164, -0.1364874690771103, -0.3723103106021881, -0.45278823375701904, 0.30768483877182007, 0.5880964994430542, 0.3174084424972534, 0.28450071811676025, -0.035033103078603745, -0.6031545400619507, -1.103248119354248, -0.3005272150039673, 0.08636850863695145, -0.16987191140651703, 0.24060890078544617, 0.4022630453109741, -0.7517693042755127, 0.7263630628585815, 0.03155073896050453, 0.08233610540628433, -0.29306986927986145, 0.30992817878723145, 0.25413185358047485, 0.4664275646209717, 0.7670331597328186, -0.6139087080955505, -0.4931624233722687, 0.2789768576622009, -0.8035102486610413, -0.3627242147922516, -0.12875422835350037, -0.24386516213417053, 0.4597657322883606, 0.4837680160999298, -0.0711544081568718, 0.14560885727405548, 0.8956264853477478, -0.09679284691810608, 0.7947366833686829, -0.37520459294319153, 0.22265338897705078, -1.0050482749938965, 0.40380895137786865, -0.10759013146162033, -0.17225107550621033, -0.3880305290222168, 0.26597246527671814, 0.4843147397041321, -0.2053801417350769, -0.41020941734313965, 0.5871607661247253, -0.49248045682907104, -0.27376601099967957, 0.06570848822593689, 0.031697943806648254, 0.06111852079629898, 0.5003305673599243, -0.03898739069700241, 0.9901319146156311, 0.6821177005767822, -0.45151349902153015, 0.6296706795692444, 0.1232515498995781, -0.13802243769168854, 0.6554852724075317, -0.763388454914093, 0.12706713378429413, 0.0241822749376297, 0.2517298758029938, -0.5163131356239319, -0.08377747237682343, 0.015954891219735146, -0.2767501771450043, -0.0495816245675087, -0.15692271292209625, -0.5769477486610413, -0.49815765023231506, -0.5416533946990967, 0.7103189826011658, 0.43205124139785767, -0.49176687002182007, 0.3659467399120331, 0.2974606156349182, -0.4426174461841583, -0.7788735032081604, -0.4561023414134979, 0.37119385600090027, -0.1382436901330948, -0.6151753664016724, -0.08656035363674164, -0.5041128993034363, -0.2492988109588623, -0.30095401406288147, 0.1440325230360031, -0.0419873483479023, -0.1805417686700821, -0.12278483062982559, 0.11987744271755219, -0.40265628695487976, 0.1040632352232933, 0.3608957529067993, -0.20805896818637848, 0.2897941768169403, -0.4266541004180908, 0.39077433943748474, -0.5769270658493042, -0.3822549283504486, -0.0011935216607525945, 0.6367174386978149, 0.657077968120575, -0.6454813480377197, 0.31639590859413147, 0.802291214466095, -0.38423123955726624, -0.23437799513339996, -0.5484610199928284, 0.18363817036151886, -0.416591614484787, 0.3601575493812561, -0.39302322268486023, -0.9359632134437561, 0.7223870158195496, -0.07629097998142242, 0.45169028639793396, 0.2960089147090912, 0.6675688028335571, 0.5737887620925903, 1.1547811031341553, 0.7520537972450256, -0.1396132856607437, -0.04807307571172714, 0.01594218611717224, -0.05635702610015869, -0.567489743232727, -0.12042931467294693, -0.7900599241256714, 0.07594500482082367, -0.7873022556304932, -0.6371836066246033, 0.4363531172275543, 0.03746689110994339, -0.2291298806667328, 0.33579617738723755, -0.38252121210098267, 0.5147424936294556, 0.5003059506416321, -0.29423093795776367, 0.3493116497993469, 0.030724845826625824, -0.8053456544876099, -0.25367605686187744, -0.6921244263648987, -0.5094797611236572, 1.1213669776916504, 0.29595237970352173, 0.5643422603607178, 0.06088755279779434, 0.8244367837905884, 0.3414230942726135, 0.3229977786540985, -0.5132247805595398, 0.3696736991405487, 0.008398463949561119, -0.2838246524333954, -0.2097417116165161, -0.8017765879631042, -1.2193349599838257, 0.12488588690757751, -0.13802464306354523, -0.32284194231033325, 0.07191888988018036, -0.1156497374176979, -0.5185103416442871, 0.30929046869277954, -0.3140813112258911, 1.0982767343521118, -0.4102509021759033, -0.6839802265167236, -0.17452372610569, -0.6691911220550537, 0.24442794919013977, -0.587116539478302, 0.5272517204284668, -0.14434392750263214, -0.10387256741523743, 0.623737096786499, -0.3548828363418579, 0.718701183795929, -0.08511579036712646, -0.6450693011283875, 0.08507504314184189, 0.09799192100763321, 0.4835602939128876, 0.44483375549316406, -0.2933758795261383, 0.23651519417762756, -0.2115810066461563, -0.613516092300415, -0.10999104380607605, 0.6696363687515259, -0.5539491176605225, -0.1020989641547203, -0.20017069578170776, -0.6291855573654175, -0.3232128322124481, 0.33751484751701355, 0.34582415223121643, 0.8948674201965332, -0.27857261896133423, 0.20347648859024048, 0.7818987965583801, -1.069206953048706, 0.42478257417678833, 0.618433952331543, -0.33307379484176636, -0.6708983182907104, 0.9298170804977417, -0.2638344168663025, -0.04021194577217102, 0.447910338640213, 0.2924489974975586, -0.5051466822624207, -0.2780803143978119, -0.7966524958610535, 0.21176031231880188, -0.6171721816062927, -0.49393537640571594, -0.766086757183075, 0.23488600552082062, -0.3559531569480896, -0.3957190215587616, -0.3605004549026489, 0.18044117093086243, 0.20536059141159058, 0.015473448671400547, 0.29054540395736694, 0.8102235794067383, -0.4468856155872345, -0.5853476524353027, -1.3414212465286255, 0.47873663902282715, 0.36305108666419983, 0.5447657108306885, -0.31208014488220215, -0.2514764070510864, -0.2158041149377823, 0.21745052933692932, -0.0700620636343956, -0.6308273077011108, 0.393874853849411, 0.13521833717823029, 0.8377748727798462, 0.40625235438346863, 0.47405806183815, 0.4979657828807831, -0.6758954524993896, 0.5539101958274841, 0.41428375244140625, -0.851674497127533, 0.29857978224754333, -0.6923893094062805, 0.3765626549720764, 0.42801791429519653, 0.4609913229942322, -0.7901264429092407, -0.6650646924972534, -0.3569355309009552, -0.660315752029419, 0.48784926533699036, 0.1074656993150711, 0.20110666751861572, -0.1898273229598999, -0.1810598224401474, 0.5415555238723755, 0.15240250527858734, -0.8579726219177246, -0.06322824209928513, -0.058881282806396484, 0.1440979689359665, -0.03806234151124954, -0.23159851133823395, -0.06790038198232651, -0.20842500030994415, 0.17880471050739288, -0.3396286070346832, 0.1314544826745987, 0.01788058876991272, -0.1236405074596405, -0.23126013576984406, 0.4014836549758911, 0.8773451447486877, 0.5219932198524475, -0.12695974111557007, 0.018661683425307274, 0.23100756108760834, -0.34099504351615906, -0.04670625925064087, 0.18427962064743042, 0.08210887014865875, 0.09138675034046173, 0.4364762306213379, 0.6173420548439026, 0.33983519673347473, -0.9228588342666626, 0.5093898773193359, -0.34239229559898376, -0.21443511545658112, 0.0050192223861813545, -0.4398830235004425, -0.03933849185705185, 0.11561781167984009, 0.42737776041030884, 0.15229378640651703, 0.17728355526924133, -0.36077502369880676, 0.5132704377174377, 0.23424001038074493, -0.12603269517421722, -0.41944757103919983, 0.8055030107498169, 0.6508702635765076, -0.06015969067811966, 0.49718913435935974, -0.5645864009857178, -0.5299071669578552, 0.6417558193206787, 0.3672299385070801, 0.9875554442405701, -0.17904755473136902, 0.2925136387348175, 0.7541214227676392, 0.4445110857486725, 0.16886718571186066, 0.45785292983055115, -0.24631136655807495, -0.4648348391056061, -0.7232578992843628, -0.7261914014816284, -0.5097050666809082, -0.05645213648676872, -0.8025771379470825, 0.13354502618312836, -0.15263745188713074, 0.0687803402543068, -0.26266399025917053, 0.012653004378080368, -0.5927661061286926, -0.19255486130714417, 0.4708974063396454, 1.0227437019348145, -0.7804341912269592, 0.718423068523407, 0.8822349905967712, -0.29619041085243225, -0.6398341655731201, -0.23394392430782318, -0.21524657309055328, -0.7221704125404358, 0.7096843719482422, 0.31989848613739014, -0.16319407522678375, -0.24619121849536896, -0.5063298344612122, -0.4626177251338959, 0.5074618458747864, 0.6915526986122131, -0.6992173790931702, 0.26534149050712585, 0.4777943193912506, 0.5846471190452576, -0.2193189561367035, 0.17880061268806458, 0.302145391702652, 0.685351550579071, -0.2719518542289734, -1.0043871402740479, -0.04064568504691124, -0.6254775524139404, 0.0032318474259227514, 0.1444164514541626, -0.34689727425575256, 0.7710778117179871, -0.4498060345649719, -0.11757519096136093, 0.001340921618975699, 0.40038833022117615, 0.4506273567676544, 0.34014683961868286, 0.32889145612716675, 0.4919298589229584, 0.8724495768547058, 0.06411571800708771, 1.0973972082138062, -0.5600384473800659, 0.270681768655777, 0.7066159248352051, -0.6598618030548096, 0.6548371315002441, 0.12531909346580505, -0.13513337075710297, 0.28729429841041565, 0.46236443519592285, 0.040311381220817566, 0.19376936554908752, 0.29120466113090515, -0.2841552197933197, -0.4170863926410675, -0.20222091674804688, -0.8228054642677307, 0.1806906908750534, 0.10842400789260864, 0.08002348989248276, -0.5194129347801208, 0.2395579218864441, 0.10931715369224548, 0.2386290282011032, -0.26943764090538025, 0.6191257238388062, -0.15912611782550812, -0.647301435470581, 1.1031073331832886, 0.06634584814310074, 0.8583064079284668, -0.7604038715362549, -0.1743309050798416, -0.6065875291824341, -0.028016258031129837, -0.07067710161209106, -0.6746466755867004, 0.3070662319660187, 0.4484044909477234, 0.014966627582907677, -0.4905729293823242, 0.25789645314216614, -0.41492852568626404, -0.5258691310882568, 0.6922522783279419, 0.4576994478702545, 0.0767650231719017, -0.007693388964980841, -0.7643020153045654, 0.38425856828689575, 0.2821459174156189, -0.05688038840889931, 0.33325785398483276, 0.7986258268356323, -0.2277960330247879, 0.5974206924438477, 0.8738741278648376, -0.20575979351997375, 0.2404588758945465, 0.16526755690574646, 0.9354488253593445, -0.670560359954834, -0.4586130380630493, -0.5672059655189514, 0.2988077402114868, 0.1502324938774109, -0.5465951561927795, 0.7911439538002014, 0.8888501524925232, 0.9555051326751709, -0.2897472083568573, 0.8229081630706787, 0.11372344940900803, 0.27920466661453247, -0.33606043457984924, 0.6451196670532227, -0.6705252528190613, 0.14666767418384552, -0.36255893111228943, -0.9172961711883545, -0.4993848502635956, 0.3811301290988922, -0.20713868737220764, -0.1441991627216339, 0.5883775949478149, 0.7732267379760742, 0.16292773187160492, -0.06961625069379807, 0.649276077747345, -0.044725120067596436, 0.10478914529085159, 0.6824166178703308, 0.8676495552062988, -0.24650493264198303, 0.9039506316184998, -0.15482352674007416, -0.27078959345817566, -0.05240705981850624, -0.962242066860199, -0.8006125688552856, -0.36976227164268494, -0.3008697032928467, -0.09567208588123322, -0.023858454078435898, 1.0216790437698364, 0.4371837377548218, -0.9201973676681519, -0.35737329721450806, -0.10161346197128296, 0.09525740146636963, -0.09485341608524323, -0.13032659888267517, 0.10460731387138367, -0.575912594795227, -0.859142541885376, 0.3606456518173218, 0.502553403377533, -0.3034282922744751, -0.1469375193119049, -0.4751737713813782, 0.07516702264547348, 0.035922445356845856, 0.6609593033790588, 0.6322629451751709, -0.5714329481124878, 0.07696675509214401, 0.19257275760173798, -0.44599875807762146, 0.06087309867143631, 0.8122566342353821, -0.723939061164856, 0.4682059586048126, 0.41622206568717957, 0.8706347942352295, -0.19884668290615082, -0.2548421025276184, 0.7577523589134216, -0.7799726128578186, 0.18173518776893616, 0.31806454062461853, 0.4548380970954895, 0.28592967987060547, -0.0627763494849205, 0.47329139709472656, 0.10958575457334518, -0.5287860035896301, -0.9608485102653503, 0.25615039467811584, -0.9371967911720276, 0.04498342052102089, 1.2799588441848755, -0.20683467388153076, -0.10403182357549667, -0.20474909245967865, -0.21413831412792206, -0.024520771577954292, -0.5689530968666077, 0.3269509971141815, 0.17099697887897491, 0.31981587409973145, 0.004726385697722435, -0.5559995770454407, 0.3994434177875519, 0.4532802999019623, -0.9044816493988037, 0.3386090099811554, 0.7682927846908569, 0.12411749362945557, 0.09856735914945602, 0.5249500274658203, -0.2796611487865448, 0.621107816696167, 0.044281575828790665, 0.48715341091156006, 0.04226607456803322, -0.2694929838180542, -0.5352184176445007, 0.021624645218253136, -0.1705414354801178, 0.01792653650045395 ]
http://arxiv.org/abs/2402.16689v1
http://arxiv.org/pdf/2402.16689v1
Adaptation of Biomedical and Clinical Pretrained Models to French Long Documents: A Comparative Study
2024-02-26T16:05:33
2024-02-26T16:05:33
Adrien Bazoge, Emmanuel Morin, Beatrice Daille, Pierre-Antoine Gourraud
cs.CL
cs.CL, cs.AI
Recently, pretrained language models based on BERT have been introduced for the French biomedical domain. Although these models have achieved state-of-the-art results on biomedical and clinical NLP tasks, they are constrained by a limited input sequence length of 512 tokens, which poses challenges when applied to clinical notes. In this paper, we present a comparative study of three adaptation strategies for long-sequence models, leveraging the Longformer architecture. We conducted evaluations of these models on 16 downstream tasks spanning both biomedical and clinical domains. Our findings reveal that further pre-training an English clinical model with French biomedical texts can outperform both converting a French biomedical BERT to the Longformer architecture and pre-training a French biomedical Longformer from scratch. The results underscore that long-sequence French biomedical models improve performance across most downstream tasks regardless of sequence length, but BERT based models remain the most efficient for named entity recognition tasks.
[ -0.0625736266374588, -0.388820618391037, 1.0026206970214844, 0.3472501337528229, -0.17335723340511322, -0.08449544757604599, -0.3217950761318207, -0.9237640500068665, 0.15573303401470184, 0.6849855780601501, -0.35448575019836426, -0.3690595030784607, -0.8347455859184265, 0.4070686101913452, -0.09708679467439651, 1.1285291910171509, -0.20452044904232025, 0.41928985714912415, -0.36261314153671265, -0.11864300817251205, -0.33588719367980957, -0.8120786547660828, -0.7849602103233337, -0.27934154868125916, 0.9310080409049988, -0.35013264417648315, 0.278609037399292, 0.29640471935272217, 0.9126120209693909, 0.30154743790626526, 0.13696233928203583, -0.041102174669504166, -0.4670238792896271, -0.0680944100022316, -0.3901025056838989, -0.370632141828537, -0.7536365985870361, -0.4577295184135437, 0.6627728343009949, 0.7453413009643555, 0.2575521171092987, -0.2057846188545227, 0.0857388898730278, 0.8340332508087158, -0.4314127564430237, 0.10231354087591171, -0.1303693801164627, -0.2352641224861145, -0.12802831828594208, -0.1271032840013504, -0.6261016726493835, -0.10498996078968048, 0.5420506596565247, -0.6635849475860596, 0.26539042592048645, -0.2847592830657959, 0.7626906633377075, 0.07073754817247391, -0.29993778467178345, -0.4844229817390442, -0.6942344307899475, 0.6229899525642395, -0.8257367014884949, 0.7136852741241455, 0.2951052188873291, 0.19772465527057648, -0.3490549325942993, -1.0453168153762817, -0.13265736401081085, -0.33501121401786804, -0.04415207728743553, 0.17192623019218445, -0.22907088696956635, 0.2899526357650757, 0.2165052741765976, -0.2019163817167282, -0.7417200803756714, 0.5711519122123718, -0.7208840250968933, -0.15268096327781677, 0.6162765622138977, -0.4193635880947113, 0.07219310104846954, -0.10891775041818619, -0.41259413957595825, -0.18746517598628998, -0.6208153367042542, 0.06009211391210556, -0.13960450887680054, 0.27537456154823303, -0.046368155628442764, 0.28215718269348145, 0.06818468123674393, 0.5372762680053711, -0.03645889833569527, -0.04940352588891983, 0.3366072177886963, -0.10245631635189056, -0.2639314830303192, 0.07735496759414673, 0.7013619542121887, 0.06627730280160904, 0.43055155873298645, -0.2727186381816864, -0.23196770250797272, -0.16845786571502686, 0.6213632225990295, -0.8449220061302185, -0.23833391070365906, 0.3471141755580902, -0.7269797921180725, 0.12752924859523773, -0.34869569540023804, -0.6091247797012329, -0.2029067426919937, -0.3136477470397949, 0.6475830674171448, -0.6840801239013672, 0.4178612530231476, 0.4837349057197571, -0.04053708165884018, 0.2748601734638214, 0.6310765743255615, -0.7222947478294373, 0.5479486584663391, 0.5419221520423889, 0.8351898789405823, -0.4420362114906311, -0.0876375138759613, -0.45468366146087646, 0.004306468181312084, -0.10527846962213516, 0.7753975987434387, -0.20436522364616394, -0.7066048979759216, -0.03925143927335739, 0.4206632375717163, -0.38288724422454834, -0.48179614543914795, 0.6915628910064697, -0.5339304208755493, 0.21721892058849335, -0.16089408099651337, -0.7112056016921997, 0.05390579625964165, -0.14758096635341644, -0.7433850169181824, 0.6335556507110596, 0.26651909947395325, -0.46508777141571045, 0.32994550466537476, -1.0155627727508545, -0.6636338829994202, 0.09509596228599548, -0.0804843083024025, -0.5234044790267944, 0.2308938205242157, 0.38735082745552063, 0.7106491327285767, -0.19954636693000793, 0.21360313892364502, -0.3809494376182556, -0.21714848279953003, 0.11579880118370056, -0.08172748237848282, 0.7115110754966736, -0.0030963749159127474, -0.10908038169145584, 0.09761546552181244, -0.9368551969528198, -0.15094448626041412, 0.13692091405391693, -0.23283907771110535, -0.40498489141464233, 0.1523706465959549, 0.2187555730342865, 0.1554933339357376, -0.1123262345790863, -0.6225804090499878, 0.23790481686592102, -0.4357655346393585, 0.7815148234367371, 0.450320303440094, -0.06513029336929321, 0.30988848209381104, -0.44626036286354065, 0.39777010679244995, -0.07224726676940918, 0.002608978422358632, -0.1853218823671341, -0.1842886209487915, -0.5723176598548889, -0.6701196432113647, 0.6400251984596252, 0.7146041989326477, -0.4514213502407074, 0.5484505295753479, -0.6488710045814514, -0.4101063311100006, -0.5402491092681885, -0.09535933285951614, 0.23571376502513885, 0.4737838804721832, 0.7592812180519104, -0.7560852766036987, -0.18493309617042542, -0.8801719546318054, -0.052995115518569946, -0.06452016532421112, -0.06482728570699692, 0.35661637783050537, 0.8413506746292114, -0.36417001485824585, 0.4505403935909271, -0.17264364659786224, -0.14221321046352386, -0.1630956381559372, 0.09105955809354782, 0.361501544713974, 0.6744410991668701, 0.9076918959617615, -0.5068089962005615, -0.12119892984628677, -0.1069747731089592, -0.511760950088501, 0.12553825974464417, -0.30330246686935425, -0.08697851002216339, 0.024140911176800728, 0.6151614189147949, -0.6816210150718689, 0.6170789003372192, 0.4608035981655121, -0.0009739231318235397, 0.4407378137111664, -0.5378548502922058, -0.0017904540291056037, -1.124537467956543, 0.14487920701503754, -0.14948461949825287, -0.7055379748344421, -0.747146725654602, -0.2593890130519867, 0.28093430399894714, -0.22425386309623718, -0.4547947943210602, 0.7775929570198059, -0.5030418634414673, 0.16898927092552185, -0.11542478203773499, -0.2559727728366852, 0.21264733374118805, 0.1958920955657959, 0.5904351472854614, 0.4330920875072479, 0.5058140158653259, -0.6355200409889221, 0.10259123146533966, 0.446469247341156, -0.4844149947166443, 0.11098936200141907, -0.9083361625671387, 0.25919362902641296, -0.2723628878593445, 0.5563887357711792, -0.6849384307861328, -0.1524820625782013, -0.2044881135225296, -0.31107375025749207, 0.7303726077079773, -0.08982419222593307, -0.20640069246292114, -0.6149685978889465, -0.024454686790704727, 0.4867943823337555, 0.7156746983528137, -0.3459583818912506, 0.3027629554271698, -0.24489471316337585, -0.6865352988243103, -0.39590469002723694, -0.7682943344116211, -0.06247016787528992, -0.10114612430334091, -0.47616082429885864, 0.6270114183425903, 0.08898082375526428, 0.3382313549518585, -0.27490586042404175, 0.05478087067604065, -0.13714052736759186, 0.0597224235534668, 0.16647198796272278, 0.34885329008102417, -0.6355875730514526, 0.49720823764801025, 0.12980355322360992, 0.08113345503807068, 0.037336792796850204, -0.40010878443717957, 0.23637208342552185, 0.36443114280700684, -0.48404476046562195, -0.4369890093803406, 0.6217254400253296, 0.5902665853500366, -0.3544727861881256, 0.8969544172286987, 0.36057278513908386, -0.3886597454547882, -0.10372795164585114, -0.6218851804733276, -0.21344223618507385, -0.3917445242404938, 0.8338183164596558, -0.24748821556568146, -0.8648115396499634, 0.3286121189594269, -0.3478599190711975, -0.10300015658140182, 0.47099408507347107, 0.5071789622306824, -0.37553849816322327, 0.5474081635475159, 0.8412683606147766, 0.025898391380906105, 0.3624551296234131, -0.035019345581531525, 0.3093215525150299, -0.5701584219932556, 0.06643827259540558, -0.5988513231277466, -0.14142411947250366, -0.537541925907135, -0.6123148798942566, 0.37977418303489685, 0.15415246784687042, -0.15587417781352997, 0.2732667326927185, -0.2852350175380707, 0.06456796079874039, 0.27692773938179016, 0.5486935377120972, -0.09054555743932724, -0.08936525136232376, 0.08038868755102158, 0.10730352252721786, -0.7863116264343262, -0.6256440877914429, 1.2211096286773682, 0.5972005128860474, 0.5438452363014221, 0.0012788664316758513, 0.9880969524383545, 0.17101261019706726, 0.4593171179294586, -0.7441530227661133, 0.1099037453532219, -0.5207410454750061, -0.5273629426956177, -0.3143802583217621, -0.010315613821148872, -1.1067031621932983, -0.3469327986240387, -0.38068825006484985, -0.7120397090911865, 0.5605655312538147, 0.03915239870548248, -0.7207451462745667, 0.03201119229197502, -0.5056530237197876, 1.0977683067321777, -0.6137845516204834, -0.23863354325294495, 0.0822618305683136, -0.7925639748573303, -0.1699819713830948, -0.7316405773162842, 0.2557179629802704, 0.07697036117315292, 0.06309407204389572, 0.8330137133598328, -0.23766884207725525, 0.775793731212616, -0.08174238353967667, -0.006902812048792839, -0.06429876387119293, -0.25994327664375305, 0.4128909111022949, -0.03555479273200035, -0.12030938267707825, 0.15751709043979645, 0.41924965381622314, -0.7920309901237488, -0.4358021318912506, 0.37137842178344727, -0.9111291170120239, -0.5770358443260193, -0.3686460852622986, -0.2974949777126312, -0.4436822533607483, 0.44261977076530457, 0.5479414463043213, 0.623423159122467, -0.6314705014228821, 0.16982296109199524, 0.5817123651504517, -0.6161906123161316, 0.44183462858200073, 0.4531105160713196, -0.05014467611908913, -0.10043314099311829, 0.28274115920066833, -0.28468865156173706, 0.4541494846343994, 0.7418983578681946, -0.1795620620250702, -0.3392811119556427, -1.0015980005264282, -0.2532297372817993, 0.6379151344299316, -0.5765083432197571, 0.015954531729221344, -0.724132239818573, -0.4342103898525238, -0.7549030184745789, -0.40666645765304565, -0.40969130396842957, -0.333679735660553, -0.4661281108856201, 0.09424281120300293, 0.31068155169487, 0.5697418451309204, 0.10389240086078644, 0.29401007294654846, -1.2934517860412598, 0.30597299337387085, 0.16745933890342712, 0.30209678411483765, -0.4151986837387085, -0.6704708337783813, -0.2963002324104309, -0.11472877860069275, -0.015137054026126862, -0.9634777903556824, 0.29185229539871216, 0.488543301820755, 0.45607247948646545, 0.2123371809720993, -0.26515939831733704, 0.7232204079627991, -1.10015070438385, 0.46974608302116394, 0.17524965107440948, -0.6930014491081238, 0.5507716536521912, -0.26351094245910645, 0.1660064309835434, 0.6540284752845764, 0.8507869839668274, -0.16377006471157074, 0.19943967461585999, -0.3243728578090668, -0.6200277209281921, 0.334348201751709, 0.09733618050813675, 0.18272235989570618, -0.04880722612142563, 0.6189925670623779, 0.36588332056999207, -0.09432747960090637, -0.5854795575141907, 0.269265741109848, -0.038465727120637894, -0.3009192943572998, -0.5802709460258484, -0.2017204612493515, -0.10492132604122162, -0.18832682073116302, 0.4383440613746643, -0.08497519791126251, 0.6795515418052673, 0.8442780375480652, -0.38322633504867554, 0.34941962361335754, 0.4317249059677124, 0.6116635799407959, 0.7950034141540527, -0.3034719228744507, -0.4686656892299652, 0.033281609416007996, -0.5863255262374878, 0.03758646920323372, 0.63128662109375, 0.2165217250585556, 0.28686654567718506, 0.9589008688926697, 1.0580980777740479, 0.2821241617202759, -0.7114065289497375, 0.550963819026947, 0.10907130688428879, -0.32311221957206726, -0.16662226617336273, -0.20916081964969635, 0.13264617323875427, 0.1985383778810501, -0.19977401196956635, -0.06596726179122925, 0.12569473683834076, -0.49300622940063477, 0.25812554359436035, 0.1466369479894638, -0.39402103424072266, -0.3615714907646179, 0.7152323126792908, 0.30989688634872437, -0.1812625676393509, 0.5553404688835144, 0.367921382188797, -0.27548182010650635, 0.5096734762191772, 0.7291570901870728, 0.789452850818634, -0.256515771150589, -0.035260848701000214, 0.14697769284248352, -0.0803394764661789, -0.2786619961261749, 0.09932255744934082, -0.029754988849163055, -0.6033097505569458, -0.7415462732315063, -0.8442933559417725, -0.0723995566368103, 0.17405292391777039, -0.9139400720596313, 0.4309987723827362, -0.27723562717437744, -0.4355196952819824, 0.5572076439857483, -0.3498312532901764, -1.0110405683517456, 0.38855689764022827, 0.3422568142414093, 1.217401385307312, -0.5911267399787903, 1.1366842985153198, 0.7975449562072754, -0.07190641015768051, -0.3977471590042114, -0.47541844844818115, -0.3904935419559479, -0.8016971945762634, 0.8669077754020691, -0.002682776190340519, 0.2024117112159729, -0.12022162973880768, -0.1371283233165741, -0.722528338432312, 0.799212634563446, 0.11471062898635864, -1.0434234142303467, -0.6516495943069458, 0.2307998090982437, 0.8197004199028015, -0.2729644179344177, 0.032898351550102234, 0.4048766493797302, 0.08590979129076004, -0.24591614305973053, -1.4065577983856201, -0.19590073823928833, -0.1349303275346756, -0.18418852984905243, 0.24269703030586243, -0.324622243642807, 0.44032204151153564, -0.2970229983329773, 0.21027922630310059, 0.5354130268096924, 0.5436252951622009, 0.07241221517324448, 0.2634448707103729, 0.30991655588150024, 0.22000128030776978, 0.7021182179450989, 0.07532509416341782, 1.1378518342971802, -0.2791459858417511, 0.1004081517457962, 1.0425735712051392, -0.6207954287528992, 0.9427194595336914, 0.30517780780792236, -0.4410492181777954, 0.6973457932472229, 0.5342870354652405, 0.07855115830898285, 0.4870850741863251, 0.23491884768009186, -0.17982858419418335, -0.19088047742843628, 0.30055108666419983, -0.5440331697463989, 0.5059905052185059, 0.48813581466674805, -0.7441453337669373, 0.09755181521177292, 0.3311513662338257, 0.011115441098809242, -0.12184902280569077, -0.35448071360588074, 0.836227297782898, 0.40001899003982544, -0.6328200697898865, 0.6047260761260986, -0.16596128046512604, 0.2734087407588959, -0.8487259745597839, 0.15795032680034637, 0.1141190305352211, 0.3965910077095032, 0.10040219873189926, -0.17840883135795593, -0.07340801507234573, 0.0016822207253426313, -0.29697173833847046, -0.2542308568954468, 0.8779929280281067, -0.09665759652853012, -0.7016087770462036, 0.4676724970340729, 0.5815370678901672, 0.09757525473833084, 0.0040756706148386, -0.7872380614280701, -0.25120657682418823, -0.26537925004959106, -0.21254976093769073, 0.45865634083747864, 0.38653260469436646, -0.28822678327560425, 0.368233323097229, 0.5511538982391357, 0.43005186319351196, 0.0343223474919796, 0.11277386546134949, 0.8076245784759521, -0.8783968687057495, -0.4648226201534271, -0.7125549912452698, 0.2525416910648346, 0.01159731112420559, -0.0897790938615799, 0.24032631516456604, 0.43882283568382263, 0.6265959143638611, -0.44419845938682556, 0.7470221519470215, 0.40572455525398254, 0.7467635273933411, -0.7395582795143127, 0.626914918422699, -0.529808521270752, -0.0691419243812561, -0.22765181958675385, -0.8133889436721802, -0.4045056700706482, 0.5137085318565369, -0.39690902829170227, 0.1280391812324524, 0.882307767868042, 0.434160977602005, -0.21597464382648468, -0.08021978288888931, 0.17563015222549438, 0.2706054747104645, 0.3942761719226837, 0.9668855667114258, 0.47573569416999817, -0.3118559718132019, -0.1959022730588913, -0.15476426482200623, -0.16858914494514465, -0.14334219694137573, -1.1176588535308838, -1.0739216804504395, -0.3708474040031433, -0.23104368150234222, -0.4120390713214874, 0.5009369850158691, 0.8787778615951538, 0.8330417275428772, -1.071774959564209, 0.15596088767051697, 0.26428094506263733, -0.5194823741912842, 0.05768582597374916, -0.061339233070611954, 0.8072225451469421, -0.2761199474334717, -0.523958146572113, 0.5185359716415405, 0.4701576232910156, 0.3449449837207794, 0.30965495109558105, 0.11715663969516754, -0.09118739515542984, 0.27306655049324036, 0.7270346283912659, 0.5728856921195984, -0.5683534741401672, -0.3057350218296051, 0.21186354756355286, -0.18853759765625, 0.23031990230083466, 0.9893388152122498, -0.8933553695678711, 0.5196980834007263, 0.2245168387889862, 0.902525782585144, 0.6444950699806213, -0.12447268515825272, 0.6832335591316223, -0.29301539063453674, 0.2661072611808777, 0.5830166339874268, 0.4656642973423004, 0.23763759434223175, -0.18448248505592346, 0.3814759850502014, 0.1039755716919899, -0.7929326891899109, -0.74327152967453, -0.06899304687976837, -1.2525688409805298, -0.3794713318347931, 0.8696196675300598, -0.37530362606048584, -0.24579006433486938, -0.08463679999113083, -0.11008752882480621, 0.34813544154167175, 0.08913722634315491, 0.619479238986969, 0.6458497643470764, -0.30900999903678894, 0.23812249302864075, -0.800980806350708, 0.7500287890434265, 0.5807241797447205, -0.8475961089134216, -0.42227602005004883, 0.1498962938785553, 0.21248047053813934, 0.09898710995912552, 0.8245556950569153, -0.3016110062599182, 0.4916350245475769, -0.44415193796157837, 0.10507982969284058, 0.3141368329524994, -0.24741055071353912, -0.40446004271507263, -0.28940728306770325, 0.01295259315520525, 0.11468949168920517 ]
http://arxiv.org/abs/2402.16671v6
http://arxiv.org/pdf/2402.16671v6
StructLM: Towards Building Generalist Models for Structured Knowledge Grounding
2024-02-26T15:47:01
2024-04-24T21:13:24
Alex Zhuang, Ge Zhang, Tianyu Zheng, Xinrun Du, Junjie Wang, Weiming Ren, Stephen W. Huang, Jie Fu, Xiang Yue, Wenhu Chen
cs.CL
cs.CL
Structured data sources, such as tables, graphs, and databases, are ubiquitous knowledge sources. Despite the demonstrated capabilities of large language models (LLMs) on plain text, their proficiency in interpreting and utilizing structured data remains limited. Our investigation reveals a notable deficiency in LLMs' ability to process structured data, e.g., ChatGPT lags behind state-of-the-art (SoTA) model by an average of 35%. To augment the Structured Knowledge Grounding (SKG) capabilities in LLMs, we have developed a comprehensive instruction tuning dataset comprising 1.1 million examples. Utilizing this dataset, we train a series of models, referred to as StructLM, based on the Mistral and the CodeLlama model family, ranging from 7B to 34B parameters. Our StructLM series surpasses task-specific models on 16 out of 18 evaluated datasets and establishes new SoTA performance on 8 SKG tasks. Furthermore, StructLM demonstrates strong generalization across 6 novel held-out SKG tasks, outperforming TableLlama by an average of 35\% and Flan-UL2 20B by an average of 10\%. Contrary to expectations, we observe that scaling model size offers marginal benefits, with StructLM-34B showing only slight improvements over StructLM-7B. This suggests that structured knowledge grounding is still a challenging task and requires more innovative design to push to a new level.
[ 0.0871153324842453, -1.048194408416748, 0.6412531137466431, 0.20610280334949493, -0.23083285987377167, 0.0493917390704155, -0.15662170946598053, -0.22232434153556824, -0.2636328637599945, 0.44628509879112244, -0.3583093583583832, -0.9787241816520691, -0.47617509961128235, -0.461916446685791, -0.3165043592453003, 1.1511152982711792, -0.025357555598020554, 0.23026160895824432, -0.4748859107494354, 0.052597496658563614, -0.6101167798042297, -0.7478090524673462, -0.3797314465045929, -0.48008662462234497, 0.17425905168056488, 0.37379908561706543, 0.6678370237350464, 0.9859344959259033, 0.33508431911468506, 0.14903973042964935, -0.285137414932251, 0.21505200862884521, -0.8019247651100159, -0.05416804179549217, -0.18062877655029297, -0.46581000089645386, -0.7219845056533813, -0.15777622163295746, 0.6315401196479797, 1.006035327911377, -0.460612952709198, 0.10219193994998932, 0.2544098198413849, 0.7762618064880371, -0.06413637101650238, 0.39858925342559814, -0.5470041036605835, 0.001794097595848143, -0.1078307256102562, -0.12296696752309799, -0.556979238986969, -0.29798784852027893, -0.13419167697429657, -0.6074000597000122, 0.3451487421989441, 0.2610943615436554, 0.7548665404319763, 0.4704868793487549, -0.4096614718437195, -0.3814588189125061, -0.5121628642082214, 0.5111322402954102, -0.7765564322471619, 0.6183270215988159, 0.3568083643913269, 0.13470710813999176, -0.6303671598434448, -0.9169183373451233, 0.1086629256606102, -0.47318223118782043, -0.03837144374847412, -0.08436625450849533, 0.21096743643283844, 0.41405391693115234, 0.5440592765808105, 0.4942593276500702, -0.6450884342193604, -0.001156270271167159, -0.6482029557228088, -0.009901399724185467, 0.5098337531089783, 0.34560829401016235, 0.2743166387081146, -0.026570336893200874, -0.4136849045753479, 0.19204306602478027, -0.9219760894775391, 0.25010108947753906, 0.31403443217277527, 0.20744745433330536, -0.12411957234144211, 0.4819996654987335, -0.27041107416152954, 0.9896275401115417, -0.05014108121395111, -0.0951230600476265, -0.0016199733363464475, -0.09661731868982315, -0.6298679113388062, -0.11984335631132126, 0.35706639289855957, 0.20068463683128357, 0.17378897964954376, -0.4113542139530182, 0.021439306437969208, 0.20279791951179504, 0.5029695630073547, -0.6920394897460938, -0.6476056575775146, -0.09693107008934021, -0.4481799304485321, -0.3742881119251251, 0.03667375445365906, -0.36381766200065613, -0.24109458923339844, -0.6193756461143494, 0.22090576589107513, -0.5341746211051941, -0.14659257233142853, 0.19220717251300812, -0.1779070943593979, 0.1178964152932167, 0.42940956354141235, -0.7716579437255859, 0.2289775013923645, 0.5855125188827515, 0.6775394678115845, -0.14068561792373657, -0.024468472227454185, -0.13869649171829224, 0.36978891491889954, -0.6244505643844604, 0.9284827709197998, -0.7689253687858582, -0.4681681990623474, -0.18963471055030823, -0.11300434917211533, -0.2662850618362427, -0.47065427899360657, 0.5229746103286743, -0.4465535581111908, 0.07486478239297867, -0.19932349026203156, -0.6348133087158203, -0.09529425948858261, 0.3127239942550659, -0.458173930644989, 1.3713963031768799, 0.37944892048835754, -0.7292235493659973, 0.42398375272750854, -0.49795278906822205, -0.4583124816417694, 0.11351848393678665, -0.6072529554367065, -0.07186444848775864, 0.4185206890106201, -0.13655531406402588, 0.4303900897502899, -0.34398236870765686, 0.7791171073913574, -0.3005101978778839, -0.6048589944839478, -0.3680834174156189, -0.05330142378807068, 0.49215006828308105, 0.2121960073709488, -0.2555752992630005, 0.31185731291770935, -0.9020153284072876, 0.3579704463481903, -0.12324544042348862, -0.9101430177688599, -0.3955298364162445, 0.37970104813575745, -0.2878064513206482, 0.22595317661762238, 0.15897783637046814, -0.012198329903185368, 0.6259345412254333, -0.48547741770744324, 0.5781233906745911, 0.8314096927642822, -0.1764860898256302, 0.4400576949119568, -0.2526875436306, 0.39080265164375305, 0.029911458492279053, -0.011775042861700058, 0.12138985097408295, -0.42137253284454346, -0.6682815551757812, -0.270364910364151, 0.14164958894252777, 0.3355743885040283, -0.6398589611053467, 0.1512589007616043, -0.4138454794883728, -0.5963221788406372, -0.3867568075656891, 0.2593021094799042, 0.4519365727901459, 0.7279078960418701, 0.5102158188819885, 0.1682092249393463, -0.6185972690582275, -1.104198932647705, -0.29580602049827576, -0.1804370880126953, -0.3509574234485626, 0.4059188663959503, 0.29911771416664124, -0.2536114454269409, 0.9822363257408142, -0.5151207447052002, -0.081502765417099, -0.1779637485742569, -0.030355121940374374, 0.4913099706172943, 0.4926716387271881, 0.2574467658996582, -0.7836554050445557, -0.38324442505836487, 0.01607474312186241, -1.041996955871582, -0.08593152463436127, 0.29554253816604614, -0.15295696258544922, 0.17779812216758728, 0.6507409811019897, -0.48266905546188354, 0.47631266713142395, 0.4401824176311493, -0.5518511533737183, 0.7464686632156372, -0.14233949780464172, 0.006260327994823456, -0.8935751914978027, -0.007700752466917038, -0.33920562267303467, -0.10197380185127258, -0.96771240234375, 0.2725220322608948, 0.3019464612007141, -0.049680184572935104, -0.3490299880504608, 0.2978399395942688, -0.42136815190315247, -0.007297031581401825, -0.0629652813076973, -0.21492907404899597, 0.006145245395600796, 0.7615545988082886, 0.046666912734508514, 0.7484614253044128, 0.4506010413169861, -0.7783617973327637, 0.10922204703092575, 0.18054373562335968, -0.39363938570022583, 0.3385690450668335, -0.9527361392974854, 0.27163660526275635, -0.054382048547267914, 0.11011853069067001, -0.9737393856048584, -0.21089300513267517, 0.1864393800497055, -0.20269836485385895, 0.35340195894241333, -0.4405834376811981, -0.39983898401260376, -0.23848167061805725, 0.007823792286217213, 0.16492651402950287, 0.40764957666397095, -0.3083850145339966, 0.8339362144470215, 0.2282497137784958, -0.1335453987121582, -0.3433133661746979, -0.5704011917114258, -0.016203653067350388, -0.21839582920074463, -1.039458155632019, 0.2938671112060547, -0.1752341389656067, -0.2505107522010803, 0.025794394314289093, -0.6899442076683044, -0.08274950832128525, 0.22845153510570526, 0.44942113757133484, 0.3431973159313202, -0.43293145298957825, 0.3633759319782257, -0.020643560215830803, 0.1331070065498352, 0.028520852327346802, -0.5958516597747803, 0.6342818737030029, -0.31447160243988037, -0.2540707290172577, 0.2029528170824051, 0.18524925410747528, 0.3470708727836609, 0.13459216058254242, 0.780512273311615, 0.10114962607622147, -0.36896607279777527, -0.43500351905822754, -0.4006804823875427, 0.059350062161684036, -0.48965197801589966, 0.39930057525634766, -0.5590877532958984, -1.0455048084259033, 0.37304627895355225, -0.0364866741001606, 0.0945342406630516, 0.3854106366634369, 0.4481298327445984, -0.22320953011512756, 0.9508978724479675, 0.7534245848655701, 0.05422213673591614, 0.29502514004707336, -0.2236257642507553, 0.11425603926181793, -0.6847490072250366, -0.4170414209365845, -0.4236162602901459, -0.2503027021884918, -0.22450006008148193, -0.4939749836921692, 0.24557900428771973, 0.5425116419792175, -0.2754432260990143, 0.16374917328357697, -0.6706129312515259, 0.3242246210575104, 0.49480822682380676, 0.20860934257507324, 0.3154968321323395, 0.20781210064888, -0.370735764503479, 0.07987307012081146, -1.0403857231140137, -0.7285263538360596, 1.1027816534042358, 0.3442884385585785, 1.0871285200119019, -0.25098681449890137, 0.2834576368331909, 0.4034731686115265, 0.3918869197368622, -0.6413040161132812, 0.4633893668651581, -0.12631690502166748, -0.5431281328201294, -0.24384324252605438, -0.6009877920150757, -0.46891331672668457, 0.2800541818141937, 0.139600932598114, -0.4851594567298889, 0.04601459205150604, 0.3093491196632385, -0.08259314298629761, 0.2684185802936554, -0.7437061071395874, 0.9127954244613647, -0.10901755839586258, -0.34370550513267517, -0.11037781089544296, -0.4983125627040863, 0.44437602162361145, 0.17536123096942902, 0.3395363688468933, -0.022093025967478752, 0.2640887498855591, 0.9572507739067078, -0.21964070200920105, 0.7586626410484314, -0.4790031611919403, -0.2936127781867981, 0.040960609912872314, -0.06048880144953728, 0.6895291209220886, -0.009525428526103497, -0.2110566347837448, 0.3990201950073242, -0.04300650954246521, -0.48863887786865234, -0.5506405830383301, 0.520326554775238, -0.7455599308013916, -0.869202196598053, -0.07850407063961029, -0.8603485822677612, -0.34099653363227844, 0.07741410285234451, 0.34735241532325745, 0.5407434105873108, -0.21596671640872955, 0.6017838716506958, 0.9310910105705261, 0.048822253942489624, -0.12431902438402176, 0.4866544306278229, 0.03984633460640907, -0.2697563171386719, 0.6345213055610657, 0.4357609748840332, 0.21587374806404114, 0.21156099438667297, 0.030220113694667816, -0.23818685114383698, -0.922065019607544, -0.3812909722328186, -0.08761337399482727, -0.7353214621543884, -0.29826778173446655, -0.6859560012817383, -0.3999142050743103, -0.5306743383407593, -0.3121284246444702, 0.0033402866683900356, -0.39803647994995117, -0.26270654797554016, -0.39482396841049194, 0.1007980927824974, 0.9808476567268372, 0.34144920110702515, 0.5170875787734985, -0.4876004755496979, 0.36760425567626953, 0.1760476976633072, 0.48551860451698303, -0.14471566677093506, -0.7218818664550781, -0.41636204719543457, 0.2633337378501892, -0.044186532497406006, -0.8046312928199768, 0.09041207283735275, 0.3212728202342987, 0.8386878967285156, 0.37139683961868286, -0.030129071325063705, 0.919909656047821, -0.7285202145576477, 0.5954809784889221, -0.1535545140504837, -0.7408645749092102, 0.6693361401557922, -0.6212719678878784, -0.14960193634033203, 0.4149852693080902, 0.18912935256958008, -0.44321438670158386, -0.49264946579933167, -0.7918952107429504, -0.9492702484130859, 0.7888060212135315, -0.08920912444591522, -0.14013879001140594, 0.15074940025806427, 0.5261489152908325, -0.056653935462236404, 0.463849276304245, -0.6495383977890015, -0.07754510641098022, -0.4334658086299896, -0.4189346134662628, 0.05223652347922325, -0.5390758514404297, -0.22763605415821075, -0.19173379242420197, 0.5202288627624512, -0.14238032698631287, 0.15198425948619843, 0.04748521000146866, -0.5248749852180481, 0.11246698349714279, 0.45285388827323914, 0.677362859249115, 0.8559798002243042, -0.29535719752311707, 0.3434355556964874, 0.3140823543071747, -0.4461139738559723, 0.23031672835350037, -0.1326376348733902, -0.36173638701438904, -0.283609539270401, 0.4231996536254883, 0.8536238670349121, 0.6629298329353333, -0.4053961932659149, 0.03257322311401367, 0.28787875175476074, -0.4757617712020874, -0.13046663999557495, 0.5312028527259827, 0.25939956307411194, 0.18196535110473633, 0.5472307801246643, -0.1458350270986557, -0.04867028445005417, -0.36210551857948303, 0.2312604784965515, 0.3243170380592346, -0.26627737283706665, -0.32236433029174805, 0.6522363424301147, -0.06621053069829941, -0.2711476981639862, 0.5308414697647095, 0.05904017388820648, -0.43376579880714417, 0.6401804089546204, 0.8510738611221313, 0.28413739800453186, -0.30279773473739624, 0.021790169179439545, 0.11945751309394836, 0.5524354577064514, -0.3192239999771118, 0.27094459533691406, -0.047906599938869476, -0.5007383227348328, -0.25543439388275146, -0.8927003145217896, -0.27513182163238525, 0.1475340723991394, -0.7657588124275208, 0.15423429012298584, -0.794359028339386, 0.22855204343795776, -0.4928770363330841, 0.22367292642593384, -0.7184164524078369, 0.27025142312049866, -0.24581551551818848, 1.2463232278823853, -0.987954318523407, 1.0774388313293457, 0.9712328314781189, -0.21754716336727142, -0.9808326363563538, -0.4598180055618286, -0.17876936495304108, -0.9206798672676086, 0.856228768825531, 0.10070434212684631, 0.08368147164583206, 0.353880375623703, -0.764885425567627, -0.7662073373794556, 1.155608892440796, 0.42167744040489197, -0.5629012584686279, -0.671018123626709, 0.11478473246097565, 0.5351118445396423, -0.5024573802947998, -0.16030541062355042, 0.6808503866195679, 0.4936540722846985, 0.16345739364624023, -0.4106588065624237, 0.08347634226083755, -0.45279398560523987, 0.13141405582427979, 0.05956554785370827, -0.36150676012039185, 0.9397742748260498, 0.1733630746603012, -0.44796136021614075, -0.31563085317611694, 0.5758731961250305, 0.6103259921073914, 0.22670510411262512, 0.35071638226509094, 0.8339380025863647, 0.9621022343635559, -0.14261065423488617, 0.8002322912216187, -0.24760718643665314, 0.09699900448322296, 1.2915239334106445, -0.23342755436897278, 0.6525086164474487, 0.3110067546367645, -0.1601783186197281, 0.7137588262557983, 0.6876650452613831, -0.1902776062488556, 0.43262866139411926, 0.27941152453422546, 0.14838813245296478, -0.4121045172214508, 0.19366104900836945, -0.6434361338615417, 0.04288255795836449, 0.6207078695297241, -0.24720260500907898, -0.2918028235435486, -0.09801699221134186, -0.007478018291294575, -0.02454967051744461, -0.5334600210189819, 0.7851821780204773, 0.07617311179637909, -0.31329038739204407, 0.6032364964485168, 0.028060195967555046, 0.4757396876811981, -0.8309240341186523, -0.12265080958604813, -0.38317063450813293, 0.015483573079109192, -0.34882137179374695, -0.3222561180591583, 0.32143524289131165, -0.0019219964742660522, -0.49824175238609314, -0.3087153136730194, 1.0571733713150024, -0.49971163272857666, -0.4295172691345215, 0.22183144092559814, 0.2753429710865021, 0.11978121101856232, -0.11008873581886292, -0.35940244793891907, 0.0008484172285534441, 0.06162805110216141, -0.30912309885025024, 0.34240642189979553, 0.42019185423851013, -0.2657289505004883, 0.6226879358291626, 0.8609680533409119, 0.2387406975030899, 0.16329358518123627, -0.15399372577667236, 1.213687777519226, -0.8856166005134583, -0.7062320709228516, -0.8521447777748108, 0.6439579725265503, -0.039528850466012955, 0.03967698663473129, 0.8934035897254944, 0.5794556140899658, 0.6699849367141724, -0.0515386238694191, 0.7969759702682495, -0.164112389087677, 0.3291099965572357, -0.8093938231468201, 0.7661015391349792, -0.3774177134037018, 0.2906951308250427, -0.024606261402368546, -0.8248622417449951, -0.10637935250997543, 0.7362744808197021, -0.4197193682193756, -0.18113140761852264, 0.6350314021110535, 0.7317056059837341, -0.07668333500623703, -0.03665829077363014, 0.5254731178283691, 0.4859512746334076, 0.5227789282798767, 0.6208108067512512, 1.0083922147750854, -0.24316376447677612, 0.5599770545959473, 0.3440006375312805, -0.3376678228378296, -0.40120983123779297, -0.7428767085075378, -1.2077126502990723, -0.24876901507377625, 0.050603028386831284, -0.19989550113677979, 0.21550209820270538, 0.6758838891983032, 0.8294321894645691, -0.7904371023178101, -0.1116437315940857, -0.28310132026672363, 0.31851890683174133, -0.08032295852899551, -0.23210270702838898, 0.45013949275016785, -0.6432557106018066, -0.1540461629629135, 0.8768547773361206, 0.27575942873954773, -0.028378954157233238, 0.010861232876777649, -0.16080957651138306, -0.015192694962024689, -0.07787226140499115, 0.6077325344085693, 0.038986895233392715, -0.5715066194534302, -0.4285881221294403, 0.12226111441850662, -0.32593220472335815, 0.16549229621887207, 0.9145715236663818, -0.7238379716873169, -0.15928667783737183, 0.4260790944099426, 0.4683927595615387, 0.37859654426574707, 0.2925947904586792, 0.6160932183265686, -0.9326739311218262, 0.11562933027744293, 0.10529863089323044, 0.3456544578075409, 0.0692686066031456, -0.38201791048049927, 0.7390908002853394, 0.39531373977661133, -0.6301522850990295, -1.0061397552490234, 0.19461767375469208, -0.5534974932670593, -0.3289548456668854, 1.1329128742218018, -0.14495933055877686, -0.2562867999076843, -0.3841278553009033, -0.155833438038826, 0.20802530646324158, -0.11613070219755173, 0.7838460206985474, 0.8275032639503479, 0.031989846378564835, 0.06884127110242844, -0.6661340594291687, 0.6392014622688293, 0.18384499847888947, -0.8829614520072937, 0.319317489862442, 0.7814577221870422, 0.49228039383888245, -0.06266192346811295, 0.8198699355125427, 0.07778111100196838, 0.08761412650346756, 0.07611829787492752, 0.10531572252511978, -0.7046557068824768, -0.7574856877326965, -0.1823691427707672, 0.5723809003829956, 0.04939700663089752, 0.2129829227924347 ]
http://arxiv.org/abs/2402.16667v1
http://arxiv.org/pdf/2402.16667v1
RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generation
2024-02-26T15:39:52
2024-02-26T15:39:52
Qinyu Luo, Yining Ye, Shihao Liang, Zhong Zhang, Yujia Qin, Yaxi Lu, Yesai Wu, Xin Cong, Yankai Lin, Yingli Zhang, Xiaoyin Che, Zhiyuan Liu, Maosong Sun
cs.CL
cs.CL, cs.AI, I.2.7; F.2.2
Generative models have demonstrated considerable potential in software engineering, particularly in tasks such as code generation and debugging. However, their utilization in the domain of code documentation generation remains underexplored. To this end, we introduce RepoAgent, a large language model powered open-source framework aimed at proactively generating, maintaining, and updating code documentation. Through both qualitative and quantitative evaluations, we have validated the effectiveness of our approach, showing that RepoAgent excels in generating high-quality repository-level documentation. The code and results are publicly accessible at https://github.com/OpenBMB/RepoAgent.
[ -0.19981910288333893, -0.4215724468231201, 0.4121721386909485, 0.2742112874984741, -0.16965800523757935, -0.03557533770799637, -0.11129726469516754, -0.2083510160446167, 0.20055551826953888, 0.7389764189720154, -0.588158905506134, -0.9045775532722473, -0.07658819854259491, 0.12683585286140442, -0.7361265420913696, 0.857524037361145, -0.11841912567615509, 0.05331452935934067, -0.3828909397125244, -0.17759642004966736, -0.2248740941286087, -0.2745141088962555, -0.31881824135780334, -0.27287018299102783, 0.30033403635025024, 0.4308810234069824, 0.5669769048690796, 0.5513511896133423, 0.5407934784889221, 0.2074383795261383, 0.34186244010925293, -0.07436330616474152, -0.5201326608657837, 0.7904075384140015, -0.2907756567001343, -0.6521860361099243, -0.42367735505104065, -0.0841369703412056, 0.4640052318572998, 0.33886945247650146, -0.5760162472724915, 0.3483249545097351, -0.03401585668325424, 0.7833567261695862, -0.6022085547447205, -0.014803344383835793, -0.515399694442749, -0.15266633033752441, -0.08225555717945099, -0.2704581618309021, -0.6143869161605835, -0.5996033549308777, -0.3226875364780426, -0.7829294800758362, 0.2531798481941223, -0.07650981843471527, 0.6756971478462219, 0.3221384584903717, 0.15154248476028442, -0.382005512714386, -0.35202890634536743, 0.690130889415741, -0.756193995475769, 0.42115750908851624, 0.2877996861934662, 0.27925345301628113, -0.40413254499435425, -1.2792668342590332, -0.31159740686416626, -0.7867115139961243, 0.0545271635055542, 0.14800500869750977, -0.3323845863342285, 0.05098594352602959, 0.05726735666394234, 0.7562885284423828, -0.6340674161911011, 0.19982320070266724, -0.20208291709423065, -0.24181286990642548, 0.35978618264198303, -0.033017657697200775, 0.6071725487709045, -0.09669508039951324, -0.30655044317245483, 0.07545969635248184, -1.129196047782898, -0.45393475890159607, 0.4343480169773102, 0.09128456562757492, -0.08332212269306183, 0.7922285795211792, 0.11855284124612808, 0.5971157550811768, -0.2820459008216858, 0.011848118156194687, -0.023168325424194336, -0.052331455051898956, -0.2078942507505417, 0.08983109891414642, 0.5784441232681274, 0.06195275858044624, -0.004455713089555502, -0.1885443776845932, -0.5460931658744812, -0.05611700937151909, 0.6628589034080505, -1.0037634372711182, -0.4144360423088074, 0.5710164308547974, -0.6754760146141052, -0.6781070828437805, 0.11185424029827118, -0.653225302696228, -0.5940827131271362, -0.1485140025615692, 0.010725878179073334, -0.48983049392700195, -0.48746299743652344, -0.2332482635974884, -0.24755153059959412, -0.06655760854482651, 0.23486630618572235, -0.5678159594535828, -0.3425312638282776, 0.8764814138412476, 0.8654767870903015, 0.20952586829662323, -0.36656761169433594, -0.5540865659713745, 0.19427666068077087, -0.5801512598991394, 0.6015738248825073, -0.48429998755455017, -0.6988279223442078, 0.22389884293079376, -0.07866505533456802, 0.40983062982559204, -0.441754013299942, -0.10076478868722916, -0.6394681930541992, 0.11722960323095322, 0.23135247826576233, -0.5847206711769104, 0.27344387769699097, 0.14743122458457947, -0.8959886431694031, 0.8174275159835815, 0.6999066472053528, -0.5665664076805115, 0.23706325888633728, -0.6095432043075562, -0.4027750492095947, 0.3263184428215027, -0.32080477476119995, -0.40168875455856323, 0.21667353808879852, -0.2649275064468384, -0.0348912812769413, -0.5161449909210205, 0.3680792450904846, -0.13757655024528503, -0.11440230906009674, 0.1649438440799713, -0.09644465148448944, 0.8281022906303406, 0.3587270975112915, -0.3144071698188782, 0.4042721688747406, -0.9825460314750671, -0.08760452270507812, 0.04787380248308182, -0.664610743522644, -0.2644460201263428, -0.22662079334259033, -0.25166499614715576, -0.10911957919597626, 0.40501222014427185, -0.5395044088363647, 0.5618245005607605, -0.30699729919433594, 0.594944953918457, 0.6746870279312134, 0.07469972223043442, 0.5703687071800232, -0.18633651733398438, 1.0294301509857178, -0.4181668162345886, 0.11990053951740265, -0.6972008943557739, -0.45771390199661255, -0.6292977333068848, -0.37580448389053345, 0.3864865303039551, 0.23717212677001953, -0.8974373936653137, 0.19090691208839417, -0.08467419445514679, -0.7596160173416138, -0.7623122930526733, 0.21047528088092804, 0.6964215040206909, 0.552944540977478, 0.2696495056152344, 0.006676194258034229, -0.6177861094474792, -0.6525613069534302, 0.010464316233992577, -0.4721561074256897, -0.23695600032806396, 0.20560312271118164, 0.48305028676986694, -0.47950172424316406, 0.8773380517959595, -0.43064576387405396, -0.22637955844402313, -0.23237812519073486, 0.5500541925430298, -0.03114010952413082, 0.5614594221115112, 0.6029155254364014, -0.6103089451789856, 0.13582928478717804, 0.12298461049795151, -0.8808122873306274, -0.35169801115989685, -0.07334014773368835, -0.40229663252830505, 0.5666758418083191, 0.6222264766693115, -0.6806532144546509, 0.24071379005908966, 0.8993402719497681, -0.07196547091007233, 0.6301078200340271, -0.4310361444950104, 0.2031390368938446, -1.3913745880126953, 0.3192599415779114, -0.2243114411830902, 0.003412450198084116, -0.24068859219551086, 0.6719740629196167, 0.1967054307460785, -0.5690778493881226, -0.2678036093711853, 0.3395902216434479, -0.5229026079177856, -0.2877750098705292, -0.2692249119281769, 0.2670721411705017, 0.16798993945121765, 0.07519714534282684, -0.10295162349939346, 1.0541189908981323, 0.3004172742366791, -0.48073330521583557, 0.4725474715232849, 0.06895874440670013, -0.32600879669189453, 0.38301604986190796, -0.664762020111084, 0.10588058084249496, 0.21279409527778625, 0.23004838824272156, -0.9841892123222351, -0.6032506227493286, -0.006461009383201599, -0.5139342546463013, 0.3835746645927429, -0.5232831239700317, -0.4290955066680908, -0.3667849898338318, -0.24045220017433167, 0.030254224315285683, 0.7262195348739624, -0.7280774712562561, 0.7064286470413208, 0.39269447326660156, -0.07852814346551895, -0.4510420858860016, -0.8938938975334167, -0.03510604053735733, 0.283025860786438, -0.7443934679031372, 0.3912522494792938, 0.30240580439567566, -0.4311893582344055, 0.10419066250324249, -0.13526587188243866, 0.06895634531974792, 0.13908270001411438, 0.6087216138839722, 0.2663131654262543, -0.4145044684410095, 0.4705115258693695, 0.03422924131155014, -0.2134966403245926, 0.022588564082980156, -0.6985387802124023, 0.7035324573516846, -0.21562150120735168, -0.6821427345275879, -0.10860814899206161, 0.1070258840918541, 0.7191328406333923, -0.410853773355484, 0.6141100525856018, 0.18204672634601593, -0.22150428593158722, -0.39951056241989136, -0.2953205108642578, -0.0761859118938446, -0.4598574638366699, 0.14762678742408752, -0.32286083698272705, -0.9237191081047058, 0.5801899433135986, -0.2486419975757599, 0.44897523522377014, 0.2335067242383957, 0.5361908674240112, 0.22712509334087372, 0.6762453317642212, 0.7118819952011108, 0.10070504993200302, 0.4878779351711273, -0.38745006918907166, 0.11804435402154922, -0.48566851019859314, -0.1593887060880661, -0.7250831723213196, 0.08783887326717377, -0.6627163887023926, -0.2843806743621826, 0.029464896768331528, 0.39556068181991577, -0.06962921470403671, 0.5732578039169312, -0.8327212333679199, 0.061192162334918976, 0.5968505144119263, -0.18500083684921265, 0.2511940002441406, -0.1263890117406845, -0.1374560296535492, 0.2576276659965515, -0.6266423463821411, -0.6565998792648315, 0.9545398950576782, 0.46414685249328613, 0.9901313781738281, 0.2135562151670456, 1.200416088104248, 0.46613532304763794, 0.8428799510002136, -0.4444424510002136, 0.5728971362113953, 0.013558020815253258, -0.4341767728328705, -0.33240556716918945, -0.4410168528556824, -1.0489517450332642, 0.033561259508132935, 0.17907032370567322, -0.26384809613227844, 0.19572825729846954, 0.5572845935821533, -0.007737199310213327, 0.17065659165382385, -0.5882424712181091, 0.8839648365974426, -0.1525873839855194, -0.3415948152542114, -0.45828866958618164, -0.12017828226089478, 0.4017382562160492, -0.11027128994464874, 0.1983659565448761, 0.17900718748569489, -0.2299990952014923, 0.351809561252594, -0.8547477722167969, 0.4912341237068176, -0.36014503240585327, -0.6800462007522583, 0.6191277503967285, 0.6082106828689575, 0.5056383013725281, 0.26617738604545593, -0.25608253479003906, 0.2588196098804474, -0.2926211953163147, -0.16180452704429626, -0.42956727743148804, 1.0949479341506958, -0.5394746661186218, -0.6766281127929688, 0.14709073305130005, -0.24952375888824463, 0.21269354224205017, 0.34033656120300293, 0.3269442319869995, 0.5028513073921204, -0.2769794166088104, 0.22114142775535583, 0.6487798690795898, -0.5444915294647217, 0.18734601140022278, 0.6737052202224731, -0.7635895609855652, -0.4784270226955414, 1.0575977563858032, -0.10644886642694473, 0.20247220993041992, 0.28954243659973145, -0.08379596471786499, -0.06096697971224785, -0.3814890682697296, -0.48807722330093384, 0.10636363923549652, -0.9234153032302856, -0.4064480662345886, -0.1653004139661789, -0.14186877012252808, -0.5156518816947937, -0.46895909309387207, -0.4258628785610199, -0.5804442167282104, -0.29964807629585266, -0.25860366225242615, 0.4817431569099426, 0.839037299156189, -0.01919468864798546, -0.021625161170959473, -0.8950145840644836, 0.5321205854415894, 0.08226551860570908, 0.411508709192276, -0.23284690082073212, -0.25974735617637634, -0.07140304148197174, 0.08997083455324173, -0.1651497185230255, -0.8193120956420898, 0.33853989839553833, -0.17606517672538757, 0.641139566898346, 0.24482908844947815, 0.11970895528793335, 0.2748239040374756, -0.23881272971630096, 0.9762924313545227, 0.4302031397819519, -0.7704125642776489, 1.0284359455108643, -0.32622119784355164, 0.13019129633903503, 0.4239307940006256, 0.134568452835083, -0.05159716680645943, -0.9592626690864563, -0.5908553004264832, -1.0264337062835693, 0.4088326096534729, 0.11739777028560638, 0.10967306792736053, -0.3068371117115021, 0.35237473249435425, 0.1068439930677414, 0.32848528027534485, -0.5155194997787476, 0.044495172798633575, -0.5338459610939026, -0.17555873095989227, 0.45014744997024536, -0.31134843826293945, -0.32265129685401917, 0.3772929012775421, 0.6454116106033325, -0.012543631717562675, 0.08059676736593246, 0.24577710032463074, -0.43760770559310913, -0.23782868683338165, 0.2814983129501343, 0.7544964551925659, 1.0447180271148682, -0.16426177322864532, -0.04721306264400482, -0.4252539277076721, -0.5696066617965698, -0.003101225243881345, 0.2347269505262375, -0.2270960807800293, 0.19409427046775818, 0.5157545804977417, 0.3367310166358948, 0.3116801381111145, -0.8493280410766602, 0.3871334493160248, 0.042787741869688034, -0.3240737318992615, -0.40505146980285645, 0.27499303221702576, 0.13454526662826538, 0.18334440886974335, 0.43125447630882263, -0.18197879195213318, -0.10725662857294083, -0.3406171202659607, 0.220942422747612, 0.2193666249513626, -0.2974482774734497, 0.0869707390666008, 0.7484331727027893, 0.5956855416297913, -0.4972901940345764, 0.8675677180290222, -0.026052201166749, 0.03996077924966812, 0.7609522938728333, 0.4817466139793396, 1.0584523677825928, -0.16517207026481628, 0.24940752983093262, 0.28164994716644287, 0.2692371904850006, 0.02557235024869442, 0.3304058909416199, -0.2316630631685257, -0.35916441679000854, -0.24081525206565857, -0.8647106289863586, -0.43543052673339844, -0.022123465314507484, -0.7794071435928345, 0.038851261138916016, -0.43599486351013184, -0.17541490495204926, -0.0929471105337143, -0.4740191102027893, -0.038387481123209, -0.2555370032787323, -0.09925099462270737, 1.3705909252166748, -0.37271052598953247, 0.8485323786735535, 0.8881621360778809, -0.9966467022895813, -0.5973695516586304, 0.08159074932336807, -0.2345033586025238, -0.7537896037101746, 0.675737738609314, 0.14026054739952087, -0.2854897975921631, 0.3237146735191345, -0.6598674058914185, -0.46536001563072205, 1.4874316453933716, 0.5510696172714233, -0.7133685350418091, 0.1123976856470108, -0.06715266406536102, 0.6604645848274231, -0.44590631127357483, -0.13633838295936584, 0.1987135112285614, 0.3421255648136139, -0.17679353058338165, -0.5111793279647827, -0.00817036908119917, -0.41982024908065796, 0.44582659006118774, 0.203764870762825, -0.3333449363708496, 0.7152948975563049, -0.37807735800743103, -0.2674560844898224, 0.48178619146347046, 0.7367109656333923, 0.8096481561660767, 0.10467123985290527, 0.10033140331506729, 0.6171141862869263, 0.8147073984146118, -0.16835899651050568, 1.4432458877563477, -0.9703894853591919, 0.21399755775928497, 0.9471760988235474, -0.33334022760391235, 0.7425671219825745, 0.4055151343345642, 0.0583556666970253, 0.9265977144241333, 0.31169548630714417, -0.21754872798919678, 0.35724374651908875, 0.29727843403816223, -0.2857299745082855, -0.06347546726465225, -0.02295449562370777, -0.5614919066429138, -0.08643843978643417, 0.1152452602982521, -0.8445919156074524, -0.1360008716583252, 0.13364587724208832, -0.15679535269737244, 0.18157878518104553, -0.4116488993167877, 0.5867990255355835, 0.10642538964748383, -0.9564806222915649, 0.6068099737167358, 0.09655334055423737, 0.1363126039505005, -0.5273648500442505, -0.47103437781333923, -0.4206503927707672, 0.2907925546169281, -0.3287781774997711, -1.028587818145752, 0.13183477520942688, 0.21615251898765564, -0.20290914177894592, -0.3658446967601776, 0.9164964556694031, -0.13640092313289642, 0.0425492525100708, 0.3782573640346527, 0.27000823616981506, 0.0854269489645958, 0.1868591457605362, -0.5376886129379272, 0.04937707632780075, 0.018983682617545128, -0.5763368010520935, 0.3911522626876831, 0.49961376190185547, 0.0739276260137558, 0.946733295917511, 0.777009904384613, -0.0908326506614685, -0.0789993405342102, 0.7109690308570862, 0.9983169436454773, -0.30011454224586487, -0.36529526114463806, -0.7736114263534546, 0.6766629815101624, -0.03614463284611702, -0.2587774395942688, 0.7002124190330505, 0.6821420788764954, 0.6398824453353882, -0.32383793592453003, 0.9650911092758179, -0.14548389613628387, 0.23550096154212952, -0.5477758049964905, 0.7527154684066772, -0.39254847168922424, 0.4706718921661377, 0.1667841076850891, -0.7255032062530518, -0.20557618141174316, 0.6454125046730042, -0.022852832451462746, -0.1356113702058792, 0.3113933503627777, 1.14569890499115, 0.2333115041255951, -0.02159750647842884, 0.1958225965499878, 0.13520757853984833, 0.38016778230667114, 0.1410081684589386, 1.035841464996338, -0.04238785058259964, 0.8155112266540527, -0.07260746508836746, -0.3622494637966156, -0.36516350507736206, -0.8544710278511047, -0.7114560604095459, -0.40337857604026794, -0.20241932570934296, -0.7842821478843689, 0.15596698224544525, 0.523080587387085, 0.47181814908981323, -0.6170939803123474, -0.12060669809579849, -0.9894788861274719, 0.2740674912929535, 0.04637811332941055, -0.2962666153907776, -0.03837045282125473, -0.7269418835639954, -0.30469220876693726, 0.38874495029449463, 0.6171990036964417, 0.0374118909239769, -0.8763667345046997, -0.31828081607818604, 0.20184433460235596, -0.14076533913612366, 0.37453770637512207, 0.443317174911499, -0.6820614337921143, 0.2034042328596115, 0.02257315255701542, -0.6047989130020142, -0.21043503284454346, 1.0479049682617188, -0.5784014463424683, 0.2874160706996918, 0.5970091819763184, 0.3349781334400177, 0.20560936629772186, 0.08997519314289093, 0.8824637532234192, -0.7945258617401123, 0.07709954679012299, 0.20300500094890594, 0.5193098783493042, 0.12102960050106049, -0.39996203780174255, 0.7883349657058716, 0.02670183777809143, -0.7307897806167603, -0.9923731684684753, 0.3905603885650635, -0.5034233331680298, -0.6459406614303589, 1.241753339767456, -0.5379915833473206, -0.22648362815380096, 0.18541687726974487, -0.18962043523788452, 0.2805148661136627, -0.2740330696105957, 0.6559894680976868, 0.43018728494644165, -0.029528280720114708, -0.27442121505737305, -0.2374788522720337, 0.3743307590484619, -0.26270097494125366, -0.9499449729919434, 0.38789767026901245, 0.7582212686538696, 0.27619901299476624, 0.6040990948677063, 0.5915557146072388, -0.3488443195819855, 0.5790868997573853, 0.46014338731765747, 0.5254446864128113, -0.4803425371646881, -0.2783414125442505, -0.2066335678100586, 0.3325873017311096, 0.3152046501636505, -0.038829904049634933 ]
http://arxiv.org/abs/2402.16654v1
http://arxiv.org/pdf/2402.16654v1
GigaPevt: Multimodal Medical Assistant
2024-02-26T15:26:56
2024-02-26T15:26:56
Pavel Blinov, Konstantin Egorov, Ivan Sviridov, Nikolay Ivanov, Stepan Botman, Evgeniy Tagin, Stepan Kudin, Galina Zubkova, Andrey Savchenko
cs.AI
cs.AI, cs.CL, cs.HC, 68T07, I.2.1
Building an intelligent and efficient medical assistant is still a challenging AI problem. The major limitation comes from the data modality scarceness, which reduces comprehensive patient perception. This demo paper presents the GigaPevt, the first multimodal medical assistant that combines the dialog capabilities of large language models with specialized medical models. Such an approach shows immediate advantages in dialog quality and metric performance, with a 1.18\% accuracy improvement in the question-answering task.
[ -0.3546759784221649, -0.9751787781715393, 0.9169326424598694, -0.050658807158470154, -0.3969481587409973, 0.11304759234189987, 0.30468037724494934, -0.3160306513309479, 0.5559691786766052, 0.33208224177360535, -0.707109808921814, -0.008774581365287304, -0.5029478073120117, -0.2876812815666199, 0.119715616106987, 0.8633277416229248, 0.144142746925354, 0.5150472521781921, -0.31569403409957886, -0.35855454206466675, -0.6758847832679749, -0.36001303791999817, -0.603713870048523, -0.08769608289003372, 0.5760535001754761, 0.12307145446538925, 1.0436748266220093, 0.2374339997768402, 0.6852951049804688, 0.43213531374931335, 0.3920954167842865, 0.4530836045742035, 0.010383964516222477, -0.15201294422149658, 0.17425218224525452, -0.4394388496875763, -0.7621374130249023, 0.06727399677038193, 0.4214441776275635, 0.6095292568206787, -0.2923745810985565, -0.040431082248687744, -0.5365197658538818, 0.3203237056732178, -0.031911272555589676, 0.14569777250289917, -0.1670231968164444, 0.03459809720516205, -0.0035857302136719227, -0.5160306692123413, -0.16294385492801666, -0.2964414358139038, 0.10694818943738937, -0.70241779088974, -0.21103410422801971, -0.0514918714761734, 0.6275959610939026, 0.562613308429718, -0.7386248111724854, -0.22240884602069855, -0.685763418674469, 0.5251238346099854, -0.6776053309440613, 0.5592159628868103, 0.32512643933296204, 0.5153807997703552, 0.08348610997200012, -0.8220918774604797, -0.6412392258644104, -0.5241789221763611, 0.18714742362499237, 0.4358966052532196, -0.16339929401874542, 0.2318004071712494, 0.1872229129076004, 0.4002906084060669, -0.7766739130020142, -0.09314551204442978, -0.7428879141807556, -0.3222164213657379, 0.24073933064937592, 0.48247188329696655, 0.5628488659858704, -0.17146320641040802, -0.5413959622383118, 0.11560352146625519, -0.25597870349884033, -0.32829177379608154, 0.015406448394060135, -0.21578332781791687, 0.1234595999121666, 0.5764318704605103, 0.09959414601325989, 0.669379711151123, -0.3571552038192749, -0.5620138049125671, 0.5309522151947021, -0.3938831388950348, -0.4019758403301239, -0.3634524941444397, 0.5755980014801025, 0.49571284651756287, -0.34582990407943726, -0.14110320806503296, -0.028689544647932053, 0.23440450429916382, 0.5728738307952881, -0.6587603688240051, -0.17020083963871002, 0.39408478140830994, -0.45222175121307373, -0.2012108564376831, -0.2545710504055023, -0.2877344787120819, -0.2939629852771759, -0.2975725829601288, 0.6918044090270996, -0.6114488840103149, -0.19202877581119537, 0.03302241489291191, 0.05948999151587486, -0.04112694784998894, 0.8033460378646851, -0.5067394971847534, 0.07968173176050186, 0.32866814732551575, 1.048087477684021, -0.10530561953783035, -0.016715247184038162, -0.731760561466217, 0.009342774748802185, -0.3549731373786926, 0.8821355700492859, -0.5361413359642029, -0.303181529045105, -0.46795952320098877, 0.019236549735069275, -0.2126253992319107, -0.3779143989086151, 0.36446166038513184, -0.38638871908187866, 0.5023903846740723, -0.08293183892965317, -0.3976902365684509, -0.4248174726963043, 0.3824041783809662, -0.6689935326576233, 0.4888099730014801, 0.4394289553165436, -0.5199097394943237, 0.44782760739326477, -1.042907476425171, -0.22844640910625458, 0.5553714632987976, -0.2904130518436432, -0.07097999006509781, 0.0928317978978157, 0.23779985308647156, 0.5245949625968933, -0.4223160743713379, 0.2925495207309723, -0.05869879573583603, -0.1354750096797943, 0.3797813057899475, -0.7000885009765625, 0.533161461353302, 0.4021412134170532, 0.32219836115837097, 0.29377496242523193, -0.8649948239326477, -0.09559320658445358, 0.09210655093193054, -0.6753464937210083, -0.2194787859916687, -0.2189956158399582, 0.35273122787475586, 0.35688257217407227, 0.05460449308156967, -0.5933295488357544, 0.6551636457443237, -0.09149353206157684, 0.5970837473869324, 0.6234806776046753, -0.20200228691101074, 0.011318744160234928, -0.5764244198799133, 0.8738381266593933, -0.15888887643814087, 0.31091785430908203, -0.16874650120735168, -0.6408111453056335, -0.24394062161445618, -0.8645637631416321, 0.14981934428215027, 0.8970871567726135, -1.3451659679412842, -0.07026104629039764, -0.12207352370023727, -0.47994592785835266, -0.7629057168960571, -0.047327421605587006, 0.12071333825588226, 0.34185412526130676, 0.19672295451164246, -0.4920797646045685, -0.12988786399364471, -1.186289668083191, 0.33118936419487, -0.18731622397899628, -0.11614187061786652, 0.5874830484390259, 0.23496712744235992, -0.5914965271949768, 0.339534193277359, -0.6158949732780457, -0.3861527442932129, -0.42020973563194275, 0.150953471660614, 0.3030278980731964, 0.4863860309123993, 0.6823410987854004, -1.056636929512024, -0.25246670842170715, 0.143682599067688, -0.5385483503341675, -0.05160481110215187, -0.2737247347831726, 0.4978170096874237, -0.08852668106555939, 0.29411080479621887, -0.8155645132064819, 0.06326717883348465, 0.87766033411026, -0.33969584107398987, 0.5914565324783325, -0.6527233123779297, 0.5184019804000854, -1.5013375282287598, 0.09089811891317368, -0.22250328958034515, -0.47059231996536255, -0.9727321267127991, -0.12624511122703552, 0.057661253958940506, -0.2470996230840683, -0.4396781921386719, 0.22893118858337402, -0.2253902703523636, 0.08610393851995468, -0.2844582796096802, 0.035727716982364655, -0.17012114822864532, 0.5896971821784973, -0.2485429346561432, 1.1424213647842407, 0.49850642681121826, -0.43000128865242004, 0.7580146193504333, 0.4657716453075409, -0.300251305103302, 0.8942443132400513, -0.7819257378578186, 0.23304004967212677, -0.1549115777015686, 0.13340896368026733, -1.202982783317566, -0.555279016494751, -0.10094890743494034, -0.49102258682250977, 0.13755322992801666, 0.016701962798833847, -0.40688657760620117, -0.43075618147850037, -0.20667538046836853, 0.48568838834762573, 0.36178767681121826, -0.2361329346895218, 0.7372879981994629, 0.4477793574333191, -0.35446035861968994, -0.22439029812812805, -0.7776453495025635, 0.16178284585475922, -0.09070923924446106, -0.8119953274726868, -0.10874051600694656, -0.4838356077671051, 0.048876043409109116, -0.5276405811309814, 0.12455181777477264, -0.2509872317314148, -0.1537095606327057, 0.031245898455381393, 0.6262226700782776, -0.1727709323167801, 0.6846146583557129, -0.01727685146033764, -0.1805703043937683, -0.10112243890762329, 0.04068044573068619, 0.6939124464988708, -0.26922959089279175, -0.6081625819206238, -0.6564911007881165, 0.5807381868362427, 0.9782124161720276, -0.0790095254778862, 0.4112967252731323, 0.6854949593544006, -0.0456918366253376, 0.5811038017272949, -0.8078855872154236, -0.01813579723238945, -0.4669407606124878, 0.5730190873146057, -0.40529900789260864, -0.7307153940200806, 0.4012087881565094, -0.13459980487823486, -0.009643692523241043, 0.1913391351699829, 0.7027193307876587, 0.13776427507400513, 1.2729429006576538, 0.5063791275024414, 0.24518145620822906, 0.43302831053733826, -0.050665874034166336, -0.054786317050457, -1.0232230424880981, -0.21466860175132751, -0.01595715805888176, 0.016678033396601677, -0.7264467477798462, -0.7027336955070496, 0.9286473393440247, -0.5972081422805786, 0.17905043065547943, 0.28978997468948364, -0.3991737961769104, -0.0643831416964531, 0.544244110584259, 0.3730370104312897, 0.1919175684452057, -0.3969648778438568, 0.03327770531177521, -0.06810081005096436, -0.7835428714752197, -0.2877745032310486, 0.8972352147102356, 0.4028714895248413, 0.697053074836731, 0.4430152177810669, 0.26811233162879944, 0.29905495047569275, 0.07109379768371582, -0.9279295206069946, 0.46001961827278137, -0.09785030782222748, -0.539290189743042, -0.2201368361711502, -0.543687641620636, -0.7335088849067688, 0.6117203831672668, -0.39872249960899353, -0.822613537311554, 0.03476003557443619, 0.23567986488342285, -0.553757905960083, 0.16146087646484375, -0.9462102055549622, 0.7879034280776978, 0.010450169444084167, -0.4079474210739136, -0.22708065807819366, -0.6264326572418213, 0.2619556784629822, -0.1001562774181366, 0.23771530389785767, 0.023849716410040855, -0.08379217237234116, 0.5803831219673157, -0.42291730642318726, 0.3749014139175415, -0.11096826195716858, 0.18041223287582397, -0.04059108719229698, 0.22975867986679077, 0.4876053035259247, 0.1607753485441208, 0.3274552822113037, -0.23816832900047302, 0.18685539066791534, -0.5483428835868835, -0.5308690667152405, 0.494806706905365, -0.48565107583999634, -0.5799458026885986, -0.18232481181621552, -1.0392749309539795, -0.4643568694591522, 0.27208390831947327, -0.039643075317144394, 0.8976129293441772, -0.30530256032943726, 0.22596357762813568, 0.738369882106781, -0.5305245518684387, 0.22261971235275269, 0.3118479251861572, -0.128462553024292, -0.5307562947273254, 0.9405883550643921, 0.3410990238189697, 0.5910265445709229, 0.26539334654808044, 0.3484382927417755, -0.005085726734250784, -0.4598532021045685, -0.8590763211250305, 0.11994783580303192, -0.5939373970031738, -0.1180296242237091, -1.1246321201324463, -0.04442228004336357, -0.23392048478126526, -0.24983875453472137, -0.43137210607528687, -0.5780327320098877, 0.17057757079601288, 0.03858378157019615, 0.1198447048664093, 0.8329434990882874, -0.0441276952624321, 0.4500698149204254, -0.895166277885437, 0.3917504549026489, 0.8921895027160645, 0.20148569345474243, -0.5312976837158203, -0.06325924396514893, 0.13863226771354675, -0.17335526645183563, -0.03192754089832306, -0.7441129088401794, 0.3978298604488373, -0.19954267144203186, 0.5572704672813416, 0.5009265542030334, -0.616409420967102, 0.4798602759838104, -0.36008068919181824, 1.0478698015213013, 0.5849243402481079, -0.57194983959198, 0.36050906777381897, -0.5286157727241516, 0.6511554718017578, 0.2402721345424652, 0.022767307236790657, -0.4845558702945709, -0.0682254359126091, -0.646064817905426, -0.6138310432434082, 0.5823280215263367, 0.1678723841905594, 0.11361593753099442, 0.10383657366037369, -0.21071995794773102, 0.35757580399513245, 0.40450751781463623, -0.4505308270454407, 0.10126446932554245, -0.16767321527004242, 0.0350663922727108, -0.19710931181907654, -0.26546013355255127, -0.118500255048275, -0.36637023091316223, 0.4355168342590332, -0.45497360825538635, 0.5555916428565979, 0.22803716361522675, -0.1565689891576767, 0.19667179882526398, 0.4206291139125824, 1.1587646007537842, 0.9074913263320923, -0.12680818140506744, 0.13990053534507751, 0.5318682193756104, -0.8361921310424805, -0.11846619099378586, 0.044131990522146225, 0.26971235871315, -0.03580176830291748, 0.36916399002075195, 0.8443462252616882, -0.3011329770088196, -0.7861185073852539, 0.7516241073608398, -0.2653012275695801, -0.13943946361541748, -0.16740825772285461, 0.006277797278016806, 0.09242243319749832, 0.357912540435791, 0.07558927685022354, 0.16756920516490936, 0.558026134967804, -0.6976871490478516, 0.19587892293930054, 0.5713298320770264, -0.4575085937976837, -0.09083649516105652, 0.8384881615638733, 0.09593408554792404, -0.2844659686088562, 0.398357629776001, 0.14689914882183075, -0.3776589632034302, 0.48153364658355713, 0.3754081428050995, 0.6422886848449707, -0.4897615611553192, 0.4096240699291229, 0.016942638903856277, 0.4710889756679535, 0.2410689741373062, 0.4005125164985657, -0.07537650316953659, -0.40660223364830017, -0.4044051766395569, -0.21600031852722168, -0.4832124412059784, -0.0008252704283222556, -0.27671828866004944, -0.04059906676411629, -0.3010804057121277, -0.21554602682590485, 0.440647155046463, -0.14974261820316315, -0.6944268345832825, 0.27610811591148376, -0.18965870141983032, 0.5118299126625061, -0.6340038776397705, 0.8927950263023376, 0.9205288290977478, -0.5438262820243835, -0.5876803994178772, -0.29096150398254395, 0.012830968014895916, -1.037692904472351, 0.4118116796016693, 0.019110357388854027, -0.1748945415019989, -0.4148356020450592, -0.5666250586509705, -0.5203147530555725, 1.1245819330215454, 0.27907130122184753, -0.2602117657661438, 0.1752997785806656, -0.008451107889413834, 0.5724854469299316, -0.44965115189552307, 0.5623989105224609, 0.30021411180496216, 0.49459564685821533, 0.36973902583122253, -1.3396345376968384, 0.0166983250528574, -0.4334660470485687, 0.1362973004579544, 0.1229436844587326, -0.9071134328842163, 1.1106762886047363, -0.2842370569705963, 0.12961319088935852, -0.2040565013885498, 0.24307265877723694, -0.22141912579536438, 0.23307164013385773, 0.6571294665336609, 0.2525935173034668, 0.8105794787406921, -0.0031505499500781298, 1.1663148403167725, 0.05595411732792854, 0.043370116502046585, 0.6759599447250366, -0.06331953406333923, 0.2134813368320465, 0.6065633893013, -0.036696404218673706, 0.15109418332576752, 0.28385090827941895, 0.1373881995677948, 0.3907887935638428, -0.19383424520492554, -0.3398689925670624, -0.4173583686351776, -0.02423744834959507, -0.44324058294296265, 0.4946558475494385, 0.5040601491928101, -0.15341420471668243, -0.009428044781088829, 0.5978299975395203, -0.006300092674791813, -0.39436814188957214, -0.14887374639511108, 1.0600824356079102, -0.2744120955467224, -0.44883662462234497, 0.39628273248672485, -0.39409586787223816, 0.44519007205963135, -0.7965406775474548, -0.29437920451164246, -0.040648575872182846, 0.15651588141918182, -0.05024150758981705, -0.45758870244026184, 0.0622878260910511, -0.6633539795875549, 0.055240195244550705, -0.01798379234969616, 0.664750337600708, -0.39719030261039734, -0.43849602341651917, -0.22988690435886383, 0.6439992785453796, 0.4481485188007355, 0.09026367217302322, -0.6295279860496521, -0.007021061610430479, -0.07036914676427841, -0.3911820948123932, 0.13616327941417694, 0.18303604423999786, 0.07509541511535645, 1.0464943647384644, 0.6727340817451477, 0.010038187727332115, -0.014936411753296852, -0.053895026445388794, 1.1170755624771118, -0.3990768492221832, -0.6319802403450012, -0.5487144589424133, 0.3711462616920471, -0.24299810826778412, -0.34521055221557617, 0.30841028690338135, 0.4526991844177246, 0.16444118320941925, -0.1880522221326828, 0.7905197739601135, -0.27251237630844116, 0.503402829170227, -0.5729824304580688, 0.5768448114395142, -0.940364420413971, 0.04064696654677391, -0.20773696899414062, -0.5785458087921143, -0.33884453773498535, 0.7632465958595276, -0.03538757935166359, 0.1259545087814331, 0.810102105140686, 0.809371829032898, -0.3099691867828369, -0.10179876536130905, 1.0002788305282593, 0.18697363138198853, 0.4980258047580719, 0.6314387917518616, 0.7401934266090393, -0.3136449158191681, 0.20710736513137817, -0.0063630822114646435, -0.6702519059181213, -0.3144765794277191, -0.34269461035728455, -0.9995136857032776, -0.694133996963501, -0.07736163586378098, -0.20178760588169098, -0.05552174523472786, 1.261601209640503, 0.8735096454620361, -0.3794126510620117, 0.24075156450271606, 0.4301298260688782, -0.21625027060508728, -0.39151424169540405, -0.1819487065076828, 0.3258236050605774, -0.00890803150832653, -0.7024878859519958, 0.5762277841567993, 0.5808413624763489, 0.032070934772491455, -0.5521991848945618, 0.09854155033826828, -0.40120044350624084, 0.6721431612968445, 0.8355844020843506, -0.1267561912536621, -0.4312802851200104, -0.4072924554347992, -0.08762088418006897, -0.1005084440112114, 0.34521394968032837, 0.7658669948577881, -0.49342942237854004, 0.8988270163536072, 0.44590774178504944, 0.544467568397522, 0.4634014070034027, -0.08532513678073883, 0.3980309069156647, -0.2298109084367752, 0.36735251545906067, 0.3072583079338074, 0.4042736291885376, 0.22336271405220032, -0.4486068785190582, 0.544447660446167, 0.23529870808124542, -0.6503910422325134, -0.6558042764663696, 0.3149232566356659, -1.5872409343719482, -0.18212264776229858, 1.013827919960022, 0.016171956434845924, -0.08892650157213211, -0.28932011127471924, -1.024359107017517, -0.04838917776942253, -0.3509076237678528, 0.6743060946464539, 0.5718692541122437, -0.29321882128715515, -0.24728350341320038, -1.221933126449585, 0.16216757893562317, 0.2209978550672531, -1.1153746843338013, -0.3097255527973175, 0.6056064367294312, 0.273245245218277, 0.3570423424243927, 1.036094069480896, -0.05254114419221878, 0.7019694447517395, 0.2056562602519989, -0.01875370927155018, -0.47855591773986816, -0.24772754311561584, 0.05936325713992119, 0.3578729033470154, -0.0870685949921608, -0.431673139333725 ]
http://arxiv.org/abs/2402.16650v1
http://arxiv.org/pdf/2402.16650v1
ESG Sentiment Analysis: comparing human and language model performance including GPT
2024-02-26T15:22:30
2024-02-26T15:22:30
Karim Derrick
cs.CL
cs.CL, cs.CE, cs.CY
In this paper we explore the challenges of measuring sentiment in relation to Environmental, Social and Governance (ESG) social media. ESG has grown in importance in recent years with a surge in interest from the financial sector and the performance of many businesses has become based in part on their ESG related reputations. The use of sentiment analysis to measure ESG related reputation has developed and with it interest in the use of machines to do so. The era of digital media has created an explosion of new media sources, driven by the growth of social media platforms. This growing data environment has become an excellent source for behavioural insight studies across many disciplines that includes politics, healthcare and market research. Our study seeks to compare human performance with the cutting edge in machine performance in the measurement of ESG related sentiment. To this end researchers classify the sentiment of 150 tweets and a reliability measure is made. A gold standard data set is then established based on the consensus of 3 researchers and this data set is then used to measure the performance of different machine approaches: one based on the VADER dictionary approach to sentiment classification and then multiple language model approaches, including Llama2, T5, Mistral, Mixtral, FINBERT, GPT3.5 and GPT4.
[ -0.47985050082206726, -0.8732125759124756, 0.5327956080436707, 0.2327789068222046, -0.4394081234931946, 0.5765912532806396, -0.05610084906220436, -0.43936625123023987, 0.1734824776649475, 0.28149497509002686, -0.34938177466392517, -0.6992081999778748, -0.9803462028503418, 0.1489132046699524, -0.34579163789749146, 1.0547486543655396, 0.17589953541755676, 0.12841807305812836, -0.1545821875333786, -0.3843190371990204, 0.01663758046925068, -0.7410686016082764, -0.9085237383842468, -0.33581703901290894, 0.3857516050338745, -0.027223924174904823, 0.44449207186698914, 0.006652590818703175, 0.6734140515327454, 0.35498395562171936, -0.4874294400215149, 0.17072317004203796, -0.38063761591911316, 0.041268590837717056, -0.33014431595802307, 0.10866674035787582, -0.4210169315338135, 0.06489962339401245, 0.44523701071739197, 0.22631587088108063, -0.29167771339416504, 0.3792695999145508, 0.4073294699192047, 0.7710972428321838, -0.21681593358516693, 0.2986443340778351, -0.5198079347610474, -0.03494754806160927, 0.012658897787332535, -0.12659789621829987, 0.03388537839055061, -0.5586651563644409, 0.16380129754543304, -0.21111656725406647, 0.14475050568580627, -0.10135770589113235, 1.125220775604248, 0.30142733454704285, -0.4067423641681671, -0.4861733019351959, -0.6060210466384888, 0.9228367805480957, -0.8095343708992004, 0.1993696391582489, -0.102816641330719, 0.295260488986969, 0.36784839630126953, -0.6600209474563599, -0.5165829062461853, -0.03680768236517906, 0.1451653242111206, 0.3892917335033417, -0.21112225949764252, 0.11325066536664963, 0.23461653292179108, 0.30157050490379333, -0.5759544968605042, -0.21045535802841187, -0.3028505742549896, -0.06002433970570564, 0.6332361102104187, 0.001870148815214634, 0.14712963998317719, -0.4918738007545471, -0.47358861565589905, -0.17952944338321686, -0.49685612320899963, -0.022057291120290756, 0.7140737771987915, 0.2533353567123413, 0.0037042489275336266, 0.4031352400779724, -0.2209261655807495, 0.32974809408187866, -0.054267507046461105, -0.11986314505338669, 0.39327749609947205, -0.330745667219162, -0.20791545510292053, -0.19014017283916473, 0.9719603061676025, 0.6844361424446106, 0.39204347133636475, -0.02305789291858673, -0.3224269151687622, 0.5349630117416382, 0.46598315238952637, -0.7311693429946899, 0.19209396839141846, 0.025214415043592453, -0.6641549468040466, -0.6866939067840576, 0.4561198949813843, -1.0326684713363647, -0.6392241716384888, -0.2111649215221405, 0.3129303455352783, -0.035447247326374054, -0.5519845485687256, 0.16514898836612701, -0.3567225933074951, 0.6856123208999634, 0.10641364753246307, -0.6248853206634521, 0.42838147282600403, 0.991372287273407, 1.0178357362747192, 0.07962103188037872, -0.02450805902481079, -0.14248359203338623, -0.08639047294855118, 0.02695762738585472, 0.9860658049583435, -0.40610137581825256, -0.721643328666687, 0.07295338809490204, -0.05839866027235985, -0.09322987496852875, -0.3602518141269684, 0.8141152858734131, -0.3080514967441559, 0.223935067653656, -0.8021756410598755, -0.5614880323410034, -0.38896289467811584, 0.4371330738067627, -0.5428224205970764, 1.0806161165237427, 0.0048170736990869045, -0.9314945340156555, 0.44972023367881775, -0.9478583335876465, -0.41606566309928894, -0.05607333779335022, -0.18912546336650848, -0.4930647015571594, 0.22203411161899567, 0.24612252414226532, 0.5078951716423035, -0.35066890716552734, 0.09958622604608536, -0.5980842709541321, -0.3776231110095978, 0.1357966512441635, -0.29052814841270447, 0.6010159850120544, 0.18634572625160217, -0.4542444348335266, -0.11283468455076218, -0.42342525720596313, 0.09834989905357361, 0.05290502682328224, -0.1409481316804886, -0.04460824280977249, 0.44606658816337585, 0.3875649869441986, 0.509676456451416, 0.24108445644378662, -0.509315013885498, 0.03604311868548393, -0.006736468523740768, 0.8143908381462097, 0.9535315036773682, 0.31704315543174744, 0.03524719178676605, -0.17246632277965546, 0.6259692311286926, -0.19229935109615326, 0.19784313440322876, 0.46752169728279114, -0.6477445960044861, -0.5094868540763855, 0.09070699661970139, 0.14632943272590637, 0.576448380947113, -0.4635502099990845, 0.2673967182636261, -0.5872306227684021, -0.6556985974311829, -0.8446371555328369, -0.05082639306783676, 0.10982292145490646, 0.34617412090301514, 0.10659320652484894, -0.34014248847961426, -0.3181731700897217, -0.8846230506896973, -0.8361481428146362, -0.7084408402442932, -0.1328972429037094, 0.45675280690193176, 0.3617502748966217, -0.42806553840637207, 0.5759071707725525, -0.24373281002044678, -0.13144735991954803, -0.27711138129234314, 0.5414836406707764, -0.011057274416089058, -0.24827076494693756, 0.5584549903869629, -0.7313580513000488, -0.5064185857772827, 0.15499533712863922, -0.818291425704956, -0.2646758556365967, 0.29287979006767273, 0.3201914131641388, 0.5430793166160583, 0.2996605634689331, -0.3797701299190521, 0.09803134202957153, 0.9462646245956421, -0.5608073472976685, 0.3139369785785675, 0.1699647158384323, 0.6755194664001465, -1.0426514148712158, 0.11535544693470001, 0.42674872279167175, -0.2474488615989685, -0.4167816638946533, -0.15747545659542084, -0.16120776534080505, -0.1189221739768982, -0.5466256737709045, 0.3800204396247864, -0.11434346437454224, -0.22219619154930115, -0.1486162543296814, 0.028021929785609245, -0.033183302730321884, 0.09375375509262085, -0.13780902326107025, 0.709579348564148, 0.516385555267334, -0.17119188606739044, 0.3463473618030548, -0.11634936183691025, -0.17143794894218445, 0.835017204284668, -0.9745345115661621, 0.45845305919647217, 0.04065350070595741, -0.12416218221187592, -1.165229320526123, -0.17114396393299103, 0.08156448602676392, -0.8866869211196899, 0.01376317534595728, -0.03736267611384392, -0.7789315581321716, -0.3244972229003906, -0.533200740814209, -0.4015670418739319, 0.6626670956611633, -0.2134803980588913, 0.7757324576377869, 0.679215669631958, -0.2127223163843155, -0.47405630350112915, -0.6104499101638794, 0.29417160153388977, -0.745833694934845, -0.8178524971008301, 0.09656035900115967, 0.3014782965183258, -0.5199368000030518, 0.19726955890655518, -0.0944206640124321, 0.24096645414829254, 0.13061439990997314, 0.21330398321151733, 0.02811780385673046, -0.023490674793720245, -0.025739677250385284, -0.1405801773071289, -0.12601198256015778, 0.3560578227043152, 0.06352659314870834, 0.34846144914627075, -0.8536198139190674, -0.1964300274848938, -0.3553544580936432, 0.32796066999435425, 0.8753899335861206, -0.052746765315532684, 0.9464980959892273, 0.8042047619819641, -0.389315128326416, 0.1511685699224472, -0.6369287967681885, -0.07960637658834457, -0.5028347969055176, 0.4257126450538635, 0.0970396026968956, -0.8716628551483154, 0.659723699092865, -0.10525695234537125, -0.14188925921916962, 0.618095874786377, 0.5799758434295654, -0.1990862339735031, 1.1296906471252441, 0.5867782831192017, -0.4988883435726166, 0.4127793610095978, -0.07716400921344757, 0.41662564873695374, -0.43920835852622986, -0.004130899906158447, -0.4268994927406311, -0.1406683325767517, -0.93675696849823, 0.04586738720536232, 0.2527063190937042, -0.19486597180366516, -0.2838982045650482, 0.10111305862665176, -0.4412344694137573, 0.18781901895999908, 0.1461583971977234, 0.0015484156319871545, 0.19063492119312286, 0.11450047791004181, 0.23791873455047607, -0.08098699152469635, -0.36589309573173523, -1.2365567684173584, 0.9038843512535095, 0.5041598081588745, 0.5071544051170349, 0.08766573667526245, 0.6930818557739258, 0.6235696077346802, 0.5725342035293579, -0.6999472379684448, 0.6451404094696045, -0.2799331843852997, -0.4774834215641022, -0.2514615058898926, -0.45279815793037415, -0.5528129935264587, 0.22859948873519897, -0.04144686833024025, -0.5985433459281921, -0.46985143423080444, -0.11835829168558121, -0.279526948928833, 0.47944000363349915, -0.7889745235443115, 0.8300434350967407, -0.16132515668869019, -0.24493694305419922, -0.21925164759159088, -0.36701035499572754, -0.02590039186179638, 0.24430754780769348, 0.19604268670082092, -0.14517313241958618, -0.10350925475358963, 0.9306965470314026, -0.15761935710906982, 0.7252588272094727, -0.34836652874946594, 0.10599344968795776, 0.44292566180229187, -0.5730226635932922, 0.47528329491615295, -0.03133797645568848, -0.09910765290260315, 0.46803969144821167, -0.10503807663917542, -0.3751148581504822, -0.27112919092178345, 0.8264513611793518, -1.0647075176239014, -0.34308353066444397, -0.5851063132286072, 0.23947325348854065, -0.3541536033153534, -0.2540719509124756, 0.24335463345050812, -0.06599994003772736, -0.5056524872779846, 0.2546882927417755, 0.38916707038879395, -0.1604444831609726, 0.44862979650497437, 0.1917693167924881, 0.0889059379696846, -0.47973284125328064, 0.819405734539032, 0.3933389186859131, 0.23561160266399384, 0.019646907225251198, 0.22099089622497559, -0.6313682794570923, -0.18827329576015472, -0.13193918764591217, 0.2973981201648712, -0.6676404476165771, -0.11312934011220932, -0.6900616884231567, -0.20027826726436615, -0.4476693868637085, -0.1358715444803238, -0.3891568183898926, -0.008957765065133572, -0.1476716846227646, -0.41641104221343994, 0.5942539572715759, 0.9640589356422424, 0.05990035459399223, 0.3909097909927368, -0.6173161864280701, 0.23305363953113556, 0.45400118827819824, 0.3673161268234253, -0.24192644655704498, -0.24864642322063446, -0.009269081056118011, -0.1881731152534485, -0.6643840670585632, -1.2099332809448242, 0.524124026298523, -0.039750367403030396, 0.5070708990097046, 0.4609234631061554, -0.4494743347167969, 0.5707049369812012, -0.049210209399461746, 1.0672080516815186, -0.07963065803050995, -1.0991907119750977, 0.38574010133743286, -0.6782134175300598, -0.22223985195159912, 0.5712367296218872, 0.28637269139289856, -0.9447059631347656, -0.3321114182472229, -1.006880760192871, -0.9918758273124695, 0.22269907593727112, 0.04270901903510094, -0.06147775799036026, -0.09605079889297485, 0.19915829598903656, -0.2212725281715393, 0.3869992196559906, -0.5099601149559021, -0.10127007961273193, -0.013144632801413536, -0.03833220899105072, -0.21677227318286896, -0.2531954348087311, 0.085807666182518, -0.050315920263528824, 0.6024166345596313, 0.015473300591111183, 0.3995974361896515, -0.0739535242319107, 0.16459672152996063, -0.06355872005224228, 0.3575406074523926, 0.2784968614578247, 0.624487042427063, -0.2375245988368988, -0.10433913767337799, 0.29406657814979553, -0.41608014702796936, 0.018768204376101494, -0.07254228740930557, -0.05790351331233978, 0.07085689902305603, 0.12198265641927719, 0.4777924120426178, -0.04552995413541794, -0.2564105987548828, 0.46276620030403137, -0.19488973915576935, -0.428931325674057, -0.4070482850074768, -0.2306244671344757, 0.37527161836624146, 0.15828098356723785, 0.3173086643218994, 0.1738082617521286, 0.14250610768795013, -0.48209336400032043, 0.045445386320352554, 0.2764160633087158, -0.6406382918357849, -0.44742536544799805, 0.46644994616508484, 0.2984625995159149, -0.295175164937973, 0.530296802520752, -0.2992543876171112, -0.6480244398117065, 0.6335495114326477, -0.07985681295394897, 1.2363981008529663, -0.17990818619728088, 0.3413340747356415, 0.44038063287734985, 0.3585962951183319, -0.4249950051307678, 0.5147632360458374, 0.4328419268131256, -0.7332954406738281, -0.5078362822532654, -0.5681883692741394, -0.4717537462711334, 0.32729092240333557, -0.7922315001487732, 0.18177717924118042, -0.3448624312877655, -0.5952702760696411, -0.21657301485538483, 0.4337776303291321, -0.8510948419570923, 0.15597069263458252, 0.16556301712989807, 0.4200819730758667, -1.3940926790237427, 0.4222824275493622, 0.8889017105102539, -0.20015236735343933, -0.6067174673080444, 0.215439572930336, 0.26011383533477783, -0.5281199812889099, 0.1522779017686844, 0.3739917278289795, -0.5006517767906189, -0.1270386278629303, -0.5163245797157288, -0.3804353177547455, 1.1477792263031006, 0.10327350348234177, -0.27875980734825134, 0.26493650674819946, -0.006445157341659069, 0.9452154636383057, -0.09854499995708466, 0.05460455268621445, 0.6896867752075195, 0.6230560541152954, -0.23158584535121918, -0.7586073279380798, -0.13481877744197845, -0.19679395854473114, 0.09453251212835312, 0.07020818442106247, -0.8872113227844238, 0.4777941405773163, 0.15212129056453705, -0.4787435531616211, -0.2780870497226715, 0.44257229566574097, 0.4316014349460602, 0.3547859191894531, 0.5839726328849792, 0.6606028079986572, 0.7060406804084778, -0.3723551034927368, 1.2948299646377563, -0.3651859760284424, 0.9436625242233276, 0.3279936611652374, -0.289673388004303, 0.9062802791595459, 0.6577444076538086, -0.49809035658836365, 0.20144863426685333, 0.7605873346328735, 0.13885413110256195, 0.5360973477363586, 0.12767736613750458, -0.3964552581310272, -0.0665571391582489, -0.11052578687667847, -0.28529804944992065, 0.35301265120506287, 0.4692789912223816, -0.42574334144592285, -0.1388726830482483, -0.2684054672718048, 0.007584599778056145, 0.17069941759109497, -0.33067724108695984, 0.8533090949058533, 0.14103543758392334, -0.395815908908844, 0.02953440323472023, 0.13882532715797424, 0.9261288642883301, -0.38255974650382996, 0.12766827642917633, -0.02946508675813675, 0.07598105818033218, -0.13932041823863983, -0.9781073331832886, 0.660433292388916, 0.30448105931282043, 0.28660422563552856, -0.3760908544063568, 0.8365331292152405, 0.11664050817489624, -0.612628161907196, 0.5686882734298706, 0.8258370161056519, 0.1417669951915741, -0.30236107110977173, -0.8941372036933899, 0.04125514626502991, -0.24628689885139465, -0.5913721919059753, 0.15341700613498688, 0.6270043253898621, 0.2525993287563324, 0.5291954278945923, 0.32002612948417664, 0.26295700669288635, -0.1994686871767044, 0.28600001335144043, 0.7674811482429504, -0.7786630392074585, -0.46916550397872925, -1.180699348449707, 0.4012243449687958, -0.454814076423645, -0.3022499084472656, 0.751102089881897, 0.2801658809185028, 0.7585457563400269, -0.049679242074489594, 1.151206135749817, -0.20096930861473083, 0.6849780082702637, -0.2129065841436386, 0.973929226398468, -0.3163711428642273, 0.07916756719350815, -0.5981209874153137, -0.7872850894927979, -0.027824819087982178, 0.7627090215682983, -0.5593353509902954, 0.30094069242477417, 0.49436479806900024, 0.9942255616188049, 0.14259321987628937, 0.044050998985767365, 0.23933719098567963, -0.07533298432826996, 0.4392264485359192, 0.27202698588371277, 1.010035753250122, -0.3320944309234619, 0.33069726824760437, 0.12071862071752548, -0.06716299802064896, -0.15465664863586426, -1.0293208360671997, -0.8611894249916077, -0.5274083018302917, -0.2717416286468506, -0.5287368893623352, 0.22534258663654327, 0.7180721163749695, 0.3919244408607483, -0.6346685886383057, -0.05083846300840378, 0.039745889604091644, 0.007830921560525894, -0.3206094801425934, -0.3400228023529053, 0.3696325123310089, -0.07023544609546661, -0.551226019859314, -0.2804083526134491, 0.35177433490753174, -0.05314323306083679, -0.3512563109397888, -0.055469803512096405, 0.2016909420490265, 0.18460288643836975, 0.7440831065177917, 0.14127768576145172, -0.7619931697845459, -0.6907986998558044, 0.20146872103214264, -0.24014364182949066, -0.04425397887825966, 0.6247285604476929, -0.36236435174942017, 0.09204376488924026, 0.5611653327941895, 0.6103115677833557, 0.2801920771598816, 0.2628035247325897, 0.24671736359596252, -0.5621501207351685, -0.37414324283599854, 0.22258728742599487, 0.3879563808441162, 0.7422307133674622, -0.2230105996131897, 0.591353714466095, 0.31430819630622864, -0.8080105185508728, -0.49046871066093445, 0.09117055684328079, -1.030447244644165, 0.015966076403856277, 1.5666520595550537, 0.06525726616382599, -0.09749013185501099, 0.07779234647750854, -0.2669033110141754, 0.1902456283569336, -0.7355791330337524, 1.2905937433242798, 1.174106240272522, -0.1073574647307396, -0.020372072234749794, -0.6994454860687256, 0.46189841628074646, -0.05738463252782822, -0.7990737557411194, -0.19434437155723572, 0.09578673541545868, 0.37054258584976196, 0.011645613238215446, 0.7932173013687134, -0.4707796573638916, 0.00030621339101344347, -0.15580181777477264, -0.039522625505924225, 0.21215276420116425, 0.07485540211200714, -0.5100550651550293, 0.36699923872947693, 0.028328953310847282, -0.1341923475265503 ]
http://arxiv.org/abs/2402.16929v2
http://arxiv.org/pdf/2402.16929v2
LangGPT: Rethinking Structured Reusable Prompt Design Framework for LLMs from the Programming Language
2024-02-26T15:05:16
2024-06-29T14:19:08
Ming Wang, Yuanzhong Liu, Xiaoyu Liang, Songlian Li, Yijie Huang, Xiaoming Zhang, Sijia Shen, Chaofeng Guan, Daling Wang, Shi Feng, Huaiwen Zhang, Yifei Zhang, Minghui Zheng, Chi Zhang
cs.SE
cs.SE, cs.AI, cs.CL, cs.PL
LLMs have demonstrated commendable performance across diverse domains. Nevertheless, formulating high-quality prompts to instruct LLMs proficiently poses a challenge for non-AI experts. Existing research in prompt engineering suggests somewhat scattered optimization principles and designs empirically dependent prompt optimizers. Unfortunately, these endeavors lack a structured design template, incurring high learning costs and resulting in low reusability. In addition, it is not conducive to the iterative updating of prompts. Inspired by structured reusable programming languages, we propose LangGPT, a dual-layer prompt design framework as the programming language for LLMs. LangGPT has an easy-to-learn normative structure and provides an extended structure for migration and reuse. Experiments illustrate that LangGPT significantly enhances the performance of LLMs. Moreover, the case study shows that LangGPT leads LLMs to generate higher-quality responses. Furthermore, we analyzed the ease of use and reusability of LangGPT through a user survey in our online community.
[ -0.2838782072067261, -0.8214374780654907, 0.7006329298019409, 0.4931384027004242, -0.3129790723323822, 0.38087236881256104, -0.09197039902210236, -0.09708963334560394, 0.10293389111757278, 0.2513006329536438, -0.7352254390716553, -0.5952562093734741, -0.12038130313158035, 0.19494573771953583, -0.010801929049193859, 0.9330866932868958, -0.13910573720932007, -0.19433356821537018, -0.22644244134426117, 0.007722131442278624, -0.5641373991966248, -0.414590448141098, -1.186073899269104, -0.09546208381652832, 0.8939740061759949, 0.3687959313392639, 0.40409329533576965, 0.2875494956970215, 0.1572771519422531, 0.20864082872867584, -0.08386311680078506, -0.012279774993658066, -0.27044910192489624, 0.32746976613998413, 0.15277543663978577, -0.2721116244792938, -0.49087798595428467, -0.227579265832901, 0.45156410336494446, 0.7715516686439514, -0.23248085379600525, 0.04390835762023926, 0.4405542016029358, 0.6383992433547974, -0.2122192233800888, 0.5328856706619263, -0.16877005994319916, 0.2535145580768585, 0.08909006416797638, -0.4445515275001526, -0.39516884088516235, -0.5842212438583374, -0.10560814291238785, -0.720233142375946, 0.1461760699748993, 0.2656124234199524, 0.04042059928178787, 0.253362238407135, -0.21716958284378052, -0.40552660822868347, -0.2548086941242218, 0.5514584183692932, -0.5065654516220093, 0.34828081727027893, -0.18982264399528503, 0.4048587381839752, -0.32615554332733154, -0.7276932001113892, -0.050948865711688995, -0.5091701745986938, -0.13615082204341888, 0.21441270411014557, 0.11920522153377533, 0.13529928028583527, 0.2143673598766327, 0.21957208216190338, -0.8886839747428894, 0.29276907444000244, 0.10160500556230545, -0.2581820785999298, 0.2699064016342163, 0.2934955954551697, 0.6381180882453918, -0.005781077314168215, -0.6121030449867249, 0.2665746808052063, -0.9910362362861633, 0.4906212091445923, 0.39207586646080017, 0.6379510164260864, -0.1393997073173523, 0.24546486139297485, 0.012361008673906326, 0.72940993309021, -0.05793044716119766, -0.2040330022573471, 0.06506085395812988, -0.11471905559301376, 0.06556400656700134, 0.03179055452346802, 0.5580787658691406, 0.48425084352493286, 0.13040021061897278, -0.09274230897426605, -0.5064294934272766, -0.3542344868183136, 0.1453438550233841, -0.8809341788291931, -0.34560146927833557, 0.1424509435892105, -0.5172964334487915, -0.3003719449043274, -0.20414161682128906, -0.7647911906242371, -0.42688700556755066, -0.31273066997528076, -0.10182253271341324, -0.11000814288854599, -0.20298418402671814, 0.1169586256146431, 0.051429178565740585, 0.16927222907543182, 0.5387471318244934, -0.7556336522102356, -0.05841381475329399, 0.8320262432098389, 0.8086966276168823, -0.22913949191570282, -0.19949404895305634, -0.5207412242889404, -0.22236871719360352, -0.06455905735492706, 0.974768877029419, -0.5322727560997009, -0.8232669234275818, 0.025825925171375275, 0.010348971001803875, 0.0211078692227602, -0.27605876326560974, 0.6684161424636841, -0.6221883893013, 0.5261502861976624, -0.4243547320365906, -0.443363755941391, 0.149461567401886, 0.25301459431648254, -0.5092988610267639, 0.8588218092918396, 0.2901061177253723, -0.5415918827056885, 0.43344229459762573, -0.649993896484375, -0.47848421335220337, 0.4811294674873352, -0.19641247391700745, -0.36073607206344604, 0.15659119188785553, 0.3303305208683014, 0.030105730518698692, -0.26257070899009705, 0.35021069645881653, 0.056099358946084976, -0.5326066613197327, 0.05498170107603073, -0.4625348448753357, 0.7597041726112366, 0.38230496644973755, -0.009531368501484394, 0.2640431821346283, -0.7180836796760559, 0.19910815358161926, -0.09659393876791, -0.9837154150009155, 0.12056693434715271, 0.022576238960027695, 0.03623579442501068, -0.03425750508904457, 0.2075428068637848, -0.4477105140686035, 0.44472625851631165, -0.3043122887611389, 0.5628532767295837, 0.9075772762298584, 0.054230742156505585, 0.5479799509048462, -0.38681671023368835, 0.9151940941810608, -0.46429646015167236, 0.14048916101455688, -0.29436084628105164, -0.5508280396461487, -0.41679495573043823, -0.3745432496070862, -0.20676164329051971, 0.8098830580711365, -0.8427454829216003, 0.12039835751056671, 0.13120640814304352, -0.20991221070289612, -0.2241193950176239, 0.14746366441249847, 0.24323219060897827, 0.7278598546981812, 0.23743557929992676, -0.036248330026865005, -0.4197327494621277, -0.7229362726211548, -0.4517594873905182, -0.3673170804977417, -0.2887726128101349, 0.4167104661464691, -0.003954988904297352, -0.13394050300121307, 1.0055630207061768, -0.41353824734687805, 0.2687700390815735, -0.5383443832397461, -0.017634529620409012, 0.5192430019378662, 0.41584765911102295, 0.4684353172779083, -0.43439918756484985, -0.5747020244598389, -0.33983829617500305, -0.8495346307754517, -0.7320889830589294, -0.2615997791290283, 0.04366658255457878, 0.0037522315979003906, 0.4218677282333374, -0.6374941468238831, -0.0014344806550070643, 0.07331386208534241, -0.2049223780632019, 0.8009083271026611, -0.03463105112314224, 0.16306544840335846, -1.0591553449630737, 0.03605091571807861, -0.165705606341362, -0.08635582774877548, -0.4356669485569, 0.21160195767879486, 0.06970848143100739, -0.6525211334228516, -0.6288489103317261, 0.846819281578064, -0.6098143458366394, -0.07604910433292389, -0.35614168643951416, 0.08821715414524078, 0.08506642282009125, 0.5802075862884521, -0.23990780115127563, 1.2097713947296143, 0.6248098015785217, -0.41830703616142273, 0.5610618591308594, 0.0674658715724945, -0.2570330500602722, 0.9250440001487732, -0.9980517029762268, 0.2393772453069687, -0.4073856472969055, 0.30498331785202026, -1.1118069887161255, -0.0653739869594574, 0.5135184526443481, -0.1952480673789978, 0.26214298605918884, -0.36477363109588623, -0.2885970175266266, -0.2971692383289337, -0.474267840385437, 0.4204185903072357, 0.7532960772514343, -0.6622220873832703, 0.3564382791519165, -0.10377143323421478, -0.5533758997917175, -0.4125627279281616, -0.4265957474708557, 0.29841288924217224, -0.3148636221885681, -0.7353826761245728, 0.07588255405426025, -0.20187623798847198, -0.0662032812833786, -0.18481190502643585, -0.25246527791023254, 0.26007041335105896, 0.2405649572610855, 0.07704697549343109, 0.033187370747327805, -0.4278215765953064, 0.3105616867542267, -0.08885160833597183, -0.40734732151031494, 0.22715571522712708, -0.5644674897193909, 0.44973060488700867, -0.19165128469467163, -0.5762609839439392, -0.5016841292381287, 0.6926301717758179, 0.31628209352493286, 0.04058453068137169, 0.34067481756210327, 0.45642831921577454, -0.005351365078240633, -0.4216999113559723, -0.3097919225692749, -0.08716605603694916, -0.5757882595062256, 0.3297460675239563, -0.6161288022994995, -1.0736051797866821, 0.4701722264289856, -0.16647285223007202, 0.27946141362190247, -0.19697709381580353, 0.3570304214954376, -0.1915811449289322, 0.6358348727226257, 0.6073570847511292, 0.03793954849243164, 0.7356212139129639, 0.3334895074367523, 0.4578867256641388, -0.5971778035163879, -0.31475400924682617, -0.36087414622306824, -0.21707622706890106, -0.3114627003669739, -0.25779274106025696, 0.42300355434417725, 0.09381674975156784, -0.4158857762813568, 0.04030127450823784, -0.6619342565536499, 0.5772523283958435, 0.5928558111190796, -0.009049570187926292, 0.13262085616588593, 0.14366286993026733, -0.025348911061882973, -0.03183843567967415, -0.7662482857704163, -0.8567398190498352, 0.5675974488258362, 0.2915073335170746, 1.19057297706604, 0.2064169943332672, 0.7707564830780029, 0.2856644093990326, 0.28890663385391235, -0.8041182160377502, 0.7984687685966492, 0.018561221659183502, 0.01305041927844286, -0.08996009826660156, -0.42430388927459717, -0.8858345150947571, 0.10900174826383591, 0.4751867949962616, -0.4926536977291107, -0.10204572975635529, 0.18367193639278412, -0.4579019248485565, 0.26069769263267517, -0.8214899897575378, 0.7663009166717529, -0.33343741297721863, -0.39851388335227966, 0.3723849058151245, -0.46413514018058777, 0.024350184947252274, 0.07002213597297668, 0.03815102204680443, -0.10194770246744156, -0.22285690903663635, 0.5122787356376648, -0.617891252040863, 1.083718180656433, -0.35484543442726135, -0.460214763879776, 0.42005476355552673, 0.19780509173870087, 0.4926724135875702, 0.588576078414917, -0.10975543409585953, -0.42104482650756836, -0.2852572500705719, -0.39610788226127625, -0.86849445104599, 0.8004835844039917, -0.5145596265792847, -0.9314689636230469, -0.14466120302677155, -0.3005100190639496, -0.06349138915538788, 0.09097179025411606, 0.12703868746757507, 0.6844316124916077, -0.22534452378749847, -0.1623108834028244, 0.5687227249145508, -0.505705714225769, 0.49467429518699646, 0.43334370851516724, -0.10489914566278458, -0.17181940376758575, 0.8790566325187683, -0.26697126030921936, 0.1793963462114334, 0.5138900279998779, 0.09831975400447845, -0.5207442045211792, -0.3957724869251251, -0.7115607857704163, -0.18257175385951996, -0.7805185317993164, 0.046876851469278336, -0.4874266982078552, -0.20824378728866577, -0.18857470154762268, -0.6547092795372009, -0.045428838580846786, -0.39535894989967346, -0.46708619594573975, -0.23360125720500946, 0.22555294632911682, 0.4023647904396057, 0.03542642295360565, 0.37751251459121704, -0.4960881769657135, 0.03833113983273506, 0.4435111880302429, 0.42979228496551514, -0.16256900131702423, -0.17682838439941406, 0.29923292994499207, -0.29126960039138794, -0.05174482613801956, -0.7259854078292847, 0.1341499388217926, 0.052018821239471436, 0.8826446533203125, -0.02175181731581688, -0.09537903219461441, 0.21340900659561157, -0.5002829432487488, 1.0337361097335815, 0.11908149719238281, -0.6009625792503357, 0.6805541515350342, -0.41951191425323486, 0.4981091320514679, 0.4621719717979431, 0.12049727141857147, -0.8822948932647705, -0.17698021233081818, -0.19930627942085266, -0.9760181903839111, 0.38699251413345337, -0.1558089554309845, 0.25720852613449097, 0.0385289192199707, 0.6351915597915649, 0.3816449046134949, 0.3816136121749878, -0.6631380319595337, -0.19111023843288422, -0.47437745332717896, -0.22716520726680756, 0.016463663429021835, -0.6097201108932495, -0.00024314112670253962, 0.18922895193099976, 0.357433021068573, -0.20008043944835663, 0.5206893086433411, -0.02764439769089222, -0.12300287932157516, 0.31172850728034973, 0.6695964336395264, 0.4421967566013336, 0.5589874386787415, -0.08396175503730774, 0.3813415765762329, 0.023105960339307785, -0.25149643421173096, 0.4612056612968445, -0.1490127593278885, -0.3710881769657135, -0.2545713186264038, 0.44574546813964844, 0.7157148122787476, 0.35416021943092346, -0.4543974697589874, 0.2782835066318512, -0.14612089097499847, 0.00159071187954396, -0.21850787103176117, 0.10027942806482315, 0.052380576729774475, 0.1120355948805809, 0.19756324589252472, -0.06995376199483871, -0.04443808272480965, -0.39148709177970886, 0.29262247681617737, 0.2552286684513092, -0.25242871046066284, -0.2570857107639313, 0.8838853240013123, 0.6725217700004578, -0.8412519693374634, 0.6878681778907776, -0.39500075578689575, -0.4813021123409271, 0.45010966062545776, 0.6478881239891052, 0.9284603595733643, 0.055844977498054504, 0.461164265871048, 0.3708457946777344, 0.21343961358070374, 0.1245603933930397, 0.4217866361141205, -0.1767924576997757, -0.32206833362579346, -0.2780863344669342, -0.505262017250061, -0.4271399676799774, -0.2741166055202484, -0.13251537084579468, 0.1670871376991272, -0.7861828207969666, -0.05138185992836952, -0.7224008440971375, -0.13022036850452423, -0.44145631790161133, -0.22256478667259216, -0.025092046707868576, 0.8856335878372192, -0.7169782519340515, 0.2629942297935486, 0.8233652710914612, -0.4406544268131256, -0.6667358875274658, -0.13880984485149384, 0.243307963013649, -1.0286970138549805, 0.5215288996696472, 0.22329284250736237, -0.13189290463924408, 0.07975446432828903, -0.36778298020362854, -0.5186742544174194, 1.0012260675430298, 0.3734343647956848, -0.3878895342350006, -0.10811666399240494, 0.08651865273714066, 0.40289542078971863, -0.25476863980293274, 0.1994873583316803, 0.2573355436325073, 0.3651652932167053, 0.17667117714881897, -0.6645606160163879, 0.34823906421661377, -0.3234105706214905, 0.05306077003479004, 0.06729467213153839, -0.6763546466827393, 1.0143623352050781, -0.2854413688182831, -0.6238003969192505, 0.2622397243976593, 0.37443670630455017, 0.5410282611846924, 0.3024502396583557, 0.22950837016105652, 0.24432863295078278, 0.9111694097518921, -0.07244442403316498, 0.8663293719291687, -0.32311058044433594, 0.2735147774219513, 0.8353078365325928, -0.24806581437587738, 0.20583270490169525, 0.5292679071426392, -0.23748236894607544, 0.4474554657936096, 0.8154429793357849, 0.15621498227119446, 0.5000117421150208, 0.5411347150802612, -0.6649798154830933, -0.27215316891670227, -0.091635562479496, -0.562093198299408, -0.19096580147743225, 0.12058982253074646, -0.05769549310207367, -0.591047465801239, -0.0889393612742424, 0.06818555295467377, -0.01337351556867361, -0.14920315146446228, 0.5348759293556213, 0.2901790738105774, -0.545170783996582, 0.3255927860736847, -0.08360181003808975, 0.7150242924690247, -0.4181550145149231, -0.024377433583140373, -0.698941171169281, -0.11473841965198517, -0.1791020929813385, -1.0166512727737427, 0.05406498163938522, -0.01767883263528347, -0.11847139149904251, -0.8399899005889893, 0.8325138092041016, -0.15982738137245178, -0.4913208782672882, -0.05840987339615822, 0.9882068634033203, 0.28771916031837463, 0.07007738202810287, -0.7847324013710022, 0.04811728000640869, 0.03781358152627945, -0.4372728168964386, 0.18097002804279327, 0.4677886664867401, 0.012431958690285683, 0.939294695854187, 0.6551010608673096, -0.047714054584503174, -0.07339281588792801, 0.4710067808628082, 0.8352110385894775, -0.5996590256690979, -0.6581432223320007, -0.855145275592804, 0.5447070598602295, 0.049436941742897034, -0.22875426709651947, 0.6061349511146545, 0.5234090089797974, 0.4689764082431793, -0.1763576716184616, 0.9032872319221497, -0.014313499443233013, 0.3007194399833679, -0.7156754732131958, 0.5421020984649658, -0.41044485569000244, 0.7103216052055359, -0.18545421957969666, -0.9940939545631409, -0.4519979655742645, 0.5694474577903748, -0.150391086935997, 0.3560057282447815, 0.5245677828788757, 1.0897107124328613, 0.03863256052136421, 0.06712941080331802, 0.16156171262264252, -0.2704232335090637, 0.8962898850440979, 0.9828529357910156, 1.2472450733184814, 0.20049497485160828, 0.3033134639263153, 0.10053814202547073, -0.4289996922016144, -0.268682599067688, -1.055504322052002, -0.9487499594688416, -0.32087698578834534, -0.29729515314102173, 0.05207102373242378, 0.24818524718284607, 0.9978590607643127, 0.40031445026397705, -0.4776192307472229, -0.12569577991962433, -0.1846199780702591, 0.3807513117790222, 0.001880057156085968, -0.2756281793117523, 0.3677266836166382, -0.6934511661529541, -0.36207467317581177, 0.7075682282447815, 0.3143988251686096, 0.2757106125354767, -0.1257660835981369, 0.016194725409150124, 0.43054619431495667, -0.35079315304756165, 0.7628856301307678, 0.46603113412857056, -0.5610803365707397, -0.4638228118419647, 0.2260742336511612, -0.28404268622398376, 0.12185309827327728, 1.1542619466781616, -0.712722897529602, 0.07521457970142365, 0.6443432569503784, 0.8048985600471497, -0.1941402554512024, 0.22649428248405457, 0.6230192184448242, -0.9397556781768799, -0.01497092004865408, 0.1343051791191101, 0.4512192904949188, 0.3331647217273712, -0.4953441321849823, 0.3374202847480774, 0.27669650316238403, -0.5821468830108643, -0.6451308131217957, 0.4430960416793823, -0.9649344682693481, -0.21522729098796844, 1.1996214389801025, -0.12500612437725067, -0.03014034405350685, -0.3185581564903259, -0.6987835168838501, -0.15259726345539093, -0.7176321744918823, 0.6165656447410583, 0.5465068221092224, -0.4503403902053833, -0.7118708491325378, -0.4751700162887573, 0.5352475643157959, 0.28044813871383667, -0.7404118776321411, 0.08498982340097427, 0.620998203754425, 0.6245414614677429, -0.25809547305107117, 1.0010796785354614, 0.11828760802745819, 0.24100469052791595, 0.01933194138109684, -0.11110616475343704, -0.45003288984298706, -0.2799729108810425, -0.22962097823619843, 0.5517710447311401, 0.39495712518692017, -0.07083991169929504 ]
http://arxiv.org/abs/2402.16632v1
http://arxiv.org/pdf/2402.16632v1
Domain Embeddings for Generating Complex Descriptions of Concepts in Italian Language
2024-02-26T15:04:35
2024-02-26T15:04:35
Alessandro Maisto
cs.CL
cs.CL
In this work, we propose a Distributional Semantic resource enriched with linguistic and lexical information extracted from electronic dictionaries, designed to address the challenge of bridging the gap between the continuous semantic values represented by distributional vectors and the discrete descriptions offered by general semantics theory. Recently, many researchers have concentrated on the nexus between embeddings and a comprehensive theory of semantics and meaning. This often involves decoding the representation of word meanings in Distributional Models into a set of discrete, manually constructed properties such as semantic primitives or features, using neural decoding techniques. Our approach introduces an alternative strategy grounded in linguistic data. We have developed a collection of domain-specific co-occurrence matrices, derived from two sources: a classification of Italian nouns categorized into 4 semantic traits and 20 concrete noun sub-categories, and a list of Italian verbs classified according to their semantic classes. In these matrices, the co-occurrence values for each word are calculated exclusively with a defined set of words pertinent to a particular lexical domain. The resource comprises 21 domain-specific matrices, one comprehensive matrix, and a Graphical User Interface. Our model facilitates the generation of reasoned semantic descriptions of concepts by selecting matrices directly associated with concrete conceptual knowledge, such as a matrix based on location nouns and the concept of animal habitats. We assessed the utility of the resource through two experiments, achieving promising outcomes in both: the automatic classification of animal nouns and the extraction of animal features.
[ -0.7626124024391174, -0.7209476232528687, 0.3910151720046997, 0.08251964300870895, -0.3881150782108307, 0.001893243519589305, -0.2494698017835617, -0.41260603070259094, 0.5191470384597778, 0.09489767998456955, -0.3173663318157196, -0.5193002223968506, -0.5193016529083252, 0.11835099756717682, -0.34989145398139954, 0.8837219476699829, -0.039021629840135574, 0.1812700629234314, -0.2938658595085144, -0.03194359689950943, -0.22562694549560547, -0.4408554434776306, -0.25178784132003784, -0.2659672200679779, 0.45650503039360046, -0.17830733954906464, 0.5651615262031555, 0.6462761163711548, 0.485687255859375, 0.25320929288864136, -0.0334358848631382, 0.4717954695224762, -0.10106946527957916, -0.1254056692123413, -0.6003587245941162, -0.24196897447109222, -0.407173752784729, -0.07476402074098587, 0.4570457637310028, 0.8189242482185364, -0.264374315738678, -0.2564440965652466, -0.0178045816719532, 0.1566290259361267, -0.8495880365371704, 0.4223659336566925, -0.7292383909225464, 0.12197824567556381, -0.015577835030853748, -0.49437206983566284, -0.2909269630908966, -0.2166750282049179, 0.3458651006221771, -0.7969833612442017, 0.2353602945804596, -0.16674472391605377, 0.9929614663124084, 0.1704070121049881, -0.16433121263980865, -0.8872905373573303, -0.6240015029907227, 0.6678467392921448, -0.3252338171005249, 0.1559130698442459, 0.3642585575580597, 0.13855861127376556, -0.23565831780433655, -0.526495635509491, -0.7884745001792908, -0.29289573431015015, -0.11531384289264679, 0.006731568835675716, -0.1921035200357437, -0.027239732444286346, -0.2101786881685257, 0.34186869859695435, -0.21787293255329132, -0.1802837997674942, 0.04279987886548042, -0.16269150376319885, 0.660409152507782, 0.19214285910129547, 0.5088576078414917, 0.04177746921777725, -0.27247655391693115, -0.1370658129453659, -0.785651445388794, -0.3955550789833069, 0.3252250552177429, 0.2404581904411316, -0.11018405109643936, 0.8045682907104492, -0.03138696402311325, 0.5795724391937256, -0.08893299102783203, -0.02414322830736637, 0.3421176075935364, -0.36738064885139465, 0.1801585853099823, 0.04587957635521889, 0.5832046270370483, 0.2531786859035492, 0.31457963585853577, -0.4455126225948334, -0.12844721972942352, 0.28115972876548767, 0.33606868982315063, -0.5264030694961548, -0.03622125834226608, -0.11402115225791931, 0.05641869455575943, -0.19886131584644318, 0.1676858514547348, -0.6293772459030151, -0.123947374522686, -0.2570723593235016, 0.28595006465911865, -0.5605131983757019, -0.2846052944660187, 0.4112011194229126, -0.3405839502811432, 0.1693439781665802, 0.2734051048755646, -0.9227349758148193, 0.4532175362110138, 0.5429428219795227, 0.8000128269195557, -0.24946434795856476, -0.06417491286993027, 0.10837819427251816, 0.6072220206260681, -0.25942251086235046, 0.8164815306663513, -0.6668502688407898, -0.5673840641975403, 0.296317458152771, -0.0692770704627037, -0.03790324553847313, -0.5959693789482117, 0.2137066274881363, -0.4964689314365387, -0.05223977938294411, 0.007267555221915245, -0.8071019053459167, -0.22728551924228668, 0.32577890157699585, -0.8279323577880859, 0.6003682017326355, -0.08431003987789154, -0.8592468500137329, 0.2383352518081665, -0.8293869495391846, -0.46257561445236206, 0.17418566346168518, -0.49756336212158203, -0.16195838153362274, 0.2333085834980011, -0.31134647130966187, 0.6785767078399658, -0.3406999111175537, 0.2990535497665405, -0.26471734046936035, 0.16669361293315887, 0.518910825252533, -0.03790910542011261, 0.38276755809783936, 0.27528780698776245, -0.5214005708694458, -0.5348482131958008, -0.7970432043075562, 0.020161837339401245, 0.09409395605325699, -0.19077524542808533, -0.7401038408279419, 0.39038243889808655, -0.04368959367275238, 0.03350849449634552, 0.32661452889442444, -0.44819164276123047, 0.04635391756892204, -0.36467042565345764, 0.4708351492881775, 0.4237760603427887, -0.09763479232788086, 0.5941739678382874, 0.010529099963605404, 0.2856835126876831, 0.5383682250976562, -0.24259434640407562, 0.05614400655031204, -0.3337002396583557, -0.8173354268074036, -0.49961626529693604, 0.22245419025421143, 0.5076526999473572, -0.9060981869697571, 0.8173214793205261, -0.4527231454849243, -0.26611828804016113, -0.23221957683563232, -0.13229550421237946, 0.36277538537979126, 0.044871214777231216, 0.22570517659187317, -0.2811989188194275, -0.16413459181785583, -1.0477869510650635, 0.31857675313949585, 0.05126788094639778, 0.18047845363616943, 0.4472362995147705, 0.7692971229553223, -0.1770535111427307, 1.1106940507888794, -0.7698063254356384, -0.3191266655921936, -0.13905075192451477, 0.05834036320447922, -0.028161440044641495, 0.4914739429950714, 0.6250874400138855, -0.8898270130157471, -0.018917305395007133, 0.302358478307724, -0.8913223743438721, 0.30552783608436584, 0.06090619042515755, -0.28892186284065247, -0.13501806557178497, -0.09302996844053268, -0.7215880155563354, 0.39792442321777344, 0.12287931144237518, -0.28760647773742676, 0.06700441986322403, -0.2652454376220703, -0.1878191977739334, -1.5111640691757202, -0.09047486633062363, 0.050518739968538284, 0.11177603155374527, -0.45395275950431824, 0.21487721800804138, -0.35309645533561707, 0.15912215411663055, -0.533599317073822, 0.5379054546356201, -0.38931041955947876, -0.05494635924696922, 0.0580856017768383, 0.2566913366317749, 0.08409718424081802, 0.3567325472831726, 0.5474755764007568, 0.6087172627449036, 0.4227384030818939, -0.7798096537590027, 0.42788779735565186, 0.38560035824775696, -0.22683674097061157, 0.5769620537757874, -0.5512913465499878, 0.027937529608607292, -0.03392798453569412, 0.06109840050339699, -0.5077216625213623, -0.06439171731472015, 0.34823891520500183, -0.42253348231315613, 0.16730210185050964, 0.07653064280748367, -0.5243406891822815, 0.022771822288632393, -0.045960038900375366, 0.37986335158348083, 0.03576432168483734, -0.22607074677944183, 0.4530593454837799, 0.7503477334976196, -0.01237515639513731, -0.3897587060928345, -0.7284676432609558, 0.041713036596775055, -0.27075400948524475, -0.49052664637565613, 0.6029173135757446, 0.04672814533114433, -0.40869230031967163, 0.32136979699134827, 0.3787391185760498, -0.5265599489212036, 0.3272921144962311, 0.04225323721766472, 0.17858201265335083, -0.051935505121946335, 0.4381955564022064, 0.29865899682044983, 0.05876375734806061, -0.04256253316998482, -0.5567507743835449, 0.5860046148300171, 0.06700822710990906, -0.20583142340183258, -0.36845898628234863, 0.7834132313728333, 0.1897391527891159, -0.171900674700737, 0.771863579750061, 0.4870242774486542, -0.7183288931846619, -0.5573400855064392, -0.043913621455430984, -0.09629250317811966, -0.3665691912174225, 0.3214370012283325, -0.7594813108444214, -0.68797767162323, 0.571643054485321, -0.28098148107528687, -0.21898168325424194, 0.5535039901733398, 0.6353312134742737, -0.1469879150390625, 0.9055047631263733, 0.7316271066665649, 0.19604423642158508, 0.2512362003326416, -0.8640488386154175, 0.3039817214012146, -0.6929993033409119, -0.6170525550842285, -0.7108656167984009, -0.1707807183265686, -0.6238633394241333, -0.46366310119628906, 0.2398284673690796, 0.06070021912455559, -0.029635364189743996, 0.25511136651039124, -0.47428786754608154, 0.1999654471874237, 0.38233983516693115, 0.19915711879730225, 0.17368313670158386, 0.4683678448200226, -0.5608116984367371, 0.036935653537511826, -0.646364688873291, -0.7070761919021606, 0.7652402520179749, 0.06504034250974655, 0.803300142288208, 0.20509496331214905, 0.7336550951004028, 0.45821669697761536, -0.12335507571697235, -1.0273339748382568, 0.38665008544921875, -0.37663733959198, -0.6174893975257874, -0.08861640840768814, -0.3195664584636688, -0.8352867960929871, 0.07640887796878815, -0.10126082599163055, -0.44653934240341187, 0.661932647228241, -0.1606522649526596, -0.20779837667942047, 0.22816039621829987, -0.5101079344749451, 0.5084856152534485, -0.02708013355731964, -0.2767212390899658, -0.4374904930591583, -0.03680671751499176, -0.08646921813488007, -0.05041956156492233, 0.2969765067100525, -0.16648127138614655, -0.4002496898174286, 0.4281984865665436, -0.5744147300720215, 0.8914618492126465, -0.046785708516836166, -0.2644179165363312, 0.445887953042984, 0.05509703978896141, 0.22708077728748322, 0.026819994673132896, -0.08458248525857925, 0.25745847821235657, 0.09805919229984283, -0.4040827453136444, -0.5377503633499146, 0.6811091899871826, -1.048798680305481, -0.19787070155143738, -0.36517855525016785, -0.401777446269989, -0.17306280136108398, -0.12447536736726761, 0.262752890586853, 0.633003294467926, -0.46950584650039673, -0.07020270079374313, 0.6620583534240723, -0.43045783042907715, 0.3301699757575989, 0.3338424265384674, 0.40017077326774597, -0.43173232674598694, 1.032480001449585, 0.1975674033164978, 0.10889004170894623, 0.601664662361145, -0.2042836844921112, -0.36986595392227173, -0.5059830546379089, -0.4355866014957428, 0.11447219550609589, -0.6315755248069763, -0.24804072082042694, -0.6599970459938049, -0.13296067714691162, -0.09152615815401077, -0.1837102770805359, -0.29034554958343506, -0.635160505771637, -0.41459208726882935, -0.1836889237165451, 0.31977254152297974, 0.8574396967887878, -0.1452029049396515, 0.24725915491580963, -0.6606054306030273, 0.20465126633644104, 0.11391666531562805, 0.18850870430469513, -0.030657446011900902, -0.023976538330316544, -0.6483769416809082, 0.36610180139541626, -0.24557483196258545, -0.8062987327575684, 0.6425616145133972, 0.5916220545768738, 0.7425886988639832, 0.4165858030319214, 0.023808984085917473, 0.6593956351280212, -0.6497459411621094, 0.7947806119918823, 0.3514726161956787, -0.9265232086181641, 0.6570590734481812, -0.2787034213542938, -0.34290191531181335, 0.29337164759635925, 0.6396386623382568, -0.0501154363155365, -0.21863839030265808, -0.5833007097244263, -0.7811086177825928, 0.49017900228500366, 0.271859735250473, 0.557191789150238, -0.6574879884719849, 0.49737557768821716, 0.21610680222511292, 0.29766032099723816, -0.321599543094635, -0.2295398861169815, -0.2915441691875458, -0.43929600715637207, -0.03520709276199341, -0.13820327818393707, -0.27421730756759644, -0.22041377425193787, 0.5252891778945923, -0.26543229818344116, 0.6592603325843811, 0.2139900028705597, -0.4225159287452698, 0.41115573048591614, 0.15689189732074738, 0.5263592004776001, 0.5927239656448364, 0.15274818241596222, 0.490470826625824, -0.05826421082019806, -0.452990859746933, 0.3041728734970093, -0.017470233142375946, -0.2447633594274521, 0.47707557678222656, 0.27182435989379883, 0.6624240279197693, 0.23008263111114502, -0.5611575841903687, 0.5399264097213745, 0.14078187942504883, -0.007479301653802395, -0.6959970593452454, -0.12410511821508408, 0.17781522870063782, 0.16355235874652863, 0.14097853004932404, -0.19045230746269226, 0.47244715690612793, -0.6914947032928467, 0.38945016264915466, 0.3095392882823944, -0.22329682111740112, -0.6300703883171082, 0.23835358023643494, 0.2718621492385864, 0.02861107885837555, 0.5059501528739929, -0.4838942885398865, -0.43688708543777466, 0.7105876207351685, 0.49528464674949646, 0.9687625765800476, -0.033569514751434326, 0.5828178524971008, 0.330608993768692, -0.18865907192230225, -0.021088218316435814, 0.2566807270050049, -0.26153770089149475, -1.4234561920166016, -0.037777308374643326, -0.8429840207099915, -0.07129175961017609, -0.3530997335910797, -0.7386323809623718, 0.14330914616584778, -0.4499320685863495, -0.3668424189090729, 0.18390877544879913, 0.019660549238324165, -0.661575436592102, 0.18331019580364227, 0.1667158007621765, 0.728351891040802, -0.7913704514503479, 0.9668586850166321, 0.9369824528694153, -0.6944496035575867, -0.6615571975708008, -0.3778632879257202, -0.3244056701660156, -0.6684380173683167, 1.0707331895828247, -0.34212449193000793, -0.28472721576690674, 0.05090600624680519, -0.36609476804733276, -0.6237243413925171, 1.1090452671051025, 0.4285350739955902, -0.4574872553348541, -0.09262203425168991, 0.5010411143302917, 0.6021217703819275, -0.9017133116722107, 0.22430437803268433, 0.33165597915649414, 0.3394899368286133, 0.33926811814308167, -0.5870057344436646, -0.14945465326309204, -0.48746851086616516, 0.25092238187789917, -0.1531383991241455, -0.21360309422016144, 0.7016939520835876, -0.007589035667479038, -0.4037243127822876, 0.1803172379732132, 0.42382240295410156, -0.06260974705219269, 0.16306324303150177, 0.22162367403507233, 0.9598814845085144, 0.5571994185447693, -0.26933395862579346, 1.130977749824524, -0.40467098355293274, 0.4955548644065857, 0.8759673833847046, -0.13748320937156677, 0.9129577875137329, 0.4620319604873657, -0.19601354002952576, 0.7502819299697876, 0.7508200407028198, -0.02139095589518547, 0.8803331851959229, 0.44018661975860596, -0.7084866166114807, -0.32429200410842896, -0.6763836145401001, -0.46542978286743164, 0.4611021876335144, 0.835533082485199, -0.46532711386680603, -0.306318998336792, 0.06752609461545944, -0.10600516945123672, 0.06564778089523315, -0.20918212831020355, 1.1102352142333984, 0.1819210946559906, -0.20689402520656586, 0.5493781566619873, -0.14333678781986237, 0.4428868591785431, -0.42405980825424194, -0.2924553155899048, -0.16919513046741486, 0.32725051045417786, -0.14720524847507477, -0.6332007050514221, 0.43965157866477966, -0.05666006729006767, -0.26468876004219055, -0.1752789169549942, 0.21738316118717194, -0.4371437728404999, -0.37576597929000854, 0.5007583498954773, 0.5735175609588623, 0.2925841510295868, 0.21502439677715302, -0.6240834593772888, -0.0738779827952385, -0.3003670573234558, 0.0666581392288208, 0.07999137043952942, 0.7764337062835693, -0.004164356738328934, 0.5548953413963318, 0.4091733992099762, 0.30391404032707214, 0.20605333149433136, 0.11724428087472916, 0.9838728308677673, -0.6386898159980774, -0.4311118423938751, -0.694611668586731, 0.4448337256908417, -0.13522331416606903, -0.1747269183397293, 0.2329828292131424, 0.484784871339798, 1.0314452648162842, -0.21231359243392944, 0.9109742045402527, -0.40715423226356506, -0.013164086267352104, -0.4303639531135559, 0.6058882474899292, -0.528675377368927, 0.22923268377780914, 0.09705030173063278, -0.9934595823287964, -0.2174990028142929, 0.8383168578147888, -0.06559628993272781, -0.2453460395336151, 0.7250229716300964, 0.8144664764404297, 0.060997795313596725, -0.276155024766922, 0.3969653844833374, 0.19429722428321838, 0.11351963132619858, 0.41621363162994385, 1.0884253978729248, -0.24080809950828552, 0.10571549832820892, -0.142597958445549, -0.024545593187212944, 0.040817975997924805, -0.5298588871955872, -0.6566447615623474, -0.9058857560157776, -0.34496474266052246, -0.14602495729923248, 0.2835233509540558, 0.9176880717277527, 0.7279438376426697, -0.9969561100006104, -0.25779372453689575, -0.19018685817718506, 0.15008258819580078, 0.03693057969212532, -0.21633702516555786, 0.3120575249195099, -0.5012909770011902, -1.0114593505859375, -0.030124107375741005, 0.30573055148124695, 0.004336053505539894, -0.4954684376716614, -0.21623419225215912, -0.28319934010505676, 0.2036956548690796, 0.6638088822364807, -0.11977896839380264, -0.5546824932098389, -0.3471214771270752, -0.1267779916524887, -0.23253685235977173, -0.20181554555892944, 0.7395522594451904, -0.545613706111908, 0.34456557035446167, 0.5692093372344971, 0.6552573442459106, 0.27831190824508667, -0.4181640148162842, 0.7839354872703552, -0.47820812463760376, 0.36677587032318115, 0.26096582412719727, 0.504443347454071, 0.24485114216804504, -0.24657531082630157, 0.486458957195282, 0.5521517992019653, 0.2863767445087433, -0.3964245319366455, 0.3588782548904419, -1.0096334218978882, -0.32120493054389954, 1.0122038125991821, -0.7466140985488892, -0.4064292907714844, -0.07179056107997894, 0.1464841216802597, 0.2440938651561737, -0.26173675060272217, 0.9113665223121643, 0.7713547945022583, 0.18561482429504395, 0.1356889009475708, -0.24423407018184662, 0.48294031620025635, -0.1625111699104309, -0.7942174077033997, -0.45353737473487854, 0.6678612232208252, 0.2560788691043854, 0.5613452792167664, 0.016533199697732925, -0.41453853249549866, 0.13301682472229004, 0.04118170589208603, 0.3155497908592224, 0.06972628831863403, -0.20456017553806305, -0.08678320795297623, 0.20602817833423615, -0.08755188435316086, -0.30611181259155273 ]
http://arxiv.org/abs/2402.16617v2
http://arxiv.org/pdf/2402.16617v2
Long-Context Language Modeling with Parallel Context Encoding
2024-02-26T14:47:35
2024-06-11T18:54:13
Howard Yen, Tianyu Gao, Danqi Chen
cs.CL
cs.CL
Extending large language models (LLMs) to process longer inputs is crucial for a wide range of applications. However, the substantial computational cost of transformers and limited generalization of positional encoding restrict the size of their context window. We introduce Context Expansion with Parallel Encoding (CEPE), a framework that can be applied to any existing decoder-only LLMs to extend their context window. CEPE employs a small encoder to process long inputs chunk by chunk, enabling the frozen decoder to utilize additional contexts via cross-attention. CEPE is efficient, generalizable, and versatile: trained with 8K-token documents, it extends the context window of LLAMA-2 to 128K tokens, offering 10x the throughput with only 1/6 of the memory. CEPE yields strong performance on language modeling and in-context learning. CEPE also excels in retrieval-augmented applications, while existing long-context models degenerate with retrieved contexts. We further introduce a CEPE variant that can extend the context window of instruction-tuned models using only unlabeled data, and showcase its effectiveness on LLAMA-2-CHAT, leading to a strong instruction-following model that can leverage very long contexts on downstream tasks.
[ -0.22510719299316406, -0.6504226326942444, 0.7757454514503479, 0.4528287351131439, -0.22296416759490967, -0.0763896256685257, -0.8832502365112305, -0.7337365746498108, -0.04131714999675751, 0.4868738651275635, -0.3113223910331726, -0.4780867397785187, -0.7915450930595398, 0.06789129227399826, -0.4968258738517761, 0.4883976876735687, 0.03803922235965729, -0.15280793607234955, -0.2988930344581604, 0.0599697045981884, -0.52711421251297, -0.6563056111335754, -0.5371049642562866, -0.28343379497528076, 0.38589608669281006, 0.6971791982650757, 0.4035276174545288, 0.5895420908927917, 0.008542629890143871, 0.32404735684394836, -0.17673298716545105, -0.0004930388531647623, -0.6533790230751038, 0.051999665796756744, -0.27488094568252563, -0.2932831645011902, -0.66205233335495, -0.30051401257514954, 0.7174590229988098, 0.7716848254203796, -0.11598096042871475, 0.10841168463230133, 0.41947805881500244, 0.4567524790763855, -0.6932221055030823, 0.18711066246032715, -0.5398470759391785, -0.2815271019935608, -0.26615744829177856, -0.06569791585206985, -0.5823961496353149, 0.32035350799560547, 0.20166608691215515, -0.29233306646347046, -0.21558472514152527, -0.11244512349367142, 0.3524855673313141, 0.05081084743142128, -0.5953173637390137, -0.16455988585948944, -0.7099421620368958, 1.0962855815887451, -0.5252770185470581, 0.5937735438346863, 0.24025124311447144, 0.24891190230846405, -0.2904694080352783, -0.8187745809555054, -0.2694424092769623, -0.06323757767677307, 0.06600282341241837, -0.16351202130317688, -0.027076730504631996, 0.21772311627864838, 0.19186462461948395, 0.2667241394519806, -0.23595532774925232, 0.4086262285709381, -0.36663731932640076, 0.020461667329072952, 0.3066374957561493, 0.16365019977092743, 0.26702407002449036, 0.3018110394477844, -0.748813271522522, 0.08422257006168365, -0.6462671160697937, 0.08027845621109009, -0.08282297104597092, 0.1305401474237442, -0.3422904908657074, 0.3826713562011719, -0.3823949098587036, 0.8220438957214355, -0.07981275767087936, -0.07267221808433533, 0.12516552209854126, -0.10076943784952164, -0.42142051458358765, -0.024265533313155174, 0.48304179310798645, 0.48893508315086365, -0.07812687754631042, -0.2416219711303711, -0.11706972867250443, -0.09111957997083664, -0.1306583732366562, -1.0434457063674927, 0.35252439975738525, 0.296007364988327, -0.30183637142181396, -0.018456116318702698, -0.26396647095680237, -0.9133159518241882, -0.03641461580991745, -0.33215466141700745, -0.13433639705181122, -0.3363897502422333, -0.13600777089595795, 0.3904080390930176, 0.016388818621635437, 0.2462240606546402, 0.29075247049331665, -1.0129296779632568, 0.6555302739143372, 0.8837102055549622, 0.5467687249183655, -0.42054060101509094, -0.5293096303939819, -0.6810979843139648, 0.3770957887172699, -0.10591491311788559, 0.6603190302848816, -1.010608196258545, -0.461380273103714, 0.030920619145035744, 0.3766269087791443, -0.05871408432722092, -0.3007608652114868, 0.6084305047988892, -0.5794628262519836, 0.13136166334152222, -0.25814586877822876, -0.8446348309516907, -0.038107361644506454, 0.16815748810768127, -0.47308266162872314, 0.9809795022010803, 0.05739433690905571, -0.5381072163581848, 0.01847948133945465, -0.7238525152206421, -0.2255086451768875, 0.08806505799293518, -0.30226510763168335, 0.15689441561698914, 0.36501315236091614, 0.2931590676307678, 0.5159561634063721, -0.6750271320343018, 0.3150116503238678, -0.35004177689552307, -0.5570681095123291, -0.07597873359918594, -0.48782700300216675, 0.49033647775650024, -0.018755434080958366, -0.26551806926727295, 0.065975122153759, -0.5839306116104126, -0.05670546740293503, 0.06876442581415176, -0.614215075969696, -0.3821170926094055, 0.145066037774086, 0.1780852973461151, 0.20023225247859955, 0.6231472492218018, -0.7652050256729126, 0.08860481530427933, -0.27438053488731384, 0.5232312679290771, 0.49171867966651917, -0.3551853895187378, 0.7080243825912476, 0.018839776515960693, 0.3025083541870117, 0.03131236881017685, 0.07172965258359909, -0.44778934121131897, -0.2924731373786926, -0.641210675239563, -0.29100149869918823, 0.1608951836824417, 0.4653797447681427, -0.3825111389160156, 0.27560535073280334, -0.5582701563835144, 0.012138617224991322, 0.09949935972690582, 0.17520618438720703, 0.2906073331832886, 0.6033312678337097, 0.3691363036632538, -0.25968262553215027, -0.5882114768028259, -0.9533118605613708, -0.17251917719841003, 0.11558759957551956, -0.21224230527877808, 0.36863428354263306, 0.15598759055137634, -0.3696673810482025, 0.835736095905304, -0.3037518262863159, -0.036908332258462906, -0.1916106939315796, -0.3629109263420105, 0.33112940192222595, 0.4720531105995178, 0.4329468905925751, -0.5429994463920593, -0.5080375075340271, 0.06502436101436615, -0.6153586506843567, -0.037418581545352936, 0.016552159562706947, 0.02463068999350071, 0.11447227746248245, 0.8609641790390015, -0.5731833577156067, 0.15542659163475037, 0.8274861574172974, -0.3816744387149811, 0.33479079604148865, -0.1624269336462021, -0.03590612858533859, -1.061530590057373, -0.06402936577796936, -0.21892109513282776, -0.5854486227035522, -0.7130475044250488, 0.14708305895328522, 0.45833301544189453, -0.3340297341346741, -0.7084674835205078, 0.7810131311416626, -0.7496967911720276, -0.18424125015735626, -0.7005984783172607, 0.08719050139188766, 0.00956975668668747, 0.5958422422409058, 0.33084356784820557, 0.7777612209320068, 0.7399861812591553, -0.43005573749542236, 0.1930370181798935, -0.16016347706317902, -0.3621344268321991, 0.13324032723903656, -0.6275482177734375, 0.2153232991695404, -0.10009496659040451, 0.5202810168266296, -0.5504745244979858, -0.2814774811267853, -0.14332766830921173, -0.007246366236358881, 0.4500528573989868, -0.251232773065567, -0.46099111437797546, -0.23736853897571564, -0.216415673494339, 0.7257577776908875, 0.526273787021637, -0.915678083896637, 0.4704555571079254, 0.231736958026886, -0.15174725651741028, -0.7538273334503174, -0.41487810015678406, 0.3145061135292053, -0.3139520585536957, -0.4995731711387634, 0.6603014469146729, 0.05055360868573189, 0.03923659771680832, -0.135895237326622, -0.08473526686429977, -0.05088171362876892, 0.005143729038536549, 0.21684499084949493, -0.06225672364234924, -0.20576684176921844, 0.15289129316806793, 0.23755718767642975, 0.04586393013596535, 0.09432151168584824, -0.33016452193260193, 0.8193631172180176, -0.33064085245132446, -0.13738946616649628, -0.2727590501308441, 0.6964660882949829, 0.7272014617919922, 0.031045593321323395, 0.7349624633789062, 0.27096259593963623, -0.5192146301269531, -0.2506452202796936, -0.4243597984313965, -0.07523339241743088, -0.5280739665031433, 0.6678099036216736, -0.5355073809623718, -1.118851900100708, 0.5250109434127808, -0.3954591453075409, -0.052553340792655945, 0.20982834696769714, 0.6687067151069641, 0.06786954402923584, 0.7778131365776062, 1.0264265537261963, -0.3015153110027313, 0.6779680848121643, 0.012808054685592651, -0.201364204287529, -1.139484167098999, -0.13893860578536987, -0.05084289237856865, -0.09779276698827744, -0.2980571389198303, -0.8117423057556152, 0.044487014412879944, 0.3864589035511017, -0.06139611452817917, 0.5524070262908936, -0.2715073823928833, 0.9457995295524597, 0.22384601831436157, 0.25019532442092896, 0.1412171870470047, -0.09756212681531906, -0.08316729962825775, 0.19980251789093018, -0.7192541360855103, -0.5389308929443359, 1.1834254264831543, 0.7651333808898926, 0.478061705827713, -0.12185533344745636, 0.6844950914382935, 0.0017143968725576997, 0.2825676500797272, -0.5885425209999084, 0.5927860736846924, -0.1423870474100113, -0.39931049942970276, -0.3892366290092468, 0.11892828345298767, -0.7422824501991272, 0.2571011483669281, 0.19112488627433777, -1.0399123430252075, 0.42238378524780273, 0.07027532905340195, -0.24564053118228912, 0.3463778793811798, -0.6427851319313049, 0.686616837978363, -0.153405100107193, -0.4989074170589447, -0.5195171236991882, -0.36877959966659546, 0.41590580344200134, -0.15805654227733612, 0.1366851031780243, -0.3571566641330719, -0.4304872751235962, 0.4850042462348938, -0.45409494638442993, 1.0540471076965332, -0.07921218872070312, -0.30863791704177856, 0.2741396427154541, -0.2036007195711136, 0.6979829668998718, 0.265611857175827, -0.17011989653110504, 0.34657686948776245, -0.037043824791908264, -0.7228835821151733, -0.4030516445636749, 1.0326931476593018, -0.4671604037284851, -0.9285385608673096, -0.07964367419481277, -0.5785069465637207, -0.25006556510925293, 0.17579533159732819, 0.15776433050632477, 0.37229976058006287, -0.22355292737483978, 0.4021153151988983, 0.27024245262145996, -0.27377182245254517, 0.7453289031982422, 0.3349176049232483, -0.14375314116477966, -0.07668770849704742, 0.42549046874046326, -0.2991836965084076, 0.228362575173378, 0.4492744505405426, 0.12483874708414078, -0.23639418184757233, -0.41456425189971924, -0.4111332595348358, -0.005070258863270283, -0.7705631256103516, -0.019091002643108368, -0.5386129021644592, -0.08350750803947449, -0.2227036952972412, -0.09901273250579834, -0.5424125790596008, -0.32710719108581543, -0.2830985188484192, 0.11889386922121048, 0.2780974507331848, 0.21215905249118805, 0.0013053745497018099, 0.39770618081092834, -0.8232646584510803, 0.1209767758846283, 0.5107150077819824, 0.46251624822616577, 0.15331237018108368, -0.48085007071495056, -0.3864455223083496, -0.08289017528295517, -0.06777208298444748, -0.9408050775527954, 0.34268641471862793, 0.13709422945976257, 0.30069342255592346, 0.3317469358444214, -0.05970623716711998, 0.7088350057601929, -0.91566401720047, 0.5914750099182129, 0.2387767732143402, -0.9317039251327515, 0.16277097165584564, -0.4206793010234833, 0.5016766786575317, 0.41430363059043884, 0.12905000150203705, -0.39562615752220154, -0.014796577394008636, -0.2116309255361557, -0.7987403273582458, 0.5228514075279236, 0.0536210760474205, 0.4439018964767456, -0.3624348044395447, 0.3098178207874298, 0.13852113485336304, -0.10926718264818192, -0.4828011095523834, 0.12447548657655716, 0.056791212409734726, 0.020699186250567436, -0.10425057262182236, -0.7083515524864197, -0.09149337559938431, -0.2594625651836395, 0.201647087931633, -0.22550155222415924, 0.4608100354671478, 0.20981477200984955, -0.23480288684368134, 0.1475333273410797, 0.5817210078239441, 0.6110759973526001, 0.7275416254997253, -0.13761505484580994, 0.05115148425102234, 0.6089581251144409, -0.1670411229133606, -0.16883262991905212, 0.05643300712108612, 0.43590208888053894, -0.17695166170597076, 0.14553655683994293, 0.8566690683364868, 0.5777329206466675, -0.7840719223022461, 0.5716251134872437, -0.08897896856069565, 0.04841884970664978, -0.48615562915802, -0.10652346163988113, 0.4427837133407593, 0.41439422965049744, 0.34930506348609924, -0.333698034286499, 0.24984268844127655, -0.5679431557655334, 0.19817519187927246, 0.24248859286308289, -0.24086420238018036, -0.36287930607795715, 0.6518213152885437, 0.5779619812965393, -0.19875720143318176, 0.4980570673942566, 0.2102750986814499, -0.38482311367988586, 0.7237517833709717, 0.9163570404052734, 0.7657087445259094, 0.01433979719877243, -0.3968501687049866, 0.29141950607299805, 0.027473369613289833, -0.1831739842891693, 0.15898454189300537, -0.5750895738601685, -0.5558344125747681, -0.7465972900390625, -0.6957798004150391, -0.418404221534729, 0.38589921593666077, -0.6084281206130981, 0.45099321007728577, -0.23681539297103882, -0.09318643063306808, -0.42417559027671814, -0.24408218264579773, -0.7755110263824463, 0.04820100590586662, 0.5520976185798645, 1.2181328535079956, -0.6123508810997009, 1.4518579244613647, 0.4344293177127838, 0.4384269118309021, -0.2630889117717743, -0.022173525765538216, -0.31250903010368347, -0.6348250508308411, 0.5016466975212097, 0.5393158197402954, -0.15298371016979218, -0.06941957771778107, -0.35602134466171265, -1.069843053817749, 1.1261628866195679, 0.3379034698009491, -1.2252042293548584, -0.2875938415527344, 0.20541948080062866, 0.4265846014022827, -0.7092136740684509, 0.019703155383467674, 0.7098951935768127, 0.10577037930488586, -0.34476903080940247, -1.0386953353881836, 0.24399316310882568, -0.10020826756954193, 0.1972952038049698, 0.1344357132911682, -0.677867591381073, 0.5637927651405334, -0.06052320823073387, -0.28651267290115356, 0.13976949453353882, 0.8299264907836914, 0.34810665249824524, 0.1157718300819397, 0.5757638216018677, 0.3352726995944977, 0.38639312982559204, 0.2490779608488083, 1.1331709623336792, -0.7495349049568176, 0.2523384094238281, 1.4379210472106934, -0.277883380651474, 1.0784351825714111, 0.6912071108818054, 0.13938771188259125, 0.5635092854499817, 0.6209233403205872, 0.3881826102733612, 0.40454792976379395, -0.06777899712324142, -0.4128763973712921, -0.3637179136276245, 0.0722222626209259, -0.30357876420021057, 0.37851566076278687, 0.687785804271698, -0.49359339475631714, -0.316694051027298, 0.10848797857761383, -0.11930130422115326, 0.15159659087657928, -0.29543718695640564, 0.3683949112892151, 0.37422454357147217, -0.4577299952507019, 0.719012439250946, 0.3091629147529602, 0.8347935676574707, -0.14218690991401672, 0.1304454505443573, -0.1420505940914154, 0.12801477313041687, 0.08310361951589584, -0.5224472880363464, 0.3089101314544678, 0.046823613345623016, -0.28207993507385254, -0.2667910158634186, 0.8346878886222839, -0.6290042400360107, -0.3457953631877899, 0.6766837239265442, 0.2922774851322174, 0.0685737133026123, -0.015512007288634777, -0.5081443190574646, 0.33662497997283936, -0.31909918785095215, -0.5012205243110657, 0.5389983654022217, 0.1899496465921402, -0.33554109930992126, 0.5406001806259155, 0.41279336810112, -0.3020051121711731, 0.18763910233974457, 0.011593743227422237, 1.041092038154602, -0.7242493629455566, -0.4648829698562622, -0.9329178929328918, 0.36362776160240173, -0.2385254055261612, -0.036107029765844345, 0.5528565645217896, 0.7024550437927246, 0.8405417203903198, -0.03316689282655716, 0.4975837469100952, 0.19202682375907898, 0.3079664409160614, -0.4269714951515198, 0.3720511496067047, -0.4429398775100708, 0.4072483777999878, 0.10951267182826996, -1.0459991693496704, -0.04646855592727661, -0.06262341141700745, -0.4064989387989044, -0.26529306173324585, 0.6224023699760437, 0.4230291545391083, -0.3908080756664276, -0.15464861690998077, 0.5036935210227966, 0.008434467948973179, 0.0978982076048851, 1.0535374879837036, 0.6909402012825012, -0.4401540458202362, 0.38241127133369446, -0.2643018960952759, -0.3200414776802063, -0.2445029765367508, -0.9721631407737732, -1.011136770248413, -0.348285049200058, -0.06398867070674896, 0.03465088829398155, -0.005175094585865736, 0.8527949452400208, 0.9609723687171936, -0.5690693855285645, -0.45157361030578613, -0.14097103476524353, -0.04217812418937683, -0.013727457262575626, -0.13743890821933746, 0.2740609645843506, -0.5006784796714783, -1.242451548576355, 0.9897562265396118, 0.39907920360565186, -0.029621198773384094, 0.03189075365662575, -0.2580786347389221, 0.21080514788627625, 0.19768907129764557, 1.0096790790557861, 0.5820944309234619, -0.7206606268882751, -0.2524164617061615, 0.0261966772377491, -0.025392746552824974, 0.11459029465913773, 0.6707380414009094, -0.8433189392089844, 0.23345577716827393, 0.4638248383998871, 0.6268650889396667, 0.7942559123039246, -0.023569969460368156, 0.9575831294059753, -0.740607500076294, 0.542048990726471, -0.06176341697573662, 0.5396038889884949, 0.11067641526460648, -0.4573810398578644, 0.16757771372795105, -0.1367739737033844, -0.4406149089336395, -0.8853792548179626, 0.3775085210800171, -0.8543974757194519, -0.5875380635261536, 1.2308603525161743, -0.09441068768501282, -0.5490916967391968, 0.14673613011837006, 0.11542631685733795, 0.0028559225611388683, -0.42801663279533386, 0.45806509256362915, 0.6480494737625122, -0.1100754365324974, -0.3123478293418884, -0.4675441384315491, 0.3431447148323059, 0.5153827667236328, -0.7046053409576416, 0.37973400950431824, 0.36425483226776123, 0.50946444272995, -0.1419723629951477, 0.6734088063240051, -0.33049073815345764, 0.27420157194137573, -0.14988361299037933, -0.06253033131361008, -0.058469854295253754, -0.5363382697105408, -0.44915345311164856, 0.32084622979164124, -0.04004037007689476, -0.32572227716445923 ]
http://arxiv.org/abs/2402.16608v1
http://arxiv.org/pdf/2402.16608v1
PAQA: Toward ProActive Open-Retrieval Question Answering
2024-02-26T14:40:34
2024-02-26T14:40:34
Pierre Erbacher, Jian-Yun Nie, Philippe Preux, Laure Soulier
cs.CL
cs.CL, cs.IR
Conversational systems have made significant progress in generating natural language responses. However, their potential as conversational search systems is currently limited due to their passive role in the information-seeking process. One major limitation is the scarcity of datasets that provide labelled ambiguous questions along with a supporting corpus of documents and relevant clarifying questions. This work aims to tackle the challenge of generating relevant clarifying questions by taking into account the inherent ambiguities present in both user queries and documents. To achieve this, we propose PAQA, an extension to the existing AmbiNQ dataset, incorporating clarifying questions. We then evaluate various models and assess how passage retrieval impacts ambiguity detection and the generation of clarifying questions. By addressing this gap in conversational search systems, we aim to provide additional supervision to enhance their active participation in the information-seeking process and provide users with more accurate results.
[ -0.4052388072013855, -1.1126080751419067, 0.6279603242874146, 0.04699511453509331, -0.059003692120313644, -0.24700817465782166, 0.06989894062280655, -0.2215137928724289, 0.10132075101137161, 0.6226322650909424, -0.7327031493186951, -0.04677692428231239, -0.3415389358997345, 0.040907811373472214, -0.5590736865997314, 0.5417780876159668, -0.10420002788305283, -0.19909262657165527, -0.11129852384328842, -0.059551212936639786, -0.38580575585365295, -0.4677547514438629, -0.7758030891418457, -0.06619944423437119, 0.495685875415802, 0.5020450949668884, 1.1611303091049194, 0.13211697340011597, 0.3752923309803009, 0.195582315325737, -0.291003555059433, 0.44513577222824097, -0.35301682353019714, 0.5201265215873718, -0.1697269082069397, -0.7218785285949707, -0.10421492159366608, -0.3031283915042877, 0.7008539438247681, 0.8872988820075989, -0.304837703704834, 0.05504155904054642, -0.17780226469039917, 0.5760761499404907, -1.0727533102035522, -0.05628260225057602, -0.49246034026145935, 0.14583496749401093, -0.450933039188385, -0.1936822235584259, -0.21958452463150024, -0.45878344774246216, 0.270387202501297, -0.9620334506034851, 0.13763408362865448, -0.04975196346640587, 1.0013048648834229, 0.2897157371044159, -0.9086223244667053, -0.6564690470695496, -0.7074279189109802, 0.2997828722000122, -0.6305273771286011, 0.42706307768821716, 0.3597044050693512, 0.5403689742088318, -0.3495001494884491, -0.9671550393104553, -0.7844206094741821, 0.159999281167984, -0.2536121606826782, 0.30438271164894104, -0.3902069628238678, 0.061985984444618225, 0.0009317127987742424, 0.6062247157096863, -0.40360063314437866, -0.33201807737350464, -0.5046922564506531, -0.12392500787973404, 0.32151538133621216, 0.1073383092880249, 0.16817235946655273, -0.1851213276386261, -0.16162721812725067, -0.03504249453544617, -0.7365621328353882, 0.388335257768631, 0.773936927318573, 0.35457801818847656, 0.46491140127182007, 0.6590888500213623, -0.49607279896736145, 0.6626960039138794, 0.069233238697052, 0.556090235710144, 0.08857233822345734, -0.5349221229553223, -0.11296966671943665, -0.16844281554222107, 0.4409792721271515, 0.009022178128361702, 0.06970855593681335, -0.05875184386968613, -0.06616651266813278, -0.6354407668113708, 0.567197322845459, -0.4154030680656433, -0.19768306612968445, 0.46095743775367737, -0.26840054988861084, 0.0883609876036644, 0.4816174805164337, -0.6353040933609009, -0.35769397020339966, -0.3178848922252655, 0.6597297787666321, -0.18157964944839478, -0.3893316388130188, 0.269527405500412, -0.1453583538532257, 0.24041377007961273, 0.5877269506454468, -0.5685282349586487, 0.35003527998924255, 0.34871748089790344, 0.3944063186645508, 0.3382492959499359, 0.3087773621082306, -0.9405466318130493, 0.09458418190479279, -0.3215605616569519, 0.4190870225429535, -0.8052349090576172, -0.5896050930023193, 0.17528994381427765, 0.20551250874996185, -0.04608255997300148, -0.866895854473114, 0.945464551448822, -0.9663326144218445, 0.5676596760749817, -0.6394732594490051, -0.1546373963356018, -0.36275362968444824, 0.35939568281173706, -0.6620423197746277, 1.1052137613296509, 0.017764460295438766, -0.592509925365448, 0.02691032737493515, -0.7700287699699402, -0.05744148790836334, 0.2569272816181183, -0.15055739879608154, -0.24852800369262695, 0.009398384019732475, 0.48576876521110535, -0.058781128376722336, -0.23588067293167114, 0.4705100953578949, 0.15752938389778137, -0.3889395296573639, 0.4958016872406006, -0.37457871437072754, 0.8323873281478882, 0.31241464614868164, -0.18791478872299194, 0.06386388838291168, -0.35929444432258606, 0.2520473301410675, -0.2551122009754181, -0.6535817384719849, -0.3193036615848541, -0.05823774263262749, -0.4159577190876007, -0.06731143593788147, 0.27128875255584717, -0.41622307896614075, 0.10920415073633194, -0.6218512654304504, -0.05769495293498039, 0.4850384294986725, 0.4573124647140503, 0.33684608340263367, -0.1947791874408722, 0.7042200565338135, 0.28538110852241516, 0.3019351661205292, -0.32450318336486816, -0.6419190168380737, -1.048912763595581, 0.1186143234372139, 0.358993798494339, 0.6283515691757202, -1.009822964668274, 0.22932645678520203, 0.19055397808551788, -0.24063177406787872, -1.0113778114318848, -0.024451732635498047, 0.4972285032272339, 0.6712163686752319, 0.5575091242790222, -0.48540547490119934, -0.43782129883766174, -0.8966737389564514, -0.33773860335350037, -0.44721823930740356, -0.3636012077331543, 0.7511763572692871, 0.3654908835887909, 0.06057629734277725, 0.9697690010070801, -0.5184597969055176, -0.11440388113260269, 0.46391937136650085, 0.13377846777439117, 0.3469778597354889, 0.3018459379673004, 0.09816339612007141, -1.3999431133270264, -0.21960943937301636, -0.2597312033176422, -0.7323349118232727, -0.3752434253692627, 0.04080008342862129, -0.3551817238330841, -0.2870866060256958, 0.555808961391449, -0.7485794425010681, 0.635120153427124, 0.07501910626888275, -0.30531561374664307, 0.6533316373825073, -0.15816625952720642, 0.3966987133026123, -0.5714216232299805, 0.4236065149307251, -0.5913642644882202, 0.09239451587200165, -0.8086162209510803, 0.23139673471450806, 0.18495191633701324, -0.2252141684293747, -0.5168682932853699, 0.7856219410896301, -0.42053020000457764, 0.11041051149368286, 0.011240050196647644, 0.46711060404777527, 0.16520366072654724, 0.2223847508430481, -0.06654448807239532, 0.8886547088623047, 0.41534703969955444, -1.0058740377426147, 0.16767701506614685, 0.7145455479621887, -0.16182883083820343, 0.3354520797729492, -0.7347825765609741, 0.10732139647006989, -0.30492112040519714, 0.2685544788837433, -1.1622295379638672, -0.43562906980514526, 0.6514390707015991, -0.5018404722213745, -0.05597076192498207, -0.04382623732089996, -0.5722460746765137, -0.31497037410736084, 0.09152930229902267, 0.7328537106513977, 0.0344933420419693, -0.6769707202911377, 0.4590734839439392, 0.1857161521911621, -0.29265519976615906, -0.9197385907173157, -0.19822606444358826, 0.05917878821492195, 0.029997562989592552, -0.7457045316696167, 0.3615884482860565, 0.10192771255970001, -0.4330465793609619, 0.11338218301534653, -0.2971329092979431, -0.19626328349113464, 0.12876930832862854, 0.16447846591472626, -0.06078048050403595, -0.14470773935317993, 0.5154557824134827, -0.003739887150004506, 0.2238573431968689, -0.016331104561686516, -0.10095921158790588, 0.41394633054733276, -0.19119985401630402, -0.6547673940658569, -0.12106823921203613, 0.47354599833488464, 0.04893925040960312, -0.7586072087287903, 0.7437396049499512, 0.562745213508606, -0.2549184560775757, 0.22093799710273743, -0.3771219551563263, -0.2752409279346466, -0.5300858020782471, -0.11748167872428894, -0.587646484375, -0.9749107360839844, 0.66624915599823, 0.09455427527427673, -0.13656063377857208, 0.23203924298286438, 0.5371714234352112, -0.23322062194347382, 0.8992542624473572, 0.28502747416496277, 0.8152207136154175, 0.3431658148765564, 0.11264598369598389, 0.44694045186042786, -0.8278299570083618, -0.5482739210128784, -0.6083600521087646, -0.18004260957241058, -0.40387600660324097, -0.5832574367523193, 0.656194269657135, 0.26132678985595703, -0.06503450870513916, 0.002944405423477292, -0.3569314479827881, 0.1743444949388504, 1.0455585718154907, 0.33815792202949524, 0.33384138345718384, -0.46459293365478516, -0.06309661269187927, 0.1361086517572403, -0.35004526376724243, -0.6371939182281494, 0.9374164342880249, 0.11837069690227509, 0.6059018969535828, 0.8075506687164307, 0.4221726953983307, 0.08694741874933243, -0.09735140204429626, -0.5732027888298035, 0.5300655961036682, 0.24962343275547028, -1.251765251159668, -0.4609118402004242, -0.3410717248916626, -1.3079710006713867, 0.4540013074874878, -0.1476564109325409, -0.6275681257247925, 0.4832911491394043, 0.05280980467796326, -0.4326479136943817, -0.04892108589410782, -0.6729603409767151, 0.7579417824745178, -0.0974479466676712, -0.4861270785331726, 0.2268664836883545, -0.8700060248374939, 0.46546217799186707, -0.034365542232990265, -0.025822004303336143, 0.03439393639564514, -0.33770886063575745, 0.5568570494651794, -0.47648829221725464, 0.6727563142776489, -0.420463889837265, -0.19197113811969757, 0.7722066640853882, 0.09545639157295227, 0.29688552021980286, 0.206586092710495, -0.3504042625427246, -0.5152682662010193, 0.15288525819778442, -0.6051137447357178, -0.6817091703414917, 0.14746692776679993, -0.4169124960899353, -1.1259430646896362, -0.16571179032325745, -0.41036468744277954, -0.3600008189678192, 0.31161755323410034, -0.10574661195278168, 0.2684556543827057, -0.08498811721801758, 0.4736420512199402, 0.8814162611961365, -0.3924664556980133, -0.009612757712602615, 0.7646366357803345, -0.15889036655426025, 0.170689195394516, 0.2573901414871216, 0.06971472501754761, 0.023960411548614502, 0.5008143782615662, 0.031191768124699593, -0.5537581443786621, -0.46747562289237976, -0.26270976662635803, 0.2604208290576935, -0.7065094709396362, -0.07444103807210922, -0.6115137338638306, -0.14369508624076843, -0.6353850364685059, 0.24995382130146027, 0.07609786093235016, -0.433327853679657, -0.5096389055252075, 0.1840844601392746, 0.005952458828687668, 0.35494014620780945, 0.18707497417926788, 0.5086366534233093, -0.7967015504837036, 0.38890478014945984, 0.4803653061389923, 0.09130468219518661, -0.1843581348657608, -0.6830230355262756, 0.14031539857387543, 0.167477086186409, -0.6442710161209106, -1.289591908454895, 0.1609744280576706, 0.3081701695919037, 0.8272885084152222, 0.355375736951828, 0.6815193295478821, 0.5985028743743896, -0.06960088759660721, 0.8739502429962158, -0.12224742025136948, -0.5978754162788391, 0.8494558930397034, -0.4724183678627014, 0.5397436618804932, 0.7786048650741577, 0.6392020583152771, -0.5402063131332397, -0.3946334719657898, -0.6219393610954285, -1.1069203615188599, 0.6689199209213257, 0.6454686522483826, -0.019442828372120857, -0.14059455692768097, 0.49776652455329895, -0.09238572418689728, 0.44131314754486084, -0.4899592697620392, -0.08325573801994324, -0.09254071861505508, -0.018509717658162117, 0.35412776470184326, -0.16985724866390228, -0.2061065137386322, 0.23115874826908112, 0.8286449313163757, -0.10249398648738861, 0.2180563360452652, 0.5226485133171082, 0.13293704390525818, -0.07966452091932297, 0.6569067239761353, -0.015081841498613358, 0.4408171772956848, -0.30601033568382263, 0.07425566017627716, -0.08587025851011276, -0.2632245421409607, 0.0793176218867302, 0.18642409145832062, -0.2834828794002533, 0.06770370900630951, -0.0376649908721447, 0.517311155796051, 0.041410982608795166, -1.147753357887268, 0.5993877053260803, -0.2788931429386139, -0.20207303762435913, -0.3969033658504486, 0.26935410499572754, 0.04237029701471329, 0.35046693682670593, 0.5382781624794006, -0.15565665066242218, 0.4773583710193634, -0.8240734338760376, 0.3035557270050049, 0.3846137225627899, -0.5768647789955139, -0.014639719389379025, 0.6455086469650269, 0.38833925127983093, -0.5133718252182007, 0.954424262046814, -0.18149195611476898, -0.3737000823020935, 0.49125936627388, 0.12757496535778046, 0.3853188157081604, -0.25652265548706055, 0.19158893823623657, 0.3626668155193329, 0.109853595495224, 0.2297702431678772, 0.6156107783317566, -0.32231080532073975, -0.5409538149833679, -0.06495561450719833, -0.48740705847740173, -0.7757949233055115, 0.037452906370162964, -0.844388484954834, 0.2950863838195801, -0.039324190467596054, -0.35769766569137573, -0.10024716705083847, 0.026394829154014587, -0.45620471239089966, 0.32265621423721313, -0.19433753192424774, 1.114396572113037, -0.42268553376197815, 0.5892773866653442, 0.7668566703796387, -0.5814587473869324, -0.6714935302734375, 0.30597004294395447, -0.0003957590088248253, -0.4893999695777893, 0.603364884853363, 0.07931987196207047, 0.00920121744275093, -0.07003343105316162, -0.33142969012260437, -0.6596503257751465, 1.018936038017273, 0.2860269844532013, -0.13394683599472046, -0.4590698480606079, 0.044730294495821, 0.6079988479614258, -0.09792745113372803, 0.4447113871574402, 0.514294445514679, 0.6578782200813293, 0.41223540902137756, -0.9550167918205261, -0.038898296654224396, -0.48226869106292725, -0.5790168642997742, 0.35032325983047485, -0.5185133814811707, 0.886207640171051, -0.13752931356430054, -0.5390248894691467, 0.3555184006690979, 0.45583146810531616, 0.06241614744067192, 0.48923709988594055, 0.45216768980026245, 0.2980780601501465, 1.1776138544082642, -0.2983764708042145, 0.8347498178482056, 0.19886639714241028, -0.17957662045955658, 1.3324958086013794, -0.11617480963468552, 0.9761332273483276, 0.5766844153404236, -0.16790656745433807, 0.2894100844860077, 0.7695757746696472, 0.33130666613578796, 0.35863494873046875, 0.18040622770786285, -0.7494673132896423, -0.3964253067970276, -0.34895169734954834, -0.3482731580734253, 0.47023749351501465, 0.6415666341781616, -0.2771543562412262, -0.30253303050994873, -0.19109131395816803, -0.16036880016326904, 0.3612745702266693, -0.03257221356034279, 0.7055758833885193, -0.22084355354309082, -1.157514214515686, 0.39854276180267334, 0.008164463564753532, 0.17211495339870453, -0.5768724679946899, 0.11310847103595734, -0.28271952271461487, -0.0027819841634482145, -0.19866609573364258, -1.0240657329559326, 0.27427223324775696, -0.2550928294658661, 0.016430076211690903, -0.018571533262729645, 0.6045612692832947, -0.42712628841400146, -0.005842097569257021, 0.10326516628265381, 0.845443069934845, 0.32022824883461, -0.27168869972229004, -0.6628599762916565, -0.2546793222427368, 0.13584010303020477, -0.23970285058021545, -0.11833447217941284, 0.5979828834533691, -0.16951358318328857, 0.7530045509338379, 0.47828543186187744, -0.2309345006942749, 0.2811734974384308, -0.0643656849861145, 0.9492770433425903, -0.3335595428943634, -0.4705740213394165, -0.14684563875198364, 0.5160778760910034, -0.027527913451194763, -0.2819928228855133, 0.7044616341590881, 0.5440739989280701, 0.6534695029258728, 0.11795513331890106, 0.6463281512260437, -0.2527507245540619, 0.7508072257041931, -0.4703250825405121, 0.19198626279830933, -0.6421014070510864, 0.5398415923118591, 0.12784677743911743, -0.7285817861557007, -0.10803765058517456, 0.21618644893169403, -0.5036894679069519, -0.10823603719472885, 0.3473234176635742, 1.1739733219146729, -0.21524152159690857, 0.2054571658372879, 0.06866413354873657, -0.013739668764173985, 0.5086329579353333, 0.5391027927398682, 1.083831548690796, -0.836333692073822, 1.0284053087234497, 0.22547166049480438, -0.0555250346660614, -0.4232029616832733, -0.5521485209465027, -0.5614588260650635, -0.8262411952018738, -0.14377059042453766, -0.08936955034732819, 0.36581119894981384, 0.2973889708518982, 0.6081885695457458, -0.6314926147460938, 0.008324522525072098, -0.06334692984819412, 0.15064860880374908, 0.02468911185860634, -0.30586084723472595, 0.15457797050476074, -0.46310749650001526, -0.7987768054008484, 0.46916791796684265, -0.124513179063797, 0.11342965066432953, 0.052989162504673004, -0.15546941757202148, -0.7188546061515808, 0.3139033019542694, 0.08264778554439545, 0.48750630021095276, -0.7065154314041138, -0.1502435952425003, 0.1448114663362503, 0.17729851603507996, -0.03210394084453583, 0.8006385564804077, -0.8356385827064514, 0.8633111119270325, 0.4386306405067444, 0.7835421562194824, 0.6502911448478699, 0.5057522654533386, 0.6919175982475281, -1.2017817497253418, -0.10995764285326004, 0.4587204158306122, -0.21269653737545013, 0.2576603591442108, -0.37569376826286316, 0.6246517300605774, -0.18642672896385193, -0.4273954927921295, -0.806041955947876, 0.42700403928756714, -0.7728312015533447, -0.38054436445236206, 0.8845135569572449, -0.24671879410743713, 0.06587551534175873, -0.45878633856773376, -0.49025118350982666, 0.23401394486427307, -0.41259732842445374, 0.5148128867149353, 0.7106423377990723, -0.3092641830444336, -0.17689961194992065, -0.6658763885498047, 0.37498340010643005, 0.5761439800262451, -0.6728005409240723, 0.22153060138225555, 0.504697322845459, -0.35978248715400696, 0.322688490152359, 0.8855438232421875, -0.30838409066200256, 0.5699320435523987, -0.09569810330867767, -0.3911360204219818, 0.10185226052999496, -0.20171064138412476, -0.011422498151659966, 0.5380845069885254, 0.18848296999931335, -0.1935003250837326 ]
http://arxiv.org/abs/2402.16602v2
http://arxiv.org/pdf/2402.16602v2
Rethinking Negative Instances for Generative Named Entity Recognition
2024-02-26T14:30:37
2024-06-19T03:16:58
Yuyang Ding, Juntao Li, Pinzheng Wang, Zecheng Tang, Bowen Yan, Min Zhang
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated impressive capabilities for generalizing in unseen tasks. In the Named Entity Recognition (NER) task, recent advancements have seen the remarkable improvement of LLMs in a broad range of entity domains via instruction tuning, by adopting entity-centric schema. In this work, we explore the potential enhancement of the existing methods by incorporating negative instances into training. Our experiments reveal that negative instances contribute to remarkable improvements by (1) introducing contextual information, and (2) clearly delineating label boundaries. Furthermore, we introduce an efficient longest common subsequence (LCS) matching algorithm, which is tailored to transform unstructured predictions into structured entities. By integrating these components, we present GNER, a Generative NER system that shows improved zero-shot performance across unseen entity domains. Our comprehensive evaluation illustrates our system's superiority, surpassing state-of-the-art (SoTA) methods by 9 $F_1$ score in zero-shot evaluation.
[ -0.43856456875801086, -0.6598576903343201, 0.6014435291290283, -0.4034930169582367, -0.4106471836566925, -0.11134989559650421, -0.2889861762523651, -0.6364798545837402, 0.2560860812664032, 0.3685489296913147, -0.40206101536750793, -0.6522964835166931, -0.43976113200187683, 0.22650015354156494, -0.6430665850639343, 0.9986086487770081, 0.16324932873249054, -0.1674596220254898, -0.24618051946163177, -0.23505492508411407, -0.5075207352638245, -0.6483283638954163, -0.7444555163383484, -0.5838422179222107, 0.6230085492134094, 0.5954132080078125, 0.26548659801483154, 0.4955521523952484, 0.1596621423959732, 0.224544495344162, 0.1614743322134018, -0.1802883893251419, -0.5804576873779297, 0.29909995198249817, -0.32805171608924866, -0.2597884237766266, -0.19231756031513214, -0.17747507989406586, 0.36049583554267883, 0.4507933259010315, -0.24650952219963074, 0.09356909245252609, -0.1884433925151825, 0.363186776638031, -0.7264779806137085, 0.01123636681586504, -0.9580025672912598, 0.22891169786453247, -0.4514772295951843, -0.3963027894496918, -0.6511260867118835, 0.1788913756608963, 0.08390146493911743, -0.8056228160858154, 0.7864975929260254, -0.0404583178460598, 1.1373082399368286, 0.05378846079111099, -0.3193425238132477, -0.28703704476356506, -0.813413679599762, 0.8362572193145752, -0.5797656774520874, 0.6679264307022095, -0.16440679132938385, 0.21599392592906952, -0.2745434641838074, -0.12399918586015701, -0.7477726936340332, -0.15195900201797485, 0.0833662897348404, 0.11733952164649963, -0.3624271750450134, 0.10885556042194366, 0.3666907846927643, 0.41850703954696655, -0.34872668981552124, 0.639255940914154, -0.26618853211402893, -0.15275610983371735, 0.4858986735343933, 0.04954610764980316, 0.38615936040878296, 0.07782807946205139, -0.251708447933197, 0.11594358831644058, -0.9926601052284241, -0.26627835631370544, 0.27237460017204285, 0.518402636051178, -0.030186384916305542, 0.8242602944374084, -0.249346524477005, 0.7322657704353333, 0.30678796768188477, 0.05681324005126953, 0.3842877447605133, 0.21573123335838318, -0.46265482902526855, 0.29632413387298584, 0.26554450392723083, 0.4138251543045044, 0.313742995262146, -0.6135798096656799, -0.06889011710882187, 0.4683089256286621, 0.3010137379169464, -1.0793530941009521, -0.15895166993141174, -0.00508077023550868, 0.04594035446643829, -0.10127712786197662, -0.2945016324520111, -0.7093710899353027, -0.48651936650276184, -0.7820290327072144, 0.4778958559036255, -0.5627248287200928, 0.06334348767995834, -0.08489543199539185, -0.15900301933288574, 0.5025426745414734, 0.6231154203414917, -0.7740720510482788, 0.21550901234149933, 0.6823385953903198, 0.4666396379470825, 0.16130103170871735, 0.06216253712773323, -0.7579026222229004, 0.2449922114610672, -0.4988904297351837, 0.9195124506950378, -0.5784445405006409, -0.2587795853614807, -0.24245423078536987, -0.03181159868836403, 0.0702466368675232, -0.7055246829986572, 0.3394146263599396, -0.7158025503158569, 0.04137871786952019, -0.054405663162469864, -0.9099113941192627, -0.2187355011701584, 0.3812786340713501, -0.2616848945617676, 0.5331583023071289, 0.056195709854364395, -0.5409239530563354, 0.776317834854126, -0.3089938461780548, -0.532575249671936, 0.48012518882751465, -0.4609650671482086, -0.6679845452308655, 0.5414241552352905, 0.16251857578754425, 0.5143027901649475, -0.23877982795238495, 0.10669732093811035, -0.3808029592037201, -0.6931504011154175, -0.07272662967443466, -0.21303972601890564, 0.4127625823020935, -0.23455263674259186, -0.38914361596107483, -0.17982244491577148, -0.9159400463104248, 0.12988026440143585, 0.062263719737529755, -0.07585633546113968, -0.7846495509147644, -0.17599937319755554, -0.3265426456928253, 0.05599025636911392, -0.3643088936805725, -0.6875978112220764, 0.2204757183790207, -0.3349744975566864, 0.44813960790634155, 0.5723835825920105, 0.10354677587747574, 0.5755589604377747, 0.20033910870552063, 0.4658563435077667, 0.20949426293373108, -0.22135677933692932, -0.11773248016834259, -0.10366855561733246, -1.1869862079620361, -0.2144923061132431, 0.3693200945854187, 0.46037471294403076, -0.9313126802444458, 0.16427521407604218, -0.3204704821109772, -0.48642703890800476, -0.1870240569114685, 0.023129018023610115, 0.46495020389556885, 0.8887819051742554, 0.841742217540741, -0.32374048233032227, -0.7209388613700867, -1.0080238580703735, -0.06755753606557846, 0.007171842269599438, -0.0164114348590374, 0.7670807838439941, 0.5960311889648438, -0.4373760521411896, 0.6152710914611816, -0.2785450220108032, -0.5705283880233765, -0.1741047203540802, 0.06752534955739975, 0.32724320888519287, 0.3524706959724426, 0.24936170876026154, -0.4836426079273224, -0.45657822489738464, -0.1386878937482834, -0.8499374389648438, 0.11539008468389511, -0.1816684901714325, 0.018951505422592163, 0.3345358669757843, 0.7108930349349976, -0.6294990181922913, 0.4482487142086029, 0.26698699593544006, -0.07825721055269241, 0.5056018829345703, -0.06349389255046844, -0.17544661462306976, -0.7765450477600098, -0.10424727201461792, 0.3270567059516907, 0.02055308222770691, -0.7077359557151794, 0.05169215425848961, 0.22244884073734283, -0.17670060694217682, -0.4108318090438843, 0.5370815992355347, -0.9178574681282043, -0.1484214812517166, -0.06937279552221298, 0.1844393014907837, -0.07387841492891312, 0.3403802514076233, 0.07841940224170685, 0.9091048836708069, 0.6594206690788269, -0.8459101319313049, -0.03842630982398987, 0.11531893908977509, -0.3461555242538452, 1.0350624322891235, -0.6257620453834534, 0.35530683398246765, -0.6210607290267944, 0.16409963369369507, -0.311828076839447, -0.13183651864528656, 0.26133647561073303, -0.2652176022529602, 0.7989355325698853, -0.3672204315662384, -0.04302743822336197, -0.29230251908302307, -0.07626251876354218, 0.454794704914093, 0.3340182900428772, -0.444399893283844, 0.41538986563682556, 0.32423362135887146, 0.13582803308963776, -0.6877819299697876, -0.6267167925834656, 0.5676934719085693, -0.3765875995159149, 0.06505134701728821, 0.8167380690574646, 0.38179025053977966, -0.009507473558187485, 0.14461643993854523, -0.34444132447242737, 0.0964214876294136, 0.05622090771794319, 0.31167078018188477, 0.2411498874425888, -0.309785932302475, 0.45736971497535706, -0.06494694948196411, -0.41202855110168457, -0.4327234625816345, -0.28421804308891296, 0.3912309408187866, -0.1398213803768158, -0.189538836479187, -0.5138353705406189, 0.09242214262485504, 0.2683001458644867, -0.11344621330499649, 0.7679574489593506, 0.2538773715496063, -0.4879378378391266, -0.3719627559185028, -0.5240386128425598, 0.035265643149614334, -0.3820582330226898, 0.28335508704185486, -0.4857744872570038, -1.0923811197280884, 0.18032895028591156, 0.12895755469799042, -0.40528684854507446, 0.43590009212493896, 0.09609249979257584, -0.10092122852802277, 0.4727506637573242, 0.8048909306526184, -0.10668138414621353, 0.40926292538642883, -0.42992737889289856, 0.6269782781600952, -1.1862012147903442, -0.21715611219406128, -0.37170782685279846, -0.14632655680179596, -0.47314584255218506, -0.3848791718482971, 0.23899461328983307, 0.49296486377716064, -0.3263508677482605, 0.8061325550079346, -0.548399031162262, 0.722856879234314, 0.3162647485733032, -0.028018232434988022, 0.16434086859226227, -0.08710253983736038, -0.081060990691185, -0.2681840658187866, -0.31747278571128845, -0.38356250524520874, 0.8519837260246277, 0.022203411906957626, 0.6274848580360413, 0.0682123601436615, 1.1190030574798584, 0.32832401990890503, 0.8300026059150696, -1.0379784107208252, 0.6735625863075256, -0.4559873342514038, -0.4756288230419159, -0.3914051353931427, -0.3284974694252014, -0.8438482880592346, 0.25350362062454224, -0.187380850315094, -0.8466468453407288, 0.36118680238723755, 0.15349464118480682, -0.33479398488998413, 0.16919246315956116, -0.7001568675041199, 0.7585815787315369, -0.14202284812927246, -0.11909840255975723, 0.06667947769165039, -0.07390710711479187, 0.1621541827917099, 0.005954062566161156, -0.08319654315710068, -0.11659540235996246, 0.06116895005106926, 0.2802738845348358, -0.18784016370773315, 0.5829542279243469, -0.4575585126876831, -0.313467413187027, 0.219363272190094, -0.04471259191632271, 0.5119330883026123, 0.1497061848640442, -0.18286818265914917, 0.462411105632782, -0.7044126391410828, -0.13665375113487244, -0.6715968251228333, 0.7547318935394287, -0.5060383081436157, -0.6533297896385193, -0.35999733209609985, -0.07400716841220856, -0.04939010366797447, 0.36556506156921387, 0.37054288387298584, 0.6685724258422852, -0.32541149854660034, 0.26187556982040405, 0.5851997137069702, -0.40214648842811584, 0.11063849925994873, 0.7145482897758484, -0.006971736438572407, -0.29226553440093994, 0.9053916335105896, 0.40250787138938904, -0.07933958619832993, 0.8064190149307251, -0.406764954328537, -0.41820135712623596, -0.7255299091339111, -0.7066246867179871, 0.1765487790107727, -0.5211166143417358, -0.6452335119247437, -0.7448179721832275, -0.33454617857933044, -0.177058145403862, -0.2456199675798416, -0.19409343600273132, -0.12325049936771393, -0.5976069569587708, -0.23823857307434082, 0.03794312849640846, 0.36359965801239014, 0.0747569128870964, -0.05321011319756508, -0.47586315870285034, 0.5026269555091858, 0.3331393003463745, 0.40557560324668884, 0.16870371997356415, -0.46577832102775574, -0.002177255693823099, -0.05336447432637215, -0.12393949925899506, -0.790440022945404, 0.3027280867099762, 0.4893118739128113, 0.5610766410827637, 0.2964852452278137, 0.049956247210502625, 1.0370593070983887, -0.8301169872283936, 0.39771726727485657, 0.22495201230049133, -1.0556453466415405, 0.4723314940929413, -0.19594909250736237, -0.06285493075847626, 0.5479329228401184, 0.19769670069217682, -0.6554561257362366, -0.2120114266872406, -0.5638324022293091, -1.125749111175537, 0.5252386331558228, 0.16576005518436432, 0.4190119504928589, -0.29182106256484985, 0.6072763800621033, 0.16029483079910278, 0.20086710155010223, -0.6977218985557556, -0.29791155457496643, -0.13361045718193054, 0.1424735188484192, -0.4764155447483063, -0.23044393956661224, 0.326440691947937, -0.1217421367764473, 1.0696614980697632, -0.048272378742694855, 0.348646342754364, 0.2844826877117157, -0.4030429720878601, -0.07676543295383453, 0.9195494651794434, 0.47264453768730164, 0.20370540022850037, -0.03158951550722122, 0.3120865821838379, 0.3569897711277008, 0.0528571680188179, 0.4535887539386749, 0.1702490746974945, -0.725621223449707, 0.07531904429197311, 0.18243221938610077, 0.799433171749115, 0.2876272201538086, -0.3794730007648468, 0.36369383335113525, 0.009024819359183311, -0.09446317702531815, -0.5554840564727783, 0.2744159400463104, 0.031782593578100204, 0.15851350128650665, 0.32210054993629456, -0.03966567665338516, 0.2057115137577057, -0.47732335329055786, 0.19166123867034912, 0.6281388998031616, -0.6579194068908691, -0.37281590700149536, 0.434498131275177, -0.0012434154050424695, -0.4622010290622711, 0.8524318337440491, -0.594204306602478, -0.5083046555519104, 0.6254771947860718, 0.7831261157989502, 0.9100388288497925, 0.03851234167814255, 0.5196191072463989, 0.4597356915473938, 0.07941807806491852, 0.11787009984254837, -0.03818819671869278, -0.3093527853488922, -1.0606870651245117, -0.4081769287586212, -0.6471332907676697, -0.3980500400066376, 0.65499347448349, -0.6868160367012024, 0.4270015060901642, -0.277084082365036, -0.07495612651109695, 0.49489253759384155, -0.21681372821331024, -0.7939265966415405, 0.30770203471183777, 0.3642711937427521, 0.5348027348518372, -0.6511716842651367, 0.6925851702690125, 0.7943233251571655, -0.4689716398715973, -0.6449778079986572, -0.0709294006228447, -0.21688562631607056, -0.6075061559677124, 0.7009298801422119, 0.7005609273910522, -0.21261705458164215, 0.21354025602340698, -0.3026845455169678, -0.9067798256874084, 0.954544186592102, 0.36136141419410706, -0.9995278120040894, 0.049082282930612564, -0.06725529581308365, 0.8398270010948181, -0.22716744244098663, 0.21650785207748413, 0.2798641622066498, 0.08757326006889343, -0.09024472534656525, -0.45146939158439636, 0.031718213111162186, -0.31758373975753784, 0.2500942349433899, 0.6563205122947693, -0.31238001585006714, 0.8055705428123474, -0.5458422899246216, -0.7863682508468628, 0.1993389129638672, 0.5072787404060364, 0.21342527866363525, 0.40328678488731384, 0.38185301423072815, 1.0937737226486206, 0.6625464558601379, 0.024851053953170776, 0.8201958537101746, 0.04662695527076721, 0.5066367983818054, 1.4346630573272705, -0.6262710094451904, 0.6306161880493164, 0.6139076948165894, 0.03922053053975105, 0.8633083701133728, 0.15188246965408325, -0.3619593679904938, 0.49599066376686096, 0.5953312516212463, -0.29291287064552307, -0.4867076575756073, -0.5014145970344543, -0.5209618806838989, 0.5009744167327881, 0.44085240364074707, -0.32504212856292725, -0.6209567189216614, -0.10124045610427856, -0.0952528864145279, 0.01734728366136551, -0.3114467263221741, 0.6941583156585693, 0.1866096407175064, -0.37131738662719727, 0.4998972415924072, 0.1507783830165863, 0.818149209022522, -0.04217630252242088, -0.3346310257911682, -0.07944700121879578, 0.3939994275569916, -0.19832465052604675, -0.3837873637676239, 0.07464687526226044, 0.14615631103515625, -0.1994345486164093, -0.11273752152919769, 0.9501016139984131, -0.2852252125740051, -0.42325282096862793, 0.4870087802410126, 0.4282592236995697, 0.09595748037099838, -0.08243829756975174, -0.3703935742378235, -0.350582093000412, -0.3363046646118164, 0.08045122772455215, 0.311535507440567, 0.5263522267341614, -0.14272679388523102, 0.503886878490448, 0.53028804063797, -0.11833018809556961, -0.2179996520280838, 0.48605355620384216, 0.5918756723403931, -0.9198837876319885, -0.1929318904876709, -0.9075190424919128, 0.2381725013256073, -0.11341048777103424, -0.24181590974330902, 0.773958146572113, 0.7710855603218079, 1.2613508701324463, -0.11392774432897568, 0.645291805267334, -0.10961078852415085, 0.4964149296283722, -0.32577991485595703, 0.2631981372833252, -0.5737756490707397, 0.22118830680847168, -0.35587015748023987, -1.0180784463882446, -0.5740196704864502, 0.4746170938014984, -0.5297685861587524, -0.016560573130846024, 0.20461994409561157, 0.7062867283821106, -0.12104983627796173, -0.07008936256170273, 0.4310482442378998, 0.2565816044807434, 0.38104405999183655, 0.6484147310256958, 1.0100511312484741, -0.7325932383537292, 0.24991072714328766, -0.41318127512931824, 0.15047158300876617, -0.23901109397411346, -0.9828503727912903, -0.7764165997505188, -0.11923733353614807, -0.4558533728122711, -0.023065073415637016, 0.4525409936904907, 0.6731919050216675, 0.5617234110832214, -1.1066131591796875, 0.27578553557395935, -0.594537615776062, -0.04264379292726517, -0.07784812152385712, -0.31501665711402893, 0.12560217082500458, -0.2394307404756546, -0.43249720335006714, 0.47931191325187683, 0.5716177821159363, 0.21182012557983398, 0.1667482852935791, 0.050400301814079285, 0.17271654307842255, -0.09811863303184509, 0.7041638493537903, 0.47769537568092346, -0.6823199391365051, -0.6498472094535828, 0.05425529554486275, -0.025251323357224464, 0.05099797993898392, 0.7204310894012451, -0.9461904168128967, 0.25326967239379883, -0.05594523996114731, 0.5540133118629456, 0.5936463475227356, 0.11180878430604935, 0.23135530948638916, -0.6147081255912781, -0.11011555790901184, 0.3848338723182678, 0.3381565511226654, 0.6074360609054565, -0.4962458610534668, 0.4814758002758026, 0.14413730800151825, -0.23802657425403595, -0.8009278774261475, 0.21521902084350586, -0.6396286487579346, 0.002042433712631464, 1.0078928470611572, -0.043185293674468994, 0.14752720296382904, -0.2300787717103958, 0.2114638090133667, 0.3121386766433716, -0.5334002375602722, 0.8174617886543274, 0.34346112608909607, -0.3033711612224579, -0.14906704425811768, -0.27797824144363403, -0.014340868219733238, 0.3089076280593872, -0.5864059925079346, -0.15122617781162262, 0.6753992438316345, 0.4175248146057129, 0.26227685809135437, 0.7865635752677917, -0.06960572302341461, 0.060893308371305466, -0.265282541513443, 0.2803443968296051, -0.20595228672027588, -0.6734405159950256, -0.48808056116104126, 0.11855562776327133, -0.1510045826435089, -0.010297562927007675 ]
http://arxiv.org/abs/2402.16596v1
http://arxiv.org/pdf/2402.16596v1
Semantic change detection for Slovene language: a novel dataset and an approach based on optimal transport
2024-02-26T14:27:06
2024-02-26T14:27:06
Marko Pranjić, Kaja Dobrovoljc, Senja Pollak, Matej Martinc
cs.CL
cs.CL, I.2.7
In this paper, we focus on the detection of semantic changes in Slovene, a less resourced Slavic language with two million speakers. Detecting and tracking semantic changes provides insights into the evolution of the language caused by changes in society and culture. Recently, several systems have been proposed to aid in this study, but all depend on manually annotated gold standard datasets for evaluation. In this paper, we present the first Slovene dataset for evaluating semantic change detection systems, which contains aggregated semantic change scores for 104 target words obtained from more than 3000 manually annotated sentence pairs. We evaluate several existing semantic change detection methods on this dataset and also propose a novel approach based on optimal transport that improves on the existing state-of-the-art systems with an error reduction rate of 22.8%.
[ -0.37152597308158875, -0.6055564284324646, 0.2552487254142761, 0.05530109256505966, -0.3509431779384613, -0.5817087292671204, -0.22430367767810822, -0.542605459690094, 0.36890774965286255, 0.7460697293281555, -0.8449194431304932, -0.5717960596084595, -0.6935822367668152, 0.36932501196861267, -0.33450281620025635, 0.6745877861976624, -0.09410460293292999, 0.022805774584412575, 0.15788652002811432, -0.5096305012702942, -0.6648725271224976, -0.04727935418486595, -0.244329035282135, -0.37164604663848877, 0.35446757078170776, 0.3645123541355133, 0.5017045736312866, 0.4773370027542114, 0.5141464471817017, 0.24645568430423737, -0.2262209951877594, 0.16466909646987915, -0.24350395798683167, 0.3533724844455719, -0.3793048560619354, -0.2790016233921051, -0.041835300624370575, -0.38254600763320923, 0.9543176889419556, 0.6712047457695007, 0.1288161426782608, 0.5458072423934937, -0.4205726683139801, 0.8942149877548218, -0.7083017230033875, 0.5383522510528564, -1.0214885473251343, 0.10021334141492844, -0.7329794764518738, -0.34415480494499207, -0.4567190110683441, -0.019902227446436882, -0.0008170147775672376, -0.7585145831108093, -0.19642984867095947, 0.12389998137950897, 0.44522932171821594, 0.44027137756347656, -0.6566256880760193, -0.3035464584827423, -0.5239789485931396, 0.8085337281227112, -0.39725324511528015, 0.5388652086257935, 0.04156110808253288, 0.16674591600894928, -0.5465735793113708, -0.3939721882343292, -0.30990004539489746, -0.1316748857498169, 0.050736039876937866, -0.08787525445222855, -0.5670909881591797, -0.35512927174568176, 0.07281868159770966, -0.3350675702095032, -0.6173986196517944, 0.11014095693826675, -0.24288253486156464, -0.40818408131599426, 0.7172971963882446, 0.4579888582229614, 0.4065046012401581, -0.13297532498836517, -0.27367836236953735, -0.16083204746246338, -0.6925998330116272, -0.1868606060743332, 0.3703233599662781, 0.41138821840286255, 0.432390034198761, 0.7317151427268982, -0.6697084903717041, 1.0869531631469727, -0.32438185811042786, -0.159071147441864, 0.5804895162582397, -0.7529602646827698, 0.02045907825231552, 0.30850422382354736, 0.46639230847358704, 0.6092608571052551, 0.1432543247938156, -0.31402310729026794, -0.3044857680797577, 0.4237031936645508, -0.1475173681974411, -0.49113503098487854, -0.2717650234699249, -0.3944351375102997, -0.41286954283714294, -0.15219952166080475, -0.2836185097694397, -0.6402792930603027, -0.3954055905342102, -0.3460502326488495, 0.1484869420528412, -0.4034632444381714, -0.3674739897251129, 0.7101739645004272, 0.023127302527427673, 0.43247148394584656, 0.5295908451080322, -0.9726783633232117, 0.4398767352104187, 0.5036217570304871, 0.7809005975723267, -0.364335834980011, 0.0015634861774742603, -0.522693932056427, 0.0025269438046962023, -0.5112635493278503, 1.3277839422225952, -0.4108304977416992, -0.12033601105213165, -0.16337423026561737, 0.18188683688640594, -0.06238485872745514, -0.47157740592956543, 0.6879225373268127, -0.5593770742416382, 0.23119713366031647, -0.16111034154891968, -0.6117305159568787, -0.007695714943110943, 0.16940754652023315, -0.5192613005638123, 1.025478482246399, 0.36098769307136536, -1.0158122777938843, 0.8422384858131409, -0.7968763113021851, -0.3215813934803009, 0.33456677198410034, 0.637718677520752, -0.3767581582069397, -0.06535760313272476, -0.1327248066663742, -0.10589253157377243, 0.11342781782150269, 0.10633902251720428, -0.0648011714220047, -0.2990516722202301, 0.07080734521150589, -0.01909773238003254, 0.8773816823959351, 0.38093239068984985, -0.0918632373213768, -0.08762416988611221, -0.8213416934013367, 0.147011399269104, -0.13162806630134583, -0.44290173053741455, -0.7763065099716187, 0.11035540699958801, 0.40936657786369324, 0.2699662148952484, 0.36419010162353516, -1.0203971862792969, 0.3760520815849304, -0.5867435336112976, 0.11616845428943634, 0.6570858359336853, 0.08160622417926788, 0.6377577781677246, -0.0513017401099205, 0.13341911137104034, 0.16924165189266205, 0.15865735709667206, 0.085816390812397, -0.9036900997161865, -0.6599205136299133, 0.21043863892555237, 0.3273967504501343, 0.5320728421211243, -0.5709946751594543, 0.5506956577301025, -0.42139342427253723, -0.12337731570005417, -0.4880026876926422, 0.04299845173954964, -0.1929495483636856, 0.3835703730583191, 0.3738442659378052, -0.15658670663833618, -0.6353060603141785, -0.7445240616798401, -0.5803595185279846, -0.37497708201408386, 0.16522856056690216, -0.08327663689851761, 0.5788052082061768, -0.39198681712150574, 1.0872602462768555, -0.48750168085098267, -0.29280903935432434, 0.040466565638780594, 0.002564036287367344, -0.24637708067893982, 0.5036699771881104, 0.44865304231643677, -0.9090417623519897, -0.25346848368644714, 0.07926502078771591, -0.3802379071712494, -0.5786839127540588, 0.04643738642334938, -0.37026160955429077, 0.3819314241409302, 0.40263769030570984, -0.4196937382221222, 0.21650724112987518, 0.42005297541618347, -0.779595673084259, 0.21118338406085968, -0.21914328634738922, 0.018726546317338943, -0.715084433555603, -0.28184160590171814, -0.18539904057979584, -0.33224689960479736, -0.6948454976081848, -0.2941824793815613, -0.078884057700634, 0.22310064733028412, -0.6645599603652954, 0.7023135423660278, -0.155167818069458, -0.33748307824134827, -0.11415503174066544, 0.3980841338634491, -0.2715073525905609, 0.049210891127586365, -0.09983713924884796, 0.4512639343738556, 0.42929956316947937, -0.39208224415779114, 0.5475245118141174, 0.5539523959159851, -0.5958575010299683, 0.49948766827583313, -0.12350203841924667, 0.04774868115782738, -0.3794388473033905, 0.20540310442447662, -1.0507094860076904, -0.09395483136177063, 0.674000084400177, -0.3877617418766022, -0.06680858135223389, -0.3044392466545105, -0.5878189206123352, -0.03761197626590729, 0.02982538752257824, -0.12189647555351257, 0.35450026392936707, -0.06987178325653076, 0.12668843567371368, 0.70860755443573, -0.1248689815402031, 0.052659157663583755, -0.9288660287857056, 0.5846706628799438, -0.26870983839035034, -1.0548698902130127, 0.12594611942768097, 0.04266587644815445, -0.41301295161247253, 0.3830988109111786, -0.005672542843967676, -0.2809692919254303, 0.3020884394645691, -0.2389335185289383, 0.21746912598609924, -0.013018588535487652, 0.5867509245872498, 0.3840034306049347, -0.5726717114448547, -0.14858375489711761, -0.7829638123512268, 0.323951780796051, -0.1567065566778183, -0.059987638145685196, -0.5931534767150879, 0.3486461341381073, 0.4936351776123047, -0.25836023688316345, 0.8059607744216919, 0.746807336807251, -0.19787649810314178, 0.2332848459482193, -0.26474979519844055, 0.0718844011425972, -0.30490294098854065, 0.39177265763282776, -0.4112919569015503, -0.7745291590690613, 0.39537644386291504, -0.38976001739501953, -0.07433611154556274, 0.7359923720359802, 0.6566987037658691, 0.361833393573761, 1.200475811958313, 0.3660925030708313, 0.2023119330406189, 0.6522060632705688, 0.157809779047966, 0.09555727243423462, -0.6869128942489624, -0.42900350689888, -0.6469774842262268, -0.13237440586090088, -1.1749546527862549, -0.2764306664466858, 0.32295823097229004, -0.4698505103588104, -0.1556738317012787, 0.5263060927391052, -0.45979225635528564, 0.27524280548095703, 0.2658795714378357, -0.0748928114771843, 0.5195364952087402, -0.11784045398235321, 0.03866034373641014, -0.11006125062704086, -0.6462659239768982, -0.5644914507865906, 0.9644200801849365, -0.16230574250221252, 0.7008998990058899, 0.28902751207351685, 0.7005146741867065, 0.6418908834457397, -0.05059024691581726, -0.6928909420967102, 0.7651477456092834, -0.22833089530467987, -0.3443228304386139, -0.5313614010810852, -0.5456288456916809, -1.124131679534912, 0.4533538818359375, -0.4314868748188019, -0.6399598121643066, 0.0851653590798378, -0.07892461866140366, 0.494037926197052, 0.20041969418525696, -0.7106191515922546, 0.9819880127906799, 0.13520897924900055, -0.18200035393238068, -0.11364354938268661, -0.74200439453125, 0.1494065225124359, -0.09912905842065811, 0.082941934466362, -0.37808653712272644, -0.3099422752857208, 0.7224385738372803, -0.31332337856292725, 0.22185443341732025, -0.45558640360832214, 0.12300878763198853, 0.2094886600971222, 0.1724136918783188, 0.6786026954650879, -0.3103129267692566, -0.26488783955574036, -0.16391442716121674, 0.26797837018966675, -0.5355209708213806, -0.563520610332489, 0.6472173929214478, -0.40930089354515076, -0.0004577390500344336, -0.3965814411640167, -0.5936765074729919, -0.04987913742661476, 0.12882840633392334, 0.11745920032262802, 0.3087424337863922, -0.10669790953397751, -0.03156014531850815, 0.4643603563308716, -0.09610681235790253, 0.15672148764133453, 0.9300826787948608, -0.09133518487215042, 0.17998436093330383, 0.8494126796722412, 0.3411111533641815, 0.10628063976764679, 0.16685326397418976, 0.4393131136894226, -0.524678111076355, -0.7438022494316101, -0.7445220947265625, 0.10500116646289825, -0.6196691393852234, 0.1479693055152893, -0.6707817316055298, 0.4851697087287903, -0.6075438261032104, 0.10491521656513214, -0.3813278079032898, -0.5179811120033264, -0.06544238328933716, 0.28458815813064575, 0.45181557536125183, 0.8766381740570068, -0.017424363642930984, -0.09465590864419937, -0.5721901655197144, -0.2299858182668686, 0.15772227942943573, 0.1877405345439911, -0.666698157787323, -0.5444402694702148, -0.20201407372951508, 0.14316494762897491, 0.049140505492687225, -0.6852436065673828, 0.49613654613494873, 0.20507432520389557, 0.5049076676368713, -0.08347450196743011, 0.39137551188468933, 0.46302416920661926, -0.45623841881752014, 0.8239440321922302, -0.0029483800753951073, -0.8949745297431946, 0.6695989370346069, -0.14715349674224854, 0.587986171245575, 0.5182199478149414, -0.22197771072387695, -0.8260741233825684, -0.4091435670852661, -0.35342320799827576, -0.5617039203643799, 0.782820999622345, 0.26698562502861023, 0.2034638226032257, 0.04066387563943863, 0.18213829398155212, 0.05783421918749809, 0.013395668007433414, -0.4415489733219147, -0.08194710314273834, 0.010496177710592747, -0.17308039963245392, 0.10813473910093307, 0.02201458439230919, 0.16914086043834686, -0.25710955262184143, 0.6268067955970764, -0.06301338970661163, 0.15196938812732697, 0.035428959876298904, -0.47912174463272095, 0.019028915092349052, 0.4974523186683655, 0.9061940908432007, 0.48283034563064575, -0.007632613182067871, 0.0344940721988678, 0.5052337050437927, -0.40894022583961487, 0.35138073563575745, -0.309492826461792, -0.6497324109077454, 0.4366215467453003, 0.15665462613105774, 1.074254035949707, 0.213546022772789, -0.6071293950080872, 0.6759454607963562, 0.09049060195684433, -0.1386726349592209, -0.3974696397781372, 0.07059766352176666, -0.17820602655410767, 0.07596272230148315, -0.06073950231075287, 0.43509089946746826, 0.46011245250701904, -0.29178956151008606, 0.2791414260864258, 0.17207244038581848, -0.5468128323554993, -0.34504494071006775, 0.3382608890533447, 0.04635598883032799, -0.3237890303134918, 0.2841370701789856, -0.6864343881607056, -0.4366593062877655, 0.042435936629772186, 0.41223663091659546, 0.590267539024353, -0.3623952567577362, 0.4558151364326477, 0.08203145861625671, 0.2753891944885254, -0.2319062501192093, -0.019850140437483788, -0.06690533459186554, -1.0738976001739502, -0.3610781729221344, -0.5643818378448486, -0.36504626274108887, -0.4220096468925476, -0.6456974744796753, 0.532656729221344, 0.2967124879360199, -0.14819951355457306, -0.06368497014045715, 0.029371723532676697, -0.3301166892051697, -0.057328034192323685, 0.19636228680610657, 0.9113885760307312, -1.244002342224121, 0.8109776973724365, 0.9604210257530212, 0.04576120153069496, -0.10525181889533997, -0.3772764205932617, 0.07963201403617859, -0.619640588760376, 1.1342835426330566, -0.11745410412549973, -0.44566383957862854, 0.0030457540415227413, -0.2700759172439575, -0.7746872901916504, 0.7372012138366699, 0.5051993131637573, -0.19669963419437408, 0.3457321226596832, 0.1704391986131668, 0.7377324104309082, -0.33550912141799927, -0.05785162374377251, 0.7627171277999878, 0.8564372062683105, 0.17973724007606506, -0.5263242125511169, -0.412444144487381, -0.1886908859014511, 0.27115410566329956, 0.7522715926170349, -0.4774864912033081, 0.6565998792648315, 0.21717515587806702, -0.3072807192802429, -0.03470141068100929, 0.26483702659606934, -0.36587610840797424, 0.46632593870162964, 0.7996909022331238, 0.5998808145523071, 0.8552089929580688, -0.1728290617465973, 0.7885933518409729, -0.3307001292705536, 0.583595871925354, 0.8156024813652039, -0.4708945155143738, 0.5981388092041016, 0.48397985100746155, -0.05846831202507019, 0.5272158980369568, 0.6165847182273865, 0.1917584240436554, 0.8341931700706482, 0.46054255962371826, -0.6123940348625183, -0.548429548740387, -0.20111183822155, -0.12103096395730972, 0.8647481799125671, 0.2909248471260071, 0.034185998141765594, -0.6541849374771118, 0.4215374290943146, 0.32936814427375793, -0.21738667786121368, -0.32433921098709106, 0.877127468585968, -0.5945819616317749, -0.5015190839767456, 0.3670961260795593, 0.024439770728349686, 0.32653969526290894, -0.6171611547470093, 0.02194053679704666, -0.01457943208515644, 0.16005544364452362, -0.0808374285697937, -0.8950888514518738, 0.6187924742698669, -0.03736284747719765, -0.03658235818147659, -0.47159314155578613, 0.9893807172775269, -0.6532153487205505, -0.6718488335609436, 0.4083353579044342, 0.05891932174563408, 0.48540812730789185, 0.10620231926441193, -0.587531328201294, 0.3802335858345032, 0.023058440536260605, -0.15552188456058502, 0.5021814703941345, 0.5128616094589233, -0.27830857038497925, 0.6988682150840759, 0.6060124039649963, 0.400158166885376, 0.3517806828022003, -0.1498202085494995, 0.8612061142921448, -0.2910915017127991, -0.49330317974090576, -0.4208146035671234, 0.2909213900566101, -0.20453442633152008, -0.4713536500930786, 0.5803512334823608, 0.4136718213558197, 0.7654091119766235, 0.05001068487763405, 0.5993533134460449, 0.04486298933625221, 0.631632924079895, -0.6801168322563171, 0.23537011444568634, -0.4053751826286316, 0.3209396302700043, -0.264093816280365, -0.892190158367157, -0.5598021149635315, 0.8490278720855713, -0.37512534856796265, -0.6573854684829712, 0.6283016204833984, 0.9456876516342163, 0.2173701822757721, 0.21498261392116547, 0.46575841307640076, 0.27511298656463623, 0.2285417914390564, 0.3848503828048706, 0.5203962922096252, -0.5551046133041382, 0.3639092743396759, 0.16391581296920776, -0.20318228006362915, -0.3224918842315674, -0.7813732028007507, -0.19659928977489471, -0.7706352472305298, -0.5601953864097595, -0.2314537912607193, 0.43917298316955566, 0.9078382253646851, 0.4557933807373047, -0.8971496224403381, 0.029514305293560028, -0.2941550016403198, 0.013074216432869434, 0.024683302268385887, -0.18769244849681854, 0.15325799584388733, -0.5648946166038513, -0.5056090354919434, 0.3960343301296234, 0.6197927594184875, -0.13930794596672058, -0.2046024650335312, 0.03479187563061714, -0.31863078474998474, -0.08835587650537491, 0.7325320243835449, -0.012096541002392769, -0.5561840534210205, -0.8150615096092224, -0.003156398655846715, -0.0251785721629858, -0.030051957815885544, 0.740511417388916, -0.733578085899353, 0.8869092464447021, 0.8355424404144287, 0.4391095042228699, 0.7857082486152649, -0.22640620172023773, -0.01514079887419939, -0.09854782372713089, 0.4531016945838928, 0.05554632097482681, 0.3101954162120819, 0.41994309425354004, -0.03927548974752426, 0.4107967019081116, 0.7791856527328491, -0.6758179664611816, -0.616645336151123, 0.26960819959640503, -0.9947060346603394, 0.12982982397079468, 1.0981656312942505, -0.277578741312027, -0.38501080870628357, -0.734366238117218, -0.2997475862503052, -0.07956176996231079, -0.4240391254425049, 0.4783298373222351, 0.746239960193634, -0.40233173966407776, 0.058058515191078186, -0.37254199385643005, 0.22415991127490997, 0.06020418554544449, -0.7698620557785034, 0.0360427089035511, 0.6881786584854126, 0.5217588543891907, -0.017685724422335625, 0.5811452269554138, -0.19120776653289795, -0.023118719458580017, 0.060407690703868866, -0.20289091765880585, 0.187002032995224, -0.16387632489204407, -0.2336731106042862, -0.21547822654247284, -0.30300912261009216, -0.3957393765449524 ]
http://arxiv.org/abs/2402.16578v1
http://arxiv.org/pdf/2402.16578v1
Multi-Bit Distortion-Free Watermarking for Large Language Models
2024-02-26T14:01:34
2024-02-26T14:01:34
Massieh Kordi Boroujeny, Ya Jiang, Kai Zeng, Brian Mark
cs.CL
cs.CL, cs.LG
Methods for watermarking large language models have been proposed that distinguish AI-generated text from human-generated text by slightly altering the model output distribution, but they also distort the quality of the text, exposing the watermark to adversarial detection. More recently, distortion-free watermarking methods were proposed that require a secret key to detect the watermark. The prior methods generally embed zero-bit watermarks that do not provide additional information beyond tagging a text as being AI-generated. We extend an existing zero-bit distortion-free watermarking method by embedding multiple bits of meta-information as part of the watermark. We also develop a computationally efficient decoder that extracts the embedded information from the watermark with low bit error rate.
[ -0.5222975015640259, -0.7984592914581299, 0.4620960056781769, 0.0035483408719301224, -0.7272453904151917, -0.06319309026002884, 0.00025539533817209303, -0.577970564365387, 0.3577538728713989, 0.6794013977050781, -0.537788450717926, -0.24215824902057648, -0.8942400217056274, -0.13670822978019714, -0.5579349398612976, 0.7818703055381775, 0.258678674697876, 0.055026546120643616, 0.06001180410385132, -0.2676090598106384, -0.0607542023062706, -0.8187305331230164, -0.34519538283348083, -0.13828837871551514, 0.11112583428621292, 0.13649152219295502, 0.9233947992324829, 1.0125946998596191, 0.45863038301467896, 0.1786068230867386, -0.22822251915931702, 0.18522585928440094, -0.11765186488628387, 0.3034883737564087, 0.037130504846572876, -0.41661882400512695, -0.35449641942977905, 0.03871574252843857, 0.8613861203193665, 0.2922988533973694, 0.2960142195224762, 0.10456164926290512, 0.007970115169882774, 0.6117250323295593, -0.9454032778739929, 0.4081532955169678, -0.7104048132896423, 0.1119265928864479, -0.3681212067604065, -0.15642739832401276, -0.5173035860061646, -0.1410137116909027, -0.25257542729377747, -0.5713813304901123, 0.3264453709125519, 0.08260651677846909, 1.0315696001052856, 0.30750077962875366, -0.3794574439525604, -0.23797987401485443, -1.0928537845611572, 0.8165696263313293, -0.97944176197052, 0.4316372573375702, 0.4622512757778168, 0.20337630808353424, 0.13990363478660583, -0.5496814250946045, -0.7584115862846375, 0.1850453019142151, 0.2108374387025833, -0.019110068678855896, -0.31022533774375916, 0.05979965254664421, 0.3036252558231354, 0.46469417214393616, -0.286984920501709, -0.48983752727508545, -0.08960577845573425, -0.34350061416625977, 0.7388474941253662, 0.054177213460206985, 0.2207174301147461, 0.16716930270195007, -0.20771998167037964, -0.579058825969696, -0.9606232643127441, -0.42382803559303284, 0.5531733632087708, 0.40268054604530334, 0.12305109202861786, 0.4289582669734955, -0.011156752705574036, 0.5462988615036011, -0.1128542348742485, -0.06294965744018555, 0.15268339216709137, -0.12101465463638306, -0.13204137980937958, 0.1223692074418068, 1.088212013244629, -0.0042682429775595665, 0.3794640302658081, -0.16965758800506592, -0.36654165387153625, -0.0011622707825154066, 0.13709570467472076, -1.029012680053711, -0.23004503548145294, -0.1077832281589508, -0.5436980128288269, -0.2803958058357239, 0.3129810392856598, -0.9431716203689575, -0.6655403971672058, -0.001206678687594831, 0.6775150299072266, -0.2543167471885681, -0.36233240365982056, 0.14002780616283417, -0.3603435754776001, 0.10935436934232712, 0.10753612965345383, -0.8095414638519287, 0.2447851598262787, 0.4143020212650299, 0.7179522514343262, 0.20518964529037476, -0.07632561028003693, -0.4733227491378784, 0.46946510672569275, -0.34517601132392883, 0.7011886835098267, -0.7807134985923767, -0.3067217469215393, -0.02326022833585739, -0.06397252529859543, 0.3618071973323822, -0.4519319236278534, 0.3542822599411011, -0.811058521270752, 0.11751985549926758, -0.2648145258426666, -0.7284837365150452, -0.28355932235717773, 0.09111394733190536, -1.2766835689544678, 0.7172333598136902, -0.059268563985824585, -1.0236512422561646, 0.11775138974189758, -0.7166339159011841, -0.4259204864501953, -0.1164856031537056, 0.014927392825484276, -0.8540849685668945, 0.1049235388636589, 0.38629764318466187, 0.18919260799884796, -0.17475882172584534, 0.05187380686402321, -0.46887752413749695, -0.2048291265964508, 0.4471597373485565, -1.2155954837799072, 0.7770658731460571, -0.07143791019916534, -0.5557201504707336, -0.0045951842330396175, -0.8007146120071411, 0.13557428121566772, 0.39323267340660095, -0.46714550256729126, -0.5606873631477356, 0.06350316852331161, 0.12862272560596466, 0.07382868975400925, 0.20407767593860626, -0.5174509286880493, 0.3789166212081909, -0.17248572409152985, 0.5236692428588867, 0.7612581253051758, 0.05206923186779022, 0.2953628897666931, -0.069745734333992, 0.46219944953918457, 0.11979546397924423, 0.26658502221107483, -0.2188417911529541, -0.6505496501922607, -0.9076220989227295, -0.39374202489852905, 0.7284225225448608, 0.39095091819763184, -0.8291929364204407, 0.41978198289871216, -0.2625944912433624, -0.35070493817329407, -0.8381359577178955, 0.07460270822048187, 0.45178326964378357, -0.10502902418375015, 0.5884115099906921, -0.4057217836380005, -0.15132646262645721, -0.8482997417449951, -0.34594041109085083, 0.04746804013848305, -0.004082976840436459, 0.4523964524269104, 0.6419117450714111, -0.11049623042345047, 0.7191559672355652, -0.70582115650177, -0.34537696838378906, -0.13837361335754395, 0.3427930772304535, -0.3403944671154022, 0.5421963334083557, 0.550014078617096, -0.9195526838302612, -0.568352222442627, -0.3709046244621277, -0.28434285521507263, 0.04513268172740936, -0.02870171144604683, -0.046149808913469315, 0.057442959398031235, 0.4633252024650574, -0.6022732853889465, 0.5644233226776123, 0.923542857170105, -0.6582899689674377, 0.4838518500328064, -0.29583439230918884, 0.094337597489357, -1.1171094179153442, 0.04217463731765747, -0.3349008560180664, -0.46267569065093994, -0.740766167640686, 0.1311570703983307, 0.28502193093299866, -0.025120757520198822, -0.19032664597034454, 0.5099212527275085, -0.6093635559082031, 0.05808296054601669, -0.5259974598884583, -0.13281512260437012, 0.18131940066814423, 0.3324538767337799, 0.151504784822464, 0.7074291110038757, 0.6040599346160889, -0.3587218225002289, 0.45513737201690674, -0.07608495652675629, -0.15724317729473114, 0.36703744530677795, -0.6916154623031616, 0.3590351939201355, -0.21100464463233948, 0.1502830684185028, -0.904036283493042, 0.02966681867837906, 0.3703509569168091, -0.4030531048774719, 0.5222612023353577, -0.325888454914093, -0.6559059619903564, 0.14532539248466492, -0.4186200797557831, 0.6029345989227295, 0.18634091317653656, -0.3976169228553772, 0.47225603461265564, 0.26783671975135803, 0.0693126916885376, -0.4855026304721832, -0.9672096371650696, 0.19864611327648163, -0.1495593637228012, -0.3725976049900055, 0.6988425850868225, -0.20941691100597382, 0.11438117176294327, 0.3633640706539154, -0.07243030518293381, -0.5580496788024902, 0.06330089271068573, 0.24405929446220398, 0.09795396775007248, -0.24359075725078583, -0.14117279648780823, 0.15745887160301208, -0.2649281919002533, -0.1269608587026596, -0.3514821231365204, 0.7021239399909973, -0.03910760208964348, -0.6080590486526489, -0.5759403109550476, 0.768034815788269, 0.8831679224967957, -0.5485984683036804, 1.0714119672775269, 0.7276215553283691, -0.7829367518424988, -0.14125476777553558, -0.2909547984600067, -0.23608924448490143, -0.4333796799182892, 0.08741343766450882, 0.08065719902515411, -0.7705517411231995, 0.4508894085884094, 0.16228318214416504, -0.04967021569609642, 0.6339479088783264, 0.1585932821035385, 0.24015136063098907, 1.0356717109680176, 0.8317456841468811, -0.47075796127319336, 0.6833415627479553, -0.40086081624031067, 0.23310954868793488, -0.9097620248794556, 0.1497156172990799, -0.6439406871795654, -0.27826008200645447, -0.27158066630363464, -0.4417266547679901, 0.10507486760616302, 0.37211644649505615, -0.3176177442073822, 0.24188746511936188, -0.5336669087409973, 0.546281635761261, 1.079798936843872, 0.09236397594213486, 0.22867590188980103, 0.029827548190951347, 0.0767892375588417, 0.007685776334255934, -0.22561801970005035, -0.38576212525367737, 1.1393473148345947, 0.010890745557844639, 0.753607451915741, 0.212701678276062, 0.605174720287323, 0.4470686614513397, 0.2776794135570526, -0.5202122926712036, 0.21502096951007843, -0.11806333065032959, -1.099727749824524, -0.5040642619132996, -0.501886248588562, -0.8593917489051819, 0.2954845726490021, -0.4372948408126831, -0.5500481724739075, -0.02166782133281231, 0.23799318075180054, -0.28156259655952454, 0.5977441072463989, -0.364603191614151, 0.7673863768577576, -0.09834157675504684, -0.03149624541401863, -0.187140092253685, -0.4303283393383026, 0.08198779821395874, -0.07689716666936874, 0.355353981256485, 0.05255268141627312, 0.009369571693241596, 0.7643202543258667, -0.27070677280426025, 0.7777987122535706, -0.5803762078285217, -0.09754899144172668, 0.37682363390922546, 0.39227041602134705, 0.7068217396736145, 0.05064966529607773, 0.14469794929027557, 0.2047581970691681, -0.00242545735090971, -0.2949717342853546, -0.5159581899642944, 0.23373687267303467, -0.6561948657035828, -0.45354142785072327, -0.4073691964149475, -0.3922899067401886, -0.03329237923026085, 0.46663984656333923, 0.2803012728691101, 0.3519885838031769, 0.21707622706890106, 0.42799055576324463, 0.6547558307647705, -0.36984142661094666, 0.6531376242637634, 0.4819331467151642, 0.24971653521060944, -0.7330634593963623, 1.021881103515625, 0.14043112099170685, 0.37495556473731995, 0.3333790600299835, 0.34359854459762573, -0.18343019485473633, -0.6142633557319641, -0.6842923760414124, 0.1633596271276474, -0.5704216361045837, -0.5456206798553467, -0.26003116369247437, -0.48950159549713135, -0.3228837251663208, 0.20985691249370575, -0.8580870032310486, -0.5122862458229065, -0.4159257411956787, 0.24540983140468597, 0.250072717666626, 0.8590526580810547, -0.01852283999323845, 0.4922371506690979, -1.0269660949707031, 0.5501717329025269, 0.24782684445381165, 0.5565959215164185, 0.07811543345451355, -0.4031703770160675, -0.2140560895204544, 0.40155351161956787, -0.6028453707695007, -1.0716749429702759, 0.45643001794815063, 0.4012976586818695, 0.38171952962875366, 0.8797587156295776, 0.29634371399879456, 0.5014641284942627, -0.62985759973526, 0.9863308072090149, 0.09691502898931503, -1.3520805835723877, 0.31404614448547363, 0.07173796743154526, 0.1376911699771881, 0.06131463870406151, 0.16822053492069244, -0.5091912150382996, -0.37404942512512207, -0.6825644969940186, -0.8970476388931274, 0.6345389485359192, 0.24321435391902924, 0.4421216547489166, 0.1767655313014984, 0.3015245795249939, 0.004665662534534931, 0.2708425521850586, -1.1190382242202759, -0.5701418519020081, -0.447356641292572, -0.16560521721839905, 0.14873051643371582, -0.5114280581474304, -0.07043559849262238, -0.04810898378491402, 0.84619140625, -0.16957272589206696, 0.6130570769309998, 0.2057672142982483, -0.11941353976726532, -0.11691274493932724, 0.355042427778244, 0.7470492720603943, 0.08198050409555435, 0.03560434654355049, 0.4177071750164032, -0.1502111852169037, -0.5276206135749817, 0.19669266045093536, 0.010610259138047695, -0.378868967294693, 0.10817883908748627, 0.6149798631668091, 0.8266295790672302, -0.32543647289276123, -0.24616806209087372, 0.843420147895813, -0.1512368619441986, -0.14645648002624512, -0.01110438909381628, -0.005064543802291155, 0.27921798825263977, 0.3013693392276764, 0.3573058545589447, -0.023150144144892693, 0.20574429631233215, -0.21910738945007324, 0.061034947633743286, 0.7749382853507996, -0.4994947910308838, -0.47936689853668213, 0.8236861824989319, -0.11955929547548294, -0.23252907395362854, 0.6329087615013123, -0.4139033854007721, -0.7314731478691101, 0.3106909394264221, 0.7357054948806763, 0.9223596453666687, -0.47104740142822266, -0.0473489910364151, 0.11698709428310394, 0.5868958234786987, -0.12887878715991974, 0.38886556029319763, -0.00845564715564251, -0.9183623194694519, -0.30516427755355835, -0.5301598310470581, -0.32421186566352844, 0.5032593011856079, -0.6139587163925171, -0.0687771737575531, -0.45423540472984314, -0.2879501283168793, 0.03868355602025986, -0.31454041600227356, -0.462939590215683, 0.1837548017501831, 0.5005506873130798, 0.6808173656463623, -0.782401978969574, 0.9488945007324219, 0.34675610065460205, -0.15013021230697632, -0.5062592029571533, 0.24140208959579468, -0.015343422070145607, -0.4554881155490875, 0.19789840281009674, 0.1278758943080902, -0.16970272362232208, -0.1617174595594406, -0.698279619216919, -1.112130880355835, 0.7878090739250183, 0.8303128480911255, -0.3400692939758301, 0.1281927227973938, 0.5437992811203003, 0.35548365116119385, -0.18583278357982635, -0.10305596143007278, 0.18341408669948578, 0.549677848815918, -0.3342466950416565, -0.6725090742111206, 0.2507512867450714, -0.24401907622814178, -0.06421991437673569, 0.29303282499313354, -0.6384454965591431, 0.951171338558197, 0.11522891372442245, -0.37596070766448975, -0.15108779072761536, 0.5357949137687683, -0.28193753957748413, -0.08459369093179703, 0.491504043340683, 0.4952865540981293, 0.6731517910957336, -0.1758219599723816, 0.7860617637634277, -0.6058164238929749, 0.5994817018508911, 0.761049211025238, 0.060854122042655945, 0.8938151597976685, 0.41962602734565735, -0.06755643337965012, 0.36355555057525635, 0.20151469111442566, -0.19191017746925354, 0.7084878087043762, 0.22516673803329468, -0.3849288523197174, -0.3208905756473541, 0.07339807599782944, -0.4645005166530609, 0.32264792919158936, 0.48155975341796875, -0.6512751579284668, -0.03003380447626114, -0.153789684176445, -0.060323964804410934, -0.2920290231704712, -0.1579950600862503, 0.8175815939903259, -0.03046450950205326, -0.10877912491559982, 0.5406435132026672, 0.4679846167564392, 0.8018551468849182, -0.3567216694355011, -0.2074344903230667, -0.008947499096393585, 0.28603115677833557, -0.04390789195895195, -0.7690879702568054, 0.44060686230659485, -0.033629391342401505, -0.31640657782554626, -0.10442689806222916, 0.6442564725875854, -0.5674034953117371, -0.46128109097480774, 0.28871020674705505, 0.29808568954467773, 0.13178779184818268, -0.6147819757461548, -0.6354935169219971, 0.08631549775600433, -0.12203643471002579, -0.5425242185592651, 0.1000574380159378, 0.4636417031288147, 0.08427172899246216, 0.7010815739631653, 0.5971671342849731, 0.3212786316871643, 0.3222716450691223, 0.09526988118886948, 0.723681628704071, -0.7684891223907471, -0.42020753026008606, -1.2267742156982422, 0.20132577419281006, -0.047748200595378876, -0.062318116426467896, 0.5938796401023865, 0.6181127429008484, 0.6481314301490784, -0.21427762508392334, 1.199915885925293, 0.035392846912145615, -0.07222079485654831, -0.47293761372566223, 0.9589385986328125, -0.5252195596694946, -0.0645400807261467, -0.6203566789627075, -0.9134172797203064, -0.649712324142456, 0.6119765043258667, 0.344428688287735, -0.02757357805967331, 0.47605574131011963, 0.6619322896003723, -0.19238421320915222, 0.00499135022982955, 0.3300846815109253, -0.2510620653629303, 0.662524402141571, 0.4592735469341278, 0.6637789011001587, -0.678816556930542, 0.9055221080780029, -0.3657759726047516, -0.024620432406663895, -0.1374930888414383, -1.007844090461731, -0.8242841362953186, -0.707854151725769, -0.38639718294143677, -0.41171446442604065, -0.0652475357055664, 0.6901975870132446, 0.9360809326171875, -1.0967652797698975, 0.3041348457336426, 0.04193710535764694, 0.10500632971525192, -0.3180047273635864, -0.23193605244159698, 0.6912285685539246, 0.24654439091682434, -0.7692002654075623, 0.15259699523448944, 0.23413696885108948, 0.6492889523506165, -0.42488735914230347, -0.12274094671010971, 0.22135388851165771, 0.4632917046546936, 0.3752554655075073, -0.04474277421832085, -0.42335784435272217, -0.49901336431503296, -0.21292340755462646, 0.006442219018936157, 0.08563903719186783, 0.9344544410705566, -0.2598566710948944, 0.33577027916908264, 0.3574497103691101, 0.6494079828262329, 0.4912124276161194, -0.1053510531783104, 0.24393142759799957, -0.9428513646125793, 0.11485514789819717, 0.15350037813186646, 0.4661077558994293, 0.4425836205482483, -0.3100082278251648, -0.016455627977848053, 0.4844563901424408, -0.2903856039047241, -0.7328332662582397, 0.1137368232011795, -0.6614009141921997, -0.40724891424179077, 1.2035760879516602, -0.4040060043334961, -0.13302156329154968, 0.013677727431058884, -0.26541993021965027, 0.41051486134529114, -0.36713361740112305, 0.8591673970222473, 1.03519868850708, 0.12673525512218475, -0.026381468400359154, -0.4108045697212219, 0.581733226776123, -0.018863840028643608, -0.7587849497795105, 0.5140963196754456, 0.2419622838497162, 0.38560232520103455, 0.4955659806728363, 0.3388693928718567, -0.3697192966938019, 0.03130899742245674, 0.37990671396255493, 0.29884666204452515, -0.2407214194536209, -0.6536054015159607, -0.2958994507789612, 0.17228896915912628, 0.1817852407693863, -0.32991862297058105 ]
http://arxiv.org/abs/2402.16568v1
http://arxiv.org/pdf/2402.16568v1
Two-stage Generative Question Answering on Temporal Knowledge Graph Using Large Language Models
2024-02-26T13:47:09
2024-02-26T13:47:09
Yifu Gao, Linbo Qiao, Zhigang Kan, Zhihua Wen, Yongquan He, Dongsheng Li
cs.CL
cs.CL
Temporal knowledge graph question answering (TKGQA) poses a significant challenge task, due to the temporal constraints hidden in questions and the answers sought from dynamic structured knowledge. Although large language models (LLMs) have made considerable progress in their reasoning ability over structured data, their application to the TKGQA task is a relatively unexplored area. This paper first proposes a novel generative temporal knowledge graph question answering framework, GenTKGQA, which guides LLMs to answer temporal questions through two phases: Subgraph Retrieval and Answer Generation. First, we exploit LLM's intrinsic knowledge to mine temporal constraints and structural links in the questions without extra training, thus narrowing down the subgraph search space in both temporal and structural dimensions. Next, we design virtual knowledge indicators to fuse the graph neural network signals of the subgraph and the text representations of the LLM in a non-shallow way, which helps the open-source LLM deeply understand the temporal order and structural dependencies among the retrieved facts through instruction tuning. Experimental results demonstrate that our model outperforms state-of-the-art baselines, even achieving 100\% on the metrics for the simple question type.
[ -0.09946315735578537, -1.2628567218780518, 0.8857237696647644, 0.08288706094026566, -0.33276912569999695, 0.47471773624420166, 0.07805850356817245, -0.3489479124546051, -0.19270597398281097, 0.32255467772483826, -0.8053697943687439, -0.7497221231460571, -0.3989575207233429, -0.17462749779224396, -0.19749030470848083, 0.6010136604309082, -0.21135655045509338, -0.1134261041879654, -0.3965797424316406, 0.07995621114969254, -0.31109461188316345, -0.25857558846473694, -0.8042770624160767, -0.7500861883163452, 0.5536512732505798, 0.21399058401584625, 0.41198888421058655, 0.4898572564125061, -0.1894250214099884, 0.18668149411678314, -0.3550163805484772, 0.13255012035369873, -0.4985225200653076, 0.14955148100852966, -0.0741254910826683, -0.37862658500671387, -0.3520727753639221, -0.27509620785713196, 0.674713671207428, 0.9399244785308838, 0.06470846384763718, 0.3765295445919037, 0.014377239160239697, 0.3340260684490204, -0.24273589253425598, 0.7855368852615356, -0.6128801107406616, 0.3436141610145569, -0.1899445652961731, -0.30609023571014404, -0.2793489992618561, -0.5307004451751709, -0.0029977643862366676, -0.7752903699874878, 0.27461472153663635, -0.055745888501405716, 0.7968599796295166, 0.3361547291278839, -0.7991989850997925, -0.005984358489513397, -0.6236254572868347, 0.4451932907104492, -0.5433778762817383, 0.4688459634780884, 0.4011369049549103, 0.41147974133491516, -0.18593427538871765, -0.9201085567474365, -0.5449150204658508, -0.19544070959091187, 0.029030393809080124, 0.25577226281166077, 0.018676888197660446, 0.106136754155159, 0.2293718308210373, 0.225006103515625, -0.8297249674797058, 0.21050132811069489, -0.1429077535867691, -0.19499114155769348, 0.16902966797351837, 0.30733922123908997, 0.20934471487998962, -0.35179007053375244, -0.2679589092731476, 0.14866524934768677, -0.6062660217285156, 0.056344181299209595, 0.23626810312271118, 0.03469787910580635, 0.04842163249850273, 0.828319787979126, -0.4263862669467926, 0.7189985513687134, 0.17465701699256897, 0.03871496021747589, -0.013479392975568771, -0.4611205458641052, 0.07664752751588821, -0.13986200094223022, 0.543914258480072, 0.27527421712875366, 0.35531163215637207, -0.4042210876941681, 0.16905717551708221, -0.08873302489519119, 0.009951061569154263, -0.7769506573677063, -0.1968313753604889, 0.35015183687210083, -0.24416299164295197, -0.2577623724937439, -0.3492959141731262, -0.6902981996536255, -0.2381916046142578, -0.14570698142051697, 0.4619590640068054, -0.4193396270275116, -0.33905336260795593, -0.1084299087524414, -0.15420767664909363, 0.5317450165748596, 0.3538878858089447, -0.6350588798522949, -0.042089179158210754, 0.7668924331665039, 0.5909194946289062, 0.4386754035949707, 0.0329454205930233, -0.594458281993866, 0.45550790429115295, -0.47012898325920105, 0.6380951404571533, -0.6156585216522217, -0.24061506986618042, -0.02580813318490982, -0.07282570004463196, -0.27707138657569885, -0.4133363366127014, 0.07797354459762573, -1.1903010606765747, 0.22328732907772064, -0.30386030673980713, -0.6874306201934814, -0.05685791000723839, 0.5737447142601013, -0.4197682738304138, 1.1737511157989502, 0.46723324060440063, -0.8110746741294861, 0.24513807892799377, -0.4308057129383087, -0.4431077539920807, 0.3631151616573334, -0.13460147380828857, -0.2330525815486908, -0.1708059459924698, 0.5596306920051575, 0.25838857889175415, -0.13024646043777466, 0.37461110949516296, -0.26011207699775696, -0.05912437289953232, 0.16214202344417572, -0.06815363466739655, 0.6364096403121948, 0.08635728806257248, -0.06917617470026016, -0.023308707401156425, -0.5379123091697693, 0.4585685729980469, 0.3281846344470978, -0.5446879863739014, -0.14340482652187347, 0.13314522802829742, -0.38439518213272095, 0.1550818830728531, 0.404848575592041, -0.7632620334625244, 0.4260730445384979, -0.2867881655693054, 0.7368270754814148, 0.6148812770843506, 0.4564352333545685, 0.1948554664850235, -0.03710142523050308, 0.7228272557258606, -0.04564756155014038, 0.2519039213657379, 0.09391366690397263, -0.48560160398483276, -0.5964162945747375, 0.33545982837677, 0.4030543863773346, 0.6664374470710754, -1.3835833072662354, 0.11925489455461502, -0.42808085680007935, -0.39190903306007385, -0.2572796046733856, 0.004177324008196592, 0.43918874859809875, 0.7983623147010803, 0.4036003053188324, 0.09018006920814514, -0.3216078579425812, -0.7385314702987671, 0.010275959968566895, -0.7086167931556702, -0.26796045899391174, 0.5087308883666992, 0.4532029926776886, 0.09000243991613388, 0.9935875535011292, -0.7627115249633789, 0.05146685987710953, -0.3216572105884552, 0.2566148340702057, 0.00590085331350565, -0.011027894914150238, 0.43108946084976196, -0.7972373366355896, -0.29090777039527893, -0.019828181713819504, -0.850480318069458, -0.3840554356575012, 0.14766521751880646, -0.1116320863366127, 0.09588632732629776, 0.7172500491142273, -0.5589869618415833, 0.11529305577278137, 0.49218347668647766, -0.3853550851345062, 0.4728011190891266, 0.060918260365724564, 0.0039000301621854305, -1.191512942314148, -0.09524039924144745, -0.4283607602119446, -0.2754008173942566, -0.5800368785858154, 0.10994516313076019, 0.030583901330828667, -0.2134528011083603, -0.2050410807132721, 0.7364202737808228, -0.17659784853458405, 0.016931043937802315, 0.020207328721880913, 0.20912782847881317, 0.023205900564789772, 0.6640754342079163, -0.09019211679697037, 0.4475182592868805, 0.10005982220172882, -0.4944141209125519, 0.381634384393692, 0.37027406692504883, -0.5083954334259033, 0.176371231675148, -0.9107656478881836, 0.4554038941860199, -0.31921476125717163, 0.28215673565864563, -0.9240710735321045, -0.21291175484657288, 0.2547798156738281, -0.5583982467651367, 0.44247856736183167, -0.6442139744758606, -0.7085145711898804, -0.549610435962677, 0.139648899435997, 0.5389776825904846, 0.41098836064338684, -0.42150747776031494, 0.8336681127548218, 0.12198993563652039, -0.3639258146286011, -0.47125422954559326, -0.49792230129241943, -0.03642678260803223, 0.14089100062847137, -0.8708006143569946, 0.3110051453113556, 0.040808070451021194, -0.006917312741279602, 0.4430466294288635, -0.40028461813926697, -0.049152132123708725, -0.0049915011040866375, -0.0840156227350235, 0.09845148772001266, -0.2512233555316925, 0.21422356367111206, 0.3340683877468109, -0.20480939745903015, 0.04156817868351936, -0.7613133788108826, 0.7493684887886047, 0.15875008702278137, -0.2375757247209549, 0.14207975566387177, 0.4205077886581421, 0.352865606546402, -0.35005277395248413, 0.8842937350273132, 0.745635986328125, -0.3109097182750702, -0.181697279214859, -0.40613415837287903, 0.06442578881978989, -0.4191875159740448, 0.6562724709510803, -0.44759514927864075, -1.3351225852966309, 0.563939094543457, -0.03820836916565895, 0.015245795249938965, 0.46720024943351746, 0.6407992243766785, -0.30259573459625244, 0.9925706386566162, 0.2865898609161377, 0.1799798607826233, 0.44657865166664124, -0.2864598035812378, 0.11524579674005508, -0.7523859739303589, -0.7106873989105225, -0.3732988238334656, -0.1123250275850296, -0.3271084129810333, -0.5008464455604553, 0.9061861038208008, 0.3769277334213257, -0.4781440496444702, -0.05409178137779236, 0.05086951330304146, 0.3509143590927124, 0.5825870633125305, 0.3637230396270752, 0.3000243008136749, -0.11336526274681091, -0.282162606716156, 0.24005605280399323, -1.0031673908233643, -0.16915778815746307, 0.7975531816482544, 0.21229378879070282, 0.6393067836761475, 0.07503776252269745, 0.28551438450813293, 0.01884239912033081, 0.03041200153529644, -0.5900912880897522, 0.709742546081543, -0.2488614320755005, -0.6509793400764465, -0.4727093577384949, -0.8083845376968384, -0.73305743932724, 0.04201953858137131, -0.058151353150606155, -0.5551440119743347, -0.13838259875774384, 0.26578736305236816, -0.24608497321605682, 0.38713541626930237, -0.6205781102180481, 0.9368235468864441, -0.22423194348812103, 0.024435367435216904, -0.06468420475721359, -0.7453208565711975, 0.26213890314102173, 0.07770445942878723, -0.10170424729585648, -0.15731118619441986, -0.0017088595777750015, 0.6432772874832153, -0.42958369851112366, 0.908913791179657, -0.44201117753982544, 0.026812279596924782, 0.3986796736717224, 0.12567469477653503, 0.6543142199516296, 0.07878826558589935, 0.14087681472301483, 0.0705777183175087, 0.19030821323394775, -0.5352969169616699, -0.8049418330192566, 0.3205450177192688, -0.7558683156967163, -0.6944138407707214, -0.09825234860181808, -0.6609082221984863, -0.539697527885437, 0.13655012845993042, 0.20678851008415222, 0.6332898139953613, -0.26385167241096497, 0.12294600903987885, 0.7973257303237915, -0.47249338030815125, 0.14889727532863617, 0.5282859206199646, -0.26431092619895935, -0.29116854071617126, 0.5482185482978821, 0.22976593673229218, 0.48894721269607544, 0.9334267377853394, 0.3909153640270233, -0.5844841599464417, -0.5227153897285461, -0.5960677862167358, 0.2692137658596039, -0.669230580329895, -0.10298360884189606, -0.9811890125274658, -0.5118021368980408, -0.5996265411376953, 0.2519546151161194, -0.04874415695667267, -0.6363304257392883, -0.11368893086910248, -0.1935802847146988, 0.320049524307251, 0.5131621956825256, 0.3614501953125, 0.09214411675930023, -0.8411471247673035, 0.6596257090568542, 0.879542350769043, 0.32354435324668884, 0.09183263033628464, -0.38890132308006287, -0.13041843473911285, -0.0930543765425682, -0.11291896551847458, -0.8900970816612244, -0.08518543094396591, 0.20428138971328735, 0.5167475938796997, 0.14408324658870697, 0.10685694217681885, 0.4985034167766571, -0.5704330801963806, 0.7571404576301575, -0.2453250288963318, -0.6387141346931458, 0.5399421453475952, -0.5969944000244141, 0.6256120204925537, 0.14019575715065002, 0.22416114807128906, -0.8187656998634338, -0.39229416847229004, -0.2757395803928375, -0.8336130380630493, 0.6073989868164062, 0.21130144596099854, -0.06587506085634232, 0.09036461263895035, 0.6092605590820312, -0.1352667659521103, 0.3001442551612854, -0.5245572924613953, -0.14773806929588318, -0.4453543424606323, -0.21637970209121704, 0.082051120698452, -0.4994014501571655, -0.1348499059677124, -0.11541423946619034, 0.4730795919895172, -0.2719361186027527, 0.3895581066608429, -0.026460478082299232, -0.1055336520075798, -0.201386496424675, 0.5864784717559814, 0.10791226476430893, 0.6152633428573608, -0.07561703771352768, 0.08750960975885391, 0.20438870787620544, -0.34701040387153625, 0.04954401031136513, 0.44193387031555176, -0.5966084003448486, -0.3638811409473419, 0.6734786629676819, 0.7001698613166809, -0.0008874140330590308, -0.2402450144290924, 0.22428303956985474, 0.10962843894958496, -0.31994640827178955, -0.3186410367488861, -0.014733010903000832, 0.4243263304233551, 0.5884736180305481, 0.5310542583465576, -0.7063010334968567, -0.3989500403404236, -0.45285773277282715, -0.18297897279262543, 0.3144012689590454, -0.19383367896080017, -0.2436046153306961, 0.9715451598167419, -0.006163551937788725, -0.12592996656894684, 0.9307821989059448, -0.2135821133852005, -0.909742534160614, 0.7887140512466431, 0.48732316493988037, 0.7858482003211975, -0.06791367381811142, 0.5528532266616821, 0.2678532898426056, 0.4490492641925812, 0.34139347076416016, 0.5954321622848511, -0.1163627952337265, -0.7458887100219727, -0.7135158777236938, -0.7651541829109192, -0.23453502357006073, 0.19619061052799225, -0.40088948607444763, -0.30992406606674194, -0.333363801240921, 0.006532383617013693, -0.11347547918558121, 0.11333679407835007, -0.6045995354652405, 0.09746365994215012, -0.034595102071762085, 0.7596650123596191, -0.7814300656318665, 0.7676387429237366, 0.6438177227973938, -0.28616371750831604, -0.9285652041435242, 0.024639243260025978, -0.16816166043281555, -0.8736644387245178, 0.6978316307067871, -0.2612268030643463, 0.12916535139083862, 0.21899138391017914, -0.6783376932144165, -0.7470238208770752, 1.3465595245361328, 0.38522598147392273, -0.40708234906196594, -0.4465974271297455, 0.3803633749485016, 0.6149424910545349, -0.003393013495951891, -0.15938831865787506, 0.42932847142219543, 0.5700092315673828, 0.4471554458141327, -0.6169211864471436, 0.013989494182169437, -0.33389732241630554, -0.007298940792679787, 0.3907804787158966, -0.6759848594665527, 0.7239059805870056, -0.16326916217803955, -0.38189560174942017, 0.17367543280124664, 0.6660752296447754, 0.22091180086135864, 0.43270143866539, 0.698663592338562, 0.7181960940361023, 0.5568110942840576, -0.36599165201187134, 1.1355448961257935, -0.15247078239917755, 0.2588576078414917, 1.0972752571105957, -0.07020357251167297, 0.2926827669143677, 0.12162447720766068, -0.21475285291671753, 0.5047862529754639, 0.8961305618286133, 0.1723087579011917, 0.414036363363266, 0.14742033183574677, -0.37858694791793823, -0.6079427599906921, -0.34984636306762695, -0.48494917154312134, 0.18958589434623718, 0.27229222655296326, -0.009024846367537975, -0.49195167422294617, -0.04331814497709274, -0.023099657148122787, -0.21992680430412292, -0.43646812438964844, 0.6595160365104675, 0.08311551809310913, -0.511675238609314, 0.17642749845981598, 0.07149844616651535, -0.1589866429567337, -0.8655600547790527, -0.1415671855211258, -0.4406347870826721, -0.08185002207756042, 0.05509389191865921, -0.9472842812538147, -0.027521753683686256, 0.0573648102581501, -0.32184773683547974, -0.22943337261676788, 0.5528720021247864, -0.6546887159347534, -0.6053621172904968, 0.22926729917526245, 0.6327769160270691, -0.21141594648361206, 0.0025698307435959578, -0.5725254416465759, -0.32704976201057434, -0.2954409122467041, -0.28901901841163635, 0.1274474710226059, 0.625186026096344, -0.20161062479019165, 0.8117623925209045, 0.3212091028690338, -0.07321614027023315, 0.36180806159973145, 0.39674946665763855, 0.9652231931686401, -0.45715489983558655, -0.5599751472473145, -0.4227796792984009, 0.1314394772052765, 0.19319449365139008, -0.0019660124089568853, 0.6754671335220337, 0.3350309133529663, 0.8338233232498169, 0.16457852721214294, 0.654111921787262, -0.3544902503490448, 0.49193522334098816, -0.9749448895454407, 0.4745657444000244, -0.5448128581047058, 0.08860890567302704, -0.2307223528623581, -0.8575860261917114, -0.08797860890626907, -0.11044808477163315, -0.40294525027275085, 0.28368672728538513, 0.6470600366592407, 0.7564494609832764, 0.19186465442180634, -0.10241381824016571, 0.10366927087306976, 0.6524048447608948, 0.43906670808792114, 1.0825129747390747, 1.0486490726470947, -0.050095926970243454, 0.9490430355072021, -0.20235301554203033, -0.010946397669613361, 0.10362787544727325, -0.6410660147666931, -0.9476199150085449, -0.6085876822471619, -0.290075421333313, -0.5069224238395691, 0.12291442602872849, 0.6208292245864868, 0.37917762994766235, -0.5966057777404785, 0.3524785339832306, 0.16815677285194397, 0.20435753464698792, -0.15457996726036072, -0.25852179527282715, 0.7373965382575989, -0.023778656497597694, -0.5092190504074097, 0.4937995970249176, 0.13647451996803284, 0.04247330501675606, -0.15045148134231567, 0.21792270243167877, -0.2276923656463623, -0.18390671908855438, 0.6945659518241882, 0.39676806330680847, -0.45388293266296387, -0.718708336353302, 0.2771342098712921, 0.12016050517559052, -0.1523057073354721, 0.9931074976921082, -0.6647050976753235, 0.4969450831413269, 0.714508593082428, 0.6527426242828369, 1.003669023513794, 0.13281257450580597, 0.33189526200294495, -1.0921039581298828, -0.22496777772903442, 0.3306022882461548, 0.0746421217918396, 0.08128371089696884, -0.3306894600391388, 0.4906769394874573, 0.33549532294273376, -0.3977183997631073, -0.3523271977901459, 0.621955156326294, -1.000784993171692, -0.47773078083992004, 1.1034947633743286, -0.037346385419368744, -0.11959142237901688, -0.44769081473350525, 0.2087201178073883, 0.6446791887283325, 0.035706065595149994, 0.7481557130813599, 0.645209550857544, -0.07037154585123062, -0.21456794440746307, -0.5829156041145325, 0.08958444744348526, 0.13867051899433136, -0.6298094391822815, -0.10009251534938812, 0.6052445769309998, 0.3947705328464508, -0.22331486642360687, 0.8509001731872559, -0.2919273376464844, 0.12477091699838638, 0.034332163631916046, -0.2767500877380371, -0.6675624251365662, -0.4263090491294861, -0.007001358084380627, 0.6102526187896729, -0.06011350452899933, -0.08961942791938782 ]
http://arxiv.org/abs/2402.16567v2
http://arxiv.org/pdf/2402.16567v2
Aligning Large Language Models to a Domain-specific Graph Database
2024-02-26T13:46:51
2024-02-28T07:24:19
Yuanyuan Liang, Keren Tan, Tingyu Xie, Wenbiao Tao, Siyuan Wang, Yunshi Lan, Weining Qian
cs.CL
cs.CL, cs.AI, cs.DB
Graph Databases (Graph DB) are widely applied in various fields, including finance, social networks, and medicine. However, translating Natural Language (NL) into the Graph Query Language (GQL), commonly known as NL2GQL, proves to be challenging due to its inherent complexity and specialized nature. Some approaches have sought to utilize Large Language Models (LLMs) to address analogous tasks like text2SQL. Nevertheless, when it comes to NL2GQL taskson a particular domain, the absence of domain-specific NL-GQL data pairs makes it difficult to establish alignment between LLMs and the graph DB. To address this challenge, we propose a well-defined pipeline. Specifically, we utilize ChatGPT to create NL-GQL data pairs based on the given graph DB with self-instruct. Then, we use the created data to fine-tune LLMs, thereby achieving alignment between LLMs and the graph DB. Additionally, during inference, we propose a method that extracts relevant schema to the queried NL as the input context to guide LLMs for generating accurate GQLs.We evaluate our method on two constructed datasets deriving from graph DBs in finance domain and medicine domain, namely FinGQL and MediGQL. Experimental results demonstrate that our method significantly outperforms a set of baseline methods, with improvements of 5.90 and 6.36 absolute points on EM, and 6.00 and 7.09 absolute points on EX, respectively.
[ 0.004148908890783787, -0.9445207118988037, 0.4490099549293518, -0.2186746448278427, -0.20342320203781128, 0.41401246190071106, -0.24406294524669647, -0.47390785813331604, 0.3100050687789917, 0.837620198726654, -0.4224946200847626, -0.8007116913795471, -0.3445869982242584, -0.09791795164346695, -0.27992215752601624, 0.9985759854316711, 0.006065459456294775, 0.07921653240919113, -0.1265219897031784, -0.10757315158843994, -0.4993163049221039, -0.5350176692008972, -0.8162175416946411, -0.36164742708206177, 0.34748417139053345, 0.09504999220371246, 1.0033187866210938, 0.6952180862426758, 0.4110583961009979, 0.1446811407804489, 0.11095145344734192, 0.7083981037139893, -0.7845972180366516, 0.11368085443973541, -0.29179686307907104, -0.017589060589671135, -0.5293747186660767, -0.38735231757164, 0.562199056148529, 1.056601881980896, -0.14667001366615295, 0.03938876464962959, 0.2808496654033661, 0.7240320444107056, -0.24791017174720764, 0.48833131790161133, -0.6305147409439087, -0.09376093745231628, -0.2571716010570526, -0.019512895494699478, -0.4859500825405121, -0.44147810339927673, 0.1537841558456421, -0.6332911849021912, 0.1854691356420517, 0.37573373317718506, 1.1733940839767456, 0.04060531407594681, -0.7784856557846069, -0.2880934774875641, -0.46309754252433777, 0.39634910225868225, -0.7884817123413086, 0.46255019307136536, 0.21025681495666504, 0.3580619692802429, -0.5218775272369385, -0.9321346879005432, -0.40949150919914246, 0.357211709022522, -0.4785642623901367, -0.10203927755355835, -0.26503247022628784, 0.05255717784166336, 0.06803303956985474, 0.1320965737104416, -0.8825123906135559, 0.36030277609825134, -0.14729271829128265, -0.29989850521087646, 0.7359704971313477, 0.3740793764591217, 0.26888585090637207, -0.2136577069759369, -0.1382254660129547, 0.04164821654558182, -1.0139671564102173, -0.14306874573230743, 0.2525673508644104, 0.8282050490379333, 0.10150782018899918, 0.8136708736419678, -0.1609984189271927, 0.8938373923301697, 0.030791698023676872, 0.08662518113851547, 0.3344021737575531, -0.6521559357643127, -0.2397211492061615, 0.056344855576753616, 1.1145048141479492, 0.6078664660453796, 0.5059654116630554, -0.4472264051437378, -0.054918862879276276, -0.04107917472720146, 0.16058586537837982, -0.7284361720085144, -0.33012843132019043, 0.467955082654953, -0.05666417255997658, -0.09852389246225357, -0.3848304748535156, -0.7383919954299927, -0.5411455631256104, -0.4149101674556732, 0.273171603679657, -0.46892261505126953, -0.061956118792295456, 0.08299171924591064, 0.2545472979545593, 0.2721601128578186, 0.12253373116254807, -1.0097763538360596, 0.34480270743370056, 0.8103805184364319, 0.8805888295173645, -0.25777214765548706, 0.07895796000957489, -0.6049780249595642, 0.566010594367981, -0.5899234414100647, 0.59360271692276, -0.38328078389167786, -0.30153653025627136, 0.19915659725666046, 0.24423536658287048, -0.28624340891838074, -0.43227314949035645, 0.4749015271663666, -0.6128811240196228, 0.43599292635917664, -0.16286389529705048, -0.9923751950263977, 0.11206015199422836, 0.1763935387134552, -0.42508625984191895, 1.073459506034851, 0.3147071599960327, -0.8594598174095154, 0.25204065442085266, -0.5201290845870972, -0.6878582239151001, 0.10098717361688614, -0.33598965406417847, -0.5385695099830627, -0.41887158155441284, 0.648432195186615, 0.39002344012260437, -0.36381277441978455, 0.5513169169425964, -0.35279107093811035, -0.1751200258731842, 0.11145854741334915, 0.019923962652683258, 0.9430502653121948, -0.021898137405514717, 0.03680548816919327, 0.09514129161834717, -0.4529198110103607, 0.30782967805862427, 0.25973746180534363, 0.03479241207242012, -0.31190550327301025, 0.22209443151950836, -0.18885016441345215, 0.11245889961719513, 0.24715225398540497, -0.4297284185886383, 0.49157893657684326, -0.6643874645233154, 0.8784970045089722, 0.6061168909072876, 0.04494830220937729, 0.30605044960975647, 0.004669283051043749, 0.34198254346847534, -0.43158605694770813, -0.04951085150241852, 0.22728748619556427, -0.4424837827682495, -0.29531505703926086, -0.44771361351013184, 0.5270881056785583, 0.6162320375442505, -0.661003589630127, 0.5970249772071838, -0.6730574369430542, -0.36384260654449463, -0.49344903230667114, 0.04265926405787468, 0.20912212133407593, 0.9748129844665527, 0.35974180698394775, -0.3120482861995697, -0.3783254027366638, -0.8652658462524414, -0.1224384754896164, -0.10089743137359619, -0.22141987085342407, 0.7195598483085632, 0.09706487506628036, -0.24190247058868408, 1.086399793624878, -0.8525975942611694, -0.45374035835266113, 0.012858150526881218, -0.2750266492366791, 0.5062349438667297, 0.42654654383659363, 0.6165120601654053, -0.4004635810852051, -0.7431854009628296, 0.3913052976131439, -0.8475366830825806, -0.15215112268924713, 0.2012007087469101, -0.7449721693992615, 0.09875525534152985, 0.5185650587081909, -0.8185482025146484, 0.07577871531248093, 0.6358941793441772, -0.4568726718425751, 0.45851677656173706, -0.08270610868930817, -0.07874421775341034, -1.2075012922286987, 0.18977494537830353, -0.05404243990778923, -0.5524429678916931, -0.5943647623062134, -0.18108953535556793, 0.061443306505680084, -0.21126613020896912, 0.04621552675962448, 0.8173577189445496, -0.4940914213657379, -0.22709040343761444, 0.122203029692173, 0.4851307272911072, 0.3802510201931, 0.42553186416625977, -0.09055466204881668, 0.7095386385917664, 0.6745544075965881, -0.2635326385498047, 0.47242048382759094, 0.6377550363540649, -0.3256916105747223, 0.5972045660018921, -0.6983513236045837, 0.38099151849746704, 0.1183062344789505, 0.3608122169971466, -1.187845230102539, -0.36520788073539734, 0.4556015431880951, -0.33208250999450684, 0.4693301022052765, -0.6727688312530518, -0.4764883518218994, -0.4419551491737366, 0.22583816945552826, 0.06052388250827789, 0.3528386354446411, -0.49184679985046387, 0.5839195847511292, 0.5461340546607971, -0.3954082131385803, -0.6871594190597534, -0.4335118532180786, 0.2624095380306244, -0.2190691977739334, -0.9395443797111511, 0.46549201011657715, 0.3453802764415741, 0.058115825057029724, 0.21548645198345184, 0.014519802294671535, -0.06481786072254181, -0.17859326303005219, 0.029874682426452637, 0.627361536026001, -0.4401533007621765, 0.2379019856452942, 0.0795741081237793, -0.03675524890422821, -0.05288982391357422, -0.7563530802726746, 0.6924387216567993, 0.2315097600221634, -0.46549543738365173, -0.14996236562728882, 0.3250407874584198, 0.2883468568325043, -0.48207321763038635, 0.7474890351295471, 0.24753238260746002, -0.32304847240448, -0.10031570494174957, -0.2464509755373001, -0.10046166926622391, -0.45836424827575684, 0.40872249007225037, -0.1389627456665039, -1.0241533517837524, 0.6222458481788635, -0.048849329352378845, 0.04879264160990715, 0.4321669042110443, 0.6577171087265015, -0.019559910520911217, 1.1119301319122314, 0.15037617087364197, -0.09863261133432388, 0.33787986636161804, -0.14124830067157745, 0.5740804076194763, -0.7847521305084229, -0.010973210446536541, -0.46863770484924316, -0.1815473437309265, -0.4542866349220276, -0.4349527060985565, 0.21333345770835876, 0.029541270807385445, -0.378630667924881, 0.36781927943229675, -0.5001710057258606, 0.4799097776412964, 0.1907450258731842, 0.06802038103342056, 0.2519437074661255, 0.206857830286026, -0.135834202170372, 0.006186868529766798, -0.611271321773529, -0.43023213744163513, 1.3212848901748657, 0.05903485044836998, 0.6853299736976624, 0.3013650178909302, 0.5659716129302979, 0.1521429717540741, 0.27183735370635986, -0.6983199119567871, 0.23618169128894806, -0.3746345639228821, -0.4507208466529846, -0.4955720007419586, -0.642653226852417, -1.2696361541748047, 0.24881725013256073, -0.03774704411625862, -1.0000730752944946, 0.009389584884047508, 0.16263221204280853, -0.3824494779109955, -0.012611965648829937, -0.808898389339447, 1.3257205486297607, -0.30479612946510315, -0.5408134460449219, 0.2497195601463318, -0.5984453558921814, 0.23114240169525146, -0.27145904302597046, 0.32564374804496765, -0.2880993187427521, 0.2802588939666748, 0.37612342834472656, -0.577286422252655, 0.7817593216896057, -0.15251804888248444, -0.27251163125038147, 0.3567325174808502, 0.18777644634246826, 0.9758299589157104, 0.03553608059883118, -0.06525219976902008, 0.20795148611068726, 0.10857374966144562, -0.4351837635040283, -0.701361894607544, 0.6473230719566345, -0.5466142892837524, -0.429451584815979, -0.06839018315076828, -0.5442866086959839, -0.6975331902503967, 0.3747131824493408, 0.06516268104314804, 0.543933629989624, -0.2082461714744568, -0.037814460694789886, 0.286453515291214, -0.029156433418393135, -0.08351927995681763, 0.4941137731075287, -0.5183455348014832, -0.3728199005126953, 0.7573323845863342, 0.18641798198223114, 0.5255976915359497, 0.13223879039287567, 0.09999143332242966, -0.7547751069068909, -0.5934621691703796, -0.6150623559951782, 0.4021957814693451, -0.5456291437149048, -0.4225948750972748, -0.6165149211883545, -0.27029770612716675, -0.6924001574516296, -0.13878901302814484, -0.27634739875793457, -0.34792405366897583, -0.05474548786878586, -0.06491901725530624, 0.48673397302627563, 0.3186454176902771, 0.1923067420721054, 0.21196915209293365, -0.7539538741111755, 0.1102505698800087, 0.13243351876735687, 0.39591577649116516, -0.20961745083332062, -0.4529227018356323, -0.27096354961395264, 0.1728074997663498, 0.07610055059194565, -0.7418137788772583, 0.5613649487495422, 0.400142639875412, 0.4291641116142273, 0.23947151005268097, 0.08274359256029129, 0.7960739731788635, -0.705653727054596, 0.5508238673210144, 0.09039826691150665, -0.7946087718009949, 0.40349727869033813, -0.48678991198539734, -0.21057502925395966, 0.33303728699684143, 0.25463253259658813, -0.8411960005760193, -0.384525328874588, -0.43331918120384216, -1.116207242012024, 0.37497204542160034, 0.2643621265888214, 0.11618444323539734, -0.08358287811279297, 0.4265475571155548, -0.009969978593289852, 0.1747170239686966, -0.4111446440219879, -0.06383376568555832, 0.010360315442085266, -0.5863229036331177, -0.06402972340583801, 0.15639282763004303, -0.46088990569114685, -0.07535789906978607, 0.5714070796966553, -0.6744481325149536, 0.022452400997281075, -0.020424438640475273, 0.08855531364679337, -0.06988006085157394, -0.0443754568696022, -0.0629829540848732, 0.7678385972976685, -0.132450670003891, 0.05434709042310715, -0.09825300425291061, -0.13914985954761505, -0.04072904959321022, 0.37164437770843506, -0.12252668291330338, -0.09410998225212097, 0.2736966907978058, 0.5899648666381836, -0.047497496008872986, -0.7958835363388062, 0.51820307970047, 0.03384113311767578, -0.02818605862557888, 0.027000026777386665, -0.08920152485370636, 0.4889143109321594, 0.29338523745536804, 0.100102499127388, -0.39112943410873413, -0.07121391594409943, -0.2991744577884674, 0.2606114149093628, 0.7098899483680725, -0.33318302035331726, -0.07411220669746399, 0.7608646750450134, 0.09592835605144501, -0.10768101364374161, 0.9744699001312256, -0.2084457129240036, -0.37146124243736267, 0.5218753814697266, 0.7273877859115601, 0.6245419383049011, 0.06502217054367065, 0.07738550007343292, 0.46061575412750244, -0.06322905421257019, 0.05177163705229759, 0.1497637927532196, 0.5641975402832031, -1.0285933017730713, -0.8499069809913635, -0.5375792384147644, -0.3495568037033081, -0.17674045264720917, -0.5057258009910583, 0.2770025432109833, -0.24538031220436096, -0.28506648540496826, 0.3969503343105316, -0.04190732538700104, -0.6358611583709717, -0.011048058047890663, -0.02603694051504135, 0.46234190464019775, -0.7976671457290649, 1.0154424905776978, 0.3488995134830475, -0.22911207377910614, -1.1223981380462646, -0.38137951493263245, 0.09132347255945206, -1.1716636419296265, 0.42372235655784607, -0.28756922483444214, 0.08605700731277466, 0.2380005568265915, -0.5701125860214233, -1.0394855737686157, 1.0080301761627197, 0.6994845867156982, -0.7895243167877197, -0.1813299059867859, 0.2347632795572281, 0.6857483386993408, -0.5266356468200684, -0.19427204132080078, 0.45365282893180847, 0.22282573580741882, 0.22901880741119385, -0.9675639271736145, 0.16003839671611786, -0.07366524636745453, -0.2662171423435211, 0.6505499482154846, -0.550430953502655, 0.636341392993927, -0.15185138583183289, -0.37501367926597595, -0.2115410715341568, 0.46814054250717163, 0.033734992146492004, 0.017796937376260757, 0.2328673005104065, 0.4036547839641571, 1.3310636281967163, -0.16678687930107117, 1.1072968244552612, -0.5468436479568481, 0.7523127794265747, 1.3826014995574951, -0.74602210521698, 0.6494246125221252, 0.364364892244339, -0.395040363073349, 0.3364385664463043, 0.8089377880096436, -0.10363568365573883, 0.2797934412956238, 0.21451561152935028, 0.07485645264387131, -0.29631271958351135, -0.17314760386943817, -0.4439033567905426, 0.2930759787559509, 0.5128218531608582, -0.36731746792793274, -0.1277477741241455, -0.60600745677948, 0.24398840963840485, -0.10244525969028473, 0.014608380384743214, 0.6244283318519592, 0.07215386629104614, -0.577758252620697, 0.6204879283905029, -0.13620810210704803, 0.014370813965797424, -0.7082122564315796, 0.18544535338878632, -0.3987123966217041, -0.005044314078986645, -0.22889672219753265, -0.934853196144104, 0.3944571912288666, -0.08533375710248947, 0.15992431342601776, 0.054220180958509445, 0.6695864796638489, -0.6029267907142639, -0.4794091582298279, 0.29711857438087463, 0.5813177227973938, 0.023042798042297363, 0.03837379068136215, -0.6112783551216125, -0.3271889388561249, 0.05635067820549011, 0.015855317935347557, 0.40964624285697937, 0.722365140914917, -0.1519308239221573, 0.5248143672943115, 0.8051488995552063, 0.07193535566329956, -0.12210113555192947, 0.18641553819179535, 0.8895058631896973, -0.48889437317848206, -0.46868783235549927, -0.9232651591300964, 0.09867005795240402, -0.35184767842292786, -0.1232120618224144, 0.6241759061813354, 0.8597792387008667, 0.4761701822280884, 0.22732645273208618, 0.713627278804779, -0.08110053092241287, 0.6037057042121887, -0.7069500684738159, 0.5455976724624634, -0.399177223443985, 0.14652924239635468, -0.3717336356639862, -0.9029035568237305, -0.4229355454444885, 0.4403282701969147, -0.29247474670410156, -0.33616021275520325, 0.5046019554138184, 1.0437873601913452, -0.0051316251046955585, -0.17170202732086182, -0.06291593611240387, 0.2334367036819458, 0.6135781407356262, 0.685138463973999, 0.38414573669433594, -0.2528129518032074, 0.5739568471908569, 0.18432392179965973, 0.09658455103635788, -0.1382756382226944, -0.9425039291381836, -0.6805480122566223, -0.15761487185955048, -0.5689241290092468, -0.8926674127578735, 0.18111956119537354, 0.9395046234130859, 0.5588020086288452, -0.851453423500061, -0.20047074556350708, 0.15679149329662323, 0.07627277821302414, -0.2617908716201782, -0.21715115010738373, 0.9465962052345276, -0.2114362120628357, -0.7030137181282043, 0.3274122178554535, 0.35954728722572327, 0.030509229749441147, -0.09448535740375519, -0.03590976446866989, -0.0698382705450058, -0.014448009431362152, 0.5685633420944214, 0.33032888174057007, -0.5073150992393494, -0.7536975741386414, 0.0629657506942749, -0.4182412028312683, 0.3808366358280182, 0.5423092842102051, -0.47438928484916687, 0.4403328001499176, 0.3545934557914734, 0.7050023674964905, 0.5657572150230408, 0.23494350910186768, 0.7050735354423523, -0.9598626494407654, -0.14501602947711945, 0.21334822475910187, 0.4539310038089752, 0.4742562770843506, -0.386939138174057, 0.8633529543876648, 0.17466998100280762, -0.6607711911201477, -0.7540993094444275, 0.2952297329902649, -1.1240930557250977, -0.191964790225029, 1.183991551399231, -0.031620223075151443, -0.28170469403266907, -0.23041772842407227, -0.3519487977027893, 0.22646786272525787, -0.210817351937294, 0.5654577016830444, 0.6640326380729675, -0.29553934931755066, 0.30954092741012573, -0.4815646708011627, 0.42238348722457886, 0.15557660162448883, -0.7278704643249512, 0.5494954586029053, 0.6955516338348389, 0.30533432960510254, -0.12292370200157166, 0.8106717467308044, -0.1622810810804367, -0.31904205679893494, -0.1487489640712738, -0.03749547153711319, 0.21770796179771423, 0.278438925743103, 0.1553633213043213, 0.19638307392597198, -0.036288924515247345, 0.05678677558898926 ]
http://arxiv.org/abs/2403.00820v1
http://arxiv.org/pdf/2403.00820v1
Retrieval Augmented Generation Systems: Automatic Dataset Creation, Evaluation and Boolean Agent Setup
2024-02-26T12:56:17
2024-02-26T12:56:17
Tristan Kenneweg, Philip Kenneweg, Barbara Hammer
cs.IR
cs.IR, cs.CL
Retrieval Augmented Generation (RAG) systems have seen huge popularity in augmenting Large-Language Model (LLM) outputs with domain specific and time sensitive data. Very recently a shift is happening from simple RAG setups that query a vector database for additional information with every user input to more sophisticated forms of RAG. However, different concrete approaches compete on mostly anecdotal evidence at the moment. In this paper we present a rigorous dataset creation and evaluation workflow to quantitatively compare different RAG strategies. We use a dataset created this way for the development and evaluation of a boolean agent RAG setup: A system in which a LLM can decide whether to query a vector database or not, thus saving tokens on questions that can be answered with internal knowledge. We publish our code and generated dataset online.
[ -0.5333821177482605, -0.5937327146530151, 0.3213188350200653, 0.02259318344295025, 0.16084061563014984, 0.5194599032402039, 0.016909727826714516, -0.3660244047641754, 0.20213934779167175, 0.6048122048377991, -0.18880894780158997, 0.018083930015563965, -0.18664295971393585, 0.3059820234775543, -0.3292863667011261, 1.1249991655349731, -0.06508791446685791, -0.05453404784202576, -0.2833600640296936, -0.25620096921920776, -0.700311541557312, -0.36615797877311707, -0.7570751309394836, -0.485715389251709, 0.09793466329574585, 0.07796509563922882, 0.6797518134117126, 0.47795358300209045, 0.5502919554710388, 0.3774706721305847, 0.030586013570427895, 0.703752338886261, -0.6329711079597473, 0.4862200617790222, -0.6635808348655701, -0.38548749685287476, -0.2336449921131134, -0.17516618967056274, 0.5194189548492432, 0.45755600929260254, -0.11333946138620377, 0.688401460647583, -0.32913365960121155, 0.6269407272338867, -0.9025285840034485, -0.18227486312389374, -0.7554101943969727, 0.07496944069862366, -0.11451156437397003, -0.332491934299469, -0.36315417289733887, -0.5160412192344666, -0.16224700212478638, -0.495309978723526, 0.3967604637145996, 0.22379949688911438, 0.8955110907554626, 0.3476223647594452, -0.5017273426055908, -0.4333655834197998, -0.9885479807853699, 0.5849952697753906, -0.4370262324810028, 0.21344713866710663, 0.28563520312309265, 0.7000313997268677, -0.42898309230804443, -0.9097371697425842, -0.676276683807373, -0.31683677434921265, 0.08005564659833908, 0.11775290220975876, 0.026512466371059418, -0.37650778889656067, 0.3672505021095276, 0.44798150658607483, -0.6867074966430664, -0.23703086376190186, -0.29686737060546875, -0.23655132949352264, 0.7793628573417664, 0.36766597628593445, 0.04274829477071762, -0.3630121350288391, -0.49520573019981384, -0.18461070954799652, -0.6443206071853638, -0.2952183485031128, 0.3912874758243561, 0.26352253556251526, 0.16086462140083313, 1.0566105842590332, -0.2551058232784271, 0.8360477089881897, 0.37517863512039185, -0.06748586893081665, 0.16113317012786865, -0.43575096130371094, -0.13853289186954498, -0.1648070365190506, 0.5944124460220337, 0.17887622117996216, 0.06032034009695053, -0.20348523557186127, -0.8185217380523682, 0.26097556948661804, 0.5637138485908508, -0.6177458763122559, -0.02971629612147808, 0.18578878045082092, -0.30195704102516174, -0.5510770678520203, -0.07311603426933289, -0.43756967782974243, -0.709953784942627, -0.5207746028900146, 0.8205351233482361, -0.22293131053447723, -0.2657693028450012, -0.07988377660512924, -0.3586512506008148, 0.3722856342792511, 0.015858452767133713, -0.26823216676712036, 0.4030177593231201, 0.6652593612670898, 0.49316397309303284, -0.28508344292640686, 0.05528930574655533, -0.8750001788139343, 0.14743052423000336, -0.8023982644081116, 1.0377589464187622, -0.657176673412323, -0.4616035223007202, -0.015728874132037163, -0.12935923039913177, 0.15752221643924713, -0.8102807998657227, 0.5090994238853455, -1.222167730331421, 0.3747091591358185, -0.16544649004936218, -0.7319647073745728, 0.03802136331796646, 0.29078447818756104, -0.6891249418258667, 1.2911564111709595, 0.3145866394042969, -0.7591469287872314, 0.4873499274253845, -0.6919437050819397, -0.353254109621048, 0.41159895062446594, -0.19622202217578888, -0.2580972909927368, -0.020430216565728188, 0.22379270195960999, 0.29913514852523804, -0.378176212310791, 0.0667920932173729, -0.08734622597694397, -0.39454010128974915, 0.40599173307418823, -0.25257501006126404, 0.9253590106964111, 0.4885340631008148, -0.33252206444740295, -0.26195964217185974, -0.9297058582305908, 0.13357096910476685, 0.20575909316539764, -0.4837609827518463, -0.27594640851020813, -0.22102247178554535, -0.24186637997627258, 0.013635601848363876, 0.43609586358070374, -0.6066731810569763, 0.2899998724460602, -0.30131739377975464, -0.11301440745592117, 0.5766254663467407, 0.4175359606742859, 0.2502515912055969, -0.6237929463386536, 0.6396573781967163, -0.33952778577804565, 0.06971710920333862, 0.1121257096529007, -0.288056343793869, -0.7121044993400574, -0.18827520310878754, 0.6415093541145325, 0.6386550068855286, -1.5463905334472656, 0.2923097312450409, -0.13576717674732208, -0.4313790202140808, -0.4394735097885132, 0.0011748133692890406, 0.5772796869277954, 0.5854884386062622, 0.006338153500109911, -0.16770857572555542, -0.6514856815338135, -0.7304810881614685, 0.06095845624804497, -0.2086729109287262, -0.14582017064094543, 0.438322514295578, 0.5726251006126404, -0.3852626085281372, 1.0560499429702759, -0.43272292613983154, 0.15896156430244446, -0.03290970250964165, 0.24850474298000336, 0.22875426709651947, 0.10945845395326614, 0.44461655616760254, -0.8295960426330566, -0.334596186876297, 0.03989220783114433, -0.9597259759902954, -0.2017086148262024, 0.10408283770084381, -0.33741894364356995, 0.39428219199180603, 0.2271604686975479, -0.3506143391132355, 0.7016332149505615, 0.4880409836769104, -0.3271092474460602, 0.7601180672645569, -0.3031400740146637, 0.4807174801826477, -1.0578933954238892, 0.2234911024570465, -0.42842695116996765, -0.5347285270690918, -0.5423451066017151, 0.1476517617702484, -0.13256050646305084, -0.19875285029411316, -0.2825270891189575, 0.8696596026420593, -0.5016038417816162, -0.5180554986000061, -0.5865490436553955, 0.09830931574106216, 0.24465055763721466, 0.20730239152908325, -0.2748458683490753, 1.1592011451721191, 0.29691222310066223, -0.9082931876182556, 0.6417621970176697, 0.3879568874835968, -0.3022657632827759, 0.6789150834083557, -0.6099076271057129, 0.43369534611701965, -0.09636810421943665, 0.15782247483730316, -0.7567592263221741, -0.23115293681621552, 0.1785542070865631, -0.6100937128067017, 0.41776925325393677, -0.16113243997097015, -0.6462661027908325, -0.33271726965904236, -0.17075352370738983, 0.35623490810394287, 0.42199844121932983, -0.8248291611671448, 0.5908714532852173, 0.6729739904403687, 0.005513205658644438, -0.6569324731826782, -0.19145917892456055, 0.3610987067222595, -0.057612743228673935, -0.663780152797699, 0.1244674026966095, -0.03556160256266594, -0.5226535201072693, 0.16454996168613434, 0.12833932042121887, 0.17933952808380127, -0.025972528383135796, 0.06331375241279602, 0.25339239835739136, -0.13081054389476776, 0.2799987494945526, -0.10108061879873276, -0.04467276111245155, -0.09504637867212296, -0.0537891685962677, 0.5081523060798645, -0.0926937535405159, -0.3084518015384674, 0.19704510271549225, 0.1853334605693817, 0.09311773627996445, -0.4561106264591217, 0.5369361639022827, 0.5522059202194214, -0.3734242916107178, -0.608512282371521, -0.5889877676963806, 0.03446171060204506, -0.5213602781295776, -0.14845433831214905, -0.48713916540145874, -0.4666701853275299, 0.4505369961261749, -0.07924249768257141, 0.244202122092247, 0.44393667578697205, 0.8139835000038147, 0.050273869186639786, 0.9374170899391174, 0.3995569348335266, 0.46545809507369995, 0.1520482897758484, -0.39095205068588257, -0.007597469724714756, -0.8911609649658203, -0.03368712589144707, -0.371150940656662, -0.04354183375835419, -0.7190049886703491, -0.5740258693695068, 0.5102634429931641, -0.07473527640104294, -0.4134220480918884, 0.17355667054653168, -0.6017460823059082, 0.43717363476753235, 0.45841366052627563, 0.011456663720309734, 0.2786964774131775, 0.047763705253601074, -0.06995247304439545, 0.38918551802635193, -0.6185526847839355, -0.8172561526298523, 1.3443022966384888, -0.030154405161738396, 0.6496817469596863, 0.24869444966316223, 0.6734986305236816, 0.8441880941390991, 0.5373300313949585, -0.5727306604385376, 0.6529077291488647, -0.07539841532707214, -0.8046689629554749, -0.3858228027820587, -0.5862581729888916, -1.1673641204833984, 0.05915030464529991, -0.4114765524864197, -0.22810670733451843, 0.340891033411026, -0.027587836608290672, -0.20934200286865234, 0.17615607380867004, -0.6584660410881042, 0.25960227847099304, -0.24065539240837097, -0.4875820577144623, 0.2263861745595932, -0.4765068292617798, 0.294033408164978, -0.3322347104549408, 0.02749559096992016, 0.029902806505560875, -0.23244361579418182, 0.7175047993659973, -0.5217931866645813, 0.32164958119392395, -0.33063527941703796, -0.08280021697282791, 0.6729282140731812, 0.36488083004951477, 0.5577570796012878, 0.06050587072968483, -0.4691953957080841, -0.25733035802841187, 0.08635441958904266, -0.2326788604259491, -0.7499028444290161, 0.42363080382347107, -0.5411338210105896, -0.27364614605903625, -0.40883368253707886, -0.5223305821418762, -0.377964049577713, 0.2514895498752594, 0.15539272129535675, 0.7791467308998108, -0.2648482918739319, -0.037194736301898956, 0.6767848134040833, -0.3240690529346466, 0.20671100914478302, 0.7665790319442749, -0.5809996724128723, -0.46546685695648193, 1.206734299659729, 0.07844541221857071, 0.07641448080539703, 0.3237672746181488, 0.26776739954948425, -0.3694833517074585, -0.279285728931427, -0.5952049493789673, 0.2584226727485657, -0.6227588057518005, -0.4293202757835388, -0.2692478895187378, -0.26780447363853455, -0.5038577914237976, 0.13448309898376465, -0.25506067276000977, -0.4970182478427887, 0.17618770897388458, 0.0839134156703949, 0.5775352716445923, 1.116303563117981, -0.34631767868995667, -0.03765068203210831, -0.6219207048416138, 0.6553272604942322, 0.402214914560318, 0.3798537254333496, -0.2944492995738983, -0.5189514756202698, -0.3278955817222595, 0.07509563118219376, -0.20711855590343475, -0.8558637499809265, 0.2475391924381256, 0.050004541873931885, 0.5774752497673035, 0.06539128720760345, 0.20976445078849792, 0.3820677697658539, -0.5950651168823242, 0.663960874080658, -0.2863538861274719, -0.6017367243766785, 0.37699273228645325, -0.42439529299736023, 0.004381385166198015, 0.522875189781189, 0.18668246269226074, -0.15736913681030273, -0.1830522119998932, -0.6586448550224304, -0.6087031364440918, 0.4597615599632263, 0.4676879644393921, -0.31606486439704895, 0.08854737132787704, 0.4830569624900818, 0.1473512351512909, 0.366265207529068, -0.05798272788524628, -0.3289482295513153, -0.07227731496095657, -0.08814336359500885, 0.14870622754096985, 0.017242316156625748, -0.33924543857574463, 0.2074703723192215, 0.772747278213501, 0.030986931174993515, 0.29209306836128235, -0.010947824455797672, -0.10768742114305496, -0.0942646712064743, 0.0359857939183712, 0.20579926669597626, 0.9540303349494934, -0.2941647469997406, -0.10599781572818756, 0.13631384074687958, -0.42665937542915344, 0.41452452540397644, 0.20779962837696075, -0.45438042283058167, 0.16670441627502441, 0.23568560183048248, 0.6953756809234619, -0.2039330005645752, -0.7064800262451172, 0.3803900182247162, -0.3088162839412689, -0.22551992535591125, -0.40022897720336914, 0.08281267434358597, -0.38157644867897034, 0.3371869623661041, 0.34694430232048035, -0.2523343563079834, 0.390951007604599, -0.4884023666381836, 0.3741552233695984, 0.36795860528945923, 0.11307115107774734, -0.036463093012571335, 0.4325340688228607, 0.09490104764699936, -0.5664133429527283, 0.30222487449645996, -0.67945396900177, -0.4160554111003876, 0.4566958546638489, 0.38613200187683105, 0.8428127765655518, -0.2613215744495392, 0.4727908670902252, 0.19626054167747498, 0.2376267910003662, 0.19951944053173065, 0.5528513789176941, -0.014262842945754528, -0.7003604769706726, -0.5288423895835876, -0.8207353353500366, -0.6165739297866821, 0.10647102445363998, -0.6845423579216003, 0.07571391016244888, -0.1943334937095642, -0.42166996002197266, -0.014331710524857044, 0.38388311862945557, -0.9184046387672424, 0.3031114339828491, -0.13745228946208954, 0.7504823803901672, -0.7140076756477356, 0.21617156267166138, 1.0245941877365112, -0.3231271505355835, -0.7043329477310181, -0.13553713262081146, -0.33743464946746826, -0.8640944957733154, 0.742331326007843, -0.3695274591445923, -0.21517619490623474, -0.297260582447052, -0.5240500569343567, -1.0080115795135498, 0.8172692656517029, 0.24551428854465485, -0.18860745429992676, 0.16119319200515747, 0.11449311673641205, 0.7583065629005432, -0.26186949014663696, 0.17459914088249207, 0.5461013913154602, 0.42146623134613037, 0.22048835456371307, -0.8517704606056213, -0.012831087224185467, -0.3052564859390259, 0.14799892902374268, 0.32434725761413574, -0.4021223783493042, 0.7455992698669434, -0.017870889976620674, -0.42644575238227844, 0.03175286948680878, 0.6381855010986328, 0.4522800147533417, 0.4880976378917694, 0.6438342928886414, 0.6019955277442932, 0.7474030256271362, 0.12896735966205597, 1.273507833480835, -0.3031156063079834, 0.09094774723052979, 1.2364298105239868, -0.5658140182495117, 0.7861281633377075, 0.01498326100409031, -0.1500599980354309, 0.19285176694393158, 0.5098407864570618, -0.022167546674609184, 0.3036888539791107, 0.3613416254520416, -0.3596321940422058, -0.15533101558685303, -0.29181692004203796, -0.296472430229187, 0.47951385378837585, 0.3038994073867798, 0.06666453927755356, -0.2763853967189789, 0.1198929101228714, -0.3119380474090576, 0.06704558432102203, -0.32724106311798096, 1.004116177558899, -0.17135314643383026, -0.7911598682403564, 0.6315126419067383, -0.07615333050489426, 0.11144553869962692, -0.32580918073654175, -0.2839372456073761, -0.3663409352302551, 0.10865605622529984, -0.32262155413627625, -0.9004284143447876, 0.19503100216388702, 0.40584638714790344, -0.1878044307231903, 0.09499474614858627, 0.9689412713050842, -0.1762104332447052, -0.6593230366706848, -0.10011286288499832, 0.6739992499351501, 0.33346423506736755, 0.36290988326072693, -0.6746439933776855, -0.027160365134477615, -0.26190418004989624, -0.3727686405181885, 0.05958793684840202, 0.7353683114051819, -0.20244932174682617, 0.6137779951095581, 0.6652738451957703, 0.38440340757369995, 0.18489374220371246, 0.20385602116584778, 0.9630485773086548, -0.44087114930152893, -0.21483741700649261, -0.1177184134721756, 0.3220680356025696, -0.21612192690372467, -0.1601359099149704, 0.9326286315917969, 0.7151750922203064, 0.6253988742828369, 0.2721797227859497, 0.9213526248931885, -0.16964545845985413, 1.1594045162200928, -0.39578619599342346, 0.5816924571990967, -0.5419943332672119, 0.3581845164299011, -0.09977123141288757, -0.9868730306625366, 0.2627107501029968, 0.39519017934799194, -0.056818801909685135, 0.17548762261867523, 0.21614977717399597, 1.0040781497955322, 0.07464110106229782, -0.13581962883472443, 0.11626261472702026, 0.10713683813810349, 0.5222710967063904, 0.06468426436185837, 1.0779492855072021, -0.4968201816082001, 0.4673348367214203, -0.1880389004945755, -0.3929339647293091, -0.09159663319587708, -0.860934317111969, -0.8101022243499756, -0.5427663922309875, -0.0605400986969471, -0.5353162884712219, 0.2201979011297226, 0.7452310919761658, 0.33823031187057495, -0.6388728022575378, -0.2521566152572632, 0.32392963767051697, -0.013802873902022839, 0.06526510417461395, -0.24024198949337006, 0.41920825839042664, -0.42044371366500854, -0.4510791003704071, 0.528114378452301, 0.02543392777442932, -0.1486230194568634, -0.4706656038761139, -0.026774244382977486, -0.22837072610855103, 0.38396555185317993, 0.6869137287139893, 0.4773114025592804, -0.14097926020622253, -0.18097428977489471, 0.00012722301471512765, -0.10543974488973618, -0.16716252267360687, 0.6382691264152527, -1.1021108627319336, 0.7857092618942261, 0.6637510657310486, 0.922119140625, 0.618872344493866, 0.17214953899383545, 0.7138228416442871, -0.7757752537727356, -0.21224640309810638, 0.5102882385253906, 0.13645105063915253, 0.4885680675506592, -0.2340354025363922, 0.8823236227035522, -0.08672907948493958, -0.8951807618141174, -1.1164350509643555, 0.12346614897251129, -0.663074254989624, -0.13781601190567017, 1.2361198663711548, 0.2958671450614929, -0.30478331446647644, -0.253389447927475, -0.2573871314525604, 0.4044245779514313, -0.15020905435085297, 0.7482115626335144, 0.12872637808322906, -0.21365231275558472, 0.6403633952140808, -0.5500500202178955, 0.46912434697151184, -0.07823453098535538, -0.8376765251159668, -0.26480376720428467, 0.6380460262298584, 0.21313601732254028, 0.2798650562763214, 0.5747808814048767, 0.025568347424268723, 0.26681604981422424, 0.10673779249191284, 0.055121321231126785, -0.24454598128795624, -0.3336637020111084, -0.09639836102724075, 0.09724392741918564, -0.20721377432346344, -0.26048579812049866 ]
http://arxiv.org/abs/2402.16539v1
http://arxiv.org/pdf/2402.16539v1
Integrating Large Language Models with Graphical Session-Based Recommendation
2024-02-26T12:55:51
2024-02-26T12:55:51
Naicheng Guo, Hongwei Cheng, Qianqiao Liang, Linxun Chen, Bing Han
cs.IR
cs.IR, cs.CL, cs.LG
With the rapid development of Large Language Models (LLMs), various explorations have arisen to utilize LLMs capability of context understanding on recommender systems. While pioneering strategies have primarily transformed traditional recommendation tasks into challenges of natural language generation, there has been a relative scarcity of exploration in the domain of session-based recommendation (SBR) due to its specificity. SBR has been primarily dominated by Graph Neural Networks, which have achieved many successful outcomes due to their ability to capture both the implicit and explicit relationships between adjacent behaviors. The structural nature of graphs contrasts with the essence of natural language, posing a significant adaptation gap for LLMs. In this paper, we introduce large language models with graphical Session-Based recommendation, named LLMGR, an effective framework that bridges the aforementioned gap by harmoniously integrating LLMs with Graph Neural Networks (GNNs) for SBR tasks. This integration seeks to leverage the complementary strengths of LLMs in natural language understanding and GNNs in relational data processing, leading to a more powerful session-based recommender system that can understand and recommend items within a session. Moreover, to endow the LLM with the capability to empower SBR tasks, we design a series of prompts for both auxiliary and major instruction tuning tasks. These prompts are crafted to assist the LLM in understanding graph-structured data and align textual information with nodes, effectively translating nuanced user interactions into a format that can be understood and utilized by LLM architectures. Extensive experiments on three real-world datasets demonstrate that LLMGR outperforms several competitive baselines, indicating its effectiveness in enhancing SBR tasks and its potential as a research direction for future exploration.
[ -0.37563908100128174, -1.1370644569396973, 1.0837478637695312, -0.0017938959645107388, -0.26418158411979675, 0.1474108248949051, -0.3391677141189575, -0.3327265679836273, 0.01876741647720337, 0.6352364420890808, -0.534684956073761, -0.7339008450508118, -0.41306525468826294, -0.18167683482170105, -0.028307674452662468, 1.0213217735290527, -0.24327988922595978, 0.005144699942320585, -0.35572507977485657, -0.047559939324855804, -0.9863400459289551, -0.5182024240493774, -0.9075307846069336, -0.7406764626502991, 0.8039378523826599, 0.10815486311912537, 0.5708774328231812, 0.4308792054653168, 0.343693345785141, 0.3685840666294098, -0.23350593447685242, 0.42293134331703186, -0.7989979386329651, 0.0374581441283226, -0.14784479141235352, -0.15272220969200134, -0.5318148136138916, -0.5179401636123657, 0.5696337819099426, 0.721663773059845, -0.12607501447200775, -0.11815636605024338, 0.33010348677635193, 0.4972081482410431, -0.3297133147716522, 0.6202120780944824, -0.33286428451538086, -0.0011491215554997325, 0.037169694900512695, -0.19446291029453278, -0.5557317733764648, -0.2302461564540863, 0.3306320905685425, -0.5273663997650146, 0.07066130638122559, 0.3347807228565216, 0.5539637207984924, -0.21661916375160217, -0.6147142052650452, -0.0940561592578888, -0.7219846844673157, 0.48351913690567017, -0.6053565740585327, 0.30169767141342163, 0.2151983231306076, 0.527327299118042, -0.5132168531417847, -0.7044020295143127, -0.2195826917886734, -0.38337311148643494, -0.25899800658226013, -0.2659372389316559, -0.5197729468345642, 0.33501002192497253, 0.25549039244651794, 0.19464091956615448, -0.624890923500061, 0.21078848838806152, -0.1457209587097168, 0.0077095963060855865, 0.3563307523727417, 0.3371211588382721, 0.4966842532157898, -0.024950727820396423, -0.09863085299730301, 0.015866408124566078, -0.6058286428451538, -0.032103437930345535, -0.03503164276480675, 0.618456244468689, -0.2160434126853943, 0.4934084713459015, -0.00793405994772911, 1.0544710159301758, 0.1110004261136055, -0.10220742970705032, -0.12966908514499664, -0.27778148651123047, -0.2513618767261505, 0.14447371661663055, 0.8162738084793091, 0.530750572681427, 0.41231054067611694, -0.5062661170959473, -0.20551219582557678, -0.22841714322566986, 0.30062124133110046, -0.835110604763031, -0.16509577631950378, -0.23156343400478363, -0.35504379868507385, 0.008545693941414356, -0.035403188318014145, -0.4345857501029968, -0.5635097026824951, -0.6469017267227173, 0.33068645000457764, -0.5380531549453735, 0.001855274778790772, 0.010965325869619846, -0.16713017225265503, -0.09389572590589523, 0.44722259044647217, -0.9102897644042969, 0.5062263607978821, 0.8381272554397583, 1.126609206199646, -0.36099937558174133, -0.2254260778427124, -0.5780820846557617, 0.4210890829563141, -0.11539126932621002, 0.8289499878883362, -0.6112558841705322, -0.5287637710571289, 0.10963437706232071, 0.36241307854652405, -0.070589579641819, -0.3865056037902832, 0.1258164346218109, -0.7331089377403259, -0.009846954606473446, -0.22508932650089264, -0.5105579495429993, -0.49861815571784973, 0.25652772188186646, -0.49510279297828674, 0.8116664886474609, 0.3742789924144745, -0.451285719871521, 0.3039948344230652, -0.6561303734779358, -0.5475528240203857, 0.25290676951408386, -0.12246806174516678, -0.07454438507556915, 0.17834609746932983, 0.44464972615242004, 0.5055226683616638, -0.37430065870285034, 0.6414967775344849, -0.6012867093086243, -0.636357307434082, 0.2381455898284912, -0.35875076055526733, 0.39397144317626953, -0.10637284070253372, -0.15312515199184418, 0.6950485706329346, -0.27161505818367004, 0.003999554086476564, 0.052935127168893814, -0.1946837157011032, -0.3500487804412842, -0.06480179727077484, 0.32710617780685425, -0.06953713297843933, 0.07763651013374329, -0.13288073241710663, 0.25347885489463806, -0.2876518666744232, 0.7572082877159119, 0.8851693272590637, 0.16970321536064148, 0.3250489830970764, -0.2299000471830368, 0.5214572548866272, -0.17717798054218292, -0.2788792550563812, -0.20501497387886047, -0.21071194112300873, -0.6412383317947388, -0.13283385336399078, 0.06739193201065063, 0.42161568999290466, -0.8226993680000305, 0.6636161208152771, -0.4987744688987732, -0.3300853669643402, -0.04060833901166916, 0.23950114846229553, 0.21492141485214233, 0.45559653639793396, 0.3834148943424225, -0.3561626076698303, -0.3867841362953186, -0.6448919177055359, 0.08332847058773041, -0.09335795789957047, -0.05024806037545204, 0.8829787373542786, 0.2033902108669281, -0.5104159116744995, 0.86553555727005, -0.6427430510520935, -0.24160338938236237, -0.6420440077781677, -0.1467527598142624, 0.5020292401313782, 0.22322814166545868, 0.430391788482666, -0.32480674982070923, -0.6144179701805115, 0.193329855799675, -0.7460032105445862, 0.014359325170516968, -0.027762791141867638, -0.3060416579246521, -0.15247313678264618, 0.5906684398651123, -0.39121246337890625, 0.056588999927043915, 0.2915315628051758, -0.3958292603492737, 0.1950591504573822, -0.4649965465068817, -0.09802675247192383, -0.9396963119506836, -0.03626208007335663, 0.3867104947566986, -0.4977404773235321, -0.5508043766021729, -0.1308857947587967, -0.2097025215625763, -0.24392582476139069, -0.03528611361980438, 0.8123736381530762, -0.41306939721107483, -0.035784024745225906, -0.4897017776966095, 0.44456493854522705, 0.013728542253375053, 0.5086786150932312, -0.16767607629299164, 0.8639304637908936, 0.5871759057044983, -0.5675885677337646, 0.5726754665374756, 0.3647927939891815, -0.32752305269241333, 0.47683823108673096, -0.8724444508552551, 0.3089873492717743, -0.19330845773220062, 0.5190514326095581, -1.09030020236969, -0.06263921409845352, 0.2846669852733612, 0.31713616847991943, 0.44403642416000366, -0.5049774050712585, -0.24055109918117523, -0.311385840177536, -0.051636334508657455, 0.26555129885673523, 0.17566749453544617, -0.686019241809845, 0.6811888813972473, 0.3693638741970062, -0.4481465518474579, -0.37551969289779663, -0.4710440933704376, 0.46957603096961975, -0.2692411541938782, -0.5422320365905762, 0.6007523536682129, 0.04654403775930405, -0.10815323144197464, 0.028877466917037964, 0.017681580036878586, 0.32775890827178955, -0.017842767760157585, 0.4286049008369446, 0.6161067485809326, -0.4602256119251251, 0.0806678757071495, -0.04598246142268181, -0.29036208987236023, 0.010124575346708298, -0.6370144486427307, 0.7554503679275513, -0.29885369539260864, -0.37366771697998047, -0.2809561789035797, 0.10260505229234695, 0.4115285277366638, 0.06279954314231873, 0.6004825234413147, 0.6732398271560669, -0.01619122363626957, 0.006435841787606478, -0.5521386861801147, -0.14672470092773438, -0.5238909125328064, 0.5850478410720825, -0.299606055021286, -1.3773059844970703, 0.17104779183864594, -0.23738376796245575, -0.28712302446365356, 0.07156310975551605, 0.45891502499580383, 0.03841366618871689, 1.0682251453399658, 0.7936462759971619, -0.5130218863487244, 0.8881756067276001, -0.2869816720485687, 0.3573833107948303, -1.0491888523101807, -0.030544763430953026, -0.06999218463897705, -0.41846320033073425, -0.7138116955757141, -0.27682217955589294, 0.28224462270736694, -0.0343564935028553, -0.4523566961288452, 0.15943075716495514, -0.3401229977607727, 0.5831193327903748, 0.5575738549232483, 0.3976241946220398, 0.07984670251607895, 0.18002310395240784, -0.13612721860408783, 0.11119590699672699, -0.709528923034668, -0.5528458952903748, 0.8552401065826416, 0.2168121486902237, 0.7432389855384827, 0.08177889883518219, 0.3391978442668915, 0.42760032415390015, 0.31144165992736816, -1.0253779888153076, 0.7311009168624878, -0.29524412751197815, 0.012612894177436829, -0.27290570735931396, -0.41997408866882324, -0.9947852492332458, 0.1225811019539833, -0.09990473836660385, -1.1270482540130615, -0.005140834487974644, -0.06000716611742973, -0.21074895560741425, 0.26049500703811646, -0.4155193269252777, 1.0992529392242432, -0.45416924357414246, -0.5016660094261169, -0.2592434287071228, -0.34525927901268005, 0.18255606293678284, 0.16406302154064178, 0.03901633992791176, -0.224678173661232, 0.16664662957191467, 0.5495282411575317, -0.07852340489625931, 0.8269764184951782, -0.24596533179283142, 0.00785771943628788, 0.14745746552944183, 0.1667259782552719, 0.6724326014518738, 0.044042639434337616, -0.07327906787395477, 0.04125168174505234, -0.19949907064437866, -0.02414349839091301, -0.6861936450004578, 0.9667317271232605, -0.7056776285171509, -0.830984354019165, -0.20414738357067108, -0.6062694787979126, -0.3223404288291931, 0.3775685131549835, -0.2997801899909973, 0.6020206212997437, -0.5177476406097412, 0.11324067413806915, 0.4407230019569397, -0.19433510303497314, 0.26222673058509827, 0.2798042595386505, -0.641941249370575, -0.7094340324401855, 1.0266897678375244, -0.136719211935997, -0.05511884763836861, 0.3914996385574341, 0.11740436404943466, -0.3794790804386139, -0.6741387844085693, -0.6254822015762329, 0.3831103444099426, -0.7321422696113586, -0.03215019032359123, -0.5816658139228821, -0.04397750273346901, -0.2541123330593109, -0.334087997674942, 0.4579392671585083, 0.09164983034133911, -0.3107932507991791, -0.2545498013496399, 0.6161136627197266, 0.7505753040313721, 0.38161033391952515, 0.7235614657402039, -0.7044475674629211, 0.21890275180339813, 0.22132481634616852, 0.44666558504104614, 0.1461487114429474, -0.4746280312538147, -0.31290584802627563, -0.12791572511196136, -0.22733984887599945, -0.5175232887268066, 0.40341493487358093, 0.09171170741319656, 0.6915470361709595, 0.6796649098396301, -0.32573816180229187, 0.8382270932197571, -0.7442619204521179, 0.6181756258010864, 0.11990279704332352, -0.7160333395004272, 0.31387826800346375, -0.5296360850334167, 0.2663136124610901, 0.5340871214866638, 0.35625430941581726, -0.8170157670974731, -0.03320429474115372, -0.22427138686180115, -0.8393935561180115, 0.8241812586784363, -0.3728548288345337, 0.4110070765018463, 0.12019680440425873, 0.40639567375183105, -0.10660798102617264, 0.17788472771644592, -0.569733738899231, -0.0492524579167366, 0.0633636862039566, -0.23685072362422943, -0.6376466751098633, -0.3118373155593872, -0.20772483944892883, -0.1377124935388565, 0.6118744611740112, -0.500992476940155, 0.23306412994861603, -0.27815136313438416, -0.10882405191659927, -0.037599287927150726, 0.27210602164268494, 0.17666150629520416, 0.765721321105957, -0.2665356397628784, 0.1299627423286438, 0.3761451244354248, -0.08547011762857437, 0.20173487067222595, 0.1960347294807434, -0.07582058012485504, -0.17336982488632202, 0.2202947586774826, 1.2956730127334595, 0.45330870151519775, -0.5594034790992737, 0.18725314736366272, -0.0847349539399147, 0.22316701710224152, -0.007820281200110912, 0.3186476230621338, 0.37109971046447754, 0.2697303295135498, 0.0558890700340271, -0.3409934937953949, 0.09459060430526733, -0.6046704053878784, -0.022686153650283813, 0.7115316390991211, -0.7422265410423279, 0.03551158308982849, 0.31337061524391174, 0.12629686295986176, -0.4911844730377197, 0.7839789986610413, 0.10337428003549576, -0.3794406056404114, 0.32252979278564453, 0.9643102884292603, 1.0107288360595703, 0.3453928530216217, 0.11380168795585632, 0.2674783170223236, -0.08639170229434967, -0.08540327101945877, -0.0872352346777916, -0.17142312228679657, -0.545971691608429, -0.438577800989151, -0.5436727404594421, -0.4912094473838806, 0.047081876546144485, -0.44246840476989746, 0.32634902000427246, -0.4211723208427429, -0.41323915123939514, -0.06346439570188522, -0.18234647810459137, -0.44853585958480835, -0.23282985389232635, 0.20590424537658691, 0.672651469707489, -0.5568518042564392, 0.583658754825592, 0.6641386151313782, -0.2177792340517044, -0.580559492111206, -0.05636119470000267, 0.006350261624902487, -0.7248202562332153, 0.5247711539268494, 0.30356547236442566, -0.24131134152412415, 0.03627113625407219, -0.17791204154491425, -0.7325378656387329, 1.2057936191558838, 0.4601927101612091, -0.6011644005775452, -0.212815061211586, -0.019997671246528625, 0.577264130115509, -0.5097619295120239, 0.364052414894104, 0.5192288160324097, 0.5205087661743164, 0.18480156362056732, -0.626966118812561, 0.3493613600730896, -0.1106000617146492, 0.471050888299942, 0.42702531814575195, -0.47059008479118347, 0.4954415559768677, -0.14138105511665344, -0.10605444759130478, -0.06143598258495331, 0.6362655162811279, 0.31641602516174316, 0.3342002034187317, 0.47501787543296814, 0.12802158296108246, 0.723875105381012, -0.08142558485269547, 1.0860450267791748, -0.4166136085987091, -0.011621926911175251, 1.1214940547943115, -0.43358781933784485, 0.6482065916061401, 0.35144996643066406, -0.2929762005805969, 0.8434685468673706, 0.7676379680633545, -0.28540143370628357, 0.31470629572868347, 0.35168731212615967, -0.27642467617988586, -0.2986071705818176, -0.43010273575782776, -0.22349578142166138, 0.17738258838653564, 0.37529876828193665, -0.2743859589099884, -0.22305314242839813, 0.05925693362951279, 0.001338953385129571, -0.0958237424492836, -0.3390956223011017, 1.1580976247787476, 0.2297416627407074, -0.6506194472312927, 0.3951859772205353, 0.14084956049919128, 0.6242997646331787, -0.8518294095993042, -0.17477862536907196, -0.02590351179242134, 0.21955262124538422, 0.03658704087138176, -0.7020465731620789, -0.2347499281167984, -0.04015375301241875, -0.14798423647880554, -0.2524071931838989, 0.9389702081680298, -0.3278806507587433, -0.6619483232498169, 0.47174984216690063, 0.6369467377662659, -0.03413115814328194, 0.007600031793117523, -0.48709046840667725, -0.04689597710967064, -0.06272396445274353, 0.04439479112625122, 0.6375094056129456, 0.456328421831131, -0.07238104939460754, 0.7636691331863403, 0.6679915189743042, 0.06377902626991272, -0.5542289018630981, 0.23628388345241547, 0.8634810447692871, -0.6824071407318115, -0.5602410435676575, -1.0963621139526367, 0.030948733910918236, -0.03009345382452011, 0.055009111762046814, 0.7565615177154541, 0.5834405422210693, 0.504341185092926, 0.05553235858678818, 0.7723090052604675, 0.30972039699554443, -0.07465590536594391, -0.6190149188041687, 0.5831642746925354, -0.3314672112464905, 0.3380652368068695, -0.29581043124198914, -1.0095796585083008, -0.12588734924793243, 0.4885944426059723, -0.6775906682014465, 0.4435630738735199, 0.38239651918411255, 0.8211246132850647, -0.34164637327194214, 0.042581431567668915, 0.12420423328876495, 0.05985977500677109, 0.49867308139801025, 0.6000047922134399, 0.713853657245636, 0.11990024149417877, 0.3668518364429474, 0.12668520212173462, -0.14494138956069946, -0.4931142032146454, -0.9080820679664612, -1.0263781547546387, -0.2368551641702652, -0.18083621561527252, -0.39081135392189026, 0.29444581270217896, 1.1783629655838013, 0.5176244378089905, -0.8687397241592407, -0.609910786151886, -0.22034727036952972, 0.29386091232299805, -0.2494630068540573, -0.24463295936584473, 0.5293018817901611, -0.35931894183158875, -0.5662541389465332, 0.72672039270401, 0.442444771528244, 0.25615862011909485, -0.32460081577301025, -0.09278473258018494, 0.04296041652560234, -0.22128084301948547, 0.7236526012420654, 0.020930545404553413, -0.6966124176979065, -0.3198886513710022, -0.08890783041715622, -0.08276922255754471, 0.056009333580732346, 1.1089892387390137, -0.8802965879440308, 0.3302861750125885, 0.22561109066009521, 0.7062143087387085, 0.8472593426704407, -0.13216957449913025, 0.8511657118797302, -0.4679126441478729, -0.16050633788108826, -0.1312403380870819, 0.5408358573913574, 0.3594493269920349, -0.3314584493637085, 0.44133254885673523, -0.05477317050099373, -0.4542027413845062, -0.8330841660499573, -0.006708474364131689, -1.0554085969924927, -0.2933971583843231, 1.1800557374954224, -0.16473744809627533, -0.00528502743691206, -0.16307224333286285, -0.6253355145454407, 0.1702088564634323, -0.4611767530441284, 0.7049520015716553, 0.6971787810325623, -0.39868423342704773, -0.022785894572734833, -0.5393562912940979, 0.09998150914907455, 0.012634812854230404, -0.6496083736419678, 0.4274325966835022, 0.7323535680770874, 0.10015163570642471, -0.18378286063671112, 0.4932842254638672, 0.4098348319530487, 0.03188798949122429, -0.3117774426937103, -0.31711432337760925, -0.4032759964466095, -0.20156066119670868, -0.4879668653011322, 0.10980580747127533, 0.31781652569770813, 0.2880452275276184 ]
http://arxiv.org/abs/2402.16515v1
http://arxiv.org/pdf/2402.16515v1
LLM-based Privacy Data Augmentation Guided by Knowledge Distillation with a Distribution Tutor for Medical Text Classification
2024-02-26T11:52:55
2024-02-26T11:52:55
Yiping Song, Juhua Zhang, Zhiliang Tian, Yuxin Yang, Minlie Huang, Dongsheng Li
cs.CL
cs.CL, cs.CR
As sufficient data are not always publically accessible for model training, researchers exploit limited data with advanced learning algorithms or expand the dataset via data augmentation (DA). Conducting DA in private domain requires private protection approaches (i.e. anonymization and perturbation), but those methods cannot provide protection guarantees. Differential privacy (DP) learning methods theoretically bound the protection but are not skilled at generating pseudo text samples with large models. In this paper, we transfer DP-based pseudo sample generation task to DP-based generated samples discrimination task, where we propose a DP-based DA method with a LLM and a DP-based discriminator for text classification on private domains. We construct a knowledge distillation model as the DP-based discriminator: teacher models, accessing private data, teaches students how to select private samples with calibrated noise to achieve DP. To constrain the distribution of DA's generation, we propose a DP-based tutor that models the noised private distribution and controls samples' generation with a low privacy cost. We theoretically analyze our model's privacy protection and empirically verify our model.
[ -0.007294982206076384, -0.40048661828041077, 0.6014973521232605, -0.3456897735595703, -0.26763638854026794, 0.26197224855422974, 0.10797461867332458, -0.49718421697616577, -0.19684909284114838, 0.5769479870796204, -0.5410013198852539, -0.648909866809845, -0.8059254288673401, 0.14028504490852356, -0.3450384736061096, 1.2345733642578125, 0.22386357188224792, 0.20944075286388397, -0.37698423862457275, 0.16935716569423676, -0.08740077912807465, -0.8544556498527527, -0.24617968499660492, -0.08277317881584167, 0.17084719240665436, 0.3444631099700928, 0.28813475370407104, 0.7326396703720093, 0.35135382413864136, 0.3331223130226135, -0.28490620851516724, 0.4616048038005829, -0.5104537606239319, 0.22415904700756073, -0.1963939368724823, -0.761936604976654, -0.40217456221580505, 0.18222679197788239, 0.35765978693962097, 0.6957810521125793, -0.04738584905862808, -0.013218558393418789, 0.20387835800647736, 0.8195412158966064, -0.6993817090988159, 0.04289954528212547, -0.5858929753303528, 0.14998415112495422, -0.15601767599582672, -0.11625955998897552, -0.2921086847782135, -0.6616864204406738, 0.339812308549881, -0.39765557646751404, 0.6235122680664062, 0.007993744686245918, 0.5407723188400269, 0.44910621643066406, -0.569395899772644, -0.2840311527252197, -0.808615505695343, 0.8132946491241455, -0.37586137652397156, 0.2507050335407257, 0.7342913150787354, 0.41447713971138, -0.025477210059762, -0.8531296849250793, -0.5452527403831482, -0.2006298005580902, -0.1125335618853569, -0.0004860424087382853, 0.03818002715706825, 0.20379549264907837, 0.19284047186374664, 0.8593699932098389, -0.09922356903553009, 0.19540947675704956, -0.47457846999168396, -0.06279634684324265, 0.8289206027984619, 0.08780702948570251, 0.06038946658372879, -0.006105954758822918, -0.4778701663017273, 0.008488792926073074, -0.5242790579795837, -0.3424600660800934, 0.6464412212371826, -0.16801975667476654, -0.13592258095741272, 0.5268367528915405, -0.01383731234818697, 0.6711081266403198, 0.4179672300815582, -0.5758494138717651, 0.2869409918785095, -0.1729968786239624, -0.16300393640995026, 0.1902947723865509, 0.5753225088119507, 0.20808999240398407, 0.004769773688167334, 0.03857158496975899, -0.14068657159805298, -0.10192643851041794, 0.1180911660194397, -0.8928002119064331, -0.6706517934799194, 0.13049820065498352, -0.4091950058937073, -0.7400209903717041, -0.11740216612815857, -0.8901738524436951, -0.8101527094841003, -0.2630847096443176, 0.20688509941101074, -0.20698772370815277, -0.20632904767990112, 0.2648944556713104, -0.10655765235424042, -0.5056228041648865, 0.09640040993690491, -1.0301172733306885, 0.5931045413017273, 0.420705109834671, 0.7162203788757324, -0.4102861285209656, -0.029558895155787468, -0.2715449035167694, 0.3839420974254608, 0.02502991259098053, 0.48883798718452454, -0.25258100032806396, -0.5563856363296509, -0.14266058802604675, 0.004146498627960682, 0.1722756326198578, -0.7155184745788574, 0.2528690695762634, -0.48648661375045776, 0.5557048320770264, 0.004410687834024429, -0.843632161617279, -0.21363051235675812, -0.05805010348558426, -0.6481615304946899, 0.6864914894104004, 0.288971483707428, -1.106520175933838, 0.4885443449020386, -0.5525099635124207, -0.2365337759256363, 0.20670586824417114, -0.41465887427330017, -0.7900684475898743, 0.13673827052116394, 0.15330375730991364, 0.6433518528938293, -0.004969464614987373, 0.33147376775741577, -0.27877190709114075, -0.22673404216766357, 0.37856191396713257, -0.6442680358886719, 0.9973354339599609, 0.19706867635250092, -0.35610613226890564, -0.2742709517478943, -1.0893720388412476, -0.372655987739563, 0.041706632822752, -0.26224321126937866, -0.5900270342826843, -0.2093808650970459, -0.3517298102378845, -0.07499928772449493, 0.35363680124282837, -0.5373349189758301, 0.14618578553199768, -0.5022683143615723, 0.2668604552745819, 0.8712899088859558, 0.3157806098461151, 0.607158899307251, -0.4751521348953247, 0.44199705123901367, 0.2824695110321045, 0.19743721187114716, 0.2640441954135895, -0.4735090136528015, -0.26485177874565125, -0.6950756907463074, 0.4785792827606201, 0.4204021096229553, -0.5875626802444458, 0.7111925482749939, -0.15529058873653412, -0.2868189513683319, -0.5405035018920898, 0.20171694457530975, 0.297896146774292, 0.7526615858078003, 0.3253273069858551, -0.1609712839126587, -0.30620211362838745, -0.6451494693756104, 0.14970234036445618, 0.043413545936346054, -0.14871886372566223, 0.34178948402404785, 0.1810242086648941, -0.17649859189987183, 0.803701639175415, -0.982824981212616, -0.5558732748031616, -0.1269480139017105, -0.2714182734489441, -0.02065400592982769, 0.4531285762786865, 0.5915818214416504, -0.9651328325271606, -0.5046442747116089, -0.33630529046058655, -0.6020050048828125, -0.31668680906295776, 0.17790909111499786, -0.13363945484161377, 0.03574386611580849, -0.022933682426810265, -0.16169080138206482, 0.6461576819419861, 0.5554143190383911, -0.19333526492118835, 0.3171040713787079, -0.5991261005401611, 0.12757617235183716, -1.1806061267852783, -0.19601187109947205, -0.028305936604738235, -0.46994391083717346, -0.71430903673172, -0.13117502629756927, 0.00680543715134263, -0.1453816294670105, -0.49046608805656433, 0.40314149856567383, -0.4496568441390991, 0.24973104894161224, -0.7508246302604675, -0.22275210916996002, 0.17865504324436188, 0.14510229229927063, 0.2403527796268463, 0.6247206926345825, 0.7245022654533386, -0.9214372038841248, 0.3067653179168701, 0.4014689028263092, -0.22255726158618927, 0.6086530089378357, -0.2833925187587738, 0.1503712236881256, -0.1276298612356186, 0.23477323353290558, -0.8964517712593079, -0.16700005531311035, 0.3568819761276245, -0.16009657084941864, 0.4217820167541504, -0.21015852689743042, -0.5482102632522583, -0.2141106128692627, -0.3217734694480896, 0.24550509452819824, 0.8566912412643433, -1.102913498878479, 0.2130081206560135, 0.6851295232772827, -0.07880765944719315, -0.6594864726066589, -0.8096233010292053, -0.26555028557777405, -0.4114738404750824, -0.3613159954547882, 0.7079293131828308, -0.21751806139945984, -0.28733551502227783, -0.05019759014248848, -0.24450118839740753, -0.5186468362808228, 0.15116602182388306, 0.3410683870315552, 0.42575275897979736, 0.4041302502155304, 0.012875749729573727, 0.649084210395813, -0.17032776772975922, -0.011088050901889801, -0.3252254128456116, 0.1557605266571045, 0.7133371233940125, -0.26359328627586365, -0.6605653166770935, 0.1732359081506729, 0.007443142589181662, 0.15572352707386017, 0.7329853177070618, 0.16904838383197784, -0.2622298002243042, -0.5073080658912659, -0.4772524833679199, -0.4812225103378296, -0.5188252925872803, 0.05440560728311539, -0.15367363393306732, -0.687004804611206, 0.07487090677022934, -0.273362398147583, 0.07255252450704575, 0.06118493527173996, 0.5944252610206604, 0.16228322684764862, 0.7218383550643921, 0.6910063028335571, -0.10500090569257736, 0.33048245310783386, -0.272175133228302, -0.08326827734708786, -0.4103565812110901, -0.18063098192214966, -0.31040897965431213, -0.3830067813396454, -0.5826375484466553, -0.24356085062026978, 0.3591364324092865, -0.10750457644462585, 0.14832471311092377, -0.05302809923887253, -1.1266263723373413, 0.6500381827354431, 0.7421814203262329, 0.6182209849357605, 0.6730738878250122, 0.21225525438785553, 0.117203488945961, -0.19367371499538422, -0.29754891991615295, -0.33108875155448914, 1.5161077976226807, 0.2750975787639618, 0.754882276058197, -0.033195387572050095, 1.2834489345550537, 0.2883988916873932, 0.11574997752904892, -0.346537321805954, 0.5046704411506653, -0.4867791533470154, -0.7093855738639832, 0.04782328009605408, -0.5815799236297607, -0.5898142457008362, -0.003972431179136038, -0.15619532763957977, -0.5354326963424683, 0.5126085877418518, 0.2542983293533325, -0.2169593721628189, 0.3221709728240967, -0.5724431872367859, 0.23862925171852112, -0.11063974350690842, -0.5276026129722595, -0.05477068945765495, -0.5120104551315308, 0.6166488528251648, -0.38814374804496765, 0.17870262265205383, 0.1608646810054779, 0.0035897062625736, 0.5457607507705688, -0.5717642903327942, 1.0000568628311157, -0.7380450963973999, -0.25948864221572876, 0.19680504500865936, -0.1560734510421753, 0.34444764256477356, 0.22326594591140747, -0.020036255940794945, 0.23514796793460846, 0.04416633024811745, -0.1488877236843109, -0.4257238507270813, 0.7758263945579529, -0.7455106973648071, -0.7445967197418213, -0.41230136156082153, -0.46563026309013367, -0.08364810049533844, -0.006972235627472401, 0.4149263799190521, -0.007041270844638348, 0.38856828212738037, 0.04187415540218353, 0.866596519947052, -0.34417054057121277, -0.01964833214879036, 0.7635022401809692, 0.019804663956165314, -0.3568620979785919, 0.9869505167007446, 0.21104362607002258, 0.17365799844264984, 0.36509600281715393, 0.5501129627227783, -0.8097462058067322, -1.0103555917739868, -0.23605801165103912, 0.13510727882385254, -0.6111376881599426, -0.09803012013435364, -0.633967399597168, -0.41523277759552, -0.4831293523311615, 0.1360885053873062, -0.03612304851412773, -0.5946348905563354, -0.4944632053375244, -0.4379775822162628, 0.6619346141815186, 0.6450986266136169, -0.42885923385620117, 0.3844243288040161, -0.6582140326499939, 0.6570912599563599, 0.32440733909606934, 0.11284875869750977, -0.28649094700813293, -0.6900915503501892, -0.01844235509634018, 0.014994479715824127, -0.5859603881835938, -0.961108922958374, 0.38013654947280884, 0.16029919683933258, 0.4771299660205841, 0.2933778464794159, 0.6151105761528015, 0.2567444145679474, -0.5766671299934387, 0.7819131016731262, 0.040528133511543274, -0.6234539151191711, 0.46622002124786377, 0.054527994245290756, -0.4236765205860138, 0.6104483008384705, 0.47974103689193726, 0.24024835228919983, -0.5371319055557251, -0.6124808192253113, -0.6539055109024048, 0.6628657579421997, 0.059358540922403336, 0.2338782399892807, 0.18979506194591522, 0.6229886412620544, 0.6612957715988159, 0.3471253514289856, -0.8401861786842346, -0.638112485408783, -0.14725205302238464, -0.5052145719528198, 0.0802532508969307, -0.24090281128883362, -0.29004526138305664, -0.27490830421447754, 0.5793628096580505, 0.15622708201408386, -0.023706607520580292, 0.2705885171890259, 0.13566070795059204, 0.24782051146030426, 0.09122923016548157, 0.2502163052558899, 0.3631686270236969, -0.10349874943494797, 0.1396218091249466, -0.05479078367352486, -0.9412663578987122, 0.5738987922668457, 0.6421912312507629, -0.413502037525177, 0.06559361517429352, -0.35701289772987366, 0.4548863172531128, -0.2818969786167145, -0.2312135100364685, 0.6824396252632141, -0.0878540426492691, -0.5991213321685791, -0.22707203030586243, 0.4565514624118805, -0.22205613553524017, 0.2008817046880722, 0.31353622674942017, -0.3147906959056854, 0.49962249398231506, 0.12115075439214706, 0.469659686088562, 0.1303204447031021, -0.07573647052049637, -0.17034073173999786, 1.02588951587677, 0.0929492712020874, -0.0227753184735775, 0.22568586468696594, -0.1906055361032486, -0.0870518833398819, 0.2673490345478058, 0.43237021565437317, 0.7271517515182495, -0.5066428780555725, 0.23871198296546936, 0.08303161710500717, -0.29261043667793274, -0.20543259382247925, 0.37589141726493835, -0.4011309742927551, -0.4357052743434906, -0.16987131536006927, -0.5555312037467957, -0.5281838178634644, 0.34641462564468384, -0.6141266822814941, 0.24027462303638458, -0.5463447570800781, -0.0646081268787384, 0.030571267008781433, 0.2631217837333679, -0.3259526193141937, 0.4630647897720337, -0.0261201374232769, 0.3443971574306488, -0.6488150954246521, 1.0363749265670776, 0.43553435802459717, -0.12499169260263443, -0.497346431016922, 0.22155126929283142, 0.1497553586959839, -0.6723884344100952, 0.7325426936149597, 0.046473532915115356, 0.11837872117757797, 0.0844385102391243, -0.34084364771842957, -0.23600780963897705, 1.1097338199615479, 0.4559445381164551, -0.9174832105636597, -0.09974123537540436, 0.43560680747032166, 0.6372756958007812, 0.08238643407821655, -0.22370974719524384, 0.14319445192813873, 0.09716034680604935, -0.03016527183353901, -0.4781036376953125, 0.0979624092578888, 0.16839344799518585, -0.23798878490924835, -0.040412936359643936, -0.26994824409484863, 0.719744086265564, -0.10431535542011261, -0.21942861378192902, -0.08014897257089615, 0.4550936818122864, 0.5670259594917297, 0.6839429140090942, 0.5327838659286499, 0.41411277651786804, 1.027319312095642, 0.25344645977020264, 0.8839356303215027, -0.588674783706665, 0.22926418483257294, 1.0438313484191895, -0.38675829768180847, 0.2393016368150711, 0.34173572063446045, -0.3602583706378937, 0.3398457169532776, 0.5204120874404907, -0.13764993846416473, 0.959925651550293, 0.4937477111816406, -0.8249143958091736, 0.31112170219421387, -0.04840269312262535, -0.5272325873374939, 0.12070295214653015, 0.1427592933177948, -0.7848798632621765, 0.04118432477116585, 0.22429583966732025, -0.22409316897392273, 0.3830133080482483, -0.18107469379901886, 1.002664566040039, 0.22518189251422882, -0.12362534552812576, 0.47254759073257446, -0.04520818963646889, 0.8197710514068604, -0.4359598159790039, 0.08617573231458664, -0.09544537961483002, 0.4727248549461365, -0.36888059973716736, -0.5410478115081787, 0.3411056399345398, 0.20926399528980255, -0.28701794147491455, -0.052348289638757706, 0.8368905782699585, -0.4359852373600006, -0.44339317083358765, 0.10055391490459442, 0.4127257168292999, 0.23506249487400055, 0.10659153014421463, -0.6291297078132629, -0.474427193403244, 0.09225226193666458, -0.1626947820186615, 0.687464714050293, 0.47471973299980164, 0.2932382822036743, 0.3688730299472809, 0.6726747751235962, 0.4422719180583954, 0.0669277161359787, 0.0895272046327591, 0.9558748602867126, -0.21151421964168549, -0.7446330189704895, -1.0723364353179932, 0.24663762748241425, -0.17643435299396515, 0.06634176522493362, 0.7865171432495117, 0.5225545763969421, 0.775754451751709, -0.1897605061531067, 1.077309250831604, 0.291569322347641, 0.9962084293365479, -0.4871119260787964, 0.905341386795044, -0.48244041204452515, 0.47208526730537415, -0.08667635917663574, -0.7468453645706177, -0.13661684095859528, 0.4894062578678131, -0.3303985595703125, -0.17012415826320648, 0.45825499296188354, 0.6298812031745911, -0.14324744045734406, 0.0775706022977829, 0.3454730808734894, -0.0490366667509079, 0.3070424795150757, 0.49080145359039307, 0.8195923566818237, -0.19639912247657776, 0.37327641248703003, -0.8934479355812073, -0.3686802089214325, 0.25943928956985474, -0.6514379978179932, -1.0972942113876343, -0.5003496408462524, -0.48958057165145874, -0.4311125874519348, 0.11161021143198013, 0.647020697593689, 0.8957096338272095, -0.593008279800415, 0.1463927924633026, -0.4421718418598175, -0.03172248229384422, 0.023979635909199715, -0.2295672595500946, 0.5507852435112, 0.05690845847129822, -1.2238173484802246, 0.32562190294265747, -0.02319764904677868, 0.5385550260543823, -0.39414072036743164, 0.11207518726587296, 0.22582578659057617, -0.21058957278728485, 0.088104248046875, -0.01786975748836994, -0.20169347524642944, 0.19579921662807465, -0.18030664324760437, -0.021250909194350243, -0.019552117213606834, 0.6046884655952454, -0.6630799174308777, 0.4325973689556122, 0.28338202834129333, 0.767455518245697, 0.42902711033821106, 0.19166648387908936, 0.4378874599933624, -1.0979588031768799, 0.34574052691459656, 0.28995856642723083, 0.05298832058906555, 0.23875762522220612, -1.0221009254455566, 0.27525830268859863, 0.4519365429878235, -0.8353135585784912, -1.1328028440475464, 0.27139583230018616, -0.5318820476531982, -0.46826639771461487, 0.9257506132125854, -0.41110652685165405, -0.23057831823825836, -0.3550873398780823, -0.34311261773109436, 0.24011625349521637, -0.36129963397979736, 1.1373437643051147, 0.2759275436401367, -0.11957807838916779, 0.03638921305537224, -0.27643993496894836, 0.8061695694923401, -0.012659487314522266, -0.8933632969856262, 0.10421895980834961, 0.5823983550071716, 0.4610750377178192, -0.10311739146709442, 0.8406095504760742, -0.2610112130641937, -0.07286754250526428, -0.1408340185880661, -0.19734804332256317, -0.4788440465927124, -0.29950565099716187, -0.33805495500564575, 0.1969873309135437, -0.04093356803059578, -0.6946854591369629 ]
http://arxiv.org/abs/2402.16508v2
http://arxiv.org/pdf/2402.16508v2
Pre-training Cross-lingual Open Domain Question Answering with Large-scale Synthetic Supervision
2024-02-26T11:42:29
2024-06-16T08:18:25
Fan Jiang, Tom Drummond, Trevor Cohn
cs.CL
cs.CL, cs.IR
Cross-lingual open domain question answering (CLQA) is a complex problem, comprising cross-lingual retrieval from a multilingual knowledge base, followed by answer generation in the query language. Both steps are usually tackled by separate models, requiring substantial annotated datasets, and typically auxiliary resources, like machine translation systems to bridge between languages. In this paper, we show that CLQA can be addressed using a single encoder-decoder model. To effectively train this model, we propose a self-supervised method based on exploiting the cross-lingual link structure within Wikipedia. We demonstrate how linked Wikipedia pages can be used to synthesise supervisory signals for cross-lingual retrieval, through a form of cloze query, and generate more natural questions to supervise answer generation. Together, we show our approach, \texttt{CLASS}, outperforms comparable methods on both supervised and zero-shot language adaptation settings, including those using machine translation.
[ -0.8088764548301697, -0.9648043513298035, 0.2965875267982483, -0.0020525006111711264, -0.1576651930809021, -0.23373451828956604, -0.36649197340011597, -0.5217342376708984, 0.19051221013069153, 0.6241752505302429, -0.89992755651474, -0.4596691429615021, -0.3169780373573303, 0.372601717710495, -0.4552052915096283, 1.0745680332183838, -0.15675675868988037, 0.24549855291843414, -0.29665398597717285, 0.09805482625961304, -0.19646427035331726, -0.4469728469848633, -0.7471097111701965, 0.16647325456142426, 0.6108351349830627, 0.45320695638656616, 0.4984421730041504, 0.2771247625350952, 0.06282897293567657, 0.2285374402999878, 0.24890510737895966, 0.3790642023086548, -0.6824765801429749, -0.009906756691634655, -0.5748944282531738, -0.31338825821876526, -0.19119934737682343, -0.06060193479061127, 0.5224801301956177, 0.795882523059845, 0.10223884880542755, 0.4565832018852234, 0.026214251294732094, 0.3252384662628174, -0.7024589776992798, -0.025065399706363678, -0.738176703453064, 0.08525660634040833, -0.0774865373969078, -0.1664622724056244, -0.5061246752738953, -0.23859903216362, 0.25739914178848267, -1.0158816576004028, 0.3061593472957611, 0.11548389494419098, 0.5133536458015442, 0.09578081220388412, -0.6147473454475403, -0.47817161679267883, -0.5382459759712219, 0.49866071343421936, -0.5025104880332947, 0.5437641143798828, 0.19331520795822144, 0.4138237237930298, -0.08656726032495499, -0.8756934404373169, -0.7094187140464783, 0.030370090156793594, -0.2041715532541275, 0.12920233607292175, 0.21659648418426514, -0.036166515201330185, 0.19333654642105103, 0.19930899143218994, -0.7779638767242432, 0.01336325891315937, -0.823150098323822, -0.2817831337451935, 0.6432715058326721, -0.008669939823448658, 0.5659586191177368, -0.10867471247911453, -0.4910261034965515, 0.024180157110095024, -0.7415592074394226, -0.01695437543094158, 0.29040706157684326, 0.13196299970149994, 0.239368736743927, 0.5410464406013489, -0.48080307245254517, 0.7762671113014221, 0.4489496946334839, 0.25095802545547485, -0.07782474160194397, -0.2825849950313568, -0.08971158415079117, 0.4618036150932312, 0.7393314242362976, 0.21483644843101501, 0.774429976940155, -0.32998913526535034, 0.2417348176240921, -0.36168476939201355, 0.4050922989845276, -0.7473915219306946, -0.2774198651313782, 0.24006962776184082, -0.07511651515960693, 0.10190638154745102, -0.025980589911341667, -0.7777079939842224, 0.09487005323171616, -0.2602986991405487, 0.557662308216095, -0.22824621200561523, -0.2336944192647934, 0.09688697755336761, -0.05434345081448555, 0.5061626434326172, 0.22472329437732697, -0.9492684006690979, 0.13682039082050323, 0.3616551458835602, 0.3674464821815491, -0.33377334475517273, -0.6592365503311157, -0.6715101599693298, 0.4459645450115204, -0.47656330466270447, 0.4213799238204956, -0.3135201036930084, -0.27029407024383545, 0.2875009775161743, 0.24335798621177673, -0.2546667754650116, -0.4636287987232208, 0.2619844079017639, -1.0546287298202515, 0.4823656380176544, -0.1444718837738037, -0.37962207198143005, 0.005978852976113558, 0.42529886960983276, -0.6269325613975525, 1.027143120765686, 0.05826186388731003, -1.0631036758422852, 0.18417911231517792, -0.7262128591537476, -0.3911333978176117, -0.2029726356267929, 0.09392232447862625, 0.06839469820261002, -0.29627305269241333, 0.720167875289917, 0.25931093096733093, -0.22524122893810272, 0.25341513752937317, -0.20924676954746246, -0.13448466360569, 0.11756888031959534, -0.1613248586654663, 0.9534868001937866, 0.005738538224250078, -0.29383936524391174, 0.1506022810935974, -0.7804011702537537, 0.3776525557041168, 0.05981553718447685, -0.2526243031024933, -0.5798896551132202, -0.5464891791343689, -0.17610231041908264, 0.43495655059814453, 0.5217795968055725, -0.6803170442581177, -0.013041428290307522, -0.5092164874076843, 0.08193693310022354, 0.5427133440971375, 0.3187806010246277, 0.549784243106842, 0.09621365368366241, 0.46478015184402466, 0.12392816692590714, 0.29243573546409607, 0.05021446943283081, -0.25318601727485657, -0.8622961640357971, 0.05882371589541435, 0.2647935152053833, 0.5214481949806213, -1.1882092952728271, 0.05368548259139061, -0.1363276094198227, -0.5003974437713623, -0.750904381275177, 0.4206279218196869, 0.5254952311515808, 0.588931143283844, 0.8066097497940063, -0.20549319684505463, -0.390418142080307, -0.9371711611747742, -0.40056487917900085, -0.053774915635585785, -0.20328357815742493, 0.18068960309028625, 0.583458423614502, -0.12961456179618835, 0.9262450933456421, -0.5350569486618042, -0.19482827186584473, -0.0698116198182106, 0.10449036210775375, 0.06675421446561813, 0.4381609261035919, 0.3327235281467438, -1.0256214141845703, -0.9174985289573669, 0.021164776757359505, -0.9455417990684509, -0.12119148671627045, 0.04491981118917465, -0.6792586445808411, 0.185203418135643, 0.664931058883667, -0.777934193611145, 0.19116626679897308, 0.31424519419670105, 0.08510994911193848, 0.8102477192878723, -0.11036953330039978, 0.1272101253271103, -1.042922854423523, 0.03587060421705246, -0.2970650792121887, -0.13981053233146667, -0.8480150699615479, 0.24459528923034668, 0.10934452712535858, -0.17984285950660706, -0.6530098915100098, 0.5477809906005859, -0.615080714225769, 0.0047104256227612495, -0.1033935695886612, 0.39387431740760803, -0.08796599507331848, 0.7478650212287903, 0.47343650460243225, 0.7622037529945374, 0.6261993646621704, -0.7180739641189575, 0.6078072190284729, 0.5250492095947266, -0.22767160832881927, 0.5700890421867371, -0.7144373655319214, 0.19995389878749847, -0.20748285949230194, 0.23004725575447083, -0.7645241022109985, -0.39487791061401367, 0.23922589421272278, -0.4093207120895386, 0.21801269054412842, -0.13043737411499023, -0.3966750502586365, -0.46739330887794495, -0.10192063450813293, 0.6278759241104126, 0.18546608090400696, -0.9306676983833313, 0.4792795181274414, 0.32931312918663025, -0.26199519634246826, -0.8278907537460327, -0.49498385190963745, -0.18508470058441162, -0.06981129944324493, -0.7451226711273193, 0.08963847905397415, -0.15809229016304016, 0.07805423438549042, 0.16129976511001587, -0.2565020024776459, -0.4094066321849823, -0.15309305489063263, -0.04128297045826912, 0.10531537234783173, -0.36180463433265686, 0.05791821330785751, 0.20669275522232056, 0.17255109548568726, 0.6081144213676453, -0.5670267343521118, 0.46334582567214966, 0.11949919909238815, -0.42625144124031067, -0.013738220557570457, 0.627217173576355, 0.38934263586997986, -0.6144230961799622, 0.6716597676277161, 0.73879474401474, -0.19023074209690094, -0.7649579048156738, -0.29249587655067444, -0.253864586353302, -0.48085981607437134, 0.2118234783411026, -0.41877973079681396, -0.9710271954536438, 0.2953440248966217, 0.07501200586557388, 0.006459706462919712, 0.46201974153518677, 0.7280285954475403, -0.10981810092926025, 0.6527034044265747, 0.461905837059021, 0.03773251920938492, 0.1635485291481018, -0.1452498435974121, 0.21726055443286896, -0.5372310280799866, -0.28041231632232666, -0.19639399647712708, 0.05531150475144386, -0.5253229141235352, -0.44018951058387756, 0.7752829194068909, 0.10719722509384155, -0.387241929769516, 0.46451130509376526, -0.38389700651168823, 0.34350109100341797, 0.9909234642982483, 0.14298665523529053, 0.3213053345680237, -0.043521419167518616, -0.2163713127374649, 0.28449031710624695, -0.9198494553565979, -0.03544953092932701, 1.032151460647583, -0.013841687701642513, 0.9599593281745911, -0.024766599759459496, 0.8102000951766968, 0.07655815035104752, 0.12708009779453278, -0.41066354513168335, 0.5746852159500122, 0.16335898637771606, -1.083011269569397, -0.747121274471283, -0.40411603450775146, -0.7778535485267639, 0.4025539755821228, -0.18099676072597504, -0.3739497661590576, 0.12512359023094177, 0.13624459505081177, -0.022720137611031532, 0.18278443813323975, -0.5994415283203125, 1.2752478122711182, -0.28337180614471436, -0.4068659543991089, -0.17365092039108276, -0.8981910347938538, 0.6521690487861633, -0.31889620423316956, 0.09833291918039322, 0.34304001927375793, 0.3432311713695526, 0.663015604019165, -0.3318806290626526, 0.9833353757858276, -0.18821850419044495, -0.36972954869270325, 0.7368263602256775, 0.09396755695343018, 0.1513390839099884, 0.2661268711090088, 0.2446114718914032, 0.0882439836859703, 0.3272564709186554, -0.4575992822647095, -0.6752914786338806, 0.6481330394744873, -0.7782968878746033, -0.9169896245002747, -0.1729835569858551, -0.6599881649017334, -0.5206766128540039, 0.38594838976860046, 0.3626932203769684, 0.2699892818927765, -0.3126758635044098, 0.027757715433835983, 0.8642902374267578, -0.3941127061843872, 0.12444335222244263, 0.5737072229385376, -0.29707372188568115, -0.4043673574924469, 0.5910422205924988, 0.06662154197692871, 0.58062744140625, 0.4560609757900238, -0.14158953726291656, -0.4840402901172638, -0.06479620188474655, -0.8031060695648193, 0.2392905205488205, -0.9499034285545349, -0.07513204962015152, -0.6385348439216614, -0.5550163984298706, -0.5822869539260864, -0.14579205214977264, -0.17524376511573792, -0.36054784059524536, -0.0687626302242279, 0.008516224101185799, 0.13600407540798187, 0.3700946569442749, 0.030597912147641182, 0.18312066793441772, -0.8692567944526672, 0.6227224469184875, 0.5868359208106995, 0.15049736201763153, -0.0040106684900820255, -0.40641823410987854, -0.3542434573173523, 0.23004089295864105, 0.010907064191997051, -0.9603502750396729, 0.20338954031467438, 0.30785611271858215, 0.6614062190055847, 0.18579816818237305, 0.5595046281814575, 0.6474986672401428, -0.7526947259902954, 0.669216513633728, 0.1094779297709465, -0.7657274007797241, 0.6076396107673645, -0.19885684549808502, 0.31037917733192444, 0.41802161931991577, 1.1771180629730225, -0.5596016645431519, -0.37167906761169434, -0.24556097388267517, -0.543279767036438, 0.6374145746231079, -0.14331881701946259, 0.08348541706800461, -0.2310781180858612, 0.1895192414522171, 0.1171012595295906, 0.16762463748455048, -0.805076539516449, -0.07919824868440628, -0.39344221353530884, -0.20543669164180756, 0.09069544821977615, -0.07642590999603271, -0.2645152509212494, -0.19212870299816132, 0.8018739819526672, -0.3795906901359558, -0.06647557020187378, 0.5055055618286133, -0.5481827855110168, -0.13279369473457336, 0.37212130427360535, -0.05393141880631447, 0.6641600728034973, -0.04803253337740898, 0.04629623517394066, 0.45352569222450256, -0.19984927773475647, 0.00820924248546362, 0.05732262507081032, -0.32815778255462646, 0.06728048622608185, 0.3404211699962616, 0.5562315583229065, 0.18195123970508575, -0.7437219023704529, 0.4995843470096588, 0.29612547159194946, -0.2520797848701477, -0.4442542791366577, 0.10205879807472229, 0.13186776638031006, 0.2008332759141922, 0.3701670169830322, -0.6073353886604309, 0.19259174168109894, -0.6412148475646973, 0.32464799284935, 0.42729103565216064, -0.19741322100162506, -0.21524420380592346, 0.9051015377044678, 0.08221376687288284, 0.18073108792304993, 0.622248649597168, 0.16878095269203186, -0.7268635630607605, 0.496797114610672, 0.7874395847320557, 0.5859177708625793, -0.2589882016181946, 0.3257722854614258, 0.6624212861061096, 0.30518949031829834, 0.1786828637123108, 0.27931690216064453, -0.29124054312705994, -0.5538167357444763, -0.44889116287231445, -0.762122631072998, -0.5438472628593445, -0.26537635922431946, -0.826140284538269, 0.04314237833023071, -0.2237965613603592, 0.2850073277950287, -0.10716386884450912, -0.2442651391029358, -0.627030074596405, 0.5676199793815613, 0.09945958852767944, 1.184384822845459, -0.711125910282135, 1.0248454809188843, 0.6655660271644592, -0.5525768995285034, -0.7110447883605957, 0.03763854131102562, -0.4769566059112549, -0.6347658634185791, 0.9588888883590698, 0.04959253594279289, -0.27440184354782104, 0.2464236319065094, -0.6156187653541565, -0.7075999975204468, 0.7882243990898132, 0.14259642362594604, -0.21834973990917206, -0.49958258867263794, 0.5208078026771545, 0.6576939821243286, -0.33302226662635803, -0.029047943651676178, 0.27947449684143066, 0.38334399461746216, -0.13339954614639282, -1.0597658157348633, 0.020100414752960205, -0.11064422875642776, -0.32512906193733215, 0.051867928355932236, -0.4260976016521454, 0.7144230604171753, -0.1332085132598877, -0.24669018387794495, -0.10081574320793152, 0.8478479385375977, -0.06334181874990463, 0.30166324973106384, 0.5734973549842834, 0.3291994035243988, 0.47734880447387695, 0.24683624505996704, 0.7896803617477417, -0.510099470615387, 0.23589584231376648, 1.3040651082992554, -0.15874086320400238, 0.9206442832946777, 0.4107973575592041, 0.10934112966060638, 0.5311468243598938, 0.4734538495540619, 0.024796731770038605, 0.5575243234634399, 0.1310129016637802, -0.2685840427875519, -0.4868808686733246, -0.11770451068878174, -0.3455491364002228, 0.44948670268058777, 0.3249114751815796, -0.28052961826324463, -0.5334004163742065, 0.018300632014870644, -0.3316516578197479, 0.1772218942642212, -0.6818999648094177, 0.722418487071991, 0.18334506452083588, -0.9784976243972778, 0.8484673500061035, -0.12747077643871307, 0.39983290433883667, -0.7753614187240601, 0.06433269381523132, -0.08440829068422318, -0.08202002197504044, -0.20938840508460999, -0.8272584676742554, 0.18720053136348724, 0.14307397603988647, -0.0995698869228363, -0.030343072488904, 0.7352131009101868, -1.0068813562393188, -0.3275439143180847, 0.4335367679595947, 0.6988610625267029, 0.1530984342098236, -0.00792531669139862, -0.3586823046207428, -0.6062188148498535, -0.2444579303264618, -0.1428430825471878, 0.3268803358078003, 0.7610623240470886, -0.3403262495994568, 0.5857710838317871, 0.727521538734436, -0.2444332242012024, 0.6557908654212952, -0.2442825734615326, 1.0466299057006836, -0.5060166120529175, -0.531650722026825, -0.46660053730010986, 0.16433081030845642, -0.09939049929380417, -0.24463430047035217, 1.0657745599746704, 0.5657265782356262, 1.5346484184265137, -0.5077630281448364, 0.7265958786010742, -0.07927041500806808, 0.5346726775169373, -0.6055489778518677, 0.6224164366722107, -0.6325942277908325, -0.3713921308517456, -0.04227658361196518, -0.8591358065605164, 0.02230233885347843, 0.2545812726020813, -0.4195369482040405, -0.166173055768013, 0.6368458867073059, 0.9338679909706116, -0.38984715938568115, -0.10127567499876022, 0.27383166551589966, 0.1383940577507019, -0.07854590564966202, 0.8069863319396973, 0.8673997521400452, -0.1433827131986618, 0.9061781764030457, -0.2692345678806305, 0.22309008240699768, 0.029694071039557457, -0.4811561703681946, -1.271700382232666, -0.5966103076934814, -0.027567801997065544, -0.4048566222190857, 0.12299353629350662, 0.7737570405006409, 0.6000391244888306, -1.0492093563079834, -0.08255402743816376, 0.3253779411315918, -0.05546421557664871, -0.05418764427304268, -0.19093886017799377, 0.5546552538871765, -0.535287618637085, -0.9436103701591492, 0.4415167570114136, -0.05032540112733841, -0.3745264410972595, -0.5092655420303345, -0.04387525096535683, -0.3905384838581085, 0.047260966151952744, 0.5470854043960571, 0.4160720407962799, -0.553267240524292, -0.25097644329071045, 0.21580158174037933, -0.2088553011417389, -0.10537676513195038, 0.6341642141342163, -0.5630090832710266, 0.531599760055542, 0.46482816338539124, 1.103163719177246, 0.8229868412017822, 0.2414139062166214, 0.5590339303016663, -0.7669125199317932, -0.17523939907550812, 0.07113679498434067, 0.17001374065876007, 0.14814764261245728, -0.371834397315979, 0.467608243227005, 0.10024964064359665, -0.3384326994419098, -0.48727288842201233, 0.3921370208263397, -0.7788386940956116, -0.4640430212020874, 1.065536618232727, -0.3352811336517334, -0.5046495199203491, -0.2335939258337021, -0.18004444241523743, 0.4281904995441437, 0.2031409591436386, 0.5616809129714966, 0.5415549874305725, 0.2161530703306198, -0.1560116559267044, -0.5916177034378052, 0.3927381634712219, 0.2743872106075287, -0.7600461840629578, -0.04538904130458832, 0.6164429783821106, 0.6156578660011292, 0.22183004021644592, 0.5503005385398865, -0.04186885803937912, 0.5147792100906372, -0.033659402281045914, 0.14626716077327728, -0.14409227669239044, -0.48406916856765747, 0.10180439800024033, 0.40074172616004944, -0.16674454510211945, -0.21326830983161926 ]
http://arxiv.org/abs/2402.16499v1
http://arxiv.org/pdf/2402.16499v1
LLMArena: Assessing Capabilities of Large Language Models in Dynamic Multi-Agent Environments
2024-02-26T11:31:48
2024-02-26T11:31:48
Junzhe Chen, Xuming Hu, Shuodi Liu, Shiyu Huang, Wei-Wei Tu, Zhaofeng He, Lijie Wen
cs.CL
cs.CL
Recent advancements in large language models (LLMs) have revealed their potential for achieving autonomous agents possessing human-level intelligence. However, existing benchmarks for evaluating LLM Agents either use static datasets, potentially leading to data leakage or focus only on single-agent scenarios, overlooking the complexities of multi-agent interactions. There is a lack of a benchmark that evaluates the diverse capabilities of LLM agents in multi-agent, dynamic environments. To this end, we introduce LLMArena, a novel and easily extensible framework for evaluating the diverse capabilities of LLM in multi-agent dynamic environments. LLMArena encompasses seven distinct gaming environments, employing Trueskill scoring to assess crucial abilities in LLM agents, including spatial reasoning, strategic planning, numerical reasoning, risk assessment, communication, opponent modeling, and team collaboration. We conduct an extensive experiment and human evaluation among different sizes and types of LLMs, showing that LLMs still have a significant journey ahead in their development towards becoming fully autonomous agents, especially in opponent modeling and team collaboration. We hope LLMArena could guide future research towards enhancing these capabilities in LLMs, ultimately leading to more sophisticated and practical applications in dynamic, multi-agent settings. The code and data will be available.
[ -0.2401634007692337, -0.7933779358863831, 0.6918909549713135, 0.5535315871238708, 0.04108882322907448, 0.6128498911857605, -0.3477764129638672, -0.6351066827774048, 0.16097454726696014, 0.4364725649356842, -0.43068620562553406, -0.6954518556594849, -0.39531221985816956, 0.11731550842523575, -0.1900043934583664, 0.4881419241428375, -0.028585195541381836, -0.04195186495780945, -0.23706138134002686, -0.27378517389297485, -0.4457758069038391, -0.5581969022750854, -0.5617750287055969, -0.29735660552978516, 0.46261847019195557, 0.31889110803604126, 0.44537293910980225, 0.6172614097595215, 0.7107272148132324, 0.5542006492614746, -0.01815827377140522, 0.32666724920272827, -0.7354370951652527, 0.5512036681175232, -0.2223537415266037, -0.4066927433013916, -0.6281917691230774, -0.08877817541360855, 0.8144777417182922, 0.42914968729019165, -0.25551629066467285, 0.2912311553955078, -0.13813215494155884, 0.14109216630458832, -0.5604990124702454, 0.2969849705696106, -0.6443060636520386, 0.15967810153961182, -0.10829394310712814, -0.015150854364037514, -0.1966782510280609, -0.11871252208948135, 0.1302080899477005, -0.7063329815864563, -0.16660836338996887, -0.08773194253444672, 0.40531960129737854, 0.43013763427734375, -0.4892926514148712, -0.27160751819610596, -0.6886172890663147, 0.6858401298522949, -0.6135355234146118, 0.2703506052494049, -0.09683847427368164, 0.6131747364997864, -0.40951842069625854, -0.6187944412231445, -0.5369716286659241, -0.49337562918663025, 0.45273321866989136, 0.2617780864238739, -0.2875198423862457, 0.06660117208957672, 0.2649487853050232, -0.047792043536901474, -0.37550899386405945, 0.41949278116226196, -0.12866635620594025, -0.13929416239261627, 0.8940192461013794, 0.528378963470459, 0.3291109800338745, 0.14898532629013062, -0.43277519941329956, -0.12372883409261703, -0.39428019523620605, 0.18150770664215088, 0.4764961898326874, 0.4280779957771301, -0.19379985332489014, 0.44991010427474976, -0.2241579294204712, 0.45950978994369507, -0.17858795821666718, -0.3850111961364746, 0.3119563162326813, -0.4121600389480591, -0.03166965767741203, -0.03406834229826927, 0.9442929029464722, 0.2461378276348114, 0.07652053982019424, -0.4025217592716217, -0.14159102737903595, 0.1441488415002823, 0.3286077082157135, -0.6536331176757812, -0.08442036062479019, 0.211877703666687, -0.20138728618621826, -0.5346618294715881, -0.15193603932857513, -1.2342814207077026, -0.8051485419273376, 0.23926734924316406, 0.2306451052427292, 0.029619382694363594, -0.4602416455745697, 0.18673133850097656, 0.046598706394433975, 0.17589238286018372, 0.3747960329055786, -0.5904830694198608, 0.32068341970443726, 0.6788488030433655, 0.7917117476463318, -0.6310371160507202, -0.8044799566268921, -0.6590539813041687, 0.004681257996708155, -0.4484619200229645, 0.9057460427284241, -0.5334497094154358, -0.3670606315135956, -0.022106608375906944, -0.1564231514930725, 0.2038182020187378, -0.49928227066993713, 0.5002244710922241, -0.5083467960357666, -0.3981912434101105, -0.09717386960983276, -0.2877921462059021, -0.11996790021657944, 0.5011618137359619, -0.8610866665840149, 0.87459397315979, -0.12701646983623505, -0.2696201801300049, 0.4009752571582794, -0.7668801546096802, -0.2743777930736542, 0.27211812138557434, -0.15430866181850433, -0.1384437084197998, 0.09164541959762573, -0.16380518674850464, 0.25847163796424866, -0.42498382925987244, 0.3297065794467926, -0.5827687978744507, -0.36866047978401184, 0.5228064060211182, -0.5170457363128662, 0.5141804218292236, -0.048381976783275604, -0.42276716232299805, 0.4329146146774292, -0.7269001603126526, 0.2888837158679962, -0.045643601566553116, -0.5175836086273193, -0.0005706986412405968, 0.2802099287509918, -0.03598490729928017, 0.39007988572120667, 0.4661834239959717, -0.39898407459259033, 0.2934204041957855, -0.23309531807899475, 0.2555345594882965, 0.6192108988761902, -0.1344119757413864, 0.4335598349571228, -0.13595956563949585, 0.6992924809455872, -0.39573702216148376, 0.2250124216079712, 0.14052551984786987, -0.4629875719547272, -0.5658305287361145, -0.6130951046943665, 0.16805578768253326, 0.7231302261352539, -0.649561882019043, 0.39950090646743774, -0.3373115062713623, -0.8491823077201843, -0.4220610558986664, 0.18133556842803955, 0.4399787187576294, 0.12221533805131912, 0.1784977912902832, -0.1635676920413971, -0.4620351791381836, -0.6626831889152527, -0.07374141365289688, -0.4271804392337799, 0.09901061654090881, 0.31323716044425964, 0.5536410212516785, -0.38363397121429443, 0.7699597477912903, -0.02721993997693062, -0.23949062824249268, -0.4586011469364166, -0.07286790013313293, 0.1320483386516571, 0.22587630152702332, 0.4160507619380951, -0.6127674579620361, -0.2400362640619278, 0.13587893545627594, -1.04055655002594, -0.403296560049057, -0.000622284656856209, -0.05924474447965622, -0.2043544054031372, 0.36459389328956604, -0.6148940324783325, 0.3873245418071747, 0.7968277335166931, -0.46115532517433167, 0.6909491419792175, -0.2419552057981491, 0.37153685092926025, -0.7685232758522034, 0.06588485836982727, -0.3783891201019287, -0.29577773809432983, -0.6523672938346863, 0.5066648125648499, -0.2902905344963074, 0.13997524976730347, -0.4739655554294586, 0.8231081366539001, -0.505020022392273, -0.35046932101249695, -0.2681034803390503, 0.3088383972644806, -0.13206812739372253, 0.23166514933109283, -0.02993006631731987, 1.06178617477417, 0.5404080748558044, -0.4329134225845337, 0.8858989477157593, 0.08947454392910004, -0.5618674755096436, 0.2622385025024414, -0.7614071369171143, 0.07841392606496811, 0.22016078233718872, 0.1496409773826599, -0.9826894402503967, -0.19808191061019897, -0.03981871157884598, -0.24286077916622162, -0.23208756744861603, -0.01103358156979084, -0.6331409215927124, -0.2395995557308197, -0.29958322644233704, 0.3337176442146301, 0.31758996844291687, -0.35159528255462646, 0.9950315356254578, 0.6782982349395752, 0.12746556103229523, -0.5586249232292175, -0.655849039554596, 0.44359347224235535, -0.4779801666736603, -0.5363751649856567, 0.21154814958572388, -0.2667613625526428, -0.6117327809333801, -0.22005870938301086, 0.19034667313098907, -0.33241403102874756, 0.4026489853858948, 0.34898409247398376, 0.10749775916337967, -0.2493390142917633, 0.10431285947561264, -0.22772084176540375, -0.11583007127046585, 0.02796461246907711, -0.013831223361194134, 0.48363813757896423, -0.4516676366329193, -0.3439532220363617, -0.014813100919127464, 0.3193255066871643, 0.8049241304397583, -0.32929694652557373, 0.7345962524414062, 0.4350344240665436, -0.27862364053726196, -0.38286399841308594, -0.6549561023712158, 0.02708026021718979, -0.49661993980407715, 0.7823184728622437, -0.43148893117904663, -0.930480420589447, 1.020052433013916, -0.3089694678783417, 0.022649262100458145, 0.17716467380523682, 0.8355705142021179, 0.1749810129404068, 0.8692908883094788, 0.6941121816635132, 0.1450127214193344, 0.12545019388198853, -0.00009173480066237971, 0.03257733955979347, -0.6482950448989868, -0.3391346335411072, -0.34278881549835205, -0.2718632221221924, -0.5316174626350403, -0.6443134546279907, 0.4257933497428894, -0.11651525646448135, -0.2129741609096527, 0.13356798887252808, -0.12584485113620758, 0.8107966184616089, 0.022264689207077026, -0.15899688005447388, 0.4263286292552948, -0.22885052859783173, -0.27094337344169617, 0.06458307057619095, -0.5512365102767944, -0.6559682488441467, 0.8821251392364502, 0.46957769989967346, 0.6242402791976929, 0.5587460398674011, 0.4808216989040375, 0.2959224581718445, 0.23603801429271698, -0.7843491435050964, 0.781263530254364, 0.08322037011384964, -0.6729207634925842, -0.6322477459907532, -0.6091699600219727, -0.9443610310554504, 0.471527099609375, -0.6050631999969482, -0.8735466003417969, 0.0066482606343925, -0.19944091141223907, -0.5814335942268372, 0.34578588604927063, -0.48190557956695557, 0.7907727956771851, -0.5058651566505432, -0.7407973408699036, -0.15294693410396576, -0.2546558976173401, 0.439663827419281, -0.4080554246902466, 0.11014870554208755, -0.4827939569950104, -0.6189807653427124, 0.5816943049430847, -0.048416923731565475, 0.7971020340919495, 0.01618337444961071, -0.19043190777301788, 0.10935069620609283, 0.3608078956604004, 0.22832827270030975, 0.3032042980194092, -0.4759827256202698, 0.30014386773109436, 0.0042236424051225185, -0.2409730702638626, -0.6374570727348328, 0.7878919243812561, -0.8765884041786194, -0.36921367049217224, -0.5469306111335754, -0.6132100224494934, -0.540168046951294, 0.3067845106124878, -0.009199249558150768, 0.21424932777881622, -0.5289011597633362, 0.20086312294006348, 0.5449520945549011, -0.220441073179245, 0.41495174169540405, 0.876350462436676, -0.3448355495929718, -0.23310865461826324, 0.6632741689682007, 0.03482063114643097, -0.006049969233572483, 0.15586145222187042, 0.07367567718029022, -0.39309632778167725, -0.8237879276275635, -0.3659481704235077, 0.02463834173977375, -0.6646058559417725, -0.18982543051242828, -0.47126442193984985, -0.0028771895449608564, 0.062321584671735764, -0.033462293446063995, -0.6778081059455872, -0.015069110319018364, -0.042870812118053436, -0.15121112763881683, 0.14601066708564758, 1.0167522430419922, -0.0538647435605526, 0.33393070101737976, -0.6561776399612427, -0.007657366804778576, 0.45384854078292847, 0.4833998680114746, 0.13829420506954193, -0.1420382261276245, -0.005657898262143135, -0.17880961298942566, 0.10652525722980499, -0.9450100064277649, 0.3573448359966278, 0.06508413702249527, 1.00300931930542, 0.14999011158943176, -0.0545787438750267, 0.6164458394050598, -0.5779089331626892, 0.768284797668457, 0.040731530636548996, -0.9678298234939575, 0.023586835712194443, -0.42521652579307556, 0.28946352005004883, 0.8205461502075195, 0.04121507331728935, -0.29200509190559387, -0.2166951447725296, -0.25456035137176514, -0.6912908554077148, 0.4412704408168793, 0.042357418686151505, 0.09080204367637634, 0.17255659401416779, 0.20459061861038208, -0.034244563430547714, 0.2818044126033783, -0.5849733948707581, 0.030910411849617958, 0.24834513664245605, -0.12401405721902847, -0.19353467226028442, -0.24775995314121246, -0.07788784056901932, -0.04281473159790039, 0.24484644830226898, -0.14539453387260437, 0.19212910532951355, -0.0799848809838295, -0.06668876856565475, 0.03041347861289978, 0.11886332929134369, 0.6545904278755188, 0.7994143962860107, 0.012174840085208416, 0.11025114357471466, 0.7281208634376526, -0.45448383688926697, 0.4723633825778961, 0.04520779475569725, 0.28140684962272644, -0.4433341324329376, 0.9037215709686279, 0.6011428833007812, 0.3906990885734558, -1.1557811498641968, 0.595622718334198, -0.4054824411869049, -0.05565004050731659, -0.29274696111679077, 0.24874545633792877, 0.1346588134765625, 0.7106282711029053, 0.32450243830680847, -0.12392476946115494, 0.15381410717964172, -0.5852088332176208, 0.2929806709289551, 0.295105904340744, -0.4596102237701416, -0.27903124690055847, 0.31910961866378784, 0.29507237672805786, -0.2922261655330658, 0.3518899083137512, -0.37210720777511597, -0.4425402581691742, 0.7761226296424866, 0.4365096688270569, 0.8653545379638672, -0.3848455548286438, 0.14824987947940826, 0.09533549100160599, 0.41063743829727173, -0.07948549836874008, 0.1707032024860382, 0.16131797432899475, -0.8194543719291687, -0.5943698883056641, -0.5559371709823608, -0.41923439502716064, -0.007297187112271786, -0.17677167057991028, 0.03638698160648346, -0.4993590712547302, -0.4633295238018036, -0.17283381521701813, 0.31029993295669556, -0.5305098295211792, -0.24586431682109833, 0.17055122554302216, 1.0322996377944946, -0.5537010431289673, 0.72669917345047, 0.7403392791748047, -0.16527391970157623, -0.6703571677207947, 0.011266647838056087, 0.12497777491807938, -0.7045488357543945, 0.6394833922386169, -0.04158413037657738, -0.6333103179931641, -0.20648905634880066, -0.4154786169528961, -0.7946486473083496, 1.1158205270767212, 0.4493732452392578, -0.5111984014511108, -0.10715235024690628, 0.08015736937522888, 0.8206169605255127, -0.6161091923713684, 0.5322161912918091, 0.5152802467346191, 0.561767578125, 0.06461700797080994, -1.021671175956726, -0.18639853596687317, -0.413096159696579, -0.1959795504808426, -0.08636705577373505, -0.8609297275543213, 0.8111735582351685, -0.19705724716186523, -0.08362957835197449, 0.1877497136592865, 0.6332083344459534, 0.4683276414871216, 0.14644348621368408, 0.563288152217865, 0.27760547399520874, 0.9152583479881287, -0.023697512224316597, 0.8524711728096008, -0.21276310086250305, 0.1570146530866623, 0.9103071689605713, -0.8603997230529785, 0.9408870935440063, 0.033095065504312515, -0.013197465799748898, 0.41123923659324646, 0.24713067710399628, 0.09128487855195999, 0.34637320041656494, 0.5014347434043884, -0.3773694336414337, -0.5370941162109375, -0.18544374406337738, -0.08840040862560272, 1.046695351600647, 0.380376935005188, 0.24290016293525696, -0.24798065423965454, 0.061128027737140656, 0.015041420236229897, 0.2652840316295624, -0.14012260735034943, 0.789395809173584, -0.2235618680715561, -0.40941742062568665, 0.28146398067474365, -0.018692785874009132, 0.816501796245575, -0.8499190211296082, -0.1643756628036499, -0.19356989860534668, 0.2691570520401001, -0.012947375886142254, -0.8837692737579346, 0.13036049902439117, 0.26795580983161926, 0.03654080629348755, 0.1162119135260582, 0.6522316932678223, -0.40606480836868286, -0.4381803870201111, 0.8093265295028687, 0.7355812788009644, 0.1075703576207161, 0.21958288550376892, -0.7481476068496704, 0.687233567237854, -0.2891947627067566, -0.12982426583766937, 0.22163842618465424, 0.5430086255073547, -0.05130310729146004, 1.038805365562439, 0.5789303183555603, 0.26037612557411194, -0.011281121522188187, -0.1875099539756775, 0.7527372241020203, -0.4336037039756775, -0.5564253330230713, -0.9041787981987, 0.20101326704025269, -0.28869667649269104, -0.4704693555831909, 0.8957081437110901, 0.48173046112060547, 0.17939957976341248, 0.17123901844024658, 0.7187511920928955, 0.2847486138343811, 0.2867763936519623, -0.40941116213798523, 1.0429922342300415, -0.44977647066116333, 0.2514488697052002, -0.2136671096086502, -0.8705980181694031, -0.2648172080516815, 0.6645593047142029, -0.34817928075790405, 0.04611052945256233, 0.3674226701259613, 0.6710569262504578, -0.03317314758896828, -0.17920266091823578, 0.624550461769104, 0.2787972390651703, 0.5525500178337097, 0.7704282402992249, 1.2590241432189941, -0.013991993851959705, 0.5070005059242249, 0.13389988243579865, -0.5610312223434448, -0.0392836257815361, -1.1795655488967896, -1.1262952089309692, -0.4661458432674408, -0.15472786128520966, -0.19256320595741272, 0.2807385325431824, 1.0029728412628174, 0.8596436381340027, -0.5787438750267029, -0.6101750135421753, 0.3013964295387268, 0.1257011890411377, -0.1584925800561905, -0.144718736410141, -0.06888312846422195, -0.044208962470293045, -0.5756234526634216, 0.9025251865386963, 0.3528740406036377, -0.14788366854190826, -0.6947190761566162, -0.2216704785823822, -0.08703216910362244, 0.27813780307769775, 0.5855302214622498, 0.2234109491109848, -0.5471389889717102, -0.08959249407052994, 0.09687182307243347, -0.27671781182289124, -0.24174843728542328, 0.5356621742248535, -0.8380127549171448, 0.3567943274974823, 0.4780448079109192, 0.6855898499488831, 0.12840239703655243, -0.23107050359249115, 0.5508049130439758, -0.3092893064022064, 0.315960556268692, 0.3662809133529663, 0.09499122947454453, 0.24002976715564728, -0.16227896511554718, 0.5450015068054199, -0.10249870270490646, -0.5506832599639893, -0.9576644897460938, 0.0872645229101181, -0.9267277717590332, -0.096296027302742, 1.1119006872177124, -0.258989542722702, -0.28920772671699524, -0.2602563500404358, -0.05832625553011894, -0.03427208587527275, -0.5047398805618286, 0.7125464081764221, 0.7849639058113098, 0.08291980624198914, -0.029034752398729324, -0.8796494007110596, 0.48978638648986816, -0.02137450873851776, -1.0962499380111694, 0.17030736804008484, 0.4751738905906677, 0.030586756765842438, 0.3448328375816345, 0.6267257332801819, 0.01105784997344017, 0.24348632991313934, 0.15803059935569763, 0.03940218314528465, -0.3394107222557068, -0.5451953411102295, -0.2942638695240021, 0.2988174259662628, -0.00811159610748291, 0.14091020822525024 ]
http://arxiv.org/abs/2402.16482v1
http://arxiv.org/pdf/2402.16482v1
On Languaging a Simulation Engine
2024-02-26T11:01:54
2024-02-26T11:01:54
Han Liu, Liantang Li
cs.AI
cs.AI, cs.CE, cs.CL
Language model intelligence is revolutionizing the way we program materials simulations. However, the diversity of simulation scenarios renders it challenging to precisely transform human language into a tailored simulator. Here, using three functionalized types of language model, we propose a language-to-simulation (Lang2Sim) framework that enables interactive navigation on languaging a simulation engine, by taking a scenario instance of water sorption in porous matrices. Unlike line-by-line coding of a target simulator, the language models interpret each simulator as an assembly of invariant tool function and its variant input-output pair. Lang2Sim enables the precise transform of textual description by functionalizing and sequentializing the language models of, respectively, rationalizing the tool categorization, customizing its input-output combinations, and distilling the simulator input into executable format. Importantly, depending on its functionalized type, each language model features a distinct processing of chat history to best balance its memory limit and information completeness, thus leveraging the model intelligence to unstructured nature of human request. Overall, this work establishes language model as an intelligent platform to unlock the era of languaging a simulation engine.
[ -0.12452565133571625, -0.7581495046615601, 0.8392159938812256, 0.3172732889652252, -0.0618051141500473, 0.1974904090166092, -0.2519654929637909, -0.08765817433595657, -0.09869053214788437, 0.7249976992607117, -0.30508336424827576, -0.28220194578170776, -0.31267184019088745, -0.4808117747306824, -0.3176705241203308, 0.6841603517532349, -0.1389440894126892, 0.07685955613851547, -0.2927705943584442, 0.12985099852085114, -0.11963839828968048, -0.5777600407600403, -0.687484622001648, -0.4785310924053192, 0.20484057068824768, 0.32047533988952637, 0.5879818201065063, 0.5280073881149292, 0.16524603962898254, 0.41044703125953674, 0.18476781249046326, 0.09841286391019821, -0.5474926829338074, 0.050062984228134155, -0.43945732712745667, -0.8177621960639954, -0.21783001720905304, -0.09963154047727585, 0.8180586099624634, 0.5519763231277466, -0.32883742451667786, 0.1915365308523178, 0.17814351618289948, 0.25376060605049133, -0.4328044652938843, 0.5190362334251404, -0.5186049938201904, -0.19993901252746582, -0.07026205956935883, -0.5881047248840332, -0.6359524130821228, 0.16770127415657043, -0.14919598400592804, -0.586132287979126, -0.19439643621444702, 0.3392866849899292, 0.9828055500984192, 0.3226359486579895, -0.04900459572672844, -0.1027243435382843, -1.2628803253173828, 0.9664965867996216, -0.8203928470611572, 0.2792755663394928, 0.2805855870246887, 0.7940557599067688, -0.34334099292755127, -0.8775113224983215, -0.577183723449707, 0.03770580142736435, -0.05843031033873558, 0.11060436069965363, 0.16493399441242218, 0.15848173201084137, 0.0760417953133583, -0.13552561402320862, -0.5534491539001465, 0.037152986973524094, -0.43822214007377625, -0.06621028482913971, 0.6382450461387634, 0.09969083219766617, 0.6939772963523865, 0.1352982372045517, -0.4191407561302185, -0.2597006559371948, -0.4843689799308777, -0.0038270815275609493, 0.24302107095718384, 0.6049003005027771, -0.06381937116384506, 0.6416262984275818, 0.012776093557476997, 0.38005730509757996, -0.6642968654632568, -0.2597852945327759, -0.12068580836057663, 0.1269955039024353, -0.38422855734825134, 0.20549681782722473, 0.7677825093269348, 0.186060830950737, 0.14704930782318115, -0.37542998790740967, -0.23958824574947357, -0.15412098169326782, 0.25451958179473877, -1.181480884552002, -0.09636908769607544, 0.21856945753097534, -0.4478795826435089, -0.2120155394077301, -0.15893758833408356, -0.8202064633369446, -0.4463581442832947, -0.20566733181476593, 0.4838678538799286, -0.35203251242637634, -0.5627124309539795, 0.5073037147521973, -0.09515540301799774, 0.061088234186172485, 0.33613264560699463, -0.8359200358390808, 0.6707108020782471, 0.6874316334724426, 0.7527867555618286, 0.10486768186092377, -0.19282639026641846, -0.45302730798721313, 0.6146241426467896, -0.09794815629720688, 0.7141144275665283, -0.8691689968109131, -0.7655662894248962, -0.29425638914108276, -0.1399647444486618, -0.1954973340034485, -0.4456072747707367, -0.029441773891448975, -0.5121515393257141, 0.20247647166252136, 0.10729917883872986, -0.46899574995040894, -0.6384870409965515, 0.2617497146129608, -0.5607770085334778, 1.0004122257232666, 0.08287052810192108, -0.45887863636016846, -0.21677124500274658, -0.6467694044113159, -0.11545827984809875, 0.1973552107810974, -0.5252101421356201, -0.2579404413700104, -0.08948858827352524, -0.4716704785823822, 0.18743586540222168, -0.661273181438446, 0.6242390871047974, -0.324066698551178, -0.46531325578689575, 0.3040919303894043, -0.2601110339164734, 0.4424227476119995, 0.20140333473682404, -0.4435567557811737, -0.056513380259275436, -0.36758285760879517, 0.07954774051904678, 0.12051496654748917, -0.3901480436325073, -0.2924906313419342, 0.44428691267967224, 0.33356812596321106, 0.16998901963233948, 0.10819970816373825, -0.41250112652778625, 0.29548394680023193, -0.5329499244689941, 0.4405215382575989, 0.3655029833316803, 0.03734198957681656, 0.72803795337677, -0.23574644327163696, 0.5754009485244751, -0.17767679691314697, -0.24979816377162933, -0.1349666714668274, -0.5534490346908569, -0.8374671936035156, -0.23361127078533173, 0.3043438792228699, 0.8693817257881165, -0.7745082974433899, -0.2534801959991455, -0.5033615827560425, -0.6228504180908203, -0.33442869782447815, 0.0032677706331014633, 0.3630025386810303, 0.27182120084762573, 0.39570143818855286, 0.04303944483399391, -0.537594735622406, -0.7523314356803894, -0.31172701716423035, -0.7017149925231934, -0.1642521768808365, 0.6948139071464539, 0.27350419759750366, -0.39459681510925293, 1.1955264806747437, -0.28155168890953064, -0.10573681443929672, -0.4104243516921997, 0.483540803194046, -0.1481252908706665, 0.5932446718215942, 0.6515877842903137, -0.8623871207237244, -0.2556559145450592, 0.29687097668647766, -0.6851606369018555, -0.06649565696716309, -0.21900905668735504, -0.38958168029785156, 0.007185199297964573, 0.7984833717346191, -0.3747032582759857, 0.28213226795196533, 0.6103280782699585, 0.0787043645977974, 0.19627046585083008, -0.22233733534812927, 0.12046536058187485, -1.144679307937622, 0.43221181631088257, -0.2985304892063141, 0.02413114160299301, -0.5761709809303284, 0.2947429418563843, -0.1806749850511551, -0.3863293528556824, -0.5471715331077576, 1.179508090019226, -0.4503415822982788, -0.26658129692077637, -0.14780811965465546, 0.0569629967212677, 0.0723147764801979, 0.44211331009864807, 0.10973663628101349, 0.8270223736763, 0.5366024374961853, -0.6202145218849182, 0.14619985222816467, -0.25134795904159546, -0.16947656869888306, -0.1808411329984665, -0.376049280166626, -0.03409960865974426, -0.14628858864307404, 0.007009963970631361, -0.9886002540588379, -0.22927486896514893, 0.0457158237695694, -0.22468923032283783, 0.6162749528884888, -0.2836454212665558, -0.8602961897850037, -0.08169598877429962, 0.05436126887798309, 0.5068300366401672, 0.7400846481323242, -0.14800907671451569, 1.4149181842803955, 0.4345996379852295, -0.5198137760162354, -0.0606912337243557, -0.8194590210914612, 0.08691432327032089, -0.33550843596458435, -0.5316741466522217, 0.3321443498134613, -0.22313226759433746, -0.30198994278907776, -0.13235227763652802, 0.04515175521373749, -0.3714180290699005, 0.26982393860816956, 0.29040801525115967, 0.22204656898975372, -0.1857193112373352, 0.012181765399873257, 0.3392704129219055, -0.06399048119783401, 0.26436880230903625, -0.1618899703025818, 0.8399134874343872, -0.15414726734161377, -0.4612247943878174, -0.18394964933395386, 0.1855221390724182, 0.7370213866233826, -0.30927973985671997, 0.4272383153438568, 0.1491622030735016, -0.6985560059547424, -0.2709370255470276, -0.4017302989959717, -0.3123970925807953, -0.5827949047088623, 0.4302383065223694, -0.5203458666801453, -0.7240733504295349, 0.5652462244033813, -0.5944070219993591, 0.22016431391239166, -0.026370618492364883, 0.37888601422309875, -0.17613323032855988, 1.2949002981185913, 0.614008903503418, 0.07335957884788513, 0.15194465219974518, -0.25425708293914795, 0.6765638589859009, -0.4344511330127716, -0.49232029914855957, -0.5205503106117249, -0.4319588840007782, -0.2717849612236023, -0.8555830121040344, 0.2531440258026123, 0.2902015149593353, -0.11410245299339294, 0.14446966350078583, -0.11414345353841782, 0.28215786814689636, 0.061306994408369064, -0.12964442372322083, 0.041433703154325485, 0.26417601108551025, -0.42225122451782227, -0.10959333181381226, -0.8697530627250671, -0.885307788848877, 0.38787442445755005, 0.5667657852172852, 0.9302645921707153, 0.14823514223098755, 0.7869558334350586, -0.07269389927387238, 0.6562422513961792, -0.7703052759170532, 0.9624866247177124, -0.07074970006942749, -0.6088101863861084, -0.36827465891838074, -0.23748032748699188, -0.688812255859375, 0.05103927478194237, 0.20773804187774658, -0.8385137319564819, 0.02839449793100357, 0.19600464403629303, -0.49827542901039124, 0.6005174517631531, -0.8600353002548218, 0.8167023658752441, -0.47382721304893494, -0.5893972516059875, -0.2959716320037842, -0.4133753776550293, 0.2902750074863434, 0.10297131538391113, 0.7440563440322876, -0.28274005651474, -0.15824808180332184, 0.274270623922348, -0.29828280210494995, 0.8312220573425293, -0.22110974788665771, -0.13271088898181915, 0.5597511529922485, 0.7703220248222351, 0.1699841469526291, 0.043125782161951065, -0.28296926617622375, -0.07533980160951614, -0.1276654303073883, -0.24873526394367218, -0.6937947273254395, 0.6935323476791382, -0.6281257271766663, -0.6052895784378052, -0.15001216530799866, -0.5080017447471619, -0.17290669679641724, 0.27355632185935974, -0.18234337866306305, 0.3630198836326599, -0.348594069480896, -0.08112651109695435, 0.5341132283210754, -0.3730255961418152, 0.5083364844322205, 0.6480521559715271, -0.6899946331977844, 0.31567272543907166, 1.4666284322738647, 0.08725009113550186, 0.07167758047580719, 0.5797173380851746, 0.023975521326065063, -0.24565932154655457, -0.15021367371082306, -0.7448360323905945, 0.24258948862552643, -0.4619896709918976, -0.2038041204214096, -0.7898852229118347, -0.6210346221923828, -0.03528990596532822, -0.30400389432907104, -0.6581889986991882, -0.07963588088750839, -0.31043630838394165, -0.02463790774345398, 0.2814090847969055, 0.4527699649333954, 0.277291476726532, 0.21321113407611847, -0.9537070393562317, 0.06875357776880264, 0.41192927956581116, 0.4707782566547394, -0.14802728593349457, -0.39163634181022644, -0.09019991755485535, 0.37589868903160095, 0.14842535555362701, -0.6560643315315247, 0.4780275225639343, 0.32734358310699463, 0.46463873982429504, 0.39832279086112976, -0.1825776994228363, 0.6298778653144836, -0.6740276217460632, 0.6625801920890808, -0.17082004249095917, -0.7568525671958923, 0.5091778039932251, -0.43966183066368103, 0.06244311481714249, 0.3418712913990021, 0.2309873402118683, -0.4240972399711609, -0.362819105386734, -0.4901401698589325, -0.7082458138465881, 0.7291026711463928, 0.17478324472904205, 0.13924016058444977, 0.01272993441671133, 0.224026620388031, -0.11841119080781937, 0.1341228187084198, -0.4082808792591095, 0.005947840865701437, -0.12790091335773468, -0.04285319894552231, 0.10858199745416641, -0.3421754240989685, -0.07402102649211884, 0.06771637499332428, 0.9011637568473816, -0.19068419933319092, 0.12957718968391418, -0.24670115113258362, -0.1945285201072693, 0.07762457430362701, 0.27823778986930847, 0.4984866976737976, 0.1307155191898346, -0.22029727697372437, 0.2802221179008484, 0.13096825778484344, -0.2834078371524811, 0.08957419544458389, 0.13648131489753723, -0.16439320147037506, -0.03407958894968033, -0.11546870321035385, 0.8699372410774231, 0.6539374589920044, -1.1056910753250122, 0.23593908548355103, -0.19485098123550415, -0.07102558016777039, -0.10700175166130066, 0.4381042420864105, 0.42724844813346863, 0.23808306455612183, 0.18368566036224365, 0.07354982942342758, 0.5064032077789307, -0.6648824214935303, -0.11719045042991638, 0.2331038862466812, -0.3510701358318329, -0.3485352396965027, 0.8088232278823853, 0.26808464527130127, -0.4344863295555115, 0.44517582654953003, -0.457391619682312, -0.5661333203315735, 0.6380575895309448, 0.46345630288124084, 0.7135639786720276, -0.536816418170929, 0.15097467601299286, 0.49472564458847046, 0.2468450367450714, -0.34830859303474426, 0.4960915148258209, 0.07194641977548599, -0.7391486763954163, -0.2872548997402191, -0.7805350422859192, -0.28075870871543884, 0.18431630730628967, -0.5340062975883484, 0.41583383083343506, -0.47565820813179016, -0.022110778838396072, -0.33373430371284485, -0.2499617040157318, -0.4407442510128021, 0.22204984724521637, 0.25502994656562805, 0.9223878383636475, -0.915752649307251, 0.9261149168014526, 1.093826413154602, -0.22707612812519073, -0.8280184864997864, -0.3415055572986603, -0.1275268942117691, -0.7066823244094849, 0.47202548384666443, 0.2763470709323883, -0.473489910364151, 0.4015587270259857, -0.5968905687332153, -0.9329093098640442, 1.2591049671173096, 0.5474408864974976, -0.45019254088401794, -0.22491808235645294, 0.31721392273902893, 0.5045151114463806, -0.3748001158237457, 0.32591772079467773, 0.5757169723510742, 0.5092551112174988, -0.06118849664926529, -0.9894185066223145, -0.08591736108064651, -0.7105422019958496, 0.548068106174469, -0.002574001206085086, -0.7250646352767944, 0.5957881212234497, -0.19550110399723053, -0.6833393573760986, 0.40138372778892517, 0.4488043487071991, 0.5883392691612244, 0.0698452815413475, 0.5205116868019104, 0.35551297664642334, 0.4104628264904022, -0.12346819043159485, 1.077810525894165, -0.5360276699066162, 0.2052781730890274, 1.1227434873580933, -0.752193033695221, 0.9321448802947998, 0.5650653839111328, 0.0219611506909132, 0.7415745854377747, 0.5080317258834839, 0.29431623220443726, 0.5019088387489319, 0.3841328024864197, -0.4464772343635559, -0.382313996553421, -0.3140796720981598, -0.2348364293575287, 0.47942960262298584, 0.8031639456748962, 0.07861920446157455, -0.41976308822631836, 0.140085831284523, 0.09203609079122543, 0.25012773275375366, -0.11223071813583374, 0.634024441242218, -0.06162300705909729, -0.6580238342285156, 0.21492373943328857, 0.5599678158760071, 0.23086553812026978, -0.6541097164154053, -0.3293922245502472, -0.07637742906808853, -0.017009304836392403, 0.028878910467028618, -0.615224301815033, 0.1976470947265625, -0.1872902363538742, -0.22384794056415558, -0.5640591382980347, 0.8617827296257019, -0.7174408435821533, -0.30017733573913574, 0.5006014108657837, 0.41504982113838196, 0.5300071835517883, -0.045682262629270554, -0.5661795735359192, 0.24932947754859924, -0.024609893560409546, -0.34437572956085205, 0.33023881912231445, 0.5979426503181458, -0.3080385625362396, 0.9556012749671936, 0.5790473222732544, -0.09521988034248352, 0.03842638432979584, 0.30855581164360046, 1.0562294721603394, -0.30137816071510315, -0.6138493418693542, -0.5840758681297302, 0.736707866191864, -0.020505081862211227, 0.3386116325855255, 0.4634929597377777, 1.0450196266174316, 0.5846464037895203, -0.09569785743951797, 0.8116918206214905, 0.08290081471204758, 0.4553074240684509, -0.4200647175312042, 1.0573030710220337, -0.632632851600647, 0.47099292278289795, 0.2033766210079193, -0.8229545950889587, -0.02105848677456379, 0.7816471457481384, -0.06640956550836563, 0.15643395483493805, 0.5260053873062134, 1.1221667528152466, -0.3319931924343109, -0.18054673075675964, 0.19224616885185242, 0.4434894025325775, 0.3540034890174866, 0.07585583627223969, 0.442103773355484, -0.3119083046913147, 0.46872469782829285, -0.13402943313121796, -0.19437535107135773, -0.48032209277153015, -0.8091431260108948, -0.7832219004631042, -0.497620165348053, -0.17369185388088226, -0.29473596811294556, -0.0143659096211195, 0.6182260513305664, 0.8764321208000183, -0.5958687663078308, -0.8127159476280212, -0.20681630074977875, -0.14861616492271423, 0.09944304823875427, -0.26125437021255493, -0.2635190188884735, -0.3005138039588928, -0.8581370115280151, 0.5900423526763916, 0.7405666708946228, 0.24564647674560547, -0.5404459834098816, -0.28511136770248413, -0.0923735648393631, 0.3496217429637909, 0.4419867992401123, 0.59674072265625, -0.5577533841133118, -0.1276240199804306, 0.121427983045578, -0.45910224318504333, -0.21869568526744843, 0.8664688467979431, -0.8680270314216614, 0.773109495639801, 0.42068246006965637, 0.7809312343597412, 0.8756359815597534, -0.22767916321754456, 0.8187769651412964, -0.8194231390953064, 0.46559906005859375, 0.3501429557800293, 0.3919442892074585, 0.1803411990404129, -0.30592426657676697, 0.43411046266555786, 0.07623280584812164, -0.13258199393749237, -1.0345945358276367, 0.2150018960237503, -0.8305000066757202, -0.42751553654670715, 1.2862346172332764, -0.1086878702044487, -0.33369502425193787, 0.01866636984050274, -0.4297589957714081, 0.2818867564201355, -0.27033841609954834, 0.6919548511505127, 0.6591967344284058, 0.01678040251135826, -0.22941143810749054, -0.7279808521270752, 0.397489994764328, 0.4001859128475189, -1.0328788757324219, -0.07854071259498596, 0.19375577569007874, 0.22830736637115479, 0.26229238510131836, 0.7223522067070007, -0.03283188119530678, 0.1356326788663864, -0.022930718958377838, 0.3927609622478485, 0.14321891963481903, -0.5197480916976929, 0.19792698323726654, -0.1487809270620346, 0.10428255051374435, 0.301286518573761 ]
http://arxiv.org/abs/2402.16472v2
http://arxiv.org/pdf/2402.16472v2
mEdIT: Multilingual Text Editing via Instruction Tuning
2024-02-26T10:33:36
2024-04-17T16:59:30
Vipul Raheja, Dimitris Alikaniotis, Vivek Kulkarni, Bashar Alhafni, Dhruv Kumar
cs.CL
cs.CL, cs.AI, I.2.7
We introduce mEdIT, a multi-lingual extension to CoEdIT -- the recent state-of-the-art text editing models for writing assistance. mEdIT models are trained by fine-tuning multi-lingual large, pre-trained language models (LLMs) via instruction tuning. They are designed to take instructions from the user specifying the attributes of the desired text in the form of natural language instructions, such as Grammatik korrigieren (German) or Parafrasee la oraci\'on (Spanish). We build mEdIT by curating data from multiple publicly available human-annotated text editing datasets for three text editing tasks (Grammatical Error Correction (GEC), Text Simplification, and Paraphrasing) across diverse languages belonging to six different language families. We detail the design and training of mEdIT models and demonstrate their strong performance on many multi-lingual text editing benchmarks against other multilingual LLMs. We also find that mEdIT generalizes effectively to new languages over multilingual baselines. We publicly release our data, code, and trained models at https://github.com/vipulraheja/medit.
[ -0.04025280475616455, -0.6803895235061646, 0.5301384925842285, 0.21144917607307434, 0.05272641032934189, 0.14401625096797943, -0.6335690021514893, -0.4495793879032135, 0.07770868390798569, 0.5268990397453308, -0.8665928840637207, -0.8027724027633667, -0.4641048014163971, 0.439100980758667, 0.13191664218902588, 1.2482357025146484, -0.3957194983959198, 0.6126512289047241, -0.0813247486948967, -0.2399304360151291, -0.5029621720314026, -0.5742648243904114, -0.7222175002098083, -0.14243696630001068, 0.7396096587181091, 0.8457496762275696, 0.5121792554855347, 0.5510017275810242, 0.7601678371429443, 0.35154107213020325, 0.16580408811569214, 0.5514329671859741, -0.41394761204719543, -0.14566734433174133, -0.1678626388311386, -0.4134175181388855, -0.864197850227356, 0.15635284781455994, 0.5356712937355042, 0.5682470202445984, -0.02192220836877823, 0.11859352141618729, -0.13361872732639313, 0.700069785118103, -0.47560635209083557, -0.09774487465620041, -0.37384602427482605, -0.10092341154813766, -0.03310587257146835, -0.2552427649497986, -0.65009605884552, -0.4868144094944, -0.21960234642028809, -0.8628650307655334, 0.22274848818778992, 0.02560599334537983, 0.7945308685302734, 0.4125615358352661, -0.29112738370895386, -0.28902938961982727, -0.4771820306777954, 0.6145966649055481, -0.5237507820129395, 0.4153982102870941, 0.5590660572052002, -0.06675747781991959, -0.1292571723461151, -0.6138268113136292, -0.18885834515094757, -0.1636408120393753, -0.11400427669286728, 0.2486674040555954, 0.01032582949846983, 0.4868663251399994, 0.07078354805707932, 0.46590349078178406, -0.495187908411026, 0.24926094710826874, -0.36300402879714966, -0.09884107112884521, 0.412300705909729, 0.04854244366288185, 0.5854436159133911, 0.14466431736946106, -0.17440064251422882, 0.16450658440589905, -0.6045305132865906, -0.15131835639476776, 0.5243281126022339, 0.09036897122859955, -0.3276718258857727, 0.7996008396148682, -0.008134536445140839, 0.8280026316642761, 0.09191177040338516, 0.11658194661140442, 0.14005348086357117, -0.28612634539604187, -0.2983052432537079, 0.012361650355160236, 0.8059108853340149, 0.6404348015785217, 0.48875692486763, -0.3781934976577759, -0.0880298912525177, 0.1339801847934723, 0.18030110001564026, -0.7121375799179077, -0.4160338044166565, -0.060512591153383255, -0.3605811297893524, -0.3856702446937561, -0.08335287123918533, -0.7716466188430786, -0.45318081974983215, -0.4534234404563904, 0.32319149374961853, -0.4879680871963501, -0.0577922984957695, 0.47142279148101807, 0.06594465672969818, -0.07995616644620895, 0.20877835154533386, -0.9855174422264099, 0.4305087924003601, 0.6904098987579346, 0.7122719287872314, -0.24822759628295898, -0.7297523617744446, -0.6741661429405212, -0.015423883683979511, -0.2869482934474945, 1.026658535003662, -0.831514835357666, -0.40995272994041443, -0.15604977309703827, 0.22972437739372253, -0.30728501081466675, -0.2786054313182831, 0.7126784920692444, -0.3915829658508301, 0.5280009508132935, -0.01849321834743023, -0.703166663646698, -0.04136393591761589, 0.14597183465957642, -0.8444178700447083, 1.1320558786392212, 0.23582294583320618, -0.8264838457107544, 0.29826125502586365, -1.2415893077850342, -0.6377266049385071, -0.17427419126033783, 0.08112610131502151, -0.337242990732193, 0.2525261640548706, 0.44348305463790894, 0.38190335035324097, -0.26847511529922485, 0.10643915832042694, 0.07600639015436172, -0.24564754962921143, 0.10476875305175781, -0.4397512972354889, 0.5939626097679138, -0.011310633271932602, 0.021128619089722633, 0.3566901683807373, -0.9980719089508057, 0.007761448621749878, -0.27219200134277344, -0.7049905061721802, -0.34531667828559875, -0.2903798818588257, 0.5785236954689026, 0.2743895947933197, 0.1611686646938324, -0.792363166809082, 0.5901585817337036, -0.4480452239513397, 0.47917670011520386, 0.6632093787193298, 0.09618444740772247, 0.44791895151138306, -0.4521329998970032, 0.9000582695007324, -0.3161937892436981, 0.36382508277893066, -0.19271577894687653, -0.3666192591190338, -0.636705219745636, -0.4986494183540344, 0.5850859880447388, 0.8738698363304138, -0.6746845841407776, -0.0260572861880064, -0.1670740693807602, -0.30463775992393494, -0.9558138847351074, 0.41356170177459717, 0.44052577018737793, 0.4515490233898163, 0.2951943576335907, 0.24830137193202972, -0.6773861646652222, -0.8008915185928345, -0.4755156338214874, 0.14870180189609528, 0.22282561659812927, -0.05076180770993233, 0.42690524458885193, -0.4979425370693207, 0.5798282027244568, -0.2598525583744049, -0.18774381279945374, -0.35752394795417786, 0.21567009389400482, 0.0515880361199379, 0.5731359124183655, 0.5087605714797974, -0.7479208111763, -0.6031867861747742, 0.2983959913253784, -0.5069659352302551, -0.43224847316741943, -0.3233487606048584, -0.41457104682922363, 0.2983287572860718, 0.6930766701698303, -0.4185985028743744, 0.0976250171661377, 0.9222817420959473, -0.4944167733192444, 0.5973320603370667, -0.5378013849258423, 0.537327766418457, -1.5551602840423584, 0.04811609163880348, -0.15478815138339996, -0.32671383023262024, -0.5602785348892212, 0.12219962477684021, 0.4911114573478699, -0.0571395568549633, -0.3455352783203125, 0.5140038728713989, -0.544696033000946, 0.5106436610221863, -0.22143492102622986, -0.10324951261281967, 0.14021237194538116, 0.588287889957428, -0.07479250431060791, 0.9769253730773926, 0.25293996930122375, -0.29441046714782715, 0.4079076945781708, 0.21137703955173492, -0.1870950311422348, 0.7509547472000122, -0.5105723142623901, 0.22271005809307098, 0.05319451168179512, -0.16860127449035645, -0.7735019326210022, -0.4421056807041168, 0.10315613448619843, -0.31135597825050354, 0.44245949387550354, -0.24463951587677002, -0.6434510350227356, -0.04331950843334198, -0.31957706809043884, 0.3457772135734558, -0.01640099659562111, -0.5700657963752747, 0.7225612998008728, 0.2132670283317566, -0.37959712743759155, -0.4981316030025482, -0.6303234100341797, 0.16776828467845917, -0.07390616089105606, -0.6071748733520508, 0.2633182406425476, -0.3879620134830475, -0.07094172388315201, -0.013353708200156689, 0.2388477623462677, -0.3597061038017273, -0.013378432020545006, 0.31600067019462585, 0.6217725872993469, -0.1912722885608673, 0.39734533429145813, 0.44933485984802246, -0.37369680404663086, -0.16336330771446228, -0.03743351250886917, 0.20871850848197937, -0.1495133340358734, -0.33768120408058167, -0.4819115698337555, 0.6834085583686829, 0.7764254212379456, -0.5711226463317871, 0.44184938073158264, 0.6038698554039001, -0.42091670632362366, 0.18870583176612854, -0.7751533389091492, 0.051635369658470154, -0.4518762528896332, 0.5833798050880432, -0.4491593539714813, -0.9488529562950134, 0.38606593012809753, -0.3535316288471222, 0.43962323665618896, 0.3837801516056061, 0.4753267467021942, -0.045945942401885986, 1.042075276374817, 1.1536929607391357, -0.10274502635002136, 0.5789192914962769, 0.01638639345765114, -0.1657673418521881, -0.6536391973495483, 0.10324124991893768, -0.4238949120044708, -0.40082111954689026, -0.6891880631446838, -0.3213340640068054, 0.36297884583473206, -0.1620836853981018, 0.036410633474588394, -0.010277882218360901, -0.43568405508995056, 0.917826235294342, 0.5418307185173035, 0.16648444533348083, 0.39038676023483276, 0.014049574732780457, -0.30851733684539795, -0.28910624980926514, -0.899277925491333, -0.4733683466911316, 1.0504670143127441, 0.16728228330612183, 0.9939318299293518, -0.24446390569210052, 0.5837743282318115, 0.10188589990139008, 0.5896428227424622, -0.6745855212211609, 0.18323001265525818, -0.5197171568870544, -0.44507551193237305, -0.006006290204823017, -0.27099478244781494, -0.6148155927658081, -0.05396849662065506, -0.4403603672981262, -0.33694693446159363, 0.03589097410440445, 0.38826945424079895, -0.36417898535728455, 0.40083324909210205, -1.1517776250839233, 1.1459029912948608, -0.31315597891807556, -0.3975398540496826, -0.28342336416244507, -0.5789293050765991, 0.04017094150185585, -0.1026558130979538, 0.3463970124721527, 0.07446445524692535, -0.16344451904296875, 0.6785545945167542, -0.36337459087371826, 0.8828395009040833, 0.03337009623646736, -0.0354066826403141, -0.20827369391918182, 0.15407657623291016, 0.3736768364906311, 0.17713530361652374, -0.15314295887947083, 0.01557366643100977, 0.07117215543985367, -0.26841631531715393, -0.5365332961082458, 0.7131546139717102, -0.6053150296211243, -0.11044491827487946, -0.19206102192401886, -0.7791178226470947, -0.3306809961795807, 0.2762240171432495, 0.5239546895027161, 0.5839606523513794, -0.4531283676624298, -0.06253941357135773, 0.5323147773742676, -0.33199402689933777, 0.18009693920612335, 0.5739296078681946, -0.1415969580411911, -0.5652812123298645, 0.7048326730728149, -0.2023405283689499, 0.291210800409317, 0.5111740231513977, 0.23939959704875946, 0.0822511613368988, -0.1628578007221222, -0.7550879120826721, 0.4839099645614624, -0.7395672798156738, -0.181492879986763, -0.5452314615249634, -0.08963252604007721, -0.09899958968162537, -0.4548755884170532, -0.4544883370399475, -0.505365788936615, -0.09790647774934769, -0.22760656476020813, 0.724237859249115, 1.0299392938613892, -0.17146067321300507, 0.5779985785484314, -0.7690009474754333, 0.49427857995033264, -0.06943047791719437, 0.7724347114562988, -0.7804404497146606, -0.273847758769989, -0.5943694114685059, 0.01195549312978983, -0.04646557569503784, -0.9188340306282043, 0.04297969862818718, 0.4409884810447693, 0.32096385955810547, -0.042728669941425323, -0.33596086502075195, 0.6702051758766174, -0.9410435557365417, 0.43575620651245117, 0.04130283743143082, -0.8051201701164246, 0.5818434953689575, -0.280372679233551, 0.5529702305793762, 0.835996150970459, 0.14232420921325684, -1.0661815404891968, -0.5529667735099792, -0.2688464820384979, -0.4553598165512085, 0.675775408744812, -0.24965639412403107, 0.18534807860851288, 0.13311146199703217, 0.5500321388244629, 0.34419143199920654, 0.17486776411533356, -0.6553022861480713, -0.07479062676429749, 0.014318079687654972, -0.763705849647522, 0.004337298218160868, -0.5083839297294617, -0.10628443956375122, -0.4300915598869324, 0.7870500683784485, -0.00559011148288846, 0.07702967524528503, 0.2575296461582184, -0.273720383644104, -0.29535728693008423, 0.5320727825164795, 0.8551647067070007, 0.7051928043365479, -0.020433655008673668, -0.04566445201635361, 0.20787988603115082, -0.9452131390571594, 0.07594257593154907, 0.25857892632484436, 0.01679590344429016, 0.15961900353431702, 0.3963624835014343, 0.706721842288971, 0.6284070611000061, -0.5764620900154114, 0.3402485251426697, -0.4540892243385315, -0.43017494678497314, 0.028044451028108597, -0.08882788568735123, 0.0027998255100101233, 0.003927876241505146, -0.29001811146736145, 0.3011334240436554, 0.08293595165014267, 0.06724758446216583, 0.02608763799071312, 0.04534241557121277, -0.2936396896839142, -0.32164278626441956, 0.7608063817024231, 0.354562908411026, -0.44054871797561646, 0.46824419498443604, 0.009172002784907818, -0.48537036776542664, 0.24443146586418152, 0.44234445691108704, 0.8962315917015076, -0.46803414821624756, 0.17237162590026855, 0.22505202889442444, 0.6690354347229004, 0.01157743576914072, 0.5102596282958984, 0.3081050217151642, -0.49790439009666443, -0.7069475650787354, -0.4374392628669739, -0.520026683807373, 0.1174626424908638, -0.582096517086029, 0.3971761465072632, -0.2546113431453705, -0.0892985537648201, 0.013601448386907578, -0.19109603762626648, -0.6496723890304565, 0.028075002133846283, -0.22281084954738617, 1.0753461122512817, -0.9258542060852051, 0.7002286314964294, 1.2847322225570679, -0.15430083870887756, -0.6917267441749573, -0.3263545334339142, -0.05320347473025322, -0.6363911032676697, 0.12470986694097519, 0.08787686377763748, -0.39159759879112244, 0.05642231926321983, -0.604563295841217, -0.3496917188167572, 0.5819427967071533, 0.6743632555007935, -0.6410714983940125, -0.20796604454517365, 0.09070777893066406, 0.49726179242134094, -0.2598309814929962, -0.03470651060342789, 0.6555168032646179, 0.4440333843231201, -0.5375990271568298, -0.914639949798584, -0.36464956402778625, -0.7002438306808472, -0.2702765464782715, 0.25145313143730164, -0.4248010218143463, 0.6733866930007935, -0.2738914489746094, 0.1921994537115097, 0.08350206166505814, 0.2482360601425171, -0.19734348356723785, -0.04183987155556679, 0.3486553728580475, 0.43209508061408997, 0.8627598285675049, -0.022313181310892105, 1.130030870437622, -0.7248501777648926, 0.10970647633075714, 1.3494802713394165, 0.11901971697807312, 0.7216826677322388, 0.5943955779075623, 0.3144708573818207, 0.46279141306877136, 0.750079333782196, 0.054020870476961136, 0.24985802173614502, -0.27631303668022156, -0.36855900287628174, -0.17327651381492615, 0.1598528027534485, -0.12217264622449875, 0.4101216495037079, 0.26329752802848816, -0.3319508731365204, -0.09351380914449692, 0.3629666268825531, 0.5250884890556335, 0.35450294613838196, -0.2970399260520935, 0.7994229793548584, -0.1993357092142105, -0.6082074642181396, 0.28382232785224915, 0.42296019196510315, 0.682165265083313, -0.7338805198669434, -0.2814544141292572, -0.1459341049194336, 0.2612602710723877, -0.24947673082351685, -0.4917198717594147, 0.07738220691680908, 0.461232453584671, -0.4891325831413269, -0.32094696164131165, 0.5891638398170471, -0.7613788843154907, -1.076686978340149, 0.17385834455490112, 0.4816403388977051, -0.059940043836832047, 0.06699804216623306, -0.7244392037391663, -0.037546683102846146, -0.1387343853712082, -0.26811012625694275, -0.07154839485883713, 0.5587520599365234, -0.005381749011576176, 0.4144095182418823, 0.5178118348121643, 0.3930233120918274, 0.296111524105072, 0.451131135225296, 0.7024040818214417, -0.3541189730167389, -0.6176871657371521, -0.9810090065002441, 0.6224703192710876, -0.0318203829228878, -0.5870704650878906, 0.513861358165741, 0.7406452298164368, 0.9206892848014832, -0.33497437834739685, 0.8867554068565369, 0.18651627004146576, 0.6470699906349182, -0.800886869430542, 0.9067178964614868, -0.486566424369812, -0.1903148591518402, -0.19789308309555054, -0.6257224678993225, -0.6629016995429993, 0.5706904530525208, -0.42918774485588074, 0.08677061647176743, 0.9234024882316589, 0.9418923258781433, -0.34125277400016785, 0.022915713489055634, 0.13764114677906036, 0.10761503875255585, 0.06879708915948868, 0.525811493396759, 0.5411661863327026, -0.3133472502231598, 0.32135605812072754, -0.3563351333141327, -0.39329349994659424, -0.04205963760614395, -0.7127869129180908, -1.0594145059585571, -0.4186929762363434, -0.27255508303642273, 0.1028488278388977, 0.12459991872310638, 1.3085061311721802, 0.6379283666610718, -0.7933180332183838, -0.23510697484016418, 0.01574191078543663, 0.09044298529624939, -0.3170202970504761, -0.13988178968429565, 0.384480357170105, -0.5751584768295288, -0.827587366104126, 0.4572821259498596, 0.36188557744026184, -0.05492835119366646, 0.09580755233764648, -0.1032688245177269, -0.42810115218162537, 0.007288798689842224, 0.5214371681213379, 0.04116436094045639, -0.4430554509162903, -0.1608569175004959, 0.1354684978723526, -0.3255480229854584, 0.38170304894447327, 1.0576213598251343, -0.17652671039104462, 0.7368812561035156, 0.16101513803005219, 0.8589257597923279, -0.06097511202096939, -0.15294097363948822, 0.8074666857719421, -0.8737716674804688, 0.15164411067962646, -0.023090209811925888, 0.3731078803539276, 0.42162296175956726, -0.5059148073196411, 0.5665289163589478, 0.0338045135140419, -0.6901146173477173, -0.6724216341972351, 0.005167342256754637, -0.7544979453086853, -0.07013943046331406, 1.0007717609405518, -0.04484114795923233, -0.1630087047815323, 0.09116112440824509, -0.9029263257980347, 0.4526483416557312, -0.11497607827186584, 0.5625121593475342, 1.0536882877349854, -0.14191293716430664, -0.35786208510398865, -0.9148725867271423, 0.8042373657226562, 0.3746175765991211, -1.108619213104248, 0.2126215249300003, 0.754310667514801, 0.3785923421382904, -0.3507855236530304, 0.6312780380249023, -0.11498788744211197, 0.859587550163269, -0.3335034251213074, 0.4726845920085907, -0.3152574300765991, -0.4385938048362732, -0.5228500962257385, -0.22501571476459503, 0.21938423812389374, -0.22594115138053894 ]
http://arxiv.org/abs/2402.16470v1
http://arxiv.org/pdf/2402.16470v1
Unveiling Vulnerability of Self-Attention
2024-02-26T10:31:45
2024-02-26T10:31:45
Khai Jiet Liong, Hongqiu Wu, Hai Zhao
cs.CL
cs.CL
Pre-trained language models (PLMs) are shown to be vulnerable to minor word changes, which poses a big threat to real-world systems. While previous studies directly focus on manipulating word inputs, they are limited by their means of generating adversarial samples, lacking generalization to versatile real-world attack. This paper studies the basic structure of transformer-based PLMs, the self-attention (SA) mechanism. (1) We propose a powerful perturbation technique \textit{HackAttend}, which perturbs the attention scores within the SA matrices via meticulously crafted attention masks. We show that state-of-the-art PLMs fall into heavy vulnerability that minor attention perturbations $(1\%)$ can produce a very high attack success rate $(98\%)$. Our paper expands the conventional text attack of word perturbations to more general structural perturbations. (2) We introduce \textit{S-Attend}, a novel smoothing technique that effectively makes SA robust via structural perturbations. We empirically demonstrate that this simple yet effective technique achieves robust performance on par with adversarial training when facing various text attackers. Code is publicly available at \url{github.com/liongkj/HackAttend}.
[ -0.3349609673023224, -0.9359855651855469, 0.2947176694869995, 0.31775984168052673, -0.1373465210199356, 0.012581910938024521, 0.029752496629953384, -0.07186803966760635, 0.24598155915737152, 0.7611982822418213, -0.9068818688392639, -0.0805995836853981, -0.6875443458557129, 0.02468549832701683, -0.4953489303588867, 1.0848994255065918, 0.19670884311199188, -0.32048436999320984, -0.03480315953493118, 0.057665057480335236, -0.306816428899765, -0.7659010887145996, -0.24330483376979828, -0.10828743875026703, 0.7029561996459961, 0.18885129690170288, 0.748020350933075, 0.6113349199295044, 0.843363881111145, 0.35961735248565674, 0.054036762565374374, -0.3801780939102173, -0.7276635766029358, 0.32037585973739624, -0.21717004477977753, -0.7472906112670898, -0.4421861469745636, 0.15223699808120728, 0.5722677707672119, 0.3190256357192993, 0.3153005838394165, 0.3497052490711212, 0.36718305945396423, 0.6003919243812561, -0.6726477146148682, -0.3400769829750061, -0.9010851383209229, 0.1267153024673462, -0.711966872215271, -0.11003044247627258, -0.5116134881973267, 0.3590884506702423, 0.062323153018951416, -0.14140719175338745, 0.38950109481811523, -0.10465959459543228, 0.751147985458374, 0.7244369983673096, -0.05149807780981064, 0.12105268985033035, -0.6994655132293701, 0.6129231452941895, -0.45506414771080017, 0.3086949586868286, 0.33326125144958496, 0.2139020562171936, -0.31767040491104126, -0.8298419117927551, -0.3290382921695709, -0.2597559690475464, -0.23094280064105988, 0.15936172008514404, -0.4035439193248749, 0.36528268456459045, 0.43249788880348206, 0.5688530802726746, -0.45488929748535156, -0.017422795295715332, -0.28574419021606445, -0.24328595399856567, 0.5031958818435669, 0.13663725554943085, 0.3899030089378357, -0.24297134578227997, -0.6554118394851685, -0.2533022165298462, -0.8256161212921143, -0.022886358201503754, 0.5558062791824341, 0.12012287974357605, -0.10601773858070374, 0.4668155908584595, 0.09999106079339981, 0.6505926847457886, 0.3494264781475067, 0.22102506458759308, -0.24193403124809265, -0.29285386204719543, -0.34059762954711914, -0.20107029378414154, 0.9744532108306885, -0.13581326603889465, 0.12473990023136139, -0.292111337184906, -0.19631901383399963, 0.15604549646377563, 0.7386271953582764, -0.5834735035896301, -0.4674648642539978, 0.14845697581768036, -0.20287474989891052, -0.6171461939811707, 0.06346534937620163, -0.8848202228546143, -0.20115424692630768, 0.226980522274971, 0.7172870635986328, -0.25628048181533813, 0.18559756875038147, -0.11754274368286133, 0.24404089152812958, 0.3382943868637085, -0.01448364369571209, -0.7589864730834961, 0.3024576008319855, 0.385326087474823, 0.8030809760093689, -0.03896072879433632, -0.5627842545509338, -0.492170125246048, 0.10832838714122772, -0.14369340240955353, 0.9883789420127869, -0.22211827337741852, -0.36907926201820374, -0.353192538022995, -0.1774592399597168, -0.1715528815984726, -0.18778561055660248, 0.45197051763534546, -0.47487539052963257, 0.15181148052215576, 0.11844035238027573, -0.10908882319927216, 0.18697459995746613, 0.1166703999042511, -0.7022132277488708, 0.8734126687049866, 0.062140677124261856, -0.9176633358001709, -0.23351532220840454, -0.6988707780838013, -0.7293649911880493, -0.039388321340084076, 0.10472545027732849, -0.6472057104110718, 0.3651788532733917, 0.3634798228740692, 0.29670223593711853, -0.018809301778674126, -0.14229446649551392, -0.34646907448768616, -0.25636887550354004, 0.5617011189460754, -0.6789478659629822, 0.4864630699157715, 0.10071265697479248, -0.4427405595779419, 0.27965596318244934, -0.6622439026832581, -0.21731318533420563, 0.3342007100582123, 0.01513529010117054, -0.27297914028167725, 0.02189638651907444, -0.2406952679157257, 0.46250689029693604, 0.15529635548591614, -0.4106004536151886, 0.2024255096912384, -0.8799769878387451, 0.4632842242717743, 0.9495777487754822, 0.1294393390417099, 0.5451281070709229, -0.09300585091114044, 0.6252737641334534, -0.1585000604391098, 0.45855793356895447, -0.6488741040229797, -0.029193762689828873, -0.895950436592102, -0.394788533449173, 0.5055384039878845, 0.29339179396629333, -0.5756444334983826, 0.27522337436676025, 0.012524391524493694, -0.4980374872684479, -0.980809211730957, 0.07674757391214371, 0.5060606002807617, 0.37116071581840515, 0.3863551914691925, -0.07918046414852142, -0.44127294421195984, -0.8814823627471924, -0.8862711787223816, 0.15229852497577667, -0.15382617712020874, -0.042463064193725586, 0.198902428150177, -0.09308818727731705, 0.7875239849090576, -0.6709973216056824, -0.802601158618927, -0.13541695475578308, 0.03725762665271759, -0.024248769506812096, 0.3350416421890259, 0.4487205147743225, -0.5819965600967407, -0.402056485414505, -0.5280247330665588, -0.36315494775772095, -0.2703454792499542, -0.3507230281829834, 0.035663824528455734, -0.08026604354381561, 0.81121426820755, -0.3166378438472748, 0.8324013352394104, 0.5586321949958801, -0.23319607973098755, 0.3198505640029907, 0.012294561602175236, -0.13969513773918152, -0.9099002480506897, -0.06462236493825912, -0.14235740900039673, -0.2805348038673401, -0.8476817607879639, 0.31866031885147095, 0.04932764545083046, -0.35661280155181885, -0.6749396920204163, 0.3975074291229248, -0.5355002880096436, 0.16713584959506989, -0.628508985042572, 0.12510627508163452, -0.1636592149734497, 0.5906431674957275, -0.47980308532714844, 0.6975958347320557, 0.5600760579109192, -0.599780261516571, -0.029566172510385513, 0.24901975691318512, 0.10361991077661514, 0.3163554072380066, -0.9090697169303894, 0.5988985896110535, -0.22005695104599, 0.2434741109609604, -1.2721952199935913, -0.24401681125164032, 0.2747032046318054, -0.5513256192207336, 0.5372549295425415, -0.01867794059216976, -0.25413960218429565, -0.5422131419181824, -0.7645576596260071, 0.36238089203834534, 0.1571739763021469, -0.5357546806335449, 0.8697218298912048, 0.4290044605731964, -0.04348401352763176, -0.38354575634002686, -0.91631019115448, 0.38150253891944885, -0.1311034858226776, -0.554301917552948, 0.3704066574573517, -0.0825376957654953, 0.06312814354896545, -0.27331167459487915, -0.25839322805404663, 0.2911526560783386, 0.4214564859867096, 0.40584298968315125, 0.1389869898557663, 0.04936876893043518, -0.12927748262882233, -0.15062056481838226, -0.4127747714519501, 0.26324695348739624, -0.16093342006206512, 0.6973539590835571, -0.09072759747505188, -0.4069162905216217, -0.6297271251678467, 0.3719165027141571, 0.6740715503692627, -0.49647241830825806, 0.41558974981307983, 0.4258946180343628, -0.24041754007339478, -0.10565599799156189, -0.7231703400611877, -0.6500799059867859, -0.6145601868629456, 0.5437049865722656, -0.7021886110305786, -0.9399685263633728, 0.4743815064430237, 0.017269250005483627, -0.15336373448371887, 0.5504465103149414, 0.48795732855796814, -0.3703674077987671, 1.0371698141098022, 0.7852837443351746, -0.33816322684288025, 0.5033547878265381, -0.04688195511698723, 0.39943209290504456, -0.9164230823516846, 0.10614932328462601, -0.594050407409668, -0.5104174613952637, -0.5462320446968079, -0.28603044152259827, 0.44648873805999756, -0.09566619992256165, -0.021268807351589203, 0.5516920685768127, -0.5874364376068115, 0.409812867641449, 0.4179563522338867, -0.013366171158850193, 0.011927629821002483, -0.13916996121406555, 0.09273636341094971, -0.38354504108428955, -0.8349796533584595, -0.23570877313613892, 0.9847677946090698, 0.6027305722236633, 1.3033894300460815, -0.05511903390288353, 0.6591852903366089, 0.287962406873703, 0.2948686182498932, -0.49559736251831055, 0.5860661268234253, -0.10141496360301971, -0.5039923787117004, -0.36139827966690063, -0.13052529096603394, -0.8944975733757019, 0.2953793704509735, -0.14675197005271912, -0.7927759885787964, 0.06352397054433823, 0.34836244583129883, -0.41342994570732117, 0.2081931233406067, -0.6460217237472534, 0.7794654369354248, -0.31204307079315186, -0.34907791018486023, -0.14547981321811676, -0.8886042833328247, 0.2367485910654068, -0.24519586563110352, 0.13642317056655884, 0.1364540457725525, 0.1317840963602066, 0.5526382327079773, -0.1593640297651291, 1.1909427642822266, 0.19883476197719574, -0.037992823868989944, 0.09706437587738037, 0.5026752352714539, 0.742155134677887, -0.047617021948099136, 0.4256271421909332, 0.32677704095840454, -0.46638691425323486, -0.33323290944099426, -0.7402381300926208, 0.708272397518158, -0.710468053817749, -1.092368245124817, -0.663653552532196, -0.4392675459384918, -0.18181633949279785, 0.1739020198583603, 0.5216693878173828, 0.24589787423610687, -0.034979239106178284, 0.1579684466123581, 0.7412998676300049, 0.04598313197493553, 0.693955659866333, 0.6530699729919434, 0.022361645475029945, -0.49342769384384155, 0.7655457258224487, 0.20293328166007996, 0.4096906781196594, 0.4427301585674286, 0.2927635908126831, -0.16832385957241058, -0.14245742559432983, -0.13745202124118805, 0.257441908121109, -0.3493780195713043, -0.4721718430519104, -0.853760838508606, -0.40171676874160767, -0.5941563248634338, -0.158840611577034, -0.5558276176452637, -0.19770409166812897, -0.32107651233673096, -0.11581066995859146, -0.033250752836465836, 0.6777133941650391, 0.07972382754087448, 0.6700522303581238, -0.6081311702728271, 0.45351850986480713, 0.44556018710136414, 0.3711140751838684, -0.15384742617607117, -0.7473199367523193, -0.08542343974113464, -0.34930384159088135, -0.5208890438079834, -1.1473392248153687, 0.21789008378982544, 0.22642309963703156, 0.4856114983558655, 0.4706311821937561, 0.17466630041599274, 0.6172504425048828, -0.6341486573219299, 0.7059453129768372, 0.06151490658521652, -1.044179916381836, 0.8729041218757629, -0.20467296242713928, 0.7165486812591553, 0.6239806413650513, 0.058832380920648575, -0.37227752804756165, -0.8793542385101318, -0.9194758534431458, -0.8077902793884277, 0.9610550403594971, 0.21712471544742584, 0.4081284701824188, 0.171916201710701, 0.3828388750553131, -0.2160070687532425, 0.075042225420475, -1.085690975189209, -0.5193369388580322, -0.3749805986881256, -0.05917246639728546, 0.10309538245201111, -0.5773106813430786, 0.042122188955545425, -0.0012617525644600391, 0.5424147844314575, -0.05459937825798988, 0.30824434757232666, 0.5446585416793823, -0.22685490548610687, -0.07859113812446594, 0.11952952295541763, 0.6900621652603149, -0.020524047315120697, 0.11154462397098541, 0.34986579418182373, 0.3517420291900635, -0.6209821105003357, 0.08456029742956161, -0.023467253893613815, -0.3458654582500458, -0.2849220037460327, 0.4159567952156067, 0.8282880187034607, 0.4918121099472046, -0.10123315453529358, 0.6156214475631714, -0.10780728608369827, -0.1068178042769432, 0.10039889067411423, -0.03119819425046444, -0.28256016969680786, -0.052503667771816254, 0.40581828355789185, 0.13367553055286407, 0.1464845985174179, -0.3461311161518097, 0.33816367387771606, 0.4840591251850128, -0.6968457698822021, -0.6189640164375305, 0.9876289367675781, 0.14720813930034637, -0.7594107389450073, -0.01223132386803627, 0.21778853237628937, -0.951324999332428, 0.20752368867397308, 0.8601738810539246, 1.0761370658874512, -0.9567448496818542, -0.03234605863690376, 0.04569561779499054, 0.8950620293617249, 0.3752354383468628, -0.05934319272637367, -0.16617369651794434, -0.29079124331474304, -0.4418070614337921, -0.5145599246025085, -0.10290274024009705, 0.4123144745826721, -0.4398984909057617, 0.2516363561153412, -0.5670059323310852, -0.14657756686210632, -0.1070811077952385, -0.4327299892902374, -0.48489993810653687, 0.3108161985874176, 0.054000210016965866, 0.719559907913208, -0.6623480916023254, 0.5843867659568787, 0.6358263492584229, -0.1749340295791626, -0.6106657385826111, 0.5794840455055237, -0.1545134037733078, -0.5580894947052002, 0.25576913356781006, 0.16318060457706451, -0.24013744294643402, 0.13844460248947144, -0.5479021072387695, -1.1466211080551147, 0.4490470886230469, 0.5059711337089539, -0.5330353379249573, -0.06555082648992538, 0.3661295175552368, 0.468899130821228, 0.057315893471241, 0.12323244661092758, 0.5009938478469849, 0.4068988561630249, -0.41614824533462524, -0.5217807292938232, 0.07368168979883194, 0.0856996476650238, 0.035788729786872864, 0.34856289625167847, -1.1264784336090088, 0.592881977558136, 0.0037371963262557983, -0.27224987745285034, -0.3465663194656372, 1.013802409172058, -0.2621918320655823, -0.08667372167110443, 0.4817940890789032, 0.531944751739502, 0.25239086151123047, -0.11677464097738266, 0.971429169178009, -0.4894667863845825, 0.29968342185020447, 1.1674461364746094, -0.07085192948579788, 0.5099279880523682, 0.6257999539375305, -0.3362303674221039, 0.2322462648153305, 0.11661502718925476, -0.03913315758109093, 0.7233759760856628, 0.3230869174003601, -0.047242842614650726, -0.13540266454219818, 0.29266712069511414, -0.10210462659597397, 0.7634183168411255, 0.29886889457702637, -0.08913014084100723, -0.3225781321525574, 0.4343145191669464, 0.07017987221479416, 0.2376880645751953, -0.3786851167678833, 0.8588190674781799, 0.23288804292678833, -0.633629560470581, 0.2795810401439667, -0.04760551080107689, 0.6253212690353394, -0.8025856018066406, 0.24639974534511566, -0.11962839215993881, 0.2611502408981323, -0.11225590109825134, -0.3888108730316162, 0.3647693395614624, -0.21833355724811554, -0.22430764138698578, -0.14852109551429749, 1.18212890625, -0.21860253810882568, -0.4731996953487396, 0.3291955590248108, -0.02656264789402485, -0.30769798159599304, -0.3984096646308899, -0.5985976457595825, 0.16824419796466827, 0.011007566004991531, -0.5140683650970459, 0.5829256176948547, 0.03487087041139603, 0.09908904135227203, 0.6747395992279053, 0.4956086575984955, -0.05560964345932007, 0.19892148673534393, 0.02418620139360428, 1.0805258750915527, -0.6182256937026978, -0.7271597981452942, -1.1714414358139038, 0.3680596649646759, 0.032430436462163925, -0.31565630435943604, 1.056864857673645, 0.2763172686100006, 0.6782532930374146, -0.11629211902618408, 0.5593809485435486, 0.42851510643959045, 0.42819610238075256, -0.24799925088882446, 0.9237694144248962, -0.24876825511455536, 0.18423029780387878, -0.41948962211608887, -0.6800991892814636, -0.47010353207588196, 0.4120240807533264, -0.35564082860946655, -0.17697197198867798, 0.7353327870368958, 0.7188142538070679, 0.165027916431427, -0.08411377668380737, 0.44218698143959045, 0.5271836519241333, 0.24660293757915497, 0.3095632791519165, 0.6593729853630066, -0.6617932915687561, 0.6524133682250977, -0.2448197454214096, -0.3488709330558777, -0.2627323567867279, -0.8183979988098145, -1.1188232898712158, -0.5138511657714844, -0.36277663707733154, -0.4108492136001587, 0.2639109194278717, 0.4035145938396454, 0.5772485136985779, -0.7207146286964417, 0.2699924111366272, -0.07445070892572403, 0.0009861522121354938, 0.007903965190052986, -0.26130616664886475, 0.5191662311553955, -0.5861729383468628, -0.4029102027416229, 0.7394501566886902, 0.6619377136230469, 0.1627708524465561, -0.5847647190093994, 0.5700890421867371, -0.10036533325910568, 0.4493514597415924, 0.2908872961997986, 0.16009743511676788, -0.5853548049926758, -0.31736457347869873, 0.09160776436328888, -0.28621116280555725, 0.08004818111658096, 0.9810227155685425, -0.9175601601600647, 0.37236344814300537, 0.15787363052368164, 0.7422780990600586, 0.5628054141998291, 0.06336972117424011, 0.45028814673423767, -1.0530344247817993, 0.19392165541648865, 0.2971216142177582, 0.12136667221784592, 0.25981777906417847, -0.786843478679657, 0.23845791816711426, 0.23486211895942688, -0.5037039518356323, -0.8991188406944275, 0.35885339975357056, -0.6618242859840393, -0.19183510541915894, 0.8216117024421692, 0.036577410995960236, -0.7398909330368042, 0.007153958082199097, -0.33413082361221313, 0.06907268613576889, 0.01975979469716549, 0.9924366474151611, 0.589115560054779, 0.1413867324590683, 0.011963095515966415, -0.09895476698875427, 0.6932225227355957, 0.661937415599823, -0.5181359648704529, 0.1666206568479538, -0.07764264196157455, 0.2671948969364166, 0.2813063859939575, 0.50877445936203, -0.2892087697982788, 0.3241207003593445, -0.0901261568069458, -0.009145770221948624, -0.18823665380477905, -0.6068350672721863, -0.6696829795837402, 0.5075900554656982, -0.2299552708864212, -0.38784652948379517 ]
http://arxiv.org/abs/2402.16459v3
http://arxiv.org/pdf/2402.16459v3
Defending LLMs against Jailbreaking Attacks via Backtranslation
2024-02-26T10:03:33
2024-06-06T19:21:44
Yihan Wang, Zhouxing Shi, Andrew Bai, Cho-Jui Hsieh
cs.CL
cs.CL, cs.AI
Although many large language models (LLMs) have been trained to refuse harmful requests, they are still vulnerable to jailbreaking attacks which rewrite the original prompt to conceal its harmful intent. In this paper, we propose a new method for defending LLMs against jailbreaking attacks by ``backtranslation''. Specifically, given an initial response generated by the target LLM from an input prompt, our backtranslation prompts a language model to infer an input prompt that can lead to the response. The inferred prompt is called the backtranslated prompt which tends to reveal the actual intent of the original prompt, since it is generated based on the LLM's response and not directly manipulated by the attacker. We then run the target LLM again on the backtranslated prompt, and we refuse the original prompt if the model refuses the backtranslated prompt. We explain that the proposed defense provides several benefits on its effectiveness and efficiency. We empirically demonstrate that our defense significantly outperforms the baselines, in the cases that are hard for the baselines, and our defense also has little impact on the generation quality for benign input prompts. Our implementation is based on our library for LLM jailbreaking defense algorithms at \url{https://github.com/YihanWang617/llm-jailbreaking-defense}, and the code for reproducing our experiments is available at \url{https://github.com/YihanWang617/LLM-Jailbreaking-Defense-Backtranslation}.
[ -0.06564928591251373, -0.7916387915611267, 0.7942271828651428, 0.12905393540859222, -0.23689807951450348, 0.45273181796073914, -0.16278156638145447, -0.3021065592765808, 0.1461031585931778, 0.8248094916343689, -0.6375150084495544, -0.5543025732040405, -0.5762438774108887, 0.15298353135585785, -0.3268313407897949, 1.025163173675537, -0.07284454256296158, 0.12814103066921234, -0.020826775580644608, 0.11750180274248123, -0.7400128841400146, -0.6319847702980042, -0.633251965045929, -0.31525909900665283, 0.6824389100074768, 0.4111538827419281, 0.48539236187934875, 0.4207718074321747, 0.4639015197753906, 0.2448463886976242, -0.2611945569515228, -0.1316545158624649, -0.3849610388278961, 0.6007778644561768, -0.2613009214401245, -0.6118922829627991, -0.23664365708827972, -0.13639476895332336, 0.44363582134246826, 0.08694415539503098, -0.06945676356554031, -0.10474532097578049, -0.17176403105258942, 0.7425052523612976, -0.6704187989234924, -0.5702787041664124, -0.9007055759429932, 0.14513938128948212, -0.45766040682792664, 0.006237577181309462, -0.8614262938499451, -0.4031607508659363, -0.5072146058082581, -0.05359257385134697, 0.02331334911286831, 0.023231983184814453, 0.730442464351654, 0.16529473662376404, -0.12583142518997192, -0.14977069199085236, -0.4058811366558075, 0.3751491606235504, -0.6959472298622131, 0.37655848264694214, 0.430143803358078, 0.3436020612716675, -0.5820827484130859, -0.426875501871109, -0.3771395981311798, -0.5674874782562256, 0.007888415828347206, -0.018957126885652542, -0.5189903378486633, 0.03950699791312218, 0.46407681703567505, 0.09268368035554886, -0.6091116666793823, 0.4044104516506195, -0.345890074968338, -0.45376160740852356, 0.47621476650238037, 0.24375790357589722, 0.5271914005279541, -0.0024089894723147154, -0.41137635707855225, 0.07890179008245468, -1.4289790391921997, 0.23229433596134186, 0.5237110257148743, 0.2895427644252777, -0.09355059266090393, 0.7958551049232483, -0.062408462166786194, 0.5875522494316101, 0.31945350766181946, -0.17381586134433746, 0.0787004753947258, -0.13611888885498047, 0.043309688568115234, 0.1467181146144867, 0.6714955568313599, 0.3225020468235016, 0.11916854977607727, -0.4496535360813141, -0.4325825870037079, -0.2422075718641281, 0.3670252859592438, -0.9991767406463623, -0.01118865329772234, 0.26569974422454834, -0.47091028094291687, -0.6252511739730835, -0.05902789905667305, -0.755969762802124, -0.7090322971343994, 0.5715644359588623, 0.19869078695774078, -0.45854100584983826, 0.1101013720035553, -0.17223496735095978, 0.0547807440161705, 0.19518505036830902, 0.04779883846640587, -0.9608112573623657, 0.3072494566440582, 0.8633620738983154, 1.0335359573364258, -0.15654951333999634, -0.19267450273036957, -0.9998023509979248, 0.2749730050563812, -0.21566163003444672, 0.6990785598754883, -0.15409260988235474, -0.5963210463523865, -0.20410169661045074, 0.16196006536483765, 0.060263536870479584, -0.557123601436615, 0.3616196811199188, -0.9532613158226013, -0.27468565106391907, -0.062114715576171875, -0.3591531813144684, 0.0006758650415576994, 0.40264832973480225, -0.8775787353515625, 0.34318968653678894, -0.2829345166683197, -0.5708165764808655, 0.08294063061475754, -0.3585405647754669, -0.7233035564422607, -0.026114068925380707, 0.1154722049832344, -0.5473336577415466, 0.2544417977333069, 0.3708193600177765, 0.21880508959293365, -0.1552741974592209, 0.2774706184864044, -0.4297252893447876, -0.18264001607894897, 0.6621701717376709, -0.4220731854438782, 0.9794365167617798, 0.5799744129180908, -0.2631181478500366, 0.26923951506614685, -0.603135347366333, -0.3245360553264618, 0.4078643023967743, -0.4632939398288727, -0.30482903122901917, 0.10633073002099991, -0.5355549454689026, 0.08303682506084442, 0.2894897758960724, -1.172995686531067, 0.2662043273448944, -0.833046555519104, 0.5093003511428833, 0.8926791548728943, -0.002206880832090974, 0.28844723105430603, -0.09963612258434296, 0.6550264358520508, -0.19469891488552094, -0.077146977186203, -0.49957266449928284, -0.2683012783527374, -0.04889833554625511, -0.3324018716812134, 0.12823708355426788, 0.8225591778755188, -0.6996354460716248, 0.12092091888189316, 0.1377788931131363, -0.28464505076408386, -0.3807987868785858, 0.25371813774108887, 0.5643466711044312, 0.5464538931846619, 0.3733072578907013, -0.08202728629112244, -0.7107167840003967, -0.7012282013893127, -0.6502562165260315, -0.3140488266944885, 0.0909285619854927, -0.13328681886196136, 0.22096265852451324, -0.1141614243388176, 0.64267897605896, -0.42715510725975037, 0.15315386652946472, -0.44281241297721863, -0.3455090820789337, 0.26618847250938416, 0.6113455295562744, 0.5364519953727722, -0.3821803033351898, -0.281361848115921, -0.2886629104614258, -0.6692354083061218, -0.46192923188209534, -0.14433614909648895, -0.031456369906663895, 0.12616585195064545, 0.6868167519569397, -0.8627730011940002, 0.44440996646881104, 0.4658893644809723, -0.6365315318107605, 0.66867995262146, 0.20373493432998657, -0.11504735797643661, -1.0380866527557373, -0.19880357384681702, -0.35900357365608215, -0.47147732973098755, -0.5670966506004333, 0.4966468811035156, 0.12221403419971466, -0.3665362298488617, -0.6518980860710144, 0.691328763961792, -0.14533446729183197, 0.035176072269678116, -0.36101606488227844, -0.06597457081079483, -0.0854959562420845, 0.12659677863121033, -0.24355006217956543, 0.8613267540931702, 0.2792350947856903, -0.16888901591300964, 0.7515621185302734, 0.14497531950473785, -0.02187565714120865, 0.5673946738243103, -0.8951169848442078, 0.36258143186569214, 0.09934070706367493, 0.38378235697746277, -1.2235161066055298, 0.17297443747520447, 0.7822319269180298, -0.609749972820282, 0.376591295003891, -0.6116576790809631, -0.39426133036613464, -0.39290663599967957, -0.44068917632102966, 0.22917674481868744, 0.4556474983692169, -0.8736209273338318, 0.4684072732925415, -0.0014427737332880497, -0.21640656888484955, -0.6025934219360352, -0.7652257680892944, 0.5021385550498962, -0.5089660882949829, -0.799755334854126, 0.36983636021614075, -0.3822210431098938, -0.4373718500137329, -0.1750483363866806, -0.11895527690649033, 0.13864992558956146, 0.5752779841423035, 0.43526533246040344, 0.4300134778022766, -0.20868895947933197, -0.2094653695821762, 0.0017533410573378205, -0.17765094339847565, 0.5278789401054382, -0.49596258997917175, 0.6702688336372375, 0.23769603669643402, -0.44350478053092957, -0.36121025681495667, 0.4492587149143219, 0.47873151302337646, -0.14546312391757965, 0.7899408936500549, 0.20488236844539642, -0.08308684080839157, 0.076085165143013, -0.5023305416107178, -0.2506844699382782, -0.5405776500701904, 0.1990075260400772, -0.5676525831222534, -0.8832628130912781, 0.422585666179657, 0.006910289637744427, 0.2534169554710388, 0.040324028581380844, 0.7083173990249634, -0.15176920592784882, 1.0107448101043701, 0.3663099408149719, -0.36974355578422546, 0.5738481879234314, 0.23883117735385895, 0.046447087079286575, -0.6775146126747131, -0.15303963422775269, -0.5586726665496826, -0.1670205444097519, -0.4042293429374695, 0.20328621566295624, -0.12658892571926117, 0.012232009321451187, -0.20017918944358826, 0.4428146481513977, -0.18773478269577026, 0.5021076798439026, 0.22032681107521057, 0.3569144904613495, 0.2161273956298828, 0.04000581055879593, -0.2941713333129883, -0.01022920198738575, -0.3006771504878998, -0.498245507478714, 1.2008984088897705, 0.6507011651992798, 0.999830424785614, 0.3722677230834961, 1.1805509328842163, 0.33292683959007263, 0.35918012261390686, -0.7146600484848022, 0.648603081703186, 0.10855258256196976, -0.6170542240142822, 0.0470074862241745, -0.5076773166656494, -1.0282775163650513, 0.42223700881004333, 0.05771584436297417, -1.0687850713729858, -0.2222096025943756, 0.3435963988304138, -0.520137369632721, 0.6144803166389465, -0.5189294815063477, 0.7129742503166199, -0.43348008394241333, -0.4542325735092163, -0.20379385352134705, -0.6493756771087646, 0.5537325143814087, -0.002464383840560913, 0.1247725561261177, 0.01451344508677721, 0.20909620821475983, 0.809583306312561, -0.7400841116905212, 0.9724965691566467, -0.38938453793525696, -0.4454718828201294, 0.15005679428577423, 0.28551185131073, 0.8468925356864929, 0.3838804364204407, 0.10545006394386292, -0.12330996990203857, -0.25462979078292847, -0.2849784195423126, -0.5546173453330994, 0.6763654947280884, -0.5186185240745544, -1.268460750579834, -0.15191330015659332, -0.45133599638938904, 0.053446099162101746, 0.384859561920166, 0.4709051847457886, 0.2001538872718811, -0.14258763194084167, -0.14793874323368073, 0.7555388808250427, -0.3197087049484253, 0.46462395787239075, 0.6692642569541931, -0.3296377658843994, -0.4561300277709961, 0.7895054221153259, -0.1271558701992035, 0.331133633852005, 0.20528177917003632, 0.3642038106918335, -0.13146938383579254, -0.9427335262298584, -0.6434454917907715, 0.1409865915775299, -0.5978512167930603, -0.5291450023651123, -0.630284309387207, -0.21640248596668243, -0.46413615345954895, -0.11324393004179001, -0.2666666507720947, -0.4619436264038086, 0.0936654582619667, -0.18796342611312866, 0.49564656615257263, 0.4178957939147949, -0.3687075674533844, 0.37676456570625305, -0.8578868508338928, 0.5265690088272095, 0.22009415924549103, 0.009814941324293613, -0.14375905692577362, -0.8441921472549438, -0.18240733444690704, -0.03221488371491432, -0.28941988945007324, -1.2234084606170654, 0.3227505087852478, -0.3714089095592499, 0.5277602672576904, 0.08818616718053818, 0.05974959209561348, 0.30737459659576416, -0.7640947699546814, 0.5299465656280518, 0.2622675895690918, -0.881069004535675, 0.7148441076278687, -0.10006165504455566, 0.15891078114509583, 0.6173128485679626, -0.12601080536842346, -0.5483929514884949, -0.5979581475257874, -0.38618576526641846, -0.9703596234321594, 0.4676225781440735, -0.28977686166763306, 0.22402077913284302, 0.14653761684894562, 0.410430908203125, 0.04326509311795235, 0.14845477044582367, -0.871372401714325, -0.05008331313729286, -0.23413485288619995, -0.1326891928911209, 0.13656680285930634, -0.45258209109306335, -0.26688459515571594, 0.05767984688282013, 0.5551412105560303, 0.35414209961891174, 0.02291135862469673, -0.018361568450927734, -0.562309980392456, 0.017829595133662224, 0.37779027223587036, 0.6418706774711609, 0.1145470142364502, -0.06958097964525223, 0.3738164007663727, 0.18968287110328674, -0.7577320337295532, 0.6904628872871399, 0.11996796727180481, -0.6473300457000732, -0.2236318141222, 0.3236878216266632, 0.6029321551322937, -0.24614952504634857, -0.6592704653739929, 0.4597412943840027, -0.13849198818206787, 0.0777672603726387, -0.29188740253448486, 0.005172729957848787, -0.1878187507390976, 0.38830098509788513, 0.13606040179729462, -0.057092711329460144, -0.1217552125453949, -0.35061562061309814, 0.27075889706611633, 0.4953089952468872, -0.2832711935043335, -0.4132268726825714, 0.605534553527832, 0.04244665056467056, -0.6018801331520081, 0.5846996307373047, -0.1368303745985031, -0.7387187480926514, 0.6150529384613037, 1.1526668071746826, 1.065803050994873, -0.3825667202472687, -0.13320671021938324, 0.1303240805864334, 0.6712411046028137, 0.14314310252666473, 0.18633146584033966, -0.006841479334980249, -0.7809292078018188, -0.32937195897102356, -0.17450696229934692, -0.34857532382011414, 0.15146778523921967, -0.37684184312820435, -0.008882632479071617, -0.9123630523681641, 0.04194611683487892, -0.48493149876594543, -0.4352602958679199, -0.23237696290016174, -0.15026594698429108, 0.39601394534111023, 0.9800364971160889, -0.6132005453109741, 0.8452768325805664, 0.5949583053588867, -0.2619938552379608, -0.5374097228050232, 0.10543762892484665, 0.3970002233982086, -0.8214305639266968, 0.8190540671348572, 0.23234200477600098, -0.4245361387729645, -0.1638229489326477, -0.8943151831626892, -0.9309605956077576, 0.5798785090446472, 0.43742525577545166, -0.6742680668830872, 0.1666698008775711, -0.18045806884765625, 0.0501260980963707, -0.3007849454879761, -0.23623301088809967, 0.7276293039321899, 0.4116414189338684, -0.08986420929431915, -0.36178770661354065, 0.5614033341407776, -0.22607053816318512, -0.24131892621517181, 0.2566678822040558, -0.415711909532547, 0.8482697010040283, -0.5408620238304138, -0.19775789976119995, 0.4925074875354767, 0.7393726706504822, 0.743424654006958, 0.34552761912345886, 0.3218947649002075, 0.6133290529251099, 0.4622925817966461, -0.09976112842559814, 0.9400907754898071, -0.04332796111702919, -0.06332269310951233, 1.197873592376709, -0.3867686092853546, 0.637174665927887, 0.7411289215087891, 0.10000985115766525, 0.6028527617454529, 0.34541797637939453, -0.3602682650089264, 0.8104566931724548, 0.6266371011734009, -0.16492585837841034, 0.1804107129573822, 0.23350733518600464, -0.3501526117324829, 0.2153778225183487, 0.36168810725212097, -0.2353900521993637, -0.3137248456478119, 0.4595755636692047, 0.6179230213165283, 0.3646131753921509, -0.32156625390052795, 0.7309637665748596, 0.0621049627661705, -0.5367602705955505, 0.7920411825180054, 0.35651877522468567, 0.6623906493186951, -0.6137477159500122, 0.22028134763240814, -0.38582220673561096, 0.10649532824754715, -0.33107712864875793, -0.6581819653511047, 0.3011140525341034, 0.4800696074962616, -0.17196442186832428, -0.20612235367298126, 0.8397727608680725, -0.11348071694374084, -0.08977958559989929, 0.3931078612804413, 0.07482217997312546, 0.03469165042042732, 0.04146542772650719, -0.5444245934486389, 0.29794809222221375, 0.06426563858985901, -0.4957118332386017, 0.44541123509407043, 0.10217223316431046, -0.06915193051099777, 0.6196252703666687, 0.7065591216087341, 0.3267199695110321, 0.10454989224672318, -0.003781464882194996, 1.0416308641433716, -0.8708304762840271, -0.615451455116272, -1.6452813148498535, 0.28625521063804626, 0.05613398179411888, 0.1395452618598938, 1.0835994482040405, 0.4835716485977173, 0.7566744089126587, 0.2932523488998413, 0.8961851000785828, 0.06353991478681564, 0.36780431866645813, -0.936543881893158, 0.6799650192260742, -0.10276681929826736, 0.6683015823364258, -0.3404105007648468, -0.4608183801174164, -0.2342299520969391, 0.3599187135696411, -0.55710369348526, -0.3180643320083618, 0.44885748624801636, 0.7796207666397095, 0.28389546275138855, -0.13243556022644043, 0.21592916548252106, 0.24393883347511292, 0.6630329489707947, 0.7902398705482483, 1.360337495803833, -0.06761622428894043, 0.6409361958503723, -0.08110988140106201, -0.061965763568878174, -0.09344043582677841, -0.7425124645233154, -1.101664662361145, 0.21951107680797577, 0.1457616686820984, -0.9218011498451233, 0.4952167570590973, 0.9310154318809509, 0.3497443199157715, -0.8393551111221313, -0.29744192957878113, 0.022345609962940216, 0.5016935467720032, -0.14835593104362488, -0.1295069307088852, -0.06740308552980423, -0.3216344714164734, -0.08439214527606964, 1.0428662300109863, 0.1927233338356018, 0.08379587531089783, -0.24004684388637543, -0.04496759921312332, -0.10498393326997757, 0.01714768260717392, 0.43794718384742737, 0.6695884466171265, -0.7728544473648071, -0.3656577169895172, -0.09307139366865158, -0.20534740388393402, 0.17022842168807983, 0.934700071811676, -0.7905965447425842, 0.153532937169075, 0.38113072514533997, 1.0711718797683716, 0.3370792269706726, -0.10800369083881378, 0.7055935263633728, -0.8074120879173279, 0.4230521321296692, 0.042304620146751404, 0.49364134669303894, 0.30886971950531006, -0.641141414642334, 0.19339784979820251, 0.3716370761394501, -0.2713277041912079, -0.9561703205108643, 0.6892854571342468, -0.30256006121635437, -0.48993444442749023, 0.9546497464179993, -0.45106223225593567, -0.4449904263019562, -0.14089465141296387, -0.31529664993286133, -0.024229906499385834, -0.602053165435791, 0.6876251697540283, 0.5560091137886047, 0.28145936131477356, -0.23062796890735626, -0.3040612041950226, 0.21841606497764587, 0.3785214424133301, -0.6614552140235901, 0.38506317138671875, 0.3726966679096222, 0.47872117161750793, 0.07061397284269333, 0.39637452363967896, -0.36662057042121887, 0.45103588700294495, -0.22739902138710022, -0.06893359124660492, -0.353134423494339, -0.36489593982696533, -0.8167262673377991, 0.25507184863090515, 0.3084620237350464, -0.326809287071228 ]
http://arxiv.org/abs/2402.16458v2
http://arxiv.org/pdf/2402.16458v2
ID-XCB: Data-independent Debiasing for Fair and Accurate Transformer-based Cyberbullying Detection
2024-02-26T10:02:29
2024-02-27T12:52:24
Peiling Yi, Arkaitz Zubiaga
cs.CL
cs.CL
Swear words are a common proxy to collect datasets with cyberbullying incidents. Our focus is on measuring and mitigating biases derived from spurious associations between swear words and incidents occurring as a result of such data collection strategies. After demonstrating and quantifying these biases, we introduce ID-XCB, the first data-independent debiasing technique that combines adversarial training, bias constraints and debias fine-tuning approach aimed at alleviating model attention to bias-inducing words without impacting overall model performance. We explore ID-XCB on two popular session-based cyberbullying datasets along with comprehensive ablation and generalisation studies. We show that ID-XCB learns robust cyberbullying detection capabilities while mitigating biases, outperforming state-of-the-art debiasing methods in both performance and bias mitigation. Our quantitative and qualitative analyses demonstrate its generalisability to unseen data.
[ -0.612079918384552, -1.1680183410644531, 0.15475672483444214, 0.21276576817035675, -0.3777172267436981, 0.3131326138973236, 0.13558615744113922, -0.2728363573551178, 0.3855120837688446, 0.20163054764270782, -0.465247243642807, -0.48695820569992065, -0.9790107011795044, -0.19811992347240448, -0.8767580986022949, 1.231898546218872, 0.4653799533843994, 0.19690309464931488, -0.2844173014163971, 0.21248853206634521, -0.4584600627422333, -0.36714112758636475, -0.8339431285858154, -0.2505280077457428, 0.2586738169193268, 0.14323793351650238, 0.9732113480567932, 0.6600505709648132, 0.5186344981193542, 0.1730412393808365, -0.2074078470468521, 0.021173613145947456, -0.6569455862045288, -0.13661691546440125, -0.5481492877006531, -0.3461042642593384, -0.48215511441230774, 0.040288738906383514, 0.26160556077957153, 0.2917312681674957, 0.13661929965019226, 0.16295641660690308, 0.03169291839003563, 0.49028754234313965, -0.7501844167709351, 0.07475411891937256, -0.8978555798530579, -0.055484455078840256, -0.6059234142303467, 0.1931193768978119, -0.23734310269355774, -0.5180198550224304, -0.17844073474407196, -0.32342782616615295, 0.28059911727905273, 0.07630369067192078, 0.6879870295524597, 0.4025854170322418, -0.5221264958381653, -0.18008527159690857, -0.37282228469848633, 0.6935146450996399, -0.4844972789287567, 0.3151639997959137, 0.7346914410591125, 0.09733465313911438, -0.06388741731643677, -0.5073514580726624, -0.7247389554977417, 0.13882435858249664, -0.03877226635813713, -0.03415385261178017, -0.45430004596710205, 0.31265872716903687, 0.11993943154811859, 0.3415645956993103, -0.2643487751483917, 0.3515367805957794, -0.4167596995830536, -0.21242685616016388, 0.7344778180122375, 0.2688949406147003, -0.06470032781362534, -0.25602269172668457, -0.659612774848938, -0.13148191571235657, -0.5595983266830444, 0.18607647716999054, 0.7398325204849243, 0.392855703830719, -0.4475826025009155, 0.018892982974648476, -0.14510634541511536, 0.25607064366340637, 0.5187898278236389, -0.12494639307260513, 0.18521960079669952, -0.10158511251211166, -0.216196671128273, 0.23421745002269745, 0.8573761582374573, 0.41874784231185913, 0.11940250545740128, -0.28990963101387024, 0.022176619619131088, 0.7205818295478821, 0.4025905728340149, -0.8829545974731445, -0.5146874189376831, 0.30288562178611755, -0.3531544804573059, -1.0132595300674438, 0.11684094369411469, -1.1050716638565063, -0.9430872797966003, -0.3410537838935852, 0.3256901502609253, -0.23827816545963287, -0.4631936550140381, -0.23193910717964172, -0.2183992564678192, -0.14254792034626007, -0.02439376711845398, -0.5560173392295837, 0.5242156982421875, 0.5986467599868774, 0.49620917439460754, -0.5978043675422668, 0.357232928276062, -0.6092042326927185, -0.3508119285106659, -0.2922493517398834, 0.6216555237770081, -0.6098144054412842, -0.20408666133880615, -0.11984745413064957, -0.13448108732700348, 0.4956492483615875, -0.6647708415985107, 0.9160416722297668, -0.49998655915260315, -0.3265184462070465, -0.06571587175130844, -0.2937430739402771, -0.2421046495437622, 0.2637427747249603, -0.5848398208618164, 1.046938419342041, 0.07718468457460403, -0.8344440460205078, 0.8371540904045105, -0.2043788731098175, -0.6309548020362854, 0.0001401148474542424, -0.026642724871635437, -0.7929812669754028, 0.2910080552101135, 0.32269951701164246, 0.2916705012321472, -0.43047255277633667, 0.6664279699325562, -0.837530791759491, -0.3754614591598511, 0.21315181255340576, -0.8100775480270386, 1.183247447013855, 0.07695133239030838, -0.8229135870933533, -0.04092344641685486, -1.111055850982666, 0.29479169845581055, -0.014330090954899788, 0.10736499726772308, -0.6756152510643005, 0.018544120714068413, 0.005431610159575939, 0.41847431659698486, -0.38320285081863403, -0.888740062713623, -0.201198548078537, -0.07619835436344147, 0.03894348815083504, 0.9068275690078735, -0.16582931578159332, -0.14899180829524994, -0.22196950018405914, 0.4711417555809021, 0.42622414231300354, 0.12743154168128967, 0.17877891659736633, -0.16858117282390594, -0.39863845705986023, -0.7543318271636963, 0.39476969838142395, 0.2562406659126282, -0.7659146785736084, 0.42538514733314514, -0.23050186038017273, -0.4770665764808655, -0.8087961077690125, 0.10766614973545074, 0.7580549120903015, 0.35940614342689514, 0.4624999761581421, -0.4018884599208832, -0.5513456463813782, -0.7706191539764404, -0.257473349571228, -0.12402606010437012, 0.2390349805355072, 0.09063807874917984, 0.31015074253082275, -0.04395349323749542, 1.0158380270004272, -0.3380023241043091, -0.6825566291809082, 0.12446750700473785, 0.23619715869426727, -0.04800443723797798, 0.2683987617492676, 0.7533811926841736, -0.96330326795578, -0.7596058249473572, -0.41586214303970337, -0.6244416832923889, -0.4533539414405823, -0.27296558022499084, 0.07251755148172379, -0.07839497923851013, 0.4851849675178528, -0.038568805903196335, 0.94386887550354, 0.552396297454834, -0.5992964506149292, 0.5909269452095032, 0.3016052544116974, 0.20194056630134583, -0.3008767068386078, -0.1183297261595726, -0.11212358623743057, -0.5198358297348022, -0.6549622416496277, 0.010956023819744587, 0.17398618161678314, 0.22998666763305664, -0.5374886393547058, 0.6001291871070862, -0.32659775018692017, 0.45481544733047485, -0.6436885595321655, 0.5997689366340637, -0.00673172390088439, 0.48122844099998474, -0.12218895554542542, 0.2794356048107147, 0.8411841988563538, -0.7641472816467285, 0.38235804438591003, 0.4298127293586731, -0.25570622086524963, 1.272786259651184, -0.4635144770145416, 0.2808726727962494, -0.2595720589160919, -0.09823720157146454, -1.0971359014511108, 0.14232894778251648, 0.28778567910194397, -0.4886942207813263, 0.27878648042678833, -0.07384321093559265, -0.2810458540916443, -0.6545559167861938, -0.5194008350372314, 0.30145376920700073, 0.19791679084300995, -1.0589462518692017, 0.10627329349517822, 0.7794594764709473, 0.18085458874702454, -0.7767550349235535, -0.5125094652175903, 0.10674681514501572, -0.31845906376838684, -0.39018598198890686, 0.5510754585266113, -0.15271714329719543, -0.5572423934936523, -0.2376091182231903, -0.36043673753738403, -0.2657199800014496, 0.28514689207077026, 0.4848213195800781, 0.10468784719705582, 0.45997029542922974, -0.051785096526145935, 0.5687633156776428, -0.024812743067741394, 0.5225792527198792, 0.09271007031202316, 0.32737940549850464, 0.3639811873435974, -0.17560698091983795, -0.37533125281333923, 0.1783866286277771, 0.2690246105194092, 0.15977448225021362, 0.40151798725128174, 0.5976278781890869, -0.328887015581131, -0.3103916645050049, -0.4393019676208496, -0.3370513916015625, -0.4645083546638489, 0.29553934931755066, -0.35689210891723633, -0.2652253806591034, 0.24161368608474731, 0.22996185719966888, 0.009663754142820835, -0.2828589677810669, 0.5562251806259155, 0.25021469593048096, 1.1416926383972168, 0.4577668607234955, -0.29526233673095703, 0.312727689743042, 0.12157143652439117, 0.3468523919582367, -0.44260117411613464, 0.08963318169116974, -0.18239344656467438, -0.7330990433692932, -0.45179131627082825, -0.0038750171661376953, 0.3123459815979004, 0.001034214161336422, -0.04743129387497902, 0.1807451844215393, -0.5123413801193237, 0.388651579618454, 0.47368162870407104, 0.5249264240264893, 0.3923850655555725, -0.06084110587835312, 0.14661791920661926, -0.19363202154636383, -0.14945891499519348, 0.06473632156848907, 1.234512209892273, 0.0974867194890976, 0.8310543298721313, 0.10169602185487747, 0.5348635315895081, 0.7140262126922607, 0.49088960886001587, -0.6821539998054504, 0.468648225069046, -0.2380157858133316, -1.2232335805892944, 0.09566638618707657, -0.23584741353988647, -0.7955279350280762, 0.42753544449806213, -0.37075284123420715, -0.7476337552070618, 0.33748647570610046, 0.31367117166519165, -0.21374614536762238, 0.6213008165359497, -0.2150464951992035, 0.37727412581443787, -0.1390713006258011, -0.8467521071434021, -0.4809996485710144, -0.5851392149925232, 0.6752439141273499, -0.30923789739608765, 0.39319750666618347, -0.009686789475381374, 0.3635994493961334, 0.6179195642471313, -0.3894224762916565, 1.0640404224395752, -0.4721713960170746, -0.1638772189617157, 0.6640372276306152, 0.19894134998321533, 0.4065453112125397, 0.23959702253341675, 0.05365629494190216, 0.5078890919685364, -0.13640791177749634, 0.013350184075534344, -0.26585251092910767, 0.759663999080658, -0.42992332577705383, -0.6985031366348267, -0.27970701456069946, -0.5667489767074585, -0.08489610254764557, 0.3506224453449249, 0.0478539876639843, 0.3342408537864685, -0.3230378329753876, 0.376086562871933, 0.7476053237915039, 0.12297305464744568, 0.3271125257015228, 0.4264829754829407, -0.3648722767829895, -0.5758673548698425, 0.7892613410949707, -0.06158805266022682, 0.11995621770620346, 0.23270821571350098, 0.19990606606006622, -0.18668028712272644, -0.426653116941452, -0.2490648478269577, 0.01458828803151846, -0.5174253582954407, -0.5903205275535583, -0.6603001952171326, 0.2243603616952896, -0.5580512881278992, -0.0673559159040451, -0.31168845295906067, -0.4585045576095581, 0.028165720403194427, -0.301450252532959, 0.3187147378921509, 0.32461225986480713, -0.4604610502719879, 0.6516369581222534, -0.3120839595794678, 0.837546169757843, 0.0633755698800087, 0.4165867865085602, -0.2481684684753418, -0.7989394664764404, -0.11058653891086578, 0.1496930867433548, -0.7302191853523254, -1.001693606376648, 0.2792833149433136, 0.05541427433490753, 0.20262393355369568, 0.8511921763420105, 0.492726594209671, 0.6451192498207092, 0.17210809886455536, 0.522682249546051, 0.10726096481084824, -1.1227684020996094, 0.1787651628255844, -0.23760975897312164, -0.2124146968126297, 0.514163613319397, 0.5946364402770996, -0.30475565791130066, -0.39110007882118225, -0.8480595350265503, -0.7000426650047302, 0.7584433555603027, 0.04853324219584465, 0.015224882401525974, -0.3188130855560303, 0.1306343376636505, 0.32795611023902893, 0.5478922128677368, -0.8589965105056763, -0.8700667023658752, -0.16035297513008118, -0.16395533084869385, 0.4995519518852234, -0.2375829815864563, -0.15645425021648407, -0.1961364895105362, 1.1146048307418823, -0.1588713675737381, -0.04909370094537735, -0.17833630740642548, -0.3142148554325104, 0.060706619173288345, 0.04435577988624573, -0.04480141028761864, 0.17213457822799683, 0.06173068284988403, 0.03435805067420006, 0.1460680365562439, -0.8448034524917603, 0.3101324439048767, -0.011849808506667614, -0.40803465247154236, 0.1455773413181305, -0.3547004759311676, 0.699375569820404, -0.08084164559841156, -0.5805467963218689, 0.8229622840881348, -0.04179788753390312, -0.1467551738023758, -0.22383040189743042, -0.05070192739367485, -0.34258413314819336, 0.1256798952817917, -0.031350959092378616, -0.13705697655677795, 0.25120100378990173, -0.19482049345970154, 0.32780635356903076, 0.7631455659866333, -0.7607385516166687, -0.44775617122650146, 1.1501283645629883, 0.1520218849182129, 0.1136462390422821, 0.5689613819122314, -0.513983964920044, -0.23904483020305634, 0.4915523827075958, 0.6266460418701172, 0.909891664981842, -0.3531220853328705, 0.3762930929660797, 0.3605918288230896, 0.2528668940067291, 0.3669988811016083, 0.23961324989795685, -0.1582994908094406, -0.6756766438484192, 0.10026796907186508, -0.2948232591152191, -0.18665733933448792, 0.41240233182907104, -0.8503508567810059, 0.9153100252151489, -0.8932152390480042, -0.5853717923164368, 0.011319327168166637, -0.10932182520627975, -0.7997031211853027, 0.7249481081962585, 0.41973060369491577, 0.6592704653739929, -0.8413092494010925, 0.6576964259147644, 0.4093264937400818, -0.0712408795952797, -0.19062376022338867, -0.4017558693885803, 0.6066059470176697, -0.7509686946868896, 0.6525599360466003, 0.13338306546211243, -0.04664313793182373, -0.06403930485248566, -0.5791440606117249, -0.8240981101989746, 0.6624237298965454, 0.19916680455207825, -0.5378670692443848, 0.07944555580615997, 0.3038788437843323, 0.45423752069473267, 0.11462601274251938, 0.6086581945419312, 0.9332144260406494, 0.47414252161979675, -0.4724269509315491, -0.6948410272598267, 0.1368853747844696, -0.07695549726486206, -0.3413594663143158, 0.42166051268577576, -0.7849095463752747, 0.6046236753463745, -0.1422480344772339, -0.3620639443397522, -0.17882244288921356, 0.6181591153144836, -0.16607289016246796, 0.4044210612773895, 0.5696855783462524, 0.6726788282394409, 0.7451683282852173, -0.30298465490341187, 0.5490840673446655, -0.23211254179477692, 0.08457359671592712, 1.3369191884994507, -0.023663314059376717, 0.013252587988972664, 0.3566962480545044, -0.375316858291626, 0.5648016929626465, 0.17574456334114075, -0.17529082298278809, 0.6053208708763123, 0.497905969619751, -0.2589217722415924, -0.03792392835021019, -0.21818092465400696, 0.019914640113711357, 0.7720130085945129, 0.48630350828170776, -0.36441999673843384, -0.2211776077747345, 0.2670484781265259, 0.7379014492034912, 0.23742444813251495, -0.607922375202179, 0.8191136717796326, -0.06650924682617188, -0.4818180203437805, 0.7449241876602173, -0.15659716725349426, 1.0052807331085205, -0.47000017762184143, 0.2076231688261032, -0.2325843870639801, 0.6035507917404175, -0.47180289030075073, -0.53815096616745, 0.3291623890399933, -0.06754475831985474, -0.2609383463859558, -0.0022264013532549143, 0.7400882840156555, -0.3031662404537201, -0.2061029076576233, 0.4452833831310272, 0.14995452761650085, 0.07305454462766647, -0.3698396384716034, -0.5401954054832458, 0.00589556060731411, 0.160330131649971, -0.021778825670480728, 0.44866859912872314, 0.2980118691921234, -0.3399530053138733, 0.5672566890716553, 0.433218389749527, 0.10711532086133957, 0.09087567031383514, -0.2281053066253662, 0.8549049496650696, -0.44258880615234375, -0.6526224613189697, -0.8240168690681458, 0.6219550967216492, -0.25053009390830994, -0.44545963406562805, 0.761469841003418, 0.2862149775028229, 1.089120626449585, 0.17751376330852509, 0.9188404083251953, -0.42366859316825867, 0.6446810960769653, 0.06068500131368637, 0.576113224029541, -0.1548018455505371, -0.1255999356508255, -0.7039740681648254, -0.7098075151443481, -0.2420833855867386, 0.1855173408985138, -0.13076157867908478, -0.20412220060825348, 0.6174001097679138, 0.8267374038696289, -0.06969042867422104, 0.19538454711437225, 0.5229772329330444, 0.2439819723367691, 0.5362279415130615, 0.08133712410926819, 0.11043994873762131, -0.8092004656791687, 0.7321174740791321, -0.47855880856513977, -0.5590412020683289, -0.030533235520124435, -0.8664814829826355, -1.2031545639038086, -0.22355008125305176, -0.7156846523284912, -0.41903457045555115, 0.0795094445347786, 0.7264782190322876, 0.5798341035842896, -1.0360358953475952, 0.20358264446258545, 0.2369915246963501, 0.2971091568470001, -0.6802279949188232, -0.3396350145339966, 0.09339290857315063, -0.20881147682666779, -1.0289753675460815, 0.3991016447544098, -0.1760314404964447, -0.21425890922546387, -0.24110448360443115, 0.4805225729942322, -0.052298251539468765, 0.27375054359436035, 0.5721828937530518, 0.042042285203933716, -0.20262779295444489, -0.29164794087409973, -0.31334879994392395, 0.24102680385112762, 0.29481494426727295, 0.628645122051239, -1.1314736604690552, 0.6831833124160767, 0.49176716804504395, 0.7063347101211548, 0.32112863659858704, 0.1812080591917038, 0.1546688973903656, -1.1022465229034424, 0.17206890881061554, -0.19028012454509735, 0.17499466240406036, 0.24187661707401276, -0.4430171549320221, 0.42761102318763733, 0.41892296075820923, -0.4472472369670868, -0.9769837260246277, 0.1119588166475296, -0.42157813906669617, -0.20941954851150513, 0.8918077945709229, -0.07725945115089417, -0.06430649012327194, -0.3989531397819519, -0.2594040334224701, 0.1402389258146286, -0.3978661596775055, 1.4004685878753662, 0.4886428117752075, 0.2583637833595276, 0.41617000102996826, -0.05099543556571007, 0.5325661897659302, 0.2681487500667572, -0.7633746862411499, 0.5020779371261597, 0.44091060757637024, 0.2296522855758667, 0.1788731962442398, 0.2166222482919693, -0.3097319006919861, 0.26300156116485596, 0.17382711172103882, 0.11343330889940262, -0.17548483610153198, -0.4738354980945587, -0.2535889744758606, 0.14294762909412384, -0.6206250786781311, -0.13930413126945496 ]
http://arxiv.org/abs/2402.16457v2
http://arxiv.org/pdf/2402.16457v2
RetrievalQA: Assessing Adaptive Retrieval-Augmented Generation for Short-form Open-Domain Question Answering
2024-02-26T09:59:04
2024-06-05T05:23:21
Zihan Zhang, Meng Fang, Ling Chen
cs.CL
cs.CL
Adaptive retrieval-augmented generation (ARAG) aims to dynamically determine the necessity of retrieval for queries instead of retrieving indiscriminately to enhance the efficiency and relevance of the sourced information. However, previous works largely overlook the evaluation of ARAG approaches, leading to their effectiveness being understudied. This work presents a benchmark, RetrievalQA, comprising 1,271 short-form questions covering new world and long-tail knowledge. The knowledge necessary to answer the questions is absent from LLMs; therefore, external information must be retrieved to answer correctly. This makes RetrievalQA a suitable testbed to evaluate existing ARAG methods. We observe that calibration-based methods heavily rely on threshold tuning, while vanilla prompting is inadequate for guiding LLMs to make reliable retrieval decisions. Based on our findings, we propose Time-Aware Adaptive Retrieval (TA-ARE), a simple yet effective method that helps LLMs assess the necessity of retrieval without calibration or additional training. The dataset and code will be available at https://github.com/hyintell/RetrievalQA
[ -0.5422832369804382, -1.0770961046218872, 0.46325647830963135, 0.16020123660564423, -0.3965388238430023, 0.33937400579452515, 0.010718829929828644, -0.537476658821106, 0.1236930638551712, 0.12497774511575699, -0.5777234435081482, -0.2422131597995758, -0.35438272356987, 0.36943089962005615, -0.15502703189849854, 0.41490015387535095, -0.23747675120830536, -0.2754652500152588, -0.41722193360328674, -0.42556658387184143, -0.5540681481361389, -0.003099963767454028, -0.734819769859314, -0.19890402257442474, 0.18875084817409515, 0.334297776222229, 0.4367094039916992, 0.24809172749519348, 0.23483294248580933, 0.09803418070077896, -0.2552514374256134, 0.7176173329353333, -0.2868480980396271, 0.15050570666790009, -0.1332807093858719, -0.27213114500045776, -0.4437156617641449, -0.01101616956293583, 0.6406271457672119, 0.6250041127204895, -0.22568711638450623, 0.7733852863311768, 0.15936821699142456, 0.7797812223434448, -1.1092525720596313, -0.14608410000801086, -0.8175193071365356, 0.1441878229379654, -0.03225991874933243, -0.5498600006103516, -0.32208573818206787, -0.6799262166023254, 0.25089287757873535, -0.8527308106422424, 0.10579370707273483, 0.4033104479312897, 0.45286017656326294, 0.49546217918395996, -0.7248620390892029, -0.38666847348213196, -0.4508751630783081, 0.7283334136009216, -0.42624494433403015, 0.42927873134613037, 0.4031365215778351, 0.6237525939941406, -0.26166024804115295, -0.8435699343681335, -0.3249714970588684, -0.17298384010791779, 0.3764916956424713, 0.3881278932094574, -0.34702810645103455, -0.20180442929267883, 0.23456470668315887, 0.48141834139823914, -0.4972935616970062, -0.1679459661245346, -0.2080342322587967, -0.22664445638656616, 0.2923416793346405, 0.047978322952985764, 0.018701406195759773, -0.29229748249053955, -0.6953433752059937, 0.21661196649074554, -0.8762596249580383, 0.12523941695690155, 0.27734053134918213, 0.214500293135643, 0.1322290003299713, 0.4922005832195282, -0.3758373260498047, 0.7287362813949585, 0.1607484370470047, 0.3016897141933441, 0.10743163526058197, -0.3323819637298584, -0.080411396920681, 0.007783686742186546, 0.3857848346233368, 0.25961166620254517, 0.1320992410182953, -0.19113628566265106, -0.15629258751869202, -0.4426184892654419, 0.33911505341529846, -0.5342027544975281, 0.24687817692756653, 0.1224612146615982, -0.17196062207221985, 0.09166864305734634, -0.19317170977592468, -0.6418051719665527, -0.18244823813438416, -0.06169000267982483, 0.9555660486221313, -0.3575136065483093, -0.02048749476671219, 0.11226321756839752, -0.20866145193576813, 0.3966447114944458, 0.3445712625980377, -0.2958313226699829, 0.368723601102829, 0.3547625243663788, 0.7908684611320496, -0.3615730404853821, -0.04129275679588318, -0.9861076474189758, 0.07854636013507843, -0.45692315697669983, 0.9183520674705505, -0.2874797284603119, -0.43024933338165283, -0.06279632449150085, -0.06397247314453125, 0.1023160070180893, -0.6718720197677612, 0.5598479509353638, -1.113061785697937, 0.24332097172737122, -0.5275014638900757, -0.3664376735687256, -0.2605153024196625, 0.5530178546905518, -0.7722471952438354, 1.3038629293441772, 0.310650110244751, -0.4346620440483093, 0.6028261780738831, -0.6751942038536072, -0.1416676789522171, 0.30955761671066284, 0.10096076875925064, -0.24888844788074493, -0.015135716646909714, 0.6962341666221619, 0.07902975380420685, -0.5810727477073669, -0.11076704412698746, -0.11311837285757065, -0.6207235455513, 0.03144527226686478, -0.37493956089019775, 0.6340177655220032, 0.3353014588356018, -0.2941327691078186, -0.3318842053413391, -0.8036923408508301, 0.5331758856773376, 0.018635204061865807, -0.5194885730743408, -0.31546077132225037, 0.09667079150676727, -0.5444818139076233, -0.22940827906131744, 0.30781304836273193, -0.5752524733543396, 0.16602590680122375, -0.45347195863723755, 0.31416210532188416, 0.7722310423851013, 0.5476351976394653, 0.3286072015762329, -0.669009804725647, 0.8868271112442017, -0.08953802287578583, 0.157255619764328, 0.3353681266307831, -0.2895335853099823, -0.5865016579627991, 0.2343500703573227, 0.47200459241867065, 0.46305978298187256, -1.1498339176177979, -0.017823580652475357, -0.25009194016456604, -0.43316206336021423, -0.4209258258342743, 0.26585230231285095, 0.38598746061325073, 0.6380774974822998, 0.6055200099945068, -0.3849603533744812, -0.669988751411438, -0.48529261350631714, -0.5426245927810669, -0.30392879247665405, 0.08197712898254395, 0.6506174206733704, 0.5185206532478333, 0.19260206818580627, 0.8742387294769287, -0.2960345447063446, 0.10677307099103928, 0.22944164276123047, 0.07246750593185425, -0.0802871361374855, -0.03473367169499397, 0.4533141851425171, -0.7919895052909851, -0.37235644459724426, -0.36834147572517395, -0.8015850782394409, -0.2509492039680481, 0.27561429142951965, -0.2891123294830322, 0.07194195687770844, 0.46717092394828796, -0.4478950500488281, 0.3726375997066498, 0.344594806432724, -0.08134710043668747, 0.5785614848136902, -0.047940175980329514, 0.5102511048316956, -0.8052042126655579, 0.33041617274284363, -0.28939545154571533, -0.36499789357185364, -0.11068534851074219, 0.2165440022945404, 0.16929402947425842, -0.08155835419893265, -0.8539624810218811, 1.1418225765228271, -0.7908478379249573, -0.20418062806129456, -0.2129848450422287, 0.43641266226768494, 0.20942388474941254, 0.22215664386749268, -0.34786257147789, 1.2675511837005615, 0.12228076159954071, -1.0158181190490723, 0.3686932325363159, 0.2531530559062958, -0.6625059843063354, 0.3115035891532898, -0.6018540859222412, 0.4571593701839447, 0.030834954231977463, 0.11210019141435623, -0.7212071418762207, -0.0695074200630188, 0.16776002943515778, -0.5292676091194153, -0.16983523964881897, -0.37582001090049744, -0.48320654034614563, -0.33806923031806946, -0.3220348060131073, 0.7823693156242371, 0.6449481248855591, -0.7519404888153076, 0.614196240901947, 0.08313348144292831, 0.07720925658941269, -0.8968722820281982, -0.32488134503364563, -0.13702614605426788, -0.25379690527915955, -0.37390121817588806, 0.2823949456214905, -0.11387810111045837, -0.2220735251903534, -0.04263477027416229, -0.518036425113678, 0.11332860589027405, 0.2753884196281433, -0.04932532459497452, -0.04984793812036514, -0.3618435263633728, 0.2643803358078003, 0.15420371294021606, 0.18791551887989044, 0.08463545888662338, -0.22086822986602783, 0.27290740609169006, 0.05530494078993797, -0.40038517117500305, 0.15582111477851868, 0.17996323108673096, 0.2975235879421234, -0.48926836252212524, 0.49242550134658813, 0.42943817377090454, -0.4813889265060425, -0.46165692806243896, -0.5861642360687256, 0.012412087060511112, -0.4744126796722412, -0.06572811305522919, -0.3647392988204956, -0.7722567915916443, 0.5035579204559326, -0.24401040375232697, -0.005065741948783398, 0.3626813590526581, 0.39585214853286743, -0.01893841102719307, 0.7481268048286438, 0.38853907585144043, 0.3642275035381317, 0.2695457339286804, -0.024912122637033463, -0.18401268124580383, -0.9996480345726013, -0.22616539895534515, -0.4008690118789673, -0.10796176642179489, -0.27206748723983765, -0.39670294523239136, 0.7071908712387085, 0.4248789846897125, -0.40603750944137573, -0.03154100477695465, -0.5009158849716187, 0.5083122849464417, 0.5245943665504456, 0.36229175329208374, 0.4338388741016388, -0.11022879183292389, -0.04073520004749298, 0.25073739886283875, -0.5556987524032593, -0.4509509205818176, 1.231196641921997, -0.19614891707897186, 0.7116725444793701, 0.2891278862953186, 0.4799674153327942, 0.7346577644348145, -0.008939497172832489, -0.7199518084526062, 0.6196686029434204, 0.11797413975000381, -0.6656890511512756, -0.2636026442050934, -0.5475861430168152, -1.164608359336853, 0.05046625807881355, -0.12246397882699966, -0.4187455475330353, 0.028041688725352287, 0.2729358375072479, -0.6876485347747803, 0.15304477512836456, -0.6538808941841125, 0.3798607587814331, -0.1916791945695877, -0.23349879682064056, -0.06296154856681824, -0.4369043707847595, 0.2779707610607147, -0.17854107916355133, -0.059361882507801056, -0.2958574593067169, -0.3035857081413269, 0.9794801473617554, -0.20085063576698303, 0.37447622418403625, -0.458814799785614, 0.2551824450492859, 0.9046701192855835, 0.2712741494178772, 0.3564565181732178, 0.08661061525344849, -0.35753893852233887, -0.3449724316596985, 0.4237131178379059, -0.6336637139320374, -0.7326210737228394, 0.5366172790527344, -0.6957386136054993, -0.7442946434020996, -0.515372097492218, -0.29426005482673645, -0.5545629858970642, 0.27162009477615356, 0.09769538044929504, 0.34057021141052246, -0.30858781933784485, 0.1853329837322235, 0.6730909943580627, -0.2139633446931839, 0.22036585211753845, 0.6423863768577576, -0.16595380008220673, -0.3291296064853668, 0.5349083542823792, 0.15206559002399445, 0.2870647609233856, 0.43540939688682556, 0.24826297163963318, -0.5353557467460632, -0.5211777091026306, -0.5321271419525146, -0.03288925439119339, -0.6872311234474182, -0.5399510860443115, -0.2964266240596771, -0.1028783991932869, -0.4028269052505493, 0.2562960386276245, 0.032116468995809555, -0.556144654750824, -0.25677046179771423, 0.08420982211828232, 0.6354678273200989, 0.2796657383441925, -0.0010767545318230987, 0.186527818441391, -0.7978386282920837, 0.5692781209945679, 0.5382106900215149, 0.37570929527282715, -0.02134857326745987, -0.6678076386451721, -0.14483998715877533, 0.18311302363872528, -0.48006492853164673, -0.6769728064537048, -0.0789177343249321, 0.5939121842384338, 0.6802851557731628, -0.33155572414398193, 0.3990026116371155, 0.7376945614814758, -0.48366764187812805, 0.8372156023979187, -0.3917882442474365, -0.8806183338165283, 0.8841181993484497, -0.0781979188323021, 0.5321782827377319, 0.7261559963226318, 0.5253270268440247, -0.3253432810306549, 0.15763229131698608, -0.32855522632598877, -0.7844130992889404, 0.4077873229980469, -0.10467017441987991, -0.17080266773700714, -0.2540630102157593, 0.8218247294425964, 0.22353611886501312, 0.1385038048028946, -0.4343492388725281, -0.03632531687617302, 0.012062178924679756, 0.0824340209364891, 0.16784317791461945, -0.10996027290821075, 0.003428798634558916, 0.22742503881454468, 0.7081408500671387, -0.2702941596508026, 0.34788796305656433, 0.28458794951438904, -0.4549925923347473, -0.32376769185066223, 0.4075263738632202, 0.21450218558311462, 0.9549965858459473, -0.40455392003059387, 0.017107443884015083, 0.51255202293396, -0.5197718143463135, 0.39967694878578186, -0.02298223227262497, -0.14547407627105713, -0.24825800955295563, 0.16611185669898987, 0.43960845470428467, -0.07466715574264526, -0.7873702645301819, 0.5209270119667053, -0.1545247733592987, -0.10808901488780975, -0.45707887411117554, 0.23110586404800415, -0.4131518602371216, 0.20210199058055878, 0.6803618669509888, -0.08691283315420151, 0.12777072191238403, -0.44796761870384216, 0.17817078530788422, 0.42535102367401123, -0.38058072328567505, -0.031365323811769485, 0.7541044354438782, 0.11452948302030563, -0.2718311548233032, 0.6318650245666504, -0.17161624133586884, -0.1068497970700264, 0.43572670221328735, 0.26508790254592896, 0.6579387187957764, -0.009855782613158226, -0.018089551478624344, 0.32584983110427856, 0.22770093381404877, 0.00701666297391057, 0.7143033146858215, -0.24728639423847198, -0.5318225026130676, -0.6277115941047668, -0.6382521390914917, -0.6844973564147949, 0.11716805398464203, -0.8653165102005005, 0.14347895979881287, -0.48374825716018677, -0.3827981650829315, -0.26079753041267395, 0.21947021782398224, -0.6683880686759949, 0.31438860297203064, -0.374996155500412, 1.323302149772644, -0.4699685275554657, 0.3097478747367859, 0.6687398552894592, -0.236135795712471, -0.4431430399417877, -0.027772650122642517, -0.1692780703306198, -1.1089738607406616, 0.432158499956131, -0.11106912791728973, -0.3886513113975525, 0.1873985081911087, -0.5509440302848816, -0.789089560508728, 1.3316758871078491, 0.3696633577346802, 0.08705258369445801, -0.2976769506931305, -0.08757749944925308, 0.4040212631225586, 0.10443859547376633, 0.2142844945192337, 0.3713751435279846, 0.26028841733932495, -0.08998490124940872, -0.8262485861778259, 0.09809345752000809, -0.3023449182510376, -0.21112194657325745, 0.44229191541671753, -0.7336556315422058, 0.46343815326690674, -0.15882913768291473, -0.3930693566799164, 0.423794686794281, 0.6980044841766357, 0.47322526574134827, 0.4116179049015045, 0.6937625408172607, 0.4305155277252197, 0.598008394241333, -0.12687508761882782, 0.7613518238067627, -0.3093160390853882, 0.02620411105453968, 0.98030686378479, -0.15750589966773987, 0.9589490294456482, 0.5667513608932495, -0.15525633096694946, 0.31458476185798645, 0.7192861437797546, 0.3327016532421112, 0.5355989336967468, 0.22470642626285553, -0.5396111607551575, -0.33319586515426636, -0.06971289962530136, -0.4465523362159729, 0.44046398997306824, 0.22937346994876862, 0.03431502357125282, -0.3442307412624359, 0.1588997095823288, -0.5247978568077087, 0.16080723702907562, -0.37743058800697327, 0.6515780091285706, 0.06324716657400131, -0.9650871157646179, 0.8334838151931763, -0.10952703654766083, 0.38274452090263367, -0.589937150478363, -0.19814209640026093, -0.33336344361305237, -0.11912740021944046, -0.014159109443426132, -0.6998280882835388, -0.004356355406343937, 0.048303283751010895, -0.07051513344049454, 0.018593333661556244, 0.6422260999679565, 0.05524200573563576, -0.21891632676124573, 0.1736619770526886, 1.0365668535232544, 0.11884766817092896, -0.056750986725091934, -0.5846646428108215, -0.30779707431793213, -0.186993807554245, -0.22850501537322998, 0.11051218956708908, 0.5005747079849243, -0.21897827088832855, 0.8476665019989014, 0.39111319184303284, 0.18289715051651, 0.35295748710632324, -0.05361759290099144, 0.4824489653110504, -0.6171078085899353, -0.32146474719047546, -0.42931464314460754, 0.21858122944831848, 0.3460216522216797, -0.39369332790374756, 0.683607280254364, 0.5968888998031616, 0.6635271906852722, 0.28786900639533997, 0.5274117588996887, -0.012934505008161068, 0.976538360118866, -0.8024667501449585, 0.4687568247318268, -0.8954361081123352, 0.39014846086502075, 0.04353771358728409, -1.0465480089187622, -0.04793122410774231, 0.03480935096740723, -0.3924742043018341, 0.28667309880256653, 0.5199803709983826, 0.6739887595176697, -0.19033117592334747, 0.058276787400245667, 0.10435982048511505, -0.20169787108898163, 0.23137691617012024, 0.7379438281059265, 1.2231526374816895, -0.7271241545677185, 0.8015763163566589, -0.05891481786966324, -0.11916597932577133, -0.051664166152477264, -0.9344572424888611, -0.609968900680542, -0.5466395020484924, -0.23033511638641357, -0.459919810295105, 0.4492439031600952, 0.8863909840583801, 0.40697476267814636, -0.4410383105278015, 0.01245729997754097, 0.20712634921073914, -0.03025401569902897, -0.28849664330482483, -0.16534683108329773, 0.5611556768417358, -0.23054049909114838, -0.4417155981063843, 0.5956214070320129, -0.059718839824199677, 0.15906627476215363, 0.02211477980017662, 0.08626522868871689, -0.3053652346134186, -0.0071989125572144985, 0.5844765901565552, 0.575780987739563, -0.6230127215385437, -0.6273419857025146, 0.2486158311367035, 0.13097797334194183, 0.245487779378891, 0.5715809464454651, -1.2597594261169434, 0.5117066502571106, 0.36602815985679626, 0.8510119915008545, 0.5469526648521423, 0.39714980125427246, 0.3080902695655823, -0.961070716381073, -0.22900958359241486, 0.5162950754165649, 0.1492667943239212, 0.14461681246757507, -0.16011083126068115, 0.5725868344306946, 0.11484033614397049, -0.6869208812713623, -0.8822178840637207, 0.08116866648197174, -0.8795275092124939, -0.10957727581262589, 1.0448312759399414, 0.004441425669938326, -0.2519542872905731, -0.06192013993859291, 0.0016780068399384618, 0.24076710641384125, -0.20652735233306885, 0.735192060470581, 0.571145236492157, -0.25708115100860596, -0.21874970197677612, -0.5012988448143005, 0.32515639066696167, 0.44993913173675537, -0.7225908041000366, -0.14337310194969177, 0.36229535937309265, 0.3362080752849579, -0.001373527804389596, 0.6910426616668701, -0.1785261332988739, 0.7377119660377502, -0.14070160686969757, -0.23943521082401276, -0.16278214752674103, -0.08496614545583725, -0.14281168580055237, 0.16584639251232147, 0.4790302813053131, -0.23176681995391846 ]
http://arxiv.org/abs/2402.16444v1
http://arxiv.org/pdf/2402.16444v1
ShieldLM: Empowering LLMs as Aligned, Customizable and Explainable Safety Detectors
2024-02-26T09:43:02
2024-02-26T09:43:02
Zhexin Zhang, Yida Lu, Jingyuan Ma, Di Zhang, Rui Li, Pei Ke, Hao Sun, Lei Sha, Zhifang Sui, Hongning Wang, Minlie Huang
cs.CL
cs.CL
The safety of Large Language Models (LLMs) has gained increasing attention in recent years, but there still lacks a comprehensive approach for detecting safety issues within LLMs' responses in an aligned, customizable and explainable manner. In this paper, we propose ShieldLM, an LLM-based safety detector, which aligns with general human safety standards, supports customizable detection rules, and provides explanations for its decisions. To train ShieldLM, we compile a large bilingual dataset comprising 14,387 query-response pairs, annotating the safety of responses based on various safety standards. Through extensive experiments, we demonstrate that ShieldLM surpasses strong baselines across four test sets, showcasing remarkable customizability and explainability. Besides performing well on standard detection datasets, ShieldLM has also been shown to be effective in real-world situations as a safety evaluator for advanced LLMs. We release ShieldLM at \url{https://github.com/thu-coai/ShieldLM} to support accurate and explainable safety detection under various safety standards, contributing to the ongoing efforts to enhance the safety of LLMs.
[ -0.44863182306289673, -0.6490423083305359, 0.47837626934051514, 0.025321045890450478, -0.23460695147514343, 0.4425123929977417, 0.13657626509666443, -0.4392140209674835, 0.04245913401246071, 0.5729420185089111, -0.4722537398338318, -0.7983697056770325, -0.5401204228401184, -0.005098357796669006, -0.40837225317955017, 0.9433788061141968, -0.08845584094524384, -0.1391221135854721, 0.02025877684354782, -0.13223174214363098, -0.3375963568687439, -0.6930877566337585, -0.7778108716011047, -0.5213629603385925, 0.6621993184089661, 0.07229620218276978, 0.5761253833770752, 0.8078480958938599, 0.4253239333629608, 0.2986936569213867, -0.041516635566949844, 0.35829609632492065, -0.2224399298429489, 0.3350273072719574, -0.3086671531200409, -0.1614513397216797, -0.7399014234542847, -0.16708427667617798, 0.3817560374736786, 0.5209452509880066, -0.1486084908246994, 0.029312970116734505, 0.19848191738128662, 0.25254544615745544, -0.6742120385169983, -0.014842081815004349, -0.5404689908027649, -0.02255275286734104, -0.15623369812965393, -0.2347142994403839, -0.5259079933166504, -0.18294738233089447, -0.3151535093784332, -0.2736421227455139, -0.08437447249889374, 0.634684145450592, 0.5136455297470093, 0.2686978578567505, -0.7650048136711121, -0.19352306425571442, -0.22888273000717163, 0.8261508345603943, -0.4185362458229065, 0.42731913924217224, 0.3830482065677643, 0.6832597851753235, -0.35731106996536255, -0.5410890579223633, -0.3517029881477356, 0.00014124542940407991, -0.18776194751262665, 0.10361593216657639, -0.27872857451438904, 0.12710995972156525, 0.23403340578079224, -0.23744329810142517, -0.7919443249702454, 0.5370453596115112, 0.12706901133060455, -0.5694860219955444, 0.9308199882507324, 0.5297523140907288, 0.477924644947052, 0.20465442538261414, -0.6618290543556213, 0.06945221871137619, -0.9890243411064148, 0.04040131717920303, 0.4754736125469208, 0.18327660858631134, -0.3727760314941406, 0.19919537007808685, -0.2975655496120453, 0.8949525952339172, -0.15366622805595398, -0.1634325236082077, 0.1784985065460205, 0.10236473381519318, -0.22859270870685577, 0.34162992238998413, 0.9389907717704773, 0.4877590537071228, 0.08556295186281204, -0.16041462123394012, -0.4049055278301239, 0.08266653120517731, -0.01298395823687315, -0.7142574191093445, -0.013650101609528065, 0.2299318015575409, -0.310380756855011, -0.5604435801506042, -0.015596547164022923, -0.6159989237785339, -0.7872955799102783, -0.1489948332309723, 0.202951118350029, 0.028923844918608665, -0.27701279520988464, 0.4725976586341858, 0.12396036833524704, 0.4897083044052124, 0.1838792860507965, -0.8791986107826233, 0.16468793153762817, 0.9369866251945496, 0.6202850937843323, -0.34725484251976013, -0.020602446049451828, -1.0402026176452637, 0.2515600919723511, -0.31051141023635864, 0.9421249628067017, -0.37022578716278076, -0.30470505356788635, 0.27545279264450073, 0.21809783577919006, -0.10452549904584885, -0.20312872529029846, 0.7557657361030579, -0.6038275957107544, 0.0877792090177536, -0.11347918957471848, -0.4627482295036316, 0.03661196678876877, 0.4213273227214813, -0.390485942363739, 0.7058265209197998, -0.23072104156017303, -1.0118578672409058, 0.18349917232990265, -0.4954015016555786, -0.7063485980033875, 0.09097756445407867, -0.18967710435390472, -0.575657308101654, -0.26755619049072266, 0.22146663069725037, 0.45253682136535645, -0.1601368486881256, 0.4449039399623871, -0.6038421988487244, -0.35371753573417664, 0.5197921991348267, -0.3793063759803772, 1.096758484840393, 0.4075906276702881, -0.144780233502388, 0.5070297122001648, -0.5016270279884338, 0.011072794906795025, -0.07531020790338516, -0.388201504945755, -0.15640370547771454, 0.13034629821777344, 0.028126278892159462, 0.26567620038986206, 0.38140231370925903, -0.7688430547714233, -0.48768940567970276, -0.1974332332611084, 0.2373342663049698, 0.838978111743927, -0.19857896864414215, 0.2540208697319031, -0.44086953997612, 0.6478528380393982, -0.3281382620334625, 0.5107587575912476, -0.08146289736032486, -0.278453528881073, -0.5269856452941895, -0.5911700129508972, -0.1598903387784958, 0.6828281283378601, -0.5564409494400024, 0.7955158352851868, 0.10342700779438019, -0.15882517397403717, -0.5017553567886353, 0.2603367865085602, 0.7308986783027649, 0.9139823317527771, 0.28871235251426697, 0.16105374693870544, -0.9288812875747681, -0.827261745929718, -0.41727373003959656, -0.11237789690494537, -0.20070014894008636, -0.07133376598358154, 0.3694964647293091, -0.30351853370666504, 1.1445375680923462, -0.35323336720466614, 0.09265939891338348, -0.4177481532096863, -0.3029967248439789, 0.01683642715215683, 0.32697832584381104, 0.40277567505836487, -0.691931962966919, -0.45872485637664795, 0.12912513315677643, -1.0999559164047241, -0.603802502155304, 0.35144272446632385, -0.24713541567325592, 0.3422470986843109, 0.7205988168716431, -0.25284773111343384, 0.14392191171646118, 0.6574333906173706, -0.5976187586784363, 0.554567813873291, -0.14966319501399994, -0.2662849426269531, -1.1429756879806519, -0.004762445576488972, -0.16284602880477905, -0.6302887201309204, -0.8767814040184021, 0.14158661663532257, 0.393962562084198, 0.1354943960905075, -0.9083693623542786, 0.959879994392395, -0.24124695360660553, -0.09137921780347824, -0.5006632804870605, 0.30694061517715454, 0.0676058977842331, -0.026197189465165138, 0.2087312936782837, 0.35801491141319275, 0.6056930422782898, -0.5106775760650635, 0.41870999336242676, 0.12895727157592773, -0.41648897528648376, 0.7787665128707886, -0.6819721460342407, 0.07047327607870102, -0.09397977590560913, 0.3266970217227936, -0.6924335956573486, -0.5417109131813049, 0.2121170163154602, -0.16690869629383087, 0.19703197479248047, -0.2298847734928131, -0.29060763120651245, -0.3580979108810425, -0.5106979608535767, -0.07057170569896698, 0.7529135346412659, -0.928822934627533, 0.544445276260376, 0.684362530708313, 0.12096444517374039, -0.9026753306388855, -0.5708367824554443, -0.0245648305863142, -0.6183890700340271, -0.6623788475990295, 0.051921334117650986, -0.26523733139038086, -0.6070255041122437, -0.17276638746261597, -0.21232718229293823, 0.09876091778278351, 0.5194786190986633, 0.4836358428001404, 0.6743728518486023, 0.048666320741176605, 0.27561187744140625, 0.056480538100004196, -0.47410666942596436, 0.19596724212169647, 0.20902153849601746, 0.567457914352417, -0.3252493441104889, -0.5125511288642883, -0.24192602932453156, 0.18117313086986542, 0.37062743306159973, -0.2020288109779358, 0.5336288809776306, 0.6456812024116516, -0.3833378553390503, -0.17058391869068146, -0.4459976851940155, -0.15593409538269043, -0.6056053638458252, 0.14622093737125397, -0.45245200395584106, -1.1506239175796509, 0.5402157306671143, 0.08092284202575684, 0.056287191808223724, 0.16679412126541138, 0.5606108903884888, -0.4605112373828888, 1.377554178237915, 0.38795822858810425, -0.2257853001356125, 0.22840021550655365, 0.451808363199234, 0.2585524022579193, -0.9939551949501038, -0.4686581790447235, -0.5139160752296448, -0.07514729350805283, -0.5163446068763733, -0.11802911758422852, 0.4013242721557617, 0.0409955270588398, -0.7423903346061707, 0.35144439339637756, -0.35187602043151855, 0.5546388030052185, 0.1678353250026703, 0.16178801655769348, 0.4963514506816864, -0.25929176807403564, 0.003857733216136694, 0.1836383044719696, -0.5419549345970154, -0.7046416997909546, 0.8123634457588196, 0.5293819308280945, 1.3790146112442017, 0.2657880187034607, 0.9819827079772949, 0.18054647743701935, 0.5214679837226868, -0.6213918328285217, 0.6896529793739319, -0.05869831144809723, -0.6226143836975098, -0.06306257843971252, -0.2848333418369293, -1.1749159097671509, 0.39038217067718506, -0.4182768762111664, -0.7050080895423889, -0.1824241280555725, 0.2578427791595459, -0.1233484148979187, 0.13797084987163544, -0.554309070110321, 0.7467721104621887, -0.6810939311981201, -0.3228338658809662, 0.08397433161735535, -0.6029403209686279, 0.6360275149345398, -0.09741954505443573, 0.46927374601364136, -0.6267874836921692, -0.25841814279556274, 0.5928323268890381, -0.3401299715042114, 1.1954213380813599, -0.018931161612272263, -0.022231072187423706, 0.11680971086025238, 0.09303253889083862, 0.5551583170890808, -0.14513900876045227, -0.08920459449291229, -0.11220977455377579, -0.2868930697441101, -0.290615975856781, -0.3980501890182495, 0.9254494905471802, -0.3106439411640167, -0.8625108599662781, -0.4230656623840332, -0.8786544799804688, -0.21811698377132416, 0.1223892942070961, 0.10936591029167175, 0.23154932260513306, 0.02280081808567047, 0.07199554145336151, 0.9569040536880493, -0.36332735419273376, 0.5962380170822144, 0.9263657331466675, -0.5534847974777222, -0.07191327959299088, 0.7656576633453369, -0.31589287519454956, 0.09080728888511658, 0.43153607845306396, 0.31700706481933594, -0.7489941716194153, -0.5260072350502014, -0.22272782027721405, 0.013722782954573631, -0.7575168013572693, -0.34237605333328247, -0.6429224610328674, -0.30112987756729126, -0.24714772403240204, -0.536234438419342, 0.0352897047996521, -0.15571795403957367, 0.08414371311664581, -0.4471207559108734, 0.4031273126602173, 0.5300969481468201, -0.06396396458148956, 0.16008919477462769, -0.5729597210884094, 0.06317487359046936, 0.4173276424407959, 0.2531992495059967, -0.5689719915390015, -0.47554099559783936, 0.041646234691143036, -0.3425430655479431, 0.11297018080949783, -0.7319478988647461, 0.39883193373680115, -0.22352389991283417, 0.9816715717315674, 0.5130487084388733, 0.6642223000526428, 0.14431409537792206, -0.2695716917514801, 0.39739224314689636, 0.3791605234146118, -0.96877121925354, 0.4846388101577759, -0.341814786195755, 0.0593750961124897, 0.07011443376541138, 0.3068908452987671, -0.390002578496933, -0.5249615907669067, -0.2534531056880951, -0.597305953502655, 0.22254303097724915, -0.16857171058654785, 0.05780938267707825, -0.12100747227668762, -0.2367919534444809, -0.006536493077874184, -0.08024799078702927, -0.58842533826828, 0.14259587228298187, 0.11196025460958481, -0.5507587790489197, 0.014160210266709328, -0.28364863991737366, -0.6092110276222229, 0.21401789784431458, 0.4941299855709076, -0.24377353489398956, -0.10817942768335342, -0.20810700953006744, -0.414271742105484, 0.2944585084915161, 0.48352083563804626, 0.6345502138137817, 0.40280020236968994, -0.2022271454334259, 0.8576224446296692, 0.4269874095916748, -0.24598869681358337, 0.21615910530090332, 0.17962652444839478, -0.10900003463029861, -0.21150995790958405, 0.7246646285057068, 0.6408413648605347, 0.22900818288326263, -0.914267897605896, 0.39895036816596985, 0.0860704556107521, -0.1095309779047966, -0.12827807664871216, 0.4036766588687897, 0.1800713986158371, 0.3298737108707428, 0.09448742121458054, -0.38700446486473083, 0.02110154740512371, -0.35597583651542664, 0.2811511158943176, 0.7919890880584717, -0.4491889774799347, -0.07249514013528824, 0.9599870443344116, 0.4225427508354187, -0.4277074337005615, -0.026407437399029732, -0.26501521468162537, -0.6465194821357727, 0.5630735754966736, 0.7735992670059204, 0.9157034754753113, -0.49979743361473083, 0.2215084433555603, 0.1619214564561844, 0.4629114270210266, 0.05749383196234703, 0.17587058246135712, 0.1320578008890152, -0.9353147745132446, -0.33493733406066895, -0.6538868546485901, -0.5398054122924805, -0.07663208991289139, -0.56182861328125, 0.10836134105920792, -0.5504305958747864, -0.029420960694551468, -0.18699166178703308, -0.2785540819168091, -0.4336817264556885, 0.011456530541181564, 0.18288791179656982, 1.0448143482208252, -1.0601646900177002, 0.8806565403938293, 0.43863460421562195, -0.1027257964015007, -0.5444148182868958, -0.3000388741493225, 0.3497380316257477, -1.2099127769470215, 0.6370034217834473, 0.2899807095527649, -0.5328593254089355, -0.32500961422920227, -0.39485183358192444, -0.4649891257286072, 1.222813606262207, 0.6035869717597961, -0.7383198142051697, 0.3670922517776489, 0.1296231597661972, 0.44653797149658203, -0.5824329853057861, 0.003353503765538335, 0.7185351252555847, 0.4953489303588867, -0.1352558135986328, -0.8265626430511475, 0.39915797114372253, -0.048961058259010315, -0.06687109172344208, 0.20263075828552246, -0.40775033831596375, 0.48904237151145935, -0.11304455995559692, -0.16704274713993073, -0.13210679590702057, 0.11585354059934616, 0.5978240370750427, 0.7967965602874756, 0.48672255873680115, 0.41029462218284607, 0.9089019298553467, -0.25225192308425903, 1.235919713973999, -0.18324056267738342, 0.15666063129901886, 1.3760721683502197, -0.5153801441192627, 0.9300300478935242, 0.3482845425605774, 0.06479893624782562, 0.5416908860206604, 0.6001360416412354, 0.3653176426887512, 0.47319889068603516, 0.13430076837539673, -0.9177418947219849, -0.6651912927627563, -0.2610515058040619, -0.15451426804065704, 0.2185359001159668, 0.4019356071949005, -0.4240185618400574, -0.3229046165943146, 0.32784321904182434, 0.32346242666244507, 0.09391990303993225, -0.49814456701278687, 0.43261611461639404, 0.14077922701835632, -0.46332231163978577, 0.44807881116867065, -0.11732910573482513, 0.6773381233215332, -0.5196887850761414, 0.25702276825904846, -0.40834861993789673, 0.30334657430648804, -0.4762096107006073, -1.2463189363479614, 0.34260663390159607, 0.23604294657707214, 0.23423823714256287, -0.40738800168037415, 1.3179872035980225, -0.47645461559295654, -0.1758064180612564, 0.5272735357284546, 0.3329211473464966, 0.17004545032978058, 0.22515913844108582, -0.4942728579044342, 0.4701758623123169, -0.1552821695804596, -0.04898352548480034, 0.6047717928886414, -0.15852095186710358, -0.38370320200920105, 1.1129230260849, 0.632260799407959, -0.4785929024219513, 0.22957584261894226, -0.05411186441779137, 0.7495495080947876, -0.3503011465072632, -0.38757917284965515, -0.8961891531944275, 0.7744002938270569, -0.32072317600250244, 0.23421849310398102, 0.7898471355438232, 0.5419228076934814, 0.4597221314907074, -0.08111073821783066, 1.015418291091919, 0.042615633457899094, 0.4505002796649933, -0.664396345615387, 0.8181336522102356, -0.05597466602921486, 0.47193536162376404, 0.2664683163166046, -0.5323202610015869, -0.5165887475013733, 0.63190758228302, -0.4279192090034485, -0.29591530561447144, 0.5514386296272278, 1.0482240915298462, 0.04560145363211632, -0.4407815933227539, 0.574061393737793, -0.0428607314825058, 0.6621823310852051, 0.6681789755821228, 0.908370852470398, 0.009758823551237583, 0.7873877286911011, 0.0009939271258190274, -0.27939966320991516, -0.40194734930992126, -1.1693445444107056, -1.3659930229187012, -0.2306242287158966, -0.4007354974746704, -0.41971299052238464, 0.25651663541793823, 0.6980758905410767, 0.714156985282898, -0.6846960186958313, -0.10955756902694702, 0.01982494257390499, 0.578782320022583, 0.05794937536120415, -0.2050016224384308, 0.27708548307418823, -0.45803332328796387, -0.5704118013381958, 0.8058885931968689, 0.3204444944858551, 0.06166881322860718, -0.14088252186775208, -0.5859174728393555, 0.24241051077842712, 0.029042918235063553, 0.7614389657974243, 0.6087085008621216, -0.6409426927566528, -0.6607786417007446, -0.16837313771247864, -0.300544410943985, -0.3622960150241852, 0.39591652154922485, -0.5012882351875305, 0.6388472318649292, 0.5800073146820068, 0.6883546710014343, 0.4817836582660675, -0.2728462219238281, 0.4882538616657257, -0.7643582820892334, 0.16355687379837036, -0.0419558510184288, 0.6667348742485046, 0.3578440546989441, -0.2016141265630722, 0.7061188220977783, -0.07531710714101791, -0.5357319712638855, -0.9298241138458252, 0.6186389327049255, -1.1128904819488525, -0.1319427639245987, 1.0502375364303589, -0.3373059928417206, -0.199105903506279, -0.5861819982528687, -0.1369680017232895, 0.12503933906555176, -0.16742616891860962, 0.5343531966209412, 0.33069875836372375, -0.3034578263759613, -0.29540786147117615, -0.5013017654418945, 0.5033547878265381, 0.10111229121685028, -1.2433433532714844, 0.015128744766116142, 0.40006789565086365, 0.7090743780136108, -0.1384091079235077, 0.4853563904762268, -0.0928858295083046, 0.2714855968952179, -0.24033519625663757, 0.028915049508213997, -0.415566086769104, -0.01283124927431345, -0.39936184883117676, -0.03122209943830967, 0.10710068047046661, -0.5265710949897766 ]
http://arxiv.org/abs/2402.16438v2
http://arxiv.org/pdf/2402.16438v2
Language-Specific Neurons: The Key to Multilingual Capabilities in Large Language Models
2024-02-26T09:36:05
2024-06-06T08:14:46
Tianyi Tang, Wenyang Luo, Haoyang Huang, Dongdong Zhang, Xiaolei Wang, Xin Zhao, Furu Wei, Ji-Rong Wen
cs.CL
cs.CL
Large language models (LLMs) demonstrate remarkable multilingual capabilities without being pre-trained on specially curated multilingual parallel corpora. It remains a challenging problem to explain the underlying mechanisms by which LLMs process multilingual texts. In this paper, we delve into the composition of Transformer architectures in LLMs to pinpoint language-specific regions. Specially, we propose a novel detection method, language activation probability entropy (LAPE), to identify language-specific neurons within LLMs. Based on LAPE, we conduct comprehensive experiments on several representative LLMs, such as LLaMA-2, BLOOM, and Mistral. Our findings indicate that LLMs' proficiency in processing a particular language is predominantly due to a small subset of neurons, primarily situated in the models' top and bottom layers. Furthermore, we showcase the feasibility to "steer" the output language of LLMs by selectively activating or deactivating language-specific neurons. Our research provides important evidence to the understanding and exploration of the multilingual capabilities of LLMs.
[ -0.40042388439178467, -0.5576461553573608, 0.5234034657478333, 0.2461903989315033, -0.014303188771009445, 0.2438584417104721, -0.5796833634376526, -0.20605003833770752, 0.22071069478988647, 0.18895810842514038, -0.3605227768421173, -0.47637224197387695, -0.5261004567146301, 0.09955576807260513, -0.4029594361782074, 0.6581708788871765, 0.05493259057402611, 0.03730395436286926, -0.22913047671318054, -0.04822072014212608, -0.1614687144756317, -0.5287267565727234, -0.5823290348052979, -0.5951974987983704, 0.7949496507644653, 0.12026958167552948, 0.22462445497512817, 0.308019757270813, 0.24067391455173492, 0.3815702795982361, -0.37919092178344727, -0.12958869338035583, -0.3030437231063843, 0.09069009870290756, -0.024228304624557495, -0.8565325140953064, -0.5562319755554199, -0.49342769384384155, 0.8611311912536621, 0.5039602518081665, -0.16003645956516266, 0.07437268644571304, 0.12591469287872314, 0.296946257352829, -0.5694292187690735, -0.012266058474779129, -1.119493007659912, 0.18596670031547546, -0.4102112948894501, -0.2734290659427643, -0.5690670609474182, 0.26652586460113525, -0.26848721504211426, -0.20326197147369385, 0.30525749921798706, -0.27934592962265015, 0.46318045258522034, 0.03935849666595459, -0.26729023456573486, 0.10750274360179901, -0.5308333039283752, 0.7331172823905945, -0.6163368225097656, 0.4300745129585266, 0.27248138189315796, -0.09296303242444992, 0.07287074625492096, -0.392281711101532, -0.5864642262458801, -0.1725199967622757, -0.07076948881149292, -0.10136867314577103, -0.24692946672439575, -0.1341669261455536, 0.143206387758255, 0.17911845445632935, -0.7340838313102722, 0.48410120606422424, -0.24254897236824036, -0.3247262239456177, 0.30691489577293396, -0.014055109582841396, 0.5842949151992798, 0.11827434599399567, -0.12354331463575363, -0.006315654143691063, -0.7127718329429626, 0.07377500832080841, 0.36878716945648193, 0.30873483419418335, -0.24901221692562103, 0.4781295955181122, 0.2044442892074585, 0.5756034255027771, -0.28237923979759216, -0.2680898606777191, 0.4267280697822571, 0.05330798402428627, -0.14018620550632477, 0.1472340226173401, 0.9941772818565369, -0.396698534488678, 0.46172353625297546, -0.3748895525932312, -0.42440178990364075, -0.23302605748176575, 0.19333656132221222, -0.4520064890384674, 0.023237120360136032, 0.31874972581863403, -0.21073533594608307, -0.333211213350296, -0.48243850469589233, -0.47111374139785767, -0.40078890323638916, 0.00946072954684496, 0.14714276790618896, -0.318723201751709, -0.7277829647064209, -0.08475480228662491, -0.08433879166841507, 0.19621215760707855, -0.27096182107925415, -1.2405332326889038, 0.02393040992319584, 0.5906935930252075, 0.7909446954727173, -0.48885729908943176, -0.8134706020355225, -0.11799964308738708, 0.23530709743499756, -0.4704959988594055, 0.8429884910583496, -0.6920866966247559, 0.0576857328414917, 0.21680516004562378, 0.1558677703142166, -0.20896995067596436, -0.5805178880691528, 0.2773965895175934, -0.8860288858413696, -0.28876370191574097, -0.23019756376743317, -0.12374139577150345, -0.03271375969052315, 0.30515754222869873, -0.7317519783973694, 0.7646923661231995, -0.14361417293548584, -0.904119610786438, 0.1975305676460266, -0.3724896311759949, -0.6426569223403931, 0.10836154222488403, -0.49009254574775696, -0.12230762094259262, 0.4095465838909149, 0.16405676305294037, 0.543518602848053, -0.3298659026622772, 0.25469809770584106, -0.08408071100711823, -0.1259390115737915, 0.4488549828529358, -0.6615535020828247, 0.6286676526069641, 0.016319235786795616, -0.1854744404554367, 0.4192163050174713, -0.7499920725822449, -0.03786826878786087, 0.37603068351745605, -0.4273155629634857, -0.2191036343574524, -0.004593311809003353, 0.061371028423309326, 0.1383572220802307, 0.4643678665161133, -0.37350350618362427, 0.16299405694007874, -0.1915120780467987, 0.5457683205604553, 0.6870334148406982, -0.28171783685684204, 0.6931309103965759, 0.022858532145619392, 0.6360475420951843, 0.22208459675312042, -0.22439250349998474, -0.23852898180484772, -0.5661903619766235, -0.5858249068260193, -0.5393463373184204, 0.18784911930561066, 0.6239432096481323, -0.661793053150177, 0.4515398442745209, -0.32764410972595215, -0.40633425116539, -0.40989235043525696, 0.34216031432151794, 0.15691706538200378, -0.0005938098765909672, 0.1074824184179306, -0.22022849321365356, -0.21740373969078064, -1.019894003868103, -0.16935952007770538, -0.017620069906115532, -0.08494433015584946, -0.033003393560647964, 0.2706984281539917, -0.03673448786139488, 0.5689242482185364, -0.16870929300785065, -0.11741764843463898, -0.5454326868057251, -0.14610256254673004, 0.3488289415836334, 0.24658070504665375, 0.3436129093170166, -0.8141762614250183, -0.3512270152568817, 0.38347887992858887, -0.851141631603241, -0.058413565158843994, -0.3007851839065552, 0.11146107316017151, -0.05330267548561096, 0.5826718807220459, -0.6469640731811523, 0.16524122655391693, 0.7041832804679871, 0.040262289345264435, 0.4033423960208893, -0.48494598269462585, -0.13188700377941132, -0.7777762413024902, 0.09633469581604004, -0.0154524901881814, 0.14248408377170563, -0.8794463276863098, -0.023910442367196083, 0.30053916573524475, -0.023041045293211937, -0.3350231945514679, 0.5283885598182678, -0.5044374465942383, -0.2702188789844513, -0.37580960988998413, 0.12064972519874573, -0.2449440062046051, 0.7026737928390503, 0.3222254812717438, 0.6476395726203918, 0.9047424793243408, -0.5865931510925293, 0.24054054915905, -0.05062799155712128, -0.7866811752319336, 0.05693364888429642, -0.5627539157867432, 0.003397581400349736, -0.2616557776927948, -0.08323854953050613, -1.076552152633667, -0.11637411266565323, -0.19400179386138916, -0.21112988889217377, 0.6037153601646423, -0.17047837376594543, -0.3926808834075928, -0.20958466827869415, 0.08767495304346085, 0.6822212338447571, 0.27192312479019165, -0.36680084466934204, 0.663413405418396, 0.5763208866119385, -0.34215670824050903, -0.6528658866882324, -0.9324925541877747, 0.2004157155752182, -0.20817410945892334, -0.6111289262771606, 0.3969991207122803, 0.12217219918966293, -0.10352621227502823, -0.2788950800895691, 0.11347461491823196, -0.04412142559885979, 0.15639610588550568, 0.12253721803426743, -0.004094617906957865, -0.3948282301425934, 0.2760189473628998, 0.09276258945465088, -0.11281272023916245, -0.052637092769145966, -0.027757953852415085, 1.094621181488037, -0.06875377148389816, -0.64093416929245, -0.36120134592056274, 0.328931987285614, 0.8983981013298035, -0.6626230478286743, 0.8399466276168823, 0.8296599388122559, -0.35220256447792053, -0.3085821568965912, -0.4908587336540222, -0.2928038239479065, -0.4857836365699768, 0.8191341161727905, -0.7238292694091797, -0.7657536268234253, 0.9491322040557861, -0.03682095184922218, -0.25299686193466187, 0.42061567306518555, 0.972854733467102, 0.3859071731567383, 0.8024216294288635, 0.6719598174095154, -0.4221351444721222, 0.5231465101242065, -0.16687342524528503, 0.5766583681106567, -1.0261166095733643, -0.38064172863960266, -0.46589598059654236, -0.3153470456600189, -0.556022047996521, -0.36431780457496643, 0.29404357075691223, 0.13359224796295166, -0.1632850021123886, 0.28912198543548584, -0.4790911376476288, 0.6002346873283386, 0.3910551369190216, -0.29425907135009766, 0.17635346949100494, 0.4445827007293701, -0.5553235411643982, 0.1633821427822113, -0.8250933885574341, -0.4122409522533417, 0.7271906733512878, 0.5985274910926819, 0.6982888579368591, -0.00861115101724863, 0.4601556658744812, 0.06779395043849945, 0.0850057378411293, -0.7594212889671326, 0.5839092135429382, -0.06811165809631348, -0.6268163919448853, -0.32207125425338745, -0.3102433979511261, -0.928896427154541, 0.44107457995414734, -0.028665775433182716, -0.9819614291191101, 0.22517651319503784, -0.28198716044425964, -0.15576322376728058, 0.7414981722831726, -0.533690333366394, 0.8217518329620361, -0.44630467891693115, -0.2745063602924347, -0.2862941026687622, -0.15816451609134674, 0.1615990698337555, -0.3182975649833679, 0.30898550152778625, -0.2003759741783142, -0.10796806216239929, 0.5663023591041565, 0.36063361167907715, 0.9300633668899536, 0.0933324322104454, -0.6221604943275452, 0.23235836625099182, 0.28828179836273193, 0.4368678629398346, -0.11570315808057785, -0.1105804368853569, 0.4142617881298065, -0.36303332448005676, -0.1885768324136734, -0.17123763263225555, 0.9811488389968872, -0.775000810623169, -0.5950732827186584, -0.2260357141494751, -0.6499509215354919, -0.2432127594947815, 0.12103033810853958, 0.40445834398269653, 0.20947661995887756, -0.1960465908050537, -0.03488968685269356, 0.5586349368095398, -0.4580039381980896, 0.77837735414505, 0.42622074484825134, -0.33245787024497986, -0.1375264823436737, 1.0850666761398315, -0.03556857258081436, 0.03259173780679703, 0.6115156412124634, 0.04238923639059067, -0.011644131503999233, -0.8042504191398621, -0.33876317739486694, 0.3178371489048004, -0.7526629567146301, -0.058492619544267654, -0.6427666544914246, -0.3799549341201782, -0.22002825140953064, -0.03529643639922142, -0.4225460886955261, -0.11299969255924225, -0.2578011751174927, -0.1063438132405281, -0.005365775898098946, 0.7696938514709473, -0.040155280381441116, 0.29934173822402954, -0.6833301186561584, 0.253581702709198, 0.425368070602417, 0.3871555030345917, 0.36494114995002747, -0.55931156873703, -0.19035901129245758, -0.036019813269376755, -0.02638893388211727, -0.7827402353286743, 0.45085370540618896, 0.2627256214618683, 0.8504517674446106, 0.5477521419525146, -0.503327488899231, 0.22434046864509583, -0.718546986579895, 0.8278677463531494, 0.3433040976524353, -0.8607829213142395, 0.2689431607723236, -0.23570400476455688, 0.4123727083206177, -0.04544191062450409, 0.4573967456817627, -0.5165648460388184, -0.4680896997451782, -0.30687668919563293, -0.8444095849990845, 0.7371493577957153, -0.04404601827263832, 0.4228876829147339, -0.19974854588508606, 0.21758054196834564, -0.07019856572151184, 0.06824794411659241, -0.9365589618682861, -0.1393468976020813, 0.2716682553291321, 0.032246481627225876, -0.12405317276716232, -0.4358985126018524, -0.169866144657135, -0.009976200759410858, 0.3935544490814209, -0.129991352558136, 0.37331366539001465, -0.07001489400863647, -0.16367127001285553, -0.06015440821647644, 0.48303189873695374, 0.771498441696167, 0.6982906460762024, 0.06426192075014114, 0.3783711791038513, 0.40027695894241333, -0.43662887811660767, 0.1406228393316269, -0.5060726404190063, 0.061816953122615814, -0.08351071923971176, 0.696711540222168, 0.9195876121520996, -0.13984128832817078, -0.47418197989463806, 0.4562765657901764, -0.00007695369276916608, 0.05460848659276962, -0.23979729413986206, 0.11168237030506134, 0.31977400183677673, 0.416533499956131, 0.4961038827896118, 0.21278955042362213, -0.22342824935913086, -0.4931371510028839, -0.007414672523736954, 0.58380126953125, -0.35582974553108215, -0.6122608780860901, 0.3633986711502075, -0.05829432234168053, -0.37890875339508057, 0.5128122568130493, -0.17633040249347687, -0.671796977519989, 0.7522284388542175, 0.9340349435806274, 0.957930326461792, -0.4535486102104187, 0.10232070833444595, 0.24095982313156128, 0.490813285112381, -0.0018460034625604749, 0.1542450338602066, 0.0814894512295723, -1.2235592603683472, -0.7133002281188965, -0.8502805233001709, 0.3063894212245941, 0.35313305258750916, -0.4957071542739868, 0.043081313371658325, -0.1490926444530487, -0.27907925844192505, 0.1294277310371399, -0.6862308382987976, -0.5763497948646545, -0.05736960470676422, 0.6620253324508667, 0.9227045774459839, -1.053520679473877, 1.224603533744812, 0.6412715911865234, -0.0031346145551651716, -0.4250352382659912, -0.10229551047086716, -0.23057885468006134, -1.1394151449203491, 0.9216166734695435, -0.14618593454360962, -0.19447104632854462, -0.1544445902109146, -0.3536613881587982, -0.5743628144264221, 0.7715067863464355, 0.5718112587928772, -0.7330207824707031, -0.018848109990358353, 0.3795641362667084, 0.4755786061286926, -0.4433259963989258, 0.3272664546966553, 0.5985909104347229, 0.34395962953567505, -0.03479093313217163, -0.8430015444755554, -0.09703172743320465, -0.2738420069217682, 0.20041340589523315, 0.26269060373306274, -0.3960683345794678, 0.7282511591911316, -0.3012485206127167, 0.03907955810427666, -0.20122916996479034, 0.5867822170257568, 0.24010729789733887, -0.1880367249250412, 0.3561055064201355, 0.5049600005149841, 0.8812339305877686, 0.027053579688072205, 1.0784022808074951, -0.579846203327179, 0.11123154312372208, 0.8944383859634399, -0.25928300619125366, 1.1579924821853638, 0.5642097592353821, -0.1755206435918808, 0.4148224890232086, 0.34640738368034363, 0.09276740998029709, 0.6481748223304749, 0.4422720670700073, -0.5804761052131653, -0.49894979596138, -0.05026508867740631, -0.31795230507850647, 0.5418506264686584, 0.6151459813117981, -0.26648449897766113, 0.04510592296719551, 0.19910234212875366, -0.033950868993997574, -0.2751239538192749, -0.26947182416915894, 0.746471643447876, 0.17893090844154358, -0.584797203540802, 0.607112467288971, 0.09330468624830246, 0.7631844282150269, -0.7449619770050049, 0.2998981177806854, -0.2782638370990753, 0.17571189999580383, -0.3195124864578247, -0.8604908585548401, 0.09617133438587189, 0.07571721076965332, -0.2596997320652008, -0.1205323189496994, 0.7798354625701904, -0.6194113492965698, -0.4120529890060425, 0.6196627020835876, 0.5406441688537598, 0.09113410860300064, -0.31880903244018555, -0.3584824502468109, 0.3337087631225586, 0.11109926551580429, -0.44367310404777527, 0.5648325085639954, 0.6332536339759827, 0.09079881757497787, 0.6445261240005493, 0.4994562864303589, 0.29840412735939026, 0.14257767796516418, 0.452616423368454, 0.6647191047668457, -0.494119256734848, -0.18493081629276276, -1.0032274723052979, 0.4425484240055084, 0.16114771366119385, -0.10738255083560944, 0.6031611561775208, 0.4665999412536621, 0.7510024309158325, -0.25822290778160095, 0.804122805595398, 0.05918993055820465, -0.15127010643482208, -0.44654741883277893, 1.0048028230667114, -0.6716019511222839, 0.48423293232917786, 0.2187289297580719, -0.9685900807380676, -0.3913564383983612, 0.6150377988815308, -0.33452269434928894, 0.06432030349969864, 0.725088357925415, 0.9830750823020935, -0.1642121970653534, -0.2319430708885193, 0.6075381636619568, 0.284170925617218, 0.2205331176519394, 0.47117865085601807, 0.8246419429779053, -0.16968569159507751, 0.501282274723053, -0.0073064775206148624, -0.22342565655708313, 0.15178129076957703, -0.8113892674446106, -0.9674264788627625, -0.7561435103416443, -0.3954216241836548, -0.10660551488399506, -0.4473399817943573, 0.4339464604854584, 0.5548058748245239, -0.9712664484977722, -0.5664345026016235, -0.07978571206331253, 0.30326753854751587, -0.08664371073246002, -0.11807893216609955, 0.39136701822280884, -0.7070516347885132, -0.5168573260307312, 0.6560402512550354, 0.5357626080513, -0.1802377849817276, -0.3399800956249237, 0.0718316063284874, -0.22369888424873352, -0.09971674531698227, 0.5041519403457642, 0.18262194097042084, -0.7290611267089844, 0.1881689727306366, 0.03987763077020645, -0.21496939659118652, 0.18966707587242126, 0.9987700581550598, -0.4023492932319641, 0.26060840487480164, 0.8228394985198975, 0.5713357925415039, 0.4164394438266754, -0.8031350374221802, 0.49392449855804443, -0.9270867705345154, 0.44082772731781006, 0.17177903652191162, 0.6283120512962341, 0.31290048360824585, 0.004919928032904863, 0.04984961077570915, 0.02097095362842083, -0.4529018998146057, -0.6959980130195618, 0.12210365384817123, -0.8760332465171814, -0.36406832933425903, 1.3850629329681396, -0.050691988319158554, -0.4622727930545807, 0.09071525931358337, 0.020543180406093597, 0.07471980899572372, -0.007854405790567398, 0.5061662793159485, 0.7330349087715149, 0.23802615702152252, -0.32165494561195374, -0.5469775199890137, 0.38018688559532166, 0.40793681144714355, -0.4788554012775421, 0.04532089829444885, -0.1562415361404419, 0.23707135021686554, 0.5692216157913208, 0.5653735399246216, -0.07319045066833496, -0.06026522442698479, -0.018090322613716125, 0.5017319321632385, 0.2208593189716339, -0.5887266993522644, -0.543430745601654, 0.5008731484413147, 0.24425368010997772, 0.011646786704659462 ]
http://arxiv.org/abs/2402.16431v1
http://arxiv.org/pdf/2402.16431v1
RoCoIns: Enhancing Robustness of Large Language Models through Code-Style Instructions
2024-02-26T09:30:55
2024-02-26T09:30:55
Yuansen Zhang, Xiao Wang, Zhiheng Xi, Han Xia, Tao Gui, Qi Zhang, Xuanjing Huang
cs.CL
cs.CL
Large Language Models (LLMs) have showcased remarkable capabilities in following human instructions. However, recent studies have raised concerns about the robustness of LLMs when prompted with instructions combining textual adversarial samples. In this paper, drawing inspiration from recent works that LLMs are sensitive to the design of the instructions, we utilize instructions in code style, which are more structural and less ambiguous, to replace typically natural language instructions. Through this conversion, we provide LLMs with more precise instructions and strengthen the robustness of LLMs. Moreover, under few-shot scenarios, we propose a novel method to compose in-context demonstrations using both clean and adversarial samples (\textit{adversarial context method}) to further boost the robustness of the LLMs. Experiments on eight robustness datasets show that our method consistently outperforms prompting LLMs with natural language instructions. For example, with gpt-3.5-turbo, our method achieves an improvement of 5.68\% in test set accuracy and a reduction of 5.66 points in Attack Success Rate (ASR).
[ -0.167796790599823, -1.0605581998825073, 0.33057382702827454, 0.0598297081887722, -0.32798290252685547, -0.04013974219560623, -0.868770956993103, -0.22041352093219757, 0.058992162346839905, 0.5075684189796448, -0.44315463304519653, -0.7180570960044861, -0.5811145901679993, 0.18154099583625793, -0.3988163471221924, 1.0485777854919434, -0.038896381855010986, 0.1582537144422531, 0.09609217941761017, 0.054197024554014206, -0.2866456210613251, -0.574974775314331, -0.4970635771751404, -0.13756932318210602, 0.4010927677154541, 0.46103930473327637, 0.7049667835235596, 0.6100131273269653, 0.5411219000816345, 0.34853389859199524, -0.07000893354415894, 0.24936267733573914, -0.578852653503418, 0.2499227374792099, 0.14086829125881195, -0.6044568419456482, -0.4893465042114258, -0.06402771174907684, 0.4242177903652191, 0.32192641496658325, -0.0462367981672287, -0.16484598815441132, 0.39472708106040955, 0.5258235335350037, -0.5584302544593811, 0.2523331344127655, -0.8166642189025879, -0.21389061212539673, -0.04864020645618439, -0.558422327041626, -0.7609847187995911, -0.3227665424346924, -0.07193969935178757, -0.5383957028388977, 0.050079602748155594, -0.352557897567749, 0.6214190125465393, 0.13598333299160004, -0.11619632691144943, -0.4421025216579437, -0.5522744059562683, 0.8877835869789124, -0.7716109752655029, -0.032837554812431335, 0.2067711502313614, 0.3833216428756714, -0.5103792548179626, -0.780064582824707, -0.3170158863067627, -0.5715886354446411, -0.04006208851933479, -0.14023321866989136, -0.17590263485908508, 0.12054542452096939, 0.4004884362220764, 0.028267601504921913, -0.42355552315711975, 0.15603885054588318, -0.09871530532836914, -0.1950225830078125, 0.548953115940094, 0.05512852594256401, 0.46870002150535583, -0.07616807520389557, -0.44155657291412354, -0.4649121165275574, -1.0257655382156372, 0.09811826795339584, 0.4608616530895233, 0.6191097497940063, -0.3759166896343231, 0.4994998872280121, -0.2988162040710449, 0.7655639052391052, 0.08271099627017975, -0.37404438853263855, -0.07220382243394852, -0.19874973595142365, -0.24761514365673065, 0.046779535710811615, 0.916015088558197, 0.34811466932296753, 0.44122228026390076, -0.04296748712658882, -0.2902337908744812, 0.02315334975719452, 0.5214290618896484, -1.0419385433197021, -0.27427616715431213, 0.04337445646524429, -0.4379771053791046, -0.630447268486023, 0.07807648181915283, -0.6983430981636047, -0.2697345018386841, -0.2920205593109131, 0.392428994178772, -0.5533485412597656, 0.29671207070350647, -0.014004495926201344, 0.08687413483858109, 0.30975452065467834, 0.4601714611053467, -1.0073926448822021, 0.2451317459344864, 0.8656866550445557, 0.6107956767082214, 0.06386850774288177, -0.013388178311288357, -0.835389256477356, 0.03616545349359512, -0.6148676872253418, 0.5975155234336853, -0.575661838054657, -0.46865102648735046, 0.10411364585161209, -0.042067669332027435, 0.21333707869052887, -0.2992033064365387, 0.7002416253089905, -0.5669853091239929, 0.11996956914663315, -0.26159268617630005, -0.36809179186820984, -0.13962982594966888, 0.4011565148830414, -0.48503127694129944, 0.7743492126464844, -0.08531136810779572, -0.7389206290245056, 0.203785240650177, -0.6436728239059448, -0.7022899389266968, -0.013223170302808285, -0.3374926447868347, -0.34921902418136597, -0.046877581626176834, 0.442119836807251, 0.638568103313446, -0.018274417147040367, 0.03360476344823837, -0.6057417392730713, -0.654739499092102, 0.5500502586364746, -0.7661409378051758, 0.9407021403312683, 0.1272323727607727, -0.4994160234928131, 0.18265019357204437, -0.5599578022956848, 0.20479610562324524, 0.10011881589889526, -0.2918035387992859, -0.19242173433303833, -0.02697031758725643, 0.04153832420706749, -0.08244975656270981, 0.028632713481783867, -0.16312086582183838, 0.4548894166946411, -0.519701361656189, 0.6290301084518433, 0.7937297224998474, -0.012722110375761986, 0.5661401748657227, -0.302562415599823, 0.5791118741035461, -0.5167931914329529, 0.17103905975818634, -0.34884214401245117, -0.5390240550041199, -0.49016863107681274, -0.5217516422271729, 0.10786594450473785, 0.593926727771759, -0.8509108424186707, 0.43916547298431396, -0.34353193640708923, -0.3331550359725952, 0.017560452222824097, 0.47150272130966187, 0.45332714915275574, 0.42443084716796875, 0.32645270228385925, -0.10124552249908447, -0.49058932065963745, -0.718734622001648, -0.21573986113071442, -0.23648154735565186, -0.2644544839859009, 0.05225808545947075, 0.5358120799064636, -0.21285280585289001, 0.5910352468490601, -0.24128635227680206, 0.13120125234127045, -0.3681531250476837, 0.11216019839048386, 0.12950044870376587, 0.4554923474788666, 0.5937016010284424, -0.7248822450637817, -0.553616464138031, -0.16949284076690674, -0.558526873588562, -0.048667848110198975, -0.08847223967313766, -0.01175285130739212, 0.178772434592247, 0.6674977540969849, -0.3167370855808258, 0.29487869143486023, 0.5698179006576538, 0.18139493465423584, 0.39601239562034607, -0.18771715462207794, 0.2915121912956238, -1.2127792835235596, -0.2880464494228363, -0.009263656102120876, -0.20719848573207855, -0.7411013841629028, 0.43542996048927307, 0.13072888553142548, -0.03907892107963562, -0.5461293458938599, 0.31487807631492615, -0.39297568798065186, 0.31340715289115906, -0.3110447824001312, 0.1575649380683899, 0.07456637918949127, 0.3837890326976776, 0.04703518748283386, 0.8646870851516724, 0.8171922564506531, -0.548534095287323, 0.40567073225975037, 0.08038077503442764, -0.2855404019355774, 0.5311356782913208, -0.7426791191101074, 0.28085416555404663, 0.14189495146274567, 0.583148181438446, -0.9420377612113953, -0.43529707193374634, 0.2378595918416977, -0.509726345539093, 0.8148157596588135, -0.37452396750450134, -0.494333952665329, 0.03919791057705879, -0.7726867198944092, 0.15090470016002655, 0.6348850727081299, -0.6668106317520142, 0.3815358877182007, -0.06062129884958267, -0.10588434338569641, -0.662447452545166, -0.9656897187232971, 0.48662155866622925, -0.44835054874420166, -0.6958420872688293, 0.270923376083374, -0.20803780853748322, -0.40698760747909546, -0.4337763488292694, 0.22301362454891205, -0.084349125623703, 0.3131333589553833, 0.29273226857185364, 0.45531436800956726, -0.3469899892807007, -0.10756831616163254, -0.2504280209541321, -0.14846019446849823, 0.033243898302316666, -0.3418138027191162, 0.39945438504219055, -0.14925594627857208, -0.38802865147590637, -0.7346043586730957, 0.3248024880886078, 0.4677368104457855, -0.09830525517463684, 0.672473132610321, 0.5496154427528381, -0.3300996720790863, -0.40858030319213867, -0.2647799253463745, -0.380854994058609, -0.5693939924240112, 0.1948452889919281, -0.23923076689243317, -0.9388880133628845, 0.24800607562065125, 0.12489582598209381, 0.027292367070913315, 0.037817489355802536, 0.6889895796775818, -0.07676626741886139, 0.8855178952217102, 0.4473344385623932, -0.3312775492668152, 0.6250303983688354, -0.27547138929367065, 0.3090682029724121, -0.6623052358627319, 0.14251616597175598, -0.702512800693512, -0.1411273330450058, -0.738709568977356, -0.6167291402816772, 0.40555787086486816, 0.15237833559513092, -0.07405854761600494, 0.5183340907096863, -0.4627649784088135, 0.4848191738128662, 0.33757176995277405, 0.3290346562862396, 0.09111934155225754, 0.18921959400177002, 0.09335354715585709, -0.05167301371693611, -0.7403728365898132, -0.9215824604034424, 1.2431467771530151, 0.37093430757522583, 1.2611662149429321, 0.0998355969786644, 0.8669488430023193, 0.08219730854034424, 0.506219744682312, -0.7849678993225098, 0.4432632327079773, -0.2830531597137451, -0.41292521357536316, -0.24069170653820038, -0.4603511691093445, -0.6396996974945068, -0.16546794772148132, -0.23333503305912018, -0.9121768474578857, -0.129844531416893, 0.18031054735183716, -0.43574029207229614, 0.1788661777973175, -0.6506785750389099, 0.6595547795295715, -0.22829852998256683, -0.4034416973590851, -0.0823291689157486, -0.4860648512840271, 0.4864785373210907, 0.09594392776489258, 0.29719045758247375, 0.3696731626987457, -0.11474116891622543, 0.48615193367004395, -0.5232142210006714, 1.123773217201233, 0.17994512617588043, -0.4019368290901184, 0.489424467086792, 0.20212557911872864, 0.8428547978401184, 0.23751592636108398, -0.07429683208465576, -0.0882406011223793, -0.3117651045322418, -0.3530798554420471, -0.7830614447593689, 0.9459777474403381, -0.42665520310401917, -0.5785585641860962, 0.02137555554509163, -0.5428274869918823, -0.134287029504776, -0.07237320393323898, 0.4279669523239136, 1.0724955797195435, -0.21733541786670685, 0.51576828956604, 0.9455057382583618, -0.34122583270072937, 0.49853548407554626, 0.1836545616388321, 0.32376036047935486, -0.4031723439693451, 0.6717472076416016, -0.27940571308135986, 0.6469445824623108, 0.746661365032196, 0.16198381781578064, -0.43679776787757874, -0.5972641706466675, -0.5405476689338684, -0.21061131358146667, -0.9320638179779053, -0.3466467559337616, -0.3493522107601166, 0.03651950880885124, -0.5193616151809692, -0.6272752285003662, -0.3639029562473297, -0.40546905994415283, -0.12522529065608978, -0.00813243631273508, 0.42504289746284485, 0.7056133151054382, 0.22252942621707916, 0.25919196009635925, -0.7096574902534485, 0.4406597316265106, 0.5008556842803955, 0.12010448426008224, -0.2123321145772934, -0.6908401250839233, -0.0900506004691124, 0.2638280987739563, -0.0842120349407196, -0.8750984072685242, 0.11644160747528076, 0.06985466182231903, 0.4169209599494934, 0.5670412182807922, 0.12518054246902466, 0.7090930938720703, -0.41807955503463745, 0.8510959148406982, -0.011508418247103691, -0.8926945328712463, 0.6014224886894226, -0.5394115447998047, 0.07718505710363388, 0.6146525144577026, 0.09574694186449051, -0.1277030110359192, -0.536714494228363, -0.5333783626556396, -0.44644829630851746, 0.4606863558292389, 0.20589153468608856, 0.3983014225959778, 0.028028052300214767, 0.38052135705947876, -0.3018571734428406, -0.21474093198776245, -0.6196378469467163, -0.1735474318265915, -0.10427164286375046, -0.3307070732116699, -0.08216302841901779, -0.2877468466758728, -0.5860264301300049, 0.07009744644165039, 0.5504458546638489, -0.4152613580226898, 0.1443396508693695, 0.16321642696857452, -0.050055719912052155, 0.023407727479934692, 0.6350804567337036, 0.9485519528388977, 0.5127996802330017, 0.07227593660354614, 0.23699940741062164, 0.4475734531879425, -0.3514408767223358, 0.14214187860488892, -0.07724838703870773, -0.21505871415138245, -0.16680455207824707, 0.8994864821434021, 0.41365084052085876, 0.4440636932849884, -0.6025343537330627, 0.7228967547416687, -0.37483909726142883, -0.10849226266145706, -0.1323263943195343, 0.33796972036361694, -0.05740136280655861, 0.08374977856874466, 0.12025489658117294, 0.07171966135501862, 0.039048533886671066, -0.7089171409606934, 0.2678883969783783, 0.6835043430328369, -0.4988047778606415, -0.09530812501907349, 0.6019333600997925, 0.14431972801685333, -0.3072551190853119, 0.09583169221878052, -0.27640363574028015, -0.781100332736969, 0.5554358959197998, 0.5047209858894348, 0.8829846382141113, -0.017224211245775223, 0.06729541718959808, 0.24582737684249878, 0.4336800277233124, -0.2624431550502777, 0.026969293132424355, -0.11842090636491776, -0.42353901267051697, -0.49527525901794434, -0.3550862967967987, -0.42634445428848267, -0.02600247971713543, -0.6824308037757874, 0.42630720138549805, -0.5878922939300537, 0.1612207442522049, -0.4384905695915222, 0.021337922662496567, -0.31217485666275024, 0.1635911762714386, 0.24417640268802643, 1.01780366897583, -0.6147862672805786, 1.0028207302093506, 0.5839952230453491, -0.1012100875377655, -1.0367579460144043, 0.1465761959552765, 0.29646629095077515, -0.7383043169975281, 0.5199540853500366, 0.11956111341714859, -0.39841973781585693, -0.4490041732788086, -0.9295459985733032, -0.35246729850769043, 0.9339128136634827, 0.4547780156135559, -0.4652443528175354, 0.374889075756073, -0.15389278531074524, 0.5481500625610352, -0.4549115300178528, 0.2545521855354309, 0.33299702405929565, 0.39692914485931396, 0.1309387981891632, -0.564393937587738, 0.22456897795200348, -0.15597181022167206, 0.05701150372624397, -0.04930949583649635, -0.5117902755737305, 0.6073203682899475, -0.4236351549625397, -0.2366466075181961, 0.3948521912097931, 0.7134964466094971, 0.354936420917511, -0.07716977596282959, 0.4262261986732483, 0.2184268683195114, 0.6277353167533875, -0.026895925402641296, 1.4289278984069824, -0.5301356315612793, 0.05871045961976051, 1.0872230529785156, -0.13607774674892426, 0.9324652552604675, 0.3894362151622772, 0.049708399921655655, 0.6829622387886047, 0.3415631055831909, 0.21251653134822845, 0.27926206588745117, 0.23260848224163055, -0.2911255657672882, -0.2984059453010559, 0.1614275872707367, -0.4154055416584015, 0.4746185839176178, 0.2291111797094345, -0.2790553867816925, -0.04653976485133171, -0.28951841592788696, 0.40136483311653137, 0.47416701912879944, -0.015141538344323635, 0.5802909731864929, 0.1215265765786171, -0.47953861951828003, 0.8544461131095886, 0.13623303174972534, 0.7957369685173035, -0.8028500080108643, -0.268650084733963, -0.10483906418085098, 0.24104899168014526, -0.11903586238622665, -0.538927435874939, -0.09767811000347137, 0.36330386996269226, 0.06906100362539291, -0.39831218123435974, 0.7130361199378967, -0.4389263689517975, -0.5302361249923706, 0.19997911155223846, -0.07339832931756973, -0.04076056554913521, -0.017043108120560646, -0.49675464630126953, 0.3211471140384674, 0.00046931731048971415, -0.14965665340423584, 0.3243688941001892, 0.4897488057613373, -0.03832989186048508, 0.7170806527137756, 0.591134250164032, 0.14611662924289703, -0.08716543018817902, 0.2396131455898285, 0.9628892540931702, -0.41361767053604126, -0.35885152220726013, -1.0711442232131958, 0.3228396773338318, -0.0556023009121418, -0.1650410145521164, 0.8714138269424438, 0.3212011158466339, 0.7340676784515381, -0.006318955682218075, 0.7471516728401184, 0.018762722611427307, 0.09926773607730865, -0.950832724571228, 0.6715404987335205, -0.23814736306667328, 0.6210952401161194, -0.27001965045928955, -0.6157110929489136, -0.37818074226379395, 0.6164446473121643, -0.12377092987298965, 0.166402205824852, 0.5985503792762756, 1.2237595319747925, -0.0188957117497921, -0.018152201548218727, 0.2476949542760849, 0.18604576587677002, 0.5643142461776733, 0.676400363445282, 0.7335505485534668, -0.43791869282722473, 0.7978342771530151, -0.44413891434669495, -0.353438138961792, -0.2607966959476471, -1.0467405319213867, -1.1835914850234985, -0.21072472631931305, -0.30542364716529846, -0.34887421131134033, 0.09277797490358353, 0.9499859809875488, 0.8779537081718445, -0.8997436761856079, -0.191199392080307, 0.012959981337189674, 0.09704575687646866, -0.21102890372276306, -0.21698643267154694, 0.2254994958639145, -0.6626060605049133, -0.6308639049530029, 0.8267209529876709, 0.29619431495666504, 0.04886418953537941, -0.34047865867614746, -0.29188188910484314, 0.2005169689655304, 0.015248573385179043, 0.5223543643951416, -0.00847652368247509, -0.7074992656707764, -0.5028554797172546, -0.012983974069356918, -0.46765825152397156, -0.0324014313519001, 1.0745261907577515, -0.4598332345485687, 0.4565419554710388, 0.5644493103027344, 0.5267435312271118, 0.05491011217236519, 0.13259008526802063, 0.787868857383728, -0.7286900281906128, 0.34638887643814087, 0.05356071516871452, 0.45642614364624023, 0.48290568590164185, -0.37813007831573486, 0.23684298992156982, -0.05675360560417175, -0.29116493463516235, -0.6623265147209167, 0.18153178691864014, -1.0879064798355103, -0.2924579381942749, 1.3420332670211792, -0.35861676931381226, -0.40369999408721924, 0.12602651119232178, -0.2933417558670044, 0.08334585279226303, -0.4220706820487976, 0.7600904703140259, 0.6154604554176331, 0.07252082228660583, 0.049909066408872604, -0.5638226866722107, 0.5870652198791504, 0.24209977686405182, -0.7646872401237488, 0.1471710503101349, 0.3377661406993866, 0.26578545570373535, 0.012621046975255013, 0.368792861700058, -0.2920372486114502, 0.33250054717063904, 0.06118950620293617, -0.21490561962127686, -0.08628708869218826, -0.464802086353302, -0.7029157876968384, 0.16973759233951569, 0.248085156083107, -0.05312361940741539 ]
http://arxiv.org/abs/2403.00818v2
http://arxiv.org/pdf/2403.00818v2
DenseMamba: State Space Models with Dense Hidden Connection for Efficient Large Language Models
2024-02-26T09:21:59
2024-03-05T14:31:03
Wei He, Kai Han, Yehui Tang, Chengcheng Wang, Yujie Yang, Tianyu Guo, Yunhe Wang
cs.CL
cs.CL, cs.LG
Large language models (LLMs) face a daunting challenge due to the excessive computational and memory requirements of the commonly used Transformer architecture. While state space model (SSM) is a new type of foundational network architecture offering lower computational complexity, their performance has yet to fully rival that of Transformers. This paper introduces DenseSSM, a novel approach to enhance the flow of hidden information between layers in SSMs. By selectively integrating shallowlayer hidden states into deeper layers, DenseSSM retains fine-grained information crucial for the final output. Dense connections enhanced DenseSSM still maintains the training parallelizability and inference efficiency. The proposed method can be widely applicable to various SSM types like RetNet and Mamba. With similar model size, DenseSSM achieves significant improvements, exemplified by DenseRetNet outperforming the original RetNet with up to 5% accuracy improvement on public benchmarks. code is avalaible at https://github.com/WailordHe/DenseSSM
[ -0.30065590143203735, -0.9221920967102051, 0.6445281505584717, 0.2635652422904968, -0.29768380522727966, 0.2598098814487457, -0.3403433859348297, -0.10239549726247787, 0.616418719291687, 0.8728691339492798, -0.31367671489715576, -0.5115802884101868, -0.5157682299613953, -0.44758543372154236, -0.4889058768749237, 0.2375306636095047, -0.08456884324550629, -0.024504125118255615, -0.21826115250587463, -0.04754599928855896, -0.2547787129878998, -0.44353988766670227, -0.5730980038642883, -0.4908597469329834, 0.4537872076034546, 0.49041837453842163, 0.7783249020576477, 0.5895411372184753, 0.3445987105369568, 0.4374522864818573, -0.47102388739585876, 0.3753843307495117, -0.6655836701393127, 0.3958975076675415, -0.06632879376411438, -0.5783671736717224, -0.35382744669914246, -0.4229069948196411, 1.2154818773269653, 0.975553572177887, -0.3303186893463135, -0.03308380767703056, -0.031174151226878166, 0.9211351275444031, -0.6718361973762512, 0.05044285207986832, -0.5717900395393372, 0.19624808430671692, -0.2713642716407776, -0.06367821991443634, -0.4930827021598816, -0.3972319960594177, -0.0686713233590126, -0.27520495653152466, -0.01585427299141884, -0.05889506638050079, 0.898188591003418, 0.4205470681190491, -0.5745739936828613, 0.18783339858055115, -1.106074571609497, 0.7693904638290405, -0.6390471458435059, 0.4513019919395447, 0.13420137763023376, 0.5866258144378662, -0.327501505613327, -0.5878185629844666, -0.335483193397522, -0.12166722118854523, 0.051719509065151215, 0.11255127936601639, -0.19400668144226074, 0.07260195165872574, 0.08910185098648071, 0.48623138666152954, -0.3861764073371887, 0.34311068058013916, -0.3688259720802307, -0.1529260128736496, 0.5360038876533508, 0.46420425176620483, 0.14696751534938812, -0.00798511691391468, -0.5271756649017334, 0.29038238525390625, -0.6693639755249023, -0.2453419715166092, 0.31059950590133667, 0.4640321433544159, -0.3638051152229309, 0.6887305378913879, -0.4272918999195099, 0.7159454226493835, -0.13903987407684326, -0.024703996255993843, 0.12559710443019867, -0.08751270920038223, -0.37623804807662964, 0.03569329157471657, 0.7174519896507263, -0.29930350184440613, -0.018380772322416306, -0.11212630569934845, -0.18731272220611572, -0.09372735768556595, 0.25543197989463806, -1.023963451385498, -0.11002396792173386, 0.11159949004650116, -0.609727144241333, -0.1482744961977005, -0.1648496687412262, -0.5408744812011719, -0.660272479057312, -0.1697182059288025, 0.1985916942358017, -0.450937420129776, -0.6215065717697144, 0.25908544659614563, 0.20559576153755188, 0.1335807591676712, 0.23976841568946838, -0.6646009087562561, 0.6716287136077881, 0.5468698143959045, 1.0952234268188477, -0.22083434462547302, 0.022149112075567245, -0.23719123005867004, 0.5136876106262207, -0.47831353545188904, 0.7083038091659546, -0.6677902936935425, -0.1426156610250473, -0.32444626092910767, -0.1354883462190628, -0.025622166693210602, -0.4652863144874573, 0.374470978975296, -0.7518242001533508, -0.2120860069990158, -0.04580065235495567, -0.8096619248390198, -0.310506135225296, -0.10525169223546982, -0.8260672092437744, 1.062452793121338, -0.02562708593904972, -0.4103899896144867, -0.12253791838884354, -0.5694988965988159, -0.44091394543647766, 0.211151584982872, -0.07289955019950867, -0.4564778208732605, 0.1882081776857376, 0.12142059206962585, 0.8218050599098206, -0.18473473191261292, 0.4863754212856293, -0.6076758503913879, -0.8074130415916443, 0.26025086641311646, -0.18109643459320068, 0.6028280258178711, 0.5215822458267212, -0.10000891238451004, 0.1502605378627777, -0.8723797798156738, -0.0880337730050087, 0.35305267572402954, -0.4467099606990814, -0.3457418382167816, 0.09519142657518387, -0.23000863194465637, 0.0010109483264386654, 0.2477770745754242, -0.3703843355178833, 0.08701932430267334, -0.42982834577560425, 0.45911407470703125, 0.6096848249435425, -0.10291203111410141, 0.8553263545036316, 0.16792649030685425, 0.5730190873146057, 0.3527131974697113, -0.043782610446214676, 0.013165125623345375, -0.19771043956279755, -0.8569148182868958, -0.5656343698501587, 0.33299848437309265, 0.3632082939147949, -0.6812990307807922, 0.515417754650116, -0.2765159010887146, -0.8806616067886353, -0.20282167196273804, 0.24033981561660767, 0.05494723469018936, 0.2812647521495819, 0.2851693630218506, -0.05036487057805061, -0.5761728286743164, -0.9807891249656677, -0.20949824154376984, 0.2120322287082672, 0.21553343534469604, 0.5784865617752075, 0.25225114822387695, -0.5830202698707581, 0.6652124524116516, -0.7277117371559143, -0.2201082706451416, -0.531875729560852, -0.5458487272262573, 0.30648213624954224, 0.6161633133888245, 0.37882357835769653, -0.3296070396900177, -0.2914418876171112, -0.1286090463399887, -0.7505312561988831, 0.06907828152179718, -0.021899297833442688, -0.1639374941587448, -0.20016205310821533, 0.6841913461685181, -0.6756834983825684, -0.01392106432467699, 0.7694438099861145, -0.21756240725517273, 0.19473901391029358, -0.05204441398382187, -0.1852424591779709, -1.2584320306777954, -0.08326397091150284, -0.04998066648840904, -0.2778097689151764, -0.5387187004089355, 0.16307847201824188, 0.245555579662323, -0.5834013819694519, -0.4748099744319916, 0.6058126091957092, -0.8677517175674438, -0.3783436715602875, -0.26390835642814636, 0.3872110843658447, -0.10222961008548737, 0.5216513276100159, -0.2533290386199951, 0.6394544243812561, 0.9329339861869812, -0.5321701169013977, 0.423757404088974, -0.05224491283297539, -0.5108392834663391, 0.12475725263357162, -0.545804500579834, -0.00727917579934001, -0.051143378019332886, 0.5309619307518005, -1.1044878959655762, -0.11747711896896362, -0.01638050563633442, 0.023218000307679176, 0.4316386580467224, -0.2239324301481247, -0.4911241829395294, -0.19346468150615692, 0.0587138831615448, 0.38070183992385864, 0.3567682206630707, -0.45958998799324036, 0.9491376876831055, 0.688504159450531, -0.08928399533033371, -0.44598188996315, -0.8733714818954468, 0.4133240282535553, -0.16263224184513092, -0.7514916658401489, 0.13688310980796814, 0.1089632511138916, 0.013905033469200134, -0.02646390162408352, -0.1709900051355362, -0.3100987672805786, 0.4444775879383087, 0.4453226625919342, 0.06245387718081474, -0.6026625633239746, 0.026443786919116974, 0.6288989782333374, -0.20830051600933075, -0.12155362218618393, -0.22518834471702576, 0.8037025928497314, -0.41924819350242615, -0.2794211804866791, -0.5459978580474854, 0.3906010687351227, 0.2704479992389679, -0.1151379942893982, 1.1258411407470703, 0.6579168438911438, -0.3630009591579437, -0.5352675914764404, -0.6409966945648193, -0.1691582202911377, -0.5463261604309082, 0.5065749883651733, -0.49376219511032104, -1.456390142440796, 0.525485634803772, -0.5119544863700867, -0.3995942175388336, 0.07784681022167206, 0.35975512862205505, -0.09820202738046646, 0.9624400734901428, 0.6809878945350647, -0.017879819497466087, 0.6044593453407288, -0.26478099822998047, 0.20149454474449158, -0.7978426814079285, -0.24942484498023987, -0.4272795021533966, -0.5517568588256836, -0.25652891397476196, -0.651863694190979, 0.016427965834736824, 0.347000390291214, -0.1800527721643448, 0.36530423164367676, -0.28281962871551514, 0.6245964765548706, 0.050387054681777954, 0.29692527651786804, 0.10400465875864029, 0.21480399370193481, -0.5042722821235657, -0.006668107584118843, -1.0703097581863403, -0.4178105294704437, 0.6643109917640686, 0.5310214757919312, 0.9594356417655945, 0.27935177087783813, 0.6810081005096436, 0.05227166414260864, 0.046059731394052505, -0.7336411476135254, 1.0254408121109009, -0.22625043988227844, -0.30718448758125305, -0.3002545237541199, -0.8314785957336426, -0.9462661147117615, 0.3701932430267334, -0.2235639989376068, -0.4356260597705841, 0.08723557740449905, -0.03208151087164879, -0.36678579449653625, 0.6492005586624146, -0.9002394676208496, 0.3499429523944855, -0.04393746703863144, -0.24213525652885437, -0.5158717036247253, -0.4535514712333679, 0.6135160326957703, 0.011386731639504433, -0.2514503598213196, -0.2705613970756531, -0.4076617360115051, 0.8224862217903137, -0.46333104372024536, 0.9720832109451294, -0.20970797538757324, -0.0717928484082222, 0.2598777413368225, 0.2666420042514801, 0.5752255916595459, 0.04598265141248703, -0.23628772795200348, 0.45469701290130615, -0.5110766887664795, -0.6324904561042786, -0.47883933782577515, 1.1505323648452759, -0.9275727868080139, -0.4276334345340729, -0.1279444545507431, -0.6552172899246216, -0.3539178967475891, 0.40934979915618896, -0.40509742498397827, 0.41681206226348877, -0.05133213475346565, 0.6419464349746704, 0.9256522059440613, -0.4478687644004822, 0.22960799932479858, 0.6451404094696045, -0.10179685801267624, -0.2660216689109802, 0.6708351969718933, 0.09125825017690659, 0.1746935397386551, 0.5101518630981445, 0.13941125571727753, -0.27722665667533875, -0.6936905384063721, -0.275355726480484, 0.49708127975463867, -0.7092270851135254, -0.27383115887641907, -0.8309429883956909, -0.5664910078048706, -0.2139415293931961, -0.12371423840522766, -0.7010324597358704, -0.5680170059204102, -0.32246774435043335, -0.23378843069076538, 0.2253391444683075, 0.6748716235160828, 0.1831410974264145, 0.64188551902771, -0.6442565321922302, 0.3535979986190796, 0.24605199694633484, 0.8002962470054626, 0.17265596985816956, -0.520351231098175, -0.5183309316635132, -0.17513920366764069, 0.10868939757347107, -0.6777362823486328, 0.17792236804962158, 0.03675941750407219, 0.6425958275794983, 0.46755450963974, -0.2704252302646637, 0.9624804258346558, -0.4347257614135742, 0.6962112188339233, 0.12537223100662231, -0.940226674079895, 0.49314385652542114, -0.2163357138633728, 0.4735215902328491, 0.19068732857704163, 0.22814308106899261, -0.25315380096435547, -0.37127962708473206, -0.4610198438167572, -0.67246413230896, 0.6516585350036621, 0.0017490778118371964, 0.11358010768890381, 0.18370409309864044, 0.4517739415168762, -0.14086443185806274, 0.006350748240947723, -0.40225863456726074, -0.35322076082229614, -0.06963933259248734, -0.018603099510073662, -0.07006298005580902, -0.5192683935165405, 0.07661324739456177, -0.12498120963573456, 0.5634385347366333, -0.12557394802570343, 0.23322899639606476, -0.11517948657274246, -0.30761614441871643, -0.19195736944675446, 0.16343733668327332, 0.7305421233177185, 0.6192407608032227, 0.15020032227039337, 0.46754151582717896, 0.38653624057769775, -0.4310363829135895, 0.24897021055221558, -0.1395208239555359, -0.3255750238895416, -0.010336639359593391, 0.06655184179544449, 1.1424270868301392, 0.6039189696311951, -0.36045005917549133, 0.33162161707878113, -0.10856711119413376, -0.08214002102613449, -0.22523458302021027, 0.47856810688972473, 0.6169136166572571, 0.5176756381988525, 0.23392239212989807, 0.3053357005119324, -0.15794892609119415, -0.03881717473268509, 0.001866961014457047, 0.4381951689720154, -0.4989670515060425, -0.0738711953163147, 0.6439423561096191, 0.2563249468803406, -0.10529041290283203, 0.4349149167537689, 0.20432384312152863, -0.23345883190631866, 0.5100209712982178, 0.5753899812698364, 0.7480030059814453, -0.3113415837287903, 0.19026903808116913, 0.2806133031845093, 0.40651145577430725, -0.17560383677482605, 0.23736566305160522, -0.18466180562973022, -0.8720070719718933, -0.5812436938285828, -0.6979975700378418, -0.25282150506973267, 0.278003990650177, -0.4732053279876709, 0.21245867013931274, -0.7851071357727051, -0.04748300462961197, -0.5355849862098694, 0.24245786666870117, -0.38829031586647034, 0.14765077829360962, 0.2112036645412445, 1.1570829153060913, -0.8161830306053162, 1.0863897800445557, 0.4445545971393585, -0.05431612581014633, -0.9792152643203735, -0.3639857769012451, -0.17162926495075226, -0.8029661774635315, 0.3993304967880249, -0.06885351985692978, -0.3911697268486023, 0.008477730676531792, -0.47551363706588745, -1.2826664447784424, 1.2144016027450562, 0.7127792835235596, -0.7676663994789124, 0.40742024779319763, 0.13439153134822845, 0.36553332209587097, -0.2963414788246155, 0.23412489891052246, 0.2346445769071579, 0.4063568711280823, -0.028105154633522034, -0.1311703473329544, 0.3728480339050293, -0.1818893551826477, 0.5343219637870789, 0.36918818950653076, -1.016937494277954, 0.4680081307888031, -0.22494007647037506, -0.43801942467689514, 0.1528690904378891, 1.2188265323638916, 0.40092459321022034, -0.18046672642230988, 0.6623358130455017, 0.5660457015037537, 0.8586452603340149, -0.07687827944755554, 0.7152975797653198, -0.21639887988567352, 0.17344097793102264, 1.0472270250320435, -0.6107109785079956, 0.8467832207679749, 0.3595215976238251, -0.003748600371181965, 0.6244295835494995, 0.4756379723548889, -0.026107560843229294, 0.28168338537216187, 0.16527384519577026, -0.12164541333913803, -0.49819743633270264, 0.13359364867210388, -0.49508482217788696, 0.3145819306373596, 0.5004444718360901, -0.14042750000953674, -0.07797468453645706, -0.25608259439468384, 0.09187241643667221, 0.013179153203964233, -0.27824142575263977, 0.6103829145431519, 0.30494678020477295, -0.1669791042804718, 0.5893790125846863, 0.13250130414962769, 0.6471584439277649, -0.8052563667297363, 0.25185900926589966, -0.5680516958236694, 0.2090635895729065, -0.45031240582466125, -0.747421145439148, 0.3420145809650421, -0.16279634833335876, -0.19576603174209595, -0.20363254845142365, 1.1236971616744995, -0.5966162085533142, -0.46742919087409973, 0.5504773259162903, 0.4975024163722992, 0.14363642036914825, 0.02306430973112583, -0.7899953722953796, 0.31966641545295715, -0.3965388238430023, -0.40843817591667175, 0.3574518859386444, 0.468307226896286, 0.034096088260412216, 1.0148698091506958, 0.7299146056175232, 0.4846150279045105, 0.2886929512023926, 0.5070301294326782, 0.9702993631362915, -0.8501823544502258, -0.7775086760520935, -0.643442690372467, 0.18639247119426727, -0.26062217354774475, 0.1134253442287445, 0.9492882490158081, 0.7450926899909973, 0.37512442469596863, -0.02065192349255085, 0.40441474318504333, 0.446247935295105, 0.4690558612346649, -0.47114789485931396, 1.0708907842636108, -0.5036019682884216, 0.6010997891426086, -0.18847669661045074, -1.055938482284546, -0.1979909986257553, 0.2746507525444031, -0.09287867695093155, 0.0981547012925148, 0.6400179862976074, 1.0131349563598633, -0.40787965059280396, -0.0065004657953977585, 0.456595778465271, 0.6474482417106628, 0.09990178793668747, 0.5030971765518188, 0.983296811580658, -0.5155462622642517, 0.6048070788383484, -0.28297489881515503, -0.09648588299751282, -0.3450559973716736, -0.6858767867088318, -0.8719265460968018, -0.4543272852897644, -0.3407941162586212, -0.27046021819114685, -0.24052748084068298, 0.36161696910858154, 0.9935696721076965, -0.6969580054283142, -0.5005078315734863, 0.09023022651672363, 0.3182939887046814, -0.2376558929681778, -0.2526834011077881, 0.16839700937271118, -0.0861240103840828, -0.3641573488712311, 0.9467164874076843, 0.5276766419410706, -0.1456831842660904, -0.5185686349868774, -0.17355836927890778, -0.2032395750284195, 0.34115421772003174, 0.6959682703018188, -0.09617451578378677, -0.5335955023765564, 0.019304968416690826, -0.2196466326713562, -0.34410011768341064, -0.12255974113941193, 0.8865283727645874, -0.7412233948707581, -0.005040218587964773, 0.5691729784011841, 0.9389141201972961, 0.9658432602882385, -0.30746859312057495, 0.3665107190608978, -0.8100370168685913, 0.37266647815704346, 0.1437090039253235, 0.7113839387893677, 0.37177392840385437, -0.3482883870601654, 0.34434449672698975, 0.17661964893341064, -0.2501588463783264, -0.8578182458877563, 0.38808077573776245, -1.2544020414352417, -0.4736838638782501, 1.116837739944458, 0.07481022924184799, -0.415700763463974, -0.06414487957954407, 0.034068889915943146, 0.23727421462535858, -0.38560664653778076, 0.4988202154636383, 0.25294575095176697, 0.2924140393733978, -0.3971690833568573, -0.18973217904567719, 0.06535620987415314, 0.6481303572654724, -0.8225848078727722, -0.24252505600452423, 0.3043724000453949, 0.22249189019203186, -0.04612835869193077, 0.45716238021850586, -0.15306180715560913, -0.09943247586488724, -0.07181239873170853, -0.12496119737625122, -0.3609387278556824, -0.404407262802124, -0.4663124978542328, 0.40453365445137024, -0.39894425868988037, 0.13451677560806274 ]
http://arxiv.org/abs/2402.16420v2
http://arxiv.org/pdf/2402.16420v2
Predicting Sustainable Development Goals Using Course Descriptions -- from LLMs to Conventional Foundation Models
2024-02-26T09:19:46
2024-04-23T12:49:57
Lev Kharlashkin, Melany Macias, Leo Huovinen, Mika Hämäläinen
cs.CL
cs.CL
We present our work on predicting United Nations sustainable development goals (SDG) for university courses. We use an LLM named PaLM 2 to generate training data given a noisy human-authored course description input as input. We use this data to train several different smaller language models to predict SDGs for university courses. This work contributes to better university level adaptation of SDGs. The best performing model in our experiments was BART with an F1-score of 0.786.
[ -0.27241697907447815, -0.5092652440071106, 0.67596834897995, -0.15917307138442993, -0.2609788477420807, 0.1949395388364792, -0.13146649301052094, -0.5605865120887756, 0.20813512802124023, 0.6912342309951782, -0.5640496015548706, -0.7229975461959839, -0.5201379060745239, 0.01899694837629795, -0.2508273124694824, 1.1404870748519897, -0.023345261812210083, 0.27660271525382996, -0.45452675223350525, 0.2898816764354706, -0.4635215997695923, 0.014691988937556744, -0.763102650642395, -0.6630752682685852, 0.2568891644477844, 0.6637690663337708, 0.5660133957862854, 0.7428058385848999, 0.47719043493270874, 0.0507991798222065, -0.07631652057170868, -0.2318006157875061, -0.3954821228981018, -0.30312663316726685, -0.16298942267894745, -0.3543177843093872, -0.13186240196228027, 0.18635086715221405, 0.5975083708763123, 0.8619720339775085, 0.1386910378932953, 0.3850516974925995, 0.25355958938598633, 0.6663675308227539, -0.18841196596622467, 0.20989136397838593, -0.3067445456981659, 0.18414202332496643, 0.16749921441078186, 0.03791167959570885, -0.29766714572906494, -0.390471875667572, 0.07397448271512985, -0.21523822844028473, 0.32529935240745544, -0.07415448874235153, 0.6301355361938477, 0.32359328866004944, -0.3743850588798523, -0.3454979360103607, -0.4252769351005554, 0.8672728538513184, -0.32909494638442993, 0.2309141308069229, 0.5553736090660095, 0.021852971985936165, -0.37717893719673157, -0.43371719121932983, -0.23813924193382263, -0.08049257844686508, 0.12525726854801178, 0.3220576047897339, 0.2807758152484894, 0.3471904993057251, 0.15463030338287354, 0.49746739864349365, -0.48230648040771484, 0.25605785846710205, -0.7519586086273193, -0.21506008505821228, 1.0914380550384521, 0.2575925588607788, -0.2711794078350067, -0.22003832459449768, -0.9127663969993591, 0.2967061996459961, -0.8759769797325134, 0.4254497289657593, 0.31205132603645325, 0.4372331202030182, -0.36364108324050903, 0.33700060844421387, -0.3730619251728058, 0.4805099368095398, -0.13149340450763702, -0.4185979664325714, -0.39424291253089905, -0.2066608965396881, -0.11472856998443604, 0.09965720027685165, 0.2815106213092804, 0.7739806771278381, 0.2665320634841919, -0.13592401146888733, -0.27080798149108887, 0.22947128117084503, 0.04800625890493393, -0.7547680735588074, -0.6518533229827881, -0.03589264303445816, -0.527320384979248, -0.20649150013923645, 0.05273539572954178, -0.9305855631828308, -0.5069781541824341, -0.7655093669891357, -0.07240868359804153, 0.10371487587690353, 0.21050849556922913, 0.06751004606485367, 0.048095956444740295, 0.3061660826206207, 0.5957075357437134, -0.7733892798423767, 0.4748636484146118, 0.25570306181907654, 1.016852855682373, -0.3146795332431793, 0.1397853046655655, -0.1573178619146347, 0.07148806750774384, -0.128374382853508, 0.577302098274231, -0.3392271399497986, -0.7706374526023865, -0.06927131861448288, -0.08247755467891693, 0.3222500681877136, -0.2085825502872467, 0.8612586259841919, -0.07728169858455658, 0.07033143192529678, -0.676132321357727, -0.7346946001052856, -0.15567058324813843, -0.024726133793592453, -0.394357293844223, 1.369248390197754, 0.3318687081336975, -0.49525710940361023, 0.4742615222930908, -0.7585471272468567, -0.43271175026893616, 0.35881760716438293, -0.1567094326019287, -0.4285176694393158, 0.17126978933811188, -0.17537635564804077, 0.7823779582977295, -0.4955662488937378, 0.6621250510215759, -0.30161523818969727, -0.48781248927116394, -0.1254080832004547, -0.09014345705509186, 0.8900030851364136, 0.1909252107143402, -0.13004226982593536, 0.056771617382764816, -0.8410548567771912, 0.1733933985233307, -0.02581540122628212, -0.6826834678649902, 0.016338814049959183, 0.1563338041305542, 0.19401924312114716, 0.08931615203619003, 0.5208150148391724, -0.6557965278625488, 0.49039942026138306, 0.17737551033496857, 0.3792436420917511, 1.301174283027649, -0.06307221949100494, 0.33739545941352844, -0.36908891797065735, 0.5816893577575684, -0.3724640905857086, -0.050099726766347885, 0.33796992897987366, -0.7449333667755127, -0.45487791299819946, -0.045741498470306396, 0.2922424376010895, 0.4332098066806793, -0.05127909779548645, 0.4288730323314667, -0.16346386075019836, -0.48178282380104065, -0.06459275633096695, 0.4316073954105377, 0.059130627661943436, 0.45264536142349243, 0.31956541538238525, -0.323025107383728, -0.6514648199081421, -0.43028825521469116, -0.15377821028232574, -0.3694647252559662, 0.020781537517905235, 0.33913347125053406, 0.7982957363128662, -0.38760554790496826, 1.076910376548767, -0.5451387763023376, -0.4168742597103119, -0.16471558809280396, -0.2411832958459854, 0.030929721891880035, 0.3825765550136566, 0.4970654845237732, -1.0417981147766113, -0.4226846396923065, -0.23326118290424347, -0.594517707824707, -0.08607082068920135, -0.08136406540870667, 0.3151935040950775, -0.12269774079322815, 0.30446574091911316, -0.4122422933578491, 0.5732536911964417, 0.4998895823955536, -0.4582967162132263, 0.7842273712158203, -0.034632131457328796, 0.014286904595792294, -0.7553125023841858, -0.35471266508102417, 0.546205461025238, -0.2722392678260803, -0.43301868438720703, -0.20042933523654938, -0.12020010501146317, -0.23290316760540009, -0.2504388093948364, 0.8100292682647705, -0.25584980845451355, -0.4866771996021271, -0.18726582825183868, 0.1554734855890274, -0.14859068393707275, 0.1826629936695099, 0.1241096705198288, 0.7996863126754761, 0.68569415807724, -0.7382605671882629, 0.3988681137561798, 0.2668203115463257, -0.4982774257659912, 0.3263843357563019, -0.6957355737686157, 0.028600845485925674, -0.022320855408906937, 0.2480347752571106, -1.0699578523635864, -0.4237101078033447, -0.24824900925159454, -0.2914052903652191, 0.11793416738510132, 0.0614684522151947, -0.3176170885562897, -0.8672614097595215, -0.2955748438835144, -0.2125912457704544, 0.3710879385471344, -0.7521664500236511, 0.20020952820777893, 0.33496400713920593, -0.08310923725366592, -0.14033213257789612, -0.7032602429389954, -0.09990526735782623, -0.47847220301628113, -0.2402542382478714, 0.4366564452648163, -0.42191967368125916, -0.12828794121742249, -0.24804115295410156, -0.39138954877853394, 0.3572813868522644, 0.40570467710494995, 0.7406218647956848, 0.2856502830982208, 0.003220894606783986, 0.056892480701208115, -0.08485724031925201, 0.06234502047300339, 0.3962608873844147, -0.2266579419374466, 0.15772728621959686, -0.09668876975774765, 0.163043811917305, -0.38182663917541504, 0.13484318554401398, 0.4637654721736908, 0.19765621423721313, 0.6951794624328613, 0.36968865990638733, -0.6036098003387451, -0.16142912209033966, -0.16932301223278046, -0.3229326903820038, -0.4751449525356293, 0.2349725365638733, -0.6659849286079407, -0.9047451615333557, 0.46708735823631287, -0.7102558612823486, 0.11896119266748428, 0.2575077712535858, 0.35358554124832153, -0.24999253451824188, 0.9727414846420288, 1.1148980855941772, -0.2618313133716583, 0.4845476746559143, -0.5044591426849365, -0.04428449645638466, -0.8064124584197998, -0.39758816361427307, -0.3663601577281952, -0.35419920086860657, -0.5089487433433533, -0.08019562065601349, 0.04431922361254692, 1.0881773233413696, -0.11980712413787842, 0.4374890625476837, -0.7446014881134033, 0.5935462117195129, 0.27672702074050903, -0.20655781030654907, -0.07680398225784302, 0.09607118368148804, -0.20625197887420654, -0.14179661870002747, -0.3801450729370117, -1.0269052982330322, 1.4101314544677734, 0.5231121182441711, 0.68680340051651, 0.13307620584964752, 0.8440718054771423, 1.0925832986831665, 0.64665287733078, -0.63114333152771, 0.6381602883338928, -0.26108819246292114, -0.5250576734542847, -0.33130696415901184, -0.3060271441936493, -0.6192166209220886, -0.08026665449142456, -0.07148748636245728, -1.0415716171264648, -0.29479193687438965, -0.051978304982185364, -0.2873762547969818, 0.19791767001152039, -0.3804990351200104, 0.7509599328041077, -0.3437858819961548, -0.15236347913742065, -0.12802082300186157, -0.531493067741394, 0.22268356382846832, -0.07415775954723358, 0.4955897927284241, -0.5421081781387329, 0.13705819845199585, 1.1463863849639893, 0.12523016333580017, 0.9947646260261536, -0.36433935165405273, -0.1667366474866867, 0.48895931243896484, -0.36487889289855957, 0.40778714418411255, 0.3574804365634918, -0.44491276144981384, 0.07751847058534622, -0.08171723037958145, -0.6886810660362244, 0.13059309124946594, 0.8459356427192688, -1.0443309545516968, -0.6653661727905273, -0.4541950523853302, -0.36634767055511475, 0.002176327630877495, 0.07760106027126312, 0.2196236401796341, -0.12110507488250732, -0.6887388229370117, -0.2612507939338684, 0.6263309717178345, 0.08636922389268875, 0.3799654245376587, 0.4004206657409668, -0.19771578907966614, -0.42799022793769836, 0.7680500149726868, 0.043526336550712585, 0.47280967235565186, 0.37727174162864685, 0.5024710297584534, -0.7558034658432007, -0.7510755658149719, -0.6434890031814575, 0.032496772706508636, -0.9165442585945129, -0.5352907180786133, -0.022022249177098274, -0.15894414484500885, -0.6368618607521057, -0.6755194067955017, 0.09219084680080414, -0.22342506051063538, -0.8259104490280151, -0.5267760753631592, 0.40741798281669617, 1.1559866666793823, -0.29821979999542236, 0.45767590403556824, -0.3289036452770233, 0.24752257764339447, 0.07304133474826813, 0.1477225422859192, -0.6952111124992371, -0.6229546070098877, -0.17992635071277618, 0.5306984782218933, -0.7177966833114624, -0.6867070198059082, 0.21084709465503693, 0.5562387704849243, 0.35432374477386475, 0.6603719592094421, 0.16340374946594238, 0.4216538369655609, -0.13034583628177643, 1.0078718662261963, 0.6776387095451355, -0.7845097780227661, 0.9738209247589111, -0.2657848596572876, 0.05881496146321297, 0.41403138637542725, 0.581422746181488, -0.13128122687339783, -0.014012143947184086, -0.5328157544136047, -0.3896556496620178, 0.40958288311958313, -0.4225442409515381, 0.15330518782138824, 0.05030272528529167, 0.892399251461029, 0.5458912253379822, -0.06097792461514473, -1.0705984830856323, -0.4853716194629669, 0.09659650176763535, -0.27398431301116943, -0.3485831916332245, -0.291375070810318, 0.06791055202484131, -0.40119823813438416, 0.6309972405433655, -0.23710279166698456, 0.13723812997341156, -0.25420820713043213, 0.2289394736289978, -0.55909264087677, 0.27052101492881775, 0.688889741897583, 0.6548395156860352, -0.21811600029468536, 0.013079934753477573, 0.4005853533744812, -0.5235670208930969, 0.3206876516342163, -0.053110308945178986, -0.25266212224960327, -0.06513027101755142, 0.011415284126996994, 0.41932177543640137, 0.13483454287052155, -0.61382657289505, -0.0027414080686867237, 0.0826062485575676, -0.31786346435546875, -0.5402215719223022, 0.16818290948867798, 0.09222718328237534, 0.15054897964000702, 0.41814330220222473, 0.12123720347881317, -0.0383773036301136, -0.7233482003211975, 0.2259354442358017, 0.12337435781955719, -0.4102267026901245, -0.19905906915664673, 1.0260006189346313, 0.3206256330013275, -0.35139891505241394, 0.380300909280777, -0.19467392563819885, -0.6219714879989624, 0.5718339681625366, 0.808381199836731, 0.31992873549461365, -0.35060927271842957, 0.3706727623939514, 0.5716196298599243, 0.08617834001779556, -0.30524182319641113, 0.6440691947937012, -0.1466522365808487, -0.6059543490409851, -0.1251058727502823, -1.3159236907958984, -0.5033566951751709, 0.21365907788276672, -0.7293992042541504, 0.5756205320358276, -0.738572359085083, -0.23198162019252777, 0.24376986920833588, 0.8315402269363403, -0.8792404532432556, 0.7318522930145264, -0.03924737870693207, 0.6840925812721252, -1.0492247343063354, 1.0802079439163208, 0.8761199116706848, -0.3346157371997833, -0.6240624189376831, -0.5787959694862366, 0.07376137375831604, -0.7973117232322693, 0.6582210659980774, 0.3561508357524872, 0.026749487966299057, 0.1148747131228447, -0.5366258025169373, -0.9536873698234558, 1.3119025230407715, 0.4570189416408539, -0.898252010345459, -0.06275301426649094, 0.48302632570266724, 0.20944809913635254, -0.5125325322151184, -0.36591652035713196, 0.6031050086021423, 0.5681822896003723, -0.04350149631500244, -0.584064781665802, -0.20654414594173431, 0.25326433777809143, -0.11978787928819656, 0.49753516912460327, -0.44056758284568787, 0.8034329414367676, -0.8024190664291382, -0.23447197675704956, 0.2851427495479584, 0.8771328330039978, 0.12878026068210602, 0.4379792809486389, 0.1504870504140854, 0.7791208028793335, 0.9385573267936707, -0.47571632266044617, 1.0786491632461548, -0.1713222861289978, 0.5611538887023926, 0.7307133078575134, -0.020945459604263306, 0.7618326544761658, 0.36262112855911255, -0.7751408815383911, 0.288614422082901, 1.1786949634552002, -0.21692197024822235, 0.6241512894630432, 0.6644778251647949, -0.3550114333629608, -0.06320474296808243, -0.1419631838798523, -0.2758522927761078, 0.5179937481880188, 0.5569626092910767, -0.4076400399208069, 0.08361560106277466, 0.09902121126651764, -0.3004398047924042, 0.30972397327423096, -0.8682699203491211, 0.5438781976699829, 0.29976001381874084, -0.3741951584815979, 0.2983148992061615, 0.43827614188194275, 0.6671758890151978, -0.1926046758890152, -0.14800846576690674, 0.008232059888541698, 0.445178747177124, -0.3160436451435089, -0.8891478776931763, 0.12803129851818085, -0.11794906109571457, -0.34334567189216614, -0.4834945499897003, 0.6409918069839478, -0.5668619275093079, -0.585328221321106, 0.18086034059524536, 0.05909910798072815, 0.7052968144416809, 0.36377912759780884, -0.7912272214889526, -0.1089361235499382, 0.31021445989608765, 0.22406770288944244, 0.37880945205688477, 0.09105810523033142, -0.1892336905002594, 0.7040414214134216, 0.49834349751472473, 0.13329437375068665, 0.12155305594205856, -0.18789982795715332, 0.4183275103569031, -0.7129201292991638, -0.5696389079093933, -0.6332200765609741, 0.21395787596702576, 0.0779658854007721, -0.4943865239620209, 0.7519422769546509, 0.7035143971443176, 1.0737532377243042, 0.03949282690882683, 0.9238801002502441, -0.023595105856657028, 0.14681506156921387, -0.41326087713241577, 0.45459118485450745, -0.23569384217262268, 0.254901260137558, 0.04419444873929024, -1.277930498123169, 0.043784767389297485, 0.8040685653686523, -0.3433085083961487, 0.21886834502220154, 0.10077879577875137, 0.18830911815166473, 0.24937862157821655, 0.3302284777164459, 0.465210884809494, -0.4709106385707855, 0.17952191829681396, 0.5499355792999268, 0.5721964836120605, -0.20094922184944153, -0.06546871364116669, -0.42820093035697937, -0.09606090188026428, -0.3220263421535492, -0.5993666052818298, -0.9994013905525208, -0.4379667043685913, -0.8988761305809021, -0.32547053694725037, 0.1309983730316162, 0.5707811117172241, 0.7203273177146912, -1.047133445739746, -0.28350380063056946, -0.48182642459869385, 0.36155232787132263, 0.018781736493110657, -0.27212217450141907, 0.5026761889457703, 0.33728697896003723, -0.4147648811340332, 0.1834392100572586, 0.005730787292122841, 0.46287861466407776, -0.6029213666915894, -0.6177914142608643, -0.20376978814601898, -0.10083736479282379, 0.4279663562774658, 0.3216618299484253, -1.0197484493255615, -0.7828505635261536, -0.3938244879245758, -0.0023265236523002386, -0.18379639089107513, 0.6353033185005188, -0.7271043062210083, -0.16991859674453735, -0.2511122226715088, 0.3387666940689087, 0.5105927586555481, -0.0019380456069484353, 0.38114574551582336, -0.7539008259773254, -0.1779576987028122, 0.2615469992160797, 0.5110878944396973, 0.6342056393623352, -0.5387982726097107, 0.7786183953285217, 0.0723562240600586, -0.4820129871368408, -0.7315823435783386, 0.36315110325813293, -0.9245332479476929, -0.0720108151435852, 0.9795776009559631, -0.4860553443431854, 0.09942606091499329, -0.0021486280020326376, -0.06193723902106285, 0.14287300407886505, -0.3055907189846039, 0.9101873636245728, 0.6815487742424011, -0.29604390263557434, -0.32534998655319214, -0.5219440460205078, 0.6936970949172974, 0.03756585717201233, -0.839085578918457, 0.015795299783349037, 0.6385203003883362, 0.5102519989013672, -0.017226118594408035, 0.5000400543212891, 0.28906938433647156, 0.1642744541168213, 0.013740230351686478, 0.13995465636253357, 0.25523361563682556, -0.5348737239837646, -0.10670944303274155, 0.04310400411486626, 0.1672680675983429, 0.018012361600995064 ]
http://arxiv.org/abs/2403.05574v2
http://arxiv.org/pdf/2403.05574v2
HealMe: Harnessing Cognitive Reframing in Large Language Models for Psychotherapy
2024-02-26T09:10:34
2024-03-22T07:34:38
Mengxi Xiao, Qianqian Xie, Ziyan Kuang, Zhicheng Liu, Kailai Yang, Min Peng, Weiguang Han, Jimin Huang
cs.HC
cs.HC, cs.AI, cs.CL, J.4
Large Language Models (LLMs) can play a vital role in psychotherapy by adeptly handling the crucial task of cognitive reframing and overcoming challenges such as shame, distrust, therapist skill variability, and resource scarcity. Previous LLMs in cognitive reframing mainly converted negative emotions to positive ones, but these approaches have limited efficacy, often not promoting clients' self-discovery of alternative perspectives. In this paper, we unveil the Helping and Empowering through Adaptive Language in Mental Enhancement (HealMe) model. This novel cognitive reframing therapy method effectively addresses deep-rooted negative thoughts and fosters rational, balanced perspectives. Diverging from traditional LLM methods, HealMe employs empathetic dialogue based on psychotherapeutic frameworks. It systematically guides clients through distinguishing circumstances from feelings, brainstorming alternative viewpoints, and developing empathetic, actionable suggestions. Moreover, we adopt the first comprehensive and expertly crafted psychological evaluation metrics, specifically designed to rigorously assess the performance of cognitive reframing, in both AI-simulated dialogues and real-world therapeutic conversations. Experimental results show that our model outperforms others in terms of empathy, guidance, and logical coherence, demonstrating its effectiveness and potential positive impact on psychotherapy.
[ -0.32457152009010315, -0.9113144278526306, 0.7403972148895264, 0.16720977425575256, -0.3050910234451294, 0.010345995426177979, -0.48037803173065186, -0.5766674876213074, 0.410189688205719, 0.554253339767456, -0.6702014803886414, -0.325033962726593, -0.8105151057243347, 0.05758165195584297, 0.06834807991981506, 0.8236086368560791, 0.11359450966119766, 0.4923058748245239, 0.026986094191670418, -0.3762383460998535, -1.030571699142456, -0.1309753656387329, -0.9223061203956604, -0.6261892318725586, 0.362911581993103, 0.4040490388870239, 0.5159758925437927, 0.04331377148628235, 0.3530794680118561, 0.30718129873275757, 0.2179509550333023, 0.006890775635838509, -0.5395476818084717, 0.3393150568008423, -0.6476828455924988, -0.7153753638267517, -0.5971918106079102, 0.16358323395252228, 0.252414733171463, 0.4922979176044464, -0.6959701776504517, 0.09894728660583496, -0.10484062880277634, 0.5134058594703674, -0.5521019101142883, 0.03891463950276375, -0.9113878607749939, 0.0016052783466875553, 0.07121194154024124, 0.055574677884578705, -0.5447564721107483, -0.2491905689239502, 0.13474109768867493, -0.44484743475914, -0.06067271903157234, 0.08316868543624878, 0.31897637248039246, 0.4429580271244049, -0.5094845294952393, -0.14796122908592224, -0.7031636834144592, 0.9834486246109009, -1.0557502508163452, 0.3835636377334595, 0.3533796966075897, 0.5119335055351257, -0.17062406241893768, -0.6407172083854675, -0.2974953353404999, -0.23271121084690094, 0.0036696160677820444, 0.3248819410800934, -0.34591013193130493, 0.09039479494094849, 0.2638336718082428, 0.5169396996498108, -0.036524590104818344, 0.07937481999397278, -0.090569868683815, -0.2502524256706238, 0.45214787125587463, 0.4653487205505371, 0.40949690341949463, 0.21944226324558258, -0.3944190442562103, 0.22989816963672638, -0.24133148789405823, -0.14120295643806458, -0.5165191292762756, 0.18580560386180878, -0.08680492639541626, 0.21004094183444977, -0.057737912982702255, 0.440274178981781, 0.08877529948949814, -0.4885152280330658, -0.10392475128173828, 0.0864710882306099, -0.39750343561172485, 0.1424073725938797, 0.4165634214878082, 0.6124283075332642, 0.10961014032363892, -0.16478833556175232, 0.11607532203197479, 0.27242511510849, 0.7797272801399231, -1.0164474248886108, -0.12885406613349915, 0.15484409034252167, -0.4034906029701233, -0.23232266306877136, -0.6632153987884521, -0.8461978435516357, -0.528072714805603, -0.2720022201538086, 0.2547873556613922, -0.7138116359710693, -0.42003804445266724, 0.43484556674957275, -0.021475480869412422, 0.22330045700073242, 0.5366498231887817, -0.7394993901252747, 0.4467211067676544, 0.4328652024269104, 0.5916439294815063, 0.37241673469543457, -0.06079835444688797, -0.3927731215953827, 0.23706617951393127, -0.16263531148433685, 0.8126450181007385, -0.8674672842025757, -0.16773132979869843, -0.17337295413017273, 0.1688779592514038, 0.07779952883720398, -0.3126395642757416, 0.7575948238372803, -0.36479711532592773, 0.3895012438297272, -0.17565879225730896, -0.6002923250198364, -0.38132792711257935, 0.6585499048233032, -0.3666319251060486, 0.4497194290161133, 0.289364218711853, -0.6044279336929321, 0.1954316943883896, -0.6165493130683899, -0.3509252071380615, 0.15255849063396454, -0.001458451384678483, -0.11620907485485077, 0.6265497803688049, 0.13149023056030273, 0.164251446723938, -0.8900518417358398, 0.19790875911712646, -0.5829747319221497, -0.046695586293935776, 0.32565736770629883, -0.5199374556541443, 0.534786581993103, 0.19134421646595, -0.265730082988739, 0.1980719268321991, -0.6014825701713562, 0.28294357657432556, 0.23670335114002228, -0.12191303819417953, -0.5952702164649963, -0.3632359206676483, -0.0630720779299736, 0.3190074563026428, 0.05032467842102051, -0.7721560001373291, 0.14859136939048767, -0.7080414295196533, 0.6156163215637207, 0.49579012393951416, 0.17201359570026398, 0.34710806608200073, -0.4014229476451874, 0.6978520750999451, -0.12966519594192505, 0.16580703854560852, -0.34379562735557556, -0.41092509031295776, -0.4329912066459656, -0.6400875449180603, -0.1870039403438568, 0.4201945960521698, -0.5173501372337341, 0.028041550889611244, 0.0897313579916954, -0.7864555716514587, -1.094668984413147, -0.04128701612353325, 0.36891114711761475, 0.8693279027938843, 0.5883457660675049, -0.4914548099040985, -0.4126049876213074, -1.0665247440338135, -0.44500651955604553, 0.14804351329803467, 0.13707242906093597, 0.3718591034412384, 0.15133142471313477, -0.538006603717804, 0.4162084758281708, -0.5090479254722595, -0.25785669684410095, -0.06504330784082413, -0.15632350742816925, 0.08508360385894775, 0.2638170123100281, 0.25435876846313477, -0.2487824708223343, -0.20923028886318207, -0.2821027934551239, -0.6755783557891846, -0.1053612232208252, -0.3077983260154724, -0.32811108231544495, 0.009407933801412582, 0.2502744793891907, -0.3123880922794342, 0.3806551694869995, 0.36929911375045776, -0.6354012489318848, 0.2603703737258911, -0.33083024621009827, 0.37163519859313965, -1.1716980934143066, -0.03811124339699745, -0.2161223441362381, -0.3229946792125702, -0.5000999569892883, 0.11583534628152847, -0.08689109981060028, 0.013755198568105698, -0.25101909041404724, 0.5033684968948364, -0.4252460300922394, 0.3964661657810211, -0.5740265846252441, 0.4680134356021881, 0.021877694875001907, 0.4764953851699829, -0.02700112760066986, 0.07757909595966339, 0.40276220440864563, -0.11688269674777985, 0.6081509590148926, 0.24879077076911926, -0.2759152948856354, 1.112830638885498, -0.3533812165260315, 0.3302946090698242, 0.03622276708483696, 0.5986181497573853, -0.7951536178588867, 0.0651136115193367, 0.1787380576133728, -0.09422926604747772, 0.3112044930458069, -0.029305126518011093, -0.012284958735108376, -0.22714360058307648, -0.19447767734527588, 0.7412189841270447, 0.4962575137615204, -0.3892413079738617, 0.5434994101524353, 0.2695608139038086, -0.08658241480588913, -0.36549291014671326, -0.7288135290145874, 0.34080150723457336, -0.40875566005706787, -0.6825016140937805, 0.33260872960090637, -0.24206148087978363, -0.3565705418586731, -0.194600448012352, 0.1420454978942871, 0.20578154921531677, 0.2141236513853073, 0.16798296570777893, 0.0901980996131897, -0.12142191082239151, 0.23296557366847992, 0.22276732325553894, -0.4556494951248169, 0.14635267853736877, -0.24683180451393127, 0.5208622217178345, -0.36490437388420105, -0.569884717464447, -0.4210606813430786, 0.3195433020591736, 0.8100520968437195, -0.32684049010276794, 0.8136981725692749, 0.8211231827735901, -0.5630260109901428, -0.1880200356245041, -0.7952957153320312, -0.42397642135620117, -0.35822126269340515, 0.5577945113182068, -0.2695299983024597, -0.9394489526748657, 0.39571458101272583, -0.4057377278804779, -0.005315580405294895, -0.12041716277599335, 0.840940535068512, 0.20833927392959595, 0.9597789645195007, 0.5545236468315125, -0.13279852271080017, 0.5351677536964417, 0.055013447999954224, 0.3855087161064148, -1.2305420637130737, -0.0031307849567383528, 0.024414585903286934, -0.4787046015262604, -0.31983712315559387, -0.3964563012123108, 0.10756188631057739, 0.18323633074760437, -0.5385814905166626, -0.1364382654428482, -0.7530004382133484, 0.08809331059455872, 0.22285427153110504, 0.4284065365791321, 0.39247339963912964, -0.16147851943969727, -0.04342057555913925, -0.6259220838546753, -0.4973369538784027, -0.5204387903213501, 0.8139254450798035, 0.4934932291507721, 0.5864393711090088, 0.2550922930240631, 0.46937069296836853, 0.04699292778968811, 1.1428223848342896, -1.169897198677063, 0.4033651351928711, 0.2391081601381302, -0.6522734761238098, -0.054643675684928894, -0.16708238422870636, -0.9210877418518066, 0.3869273066520691, -0.28338882327079773, -0.7618314623832703, 0.0048926896415650845, -0.027673816308379173, -0.2923319339752197, 0.38063910603523254, -0.6520613431930542, 0.7602859735488892, -0.24310515820980072, -0.33153975009918213, -0.9197526574134827, -0.42757707834243774, 0.5497941374778748, -0.1368013322353363, 0.5062648057937622, -0.18129342794418335, -0.19470950961112976, 0.412346214056015, -0.4289763867855072, 0.8002122640609741, -0.34543299674987793, -0.2357141226530075, 0.11819592118263245, 0.5713458061218262, 0.21464617550373077, 0.15053506195545197, -0.2861853837966919, -0.043408725410699844, 0.1941847801208496, -0.6405267119407654, -0.8478309512138367, 0.8031209111213684, -0.44992056488990784, -0.9126515984535217, -0.1132611334323883, -0.603900134563446, -0.5445088744163513, 0.3704459071159363, -0.15325668454170227, 0.3844677209854126, -0.5298969149589539, -0.09163486212491989, 0.28795915842056274, -0.5579450130462646, 0.09518913924694061, 1.1741713285446167, -0.3903709053993225, -0.8156585693359375, 0.6295313239097595, -0.17816950380802155, 0.46847236156463623, 0.13261961936950684, 0.3838571608066559, 0.11316857486963272, -0.39180803298950195, 0.07288938015699387, 0.40532439947128296, -0.6652516722679138, -0.35379666090011597, -0.17562514543533325, 0.08362668752670288, -0.2942269742488861, -0.3352019190788269, -0.48768487572669983, -0.30578097701072693, 0.3480032980442047, -0.2859332263469696, 0.4861237406730652, 0.5685876607894897, -0.15034456551074982, -0.014115139842033386, -0.7883281707763672, 0.11518649011850357, 0.1463770866394043, 0.4355776906013489, 0.4783768057823181, -0.6442731618881226, -0.419376015663147, 0.28269052505493164, -0.39548856019973755, -0.9105643033981323, 0.571047306060791, -0.1380283534526825, 0.32026320695877075, 0.37563639879226685, 0.04614061862230301, 0.554500937461853, -0.49880141019821167, 0.5897860527038574, 0.4325252175331116, -0.6623161435127258, 0.7157770395278931, -0.28570058941841125, 0.4484502673149109, 0.5239155292510986, -0.0904432013630867, -0.9222709536552429, -0.4798692762851715, -0.6487845778465271, -0.8532086610794067, 0.6283924579620361, -0.2307993769645691, 0.3054286539554596, -0.2366105169057846, 0.7148043513298035, -0.035751618444919586, 0.13655714690685272, -0.5424612164497375, -0.01165054365992546, -0.10920116305351257, -0.5796415209770203, 0.03305777907371521, -0.2567596137523651, -0.6459888815879822, -0.19140630960464478, 0.7033771872520447, -0.08170640468597412, 0.3984283208847046, 0.43226760625839233, -0.013071127235889435, -0.30552729964256287, 0.4718475341796875, 0.421438992023468, 0.10130330175161362, 0.022776683792471886, 0.20912013947963715, 0.6715095639228821, -0.44396406412124634, 0.02786444127559662, -0.10258873552083969, 0.44016462564468384, -0.5890141129493713, 0.6401503682136536, 0.5611503720283508, 0.4075925946235657, -0.6392184495925903, 0.21627122163772583, -0.29844337701797485, 0.2534606456756592, -0.2284952700138092, 0.10089529305696487, 0.43903976678848267, 0.6690132021903992, -0.15052223205566406, 0.17893870174884796, 0.12163745611906052, -0.7232476472854614, -0.024323156103491783, 0.46928682923316956, -0.7408991456031799, -0.3577048182487488, 0.46795377135276794, 0.18072734773159027, -0.6708172559738159, 0.8373730182647705, 0.2903115153312683, -0.43629321455955505, 0.29394567012786865, 0.9412534236907959, 0.9514203071594238, -0.3967617452144623, -0.08151817321777344, 0.2955070436000824, 0.30878546833992004, 0.20847316086292267, -0.0425141341984272, -0.054072070866823196, -1.0658639669418335, -0.2176680862903595, -0.5146231055259705, -0.3122749924659729, 0.009609158150851727, -1.001346468925476, -0.08738449960947037, -0.5444539785385132, -0.3447674810886383, -0.20353765785694122, 0.12833081185817719, -0.618406355381012, 0.2855864465236664, 0.2839914560317993, 1.071967601776123, -0.5694296956062317, 0.900600016117096, 0.8475168943405151, -0.4000285267829895, -0.7846798896789551, -0.193191260099411, 0.1954452246427536, -1.1682435274124146, 0.1042415127158165, 0.02600325085222721, -0.2992735803127289, 0.012944212183356285, -0.420768141746521, -0.6646844744682312, 1.4713290929794312, 0.7294213175773621, -0.4353064298629761, 0.23408369719982147, -0.09605512022972107, 0.8381617665290833, -0.6363542675971985, 0.6709426641464233, 0.7206574082374573, 0.5700907111167908, -0.07000064104795456, -0.7160802483558655, 0.6189002990722656, -0.30185988545417786, -0.07230839878320694, 0.11840444058179855, -1.0037007331848145, 0.000427717313868925, -0.29365259408950806, -0.07430680841207504, 0.05412694811820984, 0.21496105194091797, 0.20244018733501434, 0.3308175504207611, 0.4861423671245575, 0.7590364217758179, 1.0177432298660278, 0.15595699846744537, 1.021385908126831, -0.5506703853607178, 0.0093700485303998, 1.287356972694397, -0.19675539433956146, 0.7284151911735535, 0.511476457118988, -0.009531869553029537, 0.7019192576408386, 0.35291996598243713, 0.0879409909248352, 0.36780574917793274, 0.09125541150569916, -0.5048408508300781, -0.3795100152492523, -0.3511919379234314, -0.1351645290851593, 0.1544487476348877, 0.5521633625030518, -0.35989445447921753, -0.06672204285860062, 0.2764020562171936, 0.2598806917667389, 0.3216341435909271, -0.19395725429058075, 0.7000755667686462, 0.6524789929389954, -0.683901846408844, 0.5484688878059387, 0.12899786233901978, 0.4450431764125824, -0.5305068492889404, -0.050229381769895554, -0.27567341923713684, 0.5623750686645508, -0.3172926902770996, -0.6275051236152649, 0.489097535610199, -0.2247798591852188, -0.3473934531211853, -0.3892253339290619, 0.8167855739593506, -0.4267083704471588, -0.36207547783851624, 0.6930596828460693, 0.3514612317085266, -0.04894278198480606, -0.03227824717760086, -0.8869701027870178, -0.04220208153128624, 0.09508610516786575, -0.192345529794693, 0.4080318808555603, 0.6336016058921814, 0.026580989360809326, 0.9132151007652283, 0.3600634038448334, -0.09364266693592072, -0.5847477316856384, 0.3244931697845459, 0.7343882322311401, -0.9400418996810913, -0.10366344451904297, -0.9021954536437988, 0.5639510750770569, 0.05777948349714279, -0.11025246232748032, 0.729292631149292, 0.1062779426574707, 0.42649731040000916, 0.19554908573627472, 0.46503642201423645, 0.20251913368701935, 0.35937821865081787, -0.2602582573890686, 0.5033139586448669, -0.49894002079963684, 0.4745045006275177, -0.36205190420150757, -0.7203219532966614, -0.28166037797927856, 0.6486862301826477, -0.6899856925010681, 0.03915717452764511, 0.7329779267311096, 0.6991952657699585, 0.1898864507675171, 0.37556177377700806, 0.4546971321105957, 0.8391066789627075, 0.5223773717880249, 0.9770965576171875, 0.8806445598602295, -0.29173868894577026, 0.14659737050533295, 0.010953661054372787, -0.596088707447052, 0.10382512211799622, -0.6949422955513, -0.5990118384361267, -0.18323583900928497, -0.15710821747779846, -0.45410871505737305, -0.26712533831596375, 1.1212913990020752, 0.6042392253875732, -0.5165040493011475, 0.05808713287115097, -0.019575800746679306, 0.10664741694927216, -0.20824924111366272, -0.25806933641433716, -0.0608941912651062, -0.31974083185195923, -0.3657922148704529, 0.4808453619480133, 0.6292499303817749, -0.31968843936920166, -0.3375076949596405, -0.07832295447587967, 0.059617746621370316, 0.4735521376132965, 0.5801082849502563, -0.10953819006681442, -0.6212462782859802, -0.36373353004455566, -0.3302425742149353, -0.02193007618188858, 0.13836371898651123, 0.8298534750938416, -0.9191665053367615, 0.7552501559257507, -0.16654346883296967, 0.5039538145065308, 0.6750971078872681, -0.2622133195400238, 1.0721508264541626, 0.07889305800199509, 0.24195364117622375, 0.2709352374076843, 0.49528419971466064, 0.2658703923225403, -0.43590644001960754, 0.36991938948631287, 0.052694424986839294, -0.5599495768547058, -0.735798716545105, 0.5648311376571655, -0.7841660976409912, -0.43041953444480896, 0.7336147427558899, -0.3045419156551361, -0.13469646871089935, 0.017487965524196625, -0.821109414100647, 0.2069835066795349, -0.13033179938793182, 1.0068080425262451, 0.7339453101158142, -0.27398574352264404, -0.13663135468959808, -0.3005691170692444, 0.355543315410614, 0.7467835545539856, -0.7074779272079468, 0.17162810266017914, 0.5119963884353638, 0.611553966999054, 0.030719934031367302, 0.7423586249351501, -0.26798301935195923, -0.03518537059426308, -0.07082906365394592, 0.10556595772504807, 0.011565013788640499, 0.3403950035572052, -0.40130481123924255, -0.06946714967489243, 0.26576024293899536, 0.4915527105331421 ]
http://arxiv.org/abs/2402.16406v1
http://arxiv.org/pdf/2402.16406v1
From RAGs to riches: Using large language models to write documents for clinical trials
2024-02-26T08:59:05
2024-02-26T08:59:05
Nigel Markey, Ilyass El-Mansouri, Gaetan Rensonnet, Casper van Langen, Christoph Meier
cs.CL
cs.CL
Clinical trials require numerous documents to be written -- protocols, consent forms, clinical study reports and others. Large language models (LLMs) offer the potential to rapidly generate first versions of these documents, however there are concerns about the quality of their output Here we report an evaluation of LLMs in generating parts of one such document, clinical trial protocols. We find that an offthe-shelf LLM delivers reasonable results, especially when assessing content relevance and the correct use of terminology. However, deficiencies remain: specifically clinical thinking and logic, and appropriate use of references. To improve performance, we used retrieval-augmented generation (RAG) to prompt an LLM with accurate up-to-date information. As a result of using RAG, the writing quality of the LLM improves substantially, which has implications for the practical useability of LLMs in clinical trial-related writing.
[ 0.26309388875961304, -0.3646027445793152, 0.8891058564186096, 0.13725091516971588, -0.2513686716556549, 0.0021274336613714695, -0.25845128297805786, -0.36426565051078796, 0.495089590549469, 0.9272223114967346, 0.1936921775341034, -0.39015334844589233, -0.8520604372024536, 0.1784282624721527, -0.5968138575553894, 1.150398850440979, -0.1184544712305069, 0.4354804456233978, -0.20243316888809204, -0.17009708285331726, -0.3685746192932129, -0.4116206467151642, -0.6391796469688416, -0.40254244208335876, 0.8808661103248596, 0.40983226895332336, 0.5374219417572021, 0.5480590462684631, 0.9870638251304626, 0.3224579095840454, 0.05497552454471588, 0.039428289979696274, -0.9108608365058899, 0.39887258410453796, -0.22663259506225586, -0.5519590973854065, -0.7184454798698425, 0.05740673094987869, 0.4369998276233673, 0.7653173804283142, -0.31566888093948364, 0.08127652853727341, -0.19166895747184753, 0.7488966584205627, -0.6502380967140198, -0.1442040652036667, -0.6312873363494873, -0.07508149743080139, -0.35591360926628113, -0.5102642774581909, -0.6588851809501648, -0.36581936478614807, 0.15611395239830017, -0.6601845026016235, 0.32801151275634766, 0.050969064235687256, 0.8020431399345398, -0.3391033113002777, -0.23137696087360382, -1.0434489250183105, -0.7245904207229614, 0.6573469638824463, -1.0550119876861572, 0.14994369447231293, 0.5486854910850525, 0.33301371335983276, -0.4487740695476532, -1.1679284572601318, -0.38526543974876404, -0.7213850021362305, -0.17440710961818695, 0.22329875826835632, 0.2565213739871979, 0.07921053469181061, 0.40114283561706543, 0.5827757716178894, -0.4306563436985016, 0.07280409336090088, -0.4636565148830414, -0.09264931082725525, 0.8363989591598511, 0.44122231006622314, 0.14139336347579956, -0.10332046449184418, -0.017520496621727943, -0.14117051661014557, -0.9977778196334839, -0.3772183060646057, 0.14508043229579926, 0.45728376507759094, 0.234223410487175, 1.0198636054992676, -0.009115776978433132, 0.4457351565361023, -0.3291721045970917, -0.6964212656021118, -0.06856942176818848, -0.4172342121601105, -0.33067867159843445, -0.03405856713652611, 0.4681210517883301, 0.4939078092575073, 0.17384010553359985, -0.38839486241340637, -0.5872765779495239, -0.07624662667512894, 0.6209166646003723, -0.869049072265625, -0.09204528480768204, 0.330870121717453, -0.6862812638282776, -0.40055662393569946, -0.2083646059036255, -0.49029895663261414, -0.7631650567054749, -0.2960679531097412, 0.7490921020507812, -0.4442240595817566, -0.01201917976140976, 0.2574796676635742, -0.5429834723472595, 0.07285600155591965, 0.46619388461112976, -0.5868692398071289, 0.4756329357624054, 0.4965037405490875, 0.7756339907646179, 0.10233617573976517, 0.05788156017661095, -0.9304554462432861, 0.3817194104194641, -0.5567166209220886, 0.7470138669013977, -0.07135283946990967, -0.7798816561698914, 0.3012642562389374, -0.1832505464553833, 0.16768264770507812, -0.5930981040000916, 0.6133261322975159, -0.5596460700035095, 0.038509827107191086, -0.275382936000824, -0.9242966771125793, 0.5649492740631104, 0.035038236528635025, -0.5507501363754272, 0.4166397154331207, 0.3378818929195404, -0.6270590424537659, 0.4716367721557617, -0.329170823097229, -0.6493735313415527, 0.3622203767299652, -0.2420690655708313, -0.43319419026374817, 0.5234877467155457, -0.2810112535953522, 0.4237314462661743, -0.3423280119895935, 0.2764874994754791, -0.1743493676185608, -0.24290713667869568, 0.5392261743545532, 0.014739098027348518, 0.42076048254966736, 0.34135711193084717, -0.19872339069843292, -0.26160791516304016, -0.7240206003189087, -0.26242464780807495, 0.26150083541870117, -0.5636947154998779, -0.3819824159145355, -0.10857381671667099, 0.26628270745277405, -0.08264446258544922, 0.006478986702859402, -0.6891397833824158, 0.2030036449432373, -0.38498660922050476, 0.31193792819976807, 0.38434404134750366, -0.059817589819431305, 0.17142531275749207, -0.7632731199264526, 0.4052240550518036, -0.3736792802810669, -0.02288469858467579, -0.22677339613437653, -0.3276873528957367, -0.9269525408744812, -0.05059065669775009, 0.6806170344352722, 0.18621329963207245, -0.6448405385017395, 0.014303193427622318, -0.24902448058128357, -0.5991971492767334, -0.17309170961380005, 0.026369161903858185, 0.5025901794433594, 0.5632121562957764, 0.081358902156353, -0.4939132034778595, -0.436134934425354, -0.8058292865753174, -0.3258993923664093, -0.10570507496595383, -0.010522100143134594, 0.4398730993270874, 0.818394124507904, -0.006967469118535519, 0.6384081244468689, -0.6360671520233154, -0.5670915842056274, -0.3188517987728119, 0.35659754276275635, 0.01837022602558136, 0.2582068145275116, 0.46000760793685913, -0.50411456823349, -0.36074936389923096, -0.05886754393577576, -0.4471081495285034, -0.18824559450149536, -0.2840834856033325, -0.026425931602716446, 0.2268925905227661, 0.7285767197608948, -0.4883248209953308, 0.4328967332839966, 0.3819400370121002, -0.3425499498844147, 0.7204146385192871, -0.7128472328186035, 0.2567918300628662, -0.9182734489440918, 0.530316948890686, -0.007415677420794964, -0.43372222781181335, -0.5368621945381165, 0.0460001602768898, 0.21803796291351318, -0.12868282198905945, -0.18382732570171356, 0.5998194813728333, -0.6288895606994629, 0.024107379838824272, -0.4333963692188263, 0.3221680223941803, 0.17026767134666443, -0.28723761439323425, 0.0024483795277774334, 0.7381113767623901, 0.20141065120697021, -0.4075717031955719, 0.13347788155078888, 0.33649125695228577, -0.375876784324646, 0.24624383449554443, -0.7378581166267395, -0.09856762737035751, -0.1565033495426178, 0.10596715658903122, -0.8974538445472717, -0.5200801491737366, -0.430528849363327, -0.4415472745895386, 0.6831159591674805, 0.018699849024415016, -0.5456052422523499, -0.3167016804218292, -0.2800508141517639, -0.16731882095336914, 0.623417317867279, 0.04995294287800789, 0.417666494846344, 0.45173144340515137, -0.5270853042602539, -0.31180205941200256, -0.6579667925834656, 0.4437057673931122, -0.004310411401093006, -0.38018617033958435, 0.13344693183898926, 0.07988861948251724, -0.35423552989959717, -0.12703531980514526, 0.24244461953639984, -0.07480031251907349, -0.061656564474105835, 0.008277147077023983, 0.12949921190738678, -0.3027985692024231, 0.21907861530780792, -0.11265499889850616, 0.05339640751481056, 0.02626330591738224, 0.29359468817710876, 0.36451977491378784, 0.3773082494735718, -0.2826104164123535, 0.2507891058921814, 0.6665353775024414, 0.5147932767868042, -0.015624357387423515, 0.6663060784339905, 0.05229118838906288, -0.2812090218067169, -0.3894698917865753, -0.8194357752799988, -0.16681279242038727, -0.4037570655345917, 0.2674485743045807, 0.05720798298716545, -0.6982985734939575, 0.33491483330726624, -0.1956247091293335, 0.1307898610830307, 0.38362255692481995, 0.7560633420944214, -0.19806602597236633, 0.5975559949874878, 0.635315477848053, 0.4316328465938568, 0.18515831232070923, -0.22828078269958496, 0.23601192235946655, -0.8604487180709839, -0.0722292810678482, -0.6947601437568665, -0.025271518155932426, -0.30515822768211365, -0.8176637887954712, 0.7284597158432007, 0.07547151297330856, 0.04370174556970596, 0.15866462886333466, -0.20013640820980072, 0.26310715079307556, 0.4768276512622833, 0.17698368430137634, 0.5304981470108032, -0.12915031611919403, 0.02452770434319973, -0.18149970471858978, -0.8235365748405457, -0.928362250328064, 1.5360476970672607, 0.36323902010917664, 0.9203311204910278, 0.021051106974482536, 0.6440695524215698, 0.17503413558006287, 0.9634339809417725, -0.598924458026886, 0.41073077917099, -0.3651353120803833, -0.6375853419303894, -0.21054328978061676, -0.2884395718574524, -1.0548115968704224, -0.04487927258014679, -0.47655189037323, -0.28759756684303284, -0.030297134071588516, -0.030449537560343742, -0.6156922578811646, -0.07375188916921616, -0.4831406772136688, 0.5170588493347168, -0.20931094884872437, -0.3195814788341522, -0.2008550614118576, -0.586519718170166, 0.44668182730674744, -0.43696388602256775, 0.1340211182832718, 0.16888783872127533, -0.16443540155887604, 0.7924392819404602, -0.5057351589202881, 0.6489041447639465, 0.31155067682266235, -0.13595795631408691, 0.2871965169906616, 0.16835249960422516, 0.5742766261100769, 0.15327322483062744, -0.07393799722194672, -0.28175416588783264, 0.05142442137002945, -0.26759976148605347, -0.339743047952652, 0.6252384185791016, -0.4256986379623413, -0.589266300201416, -0.505409300327301, -0.7601504921913147, -0.3405560851097107, 0.31023693084716797, 0.1785886138677597, 0.9408624172210693, -0.41094470024108887, 0.3493064045906067, 0.6178273558616638, -0.6056053042411804, 0.05806587636470795, 0.7651382684707642, -0.1873352974653244, -0.5565456748008728, 0.6260471940040588, 0.2265160083770752, 0.7030085325241089, 0.1745581030845642, 0.27178919315338135, -0.20104514062404633, -1.0231828689575195, -0.1883447915315628, 0.6592400670051575, -0.7257512807846069, -0.2182646095752716, -0.755292534828186, -0.27282848954200745, -0.956824779510498, -0.325652152299881, -0.3937854468822479, -0.5010106563568115, -0.08544589579105377, 0.3585139811038971, 0.25365203619003296, 0.911101758480072, -0.09159737825393677, 0.32667988538742065, -1.0555413961410522, 0.43986523151397705, 0.053396545350551605, 0.3444331884384155, -0.15409502387046814, -0.6551886200904846, -0.42593294382095337, -0.1716957539319992, -0.44757768511772156, -0.7040190696716309, 0.4517553746700287, 0.041087839752435684, 0.5161131620407104, 0.26403480768203735, -0.08026488125324249, 0.509723424911499, -0.6658942103385925, 0.7332772612571716, 0.25037306547164917, -0.5831798911094666, 0.5496459603309631, -0.6255844235420227, -0.13818661868572235, 0.6219613552093506, 0.30910825729370117, -0.41367655992507935, -0.6907090544700623, -0.6503517031669617, -0.8208872079849243, 0.4197632372379303, 0.39502522349357605, 0.023694036528468132, 0.013911967165768147, 0.2951350808143616, 0.17385217547416687, 0.38016653060913086, -0.3732733726501465, -0.041389916092157364, 0.3438473343849182, 0.03622761368751526, -0.32343220710754395, -0.6223610043525696, -0.5264956951141357, 0.12856559455394745, 0.6313186883926392, -0.048598531633615494, -0.08197317272424698, 0.6145057678222656, -0.0018854544032365084, -0.22641737759113312, 0.1565277874469757, 0.6667834520339966, 1.2219327688217163, -0.2501232624053955, -0.10764245688915253, -0.09849951416254044, -0.6905896067619324, -0.1149248331785202, 0.05729033797979355, -0.03240808844566345, 0.13172811269760132, 0.7400597929954529, 0.40575504302978516, 0.1181049570441246, -1.0905890464782715, 0.6584498286247253, -0.19505161046981812, -0.274111807346344, -0.15202629566192627, 0.06624161452054977, 0.29395410418510437, 0.03298962861299515, 0.0835522711277008, -0.17235037684440613, 0.31400567293167114, -0.6208211183547974, 0.20172123610973358, 0.3725481629371643, -0.02790660969913006, 0.24842095375061035, 0.5615997910499573, 0.26200783252716064, -0.2388308346271515, 0.5222007036209106, 0.05862940102815628, -0.06397701799869537, 0.5627427101135254, 0.695614755153656, 0.6305349469184875, 0.09585626423358917, 0.29272446036338806, 0.36537855863571167, 0.2973904311656952, -0.3548251688480377, 0.09542107582092285, 0.42375537753105164, -0.4235897362232208, -0.5563510060310364, -0.7953495383262634, -0.6457451581954956, 0.29311662912368774, -0.36631783843040466, 0.4065842032432556, -0.17781388759613037, -0.23521889746189117, 0.24182510375976562, -0.03352426737546921, -0.4189043641090393, 0.19020511209964752, 0.01014107558876276, 1.1499578952789307, -0.6725412011146545, 0.5658707618713379, 0.5723177194595337, -0.4864930212497711, -0.9127931594848633, -0.40009304881095886, -0.3311837613582611, -0.5898979306221008, 0.6623844504356384, -0.34190601110458374, 0.25270599126815796, -0.3859615921974182, -0.4228280782699585, -0.8204788565635681, 1.0515048503875732, 0.14132018387317657, -0.7113898992538452, -0.08833647519350052, 0.37274986505508423, 0.7806060910224915, -0.359857976436615, 0.1879042237997055, 0.5378014445304871, 0.23256917297840118, 0.30102774500846863, -1.1000100374221802, -0.12630461156368256, -0.1505260169506073, 0.024524973705410957, 0.043110523372888565, -0.302068829536438, 0.9657302498817444, -0.5608590841293335, -0.03983225300908089, 0.5370286107063293, 0.39943546056747437, 0.47781437635421753, 0.4752410054206848, 0.1393767148256302, 0.4679953455924988, 0.6020517945289612, -0.051996201276779175, 1.3610589504241943, -0.1691618412733078, 0.3141036331653595, 1.0183165073394775, -0.6504291892051697, 0.601188063621521, 0.49177825450897217, -0.10190071910619736, 0.03497431427240372, 0.12848366796970367, 0.2382918745279312, 0.38896146416664124, 0.5796451568603516, -0.16282016038894653, -0.1475067436695099, -0.07645286619663239, -0.3944726884365082, 0.028361434116959572, 0.41516074538230896, -0.7831786870956421, -0.3449487090110779, 0.08980539441108704, 0.16276195645332336, 0.25600188970565796, -0.09313417971134186, 0.7626758217811584, 0.3575173616409302, -0.7732371687889099, 0.37917348742485046, 0.05564183369278908, 0.13816167414188385, -0.8759093284606934, -0.2515186071395874, -0.2327922135591507, 0.4221040904521942, -0.09182364493608475, -0.7228432893753052, 0.27034762501716614, 0.20921547710895538, 0.05112417787313461, -0.11814554035663605, 0.9161959886550903, -0.3387851417064667, -0.7105911374092102, 0.00028725905576720834, 0.4460883140563965, 0.29958799481391907, 0.22307270765304565, -0.3832933008670807, 0.15745767951011658, -0.4802872836589813, -0.4530505836009979, 0.49143218994140625, 0.6377027630805969, 0.2182239592075348, 0.48479458689689636, 0.6886540651321411, 0.9362618923187256, -0.17492251098155975, 0.23730657994747162, 0.8968914151191711, -0.5877802968025208, -0.23254765570163727, -0.4991505742073059, 0.35261809825897217, -0.32254964113235474, -0.5848711729049683, 0.8298452496528625, 0.8474457859992981, 0.33194029331207275, -0.15334947407245636, 0.7528619766235352, -0.049448855221271515, 0.6127028465270996, -0.5040348768234253, 0.9559187889099121, -0.5689535140991211, 0.05785379558801651, -0.39636290073394775, -0.5791673064231873, -0.4487694799900055, 0.37273937463760376, -0.09107198566198349, -0.03891706466674805, 0.8090124726295471, 0.7787264585494995, 0.07620241492986679, -0.011422345414757729, 0.5022848844528198, 0.482412189245224, 0.6298792958259583, 0.5170551538467407, 0.6609216332435608, -0.6029741168022156, 0.21297429502010345, -0.1161559522151947, -0.4519288241863251, -0.22718338668346405, -1.1327319145202637, -0.7430365085601807, -0.36583462357521057, -0.10222963988780975, -0.920579195022583, 0.19211328029632568, 0.7126593589782715, 0.42323535680770874, -0.5513020753860474, -0.4446389973163605, 0.09714597463607788, -0.3986739218235016, 0.23614688217639923, -0.11959290504455566, 0.34854602813720703, -0.6946002840995789, -0.47977718710899353, 0.0871853455901146, 0.4038349688053131, -0.030386880040168762, -0.4042503535747528, -0.1314726024866104, -0.17189815640449524, 0.3472459614276886, 0.7564648389816284, -0.09118246287107468, -0.21834956109523773, -0.005531282164156437, -0.034119948744773865, -0.5381863713264465, -0.14393943548202515, 1.1810396909713745, -0.3964316248893738, 0.4644624888896942, 0.5384732484817505, 0.5688400864601135, 0.5517110228538513, -0.20316079258918762, 0.76549232006073, -0.1760292798280716, -0.08807164430618286, 0.737515389919281, 0.5230302810668945, 0.3925873637199402, -0.18197059631347656, 0.4852721095085144, 0.17590312659740448, -1.0300350189208984, -0.9775476455688477, -0.2551959753036499, -0.9028652906417847, -0.2758776843547821, 1.4272785186767578, -0.07074271887540817, -0.2552456557750702, -0.12200623750686646, -0.41385555267333984, 0.15961000323295593, -0.044002316892147064, 0.8995433449745178, 0.8415089845657349, 0.0004626477893907577, 0.5409565567970276, -0.868539571762085, 0.6051824688911438, 0.2589570879936218, -0.8692026734352112, 0.30846887826919556, 0.6100970506668091, 0.33576375246047974, 0.18449586629867554, 1.2796257734298706, -0.49830299615859985, 0.28133344650268555, 0.1454778015613556, -0.06552880257368088, 0.2564440965652466, -0.14514048397541046, 0.10105471312999725, 0.034894153475761414, 0.34983396530151367, 0.45257705450057983 ]
http://arxiv.org/abs/2402.16389v1
http://arxiv.org/pdf/2402.16389v1
MoZIP: A Multilingual Benchmark to Evaluate Large Language Models in Intellectual Property
2024-02-26T08:27:50
2024-02-26T08:27:50
Shiwen Ni, Minghuan Tan, Yuelin Bai, Fuqiang Niu, Min Yang, Bowen Zhang, Ruifeng Xu, Xiaojun Chen, Chengming Li, Xiping Hu, Ye Li, Jianping Fan
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have demonstrated impressive performance in various natural language processing (NLP) tasks. However, there is limited understanding of how well LLMs perform in specific domains (e.g, the intellectual property (IP) domain). In this paper, we contribute a new benchmark, the first Multilingual-oriented quiZ on Intellectual Property (MoZIP), for the evaluation of LLMs in the IP domain. The MoZIP benchmark includes three challenging tasks: IP multiple-choice quiz (IPQuiz), IP question answering (IPQA), and patent matching (PatentMatch). In addition, we also develop a new IP-oriented multilingual large language model (called MoZi), which is a BLOOMZ-based model that has been supervised fine-tuned with multilingual IP-related text data. We evaluate our proposed MoZi model and four well-known LLMs (i.e., BLOOMZ, BELLE, ChatGLM and ChatGPT) on the MoZIP benchmark. Experimental results demonstrate that MoZi outperforms BLOOMZ, BELLE and ChatGLM by a noticeable margin, while it had lower scores compared with ChatGPT. Notably, the performance of current LLMs on the MoZIP benchmark has much room for improvement, and even the most powerful ChatGPT does not reach the passing level. Our source code, data, and models are available at \url{https://github.com/AI-for-Science/MoZi}.
[ -0.35173699259757996, -0.5584686994552612, 0.21610389649868011, 0.5498248934745789, -0.06530426442623138, 0.15762293338775635, -0.36522480845451355, -0.6284629702568054, 0.03189240023493767, 0.4552597999572754, -0.36335575580596924, -0.5760675668716431, -0.6307054758071899, 0.06243526190519333, -0.19464021921157837, 0.7784700393676758, -0.06936587393283844, 0.1731112003326416, -0.46321067214012146, -0.23498989641666412, -0.027444584295153618, -0.7514294981956482, -0.4514891505241394, -0.6191554665565491, 0.3092687129974365, 0.1393127143383026, 0.39165574312210083, 0.24615919589996338, 0.7676180005073547, 0.1930222362279892, -0.27048274874687195, 0.17200762033462524, -0.2653290927410126, 0.1043260395526886, -0.1767299920320511, -0.4542219340801239, -0.3880811333656311, 0.06888768821954727, 0.5494860410690308, 0.5270376205444336, -0.06307973712682724, 0.35527291893959045, -0.01945577934384346, 0.7200016975402832, -0.7744781374931335, 0.3222402334213257, -0.6954916715621948, 0.11238985508680344, -0.38152551651000977, -0.1685316413640976, -0.5116739273071289, -0.0398857519030571, 0.11613556742668152, -0.19882668554782867, 0.12005303055047989, 0.22104808688163757, 0.8418197631835938, -0.06779373437166214, -0.44200557470321655, 0.004922474734485149, -0.38662928342819214, 0.6581681966781616, -0.7403236627578735, 0.28769633173942566, 0.17401979863643646, 0.15898700058460236, -0.2051827311515808, -0.682037889957428, -0.7756751775741577, -0.5587906241416931, 0.41863879561424255, 0.1131163164973259, -0.22316059470176697, -0.23044125735759735, 0.2608215808868408, 0.5049417614936829, -0.6021342277526855, 0.13968321681022644, -0.18696381151676178, -0.2606133222579956, 0.589859127998352, -0.051332518458366394, 0.41780006885528564, 0.02100825309753418, -0.7134604454040527, -0.09141001850366592, -1.078202724456787, 0.0804075375199318, 0.5082314014434814, 0.3177507519721985, -0.05242051184177399, 0.7220761775970459, -0.3321443796157837, 0.5029249787330627, -0.4493115544319153, -0.16564705967903137, 0.5650045871734619, -0.14139989018440247, 0.09434830397367477, -0.3608890175819397, 0.933135449886322, 0.33260247111320496, 0.4537392556667328, -0.19193994998931885, -0.10150939226150513, -0.4125584661960602, -0.14049115777015686, -0.8752555251121521, -0.2650401294231415, 0.09501510113477707, -0.30065205693244934, 0.08322921395301819, -0.1289324164390564, -0.7371537685394287, -0.48621058464050293, 0.005176158621907234, 0.5146358609199524, -0.6412048935890198, -0.24856087565422058, 0.18999458849430084, -0.17850416898727417, 0.29593268036842346, 0.21417903900146484, -0.870069682598114, 0.19671590626239777, 0.8301680088043213, 1.102332592010498, -0.5034927725791931, -0.7886119484901428, -0.434221088886261, 0.10769850015640259, 0.006737316492944956, 1.006083607673645, -0.4476941227912903, -0.22170035541057587, 0.06449129432439804, -0.15724986791610718, -0.22293588519096375, -0.7783679962158203, 0.4587121605873108, -0.7313074469566345, 0.02904113382101059, -0.04761359840631485, -0.5520776510238647, -0.1290653496980667, 0.7131040692329407, -0.7830911874771118, 0.751675009727478, -0.07095682621002197, -0.7135594487190247, 0.29559290409088135, -0.8517017364501953, -0.6043616533279419, 0.20571663975715637, 0.012093952856957912, -0.21849828958511353, -0.21605491638183594, 0.25612592697143555, 0.2698333263397217, -0.6915199756622314, 0.16614766418933868, -0.48411425948143005, -0.13616493344306946, 0.3214629292488098, -0.5741838812828064, 1.0277125835418701, -0.032948173582553864, -0.2508024275302887, -0.1189948320388794, -0.6931778788566589, 0.27931511402130127, 0.11319111287593842, -0.4492269456386566, -0.02354198694229126, 0.12090165913105011, -0.06399425119161606, 0.31072914600372314, 0.45681238174438477, -0.5609634518623352, 0.44726669788360596, -0.19814567267894745, 0.5656260251998901, 0.6243704557418823, -0.14546877145767212, 0.040102988481521606, -0.43130022287368774, 0.7050343751907349, -0.1360466033220291, -0.01889749802649021, -0.3396168649196625, -0.6712049245834351, -0.7655044198036194, -0.37395328283309937, 0.614303469657898, 0.6899316906929016, -0.6923443078994751, 0.04140637442469597, -0.5993965268135071, -0.5424663424491882, -0.3467005491256714, 0.17731106281280518, 0.3521554470062256, 0.1389787346124649, 0.26120734214782715, -0.287782222032547, 0.025146886706352234, -1.0798518657684326, -0.33957839012145996, -0.3208366334438324, -0.09733536839485168, 0.4422965943813324, 0.7744176983833313, -0.06599857658147812, 0.5672138929367065, -0.3634882867336273, -0.4270791709423065, -0.24798494577407837, 0.5459337830543518, 0.14839929342269897, 0.14938686788082123, 0.6629440784454346, -0.837754487991333, -0.6861388087272644, 0.14252705872058868, -0.415872722864151, -0.3008054196834564, 0.2852846384048462, 0.04866911843419075, 0.06756255030632019, 0.1899983286857605, -0.6639412641525269, 0.045961085706949234, 0.766767144203186, -0.10401638597249985, 0.8731319308280945, -0.05949379503726959, 0.41454362869262695, -0.8884360790252686, 0.2342393398284912, -0.20299309492111206, -0.08218146860599518, -0.3938021957874298, 0.5082319378852844, 0.1957360804080963, -0.32205939292907715, -0.8225314021110535, 0.7324613928794861, -0.4254514276981354, 0.04721027612686157, -0.16306456923484802, 0.10317457467317581, 0.07719363272190094, 0.5473386645317078, -0.145320862531662, 1.3491861820220947, 0.5683687925338745, -0.4753555953502655, 0.6642544865608215, 0.09584971517324448, -0.7500947713851929, 0.2956239879131317, -0.602722704410553, 0.17808574438095093, 0.3012166917324066, -0.09163044393062592, -0.7104800939559937, -0.020779957994818687, -0.08037103712558746, -0.40910401940345764, 0.165781632065773, -0.3323293626308441, -0.9130614995956421, -0.2899802625179291, -0.30212005972862244, 0.27666714787483215, 0.30997559428215027, -0.6865649223327637, 0.5597754716873169, 0.487786203622818, -0.37025579810142517, -0.6950367093086243, -0.7104945778846741, 0.32097309827804565, -0.22779183089733124, -1.0186278820037842, 0.7180479168891907, -0.20292581617832184, -0.20293286442756653, -0.21055354177951813, 0.23179107904434204, -0.3961262106895447, 0.14915525913238525, 0.11877638101577759, 0.06806710362434387, -0.3550436794757843, 0.18145230412483215, -0.32726413011550903, -0.012113356962800026, 0.11600138247013092, -0.12348726391792297, 0.8603761196136475, -0.33969128131866455, -0.5539425611495972, -0.18594126403331757, 0.3858954906463623, 0.7824323773384094, -0.5064829587936401, 0.8187316656112671, 0.2184341847896576, -0.2271803766489029, -0.37646231055259705, -0.5326752066612244, 0.24813991785049438, -0.41981571912765503, 0.29747337102890015, -0.5650376081466675, -0.8971459865570068, 0.6072400212287903, -0.3461708724498749, -0.01244112104177475, 0.5326305031776428, 0.7247681617736816, 0.15219374001026154, 0.875212550163269, 0.8633955121040344, -0.4326631426811218, 0.3211159110069275, -0.13777562975883484, 0.515478253364563, -0.7089880108833313, -0.22184346616268158, -0.6144879460334778, -0.18259087204933167, -0.3562438488006592, -0.4811885356903076, 0.3471759557723999, 0.1793903410434723, -0.012539371848106384, 0.43001219630241394, 0.05721983686089516, 0.5394889116287231, 0.8095784783363342, -0.11210859566926956, 0.521575391292572, 0.016962852329015732, -0.2579544186592102, -0.04693493992090225, -0.5514957904815674, -0.6776787638664246, 1.083597183227539, 0.10175158828496933, 0.6466072201728821, 0.38056862354278564, 0.3376767337322235, 0.4967595338821411, 0.3419765532016754, -0.7259371280670166, 0.587018609046936, -0.17074786126613617, -0.6314971446990967, -0.15419676899909973, -0.3424701690673828, -0.701431155204773, 0.30158862471580505, -0.15337763726711273, -1.0176538228988647, -0.11958617717027664, 0.04075995087623596, -0.14203545451164246, 0.39493367075920105, -0.7438369393348694, 0.9356860518455505, -0.49642130732536316, -0.46842285990715027, -0.2596355974674225, -0.2199416607618332, 0.4523356258869171, -0.16860699653625488, -0.018423087894916534, -0.5270812511444092, 0.07163899391889572, 0.5638327598571777, -0.18026258051395416, 0.3585115075111389, 0.16495540738105774, -0.09082997590303421, 0.21623757481575012, -0.02388019487261772, 0.36620160937309265, -0.0014593706000596285, -0.5075856447219849, 0.4477514922618866, 0.018151555210351944, -0.23613645136356354, -0.4560590088367462, 0.7043121457099915, -0.5210655927658081, -0.8012161254882812, -0.5607824325561523, -0.5373950004577637, -0.362350195646286, 0.2873150706291199, 0.28618529438972473, 0.08842092007398605, -0.3175865113735199, 0.35031768679618835, 0.38526859879493713, -0.3760617673397064, 0.25640997290611267, 0.8890309929847717, -0.23401181399822235, -0.058093540370464325, 0.927270233631134, 0.05661017447710037, 0.3002147078514099, 0.6347254514694214, 0.11597901582717896, -0.17843696475028992, -0.7728930115699768, -0.49501344561576843, 0.02193734049797058, -0.6858025789260864, -0.2844511568546295, -0.6804987192153931, -0.4614374041557312, -0.49879705905914307, 0.3382522165775299, -0.24215708673000336, -0.31619390845298767, 0.11104132980108261, 0.24617309868335724, 0.16271966695785522, 0.20763519406318665, 0.07439462840557098, 0.05853036791086197, -0.8073771595954895, 0.3176470696926117, 0.3620520234107971, 0.5101351141929626, -0.22190473973751068, -0.49942559003829956, -0.17612740397453308, 0.14833195507526398, -0.5433979630470276, -0.6467357873916626, 0.40499022603034973, 0.46938127279281616, 0.6010570526123047, 0.3381180763244629, 0.1117233857512474, 0.515271008014679, -0.8746200203895569, 1.040313959121704, 0.0598425567150116, -1.082445740699768, 0.3728492856025696, -0.29469034075737, 0.09447264671325684, 0.5109956860542297, 0.25765153765678406, -0.5587322115898132, -0.2581029236316681, -0.3846367597579956, -0.9118198752403259, 0.47860556840896606, 0.14699497818946838, 0.4497539699077606, 0.019598519429564476, 0.03611055761575699, 0.09201072156429291, 0.4244609773159027, -1.123996615409851, -0.20916679501533508, 0.30356159806251526, 0.24004748463630676, 0.15380756556987762, -0.33615922927856445, -0.1498366892337799, 0.08477719873189926, 0.8743323683738708, -0.13897758722305298, 0.2874377369880676, -0.22103704512119293, -0.3050847053527832, 0.24420228600502014, 0.48311811685562134, 0.5543389916419983, 0.7365237474441528, -0.08509001135826111, 0.17577533423900604, 0.0916036069393158, -0.3985816240310669, 0.1326702982187271, 0.22163593769073486, -0.2633105516433716, -0.1523575484752655, 0.5627520680427551, 0.571657657623291, -0.2623911201953888, -1.2330811023712158, 0.8538952469825745, 0.017838051542639732, -0.1000477746129036, -0.26043692231178284, 0.3318951427936554, 0.07058877497911453, 0.423979789018631, 0.43334949016571045, -0.11710304021835327, 0.14120063185691833, -0.5704831480979919, 0.15497371554374695, 0.6508580446243286, 0.055282268673181534, -0.17324092984199524, 0.6096704602241516, 0.20025292038917542, -0.5144476294517517, 0.6026825308799744, -0.3427177965641022, -0.8085643649101257, 0.7041990756988525, 0.5727381706237793, 0.7954865097999573, 0.05438408628106117, 0.20066693425178528, 0.16829930245876312, 0.45065975189208984, -0.12670519948005676, 0.2250666469335556, 0.032730814069509506, -0.8863558173179626, -0.3764178156852722, -0.41156771779060364, -0.7118111252784729, 0.3732948303222656, -0.42958980798721313, 0.3684600591659546, -0.24956877529621124, -0.16954405605793, 0.0920967236161232, 0.07576893270015717, -0.545127272605896, -0.05044679716229439, 0.1709156334400177, 1.1561589241027832, -0.6468989253044128, 0.9414730668067932, 0.5015341639518738, -0.17483548820018768, -0.2515380382537842, 0.2737019658088684, -0.13330873847007751, -0.8735755681991577, 0.7146135568618774, 0.42652666568756104, -0.26261457800865173, -0.13221637904644012, -0.6231082677841187, -0.8042270541191101, 0.8761237263679504, 0.6423096656799316, -0.36401617527008057, 0.36780425906181335, 0.34239447116851807, 0.5388572216033936, -0.29734623432159424, -0.012293915264308453, 0.35190191864967346, 0.3190262019634247, -0.17116820812225342, -0.866381049156189, -0.5040834546089172, -0.7635676860809326, -0.28597500920295715, 0.1489604264497757, -0.9374956488609314, 0.9756729602813721, -0.23857271671295166, -0.2939775288105011, 0.3071369230747223, 0.6607365012168884, 0.3010976314544678, 0.22195559740066528, 0.3634234666824341, 0.6006910800933838, 0.6432115435600281, -0.34341228008270264, 1.1233233213424683, -0.7223530411720276, 0.40532469749450684, 1.2188917398452759, -0.7260227799415588, 1.2191107273101807, 0.4746706783771515, -0.42114779353141785, 0.379058837890625, 0.33665403723716736, -0.31298956274986267, 0.4596203565597534, 0.43823981285095215, -0.48325467109680176, -0.10078321397304535, -0.2706535756587982, -0.40420377254486084, 0.4503028690814972, 0.12447140365839005, -0.1668798327445984, -0.04553263261914253, 0.0565364733338356, -0.11624903231859207, -0.056492120027542114, 0.04337327927350998, 0.38762378692626953, -0.10429996252059937, -0.6989110112190247, 0.22956867516040802, 0.5225881934165955, 0.6474546194076538, -0.7610354423522949, 0.10399474203586578, -0.28265640139579773, 0.16164009273052216, 0.30141767859458923, -0.8975901007652283, 0.026077179238200188, 0.2119775414466858, -0.2888544797897339, -0.2596210539340973, 0.3471091091632843, -0.4192604422569275, -0.512525737285614, 0.4474821090698242, 0.43799811601638794, 0.14714105427265167, -0.28158000111579895, -0.734241783618927, -0.13584478199481964, -0.12385085225105286, -0.38282540440559387, 0.3424704074859619, 0.48883989453315735, -0.02179146558046341, 1.176830530166626, 0.6089012026786804, 0.2333063930273056, 0.2113042026758194, 0.2124621570110321, 0.6554755568504333, -0.5374993681907654, -0.33952438831329346, -0.869110643863678, 0.21077768504619598, -0.11810564994812012, -0.574493408203125, 0.7786778807640076, 0.7071911096572876, 0.8029980659484863, -0.038732584565877914, 0.8071141242980957, -0.05104013904929161, 0.36930009722709656, -0.7212368249893188, 0.6742763519287109, -0.6600871086120605, 0.2613251209259033, -0.10409820824861526, -0.9068991541862488, -0.3483911454677582, 0.4158856272697449, -0.22055503726005554, -0.034072425216436386, 0.6833317279815674, 0.7320302128791809, -0.027435341849923134, -0.0579332672059536, 0.31436887383461, 0.005805823486298323, 0.46863922476768494, 0.6740276217460632, 0.8811919689178467, -0.40665775537490845, 0.4998193085193634, -0.38663992285728455, -0.029699992388486862, -0.03859330713748932, -1.187110424041748, -0.8946479558944702, -0.48327720165252686, -0.4200301170349121, -0.1118292436003685, -0.07168528437614441, 0.804200291633606, 0.6328966021537781, -0.8736980557441711, -0.1569480299949646, 0.22073133289813995, 0.15288299322128296, -0.3345917761325836, -0.20464153587818146, 0.3050021827220917, -0.09371870756149292, -0.8991588950157166, 0.35068801045417786, 0.6697114109992981, 0.07444341480731964, -0.29229530692100525, 0.11705522239208221, -0.2789766490459442, -0.04028572514653206, 0.636142373085022, 0.219776913523674, -0.7414296269416809, -0.04424291476607323, 0.07719486206769943, -0.16420643031597137, 0.17060044407844543, 0.9401988983154297, -0.38974034786224365, 0.4436253607273102, 0.5826218128204346, 0.740088701248169, 0.4551679790019989, -0.1724628359079361, 0.685613214969635, -0.5147899985313416, 0.27221032977104187, 0.3753822147846222, 0.6864745020866394, 0.35703620314598083, -0.038156505674123764, 0.511655330657959, 0.11289941519498825, -0.4197981059551239, -0.6709375381469727, 0.25988826155662537, -0.6909911632537842, -0.18529164791107178, 1.2388066053390503, -0.5321357250213623, -0.026858223602175713, 0.1442393809556961, 0.01790456846356392, -0.2115059643983841, -0.09160041064023972, 1.0061577558517456, 1.1411478519439697, 0.11048248410224915, -0.28820183873176575, -0.6211713552474976, 0.02309555746614933, 0.3424265384674072, -0.9956302046775818, 0.18903866410255432, 0.2781229615211487, 0.1538446694612503, 0.19087214767932892, 0.5451921224594116, -0.1650238037109375, 0.214911550283432, -0.1452714502811432, 0.28392356634140015, -0.12098177522420883, -0.5073181390762329, -0.12657995522022247, 0.4673736095428467, 0.11413294821977615, -0.10556279122829437 ]
http://arxiv.org/abs/2402.16382v1
http://arxiv.org/pdf/2402.16382v1
Immunization against harmful fine-tuning attacks
2024-02-26T08:08:03
2024-02-26T08:08:03
Domenic Rosati, Jan Wehner, Kai Williams, Łukasz Bartoszcze, Jan Batzner, Hassan Sajjad, Frank Rudzicz
cs.CL
cs.CL
Approaches to aligning large language models (LLMs) with human values has focused on correcting misalignment that emerges from pretraining. However, this focus overlooks another source of misalignment: bad actors might purposely fine-tune LLMs to achieve harmful goals. In this paper, we present an emerging threat model that has arisen from alignment circumvention and fine-tuning attacks. However, lacking in previous works is a clear presentation of the conditions for effective defence. We propose a set of conditions for effective defence against harmful fine-tuning in LLMs called "Immunization conditions," which help us understand how we would construct and measure future defences. Using this formal framework for defence, we offer a synthesis of different research directions that might be persued to prevent harmful fine-tuning attacks and provide a demonstration of how to use these conditions experimentally showing early results of using an adversarial loss to immunize LLama2-7b-chat.
[ -0.22500017285346985, -1.0504379272460938, 0.13193881511688232, -0.306456059217453, -0.1546960473060608, 0.14921113848686218, -0.15897274017333984, -0.66651850938797, 0.02231784164905548, 0.5117496252059937, -0.4265289306640625, -0.09016965329647064, -0.872174859046936, -0.1627907156944275, -0.36599525809288025, 1.2557014226913452, 0.16649696230888367, -0.08608841150999069, 0.24751874804496765, 0.10734635591506958, -0.6002475619316101, -0.7151833176612854, -0.628125786781311, -0.2834765315055847, 0.624011218547821, 0.4719280004501343, 0.8526843786239624, 0.4425186216831207, 0.7164803743362427, 0.2159571647644043, -0.07239127159118652, -0.005875248461961746, -0.6320870518684387, 0.23632052540779114, -0.39442771673202515, -0.8846753239631653, -0.3335334062576294, 0.30187976360321045, 0.47770896553993225, 0.44834378361701965, -0.14988861978054047, -0.17181970179080963, 0.11451274901628494, 0.38838592171669006, -0.6846634745597839, -0.608794093132019, -1.3053678274154663, -0.05165727064013481, -0.6120657324790955, -0.2357179969549179, -0.3997024893760681, -0.03597905859351158, -0.19368533790111542, -0.4890228807926178, -0.28210946917533875, 0.18664653599262238, 1.1531062126159668, 0.4257739782333374, -0.2724668085575104, -0.1431933045387268, -0.3235017657279968, 0.652609646320343, -0.9741281867027283, -0.24266181886196136, 0.6488601565361023, 0.2750995457172394, -0.6764755249023438, -0.13935039937496185, -0.3519468605518341, -0.14533856511116028, 0.2804604172706604, 0.022374829277396202, -0.7247616648674011, 0.20815512537956238, 0.1610070914030075, 0.03402623534202576, -0.3228404223918915, 0.6379989385604858, -0.5401313900947571, -0.2768746018409729, 0.5311347246170044, 0.3438775837421417, 0.5984327793121338, 0.07243692874908447, -0.34721827507019043, 0.012821872718632221, -1.1025731563568115, 0.18671287596225739, 0.7060002088546753, 0.5413855910301208, -0.16676510870456696, 0.6604071855545044, -0.1444813758134842, 0.6910505890846252, 0.444565087556839, -0.25463077425956726, -0.5384880900382996, -0.36538955569267273, -0.20367233455181122, 0.23918069899082184, 0.5402737855911255, 0.7405831813812256, 0.5800753831863403, -0.2370425909757614, -0.32282814383506775, 0.30666816234588623, 0.6005042791366577, -0.9301058650016785, 0.022818399593234062, 0.1816631555557251, -0.18191206455230713, -0.7806829810142517, -0.12219996005296707, -0.3725372552871704, -0.5099664330482483, -0.14729517698287964, 0.4210202991962433, -0.41754814982414246, -0.15232667326927185, 0.30297335982322693, 0.20396754145622253, 0.15837031602859497, -0.11603192239999771, -0.9956708550453186, 0.20273426175117493, 0.8731184601783752, 0.5363113880157471, -0.16554105281829834, 0.015612520277500153, -0.6564260125160217, 0.46201637387275696, -0.3899577558040619, 0.7398596405982971, -0.4554922878742218, -0.45462891459465027, -0.17244291305541992, -0.17784398794174194, 0.13695184886455536, -0.6050923466682434, 0.5822610259056091, -0.4621070325374603, -0.0032809784170240164, 0.06654362380504608, -0.42730146646499634, -0.01428034994751215, 0.5989680886268616, -0.18793770670890808, 0.36079972982406616, -0.2416992038488388, -0.7760100364685059, 0.20882950723171234, -0.18738238513469696, -0.6386289000511169, -0.06370115280151367, -0.009415783919394016, -0.553387463092804, 0.040017515420913696, -0.15219314396381378, 0.4149598479270935, -0.4596613645553589, 0.41151484847068787, -0.7468119263648987, -0.1654072403907776, 0.20303085446357727, -0.3628150224685669, 0.7632184624671936, 0.41652488708496094, -0.17847777903079987, 0.36855795979499817, -0.42530569434165955, 0.07188581675291061, 0.11916033178567886, -0.2917539179325104, -0.34352657198905945, 0.04057784378528595, -0.5586566925048828, 0.24307575821876526, 0.20992964506149292, -0.3530624508857727, 0.22597834467887878, -0.9130558967590332, 0.6439051032066345, 0.7065631151199341, 0.11992058157920837, 0.4242129921913147, -0.6377617120742798, 0.4877474308013916, 0.11213798820972443, 0.5447331666946411, -0.027681425213813782, -0.3543650209903717, -0.6114283204078674, -0.1604827642440796, 0.09241128712892532, 0.912100613117218, -0.4161093235015869, 0.31904542446136475, -0.030495647341012955, -0.42819568514823914, -0.5798758864402771, 0.09961576759815216, 0.5442097187042236, 0.19650009274482727, 0.10851381719112396, -0.11058879643678665, -0.5806828737258911, -1.0190926790237427, -0.6013274788856506, -0.1511814296245575, 0.06729334592819214, -0.2813258171081543, 0.24600906670093536, -0.34090501070022583, 0.20005415380001068, -0.07691028714179993, -0.204568549990654, 0.02828947640955448, -0.13887913525104523, 0.13962994515895844, 0.7870693802833557, 0.6517472267150879, -0.42760589718818665, -0.26344460248947144, 0.16866403818130493, -0.368958055973053, -0.1549190878868103, -0.015320313163101673, -0.2145032286643982, -0.05050263553857803, 0.9831145405769348, -0.5651524662971497, 0.54775470495224, 0.30076709389686584, -0.21761676669120789, 0.4048192501068115, 0.2367137223482132, 0.11905936896800995, -1.1381453275680542, -0.18914806842803955, -0.10566216707229614, -0.2228442132472992, -0.8249049186706543, 0.33578526973724365, -0.11783009767532349, -0.09085147827863693, -0.5326251983642578, 0.4522964060306549, 0.1272691786289215, 0.6034590601921082, -0.6028743982315063, 0.010044889524579048, -0.04327281937003136, 0.031309064477682114, -0.6802619099617004, 0.7395817637443542, 0.49459102749824524, -0.9188897609710693, 0.0038454069290310144, -0.08231021463871002, -0.35824912786483765, 1.0268311500549316, -0.8225102424621582, -0.13967034220695496, 0.10589166730642319, 0.05597104877233505, -0.618995189666748, -0.30658701062202454, 0.5505412220954895, -0.43616315722465515, 0.666791558265686, -0.12224534898996353, -0.33131253719329834, -0.21546506881713867, -0.2872749865055084, 0.5075646042823792, 0.3797405958175659, -0.2509828805923462, 0.19920460879802704, 0.7345740795135498, -0.17519569396972656, -0.6372627019882202, -0.6466241478919983, 0.41021400690078735, -0.8387172818183899, -0.7218726873397827, 0.6868717670440674, -0.13712550699710846, -0.5283122658729553, -0.2724684476852417, -0.0644339844584465, 0.16253787279129028, 0.68216872215271, 0.035576093941926956, 0.01640060357749462, -0.11835626512765884, -0.057210348546504974, -0.12603047490119934, -0.3361261188983917, 0.0956735759973526, -0.31226420402526855, 0.2832830846309662, 0.09708213806152344, -0.7826725840568542, -0.38342735171318054, 0.48366209864616394, 0.5180776119232178, -0.08918274194002151, 0.5983571410179138, 0.3976532220840454, -0.5711548924446106, 0.15894494950771332, -0.6032109260559082, -0.47954061627388, -0.459382563829422, 0.4882388710975647, -0.2840525805950165, -0.9247283935546875, 0.5555371046066284, -0.021739883348345757, 0.05125439167022705, 0.3862249255180359, 0.6378443241119385, -0.2953512966632843, 1.134003758430481, 0.5894253253936768, -0.1509575992822647, 0.4815819263458252, 0.33801066875457764, 0.38583868741989136, -0.669954240322113, -0.19721831381320953, -0.4918670058250427, -0.22695709764957428, -0.5296343564987183, 0.018998119980096817, 0.33363109827041626, 0.5025956034660339, -0.6286426186561584, 0.3729097843170166, -0.5365740656852722, 0.7695366740226746, 0.5698909759521484, 0.119356669485569, -0.12556932866573334, -0.40816783905029297, -0.13472233712673187, 0.04883231595158577, -0.7194353938102722, -0.6477628350257874, 0.9184353351593018, 0.48590049147605896, 1.0174590349197388, 0.48499858379364014, 0.47168171405792236, 0.20581744611263275, 0.19496853649616241, -0.6473445296287537, 0.28650492429733276, -0.1451767235994339, -0.6759506464004517, -0.03902898728847504, 0.007745266426354647, -1.243605136871338, 0.19161614775657654, -0.36168619990348816, -1.073684573173523, -0.11177903413772583, 0.34740105271339417, -0.5561866164207458, 0.34323060512542725, -0.6484889984130859, 0.8272385001182556, -0.5204439759254456, -0.409732460975647, -0.23640672862529755, -0.8015847206115723, 0.5208145976066589, -0.14321769773960114, 0.030145810917019844, -0.49095338582992554, 0.3366537094116211, 0.44143664836883545, -0.12704691290855408, 1.2509318590164185, 0.07587368041276932, -0.3902360498905182, 0.2046060860157013, 0.17125284671783447, 0.4452929198741913, 0.04562803730368614, 0.016389667987823486, 0.060748595744371414, 0.15400324761867523, -0.6131238341331482, -0.050545789301395416, 0.6892613768577576, -0.5639969706535339, -1.3882359266281128, -0.3037416934967041, -0.5156267881393433, -0.06385079771280289, 0.4323902130126953, 0.32913461327552795, -0.06335943192243576, -0.3983861207962036, 0.12798184156417847, 0.8934909701347351, -0.32996273040771484, 0.19979247450828552, 0.7507340908050537, 0.04544764384627342, -0.29062342643737793, 0.7480671405792236, -0.09858562052249908, 0.7861118316650391, 0.2779098451137543, 0.09188603609800339, 0.07413148134946823, -0.7248648405075073, -0.019486574456095695, -0.07056628167629242, -0.48338067531585693, -0.9067025780677795, -0.12773707509040833, -0.1368350237607956, -0.44484588503837585, -0.19818498194217682, -0.16786813735961914, -0.05968526378273964, -0.23691752552986145, 0.04249829798936844, 0.09132800251245499, 0.6945079565048218, -0.17350931465625763, 0.49840331077575684, -0.48481062054634094, 0.12298040091991425, 0.08746462315320969, 0.19976361095905304, -0.22843554615974426, -0.749163806438446, -0.35152512788772583, 0.48374229669570923, -0.8080199956893921, -0.6011460423469543, 0.11724220216274261, 0.08765257894992828, 0.7775583863258362, 0.5715932846069336, 0.1634412705898285, 0.570510983467102, -0.6227250695228577, 0.27494895458221436, 0.2795036733150482, -0.7369454503059387, 0.6304096579551697, -0.4412042200565338, 0.43716543912887573, 0.4767303168773651, -0.02082817070186138, -0.4474332928657532, -0.7453545331954956, -0.42660483717918396, -0.5721996426582336, 0.3279993534088135, -0.01887720637023449, 0.18756228685379028, -0.17362433671951294, 0.46752217411994934, -0.1905592679977417, -0.0993150994181633, -0.6198220252990723, 0.19255582988262177, -0.10909503698348999, -0.22017572820186615, 0.08847878873348236, -0.23835331201553345, -0.7873626947402954, -0.17350655794143677, 0.847592294216156, 0.01304842159152031, -0.08154980093240738, -0.09392703324556351, -0.13571661710739136, -0.35871922969818115, 0.3104713261127472, 0.941565215587616, 0.08933224529027939, 0.06732932478189468, 0.3192090690135956, 0.2212752252817154, -0.21252821385860443, 0.415842741727829, 0.030344748869538307, -0.07983728498220444, -0.8394793272018433, 0.2760103940963745, 0.7357473969459534, 0.4216555058956146, -0.5235772132873535, 0.6164497137069702, 0.1621106117963791, 0.07122772932052612, 0.009713311679661274, 0.31550735235214233, 0.07683154940605164, 0.23992647230625153, -0.07484956085681915, 0.21827717125415802, -0.13514502346515656, -0.3925624191761017, 0.27893635630607605, 1.0929936170578003, -0.41749000549316406, -0.29181715846061707, 0.7634081840515137, 0.06574834883213043, -0.2657601535320282, 0.24255436658859253, -0.0778258666396141, -0.465512216091156, 0.740346372127533, 0.7546356320381165, 0.5143755674362183, -0.5056458115577698, -0.3892936706542969, 0.16476763784885406, 0.8227012753486633, 0.24059408903121948, -0.15711230039596558, 0.5027756094932556, -0.7927746176719666, -0.18194732069969177, -0.2756540775299072, -0.15462179481983185, 0.2677738666534424, -0.6171219348907471, 0.4066568911075592, -0.4580850303173065, -0.2784721851348877, 0.3097345530986786, -0.2661180794239044, -0.4013898968696594, -0.14397495985031128, 0.4612326920032501, 0.8467189073562622, -0.6817686557769775, 0.8832399845123291, 0.3764176666736603, -0.4673427641391754, -0.38730311393737793, 0.18808810412883759, 0.25679048895835876, -0.9283020496368408, 0.43819576501846313, 0.2875957787036896, -0.3652333915233612, -0.3093430697917938, -0.7128837704658508, -0.8686344027519226, 0.6864879727363586, 0.7643972039222717, -0.5312851667404175, 0.19434410333633423, 0.15998391807079315, 0.27183178067207336, -0.25765979290008545, -0.37333181500434875, 0.6907855868339539, 0.43058353662490845, -0.360461950302124, -0.9061619639396667, 0.09004466980695724, -0.27898427844047546, -0.12599501013755798, 0.4052719175815582, -0.650244414806366, 0.7085502743721008, -0.3861076831817627, -0.37471431493759155, 0.3015991747379303, 0.4810733497142792, 0.0028980837669223547, 0.045830320566892624, 0.13696782290935516, 0.7725650072097778, 0.5788940787315369, -0.1925583779811859, 1.0493886470794678, -0.5154685378074646, -0.1915328949689865, 0.9529339075088501, 0.0052165621891617775, 0.5986645817756653, 0.4879288971424103, -0.03200993314385414, -0.026655681431293488, 0.8269327878952026, 0.14951451122760773, 0.7491728663444519, 0.6619961857795715, -0.22972716391086578, -0.2831073999404907, -0.13427624106407166, -0.46664947271347046, 0.5210543870925903, 0.7426209449768066, 0.12801815569400787, -0.18188084661960602, 0.047686029225587845, 0.4150952994823456, 0.348692923784256, -0.3169814348220825, 0.9469773173332214, 0.12345710396766663, -0.8073775768280029, 0.9325538277626038, 0.1514555960893631, 0.9608311057090759, -0.6760147213935852, 0.2603340446949005, 0.09203188866376877, 0.26134273409843445, -0.09285400807857513, -0.6784274578094482, 0.4229656457901001, -0.290808767080307, -0.2392370104789734, 0.2569306492805481, 0.735745370388031, -0.4647999405860901, -0.23861339688301086, 0.12110499292612076, 0.042476825416088104, -0.19732913374900818, 0.18633396923542023, -0.8260136246681213, 0.18800833821296692, -0.08156327158212662, 0.1305028796195984, 0.7351909875869751, 0.4084970951080322, -0.27203285694122314, 0.8080480098724365, 0.42067721486091614, 0.09424472600221634, -0.01713215932250023, -0.05482173338532448, 0.8132408261299133, -0.3851860463619232, -0.3241455852985382, -1.2407500743865967, 0.2581614851951599, -0.013975239358842373, -0.30921614170074463, 0.5720987915992737, 0.21471434831619263, 0.675325334072113, 0.2963731288909912, 0.565459668636322, 0.32317689061164856, 0.33792436122894287, -0.5522691011428833, 0.7894492745399475, -0.43878814578056335, 0.2819787859916687, -0.17727597057819366, -0.4084157943725586, -0.5921922326087952, 0.342332124710083, -0.1219291165471077, -0.2907329201698303, 0.3412870764732361, 0.9900915622711182, -0.058572426438331604, -0.2980635166168213, 0.44674772024154663, 0.30406078696250916, 0.5594110488891602, 0.6523972153663635, 0.9141619205474854, -0.21892043948173523, 0.46419471502304077, -0.1819727122783661, -0.22240418195724487, -0.3528497815132141, -1.0792115926742554, -1.0488722324371338, -0.5656805634498596, -0.16056816279888153, -0.5300275683403015, 0.4386886656284332, 0.7272765636444092, 0.7131785750389099, -1.0260437726974487, -0.016325559467077255, 0.07002626359462738, -0.0039457892999053, 0.13483557105064392, -0.08350291848182678, -0.15650036931037903, -0.5091999769210815, -0.33655112981796265, 0.340005487203598, 0.3148724138736725, 0.5535845160484314, -0.28494128584861755, 0.0664607435464859, -0.3086486756801605, 0.4180404543876648, 0.48881587386131287, 0.6030123829841614, -1.1771464347839355, -0.6069785356521606, -0.5632609724998474, -0.34756582975387573, -0.062370944768190384, 0.42289701104164124, -0.2957010865211487, 0.2508263885974884, -0.04175681993365288, 0.8984335660934448, -0.284650057554245, -0.1925594061613083, 0.8993680477142334, -0.6353593468666077, 0.4631129801273346, 0.2735117971897125, 0.3524944484233856, 0.3400599956512451, -0.6005048155784607, 0.35267341136932373, -0.21467596292495728, -0.40400606393814087, -0.9633471965789795, 0.7697904109954834, -0.6460223197937012, -0.29097819328308105, 1.0832808017730713, 0.040474794805049896, -0.06612259894609451, 0.030125807970762253, -0.38900646567344666, 0.29929640889167786, -0.19124849140644073, 1.1786208152770996, 0.7061111927032471, 0.23450638353824615, 0.3986286222934723, -0.4129500985145569, 0.6687560677528381, 0.608579695224762, -0.9315929412841797, -0.07005080580711365, 0.1276177614927292, 0.18811237812042236, -0.11145227402448654, 0.16924723982810974, -0.17523716390132904, 0.3338453769683838, -0.22868482768535614, -0.09128326177597046, 0.22224603593349457, -0.13901254534721375, -0.20715314149856567, -0.11518681794404984, 0.3565482497215271, -0.19627180695533752 ]
http://arxiv.org/abs/2402.16380v1
http://arxiv.org/pdf/2402.16380v1
An Automated End-to-End Open-Source Software for High-Quality Text-to-Speech Dataset Generation
2024-02-26T07:58:33
2024-02-26T07:58:33
Ahmet Gunduz, Kamer Ali Yuksel, Kareem Darwish, Golara Javadi, Fabio Minazzi, Nicola Sobieski, Sebastien Bratieres
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG
Data availability is crucial for advancing artificial intelligence applications, including voice-based technologies. As content creation, particularly in social media, experiences increasing demand, translation and text-to-speech (TTS) technologies have become essential tools. Notably, the performance of these TTS technologies is highly dependent on the quality of the training data, emphasizing the mutual dependence of data availability and technological progress. This paper introduces an end-to-end tool to generate high-quality datasets for text-to-speech (TTS) models to address this critical need for high-quality data. The contributions of this work are manifold and include: the integration of language-specific phoneme distribution into sample selection, automation of the recording process, automated and human-in-the-loop quality assurance of recordings, and processing of recordings to meet specified formats. The proposed application aims to streamline the dataset creation process for TTS models through these features, thereby facilitating advancements in voice-based technologies.
[ -0.28493133187294006, -0.6769307851791382, 0.1687845140695572, 0.12991705536842346, -0.35778582096099854, 0.16889646649360657, -0.34794411063194275, -0.22457073628902435, 0.1339491903781891, 0.6486259698867798, -0.5970390439033508, -0.8407378196716309, -0.39699476957321167, 0.043667688965797424, -1.1128382682800293, 0.7799654603004456, 0.11014918982982635, -0.2072366178035736, -0.2575724720954895, -0.11486323922872543, -0.42208150029182434, -0.39780041575431824, -0.5103252530097961, -0.0780518427491188, 0.022557811811566353, 0.6492301821708679, 0.995416522026062, 0.9149489998817444, 0.22798392176628113, 0.19081531465053558, 0.132035493850708, 0.1527043730020523, -0.5044500827789307, 0.5266416668891907, -0.29899391531944275, -0.19293709099292755, -0.5134884119033813, 0.029781106859445572, 0.6029526591300964, 0.4223378598690033, -0.3215387761592865, 0.5258155465126038, -0.024201642721891403, 0.4501737058162689, -0.15268321335315704, -0.34175926446914673, -0.518534779548645, -0.09973552078008652, -0.37411490082740784, -0.2593947947025299, -0.39606374502182007, -0.6665823459625244, 0.17254699766635895, -0.7242968082427979, 0.04156740754842758, -0.18716374039649963, 0.8241087794303894, 0.618233859539032, -0.005385810509324074, -0.27104610204696655, -0.7809720039367676, 0.5418299436569214, -0.7930430769920349, 0.6964040398597717, 0.4064943790435791, 0.5571489930152893, -0.19299374520778656, -0.718065619468689, -0.5715972185134888, 0.04190150275826454, 0.3650215268135071, 0.1991552859544754, 0.11850986629724503, -0.16543427109718323, -0.21113866567611694, 0.3342430889606476, -0.7708286046981812, 0.16506551206111908, -0.2866831421852112, -0.05344172939658165, 0.5048142671585083, -0.14187438786029816, 0.37374621629714966, -0.008094452321529388, 0.2068171203136444, 0.05637826770544052, -0.5743788480758667, -0.07658824324607849, 0.5078354477882385, 0.7119414210319519, -0.31331443786621094, 0.9385331273078918, -0.24034331738948822, 0.7404569983482361, -0.3054172396659851, -0.027757743373513222, 0.3241484463214874, -0.33710232377052307, -0.3606591820716858, 0.18243828415870667, 0.7518799901008606, -0.013705955818295479, 0.28091517090797424, -0.26548531651496887, -0.27883049845695496, -0.16670945286750793, 0.12408861517906189, -0.4677368104457855, 0.3678537905216217, 0.6079279184341431, -0.3365003764629364, -0.3813537657260895, 0.07775674760341644, -0.5748903155326843, -0.13305887579917908, -0.6605910658836365, 0.4606655538082123, -0.361960232257843, -0.466002494096756, 0.0402570515871048, -0.09361935406923294, -0.08543083816766739, 0.1453980654478073, -0.5291303992271423, 0.23097704350948334, 0.43123361468315125, 1.0885943174362183, -0.24195639789104462, -0.16263441741466522, -0.7958759665489197, 0.36156582832336426, -0.5423504710197449, 0.5311383008956909, -0.3967142105102539, -0.4944932460784912, 0.048566658049821854, -0.0451534129679203, 0.2766242027282715, -0.5784406661987305, 0.6836982369422913, -0.2133449763059616, 0.32303091883659363, 0.1753809154033661, -0.5982111692428589, 0.17371022701263428, -0.3101702928543091, -0.5687645673751831, 1.3327616453170776, 0.3426930010318756, -0.37301066517829895, 0.17538142204284668, -0.5748740434646606, -0.49009978771209717, 0.12145775556564331, -0.318530410528183, -0.6568388342857361, 0.0704796314239502, 0.1656850278377533, 0.5515977740287781, -0.6712288856506348, 0.5657000541687012, -0.12728430330753326, -0.29991698265075684, 0.20208178460597992, -0.4082644283771515, 0.7843710780143738, 0.37493187189102173, -0.17324386537075043, 0.14697818458080292, -0.9293584823608398, 0.28299006819725037, 0.16499367356300354, -0.35015296936035156, 0.049518950283527374, 0.1807095855474472, 0.3082864582538605, 0.31737029552459717, 0.16263407468795776, -0.6376757621765137, -0.18770551681518555, -0.14480279386043549, 0.6595844626426697, 0.5126386284828186, -0.3318513333797455, 0.0023049688898026943, -0.34337401390075684, 0.37970149517059326, -0.08572539687156677, 0.2924906611442566, -0.4675314724445343, -0.40181970596313477, -0.5645598769187927, -0.22152815759181976, 0.44575515389442444, 0.7320523858070374, -0.608523428440094, 0.9184834957122803, -0.5647696852684021, -0.7311412692070007, -0.9047683477401733, -0.10125758498907089, 0.12183654308319092, 0.3925130069255829, 0.2565751075744629, 0.03405346721410751, -0.4157642424106598, -0.68658047914505, 0.18719936907291412, 0.01954568922519684, -0.39671292901039124, 0.09663853049278259, 0.16468961536884308, -0.060931023210287094, 1.5022027492523193, -0.0010168221779167652, -0.3196953237056732, -0.1301967054605484, 0.007692600134760141, 0.1511610597372055, 0.44591575860977173, 0.6026322841644287, -0.6275925040245056, -0.19227014482021332, 0.08419794589281082, -0.8160395622253418, -0.3188735544681549, -0.028467796742916107, -0.4231492578983307, 0.1433638334274292, 0.30852243304252625, -0.306643009185791, 0.31454038619995117, 0.8329405188560486, -0.2693924605846405, 0.44796639680862427, -0.004277452826499939, 0.22781124711036682, -1.51931893825531, 0.44529634714126587, 0.11068663001060486, -0.39725011587142944, -0.6471211314201355, -0.5220226049423218, -0.29970690608024597, -0.5320845246315002, -0.5791049599647522, 0.2468872219324112, 0.047867029905319214, -0.6794296503067017, 0.009633630514144897, 0.23336249589920044, -0.030293982475996017, 0.04045527055859566, 0.024841345846652985, 1.1973140239715576, 0.6403148174285889, -0.4511007070541382, 0.5402697920799255, 0.6054253578186035, -0.05557406693696976, 0.7133204340934753, -0.8389554619789124, 0.14907485246658325, 0.005808048415929079, -0.08513359725475311, -0.6642260551452637, -0.5773369073867798, 0.05911839008331299, -1.0330824851989746, -0.14441320300102234, -0.12778609991073608, -0.7589889764785767, -0.11945831775665283, -0.0653514489531517, -0.08447389304637909, 0.6152599453926086, -0.6222318410873413, 0.3251335322856903, 0.6569827198982239, -0.6496866345405579, -0.2534756064414978, -0.6627964973449707, 0.41648751497268677, 0.20316734910011292, -0.679310142993927, 0.4027126431465149, 0.021652286872267723, -0.04027339071035385, 0.02062288671731949, 0.22935856878757477, -0.2916231155395508, -0.3354375958442688, 0.0952395349740982, 0.20319344103336334, -0.0053206211887300014, 0.20600931346416473, 0.41512560844421387, -0.12693026661872864, -0.1091701090335846, -0.7029471397399902, 0.3916494846343994, 0.40828800201416016, -0.47954967617988586, -0.7369265556335449, 0.6173956394195557, 0.9783077239990234, -0.31036731600761414, 0.33344566822052, 0.28225278854370117, -0.533130943775177, -0.3243512511253357, -0.2888733148574829, 0.19077080488204956, -0.5016037225723267, 0.2808123230934143, -0.014897382818162441, -0.40119731426239014, 0.32492950558662415, 0.054342057555913925, 0.47345539927482605, 0.34289273619651794, 0.3560783565044403, -0.15350311994552612, 0.9140680432319641, 0.38352254033088684, -0.17486487329006195, 0.6313835382461548, -0.15330348908901215, -0.12324171513319016, -0.30976563692092896, -0.12720537185668945, -0.758459746837616, 0.09994692355394363, -0.17470258474349976, -0.15191540122032166, 0.39318135380744934, -0.32083797454833984, -0.41847342252731323, 0.27489322423934937, -0.9236608147621155, 0.1598244607448578, 0.7254616022109985, 0.14465346932411194, 0.35631224513053894, 0.3693239390850067, 0.37882182002067566, 0.11280008405447006, -0.3569427728652954, -0.6068912744522095, 1.1442317962646484, 0.3235000669956207, 0.6060622334480286, -0.027060361579060555, 0.49388349056243896, 0.6708118319511414, -0.2648845314979553, -0.47741955518722534, 0.5234836339950562, -0.3408631682395935, -0.2883005440235138, -0.6799445748329163, -0.40650317072868347, -0.42914530634880066, -0.5087239742279053, -0.02619544416666031, -0.3753073811531067, -0.01580246165394783, 0.11879125237464905, -0.13021975755691528, 0.18556152284145355, -0.5500704646110535, 0.6409677267074585, -0.14664052426815033, -0.4012627601623535, 0.10180618613958359, -0.7258185744285583, -0.03908824920654297, -0.1877439171075821, 0.11192449182271957, -0.2237689197063446, 0.1974766105413437, 0.868401825428009, -0.49906831979751587, 0.5010828375816345, -0.25020813941955566, -0.2986389696598053, 0.6429058313369751, -0.2834852337837219, 0.3595552444458008, -0.020519979298114777, -0.3444518446922302, 0.37733784317970276, -0.17169985175132751, -0.22856202721595764, -0.3860471546649933, 0.3390829265117645, -0.8721469640731812, 0.1335044652223587, 0.17231038212776184, -0.3629024922847748, -0.18270888924598694, 0.1985609531402588, 0.5670595169067383, 0.5993404388427734, -0.05121523141860962, 0.14994476735591888, 0.7316462397575378, -0.5314098596572876, 0.18039602041244507, 0.24809828400611877, -0.246771901845932, -0.7582910656929016, 1.2060381174087524, 0.3680308163166046, 0.4409196078777313, -0.0441448800265789, -0.13005922734737396, -0.4557659924030304, -0.6915587186813354, -0.8334286212921143, 0.03290092945098877, -0.48618441820144653, -0.16434155404567719, -0.26765868067741394, -0.552710235118866, -0.5150560736656189, -0.22181731462478638, -0.617339551448822, -0.4391224980354309, -0.44828900694847107, 0.12016024440526962, 0.7430272102355957, 0.5941201448440552, 0.0559445396065712, 0.45768240094184875, -0.8886452913284302, 0.5957432985305786, -0.07438313215970993, 0.6576831340789795, -0.3888152539730072, -0.6811624765396118, -0.4984687864780426, 0.2827472686767578, -0.0368310809135437, -0.767699658870697, 0.2834377586841583, 0.48678767681121826, 0.25301405787467957, 0.14773279428482056, 0.05544804781675339, 0.3611964285373688, -0.35053902864456177, 0.8239649534225464, 0.10221099853515625, -1.0039149522781372, 0.9574630856513977, -0.7215576171875, 0.09789140522480011, 0.4184388518333435, 0.010688233189284801, -0.7780182957649231, -0.6071028113365173, -0.3002380132675171, -0.8329680562019348, 0.7404342889785767, 0.5496237277984619, -0.11076798290014267, 0.24860146641731262, 0.3389231264591217, 0.4187605082988739, 0.37203821539878845, -0.2810787856578827, -0.09218143671751022, -0.6901309490203857, -0.7034412026405334, 0.11936165392398834, 0.2302849441766739, 0.1600407063961029, -0.03778894618153572, 0.9596489071846008, -0.12115544825792313, 0.39464616775512695, 0.04601290076971054, -0.04415284842252731, -0.12692351639270782, 0.36052754521369934, 0.2627289593219757, 0.46380671858787537, -0.1566992551088333, -0.4630127251148224, -0.19284839928150177, -0.6541847586631775, 0.32352861762046814, 0.22282162308692932, -0.359815388917923, 0.3896314203739166, -0.052586790174245834, 0.6284633278846741, -0.3379509449005127, -0.8260051012039185, 0.4453135132789612, 0.04863147810101509, -0.14193494617938995, -0.5990437865257263, -0.032360512763261795, -0.06640873104333878, -0.05748920887708664, 0.569113552570343, -0.18397335708141327, -0.0550227016210556, -0.3193257749080658, 0.5072468519210815, -0.08234261721372604, -0.20259864628314972, -0.18007950484752655, 0.8552999496459961, 0.4207635521888733, -0.5330255627632141, 0.7024846076965332, 0.007616455666720867, 0.17282308638095856, 0.5382647514343262, 0.25283151865005493, 0.8458765745162964, -0.4816088080406189, 0.23133361339569092, 0.16175486147403717, 0.05193732678890228, -0.11156366020441055, 0.708386242389679, 0.2968304455280304, -0.18028123676776886, -0.6201725006103516, -0.5202342867851257, -0.6397178173065186, 0.2294452041387558, -0.6403979063034058, 0.744510293006897, -0.05553145334124565, -0.37788811326026917, -0.1990475356578827, -0.7075598835945129, -0.3662837743759155, 0.509088397026062, 0.04453788697719574, 0.922649085521698, -0.6713014245033264, 0.6562567353248596, 0.3105636537075043, -0.3460548222064972, -0.4078409969806671, -0.11336815357208252, -0.028014887124300003, -0.4107636511325836, 0.188627690076828, -0.051821500062942505, -0.050659336149692535, 0.49287259578704834, -0.5465469360351562, -0.9108719229698181, 0.954804003238678, 0.730591893196106, -0.6689963340759277, -0.2873125970363617, 0.6937953233718872, 0.40856513381004333, -0.05401020124554634, 0.1549532413482666, 0.5715202689170837, 0.23246407508850098, 0.12113311141729355, -0.9968797564506531, -0.31069523096084595, -0.27739420533180237, -0.2415996789932251, 0.18544645607471466, -0.147913858294487, 0.38650640845298767, 0.040953703224658966, -0.2702944278717041, -0.1363644152879715, 0.6829981803894043, 0.15976399183273315, 0.2388276904821396, 0.2831292450428009, 0.42527830600738525, 0.497758150100708, -0.23248116672039032, 0.3349536061286926, -0.47663190960884094, 0.1605350822210312, 1.0511966943740845, -0.1988077312707901, 0.9339691996574402, -0.04922940582036972, -0.09985002875328064, -0.15149986743927002, 0.7501038908958435, -0.033914655447006226, 0.4127337634563446, 0.06649386137723923, -0.3361269235610962, 0.10549131780862808, -0.48464494943618774, -0.3259270191192627, 0.39245256781578064, 0.6641225218772888, -0.36716777086257935, -0.11964933574199677, 0.2835084795951843, -0.27371910214424133, 0.05908557027578354, -0.026088373735547066, 0.734005331993103, -0.34203603863716125, -0.47399574518203735, 0.5228027105331421, -0.3713652491569519, 0.6253450512886047, -0.5327329039573669, -0.03969019651412964, 0.08283151686191559, -0.38603079319000244, -0.3094240725040436, -1.125490665435791, 0.56873619556427, 0.3862803876399994, -0.14399519562721252, -0.15336014330387115, 0.4563447833061218, -0.5047531127929688, -0.37072184681892395, 0.243943452835083, 0.6459036469459534, 0.3389870822429657, 0.08160709589719772, -0.45051059126853943, 0.2658498287200928, -0.20753279328346252, -0.2961103916168213, -0.09039249271154404, 0.41405126452445984, 0.19576388597488403, 0.6597447395324707, 0.8012626767158508, 0.3219190239906311, 0.18837545812129974, 0.3363330662250519, 0.663054883480072, -0.4028572738170624, -0.691916286945343, -0.4698018729686737, 0.7283352613449097, -0.3324570059776306, -0.28969189524650574, 0.07636114954948425, 0.7795551419258118, 0.6569911241531372, 0.3248661160469055, 1.5065642595291138, -0.2007969170808792, 1.0138729810714722, -0.36775580048561096, 0.9216811656951904, -0.4520924687385559, 0.014938121661543846, -0.2501428425312042, -0.6391409039497375, -0.02050662599503994, 0.05511164292693138, 0.31930670142173767, -0.11909118294715881, 0.1835726797580719, 0.6789456605911255, -0.131363183259964, 0.1891782134771347, 0.40611138939857483, -0.07690533250570297, 0.5427107810974121, 0.17093509435653687, 0.5116450786590576, -0.38587164878845215, 0.8223177194595337, 0.14036451280117035, -0.31809425354003906, 0.02545776404440403, -0.5820096731185913, -0.48291975259780884, -1.000901699066162, -0.19725970923900604, -0.3843125104904175, 0.46867620944976807, 1.0846843719482422, 0.7739179134368896, -0.5285124182701111, -0.16457822918891907, -0.30546626448631287, -0.40372225642204285, -0.1034785732626915, -0.20617464184761047, 0.2823568284511566, -0.2958057224750519, -0.8028238415718079, 0.40659233927726746, 0.3065682649612427, 0.4615667760372162, -0.2653350234031677, -0.13165102899074554, 0.18039312958717346, 0.14992748200893402, 0.4840656518936157, 0.3510023355484009, -0.4187752306461334, -0.07708371430635452, 0.11856207996606827, 0.016191357746720314, 0.26056405901908875, 0.5541927814483643, -0.7174745798110962, 0.4581294059753418, 0.37022727727890015, 0.9223684072494507, 0.026467612013220787, -0.03392315283417702, 0.8003721833229065, -0.9273224472999573, -0.004161059390753508, 0.2552579641342163, 0.11914734542369843, 0.42831218242645264, -0.3185197412967682, 0.5221856236457825, 0.06818884611129761, -0.653016209602356, -0.9716655015945435, 0.06339272856712341, -0.7863409519195557, 0.08788345009088516, 1.0261896848678589, 0.035374321043491364, -0.05546896159648895, -0.29763785004615784, -0.398391455411911, 0.90897536277771, -0.6604253649711609, 0.6850534677505493, 0.48511749505996704, 0.08024973422288895, -0.04181276634335518, -0.9704873561859131, 0.3588261902332306, -0.036096345633268356, -1.3009393215179443, 0.5113235116004944, 0.48078539967536926, -0.007623522542417049, -0.05641339719295502, 0.3817251920700073, -0.24363325536251068, 0.3744703233242035, -0.20791034400463104, 0.32134073972702026, -0.28217267990112305, -0.3197166919708252, -0.10627973824739456, -0.0642494484782219, -0.23412208259105682, -0.44958093762397766 ]
http://arxiv.org/abs/2402.16379v3
http://arxiv.org/pdf/2402.16379v3
TEaR: Improving LLM-based Machine Translation with Systematic Self-Refinement
2024-02-26T07:58:12
2024-06-21T07:35:53
Zhaopeng Feng, Yan Zhang, Hao Li, Bei Wu, Jiayu Liao, Wenqiang Liu, Jun Lang, Yang Feng, Jian Wu, Zuozhu Liu
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have achieved impressive results in Machine Translation (MT). However, careful evaluations by human reveal that the translations produced by LLMs still contain multiple errors. Importantly, feeding back such error information into the LLMs can lead to self-refinement and result in improved translation performance. Motivated by these insights, we introduce a systematic LLM-based self-refinement translation framework, named \textbf{TEaR}, which stands for \textbf{T}ranslate, \textbf{E}stimate, \textbf{a}nd \textbf{R}efine, marking a significant step forward in this direction. Our findings demonstrate that 1) our self-refinement framework successfully assists LLMs in improving their translation quality across a wide range of languages, whether it's from high-resource languages to low-resource ones or whether it's English-centric or centered around other languages; 2) TEaR exhibits superior systematicity and interpretability; 3) different estimation strategies yield varied impacts, directly affecting the effectiveness of the final corrections. Additionally, traditional neural translation models and evaluation models operate separately, often focusing on singular tasks due to their limited capabilities, while general-purpose LLMs possess the capability to undertake both tasks simultaneously. We further conduct cross-model correction experiments to investigate the potential relationship between the translation and evaluation capabilities of general-purpose LLMs. Our code and data are available at https://github.com/fzp0424/self_correct_mt
[ 0.1801500916481018, -0.46219006180763245, 0.5886475443840027, 0.44417864084243774, -0.11481431126594543, 0.2978246212005615, -0.3942178189754486, -0.5331825613975525, 0.296363890171051, 0.718149721622467, -0.7698875069618225, -0.5878132581710815, -0.3917663097381592, 0.47527191042900085, -0.40723517537117004, 1.1095163822174072, -0.5005502700805664, 0.4254462718963623, 0.0350554920732975, -0.3970493972301483, -0.25392451882362366, -0.16965383291244507, -0.3071337938308716, -0.47436487674713135, 0.8998262286186218, 0.42875936627388, 0.388048380613327, 0.8994051814079285, 0.7906144261360168, 0.37629079818725586, 0.09138857573270798, 0.3065294325351715, -0.4922899901866913, 0.4438158869743347, -0.2305687814950943, -0.5690769553184509, -0.5613107085227966, 0.07335957884788513, 0.6620402932167053, 0.4447285830974579, -0.1743190884590149, 0.2959204316139221, 0.30209407210350037, 1.0280507802963257, -0.39806026220321655, -0.3370359539985657, -0.5503593683242798, 0.10305807739496231, -0.2690593898296356, -0.017729919403791428, -0.464177668094635, -0.19900912046432495, 0.0853402316570282, -0.29765915870666504, 0.3035179674625397, -0.05009869858622551, 0.8119432330131531, 0.7044233679771423, -0.22151558101177216, -0.16748416423797607, -0.6282047033309937, 0.8030017018318176, -0.8903605937957764, 0.3525330424308777, -0.09921894967556, 0.17953325808048248, -0.15219682455062866, -0.6993825435638428, -0.16530683636665344, -0.2919478118419647, -0.026173332706093788, 0.26493513584136963, 0.14060257375240326, 0.16797170042991638, -0.008190028369426727, 0.695466935634613, -0.4742598533630371, 0.205137699842453, -0.3704523742198944, -0.19199424982070923, 0.6948795318603516, 0.10755644738674164, 0.47529104351997375, -0.21071287989616394, -0.7493151426315308, 0.23041091859340668, -0.7922371625900269, -0.4623481333255768, 0.2560267150402069, 0.18229638040065765, -0.06009780615568161, 0.4472077190876007, -0.32470956444740295, 0.4088505804538727, 0.207369863986969, -0.15871410071849823, 0.3181494176387787, -0.39707326889038086, -0.29370105266571045, -0.11541470885276794, 0.8742783665657043, 0.45219796895980835, 0.018847597762942314, -0.41243496537208557, -0.5231621861457825, -0.09231448173522949, 0.4795653522014618, -0.5694095492362976, -0.11916768550872803, 0.3407686650753021, -0.5287104249000549, -0.49134561419487, -0.27743786573410034, -0.45696738362312317, -0.37318751215934753, -0.48889124393463135, 0.3880244195461273, -0.37009397149086, -0.13542833924293518, 0.24537768959999084, 0.1922542303800583, 0.004088373854756355, 0.4584406316280365, -0.5918567180633545, 0.1152539849281311, 0.4612235426902771, 0.9538627862930298, -0.42450323700904846, -0.6512787938117981, -0.37155216932296753, 0.004610366187989712, -0.4318738281726837, 0.895037829875946, 0.02577512338757515, 0.0661429837346077, 0.020506372675299644, -0.1451825350522995, -0.09242110699415207, -0.7720544934272766, 0.4950334429740906, -0.3080708086490631, 0.12133011221885681, -0.11062069982290268, -0.35782817006111145, -0.3212861716747284, 0.41255247592926025, -0.6203744411468506, 0.9631510376930237, 0.022668149322271347, -0.46946850419044495, 0.21234698593616486, -0.5218888521194458, -0.4834877848625183, -0.19788603484630585, 0.18014705181121826, -0.539252519607544, 0.515306830406189, 0.08249343186616898, 0.2908373773097992, -0.44847428798675537, 0.09252411872148514, -0.5506308078765869, -0.16492314636707306, 0.28430965542793274, -0.22532325983047485, 0.32844364643096924, 0.16104304790496826, -0.6096175312995911, 0.4247587323188782, -0.6917607188224792, 0.16057592630386353, 0.03804357722401619, -0.4739946126937866, 0.049366019666194916, -0.09685321152210236, -0.2146177887916565, 0.46055924892425537, 0.19073782861232758, -0.4723972976207733, 0.420858770608902, -0.40198054909706116, 0.35139936208724976, 0.8562055826187134, -0.2990865707397461, 0.4765060544013977, -0.20581524074077606, 0.5680054426193237, -0.031726349145174026, 0.27402809262275696, -0.21099328994750977, 0.05485444888472557, -1.2081345319747925, -0.19331546127796173, 0.5553622245788574, 0.4125017821788788, -0.5871257185935974, 0.1824728399515152, -0.05018742382526398, -0.3711704611778259, -1.0189520120620728, 0.6095027327537537, 0.5807300209999084, 0.4936390519142151, 0.617431104183197, -0.3820953369140625, -0.508805513381958, -0.9078865647315979, -0.43563130497932434, -0.06766828894615173, 0.27172690629959106, -0.04451511427760124, 0.27045243978500366, -0.5162973999977112, 0.546735942363739, -0.17996804416179657, -0.7675323486328125, -0.39228805899620056, 0.16562530398368835, 0.04907447472214699, 0.3087298572063446, 0.07136742025613785, -0.22179953753948212, -0.35514798760414124, -0.11387301236391068, -0.8840828537940979, -0.5145721435546875, -0.40908291935920715, -0.28725799918174744, 0.43076378107070923, 0.5157777070999146, -0.3956752419471741, 0.21509578824043274, 0.8463631272315979, -0.15105926990509033, 0.8393916487693787, -0.36353570222854614, 0.10359711199998856, -0.7800453901290894, -0.011164679192006588, 0.03627132251858711, -0.29279235005378723, -0.5012524724006653, 0.19585829973220825, 0.21502681076526642, 0.468208372592926, -0.6609715819358826, 0.29075637459754944, -0.6820098757743835, -0.19462697207927704, -0.42371854186058044, 0.29847806692123413, 0.0981890931725502, 0.38777655363082886, -0.3199324905872345, 0.5242646336555481, 0.22530634701251984, -0.4148600101470947, 0.45774444937705994, -0.09805835038423538, -0.10935894399881363, 0.472321093082428, -0.613093376159668, 0.3672855496406555, 0.190082386136055, 0.3370359241962433, -0.72430819272995, -0.0979287326335907, 0.6033574342727661, -0.2283293604850769, 0.5542990565299988, -0.13584384322166443, -0.4631756544113159, -0.1474807858467102, -0.2562481462955475, 0.3184036314487457, 0.12940247356891632, -0.6717143058776855, 0.6541804671287537, 0.006340621504932642, 0.018235260620713234, -0.6002300977706909, -0.8481130003929138, 0.32332098484039307, -0.15909235179424286, -0.7750357389450073, 0.40427008271217346, -0.3119165897369385, -0.13985538482666016, -0.09077680110931396, -0.3333478569984436, 0.08414957672357559, 0.09996684640645981, 0.18917083740234375, 0.17007014155387878, -0.14218588173389435, 0.2522192597389221, -0.061220526695251465, -0.28836262226104736, -0.04895642399787903, -0.5598043203353882, 0.3836474120616913, -0.26756107807159424, -0.47129732370376587, -0.37248915433883667, 0.12066905945539474, 0.562874972820282, -0.5056139826774597, 0.3292330205440521, 0.6029130816459656, -0.07894189655780792, -0.5492926836013794, -0.8447074294090271, -0.11053375899791718, -0.45940276980400085, 0.38338175415992737, -0.4921521842479706, -0.7848072648048401, 0.43672579526901245, -0.32731202244758606, 0.020564967766404152, 0.6974929571151733, 0.514789879322052, -0.3847965598106384, 0.9845790863037109, 0.6258516311645508, -0.12247338145971298, 0.1578180491924286, -0.3806409537792206, 0.00162403448484838, -1.155423641204834, -0.04306415840983391, -0.3612716794013977, -0.6958135366439819, -0.38551580905914307, -0.6336659789085388, -0.040920864790678024, 0.33469414710998535, 0.13979564607143402, 0.19982683658599854, -0.41038164496421814, 0.4539657235145569, 0.34348738193511963, 0.13830994069576263, 0.35179752111434937, -0.06108466163277626, -0.4605046808719635, -0.16580449044704437, -0.699769914150238, -0.5663691759109497, 0.978564977645874, 0.6599259972572327, 0.884984016418457, -0.13244140148162842, 1.0395891666412354, 0.14694947004318237, 0.7782759666442871, -0.7676662802696228, 0.39948123693466187, -0.27007344365119934, -0.4898506999015808, -0.09946747869253159, -0.6103797554969788, -0.5257731080055237, 0.35401451587677, 0.11355031281709671, -0.20196790993213654, -0.17629143595695496, 0.26101401448249817, -0.12182743102312088, 0.31116899847984314, -0.6399877071380615, 0.9456921815872192, -0.7864280939102173, -0.3305591940879822, -0.4802081286907196, -0.5869059562683105, 0.4810973107814789, -0.3820240795612335, 0.18925288319587708, -0.25198349356651306, -0.15169858932495117, 0.4343522787094116, -0.47185543179512024, 0.9583373069763184, 0.13271962106227875, -0.34797313809394836, 0.18892620503902435, 0.35213392972946167, 0.49928197264671326, -0.25327402353286743, -0.020959144458174706, 0.3745104968547821, -0.4208081066608429, -0.30763640999794006, -0.7738324999809265, 0.7383818030357361, -0.5555315613746643, -0.5818517208099365, -0.36116138100624084, -0.5059598684310913, 0.0732252299785614, 0.3255482316017151, 0.26143941283226013, 0.23524263501167297, 0.06697978079319, -0.11952593177556992, 0.4439276158809662, -0.14668694138526917, 0.2927864193916321, 0.8601865768432617, -0.5049833655357361, -0.7643145322799683, 0.8648539185523987, 0.29617437720298767, 0.5030258893966675, 0.04400493577122688, 0.17428575456142426, -0.3421393632888794, -0.8224654197692871, -0.7899829745292664, 0.7475438714027405, -0.7890338897705078, -0.4073006212711334, -0.37120506167411804, 0.061444029211997986, -0.19099484384059906, -0.003605005331337452, -0.7242365479469299, -0.34662064909935, -0.10875007510185242, -0.16760684549808502, -0.015556473284959793, 1.1355185508728027, -0.24383430182933807, 0.13351696729660034, -0.9367342591285706, 0.32146188616752625, -0.07325560599565506, 0.618104100227356, -0.3296970725059509, -0.6557660698890686, -0.520416259765625, -0.030245859175920486, -0.450003445148468, -0.9447633624076843, 0.4198942184448242, 0.1925465315580368, 0.33466872572898865, 0.15171034634113312, -0.05126376822590828, 0.9393235445022583, -0.7457216382026672, 0.520203173160553, 0.3764083981513977, -1.0290913581848145, 0.5782135128974915, -0.19913677871227264, 0.3313682973384857, 0.6198652386665344, 0.03809418901801109, -0.769206702709198, -0.5818356871604919, -0.5105729103088379, -0.9385433197021484, 0.6820423603057861, -0.18498767912387848, -0.1068350151181221, 0.1272636353969574, 0.47059381008148193, 0.0532519556581974, -0.004026898182928562, -0.8789990544319153, -0.24427112936973572, 0.12152611464262009, -0.3389122486114502, -0.09255961328744888, -0.39863142371177673, -0.07848010212182999, 0.13689276576042175, 0.9663084745407104, -0.29294246435165405, -0.058557722717523575, 0.5875213742256165, -0.6023032069206238, -0.47037845849990845, 0.15293200314044952, 0.5525880455970764, 0.5172349214553833, 0.0038625155575573444, 0.12615054845809937, 0.4525814354419708, -0.1664043366909027, 0.2593615651130676, -0.11116354167461395, -0.27852863073349, 0.1447092443704605, 0.4336285889148712, 0.4783361852169037, 0.39833760261535645, -0.3709104657173157, 0.20404914021492004, 0.06870727241039276, -0.22988811135292053, -0.08182326704263687, -0.223069965839386, 0.04603760316967964, 0.41500386595726013, 0.14584767818450928, 0.2660638093948364, 0.15281617641448975, -0.21688741445541382, 0.39939507842063904, 0.03520023822784424, -0.6578918099403381, -0.38965553045272827, 0.42471951246261597, 0.4538516700267792, -0.2504895031452179, 0.5256766080856323, -0.11611577123403549, -0.8650961518287659, 0.04116208851337433, 0.39647969603538513, 1.3569660186767578, -0.48358845710754395, 0.22595281898975372, 0.24873857200145721, 0.4596169888973236, -0.2602589428424835, 0.04694204777479172, 0.23837891221046448, -0.5007520914077759, -0.9069361090660095, -0.7120771408081055, -0.3776499032974243, -0.09476207196712494, -0.3713195323944092, 0.25865045189857483, -0.3790924549102783, -0.10795637965202332, -0.4913710653781891, -0.06948073953390121, -0.370869517326355, 0.35721737146377563, 0.21202558279037476, 0.8239935636520386, -0.4278833866119385, 0.7411441802978516, 0.6539576053619385, -0.5671256184577942, -0.7652937769889832, 0.10494530946016312, 0.2278440296649933, -0.6248287558555603, 0.9317226409912109, 0.38889577984809875, -0.4213864505290985, -0.11957760900259018, -0.25062090158462524, -1.0215845108032227, 0.9745142459869385, 0.4521424174308777, -0.9629332423210144, -0.02850881777703762, 0.3372258245944977, 0.652947187423706, -0.41152048110961914, 0.1991311013698578, 0.5327836871147156, 0.33744943141937256, -0.20596259832382202, -0.9043256044387817, 0.12766867876052856, -0.15337178111076355, -0.17718815803527832, 0.20871947705745697, -0.8591182231903076, 0.3599278926849365, -0.4094572067260742, -0.1750326007604599, 0.1252259910106659, 0.8472399711608887, 0.04607059434056282, 0.12371675670146942, 0.4900006055831909, 0.9408895373344421, 0.6162524223327637, -0.13078822195529938, 0.9399994611740112, -0.36032575368881226, 0.37591660022735596, 1.3621584177017212, -0.14581844210624695, 0.8239680528640747, 0.35593852400779724, 0.06002712994813919, 0.5720636248588562, 0.5790896415710449, -0.08302608877420425, 0.23906587064266205, 0.44293925166130066, -0.05128403380513191, -0.2884964346885681, 0.02588692307472229, -0.07498040795326233, 0.3678007423877716, -0.07682577520608902, -0.7500152587890625, -0.15419435501098633, -0.21021553874015808, 0.12751489877700806, -0.02629072032868862, -0.11505277454853058, 0.7097025513648987, 0.3909984230995178, -0.8040273189544678, 0.6737704873085022, 0.14494110643863678, 0.6033743023872375, -0.36840757727622986, 0.13524609804153442, -0.3621610403060913, 0.6161417365074158, -0.41207581758499146, -0.4409378170967102, 0.46505871415138245, 0.18636052310466766, -0.20507661998271942, -0.5561846494674683, 0.7877292633056641, -0.569941520690918, -0.46707046031951904, 0.7513484358787537, 0.4753709137439728, 0.10871493071317673, -0.3226451873779297, -1.0291262865066528, 0.3703007996082306, 0.20779703557491302, -0.33847576379776, 0.23223508894443512, 0.4529109597206116, 0.3017437756061554, 0.8469312787055969, 0.5094534754753113, 0.33012720942497253, 0.18638798594474792, 0.41193339228630066, 0.5898927450180054, -0.8517085313796997, 0.040205903351306915, -0.8631498217582703, 0.9122564792633057, 0.09449151903390884, -0.4467051923274994, 0.8810653686523438, 0.5124397873878479, 0.9043848514556885, 0.052335407584905624, 0.7365366816520691, 0.4228089153766632, 0.5967696309089661, -0.5577090978622437, 0.6444779634475708, -0.6579201221466064, 0.3248690664768219, -0.1671011596918106, -0.9501170516014099, -0.4491037130355835, 0.45156726241111755, -0.2687607407569885, -0.10635069757699966, 0.8980770111083984, 0.6823651194572449, 0.3102623224258423, -0.3390706181526184, 0.22904570400714874, 0.5099748373031616, 0.3338923454284668, 0.22337500751018524, 0.972454845905304, -0.6662777066230774, 0.8773784041404724, -0.45521971583366394, -0.12617796659469604, -0.17657385766506195, -0.678581178188324, -0.5952686071395874, -0.1415659338235855, -0.7514131665229797, -0.5208840370178223, 0.039825815707445145, 0.9360981583595276, 0.6244974732398987, -0.654202401638031, -0.37275245785713196, -0.052357178181409836, 0.011423110030591488, -0.19411517679691315, -0.10252159088850021, 0.09580720961093903, -1.1187496185302734, -0.6342499852180481, 0.6874473094940186, 0.5576594471931458, -0.12136612832546234, -0.4837743937969208, -0.3597441613674164, -0.028451737016439438, -0.08446872979402542, 0.4836866557598114, -0.06859586387872696, -1.1157842874526978, -0.27048400044441223, 0.13393227756023407, -0.34395071864128113, 0.22172564268112183, 0.6874189972877502, -0.5288057327270508, 0.6030656099319458, 0.29465556144714355, 0.6752526760101318, 0.36225005984306335, -0.1964670717716217, 0.9000161290168762, -0.5718423128128052, -0.5746470093727112, 0.014739646576344967, 0.515715479850769, 0.6374281644821167, -0.13514213263988495, 0.7475889921188354, 0.30340564250946045, -0.6951093673706055, -0.7278401255607605, 0.25993287563323975, -0.6151784658432007, -0.1072717234492302, 1.2053111791610718, -0.39106687903404236, -0.3819724917411804, 0.20299431681632996, -0.30654293298721313, 0.43389564752578735, -0.0868225246667862, 0.8638217449188232, 0.720776379108429, 0.028986049816012383, -0.19003652036190033, -0.3246285021305084, 0.38924938440322876, 0.8312768340110779, -0.652906596660614, 0.2538659870624542, 0.5005214214324951, 0.46010705828666687, 0.20446620881557465, 0.2882537841796875, -0.25703197717666626, 0.17398357391357422, -0.4451395273208618, 0.4719678461551666, 0.09533525258302689, -0.5195277333259583, -0.7826026678085327, -0.13013367354869843, 0.17314890027046204, 0.001286478596739471 ]
http://arxiv.org/abs/2402.16367v2
http://arxiv.org/pdf/2402.16367v2
Unraveling Babel: Exploring Multilingual Activation Patterns of LLMs and Their Applications
2024-02-26T07:44:56
2024-06-17T17:57:32
Weize Liu, Yinlong Xu, Hongxia Xu, Jintai Chen, Xuming Hu, Jian Wu
cs.CL
cs.CL
Recently, large language models (LLMs) have achieved tremendous breakthroughs in the field of NLP, but still lack understanding of their internal activities when processing different languages. We designed a method to convert dense LLMs into fine-grained MoE architectures, and then visually studied the multilingual activation patterns of LLMs through expert activation frequency heatmaps. Through comprehensive experiments on different model families, different model sizes, and different variants, we analyzed the distribution of high-frequency activated experts, multilingual shared experts, whether the activation patterns of different languages are related to language families, and the impact of instruction tuning on activation patterns. We further explored leveraging the discovered differences in expert activation frequencies to guide unstructured pruning in two different ways. Experimental results demonstrated that our method significantly outperformed random expert pruning and even exceeded the performance of the original unpruned models in some languages. Additionally, we found that configuring different pruning rates for different layers based on activation level differences could achieve better results. Our findings reveal the multilingual processing mechanisms within LLMs and utilize these insights to offer new perspectives for applications such as model pruning.
[ -0.3287717401981354, -0.9881616234779358, 0.21038387715816498, 0.47082820534706116, -0.17699947953224182, 0.22307324409484863, -0.5325812101364136, -0.4601428806781769, 0.023211130872368813, 0.4523094892501831, -0.40540987253189087, -0.6253498792648315, -0.48920199275016785, 0.07952669262886047, -0.28020191192626953, 0.4744255244731903, 0.032435301691293716, 0.19087067246437073, -0.12867684662342072, -0.045564860105514526, -0.49545344710350037, -0.5199332237243652, -0.7216935753822327, -0.5794578790664673, 0.24317757785320282, 0.36132296919822693, 0.4859878122806549, 0.3437756896018982, 0.3649936616420746, 0.4255332052707672, -0.334021657705307, 0.4334137439727783, -0.49770909547805786, 0.14964520931243896, 0.018209297209978104, -0.49885159730911255, -0.4365544319152832, -0.15052692592144012, 0.5791765451431274, 0.7508864998817444, -0.29306089878082275, 0.16746029257774353, 0.24736341834068298, 0.5521387457847595, -0.3757040500640869, 0.4156566858291626, -0.7124606370925903, 0.138059601187706, -0.32672759890556335, -0.6120305061340332, -0.706376314163208, 0.15872375667095184, -0.1755828708410263, -0.2974546551704407, 0.2773105204105377, 0.0105361333116889, 0.5139034390449524, 0.27219656109809875, -0.5364094972610474, -0.04186925292015076, -0.6978322267532349, 0.9962197542190552, -0.7269445657730103, 0.3457963168621063, 0.2387629747390747, -0.06066669151186943, -0.3441823720932007, -0.2876151502132416, -0.06592487543821335, 0.0031023044139146805, -0.140952467918396, 0.011175929568707943, -0.1175772100687027, -0.016747836023569107, 0.17364242672920227, 0.1778823435306549, -0.4989427924156189, 0.43808242678642273, -0.36136141419410706, -0.11639823764562607, 0.7541413307189941, -0.05325988680124283, 0.3997534215450287, 0.011529481038451195, -0.4279303252696991, 0.10366936028003693, -0.7546753883361816, 0.04458048194646835, 0.2959766387939453, 0.15947018563747406, -0.057830147445201874, 0.5194731950759888, -0.07196033000946045, 0.8753350377082825, -0.11714716255664825, -0.21803812682628632, 0.2813054025173187, -0.029664143919944763, -0.0571761280298233, 0.1499498337507248, 0.7508183717727661, 0.3918793201446533, 0.6450315117835999, -0.3411465883255005, -0.201149120926857, -0.33393508195877075, -0.008288877084851265, -0.6881581544876099, -0.09940129518508911, 0.19729217886924744, -0.31029748916625977, -0.20281653106212616, -0.2944197952747345, -0.6168220043182373, -0.09662550687789917, -0.2383914440870285, 0.08590314537286758, -0.5118730068206787, -0.628689706325531, 0.44210758805274963, -0.07941070199012756, 0.17328310012817383, 0.08928176015615463, -0.9425954818725586, 0.017185810953378677, 0.6236692070960999, 0.5939772129058838, -0.18483078479766846, -0.44899889826774597, -0.16688652336597443, 0.3343924880027771, -0.43700698018074036, 0.5931511521339417, -0.6621499061584473, -0.3504153788089752, 0.19698628783226013, -0.18471834063529968, -0.23824216425418854, -0.6845846772193909, 0.15174171328544617, -1.0242128372192383, -0.09869081526994705, 0.10885592550039291, -0.4332727789878845, -0.4895074665546417, 0.2899682819843292, -0.5967118144035339, 1.2172541618347168, -0.13942170143127441, -0.36206328868865967, 0.1589146852493286, -0.663468599319458, -0.4733118414878845, 0.13391146063804626, -0.08088167011737823, -0.054879821836948395, 0.49146413803100586, 0.21973159909248352, 0.6098175048828125, -0.2298993021249771, 0.35496798157691956, 0.008905265480279922, -0.1388564556837082, 0.3232903480529785, -0.5870192050933838, 0.8956398367881775, 0.04369860887527466, -0.12410876899957657, 0.265959233045578, -0.6841183304786682, 0.08540203422307968, 0.2066974639892578, -0.5531083345413208, -0.44637662172317505, 0.04274970293045044, 0.07411341369152069, 0.30475708842277527, 0.30721011757850647, -0.34498131275177, 0.4290943443775177, -0.5126317143440247, 0.5434808135032654, 0.6411179304122925, 0.16030418872833252, 0.42834171652793884, 0.050425972789525986, 0.5089227557182312, 0.1818869411945343, -0.01905006915330887, -0.2180064469575882, -0.682125449180603, -0.7061852216720581, -0.07603252679109573, 0.20874212682247162, 0.38375532627105713, -0.6983755230903625, 0.15044011175632477, -0.277927964925766, -0.26878994703292847, -0.6601885557174683, 0.5862292051315308, 0.6327500939369202, 0.21598568558692932, 0.44150468707084656, -0.39751136302948, -0.20083849132061005, -0.9274041056632996, -0.40662577748298645, 0.06887176632881165, 0.05930353328585625, 0.08312258124351501, 0.244175985455513, -0.11489281803369522, 0.9729059338569641, -0.3430306911468506, -0.265460729598999, -0.422897607088089, 0.3419334888458252, 0.2329041212797165, 0.512663722038269, 0.5035059452056885, -0.9136021137237549, -0.5325937867164612, 0.24982860684394836, -0.5380247831344604, -0.04736577719449997, -0.05204511433839798, -0.0091475248336792, 0.19737175107002258, 0.8383706212043762, -0.5004131197929382, 0.17246513068675995, 0.6334329843521118, -0.12486446648836136, 0.4807159900665283, -0.2766261398792267, -0.02209262177348137, -0.8763937950134277, -0.18316487967967987, 0.07914731651544571, -0.013570570386946201, -0.8119667172431946, 0.3873365819454193, 0.11527916043996811, -0.022890649735927582, -0.7054170370101929, 0.6728618741035461, -0.8806473016738892, -0.17761023342609406, -0.19504810869693756, -0.13792233169078827, -0.041914504021406174, 0.8746750354766846, 0.14023157954216003, 0.6131108403205872, 0.5086110830307007, -0.5049866437911987, 0.3537803590297699, 0.08741161227226257, -0.6446052193641663, -0.16478374600410461, -0.5756045579910278, 0.09973496943712234, -0.042404260486364365, -0.2795313894748688, -0.8821685910224915, -0.1671719253063202, -0.10674072057008743, -0.19763417541980743, 0.5378947854042053, -0.4677765667438507, -0.6833482384681702, -0.05499297007918358, -0.09021104872226715, 0.6377399563789368, 0.4787057638168335, -0.24486857652664185, 0.6443119645118713, 0.4748978912830353, -0.15567883849143982, -0.40751326084136963, -0.6666730046272278, -0.06513554602861404, -0.37154915928840637, -0.706744372844696, 0.38785675168037415, -0.15063875913619995, -0.5289461612701416, -0.24522899091243744, -0.07315600663423538, -0.09906339645385742, 0.39169013500213623, 0.17479334771633148, -0.018164701759815216, -0.2878062427043915, 0.0032107047736644745, 0.08435731381177902, -0.1931455284357071, 0.15508118271827698, -0.02049175649881363, 0.9763060808181763, -0.06545045971870422, -0.641954779624939, -0.3363732397556305, 0.4006006419658661, 0.5557276010513306, -0.7423319816589355, 0.6788868308067322, 0.7843151688575745, -0.16277605295181274, -0.30193349719047546, -0.5805262923240662, -0.13152246177196503, -0.5571209788322449, 0.4521876573562622, -0.47128623723983765, -0.6616883873939514, 0.48396533727645874, -0.4508726894855499, 0.35612788796424866, 0.18529772758483887, 0.7431784272193909, 0.10655897855758667, 1.1783466339111328, 0.7839627861976624, -0.08406920731067657, 0.6818030476570129, -0.38172706961631775, 0.13401705026626587, -0.8611834645271301, -0.30130288004875183, -0.31264379620552063, -0.4952450096607208, -0.2833894193172455, -0.6978574395179749, 0.39307138323783875, 0.5052061676979065, 0.17074789106845856, -0.015668008476495743, -0.381073534488678, 0.6515923738479614, 0.5090039968490601, 0.01938345469534397, 0.3195779323577881, 0.42134976387023926, -0.10423927754163742, 0.11117309331893921, -0.9518129825592041, -0.3100523054599762, 0.9201217889785767, 0.22760486602783203, 0.6398501992225647, 0.1654946357011795, 0.5043208599090576, 0.05514691770076752, 0.3215317130088806, -0.8911597728729248, 0.6127256155014038, -0.10497942566871643, -0.6744135618209839, -0.39747950434684753, -0.14973270893096924, -1.06354558467865, 0.5021617412567139, -0.09300646930932999, -0.668578028678894, 0.18165898323059082, 0.10625952482223511, -0.09211444854736328, 0.19368398189544678, -0.9700675010681152, 0.759722113609314, -0.4312669038772583, -0.346713125705719, -0.4458679258823395, -0.29378828406333923, 0.3119697570800781, -0.09057898074388504, 0.5404874682426453, -0.30321502685546875, 0.03646305575966835, 0.7363706827163696, 0.04446844011545181, 1.1319432258605957, -0.017957810312509537, -0.46082058548927307, 0.16355806589126587, 0.247394397854805, 0.43815621733665466, 0.03849346190690994, -0.43645426630973816, 0.4292907416820526, -0.5178982615470886, -0.47091007232666016, -0.3789302408695221, 0.7374419569969177, -0.713741660118103, -0.8382132649421692, 0.08914948254823685, -0.7746205925941467, -0.40128692984580994, 0.3212471902370453, -0.03356239199638367, 0.5905442237854004, -0.11171804368495941, 0.10270023345947266, 0.6426864266395569, -0.020505627617239952, 0.6198115348815918, 0.8778367638587952, -0.2533600628376007, 0.1003129854798317, 0.9666874408721924, 0.025197232142090797, 0.21682167053222656, 0.4919135272502899, 0.019413011148571968, 0.07439003884792328, -1.072693943977356, -0.4066559970378876, 0.1785859316587448, -0.6662982106208801, 0.08838020265102386, -0.4604834020137787, -0.0494256392121315, -0.3697604537010193, -0.22542616724967957, -0.21382132172584534, -0.1547129601240158, -0.2459542453289032, -0.06976328790187836, 0.3764949142932892, 0.625137448310852, 0.16636922955513, 0.4497722089290619, -0.8931043148040771, 0.2883952558040619, 0.14905916154384613, 0.08361459523439407, 0.037111442536115646, -0.35655611753463745, -0.464969664812088, 0.07873993366956711, -0.033458154648542404, -0.9613476991653442, 0.6954982876777649, 0.4072536826133728, 0.7120609879493713, 0.6010759472846985, -0.15190373361110687, 0.8226689696311951, -0.7971832156181335, 0.6003236174583435, -0.030355172231793404, -0.6464307308197021, 0.23959650099277496, -0.3322981894016266, 0.3714989721775055, 0.18597565591335297, 0.43347206711769104, -0.5539657473564148, -0.4463810622692108, -0.502337634563446, -1.2686622142791748, 0.6939015984535217, -0.21963562071323395, 0.10257048904895782, 0.0900653675198555, 0.2881873846054077, 0.021446915343403816, 0.16843874752521515, -0.5596103072166443, -0.3611244261264801, 0.2924794554710388, 0.0013671012129634619, -0.37022191286087036, -0.525165319442749, -0.4694593846797943, -0.05576500669121742, 0.514451801776886, -0.1641121506690979, 0.033172473311424255, -0.22201740741729736, -0.6046769618988037, -0.15475055575370789, 0.326309472322464, 0.387479692697525, 0.6194927096366882, -0.02518075332045555, 0.02532237023115158, 0.13631810247898102, -0.21397598087787628, -0.16878139972686768, -0.14963534474372864, -0.08713484555482864, 0.10305818170309067, 0.7388607859611511, 0.7198956608772278, 0.7054693102836609, -0.5509691834449768, 0.03966229036450386, 0.14995799958705902, -0.02453421615064144, -0.2533915638923645, 0.19612568616867065, 0.3346917927265167, 0.24531404674053192, 0.3672690689563751, 0.058439046144485474, -0.1498851180076599, -0.5698864459991455, -0.03266352787613869, 0.6288414001464844, -0.2151121348142624, -0.444930762052536, 0.3240101635456085, 0.5009928941726685, -0.45810356736183167, 0.7062996029853821, 0.021767470985651016, -0.4633966386318207, 0.6888270974159241, 0.5762708187103271, 0.6492506861686707, -0.3753066956996918, 0.02857086807489395, 0.10323009639978409, 0.4499076306819916, 0.10019344091415405, 0.27885177731513977, -0.16316576302051544, -0.9985335469245911, -0.7449325919151306, -0.7491492033004761, -0.01597617380321026, 0.005980330985039473, -0.8186001777648926, 0.0840994268655777, -0.04550127312541008, 0.09885185211896896, 0.1140337586402893, -0.11193336546421051, -0.7287923693656921, -0.1939874142408371, 0.08777234703302383, 1.1251611709594727, -0.893317461013794, 1.02930748462677, 0.9768723249435425, -0.043360188603401184, -0.6684866547584534, -0.2036067247390747, 0.13787947595119476, -1.1374304294586182, 0.789626955986023, 0.09313762933015823, -0.07526490092277527, 0.4109744429588318, -0.271455854177475, -0.820012629032135, 0.8983585834503174, 0.31053605675697327, -0.6400994062423706, -0.06425902992486954, 0.24066780507564545, 0.4263709783554077, -0.20864450931549072, 0.2530961334705353, 0.5799752473831177, 0.6162242293357849, -0.1746649444103241, -0.7401796579360962, -0.28293707966804504, -0.4944034516811371, -0.11839645355939865, 0.3491068184375763, -0.619826078414917, 0.6292986273765564, -0.056119419634342194, -0.20081742107868195, -0.20586997270584106, 0.5346230864524841, 0.073457732796669, 0.03490344062447548, 0.45336684584617615, 0.327549546957016, 0.48234352469444275, -0.08954478800296783, 0.9139538407325745, -0.9054228663444519, 0.21134203672409058, 0.761410117149353, -0.21432827413082123, 0.9114435315132141, 0.5978512763977051, 0.021487759426236153, 0.3761853575706482, 0.6483646035194397, 0.0967608392238617, 0.22466987371444702, -0.038865696638822556, -0.29818907380104065, -0.586154580116272, -0.18172809481620789, -0.3072889745235443, 0.3147517144680023, 0.8444274663925171, -0.12963148951530457, -0.27783578634262085, 0.17545564472675323, 0.028002658858895302, -0.1318754404783249, -0.4464135468006134, 0.7721976041793823, 0.09481111913919449, -0.5930068492889404, 0.6328524351119995, 0.26426926255226135, 0.7188071012496948, -0.7598924040794373, 0.06904744356870651, -0.159845769405365, 0.17187431454658508, -0.29568350315093994, -0.7928828597068787, 0.06703894585371017, -0.019515497609972954, -0.16830669343471527, -0.8295580148696899, 0.6750324368476868, -0.6913657784461975, -0.39361387491226196, 0.5269443392753601, 0.7249501943588257, 0.35629531741142273, -0.07107627391815186, -0.8538576364517212, 0.14993387460708618, 0.16249465942382812, -0.7905369400978088, 0.522795557975769, 0.5917630791664124, -0.269878625869751, 0.7839949131011963, 0.7854145169258118, 0.07549580186605453, 0.38288262486457825, 0.21730546653270721, 0.7271032333374023, -0.598583459854126, -0.09917113184928894, -0.8013393878936768, 0.6589460372924805, 0.13873355090618134, -0.34094151854515076, 1.080998182296753, 0.5260633826255798, 1.0548204183578491, -0.2329576015472412, 0.3049243092536926, 0.25431880354881287, 0.03530700504779816, -0.8495739102363586, 0.5947092175483704, -0.7311398386955261, 0.3837951421737671, 0.16347207129001617, -0.6952385902404785, -0.278868168592453, 0.2528902590274811, -0.2931579053401947, -0.010680079460144043, 0.46612289547920227, 0.9888291954994202, -0.05645662546157837, -0.36369532346725464, 0.4014412462711334, 0.5024089217185974, 0.27755221724510193, 0.2340242713689804, 0.637984573841095, 0.15290062129497528, 0.5081129670143127, -0.4243236482143402, -0.1544080227613449, -0.4849090576171875, -0.6288694143295288, -0.8785702586174011, -0.47384968400001526, -0.273272842168808, 0.07197964191436768, -0.18788284063339233, 0.7767232060432434, 0.693846583366394, -0.7030667066574097, -0.5479200482368469, 0.10271181911230087, 0.2495238184928894, -0.48884183168411255, -0.22460319101810455, 0.33737653493881226, -0.46990546584129333, -1.0810481309890747, 0.9413862228393555, 0.36979520320892334, -0.16697724163532257, -0.3779100775718689, 0.106862872838974, -0.2512756288051605, -0.14628084003925323, 0.7332053184509277, 0.2879359722137451, -0.6854864358901978, 0.33022579550743103, -0.16269946098327637, 0.10135019570589066, -0.006183611694723368, 1.1190301179885864, -0.6304556727409363, 0.411835253238678, 0.5631479024887085, 0.33435550332069397, 0.30981603264808655, -0.12977366149425507, 0.6418061852455139, -1.0328490734100342, 0.5370336174964905, 0.22648335993289948, 0.6072500944137573, 0.02384427934885025, -0.08653155714273453, 0.37382322549819946, -0.061630334705114365, -0.3093279004096985, -0.9425466060638428, 0.42041096091270447, -0.8861030340194702, -0.5907006859779358, 1.477152943611145, -0.10725615918636322, -0.4056870639324188, -0.29099133610725403, -0.1119827851653099, 0.13598030805587769, -0.3053250014781952, 0.6629916429519653, 0.8139278292655945, -0.14520396292209625, -0.09549729526042938, -0.6713114380836487, 0.46750760078430176, 0.6294806599617004, -0.36141881346702576, 0.13928961753845215, 0.2835853695869446, 0.12171680480241776, 0.4196404814720154, 0.40882858633995056, -0.1460895538330078, 0.04855429381132126, -0.30739349126815796, 0.350101113319397, -0.3712223470211029, -0.38007497787475586, -0.5622684359550476, 0.4440873861312866, 0.27991268038749695, 0.11024167388677597 ]
http://arxiv.org/abs/2402.16364v1
http://arxiv.org/pdf/2402.16364v1
Where Do We Go from Here? Multi-scale Allocentric Relational Inference from Natural Spatial Descriptions
2024-02-26T07:33:28
2024-02-26T07:33:28
Tzuf Paz-Argaman, Sayali Kulkarni, John Palowitch, Jason Baldridge, Reut Tsarfaty
cs.CL
cs.CL, cs.LG, cs.MM
When communicating routes in natural language, the concept of {\em acquired spatial knowledge} is crucial for geographic information retrieval (GIR) and in spatial cognitive research. However, NLP navigation studies often overlook the impact of such acquired knowledge on textual descriptions. Current navigation studies concentrate on egocentric local descriptions (e.g., `it will be on your right') that require reasoning over the agent's local perception. These instructions are typically given as a sequence of steps, with each action-step explicitly mentioning and being followed by a landmark that the agent can use to verify they are on the right path (e.g., `turn right and then you will see...'). In contrast, descriptions based on knowledge acquired through a map provide a complete view of the environment and capture its overall structure. These instructions (e.g., `it is south of Central Park and a block north of a police station') are typically non-sequential, contain allocentric relations, with multiple spatial relations and implicit actions, without any explicit verification. This paper introduces the Rendezvous (RVS) task and dataset, which includes 10,404 examples of English geospatial instructions for reaching a target location using map-knowledge. Our analysis reveals that RVS exhibits a richer use of spatial allocentric relations, and requires resolving more spatial relations simultaneously compared to previous text-based navigation benchmarks.
[ -0.6704980134963989, -0.7552043199539185, 1.409376859664917, 0.26528629660606384, 0.1469956636428833, -0.23953013122081757, -0.29728561639785767, -0.5909192562103271, 0.18595394492149353, 0.6466456651687622, -0.7245493531227112, -0.5136123299598694, -0.4112631678581238, -0.043252456933259964, -0.08053159713745117, 0.7024069428443909, -0.09943036735057831, -0.1621684581041336, -0.362724632024765, -0.003971833270043135, -0.2879193127155304, -0.6890661120414734, -0.46426329016685486, -0.2968549430370331, 0.7233741879463196, 0.5782619118690491, 0.671864926815033, 0.5028401613235474, 0.4418005347251892, 0.34788966178894043, -0.03558866307139397, 0.1533094197511673, -0.3684772849082947, -0.04903526231646538, -0.3360759913921356, -0.2691636383533478, 0.08909103274345398, 0.1517561376094818, 0.4980928897857666, 0.9882249236106873, -0.09782186895608902, -0.06468173861503601, -0.3542000353336334, 0.6079661250114441, -0.8680984377861023, 0.030390772968530655, -0.36504244804382324, -0.021635740995407104, 0.001764669199474156, -0.3755407929420471, -0.3796670436859131, -0.42310184240341187, 0.6646707653999329, -0.9405394792556763, 0.16695944964885712, 0.4724172353744507, 0.8314359188079834, 0.11312549561262131, -0.7986395359039307, -0.4450761675834656, -1.1014244556427002, 0.8851341605186462, -0.09902875125408173, 0.3311627209186554, 0.696403443813324, 0.5562828779220581, -0.38140952587127686, -0.7678084969520569, -0.48762717843055725, -0.35033291578292847, -0.3927611708641052, 0.03446267917752266, 0.009328104555606842, -0.010061264038085938, 0.1574709266424179, -0.17835545539855957, -0.4246474802494049, -0.39854732155799866, -0.5559894442558289, 0.10739476978778839, 0.6993936896324158, -0.0008001388632692397, 0.18722890317440033, -0.2523960769176483, -0.8191666603088379, 0.035805728286504745, -0.6156045794487, 0.10195349156856537, 0.014467894099652767, 0.4094044268131256, -0.09157435595989227, 0.6023922562599182, -0.0913718193769455, 0.8159289956092834, 0.02505861595273018, 0.06237039715051651, -0.048061273992061615, -0.6520678997039795, 0.07283336669206619, -0.04243099316954613, 0.9848809242248535, 0.5381242036819458, 0.42815834283828735, -0.4550441801548004, 0.024530751630663872, -0.5123016834259033, 0.5287401080131531, -0.17144069075584412, -0.08165211975574493, 0.07124410569667816, -0.2648911476135254, 0.3623978793621063, -0.0637807622551918, -0.8742550015449524, -0.1759287714958191, -0.6163029074668884, 0.3536829650402069, -0.5851287245750427, -0.22641396522521973, 0.0056016515009105206, -0.11822360008955002, 0.4011138379573822, 0.15415583550930023, -0.7961834073066711, 0.2847273349761963, 0.6123733520507812, 0.9243676662445068, 0.05295087397098541, -0.7377442717552185, -0.14984960854053497, 0.3204989731311798, -0.23798078298568726, 1.1580801010131836, -0.47367799282073975, -0.338852196931839, -0.04921627417206764, 0.019208237528800964, -0.3653314411640167, -0.14687296748161316, 0.36233559250831604, -0.4056262671947479, 0.2001301795244217, -0.608902633190155, -0.08884964883327484, -0.48882099986076355, 0.4185129404067993, -0.5834888219833374, 1.084242582321167, -0.12079457938671112, -0.6099030375480652, 0.34389498829841614, -0.7087172269821167, -0.5738024711608887, -0.19173572957515717, -0.04836646839976311, 0.07736712694168091, -0.07712405920028687, 0.4331199526786804, 0.20795099437236786, -0.13380464911460876, 0.06625445187091827, -0.1333504021167755, -0.28493791818618774, 0.13259334862232208, -0.01292745117098093, 0.5248429775238037, 0.10408985614776611, -0.31160038709640503, -0.009634404443204403, -0.5401113629341125, -0.05329803749918938, 0.07234260439872742, -0.10289689153432846, -0.58200603723526, 0.16424092650413513, -0.10360094904899597, 0.20882271230220795, 0.3229667544364929, -0.36426112055778503, 0.10646726191043854, -0.16568706929683685, 0.22170107066631317, 0.43046510219573975, 0.4084267318248749, 1.3442409038543701, -0.18338556587696075, 0.4079568684101105, -0.2697638273239136, 0.4147488474845886, -0.10582016408443451, -0.819685161113739, -0.2367030829191208, -0.09875333309173584, -0.27244701981544495, 0.5203971266746521, -0.5211769938468933, 0.21339567005634308, -0.5220586657524109, -0.7727169990539551, 0.06322349607944489, -0.5430524349212646, 0.0943344384431839, 0.39460062980651855, 0.6153814196586609, 0.19199980795383453, -0.5507315993309021, -0.5041127800941467, -0.16008077561855316, -0.2803417146205902, -0.23618297278881073, 0.3962993919849396, 0.5700315237045288, -0.048203304409980774, 0.9667149782180786, -0.49228495359420776, -0.2940385937690735, -0.31635600328445435, 0.09733811765909195, -0.0024258701596409082, 0.24901914596557617, 0.49099308252334595, -0.8021087050437927, -0.3993188440799713, -0.03321013227105141, -0.727509081363678, 0.33981001377105713, -0.29600104689598083, -0.7288534641265869, -0.41459426283836365, 0.5300264954566956, -0.9337567687034607, 0.3206952214241028, 0.18809114396572113, -0.4757445752620697, 0.4464588165283203, -0.37288227677345276, 0.4791567027568817, -0.9050701260566711, -0.0033874374348670244, 0.009594929404556751, 0.05640219897031784, -0.5598616003990173, 0.18695133924484253, -0.2656151354312897, -0.07665169984102249, -0.1313718557357788, 0.3919123709201813, -0.75390625, -0.48587387800216675, 0.27618542313575745, 0.7344472408294678, 0.1410999745130539, 0.4369232952594757, 0.23491059243679047, 0.5818886160850525, 0.6368222832679749, -0.5811238884925842, 0.38478749990463257, 0.34661707282066345, 0.03726845234632492, 0.7685545682907104, -0.16495782136917114, -0.08317416906356812, -0.44037970900535583, 0.4650447368621826, -1.3263782262802124, -0.03767143562436104, 0.07805156707763672, -0.5486431121826172, 0.0572747103869915, -0.3112380802631378, -0.14372292160987854, -0.296653687953949, 0.015799010172486305, 0.3513619005680084, 0.04333679378032684, -0.6063789129257202, 1.072147250175476, 0.448236882686615, 0.07348411530256271, -0.628462553024292, -0.6656765341758728, 0.13404300808906555, -0.19784285128116608, -0.4930436611175537, 0.04827729985117912, 0.36775654554367065, -0.3704242706298828, -0.1012733057141304, 0.04255491495132446, -0.45003175735473633, -0.19109389185905457, 0.4915987551212311, 0.3161104619503021, -0.1730528324842453, -0.014321396127343178, -0.48470833897590637, 0.007696520537137985, 0.40378323197364807, -0.3263198435306549, 0.24597065150737762, 0.08085542172193527, -0.260501891374588, -0.33102232217788696, 0.6095427870750427, 0.7736079096794128, -0.32919180393218994, 0.9210193157196045, 0.3670864999294281, -0.3194275498390198, 0.1895119845867157, -0.2934814393520355, -0.23887035250663757, -0.3880504071712494, 0.10195372253656387, -0.5659300684928894, -0.4613553285598755, 0.46238431334495544, -0.3928104639053345, 0.16847118735313416, 0.1743391901254654, -0.061383720487356186, -0.2826964557170868, 0.5041074156761169, 0.5094422101974487, 0.1295347958803177, 0.18944579362869263, -0.2616089880466461, 0.7916219234466553, -0.7900454998016357, -0.6903712153434753, -0.7410898208618164, -0.47654932737350464, -0.6276822090148926, -0.6707176566123962, 0.2531013488769531, 0.20495575666427612, -0.363736093044281, 0.522379994392395, -0.4965935945510864, 0.5750030875205994, 0.5684193968772888, -0.12702912092208862, 0.220889151096344, 0.1078832820057869, -0.3207351267337799, -0.24772219359874725, -0.830193281173706, -0.3370199203491211, 1.119919776916504, -0.07492264360189438, 0.6671311855316162, 0.07101172208786011, 0.6248367428779602, -0.112228624522686, 0.3802037239074707, -0.7824053764343262, 0.5818634033203125, 0.39853668212890625, -0.582221269607544, -0.48432984948158264, -0.3285647928714752, -1.1984877586364746, 0.34865254163742065, -0.37297993898391724, -0.8529013991355896, 0.14973340928554535, -0.1723552644252777, -0.4078783392906189, 0.4346579611301422, -0.6613630056381226, 0.8736092448234558, -0.2583673596382141, -0.3577858507633209, -0.0036518550477921963, -0.9045901298522949, 0.23601941764354706, 0.35516586899757385, 0.6914351582527161, -0.06506163626909256, 0.061582643538713455, 0.3789326846599579, 0.01549253799021244, 0.43964120745658875, -0.29008397459983826, 0.13270746171474457, 0.37175270915031433, 0.17161743342876434, 0.30593544244766235, -0.12090189754962921, 0.1677599847316742, 0.2603791058063507, -0.1510993242263794, -0.17239724099636078, -0.5755215287208557, 0.9381693601608276, -0.7422435283660889, 0.032856933772563934, -0.3609783947467804, -0.49496474862098694, -0.20243605971336365, -0.06857433170080185, 0.35638442635536194, 0.4056220054626465, -0.10835423320531845, -0.4490951597690582, 0.4992905855178833, -0.18819071352481842, 0.48605674505233765, 0.42144662141799927, -0.17937412858009338, -0.22212480008602142, 0.5330422520637512, -0.06204883009195328, -0.021008387207984924, 0.7204822897911072, -0.08129178732633591, -1.0894238948822021, -0.13076753914356232, -0.25384628772735596, 0.4823862910270691, -0.8032121062278748, 0.08974900096654892, -0.5358362793922424, 0.028075462207198143, -0.33244580030441284, -0.5558028817176819, -0.4867153465747833, -0.34065312147140503, 0.08020903170108795, -0.10024154186248779, 0.291402667760849, 1.059292197227478, -0.23463864624500275, 0.42848458886146545, -0.7216970324516296, 0.21941716969013214, 0.09039177745580673, -0.10406522452831268, 0.10158870369195938, -0.12745539844036102, -0.2514927089214325, -0.12534591555595398, -0.25769227743148804, -1.1203863620758057, 0.1716146469116211, -0.005505773704499006, 0.5530467629432678, 0.293409526348114, 0.22618065774440765, 0.8668805956840515, -0.8899173140525818, 0.8216536045074463, 0.13538409769535065, -0.4404017925262451, 0.6802681088447571, -0.22735853493213654, 0.18959808349609375, 0.3347820043563843, 0.7756625413894653, -0.46249717473983765, -0.37206733226776123, -0.38015058636665344, -0.99757319688797, 0.256119966506958, 0.054952725768089294, -0.24474668502807617, -0.19519807398319244, 0.7296634912490845, -0.5097447037696838, -0.10825135558843613, -0.8615871071815491, -0.27618446946144104, 0.07134991884231567, -0.07171281427145004, -0.2759305536746979, -0.047257859259843826, -0.4316791892051697, 0.0029597540851682425, 0.22411945462226868, -0.09494040161371231, 0.5790914297103882, 0.407631516456604, 0.017964867874979973, -0.0695301964879036, 0.27280786633491516, 0.3663179874420166, 1.0939751863479614, 0.04604572430253029, 0.3887946903705597, -0.092147096991539, -0.23380567133426666, 0.2217639833688736, 0.18424779176712036, -0.11753050237894058, 0.11466034501791, 0.5530400276184082, 0.3630468249320984, 0.5133848190307617, -0.41085562109947205, 0.684705913066864, -0.10439997911453247, -0.014254426583647728, -0.5081011056900024, -0.4762079417705536, 0.1009177565574646, 0.44097867608070374, 0.5812193751335144, 0.1897778958082199, 0.3595990538597107, -0.3008936047554016, 0.23066172003746033, 0.5444702506065369, -0.3669900596141815, -0.14664429426193237, 0.7567635774612427, -0.024877769872546196, -0.04719298705458641, 0.7523708343505859, -0.0893341675400734, -0.4235633611679077, 0.2651096284389496, 0.3637891411781311, 0.5599497556686401, -0.05793903023004532, 0.2475873827934265, 1.0685912370681763, 0.5231801271438599, -0.13810749351978302, 0.07353445887565613, -0.36642664670944214, -0.48128020763397217, -0.7470956444740295, -0.6721590757369995, -0.24594691395759583, -0.4539874494075775, -0.8402748107910156, -0.10294915735721588, -0.3574361205101013, -0.32955288887023926, -0.3309931755065918, -0.27984973788261414, -0.48103323578834534, 0.1695835143327713, 0.10703352093696594, 0.839640736579895, -0.8802798390388489, 0.28128811717033386, 0.8989633321762085, -0.2432512491941452, -0.7949817180633545, 0.19913552701473236, -0.020509004592895508, -0.7674458622932434, 0.5472120046615601, 0.26682373881340027, -0.25966203212738037, -0.1412617415189743, -0.6755585670471191, -1.0044869184494019, 0.9714697003364563, -0.1936940997838974, -0.48965945839881897, -0.4007030427455902, 0.12012771517038345, 0.3185195326805115, -0.24990259110927582, 0.3320942521095276, 0.8119238018989563, 0.4984738826751709, 0.35276854038238525, -0.8264728784561157, 0.24180465936660767, 0.30094075202941895, 0.032758768647909164, 0.3283693492412567, -0.2327977418899536, 0.6175199151039124, -0.8210113048553467, -0.13580700755119324, 0.14377722144126892, 0.350523442029953, 0.3945503234863281, 0.26598966121673584, 0.38403138518333435, 0.7077924609184265, 0.6223957538604736, -0.4752374589443207, 1.173985481262207, -0.19724388420581818, 0.3954353928565979, 1.196237325668335, -0.0935787558555603, 1.1641037464141846, 0.892733633518219, -0.2499919831752777, 0.8640914559364319, 0.8449593782424927, 0.32843607664108276, 0.9232776165008545, 0.14932389557361603, -0.4119270145893097, -0.259636253118515, 0.05456084758043289, -0.05372949317097664, 0.36948078870773315, 0.518479585647583, 0.053817473351955414, -0.47319483757019043, -0.01174435019493103, -0.12167607992887497, 0.1559583693742752, -0.2702239155769348, 0.8036883473396301, -0.1085619181394577, -0.9017419815063477, 0.4574716091156006, -0.2868688702583313, 0.152439147233963, -0.7454886436462402, -0.10361208766698837, -0.18122820556163788, 0.039365727454423904, -0.10348764061927795, -1.051605224609375, 0.30785417556762695, -0.5020886659622192, -0.08876589685678482, -0.2698361575603485, 0.2557630240917206, -0.4800456464290619, 0.0027288622222840786, 0.6162878274917603, 0.5586292147636414, 0.45340028405189514, -0.26555511355400085, -0.4665314257144928, -0.30284422636032104, -0.10323519259691238, -0.10116436332464218, 0.057990435510873795, 0.9284698963165283, 0.020696695894002914, 0.778580367565155, 0.7128702998161316, 0.16800397634506226, 0.3681896924972534, -0.21053926646709442, 0.5596005320549011, -0.8291116952896118, -0.6293665766716003, -0.5630797147750854, 0.5485427975654602, -0.013539670966565609, -0.01180380117148161, 0.7161149382591248, 0.40618428587913513, 0.6234588027000427, 0.10524152219295502, 0.611189067363739, -0.1295938491821289, 0.2873322665691376, -0.44861075282096863, 0.3028825521469116, -0.5867926478385925, 0.05849367752671242, 0.06028527021408081, -1.0275624990463257, -0.34273093938827515, 1.0383281707763672, -0.5368473529815674, -0.10605589300394058, 1.0563870668411255, 0.641956090927124, -0.21656392514705658, -0.22213177382946014, 0.06258423626422882, 0.025107121095061302, 0.012934346683323383, 0.8452118039131165, 1.0933506488800049, -0.3930245637893677, 0.7756165266036987, -0.09739653021097183, -0.36090439558029175, 0.1517304927110672, -0.5791755318641663, -0.6750086545944214, -0.5511435866355896, -0.012200087308883667, -0.35739997029304504, -0.24148529767990112, 0.531008780002594, 0.8684428334236145, -0.46289828419685364, -0.30039864778518677, -0.14129741489887238, 0.24799282848834991, -0.20336288213729858, -0.26784810423851013, 0.10922515392303467, -0.4766075909137726, -0.5424765944480896, 0.5139776468276978, 0.49155744910240173, 0.06269270926713943, -0.2688414454460144, -0.23232506215572357, -0.5721573829650879, -0.20002061128616333, 0.5344371795654297, 0.386929988861084, -0.7989637851715088, -0.10990964621305466, 0.20685547590255737, -0.2876705825328827, 0.09588491171598434, 0.9488363265991211, -0.5392329692840576, 0.3947800099849701, 0.13665302097797394, 0.3891357183456421, 0.6620863080024719, -0.023886896669864655, 0.7085841298103333, -0.8183431625366211, 0.2552306354045868, -0.030900370329618454, 0.3166302442550659, 0.5683593153953552, -0.32377251982688904, 0.5108869075775146, 0.18685433268547058, -0.9433670043945312, -0.13772545754909515, 0.17397823929786682, -0.9231030941009521, -0.17683380842208862, 1.2028430700302124, -0.2501732409000397, -0.485263854265213, -0.33948683738708496, -0.22265635430812836, 0.04213075339794159, -0.19369783997535706, 0.6095650792121887, 0.4907376766204834, -0.5422230958938599, -0.21150526404380798, -0.6988277435302734, 0.5040208101272583, -0.05730259045958519, -0.6807183027267456, 0.008632142096757889, 0.8476693034172058, 0.21671387553215027, 0.7456380128860474, 0.8125104904174805, 0.055056653916835785, 0.015528104268014431, 0.02652127481997013, 0.06773228198289871, 0.6355686187744141, -0.649706244468689, 0.22309376299381256, 0.15754550695419312, -0.03735698387026787, -0.5831446647644043 ]
http://arxiv.org/abs/2402.16363v6
http://arxiv.org/pdf/2402.16363v6
LLM Inference Unveiled: Survey and Roofline Model Insights
2024-02-26T07:33:05
2024-05-01T20:42:28
Zhihang Yuan, Yuzhang Shang, Yang Zhou, Zhen Dong, Zhe Zhou, Chenhao Xue, Bingzhe Wu, Zhikai Li, Qingyi Gu, Yong Jae Lee, Yan Yan, Beidi Chen, Guangyu Sun, Kurt Keutzer
cs.CL
cs.CL, cs.AI
The field of efficient Large Language Model (LLM) inference is rapidly evolving, presenting a unique blend of opportunities and challenges. Although the field has expanded and is vibrant, there hasn't been a concise framework that analyzes the various methods of LLM Inference to provide a clear understanding of this domain. Our survey stands out from traditional literature reviews by not only summarizing the current state of research but also by introducing a framework based on roofline model for systematic analysis of LLM inference techniques. This framework identifies the bottlenecks when deploying LLMs on hardware devices and provides a clear understanding of practical problems, such as why LLMs are memory-bound, how much memory and computation they need, and how to choose the right hardware. We systematically collate the latest advancements in efficient LLM inference, covering crucial areas such as model compression (e.g., Knowledge Distillation and Quantization), algorithm improvements (e.g., Early Exit and Mixture-of-Expert), and both hardware and system-level enhancements. Our survey stands out by analyzing these methods with roofline model, helping us understand their impact on memory access and computation. This distinctive approach not only showcases the current research landscape but also delivers valuable insights for practical implementation, positioning our work as an indispensable resource for researchers new to the field as well as for those seeking to deepen their understanding of efficient LLM deployment. The analyze tool, LLM-Viewer, is open-sourced.
[ -0.41936150193214417, -0.8512996435165405, 0.7023722529411316, 0.2797117829322815, 0.05168099328875542, 0.11088725179433823, -0.15520277619361877, -0.5062277913093567, -0.2334192991256714, 0.5442623496055603, -0.6132389307022095, -0.6736084222793579, -0.5254272818565369, -0.27368518710136414, -0.4605044424533844, 0.6233662366867065, 0.1924772560596466, 0.12447936832904816, -0.4232785105705261, 0.09206101298332214, -0.14494949579238892, -0.22232870757579803, -0.32283705472946167, -0.23466818034648895, 0.39938271045684814, 0.3095504343509674, 0.3988838195800781, 0.8213964700698853, 0.49896684288978577, 0.2261229008436203, -0.32064908742904663, 0.10319819301366806, -0.35060611367225647, -0.03095950558781624, 0.24674248695373535, -0.6114225387573242, -0.5985845923423767, -0.06942321360111237, 0.6970775127410889, 0.9981013536453247, -0.12748119235038757, 0.4459814429283142, 0.22917389869689941, 0.6420102119445801, -0.9292482137680054, -0.03885729983448982, -0.820096492767334, -0.10125629603862762, -0.4405139088630676, -0.24321997165679932, -0.5263611674308777, -0.2093397080898285, 0.036212023347616196, -0.4818704128265381, 0.24057109653949738, 0.19716407358646393, 0.6249145269393921, 0.47442564368247986, -0.3682160973548889, -0.10794906318187714, -0.586778461933136, 0.8583118319511414, -0.841413140296936, 0.5271413922309875, -0.011633974500000477, 0.5159422159194946, -0.33675307035446167, -0.742218554019928, -0.21066322922706604, -0.2271565943956375, 0.3696078658103943, 0.15575715899467468, -0.3232976198196411, 0.22590427100658417, 0.16266080737113953, 0.3726300597190857, -0.37426215410232544, 0.47829562425613403, -0.04972967505455017, -0.025890659540891647, 0.31918948888778687, 0.17239001393318176, 0.13695374131202698, -0.18299612402915955, -0.5357540845870972, 0.18942765891551971, -1.0265166759490967, -0.09343293309211731, 0.39938610792160034, 0.07058669626712799, -0.07847873866558075, 0.5636677742004395, -0.1335211843252182, 0.8563404083251953, -0.263943076133728, -0.2369394749403, -0.001472064875997603, -0.21291550993919373, -0.27570950984954834, -0.13751330971717834, 0.7230114936828613, 0.5710731744766235, -0.010503224097192287, -0.17147782444953918, -0.26985734701156616, -0.16145718097686768, -0.032829031348228455, -0.810276210308075, -0.17428097128868103, 0.28029006719589233, -0.5614689588546753, -0.2354479283094406, -0.18122407793998718, -0.9193673133850098, -0.6774632334709167, -0.1221432089805603, -0.07849643379449844, -0.2309865951538086, -0.34158939123153687, 0.05038158968091011, -0.28208690881729126, 0.47220858931541443, 0.4655943512916565, -0.5636963844299316, 0.2761571705341339, 0.9642113447189331, 0.7868238091468811, -0.3608923852443695, -0.0680570974946022, -0.3798268735408783, -0.010671484284102917, -0.22683611512184143, 1.0010907649993896, -0.4033803343772888, -0.09224633872509003, -0.04205987602472305, -0.22787019610404968, -0.07194988429546356, -0.7219381332397461, 0.45615530014038086, -0.6344469785690308, -0.14052286744117737, -0.05854593962430954, -0.6243599653244019, -0.04228372126817703, 0.19288191199302673, -0.5899630188941956, 1.080277681350708, -0.10313399881124496, -1.0054042339324951, 0.1338651478290558, -0.43812355399131775, 0.056632332503795624, 0.08637917041778564, -0.06161634996533394, -0.314757764339447, 0.4395975172519684, 0.28985366225242615, 0.541378378868103, -0.7478769421577454, 0.2765271067619324, -0.6445127725601196, -0.26034030318260193, 0.19493083655834198, -0.46143755316734314, 0.9686390161514282, 0.44020500779151917, -0.34974923729896545, 0.11942149698734283, -0.7930492758750916, -0.06774821132421494, -0.045265525579452515, -0.3058016002178192, -0.2669944167137146, 0.40847906470298767, -0.006452672183513641, -0.2561596930027008, 0.4229598939418793, -0.4721572995185852, 0.09595290571451187, -0.16547639667987823, 0.31067031621932983, 0.6105111241340637, -0.09343975782394409, 0.49661535024642944, 0.018318990245461464, 0.7741903066635132, -0.13947391510009766, 0.22552838921546936, -0.15332159399986267, -0.2921009361743927, -0.3920583724975586, -0.3802221417427063, 0.20643334090709686, 0.726859450340271, -0.4231976568698883, 0.08626656234264374, -0.1908222883939743, -0.5515187978744507, -0.5192493796348572, 0.09229237586259842, 0.39913445711135864, 0.5160471200942993, 0.10929210484027863, 0.37364333868026733, -0.6190399527549744, -1.0069348812103271, -0.2962965965270996, -0.23686814308166504, -0.12358717620372772, 0.38274526596069336, 0.25262001156806946, -0.0692608579993248, 0.9727357625961304, -0.5930792689323425, 0.2344648838043213, -0.5857375264167786, -0.03678356483578682, 0.24585454165935516, 0.18442034721374512, 0.5950647592544556, -0.5157459378242493, -0.29023656249046326, -0.06834843754768372, -0.7501575946807861, -0.5767158269882202, -0.02480837143957615, 0.005225783679634333, 0.0049621290527284145, 0.7223459482192993, -0.5023869276046753, 0.22357109189033508, 0.9288676977157593, -0.12145181745290756, 0.797938883304596, 0.07565981149673462, -0.08303287625312805, -0.8631499409675598, -0.006162220146507025, 0.008515015244483948, -0.09875597059726715, -0.6706854104995728, 0.259661465883255, 0.155843585729599, 0.209598571062088, -0.27773064374923706, 0.42575034499168396, -0.9173404574394226, -0.34198692440986633, -0.37495455145835876, 0.2770597040653229, -0.08873321115970612, 0.06568373739719391, -0.18103301525115967, 0.9988350868225098, 0.6240297555923462, -0.4979185163974762, 0.12172792851924896, -0.11661805957555771, -0.6186025142669678, 0.26449358463287354, -0.533761203289032, -0.11049799621105194, -0.04306231439113617, 0.24859952926635742, -1.1235612630844116, -0.13979093730449677, 0.09507156908512115, -0.33551856875419617, 0.17824338376522064, -0.22422465682029724, -0.4969100058078766, -0.3001798391342163, -0.336360901594162, 0.3948501646518707, 0.5424624085426331, -0.6118378043174744, 0.6940982937812805, 0.5901804566383362, 0.022025540471076965, -0.842146098613739, -0.659454345703125, 0.2605249583721161, -0.4409390985965729, -0.7457186579704285, 0.2546079456806183, -0.13686373829841614, -0.676288366317749, -0.226226806640625, -0.1361866295337677, -0.1097402349114418, 0.4609966278076172, 0.22451584041118622, 0.28228759765625, -0.587938666343689, -0.057350002229213715, 0.07573311030864716, 0.11402471363544464, 0.4303795397281647, -0.187481090426445, 0.390146940946579, -0.24451260268688202, -0.2701984941959381, -0.21568694710731506, 0.09797976166009903, 0.5714508295059204, -0.13177624344825745, 0.6627892255783081, 0.323102205991745, -0.11391576379537582, -0.5112101435661316, -0.9175394177436829, 0.011296724900603294, -0.42797088623046875, 0.3983996510505676, -0.4555149972438812, -0.9178851842880249, 0.6947304010391235, -0.6430433392524719, 0.21890965104103088, 0.434678316116333, 0.33447352051734924, -0.13570387661457062, 0.820793628692627, 0.8024653196334839, 0.07685953378677368, 0.3553801476955414, -0.1608797013759613, -0.0036319345235824585, -1.1251662969589233, -0.23144707083702087, -0.5812522172927856, -0.056531570851802826, -0.37970876693725586, -0.6023989915847778, 0.2700115144252777, 0.3958806097507477, 0.11681268364191055, 0.11951906979084015, -0.271441251039505, 0.38038161396980286, 0.2449546754360199, 0.029683370143175125, 0.49181637167930603, -0.17712296545505524, -0.24708347022533417, 0.06760737299919128, -0.7749188542366028, -0.5439251065254211, 1.133594274520874, 0.550347626209259, 0.6725687384605408, 0.039723943918943405, 0.4776381552219391, 0.06326960027217865, 0.5010815858840942, -0.8382942080497742, 0.7853237986564636, 0.00656277546659112, -0.6978400349617004, -0.20743055641651154, -0.5507369637489319, -0.7809596657752991, 0.17743651568889618, 0.16108618676662445, -0.76494961977005, 0.08285848051309586, 0.2777683138847351, -0.21383926272392273, 0.5322684049606323, -0.48302197456359863, 0.6700523495674133, -0.3131418824195862, -0.3635667860507965, -0.2554153800010681, -0.4710116982460022, 0.8324097394943237, -0.20162372291088104, 0.31427809596061707, -0.3534460961818695, -0.37072333693504333, 0.5961631536483765, -0.380700021982193, 0.8536068201065063, -0.4432845115661621, -0.3552229404449463, 0.3796001374721527, -0.1809224933385849, 0.4728861451148987, -0.19154322147369385, -0.35698366165161133, 0.26761168241500854, 0.06997193396091461, -0.30952778458595276, -0.48751410841941833, 0.5864765048027039, -0.603011965751648, -0.6177802681922913, -0.090509332716465, -0.7133380770683289, -0.35868382453918457, -0.04301800578832626, 0.20713233947753906, 0.23920698463916779, -0.369620680809021, 0.18414406478405, 0.820618748664856, -0.5726397633552551, 0.40642642974853516, 0.5056440830230713, -0.5208784341812134, -0.3028130531311035, 0.5163248181343079, 0.001268418156541884, 0.36874404549598694, 0.4678443372249603, 0.1432129144668579, -0.2794296145439148, -1.1381467580795288, -0.4318106770515442, 0.3045123517513275, -0.6904302835464478, -0.12039576470851898, -0.6107639074325562, -0.11929105222225189, -0.13667809963226318, 0.17100593447685242, -0.4321180284023285, -0.4039756655693054, -0.11650295555591583, -0.050525594502687454, 0.31005558371543884, 0.7967143058776855, 0.10110972821712494, 0.7696235179901123, -0.49594220519065857, 0.18213222920894623, -0.10014277696609497, 0.12852828204631805, 0.12988944351673126, -0.4588314890861511, -0.32309794425964355, -0.08944477885961533, -0.16467484831809998, -0.8621000051498413, 0.195653036236763, 0.07083924114704132, 0.7420864701271057, 0.5101144909858704, 0.057122278958559036, 0.809317946434021, -0.4510021209716797, 0.6707130670547485, 0.06440742313861847, -0.7217119336128235, 0.26193490624427795, -0.550480842590332, 0.4161686897277832, 0.5126228332519531, 0.25577449798583984, -0.10576917976140976, -0.33575722575187683, -0.2981283664703369, -0.9020442962646484, 0.337342232465744, -0.1827436238527298, -0.21080514788627625, 0.07192150503396988, 0.35745590925216675, 0.06372930854558945, 0.27752870321273804, -0.48662590980529785, -0.3409370481967926, 0.20486418902873993, -0.05263674259185791, 0.14603739976882935, -0.399416446685791, 0.07557827234268188, -0.20095033943653107, 0.46840447187423706, -0.20505984127521515, 0.30501288175582886, -0.05947037786245346, -0.3054056465625763, 0.1744016706943512, 0.20533771812915802, 0.39532721042633057, 0.8641514778137207, -0.4294610619544983, 0.30899637937545776, 0.3242316246032715, -0.37441959977149963, -0.2645629048347473, 0.13664712011814117, -0.22036495804786682, -0.08627139031887054, 0.32349714636802673, 0.7257332801818848, 0.3318924903869629, -0.760478138923645, 0.3791881203651428, 0.0029202618170529604, -0.3688485324382782, -0.47391366958618164, -0.0427263118326664, 0.4345773160457611, 0.5029784440994263, 0.545293927192688, -0.030466655269265175, 0.2925177216529846, -0.27548032999038696, 0.07105860114097595, 0.7721065282821655, -0.15762846171855927, -0.18853062391281128, 0.7664668560028076, 0.051714010536670685, -0.01241481862962246, 0.5494998693466187, 0.09814397990703583, -0.3860497772693634, 0.6564933061599731, 0.4294041097164154, 1.0097739696502686, -0.059236425906419754, 0.03327374905347824, 0.17888391017913818, 0.35451510548591614, -0.12259434163570404, 0.11579243838787079, -0.2805679440498352, -0.7134178876876831, -0.7806033492088318, -0.8392165303230286, -0.5471969842910767, 0.13850869238376617, -0.6135536432266235, 0.0028432621620595455, -0.35918405652046204, -0.11581315845251083, -0.1215941458940506, -0.033151526004076004, -0.4251025319099426, -0.10844109207391739, 0.3122163414955139, 1.4751583337783813, -0.6598132848739624, 0.8543742299079895, 0.3814917206764221, 0.17129802703857422, -0.6233311891555786, 0.03577074036002159, 0.26849037408828735, -0.8715978860855103, 0.6103125810623169, 0.2684834599494934, -0.5300758481025696, 0.08230341970920563, -0.6104792356491089, -0.8166319131851196, 1.210042953491211, 0.5144974589347839, -0.7100502252578735, -0.10752217471599579, 0.12024088203907013, 0.35264548659324646, -0.5126331448554993, 0.506614625453949, 0.6266511678695679, 0.5726748704910278, 0.10262324661016464, -0.6529386639595032, 0.04940953105688095, -0.21045514941215515, -0.019140759482979774, 0.16406261920928955, -0.45166411995887756, 0.4409008026123047, -0.2462698519229889, -0.22273261845111847, 0.3359634280204773, 0.7945337295532227, 0.4958485960960388, 0.6106003522872925, 0.6348119974136353, 0.47750455141067505, 0.7591605186462402, -0.0629439502954483, 1.0555269718170166, -0.6002086400985718, -0.03798026591539383, 1.0781036615371704, -0.21296906471252441, 1.0958003997802734, 0.6138148903846741, -0.19475096464157104, 0.5043895840644836, 0.6514933109283447, -0.024042904376983643, 0.21839042007923126, 0.3488229811191559, -0.38368290662765503, -0.36463379859924316, -0.13085944950580597, -0.14368918538093567, 0.5205370187759399, 0.4957142472267151, -0.2895294427871704, -0.3137724995613098, -0.1370663344860077, 0.12394054234027863, -0.20487765967845917, -0.345593124628067, 0.585655689239502, 0.2484925240278244, -0.7423328161239624, 0.500074028968811, -0.027419593185186386, 0.785978376865387, -0.6169703602790833, 0.20038345456123352, -0.1551671028137207, 0.3392997682094574, -0.31573909521102905, -0.6179770231246948, 0.25730130076408386, 0.19149212539196014, -0.12907621264457703, -0.28531140089035034, 0.4991249442100525, -0.05459980294108391, -0.3393403887748718, 0.5474768877029419, 0.695024311542511, 0.45309099555015564, -0.28198641538619995, -0.6172901391983032, 0.25170987844467163, 0.012794211506843567, -0.4896622598171234, 0.46592992544174194, 0.4421845078468323, 0.05314130336046219, 0.8438452482223511, 0.6266928911209106, 0.201463982462883, 0.34982866048812866, 0.18697968125343323, 0.8685423135757446, -0.6049177646636963, -0.02910795249044895, -0.8532787561416626, 0.6722003221511841, -0.10915740579366684, -0.20055517554283142, 0.9760884046554565, 0.7755863666534424, 0.36162105202674866, 0.02025504969060421, 0.7192032933235168, 0.21273772418498993, 0.46099138259887695, -0.6075737476348877, 0.6144129633903503, -0.6151561737060547, 0.8736593127250671, -0.13424941897392273, -0.9933041334152222, -0.3266621232032776, 0.1463288962841034, -0.4183817505836487, -0.1559818983078003, 0.6689472198486328, 1.008988618850708, -0.09805398434400558, -0.12802773714065552, 0.26670074462890625, 0.3743396997451782, 0.05183469131588936, 0.4240018427371979, 1.0441328287124634, -0.14350208640098572, 0.6924384832382202, -0.15424413979053497, -0.4932141900062561, -0.15449920296669006, -1.2318994998931885, -0.8346561193466187, -0.26151132583618164, -0.3077316880226135, -0.10538164526224136, 0.1759643256664276, 0.5287250280380249, 0.5862675905227661, -0.6257174611091614, -0.6234274506568909, -0.43794259428977966, 0.15340960025787354, -0.14250649511814117, -0.25155210494995117, 0.2672272026538849, -0.24146656692028046, -0.5755779147148132, 0.7406145930290222, 0.33308640122413635, -0.30951330065727234, -0.43706026673316956, -0.1488921344280243, -0.0237506665289402, 0.1014207974076271, 0.6082257032394409, 0.22802190482616425, -0.8517549633979797, 0.12453953921794891, 0.25808829069137573, 0.026384377852082253, 0.0751124769449234, 0.6820006370544434, -0.7598207592964172, 0.042656052857637405, 0.6752299070358276, 0.8942865133285522, 0.5637660026550293, -0.019096557050943375, 0.6421283483505249, -0.4526405334472656, -0.16777923703193665, -0.07523097842931747, 0.3277612328529358, 0.27038007974624634, -0.20305690169334412, 0.4744720458984375, 0.13082581758499146, -0.6437995433807373, -1.0862199068069458, 0.4199087619781494, -1.053794503211975, -0.529128909111023, 1.1758975982666016, -0.11177030950784683, -0.33668947219848633, -0.09662959724664688, 0.04908018559217453, 0.11070466041564941, -0.1636972427368164, 0.501633882522583, 0.42508649826049805, -0.16901347041130066, -0.6792336106300354, -0.8892107009887695, 0.3028222918510437, 0.40842247009277344, -0.9092892408370972, 0.38366398215293884, 0.5912108421325684, 0.29593387246131897, -0.19436541199684143, 0.3494080603122711, 0.055295832455158234, 0.0011544495355337858, 0.12701471149921417, 0.12097346782684326, -0.09667303413152695, -0.3721769452095032, -0.4079740643501282, 0.4832220673561096, 0.28560012578964233, -0.09455971419811249 ]
http://arxiv.org/abs/2402.16361v1
http://arxiv.org/pdf/2402.16361v1
Layer-wise Regularized Dropout for Neural Language Models
2024-02-26T07:31:35
2024-02-26T07:31:35
Shiwen Ni, Min Yang, Ruifeng Xu, Chengming Li, Xiping Hu
cs.CL
cs.CL, cs.AI
Among the various pre-trained neural language models that are popular today, dropout is already an indispensable regularization technique. To solve the inconsistency between training and inference caused by the randomness of dropout, some studies use consistency training to regularize dropout at the output layer. In this paper, we propose a novel Layer-wise Regularized Dropout (LR-Drop), which is specially designed for Transformer-based Language models. Specifically, LR-Drop layer-wise regularizes each Transformer layer using the consistency training strategy. Each training sample passes through the two siamese sub-models sampled by dropout, and then LR-Drop forces the hidden states, multi-head attention matrices, and output distribution of the two siamese sub-models to be consistent. The proposed LR-Drop can be regarded as a "self-distillation" framework, in which each sub-model generated by dropout is the other's "teacher" model and "student" model. Through extensive experiments on 8 natural language understanding datasets, 6 neural machine translation datasets, and 1 abstractive summarization dataset (a total of 15 datasets), we show that LR-Drop achieves superior performances, including state-of-the-art results.
[ -0.36965665221214294, -0.5566646456718445, 0.19368872046470642, 0.09564179182052612, -0.12853111326694489, -0.028968358412384987, -0.49785810708999634, -0.04257754981517792, 0.1896694153547287, 0.40414875745773315, -0.7262158989906311, -0.34708693623542786, -0.5172460079193115, 0.1342366635799408, -0.573676347732544, 1.2103691101074219, -0.1316784769296646, -0.020758215337991714, -0.09832191467285156, 0.11452577263116837, -0.7291481494903564, -0.178009033203125, -0.6006823182106018, -0.7001490592956543, 0.748214840888977, 0.346573144197464, 0.5427578091621399, 0.8876073956489563, 0.5693124532699585, 0.26683831214904785, -0.20233359932899475, -0.10007333010435104, -0.3903200924396515, -0.15416325628757477, 0.02530333399772644, -0.4847453236579895, -0.09164302051067352, 0.23782828450202942, 0.8104413747787476, 0.7901026010513306, -0.4741053581237793, -0.09663893282413483, 0.20651650428771973, 0.5526890158653259, -0.6573688387870789, -0.022364430129528046, -0.4049091339111328, 0.40543344616889954, -0.08106327801942825, 0.3086085021495819, -0.4127947688102722, -0.2641267478466034, 0.06630496680736542, -0.4417091906070709, 0.3730827569961548, -0.4087804853916168, 0.9451825618743896, 0.3696942627429962, 0.07409437000751495, 0.3644309341907501, -0.9322797656059265, 0.853969156742096, -0.9881525635719299, 0.6082993149757385, 0.5137925744056702, 0.4269605278968811, 0.15046757459640503, -0.8031196594238281, -0.6207379102706909, -0.28996211290359497, -0.16555166244506836, 0.20574823021888733, 0.22371502220630646, 0.08847226947546005, -0.04123372212052345, 0.4206198453903198, -0.13877224922180176, 0.1326206922531128, -0.399672269821167, -0.11678938567638397, 0.228962242603302, -0.10408180207014084, 0.30372604727745056, 0.029901957139372826, -0.28663066029548645, -0.05227058753371239, -0.6154828071594238, 0.05293235182762146, 0.2138517200946808, 0.36619365215301514, -0.10041359812021255, 0.08620436489582062, -0.22433771193027496, 0.40505334734916687, 0.3137734830379486, -0.2092297226190567, 0.024581419304013252, -0.1942232996225357, -0.2390027940273285, -0.053035736083984375, 0.8304885029792786, 0.31476902961730957, 0.4090096652507782, -0.28681740164756775, -0.28077366948127747, -0.2735304534435272, 0.10008713603019714, -0.9781574010848999, -0.6959218382835388, 0.137333944439888, -0.5572764873504639, -0.3803793787956238, -0.10535942763090134, -0.5021485090255737, -0.11337121576070786, -0.20126822590827942, 0.31586959958076477, -0.2381959855556488, -0.41147562861442566, 0.15351027250289917, 0.14703360199928284, 0.006058712024241686, 0.12085653096437454, -0.8506832718849182, 0.5130284428596497, 0.3483302593231201, 0.7916260957717896, -0.5005919933319092, -0.40415382385253906, -0.5244309902191162, 0.09474659711122513, -0.2874484360218048, 0.26822957396507263, -0.3794940710067749, 0.08743865042924881, -0.03884312883019447, -0.14408768713474274, -0.4322807490825653, -0.5905030965805054, 0.42519235610961914, -0.42539599537849426, 0.3817262053489685, 0.09590798616409302, -0.5256680250167847, -0.24676163494586945, 0.1441645324230194, -0.6015983819961548, 1.0391521453857422, -0.28919172286987305, -0.7680282592773438, 0.09281417727470398, -0.32524359226226807, -0.49069201946258545, 0.03544745594263077, -0.29531043767929077, -0.5985639095306396, 0.19501712918281555, 0.16485148668289185, 0.43629270792007446, -0.2326766550540924, 0.7165626287460327, 0.001470352173782885, -0.36910831928253174, -0.02862796001136303, -0.5060360431671143, 0.6802859902381897, 0.21092963218688965, -0.38643497228622437, -0.3147687613964081, -0.9914934635162354, 0.223850280046463, 0.18000474572181702, -0.37891775369644165, -0.3968835175037384, -0.06779643893241882, 0.332723468542099, 0.34597623348236084, -0.0029794585425406694, -0.6896952390670776, 0.06858937442302704, -0.26120302081108093, 0.7732039093971252, 0.5656722187995911, -0.06957922130823135, 0.5874261260032654, -0.04183335602283478, 0.33481672406196594, 0.47216472029685974, 0.16062277555465698, -0.06893441081047058, -0.24012809991836548, -0.9356050491333008, -0.5051473379135132, 0.7005066871643066, 0.4950312376022339, -0.5398665070533752, 0.6273128390312195, -0.26347649097442627, -0.2526370882987976, -0.5088371634483337, 0.07240777462720871, 0.7013314962387085, 0.7637932300567627, 0.3273189663887024, -0.3068457245826721, -0.3617627024650574, -1.091553807258606, -0.07125966250896454, 0.24436774849891663, -0.0008701894548721611, -0.0007574030896648765, 0.24554704129695892, -0.19334794580936432, 1.3544389009475708, -0.3023940920829773, -0.6202553510665894, -0.4409416913986206, -0.13109879195690155, 0.19404394924640656, 0.8776480555534363, 0.40708625316619873, -0.4794178605079651, -0.5053051114082336, -0.0313718356192112, -0.538253128528595, -0.011672083288431168, -0.10189266502857208, -0.15341928601264954, -0.004446479957550764, 0.31813564896583557, -0.49079832434654236, 0.4204840064048767, 0.4748653471469879, 0.3271738588809967, 0.15769051015377045, -0.20886355638504028, -0.3034608066082001, -1.3846323490142822, 0.0915999785065651, 0.124921515583992, -0.24035793542861938, -1.071102499961853, -0.2866557538509369, 0.3349932134151459, 0.15599501132965088, -0.38919663429260254, 0.3231329619884491, -0.4443119168281555, 0.40240973234176636, 0.016391286626458168, 0.199946328997612, 0.36066052317619324, 0.4696708023548126, 0.2458430528640747, 0.3226180970668793, 0.4467090964317322, -0.3977340757846832, -0.09722685068845749, 0.12521861493587494, -0.1719123274087906, 0.16042475402355194, -0.8277105093002319, 0.3383576273918152, -0.2456539422273636, 0.3871456980705261, -0.91927170753479, -0.09015249460935593, 0.1837283819913864, 0.06411516666412354, 0.39977553486824036, -0.2892034649848938, -0.2846756875514984, -0.09049529582262039, -0.26768791675567627, 0.3566819131374359, 0.32037025690078735, -0.5830804705619812, 0.6917260885238647, 0.22907251119613647, 0.07517805695533752, -0.8118031024932861, -1.2045024633407593, -0.03647593781352043, -0.09720887988805771, -0.34332719445228577, 0.26759546995162964, -0.2668984830379486, 0.24555310606956482, -0.06164216622710228, -0.3149997293949127, -0.47168320417404175, -0.024662677198648453, -0.12721724808216095, 0.1753806471824646, -0.2607709765434265, -0.09899599850177765, 0.2595124840736389, -0.0892067551612854, 0.0062305014580488205, -0.2616024911403656, 0.5433364510536194, 0.056488171219825745, -0.21877793967723846, -1.054125189781189, 0.31512901186943054, 0.12956203520298004, -0.2733422517776489, 0.9332169890403748, 0.549547553062439, -0.4805438816547394, -0.2520412802696228, -0.7358954548835754, -0.6422833800315857, -0.46137088537216187, 0.5552474856376648, -0.5299606919288635, -0.6907186508178711, 0.8339927196502686, 0.24902863800525665, 0.0632711723446846, 0.2886951267719269, 0.19123022258281708, -0.015427906066179276, 0.8296118378639221, 0.8757596611976624, -0.338329553604126, 0.6020817160606384, -0.7041527032852173, 0.5863246321678162, -0.734210193157196, -0.29261142015457153, -0.28089138865470886, -0.353730171918869, -0.4256800711154938, -0.042435597628355026, -0.08164116740226746, 0.37642744183540344, 0.07785724848508835, 0.23289614915847778, -0.4908904433250427, 0.9574524164199829, 0.5361169576644897, -0.07246527820825577, 0.35319557785987854, 0.08047322928905487, -0.3921568989753723, -0.36226075887680054, -0.7657334208488464, 0.02427375316619873, 0.4688754379749298, 0.39627182483673096, 0.7707824110984802, -0.1650840789079666, 1.094704508781433, -0.021225713193416595, 0.1689556986093521, -0.5960104465484619, 0.2975606322288513, -0.19623307883739471, -0.23306332528591156, -0.24106968939304352, -0.6992727518081665, -0.6749757528305054, 0.14586129784584045, 0.13217982649803162, -0.5318194031715393, 0.3626590073108673, 0.14740824699401855, -0.34491869807243347, 0.3293645977973938, -0.6184659600257874, 0.898352861404419, 0.09399610757827759, 0.00791825819760561, 0.11186531186103821, -0.9291287660598755, 0.3904472589492798, -0.05020231008529663, 0.12418405711650848, -0.07305676490068436, 0.1328412890434265, 0.45981165766716003, -0.510069727897644, 0.8502545356750488, -0.264203816652298, -0.294294148683548, 0.28007057309150696, 0.44173088669776917, 0.6558875441551208, 0.04224886745214462, 0.1305345594882965, 0.43312326073646545, -0.17300772666931152, -0.05134456604719162, -0.896643877029419, 0.6532751321792603, -0.963807225227356, -0.15756860375404358, -0.11344693601131439, -0.638074517250061, 0.027348894625902176, 0.3972669839859009, 0.42286139726638794, 0.56377112865448, 0.20071633160114288, 0.3523859977722168, 0.540826678276062, 0.16984963417053223, 0.790022611618042, 0.36529967188835144, -0.20995181798934937, -0.6794537901878357, 1.1216555833816528, 0.43265020847320557, 0.5402911901473999, 0.3184485137462616, 0.5727968811988831, -0.471701443195343, -0.7042672038078308, -0.38621193170547485, 0.1774551272392273, -0.6980735063552856, -0.15866675972938538, -0.6602761149406433, -0.8265672922134399, -0.25829264521598816, 0.15031972527503967, -0.7372561097145081, -0.6309002637863159, -0.07310862839221954, -0.010697255842387676, 0.07899203151464462, 0.7404499053955078, -0.01697724312543869, 0.2718558609485626, -0.7614033818244934, 0.20229585468769073, 0.25398772954940796, 0.5678998231887817, 0.0632699653506279, -0.9273402094841003, -0.4520544707775116, 0.006430414039641619, -0.0027210204862058163, -0.4957783818244934, 0.3388616144657135, 0.6363730430603027, 0.6233223676681519, 0.4557105600833893, 0.08856745064258575, 0.5696336030960083, -0.6285963654518127, 0.5359252691268921, 0.442058801651001, -0.9016711711883545, 0.6165779829025269, -0.4522508680820465, 0.39535975456237793, 0.6287398934364319, -0.004091279115527868, -0.7475745677947998, -0.6802991628646851, -0.41824349761009216, -1.0042736530303955, 0.7977526187896729, 0.5391948819160461, 0.11166412383317947, -0.14188943803310394, 0.49471715092658997, 0.01695719175040722, 0.26430025696754456, -0.985886812210083, -0.6365450620651245, -0.3033887445926666, -0.47605186700820923, -0.02506449818611145, 0.0019403154728934169, 0.08209412544965744, -0.2610228359699249, 0.5327308773994446, -0.033684954047203064, -0.3634564280509949, 0.01971224881708622, -0.16811978816986084, 0.03721984848380089, 0.1303359717130661, 0.6239414811134338, 0.4726276397705078, -0.10830390453338623, 0.354653537273407, 0.10021083056926727, -0.8457176685333252, 0.11086440831422806, -0.007508737966418266, -0.7231720685958862, 0.028308235108852386, -0.07177914679050446, 0.6129319071769714, 0.062317442148923874, -0.3691452145576477, 0.4058975577354431, -0.26059603691101074, -0.22277510166168213, -0.0009448844939470291, -0.08237908035516739, 0.09595774114131927, 0.02780141681432724, 0.4715975224971771, 0.3844726085662842, 0.280582070350647, 0.09934897720813751, 0.17282739281654358, 0.2049695998430252, -0.3745163083076477, -0.2636997103691101, 0.6485264301300049, 0.2082287222146988, -0.3062703609466553, 0.5860971808433533, 0.1632177233695984, -0.31295186281204224, 0.6240857243537903, 0.655463457107544, 1.2611290216445923, -0.13439041376113892, 0.22348740696907043, 0.25239863991737366, 0.35444405674934387, -0.4511532485485077, -0.07545644789934158, -0.09128361940383911, -0.7613797783851624, -0.5971043705940247, -0.5361315608024597, -0.39256784319877625, 0.5510547161102295, -0.906609058380127, -0.047989509999752045, -0.5583442449569702, 0.002486168872565031, -0.1787600815296173, -0.04133206605911255, -0.323064923286438, 0.335850328207016, -0.003228419227525592, 0.41596904397010803, -0.8402203917503357, 0.9765834212303162, 0.3564959466457367, -0.5395281314849854, -1.067652940750122, 0.23523618280887604, -0.28220346570014954, -0.2185119390487671, 0.6604103446006775, 0.3948676884174347, -0.24545811116695404, 0.1705603003501892, -0.39890384674072266, -1.080831527709961, 0.6736595034599304, 0.7864144444465637, -0.8409993052482605, 0.16724784672260284, 0.20516200363636017, 0.4300593435764313, -0.502409040927887, 0.37460944056510925, 0.7073721885681152, 0.23325520753860474, -0.07164916396141052, -0.7153394818305969, -0.1889379918575287, -0.4131328761577606, 0.6059901118278503, 0.2380027174949646, -0.7320614457130432, 0.9189081788063049, -0.1220019981265068, -0.2142624706029892, -0.07975596934556961, 0.7776167988777161, 0.1858433336019516, -0.012743569910526276, 0.504052460193634, 0.7235214710235596, 0.44779130816459656, 0.02261636219918728, 0.7628754377365112, -0.5526937246322632, 0.6511839032173157, 1.3585352897644043, -0.020590579137206078, 0.928335964679718, 0.472781777381897, -0.04601825773715973, 0.26428335905075073, 0.6064783930778503, 0.2040272355079651, 0.7048951387405396, 0.2650676369667053, 0.06121838837862015, -0.24950702488422394, -0.0957873985171318, -0.28597623109817505, 0.26439809799194336, -0.2702055871486664, -0.17976661026477814, -0.14913785457611084, -0.07710819691419601, 0.17419928312301636, 0.05319829285144806, -0.07250609993934631, 0.5930732488632202, 0.08617720007896423, -0.6840696334838867, 0.8086345791816711, -0.059118498116731644, 0.6056398749351501, -0.19991549849510193, -0.05386669188737869, -0.8371465802192688, 0.4672194719314575, -0.2801067531108856, -0.3625759482383728, 0.002587036695331335, -0.15657877922058105, -0.4904845058917999, -0.3078260123729706, 0.5334394574165344, -0.9924114942550659, -0.560285210609436, 0.3451078534126282, 0.5481476187705994, 0.1867692619562149, 0.10445418208837509, -0.5568996071815491, 0.02438274212181568, -0.25441378355026245, -0.35159745812416077, 0.3751547336578369, 0.37726521492004395, 0.14845497906208038, 0.5132916569709778, 0.513167142868042, 0.09335573762655258, 0.5249598026275635, 0.9256938695907593, 0.863562822341919, -0.2720987796783447, -0.46791577339172363, -0.9588544368743896, 0.3528512418270111, -0.09066373854875565, -0.1074124202132225, 0.6035153269767761, 0.5833354592323303, 0.7454169988632202, -0.1283787339925766, 0.6559603810310364, 0.14411328732967377, 0.5582754611968994, -0.40607306361198425, 1.0306576490402222, -0.5311024188995361, 0.27207690477371216, -0.09891726076602936, -1.1651301383972168, -0.2958005964756012, 0.81064373254776, 0.08273954689502716, 0.4762856960296631, 0.7422304749488831, 0.6409254670143127, -0.23517824709415436, -0.2668924033641815, 0.4746754765510559, 0.23614177107810974, 0.2690071761608124, 0.2926574647426605, 0.6832786798477173, -0.7106989026069641, 0.5603993535041809, -0.8299038410186768, 0.09678780287504196, 0.026284195482730865, -0.8113208413124084, -1.0348495244979858, -0.3982681632041931, -0.5870361924171448, -0.10920827835798264, 0.13720887899398804, 0.7145561575889587, 0.8681501746177673, -0.9840973615646362, -0.2110223025083542, -0.42712676525115967, -0.008693846873939037, -0.32565605640411377, -0.25586551427841187, 0.34932827949523926, -0.4910956025123596, -0.8205502033233643, 0.3963121771812439, 0.20075403153896332, 0.031613029539585114, -0.4583221673965454, 0.02899125963449478, -0.3237435221672058, -0.028554443269968033, 0.10807805508375168, 0.06981928646564484, -0.8956273198127747, -0.36328941583633423, -0.06205960735678673, -0.3016793131828308, 0.30399590730667114, 0.7882188558578491, -0.5328164100646973, 0.3051697611808777, 0.3711816072463989, 0.7384355068206787, 0.4617740511894226, -0.16627362370491028, 0.44113659858703613, -1.290872573852539, 0.18853358924388885, 0.1211969330906868, 0.16977845132350922, 0.38836023211479187, -0.2987392544746399, 0.41681480407714844, 0.31831276416778564, -0.3499642014503479, -0.8525748252868652, 0.05877652019262314, -0.730032742023468, 0.2721291482448578, 0.9103990197181702, -0.2674793303012848, -0.3658539354801178, -0.0663890689611435, 0.15669311583042145, 0.2817738354206085, -0.4641340970993042, 0.8752622008323669, 0.5373000502586365, 0.29447779059410095, -0.6769453883171082, -0.5011590123176575, 0.48696109652519226, 0.7047635316848755, -0.7080281972885132, 0.07987187802791595, 0.3205072581768036, 0.5259883999824524, 0.3222881257534027, 0.4628535509109497, 0.2796112895011902, 0.1085587814450264, -0.3594525158405304, 0.4776782989501953, -0.16459296643733978, -0.7587078809738159, -0.4670608639717102, 0.05279608443379402, -0.3798693120479584, -0.5126741528511047 ]
http://arxiv.org/abs/2402.16358v2
http://arxiv.org/pdf/2402.16358v2
An Integrated Data Processing Framework for Pretraining Foundation Models
2024-02-26T07:22:51
2024-04-23T06:18:32
Yiding Sun, Feng Wang, Yutao Zhu, Wayne Xin Zhao, Jiaxin Mao
cs.LG
cs.LG, cs.CL, cs.IR
The ability of the foundation models heavily relies on large-scale, diverse, and high-quality pretraining data. In order to improve data quality, researchers and practitioners often have to manually curate datasets from difference sources and develop dedicated data cleansing pipeline for each data repository. Lacking a unified data processing framework, this process is repetitive and cumbersome. To mitigate this issue, we propose a data processing framework that integrates a Processing Module which consists of a series of operators at different granularity levels, and an Analyzing Module which supports probing and evaluation of the refined data. The proposed framework is easy to use and highly flexible. In this demo paper, we first introduce how to use this framework with some example use cases and then demonstrate its effectiveness in improving the data quality with an automated evaluation with ChatGPT and an end-to-end evaluation in pretraining the GPT-2 model. The code and demonstration videos are accessible on GitHub.
[ -0.4806104898452759, -0.7011067271232605, 0.1770259290933609, 0.2506537139415741, -0.3914299011230469, 0.010735050775110722, -0.02890819124877453, -0.3543422222137451, 0.0067197238095104694, 0.6384983062744141, -0.7443354725837708, -0.4313125014305115, -0.5949432253837585, -0.267311692237854, -0.8537431955337524, 0.9681190848350525, -0.13910597562789917, 0.15739484131336212, -0.14173327386379242, 0.18864765763282776, -0.3889923393726349, -0.2829991579055786, -0.349996954202652, -0.65108323097229, -0.1000615730881691, 0.31458428502082825, 0.8303102850914001, 0.685093343257904, 0.5593589544296265, 0.3135274350643158, 0.13571962714195251, -0.22146588563919067, -0.7667405009269714, -0.10252954065799713, -0.4023677408695221, -0.23041079938411713, -0.600846529006958, 0.10367655754089355, 0.49969708919525146, 0.9677011966705322, -0.2641080319881439, 0.10787184536457062, 0.26812490820884705, 0.7578221559524536, -0.5314995646476746, 0.18265017867088318, -0.28402748703956604, 0.22691147029399872, -0.15927569568157196, -0.0927385613322258, -0.015104332007467747, -0.14088217914104462, 0.34059521555900574, -0.5920984148979187, 0.40938839316368103, -0.5756675004959106, 0.6896299719810486, 0.4227631092071533, -0.28800395131111145, -0.0776958167552948, -0.5674770474433899, 0.32730719447135925, -0.41841089725494385, 0.3387303054332733, 0.3376174867153168, 0.4971398115158081, -0.1566772311925888, -1.1416001319885254, -0.12508271634578705, 0.158408060669899, -0.40901926159858704, -0.01604234240949154, 0.042021363973617554, 0.26733532547950745, 0.08082336187362671, 0.761683464050293, -0.7169987559318542, -0.14827190339565277, -0.3272944390773773, -0.1961245983839035, 0.5193339586257935, -0.0452595092356205, -0.07913435250520706, 0.2501356601715088, -0.3219238221645355, -0.20417487621307373, -0.46011289954185486, 0.18707789480686188, 0.4129600524902344, 0.3059692084789276, 0.048883505165576935, 0.3567660450935364, -0.7049559354782104, 0.9588665962219238, -0.06093728169798851, 0.192851260304451, 0.2862355411052704, -0.31736624240875244, -0.612842321395874, -0.35425570607185364, 0.4495491683483124, -0.03516489267349243, 0.22396427392959595, -0.3573511838912964, -0.528696596622467, 0.1513374298810959, 0.4284704029560089, -1.2114704847335815, -0.5984736680984497, 0.40232038497924805, -0.350974440574646, -0.4085940420627594, 0.33082544803619385, -0.7358973026275635, -0.0616629496216774, -0.7714444398880005, 0.6212142109870911, -0.22284547984600067, -0.5757282376289368, 0.5585098266601562, 0.03242165595293045, -0.07725188136100769, 0.3142124116420746, -0.6811311841011047, 0.6049109101295471, 0.7746821641921997, 0.670214831829071, -0.13293056190013885, 0.018305374309420586, -0.7147209644317627, -0.06434997171163559, -0.0976877212524414, 0.7986660003662109, -0.7305892109870911, -0.5439476370811462, -0.33970770239830017, -0.10338686406612396, -0.15671098232269287, -0.6061432361602783, 0.32913944125175476, -0.5180822610855103, 0.17642106115818024, -0.06470628827810287, -0.4587957561016083, -0.1297222524881363, 0.40139007568359375, -0.7236177921295166, 1.1126186847686768, 0.6026132702827454, -0.4803815186023712, 0.5359212756156921, -0.867408037185669, -0.3785095810890198, 0.11561941355466843, -0.24744157493114471, -0.47645050287246704, -0.0010465712985023856, 0.4739721417427063, 0.5429773330688477, -0.3575109541416168, 0.6907168626785278, -0.20695960521697998, -0.6968610286712646, -0.2679135501384735, -0.09263049811124802, 0.6487698554992676, 0.18032655119895935, -0.42783322930336, 0.17402403056621552, -0.8987426161766052, 0.378634512424469, -0.35311970114707947, -0.3931790590286255, 0.3280559480190277, -0.28013116121292114, 0.16355587542057037, 0.2774231731891632, 0.000996974529698491, -0.08430906385183334, 0.23125575482845306, -0.06944681704044342, 0.3596650958061218, 0.6272488832473755, -0.18889875710010529, 0.2729524075984955, -0.24097013473510742, 0.5776099562644958, 0.20635300874710083, 0.25248751044273376, -0.1384280025959015, 0.016021857038140297, -0.5941751599311829, -0.5353149175643921, 0.41881033778190613, 0.3198204040527344, -0.6986716985702515, 0.40024179220199585, -0.3391110301017761, -0.46949151158332825, -0.33344289660453796, 0.23547199368476868, 0.3817237913608551, 0.5222417116165161, 0.519917905330658, -0.6349872946739197, -0.6123924851417542, -0.7615249156951904, -0.08213701844215393, 0.07730460166931152, -0.07447188347578049, -0.04835934937000275, 0.5523456931114197, -0.4264311194419861, 1.3202096223831177, -0.259640097618103, -0.130288228392601, 0.09610850363969803, 0.32643458247184753, 0.3663075864315033, 0.8639540076255798, 0.49291688203811646, -1.1495567560195923, -0.15005935728549957, -0.07693832367658615, -0.7325765490531921, -0.05751971900463104, 0.3549448251724243, -0.40303921699523926, -0.6723085045814514, 0.4753006398677826, -0.47963204979896545, 0.5453647375106812, 0.4704189598560333, -0.3212481439113617, 0.6291117072105408, 0.25093623995780945, 0.5027502775192261, -0.6356068849563599, 0.3673954904079437, -0.34470483660697937, -0.2866656184196472, -0.5840224623680115, 0.14915423095226288, -0.14485102891921997, -0.43004676699638367, -0.24783772230148315, 0.26241621375083923, -0.19464616477489471, -0.4595499336719513, -0.15711060166358948, -0.44493603706359863, 0.16028037667274475, 0.1522810459136963, 0.23977088928222656, 0.7465780377388, 0.7330014109611511, -0.6866661310195923, 0.34455162286758423, 0.12581075727939606, -0.5264075398445129, 0.7350060343742371, -0.8608578443527222, 0.12707090377807617, -0.1017691120505333, 0.3044607937335968, -0.9889888167381287, -0.5401132702827454, 0.23945452272891998, -0.14849695563316345, 0.24836018681526184, -0.6104122400283813, -0.5090059041976929, -0.21410048007965088, -0.09303063899278641, 0.18609575927257538, 0.19836601614952087, -0.6048462390899658, 0.6129836440086365, 0.08713875710964203, -0.15168121457099915, -0.7124617099761963, -0.6471149325370789, -0.21061021089553833, -0.112870953977108, -0.8849068284034729, 0.47321242094039917, -0.02356910891830921, 0.10851690173149109, 0.27855148911476135, -0.35054609179496765, -0.6602291464805603, 0.19210797548294067, 0.17403005063533783, -0.03660392761230469, -0.25500020384788513, 0.04182160273194313, 0.15439046919345856, -0.3671220541000366, -0.11946018785238266, -0.610115110874176, 0.5511082410812378, -0.012978342361748219, -0.6034523248672485, -0.3622480034828186, 0.0743592381477356, 0.4899280369281769, -0.36268067359924316, 0.4466194808483124, 0.6642731428146362, -0.6062846183776855, -0.1614646315574646, -0.4049876928329468, -0.14082840085029602, -0.4871846139431, 0.37039288878440857, -0.5854722261428833, -0.7529730796813965, 0.3068712055683136, -0.3376402258872986, 0.12312319874763489, 0.12480334937572479, 0.2616294324398041, -0.029776429757475853, 0.7216050028800964, 0.5603168606758118, 0.03191359341144562, 0.43515297770500183, -0.5648086071014404, 0.09794140607118607, -0.3056718707084656, -0.08401136100292206, -0.4924348294734955, -0.24183018505573273, 0.1516854465007782, -0.1899508684873581, 0.19340530037879944, 0.6181055903434753, -0.33202803134918213, 0.32451552152633667, -0.5459280014038086, 0.6580452919006348, 0.08578013628721237, 0.3427988290786743, 0.4212038815021515, 0.15277902781963348, 0.1539217084646225, 0.31829574704170227, -0.43254488706588745, -0.6138489246368408, 1.2219139337539673, 0.15610232949256897, 0.6667015552520752, -0.19900304079055786, 0.5915584564208984, 0.2891615927219391, 0.6117258071899414, -0.4189952313899994, 0.28935888409614563, -0.20212213695049286, -0.7691243290901184, -0.25014764070510864, -0.5467561483383179, -0.5975858569145203, 0.5194751024246216, -0.011244991794228554, -0.683339536190033, 0.2345944344997406, 0.2845142185688019, -0.3309246897697449, 0.13521307706832886, -0.6954444050788879, 1.123765468597412, -0.05295867845416069, -0.33621546626091003, -0.17706789076328278, -0.37961915135383606, 0.4867880940437317, -0.27979418635368347, 0.16881129145622253, -0.11621412634849548, 0.3714465796947479, 0.6073842644691467, -0.7887991666793823, 0.5612834692001343, -0.6086322665214539, 0.02321389690041542, 0.31089770793914795, -0.03291361778974533, 0.29358819127082825, 0.3833777904510498, -0.4307355284690857, -0.03818895295262337, 0.18345309793949127, -0.6063043475151062, -0.6096857190132141, 0.3272958993911743, -0.5675379633903503, -0.1869305968284607, -0.013881802558898926, -0.36274483799934387, -0.416606605052948, 0.20648084580898285, 0.347644180059433, 0.3857373595237732, -0.3612363934516907, 0.45872846245765686, 0.5041635036468506, 0.3467281460762024, 0.09547515213489532, 0.3879089653491974, -0.1958620548248291, -0.29270070791244507, 0.5391496419906616, 0.14433985948562622, 0.0725536197423935, 0.2162467986345291, -0.18713024258613586, -0.28419411182403564, -0.7099851965904236, -0.4724746644496918, -0.4089556634426117, -0.6479803323745728, -0.1965470016002655, -0.5620866417884827, -0.07753152400255203, -0.2875222861766815, -0.230645552277565, -0.5233560800552368, -0.24217644333839417, -0.1859729290008545, -0.21502207219600677, 0.09834519028663635, 0.47534245252609253, -0.04485326632857323, 0.9913257956504822, -0.6900615692138672, 0.37637048959732056, 0.41778022050857544, 0.6548838019371033, -0.2192966789007187, -0.1259337216615677, -0.35367628931999207, 0.24313803017139435, -0.06363864988088608, -0.3261766731739044, -0.047273263335227966, 0.21833381056785583, 0.4041140377521515, 0.36797022819519043, -0.22252494096755981, 0.9451240301132202, 0.007061127107590437, 0.43770188093185425, 0.020759737119078636, -1.0786644220352173, 0.524933397769928, -0.24457009136676788, -0.011956957168877125, 1.0917811393737793, 0.15469741821289062, -0.062201254069805145, 0.295833945274353, -0.5378119349479675, -0.8130468726158142, 0.783203125, 0.250301331281662, -0.27115023136138916, 0.5276380181312561, 0.5108451247215271, 0.40664827823638916, 0.4944519102573395, -0.5042117238044739, 0.12894755601882935, -0.3780585825443268, -0.14449548721313477, -0.013137790374457836, 0.08521771430969238, -0.34228000044822693, -0.26631343364715576, 0.7174257040023804, -0.18073396384716034, -0.10350381582975388, -0.15808245539665222, -0.6431559920310974, 0.09895483404397964, 0.0957249328494072, -0.26824748516082764, 1.003756046295166, -0.18097271025180817, -0.27293631434440613, -0.22452066838741302, -0.6898475289344788, 0.4335375130176544, 0.5596289038658142, -0.04473220556974411, -0.17449511587619781, 0.5307888388633728, 0.5562413334846497, 0.4439261555671692, -0.4655773639678955, 0.5786406397819519, -0.1975013017654419, -0.09143131971359253, 0.02333110198378563, 0.3880845904350281, -0.04274975508451462, 0.12133695185184479, 0.26735731959342957, 0.10015532374382019, 0.3728812336921692, -0.3332061469554901, 0.7177447080612183, -0.05417468026280403, -0.25490695238113403, -0.2923171818256378, 0.3645131289958954, 0.26447033882141113, 0.1650131195783615, 0.8231005668640137, -0.1273893266916275, -0.26541855931282043, 0.5731712579727173, 0.09794344007968903, 0.5294790863990784, -0.32157251238822937, 0.3203025460243225, 0.15830306708812714, 0.03779837116599083, -0.273321270942688, 0.3638603985309601, -0.27482691407203674, -0.5688288807868958, -0.7439349889755249, -0.8369299173355103, -0.2055848091840744, 0.2545640766620636, -0.9363411068916321, 0.4795706868171692, -0.48318547010421753, -0.019210411235690117, -0.037526361644268036, 0.000025784969693631865, -1.114720106124878, 0.8099958896636963, -0.3277319669723511, 0.8416983485221863, -0.8301763534545898, 0.7168444395065308, 0.7093518972396851, -0.19782376289367676, -0.5689918398857117, -0.2582402229309082, -0.010994491167366505, -0.5305464267730713, 0.4923661947250366, 0.3921814560890198, -0.002879250328987837, 0.1402522176504135, -0.4476410150527954, -0.7229822278022766, 0.9445080161094666, 0.7417319416999817, -0.6672395467758179, 0.028141682967543602, 0.44441211223602295, 0.40871378779411316, -0.28635188937187195, 0.43072113394737244, 1.1339287757873535, 0.5719837546348572, 0.17674511671066284, -0.7757701277732849, -0.34136858582496643, -0.4429372251033783, -0.18644669651985168, 0.1170828714966774, -0.22081249952316284, 0.8703570365905762, 0.23213693499565125, -0.3100126385688782, -0.05604495108127594, 0.36672139167785645, 0.05361685901880264, 0.14642789959907532, 0.6880343556404114, 0.9107397198677063, 0.7893354892730713, -0.4726018011569977, 0.6667529940605164, -0.33920973539352417, 0.6471510529518127, 1.0213168859481812, -0.22005346417427063, 0.1835942268371582, 0.021381545811891556, -0.4253815710544586, 0.21048994362354279, 0.9364598393440247, 0.21647652983665466, 0.5966018438339233, 0.2586168050765991, -0.3122820258140564, -0.2796926200389862, 0.16740204393863678, -0.685002863407135, 0.4278590977191925, 0.30935803055763245, -0.23755455017089844, -0.584976315498352, -0.13075792789459229, -0.200680673122406, -0.2646700143814087, -0.3173723518848419, 0.499931663274765, -0.17785875499248505, -0.32324352860450745, 0.28532421588897705, -0.10660556703805923, 0.5109608173370361, -0.8205020427703857, -0.018869319930672646, -0.12286153435707092, 0.13999131321907043, -0.6697775721549988, -0.6669895648956299, 0.48552456498146057, 0.003442599903792143, -0.15781299769878387, -0.31843334436416626, 0.6251824498176575, -0.24779216945171356, -0.2362828403711319, 0.4630206525325775, 0.6690054535865784, 0.25107651948928833, -0.3812659978866577, -0.7151552438735962, 0.09525420516729355, -0.15651646256446838, -0.728775143623352, 0.28518030047416687, 0.34196561574935913, 0.06906116753816605, 0.3521732985973358, 0.9972168803215027, -0.11817297339439392, -0.13789735734462738, 0.23781439661979675, 1.1912779808044434, -0.2894841134548187, -0.6931748390197754, -0.6080281138420105, 0.9263362288475037, -0.1112789437174797, -0.3941086530685425, -0.11560360342264175, 0.678491473197937, 1.0337804555892944, 0.03771209716796875, 0.8497461080551147, -0.2814865708351135, 0.3345153033733368, -0.5386835932731628, 0.5882113575935364, -0.1598644107580185, 0.2887466847896576, -0.26656022667884827, -1.2597317695617676, -0.14023536443710327, 0.7587521076202393, -0.1877393126487732, 0.2884259819984436, 0.28098782896995544, 0.6497182846069336, -0.5835782289505005, 0.39003875851631165, 0.08144291490316391, -0.06783747673034668, 0.6208313703536987, 0.2684050500392914, 0.5596926808357239, -0.4468224048614502, 0.3179802894592285, -0.3986090123653412, -0.40765494108200073, 0.009720707312226295, -0.7780206799507141, -0.6365922689437866, -0.30718114972114563, -0.2526162266731262, -0.12753690779209137, 0.24336518347263336, 0.6363043785095215, 1.3539994955062866, -0.7794893980026245, -0.11981291323900223, -0.35514694452285767, -0.343065470457077, -0.3074052035808563, -0.2421809583902359, 0.42903584241867065, -0.28039491176605225, -0.5633232593536377, 0.5571212768554688, 0.16946128010749817, 0.004701269790530205, -0.06550723314285278, -0.04670140519738197, 0.22308988869190216, -0.4793558716773987, 0.42693576216697693, 0.07518721371889114, 0.09761246293783188, -0.15495558083057404, -0.42887941002845764, 0.19878439605236053, 0.055583491921424866, 1.0857818126678467, -0.960809588432312, 0.5832544565200806, 0.3061410188674927, 0.8906062245368958, 0.8818739652633667, 0.38259661197662354, 0.6262035369873047, -0.7490875720977783, 0.27340736985206604, 0.3638543486595154, 0.4123224914073944, 0.4214850068092346, -0.49705401062965393, 1.032355785369873, 0.26419204473495483, -0.23391985893249512, -0.8458653688430786, 0.10995030403137207, -0.45196786522865295, -0.1709970384836197, 0.5076619386672974, -0.5210684537887573, 0.22364704310894012, -0.1239231526851654, -0.0074766855686903, 0.2906744182109833, -0.04118496924638748, 0.40684774518013, 1.0659493207931519, -0.3647727370262146, 0.20280854403972626, -0.4490048587322235, 0.3674629330635071, 0.22214600443840027, -1.2322416305541992, -0.06239824369549751, 0.42897582054138184, 0.5348078012466431, -0.22619496285915375, 0.8592305779457092, -0.3660951554775238, 0.31415340304374695, 0.04550373926758766, -0.040927641093730927, -0.35184597969055176, -0.5856190323829651, -0.4100988209247589, 0.27939802408218384, -0.49629056453704834, 0.0237721037119627 ]
http://arxiv.org/abs/2402.16354v2
http://arxiv.org/pdf/2402.16354v2
Language-guided Skill Learning with Temporal Variational Inference
2024-02-26T07:19:23
2024-05-27T14:31:38
Haotian Fu, Pratyusha Sharma, Elias Stengel-Eskin, George Konidaris, Nicolas Le Roux, Marc-Alexandre Côté, Xingdi Yuan
cs.LG
cs.LG, cs.AI, cs.CL
We present an algorithm for skill discovery from expert demonstrations. The algorithm first utilizes Large Language Models (LLMs) to propose an initial segmentation of the trajectories. Following that, a hierarchical variational inference framework incorporates the LLM-generated segmentation information to discover reusable skills by merging trajectory segments. To further control the trade-off between compression and reusability, we introduce a novel auxiliary objective based on the Minimum Description Length principle that helps guide this skill discovery process. Our results demonstrate that agents equipped with our method are able to discover skills that help accelerate learning and outperform baseline skill learning approaches on new long-horizon tasks in BabyAI, a grid world navigation environment, as well as ALFRED, a household simulation environment.
[ -0.10730314254760742, -0.7625529766082764, 0.5712673664093018, 0.14643597602844238, -0.01728079840540886, 0.2838619351387024, -0.1841968148946762, -0.37384483218193054, 0.13187678158283234, 0.3594546318054199, -0.9890323877334595, -0.7231590151786804, -0.37736135721206665, -0.3614721894264221, -0.05414370819926262, 0.610228955745697, 0.01176392287015915, -0.3625556230545044, -0.21314634382724762, 0.1808757483959198, -0.23221157491207123, 0.06292489916086197, -0.8430882692337036, -0.5217472314834595, 0.7292457818984985, 0.8334951400756836, 0.5106578469276428, 0.9924721121788025, -0.15502934157848358, 0.33614084124565125, -0.19779621064662933, 0.49566370248794556, -0.41158682107925415, 0.05913664773106575, -0.04818512871861458, -0.7222428917884827, -0.18912602961063385, -0.17446111142635345, 0.7320072054862976, 0.9689014554023743, -0.3621651828289032, -0.22443228960037231, -0.1122703105211258, 0.37031683325767517, -0.4258619248867035, 0.3501054644584656, -0.38890931010246277, 0.45362555980682373, -0.07737001031637192, -0.45275935530662537, -0.21555742621421814, -0.16810715198516846, 0.2945284843444824, -0.9945683479309082, 0.4747295379638672, -0.13448865711688995, 0.7248724699020386, 0.45851585268974304, -0.47095823287963867, -0.17468003928661346, -0.6158944368362427, 1.1316702365875244, -0.5688172578811646, 0.5075498223304749, 0.48421087861061096, 0.49628663063049316, -0.44880419969558716, -0.4492577016353607, -0.2734014391899109, -0.31253066658973694, 0.025349151343107224, -0.07505372166633606, 0.454483300447464, 0.16059021651744843, 0.3525489866733551, 0.17420315742492676, -0.3831452429294586, 0.5973321199417114, -0.1206873431801796, -0.1585036963224411, 0.6968339681625366, 0.3221353590488434, 0.10689308494329453, 0.055301859974861145, -0.010188538581132889, -0.12032946199178696, -0.650437593460083, 0.260788232088089, 0.4495297074317932, 0.1781042367219925, -0.34353846311569214, 0.37704384326934814, -0.28468430042266846, 0.7149684429168701, -0.08221900463104248, -0.6669866442680359, 0.3512006402015686, 0.053896427154541016, -0.027666345238685608, -0.42256370186805725, 0.43437209725379944, 0.14583362638950348, 0.04309831187129021, -0.24431166052818298, -0.1547432392835617, -0.32933756709098816, 0.019857529550790787, -0.45054110884666443, -0.11148399114608765, -0.3394626975059509, -0.4118826687335968, -0.3052484691143036, -0.24185213446617126, -0.7654591798782349, -0.5144712924957275, -0.2601889967918396, -0.0640324205160141, -0.4513850212097168, -0.14485007524490356, 0.14564166963100433, -0.2919641435146332, 0.42132917046546936, 0.3290877640247345, -0.9566906094551086, 0.155105859041214, 0.744007408618927, 0.6545453667640686, -0.0820436030626297, -0.6049205660820007, -0.568893313407898, 0.04723028838634491, -0.4476129412651062, 0.7144584059715271, -0.674704909324646, -0.5789282917976379, 0.1308327466249466, 0.09572848677635193, 0.08022721856832504, -0.5364704132080078, 0.37573713064193726, -0.5900180339813232, 0.14345434308052063, -0.19086118042469025, -0.5822411775588989, -0.31955486536026, -0.07984612882137299, -0.5539687275886536, 0.97445148229599, 0.49838805198669434, -0.3068535029888153, 0.8478471636772156, -0.6528186798095703, -0.6153585314750671, 0.1546342819929123, -0.3514847755432129, -0.5203121900558472, 0.12217546999454498, 0.1349043995141983, 0.4330882132053375, -0.18109917640686035, 0.019552212208509445, -0.0008098740945570171, -0.3415452241897583, -0.093455009162426, -0.4296991229057312, 0.3546580970287323, 0.03644822537899017, -0.2844257056713104, -0.07969680428504944, -0.6973816752433777, -0.07620905339717865, 0.08881331980228424, -0.5800888538360596, -0.18931089341640472, 0.4728773534297943, -0.332278311252594, 0.05056862160563469, 0.31264224648475647, -0.31831133365631104, 0.44228944182395935, -0.48742344975471497, 0.13244150578975677, 0.6224257349967957, 0.2852987051010132, 0.3751714527606964, -0.41092249751091003, 0.8109175562858582, -0.13655102252960205, 0.19333307445049286, -0.13493871688842773, -0.3155348300933838, -0.7653619050979614, -0.16074535250663757, -0.0190923810005188, 0.40567317605018616, -1.0599662065505981, 0.4945119023323059, -0.22389160096645355, -0.34082746505737305, -0.30247557163238525, 0.1314287930727005, 0.501690685749054, 0.36336925625801086, 0.24049989879131317, -0.1606699377298355, -0.5529230833053589, -0.9984098076820374, -0.036150477826595306, -0.08613818883895874, -0.12340850383043289, 0.587826132774353, 0.23444487154483795, -0.40640443563461304, 0.6016342639923096, -0.6278558373451233, 0.09377798438072205, -0.15006329119205475, 0.6378187537193298, 0.18481694161891937, 0.39566147327423096, 0.49067223072052, -0.6401217579841614, -0.3394496440887451, 0.13850022852420807, -0.7520206570625305, -0.30999836325645447, -0.44666412472724915, 0.10281061381101608, -0.08028848469257355, 0.5849145650863647, -0.1618604212999344, 0.33531489968299866, 0.22654202580451965, -0.16216710209846497, 0.43153679370880127, -0.337582528591156, 0.10099326074123383, -0.7577892541885376, -0.3978559970855713, 0.03168409317731857, -0.18325288593769073, -0.4795265793800354, 0.12663844227790833, -0.23864343762397766, 0.31491586565971375, -0.29596376419067383, 0.5443528294563293, -0.6086520552635193, -0.2780924141407013, -0.5440484285354614, 0.11135157942771912, -0.3232349753379822, 0.6579300761222839, 0.27125704288482666, 0.8289745450019836, 0.6421252489089966, -0.593073844909668, -0.03669044375419617, 0.051060643047094345, -0.3624025583267212, 0.3266447186470032, -0.33803170919418335, 0.23853106796741486, -0.088515505194664, -0.2193501591682434, -0.5682165622711182, -0.3289373815059662, -0.02976253628730774, -0.25799989700317383, 0.32504862546920776, -0.47113800048828125, -0.20739446580410004, -0.3359232544898987, -0.03986003249883652, 0.26806509494781494, 0.5735065937042236, -0.4212242662906647, 0.7369414567947388, 0.3456369936466217, -0.07628729194402695, -0.8735672831535339, -0.3692680895328522, -0.10585065931081772, -0.16501185297966003, -0.4323280155658722, 0.4418487548828125, 0.06555678695440292, 0.10028506815433502, -0.30756524205207825, -0.14411874115467072, -0.18760575354099274, 0.4664626717567444, 0.41622957587242126, -0.03564447909593582, -0.10019905865192413, 0.17931102216243744, 0.35029903054237366, -0.05917058885097504, -0.09312549233436584, -0.22832119464874268, 0.4787431061267853, 0.017606817185878754, -0.3986169695854187, -0.2589881122112274, 0.375227153301239, 0.4719652235507965, 0.019266018643975258, 0.5681464672088623, 0.5158456563949585, -0.2587268054485321, -0.5316881537437439, -0.49496909976005554, -0.07819642871618271, -0.5215376615524292, 0.6081984639167786, -0.4447311758995056, -0.8771557807922363, 0.4553232789039612, -0.30819207429885864, 0.09415875375270844, 0.26272162795066833, 0.18665145337581635, 0.05763465538620949, 0.8678829073905945, 0.9871996641159058, -0.07049304991960526, 0.7806011438369751, -0.6380226612091064, -0.13379283249378204, -0.7363007068634033, -0.6347212195396423, -0.24030564725399017, -0.27842164039611816, -0.4858275055885315, -0.7876716256141663, 0.4023304581642151, 0.027256028726696968, -0.22101770341396332, -0.07708962261676788, -0.10947859287261963, 0.7248315215110779, 0.7080347537994385, 0.2993236780166626, 0.05073227360844612, -0.01758112944662571, -0.33308351039886475, -0.09116113185882568, -0.8726161122322083, -0.31664037704467773, 0.8490360379219055, 0.3437630832195282, 0.8387256860733032, -0.1934085190296173, 0.999087929725647, 0.3589203357696533, 0.19969968497753143, -1.077406644821167, 0.694891095161438, -0.15233087539672852, -0.10780815035104752, -0.6928389668464661, -0.45754703879356384, -1.0637532472610474, -0.09968019276857376, -0.09737800806760788, -0.5199337601661682, 0.1755979210138321, 0.17321521043777466, -0.32444143295288086, 0.1362219750881195, -0.4288409650325775, 0.5833823680877686, -0.38667237758636475, -0.5390065908432007, -0.3612237274646759, -0.6194302439689636, 0.055470727384090424, 0.07531053572893143, 0.11256551742553711, -0.054728858172893524, -0.3104894161224365, 0.7069480419158936, -0.22411620616912842, 1.0524805784225464, -0.5085428357124329, -0.15306444466114044, 0.07060683518648148, 0.22695392370224, 0.34371620416641235, -0.14579959213733673, 0.09854134172201157, -0.2738661766052246, -0.496166467666626, -0.3875448703765869, -0.7660449147224426, 0.548798143863678, -0.8271998763084412, -0.594819962978363, -0.06254643201828003, -0.522883951663971, -0.249346524477005, -0.006491458974778652, 0.004504416603595018, 0.1814042627811432, -0.4023702144622803, 0.14945866167545319, 0.7896326780319214, -0.15638667345046997, 0.47063571214675903, 0.902463972568512, 0.07254531234502792, -0.058177534490823746, 0.7919504046440125, -0.08786213397979736, -0.028857318684458733, 0.7723896503448486, 0.24798625707626343, -0.1403234302997589, -0.8153969645500183, -0.07587436586618423, 0.18456366658210754, -0.6743449568748474, 0.06456749141216278, -0.28130441904067993, -0.055777620524168015, 0.07276104390621185, -0.3928019404411316, -0.28359025716781616, -0.1761995404958725, -0.30318301916122437, -0.30762025713920593, 0.07857921719551086, 0.7646907567977905, -0.2960021197795868, 0.6486018300056458, -0.6053142547607422, 0.19903582334518433, 0.6824895143508911, 0.1410202980041504, 0.013995474204421043, -0.3717547059059143, -0.6296980977058411, 0.02600378729403019, -0.3041680157184601, -0.6421485543251038, 0.38312578201293945, 0.3796108663082123, 1.0238463878631592, 0.6929203271865845, -0.39128148555755615, 0.46386900544166565, -0.5346589684486389, 0.9740093350410461, -0.07477568835020065, -0.8784717321395874, 0.571568489074707, -0.45180875062942505, 0.18960689008235931, 0.1622048020362854, 0.5285193920135498, -0.5929381847381592, -0.1435146927833557, -0.6918061971664429, -0.8657785058021545, 0.350619375705719, -0.15538977086544037, -0.2230997383594513, 0.007726306561380625, 0.5834171772003174, 0.43365198373794556, 0.21528704464435577, -0.37133824825286865, -0.16476184129714966, -0.009801138192415237, -0.22980722784996033, -0.3211086690425873, -0.3033476173877716, -0.17131617665290833, 0.009677257388830185, 0.47782742977142334, -0.38180842995643616, 0.28975218534469604, -0.043884892016649246, -0.2060626894235611, -0.0843980684876442, 0.2133641541004181, 0.6144738793373108, 0.6337586045265198, 0.05556156486272812, -0.06065330281853676, 0.2276197224855423, -0.18555256724357605, 0.33565768599510193, 0.1729041337966919, 0.004468678496778011, -0.22403737902641296, 0.8620840907096863, 0.9594234228134155, 0.44856610894203186, -0.6482646465301514, 0.2923766076564789, 0.218439519405365, -0.2672453820705414, -0.4187608063220978, 0.4517437517642975, -0.06324269622564316, 0.5890989303588867, 0.4598540663719177, -0.35210636258125305, 0.18059049546718597, -0.43421539664268494, 0.35350504517555237, 0.33395302295684814, -0.2421218305826187, -0.3125362992286682, 0.4120391607284546, 0.009628692641854286, -0.6076313853263855, 0.5296408534049988, -0.26678648591041565, -0.47237586975097656, 0.7388379573822021, 0.05832180008292198, 0.9396315813064575, -0.48156216740608215, 0.5220768451690674, -0.10030130296945572, 0.13659881055355072, -0.01504337228834629, 0.48440471291542053, -0.43692147731781006, -0.8013861179351807, -0.5695661306381226, -0.26307249069213867, -0.39782899618148804, 0.03896366059780121, -0.5224365592002869, -0.011364530771970749, -0.13980698585510254, 0.01903337985277176, 0.006635034456849098, 0.050422120839357376, -0.9142434597015381, 0.28146517276763916, 0.1384744644165039, 0.742715060710907, -1.1241933107376099, 0.6639665961265564, 0.40536588430404663, -0.2236638367176056, -0.7577857971191406, 0.19450031220912933, -0.0770357996225357, -0.9973440170288086, 0.8965181708335876, -0.20176385343074799, -0.34979018568992615, -0.2494969666004181, -0.7421718835830688, -0.5101109743118286, 1.2512660026550293, 0.25460103154182434, -0.44003403186798096, -0.4460338056087494, 0.02777111530303955, 0.6437357664108276, -0.612992525100708, 0.27647605538368225, 0.6321958899497986, 0.21486051380634308, 0.16608662903308868, -0.7361608147621155, -0.22345800697803497, -0.07106634229421616, 0.07296580821275711, 0.03202589228749275, -0.48494771122932434, 0.7487683892250061, -0.4100243151187897, -0.0022448445670306683, 0.14055293798446655, 0.7931355834007263, 0.1358645260334015, 0.42115625739097595, 0.6856839656829834, 0.44514572620391846, 0.8738975524902344, 0.12415885925292969, 0.878341019153595, -0.06636766344308853, 0.18554793298244476, 1.1833975315093994, 0.0033687325194478035, 0.6098484992980957, 0.3673110008239746, 0.03813342750072479, 1.0516414642333984, 0.8214801549911499, 0.2395631968975067, 0.7701767086982727, 0.4289584159851074, -0.3453425467014313, -0.41528570652008057, -0.1526728719472885, -0.1281026005744934, 0.4009363055229187, 0.6214429140090942, -0.48781684041023254, -0.20295478403568268, 0.18962126970291138, -0.016935620456933975, -0.006893900688737631, -0.23904584348201752, 0.8223410844802856, -0.14271102845668793, -0.7085939049720764, 0.6382837295532227, -0.04618336632847786, 0.4597315490245819, -0.6223971843719482, -0.4628470838069916, -0.29375845193862915, -0.1781577318906784, -0.005625342950224876, -0.6784781217575073, -0.11167700588703156, -0.5151283144950867, -0.16789746284484863, -0.14563091099262238, 0.41875505447387695, -0.4917677342891693, -0.08924807608127594, 0.25895097851753235, 0.7506231665611267, 0.1283242404460907, 0.3929682970046997, -0.2281678169965744, -0.46838119626045227, 0.031177956610918045, -0.10962095856666565, 0.055835410952568054, 0.6149125099182129, 0.030739400535821915, 1.064736008644104, 0.13733448088169098, 0.12024358659982681, 0.2738335430622101, -0.01274389773607254, 0.8814654350280762, -0.5514256954193115, -0.5462331175804138, -0.30211061239242554, 0.4464673697948456, -0.2811666429042816, -0.1555454134941101, 0.4579223394393921, 0.4917178153991699, 0.8192160129547119, -0.3643212616443634, 0.8759005665779114, 0.14307518303394318, 0.5075903534889221, -0.9291224479675293, 0.13242939114570618, -0.6125856041908264, 0.379352331161499, 0.08382365852594376, -0.37617227435112, 0.01642475835978985, 0.6670050024986267, -0.5230989456176758, 0.18457534909248352, 0.6653697490692139, 0.8879358172416687, -0.11979161202907562, -0.2673655152320862, 0.5292848944664001, -0.03153344616293907, 0.42043429613113403, 0.923691987991333, 0.9667578935623169, 0.11378281563520432, 0.10470002889633179, -0.395963579416275, -0.5013768076896667, -0.28168895840644836, -1.0008844137191772, -1.0037691593170166, -0.6403659582138062, -0.35420507192611694, 0.07855958491563797, 0.3640028238296509, 0.9511259198188782, 0.9085482358932495, -0.36456525325775146, -0.4649707078933716, -0.20272204279899597, 0.42390525341033936, -0.6030617952346802, -0.20039944350719452, 0.3098723292350769, -0.3578402101993561, -0.7617923617362976, 0.9589203596115112, -0.04217616096138954, 0.17777875065803528, -0.26329484581947327, -0.20902149379253387, -0.044433046132326126, -0.15406754612922668, 0.38485220074653625, 0.7038903832435608, -0.568358838558197, -0.4207068979740143, -0.04834479093551636, 0.42149975895881653, -0.027649573981761932, 1.2185790538787842, -0.732813835144043, 0.3712059259414673, 0.4033876657485962, 0.6186590194702148, 0.6225078105926514, -0.29345065355300903, 0.7128388285636902, -1.2079371213912964, 0.3035818338394165, 0.3387436866760254, 0.39806556701660156, 0.17002341151237488, -0.34469282627105713, 0.5023528933525085, 0.23814603686332703, -0.45921626687049866, -0.4777035713195801, 0.5404017567634583, -0.661207377910614, -0.10772401839494705, 1.0819754600524902, -0.4088646471500397, -0.11488663405179977, -0.20867307484149933, -0.1731463223695755, 0.3386782705783844, -0.2355394810438156, 0.957192599773407, 0.3930789530277252, -0.17987492680549622, -0.44406428933143616, -0.3439139127731323, 0.6833612322807312, 0.06201055645942688, -0.7294315695762634, -0.2028837949037552, 0.480949729681015, 0.19127494096755981, 0.0685715302824974, 0.2941046357154846, 0.33614110946655273, 0.3709436058998108, 0.12825913727283478, 0.04406081885099411, -0.27826136350631714, -0.6632022857666016, -0.19210070371627808, 0.08536411821842194, 0.32134804129600525, -0.303791880607605 ]
http://arxiv.org/abs/2402.16352v1
http://arxiv.org/pdf/2402.16352v1
MathGenie: Generating Synthetic Data with Question Back-translation for Enhancing Mathematical Reasoning of LLMs
2024-02-26T07:17:25
2024-02-26T07:17:25
Zimu Lu, Aojun Zhou, Houxing Ren, Ke Wang, Weikang Shi, Junting Pan, Mingjie Zhan, Hongsheng Li
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have exhibited great potential in mathematical reasoning. However, there remains a performance gap in this area between existing open-source models and closed-source models such as GPT-4. In this paper, we introduce MathGenie, a novel method for generating diverse and reliable math problems from a small-scale problem-solution dataset (denoted as seed data). We augment the ground-truth solutions of our seed data and train a back-translation model to translate the augmented solutions back into new questions. Subsequently, we generate code-integrated solutions for the new questions. To ensure the correctness of the code-integrated solutions, we employ rationale-based strategy for solution verification. Various pretrained models, ranging from 7B to 70B, are trained on the newly curated data to test the effectiveness of the proposed augmentation technique, resulting in a family of models known as MathGenieLM. These models consistently outperform previous open-source models across five representative mathematical reasoning datasets, achieving state-of-the-art performance. In particular, MathGenieLM-InternLM2 achieves an accuracy of 87.7% on GSM8K and 55.7% on MATH, securing the best overall score among open-source language models.
[ -0.4047054946422577, -0.5052311420440674, 0.608308732509613, 0.35046902298927307, -0.03216855227947235, 0.004983754828572273, -0.3389528691768646, -0.13355068862438202, -0.07370118051767349, 0.45821264386177063, -0.8691384196281433, -0.6908485889434814, -0.3616809546947479, 0.20378464460372925, -0.0832286924123764, 0.7340556383132935, -0.4139430522918701, 0.5345355868339539, -0.5989545583724976, -0.2692122459411621, -0.349254846572876, -0.579357385635376, -0.12605020403862, -0.44562509655952454, 0.08556026220321655, 0.3332134187221527, 0.6019511222839355, 0.28165203332901, 0.6844715476036072, 0.24088791012763977, 0.05250053107738495, 0.47862476110458374, -0.5390154123306274, 0.007208315655589104, -0.23285239934921265, -0.9119625091552734, -0.22083324193954468, 0.2399151623249054, 0.4833361804485321, 0.7574663758277893, -0.14631186425685883, 0.23836606740951538, -0.27987492084503174, 0.4332917630672455, -0.39897578954696655, 0.03267434611916542, -0.6856176257133484, 0.06826799362897873, -0.11646967381238937, -0.1716858297586441, -0.454248309135437, -0.9221899509429932, -0.37934979796409607, -0.7198407053947449, 0.2539536952972412, -0.23357237875461578, 0.6124672293663025, 0.3532032370567322, -0.17433279752731323, -0.3573557734489441, -0.8726756572723389, 0.9623699188232422, -0.8163132667541504, 0.2910487949848175, 0.07279246300458908, 0.5851194858551025, -0.46495458483695984, -0.6612575054168701, -0.5495628714561462, -0.06775535643100739, -0.024212144315242767, 0.17700451612472534, -0.11680429428815842, -0.42248496413230896, 0.6342239379882812, 0.41264307498931885, -0.6984768509864807, -0.32474279403686523, -0.40978682041168213, -0.055817801505327225, 0.6408885717391968, 0.12304335087537766, 0.49760928750038147, 0.1286533772945404, -0.015517611987888813, -0.14445997774600983, -1.1284929513931274, -0.24769994616508484, 0.5057108402252197, 0.050626933574676514, 0.059470340609550476, 0.9008656740188599, -0.028756175190210342, 0.5868366360664368, -0.21614249050617218, -0.10891427099704742, 0.3587571978569031, -0.24950098991394043, -0.06284633278846741, -0.05919431149959564, 0.3829258680343628, -0.001039427239447832, 0.4008604884147644, -0.07994778454303741, -0.3074818253517151, 0.37428051233291626, -0.1923665851354599, -1.0142308473587036, -0.20453011989593506, 0.2281624972820282, -0.16538089513778687, -0.441769003868103, -0.08219625055789948, -0.4256969094276428, 0.0030533000826835632, -0.5028862357139587, 0.34457600116729736, -0.5309075117111206, -0.2082584649324417, 0.30316266417503357, 0.00758895929902792, 0.14747768640518188, 0.5338886976242065, -0.617192268371582, 0.09020194411277771, 0.7522666454315186, 0.6375555396080017, 0.1045294776558876, 0.0859622210264206, -0.6269515752792358, -0.0699818804860115, -0.626209020614624, 0.5667251944541931, -0.5839391350746155, -0.3567808270454407, -0.14760592579841614, -0.18554769456386566, -0.13199104368686676, -0.7620779275894165, 0.5957241058349609, -0.5178207755088806, 0.45563703775405884, -0.15583008527755737, -0.6876527667045593, 0.04193088412284851, 0.3202742338180542, -0.4144270718097687, 0.995427131652832, 0.2226596176624298, -0.6027729511260986, 0.002528364071622491, -0.5005244016647339, -0.06612103432416916, 0.211837500333786, -0.5399705171585083, -0.24108664691448212, 0.32772746682167053, 0.4194425344467163, -0.07319775968790054, -0.4552275836467743, 0.3052959144115448, -0.44184431433677673, -0.2544470727443695, 0.36351752281188965, -0.37811899185180664, 0.7447714805603027, 0.2976059317588806, -0.04528895020484924, -0.06409583985805511, -0.8308827877044678, 0.2808164656162262, 0.3445090055465698, -0.0206548310816288, -0.3208160400390625, -0.2771264910697937, -0.39919593930244446, 0.39597293734550476, 0.18475906550884247, -0.852103054523468, 0.2950824499130249, -0.5597773790359497, 0.2987932860851288, 0.5524894595146179, -0.19083748757839203, 0.23906776309013367, -0.35966870188713074, 0.7307141423225403, -0.14156930148601532, -0.08773376047611237, -0.28885117173194885, -0.7907005548477173, -0.48247581720352173, -0.14826324582099915, 0.5699014067649841, 0.7268728613853455, -0.9179285764694214, 0.09113970398902893, -0.5190727710723877, -0.46552392840385437, -0.4013260006904602, 0.17039941251277924, 0.1340010166168213, 0.44420814514160156, 0.30835747718811035, 0.3597058653831482, -0.2752760648727417, -0.845280110836029, -0.1814505010843277, 0.056899625808000565, -0.3063715696334839, 0.5398238897323608, 0.613898515701294, -0.32540056109428406, 0.983144998550415, -0.7594126462936401, 0.023895008489489555, -0.17837920784950256, 0.3351726531982422, 0.4732919931411743, 0.49407780170440674, 0.5209717154502869, -0.7224555015563965, -0.26494380831718445, -0.0033169074449688196, -0.9283764958381653, -0.5495803356170654, 0.10037318617105484, -0.3474712073802948, -0.012515717186033726, 0.2959270775318146, -0.6849783658981323, 0.29711416363716125, 0.7136974334716797, -0.09895125031471252, 0.4483754336833954, -0.10546483844518661, 0.1733018457889557, -1.1989699602127075, 0.1028425395488739, 0.07040105760097504, -0.187697172164917, -0.4238448143005371, 0.27235499024391174, 0.07024198770523071, -0.5377107262611389, -0.2718120813369751, 0.49602025747299194, -0.06661979109048843, -0.10644397884607315, -0.06876000016927719, 0.14274565875530243, -0.08511626720428467, 0.2893960177898407, -0.19807901978492737, 1.130147099494934, 0.09249027073383331, -0.20945711433887482, 0.5760990977287292, 0.3582679033279419, -0.24692848324775696, 0.42843231558799744, -0.7740468978881836, 0.2124965637922287, -0.17912179231643677, 0.2714861333370209, -0.9754098057746887, -0.33732494711875916, 0.2210037112236023, -0.6515522003173828, 0.01110043004155159, -0.4391269087791443, -0.6541661620140076, -0.3260852098464966, -0.060405001044273376, 0.7703368067741394, 0.8270359039306641, -0.7947181463241577, 0.8915449976921082, -0.0015983299817889929, -0.46398797631263733, -0.20095112919807434, -0.526024580001831, -0.09134082496166229, 0.011371325701475143, -1.3391516208648682, 0.3426178991794586, -0.25908079743385315, -0.47241443395614624, 0.2128644585609436, -0.11637639999389648, 0.02733035758137703, -0.10309931635856628, -0.02636384218931198, 0.45376428961753845, -0.3741494119167328, 0.2325228601694107, 0.2449447065591812, -0.26436084508895874, 0.19798754155635834, -0.5480853915214539, 0.49283546209335327, -0.05363190174102783, -0.5485691428184509, 0.13074086606502533, 0.4085438549518585, 0.4334962069988251, -0.3746730387210846, 0.5193477869033813, 0.3948958218097687, -0.6150000095367432, -0.45730623602867126, -0.37311169505119324, -0.326235294342041, -0.43252474069595337, -0.0704522356390953, -0.608956515789032, -0.8057732582092285, 0.48875194787979126, -0.4882912039756775, 0.20250506699085236, 0.46562373638153076, 0.6030401587486267, 0.07741264253854752, 1.3597713708877563, 0.15658563375473022, 0.30983734130859375, -0.053412485867738724, -0.3525457978248596, 0.20764851570129395, -0.4348919689655304, -0.17287658154964447, -0.43002355098724365, -0.06204359978437424, -0.4280358552932739, -0.7133610248565674, 0.5455114841461182, 0.1430775374174118, 0.14158956706523895, 0.04019598662853241, -0.25394052267074585, 0.5673173069953918, 0.2530937194824219, -0.04681950807571411, 0.31218138337135315, 0.23253361880779266, -0.33232414722442627, -0.2783184051513672, -0.6366316676139832, -0.47023963928222656, 1.0404245853424072, 0.2792915105819702, 0.9222062230110168, 0.26599934697151184, 0.7305231690406799, -0.10939547419548035, 0.6917135715484619, -0.530498743057251, 0.4506203234195709, -0.18874269723892212, -0.5395841002464294, -0.12049313634634018, -1.05210542678833, -0.542527973651886, 0.36562860012054443, -0.04496929422020912, -0.40002021193504333, -0.07107175886631012, 0.1607430875301361, -0.29814884066581726, 0.13630862534046173, -0.5464949607849121, 0.7422869205474854, -0.2997353672981262, -0.3994167149066925, -0.18977169692516327, -0.24450185894966125, 0.7869937419891357, -0.28376004099845886, 0.39882102608680725, -0.19509416818618774, 0.28045642375946045, 0.3558110296726227, -0.7160295844078064, 0.4659039080142975, -0.1253582388162613, -0.5392868518829346, 0.3133789002895355, 0.22804056107997894, 0.7548329830169678, 0.20927461981773376, 0.16174432635307312, 0.2242114245891571, -0.08977845311164856, -0.287637859582901, -1.0228173732757568, 0.8978316783905029, -0.6488678455352783, -0.7250250577926636, -0.27682754397392273, -0.6422548890113831, -0.37852227687835693, 0.10742480307817459, 0.17944501340389252, 0.7151086926460266, 0.2691110372543335, 0.11442521214485168, 0.9516706466674805, -0.34789949655532837, -0.09507058560848236, 0.3362289071083069, -0.5403007864952087, -0.7055548429489136, 0.9596343636512756, 0.06917155534029007, 0.27160555124282837, 0.16558784246444702, 0.23750311136245728, -0.29558059573173523, -0.269783616065979, -0.7553874850273132, 0.4468044638633728, -0.7944552302360535, -0.17128600180149078, -0.4683021008968353, -0.4516591429710388, -0.33678701519966125, -0.03900051862001419, -0.32849031686782837, -0.6479517817497253, 0.04953794181346893, 0.10411930829286575, 0.2573195695877075, 0.3191007375717163, -0.0893222838640213, -0.03763972595334053, -0.9393858313560486, 0.380542516708374, 0.3741772174835205, 0.23801442980766296, -0.4927619397640228, -0.5040839314460754, 0.08318841457366943, 0.34197065234184265, -0.05789477378129959, -0.6908213496208191, 0.4027356505393982, -0.21357321739196777, 0.4688935875892639, -0.2140684723854065, -0.23003536462783813, 0.4082988500595093, -0.5874085426330566, 0.4694690704345703, 0.2117365449666977, -0.8696532845497131, 0.6572704315185547, -0.4169508218765259, 0.25465431809425354, 0.1865837574005127, 0.19181305170059204, -0.28945255279541016, -0.15482938289642334, -0.557866632938385, -0.47483640909194946, 0.4879922866821289, 0.6570063233375549, 0.09433670341968536, 0.20381468534469604, 0.4316312074661255, 0.08502107113599777, 0.1757088303565979, -0.33196699619293213, -0.08077418804168701, -0.19829413294792175, -0.6282504200935364, 0.1022752895951271, -0.06965720653533936, -0.25142529606819153, -0.23545604944229126, 0.8655755519866943, -0.2952040433883667, 0.16773100197315216, -0.02184763364493847, -0.16319337487220764, -0.3683663010597229, 0.12277054786682129, 0.7766854763031006, 0.8465015888214111, -0.24109888076782227, -0.02701035514473915, 0.16323423385620117, -0.3412610590457916, 0.3855968117713928, 0.47795140743255615, -0.32239028811454773, 0.2175329327583313, 0.21537092328071594, 0.44993919134140015, -0.01527198776602745, -0.7457401752471924, 0.6026185750961304, -0.23171237111091614, -0.47036606073379517, -0.5697231292724609, 0.11463691294193268, -0.018260475248098373, 0.10553576052188873, 0.249107226729393, 0.06422138214111328, -0.15094976127147675, -0.21287687122821808, 0.2945813834667206, 0.4075116515159607, 0.07979297637939453, -0.2299073338508606, 0.5923486948013306, 0.13146516680717468, -0.07723774760961533, 0.5941416025161743, -0.21433967351913452, -0.4956526756286621, 0.6056708097457886, 0.675288736820221, 0.6601017117500305, -0.27600499987602234, 0.2664574384689331, 0.4857293665409088, 0.27162134647369385, 0.04622829705476761, 0.6973493695259094, 0.20018430054187775, -0.9346332550048828, -0.8203890919685364, -0.4421263337135315, -0.3464241325855255, 0.2624989151954651, -0.36560845375061035, 0.23503197729587555, -0.31115221977233887, 0.017722245305776596, -0.06678247451782227, -0.17675665020942688, -0.46398818492889404, 0.18443435430526733, 0.15264981985092163, 1.102493405342102, -0.8837843537330627, 0.6501529216766357, 0.7539857625961304, -0.2861168086528778, -0.8138763904571533, -0.15499143302440643, -0.21453697979450226, -0.913811445236206, 0.8425848484039307, 0.10964787751436234, -0.11062178015708923, 0.1910220831632614, -0.7862608432769775, -0.8757955431938171, 0.9789825081825256, 0.5664335489273071, -0.6531468629837036, 0.11898642033338547, 0.32827818393707275, 0.3628910481929779, -0.3341398239135742, 0.20210310816764832, 0.3347650170326233, 0.3679252564907074, 0.6786929368972778, -0.42478787899017334, -0.11212996393442154, -0.5206244587898254, 0.06525378674268723, 0.5546445846557617, -0.27751630544662476, 0.8472719192504883, -0.12643976509571075, -0.16654978692531586, 0.21320052444934845, 0.5708549618721008, 0.760791540145874, 0.34334295988082886, 0.3272755742073059, 0.982243001461029, 0.7062923908233643, -0.28729379177093506, 1.0012736320495605, -0.504359245300293, 0.30777209997177124, 0.8712628483772278, -0.31995889544487, 0.3846321702003479, 0.2875174880027771, -0.061647891998291016, 0.43473392724990845, 0.34630489349365234, -0.20718705654144287, 0.36075925827026367, 0.5026738047599792, -0.36637943983078003, -0.6257119178771973, -0.03901375085115433, -0.5556275844573975, 0.09634093940258026, 0.4732261896133423, -0.2248920351266861, -0.48733505606651306, -0.045649562031030655, -0.04419973865151405, 0.19121097028255463, -0.14290252327919006, 0.36799970269203186, 0.2605632543563843, -0.6500289440155029, 0.5178738832473755, 0.2751094400882721, 0.15551869571208954, -0.592773973941803, -0.4537615180015564, -0.45659372210502625, 0.31836092472076416, -0.08445718884468079, -0.44968679547309875, 0.1367773711681366, 0.06136257201433182, -0.03770074620842934, 0.078864187002182, 0.6629735827445984, -0.6208915710449219, -0.996012270450592, -0.2678926885128021, 0.6931191682815552, 0.01134679839015007, 0.10792320966720581, -0.4687310755252838, 0.08760687708854675, -0.06263622641563416, 0.1974058598279953, 0.03023713082075119, 0.7091103792190552, -0.15039533376693726, 0.6789553761482239, 1.054405689239502, 0.1633186787366867, 0.11223913729190826, 0.21957235038280487, 1.035064935684204, -0.36024823784828186, -0.41341620683670044, -0.7631835341453552, 0.29440581798553467, -0.19171787798404694, -0.2151922583580017, 0.9112467169761658, 0.5960558652877808, 0.8726998567581177, -0.13099020719528198, 0.9275650382041931, 0.36005961894989014, 0.38537541031837463, -0.6997162699699402, 0.03556232899427414, -0.3715366721153259, 0.39028120040893555, -0.03814663365483284, -0.9654015302658081, -0.3509860932826996, 0.716816782951355, -0.6406164169311523, 0.09171740710735321, 0.5405514240264893, 0.8321821093559265, -0.3231264650821686, 0.2711528539657593, 0.269217848777771, -0.04068811982870102, 0.5344511270523071, 0.805380642414093, 1.192539095878601, -0.32015717029571533, 0.5112499594688416, -0.18894167244434357, -0.37471455335617065, -0.03514930233359337, -0.6443883180618286, -0.9626259207725525, 0.03276591747999191, -0.28333917260169983, -0.45170485973358154, -0.1107836663722992, 1.1427594423294067, 0.4547184705734253, -0.875373125076294, 0.06361125409603119, -0.47107961773872375, -0.04068777710199356, 0.08840198814868927, -0.2098439335823059, 0.06887737661600113, -0.4986230134963989, -0.6009519696235657, 0.3854265511035919, 0.20141655206680298, 0.16427475214004517, -0.3444824814796448, -0.0810709148645401, 0.3536122739315033, 0.3843621015548706, 0.3646092414855957, 0.030010422691702843, -0.45613253116607666, 0.012477430514991283, 0.15313246846199036, -0.09690424054861069, -0.049965668469667435, 1.1752514839172363, -0.6093841195106506, 0.18624483048915863, 0.5033284425735474, 0.8610780835151672, 0.3992016613483429, 0.13983593881130219, 0.7912418842315674, -0.6060401201248169, 0.0625409409403801, 0.37041670083999634, 0.4910033941268921, 0.3184714913368225, -0.23309069871902466, 0.6643034219741821, 0.6387033462524414, -0.17367087304592133, -0.8155393600463867, 0.4330664277076721, -0.3746103048324585, -0.2813051640987396, 1.2724107503890991, -0.18763621151447296, -0.20953470468521118, 0.36201012134552, -0.16519588232040405, -0.09144589304924011, -0.0901435911655426, 0.6029038429260254, 0.7436973452568054, 0.11418162286281586, -0.1062488853931427, -0.4953177869319916, 0.2655150890350342, 0.4915957450866699, -0.94676673412323, -0.14266365766525269, 0.6890559792518616, 0.1834307312965393, 0.27239152789115906, 0.22602184116840363, -0.40394914150238037, 0.23741067945957184, 0.03263623267412186, -0.05316198617219925, -0.3080516755580902, -0.27979400753974915, -0.10865484923124313, 0.30833399295806885, -0.12391914427280426, 0.023065105080604553 ]
http://arxiv.org/abs/2402.16347v1
http://arxiv.org/pdf/2402.16347v1
CodeS: Towards Building Open-source Language Models for Text-to-SQL
2024-02-26T07:00:58
2024-02-26T07:00:58
Haoyang Li, Jing Zhang, Hanbing Liu, Ju Fan, Xiaokang Zhang, Jun Zhu, Renjie Wei, Hongyan Pan, Cuiping Li, Hong Chen
cs.CL
cs.CL, cs.DB
Language models have shown promising performance on the task of translating natural language questions into SQL queries (Text-to-SQL). However, most of the state-of-the-art (SOTA) approaches rely on powerful yet closed-source large language models (LLMs), such as ChatGPT and GPT-4, which may have the limitations of unclear model architectures, data privacy risks, and expensive inference overheads. To address the limitations, we introduce CodeS, a series of pre-trained language models with parameters ranging from 1B to 15B, specifically designed for the text-to-SQL task. CodeS is a fully open-source language model, which achieves superior accuracy with much smaller parameter sizes. This paper studies the research challenges in building CodeS. To enhance the SQL generation abilities of CodeS, we adopt an incremental pre-training approach using a specifically curated SQL-centric corpus. Based on this, we address the challenges of schema linking and rapid domain adaptation through strategic prompt construction and a bi-directional data augmentation technique. We conduct comprehensive evaluations on multiple datasets, including the widely used Spider benchmark, the newly released BIRD benchmark, robustness-diagnostic benchmarks such as Spider-DK, Spider-Syn, Spider-Realistic, and Dr.Spider, as well as two real-world datasets created for financial and academic applications. The experimental results show that our CodeS achieves new SOTA accuracy and robustness on nearly all challenging text-to-SQL benchmarks.
[ -0.15101474523544312, -0.6330158114433289, 0.4031006395816803, 0.17155933380126953, -0.2590153217315674, 0.06612367182970047, -0.3521043062210083, -0.4410972595214844, -0.10916665941476822, 0.7854394316673279, -0.40021732449531555, -0.5803321003913879, -0.342781126499176, 0.35801348090171814, -0.5243154168128967, 1.2594965696334839, 0.07900585979223251, 0.19631655514240265, -0.20604687929153442, -0.15132810175418854, -0.2270144373178482, -1.0210814476013184, -0.08284828811883926, 0.44790512323379517, 0.11699022352695465, 0.3159196674823761, 0.7331101894378662, 0.45816925168037415, 0.5120285749435425, 0.1507686972618103, 0.10585930198431015, 0.2153603881597519, -0.5603135228157043, 0.05971710383892059, -0.3737884759902954, -0.44863253831863403, -0.4925660789012909, -0.19683657586574554, 0.36541813611984253, 0.572791337966919, -0.1379566192626953, 0.23824718594551086, -0.0162564218044281, 0.7533039450645447, -0.40772634744644165, 0.40843361616134644, -0.7556101083755493, -0.09576788544654846, -0.2894584536552429, -0.36960068345069885, -0.622111976146698, -0.7436888217926025, -0.014468376524746418, -0.4076155424118042, 0.05096862092614174, 0.06270378082990646, 0.8745938539505005, 0.15237192809581757, -0.35030317306518555, -0.687105119228363, -0.5439258813858032, 0.43388035893440247, -0.7023143768310547, 0.39365729689598083, 0.27861127257347107, 0.26364773511886597, -0.1657513529062271, -0.8167530298233032, -0.3464255630970001, -0.44193220138549805, -0.16467371582984924, -0.3341616988182068, -0.012373434379696846, -0.2010500133037567, 0.29668766260147095, 0.36916857957839966, -0.5846808552742004, -0.1078968420624733, -0.32713499665260315, 0.142391175031662, 0.6673949956893921, 0.021293828263878822, 0.254877507686615, 0.07621222734451294, -0.15465685725212097, 0.07346198707818985, -0.9516460299491882, -0.24782319366931915, 0.30576053261756897, 0.7000169157981873, -0.06956797093153, 0.7710088491439819, -0.22939513623714447, 0.7479972243309021, -0.14241798222064972, 0.3371630012989044, 0.03230724483728409, -0.7871963381767273, -0.12164488434791565, -0.22577284276485443, 0.5936177372932434, 0.028517553582787514, 0.5939746499061584, -0.39060598611831665, -0.2004140168428421, 0.18087293207645416, 0.4042074382305145, -0.7358759045600891, -0.3360263407230377, 0.33288249373435974, -0.4122646152973175, -0.3812657296657562, -0.30788466334342957, -0.7179152369499207, -0.3654438853263855, -0.3623810410499573, 0.3616103529930115, -0.3536107838153839, -0.28851282596588135, 0.16952258348464966, 0.2579829692840576, 0.2127196192741394, 0.04983328655362129, -0.6749039888381958, 0.22121505439281464, 0.4016594886779785, 0.5073729157447815, -0.053906187415122986, -0.10752231627702713, -0.4721165895462036, 0.1322561800479889, -0.610797643661499, 0.6424579620361328, -0.5422140955924988, -0.37443605065345764, 0.16726425290107727, -0.02074672281742096, 0.20881393551826477, -0.3365575969219208, 0.2483575940132141, -0.640402615070343, 0.26142966747283936, -0.12859471142292023, -0.5181202292442322, 0.3275565207004547, 0.021905802190303802, -0.5932751893997192, 0.9371220469474792, 0.32379722595214844, -0.6913980841636658, 0.3167004883289337, -0.782053530216217, -0.4884091019630432, 0.206894651055336, -0.5136805772781372, -0.38831189274787903, 0.15140503644943237, 0.06520547717809677, 0.3325236439704895, -0.6083895564079285, 0.2721901834011078, -0.20294766128063202, -0.28043124079704285, 0.245452418923378, 0.0733075886964798, 0.8600099086761475, 0.4234294295310974, -0.13344243168830872, 0.2590978741645813, -0.7903361916542053, 0.29273179173469543, 0.3536595106124878, -0.2648703157901764, -0.17422854900360107, 0.10034559667110443, -0.008428092114627361, -0.06493448466062546, 0.10360708832740784, -0.11009051650762558, 0.3302907943725586, -0.45118653774261475, 0.5221538543701172, 0.5003774166107178, -0.20741496980190277, 0.5222823023796082, -0.08765457570552826, 0.4419257938861847, -0.061561815440654755, 0.2218826860189438, -0.34343624114990234, -0.2728188931941986, -0.3670977056026459, -0.2025349736213684, 0.37856605648994446, 0.5177738666534424, -0.9176192879676819, 0.5648525953292847, -0.32302504777908325, -0.5337322950363159, -0.262240469455719, -0.06684866547584534, 0.32513412833213806, 0.05445181205868721, 0.4469182789325714, -0.3933285176753998, -0.6762400269508362, -0.41360795497894287, -0.4950321912765503, -0.03660203889012337, -0.09853357076644897, 0.35406672954559326, 0.4163873493671417, -0.04247521609067917, 1.0078887939453125, -0.6940565705299377, -0.2499465048313141, -0.09969764947891235, -0.22142156958580017, 0.20696760714054108, 0.470378577709198, 0.598344624042511, -0.6116055846214294, -0.5317520499229431, 0.09957777708768845, -0.6768050789833069, 0.09440242499113083, 0.03251398727297783, -0.037933479994535446, 0.4675390124320984, 0.6342229247093201, -0.4777701795101166, 0.3862844407558441, 0.526961624622345, -0.5237768292427063, 0.7632758021354675, -0.15451616048812866, 0.1393742710351944, -1.1492139101028442, 0.13676555454730988, -0.004478632006794214, -0.07146169990301132, -0.6559271812438965, 0.38245001435279846, 0.23430278897285461, -0.4990207254886627, -0.23977141082286835, 0.2898350656032562, -0.6621379852294922, -0.1973201036453247, 0.09278255701065063, -0.2078227996826172, -0.07331540435552597, 0.45435798168182373, 0.25192394852638245, 1.0815883874893188, 0.5253309011459351, -0.5976809859275818, 0.10461430251598358, 0.3956342041492462, -0.5747472643852234, 0.48554837703704834, -0.5800756216049194, 0.36985698342323303, 0.09808725118637085, 0.2075936496257782, -0.5688579082489014, -0.10818690061569214, 0.06493572145700455, -0.43911853432655334, 0.2728164792060852, -0.39832744002342224, -0.7291771173477173, -0.06136126071214676, -0.11847531050443649, 0.3676879107952118, 0.6003963947296143, -0.5261436700820923, 0.3698630928993225, 0.46991369128227234, -0.32644540071487427, -0.39524388313293457, -0.7883291840553284, 0.29448679089546204, 0.19401174783706665, -0.391166627407074, 0.2675971984863281, 0.002445487305521965, -0.0702342540025711, 0.046285685151815414, -0.056935835629701614, -0.4408339262008667, -0.20361217856407166, -0.06646913290023804, 0.44131529331207275, -0.4185188412666321, 0.30146706104278564, -0.06673090904951096, -0.05701253563165665, -0.058257631957530975, -0.6259707808494568, 0.48136448860168457, -0.13106200098991394, -0.3158402442932129, 0.08478198945522308, 0.3975546360015869, 0.3391415476799011, -0.7317206263542175, 0.6978070735931396, -0.11847071349620819, -0.16568154096603394, -0.44785967469215393, -0.28147050738334656, -0.1699943244457245, -0.4276856780052185, 0.43110913038253784, -0.6546786427497864, -1.0503308773040771, 0.16690902411937714, -0.1249641701579094, 0.1394532322883606, 0.13883954286575317, 0.5614473223686218, 0.10559272021055222, 0.673414409160614, 0.8600634336471558, 0.31632423400878906, 0.4050200879573822, 0.09869188815355301, 0.526698112487793, -0.09714896231889725, -0.16087685525417328, -1.1267523765563965, 0.45019516348838806, -0.4894748628139496, -0.781852662563324, 0.09962303936481476, 0.07210774719715118, -0.32124805450439453, 0.7310803532600403, -0.7824877500534058, 0.6634896993637085, 0.05593841150403023, 0.02727590501308441, 0.4706431031227112, 0.12245506793260574, 0.16229407489299774, 0.035947758704423904, -0.6443127989768982, -0.3462558686733246, 1.2565650939941406, 0.243521586060524, 0.9883840084075928, 0.1696494221687317, 0.5733347535133362, 0.28350624442100525, 0.18392302095890045, -0.3109276592731476, 0.5154939293861389, -0.3205729126930237, -0.7268999218940735, -0.2309841513633728, -0.6183640360832214, -0.6896211504936218, -0.24917343258857727, -0.22345592081546783, -0.4202164113521576, 0.20891506969928741, 0.10051586478948593, -0.1619836688041687, 0.11977160722017288, -0.812883734703064, 0.9236419796943665, -0.23871059715747833, -0.4157821238040924, 0.009434802457690239, -0.57267826795578, 0.15362200140953064, -0.33000174164772034, 0.2710492014884949, 0.13216863572597504, -0.09462927281856537, 0.31039750576019287, -0.49836108088493347, 0.7039189338684082, -0.1314227432012558, -0.28781822323799133, 0.4110220670700073, 0.06912636011838913, 0.7554696798324585, -0.08431749045848846, -0.21771377325057983, 0.37439489364624023, 0.33498892188072205, -0.5771753787994385, -0.3817983567714691, 0.41378214955329895, -0.3885532021522522, -0.16372328996658325, -0.24479436874389648, -0.41618186235427856, -0.3809581995010376, 0.17172695696353912, 0.08909682929515839, 0.502575159072876, -0.0990997850894928, 0.20955756306648254, 0.6754084229469299, -0.48581650853157043, 0.11552871018648148, 0.5599188804626465, -0.3281850814819336, -0.25725144147872925, 0.7525377869606018, 0.04247983172535896, 0.2868490219116211, 0.3591490387916565, -0.25745540857315063, -0.5527402758598328, -0.7267724275588989, -0.5834586024284363, 0.10608337819576263, -0.6673204302787781, -0.4090954065322876, -0.5016157627105713, -0.33427727222442627, -0.5457485318183899, -0.08290402591228485, -0.3708125054836273, -0.2700311243534088, -0.20397458970546722, -0.00812053494155407, 0.6947017908096313, 0.7258049845695496, 0.39213696122169495, -0.15814067423343658, -0.9780454039573669, 0.11636601388454437, -0.12349281460046768, 0.8873617053031921, -0.23865991830825806, -0.20471961796283722, -0.47625732421875, -0.21371006965637207, 0.34283092617988586, -1.0264291763305664, 0.1585395187139511, 0.09125672280788422, 0.3561945855617523, -0.28450456261634827, 0.31408870220184326, 0.5561061501502991, -0.5521875619888306, 0.7135072946548462, 0.17516416311264038, -0.9794962406158447, 0.6860437989234924, -0.3688967227935791, -0.016082480549812317, 0.7305269241333008, 0.38670364022254944, -0.0030114229302853346, -0.29064634442329407, -0.33300966024398804, -0.5454800724983215, 0.7103272080421448, 0.29151013493537903, 0.21133019030094147, -0.046689968556165695, 0.46312084794044495, 0.1602822095155716, 0.34220582246780396, -0.7565568685531616, -0.03592995926737785, -0.21191419661045074, -0.2384905219078064, 0.005614323541522026, -0.23824289441108704, 0.03185812756419182, -0.11584282666444778, 0.35943523049354553, -0.4670448303222656, 0.22691847383975983, 0.003385283285751939, -0.18944327533245087, 0.17416919767856598, 0.4306465685367584, 0.31017160415649414, 0.6664392948150635, -0.0974837988615036, -0.20795206725597382, 0.1877407282590866, -0.33655020594596863, 0.06830063462257385, 0.14684458076953888, 0.011051386594772339, -0.11319289356470108, 0.027609191834926605, 0.3436855375766754, 0.08966135233640671, -0.8660697937011719, 0.6433896422386169, -0.1405886858701706, -0.16972586512565613, -0.0996473878622055, -0.1769818663597107, 0.14807195961475372, -0.0037799354176968336, 0.11967936903238297, 0.09539030492305756, -0.013613303191959858, -0.6743815541267395, 0.36276766657829285, 0.35741665959358215, -0.4405097961425781, -0.1749216765165329, 0.5929534435272217, 0.4449518918991089, -0.28307345509529114, 0.504977822303772, -0.28849148750305176, -0.17592297494411469, 0.3726264238357544, 0.5390568375587463, 0.7646329402923584, 0.0028380975127220154, -0.020596884191036224, 0.35086438059806824, 0.33852362632751465, -0.11763252317905426, 0.6985514760017395, -0.1704540252685547, -0.3853839635848999, -0.6804722547531128, -0.6016527414321899, -0.4461532533168793, -0.19601917266845703, -0.5699480175971985, 0.5261589884757996, -0.46485602855682373, 0.12829270958900452, -0.23342517018318176, -0.033245258033275604, -0.40113958716392517, 0.01995099149644375, -0.23918679356575012, 1.287503957748413, -0.559211254119873, 1.2318601608276367, 0.5858827829360962, -0.7525524497032166, -0.8372572064399719, -0.19040296971797943, -0.37845656275749207, -0.5314670205116272, 0.24779681861400604, -0.2203167974948883, 0.13811931014060974, 0.1806766539812088, -0.6485918164253235, -0.6416361927986145, 0.57975834608078, 0.5024299025535583, -0.6412543058395386, -0.34660452604293823, 0.24575337767601013, 0.5865988731384277, -0.4443238377571106, 0.11089463531970978, 0.6769577860832214, 0.14883404970169067, -0.08998113125562668, -0.9293986558914185, 0.172951802611351, -0.2966620624065399, -0.012674286030232906, 0.41219010949134827, -0.18983906507492065, 0.8404663801193237, -0.41826146841049194, -0.2566632628440857, 0.2368299663066864, 0.46213388442993164, 0.3270084261894226, 0.16386915743350983, 0.26601386070251465, 0.21308748424053192, 0.46094024181365967, -0.10054510831832886, 1.109316110610962, -0.6588199138641357, 0.3281652629375458, 1.2079198360443115, -0.5910560488700867, 0.9169920086860657, 0.27961069345474243, -0.5002644062042236, 0.5055192112922668, 0.28535914421081543, -0.0921190083026886, 0.355091392993927, 0.44529709219932556, -0.03328483924269676, 0.0549345463514328, 0.039106909185647964, -0.6858923435211182, 0.10742852091789246, 0.3110280930995941, -0.2722418010234833, -0.14841334521770477, -0.2968268394470215, -0.04873836040496826, 0.4202724099159241, 0.03784286975860596, 0.813054084777832, 0.00608373899012804, -0.47218483686447144, 0.4321404993534088, -0.14183694124221802, 0.6027239561080933, -0.8491190671920776, -0.08756640553474426, -0.27075520157814026, 0.11610579490661621, -0.2770004868507385, -0.65000319480896, 0.6573179364204407, 0.34556934237480164, -0.03938308358192444, -0.3369777798652649, 0.7460137009620667, -0.38563790917396545, -0.15855151414871216, 0.17553389072418213, 0.3847724497318268, 0.18190523982048035, -0.24438954889774323, -0.5290572047233582, 0.19552020728588104, 0.14278261363506317, 0.05833657458424568, 0.44888150691986084, 0.5333446860313416, 0.019759181886911392, 0.30755674839019775, 0.9030174016952515, 0.1830950379371643, 0.04370703175663948, 0.10938259214162827, 0.8827305436134338, -0.7896782755851746, -0.6753491759300232, -0.5322108268737793, 0.43335863947868347, -0.03361809253692627, -0.17523770034313202, 0.5782559514045715, 0.8126019239425659, 0.7417460680007935, -0.3170877695083618, 0.725579023361206, -0.15976785123348236, 0.6568500995635986, -0.5668242573738098, 0.9109784960746765, -0.4868037700653076, 0.5693057179450989, -0.18506471812725067, -0.8882486820220947, -0.3031964600086212, 0.24227066338062286, -0.12807157635688782, 0.06034082919359207, 0.694653332233429, 1.011846661567688, 0.3978153169155121, 0.18687257170677185, 0.20611004531383514, 0.22323693335056305, 0.38194578886032104, 0.5536813735961914, 0.7887648344039917, -0.393196165561676, 0.9677454233169556, 0.06800612807273865, -0.2795562148094177, -0.194350466132164, -0.8601167798042297, -0.7703113555908203, -0.6900556683540344, -0.39791521430015564, -0.6277243494987488, 0.2626301646232605, 0.8224074840545654, 0.7928014993667603, -0.9169099926948547, -0.4233206510543823, -0.33324405550956726, -0.07226774096488953, -0.09868033975362778, -0.14776267111301422, 0.3298577666282654, -0.6129023432731628, -0.41713863611221313, 0.31377193331718445, 0.37743034958839417, 0.05500958859920502, -0.24977634847164154, -0.1683240830898285, -0.08191759139299393, 0.3467736542224884, 0.7064531445503235, 0.3437885344028473, -0.29952847957611084, -0.07578855752944946, 0.10167521983385086, -0.4839721918106079, 0.003436919068917632, 0.9371474385261536, -0.7367788553237915, 0.27984902262687683, 0.3984880745410919, 0.703703761100769, 0.3540850877761841, -0.12379557639360428, 0.6608145236968994, -0.7538490891456604, 0.0490221343934536, 0.48025402426719666, 0.021780697628855705, 0.05786610022187233, -0.33312803506851196, 0.8928243517875671, -0.007861712947487831, -0.4915516674518585, -1.1641974449157715, 0.28176969289779663, -0.7932314872741699, -0.5514125823974609, 0.9538983106613159, -0.09791550040245056, -0.054536737501621246, -0.3400193750858307, -0.10066591948270798, -0.02699255384504795, 0.0006070695235393941, 0.46976831555366516, 0.33883392810821533, 0.05683407559990883, -0.04700392112135887, -0.36399468779563904, 0.8771085739135742, 0.1645662784576416, -1.196988582611084, 0.36226460337638855, 0.4121381640434265, 0.269162118434906, -0.004414027091115713, 0.8556210398674011, -0.6043898463249207, 0.31282752752304077, 0.37775367498397827, 0.2313639372587204, -0.032182712107896805, -0.2864757478237152, -0.3639673590660095, 0.31150752305984497, 0.2743612229824066, 0.024788154289126396 ]
http://arxiv.org/abs/2402.16333v2
http://arxiv.org/pdf/2402.16333v2
Unveiling the Truth and Facilitating Change: Towards Agent-based Large-scale Social Movement Simulation
2024-02-26T06:28:54
2024-06-17T05:37:35
Xinyi Mou, Zhongyu Wei, Xuanjing Huang
cs.CY
cs.CY, cs.CL
Social media has emerged as a cornerstone of social movements, wielding significant influence in driving societal change. Simulating the response of the public and forecasting the potential impact has become increasingly important. However, existing methods for simulating such phenomena encounter challenges concerning their efficacy and efficiency in capturing the behaviors of social movement participants. In this paper, we introduce a hybrid framework HiSim for social media user simulation, wherein users are categorized into two types. Core users are driven by Large Language Models, while numerous ordinary users are modeled by deductive agent-based models. We further construct a Twitter-like environment to replicate their response dynamics following trigger events. Subsequently, we develop a multi-faceted benchmark SoMoSiMu-Bench for evaluation and conduct comprehensive experiments across real-world datasets. Experimental results demonstrate the effectiveness and flexibility of our method.
[ -0.08121778815984726, -0.9285971522331238, 0.4213241636753082, 0.16615433990955353, 0.0009426870965398848, 0.6789621114730835, -0.16144196689128876, -0.060841601341962814, 0.5239635109901428, 0.3096165359020233, -0.6456376314163208, -0.18218424916267395, -0.3378349542617798, -0.21467392146587372, -0.6370816826820374, 0.5264768600463867, -0.006199617870151997, -0.14688217639923096, 0.11139644682407379, -0.1999479979276657, -0.08112894743680954, -0.3962627649307251, -0.6128107905387878, -0.39510393142700195, 0.5110083818435669, 0.3643086552619934, 0.6190399527549744, 0.19905583560466766, 0.26217183470726013, 0.35341349244117737, 0.06530443578958511, 0.27796998620033264, -0.95648193359375, -0.10781659930944443, -0.38789403438568115, -0.20971748232841492, -0.10309083759784698, 0.2271297723054886, 0.7661639451980591, 0.2905927002429962, -0.2296212911605835, 0.3100297451019287, -0.03553888201713562, 0.28299418091773987, -0.48232409358024597, -0.06536619365215302, -0.23905543982982635, -0.25662118196487427, -0.044825468212366104, -0.1315065324306488, -0.07557910680770874, -0.23271436989307404, -0.2515997290611267, -0.4494302570819855, 0.018512681126594543, 0.037430744618177414, 0.4787718653678894, -0.11604514718055725, -0.8189602494239807, 0.2527468800544739, -1.3568655252456665, 0.5006048679351807, -0.5584220886230469, 0.28544455766677856, -0.10070597380399704, 0.8916362524032593, -0.26451459527015686, -0.7113582491874695, -0.925665557384491, -0.0638921707868576, 0.45293980836868286, 0.1763375997543335, 0.14938077330589294, -0.284274160861969, 0.42792612314224243, -0.0853603333234787, -0.18600501120090485, -0.11453332751989365, -0.3925236463546753, 0.1110529899597168, 0.9466660022735596, 0.44592317938804626, 0.21024206280708313, -0.0977599024772644, -0.6934220194816589, -0.34726962447166443, -0.43516066670417786, 0.16529247164726257, 0.45276227593421936, 0.3043605089187622, -0.4758369028568268, 0.5342124104499817, -0.24311448633670807, 0.19849859178066254, -0.0024291027802973986, -0.4372202754020691, 0.4592536389827728, -0.24464944005012512, 0.005123382434248924, -0.2611866593360901, 0.769266664981842, 0.6642576456069946, 0.11451564729213715, -0.072966068983078, -0.17044676840305328, 0.2730454206466675, 0.16501542925834656, -0.9623730182647705, 0.204803928732872, 0.18435634672641754, -0.6333401799201965, -0.11335332691669464, 0.13720549643039703, -0.7814106345176697, -0.9011204242706299, -0.42086464166641235, 0.5154873132705688, -0.4838508069515228, -0.8814312219619751, 0.06595240533351898, -0.20533986389636993, 0.21159781515598297, 0.7767728567123413, -0.21596434712409973, 0.4546409249305725, 0.5494571924209595, 0.8947802782058716, -0.15393495559692383, -0.4469078481197357, -0.3793499171733856, 0.42464715242385864, -0.1611146628856659, 0.5713816285133362, -0.5565962195396423, -0.39111950993537903, 0.28275561332702637, -0.18873389065265656, -0.28850868344306946, -0.33562222123146057, 0.21365462243556976, -0.7609719634056091, -0.5323688983917236, -0.7130663990974426, -0.6636869311332703, -0.016028806567192078, 0.33514404296875, -0.6122170686721802, 0.9716634154319763, 0.11413263529539108, -0.608909547328949, 0.2864697575569153, -0.9044370651245117, -0.31750911474227905, -0.041503436863422394, -0.28647246956825256, -0.22305989265441895, 0.05172592028975487, -0.43399059772491455, 0.3407345116138458, -0.3239838778972626, 0.21003691852092743, -0.4624723792076111, -0.4884953498840332, 0.41949108242988586, 0.012864372693002224, 0.5129983425140381, 0.09951094537973404, -0.4629949629306793, 0.3316084146499634, -0.7099940180778503, -0.43579697608947754, 0.2149452120065689, -0.043129801750183105, -0.08437050133943558, 0.21344441175460815, 0.47223854064941406, 0.5526983737945557, -0.18315818905830383, -0.8328670263290405, 0.30997857451438904, 0.4645349681377411, 0.44879940152168274, 0.7014830708503723, 0.252742201089859, 0.4296608567237854, -0.45149144530296326, 0.4203730821609497, 0.1454934924840927, 0.10447826981544495, 0.14994637668132782, -0.387926310300827, 0.07224217057228088, -0.2585880160331726, 0.21377922594547272, 0.18711766600608826, -1.1214042901992798, -0.14892394840717316, -0.3665328621864319, -0.48446762561798096, -0.3217622935771942, 0.10296466946601868, -0.13335807621479034, 0.11550477147102356, 0.18453872203826904, 0.14797718822956085, -0.41046878695487976, -0.46149033308029175, -0.3771751821041107, -0.49129271507263184, 0.0437484048306942, 0.06343544274568558, 0.7346525192260742, -0.5747621059417725, 1.0278210639953613, -0.12521149218082428, -0.04898277670145035, -0.5716448426246643, 0.5243933200836182, -0.36014482378959656, 0.15628890693187714, 0.48742884397506714, -1.214118480682373, -0.40191030502319336, -0.196483314037323, -0.6002870798110962, -0.13528993725776672, -0.45768311619758606, -0.15295204520225525, -0.05217892676591873, 0.528106153011322, -0.3910638689994812, 0.6412115097045898, 0.5144851207733154, -0.3183072507381439, 0.5336848497390747, -0.015051521360874176, 0.6913536190986633, -1.3490560054779053, 0.14656385779380798, 0.21474067866802216, -0.28849947452545166, -0.7471014857292175, 0.05095360428094864, 0.07923038303852081, -0.23639434576034546, -0.6406605243682861, 0.5648900270462036, -0.2852039933204651, -0.2677850127220154, -0.49698930978775024, -0.12742416560649872, -0.46902114152908325, 0.14339739084243774, -0.09539102762937546, 0.5504239201545715, 0.22233906388282776, -0.47276681661605835, 0.27802929282188416, -0.10436002165079117, -0.17837531864643097, 0.4234335124492645, -0.6724205017089844, 0.021598530933260918, -0.19679448008537292, 0.39959532022476196, -1.0044397115707397, -0.447744756937027, 0.15506300330162048, -0.19791410863399506, -0.015400711447000504, -0.035827651619911194, -1.1430379152297974, -0.5460246801376343, -0.458149254322052, 0.20400673151016235, 0.667016863822937, -0.3019833266735077, 1.2165446281433105, 0.5531547665596008, 0.5383908748626709, 0.01782715693116188, -0.26875805854797363, 0.2897205948829651, -0.23437730967998505, -0.6838319897651672, 0.17161372303962708, -0.024412397295236588, -0.3973269760608673, -0.1521005779504776, 0.04764346033334732, 0.35880979895591736, -0.06757291406393051, 0.5396518111228943, -0.13960497081279755, 0.14100931584835052, -0.125325009226799, -0.11378323286771774, 0.05786724388599396, -0.07527248561382294, 0.16352315247058868, 0.6765172481536865, 0.030237911269068718, -0.5017575025558472, -0.6334654092788696, 0.5572961568832397, 0.7817330360412598, -0.15336643159389496, 0.7168753147125244, 0.6841906905174255, -0.4076201319694519, -0.13841618597507477, -0.521589457988739, -0.4054531455039978, -0.48805707693099976, 0.1651742309331894, -0.17725016176700592, -0.6732512712478638, 0.7967085242271423, -0.7704670429229736, 0.24165204167366028, -0.22184617817401886, 0.8360004425048828, -0.12943808734416962, 1.016281247138977, 0.5516812801361084, 0.10895194113254547, 0.5857855677604675, -0.34475988149642944, -0.017924148589372635, -0.5017662048339844, -0.13690361380577087, -0.33058789372444153, -0.7682399153709412, -0.40487831830978394, -0.7867480516433716, 0.47012436389923096, -0.19269849359989166, 0.14426684379577637, 0.514805793762207, 0.3663990795612335, -0.004510028287768364, 0.40122002363204956, -0.0334165096282959, 0.190324068069458, 0.08113539963960648, 0.09640021622180939, -0.05813811346888542, -0.5393866896629333, -0.5888531804084778, 0.7413151860237122, 0.16355301439762115, 1.0531511306762695, 0.2389155477285385, 0.7101442813873291, 0.607100248336792, 0.8212605714797974, -0.42030906677246094, 0.8997536897659302, 0.4681040048599243, -0.8086687922477722, -0.24563667178153992, -0.5681666135787964, -0.722046434879303, 0.4127252399921417, -0.5505421161651611, -0.721146821975708, 0.20949646830558777, 0.2631605565547943, -0.17663215100765228, 0.5705371499061584, -0.45884162187576294, 0.599795401096344, 0.04623284935951233, -0.640885055065155, -0.5085623264312744, -0.5719063878059387, -0.05240819230675697, 0.06149408221244812, 0.5005138516426086, -0.29130974411964417, 0.024749068543314934, 0.5670207738876343, -0.36063194274902344, 1.1987735033035278, -0.33030593395233154, 0.17794106900691986, 0.5517227053642273, -0.0036614323034882545, 0.43425846099853516, -0.16239912807941437, -0.07494394481182098, -0.12980809807777405, -0.1541966050863266, -0.5104981660842896, -0.6322541832923889, 0.5790348649024963, -0.8805379271507263, -0.3675491213798523, -0.06059853732585907, -0.3729907274246216, -0.16293521225452423, -0.11023322492837906, -0.021768298000097275, 0.31767240166664124, -0.6554638743400574, 0.07068590074777603, 0.2949466407299042, 0.19233857095241547, 0.4108492136001587, 0.8594186305999756, -0.38455307483673096, -0.1526937186717987, 0.6837461590766907, 0.4431556165218353, 0.09604881703853607, 0.005100672598928213, 0.5370240807533264, -0.22528298199176788, -0.18172532320022583, -0.6002745032310486, 0.2550355792045593, -0.21049712598323822, 0.12251047790050507, -0.7349266409873962, 0.17012815177440643, -0.45574766397476196, -0.1352972686290741, -0.34416255354881287, -0.028743479400873184, 0.3359094560146332, -0.1204964891076088, 0.12265985459089279, 0.5219981074333191, -0.32997480034828186, 0.5982680320739746, -0.47338950634002686, 0.4991081655025482, 0.3479192554950714, 0.07145678997039795, 0.02744501456618309, -0.22975920140743256, -0.374835342168808, 0.28486716747283936, -0.3933878540992737, -1.3708909749984741, 0.09284955263137817, -0.058448463678359985, 0.5250570178031921, 0.589150071144104, 0.4570586383342743, 0.578800618648529, -0.5087913870811462, 0.6242276430130005, 0.21293342113494873, -0.5140726566314697, 0.36255329847335815, -0.6023352146148682, -0.09742748737335205, 0.5703199505805969, 0.47870248556137085, -0.7002927660942078, -0.2926054298877716, -0.7110595107078552, -0.5880613923072815, 0.49857965111732483, 0.40184077620506287, 0.340609610080719, 0.1349816471338272, 0.280011922121048, -0.029009299352765083, 0.34981492161750793, -0.31593191623687744, -0.1730857938528061, -0.07856600731611252, -0.011546486057341099, -0.14405176043510437, -0.028030620887875557, -0.1989772468805313, -0.23735672235488892, 0.48529252409935, -0.10792424529790878, -0.038626138120889664, -0.03336751088500023, -0.002737359842285514, -0.46024370193481445, -0.12283340841531754, 0.29118990898132324, 0.7817760109901428, -0.25328949093818665, -0.06396013498306274, -0.12765440344810486, -0.3477685749530792, 0.29854467511177063, 0.0014144678134471178, -0.5507134795188904, 0.002615265781059861, 0.08472298085689545, 0.5165190100669861, 0.21316975355148315, -0.6932085156440735, 0.6216670274734497, 0.018039898946881294, -0.5025016665458679, -0.2242581844329834, 0.06003636494278908, 0.46975964307785034, 0.523198127746582, 0.5724612474441528, -0.13735926151275635, 0.3043849468231201, -1.0301120281219482, 0.017613854259252548, 0.05177101492881775, -0.3454348146915436, -0.8118939399719238, 0.8364548087120056, 0.33551692962646484, -0.6042063236236572, -0.03181375563144684, -0.17997430264949799, -0.41701656579971313, 0.5577779412269592, 0.49456292390823364, 0.5852258801460266, -0.38571402430534363, 0.3902074098587036, 0.1436549723148346, 0.1837068349123001, -0.35070809721946716, 0.5099027156829834, -0.006095442920923233, -0.826968789100647, -0.29252809286117554, -0.23376621305942535, -0.5168888568878174, -0.03968039155006409, -0.5729225277900696, 0.2432565689086914, -0.3347698152065277, -0.5109907388687134, 0.17818115651607513, 0.026103325188159943, -0.4799266755580902, -0.10928763449192047, 0.0741816982626915, 0.982607364654541, -1.2891708612442017, 0.6589674353599548, 1.3607852458953857, -0.18858642876148224, -0.49599161744117737, 0.32930320501327515, 0.4308936893939972, -0.47054457664489746, 0.17287223041057587, 0.3303682804107666, -0.29397812485694885, -0.21223551034927368, -0.7934854030609131, -0.24354560673236847, 1.0029903650283813, 0.34305980801582336, -0.3478753864765167, 0.30482709407806396, 0.22501805424690247, 0.8530657887458801, -0.3425934612751007, 0.16980484127998352, 0.2710845172405243, 0.3504771292209625, 0.5215508341789246, -0.5195251107215881, 0.011691300198435783, -0.21159827709197998, 0.32291513681411743, 0.1358705759048462, -1.0440378189086914, 0.7769655585289001, -0.22411224246025085, -0.46289193630218506, -0.34555137157440186, 0.7174152135848999, 0.2966182231903076, 0.7939523458480835, 0.8165020942687988, 0.20110081136226654, 0.27883943915367126, 0.314513236284256, 0.9352290630340576, -0.3660489320755005, 0.3505295217037201, 0.7880533337593079, -0.8458822965621948, 0.8104235529899597, 0.32234349846839905, 0.0356249138712883, 0.5188643932342529, 0.36762234568595886, 0.4767667353153229, 0.2737841308116913, 0.2806599736213684, -0.3953142762184143, -0.5160713791847229, -0.007355874869972467, -0.30578044056892395, 0.4253443777561188, 0.19509944319725037, 0.07587574422359467, -0.3030453324317932, -0.008033737540245056, 0.04027315229177475, 0.4620254933834076, -0.38411739468574524, 0.6141005754470825, -0.014241285622119904, -0.1513582468032837, 0.08299144357442856, 0.34308484196662903, 0.46395882964134216, -0.6282140016555786, -0.16900336742401123, -0.022073283791542053, 0.11612875014543533, 0.09805038571357727, -0.42438963055610657, 0.15648315846920013, -0.1931086778640747, 0.012317951768636703, -0.2708165943622589, 0.8997200131416321, -0.2397322803735733, -0.3223128318786621, 0.6185730695724487, 0.8712348341941833, -0.0438593327999115, -0.1066974550485611, -0.6120755076408386, 0.20033816993236542, -0.33130505681037903, -0.42972779273986816, 0.46715062856674194, 0.5680158734321594, -0.40056079626083374, 0.6694378852844238, 0.7407785654067993, -0.26531895995140076, -0.0754934772849083, 0.1954626739025116, 1.1008962392807007, -0.447685569524765, -0.6412363648414612, -0.7702540755271912, 0.359963595867157, -0.6845424175262451, -0.16236449778079987, 0.8336669206619263, 0.5195786952972412, 0.3699871599674225, 0.05699540302157402, 0.6271319389343262, -0.2261064499616623, 0.6363542675971985, 0.1158001720905304, 0.5486947894096375, -0.6006947159767151, -0.12963411211967468, -0.39178627729415894, -0.5948745012283325, 0.3407396972179413, 0.25473859906196594, -0.13595949113368988, -0.06768224388360977, 0.06148850545287132, 0.7092359662055969, -0.21668893098831177, 0.14702171087265015, 0.4737282693386078, 0.22873029112815857, 0.23303082585334778, 0.06046105921268463, 1.0752125978469849, -0.09752834588289261, 0.2343420386314392, 0.04293777421116829, -0.5997257232666016, -0.6080695986747742, -0.5199782252311707, -1.2231817245483398, -0.6647899150848389, -0.34942135214805603, -0.6182749271392822, 0.21496376395225525, 1.250583291053772, 0.9561915993690491, -0.5047157406806946, -0.5855060815811157, 0.5376346707344055, -0.1283711940050125, -0.5679357051849365, -0.2039758414030075, 0.062206096947193146, 0.3066405653953552, -0.43495574593544006, 0.08946086466312408, 0.1639658808708191, 0.0273975171148777, -0.32720983028411865, -0.185176283121109, -0.2799323797225952, 0.375625342130661, 0.8000000715255737, 0.5189877152442932, -0.23488043248653412, -0.21544155478477478, 0.01725194975733757, -0.13418591022491455, -0.2454608827829361, 1.088188648223877, -0.6921700835227966, 0.14283396303653717, 0.46046221256256104, 0.7027528882026672, 0.7218244671821594, 0.3825553059577942, 0.4711475968360901, -0.512878954410553, -0.05580100044608116, -0.0507986806333065, 0.15419341623783112, 0.18480494618415833, -0.08427957445383072, 0.5543556213378906, 0.5524413585662842, -0.15643267333507538, -0.8071525692939758, 0.26943978667259216, -0.9259329438209534, -0.26587221026420593, 1.5687639713287354, 0.07896494120359421, -0.36864423751831055, -0.17111501097679138, -0.31505540013313293, 0.24533657729625702, -0.7933546304702759, 0.8678094148635864, 0.2924566864967346, -0.0007703725714236498, -0.22099702060222626, -0.5091407895088196, 0.07380643486976624, -0.04148578643798828, -0.7639507055282593, -0.014555505476891994, 0.5133752822875977, 0.33313941955566406, 0.1836618185043335, 0.9973447322845459, 0.1808125525712967, 0.19080187380313873, 0.1370001882314682, 0.03513128310441971, -0.052775438874959946, -0.2888985574245453, 0.1649249643087387, 0.2541292607784271, -0.4132292568683624, -0.059477247297763824 ]
http://arxiv.org/abs/2402.16319v1
http://arxiv.org/pdf/2402.16319v1
Data-freeWeight Compress and Denoise for Large Language Models
2024-02-26T05:51:47
2024-02-26T05:51:47
Runyu Peng, Yunhua Zhou, Qipeng Guo, Yang Gao, Hang Yan, Xipeng Qiu, Dahua Lin
cs.CL
cs.CL
Large Language Models (LLMs) are reshaping the research landscape in artificial intelligence, particularly as model parameters scale up significantly, unlocking remarkable capabilities across various domains. Nevertheless, the scalability of model parameters faces constraints due to limitations in GPU memory and computational speed. To address these constraints, various weight compression methods have emerged, such as Pruning and Quantization. Given the low-rank nature of weight matrices in language models, the reduction of weights through matrix decomposition undoubtedly holds significant potential and promise. In this paper, drawing upon the intrinsic structure of LLMs, we propose a novel approach termed Data-free Joint Rank-k Approximation for compressing the parameter matrices. Significantly, our method is characterized by without necessitating additional involvement of any corpus, while simultaneously preserving orthogonality in conjunction with pruning and quantization methods. We achieve a model pruning of 80% parameters while retaining 93.43% of the original performance without any calibration data. Additionally, we explore the fundamental properties of the weight matrix of LLMs undergone Rank-k Approximation and conduct comprehensive experiments to elucidate our hypothesis.
[ -0.3588767647743225, -0.5935938954353333, 0.4936445355415344, 0.03518850356340408, -0.4255692958831787, 0.1669749617576599, -0.6304371356964111, 0.010145426727831364, 0.27598506212234497, 0.42864271998405457, -0.3547569513320923, -0.6064372658729553, -0.6744669675827026, -0.05069011449813843, -0.5014910697937012, 0.6612300872802734, 0.03193236142396927, -0.0037538325414061546, -0.35336706042289734, -0.13385309278964996, -0.2481013834476471, -0.7715330719947815, -0.4813038110733032, -0.15578103065490723, 0.30949321389198303, 0.21303389966487885, 0.6704143285751343, 0.5958881378173828, 0.2841528356075287, 0.2800774872303009, -0.19393488764762878, -0.07106456160545349, -0.6084360480308533, 0.28679051995277405, 0.6461786031723022, -0.6037765741348267, -0.7396946549415588, 0.16302651166915894, 1.3372541666030884, 1.2248830795288086, -0.2223464697599411, 0.16846491396427155, 0.1211354210972786, 0.7512256503105164, -0.6560322642326355, 0.4206324815750122, -0.5571876168251038, -0.21296672523021698, 0.09888521581888199, 0.04668422043323517, -0.608400285243988, -0.33527979254722595, -0.5581518411636353, -0.6741378903388977, 0.14147762954235077, -0.14923006296157837, 0.8551315069198608, 0.4658782184123993, -0.17610187828540802, 0.35261571407318115, -0.9518020749092102, 1.1829073429107666, -0.9148827791213989, 0.5796985030174255, 0.5000668168067932, 0.18828707933425903, -0.16215011477470398, -0.28228121995925903, -0.45969200134277344, -0.5569681525230408, 0.061554789543151855, -0.05122867226600647, -0.30241987109184265, 0.29862889647483826, 0.24603387713432312, 0.4201960861682892, -0.45792293548583984, 0.1793261468410492, -0.27258890867233276, 0.0065330155193805695, 0.6861366033554077, -0.17149050533771515, 0.31294265389442444, -0.00012684967077802867, -0.10126593708992004, -0.33618709444999695, -0.9976269602775574, -0.06703618913888931, 0.40774980187416077, 0.2892671525478363, -0.04058073088526726, 0.5294525623321533, -0.24124173820018768, 0.7001681327819824, -0.17597715556621552, -0.3165609836578369, -0.0645860806107521, -0.11212970316410065, -0.33211979269981384, -0.18300725519657135, 0.6718113422393799, 0.3600609600543976, 0.3941788971424103, -0.4454663395881653, -0.04612315073609352, 0.17848360538482666, 0.029214665293693542, -0.9179218411445618, -0.29472586512565613, 0.2292068749666214, -0.752819836139679, -0.14407408237457275, -0.24041275680065155, -0.7023264765739441, -0.15104450285434723, -0.46506044268608093, 0.3910115361213684, -0.21938778460025787, -0.24969646334648132, 0.04959249123930931, 0.19508524239063263, 0.09738019108772278, 0.42243072390556335, -0.7489309310913086, 0.6468673348426819, 0.6332290172576904, 0.6280465722084045, -0.03586927056312561, 0.1334332823753357, -0.6911529302597046, 0.22094178199768066, -0.3674534261226654, 0.3997861444950104, -0.7531968951225281, -0.31222596764564514, -0.44987305998802185, -0.22027014195919037, -0.0030067656189203262, -0.6413114070892334, 0.4796539843082428, -0.5581037402153015, -0.3495471179485321, 0.022412525489926338, -0.5805559158325195, -0.23689445853233337, 0.1605105847120285, -0.8660151958465576, 0.8011999726295471, 0.12136323004961014, -0.4592038094997406, 0.16680265963077545, -0.09870060533285141, -0.16513001918792725, 0.050680793821811676, 0.09721701592206955, -0.45643967390060425, 0.4324660301208496, 0.4675480127334595, 0.42195895314216614, -0.4287603795528412, 0.2756751775741577, -0.6923881769180298, -0.5389688014984131, 0.1735895723104477, -0.4222029447555542, 0.6664987206459045, 0.08152494579553604, 0.19974391162395477, 0.002782222116366029, -0.7803952693939209, 0.2177632749080658, 0.12068872898817062, -0.46333733201026917, -0.5637862682342529, 0.02405705116689205, -0.26777610182762146, -0.06255712360143661, 0.1305299699306488, -0.5001998543739319, 0.5903431177139282, -0.5131531357765198, 0.37070491909980774, 0.5034782886505127, -0.049723003059625626, 0.6523528099060059, -0.2824395000934601, 0.6324576735496521, -0.2705245018005371, 0.020231548696756363, 0.32001733779907227, -0.341487854719162, -0.8365110754966736, -0.7368346452713013, 0.6904376745223999, 0.35203322768211365, -0.49082252383232117, 0.40811094641685486, -0.7957835793495178, -0.5148744583129883, -0.766523540019989, 0.23609088361263275, 0.23545122146606445, -0.02556869387626648, 0.22529639303684235, -0.034549031406641006, -0.45477768778800964, -0.9241875410079956, -0.1642705351114273, -0.2623046934604645, -0.529041588306427, 0.09053510427474976, 0.2605963349342346, 0.38062670826911926, 0.8082500696182251, -0.3554348051548004, -0.03248283267021179, -0.3597021996974945, 0.13516896963119507, 0.22292611002922058, 0.6445985436439514, 0.35718923807144165, -0.49384668469429016, -0.2415391057729721, -0.4078981876373291, -0.5006110072135925, -0.32673054933547974, 0.2173832654953003, 0.2426304668188095, 0.06356354057788849, 0.5185384154319763, -0.7363477945327759, 0.4785045385360718, 0.781065821647644, 0.09666702151298523, 0.2631186246871948, -0.3175136148929596, 0.07595843821763992, -0.9933192729949951, 0.24520564079284668, -0.07630366086959839, -0.17405979335308075, -0.8704443573951721, 0.1856202930212021, 0.011851388029754162, -0.3696002662181854, -0.19378477334976196, 0.5989535450935364, -0.6894041895866394, -0.17353050410747528, -0.22867698967456818, 0.039007917046546936, -0.05877131223678589, 0.6856748461723328, -0.0025455416180193424, 0.5439773797988892, 0.44635236263275146, -0.6184946894645691, -0.01858733966946602, 0.15140336751937866, -0.3639110028743744, 0.1441183090209961, -0.6184925436973572, -0.027721043676137924, -0.34484031796455383, 0.35216885805130005, -0.9201748371124268, 0.18055595457553864, 0.18549717962741852, -0.41510865092277527, 0.48757901787757874, -0.5727560520172119, -0.7801889777183533, -0.07503165304660797, -0.6590441465377808, 0.6153814196586609, 0.7781504988670349, -0.21778897941112518, 0.4902462363243103, 0.6366889476776123, -0.49607187509536743, -0.3327732980251312, -0.5469424724578857, 0.14311741292476654, -0.2547501027584076, -0.2698511481285095, 0.453605055809021, -0.39107391238212585, -0.4198831021785736, -0.11427702009677887, 0.023284167051315308, -0.07404446601867676, 0.22640936076641083, 0.2993104159832001, 0.3102415204048157, -0.0019454772118479013, -0.0151671776548028, 0.19912895560264587, -0.1040017306804657, -0.07260188460350037, 0.07097950577735901, 0.6311661601066589, 0.17164340615272522, -0.15735581517219543, -0.40897589921951294, 0.44724732637405396, 0.7433173060417175, -0.14041756093502045, 0.7273080348968506, 0.4255484640598297, -0.4218786656856537, -0.2362862378358841, -0.41118961572647095, -0.1145864874124527, -0.4351530373096466, 0.19465652108192444, -0.17656761407852173, -0.9141300916671753, 0.5652647614479065, -0.106802798807621, -0.07213843613862991, 0.23518559336662292, 0.551593542098999, 0.3105885684490204, 1.311975359916687, 0.537750780582428, -0.26240435242652893, 0.16310010850429535, -0.3798735737800598, 0.49500027298927307, -1.0026345252990723, 0.0872083529829979, -0.5990361571311951, -0.5052857398986816, -0.49124839901924133, -0.5426281690597534, 0.479755163192749, 0.47617703676223755, 0.2302306443452835, 0.13834786415100098, -0.33159902691841125, 0.3818765878677368, 0.5612088441848755, -0.04254106432199478, 0.3498947024345398, 0.3684386610984802, 0.02133033238351345, -0.2019607424736023, -0.6683855056762695, -0.16499219834804535, 1.0754562616348267, 0.25610077381134033, 0.790242612361908, -0.007330714724957943, 0.5789265036582947, 0.06534648686647415, 0.372970849275589, -0.9508325457572937, 0.8698485493659973, -0.2651466727256775, -0.15011608600616455, -0.3431798219680786, -0.7943559288978577, -1.0204386711120605, 0.16653499007225037, -0.13814674317836761, -0.7772789597511292, 0.050600964576005936, -0.12185896188020706, -0.3437715470790863, 0.4151843190193176, -0.5381631255149841, 0.36132189631462097, 0.3270342946052551, -0.05256115272641182, -0.4018856883049011, -0.3708336353302002, 0.5363194942474365, 0.008800674229860306, 0.3403507471084595, -0.34051474928855896, -0.16463975608348846, 1.0705642700195312, -0.5966889262199402, 0.7682245373725891, -0.4499365985393524, -0.20669199526309967, 0.10495773702859879, 0.356219083070755, 0.41100603342056274, -0.014125573448836803, -0.10550197958946228, 0.3151971399784088, 0.12868736684322357, -0.33187195658683777, -0.7058155536651611, 0.7579350471496582, -0.6792391538619995, -0.4443908929824829, 0.17362819612026215, -0.9825936555862427, -0.41301724314689636, -0.027795998379588127, -0.3480265736579895, 0.5373515486717224, 0.1124415174126625, 0.4253876209259033, 0.35271018743515015, -0.3750336170196533, 0.6400167346000671, 0.4126046597957611, -0.22768400609493256, -0.6939069032669067, 1.0051164627075195, 0.3746660351753235, 0.18449147045612335, 0.5295710563659668, 0.12076859921216965, -0.039409246295690536, -0.9580816030502319, -0.2711471915245056, 0.3912627100944519, -0.4940897226333618, -0.3792880177497864, -0.5410194993019104, -0.3260653614997864, -0.5346763134002686, -0.10316368192434311, -0.41019245982170105, -0.8568430542945862, 0.05796611309051514, 0.25566449761390686, 0.2787872850894928, 0.5601661205291748, 0.05820607766509056, 0.46668103337287903, -0.948360800743103, 0.48354366421699524, 0.19078871607780457, 0.34553202986717224, 0.24860180914402008, -0.4030073285102844, -0.24394287168979645, 0.12574650347232819, 0.1682749092578888, -0.4854353666305542, 0.7782077193260193, 0.3276366591453552, 0.5933791399002075, 0.1683078110218048, 0.3260641396045685, 0.5665247440338135, -0.23466575145721436, 0.7645025253295898, -0.16764019429683685, -0.8020485043525696, 0.12840569019317627, -0.20044171810150146, 0.4266076683998108, 0.5572811961174011, 0.30831247568130493, -0.3466981053352356, -0.641773521900177, -0.4146674573421478, -0.9198241233825684, 0.5059778094291687, 0.3374165892601013, -0.07182137668132782, 0.17234410345554352, 0.3487013876438141, 0.1054593026638031, 0.3354891240596771, -0.743261992931366, -0.3137809634208679, 0.2736496031284332, -0.39325979351997375, -0.0036423620767891407, -0.5198207497596741, 0.07155867666006088, -0.4792190194129944, 0.5699118375778198, 0.07395674288272858, 0.36317530274391174, -0.1859140247106552, -0.3992580473423004, -0.030078284442424774, 0.35285598039627075, 0.5115600228309631, 0.4129493534564972, -0.3142518401145935, 0.1394481062889099, 0.060638945549726486, -0.5700661540031433, 0.2977677583694458, 0.14052872359752655, -0.35782235860824585, -0.08875100314617157, 0.21541687846183777, 0.4964754581451416, 0.4138091206550598, -0.5552350878715515, 0.39463478326797485, -0.30056658387184143, -0.2943020164966583, -0.02405567839741707, -0.18367554247379303, -0.031338535249233246, -0.07081012427806854, 0.4516579210758209, -0.25725865364074707, -0.09718630462884903, -0.09750280529260635, 0.10443662106990814, 0.6689658164978027, -0.009599260054528713, -0.4850221872329712, 0.5984972715377808, -0.027130383998155594, 0.06471046060323715, 0.6340399980545044, -0.12784859538078308, -0.3430860638618469, 0.38196995854377747, 0.33245763182640076, 0.8534841537475586, -0.2538992464542389, -0.0059682815335690975, 0.4976058304309845, 0.3183479905128479, -0.11023835092782974, 0.18052150309085846, -0.28607887029647827, -0.5966628789901733, -0.9290369153022766, -1.0078649520874023, -0.2880152761936188, 0.3902062475681305, -0.4692974090576172, 0.15217936038970947, -0.7323630452156067, 0.17839978635311127, -0.27960488200187683, 0.29026731848716736, -0.10293490439653397, 0.019602134823799133, 0.4260038733482361, 0.6574699282646179, -0.6422955989837646, 1.2358886003494263, 0.16955943405628204, -0.15472953021526337, -0.8860767483711243, -0.17871321737766266, -0.25778135657310486, -0.6855061054229736, 0.7032625079154968, 0.09518981724977493, 0.0998968631029129, 0.19873347878456116, -0.41308873891830444, -1.127624750137329, 0.7980753183364868, 0.9423167109489441, -0.4612118601799011, -0.18490581214427948, 0.19786633551120758, 0.22796545922756195, -0.06109309941530228, 0.09843325614929199, 0.359487384557724, 0.6859208941459656, 0.03743770718574524, -0.9414154887199402, 0.15849700570106506, -0.4078395366668701, 0.031051885336637497, 0.45195573568344116, -0.47726675868034363, 0.933398962020874, 0.166287362575531, -0.288055419921875, 0.2497958391904831, 0.5108413100242615, 0.27308201789855957, -0.28331151604652405, 0.7253103256225586, 0.8780084848403931, 0.5352977514266968, 0.12810392677783966, 0.8540095686912537, -0.6579277515411377, 0.39566728472709656, 0.6364787817001343, -0.24689649045467377, 0.9064428806304932, 0.5149413347244263, -0.3690354824066162, 0.35290879011154175, 0.2534428536891937, -0.0912814736366272, 0.294808030128479, 0.38177916407585144, -0.26412343978881836, -0.2845064401626587, -0.17279459536075592, -0.22667041420936584, 0.5122820734977722, 0.17380750179290771, -0.009449939243495464, -0.42473727464675903, -0.0730142667889595, 0.2971610128879547, -0.1295151263475418, -0.6477264761924744, 0.5250652432441711, 0.03754103183746338, -0.6006625294685364, 1.0772804021835327, 0.1447652280330658, 0.6440850496292114, -0.6302387118339539, -0.10327156633138657, -0.2559163570404053, 0.05138234421610832, 0.17735636234283447, -0.2581753134727478, 0.2334761917591095, -0.16219019889831543, -0.12078225612640381, -0.5570757985115051, 0.7269701361656189, -0.7467657327651978, -0.7637290954589844, 0.22406679391860962, 0.35582974553108215, 0.2873179316520691, -0.305279940366745, -0.32904472947120667, 0.3442555367946625, -0.2677799463272095, -0.36822307109832764, 0.6640512943267822, -0.16567771136760712, -0.0604654960334301, 0.8246999979019165, 0.6234540939331055, 0.574537992477417, -0.03256440535187721, 0.05209915712475777, 0.8987429738044739, -0.4817335903644562, -0.24639709293842316, -0.8513116240501404, 0.16173526644706726, 0.07355639338493347, 0.3080635964870453, 0.6522229909896851, 0.4443642497062683, 0.5760729908943176, -0.012302360497415066, 0.3690744936466217, 0.07922250777482986, 0.4596632719039917, -0.6178824305534363, 0.9828463196754456, -0.6360090374946594, 0.22210440039634705, -0.23182110488414764, -0.9189668893814087, -0.6003941893577576, 0.2645348608493805, -0.1616501659154892, 0.1747969537973404, 0.5412936806678772, 0.8433170318603516, -0.009341083467006683, -0.4936472177505493, 0.6186695694923401, 0.3344883918762207, 0.19143632054328918, 0.5858931541442871, 0.4307379722595215, -0.33956795930862427, 0.7562102675437927, -0.3812386095523834, -0.13378500938415527, -0.13200025260448456, -0.7740616202354431, -0.8563693761825562, -0.5217703580856323, -0.4379773736000061, -0.07715310156345367, -0.2434404045343399, 0.68885338306427, 0.8987760543823242, -0.6989845037460327, -0.3845460116863251, 0.017382927238941193, 0.15311570465564728, -0.2623257637023926, -0.2016175240278244, 0.4768296778202057, 0.06777241080999374, -0.8366971611976624, 0.7155205011367798, 0.34405583143234253, -0.036059483885765076, -0.3832855522632599, -0.03272749111056328, -0.16310171782970428, 0.04507272318005562, 0.5316603779792786, 0.0930427759885788, -0.5709725022315979, -0.09509330987930298, -0.17019054293632507, 0.2090333104133606, -0.03008013404905796, 0.7755815386772156, -1.164176344871521, 0.14872193336486816, 0.5395249128341675, 0.6195963621139526, 0.28081679344177246, -0.08193939179182053, 0.7498986721038818, -0.9436445236206055, 0.4614684581756592, 0.28519129753112793, 0.31521594524383545, 0.3387616276741028, -0.031975701451301575, 0.30432868003845215, 0.2521277666091919, -0.44604697823524475, -1.2295011281967163, 0.09871909767389297, -1.1870615482330322, -0.33057403564453125, 1.1069790124893188, -0.03505706414580345, -0.6579492688179016, 0.2714728116989136, 0.02810186706483364, 0.4181705713272095, -0.3046775758266449, 0.6426319479942322, 0.5981705784797668, 0.29467079043388367, -0.44172146916389465, -0.6002821922302246, 0.41232168674468994, 0.5089712738990784, -0.5418835878372192, 0.5998812913894653, 0.3587258458137512, 0.066826231777668, -0.10203474760055542, 0.39463889598846436, -0.11272276192903519, -0.07527173310518265, -0.019456205889582634, 0.402300626039505, -0.1143818199634552, -0.2403324693441391, -0.48249712586402893, 0.5324122905731201, 0.2494979053735733, 0.0040784310549497604 ]
http://arxiv.org/abs/2402.16315v2
http://arxiv.org/pdf/2402.16315v2
Finer: Investigating and Enhancing Fine-Grained Visual Concept Recognition in Large Vision Language Models
2024-02-26T05:43:51
2024-03-11T18:49:40
Jeonghwan Kim, Heng Ji
cs.CV
cs.CV, cs.CL
Recent advances in instruction-tuned Large Vision-Language Models (LVLMs) have imbued the models with the ability to generate high-level, image-grounded explanations with ease. While such capability is largely attributed to the rich world knowledge contained within the Large Language Models (LLMs), our work reveals their shortcomings in fine-grained visual categorization (FGVC) across six different benchmark settings. Most recent state-of-the-art LVLMs like LLaVa-1.5, InstructBLIP and GPT-4V not only severely deteriorate in terms of classification performance, e.g., average drop of 65.58 in EM for Stanford Dogs for LLaVA-1.5, but also struggle to generate an accurate explanation with detailed attributes based on the concept that appears within an input image despite their capability to generate holistic image-level descriptions. In-depth analyses show that instruction-tuned LVLMs exhibit modality gap, showing discrepancy when given textual and visual inputs that correspond to the same concept, preventing the image modality from leveraging the rich parametric knowledge within the LLMs. In an effort to further the community's endeavor in this direction, we propose a multiple granularity attribute-centric evaluation benchmark, Finer, which aims to establish a ground to evaluate LVLMs' fine-grained visual comprehension ability and provide significantly improved explainability.
[ -0.6160758137702942, -0.9135630130767822, 0.5527044534683228, -0.314090758562088, -0.35551539063453674, -0.3444763720035553, -0.35423144698143005, -0.6683833599090576, -0.37613025307655334, 0.3518001437187195, -0.2600465714931488, -0.4841068983078003, -0.5933144092559814, -0.08462367206811905, -0.2948581874370575, 0.6475221514701843, -0.040564265102148056, 0.0764344334602356, -0.43876710534095764, 0.0058277626521885395, -0.3288196921348572, -0.10131192952394485, -0.5986011624336243, -0.452786922454834, 0.5862112045288086, 0.39188820123672485, 0.7144216299057007, 0.7113548517227173, 0.9310069680213928, 0.32947418093681335, -0.287956565618515, 0.4694087505340576, -0.38409608602523804, -0.40850016474723816, -0.0726499855518341, -0.33535313606262207, -0.5861645936965942, -0.04091336950659752, 0.5865325331687927, 0.6176846027374268, 0.07785212248563766, 0.13016542792320251, 0.18910108506679535, 0.6384226679801941, -0.9204234480857849, 0.3677367568016052, -0.8269155025482178, 0.21152272820472717, -0.27601906657218933, -0.32493406534194946, -0.190924271941185, -0.021658677607774734, 0.24358722567558289, -0.6273577213287354, 0.37794429063796997, -0.1432563066482544, 1.3299751281738281, 0.2839765250682831, -0.06782907992601395, -0.08458039164543152, -0.46211013197898865, 0.6563191413879395, -0.5069273114204407, 0.4994179904460907, 0.4481201171875, 0.39857032895088196, -0.03094157762825489, -0.9433029890060425, -0.44413700699806213, -0.33750119805336, 0.08763251453638077, 0.024773042649030685, -0.15157854557037354, 0.24073325097560883, 0.14762677252292633, 0.7680023312568665, -0.2810721695423126, 0.35202106833457947, -0.47547081112861633, -0.2941116392612457, 0.5355097055435181, 0.3377375602722168, -0.07486148178577423, 0.0395282506942749, -0.2821427285671234, -0.1099834144115448, -0.479026734828949, 0.5263356566429138, -0.1225508600473404, 0.23026196658611298, 0.03219228610396385, 0.4102133810520172, -0.5560228228569031, 0.8256267309188843, 0.28182026743888855, -0.38362303376197815, 0.39812901616096497, -0.26172274351119995, -0.5254528522491455, -0.21239124238491058, 0.5367524027824402, 0.7021965384483337, 0.19526848196983337, 0.05375521630048752, -0.3519470989704132, -0.009422359056770802, 0.2027376890182495, -1.1102023124694824, -0.22361211478710175, -0.0723080113530159, -0.7029967904090881, -0.3155244290828705, 0.10364799946546555, -0.502516508102417, -0.614478349685669, -0.39836829900741577, 0.5456333756446838, -0.4514276087284088, 0.20168864727020264, 0.2937806248664856, -0.10256604105234146, 0.6209972500801086, 0.8342783451080322, -0.8259668946266174, 0.12037007510662079, 0.7270877957344055, 0.6735750436782837, -0.049428462982177734, -0.4590565264225006, -0.6325919032096863, 0.004279635846614838, -0.40579190850257874, 0.8257113695144653, -0.8615780472755432, -0.08394287526607513, -0.09428095817565918, 0.19325582683086395, 0.1861383020877838, -0.6328597068786621, 0.4041006565093994, -0.119161456823349, -0.21913325786590576, -0.24557466804981232, -0.3707049489021301, -0.14753220975399017, 0.5046188235282898, -0.2829321026802063, 0.8044954538345337, -0.0346352756023407, -0.682507336139679, 0.5945723652839661, -0.11040886491537094, -0.12237203121185303, 0.2555079460144043, -0.3803609013557434, -0.28368380665779114, 0.5535760521888733, 0.2799704372882843, 0.8623644709587097, -0.23679667711257935, 0.17163754999637604, -0.48258349299430847, -0.5365591049194336, 0.17198939621448517, -0.8275638222694397, 0.05024102330207825, 0.11852654069662094, 0.0019615571945905685, 0.14034056663513184, -0.9048676490783691, 0.11414496600627899, 0.10191429406404495, -0.20713810622692108, -0.494682252407074, -0.07204992324113846, -0.23000343143939972, 0.047008298337459564, 0.36316755414009094, -0.30728602409362793, 0.187702015042305, -0.2793138325214386, 0.355745404958725, 0.7245902419090271, -0.26628378033638, 0.41101527214050293, 0.03392769768834114, 0.0690574198961258, 0.15045151114463806, 0.4333013594150543, -0.2331218719482422, -0.32016173005104065, -0.86055988073349, -0.3521718680858612, 0.1326318085193634, 0.2772601246833801, -0.745600163936615, 0.08887982368469238, -0.24364247918128967, -0.4925195872783661, -0.35868212580680847, 0.13095274567604065, 0.6007161140441895, 0.4271198809146881, 0.2591615617275238, -0.6375691294670105, -0.07904218137264252, -1.1012033224105835, 0.08431006222963333, 0.06407798081636429, -0.011853785254061222, 0.4534633159637451, 0.5336741209030151, -0.2959500253200531, 0.5962807536125183, -0.5671431422233582, -0.37929388880729675, -0.030265558511018753, 0.06493601948022842, -0.1847427636384964, 0.23587311804294586, 0.3814699053764343, -0.6399745345115662, -0.13479550182819366, 0.5942578315734863, -0.5442779660224915, 0.0838816836476326, 0.09431702643632889, 0.03614482283592224, -0.008943584747612476, 0.6913644671440125, -0.3782802224159241, 0.7273645401000977, 0.10100146383047104, -0.35365599393844604, 0.5337421894073486, -0.3960551917552948, 0.19594749808311462, -0.5671149492263794, -0.2184586375951767, 0.1932058185338974, -0.13914145529270172, -0.49605995416641235, 0.4040682315826416, 0.16293102502822876, 0.1802283227443695, -0.6167513132095337, 0.6143360733985901, -0.278800904750824, -0.3191527724266052, -0.19442737102508545, 0.22500455379486084, 0.2902452349662781, 0.2989971935749054, 0.11075981706380844, 0.807100772857666, 0.7986111044883728, -0.7563724517822266, 0.2835281491279602, 0.11263490468263626, -0.37076878547668457, 0.7440459132194519, -0.6172163486480713, -0.198647603392601, -0.15821930766105652, 0.10364706069231033, -0.6123083233833313, -0.5423961877822876, -0.045263346284627914, -0.25228452682495117, 0.48768630623817444, -0.07080063968896866, -0.23082740604877472, -0.3684132397174835, -0.47468701004981995, 0.3406412899494171, 0.45480403304100037, -0.586558997631073, 0.3875507712364197, 0.014876965433359146, 0.0789463222026825, -0.44370847940444946, -0.7240414619445801, 0.11098821461200714, -0.36739614605903625, -0.6021753549575806, 0.27389848232269287, 0.03541499003767967, -0.2927494943141937, -0.19143147766590118, -0.3187797963619232, -0.3305153548717499, 0.11970224231481552, 0.10597869753837585, 0.019483335316181183, -0.38305631279945374, 0.34536978602409363, -0.3060661852359772, -0.008893954567611217, -0.17337241768836975, -0.011341952718794346, 0.3786351978778839, -0.7679491639137268, -0.22122706472873688, -0.55131596326828, -0.0763847678899765, 0.5794517993927002, -0.49282559752464294, 0.3755030035972595, 1.2050992250442505, -0.18061327934265137, -0.0949670821428299, -0.43790096044540405, 0.04762405529618263, -0.4652666747570038, 0.6095870137214661, -0.5845322608947754, -0.8868510723114014, 0.39009207487106323, -0.08112227916717529, -0.2024216502904892, 0.3580540120601654, 0.45386749505996704, -0.1478106528520584, 0.7914026379585266, 0.5581802725791931, 0.39589789509773254, 0.6206444501876831, -0.29981860518455505, -0.022724488750100136, -0.9344209432601929, -0.47206881642341614, -0.26447468996047974, -0.17686982452869415, -0.48047465085983276, -0.7136212587356567, 0.15857088565826416, 0.3576399087905884, -0.21823053061962128, -0.2938319742679596, -0.503943145275116, 0.7090441584587097, 0.4635707139968872, 0.31906670331954956, 0.2831078767776489, 0.19889628887176514, 0.14173732697963715, 0.030843719840049744, -0.4245172441005707, -0.4665086269378662, 0.6356685161590576, 0.5519208312034607, 1.036397933959961, -0.3055773377418518, 0.6405687928199768, 0.19350114464759827, -0.1992158442735672, -1.2013355493545532, 0.6551478505134583, -0.674525260925293, -0.011338888667523861, -0.12731106579303741, -0.2515054941177368, -0.7109264731407166, 0.3208906650543213, -0.12211340665817261, -0.862633466720581, 0.3181641101837158, 0.24930821359157562, -0.2974982261657715, 0.18928740918636322, -0.742501974105835, 0.9885650277137756, -0.2971910238265991, -0.5420681238174438, -0.1665458381175995, -0.445710688829422, 0.5466511249542236, -0.05282389000058174, 0.07346761971712112, -0.13313886523246765, 0.04358982667326927, 0.273438960313797, -0.5989676713943481, 0.892540454864502, -0.06860492378473282, -0.4533754289150238, 0.13901041448116302, -0.0736960917711258, 0.3712368607521057, -0.03501363843679428, 0.26913386583328247, 0.25885701179504395, -0.1078445315361023, -0.3041435182094574, -0.555838406085968, 0.613798201084137, -0.5364705920219421, -0.5871798992156982, -0.0056856488808989525, -0.5263134241104126, -0.14358989894390106, 0.027023285627365112, 0.2825838029384613, 0.8487878441810608, -0.0014457999495789409, 0.4037262499332428, 0.890480101108551, -0.2744723856449127, 0.3037041425704956, 0.27768945693969727, -0.13247336447238922, -0.30608808994293213, 1.0847113132476807, -0.15895086526870728, 0.4651666581630707, 0.34020328521728516, 0.3084966540336609, -0.04921753332018852, -0.9095175862312317, -0.3363111615180969, -0.24881641566753387, -0.9487254023551941, -0.30666810274124146, -0.22401803731918335, -0.25686734914779663, 0.029229333624243736, -0.37982338666915894, -0.34204789996147156, -0.2880961298942566, -0.3341643810272217, 0.16406145691871643, 0.31153741478919983, 0.6517017483711243, 0.14036943018436432, 0.37148603796958923, -0.7649203538894653, 0.5069818496704102, 0.5747342109680176, 0.668864905834198, 0.08419991284608841, -0.7587490081787109, -0.33348268270492554, 0.06242280453443527, -0.3051105737686157, -0.1981281042098999, 0.030755722895264626, 0.5697193741798401, 0.4398523271083832, 0.7845219373703003, -0.36445480585098267, 1.3884731531143188, -0.627251923084259, 0.7921944260597229, 0.31529346108436584, -0.9326590299606323, 0.7356328964233398, -0.05999130755662918, 0.3590080142021179, 0.49532803893089294, -0.3079162836074829, -0.11185163259506226, -0.40925878286361694, -0.4414648115634918, -0.7577021718025208, 0.5803707838058472, 0.09756290912628174, 0.1011023223400116, 0.060127388685941696, 0.3154710531234741, 0.3292907178401947, 0.05556333437561989, -0.6116346716880798, 0.09911923855543137, -0.15594780445098877, -0.057757653295993805, 0.05018726363778114, -0.17344720661640167, 0.05685519427061081, -0.5221957564353943, 0.48710864782333374, -0.37708839774131775, 0.04359735921025276, 0.28092697262763977, -0.10284756869077682, 0.07364080846309662, 0.35874035954475403, 0.6310158967971802, 0.5935408473014832, -0.21348923444747925, 0.4115605354309082, 0.1790395975112915, -0.6220396757125854, -0.2798236012458801, 0.0827828049659729, -0.19402404129505157, -0.16961455345153809, 0.6714975833892822, 1.0950703620910645, 0.008301351219415665, -0.6048641204833984, 0.5632694959640503, -0.25061503052711487, -0.2993629574775696, 0.10511959344148636, 0.29442474246025085, -0.2958664000034332, 0.5313816070556641, 0.10321178287267685, 0.18714675307273865, 0.2561216354370117, -0.5743488073348999, 0.08458583056926727, 0.706578254699707, -0.5307664275169373, -0.14530184864997864, 0.2835802435874939, 0.13882403075695038, 0.07274016737937927, 0.20967620611190796, -0.26487329602241516, -0.2720479965209961, 0.612847626209259, 0.21160981059074402, 0.7480636835098267, 0.09160301834344864, 0.2244706153869629, 0.15162383019924164, 0.23424793779850006, -0.13539667427539825, 0.15643608570098877, -0.1700347363948822, -0.6523148417472839, -0.2626612186431885, -0.8860136270523071, -0.07509816437959671, 0.36389991641044617, -0.7039975523948669, 0.2537904381752014, -0.4031609296798706, -0.052248239517211914, 0.2807290852069855, -0.039708420634269714, -0.8103085160255432, 0.3851134181022644, 0.6757892966270447, 0.9462286233901978, -0.6751259565353394, 0.5916506052017212, 0.8519554138183594, -0.46913260221481323, -0.6846520900726318, 0.12918713688850403, -0.3110933303833008, -0.99222731590271, 0.7516449689865112, 0.4140022397041321, -0.2771400511264801, -0.29799121618270874, -0.8248690366744995, -0.5360118746757507, 1.1621776819229126, 0.11033206433057785, -0.5704778432846069, 0.055130843073129654, 0.05155515670776367, 0.580051839351654, -0.37077122926712036, 0.07366625964641571, 0.6820751428604126, 0.48873406648635864, 0.336171954870224, -1.0770750045776367, -0.23321321606636047, -0.06279299408197403, 0.2298520803451538, 0.15619967877864838, -0.641380786895752, 0.753119170665741, -0.3977874517440796, -0.007854393683373928, 0.22054682672023773, 0.4686121344566345, 0.03672650456428528, 0.7579699158668518, 0.2564733624458313, 0.6666611433029175, 0.7851828336715698, -0.3648401200771332, 0.9940038323402405, 0.12195613235235214, 0.37348583340644836, 1.0003952980041504, -0.042985618114471436, 0.8976001143455505, 0.5367419123649597, -0.10805311799049377, 0.14456495642662048, 0.7359805703163147, -0.21287401020526886, 0.617080807685852, 0.10915075242519379, 0.07594966888427734, -0.6204463839530945, -0.44478100538253784, -0.4003543555736542, 0.7523489594459534, 0.5693597793579102, -0.3652188777923584, -0.2973294258117676, 0.12461495399475098, -0.3727477490901947, -0.14628085494041443, -1.0692014694213867, 0.8803317546844482, 0.12790058553218842, -0.21794643998146057, 0.9749739766120911, -0.18003493547439575, 0.633707582950592, -0.4444926977157593, -0.007663872558623552, -0.2573413550853729, 0.4658568799495697, -0.356258749961853, -1.0694791078567505, 0.051391780376434326, 0.041304443031549454, -0.10563194006681442, 0.08726054430007935, 0.8822197318077087, -0.3680156171321869, -0.5311107039451599, -0.1335153430700302, 0.39250895380973816, 0.27042052149772644, -0.040831368416547775, -0.6205011010169983, 0.2725551724433899, -0.12057826668024063, 0.07872530072927475, 0.18490993976593018, 0.9735647439956665, -0.3465791940689087, 0.6970958113670349, 0.15824787318706512, -0.002760239178314805, 0.01301930658519268, 0.36598142981529236, 0.7891282439231873, -0.6172047853469849, -0.15350264310836792, -0.8401908278465271, 0.3899284303188324, -0.06952454894781113, -0.27977055311203003, 0.545449435710907, 0.36814451217651367, 0.956085205078125, -0.2606663703918457, 0.45951932668685913, -0.05781061574816704, -0.3261171579360962, -0.7867221832275391, 0.29389074444770813, -0.9807029962539673, 0.19044773280620575, -0.37341997027397156, -0.7057132124900818, -0.34323543310165405, 0.6350693106651306, -0.27083343267440796, -0.12669184803962708, 0.7193310260772705, 0.5788027048110962, -0.39693161845207214, -0.33351612091064453, 0.6625577211380005, 0.24795643985271454, 0.1382562518119812, 0.5748680830001831, 1.1577422618865967, -0.3172559440135956, 0.533919095993042, -0.1947130560874939, -0.017614824697375298, -0.29352089762687683, -0.7524304986000061, -1.040494680404663, -0.31454768776893616, -0.41659146547317505, 0.05004695802927017, 0.0719604343175888, 0.5047528743743896, 0.5990439653396606, -0.5515193343162537, 0.23446089029312134, -0.21983517706394196, -0.08584444969892502, -0.045004718005657196, -0.19484342634677887, 0.34503883123397827, -0.4619874060153961, -0.5760663747787476, -0.01701122336089611, 0.5735072493553162, 0.18917642533779144, -0.2665434777736664, -0.1868501901626587, 0.33758315443992615, -0.0637628436088562, 0.9929036498069763, -0.0009308158187195659, -1.2809280157089233, -0.4522136449813843, -0.3026469647884369, -0.11684609949588776, 0.2879202365875244, 0.519225001335144, -0.6799870729446411, 0.47491365671157837, 0.4426655173301697, 0.5826106071472168, 0.1078263372182846, 0.05254693701863289, 0.12042637914419174, -0.7763690948486328, 0.19061094522476196, -0.09549643844366074, 0.48873621225357056, 0.39262983202934265, -0.16173602640628815, 0.4324542284011841, 0.03305087611079216, -0.3606412708759308, -0.6879843473434448, 0.38880833983421326, -1.175233244895935, -0.29948678612709045, 1.3066223859786987, -0.07561669498682022, -0.3579164743423462, 0.22073784470558167, -0.4827273488044739, -0.05977565795183182, -0.3093082010746002, 0.5316135287284851, 0.6045904159545898, -0.010976806282997131, -0.2987767457962036, -0.6717228889465332, 0.4302566349506378, 0.00035079914960078895, -0.9147521257400513, 0.33285874128341675, 0.751532793045044, 0.13368931412696838, -0.012739344500005245, 0.3169017434120178, -0.05077763646841049, 0.4123002886772156, 0.009312177076935768, -0.04182365909218788, -0.25491735339164734, -0.4758125841617584, -0.4702915549278259, -0.0019837748259305954, 0.27144020795822144, -0.28189244866371155 ]
http://arxiv.org/abs/2403.04771v1
http://arxiv.org/pdf/2403.04771v1
QASE Enhanced PLMs: Improved Control in Text Generation for MRC
2024-02-26T05:34:16
2024-02-26T05:34:16
Lin Ai, Zheng Hui, Zizhou Liu, Julia Hirschberg
cs.CL
cs.CL
To address the challenges of out-of-control generation in generative models for machine reading comprehension (MRC), we introduce the Question-Attended Span Extraction (QASE) module. Integrated during the fine-tuning of pre-trained generative language models (PLMs), QASE enables these PLMs to match SOTA extractive methods and outperform leading LLMs like GPT-4 in MRC tasks, without significant increases in computational costs.
[ -0.5633770823478699, -0.7495158910751343, 0.5169800519943237, -0.11603126674890518, -0.1611059010028839, 0.2939120829105377, 0.2895190715789795, -0.33708834648132324, 0.03498386591672897, 0.7746658325195312, -0.9317650198936462, -0.19504794478416443, -0.5323342084884644, 0.6263371109962463, -0.4426877796649933, 0.9703234434127808, -0.13598404824733734, -0.08116122335195541, -0.32720357179641724, 0.17793422937393188, -0.18219120800495148, -0.506841778755188, -0.6956314444541931, -0.08001304417848587, 0.3461899757385254, 0.621764600276947, 0.6431405544281006, 0.39031094312667847, 0.69328773021698, 0.24148358404636383, -0.2518477737903595, 0.6026248931884766, -0.15488389134407043, 0.4335117042064667, -0.01540749054402113, -0.6701543927192688, -0.7184191942214966, 0.08831813186407089, 0.7468239665031433, 0.35903075337409973, -0.0919824168086052, 0.08940036594867706, 0.10866258293390274, 0.988609254360199, -0.5864241719245911, -0.2152920514345169, -0.363021582365036, 0.13301153481006622, -0.19657328724861145, -0.5592268705368042, -0.5445160865783691, -0.6904674768447876, 0.15535882115364075, -0.6908823847770691, 0.31976592540740967, 0.15754033625125885, 1.1398394107818604, 0.3285321295261383, -0.42394644021987915, -0.44160670042037964, -0.38269945979118347, 0.7032560706138611, -0.5094702839851379, 0.37458500266075134, 0.741287112236023, 0.25692218542099, -0.3130771517753601, -1.2469947338104248, -0.8546640872955322, -0.06049507483839989, 0.02230505831539631, 0.5216403007507324, 0.08713584393262863, 0.2942504286766052, 0.2847464978694916, 0.6235548257827759, -0.7091212868690491, -0.1429838091135025, -0.4831412434577942, 0.07298989593982697, 0.40697339177131653, 0.3546135425567627, 0.4859696924686432, -0.42896491289138794, -0.29925692081451416, 0.024265091866254807, -0.9281566739082336, 0.058580562472343445, 0.32509666681289673, -0.16080620884895325, 0.33664965629577637, 0.8201732635498047, -0.2133854478597641, 0.6807877421379089, 0.05277537927031517, 0.013376262038946152, 0.04639454931020737, -0.5339460372924805, -0.3387303948402405, -0.3063662648200989, 0.4652286767959595, 0.06618605554103851, 0.15346677601337433, 0.05797497183084488, -0.24750107526779175, -0.2282920479774475, 0.2480396181344986, -0.777920126914978, -0.40375420451164246, 0.4600173532962799, -0.4495519995689392, -0.14988155663013458, 0.3756318986415863, -1.0008256435394287, -0.10659802705049515, -0.1325439214706421, 0.46186381578445435, -0.40974950790405273, -0.050013601779937744, 0.19971174001693726, -0.4439347982406616, 0.22944410145282745, 0.14620886743068695, -0.953962504863739, 0.3141055405139923, 0.41581010818481445, 0.8138749599456787, -0.34217438101768494, -0.06744962930679321, -0.7433708310127258, 0.2108689397573471, -0.20126043260097504, 0.9224824905395508, -0.43249475955963135, -0.4351522624492645, -0.13912540674209595, 0.08952517062425613, -0.4026067852973938, -0.886975109577179, 0.46305930614471436, -1.0743539333343506, 0.7817115187644958, -0.16182436048984528, -0.6886284351348877, -0.03334345296025276, -0.02126273140311241, -0.7052330374717712, 1.291558861732483, 0.4654771387577057, -0.7917219996452332, 0.20589368045330048, -0.8002606630325317, -0.5292227864265442, 0.22874711453914642, 0.08018650114536285, -0.713469922542572, -0.07496242970228195, 0.4972154498100281, 0.2692275941371918, -0.17608360946178436, 0.11315827816724777, -0.008715642616152763, -0.08713164925575256, 0.41963663697242737, -0.1911918818950653, 0.8926554918289185, 0.5836521983146667, -0.35163694620132446, 0.4701772928237915, -0.8910443186759949, 0.4306280016899109, 0.028121059760451317, -0.7821569442749023, -0.05037122592329979, 0.0684586837887764, -0.24714241921901703, 0.45405876636505127, 0.2051355540752411, -0.26707252860069275, 0.1907910257577896, -0.45457756519317627, 0.6814531087875366, 0.6030734777450562, 0.4278551936149597, 0.36284640431404114, -0.3529837429523468, 0.9968939423561096, -0.34557855129241943, 0.12394171208143234, -0.2618410885334015, -0.5001608729362488, -0.9538528919219971, -0.6695868968963623, 0.3883872926235199, 0.7548668384552002, -1.089012622833252, 0.5570952296257019, 0.21257707476615906, -0.057550590485334396, -0.8587216734886169, 0.016771653667092323, 0.27597931027412415, 0.3874828815460205, 0.6261460185050964, -0.21514318883419037, -0.5219927430152893, -0.5655022263526917, -0.10040993243455887, 0.025458691641688347, -0.33053523302078247, 0.04758220538496971, 0.4326200485229492, 0.0902794823050499, 0.9625568389892578, -0.58250892162323, -0.16297286748886108, -0.7149199843406677, 0.16540312767028809, -0.11419236660003662, 0.42202380299568176, 0.04775257781147957, -0.8959735035896301, -0.6262443661689758, -0.25667500495910645, -0.5081567764282227, -0.556886613368988, -0.2568502724170685, -0.2418561726808548, 0.1263730525970459, 0.7880232334136963, -0.6086591482162476, 0.27360156178474426, 0.5016719102859497, -0.4593445658683777, 0.7066335678100586, -0.263197660446167, 0.34762972593307495, -1.1693118810653687, 0.08517690002918243, -0.2986909747123718, -0.3683672249317169, -0.5201048851013184, 0.3719698190689087, 0.38123977184295654, -0.026410304009914398, -0.31557348370552063, 0.019340194761753082, -0.6255714893341064, -0.1908302754163742, -0.2680317163467407, 0.33701154589653015, 0.5519982576370239, 0.23528343439102173, -0.005712773185223341, 1.4307368993759155, 0.2722514867782593, -0.693670392036438, 0.03432362526655197, 0.6637769937515259, -0.4248102307319641, 0.24303704500198364, -0.637732982635498, 0.2429729849100113, -0.20487341284751892, -0.0271115992218256, -1.0051584243774414, -0.2168479710817337, 0.0861399918794632, -0.47817736864089966, 0.36548304557800293, 0.29519832134246826, -0.42196211218833923, -0.4266969859600067, -0.2674570381641388, -0.12021911889314651, 0.6273961663246155, -0.6714226007461548, 0.541103184223175, 0.18030717968940735, -0.6412262916564941, -0.09222277998924255, -0.7320377826690674, -0.1702636033296585, -0.20750828087329865, -0.3422848880290985, 0.2755650579929352, -0.22142961621284485, 0.007440584246069193, -0.37285569310188293, 0.047345273196697235, -0.15692123770713806, 0.18984392285346985, -0.12577715516090393, 0.18480058014392853, -0.3099922239780426, 0.09414991736412048, 0.5904284119606018, 0.0648016408085823, -0.04300671070814133, 0.01046966016292572, 0.7747258543968201, 0.20720162987709045, -0.08223965018987656, -0.7631363272666931, 0.6869229078292847, 0.5646562576293945, -0.7967589497566223, 0.6531782150268555, 0.15861067175865173, 0.12222851067781448, -0.2266533076763153, -0.2395658791065216, -0.27227845788002014, -0.5671542286872864, 0.4478227198123932, -0.7440094947814941, -1.14525306224823, 0.334022581577301, -0.2252737581729889, -0.111955925822258, 0.6036916375160217, 0.36135929822921753, -0.44139328598976135, 1.2494491338729858, 0.6727299094200134, 0.2524178624153137, 0.6215237975120544, -0.11625951528549194, -0.12677636742591858, -0.9026263356208801, -0.13373474776744843, -0.8090962767601013, 0.043641239404678345, -0.23078221082687378, -0.2705051004886627, 0.40281233191490173, 0.6076214909553528, -0.171411395072937, 0.17308759689331055, -0.3378872275352478, 0.33640310168266296, 0.7498860359191895, 0.13330091536045074, 0.5131105780601501, -0.04388992115855217, -0.2212628722190857, -0.1747901886701584, -0.7843003869056702, -0.7089895009994507, 0.9532796740531921, 0.4472157657146454, 0.2579435408115387, 0.1670321524143219, 0.5953109264373779, 0.2756750285625458, 0.16822011768817902, -0.5278435349464417, 0.5724294781684875, -0.07912766188383102, -0.7498957514762878, -0.26999789476394653, -0.4965467154979706, -0.7744019627571106, 0.20409592986106873, -0.1590539813041687, -0.40813148021698, 0.1818847805261612, 0.1367247849702835, -0.7314897775650024, 0.13396058976650238, -0.679919421672821, 0.8064329028129578, -0.03681746497750282, 0.0055663553066551685, -0.23111462593078613, -0.7945424914360046, 0.1375146359205246, -0.09689446538686752, -0.16228033602237701, 0.25448864698410034, -0.04423174262046814, 0.8058686852455139, -0.40130725502967834, 0.5686604380607605, 0.03701627999544144, -0.011194306425750256, 0.7586066722869873, 0.13079416751861572, 0.6143842339515686, -0.19430866837501526, 0.01992887444794178, -0.4525420665740967, 0.05383763089776039, -0.44716596603393555, -0.4614412188529968, 0.010507304221391678, -0.6478567719459534, -0.5302593111991882, -0.16972988843917847, -0.3586370050907135, -0.32500457763671875, 0.19158554077148438, 0.3513231575489044, 0.30512186884880066, 0.05651300400495529, 0.0003095838474109769, 0.9346831440925598, -0.44654321670532227, 0.4684658944606781, 0.602802038192749, -0.05291367322206497, -0.6390493512153625, 0.7641427516937256, -0.13523834943771362, 0.8039107918739319, 0.6428450345993042, 0.014818047173321247, -0.46720749139785767, -0.8361754417419434, -0.4500992000102997, -0.024058427661657333, -0.5908710956573486, -0.2511378526687622, -0.9044275283813477, -0.36436930298805237, -0.5565292239189148, 0.1208362802863121, -0.07056013494729996, -0.6050153970718384, -0.737567663192749, -0.39413905143737793, 0.3127202093601227, 0.7799690961837769, 0.11351002007722855, 0.844247579574585, -1.0697150230407715, 0.5622290372848511, 0.3261122703552246, 0.0124457823112607, -0.41465482115745544, -0.7580117583274841, -0.11833909153938293, -0.4101281464099884, -0.6375082731246948, -1.172970175743103, 0.6984398365020752, 0.49592575430870056, 0.3752910792827606, 0.40216079354286194, -0.019727464765310287, 0.562214195728302, -0.4317304790019989, 0.9153962731361389, -0.005081565584987402, -0.9852627515792847, 0.689296305179596, -0.10125000774860382, 0.26040926575660706, 0.5445936918258667, 0.5702783465385437, -0.24620582163333893, -0.6225952506065369, -0.4238058626651764, -0.7204530239105225, 0.4945771396160126, 0.029372232034802437, -0.3504447937011719, -0.22184334695339203, 0.5145346522331238, 0.25300949811935425, 0.29253634810447693, -0.6736575365066528, 0.06914950162172318, -0.1296677440404892, -0.46582508087158203, -0.008002938702702522, -0.6723737120628357, 0.26315608620643616, -0.15345318615436554, 0.6541225910186768, -0.04985576495528221, 0.12676702439785004, 0.6039741039276123, -0.20152641832828522, -0.3172544240951538, 0.36253276467323303, 0.7355830073356628, 0.5111398100852966, -0.18161480128765106, 0.26010969281196594, -0.06519778817892075, -0.66485196352005, -0.11786417663097382, 0.09039581567049026, -0.3902644217014313, -0.4055688679218292, 0.22460240125656128, 0.5673964023590088, -0.4998464584350586, -0.8776046633720398, 0.1893497109413147, 0.02180241420865059, -0.3545422852039337, -0.0018049542559310794, 0.1474790871143341, -0.1636820137500763, 0.41136932373046875, 0.3502217233181, -0.16716530919075012, 0.19251520931720734, -0.16393812000751495, 0.6393266916275024, 0.2473011463880539, -0.30140239000320435, -0.1821821630001068, 0.7783685922622681, 0.16215799748897552, 0.03126547858119011, 0.713821291923523, -0.32280582189559937, -0.8393168449401855, 0.4762020409107208, 0.7786516547203064, 0.7846514582633972, -0.339239239692688, 0.3021785616874695, 0.26323574781417847, 0.581107497215271, 0.004718507640063763, 0.7622919082641602, -0.01595265604555607, -0.684379518032074, -0.75919109582901, -0.5787094831466675, -0.2601260840892792, 0.11375855654478073, -0.7044509053230286, -0.0726737380027771, -0.27690353989601135, -0.02044108137488365, -0.3115406930446625, 0.21000346541404724, -0.0787353590130806, 0.3403829336166382, -0.23176708817481995, 0.9008275866508484, -0.8985884189605713, 1.1086487770080566, 0.5740228295326233, -0.6400854587554932, -0.818469762802124, 0.04078810662031174, -0.47638586163520813, -0.45170724391937256, 0.5818491578102112, -0.1802341639995575, 0.07721424847841263, 0.4564804136753082, -0.39166954159736633, -0.7439509630203247, 0.9957135319709778, -0.02211691252887249, -0.42586904764175415, 0.09020360559225082, 0.2122844159603119, 0.36250677704811096, -0.10538080334663391, 0.043455883860588074, 0.7754148244857788, 0.404920756816864, -0.2074718475341797, -0.718147337436676, -0.09539616852998734, -0.025745194405317307, -0.260867178440094, 0.2905144989490509, -0.4068489372730255, 0.8784900307655334, -0.1438288390636444, -0.3538057804107666, 0.4067896008491516, 1.0510417222976685, 0.3142130374908447, 0.2310977578163147, 0.18540538847446442, 0.6031031012535095, 0.8770923614501953, -0.005906476639211178, 1.1515793800354004, 0.07363065332174301, 0.03427043557167053, 1.1211293935775757, -0.2254209816455841, 1.0374314785003662, 0.6869726777076721, -0.4139731526374817, 0.34845396876335144, 0.8370298147201538, 0.23247407376766205, 0.7939092516899109, 0.005475613288581371, -0.44545552134513855, -0.22741331160068512, 0.20168067514896393, -0.27070051431655884, 0.1360451877117157, 0.40255865454673767, -0.4937187433242798, 0.17348644137382507, 0.10403311997652054, -0.20743528008460999, 0.2447073757648468, -0.3897668719291687, 0.9464258551597595, 0.03679496794939041, -0.8677282333374023, 0.620194673538208, 0.04581630229949951, 0.4237542450428009, -0.5902231335639954, -0.022989653050899506, -0.3991389572620392, 0.13557155430316925, -0.13618457317352295, -0.6931427717208862, 0.4374624788761139, -0.08986490964889526, -0.38360878825187683, -0.3442251980304718, 0.8222026824951172, -0.6060503125190735, -0.023203978314995766, -0.08285669982433319, 0.781833291053772, 0.130050390958786, -0.21790243685245514, -0.6127368807792664, -0.21106670796871185, 0.3168680667877197, -0.5117555856704712, 0.3583286702632904, 0.302642285823822, -0.010542280040681362, 0.7175836563110352, 0.4570748507976532, 0.17603260278701782, 0.5942396521568298, 0.052739161998033524, 0.8453262448310852, -0.7022865414619446, -0.5054528713226318, -0.6125658750534058, 0.4170580208301544, -0.04832812398672104, -0.433117151260376, 0.6367299556732178, 0.6035619974136353, 0.6202275156974792, -0.25105994939804077, 0.8313369750976562, -0.0937335267663002, 0.9107815623283386, -0.8296083807945251, 0.6785091161727905, -0.6667746901512146, 0.017774663865566254, -0.04382135719060898, -0.5935887694358826, -0.3094179034233093, 0.5488026738166809, -0.17229117453098297, -0.18079738318920135, 1.053503394126892, 0.7539080381393433, 0.20875750482082367, 0.31235623359680176, 0.3074701428413391, -0.0993073433637619, 0.3350389301776886, 0.43039369583129883, 1.1410363912582397, -0.32377177476882935, 0.4800399839878082, -0.06531062722206116, -0.3254222273826599, 0.1506470888853073, -0.6515389084815979, -1.0196934938430786, -0.553787887096405, -0.36488470435142517, -0.3504582941532135, 0.0951148197054863, 0.7199603915214539, 0.33342647552490234, -1.12175714969635, -0.03334597125649452, -0.4765154719352722, -0.011106764897704124, -0.32878822088241577, -0.33112719655036926, 0.6608530879020691, -0.619459867477417, -0.7482779026031494, 0.6237159967422485, 0.34254345297813416, 0.3437321186065674, -0.009668347425758839, 0.02611638605594635, -0.31457817554473877, 0.007543760351836681, 0.6646535992622375, 0.25634458661079407, -0.3332159221172333, 0.017438510432839394, 0.19315968453884125, -0.2339482456445694, 0.16700924932956696, 0.8961113691329956, -0.4786020517349243, 0.27313676476478577, 0.721250593662262, 0.7284051775932312, 0.40312477946281433, 0.2636193037033081, 0.6750385165214539, -0.7237004637718201, 0.03325490653514862, 0.3824531137943268, 0.14369407296180725, 0.06317956000566483, -0.26833590865135193, 0.24902956187725067, 0.21225790679454803, -0.6509276628494263, -0.6463416814804077, 0.40300968289375305, -0.8222365975379944, -0.48787692189216614, 0.9364574551582336, -0.2918040156364441, -0.19439581036567688, -0.2926916778087616, -0.5354716777801514, 0.3190058767795563, -0.018116123974323273, 0.7085285782814026, 0.44300130009651184, -0.24986915290355682, -0.6250495314598083, -0.8976866602897644, 0.8482417464256287, 0.8377819061279297, -1.187727928161621, -0.07902510464191437, 0.4505847692489624, 0.040018435567617416, -0.25938060879707336, 0.6849525570869446, -0.42539122700691223, 0.2128848135471344, -0.34109559655189514, 0.2793619930744171, 0.0033477405086159706, -0.497389554977417, -0.2532837986946106, 0.6785812973976135, 0.23050440847873688, -0.3240770995616913 ]
http://arxiv.org/abs/2402.16313v1
http://arxiv.org/pdf/2402.16313v1
Chain-of-Discussion: A Multi-Model Framework for Complex Evidence-Based Question Answering
2024-02-26T05:31:34
2024-02-26T05:31:34
Mingxu Tao, Dongyan Zhao, Yansong Feng
cs.CL
cs.CL, cs.AI
Open-ended question answering requires models to find appropriate evidence to form well-reasoned, comprehensive and helpful answers. In practical applications, models also need to engage in extended discussions on potential scenarios closely relevant to the question. With augmentation of retrieval module, open-source Large Language Models (LLMs) can produce coherent answers often with different focuses, but are still sub-optimal in terms of reliable evidence selection and in-depth question analysis. In this paper, we propose a novel Chain-of-Discussion framework to leverage the synergy among multiple open-source LLMs aiming to provide \textbf{more correct} and \textbf{more comprehensive} answers for open-ended QA, although they are not strong enough individually. Our experiments show that discussions among multiple LLMs play a vital role in enhancing the quality of answers. We release our data and code at \url{https://github.com/kobayashikanna01/Chain-of-Discussion}.
[ -0.6744980812072754, -1.02003812789917, 0.9339067935943604, -0.11969208717346191, -0.23898544907569885, 0.129839226603508, -0.2748722732067108, -0.6395045518875122, 0.27349284291267395, 0.43409961462020874, -0.3320815861225128, -0.37921953201293945, -0.27963805198669434, -0.0046485052444040775, -0.38389521837234497, 0.8639506697654724, -0.18815554678440094, 0.5343454480171204, -0.21916751563549042, -0.5508288741111755, -0.3748844861984253, -0.5722541213035583, -0.37187156081199646, -0.2682136297225952, 0.8389537334442139, 0.32311826944351196, 0.7020283341407776, 0.18885253369808197, 0.5809828639030457, 0.2882218360900879, -0.10751093178987503, 0.2593304514884949, -0.4326254427433014, 0.4582594037055969, -0.7205424904823303, -0.4622969627380371, -0.651192307472229, -0.3373929560184479, 0.42175546288490295, 0.7398495078086853, -0.3704196512699127, 0.3059660494327545, -0.059996847063302994, 0.28598859906196594, -0.8442344665527344, -0.410684734582901, -0.79482102394104, -0.31374064087867737, 0.24883303046226501, -0.18443937599658966, -0.40418946743011475, -0.45954105257987976, 0.2736549973487854, -0.33897027373313904, -0.36676350235939026, -0.08444347232580185, 0.7068870663642883, -0.22097453474998474, -0.4662521481513977, -0.3323204219341278, -0.8668015003204346, 0.4216121435165405, -1.0825105905532837, 0.10065817087888718, -0.08273039758205414, 0.30005520582199097, -0.2694041132926941, -0.7523393630981445, -0.6941108703613281, 0.1218685507774353, 0.06959712505340576, 0.2637332081794739, -0.04955306276679039, 0.21270953118801117, -0.033179719001054764, 0.7093669176101685, -0.35433897376060486, 0.2004014402627945, -0.3548140227794647, 0.1318620890378952, 0.42962512373924255, 0.19991044700145721, 0.17156203091144562, 0.16152538359165192, -0.3017232120037079, 0.09840609133243561, -0.6064417362213135, -0.1116924062371254, 0.2581876516342163, 0.13975217938423157, 0.23094210028648376, 0.748340368270874, -0.4339791238307953, 0.8709536790847778, -0.09503757208585739, 0.060224734246730804, 0.05034717917442322, -0.6606667041778564, -0.20095360279083252, -0.18946997821331024, 0.7856186628341675, 0.3902629613876343, -0.12905330955982208, -0.0199857447296381, -0.05791570618748665, -0.2175779640674591, 0.19774557650089264, -0.8832222819328308, -0.006577692925930023, 0.5277858972549438, -0.6235296130180359, -0.13982607424259186, 0.4711111783981323, -0.8205643892288208, -0.050551097840070724, -0.15899917483329773, 0.5015221238136292, 0.17976076900959015, -0.5016818642616272, 0.42032676935195923, -0.21109648048877716, 0.013929751701653004, 0.48227834701538086, -0.21384233236312866, 0.5390075445175171, 0.5528250336647034, 0.6796771883964539, 0.1256401538848877, 0.043350327759981155, -0.6890007853507996, 0.27711132168769836, -0.29413098096847534, 0.7379145622253418, -0.6181766390800476, -0.07971574366092682, 0.11955589801073074, -0.10579047352075577, 0.1728900969028473, -0.410133957862854, 0.612113356590271, -0.8763698935508728, 0.7665155529975891, -0.3356098234653473, -0.6239267587661743, -0.2866206169128418, 0.7097428441047668, -0.7324504256248474, 0.6863987445831299, -0.25334876775741577, -0.7752537727355957, 0.0021454240195453167, -0.6396580934524536, -0.17654579877853394, -0.04384086653590202, -0.22832895815372467, -0.0870329961180687, 0.08596108853816986, 0.3383773863315582, 0.22842064499855042, -0.6192394495010376, 0.5010789036750793, -0.7512577772140503, -0.13680686056613922, 0.3844951391220093, -0.257820725440979, 0.37378618121147156, 0.3443193733692169, -0.02932722494006157, 0.5005882978439331, -0.6806347966194153, 0.2781868278980255, -0.15397782623767853, -0.405511736869812, -0.7727782130241394, -0.03571334853768349, -0.3729270398616791, 0.5038649439811707, 0.1982189267873764, -0.6989097595214844, 0.2667284905910492, -0.3467603027820587, 0.3618927001953125, 0.6181575059890747, 0.3051711916923523, 0.25582948327064514, -0.5769367218017578, 0.4471675753593445, 0.10441489517688751, 0.33678415417671204, -0.3888710141181946, -0.5255367755889893, -0.678381085395813, -0.045590728521347046, 0.17587706446647644, 0.254779577255249, -0.7054739594459534, 0.35005807876586914, -0.2136557251214981, -0.40164005756378174, -0.6266719698905945, -0.011599955148994923, 0.5324663519859314, 0.37973886728286743, 0.5475921034812927, -0.45424574613571167, -0.4817950427532196, -0.7485665082931519, -0.1001596674323082, -0.3494251072406769, -0.052136681973934174, 0.2138735055923462, 0.3571489751338959, 0.13545863330364227, 0.8916621804237366, -0.5394744277000427, 0.12457537651062012, -0.09394778311252594, -0.07136932015419006, 0.39395999908447266, 0.11173055320978165, 0.2117282599210739, -0.5984678268432617, -0.26311424374580383, 0.06304097920656204, -0.6732528209686279, 0.25097525119781494, 0.011449082754552364, -0.5214060544967651, -0.1498619168996811, 0.28560173511505127, -0.6938459873199463, 0.14478299021720886, 0.5372276306152344, -0.04437717795372009, 0.46677449345588684, -0.07101471722126007, 0.3178088068962097, -1.4899550676345825, 0.25934430956840515, -0.19691671431064606, -0.12059344351291656, -0.5467254519462585, 0.5894300937652588, -0.14024917781352997, 0.13793441653251648, -0.21014782786369324, 0.4554700553417206, -0.34482479095458984, 0.06630029529333115, -0.21609389781951904, 0.5544660091400146, 0.11694330722093582, 0.4483957290649414, 0.16915565729141235, 0.5968495607376099, 0.30697891116142273, -0.5450202226638794, 0.41680657863616943, 0.44521716237068176, -0.33803313970565796, 0.4953477084636688, -0.8606647253036499, 0.17208260297775269, 0.025134891271591187, 0.34008076786994934, -0.8911499381065369, -0.3285270631313324, 0.1814710944890976, -0.21497438848018646, -0.12372767180204391, -0.019459793344140053, -0.6767450571060181, -0.4584665596485138, -0.4944884777069092, 0.5258848667144775, 0.24962173402309418, -0.6751205921173096, 0.3865342438220978, 0.48660966753959656, -0.41738247871398926, -0.6878075003623962, -0.2378552258014679, 0.009836236014962196, 0.1206318661570549, -0.8494633436203003, 0.09759970009326935, -0.3729925751686096, -0.4015997350215912, 0.1444314569234848, -0.19616608321666718, -0.19299837946891785, -0.12378813326358795, -0.215488001704216, 0.2927643954753876, -0.5339917540550232, 0.5213789939880371, 0.08477045595645905, 0.3914906084537506, 0.12077809870243073, -0.3256341814994812, 0.6182436347007751, -0.1950894445180893, -0.6758736371994019, 0.04696207493543625, 0.6127365827560425, 0.6103748083114624, -0.40717098116874695, 0.5791052579879761, 0.12437903136014938, -0.31214749813079834, -0.06140611320734024, -0.7733484506607056, -0.4021552801132202, -0.4473782479763031, 0.3848534822463989, -0.3028433620929718, -1.3301289081573486, 0.7694835662841797, -0.12557795643806458, 0.2411939799785614, 0.2743171155452728, 0.8076221942901611, 0.07662827521562576, 0.9916355013847351, 0.27906081080436707, 0.13953888416290283, 0.16802223026752472, 0.2223314642906189, 0.3598652780056, -0.8560253381729126, -0.3234727084636688, -0.5646023154258728, -0.08043160289525986, -0.16468624770641327, -0.44945210218429565, 0.5074575543403625, 0.39364224672317505, -0.07025105506181717, -0.04182979092001915, -0.436529278755188, 0.37424424290657043, 0.38832297921180725, 0.32896238565444946, 0.6397340893745422, -0.19397477805614471, -0.25072047114372253, 0.51429682970047, -0.9108588099479675, -0.5048595666885376, 0.8969267010688782, 0.3651965260505676, 0.8553516268730164, 0.35053879022598267, 0.3260178565979004, -0.2497003972530365, 0.22755925357341766, -0.4432007372379303, 0.6148735284805298, 0.2576545178890228, -0.8936472535133362, -0.3008350431919098, -0.45212966203689575, -0.7955702543258667, 0.6340696811676025, -0.27550190687179565, -0.5608364343643188, 0.04204469546675682, -0.03748556599020958, -0.47886449098587036, 0.683160126209259, -0.17452087998390198, 0.7004427313804626, -0.18896153569221497, -0.5798262357711792, -0.502103328704834, -0.8851820826530457, 0.6946240067481995, 0.07217612862586975, 0.22907307744026184, 0.13596151769161224, 0.12327485531568527, 0.5705215930938721, -0.5599257946014404, 0.4959959387779236, 0.1030270978808403, -0.4434574246406555, 0.765823245048523, -0.13392673432826996, 0.3945893347263336, 0.19745326042175293, -0.07686574757099152, -0.19263513386249542, 0.07474283128976822, -0.2353370040655136, -0.7468017339706421, 0.7294573187828064, -0.5655773878097534, -0.7457279562950134, -0.21309204399585724, -0.38811230659484863, -0.2764776647090912, 0.10785383731126785, -0.24159711599349976, 0.5221055150032043, -0.24612867832183838, 0.17348656058311462, 0.718139111995697, -0.23419421911239624, 0.1519923210144043, 0.4294566810131073, -0.5140523314476013, -0.7443342804908752, 0.39878931641578674, -0.24640177190303802, 0.6046655774116516, 0.38539987802505493, 0.283222496509552, -0.1928093433380127, -0.568739116191864, -0.31125205755233765, 0.2594362497329712, -1.0277405977249146, -0.42441874742507935, -0.792946457862854, -0.20522430539131165, -0.27819007635116577, 0.2346320003271103, -0.10888664424419403, -0.6117327213287354, -0.06052552908658981, -0.33316728472709656, 0.4189258813858032, 0.7006381154060364, 0.13855543732643127, 0.14522728323936462, -1.1598249673843384, 0.3339044451713562, 0.41165250539779663, 0.5227287411689758, 0.33738192915916443, -0.13355623185634613, -0.24251149594783783, 0.26282376050949097, -0.42093566060066223, -0.8966644406318665, -0.10101237893104553, -0.10769406706094742, 0.7149505019187927, 0.27515605092048645, 0.2500254511833191, 0.9554803967475891, -0.23092862963676453, 0.9195001721382141, 0.5722862482070923, -0.7474470734596252, 0.506912887096405, -0.3883630931377411, 0.30176886916160583, 0.6602088809013367, 0.5022364258766174, -0.5499656796455383, -0.7119669318199158, -0.3826768100261688, -0.890438973903656, 0.4038766324520111, 0.034196898341178894, -0.09504752606153488, -0.1463731974363327, 0.22132548689842224, 0.3229568898677826, 0.42274126410484314, -0.6888759732246399, 0.04315108433365822, 0.22192703187465668, -0.12194658070802689, 0.43491414189338684, -0.3474176824092865, -0.4519582986831665, -0.18431256711483002, 0.732835054397583, -0.23226848244667053, 0.0436093807220459, 0.453582227230072, -0.025761475786566734, -0.36443042755126953, 0.7072505354881287, 0.49110159277915955, 0.9274500608444214, -0.12272097170352936, 0.24113838374614716, 0.17305432260036469, -0.04660014435648918, 0.09469395130872726, -0.11898592114448547, -0.01362419780343771, -0.06438777595758438, 0.38872525095939636, 0.6367982029914856, 0.08098442107439041, -0.7451820969581604, 0.487673819065094, -0.140940323472023, -0.31845593452453613, -0.040533263236284256, 0.008023841306567192, 0.18375511467456818, 0.3920430541038513, 0.35046637058258057, 0.056643303483724594, 0.2628954350948334, -0.8411179184913635, 0.38990238308906555, 0.5276698470115662, -0.45105305314064026, -0.11181408166885376, 0.4576292037963867, 0.4195236265659332, -0.09947420656681061, 0.5949953198432922, 0.08848154544830322, -0.55284184217453, 0.3963925838470459, 0.2594897747039795, 0.6264962553977966, -0.10659750550985336, 0.12423313409090042, 0.4731338620185852, 0.11606306582689285, -0.29365238547325134, 0.7584431767463684, 0.05216265469789505, -0.5737529993057251, -0.8161841034889221, -0.38698121905326843, -0.5923683047294617, 0.05423068627715111, -0.7759057283401489, 0.3444140553474426, -0.3265935480594635, -0.1665043830871582, -0.3308553099632263, -0.15858161449432373, -0.18382062017917633, -0.07116426527500153, -0.06429768353700638, 0.9923872947692871, -0.4640631675720215, 0.7575400471687317, 0.6852328777313232, -0.7639922499656677, -0.7048861980438232, -0.053781576454639435, -0.5431338548660278, -0.1568686068058014, 0.234114870429039, -0.0346943698823452, -0.22280487418174744, -0.290865421295166, -0.648865282535553, -0.8184204697608948, 1.13321852684021, 0.35914120078086853, -0.6695556044578552, -0.1461227983236313, -0.04094589874148369, 0.7590957283973694, -0.5368285775184631, 0.7769325971603394, -0.12886004149913788, 0.3891274631023407, 0.4316661059856415, -1.1748205423355103, 0.27578574419021606, -0.3473059833049774, -0.2813773453235626, 0.18772529065608978, -0.7416383028030396, 0.8321074843406677, -0.3820529878139496, -0.023869534954428673, 0.5349277853965759, 0.7263339161872864, 0.4539388418197632, 0.4103590250015259, 0.4188709557056427, 0.4379996061325073, 0.6232999563217163, 0.20411783456802368, 0.7530180215835571, -0.3812243938446045, 0.3062978982925415, 1.5545918941497803, -0.5319584608078003, 1.0367622375488281, 0.6229529976844788, -0.10265379399061203, 0.8107531666755676, 0.616151750087738, 0.22393451631069183, 0.33264487981796265, 0.44945183396339417, -0.2038416862487793, -0.4474378526210785, -0.16527368128299713, -0.49574190378189087, -0.10448398441076279, 0.1272679567337036, -0.2634190320968628, -0.25356486439704895, -0.13949579000473022, -0.16670392453670502, 0.2684095799922943, -0.25424763560295105, 0.8858059048652649, 0.09733332693576813, -0.9689335823059082, 0.37012624740600586, -0.0027229697443544865, 0.5131034851074219, -0.7301766872406006, -0.2676037549972534, -0.02777884341776371, 0.12032555043697357, -0.2005101591348648, -0.9192466139793396, 0.06335438787937164, -0.16731439530849457, -0.1685793399810791, 0.08073174953460693, 0.6981219053268433, -0.8304991722106934, -0.19460375607013702, 0.4890702962875366, 0.8152952790260315, -0.09441135078668594, 0.0343051441013813, -0.4607781171798706, -0.03269854933023453, -0.42693236470222473, -0.20272302627563477, 0.2866491377353668, 0.4889909625053406, -0.1101454421877861, 0.5893117189407349, 0.7736414670944214, -0.1094333752989769, 0.20224355161190033, 0.13623645901679993, 1.348572850227356, -0.2557193338871002, -0.47667551040649414, -0.7251659035682678, 0.6220411658287048, -0.4681515395641327, -0.06125946715474129, 0.7436457872390747, 0.6521320343017578, 0.9165492057800293, 0.058874569833278656, 0.7620867490768433, 0.017627529799938202, 0.5232943892478943, -0.5667380094528198, 0.40728941559791565, -0.6373791694641113, 0.34315255284309387, -0.41718629002571106, -0.9081138372421265, -0.23813998699188232, 0.44138020277023315, -0.0016649068566039205, -0.02918984927237034, 0.9171984195709229, 0.4941631257534027, -0.19644470512866974, 0.35608434677124023, 0.16366983950138092, 0.3379829525947571, 0.4807891249656677, 0.626399576663971, 1.175683617591858, -0.4941360354423523, 0.6639280319213867, 0.038361094892024994, -0.11474882066249847, -0.02273903414607048, -0.6991846561431885, -0.8437264561653137, -0.4361479580402374, -0.3421609401702881, -0.4511791169643402, 0.2623874247074127, 1.0734574794769287, 0.5305415987968445, -0.6773408651351929, -0.5167784690856934, -0.11822061240673065, 0.29671740531921387, -0.23516595363616943, -0.15575675666332245, 0.15165752172470093, -0.19199509918689728, -0.3983302414417267, 0.26977303624153137, 0.21601037681102753, -0.35122883319854736, -0.4288196563720703, -0.1912558376789093, -0.7625949382781982, 0.1682765781879425, 0.741733968257904, 0.057223837822675705, -0.7746977806091309, -0.3191488981246948, 0.1254000961780548, 0.10643433779478073, 0.14082835614681244, 1.0784120559692383, -0.5682429075241089, 0.5292697548866272, 0.7612286806106567, 0.7104213237762451, 0.37567463517189026, 0.13849911093711853, 0.8480690717697144, -0.4294585883617401, -0.1784186214208603, 0.29862743616104126, 0.3528652787208557, -0.00874347984790802, -0.1423063725233078, 0.50971919298172, -0.01874348521232605, -0.6389874219894409, -0.9523932337760925, 0.4800776243209839, -0.9824376106262207, -0.6230939626693726, 1.146951675415039, -0.36822864413261414, 0.05940704047679901, -0.15180474519729614, -0.33998802304267883, 0.15978960692882538, -0.43960434198379517, 0.5327472686767578, 0.8755228519439697, -0.013390598818659782, -0.21634434163570404, -0.17982642352581024, -0.1407504677772522, 0.2826549708843231, -1.0850814580917358, 0.1070309653878212, 0.6603038907051086, 0.08481460809707642, 0.32883206009864807, 0.6410505771636963, -0.3008551597595215, 0.07093653082847595, -0.419339120388031, -0.10760325938463211, 0.07776062190532684, -0.43772172927856445, -0.27576500177383423, 0.668219268321991, 0.2791615128517151, 0.00981143955141306 ]
http://arxiv.org/abs/2402.16311v3
http://arxiv.org/pdf/2402.16311v3
Cross-domain Chinese Sentence Pattern Parsing
2024-02-26T05:30:48
2024-04-08T03:22:41
Jingsi Yu, Cunliang Kong, Liner Yang, Meishan Zhang, Lin Zhu, Yujie Wang, Haozhe Lin, Maosong Sun, Erhong Yang
cs.CL
cs.CL, cs.AI
Sentence Pattern Structure (SPS) parsing is a syntactic analysis method primarily employed in language teaching.Existing SPS parsers rely heavily on textbook corpora for training, lacking cross-domain capability.To overcome this constraint, this paper proposes an innovative approach leveraging large language models (LLMs) within a self-training framework. Partial syntactic rules from a source domain are combined with target domain sentences to dynamically generate training data, enhancing the adaptability of the parser to diverse domains.Experiments conducted on textbook and news domains demonstrate the effectiveness of the proposed method, outperforming rule-based baselines by 1.68 points on F1 metrics.
[ 0.20089741051197052, -0.7183904051780701, 0.5777835845947266, 0.46945032477378845, -0.4045392870903015, -0.09507454186677933, -0.13713298738002777, -0.2005072385072708, 0.06449337303638458, 0.4529709219932556, -0.5692881941795349, -0.48446598649024963, -0.3872077763080597, 0.326960027217865, -0.46593397855758667, 0.8137331604957581, -0.010099900886416435, 0.4391539394855499, -0.06904900074005127, 0.1804683655500412, -0.3366970717906952, -0.7775067090988159, -0.6345419883728027, -0.015942823141813278, 0.3176345229148865, 0.4233466386795044, 0.3683209717273712, 0.8114562034606934, 0.26055026054382324, 0.25163155794143677, -0.02910824865102768, 0.4002391993999481, -0.16762864589691162, 0.09520761668682098, -0.502720832824707, -0.4034363031387329, -0.2783247232437134, -0.06930115073919296, 0.8041101694107056, 0.8810964226722717, -0.07144754379987717, -0.05898687615990639, 0.1511789858341217, 0.4737808406352997, -0.25077560544013977, 0.025946617126464844, -0.6727179884910583, 0.4554443359375, -0.29159319400787354, -0.5863624215126038, -0.7623199820518494, -0.08658754080533981, 0.19496965408325195, -0.5633893013000488, 0.44471320509910583, 0.020071275532245636, 0.7708849906921387, -0.19515784084796906, -0.48218151926994324, -0.40273967385292053, -0.32144293189048767, 0.7815260887145996, -0.7240387797355652, 0.5046137571334839, 0.06799936294555664, 0.23710164427757263, -0.28401029109954834, -0.9146594405174255, -0.38957148790359497, -0.11789628118276596, -0.30513763427734375, -0.18347753584384918, 0.25862863659858704, -0.19697874784469604, 0.11918655782938004, 0.5633400678634644, -0.7163763046264648, -0.20006349682807922, -0.1933646947145462, -0.012490187771618366, 0.7917437553405762, 0.3105790615081787, 0.6735380291938782, -0.3705013692378998, -0.7104955315589905, 0.11925176531076431, -0.8609434962272644, 0.32042306661605835, 0.07519348710775375, 0.8953394293785095, -0.15169917047023773, 0.5140432715415955, -0.07749057561159134, 0.8290267586708069, 0.20962035655975342, -0.2217400074005127, 0.08578290790319443, -0.3290136754512787, -0.5077632665634155, -0.024340881034731865, 0.5161187648773193, 0.11854865401983261, 0.30120640993118286, -0.23619511723518372, -0.21973910927772522, -0.06158881261944771, 0.1488589197397232, -0.6525081396102905, -0.15221698582172394, -0.004430445376783609, -0.622652530670166, -0.14781454205513, -0.04170771688222885, -0.638528048992157, -0.1268955022096634, -0.4693658947944641, 0.03803275525569916, -0.6830730438232422, -0.06192329525947571, 0.37827134132385254, -0.1050010621547699, 0.24955813586711884, 0.3793374001979828, -1.018168568611145, 0.40749067068099976, 0.6086550951004028, 1.0275112390518188, -0.3631307780742645, -0.6858934164047241, -0.6967864036560059, 0.5268906950950623, -0.22505643963813782, 0.9100096821784973, -0.5646101236343384, -0.25477421283721924, 0.24448871612548828, 0.18490569293498993, -0.3292471766471863, -0.37113597989082336, 0.38115811347961426, -0.30747905373573303, 0.27636727690696716, -0.16774962842464447, -0.8566579818725586, 0.07293971627950668, 0.21633824706077576, -0.364398330450058, 1.1388189792633057, 0.2047625184059143, -0.5546274185180664, 0.2956783175468445, -0.4682069718837738, -0.8163104057312012, 0.2440626621246338, -0.40858787298202515, -0.2682151794433594, -0.15876078605651855, 0.17049483954906464, 0.8086152672767639, -0.031250834465026855, 0.5419771075248718, -0.20806361734867096, -0.18568550050258636, -0.06416293978691101, -0.12053543329238892, 1.0078184604644775, 0.34229305386543274, -0.23954877257347107, 0.24573452770709991, -0.9107473492622375, 0.09144365042448044, 0.3721546530723572, -0.37646016478538513, -0.4985959231853485, 0.04487309604883194, -0.1067572683095932, 0.44293656945228577, 0.16418002545833588, -0.4834907054901123, 0.4243777096271515, -0.3972010016441345, 0.4398542642593384, 0.6711528301239014, -0.08276671171188354, 0.3022945821285248, -0.13606421649456024, 0.4361824691295624, 0.2553471028804779, 0.009833840653300285, -0.41725239157676697, -0.27423277497291565, -0.8045915961265564, -0.37870141863822937, 0.02188144437968731, 0.45156538486480713, -0.8894103169441223, 0.6098379492759705, -0.13408681750297546, -0.41351377964019775, -0.10089332610368729, 0.25314125418663025, 0.26293376088142395, 0.1740918904542923, 0.47933733463287354, -0.13582682609558105, -0.6646535396575928, -0.6236691474914551, -0.7077594995498657, 0.18546687066555023, 0.18365667760372162, -0.22310224175453186, 0.29305121302604675, 0.11149187386035919, 0.8969070315361023, -0.47043946385383606, -0.36585092544555664, -0.8407467603683472, -0.21410660445690155, -0.03202512860298157, 0.48571541905403137, 0.613692581653595, -0.6880961060523987, -0.7203730344772339, -0.10393641144037247, -0.7220332622528076, -0.09119734913110733, -0.2760557234287262, -0.08897416293621063, 0.12116406857967377, 0.9015412926673889, -0.6329132914543152, 0.4060545861721039, 0.49705731868743896, -0.7052331566810608, 0.4731760621070862, -0.013682487420737743, -0.2699926197528839, -1.0525920391082764, -0.3043557107448578, 0.4244232177734375, -0.4698947072029114, -0.8701471090316772, 0.22041645646095276, 0.1297565996646881, -0.23690880835056305, -0.6509722471237183, 0.41803377866744995, -0.6987868547439575, -0.2943805754184723, -0.2967507839202881, 0.059482503682374954, 0.14200909435749054, 0.5597516894340515, 0.43821197748184204, 0.7563650012016296, 0.4562113285064697, -0.6128591895103455, 0.318483829498291, 0.20868244767189026, -0.29633432626724243, 0.19159086048603058, -0.46877896785736084, -0.11354228854179382, 0.12585479021072388, 0.3904968798160553, -0.9146814346313477, 0.11422967910766602, 0.3023739755153656, -0.059043947607278824, 0.08000785112380981, 0.019670184701681137, -0.36231350898742676, -0.14086565375328064, -0.24740777909755707, 0.353810578584671, -0.07382494956254959, -0.7630981206893921, 0.6977517604827881, 0.12573844194412231, -0.2296561449766159, -0.3742504417896271, -0.6712722778320312, 0.18785832822322845, -0.12249498814344406, -0.7925584316253662, 0.4298379421234131, -0.03605600818991661, -0.09677287191152573, -0.12390024214982986, -0.028826072812080383, 0.026165716350078583, -0.02714608982205391, -0.003813708433881402, 0.19145679473876953, -0.603853166103363, -0.08529378473758698, 0.005513309966772795, 0.17930299043655396, 0.00400268891826272, -0.3010202646255493, 0.7998753786087036, 0.049676313996315, -0.26182374358177185, -0.6691028475761414, 0.5237929224967957, 0.19582125544548035, -0.31947314739227295, 0.525250256061554, -0.12172742187976837, -0.22276467084884644, -1.073486328125, -0.07422219961881638, 0.11623857170343399, -0.5771228671073914, 0.27181535959243774, -0.6728217005729675, -0.7930532097816467, 0.12332285195589066, -0.14089854061603546, -0.12507200241088867, 0.36272329092025757, 0.6047219634056091, 0.2182527780532837, 0.5656675696372986, 0.8795391321182251, -0.014091776683926582, 0.5939743518829346, 0.11137012392282486, 0.45081642270088196, -0.27538418769836426, -0.18851809203624725, -0.30812591314315796, 0.2512766718864441, -0.21581503748893738, -0.4383106529712677, -0.1534678190946579, -0.1488926261663437, -0.32886403799057007, 0.5383139252662659, -0.3916628956794739, 0.45788097381591797, 0.5703344345092773, 0.06928782910108566, 0.3211301267147064, 0.3071031868457794, -0.12673811614513397, 0.02852397970855236, -0.8025823831558228, -0.520024836063385, 0.6819963455200195, 0.518186092376709, 0.6679961085319519, -0.12049499899148941, 0.5295788049697876, 0.45862963795661926, -0.14979815483093262, -0.7992939949035645, 0.9005287885665894, -0.6723645329475403, -0.250131756067276, -0.5563115477561951, -0.3756793141365051, -0.6737440228462219, 0.6009464859962463, 0.21513038873672485, -0.3685641586780548, 0.1112423688173294, -0.25429028272628784, -0.3492058217525482, 0.4033019542694092, -0.6769879460334778, 0.9502366781234741, -0.3323418200016022, -0.07309716194868088, 0.21863435208797455, -0.6404051184654236, 0.23359930515289307, 0.06416437774896622, 0.15305641293525696, 0.06104746460914612, 0.24498659372329712, 0.6373972296714783, -0.5233580470085144, 1.2175275087356567, -0.06631691008806229, -0.48890742659568787, 0.4282680153846741, 0.2234194129705429, 0.379408597946167, -0.22315165400505066, -0.009549422189593315, 0.1632743626832962, 0.01031306479126215, -0.4327617883682251, -0.5718541741371155, 0.3534151315689087, -0.7300168871879578, -0.6934665441513062, -0.6770355701446533, -0.6244428753852844, -0.3006804585456848, 0.2533078193664551, -0.016810234636068344, 0.3269859552383423, 0.008025797083973885, -0.16142559051513672, 0.3684988021850586, -0.227300226688385, 0.4226274788379669, 0.7481286525726318, 0.014902300201356411, -0.1858348846435547, 0.8353312015533447, 0.03910506144165993, 0.34173583984375, 0.44733598828315735, 0.13973726332187653, 0.055159442126750946, -0.5921269655227661, -0.4220900237560272, 0.3653670847415924, -0.8571213483810425, -0.1867399960756302, -0.6679063439369202, -0.7327101230621338, -0.9035292267799377, -0.2229786366224289, -0.16775551438331604, -0.38102075457572937, -0.21294322609901428, -0.21204593777656555, -0.030900994315743446, 0.8323386311531067, 0.1510680466890335, 0.5849918723106384, -0.7878045439720154, 0.3785741925239563, 0.07166517525911331, 0.3210529386997223, -0.14491678774356842, -0.7441681623458862, -0.30073681473731995, -0.1885327398777008, -0.2572740614414215, -0.7085781097412109, 0.667671799659729, 0.23263424634933472, 0.5792083144187927, 0.3546018600463867, -0.11322843283414841, 0.8436896800994873, -0.9151351451873779, 1.0770617723464966, 0.23057034611701965, -1.324276328086853, 0.7689042687416077, -0.3105345666408539, -0.10889343917369843, 0.138218954205513, 0.3735728859901428, -0.7348980903625488, -0.4499516785144806, -0.3809104561805725, -0.668991208076477, 1.01868736743927, -0.048131655901670456, 0.06790703535079956, -0.02053375542163849, 0.5507810711860657, 0.2482711672782898, -0.11202434450387955, -1.1303669214248657, -0.24199077486991882, -0.3270362615585327, -0.467465341091156, 0.008005611598491669, -0.32777512073516846, -0.04688981920480728, -0.30183088779449463, 0.775908350944519, -0.19170264899730682, -0.0008133069495670497, 0.21390627324581146, -0.22053225338459015, -0.31732845306396484, 0.038735754787921906, 0.4754931628704071, 0.6306449174880981, 0.13924311101436615, 0.21047261357307434, -0.0264760609716177, -0.43915295600891113, 0.14757175743579865, -0.03535010293126106, -0.13019241392612457, 0.0788656547665596, 0.4906182885169983, 0.5283411145210266, -0.05934682488441467, -0.6270387172698975, 0.7517734169960022, -0.008575391955673695, -0.17256289720535278, -0.35258960723876953, 0.13054363429546356, -0.16218122839927673, 0.38504424691200256, 0.4397391974925995, -0.3353751599788666, -0.036082781851291656, -0.7868428826332092, 0.5842940807342529, 0.1433776468038559, 0.06628633290529251, -0.3513745069503784, 0.27253949642181396, 0.20882898569107056, -0.28693321347236633, 0.181051567196846, 0.06201311945915222, -0.6882449984550476, 0.5960381627082825, 1.0939773321151733, 0.6569647192955017, -0.47806698083877563, 0.2872619032859802, 0.1463838517665863, 0.14669565856456757, -0.25773775577545166, 0.27753302454948425, 0.1438041478395462, -0.8517913818359375, -0.4482380449771881, -0.5523598790168762, -0.3435498774051666, 0.18334054946899414, -0.49682897329330444, 0.6882624626159668, -0.6086002588272095, 0.46723583340644836, 0.07480137795209885, -0.04195931926369667, -0.2321675717830658, 0.7926585674285889, 0.3483979403972626, 1.180152416229248, -0.9470798373222351, 1.1945310831069946, 0.7492583394050598, -0.43910959362983704, -0.8900009989738464, 0.21105793118476868, -0.20784281194210052, -1.0949264764785767, 1.0984210968017578, 0.175461083650589, -0.11911672353744507, -0.3294689357280731, -0.6636878848075867, -0.9057692885398865, 0.8881900310516357, 0.24891327321529388, -0.5605716109275818, -0.4290788471698761, 0.6169179677963257, 0.45953962206840515, -0.8354354500770569, -0.26073360443115234, 0.4949447810649872, -0.04056357219815254, -0.13111382722854614, -0.6486691832542419, 0.4233056604862213, -0.37501952052116394, 0.016302090138196945, -0.11178220063447952, -1.0267621278762817, 1.1609904766082764, 0.17400473356246948, -0.27624276280403137, 0.14519102871418, 0.9871206879615784, 0.3861680328845978, 0.4058595597743988, 0.6246448755264282, 0.3906453251838684, 0.5729711055755615, 0.32739388942718506, 0.7498857378959656, -0.4785546362400055, 0.3303248882293701, 1.1657336950302124, -0.6036649346351624, 0.7527815699577332, 0.4071722626686096, -0.17404873669147491, 0.8245885968208313, 0.6796472668647766, -0.13045689463615417, 0.6109392642974854, 0.31283289194107056, -0.08472999930381775, -0.4667098820209503, 0.07578445971012115, -0.3779538869857788, 0.44175228476524353, 0.40925347805023193, -0.4749360680580139, -0.3892674148082733, -0.04443371295928955, -0.04945094883441925, 0.2839733064174652, -0.3329485356807709, 0.5252030491828918, 0.3287125527858734, -0.5146026611328125, 0.36599624156951904, 0.24765199422836304, 0.5527130961418152, -0.9031208157539368, -0.08038642257452011, -0.2348395735025406, 0.22860753536224365, -0.2644714117050171, -0.6548452377319336, 0.26187020540237427, 0.03569584712386131, -0.02579009346663952, -0.39575037360191345, 0.8071684837341309, -0.5591368675231934, -0.4595774710178375, 0.45831790566444397, 0.6219627857208252, 0.047164395451545715, 0.16347090899944305, -0.6263102889060974, -0.13573530316352844, 0.04315575957298279, -0.33313673734664917, 0.4647253155708313, 1.1039927005767822, -0.01796930655837059, 0.6251364350318909, 0.5894112586975098, 0.19746434688568115, 0.12440328299999237, 0.17960745096206665, 1.1013531684875488, -1.2199063301086426, -0.9268264174461365, -0.8755487203598022, 0.24221082031726837, -0.10990370810031891, -0.33741554617881775, 1.1362327337265015, 0.6371570229530334, 1.0575443506240845, -0.006727189756929874, 0.9795404076576233, 0.20842722058296204, 0.6727694869041443, -0.6063753962516785, 0.35123980045318604, -0.6070842146873474, 0.34909337759017944, -0.14496365189552307, -0.6365293264389038, -0.5029685497283936, 0.6776188611984253, -0.3640316128730774, -0.08905568718910217, 0.8956374526023865, 0.4780820906162262, -0.09516827017068863, 0.3878472149372101, 0.40855881571769714, 0.029193289577960968, 0.3115682005882263, 0.3821165859699249, 1.1359812021255493, -0.2426808774471283, 0.37127453088760376, -0.16219277679920197, -0.011595855467021465, -0.1558104157447815, -0.7387170791625977, -1.3334373235702515, -0.39359092712402344, -0.16308815777301788, -0.36131390929222107, 0.38653406500816345, 0.9949537515640259, 0.6051462888717651, -0.8882533311843872, -0.5248969197273254, -0.1780548095703125, -0.24834610521793365, -0.17056027054786682, -0.2902188003063202, 0.5957741737365723, -0.9445439577102661, -0.5635942220687866, 0.7319700717926025, 0.18823586404323578, 0.08686051517724991, -0.17012666165828705, 0.13355675339698792, -0.424235075712204, 0.21793416142463684, 0.9423398971557617, 0.01592116244137287, -0.5529686808586121, -0.3604823350906372, 0.05310114100575447, -0.46400585770606995, 0.1522357016801834, 1.3339992761611938, -0.40781837701797485, -0.18087933957576752, 0.27688708901405334, 0.7345880270004272, 0.11750935763120651, 0.11435455083847046, 0.6327123045921326, -0.8027834892272949, 0.24363508820533752, -0.015052209608256817, 0.6270408034324646, 0.39398643374443054, -0.7176381945610046, 0.5238783359527588, 0.6305750012397766, -0.30187520384788513, -0.8207286596298218, 0.18985873460769653, -1.0078920125961304, -0.8779418468475342, 1.4501668214797974, -0.4952348470687866, -0.3394632637500763, -0.14256006479263306, -0.1148478090763092, 0.2613191306591034, -0.18854545056819916, 0.6083254218101501, 0.6205658912658691, -0.1405888944864273, -0.017028406262397766, -0.12744247913360596, 0.5636608004570007, 0.6881911158561707, -0.8553861975669861, 0.3073270916938782, 0.3329501152038574, 0.5369230508804321, -0.06198090687394142, 0.741283655166626, -0.01645415648818016, 0.12693390250205994, 0.012825360521674156, -0.03908809646964073, 0.14737476408481598, -0.6337383389472961, -0.37090858817100525, 0.3869868218898773, -0.32362326979637146, -0.015091825276613235 ]
http://arxiv.org/abs/2402.16288v1
http://arxiv.org/pdf/2402.16288v1
PerLTQA: A Personal Long-Term Memory Dataset for Memory Classification, Retrieval, and Synthesis in Question Answering
2024-02-26T04:09:53
2024-02-26T04:09:53
Yiming Du, Hongru Wang, Zhengyi Zhao, Bin Liang, Baojun Wang, Wanjun Zhong, Zezhong Wang, Kam-Fai Wong
cs.CL
cs.CL, cs.AI, cs.IR
Long-term memory plays a critical role in personal interaction, considering long-term memory can better leverage world knowledge, historical information, and preferences in dialogues. Our research introduces PerLTQA, an innovative QA dataset that combines semantic and episodic memories, including world knowledge, profiles, social relationships, events, and dialogues. This dataset is collected to investigate the use of personalized memories, focusing on social interactions and events in the QA task. PerLTQA features two types of memory and a comprehensive benchmark of 8,593 questions for 30 characters, facilitating the exploration and application of personalized memories in Large Language Models (LLMs). Based on PerLTQA, we propose a novel framework for memory integration and generation, consisting of three main components: Memory Classification, Memory Retrieval, and Memory Synthesis. We evaluate this framework using five LLMs and three retrievers. Experimental results demonstrate that BERT-based classification models significantly outperform LLMs such as ChatGLM3 and ChatGPT in the memory classification task. Furthermore, our study highlights the importance of effective memory integration in the QA task.
[ -0.5471084713935852, -0.9252172112464905, 0.7836231589317322, 0.1897742599248886, 0.11958449333906174, 0.15459473431110382, -0.1392592340707779, -0.17137281596660614, 0.09291702508926392, 0.6168233156204224, -0.4325898289680481, -0.6037318110466003, 0.04760124161839485, -0.24544528126716614, -0.5515934824943542, 0.7269524931907654, -0.07665608078241348, -0.17848320305347443, -0.10511381179094315, -0.3775227665901184, -0.5591136813163757, -1.2297649383544922, -0.6605370044708252, -0.04861888289451599, 0.8499755263328552, 0.38925036787986755, 0.38690948486328125, 0.01599368080496788, 0.10314290970563889, 0.21872468292713165, -0.08898136019706726, 0.22465966641902924, -0.6951388716697693, 0.1776687651872635, -0.1403488665819168, -0.45579585433006287, -0.4222942590713501, -0.23875634372234344, 0.652474582195282, 0.3498137593269348, -0.09871364384889603, 0.3873690068721771, -0.10385826975107193, 0.3657962381839752, -0.6437538266181946, -0.1631750762462616, -0.55528724193573, 0.241484135389328, -0.17360298335552216, -0.11564519256353378, -0.23983846604824066, -0.49019086360931396, 0.2974783182144165, -0.31448522210121155, -0.02748981863260269, -0.05926124006509781, 0.7146739959716797, 0.09196911007165909, -0.44835349917411804, -0.19973124563694, -0.9707441329956055, 0.8537561893463135, -0.654224157333374, 0.4037373960018158, 0.3975062668323517, 0.5890427827835083, -0.27521812915802, -0.842767596244812, -0.7093033790588379, 0.06688234210014343, 0.2947019934654236, 0.08338478952646255, -0.024846568703651428, -0.013122879900038242, 0.05824282392859459, 0.12411152571439743, -0.4201858937740326, -0.18463827669620514, -0.2964564859867096, -0.14595654606819153, 0.48833152651786804, 0.496733158826828, 0.3259400427341461, 0.1142365112900734, -0.38887858390808105, 0.16050580143928528, -0.6714743375778198, 0.17219038307666779, 0.27549850940704346, -0.04955299571156502, 0.3435913920402527, 0.34156954288482666, -0.36966538429260254, 0.31464773416519165, 0.016496628522872925, -0.1298082023859024, 0.1376258134841919, -0.34622475504875183, -0.07044130563735962, -0.012193356640636921, 0.6452672481536865, 0.11871184408664703, 0.277606725692749, -0.3596498370170593, -0.028315920382738113, -0.34555965662002563, 0.1595923751592636, -0.5841605067253113, -0.22618404030799866, 0.20075145363807678, -0.3225005269050598, -0.08688231557607651, -0.17465396225452423, -0.5142145752906799, -0.07888202369213104, 0.06779701262712479, 0.5742505192756653, -0.4361029267311096, 0.11349163949489594, 0.1786087304353714, -0.020581020042300224, 0.32782304286956787, 0.39436450600624084, -0.6883237361907959, 0.5761973261833191, 0.31843793392181396, 0.2059997171163559, -0.3614731729030609, -0.35365670919418335, -0.46241965889930725, 0.39617061614990234, -0.1123443990945816, 0.8576255440711975, -0.5517850518226624, -0.3483647108078003, 0.1306452602148056, -0.05952470004558563, 0.20471562445163727, -0.8528464436531067, 0.3251372277736664, -0.8647063374519348, 0.4835423529148102, -0.4776845872402191, -0.5781335234642029, -0.42035195231437683, 0.20373140275478363, -0.5426127910614014, 1.042047142982483, 0.32205069065093994, -0.5355457663536072, 0.014285529963672161, -0.41855454444885254, -0.08027706295251846, 0.2484462708234787, -0.29029712080955505, -0.16792596876621246, -0.06352783739566803, 0.11952811479568481, 0.5174702405929565, -0.3724643290042877, 0.296929270029068, -0.13162946701049805, -0.6063475608825684, 0.7662326693534851, -0.2206287831068039, 0.345553457736969, 0.2114771604537964, 0.07050588726997375, -0.11679299920797348, -0.5394470691680908, 0.07238428294658661, 0.0692693293094635, -0.8095150589942932, -0.2967202067375183, -0.04950755462050438, 0.06506392359733582, 0.20473109185695648, 0.6794114708900452, -0.7416167855262756, -0.13026633858680725, -0.15665757656097412, 0.6001320481300354, 0.7024213671684265, 0.41603994369506836, 0.27434322237968445, -0.3896264433860779, 0.335624635219574, 0.3017275035381317, 0.17048245668411255, -0.36457282304763794, -0.3955649435520172, -0.7441688776016235, 0.1425648182630539, 0.31703847646713257, 0.648750364780426, -0.4431213140487671, 0.31075143814086914, -0.04904404282569885, 0.05612662807106972, -0.1926070749759674, 0.2779409885406494, 0.3910067677497864, 0.4827856123447418, 0.4758323132991791, -0.3450396955013275, -0.526681125164032, -1.0027296543121338, -0.0410408154129982, -0.28461429476737976, -0.2265361100435257, 0.6961730122566223, 0.18818412721157074, -0.291678786277771, 1.0215915441513062, -0.5430746078491211, -0.081544890999794, -0.0274246446788311, -0.1860591322183609, 0.06309472769498825, 0.22945396602153778, 0.2574566900730133, -0.9014298915863037, -0.2931492030620575, -0.3375646471977234, -0.5740229487419128, 0.21503214538097382, -0.28552916646003723, -0.4171336889266968, -0.008539083413779736, 0.18564008176326752, -0.34099727869033813, 0.22745081782341003, 0.2254122942686081, -0.5714487433433533, 0.5387057662010193, -0.032761767506599426, 0.21715214848518372, -1.0597174167633057, -0.17060041427612305, -0.3391113877296448, -0.2765079140663147, -0.5831429958343506, -0.23001624643802643, 0.04488411918282509, 0.03075423836708069, -0.6290727257728577, 0.9834848046302795, -0.08045992255210876, 0.014941176399588585, 0.13755005598068237, -0.04336711764335632, -0.11228295415639877, 0.7325534820556641, -0.2261984795331955, 0.759552001953125, 0.06953617185354233, -0.640343427658081, 0.37325456738471985, 0.6681029796600342, -0.2854410707950592, 0.3731527030467987, -0.4338681697845459, 0.6030296087265015, -0.0016305268509313464, 0.05914413928985596, -1.1952489614486694, -0.1310957968235016, -0.017240310087800026, -0.49539047479629517, -0.027804823592305183, 0.29415157437324524, -0.6238464117050171, -0.1398710161447525, -0.2502764165401459, 0.49114659428596497, 0.8831263184547424, -0.6571420431137085, 0.8662264943122864, 0.39545848965644836, -0.38748717308044434, -0.3036651611328125, -0.5996859669685364, 0.12486859411001205, -0.39605653285980225, -0.5877254605293274, 0.4842417240142822, -0.26666155457496643, -0.03753579407930374, 0.16905829310417175, -0.046912048012018204, -0.3803415894508362, -0.1381770521402359, 0.2112911194562912, 0.09772507846355438, -0.37600669264793396, 0.44096195697784424, 0.1783234179019928, 0.1765488237142563, -0.17361986637115479, -0.03598200902342796, 0.7679396867752075, -0.007084334269165993, -0.14305484294891357, -0.3701600432395935, 0.4444228410720825, 0.4413197934627533, -0.12234710901975632, 0.6309153437614441, 0.519467830657959, -0.30695822834968567, -0.11104247719049454, -1.1749773025512695, -0.12213803082704544, -0.5090385675430298, 0.27455106377601624, -0.6221906542778015, -1.2717070579528809, 0.8165876269340515, -0.12934067845344543, 0.07007955759763718, 0.017065059393644333, 0.5431194305419922, -0.616439163684845, 0.8340561985969543, 0.2807229459285736, -0.2912575900554657, 0.4777836501598358, -0.022609293460845947, 0.0005311646964401007, -1.2216770648956299, -0.054749760776758194, 0.046082090586423874, -0.46652716398239136, -0.17573553323745728, -0.5282378196716309, 0.36483362317085266, 0.00790325179696083, -0.894451379776001, -0.06225084140896797, -0.2521229088306427, 0.3197581470012665, 0.6307913661003113, 0.20603932440280914, 0.28095293045043945, 0.0048013352788984776, 0.1043931394815445, 0.04284031316637993, -0.6001930832862854, -0.6078717708587646, 1.1888271570205688, 0.5048013925552368, 0.7360706329345703, 0.11298727244138718, 0.993622899055481, 0.1774202585220337, -0.09166840463876724, -0.4040376543998718, 0.8437018394470215, -0.26753783226013184, -0.5392844080924988, -0.42227494716644287, -0.2744385600090027, -0.953930675983429, -0.14382603764533997, -0.09999170899391174, -0.9266252517700195, 0.06561946868896484, 0.017947284504771233, -0.7779174447059631, 0.06650662422180176, -0.6105368137359619, 0.6778503060340881, -0.3982190787792206, -0.25719064474105835, -0.25657713413238525, -0.44930264353752136, 0.3656424283981323, -0.11748581379652023, -0.28613999485969543, -0.1984158456325531, -0.1421424001455307, 0.9569529294967651, 0.0651778131723404, 0.7072381377220154, -0.14479641616344452, 0.3678922951221466, 0.4653016924858093, 0.05105571448802948, 0.3364025354385376, 0.1286230832338333, 0.1527683287858963, -0.10217441618442535, 0.5077376961708069, -0.42736342549324036, -0.5820327401161194, 0.7652745842933655, -0.8549529910087585, -0.6666730642318726, -0.01712166704237461, -0.6041075587272644, -0.5541244149208069, -0.17675724625587463, -0.20544812083244324, 0.3076033294200897, -0.4568653404712677, 0.2521956264972687, 1.079988956451416, -0.7761209607124329, 0.16791687905788422, 0.536173939704895, -0.253423810005188, -0.4313015341758728, 0.9130743741989136, 0.1972639560699463, -0.0002606862981338054, 0.4449005424976349, 0.1300627738237381, -0.2115064263343811, -0.5168145298957825, -0.13410545885562897, 0.4052291512489319, -0.7006353735923767, -0.06591396033763885, -0.8128622174263, -0.359104186296463, -0.20548075437545776, -0.08888331800699234, -0.21906812489032745, -0.37325143814086914, -0.19129320979118347, -0.02149260602891445, 0.3118087351322174, 0.5754056572914124, 0.5417097806930542, 0.08972491323947906, -1.0697563886642456, 0.3730897307395935, 0.8035382628440857, 0.04932599142193794, 0.06721373647451401, -0.37588706612586975, -0.12621986865997314, -0.25691312551498413, -0.23932591080665588, -1.028424620628357, 0.40258121490478516, 0.10448876768350601, 0.7003847360610962, 0.11892801523208618, -0.11464037746191025, 0.6261075139045715, -0.5216194987297058, 0.8380429148674011, 0.02545228973031044, -0.7297517657279968, 0.29049763083457947, -0.3172706663608551, 0.6608206033706665, 0.5221515893936157, 0.347423791885376, -0.7412264943122864, -0.2902280390262604, -0.6009836196899414, -0.9990511536598206, 0.27781981229782104, 0.10619997978210449, 0.3183060586452484, -0.0202981848269701, 0.7968341112136841, -0.016619665548205376, 0.1649475395679474, -0.19735923409461975, -0.03701026737689972, 0.2213270515203476, -0.4424089193344116, 0.06781795620918274, -0.7309596538543701, -0.09143554419279099, -0.16780982911586761, 0.365134596824646, -0.08252529799938202, 0.642117977142334, 0.17279499769210815, 0.047289080917835236, 0.3050708472728729, 0.35610321164131165, 0.14920775592327118, 0.6014018654823303, -0.2544560432434082, -0.03223221376538277, 0.8112202882766724, -0.34843915700912476, 0.1797208935022354, -0.2775232493877411, -0.19596825540065765, -0.2525278627872467, -0.07849110662937164, 0.3514840304851532, 0.30114829540252686, -1.0014339685440063, 0.1953420788049698, -0.4254492521286011, -0.06854210793972015, -0.9043105244636536, 0.15261958539485931, 0.5662785172462463, 0.5576297044754028, 0.4075077176094055, -0.6943008303642273, 0.26985928416252136, -0.7311968803405762, 0.3331732451915741, 0.2374660223722458, -0.23811458051204681, -0.433925986289978, 0.5634720325469971, 0.09870075434446335, -0.07918326556682587, 0.8843444585800171, -0.08581841737031937, -0.46813660860061646, 0.4650189280509949, 0.42656612396240234, 0.8105090260505676, -0.31686925888061523, 0.05825554206967354, 0.4428097605705261, -0.3693791925907135, 0.0698939859867096, 0.7464457750320435, -0.24267183244228363, -1.034454107284546, -0.22736406326293945, -0.9429590702056885, -0.4243010878562927, 0.2700033187866211, -0.500878632068634, -0.04242715984582901, -0.5758921504020691, -0.2914721369743347, -0.2487558275461197, 0.1046777218580246, -0.8128484487533569, 0.2897658348083496, 0.40163668990135193, 0.7787050008773804, -0.5171471834182739, 1.1831003427505493, 0.6781545281410217, -0.27271348237991333, -0.7857436537742615, -0.12426508218050003, -0.244955375790596, -0.48303136229515076, 0.9920578598976135, -0.30056458711624146, 0.028221333399415016, -0.07115624099969864, -0.33606570959091187, -0.9765189290046692, 1.338410496711731, 0.02816036157310009, -0.47858506441116333, -0.3917487859725952, 0.05295354872941971, 0.5223258137702942, -0.6608765125274658, -0.015389186330139637, 0.743493914604187, 0.3121330738067627, 0.3370071351528168, -0.7449723482131958, 0.14086014032363892, -0.03760022670030594, 0.23950523138046265, 0.05874126777052879, -0.929844856262207, 0.8403656482696533, 0.0007769902003929019, -0.33279693126678467, 0.23673196136951447, 0.7675343155860901, 0.34354981780052185, 0.168157160282135, 0.2575993537902832, 0.4276849627494812, 0.7685313820838928, 0.086626335978508, 0.7259817719459534, -0.19647955894470215, -0.11975134164094925, 1.476503610610962, -0.3078362047672272, 1.0861754417419434, 0.3721013367176056, -0.22944629192352295, 0.6194552183151245, 0.5252540707588196, 0.3133590817451477, 0.482063889503479, 0.1815079003572464, -0.47654613852500916, -0.2459731101989746, 0.12813034653663635, -0.14770852029323578, 0.27555036544799805, 0.5454735159873962, -0.28959229588508606, -0.000930363719817251, 0.010084860026836395, -0.2085738331079483, -0.13904006779193878, -0.07995884865522385, 0.9901384711265564, 0.09951459616422653, -0.41938549280166626, 0.49470093846321106, -0.25532960891723633, 0.6438378691673279, -0.4612458050251007, -0.12764811515808105, -0.3198932409286499, 0.28467971086502075, -0.15100137889385223, -0.9127161502838135, 0.1896422952413559, -0.15669605135917664, -0.05507078766822815, -0.10671427845954895, 0.7753275036811829, -0.5472039580345154, -0.025840600952506065, 0.21766652166843414, 0.6324809193611145, 0.24509760737419128, -0.17369124293327332, -0.5517157316207886, -0.0414370521903038, 0.06614752858877182, -0.4493095874786377, 0.7358791828155518, 0.397212415933609, -0.19047334790229797, 0.7087953090667725, 0.44788146018981934, -0.14174070954322815, 0.220079243183136, -0.12273278087377548, 1.0784627199172974, -1.1506608724594116, -0.3485782742500305, -0.5606508255004883, 0.3717089891433716, 0.10497075319290161, -0.4274749755859375, 0.7228808403015137, 0.6579157114028931, 0.6918161511421204, -0.019387373700737953, 0.9020342826843262, 0.24970920383930206, 0.7962727546691895, -0.41590163111686707, 0.5841389298439026, -0.29443299770355225, 0.10245965421199799, 0.21111860871315002, -0.7438796758651733, 0.06403980404138565, 0.3504709303379059, -0.49745824933052063, -0.239206001162529, 0.519072413444519, 0.68998122215271, 0.11074279993772507, -0.07922615110874176, 0.5702186822891235, 0.2592703700065613, 0.3879581689834595, 1.1691625118255615, 1.2151124477386475, -0.38150671124458313, 0.5677215456962585, -0.016986753791570663, 0.0763549953699112, -0.13792243599891663, -0.23458155989646912, -0.9618768095970154, -0.9507168531417847, -0.17237606644630432, -0.24365009367465973, 0.2834247946739197, 0.9424533247947693, 0.5694257020950317, -0.790128231048584, -0.31422096490859985, 0.34408265352249146, -0.04460463300347328, 0.19147637486457825, -0.23132547736167908, 0.2109738290309906, -0.3671971261501312, -0.5695788860321045, 0.36246880888938904, 0.44064727425575256, 0.0798780769109726, -0.483310729265213, -0.12157298624515533, -0.22250151634216309, 0.3957348167896271, 0.6665055751800537, 0.513534665107727, -0.638326108455658, -0.31290775537490845, 0.20560449361801147, -0.12568941712379456, 0.2416498064994812, 0.5897892713546753, -1.140568733215332, 0.4130471348762512, 0.7209939956665039, 0.7442839741706848, 0.9410498142242432, 0.05134614184498787, 0.7271412014961243, -0.3567783534526825, -0.1325456202030182, 0.6254262924194336, 0.12913984060287476, 0.15913273394107819, -0.5645534992218018, 0.36035972833633423, -0.34777963161468506, -0.7481399774551392, -0.6456369161605835, 0.28785574436187744, -0.9321471452713013, -0.35692301392555237, 1.1354402303695679, -0.367199569940567, -0.46222391724586487, -0.40868711471557617, -0.32397714257240295, -0.20293639600276947, -0.5232942700386047, 0.8343712687492371, 0.8268148899078369, -0.5701581239700317, -0.28966352343559265, -0.68784499168396, 0.443185418844223, 0.31292349100112915, -0.643561065196991, -0.3634583353996277, 0.5050395727157593, 0.49318182468414307, 0.10584650933742523, 0.9218266010284424, -0.2507580816745758, 0.4683918058872223, -0.2914900481700897, 0.10418695211410522, 0.10432616621255875, -0.23532867431640625, -0.08657370507717133, 0.44982534646987915, 0.19370539486408234, -0.08173459768295288 ]
http://arxiv.org/abs/2402.16278v3
http://arxiv.org/pdf/2402.16278v3
A Self-matching Training Method with Annotation Embedding Models for Ontology Subsumption Prediction
2024-02-26T03:46:01
2024-03-10T10:04:41
Yukihiro Shiraishi, Ken Kaneiwa
cs.AI
cs.AI, cs.CL, cs.LG
Recently, ontology embeddings representing entities in a low-dimensional space have been proposed for ontology completion. However, the ontology embeddings for concept subsumption prediction do not address the difficulties of similar and isolated entities and fail to extract the global information of annotation axioms from an ontology. In this paper, we propose a self-matching training method for the two ontology embedding models: Inverted-index Matrix Embedding (InME) and Co-occurrence Matrix Embedding (CoME). The two embeddings capture the global and local information in annotation axioms by means of the occurring locations of each word in a set of axioms and the co-occurrences of words in each axiom. The self-matching training method increases the robustness of the concept subsumption prediction when predicted superclasses are similar to subclasses and are isolated to other entities in an ontology. Our evaluation experiments show that the self-matching training method with InME outperforms the existing ontology embeddings for the GO and FoodOn ontologies and that the method with the concatenation of CoME and OWL2Vec* outperforms them for the HeLiS ontology.
[ -0.2654135823249817, -0.08730150759220123, 0.47134995460510254, -0.22453661262989044, -0.3262001872062683, 0.0761270523071289, 0.3595065772533417, -0.5459780693054199, 0.5976859331130981, 0.7157328128814697, -0.7091188430786133, -0.4064768850803375, -0.3206349313259125, 0.09118946641683578, -0.17505015432834625, 0.5002683997154236, -0.027405323460698128, 0.17057576775550842, -0.634526252746582, -0.21142974495887756, -0.6250081062316895, -0.5956614017486572, -0.08880985528230667, -0.40005141496658325, -0.000504923053085804, 0.4735090136528015, 0.40408918261528015, 0.8751101493835449, 0.6460175514221191, 0.19208811223506927, 0.41055527329444885, 0.13385917246341705, -0.2731046974658966, 0.029031381011009216, -0.43483757972717285, -0.39276444911956787, -0.23932664096355438, 0.3430061936378479, 0.26683828234672546, 0.332088440656662, -0.2801355719566345, 0.1342170089483261, 0.149129256606102, -0.09516685456037521, -0.8463069200515747, 0.14433853328227997, -0.7600260376930237, 0.7241156697273254, 0.062463223934173584, -0.3564222455024719, -0.19758503139019012, 0.0565301887691021, 0.21807609498500824, -0.9086599946022034, 0.00710969278588891, 0.5030768513679504, 0.7718899846076965, 0.42513754963874817, -0.01768377609550953, -0.3595392107963562, -0.08329106122255325, 0.8394393920898438, -0.7655665278434753, 0.44859206676483154, 0.6387960910797119, 0.14850680530071259, -0.1408921629190445, -0.6384950280189514, -0.8138996362686157, -0.0838414803147316, -0.39829427003860474, 0.32409536838531494, 0.1643512099981308, -0.1509951651096344, 0.001443364075385034, 0.271481454372406, -0.35125449299812317, 0.1608203947544098, 0.10656633973121643, -0.14608949422836304, 0.312894731760025, 0.16221550107002258, 0.2957157790660858, -0.2774238586425781, -1.1245723962783813, -0.11749768257141113, -0.7895896434783936, -0.510789692401886, -0.001148753333836794, 0.4979666769504547, -0.06735081970691681, 0.48650193214416504, 0.029330026358366013, 0.2736339569091797, -0.07930109649896622, -0.18852859735488892, 0.4219187796115875, -0.6314677000045776, -0.22087830305099487, 0.3543974757194519, 0.5408220291137695, 0.3028382658958435, 0.21756982803344727, -0.3162611126899719, 0.11768149584531784, 0.029376421123743057, 0.20772522687911987, -0.47773200273513794, -0.11924175173044205, -0.11741321533918381, -0.23387004435062408, -0.09088744223117828, -0.0769944116473198, -0.40120482444763184, -0.2304859608411789, -0.1853625476360321, 0.943718433380127, -0.31571024656295776, -0.13564728200435638, -0.13992148637771606, -0.12249298393726349, 0.26316019892692566, 0.13317207992076874, -1.0378153324127197, 0.41575905680656433, 0.7469947338104248, 0.8671095371246338, 0.09793303906917572, -0.4713432192802429, -0.24063707888126373, 0.5007667541503906, -0.27788978815078735, 0.9631388783454895, -0.6716995239257812, -0.06235764920711517, -0.07912735641002655, -0.29340988397598267, -0.14741426706314087, -0.44787561893463135, 0.356507807970047, -0.4281167984008789, -0.023890124633908272, -0.25094547867774963, -1.080810308456421, -0.3461618721485138, 0.4378223419189453, -0.18870185315608978, 1.003019094467163, 0.1615806668996811, -1.0334069728851318, 0.7199325561523438, -0.5273149609565735, -0.09898114204406738, 0.33339011669158936, -0.39958906173706055, -0.452679306268692, -0.39219024777412415, 0.13430115580558777, 0.7377800941467285, -0.27328309416770935, -0.4629063308238983, -0.7361558675765991, -0.2186248004436493, 0.04308203607797623, 0.3772103190422058, 0.3767091929912567, -0.03957730159163475, -0.20500709116458893, -0.34381598234176636, -0.5237142443656921, 0.17195072770118713, 0.13542582094669342, 0.09909874200820923, -0.8504941463470459, -0.00005363484888221137, -0.3126457929611206, 0.48715803027153015, 0.18275086581707, -0.7376409769058228, 0.4256398677825928, -0.502439558506012, 0.5302926898002625, 0.7145686745643616, 0.1100223958492279, 0.3379557132720947, -0.08082611858844757, 0.23078931868076324, 0.21386107802391052, 0.08281952142715454, -0.09611335396766663, -0.3766250014305115, -0.5234900116920471, -0.31770020723342896, 0.5317279696464539, 0.5259692072868347, -0.404958039522171, 0.7792220115661621, -0.2055187076330185, -0.42544397711753845, -0.6412014961242676, 0.12636607885360718, 0.5322504043579102, 0.5788705348968506, 0.7589667439460754, -0.47835466265678406, -0.8935744762420654, -0.6778548955917358, -0.142316997051239, 0.06033611670136452, 0.2479824721813202, 0.264416366815567, 0.89663165807724, -0.26436367630958557, 0.9950027465820312, -0.48212045431137085, -1.0060908794403076, 0.10397102683782578, -0.09285392612218857, -0.20292000472545624, 0.6189285516738892, 0.44807663559913635, -0.42205941677093506, -0.542594313621521, -0.20042291283607483, -0.9118772745132446, 0.3710457980632782, 0.31751736998558044, -0.20052982866764069, -0.10379552096128464, 0.6720491051673889, -0.11442714929580688, 0.5932601690292358, 0.30844390392303467, -0.2948276400566101, -0.2572339177131653, -0.31792691349983215, -0.1374126672744751, -1.3558293581008911, -0.5023441910743713, -0.41735583543777466, -0.39727282524108887, -0.16322572529315948, 0.19789113104343414, 0.1704951375722885, 0.29398488998413086, -0.41566675901412964, 0.471756249666214, -0.46420636773109436, -0.3264937698841095, -0.28666335344314575, 0.4139549136161804, -0.0303706843405962, 0.21706326305866241, 0.02224111370742321, 0.6436575055122375, 0.6696656942367554, -0.5635866522789001, 0.1239008903503418, 0.7179733514785767, -0.5545659065246582, 0.5028426647186279, -0.27154219150543213, 0.37085917592048645, 0.051129814237356186, 0.3632090091705322, -1.024797797203064, -0.008079972118139267, 0.4747718572616577, -0.15968719124794006, 0.20008090138435364, -0.26161450147628784, -0.36734890937805176, -0.21821163594722748, -0.2192188948392868, 0.3005436062812805, 0.30480095744132996, -0.8912385106086731, 0.8312995433807373, 0.39651936292648315, 0.3554569482803345, -0.8760654926300049, -0.9077489972114563, 0.10035097599029541, -0.09744758158922195, -0.2628099322319031, 0.4737696945667267, 0.022405194118618965, 0.31513282656669617, 0.2604126036167145, 0.08414119482040405, 0.4338856637477875, 0.29193490743637085, 0.45373180508613586, -0.03692082688212395, -0.0009545601205900311, 0.1869870275259018, 0.11485686898231506, -0.49960920214653015, -0.20464900135993958, -0.6353724002838135, 0.4999978244304657, 0.3174864649772644, -0.481263130903244, -0.2562492787837982, 0.39350542426109314, -0.2576500475406647, -0.12777647376060486, 0.6340881586074829, 0.45036575198173523, -0.6416903138160706, -0.1849917620420456, -0.43569836020469666, -0.23506402969360352, -0.41368770599365234, 0.29769882559776306, -0.5951951742172241, -0.4627011716365814, 0.24148902297019958, 0.08113788813352585, 0.12251520901918411, 0.5552620887756348, 0.43107253313064575, -0.18056297302246094, 0.791226327419281, 0.6508734226226807, 0.1847088634967804, 0.37781113386154175, -0.5745733380317688, -0.06014816462993622, -1.1040878295898438, -0.3260631859302521, -0.4866139590740204, -0.16250115633010864, -0.4173591136932373, -0.3889583647251129, -0.020957844331860542, -0.2066173553466797, -0.1318540722131729, 0.5712730288505554, -0.4286043345928192, 0.34046289324760437, 0.6894460916519165, -0.08561057597398758, 0.22931928932666779, 0.19768497347831726, -0.6071279048919678, -0.2679612338542938, -0.7212293148040771, -0.20591917634010315, 1.139634132385254, 0.18049649894237518, 0.8810231685638428, 0.07138688862323761, 0.9418017864227295, 0.4094952344894409, 0.5062282681465149, -0.5493412613868713, 0.33477553725242615, -0.44894394278526306, -0.5978285670280457, -0.030395731329917908, -0.34056684374809265, -0.6420549750328064, 0.24309909343719482, -0.6087149381637573, -0.6524702906608582, 0.46065589785575867, 0.09908264875411987, -0.422180712223053, 0.21486254036426544, -0.5160214900970459, 0.7431704998016357, 0.05002019926905632, 0.15609297156333923, -0.27798691391944885, -0.5443929433822632, -0.19768036901950836, 0.009857033379375935, 0.05433489382266998, -0.4031515121459961, -0.21341025829315186, 0.8694064617156982, -0.38543233275413513, 0.8050423264503479, -0.026594731956720352, -0.03007255494594574, 0.22464078664779663, -0.05491870641708374, 0.3098183870315552, 0.1178506463766098, -0.011510048061609268, 0.5684018135070801, 0.10030962526798248, -0.2847108542919159, -0.6201277375221252, 0.469105988740921, -0.9354718327522278, -0.32230648398399353, -0.6897852420806885, -0.13299021124839783, -0.09326313436031342, 0.15378639101982117, 0.7228249907493591, 0.21708475053310394, 0.039826035499572754, -0.09722448140382767, 0.47602036595344543, 0.5446200966835022, 0.37098315358161926, 0.5262615084648132, -0.104171983897686, -0.7449067234992981, 0.7676762342453003, 0.6041590571403503, 0.15933190286159515, 0.6691880822181702, 0.33762413263320923, -0.5681002140045166, -0.11009600758552551, -0.3878116309642792, -0.04454325884580612, -0.8729639053344727, -0.5766257643699646, -0.9092636108398438, -0.3205418288707733, -0.5483520030975342, -0.11961193382740021, -0.3642469048500061, -0.26711922883987427, -0.12140059471130371, 0.00304197589866817, 0.279314786195755, 0.6789398789405823, -0.3586759567260742, 0.2334357649087906, -0.6111677289009094, 0.1098640114068985, 0.6341556310653687, 0.19829459488391876, 0.156919926404953, -0.8367370963096619, -0.5129971504211426, 0.005594071000814438, -0.22559958696365356, -0.5988949537277222, -0.01111243199557066, 0.507840096950531, 0.6243821978569031, 0.5758926272392273, 0.10202422738075256, 0.7411535978317261, -0.3656904697418213, 0.2680651545524597, 0.13683079183101654, -0.8984950184822083, 0.43297725915908813, 0.3008164167404175, -0.3736892640590668, 0.5941200852394104, 0.5492551326751709, -0.24858839809894562, -0.09480337053537369, -0.6052439212799072, -0.604340136051178, 0.7190007567405701, 0.23737137019634247, 0.21339711546897888, 0.016152391210198402, 0.6823089718818665, 0.3020285665988922, 0.05765361711382866, -0.6325005292892456, -0.25603076815605164, -0.44422197341918945, -0.4505576193332672, 0.004056788515299559, -0.27859485149383545, -0.0889338031411171, -0.028399748727679253, 0.8891639113426208, -0.2344268262386322, 0.3808595538139343, 0.15552844107151031, 0.03506028279662132, -0.18304897844791412, -0.2037457972764969, 0.07600629329681396, 0.33466511964797974, -0.34587666392326355, 0.20067159831523895, 0.4726695120334625, -0.706453263759613, 0.2974050045013428, 0.056964319199323654, -0.3153724670410156, -0.32426947355270386, 0.5032416582107544, 0.583377480506897, 0.20581583678722382, -0.21358658373355865, 0.5244958400726318, -0.2177862524986267, 0.01775110326707363, -0.6300919055938721, 0.36873719096183777, -0.09525176882743835, 0.2883138656616211, 0.16938942670822144, -0.206466943025589, 0.1820085495710373, -0.6610023975372314, 0.03107980452477932, 0.5226898193359375, -0.6377260684967041, -0.03946077078580856, 0.4605560898780823, -0.26674458384513855, -0.19651490449905396, 0.5243292450904846, -0.22667276859283447, -0.6176100969314575, 0.29212260246276855, 0.9332184195518494, 0.9598269462585449, -0.2743030786514282, -0.08840568363666534, 0.43524718284606934, 0.31667089462280273, -0.0633389875292778, 0.4670073986053467, -0.08279743045568466, -1.0127793550491333, -0.27641141414642334, -0.5707621574401855, -0.5996241569519043, -0.33910414576530457, -0.5080335736274719, 0.26420363783836365, -0.2825179398059845, 0.019495967775583267, 0.07961703836917877, 0.26593947410583496, -0.5967297554016113, 0.29914718866348267, 0.01061347033828497, 0.7569462656974792, -0.8290731906890869, 0.6796404719352722, 0.9368019104003906, -0.5894753932952881, -0.8490977883338928, 0.14614616334438324, -0.47769734263420105, -0.8744017481803894, 0.473829060792923, 0.26738470792770386, -0.018739143386483192, 0.06711483746767044, -0.5129812359809875, -1.3093390464782715, 1.1577955484390259, 0.26440930366516113, -0.3933880925178528, 0.10346655547618866, 0.02184935100376606, 0.14807341992855072, -0.892710268497467, 0.3629412055015564, 0.23563186824321747, 0.2329905480146408, 0.1342933028936386, -0.43283385038375854, 0.2600178122520447, 0.2553074359893799, -0.02547581121325493, 0.0809173434972763, -0.7293527126312256, 0.828822910785675, -0.1427137702703476, -0.13016317784786224, 0.05474945530295372, 0.9946841597557068, -0.03222990036010742, 0.23210956156253815, 0.7832062840461731, 1.001354455947876, 0.46479177474975586, 0.18509691953659058, 0.44393613934516907, -0.26829463243484497, 0.8420569896697998, 1.3407773971557617, -0.38610726594924927, 1.0371180772781372, 0.11427000164985657, -0.1877507120370865, 0.6413410305976868, 0.6109519004821777, -0.1254386603832245, 0.879264771938324, -0.09497717767953873, 0.27847978472709656, -0.7415152788162231, -0.20898760855197906, -0.7678139209747314, 0.726594090461731, 0.6078689694404602, -0.22368048131465912, -0.31458809971809387, 0.1531536728143692, -0.12737928330898285, -0.09966223686933517, -0.14960168302059174, 1.0117298364639282, 0.2585485875606537, -0.44455575942993164, 0.34649595618247986, -0.06300002336502075, 0.35459762811660767, -0.42032530903816223, -0.3223462402820587, -0.24784933030605316, 0.3495514392852783, -0.2005658745765686, -0.6204005479812622, 0.11445401608943939, -0.6808565258979797, 0.04857253283262253, 0.09029658883810043, 0.6468220949172974, -0.2839595079421997, -0.43312665820121765, 0.6694391369819641, 0.13284510374069214, 0.0897376537322998, 0.2033223956823349, -0.7110766172409058, -0.6228938102722168, -0.4115789234638214, 0.14974266290664673, 0.3917829394340515, 0.31575027108192444, 0.12023507803678513, 0.5222228169441223, 0.44556960463523865, -0.34934788942337036, -0.08562672138214111, -0.2022806853055954, 0.6831762790679932, -0.6191232204437256, -0.8401276469230652, -0.9258458614349365, -0.23036617040634155, 0.06813637167215347, -0.3759041130542755, 0.6535238027572632, 0.44005465507507324, 0.8475326299667358, 0.16341789066791534, 0.5984290838241577, 0.06314968317747116, 0.7740763425827026, -0.5734217166900635, 0.4171145558357239, -0.8744229674339294, -0.029228614643216133, -0.23872646689414978, -0.9695944786071777, 0.0016902473289519548, 0.9156535267829895, -0.0930776298046112, 0.28172674775123596, 0.42582717537879944, 0.48962733149528503, -0.3346809148788452, 0.02422129549086094, 0.31056198477745056, 0.3423042297363281, -0.10834222286939621, 0.41140732169151306, 0.802621603012085, -0.6475045680999756, 0.29888883233070374, -0.37557628750801086, -0.20501789450645447, -0.6190064549446106, -0.8298187851905823, -0.9677941799163818, -0.5263862013816833, -0.38596081733703613, -0.5400744080543518, -0.03151771426200867, 1.1085925102233887, 0.7759071588516235, -0.8121125102043152, 0.16325899958610535, 0.03723808377981186, 0.09079846739768982, -0.452054888010025, -0.060517292469739914, 0.587320864200592, -0.14006106555461884, -0.3204355537891388, 0.2848426401615143, 0.5253578424453735, 0.3292294144630432, -0.6489717364311218, 0.1887885332107544, -0.6725321412086487, 0.4193326532840729, 0.22399665415287018, 0.10370296239852905, -0.5552930235862732, -0.5648611783981323, -0.10301212221384048, -0.12154195457696915, 0.24714212119579315, 0.42463576793670654, -0.8390865921974182, 0.49643710255622864, 0.20704399049282074, 0.4314185082912445, 0.462613046169281, -0.0749380886554718, 0.03523898497223854, -0.7641450762748718, 0.07044708728790283, -0.11927785724401474, 0.48994123935699463, 0.28147539496421814, -0.36131393909454346, 0.7980742454528809, 0.36925095319747925, -0.23300078511238098, -0.6739106178283691, 0.2754001021385193, -0.654079794883728, 0.10998383164405823, 0.7288930416107178, -0.5971388220787048, -0.38808944821357727, -0.5141928195953369, 0.17488396167755127, 0.3103611171245575, 0.02590876631438732, 0.7897540330886841, 0.3032820224761963, 0.08759205788373947, 0.28947800397872925, -0.07660608738660812, 0.19624684751033783, 0.5229610204696655, -0.5721283555030823, -0.28349563479423523, -0.3169158399105072, 0.39409396052360535, 0.6355425119400024, 0.5368183255195618, 0.28708720207214355, 0.012715484015643597, 0.2387986034154892, 0.39187607169151306, -0.16799671947956085, -0.19040000438690186, 0.2737651467323303, 0.000597081147134304, -0.16601452231407166, -0.47338443994522095 ]
http://arxiv.org/abs/2402.16261v2
http://arxiv.org/pdf/2402.16261v2
UniRetriever: Multi-task Candidates Selection for Various Context-Adaptive Conversational Retrieval
2024-02-26T02:48:43
2024-02-28T06:43:48
Hongru Wang, Boyang Xue, Baohang Zhou, Rui Wang, Fei Mi, Weichao Wang, Yasheng Wang, Kam-Fai Wong
cs.CL
cs.CL, cs.IR
Conversational retrieval refers to an information retrieval system that operates in an iterative and interactive manner, requiring the retrieval of various external resources, such as persona, knowledge, and even response, to effectively engage with the user and successfully complete the dialogue. However, most previous work trained independent retrievers for each specific resource, resulting in sub-optimal performance and low efficiency. Thus, we propose a multi-task framework function as a universal retriever for three dominant retrieval tasks during the conversation: persona selection, knowledge selection, and response selection. To this end, we design a dual-encoder architecture consisting of a context-adaptive dialogue encoder and a candidate encoder, aiming to attention to the relevant context from the long dialogue and retrieve suitable candidates by simply a dot product. Furthermore, we introduce two loss constraints to capture the subtle relationship between dialogue context and different candidates by regarding historically selected candidates as hard negatives. Extensive experiments and analysis establish state-of-the-art retrieval quality both within and outside its training domain, revealing the promising potential and generalization capability of our model to serve as a universal retriever for different candidate selection tasks simultaneously.
[ -0.29843881726264954, -0.47302135825157166, 0.6305944323539734, 0.2022324502468109, -0.28351834416389465, 0.051488664001226425, -0.2875927984714508, -0.32023924589157104, 0.13331900537014008, 0.55519038438797, -0.5586365461349487, -0.03157379478216171, -0.4538462162017822, 0.04189561679959297, -0.3708782494068146, 0.8582582473754883, 0.3304018974304199, 0.025097163394093513, -0.36559510231018066, -0.3224407136440277, -0.8853479027748108, -0.6699091792106628, -0.6078450679779053, -0.3833991289138794, 0.38790163397789, 0.5382239818572998, 0.3794192969799042, 0.05012066289782524, 0.35394713282585144, 0.25285056233406067, 0.04447229579091072, -0.07604077458381653, -0.5592601895332336, 0.4782934784889221, -0.40407562255859375, -0.16517634689807892, 0.02407032810151577, -0.30579930543899536, 0.48080411553382874, 0.504603385925293, -0.3509896397590637, 0.11653014272451401, 0.3923613131046295, 0.5500967502593994, -0.9503976106643677, -0.046374689787626266, -0.8164004683494568, 0.060428641736507416, -0.08997022360563278, -0.4907217025756836, -0.39980584383010864, -0.18960066139698029, 0.41341957449913025, -0.42399439215660095, 0.3203992545604706, -0.02425198256969452, 0.30729585886001587, 0.12874701619148254, -0.8225767016410828, -0.3178153932094574, -0.6738625168800354, 0.7095178961753845, -0.33231642842292786, 0.6404521465301514, 0.08191689848899841, 0.37943193316459656, 0.09388654679059982, -0.5244982242584229, -0.28810590505599976, -0.07577304542064667, -0.07368499040603638, 0.2853323519229889, -0.1378687173128128, 0.17898115515708923, -0.1817796379327774, 0.29537463188171387, -0.42328155040740967, -0.080824114382267, -0.3038036823272705, -0.3654453754425049, 0.24305017292499542, 0.1551271378993988, -0.05817783251404762, -0.07262684404850006, -0.5458195209503174, 0.035529207438230515, -0.5507354736328125, 0.15204468369483948, 0.23113630712032318, 0.48861441016197205, 0.3684387803077698, 0.44093936681747437, -0.42536166310310364, 0.6673403382301331, 0.13980387151241302, 0.21784771978855133, 0.058342333883047104, -0.45443594455718994, -0.09681747853755951, 0.028235051780939102, 0.7475025057792664, 0.13542453944683075, -0.17935651540756226, -0.3442053496837616, -0.1352527141571045, -0.15822932124137878, 0.5727912783622742, -0.8501348495483398, -0.04514259472489357, 0.08377723395824432, -0.48111584782600403, 0.020959796383976936, 0.01271664910018444, -0.9995920658111572, -0.34493520855903625, -0.31348350644111633, 0.498789519071579, -0.1979239583015442, -0.28066757321357727, 0.1352439820766449, -0.2348477691411972, 0.046483591198921204, 0.20280127227306366, -0.7143832445144653, 0.2378089427947998, 0.31305405497550964, 0.44534921646118164, -0.2630458176136017, -0.07885768264532089, -0.7666423916816711, 0.03921130672097206, 0.034865230321884155, 0.7175838351249695, -0.9940844178199768, -0.6351701617240906, 0.06657004356384277, 0.01139578502625227, -0.4018871784210205, -0.4219728112220764, 0.8995039463043213, -0.7740760445594788, 0.1956629902124405, -0.3988514244556427, -0.23871509730815887, -0.38317614793777466, 0.2618938684463501, -0.5764074921607971, 0.8055025935173035, -0.026034709066152573, -0.6004530191421509, 0.15996533632278442, -0.8568236827850342, -0.3764939606189728, 0.09910104423761368, -0.3247968256473541, -0.022811859846115112, 0.08930433541536331, 0.1094307079911232, 0.48089519143104553, -0.6571490168571472, 0.41791853308677673, -0.24238958954811096, -0.513512134552002, 0.19008269906044006, -0.4340370297431946, 0.6589338183403015, 0.1295633167028427, -0.35620948672294617, 0.0324830487370491, -0.4780263900756836, 0.13754840195178986, 0.05897415429353714, -0.6798639893531799, -0.18218126893043518, 0.06796962767839432, 0.24146722257137299, 0.3079231381416321, 0.29175451397895813, -0.8848610520362854, -0.07768484205007553, 0.01595001481473446, 0.26889970898628235, 0.5292388200759888, -0.00431755231693387, 0.4757978022098541, -0.10025838762521744, 0.3602740168571472, 0.1883917897939682, 0.05103158578276634, -0.09804099053144455, -0.2564306855201721, -0.8007766008377075, 0.007059827446937561, 0.12009643763303757, 0.7483991384506226, -0.6912585496902466, 0.3676852583885193, -0.22633977234363556, -0.16453422605991364, -0.587211549282074, 0.340941846370697, 0.7418895363807678, 0.6338260173797607, 0.3358871042728424, -0.5190668106079102, -0.6977788209915161, -0.9693246483802795, -0.3611311614513397, 0.11341998726129532, -0.09112446010112762, 0.590853214263916, 0.35659193992614746, -0.3527040183544159, 1.1003704071044922, -0.4692125916481018, -0.7133908867835999, -0.22629094123840332, -0.00563574256375432, 0.12119050323963165, 0.4537927210330963, 0.32705506682395935, -1.1582046747207642, -0.33001479506492615, -0.03748215734958649, -0.7201033234596252, 0.26443663239479065, -0.04858499392867088, -0.23125915229320526, -0.10159162431955338, 0.22245004773139954, -0.6180635094642639, 0.3722187578678131, 0.21983231604099274, -0.12777023017406464, 0.351649671792984, -0.3100283741950989, 0.3574979901313782, -0.9884738922119141, 0.42634040117263794, -0.03749852627515793, -0.05903282389044762, -0.7133504748344421, 0.0014381182845681906, 0.1706601232290268, -0.19314540922641754, -0.30142271518707275, 0.5155367255210876, -0.5566303730010986, -0.020012952387332916, -0.12953367829322815, 0.2432132065296173, 0.08694787323474884, 0.8301389217376709, 0.19949056208133698, 0.8140465021133423, 0.528442919254303, -0.9054161906242371, 0.4582761824131012, 0.5462552309036255, -0.15001727640628815, 1.1688951253890991, -0.6126866936683655, 0.6288611888885498, -0.39685940742492676, 0.31740376353263855, -1.069618821144104, -0.09042994678020477, 0.05010515823960304, -0.23730264604091644, 0.18709369003772736, -0.20081503689289093, -0.3047688603401184, -0.5443305373191833, -0.07237038016319275, 0.46584659814834595, 0.20120728015899658, -0.6512107253074646, 0.6641018390655518, 0.48103800415992737, -0.1565924435853958, -0.664793074131012, -0.48672932386398315, 0.10384991019964218, -0.2265416383743286, -0.3311859667301178, 0.42666977643966675, -0.3540676534175873, 0.22870813310146332, -0.2728310823440552, -0.28441476821899414, -0.3086353838443756, -0.14696669578552246, 0.22008752822875977, 0.1295415163040161, -0.06331602483987808, 0.08269573748111725, -0.08724627643823624, -0.20955635607242584, -0.17466798424720764, -0.39949309825897217, 0.2409830242395401, -0.07031171768903732, -0.6062219738960266, -0.314972460269928, 0.7350795269012451, 0.39989998936653137, -0.4320153594017029, 0.446392685174942, 0.6546888947486877, -0.23201212286949158, 0.3172684609889984, -1.0008047819137573, -0.2970716655254364, -0.4556661546230316, 0.43115416169166565, -0.6042547225952148, -1.079799771308899, 0.5433459281921387, -0.08985549956560135, 0.0584346279501915, 0.174615278840065, 0.38355356454849243, 0.15202124416828156, 1.1929080486297607, 0.6484730243682861, -0.06430720537900925, 0.39859867095947266, 0.02616485394537449, 0.1581982970237732, -1.1813530921936035, -0.6441157460212708, -0.6211082339286804, -0.223445862531662, -0.1735014021396637, -0.23000425100326538, 0.45534077286720276, -0.06247381493449211, -0.33474358916282654, 0.4300890266895294, -0.8990604877471924, 0.4133046269416809, 0.945944607257843, 0.18807362020015717, 0.3507864773273468, -0.1775512546300888, -0.14860571920871735, -0.21802577376365662, -0.479380339384079, -0.2702271640300751, 1.1010560989379883, -0.1787792146205902, 0.6509058475494385, 0.3055054843425751, 0.478469580411911, 0.23071692883968353, -0.1224144846200943, -0.5602465867996216, 0.5321346521377563, -0.17194513976573944, -0.8617915511131287, -0.09017792344093323, -0.4440571963787079, -1.0805710554122925, 0.689887523651123, 0.026848768815398216, -1.1859880685806274, 0.44723227620124817, 0.18303100764751434, -0.5428167581558228, 0.0972738116979599, -0.4641300141811371, 1.0408177375793457, -0.3167881965637207, -0.10982337594032288, -0.4115239083766937, -0.9528614282608032, 0.15909439325332642, -0.13773590326309204, -0.02718237414956093, -0.08619215339422226, 0.14320126175880432, 0.6585773229598999, 0.39952346682548523, 0.6994540095329285, -0.49987557530403137, 0.2503598630428314, 0.2864111065864563, 0.2648310363292694, 0.3293207585811615, 0.13241060078144073, -0.2816160321235657, -0.2073652148246765, 0.2607772946357727, -0.1777186095714569, -0.4555809497833252, 0.5266537666320801, -0.5290875434875488, -0.6913139224052429, -0.08619671314954758, -0.29494813084602356, -0.33344778418540955, 0.44581615924835205, 0.2785385251045227, 0.6158368587493896, -0.7860319018363953, 0.6224488615989685, 0.6483519077301025, -0.043034691363573074, 0.3290225565433502, 0.648691713809967, 0.307944655418396, -0.18280181288719177, 0.9302790760993958, -0.3308463394641876, -0.007126359269022942, 0.6738860607147217, -0.08901090919971466, -0.5617259740829468, -0.23917779326438904, -0.4205566942691803, -0.16735178232192993, -0.7274446487426758, -0.35365399718284607, -0.8590104579925537, -0.10627119243144989, -0.2890479564666748, 0.009256698191165924, -0.474496454000473, -0.06444474309682846, -0.6021748781204224, 0.26386281847953796, -0.1208513155579567, 0.46356919407844543, 0.07308603823184967, 0.25274986028671265, -0.7507199048995972, 0.36658230423927307, 0.6004688143730164, 0.3672944903373718, -0.15242229402065277, -0.5762604475021362, -0.06409838050603867, 0.40358006954193115, -0.6883277297019958, -0.8058323264122009, 0.1616644710302353, 0.5517182946205139, 0.8753126263618469, 0.43618062138557434, 0.2119988650083542, 0.5693172216415405, -0.4745505750179291, 0.38923272490501404, 0.3294222354888916, -0.6593796610832214, 0.5699787139892578, -0.22688153386116028, 0.4454802870750427, 0.9917606115341187, 0.15102459490299225, -0.8435037136077881, -0.0004778424627147615, -0.22062082588672638, -0.5917261242866516, 0.9889935255050659, 0.16721130907535553, 0.3380242586135864, 0.04801280051469803, 0.12742699682712555, 0.2034808248281479, 0.4083930552005768, -0.4582471251487732, -0.11201086640357971, -0.3041384816169739, -0.0231875479221344, 0.05944276228547096, -0.4541495442390442, -0.36902180314064026, -0.07341349124908447, 0.44912832975387573, -0.44604867696762085, 0.6880515217781067, 0.15852780640125275, -0.23118187487125397, 0.05831878259778023, 0.7266448736190796, 0.1555711179971695, 0.4315229058265686, -0.29594719409942627, -0.12494659423828125, 0.0655905231833458, -0.2167244255542755, 0.18659785389900208, 0.42460185289382935, 0.257750540971756, -0.052927203476428986, -0.4032873511314392, 0.8421235680580139, 0.7489819526672363, -0.7536819577217102, 0.7265843749046326, -0.2577354609966278, -0.03192150220274925, -0.3862856924533844, 0.021401936188340187, 0.052702583372592926, 0.45323216915130615, 0.8571072816848755, 0.1868300437927246, 0.5892581343650818, -0.46435049176216125, 0.18827314674854279, 0.7647173404693604, -0.4777260422706604, -0.23264746367931366, 0.9178612232208252, 0.5625787973403931, -0.4366363286972046, 0.7769798040390015, -0.36373424530029297, -0.370299756526947, 0.3541181981563568, 0.6695911884307861, 0.9113480448722839, -0.19368240237236023, 0.1917477548122406, 0.2487146109342575, -0.22621381282806396, -0.21893922984600067, 0.1971183717250824, -0.4051271975040436, -0.8095579743385315, -0.03201445937156677, -0.4755314886569977, -0.3560326099395752, -0.059655819088220596, -1.0283408164978027, -0.10887900739908218, 0.03304443508386612, -0.3398047089576721, -0.1772567331790924, -0.12743180990219116, -1.0475480556488037, 0.07447942346334457, 0.0371420718729496, 0.565155565738678, -0.2277982532978058, 0.6485992074012756, 0.6105834245681763, -0.24881519377231598, -0.16728603839874268, -0.20599418878555298, 0.24514855444431305, -0.5992099046707153, 0.44507816433906555, 0.2879757881164551, -0.2585621774196625, 0.13080796599388123, -0.06914578378200531, -1.0741612911224365, 1.1894501447677612, 0.6610615849494934, -0.45621660351753235, -0.34458833932876587, -0.16632536053657532, 0.27061501145362854, -0.40026140213012695, 0.42024362087249756, 0.5440344214439392, 0.14741425216197968, 0.38132792711257935, -1.2091789245605469, 0.08062492311000824, -0.3114812672138214, 0.2932671010494232, 0.10371725261211395, -0.7030514478683472, 0.5283702611923218, -0.26867687702178955, -0.33496689796447754, 0.3456384539604187, 0.3564085364341736, 0.19982247054576874, 0.12073571234941483, 0.4479997754096985, 0.14813776314258575, 0.601385772228241, -0.024740444496273994, 0.7811126708984375, -0.3162730932235718, 0.2705685794353485, 1.0875247716903687, -0.234497532248497, 0.8029488921165466, 0.3636740446090698, 0.016573188826441765, 0.42397215962409973, 0.419838547706604, 0.35638564825057983, 0.7576480507850647, -0.30652570724487305, -0.42704975605010986, -0.5054947137832642, -0.21715308725833893, -0.19126541912555695, 0.6450170874595642, 0.4231884777545929, -0.11591031402349472, -0.23188282549381256, 0.2899410128593445, -0.32216015458106995, -0.07836548984050751, 0.0037430862430483103, 0.8213789463043213, 0.0394277423620224, -0.9521340727806091, 0.4204554855823517, -0.07635911554098129, 0.9457605481147766, -0.46216899156570435, 0.032162245362997055, -0.006877053529024124, 0.3861391544342041, 0.04642391949892044, -0.6910640597343445, -0.021697813645005226, -0.41585099697113037, -0.027132626622915268, -0.2811833620071411, 0.879970908164978, -0.663236677646637, -0.13814470171928406, 0.5569041967391968, 0.5713934302330017, 0.02443045936524868, -0.49130409955978394, -0.9294463992118835, -0.0007501544896513224, 0.15301749110221863, -0.22449682652950287, 0.352160781621933, 0.14241738617420197, 0.3097130060195923, 0.7395338416099548, 0.45566487312316895, -0.4143868386745453, -0.18849867582321167, 0.21464107930660248, 0.798231840133667, -0.5891188979148865, -0.5697519183158875, -0.42688605189323425, 0.44580310583114624, -0.18562091886997223, -0.41402071714401245, 0.4908267557621002, 0.5877025723457336, 0.5544652938842773, 0.016011523082852364, 0.6375243663787842, -0.14119772613048553, 0.6207995414733887, -0.16084587574005127, 0.33565253019332886, -0.5921608805656433, 0.012820912525057793, -0.30624863505363464, -0.9917201399803162, 0.08488918095827103, 0.5205197930335999, 0.11165801435709, 0.186655655503273, 0.6111288666725159, 0.7798753380775452, -0.22603070735931396, 0.2074597030878067, 0.194479838013649, -0.3188098967075348, 0.2500263452529907, 0.9799768924713135, 0.6283110976219177, -0.28874897956848145, 0.9621195197105408, 0.04481044039130211, -0.039006803184747696, -0.4898560047149658, -0.45577120780944824, -0.7765681743621826, -0.9879835844039917, -0.0744374617934227, -0.047978248447179794, 0.21373499929904938, 0.7195780873298645, 0.9339735507965088, -0.6896376609802246, -0.29067790508270264, 0.1367701292037964, -0.07674703747034073, -0.0953807607293129, -0.2146965116262436, 0.04093443229794502, -0.32208433747291565, -0.6798382997512817, 0.7589671015739441, 0.33864423632621765, -0.3033294379711151, -0.07126950472593307, -0.18440139293670654, -0.344676673412323, -0.17483019828796387, 0.5278525948524475, 0.5894377827644348, -0.6979618668556213, -0.40430891513824463, 0.014469420537352562, -0.16026778519153595, 0.20079809427261353, 1.1259340047836304, -0.9016959071159363, 0.7666239142417908, 0.10493215918540955, 0.9060774445533752, 0.6437087655067444, 0.05339685082435608, 0.6443995237350464, -0.9538156390190125, 0.18471060693264008, 0.4232863485813141, 0.25970083475112915, 0.543788731098175, -0.5174780488014221, 0.4143483638763428, 0.11679358780384064, -0.6899878978729248, -0.6109380722045898, 0.26668375730514526, -0.7691471576690674, -0.25757545232772827, 1.164399266242981, 0.13796979188919067, 0.3100295066833496, -0.47031906247138977, -0.3561154305934906, 0.16181311011314392, -0.7262076735496521, 0.6319518089294434, 0.3747032880783081, -0.3444460928440094, -0.14687031507492065, -0.7008090019226074, 0.36152219772338867, 0.5291476845741272, -0.4764120876789093, -0.0528828464448452, 0.5645803809165955, 0.37181973457336426, 0.22718146443367004, 1.1330410242080688, 0.05927242711186409, 0.4416661560535431, -0.1509198248386383, -0.03200575336813927, 0.23773141205310822, -0.3086893856525421, -0.18855781853199005, 0.24464687705039978, -0.08827511966228485, -0.39595702290534973 ]
http://arxiv.org/abs/2402.16248v1
http://arxiv.org/pdf/2402.16248v1
Topic-to-essay generation with knowledge-based content selection
2024-02-26T02:14:42
2024-02-26T02:14:42
Jieyong Wang, Chunyao Song, Yihao Wu
cs.CL
cs.CL, cs.AI
The topic-to-essay generation task is a challenging natural language generation task that aims to generate paragraph-level text with high semantic coherence based on a given set of topic words. Previous work has focused on the introduction of external knowledge, ignoring the insufficient generated text diversity. In order to improve the generation diversity, we propose a novel copy mechanism model with a content selection module that integrates rich semantic knowledge from the language model into the decoder. Furthermore, we introduce the improved prefix tuning method to train the model, enabling it to adapt to varying input complexities. In addition, we have contributed a new Chinese dataset for TEG tasks. Experimental results demonstrate that the proposed model can improve the generated text diversity by 35\% to 59\% compared to the state-of-the-art method, while maintaining a high level of topic consistency.
[ -0.38364362716674805, -0.7753440141677856, 0.4722982347011566, 0.0975358635187149, -0.5649112462997437, -0.09832008183002472, -0.2711866796016693, -0.18584151566028595, 0.11071120202541351, 0.7307128310203552, -0.6642047762870789, -0.40384548902511597, -0.6424258351325989, 0.31359484791755676, -0.4579542875289917, 1.3132717609405518, -0.06837758421897888, -0.2661797106266022, -0.1310466229915619, 0.5462130904197693, -0.5358628034591675, 0.11499189585447311, -0.9337162971496582, -0.191319078207016, 0.4000832140445709, 0.48336511850357056, 0.13717402517795563, 0.6611783504486084, 0.31682804226875305, 0.1752854436635971, -0.058254674077034, 0.35107260942459106, -0.69196617603302, 0.11122346669435501, -0.5538836121559143, -0.34644678235054016, -0.2015918344259262, -0.20413140952587128, 0.7450351119041443, 0.5267006158828735, 0.16188879311084747, -0.09603188186883926, 0.31719139218330383, 0.3701155185699463, -0.4802234470844269, -0.24885205924510956, -1.0370426177978516, -0.00261325784958899, -0.19923943281173706, -0.18792691826820374, -0.5144597887992859, -0.3497489392757416, 0.27615663409233093, -0.7738158702850342, 0.5163384675979614, 0.00682762311771512, 0.8177235126495361, -0.10150495171546936, -0.6462811827659607, -0.3202325403690338, -0.6042308211326599, 0.7979078888893127, -0.5062425136566162, 0.05032995343208313, 0.3072037398815155, -0.21044166386127472, -0.1279025822877884, -0.9104023575782776, -0.6852537989616394, -0.06079735979437828, 0.1426498293876648, 0.2697392404079437, 0.13840395212173462, -0.05430137366056442, 0.07395713031291962, 0.6263933181762695, -0.49475041031837463, -0.23090992867946625, -0.4524497985839844, -0.2618732154369354, 0.6940289735794067, 0.06960426270961761, 0.4601325988769531, -0.3986664116382599, -0.43971893191337585, -0.0452493317425251, -0.5937932729721069, -0.13247224688529968, 0.5734797716140747, 0.3240182399749756, 0.19533246755599976, 0.499347448348999, -0.4176690876483917, 0.5022428631782532, 0.42873114347457886, -0.1174725890159607, -0.0865766778588295, -0.6776649951934814, 0.17070673406124115, 0.14941653609275818, 0.35930150747299194, 0.4272536337375641, -0.010689646936953068, -0.1628410816192627, -0.22968779504299164, -0.06281282752752304, 0.5601297616958618, -0.8159399032592773, -0.04390815645456314, 0.025636576116085052, -0.42429810762405396, -0.33504146337509155, 0.37961286306381226, -0.6696495413780212, 0.2587628960609436, -0.3173060417175293, 0.43328791856765747, -0.7184339761734009, -0.2637856602668762, 0.13056804239749908, -0.4604790508747101, 0.15808247029781342, 0.32495662569999695, -0.8999775052070618, 0.12238048762083054, 0.9147635102272034, 0.7776042222976685, -0.7694305181503296, -0.4550100564956665, -0.39199209213256836, 0.6039949059486389, -0.26395711302757263, 1.0589796304702759, -0.32567453384399414, -0.4468328654766083, 0.09239942580461502, 0.047908518463373184, -0.13308307528495789, -0.3861517310142517, 0.7165282964706421, -0.3791302740573883, 0.5938056707382202, -0.4980356693267822, -0.8096181750297546, -0.08779026567935944, 0.14702248573303223, -0.5802118182182312, 1.0299537181854248, 0.22003859281539917, -0.8661902546882629, 0.6375676393508911, -0.5940972566604614, -0.7639095783233643, 0.05112266540527344, 0.09825653582811356, -0.4507025480270386, 0.21230918169021606, -0.015777183696627617, 0.3317406475543976, -0.3092612326145172, 0.53666090965271, -0.05645916238427162, -0.33909183740615845, -0.060555215924978256, -0.25722289085388184, 0.4685925543308258, 0.42063772678375244, -0.22894400358200073, -0.0535661056637764, -0.7648665308952332, -0.21347759664058685, 0.13104720413684845, -0.48269134759902954, -0.3811458945274353, -0.12920016050338745, -0.020336788147687912, 0.2510826289653778, 0.29403120279312134, -0.48282262682914734, 0.03686743974685669, -0.36030319333076477, 0.2346733957529068, 0.5915682315826416, 0.4850445091724396, 0.4264768958091736, -0.8359561562538147, 0.24786339700222015, 0.06990959495306015, -0.23768699169158936, -0.2654063105583191, -0.5679230093955994, -0.7843624949455261, 0.021224332973361015, 0.04444732144474983, 0.4835781455039978, -0.8176999092102051, 0.6725504994392395, -0.039187241345644, -0.3754720389842987, -0.216314435005188, 0.04934012517333031, 0.13592442870140076, 0.531809389591217, 0.335592657327652, -0.23705606162548065, -0.1315319538116455, -0.6767494678497314, -0.09895052015781403, -0.15346479415893555, 0.04254419356584549, 0.234944686293602, 0.40773987770080566, 0.1603354811668396, 0.8148149251937866, -0.7939069867134094, -0.1621316820383072, -0.5978795886039734, 0.5061101317405701, -0.22648648917675018, 0.6664218306541443, 0.445885568857193, -0.7171695828437805, -0.5130077004432678, -0.09641622751951218, -0.4052373170852661, -0.2751239538192749, -0.2281573861837387, -0.6989728808403015, 0.19467447698116302, 0.4441087543964386, -0.5778176188468933, 0.16376735270023346, 0.06478807330131531, -0.6484386920928955, 0.45350995659828186, -0.15056680142879486, 0.3329469859600067, -1.977289080619812, -0.026744412258267403, 0.040037404745817184, 0.15534909069538116, -0.6609208583831787, 0.06717250496149063, -0.11794710159301758, -0.33337053656578064, -0.45870324969291687, 0.491512656211853, -0.1629275381565094, 0.3407105505466461, -0.7148571610450745, -0.10964665561914444, 0.24923446774482727, 0.41170021891593933, 0.27511149644851685, 0.6625939011573792, 0.42971646785736084, -0.6876034736633301, 0.0855555608868599, 0.5104688405990601, -0.18562468886375427, 0.670224130153656, -0.3665471076965332, 0.1353878378868103, -0.2207104116678238, 0.10140247642993927, -0.9040926098823547, -0.26786941289901733, 0.040652792900800705, -0.31137341260910034, 0.47254034876823425, 0.07335323840379715, -0.08894020318984985, -0.044716332107782364, -0.3383500874042511, 0.16868552565574646, 0.5078876614570618, -0.4163433909416199, 0.3085074722766876, 0.012276003137230873, -0.5565604567527771, -0.31092125177383423, -0.49025097489356995, 0.08939313143491745, -0.3562026619911194, -0.8617790937423706, 0.7928440570831299, -0.09786220639944077, 0.027848729863762856, 0.11873126775026321, 0.09278596937656403, -0.1331997811794281, 0.05840574949979782, -0.2852373719215393, 0.09848634153604507, -0.33317995071411133, 0.34425535798072815, 0.601534903049469, 0.0703083798289299, -0.03233868628740311, -0.8437755107879639, 0.4433760643005371, 0.560581386089325, -0.19211383163928986, -0.28745609521865845, 0.9392262697219849, 0.17479009926319122, -0.315929114818573, 0.706682026386261, 0.6108130216598511, -0.3339952230453491, -0.9776965975761414, -0.33096155524253845, -0.49378305673599243, -0.4417975842952728, 0.5896807312965393, -0.3411579132080078, -0.9076024293899536, 0.28055456280708313, -0.1956835389137268, 0.18778441846370697, 0.7565061450004578, 0.4925520420074463, 0.034488245844841, 0.29241126775741577, 0.7961264848709106, 0.24528785049915314, 0.6242249011993408, -0.064078688621521, 0.08095189183950424, -0.42805761098861694, -0.09090713411569595, -0.5732854008674622, -0.15909452736377716, -0.46679380536079407, -0.425455242395401, -0.07633596658706665, -0.04527994245290756, -0.06098468229174614, 0.16608861088752747, -0.4682212471961975, 0.174799844622612, 0.6380258202552795, 0.14149652421474457, 0.42038634419441223, 0.3554741144180298, 0.04378969967365265, -0.08948222547769547, -0.6941465735435486, -0.5316796898841858, 1.0760202407836914, -0.14965198934078217, 0.3897562623023987, -0.17433682084083557, 0.8703455924987793, 0.4400091767311096, -0.14615346491336823, -0.36472323536872864, 0.8062008619308472, -0.6207318902015686, -0.4643065333366394, -0.38807767629623413, -0.3343859612941742, -0.7617883086204529, 0.012669190764427185, -0.2987040579319, -0.5354416370391846, -0.17946280539035797, -0.1685182750225067, -0.1952965259552002, 0.5136728882789612, -0.39657479524612427, 0.692305326461792, 0.13003769516944885, -0.522944986820221, -0.36020392179489136, -0.28423646092414856, 0.424070805311203, -0.26232048869132996, -0.40692371129989624, 0.12649035453796387, 0.1791556179523468, 0.7424457669258118, -0.2879297733306885, 0.6174057126045227, 0.07003321498632431, -0.3751876652240753, 0.702729344367981, -0.24359609186649323, 0.5081678628921509, 0.191700279712677, -0.3236995339393616, -0.17115715146064758, -0.4981240928173065, -0.259386271238327, -0.4517865777015686, 0.5414946675300598, -0.8025957345962524, -0.9462219476699829, 0.0037856418639421463, -0.6426404714584351, 0.05950867757201195, 0.12017950415611267, 0.737467348575592, 0.315759539604187, -0.26468610763549805, 0.2530306875705719, 0.9254364371299744, -0.36992761492729187, 0.5178903341293335, 0.27558183670043945, 0.10575345903635025, -0.4878356158733368, 1.2867460250854492, 0.12013334780931473, 0.4651002287864685, 0.6091286540031433, 0.10502757132053375, -0.047322649508714676, -0.7914707660675049, -0.3289974629878998, 0.07093355804681778, -0.6409069895744324, 0.058623526245355606, -1.0506832599639893, -0.5030244588851929, -0.5103873014450073, -0.3607681691646576, -0.3492884039878845, -0.4066522419452667, -0.5772133469581604, -0.22469140589237213, 0.28577205538749695, 0.5840810537338257, 0.14425557851791382, 0.3088569939136505, -0.6860891580581665, 0.507282018661499, 0.3335486948490143, 0.2994094491004944, -0.12277860939502716, -0.7430868744850159, -0.2064022272825241, -0.32321494817733765, -0.7228723764419556, -0.8784447312355042, 0.07677098363637924, 0.2141261249780655, 0.5357089638710022, 0.3989375829696655, 0.26135075092315674, 0.13467885553836823, -0.13337565958499908, 1.0486853122711182, -0.033504702150821686, -0.9846770763397217, 0.8360292911529541, -0.45134902000427246, 0.27662473917007446, 0.5834864377975464, 0.28591135144233704, -0.4592572748661041, -0.8366761803627014, -0.4636504054069519, -0.7922744154930115, 0.8519411087036133, 0.3105814754962921, 0.2814134955406189, -0.08091853559017181, 0.4728739857673645, 0.798193097114563, 0.0897156223654747, -0.799123227596283, 0.08866822719573975, -0.4068143665790558, -0.29824984073638916, 0.18027305603027344, -0.22251735627651215, 0.29271337389945984, 0.10062237083911896, 1.0255924463272095, -0.28726086020469666, 0.3254148066043854, 0.2687179148197174, 0.152321919798851, -0.24568520486354828, 0.36085233092308044, 0.7075412273406982, 0.3996630609035492, 0.03101697377860546, -0.008373039774596691, 0.32125037908554077, -0.7165208458900452, 0.03969994932413101, 0.1342892348766327, -0.7710815668106079, 0.06618142873048782, 0.2559027075767517, 0.9673780202865601, -0.3067292273044586, -0.14692163467407227, 0.2536332607269287, -0.1302536129951477, -0.6263718605041504, -0.0027154043782502413, 0.44827067852020264, 0.12388527393341064, 0.04836257919669151, 0.323158323764801, -0.09619978815317154, 0.08547397702932358, -0.4387061893939972, 0.546437680721283, 0.28611043095588684, -0.19505557417869568, -0.2530607581138611, 0.5209272503852844, 0.47410282492637634, -0.21569523215293884, 0.5772057771682739, -0.541100263595581, -0.41245168447494507, 0.7160953879356384, 0.8442621231079102, 1.0979743003845215, -0.03050892986357212, 0.42975693941116333, 0.5959445238113403, 0.28457802534103394, -0.2973051369190216, 0.5585068464279175, 0.03218811750411987, -0.7686947584152222, -0.4587181508541107, -0.6028432846069336, -0.25882837176322937, 0.3401990234851837, -0.36612316966056824, 0.6418682932853699, -0.1792968213558197, -0.04599527642130852, -0.43355849385261536, 0.1520039141178131, -0.10245657712221146, 0.4830262064933777, 0.10640932619571686, 0.7388272285461426, -0.7685438990592957, 0.8536693453788757, 0.8522533774375916, -0.26034823060035706, -0.8005341291427612, 0.6788740158081055, -0.46139422059059143, -0.09892348200082779, 0.3018782436847687, 0.03586525842547417, 0.2589508891105652, 0.045548584312200546, -0.2512449026107788, -0.7321874499320984, 1.1934324502944946, 0.3658686578273773, -0.18150176107883453, -0.14710833132266998, 0.4788062870502472, 0.2778528034687042, -0.5815399885177612, -0.10499260574579239, 0.08930496126413345, 0.424296110868454, 0.3455449342727661, -0.4440862834453583, 0.18895453214645386, -0.34456366300582886, 0.014245433732867241, 0.10269129276275635, -0.8889180421829224, 1.072523832321167, -0.05080496892333031, -0.15493983030319214, -0.08272721618413925, 1.0229570865631104, 0.32596322894096375, 0.5598440170288086, 0.32914817333221436, 0.6658874154090881, 0.6859166622161865, -0.002593971323221922, 0.7556216716766357, -0.6210311055183411, 0.05785543471574783, 0.907415509223938, -0.2852855324745178, 0.47408249974250793, 0.4063790440559387, 0.2848424017429352, 0.37355247139930725, 0.4488663673400879, -0.3064902722835541, 0.6493825316429138, 0.14740675687789917, -0.4665546417236328, -0.3588505983352661, -0.4332554042339325, -0.449167937040329, 0.4331763982772827, -0.02971411496400833, -0.44922512769699097, -0.20563088357448578, 0.0031655861530452967, -0.23518137633800507, 0.30900368094444275, -0.31084272265434265, 1.0959817171096802, 0.02481723390519619, -1.3520585298538208, -0.016010651364922523, 0.30896127223968506, 0.740897536277771, -0.8005523681640625, -0.06339837610721588, -0.3288367688655853, -0.1260155886411667, 0.003667242359369993, -0.7350261807441711, 0.5656214952468872, -0.010383384302258492, -0.4414442777633667, -0.33184266090393066, 1.414322018623352, -0.7397886514663696, -0.5283747911453247, 0.08484897017478943, 0.5853034257888794, -0.22273693978786469, 0.06428878754377365, -0.1654922217130661, -0.3407615125179291, 0.1989533007144928, -0.30648964643478394, 0.2712351679801941, 0.851311206817627, -0.09627414494752884, 0.11489362269639969, 0.5259171724319458, 0.13063649833202362, -0.10961485654115677, -0.2545652985572815, 0.588026225566864, -0.8126147389411926, -0.9777283072471619, -0.7341315746307373, 0.4580948054790497, -0.2013741284608841, -0.5584231019020081, 0.5243178009986877, 0.5310409069061279, 0.9923239946365356, -0.1744234561920166, 1.1737903356552124, -0.07455851882696152, 0.3803347051143646, -0.6036306619644165, 0.8732258677482605, -0.5885853171348572, -0.01105949841439724, -0.34313109517097473, -0.9963726997375488, 0.2932118773460388, 0.195530965924263, -0.15072819590568542, -0.024233270436525345, 0.8671522736549377, 0.6806030869483948, -0.12069738656282425, 0.47852596640586853, 0.32568204402923584, -0.2788817286491394, 0.1442175656557083, 0.741131067276001, 1.0224605798721313, -0.2242111712694168, 0.5245004892349243, -0.16699248552322388, 0.0996440127491951, 0.1136014312505722, -0.9794861078262329, -1.1254677772521973, -0.759832501411438, -0.490224152803421, -0.24984779953956604, 0.12667027115821838, 0.8749077320098877, 0.5484986901283264, -0.69171541929245, -0.07567442953586578, -0.39086073637008667, 0.1263151615858078, -0.03592737764120102, -0.20627687871456146, 0.2655464708805084, -0.49912336468696594, -0.7221100330352783, -0.015924762934446335, 0.24194087088108063, 0.08136454224586487, 0.07970567047595978, -0.025726867839694023, -0.22869321703910828, 0.47354111075401306, 0.4110008478164673, -0.2512884736061096, -0.3306097090244293, -0.21442723274230957, -0.11765505373477936, -0.22504156827926636, 0.027728445827960968, 1.0506494045257568, -0.2252839207649231, -0.04300757497549057, 0.6735420823097229, 0.8108784556388855, 0.4172956943511963, 0.01579090766608715, 0.828301191329956, -0.6471260786056519, -0.13321420550346375, -0.02585277147591114, 0.26270002126693726, 0.354723185300827, -0.6062189936637878, 0.1366204172372818, 0.6370322704315186, -0.2652905583381653, -0.33797988295555115, 0.19476357102394104, -0.8158506155014038, -0.6914708614349365, 1.1304484605789185, -0.17512138187885284, -0.029779352247714996, -0.06265091150999069, -0.44829124212265015, 0.8511027097702026, -0.6335490345954895, 1.025501012802124, 0.8296048641204834, 0.3442309498786926, -0.0784740000963211, -0.1525535136461258, 0.6689964532852173, 0.6187787055969238, -1.1710087060928345, -0.062897689640522, 0.305742084980011, 0.28787538409233093, 0.024865373969078064, 0.3262138366699219, 0.09646341949701309, 0.35353884100914, 0.09896252304315567, 0.0223495252430439, -0.06561312079429626, -0.31484338641166687, 0.03891640901565552, 0.702369213104248, -0.034524787217378616, 0.1733451932668686 ]
http://arxiv.org/abs/2402.16247v1
http://arxiv.org/pdf/2402.16247v1
Learning Translations: Emergent Communication Pretraining for Cooperative Language Acquisition
2024-02-26T02:13:36
2024-02-26T02:13:36
Dylan Cope, Peter McBurney
cs.LG
cs.LG, cs.CL, cs.MA
In Emergent Communication (EC) agents learn to communicate with one another, but the protocols that they develop are specialised to their training community. This observation led to research into Zero-Shot Coordination (ZSC) for learning communication strategies that are robust to agents not encountered during training. However, ZSC typically assumes that no prior data is available about the agents that will be encountered in the zero-shot setting. In many cases, this presents an unnecessarily hard problem and rules out communication via preestablished conventions. We propose a novel AI challenge called a Cooperative Language Acquisition Problem (CLAP) in which the ZSC assumptions are relaxed by allowing a 'joiner' agent to learn from a dataset of interactions between agents in a target community. We propose and compare two methods for solving CLAPs: Imitation Learning (IL), and Emergent Communication pretraining and Translation Learning (ECTL), in which an agent is trained in self-play with EC and then learns from the data to translate between the emergent protocol and the target community's protocol.
[ -0.07682482153177261, -0.8401877284049988, 0.6091140508651733, 0.43684306740760803, -0.19259893894195557, 0.6375129222869873, -0.2557600736618042, -0.736859917640686, 0.3588378131389618, 0.14200103282928467, -0.5699185132980347, -0.37298858165740967, -0.6567953824996948, 0.0023463747929781675, -0.20524875819683075, 0.8840306997299194, -0.06433455646038055, 0.02902238816022873, -0.025268178433179855, -0.14087975025177002, -0.09351266920566559, -0.38767126202583313, -0.731830358505249, -0.5631722807884216, 0.43054044246673584, 0.8337239623069763, 0.46026480197906494, 0.462682843208313, 0.2328706979751587, 0.45734766125679016, 0.20822598040103912, -0.013814370147883892, -0.5202475786209106, 0.16831746697425842, -0.15660478174686432, -0.819831371307373, -0.2812798321247101, 0.19462554156780243, 0.3967607915401459, 0.8632667064666748, -0.2309393286705017, 0.07234501093626022, -0.13884104788303375, 0.5837706327438354, -0.5265475511550903, 0.6336559653282166, -0.42213764786720276, 0.12835071980953217, -0.16073666512966156, -0.14795106649398804, -0.52346271276474, -0.04956789314746857, 0.2732865810394287, -0.6412534117698669, 0.007087408099323511, 0.023928137496113777, 0.7174673676490784, -0.09386243671178818, -0.4026522934436798, -0.30836421251296997, -0.917625367641449, 0.5985189080238342, -0.3462933301925659, 0.1633118987083435, 0.5059253573417664, 0.20660756528377533, -0.36462152004241943, -0.5065168738365173, -0.8220338225364685, -0.025134874507784843, 0.24190452694892883, 0.46857526898384094, -0.21141408383846283, 0.11362295597791672, -0.29503223299980164, 0.13715891540050507, -0.4580039381980896, 0.22670458257198334, -0.4198378324508667, -0.17028360068798065, 0.45404955744743347, -0.11616624146699905, 0.3742831349372864, 0.11923662573099136, -0.5550099611282349, -0.3256806433200836, -0.46346515417099, 0.16521532833576202, 0.22674307227134705, 0.4201519787311554, -0.6274291276931763, 0.23988614976406097, -0.07959183305501938, 0.5461109280586243, 0.3076269328594208, 0.23673661053180695, 0.35372620820999146, -0.20204567909240723, 0.06917344778776169, -0.06735880672931671, 0.8205440044403076, -0.017431864514946938, 0.2715912163257599, -0.43211254477500916, -0.17050877213478088, 0.2041027694940567, 0.042318083345890045, -0.07778819650411606, -0.18823184072971344, 0.3014816641807556, -0.12212084233760834, -0.34075507521629333, 0.03371553122997284, -0.4040580987930298, 0.19077157974243164, -0.13293775916099548, 0.5965662002563477, -0.3445451557636261, -0.49352169036865234, -0.1416226476430893, -0.17071425914764404, 0.6867297887802124, 0.26840493083000183, -0.8787311315536499, 0.3940812647342682, 0.5145083069801331, 0.8431025743484497, 0.08113274723291397, -0.855377197265625, -0.5798993706703186, 0.1659563034772873, -0.5636623501777649, 0.858576774597168, -0.21963870525360107, -0.2566140592098236, -0.06426140666007996, -0.09208038449287415, -0.30794256925582886, -0.20256617665290833, -0.19767799973487854, -0.5733611583709717, 0.0623183511197567, 0.12713660299777985, -0.4656723439693451, 0.09988361597061157, 0.1585359126329422, -0.3559344410896301, 0.37655559182167053, 0.4875129461288452, -0.39121654629707336, 0.15125532448291779, -0.5161489844322205, -0.5970815420150757, 0.31244874000549316, -0.41379719972610474, -0.1477603167295456, 0.002892198972404003, -0.18833370506763458, 0.17484770715236664, 0.1442512720823288, -0.11290059238672256, -0.07300266623497009, -0.14828327298164368, 0.06948558986186981, -0.056025877594947815, 0.8157863020896912, 0.22774836421012878, -0.5572389364242554, 0.18810434639453888, -0.524141788482666, 0.18098075687885284, 0.25472015142440796, -0.0663347989320755, -0.09327007830142975, 0.13512036204338074, -0.47407954931259155, 0.3416602611541748, 0.36821699142456055, -0.5398942828178406, 0.0426236055791378, -0.5481067299842834, 0.3660224974155426, 0.7462894320487976, -0.011827699840068817, 0.9075965285301208, -0.506915807723999, 0.48316293954849243, 0.4059477150440216, 0.37873849272727966, -0.3468327820301056, -0.3834180235862732, -0.8001933693885803, 0.21594518423080444, 0.06083766371011734, 0.6283403038978577, -1.3496501445770264, 0.4594694674015045, -0.04404865950345993, -0.5816184878349304, -0.7117791771888733, 0.1724596619606018, 0.6681141257286072, 0.1696704626083374, 0.5045221447944641, -0.5980558395385742, -0.42664170265197754, -0.39456281065940857, 0.1847197711467743, -0.5260753631591797, 0.18399764597415924, 0.27151724696159363, 0.17661207914352417, 0.001229502260684967, 0.8552262187004089, -0.025446157902479172, -0.5817100405693054, -0.685152530670166, 0.5602806210517883, -0.004141473677009344, 0.6321514844894409, 0.5122875571250916, -0.7426432967185974, -0.930046558380127, 0.252007395029068, -0.6785770058631897, 0.07465731352567673, -0.23397785425186157, 0.2576574981212616, 0.19253124296665192, 0.6558603048324585, -0.47928744554519653, 0.40141478180885315, 1.1087419986724854, -0.11970683187246323, 0.7557007074356079, -0.5034130811691284, 0.05107424780726433, -0.9614622592926025, -0.1451510190963745, -0.4963676631450653, -0.46917057037353516, -0.7546409368515015, 0.31475767493247986, -0.11506012082099915, 0.10615868121385574, -0.7561937570571899, 0.5611630082130432, -0.9422746896743774, -0.014796744100749493, -0.3261669874191284, 0.4789207875728607, -0.45641911029815674, 0.6099948287010193, 0.20631815493106842, 0.6690517067909241, 0.7973842024803162, -0.6990645527839661, 0.31967484951019287, 0.44762688875198364, -0.08736437559127808, 0.3923080265522003, -0.6493677496910095, 0.4428881108760834, -0.1453181356191635, 0.3837558925151825, -0.7140758037567139, -0.025748735293745995, 0.4491325318813324, -0.8184593319892883, 0.1761891394853592, -0.10985863953828812, -0.13211943209171295, -0.2639957368373871, 0.012952075339853764, 0.5271220207214355, 0.5469866394996643, -0.49977314472198486, 0.35231247544288635, 0.27482450008392334, 0.08886121958494186, -0.8335787057876587, -0.4916229248046875, -0.0025289678014814854, 0.2579760253429413, -0.25709068775177, 0.06901124864816666, -0.14813411235809326, -0.1047934964299202, 0.0011346989776939154, 0.09850053489208221, -0.2933526635169983, 0.1840193271636963, 0.12749074399471283, -0.04800204560160637, -0.16847990453243256, -0.1438005417585373, -0.160767063498497, -0.3003082871437073, -0.0818982720375061, -0.3269360065460205, 0.6901730895042419, -0.19459620118141174, -0.32677724957466125, -0.4687623083591461, 0.5499505996704102, 0.4855908155441284, -0.19912408292293549, 1.0424275398254395, 0.28117889165878296, 0.18902599811553955, -0.40709272027015686, -0.2880660593509674, -0.143906369805336, -0.48861464858055115, 0.12431845813989639, -0.2728758454322815, -0.6164197325706482, 0.5469404458999634, -0.33383649587631226, -0.10730869323015213, 0.021462395787239075, 0.14751394093036652, -0.2926948368549347, 0.774143636226654, 0.984581470489502, -0.16281980276107788, 0.6531461477279663, -0.23648211359977722, 0.07832062989473343, -0.5749640464782715, -0.150639608502388, -0.4923168122768402, -0.2175716906785965, -0.32775989174842834, -0.7226976752281189, 0.12116090953350067, 0.14174146950244904, -0.12257519364356995, 0.7709984183311462, 0.036037202924489975, 0.6536778211593628, 0.584483802318573, 0.10550770163536072, 0.32413575053215027, -0.16739721596240997, -0.32731255888938904, 0.18782535195350647, -0.9511296153068542, -0.15598775446414948, 0.8994548916816711, -0.03065899759531021, 0.5140385031700134, 0.28152143955230713, 1.1454713344573975, 0.0319928377866745, 0.447306752204895, -0.7545388340950012, 0.3611598312854767, 0.10206777602434158, -0.2730529010295868, -0.4145936667919159, -0.642286479473114, -1.403738021850586, 0.06765931844711304, -0.35779619216918945, -0.7441123723983765, 0.3676542341709137, 0.07124944776296616, -0.08827655762434006, 0.23693574965000153, -0.6893864870071411, 0.612951397895813, -0.2351241409778595, -0.24938493967056274, -0.3123909533023834, -1.1567624807357788, -0.012686623260378838, -0.08315844088792801, 0.4138188064098358, 0.049316730350255966, 0.10607395321130753, 0.3060533106327057, -0.17077545821666718, 1.0252654552459717, -0.04636843129992485, 0.00966711062937975, 0.4370071291923523, 0.25664612650871277, 0.47830021381378174, -0.39341291785240173, -0.019906867295503616, 0.07710724323987961, -0.031110772863030434, -0.8991145491600037, -0.6336489915847778, -0.03921814262866974, -1.1265456676483154, -0.5170310139656067, -0.5339037775993347, -0.22968260943889618, -0.10978525876998901, 0.31676021218299866, 0.4420897662639618, 0.053835466504096985, -0.6708570122718811, 0.16405941545963287, 0.21881912648677826, 0.05423406884074211, 0.6008340120315552, 1.0813226699829102, -0.0025197172071784735, -0.20533901453018188, 0.9363399147987366, -0.09289943426847458, 0.8237979412078857, 0.36247292160987854, -0.04098247364163399, -0.14235174655914307, -0.6681132316589355, -0.25582972168922424, 0.2732798159122467, -0.38704827427864075, -0.13960593938827515, -0.45944350957870483, -0.4309432804584503, -0.4890110194683075, -0.2601970136165619, -0.5302189588546753, -0.13485419750213623, -0.19963908195495605, 0.08584769815206528, -0.357265442609787, 0.8030481338500977, -0.5978320837020874, 0.7632372379302979, -1.070809245109558, 0.02788403257727623, 0.045120153576135635, 0.2910906672477722, 0.02417290396988392, -0.1851404458284378, -0.3773513734340668, 0.3289169669151306, -0.35867178440093994, -1.0747987031936646, 0.36436212062835693, 0.2942367196083069, 0.733443558216095, 0.5488726496696472, 0.3834880292415619, 0.6082851886749268, -0.5928683280944824, 0.6100781559944153, 0.421687513589859, -1.0256831645965576, 0.5692053437232971, -0.18821139633655548, 0.2239847034215927, 0.6917814612388611, 0.6580394506454468, -0.609504759311676, -0.6752564907073975, -1.1183570623397827, -0.7586575150489807, 0.6948509216308594, 0.22031289339065552, 0.19747190177440643, -0.45628681778907776, 0.17529548704624176, -0.019011851400136948, 0.1366075873374939, -0.7680082321166992, -0.24029535055160522, 0.15374591946601868, 0.0012338688829913735, -0.6758147478103638, 0.20377306640148163, -0.12965869903564453, -0.11311465501785278, 0.31686246395111084, -0.12296313792467117, 0.1572408825159073, 0.42648735642433167, -0.4021722078323364, -0.406432181596756, 0.2890785336494446, 0.35697269439697266, 0.39376991987228394, 0.13398975133895874, 0.12723147869110107, -0.19893188774585724, -0.32748082280158997, 0.49495723843574524, -0.37050995230674744, -0.04933673143386841, -0.19754499197006226, 0.40860188007354736, 0.69303297996521, 0.40772491693496704, -0.5324940085411072, 0.9277839660644531, 0.04690483212471008, -0.3128547966480255, -0.334432452917099, 0.12059559673070908, -0.02340303547680378, 0.32539987564086914, 0.24215450882911682, 0.21368782222270966, -0.40777239203453064, -0.8947572112083435, 0.4327959418296814, 0.3357815742492676, -0.5135175585746765, -0.7394942045211792, 0.3325697183609009, 0.4638647735118866, -0.7536426186561584, 0.7477521896362305, -0.4138643741607666, -0.6061160564422607, 0.7293183207511902, 0.8640676736831665, 0.6882901191711426, -0.6869947910308838, 0.783593475818634, 0.18802016973495483, 0.37480786442756653, -0.20521123707294464, 0.1376807987689972, -0.5863507390022278, -1.1234467029571533, -0.3050091564655304, -0.14026254415512085, -0.7781254649162292, -0.23406589031219482, -0.6701071858406067, 0.019058160483837128, -0.3649287521839142, 0.13270409405231476, -0.3553234934806824, -0.019238043576478958, -0.6813762784004211, -0.20505082607269287, -0.019350070506334305, 0.715999186038971, -0.9976183176040649, 0.9416468143463135, 0.5199676156044006, -0.5570412278175354, -1.0121877193450928, -0.039705790579319, -0.17011556029319763, -0.8735848665237427, 0.45427191257476807, -0.13166983425617218, -0.10815010964870453, 0.5512612462043762, -0.7993241548538208, -0.7096534967422485, 0.9436087608337402, 0.2938142418861389, -0.3687385022640228, 0.005026225000619888, 0.07484505325555801, 0.5964640378952026, -0.3923583924770355, 0.32525578141212463, 0.324693888425827, 0.28375929594039917, 0.2095605880022049, -1.1123262643814087, -0.400714248418808, -0.18267500400543213, -0.6843436360359192, -0.01950169913470745, -1.0052275657653809, 0.9835676550865173, -0.5563474893569946, -0.5651223659515381, 0.26650381088256836, 0.8333700895309448, -0.034731119871139526, 0.37652403116226196, 0.4491511583328247, 0.05627782270312309, 0.544136106967926, 0.16179761290550232, 0.8054187297821045, -0.21260736882686615, 0.3729693591594696, 1.4633256196975708, -0.4358772337436676, 1.0413352251052856, 0.5526638627052307, -0.13413524627685547, 0.7254500389099121, 0.24781545996665955, 0.3495732545852661, 0.1610252410173416, 0.022567780688405037, -0.4634547829627991, -0.13450473546981812, 0.05011468380689621, -0.23994217813014984, 0.803325891494751, 0.4237746298313141, 0.033518653362989426, -0.4971258044242859, -0.11444294452667236, -0.25019824504852295, 0.4139946401119232, 0.03931185603141785, 1.0499780178070068, 0.14238150417804718, -0.6383177042007446, 0.31705135107040405, -0.28402993083000183, 0.48360195755958557, -0.7623620629310608, -0.025915898382663727, -0.29750654101371765, 0.1873111128807068, -0.022173434495925903, -0.4986046552658081, 0.10236658900976181, -0.4852040708065033, 0.14732585847377777, -0.1822742223739624, 0.24456089735031128, -0.813781201839447, 0.1301157921552658, 0.7090336084365845, 1.105168342590332, 0.4346475601196289, 0.2631828486919403, -0.7736536264419556, -0.16867858171463013, -0.3106570541858673, 0.08827507495880127, 0.4643860161304474, 0.43783849477767944, 0.029564188793301582, 0.7719583511352539, 0.6097093820571899, 0.5229538083076477, 0.15272238850593567, -0.19346146285533905, 0.6936694383621216, -0.3779941201210022, -0.7198324799537659, -0.40054890513420105, 0.19141510128974915, -0.03687174245715141, 0.029595471918582916, 0.7688048481941223, 0.16212831437587738, 1.021828532218933, -0.06847546994686127, 0.5204156041145325, -0.16098979115486145, 0.13963299989700317, -0.1814192682504654, 0.7735161185264587, -0.17028166353702545, -0.11135964095592499, -0.28351911902427673, -0.7791216373443604, -0.20869030058383942, 0.8286730051040649, -0.05682385340332985, -0.14976610243320465, 0.8460509777069092, 0.46627065539360046, 0.0456201434135437, -0.11078241467475891, 0.6066668629646301, 0.34865328669548035, 0.34682855010032654, 0.8504904508590698, 0.9278572201728821, -0.4514031708240509, 0.5221801996231079, -0.25769734382629395, -0.5247128009796143, 0.13176366686820984, -0.789218008518219, -0.6359469294548035, -0.7023044228553772, -0.20188504457473755, -0.17631796002388, 0.2269999384880066, 1.1509242057800293, 0.8196858763694763, -0.6830089092254639, -0.5397508144378662, -0.375530481338501, 0.25982382893562317, -0.5643453001976013, -0.17634941637516022, 0.06638778746128082, -0.8285222053527832, -0.807914137840271, 0.7333151698112488, 0.1590377390384674, 0.44276222586631775, -0.06980594247579575, -0.27685824036598206, -0.4718814194202423, 0.08178610354661942, 0.4914085566997528, 1.1465798616409302, -0.2729869484901428, -0.39608481526374817, -0.21629281342029572, 0.0029336989391595125, 0.23047707974910736, 0.8141072988510132, -0.761653482913971, 0.5276702046394348, 0.22473467886447906, 0.5335618257522583, 0.3051832616329193, 0.04771234467625618, 0.8393366932868958, -0.9235637187957764, 0.6678634285926819, 0.1991344541311264, -0.18976010382175446, 0.02259398065507412, -0.2134537249803543, 0.18541035056114197, 0.3554849624633789, -0.47449859976768494, -0.5167771577835083, 0.378156453371048, -0.9206122756004333, -0.1368437260389328, 0.8306609392166138, -0.5166016221046448, -0.5714778304100037, -0.6084949970245361, 0.013932816684246063, 0.490422785282135, -0.16182951629161835, 0.8497282266616821, 0.5081761479377747, 0.014159727841615677, -0.26402947306632996, -0.09502299129962921, 0.48115116357803345, 0.5431473851203918, -0.587821900844574, -0.09284351766109467, 0.12415547668933868, 0.2042551338672638, 0.3311639130115509, 1.1949362754821777, -0.11425674706697464, 0.4310668110847473, 0.25312185287475586, 0.07924596965312958, 0.08643605560064316, -0.6531533002853394, -0.1738085001707077, -0.05952920392155647, 0.04448787495493889, -0.2810526192188263 ]
http://arxiv.org/abs/2403.04770v1
http://arxiv.org/pdf/2403.04770v1
Social Orientation: A New Feature for Dialogue Analysis
2024-02-26T01:55:45
2024-02-26T01:55:45
Todd Morrill, Zhaoyuan Deng, Yanda Chen, Amith Ananthram, Colin Wayne Leach, Kathleen McKeown
cs.CL
cs.CL, cs.LG
There are many settings where it is useful to predict and explain the success or failure of a dialogue. Circumplex theory from psychology models the social orientations (e.g., Warm-Agreeable, Arrogant-Calculating) of conversation participants and can be used to predict and explain the outcome of social interactions. Our work is novel in its systematic application of social orientation tags to modeling conversation outcomes. In this paper, we introduce a new data set of dialogue utterances machine-labeled with social orientation tags. We show that social orientation tags improve task performance, especially in low-resource settings, on both English and Chinese language benchmarks. We also demonstrate how social orientation tags help explain the outcomes of social interactions when used in neural models. Based on these results showing the utility of social orientation tags for dialogue outcome prediction tasks, we release our data sets, code, and models that are fine-tuned to predict social orientation tags on dialogue utterances.
[ -0.28755101561546326, -0.5581051111221313, 0.5468245148658752, 0.634730339050293, -0.19358126819133759, 0.3788597285747528, -0.3442196846008301, -0.26060909032821655, 0.7376583218574524, 0.25570908188819885, -0.4184965193271637, -0.7309650182723999, -0.5138127207756042, -0.305428147315979, -0.16549716889858246, 0.9859138131141663, 0.3094765841960907, 0.3358166515827179, -0.2840069830417633, -0.37327471375465393, -0.33809715509414673, -0.7806533575057983, -0.8783562779426575, -0.5769935846328735, 0.7147719264030457, 0.48717200756073, 0.8651998043060303, 0.5492193698883057, 0.3804726302623749, 0.3652658760547638, -0.26185014843940735, -0.15513072907924652, -0.39966338872909546, 0.0689067393541336, 0.052216436713933945, -0.4407806694507599, -0.8195926547050476, 0.13403761386871338, 0.6953837871551514, 0.8956128358840942, -0.3201213479042053, 0.08824752271175385, 0.44124212861061096, 0.620311975479126, -0.1922321915626526, 0.29834964871406555, -0.4250771403312683, -0.07568123936653137, -0.024659691378474236, -0.2590492069721222, -0.1509605050086975, -0.6139243841171265, 0.3740624487400055, -0.30265098810195923, 0.29889771342277527, 0.03761539235711098, 0.5439561009407043, -0.13651227951049805, -0.2625093162059784, -0.14531703293323517, -0.7943572402000427, 0.6672993898391724, -0.5480940341949463, 0.168216273188591, 0.2908022403717041, 0.3893815875053406, -0.23407377302646637, -0.22929511964321136, -0.5211939215660095, 0.08191434293985367, -0.11748971045017242, -0.0801006555557251, 0.26121753454208374, 0.3100799024105072, 0.08320757746696472, 0.0881289392709732, -0.32099777460098267, -0.14029060304164886, -0.22227755188941956, -0.05749955028295517, 0.8172828555107117, 0.2883104383945465, 0.2873791456222534, -0.2617911994457245, -0.30107712745666504, 0.013376913964748383, -0.21618063747882843, 0.41837653517723083, 0.3093678057193756, 0.29136762022972107, -0.49678748846054077, 0.336140900850296, -0.45149293541908264, 0.21969236433506012, 0.26359236240386963, -0.33360522985458374, 0.34959548711776733, -0.33767643570899963, 0.043529558926820755, 0.222764253616333, 0.6278243064880371, 0.8831937909126282, 0.19237083196640015, -0.009393278509378433, 0.19919410347938538, 0.2541026771068573, -0.10457921773195267, -0.505531370639801, -0.3131343424320221, 0.19256873428821564, -0.7159128189086914, -0.54890376329422, -0.28506267070770264, -0.7034001350402832, -0.7290699481964111, -0.360932320356369, -0.23403282463550568, -0.4973069429397583, -0.6553846597671509, 0.0898103341460228, -0.48709431290626526, 0.6766572594642639, 0.5305796265602112, -0.6770732402801514, 0.25440463423728943, 1.0867732763290405, 0.9991897940635681, -0.13795137405395508, -0.12615486979484558, -0.4704669117927551, -0.031205803155899048, 0.04995322600007057, 0.7616316676139832, -0.8675029277801514, -0.42578214406967163, 0.19513261318206787, 0.22721520066261292, -0.0004966224078088999, 0.09789945930242538, 0.31027641892433167, -0.03427688777446747, -0.05343351513147354, -0.34677383303642273, -0.24367550015449524, -0.19958645105361938, 0.18780717253684998, -0.40689289569854736, 0.5537903904914856, -0.08951574563980103, -0.5902419090270996, 0.2821558713912964, -0.6710099577903748, -0.4051024913787842, 0.49185484647750854, -0.3078629672527313, -0.12213952094316483, 0.24456894397735596, -0.5010241866111755, 0.45375531911849976, -0.19983994960784912, 0.3786749243736267, -0.7582374811172485, -0.23825235664844513, 0.6286363005638123, -0.13545653223991394, 0.8438511490821838, 0.10086794197559357, -0.2230452299118042, -0.07907171547412872, -0.6827202439308167, 0.18445734679698944, -0.12058727443218231, -0.19163255393505096, -0.5496760606765747, 0.4868904948234558, -0.1734660118818283, -0.04316980391740799, 0.33894360065460205, -0.6649574041366577, -0.1447405219078064, -0.18393510580062866, 0.35168588161468506, 0.6989781260490417, -0.27563124895095825, 0.7853818535804749, -0.19555456936359406, 0.5806393027305603, -0.19953112304210663, 0.2832522392272949, 0.11119918525218964, -0.728900134563446, -0.5740864276885986, -0.11266832053661346, 0.05382511019706726, 0.46423834562301636, -0.8609799146652222, 0.31912994384765625, -0.2049129158258438, -0.7346237897872925, -0.37055233120918274, 0.05486264452338219, 0.6877822279930115, 0.1867235153913498, -0.20004115998744965, -0.7349932193756104, -0.4486570954322815, -0.7705957293510437, -0.5577205419540405, -0.48239007592201233, 0.05488501489162445, 0.44734740257263184, -0.15097187459468842, -0.1255108267068863, 0.7721614241600037, -0.47097885608673096, 0.06573383510112762, -0.624083936214447, 0.40197914838790894, 0.13797302544116974, 0.48575854301452637, 0.38802704215049744, -0.7874229550361633, -0.5985480546951294, 0.09351466596126556, -0.5804420709609985, -0.01608482003211975, 0.17374448478221893, -0.3876184821128845, 0.16167780756950378, 0.24802149832248688, -0.3444623649120331, 0.5633082389831543, 0.5342932939529419, -0.3414972722530365, 0.33610236644744873, 0.1040024682879448, -0.039461810141801834, -0.9587974548339844, -0.39866432547569275, 0.5894644856452942, -0.0441221222281456, -0.9787513613700867, -0.46476611495018005, -0.21545125544071198, -0.12099163234233856, -0.5747994184494019, 0.33990707993507385, -0.26549726724624634, -0.036321137100458145, -0.11499903351068497, 0.18631164729595184, 0.08842727541923523, 0.8481467962265015, 0.36099711060523987, 0.2618557810783386, 0.20491540431976318, -0.42516666650772095, 0.24310298264026642, 0.18741096556186676, -0.42450183629989624, 0.7399039268493652, -0.658517062664032, 0.4302141070365906, -0.46673089265823364, 0.08923586457967758, -1.4670205116271973, -0.3193747103214264, 0.20154395699501038, -0.7735487222671509, 0.2584574818611145, -0.30193647742271423, -0.009637923911213875, 0.0480082705616951, -0.5037856698036194, 0.43136608600616455, 0.4249626696109772, -0.26848769187927246, 0.6431581974029541, 0.6702299118041992, -0.4125528931617737, -0.3592432141304016, -0.19042259454727173, -0.37166738510131836, -0.5276683568954468, -0.7211502194404602, 0.07788466662168503, -0.1103580892086029, -0.36552560329437256, -0.495748370885849, 0.2722287178039551, -0.054987650364637375, 0.39184772968292236, 0.43257683515548706, 0.5669921636581421, -0.12884460389614105, -0.19868837296962738, -0.13890594244003296, -0.12621797621250153, 0.25935277342796326, 0.19822919368743896, 0.8390742540359497, -0.2508825361728668, 0.04673905298113823, -0.45751670002937317, 0.49245452880859375, 0.3204021751880646, -0.0388178676366806, 0.7738192081451416, 0.503875195980072, -0.16547183692455292, 0.3451904356479645, -0.44158950448036194, 0.25363659858703613, -0.5551732182502747, 0.405327171087265, -0.09101566672325134, -0.7233853936195374, 0.4594849646091461, -0.06625957787036896, -0.038603659719228745, -0.13903330266475677, 0.2725829780101776, -0.5504810214042664, 1.483237624168396, 0.9423109292984009, -0.0269162580370903, 0.9153695106506348, 0.016806768253445625, 0.5312871932983398, -1.0298722982406616, -0.2802393436431885, -0.6425613760948181, -0.46823564171791077, -0.9555363655090332, -0.22160588204860687, 0.45053133368492126, 0.03668871521949768, -0.026269106194376945, 0.2517722547054291, -0.76258385181427, 0.3969978392124176, 0.45628035068511963, -0.05761146545410156, 0.09093644469976425, 0.14819467067718506, 0.35620811581611633, -0.1603253185749054, -0.4132464528083801, -0.5869640707969666, 0.7733690738677979, 0.5506494045257568, 0.7649545073509216, 0.179016575217247, 0.734804093837738, 0.2368653416633606, 0.5430867075920105, -0.8523174524307251, 0.7689176797866821, 0.018945449963212013, -0.3871115446090698, -0.3324950039386749, -0.044172514230012894, -0.7875396013259888, 0.05047330632805824, -0.10604619234800339, -1.172655701637268, 0.5502380728721619, 0.18469606339931488, -0.4569549858570099, -0.2496335506439209, -1.0010827779769897, 0.7109348773956299, -0.2455170899629593, -0.2559957802295685, -0.010440299287438393, -0.6971232891082764, 0.1610090285539627, 0.42456290125846863, 0.14478527009487152, -0.48826074600219727, 0.3301946222782135, 0.9818148612976074, -0.02043256349861622, 1.1406675577163696, -0.42084166407585144, 0.17012043297290802, 0.27182283997535706, -0.023781098425388336, 0.26018720865249634, 0.08956069499254227, -0.14485985040664673, 0.5363407731056213, 0.3175392150878906, -0.2795063853263855, -0.6944333910942078, 0.5350400805473328, -0.7806087732315063, -0.7332432270050049, -0.5144728422164917, -0.4219251871109009, -0.03551405668258667, -0.16142678260803223, 0.0914117619395256, 0.48005351424217224, -0.3705950677394867, 0.22815310955047607, 0.4703415632247925, -0.3200713098049164, 0.3952186107635498, 0.4987722635269165, -0.2574237883090973, -0.5089259743690491, 1.120801329612732, 0.16061219573020935, 0.4373137950897217, -0.10393837094306946, 0.11571069806814194, -0.15683135390281677, -0.32880887389183044, 0.022036761045455933, 0.396748811006546, -0.6035791635513306, -0.08951251953840256, -0.6289334893226624, -0.27689194679260254, -0.5823895931243896, -0.3298519253730774, -0.13453517854213715, -0.6172913312911987, 0.24969035387039185, 0.04026895388960838, 0.19383396208286285, 0.4563913643360138, 0.0690089613199234, 0.7553482055664062, -0.4853120744228363, -0.07268789410591125, 0.017642712220549583, 0.3802579343318939, -0.08014579862356186, -0.09158699959516525, -0.48808011412620544, 0.28295063972473145, -0.6095584630966187, -0.9697024822235107, 0.5888672471046448, 0.034660134464502335, 0.3275633454322815, 0.4971698820590973, 0.055364590138196945, 0.4881463646888733, -0.30771034955978394, 0.6608633399009705, 0.36017459630966187, -0.8174291253089905, 0.5308005213737488, -0.4090637266635895, 0.07417323440313339, 0.508767306804657, 0.43249720335006714, -0.8774218559265137, -0.33304041624069214, -0.7644526958465576, -0.6636225581169128, 0.9005895256996155, 0.1153765320777893, 0.12313135713338852, -0.10679727792739868, 0.4193779528141022, -0.05872014909982681, 0.4702225923538208, -0.44873034954071045, -0.41578158736228943, -0.12732505798339844, -0.2614319622516632, -0.2270527482032776, -0.5313352942466736, -0.3242294490337372, -0.44786906242370605, 0.46729934215545654, -0.26592984795570374, 0.7508761286735535, -0.025917716324329376, 0.24793241918087006, -0.08752621710300446, 0.30409836769104004, 0.23790903389453888, 0.4251788258552551, -0.44884929060935974, -0.024434413760900497, -0.07652829587459564, -0.3241567015647888, 0.10740308463573456, -0.06415853649377823, 0.06740836799144745, 0.11498762667179108, -0.04226391017436981, 0.5745776295661926, -0.04720766842365265, -0.10183253884315491, 0.43497851490974426, -0.4183546006679535, 0.11683468520641327, -0.7205036878585815, 0.35935360193252563, 0.12393859773874283, 0.36233261227607727, -0.02588680200278759, -0.014421187341213226, 0.35862550139427185, -0.8559125065803528, -0.2723529636859894, 0.6997637152671814, -0.4641541838645935, -0.615180492401123, 0.3215273916721344, 0.6369688510894775, -1.0853022336959839, 0.3046165406703949, -0.29256659746170044, -0.7311598658561707, 0.7551057934761047, 0.40799057483673096, 1.093705415725708, -0.4383816421031952, 0.65345299243927, 0.15012212097644806, -0.1244291216135025, 0.24823465943336487, 0.4214927852153778, -0.4873695373535156, -1.085966944694519, -0.2167910933494568, -0.6391533017158508, -0.5951180458068848, -0.16625072062015533, -0.9376174807548523, 0.35743555426597595, -0.6015416979789734, -0.28236207365989685, 0.46222802996635437, -0.05490542948246002, -0.699309766292572, -0.151910662651062, 0.5158374905586243, 0.5876664519309998, -0.8696576952934265, 0.8875909447669983, 0.7446408271789551, 0.09212850034236908, -0.6166155338287354, -0.15929923951625824, 0.1916806995868683, -0.8709205985069275, 0.4687664806842804, 0.43389609456062317, -0.3652808666229248, -0.3023393750190735, -0.8128750920295715, -0.9890927076339722, 0.9246333241462708, 0.05413789674639702, -0.2909446954727173, -0.19148029386997223, 0.3915629982948303, 0.6688698530197144, -0.7538877129554749, 0.4068251848220825, 0.8759580850601196, 0.2621555030345917, 0.11309022456407547, -0.7265118360519409, -0.06957141309976578, -0.5567495822906494, 0.40153661370277405, 0.013528980314731598, -0.9140229225158691, 0.5427500605583191, 0.0813203826546669, -0.3115917444229126, 0.13943015038967133, 0.7257035374641418, 0.23963992297649384, 0.963378369808197, 0.6014732122421265, -0.17472802102565765, 0.5764911770820618, -0.3814299702644348, 0.9804103374481201, -0.351801335811615, 0.17484457790851593, 1.052223563194275, -0.4914591312408447, 0.5044375061988831, 0.3450368344783783, 0.005763482768088579, 0.6606351733207703, 0.37070074677467346, 0.5156150460243225, 0.39001521468162537, -0.1517208069562912, -0.35933423042297363, -0.3112603425979614, -0.45804914832115173, -0.16908703744411469, 0.5776711106300354, 0.7212774157524109, -0.2610781192779541, 0.297357439994812, -0.12415061146020889, 0.25872817635536194, -0.01280185952782631, -0.08818431198596954, 1.014930248260498, 0.0589631013572216, -0.7634456157684326, 0.4067947268486023, -0.11851709336042404, 0.5729833841323853, -0.2612329125404358, -0.1371796876192093, -0.20825327932834625, 0.272623211145401, -0.3454376757144928, -0.9059597253799438, 0.26514559984207153, -0.4116605818271637, -0.19733580946922302, -0.09944355487823486, 0.8715759515762329, -0.5573258399963379, -0.4128352105617523, 0.35497260093688965, 0.26033133268356323, 0.2652425169944763, 0.12194667011499405, -0.6382951736450195, 0.0960027202963829, 0.16739515960216522, 0.09317068010568619, 0.4590813219547272, 0.7130062580108643, -0.04610714316368103, 0.5192861557006836, 0.43667280673980713, -0.04946877062320709, -0.12069357186555862, -0.1763344705104828, 0.8227039575576782, -0.8405879735946655, -0.5346865057945251, -0.6926959156990051, 0.581754744052887, -0.5010240077972412, -0.18919368088245392, 0.6902152299880981, 0.22992154955863953, 0.5853127241134644, 0.47440221905708313, 0.8681788444519043, -0.1769820600748062, 0.4764772653579712, 0.028360826894640923, 0.5243901014328003, -0.26883065700531006, 0.15803903341293335, -0.4974044859409332, -0.7710940837860107, 0.2602595388889313, 0.6560530066490173, -0.7156882286071777, -0.2469789981842041, 0.5480496287345886, 0.7680760622024536, 0.29820486903190613, 0.4340415596961975, 0.18524424731731415, -0.01734786666929722, 0.3904285728931427, 0.38685503602027893, 1.0716674327850342, -0.08269234001636505, 0.2600313425064087, -0.6262626647949219, -0.523792564868927, -0.2441299706697464, -0.5706291794776917, -1.0752863883972168, -0.6936190724372864, -0.44849130511283875, -0.8274475336074829, -0.03315184265375137, 1.006970763206482, 0.5126439332962036, -0.3407481014728546, -0.5518761277198792, 0.3910433351993561, 0.40807631611824036, -0.19275210797786713, -0.2988417446613312, -0.1527237445116043, -0.3253624141216278, -0.6686562895774841, -0.03173064813017845, 0.35142579674720764, -0.1377280056476593, -0.14634637534618378, -0.33979251980781555, -0.03929440677165985, 0.1510303020477295, 0.5859859585762024, 0.3034095764160156, -0.326463520526886, -0.4927249848842621, -0.03433331102132797, 0.059750746935606, 0.38316839933395386, 0.8668667078018188, -0.43024104833602905, 0.41007667779922485, 0.3724919259548187, 0.05557284131646156, 0.21885114908218384, 0.1898273378610611, 0.9557427763938904, -0.503084659576416, 0.3162544071674347, 0.003968956880271435, 0.34709030389785767, 0.40747272968292236, -0.6043165326118469, 0.46542903780937195, 0.11613636463880539, -0.5590437650680542, -0.842013418674469, 0.13626518845558167, -1.084824562072754, 0.36735543608665466, 1.307865023612976, -0.14835941791534424, -0.7808616757392883, -0.32454726099967957, -0.2862575054168701, 0.3412673771381378, -0.7143287658691406, 0.8138934373855591, 0.8457395434379578, -0.2620113790035248, -0.11539536714553833, -0.2608313262462616, 0.7209158539772034, 0.6282880306243896, -0.3492623567581177, 0.06230280548334122, 0.3203827738761902, 0.21127155423164368, 0.5350367426872253, 0.8968506455421448, 0.005549274384975433, 0.37738069891929626, -0.46089303493499756, 0.18047118186950684, 0.5177881717681885, -0.17736637592315674, -0.27517417073249817, 0.06120583415031433, 0.16274845600128174, -0.3449608385562897 ]
http://arxiv.org/abs/2403.00815v2
http://arxiv.org/pdf/2403.00815v2
RAM-EHR: Retrieval Augmentation Meets Clinical Predictions on Electronic Health Records
2024-02-25T23:10:20
2024-06-04T05:11:19
Ran Xu, Wenqi Shi, Yue Yu, Yuchen Zhuang, Bowen Jin, May D. Wang, Joyce C. Ho, Carl Yang
cs.CL
cs.CL, cs.AI, cs.IR, q-bio.OT
We present RAM-EHR, a Retrieval AugMentation pipeline to improve clinical predictions on Electronic Health Records (EHRs). RAM-EHR first collects multiple knowledge sources, converts them into text format, and uses dense retrieval to obtain information related to medical concepts. This strategy addresses the difficulties associated with complex names for the concepts. RAM-EHR then augments the local EHR predictive model co-trained with consistency regularization to capture complementary information from patient visits and summarized knowledge. Experiments on two EHR datasets show the efficacy of RAM-EHR over previous knowledge-enhanced baselines (3.4% gain in AUROC and 7.2% gain in AUPR), emphasizing the effectiveness of the summarized knowledge from RAM-EHR for clinical prediction tasks. The code will be published at \url{https://github.com/ritaranx/RAM-EHR}.
[ -0.025599978864192963, -0.5712621808052063, 0.7511353492736816, -0.23232734203338623, -0.09397455304861069, 0.0999794751405716, -0.006939416751265526, -0.6886441111564636, 0.4242909252643585, 0.6254810094833374, -0.25819358229637146, -0.5146163702011108, -0.5257320404052734, -0.24060674011707306, -0.20619556307792664, 1.2340843677520752, 0.0352323055267334, 0.37955179810523987, -0.14947998523712158, -0.05291417986154556, -0.9041303396224976, -0.5326206088066101, -0.6141319274902344, -0.5122958421707153, 0.6698237061500549, 0.48262840509414673, 0.5912871360778809, 0.8702590465545654, 1.1658706665039062, 0.16619367897510529, 0.26986244320869446, 0.2583937644958496, -0.41657090187072754, 0.3763776421546936, 0.26471102237701416, -0.372848778963089, -0.8305779695510864, -0.7418619394302368, 0.476676344871521, 0.5178197622299194, -0.6530061364173889, 0.13746154308319092, -0.42291978001594543, 0.8297415375709534, -0.8154728412628174, 0.13974173367023468, -0.6656937599182129, 0.001744886627420783, -0.21682412922382355, -0.6227845549583435, -0.272071897983551, -0.23034101724624634, 0.29314520955085754, -0.540212869644165, 0.42936623096466064, 0.2850976884365082, 0.8094703555107117, 0.44122350215911865, -0.2570699155330658, -0.009244694374501705, -0.9135774374008179, 0.6666378974914551, -0.201759472489357, 0.6889814734458923, 0.594700813293457, 0.9023261666297913, 0.3032371997833252, -1.0377737283706665, -0.1818564534187317, -0.2023838758468628, -0.21693436801433563, 0.33478379249572754, -0.09605252742767334, 0.3032211363315582, 0.30284571647644043, 0.514751136302948, -0.5548220276832581, -0.2378588169813156, -0.8074227571487427, -0.15223786234855652, 0.6122785806655884, 0.4124581515789032, 0.2163878083229065, 0.10634110867977142, -0.39305049180984497, 0.025685615837574005, -0.6603925228118896, -0.2815660834312439, -0.37242764234542847, 0.057118237018585205, 0.14010708034038544, 0.5511652827262878, -0.16498927772045135, 0.5930373072624207, 0.34595799446105957, -0.1504126638174057, 0.5681138038635254, -0.19756485521793365, -0.13635799288749695, 0.5917256474494934, 0.3190808594226837, 0.373025506734848, -0.3890989124774933, -0.02157744951546192, -0.4125438630580902, 0.23058786988258362, 0.5453485250473022, -0.822007417678833, -0.5748622417449951, 0.3021553158760071, -0.5536391139030457, -0.025271372869610786, 0.10698763281106949, -0.5799824595451355, -0.4316960871219635, -0.19903720915317535, 0.8410720229148865, -0.6710940003395081, 0.14278139173984528, 0.36656108498573303, -0.2690204679965973, -0.08083537220954895, 0.6747792363166809, -0.7171273827552795, 0.7456815242767334, 0.8237380385398865, 0.5728603005409241, -0.14458589255809784, 0.07662727683782578, -0.8000199198722839, 0.3727048635482788, 0.0244763046503067, 0.7137443423271179, -0.45400089025497437, -0.3611609637737274, -0.166498601436615, -0.34443238377571106, 0.13388295471668243, -0.8131054639816284, 0.6026570796966553, -0.6695965528488159, 0.041744694113731384, -0.06065187603235245, -0.772277295589447, 0.005838478449732065, 0.17710313200950623, -0.9149186015129089, 0.5476284623146057, 0.011739869602024555, -0.6827031373977661, 0.5149548053741455, -0.5276538729667664, -0.4307471215724945, 0.22956310212612152, -0.3382604122161865, -0.5258526802062988, -0.15347826480865479, 0.13215045630931854, 0.2633098065853119, -0.3067151606082916, 0.12518253922462463, -0.03951052203774452, -0.2796182632446289, 0.0796944722533226, -0.01900065690279007, 0.09378955513238907, 0.41845935583114624, 0.31332191824913025, -0.016512012109160423, -0.6664806604385376, 0.0050398060120642185, -0.1947614550590515, -0.2914216220378876, -0.4052245616912842, -0.03071659244596958, -0.020474212244153023, 0.01253290381282568, 0.3809286653995514, -0.6510180830955505, -0.23139914870262146, -0.06389536708593369, -0.12501953542232513, 0.2560829222202301, 0.20263077318668365, 0.24019445478916168, -0.905748188495636, 0.5420111417770386, 0.2033732682466507, 0.3182262182235718, -0.4650951623916626, -0.6374454498291016, -0.28735944628715515, -0.43721699714660645, 0.48854508996009827, 0.745223879814148, -0.20430317521095276, 0.3641972243785858, -0.5472272038459778, -0.4143002927303314, -0.9624682664871216, -0.12210605293512344, 0.3708456754684448, 1.0020779371261597, 0.8671823740005493, -0.5619103312492371, -0.8884364366531372, -0.80081707239151, -0.11486011743545532, -0.3228769600391388, -0.11430200189352036, 0.28920164704322815, 0.1653745174407959, -0.44185927510261536, 0.5601881742477417, -0.7241214513778687, -0.7498990893363953, -0.24015440046787262, 0.12229862064123154, 0.17927074432373047, 0.5989289879798889, 0.012720232829451561, -0.8753337860107422, -0.5296201705932617, 0.2341345101594925, -0.5744119882583618, 0.16576047241687775, 0.1168791875243187, 0.13270221650600433, -0.3176259994506836, 0.0869741290807724, -0.6209044456481934, 0.528775691986084, -0.0334947369992733, 0.06249861419200897, 0.4183655083179474, -0.4923138916492462, 0.41260939836502075, -0.9993677735328674, -0.04110191762447357, -0.13534972071647644, -0.2775936722755432, -0.6488286256790161, -0.10768496245145798, 0.2205689400434494, 0.13671371340751648, -0.061974260956048965, 0.5425706505775452, -0.360981822013855, 0.10708322376012802, -0.03364284336566925, -0.034990739077329636, 0.12892746925354004, -0.30966299772262573, 0.07249314337968826, 0.6073159575462341, 0.45443445444107056, -0.46760278940200806, 0.268784761428833, 0.5381582379341125, -0.24948593974113464, 0.5808321237564087, -0.6883233189582825, -0.001038379967212677, -0.3617803156375885, 0.19360238313674927, -0.553639829158783, -0.44871827960014343, -0.22361740469932556, -0.6979746222496033, 0.5962876081466675, -0.05679137259721756, -0.2865162193775177, -0.4709247648715973, -0.24399225413799286, 0.35159507393836975, 0.8632330894470215, -0.31849247217178345, 0.5686946511268616, 0.7049036622047424, -0.11247487366199493, -0.7274653315544128, -0.8745121359825134, -0.06375925242900848, -0.030468445271253586, -0.3654297888278961, 0.8211873173713684, -0.07450833916664124, -0.38770872354507446, 0.20025786757469177, -0.08112825453281403, -0.5922659635543823, -0.3274724781513214, 0.2238929718732834, 0.6480439305305481, -0.4616507589817047, 0.43234625458717346, 0.0996447280049324, -0.18337686359882355, 0.0935005322098732, -0.18418706953525543, 0.23266582190990448, 0.028624016791582108, -0.5468481183052063, -0.6078757643699646, 0.28422975540161133, 0.24672038853168488, -0.09359388053417206, 0.6403422951698303, 0.5468934774398804, -0.8865635395050049, 0.34003332257270813, -1.036716103553772, -0.5671406984329224, -0.3991382122039795, 0.43665724992752075, -0.17272703349590302, -0.8477413654327393, 0.5790395140647888, 0.06634066253900528, -0.06627070158720016, 0.44399505853652954, 0.3148678243160248, -0.07954013347625732, 1.3498471975326538, 0.44739893078804016, 0.1154063269495964, 0.2919185161590576, -0.15508195757865906, -0.13682931661605835, -1.0292162895202637, -0.49221935868263245, -0.29649990797042847, -0.2275456041097641, -0.49665871262550354, -0.48588648438453674, 0.7701157331466675, 0.017078159376978874, -0.27955877780914307, 0.2610678970813751, -0.4183923602104187, 0.24214239418506622, 0.13806770741939545, 0.7375063300132751, 0.5803974866867065, -0.014597264118492603, 0.0651683509349823, -0.305122435092926, -0.5487219095230103, -0.10367589443922043, 1.3895807266235352, 0.22990138828754425, 0.6988894939422607, -0.01605144515633583, 0.8957160115242004, 0.3546115458011627, 0.4808833599090576, -0.6767637729644775, 0.13792365789413452, -0.05139598622918129, -0.6855472922325134, 0.00778696034103632, -0.39617985486984253, -1.1452929973602295, -0.06695936620235443, -0.35990530252456665, -0.5826308131217957, 0.02115362510085106, 0.34131455421447754, -0.8023889660835266, 0.21880997717380524, -0.4966833293437958, 0.6512712836265564, -0.3248770534992218, -0.28766930103302, -0.6707146167755127, -0.9911731481552124, 0.17757633328437805, -0.29191625118255615, 0.13071691989898682, 0.16644813120365143, -0.2775050699710846, 0.4653753340244293, -0.67057204246521, 0.27820268273353577, 0.04248890280723572, 0.5496067404747009, 0.12961216270923615, -0.14709649980068207, 0.378275066614151, 0.05284116044640541, -0.34652256965637207, -0.15890049934387207, 0.14266268908977509, -0.30118095874786377, -0.8435237407684326, 0.492240846157074, -0.5731258392333984, -0.293279767036438, -0.36348089575767517, -0.49562638998031616, -0.26169443130493164, 0.2600073516368866, 0.04057255759835243, 0.5271844267845154, -0.31871888041496277, 0.21981768310070038, 0.8678168058395386, 0.07773319631814957, -0.5052853226661682, 0.5641408562660217, -0.35906311869621277, -0.748624324798584, 0.7819758653640747, 0.10385684669017792, 0.10908926278352737, 0.9621583223342896, 0.18258138000965118, -0.3838098347187042, -0.6330690383911133, -0.3538287878036499, 0.31592053174972534, -0.5516296625137329, -0.4265657365322113, -0.710558295249939, -0.3673071563243866, -0.29020461440086365, 0.08440874516963959, -0.13207580149173737, -0.4320802092552185, -0.4083859622478485, -0.21967056393623352, 0.6574576497077942, 0.8529953956604004, -0.10726199299097061, 0.41547447443008423, -1.2281001806259155, 0.33595094084739685, 0.08649671822786331, 0.19900107383728027, -0.2674349546432495, -0.6424562931060791, -0.4316534101963043, -0.14688140153884888, -0.4305349588394165, -0.8055064082145691, 0.610495924949646, 0.15039125084877014, 0.443092405796051, 0.5832039713859558, -0.022397560998797417, 1.1284165382385254, -0.8365870118141174, 0.395739883184433, 0.42328259348869324, -0.26798900961875916, 0.827628493309021, -0.2980448603630066, -0.10377218574285507, 0.874946653842926, 0.435029536485672, -0.28089794516563416, 0.06899170577526093, -0.8501588106155396, -0.788516104221344, 0.1775454431772232, -0.15267276763916016, -0.12210244685411453, -0.10730952024459839, 0.6068106293678284, 0.2913074493408203, 0.3886701464653015, 0.2017437368631363, -0.40711668133735657, 0.18753758072853088, -0.4026557505130768, 0.0037387246266007423, -0.10373475402593613, -0.029248351231217384, -0.4414021968841553, 0.46525120735168457, 0.19789984822273254, 0.415022611618042, 0.5291237235069275, -0.06583767384290695, -0.4562247097492218, 0.15403485298156738, 0.19687627255916595, 0.7341105341911316, -0.5215427875518799, 0.1172628179192543, 0.31721216440200806, -0.8521174192428589, -0.35100671648979187, 0.31944918632507324, -0.13760744035243988, 0.18218842148780823, -0.06540032476186752, 0.8204387426376343, 0.18317370116710663, -0.7006280422210693, 0.32784709334373474, -0.0359472818672657, 0.1432410478591919, -0.5614854097366333, -0.04752670228481293, -0.3720821440219879, 0.07590315490961075, 0.4750487804412842, 0.399556040763855, 0.5691810250282288, -0.28567007184028625, 0.6908773183822632, 0.28534770011901855, -0.6558809876441956, -0.40852707624435425, 0.9521852135658264, -0.2739793062210083, -0.23420748114585876, 0.46575114130973816, 0.19745951890945435, -0.2571829557418823, 0.4359804093837738, 0.7921873927116394, 0.5947009921073914, -0.3545965552330017, -0.04838842153549194, 0.4951664209365845, -0.03462275117635727, -0.46109315752983093, 0.5269469618797302, 0.1028706505894661, -0.5173713564872742, -0.4337322413921356, -0.30013176798820496, -0.6967936754226685, 0.0011967492755502462, -0.9798518419265747, 0.6246766448020935, -0.4336729347705841, -0.5032918453216553, -0.2049999088048935, 0.04137769713997841, -0.644923985004425, 0.2986484467983246, 0.06675201654434204, 0.9633249640464783, -0.34056276082992554, 0.7571183443069458, 0.8342654705047607, -0.5091527700424194, -0.7960295677185059, -0.004457101691514254, 0.04861871898174286, -0.743342399597168, 0.5946168899536133, 0.14538393914699554, 0.16408184170722961, 0.008918991312384605, -0.09316614270210266, -0.8392492532730103, 1.409899115562439, 0.1940518617630005, -0.41239914298057556, 0.10551908612251282, -0.12654928863048553, 0.7165436148643494, -0.3017410337924957, 0.5069553256034851, 0.323928564786911, 0.40592697262763977, 0.11553922295570374, -1.1453882455825806, -0.025151241570711136, -0.1446853131055832, -0.3134056031703949, 0.31068554520606995, -0.36821210384368896, 0.7285287380218506, -0.6733943223953247, 0.06295771896839142, 0.18332403898239136, 0.7747926712036133, 0.4789917767047882, 0.6805368661880493, 0.0927153155207634, 0.8638646006584167, 1.1709073781967163, 0.041252799332141876, 1.343679428100586, -0.38515955209732056, 0.09442087262868881, 1.0830128192901611, -0.43750789761543274, 1.1133259534835815, 0.41591301560401917, -0.29068639874458313, 0.7163809537887573, 0.41974157094955444, 0.2517448365688324, 0.6168784499168396, -0.13633815944194794, -0.5149838924407959, -0.1520974487066269, -0.3900816738605499, -0.6462346315383911, -0.07172565162181854, 0.6201938390731812, -0.24601007997989655, 0.0989793911576271, -0.14617778360843658, -0.16017335653305054, -0.11867604404687881, -0.5112748742103577, 0.8048459887504578, 0.1862170696258545, -0.548102617263794, 0.28539326786994934, -0.3008507490158081, 0.33191192150115967, -0.5937951803207397, -0.2959858179092407, 0.3508332073688507, 0.579723596572876, -0.2964805066585541, -0.6197377443313599, 0.345936119556427, -0.44546300172805786, -0.31063488125801086, -0.02755192667245865, 1.16721510887146, -0.4725660979747772, -0.25185737013816833, 0.14940941333770752, 0.7325040698051453, 0.18401971459388733, 0.053062304854393005, -0.7405278086662292, -0.2451344132423401, -0.4148513674736023, 0.3369993269443512, 0.48609450459480286, 0.41579172015190125, -0.016628094017505646, 0.6809971928596497, 0.6530495285987854, 0.5941031575202942, 0.012661096639931202, 0.14650551974773407, 0.7702363133430481, -0.3321636915206909, -0.31259047985076904, -0.45742568373680115, 0.36197689175605774, -0.06103380396962166, -0.05992197245359421, 0.40210026502609253, 0.9445710182189941, 0.7329229116439819, -0.13256826996803284, 0.7383139729499817, 0.1363876610994339, 1.0716294050216675, -0.27612414956092834, 0.8038569688796997, -0.5627614855766296, 0.3362043797969818, 0.02972516417503357, -0.4814927279949188, -0.4933604598045349, 0.42994797229766846, -0.38991695642471313, -0.025186052545905113, 0.69206702709198, 0.6368019580841064, -0.09392820298671722, 0.023576034232974052, 0.39681270718574524, 0.16735319793224335, -0.17355035245418549, 0.3339948058128357, 0.6312280893325806, -0.7207619547843933, 0.23260830342769623, -0.4963235557079315, -0.17117352783679962, -0.3460819721221924, -0.5242299437522888, -0.3646034002304077, -0.34345829486846924, -0.40631115436553955, -0.4225319027900696, 0.48637130856513977, 1.2386980056762695, 0.7129139304161072, -1.067999243736267, -0.07684578001499176, -0.0008727030945010483, 0.07377315312623978, -0.30464860796928406, -0.18131694197654724, 0.28896355628967285, -0.2536654770374298, -0.1621592938899994, 0.3651270270347595, 0.18789692223072052, -0.19656260311603546, 0.20411095023155212, -0.2190563976764679, 0.05278436839580536, -0.31445056200027466, 0.3536631166934967, 0.3107759356498718, -0.5067858695983887, -0.06540870666503906, 0.3046889901161194, -0.26149433851242065, 0.5250464677810669, 0.7365766167640686, -1.0919256210327148, 0.5261468291282654, 0.656090497970581, 0.7762315273284912, 0.5897892713546753, 0.3902103006839752, 0.446038156747818, -0.4328081011772156, -0.38204100728034973, 0.5151312947273254, 0.44983190298080444, 0.3851928412914276, -0.5474713444709778, 0.3124759793281555, 0.1051507517695427, -0.7171597480773926, -0.7563011050224304, -0.055709224194288254, -1.003366231918335, 0.41580578684806824, 0.6833786964416504, 0.047210901975631714, -0.13679952919483185, -0.3826235830783844, -0.10716096311807632, 0.32143861055374146, -0.6764264106750488, 0.8896368145942688, -0.07310809940099716, -0.5275946855545044, -0.014083091169595718, -1.1204053163528442, 0.464616060256958, 0.5218847393989563, -0.8083301782608032, -0.3758317530155182, 0.6650928258895874, 0.2591729164123535, 0.2837054133415222, 0.830156147480011, -0.47045713663101196, 0.6854735612869263, -0.37969332933425903, -0.013505769893527031, 0.11922476440668106, -0.4604741036891937, -0.44149404764175415, -0.05420457199215889, 0.1087035983800888, -0.1277332305908203 ]
http://arxiv.org/abs/2402.16211v1
http://arxiv.org/pdf/2402.16211v1
HypoTermQA: Hypothetical Terms Dataset for Benchmarking Hallucination Tendency of LLMs
2024-02-25T22:23:37
2024-02-25T22:23:37
Cem Uluoglakci, Tugba Taskaya Temizel
cs.CL
cs.CL
Hallucinations pose a significant challenge to the reliability and alignment of Large Language Models (LLMs), limiting their widespread acceptance beyond chatbot applications. Despite ongoing efforts, hallucinations remain a prevalent challenge in LLMs. The detection of hallucinations itself is also a formidable task, frequently requiring manual labeling or constrained evaluations. This paper introduces an automated scalable framework that combines benchmarking LLMs' hallucination tendencies with efficient hallucination detection. We leverage LLMs to generate challenging tasks related to hypothetical phenomena, subsequently employing them as agents for efficient hallucination detection. The framework is domain-agnostic, allowing the use of any language model for benchmark creation or evaluation in any domain. We introduce the publicly available HypoTermQA Benchmarking Dataset, on which state-of-the-art models' performance ranged between 3% and 11%, and evaluator agents demonstrated a 6% error rate in hallucination prediction. The proposed framework provides opportunities to test and improve LLMs. Additionally, it has the potential to generate benchmarking datasets tailored to specific domains, such as law, health, and finance.
[ -0.2840469777584076, -0.7263481020927429, 0.8501853942871094, 0.17429772019386292, -0.06746319681406021, 0.013362305238842964, -0.2855120897293091, -0.3392270505428314, 0.4569268822669983, 0.4963364899158478, -0.7303894758224487, -0.6123637557029724, -0.43970349431037903, 0.24047139286994934, -0.5603188276290894, 0.3974091708660126, -0.07922259718179703, 0.1378898173570633, -0.3495425879955292, -0.019302142783999443, -0.3995515704154968, -0.7754561305046082, -0.2741098403930664, -0.30026429891586304, 0.2355104684829712, 0.178585022687912, 0.8787778615951538, 0.46829813718795776, 0.4902348518371582, 0.33550533652305603, 0.3373659551143646, 0.270129919052124, -0.4730496108531952, 0.5261634588241577, -0.016652826219797134, -0.2296978384256363, -0.4051904082298279, -0.004578109364956617, 0.29336556792259216, 0.578137993812561, -0.49505579471588135, 0.07675354182720184, -0.18056164681911469, 0.28493574261665344, -0.5741114020347595, -0.0948297381401062, -0.9311104416847229, 0.2023744136095047, 0.12896385788917542, -0.364041805267334, -0.18154175579547882, -0.5561134219169617, 0.10523387789726257, -0.42649030685424805, 0.1635560691356659, 0.504766583442688, 0.795082688331604, 0.7909807562828064, -0.1430148035287857, -0.4907904863357544, -0.3087233304977417, 0.5954885482788086, -0.5983129143714905, 0.7174193263053894, 0.5396101474761963, 0.5988661050796509, -0.3498678207397461, -0.7668989896774292, -0.7211146950721741, -0.7010136842727661, -0.11889617145061493, -0.2964073121547699, -0.19643165171146393, -0.07656760513782501, 0.3342761993408203, 0.31280696392059326, -0.7908791303634644, 0.10429759323596954, 0.04103412479162216, -0.4955545961856842, 0.40119466185569763, 0.46721136569976807, 0.03216952830553055, -0.4207639694213867, -0.2393653392791748, -0.050223466008901596, -0.4599209725856781, -0.5469956994056702, 0.31462815403938293, 0.31685757637023926, 0.09873493015766144, 0.7207980155944824, -0.3060849606990814, 0.3963613510131836, -0.11709123849868774, -0.111027292907238, 0.5174182653427124, 0.07275621592998505, -0.2714146375656128, 0.09727687388658524, 0.5490601062774658, 0.26203206181526184, 0.02012271247804165, -0.5731037855148315, -0.3979075849056244, 0.2200840711593628, 0.5624796748161316, -0.8649694323539734, -0.467878133058548, 0.563806414604187, -0.2665099501609802, -0.0728646069765091, -0.2691991925239563, -0.8123462796211243, -0.8244760632514954, -0.5866056680679321, 0.7505558729171753, -0.5178074240684509, -0.11980976909399033, 0.2692989706993103, -0.027704710140824318, 0.20246712863445282, 0.21492379903793335, -0.45737364888191223, 0.521037757396698, 0.705899715423584, 0.8784667253494263, -0.7256293296813965, -0.36826980113983154, -0.602432370185852, -0.18979862332344055, -0.2952830195426941, 0.7999077439308167, -0.2849014401435852, -0.10598274320363998, 0.12409280240535736, 0.11544662714004517, -0.02145090326666832, -0.841996967792511, 0.5024844408035278, -0.1617962270975113, 0.034772176295518875, -0.19713442027568817, -0.7546645998954773, 0.027912979945540428, 0.4724236726760864, -0.5614858865737915, 1.1286982297897339, 0.224515900015831, -0.5067497491836548, 0.36418381333351135, -0.21624651551246643, -0.13203944265842438, 0.3445388376712799, -0.4722514748573303, -0.48173150420188904, -0.05728325620293617, 0.06452007591724396, 0.5236294269561768, -0.4513383209705353, 0.6002721190452576, -0.37474504113197327, -0.659996509552002, 0.3689374327659607, -0.30959558486938477, 0.4758625030517578, 0.018825268372893333, -0.6095608472824097, 0.21897584199905396, -0.7944092154502869, -0.007657919079065323, 0.018214993178844452, 0.2523849308490753, -0.16370061039924622, 0.08397487550973892, -0.026194823905825615, 0.16406802833080292, 0.1438322514295578, -0.1902768909931183, -0.08766499906778336, -0.1272888034582138, 0.07066801190376282, 0.6600668430328369, 0.04337954893708229, -0.08972010016441345, -0.45894789695739746, 0.6271756887435913, -0.23550722002983093, 0.05620386451482773, 0.2714797556400299, -0.2023605853319168, -0.8281514048576355, -0.666042685508728, 0.08276519179344177, 0.42368486523628235, -0.9271204471588135, 0.7437326908111572, -0.29274624586105347, -0.35409483313560486, -0.565919041633606, -0.12708339095115662, 0.26978158950805664, 0.6702845096588135, 0.45101821422576904, 0.1086445078253746, -0.6930607557296753, -1.0985910892486572, -0.19129861891269684, -0.3103572130203247, -0.3173040747642517, 0.243147611618042, 0.66063392162323, -0.4742831289768219, 0.6641007661819458, -0.4754623770713806, -0.45321589708328247, 0.1681712567806244, 0.17098841071128845, 0.11814262717962265, 0.20941512286663055, 0.3247504234313965, -0.6962412595748901, -0.005082792602479458, -0.27209293842315674, -0.9999428391456604, -0.30253729224205017, 0.06105656176805496, -0.28716176748275757, 0.2555842399597168, 0.5457028150558472, -0.4505743384361267, 0.3553183674812317, 0.4247857332229614, -0.27385443449020386, 0.7754344940185547, 0.006621947977691889, 0.2871914207935333, -0.9012396931648254, -0.11793224513530731, -0.08156286180019379, -0.10951919108629227, -0.6228132247924805, -0.05478862300515175, 0.010419742204248905, 0.3139299154281616, -0.385785847902298, 0.4018446207046509, -0.27429652214050293, -0.1706729531288147, -0.24848157167434692, 0.20615240931510925, -0.4185430705547333, 0.5858903527259827, 0.32884812355041504, 0.7241860032081604, 0.5816200375556946, -0.4219813346862793, 0.47024300694465637, 0.25647425651550293, -0.41973236203193665, 0.5217916965484619, -0.44928157329559326, 0.06976014375686646, 0.20422713458538055, -0.024186957627534866, -0.9008572101593018, -0.4537051022052765, 0.4378572404384613, -0.1917957365512848, -0.2971147894859314, 0.17752109467983246, -0.7753833532333374, -0.34679827094078064, -0.38893380761146545, 0.2323000431060791, 0.6361374855041504, -0.7556765079498291, 0.6701689958572388, 0.4288139045238495, 0.18516089022159576, -0.5055291056632996, -0.44600051641464233, 0.29981669783592224, -0.44608283042907715, -0.26772016286849976, 0.4880039095878601, -0.08522409945726395, -0.33555373549461365, -0.17309562861919403, -0.23612476885318756, 0.1450004279613495, 0.01994853839278221, 0.5740657448768616, 0.2996762990951538, -0.07770448178052902, 0.22740668058395386, -0.0719316229224205, 0.24722304940223694, 0.34154003858566284, -0.24934673309326172, 0.8239026665687561, -0.19920939207077026, -0.352372407913208, -0.5200739502906799, -0.01943049393594265, 0.47419673204421997, 0.46552643179893494, 0.4578987658023834, 0.24003943800926208, -0.9333699345588684, -0.3675084412097931, -0.7867032885551453, -0.3755152225494385, -0.5131880044937134, 0.2935899794101715, -0.6707369685173035, -0.7091166973114014, 0.5163469314575195, -0.1029585599899292, -0.3686409592628479, 0.10936396569013596, 0.9542162418365479, 0.16914406418800354, 0.7462020516395569, 0.35391882061958313, 0.08748845756053925, -0.052896060049533844, 0.028799403458833694, 0.2047346830368042, -0.6046576499938965, -0.33473098278045654, -0.4750185012817383, -0.030205506831407547, -0.6812294125556946, -0.5615435838699341, 0.28937584161758423, -0.3716827929019928, -0.18196773529052734, 0.5911359786987305, -0.5194804668426514, 0.37114042043685913, 0.09731479734182358, 0.07916378974914551, 0.32648637890815735, 0.08910436928272247, -0.2968212068080902, -0.10166532546281815, -0.42436498403549194, -0.75892573595047, 0.8910213708877563, 0.2710086703300476, 0.6507501602172852, 0.046819768846035004, 0.7408131957054138, 0.6778271794319153, 0.3760013282299042, -0.8720117807388306, 0.718647837638855, 0.3485446274280548, -0.45360636711120605, -0.5343155264854431, -0.4231884181499481, -0.6185141205787659, 0.5740162134170532, -0.259553462266922, -0.9409176111221313, 0.2930569648742676, -0.07856044918298721, -0.3046250641345978, 0.09652960300445557, -0.23456618189811707, 0.6600111722946167, -0.16707909107208252, -0.3722325563430786, -0.06046080216765404, -0.34818053245544434, 0.4683397710323334, -0.47860410809516907, 0.04099079594016075, -0.5237061977386475, -0.1288679987192154, 0.6258805990219116, -0.39834412932395935, 0.6124160289764404, -0.05673378333449364, -0.3536844551563263, -0.11023261398077011, 0.22814497351646423, 0.2920573055744171, 0.2380857914686203, -0.41872671246528625, 0.16790437698364258, 0.07754377275705338, -0.1767762154340744, -0.4761383533477783, 0.6756019592285156, -0.5710300207138062, -0.6575489044189453, -0.5379989147186279, -0.5878027677536011, -0.5822242498397827, -0.07998968660831451, 0.21392595767974854, 0.0014638088177889585, -0.42093759775161743, -0.15471230447292328, 0.503931999206543, -0.05318465456366539, 0.1694180816411972, 0.4114129841327667, -0.34254467487335205, -0.3574884533882141, 0.8094871044158936, -0.15837587416172028, -0.21485771238803864, 0.059635452926158905, -0.09304176270961761, -0.5140427947044373, -0.6066611409187317, -0.22964230179786682, 0.3166070580482483, -0.79472815990448, -0.321040540933609, -0.8262655138969421, -0.20324866473674774, -0.4083177149295807, -0.01736966148018837, -0.19833196699619293, -0.27686232328414917, -0.040732257068157196, -0.07161654531955719, 0.3562987148761749, 0.3552097678184509, 0.11364267021417618, 0.0695735365152359, -0.04631693288683891, 0.7371320724487305, 0.3001094162464142, 0.2899666130542755, -0.07269696146249771, -0.6486324667930603, 0.0685812458395958, -0.10237279534339905, -0.013863521628081799, -0.6850730776786804, 0.6665106415748596, 0.03700406849384308, 0.6067518591880798, 0.25480473041534424, 0.4236414432525635, 0.7710033655166626, -0.4936347007751465, 0.6368499994277954, 0.06304149329662323, -1.16283118724823, 0.3377201557159424, 0.06532708555459976, -0.14594194293022156, 0.7617384791374207, 0.7319816946983337, -0.4890805780887604, -0.640659511089325, -0.2656715512275696, -0.5975023508071899, 0.5283051133155823, 0.507862389087677, -0.11008095741271973, -0.06775826960802078, 0.46762615442276, 0.5140307545661926, 0.3875032067298889, -0.4794972240924835, -0.028788121417164803, -0.07121804356575012, -0.14048700034618378, -0.044372424483299255, 0.021199287846684456, -0.22333616018295288, -0.4643193185329437, 0.6839861869812012, -0.2097989320755005, 0.20623722672462463, 0.03808878734707832, -0.36898505687713623, -0.0641930103302002, -0.205228790640831, 0.41984793543815613, 0.8067310452461243, -0.5223037600517273, 0.2888835072517395, 0.3453623354434967, -0.36766067147254944, 0.32813724875450134, 0.07400714606046677, 0.09882640838623047, 0.19351476430892944, 0.316304087638855, 0.6665964722633362, -0.027992986142635345, -1.1296244859695435, 0.45746150612831116, -0.3433821499347687, -0.5342503786087036, -0.6677748560905457, 0.09218563884496689, 0.03724953904747963, 0.3282145857810974, 0.5007243156433105, -0.37196922302246094, 0.42938151955604553, -0.43549177050590515, 0.5620056390762329, 0.35865840315818787, -0.20699457824230194, -0.1675712764263153, 0.6799426674842834, -0.18648238480091095, -0.5442308783531189, 0.6926639080047607, -0.3815978765487671, -0.6443215608596802, 0.6623172163963318, 0.2624017298221588, 1.0516222715377808, -0.08866298943758011, 0.17516076564788818, 0.21466320753097534, 0.2696753144264221, -0.21729512512683868, 0.4289458096027374, -0.04076596349477768, -0.7087603807449341, 0.04189329221844673, -0.7219244241714478, -0.8108904957771301, 0.23923049867153168, -0.6209676861763, 0.494393527507782, -0.13111551105976105, -0.25370651483535767, 0.10045457631349564, -0.07212284207344055, -0.6701464056968689, 0.13602155447006226, 0.3576612174510956, 0.6061729788780212, -0.6702916622161865, 0.980719268321991, 0.2885042130947113, -0.05375191196799278, -0.25174644589424133, 0.5814141631126404, 0.1643676459789276, -0.8373242616653442, 0.3553111255168915, 0.37951356172561646, -0.4536711275577545, -0.3314577341079712, -0.4838988482952118, -0.6192492246627808, 1.1692333221435547, 0.4644329249858856, -0.5958953499794006, -0.02488391473889351, 0.2508056163787842, 0.7719277739524841, -0.6017912030220032, -0.06702356040477753, 0.9311789274215698, 0.4880625903606415, 0.2839168906211853, -0.6794408559799194, 0.5436342358589172, -0.16269691288471222, -0.02886897139251232, -0.09178490191698074, -0.2730080783367157, 0.6464855670928955, 0.025540314614772797, -0.18535779416561127, 0.33879736065864563, 0.6873882412910461, 0.5013110637664795, 0.4245356321334839, 0.6168100237846375, 0.3870644271373749, 1.0822112560272217, -0.0691022202372551, 0.6789335012435913, -0.4525008797645569, 0.1440763622522354, 1.1755971908569336, -0.8176637291908264, 0.8552701473236084, 0.5003650784492493, -0.021378932520747185, 0.33059605956077576, 0.7880070209503174, -0.24398250877857208, 0.4597504138946533, 0.8079614043235779, -0.17721518874168396, -0.4033252000808716, -0.11063258349895477, -0.3348577916622162, 0.35555121302604675, 0.44065073132514954, -0.07706765085458755, 0.0472126379609108, 0.16866448521614075, -0.27040404081344604, -0.03165656700730324, 0.10606750100851059, 0.53531813621521, -0.009186974726617336, -0.6433902382850647, 1.0187879800796509, -0.24414297938346863, 0.8604755997657776, -0.25553154945373535, -0.05820907652378082, -0.2800789475440979, 0.03250198811292648, -0.09836262464523315, -0.19221410155296326, 0.2376178801059723, -0.031830817461013794, 0.1776735931634903, 0.06872457265853882, 0.4109344184398651, -0.33204635977745056, -0.3700411915779114, 0.5181415677070618, 0.7531095743179321, 0.5837018489837646, -0.20511852204799652, -0.5420801639556885, 0.2600642144680023, -0.32444098591804504, -0.06765569746494293, 0.21224236488342285, 0.5579943060874939, -0.17954635620117188, 0.8024569749832153, 0.253315269947052, 0.07514896243810654, -0.048006631433963776, 0.22205910086631775, 0.8752379417419434, -0.6780107021331787, -0.26851192116737366, -0.7875854969024658, -0.10040269792079926, -0.2650141417980194, -0.30667737126350403, 0.706953763961792, 0.6376826167106628, 0.5953426361083984, -0.0007544395048171282, 0.5274621248245239, 0.07838121056556702, 0.37795397639274597, -0.5592402815818787, 0.8009908199310303, -0.7415088415145874, 0.3802555501461029, -0.1438564956188202, -0.978919267654419, -0.27178195118904114, 0.5241374969482422, -0.16696564853191376, -0.09723217785358429, 0.96209716796875, 1.1167854070663452, 0.11339588463306427, 0.07809608429670334, 0.6381915807723999, 0.1019359827041626, 0.002669714856892824, 0.23967063426971436, 1.130128026008606, -0.25663283467292786, 0.2849620580673218, -0.3629094064235687, -0.10961131006479263, -0.3473857641220093, -0.8966593742370605, -1.1650573015213013, -0.8330015540122986, -0.612505316734314, -0.36270448565483093, 0.448773592710495, 1.2988570928573608, 0.735014021396637, -0.9533018469810486, -0.42044490575790405, 0.12889108061790466, 0.032130081206560135, -0.29469770193099976, -0.20622843503952026, 0.5490758419036865, -0.3840625286102295, -0.7073404788970947, 0.36629435420036316, 0.1443515568971634, 0.10575252771377563, -0.43008697032928467, -0.19649288058280945, 0.17232784628868103, 0.32206499576568604, 0.528587281703949, -0.08556697517633438, -1.0050315856933594, -0.20057928562164307, 0.12936340272426605, -0.30689024925231934, 0.0010428689420223236, 0.7093449831008911, -0.9441116452217102, 0.025877399370074272, 0.14636985957622528, 0.6867551207542419, 0.31651487946510315, -0.17340630292892456, 0.2941097915172577, -0.4231718182563782, 0.12275893241167068, 0.568397581577301, 0.35757526755332947, 0.30188822746276855, -0.4482457637786865, 0.7139739990234375, 0.0573447160422802, -0.33914172649383545, -1.2850251197814941, -0.17181040346622467, -0.9109530448913574, -0.5086590647697449, 1.1072804927825928, 0.15553708374500275, -0.23993341624736786, -0.278825581073761, -0.019947011023759842, 0.013384412042796612, -0.2230014055967331, 1.3326263427734375, 0.740180253982544, -0.3422442078590393, 0.08602594584226608, -0.5351883172988892, 0.7822058796882629, 0.4497818350791931, -0.9560158848762512, 0.26260918378829956, 0.685364305973053, -0.042485788464546204, 0.03866574913263321, 0.45948299765586853, 0.12421494722366333, 0.2168874591588974, -0.033575914800167084, 0.2757010757923126, 0.2044006586074829, -0.3615187704563141, -0.3909817636013031, 0.2967483103275299, -0.19243337213993073, -0.0855192169547081 ]
http://arxiv.org/abs/2402.16200v1
http://arxiv.org/pdf/2402.16200v1
IR2: Information Regularization for Information Retrieval
2024-02-25T21:25:06
2024-02-25T21:25:06
Jianyou Wang, Kaicheng Wang, Xiaoyue Wang, Weili Cao, Ramamohan Paturi, Leon Bergen
cs.IR
cs.IR, cs.AI, cs.CL, cs.LG
Effective information retrieval (IR) in settings with limited training data, particularly for complex queries, remains a challenging task. This paper introduces IR2, Information Regularization for Information Retrieval, a technique for reducing overfitting during synthetic data generation. This approach, representing a novel application of regularization techniques in synthetic data creation for IR, is tested on three recent IR tasks characterized by complex queries: DORIS-MAE, ArguAna, and WhatsThatBook. Experimental results indicate that our regularization techniques not only outperform previous synthetic query generation methods on the tasks considered but also reduce cost by up to 50%. Furthermore, this paper categorizes and explores three regularization methods at different stages of the query synthesis pipeline-input, prompt, and output-each offering varying degrees of performance improvement compared to models where no regularization is applied. This provides a systematic approach for optimizing synthetic data generation in data-limited, complex-query IR scenarios. All code, prompts and synthetic data are available at https://github.com/Info-Regularization/Information-Regularization.
[ -0.5310139060020447, -0.8378818035125732, 0.11001593619585037, 0.21039199829101562, -0.07623810321092606, 0.11226632446050644, -0.274890661239624, -0.5464835166931152, 0.1825495958328247, 0.3866954743862152, -0.24709093570709229, -0.254689484834671, -0.2174096405506134, 0.07976687699556351, -0.286930650472641, 0.8998348712921143, -0.014784184284508228, 0.3095467984676361, 0.06522106379270554, 0.05153854563832283, -0.40081384778022766, -0.356519490480423, -0.5085813403129578, -0.133172407746315, 0.6500342488288879, 0.7430055737495422, 0.4274573028087616, 0.7062707543373108, 0.9579735994338989, 0.0965469479560852, 0.251630961894989, 0.5048073530197144, -1.066473126411438, 0.5707674622535706, -0.06006230041384697, -0.6880951523780823, 0.131149560213089, 0.07398948073387146, 0.8466776013374329, 0.5656665563583374, 0.04495296999812126, 0.1785425841808319, -0.18591047823429108, 1.0289381742477417, -0.9346341490745544, -0.0036988297943025827, -0.7958696484565735, 0.09393583983182907, -0.2550908625125885, -0.5042480230331421, -0.3953300714492798, -0.47906261682510376, -0.09123339504003525, -0.6630187034606934, 0.6220760941505432, 0.5466300249099731, 0.8419760465621948, 0.4063359200954437, -0.3713880181312561, 0.00845494493842125, -1.2385395765304565, 0.8492971062660217, -0.14893865585327148, 0.4873863756656647, 0.6163926124572754, 0.5566704869270325, -0.37875041365623474, -0.9398769736289978, -0.6511121392250061, -0.09279493987560272, -0.27466556429862976, 0.25016528367996216, -0.21973620355129242, 0.1763128638267517, 0.48395904898643494, 0.1990734040737152, -0.7762153744697571, -0.5065316557884216, -0.8462116718292236, 0.15691421926021576, 0.43785661458969116, -0.23119805753231049, -0.158009335398674, 0.059127822518348694, -0.36269140243530273, -0.2188720554113388, -0.5858545899391174, -0.09892959147691727, 0.3472954332828522, 0.19621339440345764, 0.6937636137008667, 0.832118809223175, -0.48850950598716736, 0.5937538743019104, -0.055813129991292953, -0.04258644953370094, -0.1446167230606079, -0.4462207853794098, 0.07631012052297592, -0.0041739726439118385, 0.3300776481628418, 0.5214994549751282, 0.3782743215560913, -0.17329522967338562, -0.4458896517753601, 0.077109195291996, 0.16883830726146698, -0.9345658421516418, -0.125529944896698, 0.11922832578420639, -0.43345412611961365, 0.010792813263833523, 0.49302229285240173, -0.6400033831596375, -0.022864848375320435, -0.5781949758529663, 0.39942845702171326, -0.33087417483329773, -0.007359651383012533, 0.1295931339263916, -0.4073823094367981, 0.3803412914276123, 0.15936614573001862, -0.44534263014793396, 0.6559619307518005, 0.4453887343406677, 0.5453333258628845, -0.19485047459602356, 0.15678474307060242, -0.704559326171875, 0.4018511176109314, -0.3828178644180298, 0.7132424116134644, -0.6316983103752136, -0.062455639243125916, -0.3047963082790375, -0.2799772024154663, 0.13246259093284607, -0.7701900005340576, 0.2095637321472168, -0.7882131934165955, 0.10505864024162292, 0.1254899501800537, -0.32407817244529724, 0.0001231297355843708, 0.3216109573841095, -0.6057787537574768, 1.3872092962265015, 0.2180267870426178, -0.5363359451293945, 0.08376536518335342, -0.4974955916404724, -0.5168378353118896, -0.18421941995620728, -0.12753698229789734, -0.1985745131969452, -0.04023806378245354, -0.38638824224472046, -0.1864089071750641, -0.7946748733520508, 0.10103029757738113, 0.4226624369621277, -0.6288974285125732, -0.1824205368757248, 0.09826773405075073, -0.10672258585691452, 0.5942152142524719, -0.23473401367664337, -0.4351557195186615, -0.8197919130325317, 0.5608081221580505, -0.035932913422584534, -0.6877989768981934, -0.47406548261642456, -0.09669521450996399, 0.3134145438671112, -0.27598124742507935, 0.173868790268898, -0.7155049443244934, 0.5905695557594299, -0.3469195067882538, 0.25688987970352173, 0.09915440529584885, 0.2356644719839096, 0.296252578496933, -0.31035488843917847, 0.4088784158229828, -0.20072680711746216, 0.3902398943901062, -0.001128936419263482, -0.38501840829849243, -0.9902769327163696, -0.1514693796634674, 0.8430310487747192, 0.7440752387046814, -0.6583088040351868, 0.1299123615026474, -0.10837934166193008, -0.5188840627670288, -0.4499041736125946, -0.022259686142206192, 0.5991172194480896, 0.2910902202129364, 0.8465694785118103, -0.06911635398864746, -0.9246374368667603, -0.9315363168716431, -0.49367713928222656, -0.08012859523296356, -0.30072906613349915, 0.3739127814769745, 0.31046730279922485, -0.46260932087898254, 0.9440184831619263, -0.7176288962364197, -0.5605412721633911, 0.01845322735607624, 0.3872476816177368, -0.0861952006816864, 1.120999813079834, 0.47806164622306824, -1.0262365341186523, -0.5959439873695374, -0.05205296725034714, -0.20933613181114197, 0.26963186264038086, -0.22765162587165833, -0.4619308114051819, -0.12300475686788559, 0.4795638620853424, -0.5419330596923828, 0.5209819078445435, -0.1022602766752243, -0.01972281001508236, -0.020994804799556732, -0.19171029329299927, 0.4425452649593353, -0.7904826402664185, 0.34684470295906067, 0.08246719837188721, -0.25937220454216003, -0.6333093643188477, 0.15843264758586884, 0.08238523453474045, -0.17768147587776184, 0.26207518577575684, 0.40223371982574463, -0.612504243850708, 0.011419717222452164, -0.0069822161458432674, -0.08709027618169785, 0.2912195324897766, 0.3443624675273895, -0.24871502816677094, 0.8116675615310669, 0.1266918033361435, -0.4067593812942505, 0.27840667963027954, 0.22763334214687347, -0.22616539895534515, 0.11519666761159897, -0.694809079170227, 0.3560067415237427, -0.6626183986663818, 0.2308896780014038, -1.2356106042861938, -0.6122130155563354, 0.09840864688158035, -0.6200032234191895, 0.6019188761711121, -0.47173112630844116, -0.7127089500427246, 0.047767311334609985, -0.5636293888092041, 0.6199963688850403, 0.7505204677581787, -0.3781359791755676, 0.5630797147750854, 0.19154886901378632, -0.08071335405111313, -0.34634873270988464, -0.8938995599746704, 0.06387721002101898, 0.10072281211614609, -0.7119267582893372, 0.7020847201347351, -0.2370561808347702, -0.34536391496658325, -0.1809604912996292, -0.28556838631629944, -0.47861409187316895, -0.1447104513645172, -0.4269498586654663, 0.12033922225236893, -0.21615272760391235, 0.1390693038702011, 0.21352994441986084, -0.10710189491510391, -0.4252965450286865, -0.19308161735534668, 0.4801928997039795, 0.3826131224632263, 0.010100303217768669, -0.597825288772583, 0.6651996970176697, 0.3548496961593628, -0.2703339457511902, 0.5574514269828796, 0.6071223020553589, -0.6366099715232849, 0.036873288452625275, -1.1550382375717163, -0.48559603095054626, -0.38628602027893066, 0.09351316839456558, -0.33279111981391907, -0.4081604778766632, 0.26312437653541565, -0.13125233352184296, -0.10358446836471558, 0.22091014683246613, -0.05116754397749901, -0.1311950832605362, 1.4608855247497559, 0.4947957694530487, 0.35288482904434204, 0.6846746802330017, -0.5479835867881775, 0.20537596940994263, -0.6590356826782227, -0.770972728729248, -0.7913030385971069, -0.538486123085022, -0.5739266872406006, -0.5724846720695496, 0.6401298642158508, 0.37853655219078064, -0.10932373255491257, 0.00422091968357563, -0.6118872165679932, 0.6757534146308899, 0.8972027897834778, 0.26222336292266846, 0.20321601629257202, 0.46867844462394714, 0.46538570523262024, -0.19673871994018555, -0.629219651222229, -0.003017718903720379, 0.9084444642066956, -0.1572049856185913, 1.0995172262191772, 0.24978457391262054, 0.4146564304828644, 0.3450024127960205, -0.1599365919828415, -0.9063118696212769, 0.04545113816857338, -0.00044023292139172554, -0.4625801146030426, -0.12979857623577118, -0.5902573466300964, -0.9712932109832764, -0.060808971524238586, -0.4022673964500427, -0.17651572823524475, 0.47980189323425293, 0.13279029726982117, -0.2857021689414978, -0.23563836514949799, -1.0012134313583374, 0.24735243618488312, 0.11731711775064468, -0.3955160677433014, -0.3027641177177429, -0.8623338937759399, -0.20819590985774994, -0.2200823873281479, -0.09884415566921234, 0.2875140905380249, -0.20331653952598572, 0.6945282816886902, -0.3125569820404053, 0.29810306429862976, -0.27428945899009705, 0.6379609107971191, 0.3964219391345978, 0.2814554274082184, 1.0060921907424927, 0.10053468495607376, -0.3210986852645874, -0.4100492596626282, 0.08559272438287735, -0.5201799273490906, -0.9079455137252808, 0.6648252010345459, -0.6093598008155823, -0.5243647694587708, -0.3643500804901123, -0.4523014724254608, -0.20865851640701294, 0.45802852511405945, 0.21705001592636108, 0.2851525545120239, 0.3583468496799469, 0.7867737412452698, 0.9618621468544006, 0.06997751444578171, -0.38920968770980835, 0.6247698664665222, 0.4285736083984375, -0.45864957571029663, 1.0113104581832886, 0.5646253824234009, 0.100151926279068, 0.40676844120025635, 0.0899244025349617, -0.03628819063305855, -0.5958728790283203, 0.03660908341407776, 0.26257121562957764, -0.3822070062160492, -0.6374446749687195, -0.550455629825592, -0.08770392090082169, -0.6386969089508057, 0.17563223838806152, -0.3442608416080475, -0.8575485944747925, -0.26079225540161133, 0.12604868412017822, 0.356606125831604, 0.6031736135482788, -0.14850585162639618, 0.1294689029455185, -0.5080959796905518, 0.5551943778991699, 0.041645511984825134, 0.35862186551094055, -0.3256845474243164, -0.24637910723686218, -0.1612796187400818, -0.024863796308636665, -0.050949111580848694, -0.4028179943561554, 0.12494917213916779, 0.5493178367614746, 0.4668598771095276, 0.1947331577539444, 0.4519462287425995, 0.9110530018806458, -0.37097904086112976, 0.4398099482059479, -0.023135414347052574, -0.25211527943611145, 0.9188804030418396, -0.1847720891237259, -0.05953867733478546, 0.7304372191429138, 0.6019866466522217, -0.22462737560272217, -0.20520099997520447, -0.37042883038520813, -1.1856703758239746, 0.7839052677154541, 0.7151793837547302, 0.11233265697956085, 0.01599428802728653, 1.0087355375289917, -0.07938078045845032, 0.14868515729904175, -0.26908406615257263, -0.5032403469085693, 0.03561398759484291, -0.1443309634923935, 0.6095097661018372, -0.7369309663772583, -0.23367610573768616, -0.2373390644788742, 0.6902891397476196, -0.032239221036434174, 0.3864978551864624, 0.6219541430473328, 0.11337148398160934, -0.34231463074684143, -0.2186892330646515, 0.3700614273548126, 0.4126540720462799, -0.4304964244365692, 0.01265741791576147, -0.22466832399368286, -0.48766183853149414, -0.22867970168590546, 0.16858060657978058, -0.32742372155189514, 0.044525086879730225, 0.09327403455972672, 0.3744564652442932, -0.4030603766441345, -0.7007235884666443, 0.24969810247421265, -0.24334004521369934, 0.060017745941877365, -0.3816441595554352, 0.4219965636730194, -0.7863741517066956, 0.31409528851509094, 0.7984276413917542, 0.36470961570739746, 0.658614993095398, -0.6161508560180664, 0.07762569189071655, 0.3413117527961731, -0.16472703218460083, 0.03991944342851639, 0.6913197636604309, -0.12274128198623657, -0.14911937713623047, 0.7221270799636841, -0.08832544833421707, 0.037979234009981155, 0.5761025547981262, 0.5925734043121338, 0.259231835603714, -0.1430310755968094, -0.2871425747871399, 0.7971094250679016, 0.2051059752702713, -0.4116375744342804, 0.6506844162940979, -0.1933048516511917, -0.33931541442871094, 0.005177509039640427, -0.19684773683547974, -0.22811643779277802, 0.0022726119495928288, -0.8670129776000977, 0.47592103481292725, -0.5431205034255981, -0.35216280817985535, 0.03827567398548126, -0.007534235715866089, -0.4014644920825958, 0.15131117403507233, -0.444572389125824, 0.937023937702179, -0.07891053706407547, 0.5063764452934265, 0.5711751580238342, -0.536465048789978, -0.5271620750427246, 0.14816269278526306, -0.5776179432868958, -0.3403501510620117, 0.7279691696166992, 0.0019673090428113937, -0.09829895198345184, 0.3560000956058502, -0.7623416781425476, -0.9814397692680359, 1.0687782764434814, 0.3317391872406006, -0.45907148718833923, -0.2610761821269989, 0.14113697409629822, 0.6015876531600952, -0.06928059458732605, 0.3176742196083069, 0.6383442878723145, 0.8647696375846863, 0.2904544472694397, -0.45995059609413147, -0.18103013932704926, -0.4409521818161011, 0.2734012007713318, 0.21073035895824432, -0.7873785495758057, 0.607911229133606, -0.15604378283023834, -0.39123106002807617, 0.5736075043678284, 0.2914640009403229, -0.026282671838998795, 0.21011118590831757, 0.17565587162971497, -0.005551897455006838, 0.7207320332527161, -0.40382692217826843, 1.0295062065124512, -0.6190475821495056, 0.44333669543266296, 0.804311215877533, 0.050048720091581345, 0.6335194110870361, 0.7479267120361328, 0.08779757469892502, -0.09656549990177155, 0.5722869634628296, -0.24300801753997803, 0.6258689761161804, 0.43965932726860046, -0.15293161571025848, -0.18847359716892242, -0.4854889512062073, -0.407329797744751, 0.08979093283414841, 0.38394802808761597, -0.1399466097354889, -0.08945217728614807, 0.048154931515455246, -0.032047804445028305, -0.07904157787561417, 0.23607267439365387, 0.9351769685745239, -0.4607910215854645, -0.8401252627372742, 1.0110009908676147, 0.34055235981941223, 0.35778579115867615, -0.7430716753005981, -0.5642352104187012, -0.614107608795166, 0.10708346217870712, -0.46350815892219543, -0.41916441917419434, 0.18534639477729797, 0.017178116366267204, -0.4617064297199249, 0.011721791699528694, 0.536586344242096, -0.5624961256980896, -0.3658689558506012, 0.05386572703719139, 0.08087796717882156, 0.320481538772583, -0.20741930603981018, -0.5322617888450623, -0.0026969651225954294, 0.25002557039260864, -0.4830886423587799, 0.0820411741733551, 0.4832667410373688, -0.12266024202108383, 0.5396085977554321, 0.7712138891220093, 0.07940763980150223, 0.0386657640337944, -0.01783232018351555, 1.1358473300933838, -0.6599701046943665, -0.09566617757081985, -0.15556953847408295, 0.20387136936187744, 0.06434529274702072, -0.10818792879581451, 0.45940864086151123, 1.1557828187942505, 0.9563473463058472, -0.02964644320309162, 0.7963166236877441, -0.2202383130788803, 0.6264225840568542, -0.7339809536933899, 0.3305085003376007, -0.6590167284011841, 0.30552858114242554, 0.16566713154315948, -1.218930721282959, -0.7448828220367432, 0.7592817544937134, 0.19282212853431702, -0.03713611140847206, 0.3619363605976105, 1.2668002843856812, -0.20065349340438843, -0.4498222768306732, -0.007577124517410994, 0.28776997327804565, 0.20979653298854828, -0.08678929507732391, 0.7178110480308533, -0.9120810031890869, 0.7998542189598083, -0.20138466358184814, -0.18672345578670502, -0.48901060223579407, -0.047067999839782715, -0.5878248810768127, -0.47491708397865295, -0.19183284044265747, -0.465096116065979, 0.37467363476753235, 1.1090507507324219, 0.8212711811065674, -0.8159538507461548, -0.052351776510477066, -0.16498054563999176, -0.2020799219608307, 0.31698301434516907, -0.31286370754241943, 0.030215004459023476, -0.5707505941390991, -0.912760317325592, 0.5218968987464905, -0.08753756433725357, 0.3414340913295746, -0.08959850668907166, 0.11789879947900772, -0.4106578528881073, 0.13074107468128204, 0.39294159412384033, 0.2561810612678528, -0.29128938913345337, -0.31992626190185547, 0.18216030299663544, -0.0026375618763267994, 0.3590530753135681, 1.0143723487854004, -0.8826726675033569, 0.7487550377845764, 0.8722034692764282, 0.4596071243286133, 0.9003247022628784, 0.46800756454467773, 0.5355648994445801, -1.0368765592575073, 0.31055745482444763, 0.47752687335014343, -0.15707913041114807, 0.11854308098554611, -0.7465412616729736, 1.1090548038482666, 0.11905979365110397, -0.40605974197387695, -1.019132375717163, 0.1409173160791397, -0.7758370637893677, -0.11165016144514084, 1.3101307153701782, 0.22761653363704681, 0.03701872378587723, -0.10581725090742111, -0.5979911684989929, 0.3480753004550934, -0.6503998637199402, 0.816798746585846, 0.06554756313562393, -0.4218716621398926, 0.4245198965072632, -0.726405680179596, 0.5980262756347656, 0.37254661321640015, -0.4470943212509155, -0.3064672350883484, 0.653146505355835, 0.1849711537361145, 0.2646099328994751, 0.1761353313922882, -0.07526029646396637, 0.232571542263031, -0.24884693324565887, 0.03521975874900818, 0.005151417572051287, -0.640067458152771, 0.3718286156654358, -0.10874946415424347, 0.06964569538831711, 0.004276571795344353 ]
http://arxiv.org/abs/2402.16194v1
http://arxiv.org/pdf/2402.16194v1
ASEM: Enhancing Empathy in Chatbot through Attention-based Sentiment and Emotion Modeling
2024-02-25T20:36:51
2024-02-25T20:36:51
Omama Hamad, Ali Hamdi, Khaled Shaban
cs.CL
cs.CL
Effective feature representations play a critical role in enhancing the performance of text generation models that rely on deep neural networks. However, current approaches suffer from several drawbacks, such as the inability to capture the deep semantics of language and sensitivity to minor input variations, resulting in significant changes in the generated text. In this paper, we present a novel solution to these challenges by employing a mixture of experts, multiple encoders, to offer distinct perspectives on the emotional state of the user's utterance while simultaneously enhancing performance. We propose an end-to-end model architecture called ASEM that performs emotion analysis on top of sentiment analysis for open-domain chatbots, enabling the generation of empathetic responses that are fluent and relevant. In contrast to traditional attention mechanisms, the proposed model employs a specialized attention strategy that uniquely zeroes in on sentiment and emotion nuances within the user's utterance. This ensures the generation of context-rich representations tailored to the underlying emotional tone and sentiment intricacies of the text. Our approach outperforms existing methods for generating empathetic embeddings, providing empathetic and diverse responses. The performance of our proposed model significantly exceeds that of existing models, enhancing emotion detection accuracy by 6.2% and lexical diversity by 1.4%.
[ -0.43474915623664856, -0.7443429827690125, 0.2899583578109741, 0.2805134057998657, -0.19004641473293304, 0.21625138819217682, -0.4064364731311798, -0.3570229709148407, 0.3837259113788605, 0.43238258361816406, -0.584352433681488, -0.5004205703735352, -0.7638816833496094, 0.14021098613739014, -0.25101253390312195, 0.745886504650116, 0.13536423444747925, -0.23451200127601624, -0.4396567940711975, -0.23140311241149902, -0.28261932730674744, -0.6109451651573181, -0.7777427434921265, -0.15715691447257996, 0.25144362449645996, 0.4704189896583557, 0.5693185925483704, 0.2078271210193634, 0.6497079730033875, 0.3493916094303131, -0.15126866102218628, 0.22671981155872345, -0.4808124601840973, 0.34091252088546753, 0.05538197234272957, -0.3514063060283661, -0.7343701720237732, -0.18961328268051147, 0.11628083139657974, 0.24642714858055115, -0.14391407370567322, -0.036003969609737396, 0.20657546818256378, 0.548656165599823, -0.7315554022789001, -0.03174203634262085, -0.5434563755989075, 0.15451645851135254, 0.25809749960899353, -0.2762611210346222, -0.44177085161209106, -0.03326083719730377, 0.28121671080589294, -0.29384055733680725, 0.05429242551326752, -0.020790917798876762, 0.5488176941871643, 0.4984845817089081, -0.3648874759674072, -0.3391018509864807, -0.5137022137641907, 0.7775704264640808, -0.7852112650871277, 0.2065451592206955, -0.012250779196619987, 0.22480595111846924, 0.32851195335388184, -0.301120400428772, -0.5621918439865112, -0.04108147323131561, 0.20714344084262848, 0.6906585693359375, -0.28924140334129333, 0.2252551019191742, 0.1599280834197998, 0.34689271450042725, -0.356564998626709, -0.1279856264591217, 0.08196675777435303, 0.215900257229805, 0.6753926873207092, 0.2989857494831085, 0.4849835932254791, -0.012760203331708908, -0.29590678215026855, -0.1317235231399536, -0.05613650754094124, 0.08808815479278564, 0.5169565081596375, 0.40419259667396545, -0.35598334670066833, 0.5877930521965027, -0.008272473700344563, 0.16233903169631958, -0.10724375396966934, 0.30725201964378357, 0.32298484444618225, 0.14643225073814392, -0.33481863141059875, 0.043726008385419846, 0.9690233469009399, 0.8237258791923523, 0.3874116539955139, 0.12339582294225693, -0.2133820354938507, 0.3975011110305786, 0.6081143617630005, -0.9281138777732849, -0.08929689973592758, 0.6053597331047058, -0.5839204788208008, -0.5176084041595459, -0.09050658345222473, -1.0973197221755981, -0.4741825759410858, -0.13971871137619019, 0.24834172427654266, -0.47927409410476685, -0.40679216384887695, 0.29471129179000854, -0.1802055686712265, -0.0235883891582489, 0.34877052903175354, -0.6990810632705688, 0.50392085313797, 0.4650617241859436, 0.8184860348701477, -0.008991144597530365, 0.10338842868804932, -0.23924407362937927, -0.06945405900478363, 0.0005225854110904038, 0.6496667265892029, -1.1042474508285522, -0.5150752663612366, 0.11616170406341553, -0.34975677728652954, 0.09921552240848541, -0.29088112711906433, 0.43462511897087097, -0.33180803060531616, 0.24985849857330322, 0.21237912774085999, -0.6710619330406189, -0.3060535490512848, 0.43840065598487854, -0.2878323495388031, 0.8361114859580994, -0.031434956938028336, -0.6559097766876221, -0.07538086175918579, -1.1790189743041992, -0.5044217109680176, -0.13935884833335876, 0.05792095884680748, -0.36555275321006775, 0.509479820728302, 0.373935341835022, 0.460883229970932, -0.4225236773490906, -0.09766693413257599, -0.35480183362960815, 0.013149465434253216, 0.37336376309394836, -0.35342010855674744, 0.33991187810897827, 0.10820464789867401, -0.26788052916526794, 0.44773125648498535, -0.4869672358036041, -0.08839384466409683, 0.07278091460466385, 0.0706171989440918, -0.3269263207912445, 0.010171258822083473, 0.2165898084640503, 0.25368642807006836, 0.38202282786369324, -0.8531712293624878, -0.2099771797657013, -0.6605526208877563, 0.34548595547676086, 0.6916325092315674, -0.017946669831871986, 0.6707713603973389, 0.08071085065603256, 0.7336390018463135, 0.2613518238067627, 0.3386068344116211, -0.5129261612892151, -0.545137882232666, -0.7931432723999023, -0.4182298183441162, -0.07176871597766876, 0.5036008954048157, -0.24297849833965302, 0.6658322215080261, -0.02892163209617138, -0.45533034205436707, -1.098877191543579, -0.1887841820716858, 0.49041497707366943, 0.4355129599571228, 0.38649559020996094, -0.687082052230835, -0.3603850305080414, -0.720123291015625, -0.3687264621257782, 0.012929342687129974, -0.2646932303905487, 0.7417289614677429, 0.18632613122463226, -0.6084164977073669, 0.9267078042030334, -0.5058768391609192, -0.22438643872737885, -0.21136407554149628, 0.14302198588848114, -0.15630018711090088, 0.33925649523735046, 0.28526705503463745, -0.6845045685768127, -0.6650362014770508, 0.28302231431007385, -0.8446417450904846, -0.14540019631385803, -0.10655363649129868, -0.28633183240890503, 0.24888160824775696, 0.2339278608560562, -0.671764075756073, 0.46349257230758667, 0.45258912444114685, -0.37479522824287415, -0.1704898625612259, -0.03769766911864281, 0.30644723773002625, -1.2561436891555786, 0.09732761234045029, 0.019086768850684166, -0.14317885041236877, -0.7333325743675232, 0.22378674149513245, -0.0844903364777565, -0.4165155589580536, -0.35530272126197815, 0.7474963068962097, -0.2818434536457062, 0.07511685788631439, -0.3941187262535095, 0.34393519163131714, 0.13460120558738708, 0.5649476051330566, 0.003820231184363365, 0.10329762101173401, 0.7581419348716736, -0.22275106608867645, 0.4581363797187805, 0.5181366801261902, 0.4483034014701843, 0.6332234740257263, -0.7043745517730713, 0.40832850337028503, -0.15995387732982635, 0.11021776497364044, -1.058573603630066, -0.30164775252342224, 0.35324862599372864, -1.0429490804672241, 0.2892705202102661, 0.07474390417337418, -0.3328043520450592, -0.3384544551372528, -0.32518211007118225, 0.16509275138378143, 0.8824881315231323, -0.21791040897369385, 1.221924901008606, 0.4269270896911621, -0.4074830412864685, -0.33532458543777466, -0.45964255928993225, 0.04642489552497864, -0.15077748894691467, -0.7963891625404358, -0.07651662081480026, -0.0444682240486145, -0.2157193273305893, -0.005089812912046909, -0.017922861501574516, 0.03157886490225792, 0.2138485461473465, 0.46193596720695496, 0.006325937807559967, -0.091349758207798, 0.2238672524690628, 0.3423667252063751, -0.12012910842895508, 0.22982384264469147, 0.07377322763204575, 0.6359162330627441, 0.01720908284187317, -0.4537847340106964, -0.6556852459907532, 0.6874250173568726, 0.684862494468689, -0.5478878021240234, 0.6427173018455505, 0.6021484136581421, -0.41773033142089844, -0.10177399963140488, -0.3994836211204529, -0.5799261927604675, -0.4800454378128052, 0.37522923946380615, -0.2976587116718292, -0.8802576065063477, 0.6819765567779541, -0.07120587676763535, 0.16654077172279358, 0.17831455171108246, 0.7239790558815002, -0.1586860716342926, 1.3726732730865479, 0.49815139174461365, -0.21737894415855408, 0.497514009475708, 0.13133470714092255, 0.49398764967918396, -0.88984215259552, -0.19042246043682098, -0.2909291386604309, -0.5392624735832214, -0.4600801169872284, -0.5542452335357666, 0.11710145324468613, -0.3541078269481659, -0.36731037497520447, -0.14227107167243958, -0.6964494585990906, 0.1800972819328308, 0.5028036832809448, 0.3574289381504059, -0.030227715149521828, -0.08312024921178818, 0.47543224692344666, -0.049576785415410995, -0.41273561120033264, -0.6920844912528992, 1.0974993705749512, 0.5607349872589111, 0.7046694159507751, -0.02986239083111286, 0.7741150259971619, 0.18638046085834503, 0.4713270366191864, -0.8455820083618164, 0.5548354983329773, -0.12361220270395279, -0.3657267689704895, -0.21432572603225708, -0.36753785610198975, -0.6650781631469727, 0.11682137101888657, -0.08948037028312683, -0.7121551632881165, -0.1066153272986412, 0.2727176547050476, -0.46142762899398804, -0.0404433012008667, -0.7006681561470032, 0.8307362198829651, -0.021366743370890617, -0.20432095229625702, -0.42126208543777466, -0.9397916793823242, -0.013008072972297668, 0.09224990755319595, -0.007473696954548359, -0.2618197500705719, -0.10217910259962082, 0.44027185440063477, -0.2699296772480011, 1.0009011030197144, -0.4204581677913666, 0.01806248165667057, 0.532357394695282, 0.19615131616592407, 0.3763829171657562, 0.0872536450624466, -0.10299815237522125, 0.1454552859067917, -0.7513773441314697, -0.286275714635849, -0.7370659708976746, 0.4945453703403473, -0.9249519109725952, -0.3696151375770569, 0.0736469030380249, -0.5749701857566833, -0.23731975257396698, -0.15111535787582397, 0.06819673627614975, 0.38888952136039734, -0.258167028427124, 0.2597525119781494, 0.6138648986816406, -0.5622777938842773, 0.192826047539711, 0.2615274488925934, 0.061400849372148514, -0.331021785736084, 0.8788573145866394, -0.5029019117355347, 0.13739776611328125, 0.4056035578250885, 0.08313588052988052, -0.14338549971580505, 0.0673433467745781, -0.22789853811264038, -0.08380004018545151, -0.4615401029586792, -0.3784014880657196, -1.2271562814712524, -0.04579399153590202, -0.5478841662406921, -0.669629693031311, -0.7352519631385803, -0.02098805643618107, -0.5380309224128723, -0.05807222053408623, 0.7498852610588074, 0.36030927300453186, 0.2147839069366455, 0.6852448582649231, -1.0179213285446167, 0.3026345372200012, 0.17503561079502106, 0.26900848746299744, 0.2171226590871811, -0.6377732157707214, -0.11205220222473145, 0.13158266246318817, -0.4088761806488037, -0.8005434274673462, 0.9283849596977234, 0.29196083545684814, 0.16690053045749664, 0.682094156742096, 0.1966615915298462, 0.41045916080474854, -0.3640224039554596, 0.7120480537414551, 0.3238736689090729, -1.2535641193389893, 0.7076057195663452, -0.45154839754104614, 0.2665562927722931, 0.2547787129878998, 0.18487638235092163, -0.5287358164787292, -0.8634575605392456, -0.7854642868041992, -1.1521306037902832, 0.7668124437332153, 0.5171489715576172, 0.6650784015655518, -0.08460194617509842, 0.05938555300235748, 0.04696009308099747, 0.2691918611526489, -0.3189879059791565, -0.03395790234208107, -0.30218496918678284, -0.8877403140068054, 0.020826110616326332, -0.2053985595703125, -0.04191458970308304, 0.19325774908065796, 0.3399355709552765, -0.2563929557800293, 0.7232185006141663, 0.04758066684007645, -0.07843592017889023, -0.11085935682058334, 0.004476077854633331, 0.22924169898033142, -0.34794604778289795, -0.14065790176391602, -0.18905384838581085, 0.2267063707113266, -0.1518726348876953, -0.34676676988601685, -0.06991789489984512, 0.4549727737903595, -0.17967669665813446, 0.19726791977882385, 0.9187929630279541, 0.2545901834964752, -0.8300102353096008, 0.6231275200843811, -0.11659952998161316, 0.2065686732530594, -0.1145198717713356, 0.04977017641067505, 0.3269883394241333, 0.5623986124992371, 0.04452352970838547, 0.3034013509750366, 0.520301342010498, -0.46441033482551575, 0.19197122752666473, 0.20027336478233337, -0.7115067839622498, -0.5042634606361389, 0.718087911605835, 0.8044681549072266, -0.5188676118850708, 0.6822242140769958, 0.19262172281742096, -0.705779492855072, 0.8475515842437744, 0.42118752002716064, 1.2371947765350342, -0.6006377935409546, 0.06405039876699448, 0.16722099483013153, -0.07736321538686752, 0.318575382232666, 0.601241946220398, -0.1014467179775238, -0.947268009185791, 0.08037246763706207, -0.507767379283905, -0.6682068109512329, -0.6313692331314087, -0.9765723347663879, 0.14126715064048767, -0.35876280069351196, -0.3169601559638977, -0.3380294144153595, -0.4720381498336792, -0.7724074125289917, 0.43923425674438477, 0.39838916063308716, 0.6144094467163086, -0.9010812044143677, 0.204861119389534, 0.8719844222068787, -0.16111810505390167, -0.34418877959251404, -0.03411898389458656, -0.08048443496227264, -0.7115896940231323, 0.07272909581661224, 0.4979795217514038, -0.21609732508659363, 0.15187717974185944, -0.5213625431060791, -0.36327505111694336, 0.7139841914176941, 0.24832452833652496, -0.5287182927131653, 0.2071600705385208, -0.0028795446269214153, 0.9276913404464722, -0.7756372690200806, 0.7836339473724365, 0.30943694710731506, 0.14014171063899994, 0.1284288763999939, -0.4305097758769989, -0.05745663121342659, -0.6215871572494507, -0.011513282544910908, 0.09597562253475189, -0.8681093454360962, 0.5950700044631958, -0.18859973549842834, -0.10263141989707947, -0.2315872758626938, 0.6541950702667236, 0.3023051619529724, 0.34539496898651123, 0.3497805893421173, 0.47315913438796997, 0.5751893520355225, 0.07565603405237198, 1.1021316051483154, -0.702212929725647, 0.2051125019788742, 0.960482120513916, -0.49765968322753906, 0.983063817024231, 0.2383066713809967, 0.243105947971344, 0.24061442911624908, 0.636158287525177, 0.10712239146232605, 0.38128745555877686, -0.1560591459274292, -0.3550127148628235, -0.35387152433395386, -0.3197854161262512, -0.013487384654581547, 0.5588626265525818, 0.4620300233364105, -0.6537231206893921, 0.21743722259998322, 0.25306496024131775, -0.029728112742304802, 0.11129526048898697, -0.36120861768722534, 0.9465850591659546, 0.23387685418128967, -0.22178426384925842, -0.07528380304574966, -0.23561164736747742, 0.7193974852561951, -0.23526602983474731, 0.1463530957698822, -0.283670574426651, 0.2738402485847473, -0.06524208933115005, -0.8590089082717896, 0.24272790551185608, 0.3496732711791992, -0.082657590508461, -0.31486183404922485, 0.8758560419082642, -0.4850892722606659, -0.4163224697113037, 0.7218307852745056, 0.46820515394210815, 0.10261042416095734, -0.47329291701316833, -0.5026919841766357, 0.1646442711353302, -0.047359928488731384, -0.6214310526847839, 0.050726085901260376, 0.8872258067131042, 0.30441296100616455, 0.6963891386985779, 0.31061607599258423, -0.41035962104797363, -0.2266693264245987, 0.4036969840526581, 1.028197169303894, -0.6468019485473633, -0.541764497756958, -1.1379002332687378, 1.0642528533935547, -0.3790828287601471, -0.3856539726257324, 0.5149977803230286, 0.2781551778316498, 0.3466608226299286, -0.19380387663841248, 0.904116690158844, 0.06837205588817596, 0.4291110038757324, 0.12841565907001495, 0.7296954989433289, -0.7631354331970215, -0.30963611602783203, -0.5621829628944397, -0.6793768405914307, -0.4254225194454193, 0.6777040958404541, -0.06416157633066177, 0.059296030551195145, 0.34961846470832825, 0.6932623982429504, 0.13066759705543518, 0.24511761963367462, 0.5306882262229919, 0.2877863347530365, 0.20936915278434753, 0.6539838314056396, 0.8124658465385437, -0.3149649202823639, 0.27063262462615967, 0.17863823473453522, -0.35037311911582947, -0.5665766596794128, -0.4146096110343933, -1.0564017295837402, -0.2600597143173218, -0.38049033284187317, -0.09500458836555481, -0.051041826605796814, 1.1073856353759766, 0.38211289048194885, -0.6597574949264526, 0.026423385366797447, -0.027624614536762238, -0.3172386586666107, 0.14685207605361938, -0.22293035686016083, 0.05611675977706909, -0.4197919964790344, -1.0049667358398438, 0.050857093185186386, 0.6583279967308044, -0.1086457297205925, 0.028233608230948448, -0.12941840291023254, 0.508293628692627, 0.648566484451294, 0.8297039866447449, -0.2654409110546112, -0.505679190158844, -0.2836621105670929, 0.25492429733276367, -0.17330734431743622, 0.23261873424053192, 0.47788968682289124, -0.4255675673484802, 0.7897195219993591, 0.39141374826431274, 0.8470216989517212, 0.1365337371826172, 0.1730642020702362, 0.8695598244667053, -0.8064463138580322, 0.10258866846561432, 0.5905776023864746, 0.2797182500362396, 0.42459574341773987, -0.5272946953773499, 0.39501050114631653, -0.13042162358760834, -0.439247727394104, -0.8472760319709778, 0.2097364217042923, -1.169753909111023, 0.07410629838705063, 1.1042057275772095, -0.32713839411735535, -0.22612906992435455, 0.30117547512054443, -0.5336645245552063, 0.6077632904052734, -1.048383116722107, 0.95362788438797, 0.37140846252441406, -0.23539507389068604, -0.25560513138771057, -0.19061174988746643, 0.15186190605163574, 0.4897465407848358, -0.9792433381080627, 0.29336321353912354, 0.3007555305957794, -0.24832193553447723, 0.15373244881629944, 0.4218690097332001, 0.026765726506710052, 0.0404510572552681, 0.2547004818916321, 0.7417537569999695, 0.22918139398097992, -0.19667725265026093, -0.34425219893455505, 0.2600767910480499, -0.27715355157852173, -0.33180922269821167 ]
http://arxiv.org/abs/2402.16192v2
http://arxiv.org/pdf/2402.16192v2
Defending Large Language Models against Jailbreak Attacks via Semantic Smoothing
2024-02-25T20:36:03
2024-02-28T23:11:33
Jiabao Ji, Bairu Hou, Alexander Robey, George J. Pappas, Hamed Hassani, Yang Zhang, Eric Wong, Shiyu Chang
cs.CL
cs.CL
Aligned large language models (LLMs) are vulnerable to jailbreaking attacks, which bypass the safeguards of targeted LLMs and fool them into generating objectionable content. While initial defenses show promise against token-based threat models, there do not exist defenses that provide robustness against semantic attacks and avoid unfavorable trade-offs between robustness and nominal performance. To meet this need, we propose SEMANTICSMOOTH, a smoothing-based defense that aggregates the predictions of multiple semantically transformed copies of a given input prompt. Experimental results demonstrate that SEMANTICSMOOTH achieves state-of-the-art robustness against GCG, PAIR, and AutoDAN attacks while maintaining strong nominal performance on instruction following benchmarks such as InstructionFollowing and AlpacaEval. The codes will be publicly available at https://github.com/UCSB-NLP-Chang/SemanticSmooth.
[ -0.3603666424751282, -1.131870985031128, 0.5327318906784058, 0.06465774774551392, -0.11979055404663086, -0.12085723131895065, -0.19041527807712555, -0.45917874574661255, 0.2908485531806946, 0.915992796421051, -0.6646878719329834, -0.47873353958129883, -0.9772289991378784, -0.10060351341962814, -0.7829651832580566, 0.8534454107284546, 0.22730322182178497, -0.310261070728302, -0.09324797242879868, 0.07640693336725235, -0.7203018665313721, -0.41467443108558655, -0.3872501850128174, -0.0698959231376648, 0.4308708906173706, 0.21390105783939362, 0.9251790046691895, 0.533102810382843, 0.5641672611236572, 0.3946596086025238, 0.22343069314956665, 0.0032617049291729927, -0.29143786430358887, 0.652877151966095, -0.23794542253017426, -0.14260675013065338, -0.5073270797729492, -0.20948097109794617, 0.3397308886051178, 0.2313908040523529, -0.2037186473608017, -0.25050756335258484, -0.31864404678344727, 0.41594836115837097, -0.7214785814285278, -0.19320102035999298, -1.3222616910934448, -0.22938935458660126, -0.6009579300880432, 0.07588239759206772, -0.6615781188011169, 0.10127903521060944, -0.030492199584841728, -0.5109794735908508, -0.08647245168685913, 0.1552264243364334, 0.9537930488586426, 0.38184991478919983, -0.2841508090496063, -0.21247117221355438, -0.16912543773651123, 0.6208775639533997, -0.8793333172798157, 0.22305400669574738, 0.6398154497146606, 0.3507736623287201, -1.010940670967102, -0.708784818649292, -0.48781251907348633, -0.417923241853714, 0.09681180864572525, 0.04306655749678612, -0.5090416073799133, 0.32456985116004944, 0.3455462157726288, 0.05123821645975113, -0.4830152988433838, 0.5443185567855835, -0.2950550615787506, -0.5840422511100769, 0.4356382489204407, 0.1957257241010666, 0.6458610892295837, -0.23816055059432983, -0.5227537155151367, -0.11609440296888351, -0.5921980738639832, 0.007640647701919079, 0.5670445561408997, 0.3518644869327545, -0.13623809814453125, 0.7257463932037354, -0.2954769730567932, 0.8204755783081055, -0.08616640418767929, -0.4327647387981415, -0.06571318209171295, -0.033852215856313705, -0.0640803650021553, 0.17027266323566437, 0.84957355260849, 0.4318994879722595, 0.1168876513838768, -0.4594130218029022, -0.2635734975337982, 0.40077829360961914, 0.5301111340522766, -0.9053208231925964, -0.1711619794368744, 0.4146783947944641, -0.07219265401363373, -0.3425889313220978, 0.1455375850200653, -0.8557575345039368, -0.47556087374687195, 0.12833371758460999, 0.3304201662540436, -0.6950311064720154, 0.08113997429609299, 0.3448428511619568, -0.019759120419621468, 0.12026523798704147, 0.07842135429382324, -1.0868721008300781, 0.47090664505958557, 1.0070369243621826, 0.728503406047821, -0.3122834861278534, -0.2675471305847168, -0.8404541611671448, 0.37456128001213074, -0.0350341796875, 0.8494611382484436, -0.5893240571022034, -0.6873568892478943, -0.06910229474306107, -0.08338795602321625, -0.19709493219852448, -0.30403026938438416, 1.006367564201355, -0.6623381972312927, -0.0031340536661446095, 0.260552316904068, -0.7364346385002136, 0.16459845006465912, 0.45245662331581116, -0.8284978270530701, 0.9391704201698303, -0.11187611520290375, -1.0285671949386597, 0.1936730593442917, -0.37061992287635803, -0.4460829794406891, -0.18681010603904724, 0.006156284827739, -0.30759504437446594, 0.16373935341835022, 0.47016429901123047, 0.32594841718673706, -0.14681051671504974, 0.25224360823631287, -0.5514797568321228, -0.04451322183012962, 0.29899001121520996, -0.377259224653244, 0.5011352300643921, 0.29349666833877563, -0.12675172090530396, 0.44416847825050354, -0.7624841332435608, -0.07216662913560867, 0.14721262454986572, -0.04119357466697693, -0.5084065794944763, 0.14359554648399353, -0.40124955773353577, 0.3413272202014923, 0.15974517166614532, -0.7821207642555237, 0.25736185908317566, -0.6135369539260864, 0.5538618564605713, 0.8398595452308655, -0.0986403077840805, 0.27338868379592896, -0.22766953706741333, 0.44526591897010803, 0.008851553313434124, 0.16126134991645813, -0.3721048831939697, -0.5268280506134033, -0.4402972459793091, -0.6646713614463806, 0.2678597569465637, 0.549511730670929, -0.785237193107605, 0.36649248003959656, -0.3061818480491638, -0.48110681772232056, -0.4512946903705597, 0.3109457194805145, 0.23672063648700714, 0.6966537833213806, 0.4405929744243622, -0.18470481038093567, -0.34650611877441406, -0.890975296497345, -0.5864518284797668, -0.1956777423620224, -0.12960664927959442, -0.20427879691123962, 0.28639912605285645, -0.40202638506889343, 0.7841376066207886, -0.5128788948059082, -0.12197394669055939, 0.025610053911805153, -0.10173245519399643, 0.028675636276602745, 0.5991215705871582, 0.5992616415023804, -0.44297555088996887, 0.03945038467645645, -0.38877034187316895, -0.3893918991088867, -0.38262560963630676, 0.04286035895347595, -0.40031030774116516, 0.10141429305076599, 0.8231731057167053, -0.849091112613678, 0.42810046672821045, 0.6435511708259583, -0.6291784644126892, 0.5201481580734253, -0.05549731105566025, -0.17407754063606262, -1.0998808145523071, -0.4293982684612274, -0.0881488174200058, -0.4345394968986511, -0.5796062350273132, 0.341165691614151, -0.11961749941110611, -0.11745774745941162, -0.34822332859039307, 0.7020982503890991, 0.1712067574262619, 0.16359035670757294, -0.420359343290329, 0.21797741949558258, -0.012211451306939125, 0.05603395402431488, -0.21173380315303802, 0.4913301169872284, 0.59812331199646, -0.41937384009361267, 0.4024502635002136, 0.09329774975776672, -0.24911491572856903, 0.54385906457901, -0.8614250421524048, 0.15784573554992676, 0.09908726811408997, 0.4091375470161438, -0.9624100923538208, -0.37546294927597046, 0.11123666912317276, -0.5154395699501038, 0.3958718180656433, -0.2650756537914276, -0.5820648074150085, -0.3058850169181824, -0.3866141140460968, 0.19070406258106232, 0.5268770456314087, -0.4321686923503876, 0.6750807166099548, 0.38906553387641907, -0.1900065541267395, -0.5659459829330444, -0.571313738822937, 0.33605629205703735, -0.3879205584526062, -0.9153090715408325, 0.34691858291625977, 0.20963892340660095, -0.444299578666687, -0.13215431571006775, -0.16218477487564087, 0.1584906131029129, 0.5823858976364136, 0.4083823561668396, 0.5001814961433411, 0.11492166668176651, -0.1701197773218155, 0.1071685403585434, -0.47992584109306335, 0.3415072560310364, -0.7204296588897705, 0.6034941077232361, 0.1634180247783661, -0.5307321548461914, -0.27101898193359375, 0.2753399908542633, 0.7258778810501099, -0.028681078925728798, 0.7456348538398743, 0.6527014374732971, -0.30714496970176697, -0.1363592892885208, -0.6032683253288269, -0.23103250563144684, -0.5326870083808899, 0.4235764443874359, -0.3424648940563202, -1.1641597747802734, 0.5938454270362854, 0.04143111780285835, 0.2988288104534149, 0.5539625883102417, 0.7433329224586487, 0.15975016355514526, 0.850389838218689, 0.4050743281841278, -0.264120876789093, 0.36948564648628235, 0.3423808515071869, 0.14403438568115234, -0.5162362456321716, -0.2707221806049347, -0.6613989472389221, 0.0068483198992908, -0.8271198272705078, -0.2930426001548767, 0.10355062037706375, -0.00000964705668593524, -0.12258506566286087, 0.5439591407775879, -0.21762940287590027, 0.2849632799625397, 0.42451515793800354, 0.0619293712079525, 0.19836267828941345, -0.12641575932502747, -0.30329322814941406, -0.030060583725571632, -0.373105525970459, -0.3475254476070404, 0.9513163566589355, 0.4817095398902893, 1.0011277198791504, 0.23008351027965546, 0.7673258781433105, 0.45279887318611145, -0.15539385378360748, -0.7078206539154053, 0.5518997311592102, -0.12293531745672226, -0.5051928162574768, -0.18751005828380585, -0.5522657036781311, -0.8032304048538208, 0.418075293302536, -0.23363767564296722, -1.1671737432479858, -0.2958020567893982, 0.09932930022478104, -0.13791309297084808, 0.4155650734901428, -0.6140081882476807, 0.8347844481468201, -0.26516371965408325, -0.3628179430961609, -0.24677854776382446, -0.6660777926445007, 0.6359817981719971, -0.18918459117412567, 0.39744168519973755, -0.577692449092865, 0.04086774215102196, 0.7697581052780151, -0.7810255885124207, 0.7985752820968628, -0.1713097244501114, -0.18717609345912933, 0.06002793461084366, 0.36898666620254517, 0.4789498448371887, 0.1483924388885498, 0.10632046312093735, 0.004310650750994682, 0.1175023764371872, -0.7250765562057495, -0.575977087020874, 0.9787492752075195, -0.4833963215351105, -0.9340671300888062, -0.20208650827407837, -0.7946658134460449, -0.3593657314777374, 0.3012807369232178, 0.27864062786102295, 0.536024808883667, -0.007036454509943724, -0.229326069355011, 0.7634927034378052, -0.14871840178966522, 0.4248240888118744, 0.23574203252792358, -0.31576067209243774, -0.39051002264022827, 0.7733432650566101, -0.18845418095588684, 0.4607163369655609, 0.20579001307487488, 0.31027698516845703, -0.1793355941772461, -0.5098015069961548, -0.3825066387653351, -0.15399087965488434, -0.6402871608734131, -0.42007267475128174, -0.6901536583900452, 0.02545703575015068, -0.6025769114494324, -0.21507087349891663, -0.3699595630168915, -0.7504833936691284, 0.4261090159416199, -0.06261184811592102, 0.7646569609642029, 0.4093738794326782, 0.13613739609718323, 0.3217714726924896, -0.6837993860244751, 0.444033145904541, 0.23799708485603333, 0.2027708739042282, -0.17053784430027008, -0.847148060798645, 0.11664732545614243, -0.16281439363956451, -0.22013354301452637, -0.579999566078186, 0.325512558221817, 0.06165088713169098, 0.3949587643146515, 0.3709844648838043, 0.3028952479362488, 0.6424868106842041, -0.6589680910110474, 0.5961920022964478, 0.26197922229766846, -0.8189846873283386, 0.48458796739578247, -0.4526400566101074, 0.38439708948135376, 0.7241472601890564, -0.1003573015332222, -0.2891891598701477, -0.6788427829742432, -0.5511879920959473, -1.0347102880477905, 0.4698392450809479, -0.008962283842265606, 0.4169716238975525, -0.1553749442100525, 0.266869455575943, 0.07212451100349426, 0.07706684619188309, -0.40905722975730896, -0.03921554237604141, -0.3371296226978302, -0.21346639096736908, 0.3361063599586487, -0.3086569011211395, -0.2139849066734314, -0.2094346582889557, 0.6134931445121765, 0.04071630910038948, 0.11493590474128723, -0.010716503486037254, -0.2714557647705078, 0.44060853123664856, 0.3512454032897949, 0.6783483624458313, 0.14264196157455444, -0.06922276318073273, 0.3101872205734253, 0.0715111717581749, -0.8441882729530334, 0.13778840005397797, 0.233278289437294, -0.23542869091033936, -0.22973750531673431, 0.5877147316932678, 0.840350866317749, 0.4059491455554962, -0.8141360282897949, 0.40588364005088806, -0.23292389512062073, -0.017315179109573364, -0.16118286550045013, 0.12873345613479614, -0.14627555012702942, -0.15022823214530945, -0.0811559185385704, -0.14161428809165955, 0.02760852500796318, -0.4378107190132141, 0.33282938599586487, 0.39577120542526245, -0.3931884765625, -0.14712940156459808, 0.7033700346946716, -0.09098908305168152, 0.018451234325766563, 0.6919489502906799, 0.18404081463813782, -0.6595814824104309, 0.4313637614250183, 0.7487927079200745, 0.9116666316986084, -0.13275837898254395, -0.2693437933921814, 0.044615618884563446, 0.43493223190307617, 0.08158759027719498, -0.1512427031993866, 0.014475986361503601, -0.6557409763336182, -0.2872236967086792, -0.6672627925872803, -0.31548771262168884, -0.2018359899520874, -0.5730253458023071, 0.3397662341594696, -0.7059040665626526, -0.23427936434745789, -0.022034669294953346, -0.41369199752807617, -0.1739474982023239, -0.13210757076740265, 0.25214728713035583, 1.2500232458114624, -0.4779532849788666, 1.0213779211044312, 0.353723406791687, -0.1191713809967041, -0.5645401477813721, -0.02375943399965763, 0.2659882605075836, -0.7164782881736755, 0.3911850154399872, 0.2785578966140747, -0.35550013184547424, -0.4025043845176697, -0.4715334475040436, -0.7538842558860779, 0.678094208240509, 0.5871738791465759, -0.3473037779331207, -0.04569138586521149, 0.04868438094854355, 0.12324307858943939, -0.11767672002315521, 0.0775168314576149, 0.8464857339859009, 0.466952383518219, 0.13075631856918335, -0.8055195212364197, 0.05210975557565689, -0.17254695296287537, -0.1461707204580307, 0.4323742985725403, -0.4561416804790497, 0.5738583207130432, -0.09465941786766052, 0.056138962507247925, 0.22077623009681702, 0.8603865504264832, 0.3381563723087311, 0.11068469285964966, 0.4712546467781067, 1.0220186710357666, 0.66609126329422, -0.40969642996788025, 1.2536638975143433, -0.39591309428215027, -0.12081354856491089, 1.2439305782318115, -0.2869325280189514, 0.8264623284339905, 0.4904056489467621, 0.19764377176761627, 0.6490581631660461, 0.3290470838546753, 0.08297213166952133, 0.6274825930595398, 0.3574516475200653, -0.15507322549819946, -0.26835012435913086, 0.04865611717104912, -0.1653796285390854, 0.657801628112793, 0.6154224276542664, 0.12298914790153503, -0.30698275566101074, 0.13340438902378082, 0.7705211639404297, 0.2544618844985962, -0.37458330392837524, 0.8226467967033386, 0.07489196211099625, -0.6701890230178833, 0.3900676667690277, 0.4435315430164337, 0.8182284832000732, -1.1088120937347412, 0.2783118188381195, 0.06217089667916298, 0.22295111417770386, -0.27330482006073, -0.5338984131813049, 0.2884925901889801, 0.03639868274331093, -0.10508182644844055, 0.18250247836112976, 0.920029878616333, -0.19805088639259338, -0.44432902336120605, 0.47019162774086, -0.06190898269414902, -0.32265302538871765, 0.2352767288684845, -0.6415896415710449, 0.4084410071372986, -0.4746554493904114, -0.1668972373008728, 0.695343554019928, 0.3079586327075958, -0.33965954184532166, 0.8359073400497437, 0.6683469414710999, -0.1136091873049736, 0.4900982975959778, -0.05190105363726616, 1.0722761154174805, -0.38466715812683105, -0.568882942199707, -1.2240523099899292, 0.25825560092926025, -0.1828005611896515, -0.2224830836057663, 1.077839732170105, 0.25517919659614563, 0.7163094878196716, 0.393002986907959, 0.5153979659080505, -0.0893612951040268, 0.2851378917694092, -0.9739254117012024, 0.5459688305854797, 0.013119570910930634, 0.3125966787338257, -0.5194801092147827, -0.5611957907676697, -0.39184850454330444, 0.2937023937702179, -0.42991578578948975, -0.14710110425949097, 0.5435991287231445, 0.6854314804077148, 0.04131966829299927, -0.04840940982103348, 0.34273043274879456, 0.28754425048828125, 0.6125423908233643, 0.44982415437698364, 0.6529642939567566, -0.24052274227142334, 0.16313357651233673, -0.17758852243423462, -0.0710042342543602, 0.04037642478942871, -1.1368359327316284, -1.0417040586471558, -0.3371128737926483, -0.039725493639707565, -0.8332450985908508, 0.1854110062122345, 0.9114010334014893, 0.6231900453567505, -0.8779324889183044, 0.00437981728464365, 0.14554080367088318, 0.06630532443523407, 0.18274500966072083, -0.17683526873588562, 0.34917768836021423, -0.5662369132041931, -0.3033403754234314, 0.6016603112220764, 0.25663161277770996, -0.2378014475107193, -0.35356834530830383, 0.056028857827186584, -0.08322365581989288, 0.38577648997306824, 0.43290215730667114, 0.3570258319377899, -0.9143606424331665, -0.3777444660663605, -0.28106367588043213, -0.09463629871606827, -0.37669554352760315, 0.9203604459762573, -0.8216824531555176, 0.5661661028862, 0.34052813053131104, 1.010725975036621, 0.060225509107112885, 0.04612326622009277, 0.5734506249427795, -0.6425200700759888, 0.7094454765319824, -0.05542413145303726, 0.7110059857368469, 0.2466563880443573, -0.2719976007938385, 0.187603160738945, 0.228188619017601, -0.41193699836730957, -0.7965409755706787, 0.5035996437072754, -0.9870328307151794, -0.2637118399143219, 0.9774749279022217, -0.29440802335739136, -0.49621620774269104, -0.06256797164678574, -0.06213405355811119, -0.2523934841156006, -0.5448887944221497, 0.774570882320404, 0.7856922745704651, 0.266760915517807, 0.2507566511631012, -0.7264803051948547, 0.4703710079193115, 0.38314172625541687, -0.6861788034439087, 0.18847142159938812, 0.5375972986221313, 0.16043241322040558, 0.018532924354076385, 0.09890756756067276, -0.5611178874969482, 0.24234814941883087, 0.02539522759616375, -0.2268162965774536, -0.36863136291503906, -0.29694274067878723, -0.35465335845947266, 0.12083997577428818, 0.25075459480285645, -0.0036316143814474344 ]
http://arxiv.org/abs/2402.16187v2
http://arxiv.org/pdf/2402.16187v2
No Free Lunch in LLM Watermarking: Trade-offs in Watermarking Design Choices
2024-02-25T20:24:07
2024-05-25T20:51:49
Qi Pang, Shengyuan Hu, Wenting Zheng, Virginia Smith
cs.CR
cs.CR, cs.CL, cs.LG
Advances in generative models have made it possible for AI-generated text, code, and images to mirror human-generated content in many applications. Watermarking, a technique that aims to embed information in the output of a model to verify its source, is useful for mitigating the misuse of such AI-generated content. However, we show that common design choices in LLM watermarking schemes make the resulting systems surprisingly susceptible to attack -- leading to fundamental trade-offs in robustness, utility, and usability. To navigate these trade-offs, we rigorously study a set of simple yet effective attacks on common watermarking systems, and propose guidelines and defenses for LLM watermarking in practice.
[ -0.4603997766971588, -0.49664226174354553, 0.5066499710083008, -0.19273239374160767, -0.6585662364959717, 0.10921648889780045, 0.49551522731781006, -0.6716364622116089, 0.13673020899295807, 0.7470579147338867, -0.41304031014442444, -0.2737000286579132, -0.724259614944458, -0.10948634147644043, -0.6250237226486206, 0.8143198490142822, -0.0981159657239914, -0.08117902278900146, -0.5246886014938354, -0.3218578100204468, -0.43868422508239746, -0.7606241703033447, -0.7497163414955139, -0.30616605281829834, 0.5718995332717896, 0.07800609618425369, 0.8148383498191833, 0.6984219551086426, 0.6864712834358215, 0.16958685219287872, -0.030463818460702896, 0.10215912014245987, -0.3705978989601135, 0.3440619111061096, -0.14645124971866608, -0.4789504110813141, -0.18033257126808167, 0.13257507979869843, 0.23204143345355988, 0.21710142493247986, 0.4150075912475586, 0.19515587389469147, 0.1617940366268158, 0.9560484290122986, -1.0491044521331787, -0.04928380623459816, -0.7449998259544373, 0.26758313179016113, -0.39541083574295044, -0.3692503869533539, -0.4770630896091461, -0.24755685031414032, -0.20199935138225555, -0.5461951494216919, 0.11353563517332077, 0.09562218934297562, 0.7370557188987732, 0.5780504941940308, -0.10367907583713531, -0.3681580424308777, -0.7347900867462158, 0.7096415162086487, -0.5840945243835449, -0.016462715342640877, 0.40801283717155457, 0.386301726102829, -0.023240523412823677, -0.6649109125137329, -0.3797653317451477, -0.04073086753487587, 0.09016434848308563, 0.2931036353111267, -0.678949773311615, 0.11638277024030685, 0.30770760774612427, 0.38874879479408264, -0.3352043330669403, 0.09529991447925568, 0.05684715881943703, -0.15475015342235565, 0.772077202796936, 0.2665289342403412, 0.6588408350944519, 0.1584315448999405, -0.6279740333557129, -0.29190418124198914, -1.216827630996704, -0.004590557422488928, 0.5428537726402283, 0.10585474222898483, 0.05908319726586342, 0.6346538662910461, 0.05088350549340248, 0.6493571400642395, -0.2639772891998291, 0.18050223588943481, -0.43882644176483154, -0.02893969789147377, -0.17407895624637604, -0.12656426429748535, 0.6012054085731506, 0.5625224113464355, 0.32800719141960144, -0.2801506817340851, -0.5309534072875977, -0.08886100351810455, 0.3936101198196411, -0.670853316783905, -0.22928503155708313, 0.05183956027030945, -0.5040323138237, -0.7051547169685364, 0.23909448087215424, -0.6370274424552917, -0.5503183603286743, -0.022348467260599136, 0.620808482170105, 0.037798602133989334, 0.055003196001052856, -0.09347564727067947, -0.5659208297729492, 0.24864616990089417, 0.3413090109825134, -0.6301870346069336, 0.14718042314052582, 0.5467510223388672, 0.9378111958503723, -0.5115674138069153, -0.05028650164604187, -0.6384041905403137, 0.7017241716384888, -0.26002025604248047, 1.0869542360305786, -0.45510828495025635, -0.9621611833572388, -0.14311307668685913, -0.27696359157562256, 0.211281880736351, -0.7098323106765747, 0.18440411984920502, -0.8780922293663025, -0.18200799822807312, -0.3532872200012207, -0.6602110266685486, -0.09631951153278351, 0.09360168129205704, -1.1495479345321655, 0.4507179856300354, -0.18781150877475739, -1.0914138555526733, 0.23940788209438324, -0.5462766289710999, -0.5924354791641235, 0.14913327991962433, -0.09407326579093933, -0.62022465467453, 0.08452600240707397, -0.027940183877944946, 0.27666613459587097, -0.16030621528625488, -0.1644279807806015, -0.5564343333244324, -0.5168503522872925, 0.5091003179550171, -0.6464678049087524, 0.7792657017707825, 0.3200012147426605, -0.3230248987674713, 0.0026610831264406443, -0.6275877356529236, 0.04360956326127052, 0.5321041941642761, -0.6682291626930237, -0.5449015498161316, 0.09661268442869186, -0.03239956870675087, -0.17947876453399658, 0.18847377598285675, -0.22553560137748718, 0.22887656092643738, 0.24021682143211365, 0.49772149324417114, 0.9764973521232605, 0.1382746547460556, 0.5193669199943542, -0.7280740141868591, 0.6857442855834961, -0.13023443520069122, 0.4196331202983856, -0.03976805880665779, -0.73792964220047, -0.7416273951530457, -0.4167243540287018, 0.2884373962879181, 0.6020536422729492, -0.7939644455909729, -0.11097539961338043, 0.11641859263181686, -0.3455945551395416, -0.3755112886428833, 0.3321245312690735, 0.5343073010444641, 0.1692528873682022, 0.37025555968284607, -0.41193893551826477, -0.34891852736473083, -1.0282948017120361, -0.5688965916633606, -0.008251149207353592, -0.16628317534923553, 0.3394078016281128, 0.52074134349823, -0.03661210834980011, 1.087283730506897, -0.6118700504302979, 0.01055188849568367, -0.22099393606185913, -0.020848073065280914, -0.1094730943441391, 0.48398295044898987, 0.7351932525634766, -0.8027569055557251, -0.3940463662147522, -0.42267635464668274, -0.6012650728225708, -0.1701650172472, -0.2414589673280716, -0.1386568546295166, 0.0551893524825573, 0.4020330607891083, -0.7136724591255188, 0.7723303437232971, 0.43039828538894653, -0.2092728167772293, 0.4909953773021698, -0.10041695833206177, -0.023871183395385742, -0.9290604591369629, 0.05398142710328102, -0.31342312693595886, -0.1620757281780243, -0.42681336402893066, 0.3670647442340851, -0.06001412868499756, -0.2761029899120331, -0.4534251391887665, 0.7956873178482056, -0.2969547510147095, -0.10106760263442993, -0.5284678936004639, -0.37052375078201294, 0.36410391330718994, 0.13339389860630035, -0.15043306350708008, 0.9624251127243042, 0.22790288925170898, -0.6005144715309143, 0.1658312827348709, -0.12410460412502289, -0.15065611898899078, 0.7030417919158936, -0.9181438684463501, 0.6004401445388794, -0.02176523581147194, 0.11109556257724762, -0.9132004976272583, 0.16156871616840363, 0.5657504200935364, -0.24368999898433685, 0.5297260880470276, -0.32638439536094666, -0.5375134348869324, -0.04395356774330139, -0.6305185556411743, 0.3580292761325836, 0.2917190492153168, -0.7799677848815918, 0.5092843174934387, 0.3116236925125122, 0.06175996735692024, -0.3899153769016266, -0.9302461743354797, 0.4096503257751465, -0.3966010510921478, -0.563617467880249, 0.8372833132743835, -0.4623856544494629, -0.47215190529823303, 0.16806699335575104, -0.12147664278745651, -0.20404402911663055, 0.5899963974952698, 0.5261187553405762, 0.3380102813243866, 0.016915809363126755, -0.528677225112915, -0.08123913407325745, -0.3890906274318695, -0.046352703124284744, 0.024117907509207726, 0.3615836501121521, 0.1640043556690216, -0.934827446937561, -0.5116259455680847, 0.7389878034591675, 0.5013847351074219, -0.07592615485191345, 0.4725944399833679, 0.17183062434196472, -0.4820309281349182, -0.16030174493789673, -0.2743358016014099, -0.11305646598339081, -0.5087946653366089, -0.04836516082286835, -0.05975376442074776, -0.7506745457649231, 0.5223690867424011, 0.11686383187770844, 0.2145473212003708, 0.29730740189552307, 0.17953477799892426, -0.3972458839416504, 0.8807868361473083, 0.5195866823196411, -0.3338533639907837, 0.6724440455436707, -0.15668371319770813, 0.13171879947185516, -0.6931819915771484, -0.023788267746567726, -0.374654620885849, -0.30317118763923645, -0.3940698504447937, -0.2047676295042038, -0.014804466627538204, 0.11441265791654587, -0.15676246583461761, 0.26962810754776, -0.47427889704704285, 0.764875590801239, 1.0056238174438477, -0.018873756751418114, 0.5183592438697815, 0.003455322002992034, 0.06717945635318756, -0.008216247893869877, -0.5880143046379089, -0.6606812477111816, 1.1258617639541626, -0.03736061602830887, 1.004433512687683, 0.09927813708782196, 1.0214922428131104, 0.770819902420044, 0.5500015020370483, -0.5229176878929138, 0.4509776532649994, -0.13578402996063232, -0.6851174235343933, -0.12325882911682129, -0.27404993772506714, -0.9565752744674683, 0.1718778908252716, -0.09960241615772247, -0.43322843313217163, -0.11520165950059891, 0.1751551479101181, -0.3899044692516327, 0.7486125230789185, -0.7019608616828918, 0.42518147826194763, -0.4644295275211334, -0.450564444065094, -0.19158470630645752, -0.2935122847557068, 0.11285462975502014, -0.02036888524889946, 0.1625569611787796, 0.030328508466482162, -0.03148767724633217, 0.5839895606040955, -0.131023108959198, 0.9481258392333984, -0.07043778896331787, -0.012953699566423893, 0.3987370729446411, 0.42634591460227966, 0.42956292629241943, -0.018754342570900917, 0.21424910426139832, 0.19888368248939514, -0.15478307008743286, -0.41752728819847107, -0.4602373540401459, 0.4163441061973572, -0.6391711831092834, -0.959380030632019, -0.4017404019832611, -0.37804022431373596, 0.08662236481904984, 0.22257870435714722, 0.39717748761177063, 0.10871727764606476, -0.23880529403686523, 0.05945592373609543, 0.6185821294784546, -0.3034178614616394, 0.7433358430862427, 0.32365211844444275, 0.08830984681844711, -0.7008826732635498, 1.0223485231399536, 0.18301253020763397, 0.39110124111175537, 0.36675816774368286, 0.1105126291513443, -0.10987106710672379, -0.7146100401878357, -0.6574491262435913, -0.20030176639556885, -0.8926366567611694, -0.5541974902153015, -0.11842165887355804, -0.4909706711769104, 0.11764845252037048, -0.3370200991630554, -0.32039326429367065, -0.4756604731082916, -0.6146463751792908, 0.06790720671415329, 0.2011842429637909, 1.0409034490585327, 0.10767583549022675, 0.17785222828388214, -0.7940407991409302, 0.2491699457168579, 0.7733949422836304, 0.2700931131839752, 0.17019274830818176, -0.33536088466644287, -0.030988816171884537, 0.07182800024747849, -0.829762876033783, -0.835736095905304, 0.0907038226723671, 0.09921768307685852, 0.7921270132064819, 0.6788616180419922, 0.15668825805187225, 0.1823914349079132, -0.42707088589668274, 0.6755611896514893, 0.2918981611728668, -0.8141734600067139, 0.5249748229980469, -0.08906155824661255, 0.027321726083755493, 0.2715599238872528, 0.12433174252510071, -0.30361464619636536, -0.16148309409618378, -0.5708657503128052, -0.8152176737785339, 0.0935492068529129, 0.38588011264801025, 0.3648744523525238, 0.16351300477981567, 0.2858719229698181, 0.15455114841461182, 0.11058321595191956, -0.9465472102165222, -0.34498730301856995, -0.5041241645812988, 0.18229427933692932, 0.3731837868690491, -0.4277906119823456, -0.47556403279304504, -0.059718649834394455, 0.4652770161628723, -0.04612526297569275, 0.4393940269947052, -0.06300899386405945, -0.22512967884540558, 0.10399448126554489, 0.21574540436267853, 0.5208108425140381, 0.11774986237287521, -0.04795706272125244, 0.5074146389961243, -0.016079410910606384, -0.20810481905937195, 0.1865866780281067, -0.10787118226289749, -0.6263335943222046, -0.1778925210237503, 0.4933052659034729, 0.6404853463172913, 0.2583003640174866, -0.46814683079719543, 0.4344806969165802, -0.06898795068264008, -0.16487360000610352, -0.0480039045214653, 0.4002271294593811, 0.3218955397605896, 0.3404505252838135, 0.3601384460926056, 0.06547825038433075, 0.1043691411614418, -0.17920489609241486, 0.10288482904434204, 0.8314871191978455, -0.009246109053492546, -0.20506002008914948, 0.8249489068984985, 0.10422659665346146, -0.4886058568954468, 0.5604512691497803, 0.11516586691141129, -0.4101613163948059, 0.7545169591903687, 0.7161628603935242, 0.9852687120437622, 0.06238735467195511, 0.06654640287160873, -0.14248473942279816, 0.2819850444793701, 0.13511718809604645, 0.11496806144714355, -0.24575340747833252, -0.8435736894607544, 0.16167156398296356, -0.3425494134426117, -0.9242743253707886, 0.09751075506210327, -0.72465580701828, 0.06586018949747086, -0.773457944393158, -0.3019188344478607, -0.20425072312355042, -0.2742738425731659, -0.6563018560409546, -0.04655776172876358, 0.5237440466880798, 0.8127164840698242, -0.545053243637085, 0.6855263113975525, 0.5210139751434326, -0.5353420972824097, -0.11779320985078812, 0.13873523473739624, 0.0508476160466671, -1.0696841478347778, 0.3572026789188385, 0.24511116743087769, -0.24003784358501434, -0.1652878075838089, -0.7899178862571716, -0.9228311777114868, 1.1713781356811523, 0.7009438276290894, -0.3664829730987549, 0.28613245487213135, 0.4669091999530792, 0.15234413743019104, -0.2521342635154724, -0.23284588754177094, 0.14048494398593903, 0.4261440634727478, -0.07194767892360687, -0.07808586210012436, 0.32292887568473816, -0.42335042357444763, 0.033857401460409164, -0.22103220224380493, -0.5797215700149536, 0.5897918939590454, -0.3082863390445709, -0.3821597695350647, 0.133807972073555, 0.2450055480003357, 0.36212432384490967, 0.43857842683792114, 0.4821898639202118, 0.7757696509361267, 0.42468202114105225, 0.04962249472737312, 1.3044286966323853, -0.24258054792881012, 0.1560516506433487, 0.8794011473655701, -0.23721371591091156, 0.8149250745773315, 0.7662268280982971, -0.29683297872543335, 0.2082592397928238, 0.7957233190536499, -0.34445783495903015, 0.8972386121749878, 0.33005914092063904, -0.4103560149669647, -0.3058168292045593, -0.1225711852312088, -0.5265788435935974, 0.09244084358215332, 0.062326133251190186, -0.24113206565380096, -0.11223267763853073, -0.4409458339214325, -0.0002652617113199085, -0.2403317242860794, -0.09174788743257523, 0.7259969115257263, 0.3898778259754181, -0.14534716308116913, 0.2157895416021347, -0.08617918193340302, 0.8426626920700073, -0.2624286115169525, -0.10786017030477524, -0.4790611267089844, -0.1585407257080078, -0.2042054533958435, -0.8711568713188171, 0.3424072563648224, 0.03840691223740578, -0.28718888759613037, -0.4182354509830475, 0.8955408334732056, 0.15740910172462463, -0.10607040673494339, 0.4309651851654053, 0.5259396433830261, -0.13588234782218933, -0.23208701610565186, -0.7274800539016724, 0.06976441293954849, -0.11562944203615189, -0.3395942449569702, 0.6672225594520569, -0.18705575168132782, 0.01684388518333435, 0.8719089031219482, 0.9216517806053162, -0.008144422434270382, 0.020236430689692497, 0.23335035145282745, 0.8439158797264099, -0.6332800984382629, -0.29930177330970764, -1.233359456062317, 0.22343018651008606, -0.07459750026464462, 0.0569893941283226, 0.5158411264419556, 0.4721378684043884, 0.7972291707992554, -0.17344295978546143, 1.2106140851974487, 0.3446178138256073, -0.2326868325471878, -0.6004672646522522, 1.124761939048767, -0.6192349791526794, 0.4196873903274536, -0.39826592803001404, -0.7773339748382568, -0.5581916570663452, 0.3285580277442932, -0.01056994590908289, -0.10818231105804443, 0.2799600660800934, 0.628268837928772, -0.058477092534303665, 0.08984385430812836, 0.35045942664146423, -0.6646490097045898, 0.6204094886779785, 0.49481111764907837, 1.2022814750671387, -0.11862482130527496, 0.6376878023147583, -0.33477434515953064, -0.062045250087976456, -0.1756955087184906, -1.2134120464324951, -0.7713053226470947, -0.38930821418762207, -0.2308226227760315, -0.29436662793159485, 0.06057942286133766, 0.38546720147132874, 0.6879994869232178, -0.8411238789558411, 0.08428476750850677, -0.015361151657998562, 0.5540942549705505, -0.059192731976509094, -0.15983517467975616, 0.2983234226703644, 0.1733679473400116, -0.22855515778064728, 0.15652163326740265, 0.3979172110557556, 0.8427202105522156, -0.0314193069934845, -0.24115842580795288, 0.2982255518436432, 0.3352243900299072, 0.32582786679267883, 0.30715471506118774, -0.5511986613273621, -0.416420042514801, -0.08291097730398178, -0.22152447700500488, 0.13439889252185822, 0.9598808884620667, -0.3361597955226898, 0.2883386015892029, 0.3383399546146393, 0.9646113514900208, 0.2295367568731308, -0.2893775999546051, 0.43363890051841736, -0.5012560486793518, 0.035304680466651917, -0.034674279391765594, 0.5324558615684509, 0.5855042934417725, -0.28905755281448364, 0.4105929136276245, 0.5396665930747986, -0.22085002064704895, -0.7497276067733765, 0.4059560298919678, -0.7415414452552795, -0.47508010268211365, 0.9317159056663513, -0.3529967665672302, -0.04015420004725456, 0.04028850793838501, -0.0688457116484642, 0.08088240772485733, -0.13394613564014435, 1.1365057229995728, 0.7917412519454956, -0.08753364533185959, 0.009473897516727448, -0.5335820317268372, 0.4379713535308838, 0.18343855440616608, -1.0093759298324585, -0.08424599468708038, 0.03800414502620697, 0.5599110722541809, -0.002553823869675398, 0.3946702778339386, -0.086344413459301, 0.3364962339401245, -0.07269719988107681, 0.06662046909332275, -0.26455557346343994, -0.16590896248817444, -0.12663841247558594, 0.03032069280743599, 0.40580615401268005, -0.5226852297782898 ]
http://arxiv.org/abs/2402.16168v1
http://arxiv.org/pdf/2402.16168v1
Hitting "Probe"rty with Non-Linearity, and More
2024-02-25T18:33:25
2024-02-25T18:33:25
Avik Pal, Madhura Pawar
cs.CL
cs.CL, cs.AI
Structural probes learn a linear transformation to find how dependency trees are embedded in the hidden states of language models. This simple design may not allow for full exploitation of the structure of the encoded information. Hence, to investigate the structure of the encoded information to its full extent, we incorporate non-linear structural probes. We reformulate the design of non-linear structural probes introduced by White et al. making its design simpler yet effective. We also design a visualization framework that lets us qualitatively assess how strongly two words in a sentence are connected in the predicted dependency tree. We use this technique to understand which non-linear probe variant is good at encoding syntactical information. Additionally, we also use it to qualitatively investigate the structure of dependency trees that BERT encodes in each of its layers. We find that the radial basis function (RBF) is an effective non-linear probe for the BERT model than the linear probe.
[ -0.30445048213005066, -0.9885812401771545, 0.4211491644382477, 0.10832926630973816, 0.001157923019491136, -0.17178158462047577, 0.17998060584068298, -0.6014854311943054, 0.6542704701423645, 0.11506784707307816, -0.464713990688324, -0.3434029817581177, -0.5366612672805786, -0.10463865846395493, -0.5275818705558777, 1.2519993782043457, 0.11181595176458359, 0.10770691931247711, 0.01546479668468237, -0.27150049805641174, -0.2433960735797882, -0.2590474784374237, -0.2552180290222168, -0.2562377154827118, 1.0250160694122314, 0.03918870538473129, 0.6270684003829956, 0.8959329724311829, 0.3339329659938812, 0.19194228947162628, -0.4173876941204071, -0.298996239900589, -0.6176626682281494, 0.31082287430763245, -0.09330499917268753, -0.5954482555389404, -0.3054629862308502, -0.11991593986749649, 0.6265823841094971, 1.2107834815979004, 0.3188525438308716, 0.3101252019405365, -0.1623421460390091, 0.672592282295227, -0.247918963432312, 0.20922517776489258, -0.25154027342796326, -0.058810681104660034, -0.2468278557062149, -0.4176959693431854, -0.7353781461715698, -0.2971380054950714, 0.2939496636390686, -0.33703938126564026, 0.2536682188510895, 0.09189003705978394, 1.1089146137237549, 0.14319606125354767, -1.008488416671753, -0.183820903301239, -0.8296113014221191, 0.7258862853050232, -0.45629173517227173, 0.8581472039222717, 0.1569460779428482, -0.1299557387828827, -0.5867075324058533, -0.631854236125946, 0.10998816043138504, -0.8015298247337341, -0.0889957994222641, -0.0942797064781189, -0.03636569157242775, 0.5026349425315857, 0.1749647557735443, 0.3724185526371002, -0.7873817086219788, -0.11690658330917358, -0.31421732902526855, -0.2736755609512329, 0.2509084641933441, -0.08761423081159592, 0.33692970871925354, -0.3948257863521576, -0.4610055088996887, -0.39789777994155884, -0.47466620802879333, 0.2662827670574188, 0.3291302025318146, 0.53717440366745, -0.010277274996042252, 0.7097412943840027, 0.33456653356552124, 0.733814537525177, 0.24756905436515808, -0.05768957734107971, 0.13282372057437897, -0.32331418991088867, -0.16412129998207092, 0.01269916258752346, 0.47053584456443787, -0.05424363538622856, 0.033915817737579346, -0.1911202222108841, -0.29888030886650085, 0.16072022914886475, 0.31514084339141846, -0.6869486570358276, -0.5281733870506287, 0.25057709217071533, -0.7041414976119995, -0.3923565447330475, -0.03012341633439064, -0.7854325771331787, -0.07292930781841278, -0.050350744277238846, 0.47235220670700073, -0.4077731966972351, -0.2886570394039154, -0.06698314100503922, -0.5233903527259827, 0.26463577151298523, 0.07404972612857819, -0.9334604144096375, 0.38613468408584595, 0.38435566425323486, 0.7651069164276123, 0.4033767580986023, 0.020386582240462303, -0.7341440916061401, -0.013221756555140018, -0.506800651550293, 0.7552676796913147, -0.5465622544288635, -0.4453763961791992, -0.08495313674211502, -0.1717170625925064, 0.24215519428253174, -0.2903798222541809, 0.3326554000377655, -0.5114461779594421, 0.371702641248703, -0.4870043992996216, -0.5834698677062988, -0.4102581739425659, 0.3446899652481079, -0.8445042371749878, 1.2774219512939453, 0.43167537450790405, -0.8970966339111328, 0.3071898818016052, -0.6822699308395386, -0.4325125515460968, 0.013031701557338238, -0.4817143678665161, -0.4504092335700989, 0.4082042872905731, -0.055981382727622986, -0.05502358824014664, 0.14345401525497437, 0.21335053443908691, -0.5258864760398865, -0.302420437335968, -0.10455363243818283, 0.10543915629386902, 0.8560865521430969, -0.2263522744178772, -0.5029791593551636, 0.31570687890052795, -0.6420627236366272, 0.1787845492362976, 0.05387408658862114, -0.5084375143051147, -0.3941226005554199, 0.1639053374528885, 0.34540417790412903, -0.24778927862644196, 0.1349058896303177, -0.7009789347648621, 0.2727612555027008, -0.5495803356170654, 0.29255276918411255, 0.7197668552398682, 0.1728503555059433, 0.5000576972961426, -0.11616826802492142, 0.5264195203781128, 0.08595500141382217, -0.02167433314025402, -0.018721939995884895, -0.5462667346000671, -0.8304803967475891, -0.13002608716487885, 0.47210636734962463, 0.3018971383571625, -0.6184105277061462, 0.12442710250616074, 0.1295272260904312, -0.5776309967041016, -0.13370759785175323, -0.1985016018152237, 0.5836840867996216, 0.6604076027870178, 0.34993425011634827, -0.35169899463653564, -0.7624767422676086, -0.8058841824531555, -0.3475829064846039, -0.5523939728736877, 0.1490902155637741, 0.45580267906188965, 0.6449863910675049, -0.0761757493019104, 0.8846131563186646, -0.4125303030014038, -0.24944791197776794, -0.29495522379875183, 0.5690748691558838, 0.4675386846065521, 0.131895050406456, 0.8116112947463989, -0.5848399996757507, -0.4206444323062897, 0.05036864057183266, -0.7633437514305115, -0.0382821187376976, -0.19037510454654694, 0.2015296220779419, -0.017716538161039352, 0.49687230587005615, -0.6765568256378174, 0.282169908285141, 0.3811214566230774, -0.543063223361969, 0.5171198844909668, -0.2053145170211792, -0.3722253143787384, -0.682206928730011, 0.2446233183145523, 0.18623346090316772, -0.19612950086593628, -0.9498439431190491, 0.09098275005817413, 0.3872884511947632, -0.01998695731163025, -0.2041516900062561, 0.3732519745826721, -0.7416595220565796, -0.3380548655986786, -0.12106464058160782, -0.08977682143449783, -0.06119907647371292, 0.5293208360671997, -0.30223143100738525, 0.7392845749855042, 0.3067644238471985, -0.3910161256790161, 0.12649431824684143, 0.2070455253124237, -0.15255539119243622, 0.09334327280521393, -0.9031069874763489, 0.12683837115764618, -0.5144575834274292, 0.44422420859336853, -0.9971164464950562, 0.09099564701318741, 0.16404904425144196, -0.7415422201156616, 0.33176085352897644, -0.3821905851364136, -0.3339475691318512, 0.028445813804864883, -0.6771052479743958, 0.5449849963188171, 0.28188183903694153, -0.4384003281593323, 0.4793798327445984, 0.28624117374420166, 0.22867165505886078, -0.8077930808067322, -0.640781581401825, -0.05652235075831413, -0.20791390538215637, -0.67525714635849, 0.3181212842464447, 0.19485796988010406, -0.2871071994304657, 0.16219975054264069, -0.3700030744075775, 0.007757709827274084, 0.12261932343244553, 0.11983408778905869, 0.37275969982147217, -0.807488203048706, 0.16933153569698334, -0.11354713886976242, -0.061307553201913834, 0.33691391348838806, -0.5451747179031372, 0.3897863030433655, -0.2264150232076645, -0.17158527672290802, -0.4836861193180084, 0.5079168677330017, 0.560393214225769, -0.25725704431533813, 0.3714652359485626, 0.30494585633277893, -0.3522998094558716, -0.24224220216274261, -0.17768922448158264, -0.4678579866886139, -0.49789270758628845, 0.601899266242981, -0.46345388889312744, -0.9011017680168152, 0.37607401609420776, -0.04119514301419258, -0.09643864631652832, 0.22569087147712708, 0.44165125489234924, -0.3992387652397156, 0.8434543609619141, 1.0338462591171265, -0.1553429365158081, 0.663334846496582, -0.09986650198698044, 0.5858189463615417, -0.6118371486663818, -0.3067994713783264, -0.6161851286888123, -0.4108782112598419, -0.7536699175834656, -0.027498379349708557, 0.5565359592437744, 0.1620069444179535, 0.03877492994070053, 0.546862006187439, -0.4053254723548889, 0.15138915181159973, 0.4443926215171814, 0.02510129101574421, -0.1479305922985077, -0.22046272456645966, -0.332240492105484, -0.14570419490337372, -0.45720192790031433, -0.15096120536327362, 1.0010082721710205, 0.6494826674461365, 0.863662838935852, 0.13052445650100708, 0.5039429068565369, 0.19761720299720764, -0.11847688257694244, -1.1462249755859375, 0.4159308969974518, 0.038504403084516525, -0.6619526743888855, -0.18328718841075897, -0.4712026119232178, -1.1052265167236328, 0.04734698310494423, 0.09159126877784729, -0.5765526294708252, 0.604771614074707, 0.3987863063812256, -0.05435081198811531, 0.22398428618907928, -0.8802034854888916, 0.6289304494857788, -0.48108458518981934, -0.2352510243654251, 0.21236684918403625, -0.7016435265541077, 0.06772417575120926, 0.3498094081878662, -0.09546389430761337, 0.3413757383823395, 0.007708642166107893, 0.7678723931312561, -0.16697260737419128, 0.9736912250518799, -0.4595940411090851, -0.05986206978559494, 0.03406664729118347, 0.5236720442771912, 0.4521782696247101, 0.09843958914279938, 0.14546960592269897, -0.058438751846551895, 0.1534361094236374, -0.5970141291618347, -0.6171491742134094, 0.31631237268447876, -0.6470625400543213, -0.4477328658103943, -0.5252276062965393, -0.7598912119865417, -0.09649699181318283, 0.2579461634159088, -0.06785768270492554, 0.5759616494178772, -0.23295284807682037, 0.2526111602783203, 0.8776319622993469, -0.09097187966108322, 0.244181826710701, 0.2270219326019287, -0.21467266976833344, -0.009536153636872768, 0.7219333648681641, 0.1339704543352127, 0.24012136459350586, 0.8329118490219116, 0.11777270585298538, -0.4424736201763153, -0.670730471611023, -0.34598949551582336, 0.5261748433113098, -0.5118641257286072, 0.002674256218597293, -0.4519508183002472, -0.2776774764060974, -0.32659080624580383, 0.1552681028842926, -0.39602726697921753, -0.5383418798446655, -0.188841313123703, -0.2587888538837433, 0.3915930390357971, 1.1527899503707886, -0.040333136916160583, -0.1042071133852005, -0.4913906157016754, 0.09863077849149704, 0.046859078109264374, 0.19877947866916656, -0.15122899413108826, -0.33163610100746155, -0.26936981081962585, -0.13432545959949493, -0.2572841942310333, -1.132857084274292, 0.4146938920021057, 0.10881274193525314, 0.39301034808158875, 0.3841579258441925, 0.04044467583298683, 0.6028569936752319, -0.4459899365901947, 0.6842063665390015, -0.052983008325099945, -0.9794091582298279, 0.6266766786575317, -0.6345747113227844, 0.052547384053468704, 0.20680977404117584, 0.3366469144821167, -0.5671455264091492, -0.3228698968887329, -0.2783230245113373, -0.8472632765769958, 0.4888472259044647, -0.04812408611178398, 0.03119814023375511, 0.04002193734049797, 0.5293012857437134, -0.0301199983805418, -0.02177385613322258, -1.0469504594802856, -0.3161160349845886, -0.3378770351409912, -0.24269035458564758, 0.3114602267742157, -0.578947901725769, -0.25012829899787903, -0.023478632792830467, 0.14968055486679077, -0.10641361773014069, 0.6986594796180725, 0.444031298160553, -0.07345784455537796, -0.2348402738571167, 0.06909364461898804, 0.7644875049591064, 0.4046327769756317, -0.7024462819099426, 0.5451157689094543, -0.10194540023803711, -0.37601912021636963, 0.07010778784751892, -0.3027161955833435, -0.034823499619960785, 0.3241470158100128, 0.7491821646690369, 0.7008880376815796, 0.18714091181755066, -0.38042405247688293, 0.44608527421951294, 0.049105651676654816, -0.5457379221916199, -0.27582335472106934, -0.19783687591552734, 0.19071830809116364, 0.2855733036994934, 0.15247918665409088, -0.0959402546286583, 0.1134471520781517, -0.5944179892539978, 0.4597569704055786, 0.7501959204673767, -0.5589182376861572, -0.6543781161308289, 0.5383501648902893, 0.03305963799357414, -0.5553681254386902, 0.6469617486000061, 0.029263023287057877, -0.5056536197662354, 0.5432485938072205, 0.6863177418708801, 0.5368383526802063, -0.16530941426753998, 0.21102431416511536, 0.1840922087430954, 0.4858960807323456, 0.33434566855430603, 0.6281353831291199, -0.16954362392425537, -0.5057607889175415, -0.3956972062587738, -0.1517249047756195, -0.4222985506057739, 0.19841673970222473, -0.9437448382377625, 0.3130483627319336, -0.8982784748077393, 0.0771591067314148, 0.19639132916927338, -0.0029578774701803923, 0.09324295073747635, 0.15497872233390808, -0.12865830957889557, 0.9730314016342163, -0.8857302665710449, 1.2354736328125, 0.7981098294258118, -0.4889662265777588, -0.7022350430488586, 0.11362838000059128, 0.03645103797316551, -0.6554673910140991, 1.1127523183822632, 0.20146262645721436, -0.25902536511421204, -0.29165053367614746, -0.3885689079761505, -1.0589882135391235, 0.9171924591064453, 0.33675673604011536, -0.2660365402698517, -0.22437018156051636, 0.16213546693325043, 0.6475052237510681, 0.0793345719575882, 0.5797377824783325, 0.056902289390563965, 0.5467247366905212, -0.16966058313846588, -0.8100681304931641, 0.057237133383750916, -0.37169763445854187, 0.169069305062294, 0.7535858750343323, -0.3409140110015869, 1.1177128553390503, -0.0776176005601883, -0.3144502341747284, -0.09427324682474136, 0.6683541536331177, -0.02804800495505333, 0.13255706429481506, 0.6413145661354065, 0.5080624222755432, 0.5682557225227356, 0.016683856025338173, 0.806961178779602, -0.23695108294487, 0.5449532270431519, 0.9570547342300415, -0.036851346492767334, 0.7769837379455566, 0.9150688648223877, -0.04760259389877319, 0.5548315644264221, 0.6638308167457581, -0.17674122750759125, 0.5794850587844849, 0.3030581772327423, -0.00661061005666852, 0.06309659034013748, -0.33697494864463806, -0.5151404142379761, 0.3350108861923218, 0.38373300433158875, -0.33115315437316895, -0.5821584463119507, -0.19531303644180298, 0.11495959758758545, -0.026910068467259407, 0.2642099857330322, 0.35314399003982544, 0.09867255389690399, -0.3064446449279785, 0.7544302344322205, 0.16214323043823242, 0.4032144844532013, -0.7829508185386658, -0.115204356610775, -0.27743616700172424, 0.24738334119319916, -0.26824650168418884, -0.6196824312210083, 0.5273697972297668, -0.3331129252910614, -0.37035879492759705, -0.6311377882957458, 0.4683060050010681, -0.17294065654277802, -0.1273074895143509, 0.9461743831634521, 0.4812791347503662, 0.04886513575911522, 0.33828410506248474, -0.4687052369117737, 0.054248109459877014, 0.23710982501506805, -0.33930331468582153, 0.32589995861053467, 0.34780579805374146, -0.019418129697442055, 0.5900424718856812, 0.5940812230110168, 0.06441570073366165, 0.2344960868358612, -0.0624554306268692, 0.9816897511482239, -0.9814050793647766, -0.21778129041194916, -0.5952512621879578, 0.5280414819717407, 0.385049968957901, -0.4227418303489685, 0.6727414727210999, 0.5608955025672913, 0.9172796607017517, -0.0025103420484811068, 0.30253762006759644, -0.09361707419157028, 0.4915778338909149, -0.40939539670944214, 0.4832453727722168, -0.7314869165420532, 0.21219636499881744, -0.08770034462213516, -0.7248159646987915, -0.44427725672721863, 0.5972926616668701, -0.08562614023685455, 0.11009075492620468, 1.1622055768966675, 0.9829522371292114, -0.15377923846244812, 0.13700918853282928, 0.12852194905281067, 0.680097758769989, 0.6514065861701965, 0.4913788139820099, 0.7674739360809326, -0.45518967509269714, 0.5950539708137512, -0.11772498488426208, -0.4091185927391052, -0.12054374814033508, -0.6919682025909424, -1.1398905515670776, -0.6748312711715698, 0.05098653957247734, -0.3225190341472626, 0.0026384235825389624, 0.5958184599876404, 0.7612698078155518, -0.7642471790313721, -0.5957179069519043, -0.44135722517967224, 0.004943481646478176, 0.008068718947470188, -0.24781069159507751, 0.4621395170688629, -0.43945780396461487, -0.3883626163005829, 0.9565683007240295, 0.35719501972198486, 0.010605367831885815, -0.3647967278957367, 0.24533185362815857, -0.46921420097351074, -0.12288910150527954, 0.3503756821155548, 0.39322343468666077, -0.6801368594169617, -0.6454483866691589, 0.4089675843715668, 0.03000994399189949, 0.3073292374610901, 0.9622698426246643, -0.882303774356842, 0.3682958483695984, 0.7319901585578918, 0.791310727596283, 0.6554560661315918, -0.34965890645980835, 0.6865590810775757, -0.8591713309288025, 0.24998536705970764, 0.3630101978778839, 0.21678826212882996, 0.06855790317058563, -0.5400225520133972, 0.2084510773420334, 0.22668878734111786, -0.45535603165626526, -1.102547526359558, 0.6830882430076599, -1.1792137622833252, -0.2556755542755127, 0.8425883650779724, -0.08888175338506699, -0.39767929911613464, -0.32938504219055176, -0.02868572063744068, 0.16590137779712677, -0.44191721081733704, 0.66745525598526, 0.49665138125419617, -0.5076882243156433, -0.34164664149284363, -0.4548277258872986, 0.23099203407764435, 1.0290733575820923, -0.49987146258354187, -0.31316080689430237, 0.23250406980514526, 0.3899841606616974, 0.2921352982521057, 0.3278508484363556, -0.20590738952159882, 0.06924253702163696, 0.1067311242222786, -0.10100331157445908, -0.0034583061933517456, -0.4340219795703888, -0.372517853975296, 0.34266698360443115, 0.302338182926178, -0.44361263513565063 ]
http://arxiv.org/abs/2402.16914v2
http://arxiv.org/pdf/2402.16914v2
DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers
2024-02-25T17:43:29
2024-03-01T07:26:50
Xirui Li, Ruochen Wang, Minhao Cheng, Tianyi Zhou, Cho-Jui Hsieh
cs.CR
cs.CR, cs.AI, cs.CL
The safety alignment of Large Language Models (LLMs) is vulnerable to both manual and automated jailbreak attacks, which adversarially trigger LLMs to output harmful content. However, current methods for jailbreaking LLMs, which nest entire harmful prompts, are not effective at concealing malicious intent and can be easily identified and rejected by well-aligned LLMs. This paper discovers that decomposing a malicious prompt into separated sub-prompts can effectively obscure its underlying malicious intent by presenting it in a fragmented, less detectable form, thereby addressing these limitations. We introduce an automatic prompt \textbf{D}ecomposition and \textbf{R}econstruction framework for jailbreak \textbf{Attack} (DrAttack). DrAttack includes three key components: (a) `Decomposition' of the original prompt into sub-prompts, (b) `Reconstruction' of these sub-prompts implicitly by in-context learning with semantically similar but harmless reassembling demo, and (c) a `Synonym Search' of sub-prompts, aiming to find sub-prompts' synonyms that maintain the original intent while jailbreaking LLMs. An extensive empirical study across multiple open-source and closed-source LLMs demonstrates that, with a significantly reduced number of queries, DrAttack obtains a substantial gain of success rate over prior SOTA prompt-only attackers. Notably, the success rate of 78.0\% on GPT-4 with merely 15 queries surpassed previous art by 33.1\%. The project is available at https://github.com/xirui-li/DrAttack.
[ -0.16312187910079956, -1.03962242603302, 0.5896524786949158, -0.02420775219798088, -0.1545886993408203, 0.5226556658744812, -0.019024761393666267, -0.24167655408382416, 0.2845097780227661, 0.509901762008667, -0.8237550258636475, -0.5324656963348389, -0.3848925232887268, 0.12771359086036682, -0.35097411274909973, 0.9582828283309937, 0.05942053720355034, -0.27061226963996887, 0.05580604821443558, -0.013026120141148567, -0.8208184242248535, -0.4429579973220825, -0.5744787454605103, 0.07745685428380966, 0.5554709434509277, 0.4891433119773865, 0.5565791726112366, 0.6804074645042419, 0.41258934140205383, 0.36006292700767517, -0.08482012152671814, -0.03805333003401756, -0.6856655478477478, 0.5473224520683289, -0.16272613406181335, -0.5025371313095093, -0.3566524088382721, 0.1795164942741394, 0.30746763944625854, -0.07103966921567917, -0.22294095158576965, -0.06583184003829956, -0.23355726897716522, 0.8770299553871155, -0.45779672265052795, -0.1545594036579132, -0.8008353114128113, -0.008411901071667671, -0.2877151370048523, -0.07653031498193741, -0.7025813460350037, -0.0981491357088089, -0.24063709378242493, -0.40119031071662903, 0.04006173834204674, 0.2622920572757721, 0.6077167987823486, 0.33659976720809937, -0.04546494409441948, -0.09414277970790863, -0.4373409152030945, 0.636050283908844, -0.537367045879364, 0.07751098275184631, 0.24109923839569092, 0.5002853274345398, -0.7321950197219849, -0.6970258355140686, -0.356393963098526, -0.2945273816585541, -0.07287555187940598, -0.010795488953590393, -0.516381561756134, 0.20745055377483368, 0.2840500771999359, 0.32855111360549927, -0.6539821624755859, 0.32987383008003235, -0.488640695810318, -0.5574995279312134, 0.47177156805992126, 0.4221004247665405, 0.7826225161552429, -0.4139665365219116, -0.7016105055809021, -0.045262858271598816, -1.0703858137130737, 0.046565085649490356, 0.7447617650032043, 0.12561456859111786, 0.04307323321700096, 0.29083919525146484, 0.13785070180892944, 0.6879927515983582, 0.12235141545534134, -0.39043161273002625, -0.19618839025497437, -0.32238999009132385, -0.2835208475589752, -0.03867369890213013, 0.9727594256401062, 0.30951228737831116, -0.029874756932258606, -0.012520771473646164, -0.2788224220275879, -0.22313132882118225, 0.2568083703517914, -0.5710234642028809, -0.5804862380027771, 0.33335843682289124, -0.37194573879241943, -0.5240573883056641, -0.026203341782093048, -0.8711545467376709, -0.6678265333175659, 0.21571359038352966, 0.12243497371673584, -0.6022409796714783, -0.07271679490804672, -0.07849408686161041, -0.2621813714504242, 0.08678395301103592, 0.2423422634601593, -0.6263392567634583, 0.1778598129749298, 0.7648212313652039, 0.8978283405303955, 0.008097578771412373, -0.2763839066028595, -0.453298956155777, -0.062493421137332916, -0.053623609244823456, 0.6891650557518005, -0.3269343674182892, -0.3507026731967926, -0.293338418006897, -0.04862164333462715, -0.04392990842461586, -0.5058536529541016, 0.3352999985218048, -0.7295995354652405, 0.03508127108216286, -0.07605089247226715, -0.3211480379104614, -0.24016274511814117, 0.3108431100845337, -1.018267273902893, 0.6770776510238647, 0.13438966870307922, -0.7100480794906616, 0.11204101890325546, -0.3450719714164734, -0.48159968852996826, -0.10104716569185257, -0.052646808326244354, -0.4361153244972229, 0.214183509349823, 0.28997379541397095, 0.1794978529214859, -0.10375942289829254, 0.27748239040374756, -0.17465436458587646, -0.3332400619983673, 0.29117634892463684, -0.3841301500797272, 1.024382472038269, 0.4185584485530853, -0.46767547726631165, 0.1811526119709015, -0.6146152019500732, -0.3156944811344147, 0.3805045187473297, -0.14313776791095734, -0.4482741951942444, -0.09969088435173035, -0.36518383026123047, -0.057915013283491135, 0.18399542570114136, -0.6360564827919006, 0.3857271373271942, -0.5559279322624207, 0.7778124213218689, 1.000167965888977, 0.02412092313170433, 0.47064703702926636, -0.08377674221992493, 0.86171954870224, -0.10422545671463013, 0.10062967985868454, -0.42625340819358826, -0.12379960715770721, -0.2977657616138458, -0.85610032081604, -0.030021365731954575, 0.7234694957733154, -0.698337972164154, 0.040893591940402985, 0.08989731967449188, -0.5807619094848633, -0.4334844946861267, 0.08291585743427277, 0.4059436619281769, 0.7055099606513977, 0.3905463218688965, 0.17925293743610382, -0.8030648231506348, -0.9066677689552307, -0.5710845589637756, -0.3759489059448242, 0.20707044005393982, 0.06357337534427643, 0.40933290123939514, -0.16385775804519653, 0.8162052035331726, -0.5774983763694763, -0.3869995176792145, -0.5779368877410889, -0.05812268704175949, 0.20174817740917206, 0.39460068941116333, 0.7728317379951477, -0.5030248165130615, -0.33139047026634216, -0.6290563941001892, -0.5556115508079529, -0.2540898025035858, -0.23037958145141602, 0.1819104552268982, -0.022177496924996376, 0.6309980154037476, -0.627720296382904, 0.4452103078365326, 0.13266432285308838, -0.4550163447856903, 0.920613706111908, -0.08841683715581894, 0.16247117519378662, -0.8540230393409729, -0.23569081723690033, -0.3769858479499817, -0.3578641712665558, -0.5696951746940613, 0.5146225094795227, 0.04241784289479256, -0.2546550929546356, -0.45272794365882874, 0.33644115924835205, -0.6379384398460388, 0.16369472444057465, -0.2463117390871048, 0.24235138297080994, 0.007405558601021767, 0.10216143727302551, -0.4317646920681, 1.047443151473999, 0.42895928025245667, -0.11675231158733368, 0.5444950461387634, 0.12549181282520294, -0.24754256010055542, 0.40019065141677856, -0.7385515570640564, 0.3721242845058441, -0.13138347864151, 0.3791217803955078, -1.184375524520874, -0.24276188015937805, 0.39567336440086365, -0.23587092757225037, 0.40336817502975464, -0.27918705344200134, -0.394572913646698, -0.32052138447761536, -0.7716965079307556, 0.49654990434646606, 0.5218103528022766, -0.5043842792510986, 0.43082141876220703, 0.5276708006858826, -0.21044500172138214, -0.7305569648742676, -0.5841158628463745, 0.4539375901222229, -0.5205296874046326, -0.5178939700126648, 0.20514822006225586, 0.06834609806537628, -0.4757775664329529, -0.12452974915504456, -0.1488812267780304, 0.15761491656303406, 0.4573351740837097, 0.3321351110935211, 0.4882858097553253, 0.011201494373381138, -0.2676125168800354, 0.0340389646589756, -0.30791181325912476, 0.07791637629270554, -0.2648399770259857, 0.4799754023551941, -0.006124621257185936, -0.17384102940559387, -0.38803258538246155, 0.4798520803451538, 0.8272122144699097, -0.17941372096538544, 0.5948179364204407, 0.15012261271476746, -0.18095286190509796, -0.3267330527305603, -0.37442249059677124, -0.15388989448547363, -0.5471925139427185, 0.25329113006591797, -0.3983011543750763, -0.9674341678619385, 0.5374932289123535, -0.04600710794329643, 0.3232648968696594, 0.2118963748216629, 0.35167309641838074, -0.09366139024496078, 0.8271504044532776, 0.7133406400680542, -0.37297993898391724, 0.49219006299972534, -0.042926035821437836, 0.3553260862827301, -0.6195647716522217, -0.2918022871017456, -0.4079468846321106, -0.4808054268360138, -0.3904939889907837, -0.2269715517759323, 0.25135624408721924, -0.009138639084994793, -0.04814201965928078, 0.733721911907196, -0.6422502994537354, 0.7291997075080872, 0.37509796023368835, 0.2355172038078308, 0.2439722865819931, -0.04632071405649185, -0.1277633011341095, -0.0659274160861969, -0.49132615327835083, -0.5676044821739197, 0.7458279132843018, 0.5306562185287476, 1.0157763957977295, 0.0762956514954567, 1.17021644115448, 0.35694360733032227, 0.016143042594194412, -0.8648433685302734, 0.7947291135787964, 0.11434250324964523, -0.5450224876403809, -0.17028231918811798, -0.384828120470047, -0.8767899870872498, 0.1931331902742386, 0.17723345756530762, -0.9737868309020996, 0.03129342570900917, 0.21504727005958557, -0.5859478116035461, 0.47744202613830566, -0.6036741137504578, 0.667701005935669, -0.117706298828125, -0.264304518699646, -0.38184887170791626, -0.7811782956123352, 0.6502383947372437, -0.016804469749331474, 0.49892303347587585, -0.39042043685913086, 0.01793619990348816, 0.8474693298339844, -0.7549583315849304, 0.9651020169258118, -0.3869771957397461, -0.16818583011627197, 0.44683322310447693, 0.5135921239852905, 0.7383927702903748, 0.19850435853004456, 0.10880448669195175, -0.08926104009151459, -0.004837836604565382, -0.24419791996479034, -0.5066475868225098, 0.736071765422821, -0.39994800090789795, -1.0403858423233032, -0.40072134137153625, -0.7537439465522766, 0.26119282841682434, 0.21397699415683746, 0.26546716690063477, 0.4485863745212555, -0.18667234480381012, -0.37106025218963623, 0.7047279477119446, -0.3892176151275635, 0.5204358696937561, 0.378052681684494, -0.15720142424106598, -0.6500954627990723, 0.6490916013717651, -0.005574171897023916, 0.10876036435365677, 0.1787627786397934, 0.1222897544503212, -0.08367049694061279, -0.7116551399230957, -0.41835877299308777, 0.08292606472969055, -0.7080671191215515, -0.5911763906478882, -0.5845802426338196, 0.06132756173610687, -0.3649579584598541, -0.24932709336280823, -0.22266094386577606, -0.5685836672782898, -0.15332700312137604, -0.4745100438594818, 0.4667816460132599, 0.6536877155303955, -0.3527316153049469, 0.3204955756664276, -0.7792909145355225, 0.3702419698238373, 0.1277443766593933, -0.1111917495727539, -0.12073206901550293, -0.5147407650947571, 0.062238454818725586, -0.20102205872535706, 0.004134871996939182, -1.2704408168792725, 0.3985396921634674, 0.017772939056158066, 0.4306184649467468, 0.26575905084609985, 0.4373631775379181, 0.7662414908409119, -0.7386375069618225, 0.7949418425559998, 0.24137409031391144, -0.758833110332489, 0.7493274211883545, -0.21275919675827026, 0.03242900222539902, 0.8771871328353882, 0.041105784475803375, -0.2409321814775467, -0.7358404397964478, -0.5071028470993042, -1.1927372217178345, 0.6111094355583191, -0.09478788822889328, 0.10554826259613037, 0.0029991341289132833, 0.4084150791168213, 0.1964375525712967, 0.014178477227687836, -0.6570955514907837, -0.43405529856681824, -0.13694554567337036, -0.27435120940208435, 0.2899720072746277, -0.6219603419303894, -0.37468212842941284, -0.1262703537940979, 0.41804060339927673, 0.34145379066467285, 0.25918060541152954, 0.19130457937717438, -0.546636164188385, 0.22103780508041382, 0.43248450756073, 0.5443138480186462, 0.23740144073963165, -0.06429917365312576, 0.5647892951965332, -0.14488345384597778, -0.7541527152061462, 0.7004212141036987, 0.06055920943617821, -0.32369178533554077, -0.26250550150871277, 0.519891083240509, 0.4720209538936615, 0.10022025555372238, -0.7726877927780151, 0.38816142082214355, -0.16057313978672028, 0.10430794954299927, -0.2388346791267395, 0.1383460909128189, -0.3737431764602661, 0.3494490087032318, 0.38060566782951355, -0.08541426062583923, 0.19368833303451538, -0.667402982711792, 0.4827869236469269, 0.36533495783805847, -0.29001981019973755, -0.5444072484970093, 0.7293063998222351, 0.1234089583158493, -0.3245750963687897, 0.6720115542411804, -0.11801757663488388, -0.8682836294174194, 0.5444444417953491, 0.8319190740585327, 1.1123007535934448, -0.28138798475265503, 0.24362146854400635, 0.25337687134742737, 0.708094596862793, 0.06509703397750854, 0.18976740539073944, -0.058267753571271896, -0.3813590407371521, -0.22272032499313354, -0.38590317964553833, -0.12556901574134827, 0.10659869760274887, -0.4888633191585541, 0.07006547600030899, -0.7363637089729309, 0.02840055152773857, -0.30500227212905884, -0.38645002245903015, -0.18055492639541626, -0.1735587865114212, -0.11712846904993057, 1.0534441471099854, -0.7933361530303955, 0.5112146139144897, 0.7002338171005249, -0.2870140075683594, -0.7912919521331787, -0.0460258312523365, 0.4826042652130127, -0.8341414332389832, 0.513158917427063, 0.430034339427948, -0.14479829370975494, 0.039804138243198395, -0.6959237456321716, -0.7019158005714417, 0.8440627455711365, 0.508183479309082, -0.6460321545600891, 0.02651580423116684, -0.17582467198371887, 0.09885148704051971, -0.005545862950384617, 0.03780842944979668, 1.0145342350006104, 0.6144663095474243, -0.19982178509235382, -0.7007895112037659, 0.6092605590820312, 0.04707356542348862, -0.5644124150276184, 0.4430809020996094, -0.5145657658576965, 0.6468044519424438, -0.5107461214065552, -0.5063869953155518, 0.19654950499534607, 0.5100238919258118, 0.33613812923431396, 0.22924478352069855, 0.48700159788131714, 0.6925972700119019, 0.6892093420028687, -0.2063441425561905, 0.6433157920837402, -0.07773172110319138, 0.17427843809127808, 1.0018669366836548, -0.12727560102939606, 0.5108673572540283, 0.709493100643158, -0.03709663078188896, 0.752000629901886, 0.4431392550468445, -0.03539183735847473, 0.9606310129165649, 0.27457350492477417, -0.16623783111572266, -0.02113623358309269, 0.26340344548225403, 0.03519146144390106, 0.38527318835258484, 0.2954208552837372, -0.12460190057754517, -0.43259498476982117, 0.40436404943466187, 0.5118553042411804, 0.12288452684879303, -0.19912824034690857, 0.933906078338623, 0.2019040435552597, -0.5440678596496582, 0.6229641437530518, 0.003614212619140744, 0.4180586338043213, -0.5398179292678833, 0.05441379174590111, -0.2468232363462448, 0.024810578674077988, -0.37171080708503723, -0.6357100605964661, 0.419567734003067, 0.2244647741317749, -0.06652826070785522, -0.22002549469470978, 1.1296151876449585, -0.0887426882982254, 0.15684746205806732, 0.17553025484085083, 0.21915695071220398, 0.0966450423002243, -0.016845740377902985, -0.6454487442970276, 0.20761986076831818, 0.14758683741092682, -0.426363468170166, 0.3788183629512787, 0.20351962745189667, 0.09386146813631058, 0.6416500806808472, 0.5858970284461975, -0.02279100939631462, -0.11171519011259079, -0.2816939949989319, 1.0806804895401, -0.8546546697616577, -0.3974420130252838, -1.441662073135376, 0.6259954571723938, -0.0664212629199028, 0.1781415194272995, 0.935788631439209, 0.37727105617523193, 0.4760098457336426, 0.08956780284643173, 0.6896911263465881, -0.3008141815662384, 0.14568418264389038, -0.5800111293792725, 0.7879706621170044, -0.24569907784461975, 0.6363002061843872, -0.3373109996318817, -0.4166369140148163, -0.26411172747612, 0.47319933772087097, -0.3350711464881897, -0.3852721154689789, 0.5455878973007202, 0.7565471529960632, 0.22259128093719482, -0.2065974622964859, 0.19200001657009125, 0.17089824378490448, 0.5041958093643188, 0.45628154277801514, 1.047452449798584, -0.2190588414669037, 0.617056131362915, -0.15964028239250183, -0.6306198239326477, -0.25251540541648865, -0.879994809627533, -0.9286528825759888, -0.17267610132694244, -0.11111115664243698, -0.3584155738353729, 0.0901469960808754, 0.7423905730247498, 0.3054371774196625, -0.6920649409294128, 0.07732158154249191, -0.11530563980340958, 0.5264402627944946, -0.27399539947509766, -0.24275344610214233, 0.3187973201274872, -0.3327993154525757, -0.3454709053039551, 1.0847276449203491, 0.609551191329956, 0.09037410467863083, -0.31843405961990356, 0.3082004189491272, -0.0011255572317168117, 0.1558607965707779, 0.3889332711696625, 0.4073916971683502, -0.6497309803962708, -0.33533769845962524, 0.1762526035308838, -0.041272055357694626, -0.04076993465423584, 0.8804064989089966, -0.9938538074493408, 0.3884176015853882, 0.775550127029419, 0.5769917964935303, 0.07453058660030365, 0.0550626777112484, 0.8242361545562744, -0.8190159797668457, 0.3532135784626007, 0.27334120869636536, 0.5593633651733398, 0.09448439627885818, -0.6255231499671936, 0.4091867506504059, 0.3155761659145355, -0.519913911819458, -1.192784309387207, 0.6738253831863403, -0.5717005133628845, -0.6106995344161987, 0.8687094449996948, -0.4582546651363373, -0.4959079325199127, -0.2569468021392822, -0.4721168279647827, 0.018916787579655647, -0.48278409242630005, 0.7543065547943115, 0.3605085611343384, -0.07220563292503357, -0.03832772746682167, -0.34053030610084534, 0.5337939262390137, 0.203633114695549, -0.5550612807273865, 0.3889884054660797, 0.6767133474349976, 0.47587940096855164, 0.11854224652051926, 0.5417744517326355, -0.3358091115951538, 0.3708112835884094, 0.12870892882347107, -0.22462916374206543, -0.5507219433784485, -0.5465844869613647, -0.4461115300655365, 0.3045763671398163, -0.0027201129123568535, -0.24618665874004364 ]
http://arxiv.org/abs/2402.16159v5
http://arxiv.org/pdf/2402.16159v5
DistALANER: Distantly Supervised Active Learning Augmented Named Entity Recognition in the Open Source Software Ecosystem
2024-02-25T17:40:49
2024-06-20T12:43:57
Somnath Banerjee, Avik Dutta, Aaditya Agrawal, Rima Hazra, Animesh Mukherjee
cs.CL
cs.CL
With the AI revolution in place, the trend for building automated systems to support professionals in different domains such as the open source software systems, healthcare systems, banking systems, transportation systems and many others have become increasingly prominent. A crucial requirement in the automation of support tools for such systems is the early identification of named entities, which serves as a foundation for developing specialized functionalities. However, due to the specific nature of each domain, different technical terminologies and specialized languages, expert annotation of available data becomes expensive and challenging. In light of these challenges, this paper proposes a novel named entity recognition (NER) technique specifically tailored for the open-source software systems. Our approach aims to address the scarcity of annotated software data by employing a comprehensive two-step distantly supervised annotation process. This process strategically leverages language heuristics, unique lookup tables, external knowledge sources, and an active learning approach. By harnessing these powerful techniques, we not only enhance model performance but also effectively mitigate the limitations associated with cost and the scarcity of expert annotators. It is noteworthy that our model significantly outperforms the state-of-the-art LLMs by a substantial margin. We also show the effectiveness of NER in the downstream task of relation extraction.
[ -0.41551363468170166, -0.725341260433197, 0.3836172819137573, -0.19233302772045135, -0.14781145751476288, -0.022940242663025856, -0.48910489678382874, -0.7505748271942139, 0.39228880405426025, 0.5889124870300293, -0.3102985918521881, -0.5126643776893616, -0.3325381577014923, 0.1678791493177414, -0.2921128571033478, 1.030550241470337, -0.11467644572257996, -0.054753512144088745, -0.003733194898813963, -0.3115832507610321, -0.20910173654556274, -0.10694493353366852, -0.7800343632698059, 0.05443938076496124, 0.7197173237800598, 0.4357589781284332, 0.6427192687988281, 0.5490191578865051, 0.6665392518043518, 0.30108949542045593, 0.001555616152472794, 0.20745500922203064, -0.057741519063711166, 0.2795811891555786, -0.00196602800861001, -0.33240216970443726, -0.6120560169219971, -0.21946638822555542, 0.5548883080482483, 0.6042568683624268, 0.08167771995067596, 0.2571016550064087, -0.10555345565080643, 0.6425756812095642, -0.7861953377723694, 0.3454911410808563, -0.8119127154350281, 0.05667174234986305, -0.6380854845046997, 0.22826620936393738, -0.24378730356693268, -0.4277038276195526, 0.2900543808937073, -0.9277510046958923, 0.07936467230319977, -0.030428066849708557, 1.034964680671692, 0.4601377546787262, 0.019192101433873177, -0.2732070982456207, -0.9699731469154358, 0.6058230996131897, -0.5162603259086609, 0.6003343462944031, 0.35578396916389465, 0.48816201090812683, -0.04799102619290352, -0.6822409629821777, -0.42023342847824097, -0.0752970352768898, 0.13471508026123047, -0.2430136650800705, -0.35172316431999207, -0.08046304434537888, 0.08305977284908295, 0.2915281653404236, -0.1627594381570816, 0.19201822578907013, -0.574170708656311, -0.2747996151447296, 0.32428643107414246, -0.31532469391822815, 0.09294679760932922, 0.06678952276706696, -0.43062618374824524, 0.45798519253730774, -0.8477434515953064, -0.2675654888153076, 0.3289317190647125, 0.5892618298530579, 0.10584992915391922, 0.6591297388076782, -0.244127556681633, 0.6907811164855957, 0.17605088651180267, -0.12525667250156403, 0.4554775357246399, 0.08631730079650879, -0.19772383570671082, 0.18954652547836304, 0.6787505149841309, -0.1727745234966278, 0.15233170986175537, -0.5034897923469543, -0.3148708939552307, -0.3411294221878052, 0.23983599245548248, -0.49230262637138367, -0.7118803858757019, 0.1518951803445816, -0.23439887166023254, -0.11974754929542542, 0.05272311717271805, -0.6636500954627991, -0.42916399240493774, -0.4252031147480011, 0.2507936656475067, -0.4201541244983673, -0.504972517490387, -0.6410146355628967, 0.24892543256282806, 0.04498816654086113, 0.5017023682594299, -0.5295637845993042, 0.1575542539358139, 0.6937966346740723, 0.8549728393554688, -0.04271497577428818, -0.016458678990602493, -0.8961135745048523, 0.2824782133102417, -0.27960205078125, 0.7913821339607239, -0.5631368160247803, -0.043606724590063095, -0.15228167176246643, 0.09449835866689682, 0.3431750237941742, -0.7646703124046326, 0.3160206973552704, -1.0644539594650269, -0.16901423037052155, 0.16011248528957367, -0.4951079189777374, -0.1573648452758789, 0.24130958318710327, -0.9114254117012024, 1.0781848430633545, 0.2181863635778427, -0.8996477723121643, 0.6233471632003784, -0.5196911096572876, -0.11749424785375595, 0.4614153802394867, -0.3796965479850769, -0.6948438286781311, -0.20900477468967438, 0.1519067883491516, 0.4739537239074707, -0.03955545648932457, 0.23636721074581146, -0.5539200305938721, -0.05470436066389084, 0.12039302289485931, 0.031523898243904114, 0.42258164286613464, 0.10846583545207977, -0.2914266288280487, 0.24370905756950378, -0.9022499322891235, -0.207590252161026, -0.018314644694328308, -0.2928250730037689, -1.0246095657348633, -0.028369037434458733, -0.11844432353973389, -0.01254291832447052, 0.15448817610740662, -0.5317462086677551, 0.2298090010881424, -0.45116743445396423, 0.19139739871025085, 0.7107419967651367, 0.11695445328950882, 0.933295726776123, 0.36140286922454834, 0.28272444009780884, 0.07666637003421783, 0.1579703539609909, 0.11420567333698273, -0.39653417468070984, -0.7682324051856995, -0.6596475839614868, 0.5936367511749268, 0.6123347878456116, -0.9167584180831909, 0.4841369390487671, -0.2922004163265228, -0.4391014277935028, -0.4394698739051819, 0.36773788928985596, 0.23593798279762268, 0.6327639222145081, 0.6144601106643677, -0.13113470375537872, -0.6280574202537537, -0.8996027112007141, 0.006463636178523302, -0.2743413746356964, -0.21858027577400208, 0.4575698971748352, 0.39496326446533203, -0.2122526913881302, 1.1748155355453491, -0.48987072706222534, -0.6679556369781494, -0.007167746312916279, -0.13644689321517944, 0.07179778069257736, 0.3847449719905853, 0.27940797805786133, -0.9294759035110474, -0.21573583781719208, 0.003367196535691619, -0.7324037551879883, -0.024785274639725685, -0.02693670429289341, -0.2838456332683563, 0.11421465128660202, 0.5964885950088501, -0.5179657936096191, 0.19199255108833313, 0.20936204493045807, -0.03287527710199356, 0.3374541997909546, 0.0420541949570179, -0.2582627534866333, -0.9475306868553162, 0.21067635715007782, 0.0319296233355999, -0.07071544229984283, -0.4536277949810028, 0.05068875849246979, 0.27686288952827454, -0.04598449543118477, -0.5353747010231018, 0.6813520789146423, -1.0747917890548706, -0.1913716048002243, -0.21181634068489075, 0.2819472849369049, -0.5310692191123962, 0.0887431874871254, 0.3722781240940094, 0.5048702359199524, 0.743962824344635, -0.7016156911849976, 0.4858115613460541, 0.28489354252815247, -0.0407310426235199, 0.5217945575714111, -0.4110962152481079, -0.020198624581098557, 0.08559975028038025, 0.010974492877721786, -0.3526947498321533, -0.34748589992523193, 0.6631765365600586, -0.43004322052001953, 0.5010717511177063, -0.5802251696586609, -0.3259032666683197, -0.23607513308525085, 0.10599593073129654, 0.29303619265556335, 0.4951722323894501, -0.5708796381950378, 0.7812730669975281, 0.5919294953346252, -0.2911582887172699, -0.591558575630188, -0.5436347723007202, 0.2107684463262558, -0.17000851035118103, -0.26633599400520325, 0.3252936005592346, 0.5064092874526978, -0.5534505248069763, 0.26530584692955017, -0.22588735818862915, -0.31675201654434204, 0.09193902462720871, 0.5619593858718872, 0.5429054498672485, -0.1653873771429062, 0.49393585324287415, 0.16734936833381653, -0.40075087547302246, -0.031151458621025085, -0.42645105719566345, -0.1620667278766632, 0.09512650221586227, -0.30117538571357727, -0.16329032182693481, -0.017330104485154152, 0.12523819506168365, -0.48256716132164, 0.6850888729095459, 0.6512123942375183, -0.7312057614326477, -0.38283687829971313, -0.5546830892562866, -0.10769162327051163, -0.45282426476478577, 0.11455130577087402, -0.20760376751422882, -0.8973735570907593, 0.45085564255714417, -0.4054286479949951, 0.18924961984157562, 0.5626884698867798, 0.12705272436141968, 0.4197063744068146, 0.1224474236369133, 0.6334862112998962, -0.14089304208755493, 0.5325936675071716, -0.14819498360157013, 0.1950676590204239, -0.900312066078186, -0.41108617186546326, -0.46930599212646484, -0.057541098445653915, -0.349702924489975, -0.6701935529708862, 0.31800577044487, 0.3307206630706787, -0.23659153282642365, 0.3392490744590759, -0.6241104006767273, 0.41392412781715393, 0.5050620436668396, 0.1620592325925827, 0.28816336393356323, -0.03682926669716835, 0.04655512049794197, -0.05297436937689781, -0.17641687393188477, -0.6568650603294373, 0.9555464386940002, 0.3856588304042816, 0.5435413122177124, 0.16674411296844482, 1.0879765748977661, 0.3133785128593445, 0.6795539855957031, -0.7285121083259583, 0.6948614120483398, 0.1262742280960083, -0.6618450284004211, -0.40327948331832886, -0.4829534888267517, -0.8632342219352722, -0.323286235332489, -0.24081143736839294, -0.5846607089042664, 0.14299072325229645, 0.04641617462038994, -0.4661179184913635, 0.6074795722961426, -0.3234163820743561, 0.5473251938819885, -0.20628978312015533, -0.48868048191070557, 0.22371666133403778, -0.8471664190292358, 0.22761836647987366, -0.20183998346328735, 0.2338307499885559, -0.11942816525697708, -0.5490896701812744, 0.6946864128112793, -0.429940789937973, 0.64957594871521, -0.4953936040401459, -0.07543201744556427, 0.3938465416431427, 0.12158206105232239, 0.7719114422798157, 0.36950939893722534, -0.07200997322797775, 0.31469789147377014, -0.7262445092201233, -0.23917578160762787, -0.21956783533096313, 0.9850640892982483, -0.5745491981506348, -0.24410055577754974, -0.40463966131210327, -0.06657877564430237, 0.0030300559010356665, 0.5317043662071228, -0.21626567840576172, 0.04993328079581261, -0.19720691442489624, -0.3895364999771118, 0.8426175713539124, -0.17363284528255463, 0.4731154143810272, 0.5706712007522583, -0.21779410541057587, -0.6983558535575867, 0.8940873146057129, 0.19314521551132202, -0.12521663308143616, 0.3753259479999542, -0.4108183681964874, -0.025194639340043068, -0.6885443329811096, -0.7646802663803101, 0.278646856546402, -0.6126206517219543, -0.4993496835231781, -0.9122679233551025, -0.06432799994945526, -0.12955455482006073, -0.17513638734817505, -0.5529805421829224, -0.48490601778030396, -0.7494643330574036, -0.14779476821422577, 0.699470579624176, 0.6085565686225891, -0.039699189364910126, -0.23224586248397827, -1.0165469646453857, 0.36357948184013367, 0.18796437978744507, 0.5331246852874756, -0.013273931108415127, -0.07738886028528214, -0.2629735469818115, -0.19426961243152618, 0.06365066021680832, -1.0753180980682373, 0.35284945368766785, 0.3164721131324768, 0.7296140789985657, 0.5772897005081177, 0.31255844235420227, 0.5559732913970947, -0.534918487071991, 0.7158913016319275, -0.08815284818410873, -0.7232249975204468, 0.7423076033592224, -0.1253126710653305, -0.15478165447711945, 0.6470574736595154, 0.5715320110321045, 0.07600158452987671, -0.24130968749523163, -0.4714951515197754, -1.3857754468917847, 0.611283004283905, 0.14576390385627747, -0.03259650990366936, -0.12591518461704254, 0.5918089151382446, 0.39840787649154663, 0.10463108867406845, -0.6595556735992432, -0.3721262812614441, 0.22275806963443756, 0.08502062410116196, 0.3963586688041687, 0.24734966456890106, 0.018340133130550385, 0.13559529185295105, 1.157720685005188, -0.03291795775294304, 0.34092870354652405, 0.20271402597427368, -0.19252772629261017, -0.19258490204811096, 0.3245639204978943, -0.003469737246632576, 0.16832034289836884, -0.18940085172653198, 0.18293097615242004, 0.1877930611371994, -0.37063929438591003, -0.15944650769233704, 0.7293810248374939, -0.3604620397090912, 0.3325347304344177, 0.15711091458797455, 0.5463193655014038, 0.14650452136993408, -0.4738754630088806, 0.42243078351020813, 0.22499804198741913, 0.2400648146867752, -0.8338400721549988, 0.010752491652965546, -0.08132053166627884, 0.6725608706474304, 0.714213490486145, 0.36253878474235535, 0.26388558745384216, -0.12414716184139252, 0.2730754613876343, 0.39192232489585876, -0.6680002212524414, -0.29107943177223206, 0.7257144451141357, 0.43190255761146545, -0.2772632837295532, 0.90049147605896, -0.4173438251018524, -0.2989872992038727, 0.499424010515213, 0.1020837277173996, 1.1321308612823486, -0.1238061711192131, -0.10637757182121277, 0.4463079571723938, 0.06930095702409744, -0.08088221400976181, 0.1322452276945114, -0.4811503291130066, -0.32520824670791626, -0.3564561605453491, -0.5391551852226257, -0.4855526387691498, -0.11086343973875046, -0.5859280228614807, 0.5520114302635193, -0.24064818024635315, -0.3200201690196991, 0.2299240231513977, -0.23640353977680206, -0.43720805644989014, 0.047802697867155075, 0.44856753945350647, 0.8380143046379089, -0.6541099548339844, 0.7635259628295898, 1.0896903276443481, -0.6624068021774292, -0.7441408634185791, 0.12681998312473297, -0.10146410763263702, -0.32880404591560364, 1.018627643585205, 0.16989202797412872, 0.14543266594409943, -0.012459713034331799, -0.24861115217208862, -0.9405187964439392, 1.173113465309143, 0.1544298231601715, -0.6625494360923767, -0.2987191677093506, -0.28161048889160156, 0.4546622931957245, -0.15128619968891144, 0.4632089138031006, -0.05151772126555443, 0.39082202315330505, -0.017312463372945786, -0.955543577671051, 0.1041591539978981, -0.31658804416656494, -0.1956925392150879, 0.8779654502868652, -0.3935791850090027, 0.6022690534591675, -0.609931468963623, -0.2994278073310852, 0.04562791809439659, 1.049087405204773, 0.27073994278907776, 0.6373937726020813, 0.4138527512550354, 0.44589224457740784, 0.6669754981994629, -0.10402645170688629, 0.5378625988960266, -0.3364362120628357, 0.31622907519340515, 1.0571346282958984, -0.5231544971466064, 1.0256924629211426, 0.6446923017501831, -0.2945374846458435, 0.4842448830604553, 0.60573810338974, -0.20924854278564453, 0.6680930852890015, 0.14272578060626984, -0.47255611419677734, -0.16751189529895782, -0.018047252669930458, -0.4130839407444, 0.03960064426064491, 0.3525945842266083, -0.6673822999000549, -0.21641145646572113, 0.2260286808013916, 0.05476519092917442, -0.14675521850585938, -0.5238739848136902, 0.9471118450164795, -0.02437017671763897, -0.39342740178108215, 0.22612623870372772, -0.06226571649312973, 0.7278646230697632, -0.5636167526245117, -0.23651795089244843, 0.08447818458080292, 0.4062376022338867, -0.3955143392086029, -0.5788666605949402, 0.4205198884010315, 0.14534229040145874, -0.06231469288468361, 0.12357527762651443, 0.8844462633132935, -0.3718074858188629, -0.42055466771125793, 0.42305368185043335, 0.5636129379272461, 0.26905906200408936, -0.10696154832839966, -0.5795404314994812, -0.182632178068161, -0.29887837171554565, -0.2919694185256958, 0.27920645475387573, 0.5844892859458923, -0.13848349452018738, 0.6044322848320007, 0.6413756012916565, 0.28935506939888, -0.11603495478630066, -0.21027135848999023, 1.1691159009933472, -0.41930481791496277, -0.4117935597896576, -0.6553788185119629, 0.393232524394989, -0.07553186267614365, -0.16847427189350128, 0.8027111887931824, 0.8206509351730347, 0.9292123317718506, 0.004232443403452635, 0.7484495639801025, -0.3327332139015198, 0.6588767766952515, -0.2701430022716522, 0.540161669254303, -0.3748892843723297, 0.6910343170166016, -0.44995996356010437, -0.9781846404075623, -0.6478317379951477, 0.4076951742172241, -0.5822164416313171, -0.040753573179244995, 0.14770054817199707, 0.6172435879707336, -0.28571587800979614, -0.11004535853862762, -0.09023568779230118, 0.047792620956897736, 0.03132350742816925, 0.34187328815460205, 0.7766067981719971, -0.3702344298362732, 0.5485094785690308, -0.42961975932121277, -0.15243948996067047, -0.04208049550652504, -0.7314996123313904, -0.806290864944458, -0.4394087493419647, -0.7019788026809692, -0.37997162342071533, 0.36433538794517517, 1.1057556867599487, 0.6472479104995728, -0.7763186097145081, 0.4978676736354828, -0.263508141040802, 0.13482774794101715, -0.2195856273174286, -0.25776758790016174, 0.5135640501976013, -0.10614341497421265, -0.5074948668479919, 0.3611467480659485, 0.23728743195533752, -0.0870087519288063, -0.28364282846450806, -0.12442391365766525, -0.18322494626045227, -0.2832815647125244, 0.21802806854248047, 0.49133211374282837, -0.7425853610038757, 0.07853411883115768, 0.09991656988859177, 0.00488563347607851, -0.014435871504247189, 0.5282432436943054, -1.1353024244308472, 0.3276691138744354, 0.21804693341255188, 0.6342960596084595, 0.052352339029312134, -0.052183929830789566, 0.015303054824471474, -0.6932669878005981, -0.06797774881124496, 0.5088838338851929, 0.16248513758182526, 0.5570154786109924, -0.5223692655563354, 0.6902065277099609, 0.11017686128616333, -0.7054566144943237, -0.8152734637260437, -0.0614226832985878, -0.9777501225471497, -0.0627470538020134, 1.190675973892212, -0.4914187490940094, -0.07423494011163712, -0.42801687121391296, -0.16613274812698364, 0.5637319684028625, -0.763884961605072, 0.5549432635307312, -0.036693040281534195, -0.25700056552886963, -0.31594589352607727, -0.4330217242240906, 0.34425413608551025, -0.14949123561382294, -0.7958659529685974, 0.10634306818246841, 0.8411352038383484, 0.38479501008987427, 0.3167908191680908, 0.42587846517562866, -0.16857531666755676, 0.1310347616672516, -0.11239174753427505, 0.30401158332824707, -0.32648545503616333, -0.3185296058654785, -0.22608673572540283, 0.30152401328086853, 0.3135972321033478, -0.30607402324676514 ]
http://arxiv.org/abs/2402.16153v1
http://arxiv.org/pdf/2402.16153v1
ChatMusician: Understanding and Generating Music Intrinsically with LLM
2024-02-25T17:19:41
2024-02-25T17:19:41
Ruibin Yuan, Hanfeng Lin, Yi Wang, Zeyue Tian, Shangda Wu, Tianhao Shen, Ge Zhang, Yuhang Wu, Cong Liu, Ziya Zhou, Ziyang Ma, Liumeng Xue, Ziyu Wang, Qin Liu, Tianyu Zheng, Yizhi Li, Yinghao Ma, Yiming Liang, Xiaowei Chi, Ruibo Liu, Zili Wang, Pengfei Li, Jingcheng Wu, Chenghua Lin, Qifeng Liu, Tao Jiang, Wenhao Huang, Wenhu Chen, Emmanouil Benetos, Jie Fu, Gus Xia, Roger Dannenberg, Wei Xue, Shiyin Kang, Yike Guo
cs.SD
cs.SD, cs.AI, cs.CL, cs.LG, cs.MM, eess.AS
While Large Language Models (LLMs) demonstrate impressive capabilities in text generation, we find that their ability has yet to be generalized to music, humanity's creative language. We introduce ChatMusician, an open-source LLM that integrates intrinsic musical abilities. It is based on continual pre-training and finetuning LLaMA2 on a text-compatible music representation, ABC notation, and the music is treated as a second language. ChatMusician can understand and generate music with a pure text tokenizer without any external multi-modal neural structures or tokenizers. Interestingly, endowing musical abilities does not harm language abilities, even achieving a slightly higher MMLU score. Our model is capable of composing well-structured, full-length music, conditioned on texts, chords, melodies, motifs, musical forms, etc, surpassing GPT-4 baseline. On our meticulously curated college-level music understanding benchmark, MusicTheoryBench, ChatMusician surpasses LLaMA2 and GPT-3.5 on zero-shot setting by a noticeable margin. Our work reveals that LLMs can be an excellent compressor for music, but there remains significant territory to be conquered. We release our 4B token music-language corpora MusicPile, the collected MusicTheoryBench, code, model and demo in GitHub.
[ -0.12025519460439682, -0.6024633646011353, 0.6001406908035278, 0.5035343766212463, -0.06334912776947021, 0.48162540793418884, -0.8059105277061462, -0.5745933651924133, 0.20077486336231232, 0.3476170301437378, -0.6711778044700623, -0.5859875082969666, -0.43262895941734314, -0.2884281277656555, -0.3548784554004669, 1.1410940885543823, 0.18869201838970184, 0.14210660755634308, -0.19948026537895203, 0.08477357029914856, -0.30911973118782043, -0.45513468980789185, -0.6332700848579407, -0.34688928723335266, 0.6505355834960938, 0.3504413962364197, 0.19540295004844666, 0.1561311036348343, 0.7662889957427979, 0.32143667340278625, -0.25644707679748535, -0.03500126674771309, -0.651669979095459, 0.247801274061203, 0.05382119119167328, -0.7424538731575012, -0.34453168511390686, 0.33384522795677185, 0.4444109797477722, 0.5585840344429016, -0.2152758091688156, 0.2551462948322296, -0.16095829010009766, 0.7088204622268677, 0.043881744146347046, 0.1429320126771927, -0.9222692251205444, 0.2319473922252655, -0.4993015229701996, -0.30565163493156433, -0.3104414641857147, -0.40250685811042786, -0.0651257261633873, -0.9166024327278137, -0.08131568878889084, 0.02913323976099491, 0.6364755630493164, 0.311536580324173, -0.19632481038570404, -0.5656389594078064, -0.8654949069023132, 0.5505737066268921, -0.38232091069221497, 0.18126972019672394, 0.3967829644680023, 0.7083667516708374, -0.06791847199201584, -0.774880051612854, -0.5051733255386353, -0.26626360416412354, 0.5009453296661377, 0.441639244556427, -0.10264629125595093, 0.14862628281116486, 0.05355503037571907, 0.9723000526428223, -0.4771290123462677, -0.12058096379041672, -0.6263731718063354, -0.23642803728580475, 0.5898107290267944, -0.020826665684580803, 0.4731544852256775, -0.05845721438527107, -0.32397565245628357, 0.0733184888958931, -1.1194928884506226, 0.1666395217180252, 0.7686609029769897, 0.08360975235700607, -0.18956446647644043, 0.6848501563072205, 0.40055158734321594, 0.5395687818527222, -0.06004999577999115, -0.3156035244464874, 0.08634128421545029, -0.39922237396240234, -0.00431162491440773, 0.04871126636862755, 0.9112951755523682, 0.008785959333181381, 0.39973682165145874, -0.39941883087158203, -0.3392783999443054, 0.2942168414592743, 0.1173262968659401, -0.6368552446365356, -0.4311348795890808, 0.2717231512069702, -0.24904726445674896, -0.3884812891483307, -0.052306510508060455, -0.0024007433094084263, -0.2551696002483368, -0.6626551747322083, 0.4494355618953705, -0.6406623125076294, -0.26305854320526123, -0.05044209584593773, -0.16929490864276886, -0.13827405869960785, 0.03656116500496864, -1.054477334022522, 0.16740486025810242, 0.9633193016052246, 1.0438616275787354, -0.3320479393005371, -0.22099457681179047, -0.4084409773349762, 0.11471141129732132, -0.47494396567344666, 0.7773482799530029, -0.44782671332359314, -0.5206452012062073, -0.06130732595920563, -0.3651953637599945, 0.0632956475019455, -0.6931138634681702, 0.5018182992935181, -0.5091063976287842, 0.27907630801200867, 0.10470807552337646, -0.7445871829986572, -0.13418182730674744, -0.1353689283132553, -0.4114404022693634, 0.7025802731513977, 0.16541650891304016, -0.260407954454422, 0.051204122602939606, -0.8029176592826843, -0.3099677264690399, 0.056515246629714966, -0.16656705737113953, -0.06043710932135582, 0.5118151903152466, -0.32370635867118835, 0.0868493840098381, -0.22690825164318085, 0.5274108648300171, -0.24607552587985992, -0.6660718321800232, 0.6277705430984497, -0.5969034433364868, 0.48176684975624084, 0.40055200457572937, -0.05357324331998825, 0.2606147229671478, -0.6322357058525085, -0.21762710809707642, 0.01333619188517332, -0.565096914768219, 0.13432806730270386, 0.010549438185989857, 0.5574977397918701, 0.08337090164422989, 0.3960188031196594, -0.6404585838317871, 0.06834108382463455, -0.5299433469772339, 0.7731636762619019, 0.9600102305412292, -0.13339857757091522, 0.5387985110282898, -0.5639075040817261, 0.5619871616363525, -0.17407646775245667, -0.2188631147146225, -0.4424709379673004, -0.4567795991897583, -0.4616812765598297, -0.31984618306159973, 0.2973414659500122, 0.42056745290756226, -0.28891605138778687, 0.38792791962623596, -0.2570534646511078, -0.5695660710334778, -0.5203652381896973, 0.37180548906326294, 0.12885083258152008, 0.20300500094890594, 0.11020782589912415, -0.11810725927352905, -0.6804998517036438, -0.6208068132400513, -0.2086140513420105, -0.39780664443969727, -0.43149417638778687, 0.38123711943626404, 0.047123633325099945, -0.13655193150043488, 0.8325636982917786, -0.30247676372528076, -0.4987266957759857, -0.22263053059577942, 0.18125657737255096, 0.7043537497520447, 0.5739277005195618, 0.486962229013443, -0.49327170848846436, -0.2812770903110504, 0.028950339183211327, -0.6226404309272766, -0.5123304724693298, -0.08666541427373886, -0.2811717391014099, -0.06281813979148865, 0.27786368131637573, -0.6483458280563354, -0.3278963565826416, 0.6700952649116516, -0.34222620725631714, 0.4378967881202698, 0.24494777619838715, -0.09993346035480499, -0.9806893467903137, 0.041402701288461685, -0.2586967945098877, -0.10049589723348618, -0.5762920379638672, -0.050411682575941086, -0.2578207552433014, -0.3880704939365387, -0.347676157951355, 0.383081316947937, -0.17129898071289062, -0.2806294560432434, -0.5743305087089539, 0.4319128394126892, -0.14996209740638733, 0.4762791395187378, 0.15756233036518097, 0.6507671475410461, 0.7042255997657776, -0.31945690512657166, 0.37139344215393066, 0.03812266141176224, -0.48163342475891113, 0.7291969656944275, -0.6884098649024963, -0.044325996190309525, 0.12157592177391052, 0.21151131391525269, -0.8030842542648315, -0.47065266966819763, 0.18134059011936188, -0.591118335723877, 0.5419358015060425, -0.22541095316410065, -0.3156813383102417, -0.3044290542602539, 0.053992025554180145, 0.3931015431880951, 0.5760056972503662, -0.5840423107147217, 0.47871825098991394, 0.5865195393562317, -0.3853799104690552, -0.08151281625032425, -0.6875866055488586, 0.23174111545085907, -0.3197952210903168, -0.8353255391120911, 0.41278067231178284, -0.540468156337738, -0.3867456614971161, -0.18265825510025024, -0.25943994522094727, 0.12205611914396286, 0.31150567531585693, 0.4931316077709198, 0.3644943833351135, -0.356630802154541, 0.41923654079437256, -0.08612879365682602, -0.14283965528011322, 0.17564372718334198, -0.5469846725463867, 0.5177279114723206, -0.22816923260688782, -0.5673216581344604, -0.37862762808799744, 0.14047308266162872, 0.5786086916923523, -0.18584328889846802, 0.04631974920630455, 0.6008038520812988, 0.01752648502588272, 0.07858086377382278, -0.3249678611755371, -0.12812542915344238, -0.4960280656814575, 0.11618571728467941, -0.2648502290248871, -1.2039378881454468, 0.40861210227012634, -0.05568895488977432, 0.3457694947719574, 0.23749075829982758, 0.6711582541465759, -0.40503236651420593, 0.612762987613678, 0.38031005859375, 0.026780715212225914, 0.7745050191879272, -0.2598537802696228, -0.14828117191791534, -0.8439708352088928, -0.1325467824935913, -0.2935936748981476, -0.4681876599788666, -0.4958585798740387, -0.41334688663482666, 0.4075077176094055, -0.05883234366774559, -0.2670840620994568, -0.008662373758852482, -0.3240889310836792, 0.6522811651229858, 0.45778486132621765, 0.026252472773194313, 0.294467031955719, 0.06401403993368149, 0.08436967432498932, 0.07983411103487015, -0.25703340768814087, -0.4305778741836548, 1.436406135559082, 0.4984544813632965, 0.7386151552200317, 0.42136693000793457, 0.826812744140625, 0.16469548642635345, 0.4939804971218109, -1.0943819284439087, 0.21860577166080475, 0.04663785174489021, -0.7916200160980225, -0.06512308120727539, -0.5348401069641113, -0.566195547580719, 0.15200595557689667, -0.10107792913913727, -0.6547109484672546, -0.3054681718349457, 0.019764086231589317, -0.07202816009521484, 0.10119687765836716, -0.5979903936386108, 0.5303857326507568, -0.3996508717536926, -0.3406946361064911, -0.2251691371202469, -0.3766910135746002, 0.7440686821937561, -0.3280389606952667, 0.4544151723384857, -0.5365361571311951, -0.19167804718017578, 0.46502575278282166, -0.19765673577785492, 0.786881148815155, -0.10013773292303085, -0.3380161225795746, 0.48533686995506287, 0.27598413825035095, 0.08370059728622437, 0.308766633272171, -0.0055757551454007626, 0.3745582103729248, -0.19312816858291626, -0.33571290969848633, -0.5629423260688782, 0.8664491176605225, -0.8830790519714355, -0.7039379477500916, -0.06927695870399475, -0.7143822312355042, -0.2405766248703003, -0.12132392078638077, 0.22012899816036224, 0.4457782804965973, -0.249230295419693, 0.3330298960208893, 0.5465694069862366, 0.007536577060818672, 0.5425910353660583, 0.5628865957260132, -0.5279147028923035, -0.6531283855438232, 1.0477596521377563, -0.18204784393310547, 0.09692209213972092, 0.29120975732803345, 0.34374240040779114, -0.39475709199905396, -0.42249324917793274, -0.6493675112724304, 0.2774565517902374, -0.5569539070129395, -0.002086824970319867, -0.4738309681415558, -0.06697014719247818, 0.02642691507935524, -0.05588366091251373, -0.30050113797187805, -0.7415030002593994, -0.3941713571548462, -0.24096354842185974, 0.38984617590904236, 0.7868984341621399, -0.4967803955078125, 0.48140189051628113, -0.8116108179092407, 0.20464012026786804, 0.30006107687950134, 0.42091742157936096, -0.2189049869775772, -0.8045598268508911, -0.3471178710460663, -0.09683170914649963, -0.5780260562896729, -0.7412379384040833, 0.006503457669168711, 0.6231642961502075, 0.46310675144195557, 0.6129100918769836, -0.530189037322998, 0.5159152150154114, -0.6255133152008057, 0.8287268280982971, 0.3500077724456787, -1.1283518075942993, 0.5591146945953369, -0.6660314798355103, 0.18472830951213837, 0.5283226370811462, 0.09623680263757706, -0.700447678565979, -0.728550136089325, -0.44503358006477356, -0.7422844767570496, 0.6130992770195007, 0.4942488968372345, 0.42608141899108887, -0.05947180837392807, 0.07934489101171494, 0.10901754349470139, 0.38002270460128784, -1.0456159114837646, -0.053794220089912415, -0.5269138216972351, -0.4009536802768707, -0.2774011492729187, -0.012840860523283482, -0.22758303582668304, -0.09721115976572037, 0.860672652721405, -0.17102836072444916, 0.10355595499277115, -0.1071590781211853, -0.027382059022784233, -0.2517230212688446, 0.24673597514629364, 0.635199248790741, 0.5247628688812256, -0.025383207947015762, 0.09808862209320068, -0.36157694458961487, -0.5374951958656311, 0.3363123834133148, -0.0834139734506607, 0.10181084275245667, -0.20085054636001587, 0.41311168670654297, 0.6357225775718689, 0.5095839500427246, -0.8749082684516907, 0.506748616695404, -0.11473871022462845, -0.15230362117290497, -0.6179062128067017, 0.33812329173088074, 0.5708135962486267, 0.10483452677726746, 0.43668901920318604, 0.06146983057260513, 0.05763829126954079, -0.5349118113517761, 0.1518339216709137, 0.22001142799854279, -0.749140739440918, -0.5384063124656677, 0.8693743348121643, 0.12479501217603683, -0.25097915530204773, 0.24070000648498535, 0.08948356658220291, -0.2064117044210434, 0.5008377432823181, 0.8254504799842834, 0.9248602986335754, 0.1609220802783966, 0.06207427754998207, 0.29469022154808044, 0.16663531959056854, 0.20118007063865662, 0.4110110402107239, -0.4991791546344757, -0.4287033677101135, -0.5098032355308533, -0.9587030410766602, -0.48459139466285706, -0.1281268149614334, -0.29533272981643677, 0.02522655762732029, -0.42071688175201416, -0.0609775185585022, 0.022019600495696068, -0.1858285516500473, -0.2668624222278595, -0.24957025051116943, 0.3032163679599762, 0.9188632369041443, -0.6905274391174316, 0.5768129229545593, 0.663672685623169, -0.4244537651538849, -0.6928229331970215, -0.06459295749664307, 0.23615996539592743, -0.5985788106918335, 0.7440084218978882, 0.24150340259075165, 0.10789065808057785, 0.12706686556339264, -0.6503680348396301, -0.900981068611145, 1.033469557762146, 0.3471532166004181, -0.7146152853965759, 0.31698077917099, -0.045342255383729935, 0.7194225192070007, -0.26423993706703186, 0.3752382695674896, 0.42010241746902466, 0.6080774664878845, 0.5155569314956665, -0.5561320185661316, -0.5490015149116516, -0.4610109329223633, -0.08320154249668121, 0.13643060624599457, -0.5930108428001404, 0.7716470956802368, 0.06969849020242691, -0.4006238579750061, 0.42360469698905945, 0.7822417616844177, 0.4323998689651489, 0.29548129439353943, 0.15016598999500275, 0.5756343007087708, 0.9104133248329163, -0.46735477447509766, 0.9446492195129395, -0.6844482421875, 0.029124533757567406, 1.0446228981018066, -0.1987220048904419, 0.643513560295105, 0.3672461211681366, -0.22410552203655243, 0.539585530757904, 0.9446380138397217, 0.04480994865298271, 0.3356587290763855, 0.633642315864563, -0.6520479321479797, -0.4652651250362396, -0.1901693195104599, -0.3705908954143524, 0.7901796698570251, 0.39664337038993835, -0.34465014934539795, 0.2387785166501999, 0.04532361030578613, -0.16956952214241028, 0.23057681322097778, -0.23437747359275818, 0.9071890711784363, 0.32699161767959595, -0.5674878358840942, 0.2986678183078766, -0.32736876606941223, 0.7519001364707947, -0.707598090171814, 0.2538279592990875, -0.15328581631183624, -0.26660871505737305, -0.14634117484092712, -0.7913694381713867, 0.3307121694087982, 0.018184449523687363, -0.16711798310279846, -0.13334313035011292, 0.5667475461959839, -0.5706191062927246, -0.4538179337978363, 0.16921940445899963, 0.5077586770057678, 0.3318975567817688, -0.1317926049232483, -0.3904205858707428, 0.03951818868517876, -0.2570030689239502, -0.04083371162414551, 0.10226713865995407, 0.5277888178825378, 0.3642805814743042, 0.5129222869873047, 1.0964380502700806, 0.47309038043022156, -0.17476928234100342, 0.1469123363494873, 0.7623869180679321, -0.5622795820236206, -0.5121885538101196, -0.6982452869415283, 0.1832817792892456, 0.10145702213048935, -0.17232646048069, 0.4706900417804718, 0.7874387502670288, 0.6997854709625244, -0.15775416791439056, 0.7610186338424683, 0.07161611318588257, 0.285595566034317, -0.7173426747322083, 0.8946723937988281, -0.5673839449882507, 0.46594372391700745, -0.12407996505498886, -1.060787320137024, -0.18487976491451263, 0.25168129801750183, -0.08243194967508316, -0.21148845553398132, 0.4000881612300873, 0.7192879915237427, -0.13531087338924408, 0.30705422163009644, 0.47572940587997437, 0.09657438844442368, 0.3731648325920105, 0.7455378770828247, 1.3047348260879517, -0.051443781703710556, 0.782040536403656, -0.16497167944908142, -0.20831768214702606, 0.03178334981203079, -0.6398577094078064, -0.9690214395523071, -0.3425794243812561, 0.027600441128015518, 0.021535862237215042, -0.2347339689731598, 1.0509412288665771, 0.7180846929550171, -0.6150237917900085, -0.5295523405075073, -0.31332144141197205, 0.4566005766391754, 0.07830721139907837, -0.26894471049308777, 0.030123678967356682, -0.5104248523712158, -0.9538692831993103, 0.9214993119239807, 0.6509509086608887, 0.17675964534282684, -0.5707933902740479, -0.28145283460617065, 0.3951648473739624, 0.17767663300037384, 0.6375724673271179, 0.2388250231742859, -0.7556931376457214, -0.14374864101409912, 0.189827561378479, -0.1090441644191742, 0.24438101053237915, 0.935324490070343, -0.3221428394317627, 0.4262925088405609, 0.42225807905197144, 0.4208493232727051, 0.4430672228336334, -0.2412150800228119, 0.5413002967834473, -0.5422789454460144, 0.0010946131078526378, 0.227876678109169, 0.41462087631225586, 0.3726016879081726, -0.08145608752965927, 0.6009952425956726, 0.45685455203056335, -0.6575819849967957, -0.6064745783805847, 0.45521676540374756, -1.1276333332061768, -0.13474586606025696, 1.1676428318023682, -0.18836019933223724, -0.36703628301620483, 0.020753992721438408, -0.38921552896499634, 0.11534716188907623, -0.4227360486984253, 0.6925128102302551, 0.5738523602485657, 0.014544946141541004, -0.06406547874212265, -0.3833223879337311, 0.36472249031066895, 0.17515094578266144, -0.660486102104187, -0.1616201102733612, 0.7817826271057129, 0.13884319365024567, 0.3541100323200226, 0.6064368486404419, -0.26997989416122437, 0.611809492111206, -0.04398879408836365, 0.2845814824104309, -0.268086314201355, -0.31882014870643616, -0.20039767026901245, 0.18675020337104797, 0.23300603032112122, 0.06275727599859238 ]
http://arxiv.org/abs/2402.16142v1
http://arxiv.org/pdf/2402.16142v1
From Text to Transformation: A Comprehensive Review of Large Language Models' Versatility
2024-02-25T16:47:59
2024-02-25T16:47:59
Pravneet Kaur, Gautam Siddharth Kashyap, Ankit Kumar, Md Tabrez Nafis, Sandeep Kumar, Vikrant Shokeen
cs.CL
cs.CL, cs.AI
This groundbreaking study explores the expanse of Large Language Models (LLMs), such as Generative Pre-Trained Transformer (GPT) and Bidirectional Encoder Representations from Transformers (BERT) across varied domains ranging from technology, finance, healthcare to education. Despite their established prowess in Natural Language Processing (NLP), these LLMs have not been systematically examined for their impact on domains such as fitness, and holistic well-being, urban planning, climate modelling as well as disaster management. This review paper, in addition to furnishing a comprehensive analysis of the vast expanse and extent of LLMs' utility in diverse domains, recognizes the research gaps and realms where the potential of LLMs is yet to be harnessed. This study uncovers innovative ways in which LLMs can leave a mark in the fields like fitness and wellbeing, urban planning, climate modelling and disaster response which could inspire future researches and applications in the said avenues.
[ -0.29630303382873535, -0.5578730702400208, 0.6584893465042114, 0.20635052025318146, -0.04844028130173683, 0.2251223921775818, -0.4701942503452301, -0.4428153932094574, -0.02509324997663498, 0.8497439026832581, -0.3877129554748535, -0.21752098202705383, -0.9795854687690735, 0.22616492211818695, -0.7485607862472534, 0.9446730613708496, -0.06978324800729752, 0.11500512063503265, -0.2119181901216507, -0.040741465985774994, -0.28309381008148193, -0.7545692324638367, -0.38647085428237915, -0.5289254784584045, 0.2829343378543854, 0.018674101680517197, 0.8600653409957886, 0.052554305642843246, 0.6828272938728333, 0.2997288107872009, -0.2260339856147766, 0.021212758496403694, -0.5373117923736572, 0.04211616516113281, -0.29147860407829285, -0.22586590051651, -0.20667769014835358, -0.20297040045261383, 0.8472099304199219, 0.876200795173645, 0.02530665136873722, 0.05938282236456871, 0.39413055777549744, 0.6131002902984619, -0.22078780829906464, 0.012361058965325356, -0.6624433994293213, -0.1681193709373474, -0.06316246092319489, -0.029825672507286072, -0.2780923545360565, -0.22939236462116241, 0.35162216424942017, -0.03858951851725578, -0.054490894079208374, -0.0836351290345192, 0.6144586205482483, 0.284419447183609, -0.7141655087471008, -0.42453381419181824, -1.3274602890014648, 0.9733355641365051, -0.7715966105461121, 0.5117881298065186, -0.01745682582259178, 0.32629695534706116, -0.18833811581134796, -0.8707189559936523, -0.47976210713386536, 0.05601843073964119, 0.1985757201910019, -0.027555380016565323, -0.0795416533946991, 0.058711938560009, -0.046300265938043594, 0.4731312394142151, -0.25345101952552795, 0.39709770679473877, -0.1447911411523819, -0.0023567660246044397, 0.7046587467193604, 0.3539636731147766, 0.34795910120010376, -0.058125924319028854, -0.28184598684310913, -0.1998223513364792, -0.8241195678710938, -0.09127429127693176, 0.03644431009888649, 0.33266136050224304, -0.020848242565989494, 0.6670699715614319, 0.13732708990573883, 0.6254640817642212, -0.5532558560371399, -0.45448851585388184, 0.023306909948587418, -0.39163315296173096, -0.4899463951587677, -0.2748619616031647, 0.771582305431366, -0.1665327250957489, 0.13076943159103394, -0.3468801975250244, -0.21556356549263, -0.26153695583343506, 0.32643699645996094, -0.7174076437950134, 0.22991201281547546, 0.06885239481925964, -0.4754600524902344, 0.025194788351655006, -0.1049172580242157, -0.791347086429596, -0.35633185505867004, -0.5102816820144653, 0.10445664077997208, -0.48520123958587646, -0.3269132077693939, 0.5520493984222412, 0.2715325355529785, 0.5808051228523254, 0.41081172227859497, -0.9791170954704285, 0.183075413107872, 0.8625165224075317, 0.7498190402984619, -0.22346779704093933, -0.09915252029895782, 0.3774498701095581, 0.2508634328842163, -0.09720253199338913, 0.7118006944656372, -0.5313724875450134, -0.573396623134613, 0.5290817618370056, -0.1854463815689087, -0.007571070920675993, -0.388288676738739, 0.7506349682807922, -0.5178492665290833, 0.02239127829670906, -0.14602182805538177, -0.4288281500339508, -0.2684246003627777, 0.3948633670806885, -0.7213817834854126, 0.8805209994316101, 0.06823848187923431, -0.600763201713562, 0.15774478018283844, -0.6843821406364441, -0.6211862564086914, 0.006244754418730736, 0.026494069024920464, -0.5065737962722778, 0.1341235190629959, 0.08857593685388565, 0.617041826248169, -0.728282630443573, 0.5771904587745667, -0.1195925697684288, 0.18063730001449585, 0.35294345021247864, -0.6486145853996277, 0.686850905418396, 0.021678131073713303, -0.14999209344387054, 0.2476104497909546, -0.7998900413513184, -0.15710031986236572, 0.1149836927652359, -0.4401198625564575, -0.299094021320343, 0.3252774477005005, 0.4243912696838379, 0.28663262724876404, 0.4345903694629669, -0.3864545524120331, 0.24915440380573273, -0.4263094663619995, 0.6952444314956665, 0.5673674941062927, -0.35334286093711853, 0.5492719411849976, -0.20676995813846588, 0.49498143792152405, -0.41514602303504944, 0.052940718829631805, 0.02169576659798622, -0.5372301936149597, -0.6073692440986633, -0.28790825605392456, 0.2222232222557068, 0.4224451184272766, -0.7279683351516724, 0.5581874251365662, -0.584932804107666, -0.5994452238082886, -0.3408423662185669, 0.012147410772740841, -0.2569911777973175, 0.15395274758338928, 0.29695773124694824, 0.09603379666805267, -0.642427384853363, -0.7257339954376221, -0.39403268694877625, -0.07065638154745102, -0.08155696839094162, 0.16444142162799835, 0.6354785561561584, -0.8184649348258972, 1.0443071126937866, -0.26324355602264404, -0.14989690482616425, -0.7019492387771606, -0.2485376000404358, 0.19168931245803833, 0.13135769963264465, 0.5175482034683228, -1.071137547492981, -0.34129640460014343, -0.03192548453807831, -0.46040642261505127, -0.05645240843296051, -0.2461351603269577, 0.14192774891853333, -0.11534315347671509, 0.38124722242355347, -0.6010833382606506, 0.20440275967121124, 0.8878927230834961, -0.12719684839248657, 0.6005527377128601, -0.22161129117012024, 0.02298755943775177, -1.1265079975128174, 0.09309498220682144, -0.15773288905620575, -0.21151751279830933, -0.6903437972068787, 0.03930256515741348, -0.1768631488084793, -0.19733096659183502, -0.20222952961921692, 0.7151323556900024, -0.42711150646209717, -0.02572423592209816, -0.33015891909599304, -0.07851654291152954, -0.33273667097091675, -0.20901215076446533, 0.020021848380565643, 0.6386944055557251, 0.3931063413619995, -0.6017602682113647, 0.2886824607849121, 0.48338961601257324, -0.4118814170360565, 0.1333458572626114, -0.5325536727905273, 0.032307032495737076, -0.09264017641544342, 0.19147224724292755, -0.9350730776786804, -0.2715723216533661, -0.21704727411270142, -0.048892125487327576, 0.294200599193573, 0.2569030523300171, -0.9139073491096497, -0.5650399327278137, -0.15690776705741882, 0.38860490918159485, 0.6459852457046509, -0.43000805377960205, 0.7041504979133606, 0.42748090624809265, -0.3238784074783325, -0.21949031949043274, -0.7079463601112366, 0.4931870996952057, -0.33795666694641113, -0.4986531734466553, 0.38936153054237366, -0.21141068637371063, -0.2521284222602844, -0.22615420818328857, 0.013831251300871372, -0.05325913056731224, 0.2442813515663147, 0.15945322811603546, 0.3303203582763672, -0.07452133297920227, 0.1812690943479538, -0.13629472255706787, -0.003010894637554884, 0.055987611413002014, -0.4274357259273529, 0.6996310353279114, -0.07050944864749908, -0.3986343443393707, 0.22045718133449554, 0.3721659779548645, 0.6460674405097961, -0.2652437388896942, 0.9608632326126099, 0.3474291265010834, -0.42357486486434937, -0.016189593821763992, -0.4566468596458435, 0.14374583959579468, -0.45473989844322205, 0.6553600430488586, -0.004227273166179657, -1.2903752326965332, 0.42884573340415955, -0.5940136313438416, 0.1617775559425354, 0.674640417098999, 0.8280490040779114, 0.19072341918945312, 0.7394328117370605, 1.0850939750671387, -0.2012234479188919, 0.5044605731964111, -0.028171434998512268, 0.6229594349861145, -0.9185492396354675, -0.3358873426914215, -0.6616206169128418, -0.07385783642530441, -0.7405323386192322, -0.42323705554008484, 0.5399495959281921, -0.12425418198108673, -0.17892524600028992, 0.2693927586078644, -0.4281533360481262, 0.07449047267436981, 0.006790750660002232, -0.22369928658008575, 0.2762923836708069, 0.009102838113904, 0.21288788318634033, -0.20171944797039032, -0.621549665927887, -0.984272301197052, 1.2041341066360474, 0.5873500108718872, 0.8700264096260071, 0.20755983889102936, 0.5190473794937134, 0.03933412581682205, 0.6582357287406921, -0.8516002297401428, 0.5581330060958862, -0.43104133009910583, -0.6336053013801575, -0.5661278963088989, -0.23969228565692902, -1.0790154933929443, 0.08041100949048996, -0.37586361169815063, -0.6293990612030029, -0.19979003071784973, -0.28565505146980286, -0.14992564916610718, 0.774337649345398, -0.28270667791366577, 0.3363945782184601, -0.5670142769813538, -0.11798901855945587, -0.22149820625782013, -0.4253390431404114, 0.3048986494541168, -0.47156405448913574, 0.4867978096008301, 0.004910303745418787, -0.06953185796737671, 0.7847649455070496, 0.030050551518797874, 0.8912712931632996, 0.29935088753700256, -0.6570663452148438, 0.19124308228492737, -0.06866148114204407, 0.2338535040616989, -0.042154792696237564, -0.2779639661312103, 0.4781445562839508, -0.211704283952713, -0.17383919656276703, -0.20714779198169708, 0.6413246989250183, -0.717815101146698, -0.5911832451820374, -0.2528932988643646, -0.5922286510467529, -0.5692963004112244, 0.40642303228378296, 0.0726991668343544, 0.05548323318362236, -0.6256064772605896, 0.33639201521873474, 0.8252240419387817, -0.43021532893180847, 0.6382275223731995, 0.2790803909301758, -0.20273052155971527, -0.3738817274570465, 0.5141281485557556, 0.0712115615606308, 0.24435314536094666, 0.622470498085022, 0.1464872509241104, -0.37715935707092285, -0.8078970313072205, -0.07709640264511108, 0.34691616892814636, -0.6980435848236084, -0.20822301506996155, -0.5427131056785583, -0.4855518639087677, -0.4953736364841461, -0.3809065818786621, -0.5064045190811157, -0.013737034983932972, -0.4550793766975403, 0.005636604502797127, 0.009512250311672688, 1.0686250925064087, 0.11195491999387741, 0.29971447587013245, -0.9122453927993774, 0.2184392660856247, 0.4327247142791748, 0.4230935871601105, -0.09146513044834137, -0.4721880555152893, -0.3304859399795532, 0.09091600030660629, -0.4635393023490906, -0.6665277481079102, 0.5871496200561523, 0.11911473423242569, 0.5704798102378845, 0.23537121713161469, -0.25507137179374695, 0.25933173298835754, -0.7975996732711792, 0.983255922794342, 0.44261983036994934, -0.8893730044364929, 0.2598450481891632, -0.24205833673477173, 0.29990944266319275, 0.24931442737579346, 0.5174740552902222, -0.609984278678894, 0.017979618161916733, -0.49173274636268616, -1.1366331577301025, 0.2509826719760895, 0.15909278392791748, 0.5724329948425293, 0.27529376745224, 0.2188951075077057, 0.42155757546424866, 0.3266006410121918, -0.895027220249176, -0.19751082360744476, -0.1294686496257782, -0.18528157472610474, -0.33589503169059753, -0.5691629648208618, -0.01451385673135519, -0.30835700035095215, 0.4596203565597534, -0.1201256811618805, 0.373904287815094, 0.12105704098939896, -0.006353462114930153, 0.3217180073261261, 0.7280480861663818, 0.6152709126472473, 0.562074601650238, 0.1516088843345642, 0.14776882529258728, 0.10640676319599152, -0.34306424856185913, 0.24641521275043488, -0.003202912863343954, 0.054692987352609634, -0.07094980031251907, 0.7202057242393494, 0.6195837259292603, 0.39231282472610474, -0.5914732217788696, 0.12738846242427826, 0.2213328629732132, -0.2194337099790573, -0.2354351282119751, -0.05116520822048187, 0.3512188196182251, 0.23295611143112183, 0.40006041526794434, 0.018411412835121155, -0.019352642819285393, -0.7746182680130005, -0.23146435618400574, 0.4795268476009369, -0.25357016921043396, -0.4041050672531128, 0.6978108882904053, 0.2444603145122528, -0.418529748916626, 0.4277428686618805, 0.37975236773490906, -0.6441643834114075, 0.34827643632888794, 0.7071775794029236, 1.0484075546264648, -0.2649829685688019, 0.027878541499376297, 0.11837117373943329, 0.4746231138706207, -0.29724714159965515, -0.05547713860869408, 0.2156837433576584, -0.9671350717544556, -0.4660266935825348, -0.8220038414001465, -0.3646160364151001, 0.329441636800766, -0.395669549703598, 0.14538611471652985, -0.3337993323802948, -0.284390926361084, -0.01290161069482565, -0.3816729485988617, -0.8588963150978088, 0.23687507212162018, 0.3694388270378113, 0.9114731550216675, -0.7403904795646667, 0.7786920666694641, 0.8616654276847839, 0.0194901954382658, -0.4211743175983429, 0.36487680673599243, -0.39401450753211975, -0.7359142899513245, 0.5956603288650513, -0.033380597829818726, -0.14676976203918457, -0.043714385479688644, -0.666632354259491, -0.8078806400299072, 0.8304142951965332, 0.5567601919174194, -0.7387192845344543, -0.21043449640274048, 0.7120999693870544, 0.8507936596870422, -0.2540024220943451, 0.10703567415475845, 0.6817762851715088, 0.5919541120529175, -0.10979898273944855, -1.124815583229065, -0.20887045562267303, 0.16904914379119873, 0.33929091691970825, 0.09566091001033783, -0.7070663571357727, 0.5947233438491821, -0.12372778356075287, -0.07273072749376297, 0.02377653308212757, 0.5997626185417175, -0.18364030122756958, 0.010102381929755211, 0.17256668210029602, 0.230512797832489, 0.5198861360549927, -0.11395459622144699, 1.23458731174469, -0.18477684259414673, 0.5804385542869568, 0.5086043477058411, -0.4501456916332245, 0.764328122138977, 0.5555169582366943, -0.45821499824523926, 0.5744923949241638, 0.3902128040790558, 0.23069162666797638, 0.5289069414138794, 0.14376647770404816, -0.40973564982414246, -0.47296804189682007, 0.12787076830863953, -0.1904417723417282, 0.5776956081390381, 0.5865926146507263, -0.27867209911346436, -0.3150050640106201, 0.31780561804771423, -0.18843229115009308, 0.178067147731781, -0.30890586972236633, 0.7126554250717163, 0.4377252459526062, -0.2592836320400238, 0.3456282615661621, 0.17797698080539703, 0.7995333671569824, -0.9565354585647583, 0.032694991677999496, 0.1571960300207138, 0.07852162420749664, -0.10152250528335571, -1.0442034006118774, 0.5126738548278809, -0.17875057458877563, -0.19449986517429352, -0.7478773593902588, 1.041891098022461, -0.21804359555244446, -0.48745402693748474, 0.5424692630767822, 0.44447970390319824, -0.27664515376091003, 0.03050888329744339, -0.5332080125808716, 0.13474315404891968, 0.03526601940393448, -0.34706130623817444, 0.3738989233970642, 0.5614577531814575, 0.1484319418668747, 0.8643128871917725, 0.5280135869979858, 0.11395701766014099, -0.1462867707014084, -0.12324007600545883, 0.8836181163787842, -0.8549937605857849, -0.28155505657196045, -0.9846658706665039, 0.44513964653015137, 0.07714886963367462, -0.20653605461120605, 0.7341644167900085, 0.444830983877182, 0.5509973168373108, -0.273851603269577, 1.067813754081726, 0.03836346045136452, 0.23776303231716156, -0.5115017294883728, 0.643182635307312, -0.39185070991516113, 0.3854086399078369, -0.25522029399871826, -0.9300759434700012, -0.45215317606925964, 0.4258662462234497, -0.5875261425971985, -0.0011179510038346052, 0.5343782305717468, 0.16283753514289856, 0.11044483631849289, -0.10377984493970871, 0.5470685362815857, 0.06450441479682922, 0.7328673601150513, 0.49040305614471436, 0.7643803954124451, -0.3093836009502411, 0.28499627113342285, 0.4397544860839844, -0.10887309163808823, -0.28758400678634644, -0.9058258533477783, -0.8879981637001038, -0.6742908358573914, -0.11670155823230743, -0.1476939171552658, -0.264156699180603, 0.6153242588043213, 0.48286131024360657, -0.7247377038002014, -0.17689141631126404, 0.021546518430113792, 0.14111457765102386, 0.12310399115085602, -0.17747539281845093, 0.29179951548576355, -0.09084051847457886, -0.7186205983161926, 0.25655508041381836, 0.5267024636268616, 0.21966621279716492, -0.6623899340629578, -0.06746441125869751, 0.046669527888298035, 0.28765279054641724, 1.069916009902954, 0.17203554511070251, -0.5846434831619263, -0.2268754243850708, -0.10060460865497589, -0.27571216225624084, 0.07211748510599136, 1.1009174585342407, -0.5980919599533081, 0.10147424042224884, 0.34821876883506775, 1.0410560369491577, 0.372313916683197, -0.6401318907737732, 0.4669104814529419, -0.4168297052383423, 0.036430466920137405, 0.39530685544013977, 0.3875467777252197, 0.6566286087036133, -0.19679728150367737, 0.441718727350235, 0.19408254325389862, -0.6900883316993713, -0.6567628383636475, 0.3463047444820404, -0.9235125184059143, -0.323742538690567, 1.5934656858444214, 0.23145122826099396, -0.041508935391902924, -0.1537887454032898, -0.33237043023109436, 0.16534459590911865, 0.15646232664585114, 0.9192601442337036, 0.7869419455528259, -0.10598640888929367, -0.05706222727894783, -0.6282139420509338, 0.3970469832420349, 0.41709864139556885, -0.9931780099868774, 0.16833902895450592, 0.12223884463310242, 0.3252338767051697, 0.13279059529304504, 0.4821489751338959, -0.16818483173847198, -0.48297762870788574, -0.387267142534256, 0.18396176397800446, 0.30198803544044495, -0.14190392196178436, -0.41628164052963257, 0.0494547076523304, 0.27124887704849243, 0.32993677258491516 ]
http://arxiv.org/abs/2402.16141v1
http://arxiv.org/pdf/2402.16141v1
PeriodicLoRA: Breaking the Low-Rank Bottleneck in LoRA Optimization
2024-02-25T16:43:41
2024-02-25T16:43:41
Xiangdi Meng, Damai Dai, Weiyao Luo, Zhe Yang, Shaoxiang Wu, Xiaochen Wang, Peiyi Wang, Qingxiu Dong, Liang Chen, Zhifang Sui
cs.CL
cs.CL
Supervised fine-tuning is the most common method to adapt large language models (LLMs) to downstream tasks, but full fine-tuning LLMs requires massive computational resources. Recently, parameter-efficient fine-tuning (PEFT) methods have been widely studied due to its cost-effectiveness. LoRA is one of the most widely used methods, which assumes that the optimization process is essentially low-dimensional. Although LoRA fine-tuning is effective, there is still a performance gap compared to full fine-tuning, since its weight update is limited to low-rank matrices. In order to break the low-rank bottleneck in LoRA Optimization, we propose PeriodicLoRA (PLoRA), which accumulates low-rank update matrices multiple times to achieve a higher update rank. PLoRA has multiple training stages. During each stage, we still update only the LoRA weights. However, at the end of each stage, we unload the LoRA weights into the backbone parameters and then reinitialize the LoRA states. Experimental results show that PLoRA has stronger learning ability, approximately 1.8 times that of LoRA's learning ability at most, but it does not increase memory usage. Further, we introduce a momentum-based unloading strategy for PLoRA to mitigate the training instability.
[ -0.3905596435070038, -0.9231834411621094, 0.4113638997077942, 0.39867356419563293, -0.3967368006706238, 0.3106205463409424, -0.5390452146530151, -0.2606181800365448, 0.023038597777485847, 0.4265355169773102, -0.6118742227554321, -0.5409994125366211, -0.4032304883003235, 0.0968407467007637, -0.23097839951515198, 0.9772719740867615, 0.13858318328857422, -0.0047299242578446865, 0.23296794295310974, -0.12289032340049744, -0.7561792135238647, -0.0732744112610817, -0.9666832685470581, -0.457269549369812, 0.7873607277870178, 0.546440839767456, 0.6548702716827393, 0.6228423118591309, 0.3643086850643158, 0.3721740245819092, -0.39317676424980164, 0.5445263981819153, -0.931865930557251, 0.1236904114484787, -0.19066891074180603, -0.5772014856338501, -0.6384536027908325, -0.14420980215072632, 0.7465436458587646, 0.9947459697723389, -0.24490270018577576, 0.20563191175460815, 0.1449992060661316, 0.914650022983551, -0.7436723113059998, 0.14203879237174988, -0.8826663494110107, -0.013663975521922112, -0.6021967530250549, -0.3265988528728485, -0.35771533846855164, -0.38385698199272156, -0.21357694268226624, -0.919807493686676, -0.19564862549304962, 0.14336282014846802, 0.8437869548797607, 0.8129737377166748, -0.09053613990545273, 0.10799463093280792, -0.6562243700027466, 0.7612719535827637, -0.5652357935905457, 0.0582546629011631, 0.3799663186073303, 0.10470101237297058, -0.41093137860298157, -0.2973121106624603, -0.3343515992164612, 0.047844115644693375, 0.36965811252593994, 0.01871645636856556, -0.10037896782159805, -0.04502308741211891, 0.19594132900238037, 0.4201437830924988, -0.47996243834495544, 0.5017126202583313, -0.5066552758216858, 0.35098573565483093, 0.5836489796638489, -0.01906770095229149, 0.04771867021918297, 0.1807907521724701, -0.21630877256393433, -0.14235395193099976, -0.8060768246650696, 0.006759508512914181, 0.480607807636261, 0.584796130657196, -0.0827765092253685, 0.42184579372406006, -0.2368588000535965, 0.6800913214683533, 0.336840957403183, -0.0922890156507492, 0.2520811855792999, 0.000016472864444949664, -0.22201882302761078, 0.21318355202674866, 0.43212300539016724, -0.017706191167235374, 0.39052823185920715, -0.03486350178718567, -0.023771902546286583, 0.33017194271087646, 0.13085485994815826, -0.6529088616371155, -0.3056137263774872, 0.31327685713768005, -0.35567420721054077, -0.4811297357082367, -0.00886513665318489, -1.1722289323806763, -0.4844532310962677, -0.2490149438381195, 0.47719791531562805, -0.40506699681282043, 0.1308271586894989, 0.3678397238254547, 0.38615357875823975, -0.01828196458518505, 0.5678144693374634, -0.8245251774787903, 0.28283941745758057, 0.7928752899169922, 0.7889831066131592, -0.42665204405784607, -0.4107225835323334, -1.1860239505767822, -0.08793887495994568, -0.3681364357471466, 0.8669164776802063, -0.4411672055721283, -0.2945109009742737, -0.08844367414712906, -0.03426593914628029, -0.2750542461872101, -0.6905919909477234, 0.22784742712974548, -0.6623866558074951, 0.11985164880752563, -0.1051306501030922, -0.2510664165019989, 0.03336271643638611, -0.14560608565807343, -0.7316974997520447, 1.1468040943145752, 0.20111308991909027, -0.5473171472549438, 0.090668685734272, -0.7869443297386169, -0.258137047290802, -0.06912904232740402, 0.07778743654489517, -0.6799601316452026, 0.32434573769569397, 0.12264573574066162, 0.0006444303435273468, -0.22252298891544342, -0.046823643147945404, -0.28099319338798523, -0.5976422429084778, 0.18527807295322418, -0.1813669204711914, 0.5632299184799194, 0.3693195879459381, -0.2722603380680084, 0.35121843218803406, -0.9722088575363159, -0.12475509196519852, 0.09571173042058945, -0.7184022068977356, -0.3771304488182068, 0.0759357139468193, -0.06903208792209625, 0.02432311698794365, 0.46284323930740356, -0.39714521169662476, 0.6270081996917725, -0.6036986708641052, 0.3973783552646637, 1.0083955526351929, 0.0532405860722065, 0.4482601284980774, -0.31045863032341003, 0.298036128282547, -0.030247295275330544, 0.26226896047592163, 0.12621532380580902, -0.37537771463394165, -0.9821586012840271, -0.2248350977897644, 0.5442134737968445, 0.4333100914955139, -0.764573872089386, 0.22245800495147705, -0.16207468509674072, -0.41216543316841125, -0.6191624402999878, 0.7224687337875366, 0.40645673871040344, 0.10768193751573563, 0.49339690804481506, -0.39075368642807007, -0.29298844933509827, -0.5293376445770264, -0.2245642989873886, 0.004820115398615599, 0.40581464767456055, -0.12128443270921707, 0.47038400173187256, -0.15876469016075134, 0.8847190737724304, -0.65139240026474, -0.5945324301719666, -0.1679045557975769, 0.273122102022171, 0.5071793794631958, 0.5220398902893066, 0.4191541075706482, -0.5544289946556091, -0.5144195556640625, 0.06262882798910141, -0.5726573467254639, -0.4603683352470398, -0.2259892374277115, -0.1583404690027237, 0.44294455647468567, 0.38982468843460083, -0.440439909696579, 0.32306814193725586, 0.7142075300216675, -0.378536581993103, 0.12890484929084778, -0.37112200260162354, -0.35302433371543884, -0.6829448342323303, -0.08061470091342926, -0.08506248891353607, -0.20282407104969025, -0.3917085826396942, 0.16171254217624664, -0.22674909234046936, -0.19395790994167328, -0.4388839900493622, 0.42928919196128845, -0.4205126166343689, -0.11513734608888626, -0.42577144503593445, 0.3708442747592926, -0.18766342103481293, 0.9616091251373291, -0.2679535746574402, 0.8847696185112, 0.30263465642929077, -0.4916943609714508, 0.09929363429546356, 0.25215524435043335, -0.2654300332069397, 0.5608986616134644, -0.6065350770950317, 0.09208285808563232, -0.0681319609284401, -0.09886165708303452, -0.6494641900062561, 0.03828715533018112, 0.10791826993227005, 0.13102124631404877, 0.23951326310634613, -0.037025336176157, -0.542259156703949, 0.03910668194293976, -0.48812228441238403, 0.22509698569774628, 0.48138102889060974, -0.7733871936798096, 0.47914382815361023, 0.28999704122543335, -0.03792029991745949, -0.30740368366241455, -0.14532120525836945, -0.2301407903432846, -0.36949262022972107, -0.40882182121276855, 0.530026376247406, -0.23915159702301025, -0.47511085867881775, -0.2909128665924072, -0.18905121088027954, 0.287370502948761, 0.3242816925048828, 0.3010234534740448, -0.021213361993432045, 0.04847637936472893, 0.07742776721715927, 0.05572756379842758, -0.440360963344574, -0.39537501335144043, -0.18323567509651184, 0.941681981086731, -0.3283984363079071, -0.37548696994781494, -0.5352187752723694, 0.04631061106920242, 0.6155503988265991, -0.23695284128189087, 0.7961709499359131, 0.7073730230331421, -0.18242155015468597, -0.6119604706764221, -0.381221741437912, -0.1297961175441742, -0.5498175621032715, 0.370576411485672, -0.37277379631996155, -0.6447808742523193, 0.4050215482711792, -0.46101367473602295, 0.08466783910989761, 0.35988086462020874, 0.5669109225273132, -0.15698809921741486, 0.7479592561721802, 0.7604439854621887, -0.21864013373851776, 0.6214007139205933, -0.3659589886665344, -0.0430978424847126, -0.7593304514884949, -0.02690025418996811, -0.5174499750137329, -0.5620753765106201, -0.5242897868156433, -0.5231895446777344, 0.6824160218238831, 0.41512975096702576, -0.4701143503189087, 0.22151224315166473, -0.4419461786746979, 0.3457639813423157, 0.6197401285171509, 0.09365756064653397, 0.8463557958602905, 0.17325082421302795, 0.24009153246879578, 0.04397051781415939, -0.6985774636268616, -0.11808004230260849, 0.9430418610572815, 0.34061020612716675, 0.9261875152587891, 0.21569252014160156, 0.6411710977554321, 0.2811286747455597, 0.011843421496450901, -0.5324984788894653, 0.654102623462677, -0.5097700953483582, -0.01091026421636343, -0.44741693139076233, -0.32831600308418274, -1.1415637731552124, 0.35033050179481506, -0.20642933249473572, -0.7409853339195251, 0.30477479100227356, -0.004340778570622206, -0.49606722593307495, 0.24568939208984375, -0.2676185369491577, 0.6985727548599243, -0.2563416063785553, -0.5690116286277771, -0.4991491436958313, -0.3727632761001587, 0.15236853063106537, -0.5065411329269409, 0.2738153338432312, -0.03636602684855461, 0.04810556024312973, 0.807941734790802, -0.7158511281013489, 1.0300601720809937, -0.12469631433486938, -0.5436282753944397, -0.0421297587454319, 0.038073278963565826, 0.6738165616989136, 0.15768831968307495, 0.11171603947877884, 0.17137393355369568, 0.08963596820831299, -0.31740525364875793, -0.5172871351242065, 0.7368313670158386, -1.1060799360275269, -0.38573339581489563, -0.5640202760696411, -0.5225849747657776, -0.3288749158382416, 0.0024430861230939627, 0.14143452048301697, 0.00838954746723175, 0.14366766810417175, 0.19805610179901123, 0.8982077836990356, -0.28376325964927673, 0.41902533173561096, 0.5622700452804565, -0.5099499821662903, -0.2039635330438614, 1.101670503616333, 0.13902929425239563, 0.15473145246505737, 0.2453165203332901, 0.15927164256572723, 0.359793096780777, -0.7034686803817749, -0.19143839180469513, 0.4020480215549469, -0.31023648381233215, -0.1727946698665619, -0.08673517405986786, -0.11281309276819229, 0.14308354258537292, -0.2089790254831314, -0.809106707572937, -0.4429209232330322, -0.35700973868370056, 0.47836655378341675, 0.6165319681167603, 0.4597846567630768, -0.10222265124320984, 0.7964820861816406, -0.38169991970062256, 0.4597284197807312, 0.31716975569725037, 0.3126477599143982, -0.10937700420618057, -0.4894028306007385, -0.31465858221054077, -0.15649528801441193, -0.3893791139125824, -0.6777533888816833, 0.47392234206199646, 0.3311755061149597, 0.18724068999290466, 0.5356656312942505, -0.0838797464966774, 0.9894543290138245, -0.4195926785469055, 0.4742136597633362, -0.12957017123699188, -0.982075572013855, 0.5612150430679321, -0.5780537724494934, 0.3268126845359802, 0.7191041111946106, -0.15929128229618073, -0.2733196020126343, -0.18314538896083832, -0.31621086597442627, -0.895440936088562, 0.5243952870368958, 0.1071801409125328, -0.1727122664451599, 0.30294087529182434, 0.3084063231945038, 0.04680884629487991, 0.32290399074554443, -0.526396632194519, -0.2322176992893219, 0.0693027675151825, -0.11102012544870377, 0.04843982309103012, -0.013810202479362488, -0.2150467187166214, -0.23606932163238525, 0.912070631980896, -0.35226109623908997, -0.02857748046517372, -0.2475501298904419, -0.17958754301071167, -0.42417997121810913, 0.2505623996257782, 0.5548715591430664, 0.5764457583427429, -0.4352841079235077, -0.13733705878257751, 0.4263656437397003, -0.5148516893386841, -0.19922968745231628, 0.08541944622993469, -0.21427969634532928, -0.21584706008434296, 0.17731766402721405, 0.6139559745788574, 0.7166192531585693, -0.7715901136398315, 0.1156361922621727, 0.2664283514022827, 0.027218002825975418, -0.4538173973560333, 0.23727703094482422, -0.1262645274400711, 0.43028178811073303, 0.47316065430641174, -0.05824270471930504, -0.5141400694847107, -0.523712694644928, -0.07481694221496582, 0.3467751145362854, -0.07323561608791351, -0.24282333254814148, 0.6917727589607239, 0.0953177884221077, -0.15587632358074188, 0.47214144468307495, -0.14112456142902374, -0.2530689239501953, 0.32614296674728394, 0.3985922932624817, 0.4050295650959015, -0.13566496968269348, 0.21109363436698914, 0.024816786870360374, 0.20892737805843353, -0.33853879570961, 0.58050137758255, 0.29497215151786804, -0.5832202434539795, -0.48036491870880127, -0.9440226554870605, -0.3344927132129669, 0.17865222692489624, -0.6030290126800537, 0.22483733296394348, -0.7185474634170532, -0.1864904761314392, -0.2360764592885971, 0.4802404046058655, -0.3362899720668793, -0.2903588116168976, 0.04866962507367134, 0.917053759098053, -0.6677170395851135, 1.0214242935180664, 0.3658827245235443, -0.5420020222663879, -0.4584346115589142, -0.26439517736434937, 0.14132532477378845, -0.7015445232391357, 0.8780637979507446, -0.3423498570919037, -0.22797314822673798, 0.15851576626300812, -0.467460572719574, -1.0856356620788574, 1.208983063697815, 0.31778982281684875, -0.7459047436714172, -0.18295924365520477, 0.03454166278243065, 0.49971258640289307, -0.24081629514694214, -0.5211870074272156, 0.5554802417755127, 0.6641132831573486, -0.12129004299640656, -0.951032817363739, -0.18224576115608215, -0.12887652218341827, 0.18142543733119965, 0.16623647511005402, -0.9966028332710266, 1.3128314018249512, -0.0270115677267313, -0.1106734573841095, 0.49056947231292725, 0.7823681235313416, 0.5042755007743835, 0.20622676610946655, 0.5615383982658386, 0.8183615207672119, 0.8818960785865784, -0.14955547451972961, 0.6597615480422974, -0.5143731236457825, 0.4082193970680237, 1.1754237413406372, -0.5106908082962036, 1.0853034257888794, 0.6403039693832397, -0.2089008241891861, 0.7714912295341492, 0.5873442888259888, -0.2283218652009964, 0.6656444668769836, 0.2995302975177765, 0.048719607293605804, -0.3785128593444824, -0.08743202686309814, -0.338794469833374, 0.6593493819236755, 0.3657660484313965, -0.05225740000605583, -0.4228160083293915, 0.13040180504322052, 0.32847845554351807, 0.25743475556373596, -0.5080390572547913, 0.5633624196052551, 0.18491630256175995, -0.535389244556427, 0.7397656440734863, 0.19620132446289062, 0.6599435210227966, -0.5855979919433594, -0.050970204174518585, -0.342862069606781, 0.5028770565986633, -0.23081260919570923, -0.029841585084795952, -0.02843846008181572, -0.026076050475239754, -0.015365760773420334, -0.13760323822498322, 0.4824937880039215, -0.3346341550350189, -0.41334763169288635, 0.32281777262687683, 0.7112892866134644, -0.005313832778483629, -0.037059810012578964, -0.5545453429222107, 0.4867267906665802, -0.29908987879753113, -0.32768866419792175, 0.6935219764709473, 0.10556920617818832, -0.21011130511760712, 0.7567428946495056, 0.9414286613464355, 0.486530601978302, -0.09994905441999435, 0.053992751985788345, 1.001584768295288, -0.34202319383621216, -0.49736449122428894, -0.7223683595657349, 0.22036172449588776, -0.017383350059390068, -0.3114410936832428, 0.6454927921295166, 0.4314779043197632, 0.718409538269043, 0.08873330801725388, 0.38893428444862366, 0.33829325437545776, 0.3562694489955902, -0.9152780175209045, 0.7044715881347656, -0.5729620456695557, 0.6313415169715881, -0.22345830500125885, -1.1188474893569946, -0.1704655885696411, 0.7946427464485168, -0.4390290677547455, -0.1282620131969452, 0.8471370339393616, 0.7037532925605774, 0.05656241253018379, 0.00009841995051829144, 0.19220028817653656, 0.590510368347168, 0.05308758467435837, 0.8122398257255554, 0.46240347623825073, -0.31392237544059753, 0.28880956768989563, -0.22550466656684875, -0.14260490238666534, -0.3044454753398895, -0.8298166394233704, -1.0183476209640503, -0.40990957617759705, -0.492082417011261, -0.30063822865486145, 0.3416314125061035, 0.993810772895813, 0.6317775249481201, -0.6562806367874146, -0.2769662141799927, 0.09710972756147385, 0.13632412254810333, -0.6026086211204529, -0.19465835392475128, 0.6079943776130676, -0.535680890083313, -0.9307712912559509, 0.6948044896125793, 0.3562024235725403, -0.3186824917793274, -0.5076940655708313, 0.006507576908916235, -0.2551124393939972, -0.035859156399965286, 0.5006363391876221, 0.5492470264434814, -0.4827333390712738, -0.12892143428325653, -0.3060775697231293, 0.03624014928936958, 0.0795767679810524, 0.5675342679023743, -0.9977553486824036, -0.009035398252308369, 0.27512305974960327, 0.5508595108985901, 0.5778475999832153, 0.17538133263587952, 0.3537583649158478, -0.6840460896492004, 0.168166846036911, -0.2842996418476105, 0.4355587065219879, 0.015401709824800491, -0.1770910918712616, 0.7780802845954895, 0.25430017709732056, -0.44545310735702515, -0.9895169734954834, 0.12323984503746033, -1.4275999069213867, -0.5828487277030945, 1.1603206396102905, 0.22040605545043945, -0.4400385320186615, -0.15783347189426422, -0.1728905588388443, 0.17043481767177582, -0.47328126430511475, 1.068332314491272, 0.20550419390201569, -0.07717939466238022, -0.014745247550308704, -0.6796894669532776, 0.6032224893569946, 0.5313974022865295, -0.8986009955406189, 0.007294133305549622, 0.26363039016723633, 0.11462244391441345, 0.30072084069252014, 0.41513705253601074, -0.08567367494106293, 0.06699401140213013, -0.4068157970905304, -0.34845465421676636, -0.35014376044273376, -0.5378081202507019, -0.5099404454231262, 0.572270929813385, 0.1814221888780594, 0.008503626100718975 ]
http://arxiv.org/abs/2402.16139v3
http://arxiv.org/pdf/2402.16139v3
What Generative Artificial Intelligence Means for Terminological Definitions
2024-02-25T16:36:51
2024-04-19T16:13:43
Antonio San Martín
cs.CL
cs.CL, cs.AI
This paper examines the impact of Generative Artificial Intelligence (GenAI) tools like ChatGPT on the creation and consumption of terminological definitions. From the terminologist's point of view, the strategic use of GenAI tools can streamline the process of crafting definitions, reducing both time and effort, while potentially enhancing quality. GenAI tools enable AI-assisted terminography, notably post-editing terminography, where the machine produces a definition that the terminologist then corrects or refines. However, the potential of GenAI tools to fulfill all the terminological needs of a user, including term definitions, challenges the very existence of terminological definitions and resources as we know them. Unlike terminological definitions, GenAI tools can describe the knowledge activated by a term in a specific context. However, a main drawback of these tools is that their output can contain errors. For this reason, users requiring reliability will likely still resort to terminological resources for definitions. Nevertheless, with the inevitable integration of AI into terminology work, the distinction between human-created and AI-created content will become increasingly blurred.
[ -0.5409691333770752, -0.5914424657821655, 0.2312011420726776, 0.10405050963163376, -0.34947144985198975, 0.3233085572719574, -0.01775241829454899, -0.49937835335731506, 0.1704566478729248, 0.29892101883888245, -0.4846987724304199, -0.1861993372440338, -0.5605884194374084, 0.28811612725257874, -0.6748203039169312, 1.2229435443878174, 0.11265583336353302, -0.291255921125412, -0.5464034676551819, -0.043394945561885834, -0.43174588680267334, -0.3138338327407837, -0.8977293968200684, -0.5730113983154297, 0.5235029458999634, 0.1310480386018753, 1.2283003330230713, 0.5761232972145081, 0.5744084715843201, 0.38911354541778564, 0.05988104268908501, 0.05846299231052399, -0.3859173357486725, -0.0255262553691864, 0.1974613219499588, -0.625581681728363, -0.3290756046772003, 0.20941300690174103, 0.4959748089313507, 0.6123468279838562, -0.44734135270118713, 0.08413617312908173, 0.0893692672252655, 0.5788525342941284, -0.21579815447330475, 0.18102602660655975, -0.557351291179657, 0.31099846959114075, -0.29316890239715576, -0.4693742096424103, 0.0134048480540514, -0.27473217248916626, 0.2674664258956909, -0.9856112599372864, 0.4132208526134491, -0.22265185415744781, 0.985090434551239, 0.6498545408248901, 0.03116072155535221, -0.5753614902496338, -0.9510508179664612, 0.3101828694343567, -0.5751798748970032, -0.01030238438397646, 0.2871566414833069, 0.37945935130119324, -0.052876513451337814, -0.7668938636779785, -0.9283168911933899, -0.32990849018096924, -0.19046379625797272, 0.3686780333518982, -0.19445869326591492, 0.44401541352272034, 0.3993191123008728, 0.5775690674781799, -0.4272404611110687, 0.09659621119499207, -0.6784893870353699, -0.07247267663478851, 0.8084525465965271, 0.15350665152072906, 0.6941382884979248, -0.3496745824813843, -0.11004789173603058, 0.0609717033803463, -0.5809065699577332, -0.5014784336090088, 0.4916168451309204, -0.09448839724063873, 0.01892007514834404, 0.6112703084945679, -0.06259185820817947, 0.4178483784198761, -0.29378199577331543, 0.006941488478332758, 0.29503539204597473, -0.3738301396369934, -0.42240121960639954, -0.08488079160451889, 1.134096622467041, 0.08330676704645157, 0.2879754602909088, -0.32846853137016296, 0.020407669246196747, 0.2141810655593872, 0.3815663754940033, -0.5119273662567139, -0.46223798394203186, 0.08179891109466553, -0.2727404832839966, -0.34545615315437317, 0.15381787717342377, -0.8470566272735596, -0.5549256205558777, -0.3961579203605652, 0.45088618993759155, -0.5673093199729919, -0.13913710415363312, -0.36595800518989563, -0.44132351875305176, 0.35186415910720825, 0.3855289816856384, -0.9736380577087402, -0.2230985015630722, 0.7036914229393005, 1.0574911832809448, 0.35595566034317017, -0.19714267551898956, 0.07381857931613922, 0.18483230471611023, -0.45891889929771423, 0.7932784557342529, -0.4487091898918152, -0.9650601744651794, -0.11717860400676727, -0.49313437938690186, -0.04525516554713249, -0.5555337071418762, -0.03482302650809288, -0.3757514953613281, 0.1891573965549469, 0.15095733106136322, -0.42281243205070496, -0.25026410818099976, 0.08840320259332657, -0.6179635524749756, 0.6366183161735535, 0.15191082656383514, -0.24882465600967407, 0.5980442762374878, -0.986416757106781, -0.5445911288261414, 0.9882901906967163, -0.5193210244178772, -0.22578993439674377, -0.030992528423666954, -0.24303530156612396, 0.22108137607574463, -0.18040530383586884, 0.486576646566391, 0.14181366562843323, -0.043346963822841644, 0.5171773433685303, -0.5338708162307739, 0.6973742246627808, 0.33441007137298584, -0.38068264722824097, 0.2619631886482239, -0.6844306588172913, -0.030373791232705116, -0.2377403974533081, -0.13902506232261658, -0.1694328933954239, 0.36548855900764465, -0.15472064912319183, 0.011311325244605541, 0.170122429728508, -0.3647567927837372, 0.11373579502105713, -0.44042128324508667, 0.7075405716896057, 0.8548173308372498, -0.22771114110946655, 0.14521490037441254, -0.3086250424385071, 0.6721164584159851, -0.3809134364128113, 0.6048446893692017, 0.16723665595054626, -0.6921327710151672, -0.9752987027168274, -0.1651579737663269, 0.4910927712917328, 0.7523651123046875, -1.1512784957885742, 0.3835691511631012, -0.4041629433631897, -0.7980465888977051, -0.6992619633674622, 0.2875238358974457, 0.31192678213119507, 0.28469663858413696, 0.037941206246614456, -0.3161531090736389, -0.557498037815094, -0.8535147309303284, 0.3218742311000824, -0.43000149726867676, -0.34691131114959717, 0.4061487019062042, 0.46939748525619507, -0.46660494804382324, 0.9222782850265503, -0.12248878180980682, -0.4697219133377075, -0.3248932361602783, 0.722011923789978, -0.043177470564842224, 0.24989935755729675, 0.42986154556274414, -1.023766040802002, -0.12187314033508301, 0.26673611998558044, -1.1878185272216797, -0.027522968128323555, -0.39481255412101746, 0.0015408756444230676, 0.1106700599193573, 0.3481626510620117, -0.7548720836639404, 0.6306699514389038, 0.34125256538391113, -0.33519184589385986, 0.611935555934906, -0.41052302718162537, 0.17363227903842926, -1.1561682224273682, 0.2202383577823639, 0.008995262905955315, 0.4351006746292114, -0.7698180675506592, 0.3970387578010559, -0.4786475896835327, -0.11483742296695709, -0.2470407634973526, 0.1970539540052414, -0.017584145069122314, -0.09918025135993958, -0.2623136639595032, 0.22763529419898987, -0.2125188112258911, -0.007936877198517323, -0.28257396817207336, 1.3246233463287354, 0.30533936619758606, -0.6125492453575134, 0.6447525024414062, 0.7428218126296997, -0.055994343012571335, 0.5208685994148254, -0.883200466632843, 0.17259898781776428, -0.02145051211118698, -0.06962929666042328, -0.7140316963195801, -0.3426404595375061, 0.6288750171661377, -0.8105893731117249, 0.00010348723299102858, 0.1347404420375824, -0.7383871674537659, -0.33958202600479126, -0.10837758332490921, 0.37876591086387634, 0.5809181928634644, -0.2621287405490875, 0.8210610151290894, 0.3328852355480194, -0.12032786756753922, -0.15315784513950348, -0.8663968443870544, 0.5176575183868408, -0.3566518723964691, -0.48833993077278137, 0.4225896894931793, -0.02541203238070011, -0.4810963273048401, 0.08623239398002625, 0.3721102178096771, 0.03620351850986481, 0.2161235511302948, 0.4865342378616333, 0.6430377960205078, -0.01091457437723875, 0.46063461899757385, -0.2937644422054291, -0.08923833072185516, 0.2123558074235916, -0.005467262584716082, 0.6377444863319397, -0.0032305808272212744, -0.07986760139465332, -0.6316118836402893, 0.2809089124202728, 0.5035951137542725, -0.03861917182803154, 0.8275806903839111, 0.592072069644928, -0.06530261039733887, 0.06783033907413483, -0.4123806953430176, 0.34414368867874146, -0.5147910714149475, 0.015394291840493679, -0.2063407450914383, -0.6983683705329895, 0.69806307554245, 0.17574362456798553, -0.07052194327116013, 0.9319970607757568, 0.2857809066772461, -0.35664117336273193, 0.761846661567688, 0.5403427481651306, -0.06077176705002785, 0.3826497197151184, -0.5311724543571472, 0.33831411600112915, -1.0444740056991577, -0.40362387895584106, -0.4521535038948059, -0.2877904772758484, -1.0976811647415161, -0.20986628532409668, 0.4499083161354065, -0.24788786470890045, -0.1796926110982895, -0.021241847425699234, -0.6816240549087524, 0.11430593580007553, 1.0058565139770508, 0.18576382100582123, 0.10641942918300629, -0.10436414927244186, 0.5959078073501587, 0.3682672381401062, -0.7764467597007751, -0.5743032693862915, 1.2691422700881958, 0.040468480437994, 0.4903688132762909, -0.08426516503095627, 0.5141062140464783, 0.752885103225708, 0.47497546672821045, -0.9228894114494324, 0.6799963712692261, -0.3672778904438019, -0.16029134392738342, -0.4420693814754486, -0.4779963493347168, -0.9613345265388489, -0.2914424538612366, -0.13469190895557404, -0.45747464895248413, 0.16207319498062134, 0.14060407876968384, -0.4965325891971588, 0.4472518563270569, -0.6609085202217102, 0.6755387187004089, -0.22832947969436646, 0.13244622945785522, -0.509463906288147, -0.4475666582584381, 0.09066994488239288, -0.004187987186014652, 0.10825075954198837, -0.10042520612478256, 0.03803272545337677, 1.0027302503585815, -0.3158658742904663, 0.9398812055587769, 0.141781285405159, 0.09658296406269073, 0.5142315626144409, -0.14919981360435486, -0.17023222148418427, -0.12369683384895325, 0.2089836150407791, 0.5394521951675415, 0.09123967587947845, -0.3332238793373108, -0.703441858291626, 0.17607177793979645, -1.1759225130081177, -0.8986079096794128, -0.3907696008682251, -0.4402996897697449, 0.005455553997308016, -0.03395828604698181, 0.5026050209999084, 0.5536385178565979, -0.28899475932121277, -0.14704111218452454, 0.6009084582328796, -0.3768259584903717, 0.18348830938339233, -0.1430249959230423, 0.09289473295211792, -0.35336369276046753, 1.234668493270874, 0.12697651982307434, 0.31429794430732727, 0.13402217626571655, 0.010936519131064415, -0.03512836620211601, -0.6551091074943542, -0.4248720705509186, -0.02042677253484726, -0.6050013303756714, -0.1821991205215454, -0.22811241447925568, -0.8105005025863647, -0.23698267340660095, -0.08146492391824722, 0.20133954286575317, -0.16352297365665436, -0.6301131844520569, 0.11679816246032715, 0.45767995715141296, 0.8366060853004456, -0.017695173621177673, 0.4554249942302704, -0.648805558681488, 0.43107476830482483, 0.6778254508972168, 0.3110259175300598, -0.14631351828575134, -0.22117294371128082, 0.07502390444278717, 0.24574491381645203, -0.2112922966480255, -0.5827715396881104, 0.2947543263435364, 0.6456579566001892, 0.4931596517562866, 0.6748007535934448, -0.4146498441696167, 0.6214568614959717, -0.17821604013442993, 1.0238010883331299, 0.08687807619571686, -0.7797764539718628, 0.796995222568512, -0.4750853180885315, 0.2985326051712036, 0.49125853180885315, 0.2441515177488327, -0.9379547238349915, -0.5075783729553223, -0.7528482675552368, -0.8373822569847107, 0.22140394151210785, 0.2188304364681244, 0.6390141248703003, -0.15364588797092438, 0.6069349646568298, 0.3037160336971283, 0.327719122171402, -0.3372071385383606, -0.10771395266056061, -0.3722728192806244, -0.16498534381389618, -0.11075937747955322, -0.32558685541152954, -0.24628597497940063, -0.111727274954319, 0.71638023853302, -0.07162129878997803, 0.5118648409843445, 0.14125971496105194, 0.10188205540180206, 0.0019957812037318945, 0.45747581124305725, 0.456963449716568, 0.8209259510040283, 0.21722035109996796, -0.14214996993541718, -0.18753322958946228, -0.6130121350288391, -0.17872515320777893, 0.36427369713783264, -0.7880686521530151, -0.04526370018720627, 0.435701847076416, 0.9750937223434448, -0.20612606406211853, -0.8093832731246948, -0.1493934541940689, 0.17964765429496765, -0.34068456292152405, -0.7244791388511658, 0.26854267716407776, -0.5155344605445862, 0.09956904500722885, 0.5089350938796997, 0.2838384211063385, 0.22834521532058716, -0.6729211807250977, 0.15983793139457703, 0.5416634678840637, -0.1610518991947174, -0.2325427532196045, 0.6807789206504822, 0.2275628000497818, -0.5198841094970703, 1.2174570560455322, -0.37879741191864014, -0.5558520555496216, 0.8369422554969788, -0.023861248046159744, 1.0982201099395752, -0.18817947804927826, 0.7568747401237488, 0.14236260950565338, 0.16721849143505096, 0.391273558139801, -0.12032030522823334, -0.11097197234630585, -1.1260710954666138, -0.35666537284851074, -0.5843751430511475, -0.3629242777824402, 0.18291139602661133, -0.3447064757347107, -0.07274680584669113, -0.6529048681259155, -0.12740203738212585, 0.18740135431289673, -0.3733910322189331, -0.5666507482528687, 0.14752690494060516, 0.2867290675640106, 0.6060827374458313, -0.5360469818115234, 0.2632697522640228, 0.6542776226997375, -0.7530604600906372, -0.7886172533035278, 0.06555186957120895, 0.05828767642378807, -1.0097991228103638, 0.5634604096412659, 0.09952957928180695, 0.063035748898983, 0.17795374989509583, -0.32524392008781433, -0.6806639432907104, 1.1481791734695435, -0.1985657960176468, -0.23905839025974274, -0.22382426261901855, 0.48497703671455383, 1.0888943672180176, -0.06555940955877304, 0.11093305796384811, 0.7440049052238464, 0.44364801049232483, 0.37674403190612793, -1.0961724519729614, -0.24720878899097443, -0.6033509969711304, 0.21844814717769623, 0.3187149167060852, -0.36299800872802734, 0.3229849338531494, -0.20401784777641296, -0.6510661244392395, 0.3389294445514679, 0.6389041543006897, -0.1951667219400406, 0.25725406408309937, 0.24372875690460205, 0.7444828748703003, 0.37544140219688416, -0.33391791582107544, 1.171860694885254, -0.026300964877009392, 0.018086524680256844, 0.5322827100753784, 0.2745547294616699, 0.5581461787223816, 0.37436074018478394, -0.5294606685638428, 0.5079364776611328, 0.7747775316238403, -0.601050615310669, 0.15307430922985077, 0.0657530352473259, -0.5208362936973572, 0.05798172205686569, -0.5025027990341187, -0.28233495354652405, 0.6443960070610046, 0.6215901374816895, -0.28798818588256836, -0.012616008520126343, 0.34251028299331665, -0.18548239767551422, -0.06431617587804794, -0.619515061378479, 1.1113836765289307, -0.16831010580062866, -0.705957293510437, 0.3204194903373718, -0.43884924054145813, 0.6411721110343933, -0.4630827009677887, -0.08853030204772949, -0.14409290254116058, -0.2016560584306717, -0.2662276327610016, -0.9683530926704407, 0.6160845756530762, -0.1895366758108139, 0.26094621419906616, -0.10357654839754105, 0.42479637265205383, -0.26705849170684814, -0.5449602007865906, -0.14024212956428528, 0.7171170711517334, 0.03503398224711418, 0.12183918803930283, -0.7210859060287476, -0.3015252947807312, -0.13671742379665375, 0.15628938376903534, 0.0391496866941452, 0.21201828122138977, 0.1305096447467804, 0.930843710899353, 0.4913261830806732, 0.24690763652324677, -0.10573934763669968, 0.26272061467170715, 0.5928505659103394, -0.3341037929058075, -0.4059969484806061, -0.9321027994155884, 0.16954255104064941, -0.0049753072671592236, -0.33485516905784607, 0.304728239774704, 0.31516605615615845, 0.9853470325469971, 0.1288747489452362, 1.1382222175598145, -0.7829893231391907, -0.20326665043830872, -0.4890269637107849, 0.850954532623291, -0.3469352722167969, 0.20814432203769684, -0.0538129098713398, -0.5718542337417603, -0.31357821822166443, 0.2636220455169678, -0.45711272954940796, 0.1393587589263916, 0.23566409945487976, 0.46063467860221863, 0.46237725019454956, 0.1580539494752884, 0.26362207531929016, 0.12286387383937836, 0.11737975478172302, 0.3681846559047699, 0.9504622220993042, -0.16820479929447174, 0.5329874753952026, -0.25252509117126465, -0.356216698884964, 0.1258663833141327, -0.3107472360134125, -0.6963732242584229, -0.8445241451263428, -0.3950282037258148, 0.09907861799001694, 0.33021387457847595, 0.5678828358650208, 0.33314162492752075, -0.7274787425994873, -0.19379140436649323, -0.4359111189842224, -0.006123033817857504, -0.15422575175762177, -0.36699530482292175, 0.31546318531036377, -0.46165502071380615, -0.4418821334838867, -0.1385277807712555, 0.42687636613845825, 0.18075445294380188, -0.5312563180923462, 0.1367994099855423, 0.03300030529499054, -0.08143104612827301, 0.6234000325202942, 0.5041394829750061, -0.862167477607727, -0.503105640411377, -0.3674551248550415, 0.2542803883552551, 0.3560996651649475, 0.6600477695465088, -0.8550351858139038, 0.6381425857543945, 0.2719258666038513, 0.5545151829719543, -0.22718916833400726, 0.05290152505040169, 0.6549122333526611, -0.5314748287200928, 0.025484714657068253, 0.2052791714668274, 0.12709254026412964, 0.32594677805900574, -0.5705532431602478, 0.7661078572273254, 0.5235458016395569, -0.46579721570014954, -0.3487434685230255, 0.3788735568523407, -0.7714990973472595, -0.1830378919839859, 0.8900958299636841, 0.08232823014259338, -0.04534834623336792, 0.06532712280750275, -0.2209966778755188, 0.5351567268371582, -0.22195152938365936, 1.5382357835769653, 0.570227324962616, -0.423661470413208, -0.5000061988830566, -0.8507311940193176, 0.7254224419593811, 0.062023062258958817, -1.1073062419891357, -0.27981463074684143, 0.4659574031829834, -0.09425315260887146, 0.5331313014030457, 0.34655264019966125, 0.006146167870610952, 0.5391062498092651, 0.04565160349011421, 0.10371098667383194, -0.05890160799026489, 0.031174182891845703, -0.005514014512300491, 0.1075565293431282, -0.07113958150148392, -0.16461972892284393 ]
http://arxiv.org/abs/2402.16132v1
http://arxiv.org/pdf/2402.16132v1
LSTPrompt: Large Language Models as Zero-Shot Time Series Forecasters by Long-Short-Term Prompting
2024-02-25T16:14:26
2024-02-25T16:14:26
Haoxin Liu, Zhiyuan Zhao, Jindong Wang, Harshavardhan Kamarthi, B. Aditya Prakash
cs.CL
cs.CL, cs.AI
Time-series forecasting (TSF) finds broad applications in real-world scenarios. Prompting off-the-shelf Large Language Models (LLMs) demonstrates strong zero-shot TSF capabilities while preserving computational efficiency. However, existing prompting methods oversimplify TSF as language next-token predictions, overlooking its dynamic nature and lack of integration with state-of-the-art prompt strategies such as Chain-of-Thought. Thus, we propose LSTPrompt, a novel approach for prompting LLMs in zero-shot TSF tasks. LSTPrompt decomposes TSF into short-term and long-term forecasting sub-tasks, tailoring prompts to each. LSTPrompt guides LLMs to regularly reassess forecasting mechanisms to enhance adaptability. Extensive evaluations demonstrate consistently better performance of LSTPrompt than existing prompting methods, and competitive results compared to foundation TSF models.
[ -0.2190089374780655, -0.8322274684906006, 0.7151140570640564, 0.3910469114780426, -0.6419590711593628, 0.24184760451316833, -0.3092438280582428, -0.33369573950767517, 0.3336416184902191, 0.1992998570203781, -1.135890007019043, -0.2626999020576477, -0.2412627637386322, 0.13315808773040771, -0.5230755805969238, 0.8767870664596558, -0.025754675269126892, -0.2545810639858246, 0.24244366586208344, 0.12397892773151398, -0.6255884766578674, -0.31134316325187683, -0.6964459419250488, -0.3876299560070038, 0.9112610816955566, 0.3856411278247833, 0.6343565583229065, 0.09563377499580383, -0.05102495476603508, 0.057434916496276855, 0.2401605099439621, -0.036880675703287125, -0.308113157749176, 0.653364360332489, -0.038448408246040344, -0.2674415111541748, -0.3258877098560333, -0.2408709079027176, 0.6458057761192322, 0.5979364514350891, -0.16020290553569794, 0.33236223459243774, 0.03416815027594566, 0.3520803153514862, -0.42167410254478455, 0.1093091070652008, -0.34608834981918335, 0.10899834334850311, -0.09461183845996857, -0.45230185985565186, -0.5937904715538025, -0.01799480803310871, 0.09041546285152435, -0.14069217443466187, 0.18083986639976501, 0.10565992444753647, 0.3808600604534149, 0.17307978868484497, -0.14871276915073395, 0.2326655238866806, -0.8200206160545349, 0.8213560581207275, -0.8241605758666992, 0.4025387763977051, -0.11676134914159775, 0.5097194314002991, -0.1800939440727234, -0.6559320092201233, -0.4483351707458496, -0.3767626881599426, 0.29882481694221497, 0.19674168527126312, -0.3516657054424286, -0.2292405068874359, 0.31052401661872864, -0.09633076936006546, -0.6602595448493958, 0.40173861384391785, -0.1985836625099182, 0.012480350211262703, 0.20951169729232788, 0.4364411234855652, -0.07441608607769012, 0.07457291334867477, -0.3762062191963196, 0.29167303442955017, -0.8808627128601074, 0.034790314733982086, 0.05879438295960426, 0.9006684422492981, -0.09144216775894165, 0.36300355195999146, -0.2069903463125229, 0.9699547290802002, -0.045568134635686874, 0.012927082367241383, -0.28471988439559937, 0.07159636169672012, -0.465270072221756, 0.31035199761390686, 0.6135678887367249, 0.4226548671722412, 0.40396469831466675, -0.11444409191608429, -0.2264585644006729, -0.14203210175037384, -0.13003942370414734, -0.7519394159317017, -0.02677040919661522, 0.5299918055534363, -0.09772386401891708, -0.525242030620575, -0.4542950689792633, -0.9682130217552185, -0.4760042726993561, -0.3140098750591278, 0.5909292697906494, -0.17383632063865662, -0.21938684582710266, 0.03352253511548042, -0.14052942395210266, -0.0088046258315444, 0.3568107783794403, -0.7334012985229492, 0.1349758356809616, 0.7747489213943481, 1.1692960262298584, -0.17902658879756927, -0.45246487855911255, -0.8354104161262512, 0.07343477755784988, -0.24088160693645477, 0.961520254611969, -0.2958708703517914, -0.5927042961120605, 0.1177268773317337, -0.07794211804866791, 0.20710209012031555, -0.3057604730129242, 0.17602485418319702, -0.14216986298561096, 0.3071557283401489, -0.21486547589302063, -0.32388636469841003, 0.3057931065559387, 0.44981759786605835, -0.5461962819099426, 1.0236700773239136, 0.17151686549186707, -0.536786675453186, 0.3981859087944031, -0.8603467345237732, -0.31442156434059143, -0.0023514614440500736, 0.08848588913679123, -0.12244144082069397, 0.09093620628118515, 0.5707682967185974, 0.9668793678283691, -0.3611896336078644, 0.43320703506469727, -0.5106645226478577, -0.14302359521389008, 0.05437494441866875, -0.6560615301132202, 0.5386906266212463, 0.19863289594650269, -0.16676346957683563, 0.3598155677318573, -0.2096354216337204, -0.027016447857022285, 0.31660667061805725, 0.5039325952529907, -0.17576570808887482, -0.11458245664834976, -0.19532567262649536, 0.04179878160357475, -0.008267311379313469, -0.3966858685016632, 0.5961236953735352, -0.5225974321365356, 0.7756597399711609, 1.0297585725784302, 0.24014370143413544, 0.17953993380069733, -0.3689976632595062, 0.9595165848731995, 0.0889720767736435, 0.3272576332092285, -0.5389604568481445, -0.3853898048400879, -0.4833154082298279, -0.1732386350631714, 0.0039077321998775005, 0.5322574377059937, -0.7723447680473328, -0.04186420887708664, -0.30197399854660034, -0.6790972352027893, 0.13805846869945526, -0.2644128203392029, 0.04743042588233948, 0.5156440138816833, 0.11102695018053055, 0.19187380373477936, -0.5141632556915283, -0.3526359498500824, -0.4540940821170807, 0.07667487859725952, 0.12981992959976196, -0.21332630515098572, 0.2660049796104431, 0.281705766916275, 0.8268357515335083, -0.6316811442375183, 0.05957246944308281, -0.6351420283317566, 0.2568530738353729, 0.857517421245575, -0.057226989418268204, 0.6832236051559448, -0.17513462901115417, -0.5491731762886047, -0.3962599039077759, -0.23829087615013123, -0.17604056000709534, -0.269270658493042, 0.1735074520111084, 0.3398878276348114, 0.6371788382530212, -0.6952982544898987, 0.24961990118026733, 0.47617387771606445, -0.533587634563446, 0.9563751816749573, 0.05488032475113869, -0.20648567378520966, -1.0221296548843384, 0.020526831969618797, 0.032242368906736374, -0.5615971088409424, -0.6127337217330933, 0.06957750022411346, -0.1683850735425949, -0.5520643591880798, -0.8308485746383667, 1.0294415950775146, -0.39176779985427856, 0.009845146909356117, -0.22334544360637665, 0.09146223217248917, -0.09727559983730316, 0.20705746114253998, 0.019655490294098854, 0.8844704031944275, 0.6287722587585449, -0.7326462864875793, 0.6356260776519775, -0.21304036676883698, -0.39742645621299744, 0.4560384750366211, -0.6315067410469055, -0.08031921088695526, -0.09718168526887894, 0.3043909966945648, -0.6525496244430542, -0.07698367536067963, 0.2437073290348053, -0.08839014172554016, 0.35755908489227295, -0.0025539409834891558, -0.38457730412483215, -0.7135265469551086, -0.4102948009967804, 0.32710686326026917, 0.7093985080718994, -0.719467043876648, 0.42720988392829895, -0.5865928530693054, -0.34971415996551514, -0.6201401948928833, -0.531274676322937, 0.26862379908561707, -0.3439081609249115, -0.07757017761468887, 0.09950070828199387, -0.264850378036499, -0.20971232652664185, -0.11337513476610184, -0.05280463397502899, 0.20512577891349792, 0.03538225218653679, 0.1717987358570099, 0.43392181396484375, -0.23825563490390778, 0.0395030714571476, -0.23363810777664185, -0.22858352959156036, -0.09430043399333954, -0.6933692693710327, 0.8236272931098938, 0.11226239800453186, -0.40467867255210876, -0.37715986371040344, 0.27289366722106934, 0.5555068254470825, 0.07664889842271805, 0.42998820543289185, 0.5445892214775085, -0.19264668226242065, -0.6490082144737244, -0.2354658842086792, -0.4222615361213684, -0.47879359126091003, 0.21337954699993134, -0.16617248952388763, -0.7700913548469543, 0.2914877235889435, -0.19648316502571106, 0.2687280476093292, 0.1510717272758484, 0.6529104113578796, 0.0031491536647081375, 0.8430927991867065, 0.47469907999038696, -0.2759924829006195, 0.699039876461029, -0.10497400164604187, 0.46879664063453674, -0.49284544587135315, -0.01879846304655075, -0.28052085638046265, -0.41291719675064087, 0.07564892619848251, -0.30892103910446167, 0.47263553738594055, -0.20221048593521118, -0.5475150346755981, 0.15610501170158386, -0.4164516031742096, 0.6385154128074646, 0.39905625581741333, -0.13508422672748566, -0.02983725443482399, 0.07460356503725052, 0.002770134946331382, -0.06427595019340515, -0.6695424914360046, 0.11305327713489532, 0.8511233925819397, 0.2958303391933441, 0.6983806490898132, -0.15094329416751862, 0.7913389205932617, 0.6290257573127747, 0.20970192551612854, -1.3563145399093628, 0.5614957213401794, -0.2159544974565506, -0.2697828710079193, -0.40152737498283386, -0.07590347528457642, -0.9238941073417664, -0.29061591625213623, 0.1429446041584015, -0.9915643334388733, -0.03920112922787666, 0.39018580317497253, -0.9093731045722961, 0.3896764814853668, -0.4620838463306427, 0.6997736096382141, -0.29483646154403687, -0.2667767107486725, 0.007991478778421879, -0.2624911963939667, 0.32818803191185, -0.025388343259692192, 0.3260485529899597, -0.41385045647621155, -0.15831802785396576, 0.5409044027328491, -0.3817668855190277, 1.085121750831604, -0.38666391372680664, -0.1934543251991272, 0.16702458262443542, 0.5229429602622986, 0.734019935131073, -0.2033771276473999, -0.2569103538990021, -0.14380638301372528, 0.18641617894172668, -0.3737013638019562, -0.734146773815155, 0.7886905074119568, -0.32305505871772766, -0.7097606062889099, -0.6020654439926147, -0.49871864914894104, -0.4637221097946167, 0.24307548999786377, 0.35197895765304565, 0.7299667000770569, -0.201525017619133, -0.30418044328689575, 0.3713743984699249, 0.0718376561999321, 0.9497091770172119, 0.40457385778427124, -0.7409386038780212, -0.29573988914489746, 0.7806851863861084, 0.03913979232311249, 0.5501177906990051, 0.31007876992225647, 0.4759097993373871, -0.4026446044445038, -0.30701592564582825, -0.35229334235191345, 0.2496045082807541, -0.5302938222885132, -0.4215056598186493, -0.08272039890289307, -0.12048568576574326, -0.37036025524139404, -0.42797303199768066, -0.11221112310886383, -0.5228256583213806, -0.452035516500473, -0.12081873416900635, 0.7353254556655884, 0.7082370519638062, 0.1598774790763855, 0.34504565596580505, -0.9419167637825012, 0.354255348443985, 0.1939975470304489, 0.4362331032752991, 0.1747143417596817, -0.6137689352035522, -0.12685605883598328, -0.2064930498600006, -0.14215748012065887, -0.8530372381210327, 0.7693073749542236, 0.38262680172920227, 0.24284213781356812, 0.5084331631660461, 0.40813320875167847, 0.8357537984848022, -0.5746626257896423, 1.2836540937423706, 0.5186216831207275, -0.9901034832000732, 0.4843316078186035, -0.5543771982192993, 0.6317566633224487, -0.10634584724903107, 0.35320845246315, -0.9041500687599182, -0.3356175720691681, -0.42830294370651245, -0.8217925429344177, 0.7034531235694885, -0.41575899720191956, 0.12828537821769714, -0.06942324340343475, 0.22759920358657837, 0.2884921431541443, 0.0744573175907135, -0.5263506770133972, -0.07184751331806183, -0.35477831959724426, -0.22088925540447235, -0.31777438521385193, -0.32214534282684326, 0.04439057037234306, -0.2057170569896698, 0.4858027696609497, -0.27724501490592957, 0.4701133072376251, 0.28752484917640686, 0.2230920046567917, -0.24791063368320465, 0.462879478931427, 0.770982563495636, 0.6633332967758179, -0.19776684045791626, 0.01771247573196888, 0.40402182936668396, -0.008502677083015442, 0.21568724513053894, -0.21445168554782867, -0.11407583206892014, 0.1635788232088089, 0.5202428698539734, 0.9499900341033936, 0.3285491168498993, -0.6602543592453003, 0.3709178566932678, 0.15153709053993225, -0.32110124826431274, -0.6427633762359619, -0.016476817429065704, -0.01226675882935524, 0.3222421407699585, 0.4205656349658966, -0.20628175139427185, -0.28359925746917725, -0.7068334817886353, -0.1611310839653015, 0.3103467524051666, -0.5376191735267639, -0.3440952003002167, 0.7232237458229065, 0.017781110480427742, -0.39086538553237915, 0.4145072102546692, -0.09047123044729233, -0.5733205676078796, 0.4615636467933655, 0.7932876348495483, 0.9521008729934692, -0.3377712666988373, 0.3133116066455841, 0.2015155702829361, 0.01246226578950882, -0.5086634755134583, 0.5861784815788269, 0.08317448198795319, -0.2845490872859955, -0.7994481921195984, -0.5221871137619019, -0.4438961446285248, 0.2948002815246582, -0.5565560460090637, 0.614597737789154, -0.7629372477531433, -0.2300279587507248, 0.016553526744246483, -0.24544475972652435, -0.5061784386634827, -0.024629751220345497, 0.35339081287384033, 1.404274582862854, -0.8782047033309937, 0.8314182758331299, 0.27443164587020874, -0.06207842752337456, -0.837027370929718, 0.0949942097067833, 0.12912032008171082, -0.977554976940155, 0.578055739402771, 0.12541814148426056, 0.05974183604121208, 0.15001225471496582, -0.589976966381073, -0.7324167490005493, 1.0293047428131104, 0.44302207231521606, -0.7028527855873108, -0.18234145641326904, 0.07172632962465286, 0.27250948548316956, -0.33109354972839355, 0.059643447399139404, 0.5365768671035767, 0.6401762962341309, 0.1669437438249588, -0.9305567741394043, 0.23912668228149414, -0.06620607525110245, -0.3713543713092804, 0.6407941579818726, -0.5820043087005615, 0.666003942489624, -0.4063619077205658, -0.01626385748386383, 0.31381675601005554, 0.5233834385871887, 0.1048738956451416, 0.636664867401123, 0.521082878112793, 0.19958719611167908, 0.3863874673843384, -0.10428798198699951, 0.9332802295684814, -0.3042753040790558, 0.06341251730918884, 1.206342339515686, -0.5938891768455505, 1.0701907873153687, 0.5599653720855713, -0.2765851318836212, 0.6364281177520752, 0.6186185479164124, -0.15981774032115936, 0.4301084578037262, -0.020018354058265686, -0.37483739852905273, -0.47634512186050415, -0.3653963506221771, -0.29380276799201965, 0.10700731724500656, 0.5630508661270142, 0.039352480322122574, -0.5722231268882751, 0.2452709823846817, 0.07810047268867493, -0.23142527043819427, -0.4376092851161957, 0.3979770243167877, 0.4429483413696289, -0.7957794070243835, 0.735736608505249, -0.40938934683799744, 0.5072229504585266, -0.7116984724998474, 0.13908751308918, -0.09102100878953934, -0.09420927613973618, -0.013989475555717945, -0.9734959006309509, 0.40630215406417847, 0.00976740662008524, -0.00807119905948639, -0.6299680471420288, 0.5758628249168396, -0.11704539507627487, -0.5602183938026428, 0.2946111857891083, 0.5027073621749878, -0.04784886911511421, -0.29826584458351135, -0.5468378067016602, -0.13185612857341766, -0.10406766831874847, -0.3222287893295288, 0.2590382993221283, 0.3302189111709595, -0.22120803594589233, 0.8724932074546814, 0.7256267666816711, 0.3671402931213379, -0.3085930645465851, 0.47633904218673706, 0.6167291402816772, -1.0053421258926392, -0.45856142044067383, -1.118698000907898, 0.2818310558795929, 0.3088383972644806, 0.04265787824988365, 0.4631941020488739, 0.053924452513456345, 0.08176949620246887, -0.30507805943489075, 0.7499992251396179, 0.16646987199783325, 0.7251949310302734, -0.5284548401832581, 0.5347467660903931, -0.638866662979126, 0.1133785992860794, 0.07172904908657074, -0.7030171155929565, -0.505507230758667, -0.4655517637729645, -0.39767399430274963, -0.2021786868572235, 0.7721600532531738, 0.4912133514881134, -0.08651987463235855, 0.055660612881183624, 0.5107712149620056, 0.44077494740486145, 0.3498934507369995, 0.5290513634681702, 0.9536156058311462, 0.34620627760887146, 0.5103058815002441, -0.19657252728939056, 0.05310796946287155, -0.41860586404800415, -1.5341233015060425, -0.9632066488265991, -0.4087589681148529, -0.1276194006204605, -0.1414775550365448, 0.0623139962553978, 1.4818485975265503, 0.39969927072525024, -0.8692492246627808, -0.12135736644268036, -0.034479156136512756, -0.09396336227655411, -0.3897623121738434, -0.20904850959777832, 0.36102110147476196, -0.24916647374629974, -0.5392448306083679, 0.5417090654373169, 0.23243099451065063, 0.32943737506866455, -0.4851575791835785, 0.18869762122631073, 0.27264320850372314, 0.1209602802991867, 0.809493899345398, 0.5752139091491699, -0.8441877961158752, -0.22757427394390106, 0.17107021808624268, 0.6008339524269104, -0.3593727648258209, 1.0556206703186035, -1.0974551439285278, 0.259600430727005, 0.4305889904499054, 0.05924065411090851, 0.25845709443092346, -0.254204660654068, 0.8191972970962524, -0.9009315371513367, 0.48786747455596924, 0.4075172245502472, 0.43736669421195984, 0.13893523812294006, -0.5456811189651489, 0.1877841204404831, 0.15810054540634155, -0.39780062437057495, -1.0838472843170166, 0.49099108576774597, -0.9359495043754578, -0.41306576132774353, 1.0164471864700317, 0.03905250132083893, -0.37278860807418823, -0.10071510076522827, -0.2526489198207855, 0.07999110221862793, -0.6958158016204834, 0.6343989372253418, 0.5519363880157471, -0.13076293468475342, -0.43944647908210754, -0.659520149230957, 0.3214852511882782, 0.3242616355419159, -0.36047452688217163, 0.4315603971481323, 0.13173958659172058, 0.1903606653213501, -0.290551096200943, 0.4865124821662903, 0.3997338116168976, 0.29778745770454407, -0.3406573235988617, -0.35897502303123474, -0.5958756804466248, -0.47926995158195496, -0.3459304869174957, 0.05505090951919556, 0.30702292919158936, 0.34044161438941956 ]
http://arxiv.org/abs/2402.16123v2
http://arxiv.org/pdf/2402.16123v2
InstructEdit: Instruction-based Knowledge Editing for Large Language Models
2024-02-25T15:46:33
2024-04-28T12:03:38
Ningyu Zhang, Bozhong Tian, Siyuan Cheng, Xiaozhuan Liang, Yi Hu, Kouying Xue, Yanjie Gou, Xi Chen, Huajun Chen
cs.CL
cs.CL, cs.AI, cs.CV, cs.HC, cs.LG
Knowledge editing for large language models can offer an efficient solution to alter a model's behavior without negatively impacting the overall performance. However, the current approaches encounter issues with limited generalizability across tasks, necessitating one distinct editor for each task, significantly hindering the broader applications. To address this, we take the first step to analyze the multi-task generalization issue in knowledge editing. Specifically, we develop an instruction-based editing technique, termed InstructEdit, which facilitates the editor's adaptation to various task performances simultaneously using simple instructions. With only one unified editor for each LLM, we empirically demonstrate that InstructEdit can improve the editor's control, leading to an average 14.86% increase in Reliability in multi-task editing setting. Furthermore, experiments involving holdout unseen task illustrate that InstructEdit consistently surpass previous strong baselines. To further investigate the underlying mechanisms of instruction-based knowledge editing, we analyze the principal components of the editing gradient directions, which unveils that instructions can help control optimization direction with stronger OOD generalization. Code and datasets are available in https://github.com/zjunlp/EasyEdit.
[ 0.09044653922319412, -0.9451557397842407, 0.5966868996620178, 0.1454874724149704, 0.11621798574924469, -0.20964139699935913, -0.6155973672866821, -0.1550891250371933, -0.1699741631746292, 0.5439954400062561, -0.5169594287872314, -0.6261334419250488, -0.7068811058998108, -0.11211647838354111, -0.2590729892253876, 0.9570915699005127, -0.19323702156543732, 0.2608019709587097, -0.3632506728172302, -0.27089864015579224, -0.6945521235466003, -0.2493487447500229, -0.8278580904006958, -0.0991596132516861, 0.4016939699649811, 0.7367224097251892, 0.6245970726013184, 0.9888142943382263, 0.5842304825782776, 0.36115989089012146, -0.025991013273596764, 0.16012516617774963, -0.536919355392456, 0.19402599334716797, -0.21854393184185028, -0.5466887354850769, -0.9400016069412231, -0.2584008276462555, 0.6703051924705505, 0.6456028819084167, -0.10971269011497498, 0.06251601874828339, 0.2781544625759125, 0.8670851588249207, -0.7481663823127747, 0.13412576913833618, -0.37241002917289734, -0.21082335710525513, 0.012095141224563122, 0.022368887439370155, -0.42430034279823303, -0.22568078339099884, 0.09572865068912506, -0.9046380519866943, 0.20972366631031036, -0.13094906508922577, 0.11485333740711212, 0.4293251931667328, -0.41687628626823425, -0.3333381116390228, -0.7655890583992004, 0.7592343688011169, -0.6142117977142334, 0.5238513350486755, 0.15438948571681976, -0.019618067890405655, -0.1968810111284256, -0.6099061965942383, -0.3729465901851654, -0.16697272658348083, 0.09663714468479156, 0.08302917331457138, -0.1434386968612671, 0.5623227953910828, 0.35421222448349, 0.11576321721076965, -0.36409351229667664, 0.16360297799110413, -0.140742689371109, -0.033467914909124374, 0.4216030240058899, -0.01750906929373741, 0.5729265213012695, 0.08807222545146942, -0.11990740150213242, 0.0004897398175671697, -0.737366259098053, -0.07091675698757172, 0.43375763297080994, 0.03657611086964607, 0.17452944815158844, 0.691867470741272, -0.3929632306098938, 0.7433986067771912, 0.24808287620544434, -0.11794321238994598, -0.1271810233592987, -0.2631915211677551, -0.3068564832210541, 0.1084170937538147, 0.6230050921440125, 0.5980805158615112, 0.07047604769468307, -0.12824350595474243, -0.2771216928958893, -0.45878085494041443, 0.23881734907627106, -0.8896718621253967, -0.3025496006011963, 0.2508733868598938, -0.14495337009429932, -0.15310996770858765, -0.05024357885122299, -0.7008368372917175, -0.5828396677970886, -0.4457992613315582, 0.3758356273174286, -0.553908109664917, -0.013086793944239616, 0.3714689612388611, -0.22316575050354004, -0.011790072545409203, 0.6878020167350769, -0.8705644011497498, 0.17934922873973846, 0.7629220485687256, 0.5046147704124451, -0.08158339560031891, -0.6730275750160217, -0.6230514645576477, 0.34284740686416626, -0.3212137520313263, 0.4648628234863281, -0.6737238764762878, -0.20194348692893982, -0.09222059696912766, -0.23770107328891754, -0.3591109812259674, -0.2636897563934326, 0.3697563111782074, -0.7606979608535767, 0.14817237854003906, -0.2636669874191284, -0.8876231908798218, -0.303673654794693, 0.15570633113384247, -0.6992014050483704, 0.9873903393745422, -0.054507702589035034, -0.6970967054367065, 0.2277858406305313, -1.045194387435913, -0.313895046710968, -0.25061488151550293, 0.11181904375553131, -0.12270306050777435, 0.09773663431406021, 0.5110753178596497, 0.4479733407497406, -0.13985921442508698, 0.3102031648159027, -0.03333748131990433, -0.23207509517669678, -0.12881304323673248, -0.3610128164291382, 0.6858073472976685, -0.24844203889369965, -0.30982834100723267, 0.4446638226509094, -0.8714630007743835, -0.05271696671843529, -0.09177758544683456, -0.49026694893836975, -0.6282537579536438, -0.05798705294728279, -0.2629581391811371, -0.18128333985805511, 0.4230678975582123, -0.5050418376922607, 0.9384981393814087, -0.16319258511066437, 0.3210838735103607, 0.8721705079078674, 0.28460195660591125, 0.727945864200592, -0.009599624201655388, 0.6668097972869873, -0.22009849548339844, 0.35583773255348206, -0.03891853988170624, -0.32646918296813965, -1.0311641693115234, -0.08178764581680298, 0.2887569069862366, 0.8159114122390747, -0.9273627996444702, 0.051640674471855164, -0.21418742835521698, -0.425374299287796, -0.4444558620452881, 0.6100303530693054, 0.6930728554725647, 0.3371160924434662, 0.4512907564640045, -0.022773198783397675, -0.21950693428516388, -0.8494731187820435, -0.3880409896373749, 0.08520431071519852, 0.22315043210983276, 0.06436199694871902, 0.3732418715953827, -0.3930177390575409, 0.7630830407142639, -0.6370770931243896, -0.025932710617780685, -0.3078930974006653, 0.20157180726528168, -0.08061526715755463, 0.6886797547340393, 0.5871660113334656, -0.499277263879776, -0.5102896690368652, 0.14494825899600983, -0.5166918635368347, -0.07204652577638626, -0.28992417454719543, -0.3883136510848999, -0.061556726694107056, 0.6457446813583374, -0.7523705959320068, 0.2361171394586563, 0.48043400049209595, -0.0818207636475563, 0.6591341495513916, -0.36420196294784546, 0.39321765303611755, -0.9834314584732056, -0.19048148393630981, -0.1300324946641922, -0.10198565572500229, -0.8173445463180542, 0.2777356803417206, 0.43577390909194946, -0.02318035252392292, -0.270829975605011, 0.3161858916282654, -0.5194722414016724, 0.3660997450351715, -0.1449863463640213, -0.05478440597653389, -0.026954129338264465, 0.7841517925262451, -0.2252344787120819, 0.9506705403327942, 0.6570796966552734, -0.6017954349517822, 0.5257041454315186, 0.23906977474689484, -0.3879545331001282, 0.47846519947052, -0.6315655708312988, 0.7254043817520142, -0.2170979529619217, -0.04112979769706726, -0.7599999308586121, -0.4037248194217682, 0.3039044141769409, -0.08673747628927231, 0.5274395942687988, -0.25779351592063904, -0.3857525885105133, 0.09507329761981964, -0.388096421957016, 0.304551362991333, -0.10605744272470474, -0.5305293202400208, 0.760529637336731, -0.04927162453532219, -0.39761513471603394, -0.9533893465995789, -0.3458465337753296, -0.026737170293927193, 0.024464620277285576, -0.5344500541687012, 0.19464683532714844, -0.36262285709381104, -0.3325234353542328, 0.16698816418647766, -0.19966332614421844, -0.3126407265663147, 0.08123371005058289, 0.17688985168933868, 0.15485015511512756, -0.2574101388454437, 0.44036865234375, 0.6023370623588562, 0.08346081525087357, -0.06474518030881882, -0.3713250458240509, 0.10855359584093094, 0.13128934800624847, -0.5842168927192688, -0.7085943222045898, 0.33355122804641724, 0.6680001616477966, -0.4386281967163086, 0.6014143824577332, 0.3090510964393616, -0.15199190378189087, -0.31184113025665283, -0.6805058717727661, -0.07235633581876755, -0.48189041018486023, 0.8351683020591736, -0.3086140751838684, -0.7640572786331177, 0.21828454732894897, -0.22112023830413818, 0.32146894931793213, 0.39136722683906555, 0.08162729442119598, 0.08924854546785355, 1.0007435083389282, 0.822604775428772, -0.22761115431785583, 0.6588583588600159, -0.18609674274921417, -0.1276107132434845, -0.8408815860748291, 0.11546557396650314, -0.44987037777900696, -0.23296405375003815, -0.20232045650482178, -0.4551136791706085, 0.3491450846195221, 0.42174026370048523, -0.11095607280731201, 0.12096898257732391, -0.4664877653121948, 0.8341889381408691, 0.7120777368545532, 0.2373630851507187, 0.30858224630355835, -0.39723289012908936, 0.07074519246816635, 0.13736267387866974, -0.9542887210845947, -0.3024386763572693, 1.20042884349823, 0.11453426629304886, 0.6863672137260437, 0.11786741018295288, 0.6959313750267029, 0.30257517099380493, 0.31533563137054443, -0.8067680597305298, 0.6383893489837646, -0.27623552083969116, -0.48171576857566833, -0.5230963230133057, -0.22703509032726288, -0.48563945293426514, -0.08283016830682755, -0.16201597452163696, -0.46179038286209106, 0.16220153868198395, 0.6002213954925537, -0.38094159960746765, 0.3669825494289398, -1.1310415267944336, 1.0894626379013062, -0.42757102847099304, -0.367175430059433, -0.34463801980018616, -0.5129392147064209, 0.24882765114307404, -0.02198576182126999, 0.19491000473499298, 0.32187530398368835, 0.006479338277131319, 0.8641575574874878, -0.42136064171791077, 0.9496777653694153, -0.38839805126190186, 0.030681399628520012, 0.2340293675661087, 0.1338820606470108, 0.8246258497238159, -0.06037764251232147, -0.13209354877471924, -0.1631440818309784, -0.17319491505622864, -0.28757473826408386, -1.0702775716781616, 0.7083168625831604, -0.6384550333023071, -0.9020405411720276, 0.11137314140796661, -0.7026459574699402, -0.33499467372894287, 0.3326753079891205, 0.06180063262581825, 0.7267523407936096, -0.2159094512462616, 0.18090133368968964, 0.8020370602607727, -0.26645708084106445, 0.20989200472831726, 0.24736885726451874, -0.1764197200536728, -0.44766542315483093, 0.8500924110412598, 0.09162986278533936, 0.4844565987586975, 0.639449417591095, 0.35520943999290466, 0.13920293748378754, -0.7598319053649902, -0.7618864178657532, -0.005067669320851564, -1.0693928003311157, 0.08164265751838684, -0.5538367629051208, 0.24452322721481323, -0.4457782208919525, -0.26029813289642334, -0.5275172591209412, -0.6481040716171265, -0.17862537503242493, -0.2036992311477661, 0.4182471036911011, 1.208217740058899, 0.15231932699680328, 0.5908327698707581, -0.8199552893638611, 0.12241996079683304, 0.639707088470459, 0.3147509694099426, -0.08312097936868668, -0.26864033937454224, -0.4862366318702698, 0.01711975410580635, -0.11414837837219238, -1.0070675611495972, -0.1949799656867981, 0.41807982325553894, 0.5830267667770386, 0.41473203897476196, -0.039960265159606934, 0.7179981470108032, -0.6546325087547302, 0.5351161360740662, -0.038534294813871384, -1.1691153049468994, 0.5822678804397583, -0.3332446217536926, 0.46104490756988525, 0.4961809515953064, 0.18013662099838257, -0.565790593624115, -0.5125480890274048, -0.11471804231405258, -0.6646103858947754, 0.7659550905227661, -0.2595624029636383, 0.26375171542167664, 0.24086980521678925, 0.6083709597587585, 0.24580492079257965, 0.2837286591529846, -0.5018866658210754, -0.3562169075012207, -0.19767530262470245, -0.17775098979473114, 0.10723889619112015, -0.6620634198188782, -0.2042461782693863, -0.3045074939727783, 0.9152682423591614, 0.008353793993592262, 0.1982249617576599, 0.17665773630142212, -0.3438829779624939, -0.10133669525384903, 0.6997577548027039, 0.8133256435394287, 0.9039510488510132, -0.1185479685664177, -0.0700044184923172, 0.1763758808374405, -0.6295099854469299, -0.03713717311620712, 0.130310520529747, -0.1734965741634369, -0.2451988011598587, 0.6333251595497131, 1.0671358108520508, 0.3411388695240021, -0.2994410991668701, 0.4145492613315582, 0.045682329684495926, -0.13394473493099213, 0.15652121603488922, 0.40090876817703247, 0.030096745118498802, 0.3117004632949829, 0.04915120080113411, 0.2488870918750763, 0.13811449706554413, -0.14381344616413116, -0.08695471286773682, 0.24405089020729065, -0.13778989017009735, -0.20921550691127777, 0.7120475769042969, 0.4518197774887085, -0.3347586393356323, 0.5502057671546936, -0.2994207739830017, -0.5886469483375549, 0.4692578911781311, 0.21930424869060516, 0.9020601511001587, -0.4413403272628784, -0.015200973488390446, 0.3046894073486328, 0.507002055644989, -0.08851443976163864, -0.011031565256416798, 0.1273282915353775, -0.7775618433952332, -0.736167848110199, -0.16908492147922516, -0.5538255572319031, -0.027599206194281578, -0.7628426551818848, 0.1487938016653061, -0.4481993615627289, 0.10169093310832977, 0.12846699357032776, -0.45626652240753174, -0.567369818687439, 0.135152667760849, -0.41776418685913086, 0.8455853462219238, -0.597705066204071, 0.9233629107475281, 1.0463930368423462, -0.1303519308567047, -0.9153660535812378, 0.06851807236671448, 0.14439964294433594, -0.6433772444725037, 0.48112305998802185, 0.0834173709154129, -0.22550542652606964, 0.24601195752620697, -0.6834955811500549, -0.4674728512763977, 0.9379000663757324, 0.5385901927947998, -0.8922541737556458, -0.1301516443490982, -0.013331987895071507, 0.30403125286102295, -0.009637349285185337, -0.08245512843132019, 0.5647393465042114, 0.48795896768569946, -0.3420022130012512, -0.8195227980613708, -0.24194397032260895, -0.13739152252674103, -0.24297723174095154, 0.36255156993865967, -0.374616414308548, 0.7017842531204224, -0.3845778703689575, 0.14241135120391846, -0.13299724459648132, 0.4688137173652649, -0.3919879198074341, 0.12562213838100433, 0.5040867924690247, 0.5525267720222473, 0.8282883167266846, 0.2166094332933426, 1.1401031017303467, -0.4715593457221985, 0.30606481432914734, 1.3511698246002197, 0.018262283876538277, 0.581872820854187, 0.3785947263240814, 0.08233173191547394, 0.24668271839618683, 0.12194729596376419, 0.31199824810028076, 0.3031390607357025, -0.27388331294059753, -0.4167485237121582, -0.2116282880306244, 0.17530463635921478, -0.11480347067117691, 0.4840306043624878, 0.17550915479660034, -0.25688862800598145, 0.0027142250910401344, 0.2683762013912201, 0.3322719633579254, -0.022313009947538376, -0.6110871434211731, 0.8611872792243958, -0.36873859167099, -0.6490681171417236, 0.1770712435245514, 0.186427503824234, 0.3592320382595062, -0.5953853130340576, -0.29539310932159424, -0.011954843066632748, 0.05524798110127449, -0.07092837244272232, -0.6060720682144165, -0.04776868224143982, 0.10215087980031967, -0.3298937678337097, -0.3639834225177765, 0.863885760307312, -0.7181990146636963, -0.4880843460559845, 0.14543554186820984, 0.6105502247810364, -0.30009621381759644, -0.22449977695941925, -0.5913738012313843, -0.07474532723426819, 0.2023175209760666, -0.6607789397239685, 0.12921792268753052, 0.503671407699585, -0.05313611403107643, 0.6021440029144287, 0.4538685381412506, 0.12464526295661926, 0.19788758456707, -0.009038165211677551, 0.8174760937690735, -0.42131686210632324, -0.23904263973236084, -0.8538520932197571, 0.6374219059944153, 0.006921158172190189, -0.3134077787399292, 0.709980309009552, 0.3822935223579407, 0.829972505569458, -0.4410554766654968, 0.9545534253120422, -0.04102617874741554, 0.3589555025100708, -0.9031531810760498, 0.7629622220993042, -0.4793480634689331, 0.14730113744735718, -0.18566496670246124, -0.9009565711021423, -0.44741618633270264, 0.27821028232574463, -0.5423918962478638, -0.048661693930625916, 0.8330740332603455, 0.8090275526046753, -0.10113129019737244, -0.05350792407989502, 0.1608801633119583, 0.32291531562805176, 0.2256072461605072, 0.3137918710708618, 0.6085805892944336, -0.037636756896972656, 0.42355626821517944, -0.6570667028427124, -0.15523947775363922, -0.00010896645108005032, -0.8403448462486267, -0.8859128355979919, -0.29213598370552063, -0.541423499584198, 0.11773681640625, 0.4558649957180023, 1.1913628578186035, 0.4977881908416748, -0.7215814590454102, -0.06041865050792694, -0.19222934544086456, 0.25113311409950256, -0.5549977421760559, -0.13577678799629211, 0.6227680444717407, -0.28215500712394714, -1.0212308168411255, 0.6427000164985657, 0.2696610689163208, -0.23254255950450897, 0.11012036353349686, -0.04736151918768883, -0.07686547935009003, -0.07517819106578827, 0.5668696165084839, 0.09309179335832596, -0.41482844948768616, -0.5064225792884827, -0.0483173243701458, -0.08462425321340561, -0.017792413011193275, 1.0020748376846313, -0.006083142012357712, 0.8889184594154358, 0.24698883295059204, 1.0276918411254883, 0.017227523028850555, 0.06632678210735321, 0.5938905477523804, -1.0042766332626343, 0.02025393769145012, -0.0010809676023200154, 0.30963802337646484, 0.19758954644203186, -0.5432888269424438, 0.32659560441970825, 0.1555655151605606, -0.7550037503242493, -0.48282015323638916, 0.0707658976316452, -1.0310499668121338, -0.09307219833135605, 1.3348898887634277, -0.2827655076980591, -0.02291814610362053, -0.029509423300623894, -0.6733454465866089, 0.3782081604003906, -0.44786855578422546, 0.4860808551311493, 1.0129444599151611, -0.2507322132587433, -0.31147611141204834, -0.9678876399993896, 0.4876497983932495, 0.5239309668540955, -0.8479129076004028, 0.26393136382102966, 0.9247439503669739, 0.37226080894470215, -0.0789424479007721, 0.4290390908718109, 0.4583379924297333, 0.5640379190444946, -0.23303112387657166, 0.40816447138786316, -0.5070303678512573, -0.4779396057128906, -0.4008975625038147, 0.057973891496658325, 0.41744473576545715, -0.27339035272598267 ]