id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
listlengths
768
768
http://arxiv.org/abs/2404.07520v2
http://arxiv.org/pdf/2404.07520v2
PromptSync: Bridging Domain Gaps in Vision-Language Models through Class-Aware Prototype Alignment and Discrimination
2024-04-11T07:26:00
2024-04-12T17:01:04
Anant Khandelwal
cs.CV
cs.CV, cs.CL
The potential for zero-shot generalization in vision-language (V-L) models such as CLIP has spurred their widespread adoption in addressing numerous downstream tasks. Previous methods have employed test-time prompt tuning to adapt the model to unseen domains, but they overlooked the issue of imbalanced class distributions. In this study, we explicitly address this problem by employing class-aware prototype alignment weighted by mean class probabilities obtained for the test sample and filtered augmented views. Additionally, we ensure that the class probabilities are as accurate as possible by performing prototype discrimination using contrastive learning. The combination of alignment and discriminative loss serves as a geometric regularizer, preventing the prompt representation from collapsing onto a single class and effectively bridging the distribution gap between the source and test domains. Our method, named PromptSync, synchronizes the prompts for each test sample on both the text and vision branches of the V-L model. In empirical evaluations on the domain generalization benchmark, our method outperforms previous best methods by 2.33% in overall performance, by 1% in base-to-novel generalization, and by 2.84% in cross-dataset transfer tasks.
[ -0.2977772355079651, -0.4138905704021454, 0.47103452682495117, 0.07627996057271957, -0.2213941514492035, 0.31166496872901917, -0.17319265007972717, -0.25391632318496704, 0.07570300996303558, -0.0032601880375295877, -0.7318633198738098, -0.4691679775714874, -0.27283984422683716, -0.0014526317827403545, -0.24818791449069977, 0.6300738453865051, -0.08670514822006226, 0.11377265304327011, -0.3215945065021515, -0.20485566556453705, -0.7375546097755432, -0.3866848945617676, -0.11282554268836975, 0.05014808103442192, 0.19822409749031067, 0.4050627052783966, 0.5894302129745483, 0.8174164891242981, 0.2697764039039612, 0.20383204519748688, -0.005654493812471628, 0.01613842137157917, -0.10153611749410629, 0.20291893184185028, -0.28971052169799805, -0.48742905259132385, -0.3708297908306122, -0.0695510134100914, 0.6950241327285767, 0.9178727269172668, -0.033410124480724335, 0.17150890827178955, 0.3833804130554199, 0.255501389503479, -1.0901192426681519, -0.13329429924488068, -0.5984429717063904, 0.07799337804317474, -0.3604115843772888, -0.017094289883971214, -0.583203911781311, -0.16010650992393494, 0.1954306811094284, -0.8405617475509644, 0.8579310178756714, 0.21672864258289337, 0.9355707764625549, 0.06171988695859909, 0.13562829792499542, 0.309965044260025, -0.37405866384506226, 0.8902796506881714, -0.2506563663482666, 0.4665939509868622, 0.002352253533899784, 0.5489866137504578, 0.21937528252601624, -0.5133933424949646, -0.795671820640564, 0.11913514882326126, 0.17915435135364532, 0.22715291380882263, -0.16457141935825348, 0.21042990684509277, 0.26629841327667236, 0.36959734559059143, -0.8237302303314209, 0.2875067889690399, -0.19532181322574615, -0.3831903636455536, 0.22661547362804413, 0.275508314371109, 0.33725646138191223, -0.04623818024992943, -0.4592050015926361, -0.38755902647972107, -0.4329017698764801, 0.1920490264892578, 0.2961370646953583, 0.5561017990112305, -0.1934671252965927, 0.5759360194206238, -0.25543513894081116, 1.059787392616272, 0.32195889949798584, 0.06221173331141472, 0.3528316915035248, -0.5924375057220459, -0.2906376123428345, 0.04705878719687462, 0.5258042812347412, 0.7743394374847412, 0.22273162007331848, 0.06071196869015694, -0.04692573845386505, 0.5837823152542114, 0.1021500676870346, -0.6537770628929138, -0.3292391300201416, 0.015149036422371864, -0.3210534453392029, -0.1592317372560501, -0.1478889435529709, -0.9638240337371826, -0.3209143877029419, -0.35410404205322266, 0.4361194670200348, -0.21752840280532837, 0.05185835063457489, 0.2667904794216156, -0.31133097410202026, 0.3948574364185333, 0.6447040438652039, -1.1575173139572144, 0.23256109654903412, 0.3854851722717285, 1.0529217720031738, -0.5140674710273743, -0.3034709095954895, -0.7618071436882019, -0.005468772258609533, -0.14791367948055267, 0.6924930214881897, -0.4545195996761322, -0.24792994558811188, 0.23756439983844757, 0.12614868581295013, -0.37669697403907776, -0.46139615774154663, 0.3185986876487732, -0.1832471489906311, 0.4079921841621399, -0.13734577596187592, -0.6401824355125427, 0.33455878496170044, 0.2069978415966034, -0.23324556648731232, 0.726606547832489, 0.11870932579040527, -0.7111179232597351, 0.5053296089172363, -0.0005548596382141113, -0.08461464196443558, 0.41219058632850647, -0.29636141657829285, -0.5658804178237915, -0.017868956550955772, 0.5547258853912354, 0.2676691710948944, 0.013923470862209797, 0.017306271940469742, -0.48617565631866455, -0.5411967635154724, -0.10151460766792297, -0.22381538152694702, 0.6175028681755066, -0.03416505455970764, -0.33464497327804565, 0.25975167751312256, -0.6903615593910217, -0.04631740227341652, 0.02387266419827938, 0.2480544149875641, -0.5947201251983643, -0.219130277633667, 0.10796475410461426, 0.03814386576414108, 0.1076253280043602, -0.7408427596092224, 0.4094938337802887, -0.30252403020858765, 0.026420198380947113, 0.8296980261802673, -0.14363403618335724, 0.6661964654922485, -0.2816319465637207, 0.6822959780693054, 0.10880088061094284, 0.4869035482406616, -0.6371814608573914, -0.5146908164024353, -0.8915783166885376, -0.2490357905626297, 0.2031446248292923, 0.754225492477417, -0.8175252079963684, 0.25596222281455994, -0.05867518484592438, -0.1850842833518982, -0.7049121260643005, -0.10893619060516357, 0.5066155195236206, 0.8678907752037048, 0.45393961668014526, -0.3914509117603302, -0.35313573479652405, -0.7344052791595459, -0.13928529620170593, -0.12728573381900787, -0.1863485723733902, 0.19519078731536865, 0.12283793091773987, 0.086819589138031, 1.021196961402893, -0.720858633518219, -0.2451317459344864, -0.26585260033607483, -0.22244901955127716, 0.17738531529903412, 0.7055128812789917, 0.781992495059967, -0.5635572075843811, -0.4540598690509796, -0.18520408868789673, -0.5125346779823303, -0.3709733784198761, -0.07352948188781738, -0.28276753425598145, 0.09679107367992401, 0.37769097089767456, -0.39860087633132935, 0.5560299158096313, 0.37200140953063965, -0.5979017615318298, 0.6447247862815857, 0.06606096774339676, 0.07285557687282562, -1.0621007680892944, 0.03307121619582176, 0.16244083642959595, -0.2975347638130188, -0.5734938979148865, -0.24336504936218262, 0.3214532136917114, -0.2525171637535095, -0.5019288063049316, 0.6486193537712097, -0.3588126599788666, -0.0500093474984169, -0.15298958122730255, 0.46101799607276917, 0.28399163484573364, 0.348203182220459, 0.026969600468873978, 1.116246223449707, 0.7504479289054871, -0.6379930973052979, 0.08130539208650589, 0.6112143993377686, -0.2494748830795288, 0.9444119334220886, -0.7105753421783447, -0.31217023730278015, -0.2198358178138733, -0.17982693016529083, -0.9765962362289429, -0.1306292712688446, 0.3410300016403198, -0.47732236981391907, 0.19174723327159882, -0.20001152157783508, -0.006118019577115774, -0.2247941642999649, -0.36617520451545715, 0.4555661380290985, 0.7122160792350769, -0.7812050580978394, 0.2642243504524231, 0.059275709092617035, -0.17126481235027313, -0.8563373684883118, -0.36192476749420166, -0.17668412625789642, 0.002747938269749284, -0.4924243688583374, 0.5237356424331665, -0.19649472832679749, -0.13631939888000488, -0.20820680260658264, -0.2656610310077667, 0.1591285914182663, 0.05998477339744568, 0.23410414159297943, 0.753437876701355, -0.1838638037443161, 0.01581987552344799, 0.049222104251384735, 0.052739836275577545, -0.22906552255153656, -0.45909300446510315, 0.5211055278778076, 0.21626971662044525, -0.4465559422969818, -0.5287550687789917, 0.016667192801833153, 0.35118475556373596, -0.1830672323703766, 0.4959295988082886, 0.2429162859916687, -0.16043224930763245, -0.6035336852073669, -0.3225442171096802, -0.16081516444683075, -0.4911617040634155, 0.20428504049777985, -0.3039391040802002, -0.8888642191886902, 0.4919493496417999, 0.028455330058932304, -0.005797774996608496, 0.22905755043029785, 0.3022441565990448, -0.017587387934327126, 0.9236429929733276, 1.0286173820495605, 0.006949894595891237, 0.9666368961334229, -0.11175477504730225, -0.020695514976978302, -0.932062029838562, -0.24754419922828674, -0.41127967834472656, -0.13412253558635712, -0.10737999528646469, -0.4211961328983307, 0.21554452180862427, 0.1537572741508484, -0.07864127308130264, 0.42376935482025146, -0.5393368005752563, 0.5575000643730164, 0.7297758460044861, -0.010077557526528835, 0.19105151295661926, 0.1286601722240448, -0.37874412536621094, -0.4460126757621765, -0.465686172246933, -0.1795184314250946, 0.9206505417823792, 0.03553728759288788, 0.6600964069366455, -0.017159301787614822, 0.38828280568122864, 0.393481969833374, -0.035875819623470306, -0.7774098515510559, 0.5459967851638794, -0.23873154819011688, 0.07994186878204346, -0.006771632470190525, -0.10853099077939987, -0.6605768799781799, 0.445108562707901, -0.18386368453502655, -0.6897196769714355, 0.5663988590240479, 0.4228532016277313, -0.36940842866897583, 0.24770396947860718, -0.562104344367981, 1.1140519380569458, 0.2006479799747467, -0.5505995154380798, 0.1979476660490036, -0.661867618560791, 0.4624989628791809, 0.08142497390508652, -0.25431180000305176, -0.16608315706253052, 0.10471225529909134, 0.4367578625679016, -0.6368838548660278, 0.8939356803894043, -0.3182331919670105, 0.1228143498301506, -0.00508100213482976, 0.01893370971083641, 0.2615163028240204, -0.13481943309307098, 0.24544760584831238, -0.08224021643400192, -0.2665526568889618, -0.47749757766723633, -0.6498947143554688, 0.3504502475261688, -0.5919620394706726, -0.5537988543510437, -0.45385849475860596, -0.3256855010986328, -0.29753559827804565, 0.16986463963985443, 0.537634551525116, 0.5915430188179016, -0.13950636982917786, -0.3084906041622162, 0.8144603967666626, -0.19813096523284912, 0.5910943746566772, 0.6590825319290161, -0.3080917000770569, -0.4616662561893463, 0.883513867855072, -0.3301169276237488, 0.6135023236274719, 0.37806588411331177, -0.16484463214874268, -0.3398382365703583, -0.552977442741394, -0.8014668822288513, 0.09308362752199173, -0.7135048508644104, -0.3036366105079651, -0.558648407459259, -0.039230652153491974, -0.5084756016731262, -0.6079537868499756, -0.15171478688716888, -0.49862396717071533, -0.45233380794525146, 0.05868756026029587, 0.12885363399982452, 0.08516713976860046, 0.1816723346710205, 0.618423342704773, -0.46789973974227905, 0.11120568215847015, 0.3427932560443878, 0.23550871014595032, -0.2418719232082367, -0.7467369437217712, 0.0662500411272049, -0.323956161737442, -0.3313993513584137, -0.5811828970909119, 0.3237399458885193, 0.39555099606513977, 0.43245261907577515, 0.33146557211875916, 0.23422768712043762, 0.7779791951179504, -0.6578792929649353, 1.0802937746047974, 0.5372048616409302, -1.1583679914474487, 0.8025084733963013, -0.2033175677061081, 0.41119280457496643, 0.5365779399871826, -0.03440796583890915, -0.6477858424186707, -0.5506338477134705, -0.26481518149375916, -0.7859559655189514, 0.6667430996894836, 0.0031683819834142923, 0.020353885367512703, 0.0017232440877705812, 0.22617694735527039, 0.15698213875293732, 0.21747690439224243, -0.3152424395084381, -0.3306800425052643, -0.4599657952785492, -0.46126803755760193, -0.05784570425748825, -0.0022517219185829163, 0.20305027067661285, -0.14726369082927704, 0.405961811542511, -0.41231265664100647, 0.02478652633726597, 0.4083505868911743, -0.24981683492660522, -0.034243930131196976, 0.2556423544883728, 0.7625396847724915, 0.5464358925819397, -0.10618116706609726, 0.17649464309215546, -0.13679134845733643, -0.8976912498474121, 0.36464831233024597, 0.2284758985042572, -0.6103167533874512, 0.38187506794929504, 0.21557912230491638, 0.9884982109069824, 0.12347690016031265, -0.7335577607154846, 1.0446606874465942, -0.11086979508399963, -0.08372495323419571, 0.014484571292996407, 0.16163715720176697, -0.6713575124740601, 0.238798588514328, 0.306669682264328, 0.3989015519618988, 0.15563294291496277, -0.1179281696677208, 0.48748308420181274, 0.3907143771648407, -0.3873503506183624, -0.5475055575370789, 1.1252533197402954, 0.22819888591766357, 0.05734362453222275, 0.6032457947731018, -0.1567840278148651, -0.5403335094451904, 0.5165807008743286, 0.6533286571502686, 0.999060332775116, -0.27712878584861755, 0.5019832849502563, 0.44617658853530884, 0.03611202910542488, -0.19289308786392212, 0.3431086242198944, -0.2568873167037964, -0.7635026574134827, -0.4379027187824249, -0.5992258191108704, -0.7683850526809692, -0.27786266803741455, -0.7917323112487793, 0.4287876486778259, -0.48384904861450195, -0.227921724319458, -0.076846644282341, -0.3396591246128082, -0.5310888886451721, -0.04337555915117264, 0.17562153935432434, 1.0076916217803955, -1.037371039390564, 0.6848490834236145, 0.5487578511238098, -0.323356032371521, -0.3931753635406494, 0.12963706254959106, 0.021135982125997543, -0.9319911003112793, 0.6331155896186829, 0.31241077184677124, 0.04473428800702095, -0.06991560012102127, -0.5029300451278687, -0.6730411648750305, 0.9650236368179321, 0.4033697545528412, -0.9716619253158569, 0.1272030621767044, -0.1555282473564148, 0.21541854739189148, -0.29320111870765686, -0.051634859293699265, 0.31357234716415405, -0.09248262643814087, 0.28322526812553406, -1.0492000579833984, -0.055636901408433914, -0.2875754237174988, 0.24162644147872925, 0.2667180001735687, -0.5275367498397827, 1.0018421411514282, -0.410254567861557, -0.5170196294784546, 0.22749236226081848, 0.6478722095489502, 0.41753309965133667, 0.49678340554237366, 0.308810293674469, 0.485483855009079, 0.7838311195373535, -0.1466309279203415, 0.7144320607185364, -0.3580280840396881, 0.2617930769920349, 1.1716605424880981, -0.5482599139213562, 0.6586287021636963, 0.45200857520103455, -0.12923844158649445, 0.3560657501220703, 0.4167400598526001, -0.2639605700969696, 0.7202913165092468, 0.1656496822834015, -0.49770599603652954, -0.3425799310207367, -0.5061129331588745, -0.27919793128967285, -0.026422278955578804, 0.11359662562608719, -0.2420445829629898, -0.18094395101070404, 0.3006517291069031, -0.19956840574741364, 0.15639550983905792, -0.5602098107337952, 0.4810149371623993, -0.16336213052272797, -0.5904702544212341, 0.4992287755012512, -0.35964909195899963, 0.764794647693634, -0.4996657073497772, 0.005840103141963482, -0.353887677192688, 0.4853312075138092, 0.03847474977374077, -0.8005744218826294, -0.07368195056915283, -0.09335824847221375, -0.3693162500858307, -0.11636774986982346, 0.5428277254104614, -0.5775662064552307, -0.21428506076335907, -0.0050412798300385475, 0.4370999038219452, -0.18961168825626373, 0.12058326601982117, -0.32768362760543823, 0.2907627820968628, 0.0016441449988633394, 0.2894383668899536, 0.27595415711402893, 0.08396212756633759, -0.1979440301656723, 0.4914737343788147, 0.31354376673698425, 0.1717192530632019, 0.24795149266719818, 0.3300669491291046, 0.8223999738693237, -0.5497922301292419, -0.6120149493217468, -0.8621324300765991, 0.534403383731842, -0.2948213517665863, -0.5866677761077881, 0.9409558773040771, 0.5895500779151917, 1.0362211465835571, -0.2843519449234009, 0.7512682676315308, 0.23194022476673126, 0.4854007065296173, -0.5466666221618652, 0.23385711014270782, -0.31977778673171997, 0.11362043023109436, -0.37497735023498535, -1.014691710472107, -0.5249791145324707, 0.3318132162094116, 0.032164670526981354, -0.40415140986442566, 0.5414584875106812, 0.581343948841095, -0.15722018480300903, -0.1850757747888565, 0.34102991223335266, -0.29192793369293213, 0.24163301289081573, 0.5574547052383423, 0.7633497714996338, -0.5115535259246826, 0.24082225561141968, -0.1947825402021408, -0.33486151695251465, -0.2470504194498062, -0.6605545282363892, -1.0077794790267944, -0.4938870966434479, -0.6149014830589294, -0.2928094267845154, 0.20859311521053314, 0.7305372953414917, 0.6554375886917114, -0.8355713486671448, -0.06899772584438324, -0.05958864465355873, -0.0185194481164217, -0.2798219323158264, -0.2555701434612274, 0.4646179974079132, -0.6551088690757751, -0.8445791006088257, 0.29852765798568726, 0.43276941776275635, 0.6561021208763123, -0.11759898066520691, 0.08558187633752823, 0.4338526427745819, -0.19165292382240295, 0.4705221951007843, 0.4290594160556793, -0.6246734261512756, -0.28210484981536865, 0.4361950159072876, 0.018119707703590393, 0.04771257936954498, 0.8293169140815735, -1.051671028137207, 0.7280717492103577, 0.4234033226966858, 0.6314899325370789, 0.04868915304541588, 0.3021993339061737, 0.6898336410522461, -1.0130549669265747, 0.4512454569339752, 0.06038844585418701, 0.502069354057312, 0.41350650787353516, -0.21955478191375732, 0.288950651884079, 0.7238222360610962, -0.3691965639591217, -0.9903393387794495, 0.3588891923427582, -1.1950037479400635, -0.05765192583203316, 0.6892237663269043, -0.04967018961906433, -0.31054961681365967, -0.15061256289482117, -0.2053668200969696, 0.03930538147687912, -0.4203738272190094, 0.5027285814285278, 0.37941956520080566, 0.050071585923433304, -0.40300774574279785, -0.2811846137046814, 0.6723247766494751, 0.42353230714797974, -0.5548243522644043, 0.20600463449954987, 0.659294843673706, 0.2302873283624649, 0.1016504094004631, 0.5482180118560791, 0.14224711060523987, 0.4407912492752075, -0.05692986771464348, 0.30297571420669556, 0.12001701444387436, -0.3282583951950073, -0.6609237790107727, 0.09111849963665009, -0.18958809971809387, -0.7670626044273376 ]
http://arxiv.org/abs/2404.08704v1
http://arxiv.org/pdf/2404.08704v1
MM-PhyQA: Multimodal Physics Question-Answering With Multi-Image CoT Prompting
2024-04-11T07:11:47
2024-04-11T07:11:47
Avinash Anand, Janak Kapuriya, Apoorv Singh, Jay Saraf, Naman Lal, Astha Verma, Rushali Gupta, Rajiv Shah
cs.CL
cs.CL, cs.AI
While Large Language Models (LLMs) can achieve human-level performance in various tasks, they continue to face challenges when it comes to effectively tackling multi-step physics reasoning tasks. To identify the shortcomings of existing models and facilitate further research in this area, we curated a novel dataset, MM-PhyQA, which comprises well-constructed, high schoollevel multimodal physics problems. By evaluating the performance of contemporary LLMs that are publicly available, both with and without the incorporation of multimodal elements in these problems, we aim to shed light on their capabilities. For generating answers for questions consisting of multimodal input (in this case, images and text) we employed Zero-shot prediction using GPT-4 and utilized LLaVA (LLaVA and LLaVA-1.5), the latter of which were fine-tuned on our dataset. For evaluating the performance of LLMs consisting solely of textual input, we tested the performance of the base and fine-tuned versions of the Mistral-7B and LLaMA2-7b models. We also showcased the performance of the novel Multi-Image Chain-of-Thought (MI-CoT) Prompting technique, which when used to train LLaVA-1.5 13b yielded the best results when tested on our dataset, with superior scores in most metrics and the highest accuracy of 71.65% on the test set.
[ -0.39511048793792725, -1.0358798503875732, 0.924382209777832, 0.09693842381238937, -0.2437303066253662, 0.3317124843597412, 0.11261998862028122, -0.2582832872867584, -0.11518204212188721, 0.08354805409908295, -0.8736085295677185, -0.15181584656238556, -0.5294919013977051, 0.3837372064590454, -0.22165049612522125, 0.5181005597114563, -0.3060576617717743, 0.28993168473243713, -0.3134748935699463, 0.14901821315288544, -0.44448935985565186, -0.22143901884555817, -0.16672293841838837, -0.2980649769306183, 0.6490207314491272, 0.4130192697048187, 0.6010638475418091, 0.19348658621311188, 0.637096107006073, 0.310771644115448, -0.004531663376837969, 0.43925729393959045, -0.2050609290599823, 0.010146880522370338, -0.09654425829648972, -0.2098112851381302, -0.32025399804115295, -0.16163432598114014, 0.7604434490203857, 0.48552751541137695, 0.0035759578458964825, 0.27143946290016174, -0.1819014698266983, 0.39220359921455383, -0.747085690498352, -0.02103443630039692, -0.5029765367507935, 0.06351038068532944, 0.1376659870147705, -0.4271273910999298, -0.40275922417640686, 0.11638131737709045, -0.13581953942775726, -0.8414905071258545, 0.11105231940746307, 0.1620427817106247, 0.787714958190918, 0.09894949197769165, -0.7519132494926453, -0.16751927137374878, -0.48879972100257874, 0.8283862471580505, -0.3173771798610687, 0.649079442024231, 0.24009937047958374, 0.16797542572021484, -0.2917459011077881, -0.4481704831123352, -0.6646053791046143, -0.2612439692020416, 0.37324994802474976, 0.4889332354068756, 0.10797472298145294, 0.13123293220996857, 0.23292987048625946, 0.18372191488742828, -0.8420384526252747, -0.14405971765518188, -0.6707010269165039, -0.38531598448753357, 0.2861641049385071, 0.275936484336853, 0.15061460435390472, -0.46218186616897583, -0.43867257237434387, -0.25101813673973083, -0.5123373866081238, 0.23891136050224304, 0.352969229221344, 0.04040854424238205, -0.09345170855522156, 1.1339441537857056, -0.4674125611782074, 0.5564895272254944, 0.035533607006073, -0.5641981959342957, 0.2529832422733307, -0.49217864871025085, 0.004666193854063749, -0.23289363086223602, 0.9063021540641785, 0.5253157615661621, 0.2267734855413437, 0.2005327343940735, 0.020791536197066307, 0.05810350179672241, -0.19594740867614746, -0.7451865077018738, -0.14215438067913055, 0.4120560586452484, -0.27578747272491455, -0.04509642347693443, -0.2578306496143341, -0.8735421895980835, -0.5088403224945068, -0.3097427785396576, 0.7631123661994934, -0.5101890563964844, -0.3570854067802429, 0.36851462721824646, -0.22784610092639923, 0.1144656389951706, 0.5468157529830933, -0.7330834865570068, -0.07365961372852325, 0.32834258675575256, 0.8075188398361206, 0.24991649389266968, -0.6224665641784668, -0.27700895071029663, 0.2669113278388977, -0.31295913457870483, 0.937100350856781, -0.5771216750144958, -0.4762488603591919, -0.38799455761909485, -0.04000736027956009, -0.09896133095026016, -0.15488116443157196, 0.35810843110084534, -0.33886468410491943, 0.4214525520801544, -0.31811434030532837, -0.32721421122550964, 0.042447302490472794, 0.46439528465270996, -0.46018075942993164, 0.8987011313438416, -0.05714854225516319, -0.5741801857948303, 0.21745657920837402, -0.5376736521720886, -0.001486029359512031, -0.17940753698349, -0.31883504986763, -0.06278888136148453, 0.07578621804714203, 0.6421612501144409, 0.3860907554626465, -0.4548470377922058, 0.27576813101768494, -0.2767429053783417, -0.23804622888565063, 0.5263247489929199, -0.6610767841339111, 0.4136309027671814, 0.2505594789981842, 0.03972939774394035, -0.07585889846086502, -0.83394855260849, 0.03209085762500763, 0.1571897566318512, -0.28168630599975586, 0.07754655182361603, -0.23817265033721924, -0.2557828426361084, 0.5987803339958191, 0.3003172278404236, -0.8462275862693787, 0.11973890662193298, -0.11560787260532379, 0.27135705947875977, 0.8032258749008179, 0.04400407522916794, 0.24075733125209808, -0.48310109972953796, 0.7439078092575073, 0.23363110423088074, 0.19265632331371307, -0.5650273561477661, -0.88137286901474, -0.2976365089416504, -0.3506934344768524, -0.1539473980665207, 0.4572031497955322, -1.1255403757095337, -0.2990935444831848, -0.10387908667325974, -0.5814786553382874, -0.5170590877532959, 0.30888453125953674, 0.47072145342826843, 0.7901579737663269, 0.43645721673965454, -0.035773809999227524, -0.28095191717147827, -0.8006162047386169, -0.04753178730607033, -0.2976432740688324, -0.07116514444351196, 0.35500243306159973, 0.582048773765564, 0.13517151772975922, 0.5035486221313477, -0.5075550675392151, 0.2626209855079651, 0.027827678248286247, 0.24741683900356293, 0.037063319236040115, 0.29737409949302673, 0.11307390034198761, -0.8045153021812439, -0.002774807158857584, -0.16836653649806976, -0.9219474792480469, 0.03450421616435051, -0.07891731709241867, -0.09651096910238266, -0.12780174612998962, 0.3103669583797455, -0.9712154865264893, 0.1733165830373764, 0.6489265561103821, -0.4636414349079132, 0.9620038270950317, -0.13002139329910278, 0.7015480399131775, -1.181707501411438, -0.11769592761993408, 0.20006072521209717, 0.0437287800014019, -0.38083258271217346, 0.12567290663719177, 0.32799652218818665, -0.41857537627220154, -0.964100182056427, 0.6046749949455261, -0.3896239101886749, -0.10940750688314438, -0.15866871178150177, 0.18703091144561768, 0.3738299310207367, 0.46321195363998413, 0.056112367659807205, 0.7980179190635681, 0.7720680832862854, -0.634880542755127, 0.5648301839828491, 0.10237640142440796, -0.3590407073497772, 0.5215612053871155, -0.7120065689086914, 0.09237278252840042, -0.41141921281814575, 0.34554657340049744, -1.1920064687728882, -0.5178374648094177, 0.12972228229045868, -0.5094479322433472, 0.015796108171343803, -0.07009391486644745, -0.7197994589805603, -0.4588227868080139, -0.31355801224708557, 0.8124129772186279, 0.25676780939102173, -0.3441203236579895, 0.5630624294281006, -0.05843757465481758, -0.05224522575736046, -0.8580389618873596, -0.5193842649459839, 0.012863796204328537, -0.04217309132218361, -0.6531859040260315, -0.06204267218708992, -0.3927275240421295, -0.0437878854572773, -0.17414425313472748, -0.027668403461575508, -0.07936916500329971, -0.08117897063493729, 0.2675619423389435, 0.5685824751853943, -0.2191145420074463, 0.19277091324329376, 0.07091905176639557, -0.01989327371120453, 0.11300386488437653, -0.025579439476132393, 0.6055157780647278, -0.2970176041126251, -0.6153031587600708, -0.6373719573020935, 0.17905481159687042, 0.7204524278640747, -0.116939015686512, 0.5193995237350464, 0.6138002872467041, -0.3219519555568695, 0.3757795989513397, -0.45287054777145386, -0.1500193476676941, -0.5589585900306702, 0.407119482755661, -0.6864139437675476, -0.8174083232879639, 0.3842206597328186, -0.01720995269715786, -0.042403444647789, 0.17761991918087006, 0.9367656111717224, -0.28384819626808167, 1.3818734884262085, 0.21856720745563507, 0.3927761912345886, 0.23064236342906952, -0.20062009990215302, 0.060910262167453766, -0.7902966141700745, -0.5786983370780945, -0.27045688033103943, -0.11545077711343765, -0.46715834736824036, -0.5566484332084656, 0.6262321472167969, -0.07848366349935532, -0.280611515045166, 0.10566369444131851, -0.34747645258903503, 0.6682090759277344, 0.2609553337097168, 0.26953378319740295, 0.47372543811798096, 0.05874038487672806, -0.42587339878082275, 0.11118726432323456, -0.5449146628379822, -0.28137704730033875, 1.1114213466644287, 0.2759338915348053, 1.0843645334243774, 0.175185889005661, 0.35713568329811096, -0.3339499831199646, -0.09800679981708527, -0.7411218285560608, 0.6466777920722961, 0.24473397433757782, -0.9193687438964844, -0.17454668879508972, -0.6041362285614014, -0.959038257598877, 0.5237255096435547, -0.3681281507015228, -0.7321473956108093, -0.054415512830019, 0.06930367648601532, -0.362949401140213, 0.3441958725452423, -0.8800122141838074, 0.5345418453216553, -0.2675660252571106, -0.5612817406654358, -0.21498043835163116, -0.4415901005268097, 0.7702668309211731, -0.06770059466362, 0.5037573575973511, -0.4293178617954254, -0.20278078317642212, 0.4880218505859375, 0.02322792448103428, 0.4443523585796356, -0.12345463037490845, -0.15858209133148193, 0.42602965235710144, 0.1852540820837021, -0.11502117663621902, 0.20869587361812592, 0.026558738201856613, -0.16292618215084076, 0.5121097564697266, -0.6165459156036377, -0.6929311752319336, 0.7111796736717224, -0.839141845703125, -0.47741013765335083, -0.33505553007125854, -1.0127065181732178, -0.480968177318573, 0.17870257794857025, 0.3144506812095642, 0.8307245969772339, 0.3364138901233673, 0.17328166961669922, 0.5888156294822693, -0.3600988984107971, 0.37067273259162903, 0.36157962679862976, -0.4622000753879547, -0.4601020812988281, 0.8157567977905273, -0.05387851968407631, 0.3400111198425293, 0.45782068371772766, 0.4367635250091553, -0.6499398350715637, -0.2989998757839203, -0.6456438899040222, 0.3530175983905792, -0.884238600730896, -0.31894269585609436, -0.5099102854728699, -0.08899318426847458, -0.37488237023353577, -0.05273287743330002, -0.27537474036216736, -0.6084321141242981, -0.10087570548057556, -0.0045404816046357155, 0.1124071478843689, 0.6489608883857727, 0.09334175288677216, 0.09333734959363937, -0.947778582572937, 0.7570156455039978, 0.349597305059433, 0.31469622254371643, -0.08239766955375671, -0.523765504360199, -0.10972078144550323, 0.1685589849948883, -0.6504866480827332, -0.7822656631469727, 0.11000579595565796, 0.08797090500593185, 0.3741508424282074, -0.0009445196483284235, -0.14467711746692657, 0.9370561242103577, -0.43478745222091675, 1.0400820970535278, 0.6473915576934814, -0.6838462948799133, 0.6609281301498413, -0.4789700508117676, 0.6339505314826965, 0.28782325983047485, 0.6020208597183228, -0.10246425122022629, -0.44044187664985657, -0.4613862633705139, -0.519257664680481, 0.35316842794418335, 0.19766122102737427, 0.0810389369726181, 0.08904300630092621, 0.4143272936344147, 0.03946548327803612, 0.28042513132095337, -0.6942618489265442, 0.05860450863838196, -0.3507888913154602, -0.3110361695289612, -0.02104160189628601, -0.0018069331999868155, 0.016799446195364, -0.231271892786026, 0.42402198910713196, -0.3291269838809967, 0.23358002305030823, 0.41960740089416504, -0.2067839354276657, -0.38147810101509094, 0.3178890347480774, 0.6124369502067566, 0.9170977473258972, -0.22226588428020477, 0.1964217722415924, 0.08570683002471924, -0.6223925948143005, 0.4444505274295807, -0.22965046763420105, 0.06740239262580872, -0.2425224632024765, 0.19330660998821259, 0.421124130487442, 0.14297179877758026, -1.04651939868927, 0.37677034735679626, -0.22427277266979218, -0.5490246415138245, 0.022943979129195213, -0.08023597300052643, 0.040082331746816635, 0.2698967456817627, 0.5176945924758911, -0.06552425026893616, 0.15420687198638916, -0.5738909840583801, 0.030019160360097885, 0.3467091917991638, 0.020720919594168663, -0.39688608050346375, 0.6000682711601257, -0.22346657514572144, 0.07115022093057632, 0.34146469831466675, 0.027775205671787262, -0.17086383700370789, 0.6171339750289917, 0.44393470883369446, 0.29457327723503113, -0.0612550750374794, 0.40723398327827454, 0.5889153480529785, 0.3323952257633209, -0.03650042042136192, 0.657880425453186, 0.0958278551697731, -0.7512147426605225, -0.7772414088249207, -0.4274978041648865, -0.7049371600151062, 0.1664717197418213, -0.5598134398460388, 0.37515538930892944, -0.6123892664909363, -0.19861547648906708, 0.05018142610788345, 0.08129479736089706, -0.6034159064292908, 0.28916388750076294, 0.4172343611717224, 0.7920957207679749, -0.6867898106575012, 0.6757038831710815, 0.8006464838981628, -0.43094033002853394, -0.7522738575935364, -0.29762208461761475, 0.2050648331642151, -0.8240922093391418, 0.530714750289917, 0.11100776493549347, -0.38394880294799805, 0.005489702336490154, -0.6962842345237732, -0.9281500577926636, 1.257224678993225, 0.534408688545227, -0.26677656173706055, -0.11254171282052994, 0.16780444979667664, 0.3129326403141022, 0.015809746459126472, 0.5878625512123108, 0.1855446994304657, 0.30654749274253845, 0.39862966537475586, -1.099360704421997, -0.22320376336574554, -0.33692246675491333, -0.3364082872867584, 0.09755343943834305, -0.8650827407836914, 0.9934686422348022, -0.3293220102787018, 0.09116771072149277, 0.264817476272583, 0.5102730989456177, 0.9896473288536072, 0.5970917344093323, 0.4144198000431061, 0.4224245548248291, 0.7173951268196106, 0.05792719125747681, 1.1159268617630005, -0.2057255655527115, 0.33601394295692444, 0.7746806144714355, -0.27770793437957764, 0.7921029329299927, 0.6879585981369019, -0.11032422631978989, 0.37914201617240906, 0.5987020134925842, 0.19794170558452606, 0.45492592453956604, -0.1060897633433342, -0.19097264111042023, -0.35621052980422974, -0.2302316576242447, -0.3441961109638214, 0.5419964790344238, 0.34683647751808167, 0.22769050300121307, -0.35177889466285706, 0.2659541666507721, -0.32282519340515137, -0.047207124531269073, -0.4363243877887726, 0.36173319816589355, 0.0698162093758583, -0.4537525177001953, 0.5400814414024353, -0.10986039787530899, 0.6636930704116821, -0.6495717167854309, 0.0635819211602211, -0.022827109321951866, -0.14681842923164368, -0.1409875452518463, -1.1009485721588135, -0.1675477772951126, 0.045791491866111755, -0.026989251375198364, -0.1152191162109375, 0.6611285209655762, -0.338448166847229, -0.7352805733680725, -0.08481276035308838, 0.8954354524612427, 0.15090066194534302, 0.1890879124403, -0.840001106262207, -0.05010058358311653, -0.41505423188209534, -0.2451391965150833, 0.5435460209846497, 0.5760730504989624, 0.07900971919298172, 1.1090764999389648, 0.6892820596694946, -0.10407117754220963, 0.3652912676334381, -0.02609703131020069, 0.8279712200164795, -0.636220395565033, -0.30913248658180237, -0.6574214696884155, 0.5343793034553528, 0.2551349699497223, -0.5280727744102478, 0.7529972195625305, 0.49778005480766296, 0.623205304145813, -0.06279962509870529, 0.5177933573722839, 0.21081723272800446, 0.3179864287376404, -0.9611161351203918, 0.20418818295001984, -0.7399041056632996, -0.007390719838440418, -0.4574553668498993, -0.7349623441696167, -0.15912093222141266, 0.40445059537887573, -0.20017096400260925, 0.1142994835972786, 0.9037710428237915, 1.032510757446289, -0.09879039973020554, 0.07114150375127792, 0.5885956883430481, -0.0954657793045044, 0.4043131172657013, 0.7886292934417725, 1.4906429052352905, -0.600373387336731, 0.7223756313323975, -0.5102152228355408, 0.00014363802620209754, 0.03200826421380043, -0.8657045364379883, -0.8098998665809631, -0.7186232209205627, -0.28005197644233704, -0.36130911111831665, -0.17035193741321564, 0.9619659781455994, 0.6078633069992065, -0.5540187954902649, -0.10118989646434784, 0.19760484993457794, -0.06335516273975372, 0.13961686193943024, -0.17377477884292603, 0.22943159937858582, -0.10396827757358551, -0.6280018091201782, 0.5602449774742126, 0.10587278008460999, 0.18928366899490356, -0.272758424282074, -0.13737522065639496, -0.4028328061103821, 0.0314459390938282, 0.7543315887451172, 0.0321793295443058, -0.7899045944213867, -0.22620455920696259, 0.40395501255989075, 0.008749528788030148, 0.012190353125333786, 0.8244242668151855, -0.7458516955375671, 0.533648669719696, 0.46568563580513, 0.5120790004730225, 0.4606493413448334, 0.05829380825161934, 0.3050755262374878, -0.6785353422164917, 0.3915017247200012, 0.1760372370481491, 0.5643664002418518, 0.32563516497612, -0.26815980672836304, 0.13805854320526123, 0.30435726046562195, -0.556424617767334, -0.751700758934021, 0.20682887732982635, -1.100928544998169, -0.48776695132255554, 1.2398033142089844, 0.1456073820590973, -0.40854018926620483, -0.12147651612758636, -0.4130319356918335, 0.11946723610162735, -0.3605012595653534, 0.6092897057533264, 0.9592214822769165, -0.27174246311187744, -0.7921334505081177, -0.7053137421607971, -0.05374792963266373, 0.4919516146183014, -0.6100412011146545, -0.31972116231918335, 0.7180647253990173, 0.19999906420707703, 0.24175873398780823, 0.6403021216392517, -0.29413244128227234, 0.6661520004272461, 0.07369972765445709, -0.22005848586559296, -0.2962613105773926, -0.5539282560348511, -0.28540176153182983, 0.3313068449497223, 0.11452974379062653, -0.072772316634655 ]
http://arxiv.org/abs/2404.07503v1
http://arxiv.org/pdf/2404.07503v1
Best Practices and Lessons Learned on Synthetic Data for Language Models
2024-04-11T06:34:17
2024-04-11T06:34:17
Ruibo Liu, Jerry Wei, Fangyu Liu, Chenglei Si, Yanzhe Zhang, Jinmeng Rao, Steven Zheng, Daiyi Peng, Diyi Yang, Denny Zhou, Andrew M. Dai
cs.CL
cs.CL
The success of AI models relies on the availability of large, diverse, and high-quality datasets, which can be challenging to obtain due to data scarcity, privacy concerns, and high costs. Synthetic data has emerged as a promising solution by generating artificial data that mimics real-world patterns. This paper provides an overview of synthetic data research, discussing its applications, challenges, and future directions. We present empirical evidence from prior art to demonstrate its effectiveness and highlight the importance of ensuring its factuality, fidelity, and unbiasedness. We emphasize the need for responsible use of synthetic data to build more powerful, inclusive, and trustworthy language models.
[ -0.09137552976608276, -0.9482678174972534, 0.7218700647354126, 0.00989267136901617, 0.075154609978199, 0.3496735692024231, -0.13218028843402863, -0.6195035576820374, -0.17840458452701569, 0.7041234970092773, -0.19408947229385376, -0.5252634286880493, -0.27741554379463196, 0.10751775652170181, -0.7843436598777771, 0.6735901236534119, 0.050967346876859665, 0.17925506830215454, -0.16649815440177917, -0.04589252173900604, -0.3328823745250702, -0.9540460109710693, -0.5758904218673706, -0.24023108184337616, 0.1209738627076149, 0.31975775957107544, 0.9769582748413086, 0.9628710150718689, 0.25225624442100525, 0.3402673900127411, 0.13966336846351624, 0.3536856472492218, -0.4092283844947815, 0.21617145836353302, -0.12716543674468994, -0.4281129240989685, -0.3032373785972595, 0.5000048279762268, 0.7411208152770996, 0.848329484462738, -0.3820244371891022, -0.06711198389530182, -0.17256295680999756, 0.5934486389160156, -0.13135315477848053, 0.49770286679267883, -0.6995375752449036, 0.025090724229812622, -0.38321012258529663, 0.15967091917991638, -0.3087991774082184, -0.6813468337059021, 0.2134239822626114, -0.7051871418952942, 0.34035131335258484, 0.31057965755462646, 0.6253272294998169, -0.015503993257880211, -0.43404924869537354, -0.3648119568824768, -1.2309489250183105, 0.8161895871162415, -0.8473206162452698, 0.5775901079177856, 0.49570387601852417, 0.5737863779067993, -0.49074846506118774, -0.8594886660575867, -0.8521116375923157, -0.3348473608493805, -0.05571603402495384, -0.06657283753156662, 0.04508097097277641, -0.23997832834720612, 0.09567859023809433, 0.40875715017318726, -0.688924252986908, -0.019961679354310036, -0.5039982199668884, -0.19857120513916016, 0.9574826955795288, 0.1586335301399231, 0.5404773354530334, 0.25958606600761414, 0.036754727363586426, -0.2800642251968384, -0.9037100672721863, -0.10105340927839279, 0.6985242962837219, 0.44007137417793274, -0.0790194571018219, 0.5206848382949829, -0.32630228996276855, 0.5355380177497864, -0.41981491446495056, 0.10024003684520721, 0.3103176951408386, -0.6317188739776611, 0.05940208211541176, -0.12689965963363647, 0.6721693277359009, 0.08408663421869278, 0.6593036651611328, -0.27680423855781555, -0.13287922739982605, 0.16488945484161377, 0.2939651310443878, -0.382843941450119, -0.2737220227718353, 0.22832748293876648, -0.37606412172317505, -0.2562800943851471, 0.09513471275568008, -0.8933645486831665, -0.21893927454948425, -0.8317225575447083, -0.030924508348107338, -0.388071745634079, -0.5020464062690735, 0.05751081556081772, -0.1561541110277176, 0.10883849114179611, 0.012051597237586975, -0.9291964173316956, 0.5818974375724792, 0.6934472918510437, 0.6787015795707703, -0.36209702491760254, -0.11041373759508133, -0.027639979496598244, -0.007444288581609726, -0.7406532764434814, 0.6818509101867676, -0.5468442440032959, -0.5136824250221252, 0.0536687858402729, -0.13166649639606476, 0.03757821023464203, -0.7809110879898071, 0.4313099682331085, -0.14752954244613647, 0.12735851109027863, 0.03589704632759094, -0.5282697677612305, 0.03796876221895218, 0.06252451986074448, -0.8037106990814209, 0.8516791462898254, 0.21142692863941193, -0.24344775080680847, 0.12834298610687256, -0.4727865755558014, -0.5683313012123108, -0.17038655281066895, -0.3265988230705261, -0.42519691586494446, 0.3965856730937958, 0.04553353786468506, 0.11852537840604782, -0.28152036666870117, 0.4077022969722748, -0.26831886172294617, -0.09697788953781128, 0.5639868378639221, -0.5319532155990601, 0.7062133550643921, 0.402049720287323, 0.03401372581720352, -0.14700691401958466, -1.0274415016174316, 0.05583381652832031, 0.37045401334762573, 0.05927281826734543, -0.41039809584617615, 0.148818239569664, 0.3226805329322815, 0.09139857441186905, -0.11010660231113434, -0.6669377684593201, 0.16540682315826416, -0.46737441420555115, 0.41205427050590515, 0.7082476615905762, -0.12133543938398361, 0.3435981273651123, -0.5067397356033325, 0.5215979814529419, -0.13722123205661774, 0.11271432787179947, 0.0424947626888752, -0.5923112630844116, -0.3516072928905487, -0.007552738767117262, 0.4910271465778351, 0.4274055063724518, -0.523215115070343, 0.24943745136260986, -0.057791683822870255, -0.6807491183280945, -0.6360805034637451, 0.16419373452663422, 0.1576729714870453, 0.3435693383216858, 0.15409724414348602, -0.3168333172798157, -0.8245154619216919, -0.988151490688324, -0.2860683798789978, -0.1428067684173584, 0.3044244647026062, 0.23661066591739655, 0.3460168242454529, -0.3735942542552948, 1.1656768321990967, -0.377882182598114, 0.04207243397831917, -0.4232510030269623, 0.22409208118915558, 0.10783975571393967, 0.7928026914596558, 0.5924769043922424, -0.923609733581543, -0.3328110873699188, 0.008856826461851597, -0.7361063957214355, 0.1059127151966095, -0.20888814330101013, -0.2656673491001129, 0.29529812932014465, 0.30157867074012756, -0.8520800471305847, 0.2579980492591858, 0.7845870852470398, -0.10698321461677551, 0.5340051054954529, -0.12832856178283691, 0.1027977243065834, -1.2208086252212524, 0.161934494972229, -0.04427341744303703, -0.28534793853759766, -0.998343825340271, -0.09715880453586578, -0.28537264466285706, -0.21016421914100647, -0.3287358582019806, 0.7138159871101379, -0.09646707773208618, -0.028769763186573982, -0.10001461207866669, -0.3331725001335144, -0.1713913530111313, 0.043725933879613876, 0.280691534280777, 0.9292407631874084, 0.30275583267211914, -0.41397741436958313, 0.429432213306427, 0.3012242615222931, -0.5340140461921692, 0.01618165895342827, -0.7399446368217468, 0.3414316773414612, -0.11916972696781158, 0.15736255049705505, -0.6689123511314392, -0.3396655023097992, 0.08537013828754425, -0.4597255289554596, 0.3456084728240967, 0.0503787100315094, -0.5986628532409668, -0.05654190480709076, 0.018653877079486847, 0.41566920280456543, 0.7721977233886719, -0.3548040986061096, 0.4759874939918518, 0.9149503111839294, -0.2745297849178314, -0.3399529457092285, -0.5399975180625916, 0.0923066958785057, -0.1431998759508133, -0.23774439096450806, 0.36300668120384216, -0.12217351794242859, -0.4973599314689636, -0.01476178877055645, 0.09198983758687973, -0.27405938506126404, 0.09162355959415436, 0.15719042718410492, 0.049631498754024506, -0.05687775835394859, -0.10020323097705841, -0.12676823139190674, -0.28478822112083435, 0.1559019684791565, -0.19068323075771332, 0.582032322883606, 0.13414780795574188, -0.23708480596542358, -0.4467621445655823, 0.5035015940666199, 0.6493073105812073, -0.09429844468832016, 0.6304658651351929, 0.25436416268348694, -0.6881757974624634, -0.47393232583999634, -0.3261672258377075, -0.2242193967103958, -0.45950430631637573, 0.28116318583488464, -0.08115614950656891, -0.4368186891078949, 0.3547545075416565, -0.08707895874977112, 0.039773017168045044, 0.1442319005727768, 0.4748043119907379, -0.27163344621658325, 1.2705374956130981, 0.6680448055267334, -0.1388801485300064, 0.40513864159584045, -0.26259103417396545, 0.4672415554523468, -0.27712148427963257, -0.22201523184776306, -0.7443704009056091, 0.25169602036476135, -0.8898645639419556, -0.15621814131736755, 0.18579760193824768, -0.2300497591495514, 0.03028162755072117, 0.20254874229431152, -0.18486148118972778, 0.4344576895236969, 0.8002390265464783, -0.19170904159545898, 0.40844637155532837, 0.14026999473571777, 0.13962578773498535, -0.07018127292394638, -0.4892536699771881, -0.7923975586891174, 1.1566771268844604, 0.2560414969921112, 0.7314265370368958, -0.1102042943239212, 0.4435007572174072, 0.35277631878852844, 0.1114787682890892, -0.3166198432445526, 0.3815405070781708, -0.1137952208518982, -0.8213796019554138, -0.3760830760002136, -0.4147418737411499, -1.0031245946884155, -0.014482651837170124, -0.30285635590553284, -0.3912127614021301, 0.043132759630680084, 0.4496559500694275, 0.04145968332886696, -0.08239966630935669, -0.7369859218597412, 0.8000032305717468, -0.28426817059516907, -0.1078128069639206, -0.19805753231048584, -0.44161251187324524, 0.3569583594799042, -0.32885727286338806, 0.5365874171257019, -0.04453354701399803, 0.4503748416900635, 0.5567057728767395, -0.28884515166282654, 0.7958624362945557, 0.06565254926681519, 0.013308356516063213, 0.5578694343566895, 0.028092948719859123, 0.5920635461807251, 0.07222682982683182, -0.09797769784927368, 0.3458002209663391, 0.16118912398815155, -0.3300224840641022, -0.8025783896446228, 0.5306259989738464, -0.7240840792655945, -0.45693767070770264, -0.5064327120780945, -0.6906635761260986, -0.5728842616081238, -0.0070698196068406105, -0.10591037571430206, 0.34710031747817993, -0.3333393335342407, 0.3222050964832306, 0.3142339289188385, -0.2821555733680725, 0.2379286140203476, 0.2758020758628845, -0.08142716437578201, -0.33202406764030457, 1.2435178756713867, 0.33447691798210144, 0.29436442255973816, -0.12657280266284943, 0.18708300590515137, -0.37279295921325684, -0.8773317933082581, -0.39235004782676697, 0.1658010631799698, -0.2778152525424957, 0.06232266128063202, -0.3748724162578583, -0.3399498462677002, -0.6584303379058838, 0.20922145247459412, -0.6647960543632507, -0.6940650939941406, 0.05575687438249588, -0.3454238772392273, 0.1721726655960083, 0.8214331865310669, -0.09393175691366196, -0.008656313642859459, -0.7847998738288879, 0.3178422451019287, 0.06163037195801735, 0.2868492901325226, -0.2259562462568283, 0.14830926060676575, -0.24610635638237, 0.4500575661659241, -0.08154720813035965, -0.534399151802063, 0.7614638805389404, 0.21798866987228394, 0.9649825096130371, -0.10172165185213089, 0.0773407593369484, 0.4515421390533447, -0.5266203284263611, 0.7900781035423279, -0.38258954882621765, -0.7346357107162476, 0.5548216700553894, -0.404011070728302, -0.15143385529518127, 0.41433802247047424, 0.518449068069458, -0.5185325741767883, -0.44820383191108704, -0.6666864156723022, -0.7234162092208862, 0.5019914507865906, 0.6116527915000916, 0.4516805410385132, 0.16855427622795105, 0.43825700879096985, 0.5052161812782288, 0.39559662342071533, -0.5066088438034058, -0.16351322829723358, -0.2594871520996094, -0.7479435801506042, -0.1719127744436264, 0.14226949214935303, 0.20685389637947083, -0.3130631744861603, 0.6769663095474243, -0.03995838388800621, 0.17237567901611328, -0.16359663009643555, 0.014745167456567287, 0.12494921684265137, 0.17152820527553558, 0.6312102675437927, 0.7778605818748474, -0.008550173602998257, -0.02639766037464142, 0.031105373054742813, -0.5368616580963135, 0.11631383001804352, -0.045406632125377655, -0.373349130153656, -0.04731554538011551, 0.365660160779953, 0.36336004734039307, -0.371801495552063, -1.0132732391357422, 0.13349375128746033, -0.11268702894449234, 0.07216033339500427, -0.5146213173866272, 0.21190378069877625, -0.09919171780347824, 0.026671646162867546, 0.24511021375656128, -0.04437883943319321, 0.1597532331943512, -1.0402147769927979, 0.33741822838783264, 0.386120468378067, -0.05430476740002632, -0.5088319182395935, 0.24529126286506653, 0.029867107048630714, -0.28930869698524475, 0.8665318489074707, 0.2699688971042633, -0.3211047947406769, 0.7017342448234558, 0.8277479410171509, 0.3927540183067322, -0.41483765840530396, 0.31546568870544434, 0.14370258152484894, 0.07570668309926987, -0.24409781396389008, 0.43575048446655273, 0.2014932632446289, -0.8950703144073486, -0.19235676527023315, -0.5163468718528748, -0.6046512126922607, 0.26833051443099976, -0.36908265948295593, 0.009916012175381184, -0.6009755730628967, -0.021336354315280914, -0.10864686965942383, -0.13121658563613892, -0.5054323077201843, 0.3337784707546234, 0.00015730081941001117, 0.5912354588508606, -0.8798038363456726, 0.9598541259765625, 0.2832895517349243, -0.44943705201148987, -0.6125068068504333, -0.2720790207386017, 0.19450508058071136, -0.727672815322876, 0.4485320448875427, -0.1067652702331543, 0.08809120953083038, 0.003632570616900921, -0.7314451336860657, -1.0356086492538452, 0.7055802345275879, 0.4876974821090698, -0.3886721432209015, -0.0435069277882576, 0.6110172271728516, 0.8072405457496643, -0.6145431399345398, -0.08405990898609161, 0.7989497184753418, 0.3572886884212494, 0.019525952637195587, -0.5786033272743225, -0.11503560841083527, -0.3672971725463867, 0.00138364196754992, -0.10983003675937653, -0.34315574169158936, 0.7698734998703003, -0.008315428160130978, -0.4488080143928528, 0.1709151715040207, 0.5553006529808044, 0.28793805837631226, 0.2898005545139313, 0.1661088615655899, 0.23151075839996338, 0.6567757725715637, -0.1543339341878891, 1.1474515199661255, -0.35845884680747986, 0.14183510839939117, 1.0348460674285889, -0.3865620493888855, 0.764457106590271, 0.2642502784729004, -0.16575908660888672, 0.38531845808029175, 0.5566331744194031, 0.031502559781074524, 0.4923534691333771, 0.21731004118919373, 0.1553530991077423, -0.08857598900794983, -0.43407323956489563, -0.312826931476593, 0.6253808736801147, 0.5173275470733643, -0.32826948165893555, 0.057908471673727036, -0.0473410040140152, -0.1797855645418167, 0.32212546467781067, 0.24818283319473267, 0.8058066964149475, 0.10224533081054688, -0.5084467530250549, 0.2138868272304535, -0.21053585410118103, 0.12606772780418396, -0.397225558757782, -0.5664080381393433, -0.28379321098327637, 0.21288970112800598, 0.051545992493629456, -0.6446009874343872, 0.6198439002037048, -0.08443255722522736, 0.01448117010295391, -0.41767895221710205, 0.381319522857666, -0.5254623889923096, -0.6062523722648621, -0.12687988579273224, 0.590912401676178, 0.042294107377529144, 0.1405867338180542, -0.4301692247390747, 0.13067330420017242, -0.27997297048568726, -0.13634636998176575, 0.20040327310562134, 0.20236091315746307, -0.20309534668922424, 0.7128130793571472, 1.063043236732483, 0.5143207311630249, 0.10813628137111664, 0.036405377089977264, 0.6073338985443115, -0.7717580795288086, -0.28439292311668396, -0.699620246887207, 0.48907470703125, -0.3433850407600403, -0.327619343996048, 0.6803467869758606, 0.6086279153823853, 1.1349846124649048, -0.05101728066802025, 1.0354188680648804, 0.21116773784160614, 0.7477314472198486, -0.7378206849098206, 0.8382840156555176, -0.1452406495809555, 0.011042393743991852, -0.03254108130931854, -0.9193069338798523, -0.4659903943538666, 0.7259407639503479, 0.060581136494874954, 0.10336057096719742, 0.4851698577404022, 0.8540568351745605, -0.03054030053317547, 0.21392981708049774, 0.1722276210784912, 0.13998140394687653, 0.6988965272903442, 0.10578157752752304, 0.9178799986839294, -0.4485265016555786, 0.19358216226100922, -0.3598182201385498, 0.05008488520979881, 0.10896259546279907, -0.6100983619689941, -0.7070029377937317, -0.9543322920799255, -0.27663567662239075, -0.13196615874767303, 0.1766943782567978, 1.2395074367523193, 1.0004632472991943, -1.2309677600860596, -0.26810720562934875, -0.4798295497894287, 0.12633228302001953, -0.16026271879673004, -0.17206346988677979, 0.18080337345600128, -0.2319803237915039, -1.0193148851394653, 0.5668397545814514, -0.10465212911367416, 0.6593224406242371, -0.19334647059440613, -0.14777711033821106, -0.05826479196548462, 0.39176619052886963, 0.4994615316390991, 0.469887912273407, -0.5815869569778442, -0.35828298330307007, -0.12657135725021362, -0.13088743388652802, -0.14204904437065125, 1.0209161043167114, -0.8060070276260376, 0.4151815176010132, 0.5023219585418701, 0.7753419280052185, 0.2119835764169693, 0.13598822057247162, 1.357024908065796, -0.5662518739700317, 0.14209726452827454, 0.3938443064689636, 0.3805605173110962, 0.4619414806365967, -0.2486449033021927, 0.6176165342330933, 0.18880504369735718, -0.3417285084724426, -1.0527443885803223, 0.1984165906906128, -0.5974994897842407, -0.26671043038368225, 1.0014160871505737, -0.02685253880918026, -0.20751221477985382, -0.43740761280059814, -0.3148879110813141, 0.27603283524513245, -0.3142682909965515, 1.065360188484192, 0.7147498726844788, -0.17087408900260925, -0.24656562507152557, -0.6452536582946777, 0.8633286356925964, 0.051020074635744095, -1.1485575437545776, 0.2604181170463562, 0.545462429523468, 0.040636345744132996, 0.008991432376205921, 0.18376486003398895, -0.2419663518667221, -0.07528045773506165, 0.04758382961153984, -0.3726769685745239, -0.14582818746566772, -0.6227597594261169, -0.1823861300945282, 0.005368832964450121, -0.0021629163529723883, 0.061966292560100555 ]
http://arxiv.org/abs/2404.07501v1
http://arxiv.org/pdf/2404.07501v1
Leveraging Data Augmentation for Process Information Extraction
2024-04-11T06:32:03
2024-04-11T06:32:03
Julian Neuberger, Leonie Doll, Benedict Engelmann, Lars Ackermann, Stefan Jablonski
cs.CL
cs.CL
Business Process Modeling projects often require formal process models as a central component. High costs associated with the creation of such formal process models motivated many different fields of research aimed at automated generation of process models from readily available data. These include process mining on event logs, and generating business process models from natural language texts. Research in the latter field is regularly faced with the problem of limited data availability, hindering both evaluation and development of new techniques, especially learning-based ones. To overcome this data scarcity issue, in this paper we investigate the application of data augmentation for natural language text data. Data augmentation methods are well established in machine learning for creating new, synthetic data without human assistance. We find that many of these methods are applicable to the task of business process information extraction, improving the accuracy of extraction. Our study shows, that data augmentation is an important component in enabling machine learning methods for the task of business process model generation from natural language text, where currently mostly rule-based systems are still state of the art. Simple data augmentation techniques improved the $F_1$ score of mention extraction by 2.9 percentage points, and the $F_1$ of relation extraction by $4.5$. To better understand how data augmentation alters human annotated texts, we analyze the resulting text, visualizing and discussing the properties of augmented textual data. We make all code and experiments results publicly available.
[ -0.33056724071502686, -1.0570292472839355, 0.3821982443332672, -0.07036711275577545, -0.35616612434387207, -0.04585015028715134, -0.24348998069763184, -0.9855930209159851, 0.006959385238587856, 0.9423907995223999, -0.6674671769142151, -0.3703693151473999, -0.4362170696258545, 0.3140609860420227, -0.17471858859062195, 1.1284451484680176, -0.022189833223819733, -0.20157186686992645, -0.16752353310585022, 0.17332495748996735, -0.4760003089904785, -0.6188348531723022, -0.45061787962913513, -0.3813568651676178, -0.11052253842353821, 0.5097377300262451, 0.5978167057037354, 0.6621037125587463, 0.5588356852531433, 0.2965620160102844, 0.10404601693153381, 0.4330228865146637, -0.06962306797504425, 0.3547157347202301, -0.08579406887292862, -0.35230305790901184, -0.39607033133506775, 0.12049056589603424, 0.5699387192726135, 0.8349285125732422, 0.10139200091362, 0.20538559556007385, 0.05515633523464203, 0.7892447113990784, -0.4101831912994385, 0.4980531632900238, -0.7057453989982605, 0.04942088574171066, -0.21099738776683807, -0.3479563295841217, -0.16935107111930847, -0.404705286026001, 0.5004134774208069, -0.5679119229316711, 0.5288034081459045, 0.0037642219103872776, 0.9334549307823181, -0.04275887459516525, -0.050529658794403076, -0.4902506172657013, -0.9776938557624817, 0.6054717898368835, -0.6980147957801819, 0.12721861898899078, 0.40930646657943726, 0.24151043593883514, -0.20323418080806732, -0.8326910734176636, -0.5338964462280273, -0.20089885592460632, -0.18578112125396729, -0.04898642376065254, -0.19927509129047394, 0.03833133727312088, 0.6326582431793213, 0.5622709393501282, -0.27893248200416565, -0.11861670017242432, -0.5003554821014404, -0.04103817790746689, 0.6810075640678406, 0.09350112080574036, 0.15966281294822693, -0.1849849373102188, -0.23258690536022186, 0.07953287661075592, -0.15731319785118103, -0.09259190410375595, 0.43949785828590393, 0.5096440315246582, 0.339529424905777, 0.7160203456878662, -0.4807959198951721, 0.685492992401123, -0.07918153703212738, 0.15793445706367493, 0.38985833525657654, -0.5113410949707031, -0.5224621295928955, 0.11273795366287231, 0.5714876055717468, 0.05833686143159866, 0.1293754279613495, -0.28626683354377747, -0.15505822002887726, -0.018448129296302795, 0.3487889766693115, -0.8949555158615112, -0.278251588344574, 0.1449488401412964, -0.40832972526550293, -0.2800796627998352, 0.4171077311038971, -0.7415934801101685, -0.4637044370174408, -0.6728538274765015, 0.24419954419136047, -0.5502011179924011, -0.15331965684890747, -0.27343204617500305, -0.5440654158592224, -0.0058813998475670815, 0.3222918212413788, -0.7878279089927673, 0.3465641438961029, 0.7723402380943298, 0.7273464798927307, -0.2706671953201294, 0.12278947979211807, -0.645134449005127, 0.17782267928123474, -0.3547239899635315, 0.5944197177886963, -0.8704814314842224, -0.24245256185531616, -0.20897571742534637, 0.10556704550981522, 0.19983907043933868, -0.874327540397644, 0.9613887667655945, -0.3628346920013428, 0.29907625913619995, 0.07164034247398376, -0.9324949383735657, -0.2447739839553833, 0.06368374824523926, -0.8912645578384399, 1.1665658950805664, -0.03966008126735687, -0.5947862863540649, 0.5981045961380005, -0.8653176426887512, -0.49583569169044495, 0.2620301842689514, -0.1423347145318985, -0.6433711647987366, 0.2596488296985626, 0.430135577917099, 0.5566083192825317, -0.2820321023464203, 0.09320005774497986, -0.2376064956188202, 0.017223913222551346, 0.4296781122684479, -0.5117049813270569, 0.5993772745132446, 0.26625388860702515, -0.22200635075569153, -0.2018621414899826, -1.006395936012268, -0.17099149525165558, -0.0992380827665329, -0.31469735503196716, -0.4410117268562317, -0.08978765457868576, 0.05140510946512222, 0.13289615511894226, 0.2399962991476059, -0.5417649149894714, 0.13023754954338074, -0.7360633611679077, -0.08737975358963013, 0.5002729892730713, 0.5791568160057068, 0.5057334303855896, -0.21527987718582153, 0.4228423833847046, -0.004071271512657404, -0.08795832842588425, -0.5739027857780457, -0.5776438117027283, -0.5946944952011108, -0.4966149926185608, 0.2154259830713272, 0.4151255190372467, -0.5988326072692871, 0.6134633421897888, -0.19271643459796906, -0.5524527430534363, -0.6921558380126953, 0.30930855870246887, -0.1595482975244522, 0.8226591348648071, 0.3050003945827484, -0.24023263156414032, -0.9806696176528931, -0.8562878370285034, -0.43247702717781067, 0.052721671760082245, -0.2553388476371765, 0.051843054592609406, 0.23309096693992615, -0.29747623205184937, 1.2979930639266968, -0.6272950172424316, -0.22193960845470428, -0.27948737144470215, 0.5924856662750244, 0.37242835760116577, 0.469756543636322, 0.08726223558187485, -0.8526756167411804, -0.19828566908836365, 0.322314590215683, -0.6122975945472717, -0.21527881920337677, -0.32405373454093933, -0.14404375851154327, 0.5662112832069397, -0.07840925455093384, -0.43577390909194946, 0.7491621971130371, 0.11681173741817474, -0.002652302384376526, 0.5484355688095093, -0.3494639992713928, 0.17646892368793488, -0.9806157350540161, 0.35625696182250977, 0.33089375495910645, -0.3489949107170105, -0.9879006743431091, -0.21745344996452332, 0.04958612099289894, -0.3450506925582886, 0.13785792887210846, 0.25747406482696533, -0.4897095859050751, -0.039094675332307816, -0.6788076758384705, -0.11807340383529663, 0.29520660638809204, 0.35771259665489197, 0.40606290102005005, 0.40654492378234863, 0.3498556315898895, -0.708736777305603, 0.3961910307407379, 0.16637462377548218, -0.341994971036911, 0.31163662672042847, -0.21824967861175537, 0.11317671090364456, -0.21725159883499146, -0.05385582894086838, -0.8305131793022156, -0.17452076077461243, 0.37917569279670715, -0.47312837839126587, 0.255446195602417, -0.2047460675239563, -0.5254802703857422, -0.07802896946668625, -0.13453470170497894, -0.49961045384407043, 0.47888892889022827, -0.5140682458877563, 0.5643119812011719, 0.6395702958106995, -0.3923887014389038, -0.11355596780776978, -0.7344745397567749, 0.15123362839221954, -0.14796675741672516, -0.5323116779327393, 0.26368072628974915, 0.1069093719124794, -0.08202430605888367, 0.018011463806033134, -0.3861728608608246, -0.5251771807670593, 0.11111941188573837, 0.2640729546546936, 0.677946925163269, 0.17882750928401947, 0.3090273141860962, -0.04727042093873024, -0.23099322617053986, 0.22088885307312012, -0.2334223985671997, 0.09255838394165039, 0.27540701627731323, -0.11929576843976974, -0.7518206834793091, 0.3244969844818115, 0.23252035677433014, -0.13086439669132233, 0.6979860067367554, 0.6541531682014465, -0.8444332480430603, 0.04688518866896629, -0.6217861771583557, -0.32873356342315674, -0.4465169608592987, 0.2129717320203781, -0.07380802929401398, -0.36835238337516785, 0.30146607756614685, -0.34868738055229187, 0.22136692702770233, 0.43793997168540955, 0.31722161173820496, -0.030319292098283768, 0.8927326202392578, 0.6278494596481323, -0.09890012443065643, 0.5653733611106873, -0.19146083295345306, 0.3364828824996948, -0.4725899398326874, -0.32806816697120667, -0.6867920160293579, -0.06101708114147186, -0.5100482702255249, -0.3463705778121948, 0.13134492933750153, 0.0011143733281642199, 0.5739962458610535, 0.3031430244445801, -0.3830750286579132, 0.16888561844825745, 0.42759639024734497, 0.04315447434782982, 0.6319544911384583, 0.3478286564350128, 0.24538488686084747, -0.3860641419887543, -0.4578910768032074, -0.7937358021736145, 1.0132062435150146, 0.3560473918914795, 0.42570605874061584, -0.28114157915115356, 0.5906623005867004, 0.42037394642829895, 0.3190895915031433, -0.5256664752960205, 0.34376659989356995, 0.11024860292673111, -0.7308722734451294, -0.3226517140865326, -0.5778947472572327, -0.8551415205001831, -0.0409502275288105, -0.5671407580375671, -0.6025120615959167, 0.17872542142868042, 0.09947934001684189, -0.034172430634498596, 0.04949341341853142, -0.8715785145759583, 0.5562750101089478, 0.004226404242217541, -0.5054522752761841, -0.06186207756400108, -0.4320138692855835, 0.15609204769134521, -0.265144020318985, 0.3372654616832733, 0.056216951459646225, -0.026837117969989777, 0.7712369561195374, -0.720970094203949, 0.6544675827026367, -0.18947406113147736, -0.08392570912837982, 0.3164758086204529, -0.36584097146987915, 0.9857854843139648, 0.018134236335754395, -0.45577335357666016, 0.04424882307648659, -0.2863411605358124, -0.1904110610485077, -0.8961867690086365, 0.344370573759079, -0.05261371284723282, -0.21153292059898376, -0.35212886333465576, -0.36859503388404846, -0.13795503973960876, 0.001980516593903303, -0.042564935982227325, 0.3084251582622528, -0.11495140194892883, 0.07721135765314102, 0.48247453570365906, -0.021671323105692863, 0.5629026293754578, 0.37071046233177185, 0.04888511449098587, -0.42588353157043457, 0.9001805782318115, 0.16536298394203186, -0.00626236479729414, 0.3436383306980133, 0.07952858507633209, -0.34573474526405334, -0.4715922176837921, -0.3073011338710785, -0.16949836909770966, -0.4069546163082123, -0.17209826409816742, -0.6782978177070618, -0.16671383380889893, -0.5221192240715027, 0.1631988286972046, -0.08442651480436325, -0.7108331918716431, -0.5342718362808228, -0.24003060162067413, 0.46846044063568115, 0.37848812341690063, 0.03673733025789261, 0.1288641095161438, -1.095065712928772, 0.44233494997024536, 0.11430338770151138, 0.21453556418418884, -0.15144619345664978, -0.17682552337646484, -0.5341638922691345, 0.20787902176380157, -0.34724655747413635, -1.0644911527633667, 0.6235530376434326, 0.27757516503334045, 0.5583043098449707, 0.4359632134437561, 0.04340376332402229, 0.8870898485183716, -0.19720785319805145, 0.5573652386665344, -0.11807288229465485, -0.8588899374008179, 0.7581170797348022, -0.027071235701441765, 0.06062563881278038, 0.5089800357818604, 0.4345310628414154, -0.3542470335960388, -0.37883588671684265, -0.9170984029769897, -0.93264240026474, 0.9358747601509094, 0.5771628618240356, 0.0491175502538681, 0.15796245634555817, 0.5238306522369385, 0.6024163365364075, 0.3924570381641388, -0.4295884668827057, -0.22204001247882843, 0.295430988073349, -0.28228235244750977, 0.18031874299049377, 0.04801051318645477, 0.31131747364997864, -0.24557332694530487, 1.0177956819534302, 0.11483966559171677, -0.006267883814871311, 0.3064587712287903, -0.20185810327529907, -0.0033542721066623926, 0.20564883947372437, 0.05435730516910553, 0.5546280741691589, -0.1450006514787674, -0.11590283364057541, 0.2407902181148529, -0.5643131732940674, -0.3040858209133148, 0.5600175857543945, -0.12237704545259476, 0.38175666332244873, 0.27897727489471436, 0.907982349395752, -0.21490882337093353, -0.7707019448280334, 0.07591478526592255, 0.15091457962989807, -0.1369897723197937, -0.2164466679096222, 0.18807697296142578, -0.3247556686401367, 0.3188106417655945, 0.7062893509864807, 0.16877543926239014, 0.6048161387443542, -0.6272484660148621, 0.4222504794597626, 0.3823685348033905, -0.3124985098838806, -0.13384287059307098, 0.24067336320877075, 0.11121494323015213, -0.292205274105072, 0.40542563796043396, -0.18837490677833557, -0.09734217822551727, 0.24438098073005676, 0.46532905101776123, 0.7546154260635376, -0.09081774950027466, 0.13057827949523926, 0.34010300040245056, 0.30994075536727905, 0.058768242597579956, 0.15668487548828125, -0.2765178680419922, -0.2678512930870056, -0.584526777267456, -0.48426055908203125, -0.5389822125434875, 0.29984626173973083, -0.43841803073883057, 0.42962712049484253, -0.26769372820854187, -0.24034003913402557, 0.16053524613380432, 0.40470123291015625, -0.5806090235710144, 0.21395036578178406, 0.17112506926059723, 0.5708839297294617, -0.8918192982673645, 0.5866358876228333, 0.6257678270339966, -0.4414707124233246, -0.3327696919441223, -0.054930754005908966, -0.4479774534702301, -0.19086861610412598, 0.4315357208251953, 0.34043729305267334, 0.2746390998363495, -0.13040117919445038, -0.3403761684894562, -0.44335657358169556, 0.7469975352287292, 0.3435908257961273, -0.3664698004722595, 0.11269614100456238, 0.3359096348285675, 0.6440666913986206, -0.4164102077484131, 0.16542965173721313, 0.7516030669212341, 0.5211629271507263, 0.208759605884552, -0.3445582985877991, 0.18658484518527985, -0.36192232370376587, -0.03406088054180145, 0.2907302975654602, 0.2829084098339081, 0.3423749506473541, 0.09903546422719955, -0.39628586173057556, -0.2264263927936554, 0.7898042798042297, 0.20640425384044647, 0.4920334219932556, 0.28485772013664246, 0.4091002643108368, 1.101503610610962, 0.08558106422424316, 0.7255889773368835, 0.1337272971868515, 0.05132198706269264, 1.1969143152236938, -0.3248752951622009, 0.6253719925880432, 0.44141581654548645, 0.01774492673575878, 0.5033318400382996, 0.37429845333099365, -0.11395502090454102, 0.14725016057491302, -0.011384926736354828, -0.3926889896392822, 0.10512466728687286, -0.0063521065749228, -0.040419355034828186, 0.17141175270080566, 0.4957408905029297, -0.6164649128913879, -0.0512072816491127, -0.017713638022542, -0.10105203837156296, -0.009128682315349579, -0.07252679765224457, 1.1441676616668701, -0.28249362111091614, -0.6220367550849915, 0.1749863475561142, -0.010387146845459938, 0.3044784665107727, -0.5215562582015991, -0.4170045554637909, 0.11811010539531708, 0.006734554190188646, -0.34052062034606934, -0.5891982913017273, 0.591602623462677, 0.4467680752277374, -0.2901279330253601, -0.27241843938827515, 1.058323860168457, -0.44897928833961487, -0.7439621090888977, -0.18363560736179352, 0.19876620173454285, 0.2754901647567749, -0.3081323206424713, -0.45452645421028137, -0.13221584260463715, 0.01646847277879715, -0.16229607164859772, 0.007424124050885439, 0.6498886346817017, 0.058148857206106186, 0.34961599111557007, 0.9809262156486511, 0.32907000184059143, 0.10633585602045059, -0.11416257172822952, 0.7456669807434082, -0.6045957803726196, -0.5136206746101379, -0.989597499370575, 0.6998534798622131, -0.7878572940826416, 0.11939089000225067, 0.7052494883537292, 0.90372633934021, 0.4249520003795624, 0.014460943639278412, 1.2176165580749512, 0.09885493665933609, 0.6555363535881042, -0.5761696100234985, 0.33988356590270996, -0.1063607931137085, 0.42896974086761475, -0.5375356078147888, -0.8888641595840454, -0.23553195595741272, 0.37489020824432373, -0.3425053060054779, -0.17452701926231384, 0.5278542637825012, 0.6901167631149292, 0.005502378102391958, 0.5521699786186218, -0.10584468394517899, -0.13178716599941254, 0.2600307762622833, 0.028277184814214706, 0.3818424642086029, -0.5295881628990173, 0.5284081101417542, -0.4097287058830261, -0.4396718740463257, -0.2820173501968384, -0.9975874423980713, -0.689817488193512, -0.6801802515983582, -0.5611457824707031, -0.03174767643213272, -0.09319507330656052, 0.9473773241043091, 0.5637031197547913, -0.6484238505363464, -0.13742001354694366, -0.4581974148750305, 0.021355096250772476, -0.22602976858615875, -0.29581066966056824, 0.1312006264925003, -0.6860705614089966, -0.7861014604568481, 0.3565404415130615, 0.27251359820365906, 0.3231252431869507, 0.06835958361625671, 0.17016422748565674, -0.3312729001045227, -0.05020713433623314, 0.3836217224597931, 0.1826263666152954, -0.11533233523368835, 0.06918305903673172, -0.1692640483379364, 0.28611165285110474, 0.20929107069969177, 0.7297865152359009, -0.8909815549850464, 0.6516615748405457, 0.7308946847915649, 0.9133109450340271, 0.8363981246948242, 0.26174572110176086, 0.801567792892456, -1.0806810855865479, 0.06658802181482315, 0.03856594115495682, 0.031174378469586372, 0.5088893175125122, -0.524296760559082, 0.5643740296363831, 0.3113025724887848, -0.3401707708835602, -0.6180575489997864, 0.07211188971996307, -0.7207849025726318, -0.13675794005393982, 0.7848861813545227, 0.12720654904842377, -0.3423115313053131, -0.314141184091568, -0.5653602480888367, 0.6658610701560974, -0.5695474147796631, 0.755482017993927, 0.6989494562149048, -0.4179036319255829, 0.13779614865779877, -0.6149228811264038, 0.5959637761116028, 0.018792735412716866, -1.239579200744629, 0.367287814617157, 0.6232994198799133, -0.04938371852040291, 0.1321505457162857, 0.3894040584564209, -0.04912656173110008, 0.050556790083646774, -0.35380417108535767, 0.22285613417625427, -0.10014211386442184, 0.05250760167837143, -0.5042665004730225, 0.28379955887794495, -0.12928658723831177, -0.27741554379463196 ]
http://arxiv.org/abs/2404.07498v1
http://arxiv.org/pdf/2404.07498v1
Interactive Prompt Debugging with Sequence Salience
2024-04-11T06:22:56
2024-04-11T06:22:56
Ian Tenney, Ryan Mullins, Bin Du, Shree Pandya, Minsuk Kahng, Lucas Dixon
cs.CL
cs.CL, cs.AI, cs.HC, cs.LG
We present Sequence Salience, a visual tool for interactive prompt debugging with input salience methods. Sequence Salience builds on widely used salience methods for text classification and single-token prediction, and extends this to a system tailored for debugging complex LLM prompts. Our system is well-suited for long texts, and expands on previous work by 1) providing controllable aggregation of token-level salience to the word, sentence, or paragraph level, making salience over long inputs tractable; and 2) supporting rapid iteration where practitioners can act on salience results, refine prompts, and run salience on the new output. We include case studies showing how Sequence Salience can help practitioners work with several complex prompting strategies, including few-shot, chain-of-thought, and constitutional principles. Sequence Salience is built on the Learning Interpretability Tool, an open-source platform for ML model visualizations, and code, notebooks, and tutorials are available at http://goo.gle/sequence-salience.
[ -0.07045461237430573, -0.9695737361907959, 0.7130547165870667, 0.5906840562820435, -0.3619600534439087, 0.1513475626707077, 0.03586648032069206, -0.3935853838920593, 0.3594060242176056, 0.32925885915756226, -0.6977154612541199, -0.5844457149505615, -0.49981144070625305, 0.32029375433921814, -0.42458516359329224, 0.7992525100708008, 0.19200512766838074, -0.004539717920124531, -0.423706591129303, 0.14472690224647522, -0.7058855891227722, -0.37262552976608276, -0.7664961218833923, 0.07977846264839172, 0.98138427734375, 0.741875410079956, 0.3755742907524109, 0.4270210862159729, 0.5987273454666138, 0.212337926030159, -0.3398061692714691, -0.06648850440979004, -0.4117061495780945, 0.7116038203239441, -0.056839946657419205, -0.41167715191841125, -0.37489989399909973, -0.33856022357940674, 0.4236298203468323, 0.6380318999290466, 0.32452890276908875, 0.3986820876598358, 0.0993504747748375, 0.5955091714859009, -0.40671032667160034, 0.21752120554447174, -0.1547800600528717, 0.2514907121658325, -0.2865794897079468, -0.39827871322631836, -0.3198891282081604, -0.39483416080474854, 0.10570170730352402, -0.5538537502288818, -0.026340030133724213, 0.181275874376297, 0.3662494421005249, 0.7799478769302368, -0.3375656306743622, -0.3254588842391968, -0.30758848786354065, 0.44936269521713257, -0.5366138815879822, 0.10372162610292435, 0.16478995978832245, 0.4977361559867859, -0.11361999809741974, -0.9336502552032471, -0.5113481879234314, -0.4323107898235321, -0.15453101694583893, 0.16534407436847687, -0.0830710232257843, 0.10390400886535645, 0.5827426910400391, 0.3574110269546509, -0.5498115420341492, 0.3040626347064972, -0.15990252792835236, 0.035202499479055405, 0.39726394414901733, 0.3941050171852112, 0.3889552056789398, -0.3531501591205597, -0.3721518814563751, 0.21333971619606018, -0.6418837904930115, 0.3973105549812317, 0.28580135107040405, 0.16126099228858948, -0.2237519770860672, 0.5599393844604492, -0.06620540469884872, 0.8421732187271118, -0.17621348798274994, 0.2492828071117401, -0.14122888445854187, -0.23641085624694824, -0.017477501183748245, 0.3097691237926483, 0.6574840545654297, 0.3021355867385864, 0.006710153538733721, -0.01172547321766615, 0.025365442037582397, -0.3459821343421936, 0.05425380542874336, -0.7275885939598083, -0.48395025730133057, 0.5640964508056641, -0.5071720480918884, -0.36756354570388794, 0.1516333818435669, -1.1813079118728638, -0.980495274066925, -0.40181732177734375, 0.17210730910301208, -0.335934579372406, 0.16387301683425903, 0.07881134003400803, -0.5419384837150574, 0.07952722907066345, 0.6042845845222473, -0.8327975869178772, -0.06274400651454926, 0.6290021538734436, 0.9552592039108276, -0.4526759386062622, -0.06693235039710999, -1.0644935369491577, -0.12819184362888336, 0.27307093143463135, 0.8236163854598999, -0.7127243876457214, -0.7237350344657898, -0.15768848359584808, -0.05493726581335068, 0.29752299189567566, -0.49515315890312195, 0.48252445459365845, -0.15615172684192657, 0.22617843747138977, -0.3346169590950012, -0.5034029483795166, -0.031928423792123795, 0.41933178901672363, -0.84332674741745, 0.983519434928894, 0.060827042907476425, -0.8123035430908203, 0.18671797215938568, -1.195483922958374, -0.13344089686870575, 0.23272983729839325, -0.10231725871562958, -0.09850558638572693, -0.05056685954332352, 0.0092209717258811, 0.3333578109741211, -0.041694026440382004, -0.03200308233499527, -0.33293667435646057, -0.7434515357017517, 0.2267768234014511, -0.28637853264808655, 0.8005313873291016, -0.027918074280023575, -0.4332883656024933, 0.5689693689346313, -1.0875310897827148, -0.22373056411743164, 0.04961945489048958, -0.2043685019016266, -0.27806806564331055, -0.15082673728466034, -0.04675934836268425, -0.14927297830581665, 0.394308477640152, -0.31701502203941345, 0.7199957966804504, -0.0939796045422554, 0.19931767880916595, 0.8613055944442749, 0.25152823328971863, 0.10396965593099594, 0.2876482605934143, 1.007786512374878, 0.18638484179973602, 0.06264696270227432, -0.7455808520317078, -0.55596524477005, -0.6790827512741089, -0.5575451850891113, 0.20201575756072998, 0.724746584892273, -0.6659207940101624, 0.3653620183467865, 0.028766989707946777, -0.08018594235181808, -0.43219810724258423, -0.17912952601909637, 0.15015684068202972, 0.7353933453559875, 0.4381019175052643, 0.04812365025281906, -0.5108873844146729, -0.6908714771270752, -0.4655052423477173, -0.18195515871047974, -0.09987609833478928, 0.06261318176984787, 0.3901267349720001, -0.21005141735076904, 1.0123469829559326, -0.744678795337677, 0.31718987226486206, -0.058213137090206146, 0.527280867099762, 0.37225353717803955, 0.38365939259529114, 0.5510069131851196, -0.6130581498146057, -0.19346871972084045, -0.3317834138870239, -0.5912013053894043, -0.5195895433425903, -0.22793681919574738, -0.09787046164274216, -0.08925892412662506, 0.37115079164505005, -0.4809912145137787, 0.4975380599498749, 0.18691802024841309, -1.0497395992279053, 0.8089994192123413, 0.171530082821846, 0.3060479760169983, -0.9529805183410645, 0.30533117055892944, -0.16938480734825134, -0.18908751010894775, -0.37311533093452454, -0.028725307434797287, -0.023883936926722527, -0.10523448139429092, -0.4635303020477295, 0.8441736698150635, -0.2803746163845062, -0.13747566938400269, -0.1361227184534073, -0.1782694011926651, 0.13325689733028412, 0.1826762855052948, -0.3425922989845276, 0.680270254611969, 0.5686601400375366, -0.5871027112007141, 0.884067177772522, 0.29224660992622375, -0.11655226349830627, 0.5147597789764404, -0.8206978440284729, 0.1598769724369049, -0.21710287034511566, 0.004418619908392429, -1.2076137065887451, -0.3990791440010071, 0.5799219012260437, -0.3304602801799774, 0.19902057945728302, -0.13414309918880463, -0.49544575810432434, -0.43951648473739624, -0.548732578754425, 0.3638775050640106, 0.40018853545188904, -0.8384405970573425, 0.2087959200143814, -0.45035669207572937, -0.5435528755187988, -0.7432352304458618, -0.6225817799568176, 0.15345332026481628, -0.3645240068435669, -0.40785691142082214, 0.09266293048858643, -0.39523354172706604, -0.43424534797668457, -0.1714026778936386, -0.05730833113193512, 0.03328863903880119, 0.46185529232025146, 0.615606963634491, 0.4146413803100586, -0.0313054583966732, 0.19974900782108307, 0.39420387148857117, -0.22949601709842682, 0.2520407736301422, -0.11938197910785675, 0.3575817942619324, -0.2165367752313614, -0.6835125088691711, -0.36073267459869385, 0.45269498229026794, 0.5874221920967102, -0.07086703926324844, 0.22515355050563812, 0.6478666067123413, -0.10878275334835052, 0.0589132159948349, -0.09045296907424927, -0.24200019240379333, -0.45647016167640686, 0.10769354552030563, -0.18193355202674866, -1.0769304037094116, 0.6268839836120605, -0.1723320037126541, 0.06802478432655334, 0.2623389661312103, 0.3265722692012787, -0.14135389029979706, 0.8269228935241699, 0.7381094694137573, 0.31012076139450073, 0.5684278607368469, -0.09761322289705276, -0.0016304197488352656, -0.38105231523513794, -0.39278796315193176, -0.4533675014972687, -0.5690329670906067, 0.06325122714042664, -0.25628089904785156, 0.38798871636390686, 0.5239197015762329, -0.15827994048595428, -0.21573497354984283, -0.657646894454956, 0.7288221716880798, 0.594549298286438, -0.04961840808391571, 0.39629819989204407, -0.29039305448532104, -0.04388285055756569, -0.2295210063457489, -0.43440496921539307, -0.5437968969345093, 0.3791012465953827, 0.34477221965789795, 0.8072922825813293, 0.24991834163665771, 0.9807175397872925, 0.5826244354248047, 0.09821391105651855, -1.2806727886199951, 0.6479044556617737, 0.1799713522195816, 0.05327960476279259, -0.3814837634563446, -0.32328757643699646, -1.0393576622009277, -0.1592843234539032, -0.08174975216388702, -0.8711845874786377, 0.17823733389377594, 0.6195645928382874, -0.8600666522979736, 0.0951237827539444, -0.580173671245575, 1.1776752471923828, -0.24316461384296417, -0.37418898940086365, 0.04104837030172348, -0.8633771538734436, 0.4740707576274872, 0.24364031851291656, -0.09296467900276184, 0.024153023958206177, -0.1693682223558426, 0.48586660623550415, -0.27198725938796997, 1.144119143486023, -0.21339434385299683, -0.3195096254348755, 0.14287500083446503, 0.18907517194747925, 0.25597500801086426, 0.2841194272041321, -0.1466614156961441, -0.056862082332372665, -0.03248891979455948, -0.4307316839694977, -0.7392387986183167, 0.6273516416549683, -0.15973453223705292, -0.6390334963798523, -0.3145327568054199, -0.40273797512054443, 0.2024674266576767, 0.17359785735607147, 0.20146943628787994, 0.5001333951950073, -0.24590428173542023, -0.1310998797416687, 0.7141644954681396, -0.3790295720100403, 0.8743047118186951, 0.29565322399139404, -0.447150319814682, -0.18525804579257965, 0.71151202917099, -0.17654268443584442, -0.05982791632413864, 0.34018951654434204, 0.16040177643299103, -0.3489656150341034, -0.32207387685775757, -0.6766310930252075, -0.3461873531341553, -0.739220917224884, -0.23944897949695587, -0.5411431193351746, 0.14669547975063324, -0.24578507244586945, -0.16580061614513397, 0.21459737420082092, -0.93172687292099, -0.6210721135139465, -0.23740671575069427, 0.8330723643302917, 0.8994114398956299, 0.0012647256953641772, 0.28186503052711487, -1.1567306518554688, 0.39493000507354736, 0.48979493975639343, 0.36520013213157654, -0.08084824681282043, -0.38312041759490967, -0.1108831986784935, -0.3667469024658203, -0.39220166206359863, -1.1845223903656006, 0.22434739768505096, -0.05442802235484123, 0.24612873792648315, 0.5157493948936462, 0.12895247340202332, 0.6077933311462402, -0.4841127395629883, 1.4062620401382446, 0.3551766276359558, -1.1212923526763916, 0.8525795936584473, -0.2999905049800873, 0.5738564729690552, 0.3803207576274872, 0.34330669045448303, -0.5863234996795654, -0.44478145241737366, -0.4494324326515198, -1.1671030521392822, 0.2444075047969818, -0.1933024376630783, -0.0036076302640140057, -0.3910108804702759, 0.37862628698349, 0.6065279841423035, 0.192501038312912, -0.3919416069984436, -0.3109232485294342, -0.27135342359542847, -0.32906970381736755, 0.3165687918663025, -0.46803751587867737, -0.21025414764881134, -0.30330902338027954, 0.1247539296746254, -0.19961783289909363, 0.2176400125026703, 0.32818102836608887, -0.2575727105140686, 0.05858676880598068, 0.48252952098846436, 0.8788793683052063, 0.8296812772750854, -0.23298810422420502, 0.3749566972255707, 0.04675733670592308, -0.24568453431129456, 0.018025286495685577, 0.2698492407798767, 0.07802969962358475, 0.2732638418674469, 0.3719871938228607, 0.8699894547462463, 0.4161062240600586, -0.9508883953094482, 0.4910717010498047, -0.008548746816813946, 0.18816262483596802, -0.24348275363445282, 0.10828416794538498, -0.049522534012794495, 0.43003055453300476, 0.5795716047286987, -0.2780725955963135, 0.5574742555618286, -0.41029125452041626, 0.06636018306016922, 0.17620761692523956, -0.25438937544822693, -0.24326980113983154, 0.8719061017036438, 0.4323195815086365, -0.3646896779537201, 0.4654625356197357, -0.20903059840202332, -0.49105769395828247, 0.7725039720535278, 0.3889351189136505, 0.8283708095550537, -0.008943557739257812, 0.1453048288822174, 0.260025292634964, -0.223427414894104, 0.16097363829612732, 0.5744062662124634, -0.19438640773296356, 0.05569719523191452, -0.4894908666610718, -0.35377755761146545, -0.7615591883659363, -0.10896473377943039, -0.8388214111328125, 0.3105335533618927, -0.4500693380832672, -0.12711483240127563, -0.025257769972085953, -0.48473769426345825, -0.2828744053840637, -0.1733035296201706, 0.18859949707984924, 1.1114165782928467, -0.5298680663108826, 0.26812177896499634, 0.8405553698539734, -0.4366455078125, -0.2072887271642685, 0.07664192467927933, 0.21400980651378632, -0.5899009108543396, 1.0671093463897705, 0.5411027669906616, -0.03715309128165245, 0.17158028483390808, -1.0465537309646606, -0.4421078562736511, 1.1910605430603027, 0.26488471031188965, -0.5932637453079224, 0.046291232109069824, -0.2544727921485901, 0.3538733124732971, -0.07587039470672607, 0.2730899751186371, 0.5614957809448242, 0.6835514307022095, 0.06470555812120438, -0.6770623922348022, 0.27249813079833984, -0.36012721061706543, -0.28653785586357117, 0.20819881558418274, -0.44698137044906616, 0.43187013268470764, -0.5485772490501404, -0.03931368514895439, 0.2283010333776474, 0.8620176911354065, 0.47382673621177673, 0.690314769744873, 0.5233054757118225, 0.47665509581565857, 1.077496886253357, -0.3151280879974365, 0.9460610747337341, -0.21953986585140228, 0.042939119040966034, 1.2313790321350098, -0.033285509794950485, 0.5385746359825134, 0.758888304233551, 0.08460968732833862, 0.7153414487838745, 0.7658752202987671, -0.15507210791110992, 0.28112366795539856, 0.5663136839866638, -0.4862554967403412, -0.020267587155103683, -0.17987267673015594, -0.4285123646259308, 0.09351453185081482, 0.29326918721199036, -0.2599483132362366, -0.06926071643829346, 0.14843639731407166, -0.04317285865545273, -0.17467492818832397, -0.5388909578323364, 0.5835058093070984, 0.2361050248146057, -0.4147246181964874, 0.4772906005382538, -0.36202505230903625, 0.7137612700462341, -0.34377825260162354, -0.4857131838798523, -0.22486303746700287, -0.2916773855686188, -0.30984243750572205, -1.0502253770828247, 0.21488158404827118, 0.2807106077671051, -0.3754924535751343, -0.2880551815032959, 0.7224740386009216, -0.4531117379665375, -0.11606483906507492, 0.015640316531062126, 0.5360313057899475, 0.40726110339164734, -0.051168303936719894, -0.565397322177887, -0.03693775832653046, -0.048969678580760956, -0.5072340965270996, 0.010573891922831535, 0.6190617084503174, 0.08552537113428116, 0.6271835565567017, 0.5220716595649719, -0.3573729991912842, 0.1544102132320404, 0.3470066487789154, 0.9188952445983887, -1.173445463180542, -0.35674232244491577, -1.1059694290161133, 1.2311646938323975, -0.4061180353164673, -0.40081316232681274, 0.6658061146736145, 0.37927550077438354, 0.05843866616487503, -0.4414390027523041, 0.7545420527458191, -0.011171060614287853, 0.31665605306625366, -0.6122215390205383, 0.3816681206226349, -0.3625344932079315, 0.41850900650024414, -0.05934157595038414, -0.6413228511810303, -0.5141484141349792, 0.2372218370437622, -0.009380726143717766, -0.4100227653980255, 0.5794267654418945, 0.43828725814819336, 0.06857961416244507, -0.038255687803030014, 0.11293977499008179, 0.10503270477056503, 0.1408548206090927, 0.2688644826412201, 1.2215042114257812, 0.2797294855117798, 0.3189883530139923, 0.02121054381132126, -0.37169310450553894, -0.4383629858493805, -1.1924763917922974, -0.918156623840332, -0.06841272860765457, -0.4861060380935669, -0.38917455077171326, 0.0031808223575353622, 1.144901990890503, 0.14687331020832062, -0.7218244671821594, 0.22590042650699615, -0.022733569145202637, 0.408152312040329, -0.06124407425522804, -0.36526715755462646, 0.14467386901378632, -0.5135571956634521, -0.7106983065605164, 0.4969296157360077, 0.48868420720100403, 0.44825220108032227, -0.19606640934944153, 0.14806269109249115, 0.23687149584293365, -0.20187696814537048, 0.8617097735404968, 0.6177716851234436, -0.7073472142219543, -0.2307942509651184, 0.13265812397003174, -0.006470607127994299, -0.15815167129039764, 0.993799090385437, -0.7138321995735168, 0.39212745428085327, 0.6997348070144653, 0.6572052836418152, 0.09428413957357407, 0.1619243174791336, 0.6094081997871399, -0.9969180822372437, 0.20529092848300934, 0.38722914457321167, 0.436847060918808, 0.1217137798666954, -0.8223104476928711, 0.5872118473052979, 0.14801828563213348, -0.4665123522281647, -0.9716642498970032, 0.35284164547920227, -1.3426976203918457, -0.3128521740436554, 0.9572844505310059, -0.29006239771842957, -0.02957005985081196, 0.016317926347255707, -0.7735453248023987, 0.21752366423606873, -0.49603965878486633, 0.7490602135658264, 0.6961387395858765, -0.5468846559524536, -0.3262642025947571, -0.14535361528396606, 0.5201817750930786, 0.44161534309387207, -1.1395847797393799, 0.10079964995384216, 0.778944194316864, -0.11172469705343246, 0.13632850348949432, 0.3344346880912781, 0.17677757143974304, 0.3188512325286865, -0.17924493551254272, 0.1596163511276245, -0.37009915709495544, -0.3755810856819153, -0.847200334072113, -0.039780694991350174, 0.018120499327778816, -0.19816522300243378 ]
http://arxiv.org/abs/2404.08020v1
http://arxiv.org/pdf/2404.08020v1
Augmenting Knowledge Graph Hierarchies Using Neural Transformers
2024-04-11T05:53:38
2024-04-11T05:53:38
Sanat Sharma, Mayank Poddar, Jayant Kumar, Kosta Blank, Tracy King
cs.AI
cs.AI, cs.CL, cs.DL, cs.IR, cs.LG
Knowledge graphs are useful tools to organize, recommend and sort data. Hierarchies in knowledge graphs provide significant benefit in improving understanding and compartmentalization of the data within a knowledge graph. This work leverages large language models to generate and augment hierarchies in an existing knowledge graph. For small (<100,000 node) domain-specific KGs, we find that a combination of few-shot prompting with one-shot generation works well, while larger KG may require cyclical generation. We present techniques for augmenting hierarchies, which led to coverage increase by 98% for intents and 99% for colors in our knowledge graph.
[ -0.5624205470085144, -0.4772816598415375, 0.4309006631374359, -0.12513217329978943, -0.0035575826186686754, 0.0378149151802063, -0.08068415522575378, -0.5471110939979553, 0.2635584771633148, 0.43633967638015747, -0.5394914150238037, -0.5154434442520142, -0.46779942512512207, -0.12260813266038895, -0.2331455945968628, 0.9408051371574402, 0.2688106894493103, -0.24352768063545227, -0.26165902614593506, -0.19867080450057983, -0.6587150692939758, -0.27970728278160095, -0.571999192237854, -0.8181374073028564, 1.027051329612732, 0.6817989945411682, 1.1417856216430664, 0.5113143920898438, 0.37223777174949646, 0.40106719732284546, -0.22537676990032196, 0.364845871925354, -0.624850869178772, 0.4541011154651642, -0.009589596651494503, -0.5188499689102173, -0.5018739104270935, -0.2160809338092804, 0.5305805802345276, 1.122791051864624, 0.19765159487724304, 0.04354415833950043, 0.06748955696821213, 0.742778480052948, -0.5425196886062622, 0.5462063550949097, -0.454633891582489, 0.21443986892700195, -0.14858075976371765, -0.27798548340797424, -0.3188314437866211, -0.3977741301059723, 0.4290003478527069, -0.8628518581390381, -0.03779223561286926, 0.20564870536327362, 0.38557761907577515, 0.03976939991116524, -0.30641111731529236, -0.039398182183504105, -0.8801865577697754, 0.4965305030345917, -0.3731459975242615, 0.40901800990104675, 0.3503555953502655, 0.7711382508277893, -0.022182172164320946, -1.169289231300354, -0.5257856249809265, -0.016791369765996933, -0.5801544189453125, 0.01033856999129057, -0.41473719477653503, 0.06004553660750389, 0.46721547842025757, 0.23680898547172546, -0.3445896804332733, 0.1182011067867279, -0.4054561257362366, -0.25089558959007263, 0.42075851559638977, 0.4069138467311859, 0.5729480981826782, -0.36360490322113037, -0.15718260407447815, -0.36489102244377136, -0.8100322484970093, -0.1263245940208435, 0.6138308644294739, 0.29155051708221436, 0.3639822006225586, 0.7578373551368713, -0.5928674936294556, 1.064212679862976, -0.06927275657653809, -0.14801408350467682, 0.29007649421691895, -0.5653374195098877, -0.12370117008686066, 0.06320865452289581, 0.42938095331192017, 0.3852253556251526, 0.3477408289909363, -0.46856576204299927, -0.14107906818389893, -0.27196717262268066, 0.44060754776000977, -0.8637418746948242, -0.27694833278656006, -0.04979453235864639, -0.3905659317970276, -0.4529685378074646, -0.11555617302656174, -0.6680113077163696, -0.6240043640136719, -0.2648232877254486, 0.5512659549713135, -0.6340392827987671, -0.2262432873249054, 0.038613151758909225, -0.6417956352233887, -0.07356581836938858, 0.39328134059906006, -0.9633464813232422, 0.07982129603624344, 0.4415301978588104, 0.5616366267204285, 0.09730854630470276, -0.45807501673698425, -0.017271962016820908, 0.24487297236919403, -0.30937570333480835, 0.7960096597671509, -0.46754512190818787, -0.1567605584859848, 0.11261682957410812, -0.14608925580978394, -0.04057348519563675, -0.5361854434013367, 0.10336055606603622, -0.9454924464225769, 0.18130899965763092, -0.3390011191368103, -0.4233475923538208, -0.37819531559944153, 0.5663366913795471, -0.7139989733695984, 1.0092756748199463, 0.6390297412872314, -0.8724938035011292, 0.48985838890075684, -0.7806640267372131, -0.6716518998146057, 0.39108383655548096, 0.05704089626669884, -0.2171209156513214, -0.33144518733024597, 0.3339734971523285, 0.3162227272987366, -0.0342959389090538, -0.09059492498636246, 0.024796675890684128, -0.2448030412197113, 0.06890478730201721, -0.17335927486419678, 0.6467631459236145, 0.2078453004360199, -0.10337694734334946, 0.20976796746253967, -0.4577954113483429, 0.08131840080022812, 0.09338207542896271, -0.08259361982345581, -0.39786025881767273, -0.04547681659460068, -0.34604522585868835, 0.0933479443192482, 0.15124930441379547, -0.2556200325489044, 0.5234941840171814, -0.7620996832847595, 0.33765870332717896, 0.4271484911441803, 0.3348847031593323, 0.929369330406189, -0.3405205309391022, 0.6771854162216187, 0.2316274791955948, 0.2878649830818176, -0.4243178069591522, -0.7895553708076477, -0.6896492838859558, 0.12325756251811981, 0.2369489222764969, 0.13800084590911865, -1.2799385786056519, 0.34820231795310974, -0.48225584626197815, -0.5304563641548157, -0.3152192234992981, 0.11103572696447372, 0.047782789915800095, 0.774040937423706, 0.417378306388855, -0.20636676251888275, -0.43243998289108276, -0.816494882106781, 0.14240403473377228, -0.31306397914886475, -0.06694405525922775, 0.356661856174469, 0.1702960580587387, -0.2379826307296753, 1.1350822448730469, -0.7384690642356873, -0.20437876880168915, -0.4655686318874359, 0.21959467232227325, 0.25660958886146545, 0.1849391609430313, 0.6835566163063049, -0.600897490978241, -0.43443191051483154, 0.23191948235034943, -0.6886220574378967, 0.14711308479309082, 0.058028995990753174, -0.37780728936195374, -0.24930594861507416, 0.4302597939968109, -0.5838302969932556, 0.4588813781738281, 0.08288794010877609, -0.289963036775589, 0.3026021718978882, 0.09636066854000092, 0.09313026070594788, -1.1064397096633911, -0.15553772449493408, -0.36584433913230896, -0.2847810983657837, -0.8853901028633118, 0.04893046244978905, -0.07451740652322769, -0.10938559472560883, -0.4959584176540375, 0.4681645333766937, -0.2174226939678192, -0.11421387642621994, -0.25791439414024353, 0.24038638174533844, 0.0366598516702652, 0.45594197511672974, -0.24884799122810364, 0.6798502206802368, 0.6541311144828796, -0.6108853220939636, 0.49940693378448486, 0.6122806072235107, -0.5165140628814697, 0.29110080003738403, -0.43173712491989136, -0.0042815012857317924, -0.3166700005531311, 0.08853064477443695, -0.9471641182899475, -0.40678462386131287, 0.25294187664985657, -0.41317448019981384, 0.28326475620269775, -0.48625051975250244, -0.7594367861747742, -0.666748583316803, -0.15449170768260956, 0.3717697262763977, 0.6811632513999939, -0.8757761716842651, 0.449334979057312, 0.294890820980072, -0.06870802491903305, -0.5705826282501221, -0.6277453899383545, 0.05291103199124336, -0.014832952991127968, -0.9685243964195251, 0.43756428360939026, 0.08761338144540787, -0.020112888887524605, 0.15613120794296265, 0.05253306031227112, 0.16731882095336914, -0.0888487696647644, 0.20298995077610016, 0.14195723831653595, -0.29658374190330505, 0.5312383770942688, 0.012083646841347218, -0.10643763095140457, -0.09001725167036057, -0.9024263620376587, 0.8768653273582458, 0.11175625026226044, -0.4340164065361023, -0.2731626033782959, -0.01864488236606121, 0.6464550495147705, -0.191986545920372, 0.8970549702644348, 0.5349594354629517, -0.3852926194667816, -0.2421112358570099, -0.2910047471523285, -0.485787570476532, -0.5780835747718811, 0.2593173384666443, -0.24466590583324432, -0.8942135572433472, 0.5023872256278992, -0.01408215332776308, -0.15776348114013672, 0.46675190329551697, 0.5664958953857422, -0.008555987849831581, 1.2865145206451416, 0.4834670126438141, -0.2932960093021393, 0.7213020324707031, -0.4899580776691437, 0.409175843000412, -0.6275140643119812, -0.3280680477619171, -0.4170914590358734, -0.6006331443786621, -0.636992871761322, -0.21529072523117065, 0.7136488556861877, 0.21972577273845673, -0.09006888419389725, 0.5695288181304932, -0.6449207663536072, 0.698428213596344, 0.5783349871635437, 0.42572394013404846, 0.3053967356681824, 0.27937138080596924, -0.11263623833656311, 0.18468406796455383, -1.1965138912200928, -0.15895389020442963, 0.9387416839599609, 0.33413371443748474, 0.9091132879257202, -0.06637299805879593, 0.6405132412910461, 0.01808241754770279, 0.4333900511264801, -1.1667943000793457, 0.4125705063343048, 0.06446241587400436, -0.38647955656051636, -0.6360880732536316, -0.3357638120651245, -1.24658203125, -0.03839762508869171, -0.27311697602272034, -0.6710774898529053, 0.2583237290382385, 0.22199270129203796, -0.46859660744667053, 0.27394530177116394, -0.7492841482162476, 0.7915197014808655, 0.10849403589963913, -0.011125147342681885, -0.08500460535287857, -0.4745842516422272, 0.26668834686279297, 0.15227685868740082, -0.36496809124946594, 0.2599748969078064, 0.42840906977653503, 0.7196959257125854, -0.6336747407913208, 0.8366860747337341, -0.17457546293735504, 0.13664968311786652, 0.5178447961807251, 0.05494001880288124, 0.5858337879180908, -0.2066534459590912, -0.2855806350708008, -0.20016154646873474, -0.3863455355167389, -0.22544102370738983, -1.053044080734253, 0.513634204864502, -0.6215522885322571, -0.6473773717880249, 0.146312415599823, -1.0836037397384644, -0.3727802038192749, 0.4693058133125305, 0.1516076922416687, 0.49353504180908203, 0.2613998353481293, 0.39548569917678833, 0.41697046160697937, -0.11493058502674103, 0.2813909351825714, 0.13993914425373077, -0.15266171097755432, -0.19094102084636688, 0.8470326066017151, 0.3394721746444702, 0.3320028781890869, 0.14808331429958344, 0.4088195860385895, -0.3981700539588928, -0.5732396245002747, -0.36929556727409363, -0.17507602274417877, -1.0217386484146118, -0.5716188549995422, -0.8765840530395508, -0.38808485865592957, -0.6954447031021118, -0.0962635800242424, 0.23639987409114838, -0.8838739991188049, -0.028539855033159256, -0.35578152537345886, 0.7021658420562744, 1.0361506938934326, 0.17993323504924774, 0.6859310865402222, -0.7616521120071411, 0.2528347671031952, 0.7512503266334534, 0.2242213636636734, 0.29312559962272644, -0.30250298976898193, -0.3880574703216553, -0.21497316658496857, -0.35472768545150757, -1.0285593271255493, 0.33835914731025696, -0.1388714462518692, 0.6257256865501404, 0.47798609733581543, -0.07709931582212448, 0.8725820183753967, -0.5512570142745972, 0.6676967144012451, 0.3363058865070343, -0.41001084446907043, 0.5852426886558533, -0.4441438913345337, 0.4428700804710388, 0.4909021556377411, 0.4330548644065857, -0.5808279514312744, -0.4412577450275421, -0.728719174861908, -0.8192480206489563, 0.8761628270149231, 0.31883570551872253, 0.3486098051071167, -0.015168406069278717, 0.3318697512149811, -0.19219161570072174, 0.18704892694950104, -0.333082377910614, -0.35928434133529663, -0.35163500905036926, -0.2948007583618164, 0.2662595510482788, 0.052720945328474045, -0.3293587863445282, -0.4696232080459595, 0.47067758440971375, -0.40560057759284973, 0.25758668780326843, -0.013265597634017467, -0.04278690367937088, -0.35139164328575134, 0.22751612961292267, 0.023644886910915375, 0.7391530275344849, 0.04747582599520683, 0.3135172724723816, 0.25040557980537415, -0.27394968271255493, -0.18342620134353638, 0.17545895278453827, -0.4471592605113983, -0.21086905896663666, 0.35214653611183167, 0.866745114326477, 0.13078194856643677, -0.11437635123729706, 0.3341646194458008, 0.23190663754940033, 0.01795353926718235, 0.19054171442985535, 0.39617452025413513, 0.2176666259765625, 0.3672747015953064, 0.2696070671081543, 0.18914060294628143, 0.12258894741535187, -0.7392892837524414, 0.3383454978466034, 0.41735008358955383, -0.34068459272384644, -0.11381784826517105, 0.2538003921508789, 0.08274947106838226, -0.3594608008861542, 0.9645846486091614, -0.2782239019870758, -0.8099308013916016, 0.7354931235313416, 0.6890117526054382, 0.5225733518600464, 0.05009886249899864, 0.4588698446750641, 0.5502951145172119, 0.4438323974609375, 0.033878814429044724, 0.08378017693758011, -0.1419740468263626, -1.0652974843978882, -0.440475195646286, -0.5988097786903381, -0.42610490322113037, -0.06631528586149216, -0.3551676571369171, 0.25018227100372314, -0.10506482422351837, -0.17910701036453247, 0.32065215706825256, -0.19764471054077148, -0.8168651461601257, 0.037774618715047836, -0.11651622503995895, 1.0867887735366821, -0.6066548824310303, 0.9465429782867432, 0.6259397268295288, -0.6650426983833313, -0.9593411087989807, -0.06651107221841812, -0.345054030418396, -0.905417263507843, 0.8270106315612793, 0.022436585277318954, 0.03990432992577553, 0.26324403285980225, -0.5320016145706177, -0.6208536028862, 1.385286808013916, 0.11762987822294235, -0.32729873061180115, -0.18794837594032288, 0.5694677829742432, 0.758985161781311, -0.40499889850616455, 0.1748073846101761, 0.5562701225280762, 0.8053510785102844, 0.3761841356754303, -0.41238316893577576, -0.03629462420940399, -0.04784616455435753, -0.20806169509887695, 0.32083016633987427, -0.07346631586551666, 0.5572915077209473, -0.14468605816364288, -0.12817534804344177, -0.1222735345363617, 0.5129527449607849, 0.09335113316774368, 0.24541226029396057, 0.8291412591934204, 0.5770514607429504, 0.7128047943115234, -0.24572627246379852, 1.319523572921753, -0.4784151315689087, 0.1116202175617218, 0.8743290305137634, -0.010246695019304752, 0.3066073954105377, 0.2977806627750397, -0.010146350599825382, 0.5774859189987183, 0.4151812195777893, 0.01701434515416622, 0.31061771512031555, -0.017040854319930077, -0.25640779733657837, -0.2883323132991791, -0.4077407121658325, -0.2390836626291275, 0.14801588654518127, 0.32846200466156006, -0.23683379590511322, -0.3175979554653168, 0.04627048224210739, -0.057085178792476654, -0.31958988308906555, -0.2860468626022339, 0.8975509405136108, -0.20456872880458832, -0.9173857569694519, 0.35570815205574036, -0.2965356111526489, 0.23881228268146515, -0.6544228196144104, -0.20291629433631897, -0.2110346406698227, -0.18458567559719086, -0.4433412253856659, -1.1849433183670044, 0.258022278547287, -0.24234206974506378, -0.18445977568626404, -0.47779327630996704, 1.3460785150527954, -0.4800444543361664, -0.29748857021331787, 0.2828068733215332, 0.720766544342041, -0.2578303813934326, -0.060471005737781525, -0.332856148481369, -0.5285732746124268, -0.24114631116390228, -0.31512415409088135, 0.2366536259651184, 0.3504878282546997, -0.07803042232990265, 0.5152178406715393, 0.6772952675819397, -0.0815548226237297, 0.19768840074539185, 0.5937861800193787, 1.3206769227981567, -0.38476091623306274, -0.3420315384864807, -0.48474496603012085, 0.5394929051399231, -0.20788754522800446, 0.008027623407542706, 0.7995870113372803, 0.40930497646331787, 0.8321940302848816, -0.07617083191871643, 0.5808736681938171, -0.2667573392391205, -0.001088127144612372, -0.371315598487854, 0.8618332147598267, -0.5062132477760315, 0.10451366007328033, 0.02039356529712677, -0.861489474773407, -0.3937382698059082, 0.3365032374858856, -0.3910336196422577, 0.0033166625071316957, 0.6303698420524597, 1.0602010488510132, -0.17195779085159302, 0.08642106503248215, 0.5126760601997375, 0.2450592815876007, 0.04290977492928505, 0.1425236165523529, 1.0890272855758667, -0.27213022112846375, 0.7583595514297485, -0.48999303579330444, -0.0599001944065094, 0.06331276893615723, -0.5500012040138245, -0.944290280342102, -0.3406066298484802, -0.1030605286359787, -0.5212841033935547, -0.005885681137442589, 0.545976996421814, 1.018054723739624, -0.7041574120521545, 0.1399652659893036, -0.10128746926784515, 0.6267529726028442, -0.23457376658916473, -0.3006325662136078, 0.23345062136650085, -0.7635582089424133, -0.7348709106445312, 0.6654495596885681, 0.3259359300136566, 0.10337311774492264, -0.42219382524490356, -0.06287959963083267, 0.04043606296181679, -0.22952605783939362, 0.8653257489204407, 0.11083658784627914, -0.12338627129793167, -0.4798445999622345, 0.3085865378379822, 0.008248956874012947, 0.22859646379947662, 1.1386306285858154, -1.0743438005447388, 0.6001859307289124, 1.1435670852661133, 0.5822296142578125, 0.6216228008270264, -0.09202168881893158, 0.4516494870185852, -1.2086740732192993, 0.09548258036375046, 0.21004368364810944, 0.4276784360408783, 0.1054014042019844, -0.4268277883529663, 0.6439275145530701, 0.09431791305541992, -0.36793890595436096, -0.4649672508239746, 0.3874577581882477, -0.8704869747161865, -0.1690288931131363, 0.9532820582389832, 0.16692835092544556, -0.22199176251888275, -0.24900083243846893, -0.20494438707828522, 0.45803314447402954, -0.1669078916311264, 0.6028707027435303, 0.5378155708312988, -0.3293303847312927, 0.03354015201330185, -0.35113590955734253, 0.4867924451828003, 0.3351501226425171, -1.1590101718902588, -0.2774971127510071, 0.32708925008773804, 0.1169172003865242, 0.606317400932312, 0.5370641350746155, -0.26043134927749634, 0.1640775352716446, -0.20650626718997955, -0.09857995808124542, -0.09238404780626297, -0.6134098172187805, -0.02481761947274208, 0.36208462715148926, -0.0037293576169759035, 0.08017205446958542 ]
http://arxiv.org/abs/2404.07475v2
http://arxiv.org/pdf/2404.07475v2
Laissez-Faire Harms: Algorithmic Biases in Generative Language Models
2024-04-11T05:09:03
2024-04-16T04:07:42
Evan Shieh, Faye-Marie Vassel, Cassidy Sugimoto, Thema Monroe-White
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG
The rapid deployment of generative language models (LMs) has raised concerns about social biases affecting the well-being of diverse consumers. The extant literature on generative LMs has primarily examined bias via explicit identity prompting. However, prior research on bias in earlier language-based technology platforms, including search engines, has shown that discrimination can occur even when identity terms are not specified explicitly. Studies of bias in LM responses to open-ended prompts (where identity classifications are left unspecified) are lacking and have not yet been grounded in end-consumer harms. Here, we advance studies of generative LM bias by considering a broader set of natural use cases via open-ended prompting. In this "laissez-faire" setting, we find that synthetically generated texts from five of the most pervasive LMs (ChatGPT3.5, ChatGPT4, Claude2.0, Llama2, and PaLM2) perpetuate harms of omission, subordination, and stereotyping for minoritized individuals with intersectional race, gender, and/or sexual orientation identities (AI/AN, Asian, Black, Latine, MENA, NH/PI, Female, Non-binary, Queer). We find widespread evidence of bias to an extent that such individuals are hundreds to thousands of times more likely to encounter LM-generated outputs that portray their identities in a subordinated manner compared to representative or empowering portrayals. We also document a prevalence of stereotypes (e.g. perpetual foreigner) in LM-generated outputs that are known to trigger psychological harms that disproportionately affect minoritized individuals. These include stereotype threat, which leads to impaired cognitive performance and increased negative self-perception. Our findings highlight the urgent need to protect consumers from discriminatory harms caused by language models and invest in critical AI education programs tailored towards empowering diverse consumers.
[ -0.2721785008907318, -0.8028075695037842, 0.36437156796455383, 0.31613779067993164, 0.13605189323425293, -0.09074468165636063, -0.15219560265541077, -0.5571761131286621, 0.0861445739865303, 0.4193236827850342, -0.6025806665420532, -0.3572494685649872, -0.48732033371925354, 0.00532620120793581, -0.44755983352661133, 1.1099191904067993, 0.14941412210464478, 0.12803052365779877, -0.08510777354240417, -0.22258391976356506, -0.5983088612556458, -0.4954600930213928, -0.40974605083465576, -0.03579572215676308, 0.656304121017456, 0.29482147097587585, 0.9740158319473267, 0.25170332193374634, 0.051555242389440536, 0.2416699379682541, -0.10739859193563461, -0.14265182614326477, -0.47632312774658203, 0.30420398712158203, -0.22283935546875, -0.5856296420097351, -0.1690319925546646, 0.2853612005710602, 0.26328498125076294, 0.7339273691177368, -0.05759410932660103, 0.4995516240596771, 0.3265264928340912, 0.824737012386322, -0.9131298065185547, -0.30675947666168213, -0.5310131311416626, 0.23327717185020447, -0.3711528778076172, 0.012736299075186253, -0.6047489047050476, -0.5625648498535156, -0.09428083151578903, -0.48807793855667114, 0.4036085903644562, 0.04700285568833351, 0.6992797255516052, 0.36691904067993164, -0.4014648497104645, -0.6209524273872375, -0.9291853904724121, 0.8136836886405945, -0.5201548337936401, 0.4522477686405182, 0.3133651614189148, 0.19345402717590332, -0.10617716610431671, -0.42486074566841125, -0.7506865859031677, -0.19881947338581085, -0.038095589727163315, 0.17281241714954376, -0.3378327488899231, 0.14571499824523926, 0.586516797542572, 0.2516911029815674, -0.47148793935775757, 0.36341190338134766, -0.5675243139266968, -0.032299887388944626, 0.6519098877906799, 0.15046191215515137, 0.6711475253105164, -0.1510641723871231, -0.24280957877635956, -0.02167734131217003, -0.8852236270904541, 0.2367836833000183, 0.8079062104225159, 0.29333555698394775, -0.1535061150789261, 0.73287433385849, 0.14590750634670258, 0.5100679993629456, 0.06084410101175308, 0.03802861273288727, 0.41699108481407166, 0.04203116148710251, -0.3068416118621826, 0.16803258657455444, 1.015748381614685, 0.6586242318153381, 0.5675124526023865, 0.04300856217741966, -0.07218671590089798, 0.33484017848968506, 0.16361373662948608, -0.5919167995452881, 0.346619188785553, 0.20555518567562103, -0.752299427986145, -0.28237566351890564, 0.10877609252929688, -0.9206857681274414, -0.64069002866745, -0.10276307910680771, 0.19417069852352142, 0.028519028797745705, -0.009240416809916496, 0.059914663434028625, -0.14564819633960724, 0.07794070243835449, 0.02233649045228958, -0.836212694644928, 0.18369241058826447, 0.38538962602615356, 0.7146298289299011, -0.11968379467725754, 0.046843621879816055, -0.4027613699436188, 0.02398335188627243, -0.43003469705581665, 0.5012655258178711, -0.4750395715236664, -0.5721172094345093, 0.16407078504562378, -0.17348282039165497, 0.10036984086036682, -0.8582313656806946, 0.9467710256576538, -0.46466806530952454, 0.415067583322525, -0.5520322918891907, -0.05864604935050011, 0.049180109053850174, -0.21955174207687378, -0.6783684492111206, 0.7810523509979248, -0.07017628848552704, -0.8390073180198669, 0.40005210041999817, -0.6246758103370667, -0.4764920473098755, 0.11878347396850586, -0.5585225820541382, -0.28810808062553406, 0.15653353929519653, 0.15944740176200867, 0.27184659242630005, -0.41451236605644226, 0.3389998972415924, -0.2675671875476837, -0.2893780767917633, 0.394180566072464, -0.7205643057823181, 1.0233913660049438, 0.36970558762550354, -0.6683135032653809, 0.17273518443107605, -0.3253560960292816, -0.29071345925331116, 0.2596822679042816, -0.04642578586935997, -0.42175549268722534, 0.0392964631319046, 0.14349782466888428, 0.34709033370018005, -0.026576044037938118, -0.5144322514533997, -0.3079312741756439, -0.36218830943107605, 0.22659073770046234, 1.1746512651443481, -0.217372864484787, 0.46937790513038635, -0.5097415447235107, 0.7442272305488586, 0.00030117330607026815, 0.48574405908584595, -0.20071262121200562, -0.5857595205307007, -0.6594035625457764, -0.1677813082933426, 0.06357893347740173, 0.5556915402412415, -0.560409665107727, 0.1585036814212799, -0.07087387889623642, -0.1805732250213623, -0.5998040437698364, -0.08058220148086548, 0.2934551239013672, 0.4523295760154724, 0.07044633477926254, -0.10030972212553024, -0.30140194296836853, -1.296167254447937, -0.6471056342124939, -0.20203156769275665, -0.285501092672348, 0.6530562043190002, 0.06527400761842728, -0.3848245441913605, 0.9977428913116455, -0.418228417634964, -0.4434543251991272, 0.126942440867424, -0.009761222638189793, 0.18786513805389404, 0.1086147129535675, 0.6402073502540588, -0.6588471531867981, -0.6620247960090637, -0.2690379023551941, -0.7870615720748901, -0.6277563571929932, -0.207858607172966, 0.00449571805074811, 0.2156827449798584, 0.28086891770362854, -0.5916079878807068, 0.472906231880188, 0.5159002542495728, -0.41398903727531433, 0.5300408601760864, 0.1441550999879837, -0.018759869039058685, -0.8034480810165405, -0.05678335204720497, 0.2166694849729538, 0.07669514417648315, -0.595565915107727, -0.0005983407027088106, -0.17423377931118011, 0.03171810880303383, -0.44586458802223206, 0.612712025642395, -0.4233700633049011, -0.0018561688484624028, -0.20828506350517273, -0.040858954191207886, -0.06910031288862228, -0.12434454262256622, -0.1461150199174881, 1.014929175376892, 0.29449278116226196, -0.5700766444206238, -0.07600422948598862, 0.03777719661593437, -0.32241472601890564, 0.40505871176719666, -0.7676290273666382, 0.12254644185304642, -0.5585775971412659, 0.14988155663013458, -0.5553802251815796, -0.0015812659403309226, 0.655689537525177, -0.36834388971328735, -0.13540992140769958, 0.18601861596107483, -0.3988521099090576, -0.2828429639339447, -0.26615944504737854, 0.7751652002334595, 0.772230327129364, -0.7452231049537659, 0.4703497290611267, 0.47244733572006226, -0.22662368416786194, -0.6719048619270325, -0.5546306371688843, 0.17018912732601166, -0.4472237229347229, -0.6710096597671509, 0.32744503021240234, -0.225815549492836, -0.5901779532432556, -0.21840423345565796, 0.045247942209243774, 0.37126868963241577, 0.03293222561478615, 0.4019445478916168, 0.07059982419013977, 0.11408749222755432, 0.14682713150978088, 0.19056305289268494, -0.0042493646033108234, 0.28790485858917236, -0.035770054906606674, 0.6036949157714844, 0.05004941672086716, -0.36103692650794983, -0.22232991456985474, 0.6499138474464417, 0.34889400005340576, -0.12376226484775543, 0.6918414831161499, 0.36216259002685547, -0.40774106979370117, -0.3138575851917267, -0.5210821628570557, -0.1590316891670227, -0.5416099429130554, 0.1221100464463234, -0.04770205542445183, -1.0459983348846436, 0.5723547339439392, 0.24826839566230774, -0.014658885076642036, 0.3698222041130066, 0.7409633994102478, -0.05256316065788269, 1.1687960624694824, 0.539775013923645, -0.1352488100528717, 0.5530999302864075, 0.14227597415447235, 0.5142411589622498, -0.5484076142311096, -0.3363509178161621, -0.7471569776535034, -0.18473578989505768, -0.9396792054176331, -0.4972258508205414, 0.3851175010204315, -0.010550815612077713, -0.3636859059333801, -0.37967348098754883, -0.5466561913490295, 0.5428364872932434, 0.6343353390693665, 0.028947193175554276, 0.19178055226802826, 0.16341593861579895, -0.15197157859802246, -0.23685474693775177, -0.6164467930793762, -0.8424786329269409, 1.1324130296707153, 0.6199928522109985, 0.9447191953659058, 0.16155920922756195, 0.5000020861625671, 0.7396848201751709, 0.5940499305725098, -0.5885330438613892, 0.3368494510650635, -0.045943450182676315, -0.8135917782783508, -0.01284448616206646, -0.37868112325668335, -0.9367663264274597, -0.010080465115606785, 0.024059735238552094, -0.9385004639625549, 0.5063449144363403, 0.2850607931613922, -0.264869749546051, 0.020165828987956047, -0.575814425945282, 0.7479029297828674, -0.48059913516044617, -0.5136035084724426, -0.01781376637518406, -0.46866682171821594, 0.5027741193771362, -0.11712969839572906, 0.7343617677688599, -0.3467332124710083, 0.08171728253364563, 0.7807994484901428, -0.2870735824108124, 0.9752020835876465, -0.27748531103134155, -0.352936714887619, 0.2998282015323639, 0.1363605111837387, 0.2904491126537323, 0.08100444823503494, -0.03540077805519104, 0.3568806052207947, -0.33645692467689514, -0.3410102427005768, -0.3773697316646576, 0.6286090612411499, -0.7830731868743896, -0.6532713770866394, -0.5566093325614929, -0.3274073302745819, 0.008585099130868912, 0.14115816354751587, 0.5753987431526184, -0.008441065438091755, -0.3680962920188904, -0.3007163107395172, 0.6559786796569824, -0.7008847594261169, 0.2595325708389282, 0.24046844244003296, -0.2950332760810852, -0.17933259904384613, 0.9006115794181824, -0.02508528158068657, 0.30471163988113403, -0.20308661460876465, 0.23739223182201385, -0.11042918264865875, -0.2676866948604584, -0.35858073830604553, 0.036588482558727264, -0.7249216437339783, -0.0949043408036232, -0.5777390599250793, -0.1160019040107727, -0.30383190512657166, -0.15036891400814056, -0.255279541015625, -0.03405570983886719, -0.3009346127510071, -0.14560452103614807, -0.08206050097942352, 0.7395521998405457, -0.09553585946559906, 0.4379434883594513, -0.5533260107040405, 0.49288231134414673, 0.28731009364128113, 0.36102381348609924, 0.037442855536937714, -0.2026013731956482, 0.019205821678042412, 0.3226059079170227, -0.3150887191295624, -1.077000379562378, 0.059172727167606354, 0.06736766546964645, 0.6606184840202332, 0.6713762283325195, 0.27399638295173645, 0.15354162454605103, -0.5083575248718262, 0.9113759398460388, 0.3530671000480652, -0.8305617570877075, 0.3585304915904999, -0.4567301869392395, 0.08902636915445328, 0.3394921123981476, 0.46886634826660156, -1.044793963432312, -0.32406970858573914, -0.32672178745269775, -0.9188770055770874, 0.7689854502677917, 0.2577071785926819, 0.6244115233421326, -0.5357202291488647, 0.20467063784599304, 0.4468337297439575, 0.29049602150917053, -1.1417031288146973, -0.6184229254722595, -0.21538709104061127, -0.25504863262176514, 0.09668193012475967, -0.5436391830444336, -0.048580192029476166, 0.05421096459031105, 0.6664969325065613, -0.16527648270130157, 0.30171290040016174, 0.0831780955195427, -0.0802847295999527, -0.3616082966327667, 0.3730733096599579, 0.44292840361595154, 0.24425919353961945, 0.07016953825950623, -0.02132793329656124, -0.2769003212451935, -0.27531710267066956, 0.22656244039535522, 0.12342388927936554, -0.888218104839325, -0.13030506670475006, 0.09421822428703308, 0.8496429324150085, -0.4291468858718872, -0.9336594343185425, 0.5158831477165222, -0.1742181032896042, 0.16210126876831055, -0.3697730600833893, -0.09600900858640671, -0.26881685853004456, 0.10622145980596542, 0.36589357256889343, 0.018258821219205856, 0.48089948296546936, -0.6798900961875916, -0.2408948838710785, 0.7622042894363403, -0.42682406306266785, -0.1864565759897232, 0.7827356457710266, 0.23659640550613403, -0.5052744150161743, 0.46711158752441406, -0.12409678846597672, -0.48379889130592346, 0.38631483912467957, 0.4328206777572632, 1.0937579870224, -0.4755989611148834, 0.47611257433891296, 0.24410313367843628, 0.5423200726509094, 0.11219756305217743, 0.18893897533416748, 0.09320449084043503, -1.0238018035888672, -0.025677505880594254, -0.642368495464325, 0.03847088664770126, 0.14226818084716797, -0.531652569770813, 0.0812019556760788, -0.4600639343261719, -0.4964786171913147, -0.08318047225475311, -0.7115159034729004, -0.6831201910972595, 0.07030218094587326, 0.4326988458633423, 0.5984852313995361, -1.0883591175079346, 0.05789480730891228, 0.5250298976898193, -0.45390585064888, -0.3220880627632141, 0.42430949211120605, 0.13460887968540192, -0.5406588912010193, 0.6075352430343628, 0.40575581789016724, -0.054177649319171906, -0.30575042963027954, -0.35403260588645935, -0.6676616668701172, 0.5457848310470581, 0.5104853510856628, -0.5942977666854858, -0.12350612878799438, 0.7818565368652344, 0.4684409499168396, -0.2748763859272003, 0.43006229400634766, 0.5405530333518982, 0.2595754861831665, -0.2479425072669983, -1.0120646953582764, 0.1631525605916977, -0.262714684009552, 0.20174825191497803, 0.14108838140964508, -0.6455756425857544, 0.8596236109733582, -0.22118574380874634, -0.5515337586402893, -0.18338321149349213, 0.34119024872779846, 0.17091938853263855, 0.4754717946052551, 0.4807473421096802, 0.3687463104724884, 0.6560168862342834, 0.09155568480491638, 0.95296710729599, -0.008265283890068531, 0.10589445382356644, 1.01055908203125, -0.3307063579559326, 0.3288743197917938, 0.48371151089668274, -0.2654138505458832, 0.5585629940032959, 0.644027829170227, 0.3025771379470825, 0.40949106216430664, 0.35123875737190247, -0.5066326856613159, 0.069739930331707, -0.6463351249694824, -0.3149208426475525, 0.22569456696510315, 0.46627506613731384, -0.7890241742134094, -0.07551787048578262, 0.18971554934978485, 0.0480886809527874, 0.33793678879737854, -0.18713517487049103, 0.6801232695579529, 0.3807145655155182, -0.5553349852561951, 0.3370380699634552, 0.29855841398239136, 0.8389601111412048, -0.28101539611816406, 0.2693028151988983, -0.2828546464443207, 0.03630547225475311, -0.3084915578365326, -0.522539496421814, 0.1328303962945938, 0.11787966638803482, -0.43582314252853394, -0.2723854184150696, 0.7320398092269897, -0.12370826303958893, -0.5612638592720032, 0.5177793502807617, 0.6968138813972473, -0.16121523082256317, -0.0769965723156929, -0.7372095584869385, 0.24099200963974, 0.07444389909505844, -0.15620942413806915, 0.218939408659935, -0.06430668383836746, -0.4431920647621155, 0.5666679739952087, 0.6178566813468933, -0.048196323215961456, 0.38726842403411865, 0.4336901605129242, 0.6895742416381836, -0.47183671593666077, -0.5632166862487793, -0.8934326171875, 0.5436036586761475, -0.03224264085292816, -0.04099436104297638, 0.669141948223114, 0.5328925848007202, 1.0001026391983032, 0.07333266735076904, 1.152237057685852, 0.02346031926572323, 0.22541826963424683, -0.4282276928424835, 0.6410733461380005, -0.37145403027534485, 0.43249693512916565, -0.3769325613975525, -1.1125121116638184, 0.018291974440217018, 0.49315932393074036, -0.40991052985191345, 0.5398132801055908, 0.27553027868270874, 0.6453297138214111, 0.128448948264122, 0.09902290999889374, 0.031617023050785065, 0.2817603051662445, 0.376242995262146, 0.27913525700569153, 1.0882476568222046, -0.1914471685886383, 0.025936363264918327, -0.2374141365289688, -0.3837752342224121, -0.07008341699838638, -0.7137041091918945, -0.8818949460983276, -0.3986212909221649, -0.26295673847198486, -0.46028512716293335, 0.17774100601673126, 1.0844566822052002, 0.31431862711906433, -0.6973391771316528, -0.33401721715927124, 0.013812312856316566, 0.1656525880098343, 0.19076959788799286, -0.31529006361961365, 0.26796552538871765, -0.17663168907165527, -0.738852322101593, -0.02742352895438671, 0.12860286235809326, 0.10354289412498474, -0.364723801612854, -0.2240234911441803, 0.3481888771057129, 0.17463544011116028, 0.6565768718719482, 0.1426159143447876, -0.8575904369354248, -0.11869803071022034, -0.019890619441866875, -0.026344014331698418, -0.07799526304006577, 0.7746881246566772, -0.8294055461883545, 0.41155222058296204, 0.2855289578437805, 0.2914913296699524, -0.04115036875009537, -0.03205639123916626, 0.7594456076622009, -0.6596631407737732, 0.11670847237110138, 0.44906237721443176, 0.2712966799736023, 0.2897481322288513, -0.6033128499984741, 0.08558531105518341, 0.2072201520204544, -0.31748995184898376, -0.9673575758934021, 0.4809410870075226, -0.46586522459983826, -0.2904154360294342, 1.262768268585205, 0.308454304933548, -0.005431229714304209, 0.11735469847917557, -0.3532174825668335, 0.1770557463169098, -0.4400998651981354, 0.9551582336425781, 0.44210994243621826, 0.05739632621407509, -0.12819425761699677, -0.7510647177696228, 0.69460129737854, 0.46458882093429565, -0.7942360639572144, 0.1571032553911209, 0.7791175842285156, 0.22396785020828247, 0.015609660185873508, 0.7754142880439758, -0.1508956253528595, 0.3375341594219208, -0.3397417962551117, 0.20937886834144592, 0.19172227382659912, -0.2856864333152771, -0.3668104410171509, 0.01902925595641136, 0.30855870246887207, 0.12793974578380585 ]
http://arxiv.org/abs/2404.07471v1
http://arxiv.org/pdf/2404.07471v1
Structure-aware Fine-tuning for Code Pre-trained Models
2024-04-11T04:24:48
2024-04-11T04:24:48
Jiayi Wu, Renyu Zhu, Nuo Chen, Qiushi Sun, Xiang Li, Ming Gao
cs.SE
cs.SE, cs.AI, cs.CL
Over the past few years, we have witnessed remarkable advancements in Code Pre-trained Models (CodePTMs). These models achieved excellent representation capabilities by designing structure-based pre-training tasks for code. However, how to enhance the absorption of structural knowledge when fine-tuning CodePTMs still remains a significant challenge. To fill this gap, in this paper, we present Structure-aware Fine-tuning (SAT), a novel structure-enhanced and plug-and-play fine-tuning method for CodePTMs. We first propose a structure loss to quantify the difference between the information learned by CodePTMs and the knowledge extracted from code structure. Specifically, we use the attention scores extracted from Transformer layer as the learned structural information, and the shortest path length between leaves in abstract syntax trees as the structural knowledge. Subsequently, multi-task learning is introduced to improve the performance of fine-tuning. Experiments conducted on four pre-trained models and two generation tasks demonstrate the effectiveness of our proposed method as a plug-and-play solution. Furthermore, we observed that SAT can benefit CodePTMs more with limited training data.
[ -0.4270431101322174, -0.6289840340614319, 0.40749162435531616, 0.12465764582157135, -0.30361807346343994, 0.30197086930274963, -0.3860919773578644, -0.37708359956741333, -0.048410814255476, 0.342839777469635, -0.37411439418792725, -0.5186469554901123, -0.39432263374328613, -0.13291892409324646, 0.020470526069402695, 0.7983357906341553, -0.005583393387496471, 0.05388987436890602, -0.20724664628505707, 0.029320156201720238, -0.6648486852645874, -0.25811102986335754, -0.2370336949825287, -0.12306917458772659, 0.294117271900177, 0.46894946694374084, 0.44360625743865967, 0.8098260760307312, 0.5354672074317932, 0.25838300585746765, -0.2605213224887848, 0.5241950750350952, -0.4475555121898651, -0.30173757672309875, -0.18069320917129517, -0.8532164096832275, -0.6298088431358337, -0.21110548079013824, 0.4423665702342987, 0.6455894708633423, 0.15569628775119781, 0.41384363174438477, 0.3394198715686798, 0.7923856973648071, -0.7451643347740173, 0.4865514934062958, -0.7860141396522522, 0.12353816628456116, -0.0481419563293457, -0.5993636250495911, -0.443758487701416, -0.27509620785713196, -0.2545504570007324, -0.6520076394081116, 0.3673219084739685, -0.10794270783662796, 0.772937536239624, 0.6965600252151489, -0.30908334255218506, 0.12963317334651947, -0.4685671925544739, 0.4091157019138336, -0.503479540348053, 0.3289134204387665, 0.3546043634414673, 0.10060131549835205, -0.15178106725215912, -0.41113847494125366, -0.023767223581671715, -0.19143730401992798, -0.21436350047588348, -0.046607855707407, 0.1811581552028656, 0.3826836943626404, 0.2853776812553406, 0.6580157279968262, -0.5859277248382568, -0.08252526819705963, -0.21079012751579285, -0.19910264015197754, 0.20050384104251862, -0.04116662219166756, 0.07373354583978653, -0.13049384951591492, -0.11043655127286911, 0.20100700855255127, -0.8415499925613403, 0.1354474276304245, 0.12185452878475189, 0.6320562958717346, -0.16279369592666626, 0.3385876417160034, -0.24662935733795166, 0.726170003414154, 0.2695545554161072, 0.17424286901950836, 0.3409903049468994, -0.34209251403808594, -0.41659608483314514, -0.030980337411165237, 0.127339705824852, -0.11181272566318512, 0.36890798807144165, -0.03475985303521156, -0.011778293177485466, 0.4221400022506714, 0.4492834806442261, -0.8925194144248962, -0.5987732410430908, 0.05856766179203987, -0.5839830636978149, -0.1860368251800537, -0.04869000241160393, -0.05201499164104462, -0.2875872254371643, -0.6361615061759949, 0.5212820768356323, -0.4240076243877411, -0.3046417534351349, 0.3657721281051636, -0.03931313008069992, 0.3157312870025635, 0.34497159719467163, -0.5681414008140564, 0.04801798239350319, 0.6382362246513367, 0.7072227001190186, 0.019154973328113556, -0.13322284817695618, -0.8174980878829956, 0.1332511454820633, -0.43336397409439087, 0.8626716136932373, -0.4609970450401306, -0.07845374941825867, -0.1755203902721405, -0.06157520413398743, -0.13753250241279602, -0.6906208395957947, 0.2148188352584839, -0.5198013186454773, -0.355075478553772, 0.05087040737271309, -0.5630670785903931, -0.07018109411001205, 0.3208082914352417, -0.40462639927864075, 0.8671339750289917, 0.26604127883911133, -0.6039892435073853, 0.3255082070827484, -0.582065999507904, -0.8682869672775269, 0.10310527682304382, -0.31270653009414673, -0.6404005289077759, 0.6039169430732727, 0.3192351162433624, 0.5854287147521973, 0.2350061535835266, 0.22765645384788513, -0.39646831154823303, -0.5985403656959534, -0.3097037672996521, 0.07131214439868927, 0.3947475254535675, 0.38241076469421387, -0.37801408767700195, 0.4763867259025574, -0.9462074041366577, 0.4274132549762726, -0.11313869059085846, -0.49688246846199036, -0.19627489149570465, 0.003460280131548643, 0.02048313617706299, 0.053429778665304184, 0.17672273516654968, -0.2884845435619354, 0.3735588788986206, -0.7144571542739868, 0.5121603012084961, 0.5772682428359985, -0.08851929008960724, 0.532964825630188, -0.29248374700546265, 0.48744213581085205, 0.09051202237606049, 0.12465440481901169, -0.48795178532600403, 0.035480353981256485, -0.5657493472099304, -0.3592834174633026, 0.28319624066352844, 0.2783348858356476, -0.4111923575401306, 0.5028571486473083, 0.06399538367986679, -0.46467119455337524, -0.2970573604106903, 0.07023004442453384, 0.539798378944397, 0.20407573878765106, 0.5690089464187622, -0.30919957160949707, -0.6736444234848022, -0.6030409932136536, -0.6074733138084412, 0.2467055469751358, 0.019116727635264397, 0.5806140303611755, 0.30946147441864014, -0.19830907881259918, 0.6613325476646423, -0.9591701626777649, -0.5960607528686523, -0.23472021520137787, 0.02953391522169113, 0.018383385613560677, 0.8673161268234253, 0.3484306037425995, -0.7097903490066528, -0.40753433108329773, -0.014732243493199348, -0.0925038754940033, 0.2306661158800125, -0.2236461490392685, -0.04084516316652298, -0.12494882941246033, 0.6408789157867432, -0.4276513457298279, 0.30777376890182495, 0.2711639404296875, -0.29078754782676697, 0.6532692909240723, -0.47434693574905396, 0.12305691838264465, -1.0902072191238403, 0.10440291464328766, -0.14866112172603607, -0.32395219802856445, -0.20822574198246002, 0.32046112418174744, 0.5521997213363647, -0.17163921892642975, -0.35263553261756897, 0.1018526703119278, -0.798027753829956, -0.2269367128610611, -0.24146227538585663, -0.36095044016838074, 0.21145468950271606, 0.832880437374115, -0.12407153099775314, 0.7998994588851929, 0.7165066003799438, -0.8468461632728577, -0.378731906414032, 0.21657833456993103, -0.6026385426521301, 0.33647146821022034, -0.5949648022651672, 0.13306845724582672, -0.08542263507843018, -0.014207734726369381, -0.9573464393615723, -0.1843656599521637, -0.105286605656147, -0.2762516438961029, 0.4996664822101593, -0.47990232706069946, -0.5001057982444763, -0.18058724701404572, -0.09943083673715591, 0.5626358985900879, 0.08199219405651093, -0.4972115159034729, 0.6587743163108826, 0.2847217619419098, 0.1647651344537735, -0.1427648365497589, -0.3811553120613098, -0.3172217905521393, 0.01885196566581726, -0.31947600841522217, 0.7465335726737976, -0.29820775985717773, 0.43182680010795593, -0.13570331037044525, -0.6749265789985657, -0.355872243642807, 0.36875659227371216, 0.4120338261127472, -0.0296043511480093, -0.2870889902114868, 0.3058483600616455, 0.30797699093818665, -0.09367192536592484, -0.12394791841506958, -0.394868940114975, 0.5005088448524475, -0.4455716013908386, -0.29438385367393494, -0.29518571496009827, -0.05231751874089241, 0.48091578483581543, -1.129323959350586, 0.3175335228443146, 0.5344953536987305, -0.34641972184181213, -0.5318168997764587, -0.4468739628791809, -0.1233033537864685, -0.5246325731277466, 0.6157516837120056, -0.684929609298706, -1.1479867696762085, 0.4783094525337219, -0.7616084814071655, -0.09352840483188629, 0.19686028361320496, 0.2595042884349823, -0.13349448144435883, 1.1170796155929565, 1.1288907527923584, 0.02409888431429863, 0.8298503160476685, -0.525653064250946, 0.01635035313665867, -0.6176642775535583, -0.22834350168704987, -0.8291776776313782, -0.32293766736984253, -0.3027222454547882, -0.6225335001945496, 0.22543273866176605, 0.3801816999912262, -0.38853466510772705, 0.6881401538848877, -0.7569520473480225, 0.7763866782188416, 0.3286149799823761, 0.46274903416633606, 0.3458268344402313, -0.11027593165636063, -0.007666885852813721, 0.32028645277023315, -0.721823513507843, -0.0010826061479747295, 0.7539523839950562, 0.1960999220609665, 0.801081120967865, -0.3735816180706024, 0.517375111579895, 0.05586869642138481, -0.17675861716270447, -0.7311918139457703, 0.28323647379875183, -0.16130706667900085, -0.41143614053726196, -0.014387944713234901, -0.6657286286354065, -0.5484616160392761, -0.12235365808010101, 0.01991880126297474, -0.27993977069854736, 0.4559541940689087, 0.5784164667129517, -0.7133257389068604, 0.004171895328909159, -0.8317574262619019, 1.2269359827041626, -0.2318391650915146, -0.19146986305713654, -0.6462503671646118, -0.663985013961792, 0.07280184328556061, 0.12268847972154617, 0.1506645828485489, -0.027222497388720512, 0.19624623656272888, 0.2819401025772095, -0.1527559906244278, 0.7537031173706055, -0.2740955054759979, -0.09016765654087067, 0.11487152427434921, 0.18136878311634064, 0.5466797351837158, 0.24571192264556885, 0.18268714845180511, -0.04202219843864441, 0.062092460691928864, -0.3356466591358185, -0.4563716948032379, 0.6025140285491943, -0.6695128679275513, -0.3356854319572449, 0.03809467703104019, -0.736993670463562, -0.38469815254211426, 0.4409305453300476, 0.1547170728445053, 0.6440631747245789, -0.0810224860906601, 0.4389605224132538, 0.8928545117378235, -0.17276673018932343, 0.22304825484752655, 0.5435665249824524, 0.09881053864955902, -0.24331825971603394, 0.8288789391517639, -0.05060487613081932, 0.06995449960231781, 0.747903048992157, 0.08109758049249649, -0.07160135358572006, -0.621980607509613, -0.15855620801448822, -0.058914944529533386, -0.22555023431777954, -0.6397284865379333, -0.449120432138443, -0.169441357254982, -0.16454365849494934, -0.29467257857322693, -0.582630455493927, -0.13291028141975403, -0.34360137581825256, -0.08515848964452744, 0.1471617966890335, 0.46906808018684387, 0.22839093208312988, 0.4870617389678955, -0.7306078672409058, 0.5944401621818542, -0.002748440019786358, 1.1577357053756714, -0.17342275381088257, -0.3783581852912903, -0.7605746984481812, -0.05339287221431732, -0.1762872338294983, -0.5219900012016296, -0.09084291011095047, 0.4908427298069, 0.45132389664649963, 0.29385247826576233, 0.06575291603803635, 0.9707067012786865, -0.520849883556366, 0.19912713766098022, -0.12663312256336212, -1.1039156913757324, 0.9420050978660583, -0.278725802898407, 0.7085915803909302, 0.7406796216964722, 0.06331540644168854, 0.13123275339603424, -0.34535834193229675, -0.336714506149292, -0.46265897154808044, 0.7637715339660645, -0.015931475907564163, 0.036656878888607025, 0.23675501346588135, 0.504771888256073, -0.07485416531562805, 0.3910437524318695, -0.6259276866912842, -0.058911848813295364, -0.2919628918170929, -0.12218573689460754, -0.1102265864610672, -0.0366075225174427, 0.1612406224012375, -0.636714518070221, 0.33300602436065674, -0.515719473361969, 0.09830772876739502, 0.16411954164505005, -0.6146222949028015, -0.25479647517204285, 0.3287261724472046, 0.5683319568634033, 0.6748738288879395, -0.2647619843482971, 0.2812342345714569, -0.0681363046169281, -0.324861615896225, 0.027224553748965263, 0.12524721026420593, 0.04767239838838577, -0.31697404384613037, 0.08435528725385666, 0.828875720500946, 0.590641975402832, -0.4960535764694214, 0.36614853143692017, 0.03801223263144493, -0.1601419597864151, 0.17342257499694824, 0.4241847097873688, 0.049487482756376266, 0.3796769976615906, 0.1543280929327011, 0.7411490678787231, 0.08911500871181488, -0.48920559883117676, 0.46714919805526733, 0.5601519346237183, -0.39195516705513, -0.27331915497779846, 0.6998070478439331, 0.08843764662742615, -0.19128818809986115, 0.023899605497717857, -0.07047992199659348, -0.5055162310600281, 0.869265079498291, 0.4972423315048218, 0.7237813472747803, -0.18011213839054108, 0.12170441448688507, 0.39010992646217346, 0.2997693419456482, 0.11420778185129166, 0.5642021298408508, -0.4988933503627777, -0.4067302942276001, -0.7254639863967896, -0.7566991448402405, 0.08103032410144806, 0.09848964959383011, -0.5110051035881042, 0.3046289384365082, -0.5387631058692932, 0.07511455565690994, -0.21725381910800934, 0.26853761076927185, -0.7397672533988953, 0.22678478062152863, -0.12473475188016891, 1.155327320098877, -0.5421515107154846, 0.9571841359138489, 0.790057361125946, -0.25062426924705505, -1.1816202402114868, 0.0420798622071743, -0.48493000864982605, -0.37690094113349915, 0.31392472982406616, 0.47178030014038086, -0.09279610216617584, 0.5135086178779602, -0.32128867506980896, -0.8171099424362183, 0.7506570219993591, 0.6973169445991516, -0.6623715162277222, -0.09450947493314743, -0.010786127299070358, 0.4721856713294983, -0.2962894141674042, 0.08286534994840622, 0.34975001215934753, 0.2734672725200653, -0.2905232906341553, -0.7486900091171265, -0.10321198403835297, -0.28344786167144775, 0.11638136208057404, 0.38337942957878113, -0.5067150592803955, 0.6144236922264099, -0.4337872862815857, -0.24159730970859528, -0.166896253824234, 0.628488302230835, 0.0007561888778582215, 0.03032512404024601, 0.607644259929657, 0.38354745507240295, 0.5291072726249695, 0.028363613411784172, 0.6242784857749939, -0.7650802731513977, 0.349420428276062, 1.3534702062606812, 0.13952641189098358, 0.7076988220214844, 0.14556501805782318, -0.038511279970407486, 0.26263538002967834, 0.6167682409286499, -0.0885746031999588, 0.6789820194244385, 0.3132827579975128, 0.3633916676044464, -0.6244031190872192, 0.01751193031668663, -0.6954938769340515, 0.5483814477920532, 0.1507214605808258, -0.16919463872909546, -0.19903914630413055, 0.06512083858251572, -0.43292906880378723, 0.18997956812381744, -0.6516885757446289, 0.7914228439331055, 0.09204309433698654, -0.523352861404419, 0.6718742251396179, 0.012481201440095901, 0.5287270545959473, -0.6957820653915405, -0.08463478088378906, -0.22398041188716888, 0.5016120672225952, -0.4936983585357666, -0.2982896566390991, 0.4621903598308563, -0.21522916853427887, -0.45670056343078613, -0.2254747897386551, 0.8115906119346619, -0.6137226819992065, -0.26228877902030945, 0.19030199944972992, 0.33007895946502686, -0.37123557925224304, -0.7313817739486694, -0.40931573510169983, 0.07863565534353256, -0.06696974486112595, 0.019867070019245148, 0.47875699400901794, 0.20259913802146912, 0.21769092977046967, 0.3919045627117157, 0.48039761185646057, 0.016410628333687782, -0.015705661848187447, 0.10598480701446533, 1.1323813199996948, -0.4509715735912323, -0.8410468697547913, -0.5522308945655823, 0.5104421973228455, 0.19628119468688965, -0.25339916348457336, 0.6446285843849182, 0.9230027198791504, 1.0490772724151611, -0.43178924918174744, 0.2897443473339081, 0.23173747956752777, 0.38764891028404236, -0.3669794499874115, 0.8499293923377991, -0.640595555305481, 0.2717805802822113, -0.5827191472053528, -1.0016335248947144, -0.3570425808429718, 0.513984739780426, -0.06978541612625122, -0.09733724594116211, 0.5320896506309509, 1.0277652740478516, -0.3460434675216675, -0.05280876159667969, 0.21652306616306305, 0.23734596371650696, 0.1976620852947235, 0.6671063303947449, 0.4666936695575714, -0.4469061493873596, 0.6463479995727539, -0.22565177083015442, -0.26335853338241577, -0.2720701992511749, -0.7018768787384033, -0.8985438346862793, -0.41481322050094604, -0.42481669783592224, 0.10574674606323242, 0.039135370403528214, 0.7412530183792114, 0.9803401231765747, -0.8283170461654663, -0.0523124523460865, -0.6440681219100952, 0.19991976022720337, -0.6560549139976501, -0.16471758484840393, 0.5272967219352722, -0.6871684193611145, -0.25015801191329956, 0.6474996209144592, 0.40240147709846497, -0.19789452850818634, 0.17053599655628204, -0.020587369799613953, 0.04282710328698158, -0.10519911348819733, 0.7041298747062683, 0.09143466502428055, -0.332236647605896, -0.25569093227386475, 0.1074020117521286, -0.08460288494825363, 0.2959919571876526, 1.089551568031311, -1.0248626470565796, 0.31490540504455566, 0.5150827169418335, 0.8269750475883484, 0.4140179753303528, 0.016129393130540848, 0.5135570764541626, -1.1168575286865234, 0.025966886430978775, 0.14491944015026093, 0.3004246950149536, -0.06343311071395874, -0.585588812828064, 0.27786993980407715, 0.08210895210504532, -0.4150736927986145, -0.7980725169181824, 0.40464019775390625, -0.9858192801475525, -0.4422062337398529, 0.5145136117935181, -0.07835201919078827, 0.05526795610785484, -0.12314847856760025, -0.3445228338241577, 0.4481484889984131, -0.05116523429751396, 0.7452102899551392, -0.0019193945918232203, 0.09212759137153625, -0.12794829905033112, -0.06638883054256439, 0.8752215504646301, 0.566368043422699, -1.0377907752990723, 0.3243005573749542, 0.5168842673301697, 0.11475187540054321, 0.02592121995985508, 0.4206770658493042, 0.04666798561811447, 0.4457370638847351, -0.34359440207481384, 0.04467690736055374, -0.6115784049034119, -0.9638538956642151, -0.3206307590007782, 0.48645544052124023, 0.14053229987621307, -0.24243128299713135 ]
http://arxiv.org/abs/2404.07470v1
http://arxiv.org/pdf/2404.07470v1
Scalable Language Model with Generalized Continual Learning
2024-04-11T04:22:15
2024-04-11T04:22:15
Bohao Peng, Zhuotao Tian, Shu Liu, Mingchang Yang, Jiaya Jia
cs.CL
cs.CL
Continual learning has gained increasing importance as it facilitates the acquisition and refinement of scalable knowledge and skills in language models. However, existing methods typically encounter strict limitations and challenges in real-world scenarios, such as reliance on experience replay, optimization constraints, and inference task-ID. In this study, we introduce the Scalable Language Model (SLM) to overcome these limitations within a more challenging and generalized setting, representing a significant advancement toward practical applications for continual learning. Specifically, we propose the Joint Adaptive Re-Parameterization (JARe), integrated with Dynamic Task-related Knowledge Retrieval (DTKR), to enable adaptive adjustment of language models based on specific downstream tasks. This approach leverages the task distribution within the vector space, aiming to achieve a smooth and effortless continual learning process. Our method demonstrates state-of-the-art performance on diverse backbones and benchmarks, achieving effective continual learning in both full-set and few-shot scenarios with minimal forgetting. Moreover, while prior research primarily focused on a single task type such as classification, our study goes beyond, with the large language model, i.e., LLaMA-2, to explore the effects across diverse domains and task types, such that a single language model can be decently scaled to broader applications.
[ 0.022933639585971832, -1.1691540479660034, 0.5121280550956726, 0.21649013459682465, -0.35195040702819824, 0.35425877571105957, -0.36389902234077454, -0.29736876487731934, 0.03665223717689514, 0.60329270362854, -0.46511733531951904, -0.38626784086227417, -0.7497594356536865, -0.1299288421869278, -0.1760360449552536, 0.8594674468040466, -0.23736441135406494, -0.17535504698753357, -0.32760196924209595, -0.5347936153411865, -0.9469852447509766, -0.41318345069885254, -1.0253430604934692, -0.35593992471694946, 0.5435545444488525, 0.5214512348175049, 0.35509663820266724, 0.5274267196655273, 0.20272162556648254, 0.241094708442688, -0.047512706369161606, 0.04689023643732071, -0.6392300724983215, 0.6520802974700928, -0.24649368226528168, -0.40449604392051697, -0.32039669156074524, -0.22670719027519226, 1.2534620761871338, 1.0378559827804565, -0.29038384556770325, 0.21578344702720642, 0.23822148144245148, 0.5833998918533325, -0.5503506660461426, 0.2901093065738678, -0.798449695110321, -0.16795167326927185, 0.05104522779583931, 0.11282998323440552, -0.31592822074890137, -0.21601374447345734, 0.13654109835624695, -0.6766751408576965, -0.1590012162923813, -0.013655416667461395, 0.8251870274543762, 0.5324024558067322, -0.30623331665992737, -0.30779170989990234, -0.9378189444541931, 1.1755868196487427, -0.5117453336715698, 0.6698116064071655, 0.25944244861602783, 0.4388652741909027, -0.13242627680301666, -0.8585785627365112, -0.251604825258255, -0.6916890740394592, 0.27987566590309143, -0.08132975548505783, -0.028412990272045135, -0.20809593796730042, -0.002576112514361739, 0.12302106618881226, -0.5274149179458618, 0.15976004302501678, 0.044521164149045944, 0.0496777705848217, 0.21050310134887695, 0.3445691168308258, 0.37365859746932983, 0.496669203042984, -0.19253937900066376, 0.16700132191181183, -0.629652202129364, -0.009366079233586788, -0.05579670891165733, 0.3043653964996338, -0.11843129992485046, 0.2298411726951599, -0.124083012342453, 0.7657904624938965, 0.04528065025806427, -0.45159149169921875, 0.15251080691814423, -0.18581418693065643, -0.12382564693689346, -0.5199216604232788, 0.3560878336429596, -0.19331178069114685, 0.05675520747900009, -0.6423472166061401, -0.20834578573703766, -0.17871637642383575, 0.5907091498374939, -0.4189738631248474, 0.08124127238988876, 0.04695490002632141, -0.05257575586438179, -0.14682842791080475, -0.444569855928421, -0.6601662635803223, 0.034068457782268524, -0.5021472573280334, 0.5109444856643677, -0.3874528706073761, -0.4859215319156647, 0.009834425523877144, 0.19910508394241333, 0.0518118180334568, 0.2912285327911377, -0.8908578157424927, 0.4363864064216614, 0.5600249767303467, 1.0048741102218628, -0.4899202883243561, -0.3402417004108429, -0.6496674418449402, 0.47673702239990234, -0.4386327862739563, 0.5653070211410522, -0.8666864633560181, -0.411928653717041, -0.037305399775505066, -0.04040444269776344, -0.2053007334470749, -0.61723393201828, 0.17764155566692352, -0.7425938844680786, 0.05618513748049736, -0.17142711579799652, -0.5455753207206726, -0.2571994960308075, 0.5607863664627075, -0.41150957345962524, 1.0915169715881348, 0.32243070006370544, -0.36899954080581665, 0.5854171514511108, -0.3557251989841461, -0.1716887503862381, 0.4439167380332947, -0.17165285348892212, -0.6190107464790344, 0.07869299501180649, -0.17781950533390045, 0.3385690152645111, -0.2425096482038498, 0.6389073133468628, -0.38073498010635376, -0.3351783752441406, -0.2585316002368927, -0.20159199833869934, 0.24763984978199005, 0.022182894870638847, -0.25027996301651, 0.12991707026958466, -0.8323617577552795, -0.06805126368999481, 0.30036166310310364, -0.6729563474655151, -0.46650946140289307, 0.16166120767593384, -0.1501779854297638, 0.12100701034069061, 0.4121401607990265, -0.3215647339820862, 0.43965935707092285, -0.2920151352882385, 0.09741149097681046, 0.5056744813919067, 0.2752052843570709, 0.6182934641838074, -0.20487356185913086, 0.6786628365516663, -0.052707843482494354, 0.018382208421826363, 0.09540455043315887, -0.19954609870910645, -0.8633028268814087, -0.3007962107658386, 0.07930988073348999, 0.5864697694778442, -0.8709187507629395, 0.11708617955446243, -0.5019009113311768, -0.5300796627998352, -0.023469289764761925, 0.3718903362751007, 0.4136311709880829, 0.6141019463539124, 0.3669326603412628, -0.22159335017204285, -0.4481717646121979, -0.523593544960022, -0.26911866664886475, -0.1880171149969101, -0.16641540825366974, 0.424832820892334, 0.3923090398311615, -0.5930468440055847, 0.910622239112854, -0.2808750867843628, -0.1392369568347931, -0.6356480717658997, 0.18059387803077698, 0.0597887821495533, 0.488088995218277, 0.42718377709388733, -0.600701093673706, -0.5627104640007019, 0.06460648775100708, -0.8334842920303345, -0.16367806494235992, -0.37013009190559387, 0.012486813589930534, 0.23169122636318207, 0.43453747034072876, -0.19630253314971924, -0.10284096747636795, 0.4767433702945709, -0.2291739583015442, 0.6430349946022034, -0.38196489214897156, -0.12255720794200897, -1.0017485618591309, 0.15996980667114258, -0.029230592772364616, -0.4065277576446533, -0.8600919246673584, 0.3771876394748688, 0.12487498670816422, 0.03607843071222305, -0.20047883689403534, 0.857437252998352, -0.21410098671913147, 0.08180338144302368, -0.48854440450668335, -0.03049740381538868, -0.3014869689941406, 0.5976724624633789, 0.1178625226020813, 0.7461151480674744, 0.8400598764419556, -0.9467995762825012, 0.2108478993177414, -0.17615589499473572, -0.12907560169696808, 0.31268244981765747, -0.7230526208877563, 0.1122734323143959, -0.18422171473503113, 0.26600125432014465, -0.7595141530036926, -0.13638785481452942, 0.3368300795555115, -0.10712408274412155, 0.6453726887702942, -0.1729375123977661, -0.386424720287323, -0.11786606907844543, 0.1251668632030487, 0.41490912437438965, 0.5777525901794434, -0.39240431785583496, 0.9142591953277588, 0.4509466886520386, -0.4533163011074066, -0.6118122935295105, -0.2607039213180542, 0.1785629540681839, -0.3583066165447235, -0.23975315690040588, 0.1683005392551422, -0.05633421614766121, -0.17300164699554443, -0.1818111538887024, -0.3609258830547333, -0.25181782245635986, 0.18622936308383942, 0.28499531745910645, 0.26652780175209045, -0.11403176933526993, 0.4002864360809326, 0.15664394199848175, -0.15162472426891327, -0.10643864423036575, -0.4876035749912262, 0.5486705303192139, -0.17185628414154053, -0.06164480745792389, -0.07306904345750809, 0.22343364357948303, 0.5149698257446289, 0.05186610296368599, 1.011033296585083, 0.5982841849327087, -0.27259573340415955, -0.29955077171325684, -0.800940215587616, 0.07863476127386093, -0.4601518213748932, 0.6272507309913635, -0.5636215806007385, -1.4802675247192383, 0.5476400256156921, -0.4382495880126953, 0.29624390602111816, 0.3443678915500641, 0.6606242656707764, -0.05340402573347092, 0.5787429213523865, 1.0344760417938232, -0.2541179358959198, 0.41619324684143066, -0.08671338856220245, -0.0004041939973831177, -0.7147420644760132, -0.3477097153663635, -0.3153704106807709, 0.004303766414523125, -0.245979905128479, -0.4328189492225647, 0.3339061439037323, 0.39200520515441895, -0.47776705026626587, 0.26862940192222595, -0.1557788997888565, 0.37459179759025574, 0.17059504985809326, -0.005872881039977074, 0.16036321222782135, 0.05176690220832825, -0.2786400318145752, 0.11325329542160034, -0.6919498443603516, -0.4614415764808655, 0.9627419710159302, 0.46134865283966064, 0.5174403190612793, 0.17104503512382507, 0.5923758149147034, 0.24268688261508942, 0.3490162491798401, -0.552055835723877, 0.6229293942451477, -0.055183958262205124, -0.21448205411434174, -0.5287761688232422, -0.6679934859275818, -0.9589402675628662, 0.24180291593074799, 0.0869995728135109, -0.8293192982673645, -0.1528809815645218, 0.2531157433986664, -0.030304957181215286, 0.34703540802001953, -0.35703596472740173, 0.6300477385520935, -0.08914926648139954, -0.46928152441978455, -0.45769643783569336, -0.46686461567878723, 0.34391120076179504, -0.5736101269721985, 0.2239234447479248, -0.15682663023471832, -0.5370972752571106, 0.663443386554718, -0.07146299630403519, 0.8735295534133911, -0.27084586024284363, -0.04678007960319519, 0.25603362917900085, 0.14441239833831787, 0.633436918258667, 0.18972189724445343, 0.10254961252212524, 0.20558121800422668, -0.08680638670921326, -0.5543112754821777, -0.6115018725395203, 0.8183995485305786, -0.7220344543457031, -0.7326472997665405, -0.2572838068008423, -0.8538012504577637, -0.600540041923523, 0.12945929169654846, -0.17705337703227997, 0.2874543368816376, -0.17510321736335754, 0.04959472268819809, 0.7680939435958862, -0.36442920565605164, 0.33595937490463257, 0.7741125822067261, -0.19272807240486145, -0.1743224561214447, 1.128645658493042, 0.08669815957546234, 0.5109541416168213, 0.4330294132232666, 0.18870113790035248, -0.33177340030670166, -0.6508824825286865, -0.298458069562912, 0.3912383019924164, -0.7337946891784668, 0.1392597109079361, -0.8343744874000549, -0.024536218494176865, -0.24747629463672638, -0.3124511241912842, -0.419677197933197, -0.24006427824497223, -0.2563207149505615, 0.18236349523067474, 0.154927060008049, 0.7683602571487427, 0.06399788707494736, 0.08536332845687866, -0.7379361987113953, 0.3946989178657532, 0.5462496876716614, 0.6120350956916809, 0.19980007410049438, -1.0273261070251465, -0.37517493963241577, -0.15078799426555634, -0.15630125999450684, -0.41450685262680054, 0.3710971474647522, 0.49756550788879395, 0.8206222653388977, -0.009123243391513824, -0.272258460521698, 0.6540096402168274, -0.6748419404029846, 0.8902885317802429, 0.1578814536333084, -0.7007765769958496, 0.454670786857605, -0.31067749857902527, 0.7029938697814941, 0.49993157386779785, 0.6056302189826965, -0.6478115320205688, -0.6620314717292786, -0.27110856771469116, -0.9692124724388123, 0.30428650975227356, -0.04032434523105621, 0.30979636311531067, 0.015867849811911583, 0.7549125552177429, 0.26365071535110474, -0.032959047704935074, -0.7742142081260681, -0.13756954669952393, -0.08233198523521423, -0.05703718215227127, -0.04587993398308754, -0.5861724615097046, 0.2415655106306076, -0.19355106353759766, 0.8490939140319824, -0.0678059533238411, 0.10159841924905777, -0.482597291469574, -0.3741559386253357, -0.08948896825313568, 0.3557814061641693, 0.6099762916564941, 0.9044606685638428, -0.11133372783660889, -0.16866743564605713, 0.6385555267333984, -0.7591290473937988, 0.35211002826690674, -0.1975366175174713, -0.14733189344406128, -0.04197430610656738, 0.3567965030670166, 0.7278647422790527, 0.5591375231742859, -0.8224781155586243, -0.015078328549861908, -0.026699788868427277, -0.1824457198381424, -0.42837977409362793, 0.28347715735435486, 0.10949838906526566, 0.2917308211326599, 0.4601345360279083, -0.19616271555423737, -0.2618744373321533, -0.29418209195137024, 0.38519689440727234, 0.3571544289588928, -0.3126412332057953, -0.19884249567985535, 0.7136131525039673, 0.011295940726995468, -0.04938855394721031, 0.5316712260246277, -0.31081122159957886, -0.1967732161283493, 0.3967941999435425, 0.6609599590301514, 0.7868151664733887, -0.36618590354919434, 0.1160195991396904, 0.6779464483261108, 0.11465424299240112, -0.3140082061290741, 0.09119619429111481, -0.19860497117042542, -0.5952885746955872, -0.6616692543029785, -0.983981728553772, -0.49612534046173096, 0.18694154918193817, -0.6114280819892883, -0.0812799334526062, -0.5026613473892212, 0.052001629024744034, -0.4314722716808319, 0.10664893686771393, -0.481803834438324, 0.24520155787467957, 0.0085593918338418, 0.6531509757041931, -0.7744986414909363, 1.3676819801330566, 0.6657787561416626, -0.42961442470550537, -0.7055371999740601, -0.040393125265836716, -0.06777864694595337, -0.7393155694007874, 0.8023104071617126, -0.12654447555541992, -0.14822444319725037, 0.12860138714313507, -0.2985791265964508, -1.2052710056304932, 1.2341225147247314, 0.27297133207321167, -0.7406871318817139, -0.12549453973770142, 0.3165765702724457, 0.4682837724685669, -0.3530251979827881, -0.11734069883823395, 0.5889987945556641, 0.18262703716754913, 0.39494070410728455, -0.7842763066291809, -0.07505445927381516, -0.00263440259732306, 0.4314224421977997, 0.22419731318950653, -0.4494221806526184, 0.5148864984512329, 0.045040830969810486, -0.13241830468177795, -0.009104283526539803, 0.7896555066108704, 0.5520187616348267, 0.09653205424547195, 0.6004565954208374, 0.6654037833213806, 0.6716923713684082, 0.10050398856401443, 0.8957651853561401, -0.24603064358234406, 0.40869832038879395, 1.2541906833648682, -0.270243376493454, 0.8316092491149902, 0.3819733262062073, -0.18464776873588562, 0.5569844245910645, 0.42679378390312195, 0.12765973806381226, 0.5475466251373291, 0.07386942207813263, -0.5911813378334045, -0.35313576459884644, -0.05804372578859329, -0.13671304285526276, 0.26395201683044434, 0.626253068447113, 0.012227433733642101, -0.3124300241470337, 0.36072349548339844, -0.050057679414749146, 0.025567904114723206, -0.5966939330101013, 0.7912549376487732, 0.07857375591993332, -0.49206429719924927, 0.7134923338890076, -0.02904980257153511, 0.7529034614562988, -0.8768323063850403, 0.05943121761083603, -0.29096367955207825, 0.026652811095118523, 0.27585792541503906, -0.3847883641719818, 0.6065009236335754, 0.1312650740146637, -0.2562968134880066, -0.24707572162151337, 0.7773760557174683, -0.5855188965797424, -0.650979220867157, 0.2405824363231659, 0.37875857949256897, 0.044925007969141006, 0.11057252436876297, -0.7483653426170349, 0.31861984729766846, -0.19618690013885498, -0.32188791036605835, 0.6780869960784912, 0.14729362726211548, -0.03802481293678284, 1.2917956113815308, 0.3055684268474579, 0.0608823299407959, 0.18264928460121155, 0.20485541224479675, 0.7836416959762573, -0.4492213726043701, -0.41187721490859985, -0.6270967721939087, 0.4202587306499481, 0.23666886985301971, -0.07829544693231583, 0.6752781271934509, 0.26419785618782043, 0.742203950881958, -0.09713151305913925, 0.679288387298584, 0.08134492486715317, 0.6138726472854614, -0.40925833582878113, 0.5960686802864075, -0.7200703024864197, 0.3693212866783142, -0.09474962949752808, -0.8798518180847168, -0.4597475528717041, 0.3114030659198761, -0.30354371666908264, 0.17750677466392517, 0.575684666633606, 0.48501142859458923, -0.012652658857405186, -0.5014832019805908, 0.5932113528251648, 0.16750307381153107, 0.366936594247818, 0.6610079407691956, 0.38203001022338867, -0.054413050413131714, 0.5345051884651184, -0.06338614970445633, -0.10755784064531326, -0.0255317073315382, -0.6953507661819458, -0.7632666230201721, -0.8062454462051392, -0.5871723890304565, -0.028793787583708763, 0.28772175312042236, 0.6578006744384766, 0.4554062485694885, -0.7157037258148193, -0.2433941811323166, -0.36600053310394287, -0.03872717171907425, -0.32980605959892273, -0.17249628901481628, 0.2062198668718338, -0.9944324493408203, -0.6757007241249084, 0.4203484058380127, 0.5812113881111145, -0.16608551144599915, -0.17061612010002136, -0.323808878660202, -0.2360720932483673, 0.020141763612627983, 0.6919355988502502, 0.6096940040588379, -0.8869172930717468, -0.49943122267723083, -0.2539428174495697, -0.08915049582719803, -0.16783417761325836, 0.5103812217712402, -1.001389980316162, 0.5158053040504456, -0.04809264466166496, 1.076587200164795, 0.49649709463119507, -0.2752438187599182, 0.5187905430793762, -0.967748761177063, 0.23573146760463715, 0.3124050199985504, 0.19163070619106293, 0.09093094617128372, -0.27941519021987915, 0.4219857156276703, 0.300370454788208, -0.7067161202430725, -0.6850963234901428, 0.3017851412296295, -0.9773916602134705, -0.39963799715042114, 1.2203037738800049, -0.3514136075973511, 0.12187368422746658, -0.45291557908058167, 0.1849384903907776, 0.37676724791526794, -0.04610465094447136, 0.8030095100402832, 0.6377921104431152, 0.15835095942020416, -0.5568416118621826, -0.6740517616271973, 0.19078150391578674, 0.41455116868019104, -0.6629338264465332, -0.0498659685254097, 0.3617953658103943, 0.6477248072624207, -0.21589328348636627, 0.5397710204124451, 0.20705947279930115, 0.17348790168762207, 0.014626347459852695, -0.1325373649597168, -0.11982337385416031, -0.4171963334083557, -0.3942893445491791, 0.291547030210495, 0.3466639220714569, -0.054020002484321594 ]
http://arxiv.org/abs/2404.07461v1
http://arxiv.org/pdf/2404.07461v1
"Confidently Nonsensical?'': A Critical Survey on the Perspectives and Challenges of 'Hallucinations' in NLP
2024-04-11T03:51:29
2024-04-11T03:51:29
Pranav Narayanan Venkit, Tatiana Chakravorti, Vipul Gupta, Heidi Biggs, Mukund Srinath, Koustava Goswami, Sarah Rajtmajer, Shomir Wilson
cs.CL
cs.CL, cs.AI
We investigate how hallucination in large language models (LLM) is characterized in peer-reviewed literature using a critical examination of 103 publications across NLP research. Through a comprehensive review of sociological and technological literature, we identify a lack of agreement with the term `hallucination.' Additionally, we conduct a survey with 171 practitioners from the field of NLP and AI to capture varying perspectives on hallucination. Our analysis underscores the necessity for explicit definitions and frameworks outlining hallucination within NLP, highlighting potential challenges, and our survey inputs provide a thematic understanding of the influence and ramifications of hallucination in society.
[ -0.2915090024471283, -0.922454833984375, 0.6304337978363037, 0.44024908542633057, -0.06565813720226288, 0.10061874240636826, -0.3253200948238373, -0.7186560034751892, 0.6030409336090088, 0.5186935663223267, -0.4842170476913452, -0.4416954219341278, -0.7908940315246582, 0.5903624892234802, -0.7257174253463745, 0.7333617210388184, 0.1366528570652008, 0.029984550550580025, -0.2889150083065033, -0.1045718863606453, -0.4881793260574341, -0.643598198890686, -0.29271939396858215, -0.23513992130756378, 0.23260976374149323, 0.12433600425720215, 0.6894194483757019, -0.10643506795167923, 0.5559154152870178, 0.2813897728919983, -0.23630554974079132, 0.0734546110033989, -0.5785407423973083, 0.4342241585254669, -0.014177246019244194, -0.40210700035095215, -0.18292011320590973, -0.07632411271333694, 0.5553166270256042, 1.2614390850067139, -0.18275047838687897, 0.11804439127445221, 0.30190369486808777, 0.9294235110282898, -0.4951631426811218, -0.040488265454769135, -0.8755597472190857, 0.42634695768356323, -0.027365166693925858, -0.09517736732959747, -0.6113823652267456, -0.3767378032207489, 0.13767266273498535, -0.11240801215171814, 0.4152255654335022, -0.02506987191736698, 0.5343362092971802, 0.47257542610168457, -0.27200421690940857, -0.5090699195861816, -1.0587193965911865, 0.6736798882484436, -0.5533134341239929, 0.5380163788795471, 0.45761919021606445, 0.039671890437603, -0.08428139984607697, -0.6851249933242798, -0.5936736464500427, -0.4750487208366394, 0.03410366550087929, -0.21919380128383636, 0.21036992967128754, -0.21112006902694702, 0.3568100333213806, 0.24450838565826416, -0.6127598285675049, -0.029639067128300667, -0.4595874845981598, -0.033346064388751984, 0.7718731760978699, 0.10910725593566895, 0.10290168225765228, -0.29697442054748535, -0.026963604614138603, 0.4221477210521698, -0.41859957575798035, -0.47959715127944946, 0.25376784801483154, 0.2426030933856964, 0.20509789884090424, 0.9059295654296875, -0.09095887094736099, 0.3904625475406647, -0.17596353590488434, 0.08015626668930054, 0.2983948886394501, -0.0930718183517456, -0.12567272782325745, 0.16388098895549774, 0.8919036984443665, 0.42345136404037476, 0.11694066226482391, -0.5840958952903748, -0.21216091513633728, -0.03997372090816498, 0.5999274253845215, -0.36832523345947266, -0.10318311303853989, 0.7688844203948975, -0.640368640422821, -0.27974921464920044, -0.01884830743074417, -0.8223883509635925, -0.7801729440689087, -0.1565876454114914, 0.13155673444271088, -0.11246472597122192, -0.500338613986969, 0.1860722005367279, -0.12360783666372299, 0.25210991501808167, 0.2327832579612732, -0.8426868915557861, 0.29638397693634033, 0.7493938207626343, 0.9851147532463074, -0.33594968914985657, -0.24823115766048431, 0.25484737753868103, -0.21213571727275848, -0.5647131204605103, 0.906353235244751, -0.3967894911766052, -0.74387526512146, 0.18427202105522156, 0.2120327204465866, -0.04051333665847778, -0.7159281969070435, 0.46026748418807983, -0.012447654269635677, 0.04431870952248573, -0.37981969118118286, -0.36159786581993103, -0.3561435639858246, 0.24475069344043732, -0.6282362341880798, 0.9347454905509949, -0.136923685669899, -0.5573605298995972, 0.21312259137630463, -0.22817733883857727, -0.23947784304618835, 0.2650729715824127, -0.39944037795066833, -0.13664543628692627, 0.5321303606033325, -0.306749165058136, 0.46053168177604675, -0.13324204087257385, 0.7624715566635132, -0.32917195558547974, -0.3874668776988983, 0.6334782242774963, -0.39392921328544617, 0.7864253520965576, -0.04083675518631935, -0.6741325259208679, 0.07782937586307526, -0.8147416114807129, -0.06156834959983826, 0.049477726221084595, 0.21248063445091248, -0.07481938600540161, 0.30830496549606323, 0.2079484909772873, 0.18955355882644653, 0.3211217522621155, -0.2571484446525574, 0.18387505412101746, -0.4758621156215668, 0.3162314295768738, 0.6022347211837769, -0.028948986902832985, 0.2928553819656372, -0.41264718770980835, 0.3518611490726471, -0.45800909399986267, 0.17530043423175812, 0.42845991253852844, -0.7785349488258362, -0.7582945227622986, 0.39951810240745544, 0.014488492161035538, 0.3520510494709015, -0.5807037353515625, 0.6410114765167236, 0.03732449933886528, -0.7165624499320984, -0.2168118804693222, -0.0035709883086383343, 0.19573748111724854, 0.5772716403007507, 0.2754296064376831, -0.07962463796138763, -0.6482254266738892, -0.8214548230171204, -0.06504014879465103, -0.46467939019203186, 0.09018787741661072, 0.294402152299881, 0.8353271484375, -0.39141181111335754, 0.561004102230072, -0.3150689899921417, -0.565910816192627, -0.42608851194381714, 0.38318026065826416, -0.05198577046394348, 0.22294974327087402, 0.06934365630149841, -0.527226984500885, -0.3283572793006897, -0.28349241614341736, -1.0604523420333862, 0.0030753917526453733, -0.3234841525554657, 0.23951582610607147, 0.44086432456970215, 0.6864660382270813, -0.655419647693634, 0.23332291841506958, 0.4197283089160919, -0.26695552468299866, 0.8420254588127136, -0.05281047523021698, -0.07827875018119812, -0.70484858751297, 0.10187927633523941, -0.21405434608459473, 0.2803153395652771, -0.624902069568634, 0.1662502884864807, -0.38578858971595764, 0.10248014330863953, -0.3032619059085846, 0.23053985834121704, -0.3541624844074249, 0.1339941918849945, -0.20824967324733734, 0.3976590633392334, -0.2748430371284485, 0.10677506029605865, 0.44563210010528564, 0.42484769225120544, 0.45777615904808044, -0.6206522583961487, 0.2523569166660309, 0.3518732190132141, -0.31130096316337585, 0.2287844717502594, -0.6649616360664368, 0.2193584442138672, -0.2139597088098526, 0.1278187483549118, -1.0496340990066528, -0.3672325015068054, 0.260306179523468, -0.47511589527130127, -0.02324630506336689, 0.3011828362941742, -0.33990931510925293, -0.11483001708984375, -0.31484556198120117, 0.3793683350086212, 0.259988933801651, -0.0027630736585706472, 0.3752513527870178, 0.5853673219680786, -0.03844078630208969, -0.652006983757019, -0.8862985968589783, 0.4822196066379547, -0.10174980014562607, -0.3698303699493408, -0.03220898658037186, -0.029425788670778275, -0.7554692625999451, -0.3472924530506134, -0.00021429985645227134, -0.08178199082612991, 0.15311743319034576, 0.4041394889354706, 0.13705119490623474, -0.05400031805038452, 0.10976416617631912, -0.3382827043533325, 0.07473352551460266, 0.48911839723587036, 0.07445375621318817, 0.7100774049758911, -0.08035700768232346, -0.42937299609184265, -0.41259682178497314, 0.4890083074569702, 0.3045213520526886, 0.4220832884311676, 0.681666374206543, 0.2697625160217285, -0.5731998682022095, -0.3475644290447235, -0.5856064558029175, -0.34216368198394775, -0.39338159561157227, 0.42245134711265564, -0.17236566543579102, -0.7662848830223083, 0.5520678162574768, 0.07698755711317062, -0.11344300955533981, 0.5059798359870911, 0.5092423558235168, -0.01018213015049696, 0.9014683365821838, 0.5823609828948975, 0.26603466272354126, -0.23037755489349365, -0.21564073860645294, 0.5141151547431946, -0.5567893981933594, -0.7299874424934387, -0.8528760075569153, -0.4187951385974884, -0.8403177261352539, -0.3602023124694824, 0.020850298926234245, -0.19640593230724335, 0.2206379622220993, 0.002078733639791608, -0.9176803231239319, 0.11442940682172775, 0.08782733976840973, -0.12946626543998718, 0.29370248317718506, -0.22944900393486023, 0.24547652900218964, -0.4510694444179535, -0.2675606906414032, -0.7851601839065552, 1.1386812925338745, 0.3699893057346344, 0.6494877934455872, 0.24752600491046906, 0.8441925048828125, 0.1293165534734726, -0.09717430919408798, -1.1657480001449585, 0.8224897980690002, 0.2769489288330078, -0.8299562335014343, -0.5960445404052734, -0.2236061990261078, -0.9789057374000549, 0.11021362990140915, -0.4174472689628601, -1.1413711309432983, 0.3845359981060028, -0.32254767417907715, -0.3299528658390045, 0.2733067274093628, -0.32680824398994446, 0.4838223457336426, -0.20795805752277374, -0.20147627592086792, 0.06457837671041489, -0.7141956090927124, 0.692241370677948, -0.13557030260562897, 0.3237121105194092, -0.15440243482589722, -0.07894418388605118, 0.8521958589553833, -0.2290656715631485, 0.8473809361457825, -0.10464370250701904, -0.39157769083976746, 0.29489973187446594, 0.377339243888855, 0.32629281282424927, 0.14837825298309326, 0.03392353653907776, 0.397316038608551, 0.19804008305072784, -0.005986200179904699, -0.4842366874217987, 0.5147952437400818, -0.5283215641975403, -0.6335829496383667, -0.7653519511222839, -0.43093574047088623, -0.436080664396286, 0.156551793217659, 0.23096899688243866, 0.09362663328647614, -0.3874850869178772, 0.37081319093704224, 0.8813322186470032, -0.19086307287216187, 0.4533000588417053, 0.12855103611946106, -0.6735076308250427, -0.04859551414847374, 0.9695121049880981, 0.43148675560951233, 0.09137814491987228, 0.17286142706871033, -0.1050909087061882, -0.5193402767181396, -0.8829568028450012, 0.0016978313215076923, 0.366474449634552, -0.7218620181083679, 0.44840627908706665, -1.0046682357788086, -0.5128148198127747, -0.7307432889938354, -0.23317092657089233, -0.4465852975845337, -0.5330394506454468, -0.4299510419368744, -0.01683497056365013, -0.0809817984700203, 1.2500396966934204, 0.03374384716153145, -0.0860808864235878, -0.5321633219718933, 0.49537360668182373, 0.09447992593050003, 0.18327127397060394, 0.1203528642654419, -0.3969931900501251, 0.0069826641120016575, -0.3576433062553406, -0.13638298213481903, -0.9549771547317505, 0.4049845039844513, -0.2424376904964447, 0.4029426574707031, 0.5934097170829773, 0.3486500084400177, 0.5821613073348999, -0.36000022292137146, 1.3415346145629883, 0.16143691539764404, -0.756052553653717, 0.2439795881509781, -0.040369290858507156, 0.015348155982792377, 0.7996962666511536, 0.6009986996650696, -0.6231801509857178, -0.7611349821090698, -0.7398673892021179, -1.0860471725463867, 0.17506660521030426, 0.1292785108089447, 0.24751952290534973, -0.26375094056129456, 0.22034640610218048, 0.29721343517303467, 0.3602536618709564, -0.989046573638916, -0.23249362409114838, -0.022816646844148636, 0.15907859802246094, -0.18924511969089508, -0.6476602554321289, -0.2163127213716507, -0.23770250380039215, 0.44501155614852905, 0.016140572726726532, 0.4119980037212372, 0.25867897272109985, -0.1492648422718048, 0.021359186619520187, 0.08191194385290146, 0.7496968507766724, 1.1068081855773926, -0.41452962160110474, 0.2916831970214844, 0.07217849045991898, -0.7412083745002747, 0.18032045662403107, -0.27575036883354187, -0.3618185818195343, 0.4335538148880005, 0.42760467529296875, 0.31096309423446655, 0.0570109561085701, -0.6304470896720886, 0.41094231605529785, -0.143278107047081, -0.5970366597175598, -0.7866994142532349, -0.11866531521081924, -0.005769094452261925, 0.08066721260547638, 0.5127846002578735, 0.0389772467315197, 0.35409459471702576, -0.6231924295425415, 0.1990283876657486, 0.686276912689209, -0.5521107316017151, -0.24244530498981476, 0.682587742805481, -0.1029180958867073, -0.3868178725242615, 0.6029115915298462, -0.2799804210662842, -0.18891756236553192, 0.4768017530441284, 0.461683988571167, 1.2613211870193481, 0.12365882843732834, 0.545030951499939, 0.30724194645881653, 0.6921984553337097, -0.3802995979785919, 0.5880773663520813, 0.021345557644963264, -0.6823129653930664, -0.2849758267402649, -0.7148324251174927, -0.46571195125579834, 0.42532646656036377, -0.5220115780830383, 0.24300089478492737, -0.6383896470069885, -0.2926759421825409, -0.15986496210098267, -0.14246146380901337, -0.15214523673057556, 0.11508813500404358, 0.03399522230029106, 0.7950215339660645, -0.7847657799720764, 0.39970502257347107, 0.3448360562324524, -0.42269378900527954, -0.4122123122215271, 0.43384310603141785, 0.15024666488170624, -0.48115289211273193, 0.4611227214336395, 0.17802618443965912, -0.1855604499578476, -0.21027138829231262, -0.7122243046760559, -0.6225420832633972, 0.6365078091621399, -0.03149843215942383, -0.43680906295776367, -0.3717869520187378, 0.4060998558998108, 0.5602429509162903, -0.10423988848924637, 0.19497784972190857, 0.4669756591320038, 0.6143568158149719, 0.17138442397117615, -0.7170436978340149, 0.1922370344400406, -0.0543661043047905, 0.021514330059289932, -0.1911655217409134, -0.6798685193061829, 0.5634335875511169, -0.0944410040974617, -0.19339041411876678, 0.1969623565673828, 0.6552362442016602, 0.14947786927223206, 0.42707425355911255, 0.19096235930919647, 0.34742310643196106, 0.7873235940933228, -0.08887147158384323, 0.7047044634819031, -0.19163770973682404, 0.1557691991329193, 1.0503236055374146, -0.35566166043281555, 0.7967082858085632, 0.7150269746780396, -0.20573627948760986, 0.18731926381587982, 0.6577897071838379, 0.036948636174201965, 0.22817642986774445, 0.2936080992221832, -0.24580736458301544, -0.1361645758152008, -0.3207906186580658, -0.498977392911911, 0.5903647541999817, 0.44666606187820435, -0.25736263394355774, 0.008904829621315002, -0.15510053932666779, -0.2555750608444214, 0.1753673106431961, -0.13291431963443756, 0.8815253973007202, 0.3201476037502289, -0.6480506658554077, 0.6652195453643799, -0.14680808782577515, 0.5170090794563293, -0.36855944991111755, -0.0620662085711956, -0.04767317324876785, -0.3053014874458313, -0.5608904361724854, -0.6331983804702759, 0.8244113922119141, -0.15240634977817535, -0.051446590572595596, -0.2757571041584015, 0.5991588830947876, -0.00994613952934742, -0.4932723939418793, 0.2652689814567566, 0.7773838639259338, 0.7856745719909668, -0.10468687862157822, -0.4877096116542816, 0.32236194610595703, -0.008201571181416512, -0.07501239329576492, 0.19359613955020905, 0.6131707429885864, 0.11853286623954773, 0.553347647190094, 0.3201165795326233, 0.28689101338386536, 0.05790656805038452, 0.15634755790233612, 0.4452735483646393, -0.9397796988487244, 0.020490257069468498, -0.8527953624725342, 0.5489203929901123, 0.03870769590139389, -0.5899212956428528, 0.7988099455833435, 0.4787232279777527, 0.8065823316574097, -0.1024945005774498, 0.8309244513511658, -0.20031613111495972, 0.4361216127872467, -0.4461209774017334, 0.9506052136421204, -0.572180449962616, 0.26724281907081604, -0.38727253675460815, -1.1075012683868408, -0.559964656829834, 0.839596688747406, -0.18817691504955292, 0.06014136224985123, 1.0268852710723877, 0.7148051261901855, 0.4251907765865326, 0.2542722225189209, 0.5154090523719788, 0.5149331092834473, -0.16215790808200836, 0.17615872621536255, 1.023630142211914, -0.10575766861438751, 0.18540023267269135, -0.28608572483062744, 0.05501604080200195, -0.2901795506477356, -0.7372260689735413, -0.9036000370979309, -0.9409390687942505, -0.43469667434692383, -0.6548272967338562, -0.3454279601573944, 0.8233532309532166, 0.13413721323013306, -0.8523299694061279, -0.4689590632915497, -0.14228923618793488, 0.4078132212162018, -0.06171611323952675, -0.2840927839279175, 0.09456752240657806, -0.5710369348526001, -0.7020938992500305, 0.17625930905342102, 0.2567491829395294, 0.0794856920838356, -0.8386633396148682, 0.09873861819505692, -0.17944249510765076, 0.11514154821634293, 0.6224336624145508, 0.17676842212677002, -0.8301422595977783, -0.20250025391578674, 0.23654186725616455, -0.034596338868141174, -0.03637750819325447, 0.6303932070732117, -0.453575074672699, 0.40236300230026245, 0.45367705821990967, 0.4415450990200043, 0.030623527243733406, -0.39791280031204224, 0.27145400643348694, -0.38229134678840637, 0.16485504806041718, 0.5502685904502869, 0.18019472062587738, 0.27405497431755066, -0.4584074020385742, 0.474078893661499, 0.5289146304130554, -0.5855947136878967, -1.3217569589614868, 0.2237866073846817, -0.9439372420310974, -0.46021124720573425, 1.2066980600357056, 0.37358567118644714, -0.2643129229545593, -0.594491720199585, -0.06698061525821686, -0.007328461855649948, -0.09853809326887131, 1.4219120740890503, 1.1483995914459229, -0.239313542842865, -0.10497047007083893, -0.8219434022903442, 0.8342167139053345, 0.2632717192173004, -0.5089156031608582, 0.07288266718387604, 0.5265225768089294, -0.30569297075271606, 0.5835123062133789, 0.7260937690734863, -0.1882493942975998, -0.1605445146560669, 0.19387662410736084, 0.04413728788495064, 0.4079797565937042, -0.45733392238616943, -0.38198813796043396, 0.5323538780212402, 0.4122978150844574, 0.4203890562057495 ]
http://arxiv.org/abs/2404.07448v2
http://arxiv.org/pdf/2404.07448v2
Transferable and Principled Efficiency for Open-Vocabulary Segmentation
2024-04-11T03:08:53
2024-06-04T03:15:51
Jingxuan Xu, Wuyang Chen, Yao Zhao, Yunchao Wei
cs.CV
cs.CV, cs.CL, eess.IV
Recent success of pre-trained foundation vision-language models makes Open-Vocabulary Segmentation (OVS) possible. Despite the promising performance, this approach introduces heavy computational overheads for two challenges: 1) large model sizes of the backbone; 2) expensive costs during the fine-tuning. These challenges hinder this OVS strategy from being widely applicable and affordable in real-world scenarios. Although traditional methods such as model compression and efficient fine-tuning can address these challenges, they often rely on heuristics. This means that their solutions cannot be easily transferred and necessitate re-training on different models, which comes at a cost. In the context of efficient OVS, we target achieving performance that is comparable to or even better than prior OVS works based on large vision-language foundation models, by utilizing smaller models that incur lower training costs. The core strategy is to make our efficiency principled and thus seamlessly transferable from one OVS framework to others without further customization. Comprehensive experiments on diverse OVS benchmarks demonstrate our superior trade-off between segmentation accuracy and computation costs over previous works. Our code is available on https://github.com/Xujxyang/OpenTrans
[ -0.3416505455970764, -0.2810232937335968, 0.11291229724884033, -0.011369903571903706, -0.42482590675354004, -0.12946264445781708, -0.4090638756752014, -0.5932904481887817, -0.024366706609725952, 0.5704666376113892, -0.2632722854614258, -0.35007530450820923, -0.309282124042511, -0.2542908191680908, -0.3238960802555084, 0.3031919598579407, -0.08885906636714935, 0.011775673367083073, -0.03141028434038162, -0.4737573266029358, 0.10271114110946655, -0.15783600509166718, -0.6747654676437378, 0.1705530285835266, 0.35820698738098145, 0.5100375413894653, 0.493320107460022, 1.0643123388290405, 0.8266000151634216, 0.19249235093593597, -0.21628737449645996, 0.3355470299720764, -0.6229760050773621, -0.1582978367805481, -0.40876471996307373, -0.2863590121269226, -0.14772483706474304, -0.2153945118188858, 0.7775598764419556, 0.9286279678344727, -0.31491243839263916, 0.07906600832939148, 0.07443714886903763, 0.763638436794281, -1.1889089345932007, 0.04380619898438454, -0.7147318720817566, 0.06742633879184723, -0.33048108220100403, 0.03394804894924164, -0.2965444326400757, -0.2978183627128601, 0.46249979734420776, -0.8566287755966187, 0.06852792203426361, -0.07138338685035706, 1.235215425491333, 0.34633520245552063, 0.2516724467277527, 0.023408621549606323, -0.542229413986206, 0.6526169776916504, -0.12641765177249908, 0.5766013264656067, 0.10857217758893967, 0.5157908201217651, 0.20119377970695496, -1.0499894618988037, -0.23229846358299255, -0.151483952999115, 0.28719791769981384, -0.13042683899402618, -0.3956700265407562, -0.06402447819709778, 0.04414965957403183, 0.4751632511615753, -0.25722116231918335, 0.34334003925323486, -0.6505383849143982, -0.13944055140018463, 0.19909794628620148, 0.03604425862431526, 0.006809596437960863, 0.23752988874912262, -0.4461778700351715, -0.35652515292167664, -0.6108066439628601, 0.24728764593601227, 0.24583694338798523, 0.5353720784187317, 0.10015376657247543, 0.6027361750602722, -0.4162943661212921, 0.9626312851905823, -0.2527373135089874, -0.2498394399881363, 0.27959752082824707, -0.5332903861999512, -0.26210469007492065, -0.03512655571103096, 0.5025929808616638, 0.3152625262737274, 0.5814201235771179, -0.2818145453929901, -0.11313419789075851, 0.09266665577888489, 0.3703412711620331, -0.9124495983123779, -0.33217597007751465, -0.16884908080101013, -0.4974571466445923, -0.2507387101650238, 0.15771004557609558, -0.6809659004211426, -0.1497945338487625, -0.12342225760221481, 0.46272778511047363, -0.5548198223114014, -0.08712714910507202, 0.6109801530838013, -0.19947449862957, 0.23244468867778778, 0.569661021232605, -0.7251867651939392, 0.379167377948761, 0.6584497690200806, 1.2290418148040771, -0.251546710729599, 0.031681470572948456, -0.8185391426086426, -0.04292967915534973, -0.4600539803504944, 0.5727747678756714, -0.3658759891986847, -0.3190784752368927, -0.16554157435894012, -0.2559671998023987, -0.24167484045028687, -0.5168072581291199, 0.3464241325855255, -0.3934122920036316, -0.1622461974620819, -0.12082024663686752, -0.1615169495344162, 0.05719350650906563, 0.28262418508529663, -0.6034648418426514, 0.7816357016563416, 0.32422247529029846, -0.5543845295906067, 0.33725136518478394, -0.8209242224693298, -0.4566851556301117, 0.021968336775898933, 0.039274465292692184, -0.217612624168396, 0.22913822531700134, 0.17561163008213043, 0.38908809423446655, -0.4999505281448364, -0.41114962100982666, -0.23826904594898224, -0.0241293553262949, -0.20333051681518555, -0.0447450615465641, 0.7199839353561401, 0.509009063243866, -0.07318545132875443, 0.3415306508541107, -0.8999244570732117, 0.01449620258063078, 0.252814382314682, -0.23038610816001892, -0.7906026840209961, -0.07425317168235779, -0.09557365626096725, -0.257131963968277, 0.1835566610097885, -0.7442178130149841, 0.3059391379356384, -0.7989656925201416, 0.3358749449253082, 0.5489537715911865, -0.4185689687728882, 0.8778541684150696, 0.026360828429460526, 0.3032681941986084, -0.08804015815258026, 0.3828054368495941, -0.1483689248561859, -0.29595500230789185, -0.8674494624137878, -0.6651906967163086, 0.5172753930091858, 0.3007830083370209, -0.8936328887939453, 0.2083349972963333, -0.410076379776001, -0.6380516886711121, -0.38606682419776917, -0.19581934809684753, 0.392069548368454, 0.7832719087600708, 0.3791384696960449, -0.8326475620269775, -0.3496250510215759, -0.824863851070404, -0.08486058562994003, 0.021519163623452187, 0.22458483278751373, 0.3055381178855896, 0.511271595954895, 0.304882287979126, 1.1643706560134888, -0.9690142869949341, -0.5356183648109436, -0.15883903205394745, -0.18631760776042938, -0.15311090648174286, 0.5517773628234863, 0.7613125443458557, -0.8049243092536926, -0.5131694078445435, 0.3170754909515381, -0.4305754601955414, -0.02269727922976017, 0.27319616079330444, -0.17626166343688965, 0.2610177993774414, 0.6688500046730042, -0.3186917304992676, 0.690004289150238, 0.392095685005188, -0.27321621775627136, 0.3108130097389221, -0.3100280463695526, -0.11292973905801773, -0.9068102240562439, 0.18242232501506805, -0.09033148735761642, -0.12636423110961914, -0.3780389726161957, 0.340383917093277, -0.01355646550655365, 0.0534004308283329, -0.8040030598640442, 0.5981055498123169, -0.4731235206127167, -0.3011581003665924, 0.0714632198214531, -0.01010675635188818, -0.0289734099060297, 0.30716171860694885, 0.07686517387628555, 0.8417209982872009, 0.7254707217216492, -0.6849988102912903, 0.06209145486354828, 0.18262191116809845, -0.8417558670043945, 0.49940699338912964, -0.6415484547615051, -0.283719539642334, -0.06511729955673218, -0.049652181565761566, -0.6320786476135254, -0.1470094621181488, 0.54998379945755, -0.03676430881023407, 0.199519544839859, -0.287339985370636, -0.26974284648895264, -0.06790328025817871, -0.32045140862464905, 0.31733807921409607, 0.7163564562797546, -0.8899667263031006, 0.6637608408927917, 0.3972669541835785, 0.2893325686454773, -0.7181785106658936, -0.6653657555580139, -0.2690361440181732, -0.013828645460307598, -0.8236619830131531, 0.532309889793396, 0.29574713110923767, -0.2040313482284546, 0.3744780123233795, -0.32322582602500916, -0.16537104547023773, 0.2452012300491333, -0.046038348227739334, -0.01355931255966425, -0.5480848550796509, 0.11096291989088058, -0.2830791175365448, -0.08061403781175613, -0.3603735566139221, -0.834389865398407, 0.5382490158081055, -0.2487591952085495, -0.36125946044921875, -0.06274597346782684, 0.006360326427966356, 0.5307570695877075, -0.9158363342285156, 0.9817222952842712, 0.5462102293968201, -0.40992870926856995, -0.3707682490348816, -0.29169324040412903, 0.12573932111263275, -0.4043538570404053, 0.49939414858818054, -0.5270493030548096, -0.9314634203910828, 0.2686363458633423, -0.09663783758878708, 0.2612020671367645, 0.29984042048454285, 0.2423429936170578, 0.26349228620529175, 0.6102076172828674, 0.5961366891860962, 0.3450659215450287, 0.7448193430900574, -0.37796443700790405, -0.06396261602640152, -0.6782459020614624, -0.21416401863098145, -0.8356919884681702, -0.11072005331516266, -0.17108310759067535, -0.7857513427734375, 0.39957544207572937, 0.30286577343940735, 0.07253499329090118, 0.41931113600730896, -0.5277515053749084, 0.6915513277053833, 0.5635999441146851, -0.002350080758333206, 0.21530388295650482, 0.3900276720523834, -0.20911037921905518, 0.35853126645088196, -0.98780757188797, -0.25807619094848633, 1.0232267379760742, 0.4339776337146759, 0.8387333750724792, 0.2280064970254898, 0.5650331377983093, -0.12829037010669708, 0.12560009956359863, -1.020264983177185, 0.5778437852859497, -0.5960670709609985, -0.31334710121154785, -0.5474164485931396, -0.6021761894226074, -1.2058945894241333, 0.5710304975509644, -0.15866923332214355, -1.002929925918579, 0.3950788676738739, 0.3442671000957489, -0.5386388301849365, 0.6077243685722351, -0.5530014038085938, 1.1093436479568481, 0.011568854562938213, -0.4846705496311188, -0.2371852546930313, -0.6827783584594727, 0.21358144283294678, -0.01657371036708355, -0.08647319674491882, -0.15869395434856415, -0.2865211069583893, 0.77504563331604, -0.8007864952087402, 0.5580634474754333, -0.18272437155246735, 0.005354552064090967, 0.2986195981502533, -0.20244082808494568, 0.13588041067123413, -0.44688880443573, 0.2374674677848816, 0.29533860087394714, -0.05235740542411804, -0.2811749577522278, -0.4511651396751404, 0.5528964996337891, -0.5331218242645264, -0.1061321496963501, -0.3755498230457306, -0.2726682126522064, -0.11430305987596512, 0.31345584988594055, 0.3035614490509033, 0.5390712022781372, -0.37277543544769287, 0.5362761616706848, 0.9409240484237671, -0.01927894912660122, 0.39125344157218933, 0.3824138045310974, -0.25830644369125366, -0.2936641275882721, 0.9878291487693787, 0.25669991970062256, 0.475455641746521, 0.5735738277435303, 0.5147375464439392, -0.22455407679080963, -0.8702675104141235, -0.5623729825019836, 0.011947829276323318, -0.7375283241271973, -0.14968198537826538, -0.46917837858200073, 0.07427084445953369, -0.38647735118865967, -0.2474069595336914, -0.8591244220733643, -0.5119447708129883, -0.41961437463760376, 0.27723437547683716, 0.2604038119316101, 0.24669422209262848, -0.2540038228034973, 0.4751843512058258, -0.7179754376411438, 0.43267950415611267, 0.22851620614528656, 0.5879413485527039, 0.023859236389398575, -0.47846168279647827, -0.3899132013320923, -0.2147466540336609, 0.04823887720704079, -0.466321736574173, 0.20285940170288086, 0.35834717750549316, 0.45909997820854187, 0.44858795404434204, 0.19107788801193237, 0.7361740469932556, -0.34993207454681396, 0.5053077936172485, 0.4262375831604004, -0.831037700176239, 0.14266091585159302, 0.02892109379172325, 0.26566198468208313, 0.789803147315979, 0.30001920461654663, -0.07640642672777176, 0.35495442152023315, -0.2730650007724762, -0.9975210428237915, 1.0326006412506104, 0.18469367921352386, -0.4424719512462616, 0.1839868724346161, 0.2932828366756439, -0.02623680792748928, 0.01455041766166687, -0.11145661771297455, -0.04935014247894287, -0.2239387184381485, -0.27971139550209045, -0.11596432328224182, 0.10687997937202454, -0.08566775172948837, -0.13040708005428314, 0.6026769876480103, -0.39499446749687195, -0.2414417415857315, 0.3035893440246582, -0.21775761246681213, 0.03135044500231743, 0.026106124743819237, 0.665582537651062, 0.4823340177536011, -0.14557845890522003, 0.02948150224983692, 0.05459292605519295, -0.6180095672607422, -0.058095045387744904, 0.017506003379821777, -0.24287515878677368, -0.24719466269016266, 0.10754429548978806, 1.0638606548309326, 0.19994142651557922, -0.8086227178573608, 0.6726813912391663, -0.05911368504166603, -0.3981519937515259, -0.060228295624256134, 0.18038639426231384, 0.034722112119197845, 0.21594612300395966, -0.017146190628409386, 0.6054013967514038, 0.0815424695611, -0.381550669670105, -0.03432096913456917, 0.45840373635292053, -0.4377538859844208, 0.06670843064785004, 0.384471595287323, 0.3322131335735321, -0.1880604475736618, 0.45274868607521057, -0.04204715043306351, -0.3925633430480957, 0.5177342891693115, -0.0010709663620218635, 0.8961231112480164, -0.07415599375963211, -0.0043833814561367035, 0.20477549731731415, 0.34785565733909607, -0.5056652426719666, 0.26216834783554077, -0.08881627023220062, -0.8900789022445679, -0.43417537212371826, -0.8685063719749451, -0.29302918910980225, -0.2770914137363434, -0.8418259024620056, 0.33709245920181274, -0.5695422887802124, 0.06840382516384125, 0.07160881161689758, -0.677582323551178, -0.615767240524292, 0.2437482476234436, 0.11546877771615982, 1.5222352743148804, -0.2368977665901184, 0.7277173399925232, 0.7340782880783081, -0.28587377071380615, -0.6198388934135437, -0.20492444932460785, -0.3263290226459503, -0.9090068936347961, 0.6081421375274658, 0.226027712225914, -0.5480679869651794, -0.01540602557361126, -0.2753918468952179, -0.8596131801605225, 0.8312171697616577, 0.3536272943019867, -0.6712892651557922, -0.2731873393058777, -0.12963254749774933, 0.3483293652534485, -0.46261370182037354, -0.19598937034606934, 0.44376295804977417, 0.3227766752243042, 0.4122384190559387, -1.0976661443710327, -0.23222953081130981, 0.18596668541431427, 0.0523223951458931, 0.5712039470672607, -0.5227797031402588, 0.927821934223175, -0.3768230080604553, -0.38692158460617065, 0.34817078709602356, 0.7154725790023804, -0.3575648069381714, 0.12498956173658371, 0.8467577695846558, 0.7897775173187256, 0.5304394364356995, -0.17819175124168396, 0.9021021723747253, -0.277662068605423, 0.16793519258499146, 0.9295880794525146, -0.30950841307640076, 1.0334076881408691, 0.5159829258918762, 0.03968482464551926, 0.20448771119117737, 0.320814847946167, 0.15520654618740082, 0.8461613655090332, 0.3973861336708069, 0.018382366746664047, -0.43687692284584045, -0.31458115577697754, -0.3148306906223297, 0.8345272541046143, 0.23309630155563354, -0.3085629343986511, -0.30126675963401794, 0.10815183818340302, -0.24857327342033386, 0.020175518468022346, -0.6310009360313416, 0.5783582925796509, -0.11170487850904465, -0.6471114158630371, 0.553111732006073, 0.14349575340747833, 0.6068938374519348, -1.0659483671188354, 0.14442656934261322, 0.3098505139350891, 0.49497610330581665, -0.09488987922668457, -0.5741691589355469, 0.4173908829689026, -0.16450437903404236, 0.1214999109506607, -0.30847200751304626, 0.7308632731437683, -0.2743641436100006, -0.06240210682153702, 0.14153333008289337, 0.5164910554885864, 0.11698868125677109, -0.25446373224258423, -0.2913651168346405, 0.1904870718717575, 0.12695327401161194, -0.08749315142631531, 0.4116877615451813, 0.13366642594337463, -0.15688209235668182, 0.5410374999046326, 0.6984835267066956, 0.18198467791080475, -0.03495882824063301, -0.06135793775320053, 0.9659456014633179, -0.3515796959400177, -0.7040299773216248, -0.7097527980804443, 0.41651803255081177, -0.20746628940105438, -0.6461074948310852, 0.4457132816314697, 0.6159719228744507, 1.0790165662765503, -0.1351097673177719, 0.5042888522148132, 0.035017482936382294, 0.4176223576068878, -0.788055419921875, 0.5943994522094727, -0.8546294569969177, 0.055856652557849884, -0.15724124014377594, -0.7205937504768372, -0.35552263259887695, 0.9266691207885742, -0.19110257923603058, -0.3894467353820801, 0.5656599998474121, 0.6485391855239868, -0.3181513845920563, 0.05413694679737091, 0.3211122751235962, -0.20242348313331604, 0.0841643363237381, 0.42918094992637634, 0.6777512431144714, -0.06601712852716446, 0.7080156207084656, -0.44014599919319153, -0.4388946294784546, -0.32182297110557556, -0.930943489074707, -0.7216415405273438, -0.387738972902298, -0.5606900453567505, -0.261206716299057, 0.23152977228164673, 0.9160343408584595, 1.0370240211486816, -0.4292299747467041, -0.1806269735097885, -0.14538796246051788, -0.12523683905601501, -0.2831515967845917, -0.15167151391506195, 0.3357899487018585, -0.10316145420074463, -0.5733121037483215, 0.5183698534965515, 0.4883233904838562, 0.01724417880177498, -0.38545718789100647, -0.09959030151367188, 0.03117026947438717, 0.11181200295686722, 0.6349191069602966, 0.5888291001319885, -0.6831944584846497, -0.3364224433898926, 0.1104460060596466, -0.0632898285984993, 0.1284363865852356, 0.7770976424217224, -0.8023293614387512, 0.5338788032531738, 0.5295075178146362, 0.9661086797714233, 0.5033348798751831, -0.06885520368814468, 0.3184439539909363, -0.6548827886581421, 0.11438766121864319, 0.20332342386245728, 0.4265006482601166, 0.32855263352394104, 0.20760932564735413, 0.8748558163642883, 0.3960700035095215, 0.05295534431934357, -0.9503983855247498, 0.41470736265182495, -1.1755733489990234, -0.48180529475212097, 0.9973531365394592, -0.45091351866722107, -0.5826238989830017, 0.032536618411540985, -0.2480776458978653, 0.003000089433044195, -0.3079439699649811, 0.12168633937835693, 0.323689728975296, 0.039415013045072556, 0.010051608085632324, 0.09373234957456589, 0.343120813369751, 0.3215429484844208, -0.7285129427909851, -0.0633745789527893, 0.3887910544872284, 0.18969771265983582, 0.4789833426475525, 0.3690301775932312, -0.030180348083376884, 0.3300815224647522, 0.3302912712097168, 0.12515923380851746, -0.49532073736190796, -0.6536827683448792, -0.3181706964969635, 0.7560103535652161, 0.03700144588947296, -0.701143205165863 ]
http://arxiv.org/abs/2404.07439v1
http://arxiv.org/pdf/2404.07439v1
Behavior Trees Enable Structured Programming of Language Model Agents
2024-04-11T02:44:13
2024-04-11T02:44:13
Richard Kelley
cs.AI
cs.AI, cs.CL
Language models trained on internet-scale data sets have shown an impressive ability to solve problems in Natural Language Processing and Computer Vision. However, experience is showing that these models are frequently brittle in unexpected ways, and require significant scaffolding to ensure that they operate correctly in the larger systems that comprise "language-model agents." In this paper, we argue that behavior trees provide a unifying framework for combining language models with classical AI and traditional programming. We introduce Dendron, a Python library for programming language model agents using behavior trees. We demonstrate the approach embodied by Dendron in three case studies: building a chat agent, a camera-based infrastructure inspection agent for use on a mobile robot or vehicle, and an agent that has been built to satisfy safety constraints that it did not receive through instruction tuning or RLHF.
[ 0.0993027314543724, -0.7648404836654663, 0.3263395428657532, 0.22804895043373108, 0.06770756840705872, 0.4933592677116394, 0.25147610902786255, -0.4278765618801117, -0.12641742825508118, 0.424503356218338, -0.48626863956451416, -0.6072207093238831, -0.23610790073871613, -0.08401988446712494, -0.5417875647544861, 0.9340780973434448, 0.23049874603748322, -0.5705985426902771, -0.0349711999297142, -0.06689905375242233, -0.24493059515953064, -0.4021639823913574, -0.7244139909744263, -0.4330778121948242, 0.07946691662073135, -0.06719937175512314, 1.1063281297683716, 0.6501319408416748, 0.388438880443573, 0.4441816210746765, -0.03916990011930466, 0.14012956619262695, -0.20062334835529327, 0.26769644021987915, 0.08955452591180801, -0.3625358045101166, -0.618846595287323, -0.04414639621973038, 0.5856328010559082, 0.7022263407707214, -0.5564917922019958, -0.2675284743309021, -0.1289369761943817, 0.6009441614151001, -0.19183321297168732, 0.5697482824325562, -0.5431721806526184, 0.13141709566116333, 0.29366764426231384, -0.32813677191734314, -0.29284754395484924, -0.24666261672973633, -0.07164334505796432, -0.589568555355072, -0.1572672426700592, -0.239876389503479, 0.8640667200088501, 0.3912909924983978, -0.6349884271621704, -0.12481226772069931, -0.8864814043045044, 0.7445685863494873, -0.6885512471199036, 0.25523099303245544, 0.3866795599460602, 0.357834130525589, -0.48931339383125305, -0.5816335678100586, -0.330112487077713, -0.49726584553718567, -0.2433798909187317, -0.29428890347480774, -0.3191259503364563, 0.4976286292076111, 0.15434466302394867, 0.09624209254980087, -0.5886319875717163, 0.07213567197322845, -0.21470868587493896, 0.028248634189367294, 0.6801090240478516, 0.5794280767440796, 0.5484510064125061, -0.040482088923454285, 0.37459972500801086, -0.17964379489421844, -0.6259956359863281, 0.3043439984321594, 0.29775670170783997, 0.5931588411331177, -0.1576540619134903, 0.3624885082244873, -0.1716269552707672, 1.0873280763626099, -0.34072145819664, -0.34068697690963745, -0.05918183550238609, -0.06315222382545471, -0.5227811932563782, -0.1487182080745697, 0.5676665306091309, 0.19196094572544098, 0.5839617252349854, -0.22209207713603973, -0.3084409832954407, 0.29986363649368286, 0.2546503245830536, -0.7374320030212402, -0.6176839470863342, 0.4653432071208954, -0.5785982012748718, -0.9869183301925659, -0.05320293828845024, -0.518348753452301, -0.3322358727455139, -0.29286548495292664, -0.04759564995765686, -0.4369301199913025, -0.6637631058692932, 0.012875420041382313, -0.13891896605491638, 0.25183025002479553, 0.31190526485443115, -1.0670944452285767, 0.43562525510787964, 0.9601583480834961, 1.0488184690475464, 0.30893003940582275, -0.3987211585044861, -0.7142162322998047, 0.2713589072227478, -0.7964284420013428, 0.5684979557991028, -1.0584018230438232, -0.4309259355068207, 0.046867724508047104, 0.01672503724694252, -0.12526056170463562, -0.3056868016719818, -0.15466424822807312, -0.3994235396385193, -0.22421245276927948, 0.49872615933418274, -0.02677706442773342, -0.26118800044059753, 0.5351316332817078, -0.39599210023880005, 1.0674068927764893, 0.3162018060684204, -0.4868163764476776, 0.25029876828193665, -0.8178630471229553, -0.744690477848053, 0.1256411075592041, -0.4140290319919586, -0.28408604860305786, -0.10429475456476212, -0.11394388973712921, 0.35705244541168213, 0.24378594756126404, 0.36772021651268005, -0.17855745553970337, -0.33785581588745117, 0.01804608851671219, -0.23186907172203064, 1.07784903049469, 0.18608181178569794, -0.12601318955421448, 0.25917553901672363, -0.7176116704940796, 0.0306217260658741, 0.0808710977435112, -0.8184446096420288, -0.34589946269989014, 0.4485497772693634, -0.14657269418239594, -0.08134929835796356, 0.059151697903871536, -0.3558696210384369, 0.5016255378723145, -0.5479332208633423, 0.9119626879692078, 0.7257788181304932, -0.24447695910930634, 0.25920799374580383, -0.32918575406074524, 0.7862297892570496, -0.03915254771709442, -0.005936215631663799, -0.15179572999477386, -0.482845276594162, -0.2573322653770447, -0.062096912413835526, -0.08922179043292999, 0.4535556435585022, -0.4529247581958771, 0.17603044211864471, -0.17150461673736572, -0.4339703321456909, -0.1923573762178421, -0.07530593127012253, 0.1332690715789795, 0.2871866822242737, -0.2016068398952484, -0.34308502078056335, -0.5086228251457214, -0.37900876998901367, 0.06456408649682999, -0.7304427623748779, 0.2336554080247879, 0.3076450824737549, 0.5633898377418518, -0.3869986832141876, 1.1110972166061401, -0.38931509852409363, -0.05579129233956337, -0.35119014978408813, 0.22849851846694946, 0.24029996991157532, 0.5199137330055237, 0.5597035884857178, -0.8120572566986084, -0.36811596155166626, 0.46397310495376587, -0.7527943253517151, 0.22984348237514496, -0.1368316113948822, 0.19678376615047455, 0.5928041338920593, 0.41973286867141724, -0.8000881671905518, 0.4219810962677002, 0.8845828771591187, -0.280285120010376, 0.7332580089569092, -0.4708687365055084, 0.07641787827014923, -0.7801485657691956, 0.17558497190475464, -0.14604401588439941, -0.41964811086654663, -0.7307941317558289, 0.12263991683721542, -0.5585349202156067, -0.40567752718925476, -0.14002162218093872, 0.26944583654403687, -0.26301127672195435, -0.5564973950386047, -0.1000283733010292, -0.14965318143367767, -0.012466944754123688, 0.54510098695755, 0.32350826263427734, 0.5523732304573059, 1.0199835300445557, -0.7945544719696045, 0.5941190123558044, 0.3546428680419922, -0.22323964536190033, 0.5848002433776855, -0.7622978091239929, 0.14513452351093292, -0.2440366894006729, -0.020779022946953773, -0.6177118420600891, -0.15014460682868958, 0.18608011305332184, -0.4677501618862152, 0.0873790830373764, -0.763288676738739, -0.2420101761817932, -0.051169030368328094, -0.4107822775840759, -0.028514450415968895, 0.5551801323890686, -0.441501259803772, 0.5160704851150513, 0.44535350799560547, 0.23994623124599457, -0.480004221200943, -0.6809850931167603, 0.2704261243343353, -0.28488877415657043, -0.563423216342926, 0.020851243287324905, -0.01707003079354763, -0.5979920029640198, 0.27076399326324463, -0.06455250084400177, -0.5003902316093445, 0.48548001050949097, 0.6011688113212585, 0.022119082510471344, -0.2726878821849823, 0.1782233715057373, -0.2497292459011078, 0.009557130746543407, 0.003866342594847083, -0.17773714661598206, 0.3813473582267761, -0.46503397822380066, -0.3549860715866089, -0.4168581962585449, 0.15099023282527924, 0.7540093064308167, -0.43563786149024963, 0.5442220568656921, -0.034937337040901184, -0.27547863125801086, -0.2905578315258026, 0.2903658151626587, -0.14279454946517944, -0.5973179340362549, 0.37189680337905884, -0.5458783507347107, -0.8390868306159973, -0.061872053891420364, -0.2261115312576294, 0.4583956301212311, -0.31812188029289246, 0.29004067182540894, -0.2256508469581604, 1.455915927886963, 0.8510640263557434, -0.053941357880830765, 0.8443769216537476, -0.33014073967933655, 0.3979915678501129, -0.4248349070549011, -0.29940712451934814, -0.6251468658447266, -0.14107158780097961, -0.6954268217086792, -0.060201890766620636, 0.10943642258644104, -0.11662333458662033, -0.49291300773620605, 0.6177552342414856, -0.8643054962158203, 0.37280675768852234, 0.6003535985946655, -0.2685927748680115, 0.6091622710227966, 0.24120786786079407, 0.1113462895154953, 0.24818380177021027, -0.788394033908844, -0.8882401585578918, 0.912206768989563, 0.3050365149974823, 0.8997086882591248, 0.07500093430280685, 0.6386975646018982, 0.5194031000137329, 0.057042136788368225, -0.8658269047737122, 0.7695234417915344, -0.03422614187002182, -0.5283348560333252, -0.5771356821060181, -0.41823989152908325, -1.5163675546646118, 0.37459465861320496, 0.053278520703315735, -0.9625658988952637, 0.17965765297412872, 0.2733052372932434, -0.42026087641716003, 0.2116280496120453, -0.46038782596588135, 1.1621628999710083, -0.3115644156932831, 0.028204280883073807, -0.5789511799812317, -0.37259361147880554, 0.3935348093509674, 0.4822615683078766, 0.1967017501592636, -0.1882861703634262, 0.28537148237228394, 0.5768492817878723, -0.77588951587677, 1.0563249588012695, -0.0005858719814568758, -0.03120824508368969, 0.5756049156188965, 0.9184564352035522, 0.5514554381370544, -0.08220687508583069, 0.10542330890893936, -0.11605385690927505, 0.8468965888023376, -0.13397692143917084, -0.5415990352630615, 0.4691867530345917, -0.8714538812637329, -0.4484286308288574, -0.6719513535499573, -0.6177390217781067, -0.04830344393849373, -0.027297968044877052, -0.7809817790985107, 0.8337726593017578, -0.3915542960166931, 0.1334122270345688, 0.16075851023197174, -0.07953711599111557, 0.7329238057136536, 0.7445356249809265, -0.3632200062274933, 0.22587603330612183, 0.9426425695419312, -0.08012570440769196, 0.0435718297958374, 0.33306053280830383, -0.015177255496382713, 0.15533506870269775, -0.6309769153594971, -0.14342521131038666, -0.1097932904958725, -0.5513368844985962, -0.00516164256259799, -0.5637969374656677, -0.29648295044898987, -0.4366939067840576, -0.1003226563334465, -0.11422568559646606, -0.4058009684085846, 0.02780238352715969, -0.18217337131500244, 0.6795781254768372, 1.1527955532073975, -0.26692304015159607, 0.536737322807312, -0.6623638272285461, 0.23085452616214752, 0.7256898283958435, 0.3820485770702362, -0.004092340357601643, -0.024083882570266724, -0.00851130485534668, 0.11652731895446777, -0.2982105016708374, -0.8348961472511292, 0.5480997562408447, 0.38105982542037964, 0.47249552607536316, 0.4240233898162842, -0.06951684504747391, 0.4901820421218872, -0.14238126575946808, 0.46860623359680176, -0.19162105023860931, -0.5992658138275146, 0.807137131690979, -0.434623122215271, -0.15907186269760132, 0.24547885358333588, -0.04089584946632385, -0.8681159615516663, -0.38363921642303467, -0.47770386934280396, -0.15452302992343903, 1.0458366870880127, 0.19379448890686035, 0.14764872193336487, -0.014498520642518997, 0.008719664067029953, -0.3893555998802185, 0.5221946239471436, -0.7549933791160583, 0.3953729569911957, -0.34052008390426636, -0.20544877648353577, 0.06218405067920685, 0.07880694419145584, -0.3878728747367859, -0.27575427293777466, 0.4109756052494049, -0.40925440192222595, -0.13331134617328644, 0.012127172201871872, -0.26098817586898804, -0.2874281704425812, 0.19561341404914856, 0.2098577469587326, 0.5275433659553528, -0.37368685007095337, 0.4058404862880707, -0.439792662858963, -0.3832119405269623, 0.22816155850887299, -0.3035534620285034, -0.41882967948913574, -0.31630322337150574, 0.4778773784637451, 0.5915497541427612, -0.037601254880428314, -1.0571587085723877, 0.2026970237493515, 0.15310190618038177, 0.14083589613437653, -0.03942150995135307, 0.274485319852829, 0.09877534210681915, 0.27521687746047974, -0.20718535780906677, -0.017547180876135826, 0.014383543282747269, -1.1833313703536987, 0.17260980606079102, 0.8762966394424438, -0.4231741428375244, -0.6121160387992859, 0.4096832275390625, 0.38227590918540955, -0.7050462961196899, 1.0358830690383911, -0.285163015127182, -0.44559118151664734, 1.1483300924301147, 0.4272017180919647, 0.7741837501525879, -0.09120333939790726, 0.8768091201782227, 0.12478546798229218, 0.7628759145736694, -0.041165150701999664, 0.36950984597206116, -0.1828160285949707, -0.8418988585472107, -0.342482328414917, -0.6996765732765198, -0.446029394865036, -0.11899671703577042, 0.09278751909732819, 0.06703902035951614, -0.836536169052124, 0.0677945464849472, -0.48444056510925293, 0.07996257394552231, -0.2262803465127945, 0.06631996482610703, -0.010022698901593685, 0.699562132358551, -0.9625037312507629, 1.0607001781463623, 1.0905121564865112, -0.5726228952407837, -0.8941581845283508, -0.2292724996805191, -0.07306350022554398, -0.7926569581031799, 0.686830997467041, 0.17479564249515533, -0.26082760095596313, 0.2852078676223755, -0.6285943984985352, -0.5216138958930969, 1.0282139778137207, 0.4378640353679657, -0.32066839933395386, 0.0368976853787899, 0.14333990216255188, 0.7465112209320068, -0.4348910450935364, 0.262276828289032, 0.9414248466491699, 0.535104513168335, 0.18510492146015167, -0.7311329245567322, 0.03145262971520424, -0.22455942630767822, -0.1298910677433014, 0.11065157502889633, -0.37812915444374084, 0.9234843850135803, -0.4076507091522217, -0.4117297828197479, 0.016653066501021385, 0.20060916244983673, 0.46135494112968445, 0.22910034656524658, 0.5643154382705688, 0.4681020677089691, 0.6656800508499146, 0.13213708996772766, 0.9620879292488098, -0.4916057288646698, 0.12090284377336502, 0.8934164047241211, -0.2722070515155792, 0.6313588619232178, 0.2900063991546631, -0.5024747252464294, 1.01911199092865, 0.8179835677146912, 0.058939505368471146, 0.5002356767654419, -0.0069907959550619125, -0.0908120796084404, -0.5106359124183655, -0.2820202112197876, -0.04126414656639099, 0.33272483944892883, 0.29795071482658386, 0.24228616058826447, -0.39792633056640625, -0.43132275342941284, -0.04548097401857376, 0.13476957380771637, -0.15449652075767517, 0.5859395861625671, 0.11309914290904999, -0.6176364421844482, 0.34710565209388733, 0.08160222321748734, 0.27383700013160706, -0.6483750343322754, -0.4348003566265106, -0.40875810384750366, 0.07665061950683594, -0.5140243172645569, -0.8965792059898376, 0.6595069169998169, -0.1747923493385315, 0.49358025193214417, -0.34331801533699036, 0.6298953294754028, -0.22423724830150604, -0.24340872466564178, 0.16220760345458984, 0.2798673212528229, 0.4551650583744049, -0.13810397684574127, -0.7327311038970947, 0.028178881853818893, -0.4305567741394043, -0.241906076669693, 0.22717870771884918, 0.33277207612991333, -0.3299410939216614, 1.121192216873169, 0.530269205570221, 0.06181495636701584, -0.10355071723461151, -0.1553971767425537, 0.7853731513023376, -0.5626499056816101, -0.6116847395896912, -0.9500687718391418, 0.4815913438796997, 0.08121928572654724, 0.057132307440042496, 0.4425090551376343, 0.3726213574409485, 0.2995588183403015, 0.21056383848190308, 0.7543372511863708, -0.48051097989082336, -0.14230363070964813, -0.20717620849609375, 0.5015547871589661, -0.4679177403450012, 0.21583357453346252, -0.014879406429827213, -0.7940748333930969, -0.2371489554643631, 0.873767614364624, -0.040272828191518784, -0.015475637279450893, 0.5273265242576599, 1.1745911836624146, -0.07931587845087051, -0.3975677490234375, 0.47827646136283875, 0.2844111919403076, 0.541110634803772, 0.625150203704834, 0.9253461956977844, 0.06519767642021179, 0.8204610347747803, -0.036227669566869736, -0.16199631989002228, -0.21905215084552765, -0.838983416557312, -1.2790155410766602, -0.48615655303001404, -0.6022095084190369, -0.2588558793067932, 0.1825823038816452, 0.8037250638008118, 1.015474557876587, -0.6985832452774048, -0.5889312028884888, -0.6193141341209412, 0.584191083908081, -0.5925105214118958, -0.21270576119422913, 0.07936008274555206, -0.23967710137367249, -0.5604467988014221, 0.7891733646392822, 0.595089852809906, 0.265287309885025, -0.544041633605957, -0.5324629545211792, -0.08017149567604065, 0.23594316840171814, 0.5042579174041748, 0.7214995622634888, -0.4447459578514099, -0.35433849692344666, -0.337030291557312, -0.1728731244802475, 0.1262727677822113, 0.8878930807113647, -1.0633538961410522, 0.28424274921417236, 0.659766435623169, 0.18996605277061462, 0.27527061104774475, 0.06281696259975433, 0.77588951587677, -0.7198674082756042, 0.4621186852455139, 0.2665809094905853, 0.27547144889831543, 0.32342052459716797, -0.020998355001211166, 0.6827051639556885, 0.32139813899993896, -0.350711464881897, -1.1748710870742798, 0.6293563842773438, -0.7748956680297852, -0.45897048711776733, 0.8621484041213989, -0.10061699151992798, -0.3041016757488251, -0.37462949752807617, -0.3467928171157837, -0.029870418831706047, -0.32454341650009155, 0.9037625789642334, 0.4287201464176178, -0.19482485949993134, -0.4518719017505646, -0.482310950756073, 0.6620709896087646, 0.05309966951608658, -0.9358313679695129, 0.20500309765338898, 0.46713724732398987, 0.1576421707868576, -0.056326571851968765, 0.9892320036888123, 0.07226263731718063, 0.13903596997261047, 0.2865909934043884, 0.13250461220741272, -0.3563564717769623, -0.5915014147758484, -0.5862540602684021, 0.06396706402301788, 0.5685742497444153, -0.16365113854408264 ]
http://arxiv.org/abs/2404.07413v1
http://arxiv.org/pdf/2404.07413v1
JetMoE: Reaching Llama2 Performance with 0.1M Dollars
2024-04-11T00:52:39
2024-04-11T00:52:39
Yikang Shen, Zhen Guo, Tianle Cai, Zengyi Qin
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have achieved remarkable results, but their increasing resource demand has become a major obstacle to the development of powerful and accessible super-human intelligence. This report introduces JetMoE-8B, a new LLM trained with less than $0.1 million, using 1.25T tokens from carefully mixed open-source corpora and 30,000 H100 GPU hours. Despite its low cost, the JetMoE-8B demonstrates impressive performance, with JetMoE-8B outperforming the Llama2-7B model and JetMoE-8B-Chat surpassing the Llama2-13B-Chat model. These results suggest that LLM training can be much more cost-effective than generally thought. JetMoE-8B is based on an efficient Sparsely-gated Mixture-of-Experts (SMoE) architecture, composed of attention and feedforward experts. Both layers are sparsely activated, allowing JetMoE-8B to have 8B parameters while only activating 2B for each input token, reducing inference computation by about 70% compared to Llama2-7B. Moreover, JetMoE-8B is highly open and academia-friendly, using only public datasets and training code. All training parameters and data mixtures have been detailed in this report to facilitate future efforts in the development of open foundation models. This transparency aims to encourage collaboration and further advancements in the field of accessible and efficient LLMs. The model weights are publicly available at https://github.com/myshell-ai/JetMoE.
[ -0.4024841785430908, -0.4750101566314697, 0.27579429745674133, 0.3006291091442108, -0.2604549825191498, 0.24321316182613373, -0.20719213783740997, -0.744019091129303, 0.03014027513563633, 0.7428328394889832, -0.44293585419654846, -0.21976788341999054, -0.9757538437843323, -0.13697367906570435, -0.18188372254371643, 0.7464849352836609, 0.1658838391304016, 0.04295141249895096, -0.06736454367637634, -0.1711384505033493, -0.23576043546199799, -0.3716910183429718, -0.7238208651542664, -0.3086521625518799, 0.7590703964233398, 0.5134376287460327, 0.424172967672348, 0.8508723378181458, 0.5876710414886475, 0.25515803694725037, -0.23836565017700195, 0.3554721474647522, -0.8962222337722778, -0.13665728271007538, 0.07319888472557068, -0.5213223695755005, -0.6569920182228088, 0.13097453117370605, 0.4187653064727783, 0.5445266366004944, -0.21271802484989166, 0.22273162007331848, -0.2399819791316986, 0.6152201294898987, -0.6250156164169312, 0.2953476309776306, -0.7128451466560364, -0.2876654267311096, -0.27789390087127686, 0.2212177813053131, -0.5355612635612488, 0.1358548104763031, -0.16834817826747894, -0.5069488286972046, -0.27382317185401917, 0.20699885487556458, 0.7812747359275818, 0.2730412483215332, -0.41590824723243713, -0.16686972975730896, -0.518202006816864, 0.769504725933075, -0.9442285895347595, 0.6504971981048584, 0.09798158705234528, 0.43730679154396057, -0.38023194670677185, -0.6974565982818604, -0.35022228956222534, -0.4342426061630249, 0.40672436356544495, -0.034583527594804764, -0.12164565920829773, 0.15687771141529083, 0.15424835681915283, 0.3429180681705475, -0.4932214617729187, 0.48298215866088867, -0.452065110206604, 0.1411060392856598, 0.6442568302154541, 0.041901346296072006, 0.05617707595229149, 0.1492283046245575, -0.3500273823738098, 0.009177753701806068, -0.8909409642219543, -0.17116786539554596, 0.4051925539970398, 0.07706232368946075, -0.15887275338172913, 0.5695061087608337, -0.31279510259628296, 0.39718419313430786, -0.1451384276151657, -0.5750945210456848, -0.012349528260529041, -0.013492057099938393, -0.3114808201789856, -0.08193284273147583, 0.5884066820144653, 0.16971835494041443, 0.21637307107448578, -0.4553251266479492, -0.2944393455982208, -0.18015141785144806, -0.009305819869041443, -1.1884849071502686, -0.052294667810201645, 0.019146094098687172, -0.40751171112060547, -0.26578015089035034, -0.1115022525191307, -0.374616801738739, -0.5532513856887817, -0.12387838959693909, 0.36036217212677, -0.20038267970085144, -0.4072769284248352, 0.23829568922519684, 0.03198133409023285, 0.09889580309391022, 0.43407541513442993, -0.9711628556251526, 0.441843181848526, 0.6700336337089539, 0.864666223526001, -0.1524883508682251, -0.21349363029003143, -0.3367023766040802, 0.1869819313287735, -0.335904598236084, 0.9263240098953247, -0.4238854944705963, -0.5391613245010376, -0.42013153433799744, -0.38448336720466614, 0.07473252713680267, -0.8431643843650818, 0.3722124397754669, -0.543274462223053, 0.13071076571941376, -0.006606556009501219, -0.7296165227890015, -0.33865076303482056, -0.027852395549416542, -0.6916172504425049, 1.1229327917099, 0.25639957189559937, -0.4933808743953705, 0.19551241397857666, -0.8152176141738892, -0.11957374960184097, 0.2278730273246765, -0.2024325430393219, -0.24029383063316345, 0.12215004116296768, 0.09556012600660324, 0.4533775746822357, -0.6900336742401123, 0.2916801869869232, -0.40443944931030273, -0.6516331434249878, 0.07205061614513397, -0.4194655418395996, 0.9596563577651978, 0.24704895913600922, -0.4323987662792206, -0.12437430024147034, -0.7146776914596558, -0.1835336834192276, 0.24812255799770355, -0.6212659478187561, 0.2288413792848587, -0.11362802982330322, -0.09137409925460815, 0.04184553399682045, 0.4121374785900116, -0.38632482290267944, 0.2401358187198639, -0.5582353472709656, 0.3111973702907562, 0.7762406468391418, -0.25989875197410583, 0.3620350956916809, -0.15957903861999512, 0.4456404149532318, 0.02456957846879959, 0.17815259099006653, -0.2202252894639969, -0.6202777028083801, -0.8585611581802368, -0.7672172784805298, 0.301098108291626, 0.4501970410346985, -0.2398921698331833, 0.27778851985931396, -0.17120197415351868, -0.5138252377510071, -0.7791494727134705, 0.5643904209136963, 0.3233626186847687, 0.24476264417171478, 0.1802414357662201, -0.09722498059272766, -0.68113774061203, -1.0405657291412354, -0.09801934659481049, -0.33077502250671387, -0.02370545081794262, 0.5129714608192444, 0.4809079170227051, -0.2857998311519623, 0.5649582743644714, -0.26392602920532227, 0.11135910451412201, -0.3920595049858093, -0.008535867556929588, 0.05159309506416321, 0.3216189742088318, 0.5622429847717285, -0.40724632143974304, -0.2992684245109558, 0.27395811676979065, -0.6931600570678711, -0.15233248472213745, 0.3897857666015625, -0.17304997146129608, 0.33791762590408325, 0.3847479820251465, -0.7919131517410278, -0.0004219022812321782, 0.738101601600647, -0.04951663315296173, 0.1801127940416336, 0.13496243953704834, -0.054377973079681396, -1.1459040641784668, 0.1280994415283203, -0.18151907622814178, -0.13337665796279907, -0.32787805795669556, 0.20184221863746643, -0.0920245498418808, -0.1041489914059639, -0.6243028044700623, 0.8215408325195312, -0.5872594118118286, -0.06775089353322983, -0.4595355987548828, 0.1693004071712494, -0.16353149712085724, 0.5701690912246704, -0.38456064462661743, 0.9296940565109253, 0.2867852747440338, -0.20503799617290497, 0.3854754865169525, -0.21178297698497772, -0.5126800537109375, 0.006888776086270809, -0.5146381855010986, 0.43271154165267944, -0.0037482669577002525, 0.22941459715366364, -0.7559285163879395, -0.31675654649734497, 0.2397528737783432, -0.36357396841049194, 0.2408771961927414, -0.03632952272891998, -0.32849305868148804, -0.21202072501182556, -0.21473529934883118, 0.27623891830444336, 0.6350352764129639, -0.5120186805725098, 0.6342001557350159, 0.63029944896698, -0.1394474357366562, -0.6775573492050171, -0.6487998366355896, 0.39302995800971985, 0.06246841326355934, -0.6072502732276917, 0.036098722368478775, -0.13377688825130463, -0.231044739484787, 0.04871952906250954, -0.15681329369544983, -0.16497160494327545, 0.42194321751594543, 0.36481231451034546, 0.2961834669113159, -0.4471645653247833, -0.334216445684433, -0.0316576324403286, -0.15025441348552704, 0.096250019967556, -0.40453821420669556, 0.40157392621040344, -0.1068154126405716, -0.23390774428844452, -0.1923794001340866, 0.1465580016374588, 0.49165841937065125, -0.18592077493667603, 0.8534379005432129, 0.5952693223953247, -0.5307223796844482, -0.20818409323692322, -0.8327949643135071, 0.03225364536046982, -0.49477824568748474, 0.676098108291626, -0.29035934805870056, -1.2231409549713135, 0.2365555763244629, -0.15491990745067596, 0.25108057260513306, 0.3105776309967041, 0.8226875066757202, 0.06668666750192642, 1.0856053829193115, 0.603857696056366, -0.2924085259437561, 0.44219088554382324, -0.36486271023750305, 0.3053032159805298, -0.5949265956878662, -0.6434890627861023, -0.43792062997817993, -0.27353373169898987, -0.4607866108417511, -0.7179650068283081, 0.21341349184513092, 0.2337346225976944, -0.31356146931648254, 0.12358242273330688, -0.07750547677278519, 0.762360155582428, 0.5081243515014648, -0.014913572929799557, 0.3558780550956726, -0.04511675983667374, 0.206379234790802, 0.2717958688735962, -0.7899415493011475, -0.7386524677276611, 1.2170588970184326, 0.4769953191280365, 0.6629828214645386, 0.19431228935718536, 0.5593695044517517, 0.21657073497772217, 0.5581479668617249, -0.730446457862854, 0.8017472624778748, -0.05196499079465866, -0.8152533173561096, -0.06446611136198044, -0.46867847442626953, -0.6035309433937073, 0.24063807725906372, -0.2054395228624344, -0.6335731744766235, -0.14230722188949585, 0.05784904584288597, 0.10083799809217453, 0.4325883686542511, -0.8032764196395874, 0.76435786485672, -0.31545811891555786, -0.24364662170410156, -0.49499598145484924, -0.5266063809394836, 0.6412627696990967, -0.005923845339566469, -0.08565647900104523, -0.6893612146377563, -0.3786082863807678, 0.8713876605033875, -0.135956808924675, 0.642068088054657, -0.19768787920475006, 0.07362548261880875, 0.20672141015529633, -0.02232419326901436, 0.5094342827796936, -0.027757784351706505, -0.1354837864637375, 0.427933007478714, -0.5886159539222717, -0.6970559358596802, -0.6525390148162842, 0.8850076794624329, -1.0579781532287598, -0.7895288467407227, -0.16456685960292816, -0.7159783244132996, -0.25419652462005615, 0.34378984570503235, -0.018252497538924217, 0.25520622730255127, -0.09232329577207565, 0.46426475048065186, 0.8197216987609863, 0.056243475526571274, 0.21530799567699432, 0.6861518621444702, -0.2832932472229004, -0.6339923143386841, 0.918006420135498, 0.2137301117181778, 0.20205463469028473, 0.550006091594696, 0.04549122601747513, -0.24915184080600739, -0.7608954906463623, -0.6459157466888428, 0.40696436166763306, -0.551966667175293, -0.2670661509037018, -0.6353949308395386, -0.37593334913253784, -0.38537994027137756, -0.11278606206178665, -0.5972256064414978, -0.5596131682395935, -0.29194948077201843, -0.26319608092308044, 0.22752788662910461, 0.9473500847816467, 0.16504047811031342, 0.5231022238731384, -0.3382349908351898, -0.041242435574531555, 0.25501230359077454, 0.24856802821159363, 0.038736484944820404, -0.6724132299423218, -0.7182474732398987, 0.03025798872113228, -0.3570064604282379, -0.46222442388534546, 0.08819480985403061, -0.04603619873523712, 0.6802550554275513, 0.6672977805137634, -0.40337443351745605, 0.6290842294692993, -0.3138408362865448, 0.6107595562934875, 0.13743288815021515, -0.7827808260917664, 0.14321480691432953, -0.39495858550071716, -0.015301655977964401, 0.3626161217689514, 0.3438081741333008, -0.22692300379276276, -0.5321841239929199, -0.5993441343307495, -0.584930956363678, 0.7591862082481384, -0.012757874093949795, 0.038673579692840576, 0.10859224945306778, 0.4792645573616028, 0.19766820967197418, 0.336581826210022, -0.6598408818244934, -0.2551771402359009, -0.08119142055511475, -0.30215317010879517, -0.02750985696911812, -0.4752623438835144, -0.006683338899165392, -0.08256073296070099, 0.8305188417434692, -0.05862300843000412, 0.33002209663391113, -0.3297407925128937, -0.0614384189248085, -0.05166437849402428, -0.009328523650765419, 0.7033002972602844, 0.5614299178123474, -0.407951682806015, 0.09655988961458206, 0.3898727297782898, -0.41174885630607605, 0.27916598320007324, 0.10481264442205429, 0.03510579839348793, -0.2921160161495209, 0.4901163578033447, 1.0791306495666504, 0.3772920072078705, -1.0634214878082275, 0.5494709610939026, 0.243061363697052, -0.3734189569950104, 0.12611646950244904, 0.4598963260650635, 0.5043596625328064, 0.4195960462093353, 0.11355960369110107, -0.04315964877605438, 0.1836409568786621, -0.26428675651550293, -0.1311779022216797, 0.38194552063941956, -0.0004113929462619126, -0.17797477543354034, 0.9393092393875122, 0.45298901200294495, -0.21543745696544647, 0.4509645998477936, -0.11423226445913315, -0.2370944321155548, 0.5677556991577148, 0.6495169401168823, 0.8262112736701965, -0.17049849033355713, -0.07242047041654587, -0.034758057445287704, 0.4624481201171875, -0.17245425283908844, 0.0858626589179039, 0.20464636385440826, -0.5622784495353699, -0.5706210732460022, -0.42213332653045654, -0.8609901666641235, 0.1527508795261383, -0.32772335410118103, 0.34479770064353943, -0.7696280479431152, 0.06881169229745865, -0.25212353467941284, 0.45221370458602905, -0.46303170919418335, 0.2233513742685318, 0.33915773034095764, 1.2544113397598267, -0.5702615976333618, 0.9521430730819702, 0.7746642827987671, -0.36267581582069397, -0.8048940300941467, -0.49540942907333374, -0.12691667675971985, -1.2075068950653076, 0.5531625151634216, 0.30817967653274536, -0.31498855352401733, 0.17572002112865448, -0.402574360370636, -0.7763521671295166, 1.266579508781433, 0.9910594820976257, -0.7150555849075317, -0.21818052232265472, 0.012669581919908524, 0.14589901268482208, -0.3897252082824707, 0.626478910446167, 0.4748973846435547, 0.3715912699699402, -0.024956192821264267, -0.7244261503219604, -0.2033618986606598, -0.2797989547252655, 0.12413547933101654, 0.2197955995798111, -1.1993542909622192, 0.7930728197097778, -0.2519145905971527, 0.029717721045017242, -0.027183732017874718, 0.8675312399864197, 0.2843020260334015, 0.2095656394958496, 0.3822942078113556, 0.6735879182815552, 0.8718564510345459, 0.15809784829616547, 0.8564337491989136, -0.47727400064468384, 0.18934893608093262, 0.7018661499023438, -0.41900622844696045, 0.9655447006225586, 0.24088574945926666, -0.15422983467578888, 0.5767046213150024, 0.5521876811981201, 0.16204993426799774, 0.3662625849246979, -0.04597204178571701, -0.595973014831543, -0.3099846839904785, -0.3321528434753418, -0.18187215924263, 0.30985718965530396, 0.05971131473779678, -0.15000556409358978, 0.041373979300260544, -0.18748411536216736, 0.2767244577407837, -0.27608436346054077, -0.22530052065849304, 0.7949581146240234, 0.32426121830940247, -0.32572126388549805, 0.5669838190078735, 0.2128075808286667, 0.4676724672317505, -0.7060064673423767, 0.13430500030517578, -0.5116140842437744, 0.19982431828975677, -0.06920115649700165, -0.31468498706817627, -0.07647310942411423, 0.150035098195076, -0.14946675300598145, 0.046910833567380905, 0.6506069302558899, -0.2884014844894409, -0.6000098586082458, 0.4503609538078308, 0.48894253373146057, 0.23663507401943207, 0.06890629231929779, -0.5062332153320312, 0.357927143573761, -0.029859164729714394, -0.5506604909896851, 0.5290583372116089, 0.35794371366500854, 0.10549602657556534, 0.954048216342926, 0.5455154180526733, 0.17600440979003906, 0.18886087834835052, -0.1274815797805786, 1.0194844007492065, -0.6239393353462219, -0.2674928903579712, -0.7224923968315125, 0.33767130970954895, 0.02908707782626152, -0.36261168122291565, 0.6078370809555054, 0.7991741895675659, 0.954120397567749, 0.16696585714817047, 0.7971086502075195, 0.25171974301338196, 0.39143046736717224, -0.5810012817382812, 0.43207812309265137, -0.6270164847373962, 0.2963273823261261, 0.3163631856441498, -0.8315504193305969, -0.11596355587244034, 0.48219728469848633, -0.11356747150421143, 0.1577364057302475, 0.4927879571914673, 1.0819584131240845, -0.02861161343753338, 0.050697240978479385, 0.42959585785865784, 0.30379748344421387, 0.4012306034564972, 0.7128140330314636, 0.7532239556312561, -0.35372936725616455, 0.7314982414245605, -0.1957455426454544, -0.18250101804733276, -0.6096108555793762, -0.7431450486183167, -1.0171128511428833, -0.010999277234077454, -0.09152389317750931, -0.16489753127098083, 0.39436569809913635, 1.278612494468689, 0.9506108164787292, -0.7047695517539978, -0.6123284101486206, 0.11123724281787872, 0.13004517555236816, -0.06896433234214783, -0.14375457167625427, -0.06629956513643265, -0.09902949631214142, -0.8984566926956177, 0.7990505695343018, 0.5829029679298401, 0.04178057983517647, -0.5507314801216125, -0.40892353653907776, -0.030390840023756027, 0.36817991733551025, 0.5802696347236633, 0.13095098733901978, -0.8137538433074951, 0.093141108751297, 0.024013860151171684, -0.3140295445919037, 0.18477672338485718, 0.7062045335769653, -0.5360244512557983, 0.08899630606174469, 0.2749289870262146, 1.064379334449768, 0.6756557822227478, -0.17008432745933533, 0.33055582642555237, -0.33146145939826965, 0.4502865970134735, 0.12166249752044678, 0.29051539301872253, 0.22617460787296295, -0.2366609275341034, 0.511268138885498, 0.4638192355632782, -0.7223271131515503, -1.0261691808700562, -0.07938701659440994, -0.9799305200576782, -0.22549986839294434, 0.9796660542488098, -0.06270522624254227, -0.2765163481235504, 0.2531253397464752, -0.3822034001350403, 0.1269272267818451, -0.5817402601242065, 0.6264898180961609, 0.6446097493171692, -0.13258470594882965, -0.2886127531528473, -0.7537409663200378, -0.02591896243393421, 0.3291226029396057, -0.8832148313522339, -0.17001307010650635, 0.4468504786491394, 0.27436092495918274, -0.4363568425178528, 0.743762195110321, 0.1580430120229721, 0.24264253675937653, 0.3663618862628937, 0.3155222535133362, -0.6630662679672241, -0.5592679381370544, 0.013852208852767944, 0.16451933979988098, 0.5762646794319153, -0.05260460078716278 ]
http://arxiv.org/abs/2404.08018v1
http://arxiv.org/pdf/2404.08018v1
Analyzing the Performance of Large Language Models on Code Summarization
2024-04-10T22:42:18
2024-04-10T22:42:18
Rajarshi Haldar, Julia Hockenmaier
cs.SE
cs.SE, cs.AI, cs.CL
Large language models (LLMs) such as Llama 2 perform very well on tasks that involve both natural language and source code, particularly code summarization and code generation. We show that for the task of code summarization, the performance of these models on individual examples often depends on the amount of (subword) token overlap between the code and the corresponding reference natural language descriptions in the dataset. This token overlap arises because the reference descriptions in standard datasets (corresponding to docstrings in large code bases) are often highly similar to the names of the functions they describe. We also show that this token overlap occurs largely in the function names of the code and compare the relative performance of these models after removing function names versus removing code structure. We also show that using multiple evaluation metrics like BLEU and BERTScore gives us very little additional insight since these metrics are highly correlated with each other.
[ -0.2863200604915619, -0.5187835693359375, 0.3184260129928589, 0.4317286014556885, -0.4846729636192322, 0.40716469287872314, -0.2781570851802826, -0.8537755012512207, 0.11553826928138733, 0.3627490699291229, -0.07676044851541519, -0.39851194620132446, -0.6982026696205139, 0.15880103409290314, -0.6282175779342651, 0.9665318131446838, -0.1033240556716919, -0.01755080185830593, -0.46898072957992554, -0.12778960168361664, -0.26079803705215454, -0.7949507832527161, -0.15206310153007507, -0.39334458112716675, 0.39306867122650146, 0.12149962037801743, 0.6582468152046204, 0.7685188055038452, 0.9929021000862122, 0.3178587555885315, -0.4297987222671509, 0.17651261389255524, -0.6620264053344727, 0.005608958657830954, 0.038260821253061295, -0.6020593047142029, -0.624079167842865, -0.4131236672401428, 0.7519465684890747, 0.6604521870613098, 0.1475220024585724, 0.4336819648742676, 0.04914475604891777, 0.565367579460144, -0.46067437529563904, 0.23585839569568634, -0.5332834124565125, -0.1268043965101242, -0.1824478805065155, -0.18167166411876678, -0.05625146999955177, -0.48062700033187866, -0.002066780813038349, -0.2068031281232834, 0.03886657580733299, -0.11094324290752411, 0.7243101000785828, 0.37518197298049927, -0.23989084362983704, -0.39440563321113586, -0.6804143190383911, 0.8370686173439026, -1.0729013681411743, -0.035986095666885376, 0.12900099158287048, -0.0008423883118666708, -0.13761262595653534, -0.6214063763618469, -0.5479846000671387, -0.31866350769996643, -0.29899242520332336, -0.10242448002099991, -0.5593782663345337, 0.11467154324054718, 0.4611743092536926, 0.6037098169326782, -0.5273826718330383, 0.4850543141365051, -0.6818190217018127, -0.1854507327079773, 0.6853883862495422, 0.4184677302837372, 0.22592546045780182, -0.1218959391117096, -0.21322563290596008, 0.36569175124168396, -0.7989084124565125, 0.014955149032175541, 0.4919729232788086, 0.06559697538614273, -0.35705462098121643, 0.8694297075271606, -0.07337860018014908, 0.7714614868164062, -0.5528993606567383, -0.3866674602031708, 0.3327714204788208, -0.6356474161148071, -0.3642789125442505, -0.043776072561740875, 0.565402626991272, 0.46207961440086365, 0.5621471405029297, -0.3302038311958313, -0.2984490692615509, 0.14849551022052765, 0.12921278178691864, -0.9379692673683167, -0.11024437099695206, 0.3556792438030243, -0.6740439534187317, -0.2398555427789688, 0.047308266162872314, -0.4517775774002075, -0.3281514346599579, -0.515804648399353, -0.03268151357769966, -0.027104342356324196, -0.25688591599464417, -0.0071958573535084724, -0.2224327176809311, 0.25895094871520996, -0.012320347130298615, -0.6721844673156738, 0.45247477293014526, 1.0923444032669067, 1.0150718688964844, -0.3967353403568268, -0.38741374015808105, -0.5568345189094543, -0.002866277936846018, -0.3755296766757965, 0.6999839544296265, -0.6511402130126953, -0.6560351848602295, -0.15666413307189941, -0.17944644391536713, 0.052237510681152344, -0.8208615779876709, 0.0800614133477211, -0.5246331095695496, -0.34682944416999817, -0.2540493905544281, -0.7426083087921143, -0.15031300485134125, -0.10288884490728378, -0.7814956307411194, 1.0553181171417236, 0.1480770707130432, -0.7835177183151245, 0.2242318093776703, -0.5689499974250793, -0.7464324831962585, -0.08805307745933533, -0.19987516105175018, -0.3018634021282196, 0.5510004758834839, 0.02609127201139927, 0.5569181442260742, -0.466716468334198, 0.22122785449028015, 0.027438517659902573, -0.8480376601219177, 0.39806437492370605, -0.08474449813365936, 0.3382895588874817, 0.26416370272636414, -0.29634761810302734, 0.21775388717651367, -0.9002998471260071, -0.07077156007289886, 0.013120083138346672, -0.5480202436447144, -0.459622859954834, 0.02530788630247116, 0.06812436878681183, -0.046563770622015, 0.37264689803123474, -0.07459983229637146, 0.35384440422058105, -0.2799037992954254, 0.48041221499443054, 0.5755293965339661, -0.09591972827911377, 0.1735018938779831, -0.35942187905311584, 0.7897420525550842, 0.02007094770669937, -0.10269753634929657, -0.5166094303131104, -0.456405371427536, -0.7385089993476868, -0.4725365936756134, 0.38088157773017883, 0.43140289187431335, -0.40609100461006165, 0.18848742544651031, -0.5289745926856995, -0.5371420979499817, -0.3675052523612976, 0.4064774811267853, 0.7596294283866882, 0.19989170134067535, 0.16554686427116394, -0.3997255563735962, -0.7979589700698853, -1.1305712461471558, -0.2547362446784973, -0.24604621529579163, -0.044857416301965714, 0.17593124508857727, 0.675588071346283, -0.1694621443748474, 0.968793511390686, -0.41921380162239075, 0.2671235203742981, -0.375305712223053, 0.06519138067960739, 0.48705577850341797, 0.2242116630077362, 0.5961176753044128, -0.4940056800842285, -0.24939733743667603, 0.04741578921675682, -0.7302061319351196, -0.4755590856075287, -0.04984043911099434, 0.1958945393562317, 0.2893747389316559, 0.5813455581665039, -0.32396841049194336, 0.25635412335395813, 0.732235312461853, -0.15786096453666687, 0.7724400162696838, -0.2433285415172577, -0.024907967075705528, -0.8327475786209106, 0.372976690530777, -0.21180927753448486, 0.007970995269715786, -0.6650857925415039, 0.2724530100822449, 0.09374367445707321, 0.22366423904895782, -0.3995656967163086, 0.33663472533226013, -0.682971179485321, -0.719893753528595, -0.31278568506240845, 0.17891769111156464, -0.11468435078859329, 0.3232235908508301, -0.23675581812858582, 1.268152117729187, 0.48240169882774353, -0.6968820691108704, 0.22796863317489624, -0.05043938755989075, -0.8504548668861389, 0.12288083881139755, -1.0497698783874512, 0.15090680122375488, 0.13074615597724915, 0.13205094635486603, -1.1376323699951172, -0.057144489139318466, -0.3007577061653137, -0.2860831022262573, 0.1424981653690338, -0.19188986718654633, -0.7501632571220398, -0.2860032916069031, -0.31629934906959534, 0.5945459604263306, 0.47585156559944153, -0.4782359004020691, 0.28948265314102173, 0.3975394666194916, -0.24560579657554626, -0.7246941924095154, -1.0126121044158936, 0.2800770401954651, -0.32235953211784363, -0.4798165261745453, 0.23849183320999146, 0.18936194479465485, -0.5995508432388306, 0.016978634521365166, -0.10693499445915222, 0.1063031554222107, 0.32838723063468933, 0.3542666733264923, 0.37732452154159546, -0.3617623448371887, 0.3389277458190918, -0.04649268835783005, -0.015254665166139603, -0.047836340963840485, 0.022490521892905235, 0.6917154788970947, -0.13234882056713104, -0.293742835521698, -0.11287476122379303, 0.16706527769565582, 0.6889719367027283, -0.470988929271698, 0.7299480438232422, 0.2359829843044281, -0.0483635812997818, 0.05198916420340538, -0.5441436171531677, 0.40514880418777466, -0.4089542031288147, 0.6965660452842712, -0.42529061436653137, -0.9398159980773926, 0.9896653890609741, 0.22594602406024933, 0.22631120681762695, 0.3783248960971832, 0.759088397026062, 0.24056871235370636, 0.6883023977279663, 0.5529587864875793, -0.41855692863464355, 0.43635401129722595, -0.362628698348999, 0.22744953632354736, -0.8612925410270691, -0.13818293809890747, -0.5548607707023621, -0.33765849471092224, -0.45231884717941284, -0.792432427406311, -0.004454528912901878, 0.33170652389526367, 0.0708140954375267, 0.5363267660140991, -0.3352962136268616, 0.6969903707504272, 0.31662794947624207, -0.5946680307388306, 0.6667848825454712, 0.16858841478824615, -0.03127822279930115, 0.20625989139080048, -0.6026003956794739, -0.6084004640579224, 1.2252594232559204, 0.431477814912796, 0.8048580884933472, 0.29313942790031433, 0.6332104206085205, 0.21170516312122345, 0.29892033338546753, -0.6504492163658142, 0.45475539565086365, -0.21163631975650787, -0.2774142622947693, 0.004716656170785427, -0.5535424947738647, -0.8468721508979797, 0.4480895698070526, 0.11976974457502365, -0.641505241394043, -0.1258968561887741, -0.06891520321369171, -0.21490123867988586, 0.32629987597465515, -0.7831963300704956, 0.33767077326774597, -0.22566336393356323, -0.10542558133602142, -0.4558749198913574, -0.37943166494369507, 0.544533908367157, -0.1620797961950302, 0.3345901668071747, -0.0429607518017292, -0.3382185697555542, 0.805976390838623, -0.3191013038158417, 0.6636114716529846, 0.1542222797870636, -0.3479892909526825, 0.26587823033332825, 0.06457769125699997, 0.3651059567928314, -0.1337367594242096, -0.09976007789373398, 0.5780956745147705, -0.0018333916086703539, -0.3230130076408386, -0.3930607736110687, 0.7600173354148865, -0.5212215185165405, -0.34715938568115234, -0.07371405512094498, -0.5699484944343567, 0.025017911568284035, -0.05860835686326027, 0.14720866084098816, 0.658010721206665, -0.04833880439400673, 0.06734368205070496, 0.30455416440963745, -0.5001915693283081, 0.6503739953041077, 0.467372864484787, -0.3966897130012512, -0.22027967870235443, 0.7441189289093018, 0.18606334924697876, 0.37450310587882996, 0.3348005712032318, -0.14331290125846863, -0.06346399337053299, -0.7572153806686401, -0.3818301558494568, 0.4207841157913208, -0.6637434959411621, -0.22298529744148254, -0.5730833411216736, -0.10563245415687561, -0.18481899797916412, -0.06563791632652283, -0.06822451204061508, -0.7566075325012207, -0.05648341029882431, -0.1870047152042389, 0.30238309502601624, 1.0893292427062988, 0.2696726322174072, 0.5204657912254333, -0.9917768836021423, 0.21599853038787842, -0.06074737384915352, 0.5882174372673035, 0.4306769371032715, -0.46762025356292725, -0.6107422709465027, -0.3461490273475647, -0.05561574548482895, -0.5529109835624695, 0.10198267549276352, -0.002673858543857932, 0.7264471054077148, 0.3730171024799347, -0.3538617789745331, 0.8272437453269958, -0.3351101577281952, 0.9535152912139893, 0.1964869201183319, -1.1022558212280273, 0.07635405659675598, -0.1329023689031601, 0.6161437630653381, 0.26109156012535095, -0.03070652298629284, -0.5441702008247375, -0.599513828754425, -0.22501033544540405, -0.9895616173744202, 0.6145288348197937, 0.42416322231292725, 0.2385404109954834, -0.029836192727088928, 0.25772494077682495, 0.03971686214208603, 0.3519991636276245, -0.5362957119941711, -0.34881719946861267, 0.34579068422317505, -0.02765262871980667, -0.11896897107362747, -0.5999647378921509, -0.2146301120519638, -0.12572355568408966, 0.21808652579784393, -0.0046440414153039455, 0.3707691729068756, -0.057018015533685684, -0.30055299401283264, -0.04313137009739876, 0.14477384090423584, 0.9518851637840271, 1.1238348484039307, 0.1077122837305069, 0.06471526622772217, 0.2707779109477997, -0.3715430200099945, -0.25936999917030334, -0.08294766396284103, 0.380301833152771, 0.08137685805559158, 1.2003344297409058, 0.6083240509033203, 0.3847074508666992, -1.0227653980255127, 0.34569165110588074, -0.05861663818359375, 0.03563114255666733, -0.03484993800520897, 0.13937774300575256, 0.22859624028205872, 0.2735869884490967, 0.43319785594940186, -0.21453824639320374, 0.17600780725479126, -0.5833841562271118, 0.09360868483781815, 0.3550976812839508, 0.09907738864421844, -0.2138098180294037, 0.3831731081008911, 0.2415061593055725, -0.2615041732788086, 0.51063472032547, 0.11220862716436386, -0.7506335973739624, 1.2336537837982178, 0.4101647436618805, 0.7456300854682922, 0.13247907161712646, -0.26942914724349976, 0.2343599796295166, 0.35441750288009644, 0.10333393514156342, 0.15687295794487, -0.23300233483314514, -0.2548856735229492, -0.8706744909286499, -0.6542447805404663, -0.25912314653396606, -0.09772410243749619, -0.5613964796066284, 0.0917285904288292, -0.2848131060600281, -0.04362177103757858, -0.03186192736029625, -0.08651762455701828, -0.5400103330612183, -0.15734945237636566, 0.19610477983951569, 1.0220471620559692, -0.6059070229530334, 0.7603231072425842, 0.538066029548645, -0.29078295826911926, -0.744868278503418, -0.034838274121284485, -0.15882913768291473, -0.7554789781570435, 0.7759783864021301, 0.24266771972179413, -0.22462518513202667, -0.43468406796455383, -0.1933618038892746, -0.9925544857978821, 1.0582754611968994, 0.23800845444202423, -0.7713190317153931, -0.1512233167886734, 0.11056823283433914, 0.8585358262062073, -0.39358991384506226, 0.36926281452178955, 0.8403664827346802, 0.33760711550712585, -0.11035618931055069, -1.3249151706695557, -0.06677276641130447, -0.3481638729572296, 0.26720568537712097, 0.33969756960868835, -0.7766081690788269, 0.7423665523529053, -0.44754651188850403, -0.2411508709192276, 0.2860763967037201, 0.45018813014030457, 0.19284947216510773, 0.2705570161342621, 0.2889978885650635, 0.33005326986312866, 0.6957385540008545, -0.04141313582658768, 1.3587201833724976, -0.49803441762924194, 0.4443804919719696, 1.1027218103408813, -0.16287019848823547, 0.7560892105102539, 0.45163694024086, -0.5843032002449036, 0.3739852011203766, 0.4116191565990448, -0.2874854505062103, 0.20021642744541168, 0.4990302622318268, 0.07661300152540207, 0.058178070932626724, 0.1850261688232422, -0.5355628132820129, 0.5378113985061646, 0.21847808361053467, -0.5714272260665894, -0.15264438092708588, -0.44378164410591125, -0.008943980559706688, -0.0024660977069288492, -0.23032130300998688, 0.7148482799530029, 0.13733233511447906, -0.7375558614730835, 0.6672722697257996, 0.16461734473705292, 0.7003546953201294, -0.5309506058692932, -0.010034486651420593, -0.47756317257881165, 0.08350786566734314, -0.4285429120063782, -0.637166440486908, 0.5444838404655457, 0.30644986033439636, -0.1639011800289154, 0.20398767292499542, 0.2722621262073517, -0.1061324030160904, -0.4433453679084778, 0.5766378045082092, 0.30005791783332825, 0.35639137029647827, 0.3233473002910614, -0.32868054509162903, 0.356069952249527, -0.08821908384561539, -0.20296551287174225, 0.30422142148017883, 0.11053024977445602, -0.11901258677244186, 0.7573593258857727, 0.6513840556144714, 0.247909814119339, 0.23098820447921753, 0.3405352234840393, 0.9620635509490967, -0.552498459815979, -0.4975026249885559, -1.1183339357376099, 0.30581408739089966, -0.09285620599985123, -0.3195285201072693, 0.8078317046165466, 1.011997103691101, 0.6920037865638733, -0.09428588300943375, 0.6632835268974304, -0.0004165857098996639, 0.32580849528312683, -0.7436239123344421, 0.533075213432312, -0.5206215977668762, 0.8364670276641846, -0.4593007266521454, -1.3331340551376343, -0.26098930835723877, 0.29550471901893616, -0.201743945479393, 0.045259300619363785, 0.5707533359527588, 0.9161979556083679, 0.013506893068552017, -0.20583300292491913, 0.35858482122421265, 0.3387852907180786, 0.38979384303092957, 0.5802645683288574, 0.9224684834480286, -0.16974100470542908, 0.587628185749054, 0.04375236853957176, -0.07462332397699356, -0.4386143386363983, -0.9337537884712219, -0.8972553014755249, -0.3179965913295746, -0.06450359523296356, -0.052228886634111404, -0.10891154408454895, 0.7424496412277222, 0.5832458138465881, -0.8451595306396484, -0.47217243909835815, 0.11912956833839417, 0.29785144329071045, -0.16471363604068756, -0.19370409846305847, 0.3940522074699402, -0.20863044261932373, -0.8543245792388916, 0.1952243596315384, 0.3996569514274597, -0.12419559806585312, -0.36216792464256287, -0.13391152024269104, 0.12477852404117584, 0.2044360637664795, 0.598122239112854, 0.04357023537158966, -0.9115846753120422, 0.10604682564735413, -0.04266161844134331, -0.15973159670829773, -0.06272344291210175, 1.2673486471176147, -0.7350252270698547, 0.30159977078437805, 0.5686527490615845, 0.6734805107116699, 0.32323309779167175, 0.2637638747692108, 0.5344966650009155, -0.7086913585662842, 0.13785095512866974, -0.25605466961860657, 0.3997138440608978, 0.29108038544654846, -0.3087439239025116, 0.733420193195343, -0.10072041302919388, -0.5159980058670044, -1.0520466566085815, 0.13431735336780548, -0.9753881692886353, -0.4025515913963318, 1.367844820022583, -0.2078617811203003, 0.07548797130584717, -0.06366781890392303, -0.1008378267288208, 0.07343676686286926, -0.1788547784090042, 0.6880083680152893, 0.8380932211875916, -0.2280317097902298, 0.14454178512096405, -0.5901857614517212, 0.1525231897830963, 0.38163214921951294, -0.5944123864173889, 0.23300299048423767, 0.5056098699569702, 0.3099631369113922, 0.15959703922271729, 0.4781074821949005, -0.2935880124568939, 0.3235514163970947, -0.04545704647898674, -0.03441721200942993, -0.4666433334350586, -0.1296657770872116, -0.7125980854034424, -0.00041960948146879673, 0.3039194345474243, 0.08088815957307816 ]
http://arxiv.org/abs/2404.07377v1
http://arxiv.org/pdf/2404.07377v1
Deep Generative Sampling in the Dual Divergence Space: A Data-efficient & Interpretative Approach for Generative AI
2024-04-10T22:35:06
2024-04-10T22:35:06
Sahil Garg, Anderson Schneider, Anant Raj, Kashif Rasul, Yuriy Nevmyvaka, Sneihil Gopal, Amit Dhurandhar, Guillermo Cecchi, Irina Rish
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV, cs.IT, math.IT
Building on the remarkable achievements in generative sampling of natural images, we propose an innovative challenge, potentially overly ambitious, which involves generating samples of entire multivariate time series that resemble images. However, the statistical challenge lies in the small sample size, sometimes consisting of a few hundred subjects. This issue is especially problematic for deep generative models that follow the conventional approach of generating samples from a canonical distribution and then decoding or denoising them to match the true data distribution. In contrast, our method is grounded in information theory and aims to implicitly characterize the distribution of images, particularly the (global and local) dependency structure between pixels. We achieve this by empirically estimating its KL-divergence in the dual form with respect to the respective marginal distribution. This enables us to perform generative sampling directly in the optimized 1-D dual divergence space. Specifically, in the dual space, training samples representing the data distribution are embedded in the form of various clusters between two end points. In theory, any sample embedded between those two end points is in-distribution w.r.t. the data distribution. Our key idea for generating novel samples of images is to interpolate between the clusters via a walk as per gradients of the dual function w.r.t. the data dimensions. In addition to the data efficiency gained from direct sampling, we propose an algorithm that offers a significant reduction in sample complexity for estimating the divergence of the data distribution with respect to the marginal distribution. We provide strong theoretical guarantees along with an extensive empirical evaluation using many real-world datasets from diverse domains, establishing the superiority of our approach w.r.t. state-of-the-art deep learning methods.
[ -0.44768285751342773, -0.5474722385406494, 0.38768282532691956, 0.07824506610631943, -0.33486947417259216, 0.30361196398735046, -0.13212907314300537, -0.3843192160129547, 0.15426549315452576, 0.10515737533569336, -0.7425506711006165, -0.5288131237030029, -0.3336685299873352, -0.30269309878349304, -0.28197160363197327, 0.5184490084648132, 0.10376033186912537, 0.19885993003845215, -0.3351200222969055, -0.25625231862068176, -0.2197641283273697, -0.20392008125782013, -0.619799792766571, -0.0454234816133976, 0.42752575874328613, 0.187980517745018, 0.563285231590271, 0.2555506229400635, 0.7157771587371826, 0.15892304480075836, -0.009976287372410297, 0.15120534598827362, -0.5044294595718384, 0.10201139748096466, 0.15814335644245148, -0.5272853970527649, 0.0957377627491951, -0.07136207818984985, 0.8198469281196594, 1.0272176265716553, -0.05568154528737068, 0.08585624396800995, 0.0224651750177145, 1.0548590421676636, -0.6474951505661011, 0.09302110970020294, -0.17468439042568207, 0.5992575287818909, -0.4139750599861145, -0.16999459266662598, -0.09266052395105362, -0.35737138986587524, 0.0161502156406641, -0.5941756367683411, 0.8895316123962402, -0.4333965480327606, 0.38020059466362, 0.5604697465896606, -0.542822003364563, -0.14647559821605682, -1.2602258920669556, 0.6695658564567566, -0.2832847833633423, 0.06913328915834427, 0.16697461903095245, 0.7339836955070496, 0.15649519860744476, -0.6232708096504211, -0.6025533080101013, -0.3902845084667206, 0.22884680330753326, 0.2842246890068054, 0.011883700266480446, -0.15195491909980774, 0.21450471878051758, 0.8834289908409119, -0.39068710803985596, 0.21835452318191528, -0.39662858843803406, 0.11472879350185394, 0.781620979309082, 0.32136183977127075, 0.23739205300807953, 0.23634064197540283, -0.453125, -0.5430864095687866, -0.7840840220451355, 0.06395481526851654, 0.7872475385665894, 0.15243516862392426, -0.38516154885292053, 0.4746176600456238, -0.0726146325469017, 0.26140740513801575, -0.12111861258745193, 0.2217666506767273, 0.3179837167263031, -0.48559021949768066, -0.17409299314022064, -0.3814300000667572, 0.7113111019134521, 0.17550159990787506, 0.006180695258080959, 0.039713259786367416, -0.02295531891286373, 0.13477163016796112, 0.1428581029176712, -0.8404908180236816, -0.5336516499519348, 0.16568171977996826, -0.5757017731666565, -0.37884005904197693, 0.22391045093536377, -1.228477120399475, -0.6339705586433411, -0.3602391481399536, 0.08726334571838379, -0.23983557522296906, -0.534759521484375, 0.0134409349411726, -0.26710185408592224, 0.15665382146835327, 0.3377213180065155, -0.6946514844894409, 0.2407602220773697, 0.18913830816745758, 0.8224769830703735, -0.11494152992963791, -0.030210789293050766, -0.07012726366519928, -0.004905125126242638, -0.575029194355011, 0.794920802116394, -0.4145382344722748, -0.4919320046901703, 0.02011352777481079, -0.40961140394210815, 0.19762663543224335, -0.629023551940918, 0.4287843406200409, -0.5484564304351807, -0.16751788556575775, -0.17574593424797058, -0.5033440589904785, -0.04800697788596153, 0.07544185221195221, -0.9253519177436829, 0.7375428676605225, 0.15887103974819183, -0.6534966826438904, 0.7124478220939636, -0.8237070441246033, -0.31643128395080566, 0.2133479118347168, -0.4838187098503113, -0.45970794558525085, 0.1714298129081726, 0.4120463728904724, 0.3822573125362396, -0.33456164598464966, -0.058005087077617645, -0.6972566843032837, -0.11958353221416473, 0.07278526574373245, -0.7590818405151367, 0.8302424550056458, 0.3677809536457062, -0.15818719565868378, -0.12957987189292908, -0.6317862272262573, -0.052366241812705994, 0.33986061811447144, -0.18684124946594238, -0.30206847190856934, -0.02740105800330639, 0.15868079662322998, -0.17148441076278687, -0.1798897683620453, -0.4328772723674774, 0.5229927897453308, -0.005399623885750771, 0.2390461564064026, 0.7924933433532715, 0.25641709566116333, 0.6500545740127563, -0.09456530958414078, 0.6907950639724731, 0.23533852398395538, 0.19509665668010712, -0.160087451338768, -0.3280673623085022, -0.2629808485507965, -0.6850096583366394, 0.5295050144195557, 0.31896549463272095, -0.6892035603523254, 0.5111845135688782, -0.4260762929916382, -0.5232877135276794, -0.4806780517101288, -0.010291827842593193, 0.0434904471039772, 0.1818474680185318, 0.2716839015483856, -0.38803330063819885, -0.2789831757545471, -0.8099278807640076, 0.2533736824989319, 0.1996879279613495, -0.056543149054050446, 0.2691640257835388, 0.5276161432266235, -0.36365458369255066, 0.7880611419677734, -0.7258347272872925, -0.2138969749212265, 0.030792679637670517, 0.21934786438941956, 0.15059074759483337, 0.546839714050293, 0.7443757653236389, -1.1750675439834595, -0.646903932094574, -0.2563078999519348, -0.9486170411109924, 0.3577137589454651, -0.22036360204219818, -0.2454649657011032, -0.03599078208208084, 0.4205058217048645, -0.7134877443313599, 0.6964030861854553, 0.24122630059719086, -0.13925062119960785, 0.41348737478256226, -0.36754339933395386, -0.004356660880148411, -0.9251179099082947, 0.1609068363904953, 0.1443488448858261, 0.14705157279968262, -0.48092421889305115, 0.20668546855449677, -0.15164294838905334, -0.04783997684717178, -0.014778169803321362, 0.37186893820762634, -0.5663641095161438, -0.14268121123313904, -0.06135869026184082, -0.5057511925697327, -0.11487138271331787, 0.3697351813316345, 0.06717105954885483, 0.5066742300987244, 0.727279007434845, -0.5963484048843384, 0.43072739243507385, 0.2496528923511505, -0.5922495722770691, 0.6464585065841675, -0.5387859344482422, 0.15329225361347198, -0.5804106593132019, 0.5498669147491455, -1.2076873779296875, -0.17562872171401978, 0.2935659885406494, -0.271904319524765, 0.48769158124923706, -0.2368905395269394, -0.522428572177887, -0.3427940905094147, -0.369209885597229, 0.8768863081932068, 0.7492141127586365, -0.7595652937889099, 0.19948334991931915, 0.4290504455566406, 0.04847582057118416, -0.6268594264984131, -0.7716942429542542, -0.058356378227472305, -0.29087120294570923, -0.44964611530303955, 0.2845553159713745, -0.2567461431026459, -0.25737959146499634, 0.28679272532463074, 0.03950335457921028, 0.04754745215177536, -0.16247373819351196, 0.19183482229709625, 0.04509683698415756, -0.20207129418849945, 0.2846994996070862, 0.12078473716974258, -0.07013171166181564, -0.09857631474733353, -0.4588008522987366, 0.5796347856521606, 0.26956048607826233, -0.724673330783844, -0.4637574851512909, 0.6769146919250488, 0.4362954795360565, 0.12337139248847961, 0.37280964851379395, 0.7991422414779663, -0.34647560119628906, -0.35262182354927063, -0.09785779565572739, -0.08023843169212341, -0.3599364757537842, 0.11660817265510559, -0.4522557854652405, -0.266937792301178, 0.3810954689979553, 0.05992862209677696, -0.022928304970264435, 0.5031158328056335, 0.5509241223335266, -0.3586784899234772, 0.9032821655273438, 0.5485213398933411, -0.204727903008461, 0.49673205614089966, -0.94143146276474, 0.14441163837909698, -0.6669908165931702, -0.2711591124534607, -0.16670750081539154, -0.7133651971817017, -0.4764140248298645, -0.6673084497451782, 0.5848327279090881, 0.03540724143385887, -0.14251777529716492, -0.3799726665019989, -0.45498746633529663, 0.3303162753582001, 1.0326098203659058, 0.18119925260543823, 0.0671825036406517, 0.48918309807777405, 0.03890048712491989, -0.028327856212854385, -0.47472402453422546, -0.12915177643299103, 1.2343227863311768, 0.19384001195430756, 0.9689938426017761, -0.0073940204456448555, 0.6836188435554504, 0.7280985116958618, 0.09596054255962372, -0.6495258212089539, 0.2296467125415802, -0.19256344437599182, -0.3414798080921173, -0.14897200465202332, -0.5819023251533508, -1.1241403818130493, 0.15256258845329285, -0.01684478484094143, -0.2316533923149109, 0.6030312776565552, 0.4331260323524475, -0.2918623387813568, 0.6132344603538513, -0.7098628878593445, 0.6509947180747986, -0.11579587310552597, -0.12028876692056656, -0.2683916687965393, -0.7389439344406128, 0.45668095350265503, 0.15127189457416534, -0.11469516158103943, -0.043413352221250534, 0.10001995414495468, 0.3966011703014374, -0.2877853214740753, 1.0745818614959717, -0.7258431315422058, 0.014725940302014351, 0.6130545139312744, -0.10566166043281555, 0.3513855040073395, 0.19982022047042847, 0.19921331107616425, 0.2522597908973694, -0.03739370405673981, -0.744884729385376, -0.563124418258667, 0.29680192470550537, -0.8316539525985718, -0.14829114079475403, -0.3194177746772766, -0.49589893221855164, -0.08754879236221313, -0.11713604629039764, 0.6373811364173889, 0.48094552755355835, -0.33963096141815186, 0.15756890177726746, 0.34890931844711304, -0.2553116977214813, 0.24654017388820648, -0.17122089862823486, 0.16309906542301178, -0.362641841173172, 0.8345000147819519, -0.0261627696454525, 0.20017512142658234, 0.5776064991950989, 0.09902400523424149, -0.6787919998168945, -0.5786804556846619, -0.5449634790420532, 0.09352122992277145, -0.6073148846626282, -0.1626073122024536, -0.25178346037864685, -0.1541861742734909, -0.2904737591743469, -0.04007432237267494, -0.24957850575447083, -0.3400738537311554, -0.2538841962814331, -0.03642314299941063, 0.11223714053630829, 0.726413369178772, -0.35926324129104614, 0.09032303094863892, -0.5467605590820312, 0.4388333559036255, 0.3126007616519928, 0.07829800248146057, 0.07380601018667221, -0.21480202674865723, -0.011349545791745186, 0.3531496524810791, -0.17788466811180115, -0.5414829850196838, 0.35651782155036926, 0.20065191388130188, 0.5845634937286377, 0.6166733503341675, -0.004690195433795452, 0.6321559548377991, -0.30701082944869995, 0.8674498200416565, 0.2858804166316986, -0.35804975032806396, 0.4279652237892151, -0.21080230176448822, 0.15650303661823273, 0.47733446955680847, 0.3359660804271698, -0.36564013361930847, -0.05197738856077194, -0.7644588351249695, -0.8588687777519226, 0.3616614043712616, 0.19905170798301697, 0.2935017943382263, 0.3082343339920044, 0.3296504318714142, 0.2718951404094696, 0.3393478989601135, -0.43212956190109253, -0.3149876594543457, -0.1721220761537552, -0.40717118978500366, -0.35231369733810425, -0.16611738502979279, -0.3673129379749298, -0.279122918844223, 0.2814500033855438, -0.2755812108516693, 0.7112453579902649, 0.17683060467243195, 0.050129663199186325, -0.08976022899150848, -0.15331542491912842, 0.35402992367744446, 0.1998598575592041, -0.05326574668288231, 0.3498303294181824, -0.2768692374229431, -0.611689031124115, 0.25485023856163025, 0.27611759305000305, -0.37746134400367737, -0.12359289824962616, 0.35216620564460754, 0.6985093355178833, -0.5112855434417725, -0.48935467004776, 0.4534909725189209, -0.1125197634100914, -0.1909763514995575, -0.6743485331535339, -0.07395335286855698, -0.12572020292282104, 0.44561243057250977, 0.4497756361961365, 0.47303518652915955, 0.3990030884742737, -0.4087474048137665, 0.07545751333236694, 0.7004344463348389, -0.255088210105896, -0.5419495701789856, 0.5130250453948975, 0.017841359600424767, -0.05087360367178917, 0.9216127395629883, -0.5167715549468994, 0.007962431758642197, 1.0799739360809326, 0.18130452930927277, 0.9909418225288391, 0.10616208612918854, 0.39678752422332764, 0.483492374420166, 0.04836824908852577, 0.02609679102897644, 0.20106427371501923, -0.49759379029273987, -0.8957105875015259, -0.2069006860256195, -0.4811578392982483, -0.2008795440196991, 0.24462202191352844, -0.7654386758804321, -0.18756379187107086, -0.37528544664382935, 0.012758098542690277, -0.030499281361699104, -0.12495338171720505, -0.849744975566864, -0.013232464902102947, 0.4310339689254761, 0.8815272450447083, -0.8895694613456726, 0.6131473183631897, 0.5410383939743042, -0.42383408546447754, -0.2895728349685669, 0.26013433933258057, -0.07779931277036667, -0.8340798616409302, 0.5285826325416565, 0.19083386659622192, -0.03620986267924309, -0.03253842517733574, -0.7058864235877991, -0.61037677526474, 1.1089777946472168, 0.29398614168167114, -0.4394759237766266, 0.156752809882164, 0.07694793492555618, 0.5965625047683716, -0.16647441685199738, -0.06869428604841232, 0.42625343799591064, 0.2520515024662018, 0.2844820022583008, -0.03960346058011055, -0.16306430101394653, -0.5516375303268433, 0.314230352640152, 0.4234555661678314, -0.5264849066734314, 0.6681835651397705, -0.487293004989624, -0.4860285520553589, 0.30229809880256653, 0.5630573630332947, 0.1591145247220993, 0.3600088655948639, 0.8460810780525208, 0.7722968459129333, 0.8261159658432007, 0.10028744488954544, 1.1852519512176514, -0.08262941241264343, 0.5615782737731934, 0.7701571583747864, -0.11993522197008133, 0.4362383782863617, 0.5428824424743652, -0.5766605734825134, 0.39059963822364807, 0.6802113056182861, -0.3807080090045929, 0.8622481822967529, 0.19279013574123383, -0.7544952034950256, 0.04113217443227768, 0.09314066171646118, -0.42046234011650085, 0.10952495038509369, 0.517945408821106, -0.21334637701511383, -0.34086185693740845, 0.06805679202079773, -0.651445746421814, -0.050752587616443634, -0.19244541227817535, 0.413673460483551, 0.03041129745543003, -0.4419931173324585, 0.2110740691423416, -0.30355799198150635, 0.5798077583312988, -0.4270845651626587, -0.3430851697921753, -0.37658002972602844, 0.29086145758628845, -0.00216966075822711, -0.8184181451797485, 0.30781278014183044, -0.26111674308776855, -0.1618034839630127, -0.257158488035202, 0.5101988911628723, -0.3084593117237091, -0.6174803376197815, 0.03716963157057762, 0.42023706436157227, 0.26205456256866455, -0.18945159018039703, -0.5378378033638, -0.27332234382629395, -0.12087686359882355, -0.20149622857570648, 0.06411930173635483, 0.23262177407741547, 0.18564607203006744, 0.2901226878166199, 0.7540495991706848, 0.1122804582118988, 0.21531125903129578, 0.24254640936851501, 0.5348979830741882, -0.5215411186218262, -0.5656352043151855, -0.7458001971244812, 0.6635904908180237, -0.24559882283210754, -0.30439186096191406, 0.3220614194869995, 0.510097861289978, 0.7746264934539795, -0.4069426953792572, 1.09110426902771, -0.3774352967739105, 0.2524098753929138, -0.622191309928894, 0.22015798091888428, -0.596508264541626, -0.010240605100989342, 0.16041849553585052, -0.6681390404701233, -0.3349744975566864, 0.5046131014823914, -0.24862895905971527, 0.19470667839050293, 0.3883779048919678, 0.7388998866081238, -0.38398972153663635, -0.10242494195699692, 0.1830485761165619, -0.09017597138881683, 0.3626856207847595, 0.5675751566886902, 1.2254102230072021, -0.20026180148124695, 0.3575346767902374, -0.5520454049110413, -0.23119544982910156, -0.1663314700126648, -0.5334465503692627, -0.505939245223999, -0.7389073967933655, -0.30846893787384033, -0.09567892551422119, -0.39097437262535095, 0.6171668171882629, 0.9772641658782959, -0.7136203050613403, 0.039681244641542435, -0.6410437822341919, -0.17605437338352203, -0.5086989402770996, -0.2751901149749756, 0.6212471723556519, -0.29946190118789673, -1.131316065788269, 0.3486110270023346, 0.2044324427843094, 0.4013623595237732, -0.6283255219459534, 0.004595195408910513, 0.21817970275878906, -0.4005064070224762, 0.46751177310943604, 0.4001651704311371, -0.3525814712047577, -0.07668156176805496, -0.22687754034996033, -0.06357570737600327, 0.2628561556339264, 1.0507454872131348, -0.6070864796638489, 0.572515606880188, 0.5265849828720093, 0.7442799210548401, 0.8733882308006287, -0.00266329781152308, 0.31218230724334717, -0.9784142374992371, 0.3868229389190674, 0.4314221441745758, 0.21458800137043, 0.40121766924858093, -0.49702176451683044, 0.7362241744995117, 0.5443181991577148, -0.3112086057662964, -0.8636779189109802, 0.5528795719146729, -1.101518154144287, -0.2755529284477234, 1.0245230197906494, -0.02790110930800438, 0.04487745836377144, 0.14319826662540436, -0.09791206568479538, 0.17013348639011383, -0.1533244550228119, 0.758765459060669, 0.29790642857551575, -0.24702006578445435, -0.004009447526186705, -0.49236005544662476, 0.4632892310619354, 0.2201523333787918, -0.7807598114013672, -0.17464609444141388, 0.5112589597702026, 0.2761957049369812, 0.2811754047870636, 0.9103080034255981, 0.01778360828757286, 0.11980977654457092, 0.4268398582935333, 0.16766749322414398, 0.23149149119853973, -0.37823793292045593, -0.6462122797966003, 0.3427090346813202, -0.12131744623184204, -0.665047287940979 ]
http://arxiv.org/abs/2404.07376v1
http://arxiv.org/pdf/2404.07376v1
LLMs in Biomedicine: A study on clinical Named Entity Recognition
2024-04-10T22:26:26
2024-04-10T22:26:26
Masoud Monajatipoor, Jiaxin Yang, Joel Stremmel, Melika Emami, Fazlolah Mohaghegh, Mozhdeh Rouhsedaghat, Kai-Wei Chang
cs.CL
cs.CL
Large Language Models (LLMs) demonstrate remarkable versatility in various NLP tasks but encounter distinct challenges in biomedicine due to medical language complexities and data scarcity. This paper investigates the application of LLMs in the medical domain by exploring strategies to enhance their performance for the Named-Entity Recognition (NER) task. Specifically, our study reveals the importance of meticulously designed prompts in biomedicine. Strategic selection of in-context examples yields a notable improvement, showcasing ~15-20\% increase in F1 score across all benchmark datasets for few-shot clinical NER. Additionally, our findings suggest that integrating external resources through prompting strategies can bridge the gap between general-purpose LLM proficiency and the specialized demands of medical NER. Leveraging a medical knowledge base, our proposed method inspired by Retrieval-Augmented Generation (RAG) can boost the F1 score of LLMs for zero-shot clinical NER. We will release the code upon publication.
[ -0.13613347709178925, -0.5795778632164001, 1.0529087781906128, -0.003764092456549406, -0.33173537254333496, 0.24163824319839478, -0.14395369589328766, -0.6152355670928955, 0.4854503870010376, 0.4162255823612213, -0.38916710019111633, -0.561580240726471, -0.5107558965682983, 0.632927656173706, -0.10587701946496964, 0.8997694253921509, 0.014569832943379879, 0.5804902911186218, -0.3817441761493683, -0.23488934338092804, -0.48947593569755554, -0.37919342517852783, -0.9426713585853577, -0.4116674065589905, 0.9146097898483276, 0.3134130835533142, 0.10015087574720383, 0.6651893258094788, 0.8180983066558838, 0.2088029384613037, -0.2743878960609436, 0.38565370440483093, -0.20968139171600342, 0.4978947341442108, -0.17839649319648743, -0.4861658215522766, -0.3415849208831787, -0.20249797403812408, 0.6142421364784241, 0.7408196926116943, 0.03574641793966293, -0.03851045295596123, -0.0529152974486351, 0.6132615804672241, -0.31700268387794495, -0.13278988003730774, -0.4271669387817383, 0.11055700480937958, -0.28581666946411133, -0.5971242785453796, -0.39696651697158813, -0.18205833435058594, 0.08828192204236984, -0.5199856758117676, 0.14989444613456726, 0.049837373197078705, 0.7140293121337891, 0.24767367541790009, -0.24631215631961823, -0.2798199951648712, -0.5408974289894104, 0.5815979242324829, -0.46196842193603516, 0.375535786151886, 0.002329169772565365, 0.2813233435153961, -0.487320214509964, -0.7713805437088013, -0.2583391070365906, -0.4188743829727173, 0.03979998454451561, 0.009770913980901241, -0.1499694287776947, 0.23914538323879242, 0.5416171550750732, 0.20821668207645416, -0.3233683407306671, 0.3574129641056061, -0.3418758511543274, -0.056767579168081284, 0.48424026370048523, 0.46680504083633423, 0.35369884967803955, -0.15559811890125275, -0.3553164303302765, 0.3153252601623535, -1.0317519903182983, 0.028214162215590477, -0.28031882643699646, 0.3677358329296112, 0.17973387241363525, 0.5751756429672241, -0.261366069316864, 0.6687410473823547, 0.18396589159965515, -0.4112504720687866, 0.3584752678871155, -0.1716286689043045, -0.17680518329143524, 0.10341653972864151, 0.5649182200431824, 0.17485971748828888, 0.07829955965280533, -0.22444036602973938, -0.12413980066776276, -0.19716595113277435, 0.36572402715682983, -0.8396831750869751, -0.032429926097393036, 0.45185840129852295, -0.37281084060668945, -0.3917943835258484, -0.41171202063560486, -0.7383200526237488, -0.764331579208374, -0.2982136905193329, 0.2630024254322052, -0.5909036993980408, 0.30491000413894653, -0.0379604808986187, -0.21981282532215118, 0.2939580976963043, 0.6732776761054993, -0.5257254242897034, 0.12046372890472412, 0.5439274907112122, 0.7617220282554626, -0.26749876141548157, 0.14645929634571075, -0.5884969830513, 0.2043956220149994, -0.28486526012420654, 0.9537774920463562, -0.5055004954338074, -0.5927826166152954, -0.19263528287410736, -0.05144868791103363, -0.020690036937594414, -0.7556010484695435, 0.3882253170013428, -0.4676413834095001, -0.13749612867832184, -0.35865318775177, -0.7066319584846497, -0.033486366271972656, 0.24079114198684692, -0.47302210330963135, 0.5570233464241028, -0.08852192759513855, -0.5086883306503296, 0.4885365962982178, -0.6807770133018494, -0.49468711018562317, 0.6564030647277832, -0.5334230661392212, -0.27349475026130676, 0.2653537094593048, 0.2975771725177765, 0.5429000854492188, -0.43595412373542786, 0.2961373031139374, -0.029911644756793976, -0.22768935561180115, 0.46964505314826965, -0.2434045523405075, 0.4403652846813202, 0.08460339158773422, -0.10847685486078262, 0.05121568962931633, -0.7564359307289124, 0.10492562502622604, 0.09437442570924759, -0.46659934520721436, -0.3020722568035126, -0.20158874988555908, -0.2201768010854721, -0.047871723771095276, 0.006281867157667875, -0.5403817296028137, 0.2712897062301636, -0.7011266350746155, 0.2154635787010193, 0.3701373040676117, 0.41230911016464233, 0.39686378836631775, -0.5465096235275269, 0.6707150936126709, -0.08194395154714584, -0.18104077875614166, -0.10006875544786453, -0.5481004118919373, -0.5537405610084534, -0.6425237655639648, 0.5196594595909119, 0.7596728801727295, -0.7909632921218872, 0.01673724688589573, -0.02033180743455887, -0.4450571537017822, -0.6246448755264282, -0.00865183211863041, 0.26483121514320374, 0.9531137347221375, 0.5280530452728271, -0.0028892613481730223, -0.6221212148666382, -0.7846287488937378, -0.3144064247608185, 0.03471238166093826, -0.23765616118907928, 0.7074798941612244, 0.4494558274745941, -0.45810022950172424, 0.7688513994216919, -0.428392231464386, -0.28784337639808655, -0.431147962808609, -0.16911639273166656, 0.5382258296012878, 0.2660415470600128, 0.3012470304965973, -0.5671837329864502, -0.2642468512058258, -0.15403033792972565, -0.8101481199264526, -0.42393815517425537, -0.08489681035280228, 0.07860426604747772, -0.015274733304977417, 0.5884757041931152, -0.658370316028595, 0.2581729292869568, 0.032771699130535126, -0.06258424371480942, 0.45063698291778564, -0.2012094408273697, 0.2896769046783447, -1.0751405954360962, 0.22505053877830505, -0.06550424546003342, -0.3528520464897156, -0.794334888458252, 0.14903461933135986, 0.05460966005921364, -0.07046989351511002, -0.7246038317680359, 1.0044946670532227, -0.6608986258506775, 0.3237718641757965, -0.2301824390888214, -0.07093992829322815, -0.0020312967244535685, -0.015221122652292252, 0.051095232367515564, 0.6359370350837708, 0.5974167585372925, -0.8508597016334534, 0.36884352564811707, 0.34688642621040344, -0.15698683261871338, 0.7075595259666443, -0.7202407121658325, -0.03576396033167839, -0.3139496147632599, 0.12082695215940475, -0.598238468170166, -0.4997658431529999, 0.2354721575975418, -0.33319440484046936, 0.8011382818222046, 0.05816727504134178, -0.3854562044143677, -0.39120548963546753, -0.10855844616889954, 0.3224175274372101, 0.5274361371994019, -0.4998784065246582, 0.34661638736724854, 0.3967978060245514, -0.23521582782268524, -0.38819873332977295, -0.6018843054771423, 0.26053154468536377, -0.28405070304870605, -0.20067580044269562, 0.6161004304885864, 0.011121749877929688, -0.1876043826341629, -0.27245476841926575, -0.11139336973428726, 0.147162526845932, 0.045713406056165695, 0.377434104681015, 0.3779155910015106, -0.24082936346530914, 0.5215463638305664, 0.03840919956564903, -0.20561467111110687, -0.021997375413775444, 0.04604075476527214, 0.26171573996543884, 0.24317152798175812, -0.2631145119667053, -0.34848904609680176, 0.3135795295238495, 0.2869189977645874, -0.04760982468724251, 0.5848889350891113, 0.2726404070854187, -0.6169800162315369, -0.11741823703050613, -0.6594493985176086, -0.39344969391822815, -0.416515976190567, 0.23220622539520264, -0.19995665550231934, -0.9772179126739502, 0.3967684805393219, -0.4796961545944214, -0.3471101224422455, 0.3251354992389679, 0.6145550012588501, -0.3529774248600006, 0.7161412239074707, 0.2258307784795761, 0.13099616765975952, 0.21630480885505676, 0.004232042469084263, 0.07846831530332565, -1.0780305862426758, -0.30835235118865967, -0.33748242259025574, -0.31717878580093384, -0.49627169966697693, -0.6769128441810608, 0.84424889087677, 0.05623935908079147, 0.08925662189722061, 0.11217368394136429, -0.689293622970581, 0.43810346722602844, 0.3071085810661316, 0.36800625920295715, 0.1521514356136322, -0.013137929141521454, -0.4969725012779236, -0.08492125570774078, -0.7325876951217651, -0.5011951327323914, 1.0339257717132568, 0.42346352338790894, 0.6152070164680481, -0.02573835477232933, 1.1118125915527344, 0.056572478264570236, 0.40716907382011414, -0.9590561389923096, 0.7163616418838501, -0.0452902652323246, -0.41867512464523315, -0.10563301295042038, -0.4227985143661499, -1.1777561902999878, -0.22416365146636963, -0.4688258767127991, -0.666439950466156, 0.12849801778793335, 0.018306169658899307, -0.8072943687438965, 0.01151744183152914, -0.09478910267353058, 0.4704747200012207, -0.23878300189971924, -0.2141774743795395, 0.11973229050636292, -0.48240041732788086, 0.03488306701183319, -0.08310389518737793, 0.02299981191754341, -0.04617926478385925, -0.3414902687072754, 0.4736311733722687, -0.3336857855319977, 0.7049549221992493, -0.07136406004428864, 0.15487618744373322, 0.16633683443069458, -0.12502864003181458, 0.39559903740882874, 0.3938036859035492, -0.01456268597394228, 0.20761306583881378, -0.19084641337394714, -0.05199960246682167, -0.4289720952510834, 0.7024262547492981, -0.19517305493354797, -0.7919108271598816, -0.47219008207321167, -0.4762127995491028, -0.4027196764945984, 0.3190719187259674, 0.5055208206176758, 0.4884045720100403, -0.28072434663772583, 0.058675751090049744, 0.9131296277046204, -0.5576576590538025, 0.14600636065006256, 0.7367199659347534, 0.03735555708408356, -0.49759942293167114, 0.6448971629142761, 0.12682098150253296, -0.031311340630054474, 0.6171598434448242, -0.0014036467764526606, -0.16816562414169312, -0.7787318229675293, -0.578040361404419, 0.4487559497356415, -0.5321823358535767, -0.6511482000350952, -0.821931004524231, -0.36914029717445374, -0.39666855335235596, -0.2840554416179657, 0.11446988582611084, -0.21128304302692413, -0.6849843859672546, -0.07575324922800064, 0.7136965990066528, 0.5892201066017151, 0.04123634472489357, 0.0697406530380249, -1.0518462657928467, 0.4668545126914978, -0.0016793669201433659, 0.3855891525745392, -0.29686692357063293, -0.4344466030597687, 0.04495939984917641, -0.3746950924396515, -0.04279658943414688, -1.235062599182129, 0.4693846106529236, 0.13959646224975586, 0.8232012391090393, 0.34552469849586487, -0.242558553814888, 0.6428824663162231, -0.9933101534843445, 0.4693436324596405, 0.05072783678770065, -0.4775960445404053, 0.7958102226257324, -0.2551419734954834, 0.34726694226264954, 0.7196393013000488, 0.5961468815803528, -0.4606182873249054, -0.31411078572273254, -0.5034717917442322, -0.820765495300293, 0.2756274342536926, -0.22394253313541412, 0.06253337115049362, -0.41926971077919006, 0.6641925573348999, -0.05136920511722565, 0.25431519746780396, -0.2890898287296295, -0.2771119177341461, 0.7402634024620056, -0.3214528560638428, 0.14617891609668732, -0.35434767603874207, -0.2165127694606781, -0.17169037461280823, 0.5121636390686035, -0.21720707416534424, 0.4300957918167114, 0.6806354522705078, -0.05106864124536514, -0.04688560962677002, 0.41991057991981506, 0.5649207830429077, 0.23824116587638855, 0.08767101913690567, -0.23114542663097382, 0.4059268832206726, -0.3994552195072174, 0.22448642551898956, 0.18435268104076385, -0.19982077181339264, 0.1961791217327118, 0.40406957268714905, 0.513551652431488, 0.3677942454814911, -0.8088914155960083, 0.2850586473941803, 0.1853315830230713, -0.057157281786203384, -0.2620021402835846, 0.2477731555700302, 0.023116115480661392, 0.47774410247802734, 0.2534888982772827, -0.04648985713720322, 0.4512099027633667, -0.215549498796463, 0.3598710596561432, 0.6670042872428894, -0.3677341639995575, 0.0761275663971901, 0.6754485368728638, 0.06500054895877838, -0.2956780195236206, 0.3998366594314575, -0.1919766068458557, -0.18390917778015137, 0.590391218662262, 0.6213642358779907, 0.5442229509353638, -0.25363102555274963, 0.13271775841712952, 0.39857301115989685, -0.12148474901914597, -0.15007352828979492, 0.4920996427536011, 0.09387312829494476, -0.5713094472885132, -0.35248565673828125, -0.7258466482162476, -0.5012330412864685, 0.10029483586549759, -0.2967727780342102, 0.6576211452484131, -0.6060166954994202, -0.4340797960758209, 0.4017932713031769, -0.08488308638334274, -0.6181426644325256, 0.2498413473367691, 0.2503361403942108, 1.0082528591156006, -0.29630622267723083, 0.5762453675270081, 0.8450248837471008, -0.3976532220840454, -0.6894621253013611, -0.307699978351593, 0.1893802136182785, -0.8184230923652649, 0.7930912375450134, 0.22138136625289917, 0.33102959394454956, -0.017048224806785583, -0.3742620348930359, -0.8053029775619507, 1.1160227060317993, 0.11984921991825104, -0.6074547171592712, -0.2929239273071289, 0.024134133011102676, 0.758233368396759, -0.5103302001953125, 0.23388268053531647, 0.2874828577041626, 0.34055906534194946, 0.15061324834823608, -0.8215698599815369, 0.20803691446781158, -0.18479721248149872, -0.14137329161167145, 0.32687216997146606, -0.15768137574195862, 0.5695639848709106, -0.7126469016075134, -0.25673583149909973, 0.32165291905403137, 0.3035980761051178, 0.7041394710540771, 0.7022452354431152, 0.09285812079906464, 0.45503997802734375, 0.8534331917762756, -0.05655527487397194, 1.1015589237213135, -0.19104745984077454, -0.1832646131515503, 0.7572066783905029, -0.42918410897254944, 0.6960166692733765, 0.6134983897209167, -0.17879794538021088, 0.4361792802810669, 0.41800329089164734, -0.2139502316713333, 0.33020535111427307, 0.40985143184661865, -0.532896101474762, -0.11310576647520065, -0.47273126244544983, -0.355194091796875, 0.31515491008758545, 0.7014226913452148, -0.7560128569602966, -0.022036798298358917, 0.3173004388809204, -0.020459802821278572, -0.08804305642843246, -0.49015942215919495, 1.07693350315094, 0.5064643621444702, -0.39276427030563354, 0.4118939936161041, -0.1942971795797348, 0.4694225490093231, -0.4519600570201874, -0.24898971617221832, 0.01308787427842617, -0.03542235866189003, -0.24656885862350464, -0.5895372033119202, 0.11344148218631744, 0.02571430616080761, -0.3392166793346405, -0.07455600798130035, 1.002312183380127, -0.37967562675476074, -0.5377508997917175, 0.2619439363479614, 0.6279436349868774, 0.24881692230701447, 0.15146833658218384, -0.5607258081436157, -0.17691393196582794, -0.1981128603219986, -0.018632788211107254, 0.3530128300189972, 0.4504441022872925, -0.021503327414393425, 0.6203300356864929, 0.6553223133087158, 0.6043716073036194, -0.42602261900901794, 0.22326959669589996, 0.7772144079208374, -0.8418310284614563, -0.1270020455121994, -0.8737562894821167, 0.27937841415405273, -0.10265194624662399, -0.09561768174171448, 0.4833582043647766, 0.34778833389282227, 0.3591274917125702, -0.22028562426567078, 0.4536668658256531, 0.32509076595306396, 0.9356250166893005, -0.5629733800888062, 0.732503354549408, -0.5934374928474426, 0.35454052686691284, -0.23546399176120758, -0.5043809413909912, -0.690459668636322, 0.3094274401664734, -0.2409716248512268, 0.10280489921569824, 0.5378100275993347, 0.7630816102027893, 0.34336331486701965, -0.21273131668567657, 0.44350674748420715, 0.1616872251033783, 0.0207479540258646, 0.7007468938827515, 0.6496516466140747, -0.2101755291223526, -0.008037449792027473, -0.06456666439771652, -0.1842075139284134, -0.41904380917549133, -0.9008001089096069, -0.8807480931282043, -0.12627680599689484, -0.39049968123435974, -0.3198647201061249, 0.25539031624794006, 1.225142478942871, 0.4070146083831787, -0.8144782781600952, 0.34033867716789246, -0.00875395629554987, 0.06347224116325378, -0.057124193757772446, -0.21528980135917664, 0.13418139517307281, -0.525314211845398, -0.45798853039741516, 0.8576812148094177, 0.5609042644500732, 0.18991050124168396, 0.06714538484811783, 0.12721426784992218, -0.09638812392950058, 0.16232608258724213, 0.4877142906188965, 0.37500515580177307, -0.6561321020126343, 0.09134546667337418, 0.42333200573921204, -0.4108388125896454, 0.09245805442333221, 0.9173579812049866, -1.194043517112732, 0.2742805480957031, 0.5083984732627869, 0.923465371131897, -0.08595506101846695, -0.14112484455108643, 0.5297016501426697, -0.636583685874939, -0.2804242670536041, 0.5120678544044495, 0.5058041214942932, 0.4607081413269043, -0.7418767213821411, 0.5497483611106873, 0.28211745619773865, -0.6167113184928894, -0.801377534866333, 0.11169207096099854, -0.8150643706321716, -0.13825106620788574, 1.2163026332855225, 0.09778114408254623, -0.18219046294689178, -0.18769285082817078, -0.22859393060207367, 0.18514102697372437, -0.37528327107429504, 0.5130890607833862, 0.34754419326782227, -0.5267845392227173, -0.16938291490077972, -0.7851473093032837, 0.7848087549209595, 0.40742337703704834, -0.803443431854248, -0.5396677851676941, 0.3952988386154175, 0.35534754395484924, 0.1371501386165619, 0.8819180130958557, -0.2913168668746948, 0.41647836565971375, -0.4295331835746765, -0.06754060089588165, -0.08569671958684921, -0.403997540473938, -0.662086009979248, 0.03134077042341232, 0.1021939367055893, 0.10331208258867264 ]
http://arxiv.org/abs/2404.07341v2
http://arxiv.org/pdf/2404.07341v2
Conformer-1: Robust ASR via Large-Scale Semisupervised Bootstrapping
2024-04-10T20:40:24
2024-04-12T18:23:35
Kevin Zhang, Luka Chkhetiani, Francis McCann Ramirez, Yash Khare, Andrea Vanzo, Michael Liang, Sergio Ramirez Martin, Gabriel Oexle, Ruben Bousbib, Taufiquzzaman Peyash, Michael Nguyen, Dillon Pulliam, Domenic Donato
eess.AS
eess.AS, cs.CL, cs.LG, cs.SD
This paper presents Conformer-1, an end-to-end Automatic Speech Recognition (ASR) model trained on an extensive dataset of 570k hours of speech audio data, 91% of which was acquired from publicly available sources. To achieve this, we perform Noisy Student Training after generating pseudo-labels for the unlabeled public data using a strong Conformer RNN-T baseline model. The addition of these pseudo-labeled data results in remarkable improvements in relative Word Error Rate (WER) by 11.5% and 24.3% for our asynchronous and realtime models, respectively. Additionally, the model is more robust to background noise owing to the addition of these data. The results obtained in this study demonstrate that the incorporation of pseudo-labeled publicly available data is a highly effective strategy for improving ASR accuracy and noise robustness.
[ -0.13980111479759216, -0.2986587882041931, 0.12403683364391327, -0.0060350364074110985, -0.18682080507278442, -0.0685250461101532, -0.3317493200302124, -0.5864644646644592, -0.14557358622550964, 0.05773834139108658, -0.1566482037305832, -0.25579193234443665, -0.7699335217475891, 0.14190346002578735, -0.8347652554512024, 0.646537184715271, 0.3386852741241455, 0.3398299813270569, 0.0011852238094434142, -0.1950024664402008, 0.1604796200990677, -0.6768160462379456, -0.5784214735031128, -0.10623669624328613, 0.11672833561897278, 0.31529656052589417, 0.4192698001861572, 0.6229059100151062, 0.1949843466281891, 0.3579135835170746, -0.26679983735084534, -0.5148925185203552, -0.40768006443977356, -0.06288304179906845, -0.03746166080236435, -0.25260502099990845, -0.40081459283828735, -0.05222567543387413, 1.0487128496170044, 0.40561023354530334, -0.4740884006023407, 0.6228811144828796, -0.005650215316563845, 0.5592426061630249, -0.5438660383224487, 0.2832697033882141, -0.6587755084037781, -0.36640217900276184, -0.4294583201408386, 0.4780207574367523, -0.23713527619838715, -0.3296767771244049, 0.4123244881629944, -0.6267262697219849, 0.3012321889400482, -0.2681017816066742, 0.9092212915420532, 0.6049662232398987, 0.05047158896923065, -0.3222210705280304, -0.917614221572876, 0.7123868465423584, -0.816107988357544, 0.9403608441352844, 0.5209723114967346, 0.621726393699646, 0.2716467082500458, -1.0521892309188843, -0.5916744470596313, -0.10600104182958603, 0.124602772295475, 0.009275905787944794, -0.39593082666397095, -0.14478211104869843, 0.18163247406482697, 0.37424999475479126, -0.3431236147880554, 0.17472784221172333, -0.7927899360656738, -0.5441235899925232, 0.43229472637176514, -0.42537400126457214, -0.051501836627721786, 0.41471219062805176, -0.18282821774482727, -0.12388774007558823, -0.3258533775806427, 0.24482984840869904, 0.18561458587646484, 0.4536982774734497, -0.23546352982521057, 0.42308348417282104, -0.1121758371591568, 0.9446893930435181, 0.2993472218513489, -0.3594942092895508, 0.3244873285293579, -0.26895245909690857, -0.11265385895967484, 0.5026161670684814, 0.9287147521972656, 0.07689233869314194, 0.3608124256134033, -0.15400154888629913, -0.41514357924461365, 0.3484667241573334, 0.09943251311779022, -0.7924158573150635, -0.5318861603736877, 0.15075092017650604, -0.26248642802238464, -0.2583144009113312, 0.19278085231781006, -0.5174033641815186, -0.10836485773324966, -0.640349268913269, 0.6075268387794495, -0.25864264369010925, -0.15372349321842194, 0.007708202116191387, 0.07453365623950958, 0.2907602787017822, 0.3620070219039917, -0.5276758074760437, 0.6043968796730042, 0.21170049905776978, 1.0561721324920654, -0.11668790876865387, 0.11172390729188919, -0.7142845392227173, 0.2881532311439514, -0.1823756992816925, 0.8852760195732117, -0.45302653312683105, -0.23080717027187347, -0.3218693435192108, 0.12669575214385986, 0.09006991982460022, -0.7042747735977173, 0.3668312132358551, -0.370792031288147, 0.06682498008012772, -0.028630485758185387, -0.5736203193664551, 0.07904499769210815, 0.11415407806634903, -0.6922463178634644, 0.7935279011726379, 0.06545950472354889, -0.64154052734375, 0.4086845815181732, -0.560401439666748, -0.4276217222213745, -0.05311964824795723, -0.14966249465942383, -0.8804539442062378, -0.22622175514698029, 0.1620817631483078, 0.3126606345176697, -0.2917162775993347, 0.19273117184638977, 0.09060337394475937, -0.2828715443611145, 0.2728677988052368, -0.2734657824039459, 0.6933760643005371, 0.21765533089637756, -0.30096063017845154, 0.11982979625463486, -1.3096976280212402, -0.04872693493962288, -0.008148317225277424, -0.5803666114807129, -0.1351878046989441, -0.11668706685304642, 0.4159667491912842, 0.18453580141067505, 0.09143276512622833, -0.9365078210830688, -0.32328683137893677, -0.2730969488620758, 0.5104122757911682, 0.6466888189315796, -0.06885359436273575, 0.3572379946708679, -0.40320396423339844, 0.31913965940475464, 0.006643692031502724, -0.10424328595399857, -0.11601536720991135, -0.27259311079978943, -0.4715644121170044, -0.7242709994316101, 0.6353685855865479, 0.4118351340293884, -0.11690057069063187, 0.5392702221870422, -0.29004180431365967, -0.64484703540802, -0.6713058352470398, 0.03954402357339859, 0.4612828493118286, 0.7932177186012268, 0.5483810305595398, -0.017815109342336655, -0.6524114012718201, -0.7050004005432129, -0.05840101093053818, -0.26565513014793396, -0.5536491870880127, -0.13593222200870514, 0.07938450574874878, -0.19098389148712158, 0.9784778356552124, -0.28702229261398315, -0.5105921626091003, -0.06833136081695557, 0.11803490668535233, -0.01262736041098833, 0.5777794718742371, 0.16337436437606812, -0.754722535610199, -0.6331764459609985, -0.3535449504852295, -0.29902684688568115, -0.08507799357175827, -0.05359504744410515, 0.364131897687912, 0.11908862739801407, 0.5628098845481873, 0.08348414301872253, 0.4381447732448578, 0.45734015107154846, -0.0071955895982682705, 0.35130229592323303, -0.06190883740782738, -0.21834224462509155, -1.070436716079712, 0.208643838763237, 0.4142397940158844, -0.4999300241470337, -0.8401339650154114, -0.6034112572669983, 0.0585947260260582, -0.10057667642831802, -0.35696277022361755, 0.04953204095363617, -0.6588698625564575, 0.034185465425252914, -0.14240685105323792, -0.09432486444711685, -0.4071250557899475, 0.035756561905145645, 0.2991548478603363, 1.1031756401062012, 0.9518939852714539, -0.7018219232559204, 0.18241791427135468, 0.5415275692939758, -0.40648722648620605, 0.2053859531879425, -1.1261461973190308, 0.2706269323825836, -0.24129872024059296, 0.3294091522693634, -1.167799472808838, -0.3542378544807434, -0.11703549325466156, -0.4831122159957886, 0.6952626705169678, -0.2667798101902008, -0.47677165269851685, -0.18052518367767334, -0.09588613361120224, 0.3320196568965912, 0.7403466105461121, -0.556779682636261, 0.1814909428358078, 0.8706679344177246, -0.1643541008234024, 0.04882138594985008, -0.6719757318496704, -0.1779036968946457, -0.0017083704005926847, -0.27129077911376953, -0.047333698719739914, 0.057771533727645874, -0.0943918451666832, -0.6121385097503662, -0.4936330020427704, -0.2030157446861267, -0.4208741784095764, 0.24255330860614777, 0.2544417381286621, -0.20706716179847717, -0.19886177778244019, -0.31994569301605225, -0.3282918632030487, 0.09593109786510468, -0.3443484902381897, 0.14088517427444458, -0.2207283079624176, -0.31063833832740784, -0.9602380394935608, -0.153945654630661, 0.7739484310150146, -0.1269761472940445, 0.6153897643089294, 0.3876844048500061, -0.6293656826019287, 0.08832138776779175, -0.5859301090240479, -0.13357986509799957, -0.46107035875320435, 0.24284614622592926, -0.10573805123567581, -0.571458101272583, 0.3534778654575348, -0.2329547107219696, 0.02000238373875618, 0.06669487059116364, 0.4012177586555481, 0.0284713264554739, 0.4831831455230713, 0.6052260994911194, -0.24188587069511414, 0.43225210905075073, -0.17366163432598114, 0.045764002948999405, -0.6939609050750732, -0.4100816249847412, -0.6783278584480286, -0.1899353265762329, -0.43786242604255676, -0.4553073048591614, 0.48568427562713623, -0.23972837626934052, -0.2579338848590851, 0.5253167152404785, -0.8213858604431152, 0.3545208275318146, 0.5202745199203491, 0.20331743359565735, 0.29708778858184814, -0.08026216179132462, 0.2660156190395355, -0.1509428322315216, -0.526482105255127, -0.5516027808189392, 1.222870111465454, 0.6149805188179016, 1.0362850427627563, 0.07288618385791779, 0.2962043285369873, 0.18851713836193085, 0.16025984287261963, -0.8054828643798828, 0.29899317026138306, -0.05697784572839737, -0.6918591260910034, -0.6746268272399902, -0.18936285376548767, -0.5205570459365845, -0.0884208232164383, -0.18936118483543396, -1.0049556493759155, 0.37868526577949524, 0.42985615134239197, -0.2551684081554413, 0.2005617469549179, -0.5660358667373657, 0.4283754229545593, 0.22226931154727936, -0.2295835167169571, 0.42775532603263855, -1.1431788206100464, 0.043578993529081345, -0.6221511363983154, 0.24384662508964539, 0.23371721804141998, 0.048198506236076355, 1.2725205421447754, -0.5195833444595337, 0.7718821167945862, -0.349518358707428, -0.10686581581830978, 0.3593769967556, -0.36198604106903076, 0.8067187666893005, -0.21027565002441406, -0.20800180733203888, 0.4144150912761688, 0.24442940950393677, -0.297163188457489, -0.2407434582710266, 0.2527298629283905, -0.9117854237556458, -0.048679281026124954, -0.5071504712104797, -0.4522421360015869, -0.4334162175655365, 0.08174937218427658, 0.6868929266929626, 0.7194526791572571, -0.08939849585294724, 0.40642261505126953, 0.8647439479827881, 0.16604755818843842, 0.2563534677028656, 0.7633469104766846, 0.23596829175949097, -0.5230413675308228, 0.9025838375091553, 0.5563142895698547, 0.42034226655960083, 0.19579266011714935, 0.29082047939300537, -0.6419247388839722, -0.5677424669265747, -0.2507615387439728, 0.17323780059814453, -0.41841593384742737, -0.1900930255651474, -0.7260938286781311, -0.4809534549713135, -0.5431074500083923, -0.22327975928783417, -0.9106462597846985, -0.6089212894439697, -0.11816178262233734, -0.12655365467071533, 0.26558995246887207, 0.7206176519393921, -0.19655323028564453, 0.5926496386528015, -0.5815701484680176, 0.5626487135887146, 0.16499942541122437, 0.33181753754615784, -0.19377319514751434, -1.0253652334213257, -0.17604225873947144, 0.054224587976932526, -0.0190590713173151, -0.7886966466903687, 0.0887693390250206, 0.4936133325099945, 0.4811153709888458, 0.6595048308372498, 0.39904454350471497, 0.7246400713920593, -0.544352650642395, 0.5872931480407715, 0.35760849714279175, -0.9263719916343689, 0.6548800468444824, -0.2749987840652466, 0.5887806415557861, 0.6864100694656372, 0.3210074305534363, 0.02481420524418354, -0.652223527431488, -0.5243232250213623, -0.8885109424591064, 0.8859449028968811, 0.3735213875770569, -0.2908293902873993, 0.3859994411468506, 0.1044318675994873, 0.0844375416636467, 0.023801419883966446, -0.7108525037765503, -0.5196602940559387, -0.5973834991455078, -0.20640681684017181, -0.12514150142669678, -0.12173265218734741, -0.05150340870022774, -0.6744101047515869, 0.8383392095565796, 0.07417217642068863, 0.10019499808549881, 0.32150736451148987, -0.15020497143268585, -0.31224822998046875, 0.45486339926719666, 0.5173249840736389, 0.7107532620429993, -0.3127152919769287, 0.15924376249313354, 0.24359191954135895, -0.8614559173583984, 0.40181225538253784, 0.45864564180374146, -0.2813049554824829, 0.23096700012683868, 0.14315974712371826, 0.3695979416370392, 0.16682685911655426, -0.5088567137718201, 0.5777012705802917, -0.01892850548028946, -0.2234840840101242, -0.5262181758880615, -0.22140483558177948, -0.044377394020557404, 0.062160979956388474, 0.5120774507522583, 0.16049730777740479, 0.2879694402217865, -0.3157833218574524, 0.6588358879089355, 0.26141300797462463, -0.6307111382484436, -0.6231541633605957, 1.0678693056106567, -0.10472505539655685, -0.25263822078704834, 0.4476392865180969, 0.09591224789619446, -0.3834003806114197, 0.2862222194671631, 1.0018576383590698, 0.5582654476165771, -0.6864604353904724, -0.017822621390223503, 0.7224586009979248, 0.3080999255180359, -0.41528576612472534, -0.009972551837563515, -0.25091710686683655, -0.3695560693740845, -0.0653526708483696, -0.6556044220924377, -0.44024884700775146, 0.436847448348999, -1.168391227722168, 0.34435611963272095, -0.5266374349594116, -0.13040053844451904, 0.22944575548171997, -0.43056267499923706, -0.14641889929771423, 0.4441308081150055, 0.24724066257476807, 0.9865313172340393, -0.9387163519859314, 0.8518996238708496, 1.0264338254928589, -0.10792671144008636, -0.8194541335105896, 0.34335336089134216, 0.3149348199367523, -0.4594295024871826, 0.162641704082489, 0.22909311950206757, -0.30266034603118896, 0.2875550389289856, -0.7831712961196899, -0.9830899238586426, 1.123052716255188, 0.41711485385894775, -1.0846534967422485, 0.10747425258159637, 0.08201836794614792, 0.4662436544895172, 0.03480382636189461, -0.19990989565849304, 0.5101715326309204, 0.35330477356910706, 0.6960026025772095, -1.1441516876220703, 0.0888751819729805, -0.13428336381912231, -0.08770804107189178, 0.2196323275566101, -0.6388046145439148, 0.304412841796875, -0.21453280746936798, -0.30444857478141785, -0.19389861822128296, 0.9618644714355469, 0.4180440604686737, 0.5157151222229004, 0.6771864891052246, 0.2754313349723816, 0.9373950362205505, 0.1066717654466629, 0.4680229127407074, -0.282440721988678, 0.15429800748825073, 1.2851438522338867, -0.10721373558044434, 0.8436672687530518, 0.4693600833415985, -0.40703436732292175, 0.07272298634052277, 0.3071114420890808, -0.17596986889839172, 0.7494044303894043, 0.17032507061958313, -0.3302244246006012, -0.21936927735805511, 0.15986761450767517, -0.34731853008270264, 0.401586651802063, 0.12557052075862885, -0.05441258102655411, -0.297545462846756, 0.07367409020662308, -0.0730101689696312, 0.1236225813627243, -0.2657385468482971, 1.0017647743225098, -0.005759312305599451, -0.07590848207473755, 0.6942634582519531, -0.3335992097854614, 0.729773998260498, -0.7628437876701355, 0.13560491800308228, 0.3568578362464905, 0.2761734127998352, -0.3090013563632965, -0.3562942445278168, 0.44922804832458496, 0.3397347629070282, -0.24381980299949646, -0.16970893740653992, 0.6952269673347473, -0.4580310881137848, -0.8377915024757385, -0.07359262555837631, 0.17516879737377167, 0.3717518746852875, -0.014111604541540146, -0.34203600883483887, 0.1475551575422287, -0.17617908120155334, -0.14873553812503815, 0.3126503527164459, 0.21512067317962646, 0.10314050316810608, 0.7015138268470764, 0.6810961961746216, 0.13558059930801392, 0.26787951588630676, -0.05993758141994476, 1.2054673433303833, -0.24595235288143158, -0.6563472747802734, -0.4694770872592926, 0.7262309193611145, 0.05811651796102524, -0.07169663161039352, 0.6024784445762634, 0.9201385974884033, 0.7295829653739929, 0.0576598085463047, 0.8282565474510193, -0.045687075704336166, 0.9789261817932129, -0.22359491884708405, 0.9458814859390259, -0.24582427740097046, 0.39453232288360596, -0.32585448026657104, -0.6160894632339478, -0.2817274034023285, 0.92246413230896, -0.12780894339084625, -0.05772810056805611, 0.18528024852275848, 0.8517425060272217, -0.4263950288295746, -0.005797749385237694, 0.4827592968940735, 0.40253788232803345, 0.19791078567504883, -0.03900284692645073, 0.5470045208930969, -0.7330528497695923, 0.5680853128433228, -0.22200411558151245, -0.5991944670677185, 0.26742658019065857, -0.4053703248500824, -0.831794798374176, -0.9219494462013245, -0.7178182005882263, -0.4952560067176819, 0.04669341444969177, 0.9754891991615295, 0.9234798550605774, -1.2959089279174805, -0.18556150794029236, -0.11196932196617126, -0.5540624260902405, -0.0475882813334465, -0.16681955754756927, 0.29652267694473267, -0.12855620682239532, -0.5951752662658691, 0.5232963562011719, -0.08280730247497559, 0.4020620286464691, 0.11791611462831497, -0.16084441542625427, -0.23234790563583374, 0.16564200818538666, 0.1650543063879013, 0.5545759797096252, -0.4213114082813263, -0.02386035956442356, -0.15713484585285187, 0.10591747611761093, 0.2100895494222641, 0.4853559136390686, -0.854814887046814, 0.6381756067276001, 0.06218956038355827, 0.32365912199020386, 0.6708889603614807, 0.4754215180873871, 0.597093939781189, -0.7209107279777527, 0.16460971534252167, 0.13248935341835022, 0.1347278654575348, 0.4684253931045532, -0.31478866934776306, 0.32936447858810425, 0.04819314181804657, -0.6993253827095032, -1.0222071409225464, -0.009702164679765701, -1.053283452987671, 0.14635194838047028, 1.2325953245162964, -0.1995081752538681, -0.09169156849384308, -0.4196292757987976, 0.050471216440200806, 0.5835074782371521, -0.5480397939682007, 0.8079804182052612, 0.428878515958786, -0.06880384683609009, -0.1666126698255539, -0.31107503175735474, 0.5406962633132935, -0.2788585424423218, -0.5755251049995422, 0.05249139666557312, 0.5796489119529724, 0.7954545021057129, 0.3029918372631073, 0.7563604712486267, -0.34847354888916016, 0.1499190479516983, 0.1343165785074234, -0.14818228781223297, -0.28627243638038635, -0.344845175743103, -0.6465303897857666, 0.07881064713001251, 0.06898535043001175, -0.6590805053710938 ]
http://arxiv.org/abs/2404.07304v2
http://arxiv.org/pdf/2404.07304v2
We're Calling an Intervention: Exploring the Fundamental Hurdles in Adapting Language Models to Nonstandard Text
2024-04-10T18:56:53
2024-06-16T02:09:44
Aarohi Srivastava, David Chiang
cs.CL
cs.CL
We present a suite of experiments that allow us to understand the underlying challenges of language model adaptation to nonstandard text. We do so by designing interventions that approximate several types of linguistic variation and their interactions with existing biases of language models. Applying our interventions during language model adaptation with varying size and nature of training data, we gain important insights into when knowledge transfer can be successful, as well as the aspects of linguistic variation that are particularly difficult for language models to deal with. For instance, on text with character-level variation, performance improves with even a few training examples but approaches a plateau, suggesting that more data is not the solution. In contrast, on text with variation involving new words or meanings, far more data is needed, but it leads to a massive breakthrough in performance. Our findings reveal that existing models lack the necessary infrastructure to handle diverse forms of nonstandard text and linguistic variation, guiding the development of more resilient language modeling techniques for the future. We make the code for our interventions, which can be applied to any English text data, publicly available.
[ -0.10829763859510422, -0.7293980717658997, 0.4359804689884186, 0.2351459413766861, 0.08536901324987411, 0.058575961738824844, -0.15499189496040344, -0.33550751209259033, -0.043741777539253235, 0.4548255503177643, -0.46228182315826416, -0.2648845613002777, -0.8782153129577637, 0.36222460865974426, -0.26437854766845703, 0.9801398515701294, -0.3106156885623932, 0.07222117483615875, -0.1540399193763733, -0.32178157567977905, -0.9346930384635925, -0.4179542064666748, -0.4374469220638275, -0.15323954820632935, 0.37686455249786377, 0.622003972530365, 0.4023832380771637, 0.2991204857826233, 0.670086145401001, 0.24058344960212708, -0.18199577927589417, 0.04643996059894562, -0.6844314336776733, -0.12868009507656097, -0.43388187885284424, -0.7416393160820007, -0.12178200483322144, 0.08987534046173096, 0.870290994644165, 0.9715433120727539, 0.042376358062028885, -0.23692195117473602, 0.10060329735279083, 0.7813521027565002, -0.6620814204216003, -0.06960071623325348, -0.47383978962898254, -0.10448645800352097, -0.10749887675046921, -0.010584378615021706, -0.36743399500846863, -0.4046216607093811, 0.17567424476146698, -0.6019602417945862, 0.23038218915462494, 0.10197961330413818, 0.6088990569114685, 0.15246348083019257, -0.5109128355979919, -0.5011613368988037, -0.7966742515563965, 0.8218746781349182, -0.8132724165916443, 0.2798674404621124, 0.44478651881217957, 0.02083510346710682, -0.35619258880615234, -0.4591650664806366, -0.47373440861701965, -0.4349316358566284, 0.09504597634077072, -0.025535820052027702, -0.22632180154323578, 0.02800584025681019, 0.2240350842475891, 0.18545030057430267, -0.27976956963539124, 0.2010030597448349, -0.38584578037261963, -0.020913140848279, 0.5948173999786377, 0.2943376898765564, 0.587057888507843, -0.1445101946592331, 0.015549775213003159, -0.07417351752519608, -0.449063777923584, 0.28540515899658203, 0.3692081868648529, 0.49596089124679565, -0.5419999361038208, 0.5006412863731384, -0.050562966614961624, 0.4747271239757538, -0.11226227134466171, 0.04528249800205231, 0.1157873198390007, -0.30511602759361267, -0.10833561420440674, -0.19504016637802124, 0.5649442672729492, 0.24020491540431976, 0.11605055630207062, -0.20084552466869354, -0.26503074169158936, -0.22740253806114197, 0.2987108528614044, -0.6740138530731201, -0.39523380994796753, 0.05278540030121803, -0.2880095839500427, -0.2926720380783081, -0.37393516302108765, -0.95020592212677, -0.5862776637077332, -0.02926437184214592, 0.6644654870033264, -0.5991829037666321, -0.41453930735588074, 0.18603040277957916, -0.4025813043117523, 0.1336212456226349, 0.339645653963089, -1.0281902551651, 0.15145091712474823, 0.4608863890171051, 0.9735720157623291, -0.0772385448217392, -0.4195793867111206, -0.15855175256729126, -0.06351333856582642, -0.6412811279296875, 0.8421489000320435, -0.9473336338996887, -0.7136898636817932, 0.1535765677690506, 0.2186974734067917, -0.5403854250907898, -0.31362539529800415, 0.5926908850669861, -0.14222678542137146, 0.3057175576686859, -0.5035085082054138, -0.6818045377731323, -0.011446119286119938, 0.11575538665056229, -0.7666588425636292, 0.7928224205970764, 0.2097843438386917, -1.0258489847183228, 0.13982358574867249, -1.1447253227233887, -0.4358174800872803, -0.1801375448703766, 0.13783489167690277, -0.3050939440727234, 0.7342742085456848, 0.08725897967815399, -0.09070193022489548, -0.3442364037036896, -0.03528155758976936, -0.33446773886680603, -0.26763442158699036, 0.6455426216125488, -0.49026280641555786, 0.3751719295978546, -0.2363962084054947, -0.18857671320438385, -0.03605825826525688, -0.7513017058372498, -0.27236342430114746, 0.12361528724431992, -0.2137020230293274, -0.634244441986084, 0.09721078723669052, 0.3745594620704651, -0.02451329305768013, 0.2328573763370514, -0.37488874793052673, 0.27040717005729675, -0.4809669256210327, 0.36598145961761475, 0.847845733165741, 0.108126699924469, 0.6962742209434509, -0.4168228805065155, 0.8255042433738708, -0.15324091911315918, 0.04769928753376007, -0.14166389405727386, -0.50338214635849, -0.7486429214477539, -0.13374453783035278, 0.5213313102722168, 0.3886851668357849, -0.9124029278755188, -0.11046341806650162, -0.23932668566703796, -0.26744744181632996, -0.5907447934150696, -0.009786094538867474, 0.4908972680568695, 0.6080389022827148, 0.2222011238336563, -0.3560592234134674, -0.4046456217765808, -0.9162847995758057, -0.5176961421966553, -0.2781067490577698, -0.04654388874769211, 0.2470412254333496, 0.6380525231361389, -0.0827864557504654, 0.8983655571937561, -0.24448728561401367, -0.14749065041542053, -0.3111734688282013, 0.6147541403770447, 0.03307360038161278, 0.52840256690979, 0.460647314786911, -0.6697640419006348, -0.5871989130973816, 0.05916159227490425, -0.5889803171157837, -0.3851368725299835, -0.33155834674835205, 0.06214269623160362, 0.17485174536705017, 0.4187086522579193, 0.03169543668627739, 0.2578597068786621, 0.8053573966026306, -0.19601699709892273, 0.505126416683197, -0.26187294721603394, 0.25308412313461304, -1.0144768953323364, 0.09530371427536011, -0.192572221159935, 0.02948303334414959, -1.2808566093444824, -0.10449131578207016, 0.15345624089241028, -0.017437173053622246, -0.3287407457828522, 0.4319499433040619, -0.32340875267982483, 0.39705154299736023, -0.5199874043464661, 0.05162438005208969, -0.02091108448803425, 0.21763427555561066, 0.19829854369163513, 1.0730676651000977, 0.5078637003898621, -0.48645293712615967, -0.38225650787353516, 0.3109666407108307, -0.18650954961776733, 0.7453239560127258, -0.4363628029823303, 0.3451366722583771, -0.35800039768218994, -0.14773687720298767, -0.962437629699707, -0.4010730981826782, 0.15916068851947784, -0.3320746421813965, 0.44186902046203613, -0.1599150151014328, -0.002524607814848423, -0.05616270750761032, -0.37905967235565186, 0.3490711748600006, 0.3417254090309143, -0.24234986305236816, 0.5740041732788086, 0.3984743356704712, -0.27477961778640747, -0.2810177206993103, -0.7001767158508301, 0.42597439885139465, -0.28526318073272705, -0.3806264102458954, 0.04494502395391464, -0.1879323273897171, -0.07514549791812897, 0.09694769233465195, -0.0701240599155426, -0.34046486020088196, 0.42815616726875305, -0.03002985753118992, 0.01802152208983898, -0.2646957039833069, 0.19828683137893677, 0.3137124180793762, -0.01780523546040058, 0.021861154586076736, -0.11229101568460464, -0.00528992572799325, 0.18029245734214783, -0.37243708968162537, -0.544701099395752, 0.5850574970245361, 0.5097070336341858, 0.06151731684803963, 0.9569231867790222, 0.27959755063056946, -0.41297802329063416, -0.1495790332555771, -0.2726892828941345, -0.06504291296005249, -0.4854530394077301, 0.7155609726905823, -0.37491166591644287, -0.9645281434059143, 0.08145953714847565, -0.16922527551651, 0.16634611785411835, 0.10917909443378448, 0.4443950057029724, -0.1330185979604721, 0.7983569502830505, 1.1035603284835815, -0.02809121459722519, 0.6220753192901611, 0.2669790983200073, 0.4456302523612976, -0.872253954410553, -0.14362776279449463, -0.6206251382827759, -0.2533615231513977, -0.6067810654640198, -0.6856784224510193, 0.11720330268144608, 0.3251591622829437, 0.1648971438407898, 0.37652626633644104, -0.25139516592025757, 0.2556125819683075, 0.08666574209928513, -0.07161147892475128, 0.19627219438552856, -0.17692930996418, 0.2793998420238495, -0.5283622145652771, -0.8288779854774475, -0.46889761090278625, 1.2191197872161865, 0.40591269731521606, 0.7088162899017334, 0.21597743034362793, 0.36227357387542725, 0.2983913719654083, 0.8263668417930603, -0.5905398726463318, 0.10285020619630814, -0.1505221575498581, -0.5836189389228821, -0.320972740650177, -0.575355052947998, -0.9438197612762451, 0.07444924116134644, -0.2806060016155243, -0.659970223903656, 0.5188372731208801, 0.15036949515342712, 0.11658506840467453, 0.1632654070854187, -0.8924509882926941, 0.6336859464645386, -0.06524387747049332, -0.07617665827274323, 0.05442626029253006, -0.2425399273633957, 0.3011678457260132, -0.5248833894729614, 0.758009135723114, -0.07764337956905365, -0.12749208509922028, 0.7734631896018982, -0.13118590414524078, 0.9604904651641846, -0.18672874569892883, -0.17302384972572327, 0.05170835554599762, 0.09419550746679306, 0.6022999286651611, -0.08651106059551239, -0.02464536763727665, 0.1284158080816269, -0.052529774606227875, -0.7391535043716431, -0.5619858503341675, 0.28527358174324036, -0.798421323299408, -0.5906850099563599, -0.24276389181613922, -0.9581374526023865, -0.5506374835968018, -0.14795099198818207, 0.10359923541545868, 0.13520179688930511, -0.5897443294525146, 0.2072092443704605, 0.6757247447967529, -0.4398972690105438, 0.4666222631931305, 0.8227996230125427, 0.03108946420252323, -0.416885644197464, 0.9645563960075378, 0.042457595467567444, 0.5528287291526794, 0.5233907103538513, 0.2555178999900818, -0.18704891204833984, -0.9668248891830444, -0.09507270157337189, 0.1319970041513443, -0.5274031162261963, 0.19510391354560852, -0.6363860368728638, -0.057646870613098145, -0.5880044102668762, -0.1609756052494049, -0.42742690443992615, -0.3306107223033905, -0.32831430435180664, 0.004862204659730196, 0.5563759803771973, 0.9796355366706848, -0.32648640871047974, 0.42531514167785645, -0.8362468481063843, 0.08512910455465317, 0.18122431635856628, 0.24550580978393555, -0.1009536013007164, -1.0539376735687256, -0.619773805141449, 0.008601108565926552, -0.16364283859729767, -1.101741909980774, 0.3172203600406647, 0.33882248401641846, 0.3023034930229187, 0.10169664770364761, 0.0368247888982296, 0.6129858493804932, -0.6913679242134094, 0.7368080019950867, 0.22261980175971985, -1.0600594282150269, 0.3161123991012573, -0.3096299469470978, 0.17331118881702423, 0.6093779802322388, 0.4165176451206207, -0.7975254654884338, -0.40102794766426086, -0.3016316592693329, -0.8057043552398682, 0.7870316505432129, 0.48225268721580505, 0.41130125522613525, 0.19143760204315186, 0.5225703716278076, -0.014566383324563503, 0.262572318315506, -0.6053075194358826, 0.05670134723186493, -0.31119316816329956, -0.24087116122245789, -0.1447017937898636, -0.29555103182792664, -0.2212284654378891, 0.15523560345172882, 0.5041202306747437, -0.26697948575019836, 0.12198688089847565, 0.25380241870880127, -0.2925226390361786, -0.05411669984459877, 0.30448204278945923, 0.683454692363739, 0.40179136395454407, 0.09472619742155075, -0.14202120900154114, 0.45022374391555786, -0.5451682209968567, 0.023087667301297188, -0.0397789403796196, -0.037160709500312805, -0.051009755581617355, 0.7859495878219604, 1.065855860710144, 0.4763987958431244, -0.6510018706321716, 0.3604077100753784, -0.16716426610946655, -0.41330686211586, 0.12411972135305405, 0.019682154059410095, 0.11567788571119308, 0.13965150713920593, 0.06675640493631363, -0.2056306153535843, -0.06329818069934845, -0.424416184425354, 0.12366309762001038, 0.25798332691192627, -0.6558302044868469, -0.5630013346672058, 0.6024929881095886, 0.16281914710998535, -0.7613217234611511, 0.2749319076538086, 0.03375425189733505, -0.3154415190219879, 0.6455162167549133, 0.7165848016738892, 0.7634429335594177, -0.41317877173423767, 0.4460468590259552, 0.022341333329677582, 0.6923900246620178, -0.09220223128795624, 0.26423951983451843, 0.3578667640686035, -0.6187695860862732, -0.4828837513923645, -0.5023432374000549, -0.603981077671051, 0.18923774361610413, -0.6493305563926697, 0.15795481204986572, -0.5898743271827698, 0.15732601284980774, -0.20931600034236908, -0.3390541970729828, -0.35176214575767517, -0.03254608064889908, -0.042716462165117264, 1.2287547588348389, -1.4282034635543823, 0.7881903052330017, 0.6740812063217163, -0.38451525568962097, -0.610233724117279, 0.30907803773880005, -0.11539046466350555, -0.558564305305481, 0.17956671118736267, -0.025067128241062164, 0.2700634002685547, -0.05202600732445717, -0.4257422685623169, -0.7844680547714233, 0.5549187660217285, 0.4464688301086426, -0.5733471512794495, -0.04489554837346077, 0.47982147336006165, 0.6971483826637268, -0.3586753010749817, 0.17311811447143555, 0.7746334671974182, 0.6854206323623657, -0.17860956490039825, -0.7959540486335754, 0.020013421773910522, -0.2364179641008377, 0.32534417510032654, 0.16395531594753265, -0.5161981582641602, 0.7210503220558167, 0.13946181535720825, -0.0012260889634490013, 0.30686861276626587, 0.563444972038269, -0.1180005893111229, 0.2582661509513855, 0.33705130219459534, 0.25337597727775574, 0.7837027907371521, 0.01999030075967312, 1.0800296068191528, -0.22667790949344635, 0.42448773980140686, 0.9803881049156189, -0.25818368792533875, 0.6586743593215942, 0.5832059979438782, -0.21750788390636444, 0.390347957611084, 0.47571173310279846, 0.24431921541690826, 0.6248984932899475, 0.04243003576993942, -0.34683355689048767, -0.09928235411643982, -0.28088855743408203, -0.354868620634079, 0.038809582591056824, 0.49870920181274414, -0.0699467808008194, -0.24215295910835266, 0.360821932554245, -0.04209872707724571, 0.3280404806137085, -0.01318639051169157, 0.5877322554588318, 0.06322421878576279, -0.32152172923088074, 0.6050765514373779, 0.23617315292358398, 0.49375593662261963, -0.5219906568527222, -0.06371550261974335, -0.3406547009944916, -0.11476514488458633, 0.010880919173359871, -0.37966811656951904, 0.44635120034217834, -0.012740940786898136, -0.24135960638523102, -0.14200438559055328, 0.41267046332359314, -0.3620058000087738, -0.568098247051239, 0.27252742648124695, 0.31892409920692444, 0.14235103130340576, 0.10617252439260483, -0.7000443339347839, 0.06963616609573364, 0.1090177372097969, -0.08950041234493256, 0.5357821583747864, 0.8157737255096436, -0.16966690123081207, 0.3573642373085022, 0.7235612273216248, 0.06339716166257858, 0.16564786434173584, 0.09601902216672897, 0.8233439326286316, -0.701362133026123, -0.28351977467536926, -0.5742670297622681, 0.5748642086982727, 0.022242341190576553, -0.4006917476654053, 0.6182325482368469, 0.20647533237934113, 0.40037471055984497, -0.025175796821713448, 0.9001719355583191, -0.013764197006821632, 0.30245447158813477, -0.532383918762207, 0.6381422877311707, -0.716611385345459, 0.22717908024787903, -0.26804840564727783, -0.34756866097450256, -0.24888163805007935, 0.3243192434310913, -0.34213200211524963, -0.22661373019218445, 0.9573461413383484, 0.79425448179245, 0.11427826434373856, 0.13429881632328033, 0.4520895481109619, 0.6018754839897156, 0.5017400979995728, 0.651966392993927, 0.7617911100387573, -0.23519007861614227, 0.4155031442642212, 0.0636710450053215, -0.6767013669013977, -0.10089193284511566, -0.878637969493866, -1.069738507270813, -0.5152351260185242, -0.18010129034519196, -0.3171900808811188, 0.48981380462646484, 0.6291303634643555, 0.2871754467487335, -0.8843880891799927, -0.21482537686824799, -0.5672031044960022, 0.3202610909938812, 0.011437663808465004, -0.18839465081691742, 0.2644032835960388, -0.6320199370384216, -1.0575615167617798, 0.5757301449775696, 0.2812374234199524, 0.039324499666690826, -0.1005922257900238, 0.14510056376457214, -0.11594638973474503, 0.5586698651313782, 0.26376423239707947, 0.49374598264694214, -0.1821388304233551, -0.5021302103996277, 0.03173845261335373, 0.1494912952184677, 0.14081217348575592, 1.061367154121399, -0.32918140292167664, 0.4056006968021393, 0.3852376937866211, 0.9931696653366089, 0.09059324860572815, -0.3863484859466553, 0.7651973962783813, -0.6112950444221497, 0.2941361367702484, 0.10886485129594803, 0.0959627702832222, 0.433933287858963, -0.26567038893699646, 0.15161235630512238, 0.3971311151981354, -0.312621533870697, -1.1409283876419067, 0.417942076921463, -0.2871473729610443, -0.3329203128814697, 1.0353130102157593, -0.23072881996631622, -0.23601454496383667, -0.4188193082809448, -0.07470647990703583, 0.10918257385492325, -0.20943385362625122, 1.1338891983032227, 0.978080153465271, 0.01902669109404087, -0.1731402575969696, -0.7547187209129333, 0.5282975435256958, 0.6882221698760986, -0.8030775189399719, 0.21767878532409668, 0.1398298293352127, 0.5524117350578308, 0.038115356117486954, 0.7168083190917969, -0.11845693737268448, 0.16240818798542023, 0.05035474896430969, 0.01648523472249508, 0.287958025932312, -0.32781946659088135, -0.8406379222869873, 0.0484967939555645, 0.3066602647304535, 0.0014032345497980714 ]
http://arxiv.org/abs/2404.08700v2
http://arxiv.org/pdf/2404.08700v2
DyKnow:Dynamically Verifying Time-Sensitive Factual Knowledge in LLMs
2024-04-10T18:08:59
2024-06-12T13:44:10
Seyed Mahed Mousavi, Simone Alghisi, Giuseppe Riccardi
cs.CL
cs.CL, cs.AI
LLMs acquire knowledge from massive data snapshots collected at different timestamps. Their knowledge is then commonly evaluated using static benchmarks. However, factual knowledge is generally subject to time-sensitive changes, and static benchmarks cannot address those cases. We present an approach to dynamically evaluate the knowledge in LLMs and their time-sensitiveness against Wikidata, a publicly available up-to-date knowledge graph. We evaluate the time-sensitive knowledge in twenty-four private and open-source LLMs, as well as the effectiveness of four editing methods in updating the outdated facts. Our results show that 1) outdatedness is a critical problem across state-of-the-art LLMs; 2) LLMs output inconsistent answers when prompted with slight variations of the question prompt; and 3) the performance of the state-of-the-art knowledge editing algorithms is very limited, as they can not reduce the cases of outdatedness and output inconsistency.
[ 0.013475769199430943, -1.0055042505264282, 0.9138228297233582, 0.09148601442575455, -0.19900920987129211, 0.6713919043540955, -0.1775539666414261, -0.7273779511451721, -0.1058526411652565, 0.0404980331659317, -0.6950961351394653, -0.6913318634033203, -0.47347190976142883, 0.29178500175476074, -0.35244908928871155, 0.8252686262130737, -0.588611364364624, -0.26161259412765503, -0.5413835644721985, -0.4047941267490387, -0.21727354824543, -0.25143685936927795, 0.01816285401582718, -0.31884169578552246, 0.6766586899757385, 0.3398825526237488, 0.6156443357467651, 0.663438618183136, 0.4576962888240814, 0.3597821593284607, -0.4243357181549072, 0.5780127048492432, -0.5851176977157593, 0.5055860280990601, -0.4094313979148865, -0.5014835596084595, -0.5846627950668335, -0.05626475438475609, 0.5738471150398254, 0.48312076926231384, 0.01920218952000141, 0.6874539256095886, -0.10963180661201477, 0.6547511219978333, -0.884956419467926, 0.2564362585544586, -0.9543880224227905, 0.24348056316375732, -0.3164730370044708, -0.36552754044532776, -0.11140958219766617, -0.6615405082702637, 0.11071967333555222, -0.8477435111999512, 0.03352080285549164, -0.18226833641529083, 0.7326595783233643, 0.5482786297798157, -0.6488622426986694, -0.3928098678588867, -0.9405577778816223, 0.41471579670906067, -0.5536347031593323, 0.24119417369365692, 0.14739243686199188, 0.5681713223457336, -0.2286553978919983, -1.0831257104873657, -0.7301864624023438, -0.21889124810695648, 0.15330979228019714, 0.031161973252892494, -0.046779561787843704, -0.24985893070697784, 0.5848158001899719, 0.4884603023529053, -0.11519969999790192, 0.17808601260185242, -0.2249853014945984, -0.22482147812843323, 0.562664806842804, 0.48092368245124817, 0.13998697698116302, -0.30206725001335144, -0.44457361102104187, 0.2595774531364441, -0.6410256624221802, -0.08484794944524765, 0.4658086895942688, -0.19220595061779022, 0.035091910511255264, 0.9077630043029785, -0.5484128594398499, 0.6782585382461548, 0.3883618414402008, -0.4530937373638153, 0.04441070184111595, -0.24637553095817566, -0.06412190943956375, 0.0487864725291729, 0.31017300486564636, 0.6001361012458801, -0.07762989401817322, -0.41836145520210266, -0.03850529342889786, -0.0009291626047343016, 0.0880274698138237, -0.3663668930530548, -0.027309251949191093, 0.57599937915802, -0.1804080754518509, -0.6283335089683533, -0.3002403676509857, -0.8153746724128723, -0.7092238664627075, -0.21230146288871765, 0.411037802696228, -0.08461260050535202, -0.12574662268161774, -0.18623287975788116, -0.13718654215335846, -0.2277025580406189, 0.6005892753601074, -0.3718660771846771, -0.05828413739800453, 0.6406624913215637, 0.7370172142982483, -0.2764204144477844, -0.27779242396354675, -0.1757054179906845, 0.4125388562679291, -0.2894929051399231, 0.6141283512115479, -0.1734694242477417, -0.09345711767673492, -0.09059885144233704, -0.05900956690311432, 0.1726880520582199, -0.434693306684494, 0.22779352962970734, -1.1614935398101807, 0.17238037288188934, -0.6678080558776855, -0.9061452746391296, 0.15389299392700195, 0.6391870975494385, -0.6588467359542847, 1.0365804433822632, 0.31880125403404236, -1.1595489978790283, 0.7331235408782959, -0.39994168281555176, -0.1387624591588974, 0.13692060112953186, -0.07027646899223328, -0.24068190157413483, -0.1659127175807953, 0.09046635776758194, 0.2812923789024353, 0.14510048925876617, 0.3596411943435669, -0.5308231115341187, -0.2836257517337799, 0.7257348895072937, -0.5940966606140137, 0.7068079710006714, 0.3569256365299225, -0.579450249671936, -0.15053921937942505, -1.1618558168411255, 0.020190933719277382, 0.11863604933023453, -0.8021587133407593, -0.251569539308548, 0.1390802562236786, -0.6582331657409668, 0.17196030914783478, 0.6454127430915833, -0.7311762571334839, 0.40880730748176575, 0.0009436399559490383, 0.2436210811138153, 1.1103368997573853, 0.3159637153148651, 0.01968008279800415, -0.47906672954559326, 0.29854878783226013, -0.05547568202018738, 0.40422654151916504, 0.3348041772842407, -0.19210687279701233, -0.6874481439590454, -0.00666704960167408, 0.30702027678489685, 0.678067684173584, -0.9971737861633301, 0.2121722251176834, -0.5456027388572693, -0.6806074976921082, -0.17017795145511627, 0.3192574977874756, 0.022145820781588554, 0.8373441696166992, 0.3076741695404053, 0.10399588942527771, -0.4395960867404938, -0.5051676630973816, -0.47292274236679077, -0.4312494397163391, 0.06893972307443619, 0.40634140372276306, 0.4521416127681732, -0.16556134819984436, 0.9076671600341797, -0.5489510893821716, 0.24933992326259613, 0.4367023706436157, -0.0489010289311409, 0.1635187864303589, -0.11968272179365158, 0.27847179770469666, -0.45053932070732117, -0.35209769010543823, -0.08130419999361038, -1.1181973218917847, -0.19228658080101013, 0.1420612782239914, 0.1373649686574936, 0.3548400104045868, 0.4714655876159668, -0.8126407861709595, 0.31019750237464905, 0.5025691390037537, -0.5363627672195435, 0.6939584612846375, -0.24682533740997314, 0.4340176284313202, -0.7358865141868591, 0.17426130175590515, -0.5612109899520874, -0.37196582555770874, -0.2741736173629761, -0.026887496933341026, 0.07810772210359573, 0.007676011882722378, -0.5492022633552551, 0.6158867478370667, -0.4098360240459442, -0.07093092799186707, 0.024553077295422554, 0.414278507232666, -0.07315423339605331, 0.21333687007427216, -0.5739756226539612, 0.5891212224960327, 0.03332123905420303, -0.7965273857116699, 1.0243014097213745, 0.037304122000932693, -0.9294257760047913, 0.5857229828834534, -0.44433045387268066, 0.32975253462791443, 0.02799316681921482, 0.16016729176044464, -0.8106898069381714, -0.27652600407600403, 0.396729439496994, -0.15367043018341064, 0.2914535403251648, -0.2039976865053177, -0.5868673920631409, -0.39906322956085205, -0.28634411096572876, 0.2199133038520813, 0.13026198744773865, -0.6984313130378723, 0.5320188403129578, 0.20054949820041656, -0.08907057344913483, -0.9591418504714966, -0.39221540093421936, -0.024437392130494118, -0.038075853139162064, -0.7821571230888367, 0.2302219271659851, -0.06208372488617897, -0.7352097630500793, 0.5206722021102905, -0.5303977131843567, 0.053847793489694595, 0.33185163140296936, 0.06008093059062958, 0.126993790268898, 0.07860308140516281, 0.13678081333637238, -0.01855333521962166, 0.04328268766403198, 0.11863870918750763, -0.3189157545566559, 0.08998323231935501, 0.22475461661815643, -0.6979582905769348, -0.22734498977661133, -0.3026029169559479, 0.9700687527656555, 0.2281375527381897, 0.5373205542564392, 0.4975356459617615, -0.4407776892185211, -0.16049617528915405, -0.8060418367385864, 0.15288305282592773, -0.5021758675575256, 0.2807994484901428, -0.10380219668149948, -0.7377486824989319, 0.5986380577087402, -0.2236795723438263, 0.3448086977005005, 0.5757650136947632, 0.7860782742500305, -0.3286130130290985, 0.5362046957015991, 0.12328679114580154, 0.16955989599227905, 0.20276638865470886, -0.03692921623587608, -0.17209693789482117, -0.4865726828575134, -0.6611536741256714, -0.2732994258403778, -0.4678868055343628, -0.6893072128295898, -0.45241132378578186, 0.4502515196800232, -0.22254420816898346, -0.12916205823421478, -0.24160000681877136, -0.12217963486909866, 0.3913072645664215, 0.18392297625541687, 0.3711853325366974, 0.7237955927848816, -0.05291816592216492, -0.2511630058288574, 0.022405745461583138, -0.5967912673950195, -0.5726382732391357, 1.121303677558899, 0.3261323869228363, 0.8785820603370667, 0.23519940674304962, 0.16820333898067474, 0.7564740777015686, 0.21105346083641052, -0.3668443560600281, 0.5109103322029114, -0.01355633046478033, -0.960055947303772, -0.5258540511131287, -0.6999148726463318, -0.6246655583381653, -0.1825580596923828, -0.34213951230049133, -0.45630934834480286, 0.16935990750789642, 0.32899296283721924, -0.18720553815364838, 0.8008612990379333, -0.4575861990451813, 0.3863469362258911, -0.38111141324043274, -0.6268001794815063, -0.28925657272338867, -0.49018633365631104, 0.34446069598197937, -0.18105749785900116, 0.18257871270179749, -0.602268397808075, -0.24944768846035004, 0.6339576840400696, -0.5793156623840332, 0.9532166719436646, -0.4947407841682434, -0.23146842420101166, 0.21452154219150543, 0.337821900844574, 0.703964352607727, 0.32900482416152954, 0.027731139212846756, 0.09566085785627365, 0.24909669160842896, -0.4144473671913147, -0.8432254791259766, 0.6868366599082947, -0.9582402110099792, -0.651181161403656, -0.49323180317878723, -0.6138925552368164, -0.5076047778129578, 0.17869338393211365, 0.2809702157974243, 0.3166268765926361, -0.22003215551376343, -0.07443197071552277, 0.771615207195282, -0.2547493278980255, 0.16845841705799103, 0.8202934861183167, -0.13168446719646454, -0.3502163887023926, 0.5529731512069702, 0.6174689531326294, 0.23569899797439575, 0.42581599950790405, 0.2334606796503067, -0.28298935294151306, -0.5969963669776917, -0.35392051935195923, 0.15186898410320282, -1.0889525413513184, -0.22320540249347687, -0.6480865478515625, -0.051996491849422455, -0.14196696877479553, 0.08432286232709885, -0.33201491832733154, -0.9246715307235718, -0.1272004097700119, -0.25641492009162903, 0.6824091076850891, 1.004414439201355, -0.11620751768350601, -0.39728641510009766, -0.6711962223052979, 0.32876551151275635, 0.7880429029464722, 0.5629596710205078, -0.0831737145781517, -0.3323110044002533, -0.09775669127702713, -0.068863146007061, -0.14163219928741455, -0.8175355195999146, -0.5232512354850769, -0.11119583249092102, 0.7982905507087708, 0.2561827003955841, 0.4096005856990814, 0.442604124546051, -0.29970046877861023, 0.8100740909576416, -0.21794743835926056, -0.8514487743377686, 0.5219724178314209, -0.28968846797943115, 0.3753092288970947, 0.6164127588272095, 0.42744019627571106, -0.6085715889930725, -0.4730030298233032, -0.6019625663757324, -0.6984144449234009, 0.31290072202682495, 0.03880704566836357, -0.03413790464401245, 0.25950688123703003, 0.7040679454803467, 0.19028142094612122, 0.2755796015262604, -0.3651346266269684, -0.43661263585090637, -0.22926698625087738, -0.18466386198997498, 0.27637726068496704, -0.6917515993118286, -0.4412632882595062, -0.2048351764678955, 0.5924694538116455, 0.15969957411289215, -0.004580439999699593, 0.33076050877571106, -0.32315924763679504, -0.26715683937072754, 0.394657164812088, 0.6038309335708618, 1.3978220224380493, -0.44703713059425354, 0.2523176670074463, 0.7844395041465759, -0.6481648683547974, 0.48328495025634766, -0.04222320765256882, -0.45974424481391907, 0.1515360176563263, 0.6267663836479187, 0.632954478263855, 0.3284662961959839, -0.28533822298049927, 0.3969385623931885, -0.1841217577457428, -0.05837215483188629, -0.23955121636390686, 0.023544838652014732, -0.006096906494349241, 0.40090441703796387, 0.30458343029022217, -0.06536702811717987, -0.2909126579761505, -0.3558046221733093, 0.05470261350274086, -0.10970824211835861, -0.026463942602276802, -0.3640543818473816, 0.5364106297492981, 0.28319987654685974, 0.02277841791510582, 0.5346524119377136, 0.03682679310441017, -0.4047376215457916, 0.26963773369789124, 0.061134133487939835, 0.48476189374923706, -0.16242368519306183, 0.01670694723725319, 0.1581135392189026, 0.2638961970806122, 0.34701356291770935, 0.3955458402633667, -0.16585075855255127, -0.673536479473114, -0.4451002776622772, -0.2769089341163635, -0.8171222805976868, 0.12478044629096985, -0.5857372879981995, 0.272150456905365, -0.6887205839157104, -0.5502932667732239, -0.22442403435707092, 0.460888534784317, -0.7899500131607056, 0.08157802373170853, -0.2455066293478012, 1.278627634048462, -0.4772453308105469, 0.399907648563385, 0.6505623459815979, 0.112667016685009, -0.47528180480003357, 0.009572405368089676, 0.2572832703590393, -0.8242239952087402, 0.5618157982826233, -0.4841345250606537, 0.009178469888865948, -0.2847425043582916, -0.4911995232105255, -0.8260827660560608, 1.5899715423583984, 0.591613233089447, -0.6807977557182312, -0.10134365409612656, 0.04068318381905556, 0.436749130487442, 0.3514207601547241, -0.20153428614139557, 0.38174968957901, 0.6362809538841248, 0.006828973535448313, -0.7308171391487122, 0.12187289446592331, -0.07383430004119873, -0.4390527606010437, -0.0818621814250946, -0.6935819387435913, 0.5950070023536682, -0.22863708436489105, -0.4491698443889618, -0.3086492419242859, 0.6957888603210449, 0.35991424322128296, 0.5189332962036133, 0.6648860573768616, 0.4686936140060425, 1.3775852918624878, -0.08592671155929565, 0.8234503269195557, -0.539260983467102, 0.24422162771224976, 1.0713874101638794, -0.4143730401992798, 0.48567667603492737, 0.45060956478118896, -0.38197988271713257, 0.5872532725334167, 0.6219950914382935, -0.09429600834846497, 0.47684383392333984, 0.11139930784702301, -0.6031379103660583, -0.032002177089452744, 0.06214859336614609, -0.564601480960846, 0.3370088040828705, 0.10614348948001862, -0.04224016144871712, -0.20622678101062775, -0.34185394644737244, 0.38098031282424927, -0.06505535542964935, -0.19087162613868713, 0.8015896081924438, -0.1529998481273651, -0.47371411323547363, 0.321959525346756, -0.024317864328622818, 0.39165592193603516, -0.6372288465499878, 0.23563945293426514, -0.19398967921733856, 0.268552303314209, -0.4014676511287689, -0.9864902496337891, 0.242539182305336, 0.3571010231971741, -0.2419600933790207, 0.06246470659971237, 1.0785144567489624, -0.06340312212705612, -0.32548967003822327, 0.22978119552135468, 0.6229667067527771, -0.2347223311662674, 0.3075031042098999, -0.39972400665283203, 0.2096686065196991, -0.2048281878232956, -0.28641360998153687, 0.045408476144075394, 0.7923226356506348, 0.08255597949028015, 0.8363586068153381, 0.5720011591911316, 0.4020299017429352, 0.22660143673419952, -0.13987550139427185, 0.9659744501113892, -0.3415098190307617, -0.29433855414390564, -0.8970770835876465, 0.3855839967727661, -0.3251647651195526, -0.22054094076156616, 0.9790806174278259, 0.21369725465774536, 0.85240638256073, 0.15458598732948303, 0.7965080142021179, -0.07869528234004974, 0.622373640537262, -0.8125560879707336, 0.8733608722686768, -0.3249596655368805, 0.5127535462379456, -0.13639666140079498, -0.7950900197029114, 0.07031198590993881, -0.04136933013796806, -0.30530470609664917, -0.18492931127548218, 0.5693200826644897, 0.4922694265842438, 0.1563802808523178, -0.018129955977201462, 0.1594759225845337, 0.49781763553619385, 0.3086184859275818, 0.2809793949127197, 1.3135986328125, -0.0568704791367054, 0.6787635684013367, -0.6224561929702759, -0.18626253306865692, -0.07631069421768188, -1.285870909690857, -0.6902164816856384, -0.5069015026092529, -0.5090177655220032, -0.6068650484085083, 0.3787096440792084, 0.7612237334251404, 0.4036502242088318, -0.5106521844863892, 0.23874081671237946, 0.5169640183448792, 0.5869230031967163, -0.10175198316574097, -0.16946503520011902, 0.4267885386943817, -0.07103592157363892, -0.16495782136917114, 0.439349889755249, 0.12145247310400009, 0.17813920974731445, -0.4210103452205658, 0.09416721016168594, -0.029666095972061157, -0.04388939216732979, 0.4971684515476227, 0.17702320218086243, -0.4247629642486572, -0.5631123781204224, 0.05083393305540085, -0.15942691266536713, -0.1980622261762619, 0.8801723718643188, -0.5670307278633118, 0.5600017309188843, 0.6132029294967651, 0.44600602984428406, 0.5437669157981873, -0.07076330482959747, 0.29863500595092773, -0.7939363718032837, -0.14659938216209412, 0.0731191486120224, 0.21049097180366516, 0.47013869881629944, -0.6368240714073181, 0.36915323138237, 0.6564804911613464, -0.7252050042152405, -0.8659605383872986, 0.06453800201416016, -0.6766968965530396, -0.2818543612957001, 1.050799012184143, -0.4280712902545929, -0.2765103876590729, -0.5080711841583252, 0.27665963768959045, 0.5043966174125671, 0.08636066317558289, 1.2248352766036987, 0.9690556526184082, 0.1142759919166565, 0.4271049201488495, -0.40011128783226013, 0.5182477831840515, -0.23443953692913055, -0.7702071070671082, 0.17674139142036438, 0.4118744730949402, 0.8822174668312073, 0.11053616553544998, 0.6571030020713806, -0.3322531282901764, 0.3587273061275482, 0.07602096349000931, -0.3329043388366699, -0.5237696766853333, -0.1345587968826294, -0.1101674884557724, 0.11784329265356064, 0.39213666319847107, -0.011569957248866558 ]
http://arxiv.org/abs/2404.07202v1
http://arxiv.org/pdf/2404.07202v1
UMBRAE: Unified Multimodal Decoding of Brain Signals
2024-04-10T17:59:20
2024-04-10T17:59:20
Weihao Xia, Raoul de Charette, Cengiz Öztireli, Jing-Hao Xue
cs.CV
cs.CV, cs.AI, cs.CL
We address prevailing challenges of the brain-powered research, departing from the observation that the literature hardly recover accurate spatial information and require subject-specific models. To address these challenges, we propose UMBRAE, a unified multimodal decoding of brain signals. First, to extract instance-level conceptual and spatial details from neural signals, we introduce an efficient universal brain encoder for multimodal-brain alignment and recover object descriptions at multiple levels of granularity from subsequent multimodal large language model (MLLM). Second, we introduce a cross-subject training strategy mapping subject-specific features to a common feature space. This allows a model to be trained on multiple subjects without extra resources, even yielding superior results compared to subject-specific models. Further, we demonstrate this supports weakly-supervised adaptation to new subjects, with only a fraction of the total training data. Experiments demonstrate that UMBRAE not only achieves superior results in the newly introduced tasks but also outperforms methods in well established tasks. To assess our method, we construct and share with the community a comprehensive brain understanding benchmark BrainHub. Our code and benchmark are available at https://weihaox.github.io/UMBRAE.
[ -0.2710922062397003, -0.729098916053772, 0.3411460220813751, 0.5639735460281372, -0.3015632629394531, -0.3382572531700134, -0.3505794405937195, -0.2268601953983307, 0.030661972239613533, 0.3450038731098175, -0.49110928177833557, -0.7727771997451782, -0.4766767919063568, -0.30104681849479675, -0.35876718163490295, 0.7963854670524597, 0.21416550874710083, 0.30095094442367554, -0.14982041716575623, -0.41106030344963074, -0.8867325782775879, -0.6200025081634521, -0.41524040699005127, -0.33826228976249695, 0.7734086513519287, 0.05261069908738136, 0.2401333451271057, 0.430302232503891, 0.2709176540374756, 0.2692919969558716, -0.09989877045154572, 0.20000939071178436, -0.04179483279585838, -0.10965797305107117, -0.23959755897521973, -0.24959658086299896, -0.5934977531433105, -0.4809729754924774, 0.3096669912338257, 1.3425939083099365, -0.3615410625934601, 0.2612946033477783, 0.3703819215297699, 0.474139541387558, -0.9836980700492859, 0.3372574746608734, -0.27691277861595154, 0.09839431941509247, -0.0007690317579545081, -0.18806999921798706, -0.7140017747879028, -0.02124927006661892, -0.10728819668292999, -0.36038389801979065, -0.0061806319281458855, -0.06448821723461151, 0.5676194429397583, 0.16388987004756927, -0.738108217716217, 0.2964295446872711, -0.4839140474796295, 0.5620779991149902, -0.30306193232536316, 0.6564642190933228, 0.0002164768084185198, 0.22865435481071472, -0.12318816035985947, -0.6910638213157654, -0.3050278127193451, 0.16187864542007446, -0.04320511966943741, 0.07198841869831085, -0.48081523180007935, -0.0241505429148674, 0.04865477979183197, -0.19856515526771545, -0.5165929198265076, -0.0158731359988451, -0.24076689779758453, -0.3390718698501587, 0.34923791885375977, 0.19747097790241241, 0.3068263530731201, -0.3712798058986664, -0.33240658044815063, -0.3537555932998657, -0.4456292390823364, 0.11863277852535248, -0.06011173874139786, 0.02811652235686779, -0.07800761610269547, 0.4221464693546295, -0.004543201066553593, 0.5997695922851562, -0.08502761274576187, 0.18409302830696106, 0.21430793404579163, -0.2959100902080536, -0.1759035289287567, -0.057682350277900696, 0.6454504132270813, 0.3379969000816345, 0.006780983414500952, -0.6640498638153076, 0.23393364250659943, 0.22230130434036255, 0.29193803668022156, -0.47923964262008667, -0.5515527725219727, 0.14436517655849457, -0.5960789918899536, 0.2779333293437958, -0.033571064472198486, -0.9027768969535828, -0.4595798850059509, -0.6150248646736145, 0.38054358959198, -0.688999593257904, -0.35968682169914246, 0.33174803853034973, -0.2726607918739319, 0.15518513321876526, 0.30788031220436096, -1.0678050518035889, 0.04829525947570801, 0.3720770478248596, 0.3808656930923462, -0.14316146075725555, -0.5950274467468262, -0.248586967587471, 0.3049173355102539, 0.018537264317274094, 1.0225290060043335, -0.1908416897058487, -0.14644058048725128, -0.22088226675987244, 0.17398469150066376, -0.04826883599162102, -0.06594318896532059, 0.4894157350063324, -0.4538262188434601, -0.0546194426715374, -0.3833409547805786, 0.033839479088783264, -0.39031195640563965, -0.1286185383796692, -0.3911420404911041, 0.3729049265384674, -0.05779450386762619, -0.55367112159729, 0.42360642552375793, -1.0626935958862305, -0.5385997295379639, -0.3060740530490875, -0.18305887281894684, -0.06115511432290077, 0.40107759833335876, 0.5772007703781128, 0.49727827310562134, -0.0737951323390007, 0.19950062036514282, -0.7316322922706604, -0.2447393834590912, 0.39111751317977905, -0.684165894985199, 1.2266829013824463, 0.18573857843875885, -0.07915711402893066, 0.08441433310508728, -0.7762022018432617, 0.27666595578193665, 0.06645078212022781, -0.3805179297924042, -0.32376861572265625, -0.040815141052007675, 0.6176425218582153, 0.04090965539216995, 0.10139497369527817, -0.6540268063545227, 0.14051780104637146, -0.023142121732234955, 0.5375394225120544, 0.6297408938407898, -0.26543328166007996, 0.5960748195648193, 0.25294727087020874, 0.09554959833621979, 0.21568700671195984, 0.08002603054046631, -0.3627566397190094, -0.2936878204345703, -0.47828009724617004, -0.46622470021247864, 0.6086803674697876, 0.4469345211982727, -0.33628255128860474, 0.7253096103668213, -0.5499069690704346, -0.07601716369390488, -0.7853860855102539, -0.04507327824831009, 0.2530505061149597, 0.24624291062355042, 0.516804039478302, -0.5051767230033875, -0.8316211104393005, -0.818471372127533, -0.15901444852352142, 0.2631576955318451, -0.3286401033401489, 0.10064347833395004, 0.41054123640060425, -0.44982990622520447, 0.9855542778968811, -0.4622504413127899, -0.38500237464904785, 0.2672821879386902, 0.49946147203445435, -0.029987307265400887, 0.5792216658592224, 0.2990661561489105, -0.6935403943061829, 0.1153339371085167, 0.19200094044208527, -1.310544490814209, -0.048977967351675034, 0.12840354442596436, -0.2627723515033722, 0.07008127868175507, 0.3216082751750946, -0.5082967877388, 0.4138045608997345, 0.5972975492477417, -0.42404693365097046, -0.15609972178936005, -0.4900381565093994, 0.3750559389591217, -0.9631125330924988, 0.30942052602767944, -0.288987934589386, 0.18424497544765472, -0.3223918080329895, -0.025825589895248413, 0.30383142828941345, -0.12589912116527557, -0.23529237508773804, 0.14615468680858612, -0.8969794511795044, -0.23208904266357422, -0.4609191417694092, 0.13811923563480377, 0.17292916774749756, 0.8872957825660706, 0.07165417075157166, 0.14524972438812256, 0.6986508965492249, -0.4482516944408417, 0.20234562456607819, 0.4411936402320862, 0.013036658987402916, 0.8911517858505249, -0.44557100534439087, 0.515644371509552, -0.42218512296676636, 0.17625024914741516, -1.0012105703353882, -0.3373582661151886, -0.18749766051769257, -0.44813430309295654, 0.31934332847595215, -0.13382592797279358, -0.49587202072143555, -0.4758029580116272, 0.03426764905452728, 0.5233831405639648, 0.5651740431785583, -0.7269634008407593, 1.0981526374816895, 0.7053662538528442, 0.15550385415554047, -0.6874280571937561, -1.0240622758865356, 0.1986841857433319, -0.06166323274374008, -0.7271231412887573, 0.09737187623977661, -0.062116943299770355, 0.2556643486022949, 0.14479216933250427, -0.1343042254447937, -0.3049047589302063, 0.07758195698261261, 0.6273685693740845, 0.0032960702665150166, -0.0846797451376915, -0.1292850226163864, 0.22990478575229645, -0.24836719036102295, 0.36224108934402466, -0.48079660534858704, 0.46433305740356445, -0.10916433483362198, -0.6557910442352295, -0.16822747886180878, 0.450308620929718, 0.4760679304599762, -0.3336324989795685, 0.31819435954093933, 1.058995246887207, -0.5230436325073242, 0.000364808744052425, -0.15059493482112885, -0.2882494330406189, -0.4748864769935608, 0.455110102891922, -0.47765791416168213, -0.6208673715591431, 0.3132403492927551, -0.23550915718078613, 0.005283257458359003, -0.03705111891031265, 0.4938810467720032, -0.35843393206596375, 1.409677267074585, 0.9160633087158203, -0.018985135480761528, 0.16036613285541534, -0.060662295669317245, 0.10601598769426346, -1.014485478401184, -0.6508442163467407, -0.2650672495365143, -0.5391242504119873, 0.10036034882068634, -0.16297027468681335, 0.43614524602890015, 0.06134769320487976, 0.018527889624238014, 0.44644126296043396, -0.7944419980049133, 0.4739827811717987, 0.5555844306945801, 0.41804763674736023, 0.28952914476394653, 0.3863861560821533, -0.13326269388198853, -0.1682877391576767, -0.7667007446289062, -0.31185677647590637, 1.3034998178482056, -0.006074226461350918, 0.8598889708518982, -0.031321290880441666, 0.15652818977832794, 0.26792481541633606, 0.33627164363861084, -0.3321971297264099, 0.5652848482131958, 0.006474831607192755, -0.7668517231941223, -0.006392843089997768, -0.20987120270729065, -1.394964575767517, 0.7134411334991455, -0.32637378573417664, -1.0557302236557007, 0.39142221212387085, 0.04067742079496384, -0.518815815448761, 0.27160966396331787, -0.774294912815094, 1.0084240436553955, -0.24263276159763336, -0.35164371132850647, -0.31850430369377136, -0.8004193902015686, 0.3618762195110321, -0.01017696876078844, 0.12104831635951996, -0.05869415029883385, 0.10794392228126526, 0.6588222980499268, 0.35316359996795654, 0.9097561836242676, -0.23381955921649933, -0.10166392475366592, 0.03255187347531319, -0.1258150041103363, -0.2799651026725769, 0.25529593229293823, 0.299152135848999, 0.6263455748558044, 0.11097592860460281, -0.7537746429443359, -0.5234654545783997, 0.7032949328422546, -0.8082959055900574, 0.006550599820911884, -0.18775519728660583, -0.9929890036582947, -0.22007527947425842, 0.16490387916564941, 0.30157941579818726, 0.5441398620605469, -0.4196403920650482, 0.37038034200668335, 0.6196224689483643, 0.13183487951755524, 0.6577814221382141, 0.6085503697395325, -0.18695111572742462, -0.6745360493659973, 0.633823037147522, -0.19796514511108398, -0.5479069948196411, 0.5666290521621704, -0.4716152548789978, -0.3061712980270386, -0.4160573482513428, -0.3960648477077484, 0.023153170943260193, -0.8253113627433777, -0.061361681669950485, -0.8282005786895752, 0.33670952916145325, -0.21734917163848877, -0.08697282522916794, -0.3006593585014343, -0.0062055266462266445, -0.0934792011976242, 0.17292477190494537, 0.03202463313937187, 0.5351821184158325, -0.43004441261291504, 0.45054322481155396, -0.8249837756156921, 0.5185494422912598, 0.3927726149559021, -0.039948638528585434, -0.1568676084280014, -0.4032589793205261, -0.3620137870311737, 0.33688482642173767, -0.43264421820640564, -1.038760781288147, 0.2809797525405884, -0.2513902485370636, 0.48250338435173035, 0.4552750289440155, -0.23997338116168976, 0.7735321521759033, -0.4923507571220398, 0.38277190923690796, 0.47709083557128906, -1.0118640661239624, 0.4538979232311249, -0.20053814351558685, 0.4679870903491974, 0.4244016110897064, 0.16436129808425903, -0.3547406792640686, 0.08813755214214325, -0.5020005702972412, -0.7876207828521729, 0.623143196105957, 0.003669261932373047, 0.13499513268470764, 0.19355252385139465, 0.10873773694038391, 0.09909152239561081, 0.28591102361679077, -0.7514612078666687, -0.3268148899078369, -0.1162554919719696, -0.29633378982543945, 0.08171024918556213, 0.04705774411559105, -0.4456481337547302, -0.5937194228172302, -0.1470390409231186, -0.361850380897522, 0.9261897802352905, -0.0714024007320404, -0.46448421478271484, 0.04037313908338547, 0.40762045979499817, 0.16453224420547485, 0.506706714630127, -0.21337401866912842, 0.2986629605293274, 0.5225973725318909, -0.34155091643333435, 0.2246149331331253, 0.27662035822868347, 0.2531454265117645, 0.0166697446256876, 0.26010334491729736, 0.7313235998153687, 0.5850042104721069, -0.5102319121360779, 0.5752580761909485, -0.11927241086959839, -0.01863439567387104, -0.23717635869979858, -0.07851596176624298, 0.18541565537452698, 0.3918120563030243, 0.3309987783432007, 0.6149057745933533, 0.2830592393875122, -0.3604716658592224, 0.26740762591362, 0.407096266746521, -0.23737980425357819, -0.8090882301330566, 0.968559205532074, 0.16697782278060913, 0.045504603534936905, 0.6951958537101746, 0.06705506145954132, 0.20235097408294678, 0.5205184817314148, 0.5709812641143799, 0.7950605154037476, 0.1485447883605957, -0.08748640865087509, 0.04945389926433563, 0.2498716115951538, 0.1615815907716751, 0.5907948017120361, -0.19605238735675812, -0.7288329601287842, -0.6624710559844971, -0.40309450030326843, -0.21919040381908417, 0.008246082812547684, -0.9669021368026733, 0.01158546470105648, -0.2990753948688507, -0.38431471586227417, 0.15581217408180237, -0.6091710329055786, -0.7743675112724304, 0.06563349068164825, 0.5935755968093872, 0.6080660223960876, -0.7338796257972717, 0.9825682044029236, 1.100770354270935, -0.47210270166397095, -0.4622027575969696, -0.4758605360984802, -0.02570178732275963, -0.6724847555160522, 0.5711536407470703, 0.29242101311683655, -0.1253700852394104, 0.2380049228668213, -0.6358472108840942, -0.6811767220497131, 1.1969598531723022, 0.7759206891059875, -0.2017020583152771, -0.18425345420837402, -0.10620622336864471, 0.3452264964580536, -0.3366377651691437, 0.5035663843154907, 0.5644890666007996, 0.6278989911079407, -0.6306928992271423, -0.6110386252403259, -0.042980924248695374, -0.2818222939968109, 0.11083130538463593, 0.23568065464496613, -0.4025018513202667, 0.6756942868232727, -0.363581120967865, -0.25170713663101196, 0.028735948726534843, 0.993051290512085, 0.004347920883446932, 0.40229180455207825, 0.2755921185016632, 0.6331570148468018, 0.6992162466049194, -0.30611297488212585, 0.8146883249282837, -0.23572631180286407, 0.36131712794303894, 0.762009859085083, -0.09532193839550018, 0.7783229351043701, 0.555230438709259, -0.04821162298321724, 0.6191259622573853, 0.18956103920936584, 0.0017152494983747602, 0.5858098268508911, -0.20705395936965942, -0.032192621380090714, -0.3880866467952728, 0.08538325875997543, -0.2641441226005554, 0.6927041411399841, 0.2580018639564514, -0.10020245611667633, -0.5781555771827698, 0.6920116543769836, -0.22633612155914307, 0.11244974285364151, -0.26537656784057617, 0.5402959585189819, 0.2523668706417084, -0.5253168940544128, 0.6912505030632019, -0.10258238762617111, 0.7126765847206116, -0.5834717750549316, 0.06431303918361664, -0.20832036435604095, 0.6218937039375305, -0.09479407966136932, -0.64872807264328, 0.1181509867310524, -0.3281381130218506, -0.2924095392227173, -0.2096841037273407, 0.55577152967453, -0.4335126280784607, 0.057845670729875565, 0.6677385568618774, 0.6205929517745972, 0.18033038079738617, -0.3642478883266449, -0.7093996405601501, 0.13720658421516418, 0.017595764249563217, -0.07030675560235977, 0.49623623490333557, 0.6467718482017517, 0.09287430346012115, 0.5606558918952942, 0.7453767657279968, -0.3980085253715515, 0.15486305952072144, 0.04306244105100632, 0.6789488196372986, -0.9769376516342163, -0.22657592594623566, -0.7781990170478821, 0.7298122048377991, -0.06435815244913101, -0.4889388978481293, 0.885844349861145, 0.19426751136779785, 0.6745383739471436, -0.36339810490608215, 0.4742843806743622, -0.1705966740846634, -0.14543546736240387, -0.394493043422699, 0.6150985956192017, -0.5295642614364624, -0.12198390811681747, -0.03217104449868202, -0.763122022151947, -0.36537250876426697, 0.4194726347923279, 0.019187534227967262, 0.04411393776535988, 1.0108575820922852, 0.6591148972511292, -0.380643367767334, 0.29149129986763, 0.38568639755249023, 0.02929075062274933, -0.23278675973415375, 0.9428247213363647, 0.8860201835632324, -0.5397384166717529, 0.8389111161231995, -0.1568545401096344, -0.16154968738555908, -0.1475439816713333, -0.6463546752929688, -0.9415882229804993, -0.44514498114585876, -0.3234247863292694, -0.216568723320961, 0.025304825976490974, 0.6462584733963013, 1.1601711511611938, -0.8576207160949707, -0.2883141040802002, -0.025453438982367516, -0.2020300328731537, -0.5959560871124268, -0.10418632626533508, 0.3843710720539093, -0.3183921277523041, -0.7500911355018616, 0.5212860703468323, 0.4103407561779022, -0.25296539068222046, -0.19759196043014526, 0.04929272457957268, -0.06988596171140671, -0.13595257699489594, 0.8955574035644531, 0.3875763714313507, -0.5831724405288696, -0.02424691617488861, 0.040807440876960754, -0.30661740899086, 0.04578447341918945, 0.8457956910133362, -0.6849637627601624, 0.19249986112117767, 0.3273337483406067, 0.8021116852760315, 0.47104912996292114, -0.1837109923362732, 0.33529338240623474, -0.6979756355285645, 0.35437890887260437, -0.09102946519851685, 0.8077965378761292, 0.3709774315357208, -0.12662120163440704, 0.4538271129131317, 0.12535706162452698, -0.5249293446540833, -0.603273868560791, 0.056191880255937576, -1.4534971714019775, -0.6383681297302246, 0.9540997743606567, -0.10805781930685043, -0.8058104515075684, -0.34242650866508484, -0.43644699454307556, 0.23062996566295624, -0.2892932593822479, 0.6757982969284058, 0.45264557003974915, -0.19691132009029388, -0.13768376410007477, -0.2001529335975647, -0.20689700543880463, 0.7602598667144775, -0.8206700682640076, 0.05135960504412651, 0.8124978542327881, 0.26344895362854004, 0.4969535768032074, 0.43077370524406433, -0.17052944004535675, 0.5857481360435486, 0.17747734487056732, 0.7687931656837463, -0.10720048099756241, -0.5202086567878723, -0.6040103435516357, 0.8291853666305542, -0.21359939873218536, -0.5334994196891785 ]
http://arxiv.org/abs/2404.08699v2
http://arxiv.org/pdf/2404.08699v2
Analyzing the Impact of Data Selection and Fine-Tuning on Economic and Political Biases in LLMs
2024-04-10T16:30:09
2024-04-21T23:51:29
Ahmed Agiza, Mohamed Mostagir, Sherief Reda
cs.CL
cs.CL, cs.AI, cs.LG
In an era where language models are increasingly integrated into decision-making and communication, understanding the biases within Large Language Models (LLMs) becomes imperative, especially when these models are applied in the economic and political domains. This work investigates the impact of fine-tuning and data selection on economic and political biases in LLM. We explore the methodological aspects of biasing LLMs towards specific ideologies, mindful of the biases that arise from their extensive training on diverse datasets. Our approach, distinct from earlier efforts that either focus on smaller models or entail resource-intensive pre-training, employs Parameter-Efficient Fine-Tuning (PEFT) techniques. These techniques allow for the alignment of LLMs with targeted ideologies by modifying a small subset of parameters. We introduce a systematic method for dataset selection, annotation, and instruction tuning, and we assess its effectiveness through both quantitative and qualitative evaluations. Our work analyzes the potential of embedding specific biases into LLMs and contributes to the dialogue on the ethical application of AI, highlighting the importance of deploying AI in a manner that aligns with societal values.
[ -0.6840806007385254, -0.8906209468841553, 0.5598557591438293, -0.19853954017162323, -0.25591057538986206, 0.2611897587776184, -0.5657123923301697, -0.25384968519210815, -0.16217689216136932, 0.8025566339492798, -0.5138787627220154, -0.4243202209472656, -0.6080619692802429, -0.09802281111478806, 0.06490086764097214, 1.2900733947753906, 0.2576042115688324, 0.36748504638671875, -0.015403545461595058, -0.06580822169780731, -0.17600056529045105, -0.44691815972328186, -0.685063362121582, -0.6330625414848328, 0.28780150413513184, 0.4125666618347168, 1.0299822092056274, 1.027090311050415, 0.5583101511001587, 0.1533166766166687, -0.11226876080036163, 0.17842987179756165, -0.7671880125999451, -0.18819035589694977, -0.5215022563934326, -0.5941705107688904, -0.19692423939704895, 0.5270906686782837, 0.5961397290229797, 0.6298639178276062, 0.104326032102108, 0.5815392136573792, 0.23452292382717133, 0.7224540710449219, -0.712855339050293, 0.242624893784523, -1.1042122840881348, -0.10045481473207474, -0.24962176382541656, -0.2737654149532318, -0.29355019330978394, -0.4036649465560913, 0.18467533588409424, -0.38994258642196655, -0.08644768595695496, 0.3853115439414978, 0.785760760307312, 0.606343150138855, -0.39928993582725525, -0.27930787205696106, -0.6157593727111816, 1.1774373054504395, -0.6023447513580322, 0.3435564637184143, 0.4430830180644989, -0.024827629327774048, -0.16075865924358368, -0.22292141616344452, -0.3455210328102112, 0.13478325307369232, 0.04365481808781624, -0.11363224685192108, 0.1305353194475174, 0.3582288920879364, 0.26359522342681885, 0.362936407327652, 0.14810852706432343, 0.47887110710144043, -0.30486786365509033, -0.028066452592611313, 0.6611785888671875, 0.20112822949886322, -0.03763773292303085, -0.13642053306102753, -0.0740659087896347, -0.06954075396060944, -0.9186599254608154, -0.14922180771827698, 1.0042357444763184, 0.6681258082389832, -0.07554055005311966, 0.5213485360145569, -0.22019816935062408, 0.8031635880470276, 0.26223495602607727, -0.015176395885646343, 0.018205197528004646, -0.3583901822566986, -0.40993618965148926, -0.08960691839456558, 0.5952320694923401, 0.5858554244041443, 0.7046874761581421, 0.24219505488872528, -0.18571282923221588, 0.06902739405632019, 0.17389702796936035, -0.5315097570419312, 0.024794816970825195, 0.09775934368371964, -0.6319827437400818, -0.5580374002456665, -0.14314903318881989, -1.042981505393982, -0.5752381682395935, -0.915177583694458, 0.10576561093330383, -0.009170174598693848, 0.09812850505113602, 0.0898141860961914, 0.07342038303613663, 0.32977983355522156, 0.21845966577529907, -1.0208837985992432, 0.18410034477710724, 0.8681232333183289, 0.44363531470298767, 0.06963525712490082, -0.07056979835033417, -0.5345345735549927, 0.15245723724365234, -0.3657834231853485, 0.6824953556060791, -1.0494049787521362, -0.18991631269454956, 0.0824025496840477, -0.20747631788253784, 0.020546140149235725, -0.7863187789916992, 0.4817405939102173, -0.42797452211380005, 0.07289886474609375, -0.49467962980270386, -0.6834482550621033, -0.021097058430314064, 0.18532763421535492, -0.695370078086853, 0.8501594662666321, -0.04636494070291519, -0.7726266384124756, 0.9076199531555176, -0.7207326292991638, -0.2931332290172577, -0.35210466384887695, -0.5532866716384888, -0.3649524748325348, 0.12993797659873962, 0.2507523000240326, 0.5491206645965576, -0.5775298476219177, 0.4680061638355255, -0.3781873285770416, -0.38503462076187134, 0.0992622971534729, -0.5055547952651978, 0.7752837538719177, 0.14409959316253662, -0.6117098331451416, 0.08008046448230743, -0.7793847918510437, -0.10628697276115417, -0.10880278795957565, -0.3744302988052368, -0.4242062270641327, 0.3793782591819763, 0.03343610838055611, 0.12196231633424759, 0.20633980631828308, -0.19449485838413239, 0.25407153367996216, -0.48074042797088623, 0.5875025987625122, 1.235482931137085, -0.1793917566537857, 0.7076172828674316, -0.3812864422798157, 0.35617876052856445, -0.3213689923286438, 0.4004228115081787, 0.2646610140800476, -0.18861857056617737, -0.6294170618057251, -0.1474749594926834, 0.4288690984249115, 0.5859662294387817, -0.3333536386489868, 0.25801631808280945, 0.17958544194698334, -0.2930557429790497, -0.8505741953849792, 0.20021429657936096, 0.036003902554512024, 0.17775405943393707, 0.05618186295032501, 0.09957503527402878, -0.41893652081489563, -1.316961407661438, -0.6887692213058472, -0.17756809294223785, 0.01301567256450653, 0.5804955959320068, 0.6210449934005737, -0.03582754731178284, 0.8366823196411133, -0.15780673921108246, -0.24645961821079254, -0.004444907419383526, -0.13382188975811005, 0.26242101192474365, 0.4400815963745117, 0.4750097990036011, -0.5933172106742859, -0.3145078718662262, 0.13514839112758636, -0.12599442899227142, -0.264396071434021, -0.36517333984375, -0.23557251691818237, 0.11189795285463333, 0.1881427764892578, -0.26699453592300415, 0.372627854347229, 0.39297258853912354, -0.40492480993270874, 0.25574368238449097, -0.012246659956872463, 0.2572798430919647, -0.8227006196975708, -0.1648278832435608, 0.1626710295677185, -0.19377392530441284, -0.23250442743301392, -0.18197283148765564, -0.12138541042804718, 0.45674124360084534, -0.37737515568733215, 0.4053962230682373, -0.32336950302124023, -0.05465157330036163, -0.18514548242092133, -0.04627101123332977, -0.02194087579846382, 0.07926394045352936, -0.1126004159450531, 0.9086348414421082, 0.4162716567516327, -0.35983502864837646, 0.03607211261987686, 0.12680445611476898, -0.5919052362442017, 0.6788994073867798, -0.36509397625923157, 0.3124966621398926, -0.17881862819194794, -0.12175870686769485, -0.3768933117389679, -0.06332753598690033, 0.2605035603046417, 0.14384396374225616, 0.23901581764221191, -0.34364211559295654, -0.6443564295768738, 0.2856212556362152, -0.3749139904975891, 0.21454912424087524, 0.4288799464702606, -0.39480894804000854, 0.3032752573490143, 0.771869957447052, -0.06384655088186264, -0.5590407848358154, -0.45625829696655273, -0.07581987231969833, -0.7190983891487122, -0.2434319257736206, 0.24841420352458954, 0.12517149746418, -0.8969051837921143, -0.16360166668891907, 0.08323416858911514, 0.32244905829429626, 0.14661246538162231, -0.08405207097530365, 0.19149763882160187, -0.04962810128927231, 0.023711035028100014, 0.35102400183677673, -0.010473988018929958, 0.07399512827396393, -0.29209691286087036, 0.4987245202064514, -0.1595654934644699, -0.25190025568008423, -0.36322277784347534, 0.2417108714580536, 0.6277810335159302, -0.29406657814979553, 0.8438776135444641, 0.17949679493904114, -0.25204384326934814, -0.3320043087005615, -0.8060312867164612, -0.23415665328502655, -0.4938954710960388, 0.3317207992076874, 0.16501040756702423, -0.8512616157531738, 0.38187935948371887, -0.40021035075187683, 0.14802829921245575, 0.34552380442619324, 0.9036736488342285, 0.020268406718969345, 1.0292807817459106, 0.7464730143547058, -0.3515888452529907, 0.6156314015388489, -0.24614442884922028, 0.26946744322776794, -0.7637083530426025, -0.19263482093811035, -0.5848737359046936, -0.407327264547348, -0.8067845106124878, -0.35430893301963806, 0.14052365720272064, -0.16900837421417236, -0.7021052837371826, -0.4206353425979614, -0.5241049528121948, 0.8785768747329712, 0.5556395649909973, 0.021677203476428986, 0.142792209982872, 0.1277070790529251, 0.2487688660621643, -0.2032356858253479, -0.4809599220752716, -1.084916353225708, 1.295227289199829, 0.3953566551208496, 0.987638533115387, -0.43733739852905273, 0.39024198055267334, 0.3863876163959503, 0.1400793343782425, -0.6849908828735352, 0.2897419035434723, -0.3102611005306244, -0.5499274134635925, -0.2856070101261139, -0.2658003866672516, -0.684227705001831, 0.09328073263168335, -0.38698697090148926, -0.7157807350158691, 0.34477484226226807, 0.01929333806037903, -0.5101054310798645, 0.48104095458984375, -0.47225886583328247, 0.7745104432106018, -0.4724609851837158, -0.4771062731742859, -0.46371224522590637, -0.616689145565033, -0.12543600797653198, -0.09667888283729553, 0.4482424259185791, -0.5119576454162598, -0.13974665105342865, 0.706513524055481, 0.11759883910417557, 1.0848511457443237, -0.08495235443115234, -0.12445510178804398, -0.1506304144859314, -0.3321513533592224, 0.48090076446533203, 0.2225382924079895, -0.47584474086761475, 0.32398611307144165, 0.0906129702925682, -0.3409740924835205, -0.1389426589012146, 0.669119119644165, -0.9507825970649719, -0.7854886054992676, -0.23452402651309967, -0.7579666972160339, -0.3775041103363037, 0.09995748102664948, 0.14403268694877625, -0.10741342604160309, -0.2687848210334778, 0.15164421498775482, 0.8901504278182983, -0.3527508080005646, -0.024277692660689354, 0.2954338490962982, -0.05047072842717171, -0.24504639208316803, 0.6255874633789062, 0.4614924490451813, 0.40958836674690247, 0.03769123926758766, 0.2776392996311188, -0.012802045792341232, -0.6202936172485352, -0.3988017439842224, 0.24083735048770905, -0.5814390778541565, -0.20892879366874695, -0.1995292603969574, 0.1120452731847763, -0.07364743947982788, -0.3073887825012207, -0.498711496591568, -0.15543268620967865, -0.622961163520813, -0.11943462491035461, 0.4359505772590637, 0.8519797325134277, 0.07193924486637115, 0.31442031264305115, -0.1343892216682434, 0.0768863633275032, -0.0323009192943573, 0.6489292979240417, -0.3479475677013397, -0.35143139958381653, -0.30781951546669006, 0.3472297787666321, -0.12226533889770508, -0.7592875361442566, 0.03317663446068764, 0.27826422452926636, 0.5784559845924377, 0.36641356348991394, 0.09914416074752808, 0.6225680708885193, -0.6113320589065552, 0.5940936207771301, -0.4206906855106354, -0.9474788308143616, 0.7836040258407593, -0.40198513865470886, -0.035408180207014084, 0.8358278274536133, 0.23495429754257202, -0.14552490413188934, -0.5870434641838074, -0.47616297006607056, -0.8970451354980469, 0.8996163606643677, 0.017794184386730194, 0.355491042137146, 0.04524685814976692, 0.6797197461128235, 0.34168753027915955, 0.3922935426235199, -0.28803977370262146, -0.42176350951194763, 0.1513487845659256, -0.19910858571529388, 0.09610427170991898, -0.17107993364334106, -0.3249660134315491, -0.36922961473464966, 0.7877046465873718, -0.239251047372818, -0.30767422914505005, -0.08034321665763855, 0.16230283677577972, -0.2341488003730774, 0.35072705149650574, 0.1824522465467453, 0.8381445407867432, -0.025896623730659485, -0.12532728910446167, 0.11656346172094345, -0.16267885267734528, -0.06704702973365784, 0.14671896398067474, -0.3845638632774353, -0.1839914470911026, -0.16747766733169556, 0.8420048356056213, -0.08399558067321777, -0.6914716362953186, 0.047885261476039886, 0.15514807403087616, 0.10775209218263626, -0.18311497569084167, 0.03622264415025711, -0.04417187348008156, 0.6024224758148193, 0.20547686517238617, -0.026808375492691994, 0.18617434799671173, -0.7596626281738281, -0.06960561871528625, 0.8570561408996582, -0.08746827393770218, -0.0705590695142746, 0.6714814901351929, 0.1621716320514679, -0.2571774125099182, 0.537150502204895, 0.11784464120864868, -0.4372636377811432, 0.7501225471496582, 0.26948484778404236, 0.5844863653182983, -0.10690116137266159, 0.11680096387863159, -0.0502692386507988, 0.7494790554046631, -0.017537256702780724, 0.35581305623054504, 0.24959319829940796, -0.8287659287452698, -0.549608051776886, -0.6620505452156067, -0.5279478430747986, 0.35091787576675415, -0.7734513878822327, 0.3965047299861908, -0.6368235945701599, -0.37084248661994934, 0.02480996772646904, 0.36523857712745667, -0.8165557980537415, 0.15380032360553741, 0.281760036945343, 0.6673540472984314, -0.9854188561439514, 0.7082295417785645, 0.7118067741394043, -0.01837301440536976, -0.50310879945755, 0.10459685325622559, 0.13308008015155792, -1.015262484550476, 0.5216201543807983, -0.15557515621185303, 0.05885697156190872, -0.12020676583051682, -0.671756386756897, -0.7662543058395386, 0.7226824164390564, 0.8935157060623169, -0.6761246919631958, 0.15512989461421967, 0.45679736137390137, 0.2854459285736084, -0.5804807543754578, 0.0756792351603508, 1.247151494026184, 0.6591135859489441, -0.5907089114189148, -1.0878345966339111, -0.1605873852968216, 0.11469168215990067, -0.03517567366361618, 0.44188034534454346, -0.9313681125640869, 0.7043983340263367, 0.07368990033864975, 0.1289854198694229, -0.396645724773407, 0.2361956536769867, 0.06834124773740768, 0.3187152147293091, 0.41197896003723145, 0.2648674547672272, 0.958796501159668, -0.1586933434009552, 0.8103734850883484, -0.6452353000640869, 0.4707318842411041, 0.9071869254112244, -0.39352259039878845, 0.4620611369609833, 0.772686779499054, -0.32276469469070435, 0.09064354002475739, 0.9845727682113647, -0.21947354078292847, 0.488815575838089, 0.3938651978969574, -0.03547123074531555, -0.22367455065250397, -0.5115433931350708, -0.16121210157871246, 0.5286802053451538, 0.7478291392326355, -0.5635867714881897, -0.07106912136077881, -0.1043587177991867, 0.19164195656776428, 0.186948761343956, -0.5304183959960938, 0.7813066244125366, -0.0603502131998539, -0.3343633711338043, 0.10826290398836136, -0.1554180383682251, 0.7816193699836731, -0.2972958981990814, -0.07420790940523148, -0.1049284040927887, 0.013041939586400986, -0.30767107009887695, -0.8556380867958069, 0.4546716809272766, 0.19438336789608002, -0.3123703896999359, -0.43091291189193726, 0.4973906874656677, -0.4218718707561493, -0.5009294748306274, 0.16025356948375702, 0.5350490212440491, -0.04847239702939987, -0.04764604568481445, -0.846399188041687, 0.5099781155586243, 0.21690502762794495, -0.4550679922103882, 0.44108977913856506, 0.42028525471687317, -0.0345890112221241, 0.33909153938293457, 0.4942927956581116, 0.30251237750053406, -0.35503625869750977, 0.17807067930698395, 0.7530702352523804, -0.46525320410728455, -0.2518342435359955, -1.204085111618042, 0.182878315448761, -0.10131187736988068, -0.25160738825798035, 0.5682504177093506, 0.6949540376663208, 1.1701699495315552, 0.2755485773086548, 1.112925410270691, 0.14773693680763245, 0.284519225358963, -0.6397585272789001, 0.9189516305923462, -0.4028504192829132, 0.5914238691329956, -0.12779901921749115, -0.7928393483161926, -0.14207544922828674, 0.8247228860855103, -0.78411865234375, 0.09197088330984116, 0.09138945490121841, 0.6266477704048157, 0.08628349006175995, 0.015766769647598267, 0.12920749187469482, 0.1305101066827774, 0.038348715752363205, 0.15913912653923035, 0.8178136348724365, 0.12139502912759781, 0.1694198101758957, -0.4775969982147217, -0.2373887598514557, 0.011380182579159737, -1.0440518856048584, -0.9656616449356079, -0.30377089977264404, -0.3882398307323456, -0.11935222148895264, 0.26481375098228455, 1.343095064163208, 0.5516824126243591, -0.7212475538253784, -0.42897430062294006, 0.3236791491508484, 0.32368984818458557, 0.11988738924264908, -0.22387224435806274, 0.4057314395904541, -0.30587834119796753, -1.109015703201294, -0.07531031966209412, 0.4545843005180359, -0.20579415559768677, -0.35135000944137573, 0.23387238383293152, -0.1749531328678131, 0.43239670991897583, 0.44196024537086487, -0.15369170904159546, -0.8372132182121277, -0.46784648299217224, -0.2031642347574234, 0.232476606965065, 0.2052512913942337, 0.8563207983970642, -0.8471078276634216, 0.3174726963043213, 0.123687744140625, 0.6743152141571045, -0.07879684865474701, -0.16520708799362183, 0.738872230052948, -0.25857463479042053, 0.14236074686050415, 0.4010103642940521, 0.31090086698532104, 0.33545005321502686, -0.5392288565635681, 0.4500834047794342, -0.162917360663414, -0.8523502945899963, -1.0226845741271973, 0.2591140568256378, -0.48135051131248474, -0.34660664200782776, 1.2467631101608276, 0.3601019084453583, -0.05839873477816582, -0.24168497323989868, -0.44328680634498596, 0.21253469586372375, -0.4714755117893219, 0.9091269373893738, 0.7641866207122803, -0.16126862168312073, -0.04069865867495537, -0.7436715364456177, 0.6453413367271423, 0.406688392162323, -0.6886346340179443, 0.30715566873550415, 0.49939265847206116, 0.27522987127304077, -0.3369406759738922, 0.3253779709339142, 0.02512224204838276, -0.044244252145290375, -0.3988599181175232, -0.19119569659233093, 0.2976273000240326, 0.09336027503013611, -0.41466084122657776, -0.082033671438694, 0.2202322781085968, 0.09152737259864807 ]
http://arxiv.org/abs/2404.07143v1
http://arxiv.org/pdf/2404.07143v1
Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention
2024-04-10T16:18:42
2024-04-10T16:18:42
Tsendsuren Munkhdalai, Manaal Faruqui, Siddharth Gopal
cs.CL
cs.CL, cs.AI, cs.LG, cs.NE
This work introduces an efficient method to scale Transformer-based Large Language Models (LLMs) to infinitely long inputs with bounded memory and computation. A key component in our proposed approach is a new attention technique dubbed Infini-attention. The Infini-attention incorporates a compressive memory into the vanilla attention mechanism and builds in both masked local attention and long-term linear attention mechanisms in a single Transformer block. We demonstrate the effectiveness of our approach on long-context language modeling benchmarks, 1M sequence length passkey context block retrieval and 500K length book summarization tasks with 1B and 8B LLMs. Our approach introduces minimal bounded memory parameters and enables fast streaming inference for LLMs.
[ -0.5240113139152527, -0.6546789407730103, 0.7713800668716431, 0.3524681627750397, -0.22109106183052063, -0.13404665887355804, -0.4281122088432312, -0.21999892592430115, 0.13032269477844238, 0.7815775275230408, -0.5208981037139893, -0.07578737288713455, -0.3899458646774292, -0.08573202788829803, -0.6345775723457336, 0.6997225880622864, -0.07379899173974991, -0.3866593837738037, -0.2567984461784363, -0.16040395200252533, -0.35148054361343384, -0.33790478110313416, -0.6950021982192993, -0.291859894990921, 0.41826871037483215, 0.7044576406478882, 0.5515541434288025, 0.5642865896224976, 0.30791693925857544, 0.23211944103240967, -0.1835428774356842, -0.1385127156972885, -1.0181804895401, 0.08397551625967026, -0.18831239640712738, 0.019677115604281425, -0.41420072317123413, -0.2767356336116791, 1.0798183679580688, 0.6977757811546326, 0.11061305552721024, 0.4360218346118927, 0.11046850681304932, 0.5123245120048523, -0.7538043856620789, 0.05450930446386337, -0.5381988883018494, -0.037007465958595276, -0.07898423820734024, -0.21197935938835144, -0.8087491989135742, -0.11109550297260284, 0.051506415009498596, -0.3263034522533417, 0.17150136828422546, 0.015018217265605927, 0.26065948605537415, 0.5181690454483032, -0.47367414832115173, -0.03445544093847275, -0.7425339221954346, 1.0543020963668823, -0.6709781885147095, 0.5274030566215515, 0.1802443414926529, 0.32190752029418945, -0.13788758218288422, -0.710397481918335, -0.6882669925689697, -0.005254076793789864, -0.15849024057388306, 0.22795602679252625, -0.25013917684555054, 0.1850082278251648, 0.31166785955429077, 0.4742506444454193, -0.21910329163074493, -0.09399425238370895, -0.1301015019416809, 0.29828983545303345, 0.4019250273704529, 0.05212392285466194, 0.12268783152103424, 0.1829347014427185, -0.43966230750083923, 0.15091769397258759, -0.8053505420684814, -0.059699006378650665, -0.2085523158311844, -0.04494231939315796, -0.060740869492292404, 0.49774861335754395, -0.1018885001540184, 0.8863497972488403, 0.29847201704978943, -0.24537301063537598, -0.2041430026292801, -0.12349429726600647, -0.5081825256347656, 0.08527836203575134, 0.5141986608505249, 0.27823659777641296, 0.04462478309869766, -0.7174099087715149, -0.16151998937129974, -0.2760196030139923, 0.35233667492866516, -0.7908294200897217, 0.40052932500839233, 0.4050946831703186, -0.379784494638443, 0.09270013123750687, -0.38319113850593567, -0.9074315428733826, -0.04648441821336746, -0.16681864857673645, 0.4139065146446228, -0.3699890375137329, -0.003135295119136572, -0.03908482939004898, 0.1049666777253151, 0.5102257132530212, 0.08687903732061386, -1.1239068508148193, 0.7244752645492554, 0.6567360162734985, 0.9234810471534729, -0.3300807476043701, 0.07813476771116257, -0.7866898775100708, 0.43768376111984253, -0.10265655815601349, 0.6028827428817749, -0.5987598299980164, -0.24110208451747894, -0.022220246493816376, -0.03125312924385071, -0.22996686398983002, -0.36013659834861755, 0.5902201533317566, -0.7396574020385742, 0.03644685447216034, 0.2623682916164398, -0.8447270393371582, -0.3745688199996948, 0.06892967969179153, -0.6653861403465271, 0.9753748774528503, 0.41224178671836853, -0.4606446325778961, -0.19514495134353638, -0.8936918377876282, -0.5158974528312683, 0.22217510640621185, 0.20972631871700287, -0.1258847564458847, 0.27090954780578613, 0.10768858343362808, 0.658515453338623, -0.3956682085990906, 0.43847742676734924, -0.2731758952140808, -0.700854480266571, 0.1353832185268402, -0.6057104468345642, 0.5224513411521912, 0.10659850388765335, -0.5223410129547119, 0.12871234118938446, -0.8108974695205688, 0.0021058584097772837, 0.03601916506886482, -0.15382300317287445, -0.08559071272611618, -0.004394713789224625, 0.44177159667015076, 0.19744300842285156, 0.23262211680412292, -0.8111093640327454, 0.009467090480029583, -0.6660871505737305, 0.7248267531394958, 0.4660585820674896, -0.2000662088394165, 0.8125407695770264, -0.054359789937734604, 0.6677979230880737, -0.3430573046207428, 0.19815126061439514, -0.5517046451568604, 0.030425457283854485, -1.012627363204956, -0.48484835028648376, 0.12436718493700027, 0.31971481442451477, -0.3735118806362152, 0.5164073705673218, -0.6676422953605652, -0.2370758056640625, -0.3086378872394562, -0.027740851044654846, 0.304192453622818, 0.539901614189148, 0.2622124254703522, 0.023924043402075768, -0.387026309967041, -0.8560137152671814, -0.031183073297142982, 0.4296083152294159, -0.3876507878303528, 0.2453833818435669, 0.3507169485092163, -0.2422531545162201, 1.188155174255371, -0.2693346440792084, -0.25973522663116455, -0.4136578142642975, -0.6163581013679504, 0.38608911633491516, 0.2748739719390869, 0.3674422800540924, -0.6324024796485901, -0.651177704334259, -0.006801029201596975, -0.4892026484012604, 0.07355309277772903, -0.23217758536338806, -0.09557101875543594, 0.23916640877723694, 0.8714317083358765, -0.721502423286438, 0.34202662110328674, 0.5784962177276611, -0.2329334169626236, -0.2328035533428192, 0.10234376788139343, -0.3130398988723755, -0.9754772186279297, 0.3453562557697296, -0.04471864923834801, -0.6812712550163269, -0.9249942302703857, 0.2477283775806427, 0.5052846074104309, -0.24480478465557098, -0.6607144474983215, 1.1452856063842773, -0.4895046055316925, 0.09676758944988251, -0.1798849254846573, 0.3563661575317383, -0.13722272217273712, 0.8791776895523071, -0.04197336733341217, 0.5572221279144287, 0.4446745812892914, -0.40234366059303284, 0.2332192361354828, 0.14870958030223846, -0.09297171980142593, 0.3665392994880676, -0.5699082612991333, 0.21879203617572784, -0.24062563478946686, 0.5024239420890808, -1.4715685844421387, -0.1341477632522583, 0.32588040828704834, -0.09994900971651077, 0.6464594602584839, -0.0448036827147007, -0.4808013141155243, -0.4470524191856384, -0.3857923448085785, 0.5992798805236816, 0.4474843144416809, -0.8322114944458008, 0.9348926544189453, 0.21336111426353455, -0.1782068908214569, -0.3483734130859375, -0.6208011507987976, 0.21851173043251038, -0.5638447403907776, -0.4692022204399109, 0.4194217026233673, -0.3144281804561615, -0.20243977010250092, -0.23051726818084717, -0.2365046888589859, -0.15983030200004578, -0.13274052739143372, 0.2997299134731293, 0.08181892335414886, -0.22387723624706268, 0.05737916752696037, 0.0559605173766613, -0.14172908663749695, -0.038773611187934875, -0.36903443932533264, 0.4762860834598541, 0.0038833781145513058, 0.0029023424722254276, -0.3509327471256256, 0.7708947062492371, 1.0405890941619873, -0.04553833231329918, 0.5792684555053711, 0.2051524966955185, -0.22894948720932007, -0.1355619728565216, -0.9790170788764954, -0.051419761031866074, -0.48937660455703735, 0.3199194669723511, -0.2614756226539612, -1.1996715068817139, 0.5671899318695068, 0.0025666269939392805, 0.07462140917778015, 0.1911741942167282, 0.44438284635543823, 0.07386185228824615, 0.8355613350868225, 0.8867296576499939, -0.44201087951660156, 0.5323647260665894, -0.172030970454216, 0.4745747447013855, -1.1844849586486816, 0.12117443978786469, -0.09642062336206436, -0.28042006492614746, -0.11284561455249786, -0.3336349129676819, 0.3197462260723114, -0.055678244680166245, -0.36662596464157104, 0.29618003964424133, -0.5090405941009521, 0.8853567242622375, 0.2367228865623474, 0.057906072586774826, 0.12635748088359833, -0.13630497455596924, 0.34784725308418274, 0.12729208171367645, -0.9511433243751526, -0.29161229729652405, 1.1041818857192993, 0.569783091545105, 0.530201256275177, 0.10400466620922089, 0.3864749073982239, -0.004722041077911854, 0.720971941947937, -0.9661288857460022, 0.5342036485671997, 0.048268359154462814, -0.3736589550971985, -0.6749456524848938, -0.1621689647436142, -0.6579919457435608, 0.4127693474292755, 0.43026334047317505, -0.9232518672943115, -0.05638818070292473, -0.045137543231248856, -0.7965860962867737, 0.386898398399353, -0.6606478691101074, 0.7427988648414612, 0.07775626331567764, -0.42085370421409607, -0.26544827222824097, -0.9063730239868164, 0.46738964319229126, -0.335618793964386, 0.20414283871650696, 0.17230536043643951, -0.2207331508398056, 0.388596773147583, -0.3064071834087372, 0.9548768401145935, 0.18247023224830627, -0.2854118347167969, 0.163264662027359, 0.06273604929447174, 0.5920941233634949, 0.17424660921096802, 0.12142442911863327, 0.04826769605278969, -0.3477972447872162, -0.4858316481113434, -0.5923775434494019, 0.8880949020385742, -0.3287929892539978, -0.5783876180648804, -0.13496077060699463, -0.7883061766624451, -0.19359402358531952, 0.3873843848705292, 0.2721173167228699, 0.556273341178894, -0.24689677357673645, 0.3456280529499054, 1.153478980064392, 0.055954910814762115, 1.1345092058181763, 0.5681710839271545, 0.053105756640434265, -0.39803674817085266, 0.4765092432498932, 0.10260355472564697, 0.38557592034339905, 0.69077068567276, -0.1261766403913498, -0.40112820267677307, -0.15370218455791473, -0.5163483619689941, 0.44890764355659485, -0.6898585557937622, -0.2663303017616272, -0.8488507270812988, -0.27535280585289, -0.24045458436012268, -0.36180824041366577, -0.4192560911178589, -0.2098594754934311, -0.24183069169521332, 0.19245705008506775, 0.2335832267999649, 0.4963831901550293, 0.3702053427696228, 0.519912838935852, -0.5731505751609802, 0.30877572298049927, 0.2517857253551483, 0.6044742465019226, 0.409242182970047, -0.8617631196975708, -0.3861285150051117, -0.3385365903377533, -0.2381962537765503, -0.527961015701294, 0.3859085142612457, 0.20667801797389984, 0.40188753604888916, 0.6134023070335388, -0.02034056931734085, 0.671198308467865, -0.7345723509788513, 0.5394418239593506, 0.1920316517353058, -1.1410362720489502, 0.16549080610275269, -0.42917153239250183, 0.8504934310913086, 0.31176674365997314, 0.24940064549446106, -0.625299870967865, -0.5609802007675171, -0.5834103226661682, -0.9904584288597107, 0.6971741914749146, 0.16120240092277527, 0.339645117521286, -0.17302851378917694, 0.5175940990447998, -0.06909925490617752, -0.014395661652088165, -0.7473769783973694, -0.3013748526573181, 0.06087461858987808, -0.15379539132118225, -0.3183709681034088, -0.7597419023513794, -0.03620893135666847, -0.3143038749694824, 0.5018864274024963, -0.2598645091056824, 0.3127586841583252, 0.2416713833808899, -0.22017592191696167, -0.20087909698486328, 0.30050572752952576, 0.838627815246582, 0.6384009718894958, -0.23758259415626526, 0.15107637643814087, 0.5495076775550842, -0.2699539363384247, 0.15009945631027222, -0.08485302329063416, -0.06406909972429276, -0.029230136424303055, 0.20720452070236206, 0.5996826887130737, 0.7587242722511292, -0.7782018780708313, 0.45163917541503906, -0.14629341661930084, 0.11327141523361206, -0.7118814587593079, -0.261376291513443, 0.31386739015579224, 0.17844247817993164, 0.3469906747341156, -0.04934108257293701, 0.0900888741016388, -0.2758783996105194, 0.2878919541835785, 0.3891877830028534, -0.5556415319442749, -0.08869392424821854, 0.8514239192008972, 0.09679223597049713, -0.1171339675784111, 0.6154714226722717, 0.21221041679382324, -0.11548618972301483, 0.413827121257782, 0.9010540246963501, 0.8938524723052979, -0.3002425730228424, -0.1805177479982376, 0.21466605365276337, 0.020886676385998726, -0.11381928622722626, -0.2726370096206665, -0.46355414390563965, -0.4415590763092041, -0.7548071146011353, -0.43573954701423645, -0.2834014296531677, 0.41340556740760803, -0.5162392854690552, 0.11061014235019684, -0.49514254927635193, 0.12546491622924805, -0.15883852541446686, -0.3534334897994995, -0.47170305252075195, 0.21141141653060913, 0.34891828894615173, 0.8751162886619568, -0.5332992672920227, 1.0633636713027954, 0.1650051325559616, -0.032850559800863266, -0.3645790219306946, -0.017705075442790985, -0.3452050983905792, -0.3611423075199127, 0.44773438572883606, 0.4451192617416382, -0.3816728889942169, 0.35090363025665283, -0.6539959907531738, -1.387718677520752, 0.8882654905319214, 0.42272859811782837, -0.8062689900398254, 0.08299519121646881, -0.054964788258075714, 0.3830185532569885, -0.3711065649986267, 0.4520196318626404, 0.8012449145317078, 0.39962834119796753, 0.20934584736824036, -0.6207699179649353, 0.04616715386509895, -0.13133618235588074, 0.12968644499778748, 0.2818863093852997, -1.085375189781189, 0.5746185779571533, 0.1381731629371643, -0.4175460934638977, 0.10821816325187683, 0.8206325769424438, -0.0713275596499443, -0.02820410579442978, 0.41288459300994873, 0.5712425708770752, 0.2736077904701233, 0.21477994322776794, 1.1723294258117676, -0.30522415041923523, 0.35097020864486694, 1.1774461269378662, -0.340709388256073, 0.7880731821060181, 0.7654010653495789, 0.17990177869796753, 0.10924475640058517, 0.3894181549549103, 0.22965309023857117, 0.6044849157333374, 0.2565937042236328, -0.48823124170303345, -0.07725013047456741, -0.09127591550350189, -0.07808167487382889, 0.08977603167295456, 0.26870885491371155, -0.1916055679321289, -0.21930338442325592, 0.2456723302602768, 0.33913692831993103, -0.019781867042183876, -0.34689053893089294, 0.5879627466201782, 0.1259552389383316, -0.7898831367492676, 0.926134467124939, -0.056017082184553146, 0.7623546123504639, -0.5397827625274658, 0.06536814570426941, -0.5310701727867126, 0.34245723485946655, 0.06057598441839218, -0.4010316729545593, 0.4004392921924591, -0.10403362661600113, -0.5150334239006042, -0.47324806451797485, 0.460079163312912, -0.5729129314422607, -0.4953254163265228, 0.404288113117218, -0.13461773097515106, 0.019666196778416634, -0.3237820565700531, -0.04961732029914856, 0.04040183871984482, -0.010269531980156898, -0.5667569637298584, 0.38499364256858826, 0.3335346579551697, -0.1425163298845291, 0.8893023133277893, 0.3342774510383606, -0.4077613651752472, 0.00031675584614276886, -0.14521178603172302, 0.8960907459259033, -0.7898293137550354, -0.4616222381591797, -1.0666344165802002, 0.3526419699192047, 0.07888703048229218, -0.06213384121656418, 0.8770511150360107, 0.6540560722351074, 0.6732978224754333, -0.24352043867111206, 0.6666368842124939, 0.13179317116737366, 0.4449287950992584, -0.2629185616970062, 0.6268966197967529, -0.46731245517730713, -0.022333292290568352, -0.1674426943063736, -1.1535485982894897, -0.6304548978805542, 0.2333885282278061, -0.1813974678516388, -0.1869775801897049, 0.8082503080368042, 0.5676994919776917, -0.3205549716949463, -0.22417959570884705, 0.612973690032959, 0.1880735605955124, 0.13286355137825012, 0.9077750444412231, 0.6192147135734558, -0.4669572710990906, 0.41354110836982727, 0.03229467198252678, -0.3417714238166809, -0.25586313009262085, -0.7675140500068665, -0.9936608076095581, -0.3143324553966522, -0.06088951230049133, -0.046462301164865494, -0.2901175916194916, 0.6064013838768005, 0.7756543159484863, -0.8114801049232483, -0.39809826016426086, -0.03206413984298706, -0.00707173440605402, -0.18526649475097656, -0.25116297602653503, 0.5228596925735474, -0.42885828018188477, -0.8895938396453857, 0.7296169996261597, 0.6361551880836487, -0.06668777018785477, -0.4199520945549011, 0.1300298571586609, -0.0652923583984375, 0.31190037727355957, 1.0102277994155884, 0.28745198249816895, -0.8147163391113281, -0.2479136884212494, 0.00045258659520186484, -0.03095611371099949, 0.17280161380767822, 0.7768789529800415, -0.7734026908874512, 0.4309012293815613, 0.2223391979932785, 0.5178685784339905, 0.7245216369628906, -0.06269145011901855, 0.6323118209838867, -0.7081645727157593, 0.5475506782531738, 0.24736937880516052, 0.23499751091003418, 0.17945316433906555, -0.5274998545646667, 0.5777585506439209, -0.2644898593425751, -0.6453740000724792, -0.6785575747489929, 0.05476125329732895, -1.0595290660858154, -0.25050485134124756, 1.1093980073928833, 0.0025356742553412914, -0.5420382022857666, -0.07154738903045654, -0.1259223371744156, 0.05859002470970154, -0.42957112193107605, 0.5467173457145691, 0.5182254314422607, 0.03539925068616867, -0.36731424927711487, -0.720755934715271, 0.41260409355163574, 0.5658612847328186, -0.3336251676082611, 0.31115496158599854, 0.30607080459594727, 0.14828521013259888, 0.11493218690156937, 0.6038129329681396, -0.09468074887990952, 0.019957073032855988, -0.29106470942497253, 0.17750875651836395, 0.20731481909751892, -0.3051867187023163, -0.6562871336936951, 0.4366225600242615, -0.44923844933509827, -0.05803791061043739 ]
http://arxiv.org/abs/2404.07135v2
http://arxiv.org/pdf/2404.07135v2
Towards Robustness of Text-to-Visualization Translation against Lexical and Phrasal Variability
2024-04-10T16:12:50
2024-04-11T05:56:39
Jinwei Lu, Yuanfeng Song, Haodi Zhang, Chen Zhang, Raymond Chi-Wing Wong
cs.CL
cs.CL, cs.AI
Text-to-Vis is an emerging task in the natural language processing (NLP) area that aims to automatically generate data visualizations from natural language questions (NLQs). Despite their progress, existing text-to-vis models often heavily rely on lexical matching between words in the questions and tokens in data schemas. This overreliance on lexical matching may lead to a diminished level of model robustness against input variations. In this study, we thoroughly examine the robustness of current text-to-vis models, an area that has not previously been explored. In particular, we construct the first robustness dataset nvBench-Rob, which contains diverse lexical and phrasal variations based on the original text-to-vis benchmark nvBench. Then, we found that the performance of existing text-to-vis models on this new dataset dramatically drops, implying that these methods exhibit inadequate robustness overall. Finally, we propose a novel framework based on Retrieval-Augmented Generation (RAG) technique, named GRED, specifically designed to address input perturbations in these two variants. The framework consists of three parts: NLQ-Retrieval Generator, Visualization Query-Retrieval Retuner and Annotation-based Debugger, which are used to tackle the challenges posed by natural language variants, programming style differences and data schema variants, respectively. Extensive experimental evaluations show that, compared to the state-of-the-art model RGVisNet in the Text-to-Vis field, GRED performs better in terms of model robustness, with a 32% increase in accuracy on the proposed nvBench-Rob dataset.
[ -0.2551043629646301, -0.8944659233093262, 0.4199959337711334, -0.06487234681844711, -0.4964812695980072, -0.008042602799832821, -0.2021300047636032, -0.4456619620323181, 0.05333453044295311, 0.4451218545436859, -0.3164355158805847, -0.6917591691017151, -0.7574489116668701, 0.2294013500213623, -0.6159082055091858, 1.1828997135162354, -0.06857325881719589, -0.14336661994457245, -0.43978196382522583, -0.36342355608940125, -0.6412469744682312, -0.25519639253616333, -0.16731038689613342, 0.0102009829133749, 0.4391080141067505, 0.22182297706604004, 0.848117470741272, 0.7192955017089844, 0.858663022518158, 0.15664364397525787, -0.12897969782352448, 0.4066503047943115, -0.6704810857772827, 0.5475876927375793, -0.4225691556930542, -0.3652612566947937, -0.3108237683773041, -0.4127599000930786, 0.6570166349411011, 0.548133909702301, -0.09321200102567673, 0.15506692230701447, 0.36026427149772644, 0.6770782470703125, -0.5709063410758972, 0.14751984179019928, -0.8734500408172607, -0.2374582588672638, -0.33677154779434204, -0.32722410559654236, -0.48734867572784424, -0.14660541713237762, 0.36777451634407043, -0.7662969827651978, 0.15122151374816895, 0.13372476398944855, 1.1830919981002808, 0.5822070837020874, -0.3576223850250244, -0.19601716101169586, -0.5853241682052612, 0.7447666525840759, -0.7745772004127502, 0.5185531377792358, 0.26410436630249023, 0.44959354400634766, -0.19992469251155853, -0.8934145569801331, -0.36530113220214844, -0.13312873244285583, 0.04937879741191864, 0.19088327884674072, -0.24584290385246277, -0.11892244219779968, 0.01885155774652958, 0.43380433320999146, -0.6706179976463318, -0.08224573731422424, 0.06767071038484573, -0.12293168902397156, 0.33860787749290466, 0.1977996826171875, 0.46278223395347595, -0.4175533056259155, -0.6455660462379456, -0.5045902132987976, -0.35789668560028076, -0.07105400413274765, 0.10993735492229462, 0.6381773948669434, -0.21763552725315094, 0.7257608771324158, -0.02351708523929119, 0.9816443920135498, -0.10172684490680695, -0.27895230054855347, 0.24875615537166595, -0.544272780418396, -0.3227187395095825, -0.4410496950149536, 0.7580867409706116, 0.7002931237220764, 0.33361104130744934, -0.3563646078109741, -0.2757703363895416, -0.0109349200502038, 0.3929429054260254, -0.758533775806427, -0.2871289551258087, 0.0715218037366867, -0.33791711926460266, -0.5396227240562439, 0.09708691388368607, -1.0693763494491577, -0.5743861198425293, -0.049469880759716034, 0.5417327284812927, -0.540733277797699, -0.09275420010089874, 0.14967378973960876, -0.15326575934886932, 0.1913837343454361, 0.3889297544956207, -0.8536490201950073, 0.15685243904590607, 0.5457431077957153, 0.9359431266784668, -0.8074368834495544, -0.1815129518508911, -0.46341782808303833, 0.11896958202123642, -0.5037274956703186, 0.7429379224777222, -0.3429749310016632, -0.47200241684913635, -0.041483074426651, -0.1780347228050232, -0.18658313155174255, -0.46444422006607056, 0.4124187231063843, -0.4376268684864044, 0.21295537054538727, -0.353193998336792, -0.4995277225971222, -0.14323420822620392, 0.6246960163116455, -0.5882867574691772, 1.0545486211776733, 0.10588181763887405, -1.379500150680542, 0.5847993493080139, -0.27690425515174866, -0.2785363793373108, -0.053873881697654724, -0.4940166473388672, -0.6267586350440979, 0.06406684964895248, 0.4186376631259918, 0.2964700758457184, -0.5891830325126648, 0.4136875569820404, -0.15070763230323792, -0.24148550629615784, 0.044823046773672104, -0.6194287538528442, 0.4933924078941345, 0.09443686157464981, -0.16963866353034973, 0.18119575083255768, -0.9283014535903931, 0.011831018142402172, 0.31052544713020325, -0.4172033667564392, -0.40779992938041687, 0.22080644965171814, 0.22188349068164825, -0.01802176609635353, 0.1588762402534485, -0.26217320561408997, 0.16052569448947906, -0.6807134747505188, 0.1291593760251999, 0.5899978876113892, 0.15490064024925232, 0.5383033752441406, -0.27495846152305603, 0.7008295655250549, -0.06813444942235947, -0.058850862085819244, -0.2911064624786377, -0.6301520466804504, -0.46480366587638855, -0.3605867922306061, 0.30226969718933105, 0.8846784234046936, -1.2230008840560913, 0.05415189638733864, -0.582513153553009, -0.5466848015785217, -0.01672496274113655, -0.13966207206249237, 0.19322845339775085, 0.9854595065116882, 0.3926260471343994, -0.25055187940597534, -0.29240426421165466, -0.7598320841789246, -0.38998496532440186, -0.42190101742744446, -0.19388890266418457, 0.27453142404556274, 0.40016764402389526, -0.42401304841041565, 1.0359779596328735, -0.2866840660572052, -0.17650288343429565, -0.16570618748664856, 0.1987171471118927, 0.05784666910767555, 0.36029303073883057, 0.8236915469169617, -0.8134757280349731, -0.39021754264831543, 0.3166877031326294, -0.6304011940956116, -0.34085994958877563, -0.0876844972372055, -0.16229377686977386, 0.21481013298034668, 0.4976121187210083, -0.10652466118335724, 0.8626543879508972, 0.6161813139915466, -0.3841812014579773, 0.4622567594051361, -0.26498904824256897, 0.018505269661545753, -1.4404009580612183, 0.28999432921409607, -0.005237656179815531, -0.33339449763298035, -0.6086699366569519, 0.19766634702682495, 0.1048092320561409, -0.13099943101406097, -0.2923988997936249, 0.41475170850753784, -0.22798995673656464, -0.0022897745948284864, -0.2958810031414032, 0.20837333798408508, 0.27827897667884827, 0.26000070571899414, -0.29504960775375366, 0.8541401028633118, 0.7505382895469666, -0.6262217164039612, 0.28172674775123596, 0.4061224162578583, -0.23351094126701355, 0.6517232656478882, -0.8718481063842773, -0.06921395659446716, -0.3455278277397156, -0.0066957478411495686, -1.0566990375518799, -0.22035188972949982, 0.3748966157436371, -0.5993384122848511, 0.4066627323627472, -0.07365033030509949, -0.5114022493362427, 0.16433674097061157, -0.3649900257587433, 0.48598557710647583, 0.17578844726085663, -0.549875020980835, 0.8489419221878052, 0.18214280903339386, -0.11991207301616669, -0.6198440194129944, -0.8855708837509155, 0.31461837887763977, -0.2451368123292923, -0.8721667528152466, 0.34963560104370117, 0.08596103638410568, -0.18012002110481262, -0.15516798198223114, -0.20660318434238434, 0.025060953572392464, 0.059967041015625, 0.1932707279920578, 0.5946590304374695, -0.11520522832870483, 0.01700134016573429, -0.15658038854599, -0.05871661752462387, -0.1171613559126854, -0.21983084082603455, 0.3286593556404114, -0.06304318457841873, -0.4483698606491089, -0.104859858751297, 0.3043026030063629, 0.5016372799873352, -0.37861862778663635, 0.6219092607498169, 0.6261078119277954, -0.3618326485157013, -0.1462542712688446, -0.2180165946483612, 0.055327292531728745, -0.441873162984848, 0.5880946516990662, -0.1719914674758911, -0.6702993512153625, 0.6931257843971252, 0.07123173773288727, 0.2288103699684143, 0.4348047971725464, 0.5767237544059753, 0.04632867872714996, 0.8864913582801819, 0.9168730974197388, 0.08949435502290726, 0.5602977871894836, 0.016933254897594452, 0.16609083116054535, -0.5608677268028259, -0.19800728559494019, -0.431903213262558, -0.10112310945987701, -0.9038490056991577, -0.5359633564949036, 0.3925899565219879, -0.2502908408641815, 0.07774028927087784, 0.19154159724712372, -0.6328589916229248, 0.05451161041855812, 0.30495935678482056, -0.2891421616077423, 0.16009561717510223, 0.2606126666069031, -0.3356405794620514, -0.39484256505966187, -0.7861074209213257, -0.444597989320755, 0.9580117464065552, 0.295316606760025, 1.0081937313079834, 0.13171063363552094, 0.395212322473526, 0.10966512560844421, -0.20057018101215363, -0.6140140295028687, 0.4974529445171356, -0.2207619994878769, -0.3256213366985321, -0.27276909351348877, -0.5164655447006226, -1.0587486028671265, 0.39513441920280457, -0.5774482488632202, -0.927818238735199, 0.564417839050293, 0.18015240132808685, -0.0030900368001312017, 0.4388638734817505, -0.6860532760620117, 0.8535792231559753, -0.11314012855291367, -0.5721015930175781, 0.39599674940109253, -0.8491399884223938, -0.048205938190221786, -0.06354731321334839, 0.16864517331123352, 0.10864542424678802, -0.09476000815629959, 0.43095341324806213, -0.2912282645702362, 0.5720524787902832, 0.12824714183807373, -0.4849484860897064, 0.08841775357723236, 0.35018327832221985, 0.5947492122650146, 0.287565141916275, 0.08497966825962067, -0.00036651379195973277, 0.07810162752866745, -0.32537713646888733, -0.5808482766151428, 0.5247306227684021, -0.3401072025299072, -0.32067278027534485, -0.4940322935581207, -0.827736496925354, -0.2516316771507263, 0.2888243496417999, 0.6524357795715332, 0.6132742166519165, -0.11977949738502502, 0.19439354538917542, 0.7239504456520081, -0.5352801084518433, 0.22824284434318542, 0.0673259049654007, -0.7276121377944946, -0.38344302773475647, 1.1234346628189087, 0.056423161178827286, 0.49487197399139404, 0.4609740376472473, 0.1521175056695938, -0.12806656956672668, -0.6105767488479614, -0.6092492341995239, -0.09853610396385193, -0.8039862513542175, -0.19884146749973297, -0.29540911316871643, 0.010236331261694431, -0.31411078572273254, -0.04792726784944534, -0.42312324047088623, -0.14245791733264923, -0.3769482672214508, 0.09451517462730408, 0.38094478845596313, 0.6230325102806091, 0.11313685774803162, -0.05391768366098404, -0.4351733326911926, 0.5668277740478516, 0.23642313480377197, 0.46946972608566284, -0.2822735607624054, -0.639548659324646, -0.07332157343626022, -0.060982607305049896, 0.0027216633316129446, -1.0272090435028076, 0.3450412452220917, 0.19579088687896729, 0.25451651215553284, 0.23286519944667816, 0.013018721714615822, 0.45406374335289, -0.4327390491962433, 0.814826250076294, 0.010221507400274277, -0.5707916021347046, 0.6406113505363464, -0.5889967679977417, 0.365943044424057, 0.5967069268226624, -0.2483816146850586, -0.41533973813056946, -0.4841059148311615, -0.2535094618797302, -1.2973883152008057, 0.2669816315174103, 0.3245275020599365, 0.012573922984302044, 0.05560857430100441, 0.30707743763923645, 0.20004472136497498, 0.16181865334510803, -0.5932976603507996, -0.33448755741119385, -0.4548749029636383, -0.19474157691001892, 0.08814974874258041, -0.16632632911205292, 0.15907706320285797, -0.12674564123153687, 0.4725397825241089, -0.23535391688346863, 0.0667528510093689, 0.2679726779460907, -0.011199074797332287, 0.21307554841041565, 0.08470840007066727, 0.4591981768608093, 0.7146468758583069, -0.2362753003835678, 0.19100061058998108, 0.15485306084156036, -0.6880339980125427, -0.2743307054042816, 0.1585315614938736, -0.49146583676338196, 0.23624178767204285, 0.2373468279838562, 0.9681273698806763, 0.0012889810604974627, -0.7317292094230652, 0.6514838933944702, -0.2481534332036972, -0.15467719733715057, 0.16289393603801727, -0.19715505838394165, -0.23429006338119507, 0.056814372539520264, 0.26995211839675903, 0.30454832315444946, 0.17415592074394226, -0.18999171257019043, 0.1278167963027954, 0.5151110291481018, -0.3036169409751892, -0.06764999777078629, 1.0980234146118164, -0.15152670443058014, -0.11123603582382202, 0.1752958744764328, -0.07301642745733261, -0.25862476229667664, 0.28662413358688354, 0.5232388973236084, 0.6111440062522888, 0.20500677824020386, 0.19631339609622955, 0.14984051883220673, 0.40113765001296997, -0.0718473270535469, 0.22910350561141968, 0.13227152824401855, -0.3923065960407257, -0.49103087186813354, -0.1941261887550354, -0.41677042841911316, -0.16052497923374176, -0.9581384658813477, 0.39629343152046204, -0.1843908727169037, -0.3558642864227295, -0.30860331654548645, -0.44482046365737915, -0.49093136191368103, 0.32514044642448425, 0.10107160359621048, 0.7259675860404968, -0.6897563338279724, 0.6291894316673279, 0.8687353134155273, -0.26220110058784485, -0.6052645444869995, 0.32405903935432434, -0.3012101948261261, -0.5723733305931091, 0.09308173507452011, -0.10103437304496765, -0.24893498420715332, -0.19525893032550812, -0.6332539916038513, -0.9673378467559814, 1.0721899271011353, 0.6687840819358826, -0.27366355061531067, -0.07547633349895477, 0.2828422784805298, 0.5559954643249512, 0.10614405572414398, -0.25185856223106384, 0.40051454305648804, 0.37472015619277954, 0.05338573083281517, -0.897952675819397, -0.1005631610751152, -0.42389336228370667, 0.341650128364563, 0.21543678641319275, -0.2003142237663269, 0.8631046414375305, -0.11104882508516312, -0.44478705525398254, 0.023778779432177544, 0.7084851264953613, 0.2014627754688263, 0.2505480647087097, 0.3577598035335541, 0.44830989837646484, 0.7743310928344727, -0.17861956357955933, 1.2857446670532227, -0.2523373067378998, 0.3713023364543915, 1.0947901010513306, -0.05971290543675423, 0.6855644583702087, 0.8072137236595154, 0.1702488213777542, 0.23209500312805176, 0.17822158336639404, -0.19144536554813385, 0.6880905628204346, 0.16839700937271118, 0.25306737422943115, -0.0420050248503685, -0.047599658370018005, -0.45773839950561523, 0.3338581323623657, 0.1918513923883438, -0.23236185312271118, -0.39266419410705566, 0.005513916723430157, -0.21819575130939484, 0.5178622603416443, -0.009922964498400688, 0.575468897819519, -0.1309530884027481, -0.3700536787509918, 0.7060781717300415, 0.05926434323191643, 0.9461489319801331, -0.5570482015609741, 0.08637052029371262, -0.016874581575393677, -0.05510422959923744, -0.11661926656961441, -0.6601523160934448, 0.2989155650138855, 0.09685344994068146, -0.1668047308921814, -0.016581661999225616, 1.066693663597107, -0.2657383680343628, -0.6354967951774597, 0.1753518432378769, 0.7410392165184021, -0.1004902571439743, 0.13964851200580597, -0.4000016152858734, 0.1868986338376999, 0.08263471722602844, -0.22120724618434906, 0.30523526668548584, 0.5930819511413574, -0.10061950981616974, 0.8502936959266663, 0.2914344370365143, 0.061642348766326904, 0.2960321009159088, 0.10371071845293045, 0.7328284382820129, -0.3311563730239868, -0.4636375308036804, -0.9264799952507019, 0.498892217874527, 0.03929031640291214, -0.40080583095550537, 0.9152216911315918, 0.45544981956481934, 0.6875408887863159, 0.0888657420873642, 0.7417611479759216, -0.00901112426072359, 0.5628376007080078, -0.3586357831954956, 0.7190753221511841, -0.7633748650550842, 0.3339124023914337, -0.6480388045310974, -0.7460687756538391, -0.5394079089164734, 0.644703209400177, 0.05385274812579155, -0.05737040936946869, 0.4527866542339325, 0.5925738215446472, 0.008384431712329388, -0.19216474890708923, 0.2731935679912567, -0.07752059400081635, 0.47582393884658813, 0.2672296166419983, 0.43714088201522827, -0.4808686077594757, 0.7148536443710327, -0.03686174750328064, 0.0385759100317955, -0.18308842182159424, -1.147693395614624, -0.8201990723609924, -0.7468208074569702, -0.3000399172306061, -0.4569045305252075, 0.05781244859099388, 0.5386077761650085, 0.27201929688453674, -0.5950355529785156, 0.059012047946453094, -0.25249984860420227, -0.026816336438059807, -0.1150631457567215, -0.19556336104869843, 0.42889082431793213, -0.23986536264419556, -0.5862677097320557, 0.356829971075058, 0.3197568356990814, 0.3652782142162323, -0.17333149909973145, 0.1849697381258011, 0.018146483227610588, 0.2022165060043335, 0.4415352940559387, 0.14803802967071533, -0.5082200169563293, -0.41418886184692383, 0.26930949091911316, -0.19690605998039246, 0.28565993905067444, 0.32397887110710144, -0.751882791519165, 0.7227603197097778, 0.7266538739204407, 1.0079264640808105, 0.2704298496246338, 0.12819436192512512, 0.6791278719902039, -0.9600552916526794, 0.1653064787387848, 0.18016700446605682, 0.26540642976760864, 0.5774187445640564, -0.07155222445726395, 0.4745618999004364, 0.010032432153820992, -0.5616562962532043, -1.0650737285614014, 0.2921920120716095, -1.1150861978530884, -0.06620275229215622, 1.3008499145507812, 0.11647188663482666, -0.24642342329025269, 0.0019394075497984886, -0.4700284004211426, 0.3769042193889618, -0.12940055131912231, 0.7105188369750977, 0.7259776592254639, 0.24419695138931274, 0.17707911133766174, -0.7786031365394592, 0.3075478672981262, 0.5711082220077515, -0.6516666412353516, 0.06557286530733109, 0.32566672563552856, 0.19099725782871246, 0.15701085329055786, 0.16952933371067047, -0.13519228994846344, 0.16650637984275818, -0.10844700038433075, -0.10205279290676117, -0.00048578623682260513, -0.17810681462287903, -0.1945841759443283, 0.09948419779539108, 0.18590056896209717, -0.3872012197971344 ]
http://arxiv.org/abs/2404.08698v1
http://arxiv.org/pdf/2404.08698v1
Lossless Acceleration of Large Language Model via Adaptive N-gram Parallel Decoding
2024-04-10T16:11:09
2024-04-10T16:11:09
Jie Ou, Yueming Chen, Wenhong Tian
cs.CL
cs.CL, cs.LG
While Large Language Models (LLMs) have shown remarkable abilities, they are hindered by significant resource consumption and considerable latency due to autoregressive processing. In this study, we introduce Adaptive N-gram Parallel Decoding (ANPD), an innovative and lossless approach that accelerates inference by allowing the simultaneous generation of multiple tokens. ANPD incorporates a two-stage approach: it begins with a rapid drafting phase that employs an N-gram module, which adapts based on the current interactive context, followed by a verification phase, during which the original LLM assesses and confirms the proposed tokens. Consequently, ANPD preserves the integrity of the LLM's original output while enhancing processing speed. We further leverage a multi-level architecture for the N-gram module to enhance the precision of the initial draft, consequently reducing inference latency. ANPD eliminates the need for retraining or extra GPU memory, making it an efficient and plug-and-play enhancement. In our experiments, models such as LLaMA and its fine-tuned variants have shown speed improvements up to 3.67x, validating the effectiveness of our proposed ANPD.
[ -0.15351594984531403, -0.7488744258880615, 0.38330039381980896, 0.624879002571106, -0.3846818208694458, 0.38441359996795654, -0.2508573532104492, -0.3633743226528168, 0.09474921971559525, 0.3330781161785126, -0.26275867223739624, -0.38510841131210327, -0.9265384078025818, 0.211748868227005, -0.36317721009254456, 0.38270851969718933, -0.08839953690767288, 0.11450011283159256, 0.03414274379611015, -0.32763320207595825, -0.3664763569831848, -0.25927653908729553, -1.0960160493850708, -0.1651204377412796, 0.1923760622739792, 0.543110191822052, 0.5843623280525208, 1.1367735862731934, 0.24925343692302704, 0.2956332564353943, -0.2858330011367798, 0.3001090884208679, -0.3346991539001465, 0.05971476808190346, 0.13142740726470947, -0.4633430242538452, -0.8613843321800232, -0.5355623364448547, 0.9780067205429077, 0.5448791980743408, -0.33590060472488403, 0.10043076425790787, 0.04312995448708534, 0.7924842834472656, -0.7919279932975769, 0.29328495264053345, -0.7109838724136353, -0.1429980993270874, -0.14522869884967804, -0.31319916248321533, -0.5014734268188477, -0.2461279183626175, -0.18223832547664642, -0.6948453783988953, 0.18344052135944366, 0.13987381756305695, 0.35447508096694946, 0.20368905365467072, -0.16923405230045319, -0.2852626442909241, -0.5591049790382385, 0.5721035003662109, -1.0263442993164062, 0.40578797459602356, 0.10939814150333405, 0.2727881371974945, -0.4116443693637848, -0.6314460635185242, -0.7064979076385498, -0.17300495505332947, 0.2876955568790436, -0.1777733713388443, -0.30275028944015503, 0.1183968260884285, 0.3187828063964844, 0.28688111901283264, -0.5478184819221497, 0.5473219752311707, 0.01443979050964117, -0.14390593767166138, 0.43984508514404297, 0.3527148962020874, 0.287649542093277, 0.07704000920057297, -0.20392833650112152, -0.029865961521863937, -0.56671541929245, -0.22755174338817596, 0.4048421084880829, 0.2686641216278076, -0.42391571402549744, 0.3097659945487976, -0.4548088610172272, 0.6890615224838257, 0.04370226338505745, -0.1191045343875885, 0.4084472358226776, -0.3344918489456177, -0.1331307291984558, 0.1818424016237259, 0.6999247074127197, 0.2874526381492615, 0.29932186007499695, -0.12493611127138138, -0.11961916834115982, 0.14147982001304626, 0.07279744744300842, -1.06571626663208, -0.09439259022474289, 0.25026610493659973, -0.5466639399528503, -0.10498695820569992, -0.464967280626297, -1.100719928741455, -0.49562665820121765, -0.04696819186210632, 0.2628959119319916, -0.2527530789375305, -0.3842359185218811, 0.6567383408546448, -0.014406442642211914, 0.08510156720876694, 0.5124161839485168, -1.1380677223205566, 0.5080134868621826, 0.5511341691017151, 1.1261134147644043, -0.24655121564865112, -0.4797903895378113, -0.7999081611633301, 0.26694735884666443, -0.3976326286792755, 0.907435953617096, -0.7257050275802612, -0.32228419184684753, -0.08000224083662033, -0.14465849101543427, -0.012510739266872406, -0.4758715033531189, 0.6390012502670288, -0.5207475423812866, -0.14841443300247192, -0.15987235307693481, -0.4627746641635895, -0.2265707403421402, 0.18662047386169434, -0.4831269383430481, 0.9002513885498047, -0.33192309737205505, -0.949932873249054, 0.2691146433353424, -0.7277862429618835, -0.5145038366317749, -0.06466581672430038, 0.06996475160121918, -0.260348379611969, 0.51478111743927, 0.7081281542778015, 0.29946351051330566, -0.49209097027778625, 0.06055322289466858, -0.48535147309303284, -0.5447201132774353, -0.3027753531932831, -0.6210057735443115, 0.6488633751869202, -0.07920128107070923, -0.2110769897699356, 0.286381334066391, -1.2580602169036865, -0.22693583369255066, 0.20143817365169525, -0.5811991691589355, -0.036293819546699524, 0.23585562407970428, -0.13725203275680542, -0.021356267854571342, 0.19869962334632874, -0.8345829844474792, 0.4042883813381195, -0.3041480481624603, 0.45540860295295715, 0.8653669357299805, -0.14648087322711945, 0.5287098288536072, -0.17291933298110962, 0.49321720004081726, -0.09129556268453598, 0.04155204817652702, -0.24052409827709198, -0.46110624074935913, -0.8289171457290649, -0.3180537223815918, 0.36695396900177, 0.41120919585227966, -0.8017733097076416, 0.1343686431646347, -0.480485737323761, -0.3832370936870575, -0.5200110077857971, 0.12529201805591583, 0.13706906139850616, 0.5375382900238037, 0.40583476424217224, -0.6224222779273987, -0.4883577227592468, -0.5432724952697754, -0.28138643503189087, -0.3548777997493744, -0.12952056527137756, 0.1254412978887558, 0.056278567761182785, -0.029638746753335, 0.44487422704696655, -0.43448886275291443, -0.1501753032207489, -0.3298582434654236, 0.3983078896999359, 0.19838404655456543, 0.4520874619483948, 0.47700828313827515, -0.32675230503082275, -0.5246051549911499, 0.08030620217323303, -0.59694504737854, -0.4565247595310211, -0.10062076151371002, -0.1279163360595703, 0.21553866565227509, 0.6059829592704773, -0.5000395774841309, 0.24340295791625977, 0.8164510726928711, -0.30796921253204346, 0.5966513752937317, -0.7032240033149719, -0.07513689994812012, -0.8048620223999023, -0.031413353979587555, -0.3794921934604645, -0.19945083558559418, -0.7701958417892456, 0.0010486538521945477, 0.4297963082790375, 0.07475943118333817, -0.1532127559185028, 0.6838482618331909, -0.615198016166687, -0.319612592458725, -0.9692086577415466, -0.05494507774710655, 0.11564461141824722, 0.36522531509399414, -0.01925237663090229, 0.9352064728736877, 1.009431004524231, -0.7020254731178284, 0.13223862648010254, 0.14145632088184357, -0.2636539340019226, 0.16869592666625977, -0.43896692991256714, 0.158641517162323, -0.47223740816116333, 0.42111048102378845, -0.9165128469467163, -0.08299394696950912, 0.13098889589309692, -0.4366822838783264, 0.29134654998779297, -0.11291602998971939, -0.7399831414222717, -0.13535337150096893, -0.16231206059455872, 0.5604267120361328, 0.39863258600234985, -0.7474367618560791, 0.9173393845558167, 0.2065839022397995, -0.3253399431705475, -0.5089305639266968, -0.6891039609909058, 0.44749775528907776, -0.03752010315656662, -0.43715307116508484, 0.3020007312297821, -0.03182150796055794, 0.22147201001644135, 0.05604238063097, -0.14268147945404053, -0.051150862127542496, 0.1617995649576187, -0.02321215718984604, 0.016300471499562263, -0.33607161045074463, 0.12818452715873718, 0.077772356569767, -0.2373223453760147, -0.021520668640732765, -0.39081916213035583, 0.7925679683685303, 0.24490800499916077, -0.1340363472700119, -0.7143701314926147, 0.39495113492012024, 0.8059268593788147, -0.4416925311088562, 0.796380877494812, 0.678333580493927, -0.3465481102466583, -0.2973144054412842, -0.6225672960281372, 0.27394434809684753, -0.4815017580986023, 0.40473806858062744, -0.22551649808883667, -0.8301542401313782, 0.7115731835365295, -0.08338543027639389, 0.053815506398677826, 0.2147553414106369, 0.7824962735176086, 0.580636203289032, 1.0428465604782104, 0.738222599029541, -0.30887457728385925, 0.6461613774299622, 0.17330418527126312, 0.11932528018951416, -0.9005235433578491, -0.14183001220226288, -0.5753599405288696, -0.1399955451488495, -0.40158653259277344, -0.7272393107414246, 0.11018966883420944, 0.24075500667095184, -0.13177677989006042, 0.174209326505661, -0.05790958181023598, 0.340461403131485, 0.3709268867969513, -0.08195579051971436, 0.5834789276123047, 0.06333903968334198, -0.10135868936777115, 0.4241868555545807, -0.798991322517395, -0.31855249404907227, 1.2253127098083496, 0.45765310525894165, 0.8555709719657898, 0.19785001873970032, 0.3994709849357605, 0.1784103512763977, 0.22659507393836975, -0.6746642589569092, 0.6250606179237366, -0.3599875569343567, -0.1489814966917038, -0.10443092882633209, -0.6087662577629089, -0.5508674383163452, 0.46083661913871765, -0.2608848810195923, -0.7303447127342224, 0.30144059658050537, 0.34691593050956726, -0.2391577512025833, 0.45770055055618286, -0.7559643387794495, 0.6027427911758423, -0.07493532449007034, -0.407645046710968, -0.49579286575317383, -0.05590684711933136, 0.37124890089035034, -0.2570449411869049, 0.1609640121459961, -0.41940411925315857, -0.2834756374359131, 0.5328068733215332, -0.1675547957420349, 0.5664830207824707, -0.4476546049118042, -0.15640076994895935, 0.0578889362514019, 0.05012446641921997, 0.7201399207115173, 0.11080268025398254, -0.5367569327354431, 0.1983785480260849, -0.46903881430625916, -0.6617879271507263, -0.6205818057060242, 0.6484968066215515, -0.3644806444644928, -0.6515001058578491, -0.11041995882987976, -0.8948251605033875, -0.2772211730480194, 0.3626203238964081, -0.22457487881183624, 0.5118411183357239, 0.19635282456874847, -0.03738359734416008, 0.2097851186990738, -0.5270261168479919, 0.7832058668136597, 0.6425396800041199, -0.06828878819942474, -0.44948238134384155, 0.6955528259277344, -0.0394883006811142, 0.5346598625183105, 0.38569381833076477, 0.3256088197231293, -0.47037506103515625, -1.2865915298461914, -0.7876620888710022, 0.1674795150756836, -0.5664004683494568, -0.1985144317150116, -0.8560498952865601, 0.21171313524246216, -0.5337724685668945, 0.18447355926036835, -0.47808846831321716, -0.40114814043045044, -0.15088044106960297, 0.04315076768398285, 0.28896594047546387, 0.5969462990760803, -0.15038242936134338, 0.45423388481140137, -0.8213019371032715, 0.5635057091712952, 0.08201172202825546, 0.5653040409088135, 0.44324102997779846, -0.7178501486778259, -0.13811354339122772, -0.31448957324028015, -0.0987565740942955, -0.5712239146232605, 0.3799721598625183, 0.41824448108673096, 0.3873053193092346, 0.3944569230079651, 0.04284631088376045, 1.0079305171966553, -0.8376121520996094, 0.3997557461261749, 0.03707486763596535, -1.0728998184204102, -0.00950143113732338, -0.13482263684272766, 0.6015037298202515, 0.27608922123908997, 0.04902796074748039, -0.3896406292915344, -0.3278261721134186, -0.05304411053657532, -0.7424106597900391, 0.7430490851402283, -0.003929470665752888, 0.30663934350013733, 0.007202059030532837, 0.36860421299934387, 0.051423121243715286, 0.05321458354592323, -0.4850563406944275, -0.02030842937529087, -0.05772089958190918, -0.133992537856102, -0.12764815986156464, -0.6217676997184753, 0.2792171239852905, -0.004397126846015453, 0.5378299951553345, -0.32447993755340576, 0.2513616681098938, 0.11856728047132492, -0.045011937618255615, -0.18372012674808502, 0.24823231995105743, 0.5729905366897583, 0.6868542432785034, -0.1886564940214157, 0.15029242634773254, 0.3159146010875702, -0.5157128572463989, 0.25287121534347534, 0.22784414887428284, 0.0012584950309246778, -0.10234776884317398, 0.5318217873573303, 1.1634140014648438, 0.04887723550200462, -0.6928265690803528, 0.46682751178741455, -0.48220351338386536, -0.17378120124340057, 0.24740999937057495, -0.1421184092760086, 0.1310405284166336, 0.32186099886894226, 0.37237662076950073, -0.03414011001586914, 0.06664971262216568, -0.27238979935646057, 0.1304464340209961, 0.24968449771404266, 0.20970574021339417, -0.296923965215683, 0.8410245776176453, 0.05852961912751198, -0.20933225750923157, 0.4855749011039734, -0.3742665946483612, -0.3289373517036438, 0.39736053347587585, 0.84125155210495, 0.9439371824264526, -0.27196672558784485, 0.07685848325490952, 0.4410001337528229, 0.27745309472084045, -0.3289323151111603, 0.3267097771167755, 0.006954267155379057, -0.8032915592193604, -0.811183750629425, -1.116217017173767, -0.34418123960494995, -0.012549852952361107, -0.6105825901031494, 0.03626783564686775, -0.7628346681594849, 0.26124709844589233, -0.13520918786525726, -0.22107486426830292, -0.31057798862457275, -0.025906812399625778, 0.18911589682102203, 1.4071292877197266, -0.8599978089332581, 1.1239433288574219, 0.30295220017433167, 0.27415457367897034, -0.6030992269515991, 0.45696306228637695, -0.20755714178085327, -0.974711537361145, 0.389486163854599, 0.3120570480823517, -0.07466797530651093, 0.21106351912021637, 0.17992912232875824, -1.0123305320739746, 0.8391751646995544, 0.7904182076454163, -0.6285921335220337, -0.13072702288627625, 0.013884354382753372, 0.5283964276313782, -0.3832988739013672, 0.17376042902469635, 0.5779677629470825, 0.24723148345947266, 0.15093369781970978, -0.8905302882194519, 0.23558390140533447, -0.12282615900039673, 0.20304787158966064, 0.18451601266860962, -0.48841235041618347, 0.9281907081604004, -0.21401850879192352, -0.3963950276374817, 0.30112722516059875, 0.7539888620376587, 0.19529619812965393, -0.03992404788732529, 0.5723171830177307, 0.7278879284858704, 0.6665650606155396, 0.2695140540599823, 1.1251533031463623, -0.5085164904594421, 0.12145604193210602, 1.1219600439071655, -0.2423429787158966, 1.0697941780090332, 0.33327430486679077, 0.05379355326294899, 0.46443721652030945, 0.33556461334228516, 0.22346536815166473, 0.41600900888442993, 0.2912241220474243, -0.520944356918335, -0.2813815772533417, -0.1840979903936386, -0.3511638641357422, 0.7458112835884094, 0.315073698759079, -0.108201764523983, -0.5274263024330139, -0.010302589274942875, -0.21157950162887573, 0.049885351210832596, -0.6192470192909241, 0.5690589547157288, -0.18250423669815063, -0.42388567328453064, 0.7096192240715027, 0.40894559025764465, 0.6362945437431335, -0.4638798236846924, -0.03590799495577812, -0.2945879399776459, 0.21130290627479553, -0.050329238176345825, -0.3331472873687744, 0.245883509516716, 0.2099113017320633, -0.025418896228075027, -0.21223415434360504, 0.6078693270683289, -0.32506296038627625, -0.7084642052650452, 0.6311705112457275, 0.22519248723983765, -0.08738436549901962, -0.042397789657115936, -0.5579748153686523, 0.4778805077075958, -0.2670586407184601, -0.10757646709680557, 0.3240460157394409, 0.48903778195381165, 0.013832759112119675, 0.7317418456077576, 0.6910315155982971, 0.40697023272514343, 0.5447920560836792, 0.1984652429819107, 0.9734784364700317, -0.45863428711891174, -0.6090902090072632, -0.9357135891914368, 0.17928732931613922, 0.10847202688455582, -0.05912614241242409, 0.7971102595329285, 0.46223530173301697, 0.8408305048942566, 0.048456884920597076, 0.5947780609130859, 0.15049304068088531, 0.27802377939224243, -0.7894589304924011, 0.4283359944820404, -0.5500270128250122, 0.34653887152671814, -0.15934821963310242, -0.8520499467849731, -0.6079434156417847, 0.2639129161834717, -0.11535321921110153, -0.22454984486103058, 0.4715445041656494, 0.9181273579597473, -0.11985006183385849, -0.056091465055942535, 0.22139713168144226, 0.4522456228733063, 0.41953927278518677, 0.6310840249061584, 0.4240598678588867, -0.35027801990509033, 0.5543117523193359, -0.030417127534747124, -0.3566402196884155, 0.07162007689476013, -1.1891587972640991, -0.7534716129302979, 0.13338986039161682, -0.10005135089159012, -0.13589443266391754, 0.17998726665973663, 0.6504806876182556, 0.4694713056087494, -0.7237293124198914, -0.4441114068031311, -0.5760641694068909, -0.024027014151215553, -0.06323960423469543, -0.09600190818309784, 0.5009428262710571, -0.5189900398254395, -1.035180926322937, 0.7267088294029236, 0.6472764015197754, -0.09153489023447037, -0.09069973230361938, -0.20316152274608612, -0.20193079113960266, 0.005896999966353178, 0.4925362467765808, 0.2893557548522949, -0.5861005187034607, -0.38194674253463745, -0.40785709023475647, 0.30533507466316223, 0.23678608238697052, 0.7421984672546387, -0.6331883072853088, 0.7182306051254272, 0.6930235028266907, 1.1252402067184448, 0.4655247926712036, 0.039487097412347794, 0.7316634654998779, -0.48118552565574646, 0.3829784095287323, -0.08603186160326004, 0.3324536681175232, 0.37943029403686523, -0.2000223994255066, -0.022668717429041862, 0.24659812450408936, -0.323476105928421, -1.001538872718811, 0.2293986976146698, -0.7923864722251892, -0.1634509414434433, 0.9470590949058533, -0.2970615029335022, -0.24958500266075134, 0.08087389171123505, -0.07692081481218338, 0.26608285307884216, -0.3797042667865753, 0.7148513793945312, 0.544005811214447, -0.07817727327346802, -0.3639342486858368, -0.5239768028259277, 0.24403727054595947, 0.6033401489257812, -0.8030629754066467, 0.5398261547088623, 0.23229621350765228, 0.26254841685295105, -0.1968585103750229, 0.8569739460945129, -0.1266157329082489, 0.20234689116477966, 0.29256993532180786, 0.00021015257516410202, -0.27721288800239563, -0.5214667916297913, -0.7827833294868469, 0.35049086809158325, 0.33866792917251587, -0.4632745385169983 ]
http://arxiv.org/abs/2404.07117v1
http://arxiv.org/pdf/2404.07117v1
Continuous Language Model Interpolation for Dynamic and Controllable Text Generation
2024-04-10T15:55:07
2024-04-10T15:55:07
Sara Kangaslahti, David Alvarez-Melis
cs.CL
cs.CL, cs.LG
As large language models (LLMs) have gained popularity for a variety of use cases, making them adaptable and controllable has become increasingly important, especially for user-facing applications. While the existing literature on LLM adaptation primarily focuses on finding a model (or models) that optimizes a single predefined objective, here we focus on the challenging case where the model must dynamically adapt to diverse -- and often changing -- user preferences. For this, we leverage adaptation methods based on linear weight interpolation, casting them as continuous multi-domain interpolators that produce models with specific prescribed generation characteristics on-the-fly. Specifically, we use low-rank updates to fine-tune a base model to various different domains, yielding a set of anchor models with distinct generation profiles. Then, we use the weight updates of these anchor models to parametrize the entire (infinite) class of models contained within their convex hull. We empirically show that varying the interpolation weights yields predictable and consistent change in the model outputs with respect to all of the controlled attributes. We find that there is little entanglement between most attributes and identify and discuss the pairs of attributes for which this is not the case. Our results suggest that linearly interpolating between the weights of fine-tuned models facilitates predictable, fine-grained control of model outputs with respect to multiple stylistic characteristics simultaneously.
[ -0.19154396653175354, -0.8123306632041931, 0.6285873055458069, 0.5723366141319275, -0.12739600241184235, 0.42051708698272705, -0.5484941601753235, -0.37736546993255615, -0.1229967325925827, 0.5361772179603577, -0.5907569527626038, -0.45607733726501465, -0.5891591906547546, 0.04637531191110611, -0.35732942819595337, 0.9736795425415039, -0.17571642994880676, -0.1471269279718399, -0.2896324098110199, -0.1309189647436142, -0.30211684107780457, -0.5372777581214905, -0.6178726553916931, -0.3928646743297577, 0.657593309879303, 0.43391886353492737, 0.7883391380310059, 0.5016292929649353, 0.2741343677043915, 0.1730932593345642, -0.08107207715511322, 0.3330489993095398, -0.6279541850090027, 0.27460137009620667, -0.28311046957969666, -0.3274524509906769, -0.323921799659729, -0.017016008496284485, 0.8081990480422974, 0.48524561524391174, -0.02613365650177002, 0.15247409045696259, 0.5391619801521301, 0.5880647897720337, -0.32346677780151367, -0.028303224593400955, -1.1349339485168457, -0.2287939041852951, -0.14923390746116638, -0.6142483353614807, -0.6520135998725891, -0.4231194257736206, -0.023220641538500786, -0.5605120658874512, -0.008081626147031784, 0.016719257459044456, 0.9446710348129272, 0.2360977828502655, -0.4351177215576172, -0.6235748529434204, -1.0418486595153809, 0.9400586485862732, -0.9315640926361084, 0.22868067026138306, 0.09353581815958023, 0.09729119390249252, -0.3679659962654114, -0.6611795425415039, -0.39189413189888, -0.6130819916725159, 0.20175707340240479, 0.11147947609424591, -0.03517554700374603, 0.08562665432691574, 0.08361666649580002, -0.012786728329956532, -0.12448087334632874, 0.4257493317127228, -0.05938602238893509, 0.21405145525932312, 0.6607180237770081, 0.12688440084457397, 0.35825997591018677, 0.1513068675994873, -0.34046196937561035, -0.007154365535825491, -0.7765838503837585, 0.16978389024734497, 0.7231317162513733, 0.48156875371932983, -0.3153100609779358, 0.5047750473022461, -0.12553438544273376, 0.6649774312973022, 0.35080787539482117, -0.31810733675956726, -0.16230662167072296, -0.24309605360031128, 0.21826766431331635, -0.05754450708627701, 0.562960147857666, 0.27340421080589294, 0.6150938868522644, 0.05752146244049072, -0.25284144282341003, -0.2641693353652954, 0.3633624315261841, -0.7410727739334106, -0.2178107053041458, 0.1330965906381607, -0.36973336338996887, -0.39080139994621277, -0.08613134175539017, -0.6779751777648926, -0.3587009906768799, -0.48645633459091187, 0.40224921703338623, -0.18872611224651337, 0.055790018290281296, 0.16581963002681732, 0.2654241919517517, 0.0509350448846817, 0.4723895490169525, -1.1623766422271729, 0.40716809034347534, 0.3186756372451782, 0.8527826070785522, -0.5385749936103821, -0.10607758909463882, -0.5850415229797363, 0.2186882048845291, -0.3563228249549866, 0.4721050560474396, -0.6508275866508484, -0.06393488496541977, 0.14753511548042297, -0.17305351793766022, 0.015346689149737358, -0.42825931310653687, 0.1331394761800766, -0.5678678154945374, 0.006550540216267109, 0.07309778034687042, -0.36289164423942566, 0.1988482028245926, 0.13399189710617065, -0.4902915954589844, 0.9484000205993652, 0.14692559838294983, -0.57471764087677, 0.3303244709968567, -0.27014049887657166, -0.23820926249027252, -0.01157232467085123, -0.14172151684761047, -0.7029474377632141, 0.3483019769191742, -0.017071697860956192, 0.5454323291778564, -0.3508376181125641, 0.25400441884994507, -0.4820135533809662, -0.06622817367315292, 0.5264057517051697, -0.40739360451698303, 0.15141795575618744, 0.11102265864610672, -0.14529570937156677, 0.31180036067962646, -0.9942693710327148, 0.10296953469514847, 0.04781376197934151, -0.8371660113334656, -0.26825982332229614, 0.5441688299179077, 0.2816837430000305, 0.16620545089244843, 0.32449913024902344, -0.278107613325119, 0.34206369519233704, 0.019325120374560356, 0.4073483943939209, 0.8251174092292786, 0.15415853261947632, 0.42714163661003113, -0.48328351974487305, 0.5817381739616394, -0.04536475986242294, -0.02363794855773449, -0.07274852693080902, -0.3207971453666687, -0.8945729732513428, -0.255658894777298, 0.3548654615879059, 0.3411104679107666, -0.7369321584701538, 0.2263765186071396, -0.24147789180278778, -0.5031229853630066, -0.26453980803489685, 0.1797269880771637, 0.286029577255249, 0.24437522888183594, 0.2841428220272064, -0.13972525298595428, -0.14085619151592255, -0.648777961730957, -0.592654287815094, 0.054401397705078125, -0.08697634935379028, 0.27137893438339233, 0.24238480627536774, 0.09835181385278702, 0.8624743223190308, -0.4881342053413391, -0.09652583301067352, -0.35528191924095154, 0.2715429365634918, 0.2643137574195862, 0.6094787120819092, 0.7496374845504761, -0.8176971077919006, -0.8909134268760681, 0.08955812454223633, -0.41471919417381287, -0.40891262888908386, -0.733364999294281, -0.024966584518551826, 0.020458009093999863, 0.74139404296875, -0.1405913531780243, 0.16791808605194092, 0.9709792137145996, -0.13094967603683472, 0.6045160293579102, -0.47395119071006775, -0.19030559062957764, -1.0590511560440063, -0.153547465801239, 0.1103862076997757, -0.43378496170043945, -0.6830308437347412, 0.08810357004404068, 0.04801030829548836, 0.07910726964473724, -0.26981407403945923, 0.6085608601570129, -0.4989154636859894, -0.018605129793286324, -0.3447173237800598, 0.013381454162299633, 0.04934746026992798, 0.5368826389312744, -0.06608957052230835, 0.7605885863304138, 0.31324437260627747, -0.7148212194442749, 0.11785529553890228, 0.0007968885474838316, -0.4580425024032593, 0.32998567819595337, -0.568621039390564, 0.1409091204404831, -0.21277152001857758, 0.06751490384340286, -0.9493834972381592, -0.30804362893104553, -0.04227933660149574, -0.15932409465312958, 0.18500632047653198, -0.14858417212963104, -0.4696134626865387, 0.04778396338224411, -0.12213332206010818, 0.19303792715072632, 0.36529600620269775, -0.42128896713256836, 0.6575325727462769, 0.15776605904102325, -0.5367420315742493, -0.050220564007759094, -0.4832126200199127, -0.0034269767347723246, -0.2711259126663208, -0.2422368824481964, 0.6952285766601562, -0.6018216013908386, -0.2960350215435028, -0.14963924884796143, 0.06144699826836586, 0.01378739345818758, 0.23500002920627594, 0.12617497146129608, 0.1075863316655159, -0.14119791984558105, 0.09712321311235428, 0.5107458233833313, 0.06473661214113235, -0.332327663898468, -0.40115365386009216, 0.6842166781425476, 0.16038274765014648, -0.3234461545944214, -0.16089507937431335, 0.26153993606567383, 0.6371795535087585, -0.16855093836784363, 0.7184833884239197, 0.24263118207454681, -0.3109075725078583, -0.6722095608711243, -0.3368690311908722, 0.05822450667619705, -0.5285776257514954, 0.5024200081825256, -0.6407010555267334, -0.8873801827430725, 0.44677719473838806, -0.22397178411483765, 0.2565361261367798, 0.14215001463890076, 0.8791174292564392, -0.1503112018108368, 1.0870270729064941, 1.067294716835022, 0.34007635712623596, 0.729483962059021, 0.2553516924381256, 0.027347570285201073, -0.6868568062782288, 0.020537955686450005, -0.4109249413013458, -0.45480403304100037, -0.8600091338157654, -0.16009224951267242, 0.5470170378684998, 0.36855992674827576, -0.07241281121969223, 0.2245457023382187, -0.36262446641921997, 0.31045329570770264, 0.4983189105987549, 0.20323483645915985, 0.3515302836894989, 0.1476738452911377, -0.13576723635196686, -0.2187950164079666, -0.5492092967033386, -0.5545055270195007, 0.8397982120513916, 0.3668985962867737, 1.1452594995498657, 0.1685812920331955, 0.42116081714630127, 0.5349867939949036, 0.36173784732818604, -0.6329882740974426, 0.34756916761398315, -0.5142826437950134, -0.18975941836833954, -0.1984473317861557, -0.3526214361190796, -0.7129673957824707, 0.05689411982893944, -0.5319320559501648, -0.8024317622184753, 0.1939707100391388, 0.4079526960849762, -0.32021111249923706, 0.1944374293088913, -0.33581891655921936, 0.38344696164131165, -0.30480635166168213, -0.42524653673171997, -0.15844225883483887, -0.22922568023204803, 0.1796727478504181, -0.6880598664283752, 0.17369399964809418, -0.43272751569747925, -0.0528627410531044, 0.28681880235671997, -0.16706489026546478, 0.8159375786781311, 0.13581103086471558, -0.15381106734275818, 0.15035408735275269, 0.2686648368835449, 0.6872159838676453, 0.022994238883256912, -0.31894025206565857, -0.06482642889022827, -0.08135653287172318, -0.26981693506240845, -0.4116764962673187, 0.6711121797561646, -0.8021660447120667, -0.5135530829429626, -0.09842666983604431, -0.8787135481834412, -0.34994587302207947, 0.23142366111278534, 0.2500022351741791, 0.5202420353889465, -0.07186049968004227, 0.30300500988960266, 0.513563334941864, -0.5520365238189697, 0.4255313575267792, 0.2831273078918457, -0.38888776302337646, -0.2246105819940567, 0.8539975881576538, 0.19837883114814758, 0.8165388703346252, 0.5491724014282227, 0.20996853709220886, -0.034249767661094666, -0.7248789668083191, -0.4418712556362152, 0.22949853539466858, -0.6922377943992615, -0.04471420496702194, -0.48329585790634155, -0.42879265546798706, -0.10910191386938095, -0.5561612248420715, -0.28958526253700256, -0.3526468873023987, -0.643754780292511, 0.15298539400100708, 0.40626174211502075, 0.8302285075187683, 0.24362945556640625, 0.7694007754325867, -0.5795005559921265, 0.43609124422073364, 0.29211753606796265, 0.22229620814323425, -0.21521306037902832, -0.7214728593826294, -0.28143301606178284, -0.08291437476873398, -0.31319954991340637, -0.7073719501495361, 0.5401387810707092, 0.583464503288269, 0.29751089215278625, 0.13755308091640472, 0.04345066100358963, 0.45683807134628296, -0.6635671257972717, 0.6129067540168762, 0.20363843441009521, -0.9619308114051819, 0.20442864298820496, -0.5380289554595947, 0.4495757818222046, 0.30608701705932617, 0.2999626100063324, -0.48540830612182617, -0.5695523023605347, -0.12577085196971893, -0.842810869216919, 0.5637273192405701, -0.027560420334339142, 0.5504488945007324, 0.3796783983707428, 0.6463915705680847, 0.1800210028886795, 0.3114543557167053, -1.0075291395187378, 0.14388270676136017, -0.014956222847104073, -0.5733550190925598, 0.10248281061649323, -0.38364744186401367, -0.004182456526905298, 0.05496697872877121, 0.6636020541191101, -0.5831637382507324, -0.07885261625051498, -0.20733843743801117, -0.12390512973070145, -0.20125068724155426, 0.21304094791412354, 0.7524958848953247, 0.8936010003089905, -0.1714611053466797, 0.16197438538074493, 0.0033187614753842354, -0.4111688733100891, 0.24717244505882263, 0.0002566210168879479, -0.49422478675842285, -0.07665358483791351, 0.24470852315425873, 0.9437000751495361, 0.3204450309276581, -0.5899890661239624, 0.31044572591781616, 0.06375129520893097, -0.10811340808868408, -0.24498899281024933, 0.16815508902072906, 0.09596675634384155, 0.3112558424472809, 0.35330280661582947, -0.012848662212491035, -0.48532629013061523, -0.39496809244155884, 0.1697368323802948, 0.3710329532623291, -0.4390801191329956, -0.3979494273662567, 1.1258307695388794, 0.06637772172689438, -0.282874196767807, 0.23003080487251282, 0.17932172119617462, -0.185402512550354, 0.4412018060684204, 0.7628792524337769, 0.8791175484657288, -0.1513931304216385, 0.10937423259019852, 0.21617065370082855, 0.27734315395355225, 0.08351686596870422, 0.23102083802223206, 0.20166702568531036, -1.0314658880233765, -0.31354838609695435, -0.9608963131904602, -0.5090513825416565, 0.132109135389328, -0.5217729806900024, 0.4761390686035156, -0.873891294002533, -0.27038687467575073, -0.017372217029333115, -0.3128712475299835, -0.3797123432159424, 0.2083357274532318, 0.267669677734375, 0.9207620620727539, -0.6901164650917053, 1.09101140499115, 0.3857232332229614, -0.2654557526111603, -0.4950159788131714, 0.34597936272621155, -0.07146268337965012, -0.6273901462554932, 0.4963766038417816, -0.08240746706724167, -0.19527950882911682, 0.43324434757232666, -0.7053662538528442, -1.0763323307037354, 0.9338390231132507, 0.4094786047935486, -0.7292096018791199, -0.3389763832092285, 0.3811565935611725, 0.3641069233417511, -0.6279801726341248, -0.15098482370376587, 0.34278714656829834, 0.36417028307914734, -0.09383522719144821, -0.7582258582115173, -0.08244650065898895, 0.05207900330424309, 0.33782723546028137, -0.020218996331095695, -0.7246471643447876, 1.0262444019317627, -0.030489187687635422, -0.12570004165172577, 0.3117200434207916, 0.8485238552093506, 0.5341458916664124, -0.1537669599056244, 0.6348745226860046, 0.03441814333200455, 0.5243489146232605, -0.015191937796771526, 0.8358097672462463, -0.5585266947746277, 0.2080019861459732, 1.286659598350525, -0.3765978515148163, 0.740014910697937, 0.5247873663902283, 0.023687750101089478, 0.5876210331916809, 0.46526771783828735, -0.01753988303244114, 0.5484026670455933, 0.31601524353027344, -0.3590737283229828, -0.1997627168893814, -0.15934887528419495, 0.12004131823778152, 0.30048009753227234, 0.47774654626846313, -0.376936674118042, -0.01446453295648098, 0.11312823742628098, 0.22183524072170258, 0.4337432086467743, -0.2853814661502838, 0.5339061617851257, 0.13342654705047607, -0.7464900016784668, 0.5622501373291016, 0.316718727350235, 0.6482194662094116, -0.9563541412353516, 0.02520749717950821, -0.018468892201781273, 0.31944623589515686, -0.021465059369802475, -0.6034346222877502, -0.018186477944254875, 0.08582031726837158, -0.31272244453430176, -0.6154158711433411, 0.7849039435386658, -0.7581402659416199, -0.4843420684337616, 0.36004453897476196, 0.17843839526176453, -0.27108803391456604, 0.05569475516676903, -0.6592960953712463, 0.36681652069091797, 0.18435896933078766, -0.5039368271827698, 0.42998215556144714, 0.15001149475574493, -0.27862226963043213, 0.6816744804382324, 0.8557743430137634, 0.44111689925193787, 0.48843640089035034, -0.052286870777606964, 0.8660271167755127, -0.3430790305137634, -0.34842321276664734, -0.6404281854629517, 0.692399799823761, 0.1354435682296753, -0.36111003160476685, 0.5051398277282715, 0.1773848831653595, 0.7705872058868408, -0.16782927513122559, 0.9089360237121582, 0.11590200662612915, 0.40484559535980225, -0.9156892895698547, 0.8017956018447876, -0.7793636918067932, 0.12345264106988907, -0.2567233145236969, -1.2413239479064941, -0.3243314027786255, 0.22336071729660034, -0.02546112984418869, -0.11238479614257812, 0.3708758056163788, 0.6283361315727234, -0.17535583674907684, -0.5859230160713196, 0.428613543510437, 0.4364623427391052, 0.5941618084907532, 0.2393028885126114, 0.721234917640686, -0.10500507801771164, 0.28858137130737305, -0.07558147609233856, -0.34615954756736755, -0.2284783124923706, -1.2137532234191895, -0.6443480253219604, -0.6498650908470154, -0.33424368500709534, -0.41197460889816284, 0.035150282084941864, 0.9330289363861084, 0.7884106636047363, -0.817914605140686, -0.44670259952545166, -0.02382076345384121, -0.05504602566361427, -0.15706005692481995, -0.22807790338993073, 0.1593363881111145, -0.46554866433143616, -1.033170461654663, 0.46127569675445557, 0.45387378334999084, 0.14918242394924164, -0.38625508546829224, -0.11688248813152313, -0.23212696611881256, 0.722862720489502, 0.6389188170433044, 0.28488582372665405, -0.5956465005874634, -0.4002033770084381, -0.21656884253025055, -0.3383801281452179, 0.04786587879061699, 0.7840571999549866, -0.48082050681114197, 0.4967758059501648, 0.4152686595916748, 0.622404158115387, 0.6113325953483582, 0.10979382693767548, 0.7075538635253906, -1.0703015327453613, 0.2611095607280731, 0.013636915944516659, 0.2101246565580368, 0.2678370475769043, -0.3054843842983246, 0.18673647940158844, 0.06168312579393387, -0.5905792713165283, -0.7838858962059021, 0.5689005851745605, -1.001499891281128, -0.298730731010437, 1.1746350526809692, -0.15631242096424103, 0.01990986429154873, 0.11615070700645447, -0.16095539927482605, 0.1634863018989563, -0.05101146176457405, 0.6756640672683716, 0.6337783336639404, -0.07566221803426743, -0.2767452001571655, -0.6330150961875916, 0.5780640244483948, 0.24050049483776093, -0.9749687314033508, 0.13363239169120789, 0.32517534494400024, 0.2919537425041199, -0.08111734688282013, 0.5612116456031799, 0.028887713328003883, -0.2396431565284729, -0.38966047763824463, 0.2232825607061386, 0.2814362943172455, -0.5806964039802551, -0.2054591029882431, 0.09084003418684006, 0.47649067640304565, 0.2080279290676117 ]
http://arxiv.org/abs/2404.07108v2
http://arxiv.org/pdf/2404.07108v2
From Model-centered to Human-Centered: Revision Distance as a Metric for Text Evaluation in LLMs-based Applications
2024-04-10T15:46:08
2024-04-11T02:36:27
Yongqiang Ma, Lizhi Qing, Jiawei Liu, Yangyang Kang, Yue Zhang, Wei Lu, Xiaozhong Liu, Qikai Cheng
cs.CL
cs.CL, cs.IR
Evaluating large language models (LLMs) is fundamental, particularly in the context of practical applications. Conventional evaluation methods, typically designed primarily for LLM development, yield numerical scores that ignore the user experience. Therefore, our study shifts the focus from model-centered to human-centered evaluation in the context of AI-powered writing assistance applications. Our proposed metric, termed ``Revision Distance,'' utilizes LLMs to suggest revision edits that mimic the human writing process. It is determined by counting the revision edits generated by LLMs. Benefiting from the generated revision edit details, our metric can provide a self-explained text evaluation result in a human-understandable manner beyond the context-independent score. Our results show that for the easy-writing task, ``Revision Distance'' is consistent with established metrics (ROUGE, Bert-score, and GPT-score), but offers more insightful, detailed feedback and better distinguishes between texts. Moreover, in the context of challenging academic writing tasks, our metric still delivers reliable evaluations where other metrics tend to struggle. Furthermore, our metric also holds significant potential for scenarios lacking reference texts.
[ -0.06458442658185959, -0.6082334518432617, 0.9664227366447449, 0.18422441184520721, -0.11190993338823318, 0.024871477857232094, -0.47110044956207275, -0.6352739334106445, 0.06066852807998657, 0.289705753326416, -0.5860478281974792, -0.5288515686988831, -0.37489941716194153, 0.4809004068374634, -0.2374068945646286, 0.863469123840332, -0.19353027641773224, 0.21815605461597443, -0.7692676186561584, -0.049402106553316116, -0.24895262718200684, -0.4976736009120941, -0.31263917684555054, -0.48929399251937866, 0.7898207306861877, 0.2107643336057663, 0.2748490571975708, 0.9692681431770325, 0.94032222032547, 0.3313490152359009, -0.04725509509444237, 0.06998994946479797, -0.05064356327056885, 0.18922995030879974, -0.25038406252861023, -0.5956801176071167, -0.7538709044456482, -0.02071501314640045, 0.7617685198783875, 0.7884048223495483, 0.11968469619750977, 0.1787489503622055, 0.12625713646411896, 1.2763996124267578, -0.459258109331131, -0.1618904173374176, -0.3217024505138397, 0.0374474823474884, -0.34094297885894775, 0.020639950409531593, -0.37605029344558716, -0.5008732676506042, 0.21363569796085358, -0.6938085556030273, 0.4375438094139099, -0.022742198780179024, 0.6622031927108765, 0.2080915868282318, -0.18832166492938995, -0.36286818981170654, -0.891597330570221, 0.7349318265914917, -0.6665640473365784, 0.412282258272171, 0.04032593220472336, 0.31986281275749207, -0.21184301376342773, -0.6042494773864746, -0.5823615193367004, -0.3269835412502289, 0.04499395191669464, 0.04559490829706192, -0.060253869742155075, 0.2484944462776184, 0.22746308147907257, 0.3817831575870514, -0.32280924916267395, 0.12650899589061737, -0.4660820960998535, -0.2222532033920288, 0.8250464200973511, 0.38559797406196594, -0.0017137384274974465, -0.33327844738960266, -0.20648141205310822, 0.05546199530363083, -0.6712692975997925, -0.1168275773525238, 0.4500521719455719, 0.2608623504638672, 0.0874876081943512, 0.297580361366272, -0.26148664951324463, 0.6909918189048767, -0.10187374800443649, -0.10139501839876175, 0.14068558812141418, -0.32331010699272156, -0.23828674852848053, -0.2973414659500122, 0.8395673036575317, 0.6759719848632812, 0.16534064710140228, -0.36830130219459534, -0.38603904843330383, -0.1733318716287613, 0.45658010244369507, -0.634027361869812, -0.09668770432472229, -0.22386778891086578, -0.6254556775093079, -0.13554345071315765, 0.1364627331495285, -0.6578176021575928, -0.7554066777229309, -0.6970241069793701, 0.3317781388759613, -0.2979063391685486, 0.08185193687677383, -0.23906318843364716, 0.02768681012094021, -0.12716840207576752, 0.7800323963165283, -0.6591528654098511, 0.427396297454834, 0.7836667895317078, 1.0010968446731567, -0.4620685875415802, -0.5099795460700989, -0.08685381710529327, -0.018160337582230568, -0.16346818208694458, 1.000796914100647, -0.3503422737121582, -0.6419978141784668, -0.32822224497795105, -0.23600991070270538, 0.12187296152114868, -0.6022025346755981, 0.5544915199279785, -0.2654336392879486, 0.19944220781326294, -0.2383752018213272, -0.7785031199455261, -0.24435098469257355, 0.3741273283958435, -0.5940505862236023, 1.0958442687988281, 0.1591566801071167, -0.5155026316642761, 0.2565653920173645, -0.6209014058113098, -0.42979392409324646, -0.0985594168305397, 0.19884781539440155, -0.36740124225616455, 0.18922489881515503, 0.02047581784427166, 0.2856694757938385, -0.5595883131027222, -0.057696543633937836, -0.24797455966472626, -0.546066164970398, 0.11378231644630432, -0.6374117136001587, 0.11609043926000595, -0.056152116507291794, -0.17397361993789673, 0.44641101360321045, -0.8052733540534973, -0.03390687704086304, -0.2760145366191864, -0.5195069313049316, -0.5427493453025818, 0.005614411551505327, -0.03432335704565048, 0.013530544005334377, 0.3058810532093048, -0.6199518442153931, 0.40746426582336426, -0.3153274953365326, 0.2599405348300934, 0.9716651439666748, -0.059205733239650726, 0.6079157590866089, -0.5452212691307068, 0.6689457893371582, -0.4652320444583893, 0.17910873889923096, -0.1802959442138672, -0.17606383562088013, -0.6446691751480103, -0.3303188681602478, 0.43962743878364563, 0.41186392307281494, -0.29508960247039795, 0.49896830320358276, -0.4788441061973572, -0.7327179908752441, -0.7306907176971436, 0.26145994663238525, 0.4436962902545929, 0.692007303237915, 0.2794427275657654, -0.33308133482933044, -0.42873814702033997, -0.7290947437286377, -0.7280526757240295, -0.41481342911720276, -0.24402658641338348, 0.23248247802257538, 0.39874139428138733, -0.23839206993579865, 0.9940364360809326, -0.501605212688446, -0.47941556572914124, -0.24135510623455048, -0.05391690880060196, -0.012127247639000416, 0.20626212656497955, 0.18842372298240662, -0.43702423572540283, -0.5227558612823486, -0.24074842035770416, -0.5150562524795532, -0.5256367921829224, -0.2355879843235016, -0.08509790897369385, 0.3272321820259094, 0.6079056859016418, -0.3775031268596649, 0.47046950459480286, 0.29177984595298767, -0.3371247947216034, 0.8775601387023926, -0.4677249491214752, 0.25041428208351135, -0.9779011011123657, 0.22828726470470428, 0.16154982149600983, -0.3257608711719513, -0.32023176550865173, -0.20200127363204956, 0.027912253513932228, 0.34193965792655945, -0.07650911062955856, 0.7570943236351013, -0.52817302942276, -0.2179512232542038, -0.0388951376080513, 0.5936620235443115, 0.2561494708061218, 0.1535276621580124, -0.21409763395786285, 0.5833223462104797, -0.1570746749639511, -0.23396821320056915, 0.3333742320537567, -0.1564519852399826, -0.3493465185165405, 0.8561382293701172, -0.4100036323070526, 0.5609563589096069, 0.10936997085809708, 0.32284367084503174, -0.8291359543800354, -0.038318827748298645, -0.06561776250600815, -0.3629557192325592, 0.04528430476784706, 0.28834256529808044, -0.4608853757381439, -0.2430957853794098, -0.5225383639335632, 0.22853709757328033, 0.2994271516799927, -0.2985609471797943, 0.44275936484336853, -0.01972145400941372, -0.19377551972866058, -0.30401062965393066, -0.5120642781257629, 0.15699222683906555, -0.10933144390583038, -0.601729154586792, 0.43629884719848633, -0.21794356405735016, -0.5813502669334412, -0.06116929277777672, -0.02633155696094036, 0.03752670809626579, 0.11989408731460571, 0.5877528190612793, 0.39254698157310486, -0.04312024638056755, 0.3150769770145416, 0.08428645133972168, 0.006857538595795631, 0.17794154584407806, 0.02315385639667511, 0.0018768776208162308, -0.04506446421146393, -0.4938545227050781, -0.5262860059738159, 0.06217446178197861, 0.6687815189361572, -0.0076717715710401535, 0.4120791554450989, 0.1489073634147644, -0.3501299321651459, -0.09585700184106827, -0.6118798851966858, -0.22626133263111115, -0.39871126413345337, 0.4019244909286499, -0.22909098863601685, -0.7322990298271179, 0.34447917342185974, -0.08302568644285202, 0.11243537813425064, 0.5225817561149597, 0.446100115776062, -0.130501851439476, 0.4866204261779785, 0.6657022833824158, -0.23798376321792603, 0.511955201625824, 0.09281913191080093, 0.06579355150461197, -1.1496738195419312, -0.3497677147388458, -0.5959298014640808, -0.47912290692329407, -0.14209377765655518, -0.32302531599998474, 0.33118903636932373, 0.29848283529281616, -0.07353083044290543, 0.005941282492130995, -0.5009019374847412, 0.5269522070884705, 0.40275028347969055, 0.031718891113996506, 0.6254359483718872, -0.07900605350732803, -0.14422032237052917, -0.485540509223938, -0.36567696928977966, -0.764518678188324, 1.1008214950561523, 0.40102487802505493, 0.46281835436820984, -0.00883183442056179, 0.7549277544021606, 0.5796645283699036, 0.9864407181739807, -0.8586924076080322, 0.6014344096183777, -0.08903595060110092, -0.37915998697280884, -0.5140654444694519, -0.3951178789138794, -0.6484395861625671, 0.2279915064573288, -0.07934916764497757, -0.6105505228042603, -0.43813976645469666, -0.013954846188426018, -0.30867379903793335, 0.3005218803882599, -0.6329594850540161, 0.72813880443573, -0.07905317097902298, -0.4210165739059448, -0.2757260799407959, -0.5537562966346741, -0.07169203460216522, -0.14182230830192566, 0.30914387106895447, -0.10823603719472885, -0.12030600756406784, 0.8435994982719421, -0.6383169293403625, 0.5062040090560913, -0.026855193078517914, -0.04676876217126846, 0.20597754418849945, 0.326141893863678, 0.15726704895496368, -0.19369423389434814, -0.6317618489265442, 0.2046137899160385, -0.15101642906665802, 0.013089127838611603, -0.7385724186897278, 0.7744702100753784, -0.5653197765350342, -0.5578091144561768, -0.4234214723110199, -0.7841452956199646, -0.10890455543994904, 0.4004700779914856, 0.11177153140306473, 0.2603068947792053, -0.3325754702091217, 0.0018278240459039807, 0.0028865623753517866, -0.03260951116681099, 0.6172810196876526, 0.6895919442176819, -0.2636124789714813, -0.4564160704612732, 0.49779924750328064, 0.007234896998852491, 0.2506335973739624, 0.439510315656662, 0.2612574100494385, -0.5362643599510193, -0.5425647497177124, -0.7412371039390564, 0.3222639858722687, -0.6838229894638062, -0.10448084771633148, -0.13974133133888245, 0.15503565967082977, -0.3023887872695923, -0.4299842119216919, -0.31744059920310974, -0.4034043550491333, -0.415780246257782, -0.07027105242013931, 0.2764664888381958, 1.2538485527038574, -0.08220117539167404, 0.09629924595355988, -0.9194033741950989, -0.03767656534910202, -0.10098229348659515, 0.4536772072315216, 0.1809774935245514, -0.6472002863883972, -0.26887351274490356, -0.11285409331321716, -0.57258540391922, -0.7659596800804138, 0.24548350274562836, 0.13981670141220093, 0.025901976972818375, 0.04780272766947746, -0.0535857118666172, 0.7139897346496582, -0.5329076647758484, 0.9158486127853394, 0.1173090934753418, -1.056215524673462, 0.26990291476249695, -0.28444960713386536, 0.4252186715602875, 0.765188992023468, -0.08082524687051773, -0.8278400301933289, -0.28506186604499817, -0.2593347728252411, -0.6441887617111206, 0.5712049007415771, 0.07437589019536972, -0.04530363902449608, 0.2847597599029541, 0.9673714637756348, 0.07804735004901886, 0.10283014923334122, -0.6372735500335693, -0.10825147479772568, 0.34510233998298645, -0.3410135805606842, -0.04501378536224365, 0.021711649373173714, 0.25298717617988586, -0.4000001549720764, 0.5350723266601562, -0.025979826226830482, 0.13973210752010345, 0.5267319679260254, -0.14861565828323364, -0.2864927351474762, 0.27903035283088684, 0.6880051493644714, 0.8701257109642029, -0.08528533577919006, -0.028949903324246407, 0.2939867079257965, -0.7317180037498474, 0.18281668424606323, 0.10774543136358261, -0.1597171574831009, 0.06385725736618042, 0.8436998724937439, 0.40105608105659485, -0.20131734013557434, -0.5345687866210938, 0.4816918671131134, -0.0875888392329216, 0.07496994733810425, -0.2465956062078476, -0.05467821657657623, 0.031031819060444832, 0.17403516173362732, 0.3394019603729248, 0.18680024147033691, 0.10090998560190201, -0.13998012244701385, 0.030703846365213394, 0.15262220799922943, -0.7438722848892212, -0.47493603825569153, 0.40952208638191223, 0.47235172986984253, -0.8290000557899475, 0.6977996826171875, -0.025437822565436363, -0.5074085593223572, 0.6856576204299927, 0.2629742920398712, 1.131775975227356, -0.3013157844543457, -0.07513439655303955, 0.2297615110874176, 0.2495766431093216, -0.12361806631088257, -0.021135304123163223, -0.0483991876244545, -0.2349199503660202, -0.1720592975616455, -0.7905490398406982, -0.43077412247657776, -0.08385971188545227, -0.6042966246604919, 0.4029276967048645, -0.6575882434844971, -0.11342402547597885, -0.10466141253709793, 0.07060728222131729, -0.23960940539836884, 0.28078141808509827, -0.13280661404132843, 0.8782718181610107, -0.41958361864089966, 0.6966864466667175, 0.8611665964126587, -0.07539859414100647, -0.678789496421814, 0.2746777832508087, 0.15325652062892914, -0.08443303406238556, 0.4799079895019531, 0.4051980674266815, -0.38177722692489624, -0.3168991208076477, -0.09818622469902039, -0.3313089609146118, 1.3286176919937134, 0.315618097782135, -0.9338799118995667, -0.17765003442764282, 0.239179328083992, 1.0679551362991333, -0.27586522698402405, 0.4416595995426178, 0.6111490726470947, 0.3337310552597046, -0.42625898122787476, -0.995021641254425, 0.031376272439956665, -0.19604633748531342, 0.13732174038887024, 0.3640538454055786, -0.7582191228866577, 0.5790919065475464, -0.29432445764541626, 0.17799769341945648, 0.3881523311138153, 0.5705647468566895, 0.04967805743217468, 0.5204711556434631, 0.40635544061660767, 0.4491157531738281, 0.7046884298324585, -0.04472679644823074, 1.1742498874664307, -0.24851509928703308, 0.3361668884754181, 1.143553614616394, -0.2358650416135788, 0.8637582659721375, 0.5607240200042725, -0.362548291683197, 0.7492573857307434, 0.5141707062721252, 0.16646787524223328, 0.1646447777748108, 0.5231924057006836, -0.35485339164733887, 0.05443459749221802, -0.06984710693359375, 0.005728323012590408, 0.017401892691850662, 0.006106119137257338, -0.5800235271453857, -0.02001296356320381, -0.2568342387676239, 0.2422443926334381, 0.6201293468475342, -0.22577886283397675, 0.7524896264076233, 0.3760571777820587, -0.7642417550086975, 0.12743866443634033, 0.39467909932136536, 0.4858298599720001, -0.46036866307258606, -0.025416171178221703, -0.3548222780227661, 0.5460718870162964, -0.23380669951438904, -0.8122394680976868, 0.4603169858455658, 0.2525821328163147, -0.5850124955177307, -0.20091968774795532, 0.4787684679031372, -0.21599391102790833, -0.43550458550453186, 0.2971875071525574, 0.2272629737854004, 0.032568518072366714, -0.19478493928909302, -0.6513668894767761, 0.13141880929470062, -0.07032071799039841, -0.3895856440067291, 0.2385832965373993, 0.448469877243042, -0.13744765520095825, 0.6361480355262756, 0.46968281269073486, 0.21695952117443085, -0.18679790198802948, 0.21270406246185303, 0.5077911615371704, -0.6198458671569824, -0.36614760756492615, -1.2360877990722656, 0.2646028697490692, -0.01966203562915325, -0.4759477972984314, 0.9120398759841919, 0.622801661491394, 0.5364012718200684, 0.09948346018791199, 0.9305761456489563, 0.15084868669509888, 0.7702188491821289, -0.3139822781085968, 0.7968040704727173, -0.698152482509613, 0.584952712059021, -0.6945509314537048, -1.2319904565811157, -0.4824748933315277, 0.42051416635513306, -0.639861524105072, -0.0019031732808798552, 0.7672812938690186, 0.7651469111442566, 0.29524925351142883, -0.1876392811536789, 0.08887986093759537, -0.0347302183508873, 0.4005855619907379, 0.6057528853416443, 0.7489094734191895, -0.30845674872398376, 0.3904632329940796, -0.24844487011432648, -0.2062303125858307, -0.017107397317886353, -1.000420093536377, -0.8798508048057556, -0.5506061911582947, -0.1313658207654953, -0.4213535189628601, 0.09552902728319168, 0.9577167630195618, 0.3859718143939972, -0.32370078563690186, -0.40399274230003357, -0.129079207777977, 0.20807647705078125, -0.014553438872098923, -0.19105741381645203, 0.46618542075157166, 0.026840612292289734, -0.7586789131164551, 0.09550096094608307, 0.4042600393295288, -0.09925355017185211, -0.5813724994659424, -0.278957724571228, 0.09829076379537582, 0.14624309539794922, 0.41516202688217163, -0.05728769302368164, -0.740229606628418, -0.3482576012611389, 0.0954071655869484, -0.36733120679855347, 0.12013296037912369, 0.7699806690216064, -0.6674693822860718, 0.7916486263275146, 0.5880406498908997, 0.4944814443588257, 0.11104392260313034, 0.3273455798625946, 0.7135645151138306, -0.5776262283325195, -0.02790534868836403, 0.24370332062244415, 0.016729386523365974, 0.7733259797096252, -0.41517889499664307, 0.5384535193443298, 0.5151351094245911, -0.652614951133728, -0.7882493734359741, -0.003200845792889595, -0.5949263572692871, -0.08273924142122269, 1.2719008922576904, -0.4559376537799835, -0.23731429874897003, 0.1516849398612976, -0.46799227595329285, 0.1822204440832138, -0.32110705971717834, 1.050523042678833, 0.8699715733528137, -0.31324830651283264, 0.09115531295537949, -0.25174883008003235, 0.6177926659584045, 0.526752769947052, -1.0921598672866821, 0.13888141512870789, 0.688322126865387, 0.382699579000473, 0.20430921018123627, 0.589819610118866, -0.1471569687128067, 0.23704904317855835, -0.29959848523139954, 0.3304060995578766, -0.028446344658732414, -0.3002832531929016, -0.5925461649894714, -0.14326445758342743, 0.3478994071483612, 0.32890501618385315 ]
http://arxiv.org/abs/2404.07103v1
http://arxiv.org/pdf/2404.07103v1
Graph Chain-of-Thought: Augmenting Large Language Models by Reasoning on Graphs
2024-04-10T15:41:53
2024-04-10T15:41:53
Bowen Jin, Chulin Xie, Jiawei Zhang, Kashob Kumar Roy, Yu Zhang, Suhang Wang, Yu Meng, Jiawei Han
cs.CL
cs.CL, cs.IR, cs.LG
Large language models (LLMs), while exhibiting exceptional performance, suffer from hallucinations, especially on knowledge-intensive tasks. Existing works propose to augment LLMs with individual text units retrieved from external knowledge corpora to alleviate the issue. However, in many domains, texts are interconnected (e.g., academic papers in a bibliographic graph are linked by citations and co-authorships) which form a (text-attributed) graph. The knowledge in such graphs is encoded not only in single texts/nodes but also in their associated connections. To facilitate the research of augmenting LLMs with graphs, we manually construct a Graph Reasoning Benchmark dataset called GRBench, containing 1,740 questions that can be answered with the knowledge from 10 domain graphs. Then, we propose a simple and effective framework called Graph Chain-of-thought (Graph-CoT) to augment LLMs with graphs by encouraging LLMs to reason on the graph iteratively. Each Graph-CoT iteration consists of three sub-steps: LLM reasoning, LLM-graph interaction, and graph execution. We conduct systematic experiments with three LLM backbones on GRBench, where Graph-CoT outperforms the baselines consistently. The code is available at https://github.com/PeterGriffinJin/Graph-CoT.
[ -0.6838122010231018, -1.0382355451583862, 0.9999361038208008, -0.09160246700048447, -0.3093585968017578, 0.5629132390022278, -0.3064694106578827, -0.5219125747680664, 0.2288062572479248, 0.7458593845367432, -0.4448227286338806, -0.6651177406311035, -0.491839200258255, -0.03598295524716377, -0.5530982613563538, 0.8745344877243042, -0.28223204612731934, -0.1871410608291626, -0.23042526841163635, -0.0707913413643837, -0.22720561921596527, -0.6787751913070679, -0.5358357429504395, -0.6146695017814636, 0.7319921851158142, 0.12175668776035309, 0.6423999071121216, 0.4805961847305298, 0.39049220085144043, 0.2093326449394226, -0.0576719269156456, 0.7468725442886353, -0.8123894333839417, 0.022176669910550117, -0.513219952583313, -0.1270936131477356, -0.6196237802505493, -0.21390797197818756, 0.5470566153526306, 0.9798862338066101, 0.14288201928138733, -0.05915967747569084, 0.016055509448051453, 0.7411999106407166, -0.498613178730011, 0.17697586119174957, -0.8161771893501282, -0.28191113471984863, -0.038370851427316666, -0.257564902305603, -0.6250194311141968, -0.31141334772109985, -0.12780465185642242, -0.4576995372772217, -0.13990971446037292, 0.489348441362381, 0.6687902808189392, 0.003799982601776719, -0.3729342222213745, -0.30598852038383484, -0.6189486980438232, 0.2223198413848877, -0.4733017683029175, 0.4405958354473114, 0.3183770775794983, 0.1107638031244278, -0.5368760824203491, -0.91086345911026, -0.6055279970169067, -0.034733161330223083, -0.144487664103508, -0.08481340110301971, -0.18960373103618622, 0.2611420154571533, 0.4524538218975067, 0.42822664976119995, -0.4860922396183014, -0.012777474708855152, -0.1573977768421173, -0.011434553191065788, 0.4783814549446106, 0.14486698806285858, 0.3078024983406067, 0.09956233203411102, -0.21459096670150757, -0.08183325082063675, -0.7598282694816589, -0.3274901211261749, 0.4984995424747467, 0.34006479382514954, 0.22480304539203644, 0.6592888236045837, -0.22022701799869537, 0.9566011428833008, -0.07720118761062622, 0.12702789902687073, 0.27298638224601746, -0.16515320539474487, -0.13665220141410828, 0.14282894134521484, 0.7296298742294312, 0.21804894506931305, 0.5234724283218384, -0.4935415983200073, -0.22802916169166565, 0.3395569324493408, 0.24851854145526886, -0.6796968579292297, -0.3927006125450134, 0.17544090747833252, 0.021851778030395508, -0.20496292412281036, -0.07302182912826538, -0.5169097781181335, -0.4185177981853485, -0.3619215190410614, 0.3120422065258026, -0.5502832531929016, -0.25945088267326355, 0.26711589097976685, -0.1705189049243927, -0.30269116163253784, 0.2786868214607239, -0.5912619233131409, 0.6546135544776917, 0.7087447643280029, 0.7280046939849854, -0.20650535821914673, -0.4438116252422333, -0.4078430235385895, 0.3882920742034912, -0.5407926440238953, 0.8462528586387634, -0.7590797543525696, -0.22506114840507507, -0.23193058371543884, 0.09119893610477448, -0.2024061530828476, -0.3609939217567444, 0.24494139850139618, -0.6287670135498047, -0.08700145781040192, -0.3871336579322815, -0.8613072037696838, -0.18278223276138306, 0.42762571573257446, -0.6878826022148132, 1.1263909339904785, 0.24055209755897522, -0.8982303142547607, -0.05245395377278328, -0.3747064471244812, -0.5698866248130798, 0.04333868995308876, -0.4030308127403259, 0.082159124314785, -0.04633230343461037, 0.36632055044174194, 0.26372912526130676, -0.5114232301712036, 0.30769452452659607, -0.5403890609741211, -0.4975651204586029, 0.21243315935134888, -0.029134029522538185, 0.6528075337409973, 0.059713128954172134, -0.2936898469924927, 0.10588802397251129, -0.6738542318344116, 0.2798950672149658, 0.038278769701719284, -0.03928498923778534, -0.2810036838054657, -0.16137458384037018, -0.46037113666534424, 0.15076138079166412, -0.06139723211526871, -0.13198401033878326, 0.308206170797348, -0.3626750409603119, 0.4783759117126465, 0.8865954279899597, 0.12569455802440643, 0.204128235578537, -0.2107749879360199, 0.39146730303764343, -0.20927956700325012, -0.15077154338359833, 0.01794552616775036, -0.3114161789417267, -0.767498791217804, -0.1848674714565277, 0.21424396336078644, 0.2254583239555359, -0.9589974284172058, 0.40059158205986023, -0.32304537296295166, -0.5024117231369019, -0.1665315181016922, 0.17242802679538727, 0.26424267888069153, 0.5937379598617554, 0.37554991245269775, -0.2979090213775635, -0.5502634048461914, -0.4913214147090912, -0.2129976898431778, -0.3361419141292572, 0.2900163531303406, 0.35622790455818176, 0.5848175883293152, -0.35668128728866577, 0.7291721105575562, -0.7947365045547485, -0.00005733608122682199, -0.2797410786151886, -0.010835974477231503, 0.2463342696428299, 0.1901494860649109, 0.24473245441913605, -0.30700838565826416, -0.2547079622745514, 0.2423117607831955, -0.8820939660072327, -0.0770573541522026, 0.15015195310115814, -0.39153197407722473, 0.03491181135177612, 0.6644797325134277, -0.5995664000511169, 0.30400198698043823, 0.5694175362586975, -0.16418306529521942, 0.7212718725204468, -0.2134040743112564, 0.04306161031126976, -0.8027220368385315, 0.05136959254741669, -0.2229699045419693, -0.3595297932624817, -0.43924960494041443, 0.1796514093875885, -0.2760133445262909, -0.07254038006067276, 0.08093226701021194, 0.563316822052002, -0.49703121185302734, -0.3015801012516022, -0.42456522583961487, 0.7519513964653015, 0.21152947843074799, 0.5949674844741821, -0.19336262345314026, 0.6945241093635559, 0.6052159070968628, -0.5491278171539307, 0.42733463644981384, 0.09055174142122269, -0.6134257316589355, 0.2281230241060257, -0.4519215524196625, 0.569948136806488, -0.04701532423496246, 0.47744807600975037, -0.9420760273933411, -0.1853119283914566, 0.15506625175476074, -0.12528690695762634, 0.014035374857485294, -0.02535315975546837, -0.847367525100708, -0.6951854825019836, 0.06679891794919968, 0.35948988795280457, 0.299251526594162, -0.820098876953125, 0.6689434051513672, 0.5315083861351013, 0.045136794447898865, -0.45987990498542786, -0.4929770827293396, 0.22621645033359528, 0.06592527776956558, -0.596765398979187, 0.393253356218338, -0.010560214519500732, -0.3617233335971832, 0.29224544763565063, -0.1652158796787262, 0.16460572183132172, -0.05492468923330307, 0.0902678444981575, 0.2769060432910919, 0.0947122648358345, 0.4997100234031677, 0.0531897209584713, -0.06885577738285065, 0.06146978959441185, -0.7326289415359497, 0.9281282424926758, -0.4979972243309021, -0.5528442859649658, 0.0791211649775505, 0.046493589878082275, 0.49369460344314575, -0.07332947105169296, 0.5304056406021118, 0.25653836131095886, -0.3647901117801666, -0.44765764474868774, -0.4897508919239044, -0.16022391617298126, -0.43349340558052063, 0.19135090708732605, -0.6069929599761963, -1.032921314239502, 0.6076796650886536, -0.6168966889381409, -0.35100582242012024, 0.22856108844280243, 0.5371153354644775, -0.07602084428071976, 1.0644476413726807, 0.2954026460647583, -0.09705255180597305, 0.1709405928850174, -0.4453718066215515, 0.5652320981025696, -0.936951220035553, -0.060835495591163635, -0.20129375159740448, -0.1017870157957077, -0.4874266982078552, -0.6792722344398499, 0.2647395730018616, 0.3593890368938446, -0.438614159822464, 0.4410698413848877, -0.5245034098625183, 0.5939236283302307, 0.13457374274730682, 0.34442999958992004, 0.4967483580112457, 0.10557159036397934, -0.6267871856689453, 0.5276824831962585, -0.8496922254562378, -0.5495747327804565, 0.8348805904388428, 0.02655050717294216, 0.9882920980453491, -0.227482870221138, 0.5159100890159607, 0.19297246634960175, 0.22012066841125488, -0.6293160319328308, 0.8241795301437378, -0.061196859925985336, -0.4523969292640686, -0.19144253432750702, -0.47461697459220886, -0.7270563244819641, 0.3512657880783081, -0.047969721257686615, -1.1489828824996948, -0.05010329186916351, 0.18355858325958252, 0.10626820474863052, 0.6469415426254272, -0.33564749360084534, 0.6091337203979492, -0.3176456093788147, -0.4857911467552185, -0.4608832001686096, -0.39582645893096924, 0.38676851987838745, -0.07385613024234772, 0.3619835078716278, 0.005678113084286451, 0.37766340374946594, 0.520325243473053, -0.6917760372161865, 0.736100971698761, 0.1703704297542572, -0.2750461995601654, 0.6823275089263916, 0.1067163273692131, 1.0822209119796753, -0.19692197442054749, -0.11852093786001205, 0.05382693558931351, -0.3290608823299408, -0.1799413412809372, -0.7579394578933716, 0.912996232509613, -0.5929194092750549, -0.7900180220603943, -0.12077906727790833, -0.795842170715332, -0.5110697150230408, 0.2963354289531708, -0.07927148789167404, 0.5777336359024048, 0.013742415234446526, -0.04373501241207123, 0.42612719535827637, 0.037168100476264954, 0.02605527825653553, -0.10902628302574158, -0.8900960683822632, -0.6490288376808167, 0.8815049529075623, 0.16593925654888153, 0.5670726895332336, 0.0901942029595375, 0.11066363006830215, -0.2549501359462738, -0.41042035818099976, -0.3745812773704529, 0.31299707293510437, -1.1713230609893799, 0.06347371637821198, -0.9106078147888184, -0.3083265423774719, -0.2355884611606598, -0.12173730880022049, -0.16438058018684387, -0.44927483797073364, 0.07438625395298004, -0.4694102108478546, 0.6372405886650085, 0.606924831867218, 0.12176680564880371, 0.2097882181406021, -0.37405088543891907, 0.2875082492828369, 0.22748017311096191, 0.4769493341445923, 0.33355289697647095, -0.15472747385501862, -0.29357609152793884, 0.03340721130371094, -0.13102398812770844, -0.5820477604866028, 0.07215379178524017, -0.33332332968711853, 0.5006473660469055, 0.31059983372688293, 0.053990162909030914, 1.0531973838806152, -0.4358234703540802, 0.39842256903648376, 0.3647749125957489, -1.0964089632034302, 0.36558037996292114, -0.33126822113990784, 0.014685270376503468, 0.4966225028038025, 0.29419180750846863, -0.3385359048843384, -0.7126277685165405, -0.6304935812950134, -0.8179569840431213, 0.38098233938217163, 0.2994561791419983, -0.19530372321605682, -0.18866421282291412, 0.3363268971443176, 0.039241377264261246, 0.2770760655403137, -0.5936369895935059, -0.05696152523159981, -0.10239463299512863, -0.10202202945947647, -0.002171191154047847, 0.1030208170413971, -0.3207959830760956, -0.5097400546073914, 0.7184751629829407, -0.5137682557106018, 0.0816422551870346, 0.09884396195411682, -0.19306716322898865, -0.12666137516498566, 0.05836230516433716, 0.19453690946102142, 1.0691261291503906, -0.11366048455238342, 0.7246037721633911, 0.37401282787323, -0.07855450361967087, 0.04376163333654404, -0.1357545703649521, 0.0877671167254448, -0.16781707108020782, 0.46806013584136963, 1.133155107498169, 0.024906177073717117, -0.7161523103713989, 0.10109442472457886, 0.2028394192457199, -0.19595147669315338, -0.047799527645111084, 0.14434069395065308, 0.42882239818573, 0.34139421582221985, 0.14909479022026062, -0.102034792304039, -0.14227494597434998, -0.8041571378707886, 0.142312690615654, 0.3263775110244751, -0.47319725155830383, -0.13936568796634674, 0.4478195309638977, -0.03180409595370293, -0.19635120034217834, 0.6637029051780701, -0.30170875787734985, -0.7615358829498291, 0.45216089487075806, 0.8075628280639648, 0.6158541440963745, 0.36574551463127136, 0.06028052419424057, 0.29890361428260803, 0.3442005217075348, -0.15408548712730408, 0.3167104423046112, 0.13565824925899506, -0.9096254110336304, -0.553463339805603, -0.2863248288631439, -0.48359552025794983, -0.0004912347649224102, -0.2828556299209595, 0.325761079788208, -0.5438619256019592, -0.3411218822002411, -0.11179187148809433, -0.018426457419991493, -0.48168909549713135, 0.16828855872154236, 0.04846306890249252, 0.7982408404350281, -0.6178023219108582, 0.9731816649436951, 0.4307299852371216, -0.35810211300849915, -0.8022339344024658, -0.03585035353899002, -0.30515360832214355, -0.9013988375663757, 0.5796365737915039, 0.17498473823070526, -0.6054805517196655, 0.3027006983757019, -0.565097987651825, -0.7632856369018555, 1.0021804571151733, 0.49781671166419983, -0.8310726284980774, -0.020526694133877754, 0.09793300926685333, 0.5913329124450684, -0.678852379322052, 0.11143562197685242, 0.5804511308670044, 0.5021818280220032, 0.241437628865242, -0.5574682950973511, 0.39180392026901245, -0.14844076335430145, -0.1297454535961151, 0.29690414667129517, -0.63518226146698, 0.8116679191589355, -0.40849363803863525, -0.2629443109035492, -0.26976633071899414, 0.3680964410305023, 0.5368226170539856, 0.17909766733646393, 0.6666368246078491, 0.7695372700691223, 1.3478623628616333, -0.009586070664227009, 1.1980081796646118, -0.6138994693756104, 0.3741457164287567, 1.4249975681304932, -0.6486549973487854, 0.4891035258769989, 0.512667715549469, -0.17543068528175354, 0.9821847677230835, 0.5936028361320496, 0.05145886912941933, 0.3587360382080078, 0.4908432066440582, -0.10255629569292068, -0.513454794883728, -0.2606287896633148, -0.35639774799346924, 0.03869881108403206, 0.3878045678138733, -0.34011998772621155, -0.04777268320322037, -0.14595161378383636, 0.07416823506355286, 0.09681344777345657, -0.14660081267356873, 0.6385393142700195, 0.26306062936782837, -0.6973137259483337, 0.6776397824287415, -0.3484114706516266, -0.07332311570644379, -0.44828373193740845, -0.00041768024675548077, 0.11203653365373611, 0.22831685841083527, -0.18355269730091095, -0.9152308702468872, -0.012677475810050964, 0.00042991017107851803, -0.11760661005973816, -0.00503294263035059, 0.9786421656608582, -0.2755255401134491, -0.6132714748382568, 0.862132728099823, 0.6340064406394958, 0.19605551660060883, -0.03024730645120144, -0.41961660981178284, 0.29944631457328796, -0.22546100616455078, -0.11838343739509583, 0.20308832824230194, 0.6099681258201599, -0.267636239528656, 0.8311421871185303, 0.7114182114601135, 0.10545793920755386, -0.25064709782600403, 0.5724070072174072, 1.5231503248214722, -0.6450204253196716, -0.3581816852092743, -1.0362658500671387, 0.0884069874882698, -0.4168280065059662, 0.03255050629377365, 0.6159562468528748, 0.6531878113746643, 0.843278706073761, 0.2179701179265976, 0.9304415583610535, 0.008957811631262302, 0.03353911638259888, -0.5703203678131104, 0.5016208291053772, -0.3586592674255371, 0.27104490995407104, -0.5707793235778809, -0.8763346076011658, -0.10101725161075592, 0.5305576324462891, -0.5134547352790833, -0.05010215565562248, 1.2004823684692383, 0.8043833374977112, 0.18900494277477264, 0.2751334011554718, 0.15029820799827576, 0.27892133593559265, 0.3372553884983063, 0.5210198163986206, 0.959341824054718, -0.27336573600769043, 0.48468732833862305, -0.04355964437127113, -0.06748438626527786, 0.037170037627220154, -0.899417519569397, -1.1897032260894775, -0.3941018283367157, -0.2610377073287964, -0.630277693271637, 0.18071484565734863, 0.9195602536201477, 0.47604477405548096, -0.5567309260368347, -0.3603551685810089, -0.6017670631408691, 0.5272690653800964, -0.4134129583835602, -0.19767335057258606, 0.4783605933189392, -0.42912745475769043, -0.45183128118515015, 0.4014401137828827, 0.44854113459587097, -0.12334538996219635, -0.2765776216983795, -0.19000014662742615, -0.36794736981391907, 0.151828333735466, 0.7672976851463318, -0.26004257798194885, -0.6621531248092651, -0.4880934953689575, -0.13275927305221558, -0.00021860870765522122, 0.10598710924386978, 0.9793718457221985, -0.8385748863220215, 0.5658038258552551, 0.5019334554672241, 0.5660086274147034, 0.9525318741798401, 0.11213180422782898, 0.5505795478820801, -0.44440600275993347, -0.01886785589158535, 0.029716290533542633, 0.5933092832565308, 0.2584899663925171, -0.2520282566547394, 0.9414622783660889, 0.4042646586894989, -0.3553231656551361, -1.0110576152801514, 0.3057321012020111, -0.9035188555717468, -0.5455766916275024, 1.064960241317749, -0.1344134360551834, -0.32138362526893616, -0.07777846604585648, -0.17282681167125702, 0.3375397324562073, -0.06752056628465652, 0.7323651313781738, 0.9127280712127686, -0.32242777943611145, -0.13406316936016083, -0.14263783395290375, 0.21500447392463684, -0.06674899905920029, -1.0816278457641602, 0.43399518728256226, 0.40370842814445496, 0.021500132977962494, 0.12857183814048767, 0.8113380670547485, -0.061721328645944595, -0.20216313004493713, 0.21131372451782227, -0.01432645320892334, -0.11533934623003006, -0.4992528259754181, 0.3490757644176483, 0.28182223439216614, 0.05357576906681061, 0.39056092500686646 ]
http://arxiv.org/abs/2404.07084v1
http://arxiv.org/pdf/2404.07084v1
Dynamic Generation of Personalities with Large Language Models
2024-04-10T15:17:17
2024-04-10T15:17:17
Jianzhi Liu, Hexiang Gu, Tianyu Zheng, Liuyu Xiang, Huijia Wu, Jie Fu, Zhaofeng He
cs.CL
cs.CL, cs.AI
In the realm of mimicking human deliberation, large language models (LLMs) show promising performance, thereby amplifying the importance of this research area. Deliberation is influenced by both logic and personality. However, previous studies predominantly focused on the logic of LLMs, neglecting the exploration of personality aspects. In this work, we introduce Dynamic Personality Generation (DPG), a dynamic personality generation method based on Hypernetworks. Initially, we embed the Big Five personality theory into GPT-4 to form a personality assessment machine, enabling it to evaluate characters' personality traits from dialogues automatically. We propose a new metric to assess personality generation capability based on this evaluation method. Then, we use this personality assessment machine to evaluate dialogues in script data, resulting in a personality-dialogue dataset. Finally, we fine-tune DPG on the personality-dialogue dataset. Experiments prove that DPG's personality generation capability is stronger after fine-tuning on this dataset than traditional fine-tuning methods, surpassing prompt-based GPT-4.
[ -0.60588139295578, -0.7481162548065186, 0.8037499785423279, 0.21774320304393768, -0.08406331390142441, 0.49860066175460815, -0.3627387285232544, -0.2627318203449249, 0.08154347538948059, 0.5556275248527527, -0.9935402274131775, -0.39709898829460144, -0.3416006863117218, 0.3548596203327179, 0.006745252292603254, 0.9537743926048279, 0.31622135639190674, -0.19980840384960175, 0.09750399738550186, 0.14688527584075928, -0.618972897529602, -0.41315069794654846, -0.5991932153701782, -0.41398677229881287, 0.925494372844696, 0.21083295345306396, 0.7404804229736328, 0.5573245286941528, 0.21646924316883087, 0.4862864017486572, 0.00942898914217949, 0.3485441207885742, -0.6456400156021118, 0.45550358295440674, -0.3041945695877075, -0.3606911301612854, -0.5602672696113586, 0.2139768898487091, 0.8032234907150269, 0.3732977509498596, -0.04191029071807861, 0.15327534079551697, -0.16825221478939056, 0.6731417775154114, -0.2771773934364319, 0.40013808012008667, -1.03231680393219, 0.2591251730918884, -0.29226353764533997, -0.24556201696395874, -0.24996918439865112, -0.5918548703193665, 0.2603433430194855, -0.0662439838051796, -0.01702267676591873, 0.014099282212555408, 0.4632420837879181, 0.29217326641082764, -0.5543266534805298, -0.08593975007534027, -1.0021412372589111, 0.9621176719665527, -0.7071719169616699, -0.11890636384487152, 0.10758145153522491, 0.47452864050865173, -0.4087808132171631, -0.6088436245918274, -1.0155539512634277, -0.3085937798023224, 0.09913118183612823, -0.02063555084168911, 0.041850097477436066, 0.03149585798382759, 0.5534022450447083, 0.36890971660614014, -0.32116931676864624, 0.1648291051387787, 0.02840142697095871, 0.18491241335868835, 0.8334479928016663, 0.5418022871017456, 0.03773248940706253, -0.1815095841884613, 0.13403970003128052, -0.09705237299203873, -0.5570945143699646, -0.5704046487808228, 0.8654312491416931, 0.1663323938846588, 0.24576929211616516, 0.11570087820291519, -0.23578037321567535, 0.5904977917671204, 0.7428643703460693, -0.31057220697402954, 0.4571894705295563, -0.17268379032611847, -0.1371583342552185, -0.07711820304393768, 0.8169365525245667, 0.21272563934326172, 0.5559982061386108, 0.16360776126384735, -0.004188449587672949, -0.18057945370674133, 0.48575955629348755, -1.0523433685302734, -0.313981831073761, 0.544291615486145, -0.3331912159919739, -0.8448188304901123, -0.015489348210394382, -0.8537482023239136, -0.7039410471916199, -0.33288583159446716, -0.15678486227989197, -0.3396066725254059, -0.40756508708000183, -0.12355926632881165, 0.06016452983021736, 0.22931315004825592, 0.41436704993247986, -1.1075944900512695, -0.07480167597532272, 0.5835071802139282, 0.4198908805847168, -0.3813990354537964, -0.3524024188518524, -0.48468858003616333, 0.09217264503240585, -0.23443353176116943, 0.47772347927093506, -0.5170952677726746, -0.24442608654499054, 0.09300429373979568, -0.22811122238636017, 0.12369874864816666, -0.6795000433921814, 0.23399662971496582, -0.3152894675731659, 0.21422207355499268, -0.3973368704319, -0.3451445698738098, -0.031312230974435806, 0.514618456363678, -0.4816669225692749, 0.6616460084915161, 0.30871376395225525, -0.6433841586112976, 0.5595861673355103, -0.5844599604606628, -0.2307492196559906, 0.49827462434768677, -0.5449913740158081, -0.4715227782726288, 0.02685151807963848, -0.12004413455724716, 0.6981387138366699, -0.25830522179603577, 0.5882230997085571, -0.5266916155815125, -0.09092734009027481, 0.7502104043960571, -0.45812082290649414, 0.3000483512878418, 0.09686208516359329, -0.6081739068031311, 0.10010061413049698, -0.9269790053367615, 0.35197627544403076, 0.10079289972782135, -0.4800262451171875, 0.2600797712802887, 0.4149107336997986, -0.20593440532684326, 0.4396323263645172, 0.3112580478191376, -0.746883749961853, 0.3608803153038025, -0.3692382276058197, 0.4746202230453491, 0.7177439332008362, 0.17237770557403564, -0.05953317508101463, -0.3734292984008789, 0.32197868824005127, 0.1325104534626007, -0.013120490126311779, -0.04808935150504112, -0.23514993488788605, -0.5590013265609741, -0.3342364430427551, -0.03346319496631622, 0.39546504616737366, -0.5900028347969055, 0.938640832901001, -0.15869610011577606, -0.6835439801216125, -0.07494917511940002, 0.11972405761480331, 0.2685224115848541, 0.25066694617271423, 0.03778048977255821, -0.16616250574588776, -0.47801584005355835, -0.6627194285392761, -0.09341008216142654, -0.3575149178504944, 0.08828748762607574, 0.5192450881004333, 0.2745085656642914, -0.4347136616706848, 0.7607704997062683, -0.6151614189147949, 0.30742090940475464, -0.5796460509300232, 0.21059100329875946, 0.25424349308013916, 0.34874629974365234, 0.6642804741859436, -0.6538941264152527, -0.6206398606300354, -0.17307205498218536, -0.6502679586410522, -0.1561005860567093, -0.01660643145442009, -0.20414108037948608, 0.021327350288629532, 0.28035107254981995, -0.5524027943611145, 0.15774498879909515, 0.44564539194107056, -0.19859559834003448, 0.9020757675170898, -0.08959616720676422, -0.040371134877204895, -1.0001345872879028, 0.11160381883382797, -0.19075985252857208, -0.18711932003498077, -0.5215763449668884, -0.07165873795747757, -0.420314222574234, -0.299160361289978, -0.29075726866722107, 0.5248032212257385, -0.312489777803421, 0.0696546882390976, -0.3523007333278656, 0.16917282342910767, -0.29826846718788147, 0.5442860722541809, -0.12010961771011353, 0.2955559492111206, 0.3792271912097931, -0.3558872938156128, 0.8523935079574585, 0.3758523166179657, -0.5617855787277222, 0.6537598371505737, -0.5453372001647949, 0.46046045422554016, -0.07606346905231476, 0.49624407291412354, -0.8679389357566833, -0.5036051273345947, -0.15900996327400208, 0.014020564965903759, 0.31201621890068054, -0.03134503588080406, -0.5448986291885376, -0.5517063736915588, -0.32025986909866333, -0.22865596413612366, 0.5068660378456116, -0.4087335467338562, 0.3931736648082733, 0.25299811363220215, -0.530156672000885, -0.20563966035842896, -0.37955141067504883, 0.21081584692001343, -0.3676178455352783, -0.6908985376358032, 0.3976196050643921, -0.320596843957901, -0.24022094905376434, -0.5274796485900879, 0.2716476619243622, 0.314222514629364, -0.041163019835948944, 0.08284951746463776, 0.09180643409490585, -0.010509813204407692, -0.05640213564038277, 0.09668181091547012, 0.03578723222017288, 0.04993530735373497, -0.18920166790485382, 0.7712128162384033, -0.21291743218898773, -0.1583559215068817, -0.4000396728515625, 0.3055003583431244, 0.8864609599113464, -0.43311238288879395, 0.5324029922485352, 0.7793257832527161, 0.10044008493423462, -0.4525337517261505, -0.4993914067745209, -0.1683993637561798, -0.5719576478004456, 0.585163950920105, -0.35414668917655945, -0.8820175528526306, 0.5049886107444763, -0.32903918623924255, 0.34985870122909546, 0.07869014889001846, 1.1972160339355469, 0.038895975798368454, 1.2946813106536865, 0.3156123161315918, 0.32366546988487244, 0.7550637125968933, 0.08920058608055115, 0.2589205205440521, -0.6992251873016357, -0.08948346227407455, -0.1828743815422058, -0.8443160653114319, -1.007759690284729, -0.00595697108656168, 0.3627341091632843, -0.5143304467201233, -0.5854474902153015, -0.008449774235486984, -0.479670912027359, 0.28898656368255615, 0.339238703250885, -0.040378935635089874, 0.07277844846248627, -0.11474048346281052, -0.230060875415802, -0.11689382046461105, -0.25717025995254517, -0.6320432424545288, 0.9743266105651855, 0.33461830019950867, 0.6736899018287659, 0.4090164005756378, 0.6723431348800659, 0.16461603343486786, 0.20644137263298035, -0.7645167708396912, 0.8560476303100586, -0.1911429464817047, -0.49207422137260437, -0.4280422329902649, -0.644433319568634, -0.8453139662742615, 0.04004237800836563, -0.44339418411254883, -0.9637761116027832, 0.05816119909286499, 0.2697308361530304, -0.626448392868042, 0.10669739544391632, -0.42963191866874695, 0.5538216829299927, -0.2511996924877167, -0.4645945429801941, -0.27913275361061096, -0.5989928841590881, 0.3991471230983734, -0.37469738721847534, -0.5934973359107971, -0.2978639304637909, 0.5188159942626953, 0.4380910396575928, -0.45097532868385315, 0.7644623517990112, -0.42863893508911133, -0.22874034941196442, 0.18556012213230133, 0.4029203951358795, 0.5517190098762512, 0.12770035862922668, -0.3237004280090332, -0.10030175000429153, 0.013229048810899258, 0.10724249482154846, -0.9577512145042419, 1.0073131322860718, -0.9323169589042664, -0.7392789721488953, -0.2001284807920456, -0.5805326104164124, -0.715932309627533, 0.1047186329960823, -0.14491353929042816, 0.2966710329055786, -0.3444077968597412, 0.2863188683986664, 0.6348127722740173, -0.5238593220710754, 0.2867339253425598, 0.5071706771850586, -0.3963730037212372, -0.22089295089244843, 0.8624816536903381, 0.15552788972854614, 0.25183403491973877, 0.051762934774160385, 0.5106166005134583, -0.146824911236763, -0.32835498452186584, -0.5190590023994446, 0.3309589624404907, -0.2253931760787964, 0.1400856077671051, -0.6179577708244324, -0.196936696767807, -0.2980504333972931, 0.09940050542354584, -0.3494357466697693, -0.07609174400568008, 0.09011879563331604, -0.020915919914841652, 0.15256403386592865, 0.7787907719612122, 0.37672072649002075, 0.3446944057941437, -0.6673743724822998, -0.023999998345971107, 0.6123572587966919, 0.23029054701328278, 0.06114034727215767, -0.17676888406276703, -0.08125002682209015, -0.15255847573280334, -0.8765921592712402, -0.8664745092391968, 0.4232950806617737, 0.10190995037555695, 0.4292077124118805, 0.601945161819458, -0.2640931308269501, 0.2636513411998749, -0.5029196739196777, 0.7859861850738525, -0.09701425582170486, -0.6680871248245239, 0.41553157567977905, -0.8449298143386841, 0.4356801509857178, 0.5961712598800659, 0.1888154000043869, -0.5746759176254272, -0.2456265538930893, -0.6778489947319031, -0.44532015919685364, 0.5672679543495178, 0.1402207463979721, 0.26099175214767456, -0.09410186856985092, 0.5083835124969482, -0.023991497233510017, 0.6477976441383362, -0.31481343507766724, 0.13356217741966248, -0.1399937868118286, -0.36477887630462646, 0.030805988237261772, -0.05184706300497055, -0.06828135997056961, -0.32564330101013184, 0.3723357915878296, -0.4692842662334442, 0.4704548716545105, -0.1759539544582367, 0.6024038791656494, -0.09603251516819, 0.15503087639808655, 0.4143798053264618, 0.6345201134681702, -0.18202665448188782, -0.02771836891770363, -0.025796957314014435, -0.4809824824333191, 0.12577663362026215, -0.15998102724552155, -0.06455683708190918, -0.2309211939573288, 0.05224258452653885, 1.0346959829330444, -0.1999247819185257, -0.5114694833755493, 0.4320000112056732, -0.07799724489450455, -0.2636774480342865, -0.5128456354141235, 0.6081271171569824, 0.07394463568925858, 0.2347654551267624, 0.0949387475848198, -0.23316523432731628, -0.3256799578666687, -0.8929632902145386, 0.07790296524763107, 0.2691320478916168, -0.28219467401504517, -0.41430944204330444, 0.3833772540092468, 0.5901274085044861, -0.35216522216796875, 0.9236370921134949, -0.37785807251930237, -0.4672393798828125, 0.41928160190582275, 0.4807862639427185, 1.1088457107543945, -0.20731575787067413, 0.2938742935657501, 0.23861615359783173, -0.1875961422920227, 0.14063987135887146, 0.4740639626979828, -0.0057767173275351524, -0.963083803653717, -0.5865243673324585, -0.8179751038551331, -0.52299565076828, 0.5908501744270325, -0.17077988386154175, 0.39270642399787903, -0.7784472107887268, -0.4005902111530304, 0.13866788148880005, 0.4054965674877167, -0.643837034702301, 0.2128141075372696, 0.3417813181877136, 0.41878196597099304, -0.4539732336997986, 0.7806148529052734, 0.5518589019775391, 0.020269308239221573, -0.7342490553855896, 0.4164018929004669, 0.1855761557817459, -0.485029399394989, 0.8456566333770752, 0.060871779918670654, -0.09035377949476242, 0.21574844419956207, -0.6445959210395813, -0.6494812965393066, 0.9840051531791687, 0.3863641023635864, -0.6382144093513489, -0.11708316206932068, 0.03383835777640343, 0.6914966702461243, -0.5388776659965515, 0.2662038207054138, 0.563278317451477, 0.747443675994873, 0.1577872931957245, -0.7746989130973816, 0.06781310588121414, -0.2695675194263458, 0.042459532618522644, 0.12442165613174438, -1.0296533107757568, 0.8206313848495483, -0.15251880884170532, 0.030176179483532906, 0.08420690149068832, 0.6828286647796631, 0.3975004553794861, -0.35003364086151123, 0.6398056745529175, 0.1079460009932518, 0.8802609443664551, -0.07481604069471359, 0.7922094464302063, -0.524476945400238, 0.04306530952453613, 1.1342687606811523, -0.8154560923576355, 0.5046488642692566, 0.20124831795692444, -0.022593297064304352, 0.9581260085105896, 0.3146023154258728, -0.24032346904277802, 0.19232337176799774, 0.7325588464736938, -0.41613471508026123, -0.3685622215270996, 0.18951654434204102, 0.14372728765010834, 0.9246931672096252, 0.24934116005897522, -0.41336315870285034, 0.14972460269927979, -0.13806037604808807, 0.23593007028102875, -0.06288125365972519, 0.0774732232093811, 0.766559898853302, -0.18703028559684753, -1.0068135261535645, 0.38633573055267334, 0.23034048080444336, 0.4706844687461853, -0.7147658467292786, -0.06755663454532623, -0.18549656867980957, 0.389192670583725, -0.09856651723384857, -0.9174564480781555, 0.22558090090751648, 0.1458394080400467, -0.12139177322387695, -0.32838720083236694, 0.6583781838417053, -0.3628080189228058, -0.22183427214622498, -0.08307050913572311, 0.6788158416748047, 0.20692391693592072, -0.03809936344623566, -0.621362030506134, 0.028118018060922623, 0.1340211182832718, -0.5577023029327393, 0.5045787692070007, 0.5935010313987732, -0.04400823265314102, 0.6242163777351379, 0.6164140105247498, 0.175668403506279, -0.2301529496908188, 0.20004571974277496, 0.7075632214546204, -0.6627540588378906, -0.4580833315849304, -0.9403159618377686, 0.2687065303325653, -0.29557088017463684, -0.518695056438446, 0.6381305456161499, 0.23445020616054535, 0.506780743598938, -0.057575881481170654, 1.0723334550857544, -0.27887409925460815, 0.6029548048973083, -0.1822064220905304, 0.7913188934326172, -0.11799698323011398, -0.1527806967496872, -0.6006221771240234, -1.035546898841858, 0.10323352366685867, 0.530312716960907, -0.38883185386657715, 0.4992429316043854, 0.5283116698265076, 0.8037309050559998, 0.10455262660980225, 0.029672741889953613, 0.500361442565918, 0.5972269773483276, 0.6622722744941711, 0.3942128121852875, 0.9435324668884277, 0.18999822437763214, 0.1076996922492981, 0.23462721705436707, -0.4527137577533722, -0.1155373603105545, -1.0144010782241821, -1.0508983135223389, -0.44722795486450195, -0.3440861105918884, -0.2836906909942627, -0.26720085740089417, 0.9051953554153442, 0.6394335627555847, -0.2299441397190094, -0.11132484674453735, -0.005251743830740452, -0.2601940333843231, -0.10606491565704346, -0.25173747539520264, -0.1228519156575203, -0.14557598531246185, -1.063416838645935, 0.4809424877166748, 0.3180277943611145, -0.22893734276294708, -1.1568818092346191, 0.046089768409729004, 0.07558149844408035, 0.4730013608932495, 0.7396041750907898, 0.09516869485378265, -0.32330194115638733, -0.5118164420127869, -0.10884495824575424, -0.022761011496186256, -0.11525770276784897, 0.912013828754425, -0.6368607878684998, 0.31236058473587036, 0.5666391849517822, 0.33643639087677, 0.4829254150390625, 0.059574615210294724, 0.801300585269928, -0.7515074610710144, -0.16918735206127167, 0.17487090826034546, 0.14057832956314087, 0.3401646018028259, -0.46424639225006104, 0.031049305573105812, 0.36488521099090576, -0.8796151876449585, -0.5171098709106445, 0.7346318960189819, -0.8932186961174011, 0.09553000330924988, 1.268371820449829, -0.09443098306655884, -0.06920798122882843, -0.04047689214348793, -0.44853830337524414, 0.12675431370735168, -0.3753395676612854, 0.8830661773681641, 0.6948817372322083, -0.455250084400177, 0.09238923341035843, -0.3723633885383606, 0.5664590001106262, 0.30081939697265625, -0.8628848791122437, 0.40107646584510803, 0.5884713530540466, 0.21362905204296112, 0.2138231247663498, 0.49785327911376953, -0.18867936730384827, -0.21238134801387787, -0.14611245691776276, 0.052220240235328674, -0.10899844765663147, -0.34016966819763184, 0.1357952505350113, 0.23180924355983734, 0.028035666793584824, 0.3681255877017975 ]
http://arxiv.org/abs/2404.07066v2
http://arxiv.org/pdf/2404.07066v2
Exploring Concept Depth: How Large Language Models Acquire Knowledge at Different Layers?
2024-04-10T14:56:40
2024-04-30T18:53:56
Mingyu Jin, Qinkai Yu, Jingyuan Huang, Qingcheng Zeng, Zhenting Wang, Wenyue Hua, Haiyan Zhao, Kai Mei, Yanda Meng, Kaize Ding, Fan Yang, Mengnan Du, Yongfeng Zhang
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) have shown remarkable performances across a wide range of tasks. However, the mechanisms by which these models encode tasks of varying complexities remain poorly understood. In this paper, we explore the hypothesis that LLMs process concepts of varying complexities in different layers, introducing the idea of "Concept Depth" to suggest that more complex concepts are typically acquired in deeper layers. Specifically, we categorize concepts based on their level of abstraction, defining them in the order of increasing complexity within factual, emotional, and inferential tasks. We conduct extensive probing experiments using layer-wise representations across various LLM families (Gemma, LLaMA, QWen) on various datasets spanning the three domains of tasks. Our findings reveal that models could efficiently conduct probing for simpler tasks in shallow layers, and more complex tasks typically necessitate deeper layers for accurate understanding. Additionally, we examine how external factors, such as adding noise to the input and quantizing the model weights, might affect layer-wise representations. Our findings suggest that these factors can impede the development of a conceptual understanding of LLMs until deeper layers are explored. We hope that our proposed concept and experimental insights will enhance the understanding of the mechanisms underlying LLMs. Our codes are available at https://github.com/Luckfort/CD.
[ -0.4217066168785095, -0.8721945881843567, 0.9066829681396484, 0.01590445078909397, -0.1413128525018692, 0.4847036302089691, -0.17103274166584015, -0.7135838866233826, -0.08577858656644821, 0.4219357967376709, -0.38764485716819763, -0.4604467451572418, -0.8730723857879639, -0.13408437371253967, -0.40638551115989685, 0.5785824656486511, -0.07075594365596771, -0.049955181777477264, -0.4674907624721527, 0.1765453815460205, -0.16884271800518036, -0.5246424078941345, -0.6056031584739685, -0.7984985709190369, 0.6425914168357849, 0.6192215085029602, 0.5455330610275269, 0.4454439580440521, 0.6374390125274658, 0.2661220133304596, -0.3696548044681549, 0.3161938190460205, -0.49722549319267273, 0.1706138253211975, -0.07215624302625656, -0.755070686340332, -0.3298044502735138, -0.005956634879112244, 0.6005316972732544, 1.077795147895813, 0.012260853312909603, 0.11511793732643127, -0.010246507823467255, 0.6322032809257507, -0.5962996482849121, 0.1401013731956482, -0.4470009505748749, 0.09846723824739456, -0.08774103224277496, -0.1450490653514862, -0.16976088285446167, 0.23679734766483307, 0.5326995253562927, -0.2994477152824402, 0.2329915165901184, -0.02909325808286667, 0.7302618622779846, 0.011219584383070469, -0.5445113182067871, -0.4113530218601227, -0.8846932649612427, 0.6076542139053345, -0.5729930996894836, 0.3574163317680359, 0.3686685562133789, 0.021632036194205284, 0.13795027136802673, -0.5363683700561523, -0.6137674450874329, -0.3445391356945038, -0.08375658839941025, -0.03625405952334404, -0.05073121190071106, 0.01968350075185299, 0.40391555428504944, 0.5272853374481201, -0.2111004739999771, 0.2969650626182556, -0.33148282766342163, 0.044306136667728424, 0.6060411930084229, 0.18252341449260712, 0.30075129866600037, -0.24135904014110565, -0.3006262481212616, 0.029152892529964447, -0.769748866558075, 0.3585208058357239, 0.2511497735977173, 0.19266138970851898, -0.4500914514064789, 0.6918109655380249, -0.2565334141254425, 0.3691534399986267, -0.029227685183286667, -0.2459476888179779, 0.26735758781433105, -0.1984701007604599, -0.37324681878089905, 0.12093643844127655, 0.4847998321056366, -0.11306244134902954, 0.17118540406227112, -0.23813194036483765, -0.35274967551231384, -0.09355512261390686, 0.23798879981040955, -0.7079271674156189, -0.08965200185775757, 0.4599956274032593, -0.1876295953989029, -0.3542800545692444, 0.09846611320972443, -0.06121496111154556, -0.5581641793251038, -0.4100564122200012, 0.4743152856826782, -0.4486861824989319, -0.5562481880187988, 0.578850269317627, -0.10937543958425522, 0.33320602774620056, 0.3380856513977051, -0.6031326055526733, 0.509925901889801, 0.9655292630195618, 0.7727092504501343, -0.2871277630329132, -0.25599199533462524, -0.17640191316604614, 0.20140640437602997, -0.5353232026100159, 0.737562358379364, -0.8300642967224121, -0.24478891491889954, -0.134885773062706, -0.10219442844390869, -0.04852205142378807, -0.6264333724975586, 0.412322998046875, -0.7621644735336304, 0.13395483791828156, -0.482002854347229, -0.6887796521186829, -0.3461718261241913, 0.3247765898704529, -0.6285906434059143, 0.8952091932296753, -0.05186391621828079, -0.7448768615722656, 0.28319182991981506, -0.6064127683639526, -0.5176097750663757, 0.026522943750023842, -0.2268555611371994, -0.13199825584888458, 0.5753602981567383, 0.12986882030963898, 0.9109471440315247, -0.6322207450866699, 0.053170304745435715, -0.23733937740325928, -0.35055866837501526, 0.45602431893348694, 0.008048530668020248, 0.6243633031845093, 0.09785403311252594, -0.2531304657459259, 0.06882381439208984, -0.6829631328582764, -0.3169085383415222, 0.3388519585132599, -0.276388943195343, -0.5494685769081116, 0.02677335776388645, -0.4681684672832489, 0.2019694298505783, 0.18333378434181213, -0.5716629028320312, 0.07419703900814056, -0.42909693717956543, 0.655839204788208, 0.38158535957336426, 0.10809867829084396, 0.7153818607330322, -0.12731371819972992, 0.5036815404891968, 0.6477406620979309, -0.2692456543445587, -0.06826020777225494, -0.3011026680469513, -0.8351701498031616, -0.04439039155840874, 0.15767697989940643, 0.3190527856349945, -0.5087888836860657, 0.04585126042366028, -0.37546828389167786, -0.46220898628234863, -0.5065893530845642, 0.23827475309371948, 0.42421332001686096, 0.25253474712371826, 0.1840670257806778, -0.4972718060016632, -0.029576018452644348, -0.9610748887062073, 0.10773731023073196, -0.17405878007411957, -0.03342105820775032, 0.3256906569004059, 0.63950115442276, -0.2231530249118805, 0.5971251726150513, -0.5690577626228333, -0.11200043559074402, -0.4124949872493744, 0.21506112813949585, 0.0044619617983698845, 0.40205588936805725, 0.19141815602779388, -0.7475454211235046, 0.06319759786128998, 0.24713531136512756, -0.6040253639221191, 0.10674754530191422, -0.06102346256375313, -0.08386333286762238, -0.1697734296321869, 0.6206295490264893, -0.9734005928039551, -0.09705488383769989, 0.5865721106529236, 0.004760576877743006, 0.3638406991958618, -0.08955216407775879, -0.2766476571559906, -0.932289183139801, -0.22027181088924408, 0.06668668985366821, -0.018472231924533844, -0.8304779529571533, 0.4456624388694763, 0.18382437527179718, 0.2863014340400696, -0.34382668137550354, 0.29778027534484863, -0.7284403443336487, -0.41777971386909485, -0.09745074808597565, 0.35556042194366455, 0.4140431582927704, 0.4408082365989685, 0.14514166116714478, 0.4830245077610016, 0.7731730341911316, -0.7585818767547607, 0.3907078504562378, -0.2372950315475464, -0.7446580529212952, 0.3107118308544159, -0.7286852598190308, 0.3604995608329773, -0.21615424752235413, 0.048182450234889984, -1.036704659461975, -0.2634866237640381, 0.036265548318624496, -0.3273448944091797, 0.42156124114990234, -0.03291557729244232, -0.6932631731033325, -0.12136180698871613, -0.09226571023464203, 0.44455474615097046, 0.26447594165802, -0.1270662099123001, 0.5919741988182068, 0.5373799800872803, -0.055795107036828995, -0.47802871465682983, -0.8524051308631897, 0.13269950449466705, -0.45293375849723816, -0.6714662909507751, 0.5134109854698181, 0.11953027546405792, -0.6757391095161438, -0.1281326711177826, -0.27473241090774536, -0.08509381115436554, 0.24300538003444672, 0.2685692608356476, -0.10697487741708755, -0.5017098188400269, 0.30625951290130615, 0.13614816963672638, 0.38851839303970337, 0.5681486129760742, -0.3547361195087433, 0.6215758919715881, -0.05968722328543663, -0.47822651267051697, -0.18247416615486145, 0.13782276213169098, 0.5618557333946228, -0.4300813376903534, 0.6955780982971191, 0.5096168518066406, -0.4645002484321594, -0.533940315246582, -0.6797372102737427, -0.10869132727384567, -0.46642976999282837, 0.48778894543647766, -0.8064935207366943, -1.0375730991363525, 0.8304178714752197, -0.07600772380828857, -0.1749279499053955, 0.26276764273643494, 0.5081584453582764, -0.34505417943000793, 0.8431005477905273, 0.7311903238296509, 0.02551329880952835, 0.12827058136463165, -0.6429451704025269, 0.08460074663162231, -1.0243666172027588, -0.4434073269367218, -0.3815871477127075, -0.331027090549469, -0.3676261901855469, -0.8041529059410095, 0.082709401845932, 0.2949412167072296, -0.17055922746658325, -0.09988412261009216, 0.03842424601316452, 0.6049404740333557, 0.28915348649024963, 0.23095467686653137, 0.4867272675037384, 0.1230177953839302, -0.15039114654064178, 0.32042112946510315, -0.6269391775131226, -0.38309940695762634, 0.6782747507095337, 0.7658044695854187, 0.7469739317893982, 0.15843285620212555, 0.7345386743545532, -0.02487342618405819, -0.03993907570838928, -1.0594303607940674, 0.4107094407081604, -0.0913316011428833, -0.4386632740497589, -0.38585904240608215, -0.29648885130882263, -0.7880887389183044, 0.2540344297885895, 0.1136908084154129, -0.4289380609989166, 0.4203616976737976, -0.23813998699188232, -0.38438838720321655, 0.2661055028438568, -0.6819767355918884, 0.5408152937889099, -0.1498587429523468, -0.2877011299133301, -0.3688207268714905, -0.6311359405517578, 0.5587581396102905, -0.17368297278881073, 0.21800176799297333, -0.13876627385616302, -0.1549653708934784, 0.5135344862937927, 0.07509306073188782, 0.9638203978538513, -0.005259880796074867, -0.9685001373291016, 0.37637677788734436, 0.513724148273468, 0.2749529182910919, 0.12873490154743195, -0.020102418959140778, 0.11127937585115433, -0.2525554299354553, -0.4041427969932556, -0.5499039888381958, 0.6313582062721252, -0.9525285959243774, -0.7611286640167236, 0.004472270607948303, -0.753830075263977, -0.41343188285827637, -0.018335219472646713, 0.04894737899303436, 0.45990845561027527, 0.11256090551614761, 0.302163302898407, 0.995521068572998, -0.24008780717849731, 0.0592765212059021, 0.369737446308136, -0.07669561356306076, 0.47739139199256897, 0.8170298933982849, 0.1440892219543457, 0.6285294890403748, 0.8309968113899231, 0.15853138267993927, -0.15239813923835754, -0.9348256587982178, -0.07549849897623062, 0.2103399634361267, -0.8196360468864441, -0.07399879395961761, -0.6702494621276855, -0.3783454895019531, -0.2656250596046448, 0.18008209764957428, -0.23156321048736572, -0.43577277660369873, -0.32380712032318115, -0.5483755469322205, 0.1988089233636856, 0.9859154224395752, 0.19266074895858765, 0.29816147685050964, -0.5622298121452332, 0.36512771248817444, 0.470490038394928, 0.2831229269504547, 0.245700404047966, -0.6810657978057861, -0.3157661259174347, 0.11564427614212036, -0.028560558333992958, -0.548349916934967, 0.13262155652046204, 0.17622706294059753, 0.4217836260795593, 0.38962888717651367, -0.18537846207618713, 0.7741003632545471, -0.3028336763381958, 0.7178715467453003, -0.18017011880874634, -0.9979338645935059, 0.2886570394039154, -0.2775750756263733, 0.4805886447429657, 0.12098748236894608, 0.42379289865493774, -0.413330614566803, -0.5591911673545837, -0.5088419914245605, -0.7913323044776917, 0.7241109609603882, 0.018711483106017113, 0.5270853042602539, 0.23728047311306, 0.5272828936576843, 0.12938793003559113, 0.24506613612174988, -0.5909987092018127, -0.10866384208202362, 0.09562660753726959, 0.23415125906467438, -0.2292977273464203, -0.4940928816795349, -0.15533357858657837, -0.07104622572660446, 0.07136877626180649, 0.01797623187303543, 0.23761628568172455, 0.3097742795944214, -0.38981571793556213, -0.1585092842578888, 0.21959440410137177, 0.5690847039222717, 0.6338028311729431, -0.12865974009037018, 0.6387486457824707, 0.1687958985567093, -0.3826296925544739, -0.13072876632213593, -0.23116850852966309, 0.21149349212646484, -0.3468618392944336, 0.8817092776298523, 0.9976494908332825, 0.3056218922138214, -0.5140820145606995, 0.2525155246257782, 0.07683227956295013, -0.40697720646858215, -0.10313348472118378, 0.29519543051719666, 0.6102855801582336, 0.5024890899658203, 0.2996843457221985, -0.2394372820854187, 0.1518932580947876, -0.7596478462219238, -0.0538405179977417, 0.43990179896354675, -0.21368011832237244, -0.4702500104904175, 0.14103981852531433, 0.050732798874378204, -0.009866763837635517, 0.39720985293388367, -0.2346847951412201, -0.4153876006603241, 0.8017359375953674, 0.3733636438846588, 0.7263161540031433, 0.012447034940123558, 0.3120734989643097, -0.024339202791452408, 0.33688920736312866, -0.11223898082971573, 0.29137295484542847, -0.04490634426474571, -1.2601816654205322, -0.6949397921562195, -0.6646534204483032, -0.3583235740661621, 0.35611724853515625, -0.5335803627967834, -0.11941742151975632, -0.5053312182426453, 0.06293592602014542, 0.0020245532505214214, 0.10503817349672318, -0.8437187075614929, 0.32453837990760803, 0.55958092212677, 0.8551788330078125, -0.6046168804168701, 0.8745054006576538, 0.7238401770591736, -0.21149207651615143, -0.8517070412635803, 0.14655953645706177, -0.13377396762371063, -1.0215803384780884, 0.976654589176178, 0.054892756044864655, -0.49646613001823425, 0.048180002719163895, -0.6099585890769958, -1.0397799015045166, 0.9563687443733215, 0.23981434106826782, -0.5074812173843384, -0.27219903469085693, 0.4570077955722809, 0.7217262387275696, -0.7652676105499268, -0.015948664397001266, 0.7291728854179382, 0.27099505066871643, 0.09640908986330032, -0.6803349256515503, 0.0997597947716713, -0.21502184867858887, 0.06264877319335938, -0.19513891637325287, -0.48600852489471436, 0.9766180515289307, -0.5563657283782959, -0.4058587849140167, -0.245651513338089, 0.5727828741073608, 0.08952925354242325, 0.17824630439281464, 0.5080323815345764, 0.47263771295547485, 0.6811999678611755, 0.017887713387608528, 1.149013638496399, -0.21499060094356537, 0.07856424152851105, 0.9637662172317505, -0.36346715688705444, 0.7870296239852905, 0.3254379332065582, -0.06130996719002724, 0.630363941192627, 0.659922182559967, 0.24753248691558838, 0.3023856282234192, 0.4829632639884949, 0.003692240919917822, -0.25997889041900635, -0.3142258822917938, -0.1869218647480011, 0.5552200675010681, 0.7558426856994629, -0.20060423016548157, 0.16781216859817505, -0.08620453625917435, -0.1964942365884781, -0.20048008859157562, -0.36742112040519714, 0.907997727394104, 0.4084616005420685, -0.4293699562549591, 0.63698410987854, 0.10357538610696793, 0.5724077224731445, -0.4250710904598236, 0.24216949939727783, -0.2984411120414734, -0.15311267971992493, -0.2826993763446808, -1.0908303260803223, -0.1179625540971756, -0.19925281405448914, -0.10127563029527664, -0.2075280398130417, 0.8108609318733215, -0.43866533041000366, -0.4617234468460083, 0.5776189565658569, 1.0678696632385254, 0.0009485908085480332, -0.19508197903633118, -0.5211052894592285, 0.2583896219730377, -0.3311416804790497, -0.4948854446411133, 0.2124721109867096, 1.0569418668746948, 0.07894880324602127, 0.6699507236480713, 0.42684492468833923, 0.22963722050189972, 0.1468316614627838, 0.47316259145736694, 0.8193148970603943, -0.5869074463844299, -0.13862188160419464, -0.8366310000419617, 0.44037267565727234, 0.09990791231393814, -0.14875438809394836, 0.6204648017883301, 0.286936491727829, 1.1662677526474, 0.09184806048870087, 0.532217800617218, 0.23739467561244965, 0.2295774519443512, -0.6842214465141296, 0.36385712027549744, -0.7474088668823242, 0.5831503868103027, -0.4003470242023468, -0.9109724164009094, -0.19443081319332123, 0.482116162776947, -0.40403610467910767, -0.08883696049451828, 0.7732656002044678, 0.6185163259506226, -0.25971493124961853, 0.0678362175822258, 0.22105492651462555, 0.5055931806564331, 0.3287678062915802, 0.5320655703544617, 1.1926240921020508, 0.0013215665239840746, 0.1233164370059967, -0.6231589317321777, 0.13873720169067383, 0.018451811745762825, -0.6280456185340881, -0.9319515228271484, -0.6099051237106323, -0.29547908902168274, 0.034870535135269165, -0.1939115971326828, 0.7115374803543091, 0.6951073408126831, -0.565434992313385, -0.5239051580429077, -0.03928327187895775, 0.22343821823596954, -0.053514137864112854, -0.21785588562488556, 0.3000751733779907, -0.35606491565704346, -0.7419938445091248, 0.32367655634880066, 0.21418316662311554, 0.04733128473162651, -0.49138301610946655, 0.08719448745250702, -0.03127185255289078, 0.039098698645830154, 0.9380151033401489, -0.27880293130874634, -0.8193226456642151, -0.23052038252353668, 0.03841753676533699, -0.23973077535629272, 0.027856457978487015, 1.0201865434646606, -0.5817713141441345, 0.02984953112900257, 0.5684694647789001, 0.7637028098106384, 0.39045003056526184, -0.23915345966815948, 0.45526760816574097, -0.927912712097168, -0.044218096882104874, 0.1278144270181656, 0.3250947892665863, 0.4248450994491577, -0.42623797059059143, 0.31535714864730835, -0.012024777010083199, -0.07880286127328873, -1.0188595056533813, 0.4342617988586426, -0.9418233633041382, -0.6060218811035156, 1.213497281074524, 0.0530349463224411, -0.047071054577827454, 0.09013162553310394, -0.07512076199054718, 0.10933241993188858, -0.23278483748435974, 0.8501558303833008, 0.9915035367012024, -0.17016656696796417, -0.3811134696006775, -0.6783619523048401, 0.3932079076766968, 0.35580572485923767, -0.7241175174713135, 0.16870766878128052, 0.163875550031662, 0.24947713315486908, 0.36998939514160156, 0.36449676752090454, -0.08153991401195526, -0.1638927459716797, -0.315165638923645, -0.3371286392211914, 0.0409625805914402, -0.4724085330963135, -0.33208760619163513, 0.40502965450286865, 0.21245673298835754, 0.26073339581489563 ]
http://arxiv.org/abs/2404.07060v1
http://arxiv.org/pdf/2404.07060v1
Groundedness in Retrieval-augmented Long-form Generation: An Empirical Study
2024-04-10T14:50:10
2024-04-10T14:50:10
Alessandro Stolfo
cs.CL
cs.CL, cs.LG
We present an empirical study of groundedness in long-form question answering (LFQA) by retrieval-augmented large language models (LLMs). In particular, we evaluate whether every generated sentence is grounded in the retrieved documents or the model's pre-training data. Across 3 datasets and 4 model families, our findings reveal that a significant fraction of generated sentences are consistently ungrounded, even when those sentences contain correct ground-truth answers. Additionally, we examine the impacts of factors such as model size, decoding strategy, and instruction tuning on groundedness. Our results show that while larger models tend to ground their outputs more effectively, a significant portion of correct answers remains compromised by hallucinations. This study provides novel insights into the groundedness challenges in LFQA and underscores the necessity for more robust mechanisms in LLMs to mitigate the generation of ungrounded content.
[ -0.28864991664886475, -1.0854308605194092, 1.0980569124221802, 0.09839504957199097, -0.29443034529685974, 0.041775040328502655, -0.29626932740211487, -0.29235658049583435, 0.2374216914176941, 0.7323468923568726, -0.456452339887619, -0.4754983186721802, -0.3581010401248932, 0.12386152893304825, -0.6859486103057861, 0.75464928150177, 0.10627377778291702, -0.11615421622991562, -0.6477189064025879, -0.14435698091983795, -0.5899287462234497, -0.9408786296844482, -0.08328928798437119, -0.3912019729614258, 0.2744929790496826, 0.35463106632232666, 0.5640712976455688, 0.3238787055015564, 0.2714950144290924, 0.13368169963359833, -0.332235187292099, -0.05285940319299698, -0.6799160838127136, 0.35948216915130615, -0.0673464983701706, -0.41691577434539795, -0.20975342392921448, -0.16847680509090424, 0.8443674445152283, 1.0635724067687988, -0.1913275122642517, 0.08667796850204468, 0.01143668219447136, 0.8238805532455444, -0.6696043610572815, -0.4312843978404999, -0.6758224964141846, 0.08851087838411331, 0.1400943249464035, -0.2976936995983124, -0.5770548582077026, -0.31022873520851135, -0.09412363171577454, -0.30097857117652893, 0.4493404030799866, 0.10982947051525116, 0.8621858358383179, 0.3408883810043335, -0.6942724585533142, -0.2858204245567322, -0.5387696623802185, 0.6853299140930176, -0.6862490177154541, 0.5224484801292419, 0.5047260522842407, 0.09657560288906097, -0.39321067929267883, -0.7122953534126282, -0.44602498412132263, -0.5532963275909424, -0.03530532866716385, 0.1950211077928543, 0.18816499412059784, 0.25253304839134216, 0.522653341293335, 0.5610201358795166, -0.2947830855846405, 0.09912732243537903, -0.2586043179035187, -0.0026040002703666687, 0.5342037081718445, -0.10520894080400467, 0.23247280716896057, -0.4132159352302551, -0.13063569366931915, 0.19194108247756958, -0.9760234355926514, 0.3035365343093872, 0.3526853919029236, 0.187194362282753, 0.24496528506278992, 1.0673850774765015, -0.46362245082855225, 0.5534239411354065, 0.42490050196647644, -0.06021811440587044, 0.050055816769599915, -0.08794145286083221, -0.36679378151893616, 0.3160964846611023, 0.3093454837799072, 0.34261012077331543, 0.1365705132484436, -0.4613671600818634, -0.41298678517341614, -0.3166489601135254, 0.4350437521934509, -0.7906973958015442, 0.2446313500404358, 0.49615681171417236, -0.4923410415649414, -0.4390806555747986, 0.1574058085680008, -0.42240893840789795, -0.46856173872947693, -0.38041794300079346, 0.28403574228286743, -0.18879276514053345, -0.2816306948661804, 0.10749370604753494, 0.013766694813966751, 0.4535185992717743, 0.24233298003673553, -0.6426755785942078, 0.4615659713745117, 0.7550723552703857, 0.5091453790664673, -0.24743136763572693, -0.2195988893508911, -0.821500301361084, -0.1257341504096985, -0.5473961234092712, 0.5233213901519775, -0.2063334584236145, -0.35703280568122864, 0.23688191175460815, 0.2624843716621399, 0.023646993562579155, -0.662645161151886, 0.7059206366539001, -0.8082951903343201, 0.3278777599334717, -0.6627233624458313, -0.5678666234016418, -0.13569574058055878, 0.4633869230747223, -0.4435792565345764, 1.2463982105255127, 0.06080019101500511, -0.7438552975654602, 0.390019953250885, -0.13634347915649414, -0.3782835304737091, -0.1921517550945282, -0.35099515318870544, -0.26134854555130005, 0.5891051292419434, 0.1623384654521942, 0.6200247406959534, -0.29191675782203674, 0.8339850902557373, -0.1969207376241684, -0.6167404651641846, 0.360454261302948, -0.5041157603263855, 0.5553250312805176, 0.007378211710602045, -0.7226037383079529, 0.01438712328672409, -1.0921815633773804, 0.2290586531162262, 0.2541032135486603, -0.35503605008125305, -0.18325744569301605, 0.23693478107452393, -0.041375063359737396, 0.24008096754550934, -0.06857187300920486, -0.5064388513565063, -0.04093794897198677, -0.4265679121017456, 0.30429038405418396, 0.5865805745124817, 0.3231264054775238, 0.2752567529678345, -0.20642510056495667, 0.3676359951496124, 0.03313712403178215, -0.4230336844921112, -0.2526603043079376, -0.2010319083929062, -0.8845630884170532, -0.06493116170167923, 0.06976350396871567, 0.36426302790641785, -0.43445006012916565, 0.5954619646072388, -0.3871322274208069, -0.20466777682304382, -0.19714051485061646, 0.004963996354490519, 0.3292403519153595, 0.7740699648857117, 0.34306374192237854, 0.17681780457496643, -0.3152009844779968, -0.9571028351783752, -0.10114523023366928, 0.026832889765501022, -0.0023019229993224144, 0.3606940507888794, 0.6207014918327332, -0.25661030411720276, 1.078046441078186, -0.4002831280231476, 0.2525328993797302, -0.03354142606258392, -0.005971586797386408, 0.29858240485191345, 0.39410385489463806, 0.5351381897926331, -0.8139256834983826, -0.017069945111870766, -0.27776604890823364, -1.0678341388702393, -0.09822480380535126, -0.14609859883785248, -0.026477938517928123, 0.14094355702400208, 0.688170313835144, -1.0688666105270386, 0.5020425915718079, 0.21041272580623627, -0.329414963722229, 0.5189011096954346, -0.09155987948179245, 0.33572664856910706, -1.0567982196807861, 0.17500180006027222, -0.5331385135650635, -0.2864213287830353, -0.4655994772911072, 0.3482517898082733, 0.05674779787659645, -0.3159639835357666, -0.3380146920681, 0.25592362880706787, -0.645719587802887, -0.27994289994239807, -0.3570621609687805, 0.1631976068019867, 0.2775775194168091, 0.22987249493598938, 0.12042843550443649, 1.1111711263656616, 0.3395332396030426, -0.6233686208724976, 0.21738392114639282, 0.08433189243078232, -0.19359725713729858, 0.27530428767204285, -0.9258303642272949, 0.4316205084323883, -0.6183776259422302, 0.26481661200523376, -0.9872820973396301, -0.5636211633682251, -0.17437294125556946, -0.35338184237480164, 0.24367079138755798, -0.016366129741072655, -0.5255424380302429, -0.18417280912399292, -0.2618822455406189, 0.3913176357746124, 0.6315900683403015, -0.6739275455474854, 0.6355792284011841, -0.066109798848629, 0.07166244834661484, -0.5920493006706238, -0.4657226800918579, 0.09894844889640808, -0.37335091829299927, -0.6457422375679016, 0.2512587606906891, -0.09534785151481628, -0.5807201862335205, -0.17842137813568115, -0.1732238233089447, 0.10742302238941193, 0.43530556559562683, 0.5105475187301636, -0.2842812240123749, -0.5162662863731384, 0.22383899986743927, 0.24159446358680725, 0.3402971029281616, 0.6152987480163574, 0.0027204109355807304, 0.6083242893218994, -0.048041049391031265, -0.5934999585151672, -0.04364948719739914, 0.5367680191993713, 0.7077212333679199, -0.1350264698266983, 0.994233250617981, 0.06224600225687027, -0.6224822998046875, -0.01516752876341343, -0.7528301477432251, -0.17643803358078003, -0.43291613459587097, 0.1545022428035736, -0.4412357211112976, -0.9389898180961609, 0.6920258402824402, 0.1371171921491623, -0.08836838603019714, 0.615976870059967, 0.4623492360115051, -0.12200749665498734, 0.9571396708488464, 0.43281883001327515, 0.1829565465450287, -0.07621369510889053, 0.07769229263067245, 0.06110018864274025, -0.6366286873817444, -0.3823074400424957, -0.47427818179130554, 0.13541512191295624, -0.43109017610549927, -0.11626796424388885, 0.058658551424741745, 0.5152599811553955, -0.37809640169143677, -0.3785194754600525, -0.37832680344581604, 0.4944246709346771, 0.5034644603729248, 0.21499155461788177, 0.11474279314279556, 0.06327138096094131, -0.11917789280414581, -0.10593195259571075, -0.2769106924533844, -0.6071518659591675, 1.0459237098693848, 0.4626436233520508, 0.40052518248558044, 0.18303237855434418, 0.7821150422096252, 0.27724483609199524, 0.025546126067638397, -0.6633071303367615, 0.49281764030456543, 0.39617636799812317, -0.6641302704811096, -0.16948775947093964, -0.23512865602970123, -0.6517667174339294, 0.18995821475982666, -0.35783058404922485, -0.4469291567802429, 0.008337834849953651, -0.1665102243423462, -0.3484581410884857, -0.015228098258376122, -0.3964218199253082, 0.48602530360221863, -0.5231378674507141, -0.6251843571662903, 0.1494867205619812, -0.7686532735824585, 0.527472198009491, -0.24112258851528168, -0.01949336566030979, 0.09726233780384064, 0.33301231265068054, 0.7960143089294434, -0.32235482335090637, 0.6083689332008362, -0.24650539457798004, -0.43314430117607117, 0.3718148469924927, -0.044499803334474564, 0.4918053150177002, 0.4035205543041229, -0.04359404742717743, -0.13710716366767883, -0.08501985669136047, -0.5340182185173035, -0.7541921138763428, 0.7176111340522766, -0.8371927738189697, -1.041224479675293, -0.5604807138442993, -0.2178724706172943, -0.4170927405357361, 0.5037833452224731, 0.44603556394577026, 0.3017578423023224, -0.34670865535736084, 0.7188445329666138, 1.1269012689590454, -0.3226099908351898, 0.12402769923210144, 0.27774181962013245, -0.5707668662071228, -0.524905264377594, 0.3298231065273285, 0.19211407005786896, 0.27809324860572815, 0.21765205264091492, -0.06939837336540222, -0.189264178276062, -0.7048863768577576, -0.3524187207221985, 0.2526862919330597, -1.0298689603805542, 0.02126333862543106, -0.8101658821105957, -0.48734188079833984, -0.471143901348114, -0.2265702784061432, -0.24744907021522522, -0.3184927701950073, -0.5518506169319153, -0.5552011728286743, 0.26334160566329956, 0.652417004108429, 0.34537652134895325, 0.20936939120292664, -0.6859841346740723, 0.6505252122879028, 0.3377877473831177, 0.15311725437641144, -0.14216315746307373, -0.7152937054634094, 0.05408566817641258, 0.3830431401729584, -0.054578498005867004, -0.8994358777999878, -0.01387722510844469, -0.03766721859574318, 0.5071249604225159, 0.356116384267807, 0.17049278318881989, 0.73626708984375, -0.6994944214820862, 1.1313433647155762, -0.04222050681710243, -0.828318178653717, 0.5731616020202637, -0.580807626247406, 0.08773644268512726, 0.7321339249610901, 0.1537998914718628, -0.13674522936344147, -0.1829918622970581, -0.592247724533081, -0.940336287021637, 0.3014332950115204, 0.3496379852294922, 0.5301324725151062, -0.26063141226768494, 0.8426881432533264, 0.001972888596355915, 0.4639878571033478, -0.738349437713623, -0.1332903355360031, -0.432407021522522, 0.03731568157672882, -0.27334094047546387, -0.7953963279724121, -0.24451760947704315, -0.26494932174682617, 0.41693341732025146, -0.07456116378307343, 0.27198532223701477, 0.3062798082828522, -0.3443068563938141, -0.21673168241977692, 0.33490926027297974, 0.9163727760314941, 0.8206619024276733, -0.6325979232788086, 0.27332520484924316, 0.19146284461021423, -0.38051125407218933, 0.3012022078037262, -0.09629181772470474, -0.37217962741851807, 0.009953552857041359, 0.48576870560646057, 0.7609133720397949, 0.1194760724902153, -0.7932456135749817, 0.47933879494667053, 0.03769553080201149, -0.4396192133426666, -0.8288185596466064, -0.0259353369474411, -0.07348090410232544, 0.035921741276979446, 0.7731515765190125, -0.34920528531074524, 0.06486350297927856, -0.6070888638496399, 0.15216900408267975, 0.4949760138988495, -0.21409669518470764, -0.181443989276886, 0.7786202430725098, -0.044218335300683975, -0.13332317769527435, 0.9186964631080627, 0.2583582401275635, -0.5813261270523071, 0.6578434109687805, 0.7338864803314209, 0.9098119139671326, 0.2803644835948944, 0.02840198017656803, 0.19456849992275238, 0.42041003704071045, -0.2849998474121094, 0.22375836968421936, -0.06754610687494278, -0.5589056611061096, -0.26453179121017456, -0.580624520778656, -0.34782639145851135, 0.46946579217910767, -1.057359218597412, 0.119825080037117, -0.45177367329597473, -0.06729645282030106, -0.4723449945449829, 0.004497276619076729, -0.3368651866912842, 0.5849131941795349, 0.1415284126996994, 0.7456334829330444, -0.8673858046531677, 0.37800881266593933, 0.65728360414505, -0.5270981192588806, -0.8138430118560791, 0.33000701665878296, -0.46188628673553467, -0.3984268307685852, 0.816470205783844, 0.48480507731437683, -0.3331383466720581, 0.144884392619133, -0.7965413928031921, -1.042202115058899, 1.1683164834976196, 0.3169618546962738, -0.12854626774787903, -0.18975625932216644, 0.27548402547836304, 0.6023499965667725, -0.2924349009990692, 0.05208425968885422, 0.28654974699020386, 0.151369109749794, -0.007277432829141617, -0.5186315774917603, 0.1649351269006729, -0.24090217053890228, -0.18854732811450958, -0.07354193925857544, -0.5112206339836121, 0.7708854675292969, 0.00643236143514514, -0.2230728268623352, 0.07170788943767548, 0.9338088035583496, 0.7252404689788818, 0.4486848711967468, 0.24782921373844147, 0.6164180636405945, 0.806652307510376, 0.047647472470998764, 0.8982046246528625, -0.2510833442211151, 0.20725597441196442, 0.9297577738761902, -0.6778992414474487, 0.8300697207450867, 0.7333325743675232, 0.22750887274742126, 0.32904213666915894, 0.6220681071281433, 0.29056012630462646, 0.4881910979747772, 0.2636166512966156, -0.004724032711237669, -0.4389496147632599, -0.09974746406078339, -0.6892896890640259, 0.39357033371925354, 0.02174055576324463, -0.4965350031852722, -0.13072681427001953, 0.1857258379459381, 0.05188412219285965, 0.43120208382606506, -0.3030676543712616, 0.598243236541748, 0.06739559769630432, -0.9645846486091614, 1.1033490896224976, 0.11047389358282089, 0.2930608093738556, -0.21817083656787872, -0.10439315438270569, -0.5598530173301697, -0.06127782166004181, -0.31737154722213745, -0.6736310720443726, 0.04142270237207413, 0.16029813885688782, -0.5241055488586426, -0.26103660464286804, 0.8133747577667236, -0.11978265643119812, -0.3926234543323517, 0.1716357171535492, 0.6918299794197083, 0.10693288594484329, -0.2946566641330719, -0.15581004321575165, -0.06312120705842972, -0.17671692371368408, -0.5954505801200867, 0.42180636525154114, 0.6209714412689209, -0.1731613129377365, 0.5407224893569946, 0.784224271774292, -0.18181687593460083, 0.3601920008659363, -0.009268645197153091, 1.0391570329666138, -0.9184330701828003, -0.29558703303337097, -0.6948278546333313, 0.5918869972229004, -0.09719233214855194, -0.13768170773983002, 0.974805474281311, 0.6548768877983093, 0.4251534640789032, -0.061609797179698944, 0.5689850449562073, 0.13489589095115662, 0.6311657428741455, -1.0834603309631348, 0.7782458662986755, -0.6198158264160156, 0.28938359022140503, -0.1753838211297989, -1.236430287361145, -0.12656143307685852, 0.395300030708313, -0.20424461364746094, 0.16175666451454163, 0.7448874115943909, 0.49969810247421265, -0.12957541644573212, -0.2955072224140167, 0.40088772773742676, 0.05851069837808609, 0.20986726880073547, 0.16713900864124298, 1.1875965595245361, -0.5051558017730713, -0.16804403066635132, -0.28857409954071045, 0.18632663786411285, -0.1876470446586609, -0.9097535014152527, -1.220726728439331, -0.3967030346393585, -0.08648708462715149, -0.7113359570503235, 0.13565415143966675, 0.980316162109375, 0.16770488023757935, -0.7053358554840088, -0.00024267792468890548, -0.33697691559791565, -0.07877383381128311, 0.23252658545970917, -0.2185564488172531, 0.5505461096763611, -0.19646520912647247, -0.15078887343406677, 0.5901005864143372, -0.08155012875795364, 0.07841162383556366, -0.060165196657180786, -0.00786123238503933, -0.20309391617774963, 0.21640479564666748, 0.7320932149887085, 0.18737086653709412, -0.8364379405975342, -0.595292866230011, 0.5978750586509705, -0.12299326062202454, 0.07229586690664291, 0.6894651651382446, -0.9271285533905029, 0.11352970451116562, 0.24521152675151825, 0.858639657497406, 0.20334213972091675, 0.5651254653930664, 0.3450562655925751, -0.8622179627418518, 0.32968124747276306, 0.2639317214488983, 0.33581000566482544, 0.3349718153476715, -0.6421567797660828, 0.3568183481693268, 0.16768962144851685, -0.6385397911071777, -1.4035084247589111, 0.04161248728632927, -0.8738276958465576, -0.08302327990531921, 1.6329618692398071, 0.09051992744207382, -0.12582477927207947, 0.08373089879751205, -0.23460513353347778, 0.12862031161785126, 0.12271066009998322, 0.6477212309837341, 1.0117605924606323, 0.2522895932197571, -0.4559341371059418, -0.6924876570701599, 0.3200492858886719, 0.6374219655990601, -0.6649928092956543, 0.1616080105304718, 0.9555369019508362, 0.3310062885284424, 0.167485311627388, 0.6477327942848206, 0.25203394889831543, 0.32086217403411865, -0.23991462588310242, 0.014993701130151749, -0.09823765605688095, -0.37095537781715393, -0.5479335188865662, 0.4102057218551636, 0.462520956993103, 0.1823578029870987 ]
http://arxiv.org/abs/2404.07053v1
http://arxiv.org/pdf/2404.07053v1
Meta4XNLI: A Crosslingual Parallel Corpus for Metaphor Detection and Interpretation
2024-04-10T14:44:48
2024-04-10T14:44:48
Elisa Sanchez-Bayona, Rodrigo Agerri
cs.CL
cs.CL, cs.AI, cs.LG
Metaphors, although occasionally unperceived, are ubiquitous in our everyday language. Thus, it is crucial for Language Models to be able to grasp the underlying meaning of this kind of figurative language. In this work, we present Meta4XNLI, a novel parallel dataset for the tasks of metaphor detection and interpretation that contains metaphor annotations in both Spanish and English. We investigate language models' metaphor identification and understanding abilities through a series of monolingual and cross-lingual experiments by leveraging our proposed corpus. In order to comprehend how these non-literal expressions affect models' performance, we look over the results and perform an error analysis. Additionally, parallel data offers many potential opportunities to investigate metaphor transferability between these languages and the impact of translation on the development of multilingual annotated resources.
[ -0.36406564712524414, -0.2727694511413574, 0.5543491244316101, 0.5554515719413757, -0.3787737786769867, -0.002908878494054079, 0.012152419425547123, -0.8236764669418335, 0.39873483777046204, 0.33472010493278503, -0.5617843866348267, -0.3846034109592438, -0.5738263130187988, 0.4932771921157837, -0.4619658887386322, 0.9415802955627441, -0.08460437506437302, 0.10294438153505325, -0.30055686831474304, -0.5851349234580994, -0.6042104363441467, -0.43247705698013306, -0.5190544724464417, -0.03741680830717087, 0.9734373688697815, 0.1093166396021843, 1.0825213193893433, 0.7672995328903198, 0.2741907835006714, 0.29934296011924744, 0.545113205909729, -0.2645902633666992, -0.2564629018306732, -0.274965763092041, -0.5006325244903564, -0.8492913246154785, -0.14393693208694458, 0.13841645419597626, 1.0554918050765991, 0.8174221515655518, 0.09419931471347809, 0.25472381711006165, -0.05789557844400406, 0.16846776008605957, -0.6304386854171753, 0.5244849920272827, -0.6730467677116394, 0.23677487671375275, -0.5493143796920776, -0.12438420951366425, -0.10673187673091888, -0.10128076374530792, 0.010511691682040691, -0.6707881689071655, 0.0757572278380394, 0.4384253919124603, 0.6802869439125061, 0.18053247034549713, -0.18884924054145813, -0.17523902654647827, -0.2679661810398102, 1.0744619369506836, -0.5143947005271912, 0.5397823452949524, -0.07095102220773697, 0.6181060671806335, 0.2553803026676178, -0.9221574068069458, -0.8020918965339661, 0.15606848895549774, -0.43084073066711426, 0.12708662450313568, -0.2910160720348358, -0.38977307081222534, 0.26243501901626587, 0.07349928468465805, -0.6344150900840759, 0.07887318730354309, -0.4212576746940613, -0.29989463090896606, 0.21120502054691315, 0.38085177540779114, 0.7012515068054199, -0.17262639105319977, -0.45187830924987793, -0.16290061175823212, -0.5924920439720154, -0.18723075091838837, 0.5992790460586548, 0.44257208704948425, -0.32192954421043396, 0.13925209641456604, 0.3376149535179138, 0.7355417013168335, -0.9069086313247681, -0.14953382313251495, 0.6515842080116272, -0.44361332058906555, -0.16182412207126617, 0.20183034241199493, 0.8512476086616516, 0.3411913216114044, 0.43494758009910583, -0.23161928355693817, -0.1645353138446808, 0.3014192283153534, 0.13275694847106934, -0.47185176610946655, 0.03401476889848709, -0.03729894757270813, -0.4744490087032318, -0.43761464953422546, 0.10029764473438263, -0.8584018349647522, -0.14674244821071625, -0.33401528000831604, 0.3362644612789154, -0.26629114151000977, -0.3063402473926544, 0.2338758260011673, -0.4741905629634857, -0.002750080544501543, 0.02343318611383438, -0.6712293028831482, 0.323466956615448, 0.6827415227890015, 0.7202351093292236, -0.15967606008052826, -0.9113805294036865, -0.41246217489242554, 0.36193540692329407, -0.2161930948495865, 0.5148134827613831, -0.7364449501037598, -0.023329535499215126, -0.10837876051664352, 0.27123430371284485, -0.42676302790641785, -0.41875842213630676, 0.7524228096008301, -0.2486172467470169, 0.11309490352869034, -0.34857505559921265, -0.11896989494562149, -0.3609603941440582, 0.3395857512950897, -1.2323346138000488, 0.6067332625389099, -0.1369376927614212, -1.2142376899719238, -0.09725304692983627, -0.6474271416664124, -0.12193986028432846, -0.10137342661619186, -0.5299775004386902, -0.05468478798866272, 0.1804623156785965, 0.2158297598361969, 0.23810067772865295, -0.7487728595733643, 0.28943687677383423, -0.35042282938957214, -0.300597608089447, 0.4267865717411041, -0.40432360768318176, 0.7181118130683899, 0.18698716163635254, -0.25353673100471497, -0.0050697834230959415, -0.6143797636032104, -0.03516416251659393, 0.3239765465259552, 0.3254947364330292, -0.6641533970832825, -0.29974400997161865, 0.5740523934364319, 0.45128312706947327, 0.1954013556241989, -0.7311937212944031, -0.4328885078430176, -0.142069011926651, 0.2909261882305145, 0.3600820004940033, -0.5859982967376709, 0.03088182583451271, -0.36215919256210327, 0.6656992435455322, 0.19661816954612732, -0.012460729107260704, -0.4121510684490204, -0.5576521754264832, -0.47186580300331116, -0.26575660705566406, 0.6841148734092712, 0.6505101323127747, -0.9516393542289734, -0.1769634634256363, -0.5794733762741089, -0.10142956674098969, -0.7080235481262207, -0.03551831841468811, 0.4993544816970825, 0.5752405524253845, 0.426679402589798, 0.07765582203865051, -0.7243654131889343, -1.3495457172393799, -0.570621907711029, 0.0932953804731369, -0.0438358373939991, 0.3260631859302521, 0.5899661183357239, -0.27518653869628906, 0.8939275741577148, -0.06823805719614029, -0.13285945355892181, -0.37609782814979553, 0.5342994332313538, 0.22747626900672913, 0.38043010234832764, 1.1592901945114136, -0.8986024856567383, -0.34741851687431335, 0.023938890546560287, -1.167940378189087, -0.3299153447151184, -0.17921939492225647, -0.20640704035758972, -0.24911755323410034, 0.4613647758960724, -0.35416004061698914, 0.2931865453720093, 0.7750995755195618, -0.1901886910200119, 0.4130456745624542, -0.0037349998019635677, -0.02955358661711216, -1.0272395610809326, 0.2410610467195511, -0.21979373693466187, -0.3850330710411072, -0.5326513648033142, 0.2126755565404892, 0.16966696083545685, 0.0026763027999550104, -0.6722407341003418, 0.8619672060012817, -0.32724514603614807, -0.289434552192688, -0.27501532435417175, 0.05740940198302269, -0.04445718973875046, 0.07420746237039566, 0.43991008400917053, 0.7753496766090393, 0.6731209754943848, 0.00460081547498703, 0.26733312010765076, -0.028585372492671013, -0.24182958900928497, 0.4086272716522217, -0.6400476694107056, -0.17114663124084473, -0.30488839745521545, 0.25560441613197327, -0.6134437322616577, -0.0695086419582367, 0.3167685270309448, -0.004183400422334671, -0.16798807680606842, 0.30852606892585754, -0.7547293901443481, -0.21198102831840515, -0.23483557999134064, 1.002590298652649, 0.11673890799283981, -0.774761438369751, 0.7368175387382507, 0.28538328409194946, 0.049869149923324585, -0.8321782350540161, -0.901771068572998, 0.2712271809577942, -0.33544233441352844, -0.5189929604530334, 0.37469449639320374, 0.17163510620594025, -0.214650958776474, 0.1410890519618988, 0.13595271110534668, -0.14286962151527405, -0.23904584348201752, 0.14016583561897278, 0.16011947393417358, -0.19462202489376068, -0.10808809846639633, 0.12350743263959885, -0.2657616436481476, 0.4014296233654022, -0.27303946018218994, 0.37217825651168823, -0.25058045983314514, -0.22938619554042816, -0.5323115587234497, 0.5551749467849731, 0.9382454752922058, -0.2049691528081894, 0.752326250076294, 0.7760068774223328, -0.493897020816803, 0.04965195804834366, -0.48621103167533875, 0.09403019398450851, -0.3591412305831909, -0.0264067854732275, -0.8210870027542114, -0.5508498549461365, 0.6431823968887329, 0.12685829401016235, -0.0912943035364151, 0.27552759647369385, 0.3453664183616638, 0.11759404838085175, 0.6424590349197388, 0.44752371311187744, -0.22094567120075226, -0.0028162735980004072, -0.02625788189470768, 0.07930686324834824, -0.5165817141532898, -0.020691998302936554, -0.43624040484428406, -0.5408698916435242, -0.47131428122520447, -0.7491008043289185, 0.24168018996715546, -0.33707374334335327, 0.16286735236644745, 0.43324172496795654, 0.10337453335523605, 0.5274885296821594, 0.5087747573852539, -0.1989332139492035, 0.4403074085712433, -0.07666973024606705, -0.4322291612625122, -0.2998352646827698, -0.630213737487793, -0.38358020782470703, 0.9074155688285828, 0.5152878165245056, 0.32174912095069885, 0.09125930815935135, 0.5084404349327087, -0.11768291145563126, 0.3562150299549103, -0.24422869086265564, 0.38071009516716003, -0.011644208803772926, -0.6153864860534668, -0.0009036746341735125, -0.35415321588516235, -0.9656770825386047, 0.6402884721755981, -0.10513678938150406, -0.5662502646446228, 0.19861820340156555, -0.06920667737722397, -0.14220952987670898, 0.36467164754867554, -0.4273751676082611, 1.319451928138733, -0.3558482527732849, -0.1638788878917694, -0.3052091598510742, -0.7920717597007751, 0.6071221828460693, -0.4565466046333313, 0.6457955241203308, -0.18444758653640747, -0.3321363031864166, 0.56524658203125, -0.14699339866638184, 0.7370554804801941, 0.09682509303092957, 0.139855295419693, 0.15663787722587585, 0.018132418394088745, 0.2968079447746277, 0.23914188146591187, -0.1365048587322235, 0.7473390102386475, 0.4082674980163574, -0.5218889117240906, -0.8597708344459534, 0.6507568359375, -0.5427708029747009, -0.3390151560306549, -0.5698714256286621, -1.1414778232574463, -0.07206705957651138, 0.13505755364894867, 0.06056739017367363, 0.05282880365848541, -0.18519476056098938, -0.04078061506152153, 0.047292560338974, -0.4078717529773712, 0.5205504298210144, 0.4027392864227295, -0.46584463119506836, -0.17750948667526245, 0.9629534482955933, -0.004701693542301655, -0.0805458351969719, 0.29720231890678406, 0.230509951710701, -0.4397527575492859, -0.17331384122371674, -0.4087628424167633, 0.6713279485702515, -0.6228467226028442, 0.10408885031938553, -0.8173121213912964, -0.02945743128657341, -0.07339353114366531, 0.22515369951725006, -0.3008836805820465, -0.34164702892303467, -0.04116594046354294, -0.21424977481365204, 0.07421029359102249, 0.3760833442211151, -0.07336563616991043, 0.05980685353279114, -0.836699366569519, 0.24994835257530212, 0.1217486634850502, 0.001211326103657484, -0.21743592619895935, -0.06102670729160309, -0.03827934339642525, -0.045506298542022705, 0.3134860396385193, -0.9508973956108093, 0.5389913320541382, 0.025613509118556976, 0.4937826693058014, 0.34661591053009033, -0.1046828031539917, 0.6128447651863098, -0.7445241212844849, 0.2950473427772522, 0.35682713985443115, -1.0358269214630127, 0.2108527570962906, -0.49401766061782837, 0.18128079175949097, 0.33625343441963196, 0.6251093149185181, -0.5448105931282043, -0.3276863694190979, -0.4812822937965393, -0.3344494700431824, 0.6766840815544128, 0.533338725566864, 0.2030961513519287, -0.0414828322827816, 0.19533075392246246, 0.2429785430431366, 0.4461342990398407, -0.9956532120704651, -0.08363436907529831, -0.2163558155298233, -0.3268861472606659, -0.16979847848415375, -0.07009154558181763, -0.2559049427509308, -0.40016859769821167, 0.0777282789349556, -0.25361162424087524, 0.20595930516719818, -0.23829862475395203, -0.11614762991666794, 0.17154905200004578, -0.07588914781808853, 0.3309812843799591, 0.6870599985122681, 0.01684744656085968, 0.40016672015190125, 0.212493896484375, -0.24679939448833466, -0.22964659333229065, 0.12397244572639465, 0.12130201607942581, 0.4408355951309204, 0.4580104947090149, 0.9834237098693848, 0.5096299052238464, -0.9880416989326477, 0.5422667860984802, -0.20047859847545624, 0.03873289003968239, -0.4125395715236664, -0.44615450501441956, 0.2227293848991394, 0.22575347125530243, -0.06295838207006454, -0.09903417527675629, 0.4149806797504425, -0.6908962726593018, 0.1655009537935257, 0.32671159505844116, -0.05628611892461777, -0.6257584095001221, 0.8220452070236206, 0.0032603363506495953, 0.14193566143512726, 0.5015906095504761, -0.07025624811649323, -0.4274774193763733, 0.5426430702209473, 0.8046567440032959, 0.6763666272163391, -0.2793619930744171, 0.20478376746177673, 0.2591831386089325, 0.4010125696659088, -0.0535321868956089, 0.32731643319129944, 0.17343521118164062, -1.0217207670211792, -0.10951103270053864, -0.7832049131393433, -0.17669594287872314, 0.09763303399085999, -0.6685357689857483, 0.42824918031692505, -0.10671675950288773, 0.17641201615333557, 0.27095696330070496, -0.8477258682250977, -0.9012762904167175, 0.19932794570922852, 0.3731095492839813, 0.8765262961387634, -1.4157209396362305, 1.2630937099456787, 0.6902604699134827, -0.4047660231590271, -0.6429799795150757, -0.07401721179485321, -0.0188400000333786, -0.6955221891403198, 0.96501624584198, 0.4978492558002472, -0.13015195727348328, 0.027814850211143494, 0.042278140783309937, -0.9848531484603882, 0.9993861317634583, 0.8387354612350464, -0.4261735677719116, -0.22137363255023956, 0.7351808547973633, 0.6525177955627441, -0.7103813886642456, 0.5902625322341919, 0.860205888748169, 0.7722163796424866, -0.06747794896364212, -1.139976143836975, 0.1647476702928543, -0.2682839334011078, 0.24496807157993317, -0.02755645290017128, -0.38975057005882263, 1.2658381462097168, 0.2139810025691986, -0.23751859366893768, 0.005203737877309322, 0.5601388216018677, 0.21384409070014954, 0.5105785131454468, 0.712749719619751, 0.7993570566177368, 0.48070892691612244, -0.05359894409775734, 1.1821776628494263, -0.41806814074516296, 0.11889763921499252, 1.1440349817276, -0.31527334451675415, 0.7252367734909058, 0.6109253168106079, 0.11915568262338638, 0.6204347610473633, 0.4560326039791107, 0.11290933936834335, 0.2962230443954468, 0.06450431793928146, -0.32504361867904663, -0.19248805940151215, -0.3008645176887512, -0.277011901140213, 0.41321516036987305, 0.4833486080169678, -0.6251444816589355, -0.6640362739562988, 0.5052763223648071, -0.009849456138908863, 0.1484641134738922, 0.0530545637011528, 0.04372024163603783, 0.07738731801509857, -0.5535679459571838, 0.5051354765892029, 0.0556994266808033, 0.38437631726264954, -0.2404196411371231, -0.1575222611427307, 0.10030544549226761, 0.10607568174600601, -0.1290823221206665, -0.5955069065093994, 0.8012199997901917, -0.2141466587781906, -0.022178664803504944, -0.10101970285177231, 0.20607586205005646, -0.46181410551071167, -0.6840388774871826, 0.7848092317581177, 0.7782412171363831, 0.5160484313964844, -0.1445298194885254, -1.0438928604125977, 0.4810628592967987, -0.2377946674823761, 0.26381900906562805, 0.26315465569496155, 0.47167304158210754, -0.5408099889755249, 0.436191201210022, 0.5038179755210876, -0.18504370748996735, 0.1960451453924179, 0.17265911400318146, 0.7422387599945068, -0.6921492218971252, -0.6081861853599548, -0.8149824738502502, 0.289711594581604, -0.11370956897735596, -0.029149357229471207, 0.8121729493141174, 0.6766453981399536, 0.8960522413253784, -0.37450772523880005, 0.8672815561294556, 0.046008843928575516, 0.6330206990242004, -0.35354238748550415, 0.545953094959259, -0.6400229930877686, 0.13282854855060577, -0.3693707585334778, -1.018517255783081, -0.5800799131393433, 0.4341210722923279, -0.2448856085538864, -0.2083754539489746, 1.1034119129180908, 0.6966359615325928, -0.4647117555141449, 0.23961447179317474, 0.5069907903671265, 0.06298980116844177, 0.019327916204929352, 0.516955554485321, 0.8592268824577332, -0.5444064736366272, 0.43029218912124634, -0.24014468491077423, -0.048123281449079514, 0.27041739225387573, -1.0252726078033447, -1.116842269897461, -0.4120495915412903, -0.1579451709985733, 0.023471899330615997, 0.10415387153625488, 0.6380871534347534, 0.41228893399238586, -0.7758172154426575, -0.530444860458374, -0.3321455419063568, 0.08802346885204315, -0.2350228726863861, -0.17026744782924652, 0.1806584596633911, -0.5749486088752747, -1.3132224082946777, 0.45548027753829956, 0.2372422218322754, -0.1727782040834427, -0.2806911766529083, 0.14320243895053864, -0.20429787039756775, 0.19174990057945251, 0.336534708738327, 0.28461015224456787, -1.0001779794692993, -0.20355501770973206, -0.2422102838754654, 0.06454404443502426, -0.06675950437784195, 0.9524905681610107, -0.9496492743492126, 0.573054313659668, 0.4556007981300354, 0.7334772348403931, 0.3349333703517914, -0.1756380796432495, 0.7484754323959351, -0.676410436630249, 0.7392185926437378, -0.032708995044231415, 0.6174272298812866, 0.2017601877450943, -0.11868397146463394, 0.635841429233551, 0.6519456505775452, 0.1129162609577179, -0.9770903587341309, 0.1709771305322647, -0.7167974710464478, -0.3921455442905426, 0.8385469913482666, -0.3599487543106079, -0.3957580029964447, -0.061617661267519, -0.03810650482773781, 0.008657124824821949, 0.11895064264535904, 0.44577091932296753, 0.5929840207099915, 0.05337187647819519, -0.41563525795936584, -0.9494907855987549, 0.2825409471988678, 0.5582708716392517, -0.6867356896400452, -0.22392737865447998, 0.20680995285511017, 0.3614712357521057, 0.4469563364982605, 0.21284745633602142, -0.3119703531265259, 0.26963892579078674, -0.04698887839913368, 0.11645013839006424, 0.058432210236787796, -0.5383021235466003, -0.2826753854751587, 0.2767530083656311, -0.4482235312461853, -0.45295992493629456 ]
http://arxiv.org/abs/2404.07036v1
http://arxiv.org/pdf/2404.07036v1
A Computational Analysis of the Dehumanisation of Migrants from Syria and Ukraine in Slovene News Media
2024-04-10T14:28:09
2024-04-10T14:28:09
Jaya Caporusso, Damar Hoogland, Mojca Brglez, Boshko Koloski, Matthew Purver, Senja Pollak
cs.CL
cs.CL
Dehumanisation involves the perception and or treatment of a social group's members as less than human. This phenomenon is rarely addressed with computational linguistic techniques. We adapt a recently proposed approach for English, making it easier to transfer to other languages and to evaluate, introducing a new sentiment resource, the use of zero-shot cross-lingual valence and arousal detection, and a new method for statistical significance testing. We then apply it to study attitudes to migration expressed in Slovene newspapers, to examine changes in the Slovene discourse on migration between the 2015-16 migration crisis following the war in Syria and the 2022-23 period following the war in Ukraine. We find that while this discourse became more negative and more intense over time, it is less dehumanising when specifically addressing Ukrainian migrants compared to others.
[ -0.6003087759017944, -0.6377490758895874, 0.45565107464790344, 0.16244661808013916, -0.2941133975982666, 0.13880126178264618, 0.05904480814933777, -0.360147088766098, 0.44360727071762085, 0.28188031911849976, -0.500830888748169, -0.6810466647148132, -0.7341873049736023, 0.19415131211280823, -0.2516496777534485, 0.8700341582298279, -0.02979288622736931, 0.04308398440480232, 0.027993129566311836, -0.3714257776737213, 0.1489366590976715, -0.5631998181343079, -0.15791282057762146, 0.08925735950469971, 0.5853836536407471, 0.303123414516449, 0.7247307300567627, 0.25146400928497314, 0.5173370242118835, 0.2970883846282959, -0.174761101603508, -0.5833690166473389, -0.5338164567947388, 0.05861341580748558, -0.5388749241828918, -0.4917013645172119, -0.01600850746035576, 0.22519010305404663, 0.39149796962738037, 0.6672446727752686, 0.2043031007051468, 0.6128202080726624, -0.07057732343673706, 0.9664286971092224, -0.5512390732765198, -0.1920901983976364, -0.5444596409797668, 0.311932772397995, 0.04636584222316742, -0.03251277655363083, -0.08271806687116623, -0.36760687828063965, -0.3170260488986969, -0.13788340985774994, 0.4228644371032715, -0.30508601665496826, 0.613610029220581, 0.29364949464797974, -0.6287218928337097, 0.029095295816659927, -0.8595291376113892, 0.9066478610038757, -0.37622568011283875, 0.39169448614120483, 0.16730396449565887, 0.08354683965444565, -0.07388394325971603, -0.20579254627227783, -0.4468122720718384, -0.2813226580619812, 0.053706299513578415, 0.2571428120136261, -0.37214943766593933, -0.19244426488876343, 0.20591945946216583, 0.06288211047649384, -0.8197008371353149, -0.15992659330368042, -1.0346479415893555, -0.1616164892911911, 0.5828900337219238, 0.11978980153799057, 0.48563554883003235, -0.3971776068210602, -0.333710640668869, 0.4963921308517456, -0.5168002843856812, -0.009380460716784, 0.7444149255752563, 0.2545842230319977, -0.15271510183811188, 0.7078404426574707, -0.21386151015758514, 0.48202547430992126, -0.03894992545247078, -0.12266532331705093, 0.40286436676979065, -0.01789078861474991, 0.11865126341581345, 0.2613098621368408, 0.3354968726634979, 0.9135571718215942, -0.012658041901886463, -0.10251034051179886, 0.20577563345432281, 0.7384085059165955, 0.5290654897689819, -0.8638543486595154, -0.0005213003023527563, 0.056647758930921555, -0.4312901198863983, -0.5266408324241638, -0.2769790589809418, -1.1149336099624634, -0.46303805708885193, -0.18916690349578857, -0.08782260119915009, -0.04392366483807564, -0.21070709824562073, 0.22770331799983978, -0.04403569921851158, 0.3165062665939331, 0.5449219942092896, -0.4017332196235657, 0.29279592633247375, 0.5708540081977844, 0.7591993808746338, -0.2957315742969513, 0.18463213741779327, -0.4419798254966736, -0.3126312792301178, -0.3612789213657379, 0.7150930762290955, -0.6056069731712341, -0.5226905345916748, -0.1841231733560562, 0.24501436948776245, 0.05603311210870743, -0.2787530720233917, 0.8141023516654968, -0.3672042787075043, 0.32409512996673584, -0.26000919938087463, -0.013291727751493454, -0.4493977427482605, 0.6314293742179871, -0.4857829809188843, 0.878576934337616, 0.6948837041854858, -0.989156186580658, 0.20503024756908417, -0.3569492697715759, -0.18182151019573212, -0.24195900559425354, 0.18198326230049133, -0.11305759847164154, 0.2980417311191559, -0.09836506098508835, 0.12486333400011063, -0.2655608654022217, 0.051838379353284836, -0.6264850497245789, -0.3813551664352417, 0.25313669443130493, 0.13512510061264038, 0.7690395712852478, 0.41385895013809204, -0.4275963306427002, -0.23348698019981384, -0.6779431700706482, -0.4592699706554413, -0.2243048995733261, -0.2510703504085541, -0.44106537103652954, 0.07161064445972443, -0.17465603351593018, 0.7055410146713257, -0.21700350940227509, -1.0529998540878296, 0.3710380494594574, -0.8657454252243042, 0.21417321264743805, 0.12753163278102875, 0.21390512585639954, 0.7051355242729187, -0.22466573119163513, 0.8659124374389648, 0.4872031509876251, 0.15285895764827728, 0.4199470579624176, -0.39372944831848145, -0.7733354568481445, 0.07526849955320358, -0.09149924665689468, 0.853252112865448, -0.6143167614936829, 0.05797279626131058, -0.12276839464902878, -0.5457997918128967, -0.5474903583526611, -0.13994544744491577, 0.07661560922861099, 0.821344792842865, 0.24330101907253265, -0.18605002760887146, -0.8631948828697205, -0.9452471733093262, -0.3233238160610199, -0.6377654075622559, 0.34951263666152954, 0.09898935258388519, 0.487225741147995, -0.6009176969528198, 0.6679613590240479, -0.33461764454841614, 0.0082970280200243, -0.006178249605000019, 0.22006675601005554, 0.0066069345921278, 0.4751144051551819, 0.7453182935714722, -0.934495747089386, -0.3543986976146698, 0.03503720089793205, -0.41972145438194275, -0.1767662912607193, 0.03092951886355877, -0.21244452893733978, 0.5155780911445618, 0.34911850094795227, -0.7270246148109436, 0.6367462277412415, 0.3330974280834198, -0.37646397948265076, 0.40863555669784546, 0.38888686895370483, 0.6161733865737915, -1.0376148223876953, 0.07713411748409271, 0.23475202918052673, -0.0277435090392828, -0.6730844974517822, -0.20500418543815613, -0.49313709139823914, -0.3688613772392273, -1.0850725173950195, 0.6246383786201477, -0.3239530920982361, -0.0876171812415123, 0.18418273329734802, 0.398301362991333, 0.04548434168100357, 0.014899292960762978, -0.22281189262866974, 0.3872200548648834, 0.6147029399871826, -0.1569298356771469, 0.562186062335968, 0.18332071602344513, -0.2960962951183319, 0.5792364478111267, -0.04530813544988632, 0.05955411493778229, -0.9132982492446899, 0.09654612839221954, -1.3157265186309814, -0.05346624180674553, 0.7542181015014648, -0.5585041642189026, -0.31129568815231323, -0.4619370400905609, -0.031478773802518845, -0.5209258794784546, -0.5478281378746033, 0.5490325689315796, 0.5785059928894043, 0.25598612427711487, 0.44304603338241577, 0.54752516746521, -0.4573827385902405, -0.31908127665519714, -0.8578881621360779, 0.4181017577648163, -0.8986820578575134, -0.550015926361084, 0.04723416268825531, 0.12490082532167435, -0.8953008651733398, 0.2269820123910904, 0.19815824925899506, -0.27943164110183716, 0.2605800926685333, 0.29931584000587463, 0.2661621868610382, -0.1980946958065033, 0.1353277713060379, 0.1856003999710083, -0.1027812510728836, 0.21282070875167847, -0.15274809300899506, 0.21494029462337494, 0.06901392340660095, -0.22901001572608948, -0.26383575797080994, 0.5781485438346863, 0.8653213977813721, -0.12028051167726517, 0.8129594326019287, 0.7987097501754761, -0.08319257944822311, 0.1533431112766266, -0.5161352753639221, 0.069642074406147, -0.2926761507987976, 0.28139495849609375, -0.10330372303724289, -0.8599788546562195, 0.8258698582649231, -0.19381944835186005, -0.34919923543930054, 0.7251775860786438, 0.7270841002464294, 0.07672717422246933, 0.9971863031387329, 0.49104762077331543, -0.3027854263782501, 0.041938889771699905, -0.016861537471413612, 0.12514548003673553, -0.6066532135009766, -0.45143258571624756, -0.8167471289634705, -0.762833297252655, -0.7818541526794434, -0.3892597556114197, 0.3057122230529785, -0.149044468998909, -0.11401434987783432, 0.060350172221660614, -0.5638828873634338, 0.32083839178085327, -0.06630770862102509, -0.16777721047401428, 0.20550820231437683, 0.07207394391298294, 0.1565777063369751, -0.29711997509002686, -0.3050079047679901, -0.6193116307258606, 0.3246701657772064, 0.13312698900699615, 0.9708065390586853, 0.19760964810848236, 0.6713599562644958, 0.5551807880401611, 0.7293263077735901, -0.8467949032783508, 0.6073623895645142, 0.1649208515882492, -0.6832296252250671, -0.12949781119823456, -0.38526490330696106, -1.0336120128631592, 0.2905054986476898, -0.18658435344696045, -1.1937353610992432, 0.6620543003082275, -0.20166440308094025, -0.35150250792503357, 0.3445332646369934, -0.27115046977996826, 0.5263419151306152, 0.10092967003583908, -0.3044532537460327, -0.302482008934021, -0.7615156173706055, 0.5199596285820007, -0.1120561733841896, 0.5548107624053955, -0.5225487947463989, -0.2965431809425354, 0.47827982902526855, -0.12433129549026489, 0.8148384690284729, -0.392258882522583, -0.16679918766021729, 0.4021005928516388, 0.3555660843849182, 0.00846252404153347, -0.1944451481103897, -0.5854225158691406, 0.0381961353123188, 0.2683199644088745, -0.48557987809181213, -0.558324933052063, 0.785045862197876, -0.8952860832214355, -0.5440343618392944, -0.2143443375825882, -0.3882856070995331, -0.030885573476552963, -0.2552783787250519, 0.24792183935642242, 0.0392320416867733, -0.5193703174591064, 0.01573067158460617, 0.06600318849086761, -0.30416929721832275, 0.17408135533332825, 0.38229435682296753, -0.5888411998748779, -0.4074004292488098, 0.6634696125984192, 0.5014453530311584, -0.09626636654138565, -0.05213819071650505, 0.07630112767219543, -0.2228274643421173, -0.17954915761947632, -0.7830298542976379, 0.23069226741790771, -0.527217447757721, 0.04763849452137947, -0.5938817262649536, 0.19351260364055634, -0.4773441255092621, -0.3308294713497162, -0.2132449597120285, -0.5468322038650513, -0.4449552893638611, 0.005203279200941324, 0.023649992421269417, 0.49727416038513184, -0.04957304894924164, 0.1444096565246582, -0.9245165586471558, 0.3225685656070709, -0.061236876994371414, -0.01581464894115925, -0.5308910608291626, -0.8038990497589111, -0.3272959589958191, 0.124565988779068, -0.3005049526691437, -1.4983218908309937, 0.6366495490074158, -0.0881100445985794, 0.24420307576656342, 0.24098065495491028, 0.4804867208003998, 0.4732016921043396, -0.23110802471637726, 0.9577463269233704, -0.1099986732006073, -0.6839383244514465, 0.5140213370323181, -0.5358479619026184, 0.019858092069625854, 0.7613514065742493, 0.8282080292701721, -0.6076388359069824, -0.38954561948776245, -0.6954033970832825, -0.7117801308631897, 0.5850841403007507, -0.0644516870379448, 0.49528664350509644, -0.17063561081886292, 0.5067903399467468, 0.012830166146159172, 0.2668147683143616, -0.5058487057685852, -0.04110966622829437, 0.04582813382148743, 0.006679603364318609, -0.1766255795955658, -0.39610257744789124, -0.06416323035955429, -0.7740908861160278, 0.4891425371170044, 0.13413859903812408, 0.08892715722322464, 0.3640579581260681, -0.24314150214195251, -0.39170145988464355, 0.3509431481361389, 0.5208980441093445, 0.6418418884277344, 0.06274111568927765, 0.5170360803604126, 0.33659687638282776, -0.18082697689533234, 0.7791954874992371, -0.0475468747317791, -0.2097761631011963, 0.3945552408695221, -0.056427594274282455, 0.6718634963035583, 0.08093752712011337, -0.42373141646385193, 0.6878678798675537, 0.1620291769504547, -0.5501619577407837, -0.24753957986831665, -0.0808241218328476, -0.006603786256164312, 0.47886884212493896, 0.1302562952041626, 0.06727477163076401, 0.5289122462272644, -0.868830680847168, 0.03767542541027069, 0.3532825708389282, -0.6529530882835388, -0.8212524652481079, 0.2758511006832123, 0.3489939570426941, -0.4528173804283142, 0.23454493284225464, -0.3645016551017761, -0.7685022354125977, 0.34926238656044006, 0.4454933702945709, 0.8069599866867065, -0.4833698868751526, 0.7434937357902527, 0.3847576379776001, 0.3754781484603882, 0.10787402838468552, 0.39221063256263733, -0.06976322829723358, -0.6634867191314697, -0.5438472032546997, -0.6866458058357239, -0.17962217330932617, -0.1202554777264595, -0.910488486289978, 0.25986284017562866, -0.06507596373558044, -0.43740853667259216, -0.21235448122024536, 0.014993082731962204, -0.385139137506485, 0.215998575091362, 0.5583956837654114, 0.6911303997039795, -1.2920957803726196, 0.3253032863140106, 0.9969675540924072, -0.04358869045972824, -0.1961819976568222, 0.01726105622947216, 0.42827755212783813, -0.1756020039319992, 0.8755618333816528, 0.27048829197883606, -0.3139893114566803, 0.1334354281425476, -0.41711995005607605, -0.6373711824417114, 0.19686803221702576, 0.8174375891685486, -0.11990810185670853, 0.004988430067896843, 0.42133644223213196, 0.6847781538963318, -0.15237845480442047, -0.1241929829120636, 0.7410508990287781, 0.6217151284217834, -0.03392167389392853, -0.5563706159591675, -0.16613736748695374, -0.45951756834983826, -0.1942535787820816, 0.34374523162841797, -0.6366152167320251, 0.7967807054519653, 0.06533219665288925, -0.5134199857711792, -0.2675453722476959, 0.16082923114299774, -0.5188278555870056, 0.33270272612571716, 0.49597597122192383, 0.4664049446582794, 0.47182658314704895, -0.0011466993018984795, 0.7976523637771606, -0.35351240634918213, 0.4034172594547272, 0.5430464744567871, -0.2740980088710785, 0.3659851551055908, 0.4504062831401825, -0.2790268361568451, 0.786504864692688, 0.4056699872016907, 0.22949814796447754, 0.34672752022743225, 0.5585373640060425, -0.645972728729248, -0.04802709072828293, -0.35531356930732727, -0.0957341343164444, 0.7836653590202332, 0.16869260370731354, -0.3916879892349243, -0.8525171875953674, 0.5173063278198242, 0.07449295371770859, 0.05472389608621597, -0.4998137056827545, 0.8779135942459106, 0.013011716306209564, -0.43993476033210754, 0.604350209236145, 0.11921930313110352, 0.2007436603307724, 0.1709810048341751, 0.11692387610673904, -0.24373739957809448, -0.11511460691690445, -0.2703802287578583, -0.6505580544471741, 1.0301364660263062, 0.12379412353038788, -0.21998825669288635, -0.11813755333423615, 1.0558152198791504, -0.4387904703617096, -0.8289234638214111, 0.34633901715278625, 1.0378986597061157, 0.7344813346862793, -0.2120460569858551, -0.7601498365402222, 0.2978784441947937, 0.14300689101219177, -0.4857105016708374, 0.40105515718460083, 0.6747239232063293, -0.1622416079044342, 0.42376142740249634, 0.34481045603752136, 0.4316316843032837, -0.022027822211384773, -0.12478575855493546, 1.1196250915527344, -0.7182129621505737, -0.35429808497428894, -1.3596525192260742, 0.6037041544914246, 0.08903669565916061, -0.1295836716890335, 0.7193997502326965, 0.5941017270088196, 0.3673255443572998, 0.009679427370429039, 0.5726758241653442, 0.018832899630069733, 0.7342937588691711, -0.033743493258953094, 0.7213072776794434, -0.5164594650268555, -0.2709316313266754, -0.6599176526069641, -0.9419478178024292, -0.4617719054222107, 0.6447107195854187, -0.6634010076522827, -0.40945756435394287, 0.19418209791183472, 1.1005547046661377, 0.07440480589866638, -0.335805207490921, 0.4399101436138153, 0.12815415859222412, -0.20429101586341858, 0.20563040673732758, 1.1763238906860352, 0.05118725821375847, 0.2554541230201721, -0.2145870178937912, 0.008732510730624199, -0.23472411930561066, -0.7605133056640625, -0.611214816570282, -0.6211602091789246, -0.34981754422187805, -0.44116857647895813, 0.07208835333585739, 0.7016292810440063, 0.4502675533294678, -0.38918885588645935, 0.1425974816083908, 0.2823841869831085, 0.12998545169830322, 0.47965627908706665, -0.23018865287303925, -0.008128355257213116, -0.20640528202056885, -0.6588161587715149, -0.03400386869907379, 0.39696305990219116, 0.12969563901424408, -0.714130699634552, 0.22917157411575317, 0.04808879643678665, 0.2999207079410553, 0.7453060746192932, 0.1431194245815277, -0.5025957822799683, -0.2811189293861389, -0.2657248079776764, -0.16536657512187958, 0.1665315181016922, 0.5597459077835083, -1.054429531097412, 0.2470998466014862, 0.5168468356132507, 0.4786960184574127, 0.4793989956378937, 0.6596917510032654, -0.0278317891061306, -0.44248026609420776, 0.7487485408782959, 0.4761849343776703, 0.06972469389438629, 0.5187526941299438, -0.45918703079223633, 0.3734714388847351, 0.5293411016464233, -0.342236191034317, -1.0158724784851074, 0.06118441000580788, -0.6825496554374695, -0.10620731860399246, 1.1879957914352417, 0.007554840296506882, -0.48223599791526794, -0.42828992009162903, -0.49944227933883667, 0.26073819398880005, -0.20635388791561127, 1.130987286567688, 0.5799860954284668, 0.02059478498995304, -0.16079486906528473, -0.5549620985984802, 0.257600873708725, 0.24539512395858765, -0.8162701725959778, -0.10027756541967392, 0.792730987071991, 0.06589760631322861, 0.31460362672805786, 0.6749977469444275, -0.1465393751859665, -0.03296559676527977, -0.04256162792444229, 0.08974665403366089, 0.23854880034923553, -0.35822319984436035, -0.26078104972839355, 0.29911431670188904, -0.2547655999660492, -0.020218346267938614 ]
http://arxiv.org/abs/2404.07017v3
http://arxiv.org/pdf/2404.07017v3
Improving Language Model Reasoning with Self-motivated Learning
2024-04-10T14:05:44
2024-04-30T14:38:59
Yunlong Feng, Yang Xu, Libo Qin, Yasheng Wang, Wanxiang Che
cs.CL
cs.CL, cs.AI
Large-scale high-quality training data is important for improving the performance of models. After trained with data that has rationales (reasoning steps), models gain reasoning capability. However, the dataset with high-quality rationales is relatively scarce due to the high annotation cost. To address this issue, we propose \textit{Self-motivated Learning} framework. The framework motivates the model itself to automatically generate rationales on existing datasets. Based on the inherent rank from correctness across multiple rationales, the model learns to generate better rationales, leading to higher reasoning capability. Specifically, we train a reward model with the rank to evaluate the quality of rationales, and improve the performance of reasoning through reinforcement learning. Experiment results of Llama2 7B on multiple reasoning datasets show that our method significantly improves the reasoning ability of models, even outperforming text-davinci-002 in some datasets.
[ -0.12983210384845734, -0.3319512903690338, 0.841701865196228, 0.1987859308719635, -0.010881522670388222, -0.08526149392127991, -0.2649182379245758, -0.1139383390545845, -0.04997844249010086, 0.6250826716423035, -0.3710111975669861, -0.3236422836780548, -0.5690694451332092, 0.173239603638649, -0.06536871939897537, 0.6818117499351501, -0.0608011856675148, 0.16826628148555756, -0.23105038702487946, -0.16722561419010162, -0.4904886484146118, -0.8212113976478577, -0.7231108546257019, -0.3785085678100586, 0.8022506237030029, 0.42834311723709106, 0.321743905544281, 0.9390553832054138, 0.24503639340400696, 0.32391178607940674, 0.12647521495819092, 0.2896900773048401, -0.5503111481666565, 0.5282277464866638, -0.3527536392211914, -0.5196354389190674, -0.10464739054441452, 0.2844253182411194, 0.4026297926902771, 0.3412868082523346, -0.2240905463695526, -0.038347117602825165, -0.16905058920383453, 0.6854767203330994, -0.4027136266231537, 0.32748138904571533, -0.5513037443161011, -0.24285711348056793, -0.0734015703201294, -0.43161091208457947, -0.6467489004135132, -0.25070640444755554, -0.24602645635604858, -0.6699591279029846, -0.17844589054584503, 0.12159456312656403, 0.6039889454841614, 0.5135695934295654, -0.4954011142253876, -0.2608688473701477, -0.500164270401001, 0.9236885905265808, -0.6942763924598694, 0.372019499540329, 0.5178027749061584, 0.4189457297325134, -0.17915621399879456, -0.4213098883628845, -0.3974178731441498, -0.4069842994213104, -0.0008001327514648438, -0.05889414995908737, 0.31677234172821045, -0.14320014417171478, 0.6459092497825623, 0.21389339864253998, -0.4710131287574768, 0.0754685252904892, -0.09771554917097092, -0.12967191636562347, 0.9081582427024841, 0.02970227785408497, 0.13338841497898102, -0.26449137926101685, -0.1490064263343811, -0.39694470167160034, -0.7644320130348206, 0.2873622179031372, 0.41010215878486633, 0.23445028066635132, 0.4589187800884247, 0.5245588421821594, -0.6334277391433716, 0.681818962097168, -0.0388566330075264, -0.40033867955207825, 0.18152689933776855, -0.06675052642822266, -0.041868314146995544, 0.06810017675161362, 0.45943769812583923, 0.0625440701842308, 0.293395459651947, -0.06903119385242462, -0.4679861068725586, 0.17331703007221222, 0.12009736895561218, -0.8724403381347656, -0.38371843099594116, 0.334654301404953, -0.432413786649704, -0.30034229159355164, -0.21654115617275238, -0.26378944516181946, -0.3236508369445801, -0.7253166437149048, 0.4368343651294708, -0.4624392092227936, -0.48298022150993347, 0.29558178782463074, -0.08595667779445648, 0.0057485951110720634, 0.7120364904403687, -1.2876474857330322, -0.13466158509254456, 0.5895899534225464, 0.441834032535553, -0.16218170523643494, -0.28208234906196594, -0.6817813515663147, 0.19032691419124603, -0.5983604192733765, 1.020922064781189, -0.5961453914642334, -0.007670062594115734, -0.2594183087348938, -0.21463674306869507, -0.17264509201049805, -0.6198883056640625, 0.512955904006958, -0.3947674036026001, 0.27899521589279175, -0.5775417685508728, -0.794285774230957, -0.2871960401535034, 0.34211069345474243, -0.5917211174964905, 1.11619234085083, 0.20763526856899261, -0.2853936553001404, 0.4468172490596771, -0.6873855590820312, -0.2701037526130676, 0.10071504861116409, -0.26627594232559204, -0.0151707474142313, 0.0733933374285698, 0.43921294808387756, 0.39898669719696045, -0.34424546360969543, 0.653233528137207, -0.3824869990348816, -0.001586240017786622, 0.19272801280021667, -0.2971844971179962, 0.6400448679924011, 0.2841643691062927, -0.33163660764694214, 0.321492463350296, -0.6861973404884338, 0.14055107533931732, 0.2637895345687866, -0.3856201171875, -0.38441282510757446, 0.06939434260129929, -0.4756985306739807, 0.6141097545623779, 0.028796391561627388, -0.30936938524246216, 0.4849114716053009, -0.41249164938926697, 0.26837947964668274, 0.8238146901130676, 0.03611668199300766, 0.45900198817253113, -0.2929040491580963, 0.4655503034591675, 0.06430290639400482, 0.02158946730196476, -0.2638418972492218, -0.34508270025253296, -0.9667752385139465, -0.2637244760990143, 0.40592554211616516, 0.4388963282108307, -0.6647131443023682, 0.3809530436992645, 0.04582061991095543, -0.4309993088245392, -0.5462915301322937, 0.35764822363853455, 0.16974376142024994, 0.5303806066513062, 0.5180355906486511, 0.13665053248405457, -0.34080860018730164, -0.6612856984138489, -0.22929440438747406, -0.22838649153709412, 0.17678202688694, 0.2282497137784958, 0.4932468831539154, -0.06749258935451508, 0.849156379699707, -0.25766393542289734, -0.1276412010192871, -0.2893293499946594, 0.33241650462150574, 0.14829805493354797, 0.7815014719963074, 0.4580923616886139, -0.6561343669891357, -0.24622249603271484, -0.16584065556526184, -0.9047298431396484, -0.17334827780723572, -0.27738669514656067, -0.44387534260749817, 0.3072981834411621, 0.5040947794914246, -0.47459471225738525, 0.16503922641277313, 0.26722943782806396, -0.34758123755455017, 0.48055362701416016, -0.15048794448375702, 0.3500118553638458, -0.7959517240524292, -0.12574011087417603, -0.008267535828053951, -0.2144549936056137, -0.3476622700691223, -0.15681712329387665, -0.059300754219293594, -0.03405298292636871, -0.17014336585998535, 0.6229496002197266, -0.18800440430641174, 0.046503279358148575, -0.3308907151222229, -0.07282780855894089, 0.06166087090969086, 0.6311764121055603, 0.40219196677207947, 0.7862306833267212, 0.5892845392227173, -0.6099545955657959, 0.4665817618370056, 0.1501646637916565, -0.3566746413707733, 0.30577898025512695, -0.5912314057350159, -0.06821317970752716, -0.1018647626042366, 0.09635579586029053, -0.9068491458892822, -0.4857468008995056, 0.1154961958527565, -0.33981114625930786, 0.09096873551607132, -0.07957221567630768, -0.6461576223373413, -0.11064597219228745, 0.13864180445671082, 0.2789004147052765, 0.33214452862739563, -1.0622889995574951, 0.5220762491226196, 0.228130042552948, -0.1771247535943985, -0.474357545375824, -0.33362334966659546, -0.09867899119853973, -0.22977915406227112, -0.5166863203048706, 0.062241531908512115, -0.23085379600524902, -0.17134247720241547, -0.13620588183403015, -0.14665137231349945, 0.20762857794761658, 0.2878427505493164, -0.022678690031170845, 0.08100152015686035, -0.11967656016349792, 0.6055018901824951, 0.22191430628299713, -0.39880436658859253, 0.30061259865760803, -0.36702635884284973, 0.42335397005081177, -0.18183957040309906, -0.42550891637802124, -0.43503448367118835, 0.2889377772808075, 0.3844190239906311, -0.3799247145652771, 0.659500777721405, 0.2021888643503189, -0.2773520350456238, -0.30101916193962097, -0.6750122904777527, -0.3445931673049927, -0.46038585901260376, 0.08548780530691147, -0.5899576544761658, -1.0795916318893433, 0.24254271388053894, -0.2935071587562561, -0.04962432011961937, 0.5828742384910583, 0.6958038806915283, -0.0840148851275444, 1.6221654415130615, 0.260980486869812, 0.12258122861385345, 0.34190833568573, -0.10118715465068817, 0.25624319911003113, -0.4458859860897064, -0.456266850233078, -0.41500914096832275, 0.09703588485717773, -0.4117184281349182, -0.3739115297794342, -0.01614704355597496, 0.38440051674842834, -0.4364822804927826, 0.14674782752990723, -0.658019483089447, 0.5243896842002869, 0.6240227222442627, -0.07412447780370712, 0.2559535503387451, 0.01574801281094551, -0.23843485116958618, 0.02964981272816658, -0.7200813293457031, -0.6947011351585388, 1.0143319368362427, 0.3269801437854767, 0.6947874426841736, 0.24249795079231262, 0.9043539762496948, 0.26594287157058716, 0.4700618088245392, -0.6301783323287964, 0.4474738836288452, 0.2992190718650818, -0.5619718432426453, -0.4465586841106415, -0.7599440217018127, -0.6946679353713989, 0.35725000500679016, -0.19373853504657745, -0.5814138650894165, 0.2059537023305893, 0.39516332745552063, -0.2076696753501892, -0.10140213370323181, -0.7007887363433838, 1.2118053436279297, -0.7083369493484497, -0.3617129623889923, -0.42854708433151245, -0.2536594569683075, 0.4039929509162903, 0.1318238377571106, 0.0016324932221323252, -0.46735450625419617, 0.31230872869491577, 0.6940385103225708, -0.4291638135910034, 0.46127668023109436, -0.2736324667930603, -0.1750640869140625, 0.1773284375667572, 0.25253522396087646, 0.3303907811641693, 0.2655816376209259, -0.3334760069847107, -0.06251657754182816, -0.1272050142288208, -0.5932775735855103, -1.0023633241653442, 0.708344042301178, -0.6699841022491455, -0.9832200407981873, -0.5497205257415771, -0.616898775100708, -0.2637424170970917, 0.07950334995985031, -0.05438012629747391, 0.4219413995742798, 0.2230185717344284, 0.1758066713809967, 0.7600916624069214, 0.027266662567853928, 0.2516811192035675, 0.28155410289764404, -0.3699701428413391, -0.46954649686813354, 0.9306554794311523, 0.056155696511268616, 0.3564084768295288, 0.24557362496852875, 0.2767859101295471, -0.6941291093826294, -0.3026500940322876, -0.6748453974723816, 0.16953237354755402, -0.9615948796272278, -0.19596122205257416, -0.5794026255607605, -0.1107596904039383, -0.6021566987037659, -0.005692196544259787, -0.3495914340019226, -0.7004984617233276, -0.2415619045495987, -0.13377273082733154, 0.39617446064949036, 0.6798551082611084, -0.15711380541324615, 0.12007003277540207, -0.4105437994003296, 0.17295488715171814, 0.6182653903961182, 0.2172461301088333, 0.09010352194309235, -0.6680651307106018, -0.1920115053653717, -0.0956864058971405, -0.13860011100769043, -0.697999894618988, 0.5181767344474792, -0.17719435691833496, 0.8926621675491333, 0.3221546411514282, 0.027627995237708092, 0.46517065167427063, -0.16389168798923492, 0.4707256555557251, 0.17082609236240387, -1.0022969245910645, 0.885736882686615, -0.3537800908088684, 0.2281985580921173, 0.48945948481559753, 0.42609164118766785, -0.2210363745689392, -0.2519010901451111, -0.7596986293792725, -0.5474372506141663, 0.721242368221283, 0.14445056021213531, -0.12407826632261276, -0.02761809155344963, 0.5704169869422913, -0.007826642133295536, 0.1298804134130478, -1.1022660732269287, -0.02125926874577999, -0.6193394064903259, -0.3092907667160034, -0.030600611120462418, -0.3459869623184204, -0.1077488586306572, -0.5218851566314697, 1.150978922843933, -0.5248906016349792, 0.051681485027074814, 0.1313169151544571, -0.15392325818538666, -0.007256493903696537, 0.2036050707101822, 0.4598753750324249, 0.588959276676178, -0.0229925736784935, 0.09610355645418167, -0.06990159302949905, 0.35704004764556885, 0.43560224771499634, 0.11498018354177475, 0.0650411993265152, -0.2982379198074341, 0.13282376527786255, 0.9662767052650452, -0.08328858762979507, -0.7423120141029358, 0.4255385100841522, -0.07211162149906158, -0.08866313099861145, -0.23387296497821808, 0.5231349468231201, 0.22761136293411255, 0.3252696990966797, 0.3165508508682251, 0.030253197997808456, 0.08424709737300873, -0.3154051899909973, 0.11552073061466217, 0.16617394983768463, -0.05649262294173241, 0.135992169380188, 0.5605098605155945, 0.2112155556678772, -0.20132094621658325, 0.6708579659461975, -0.36706045269966125, -0.6083902716636658, 0.46399959921836853, 0.7461410164833069, 0.3589603304862976, -0.3315582275390625, 0.35133349895477295, 0.8356926441192627, 0.1957397609949112, -0.7049096822738647, 0.1250811070203781, -0.30747807025909424, -0.7777099013328552, -0.817365288734436, -0.5375859141349792, -0.5084996223449707, 0.05801556259393692, -0.4235990345478058, 0.2120416909456253, -0.35749319195747375, 0.022844018414616585, -0.13743318617343903, -0.07558130472898483, -0.2365078181028366, 0.4014592170715332, 0.20340050756931305, 0.8513340353965759, -0.7958444356918335, 1.0217734575271606, 0.4200116693973541, -0.781517744064331, -1.0690698623657227, -0.21241140365600586, -0.30304601788520813, -0.5097607374191284, 1.0455138683319092, 0.551437497138977, -0.11943530291318893, 0.24481739103794098, -0.708255410194397, -1.2439842224121094, 0.8342294692993164, 0.5803402662277222, -0.4369421601295471, 0.233250230550766, -0.06720753014087677, 0.49729883670806885, -0.7394734621047974, 0.3028171956539154, 0.5113251209259033, 0.4716559052467346, 0.1492311656475067, -0.40749090909957886, -0.06950947642326355, -0.32082599401474, -0.06081879138946533, 0.0016743058804422617, -0.3375193774700165, 0.7190695405006409, -0.22443076968193054, -0.05251461640000343, 0.009757830761373043, 0.8883396983146667, 0.6988617181777954, 0.12414713948965073, 0.5886154174804688, 0.712160050868988, 1.0066651105880737, -0.2400006204843521, 1.1202181577682495, -0.19923679530620575, 0.4329202473163605, 0.9601698517799377, -0.42942729592323303, 0.8303388357162476, 0.28055816888809204, 0.26804810762405396, 0.9555816650390625, 0.8421987295150757, -0.06650581955909729, 0.47248145937919617, 0.1070513054728508, -0.1702367514371872, -1.151145100593567, -0.08682716637849808, -0.23244479298591614, 0.4309726357460022, 0.3813939094543457, -0.2676551342010498, -0.1361701786518097, 0.09411592781543732, -0.1837625503540039, 0.4049479365348816, -0.15189270675182343, 0.6093645691871643, -0.0897795632481575, -1.1020417213439941, 0.6956675052642822, -0.04870198294520378, 0.1772095113992691, -0.4767494797706604, -0.2242880016565323, -0.1378331035375595, 0.0622461773455143, -0.07387164235115051, -0.45883414149284363, 0.09314198791980743, -0.09819912165403366, -0.2920584976673126, -0.6233103275299072, 0.6362224221229553, -0.5667263269424438, -0.4183783531188965, 0.31498897075653076, 0.5755876302719116, 0.15938331186771393, -0.10639046132564545, -0.8675104379653931, 0.0013761892914772034, -0.007807659450918436, -0.49064895510673523, 0.38762810826301575, 0.5335749983787537, -0.055590443313121796, 0.8762874603271484, 1.0110749006271362, -0.0995861366391182, -0.2679671347141266, 0.2894913852214813, 0.8474531769752502, -0.7851181030273438, -0.615002453327179, -0.7431811094284058, 0.34452831745147705, -0.3772338628768921, -0.30903565883636475, 0.6274874806404114, 0.5993481874465942, 0.8791576623916626, 0.011434023268520832, 0.6955872178077698, 0.09376125782728195, 0.6691569685935974, -0.6815525889396667, 0.32599255442619324, -0.675055742263794, 0.35589784383773804, 0.25779372453689575, -0.6954772472381592, -0.3552606999874115, 1.1348382234573364, -0.5874991416931152, 0.07104809582233429, 0.6704269051551819, 0.8289046883583069, 0.2148568481206894, 0.0684698075056076, 0.39461567997932434, 0.021387381479144096, 0.34314271807670593, 0.43474775552749634, 1.154140830039978, -0.13250456750392914, 0.2767443358898163, -0.36287376284599304, -0.22542349994182587, -0.1488235592842102, -0.9355279207229614, -1.003385305404663, -0.5539141893386841, -0.3756219148635864, -0.4426339864730835, 0.0007848389795981348, 1.3099370002746582, 0.9074052572250366, -0.8937555551528931, -0.23569916188716888, -0.27953457832336426, 0.3110213875770569, -0.31914642453193665, -0.23470234870910645, 0.18209242820739746, -0.948007345199585, -0.6224562525749207, 0.6017276644706726, 0.40439972281455994, -0.06471100449562073, -0.35651490092277527, -0.3540596663951874, -0.35159730911254883, 0.11769959330558777, 0.6147115230560303, 0.2866671681404114, -0.8429292440414429, -0.34083640575408936, -0.05086531490087509, -0.2561085522174835, 0.18346120417118073, 0.8702410459518433, -0.9018058776855469, 0.2897934317588806, 0.45959794521331787, 0.7418745756149292, 0.43791908025741577, 0.13658608496189117, 0.5380178689956665, -0.27109482884407043, -0.05486931651830673, 0.3121209740638733, 0.5277209281921387, 0.4938547909259796, -0.4725227952003479, 0.6606935262680054, 0.32414230704307556, -0.8010013103485107, -0.7609317302703857, 0.31349194049835205, -0.8785420060157776, -0.38988012075424194, 1.2668473720550537, -0.22144053876399994, -0.1447322517633438, -0.042972631752491, -0.26359739899635315, 0.16332204639911652, -0.4659701883792877, 0.9591546654701233, 0.6889906525611877, -0.4594455063343048, -0.32333314418792725, -0.33219555020332336, 0.671083390712738, 0.8588721752166748, -1.1654306650161743, 0.24562637507915497, 0.6622493267059326, 0.276764839887619, 0.08434806764125824, 0.5691257119178772, 0.006489775609225035, 0.3708076477050781, -0.150253564119339, 0.10440608859062195, -0.10091403126716614, -0.6113104224205017, -0.2569074332714081, 0.2152194082736969, 0.3712676167488098, 0.24610882997512817 ]
http://arxiv.org/abs/2404.07009v3
http://arxiv.org/pdf/2404.07009v3
A Mathematical Theory for Learning Semantic Languages by Abstract Learners
2024-04-10T13:50:46
2024-05-15T18:05:54
Kuo-Yu Liao, Cheng-Shang Chang, Y. -W. Peter Hong
cs.CL
cs.CL, cs.IT, cs.LG, math.IT
Recent advances in Large Language Models (LLMs) have demonstrated the emergence of capabilities (learned skills) when the number of system parameters and the size of training data surpass certain thresholds. The exact mechanisms behind such phenomena are not fully understood and remain a topic of active research. Inspired by the skill-text bipartite graph model proposed by Arora and Goyal for modeling semantic languages, we develop a mathematical theory to explain the emergence of learned skills, taking the learning (or training) process into account. Our approach models the learning process for skills in the skill-text bipartite graph as an iterative decoding process in Low-Density Parity Check (LDPC) codes and Irregular Repetition Slotted ALOHA (IRSA). Using density evolution analysis, we demonstrate the emergence of learned skills when the ratio of the number of training texts to the number of skills exceeds a certain threshold. Our analysis also yields a scaling law for testing errors relative to this ratio. Upon completion of the training, the association of learned skills can also be acquired to form a skill association graph. We use site percolation analysis to derive the conditions for the existence of a giant component in the skill association graph. Our analysis can also be extended to the setting with a hierarchy of skills, where a fine-tuned model is built upon a foundation model. It is also applicable to the setting with multiple classes of skills and texts. As an important application, we propose a method for semantic compression and discuss its connections to semantic communication.
[ -0.2710118889808655, -1.0868723392486572, 0.47074824571609497, 0.15512509644031525, -0.15279285609722137, -0.08793040364980698, -0.15559282898902893, -0.38392314314842224, 0.1634325236082077, 0.5036700963973999, -0.4813078045845032, -0.346003919839859, -0.7860845923423767, 0.20106768608093262, -0.41561707854270935, 0.8018678426742554, 0.14319340884685516, 0.028697360306978226, -0.09979473799467087, -0.09478529542684555, -0.46313804388046265, -0.3355271816253662, -0.7114983201026917, -0.3156506419181824, 0.3916577994823456, 0.496722549200058, 0.5399810671806335, 0.7444162368774414, 0.22488704323768616, 0.297407865524292, -0.17948904633522034, -0.07281210273504257, -0.6534813642501831, -0.10164698213338852, -0.10049693286418915, -0.554803729057312, -0.27011141180992126, -0.09099384397268295, 0.9323620796203613, 1.3312970399856567, -0.2006864845752716, -0.17327101528644562, 0.1469593346118927, 0.5534151196479797, -0.2076612412929535, 0.4942644238471985, -0.9018148183822632, 0.026035893708467484, -0.002297335769981146, -0.40304145216941833, -0.4211490750312805, -0.04905136674642563, 0.24790041148662567, -0.6401253938674927, 0.3284764587879181, -0.22881433367729187, 0.6554916501045227, 0.012228315696120262, -0.34309670329093933, -0.5500801205635071, -0.5517178773880005, 0.7907808423042297, -0.257902055978775, 0.27879422903060913, 0.588828444480896, 0.13158763945102692, -0.36576586961746216, -0.4330843389034271, -0.7963641285896301, -0.038184866309165955, 0.15497222542762756, -0.12430951744318008, 0.2297714650630951, -0.11574999988079071, 0.260293185710907, 0.2901563346385956, -0.3801606595516205, 0.25117725133895874, -0.48258790373802185, 0.08108527213335037, 0.4802688956260681, 0.15229766070842743, 0.6853299140930176, -0.059901099652051926, -0.33174532651901245, -0.25771385431289673, -0.8643161654472351, 0.0984855443239212, 0.4381040036678314, 0.5428299903869629, -0.3715131878852844, 0.6493638157844543, -0.14757046103477478, 0.749232292175293, -0.46705490350723267, -0.618132472038269, 0.19494539499282837, -0.2681596279144287, 0.05305809900164604, 0.15765832364559174, 0.6052842140197754, -0.2974563539028168, 0.5906305909156799, -0.1920774281024933, 0.008818766102194786, 0.30975204706192017, 0.12938515841960907, -0.6114333868026733, -0.35696300864219666, -0.17310960590839386, -0.3697747588157654, -0.46339768171310425, -0.11113647371530533, -0.4985720217227936, -0.17763963341712952, -0.3205287754535675, 0.4745646119117737, -0.7392895817756653, -0.4564662575721741, 0.4002838730812073, -0.02415565587580204, 0.27124741673469543, 0.12840335071086884, -1.1558265686035156, 0.545552134513855, 0.6583037972450256, 0.6138060688972473, 0.11128222942352295, -0.6477928757667542, -0.4188077449798584, 0.010968458838760853, -0.2594289183616638, 0.6579378247261047, -0.6489266157150269, -0.30742010474205017, 0.11957993358373642, -0.16906993091106415, -0.10990351438522339, -0.32442790269851685, 0.2812880575656891, -0.7917899489402771, -0.1862069070339203, -0.054021287709474564, -0.7215322852134705, -0.23906615376472473, -0.11894484609365463, -0.6935094594955444, 0.7333221435546875, 0.33814430236816406, -0.6751133799552917, 0.5120776295661926, -0.4235188066959381, -0.42819705605506897, 0.4215911030769348, -0.3075701594352722, -0.3657091557979584, 0.09569226950407028, -0.2927309274673462, 0.5026434659957886, -0.21818003058433533, -0.11169125139713287, -0.43166986107826233, -0.05297836661338806, 0.3043661415576935, -0.2252846211194992, 1.127256155014038, -0.07616747915744781, -0.05089564248919487, -0.2832658290863037, -0.9712091684341431, 0.24850597977638245, 0.284579336643219, -0.5639123916625977, -0.31737756729125977, 0.1825268715620041, -0.46361446380615234, 0.2992132902145386, 0.054377418011426926, -0.3962361812591553, 0.015876173973083496, -0.5771083831787109, 0.5634905099868774, 0.5965946912765503, 0.171512633562088, 0.45700615644454956, 0.019155781716108322, 0.10807369649410248, 0.05825807899236679, -0.1621088981628418, -0.09574424475431442, -0.5616263151168823, -0.686351478099823, -0.2522544264793396, 0.2754608690738678, 0.5139667391777039, -0.7321090698242188, 0.7324604988098145, -0.45537400245666504, -0.2262565642595291, -0.18115763366222382, 0.6325377821922302, 0.38215431571006775, 0.31008180975914, 0.2530427873134613, -0.5105685591697693, -0.2031581848859787, -0.5628935694694519, 0.35038647055625916, -0.24463967978954315, 0.10120930522680283, 0.18788035213947296, 0.522952675819397, -0.1262631118297577, 0.9136581420898438, -0.38398227095603943, -0.12117674201726913, -0.24168598651885986, 0.0945994034409523, 0.06293047964572906, 0.493397057056427, 0.38520628213882446, -0.7113655209541321, -0.33644524216651917, 0.06816032528877258, -0.7981263399124146, -0.09322254359722137, 0.21252977848052979, -0.1088753193616867, 0.181607186794281, 0.3656699061393738, -0.41165685653686523, 0.23827867209911346, 0.5232030749320984, -0.4974595904350281, 0.4102422297000885, -0.43168267607688904, -0.41543442010879517, -0.9638919830322266, -0.17100836336612701, -0.1735474169254303, 0.029260316863656044, -0.6839953660964966, 0.18541912734508514, -0.14013807475566864, -0.2159014195203781, -0.21284346282482147, 0.4786245822906494, -0.34856662154197693, -0.4090278744697571, -0.3782281279563904, 0.3358006477355957, -0.3275560736656189, 0.5731623768806458, 0.1530519425868988, 0.45688343048095703, 0.7191979289054871, -0.8410992622375488, 0.20040373504161835, 0.25926563143730164, -0.5375987887382507, 0.4281408190727234, -0.6053718328475952, -0.053885914385318756, -0.19024944305419922, -0.3047155737876892, -0.9948371648788452, -0.08679201453924179, -0.07571247965097427, -0.4760400652885437, 0.21487167477607727, -0.2585681080818176, -0.6719520688056946, -0.08344633877277374, 0.17236274480819702, 0.41730064153671265, 0.5602701306343079, -0.4762257933616638, 0.5087276697158813, 0.48869428038597107, -0.24163565039634705, -0.42615437507629395, -0.21800486743450165, -0.2219959795475006, -0.11982220411300659, -0.9155887365341187, 0.06944625079631805, -0.006584346294403076, -0.18910890817642212, 0.12982968986034393, 0.1904342621564865, -0.29184478521347046, 0.463186651468277, 0.051453106105327606, 0.19547605514526367, -0.14178527891635895, 0.36093562841415405, 0.11885616928339005, -0.3642813563346863, 0.1294352263212204, -0.46320295333862305, 0.7924624681472778, -0.13224974274635315, -0.06576751172542572, -0.13007541000843048, 0.08300144970417023, 0.40764227509498596, -0.18019862473011017, 1.111522912979126, 0.19179010391235352, -0.1809387058019638, -0.5457359552383423, -0.20101916790008545, -0.29696542024612427, -0.441231906414032, 0.4985021650791168, -0.6487016677856445, -0.8166214823722839, 0.673188328742981, 0.013606664724647999, -0.18632492423057556, 0.499376118183136, 0.551730215549469, 0.23006311058998108, 0.7439297437667847, 1.0311830043792725, 0.29983025789260864, 0.4370602071285248, -0.5575851202011108, 0.10941962152719498, -0.6434550285339355, -0.2836940288543701, -0.5148996710777283, 0.07434049993753433, -0.4739152491092682, -0.38723546266555786, 0.4082983434200287, 0.5751145482063293, -0.3022480607032776, 0.23543715476989746, -0.006618094630539417, 0.5041621327400208, 0.36203113198280334, 0.19884046912193298, 0.36344900727272034, 0.4442436099052429, -0.31762710213661194, 0.160828098654747, -0.7962695956230164, -0.25737446546554565, 1.0448970794677734, 0.37162357568740845, 0.516790509223938, 0.2669086456298828, 0.6615594029426575, 0.06946484744548798, -0.03238605707883835, -0.8903799057006836, 0.6004714965820312, -0.1834551990032196, -0.1897588074207306, -0.7258284687995911, -0.6704162955284119, -1.1494439840316772, 0.1340721696615219, -0.5094342827796936, -0.5005172491073608, 0.11749017238616943, -0.12324444204568863, 0.13362526893615723, 0.16769443452358246, -0.6975594758987427, 0.7026249170303345, -0.047186292707920074, -0.30010905861854553, -0.4508931636810303, -0.5470558404922485, 0.054900504648685455, -0.2822754383087158, 0.1857781708240509, -0.1601411998271942, -0.10338737070560455, 0.6950146555900574, -0.48346009850502014, 1.1482813358306885, -0.07402850687503815, -0.2605594992637634, 0.47069889307022095, 0.321183443069458, 0.5202422142028809, -0.033358730375766754, 0.05019030719995499, 0.0420624203979969, -0.11623650789260864, -0.811303973197937, -0.636527419090271, 0.44838351011276245, -1.1227877140045166, -0.15187868475914001, 0.008204150013625622, -0.4589267373085022, -0.17899756133556366, 0.390184223651886, 0.15277275443077087, 0.597165048122406, 0.07829420268535614, 0.034559376537799835, 1.0304991006851196, -0.01105820294469595, 0.2816004753112793, 0.5389063954353333, 0.02821122668683529, -0.24007554352283478, 1.1532843112945557, 0.28145602345466614, 0.5195686221122742, 0.2943008542060852, 0.31799933314323425, 0.0703117698431015, -0.7506133913993835, -0.05519837141036987, 0.5384082198143005, -0.9238985180854797, -0.0053605795837938786, -0.5739752054214478, -0.3287595808506012, -0.29678088426589966, -0.234323188662529, -0.032961901277303696, -0.4042587876319885, -0.2031669169664383, -0.05720632150769234, 0.35617804527282715, 0.7040064930915833, 0.03865974396467209, 0.4421633183956146, -0.6080112457275391, -0.023117950186133385, 0.4816909432411194, 0.3925868570804596, 0.34478649497032166, -0.5486985445022583, -0.3984605073928833, -0.06199847534298897, -0.1276496797800064, -0.6207402944564819, 0.3978819251060486, 0.30058008432388306, 0.6990276575088501, 0.46099454164505005, -0.3011607229709625, 0.29376333951950073, -0.5993138551712036, 0.43814629316329956, 0.19805899262428284, -0.8464305996894836, 0.24861645698547363, -0.35328057408332825, -0.1475941240787506, 0.30029210448265076, 0.5478634238243103, -0.36995893716812134, -0.1952064335346222, -0.8678310513496399, -0.6802419424057007, 0.5007285475730896, 0.07554848492145538, 0.3928876221179962, -0.2768914997577667, 0.6443055868148804, 0.22548536956310272, 0.04342655465006828, -0.7911463379859924, 0.010547946207225323, -0.21865610778331757, -0.2642403244972229, -0.07385434210300446, -0.5594493746757507, -0.026124170050024986, -0.05483902618288994, 0.4463231563568115, -0.39103907346725464, 0.2314237654209137, -0.10201873630285263, -0.2196638137102127, -0.02502785250544548, 0.17188765108585358, 0.45663437247276306, 0.8417814373970032, 0.12905313074588776, 0.21770119667053223, 0.09440361708402634, -0.52872234582901, 0.08635853976011276, -0.17378117144107819, 0.11543214321136475, -0.5435996651649475, 0.7035681009292603, 0.8485022783279419, 0.395854651927948, -0.7196940779685974, 0.42954856157302856, 0.29325294494628906, -0.2726982533931732, -0.3731222450733185, 0.2001674622297287, -0.03387513756752014, 0.05485178157687187, 0.20798631012439728, -0.40836507081985474, -0.03384879231452942, -0.7320486903190613, 0.21652090549468994, 0.39080438017845154, -0.32012662291526794, -0.3715440630912781, 0.09455026686191559, 0.13125312328338623, -0.2569099962711334, 0.8726638555526733, -0.30965545773506165, -0.43300294876098633, 0.6073294878005981, 0.8075975179672241, 0.4863211512565613, -0.1009785383939743, 0.25372543931007385, 0.2280208170413971, 0.1992698609828949, -0.10716202110052109, 0.12384684383869171, -0.18566961586475372, -1.1562906503677368, -0.6435878276824951, -0.921807587146759, -0.05071825534105301, -0.10074867308139801, -0.29039227962493896, 0.3073299527168274, -0.4775151312351227, 0.18917405605316162, 0.2590394616127014, 0.16890263557434082, -0.4645112454891205, 0.11159191280603409, -0.005825611297041178, 0.7849137187004089, -1.0846824645996094, 0.8684762716293335, 0.4297894537448883, -0.4835100769996643, -0.8934749364852905, -0.3331204950809479, -0.2533421516418457, -1.2171733379364014, 1.1649338006973267, -0.15514126420021057, -0.018608516082167625, 0.3105849325656891, -0.41908711194992065, -0.8760147094726562, 0.807046115398407, 0.1378019154071808, 0.01082949060946703, -0.15393061935901642, 0.22144465148448944, 0.5815414190292358, -0.5766057372093201, -0.11914775520563126, 0.38595330715179443, -0.10463937371969223, 0.34695643186569214, -0.5828601121902466, -0.11887623369693756, -0.1450096070766449, 0.21219401061534882, 0.413774311542511, -0.3395316004753113, 0.971278965473175, -0.1295626014471054, -0.22227931022644043, 0.066090889275074, 0.5282652974128723, 0.058933280408382416, -0.17602545022964478, 0.3466530740261078, 0.7410589456558228, 0.6833464503288269, 0.1393214911222458, 1.0389199256896973, -0.3699905574321747, 0.4378802180290222, 0.6796988248825073, -0.1766851842403412, 0.8708056211471558, 0.15245388448238373, -0.2417871505022049, 0.874736487865448, 0.17609241604804993, 0.22719363868236542, 0.47207728028297424, 0.43848830461502075, -0.3469499945640564, -0.21730594336986542, 0.12362408638000488, -0.04504845663905144, 0.29263073205947876, 0.6920919418334961, -0.3570876717567444, -0.33727967739105225, 0.17077943682670593, -0.04865526407957077, 0.1179325133562088, -0.42242711782455444, 0.9689992666244507, 0.0885927751660347, -0.2598734498023987, 0.6009427309036255, -0.06175268441438675, 0.23037299513816833, -0.7421718835830688, -0.19926095008850098, 0.16381999850273132, 0.01950610615313053, -0.07402762025594711, -0.8922740817070007, 0.1629444658756256, -0.40422648191452026, -0.3454616665840149, 0.06066002696752548, 0.6188035011291504, -0.4131598472595215, -0.4384675920009613, 0.3947966992855072, 0.424589067697525, 0.3327752947807312, 0.5159797072410583, -0.4312271475791931, 0.045484282076358795, -0.2997729778289795, 0.16597309708595276, 0.4209126830101013, 0.7669422030448914, -0.0487312376499176, 0.5733150243759155, 0.6447692513465881, 0.34988027811050415, 0.3385935425758362, -0.1252862513065338, 0.7289248704910278, -0.38694095611572266, -0.5910800695419312, -0.7099255919456482, 0.23703674972057343, -0.00696602463722229, -0.19629839062690735, 0.49864253401756287, 0.24055548012256622, 0.9582215547561646, 0.10275514423847198, 0.5857234597206116, -0.09396268427371979, 0.3240949213504791, -0.8452763557434082, 0.5016631484031677, -0.17290416359901428, 0.3121902346611023, -0.18977107107639313, -0.963167667388916, -0.1783311814069748, 0.7900489568710327, -0.43764281272888184, 0.08142648637294769, 0.7994731068611145, 0.6047419309616089, 0.042345546185970306, 0.03363540768623352, 0.44384366273880005, 0.2595427930355072, 0.21405215561389923, 0.6397534012794495, 0.45087605714797974, -0.1531277447938919, 0.4216284155845642, -0.3645116984844208, -0.5435823798179626, -0.09818653762340546, -0.6429450511932373, -1.0210778713226318, -0.7962458729743958, -0.161372572183609, -0.6491568684577942, -0.17346465587615967, 0.6427085995674133, 0.42224711179733276, -0.35394230484962463, -0.4614216387271881, -0.45965322852134705, 0.31652846932411194, -0.2932862341403961, -0.22894041240215302, 0.4967508316040039, -0.7777517437934875, -0.4301701486110687, 0.07044482231140137, 0.23350977897644043, 0.21491487324237823, -0.27174052596092224, -0.200587660074234, -0.038124553859233856, 0.05903593450784683, 0.7874696850776672, 0.5963413119316101, -0.26412883400917053, -0.17122069001197815, -0.310810387134552, -0.01029142178595066, -0.14655523002147675, 0.8885048031806946, -0.8436363339424133, 0.41719871759414673, 0.45727720856666565, 0.7017024755477905, 0.2512339651584625, -0.4852854311466217, 0.23113635182380676, -0.6007469296455383, 0.37331801652908325, -0.15449675917625427, 0.298565536737442, 0.12667027115821838, -0.1382916420698166, 0.4602046012878418, 0.6158323287963867, -0.2647845149040222, -0.8514439463615417, 0.4954318106174469, -0.8118005990982056, -0.32266664505004883, 1.0084117650985718, -0.002350996946915984, -0.42432326078414917, -0.275468647480011, 0.1819872111082077, 0.1433144062757492, 0.026391124352812767, 0.9171192049980164, 0.6635350584983826, -0.09094726294279099, -0.03432413935661316, -0.42818745970726013, 0.5179194211959839, 0.19067174196243286, -0.6480123996734619, 0.0762411430478096, 0.24656429886817932, 0.41925033926963806, 0.42111736536026, 0.5481189489364624, -0.26296764612197876, 0.42311057448387146, 0.3048080801963806, -0.1141870990395546, 0.022476086392998695, -0.5072919130325317, -0.34074339270591736, 0.3178845942020416, 0.34750884771347046, 0.34919077157974243 ]
http://arxiv.org/abs/2404.07005v1
http://arxiv.org/pdf/2404.07005v1
WordDecipher: Enhancing Digital Workspace Communication with Explainable AI for Non-native English Speakers
2024-04-10T13:40:29
2024-04-10T13:40:29
Yuexi Chen, Zhicheng Liu
cs.HC
cs.HC, cs.AI, cs.CL
Non-native English speakers (NNES) face challenges in digital workspace communication (e.g., emails, Slack messages), often inadvertently translating expressions from their native languages, which can lead to awkward or incorrect usage. Current AI-assisted writing tools are equipped with fluency enhancement and rewriting suggestions; however, NNES may struggle to grasp the subtleties among various expressions, making it challenging to choose the one that accurately reflects their intent. Such challenges are exacerbated in high-stake text-based communications, where the absence of non-verbal cues heightens the risk of misinterpretation. By leveraging the latest advancements in large language models (LLM) and word embeddings, we propose WordDecipher, an explainable AI-assisted writing tool to enhance digital workspace communication for NNES. WordDecipher not only identifies the perceived social intentions detected in users' writing, but also generates rewriting suggestions aligned with users' intended messages, either numerically or by inferring from users' writing in their native language. Then, WordDecipher provides an overview of nuances to help NNES make selections. Through a usage scenario, we demonstrate how WordDecipher can significantly enhance an NNES's ability to communicate her request, showcasing its potential to transform workspace communication for NNES.
[ -0.38649341464042664, -0.8235878348350525, 0.8270225524902344, 0.23678021132946014, -0.42711547017097473, 0.3679756224155426, -0.1778438240289688, -0.5359290838241577, 0.5940648317337036, 0.28586241602897644, -0.9146994948387146, -0.7214032411575317, -0.7677890658378601, 0.5877814888954163, -0.6910361647605896, 0.9133279323577881, -0.34701356291770935, -0.45683562755584717, -0.7784796953201294, -0.0800873339176178, -0.5645071268081665, -0.14222921431064606, -0.6424236297607422, -0.23094797134399414, 0.20348180830478668, 0.7438755631446838, 0.8580454587936401, 0.2916502356529236, 0.37415269017219543, 0.28515130281448364, -0.012010143138468266, 0.4713478088378906, -0.4253827631473541, -0.07759276032447815, -0.05739791691303253, -0.4460574984550476, -0.42419296503067017, -0.32427892088890076, 0.17743678390979767, 0.5726765394210815, -0.16409027576446533, -0.06692646443843842, 0.01628740318119526, 0.4098324179649353, -0.41030406951904297, 0.2924124002456665, -0.6082322001457214, -0.006585267372429371, 0.07075846195220947, 0.015051702037453651, -0.22890709340572357, -0.2382112443447113, -0.1758316606283188, -1.1650227308273315, 0.09344515204429626, -0.028225142508745193, 0.460836797952652, 0.43112075328826904, -0.20749378204345703, -0.35046398639678955, -0.719435453414917, 0.35063639283180237, -0.6282456517219543, 0.40840211510658264, 0.40900516510009766, 0.2932547628879547, -0.10444072633981705, -0.860856831073761, -1.067482590675354, 0.05757211148738861, 0.175876647233963, 0.26051101088523865, -0.320534884929657, 0.10588835179805756, 0.1355682611465454, 0.3862875998020172, -0.36179104447364807, 0.15018443763256073, -0.13069427013397217, -0.2010728269815445, 0.5111019611358643, 0.3167375922203064, 0.45859476923942566, 0.1632748544216156, -0.056663982570171356, 0.13223062455654144, -0.297176718711853, -0.2529720366001129, 0.13890758156776428, 0.16264189779758453, -0.30291932821273804, 0.6238295435905457, -0.05498264357447624, 0.4957728981971741, 0.003952293656766415, 0.24916714429855347, 0.06024886295199394, -0.3083758056163788, -0.08192674070596695, 0.08216466754674911, 0.5287152528762817, 0.5511788725852966, 0.22270019352436066, -0.5568759441375732, -0.10828012973070145, 0.5095056891441345, 0.30185648798942566, -0.7842848300933838, 0.0006913248798809946, 0.3595306873321533, -0.258067786693573, -0.4708666503429413, 0.08439798653125763, -0.532977283000946, -0.7753508687019348, -0.3501676321029663, 0.37541672587394714, -0.30336394906044006, -0.38258832693099976, 0.0845382884144783, -0.5916516184806824, -0.15211090445518494, 0.6708799600601196, -0.6999860405921936, 0.5622261762619019, 0.7157904505729675, 1.047108769416809, -0.1639532744884491, -0.26299452781677246, -0.3172377049922943, 0.08032937347888947, -0.4135831296443939, 0.5914040803909302, -0.7741417288780212, -0.5785101056098938, -0.04187185317277908, 0.03692430630326271, 0.060138583183288574, -0.32273316383361816, 0.42768537998199463, -0.20477381348609924, 0.26153838634490967, -0.04276101291179657, -0.49245065450668335, -0.054797522723674774, 0.3376446068286896, -0.5986281037330627, 0.7051827311515808, 0.14932669699192047, -0.9804268479347229, 0.21705472469329834, -0.9950447678565979, -0.3643742799758911, 0.4788414537906647, -0.21114803850650787, -0.2522399425506592, 0.45705607533454895, 0.38413000106811523, 0.2725123167037964, -0.05668144300580025, 0.05755520984530449, -0.12121477723121643, -0.5343176126480103, 0.16664136946201324, -0.3420082628726959, 0.49155282974243164, -0.03915271908044815, -0.5403136014938354, 0.08454453945159912, -0.4379992187023163, -0.11842867732048035, 0.2799638509750366, -0.012978619895875454, -0.3585955798625946, -0.011081110686063766, 0.05479932203888893, 0.17884649336338043, 0.5186281204223633, -0.7367004156112671, 0.09834898263216019, -0.5881588459014893, 0.7097203731536865, 0.5506489276885986, -0.09310915321111679, 0.46796855330467224, -0.40900933742523193, 0.7632601857185364, -0.10238794982433319, 0.18656986951828003, 0.00905226357281208, -0.5353278517723083, -0.27603355050086975, -0.2712390422821045, -0.12771070003509521, 0.5792180299758911, -1.2519804239273071, -0.0790538415312767, -0.5432928204536438, -0.516213059425354, -0.8153477311134338, 0.40958064794540405, 0.2661627233028412, 0.5066126585006714, 0.2677517831325531, -0.041774578392505646, -0.39593687653541565, -0.9030430912971497, -0.2512032091617584, -0.19467753171920776, 0.03515148535370827, 0.5537688732147217, 0.39933404326438904, -0.7750648260116577, 0.9100488424301147, -0.4703216552734375, -0.2557811439037323, -0.7227938771247864, 0.3533484637737274, 0.09396868199110031, -0.24338732659816742, 0.07477088272571564, -0.824171781539917, -0.5670233368873596, -0.17832882702350616, -0.5078282952308655, -0.36626771092414856, -0.5311886668205261, -0.01582195982336998, 0.4094364643096924, 0.7376420497894287, -0.6202194094657898, 0.6661982536315918, 0.646564781665802, -0.3581694960594177, 0.4226514399051666, -0.5516072511672974, -0.15611504018306732, -1.4052424430847168, -0.1338345855474472, -0.19219745695590973, -0.20445409417152405, -0.45197632908821106, -0.07414819300174713, 0.12399639189243317, -0.32897207140922546, -0.39430245757102966, 0.6507204174995422, -0.5141764283180237, -0.02100946195423603, -0.5606979727745056, 0.7447311282157898, 0.4062965512275696, 0.1373041719198227, 0.1853533238172531, 0.8878394365310669, 0.3728398084640503, -0.36218973994255066, 0.22211194038391113, 0.9056157469749451, -0.1335839331150055, 0.7165361642837524, -0.7840073108673096, 0.34428200125694275, -0.3490896224975586, 0.4248063266277313, -1.0209448337554932, 0.17363029718399048, -0.018478622660040855, -0.6020596027374268, -0.1502452790737152, 0.23195688426494598, -0.627697229385376, -0.40136954188346863, -0.33868053555488586, 0.2477990984916687, -0.013674263842403889, -0.7063531279563904, 0.4512527585029602, 0.30496108531951904, -0.17060038447380066, -0.08559354394674301, -0.931466281414032, 0.9008957743644714, -0.20262083411216736, -0.8218309879302979, 0.8503005504608154, -0.17416828870773315, -0.46650630235671997, -0.0949348658323288, 0.14206171035766602, -0.13645726442337036, 0.5135618448257446, 0.6403182148933411, 0.30074599385261536, 0.19418330490589142, 0.20216399431228638, -0.09326767921447754, -0.12867985665798187, 0.2544812560081482, -0.3129008114337921, 0.32342544198036194, -0.04600267484784126, -0.15691371262073517, -0.5615760684013367, 0.6094688177108765, 0.8579376339912415, -0.3005448281764984, 0.932924211025238, 0.7229994535446167, -0.5019869208335876, -0.40740227699279785, -0.04463403671979904, -0.4474756419658661, -0.49277904629707336, 0.29038354754447937, -0.07313297688961029, -0.6468420624732971, 0.3752731382846832, -0.2111341655254364, 0.3056032955646515, 0.27370887994766235, 0.2806377708911896, -0.0025240695104002953, 0.9669159054756165, 0.8149890303611755, -0.015539954416453838, 0.4669032692909241, -0.20505891740322113, 0.5797317624092102, -0.8332329392433167, -0.10619309544563293, -0.23987193405628204, -0.42500069737434387, -0.3440556526184082, -0.4450433850288391, 0.11004318296909332, -0.4270245432853699, 0.32449495792388916, 0.5896486639976501, -0.5754718780517578, 0.2952900826931, 0.4499027132987976, -0.026979973539710045, 0.08223474770784378, -0.11771981418132782, -0.24649673700332642, -0.2817213833332062, -0.4636049270629883, -0.5601585507392883, 0.6778758764266968, 0.1406698226928711, 0.6658949851989746, 0.21020598709583282, 0.9405694603919983, 0.5551077723503113, 0.101719431579113, -0.7833334803581238, 0.5040884613990784, -0.11616132408380508, -0.32190439105033875, -0.2769215404987335, -0.2917063534259796, -0.7864118814468384, -0.05480367690324783, -0.542244553565979, -0.7573849558830261, -0.14476069808006287, 0.02567794732749462, -0.11982977390289307, 0.15903480350971222, -0.5971052050590515, 0.9238465428352356, -0.42573121190071106, -0.3993973433971405, -0.25400060415267944, -0.22562843561172485, -0.1577032059431076, -0.03932434692978859, 0.5941027998924255, 0.03325076028704643, -0.14701341092586517, 0.5877371430397034, -0.5151697397232056, 0.9777443408966064, -0.23057197034358978, -0.10660134255886078, 0.18445764482021332, 0.3331209421157837, 0.7189250588417053, 0.12161506712436676, -0.1802726835012436, 0.2633090317249298, 0.003969000186771154, 0.2423056811094284, -0.6198838949203491, 0.704846978187561, -0.6202797889709473, -0.5135960578918457, 0.023228976875543594, -0.6051331758499146, -0.2030661702156067, 0.2887360155582428, 0.23311592638492584, 0.5557971000671387, -0.44205915927886963, 0.053865108639001846, 0.17185239493846893, -0.39752987027168274, 0.3937768042087555, 0.3474949896335602, -0.04996908828616142, -0.2588399648666382, 0.9743197560310364, -0.0663510113954544, 0.09165017306804657, 0.38111549615859985, 0.24528521299362183, -0.5672838687896729, -0.35869261622428894, -0.38296377658843994, 0.14343157410621643, -0.7032749652862549, 0.013310502283275127, -0.810554563999176, 0.02443831041455269, -0.4647536277770996, -0.6639924645423889, -0.07489517331123352, -0.7915441989898682, -0.522458016872406, -0.3389982581138611, 0.4120367765426636, 0.6853002905845642, 0.11109507083892822, 0.3939000070095062, -0.5417548418045044, 0.487379252910614, -0.00492599792778492, 0.22525930404663086, -0.23407457768917084, -0.48023152351379395, -0.20616167783737183, 0.2464362531900406, -0.243937686085701, -0.9434146881103516, 0.5744925141334534, 0.5652000308036804, 0.5720760822296143, 0.34662407636642456, 0.24326901137828827, 0.5696978569030762, -0.38664862513542175, 0.684524655342102, -0.0039049903862178326, -1.112665057182312, 0.6861509084701538, -0.08174227178096771, 0.39235204458236694, 0.7526068091392517, 0.1364021748304367, -1.073188304901123, -0.585989773273468, -0.8232768774032593, -1.1741505861282349, 0.47772476077079773, 0.3332284390926361, 0.3611900210380554, -0.25381773710250854, 0.38003435730934143, 0.13972245156764984, 0.26884815096855164, -0.5574325323104858, -0.012878084555268288, -0.4254879951477051, -0.5532287359237671, -0.19518090784549713, -0.06763839721679688, -0.05365109071135521, -0.03922584652900696, 0.3774298429489136, -0.2931627929210663, 0.6659556031227112, 0.14342918992042542, -0.3622340261936188, 0.25179991126060486, 0.12601293623447418, 0.6541748046875, 0.67780601978302, 0.07483040541410446, 0.20836570858955383, 0.30752766132354736, -0.4688013792037964, -0.3429485261440277, 0.05147523432970047, 0.08476243168115616, 0.24535581469535828, 0.36071544885635376, 0.6405515670776367, 0.16068194806575775, -0.5562109351158142, 0.7418856024742126, -0.5614179372787476, -0.6752490997314453, -0.5139931440353394, 0.055719539523124695, 0.5170807838439941, -0.03204105421900749, -0.014916989021003246, -0.4069559872150421, 0.021513046696782112, -0.33658912777900696, -0.011647573672235012, 0.6019765138626099, -0.4652355909347534, -0.2690117359161377, 0.8609665036201477, 0.4421198070049286, -0.7576924562454224, 0.8004299998283386, -0.14280331134796143, -0.5891007781028748, 0.7830483913421631, 0.9136461615562439, 0.9928862452507019, 0.30803003907203674, 0.7146816849708557, 0.026780223473906517, 0.4307630956172943, 0.23149144649505615, 0.5373838543891907, -0.37064993381500244, -0.5626431703567505, 0.052029915153980255, -0.20560629665851593, -0.7210524678230286, -0.39262959361076355, -0.23589642345905304, 0.2113029807806015, -0.6771238446235657, -0.0486421212553978, 0.1303454339504242, -0.11064772307872772, -0.670123279094696, -0.05933151766657829, 0.3434346914291382, 1.1274861097335815, -1.0051175355911255, 0.3958887755870819, 0.8840458393096924, -0.01925136148929596, -0.5206276178359985, 0.06377949565649033, 0.15428544580936432, -0.8277066946029663, 0.376826673746109, 0.4014832079410553, -0.28486448526382446, 0.18071907758712769, -0.3589268922805786, -0.43186238408088684, 1.3063210248947144, 0.2584489583969116, -0.3700399398803711, 0.27234533429145813, 0.5849056839942932, 0.6308666467666626, -0.3385591506958008, 0.49862009286880493, -0.11237524449825287, 0.6095592379570007, 0.047564875334501266, -0.6459565162658691, 0.14885282516479492, -0.36220839619636536, -0.036551572382450104, 0.227768674492836, -0.2585374712944031, 0.5934556722640991, -0.378734290599823, -0.3904552757740021, -0.3615465462207794, 0.3742709457874298, -0.27100804448127747, 0.5368280410766602, 0.518300473690033, 0.48340708017349243, 0.9926551580429077, 0.03872065246105194, 0.9000041484832764, -0.5572786331176758, -0.36584004759788513, 0.9922736883163452, -0.1543341428041458, 0.7574708461761475, 0.6017476916313171, 0.2697933316230774, 0.7838574051856995, 0.2619216740131378, 0.18519210815429688, 0.2924897372722626, 0.19475263357162476, -0.4691886901855469, -0.09069637209177017, -0.40654346346855164, 0.022306816652417183, 0.4572843909263611, 0.6077669262886047, -0.2184295356273651, -0.23761112987995148, 0.026569465175271034, 0.056571342051029205, 0.4155401289463043, -0.07966889441013336, 1.0853168964385986, 0.1825934648513794, -0.5196825265884399, 0.416580468416214, 0.33169299364089966, 0.604378879070282, -0.29277607798576355, -0.04623851552605629, -0.2586180567741394, 0.3428306579589844, -0.5046243667602539, -0.8043526411056519, 0.6969987750053406, -0.01339142955839634, 0.016692420467734337, -0.5043980479240417, 0.5519749522209167, -0.29961249232292175, -0.5920103192329407, 0.2647572457790375, 0.15403813123703003, 0.03551807627081871, -0.4443660080432892, -0.7181708216667175, -0.03820253536105156, -0.1585608422756195, 0.5018899440765381, -0.21681760251522064, 0.5593950748443604, -0.31641483306884766, 0.725216805934906, 0.5860074758529663, 0.054953332990407944, -0.3433729410171509, 0.14276613295078278, 0.6316573023796082, -0.25991448760032654, -0.6908702850341797, -0.8341015577316284, 0.31425294280052185, -0.24559330940246582, -0.3306327164173126, 0.8088256120681763, 0.35143595933914185, 0.402374804019928, 0.20309065282344818, 0.9021557569503784, 0.030222302302718163, 0.18407300114631653, 0.012194358743727207, 0.6819448471069336, -0.713545024394989, 0.016569629311561584, -0.5575427412986755, -0.8935253024101257, -0.15894204378128052, 0.6321857571601868, -0.4219137132167816, -0.2987123429775238, 0.5940097570419312, 0.6948590278625488, -0.02844751439988613, 0.2546793222427368, 0.20808018743991852, 0.022792866453528404, 0.5163748264312744, 0.6085452437400818, 0.5477810502052307, -0.0538732074201107, 0.6860787868499756, -0.22344940900802612, -0.3514086902141571, -0.3008442521095276, -1.1790486574172974, -0.919218122959137, -0.6195444464683533, -0.567268967628479, -0.2015846222639084, -0.04844371974468231, 0.8792492747306824, 0.36560794711112976, -0.3226716220378876, 0.25963929295539856, -0.437567800283432, 0.2089918702840805, -0.13722622394561768, -0.1715579479932785, -0.03725656867027283, 0.10970273613929749, -0.5095571875572205, 0.41283634305000305, 0.3149241507053375, 0.15883834660053253, -0.16599009931087494, -0.20730681717395782, 0.15445254743099213, 0.38857075572013855, 0.35730698704719543, 0.22537261247634888, -0.29828253388404846, -0.04926981031894684, 0.1207452043890953, -0.11269396543502808, -0.2458764910697937, 0.3739083707332611, -0.5441552400588989, 0.464586079120636, 0.4305683970451355, 0.9471899271011353, 0.3139491379261017, 0.07008574903011322, 0.6948754191398621, -0.63932865858078, 0.08687129616737366, 0.18240389227867126, 0.2103969007730484, 0.6893694400787354, -0.6538808941841125, 0.12609827518463135, 0.0738435760140419, -0.3067184388637543, -0.4446144104003906, 0.1028304323554039, -0.47232502698898315, -0.42438140511512756, 1.0247572660446167, 0.12075228244066238, -0.260481059551239, -0.25966283679008484, -0.45032358169555664, 0.03754561394453049, -0.1346837431192398, 1.2535070180892944, 0.6513466238975525, 0.16577036678791046, -0.24011112749576569, -0.449288547039032, 0.4221399426460266, 0.3276314437389374, -0.9759784936904907, 0.31424254179000854, 0.45879486203193665, 0.04646218195557594, 0.1361009031534195, 0.7432025671005249, 0.0169680155813694, 0.32810914516448975, -0.030432535335421562, 0.03628220036625862, -0.6256489753723145, -0.31344905495643616, -0.08088286966085434, -0.35240837931632996, 0.258928120136261, -0.3588305711746216 ]
http://arxiv.org/abs/2404.07004v1
http://arxiv.org/pdf/2404.07004v1
LM Transparency Tool: Interactive Tool for Analyzing Transformer Language Models
2024-04-10T13:39:11
2024-04-10T13:39:11
Igor Tufanov, Karen Hambardzumyan, Javier Ferrando, Elena Voita
cs.CL
cs.CL
We present the LM Transparency Tool (LM-TT), an open-source interactive toolkit for analyzing the internal workings of Transformer-based language models. Differently from previously existing tools that focus on isolated parts of the decision-making process, our framework is designed to make the entire prediction process transparent, and allows tracing back model behavior from the top-layer representation to very fine-grained parts of the model. Specifically, it (1) shows the important part of the whole input-to-output information flow, (2) allows attributing any changes done by a model block to individual attention heads and feed-forward neurons, (3) allows interpreting the functions of those heads or neurons. A crucial part of this pipeline is showing the importance of specific model components at each step. As a result, we are able to look at the roles of model components only in cases where they are important for a prediction. Since knowing which components should be inspected is key for analyzing large models where the number of these components is extremely high, we believe our tool will greatly support the interpretability community both in research settings and in practical applications.
[ -0.4272162616252899, -0.8407437205314636, 0.6780927777290344, 0.358722984790802, 0.030049612745642662, 0.01997254602611065, -0.30807456374168396, -0.48911193013191223, 0.0020250265952199697, 0.7579582929611206, -0.6972018480300903, -0.5099785923957825, -0.5180073380470276, -0.31197652220726013, -0.5983266234397888, 0.9641347527503967, -0.06120668724179268, -0.14417017996311188, -0.0783856064081192, 0.2748447358608246, -0.4732462763786316, -0.14185045659542084, -0.7540797591209412, -0.7351300120353699, 0.6161514520645142, 0.2508714199066162, 0.8979029655456543, 0.6105491518974304, 0.42815107107162476, 0.34959328174591064, -0.18532328307628632, -0.39018282294273376, -0.5281190276145935, 0.35467466711997986, -0.48359912633895874, -0.6922611594200134, -0.7557296752929688, -0.014338793233036995, 0.6467085480690002, 0.7621079683303833, -0.09775692969560623, 0.4239810109138489, 0.44780832529067993, 0.4960215985774994, -0.6568596959114075, 0.5207423567771912, -0.5413495302200317, 0.23156902194023132, -0.1173771321773529, -0.12941168248653412, -0.7031033635139465, -0.23245574533939362, 0.1104525774717331, -0.4025767743587494, 0.11585529893636703, 0.006835407577455044, 0.634602427482605, 0.40289047360420227, -0.29309529066085815, 0.10336557775735855, -1.0435501337051392, 0.7499861717224121, -0.4478800892829895, 0.6498779058456421, 0.4085031747817993, 0.580193817615509, 0.04040152207016945, -1.0108351707458496, -0.48078760504722595, -0.25137266516685486, -0.4259234666824341, 0.3683815598487854, -0.45741164684295654, 0.39961954951286316, 0.11675357818603516, 0.383327454328537, -0.2505781054496765, 0.0658949539065361, -0.382188618183136, -0.49328693747520447, 0.298848032951355, 0.21101337671279907, 0.09767499566078186, 0.11059879511594772, -0.13360735774040222, -0.011900067329406738, -0.4305921792984009, -0.11353778094053268, 0.27664095163345337, 0.2751164138317108, -0.2291485071182251, 0.6327635645866394, -0.0628376230597496, 0.4568139910697937, -0.10201253741979599, 0.11939210444688797, 0.1021546721458435, -0.28881460428237915, -0.46945419907569885, 0.09910184890031815, 0.8066375851631165, 0.2367425411939621, 0.07410062849521637, -0.13668079674243927, -0.3786398768424988, -0.21282051503658295, 0.2682914137840271, -0.7445433139801025, -0.21784716844558716, 0.4613872468471527, -0.480503648519516, -0.37715619802474976, 0.19237516820430756, -0.8781713843345642, -0.5184465646743774, -0.27134421467781067, 0.4906289577484131, -0.17420203983783722, -0.5285831689834595, 0.15913966298103333, 0.03799455240368843, 0.1826048046350479, 0.40423864126205444, -0.6893598437309265, 0.46931493282318115, 0.8068496584892273, 0.9008395671844482, -0.3254754841327667, -0.20404958724975586, -0.6032968759536743, 0.11810889095067978, -0.13671743869781494, 0.554641842842102, -0.5589590668678284, -0.5065118074417114, -0.1841239482164383, 0.22511200606822968, 0.018667694181203842, -0.4263290762901306, 0.6262508034706116, -0.3893328607082367, 0.22328369319438934, 0.0961073487997055, -0.3704890012741089, -0.32381778955459595, 0.11656168848276138, -1.0582820177078247, 1.1272598505020142, 0.3469204306602478, -0.8255290985107422, 0.09090690314769745, -1.0010439157485962, 0.13501331210136414, -0.0389578714966774, -0.1353112906217575, -0.5205017328262329, 0.10982376337051392, 0.1126425564289093, 0.48223090171813965, -0.263906866312027, 0.32813760638237, -0.2009698748588562, -0.26978376507759094, 0.31191956996917725, -0.6120762825012207, 0.6932224631309509, 0.06254337728023529, -0.4326302707195282, 0.8108402490615845, -0.5684985518455505, -0.04113691672682762, 0.07649818807840347, -0.09334073960781097, 0.013403740711510181, -0.2514008581638336, 0.19580745697021484, 0.07126355916261673, 0.1756528913974762, -0.47728997468948364, 0.05606669560074806, -0.34442126750946045, 0.34406524896621704, 1.0262051820755005, -0.1086781844496727, 0.5766636729240417, 0.16454055905342102, 0.9388868808746338, 0.18425264954566956, 0.49211379885673523, -0.6514283418655396, -0.7451672554016113, -0.9248253107070923, -0.06723684072494507, 0.6021628379821777, 0.27551180124282837, -0.4540620744228363, 0.4699020981788635, -0.08512809872627258, -0.5424838662147522, -0.8954901695251465, -0.4399300515651703, 0.267619252204895, 0.5418795347213745, 0.11935140192508698, -0.22502438724040985, -0.43255355954170227, -1.1613438129425049, -0.22455193102359772, -0.04597736895084381, -0.15722472965717316, 0.007895855233073235, 0.6083783507347107, -0.16682888567447662, 1.10030996799469, -0.6318619847297668, -0.24594952166080475, -0.4394747316837311, 0.061100102961063385, 0.36336150765419006, 0.3766734302043915, 0.4234298765659332, -0.6543872356414795, -0.4803657531738281, 0.38134095072746277, -0.44672009348869324, -0.19250783324241638, 0.055477119982242584, -0.32228323817253113, -0.028701672330498695, 0.5954124927520752, -0.5117543339729309, 0.6007962822914124, 0.7570673823356628, -0.6079423427581787, 0.41176965832710266, -0.06519243866205215, -0.16184256970882416, -0.7719154953956604, 0.31204473972320557, -0.12454266846179962, -0.4363318681716919, -0.7129647135734558, 0.1574549376964569, 0.23745666444301605, -0.07598467171192169, -0.5186274647712708, 0.6428644061088562, -0.3002172112464905, -0.3156430125236511, -0.11745020002126694, -0.10172387957572937, 0.1268940567970276, 0.5065874457359314, -0.13509498536586761, 0.8223167061805725, 0.6621572971343994, -0.3238905072212219, 0.10185831785202026, -0.06333373486995697, -0.33772799372673035, 0.18361063301563263, -0.7389935851097107, 0.3418659269809723, -0.19422581791877747, -0.0518818199634552, -0.6640305519104004, -0.17632049322128296, 0.6129922270774841, -0.3286680579185486, 0.373762845993042, -0.08641308546066284, -0.41163066029548645, -0.027903180569410324, -0.34761106967926025, 0.21736463904380798, 0.37493640184402466, -0.34195223450660706, 1.0748244524002075, 0.4708699584007263, -0.12389755994081497, -0.5444543957710266, -0.6877046823501587, -0.25264546275138855, -0.06717903912067413, -0.4993724822998047, 0.40544840693473816, -0.15668675303459167, -0.28903546929359436, 0.1680150032043457, -0.2059149295091629, -0.19758620858192444, 0.1596374213695526, 0.5071013569831848, 0.19936352968215942, -0.38095951080322266, -0.20360365509986877, 0.012001385912299156, -0.400028258562088, 0.26504579186439514, -0.15142501890659332, 0.704162061214447, -0.416441410779953, -0.4773431718349457, -0.5136839747428894, 0.17317821085453033, 0.595897376537323, -0.370378315448761, 0.8413488864898682, 0.6368155479431152, -0.41077741980552673, -0.29336443543434143, -0.2284029722213745, -0.3080286383628845, -0.524032711982727, 0.4738977551460266, -0.2671487629413605, -0.740848958492279, 0.6703276634216309, 0.09038813412189484, 0.027201317250728607, 0.5713778734207153, 0.6258038282394409, 0.23623064160346985, 1.088313102722168, 1.1787691116333008, -0.0019157109782099724, 0.5441863536834717, -0.2413494735956192, 0.09727217257022858, -0.7026030421257019, -0.5064460635185242, -0.4466192126274109, -0.2696494162082672, -0.45793333649635315, -0.3968745768070221, 0.43069496750831604, 0.05218827351927757, -0.10279969871044159, 0.10000745952129364, -0.6284342408180237, 0.6739299297332764, 0.5322238206863403, -0.02947063185274601, 0.5590586066246033, -0.2829528748989105, -0.062392573803663254, -0.1323385238647461, -0.48604816198349, -0.422203928232193, 0.9067083597183228, 0.9966893792152405, 0.7931333184242249, -0.20994706451892853, 0.4179958403110504, 0.17139409482479095, 0.5587222576141357, -1.1869837045669556, 0.5887593030929565, 0.3710540235042572, -0.48408129811286926, -0.2965148687362671, -0.2053842842578888, -0.858919084072113, 0.421597421169281, -0.03593120351433754, -0.8022701740264893, 0.02095337025821209, 0.3173910081386566, -0.22924314439296722, 0.4539516866207123, -0.8102894425392151, 1.0431972742080688, 0.01777411624789238, -0.24392850697040558, -0.09527231007814407, -0.5047268867492676, 0.4391005337238312, -0.19976907968521118, 0.1311134248971939, 0.00993166770786047, -0.06456409394741058, 0.6268538236618042, -0.08383306115865707, 1.0426647663116455, -0.1408812701702118, -0.3929372727870941, 0.12947966158390045, 0.3681972622871399, 0.4487122893333435, -0.15785692632198334, -0.2291838675737381, 0.47601285576820374, -0.0827035903930664, 0.1002109944820404, -0.6434465050697327, 0.3128238916397095, -0.5143306255340576, -0.5717336535453796, -0.42535242438316345, -0.5723305344581604, 0.02674550563097, 0.5045928359031677, 0.1132698580622673, 0.06293648481369019, -0.12002088129520416, 0.2893869876861572, 0.4837855100631714, -0.1282789260149002, 0.3731566369533539, 0.4012984335422516, -0.918269693851471, -0.10866928845643997, 0.6531553864479065, -0.083841472864151, 0.2478770613670349, 0.3817577660083771, 0.4277649521827698, -0.17964620888233185, -0.6616235375404358, -0.040018387138843536, 0.20193177461624146, -0.8517860770225525, -0.06095164269208908, -0.4753580093383789, -0.4388483464717865, 0.14258703589439392, 0.24074891209602356, -0.6025415062904358, -0.5233708024024963, -0.051945798099040985, -0.2363976240158081, 0.13864992558956146, 1.0571070909500122, 0.19891729950904846, 0.5654311180114746, -0.7462870478630066, 0.3069649636745453, 0.07185468077659607, 0.8418903946876526, -0.09955529868602753, -0.28061443567276, -0.4389179050922394, -0.11194473505020142, -0.5965372920036316, -0.8505761623382568, 0.21788407862186432, 0.03176891431212425, 0.6314758062362671, 0.34915897250175476, -0.08473857492208481, 0.3764783442020416, -0.5094724893569946, 0.78778475522995, 0.1225636824965477, -1.1686497926712036, 0.652116060256958, -0.1780114322900772, 0.32485032081604004, 0.20120005309581757, 0.14109115302562714, -0.49291902780532837, -0.7874436378479004, -0.46245139837265015, -0.8563826680183411, 1.023674726486206, 0.5460392236709595, -0.22806482017040253, 0.4095746576786041, 0.08499450236558914, 0.4820527732372284, 0.2911287248134613, -0.8628728985786438, -0.3315679430961609, -0.23103882372379303, -0.2596416473388672, 0.11640231311321259, -0.17452917993068695, -0.1364395022392273, -0.14440424740314484, 0.4823704957962036, -0.26868879795074463, 0.3916819095611572, -0.015147741883993149, -0.06138915196061134, -0.32653307914733887, 0.31728288531303406, 0.41216301918029785, 0.81220543384552, -0.5007778406143188, 0.1800653338432312, -0.004604923073202372, -0.7522114515304565, -0.4127333462238312, -0.1512172818183899, -0.3208431303501129, 0.16201314330101013, 0.37626001238822937, 0.9058815240859985, 0.1749776154756546, -0.455384224653244, 0.37550538778305054, -0.12022198736667633, 0.05058420076966286, -0.36450135707855225, 0.06919243186712265, 0.09551013261079788, 0.5418800711631775, 0.054444678127765656, 0.15033265948295593, 0.22225148975849152, -0.5685177445411682, 0.0750480443239212, 0.2726103365421295, -0.7526997923851013, -0.6370165348052979, 0.8431439399719238, 0.15100599825382233, -0.31226420402526855, 0.42913082242012024, 0.15733602643013, -0.4467751979827881, 0.527619481086731, 0.31143784523010254, 1.2985721826553345, -0.3392210900783539, 0.15092222392559052, 0.09015432745218277, 0.5895736217498779, -0.022201236337423325, 0.19913743436336517, 0.06895668804645538, -0.62849360704422, -0.5816801190376282, -0.6100517511367798, -0.657394289970398, 0.43855005502700806, -0.8408932089805603, 0.37932056188583374, -0.23223620653152466, -0.284516841173172, 0.1493636965751648, -0.6344882249832153, -0.6008965373039246, 0.06627253443002701, 0.15847128629684448, 1.0632944107055664, -0.5864797830581665, 0.9596893191337585, 0.3005144000053406, -0.36290213465690613, -0.49707263708114624, 0.28415608406066895, -0.05450687184929848, -0.7997798323631287, 0.5915365815162659, 0.2539147138595581, -0.45888447761535645, -0.05344172567129135, -0.5605224370956421, -0.6765719652175903, 1.1225494146347046, 0.8619309067726135, -0.524060070514679, -0.19541345536708832, 0.2786160111427307, 0.37339887022972107, -0.3206228017807007, 0.5641250014305115, 0.6794071793556213, 0.7660442590713501, -0.27030879259109497, -1.2185686826705933, 0.21672262251377106, -0.01289209071546793, -0.08139670640230179, 0.42781051993370056, -0.35672232508659363, 0.7851772904396057, 0.01669885218143463, -0.37057361006736755, -0.24600888788700104, 0.6561433672904968, -0.06407582014799118, 0.3138209581375122, 0.6559207439422607, 0.06847579032182693, 0.5189461708068848, -0.2858552932739258, 0.9895376563072205, -0.3746575117111206, 0.6070939898490906, 1.0919147729873657, 0.023331541568040848, 0.7635053396224976, 0.6201164722442627, -0.17210246622562408, 0.2534259259700775, 0.29828718304634094, 0.011310989037156105, 0.5125473141670227, -0.026191776618361473, 0.06767748296260834, -0.053215108811855316, -0.28433459997177124, -0.1921091377735138, 0.3114994168281555, 0.4218082129955292, -0.44344818592071533, -0.21146288514137268, -0.17436577379703522, -0.026529621332883835, -0.16905291378498077, -0.5116011500358582, 0.49826934933662415, 0.2116076797246933, -0.4887188673019409, 0.1693374663591385, -0.01590201072394848, 0.5080363750457764, -0.7241266965866089, -0.14756368100643158, 0.01857040449976921, 0.17432932555675507, -0.3912816643714905, -1.4394315481185913, 0.7217840552330017, -0.16146670281887054, -0.13509348034858704, -0.4832004904747009, 0.8437024354934692, -0.4288286566734314, -0.31787699460983276, 0.6255095601081848, 0.5667783617973328, 0.09880226105451584, -0.38137394189834595, -0.7360551357269287, 0.3503997027873993, -0.0021538378205150366, -0.664810836315155, 0.03162593021988869, 0.3279106616973877, -0.03366108983755112, 0.8338273167610168, 0.4166066646575928, 0.045295726507902145, -0.08534988760948181, 0.3496204912662506, 0.8420730233192444, -0.8884720802307129, -0.4680386781692505, -0.8783152103424072, 1.1054027080535889, -0.0860903412103653, 0.042842570692300797, 0.5182625651359558, 0.5477508306503296, 0.8128413558006287, -0.10071274638175964, 0.8089406490325928, 0.28183290362358093, 0.3707641363143921, -0.6364520788192749, 0.9737427234649658, -0.2979468107223511, 0.3369891047477722, -0.06764145940542221, -1.1739784479141235, -0.23040179908275604, 0.29843175411224365, 0.045902956277132034, -0.03432127833366394, 0.8177399635314941, 0.7193657755851746, -0.4015082120895386, 0.09799373894929886, 0.443196564912796, 0.6009815335273743, 0.21256960928440094, 0.11431695520877838, 1.055976152420044, -0.22391939163208008, 0.668880820274353, -0.4973844885826111, -0.14142462611198425, -0.047889694571495056, -1.039733648300171, -0.8810263872146606, -0.5795120596885681, -0.4038972854614258, -0.31086093187332153, -0.3264547884464264, 0.6642304062843323, 0.5360119342803955, -0.9159711599349976, -0.3213036060333252, -0.16199800372123718, 0.25971242785453796, -0.19416965544223785, -0.27823594212532043, 0.32061779499053955, 0.10314640402793884, -0.8404218554496765, 0.3582024872303009, 0.47205889225006104, -0.07358616590499878, -0.5942617654800415, 0.11224375665187836, 0.5158957242965698, -0.027551019564270973, 0.6664851903915405, -0.039681002497673035, -0.8269473910331726, -0.32810989022254944, 0.10479137301445007, 0.2007044106721878, 0.16639874875545502, 0.8751396536827087, -0.5968963503837585, 0.6079039573669434, 0.4557655453681946, 0.3999241590499878, 0.7458332777023315, -0.479954332113266, 0.8722912073135376, -0.7959409952163696, 0.18100176751613617, 0.25795844197273254, 0.4999190866947174, 0.20181062817573547, -0.3508460819721222, 0.6090442538261414, -0.2539464235305786, -0.4415506422519684, -1.0796165466308594, 0.45648428797721863, -1.1091598272323608, -0.07027269899845123, 0.9477164149284363, -0.04563402384519577, -0.38876184821128845, -0.21163888275623322, -0.4655730128288269, 0.3502371311187744, -0.539213240146637, 0.39105892181396484, 0.5450421571731567, -0.10351788252592087, -0.4139286279678345, -0.9522742033004761, 0.3341183364391327, 0.0940549224615097, -0.8127266764640808, 0.170258566737175, 0.007972919382154942, 0.18586856126785278, 0.29010671377182007, 0.4669608175754547, -0.22947922348976135, -0.04435235634446144, -0.1928745061159134, 0.2466643899679184, -0.1960984766483307, -0.3784189820289612, -0.6181098818778992, 0.2295217663049698, 0.0664805993437767, -0.21204136312007904 ]
http://arxiv.org/abs/2404.07001v3
http://arxiv.org/pdf/2404.07001v3
Event Grounded Criminal Court View Generation with Cooperative (Large) Language Models
2024-04-10T13:31:07
2024-04-16T06:34:31
Linan Yue, Qi Liu, Lili Zhao, Li Wang, Weibo Gao, Yanqing An
cs.CL
cs.CL, cs.AI
With the development of legal intelligence, Criminal Court View Generation has attracted much attention as a crucial task of legal intelligence, which aims to generate concise and coherent texts that summarize case facts and provide explanations for verdicts. Existing researches explore the key information in case facts to yield the court views. Most of them employ a coarse-grained approach that partitions the facts into broad segments (e.g., verdict-related sentences) to make predictions. However, this approach fails to capture the complex details present in the case facts, such as various criminal elements and legal events. To this end, in this paper, we propose an Event Grounded Generation (EGG) method for criminal court view generation with cooperative (Large) Language Models, which introduces the fine-grained event information into the generation. Specifically, we first design a LLMs-based extraction method that can extract events in case facts without massive annotated events. Then, we incorporate the extracted events into court view generation by merging case facts and events. Besides, considering the computational burden posed by the use of LLMs in the extraction phase of EGG, we propose a LLMs-free EGG method that can eliminate the requirement for event extraction using LLMs in the inference phase. Extensive experimental results on a real-world dataset clearly validate the effectiveness of our proposed method.
[ -0.260743111371994, -0.7889404296875, 1.010960340499878, -0.22349239885807037, -0.6867392063140869, -0.13121813535690308, -0.20225973427295685, -0.2736397385597229, 0.375766783952713, 0.6360461115837097, -0.6211338639259338, -0.6460352540016174, -0.2909133732318878, -0.17254117131233215, -0.35793018341064453, 0.8304517865180969, 0.2754392623901367, 0.11036063730716705, -0.2080373466014862, 0.06152026727795601, -0.19676858186721802, -0.7004020810127258, -0.4194965958595276, -0.24211503565311432, 0.16233523190021515, 0.6428632736206055, 0.16900067031383514, 0.7479047179222107, 0.33310285210609436, 0.3008001744747162, 0.11139359325170517, 0.3476778566837311, -0.5132803320884705, 0.08086307346820831, -0.1483851820230484, -0.5897706151008606, -0.5120437145233154, 0.23313266038894653, 0.09004480391740799, 0.6329012513160706, -0.1636686772108078, -0.06884036958217621, -0.3317880630493164, 0.635333776473999, -0.8583924174308777, 0.15220792591571808, -0.8302578926086426, 0.521530032157898, -0.2947710454463959, -0.41355565190315247, -0.5230626463890076, -0.38108018040657043, -0.24558956921100616, -0.6251513361930847, 0.4612290561199188, 0.11830444633960724, 0.5721927881240845, -0.12322511523962021, -0.4937162399291992, -0.03517625480890274, -0.6328968405723572, 0.7540580034255981, -0.8179672956466675, 0.16122110188007355, 0.28720569610595703, 0.3110373914241791, -0.5319696068763733, -0.5651372671127319, -0.679451048374176, -0.20673848688602448, 0.045887306332588196, 0.46468180418014526, 0.09040281176567078, 0.1550290882587433, 0.23522566258907318, 0.12538540363311768, -0.19257941842079163, -0.1219700500369072, -0.04022585228085518, 0.04505559429526329, 0.9514939785003662, 0.2669590413570404, 0.029646480455994606, -0.3268428444862366, -0.21159540116786957, -0.010906192474067211, -0.9133790731430054, 0.3257928192615509, 0.42158299684524536, 0.32595595717430115, -0.2279299646615982, 0.752430260181427, -0.45912015438079834, 0.21742360293865204, 0.5486862659454346, -0.4285988211631775, 0.11726149171590805, -0.20550106465816498, -0.40743353962898254, 0.42195504903793335, 0.8760961890220642, 0.8819902539253235, 0.28975775837898254, -0.2701241374015808, 0.021712159737944603, 0.1455925703048706, 0.1652652621269226, -0.8813245892524719, -0.014936055056750774, 0.548713207244873, -0.5749425888061523, -0.6346694827079773, 0.13789300620555878, -1.2347960472106934, -0.5832042098045349, -0.20042291283607483, -0.2648138999938965, -0.33327990770339966, -0.22646012902259827, -0.08933363854885101, -0.17682254314422607, 0.4183422327041626, 0.511682391166687, -0.5508652329444885, 0.2415788769721985, 0.825565755367279, 0.2975386679172516, -0.17136302590370178, 0.30630457401275635, -1.3190335035324097, 0.4555729329586029, -0.1486210823059082, 0.6716069579124451, -0.6176267266273499, -0.21345366537570953, 0.44989028573036194, -0.03877371549606323, 0.3707922697067261, -0.36114951968193054, 0.6275919079780579, -0.6571570038795471, -0.23849035799503326, -0.19666688144207, -0.6777045130729675, -0.13430117070674896, 0.2966627776622772, -0.17658033967018127, 0.4097115993499756, -0.5373517870903015, -0.6676921844482422, 0.8439253568649292, -0.151959627866745, -0.8689466118812561, 0.3970482051372528, -0.9303523898124695, -0.6903088688850403, 0.2702939808368683, 0.3996718227863312, 0.8112848401069641, 0.11636430770158768, 0.7210090160369873, -0.48065489530563354, 0.08173801004886627, 0.06629566848278046, -0.03474881500005722, 0.3559044897556305, 0.23840534687042236, -0.6021240949630737, -0.0541415698826313, -1.231335163116455, -0.215828537940979, 0.4220336973667145, -0.33494874835014343, -0.3059123456478119, 0.8101500272750854, -0.2882636487483978, 0.0838492289185524, -0.010796104557812214, -0.8785848617553711, 0.09757261723279953, -0.3859579861164093, 0.18516968190670013, 0.5490209460258484, 0.44994446635246277, 0.42231371998786926, -0.09935068339109421, 0.2669379413127899, 0.471191942691803, 0.06086798012256622, -0.22373613715171814, -0.5259544253349304, -0.7055914402008057, -0.09700211882591248, -0.2576252520084381, 0.4978051781654358, -0.7456571459770203, 0.46319666504859924, -0.09172724932432175, -0.0053157564252614975, 0.06678756326436996, -0.10275702178478241, 0.37208619713783264, 0.434255450963974, 0.08871793001890182, 0.10576456785202026, -0.955352246761322, -0.8484561443328857, -0.38530823588371277, -0.1704004853963852, 0.18038569390773773, 0.4254138767719269, 0.16278883814811707, 0.17403897643089294, 1.0039973258972168, -0.3464287519454956, -0.09647450596094131, -0.394705593585968, 0.19643022119998932, 0.4163428544998169, 0.4282234013080597, 0.5485743284225464, -0.8562054634094238, -0.052458833903074265, 0.11363159120082855, -0.8671953678131104, -0.033216528594493866, -0.1314951628446579, -0.10139260441064835, -0.04425220191478729, 0.6050441265106201, -0.22683218121528625, 0.8791634440422058, -0.02774367853999138, -0.5704626441001892, 0.5044875741004944, 0.29017961025238037, 0.4400874674320221, -0.9290438890457153, -0.5991129279136658, 0.004382827784866095, -0.7618558406829834, -0.7426393628120422, 0.24796855449676514, 0.020572561770677567, 0.06343722343444824, -0.6964836120605469, 0.023705435916781425, -0.446032851934433, -0.1881747841835022, -0.22617357969284058, 0.36813464760780334, -0.06141043081879616, 0.6026073098182678, 0.19401398301124573, 0.358425110578537, 0.30157357454299927, -0.5812907218933105, 0.38536325097084045, 0.13043861091136932, -0.14717914164066315, 0.48344096541404724, -0.05806460231542587, 0.004915931262075901, -0.006878702901303768, -0.20799964666366577, -0.7307881712913513, -0.3814711272716522, 0.12130125612020493, -0.018038572743535042, 0.3670507073402405, -0.6366931200027466, -0.3962378203868866, -0.06161331385374069, -0.3627452552318573, 0.41285476088523865, 0.5826693773269653, -0.5805672407150269, 0.7978418469429016, 0.49799853563308716, -0.0845138356089592, -0.1633796989917755, -0.6609081029891968, 0.22087326645851135, -0.1957579255104065, -0.6685361266136169, 0.24813039600849152, 0.20829534530639648, -0.6952444911003113, 0.0059662978164851665, 0.0955936387181282, 0.2988375723361969, -0.12795065343379974, 0.5404899716377258, 0.19096317887306213, -0.5135394334793091, -0.2514519691467285, 0.13569873571395874, 0.2816377878189087, 0.2885572016239166, 0.07703767716884613, 0.5428926944732666, 0.04644579440355301, -0.6513018608093262, -0.5646576285362244, 0.7919473052024841, 0.4209156930446625, -0.10207973420619965, 0.38127222657203674, -0.23634500801563263, -0.3536655008792877, -0.16425971686840057, -0.8665915131568909, 0.08223981410264969, -0.44205787777900696, 0.23329989612102509, -0.3459482491016388, -0.7516235113143921, 0.6547579169273376, -0.33272117376327515, 0.22503088414669037, 0.36060187220573425, 0.615876317024231, 0.09542118012905121, 1.0289030075073242, 0.3690459728240967, 0.03078334406018257, 0.5490474700927734, 0.10256998240947723, 0.1995895653963089, -0.6966990232467651, -0.36855581402778625, -0.34881994128227234, -0.03329949453473091, 0.012447064742445946, -0.04260246083140373, 0.20757870376110077, 0.2470712959766388, -0.12017028778791428, -0.18147766590118408, -0.07565202564001083, 0.44402050971984863, 0.5372684597969055, 0.19849196076393127, 0.46855300664901733, 0.06408186256885529, -0.5088889002799988, 0.02867962419986725, -0.497309148311615, -0.448198527097702, 1.024151086807251, -0.1135084331035614, 0.4267279803752899, 0.09695801138877869, 0.9183386564254761, 0.21794217824935913, -0.04520825669169426, -0.6914434432983398, 0.7492437362670898, -0.20512755215168, -0.06812866032123566, 0.04438765347003937, -0.2931625247001648, -0.47653740644454956, 0.25432559847831726, -0.4547022879123688, -0.8576234579086304, 0.5065847039222717, -0.3924252688884735, -0.5999042987823486, 0.27465832233428955, -0.5545826554298401, 0.25536462664604187, -0.09110350906848907, -0.7141779065132141, -0.12239200621843338, -0.21535108983516693, 0.8096056580543518, -0.03205030411481857, 0.5559605956077576, -0.12638279795646667, 0.33321675658226013, 0.7351533770561218, -0.9107508659362793, 0.9590394496917725, -0.23416121304035187, 0.16756080090999603, 0.4392319619655609, 0.36551398038864136, 1.0090298652648926, 0.5116686224937439, -0.044136904180049896, -0.24636366963386536, -0.2983107566833496, -0.004651248455047607, -0.36846545338630676, 0.5492882132530212, -0.5244429707527161, -0.8405644297599792, -0.2596081495285034, -0.582928478717804, -0.1978834569454193, 0.005872686393558979, 0.29239505529403687, 0.5716034770011902, -0.17602111399173737, 0.08268845826387405, 0.525233805179596, -0.033117685467004776, 0.7084028720855713, 0.6837682127952576, -0.2769474983215332, -0.42393046617507935, 0.40313440561294556, -0.16494375467300415, -0.12700189650058746, 0.07426810264587402, 0.07858069986104965, 0.10338909178972244, -0.9384206533432007, -0.5041350722312927, 0.012690616771578789, -0.6280890107154846, -0.33272096514701843, -0.8155531883239746, -0.1870201826095581, -0.6099274158477783, -0.6060291528701782, -0.46636122465133667, -0.41459301114082336, -0.18138431012630463, -0.25525468587875366, 0.5244009494781494, 0.43728405237197876, 0.0970621407032013, 0.33587846159935, -0.6696454882621765, 0.689221978187561, 0.19895271956920624, 0.12309671938419342, -0.1673547923564911, -0.24609415233135223, 0.010158276185393333, -0.10671290010213852, -0.23273241519927979, -0.8136717677116394, 0.4404534101486206, 0.1543761044740677, 0.6048275828361511, 0.9717341065406799, 0.36115866899490356, 0.865863561630249, -0.9170966148376465, 0.9200146794319153, 0.30833128094673157, -0.6457180976867676, 1.0842152833938599, -0.33378422260284424, -0.34427711367607117, 0.5159173607826233, -0.2509773075580597, -0.018040096387267113, -0.7487099766731262, -0.8590642213821411, -0.8322662711143494, 0.9505527019500732, 0.43194085359573364, -0.19890226423740387, -0.21581080555915833, 0.730337917804718, 0.12492543458938599, 0.19375476241111755, -0.6732491850852966, -0.19298791885375977, -0.07891520857810974, -0.17077113687992096, 0.1580970287322998, -0.32320693135261536, -0.4364929497241974, -0.25212907791137695, 0.7215132117271423, 0.03636493906378746, 0.11841991543769836, 0.24849551916122437, 0.019888995215296745, -0.3008595108985901, 0.1869015097618103, 0.5037827491760254, 0.27790525555610657, -0.4023681879043579, 0.2982611060142517, -0.09770458191633224, -0.5254913568496704, 0.1468816101551056, -0.18773110210895538, -0.28674620389938354, -0.2164766788482666, 0.46105191111564636, 0.5988792181015015, -0.03343148157000542, -0.695156455039978, 0.9415310621261597, -0.37144801020622253, -0.44732964038848877, -0.6590383648872375, 0.2912338674068451, -0.24012865126132965, 0.8950774669647217, 0.4412965476512909, -0.07888244837522507, 0.17259784042835236, -0.766739547252655, 0.4824771285057068, 0.396782249212265, -0.1502229869365692, -0.13133014738559723, 0.8453160524368286, 0.23261356353759766, -0.1439165323972702, 0.347651869058609, -0.45954814553260803, -0.5419882535934448, 0.6911139488220215, 0.6638255715370178, 0.9387189149856567, 0.3082142770290375, -0.09479738771915436, 0.051440540701150894, 0.15917538106441498, -0.11447656899690628, 0.3508099615573883, 0.0798928365111351, -0.7360384464263916, -0.4805557429790497, -0.7567214965820312, -0.16974137723445892, 0.34881719946861267, -0.6734815239906311, 0.29449591040611267, -0.6572129130363464, 0.12816640734672546, -0.1585340052843094, 0.0944552943110466, -0.5015641450881958, 0.15085601806640625, 0.4029194116592407, 0.7449126243591309, -0.9277700185775757, 0.7246189713478088, 0.5979358553886414, -0.3044204115867615, -0.7764273881912231, -0.17577527463436127, 0.23307302594184875, -0.6563472151756287, 0.5645061135292053, 0.03984983637928963, -0.04432855173945427, -0.25038474798202515, -0.741696834564209, -0.4694071412086487, 0.9774304032325745, 0.12860779464244843, -0.9004311561584473, 0.1683833748102188, 0.29338160157203674, 0.23766210675239563, -1.0201454162597656, -0.26117581129074097, 0.5449563264846802, 0.22334900498390198, 0.6449081897735596, 0.06601137667894363, 0.3081549108028412, -0.4277949929237366, -0.209258571267128, 0.07790334522724152, -0.4663412272930145, 0.7879785895347595, -0.0960981696844101, -0.2502180337905884, -0.1401243954896927, 0.9537940621376038, 0.5103528499603271, 0.6662171483039856, 0.37701353430747986, 0.5780316591262817, 0.6776586771011353, -0.13323956727981567, 1.1234792470932007, -0.14203502237796783, 0.15233869850635529, 1.116721510887146, -0.6842864751815796, 0.6504666209220886, 0.6570042967796326, 0.07405736297369003, 0.3034965693950653, 0.33741265535354614, -0.10925189405679703, 0.8357359170913696, -0.06014828011393547, -0.19292284548282623, -0.8092855215072632, 0.17225894331932068, -0.047445498406887054, 0.3339163362979889, 0.28660765290260315, -0.21138855814933777, -0.3164263963699341, 0.11022846400737762, -0.027982093393802643, 0.16371741890907288, -0.6883001327514648, 0.9080620408058167, 0.0021406824234873056, -0.47513481974601746, 0.01159318070858717, 0.14967598021030426, 0.38230276107788086, -0.11922203749418259, -0.2442197948694229, -0.38782814145088196, 0.18814754486083984, -0.32337790727615356, -0.5810461640357971, 0.05689648911356926, 0.3116956055164337, -0.25446823239326477, 0.13010351359844208, 0.7525960803031921, -0.11855839937925339, -0.6858817338943481, 0.2153857797384262, 0.35954469442367554, 0.2748650312423706, -0.09832976758480072, -0.10687360912561417, -0.13202303647994995, -0.0392073392868042, -0.3715932071208954, 0.3600723445415497, 0.8043813705444336, -0.18439272046089172, 0.22434814274311066, 0.7633202075958252, 0.25429829955101013, 0.47996214032173157, 0.19724209606647491, 1.090588927268982, -0.7720038294792175, -0.6046324372291565, -1.0102932453155518, 0.580973744392395, -0.4300585389137268, 0.07968579977750778, 0.38663744926452637, 0.7185996174812317, 0.4926906228065491, 0.1626807153224945, 0.8858124613761902, 0.04441244155168533, 0.44663378596305847, -0.9653662443161011, 0.44422122836112976, -0.37834393978118896, 0.2617981433868408, -0.2851770520210266, -0.6051093935966492, -0.22251658141613007, 0.3326837718486786, -0.2684166729450226, -0.28208109736442566, 0.4969344139099121, 0.4209292232990265, -0.30661740899086, 0.23907043039798737, 0.5916871428489685, 0.24256391823291779, 0.4440370202064514, 0.6660420298576355, 0.9734129309654236, -0.36393725872039795, 0.2838243246078491, -0.12173868715763092, -0.39626553654670715, -0.7297261357307434, -1.1974586248397827, -1.1875064373016357, -0.04578927904367447, -0.406252920627594, -0.11951670050621033, 0.08605806529521942, 0.8045564293861389, 0.6656951308250427, -1.0071206092834473, 0.01885814219713211, -0.33637896180152893, -0.2718009948730469, 0.08751152455806732, -0.20455597341060638, 0.35772061347961426, -0.417459100484848, -0.496163547039032, 0.676345944404602, 0.29611366987228394, -0.20404109358787537, 0.38205429911613464, 0.16143079102039337, -0.41693440079689026, 0.24202677607536316, 0.63566654920578, -0.009907837957143784, -0.63917475938797, -0.6390016078948975, -0.5567663311958313, 0.03691831976175308, 0.31468966603279114, 0.7983755469322205, -0.843969464302063, 0.07954967767000198, 0.16843116283416748, 0.5576193928718567, 0.7311930656433105, 0.061263199895620346, 0.7321076393127441, -0.9259693622589111, 0.5933082103729248, 0.051778580993413925, 0.9297759532928467, -0.19977279007434845, -0.8625680804252625, 0.3507654666900635, 0.4476429522037506, -0.3513369858264923, -0.6129640340805054, 0.46801650524139404, -1.2626057863235474, -0.19946499168872833, 1.1383177042007446, -0.15090666711330414, -0.5682178139686584, -0.18831098079681396, 0.08022114634513855, 0.4507503807544708, -0.583013117313385, 0.5908058881759644, 0.5155150294303894, -0.30034005641937256, -0.19731231033802032, -0.548237144947052, 0.39528509974479675, -0.011462676338851452, -0.7520354986190796, 0.14538636803627014, 0.7389792799949646, 0.14178188145160675, 0.22677235305309296, 0.34211620688438416, -0.3028441369533539, 0.16569846868515015, -0.035077910870313644, 0.32025861740112305, -0.39122939109802246, -0.20395708084106445, -0.11918428540229797, 0.6044320464134216, -0.5625948309898376, -0.08352187275886536 ]
http://arxiv.org/abs/2404.06996v1
http://arxiv.org/pdf/2404.06996v1
XNLIeu: a dataset for cross-lingual NLI in Basque
2024-04-10T13:19:56
2024-04-10T13:19:56
Maite Heredia, Julen Etxaniz, Muitze Zulaika, Xabier Saralegi, Jeremy Barnes, Aitor Soroa
cs.CL
cs.CL, cs.AI
XNLI is a popular Natural Language Inference (NLI) benchmark widely used to evaluate cross-lingual Natural Language Understanding (NLU) capabilities across languages. In this paper, we expand XNLI to include Basque, a low-resource language that can greatly benefit from transfer-learning approaches. The new dataset, dubbed XNLIeu, has been developed by first machine-translating the English XNLI corpus into Basque, followed by a manual post-edition step. We have conducted a series of experiments using mono- and multilingual LLMs to assess a) the effect of professional post-edition on the MT system; b) the best cross-lingual strategy for NLI in Basque; and c) whether the choice of the best cross-lingual strategy is influenced by the fact that the dataset is built by translation. The results show that post-edition is necessary and that the translate-train cross-lingual strategy obtains better results overall, although the gain is lower when tested in a dataset that has been built natively from scratch. Our code and datasets are publicly available under open licenses.
[ -0.35206764936447144, -0.16337727010250092, 0.16459597647190094, 0.466852605342865, 0.020484868437051773, 0.0177585668861866, -0.4436255097389221, -0.7134838104248047, 0.4765300154685974, 0.5646544694900513, -0.5627167820930481, -0.5174562335014343, -0.546130895614624, 0.20478379726409912, -0.3845691680908203, 0.8673076033592224, 0.011467712000012398, 0.18346531689167023, 0.2821301221847534, -0.34602680802345276, -0.23268353939056396, -0.48081478476524353, -1.0511900186538696, -0.4601445198059082, 0.8437049984931946, 0.14619140326976776, 0.6677831411361694, 0.4776378273963928, -0.13554060459136963, 0.26107215881347656, 0.12100032716989517, 0.07815426588058472, -0.7355397939682007, -0.461819052696228, -0.32309427857398987, -1.0484107732772827, -0.31221744418144226, -0.13443295657634735, 0.8641453981399536, 0.8012064695358276, 0.2436806559562683, 0.1526445746421814, 0.0385776050388813, 0.6430318355560303, -0.5687629580497742, -0.03828824684023857, -0.44560760259628296, 0.3317371606826782, -0.27405306696891785, -0.27177923917770386, -0.43592607975006104, -0.2960417568683624, 0.21391865611076355, -0.7601168751716614, -0.04704317823052406, 0.08157768100500107, 0.6731292009353638, 0.2453051656484604, -0.4701944589614868, -0.12971602380275726, -0.3647474944591522, 1.1524800062179565, -0.5026146769523621, 0.7682668566703796, 0.11951526999473572, 0.25720345973968506, -0.16652554273605347, -0.6539734601974487, -0.28414401412010193, -0.036749549210071564, -0.24811863899230957, 0.1815749555826187, -0.18950441479682922, -0.37234270572662354, -0.054205626249313354, 0.31788697838783264, -0.7924737334251404, 0.448635995388031, -0.34628424048423767, 0.20528340339660645, 0.7671369314193726, -0.08152821660041809, 0.3367767632007599, -0.33658018708229065, -0.44385817646980286, -0.2872851490974426, -0.8109076619148254, 0.040661610662937164, 0.4806413948535919, 0.39580243825912476, -0.292387992143631, 0.20912732183933258, -0.061599090695381165, 0.5320028066635132, -0.39818087220191956, 0.17181625962257385, 0.643471360206604, -0.5961039066314697, -0.27198514342308044, 0.29963183403015137, 0.8464593887329102, 0.4345611035823822, 0.40483614802360535, -0.6386376023292542, -0.06648017466068268, -0.06263561546802521, 0.016393354162573814, -0.21980006992816925, -0.15486162900924683, 0.22481326758861542, -0.2598738670349121, -0.4147862195968628, -0.14113087952136993, -0.7061479091644287, -0.09294606000185013, -0.3653692901134491, 0.2351362556219101, -0.23858121037483215, -0.31997159123420715, 0.35858190059661865, -0.15843988955020905, 0.37572354078292847, 0.25176340341567993, -0.6130418181419373, 0.45186731219291687, 0.6256064176559448, 0.6808547377586365, -0.5420110821723938, -0.5300498604774475, -0.7993046045303345, -0.061936136335134506, -0.47950318455696106, 0.49570032954216003, -0.08240325003862381, -0.4493497908115387, -0.045101866126060486, 0.33610889315605164, -0.3032080829143524, -0.4767666757106781, 0.9262480139732361, -0.4383220672607422, 0.4349431097507477, -0.30684250593185425, -0.39463433623313904, -0.1856004297733307, 0.18141962587833405, -1.0273237228393555, 1.4258054494857788, 0.20203320682048798, -0.700404703617096, 0.4736010730266571, -0.5597665905952454, -0.20502807199954987, -0.1612424999475479, -0.24570880830287933, 0.07134587317705154, 0.160287544131279, 0.031705692410469055, 0.1637350469827652, -0.4252837896347046, 0.2544330656528473, 0.005891813430935144, -0.17241959273815155, 0.28987231850624084, -0.49667251110076904, 1.1599631309509277, -0.16245412826538086, -0.4856446087360382, -0.07533903419971466, -0.9735391736030579, 0.3511061668395996, -0.09390567243099213, -0.3210551142692566, -0.5953800082206726, -0.1601722091436386, 0.4232913553714752, 0.36331745982170105, 0.001984897768124938, -0.8162983655929565, -0.13344715535640717, -0.5640076398849487, 0.02926744893193245, 0.5387394428253174, -0.3787740170955658, 0.6180037260055542, -0.398835688829422, 0.4383963346481323, -0.48442134261131287, 0.09563946723937988, 0.3577800393104553, -0.4994150400161743, -0.5825685262680054, -0.13145115971565247, 0.7793399691581726, 0.9769676327705383, -1.0577601194381714, 0.3025999367237091, -0.5846050381660461, -0.24914392828941345, -0.6097537279129028, 0.3369482755661011, 0.5429592132568359, 0.2152906060218811, 0.34429243206977844, 0.020099837332963943, -0.6552615165710449, -0.7930827736854553, -0.10515747219324112, 0.019903533160686493, -0.14244486391544342, 0.24629902839660645, 0.37965869903564453, -0.23073133826255798, 0.6289736032485962, -0.10052667558193207, -0.1706683188676834, -0.6243354082107544, 0.2021057903766632, 0.4320875406265259, 0.34504207968711853, 1.031096339225769, -0.7041336894035339, -0.5936219692230225, 0.49404388666152954, -0.9220335483551025, -0.40973421931266785, -0.22511614859104156, -0.610027015209198, 0.2153230607509613, 0.22505854070186615, -0.23143234848976135, 0.3370393216609955, 0.9741870760917664, -0.2836642861366272, 0.41142386198043823, -0.12428558617830276, 0.16253997385501862, -0.9163165092468262, 0.06635069102048874, 0.17349384725093842, -0.49663203954696655, -0.7591373324394226, 0.06035972759127617, -0.167608842253685, 0.14949041604995728, -0.7419207692146301, 1.085174322128296, -0.2897942364215851, -0.06080799177289009, -0.06741510331630707, 0.40449273586273193, 0.14086012542247772, 0.48705726861953735, 0.49409937858581543, 0.7150449752807617, 0.45726338028907776, -0.34121173620224, 0.037080056965351105, 0.19209147989749908, -0.4735698103904724, 0.3805428743362427, -0.7217008471488953, -0.3079968988895416, -0.08501902967691422, -0.012630656361579895, -0.6353150606155396, 0.19599148631095886, 0.3630680441856384, -0.1895841360092163, 0.16100740432739258, -0.07298176735639572, -0.3136892020702362, 0.10380566865205765, -0.4127841889858246, 0.37904664874076843, 0.2622700035572052, -0.8698116540908813, 0.5319440960884094, 0.21778586506843567, -0.010680211707949638, -0.8191140294075012, -1.0423840284347534, 0.3188457489013672, -0.18872703611850739, -0.5296101570129395, 0.4841036796569824, 0.018443409353494644, -0.3140924274921417, 0.1406567245721817, 0.07627327740192413, -0.19255366921424866, -0.12971492111682892, -0.1658228635787964, 0.1075785756111145, -0.35360535979270935, -0.1548885852098465, 0.04383496940135956, -0.3110162615776062, 0.16754944622516632, -0.42624011635780334, 0.21462921798229218, 0.1985814869403839, -0.07823622226715088, -0.21607878804206848, 0.48649102449417114, 0.3277980089187622, -0.08471554517745972, 0.5327181816101074, 0.6310884356498718, -0.10682003200054169, -0.6346768736839294, -0.2951771318912506, 0.1469360589981079, -0.42187294363975525, 0.23124247789382935, -0.5812296271324158, -0.4933179020881653, 0.3031674325466156, -0.020316921174526215, 0.24717916548252106, -0.015503901988267899, 0.3413236737251282, 0.055856749415397644, 0.38070711493492126, 0.6218491792678833, -0.33431553840637207, 0.3286453187465668, -0.6770347356796265, 0.027072031050920486, -0.6801196336746216, 0.11189386248588562, -0.44188886880874634, -0.5082096457481384, -0.7052747011184692, -0.6336812973022461, 0.08234237879514694, -0.10051439702510834, 0.37253567576408386, 0.521476686000824, 0.00850449874997139, 0.4467347264289856, 0.6412692666053772, 0.2756345868110657, 0.5023642182350159, 0.07399740815162659, 0.03807121887803078, -0.19180569052696228, -1.097305417060852, -0.3906729221343994, 1.1702224016189575, 0.16931453347206116, 0.5205747485160828, 0.326801598072052, 0.7745288014411926, 0.3179119825363159, 0.29739972949028015, -0.6056159138679504, 0.35917627811431885, -0.5553061366081238, -0.42098933458328247, -0.41998961567878723, -0.626481831073761, -1.1531627178192139, 0.47082892060279846, -0.3126504123210907, -0.6975799798965454, 0.5946673154830933, -0.15561488270759583, -0.12778547406196594, 0.49524152278900146, -0.6343339681625366, 1.0617666244506836, -0.6242104172706604, -0.6536560654640198, -0.11400027573108673, -0.4942516088485718, 0.3529128134250641, -0.3622620105743408, 0.23770932853221893, -0.04668695479631424, -0.1971980631351471, 0.6427589058876038, -0.2240341156721115, 0.9345427751541138, -0.09987770766019821, -0.40341123938560486, 0.03031964600086212, -0.20075704157352448, 0.21581700444221497, 0.2819552421569824, -0.6529431343078613, 0.424810528755188, 0.1931062638759613, -0.613889753818512, -0.8631215691566467, 0.7151543498039246, -0.81989586353302, -0.22099871933460236, -0.19799114763736725, -0.45804810523986816, 0.02589326910674572, 0.06491241604089737, 0.412733256816864, 0.5691248178482056, -0.5639756917953491, -0.084339939057827, 0.7684586644172668, -0.3500431776046753, 0.30638402700424194, 0.4626076817512512, -0.46001386642456055, -0.3053756654262543, 0.9920604825019836, 0.29640960693359375, 0.19715330004692078, 0.6217141151428223, 0.1662263721227646, -0.4950161874294281, -0.3914041221141815, -0.8331305980682373, 0.3815160095691681, -0.6648598909378052, 0.2401418685913086, -0.3725961446762085, 0.0018678606720641255, 0.03261799365282059, -0.11989500373601913, -0.37490084767341614, -0.5847395062446594, 0.028808824717998505, -0.025444304570555687, 0.21599531173706055, 0.449135959148407, -0.12556813657283783, 0.20832917094230652, -0.7261992692947388, 0.3370887339115143, -0.096201092004776, 0.17337840795516968, -0.24892273545265198, -0.3675686717033386, -0.29226720333099365, -0.0682305172085762, 0.5036400556564331, -0.6742165684700012, 0.30136460065841675, 0.3701813519001007, 0.7622292041778564, -0.02066675014793873, 0.26627317070961, 0.32918331027030945, -0.47682422399520874, 0.33999374508857727, 0.1490517407655716, -0.745808482170105, 0.15416373312473297, -0.07092473655939102, 0.23525406420230865, 0.7629196643829346, 0.729051411151886, -0.5941376090049744, -0.21562764048576355, -0.3343135416507721, -0.6468374729156494, 0.4523355960845947, 0.17846187949180603, 0.009466046467423439, -0.014446995221078396, 0.45720529556274414, 0.346309632062912, 0.013491890393197536, -0.933172881603241, -0.30609747767448425, 0.20146073400974274, -0.1288284957408905, -0.25823190808296204, 0.1400696039199829, -0.014914378523826599, -0.21475321054458618, 0.8271970748901367, -0.20939266681671143, -0.05650138854980469, 0.26024433970451355, -0.3741369843482971, 0.1893554925918579, 0.23631466925144196, 0.12732328474521637, 0.6222910284996033, -0.04242007061839104, -0.14482876658439636, 0.4753952622413635, -0.11395914852619171, 0.317006915807724, -0.074129119515419, -0.1887286901473999, 0.3814539611339569, 0.5313892960548401, 0.9545424580574036, 0.5271784663200378, -0.7723484635353088, 0.48174604773521423, -0.2782266438007355, -0.3635053336620331, -0.3451896905899048, 0.009804259054362774, -0.22415083646774292, 0.22766657173633575, 0.0940483883023262, -0.06859332323074341, 0.12280247360467911, -0.43101581931114197, 0.34960082173347473, 0.09175840765237808, -0.25238698720932007, -0.511628270149231, 0.477857381105423, 0.18664613366127014, -0.06826528161764145, 0.2489136904478073, -0.3341958820819855, -0.3064676821231842, 0.27378594875335693, 0.2504652142524719, 0.6352847814559937, -0.11843997240066528, 0.3539588153362274, 0.340799480676651, 0.4844675362110138, 0.014398565515875816, 0.640445351600647, -0.08985655009746552, -0.811558723449707, -1.0125967264175415, -0.3729366958141327, -0.33932602405548096, -0.017641406506299973, -0.7137059569358826, 0.44706302881240845, -0.12223164737224579, -0.11813856661319733, -0.2069900929927826, 0.0017330256523564458, -0.6990698575973511, 0.24391642212867737, 0.121502585709095, 1.3321694135665894, -1.2196604013442993, 1.178723692893982, 0.5536147356033325, 0.027829542756080627, -0.3110986351966858, -0.2691495418548584, -0.10226120054721832, -0.6363282799720764, 0.8524344563484192, -0.14694318175315857, -0.34850043058395386, -0.10504443943500519, 0.24056319892406464, -0.841505229473114, 0.6544577479362488, 0.46323952078819275, -0.5320376753807068, -0.056904200464487076, 0.4747970402240753, 0.5373859405517578, -0.17444348335266113, 0.21558165550231934, 0.8132511377334595, 0.5519641041755676, -0.36882510781288147, -0.875407874584198, -0.12930621206760406, -0.5226866602897644, -0.12940259277820587, 0.2859622538089752, -0.4173021912574768, 0.6017469763755798, 0.16950394213199615, -0.20775580406188965, 0.190228670835495, 0.6149370074272156, -0.10828543454408646, 0.2175380438566208, 0.5932424664497375, 0.783554196357727, 0.8259395956993103, -0.0843002125620842, 1.2086535692214966, -0.431423157453537, -0.08977492153644562, 1.391669511795044, -0.3242245018482208, 0.9891798496246338, 0.5640530586242676, 0.039354126900434494, 0.5621622204780579, 0.3850303888320923, 0.18944133818149567, 0.42510986328125, 0.30806970596313477, -0.36664721369743347, 0.10762183368206024, -0.2205369770526886, -0.24378913640975952, 0.3834432065486908, 0.29409030079841614, -0.23118282854557037, -0.2896379828453064, 0.2743226885795593, 0.044578056782484055, 0.11601793020963669, -0.0639740526676178, 0.5555793642997742, -0.009945983998477459, -0.3820815980434418, 0.9286707639694214, -0.16314944624900818, 0.6905661225318909, -0.6141465306282043, 0.14706996083259583, -0.28058555722236633, 0.08751516789197922, -0.45771265029907227, -0.8331745266914368, 0.5171630382537842, -0.02545367367565632, -0.2040056586265564, -0.13902592658996582, 0.24554061889648438, -0.5524256825447083, -0.691413402557373, 1.0348149538040161, 0.882593035697937, 0.2739119827747345, 0.3054236173629761, -0.7689602375030518, 0.2033763974905014, 0.08758033812046051, -0.12670068442821503, 0.32552674412727356, 0.7107991576194763, -0.3491578996181488, 0.5069097876548767, 0.3690282702445984, 0.3979104161262512, 0.42607152462005615, 0.4126238524913788, 0.6937839984893799, -0.3283163905143738, -0.35516777634620667, -0.4703485071659088, 0.5268826484680176, -0.24811722338199615, -0.4380672872066498, 0.8069859743118286, 0.6602194905281067, 1.071765422821045, 0.020037226378917694, 1.0196043252944946, 0.10783228278160095, 0.3483946919441223, -0.6811003684997559, 0.2627561092376709, -0.7252845168113708, 0.16382575035095215, -0.13889315724372864, -0.807008683681488, -0.5192478895187378, 0.44342222809791565, -0.4554143249988556, -0.36733877658843994, 0.7090947031974792, 0.9696540236473083, -0.31167376041412354, -0.025871213525533676, 0.48780208826065063, -0.14345264434814453, -0.10707920789718628, 0.685044527053833, 0.6962596774101257, -0.8183004856109619, 0.5292520523071289, -0.4277636706829071, -0.5019044280052185, 0.3633303642272949, -0.9358355402946472, -1.0296292304992676, -0.13735339045524597, -0.3951282799243927, -0.0839555412530899, 0.32670968770980835, 0.9118865728378296, 0.7377357482910156, -0.8171721696853638, -0.7946657538414001, 0.016055725514888763, 0.1346367746591568, -0.31801775097846985, -0.17191852629184723, 0.31847602128982544, -0.4138205051422119, -1.02519953250885, 0.8357609510421753, 0.0483686625957489, -0.36526572704315186, -0.3229524791240692, -0.267626017332077, -0.3342255651950836, -0.12258922308683395, 0.658928394317627, 0.41564199328422546, -0.43641042709350586, 0.009154452942311764, 0.1747584342956543, 0.09804008901119232, 0.39266857504844666, 0.729820728302002, -0.7365983724594116, 0.22301994264125824, 0.6247860193252563, 1.0478342771530151, 0.5780225396156311, -0.42193785309791565, 0.9370012283325195, -0.9003732204437256, 0.3585050106048584, -0.3061355650424957, 0.5068290829658508, 0.19337503612041473, -0.29170265793800354, 0.8831254839897156, 0.028917865827679634, -0.18307316303253174, -0.5817022323608398, 0.05368828400969505, -0.6161219477653503, -0.30681198835372925, 0.749082624912262, -0.20735172927379608, -0.6044501066207886, -0.3587696850299835, -0.18053166568279266, -0.01239869836717844, -0.09354592114686966, 0.396275132894516, 0.274029940366745, -0.020095452666282654, -0.3214168846607208, -0.982712984085083, 0.36645469069480896, 0.5585395097732544, -0.8414359092712402, -0.03314345329999924, -0.019760804250836372, 0.08959516882896423, 0.24318815767765045, 0.5462281703948975, -0.08656569570302963, 0.3301367461681366, -0.12159465998411179, 0.1203508973121643, 0.4631555676460266, -0.3344916105270386, -0.33642467856407166, -0.010312606580555439, -0.042156580835580826, -0.10591014474630356 ]
http://arxiv.org/abs/2404.06970v1
http://arxiv.org/pdf/2404.06970v1
Hybrid Multi-stage Decoding for Few-shot NER with Entity-aware Contrastive Learning
2024-04-10T12:31:09
2024-04-10T12:31:09
Peipei Liu, Gaosheng Wang, Ying Tong, Jian Liang, Zhenquan Ding, Hongsong Zhu
cs.CL
cs.CL
Few-shot named entity recognition can identify new types of named entities based on a few labeled examples. Previous methods employing token-level or span-level metric learning suffer from the computational burden and a large number of negative sample spans. In this paper, we propose the Hybrid Multi-stage Decoding for Few-shot NER with Entity-aware Contrastive Learning (MsFNER), which splits the general NER into two stages: entity-span detection and entity classification. There are 3 processes for introducing MsFNER: training, finetuning, and inference. In the training process, we train and get the best entity-span detection model and the entity classification model separately on the source domain using meta-learning, where we create a contrastive learning module to enhance entity representations for entity classification. During finetuning, we finetune the both models on the support dataset of target domain. In the inference process, for the unlabeled data, we first detect the entity-spans, then the entity-spans are jointly determined by the entity classification model and the KNN. We conduct experiments on the open FewNERD dataset and the results demonstrate the advance of MsFNER.
[ -0.6063981652259827, -0.5299919247627258, 0.10652864724397659, -0.03980490192770958, -0.34007787704467773, 0.10877177864313126, 0.0820324718952179, -0.6306058168411255, 0.23171573877334595, 0.35640281438827515, -0.5804287791252136, -0.463366836309433, -0.5257240533828735, 0.4452023506164551, -0.16808271408081055, 1.291621208190918, 0.015431034378707409, 0.41971468925476074, 0.24409528076648712, -0.057672105729579926, 0.0258109662681818, -0.23889946937561035, -0.9498293399810791, -0.4727270305156708, 0.3962384760379791, 0.6475855708122253, -0.0528440847992897, 0.2656763792037964, 0.42128652334213257, 0.2746560573577881, -0.12254936993122101, 0.2643745243549347, -0.5388340950012207, -0.20548422634601593, -0.051630400121212006, -0.4168051481246948, -0.15794695913791656, -0.4379454553127289, 0.7034509778022766, 0.40535542368888855, -0.03278084099292755, 0.011394054628908634, 0.24266430735588074, 0.3109910488128662, -0.9350571632385254, 0.03859323635697365, -0.6289372444152832, 0.09961777925491333, -0.22934703528881073, -0.1374853104352951, -0.5492960810661316, 0.11871694028377533, -0.06365332007408142, -0.764187753200531, 0.5785020589828491, 0.10175512731075287, 0.9632741808891296, 0.0787501260638237, -0.6098006963729858, 0.021129721775650978, -0.8128694295883179, 0.7536420226097107, -0.5261018872261047, 0.38709503412246704, 0.2554910480976105, 0.4188842177391052, -0.07942324876785278, -0.5361157059669495, -0.9044871926307678, 0.1944669783115387, -0.3241111636161804, 0.21446895599365234, -0.19298109412193298, 0.23515743017196655, 0.011063837446272373, 0.4132309854030609, -0.5403619408607483, 0.27242517471313477, -0.34567558765411377, -0.3629463016986847, 0.13701298832893372, 0.3474521040916443, 0.007390584331005812, -0.6500188112258911, -0.5685344338417053, -0.0511755645275116, -0.3478493094444275, -0.29124316573143005, 0.18486981093883514, 0.5410082340240479, -0.23846131563186646, 0.4443119764328003, -0.2989860475063324, 0.3910745084285736, 0.44882825016975403, -0.41687485575675964, 0.38036778569221497, -0.5007264614105225, -0.3320302367210388, 0.08275706321001053, 0.7226356267929077, 0.1442476511001587, -0.060485415160655975, 0.00086360948625952, -0.33258727192878723, 0.2343742996454239, -0.16815447807312012, -0.9549577236175537, -0.2576441466808319, -0.032879043370485306, -0.5526524782180786, -0.0650414228439331, -0.15596966445446014, -1.0129621028900146, -0.39613091945648193, -0.03689981624484062, 0.5757554769515991, -0.7181389927864075, -0.40112006664276123, -0.05403544753789902, -0.11593760550022125, 0.3532247841358185, 0.14492546021938324, -0.7266328930854797, 0.7277390360832214, 0.54982990026474, 0.775866687297821, -0.08199658244848251, -0.3522144556045532, -0.7945280075073242, 0.1307349056005478, -0.07977700978517532, 0.9150513410568237, -0.4468313753604889, -0.16653908789157867, -0.2471732795238495, -0.17128290235996246, -0.3014356195926666, -0.4504133462905884, 0.45378851890563965, -0.7700298428535461, 0.10824020206928253, 0.1408541053533554, -0.6421659588813782, -0.1326666921377182, 0.4169635474681854, -0.7937842011451721, 0.8689195513725281, -0.07395851612091064, -1.2092822790145874, 0.6590927243232727, -0.5674891471862793, -0.5092760324478149, 0.06527048349380493, -0.2976868450641632, -0.531309187412262, 0.05058266222476959, 0.3354843854904175, 0.5148377418518066, 0.06541527062654495, -0.13790765404701233, -0.1094134971499443, -0.3000573217868805, -0.11164071410894394, -0.28148943185806274, 0.3327876329421997, 0.01803586445748806, -0.333219438791275, -0.14720256626605988, -1.2812062501907349, -0.236960306763649, 0.16447347402572632, -0.4697440564632416, -0.37128952145576477, -0.2957693636417389, 0.3888123631477356, 0.4435250163078308, -0.3675875961780548, -0.6302176713943481, -0.2041710764169693, -0.42499542236328125, 0.11055915802717209, 0.47715380787849426, 0.46346592903137207, 0.8475762605667114, -0.0018724377732723951, 0.4990592300891876, 0.536715567111969, -0.3549903333187103, -0.3492874503135681, -0.07388066500425339, -1.0295822620391846, -0.4573146104812622, 0.4546370506286621, 0.6115762591362, -1.2256927490234375, 0.24753828346729279, -0.15531304478645325, -0.026552585884928703, -0.6258928179740906, 0.04721268266439438, 0.5571984648704529, 0.9193388819694519, 0.846241295337677, 0.043433498591184616, -0.7282123565673828, -0.9492530822753906, -0.0206376314163208, 0.214755117893219, 0.09849385172128677, 0.3597080409526825, 1.0159704685211182, -0.11570577323436737, 0.4659072458744049, -0.3961701989173889, -0.6896721720695496, -0.5207430720329285, 0.39729371666908264, 0.1305299997329712, 0.5726984143257141, 0.05851907283067703, -0.727327823638916, -0.46383076906204224, -0.024071775376796722, -0.4646003544330597, 0.47046855092048645, -0.2271701842546463, -0.2207169234752655, 0.011015770025551319, 0.3979300260543823, -0.30264467000961304, 0.0688820481300354, 0.3550710678100586, 0.03251196816563606, 0.2914673388004303, 0.010532276704907417, 0.15224505960941315, -1.3460361957550049, -0.06330984085798264, 0.3414631485939026, -0.3303191363811493, -0.724971354007721, -0.03428106755018234, 0.027375154197216034, -0.0021494412794709206, -0.45895346999168396, 0.37256479263305664, -0.6626118421554565, -0.17737874388694763, -0.40759071707725525, 0.07139880210161209, 0.04786447063088417, 0.3466379642486572, 0.33341488242149353, 0.4670616686344147, 0.5817221999168396, -0.7507635951042175, -0.26744768023490906, 0.2705146372318268, -0.22654502093791962, 0.9390291571617126, -0.33027395606040955, 0.21931302547454834, -0.36668670177459717, 0.6563785672187805, -0.6677750945091248, -0.3313484489917755, 0.34465599060058594, -0.22163672745227814, 0.5754052400588989, -0.5689884424209595, -0.5368695855140686, -0.27055099606513977, -0.01051472406834364, 0.3319917321205139, 0.04710309952497482, -0.5599204897880554, 0.8731633424758911, 0.06113574281334877, 0.19915179908275604, -0.6937904953956604, -1.094761610031128, -0.1437995284795761, -0.1345640867948532, -0.4708206057548523, 0.6150733828544617, 0.20315566658973694, 0.32217228412628174, 0.26358944177627563, -0.41651421785354614, -0.30301791429519653, -0.39261895418167114, 0.15541371703147888, 0.2679649591445923, -0.6518715620040894, -0.08472747355699539, 0.15557079017162323, -0.7165518403053284, -0.4845104217529297, -0.36936110258102417, 0.41939249634742737, -0.06540203839540482, -0.11846878379583359, -0.5239914655685425, 0.40282317996025085, -0.022276034578680992, -0.3565106987953186, 0.9459958672523499, 0.9743528366088867, -0.8095675110816956, -0.30198872089385986, -0.4033161401748657, -0.34273824095726013, -0.3971671462059021, 0.15010465681552887, -0.7732222676277161, -1.0031310319900513, 0.38583001494407654, -0.2056911289691925, -0.31246882677078247, 0.6841400861740112, 0.22186951339244843, -0.10132627189159393, 0.7604547142982483, 0.782394528388977, -0.024678189307451248, 0.37749436497688293, -0.6788042187690735, -0.007298896089196205, -0.867863655090332, -0.44705653190612793, -0.42581596970558167, -0.5052674412727356, -0.5531921982765198, -0.2033127397298813, 0.4275422990322113, 0.3430483043193817, -0.16061106324195862, 0.31590932607650757, -0.1698494255542755, 0.9560362100601196, 0.37117356061935425, 0.4444520175457001, 0.47515934705734253, 0.02745831198990345, -0.3475579619407654, -0.16247807443141937, -0.5943038463592529, -0.08913654834032059, 0.6780949831008911, 0.11344118416309357, 0.7404085993766785, -0.08040028810501099, 1.3871220350265503, -0.08683153241872787, -0.057889893651008606, -0.8471145629882812, 0.29410451650619507, -0.2395603209733963, -0.7594231367111206, -0.09976359456777573, -0.5160265564918518, -0.6533308029174805, 0.5220741033554077, -0.6046183109283447, -0.6617420315742493, 0.45838990807533264, 0.27427247166633606, -0.5499706864356995, 0.3356967568397522, -0.6186032891273499, 0.8411001563072205, 0.05349567532539368, -0.20348115265369415, -0.2766205072402954, -0.948718249797821, 0.6404410004615784, 0.1601535826921463, 0.03317798674106598, 0.22309942543506622, -0.08666883409023285, 0.734129786491394, -0.15644122660160065, 0.7838890552520752, -0.2635103762149811, 0.4527004361152649, 0.11591633409261703, 0.1654587835073471, 0.6477663516998291, 0.04791776463389397, -0.02557978220283985, -0.2691029906272888, -0.20057697594165802, -0.469891756772995, -0.29966431856155396, 0.6546525359153748, -0.5114312767982483, 0.07415910810232162, -0.5077968239784241, 0.013787922449409962, -0.21637310087680817, 0.45979997515678406, 0.6294170022010803, 0.2494756132364273, -0.2774519622325897, 0.034011997282505035, 0.7422221899032593, 0.12635518610477448, 0.4819749593734741, 0.4575081169605255, 0.12896762788295746, -0.6198757290840149, 0.9221243262290955, -0.24198965728282928, 0.1210549846291542, 0.772743284702301, -0.13072523474693298, -0.06400036066770554, -0.7137385606765747, -0.4802039861679077, 0.37597164511680603, -0.8526318669319153, -0.50321364402771, -0.8657976388931274, -0.1551293432712555, 0.025062596425414085, -0.11481236666440964, -0.43150627613067627, 0.04841644689440727, -0.5576958656311035, -0.2514415681362152, 0.10432843118906021, 0.5195230841636658, -0.21996505558490753, 0.5191304087638855, -0.8579174876213074, 0.8243945837020874, 0.00045308851986192167, 0.12553603947162628, 0.015523319132626057, -0.42690494656562805, -0.21936732530593872, -0.30905741453170776, 0.15230214595794678, -0.9438186883926392, 0.09862740337848663, 0.47902825474739075, 0.44083213806152344, 0.6673759818077087, -0.01032085157930851, 0.7911812663078308, -0.6265291571617126, 0.4057541489601135, 0.5076590776443481, -0.9127660393714905, 0.5319638848304749, 0.07924037426710129, 0.17672738432884216, 0.924144446849823, 0.6435703039169312, -0.3946952521800995, 0.11470938473939896, -0.4667661190032959, -0.6708634495735168, 1.1223050355911255, 0.05733445659279823, 0.13358886539936066, -0.03622214123606682, 0.010344652459025383, 0.3164333701133728, -0.15671880543231964, -0.8547767400741577, -0.44251465797424316, -0.20832806825637817, -0.03456587344408035, 0.033356454223394394, -0.03663117066025734, 0.003094207961112261, -0.03804025799036026, 0.5529878735542297, -0.27793923020362854, 0.2513015866279602, -0.00809655524790287, -0.6136080622673035, -0.09121811389923096, 0.6269174218177795, 0.40173324942588806, 0.11579938232898712, -0.05383167415857315, 0.43124425411224365, 0.5261493921279907, -0.15841573476791382, 0.22983072698116302, 0.42523297667503357, -0.05893990769982338, 0.014833520166575909, 0.37516549229621887, 0.9403348565101624, 0.6683703064918518, -0.020888857543468475, 0.5862971544265747, 0.18733611702919006, -0.12888911366462708, 0.08617183566093445, -0.05374537780880928, 0.05155705288052559, 0.5364274382591248, 0.3782189190387726, 0.3050878942012787, 0.5006158947944641, -0.1684563159942627, 0.38862186670303345, 0.05151303857564926, -0.14218325912952423, -0.3031255304813385, 0.45515939593315125, 0.19906719028949738, 0.24310724437236786, 0.6094275712966919, -0.6839249730110168, -0.5395784974098206, 0.41827890276908875, 0.9464175701141357, 0.7562798261642456, -0.07168878614902496, 0.423745334148407, 0.6485654711723328, 0.14155061542987823, 0.012892872095108032, 0.24393408000469208, -0.08459477871656418, -0.9645491242408752, -0.4196680784225464, -0.6905357241630554, -0.1340903639793396, 0.3929218649864197, -0.6885305643081665, 0.3477093577384949, -0.5332121253013611, 0.03712913393974304, 0.4107635021209717, -0.085844486951828, -0.9107373356819153, 0.29066652059555054, 0.33949464559555054, 0.783785879611969, -0.8545942306518555, 0.5487474799156189, 0.4674628973007202, -0.7696428298950195, -0.5793314576148987, 0.12555544078350067, 0.44730129837989807, -0.578757107257843, 0.7284995913505554, 0.29762840270996094, -0.3929307758808136, 0.25260332226753235, -0.23629121482372284, -0.5651469826698303, 1.1076157093048096, 0.095766581594944, -0.615260660648346, -0.2878103256225586, -0.34424179792404175, 0.35963553190231323, -0.5277195572853088, 0.2784869372844696, 0.5220247507095337, 0.2875414192676544, 0.2982131540775299, -0.5693651437759399, -0.05331044644117355, -0.09844904392957687, 0.009679448790848255, 0.46391674876213074, -0.3333660662174225, 0.7146885991096497, -0.39535391330718994, -0.48657190799713135, -0.07147222757339478, 0.7955935001373291, 0.17119964957237244, 0.547832727432251, 0.5450355410575867, 0.6131402850151062, 0.6173080801963806, 0.1137705147266388, 0.8818687200546265, 0.05634170398116112, 0.3962329924106598, 1.3227089643478394, -0.09737125039100647, 1.125884771347046, 0.26197221875190735, -0.13424310088157654, 0.6452860236167908, 0.6347577571868896, -0.19088852405548096, 0.7938608527183533, 0.013899539597332478, -0.4679531157016754, -0.30215132236480713, -0.040499601513147354, -0.2892550528049469, 0.44925040006637573, 0.43720167875289917, -0.37271660566329956, -0.5907249450683594, 0.37966492772102356, 0.06814920902252197, -0.302420973777771, -0.41536420583724976, 0.9635538458824158, 0.14049150049686432, -0.03627324476838112, 0.36448046565055847, 0.2805483043193817, 1.0687472820281982, -0.4727499186992645, -0.07530467212200165, -0.19573836028575897, 0.26387882232666016, -0.6022219061851501, -0.4586847126483917, 0.006788032129406929, 0.12006185203790665, -0.30367881059646606, 0.2672748565673828, 1.0506033897399902, -0.48857396841049194, -0.3368099331855774, 0.4231342375278473, 0.602428674697876, 0.06877745687961578, -0.018682178109884262, -0.6972033977508545, -0.4181058406829834, -0.37704142928123474, -0.015846379101276398, 0.3092813789844513, 0.3130367696285248, 0.2407252937555313, 0.2884376347064972, 0.5180301070213318, -0.16218167543411255, 0.2896869480609894, 0.3224954903125763, 0.8824215531349182, -0.659803569316864, -0.6928126811981201, -0.6508844494819641, 0.6533312201499939, -0.00028379878494888544, -0.2144874483346939, 0.31707707047462463, 0.6462284326553345, 1.0527704954147339, -0.09796570986509323, 0.4934327006340027, 0.014765710569918156, 0.3890223801136017, -0.7554031014442444, 0.3868982493877411, -0.4169709384441376, -0.12077218294143677, -0.3523048460483551, -0.8874646425247192, -0.4277561902999878, 0.4465769827365875, -0.043625883758068085, 0.220122292637825, 0.8557772040367126, 0.8120620250701904, -0.5938140749931335, -0.09326866269111633, 0.2780221402645111, -0.06832265853881836, -0.15887631475925446, 0.6567450761795044, 0.7775232195854187, -0.5453293323516846, 0.8887671828269958, -0.5167976021766663, -0.0670519694685936, -0.40570107102394104, -0.6584434509277344, -0.80476313829422, -0.33237481117248535, -0.38484060764312744, -0.3317897915840149, -0.09581075608730316, 0.8802607655525208, 0.8916799426078796, -1.0955709218978882, 0.3030393421649933, -0.24913573265075684, 0.04775777459144592, -0.11028692126274109, -0.2874374985694885, 0.18768024444580078, -0.2441914826631546, -0.772803783416748, 0.5940485596656799, 0.265203595161438, 0.17305797338485718, 0.055657487362623215, -0.2433422952890396, -0.46126508712768555, -0.31949537992477417, 0.49689191579818726, 0.362867534160614, -0.5792222619056702, 0.019419819116592407, -0.00166028062812984, -0.24597199261188507, 0.2420070916414261, 0.9944067001342773, -0.6231076121330261, 0.3476104736328125, 0.5256086587905884, 0.911788284778595, 1.131248116493225, -0.22408084571361542, -0.07174231112003326, -1.0468761920928955, -0.06099759787321091, 0.21678945422172546, 0.4424189627170563, 0.4098615050315857, -0.2910584807395935, 0.24660778045654297, 0.25417834520339966, -0.09331884235143661, -0.45395660400390625, 0.20316001772880554, -0.8322115540504456, -0.028661679476499557, 0.8972448706626892, -0.03238874301314354, 0.1582717001438141, 0.02269222028553486, 0.04947344958782196, 0.38352563977241516, -0.5545274019241333, 0.06150700896978378, 0.5107520818710327, -0.5234048962593079, -0.6379945874214172, -0.21137665212154388, 0.3569713532924652, 0.09315694868564606, -0.8788650631904602, -0.6407338380813599, 0.6714828610420227, 0.4640081822872162, 0.24747128784656525, 0.6932849884033203, 0.041979361325502396, 0.25294458866119385, 0.5478233695030212, -0.12638840079307556, -0.011221032589673996, -0.657105028629303, -0.7469856142997742, 0.20545418560504913, -0.2559187710285187, -0.5941200852394104 ]
http://arxiv.org/abs/2404.06964v1
http://arxiv.org/pdf/2404.06964v1
Charles Translator: A Machine Translation System between Ukrainian and Czech
2024-04-10T12:22:32
2024-04-10T12:22:32
Martin Popel, Lucie Poláková, Michal Novák, Jindřich Helcl, Jindřich Libovický, Pavel Straňák, Tomáš Krabač, Jaroslava Hlaváčová, Mariia Anisimova, Tereza Chlaňová
cs.CL
cs.CL
We present Charles Translator, a machine translation system between Ukrainian and Czech, developed as part of a society-wide effort to mitigate the impact of the Russian-Ukrainian war on individuals and society. The system was developed in the spring of 2022 with the help of many language data providers in order to quickly meet the demand for such a service, which was not available at the time in the required quality. The translator was later implemented as an online web interface and as an Android app with speech input, both featuring Cyrillic-Latin script transliteration. The system translates directly, compared to other available systems that use English as a pivot, and thus take advantage of the typological similarity of the two languages. It uses the block back-translation method, which allows for efficient use of monolingual training data. The paper describes the development process, including data collection and implementation, evaluation, mentions several use cases, and outlines possibilities for the further development of the system for educational purposes.
[ -0.11791839450597763, -0.3290952444076538, 0.5723040699958801, 0.500754177570343, -0.6083272695541382, 0.5320771336555481, -0.16453713178634644, -0.6491893529891968, 0.352538526058197, 0.49389952421188354, -0.38105258345603943, -0.5519221425056458, -0.3825218975543976, 0.27684295177459717, -0.6889214515686035, 0.6774643659591675, -0.10387768596410751, 0.8254120349884033, 0.20988215506076813, 0.04114067927002907, -0.521355152130127, -0.611952006816864, -0.49278348684310913, -0.26259520649909973, 0.2133665382862091, 0.5306712985038757, 0.5704397559165955, 0.5232403874397278, 0.667631983757019, 0.38416334986686707, 0.15107117593288422, -0.3272664546966553, -0.4399721324443817, 0.3203277885913849, -0.3358688950538635, -0.4127560257911682, -0.2425435334444046, -0.5019456744194031, 0.7329651117324829, 0.6086496114730835, 0.0902940183877945, 0.16569776833057404, 0.20107297599315643, 0.862254798412323, -0.23055675625801086, -0.044327106326818466, -0.37958431243896484, -0.04281924292445183, -0.07042402029037476, -0.37722301483154297, -0.47771599888801575, -0.9479065537452698, -0.08245965093374252, -0.5438523888587952, -0.19509314000606537, 0.09680105000734329, 0.48804301023483276, -0.11740844696760178, -0.6044524312019348, -0.532691478729248, -0.8808813095092773, 0.9659422636032104, -0.16295671463012695, 0.43185266852378845, 0.46780338883399963, 0.6474860310554504, -0.206488236784935, -0.41304653882980347, -0.18190547823905945, 0.08435776084661484, -0.07706980407238007, 0.22646915912628174, -0.2440284937620163, -0.1769273728132248, -0.4973588287830353, 0.09325379878282547, -0.6997593641281128, -0.3752528429031372, -0.861063539981842, -0.402479887008667, 0.5325214266777039, 0.5592465996742249, 0.31563064455986023, -0.03847864642739296, -0.1831779181957245, 0.1258043795824051, -0.534588634967804, 0.14097166061401367, 0.44809582829475403, 0.590559184551239, -0.22489774227142334, 0.8285142779350281, -0.31307244300842285, 0.6258093118667603, 0.1379472315311432, 0.02814376913011074, 0.011084137484431267, -0.8476800918579102, -0.1777539849281311, 0.4573984146118164, 0.5924345850944519, 0.5204870700836182, 0.0022300193086266518, -0.2178756147623062, 0.044041525572538376, 0.03846036642789841, 0.21536540985107422, -0.9383826851844788, 0.03092900663614273, 0.02482249028980732, -0.53268963098526, -0.4657794237136841, -0.08906827867031097, -0.8359585404396057, -0.21738603711128235, -0.21814391016960144, 0.12717987596988678, -0.3398253917694092, 0.07085960358381271, 0.1906377077102661, 0.028948673978447914, 0.12446010112762451, 0.4761945605278015, -0.8326115012168884, 0.4967222511768341, 0.3364977240562439, 0.8586573600769043, -0.1241597831249237, -0.00850699096918106, -0.671758234500885, -0.184707373380661, -0.6577293276786804, 0.7328783869743347, -0.5977244973182678, -0.5646990537643433, 0.08916214853525162, 0.40289777517318726, 0.3817799389362335, -0.5770226716995239, 0.42066875100135803, -0.5095897316932678, 0.17895916104316711, 0.048941001296043396, -0.223646879196167, -0.050368115305900574, 0.0036058342084288597, -0.3806845545768738, 0.8343365788459778, 0.3239710032939911, -0.5715480446815491, 0.2310861200094223, -0.19768649339675903, -0.48624882102012634, 0.3994583189487457, -0.11914996057748795, -0.13738349080085754, -0.10437503457069397, -0.3668619990348816, 0.2666241526603699, -0.5775613188743591, 0.015886571258306503, -0.18702805042266846, -0.5573737621307373, 0.16156472265720367, 0.2909013330936432, 1.1853103637695312, 0.2798524498939514, -0.16376444697380066, 0.15176019072532654, -0.607615053653717, 0.3152158856391907, -0.08540196716785431, -1.070238471031189, -0.46796175837516785, 0.12268819659948349, 0.5213192105293274, 0.31216326355934143, 0.42203059792518616, -0.5901318788528442, 0.4172855615615845, -0.4066500961780548, 0.5176448225975037, 0.2745239734649658, -0.28648728132247925, 0.6599240303039551, -0.03514396399259567, 0.9375929236412048, -0.248989075422287, 0.17004753649234772, -0.14058855175971985, -0.47867798805236816, -0.3630804717540741, -0.24862080812454224, 0.36963027715682983, 0.9763977527618408, -0.5834556818008423, 0.6513440608978271, -0.004086463246494532, -0.5657166242599487, -0.8297522664070129, 0.06126299872994423, 0.2898821234703064, 0.146347314119339, 0.5205720067024231, -0.3675350248813629, -0.7254568338394165, -0.9894707798957825, 0.040221285074949265, -0.2806662917137146, -0.022305088117718697, -0.04799455404281616, 0.1866064965724945, -0.049259405583143234, 0.6265566349029541, 0.07080703973770142, 0.02936648018658161, -0.35259997844696045, -0.033748190850019455, -0.1551506370306015, 0.6661058068275452, 0.38593101501464844, -0.5725822448730469, -0.9872450828552246, 0.650600254535675, -0.5785638093948364, -0.15438517928123474, -0.17172189056873322, -0.36554476618766785, 0.35205042362213135, 0.37517648935317993, -0.15056703984737396, 0.6482458710670471, 0.948809027671814, -0.538670003414154, 0.8598003387451172, -0.004425568971782923, 0.6657627820968628, -1.634581208229065, 0.2192499190568924, -0.6482903957366943, -0.5393193364143372, -0.49191972613334656, 0.011488733813166618, 0.1510191559791565, -0.37665095925331116, -0.540337860584259, 0.2969822883605957, -0.33202317357063293, -0.24356894195079803, -0.4030515253543854, 0.36842408776283264, -0.14686302840709686, -0.13441240787506104, 0.07851655781269073, 0.7011988759040833, 0.5407413244247437, -0.4020489454269409, 0.9185053110122681, 0.2766736149787903, -0.33860307931900024, 0.9453434944152832, -0.31096434593200684, 0.01190069131553173, 0.587609589099884, 0.01938300020992756, -0.6256954073905945, 0.15890894830226898, 0.7557508945465088, -0.8617698550224304, -0.12502732872962952, -0.20147088170051575, -0.22712861001491547, -0.25505784153938293, -0.2567281424999237, 0.32589346170425415, 0.34722939133644104, -0.23921050131320953, 0.45831942558288574, 0.15071815252304077, -0.42800068855285645, -0.596077024936676, -0.9185222387313843, 0.4507615566253662, -0.15998485684394836, -0.6146907806396484, 0.03556584194302559, -0.525475025177002, -0.22246533632278442, 0.21067774295806885, -0.023505136370658875, -0.7932741641998291, -0.16748541593551636, -0.017595749348402023, 0.41129928827285767, -0.2655279040336609, 0.1664612889289856, 0.3423891067504883, -0.1037592664361, -0.021110067144036293, -0.42344942688941956, 0.49426594376564026, -0.004458094015717506, 0.012206727638840675, -0.8416957855224609, 0.8101925253868103, 0.6816765666007996, 0.03716466948390007, 0.6758043169975281, -0.00362428929656744, -0.3103628158569336, 0.12642927467823029, -0.16757747530937195, -0.22510145604610443, -0.4749937355518341, 0.4019292891025543, -0.35143476724624634, -0.6241880059242249, 0.5066096186637878, -0.3584192395210266, -0.2485697716474533, -0.043888479471206665, 0.6541014909744263, -0.05898198485374451, 0.8583033680915833, 0.886364758014679, 0.057275284081697464, 0.36286404728889465, 0.2680213749408722, 0.29031839966773987, -0.5230292677879333, -0.47234800457954407, -1.0231077671051025, -0.13012361526489258, -0.5058814287185669, -0.17069029808044434, -0.10610228031873703, 0.5910855531692505, 0.13252434134483337, 0.944023609161377, -0.8163724541664124, 0.052887823432683945, 0.42783743143081665, -0.19732411205768585, 0.5729178190231323, -0.04395230486989021, -0.19374538958072662, -0.49349209666252136, -0.3255365788936615, -0.81841641664505, 0.9455839991569519, -0.24817334115505219, 0.8370952606201172, 0.05685839429497719, 0.6817229986190796, 0.22201086580753326, -0.1318921148777008, -0.965013861656189, 0.6564618945121765, 0.038950223475694656, -0.8949570655822754, -0.3608427047729492, -0.37839269638061523, -1.260973334312439, 0.03183619678020477, -0.47802701592445374, -0.5823084712028503, 0.3456667363643646, 0.3349628448486328, 0.08555109798908234, -0.11422526091337204, -0.7763837575912476, 1.0588799715042114, -0.332852303981781, -0.43577104806900024, -0.8079186677932739, -0.5867910981178284, 0.12285005301237106, -0.4343164563179016, 0.22048445045948029, 0.27655088901519775, 0.00577276898548007, 0.3053246736526489, -0.2233126312494278, 0.3851897120475769, 0.3272568881511688, 0.34830644726753235, 0.09212134778499603, 0.44924843311309814, 0.13007141649723053, -0.04301020875573158, -0.05224163457751274, -0.12802959978580475, 0.4503234326839447, -0.6430556774139404, -0.40636271238327026, 0.486523300409317, -0.5812867879867554, -0.1071862131357193, -0.5542011857032776, -0.2673858106136322, 0.414853572845459, 0.5052820444107056, 0.0867171436548233, 0.16653971374034882, -0.6219466328620911, 0.36610278487205505, 0.10258403420448303, -0.4130777418613434, 0.11514782160520554, 0.9490538239479065, -0.7047037482261658, -0.39329442381858826, 0.9285036325454712, 0.033140458166599274, 0.4000900089740753, 0.4901083707809448, 0.1191253736615181, 0.22872693836688995, -0.4986879527568817, -0.8386610746383667, 0.08819922804832458, -0.6635802984237671, -0.14461378753185272, -0.14329497516155243, -0.06242531165480614, -0.34237393736839294, -0.6433790922164917, -0.49236735701560974, -0.5082269310951233, -0.039885394275188446, 0.23599855601787567, 0.03304492309689522, 1.1379632949829102, -0.0032035645563155413, 0.2501077950000763, -0.6434387564659119, -0.10033641010522842, 0.2432585507631302, 0.021207144483923912, -0.5104473233222961, -0.35866937041282654, -0.9700518250465393, -0.24867768585681915, -0.575520932674408, -1.2868809700012207, 0.33664029836654663, -0.3882415294647217, 0.14187446236610413, 0.028214959427714348, 0.058692190796136856, 0.39297330379486084, -0.4636666476726532, 0.5878976583480835, 0.39391273260116577, -1.1420735120773315, 0.44638603925704956, -0.14270314574241638, 0.44075247645378113, 0.4231969118118286, 0.3282504677772522, -0.9339464902877808, -0.6345811486244202, 0.07353945076465607, -0.7328658103942871, 0.9971063733100891, 0.15856897830963135, -0.01981864683330059, 0.3883400857448578, 0.10243575274944305, 0.1179760992527008, 0.2690855860710144, -0.6517051458358765, -0.05674101784825325, -0.41786935925483704, -0.21845459938049316, 0.2425566017627716, 0.20766280591487885, 0.17376071214675903, -0.4517610967159271, 0.8646281957626343, 0.1986674666404724, 0.17248207330703735, 0.0829276293516159, -0.14680849015712738, -0.3136523365974426, 0.7066574692726135, 0.6659606695175171, 0.6133506894111633, 0.01688552461564541, -0.09569502621889114, 0.05116087198257446, -0.779746949672699, 0.22569197416305542, 0.053029999136924744, -0.31768396496772766, 0.020328020676970482, 0.012356169521808624, 0.2803741991519928, 0.22041915357112885, -0.7999138832092285, 0.3179098963737488, -0.1626279354095459, -0.2971596419811249, -0.3642962574958801, -0.4336622953414917, 0.5927990078926086, 0.49265679717063904, 0.42790085077285767, 0.057072658091783524, 0.2916487753391266, -0.6313208937644958, 0.1182747632265091, 0.32859253883361816, -0.5298648476600647, -0.5563608407974243, 0.26718154549598694, 0.5585423707962036, -0.9007293581962585, 0.25047194957733154, -0.304853618144989, -0.6042888164520264, 0.40511977672576904, 0.6855048537254333, 0.7859245538711548, -0.810417652130127, 0.418417364358902, 0.58012855052948, 0.7028687596321106, 0.1245485469698906, 0.3637334406375885, 0.020562533289194107, -0.23196683824062347, -0.3228726089000702, -0.3856266140937805, -0.395260751247406, 0.051363755017519, -0.8490117788314819, 0.7365126609802246, -0.16132092475891113, -0.21289929747581482, -0.1767125278711319, -0.07017716020345688, -0.4685412347316742, -0.15950298309326172, -0.2105536013841629, 0.7119124531745911, -0.6804311275482178, 1.2430312633514404, 0.8074564337730408, -0.2551429867744446, -0.33961421251296997, -0.3180275857448578, -0.13940562307834625, -0.5428209900856018, 0.963786780834198, -0.24608950316905975, -0.7289057970046997, 0.09475716203451157, -0.16709406673908234, -0.6202315092086792, 0.7655913233757019, 0.7212440967559814, -0.8539694547653198, 0.11174881458282471, 0.1411837488412857, 0.508809506893158, -0.4985261559486389, -0.0035413336008787155, 0.4479852616786957, 0.6379947066307068, -0.49086707830429077, -1.1813747882843018, -0.012441730126738548, -0.15338222682476044, -0.29883435368537903, 0.2632417678833008, -0.3031267821788788, 0.36427944898605347, 0.2237669974565506, -0.5296891927719116, 0.47797393798828125, 0.07284144312143326, -0.3041297197341919, 0.3247789144515991, 0.006452546920627356, -0.04611809924244881, 0.30585265159606934, 0.06643237173557281, 0.4552868902683258, -0.5619810223579407, 0.22491975128650665, 0.9624722599983215, -0.08654811978340149, 0.8489834666252136, 0.668400764465332, -0.29519176483154297, 0.41102248430252075, 0.6767588257789612, 0.18992379307746887, 0.5808196067810059, 0.42466339468955994, -0.5529951453208923, -0.22367733716964722, -0.11373955011367798, -0.35377708077430725, 0.17758683860301971, 0.21552053093910217, -0.5110676288604736, -0.2476799041032791, 0.11456791311502457, -0.06866858899593353, 0.6756032705307007, -0.04892070218920708, 0.6121386289596558, -0.10790468752384186, -0.30507713556289673, 0.5639047026634216, 0.18975214660167694, 0.4090142548084259, -0.7827800512313843, -0.04024067521095276, -0.03608430549502373, 0.038460541516542435, -0.14774870872497559, -0.46376004815101624, 0.5677486062049866, 0.13568724691867828, -0.27436113357543945, -0.16850504279136658, 0.24782639741897583, -0.7338876724243164, -0.6571620106697083, 0.9756178259849548, 0.4058442711830139, 0.7314777970314026, 0.2586306035518646, -0.8703274726867676, 0.5363882780075073, 0.01163415051996708, -0.1779569536447525, 0.2532566785812378, 0.2905021905899048, -0.06664996594190598, 0.44914335012435913, 0.21857672929763794, 0.46611008048057556, 0.33892807364463806, -0.4865458607673645, 0.7596985697746277, -0.7021486759185791, -0.3842855989933014, -0.587196946144104, 0.35648995637893677, 0.1481451392173767, -0.2467554211616516, 0.6813431978225708, 1.1113996505737305, 0.7564738988876343, -0.031776562333106995, 1.1775761842727661, -0.17221930623054504, 0.5724978446960449, -0.17596545815467834, 0.7151510715484619, -0.558023989200592, -0.18224561214447021, 0.025110678747296333, -1.1348021030426025, -0.1595996767282486, 0.6771663427352905, -0.037939075380563736, -0.31025832891464233, 1.3924853801727295, 0.713402271270752, 0.22507530450820923, -0.13676822185516357, 0.5485043525695801, 0.012311884202063084, -0.031204305589199066, 0.5392133593559265, 0.5258557796478271, -0.4492681324481964, 1.247916579246521, -0.13729992508888245, -0.2598384916782379, -0.4539198577404022, -0.5472773909568787, -0.8487851619720459, -0.8367648124694824, 0.07010511308908463, -0.493063747882843, 0.5506839752197266, 0.9871680736541748, 0.7891169786453247, -0.9241347312927246, -0.6954392194747925, 0.06307728588581085, -0.02373400703072548, -0.2842279374599457, -0.14644759893417358, 0.06580810248851776, -0.0390031561255455, -0.9976585507392883, 0.6497385501861572, 0.32820722460746765, 0.11276619136333466, -0.4604029953479767, -0.4133390486240387, -0.09600356966257095, 0.10650981217622757, 0.5597279667854309, 0.3541170358657837, -0.6695880889892578, -0.17668363451957703, 0.24941658973693848, -0.45478442311286926, 0.17363908886909485, 1.0268803834915161, -0.5604832768440247, 1.0022797584533691, 0.5356224179267883, 0.8257701992988586, 0.4594811797142029, -0.153375044465065, 0.7289016246795654, -0.003227039473131299, 0.15262742340564728, 0.28836703300476074, -0.09720040112733841, 0.5865886211395264, -0.40313446521759033, 0.18211081624031067, 0.3441223204135895, -0.7651766538619995, -0.7811954617500305, 0.2660300135612488, -0.9099331498146057, -0.25287020206451416, 0.4960974454879761, -0.05577291175723076, 0.044015176594257355, -0.8063385486602783, -0.5683498382568359, 0.4451107680797577, -0.7801625728607178, 0.902365505695343, 1.2743674516677856, 0.13233156502246857, 0.23887920379638672, -0.8297196626663208, 0.23251934349536896, 0.29278936982154846, -0.8138211369514465, 0.11802814900875092, 0.3446938991546631, 0.19551168382167816, 0.23436203598976135, 0.8086338639259338, -0.15213140845298767, 0.5550019145011902, -0.06885518878698349, 0.8119972348213196, 0.42627397179603577, -0.2547414004802704, -0.5397501587867737, -0.24927325546741486, 0.0435788668692112, -0.21691541373729706 ]
http://arxiv.org/abs/2404.06954v1
http://arxiv.org/pdf/2404.06954v1
Accelerating Inference in Large Language Models with a Unified Layer Skipping Strategy
2024-04-10T12:12:07
2024-04-10T12:12:07
Yijin Liu, Fandong Meng, Jie Zhou
cs.CL
cs.CL
Recently, dynamic computation methods have shown notable acceleration for Large Language Models (LLMs) by skipping several layers of computations through elaborate heuristics or additional predictors. However, in the decoding process of existing approaches, different samples are assigned different computational budgets, which cannot guarantee a stable and precise acceleration effect. Furthermore, existing approaches generally skip multiple contiguous layers at the bottom or top of the layers, leading to a drastic change in the model's layer-wise representations, and thus a consequent performance degeneration. Therefore, we propose a Unified Layer Skipping strategy, which selects the number of layers to skip computation based solely on the target speedup ratio, and then skips the corresponding number of intermediate layer computations in a balanced manner. Since the Unified Layer Skipping strategy is independent of input samples, it naturally supports popular acceleration techniques such as batch decoding and KV caching, thus demonstrating more practicality for real-world applications. Experimental results on two common tasks, i.e., machine translation and text summarization, indicate that given a target speedup ratio, the Unified Layer Skipping strategy significantly enhances both the inference performance and the actual model throughput over existing dynamic approaches.
[ -0.3839123845100403, -0.8894166350364685, 0.6753972172737122, 0.7344239354133606, -0.3371523916721344, 0.3754308223724365, -0.2636299133300781, -0.40671852231025696, 0.015133978798985481, 0.5032745003700256, -0.35803768038749695, -0.1822635382413864, -0.5706146955490112, -0.16701021790504456, -0.46827828884124756, 0.5097277760505676, 0.06698562204837799, 0.02803710661828518, -0.3546104431152344, 0.17528097331523895, -0.46447300910949707, -0.26971757411956787, -0.8555418252944946, -0.6801756620407104, 0.5131361484527588, 0.556483268737793, 0.6652036905288696, 1.0425493717193604, 0.21869944036006927, 0.3226921558380127, -0.3460982143878937, 0.18962104618549347, -0.18262746930122375, 0.31907084584236145, 0.08817094564437866, -0.09735944122076035, -0.6070429086685181, -0.42491424083709717, 0.9505006670951843, 1.0097558498382568, -0.11452830582857132, 0.040133874863386154, 0.13237205147743225, 0.8459344506263733, -0.8200679421424866, -0.08012683689594269, -0.43959537148475647, 0.011050088331103325, -0.15283744037151337, -0.2512408494949341, -0.45464614033699036, 0.11576128751039505, 0.06209531053900719, -0.4388643503189087, -0.0013854880817234516, -0.3895156681537628, 0.17998318374156952, 0.13296496868133545, -0.32637184858322144, 0.15818092226982117, -0.9871857762336731, 0.8026520609855652, -0.8020669221878052, 0.3326146900653839, 0.15101180970668793, 0.044613588601350784, -0.14867372810840607, -0.7554767727851868, -0.35133934020996094, -0.1377425640821457, 0.1812930405139923, 0.08519035577774048, -0.13036960363388062, 0.18578468263149261, 0.29819339513778687, 0.09291796386241913, -0.392214834690094, 0.5208448767662048, -0.20383107662200928, -0.18937693536281586, 0.5238667726516724, 0.052423954010009766, 0.38986530900001526, 0.14108628034591675, -0.372140496969223, -0.15129706263542175, -0.7290499806404114, 0.14718560874462128, 0.2675502896308899, 0.28929948806762695, 0.0008630299125798047, 0.2954082489013672, -0.4232969284057617, 0.6085628867149353, -0.10498177260160446, 0.03322464972734451, 0.21630875766277313, -0.20229965448379517, -0.37907618284225464, 0.3418310284614563, 0.6457269191741943, 0.10850352048873901, 0.3490390181541443, -0.3962302505970001, -0.09813226014375687, 0.08522221446037292, -0.03559326007962227, -0.9934694766998291, -0.15385983884334564, 0.47342348098754883, -0.11700093001127243, -0.17262370884418488, -0.2906728684902191, -0.8643705248832703, -0.19214363396167755, -0.14559347927570343, 0.19784678518772125, -0.3344388008117676, -0.26496240496635437, 0.2960018813610077, -0.072389155626297, 0.0011762073263525963, 0.38801702857017517, -0.7800301909446716, 0.5824396014213562, 0.5422420501708984, 0.762566089630127, -0.14294247329235077, -0.5952659845352173, -1.0257508754730225, 0.319072961807251, -0.4081362187862396, 0.7208473682403564, -0.7868937253952026, -0.3960026502609253, -0.22026214003562927, -0.21698983013629913, -0.07651838660240173, -0.30407530069351196, 0.8368607759475708, -0.5901881456375122, 0.007417154964059591, -0.25490474700927734, -0.5174155235290527, -0.21103401482105255, -0.19044914841651917, -0.7713930606842041, 1.1381373405456543, -0.36444416642189026, -0.5888177156448364, 0.08898544311523438, -0.6207764744758606, -0.8334537148475647, -0.07450389117002487, 0.11093278229236603, -0.3059743046760559, 0.45245957374572754, 0.705904483795166, 0.5820789337158203, -0.4475170373916626, 0.3723178803920746, -0.217891663312912, -0.6841022372245789, -0.10248604416847229, -0.598476231098175, 0.7217100262641907, 0.1572393774986267, -0.452314168214798, -0.023825110867619514, -0.9378633499145508, 0.07286874204874039, 0.18797485530376434, -0.6515108346939087, -0.5237274169921875, 0.3804381191730499, -0.20382528007030487, 0.25705277919769287, 0.05476248264312744, -0.4410596787929535, 0.20823723077774048, -0.12528164684772491, 0.2249397337436676, 0.8282843828201294, -0.052751872688531876, 0.575531542301178, 0.05382384732365608, 0.5369597673416138, 0.19347940385341644, -0.30252623558044434, -0.507744550704956, -0.3205803632736206, -0.885197103023529, -0.35311761498451233, 0.4165398180484772, 0.6602202653884888, -0.6473544239997864, 0.30708047747612, -0.39708366990089417, -0.15897992253303528, -0.5711455941200256, 0.21884113550186157, 0.610675036907196, 0.5831406712532043, 0.5512566566467285, -0.2370547354221344, -0.4601365923881531, -0.6491623520851135, -0.5667693614959717, -0.036866478621959686, -0.20361140370368958, -0.12896151840686798, 0.187986820936203, 0.04242436960339546, 0.47799208760261536, -0.2599543333053589, 0.188881516456604, -0.5422245860099792, 0.34766095876693726, 0.07531222701072693, 0.6405555009841919, 0.2656327188014984, -0.6627415418624878, -0.2695552706718445, 0.021109875291585922, -0.6192241907119751, -0.27959930896759033, -0.2558109760284424, -0.09257413446903229, 0.11936268210411072, 0.6238452792167664, -0.5130007863044739, 0.14514514803886414, 0.5553033351898193, -0.08586365729570389, 0.37905359268188477, -0.3402153551578522, 0.13728030025959015, -0.7756034731864929, -0.08900459110736847, 0.03307424113154411, -0.20998921990394592, -0.9369944930076599, 0.2209485024213791, 0.22143666446208954, 0.2667441964149475, -0.3052864074707031, 0.6480462551116943, -0.7464112043380737, -0.17496037483215332, -0.260836660861969, 0.07384790480136871, 0.24589364230632782, 0.44692856073379517, 0.011971657164394855, 0.7215698957443237, 0.7801569104194641, -0.8958833813667297, 0.07273399084806442, -0.3740232586860657, -0.3086087703704834, 0.13821017742156982, -0.744744062423706, 0.3230869770050049, -0.1770736277103424, 0.3204182982444763, -0.9883460402488708, -0.11941896378993988, -0.20190861821174622, -0.2437998205423355, 0.31141194701194763, -0.15570057928562164, -0.5833107829093933, -0.5763487219810486, -0.3124501407146454, 0.4836403727531433, 0.5854963064193726, -0.6362968683242798, 0.7739638090133667, 0.20511341094970703, -0.11360643059015274, -0.8634579181671143, -1.0528440475463867, 0.17318286001682281, -0.22740614414215088, -0.6242828965187073, 0.3922120928764343, -0.2219669669866562, -0.12845204770565033, -0.19444186985492706, -0.22892960906028748, -0.0660712718963623, 0.34783077239990234, -0.09810901433229446, 0.04675339534878731, -0.272676020860672, -0.1302100419998169, 0.342670738697052, 0.020649194717407227, 0.05768756940960884, -0.5711871981620789, 0.8030133843421936, 0.10418320447206497, -0.34500157833099365, -0.47279855608940125, 0.1556755155324936, 0.5543911457061768, -0.2023857682943344, 0.5977867245674133, 0.6416619420051575, -0.24951109290122986, -0.30899322032928467, -0.5974586606025696, 0.11901019513607025, -0.49199378490448, 0.40648937225341797, -0.4555417597293854, -0.7342212200164795, 0.7642264366149902, -0.20993515849113464, 0.1528528332710266, 0.3565877377986908, 0.5146451592445374, 0.06374853849411011, 1.166501760482788, 0.3403029441833496, -0.326231986284256, 0.4290458559989929, -0.10183843225240707, -0.06447640061378479, -0.8367414474487305, 0.02529405988752842, -0.697333812713623, -0.390766441822052, -0.3865545690059662, -0.6110062599182129, 0.11070335656404495, 0.44476330280303955, -0.14926496148109436, 0.051120247691869736, -0.17278078198432922, 0.841911256313324, 0.43713587522506714, -0.0344424694776535, 0.6870328783988953, 0.4501653015613556, -0.5061436295509338, 0.22799593210220337, -0.6666372418403625, -0.013540778309106827, 0.8488339185714722, 0.34796974062919617, 0.6982539892196655, -0.0047162435948848724, 0.4700358211994171, 0.41046375036239624, -0.03595000132918358, -0.4382675588130951, 0.8334506750106812, -0.31822484731674194, -0.33236831426620483, -0.3288874328136444, -0.8013569712638855, -0.6973732113838196, 0.6545278429985046, 0.20146511495113373, -0.8403482437133789, 0.19874709844589233, 0.2981606721878052, -0.15110687911510468, 0.5668944120407104, -0.6111332178115845, 0.5941578149795532, -0.13294090330600739, -0.5354989171028137, -0.2785893678665161, -0.6132681369781494, 0.4340662658214569, -0.08547703176736832, 0.21302227675914764, -0.04237661510705948, -0.07410143315792084, 0.5605761408805847, -0.0908229872584343, 0.6546499133110046, -0.37034139037132263, -0.1093280091881752, 0.26328223943710327, 0.22512705624103546, 0.6812225580215454, -0.22378355264663696, -0.258789598941803, 0.125333771109581, -0.48441171646118164, -0.7043061852455139, -0.5509458184242249, 0.7585261464118958, -0.47224172949790955, -0.48976007103919983, -0.08376693725585938, -0.7822567820549011, -0.3148442804813385, 0.3987215757369995, -0.02111796662211418, 0.5429818034172058, -0.2215091735124588, 0.08626487851142883, 0.5596243739128113, -0.2139289528131485, 0.7991719841957092, 0.5245322585105896, -0.1536700278520584, -0.16469602286815643, 0.7953163981437683, 0.05194929242134094, 0.6110334396362305, 0.5688539147377014, 0.3379792869091034, -0.32226884365081787, -0.8973912596702576, -0.7217366099357605, -0.0777759999036789, -0.5556049346923828, 0.13130247592926025, -0.9478210806846619, -0.1516084372997284, -0.49143776297569275, -0.11221950501203537, -0.4420716166496277, -0.5583978891372681, -0.051146239042282104, -0.047587260603904724, 0.03627016767859459, 0.32881519198417664, 0.004927459172904491, 0.47184041142463684, -0.8423115015029907, 0.384757936000824, 0.15238863229751587, 0.3445032238960266, 0.4311765134334564, -0.6592475175857544, -0.24505752325057983, -0.09496931731700897, -0.15857665240764618, -0.3377080261707306, 0.33232545852661133, 0.10964515060186386, 0.5937946438789368, 0.4539394974708557, -0.09052971750497818, 1.0907970666885376, -0.5124337673187256, 0.41366130113601685, 0.07885721325874329, -0.9692782759666443, 0.17087964713573456, -0.4813036322593689, 0.69500732421875, 0.46151530742645264, 0.26071619987487793, -0.45953330397605896, -0.40451323986053467, -0.43675586581230164, -0.9865027666091919, 0.599783182144165, 0.1062396764755249, 0.19281719624996185, 0.185382679104805, 0.19043609499931335, -0.2526630759239197, 0.11785967648029327, -0.5519344806671143, -0.12626881897449493, 0.3672909736633301, 0.15804822742938995, -0.006185321137309074, -0.16456174850463867, 0.3015490770339966, -0.3454183340072632, 0.6237881183624268, -0.11820091307163239, 0.12344546616077423, 0.11263394355773926, -0.3061370253562927, -0.3398566246032715, 0.3625391721725464, 0.40436500310897827, 0.7265527844429016, -0.40133804082870483, 0.2052966058254242, 0.10034311562776566, -0.5430956482887268, 0.07263176143169403, 0.23971985280513763, -0.3703739047050476, -0.14209938049316406, 0.44313615560531616, 0.9115507006645203, 0.3484509587287903, -0.6510392427444458, 0.013779721222817898, 0.01581081934273243, -0.11696755141019821, 0.06778492033481598, 0.14227861166000366, 0.3675919771194458, 0.2385825663805008, 0.5530944466590881, 0.07032151520252228, 0.1006067544221878, -0.4266361892223358, 0.17223216593265533, 0.3578881323337555, -0.12693798542022705, -0.23325428366661072, 0.6430554986000061, 0.05510425940155983, -0.10579881817102432, 0.5203914642333984, -0.014187411405146122, -0.3195344805717468, 0.7925736308097839, 0.6408898234367371, 0.9797996878623962, -0.4628017246723175, 0.14549893140792847, 0.1407349407672882, 0.3911914825439453, -0.5904736518859863, 0.08082112669944763, -0.15376779437065125, -0.7501254081726074, -0.941582977771759, -0.7583498358726501, -0.32663387060165405, 0.18586747348308563, -0.6165956258773804, 0.02953370288014412, -0.39387038350105286, 0.40036681294441223, 0.09515585005283356, 0.029704097658395767, -0.5257469415664673, 0.2008010596036911, 0.2737444341182709, 1.0389174222946167, -0.7354123592376709, 1.1196385622024536, 0.5106185674667358, -0.12833161652088165, -0.5215849876403809, 0.20530225336551666, -0.014575019478797913, -0.6898479461669922, 0.3575042486190796, 0.10366912931203842, -0.3740474283695221, 0.08741672337055206, -0.3103218674659729, -0.8073986768722534, 0.9730691313743591, 0.34469977021217346, -0.5787470936775208, -0.25798118114471436, 0.022534286603331566, 0.45550215244293213, -0.5558326840400696, 0.1952163279056549, 0.7783637642860413, 0.4894767105579376, 0.32145142555236816, -0.5094217658042908, 0.11291392147541046, -0.06998101621866226, 0.1592109352350235, 0.18982166051864624, -0.41485825181007385, 0.9849727749824524, -0.2497866451740265, -0.2048921138048172, 0.2243742197751999, 0.7370499968528748, 0.2524229884147644, 0.28230729699134827, 0.6816756725311279, 0.5873594880104065, 0.5735458731651306, 0.17725050449371338, 1.2812926769256592, -0.18963946402072906, 0.07435063272714615, 1.1455154418945312, -0.32847678661346436, 0.7565680146217346, 0.29309576749801636, -0.0868835598230362, 0.38383209705352783, 0.3915732502937317, 0.21460770070552826, 0.26675042510032654, 0.07230943441390991, -0.2747217118740082, -0.3772721290588379, -0.004349368624389172, -0.06702779978513718, 0.4879859387874603, 0.29687801003456116, -0.3314855396747589, -0.35865870118141174, -0.2666977643966675, 0.32251662015914917, 0.0015783958369866014, -0.4951733946800232, 0.48875075578689575, -0.17572693526744843, -0.7908121347427368, 0.7027066946029663, 0.14568421244621277, 0.5497528314590454, -0.6702927947044373, -0.019999448210000992, -0.4463745057582855, 0.1917639672756195, 0.06154334917664528, -0.6202839612960815, -0.12381330877542496, -0.011686190962791443, -0.1308489441871643, -0.32168465852737427, 0.7840703129768372, -0.4289284348487854, -0.771844744682312, 0.7236108779907227, 0.6619076728820801, 0.11741655319929123, -0.11256100982427597, -0.598745584487915, 0.20434096455574036, -0.015171132050454617, -0.676200270652771, 0.57891845703125, 0.5152560472488403, -0.24459409713745117, 0.57014000415802, 0.9486783742904663, 0.26697733998298645, 0.04575050249695778, 0.4031151831150055, 1.0637277364730835, -0.7232369780540466, -0.5277090668678284, -1.1392017602920532, 0.6583597660064697, -0.10882162302732468, 0.0964464545249939, 0.6106384992599487, 0.3889451324939728, 0.7389888763427734, 0.28540754318237305, 0.6633411049842834, 0.23541653156280518, 0.3590800166130066, -0.7633188962936401, 0.39106011390686035, -0.6942898631095886, 0.6325488686561584, -0.5819475054740906, -1.1232752799987793, -0.3677158057689667, 0.22425302863121033, 0.010708222165703773, 0.17051802575588226, 0.48486098647117615, 0.473173588514328, -0.34194478392601013, -0.026857439428567886, 0.34305623173713684, 0.5608758330345154, 0.40607210993766785, 0.45360425114631653, 0.5076065063476562, -0.12027761340141296, 0.3711918294429779, -0.3252713978290558, -0.21985238790512085, 0.009365537203848362, -1.1841015815734863, -0.8326435685157776, -0.0428975410759449, -0.03243677690625191, -0.3000269830226898, 0.13708022236824036, 0.6807563900947571, 0.6170837879180908, -0.6103073954582214, -0.42037075757980347, -0.28634878993034363, 0.17302080988883972, -0.4511900246143341, -0.19430284202098846, 0.29224148392677307, -0.2691498100757599, -0.8814976215362549, 0.7550727725028992, 0.4542393982410431, -0.2533748745918274, -0.38773390650749207, 0.09842217713594437, -0.38346657156944275, 0.27695432305336, 0.6338667273521423, 0.5324863791465759, -0.5958346724510193, 0.09927443414926529, -0.108346126973629, 0.13479001820087433, 0.08524219691753387, 1.0452829599380493, -0.9477330446243286, 0.30629488825798035, 0.6912059783935547, 1.0718692541122437, 0.7155570983886719, 0.11950396001338959, 0.6036415696144104, -0.8286876678466797, 0.4270530939102173, 0.04536556452512741, 0.33372241258621216, 0.30931928753852844, -0.2631584703922272, 0.3520210385322571, 0.18590861558914185, -0.4489525556564331, -0.9168042540550232, 0.12541449069976807, -0.8999608159065247, -0.49296534061431885, 0.9614701867103577, -0.12606054544448853, -0.32171598076820374, 0.015458932146430016, 0.29386574029922485, 0.09559675306081772, -0.6182422637939453, 0.5656241774559021, 0.5484049320220947, -0.16267448663711548, -0.29755574464797974, -0.811478853225708, 0.10213817656040192, 0.6729618310928345, -0.7935532927513123, 0.4106767773628235, 0.5395407676696777, 0.1397874802350998, 0.11895649880170822, 0.8469074368476868, 0.004191886633634567, 0.15310759842395782, -0.013389523141086102, -0.02907511033117771, -0.21751165390014648, -0.7770605087280273, -0.48195451498031616, 0.17440666258335114, -0.20301683247089386, 0.06782511621713638 ]
http://arxiv.org/abs/2404.06948v2
http://arxiv.org/pdf/2404.06948v2
MetaCheckGPT -- A Multi-task Hallucination Detector Using LLM Uncertainty and Meta-models
2024-04-10T11:56:01
2024-04-11T15:39:44
Rahul Mehta, Andrew Hoblitzell, Jack O'Keefe, Hyeju Jang, Vasudeva Varma
cs.CL
cs.CL, cs.AI, 68T07, 68T50, I.2.7
Hallucinations in large language models (LLMs) have recently become a significant problem. A recent effort in this direction is a shared task at Semeval 2024 Task 6, SHROOM, a Shared-task on Hallucinations and Related Observable Overgeneration Mistakes. This paper describes our winning solution ranked 1st and 2nd in the 2 sub-tasks of model agnostic and model aware tracks respectively. We propose a meta-regressor framework of LLMs for model evaluation and integration that achieves the highest scores on the leaderboard. We also experiment with various transformer-based models and black box methods like ChatGPT, Vectara, and others. In addition, we perform an error analysis comparing GPT4 against our best model which shows the limitations of the former.
[ -0.4298796057701111, -0.6905093789100647, 0.9642123579978943, 0.14119839668273926, -0.24610300362110138, -0.17225709557533264, -0.03242478892207146, -0.3864601254463196, 0.3028573989868164, 0.5183290243148804, -0.6384574174880981, -0.48610585927963257, -0.9871389269828796, 0.13498365879058838, -0.5010586977005005, 0.6508651375770569, -0.23433174192905426, 0.052622146904468536, -0.013670752756297588, 0.11076080799102783, -0.682371973991394, -0.7379805445671082, -0.220555379986763, -0.47957777976989746, 0.28209277987480164, 0.05050944164395332, 0.5939195156097412, 0.14833271503448486, 0.5833930969238281, 0.24688652157783508, 0.2275329977273941, 0.2482367604970932, -0.3046264350414276, 0.15734970569610596, -0.20239463448524475, -0.08527354151010513, -0.5895174145698547, -0.11908803880214691, -0.03332306444644928, 0.2593287527561188, -0.48726990818977356, 0.03379419445991516, 0.1498953104019165, 0.05624539777636528, -0.5560067892074585, 0.4337235391139984, -0.6336336135864258, 0.19449570775032043, 0.018377190455794334, -0.2546673119068146, -0.45967942476272583, -0.1795235127210617, -0.0918707326054573, -0.17318327724933624, 0.31746962666511536, -0.1590059995651245, 0.5565475225448608, 0.7723034620285034, -0.3586331307888031, -0.39842385053634644, -0.7399550080299377, 0.6517027616500854, -0.5678859949111938, 0.5891320705413818, 0.3359832167625427, 0.5180129408836365, -0.0601089671254158, -0.7761939764022827, -0.41090232133865356, -0.030591579154133797, -0.07785648852586746, 0.11827096343040466, -0.15021191537380219, 0.03890638053417206, 0.10412878543138504, 0.3139035701751709, -0.5891830921173096, -0.13503514230251312, -0.3706210255622864, -0.5202980637550354, 0.28937122225761414, 0.2536129951477051, 0.1383686065673828, -0.24497905373573303, -0.12381194531917572, 0.15127183496952057, -0.2291037142276764, -0.5546091198921204, 0.012279404327273369, 0.128516286611557, 0.39458510279655457, 0.5217509865760803, -0.05480669066309929, 0.4581931233406067, 0.011629396118223667, 0.10251614451408386, 0.3273618221282959, -0.20863960683345795, -0.2477390617132187, 0.04581280052661896, 0.7296083569526672, 0.15564623475074768, 0.03158101066946983, -0.2697199881076813, -0.3956170976161957, 0.41542884707450867, 0.3540516197681427, -0.7082099318504333, -0.44899579882621765, 0.2540976107120514, -0.36124181747436523, -0.36218538880348206, -0.0827513113617897, -0.9179515242576599, -0.5936982035636902, -0.25291767716407776, 1.0688444375991821, -0.31925979256629944, -0.3160206079483032, 0.4845365583896637, 0.1729927659034729, 0.35058820247650146, 0.3077697455883026, -0.8239083886146545, 0.2636243402957916, 0.7181264758110046, 0.911708414554596, -0.3389156758785248, -0.45597124099731445, -0.49748602509498596, -0.00529736652970314, -0.14019370079040527, 0.7838271260261536, -0.4888370633125305, -0.358423113822937, -0.14223189651966095, 0.21586988866329193, -0.2586422562599182, -0.48944851756095886, 0.9024572968482971, -0.15937212109565735, 0.3768375813961029, -0.41702497005462646, -0.4693277180194855, -0.3854547441005707, 0.2030320018529892, -0.6185833215713501, 0.9158639311790466, 0.13177171349525452, -0.6385947465896606, 0.34667763113975525, -0.5681989789009094, -0.13319392502307892, 0.30861368775367737, -0.3649360239505768, -0.43261194229125977, 0.21449358761310577, 0.270504891872406, 0.5553146004676819, 0.009048882871866226, 0.7121837735176086, -0.20801736414432526, -0.8221415877342224, 0.014099281281232834, -0.4850503206253052, 0.49187904596328735, -0.06646053493022919, -0.8071653246879578, 0.30983811616897583, -0.5683051347732544, -0.07741501927375793, 0.018357377499341965, -0.14990954101085663, 0.03985441103577614, 0.01424462255090475, -0.03312123194336891, 0.30804556608200073, 0.1050393134355545, -0.21940331161022186, 0.1103985458612442, 0.2927725911140442, 0.6364355683326721, 0.7400686144828796, 0.07287535816431046, -0.13222599029541016, -0.20568640530109406, 0.46938639879226685, -0.14868073165416718, 0.30575281381607056, -0.05266966298222542, -0.4957224726676941, -0.8301413655281067, -0.3218097686767578, 0.07404947280883789, 0.6490178108215332, -0.40991348028182983, 0.6601128578186035, -0.06263504177331924, -0.44387727975845337, -0.5422694087028503, -0.1743524670600891, -0.019890397787094116, 0.08700977265834808, 0.6144621968269348, -0.08561540395021439, -0.5279377698898315, -0.8719877004623413, -0.12824788689613342, 0.25304752588272095, -0.040994346141815186, 0.21677926182746887, 0.8353291153907776, -1.0503218173980713, 0.3210607171058655, -0.5509299635887146, -0.5382708311080933, 0.039005961269140244, 0.4324670732021332, 0.2722099721431732, 0.32430726289749146, 0.2431277483701706, -0.4902820885181427, -0.2807392477989197, -0.1424913853406906, -0.9291152358055115, -0.28338441252708435, 0.1526929885149002, 0.09811031818389893, 0.2737205922603607, 0.6236280202865601, -0.7426277995109558, 0.3710809648036957, 0.7610906958580017, -0.243724524974823, 0.5922491550445557, -0.07214497774839401, 0.42349329590797424, -0.8775875568389893, -0.11563058942556381, -0.4302660822868347, -0.33698153495788574, -0.7063483595848083, 0.09926352649927139, 0.0220320001244545, -0.08903228491544724, -0.13556642830371857, 0.08555515110492706, -0.345698744058609, -0.13984479010105133, -0.39453476667404175, 0.027499860152602196, -0.31417638063430786, 0.5938701033592224, 0.269259512424469, 0.5368236899375916, 0.6211795210838318, -0.29310739040374756, 0.3592325448989868, -0.03704201430082321, -0.2679750621318817, 0.26509425044059753, -0.671015202999115, 0.4816538989543915, 0.07788603752851486, 0.10335154086351395, -1.0193434953689575, -0.4283577799797058, 0.4358462989330292, -0.2686576843261719, 0.13768763840198517, 0.2897038757801056, -0.5501609444618225, -0.4038516581058502, -0.17781750857830048, 0.2864525318145752, 0.38457444310188293, -0.5824313759803772, 0.800148606300354, 0.1930568516254425, 0.22222456336021423, -0.5083158612251282, -0.65213543176651, 0.09597861766815186, -0.23183076083660126, -0.5693173408508301, 0.3166979253292084, 0.013529079966247082, -0.04936296492815018, 0.033863238990306854, -0.4192827045917511, -0.027745889499783516, -0.077791728079319, 0.3391655385494232, 0.0859280377626419, -0.08320096135139465, -0.03450853377580643, -0.2094927877187729, -0.3190489411354065, 0.2063879519701004, -0.18751133978366852, 0.8118385672569275, -0.38321563601493835, -0.7963586449623108, -0.16956727206707, 0.15031465888023376, 0.7204351425170898, 0.05097261816263199, 0.5845240354537964, 0.8591144680976868, -0.7161586284637451, -0.17500390112400055, -0.7996711730957031, -0.3975180387496948, -0.43380340933799744, 0.3854255974292755, -0.4867837727069855, -1.0069482326507568, 0.7162888646125793, 0.0859960988163948, -0.19476692378520966, 0.4181278645992279, 0.6427634954452515, 0.270874559879303, 1.1227611303329468, 0.4408092200756073, 0.1622573286294937, -0.029275229200720787, -0.04868018254637718, 0.5412807464599609, -0.6317409873008728, -0.26717349886894226, -0.2841782867908478, -0.11566673219203949, -0.49020057916641235, -0.7569393515586853, 0.3871438801288605, -0.17745454609394073, -0.0736985132098198, 0.4114614427089691, -0.8158156275749207, 0.3720870614051819, 0.4138926565647125, 0.24266809225082397, 0.47331589460372925, -0.34513136744499207, 0.08544041961431503, -0.26581132411956787, -0.371670126914978, -0.48371651768684387, 0.8717328310012817, 0.34669360518455505, 0.8706331253051758, -0.028863957151770592, 0.9484360218048096, 0.24272744357585907, 0.13476023077964783, -0.742756724357605, 0.5068285465240479, 0.009683677926659584, -0.7155216932296753, -0.5186209082603455, -0.1947532594203949, -0.34220990538597107, 0.6951654553413391, 0.05070912092924118, -0.8248354196548462, 0.3030092716217041, -0.16559655964374542, -0.29473575949668884, 0.18571409583091736, -0.3895508050918579, 0.878998875617981, -0.06184603273868561, -0.15852531790733337, -0.10965994745492935, -0.3539281487464905, 0.8516080975532532, -0.5313448309898376, 0.18506379425525665, 0.028616050258278847, 0.2525547444820404, 0.5433027744293213, -0.15318965911865234, 0.810459554195404, -0.1443108171224594, -0.1369086056947708, 0.2217051088809967, 0.28904294967651367, 0.6894347071647644, -0.1351681798696518, 0.15378284454345703, 0.2860617935657501, 0.02873031422495842, 0.00564857991412282, -0.5213795304298401, 0.5686304569244385, -0.515500009059906, -0.7254216074943542, -0.6867408156394958, -0.4085465371608734, -0.0599471852183342, 0.19942350685596466, 0.6463452577590942, 0.1206916943192482, -0.06669288128614426, 0.2567523717880249, 0.79268878698349, -0.2742043137550354, 0.19255521893501282, 0.25563713908195496, -0.46650972962379456, -0.3713858723640442, 0.699242353439331, 0.14780691266059875, 0.10155943781137466, 0.08580347150564194, 0.15216399729251862, -0.11481829732656479, -0.4435879588127136, 0.02908407337963581, 0.22777849435806274, -0.970600426197052, -0.11220082640647888, -1.0273538827896118, -0.6155644655227661, -0.49202781915664673, -0.08390004187822342, -0.3023300766944885, -0.02627444453537464, -0.09063056111335754, -0.33409997820854187, -0.17853949964046478, 0.6739161610603333, -0.24721060693264008, 0.30711477994918823, -0.6062496304512024, 0.3717561364173889, 0.6562536358833313, 0.21983321011066437, -0.19739791750907898, -0.5425287485122681, 0.013375869020819664, -0.256875604391098, -0.35299909114837646, -1.0728250741958618, 0.37490418553352356, -0.21298247575759888, 0.8369723558425903, 0.3496021032333374, -0.17012059688568115, 0.7047107219696045, -0.42594394087791443, 0.7041059732437134, -0.04875791817903519, -1.359545350074768, 0.42002153396606445, -0.2101600468158722, 0.11022184044122696, 0.5152097940444946, 0.27109581232070923, -0.6398816704750061, -0.5610620379447937, -0.515773355960846, -0.481116384267807, 0.4928722083568573, 0.18149419128894806, -0.05178326368331909, 0.19693690538406372, 0.24418596923351288, 0.2564460039138794, 0.22539864480495453, -1.2575969696044922, 0.1323954313993454, -0.3225702941417694, 0.009145197458565235, 0.004218584857881069, -0.47113293409347534, -0.04413770139217377, -0.21375028789043427, 0.6684178113937378, -0.061786048114299774, 0.3740686774253845, 0.19337420165538788, -0.2729680836200714, -0.21589037775993347, 0.2089715301990509, 0.8018691539764404, 0.6812043786048889, -0.4881740212440491, 0.45251551270484924, 0.4439716041088104, -0.5045572519302368, 0.07169303297996521, -0.03137638792395592, 0.04203221574425697, 0.25621774792671204, 0.7073479294776917, 0.8047060966491699, 0.330080509185791, -0.2962324321269989, 0.5899636745452881, -0.08538980036973953, -0.4944992959499359, -0.27086424827575684, 0.016315704211592674, 0.08974948525428772, 0.5215746164321899, 0.3085594177246094, 0.05874080955982208, 0.515411376953125, -0.5017513632774353, 0.6407739520072937, 0.41025498509407043, -0.6025601029396057, -0.38735783100128174, 0.772483229637146, -0.08293823152780533, -0.32115715742111206, 0.337013840675354, -0.3842354714870453, -1.1230336427688599, 0.3516503572463989, 0.4899946451187134, 1.1228138208389282, -0.7447634935379028, 0.16397270560264587, 0.35284122824668884, 0.6547155380249023, -0.48819923400878906, 0.4172064960002899, 0.08070923388004303, -0.6878119707107544, -0.47341302037239075, -0.49107998609542847, -0.31118112802505493, 0.442226767539978, -0.5121378302574158, 0.710945725440979, 0.08871734887361526, -0.1633671224117279, -0.2491636425256729, -0.25245586037635803, -0.46169131994247437, -0.171021968126297, 0.10797444730997086, 0.4665844738483429, -1.1061625480651855, 0.7560106515884399, 0.16396763920783997, -0.03329360857605934, -0.5422829389572144, 0.1477874219417572, 0.04951396957039833, -0.7873212099075317, 0.5075842142105103, 0.4275885224342346, -0.23841223120689392, -0.1118425503373146, -0.3113642632961273, -0.7327423095703125, 1.2292531728744507, 0.16966530680656433, -0.755179226398468, -0.21250297129154205, -0.0712558701634407, 0.5091850161552429, -0.2264237254858017, 0.0770794227719307, 0.7254927754402161, 0.6847273707389832, 0.3020680546760559, -0.8908431529998779, 0.15845917165279388, 0.27238771319389343, -0.46120160818099976, 0.34901413321495056, -0.4429645538330078, 0.9412965178489685, -0.15918418765068054, -0.3006904721260071, -0.2801589071750641, 0.3911384344100952, 0.486296147108078, 0.34189462661743164, 0.5824764370918274, 0.6102763414382935, 0.7785855531692505, -0.14587636291980743, 0.5321856737136841, -0.26461803913116455, 0.6712262034416199, 1.3068426847457886, -0.3640970289707184, 0.5089439749717712, 0.41549772024154663, -0.04812841862440109, 0.17778457701206207, 0.6724004149436951, -0.33297696709632874, 0.7839128971099854, 0.3226519227027893, -0.07486450672149658, -0.5077003836631775, 0.2460593581199646, -0.5835171341896057, 0.3774200975894928, 0.3419906198978424, -0.32577547430992126, -0.17967331409454346, 0.1464441418647766, -0.15681102871894836, -0.38080930709838867, 0.14068670570850372, 0.4944661855697632, 0.274315744638443, -0.6128387451171875, 0.25308242440223694, -0.1889883577823639, 0.7458017468452454, -0.20222923159599304, -0.13575059175491333, -0.20119264721870422, 0.28034335374832153, -0.23432573676109314, -0.48997825384140015, 0.5260409116744995, -0.2788071930408478, 0.20754411816596985, -0.028644753620028496, 0.892794668674469, -0.5094376802444458, -0.5571369528770447, 0.7077573537826538, 0.5496883392333984, 0.2755220830440521, -0.42724868655204773, -0.4131341874599457, 0.3886696696281433, 0.021824073046445847, -0.17487430572509766, -0.12679162621498108, 0.6696518659591675, 0.029266342520713806, 0.5073580145835876, 0.15261738002300262, -0.09217046201229095, 0.15752749145030975, 0.2369646579027176, 0.48589012026786804, -0.6819879412651062, -0.1962345540523529, -1.1331511735916138, 0.23578038811683655, 0.16464006900787354, -0.00008902460831450298, 0.6885216236114502, 0.46191439032554626, 0.45641496777534485, -0.10299990326166153, 0.6359323859214783, 0.10107287764549255, 0.3410402238368988, -0.3621350824832916, 0.5074806809425354, -0.43403851985931396, 0.24934402108192444, -0.46855419874191284, -1.3360649347305298, -0.2763337194919586, 0.8031403422355652, -0.14761008322238922, 0.02319861203432083, 1.039263129234314, 0.8225736618041992, -0.20279987156391144, 0.1564609408378601, 0.6006079316139221, 0.11940835416316986, 0.4546511769294739, 0.8602084517478943, 1.0576999187469482, -0.6013254523277283, 0.49336332082748413, -0.24424630403518677, -0.2833535373210907, -0.33032864332199097, -0.8900570869445801, -0.9689367413520813, -0.9179013967514038, -0.3742923438549042, -0.26139143109321594, -0.10953254252672195, 0.5931053161621094, 0.6716578006744385, -0.9347960352897644, -0.034349825233221054, -0.07516157627105713, 0.013756713829934597, -0.261016309261322, -0.2600294351577759, 0.37269899249076843, -0.19827818870544434, -0.6281269192695618, 0.1961575299501419, 0.34552881121635437, 0.06340844929218292, -0.524568498134613, -0.07428079098463058, 0.08680254220962524, 0.16390223801136017, 0.5695337057113647, -0.5326339602470398, -0.9313415288925171, -0.6585239768028259, 0.1760881543159485, -0.194305881857872, -0.1177595853805542, 0.785895586013794, -0.35681474208831787, 0.19370754063129425, 0.5924423933029175, 0.4240562319755554, 0.7978530526161194, -0.14365649223327637, 0.3803602457046509, -0.17417187988758087, -0.22827136516571045, 0.25291839241981506, 0.54545658826828, 0.10923998057842255, -0.6495184898376465, 0.9895645380020142, 0.31426501274108887, -0.9726001620292664, -1.1374174356460571, 0.02255488932132721, -0.8094421625137329, -0.47042715549468994, 0.9493650197982788, 0.2457783818244934, 0.053010109812021255, -0.0291840098798275, -0.07674490660429001, 0.19111745059490204, -0.07231427729129791, 1.1828268766403198, 1.3265122175216675, -0.29290178418159485, -0.37674668431282043, -0.9184308052062988, 0.5540772080421448, 0.17466618120670319, -0.8470380306243896, 0.08651120960712433, 0.49312320351600647, 0.14594823122024536, 0.5493701100349426, 0.7002729177474976, -0.17918957769870758, 0.15119825303554535, 0.055417973548173904, 0.2788861393928528, -0.02575463429093361, -0.6078868508338928, -0.5972442626953125, 0.08140634000301361, -0.2284729927778244, -0.24815815687179565 ]
http://arxiv.org/abs/2404.06921v1
http://arxiv.org/pdf/2404.06921v1
GoEX: Perspectives and Designs Towards a Runtime for Autonomous LLM Applications
2024-04-10T11:17:33
2024-04-10T11:17:33
Shishir G. Patil, Tianjun Zhang, Vivian Fang, Noppapon C., Roy Huang, Aaron Hao, Martin Casado, Joseph E. Gonzalez, Raluca Ada Popa, Ion Stoica
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are evolving beyond their classical role of providing information within dialogue systems to actively engaging with tools and performing actions on real-world applications and services. Today, humans verify the correctness and appropriateness of the LLM-generated outputs (e.g., code, functions, or actions) before putting them into real-world execution. This poses significant challenges as code comprehension is well known to be notoriously difficult. In this paper, we study how humans can efficiently collaborate with, delegate to, and supervise autonomous LLMs in the future. We argue that in many cases, "post-facto validation" - verifying the correctness of a proposed action after seeing the output - is much easier than the aforementioned "pre-facto validation" setting. The core concept behind enabling a post-facto validation system is the integration of an intuitive undo feature, and establishing a damage confinement for the LLM-generated actions as effective strategies to mitigate the associated risks. Using this, a human can now either revert the effect of an LLM-generated output or be confident that the potential risk is bounded. We believe this is critical to unlock the potential for LLM agents to interact with applications and services with limited (post-facto) human involvement. We describe the design and implementation of our open-source runtime for executing LLM actions, Gorilla Execution Engine (GoEX), and present open research questions towards realizing the goal of LLMs and applications interacting with each other with minimal human supervision. We release GoEX at https://github.com/ShishirPatil/gorilla/.
[ -0.2023228406906128, -0.5362215042114258, 0.7897526025772095, 0.17029431462287903, 0.0791604146361351, 0.17264026403427124, -0.15870745480060577, -0.6846866011619568, 0.004435787908732891, 0.6959946155548096, -0.5971104502677917, -0.38985636830329895, -0.2983616292476654, -0.18320320546627045, -0.35946953296661377, 0.8244795203208923, -0.4421516954898834, -0.38415613770484924, -0.4004240334033966, -0.2356410026550293, -0.02665487490594387, -0.6281502842903137, -0.5559271574020386, -0.33298882842063904, 0.3232266306877136, 0.19146345555782318, 0.9758375883102417, 0.6952052712440491, 0.5037741661071777, 0.3340519666671753, -0.08804704993963242, 0.2120160162448883, -0.3683663308620453, -0.08924712985754013, -0.2837577760219574, -0.3925299048423767, -0.763139009475708, 0.13154077529907227, 0.29280009865760803, 0.7130841612815857, -0.31591954827308655, 0.06309480220079422, 0.1696496456861496, 0.49574679136276245, -0.664506733417511, -0.025241266936063766, -0.2227432131767273, 0.09243927150964737, 0.028623471036553383, 0.05319547280669212, -0.2480558604001999, -0.4369606375694275, -0.08222921937704086, -0.6131272912025452, -0.19733943045139313, 0.1274181455373764, 0.6961352825164795, 0.4960539638996124, -0.19480110704898834, -0.21505969762802124, -0.9171538949012756, 0.8006497621536255, -0.7411854267120361, 0.27145326137542725, 0.17033478617668152, 0.3032767176628113, -0.510854184627533, -0.9029258489608765, -0.6203380823135376, -0.28772345185279846, -0.07137090712785721, 0.20488429069519043, -0.05346761643886566, 0.1758829802274704, 0.29820430278778076, 0.7429656386375427, -0.6017876863479614, 0.1808464378118515, -0.13243745267391205, -0.18772131204605103, 0.5684815049171448, 0.2622382342815399, 0.3947232663631439, 0.3822728097438812, -0.42768216133117676, 0.13918519020080566, -1.072453498840332, 0.27667781710624695, 0.5118095874786377, -0.12412666529417038, -0.15600478649139404, 0.46584784984588623, -0.18188193440437317, 0.5562005043029785, -0.3226112425327301, 0.3490030765533447, -0.04465577378869057, -0.39550474286079407, -0.37678706645965576, -0.40132465958595276, 0.8616960048675537, 0.13149067759513855, 0.2014501988887787, -0.2272007018327713, -0.4488820433616638, 0.0490884967148304, 0.6472442746162415, -0.41827628016471863, -0.1405184119939804, 0.40308934450149536, -0.43693816661834717, -0.3294360339641571, 0.05257139727473259, -0.5371145606040955, -0.40846920013427734, -0.5942612290382385, 0.5667182207107544, -0.25805988907814026, -0.2770553529262543, 0.13380341231822968, 0.22326113283634186, 0.28452080488204956, 0.4452293813228607, -0.60068279504776, 0.6584412455558777, 0.7760730385780334, 0.6310606598854065, -0.25133293867111206, -0.44589653611183167, -0.8080294728279114, 0.35642558336257935, -0.6439939737319946, 0.42590659856796265, -0.39755186438560486, -0.37227073311805725, -0.16036270558834076, -0.15304924547672272, 0.15524853765964508, -0.5879494547843933, 0.3563571572303772, -0.5598641037940979, 0.05937102064490318, 0.1259632557630539, -0.390950471162796, -0.27827560901641846, 0.23879474401474, -0.5228114128112793, 0.8181412816047668, 0.08416914939880371, -0.5526568293571472, 0.11985878646373749, -0.9791817665100098, -0.4286244511604309, 0.09144166857004166, -0.3284189701080322, -0.21690399944782257, 0.26811131834983826, 0.10522949695587158, 0.25047361850738525, -0.15686209499835968, 0.190743088722229, -0.24458655714988708, -0.48542729020118713, 0.05557217076420784, -0.23082083463668823, 0.6747525930404663, 0.05923161283135414, -0.5779628157615662, 0.6018669605255127, -0.7747049927711487, 0.25708410143852234, -0.011442283168435097, -0.24619798362255096, -0.1492929607629776, 0.40016940236091614, -0.3692396581172943, 0.20812809467315674, 0.28065454959869385, -0.4448661804199219, 0.11493966728448868, -0.27548545598983765, 0.3884322941303253, 0.8583703637123108, -0.24608439207077026, 0.5284770727157593, -0.30535903573036194, 0.6806185245513916, -0.0955231562256813, 0.6087028980255127, -0.32174161076545715, -0.22536557912826538, -0.6675211191177368, -0.23291492462158203, 0.007683297619223595, 0.7233249545097351, -0.7621580362319946, 0.4905095100402832, -0.08139099180698395, -0.6067197322845459, -0.19992117583751678, 0.44747820496559143, 0.38744333386421204, 0.3514229655265808, 0.2574142515659332, -0.20490247011184692, -0.4998939335346222, -0.9355618953704834, -0.1378459483385086, -0.5294621586799622, -0.2195594757795334, 0.5079374313354492, 0.3728271722793579, -0.5685749053955078, 1.2064213752746582, -0.4183702766895294, -0.07686009258031845, -0.2834213376045227, 0.004370444919914007, 0.3610707223415375, 0.4479595720767975, 0.23305927217006683, -0.5734305381774902, -0.12466346472501755, 0.25197410583496094, -0.9904597997665405, -0.30783069133758545, 0.08055150508880615, -0.21458041667938232, 0.32027244567871094, 0.6887369155883789, -0.4043598473072052, 0.6242312788963318, 0.7564733028411865, 0.010442880913615227, 0.825390636920929, -0.44338998198509216, 0.0226144902408123, -0.5589977502822876, 0.26052048802375793, -0.4842391610145569, -0.44931432604789734, -0.45233556628227234, 0.1546376347541809, 0.03644178807735443, -0.2911974787712097, -0.5991976857185364, 0.5665902495384216, -0.393997460603714, -0.15392445027828217, -0.34999382495880127, -0.04216524958610535, -0.021068425849080086, 0.40861523151397705, 0.3655773997306824, 0.9869204759597778, 0.705661416053772, -1.0358251333236694, 0.4146435260772705, -0.10351485013961792, -0.40146493911743164, 0.5150015950202942, -0.9180470705032349, 0.38419225811958313, 0.21687598526477814, 0.16851100325584412, -0.7507415413856506, -0.27499040961265564, 0.13229286670684814, -0.13952673971652985, -0.09612477570772171, 0.08948353677988052, -0.595663845539093, -0.38800039887428284, -0.26765957474708557, 0.1497124880552292, 0.4414786398410797, -0.6846562027931213, 0.8143752217292786, 0.42087894678115845, -0.2214604616165161, -0.5163458585739136, -0.6279750466346741, 0.3782796263694763, -0.15437941253185272, -0.748481273651123, 0.18504557013511658, -0.14565417170524597, -0.5489730834960938, -0.13901716470718384, -0.0995459258556366, -0.05228176340460777, 0.25321465730667114, 0.4953725337982178, 0.249841570854187, -0.005068395286798477, -0.15925966203212738, 0.043514400720596313, -0.3245556950569153, -0.017797861248254776, -0.3146120309829712, 0.22418422996997833, -0.18585100769996643, -0.5013846755027771, -0.2498980015516281, 0.4965917766094208, 0.5780584216117859, -0.25019553303718567, 0.4358130991458893, 0.1328747421503067, -0.2833169400691986, -0.32164493203163147, -0.38492193818092346, -0.022047588601708412, -0.5618489384651184, 0.03073173202574253, -0.17078690230846405, -0.9731168150901794, 0.6535553336143494, -0.09994111210107803, 0.4295565187931061, -0.0654653012752533, 0.5824244618415833, -0.04858357086777687, 0.7519817352294922, 0.8726063370704651, 0.059152618050575256, 0.2494715005159378, 0.07522864639759064, 0.20890237390995026, -0.794704258441925, -0.025287937372922897, -0.23361836373806, -0.26863721013069153, -0.05929847061634064, -0.47127029299736023, 0.34424635767936707, 0.014061477035284042, -0.236007422208786, 0.52602219581604, -0.29665714502334595, 0.473964661359787, 0.6220816373825073, -0.20007643103599548, 0.20322518050670624, -0.4692347049713135, -0.15410292148590088, 0.1795099973678589, -0.45325350761413574, -0.9751555323600769, 0.7297555208206177, 0.45267122983932495, 1.1589487791061401, 0.3032793700695038, 0.750366747379303, 0.21524366736412048, 0.4152878522872925, -0.4909095764160156, 0.8604347109794617, 0.2352355718612671, -0.5687355399131775, -0.22551077604293823, -0.35560116171836853, -0.8284144997596741, -0.02851514331996441, 0.46767881512641907, -0.8012515306472778, -0.08624476194381714, 0.31349286437034607, -0.5249608159065247, 0.3187556564807892, -0.7626453638076782, 0.8146040439605713, -0.473064124584198, -0.5969294905662537, -0.08063898235559464, -0.7248201370239258, 0.44735491275787354, -0.08356941491365433, 0.35594698786735535, 0.26236090064048767, -0.3625982403755188, 0.5815578103065491, -0.6150545477867126, 0.9104575514793396, -0.1548493653535843, -0.6694154739379883, 0.5514482855796814, 0.3245885968208313, 0.7035295963287354, -0.006762837991118431, 0.0772516056895256, 0.19761031866073608, -0.16788119077682495, -0.015569298528134823, -0.505066990852356, 0.6318557858467102, -0.5477072596549988, -0.6138876080513, -0.2535812556743622, -0.3265337347984314, -0.20508253574371338, 0.16691333055496216, -0.012181796133518219, 0.13098450005054474, -0.29379963874816895, 0.0063743507489562035, 0.6410030126571655, -0.4235982894897461, 0.7254173755645752, 0.6491193771362305, -0.7772057056427002, -0.35796353220939636, 0.8518652319908142, 0.03236416354775429, 0.3281518220901489, 0.1545511931180954, 0.009574412368237972, -0.16841164231300354, -0.6114639043807983, -0.3925764560699463, 0.017440784722566605, -0.4315040409564972, 0.10525288432836533, -0.5859623551368713, -0.11965244263410568, -0.2883416414260864, -0.2426195591688156, -0.5168903470039368, -0.14294883608818054, -0.33240270614624023, -0.030325718224048615, -0.033693838864564896, 0.8774651885032654, -0.2847287058830261, 0.334624707698822, -0.929908812046051, 0.2392628788948059, 0.3744540512561798, 0.6517543196678162, -0.23691366612911224, -0.2778717875480652, -0.2788628041744232, -0.20174656808376312, -0.40571752190589905, -0.41048118472099304, 0.11791544407606125, 0.012071367353200912, 0.7408791184425354, 0.4744396507740021, 0.06299210339784622, 0.4590509235858917, -0.6754623651504517, 0.9937506914138794, -0.1253826767206192, -1.15788996219635, 0.628149151802063, -0.278611958026886, -0.026459768414497375, 0.4260249435901642, 0.23253917694091797, -0.5700618028640747, -0.4957650601863861, -0.6202917695045471, -0.7874179482460022, 0.7325513958930969, 0.3235930800437927, 0.08511613309383392, 0.09883382171392441, 0.17491169273853302, 0.23133349418640137, 0.21659879386425018, -0.5890467762947083, 0.05951765552163124, -0.011805071495473385, 0.12613725662231445, -0.09551620483398438, -0.22613154351711273, -0.13809236884117126, 0.2928072214126587, 0.5906670689582825, -0.16719436645507812, 0.19359304010868073, 0.15213799476623535, -0.14445854723453522, 0.017613951116800308, 0.18493007123470306, 0.6855759024620056, 0.6999192237854004, -0.01425714697688818, 0.276364266872406, -0.03827108070254326, -0.2655744254589081, 0.3147358298301697, -0.1944892257452011, -0.013799631968140602, -0.29435938596725464, 0.4555152952671051, 0.5562444925308228, 0.05137701332569122, -0.9042618274688721, 0.44043317437171936, -0.14289812743663788, -0.19153441488742828, -0.38383749127388, 0.4257594645023346, 0.001399425556883216, 0.20589129626750946, 0.19523437321186066, -0.08971615135669708, 0.025720439851284027, -0.4582044184207916, 0.31004780530929565, 0.2890245020389557, -0.39601731300354004, -0.4994923174381256, 0.7706928253173828, 0.3393530249595642, -0.45329293608665466, 0.31341031193733215, -0.19400088489055634, -0.38009878993034363, 0.5548518300056458, 0.22302207350730896, 0.8915143013000488, -0.27999961376190186, -0.06117979809641838, -0.10730262100696564, 0.4683154225349426, -0.047852203249931335, 0.4009179174900055, -0.16183434426784515, -0.4984745681285858, -0.7910016179084778, -0.464677095413208, -0.9595685005187988, 0.25503411889076233, -0.31836214661598206, 0.31027427315711975, -0.6611886620521545, 0.10281447321176529, -0.5141165852546692, -0.3629806339740753, -0.13860656321048737, 0.19836674630641937, 0.2428920865058899, 1.0667527914047241, -0.44659623503685, 0.5005213022232056, 0.9013316631317139, -0.04513735696673393, -0.678611159324646, 0.041555266827344894, 0.14371679723262787, -0.4362126588821411, 0.6259452700614929, 0.2616595923900604, -0.33608126640319824, -0.1106412410736084, -0.7060524225234985, -0.6833204627037048, 0.7690114974975586, 0.39185312390327454, -0.521368682384491, 0.13793519139289856, 0.02146919257938862, 0.520931601524353, -0.09492947161197662, 0.19692352414131165, 0.318263441324234, 0.4784736633300781, 0.040783438831567764, -0.9547430276870728, -0.13890080153942108, -0.17802919447422028, -0.18414612114429474, 0.10268738865852356, -0.5410474538803101, 0.7269191145896912, -0.21429990231990814, -0.2016030102968216, 0.06425116956233978, 0.8271473050117493, 0.16251477599143982, 0.30429959297180176, 0.47331932187080383, 0.5307787656784058, 0.6812620162963867, 0.060317572206258774, 1.3518677949905396, -0.19971199333667755, 0.04126359522342682, 1.214637279510498, -0.8079881072044373, 0.5774838924407959, 0.39919352531433105, -0.4983711540699005, 0.4690956473350525, 0.4705163836479187, 0.5590218305587769, 0.17289526760578156, 0.3361596465110779, -0.4932539463043213, -0.1919494867324829, 0.16886432468891144, -0.007004948332905769, 0.38470274209976196, 0.19111798703670502, -0.11671635508537292, -0.32970330119132996, -0.049467943608760834, 0.04215368255972862, 0.061647165566682816, -0.3318251371383667, 0.8977531790733337, 0.044093046337366104, -0.8278493881225586, 0.23363760113716125, -0.1697814017534256, 0.5496135354042053, -0.6963092684745789, 0.038426026701927185, -0.23696807026863098, 0.44719216227531433, -0.21922902762889862, -0.902262806892395, 0.8279673457145691, 0.0640876367688179, -0.01731237955391407, -0.2831667959690094, 0.5925657749176025, -0.05746261402964592, -0.009319297038018703, 0.4338974356651306, 0.4429567754268646, 0.253211110830307, -0.17760567367076874, -0.42232227325439453, 0.25328442454338074, -0.1444043070077896, -0.4820793569087982, 0.2782042324542999, 0.4306254982948303, -0.17429333925247192, 0.8833088874816895, 0.6988534331321716, 0.09741833060979843, 0.055347103625535965, -0.17892441153526306, 0.8873757123947144, -0.5777429938316345, -0.5311420559883118, -0.9663606286048889, 0.45451289415359497, -0.01203902903944254, 0.11079388111829758, 0.5858964920043945, 0.578157365322113, 0.6029947996139526, 0.005132438614964485, 0.943393886089325, -0.16967198252677917, 0.5505098700523376, -0.49054598808288574, 0.7568913698196411, -0.4357110559940338, 0.19074255228042603, -0.2001168131828308, -0.8190109729766846, -0.4200119376182556, 0.5106347799301147, -0.2504395842552185, 0.02576550655066967, 0.5391423106193542, 0.8572173714637756, -0.06523584574460983, -0.04209594428539276, 0.4037988781929016, -0.036473289132118225, 0.849746823310852, 0.6882675886154175, 1.0891112089157104, 0.004790604114532471, 0.61586594581604, -0.041281118988990784, -0.5680916905403137, 0.024474747478961945, -1.3236470222473145, -0.7147755026817322, -0.14868728816509247, -0.40801718831062317, -0.23002147674560547, -0.12427139282226562, 0.7279459834098816, 0.6049969792366028, -0.5823806524276733, -0.34173062443733215, -0.3944873511791229, 0.16636358201503754, -0.41545265913009644, -0.14233346283435822, 0.11568804830312729, -0.45469823479652405, -0.754803478717804, 0.5922732949256897, 0.765879213809967, 0.030746132135391235, -0.35304975509643555, -0.3391380310058594, 0.08053341507911682, 0.2317706048488617, 0.5162928700447083, 0.5339003801345825, -0.437105268239975, -0.3183407783508301, -0.06680768728256226, -0.20405030250549316, -0.09416760504245758, 0.9552758932113647, -0.9327282309532166, 0.1564708948135376, 0.32222071290016174, 0.8532021641731262, -0.0998062863945961, -0.04309697076678276, 0.817130982875824, -0.650358259677887, -0.11764781177043915, 0.19030673801898956, 0.2827986478805542, 0.15593205392360687, -0.23955315351486206, 0.7735157608985901, 0.15199467539787292, -0.7548520565032959, -0.8576382994651794, 0.3911808729171753, -0.7805158495903015, 0.057321738451719284, 1.0472254753112793, -0.5658922791481018, -0.3522210717201233, -0.23671726882457733, -0.40691763162612915, -0.036332033574581146, 0.0013454732252284884, 0.5675421953201294, 0.7226500511169434, -0.20239083468914032, -0.2874745726585388, -0.4258415102958679, 0.3760586678981781, 0.3002852201461792, -1.1131609678268433, 0.579780101776123, 0.44374263286590576, 0.03136707469820976, 0.23367242515087128, 0.6160873770713806, -0.33766213059425354, 0.30063024163246155, -0.27663516998291016, 0.35012444853782654, -0.45168405771255493, -0.3271625339984894, -0.3091132342815399, 0.008555419743061066, -0.1200418770313263, -0.19917109608650208 ]
http://arxiv.org/abs/2404.06911v1
http://arxiv.org/pdf/2404.06911v1
GraSAME: Injecting Token-Level Structural Information to Pretrained Language Models via Graph-guided Self-Attention Mechanism
2024-04-10T11:03:57
2024-04-10T11:03:57
Shuzhou Yuan, Michael Färber
cs.CL
cs.CL
Pretrained Language Models (PLMs) benefit from external knowledge stored in graph structures for various downstream tasks. However, bridging the modality gap between graph structures and text remains a significant challenge. Traditional methods like linearizing graphs for PLMs lose vital graph connectivity, whereas Graph Neural Networks (GNNs) require cumbersome processes for integration into PLMs. In this work, we propose a novel graph-guided self-attention mechanism, GraSAME. GraSAME seamlessly incorporates token-level structural information into PLMs without necessitating additional alignment or concatenation efforts. As an end-to-end, lightweight multimodal module, GraSAME follows a multi-task learning strategy and effectively bridges the gap between graph and textual modalities, facilitating dynamic interactions between GNNs and PLMs. Our experiments on the graph-to-text generation task demonstrate that GraSAME outperforms baseline models and achieves results comparable to state-of-the-art (SOTA) models on WebNLG datasets. Furthermore, compared to SOTA models, GraSAME eliminates the need for extra pre-training tasks to adjust graph inputs and reduces the number of trainable parameters by over 100 million.
[ -0.1705542802810669, -0.8184167742729187, 0.3860369324684143, 0.1950223743915558, -0.45822957158088684, -0.05154849961400032, -0.03019615262746811, -0.2102251946926117, 0.3246699273586273, 0.3990052044391632, -0.6255533695220947, -0.6895509362220764, -0.6618767380714417, -0.1521201878786087, -0.2514204680919647, 1.1612820625305176, 0.09170426428318024, -0.059272401034832, -0.39202365279197693, 0.0574834980070591, -0.3098277449607849, -0.4674605429172516, -0.5193332433700562, -0.18582689762115479, 0.7572565078735352, -0.05504545569419861, 0.5907543897628784, 0.6430477499961853, 0.1514238864183426, 0.3160156309604645, 0.026394635438919067, 0.2259814292192459, -0.545397937297821, -0.15010038018226624, -0.09758058190345764, -0.4210384488105774, -0.4445105791091919, 0.15487122535705566, 0.8093076348304749, 0.7596631646156311, 0.2352110594511032, 0.2711133062839508, 0.4131048023700714, 0.5832828283309937, -0.5240675806999207, 0.47924619913101196, -0.5695223808288574, 0.0057296440936625, -0.5056632161140442, -0.2235994189977646, -0.47082751989364624, -0.1620045006275177, 0.05792191997170448, -0.6391361355781555, 0.20016102492809296, -0.11356914788484573, 0.9314510226249695, 0.3979441821575165, -0.5311452746391296, -0.2582848072052002, -0.00027692277217283845, 0.4089413285255432, -0.593836784362793, 0.31292012333869934, 0.3698231875896454, 0.1511523276567459, -0.4957449436187744, -0.9673483371734619, -0.23208793997764587, -0.33604851365089417, -0.4499456584453583, 0.14678217470645905, 0.17252914607524872, 0.35064464807510376, -0.17836715281009674, 0.2687855362892151, -0.6779034733772278, -0.198811873793602, -0.004573136102408171, -0.3241615295410156, -0.0737871378660202, -0.22724904119968414, 0.40096569061279297, -0.3721272647380829, -0.46308207511901855, 0.17907501757144928, -0.5828282237052917, -0.1772451549768448, 0.59641033411026, 0.5958662629127502, 0.01824135147035122, 0.31794318556785583, 0.015003793872892857, 0.8775826692581177, 0.22032222151756287, -0.03421609103679657, 0.3806169927120209, -0.5026888847351074, -0.2388884723186493, -0.06665317714214325, 0.9394724369049072, -0.06971793621778488, 0.050566669553518295, -0.4248255491256714, -0.06738513708114624, 0.14192843437194824, 0.23529382050037384, -0.8633317351341248, -0.18044857680797577, -0.017929259687662125, -0.4204055070877075, -0.22633960843086243, -0.16039586067199707, -0.6201210618019104, -0.056430134922266006, -0.06380295753479004, 0.6144898533821106, -0.2807082235813141, 0.0064401510171592236, 0.2307101935148239, 0.020593365654349327, -0.38174036145210266, 0.16063416004180908, -0.8915701508522034, 0.2667805254459381, 0.3911260664463043, 1.0899165868759155, 0.013389458879828453, -0.46061065793037415, -1.0093261003494263, 0.5332680940628052, -0.04036307707428932, 0.8019922375679016, -0.6225964426994324, -0.2255493849515915, -0.1325458437204361, 0.21805709600448608, -0.5047253370285034, -0.07849444448947906, 0.15590447187423706, -0.3810521364212036, 0.507043719291687, 0.053658030927181244, -0.5077479481697083, -0.21157942712306976, 0.21510444581508636, -0.5175629258155823, 1.0894627571105957, 0.19496887922286987, -0.8387812972068787, 0.18157771229743958, -0.7778696417808533, -0.6794894933700562, 0.3351803719997406, -0.4106736183166504, -0.4172767102718353, -0.011902767233550549, 0.34263476729393005, 0.5636383295059204, -0.18764394521713257, 0.28559648990631104, -0.254816472530365, -0.1252666562795639, -0.31818121671676636, -0.15942218899726868, 0.3806383013725281, 0.061104804277420044, -0.3015335202217102, 0.48229527473449707, -0.6633983850479126, 0.03362489119172096, 0.1806461066007614, -0.4827251732349396, -0.3365114629268646, -0.31854063272476196, -0.16949264705181122, 0.33694180846214294, 0.5030366778373718, -0.4482930898666382, 0.19692325592041016, -0.49889618158340454, 0.6023430824279785, 0.699682891368866, -0.18329539895057678, 0.5524149537086487, -0.05843209847807884, 0.6158394813537598, -0.2651459574699402, 0.05546271428465843, -0.5716883540153503, -0.28148993849754333, -0.5463203191757202, -0.4411941468715668, 0.4025173783302307, 0.1122872531414032, -0.6594173312187195, 0.3027653396129608, -0.11497237533330917, -0.47014009952545166, -0.4057174026966095, 0.1980518102645874, 0.580514132976532, 0.7011803984642029, 0.3229481875896454, -0.36693012714385986, -0.183679461479187, -0.5593281388282776, -0.31065139174461365, -0.11979509145021439, 0.18920521438121796, 0.6153537034988403, 0.3049832880496979, -0.36234551668167114, 0.8239145278930664, -0.4200228154659271, -0.7116557955741882, -0.28310126066207886, 0.41754281520843506, 0.07251859456300735, 0.4667912721633911, 0.7827231884002686, -0.4014410674571991, -0.4693690836429596, 0.08268201351165771, -0.5386641025543213, -0.33866533637046814, -0.1633126586675644, -0.21564361453056335, -0.02819077856838703, 0.5802183747291565, -0.6542673110961914, 0.25482267141342163, 0.684535562992096, -0.3368282914161682, 0.44549426436424255, -0.19510874152183533, -0.014261916279792786, -1.2075282335281372, 0.2542658746242523, -0.13251346349716187, -0.5034335255622864, -0.6205086708068848, 0.04580334946513176, 0.13644419610500336, -0.28765708208084106, -0.456133633852005, 0.8343846201896667, -0.7662635445594788, -0.3115379810333252, -0.3183775246143341, 0.31123510003089905, 0.2253708392381668, 0.8541858792304993, -0.3410026431083679, 0.9053440690040588, 0.6697834134101868, -0.6969410181045532, 0.14798015356063843, 0.3114079535007477, -0.27403274178504944, 0.12827889621257782, -0.6731804013252258, 0.3354485034942627, -0.3833003342151642, 0.34044334292411804, -1.3409210443496704, -0.22348079085350037, 0.3965415954589844, -0.574167013168335, 0.38447636365890503, -0.5523373484611511, -0.4422820806503296, -0.21387068927288055, -0.15634232759475708, 0.5406143069267273, -0.06122570112347603, -0.5706673264503479, 0.9953101873397827, 0.44231241941452026, -0.4814241826534271, -0.5232048630714417, -0.5616636276245117, 0.24201852083206177, -0.003129027783870697, -0.6358909010887146, 0.2921082079410553, 0.0657588467001915, 0.5838494300842285, 0.046228766441345215, -0.022280998528003693, 0.09613947570323944, 0.20759150385856628, 0.09713451564311981, 0.01509307511150837, 0.025091521441936493, 0.5672101974487305, 0.15106555819511414, -0.35360777378082275, -0.09191256761550903, -0.7627894282341003, 0.9978482127189636, -0.13969555497169495, -0.39894798398017883, -0.5077094435691833, 0.19424773752689362, 0.5408360958099365, -0.647750198841095, 0.5624189972877502, 0.6494123339653015, -0.11204825341701508, 0.039193809032440186, -0.2520287036895752, -0.19818896055221558, -0.5079211592674255, 0.6606584191322327, -0.424399733543396, -1.0412627458572388, 0.46510329842567444, -0.40258127450942993, -0.18266542255878448, 0.23600000143051147, 0.4134680926799774, 0.06521516293287277, 1.0222820043563843, 0.46220219135284424, -0.13902504742145538, 0.8359569907188416, -0.17651697993278503, 0.020740032196044922, -0.6897361278533936, -0.19995583593845367, -0.5356661081314087, -0.37165287137031555, -0.08779894560575485, -0.4281385540962219, 0.1788516640663147, 0.12888213992118835, -0.008663240820169449, 0.29637932777404785, -0.44638267159461975, 0.40544942021369934, 0.45519039034843445, 0.002524455077946186, -0.011194701306521893, -0.002431424567475915, -0.4804994761943817, 0.1957246959209442, -0.859481930732727, -0.41271108388900757, 0.9257000684738159, 0.2809515595436096, 1.0226953029632568, -0.13205283880233765, 0.6987296938896179, 0.12881141901016235, 0.2688520848751068, -0.6150053143501282, 0.6934202909469604, -0.24402055144309998, -0.29682767391204834, -0.4499920904636383, -0.5548126697540283, -0.9879304766654968, 0.3087143003940582, 0.18690039217472076, -0.6406681537628174, -0.07162056118249893, 0.32893434166908264, -0.2057238668203354, -0.011936606839299202, -0.7985825538635254, 1.2833306789398193, -0.32922208309173584, -0.29722297191619873, -0.0697266235947609, -0.7503478527069092, -0.045692071318626404, 0.03240464627742767, 0.2400692254304886, -0.08444436639547348, 0.007850093767046928, 0.657957136631012, -0.4877561926841736, 1.1755801439285278, -0.34392258524894714, -0.2500748932361603, 0.3423737585544586, -0.041489552706480026, 0.9188379049301147, 0.0347977951169014, 0.3016670048236847, 0.06803102791309357, -0.44322842359542847, -0.5310537815093994, -0.5597610473632812, 0.6727937459945679, -0.7090354561805725, -0.7070788145065308, -0.1521865278482437, -0.7524028420448303, -0.22325122356414795, 0.5002332329750061, 0.1582721769809723, 0.7313902378082275, 0.05030224844813347, 0.1326434463262558, 0.33572736382484436, 0.09157822281122208, 0.451033353805542, 0.2675376832485199, -0.3522884249687195, -0.583253800868988, 0.9786187410354614, 0.10445386171340942, 0.45032820105552673, 0.3216868042945862, 0.20749078691005707, -0.4997193515300751, -0.5026839971542358, -0.569614589214325, 0.36201000213623047, -0.6385334134101868, -0.04283476248383522, -1.0274945497512817, 0.028750065714120865, -0.5840551257133484, 0.012975777499377728, -0.3061090111732483, -0.3363310396671295, -0.4062816798686981, -0.12256678938865662, 0.10501253604888916, 0.5052104592323303, 0.17101164162158966, 0.7184318900108337, -0.9073078632354736, 0.2517246603965759, 0.5672557353973389, 0.2842201292514801, 0.05855032429099083, -0.5002031922340393, -0.48280856013298035, -0.011179587803781033, -0.09251478314399719, -0.7664415240287781, 0.25697264075279236, 0.42245298624038696, 0.6460357904434204, 0.42885154485702515, -0.34767886996269226, 0.8573030233383179, -0.566926896572113, 0.5008934140205383, 0.31435877084732056, -0.9918815493583679, 0.6163235902786255, -0.5818847417831421, 0.5188909769058228, 0.47451701760292053, 0.22105324268341064, -0.46723473072052, -0.5239159464836121, -0.2522175908088684, -0.6874869465827942, 0.667076826095581, 0.14324386417865753, 0.21335071325302124, -0.33104056119918823, 0.46689337491989136, 0.17429432272911072, 0.4896340072154999, -0.9399220943450928, 0.036405257880687714, -0.5377086400985718, -0.38411593437194824, -0.030912699177861214, -0.0428692102432251, -0.04208604618906975, 0.11276416480541229, 0.5514794588088989, -0.714120626449585, 0.08764217793941498, 0.03690260276198387, -0.41535866260528564, 0.06576954573392868, 0.0550159215927124, 0.574915885925293, 0.3873007595539093, 0.11618640273809433, 0.3385012447834015, -0.1273629516363144, -0.468305379152298, 0.16024775803089142, 0.265844464302063, -0.13193361461162567, 0.01688099466264248, 0.2424113154411316, 0.9967733025550842, 0.3080843389034271, -0.3210039436817169, 0.6131300926208496, -0.0958767682313919, -0.06753922998905182, 0.3835339844226837, -0.047337550669908524, 0.20128977298736572, 0.032346371561288834, 0.33358365297317505, -0.07132232934236526, -0.09495033323764801, -0.5041729211807251, 0.2525486648082733, 0.5478472113609314, -0.5364134311676025, -0.504708468914032, 0.8925394415855408, 0.4683729410171509, -0.14607679843902588, -0.015869390219449997, -0.1387072056531906, -0.4417864978313446, 0.49849969148635864, 0.7567718029022217, 0.8055416941642761, -0.3908228874206543, 0.5443151593208313, 0.11726630479097366, 0.23060931265354156, 0.15966755151748657, 0.21444621682167053, -0.11231228709220886, -0.4806131422519684, -0.645622730255127, -0.5733036398887634, 0.15628865361213684, 0.15684902667999268, -0.24577423930168152, 0.02155127003788948, -0.45154330134391785, -0.3244268298149109, -0.2507818639278412, -0.2255609929561615, -0.3301159143447876, 0.2812661826610565, -0.1719634234905243, 0.49134886264801025, -0.816717267036438, 0.7355098724365234, 0.8340985774993896, -0.46853265166282654, -0.4793040156364441, -0.03452901169657707, -0.29645463824272156, -0.8404453992843628, 0.6255743503570557, 0.606230616569519, -0.3616940975189209, 0.507411539554596, -0.3956449329853058, -1.0774744749069214, 0.862777829170227, 0.7519657611846924, -0.32269132137298584, -0.2595316469669342, 0.15982948243618011, 0.27074286341667175, -0.49305859208106995, 0.15091772377490997, -0.0045475587248802185, 0.415991872549057, 0.12515889108181, -0.6060270071029663, 0.004261771682649851, -0.26822465658187866, -0.06942266970872879, 0.4766845107078552, -0.9638175964355469, 0.9324371218681335, -0.06845459342002869, -0.6233376860618591, -0.10427995026111603, 0.784605085849762, -0.05152597278356552, -0.161345437169075, 0.6572598814964294, 0.7199825644493103, 0.8787591457366943, 0.1488892287015915, 0.9252496361732483, -0.5690734386444092, 0.22001783549785614, 1.343873143196106, -0.2160824090242386, 0.09688425809144974, 0.39214667677879333, 0.16862033307552338, 0.4616308808326721, 0.6149803996086121, 0.29517650604248047, 0.7979385256767273, 0.05081183835864067, -0.10386262834072113, -0.43752214312553406, -0.4401850998401642, -0.44510704278945923, 0.2603820264339447, 0.1227974221110344, -0.19755183160305023, -0.5141264200210571, 0.12792302668094635, 0.08718322217464447, 0.0035640469286590815, -0.3222801685333252, 0.7221282720565796, -0.08410974591970444, -0.4363950788974762, 0.4434843957424164, -0.22350162267684937, 0.3247735798358917, -0.9726554155349731, 0.13667337596416473, -0.1653563678264618, 0.008726277388632298, -0.09827857464551926, -0.2579169273376465, -0.010067395865917206, -0.30482208728790283, -0.08759371936321259, -0.1404552459716797, 0.8655449748039246, -0.6865173578262329, -0.28350645303726196, 0.45152539014816284, 0.4493448734283447, -0.01273511815816164, -0.22455696761608124, -0.49474865198135376, -0.195839062333107, -0.14390471577644348, -0.3215886056423187, 0.581699788570404, 0.6315580010414124, 0.09732671827077866, 0.8755084872245789, 0.7296929955482483, -0.14117057621479034, 0.21081660687923431, 0.4459097981452942, 1.16495943069458, -0.43474507331848145, -0.988645613193512, -0.7502948045730591, 0.33041274547576904, 0.04181750491261482, -0.3752967119216919, 0.8182557225227356, 0.5144947171211243, 0.5993751883506775, -0.07908247411251068, 0.7792770266532898, 0.3501017391681671, 0.1630828082561493, -0.6315123438835144, 0.7503440976142883, -0.5717138648033142, -0.25584959983825684, -0.35763484239578247, -0.7458407878875732, -0.2422887533903122, 0.4889482259750366, -0.1836761087179184, 0.15530282258987427, 0.7696529030799866, 0.7475787997245789, 0.11083687841892242, -0.2659074366092682, 0.25208479166030884, 0.2491285800933838, 0.4193147122859955, 0.4867081940174103, 0.6282951235771179, -0.26556992530822754, 0.7721560597419739, 0.4357294738292694, -0.2959296405315399, -0.2011919915676117, -0.8596647381782532, -1.2624176740646362, -0.36561840772628784, -0.177619069814682, 0.057512734085321426, 0.0779573917388916, 0.5985783338546753, 0.7436909675598145, -0.45661646127700806, 0.012616656720638275, -0.3993775248527527, -0.031205572187900543, -0.0724116787314415, -0.15617597103118896, 0.5009366273880005, -0.918303906917572, -0.6973981261253357, 0.6260213255882263, 0.6639695167541504, 0.37266817688941956, -0.2567690312862396, -0.0698811411857605, -0.4538615643978119, 0.06262347102165222, 0.421215683221817, 0.035523541271686554, -0.524993896484375, -0.3957219421863556, -0.15400703251361847, -0.28928014636039734, 0.09389649331569672, 0.7066938281059265, -0.9134727716445923, 0.41879111528396606, 0.5489481091499329, 0.9519249796867371, 0.5410358905792236, 0.08887258917093277, 0.5455470085144043, -1.0609936714172363, 0.40006211400032043, -0.04003307595849037, 0.5267537832260132, 0.14730504155158997, -0.46134981513023376, 0.43957212567329407, 0.30942025780677795, -0.4221262037754059, -0.5937360525131226, 0.39136359095573425, -0.606566846370697, -0.27866604924201965, 0.8944197297096252, -0.35770609974861145, -0.49156540632247925, -0.11998022347688675, -0.4289839565753937, 0.3064790368080139, -0.3017583191394806, 0.7714892029762268, 0.6272563934326172, 0.30116844177246094, -0.0714833065867424, -0.08687137812376022, 0.4174991548061371, 0.5044543147087097, -0.9910735487937927, 0.19169829785823822, 0.4194301664829254, -0.07878526300191879, 0.21953999996185303, 0.7525640726089478, -0.023928727954626083, 0.22820869088172913, -0.21806858479976654, 0.19679377973079681, -0.5034238696098328, -0.6777171492576599, -0.03625762090086937, 0.4520649313926697, -0.33611854910850525, -0.3983370065689087 ]
http://arxiv.org/abs/2404.06910v1
http://arxiv.org/pdf/2404.06910v1
Superposition Prompting: Improving and Accelerating Retrieval-Augmented Generation
2024-04-10T11:03:17
2024-04-10T11:03:17
Thomas Merth, Qichen Fu, Mohammad Rastegari, Mahyar Najibi
cs.CL
cs.CL, cs.AI, cs.LG
Despite the successes of large language models (LLMs), they exhibit significant drawbacks, particularly when processing long contexts. Their inference cost scales quadratically with respect to sequence length, making it expensive for deployment in some real-world text processing applications, such as retrieval-augmented generation (RAG). Additionally, LLMs also exhibit the "distraction phenomenon," where irrelevant context in the prompt degrades output quality. To address these drawbacks, we propose a novel RAG prompting methodology, superposition prompting, which can be directly applied to pre-trained transformer-based LLMs without the need for fine-tuning. At a high level, superposition prompting allows the LLM to process input documents in parallel prompt paths, discarding paths once they are deemed irrelevant. We demonstrate the capability of our method to simultaneously enhance time efficiency across a variety of question-answering benchmarks using multiple pre-trained LLMs. Furthermore, our technique significantly improves accuracy when the retrieved context is large relative the context the model was trained on. For example, our approach facilitates an 93x reduction in compute time while improving accuracy by 43\% on the NaturalQuestions-Open dataset with the MPT-7B instruction-tuned model over naive RAG.
[ -0.40962523221969604, -0.7506300210952759, 0.7049388289451599, 0.3365401029586792, -0.27968630194664, 0.000551315548364073, -0.0788600966334343, -0.3141855001449585, 0.21833078563213348, 0.3698473870754242, -0.7250178456306458, 0.09716545790433884, -0.4685814678668976, 0.31664782762527466, -0.33542051911354065, 0.7559016346931458, 0.04818013682961464, 0.09696091711521149, -0.5856955051422119, 0.143882617354393, -0.6517020463943481, -0.20524758100509644, -0.6025941967964172, -0.2983938157558441, 0.5699000954627991, 0.41012704372406006, 0.39527982473373413, 0.5200475454330444, 0.08399317413568497, 0.29589715600013733, -0.3487394452095032, 0.5166175365447998, -0.39321908354759216, 0.48466163873672485, -0.3788968622684479, -0.5950555205345154, 0.019552357494831085, -0.09905026853084564, 0.6799601316452026, 0.3106861114501953, -0.06343145668506622, 0.22767682373523712, 0.14433667063713074, 0.6663900017738342, -0.6959109902381897, -0.07948511093854904, -0.5778981447219849, -0.14506982266902924, -0.019424231722950935, -0.6256296038627625, -0.5690797567367554, -0.3827386796474457, 0.24244223535060883, -0.6417668461799622, 0.5056912302970886, 0.019864993169903755, 0.7685906291007996, 0.5055709481239319, -0.0555887408554554, -0.21728454530239105, -0.6796214580535889, 0.7588219046592712, -0.33852967619895935, 0.46898218989372253, 0.26570945978164673, 0.2305692732334137, -0.2755860388278961, -0.6223797798156738, -0.8572114706039429, -0.22668109834194183, -0.17643310129642487, 0.2727373540401459, 0.11202972382307053, -0.20137262344360352, 0.6188346147537231, 0.18273289501667023, -0.3012407124042511, -0.11084412038326263, -0.16132694482803345, -0.06901977956295013, 0.20448510348796844, 0.1731901615858078, 0.06177271902561188, -0.36383485794067383, -0.2119416892528534, -0.190207839012146, -0.7994851469993591, -0.14300937950611115, 0.1276492327451706, 0.2409202754497528, 0.29951849579811096, 0.24507872760295868, -0.041424885392189026, 0.7892807722091675, 0.32027217745780945, 0.009068120270967484, 0.16714026033878326, -0.4457883834838867, -0.05692131817340851, -0.08741211891174316, 0.2996440529823303, 0.3123548626899719, -0.04751789569854736, -0.02945716120302677, -0.0566151961684227, 0.06493648886680603, 0.17218925058841705, -0.7818506956100464, 0.23607200384140015, 0.21211259067058563, 0.004512065090239048, 0.03699440509080887, -0.1673881560564041, -0.6916784644126892, -0.5583305358886719, -0.5770339965820312, 0.5341511368751526, -0.4155443012714386, 0.1913183033466339, 0.007521285675466061, -0.19104009866714478, 0.23053710162639618, 0.3375045955181122, -0.8360707759857178, -0.14068466424942017, 0.5417373180389404, 0.6074237823486328, -0.0008427146240137517, -0.3186953365802765, -0.8637263178825378, 0.19271400570869446, -0.27394744753837585, 1.0111004114151, -0.6998327374458313, -0.6365389823913574, -0.2848135828971863, -0.04640611633658409, -0.055355846881866455, -0.7330400347709656, 0.6255918145179749, -0.6859416365623474, 0.5115285515785217, -0.4284372329711914, -0.5608169436454773, 0.08006317168474197, 0.23221158981323242, -0.5158125162124634, 1.4252080917358398, 0.19487376511096954, -0.6113901734352112, 0.30221542716026306, -0.4277281165122986, -0.541469931602478, 0.1559981405735016, -0.25870487093925476, -0.20451320707798004, 0.03012836165726185, 0.73321133852005, 0.43682363629341125, -0.5435394048690796, 0.42110806703567505, 0.4783118963241577, -0.5657557249069214, 0.02537411078810692, -0.44583073258399963, 0.6421400308609009, -0.001360387192107737, -0.4275238513946533, 0.11833345144987106, -0.7328077554702759, -0.12460839748382568, 0.051457881927490234, -0.5166305303573608, -0.3070935904979706, -0.1396111249923706, -0.3048270642757416, 0.1481974720954895, 0.2785879075527191, -0.49593305587768555, 0.2911793887615204, -0.5457062125205994, 0.10417108982801437, 0.8664196133613586, 0.14290045201778412, 0.41304001212120056, -0.4849773347377777, 0.7365683913230896, -0.08393177390098572, 0.11550388485193253, -0.5513913035392761, -0.21665816009044647, -0.7610726952552795, -0.08981072902679443, 0.3722818195819855, 0.7025153636932373, -1.2585099935531616, 0.33656591176986694, -0.2764398455619812, -0.31069135665893555, -0.5126115083694458, 0.007745149079710245, 0.569250226020813, 0.9176225662231445, 0.652899444103241, 0.17796532809734344, -0.6892699003219604, -0.48197147250175476, -0.3188381493091583, 0.2156926542520523, -0.17988184094429016, 0.5657587647438049, 0.0564580075442791, -0.11236988753080368, 0.9079466462135315, -0.44064950942993164, -0.009276566095650196, -0.3388843834400177, 0.2280782163143158, 0.365645170211792, 0.38010281324386597, 0.17898288369178772, -0.952557384967804, -0.6852601766586304, -0.4733799695968628, -0.31726977229118347, -0.5359000563621521, -0.3255164921283722, -0.22258146107196808, 0.3349711298942566, 0.869674801826477, -0.7261918187141418, 0.21124818921089172, 0.345563143491745, -0.07117356359958649, 1.0219268798828125, -0.3644782304763794, 0.1760232150554657, -1.07722806930542, -0.030420145019888878, -0.2531599998474121, 0.12585265934467316, -0.597806990146637, 0.06428159773349762, 0.24761177599430084, 0.12840232253074646, -0.6308748722076416, 0.6324010491371155, -0.5523521304130554, 0.11543363332748413, -0.24217922985553741, 0.09538735449314117, 0.2344113141298294, 0.15823540091514587, -0.14770974218845367, 1.3540606498718262, 0.4538705050945282, -0.8877915740013123, -0.04441418498754501, 0.2949816882610321, -0.2795237898826599, 0.549680233001709, -0.6196040511131287, 0.26019296050071716, -0.4586952328681946, 0.5702664256095886, -0.8627434968948364, -0.17164525389671326, 0.07575080543756485, -0.24774745106697083, 0.3650374412536621, 0.09713003784418106, -0.5268617868423462, -0.33575260639190674, -0.3243735730648041, 0.3461087644100189, 0.43061694502830505, -0.7829809784889221, 0.8016409277915955, -0.04196660593152046, -0.11195015162229538, -0.7177329063415527, -0.47025543451309204, -0.013090538792312145, -0.04285219684243202, -0.4147660434246063, 0.6822148561477661, -0.10958724468946457, 0.32503819465637207, -0.3160906732082367, -0.2768476903438568, 0.5160727500915527, -0.1400650590658188, 0.02671981416642666, 0.43991249799728394, -0.00587816396728158, 0.19618482887744904, 0.1262892782688141, -0.30360159277915955, -0.13547751307487488, -0.3424816131591797, 0.6130329370498657, 0.35713550448417664, -0.131291925907135, -0.3650197386741638, 0.2825372815132141, 0.3702438175678253, -0.3020723760128021, 0.6914119720458984, 0.33539748191833496, -0.10718780010938644, -0.26250725984573364, -0.725102961063385, -0.30116215348243713, -0.5594435334205627, -0.07987446337938309, -0.26659780740737915, -1.1055028438568115, 0.2834121286869049, -0.12833605706691742, 0.06333377212285995, 0.03090064227581024, 0.32971513271331787, 0.13230390846729279, 1.0942829847335815, 0.22275951504707336, 0.13634775578975677, 0.815022885799408, -0.21253588795661926, 0.1859726756811142, -1.030154824256897, -0.1015084832906723, -0.5442862510681152, -0.18924643099308014, -0.3841702342033386, -0.8062832355499268, 0.48884743452072144, 0.08517422527074814, -0.06687038391828537, 0.2476450502872467, -0.573803722858429, 0.9225636124610901, 0.7895423769950867, 0.2062033712863922, 0.12943632900714874, -0.04168735817074776, -0.3679310083389282, -0.07828562706708908, -0.8878874778747559, -0.3239201009273529, 0.889744222164154, -0.26507142186164856, 0.48825153708457947, -0.04316197708249092, 0.8532938361167908, -0.09377267211675644, 0.3415818512439728, -0.5715500712394714, 0.8356818556785583, -0.24094749987125397, -0.5244483351707458, -0.4035526216030121, -0.5107105374336243, -1.122545838356018, 0.1576576828956604, -0.3448563516139984, -0.7563621997833252, 0.08293341845273972, 0.3417697548866272, -0.7739424705505371, -0.14297407865524292, -0.7804328203201294, 0.39452946186065674, 0.06526895612478256, -0.648375391960144, -0.04259829968214035, -0.6076607704162598, 0.12571674585342407, 0.05042622238397598, 0.0149673568084836, 0.10799325257539749, 0.03968137502670288, 0.5106908679008484, -0.23898929357528687, 0.4881557822227478, -0.2677985429763794, -0.0110933231189847, 0.2841077744960785, 0.20753248035907745, 0.9188550114631653, -0.20998792350292206, -0.08723792433738708, -0.44362354278564453, -0.29786887764930725, -0.23927578330039978, -0.9485114216804504, 0.5909150838851929, -0.2768213748931885, -1.0347459316253662, -0.03438548743724823, -0.8044533133506775, -0.5324789881706238, 0.1892656832933426, 0.4133360981941223, 0.577422559261322, 0.25397077202796936, 0.1558683067560196, 0.878625214099884, -0.5291271209716797, 0.35829073190689087, 0.5283381342887878, -0.1802642047405243, -0.2401883900165558, 1.032178282737732, 0.3353269398212433, 0.277097225189209, 0.5343259572982788, 0.5087456107139587, -0.7338142991065979, -0.31856071949005127, -0.5075240731239319, 0.28193631768226624, -0.5410680770874023, -0.2056095451116562, -0.7646181583404541, -0.058185841888189316, -0.5590583682060242, -0.19483260810375214, -0.021694809198379517, -0.3990985155105591, -0.2873271703720093, -0.1338496208190918, 0.24655655026435852, 0.4647742211818695, 0.08686572313308716, 0.496107280254364, -1.0588700771331787, 0.4813176095485687, 0.5236921906471252, 0.16561894118785858, 0.20798064768314362, -0.6194760203361511, -0.13593195378780365, -0.298860102891922, -0.3179824650287628, -0.6457018852233887, 0.14980874955654144, 0.0726873129606247, 0.6457929015159607, 0.05263718590140343, 0.01110200397670269, 0.8254778385162354, -0.7346099615097046, 0.8747745752334595, -0.07716820389032364, -1.00093412399292, 0.6043729186058044, -0.3078254163265228, 0.6552264094352722, 0.5284702777862549, 0.4501645565032959, -0.3398381173610687, -0.4625834822654724, -0.7049742341041565, -0.9930150508880615, 0.7854669690132141, 0.02750658057630062, 0.17998196184635162, -0.19975358247756958, 0.31781673431396484, -0.031075477600097656, -0.05637029930949211, -0.21695943176746368, -0.24619926512241364, 0.13566575944423676, -0.03820240497589111, -0.17939846217632294, -0.48859724402427673, 0.05007254332304001, -0.33827194571495056, 0.8040603995323181, -0.060203734785318375, 0.17695516347885132, 0.4888670742511749, -0.19460691511631012, 0.06343792378902435, 0.3702434301376343, 0.7463919520378113, 0.7411812543869019, 0.10917147994041443, 0.26473963260650635, 0.4349368214607239, -0.3649657070636749, 0.44286754727363586, 0.16964785754680634, -0.40435561537742615, 0.038845695555210114, 0.04432523250579834, 0.46428239345550537, 0.24252834916114807, -0.5106721520423889, 0.20724482834339142, -0.037215426564216614, -0.051572490483522415, 0.33446699380874634, 0.277166485786438, 0.29757818579673767, 0.35450801253318787, 0.5396994352340698, -0.1978493630886078, 0.08977844566106796, -0.04512086883187294, 0.2714945673942566, 0.13278891146183014, -0.07261519879102707, 0.16758069396018982, 0.7001789808273315, 0.13852089643478394, -0.49173641204833984, 0.30380016565322876, -0.22212526202201843, -0.6280640363693237, 0.523476779460907, 0.7296832203865051, 0.6332184076309204, -0.45622360706329346, 0.2120860368013382, 0.40146946907043457, 0.11630505323410034, -0.4429500997066498, 0.4268229007720947, -0.2836947441101074, -0.7141390442848206, -0.8717362284660339, -0.6194725036621094, -0.4547383785247803, 0.11429192125797272, -0.5082048177719116, 0.15596336126327515, -0.4327445328235626, -0.07077976316213608, 0.013883068226277828, -0.2181389480829239, -0.40162894129753113, 0.13180169463157654, -0.015606984496116638, 1.1210988759994507, -0.5405638217926025, 0.511285126209259, 0.5615910887718201, -0.12205434590578079, -1.050616979598999, 0.271731436252594, -0.3093838691711426, -0.4976309835910797, 0.5170621871948242, 0.4667830467224121, -0.4088878631591797, 0.39116552472114563, -0.6087930798530579, -0.7051616311073303, 0.9295064806938171, 0.5089350342750549, -0.5453588366508484, 0.16568776965141296, -0.024357730522751808, 0.5481396317481995, -0.059064313769340515, 0.307449609041214, 0.7933781147003174, 0.4653838276863098, 0.2278740406036377, -0.585117518901825, 0.3669244647026062, -0.07514775544404984, 0.22072747349739075, 0.28513985872268677, -0.5780435800552368, 0.7021706700325012, -0.11715225875377655, -0.4560610055923462, -0.0441802479326725, 0.5944498181343079, 0.775303304195404, 0.1345769762992859, 0.6238968968391418, 0.41839537024497986, 0.7869794964790344, 0.12642545998096466, 0.9713389277458191, -0.37267836928367615, -0.014362695626914501, 1.314451813697815, -0.29336345195770264, 0.6251082420349121, 0.7056761980056763, -0.17888395488262177, 0.5877142548561096, 0.2752947509288788, 0.39686357975006104, 0.2613412141799927, 0.10880976915359497, -0.4816284477710724, -0.2720341384410858, -0.3456037938594818, -0.45585310459136963, 0.044364187866449356, 0.4517604112625122, -0.2545281648635864, -0.315866082906723, -0.000807848060503602, -0.1340303122997284, 0.07917236536741257, -0.18314087390899658, 0.5014730095863342, -0.06522103399038315, -1.2109427452087402, 0.7210493683815002, -0.32664862275123596, 0.6724715232849121, -0.5194156169891357, -0.1677018702030182, -0.4254129230976105, -0.04856302961707115, -0.0852367952466011, -0.6091375350952148, 0.20500712096691132, -0.018990639597177505, -0.3875979483127594, -0.6088533997535706, 0.6871913075447083, -0.2834089398384094, -0.3319944143295288, 0.15596282482147217, 0.5295670032501221, 0.06623438745737076, -0.08727741241455078, -0.6288052797317505, -0.19880080223083496, -0.08225184679031372, -0.37734895944595337, 0.17303980886936188, 0.46776002645492554, -0.14416220784187317, 0.5140675902366638, 0.9951930642127991, -0.1073659136891365, 0.010913847014307976, 0.41517022252082825, 0.9544495940208435, -0.6829457879066467, -0.7143880724906921, -0.8517559170722961, 0.43810221552848816, 0.00627906434237957, -0.10787000507116318, 0.8495180010795593, 0.4056870639324188, 0.721589982509613, 0.002745077246800065, 0.6004031896591187, -0.026124699041247368, 0.86142498254776, -0.6461517214775085, 0.2945561707019806, -0.4681166112422943, 0.5197518467903137, -0.21837882697582245, -0.9273859858512878, -0.3686813712120056, 0.3695589601993561, -0.5169801712036133, -0.17207129299640656, 0.5961990356445312, 1.3339349031448364, 0.1058635413646698, 0.08441898971796036, 0.2150373011827469, 0.06015504524111748, 0.204322949051857, 0.35773247480392456, 1.2149567604064941, -0.20408415794372559, 0.622870147228241, -0.003559874137863517, -0.29758068919181824, -0.21514204144477844, -0.9526988863945007, -0.6833910346031189, -0.2781899869441986, 0.07530029118061066, -0.42073723673820496, 0.048162635415792465, 0.8615999817848206, 0.49412333965301514, -0.7092195749282837, 0.06595694273710251, -0.38262811303138733, 0.26433292031288147, -0.1861467808485031, -0.2969622015953064, 0.24832847714424133, -0.48770320415496826, -0.7019672989845276, 0.6682792901992798, 0.1840895414352417, 0.2483261674642563, -0.21652129292488098, 0.10261710733175278, -0.5034365653991699, 0.27001363039016724, 0.6119726896286011, 0.15471205115318298, -0.40575936436653137, -0.3057030737400055, 0.28845977783203125, -0.030911333858966827, 0.10334350168704987, 0.880771279335022, -0.9909678101539612, 0.4572862684726715, 0.829501748085022, 0.8679074645042419, 0.47180354595184326, 0.3191554546356201, 0.5515857338905334, -0.9840990900993347, 0.0890621691942215, 0.13361015915870667, 0.017453916370868683, 0.33414825797080994, -0.6178158521652222, 0.35646557807922363, 0.2506219744682312, -0.6300434470176697, -0.738663911819458, 0.23325663805007935, -0.37933623790740967, -0.35661011934280396, 1.0683926343917847, 0.008402042090892792, -0.3679341971874237, -0.18101084232330322, -0.6090343594551086, 0.2951028048992157, -0.30502235889434814, 0.8237066268920898, 0.6156045794487, -0.4232408106327057, -0.06952126324176788, -0.38436567783355713, 0.44729769229888916, 1.0208081007003784, -0.5974854230880737, 0.1526847630739212, 0.4308678209781647, -0.135308638215065, 0.36753717064857483, 0.6508464813232422, 0.14862161874771118, 0.4360988736152649, -0.013308179564774036, -0.19857314229011536, -0.12536275386810303, -0.5990931391716003, -0.41402217745780945, 0.020316889509558678, -0.38152578473091125, -0.0050231413915753365 ]
http://arxiv.org/abs/2404.08695v2
http://arxiv.org/pdf/2404.08695v2
Enhancing Question Answering for Enterprise Knowledge Bases using Large Language Models
2024-04-10T10:38:17
2024-04-20T05:29:29
Feihu Jiang, Chuan Qin, Kaichun Yao, Chuyu Fang, Fuzhen Zhuang, Hengshu Zhu, Hui Xiong
cs.CL
cs.CL, cs.AI, cs.IR
Efficient knowledge management plays a pivotal role in augmenting both the operational efficiency and the innovative capacity of businesses and organizations. By indexing knowledge through vectorization, a variety of knowledge retrieval methods have emerged, significantly enhancing the efficacy of knowledge management systems. Recently, the rapid advancements in generative natural language processing technologies paved the way for generating precise and coherent answers after retrieving relevant documents tailored to user queries. However, for enterprise knowledge bases, assembling extensive training data from scratch for knowledge retrieval and generation is a formidable challenge due to the privacy and security policies of private data, frequently entailing substantial costs. To address the challenge above, in this paper, we propose EKRG, a novel Retrieval-Generation framework based on large language models (LLMs), expertly designed to enable question-answering for Enterprise Knowledge bases with limited annotation costs. Specifically, for the retrieval process, we first introduce an instruction-tuning method using an LLM to generate sufficient document-question pairs for training a knowledge retriever. This method, through carefully designed instructions, efficiently generates diverse questions for enterprise knowledge bases, encompassing both fact-oriented and solution-oriented knowledge. Additionally, we develop a relevance-aware teacher-student learning strategy to further enhance the efficiency of the training process. For the generation process, we propose a novel chain of thought (CoT) based fine-tuning method to empower the LLM-based generator to adeptly respond to user questions using retrieved documents. Finally, extensive experiments on real-world datasets have demonstrated the effectiveness of our proposed framework.
[ -0.6592457294464111, -1.0318808555603027, 0.7476017475128174, -0.37682297825813293, -0.17589327692985535, 0.06742708384990692, -0.24108539521694183, -0.4518834054470062, 0.061297766864299774, 0.7895953059196472, -0.4086676836013794, -0.5935400128364563, -0.16110149025917053, 0.10914713144302368, -0.33178097009658813, 0.7290723919868469, 0.18399593234062195, -0.12457060813903809, -0.3837851285934448, -0.3063984811306, -0.3210286498069763, -0.6377385854721069, -0.49543488025665283, -0.11202671378850937, 0.3561166226863861, 0.7507778406143188, 0.3151262104511261, 0.5994057655334473, 0.482057124376297, 0.27556243538856506, -0.19300419092178345, 0.3642556667327881, -0.3541428744792938, 0.5260518193244934, -0.3055526316165924, -0.5699816346168518, -0.34235572814941406, -0.6882902383804321, 0.638085663318634, 0.5538842678070068, -0.4331979751586914, 0.4398045241832733, -0.07936755567789078, 0.7755520939826965, -0.4996030926704407, 0.08111942559480667, -1.054213285446167, -0.2973463833332062, -0.010567122139036655, -0.29480117559432983, -0.40598204731941223, -0.37530019879341125, 0.08276480436325073, -0.4558345675468445, 0.28914737701416016, 0.5021569728851318, 0.7575058341026306, -0.02915545180439949, -0.252364844083786, -0.25128012895584106, -0.6495054960250854, 0.6359885334968567, -0.6638249158859253, 0.4947267770767212, 0.22605884075164795, 0.36754482984542847, -0.05392010509967804, -0.7582957148551941, -0.7000572681427002, 0.0867767184972763, 0.020425062626600266, -0.1840910017490387, -0.09597793966531754, 0.11204734444618225, 0.41756001114845276, 0.2231215089559555, -0.616784393787384, -0.034249596297740936, -0.44451767206192017, 0.14148899912834167, 0.4776894152164459, 0.3673590123653412, 0.027910666540265083, -0.19368976354599, -0.17422419786453247, -0.15812933444976807, -0.6651626825332642, -0.11184235662221909, 0.3959035277366638, 0.23882946372032166, 0.5819368362426758, 0.7172427177429199, -0.5249333381652832, 0.759688138961792, 0.12925805151462555, 0.15629085898399353, 0.031162776052951813, 0.08759059756994247, -0.3425990641117096, 0.07191339135169983, 0.29545509815216064, 0.3151250183582306, -0.03908189758658409, -0.4558332562446594, -0.11717186123132706, -0.2473537027835846, 0.45308446884155273, -0.8833920359611511, -0.12942831218242645, 0.35329669713974, -0.21588341891765594, -0.29926955699920654, -0.027788477018475533, -0.99217689037323, -0.4457506537437439, -0.23130793869495392, 0.545172393321991, -0.47248393297195435, -0.1580173671245575, 0.019900266081094742, -0.04231462627649307, 0.671484112739563, 0.24771331250667572, -0.7624960541725159, 0.17257961630821228, 0.7041009068489075, 0.2711167335510254, 0.15495923161506653, 0.07681851834058762, -0.47428303956985474, 0.48316115140914917, -0.28898388147354126, 0.6464533805847168, -0.5176578164100647, -0.2539415657520294, -0.056662097573280334, -0.10453839600086212, 0.09829820692539215, -0.7819257974624634, 0.40414753556251526, -1.109787940979004, 0.0873401015996933, -0.5108472108840942, -0.8261195421218872, -0.284431517124176, 0.5716320872306824, -0.4497213363647461, 1.0321223735809326, -0.07907048612833023, -0.6827815175056458, 0.2806173861026764, -0.35517728328704834, -0.2315591424703598, 0.45336219668388367, -0.22573845088481903, -0.47343993186950684, -0.0731130838394165, 0.26023584604263306, 0.6046603918075562, -0.46882760524749756, 0.15584704279899597, -0.223735049366951, 0.10801299661397934, -0.024784710258245468, 0.10128732770681381, 0.33860498666763306, 0.2626979947090149, -0.309981107711792, -0.33097442984580994, -0.7900117635726929, 0.5870311260223389, 0.1107071191072464, -0.44435691833496094, -0.502359926700592, 0.028089700266718864, -0.39657461643218994, -0.014426845125854015, 0.3444843292236328, -0.5075098276138306, -0.01418126281350851, -0.3275577425956726, -0.022209005430340767, 0.6429006457328796, 0.5082113742828369, 0.4102649688720703, -0.23928065598011017, 0.5828589797019958, -0.04363686218857765, -0.13858765363693237, -0.19331060349941254, -0.24806612730026245, -0.8360310792922974, 0.08233299851417542, 0.08299212902784348, 0.4322989583015442, -0.7439727783203125, 0.4663819968700409, -0.36052241921424866, -0.473699688911438, -0.4717232584953308, 0.36597615480422974, 0.24081023037433624, 0.85261470079422, 0.46547630429267883, -0.08182071894407272, -0.5834255218505859, -0.9553121328353882, -0.28249412775039673, -0.13530869781970978, -0.05531924217939377, 0.7183066010475159, 0.33339112997055054, 0.10553235560655594, 0.9335222840309143, -0.6952956914901733, -0.12007108330726624, -0.544618546962738, 0.12300651520490646, 0.10378292948007584, 0.1370144635438919, 0.2051907181739807, -0.9017835855484009, -0.5661027431488037, 0.23148910701274872, -0.6094560623168945, 0.009854692034423351, 0.21958640217781067, -0.43596360087394714, 0.3355158269405365, 0.48238328099250793, -0.6064962148666382, 0.011322061531245708, 0.009918618015944958, -0.12231758236885071, 0.4870964586734772, -0.1696227341890335, 0.17000943422317505, -1.1673206090927124, 0.44110238552093506, -0.3476032018661499, -0.32931655645370483, -0.5756500959396362, 0.333912193775177, 0.20287936925888062, -0.2974684536457062, -0.27583611011505127, 0.45220425724983215, -0.5326829552650452, 0.04513809457421303, -0.013920529745519161, 0.3555375039577484, 0.20137231051921844, 0.5173616409301758, 0.019356373697519302, 0.6067975163459778, 0.31809014081954956, -0.806590735912323, 0.4148029088973999, 0.6749894618988037, -0.48622003197669983, 0.782148540019989, -0.5539860725402832, 0.326740562915802, -0.5124978423118591, -0.07286155968904495, -0.4843619763851166, -0.27069154381752014, -0.23611770570278168, -0.3190973699092865, 0.4145453870296478, -0.26776742935180664, -0.49939969182014465, -0.424537718296051, -0.07737108319997787, -0.16551080346107483, 0.6547862887382507, -0.5351582169532776, 0.8011747002601624, 0.38437148928642273, -0.4430566132068634, -0.5343095660209656, -0.448552668094635, -0.011575860902667046, -0.36414116621017456, -0.8327430486679077, 0.016366509720683098, 0.10933464765548706, -0.2626512944698334, 0.17003697156906128, -0.4612719714641571, -0.11520959436893463, 0.04814000800251961, -0.35984930396080017, 0.30495887994766235, -0.3060871958732605, 0.25721442699432373, 0.10422194004058838, 0.33315059542655945, 0.16772323846817017, -0.43194547295570374, 0.4264073073863983, -0.023173941299319267, -0.3177165985107422, 0.33374014496803284, 0.46057531237602234, 0.3708976209163666, -0.6336658596992493, 1.1394141912460327, 0.4810347855091095, -0.36014941334724426, -0.5688471794128418, -0.9656867980957031, -0.3146294355392456, -0.49668559432029724, 0.7064021229743958, -0.21431119740009308, -0.9140117764472961, 0.4576479196548462, -0.18299388885498047, 0.15102066099643707, 0.14927376806735992, 0.6151976585388184, -0.17744995653629303, 0.9112964272499084, 0.6461725831031799, -0.017668848857283592, 0.3271261751651764, -0.37955242395401, 0.4766641855239868, -0.9086683988571167, -0.4053282141685486, -0.6986258625984192, -0.1575891226530075, -0.2647768557071686, -0.2863820791244507, 0.678934633731842, 0.2681037187576294, -0.2819194197654724, 0.14833322167396545, -0.32189857959747314, 0.6210229396820068, 0.46457138657569885, 0.2588118612766266, 0.2586430013179779, 0.03270220011472702, -0.15103945136070251, 0.26796668767929077, -0.8424928188323975, -0.5897863507270813, 1.1655681133270264, 0.0828031525015831, 0.785531222820282, 0.2040550708770752, 0.7878157496452332, 0.02953098714351654, 0.04845235496759415, -0.3535127639770508, 0.7290719747543335, 0.027907388284802437, -0.8270946145057678, -0.5310098528862, -0.6651264429092407, -0.7588308453559875, 0.27287283539772034, -0.195145383477211, -0.9363725781440735, 0.14011816680431366, 0.3389964699745178, -0.35145074129104614, 0.5399454832077026, -0.7425916194915771, 0.8334412574768066, -0.29054388403892517, -0.5173527002334595, -0.20666645467281342, -0.7089398503303528, 0.2458055019378662, -0.10740827023983002, -0.02942264825105667, 0.10327518731355667, 0.19784215092658997, 0.6822022795677185, -0.33071959018707275, 0.3103303611278534, -0.4217222332954407, 0.11774978041648865, 0.5272663831710815, 0.12417405843734741, 0.8598605394363403, -0.05187475308775902, -0.23469406366348267, -0.3512912094593048, -0.09307117760181427, -0.22086097300052643, -0.6713467836380005, 0.5656064748764038, -0.3445224463939667, -0.8055488467216492, 0.08537934720516205, -0.43251365423202515, -0.640546977519989, 0.33777764439582825, -0.005476897116750479, 0.411965936422348, -0.1538258194923401, 0.701789379119873, 1.2705854177474976, -0.4761046767234802, 0.03178594633936882, 0.6870419383049011, -0.04589788243174553, -0.23398229479789734, 0.7829636335372925, 0.014436387456953526, 0.35643407702445984, 0.6026143431663513, -0.09665115922689438, -0.5685582160949707, -0.2854122817516327, -0.34093183279037476, 0.15045642852783203, -0.753563404083252, -0.5610598921775818, -0.9164023995399475, -0.10362860560417175, -0.4287167489528656, -0.01888630911707878, 0.00015227308904286474, -0.45701488852500916, -0.10168323665857315, -0.3417736291885376, 0.5107735991477966, 0.35466790199279785, 0.35033297538757324, -0.034647248685359955, -0.9018208384513855, 0.31994619965553284, 0.4987107217311859, 0.44180330634117126, 0.3130990266799927, -0.3442826271057129, -0.5495536923408508, -0.025523029267787933, -0.5281381011009216, -0.849197268486023, 0.3217986226081848, 0.2362542450428009, 0.6283324360847473, -0.016358917579054832, 0.28367727994918823, 0.534623384475708, -0.5593209862709045, 0.47145876288414, -0.2777944505214691, -0.5134069919586182, 0.4660802185535431, -0.3774449825286865, -0.07076968252658844, 0.6682536602020264, 0.3620195984840393, -0.4738261103630066, -0.42435720562934875, -0.6468588709831238, -1.4415602684020996, 0.8019059896469116, -0.08964438736438751, 0.07109741121530533, 0.05677146837115288, 0.4368104636669159, -0.04382675886154175, 0.5345098376274109, -0.28830987215042114, -0.4022592306137085, 0.21554900705814362, -0.3776090145111084, 0.18011142313480377, -0.24307268857955933, -0.0026819955091923475, -0.049183189868927, 1.056689739227295, 0.00169836834538728, 0.2479339838027954, 0.14475248754024506, -0.2970459461212158, -0.3092462420463562, 0.6836155652999878, -0.04996216297149658, 0.6699349284172058, -0.18471290171146393, -0.08675248175859451, 0.4668044447898865, -0.2532316744327545, -0.022255508229136467, 0.2128334939479828, -0.3169749677181244, -0.06807196140289307, -0.3291211724281311, 0.7209551334381104, -0.16336511075496674, -0.7337630987167358, 0.2771884500980377, 0.15357282757759094, -0.14535416662693024, -0.34004509449005127, 0.26337072253227234, 0.29908764362335205, 0.447777658700943, 0.5985532999038696, -0.5037635564804077, 0.09483928978443146, -0.23428966104984283, 0.16375325620174408, 0.5622054934501648, 0.20182174444198608, 0.15630827844142914, 0.754668116569519, 0.11424651741981506, -0.18375952541828156, 0.6822502613067627, -0.05233188346028328, -0.642381489276886, 0.540740430355072, 0.3490793704986572, 0.711978018283844, -0.1473967283964157, 0.06319702416658401, 0.26723045110702515, 0.2787221074104309, 0.04106198251247406, 0.5469197034835815, -0.26685798168182373, -0.5863000750541687, -0.2513979971408844, -0.8758169412612915, -0.6375095844268799, 0.32955875992774963, -0.804771363735199, 0.3312341868877411, -0.16967365145683289, 0.05958442762494087, -0.24489177763462067, 0.1053166314959526, -0.8145649433135986, 0.19424580037593842, -0.023466186597943306, 1.0988576412200928, -0.4654170572757721, 0.570408284664154, 0.8483175039291382, -0.2995096743106842, -1.0716755390167236, -0.2532159388065338, -0.6173256635665894, -0.4531610906124115, 0.37006163597106934, -0.13660238683223724, 0.2337193489074707, 0.3686087131500244, -0.3742321729660034, -0.6909587383270264, 1.2965842485427856, 0.2577285170555115, -0.6387421488761902, -0.1923007369041443, 0.3263968825340271, 0.5840792059898376, 0.01609937660396099, -0.10390596091747284, 0.5369942784309387, 0.43976491689682007, -0.029169384390115738, -0.3744405508041382, -0.08731036633253098, -0.10440637916326523, -0.06591524183750153, 0.5478508472442627, -0.5298214554786682, 0.38965100049972534, -0.10809794813394547, 0.02943800948560238, 0.036297719925642014, 0.6216169595718384, 0.3339763879776001, 0.1732979714870453, 0.236726775765419, 0.7298501133918762, 0.8334259390830994, 0.12258655577898026, 0.8741642236709595, -0.5649917721748352, 0.29535427689552307, 1.0595614910125732, -0.3647647500038147, 0.8230294585227966, 0.47587859630584717, 0.04698240011930466, 0.3953191936016083, 0.1435442417860031, -0.04153558239340782, 0.44328367710113525, 0.022799288854002953, -0.41436100006103516, -0.3255598247051239, 0.17549969255924225, -0.23796489834785461, 0.09906288981437683, 0.3082341253757477, -0.4671248495578766, -0.21175341308116913, -0.16449639201164246, -0.12168224155902863, 0.018294045701622963, -0.4615333378314972, 1.001355528831482, 0.11165854334831238, -0.5542477965354919, 0.30539795756340027, 0.18746709823608398, 0.18691280484199524, -0.7516772747039795, 0.022482415661215782, -0.190949946641922, 0.1496286243200302, -0.08429655432701111, -0.6406977772712708, 0.14523138105869293, 0.2929251790046692, -0.13007405400276184, -0.22739002108573914, 0.7983342409133911, -0.6623291969299316, -0.31715893745422363, -0.080005943775177, 0.6704443693161011, -0.07491997629404068, -0.03130090609192848, -0.3435688614845276, -0.402433842420578, -0.15839864313602448, -0.5383977890014648, 0.24168765544891357, 0.7236060500144958, 0.004181567579507828, 0.7635752558708191, 0.36799558997154236, 0.16402897238731384, 0.32764819264411926, -0.19292153418064117, 0.8486417531967163, -0.32955291867256165, -0.6042288541793823, -0.5109761953353882, 0.4807453155517578, -0.1167193204164505, 0.17596395313739777, 0.724470317363739, 0.7117014527320862, 0.7893763780593872, -0.0007027180399745703, 0.8467782735824585, -0.3648739755153656, 0.8736246824264526, -0.3744748830795288, 0.7433015704154968, -0.4979136884212494, 0.368855744600296, -0.2837296426296234, -0.9822317957878113, 0.05330841988325119, 0.3648131191730499, -0.435865193605423, 0.16330817341804504, 0.49042657017707825, 0.9333516955375671, -0.03601430729031563, -0.0578145794570446, 0.37539392709732056, 0.42092224955558777, 0.2232910394668579, 0.2111935168504715, 0.5180355906486511, -0.14944328367710114, 0.850389838218689, -0.3175133764743805, 0.17402689158916473, -0.13853701949119568, -0.6611921787261963, -0.6582463383674622, -0.4803277254104614, 0.010722296312451363, -0.284053772687912, 0.2882031798362732, 0.9157227873802185, 0.36530932784080505, -0.7237259149551392, 0.046476054936647415, -0.08438651263713837, -0.05855156481266022, 0.2192068099975586, -0.2766670882701874, 0.4303187429904938, -0.4694705307483673, -0.3660077452659607, 0.08433333039283752, 0.026080625131726265, -0.25172507762908936, -0.09022090584039688, 0.09831379354000092, -0.059492077678442, 0.046488646417856216, 0.4126339852809906, 0.26930418610572815, -0.1689901351928711, -0.2915116846561432, 0.36663705110549927, 0.08842848241329193, -0.08584941923618317, 0.5857397317886353, -0.6961702108383179, 0.29009807109832764, 0.4368826150894165, 1.1451468467712402, 0.680490255355835, 0.3017260730266571, 0.4321703314781189, -0.999417781829834, -0.33121630549430847, 0.49662524461746216, 0.29640379548072815, 0.384074866771698, -0.5965582728385925, 0.20681604743003845, -0.1311035454273224, -0.718804657459259, -0.8568020462989807, 0.19062641263008118, -0.5890040397644043, -0.03251774609088898, 1.071094274520874, -0.0017486197175458074, -0.3518669307231903, -0.15619026124477386, -0.1695808321237564, 0.136429563164711, -0.33781394362449646, 0.9387227892875671, 0.5477160811424255, -0.08810240030288696, -0.11848855018615723, -0.5195102095603943, 0.29120346903800964, 0.3914538621902466, -0.8898217678070068, 0.2865855395793915, 0.625080943107605, 0.406053751707077, -0.19544164836406708, 0.3982301950454712, -0.14082074165344238, 0.26941004395484924, -0.31538698077201843, 0.25093790888786316, -0.1892649084329605, -0.3053745925426483, -0.10105571895837784, 0.25364813208580017, 0.33854052424430847, -0.03781576827168465 ]
http://arxiv.org/abs/2404.06854v1
http://arxiv.org/pdf/2404.06854v1
Control-DAG: Constrained Decoding for Non-Autoregressive Directed Acyclic T5 using Weighted Finite State Automata
2024-04-10T09:28:14
2024-04-10T09:28:14
Jinghong Chen, Weizhe Lin, Jingbiao Mei, Bill Byrne
cs.CL
cs.CL, I.2
The Directed Acyclic Transformer is a fast non-autoregressive (NAR) model that performs well in Neural Machine Translation. Two issues prevent its application to general Natural Language Generation (NLG) tasks: frequent Out-Of-Vocabulary (OOV) errors and the inability to faithfully generate entity names. We introduce Control-DAG, a constrained decoding algorithm for our Directed Acyclic T5 (DA-T5) model which offers lexical, vocabulary and length control. We show that Control-DAG significantly enhances DA-T5 on the Schema Guided Dialogue and the DART datasets, establishing strong NAR results for Task-Oriented Dialogue and Data-to-Text NLG.
[ -0.19634078443050385, -0.7591796517372131, 0.19368045032024384, 0.13764727115631104, -0.20245593786239624, 0.22693394124507904, -0.09326397627592087, -0.21125362813472748, -0.0010590825695544481, 0.5087365508079529, -0.7989959716796875, -0.6412492990493774, -0.812781810760498, 0.5496485233306885, -0.7359040379524231, 0.8513696193695068, -0.22662635147571564, -0.1792062520980835, 0.20627255737781525, 0.10160679370164871, -0.5339480638504028, -0.20457950234413147, -0.6188418865203857, -0.426363080739975, 0.17557604610919952, 0.2887578010559082, 0.801703929901123, 1.0400317907333374, 0.5499045252799988, 0.23230589926242828, 0.1595221906900406, 0.2795248031616211, -0.24399340152740479, 0.25971367955207825, -0.18650463223457336, -0.4699365794658661, -0.5653666853904724, -0.21033529937267303, 0.5322198867797852, 0.5549915432929993, -0.5432270169258118, -0.0065416148863732815, -0.28413379192352295, 0.4925944209098816, -0.6274981498718262, 0.3880675733089447, -0.5749450922012329, -0.034061819314956665, 0.12877771258354187, -0.04120616987347603, -0.5308913588523865, -0.3387526273727417, 0.0976381003856659, -0.7264785170555115, 0.2803744971752167, 0.2290557622909546, 0.8118929862976074, 1.0801008939743042, -0.6626021862030029, -0.6811394691467285, -0.8656404614448547, 0.8492339849472046, -0.6557243466377258, 0.39805930852890015, 0.21439631283283234, 0.09099631011486053, -0.44286105036735535, -0.7583579421043396, -0.7704033851623535, -0.19742119312286377, -0.1661241203546524, 0.11555980890989304, -0.5166037678718567, 0.6610460877418518, 0.23584672808647156, 0.3913518190383911, -0.4987528324127197, -0.057338912039995193, -0.0886634811758995, -0.12709364295005798, 0.7234033346176147, 0.42122402787208557, 0.2916291654109955, -0.2899841368198395, -0.4141775071620941, -0.227810800075531, -0.49872738122940063, -0.2800622582435608, 0.26596009731292725, -0.0039956518448889256, -0.009144177660346031, 0.550218403339386, -0.16101503372192383, 1.0202383995056152, 0.737668514251709, -0.23964792490005493, -0.1332305371761322, -0.33227357268333435, -0.2750796973705292, 0.16195125877857208, 0.8753286600112915, 0.42266911268234253, 0.13585351407527924, -0.34159088134765625, -0.27721163630485535, 0.4253961443901062, 0.3882046937942505, -0.48198458552360535, -0.4015427529811859, 0.08945338428020477, -0.3272516131401062, -0.1463555544614792, -0.15133991837501526, -0.45741575956344604, 0.02257000282406807, -0.2059912532567978, 0.2720264494419098, -0.2644488513469696, -0.12690335512161255, 0.20707395672798157, -0.06950157880783081, 0.30292677879333496, 0.1256764531135559, -0.9790833592414856, 0.706743597984314, 0.027734030038118362, 0.6243203282356262, -0.6151755452156067, 0.07759764045476913, -0.44837552309036255, 0.2891293168067932, -0.49561044573783875, 0.25790899991989136, -0.3772863745689392, -0.4871160686016083, -0.22668245434761047, -0.11531305313110352, -0.3331695795059204, -0.33478105068206787, 0.449866384267807, -0.5799001455307007, 0.27910736203193665, 0.07915540039539337, -0.4522205889225006, -0.33871784806251526, 0.009102428331971169, -0.6788168549537659, 0.7752789258956909, 0.16422078013420105, -0.639217734336853, 0.3897998332977295, -0.7549598813056946, -0.674761176109314, -0.004515624605119228, -0.06959517300128937, -0.2712918221950531, 0.1180441677570343, 0.3020467162132263, 0.19696515798568726, -0.3325194716453552, 0.5940994620323181, 0.12301862984895706, -0.09738945960998535, -0.055285245180130005, -0.3774266541004181, 0.5499109625816345, 0.4007313847541809, -0.5125716924667358, 0.1857534646987915, -0.8878224492073059, -0.03213800862431526, -0.013331158086657524, -0.26203835010528564, -0.13283492624759674, 0.1366824209690094, -0.0847410261631012, 0.3440530598163605, 0.2221091091632843, -0.5601559281349182, 0.5961253643035889, -0.4703717827796936, 0.630088210105896, 0.29918161034584045, 0.18797513842582703, 0.6709631085395813, -0.19427025318145752, 0.7512161135673523, 0.08109866082668304, -0.07817230373620987, 0.04706988483667374, -0.14804330468177795, -1.028358817100525, 0.004443865269422531, 0.2782523036003113, 0.732333242893219, -1.4013855457305908, 0.5838888883590698, -0.20177021622657776, -0.1833658665418625, -0.6169438362121582, -0.15092317759990692, 0.3381606936454773, 0.5008601546287537, 0.6057096719741821, -0.24621209502220154, -0.4156595766544342, -0.8549095392227173, 0.0643959492444992, -0.005865400191396475, -0.08824475109577179, 0.22342383861541748, 0.3171999752521515, -0.028834490105509758, 0.7812832593917847, -0.40655186772346497, -0.43150636553764343, -0.32440680265426636, 0.31357911229133606, 0.12482017278671265, 0.4793705642223358, 0.13895878195762634, -0.5393796563148499, -0.44014471769332886, -0.33709970116615295, -0.4491826891899109, -0.39943090081214905, -0.2562987208366394, 0.2051808089017868, 0.5605525374412537, 0.4515789747238159, -0.8566663861274719, 0.6046692728996277, 0.7052294611930847, -0.43368977308273315, 0.05503102019429207, -0.42714840173721313, 0.015737034380435944, -0.981724202632904, 0.1756112426519394, -0.2409859299659729, -0.29401546716690063, -0.6277418732643127, -0.164638951420784, 0.10421614348888397, 0.12090262025594711, -0.11230985075235367, 0.32962852716445923, -0.5640897154808044, 0.24821700155735016, -0.5351576209068298, -0.0282006673514843, -0.1618938148021698, 0.5660346746444702, 0.2932192087173462, 0.677157461643219, 0.4976058304309845, -0.9755353331565857, 0.41483941674232483, 0.59129798412323, 0.03425351902842522, 0.4211805462837219, -0.7263034582138062, 0.17890982329845428, -0.089732825756073, 0.438135027885437, -0.6678877472877502, -0.1252223253250122, 0.32825976610183716, -0.4150986075401306, 0.34311699867248535, 0.13911102712154388, -0.5364119410514832, -0.3630281984806061, 0.3992096483707428, 0.4403258264064789, 0.5616891980171204, -0.4866043031215668, 0.6367139220237732, 0.1314554363489151, 0.19531622529029846, -0.6204723715782166, -0.7274408936500549, 0.2063942551612854, -0.23057518899440765, -0.18311092257499695, 0.6505497097969055, -0.10888070613145828, -0.20122499763965607, 0.013972085900604725, -0.10968304425477982, 0.027979491278529167, -0.008649630472064018, 0.22877539694309235, 0.002814108971506357, 0.2474687546491623, 0.10286708176136017, 0.24100245535373688, -0.14805202186107635, 0.17514415085315704, -0.5099436044692993, 0.573863685131073, 0.10798729211091995, -0.08403339236974716, -0.5289168953895569, 0.331714928150177, 0.5226160883903503, -0.3121781051158905, 0.38435229659080505, 0.3206106126308441, -0.12338896095752716, -0.5961605310440063, -0.22100044786930084, -0.22585827112197876, -0.4921596050262451, 0.03837425634264946, -0.31363269686698914, -0.7789474129676819, 0.40439799427986145, 0.14669615030288696, -0.02593274787068367, 0.5640420317649841, 0.5562531352043152, 0.2879147529602051, 1.1336369514465332, 0.6799408793449402, -0.09153681248426437, 0.29341015219688416, -0.23439143598079681, 0.2565688192844391, -0.2976127564907074, -0.17767730355262756, -0.21477746963500977, -0.48446783423423767, -0.8604965806007385, -0.12139765173196793, 0.3970452547073364, -0.09179546684026718, -0.05723930522799492, 0.5265679359436035, -0.7571506500244141, 0.11509223282337189, 0.4701351821422577, -0.0962226465344429, 0.4675765633583069, -0.40077948570251465, -0.22265343368053436, 0.1053335964679718, -1.028808832168579, -0.12279081344604492, 0.969968855381012, 0.1952957659959793, 1.0600320100784302, 0.009856168180704117, 0.6958817839622498, 0.31909483671188354, -0.11066816002130508, -0.9914283156394958, 0.37380778789520264, -0.1875297874212265, -0.5698216557502747, -0.13918441534042358, -0.4494711756706238, -0.9964196681976318, -0.1890430897474289, -0.050689298659563065, -0.45670458674430847, 0.29651543498039246, 0.2873985171318054, -0.3353423774242401, 0.22175702452659607, -0.44795647263526917, 0.43641605973243713, -0.050141267478466034, -0.09041539579629898, -0.10617037117481232, -0.7152924537658691, 0.23609559237957, 0.2616298794746399, -0.09000389277935028, 0.17969051003456116, -0.2309507429599762, 0.4226374924182892, -0.36153507232666016, 0.6668421030044556, -0.3426792025566101, -0.1911182999610901, 0.5210751891136169, 0.35592377185821533, 0.5612376928329468, -0.14610865712165833, 0.2548559308052063, 0.017424326390028, 0.039584461599588394, -0.24023857712745667, -0.5995472073554993, 0.6264516115188599, -0.5414707064628601, -0.688880443572998, -0.4980796277523041, -0.9644462466239929, -0.09206094592809677, 0.249883234500885, 0.45893594622612, 0.1703394204378128, -0.020634032785892487, 0.12377142161130905, 0.7840731143951416, -0.027244342491030693, 0.868813693523407, 0.43782415986061096, 0.08139704912900925, -0.4589800238609314, 0.5583884716033936, 0.07057850062847137, 0.4790142774581909, 0.46001219749450684, -0.15504536032676697, -0.45250052213668823, -0.7136338353157043, -0.5053740739822388, 0.05479329451918602, -0.4248853623867035, -0.44350191950798035, -0.5193051695823669, -0.19113634526729584, -0.3833024501800537, 0.07925071567296982, -0.2516018748283386, -0.5905293226242065, -0.4313221871852875, -0.056177519261837006, 0.30218207836151123, 1.152252197265625, -0.05267397314310074, 0.5145837664604187, -0.5484713315963745, 0.44099488854408264, -0.006272910628467798, 0.3711957633495331, -0.287073016166687, -0.3569357395172119, -0.07067254930734634, -0.16689547896385193, -0.29900023341178894, -0.9728687405586243, 0.7251244187355042, 0.3525398075580597, 0.32237517833709717, 0.2763337194919586, 0.3707520067691803, 0.36543065309524536, -0.5633339881896973, 0.6467054486274719, 0.10882502794265747, -1.1382445096969604, 0.33456000685691833, -0.5572211742401123, 0.7798680663108826, 0.20138543844223022, 0.25619906187057495, -0.4209115505218506, -0.5152807831764221, -0.7420985102653503, -0.7320699095726013, 0.6015772819519043, 0.22955454885959625, -0.1026083454489708, -0.36631783843040466, 0.5508895516395569, -0.0204804465174675, 0.37004515528678894, -0.6929848790168762, -0.2748385965824127, -0.5505945086479187, -0.39244046807289124, 0.015163358300924301, 0.03186803311109543, -0.054823704063892365, 0.12139653414487839, 0.5197780728340149, -0.3201756477355957, 0.2994493544101715, 0.6417362093925476, -0.1279185265302658, -0.28235530853271484, 0.3488105237483978, 0.5212661623954773, 0.19551964104175568, 0.005723351147025824, 0.05410762503743172, 0.21231763064861298, -0.4490392208099365, 0.3039136528968811, 0.12645086646080017, -0.3827325701713562, -0.054912421852350235, 0.21586619317531586, 0.8404501080513, -0.21352310478687286, -0.35371461510658264, 0.2822163701057434, -0.11952683329582214, -0.5651758313179016, -0.25950801372528076, 0.31224119663238525, -0.3748011887073517, 0.03125069662928581, 0.5099032521247864, -0.12478654086589813, 0.26539403200149536, 0.0561487153172493, 0.2103043496608734, 0.36581459641456604, -0.32057881355285645, -0.18514935672283173, 1.0024298429489136, 0.06816908717155457, -0.1075279712677002, 0.5922352075576782, -0.2788026034832001, -0.2546236515045166, 0.49811533093452454, 0.7015562653541565, 0.8737453818321228, -0.35060012340545654, -0.02574988268315792, 0.47657519578933716, 0.390059232711792, -0.07141780108213425, 0.41652339696884155, -0.23523780703544617, -0.6488391757011414, -0.6725698709487915, -0.5889267325401306, -0.269281268119812, 0.02063029445707798, -0.7947655320167542, -0.009869938716292381, -0.6173849701881409, -0.32293668389320374, -0.4170440137386322, -0.018157226964831352, -0.49927741289138794, 0.5015321373939514, -0.06896919012069702, 0.840516984462738, -0.4999624788761139, 1.1266707181930542, 0.32815054059028625, -0.14693348109722137, -0.9417001605033875, -0.05546535179018974, -0.2114318311214447, -0.42662015557289124, 0.7823175191879272, -0.26543131470680237, -0.4129469394683838, 0.474791556596756, -0.6306735277175903, -1.1285074949264526, 1.3632398843765259, 0.11534274369478226, -0.5396194458007812, -0.576373815536499, 0.16078491508960724, 0.6283522844314575, -0.33510878682136536, -0.1380745768547058, 0.807258129119873, 0.5392467379570007, 0.3158186078071594, -1.2945120334625244, 0.10646187514066696, -0.086198590695858, 0.0537366159260273, 0.5521942973136902, -0.630547046661377, 0.6654360890388489, -0.11750335991382599, -0.43379583954811096, 0.10037387907505035, 0.7179739475250244, -0.1887005716562271, -0.040847986936569214, 0.41796207427978516, 0.7417977452278137, 0.44863128662109375, -0.3201502859592438, 1.0230114459991455, -0.6188963055610657, 0.22770977020263672, 0.8952817320823669, -0.05803521350026131, 0.45058757066726685, 0.5933421850204468, 0.22247670590877533, 0.534634530544281, 0.3597586154937744, -0.12177110463380814, 0.6982943415641785, 0.2980298697948456, -0.2706908881664276, -0.06900654733181, -0.2475966215133667, 0.08283302187919617, 0.7766552567481995, 0.6586197018623352, -0.4711592197418213, -0.24318356812000275, -0.0030863776337355375, -0.0033439521212130785, 0.2366856038570404, -0.4217611253261566, 0.9833261370658875, 0.0784291997551918, -0.9110132455825806, 1.0646318197250366, 0.20724201202392578, 0.6324045062065125, -0.529236376285553, -0.09784656763076782, -0.06419272720813751, 0.2395085245370865, -0.2239232212305069, -0.24286401271820068, 0.6080659031867981, -0.17019103467464447, -0.01056663691997528, -0.5502897500991821, 0.7183865904808044, -0.7625308036804199, -0.057583004236221313, 0.2952078878879547, 0.38734307885169983, -0.3243553936481476, 0.29985007643699646, -0.46398085355758667, -0.24017778038978577, -0.03711215779185295, -0.17196689546108246, -0.16606687009334564, 0.1900298297405243, -0.11557035893201828, 0.8501836657524109, 0.24644148349761963, 0.03769252449274063, 0.2720170319080353, -0.4103563129901886, 0.709807276725769, -0.7255764603614807, -0.4469783306121826, -0.5833181142807007, 0.1928679496049881, 0.44917169213294983, -0.10212218016386032, 0.6909164190292358, 0.11420732736587524, 0.7183849215507507, -0.06990960240364075, 0.9071060419082642, -0.40668919682502747, 0.37256965041160583, -0.7200432419776917, 0.7524698376655579, -0.2761111259460449, -0.18804500997066498, 0.12931129336357117, -0.6592517495155334, -0.44176408648490906, 0.4419926404953003, -0.3968042731285095, -0.1272345781326294, 0.817609429359436, 0.5659267902374268, 0.17096589505672455, -0.2796310782432556, 0.38986966013908386, 0.19472642242908478, 0.33185267448425293, 0.9628567695617676, 0.41760092973709106, -0.3885155916213989, 0.6386345028877258, -0.09958118200302124, -0.048355765640735626, 0.2107473909854889, -0.8792792558670044, -1.0859848260879517, -0.6030742526054382, -0.23514579236507416, -0.4138752520084381, 0.04564071074128151, 0.918953537940979, 0.5516873598098755, -0.8965427279472351, -0.38516753911972046, -0.7523755431175232, -0.0346159003674984, -0.07748293876647949, -0.20807243883609772, 0.23425114154815674, -0.4173985421657562, -0.9674850702285767, 0.6238886117935181, 0.09811686724424362, 0.23861292004585266, -0.3976396918296814, -0.14575958251953125, -0.2938998341560364, 0.2278255820274353, 0.1936223953962326, 0.1818094402551651, -0.7650860548019409, -0.14853356778621674, 0.20858266949653625, -0.12604700028896332, 0.08553051948547363, 0.8639137148857117, -0.6985084414482117, 0.5339796543121338, 0.33565205335617065, 0.5457103252410889, 0.5010358691215515, 0.12995611131191254, 1.0046712160110474, -0.6456630825996399, 0.07709075510501862, 0.37535518407821655, 0.02189403586089611, 0.252007395029068, -0.36018967628479004, 0.1558205485343933, 0.09311959892511368, -0.6473381519317627, -0.15732215344905853, 0.5763671398162842, -0.8238745927810669, -0.11091481149196625, 1.0992014408111572, -0.03515902906656265, -0.2982470393180847, -0.107247494161129, -0.08554577827453613, 0.6185958385467529, -0.5754987597465515, 0.7770190834999084, 0.764091968536377, -0.3651452362537384, -0.45213356614112854, -0.24931399524211884, 1.0422593355178833, 0.3478344678878784, -0.7403903603553772, -0.07082485407590866, 0.7805579900741577, 0.11246293783187866, 0.12109692394733429, 0.2906491756439209, -0.04905444756150246, 0.22485119104385376, -0.07779533416032791, 0.2702551782131195, -0.21561230719089508, -0.5201905965805054, -0.6856365203857422, 0.21233788132667542, 0.0965617299079895, -0.2613082826137543 ]
http://arxiv.org/abs/2404.06838v1
http://arxiv.org/pdf/2404.06838v1
Simpler becomes Harder: Do LLMs Exhibit a Coherent Behavior on Simplified Corpora?
2024-04-10T09:02:33
2024-04-10T09:02:33
Miriam Anschütz, Edoardo Mosca, Georg Groh
cs.CL
cs.CL
Text simplification seeks to improve readability while retaining the original content and meaning. Our study investigates whether pre-trained classifiers also maintain such coherence by comparing their predictions on both original and simplified inputs. We conduct experiments using 11 pre-trained models, including BERT and OpenAI's GPT 3.5, across six datasets spanning three languages. Additionally, we conduct a detailed analysis of the correlation between prediction change rates and simplification types/strengths. Our findings reveal alarming inconsistencies across all languages and models. If not promptly addressed, simplified inputs can be easily exploited to craft zero-iteration model-agnostic adversarial attacks with success rates of up to 50%
[ -0.16244995594024658, -0.8076216578483582, 0.7280274033546448, -0.009494743309915066, -0.41919824481010437, -0.052178580313920975, -0.35427963733673096, -0.5447490215301514, -0.06276323646306992, 0.05541808903217316, -0.7276994585990906, -0.3223586082458496, -0.8150616884231567, 0.3026198148727417, -0.5584221482276917, 1.1487958431243896, -0.23324021697044373, 0.25103381276130676, -0.09570205211639404, 0.1514882594347, -0.06602983921766281, -0.6463102102279663, -0.5979171991348267, -0.48910000920295715, 0.7130757570266724, 0.21415002644062042, 1.1111071109771729, 0.6414152383804321, 0.7311258912086487, 0.3309239447116852, -0.2567800283432007, -0.11579445749521255, -0.5441579818725586, 0.17807677388191223, 0.20496605336666107, -0.8180495500564575, -0.3282466530799866, 0.005005875136703253, 0.3655402362346649, 0.9674782156944275, -0.03321231156587601, -0.14793601632118225, 0.30580493807792664, 0.560326874256134, -0.5879040956497192, 0.10251953452825546, -0.7717028856277466, -0.010503613390028477, -0.029370034113526344, -0.13995470106601715, -0.4134999215602875, -0.28973472118377686, 0.12538784742355347, -0.8293417692184448, 0.4363759160041809, -0.18530872464179993, 0.9924755692481995, 0.4631434977054596, -0.24063317477703094, -0.6909492015838623, -0.6657838821411133, 0.8118396997451782, -0.3909136652946472, 0.3267066180706024, 0.05430852994322777, 0.11439491808414459, -0.24014347791671753, -0.8225716352462769, -0.43113958835601807, -0.31295740604400635, -0.22521081566810608, 0.24653182923793793, -0.40646281838417053, 0.2675645053386688, 0.3470739424228668, 0.31013765931129456, -0.4746972918510437, 0.035169921815395355, -0.555400550365448, -0.13003665208816528, 0.5341580510139465, -0.14463120698928833, 0.42712387442588806, 0.06428349018096924, -0.46357262134552, -0.15809178352355957, -0.801193118095398, 0.11634965240955353, 0.47155314683914185, 0.20986482501029968, -0.1339958757162094, 0.5629611015319824, -0.1497628539800644, 0.3552539348602295, 0.17605911195278168, -0.3387536108493805, 0.03980754688382149, -0.42791521549224854, -0.5604621171951294, 0.133018359541893, 0.7925183176994324, -0.13492651283740997, 0.34873607754707336, -0.26876020431518555, -0.22801311314105988, 0.3312462568283081, 0.2804662883281708, -0.6910844445228577, -0.4615461826324463, 0.13017897307872772, -0.2168467938899994, -0.43860453367233276, 0.10132186114788055, -0.07119645923376083, -0.20796190202236176, -0.4967201054096222, 0.48439449071884155, -0.5658559799194336, 0.24118764698505402, 0.33525556325912476, -0.10115975886583328, 0.23391938209533691, 0.9272129535675049, -0.7142220735549927, 0.2817452847957611, 0.9269866943359375, 0.6102333664894104, -0.33811837434768677, -0.35423052310943604, -0.2272202968597412, 0.07028944790363312, -0.4632859230041504, 0.5863209962844849, -0.2598910629749298, -0.32909855246543884, -0.21904540061950684, -0.34869861602783203, -0.08203282207250595, -0.531056821346283, 0.7038393020629883, -0.5233418345451355, 0.22765038907527924, -0.16532646119594574, -0.5560925006866455, -0.04010384902358055, 0.3270912766456604, -0.6921355128288269, 0.6452885866165161, -0.3873915672302246, -0.9362043738365173, 0.5974608063697815, -0.2299967259168625, -0.5148468613624573, -0.17896588146686554, -0.23945815861225128, -0.6190180778503418, 0.334792822599411, 0.06653665006160736, 0.3278627395629883, 0.02243599109351635, 0.34065207839012146, -0.5070836544036865, -0.6848027110099792, 0.19427122175693512, -0.871627688407898, 0.7133722305297852, 0.3744783103466034, -0.27185651659965515, 0.07518608123064041, -0.6374176740646362, -0.03697866201400757, -0.0067224809899926186, -0.5036475658416748, -0.17358358204364777, -0.028332455083727837, -0.3735819458961487, 0.06450241059064865, 0.44880765676498413, -0.3989333510398865, 0.39787980914115906, -0.18074531853199005, 0.08735568076372147, 0.6880679130554199, -0.3300061523914337, 0.4922236502170563, -0.31588536500930786, 0.41811835765838623, 0.08973477780818939, 0.22256483137607574, -0.21852189302444458, -0.3407551944255829, -1.0083669424057007, -0.5684348344802856, 0.39176908135414124, 0.6340230107307434, -0.6209942102432251, 0.0987701416015625, -0.47954773902893066, -0.4025513231754303, -0.4838184714317322, 0.4104025661945343, 0.2887185513973236, 0.1341807097196579, 0.40220096707344055, 0.006096202414482832, -0.5986920595169067, -0.7795277833938599, -0.5142300128936768, -0.3314375877380371, -0.33160722255706787, -0.20162184536457062, 0.34894663095474243, -0.35267600417137146, 0.5667944550514221, -0.41631266474723816, 0.15064553916454315, -0.3545970320701599, 0.3509765863418579, 0.13224443793296814, 0.29281410574913025, 0.20057813823223114, -0.8068970441818237, -0.40737593173980713, -0.26467350125312805, -1.0055837631225586, -0.0475778728723526, -0.16394473612308502, 0.1616629660129547, 0.09010230004787445, 0.8763051629066467, -0.5091305375099182, 0.5475701689720154, 0.514065682888031, 0.0781867727637291, 0.2819608449935913, -0.2732485830783844, 0.0054974849335849285, -0.7797533869743347, -0.3499332666397095, -0.29158058762550354, -0.24678181111812592, -0.9155986309051514, -0.018211983144283295, 0.10838201642036438, -0.03357852250337601, -0.5619041919708252, 0.1397554725408554, -0.44497165083885193, 0.07430946081876755, -0.14119569957256317, -0.08089303970336914, -0.02117743156850338, 0.36827757954597473, -0.029529402032494545, 0.8380953073501587, 0.4391501247882843, -0.7150086164474487, -0.12157183140516281, -0.2043221890926361, -0.3100316822528839, 0.22622452676296234, -0.9426103830337524, 0.00039151092641986907, -0.2636837065219879, 0.16023622453212738, -1.022520661354065, -0.36557430028915405, 0.06662849336862564, -0.36980316042900085, 0.43934714794158936, 0.06847403198480606, -0.5337254405021667, 0.012955250218510628, -0.5173864364624023, 0.25505203008651733, 0.5123568177223206, -0.5609506368637085, 0.5856102705001831, -0.2883514165878296, -0.2351008653640747, -0.6149668097496033, -0.9574631452560425, -0.15528921782970428, 0.043739818036556244, -0.6690724492073059, 0.1907784640789032, -0.41061675548553467, -0.41612234711647034, -0.25891560316085815, -0.21436123549938202, -0.18649379909038544, 0.6315386295318604, 0.3263987600803375, 0.34053725004196167, -0.10887092351913452, -0.01992044225335121, -0.019437966868281364, 0.26254701614379883, -0.06342783570289612, 0.10072457045316696, 0.5119091272354126, -0.27406957745552063, -0.6648973822593689, -0.5885204076766968, 0.10527492314577103, 0.3596062660217285, 0.3889034688472748, 0.5324996113777161, 0.3559247851371765, 0.014767446555197239, 0.034173861145973206, -0.2307668775320053, -0.01785384677350521, -0.5378738045692444, 0.21482746303081512, -0.6672908663749695, -0.9247287511825562, 0.3879934251308441, -0.055802565068006516, -0.04002268239855766, 0.5046865940093994, 0.3155951201915741, -0.5031625032424927, 0.9336270689964294, 0.6158336997032166, 0.2072017788887024, 0.5030422210693359, -0.054820649325847626, 0.14591914415359497, -0.27462971210479736, -0.17136019468307495, -0.271593302488327, -0.07314378768205643, -0.9003358483314514, -0.20413729548454285, 0.18250718712806702, 0.6205059885978699, -0.11181231588125229, 0.17434242367744446, -0.14209908246994019, 0.4730287790298462, 0.40680137276649475, 0.14921917021274567, 0.34192153811454773, 0.1385313868522644, 0.012595913372933865, 0.04780929163098335, -0.6454097628593445, -0.5330533385276794, 1.1750539541244507, 0.3992402255535126, 1.0872715711593628, 0.31071901321411133, 1.2094613313674927, 0.15870791673660278, 0.6387377977371216, -0.8917372226715088, 0.4791225790977478, -0.33529701828956604, -0.2850914001464844, -0.18776410818099976, -0.4470452666282654, -1.1165815591812134, 0.31563594937324524, -0.20972993969917297, -0.08127311617136002, 0.11788461357355118, 0.19959436357021332, -0.17541201412677765, 0.2771804630756378, -0.7591468691825867, 0.5126326680183411, -0.2700330317020416, -0.14277689158916473, 0.1697419434785843, -0.4415992200374603, 0.5204412937164307, -0.27995502948760986, 0.2638527452945709, 0.08927754312753677, -0.10627193003892899, 0.32617729902267456, -0.5869114398956299, 0.8320260643959045, 0.23517011106014252, -0.16867537796497345, 0.1283956617116928, 0.08454212546348572, 0.4303554892539978, -0.1284385472536087, 0.01967558078467846, 0.31134849786758423, -0.31576552987098694, -0.5500012040138245, -0.6173836588859558, 0.37541404366493225, -1.0689176321029663, -0.8901199698448181, -0.43400731682777405, -0.35916832089424133, 0.1308417171239853, 0.2295413613319397, 0.5237364172935486, 0.11211881041526794, -0.4545556902885437, 0.2656216025352478, 0.8496665954589844, 0.14769665896892548, 0.4504527449607849, 0.3077855110168457, -0.009294729679822922, -0.45964929461479187, 0.49769777059555054, 0.2262883335351944, 0.6369748115539551, 0.2888144850730896, 0.0363491028547287, -0.006262298207730055, -0.6098244190216064, -0.26379233598709106, 0.019806118682026863, -0.8258695602416992, -0.08815980702638626, -0.5362566113471985, -0.11047311127185822, -0.5460190176963806, -0.3949262201786041, -0.03897015005350113, -0.5287071466445923, -0.3405035138130188, -0.07666634023189545, -0.12062501907348633, 1.0940426588058472, 0.024933772161602974, 0.5735909342765808, -0.3550427258014679, 0.4087761342525482, 0.6201056838035583, 0.04611966013908386, -0.45335155725479126, -0.564874529838562, 0.13427872955799103, 0.10700443387031555, -0.2658658027648926, -0.7708248496055603, 0.2143825888633728, 0.3344642221927643, 0.44877299666404724, 0.3315717577934265, -0.17918166518211365, 0.6545515060424805, -0.47571679949760437, 0.6766692399978638, 0.36694836616516113, -1.0318278074264526, 0.40330225229263306, -0.2165922373533249, 0.4878316819667816, 0.7524541020393372, 0.47681617736816406, -0.1361149698495865, -0.3424687385559082, -0.7279617190361023, -0.5474644899368286, 0.6085811853408813, 0.3096533417701721, 0.00351412664167583, 0.18066266179084778, 0.34620264172554016, 0.16715097427368164, 0.39510244131088257, -0.9139704704284668, -0.49277064204216003, -0.2543964982032776, -0.4119834899902344, -0.18720363080501556, -0.4840400516986847, -0.037126943469047546, -0.07026553899049759, 0.3872791826725006, 0.10710195451974869, 0.07073377072811127, 0.19297705590724945, -0.32882896065711975, 0.20810362696647644, 0.6089789867401123, 0.8090999126434326, 0.3783576786518097, -0.13419482111930847, 0.3565812408924103, 0.4150967597961426, -0.624012291431427, 0.3269076943397522, 0.04039283096790314, -0.6096843481063843, 0.24631495773792267, 0.6719866394996643, 0.9132030010223389, 0.24503153562545776, -0.30513450503349304, 0.7170642018318176, -0.34808534383773804, -0.48678338527679443, -0.4453139305114746, 0.21691466867923737, -0.10145514458417892, -0.1264718472957611, 0.2595188319683075, 0.5306882858276367, 0.18661968410015106, -0.8701526522636414, 0.15753184258937836, 0.24424344301223755, -0.3859160244464874, -0.34016916155815125, 0.4535942077636719, -0.1262068748474121, -0.03446291759610176, 0.2969318628311157, -0.20935074985027313, -0.6664330363273621, 0.4657285213470459, 0.2780546247959137, 0.9201351404190063, -0.20946791768074036, -0.05083779618144035, -0.048329416662454605, 0.6095446944236755, -0.4123705327510834, 0.2757050395011902, -0.2104823887348175, -0.6299605965614319, -0.29079172015190125, -0.5552354454994202, -0.6511037945747375, 0.09491761028766632, -0.6298383474349976, 0.5817714333534241, -0.6684626936912537, -0.009187046438455582, 0.0634576827287674, -0.06062324345111847, -0.8662919998168945, 0.4574345350265503, 0.4153136610984802, 0.7883145213127136, -0.8405457735061646, 0.9387422800064087, 0.6174145936965942, -0.3743259608745575, -0.8831012845039368, 0.30019038915634155, -0.03788559138774872, -0.5866737365722656, 1.0248703956604004, 0.3165571093559265, -0.3968101143836975, -0.5110562443733215, -0.8387728333473206, -0.9621779918670654, 1.0529345273971558, 0.704967200756073, -0.486503541469574, 0.0017009115545079112, 0.3647482693195343, 0.7379034757614136, -0.2507409453392029, 0.2987655997276306, 0.33035531640052795, 0.3945212960243225, 0.15266484022140503, -0.862381637096405, -0.23200784623622894, -0.15051092207431793, -0.19399993121623993, -0.03935392200946808, -0.4405933916568756, 1.387834072113037, -0.25159952044487, -0.5847073793411255, -0.1304279863834381, 0.922414243221283, 0.16901661455631256, 0.47233977913856506, 0.481654554605484, 0.6120570302009583, 1.0032891035079956, -0.31662997603416443, 1.1940046548843384, -0.2035270780324936, 0.13931643962860107, 1.2891987562179565, -0.1528598666191101, 0.9559938311576843, 0.3469044268131256, -0.1680506318807602, 0.7386316061019897, 0.5564053058624268, 0.08107077330350876, 0.5231258869171143, 0.2530231475830078, -0.2946859896183014, -0.2955601215362549, 0.17156246304512024, -0.22003422677516937, 0.3371650278568268, 0.18133562803268433, -0.1947541981935501, -0.05706927925348282, -0.12632626295089722, 0.44292664527893066, 0.040932875126600266, -0.5032762885093689, 0.9281176924705505, 0.09608889371156693, -0.713373601436615, 0.7145029902458191, -0.11652982234954834, 1.150417447090149, -0.7141465544700623, 0.2960493862628937, -0.1748279184103012, 0.21504253149032593, -0.2794536054134369, -0.5877949595451355, 0.10949640721082687, -0.08975916355848312, -0.2769146263599396, -0.2604043185710907, 0.7835232615470886, -0.574101448059082, -0.4901787042617798, 0.3364628255367279, 0.3256916105747223, 0.1915103793144226, 0.04618850722908974, -0.6951837539672852, 0.273591011762619, 0.16162067651748657, -0.11305815726518631, 0.18977460265159607, 0.44216668605804443, 0.04381590336561203, 0.7407401204109192, 0.6495648622512817, 0.09182906895875931, 0.360628604888916, -0.006784942001104355, 0.8757776618003845, -0.43184709548950195, -0.16242511570453644, -0.9877825379371643, 0.1294437050819397, -0.1142551377415657, -0.07246197015047073, 0.7828322649002075, 0.5727366209030151, 1.1204800605773926, -0.14035660028457642, 1.002549409866333, 0.39444079995155334, 0.28958991169929504, -0.5473186373710632, 0.45155808329582214, -0.5801882147789001, 0.45145466923713684, -0.06350685656070709, -0.5787798762321472, -0.3324850797653198, 0.2756982445716858, -0.43270841240882874, 0.06619422882795334, 0.6826038956642151, 0.4835978150367737, -0.13493703305721283, -0.10289329290390015, 0.5131624937057495, 0.1957276463508606, 0.2308500111103058, 0.2252221703529358, 0.7771991491317749, -0.5991112589836121, 0.7737057209014893, -0.26505523920059204, 0.1371428668498993, -0.24633407592773438, -0.690156102180481, -0.9703776836395264, 0.03470178321003914, -0.37162894010543823, -0.21701402962207794, 0.2557905614376068, 0.667312741279602, 0.3210315704345703, -0.9178675413131714, -0.0586332231760025, -0.29060256481170654, 0.018762240186333656, 0.121429443359375, -0.11932727694511414, 0.26224350929260254, -0.7235936522483826, -0.6322115659713745, 0.412437379360199, 0.10839860141277313, 0.51564621925354, -0.14839069545269012, -0.02020113170146942, 0.16811925172805786, 0.4706183671951294, 0.44660478830337524, 0.03253096342086792, -0.795242428779602, -0.1318308264017105, 0.10639501363039017, -0.6037402153015137, 0.1186298057436943, 0.6865779161453247, -0.5207709074020386, 0.3965977430343628, 0.6264752745628357, 0.3794310688972473, 0.3067193031311035, 0.10827043652534485, 0.5441288948059082, -0.7013558745384216, 0.19072997570037842, -0.18596643209457397, 0.5222724676132202, 0.42615434527397156, -0.2924691438674927, 0.42730796337127686, 0.12593038380146027, -0.30247971415519714, -0.718746542930603, 0.41045045852661133, -0.9240883588790894, -0.45059528946876526, 0.9749505519866943, -0.45417505502700806, -0.419436514377594, -0.08417738229036331, -0.05074268579483032, 0.2859640121459961, -0.24501539766788483, 0.5466986894607544, 0.6396150588989258, -0.09884172677993774, 0.09134450554847717, -0.31735414266586304, 0.9139153361320496, 0.657380223274231, -0.737277090549469, -0.2264489233493805, 0.27000880241394043, 0.3934669494628906, 0.330508291721344, 0.41913944482803345, 0.1029731035232544, 0.2652307152748108, 0.01665143296122551, 0.0806218683719635, 0.1050456240773201, -0.3386911451816559, -0.7321175336837769, 0.3637174069881439, 0.1644180864095688, 0.1496061235666275 ]
http://arxiv.org/abs/2404.06833v1
http://arxiv.org/pdf/2404.06833v1
Does Mapo Tofu Contain Coffee? Probing LLMs for Food-related Cultural Knowledge
2024-04-10T08:49:27
2024-04-10T08:49:27
Li Zhou, Taelin Karidi, Nicolas Garneau, Yong Cao, Wanlong Liu, Wenyu Chen, Daniel Hershcovich
cs.CL
cs.CL
Recent studies have highlighted the presence of cultural biases in Large Language Models (LLMs), yet often lack a robust methodology to dissect these phenomena comprehensively. Our work aims to bridge this gap by delving into the Food domain, a universally relevant yet culturally diverse aspect of human life. We introduce FmLAMA, a multilingual dataset centered on food-related cultural facts and variations in food practices. We analyze LLMs across various architectures and configurations, evaluating their performance in both monolingual and multilingual settings. By leveraging templates in six different languages, we investigate how LLMs interact with language-specific and cultural knowledge. Our findings reveal that (1) LLMs demonstrate a pronounced bias towards food knowledge prevalent in the United States; (2) Incorporating relevant cultural context significantly improves LLMs' ability to access cultural knowledge; (3) The efficacy of LLMs in capturing cultural nuances is highly dependent on the interplay between the probing language, the specific model architecture, and the cultural context in question. This research underscores the complexity of integrating cultural understanding into LLMs and emphasizes the importance of culturally diverse datasets to mitigate biases and enhance model performance across different cultural domains.
[ -0.27472448348999023, -0.7466296553611755, 0.5466679334640503, 0.14543983340263367, -0.07441876083612442, 0.06066815182566643, -0.3154584467411041, -0.6626609563827515, 0.236029252409935, 0.5047719478607178, -0.5844114422798157, -0.629941999912262, -0.8563302755355835, 0.2959139347076416, -0.17187412083148956, 0.8034460544586182, -0.16853347420692444, 0.41051822900772095, -0.420206218957901, -0.4575461149215698, -0.28093597292900085, -0.4968722462654114, -0.38396450877189636, -0.789587140083313, 0.74277263879776, 0.4873603284358978, 0.6794643998146057, 0.5271748900413513, 0.3984072208404541, 0.17133229970932007, -0.07297758758068085, 0.4052356779575348, -0.6434459686279297, -0.019073085859417915, -0.2581256031990051, -0.9572181105613708, -0.03828861936926842, -0.020092487335205078, 0.1955820918083191, 0.9647473096847534, 0.08935944736003876, 0.6261422038078308, -0.219880610704422, 0.6295661926269531, -0.43245038390159607, 0.4678528606891632, -0.5814882516860962, 0.22628584504127502, -0.2640000879764557, -0.17416056990623474, -0.4059421420097351, -0.3518902659416199, 0.0452711395919323, -0.6859619617462158, -0.2393474578857422, 0.07252778112888336, 0.8168280124664307, 0.3798181712627411, -1.096318006515503, -0.4279218018054962, -0.837108314037323, 0.7357723712921143, -0.45120811462402344, 0.40192854404449463, 0.6189351081848145, 0.27941903471946716, -0.3876039683818817, -0.4478706121444702, -0.4792904257774353, 0.181981161236763, -0.23122939467430115, -0.011067025363445282, 0.093608558177948, -0.47284388542175293, 0.18262335658073425, 0.3237254023551941, -0.43757134675979614, 0.051577478647232056, -0.18124569952487946, 0.10929302871227264, 0.4967859983444214, 0.22605590522289276, 0.570736289024353, -0.15352492034435272, -0.5631649494171143, -0.08490610867738724, -0.8890546560287476, 0.4214169979095459, 0.1308881938457489, 0.14433275163173676, -0.14202073216438293, 0.48840558528900146, -0.10479802638292313, 0.6122393608093262, -0.5874030590057373, -0.5073418021202087, 0.049964144825935364, -0.1491428017616272, -0.0493091344833374, -0.09993963688611984, 0.657353937625885, 0.6489245891571045, 0.49238842725753784, -0.16688373684883118, -0.06999842077493668, 0.016851553693413734, -0.10346989333629608, -0.6543282866477966, -0.013247796334326267, 0.2149462252855301, -0.34409597516059875, -0.015795135870575905, 0.10355882346630096, -0.6263582110404968, -0.4497668445110321, -0.17085383832454681, -0.07561591267585754, -0.14003106951713562, -0.4476901888847351, 0.08642894774675369, -0.397914320230484, 0.5574908256530762, -0.004325339570641518, -0.9334479570388794, 0.1608632504940033, 0.7838073372840881, 0.6180104613304138, -0.17569591104984283, -0.32191798090934753, 0.0595427080988884, 0.4599572718143463, -0.5535197854042053, 0.8866536021232605, -0.8029978275299072, -0.33997857570648193, 0.11813411861658096, 0.09121641516685486, -0.10355246812105179, -0.7759568095207214, 0.5188137292861938, -0.6121034026145935, 0.04634612053632736, -0.9785252809524536, -0.3634859025478363, -0.7577603459358215, 0.4121464490890503, -0.5808137059211731, 0.893746018409729, 0.17187726497650146, -0.4914730489253998, 0.605376124382019, -0.5902838110923767, -0.8281844854354858, -0.13656176626682281, -0.5713568925857544, 0.026066135615110397, 0.07817728817462921, 0.304461270570755, 0.36946022510528564, -0.6960328221321106, 0.4089865982532501, -0.4531763195991516, -0.42759793996810913, 0.6321298480033875, -0.3927149176597595, 0.6955309510231018, 0.5174489617347717, 0.021060103550553322, 0.10208151489496231, -0.6202067732810974, -0.34989336133003235, 0.6064292788505554, -0.37518244981765747, -0.5417325496673584, 0.12259218841791153, 0.042063549160957336, 0.08516149967908859, -0.0050966935232281685, -0.1939382702112198, 0.1605989784002304, -0.03429579734802246, 0.656255841255188, 0.5508024096488953, -0.29341286420822144, 0.3511686325073242, -0.5672640800476074, 0.44931817054748535, 0.3018631637096405, 0.11509320884943008, -0.46402284502983093, -0.6312289834022522, -0.7147219181060791, -0.0728420838713646, 0.05432262644171715, 0.47041842341423035, -0.6982116103172302, 0.02136988937854767, -0.30495521426200867, -0.30795425176620483, -0.45494744181632996, 0.13374195992946625, -0.1321515589952469, 0.69660884141922, -0.04706452414393425, -0.1672893911600113, -0.2809811532497406, -0.9095014929771423, -0.14696641266345978, 0.18311147391796112, -0.20997072756290436, 0.2688952088356018, 0.31403911113739014, -0.12699837982654572, 0.7260783910751343, -0.782155454158783, -0.45066899061203003, -0.21132928133010864, -0.16915196180343628, 0.41156044602394104, 0.1669408529996872, 0.9728817939758301, -0.6326349973678589, -0.33180320262908936, 0.23738078773021698, -1.1769767999649048, 0.21586954593658447, 0.24233968555927277, -0.23601487278938293, -0.13527430593967438, 0.14334383606910706, -0.3904232382774353, 0.20207220315933228, 0.7227485179901123, -0.4842730760574341, 0.04133379086852074, 0.17640751600265503, 0.3018845319747925, -1.3124340772628784, -0.0937088131904602, -0.19683127105236053, 0.06920851767063141, -0.6082591414451599, 0.08441183716058731, 0.09150321036577225, -0.24047443270683289, -0.43392089009284973, 0.871143102645874, -0.45244836807250977, -0.198068767786026, -0.35913872718811035, -0.16798731684684753, 0.30076363682746887, 0.5356425046920776, 0.24144195020198822, 0.8731861710548401, 0.46498697996139526, -0.5522226095199585, 0.008761623874306679, 0.10301137715578079, -0.6668374538421631, 0.605812132358551, -0.20720615983009338, 0.07464616745710373, -0.18292754888534546, 0.42543408274650574, -1.1165143251419067, -0.17533531785011292, 0.409475177526474, -0.11728276312351227, 0.08305967599153519, -0.13533003628253937, -0.7310832738876343, -0.18413430452346802, 0.045953087508678436, 0.6470495462417603, 0.1665654331445694, -0.5965054631233215, 0.8179948925971985, 0.7166528701782227, 0.16152063012123108, -0.41672390699386597, -0.8856266736984253, 0.008956942707300186, -0.45709842443466187, -0.9851390719413757, -0.2292121946811676, -0.06846127659082413, -0.38744765520095825, -0.4959385395050049, -0.2791001498699188, -0.12456471472978592, 0.35066062211990356, 0.22357381880283356, 0.005693279672414064, -0.5176876187324524, 0.11280226707458496, -0.1652624011039734, 0.2798183560371399, 0.37596002221107483, -0.3152608573436737, 0.6453714966773987, -0.10743922740221024, -0.058744076639413834, -0.2275354564189911, 0.4700685739517212, 0.7523495554924011, -0.2093237340450287, 0.5906790494918823, 0.8407146334648132, -0.43232759833335876, -0.05391090735793114, -0.3604785203933716, -0.35326993465423584, -0.44976747035980225, -0.005893458146601915, -0.7234867215156555, -0.5770935416221619, 0.9713420867919922, -0.19340282678604126, -0.007859763689339161, 0.1732645481824875, 0.3094598948955536, -0.3392828106880188, 0.22627240419387817, 0.4426216185092926, -0.1682797372341156, 0.3054395318031311, -0.3424842655658722, 0.06419923901557922, -0.7289266586303711, -0.5202565789222717, -0.5701585412025452, -0.5767863392829895, -0.4818527102470398, -0.8693642020225525, 0.3013897240161896, -0.5322213172912598, 0.01263044960796833, -0.2371492236852646, 0.1535506248474121, 0.7468637228012085, 0.19339287281036377, 0.13377736508846283, 0.6308704614639282, 0.0870925784111023, -0.21677172183990479, 0.02037174627184868, -0.9485263824462891, -0.4893175959587097, 1.0940861701965332, 0.4477913975715637, 0.9707563519477844, 0.1782245635986328, 0.21396850049495697, 0.08872562646865845, 0.5798264741897583, -0.8737717270851135, 0.23875245451927185, -0.326911598443985, -0.6733815670013428, -0.02894669957458973, -0.3745678663253784, -0.8465428352355957, 0.45635509490966797, 0.1273261457681656, -0.4503209590911865, 0.009062100201845169, -0.21205252408981323, -0.02540486305952072, 0.34055060148239136, -0.9101982116699219, 0.6709092259407043, -0.5794384479522705, -0.28478050231933594, 0.30346623063087463, -0.37573036551475525, 0.4533495604991913, 0.16058987379074097, 0.6838703155517578, -0.6015439033508301, -0.06756817549467087, 0.7931734919548035, 0.10131634771823883, 0.910469651222229, 0.30911463499069214, -0.6714662909507751, -0.002419719472527504, 0.2970653772354126, 0.27103936672210693, 0.3182604908943176, -0.2643490433692932, 0.7476791739463806, -0.14185383915901184, -0.579991340637207, -0.6936285495758057, 0.835778534412384, -0.7309694886207581, -0.7440117001533508, -0.42789188027381897, -0.946159839630127, -0.4841344356536865, 0.21828322112560272, -0.02556465193629265, -0.14808769524097443, -0.11370111256837845, 0.08536992222070694, 0.6317938566207886, 0.07371493428945541, 0.20179066061973572, 0.6663438081741333, -0.4825325310230255, -0.08510775864124298, 0.6622344255447388, 0.13042223453521729, 0.0018250029534101486, 0.6021956205368042, 0.3859695494174957, -0.19061052799224854, -0.183854877948761, -0.397148072719574, 0.3134181797504425, -0.9531044363975525, -0.08974196016788483, -0.516837477684021, -0.01034373790025711, -0.25158414244651794, -0.19679388403892517, -0.36928996443748474, -0.22169624269008636, -0.3971661627292633, -0.4298339784145355, 0.3118111491203308, 0.6448315978050232, 0.3610617518424988, 0.09378732740879059, -0.5056871771812439, 0.20818188786506653, -0.01372174546122551, 0.29920101165771484, 0.12626688182353973, -0.37069573998451233, -0.05722464248538017, 0.10349161922931671, -0.09849260002374649, -0.8744503259658813, 0.14202776551246643, 0.1452670842409134, 0.4572204649448395, 0.8726302981376648, -0.038350727409124374, 0.6578022241592407, -0.24091386795043945, 0.7822534441947937, 0.08352463692426682, -0.5038170218467712, 0.4434354305267334, -0.35370081663131714, 0.7027089595794678, 0.33316197991371155, 0.8724000453948975, -0.7518001794815063, -0.5384521484375, 0.010085240937769413, -0.7460381388664246, 0.5102843642234802, -0.1989724487066269, 0.4180409014225006, -0.16978146135807037, 0.00009583385690348223, 0.5140453577041626, 0.21510201692581177, -0.8107368350028992, -0.34192097187042236, -0.14772608876228333, 0.06639749556779861, -0.004687512293457985, -0.20012176036834717, -0.7781532406806946, -0.2359231412410736, 0.3148387670516968, -0.18818101286888123, -0.12367556244134903, -0.06111065670847893, -0.01361539214849472, -0.290579617023468, 0.14448603987693787, 0.6981906890869141, 1.0268388986587524, -0.16207444667816162, 0.23788094520568848, 0.19973568618297577, -0.2779066264629364, 0.07811986654996872, -0.4094361662864685, -0.42517614364624023, -0.13603119552135468, 0.2863749861717224, 0.673270046710968, 0.33078765869140625, -0.648265540599823, -0.05907665193080902, -0.3908812701702118, 0.005756183993071318, -0.28166258335113525, 0.07067795097827911, 0.43524810671806335, 0.20040808618068695, 0.4123266041278839, -0.24688459932804108, -0.024597596377134323, -0.8826158046722412, 0.10409942269325256, 0.285518616437912, -0.1403111219406128, -0.26666855812072754, 0.4528411328792572, 0.4380950927734375, 0.012317130342125893, 0.7928226590156555, 0.3306428790092468, -0.19890673458576202, 0.6223229765892029, 0.6989090442657471, 0.3820168375968933, -0.17127637565135956, 0.2420656532049179, 0.18333721160888672, 0.4044864773750305, 0.3810204565525055, 0.4427952766418457, -0.056346211582422256, -0.9910746812820435, 0.09161868691444397, -0.6930630207061768, -0.15704913437366486, 0.2735944092273712, -0.4618609547615051, 0.06583677977323532, -0.4553576111793518, -0.26530295610427856, -0.09977293759584427, -0.21739508211612701, -0.9223323464393616, 0.13042600452899933, 0.20809818804264069, 0.9024922251701355, -0.9842281937599182, 0.8735459446907043, 0.7412214279174805, -0.36410143971443176, -0.6223095059394836, 0.27248504757881165, 0.12260349094867706, -1.0266239643096924, 0.6566249132156372, 0.1234782338142395, -0.09271295368671417, -0.45703810453414917, -0.12718439102172852, -0.9719688892364502, 1.168563723564148, 0.5440776944160461, -0.10459818691015244, 0.07410352677106857, 0.5680825114250183, 0.494315505027771, -0.6176044344902039, 0.30650368332862854, 0.5336700081825256, 0.740421712398529, 0.3178379237651825, -0.4900108873844147, 0.08781207352876663, 0.09262286126613617, 0.012258892878890038, -0.10042596608400345, -1.2087371349334717, 0.5018903017044067, -0.3853566348552704, -0.30636653304100037, -0.35481512546539307, 0.9367856383323669, 0.02042482979595661, 0.6282588839530945, 0.19197224080562592, 0.350816011428833, 0.8731163740158081, -0.3775387108325958, 1.046288251876831, -0.2850519120693207, 0.05632632598280907, 1.1695493459701538, -0.598328173160553, 0.6575548648834229, 0.8568599820137024, -0.18833275139331818, 0.24775469303131104, 1.1594774723052979, -0.034643836319446564, 0.3765783905982971, 0.37686505913734436, 0.01133196521550417, -0.0022542565129697323, -0.6867906451225281, -0.4839858114719391, 0.9294738173484802, 0.42491614818573, -0.5215449333190918, -0.3623355031013489, -0.040224019438028336, 0.4720795154571533, 0.10895337164402008, 0.04577772319316864, 0.7375593781471252, 0.3404419720172882, -0.7357081770896912, 0.6065161228179932, -0.09890124946832657, 0.387633353471756, -0.8389469385147095, 0.06487353146076202, -0.7919707298278809, -0.25169065594673157, -0.19603361189365387, -0.7288879156112671, 0.3246651589870453, -0.3104263246059418, -0.392922043800354, -0.18821266293525696, 0.31936195492744446, -0.5173582434654236, -0.5471586585044861, 0.6398419737815857, 0.5019939541816711, -0.051927827298641205, 0.14479777216911316, -0.309515118598938, 0.4126681089401245, -0.024156298488378525, 0.04201260209083557, 0.457562655210495, 0.4459713399410248, 0.11681021749973297, 0.7391688823699951, 0.6743208765983582, -0.07271423935890198, 0.03149402141571045, 0.0947825163602829, 0.6619864702224731, -0.5211575627326965, -0.3403773307800293, -0.6315219402313232, 0.15945173799991608, 0.31119978427886963, -0.2483144998550415, 0.6233710050582886, 0.5093815922737122, 1.3411606550216675, -0.42783409357070923, 0.5961819291114807, 0.26696279644966125, -0.19113896787166595, -0.8284028768539429, 0.9344669580459595, -0.8488551378250122, 0.34618961811065674, 0.31566280126571655, -0.7025781273841858, 0.07374175637960434, 0.40545180439949036, -0.383582204580307, -0.0819968730211258, 0.8822954893112183, 0.6397662162780762, -0.15293076634407043, 0.27281486988067627, 0.6123347282409668, 0.19410881400108337, 0.3593303859233856, 0.5433729290962219, 0.8864046931266785, -0.4054960310459137, 0.3272932767868042, -0.18463034927845, -0.15546588599681854, 0.034452106803655624, -0.6922394633293152, -0.7531195282936096, -0.6492903828620911, -0.10665849596261978, 0.13650985062122345, -0.036474596709012985, 0.7797916531562805, 0.8448114991188049, -0.6705834865570068, -0.8708414435386658, 0.8916330933570862, 0.58530193567276, -0.3993709087371826, -0.2438763827085495, 0.05073067918419838, -0.31341353058815, -0.8541328310966492, 0.6649830937385559, 0.27149319648742676, -0.21274012327194214, -0.13281330466270447, 0.09450642019510269, -0.47154244780540466, 0.3319181501865387, 0.905215322971344, 0.10015822947025299, -0.7420873641967773, -0.023680005222558975, 0.016818756237626076, 0.02355562336742878, 0.2932305932044983, 1.0486873388290405, -0.12006043642759323, 0.4631350636482239, 0.3042560815811157, 0.7118078470230103, 0.19190733134746552, -0.3515094518661499, 0.7737039923667908, -0.7696803212165833, 0.35769596695899963, -0.0460917167365551, 0.5083236694335938, 0.36946165561676025, -0.4838140606880188, 0.6277576684951782, 0.2629270851612091, -0.2620488405227661, -0.4117095172405243, 0.3650810122489929, -0.9311717748641968, -0.35006722807884216, 1.42841374874115, -0.2650064527988434, -0.6012675762176514, 0.14210829138755798, 0.15184693038463593, 0.18354572355747223, -0.3579953908920288, 1.1894346475601196, 1.0746082067489624, 0.05407106503844261, 0.050334636121988297, -0.5953260064125061, 0.43672627210617065, 0.24357128143310547, -0.9741400480270386, -0.08784572780132294, 0.3190332353115082, 0.8282264471054077, 0.17952965199947357, 0.5139402151107788, -0.0918886810541153, 0.14243733882904053, -0.3754728436470032, -0.3099907338619232, -0.06738875061273575, -0.4290867745876312, 0.0968499407172203, 0.3262008726596832, 0.07898541539907455, -0.16016459465026855 ]
http://arxiv.org/abs/2404.06812v1
http://arxiv.org/pdf/2404.06812v1
Emotion-cause pair extraction method based on multi-granularity information and multi-module interaction
2024-04-10T08:00:26
2024-04-10T08:00:26
Mingrui Fu, Weijiang Li
cs.CL
cs.CL
The purpose of emotion-cause pair extraction is to extract the pair of emotion clauses and cause clauses. On the one hand, the existing methods do not take fully into account the relationship between the emotion extraction of two auxiliary tasks. On the other hand, the existing two-stage model has the problem of error propagation. In addition, existing models do not adequately address the emotion and cause-induced locational imbalance of samples. To solve these problems, an end-to-end multitasking model (MM-ECPE) based on shared interaction between GRU, knowledge graph and transformer modules is proposed. Furthermore, based on MM-ECPE, in order to use the encoder layer to better solve the problem of imbalanced distribution of clause distances between clauses and emotion clauses, we propose a novel encoding based on BERT, sentiment lexicon, and position-aware interaction module layer of emotion motif pair retrieval model (MM-ECPE(BERT)). The model first fully models the interaction between different tasks through the multi-level sharing module, and mines the shared information between emotion-cause pair extraction and the emotion extraction and cause extraction. Second, to solve the imbalanced distribution of emotion clauses and cause clauses problem, suitable labels are screened out according to the knowledge graph path length and task-specific features are constructed so that the model can focus on extracting pairs with corresponding emotion-cause relationships. Experimental results on the ECPE benchmark dataset show that the proposed model achieves good performance, especially on position-imbalanced samples.
[ -0.6432904601097107, -0.991191029548645, 0.38061007857322693, 0.1435566395521164, -0.29417911171913147, -0.28979071974754333, -0.05544596165418625, -0.6643553376197815, 0.5463680028915405, 0.15696312487125397, -0.8044349551200867, -0.19837620854377747, -0.6786654591560364, -0.09861034154891968, -0.2189144492149353, 0.9672610759735107, 0.07541663199663162, -0.06175213307142258, -0.24103190004825592, -0.17124046385288239, -0.18193167448043823, -0.7753219604492188, -0.43124353885650635, -0.2504085600376129, 0.5149649381637573, 0.41834330558776855, 0.12602125108242035, -0.12849202752113342, 0.39305591583251953, 0.2798725366592407, 0.025144392624497414, 0.35724136233329773, -0.23675349354743958, -0.007896524854004383, 0.20351968705654144, -0.24266557395458221, -0.7781270742416382, -0.1008920669555664, 0.17587366700172424, 0.026456153020262718, -0.33349403738975525, 0.06428473442792892, 0.07950016856193542, 0.6646807193756104, -0.5943446159362793, 0.22047822177410126, -0.5533003211021423, 0.07531046867370605, -0.16460613906383514, -0.43598973751068115, -0.30556708574295044, 0.06957429647445679, -0.014677115716040134, -0.3054058849811554, 0.0937817320227623, 0.08065395057201385, 0.8845113515853882, -0.010831563733518124, -0.6432100534439087, -0.3051111102104187, -0.2100643366575241, 0.7319931983947754, -0.835024893283844, 0.026430554687976837, 0.17468266189098358, -0.17606958746910095, -0.024729281663894653, -0.006280924659222364, -0.7069903016090393, 0.15588952600955963, -0.31820228695869446, 0.39212942123413086, -0.1292840987443924, 0.07566361129283905, 0.09982419013977051, 0.188449889421463, -0.36373746395111084, -0.1550402045249939, -0.2590501010417938, -0.07327818125486374, 0.5937503576278687, 0.08272849023342133, 0.6855888962745667, -0.7327449321746826, -0.4576955735683441, 0.07347568869590759, -0.43933653831481934, 0.23290951550006866, 0.5062752366065979, 0.07572788745164871, -0.3139970004558563, 0.5342941284179688, -0.07380516082048416, 0.4553641080856323, 0.053824856877326965, 0.04745568707585335, 0.5823675990104675, -0.18455226719379425, -0.23015931248664856, -0.06635899841785431, 0.815248966217041, 0.48474809527397156, 0.006840217858552933, -0.14286299049854279, -0.14601466059684753, 0.06315738707780838, 0.26637956500053406, -0.577879786491394, 0.0973220020532608, 0.6684115529060364, -0.6084281206130981, -0.3262683153152466, -0.014304090291261673, -1.268133282661438, -0.1051398292183876, -0.42116034030914307, 0.6061803698539734, -0.694811999797821, -0.6901112198829651, 0.03681644797325134, -0.2525692582130432, 0.2882964015007019, 0.0019066687673330307, -0.9537754058837891, 0.3000505864620209, 0.6898230314254761, 0.7813462615013123, -0.1616252362728119, -0.19306600093841553, -0.40987294912338257, 0.15416575968265533, 0.36108875274658203, 0.7068257927894592, -0.5078476071357727, -0.05515570566058159, 0.050387728959321976, 0.2362995147705078, -0.3257778286933899, -0.28340429067611694, 0.7152509093284607, -0.22955749928951263, 0.36700254678726196, -0.31115537881851196, -0.5363398194313049, -0.25056830048561096, 0.40567436814308167, -0.6752550005912781, 1.1443123817443848, 0.015228664502501488, -0.9360641241073608, 0.03738746419548988, -0.9506464600563049, -0.38355597853660583, -0.15026380121707916, -0.05007605254650116, -0.44459909200668335, 0.2554492652416229, 0.3542020916938782, 0.7535215020179749, -0.22776807844638824, 0.29064467549324036, -0.2909155488014221, -0.05392828956246376, 0.06427692621946335, -0.062496308237314224, 0.6419367790222168, -0.05860017240047455, -0.2594916522502899, 0.1098925769329071, -0.6405014991760254, -0.088777095079422, 0.1927129626274109, -0.3146568238735199, -0.5658326745033264, 0.1523190438747406, 0.024261094629764557, 0.8314433693885803, 0.370344340801239, -0.8347973823547363, -0.08199021965265274, -0.16173657774925232, 0.305073618888855, 0.8155473470687866, 0.1376550793647766, 0.28657007217407227, -0.15546420216560364, 0.47568219900131226, 0.44528090953826904, 0.24073076248168945, -0.18146809935569763, -0.47297531366348267, -0.5830742120742798, -0.20729175209999084, -0.15306316316127777, 0.5724177360534668, -0.46565911173820496, 0.6030474305152893, 0.08490733057260513, -0.2866939604282379, -0.7145934700965881, -0.127129465341568, 0.6125935912132263, 0.5448936820030212, 0.4206356406211853, -0.09267723560333252, -0.47535696625709534, -0.7748051881790161, 0.025681504979729652, 0.2662819027900696, 0.1343832165002823, 0.6896805167198181, 0.3808968961238861, 0.04816092550754547, 0.6171027421951294, -0.5066892504692078, -0.1156252846121788, -0.3120841085910797, 0.4206622540950775, 0.17226165533065796, 0.45847684144973755, 0.7247385382652283, -0.7179270386695862, -0.2854536473751068, -0.016889121383428574, -0.762406051158905, -0.2698494493961334, 0.13453251123428345, -0.5521730184555054, 0.39588090777397156, 0.1388302892446518, -0.6432406306266785, 0.11472181230783463, 0.8060659766197205, -0.5059244632720947, 0.7122097611427307, -0.2216125875711441, 0.4421045184135437, -1.233908772468567, 0.036571212112903595, 0.31962403655052185, 0.1323523074388504, -0.547990620136261, -0.052430856972932816, 0.25210750102996826, -0.07320623844861984, -0.3876382112503052, 0.15269307792186737, -0.38887131214141846, -0.014664470218122005, -0.038613926619291306, 0.2146705836057663, 0.20732024312019348, 0.8940848708152771, -0.20352564752101898, 0.10509984195232391, 0.5100578665733337, -0.3346244990825653, 0.435945063829422, 0.15939609706401825, 0.01973857916891575, 0.9431315064430237, -0.3652057647705078, 0.1861976683139801, -0.3035240173339844, -0.16519920527935028, -0.9343716502189636, -0.09692663699388504, 0.18254774808883667, -0.4006917178630829, 0.33214136958122253, -0.1781059354543686, -0.4389412999153137, -0.27563565969467163, -0.2711307406425476, 0.21837015450000763, 0.48028260469436646, -0.5127372145652771, 0.8642347455024719, 0.37814080715179443, -0.366781085729599, -0.5866686701774597, -0.4435793459415436, -0.17273733019828796, -0.6108068823814392, -0.8219591975212097, 0.4980126917362213, -0.04497959464788437, 0.05242433026432991, 0.025595424696803093, -0.09955289959907532, -0.2001422941684723, -0.20177115499973297, 0.16573914885520935, 0.23441842198371887, 0.0942935198545456, 0.35100284218788147, 0.11328116059303284, -0.10145986825227737, 0.3115426301956177, 0.2901807129383087, 0.7342517971992493, 0.0158246960490942, -0.22993198037147522, -0.18468408286571503, 0.91395103931427, 0.6440862417221069, -0.48902416229248047, 0.7695464491844177, 0.9321526288986206, -0.3878602981567383, -0.11864988505840302, -0.6032412648200989, -0.26383936405181885, -0.425557404756546, 0.5514675974845886, -0.3083287477493286, -0.4914904832839966, 0.6111277937889099, -0.2936033606529236, -0.22155067324638367, 0.24426305294036865, 0.4114185571670532, -0.291092187166214, 0.9800235033035278, 0.6083395481109619, -0.3929089605808258, 0.7291794419288635, -0.12048258632421494, 0.21481409668922424, -1.0992339849472046, -0.49796009063720703, -0.32093775272369385, -0.4590785503387451, -0.01343663688749075, -0.09978295862674713, 0.5782213807106018, 0.01159482728689909, -0.06762547045946121, 0.06869694590568542, -0.4393328130245209, 0.048113271594047546, 0.6766735315322876, 0.562981367111206, -0.14290952682495117, 0.12717528641223907, -0.24976319074630737, -0.09165501594543457, -0.3537157475948334, -0.030582748353481293, 0.7677153944969177, -0.031610071659088135, 0.3599664270877838, 0.24526436626911163, 0.760470449924469, 0.2633637487888336, -0.3194778263568878, -0.602636456489563, 0.4335295855998993, -0.19168493151664734, -0.4901740550994873, -0.23356711864471436, -0.2532065510749817, -0.7593567371368408, 0.31192144751548767, -0.33619001507759094, -1.186200737953186, 0.07184316962957382, 0.04889201745390892, -0.01419185008853674, 0.27749595046043396, -0.9120455980300903, 1.0320765972137451, -0.2791458070278168, -0.2549506723880768, -0.43348056077957153, -0.8153093457221985, 0.4310927987098694, -0.005958791822195053, 0.3534773886203766, -0.18218013644218445, 0.5134709477424622, 0.7386724352836609, -0.4725768268108368, 0.7725537419319153, -0.5067945122718811, -0.06658941507339478, 0.2739355266094208, -0.025958193466067314, 0.7415199279785156, -0.3133907914161682, -0.3149884343147278, 0.16443373262882233, -0.16952632367610931, -0.299608439207077, -0.6546560525894165, 0.5156573057174683, -0.6734192371368408, -0.32066190242767334, 0.17557726800441742, -0.5965673327445984, 0.011529973708093166, -0.0878181904554367, 0.17878815531730652, 0.5372422933578491, 0.14962778985500336, -0.003036169335246086, 0.34251368045806885, -0.33863359689712524, 0.8744882941246033, 0.48015296459198, 0.25272199511528015, -0.4010588824748993, 0.8860887289047241, -0.08135116100311279, 0.313070684671402, 0.394006609916687, 0.2712152898311615, 0.0019626221619546413, 0.16975685954093933, -0.21272534132003784, 0.08790601789951324, -0.4127359688282013, -0.16946406662464142, -0.8264413475990295, -0.023351015523076057, -0.18082083761692047, -0.08405869454145432, -0.28578197956085205, -0.12384434789419174, 0.04874393716454506, -0.04644425958395004, 0.48817285895347595, 0.21224121749401093, -0.12072642892599106, 0.24861851334571838, -0.9189646244049072, 0.5127964019775391, 0.13578839600086212, 0.0952836200594902, 0.11441325396299362, -0.10655800998210907, -0.293028324842453, -0.23210379481315613, -0.43677428364753723, -1.241480827331543, 0.7753951549530029, 0.07476546615362167, 0.5452432036399841, 0.4135209321975708, 0.0745130106806755, 0.7536956071853638, -0.23073618113994598, 0.6358011960983276, 0.39571988582611084, -1.2214478254318237, 0.6308244466781616, -0.27075108885765076, -0.17674803733825684, -0.16096365451812744, 0.15430408716201782, -0.6875970959663391, -0.24186104536056519, -0.727999210357666, -1.1271450519561768, 1.0473278760910034, 0.22917930781841278, -0.11241525411605835, -0.0748085081577301, 0.2661501467227936, 0.09623982012271881, 0.10871873795986176, -0.9108452200889587, -0.290120005607605, -0.07161850482225418, -0.4578133821487427, 0.28043296933174133, -0.5166323781013489, -0.02965633012354374, -0.05396227911114693, 0.6113051176071167, -0.057194702327251434, 0.7798036336898804, 0.2905232608318329, -0.10156797617673874, -0.38418298959732056, 0.47539836168289185, 0.21171684563159943, -0.036803826689720154, -0.3928045928478241, 0.08074408024549484, 0.16097423434257507, -0.010191897861659527, 0.0069424305111169815, 0.09085804969072342, 0.20357418060302734, -0.06708645075559616, 0.21145208179950714, 0.597202718257904, 0.13001732528209686, -0.4582383632659912, 0.8620463013648987, 0.30517858266830444, 0.06724309176206589, -0.1810075044631958, -0.09287160634994507, 0.3732254207134247, 0.44120603799819946, 0.16406367719173431, 0.03825781121850014, 0.3240269124507904, -0.44791799783706665, 0.27303197979927063, 0.5694295167922974, -0.2720530927181244, -0.526226282119751, 0.3103308081626892, 0.2630135715007782, -0.15497107803821564, 0.48914507031440735, -0.4152531921863556, -0.5768990516662598, 1.0529239177703857, 0.6836689710617065, 0.6972405314445496, -0.4499680697917938, 0.21106034517288208, 0.3924387991428375, 0.14979828894138336, 0.22229549288749695, 0.8720743656158447, -0.08758483082056046, -0.933593213558197, -0.4284859001636505, -0.354905366897583, -0.22560015320777893, 0.058881379663944244, -0.9360532760620117, 0.37607142329216003, 0.2105829268693924, 0.04069817066192627, -0.2947782874107361, -0.12235748767852783, -0.6236010193824768, 0.21723030507564545, 0.3184981942176819, 0.2781849801540375, -1.1098675727844238, 0.8178675770759583, 0.7526903748512268, -0.4123286008834839, -0.7557361721992493, -0.20273776352405548, 0.1506289392709732, -0.8042721152305603, 0.48457038402557373, 0.36355531215667725, 0.16439701616764069, -0.2574068605899811, -0.3699060082435608, -0.665267288684845, 1.1485522985458374, 0.17198117077350616, -0.6492651104927063, 0.05696806684136391, -0.16242928802967072, 0.30434200167655945, -0.4667453467845917, 0.3315792381763458, 0.268989235162735, 0.31036823987960815, -0.08452799916267395, -0.659757137298584, 0.2921026349067688, -0.5897024869918823, -0.6001033782958984, 0.5382177829742432, -0.7948899865150452, 1.0146477222442627, -0.046767428517341614, 0.15926508605480194, -0.4894450008869171, 0.013348367065191269, 0.4036884307861328, 0.3676307499408722, 0.5948220491409302, 0.6038889288902283, 0.6913208365440369, 0.020177684724330902, 0.8268240690231323, -0.5955383777618408, 0.5448022484779358, 0.9382047057151794, -0.2382841259241104, 0.7910742163658142, 0.5554821491241455, -0.11516740918159485, 0.5764449238777161, 0.4245736002922058, 0.08784482628107071, 0.5912650227546692, -0.1431904286146164, -0.37060609459877014, -0.17276455461978912, 0.02905789390206337, -0.22495613992214203, 0.3422210216522217, 0.5587784647941589, -0.5265519618988037, -0.07847890257835388, -0.10887579619884491, 0.2018231600522995, -0.6300980448722839, -0.2403501570224762, 0.7133436799049377, -0.034225091338157654, -0.480949729681015, 0.02060011588037014, -0.08721637725830078, 0.9038459658622742, -0.4998949468135834, 0.03867131844162941, -0.17031697928905487, -0.10237115621566772, -0.42487677931785583, -0.4067882299423218, 0.2406320720911026, -0.07592878490686417, -0.27979835867881775, 0.1321064680814743, 0.835812509059906, -0.6320508122444153, -0.42759454250335693, 0.7451104521751404, 0.7191707491874695, 0.17146652936935425, -0.2717365622520447, -0.6461693644523621, -0.2562822997570038, -0.07483170181512833, -0.5365362167358398, 0.35403236746788025, 0.8690254092216492, 0.22600716352462769, 0.20963527262210846, 0.5315747857093811, 0.11166796088218689, 0.11028403788805008, 0.3454027473926544, 0.7677710056304932, -0.9501736760139465, -0.4730111360549927, -1.067686915397644, 0.9107981324195862, -0.28559428453445435, -0.16167794167995453, 0.16489571332931519, 0.1466759741306305, 0.16132846474647522, -0.14444102346897125, 0.810336709022522, -0.46640199422836304, 0.19378963112831116, -0.506567656993866, 0.366117388010025, -0.7593757510185242, -0.07210288196802139, -0.7702407836914062, -0.7553179860115051, 0.0029780794866383076, 0.265367716550827, 0.036161817610263824, -0.024967782199382782, 0.8725573420524597, 0.7262363433837891, -0.113160140812397, 0.02135826088488102, 0.36424070596694946, 0.23772495985031128, 0.3027908504009247, 1.007286548614502, 0.5035345554351807, -0.37275955080986023, 0.41667529940605164, -0.3141193091869354, -0.37931448221206665, -0.25045451521873474, -0.9503050446510315, -0.6355154514312744, -0.5835925936698914, -0.4026469886302948, -0.17707431316375732, -0.07841028273105621, 0.8680217862129211, 0.7078632116317749, -0.5679811835289001, 0.15086521208286285, -0.12290002405643463, -0.06434288620948792, -0.39824986457824707, -0.3257244825363159, 0.5230556130409241, -0.479793518781662, -0.6757065057754517, 0.08520087599754333, 0.3533097505569458, -0.11720210313796997, 0.07315226644277573, -0.057192929089069366, -0.25858014822006226, 0.09212112426757812, 0.7251710891723633, -0.1142740249633789, -0.6814066767692566, -0.4399644136428833, -0.22903642058372498, 0.1406993269920349, 0.30858108401298523, 0.6709916591644287, -0.30971193313598633, 0.39542922377586365, 0.4419654905796051, 0.211629256606102, 0.37279295921325684, 0.04398973658680916, 0.5607674717903137, -1.16079580783844, 0.11065388470888138, -0.3833206593990326, 1.0007976293563843, 0.15351201593875885, -0.7217546105384827, 0.4411194920539856, 0.2581745386123657, -0.6514492630958557, -0.3016335368156433, 0.21982796490192413, -1.3172857761383057, -0.12231839448213577, 1.1892913579940796, -0.4521901309490204, -0.16690103709697723, 0.11798673123121262, -0.4232330918312073, 0.5944710969924927, -0.6062532663345337, 1.1349210739135742, 0.87708979845047, -0.5542909502983093, -0.27151697874069214, -0.3511427938938141, -0.004420642741024494, 0.633948028087616, -1.0088964700698853, -0.07121490687131882, 0.37080827355384827, 0.08652088046073914, 0.08124323934316635, 0.40104594826698303, -0.21889996528625488, -0.09601739048957825, -0.007484386675059795, 0.8083794713020325, -0.003016944508999586, -0.08281770348548889, -0.24704210460186005, 0.4215477406978607, -0.531984806060791, -0.36193475127220154 ]
http://arxiv.org/abs/2404.06809v2
http://arxiv.org/pdf/2404.06809v2
Not All Contexts Are Equal: Teaching LLMs Credibility-aware Generation
2024-04-10T07:56:26
2024-05-09T02:45:33
Ruotong Pan, Boxi Cao, Hongyu Lin, Xianpei Han, Jia Zheng, Sirui Wang, Xunliang Cai, Le Sun
cs.CL
cs.CL
The rapid development of large language models has led to the widespread adoption of Retrieval-Augmented Generation (RAG), which integrates external knowledge to alleviate knowledge bottlenecks and mitigate hallucinations. However, the existing RAG paradigm inevitably suffers from the impact of flawed information introduced during the retrieval phrase, thereby diminishing the reliability and correctness of the generated outcomes. In this paper, we propose Credibility-aware Generation (CAG), a universally applicable framework designed to mitigate the impact of flawed information in RAG. At its core, CAG aims to equip models with the ability to discern and process information based on its credibility. To this end, we propose an innovative data transformation framework that generates data based on credibility, thereby effectively endowing models with the capability of CAG. Furthermore, to accurately evaluate the models' capabilities of CAG, we construct a comprehensive benchmark covering three critical real-world scenarios. Experimental results demonstrate that our model can effectively understand and utilize credibility for generation, significantly outperform other models with retrieval augmentation, and exhibit resilience against the disruption caused by noisy documents, thereby maintaining robust performance. Moreover, our model supports customized credibility, offering a wide range of potential applications.
[ -0.026840094476938248, -0.8260074257850647, 0.5584996938705444, 0.07561284303665161, -0.14500662684440613, 0.11046150326728821, -0.011067445389926434, -0.5077880024909973, -0.17610254883766174, 0.5683955550193787, -0.29082489013671875, -0.37314847111701965, -0.6277055144309998, -0.1398053616285324, -0.805875837802887, 0.9103258848190308, 0.3318400979042053, 0.10168823599815369, -0.2697290778160095, 0.14003169536590576, -0.5079294443130493, -0.4520258903503418, -0.6404328942298889, -0.49537041783332825, 0.11481782793998718, 0.31875523924827576, 0.9425983428955078, 0.9136403799057007, 0.273141086101532, 0.15704789757728577, 0.09553582221269608, 0.5971434712409973, -0.8140134215354919, 0.26747313141822815, -0.604196310043335, -0.5983084440231323, -0.5410858392715454, 0.05228376016020775, 0.6100087761878967, 0.4356098175048828, -0.3804382383823395, 0.3239540457725525, 0.28398165106773376, 0.37815287709236145, -0.5911304354667664, -0.05552258342504501, -1.299301028251648, -0.21273422241210938, -0.20706382393836975, -0.4454561769962311, -0.7332516312599182, -0.4937826991081238, -0.1494467556476593, -0.6636233329772949, 0.6453418135643005, 0.14075735211372375, 1.0162218809127808, 0.3494306802749634, -0.4529372453689575, -0.36979198455810547, -0.7114731073379517, 0.6268653869628906, -0.6300985217094421, 0.4324319660663605, 0.15863974392414093, 0.4696679711341858, -0.4991355538368225, -1.0130518674850464, -0.6204070448875427, 0.11932601034641266, 0.17988650500774384, 0.3379112184047699, 0.1809288114309311, -0.14713281393051147, 0.1388145089149475, 0.5085663795471191, -0.2640383541584015, 0.03195280581712723, 0.03205932676792145, -0.3286374509334564, 0.3995235860347748, -0.056653253734111786, -0.045835647732019424, -0.1349058896303177, -0.7408905625343323, -0.1577802300453186, -0.9830109477043152, -0.25142189860343933, 0.3730677366256714, 0.5060828328132629, 0.26270627975463867, 0.259488970041275, -0.015874264761805534, 0.5856537222862244, 0.26172780990600586, -0.6024560928344727, -0.10880734026432037, -0.14510028064250946, -0.272591769695282, 0.1995784342288971, 0.27623704075813293, 0.2334195077419281, -0.12060054391622543, -0.1266472041606903, -0.2615988850593567, 0.29202204942703247, 0.39916694164276123, -0.7641242742538452, 0.1357347071170807, -0.07029586285352707, -0.2573511004447937, -0.6761684417724609, 0.10985971987247467, -0.8245033621788025, -0.7046381831169128, -0.2407854199409485, 0.6017365455627441, -0.25156742334365845, -0.19816213846206665, 0.20285733044147491, 0.14344415068626404, 0.17980234324932098, 0.2811179459095001, -0.4777725040912628, 0.04028698429465294, 0.7434408068656921, 0.4689770042896271, -0.09438269585371017, 0.14028161764144897, -0.7383126616477966, 0.5473976135253906, -0.35517650842666626, 0.7487753033638, -0.2804427444934845, -0.5680736899375916, 0.1790151447057724, -0.14216823875904083, 0.2210465520620346, -0.4862302243709564, 1.0897929668426514, -0.5671101212501526, 0.14862635731697083, -0.3144671320915222, -0.7053940892219543, -0.03797509893774986, 0.5091433525085449, -0.4773975908756256, 1.0464752912521362, 0.030239295214414597, -0.7451226115226746, 0.5450332760810852, 0.04020482674241066, -0.20772069692611694, 0.03749735280871391, -0.28223538398742676, -0.6080448031425476, 0.12684309482574463, 0.17763465642929077, 0.4172293543815613, -0.46252694725990295, 0.8531659245491028, -0.07391093671321869, -0.15462689101696014, 0.16943074762821198, -0.7830169200897217, 0.3267734944820404, 0.24282808601856232, -0.3157901465892792, -0.27493107318878174, -0.9620562791824341, 0.15254390239715576, 0.06596449762582779, -0.6474104523658752, -0.15858282148838043, -0.05759920924901962, -0.10023777186870575, 0.09263279289007187, 0.35100045800209045, -0.3366374671459198, 0.09725461155176163, -0.3519822955131531, -0.19780534505844116, 0.8680492639541626, 0.2069534957408905, 0.3617641031742096, -0.7040072083473206, 0.37635132670402527, 0.11429644376039505, 0.08939623832702637, -0.26321426033973694, -0.321581095457077, -0.8699640035629272, -0.12673914432525635, 0.3060438632965088, 0.409583181142807, -0.9957062602043152, 0.18037700653076172, -0.5900086164474487, -0.5272290706634521, -0.4746767580509186, 0.24491357803344727, 0.41711682081222534, 1.16660737991333, 0.3910207450389862, -0.16267718374729156, -0.5134255290031433, -0.8492435216903687, -0.7061658501625061, -0.3343258500099182, 0.13539111614227295, 0.26158127188682556, -0.00417661527171731, -0.35222291946411133, 0.9628626704216003, -0.165176123380661, -0.15082170069217682, -0.11446075886487961, 0.14531394839286804, 0.09223116934299469, 0.42927542328834534, 0.22749899327754974, -1.0458271503448486, -0.22945725917816162, -0.19836179912090302, -0.800041675567627, -0.3174481689929962, -0.5195910334587097, -0.20884005725383759, 0.05536013841629028, 0.2152911275625229, -0.21710167825222015, 0.4321986734867096, 0.5936927199363708, -0.2779994606971741, 0.5859673023223877, -0.1581593155860901, 0.27436718344688416, -1.2603236436843872, -0.12271204590797424, -0.1364516168832779, -0.4212915599346161, -0.6146045923233032, 0.0888749286532402, 0.16976577043533325, -0.03603950887918472, -0.3267453908920288, 0.7196624279022217, -0.35155755281448364, -0.10224240273237228, -0.4054650366306305, 0.3257291913032532, 0.27406346797943115, -0.16592095792293549, -0.12346679717302322, 0.6223744750022888, 0.4654606878757477, -0.8720389008522034, -0.1455306112766266, 0.23064883053302765, -0.25964462757110596, 0.8225902318954468, -0.11678530275821686, -0.025785060599446297, -0.05055391788482666, 0.23003926873207092, -0.49710237979888916, -0.36983203887939453, -0.03664505481719971, -0.6212598085403442, 0.6339952349662781, -0.1956520527601242, -0.7784837484359741, -0.055728133767843246, 0.2038743793964386, 0.17629700899124146, 0.6361976861953735, -1.2414774894714355, 0.6412916779518127, 0.19815702736377716, 0.20544841885566711, -0.8957164287567139, -0.6721857786178589, 0.2632036507129669, -0.2986621856689453, -0.745175302028656, 0.4338207244873047, -0.0806007832288742, -0.293636292219162, -0.2571702003479004, -0.38455185294151306, 0.05237887427210808, 0.06942589581012726, 0.2177632451057434, 0.17094047367572784, 0.0852154940366745, 0.38977912068367004, 0.05446801707148552, -0.1333022117614746, -0.08224603533744812, -0.3269202411174774, 0.1680973619222641, 0.06146874278783798, -0.4989289939403534, 0.08079968392848969, -0.05566980689764023, 0.24453124403953552, -0.11021392047405243, 0.735660970211029, 0.703823447227478, -0.45720595121383667, -0.6743547320365906, -0.9428229331970215, -0.2603454291820526, -0.5323234796524048, 0.051660116761922836, -0.1815308779478073, -0.7134385108947754, 0.3378845453262329, -0.6784499287605286, 0.23103748261928558, 0.17405222356319427, 0.43199622631073, 0.27348431944847107, 0.8123742341995239, 0.6784200668334961, 0.24575704336166382, 0.12309475243091583, 0.09571406990289688, 0.2640238404273987, -0.5680720210075378, -0.2045711725950241, -0.37015068531036377, 0.17953161895275116, -0.34388625621795654, -0.6401480436325073, 0.31281578540802, 0.5181402564048767, 0.04309410974383354, 0.05243482440710068, -0.6098872423171997, 0.2047968953847885, 0.21229013800621033, 0.10119780153036118, 0.6736651062965393, 0.11439010500907898, -0.05528128147125244, -0.19105002284049988, -0.8644517064094543, -0.8869473934173584, 1.2096205949783325, 0.3143972158432007, 0.7803168296813965, 0.08352614939212799, 0.7300810813903809, 0.44503673911094666, 0.7608274221420288, -0.5113292932510376, 0.6636113524436951, 0.17198649048805237, -0.8300933837890625, 0.21218079328536987, -0.5613268613815308, -0.8600324392318726, 0.22393687069416046, -0.463468074798584, -0.34217390418052673, 0.22524312138557434, 0.24448034167289734, 0.07009302824735641, 0.5388023853302002, -0.3634217083454132, 0.1277223378419876, -0.24066010117530823, -0.726558268070221, -0.17057129740715027, -0.2031155675649643, 0.7340148091316223, -0.42838484048843384, 0.6063840985298157, 0.007873190566897392, 0.009055218659341335, 0.37303951382637024, -0.2928682267665863, 0.6053149700164795, -0.21693763136863708, -0.2821769416332245, 0.6609002351760864, 0.42303934693336487, 0.768781304359436, 0.17569494247436523, -0.39610251784324646, 0.026647310703992844, -0.4715007543563843, -0.1270681619644165, -0.5582625269889832, 0.8369343280792236, -0.2307186722755432, -0.8624699711799622, -0.23432451486587524, -0.6344864964485168, -0.4160715937614441, 0.18374483287334442, 0.2141055315732956, 0.31532761454582214, -0.3520640730857849, 0.09944969415664673, 0.9554623961448669, -0.18456782400608063, 0.07956589013338089, 0.6733932495117188, -0.28797420859336853, -0.33025825023651123, 0.9701440334320068, 0.1821754425764084, 0.4065241515636444, 0.04948640614748001, 0.19806960225105286, -0.34319743514060974, -0.45078718662261963, -0.2691604197025299, 0.17134882509708405, -0.95828777551651, -0.4640766382217407, -0.4142135679721832, -0.18763650953769684, -0.5483551025390625, -0.29684484004974365, -0.3466901183128357, -0.4028158485889435, -0.2921176552772522, -0.24271583557128906, 0.004179520066827536, 0.4236309230327606, -0.29173874855041504, 0.30661505460739136, -0.6482556462287903, 0.3360232710838318, 0.3520207107067108, 0.26951149106025696, -0.1985633373260498, -0.7599177956581116, -0.2803228795528412, 0.03595346957445145, -0.592242956161499, -0.7935820817947388, 0.4507409334182739, 0.28811177611351013, 0.779817521572113, 0.4931063652038574, 0.09039125591516495, 0.6266648769378662, -0.3405599296092987, 0.7648063898086548, -0.008024071343243122, -0.867206871509552, 0.5829905271530151, -0.5770158171653748, -0.14682132005691528, 0.37501204013824463, 0.07599164545536041, -0.15358881652355194, -0.4826452136039734, -1.0850896835327148, -0.7894960045814514, 0.14110933244228363, 0.16586317121982574, -0.04231666773557663, -0.2898734211921692, 0.7341564297676086, 0.32173094153404236, 0.20639847218990326, -0.7707895040512085, -0.1857464611530304, -0.31357112526893616, -0.1791687309741974, 0.1153498962521553, -0.26685452461242676, -0.1178220584988594, 0.29567062854766846, 1.0935208797454834, -0.33522093296051025, -0.06160656362771988, 0.3789605498313904, -0.0873313695192337, -0.05637723580002785, 0.46703314781188965, 0.24057146906852722, 0.6567862629890442, 0.10754252970218658, 0.16376742720603943, 0.12168484181165695, -0.30618008971214294, 0.21487300097942352, -0.057760924100875854, -0.4769026041030884, 0.09302845597267151, 0.11876334249973297, 0.07310404628515244, 0.278948575258255, -0.5152183771133423, 0.37775719165802, 0.064429372549057, -0.03940386325120926, -0.28633207082748413, 0.3564557433128357, 0.0383521169424057, 0.19017505645751953, 0.6114743947982788, 0.05319342389702797, 0.09836041927337646, -0.34563499689102173, 0.47413480281829834, 0.43422427773475647, -0.11566916108131409, -0.007876735180616379, 0.9567915797233582, 0.08133681863546371, -0.1308102309703827, 0.12570379674434662, -0.14904966950416565, -0.3242359161376953, 0.3757792115211487, 0.8579990863800049, 0.6163694858551025, -0.3885018229484558, 0.17296183109283447, 0.6896733641624451, 0.2637304365634918, -0.6786961555480957, 0.028808889910578728, 0.013936378993093967, -0.9556533694267273, -0.11750958114862442, -0.8301836252212524, -0.3575557768344879, 0.10094442218542099, -0.7505051493644714, 0.2745608389377594, -0.554686427116394, -0.4882151484489441, -0.5498420596122742, -0.18886730074882507, -0.5898700952529907, 0.6057183742523193, 0.13233667612075806, 0.8478072285652161, -0.6185796856880188, 0.7338790893554688, 0.30685171484947205, -0.12040847539901733, -0.7088894248008728, 0.0005800802609883249, 0.16990679502487183, -0.8025326132774353, 0.47108590602874756, 0.09579065442085266, -0.27216285467147827, 0.13322852551937103, -0.8721293807029724, -0.7425197958946228, 1.4083768129348755, 0.5117107629776001, -0.3716813325881958, 0.15760065615177155, 0.2061447948217392, 0.42375701665878296, -0.557067334651947, -0.22141601145267487, 0.39163368940353394, 0.46430182456970215, 0.20035526156425476, -0.6547443866729736, 0.10346957296133041, 0.1123882383108139, 0.034557126462459564, -0.20479309558868408, -0.6851257085800171, 0.6517814993858337, -0.07823456823825836, -0.6615637540817261, 0.16688069701194763, 0.7720544338226318, 0.6624245643615723, 0.4130115509033203, 0.3812951445579529, 0.7508970499038696, 1.0968904495239258, -0.22362501919269562, 0.982001543045044, -0.2715975344181061, 0.15213128924369812, 1.4538099765777588, -0.041007254272699356, 0.6197561025619507, 0.2357868105173111, 0.3636015057563782, 0.5502811670303345, 0.2691834568977356, 0.01829349622130394, 0.1822299361228943, 0.0871637836098671, -0.43429192900657654, -0.5625418424606323, -0.40538662672042847, -0.4005435109138489, 0.3698127567768097, 0.5664541721343994, -0.725307047367096, -0.35435980558395386, -0.19044923782348633, 0.17306391894817352, 0.6668552160263062, -0.4542314112186432, 0.4431523084640503, 0.07611814886331558, -0.5883640646934509, 0.4764634966850281, 0.04359249770641327, 0.6011500358581543, -0.5269272923469543, -0.14817501604557037, -0.08667513728141785, 0.32554617524147034, -0.35153084993362427, -0.5887337923049927, 0.13221946358680725, -0.0280710831284523, -0.24668526649475098, -0.4110866189002991, 1.1878474950790405, -0.5111702680587769, -0.4395420253276825, 0.16517679393291473, 0.6002132892608643, 0.05549201741814613, 0.19031569361686707, -0.5899149775505066, 0.08428089320659637, 0.07265365868806839, -0.18865220248699188, 0.39311957359313965, 0.5963047742843628, 0.0871918722987175, 0.9447891116142273, 0.8398070931434631, 0.22491709887981415, 0.07484669983386993, 0.06439342349767685, 0.6299293041229248, -0.2906878888607025, -0.4086570143699646, -0.4501678943634033, 0.6770787835121155, -0.2407563030719757, 0.1875111609697342, 1.12455153465271, 0.6077349781990051, 0.7162655591964722, 0.2218918651342392, 0.8618302345275879, 0.28351473808288574, 0.7851753830909729, -0.3791256546974182, 0.8734905123710632, -0.37479978799819946, 0.6235421895980835, -0.21494634449481964, -1.030853271484375, -0.1490657776594162, 0.29299256205558777, -0.041869644075632095, 0.04192317649722099, 0.24642299115657806, 0.9893980622291565, 0.07092501223087311, -0.09593214094638824, 0.6388790607452393, 0.333476185798645, 0.7150932550430298, 0.17502383887767792, 0.5427361726760864, -0.7743672728538513, 0.6071237325668335, 0.1841706931591034, -0.23779931664466858, 0.1036471500992775, -1.0805078744888306, -0.639005184173584, -0.42443251609802246, -0.2975175082683563, -0.6824526190757751, 0.0818677693605423, 0.31232815980911255, 0.5886611342430115, -0.22161537408828735, 0.22001589834690094, -0.21063421666622162, 0.12763437628746033, 0.09464366734027863, -0.29167062044143677, 0.17073886096477509, -0.40952423214912415, -0.47697943449020386, 0.6996389031410217, 0.06834282726049423, 0.25395408272743225, -0.3924618661403656, -0.07567021995782852, 0.11176947504281998, 0.5487135052680969, 0.29355064034461975, 0.30838513374328613, -0.5789905190467834, -0.4343976080417633, -0.305746465921402, -0.14021769165992737, -0.043833017349243164, 0.6891260743141174, -1.1263208389282227, 0.7356762290000916, 0.09985679388046265, 0.8809991478919983, 0.3138367831707001, 0.48937803506851196, 0.49213528633117676, -0.8961673974990845, -0.047132015228271484, 0.07760690152645111, 0.21690978109836578, 0.7750598788261414, -0.7099778056144714, 0.6080964207649231, 0.3276016414165497, -0.7604267001152039, -1.0107673406600952, 0.3893704116344452, -0.6886399388313293, -0.06081788241863251, 1.2848455905914307, -0.11803621053695679, -0.01702173613011837, -0.13477809727191925, 0.07414628565311432, 0.38996458053588867, -0.13366715610027313, 1.1402777433395386, 0.5348527431488037, 0.18817603588104248, 0.07817740738391876, -0.40262311697006226, 0.5448565483093262, 0.31336623430252075, -0.8476199507713318, 0.09597242623567581, 0.5445631146430969, 0.2623213529586792, 0.2570585012435913, 0.39107033610343933, -0.4359941780567169, 0.09836122393608093, 0.20751304924488068, 0.10784228146076202, -0.1358688324689865, -0.3091513216495514, -0.1237117126584053, 0.3200613558292389, 0.06952220946550369, 0.43253740668296814 ]
http://arxiv.org/abs/2404.06762v1
http://arxiv.org/pdf/2404.06762v1
Personality-aware Student Simulation for Conversational Intelligent Tutoring Systems
2024-04-10T06:03:13
2024-04-10T06:03:13
Zhengyuan Liu, Stella Xin Yin, Geyu Lin, Nancy F. Chen
cs.CL
cs.CL, cs.HC
Intelligent Tutoring Systems (ITSs) can provide personalized and self-paced learning experience. The emergence of large language models (LLMs) further enables better human-machine interaction, and facilitates the development of conversational ITSs in various disciplines such as math and language learning. In dialogic teaching, recognizing and adapting to individual characteristics can significantly enhance student engagement and learning efficiency. However, characterizing and simulating student's persona remain challenging in training and evaluating conversational ITSs. In this work, we propose a framework to construct profiles of different student groups by refining and integrating both cognitive and noncognitive aspects, and leverage LLMs for personality-aware student simulation in a language learning scenario. We further enhance the framework with multi-aspect validation, and conduct extensive analysis from both teacher and student perspectives. Our experimental results show that state-of-the-art LLMs can produce diverse student responses according to the given language ability and personality traits, and trigger teacher's adaptive scaffolding strategies.
[ -0.5221100449562073, -0.8860989212989807, 0.507466733455658, 0.5724642872810364, 0.1405756026506424, 0.4082273244857788, -0.40833836793899536, -0.04243508353829384, 0.20555910468101501, 0.4671207070350647, -0.5406754016876221, -0.267171174287796, -0.04894892871379852, 0.011666988953948021, -0.3315596580505371, 1.050294280052185, 0.23474371433258057, 0.5464929342269897, -0.6703489422798157, -0.12295956909656525, -0.5847469568252563, -0.8811255097389221, -0.7866271138191223, -0.4801720082759857, 0.2543797791004181, 0.6206536293029785, 0.13990998268127441, 0.29218000173568726, 0.0149418069049716, 0.3690081238746643, 0.21963046491146088, -0.30351367592811584, 0.03300653025507927, 0.31211045384407043, -0.5094404220581055, -0.38576504588127136, -0.3999280333518982, -0.15873941779136658, 0.9329091310501099, 0.8449503779411316, -0.22379472851753235, 0.02278083749115467, 0.21537470817565918, 0.44965916872024536, -0.15222986042499542, 0.2679327428340912, -0.44789305329322815, 0.04792759194970131, -0.03495580330491066, 0.1314719319343567, -0.4659847915172577, -0.30307283997535706, 0.4984646439552307, -0.2956404387950897, 0.19801384210586548, 0.004642677493393421, 0.10832616686820984, -0.032954491674900055, -0.4366895258426666, -0.16461864113807678, -0.8383879065513611, 0.8101933002471924, -0.5478498339653015, 0.291037917137146, 0.10263770073652267, 0.6961378455162048, -0.09834634512662888, -0.11629321426153183, -0.6189656257629395, -0.20845988392829895, 0.07538525015115738, 0.34492382407188416, 0.32353219389915466, 0.06459508836269379, 0.14625881612300873, 0.2505562901496887, -0.3978084623813629, 0.4173339903354645, -0.23688654601573944, -0.11785772442817688, 0.5717453956604004, 0.4062373638153076, 0.015585287474095821, -0.28083980083465576, -0.3168150782585144, -0.2114405333995819, -0.33811914920806885, 0.3222504258155823, 0.7434714436531067, 0.43624404072761536, -0.2764264643192291, 0.42057764530181885, -0.21947616338729858, 0.3052775263786316, 0.11534345895051956, -0.5474449396133423, 0.059903573244810104, -0.05187463015317917, 0.035478170961141586, 0.05503816530108452, 0.6451836228370667, 0.16301821172237396, 0.5957820415496826, -0.009081183932721615, 0.14175449311733246, 0.017685607075691223, 0.2191094309091568, -0.9921166300773621, -0.31990382075309753, 0.5395392179489136, -0.07881136983633041, -0.19452957808971405, -0.32108455896377563, -0.9749109148979187, -0.39498576521873474, -0.4588974714279175, 0.16721835732460022, -0.8614184260368347, -0.36980289220809937, 0.03567212447524071, 0.27898767590522766, 0.17404738068580627, 0.5782882571220398, -0.7836127281188965, 0.3256431519985199, 0.3101794123649597, 0.37086212635040283, -0.3353964388370514, -0.471482515335083, -0.19528250396251678, 0.17804305255413055, 0.13579463958740234, 0.771260678768158, -0.7389718294143677, -0.6579189896583557, -0.03135579451918602, -0.2719079852104187, -0.3002391457557678, -0.39654025435447693, -0.027843914926052094, -0.14685873687267303, 0.447043240070343, -0.2475062608718872, -0.7920324206352234, -0.25789645314216614, 0.37116938829421997, -0.1959908902645111, 0.8877081871032715, 0.409201055765152, -0.4013673961162567, -0.1893037110567093, -0.6912506222724915, -0.36890631914138794, 0.18787699937820435, -0.4065254330635071, -0.43180325627326965, -0.03489794209599495, -0.04142775014042854, 0.7071774005889893, -0.008518987335264683, 0.5578068494796753, -0.23240689933300018, -0.13413502275943756, 0.6376762390136719, -0.1362740844488144, 0.4735674560070038, -0.12746763229370117, -0.11781828850507736, 0.4047577679157257, -0.7118161916732788, 0.19889363646507263, 0.08168351650238037, -0.24557359516620636, -0.03466319665312767, -0.058571651577949524, 0.14060157537460327, 0.16646979749202728, 0.16061347723007202, -0.4745241701602936, 0.3577295243740082, -0.10966596007347107, 0.39503344893455505, 0.8952728509902954, 0.07245637476444244, 0.4159204363822937, -0.37643250823020935, 0.5561837553977966, 0.31204038858413696, -0.06709390133619308, -0.5204743146896362, -0.2787621021270752, -0.8656931519508362, -0.5797101259231567, 0.16795840859413147, 0.6984642744064331, -0.7841988205909729, 0.4172699451446533, -0.1319262534379959, -0.4845402240753174, -0.1542324274778366, 0.15371881425380707, 0.40814438462257385, 0.47604236006736755, 0.1753571629524231, -0.3876661956310272, -0.4539070725440979, -0.8289191722869873, -0.20378153026103973, -0.3987118899822235, -0.08858384937047958, 0.5789059400558472, 0.5279661417007446, -0.050449058413505554, 1.088945746421814, -0.18301190435886383, -0.36784952878952026, -0.5740771889686584, -0.23462095856666565, -0.24681831896305084, 0.7258493304252625, 0.8049667477607727, -0.3379162549972534, -0.6987536549568176, -0.3101060688495636, -0.6039089560508728, 0.01755419559776783, -0.40903282165527344, 0.03540891781449318, 0.08679628372192383, 0.2532108426094055, -0.1887119859457016, 0.3097432851791382, 0.2563849091529846, -0.2125684767961502, 0.876292884349823, -0.24954137206077576, -0.03546923026442528, -1.075958251953125, -0.15393231809139252, 0.24837617576122284, -0.19969148933887482, -0.5919405221939087, -0.07752706110477448, 0.0019684466533362865, -0.14232145249843597, -0.30175408720970154, 0.8116229772567749, -0.08281122893095016, -0.2552938163280487, -0.19704577326774597, 0.26391837000846863, -0.02139301225543022, 0.8670476675033569, 0.11371934413909912, 0.9897834062576294, 0.7920532822608948, -0.4882366955280304, 0.1818179339170456, 0.22274842858314514, -0.3728625774383545, 1.3275177478790283, -0.6208316683769226, 0.09566021710634232, -0.13632816076278687, 0.41386640071868896, -0.7296528220176697, -0.2664810121059418, -0.07550109177827835, -0.05086684226989746, -0.011245692148804665, 0.08105171471834183, -0.5472226142883301, -0.1106448546051979, -0.1900748759508133, 0.308851957321167, 0.2725376784801483, -0.4527758061885834, 1.1966263055801392, 0.02378029376268387, -0.3988235890865326, 0.04749111831188202, -0.10501472651958466, 0.009247533977031708, -0.34664130210876465, -0.40234896540641785, 0.3826444447040558, -0.5466400384902954, -0.3252262473106384, -0.43591681122779846, 0.19094353914260864, 0.006912323646247387, 0.30342715978622437, 0.27281907200813293, 0.26841971278190613, 0.04281207174062729, 0.08741920441389084, 0.13769210875034332, 0.0514354333281517, 0.07593395560979843, -0.1059170812368393, 0.7406325340270996, -0.4267803132534027, -0.5671390295028687, -0.5942273736000061, 0.5325682759284973, 0.6019896268844604, -0.31448256969451904, 0.6868783235549927, 0.450630784034729, -0.14234216511249542, -0.21277371048927307, -0.640651285648346, -0.5411790609359741, -0.5059880018234253, 0.6434186697006226, -0.4381251633167267, -0.940926194190979, 0.9345630407333374, -0.12077683210372925, 0.12545597553253174, -0.284583181142807, 0.5600754022598267, -0.17854347825050354, 1.0558722019195557, 0.6431424021720886, 0.03205361217260361, 0.7582291960716248, -0.03874306380748749, 0.3617142140865326, -1.0810632705688477, -0.5999811291694641, -0.4389723241329193, -0.07506506145000458, -0.24681630730628967, -0.2968881130218506, 0.2785017788410187, -0.029693974182009697, -0.42791661620140076, 0.10501018166542053, -0.17167823016643524, 0.4104860723018646, 0.46981027722358704, 0.08128240704536438, 0.06232457607984543, -0.01932353712618351, -0.3171636164188385, -0.2936679720878601, -0.16912655532360077, -0.6343681812286377, 1.0159918069839478, 0.27534475922584534, 0.4550984799861908, 0.2824634611606598, 0.34493130445480347, -0.07805158942937851, 0.5472474694252014, -0.8263692855834961, 0.8930477499961853, 0.00034494561259634793, -0.6072412133216858, -0.09486810863018036, -0.30970874428749084, -0.43277105689048767, 0.2509199380874634, -0.24196381866931915, -1.1718274354934692, -0.3326050639152527, 0.03016206994652748, -0.32553669810295105, 0.2109992504119873, -0.7082118391990662, 0.5686530470848083, -0.3676266372203827, -0.32587024569511414, -0.17077159881591797, -0.4098771810531616, 0.07832739502191544, -0.2265988141298294, 0.04976290836930275, -0.09782852977514267, 0.3614045977592468, 0.6231900453567505, -0.1516055166721344, 1.0654845237731934, -0.18789298832416534, 0.015568161383271217, 0.2805836796760559, 0.3432829976081848, 0.12462567538022995, 0.25534477829933167, -0.296723335981369, -0.036993563175201416, 0.2045769840478897, -0.523545503616333, -0.835850179195404, 0.648533821105957, -0.8583828806877136, -0.9531885385513306, -0.2624334394931793, -0.7666603326797485, -0.6117720007896423, -0.02137313038110733, -0.34191611409187317, 0.17765678465366364, -0.3136795163154602, 0.08301039040088654, 0.7278252840042114, -0.18242710828781128, 0.41714081168174744, 0.8498579263687134, -0.6435962319374084, -0.14640730619430542, 1.0912607908248901, 0.05574227124452591, 0.3261811137199402, -0.20958606898784637, 0.31351837515830994, -0.16823071241378784, -0.4947185218334198, -0.527218759059906, 0.26106444001197815, -0.7303025126457214, 0.20429196953773499, -0.7326674461364746, -0.302867591381073, -0.44743382930755615, -0.2658681571483612, -0.3433859348297119, -0.18838323652744293, -0.2419750839471817, -0.019541410729289055, 0.26635363698005676, 0.5244324803352356, 0.4746050536632538, 0.9188863039016724, -0.327884316444397, -0.3217458128929138, 0.5300152897834778, 0.2979350984096527, 0.14568859338760376, -0.4667517840862274, -0.0002171700616599992, -0.07916201651096344, -0.5029903650283813, -0.603766143321991, 0.2668764591217041, 0.35781168937683105, 0.7319296002388, 0.6994377970695496, -0.1507749706506729, 0.4655103385448456, -0.47466421127319336, 0.7948405146598816, 0.06753446161746979, -0.9886224865913391, 0.5408328771591187, -0.3090898096561432, 0.1563454121351242, 0.5057074427604675, 0.030536077916622162, -0.5428255796432495, -0.3981001377105713, -0.5498000383377075, -0.4874851107597351, 0.49217358231544495, -0.01357207726687193, 0.4209122061729431, 0.21629759669303894, 0.6359586119651794, 0.2518671452999115, 0.335958331823349, -0.6463399529457092, -0.3173624873161316, -0.4553644359111786, -0.6950803995132446, 0.1054190993309021, 0.061033137142658234, 0.0069810193963348866, -0.2830672860145569, 0.6522798538208008, -0.6423535943031311, 0.11512238532304764, -0.19872966408729553, 0.16179880499839783, 0.3853674530982971, 0.275293231010437, 0.41808992624282837, 0.38225388526916504, -0.05847454071044922, -0.12188531458377838, 0.22768931090831757, -0.41795745491981506, 0.033369552344083786, -0.20362457633018494, 0.1394004374742508, -0.3685959279537201, 0.058539729565382004, 0.6828828454017639, 0.42734405398368835, -0.8698378801345825, 0.5432571768760681, -0.35128849744796753, -0.027432942762970924, -0.616378664970398, 0.5254833102226257, 0.12001964449882507, 0.5019770264625549, 0.33234089612960815, 0.029084498062729836, -0.19758592545986176, -0.4992648661136627, -0.08006341755390167, 0.5473629832267761, -0.2712962329387665, -0.6463569402694702, 0.24290266633033752, 0.23319318890571594, -0.6210963726043701, 0.39985305070877075, -0.043852753937244415, -0.6804854869842529, 0.7114007472991943, 0.7533043622970581, 0.6315256953239441, -0.5729567408561707, 0.35204556584358215, 0.20929542183876038, -0.1749676764011383, 0.19080814719200134, 0.2473260760307312, -0.17576199769973755, -0.7816939353942871, -0.07666274905204773, -0.4764770567417145, -0.9241043925285339, 0.01119597814977169, -0.6802961826324463, 0.21867622435092926, -0.8818686604499817, 0.061937298625707626, 0.012079330161213875, -0.004094349220395088, -0.735255241394043, 0.19393569231033325, -0.05793039873242378, 0.6361563205718994, -0.7506793737411499, 0.9951037168502808, 1.073446273803711, 0.0029634167440235615, -0.6892654299736023, -0.07266531884670258, -0.06517069786787033, -0.679614245891571, 0.5899306535720825, 0.27889391779899597, 0.12389033287763596, 0.1426447480916977, -0.32406607270240784, -0.6133002638816833, 1.0565178394317627, 0.41289663314819336, -0.21186263859272003, -0.08438816666603088, 0.31628653407096863, 0.5389217138290405, -0.793698787689209, 0.5266937613487244, 0.2407982498407364, 0.06252247840166092, 0.337197482585907, -0.6969520449638367, -0.30739831924438477, -0.0019933907315135, 0.2534045875072479, -0.48508694767951965, -0.9307875633239746, 0.9073283076286316, -0.12196970731019974, -0.01247922983020544, 0.1932353675365448, 0.7968720197677612, 0.5174906849861145, 0.1366836428642273, 0.6140052080154419, 0.2396257370710373, 0.8019870519638062, -0.049280960112810135, 0.6234440207481384, -0.5840997099876404, 0.11456931382417679, 1.1082241535186768, -0.6244583129882812, 0.6370738744735718, 0.5717949867248535, -0.2357751429080963, 0.8631499409675598, 0.49926838278770447, 0.11182332783937454, 0.1747862845659256, 0.2748739421367645, -0.4567507207393646, -0.5011700987815857, -0.19132466614246368, -0.04962702840566635, 0.6801589131355286, 0.512431800365448, -0.047466304153203964, -0.055260468274354935, 0.5067442655563354, 0.13478916883468628, 0.27523472905158997, -0.18088974058628082, 0.6157314777374268, -0.13984784483909607, -0.6780242919921875, -0.142219677567482, 0.09349960088729858, 0.6750161051750183, -0.5619115233421326, 0.23577781021595, -0.22806303203105927, 0.24873022735118866, -0.02212895266711712, -0.6996994018554688, -0.09946244955062866, -0.06423494964838028, -0.1597113460302353, -0.29993948340415955, 0.34690773487091064, -0.47257333993911743, -0.507546067237854, 0.0792044922709465, 0.6289430856704712, 0.1530744433403015, 0.08484238386154175, -0.6068671345710754, -0.16721273958683014, 0.00008594014070695266, -0.2541862428188324, 0.700333833694458, 0.27888965606689453, -0.27963337302207947, 1.02657151222229, 0.5506991744041443, -0.24446721374988556, -0.2303066998720169, 0.29557088017463684, 0.7985694408416748, -0.4731777310371399, -0.6841599345207214, -0.6074850559234619, 0.49874788522720337, -0.07481637597084045, -0.3323644697666168, 0.9736644625663757, 0.3867914378643036, 0.7931877970695496, 0.0049192337319254875, 0.7673020958900452, 0.27581098675727844, 0.4324793815612793, -0.269815057516098, 0.4207903742790222, -0.07641749829053879, 0.4846235513687134, -0.3842911422252655, -0.8450712561607361, 0.08929688483476639, 0.8885483741760254, -0.3032718002796173, 0.45346808433532715, 0.5322508215904236, 0.4789189100265503, 0.17994272708892822, 0.5670976042747498, 0.28036409616470337, -0.022683927789330482, 0.6801309585571289, 0.3985235095024109, 0.6815605759620667, 0.025007352232933044, 0.056379709392786026, -0.49567103385925293, -0.32742348313331604, -0.25977733731269836, -0.8100684881210327, -1.483291506767273, -0.6297298073768616, -0.5769374966621399, -0.2397356927394867, -0.27051347494125366, 0.976318359375, 0.6618958711624146, -0.7684101462364197, -0.3202429711818695, 0.10208053886890411, 0.058335546404123306, 0.006005267612636089, -0.29873430728912354, 0.09254970401525497, -0.18301264941692352, -0.9321091175079346, 0.19529452919960022, 0.2221231758594513, 0.5049878358840942, -1.001986026763916, 0.09141280502080917, 0.1886054426431656, 0.33402660489082336, 0.5506472587585449, 0.09995392709970474, -0.6006854176521301, -0.6201590299606323, 0.2499772161245346, -0.131468266248703, 0.04941534996032715, 0.810163676738739, -1.0344938039779663, 0.2600027620792389, -0.205078586935997, 0.6079902052879333, 0.2920394837856293, -0.1303786337375641, 0.2531352937221527, -0.9442888498306274, 0.18527095019817352, 0.2016833871603012, 0.34313687682151794, 0.5412524342536926, -0.4551777243614197, 0.057767704129219055, 0.196186825633049, -0.4530356228351593, -0.816754162311554, 0.30563777685165405, -0.9715376496315002, -0.1461540013551712, 0.8862470984458923, -0.49135488271713257, -0.07687349617481232, -0.18196003139019012, -0.32283371686935425, -0.0895068496465683, -0.4307079315185547, 0.9223688840866089, 0.7628982663154602, -0.47640255093574524, -0.14664959907531738, -0.46635347604751587, 0.046943262219429016, 0.6861581802368164, -1.0394788980484009, -0.059049900621175766, 0.2509748041629791, 0.5800787210464478, 0.2522035837173462, 0.46674033999443054, 0.12096992135047913, -0.1392107456922531, -0.4289955794811249, 0.15044796466827393, -0.06556908786296844, -0.43253666162490845, -0.09140235930681229, 0.10468632727861404, -0.12100479751825333, 0.22021149098873138 ]
http://arxiv.org/abs/2404.06760v1
http://arxiv.org/pdf/2404.06760v1
DiffusionDialog: A Diffusion Model for Diverse Dialog Generation with Latent Space
2024-04-10T05:56:46
2024-04-10T05:56:46
Jianxiang Xiang, Zhenhua Liu, Haodong Liu, Yin Bai, Jia Cheng, Wenliang Chen
cs.CL
cs.CL, cs.AI
In real-life conversations, the content is diverse, and there exists the one-to-many problem that requires diverse generation. Previous studies attempted to introduce discrete or Gaussian-based continuous latent variables to address the one-to-many problem, but the diversity is limited. Recently, diffusion models have made breakthroughs in computer vision, and some attempts have been made in natural language processing. In this paper, we propose DiffusionDialog, a novel approach to enhance the diversity of dialogue generation with the help of diffusion model. In our approach, we introduce continuous latent variables into the diffusion model. The problem of using latent variables in the dialog task is how to build both an effective prior of the latent space and an inferring process to obtain the proper latent given the context. By combining the encoder and latent-based diffusion model, we encode the response's latent representation in a continuous space as the prior, instead of fixed Gaussian distribution or simply discrete ones. We then infer the latent by denoising step by step with the diffusion model. The experimental results show that our model greatly enhances the diversity of dialog responses while maintaining coherence. Furthermore, in further analysis, we find that our diffusion model achieves high inference efficiency, which is the main challenge of applying diffusion models in natural language processing.
[ -0.3914038836956024, -1.3304884433746338, 0.6131144762039185, 0.13273605704307556, -0.34959787130355835, 0.19972580671310425, 0.06821608543395996, -0.07424504309892654, 0.11300407350063324, 0.4551534652709961, -0.6817644834518433, -0.46137678623199463, -0.572064995765686, -0.12514597177505493, -0.10221298038959503, 1.0390427112579346, 0.3507365584373474, 0.14369156956672668, -0.23142461478710175, -0.08211291581392288, -0.5986071825027466, -0.20404674112796783, -0.6634405255317688, -0.1913944035768509, 0.18571071326732635, -0.09306959807872772, 0.7212026715278625, -0.11454866826534271, 0.09454233944416046, 0.30062586069107056, -0.41304394602775574, 0.19053272902965546, -0.578970730304718, 0.3437502086162567, 0.11015699803829193, -0.41293713450431824, -0.3849940896034241, -0.06457981467247009, 0.7895079255104065, 0.9918013215065002, -0.3250616490840912, -0.28760001063346863, -0.011649910360574722, 0.18744689226150513, -0.3241061866283417, -0.2991671860218048, -0.41444456577301025, 0.3117579221725464, 0.07916871458292007, -0.08005807548761368, -0.11928567290306091, -0.5294199585914612, 0.564669668674469, -0.543683648109436, 0.28278541564941406, -0.14217615127563477, 0.3520853519439697, 0.12782840430736542, -0.587966799736023, -0.4206373691558838, -1.036738634109497, 0.790332019329071, -0.8767380714416504, 0.19101722538471222, 0.1437690258026123, 0.2934863567352295, -0.22418330609798431, -0.4303722679615021, -0.7268988490104675, -0.028849249705672264, 0.2318394035100937, 0.40015649795532227, -0.21532513201236725, -0.10572747141122818, -0.09667661786079407, 0.4603870213031769, -0.5590296983718872, -0.26914212107658386, -0.2924635410308838, -0.15877903997898102, 0.1180110052227974, 0.28689873218536377, 0.32845407724380493, 0.06765090674161911, -0.1450957953929901, 0.3828061521053314, -0.26104435324668884, -0.14078496396541595, 0.5409365892410278, 0.18346618115901947, -0.2576839327812195, 0.06137709319591522, -0.1480022370815277, 0.8266264796257019, 0.20799867808818817, -0.2796536982059479, 0.0831850916147232, -0.5425836443901062, -0.08662809431552887, -0.28884726762771606, 0.5110329985618591, 0.32418936491012573, -0.18299445509910583, -0.12074808776378632, 0.1348264366388321, -0.1542329341173172, 0.11037664115428925, -0.9270997047424316, -0.053469136357307434, 0.07174964994192123, -0.5971200466156006, -0.34115445613861084, -0.3030130863189697, -1.1222540140151978, -0.2227117419242859, 0.019992578774690628, 0.05488251894712448, -0.13472381234169006, -0.49460384249687195, -0.035390704870224, -0.19602884352207184, -0.207651749253273, 1.0140429735183716, -0.6811542510986328, 0.5566944479942322, 0.3047676086425781, 0.9960961937904358, -0.21724852919578552, 0.4165705144405365, -0.5351879000663757, 0.03463338688015938, -0.017430191859602928, 0.7657964825630188, -1.078094720840454, -0.7793081998825073, -0.0644959881901741, -0.3904104232788086, 0.02498823218047619, -0.6459762454032898, 0.007928533479571342, -0.4719197154045105, 0.8764317631721497, 0.23993419110774994, -0.7522107362747192, -0.306961327791214, 0.2434219866991043, -0.5413906574249268, 0.6585231423377991, 0.27249962091445923, -0.6238001585006714, 0.2236265242099762, -0.8681268095970154, -0.07329680025577545, 0.3861256241798401, -0.3084075152873993, -0.32600000500679016, 0.00017713069973979145, 0.07777100056409836, 0.16273215413093567, -0.2829451262950897, 0.4591861963272095, -0.3580944836139679, 0.11048011481761932, 0.31388428807258606, -0.8030655384063721, 0.6982313394546509, 0.2759023904800415, 0.008973930962383747, -0.06234768405556679, -0.5073843598365784, -0.32480186223983765, -0.17554733157157898, -0.30490657687187195, -0.28593799471855164, -0.08501225709915161, -0.08460870385169983, 0.1373937427997589, 0.08059275150299072, -0.5989676713943481, 0.20390859246253967, -0.4731655418872833, 0.31584349274635315, 0.5038482546806335, 0.580952525138855, 0.9506927728652954, -0.22152864933013916, 0.6794402599334717, 0.41790345311164856, 0.028782246634364128, -0.1924796849489212, -1.0627211332321167, -0.433902382850647, -0.34330302476882935, 0.18079185485839844, 0.6387597322463989, -0.44104069471359253, 0.4809008240699768, 0.02352067083120346, -0.18208496272563934, -0.248311385512352, 0.25725260376930237, -0.08344997465610504, 0.5322831273078918, -0.039646681398153305, -0.5115253925323486, -0.22472187876701355, -0.5476388931274414, 0.3186224400997162, -0.12756586074829102, 0.012662571854889393, 0.696094274520874, 0.27325329184532166, -0.5816897749900818, 1.3791965246200562, -0.7155441045761108, 0.016267506405711174, -0.334347665309906, 0.42709654569625854, 0.0828639566898346, 0.6057276725769043, 0.5558753609657288, -0.8633685111999512, -0.4853878319263458, -0.2246299684047699, -0.5433383584022522, -0.14293284714221954, -0.30295196175575256, -0.36876872181892395, -0.2158689647912979, 0.27808770537376404, -0.41857409477233887, 0.5188243389129639, 0.7548233866691589, -0.42966678738594055, 0.2227921038866043, -0.09140363335609436, 0.06812331825494766, -1.2251654863357544, -0.26305851340293884, -0.004485580138862133, -0.4581381678581238, -0.8566465973854065, -0.33049556612968445, -0.6065952181816101, -0.3784337043762207, -0.32181650400161743, 0.7831887602806091, -0.1541462391614914, 0.40611398220062256, -0.20623575150966644, 0.13655197620391846, -0.024576246738433838, 0.5741861462593079, 0.07084083557128906, 0.6845992803573608, 0.5019795298576355, -0.6764368414878845, 0.09718930721282959, 0.4222782254219055, -0.15770231187343597, 0.6750805377960205, -0.42735931277275085, 0.12178625911474228, -0.4405038058757782, 0.6756309270858765, -1.329771876335144, 0.060227807611227036, 0.47346991300582886, -0.21088770031929016, -0.00038272063829936087, -0.26766321063041687, -0.24469256401062012, 0.0333232507109642, -0.0133652463555336, 0.6671329736709595, 0.608586847782135, -0.30685538053512573, 0.795936107635498, 0.28293415904045105, -0.651440441608429, 0.015913531184196472, -0.2941434681415558, -0.06620075553655624, -0.3121304214000702, -0.9043624997138977, 0.28241002559661865, -0.6068935394287109, -0.2563740313053131, -0.06776722520589828, -0.10100468248128891, -0.5892190337181091, 0.008097763173282146, 0.2748594284057617, 0.24823732674121857, -0.148529052734375, 0.16276083886623383, 0.2149336040019989, 0.08269055932760239, -0.3082426190376282, -0.3618564009666443, 0.5601733326911926, 0.2073439210653305, -0.24196533858776093, -0.38172048330307007, 0.7693044543266296, 0.3739713132381439, 0.14401432871818542, 0.6541589498519897, 0.5738062262535095, -0.19186300039291382, -0.23646995425224304, -0.4702467918395996, -0.1880125105381012, -0.47941166162490845, 0.17916788160800934, -0.051991820335388184, -1.3151682615280151, 0.5721794366836548, -0.5972774028778076, 0.18407195806503296, 0.024973344057798386, 0.708362877368927, -0.20298366248607635, 0.8753483891487122, 0.5693652629852295, 0.2582981586456299, 0.9031163454055786, -0.1692989021539688, 0.40870755910873413, -0.7819767594337463, -0.006489449180662632, -0.25125443935394287, 0.029884275048971176, -0.23433563113212585, -1.0348280668258667, 0.3620489537715912, 0.14672589302062988, 0.2363622486591339, -0.2822781205177307, -0.327213317155838, 0.1723577231168747, 0.2945247292518616, 0.18111269176006317, 0.40961411595344543, 0.18467915058135986, -0.2625463306903839, -0.2921473979949951, -0.5907317399978638, -0.680910587310791, 0.8027499318122864, 0.4137992262840271, 0.8498573303222656, 0.36396071314811707, 0.821352481842041, 0.5305860638618469, 0.1858750432729721, -0.46975162625312805, 0.47676727175712585, -0.10616136342287064, -0.5477994084358215, -0.32986319065093994, -0.5882018804550171, -1.0629216432571411, 0.5433515906333923, -0.20456354320049286, -0.9209740161895752, 0.12003889679908752, 0.06197537109255791, -0.5865253806114197, 0.06888226419687271, -0.5679864287376404, 0.6647616028785706, 0.1482958197593689, -0.2917804718017578, -0.422272652387619, -0.28800690174102783, 0.29335102438926697, -0.03963879123330116, 0.2924865186214447, -0.1714434027671814, 0.22695648670196533, 0.6920398473739624, -0.5634799003601074, 1.1989567279815674, -0.3656395971775055, -0.16633133590221405, 0.6720858216285706, 0.08648747950792313, 0.3590758144855499, 0.5664001107215881, 0.20439448952674866, -0.013552063144743443, -0.2992681860923767, -0.30261585116386414, -0.7647226452827454, 0.3477727174758911, -0.6317116022109985, -0.5987750291824341, -0.034302107989788055, -0.4828982949256897, -0.1452902853488922, 0.01979786902666092, 0.16405031085014343, 0.5893594026565552, -0.6929672956466675, 0.07939551770687103, 0.8059028387069702, -0.3494636118412018, 0.37690120935440063, 0.45416906476020813, -0.14832842350006104, -0.3032001852989197, 0.7001970410346985, -0.07481001317501068, 0.5256174802780151, 0.2703651785850525, 0.3162531852722168, -0.07337001711130142, -0.47695326805114746, -0.2610473930835724, 0.0889485776424408, -0.6445673108100891, 0.0953933447599411, -1.1713098287582397, -0.13669797778129578, -0.38890066742897034, -0.30843669176101685, -0.1565389782190323, -0.526814877986908, -0.6178743243217468, 0.29808226227760315, 0.15821179747581482, 0.7184033989906311, 0.18885661661624908, 0.7076169848442078, -0.8344395756721497, 0.5263822078704834, 0.8531742691993713, 0.21931388974189758, 0.08030328154563904, -0.5715309977531433, 0.0354374535381794, 0.17777103185653687, -0.4606107473373413, -0.8044223785400391, 0.5555610060691833, 0.2235514521598816, 0.8062110543251038, 0.4008547067642212, -0.30226024985313416, 0.6573415398597717, -0.5892276763916016, 1.057906150817871, 0.46323999762535095, -0.7527945041656494, 0.5789486765861511, -0.3693064749240875, 0.579006552696228, 0.3492049276828766, -0.04088112711906433, -0.634428083896637, -0.883665144443512, -0.7355421781539917, -0.714743435382843, 0.2997547686100006, 0.4916073977947235, 0.3475547134876251, -0.0467754565179348, 0.009612279012799263, 0.5589653849601746, 0.2535954415798187, -0.5164052248001099, 0.013890511356294155, -0.26824796199798584, -0.22311528027057648, 0.3413422703742981, -0.20403772592544556, -0.21380068361759186, -0.026015106588602066, 0.27226248383522034, -0.03959812968969345, 0.5331537127494812, 0.11382802575826645, -0.2593652307987213, -0.0053497180342674255, 0.4820433557033539, 0.6589573621749878, 0.21492476761341095, -0.25256770849227905, -0.15813514590263367, 0.15746760368347168, -0.4943144619464874, 0.04007469862699509, -0.21644091606140137, -0.30473092198371887, 0.3424517810344696, 0.06851010769605637, 0.9165278077125549, 0.09767326712608337, -0.37375113368034363, 0.4449610412120819, -0.4211939871311188, -0.1239708736538887, -0.1657894104719162, 0.23088277876377106, 0.19766588509082794, 0.3422267735004425, 0.3617938756942749, 0.44597533345222473, 0.4381956458091736, -0.4536556899547577, 0.08341801911592484, 0.4905240833759308, -0.13985925912857056, -0.35560333728790283, 0.5527425408363342, 0.7552962899208069, -0.5250512361526489, 0.4543222188949585, -0.3679679036140442, -0.4165427088737488, 0.5529319047927856, 0.48808273673057556, 1.0094572305679321, -0.032653409987688065, 0.5684274435043335, 0.35397645831108093, -0.1812727153301239, -0.014131814241409302, 0.06753039360046387, -0.5378152132034302, -0.9720301032066345, -0.16018186509609222, -0.6531471014022827, -0.6540265083312988, -0.003205952700227499, -0.2051241099834442, -0.42638739943504333, -0.6241519451141357, -0.4686923325061798, 0.006162055768072605, -0.2067476361989975, -0.7152635455131531, 0.06950628757476807, 0.28840741515159607, 0.46326130628585815, -0.8297239542007446, 0.5620059967041016, 0.3353654444217682, -0.21193630993366241, -0.17244316637516022, 0.3187468647956848, 0.055010370910167694, -0.31407293677330017, 0.7110322117805481, -0.03831902891397476, -0.09361421316862106, -0.2334781140089035, -0.6218463778495789, -0.821320652961731, 0.7799282670021057, 0.008616035804152489, -0.5465970039367676, 0.0550154484808445, -0.07675468921661377, 0.5177348256111145, -0.9297090768814087, 0.23924463987350464, 0.16962559521198273, 0.264823317527771, 0.4270552694797516, -0.6552501320838928, -0.1138981282711029, -0.3095269501209259, 0.3330438435077667, -0.12471477687358856, -0.5325880646705627, 0.8393942713737488, 0.030792057514190674, -0.3612958788871765, 0.14846684038639069, 0.5960124731063843, 0.2859047055244446, 0.15569479763507843, 0.7324668169021606, 0.21143509447574615, 0.8746691942214966, 0.11219469457864761, 0.6433141827583313, 0.012039738707244396, 0.20986509323120117, 1.1397382020950317, -0.3412044942378998, 0.42497503757476807, 0.3405101001262665, -0.1057262048125267, 0.8801489472389221, 0.24748492240905762, 0.04762141406536102, 0.6633477807044983, 0.02959255874156952, -0.8181292414665222, -0.2143351286649704, -0.02084832265973091, -0.09681232273578644, 0.12515515089035034, 0.6358842849731445, -0.11339157074689865, -0.4963572323322296, 0.2059783637523651, -0.1295316517353058, -0.025977404788136482, 0.1985618621110916, 0.9464990496635437, -0.20104260742664337, -0.5908780694007874, 0.16435137391090393, -0.23096394538879395, 1.0132066011428833, -0.5146778225898743, -0.38621172308921814, -0.35882169008255005, -0.2569196820259094, -0.10092698782682419, -0.5059040188789368, 0.1367243379354477, -0.06440766900777817, -0.2631816565990448, -0.37363460659980774, 0.5655192136764526, -0.7498987317085266, -0.48411062359809875, 0.037555694580078125, 0.5635942220687866, 0.21603389084339142, 0.2652769684791565, -0.5865098237991333, -0.1397511512041092, 0.15712103247642517, -0.07192584872245789, 0.18295438587665558, 0.5620115399360657, -0.10095422714948654, 0.4955233633518219, 0.5970705151557922, 0.046280864626169205, 0.345468133687973, 0.42624107003211975, 0.7724257707595825, -0.5218547582626343, -0.9126204252243042, -0.45832905173301697, 0.7046251893043518, -0.3174532651901245, -0.3140321373939514, 0.36108875274658203, 0.3046104311943054, 0.23971468210220337, 0.012729153968393803, 1.0236929655075073, 0.10535655915737152, 0.558034360408783, -0.2300494909286499, 0.35931888222694397, -0.29200389981269836, 0.3010166883468628, -0.2639498710632324, -0.8803251385688782, -0.06429067254066467, 0.9620096683502197, -0.1782134771347046, 0.2528873682022095, 0.5033576488494873, 0.831754744052887, -0.08119550347328186, 0.15193216502666473, 0.4713175594806671, 0.09561974555253983, 0.6248763799667358, 0.4109247326850891, 0.9109739065170288, -0.17831824719905853, 0.4962518811225891, 0.2239261418581009, -0.4685092270374298, -0.24487589299678802, -0.5132064819335938, -1.0021039247512817, -0.3466081917285919, -0.5786879658699036, -0.13525287806987762, -0.10426042973995209, 0.6288984417915344, 0.8877996802330017, -0.6128305196762085, -0.1284104734659195, -0.4069119989871979, 0.13120588660240173, 0.14951743185520172, -0.2863403558731079, -0.4099068343639374, -0.3451407551765442, -0.9202947020530701, 0.2644461691379547, 0.642124354839325, 0.42679911851882935, -0.4673113524913788, -0.08769284933805466, -0.31315815448760986, 0.3637458384037018, 0.5608058571815491, 0.00729587534442544, -0.6858298778533936, -0.09426439553499222, -0.26329299807548523, -0.10947245359420776, 0.1640760451555252, 0.7737210988998413, -0.8006048798561096, 0.7247153520584106, 0.5174153447151184, 0.40078964829444885, 0.7610273361206055, -0.0095484284684062, 0.8983086943626404, -0.8598355054855347, 0.524284303188324, 0.3829108774662018, 0.10163920372724533, 0.33429357409477234, -0.4965212941169739, 0.3437710106372833, 0.4195175766944885, -0.4014351963996887, -0.47289979457855225, 0.5370904207229614, -1.0198274850845337, -0.46789664030075073, 0.9928784966468811, -0.10107085108757019, 0.01076237391680479, -0.48162180185317993, -0.5337037444114685, 0.18779172003269196, -0.9230340719223022, 0.6006456017494202, 0.7151889204978943, -0.08108477294445038, -0.2591002285480499, -0.4550732374191284, 0.27375540137290955, 0.4754072427749634, -0.8858488202095032, -0.1299276202917099, 0.7711874842643738, 0.41576361656188965, 0.30005550384521484, 1.0630266666412354, 0.04918137937784195, 0.2542679011821747, 0.31779956817626953, -0.48014649748802185, 0.5678373575210571, -0.010869458317756653, -0.2992272973060608, 0.3391689956188202, -0.2277984619140625, -0.03328769654035568 ]
http://arxiv.org/abs/2404.06757v1
http://arxiv.org/pdf/2404.06757v1
Language Generation in the Limit
2024-04-10T05:53:25
2024-04-10T05:53:25
Jon Kleinberg, Sendhil Mullainathan
cs.DS
cs.DS, cs.AI, cs.CL, cs.LG
Although current large language models are complex, the most basic specifications of the underlying language generation problem itself are simple to state: given a finite set of training samples from an unknown language, produce valid new strings from the language that don't already appear in the training data. Here we ask what we can conclude about language generation using only this specification, without further assumptions. In particular, suppose that an adversary enumerates the strings of an unknown target language L that is known only to come from one of a possibly infinite list of candidates. A computational agent is trying to learn to generate from this language; we say that the agent generates from L in the limit if after some finite point in the enumeration of L, the agent is able to produce new elements that come exclusively from L and that have not yet been presented by the adversary. Our main result is that there is an agent that is able to generate in the limit for every countable list of candidate languages. This contrasts dramatically with negative results due to Gold and Angluin in a well-studied model of language learning where the goal is to identify an unknown language from samples; the difference between these results suggests that identifying a language is a fundamentally different problem than generating from it.
[ -0.5763128399848938, -0.709258496761322, 0.6145016551017761, -0.08615658432245255, 0.1132701188325882, 0.25792673230171204, -0.40613237023353577, -0.8196382522583008, -0.03514333814382553, 0.7017824053764343, -0.45585012435913086, 0.06619247049093246, -0.47144612669944763, 0.329730361700058, -0.7559002041816711, 1.2626293897628784, 0.008015266619622707, -0.36914193630218506, -0.127964586019516, 0.0453152060508728, -0.36028409004211426, -0.3474119007587433, -0.6620445251464844, -0.2970150113105774, 0.28715068101882935, 0.5415336489677429, 0.5046418905258179, 0.730732798576355, 0.19150197505950928, 0.4061327278614044, 0.10589074343442917, -0.021670306101441383, -0.7089061141014099, 0.47227635979652405, -0.0430748276412487, -0.41701874136924744, 0.1299648880958557, 0.12315689027309418, 0.8335475325584412, 0.7045794725418091, 0.31298670172691345, 0.093730628490448, -0.10532627254724503, 0.4901268482208252, -0.4800913333892822, -0.18471230566501617, -1.152359962463379, -0.039626289159059525, -0.4077925682067871, -0.22773417830467224, -0.546812117099762, -0.21579837799072266, 0.0869419053196907, -0.40715479850769043, 0.6085935831069946, -0.13493773341178894, 0.9142030477523804, -0.1746203452348709, -0.27059581875801086, -0.6980629563331604, -1.1023004055023193, 0.7515932321548462, -0.5441145300865173, 0.09329336881637573, 0.2745417654514313, 0.4368550777435303, -0.19135348498821259, -0.49662116169929504, -0.6674854755401611, -0.6200755834579468, 0.40059617161750793, -0.21423788368701935, -0.2473873645067215, -0.15884225070476532, 0.7043156027793884, 0.4935078024864197, -0.5570166110992432, -0.004804063588380814, -0.7523279190063477, -0.07807081937789917, 0.8943370580673218, 0.013075239025056362, 0.45885366201400757, 0.10435333102941513, -0.18636813759803772, -0.17931720614433289, -0.8393361568450928, -0.15288802981376648, 0.5914627909660339, 0.5628029108047485, 0.12127766758203506, 0.7095642685890198, -0.036735352128744125, 0.6049280762672424, 0.09279510378837585, 0.039883069694042206, -0.07365782558917999, -0.06980276107788086, -0.02209087461233139, 0.08472239971160889, 0.6367241740226746, -0.07091512531042099, 0.45443296432495117, -0.27267199754714966, -0.3659951388835907, 0.09570932388305664, 0.18975956737995148, -0.7025171518325806, 0.1575651317834854, 0.09828941524028778, 0.1371978223323822, -0.34257054328918457, 0.3152241110801697, -0.478520005941391, -0.23339173197746277, 0.13520121574401855, 0.16737234592437744, -0.3811293840408325, -0.30843135714530945, -0.24418266117572784, -0.2997458279132843, 0.2772049903869629, -0.1799429953098297, -0.8324254751205444, 0.38455334305763245, 0.5362820029258728, 0.34673643112182617, -0.027893265709280968, -0.6070570349693298, -0.6087983846664429, -0.0064626699313521385, -0.6871023178100586, 0.5650145411491394, -0.6337119936943054, -0.2441210150718689, 0.2185111790895462, -0.03511078655719757, 0.030831480398774147, -0.7144755721092224, 0.017078908160328865, -0.6072837710380554, -0.11111471056938171, -0.3246995508670807, -0.6789892911911011, -0.04289745166897774, -0.1503506302833557, -0.7250778079032898, 0.717162549495697, 0.35487958788871765, -0.3460928201675415, 0.6588761806488037, -0.3378656804561615, -0.5509998202323914, 0.5450407266616821, -0.38509026169776917, -0.3236280083656311, 0.38405999541282654, -0.6572508811950684, 0.016391821205615997, -0.5877574682235718, 0.31825292110443115, -0.197435200214386, -0.17492014169692993, 0.6941869258880615, -0.3872360587120056, 0.5671182870864868, 0.5543928742408752, -0.4972401261329651, -0.09823724627494812, -0.705096423625946, 0.05081348121166229, 0.38692593574523926, -0.769611656665802, 0.04727517440915108, 0.0214698426425457, -0.15818127989768982, 0.16715697944164276, 0.22554466128349304, -0.9786947965621948, 0.07753705978393555, -0.5963323712348938, 0.2868102788925171, 0.6586745977401733, 0.07709380984306335, 0.3914374113082886, -0.42786329984664917, 0.7919569611549377, -0.2907005250453949, -0.30707135796546936, -0.1893710047006607, -0.45446181297302246, -0.8653900623321533, 0.2806207537651062, 0.3992846608161926, 0.34739330410957336, -0.5738827586174011, 0.33433210849761963, 0.06425366550683975, -0.33055827021598816, -0.2588227093219757, 0.2396569848060608, 0.4697498679161072, -0.08809976279735565, -0.21367569267749786, -0.18129339814186096, -0.7799227237701416, -0.8106876611709595, -0.38426655530929565, -0.15585172176361084, 0.007984118536114693, 0.3954816162586212, 0.4299706518650055, 0.06770683079957962, 0.8750814199447632, -0.3566322326660156, 0.28684213757514954, -0.7010723352432251, 0.04601450636982918, 0.12669406831264496, 0.6737447381019592, 0.4917762279510498, -0.5801818370819092, -0.9264297485351562, 0.34616023302078247, -0.6714918613433838, -0.09841263294219971, -0.28048187494277954, -0.014608439058065414, 0.3635813593864441, 0.596626341342926, -0.5570595860481262, 0.32741108536720276, 0.3729555308818817, -0.1103454977273941, 0.27178311347961426, -0.2598271369934082, -0.2872021198272705, -0.9851158857345581, 0.16866278648376465, -0.16094724833965302, -0.07778133451938629, -1.0647103786468506, 0.1935238540172577, -0.28271448612213135, -0.6566085815429688, -0.3785639703273773, 0.4955351948738098, -0.38046830892562866, -0.06051943078637123, -0.6011465787887573, 0.09446938335895538, -0.17782245576381683, 0.3468417823314667, -0.17379580438137054, 0.3827497959136963, 0.7511345148086548, -0.7372463345527649, 0.1706300973892212, -0.17919445037841797, -0.30228590965270996, -0.047323256731033325, -0.45328521728515625, 0.15027771890163422, -0.21702831983566284, 0.0128241665661335, -0.8071874976158142, -0.4495158791542053, 0.11962496489286423, -0.47922995686531067, 0.3639439344406128, 0.001413542777299881, -0.26485487818717957, -0.4651251435279846, 0.13206589221954346, 0.6248852014541626, 0.6837480068206787, -0.2131616771221161, 0.17710191011428833, 0.31607475876808167, 0.05130981653928757, -0.5111865997314453, -0.5250775218009949, -0.03463398665189743, -0.12163364142179489, -0.39170360565185547, 0.06507769227027893, -0.353424072265625, -0.5275108218193054, -0.08923708647489548, 0.1507473886013031, -0.018814705312252045, 0.22704654932022095, 0.2154150754213333, -0.08898476511240005, -0.21467699110507965, 0.25926488637924194, 0.011240045540034771, -0.04922523349523544, 0.10823003202676773, -0.35761559009552, 0.6542572975158691, -0.09916563332080841, -0.39543259143829346, 0.3004501461982727, 0.8592158555984497, 0.54946368932724, -0.4004226326942444, 0.5109131336212158, 0.24935229122638702, -0.37015366554260254, -0.5122769474983215, -0.37249988317489624, 0.011316775344312191, -0.5260917544364929, 0.46653425693511963, -0.626484215259552, -0.7120853662490845, 0.4782203733921051, 0.2597509026527405, 0.23131489753723145, 0.8598745465278625, 0.4523378014564514, 0.4007437527179718, 1.1057628393173218, 0.8192757964134216, 0.18373443186283112, 0.3488071858882904, -0.18673187494277954, 0.14173690974712372, -0.33107972145080566, 0.030551351606845856, -0.6205480098724365, 0.0006827698089182377, -1.013260006904602, -0.10969867557287216, 0.15087060630321503, 0.20815017819404602, -0.32807308435440063, 0.5002338886260986, -0.39910390973091125, 0.8939306139945984, 0.7549120783805847, -0.1991848200559616, -0.062201861292123795, 0.12316835671663284, -0.018951617181301117, 0.2929198443889618, -0.7416888475418091, -0.3732995092868805, 1.1813238859176636, 0.16040422022342682, 0.3360235393047333, 0.16280223429203033, 0.9694572687149048, 0.1383690983057022, 0.3097783029079437, -0.585494339466095, 0.6851323246955872, -0.15518005192279816, -0.962522566318512, -0.4491460919380188, -0.531846821308136, -1.3024921417236328, -0.09407840669155121, -0.2498234361410141, -0.6445005536079407, 0.1108265221118927, -0.13548320531845093, -0.12665174901485443, 0.33579543232917786, -0.25771304965019226, 0.684766411781311, -0.3509414494037628, -0.23195861279964447, -0.05954977869987488, -0.3827120065689087, 0.4476976692676544, -0.4691113233566284, -0.05143425613641739, -0.11457520723342896, 0.28878775238990784, 0.7642594575881958, -0.5093017816543579, 0.6458905935287476, -0.10487084090709686, -0.29364922642707825, 0.9355363845825195, 0.2480504959821701, 0.5667567253112793, -0.3133082687854767, 0.01390080340206623, -0.4136529564857483, -0.41524481773376465, -0.4705923795700073, -0.16509586572647095, 0.5340394973754883, -0.672735333442688, -0.7325079441070557, -0.2664925456047058, -0.6920310854911804, 0.12584885954856873, 0.4881840944290161, 0.8102056384086609, 0.3460032343864441, -0.3087364435195923, 0.06916023790836334, 0.4844433665275574, -0.6609576344490051, 0.4737577736377716, 0.6599406599998474, -0.2989756464958191, -0.05770609527826309, 1.538966417312622, 0.32476672530174255, 0.49998363852500916, 0.2587393522262573, 0.2487025111913681, 0.003919902257621288, -0.527195155620575, -0.44731879234313965, 0.4200701117515564, -0.7306284308433533, 0.1855240911245346, -0.265627384185791, -0.5906981825828552, -0.2576204836368561, -0.11326391249895096, -0.22371605038642883, -0.15019896626472473, -0.09265214204788208, -0.05987007915973663, 0.05847089737653732, 1.1988980770111084, -0.22755716741085052, 0.11545389145612717, -0.6795541644096375, -0.06534475088119507, 0.6224911212921143, 0.12153084576129913, 0.08286755532026291, -0.5093008279800415, -0.5795413255691528, 0.07901691645383835, -0.44849663972854614, -0.9301986694335938, 0.27984610199928284, 0.3609669804573059, 0.5778802037239075, 0.5247847437858582, 0.09162402153015137, 0.33033841848373413, -0.6132987141609192, 0.6443996429443359, 0.10040606558322906, -0.953460156917572, 0.39387044310569763, -0.466977596282959, 0.37757036089897156, 0.4263441562652588, 0.4112183749675751, -0.4786964952945709, -1.086592197418213, -1.1717737913131714, -0.7361937761306763, 0.5842196345329285, 0.24510127305984497, 0.3891725242137909, -0.35620221495628357, 0.3406212329864502, 0.3209681212902069, 0.2690013647079468, -0.885074257850647, -0.09520941972732544, 0.004988098982721567, 0.15952661633491516, -0.21516360342502594, -0.18888723850250244, -0.011938815005123615, 0.189096137881279, 0.4280116856098175, -0.01715274713933468, 0.2946747839450836, -0.20230334997177124, -0.07946553826332092, -0.8176466226577759, 0.37954941391944885, 0.7786251306533813, 0.8769857287406921, 0.06477563828229904, 0.17365100979804993, 0.043179526925086975, -0.07930967211723328, 0.18188460171222687, -0.13353979587554932, -0.3388519585132599, 0.009705201722681522, 0.4698880910873413, 0.973146915435791, -0.38802239298820496, -1.1514849662780762, 0.39103367924690247, 0.2446843981742859, -0.4789527952671051, -0.5474724769592285, 0.34749969840049744, -0.1834060102701187, 0.267659068107605, 0.5362539887428284, 0.10228841006755829, -0.07001422345638275, -0.7659788131713867, 0.5030450224876404, 0.5902552008628845, -0.17974665760993958, -0.3719027042388916, 0.7128707766532898, 0.01480579562485218, -0.6410962343215942, 0.7353737950325012, -0.4719763696193695, -0.40245598554611206, 0.8664214015007019, 0.9432461857795715, 0.9621671438217163, -0.1582765132188797, 0.37173664569854736, 0.5446521639823914, 0.3523698151111603, 0.17410221695899963, 0.2889596223831177, -0.16049720346927643, -0.8400156497955322, -0.38129478693008423, -0.6188066601753235, -0.19953951239585876, 0.4675823152065277, -0.546217679977417, -0.2721201777458191, -0.4265255630016327, -0.13203251361846924, 0.1016123965382576, -0.16616304218769073, -0.3677654266357422, 0.14354188740253448, 0.3731652498245239, 0.4923039674758911, -1.0307697057724, 0.583040714263916, 0.2791333794593811, -0.5222264528274536, -0.7336199879646301, 0.03883986920118332, -0.43453723192214966, -0.710021436214447, 0.6738946437835693, 0.23582769930362701, 0.18395745754241943, -0.2043333798646927, -0.6992177367210388, -0.874614417552948, 0.5688124895095825, 0.5675786137580872, -0.4438287019729614, 0.10984465479850769, 0.5293055176734924, 0.6462464928627014, -0.4156317114830017, -0.26763075590133667, 0.41969600319862366, 0.3492821455001831, 0.15524333715438843, -0.5514127612113953, 0.22526630759239197, -0.5157331228256226, -0.1266489326953888, 0.533735454082489, -0.39832890033721924, 1.322328805923462, -0.18925651907920837, -0.6341291666030884, 0.3757174015045166, 0.46004295349121094, 0.23997144401073456, 0.007776842452585697, 0.48498645424842834, 0.274903267621994, 0.639409601688385, 0.14093856513500214, 1.1451457738876343, -0.408383309841156, 0.08242608606815338, 0.8408142924308777, -0.23622877895832062, 0.5838732719421387, 0.11267728358507156, -0.12375231087207794, 0.27173474431037903, 0.5636151432991028, -0.16889148950576782, -0.01676631160080433, 0.6233171820640564, -0.4227187931537628, -0.3301791846752167, -0.2407144457101822, -0.4675077795982361, 0.4647122919559479, 0.1756249964237213, -0.5988420248031616, -0.32520774006843567, 0.042153529822826385, -0.020897895097732544, 0.005743151996284723, -0.07497432827949524, 0.8033337593078613, 0.022751059383153915, -1.071221947669983, 1.0556691884994507, 0.013387415558099747, -0.0000372864305973053, -0.5621200799942017, -0.01640934683382511, -0.08891692012548447, 0.06895818561315536, 0.007696794345974922, -0.4965817630290985, 0.07128553092479706, 0.20864027738571167, -0.3071867823600769, -0.052625373005867004, 0.6400352716445923, -0.729886531829834, -0.5396429300308228, -0.025645701214671135, 0.47614437341690063, 0.5992128849029541, 0.12100721895694733, -0.34875407814979553, -0.09231963753700256, 0.21794050931930542, -0.05509409308433533, 0.5907630920410156, 0.560610830783844, 0.012883909977972507, 0.46668514609336853, 0.4911454916000366, 0.34584492444992065, 0.24766284227371216, -0.09304392337799072, 0.6331271529197693, -0.43324267864227295, -0.3411984443664551, -0.7180472612380981, 0.2558848261833191, 0.0844472199678421, -0.4434371590614319, 0.774920642375946, 0.38895183801651, 0.971785306930542, -0.2625463902950287, 1.1924304962158203, -0.35152536630630493, 0.34680214524269104, -0.1871488094329834, 0.3252317011356354, -0.5484119653701782, 0.2438134402036667, -0.2863316535949707, -0.999082088470459, 0.08971396088600159, 0.27979427576065063, -0.0874648466706276, 0.13099026679992676, 0.7095043659210205, 0.6744472980499268, 0.37436968088150024, -0.2054828703403473, 0.4100850820541382, 0.17344936728477478, 0.24853456020355225, 0.7553176879882812, 1.0284466743469238, -0.24637754261493683, 0.7211388945579529, -0.02993742749094963, -0.10776229202747345, 0.1255209892988205, -0.3462587594985962, -0.6762686371803284, -0.7204117774963379, 0.08388277888298035, -0.41761407256126404, -0.2665485143661499, 0.6243772506713867, 0.2445279061794281, -0.7629985213279724, -0.8458675742149353, -0.6750261783599854, -0.001310175284743309, -0.24032722413539886, -0.20030611753463745, -0.029118621721863747, -0.3868371248245239, -0.8320619463920593, 0.578925371170044, -0.04896176978945732, 0.2903551459312439, -0.412911593914032, -0.30787143111228943, -0.018451720476150513, 0.39417701959609985, 0.37392669916152954, 0.9310466051101685, -0.45851823687553406, -0.2703019976615906, -0.18059656023979187, 0.003296523354947567, -0.043014317750930786, 0.9888548254966736, -0.4801620543003082, 0.49747538566589355, 0.545219361782074, 0.6133208274841309, 0.573376476764679, -0.29740291833877563, 0.9367993474006653, -0.8066641688346863, -0.030609827488660812, 0.1962580680847168, 0.03609701246023178, -0.028654616326093674, -0.20768816769123077, 0.17109274864196777, 0.1254328191280365, -0.459301620721817, -1.0229920148849487, 0.9641094207763672, -0.5390059351921082, -0.515752375125885, 1.0900466442108154, -0.012417789548635483, -0.145122691988945, -0.11707410216331482, 0.053756605833768845, 0.426173597574234, -0.2796104848384857, 0.5214695930480957, 0.43419212102890015, -0.07809767872095108, 0.2719316780567169, -0.4836276173591614, 0.6148937940597534, 0.29802206158638, -0.5186343193054199, 0.12492599338293076, 0.2981763780117035, 0.12334660440683365, 0.5029032826423645, 0.6831409931182861, 0.14016734063625336, 0.3729890286922455, 0.4064088761806488, -0.142389178276062, 0.22223210334777832, -0.5771363973617554, -0.04990140721201897, 0.4308047890663147, 0.5089280605316162, -0.005044471472501755 ]
http://arxiv.org/abs/2404.06742v1
http://arxiv.org/pdf/2404.06742v1
Transferable and Efficient Non-Factual Content Detection via Probe Training with Offline Consistency Checking
2024-04-10T05:00:35
2024-04-10T05:00:35
Xiaokang Zhang, Zijun Yao, Jing Zhang, Kaifeng Yun, Jifan Yu, Juanzi Li, Jie Tang
cs.CL
cs.CL
Detecting non-factual content is a longstanding goal to increase the trustworthiness of large language models (LLMs) generations. Current factuality probes, trained using humanannotated labels, exhibit limited transferability to out-of-distribution content, while online selfconsistency checking imposes extensive computation burden due to the necessity of generating multiple outputs. This paper proposes PINOSE, which trains a probing model on offline self-consistency checking results, thereby circumventing the need for human-annotated data and achieving transferability across diverse data distributions. As the consistency check process is offline, PINOSE reduces the computational burden of generating multiple responses by online consistency verification. Additionally, it examines various aspects of internal states prior to response decoding, contributing to more effective detection of factual inaccuracies. Experiment results on both factuality detection and question answering benchmarks show that PINOSE achieves surpassing results than existing factuality detection methods. Our code and datasets are publicly available on this anonymized repository.
[ -0.2956959009170532, -0.5663960576057434, 0.5382620096206665, 0.09133702516555786, -0.04815877974033356, 0.08761326223611832, -0.22848175466060638, -0.4520113170146942, 0.309407114982605, 0.5275884866714478, -0.47113344073295593, -0.49459022283554077, -0.4801825284957886, 0.21866898238658905, -0.6185035109519958, 1.0664921998977661, -0.17262804508209229, -0.29187148809432983, -0.46012166142463684, -0.2656836211681366, -0.2205583155155182, -0.38430941104888916, -0.21810568869113922, -0.08310182392597198, -0.012488513253629208, 0.6545721292495728, 0.10418765246868134, 0.7537022233009338, 0.4770140051841736, 0.2756465673446655, 0.23785340785980225, 0.49322375655174255, -0.8546454906463623, 0.1724574714899063, -0.6294633150100708, -0.6212859153747559, -0.2803117036819458, 0.1086953654885292, 0.5587700605392456, 0.28115832805633545, -0.06036560237407684, 0.5035816431045532, -0.15406034886837006, 0.372016042470932, -0.7279149293899536, 0.21039290726184845, -0.8155595064163208, -0.30088093876838684, -0.05795322731137276, -0.2300928384065628, -0.6313109993934631, -0.8549368381500244, -0.04041901230812073, -0.5687788724899292, 0.6504716277122498, 0.3588455319404602, 1.0205961465835571, 0.2020408809185028, -0.49503976106643677, -0.601009726524353, -0.6709669232368469, 0.5212332010269165, -0.6732931733131409, 0.45960021018981934, 0.7354439496994019, 0.2469821274280548, -0.130840003490448, -0.7234353423118591, -0.905439555644989, -0.25933152437210083, -0.15228445827960968, 0.08204802125692368, 0.0962601825594902, -0.09798648208379745, 0.1584813892841339, 0.4241996705532074, -0.4684537351131439, -0.09655493497848511, -0.22411951422691345, -0.35949450731277466, 0.3935399651527405, -0.1082242876291275, 0.2177930325269699, -0.33052384853363037, -0.5828414559364319, -0.2647712826728821, -0.654801607131958, 0.2632578909397125, 0.29798242449760437, 0.18984133005142212, -0.15019004046916962, 0.4581489861011505, -0.2761547863483429, 0.24093998968601227, 0.4851546883583069, -0.3572164475917816, 0.009056196548044682, -0.5955528020858765, 0.10574763268232346, 0.396541953086853, 0.5989668369293213, 0.2665984630584717, -0.0819210410118103, -0.2571025788784027, -0.12812469899654388, 0.24876980483531952, 0.15038825571537018, -0.7575989961624146, -0.5971761345863342, 0.29351016879081726, -0.15639564394950867, -0.23894008994102478, 0.18301455676555634, -0.8655006289482117, -0.5177333950996399, -0.037271663546562195, 0.40729621052742004, -0.41086915135383606, -0.15476201474666595, 0.16792313754558563, 0.15029753744602203, 0.03667900338768959, 0.3712216019630432, -0.8508692979812622, 0.259789377450943, 0.7154673933982849, 0.868841290473938, -0.09973225742578506, -0.301194965839386, -0.8153400421142578, 0.295585960149765, -0.5333483219146729, 1.1080524921417236, -0.10935023427009583, 0.040609244257211685, -0.0508912056684494, 0.36770349740982056, -0.09693917632102966, -0.38206416368484497, 0.7335655093193054, -0.375499427318573, 0.05650755390524864, -0.7845802903175354, -0.9704712629318237, -0.35520002245903015, 0.6962249875068665, -0.5549436807632446, 1.2363260984420776, -0.030387217178940773, -0.983291506767273, 0.357346773147583, -0.48178425431251526, -0.3662741780281067, -0.04863729700446129, -0.09612540900707245, -0.4892173111438751, -0.11883444339036942, 0.17127549648284912, 0.3687385022640228, -0.20986364781856537, 0.477931946516037, -0.5814203023910522, -0.5679186582565308, 0.11924393475055695, -0.007786961272358894, 0.6046860814094543, -0.23475532233715057, -0.8175206184387207, -0.029526768252253532, -0.6572766304016113, -0.16636468470096588, 0.16459830105304718, -0.19554708898067474, -0.18572041392326355, 0.11063488572835922, -0.43810200691223145, 0.0723203495144844, 0.15589605271816254, -1.1303362846374512, 0.24184784293174744, -0.1174553856253624, 0.21495623886585236, 0.6164580583572388, 0.021572457626461983, 0.3458411693572998, -0.5962212681770325, 0.080329529941082, -0.049337781965732574, 0.2005561888217926, -0.24733608961105347, -0.450783371925354, -1.0459496974945068, -0.6585143804550171, 0.2403934895992279, 0.7587425708770752, -0.7368878722190857, 0.3888542354106903, -0.3759249448776245, -0.49672648310661316, -0.6790711879730225, 0.1852990686893463, 0.2686397135257721, 1.1330620050430298, 0.37892013788223267, 0.08170412480831146, -0.5123858451843262, -0.6289538741111755, 0.04447340592741966, -0.5744965076446533, 0.21421527862548828, 0.2493290901184082, 0.7374342083930969, -0.11156264692544937, 1.137895107269287, -0.4328121542930603, -0.39289382100105286, 0.022033654153347015, 0.5836271643638611, 0.07404990494251251, 0.2732981741428375, 0.49841028451919556, -0.5321404337882996, -0.5353912711143494, -0.15229767560958862, -0.9319387078285217, -0.26038607954978943, -0.33443254232406616, -0.0016963816015049815, 0.2526015043258667, 0.4079800546169281, -0.4053134024143219, 0.43451204895973206, 0.7350960373878479, -0.17200787365436554, 0.6155716180801392, -0.42390844225883484, 0.5986026525497437, -0.8574731945991516, 0.19477291405200958, -0.2974637448787689, -0.6722673773765564, -0.465260773897171, -0.010209501720964909, 0.508998692035675, 0.16440412402153015, -0.4252091646194458, 0.4248661398887634, -0.5584210157394409, -0.051788266748189926, -0.37635862827301025, 0.31593775749206543, 0.30733636021614075, 0.30995216965675354, 0.005577939562499523, 0.8501992225646973, 0.4801950454711914, -0.46838098764419556, 0.5280295610427856, 0.5839982032775879, -0.1670699119567871, 0.784589409828186, -0.41625112295150757, 0.5002548098564148, -0.11066778749227524, 0.46427860856056213, -1.2590590715408325, -0.08804392069578171, 0.38540953397750854, -0.5927392840385437, 0.1682281196117401, -0.7074000239372253, -0.6645034551620483, -0.016613846644759178, -0.6516247987747192, 0.23081110417842865, 0.3659995496273041, -0.9589061737060547, 0.35682442784309387, 0.08790682256221771, 0.04125538840889931, -0.350594162940979, -0.5587354898452759, 0.025317076593637466, -0.0675520971417427, -0.7094953656196594, -0.008761896751821041, -0.11389470845460892, -0.021963147446513176, 0.01174770388752222, 0.01801113411784172, -0.3496024012565613, -0.09255138784646988, 0.2028864026069641, 0.4325295388698578, -0.3641152083873749, 0.22396375238895416, 0.06860634684562683, 0.23708155751228333, 0.1369861215353012, -0.42891043424606323, 0.16912169754505157, -0.2689511775970459, -0.5414140820503235, -0.6095658540725708, 0.2067158818244934, 0.47654908895492554, -0.2272191047668457, 0.9094474911689758, 0.4688822329044342, -0.4049730598926544, -0.32131168246269226, -0.8269044756889343, -0.4724694490432739, -0.5169395804405212, -0.09039833396673203, -0.16457577049732208, -0.8604477643966675, 0.60613614320755, -0.14323367178440094, -0.12462713569402695, 0.14775392413139343, 0.27659860253334045, -0.31637611985206604, 0.5136672854423523, 0.523147463798523, 0.08459514379501343, -0.043245431035757065, 0.0710744559764862, 0.2827197313308716, -0.5396732091903687, -0.30564984679222107, -0.4736224114894867, 0.03613065183162689, -0.5770309567451477, -0.5188896656036377, 0.13730251789093018, 0.021677521988749504, 0.1639765501022339, 0.40601420402526855, -0.2290334403514862, 0.37334001064300537, 0.25085675716400146, 0.21503683924674988, 0.5354886651039124, -0.283585786819458, 0.03787875920534134, -0.1865839809179306, -0.46413904428482056, -0.4157474637031555, 1.0923736095428467, 0.2998487651348114, 0.79010009765625, 0.13586172461509705, 0.47638046741485596, 0.6093977689743042, 0.4271579086780548, -0.6799273490905762, 0.4018341600894928, 0.025347299873828888, -0.8963948488235474, -0.19334152340888977, -0.6420748233795166, -0.5150790810585022, -0.14687860012054443, -0.43671518564224243, -0.6494636535644531, 0.38915595412254333, 0.4618799686431885, -0.028588049113750458, 0.854085385799408, -0.6088739633560181, 0.3363150358200073, -0.2926844656467438, -0.551373302936554, 0.18961076438426971, -0.5677268505096436, 0.574338436126709, -0.36718660593032837, 0.15334205329418182, -0.19667105376720428, 0.27848342061042786, 0.5123270750045776, -0.07728341221809387, 0.8641390204429626, -0.11703414469957352, -0.1159888356924057, 0.3298626244068146, 0.5513567924499512, 0.8948080539703369, 0.2703278958797455, 0.12287816405296326, 0.25852668285369873, 0.17495831847190857, -0.43661296367645264, -0.6124809384346008, 0.5892172455787659, -0.3828734755516052, -0.36151957511901855, -0.6263881325721741, -0.4741463363170624, -0.2724633514881134, 0.3229883909225464, 0.38270455598831177, 0.32532602548599243, 0.07000182569026947, 0.1372014433145523, 1.2073187828063965, -0.01390339620411396, 0.21984779834747314, 0.7904707193374634, -0.07248646765947342, -0.08713435381650925, 0.8934676647186279, -0.12434464693069458, 0.11979414522647858, 0.38817477226257324, 0.3326488435268402, -0.8300135135650635, -0.48538485169410706, -0.5948589444160461, 0.5278310179710388, -0.8052999377250671, -0.24580179154872894, -0.7067791223526001, 0.01458926685154438, -0.7376812100410461, -0.12855854630470276, -0.8449469804763794, -0.18475092947483063, -0.1680488884449005, -0.027581235393881798, 0.45497235655784607, 0.8933793902397156, -0.3565700054168701, 0.1506192982196808, -0.7866345047950745, 0.49012404680252075, 0.2902262806892395, 0.3240502178668976, -0.4282103180885315, -0.884290874004364, 0.012684674002230167, 0.1272193342447281, 0.09451419115066528, -0.9941380023956299, -0.03303581103682518, 0.3886289894580841, 0.41224297881126404, 0.5897402167320251, 0.662132740020752, 0.3275935649871826, -0.23457267880439758, 0.28962165117263794, -0.09340938925743103, -1.1589000225067139, 0.4371013045310974, -0.38695549964904785, -0.32546162605285645, 0.9371238946914673, 0.6647499799728394, -0.3979184925556183, -0.07320994883775711, -0.19280456006526947, -0.39530259370803833, 0.5887472629547119, 0.16258323192596436, -0.24404923617839813, 0.07172756642103195, 0.4850078821182251, 0.32206639647483826, 0.1461959034204483, -0.4684581160545349, -0.00416033947840333, -0.4251996874809265, -0.0046282000839710236, 0.18573056161403656, -0.18228940665721893, -0.29516685009002686, -0.06236928328871727, 0.6361424922943115, -0.3770666718482971, 0.3061036467552185, 0.4832998514175415, -0.4144541025161743, 0.13879181444644928, 0.09891059994697571, 0.5086355805397034, 0.6522984504699707, -0.6609353423118591, 0.4226040244102478, 0.24554584920406342, -0.5581767559051514, 0.49786919355392456, -0.11710122227668762, -0.1755967140197754, -0.03136148303747177, 0.29116761684417725, 0.4587761163711548, 0.09239096194505692, -0.5338219404220581, 0.8617542386054993, -0.3162234425544739, -0.2625766396522522, -0.14814482629299164, -0.20830141007900238, -0.05809139087796211, 0.11815978586673737, 0.012150680646300316, -0.24078814685344696, 0.21698695421218872, -0.6171033382415771, 0.5472965836524963, -0.04841932654380798, -0.33004093170166016, -0.5106639266014099, 0.5509269833564758, 0.10851537436246872, 0.13274088501930237, 0.8692741990089417, -0.6730414628982544, -0.7857800722122192, 0.32510286569595337, 0.6947064995765686, 0.43042758107185364, -0.22753380239009857, 0.5385185480117798, 0.2970852553844452, 0.5865858197212219, -0.3317387104034424, 0.33026251196861267, -0.07071049511432648, -0.7526808977127075, -0.32409846782684326, -0.25472399592399597, -0.7560222744941711, -0.005876278970390558, -0.7936249375343323, 0.22051924467086792, -0.6421517133712769, 0.03592829778790474, -0.48496052622795105, -0.1647907793521881, -0.19850178062915802, 0.4078432619571686, 0.09951537102460861, 0.7941537499427795, -1.0585243701934814, 0.863014817237854, 0.6497213244438171, -0.11615032702684402, -0.5907010436058044, 0.18190978467464447, 0.03600526973605156, -0.7040991187095642, 0.3997189402580261, 0.14273318648338318, -0.5019094944000244, -0.132181778550148, -0.5776040554046631, -0.7850337624549866, 0.9457346796989441, 0.7446615695953369, -0.35464611649513245, 0.19470766186714172, 0.2358582317829132, 0.2841290533542633, 0.12188053876161575, 0.3834386467933655, 0.41945144534111023, 0.3950830101966858, 0.23302730917930603, -0.6745419502258301, 0.40428364276885986, -0.0010878684697672725, -0.6665234565734863, 0.13035398721694946, -0.6460923552513123, 0.9009093642234802, -0.035548046231269836, -0.31913378834724426, -0.13452987372875214, 0.6570812463760376, 0.3924371600151062, 0.35469797253608704, 0.5427396297454834, 0.502834141254425, 1.1534430980682373, -0.08812753111124039, 0.7601765394210815, -0.3898549973964691, 0.8176481127738953, 1.3070403337478638, -0.5965781807899475, 0.8376456499099731, 0.1839538961648941, 0.16716839373111725, 0.5351793169975281, 0.5773333311080933, -0.17514589428901672, 0.3794194459915161, 0.038504865020513535, -0.2621941864490509, -0.3138647973537445, -0.3206939101219177, -0.34551525115966797, 0.6318793296813965, 0.10908564180135727, 0.21177057921886444, -0.295047402381897, -0.2641943097114563, 0.32797664403915405, 0.14440901577472687, 0.06602878123521805, 0.36647507548332214, -0.3048102855682373, -0.5682226419448853, 0.6478550434112549, -0.1166948601603508, 0.6294045448303223, -0.6711517572402954, -0.13193213939666748, -0.5939445495605469, 0.28102681040763855, -0.260593980550766, -0.6968027949333191, 0.2594943940639496, 0.03891059383749962, -0.12739655375480652, -0.11145426332950592, 0.9004940390586853, -0.2648497223854065, -0.28545844554901123, 0.520875871181488, 0.31954818964004517, 0.20627674460411072, -0.25541338324546814, -0.36322060227394104, -0.12783266603946686, -0.13878610730171204, 0.1359945684671402, 0.09821274876594543, 0.4335409104824066, -0.12210965156555176, 0.6875334978103638, 0.7993263602256775, 0.1551615446805954, 0.3543834984302521, -0.43271952867507935, 0.7802289724349976, -0.3418520987033844, -0.752223551273346, -0.443558931350708, 0.10641834884881973, -0.08547122776508331, -0.21328701078891754, 1.0118364095687866, 0.6064295172691345, 0.826933741569519, 0.18799762427806854, 0.7104061245918274, 0.0009962418116629124, 0.6886318922042847, -0.47443687915802, 0.9622538089752197, -0.36203232407569885, -0.04012267664074898, -0.03439674526453018, -0.6277664303779602, 0.11514130979776382, 0.39561283588409424, -0.11879190802574158, -0.2831496000289917, 0.9653152823448181, 0.7846601605415344, -0.4738137722015381, 0.2433290034532547, 0.3051550090312958, 0.2868216931819916, 0.3681849241256714, 0.33649584650993347, 0.8546765446662903, -0.32606208324432373, 0.4997918903827667, -0.4296537935733795, -0.42957642674446106, -0.1898326873779297, -1.1738642454147339, -1.2371200323104858, -0.3835531771183014, -0.2781415283679962, -0.3876315951347351, 0.06766831874847412, 0.6537216305732727, 1.0138001441955566, -1.1200648546218872, -0.21295101940631866, 0.15478238463401794, -0.19126668572425842, 0.24893254041671753, -0.1705929934978485, 0.47849997878074646, -0.09400900453329086, -0.30632057785987854, 0.5911011099815369, 0.3089395761489868, 0.01968231052160263, -0.20311637222766876, 0.20952771604061127, -0.5758338570594788, 0.3295726180076599, 0.19497503340244293, 0.5224125385284424, -0.22616702318191528, -0.4281715452671051, 0.25012487173080444, 0.007828286848962307, 0.38325631618499756, 0.8161745667457581, -0.44942837953567505, 0.7060091495513916, 0.7317512631416321, 1.0245587825775146, 0.707780122756958, 0.29760047793388367, 0.09452825039625168, -0.7226065397262573, 0.023948632180690765, 0.05037952959537506, 0.21161513030529022, 0.6472607254981995, -0.7670645117759705, 0.15199051797389984, 0.6140132546424866, -0.5613025426864624, -0.789584755897522, 0.1094931960105896, -0.85625159740448, -0.04505079612135887, 0.8927273750305176, -0.8085871338844299, -0.3614293038845062, -0.3770659565925598, 0.16606786847114563, 0.43274176120758057, -0.2880127429962158, 1.0686923265457153, 0.5566872358322144, -0.28853678703308105, -0.03573349490761757, -0.5450683832168579, 0.31953251361846924, 0.4855482876300812, -1.290313959121704, -0.12237506359815598, 0.14451110363006592, 0.6247410774230957, 0.040289975702762604, 0.45172297954559326, 0.16698025166988373, 0.10672979801893234, 0.021747803315520287, 0.12251394242048264, -0.12131498754024506, -0.5591474771499634, -0.05100459232926369, 0.005920210387557745, -0.2953655421733856, -0.503206193447113 ]
http://arxiv.org/abs/2404.06723v1
http://arxiv.org/pdf/2404.06723v1
Global Contrastive Training for Multimodal Electronic Health Records with Language Supervision
2024-04-10T04:19:59
2024-04-10T04:19:59
Yingbo Ma, Suraj Kolla, Zhenhong Hu, Dhruv Kaliraman, Victoria Nolan, Ziyuan Guan, Yuanfang Ren, Brooke Armfield, Tezcan Ozrazgat-Baslanti, Jeremy A. Balch, Tyler J. Loftus, Parisa Rashidi, Azra Bihorac, Benjamin Shickel
cs.LG
cs.LG, cs.CL
Modern electronic health records (EHRs) hold immense promise in tracking personalized patient health trajectories through sequential deep learning, owing to their extensive breadth, scale, and temporal granularity. Nonetheless, how to effectively leverage multiple modalities from EHRs poses significant challenges, given its complex characteristics such as high dimensionality, multimodality, sparsity, varied recording frequencies, and temporal irregularities. To this end, this paper introduces a novel multimodal contrastive learning framework, specifically focusing on medical time series and clinical notes. To tackle the challenge of sparsity and irregular time intervals in medical time series, the framework integrates temporal cross-attention transformers with a dynamic embedding and tokenization scheme for learning multimodal feature representations. To harness the interconnected relationships between medical time series and clinical notes, the framework equips a global contrastive loss, aligning a patient's multimodal feature representations with the corresponding discharge summaries. Since discharge summaries uniquely pertain to individual patients and represent a holistic view of the patient's hospital stay, machine learning models are led to learn discriminative multimodal features via global contrasting. Extensive experiments with a real-world EHR dataset demonstrated that our framework outperformed state-of-the-art approaches on the exemplar task of predicting the occurrence of nine postoperative complications for more than 120,000 major inpatient surgeries using multimodal data from UF health system split among three hospitals (UF Health Gainesville, UF Health Jacksonville, and UF Health Jacksonville-North).
[ -0.09805407375097275, -0.5725774168968201, 0.6234774589538574, 0.09672653675079346, -0.44675055146217346, 0.13975830376148224, 0.15337194502353668, -0.5418303608894348, 0.4639100432395935, 0.3574272394180298, -0.6668341755867004, -0.6014288067817688, -0.5551367998123169, -0.08969592303037643, -0.01889188028872013, 1.4737828969955444, -0.20033906400203705, 0.26080653071403503, -0.10426868498325348, -0.5464361906051636, -0.11809885501861572, -0.6800083518028259, -0.3324212431907654, -0.3448898196220398, 0.7117395997047424, 0.06621599942445755, 0.49849966168403625, 0.550515353679657, 0.7276883125305176, 0.3204973638057709, 0.26976242661476135, 0.3425445854663849, 0.02888280525803566, 0.166669100522995, 0.11351639777421951, -0.1808953434228897, -0.31897836923599243, -0.5346947312355042, 0.4101221561431885, 0.4611015319824219, -0.2937045693397522, -0.015006264671683311, -0.10077317804098129, 0.44569969177246094, -0.3165286183357239, 0.32254546880722046, -0.25024500489234924, 0.5024024248123169, -0.1149030551314354, -0.6125181317329407, -0.1896561235189438, -0.11113195866346359, 0.2947653830051422, -0.6404578685760498, 0.47155508399009705, -0.10805625468492508, 0.854255199432373, 0.3108189105987549, -0.8515443205833435, -0.20292149484157562, -0.5877120494842529, 0.74613356590271, -0.23532220721244812, 0.42110365629196167, 0.08699941635131836, 0.6242989897727966, 0.37272074818611145, -0.8051591515541077, -0.21913863718509674, -0.10595232993364334, -0.27588021755218506, 0.42041414976119995, 0.21723218262195587, 0.2263152152299881, 0.032844237983226776, 0.5127047300338745, -0.5848069787025452, -0.030003255233168602, -0.08098281919956207, -0.09902048110961914, 0.2537747919559479, 0.5046988129615784, 0.19447112083435059, -0.0693693533539772, -0.692399799823761, -0.15249815583229065, -0.24881407618522644, -0.11867885291576385, -0.17371419072151184, 0.04511890560388565, -0.7840169668197632, 0.056190721690654755, 0.018220704048871994, 0.16601109504699707, 0.010625595226883888, -0.5248746871948242, 0.8359103798866272, -0.41738396883010864, -0.19624951481819153, 0.043025411665439606, 0.5730524659156799, 0.4890134632587433, -0.3003889322280884, -0.029205655679106712, -0.13788920640945435, 0.26830992102622986, 0.1911810040473938, -0.71285480260849, -0.38773950934410095, 0.2895616590976715, -0.6622551679611206, -0.11049675196409225, 0.06664802134037018, -0.9200353026390076, -0.625360369682312, -0.5120857357978821, 0.12649008631706238, -0.39628180861473083, -0.05173331871628761, 0.03324738144874573, 0.1567849963903427, -0.3211633265018463, 0.4703448712825775, -0.8119627237319946, 0.31436267495155334, 0.2360730916261673, 0.9028332829475403, 0.007555051706731319, -0.046222299337387085, -0.771859347820282, 0.3092207610607147, 0.08576716482639313, 0.5613309741020203, -0.43060529232025146, -0.33559954166412354, 0.17048974335193634, 0.18739768862724304, -0.1295015662908554, -0.5000578165054321, 0.2426822930574417, -0.18465998768806458, 0.20491519570350647, 0.2893352210521698, -0.17018374800682068, -0.13237500190734863, 0.4313852787017822, -0.85661381483078, 0.4824429154396057, 0.16229547560214996, -0.8364576101303101, 0.45972129702568054, -0.4305800199508667, -0.5698423981666565, -0.2033688724040985, -0.48840007185935974, -1.1468408107757568, -0.1075729951262474, 0.5083367824554443, 0.7234104871749878, -0.07570826262235641, 0.4917711913585663, -0.251987487077713, -0.10278034955263138, 0.1682872474193573, -0.3739762306213379, 0.4007071256637573, 0.174735426902771, -0.16525980830192566, 0.36349496245384216, -1.0362845659255981, -0.2949216961860657, 0.03749692812561989, -0.4800328016281128, -0.23460078239440918, -0.12391015887260437, 0.6017663478851318, 0.49874570965766907, -0.26322346925735474, -0.4506852626800537, -0.05386841669678688, -0.14463958144187927, 0.27825307846069336, 0.43809032440185547, 0.4123034179210663, 0.0083139194175601, -0.7133265733718872, 0.49990347027778625, 0.6282017827033997, 0.28884246945381165, -0.7007545232772827, -0.16266478598117828, -0.4860551357269287, -0.5106748938560486, -0.08439930528402328, 0.6222474575042725, -0.6425754427909851, 0.21145963668823242, -0.39036205410957336, -0.2329777479171753, -0.5349999070167542, 0.07403987646102905, 0.7572581171989441, 0.6994799375534058, 0.6774690747261047, -0.3158685564994812, -0.5442913174629211, -0.7967443466186523, 0.08240092545747757, 0.09048989415168762, -0.1245831623673439, 0.551009476184845, 0.39268431067466736, -0.6403553485870361, 0.15563707053661346, -0.30351191759109497, -0.8595777750015259, -0.052245356142520905, 0.3537006676197052, 0.15599796175956726, 0.5801893472671509, 0.3001818060874939, -0.9770897030830383, -0.415574312210083, 0.3524695932865143, -0.7510591149330139, 0.15850922465324402, -0.6340218782424927, 0.3103426396846771, 0.13749749958515167, 0.6136663556098938, -0.24659763276576996, 0.09009498357772827, 0.5719035267829895, -0.22960343956947327, -0.014117390848696232, -0.5225054621696472, 0.3163800537586212, -1.3389180898666382, 0.18844257295131683, 0.35490620136260986, -0.19924293458461761, -0.41137397289276123, -0.33063676953315735, 0.24829672276973724, -0.07577621936798096, -0.27105405926704407, 0.5581387877464294, -0.484019011259079, 0.2810399532318115, 0.44405490159988403, -0.05048348382115364, 0.21160733699798584, 0.4918122887611389, 0.012345983646810055, 0.07972767949104309, 0.16485115885734558, -0.3934957981109619, 0.3050721287727356, 0.26714053750038147, -0.32191184163093567, 0.8416182398796082, -0.3071528971195221, -0.21725137531757355, -0.320704847574234, 0.33656400442123413, -0.8045400977134705, -0.4232797622680664, 0.06820974498987198, -0.28242143988609314, 0.7532773613929749, -0.12560437619686127, -0.21168851852416992, -0.07445409893989563, -0.32986733317375183, 0.3484567701816559, 0.17771470546722412, -0.43079596757888794, 0.7758186459541321, 0.3854779005050659, -0.3700329661369324, -0.7057249546051025, -0.9198216795921326, -0.16931483149528503, -0.20999027788639069, -0.30178701877593994, 0.6988829970359802, 0.036022644490003586, -0.25596627593040466, 0.0646858736872673, -0.10774558037519455, -0.12798205018043518, -0.007035403046756983, 0.4332124590873718, 0.39409390091896057, -0.12722378969192505, 0.46929189562797546, 0.11905379593372345, -0.20393656194210052, -0.08317576348781586, 0.06374366581439972, 0.25630494952201843, 0.06285134702920914, -0.7343510389328003, -0.6218316555023193, 0.566475510597229, 0.5940057635307312, -0.18271256983280182, 0.3578493297100067, 0.7925941348075867, -0.41381388902664185, 0.11437807977199554, -0.7943704724311829, -0.11935567110776901, -0.35011109709739685, 0.7826012372970581, -0.1082051545381546, -0.807894229888916, 0.6979390382766724, 0.05124703794717789, 0.07059015333652496, 0.26341915130615234, 0.44817864894866943, -0.13223709166049957, 0.9953299164772034, 0.47019460797309875, -0.10968335717916489, 0.5813523530960083, -0.17020270228385925, -0.16586634516716003, -0.7066290974617004, -0.7876120805740356, -0.2549293041229248, -0.216457337141037, -0.7776539921760559, -0.34575003385543823, 0.6332895755767822, -0.3313613831996918, -0.27601784467697144, -0.4796125888824463, -0.2716929614543915, 0.1918911188840866, 0.11944673210382462, 0.6359017491340637, 0.22491636872291565, 0.12824563682079315, -0.3782021105289459, -0.23071779310703278, -0.31171804666519165, -0.03853346034884453, 0.8983107209205627, 0.2662043869495392, 0.8762579560279846, 0.0282012727111578, 0.6831217408180237, 0.4146122634410858, 0.2964136600494385, -0.4163041114807129, -0.03272836282849312, -0.3433266282081604, -0.20895928144454956, 0.10060777515172958, -0.3680882453918457, -0.8649886846542358, 0.3005619943141937, -0.388363242149353, -0.27303510904312134, 0.05944390222430229, 0.5573310256004333, -0.46214988827705383, 0.382440984249115, -0.63212651014328, 0.9417756199836731, -0.4125429093837738, -0.5050880312919617, -0.24766597151756287, -1.171011209487915, 0.06888564676046371, 0.13388022780418396, 0.3630881905555725, 0.10748545825481415, -0.30358055233955383, 0.21766680479049683, -0.10641048103570938, 1.0443065166473389, -0.12539002299308777, 0.2288317084312439, -0.23431266844272614, -0.04498307779431343, 0.17828214168548584, 0.2989901006221771, 0.41457661986351013, 0.14800018072128296, -0.13010933995246887, -0.2952811121940613, -0.31572747230529785, 0.7496013641357422, -0.6572027802467346, -0.12251607328653336, -0.5493002533912659, -0.5051180124282837, -0.32230144739151, 0.05879317596554756, 0.011463094502687454, 0.9428269267082214, -0.328742116689682, 0.19160905480384827, 0.712740421295166, -0.3661930561065674, 0.4366694688796997, 0.40343907475471497, 0.05761386454105377, -0.8671067953109741, 0.8418947458267212, -0.009678332135081291, -0.05225749313831329, 1.0190504789352417, 0.16633881628513336, -0.3612871766090393, -0.3893234431743622, -0.5328885912895203, 0.30298855900764465, -0.8714916110038757, -0.12863317131996155, -0.8607229590415955, -0.05943719297647476, -0.17864854633808136, -0.32612064480781555, 0.1640380322933197, -0.03667226806282997, -0.3711867332458496, -0.07809579372406006, 0.09866702556610107, 0.536577582359314, 0.21009944379329681, 0.09033499658107758, -1.1315386295318604, 0.39138251543045044, 0.18049077689647675, 0.39484214782714844, -0.20007839798927307, -0.34310978651046753, -0.37986916303634644, -0.6022884845733643, -0.48016977310180664, -0.5507861971855164, 0.5112545490264893, 0.4450071156024933, 0.6896551251411438, 0.747109055519104, -0.19479206204414368, 0.6677767634391785, -0.618943452835083, 0.5559800863265991, 0.6454506516456604, -0.6046490669250488, 0.5024439692497253, -0.341644823551178, 0.37318918108940125, 0.3990630805492401, 0.556336522102356, -0.7544647455215454, -0.10457143187522888, -0.614136815071106, -0.9395877718925476, 0.4642348885536194, -0.4838073253631592, -0.02372831292450428, -0.11509004980325699, 0.005671681370586157, 0.306907057762146, 0.3141041100025177, -0.7236162424087524, -0.2794205844402313, -0.3449515998363495, -0.656743049621582, -0.346225380897522, -0.24418841302394867, -0.16754800081253052, 0.2359904646873474, 0.3429846167564392, -0.3194236755371094, 0.1515946090221405, 0.3278150260448456, -0.19727860391139984, -0.015661513432860374, 0.5943412780761719, 0.7430391311645508, 0.4664192199707031, -0.18981067836284637, 0.309677392244339, -0.014974982477724552, -0.4298083484172821, 0.0348501093685627, 0.4913260042667389, 0.19913744926452637, 0.17720378935337067, 0.4821516275405884, 0.8404831290245056, 0.4446733295917511, -0.5447874665260315, 0.4956108033657074, 0.1136702299118042, -0.004779329057782888, -0.4219362139701843, -0.35600465536117554, -0.031131930649280548, 0.28202614188194275, 0.0794929713010788, 0.2046605795621872, 0.2949162721633911, -0.3134113848209381, 0.37047475576400757, 0.1462102234363556, -0.6869558691978455, -0.3403950035572052, 0.7400608658790588, 0.3200953006744385, 0.11597985029220581, 0.31347447633743286, 0.32433465123176575, -0.18795835971832275, 0.5648159980773926, 0.4303339719772339, 0.6819645762443542, -0.6536215543746948, 0.03556130453944206, 0.2864817976951599, 0.04650193452835083, 0.11351839452981949, 0.4066464602947235, -0.08215554803609848, -0.18170864880084991, -0.28497928380966187, -0.17289641499519348, -0.44884562492370605, 0.28051459789276123, -0.7537744045257568, 0.2394382655620575, -0.5622283220291138, -0.25239282846450806, -0.024782473221421242, -0.25772061944007874, -0.5720506310462952, 0.40640780329704285, 0.28133243322372437, 0.24994049966335297, -0.919409990310669, 0.5975115895271301, 0.8568099737167358, -0.6218194365501404, -0.239210307598114, 0.06604105234146118, 0.47630831599235535, -0.5344629883766174, 0.6518178582191467, 0.4856421649456024, -0.01881512999534607, -0.5158874988555908, 0.3308338522911072, -0.3387233316898346, 0.9653483033180237, 0.2518067955970764, -0.721152663230896, -0.15269185602664948, 0.00711348420009017, 0.593260645866394, -0.3037188947200775, 0.22324779629707336, 0.06619258970022202, -0.10331772267818451, -0.17229989171028137, -0.7996858358383179, -0.04018750414252281, -0.5306011438369751, -0.05709575489163399, 0.4403228461742401, -0.7577611804008484, 0.8209256529808044, -0.4541153013706207, -0.043300870805978775, -0.28333228826522827, 0.3363419771194458, 0.08467330783605576, 0.535731315612793, 0.27511945366859436, 0.6389292478561401, 0.6556456089019775, -0.14753137528896332, 1.1601334810256958, -0.2689751982688904, 0.1304144710302353, 1.1802208423614502, -0.2929154634475708, 0.4846225380897522, 0.5824140310287476, -0.017329946160316467, 0.8175094127655029, 0.4671923816204071, -0.1311320960521698, 0.660556972026825, 0.11125405877828598, -0.582631528377533, -0.23947855830192566, -0.14794829487800598, -0.42409709095954895, -0.0062014078721404076, 0.6232448220252991, -0.6774716377258301, -0.1690785139799118, 0.3459768295288086, -0.010088029317557812, 0.09492158144712448, -0.29846319556236267, 0.9264416098594666, 0.1637655347585678, -0.4097113311290741, 0.18289296329021454, -0.3351224958896637, 0.6153099536895752, -0.8291225433349609, -0.5120362639427185, -0.25289449095726013, 0.6933649778366089, -0.3225195109844208, -0.3548229932785034, 0.13121460378170013, -0.3839524984359741, -0.384433776140213, -0.2145063579082489, 0.21460185945034027, -0.5075250267982483, -0.31633469462394714, 0.43226027488708496, 0.22088594734668732, -0.23763097822666168, 0.42197516560554504, -0.7674573659896851, -0.03841215372085571, -0.20376965403556824, -0.10679367184638977, 0.5209903717041016, 0.5956535339355469, -0.06878452748060226, 0.7398310303688049, 0.2292896956205368, 0.1916806697845459, -0.2543051540851593, 0.4270099401473999, 0.7465618252754211, -0.4794783592224121, -0.962814211845398, -0.8027040362358093, 0.7278481721878052, -0.06037110462784767, -0.3937857151031494, 0.33808672428131104, 0.5533638596534729, 0.9569242000579834, -0.14180758595466614, 0.7888162732124329, 0.3191385865211487, 0.8611483573913574, -0.7812567353248596, 0.45445680618286133, -0.7266903519630432, 0.22201897203922272, -0.14954620599746704, -0.17775535583496094, -0.705134928226471, 0.4226994216442108, 0.0656118392944336, 0.11261098831892014, 0.8691149950027466, 0.433910071849823, -0.2322831004858017, -0.4045385718345642, 0.3569132089614868, -0.04009775444865227, 0.3279751241207123, 0.694378137588501, 0.4540759325027466, -0.22822383046150208, 0.7436173558235168, -0.43525931239128113, -0.05818507820367813, -0.46072807908058167, -0.7519454956054688, -0.9374829530715942, -0.5067787766456604, -0.5585941672325134, -0.3163030445575714, 0.17002901434898376, 1.2173410654067993, 0.7153803110122681, -1.0957273244857788, 0.10209494829177856, 0.33926814794540405, -0.3004903197288513, -0.22702209651470184, -0.14666339755058289, 0.7075071334838867, -0.2629031538963318, -0.48845043778419495, 0.07059045135974884, 0.4273376762866974, 0.257841020822525, -0.043078795075416565, 0.040522705763578415, -0.013361076824367046, -0.6570727229118347, 0.4296868145465851, 0.12435559928417206, -0.8074215054512024, -0.044004589319229126, -0.029786191880702972, -0.39871180057525635, 0.46326780319213867, 1.1134040355682373, -0.606107771396637, 0.8000009059906006, 0.21578100323677063, 0.7644509077072144, 0.47644418478012085, -0.07201530784368515, 0.019804449751973152, -0.9334861040115356, 0.20804746448993683, 0.42632925510406494, 0.7334532737731934, 0.5163106322288513, -0.45329567790031433, 0.2783501446247101, 0.36268889904022217, -0.46591806411743164, -0.4590827524662018, 0.059041883796453476, -0.9749965667724609, -0.08838452398777008, 0.6874191761016846, -0.3986358940601349, 0.20525796711444855, -0.5539276003837585, -0.17795045673847198, 0.3599332869052887, -0.5020627975463867, 0.9438959360122681, 0.15193189680576324, -0.4010050296783447, -0.39868155121803284, -0.5682915449142456, 0.4062124788761139, 0.27118194103240967, -0.9510542750358582, -0.16690319776535034, 0.7922689318656921, 0.2615312337875366, 0.3772829473018646, 0.612309455871582, -0.4903568923473358, 0.3943939208984375, -0.022911114618182182, 0.20481956005096436, -0.24352765083312988, -0.4002624452114105, -0.7059659361839294, 0.28442704677581787, -0.31416383385658264, -0.2464567869901657 ]
http://arxiv.org/abs/2404.06714v3
http://arxiv.org/pdf/2404.06714v3
Llama-VITS: Enhancing TTS Synthesis with Semantic Awareness
2024-04-10T03:46:03
2024-04-18T03:54:38
Xincan Feng, Akifumi Yoshimoto
cs.CL
cs.CL, cs.SD, eess.AS
Recent advancements in Natural Language Processing (NLP) have seen Large-scale Language Models (LLMs) excel at producing high-quality text for various purposes. Notably, in Text-To-Speech (TTS) systems, the integration of BERT for semantic token generation has underscored the importance of semantic content in producing coherent speech outputs. Despite this, the specific utility of LLMs in enhancing TTS synthesis remains considerably limited. This research introduces an innovative approach, Llama-VITS, which enhances TTS synthesis by enriching the semantic content of text using LLM. Llama-VITS integrates semantic embeddings from Llama2 with the VITS model, a leading end-to-end TTS framework. By leveraging Llama2 for the primary speech synthesis process, our experiments demonstrate that Llama-VITS matches the naturalness of the original VITS (ORI-VITS) and those incorporate BERT (BERT-VITS), on the LJSpeech dataset, a substantial collection of neutral, clear speech. Moreover, our method significantly enhances emotive expressiveness on the EmoV_DB_bea_sem dataset, a curated selection of emotionally consistent speech from the EmoV_DB dataset, highlighting its potential to generate emotive speech.
[ -0.11650090664625168, -0.7724478840827942, 0.5569201111793518, 0.3931964635848999, -0.5418314337730408, 0.25518977642059326, -0.28723639249801636, -0.5810160040855408, 0.7283936738967896, 0.3711606562137604, -0.4068087935447693, -0.8109199404716492, -0.5292422771453857, 0.21715548634529114, -0.7234535217285156, 0.9802548885345459, 0.068637415766716, -0.17125950753688812, 0.030749138444662094, 0.18147315084934235, -0.39657723903656006, -0.319560170173645, -0.3570913076400757, -0.1359233260154724, 0.5224019885063171, 0.31720787286758423, 0.4465576708316803, 0.6778320670127869, 0.18942880630493164, 0.21302390098571777, -0.26075875759124756, 0.28235891461372375, -0.5738240480422974, 0.7297714948654175, -0.004530446603894234, -0.37494173645973206, -0.5747655034065247, -0.40372398495674133, 0.6453139185905457, 0.26171958446502686, -0.01213056966662407, 0.1665468066930771, 0.10807040333747864, 0.43893328309059143, -0.5938394069671631, 0.0990535318851471, -1.1201239824295044, 0.18480542302131653, -0.18753646314144135, -0.19300901889801025, -0.3100174069404602, -0.28471535444259644, 0.4422844350337982, -0.6882685422897339, -0.22713160514831543, -0.2487049102783203, 0.548073410987854, 0.6211423277854919, -0.3898409605026245, -0.09060748666524887, -0.6388407349586487, 0.6659395694732666, -0.661928653717041, 0.5181290507316589, 0.08114704489707947, 0.10162721574306488, -0.2474939525127411, -0.845725953578949, -0.6214873790740967, -0.18719278275966644, 0.3494623899459839, 0.3993232846260071, -0.3663147985935211, 0.061416175216436386, -0.08922630548477173, 0.13135674595832825, -0.24912577867507935, 0.16958102583885193, -0.11671444773674011, -0.3336232900619507, 0.44171348214149475, 0.16394591331481934, 0.0685998722910881, -0.27979305386543274, -0.661783754825592, 0.01929698884487152, -0.8059704303741455, -0.14682723581790924, 0.15198934078216553, 0.33746829628944397, 0.002385936677455902, 0.9908112287521362, -0.3117329478263855, 0.5296233296394348, -0.25959810614585876, -0.3175950050354004, 0.2614191770553589, -0.27839362621307373, -0.3545231819152832, 0.21163201332092285, 0.5161890387535095, 0.4987603425979614, 0.25968295335769653, -0.1762125939130783, -0.22170180082321167, 0.41023126244544983, 0.11637315154075623, -0.677753210067749, 0.18993380665779114, 0.1484190821647644, -0.020355893298983574, -0.48135513067245483, -0.29616302251815796, -0.5254406332969666, -0.34720736742019653, -0.5393369197845459, 0.4678419530391693, -0.3583093285560608, -0.31387123465538025, 0.095396026968956, -0.21386708319187164, 0.40133389830589294, 0.5399731993675232, -0.7804519534111023, 0.2483425885438919, 0.710426926612854, 0.6067137718200684, -0.12732477486133575, -0.07297448068857193, -0.5144903659820557, 0.6715365648269653, -0.480699747800827, 0.7940245270729065, -0.47690942883491516, -0.3915780782699585, -0.0648222267627716, -0.5201547741889954, 0.3737359642982483, -0.28693050146102905, 0.46521738171577454, -0.24373047053813934, -0.20943166315555573, -0.28969040513038635, -0.48068660497665405, -0.013077646493911743, 0.2400379180908203, -0.15293830633163452, 1.2609864473342896, -0.13015058636665344, -0.49408113956451416, 0.32483723759651184, -0.4943564832210541, -0.5020318627357483, -0.156777486205101, -0.20459863543510437, -0.16564379632472992, 0.31099626421928406, 0.28847751021385193, 0.4567909836769104, -0.35101279616355896, 0.28346487879753113, -0.08712605386972427, -0.11129331588745117, 0.47596442699432373, -0.4756002426147461, 0.24544808268547058, 0.16623464226722717, -0.20341351628303528, 0.17141714692115784, -0.6336622834205627, 0.04862576350569725, 0.16892077028751373, -0.3202936351299286, -0.2501469850540161, 0.018639422953128815, 0.08618425577878952, 0.02974878065288067, 0.4582308232784271, -0.5928759574890137, -0.1507045179605484, -0.6610586047172546, 0.5223510265350342, 0.9053246974945068, -0.07040421664714813, 0.23030760884284973, -0.19521692395210266, 0.20949707925319672, -0.17795434594154358, 0.11311107128858566, -0.09543343633413315, -0.8441455364227295, -1.000644326210022, -0.4034014642238617, 0.051627084612846375, 0.6487500667572021, -0.5032535195350647, 0.5585171580314636, -0.5106684565544128, -0.5583020448684692, -0.6421421766281128, 0.1254454404115677, 0.2470933049917221, 0.6233161687850952, 0.32890185713768005, -0.3916122615337372, -0.8337514996528625, -0.871358335018158, -0.3081953823566437, -0.5021524429321289, -0.20226210355758667, 0.12108016014099121, 0.20323453843593597, -0.3008940815925598, 1.1999255418777466, -0.35722801089286804, -0.4512092173099518, -0.07914326339960098, -0.29767051339149475, -0.1115020215511322, 0.3119010031223297, 0.21056607365608215, -0.5560726523399353, -0.29267269372940063, 0.018733389675617218, -0.5387559533119202, -0.2960698902606964, 0.1513548642396927, -0.2493566870689392, 0.10712297260761261, 0.45137283205986023, -0.530346155166626, 0.5654408931732178, 0.35710567235946655, -0.18967795372009277, 0.15662962198257446, 0.07784424722194672, -0.11333385854959488, -1.1446175575256348, -0.11047407984733582, -0.3036169409751892, -0.33002954721450806, -0.6722590923309326, -0.37521636486053467, -0.419292688369751, -0.023929579183459282, -0.5662509799003601, 0.39893069863319397, -0.062123313546180725, -0.4722632169723511, -0.05169687047600746, 0.5673296451568604, 0.16919440031051636, 0.36966031789779663, 0.06135094165802002, 0.7058734893798828, 0.4553133249282837, -0.4047606289386749, 0.39952564239501953, 0.5308761596679688, -0.12325814366340637, 0.44692671298980713, -0.7962478995323181, 0.15649273991584778, 0.043610937893390656, 0.26698267459869385, -1.0675616264343262, -0.37451186776161194, 0.26006177067756653, -0.5890194773674011, 0.08161238580942154, 0.008253766223788261, -0.5716559290885925, 0.10784804821014404, -0.4480656385421753, 0.17376108467578888, 0.6669647693634033, -0.5254611372947693, 0.8368046283721924, 0.7321615219116211, -0.5188170671463013, -0.38186559081077576, -1.10299813747406, 0.5418478846549988, -0.20329147577285767, -0.6708683371543884, 0.4974382221698761, 0.14354464411735535, -0.192450612783432, -0.05980956554412842, -0.053282786160707474, 0.18347769975662231, 0.08709369599819183, 0.17389264702796936, 0.11655938625335693, -0.2012758105993271, 0.3668867349624634, 0.46638381481170654, -0.23946703970432281, 0.0012809319887310266, -0.3604103624820709, 0.312802255153656, -0.3203267753124237, -0.4196305572986603, -0.6125684976577759, 0.35167524218559265, 0.5577983260154724, -0.2264987826347351, 0.29128217697143555, 0.6034619808197021, -0.3393995761871338, -0.1751321405172348, -0.677788496017456, -0.20425313711166382, -0.408511757850647, 0.4176288843154907, -0.2518494427204132, -1.1457130908966064, 0.3484284579753876, -0.11579099297523499, 0.06978663802146912, 0.3657829463481903, 0.7698308825492859, -0.05145428329706192, 0.9174551367759705, 0.3878194987773895, 0.06156076490879059, 0.734714686870575, 0.06066344678401947, 0.02569260634481907, -0.976848304271698, -0.305091917514801, -0.34132176637649536, -0.15718410909175873, -0.7202281355857849, -0.5620302557945251, 0.620520830154419, -0.3820606768131256, -0.2566159963607788, 0.12116599082946777, -0.5793545842170715, 0.2810542583465576, 0.45869868993759155, 0.18779140710830688, 0.42640092968940735, 0.4580921530723572, 0.01249868143349886, -0.13581016659736633, -0.579087495803833, -0.742451012134552, 1.1413613557815552, 0.426577627658844, 0.6687988638877869, 0.3486822843551636, 0.8097518086433411, 0.12954697012901306, 0.24579688906669617, -0.8376998901367188, 0.6788316965103149, -0.216336190700531, -0.18189063668251038, -0.27249884605407715, -0.12464830279350281, -0.7695487141609192, 0.19274280965328217, -0.3974308967590332, -0.8425868153572083, -0.054062601178884506, 0.1263621598482132, -0.145815908908844, 0.08965620398521423, -0.7586842179298401, 0.3241838216781616, 0.037546586245298386, -0.4009956121444702, -0.3595457077026367, -0.7933038473129272, 0.19420404732227325, 0.06399598717689514, -0.03151462972164154, -0.37167057394981384, -0.4781387150287628, 0.737418532371521, -0.22994327545166016, 1.2011315822601318, 0.19140438735485077, -0.4349037706851959, 0.48275455832481384, 0.11058851331472397, 0.5112242102622986, 0.2791654169559479, -0.08629468083381653, 0.17830659449100494, -0.41941162943840027, -0.034216564148664474, -0.3872873783111572, 0.72287917137146, -0.6052548885345459, -0.8161869645118713, -0.0627678632736206, -0.5130754709243774, -0.30405473709106445, 0.06315881758928299, -0.07372160255908966, 0.3431727886199951, -0.30572509765625, 0.06722643971443176, 0.6304776668548584, -0.11104349046945572, -0.011885836720466614, 0.24100974202156067, -0.39736834168434143, -0.6724125742912292, 0.8401463031768799, -0.05425078794360161, 0.42585524916648865, 0.5151827335357666, 0.24209411442279816, -0.3444143235683441, -0.4192894697189331, -0.4150506556034088, 0.14165422320365906, -0.8819044232368469, -0.4309326112270355, -0.6545894145965576, -0.1704436093568802, -0.47715938091278076, -0.18482932448387146, -0.5069398880004883, -0.8110213279724121, -0.482610821723938, -0.3040209710597992, 0.9061524868011475, 0.8906991481781006, -0.24773436784744263, 0.17660784721374512, -0.6730384230613708, 0.45503997802734375, 0.5366787910461426, 0.20120778679847717, -0.1388639509677887, -0.5196887254714966, 0.016736630350351334, 0.11268378794193268, -0.21922160685062408, -0.8676623702049255, 0.367750346660614, 0.23984453082084656, 0.31308797001838684, 0.12098371982574463, -0.07841238379478455, 0.5817307233810425, -0.41174808144569397, 0.9189210534095764, 0.20775341987609863, -1.418304204940796, 0.8976303935050964, -0.3864384889602661, -0.02475186251103878, 0.20837698876857758, -0.39531534910202026, -0.47694069147109985, -0.9348849058151245, -0.4261627793312073, -1.119340419769287, 0.3011641204357147, 0.6201701760292053, 0.20345573127269745, -0.17038792371749878, 0.159071683883667, 0.05834968760609627, 0.17023542523384094, -0.5243333578109741, 0.018563680350780487, -0.3589121401309967, -0.5259237885475159, 0.17184069752693176, -0.36383873224258423, -0.2097649872303009, 0.004065564833581448, 0.7149552702903748, -0.10225646942853928, 0.4434836506843567, 0.48904576897621155, -0.03977643698453903, 0.0945965051651001, 0.3429497480392456, 0.5883761644363403, 0.0662866085767746, -0.07775834202766418, 0.273441880941391, 0.5022845268249512, -0.4132336676120758, 0.06360789388418198, -0.1467447727918625, -0.19397002458572388, 0.04088824242353439, 0.3023413419723511, 0.8961849212646484, 0.15182942152023315, -0.6624001860618591, 0.41504114866256714, -0.019742552191019058, 0.19669651985168457, -0.34871527552604675, 0.11875019967556, 0.22479248046875, 0.3930360674858093, 0.1810896098613739, 0.05632146820425987, 0.10738658905029297, -0.14895810186862946, -0.025731444358825684, 0.3729654550552368, -0.3022458553314209, -0.3575412333011627, 0.64796382188797, 0.43961459398269653, -0.15544672310352325, 0.28807735443115234, 0.2971307039260864, -0.49016979336738586, 0.45249468088150024, 0.5873891115188599, 1.128608226776123, -0.2710956931114197, -0.07721284031867981, -0.0016198980156332254, 0.40518268942832947, 0.15693074464797974, 0.4490410089492798, -0.2744174599647522, -0.6771564483642578, -0.5147866606712341, -0.6005578637123108, -0.5266093015670776, -0.4200126826763153, -0.504340410232544, 0.3834623098373413, -0.3837471008300781, -0.35809326171875, -0.2663707733154297, -0.4540100693702698, -0.5654014945030212, 0.22769978642463684, 0.31794941425323486, 0.7158816456794739, -0.7615067958831787, 0.736563503742218, 0.44203248620033264, -0.18217240273952484, -0.7041451334953308, 0.014792299829423428, -0.11215194314718246, -0.9138166904449463, 0.6878461837768555, 0.12405487895011902, -0.5713823437690735, 0.33093124628067017, -0.35708487033843994, -0.9061754941940308, 1.2092957496643066, 0.6517906785011292, -0.3556472361087799, 0.24257448315620422, 0.4227598309516907, 0.6494913101196289, -0.5237962007522583, -0.12160452455282211, 0.5174503326416016, 0.45497259497642517, 0.12791411578655243, -0.890761137008667, 0.09015683084726334, -0.04851669445633888, 0.36075103282928467, -0.05616569519042969, -0.3914836049079895, 0.4258587062358856, -0.38020163774490356, -0.25872698426246643, 0.21126535534858704, 0.9610339403152466, 0.36409664154052734, 0.0938861072063446, 0.5001180768013, 0.5548674464225769, 0.7202337384223938, -0.01704137772321701, 0.8359214067459106, -0.036557700484991074, -0.04702821001410484, 0.8124379515647888, -0.4485131502151489, 1.0845575332641602, 0.8776535391807556, -0.08238032460212708, 0.3857557475566864, 0.3348483145236969, 0.39413177967071533, 0.564648449420929, 0.2591864764690399, -0.5633692145347595, -0.30193835496902466, -0.6016013026237488, -0.472552627325058, 0.6472625732421875, 0.7021512389183044, -0.23867157101631165, -0.061115562915802, -0.08076617866754532, -0.06986270844936371, 0.024517778307199478, -0.059591736644506454, 1.0637590885162354, 0.1581563651561737, -0.29797428846359253, 0.4547211825847626, -0.18027323484420776, 0.5367858409881592, -0.6587427854537964, -0.08248087763786316, 0.025370793417096138, -0.08815651386976242, -0.10014307498931885, -0.9307605028152466, 0.36525076627731323, 0.3364570438861847, -0.012624942697584629, -0.2511948347091675, 0.886365532875061, -0.5109937191009521, -0.3495701551437378, 0.40500369668006897, 0.4872378706932068, 0.07039406895637512, 0.2290440946817398, -0.2734498679637909, 0.4302513301372528, 0.05843961238861084, -0.3520703911781311, 0.11415719985961914, 0.6664912104606628, 0.09280029684305191, 0.5922436118125916, 0.8814160823822021, 0.10136177390813828, -0.06820274144411087, 0.19893795251846313, 1.0790855884552002, -0.48973697423934937, -0.506401777267456, -0.8324429392814636, 0.590585470199585, 0.10691680759191513, -0.3479001820087433, 0.5214524269104004, 0.30030325055122375, 0.5917235612869263, 0.03561928868293762, 0.935917854309082, 0.1306343376636505, 0.44228729605674744, -0.7951831817626953, 0.47156423330307007, -0.447942852973938, 0.3879924714565277, -0.5081980228424072, -0.7728375792503357, -0.4422607421875, 0.7207167744636536, -0.03335762023925781, -0.27522075176239014, 0.22875894606113434, 0.9032305479049683, 0.36908939480781555, 0.140139639377594, 0.4426347315311432, 0.46104082465171814, 0.4989815354347229, 0.5235047340393066, 1.1184399127960205, -0.387212872505188, 0.5581089854240417, -0.014730487018823624, -0.22966061532497406, -0.1211303174495697, -1.1708136796951294, -0.6068317294120789, -0.4995754063129425, -0.2026112973690033, -0.19164498150348663, 0.11072932183742523, 1.0410977602005005, 0.30002379417419434, -0.4753943085670471, -0.1525312215089798, -0.1611972600221634, 0.22665002942085266, 0.14711391925811768, -0.1365594118833542, 0.27900007367134094, -0.2887747883796692, -0.6283628940582275, 0.6397465467453003, 0.6139827370643616, 0.4092426598072052, -0.09980975091457367, 0.01009693555533886, 0.12963318824768066, 0.26373371481895447, 0.8582427501678467, -0.159593403339386, -1.036171317100525, -0.4469505846500397, 0.08236277103424072, -0.049756381660699844, -0.0005364707903936505, 0.46663394570350647, -1.0561835765838623, 0.37605035305023193, 0.45648670196533203, 0.6984156370162964, 0.46779680252075195, -0.3702187240123749, 0.6078304052352905, -0.8439684510231018, 0.26171261072158813, 0.29196229577064514, 0.3332446813583374, 0.5927117466926575, -0.2341894805431366, 0.49969831109046936, 0.10781148076057434, -0.2609531581401825, -0.8547376990318298, 0.44984516501426697, -1.2464812994003296, 0.12311126291751862, 1.3674609661102295, 0.12686479091644287, -0.22148677706718445, -0.0037873636465519667, -0.390912801027298, 0.570419192314148, -0.6546667814254761, 0.6408963203430176, 0.30809080600738525, 0.03468210995197296, 0.3952341675758362, -0.29986703395843506, 0.29804208874702454, 0.6251431703567505, -0.8901134133338928, 0.2597142457962036, 0.4084996283054352, 0.12127615511417389, 0.0728178545832634, 0.4580914080142975, -0.1433032602071762, 0.1678907424211502, 0.004948053043335676, 0.0961230993270874, 0.003988016862422228, -0.23030966520309448, -0.014613298699259758, -0.14779594540596008, 0.04574461281299591, -0.05094527825713158 ]
http://arxiv.org/abs/2404.06711v1
http://arxiv.org/pdf/2404.06711v1
MathVC: An LLM-Simulated Multi-Character Virtual Classroom for Mathematics Education
2024-04-10T03:35:51
2024-04-10T03:35:51
Murong Yue, Wijdane Mifdal, Yixuan Zhang, Jennifer Suh, Ziyu Yao
cs.CL
cs.CL, cs.HC
Mathematical modeling (MM) is considered a fundamental skill for students in STEM disciplines. Practicing the MM skill is often the most effective when students can engage in group discussion and collaborative problem-solving. However, due to unevenly distributed teachers and educational resources needed to monitor such group activities, students do not always receive equal opportunities for this practice. Excitingly, large language models (LLMs) have recently demonstrated strong capability in both modeling mathematical problems and simulating characters with different traits and properties. Drawing inspiration from the advancement of LLMs, in this work, we present MATHVC, the very first LLM-powered virtual classroom containing multiple LLM-simulated student characters, with whom a human student can practice their MM skill. To encourage each LLM character's behaviors to be aligned with their specified math-relevant properties (termed "characteristics alignment") and the overall conversational procedure to be close to an authentic student MM discussion (termed "conversational procedural alignment"), we proposed three innovations: integrating MM domain knowledge into the simulation, defining a symbolic schema as the ground for character simulation, and designing a meta planner at the platform level to drive the conversational procedure. Through experiments and ablation studies, we confirmed the effectiveness of our simulation approach and showed the promise for MATHVC to benefit real-life students in the future.
[ -0.40745458006858826, -0.9708704948425293, 0.39296942949295044, 0.24087274074554443, -0.2130519598722458, 0.5408158302307129, -0.06941275298595428, 0.0561860129237175, 0.3780381381511688, 0.4317542612552643, -0.817972719669342, -0.5333457589149475, -0.146180659532547, 0.000052428826165851206, -0.22116471827030182, 0.669875979423523, 0.09005516767501831, 0.6233914494514465, -0.6417277455329895, 0.05288464576005936, -0.6580659747123718, -0.9782335162162781, -0.24334855377674103, -0.2749302387237549, 0.4508230984210968, 0.3034871816635132, 0.684699535369873, 0.5922560095787048, 0.6673282980918884, 0.34992945194244385, 0.2758748531341553, 0.30001118779182434, -0.4647204577922821, -0.04486963897943497, 0.0953516960144043, -0.6211621165275574, -0.7218430042266846, -0.04138610139489174, 0.7479446530342102, 0.7563675045967102, -0.517047643661499, -0.15260863304138184, -0.0764031857252121, 0.410647451877594, -0.005219233687967062, 0.2907889783382416, -0.44101181626319885, 0.02204267308115959, -0.07982990145683289, 0.03297580033540726, -0.31817537546157837, -0.4114196002483368, 0.02302294597029686, -0.8509508967399597, 0.016238296404480934, -0.18102197349071503, 0.4590541422367096, 0.2009333223104477, -0.3186880946159363, -0.2747530937194824, -0.6279107332229614, 0.997570812702179, -0.33440902829170227, 0.3700444996356964, 0.04477180168032646, 0.6582797169685364, 0.07068652659654617, -0.3534559905529022, -0.6007201671600342, -0.011312758550047874, 0.38159334659576416, 0.12116867303848267, 0.044651322066783905, 0.07298658788204193, 0.40261539816856384, 0.004169057123363018, -0.38116055727005005, 0.04173193499445915, -0.5608419179916382, -0.2718028128147125, 0.4052276015281677, 0.5877497792243958, 0.34489426016807556, 0.04639165475964546, -0.14019709825515747, -0.1408773511648178, -0.675862729549408, 0.03813488036394119, 0.44654229283332825, 0.43811559677124023, -0.16296137869358063, 0.9750092029571533, 0.357616662979126, 0.5278337597846985, -0.46006104350090027, -0.41345328092575073, -0.01760771870613098, -0.4004003405570984, -0.12244418263435364, 0.16819916665554047, 0.42813849449157715, 0.13476277887821198, 0.6079069972038269, 0.2889820635318756, 0.38199952244758606, 0.6326748132705688, 0.337643027305603, -0.9022444486618042, -0.1631261110305786, -0.24286186695098877, -0.20432649552822113, -0.48970067501068115, 0.0032339643221348524, -0.7836665511131287, -0.3034195601940155, -0.7795432209968567, 0.2387843132019043, -0.4469645321369171, -0.3615029752254486, 0.11814787238836288, 0.3086433410644531, 0.2814781069755554, 0.6286014914512634, -0.9330605864524841, 0.5897353291511536, 0.9772067666053772, 0.6831182837486267, -0.24812889099121094, -0.20916864275932312, -0.3910491466522217, -0.18764038383960724, -0.23364882171154022, 0.34071940183639526, -0.8552539348602295, -0.7275992035865784, 0.06268395483493805, -0.40952107310295105, 0.24083273112773895, -0.2483237087726593, 0.4428260028362274, -0.21889512240886688, 0.20192588865756989, -0.2790282964706421, -0.48230868577957153, 0.186859130859375, 0.2691658139228821, -0.45109522342681885, 0.4273899793624878, 0.15408377349376678, -0.4188789129257202, 0.021364865824580193, -0.4805610477924347, 0.004468579776585102, 0.23803508281707764, -0.6277960538864136, -0.4565443992614746, 0.08577774465084076, 0.07845943421125412, 0.1454182267189026, -0.1813536137342453, 0.24722816050052643, -0.21477600932121277, -0.4887377917766571, 0.602390706539154, -0.6055756211280823, 0.6728318929672241, 0.029252883046865463, 0.25762221217155457, 0.022016113623976707, -0.6118292212486267, 0.1221359446644783, 0.10821991413831711, 0.038091473281383514, -0.3209898769855499, -0.11906657367944717, -0.24622561037540436, 0.30995529890060425, 0.08524627983570099, -0.4902960956096649, 0.722295343875885, -0.41539666056632996, 0.20578143000602722, 0.7111920714378357, -0.284505695104599, 0.4067632555961609, -0.5918623208999634, 0.9613087177276611, -0.20177949965000153, 0.015701312571763992, -0.556540846824646, -0.704348623752594, -0.6719600558280945, -0.42096173763275146, 0.30448344349861145, 0.5437467098236084, -0.8282797336578369, -0.010116057470440865, -0.31292566657066345, -0.4853353500366211, -0.6075245141983032, 0.040689364075660706, 0.5875564813613892, 0.3230127692222595, 0.12134970724582672, -0.12691031396389008, -0.554523229598999, -0.5006462335586548, -0.1367865353822708, -0.19104818999767303, -0.13090300559997559, 0.5198174118995667, 0.22985230386257172, -0.14903606474399567, 1.043957233428955, -0.5612059831619263, -0.4588586390018463, -0.2558245062828064, -0.07532380521297455, 0.16677208244800568, 0.25257524847984314, 0.5192590355873108, -0.49482598900794983, -0.5207748413085938, -0.14368383586406708, -0.7865542769432068, -0.30649086833000183, -0.028645113110542297, -0.368496835231781, 0.062453001737594604, 0.3269912600517273, -0.3253672122955322, 0.3917967975139618, 0.6035374999046326, -0.15625806152820587, 0.7850618362426758, -0.21098381280899048, 0.07860216498374939, -1.0782383680343628, -0.35891470313072205, -0.11646314710378647, -0.0720520168542862, -0.5275871753692627, -0.03944544494152069, 0.01986030861735344, -0.6246301531791687, -0.510827362537384, 0.5178753733634949, -0.18084843456745148, -0.05490885302424431, -0.10776953399181366, 0.18419663608074188, -0.0741473063826561, 0.5472729802131653, 0.032678358256816864, 0.968060314655304, 0.48330092430114746, -0.5147544741630554, 0.49292242527008057, 0.2436872273683548, -0.2208617776632309, 0.905189037322998, -0.6417215466499329, -0.010538328438997269, -0.05093976855278015, -0.03581901639699936, -0.7304796576499939, -0.08226599544286728, -0.07962244749069214, -0.5226910710334778, 0.04331159591674805, -0.1387108713388443, -0.3786315321922302, -0.339079886674881, -0.010330015793442726, 0.6280072331428528, 0.594777524471283, -0.26478949189186096, 0.8995331525802612, 0.4777257442474365, -0.21952757239341736, -0.3844466507434845, -0.5391381978988647, -0.10695961117744446, -0.20461827516555786, -0.8233152627944946, 0.17061646282672882, -0.4352041184902191, -0.42560508847236633, -0.20477841794490814, 0.18593673408031464, -0.10079971700906754, -0.003682417329400778, 0.307073175907135, 0.7079508304595947, -0.2075926959514618, 0.24539583921432495, 0.10629023611545563, -0.26868870854377747, 0.11948170512914658, -0.12301462888717651, 0.7159080505371094, -0.27456751465797424, -0.8364614844322205, -0.45180827379226685, 0.26789599657058716, 0.7779759764671326, -0.21501757204532623, 0.569691002368927, 0.0025573757011443377, -0.4983943700790405, -0.024967016652226448, -0.5034489631652832, -0.10630097985267639, -0.4775243401527405, 0.3687276840209961, -0.45000332593917847, -0.9222270846366882, 0.40839144587516785, -0.20911775529384613, 0.37305334210395813, -0.07653304934501648, 0.5507436990737915, -0.016151554882526398, 1.1037713289260864, 0.7060291767120361, 0.26286131143569946, 0.4854338765144348, -0.15237677097320557, 0.22967159748077393, -0.7154608964920044, -0.4472416043281555, -0.4379061758518219, -0.10816244781017303, -0.29431524872779846, -0.9084307551383972, 0.5036401748657227, -0.08343018591403961, -0.12505683302879333, 0.30695411562919617, -0.2905450463294983, 0.5922170877456665, 0.1565362811088562, -0.023831643164157867, 0.3469407558441162, 0.3336591422557831, -0.6127155423164368, -0.9216936826705933, -0.30374911427497864, -0.5022491812705994, 1.0134973526000977, 0.28675922751426697, 0.9377768635749817, 0.27343878149986267, 0.5771358609199524, -0.021046997979283333, 0.3870752155780792, -0.9137670993804932, 0.710486650466919, -0.10487300902605057, -0.3104056715965271, -0.3246742784976959, -0.6621059775352478, -0.6178677082061768, 0.4830476939678192, -0.30021581053733826, -0.3414517939090729, -0.3257448077201843, 0.08359088003635406, -0.1615535467863083, 0.24015682935714722, -0.5319536924362183, 0.6667956113815308, -0.42275315523147583, -0.4539497196674347, -0.33279669284820557, -0.2009705901145935, 0.5954450368881226, -0.2733457684516907, 0.5435437560081482, 0.016896020621061325, 0.1337612122297287, 0.12510891258716583, -0.6188251972198486, 0.7616789937019348, 0.14472714066505432, -0.09797240793704987, 0.4550420343875885, 0.5571216940879822, 0.16072732210159302, -0.009733066894114017, -0.12677675485610962, 0.17223739624023438, -0.24264980852603912, -0.10852838307619095, -0.7784050703048706, 0.7810696363449097, -0.9974743723869324, -0.5793597102165222, -0.4184509813785553, -0.4467337429523468, -0.053532905876636505, 0.009787642396986485, -0.3569120466709137, 0.4923475980758667, -0.4611071050167084, 0.27927154302597046, 0.7818728089332581, -0.18189212679862976, 0.23825113475322723, 0.48955294489860535, -0.7800623774528503, -0.6475939750671387, 1.275915503501892, 0.1924894154071808, 0.4074043929576874, 0.3843133747577667, 0.40638604760169983, -0.16300109028816223, 0.2663826048374176, -0.30912286043167114, 0.4795567989349365, -0.4748210906982422, -0.031585436314344406, -0.8003211617469788, -0.5705907344818115, -0.3025064468383789, -0.5329611897468567, -0.4371894299983978, -0.5059628486633301, -0.5414823293685913, 0.023430481553077698, -0.010000353679060936, 0.44990527629852295, 0.20470650494098663, 0.4994666874408722, -0.5873811841011047, 0.20143073797225952, 0.7962663173675537, 0.19187729060649872, -0.24626143276691437, -0.43487808108329773, 0.11833906173706055, 0.29556918144226074, -0.6405673623085022, -0.48379430174827576, 0.6781598329544067, 0.1224527359008789, 0.48822230100631714, 0.49977344274520874, -0.34830254316329956, 0.8367036581039429, -0.6959547996520996, 0.7067809700965881, 0.6115433573722839, -1.0855668783187866, 0.35171201825141907, -0.2577429711818695, 0.17137326300144196, 0.14459601044654846, 0.1238861232995987, -0.6957048177719116, -0.03719364479184151, -0.4968528747558594, -0.17756453156471252, 0.4707712233066559, 0.3827379643917084, 0.37538546323776245, 0.19143758714199066, 0.229034423828125, 0.14638106524944305, 0.5981468558311462, -0.565078854560852, -0.2538084089756012, -0.3740631639957428, -0.2908126413822174, 0.1938593089580536, -0.20880913734436035, -0.046240340918302536, -0.2866953909397125, 0.3057973086833954, -0.21280252933502197, 0.21092987060546875, -0.27766579389572144, 0.14516828954219818, -0.17035441100597382, 0.0643654391169548, 0.9176445603370667, 0.8568954467773438, 0.2804233133792877, -0.0067895385436713696, 0.2506050765514374, -0.6948259472846985, 0.15522240102291107, -0.25003474950790405, 0.17921079695224762, -0.019728776067495346, 0.13951337337493896, 0.4728207588195801, 0.441055029630661, -0.7321656942367554, 0.6322645545005798, -0.43368974328041077, -0.4270891845226288, -0.4288225769996643, 0.25871944427490234, 0.0904199406504631, 0.06929444521665573, 0.1176036074757576, -0.22685547173023224, -0.28847455978393555, -0.51961749792099, 0.2411590963602066, 0.5687070488929749, -0.32062846422195435, -0.17607063055038452, 0.6394437551498413, 0.4208482503890991, -0.8775328993797302, 0.7472286224365234, 0.033093906939029694, -0.5981522798538208, 0.8093841671943665, 0.6863829493522644, 0.46783265471458435, -0.36002984642982483, 0.29730501770973206, 0.3368135392665863, 0.2314683049917221, 0.10247448831796646, 0.343536376953125, 0.11908231675624847, -0.5141977071762085, -0.40649622678756714, -0.5935363173484802, -0.810212254524231, -0.4467616677284241, -0.2547280192375183, 0.8758057951927185, -0.5278748273849487, -0.02989218756556511, -0.28384435176849365, 0.26064422726631165, -0.5591936707496643, -0.34956222772598267, 0.1953883171081543, 0.6897792220115662, -0.7060268521308899, 0.8783419132232666, 0.3876574635505676, -0.11573512107133865, -0.7068167924880981, -0.5719497799873352, 0.24427568912506104, -1.04660964012146, 0.5769150853157043, 0.15152719616889954, -0.01341320015490055, 0.10127335041761398, -0.6375641226768494, -0.6829444766044617, 1.1339802742004395, 0.43125656247138977, -0.8733025789260864, -0.22060860693454742, 0.4895733594894409, 0.5886565446853638, -0.6367279887199402, 0.34374091029167175, -0.035085901618003845, -0.0030809349846094847, 0.6612712740898132, -0.8072782754898071, -0.5062277913093567, -0.13155163824558258, 0.08093607425689697, 0.19347688555717468, -0.6862086057662964, 0.9542016386985779, -0.39376193284988403, -0.003920774441212416, 0.17097115516662598, 0.8433939814567566, 0.8352991938591003, 0.2144172191619873, 0.2360142022371292, 0.5043367147445679, 0.8567113280296326, -0.2494630515575409, 0.6865143775939941, -0.2779548466205597, 0.1796770840883255, 0.8304619789123535, -0.4043341875076294, 0.3626609742641449, 0.3275614082813263, -0.14150603115558624, 0.568145215511322, 0.04388802498579025, -0.05838366225361824, 0.2883448600769043, 0.7797223925590515, -0.35836464166641235, -0.5421059131622314, -0.2928345501422882, -0.5110260248184204, 0.3215715289115906, 0.6999346613883972, 0.03986647352576256, -0.07681070268154144, 0.09304238855838776, -0.07905013859272003, 0.3678206503391266, -0.41575372219085693, 0.4577610194683075, 0.24324727058410645, -0.36361929774284363, -0.07980848103761673, -0.03199874982237816, 0.44730907678604126, -0.8582922220230103, -0.5242405533790588, 0.004570640157908201, 0.06538528203964233, 0.07470525056123734, -0.6164361238479614, 0.06095347926020622, 0.05085618048906326, 0.019596872851252556, -0.4112303853034973, 0.37230443954467773, -0.6400879621505737, -0.9551772475242615, -0.1768675297498703, 0.36859238147735596, 0.2802729308605194, 0.21102087199687958, -0.46021267771720886, 0.349409282207489, -0.28991836309432983, 0.49029311537742615, 0.43758851289749146, 0.8005970120429993, -0.23961777985095978, 0.7736458778381348, 0.940507709980011, -0.009916640818119049, 0.16316093504428864, 0.3111964464187622, 0.9947922229766846, -0.45141926407814026, -0.5025284886360168, -0.8259645104408264, 0.6288684606552124, 0.04812100902199745, -0.27013832330703735, 0.6269800066947937, 0.5391431450843811, 0.5805124044418335, 0.10155817121267319, 0.5154684782028198, 0.5613419413566589, 0.2901791036128998, -0.3620341122150421, 0.45286762714385986, -0.3151206970214844, 0.3151976764202118, -0.5749408602714539, -1.0327787399291992, -0.2729583978652954, 0.8926554322242737, 0.20012228190898895, 0.12124644219875336, 0.6438919305801392, 0.4015766978263855, 0.03009939007461071, 0.08940719813108444, 0.8209678530693054, -0.15016038715839386, 0.7911085486412048, 0.5702281594276428, 0.8608306646347046, -0.2247672826051712, 0.6888546347618103, -0.18993744254112244, -0.33676213026046753, -0.1853625774383545, -0.8221765160560608, -1.3169101476669312, -0.24868574738502502, -0.3108161985874176, -0.2974766790866852, -0.28344041109085083, 1.0329946279525757, 0.5082911849021912, -0.27037543058395386, -0.4814876317977905, -0.22194306552410126, 0.3446391224861145, 0.013846246525645256, -0.20021548867225647, -0.12957032024860382, 0.06573513895273209, -0.7407865524291992, 0.13372431695461273, 0.24952362477779388, 0.28855758905410767, -0.7293885946273804, -0.1046585738658905, 0.24222004413604736, 0.22836899757385254, 0.4694688022136688, 0.1249106377363205, -0.6356276273727417, 0.10435737669467926, 0.5205950140953064, -0.502691388130188, -0.052233029156923294, 1.1259338855743408, -0.7827978730201721, 0.746258020401001, 0.178707554936409, 0.7369805574417114, 0.1747950166463852, 0.17509321868419647, 0.517808735370636, -0.5170884728431702, 0.008184891194105148, 0.2928188145160675, 0.2535306513309479, 0.05947265774011612, -0.24753506481647491, 0.2595781981945038, 0.4229024350643158, -0.5679324269294739, -0.8057785034179688, 0.21485047042369843, -0.9735495448112488, 0.11094176024198532, 0.8691966533660889, 0.002207267563790083, -0.18737439811229706, 0.18335914611816406, -0.5914580225944519, 0.14992012083530426, -0.3007911145687103, 0.7257463932037354, 1.026380181312561, 0.019736725836992264, -0.2360755354166031, -0.5101925730705261, -0.0006988854147493839, 0.18848231434822083, -0.8550973534584045, 0.01239709835499525, 0.44462788105010986, -0.076078861951828, 0.178341805934906, 0.4583592414855957, -0.324606716632843, 0.16022029519081116, -0.1576470583677292, 0.11266957223415375, -0.3392968773841858, -0.6457021832466125, -0.31882721185684204, 0.06942693144083023, -0.2938923239707947, 0.07864696532487869 ]
http://arxiv.org/abs/2404.08692v1
http://arxiv.org/pdf/2404.08692v1
Apollonion: Profile-centric Dialog Agent
2024-04-10T03:32:41
2024-04-10T03:32:41
Shangyu Chen, Zibo Zhao, Yuanyuan Zhao, Xiang Li
cs.IR
cs.IR, cs.AI, cs.CL
The emergence of Large Language Models (LLMs) has innovated the development of dialog agents. Specially, a well-trained LLM, as a central process unit, is capable of providing fluent and reasonable response for user's request. Besides, auxiliary tools such as external knowledge retrieval, personalized character for vivid response, short/long-term memory for ultra long context management are developed, completing the usage experience for LLM-based dialog agents. However, the above-mentioned techniques does not solve the issue of \textbf{personalization from user perspective}: agents response in a same fashion to different users, without consideration of their features, such as habits, interests and past experience. In another words, current implementation of dialog agents fail in ``knowing the user''. The capacity of well-description and representation of user is under development. In this work, we proposed a framework for dialog agent to incorporate user profiling (initialization, update): user's query and response is analyzed and organized into a structural user profile, which is latter served to provide personal and more precise response. Besides, we proposed a series of evaluation protocols for personalization: to what extend the response is personal to the different users. The framework is named as \method{}, inspired by inscription of ``Know Yourself'' in the temple of Apollo (also known as \method{}) in Ancient Greek. Few works have been conducted on incorporating personalization into LLM, \method{} is a pioneer work on guiding LLM's response to meet individuation via the application of dialog agents, with a set of evaluation methods for measurement in personalization.
[ -0.511505663394928, -0.8691710829734802, 0.5450435876846313, 0.16526563465595245, -0.09301037341356277, 0.25708508491516113, -0.12402880191802979, -0.4726129174232483, 0.5203415155410767, 0.6956387162208557, -0.5381552577018738, -0.6363590955734253, -0.045082006603479385, 0.15404535830020905, -0.07549316436052322, 0.7447158098220825, 0.30359405279159546, 0.13513901829719543, -0.0385623462498188, -0.14191602170467377, -0.6218497157096863, -0.48270314931869507, -0.9748483300209045, -0.3354843258857727, 0.5079447627067566, 0.327675998210907, 0.310865581035614, 0.5680796504020691, 0.12598079442977905, 0.4732789397239685, -0.3251315653324127, 0.11702156811952591, -0.5225485563278198, 0.4368208944797516, -0.24724870920181274, -0.4804075360298157, -0.5430179834365845, 0.18661342561244965, 0.5006277561187744, 0.5533487796783447, -0.0340285561978817, 0.007034079171717167, 0.15896956622600555, 0.3958119750022888, -0.38685598969459534, 0.1622554212808609, -0.2946617007255554, 0.1953052282333374, -0.11818980425596237, -0.6148382425308228, -0.09241194278001785, -0.2197714000940323, 0.3818438649177551, -0.717517614364624, 0.08514062315225601, 0.2301965355873108, 0.12920472025871277, -0.04841342568397522, -0.4372399151325226, -0.6344340443611145, -0.9069882035255432, 0.5759478211402893, -0.7103185057640076, 0.08423513919115067, 0.1863609105348587, 0.603659987449646, -0.026050586253404617, -0.5215479731559753, -0.5009452700614929, -0.6043709516525269, -0.003173625562340021, 0.2477719485759735, 0.4174202084541321, 0.19286681711673737, -0.03595752269029617, 0.5003398656845093, -0.18153280019760132, 0.18529364466667175, -0.43694213032722473, -0.5161658525466919, 0.32984527945518494, 0.623809814453125, -0.07086923718452454, -0.2231939285993576, -0.5634171366691589, 0.04428057745099068, -0.4652399718761444, 0.19838373363018036, 0.45935142040252686, 0.20877335965633392, -0.09255731105804443, 0.5330140590667725, -0.6922067999839783, 0.47109365463256836, 0.36570367217063904, -0.5067079663276672, 0.20631608366966248, -0.30432212352752686, -0.16250765323638916, 0.105861134827137, 0.6976068019866943, 0.3229425847530365, 0.12920817732810974, -0.3206614553928375, -0.09816256910562515, -0.3851436972618103, 0.20334608852863312, -0.8023808598518372, 0.5217896103858948, 0.23531478643417358, -0.3860340118408203, -0.5247870087623596, -0.020042087882757187, -0.6424155235290527, -0.6534373164176941, -0.24029918015003204, 0.13491977751255035, -0.4138842225074768, 0.08833770453929901, -0.11655621230602264, 0.37649065256118774, 0.0952892005443573, 0.5463682413101196, -0.6745883226394653, 0.2938810884952545, 0.6570922136306763, 0.7332872748374939, -0.18931244313716888, -0.19163618981838226, -0.4053782522678375, 0.05192416533827782, -0.10922535508871078, 0.579213559627533, -0.6135915517807007, -0.5778211355209351, 0.3518754243850708, -0.07700680941343307, 0.18504880368709564, -0.6950063705444336, 0.2394568920135498, -0.7988664507865906, 0.4617856442928314, -0.2535861134529114, -0.596837043762207, -0.2674022316932678, 0.5074639320373535, -0.15458562970161438, 0.7352827191352844, 0.227050319314003, -0.5153470039367676, 0.18145115673542023, -0.7250393629074097, -0.16422078013420105, 0.5679376125335693, -0.18623097240924835, 0.10094589740037918, 0.12222538143396378, -0.1650516241788864, 0.5489754676818848, -0.3923244774341583, 0.09308139979839325, -0.2975671589374542, -0.4698980450630188, 0.49043625593185425, 0.02994653955101967, 0.6185364723205566, 0.4501716196537018, -0.17758740484714508, 0.22533825039863586, -0.7417259812355042, 0.0602288618683815, -0.14151324331760406, -0.6338919401168823, -0.2916327714920044, -0.2698781192302704, 0.1042601689696312, 0.16151000559329987, 0.6766010522842407, -0.6026321649551392, 0.17459599673748016, -0.5973567366600037, 0.3419076204299927, 0.9467042088508606, -0.15502499043941498, 0.49175068736076355, -0.1784462034702301, 0.7629461288452148, -0.0457075759768486, 0.08150529116392136, -0.3801014721393585, -0.14816106855869293, -0.5725513100624084, -0.12928472459316254, -0.12939871847629547, 0.7059433460235596, -0.4494098722934723, 0.6334750652313232, 0.06852658092975616, -0.38590192794799805, -0.17965641617774963, 0.44632476568222046, 0.6921858191490173, 0.8672556281089783, -0.10477522015571594, -0.6548528671264648, -0.4404459595680237, -1.0690537691116333, -0.1308635026216507, -0.4195188283920288, 0.023672128096222878, 0.7073326706886292, 0.21119049191474915, -0.3858494758605957, 0.9538643956184387, -0.44965222477912903, -0.5221475958824158, -0.4643486738204956, -0.1578819751739502, 0.15338753163814545, 0.11531199514865875, 0.4392573833465576, -0.5844292044639587, -0.5629863142967224, 0.14500226080417633, -0.883601725101471, -0.3014093041419983, 0.07256455719470978, -0.03207254037261009, -0.0969572365283966, 0.3857811689376831, -0.5652987957000732, 0.2072257101535797, 0.2984539270401001, -0.3812423646450043, 0.711794376373291, -0.08865755051374435, 0.15174530446529388, -1.5443674325942993, 0.10200254619121552, 0.09320313483476639, -0.592082142829895, -0.685400664806366, 0.008178732357919216, -0.3749544024467468, -0.11673931777477264, -0.503002405166626, 1.1077780723571777, -0.10639296472072601, -0.025653813034296036, -0.6555770039558411, 0.28188785910606384, -0.2654860317707062, 0.6400371789932251, -0.2625495195388794, 1.0011440515518188, 0.5555262565612793, -0.6635913848876953, 0.6509526371955872, 0.4145941734313965, 0.0188848078250885, 1.138109564781189, -0.62811678647995, 0.4104727506637573, -0.12482189387083054, 0.17708702385425568, -0.8256532549858093, -0.24731911718845367, 0.7196595072746277, -0.30684158205986023, 0.034784894436597824, 0.06786516308784485, -0.4315487742424011, -0.13141490519046783, -0.5448563098907471, 0.14177116751670837, 0.2812713086605072, -0.3394688069820404, 0.8234301805496216, 0.14923258125782013, -0.12089335173368454, -0.4043097496032715, -0.023104481399059296, 0.06488249450922012, -0.7880077958106995, -0.6797234416007996, 0.25567296147346497, -0.49924832582473755, -0.2771177589893341, -0.3407149314880371, -0.10261718183755875, 0.11428871005773544, 0.0520392507314682, 0.2621990740299225, 0.11668835580348969, -0.17215415835380554, 0.08471012860536575, -0.34229880571365356, -0.2241908758878708, -0.05994139611721039, -0.20466342568397522, 0.7584508061408997, -0.28290727734565735, 0.04264180362224579, -1.046856164932251, 0.253643661737442, 0.5565453171730042, 0.10856261849403381, 0.7984235286712646, 0.5256038308143616, 0.00648439209908247, 0.1542477160692215, -0.8877614140510559, -0.32495036721229553, -0.5515297651290894, 0.4323592782020569, -0.439559668302536, -1.2306389808654785, 0.8847622275352478, -0.32038700580596924, -0.10979720205068588, 0.03189116343855858, 0.7839990258216858, -0.2805919349193573, 0.8279003500938416, 0.760894238948822, -0.2947608232498169, 0.6856535077095032, -0.0025052970740944147, -0.02634122036397457, -1.3677592277526855, -0.31600502133369446, -0.3304370939731598, -0.19552192091941833, -0.519026517868042, 0.09905311465263367, 0.3955405354499817, 0.016486769542098045, -0.23186172544956207, 0.1754235327243805, -0.24827559292316437, -0.009548184461891651, 0.5047860741615295, -0.03735702484846115, 0.37064290046691895, 0.02514941245317459, -0.11205094307661057, 0.10279707610607147, -0.06613638252019882, -0.786686897277832, 1.020917296409607, 0.286986768245697, 0.9224688410758972, -0.014376931823790073, 0.6777430176734924, 0.49676650762557983, 0.29258766770362854, -0.7930512428283691, 0.6810951232910156, 0.40073394775390625, -0.7925349473953247, -0.41757041215896606, -0.48244884610176086, -0.8379392623901367, 0.326175332069397, 0.1176750585436821, -1.406065821647644, -0.0768115296959877, 0.4295364320278168, -0.4532938599586487, -0.23084746301174164, -0.6265724897384644, 0.5152079463005066, -0.1861397624015808, -0.445414662361145, -0.10407615453004837, -0.5297467708587646, 0.16804836690425873, -0.06410427391529083, -0.09258795529603958, -0.10144214332103729, 0.02568335458636284, 0.7946192622184753, -0.5701767206192017, 1.032131314277649, -0.24780884385108948, 0.05164981260895729, 0.293523371219635, 0.11832615733146667, 0.4874700903892517, 0.6077336072921753, 0.044439513236284256, -0.48126381635665894, -0.034955982118844986, -0.1842339187860489, -0.6222121119499207, 0.8132623434066772, -0.6705079078674316, -1.02266526222229, -0.17939668893814087, -0.38623395562171936, -0.3595319390296936, 0.2809297442436218, 0.20607304573059082, 0.29274898767471313, -0.4813252389431, 0.0354202501475811, 0.56350177526474, -0.1906569004058838, 0.09496267139911652, 0.7609686255455017, -0.361417680978775, -0.5056901574134827, 0.4555022418498993, -0.24485725164413452, -0.030384816229343414, 0.18720325827598572, 0.27043813467025757, -0.21218298375606537, -0.4537854790687561, -0.16727790236473083, 0.4757932424545288, -0.5550966262817383, -0.12381646037101746, -0.3535573184490204, -0.14077624678611755, -0.2625795900821686, -0.10210518538951874, -0.41741421818733215, -0.051439352333545685, -0.25034013390541077, 0.03673631697893143, 0.1797904074192047, 0.5593739151954651, 0.3918909728527069, 0.9012116193771362, -0.29724621772766113, 0.10522789508104324, 0.3972899913787842, 0.21016192436218262, -0.053344037383794785, -0.4130387306213379, -0.36460080742836, -0.13527849316596985, -0.6037691831588745, -0.8249331712722778, 0.24133490025997162, 0.07809451222419739, 0.5096086859703064, 0.8660595417022705, -0.36250656843185425, 0.3776189982891083, -0.18348973989486694, 0.40326225757598877, 0.070433609187603, -0.6509968042373657, 0.4560539126396179, -0.2584691047668457, 0.28670111298561096, 0.69667649269104, -0.025866996496915817, -0.9518263339996338, -0.3140261471271515, -0.19698524475097656, -0.6194464564323425, 0.8153082132339478, 0.25744038820266724, 0.6196572780609131, 0.27228447794914246, 0.9366965293884277, 0.18934504687786102, 0.5086343288421631, -0.42967095971107483, -0.41230475902557373, -0.02832529880106449, -0.04284612461924553, -0.2099117934703827, -0.3154284656047821, -0.19228708744049072, 0.07816257327795029, 0.55890291929245, -0.3756735026836395, 0.306772917509079, 0.31833434104919434, -0.012306059710681438, 0.1333761364221573, 0.334248811006546, 0.4887915849685669, 0.858227550983429, -0.37317538261413574, -0.1719207465648651, 0.08067753165960312, -0.47823527455329895, 0.10782618820667267, 0.12758685648441315, -0.25776955485343933, -0.5476455688476562, 0.30260413885116577, 0.5571746230125427, -0.04779261350631714, -0.6420908570289612, 0.2555237114429474, -0.17324642837047577, 0.22933095693588257, -0.8962169885635376, 0.28454649448394775, 0.16142813861370087, 0.5110010504722595, 0.4693097472190857, -0.19557610154151917, 0.4269212484359741, -0.7517679929733276, -0.3017566204071045, 0.5685070753097534, -0.685083270072937, -0.7017824053764343, 0.6996871829032898, 0.33993858098983765, -0.6106303930282593, 0.4354604482650757, -0.1440647393465042, -0.45687517523765564, 0.4077921509742737, 0.4041939079761505, 0.7896799445152283, -0.45498326420783997, 0.28907766938209534, 0.057936616241931915, -0.2639699876308441, 0.3558414876461029, 0.1664859503507614, -0.2084689438343048, -0.837731659412384, 0.027134153991937637, -0.5966380834579468, -0.11568666994571686, 0.33743414282798767, -0.28434863686561584, 0.026444345712661743, -0.7506388425827026, -0.40423423051834106, -0.06797771155834198, 0.26765695214271545, -0.9171881079673767, 0.12894634902477264, -0.029955508187413216, 0.8577563166618347, -0.3957216441631317, 0.553763747215271, 0.9647622108459473, -0.2024863362312317, -0.5090230107307434, -0.10150433331727982, 0.32203736901283264, -0.7237723469734192, 0.7306793928146362, 0.29908257722854614, -0.30664727091789246, -0.15053628385066986, -0.4048810601234436, -0.5152841806411743, 1.3045247793197632, 0.22556699812412262, -0.4140898883342743, -0.044565580785274506, 0.13368740677833557, 0.7919889092445374, -0.9944420456886292, 0.22830210626125336, 0.4193536937236786, 0.284572571516037, 0.2799931466579437, -0.8340725302696228, 0.10135924071073532, -0.2556309700012207, 0.36116617918014526, -0.3440016508102417, -0.9690935015678406, 0.45241865515708923, 0.15096165239810944, 0.06548846513032913, 0.5248298645019531, 0.7022682428359985, 0.3035951256752014, 0.5327677130699158, 0.44326260685920715, 0.33333587646484375, 0.524235188961029, 0.2531321346759796, 1.060638427734375, -0.33816400170326233, 0.3585377633571625, 0.8720384240150452, -0.4014735817909241, 0.155446395277977, 0.5112535357475281, 0.08738868683576584, 0.1900254637002945, 0.5664225220680237, 0.23312243819236755, 0.5211067795753479, 0.11384321004152298, -0.44204503297805786, -0.0580274723470211, -0.2923712730407715, -0.17065659165382385, 0.6108635663986206, 0.18518203496932983, -0.5258016586303711, 0.1266174167394638, 0.11230271309614182, 0.26700878143310547, 0.032049063593149185, -0.14294566214084625, 0.8172636032104492, 0.036763884127140045, -0.5351206660270691, 0.252795934677124, 0.2576860785484314, 0.7003902196884155, -0.5869502425193787, 0.22585684061050415, -0.5035629868507385, 0.12197092920541763, -0.008903270587325096, -0.3793986439704895, -0.20559094846248627, -0.33409103751182556, 0.10956026613712311, 0.0467076413333416, 0.60820072889328, 0.07073065638542175, -0.2499988079071045, 0.35261091589927673, 0.7303414940834045, 0.14335061609745026, 0.02326059900224209, -0.5534238219261169, -0.1420116275548935, -0.05591801553964615, -0.6071608662605286, 0.2140350341796875, 0.1372227817773819, -0.13048014044761658, 0.8862462639808655, 0.34877175092697144, 0.09128023684024811, -0.07715513557195663, 0.03187035024166107, 0.9872545599937439, -0.654279887676239, -0.48174920678138733, -0.6358811259269714, 0.28050321340560913, -0.21958622336387634, -0.643946647644043, 0.6787207126617432, 0.6935675144195557, 0.6335943937301636, -0.08917459100484848, 0.6830695867538452, -0.0925830528140068, 0.5302445888519287, -0.44584357738494873, 0.3371886909008026, -0.42733103036880493, 0.52632737159729, -0.19469718635082245, -1.366990089416504, 0.10827988386154175, 0.47956016659736633, -0.25286200642585754, 0.5993880033493042, 0.4490281343460083, 0.8483530879020691, -0.04619205370545387, -0.2858211398124695, 0.45386937260627747, 0.36563730239868164, 0.43518686294555664, 0.21491330862045288, 0.944855272769928, 0.07233569025993347, 0.31157582998275757, -0.1986214965581894, -0.4020116925239563, -0.6345438361167908, -0.17829981446266174, -1.2342028617858887, -0.7671833634376526, -0.07977717369794846, -0.1611231118440628, 0.2271205484867096, 0.8182589411735535, 0.950846254825592, -0.4984801411628723, -0.4105803668498993, 0.18714213371276855, -0.17444314062595367, 0.06650630384683609, -0.27823129296302795, 0.20484648644924164, -0.26886287331581116, -0.7862411737442017, 0.36124831438064575, 0.40475165843963623, -0.01657986454665661, -0.8258174657821655, -0.4374910891056061, 0.43294471502304077, 0.14313149452209473, 0.46647384762763977, 0.4420076608657837, -0.8360291123390198, -0.34185394644737244, 0.029584094882011414, -0.09163744002580643, 0.32424914836883545, 0.9068049192428589, -0.8913389444351196, 0.6250681281089783, 0.21416206657886505, 0.2606150209903717, 0.5588555335998535, 0.21277649700641632, 0.47801631689071655, -0.5085520148277283, 0.22489167749881744, 0.16579432785511017, 0.2707606852054596, 0.3668261766433716, -0.8873567581176758, 0.25911954045295715, 0.036349307745695114, -0.4673748016357422, -0.24401630461215973, 0.5120907425880432, -1.1934767961502075, 0.08091499656438828, 0.8095071315765381, -0.1925274282693863, -0.13787280023097992, -0.08742594718933105, -0.6305572390556335, 0.020824339240789413, -0.8369535803794861, 1.2142924070358276, 0.7048829197883606, -0.47075361013412476, -0.060084957629442215, -0.6061035990715027, 0.32202741503715515, 0.2179385870695114, -0.8589678406715393, -0.2967325747013092, 0.3405662178993225, 0.5470101237297058, 0.5083898901939392, 0.8711176514625549, -0.05785910412669182, 0.0768333300948143, -0.6080874800682068, -0.179915189743042, -0.23197785019874573, -0.17216311395168304, -0.030376937240362167, 0.2999017536640167, 0.37429770827293396, 0.05795647203922272 ]
http://arxiv.org/abs/2404.06709v1
http://arxiv.org/pdf/2404.06709v1
CQIL: Inference Latency Optimization with Concurrent Computation of Quasi-Independent Layers
2024-04-10T03:30:01
2024-04-10T03:30:01
Longwei Zou, Qingyang Wang, Han Zhao, Jiangang Kong, Yi Yang, Yangdong Deng
cs.CL
cs.CL
The fast-growing large scale language models are delivering unprecedented performance on almost all natural language processing tasks. However, the effectiveness of large language models are reliant on an exponentially increasing number of parameters. The overwhelming computation complexity incurs a high inference latency that negatively affects user experience. Existing methods to improve inference efficiency, such as tensor parallelism and quantization, target to reduce per-layer computing latency, yet overlook the cumulative latency due to the number of layers. Recent works on reducing the cumulative latency through layer removing, however, lead to significant performance drop. Motivated by the similarity of inputs among adjacent layers, we propose to identify quasi-independent layers, which can be concurrently computed to significantly decrease inference latency. We also introduce a bypassing technique to mitigate the effect of information loss. Empirical experiments of the proposed approach on the LLaMA models confirm that Concurrent Computation of Quasi-Independent Layers (CQIL) can reduce latency by up to 48.3% on the LLaMA-33B model, while maintaining a close level of performance.
[ -0.31119632720947266, -1.0872564315795898, 0.645410418510437, 0.353001207113266, -0.0719996839761734, 0.3303748071193695, 0.16108042001724243, -0.8302111625671387, -0.0281883105635643, 0.34876808524131775, -0.5280292630195618, -0.06267528235912323, -0.19103504717350006, -0.39591580629348755, -0.4042913317680359, 0.5154281854629517, 0.12419094890356064, 0.052991364151239395, -0.3301306962966919, 0.19628912210464478, 0.0986638218164444, -0.47895658016204834, -1.043140172958374, -0.22185593843460083, 0.5326876044273376, 0.32084792852401733, 0.8221404552459717, 0.6012822389602661, 0.29861944913864136, 0.2576008141040802, -0.16415658593177795, 0.15165352821350098, -0.5430676341056824, -0.09095451980829239, 0.04012424126267433, -0.5212385654449463, -0.1916721612215042, -0.35061120986938477, 1.1816481351852417, 0.8286026120185852, -0.07656049728393555, 0.060847263783216476, 0.18792179226875305, 0.5770975351333618, -1.0622223615646362, -0.051019635051488876, -0.3749655485153198, 0.27094075083732605, -0.33241117000579834, 0.12804658710956573, -0.3388252854347229, -0.2601766884326935, 0.16649910807609558, -0.5919675827026367, 0.21063971519470215, 0.3413979709148407, 0.7055582404136658, 0.44146060943603516, -0.07096220552921295, 0.18934346735477448, -0.7967684268951416, 1.0116562843322754, -0.8658875823020935, 0.537021815776825, 0.3209734559059143, -0.07326057553291321, -0.20145051181316376, -0.9324094653129578, -0.6848810315132141, -0.420692503452301, -0.053388021886348724, 0.14947344362735748, -0.16649441421031952, 0.3282269239425659, 0.14111702144145966, 0.2571549117565155, -0.4959316849708557, 0.2609175145626068, 0.006567799020558596, -0.36756613850593567, 0.5090405344963074, 0.21754522621631622, 0.218445286154747, 0.06791336834430695, -0.3741414546966553, 0.06874915957450867, -0.6424543857574463, 0.34513214230537415, 0.3007993996143341, -0.12417950481176376, -0.016535013914108276, 0.31026503443717957, -0.4895428419113159, 0.4924428164958954, -0.03128810599446297, -0.20614564418792725, 0.0039034192450344563, -0.34334319829940796, -0.23896212875843048, -0.04230014607310295, 0.8513521552085876, -0.15654295682907104, -0.12264273315668106, -0.4435681700706482, -0.14154545962810516, 0.055382441729307175, -0.0253794863820076, -0.7985880970954895, -0.30984219908714294, 0.6577306985855103, -0.49760702252388, -0.060211971402168274, -0.10796582698822021, -0.47540268301963806, -0.03276088833808899, -0.0869775265455246, 0.34839755296707153, -0.30165302753448486, -0.17959091067314148, -0.059155602008104324, 0.19339486956596375, 0.0008855771156959236, 0.13489139080047607, -0.49572908878326416, 0.616873562335968, 0.5797989964485168, 0.7650124430656433, -0.0703563466668129, -0.3206131160259247, -0.9664756655693054, 0.3709327280521393, -0.34537866711616516, 0.7072587013244629, -0.5351406335830688, -0.19390003383159637, -0.36685705184936523, -0.27634453773498535, -0.1867111325263977, -0.42284640669822693, 0.7222380638122559, -0.7435731291770935, -0.0197588000446558, -0.09408356994390488, -0.6631976962089539, -0.00861530564725399, -0.1094534769654274, -0.7937926054000854, 1.0606733560562134, -0.08457645028829575, -0.9890720248222351, -0.08320467919111252, -0.4421590566635132, -0.3606451153755188, 0.09462419152259827, 0.06664206087589264, -0.6733843088150024, 0.20128536224365234, 0.32111331820487976, 0.26173534989356995, -0.7650992274284363, 0.30192360281944275, -0.5298454165458679, -0.70180743932724, 0.030408523976802826, -0.21770069003105164, 0.9111720323562622, 0.527325451374054, -0.3624403774738312, -0.06937534362077713, -0.7136510014533997, 0.35531899333000183, -0.09370394051074982, -0.18597854673862457, -0.3947930335998535, 0.38983261585235596, -0.003197266021743417, 0.1564895063638687, 0.20115768909454346, -0.5084936022758484, -0.1638520359992981, -0.3662952184677124, 0.26532265543937683, 0.5999433398246765, 0.11542244255542755, 0.3621433973312378, -0.3796688914299011, 0.5005163550376892, 0.29863250255584717, 0.40802255272865295, 0.35924580693244934, -0.18540796637535095, -0.9266965985298157, -0.5372269153594971, 0.42233288288116455, 0.6444569230079651, -1.1718398332595825, 0.08119603246450424, 0.13456834852695465, -0.5910559296607971, -0.7020676732063293, 0.15907548367977142, 0.8743398189544678, 0.5911097526550293, 0.3221100866794586, -0.40743109583854675, -0.4910750389099121, -0.980584442615509, -0.4063626825809479, -0.3833242952823639, -0.08058728277683258, 0.08873890340328217, -0.10408168286085129, 0.15456874668598175, 0.7643502950668335, -0.231620654463768, 0.16482366621494293, 0.0929948017001152, -0.028506726026535034, 0.10864678025245667, 0.7323775887489319, 0.3034979999065399, -0.7498043775558472, -0.27959755063056946, -0.1884506344795227, -0.7796675562858582, -0.3909052312374115, -0.264426052570343, -0.31370657682418823, 0.030506448820233345, 0.6719441413879395, -0.49481338262557983, 0.3266091048717499, 0.671761155128479, 0.0022744620218873024, 0.6481726169586182, -0.01862918585538864, 0.006974225863814354, -0.46813488006591797, -0.0782858282327652, 0.03436722233891487, -0.1394556164741516, -0.7380533814430237, 0.33480340242385864, 0.10994087904691696, 0.3312614858150482, -0.6031584143638611, 0.6052252650260925, -0.6934009790420532, 0.0421636663377285, 0.14691488444805145, -0.05103190243244171, 0.16501392424106598, 0.5840855240821838, 0.06618983298540115, 0.9027741551399231, 0.6098827123641968, -0.7002852559089661, -0.149784654378891, -0.1273130178451538, -0.3713867664337158, 0.28189265727996826, -0.7102987170219421, 0.23512209951877594, 0.02632547914981842, 0.29257169365882874, -0.7610574960708618, 0.12826618552207947, 0.3578089475631714, -0.022930217906832695, -0.037195850163698196, 0.018306616693735123, -0.6390262842178345, -0.28053686022758484, -0.2497435361146927, 0.8373159170150757, 0.2961472272872925, -0.5240173935890198, 0.5598774552345276, 0.3756914734840393, 0.0541759692132473, -0.6367611289024353, -0.8847384452819824, 0.02173616737127304, -0.07198021560907364, -0.6908303499221802, 0.6796666383743286, -0.2590956687927246, -0.3555201292037964, 0.185745507478714, 0.13038769364356995, -0.16108094155788422, 0.2871814966201782, 0.0023187287151813507, 0.11186660826206207, -0.35431206226348877, 0.141431987285614, 0.3143088221549988, 0.12272385507822037, 0.10010778903961182, -0.7307866811752319, 0.46396464109420776, -0.11066829413175583, -0.47026464343070984, -0.8358777165412903, 0.6169854402542114, 0.07977212965488434, -0.2896079421043396, 1.0940179824829102, 0.6658298373222351, -0.33328089118003845, -0.24201518297195435, -0.8044268488883972, 0.09572087228298187, -0.4344088137149811, 0.3111724555492401, -0.685765266418457, -0.9920989871025085, 0.5833849310874939, 0.15204878151416779, -0.27226993441581726, 0.4201304614543915, 0.5047307014465332, -0.09289027005434036, 0.877467930316925, 0.3614034950733185, -0.23640280961990356, 0.6847254633903503, -0.13482579588890076, 0.3337291479110718, -0.74190354347229, -0.14156602323055267, -0.5259964466094971, 0.021410616114735603, -0.7386135458946228, -0.40470483899116516, 0.431059867143631, 0.4311455190181732, -0.29863405227661133, -0.09170400351285934, -0.1492863893508911, 0.5530946850776672, 0.7442782521247864, 0.4448752701282501, 0.389363557100296, -0.051342178136110306, -0.40924423933029175, 0.33700376749038696, -1.0005559921264648, -0.1514306366443634, 0.6137515902519226, 0.22712868452072144, 0.6170642971992493, 0.23703745007514954, 0.7236118316650391, 0.3378532826900482, -0.07365907728672028, -0.34693557024002075, 0.5458362698554993, -0.22412054240703583, -0.20105595886707306, -0.17718461155891418, -0.8201022744178772, -0.5534778237342834, 0.2635272145271301, -0.25543180108070374, -1.006137728691101, 0.18405568599700928, 0.26413074135780334, -0.381289541721344, 0.4744759202003479, -1.0219248533248901, 0.47795188426971436, 0.06806837022304535, -1.167173981666565, -0.21879912912845612, -0.7723222970962524, 0.5870075225830078, -0.047574564814567566, 0.12679843604564667, 0.12197063118219376, -0.036917634308338165, 0.5235402584075928, -0.7083722352981567, 0.7052793502807617, -0.25397375226020813, 0.09613998234272003, 0.6083909869194031, 0.039194148033857346, 0.6370561718940735, 0.16237351298332214, -0.35657790303230286, 0.2829231917858124, 0.1755777895450592, -0.8149403929710388, -0.35993385314941406, 0.6577494144439697, -0.8059340715408325, -0.5612593293190002, -0.05943676456809044, -0.6673246622085571, -0.3866264820098877, 0.029176993295550346, 0.08316123485565186, 0.34064415097236633, -0.13855011761188507, -0.19877472519874573, 0.3996987044811249, -0.15121428668498993, 0.7214305400848389, 0.09836039692163467, 0.0512072928249836, -0.18830262124538422, 0.8391830325126648, 0.05053149163722992, 0.41991835832595825, 0.5264148116111755, 0.19796136021614075, -0.27925577759742737, -0.7800325155258179, -0.19911517202854156, 0.299232542514801, -0.358782023191452, -0.003530174260959029, -0.8475781083106995, -0.595384955406189, -0.2640710175037384, 0.15214745700359344, -0.2879936993122101, -0.6016368865966797, -0.47546473145484924, 0.45182564854621887, -0.1463547945022583, 0.28223106265068054, -0.020596934482455254, 0.6413930058479309, -0.8403538465499878, 0.4318774342536926, 0.17034770548343658, 0.3631224036216736, 0.525725245475769, -0.24479956924915314, -0.37984001636505127, -0.03683751821517944, -0.08995949476957321, -0.3843303918838501, 0.20192298293113708, 0.3520798087120056, 0.7005056142807007, 0.35577303171157837, 0.208998441696167, 0.8633654117584229, -0.19409413635730743, 0.715721070766449, 0.20300841331481934, -1.322338342666626, 0.010428187437355518, -0.08831433951854706, 0.45611661672592163, 0.2581571638584137, 0.1897382289171219, -0.30101773142814636, -0.7033097743988037, -0.7400377988815308, -0.7440111041069031, 0.44852322340011597, 0.4284251928329468, -0.29777178168296814, -0.017196068540215492, 0.26429498195648193, -0.2446689009666443, -0.04189436882734299, -0.4571770429611206, 0.003218037076294422, 0.20506855845451355, 0.028319235891103745, 0.2775212228298187, -0.4749576449394226, 0.21239911019802094, -0.22547326982021332, 0.6722878217697144, -0.11931289732456207, 0.14359761774539948, 0.41164007782936096, -0.1833864003419876, -0.0010042290668934584, 0.11930572986602783, 0.3637467324733734, 0.5892874002456665, -0.08245981484651566, 0.22719520330429077, 0.14752954244613647, -0.41916200518608093, -0.04339306429028511, 0.16678005456924438, -0.18883192539215088, -0.2921363115310669, 0.4286353290081024, 0.584442675113678, -0.09409519284963608, -0.5380047559738159, 0.1807427853345871, -0.16034919023513794, -0.0012412131763994694, -0.26143765449523926, 0.2488308846950531, 0.2342665195465088, 0.6324840188026428, 0.4237101078033447, 0.08245439827442169, 0.4007169306278229, -0.2176397442817688, 0.1684914529323578, 0.42119359970092773, -0.12486886233091354, -0.06452158093452454, 0.8358213901519775, -0.05991922318935394, -0.20936055481433868, 0.5611404776573181, -0.18311944603919983, -0.38668036460876465, 0.753908634185791, 0.4971340596675873, 0.7531481981277466, -0.32203027606010437, 0.10793758928775787, 0.29007595777511597, 0.1681133508682251, -0.20303598046302795, 0.1604427993297577, -0.14301495254039764, -0.7247202396392822, -0.7036129236221313, -0.6180238127708435, -0.5712607502937317, -0.21186281740665436, -0.5364251136779785, -0.02630373276770115, -0.6257591843605042, -0.01521114632487297, -0.12806452810764313, 0.2437073290348053, -0.6720305681228638, 0.40649038553237915, 0.05043093487620354, 0.667108952999115, -0.6296376585960388, 1.1114064455032349, 0.13078592717647552, -0.20160254836082458, -0.8739879131317139, 0.1300380378961563, -0.030884593725204468, -0.6577482223510742, 0.4227369725704193, -0.16234320402145386, -0.6345647573471069, 0.12561839818954468, -0.6220077872276306, -0.6425684094429016, 0.8077703714370728, 0.5373404622077942, -0.7856636047363281, -0.08720245212316513, 0.19201648235321045, 0.5524988770484924, -0.29562389850616455, 0.6225507259368896, 0.6624672412872314, 0.22067582607269287, 0.05683870241045952, -0.8045768737792969, 0.10732167214155197, -0.2797117233276367, 0.34394630789756775, 0.08736361563205719, -0.9998934864997864, 1.0973371267318726, -0.21847482025623322, -0.26846665143966675, 0.304761677980423, 0.8976004719734192, 0.4935576319694519, 0.41568008065223694, 0.7473270893096924, 0.4610951542854309, 0.8811274170875549, 0.22573985159397125, 1.0682543516159058, -0.257636159658432, 0.3091988265514374, 1.105870008468628, -0.07458735257387161, 0.8793936967849731, 0.8301194310188293, -0.2852954566478729, 0.4623388946056366, 0.7014901638031006, 0.34419721364974976, 0.4489424526691437, 0.3548203706741333, -0.608184814453125, -0.2921600341796875, -0.47256356477737427, -0.1590166836977005, 0.43063443899154663, 0.21527692675590515, -0.2585573196411133, 0.17142219841480255, -0.40743592381477356, 0.11706399917602539, -0.11734885722398758, -0.20589065551757812, 0.5479713082313538, 0.10152193158864975, -0.6632872819900513, 0.7200295329093933, -0.06482407450675964, 0.4103618264198303, -0.42405936121940613, -0.07676354795694351, -0.4485985338687897, 0.08386746793985367, -0.21793599426746368, -0.25003868341445923, 0.14810872077941895, -0.2267460972070694, -0.19954031705856323, 0.06393961608409882, 0.5455891489982605, -0.388427197933197, -0.6831001043319702, 0.5011317729949951, 0.7118635177612305, 0.032333847135305405, -0.08979889005422592, -0.6287580132484436, 0.1422247737646103, -0.11821732670068741, -0.3327191472053528, 0.22365371882915497, 0.36904776096343994, -0.35013526678085327, 0.715194821357727, 0.8176206946372986, 0.2620982229709625, 0.18850302696228027, 0.23373599350452423, 1.1149179935455322, -0.5092052817344666, -0.6830130219459534, -0.6923885345458984, 0.3511433005332947, -0.09376686066389084, -0.027517465874552727, 0.2797681987285614, 0.488989919424057, 0.8938729763031006, 0.13443462550640106, 0.5841630101203918, 0.008437085896730423, 0.38776490092277527, -1.088017225265503, 0.735922634601593, -0.7530892491340637, 0.7024852633476257, -0.4626493752002716, -1.0176531076431274, -0.3729115426540375, 0.2159441113471985, -0.1665681153535843, 0.09968876838684082, 0.9724248647689819, 0.9959539771080017, -0.11855648458003998, 0.18699461221694946, 0.4084167182445526, 0.36088472604751587, 0.3322919011116028, 0.9199101328849792, 0.8684320449829102, -0.5174514055252075, 0.4050682485103607, -0.633468508720398, -0.17168594896793365, 0.14547742903232574, -1.0646541118621826, -0.5905633568763733, -0.4330671429634094, -0.29606375098228455, -0.18945343792438507, 0.34995147585868835, 0.5414450764656067, 0.8116430044174194, -0.8439728021621704, -0.34680742025375366, -0.13952527940273285, 0.13645999133586884, -0.41357091069221497, -0.24431368708610535, 0.5542483925819397, -0.2748023271560669, -0.6681159734725952, 0.2801397144794464, 0.09120821207761765, -0.3547045886516571, -0.24280773103237152, 0.04993096739053726, -0.49072161316871643, 0.051314521580934525, 0.41546669602394104, 0.398723840713501, -0.881630003452301, -0.4490264356136322, -0.19549618661403656, -0.16145288944244385, -0.01147294882684946, 0.7017188668251038, -0.9269348382949829, 0.3129355013370514, 0.4112309515476227, 0.8978473544120789, 0.8335761427879333, 0.032955724745988846, 0.37633705139160156, -0.6240925788879395, 0.5153666734695435, 0.23061473667621613, 0.1928754448890686, 0.18506886065006256, -0.5424638986587524, 0.3982597589492798, 0.19764314591884613, -0.5402606129646301, -0.5656707882881165, -0.014971306547522545, -1.0286636352539062, -0.25168555974960327, 0.7536734938621521, -0.28538355231285095, -0.5172426104545593, -0.16075138747692108, 0.11636850982904434, 0.333497554063797, -0.3025003969669342, 0.7381207942962646, 0.5284992456436157, -0.35851094126701355, -0.7733004093170166, -0.4551600217819214, 0.27324941754341125, 0.9846041798591614, -0.9512935876846313, -0.34069544076919556, 0.39100760221481323, -0.06958077847957611, -0.2307964563369751, 0.7277178168296814, 0.11902400106191635, 0.17350251972675323, 0.21493105590343475, 0.03382522612810135, 0.13835564255714417, -0.2557913362979889, 0.043416593223810196, 0.3502175807952881, 0.16795556247234344, -0.20867370069026947 ]
http://arxiv.org/abs/2404.06690v2
http://arxiv.org/pdf/2404.06690v2
CoVoMix: Advancing Zero-Shot Speech Generation for Human-like Multi-talker Conversations
2024-04-10T02:32:58
2024-05-29T07:30:20
Leying Zhang, Yao Qian, Long Zhou, Shujie Liu, Dongmei Wang, Xiaofei Wang, Midia Yousefi, Yanmin Qian, Jinyu Li, Lei He, Sheng Zhao, Michael Zeng
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG, cs.SD
Recent advancements in zero-shot text-to-speech (TTS) modeling have led to significant strides in generating high-fidelity and diverse speech. However, dialogue generation, along with achieving human-like naturalness in speech, continues to be a challenge. In this paper, we introduce CoVoMix: Conversational Voice Mixture Generation, a novel model for zero-shot, human-like, multi-speaker, multi-round dialogue speech generation. CoVoMix first converts dialogue text into multiple streams of discrete tokens, with each token stream representing semantic information for individual talkers. These token streams are then fed into a flow-matching based acoustic model to generate mixed mel-spectrograms. Finally, the speech waveforms are produced using a HiFi-GAN model. Furthermore, we devise a comprehensive set of metrics for measuring the effectiveness of dialogue modeling and generation. Our experimental results show that CoVoMix can generate dialogues that are not only human-like in their naturalness and coherence but also involve multiple talkers engaging in multiple rounds of conversation. This is exemplified by instances generated in a single channel where one speaker's utterance is seamlessly mixed with another's interjections or laughter, indicating the latter's role as an attentive listener. Audio samples are available at https://aka.ms/covomix.
[ -0.7324382662773132, -0.8351620435714722, 0.19410158693790436, 0.09970247745513916, -0.3133367598056793, 0.5100977420806885, 0.058991216123104095, -0.3466345965862274, 0.29834461212158203, 0.506013810634613, -0.7773714661598206, -0.5360414385795593, -0.081446073949337, 0.07019489258527756, -0.4628519117832184, 0.8425987958908081, 0.7078982591629028, 0.11992906033992767, -0.22345376014709473, -0.09287649393081665, -0.5827120542526245, -0.5637538433074951, -0.5999652743339539, -0.4548848271369934, 0.5484282970428467, 0.494564950466156, 0.5656753778457642, 0.12359226495027542, -0.21821433305740356, 0.17497679591178894, 0.1755744367837906, 0.15766873955726624, -0.4767307937145233, 0.4809742867946625, 0.37116503715515137, -0.3005228042602539, -0.4683508276939392, 0.003973805345594883, 0.35619065165519714, 0.6435661315917969, -0.54847651720047, -0.12256146222352982, -0.004103800281882286, -0.03590330109000206, -0.5128848552703857, -0.2152952253818512, -0.8121416568756104, 0.13455450534820557, -0.012247362174093723, -0.35898011922836304, -0.24287083745002747, -0.15768107771873474, 0.1582334190607071, -0.5157524347305298, 0.5945382714271545, 0.05225377157330513, 0.5184109807014465, 0.14468495547771454, -0.16788160800933838, -0.19526724517345428, -0.8456903100013733, 0.7936538457870483, -0.82129967212677, 0.23120567202568054, -0.10517421364784241, 0.5462205410003662, -0.35662147402763367, -0.344268798828125, -0.8236309289932251, -0.19660989940166473, 0.4182119369506836, 0.40453779697418213, -0.19939258694648743, 0.08381958305835724, -0.11136291921138763, 0.21480870246887207, -0.5411423444747925, -0.1033170223236084, -0.05056608468294144, -0.10227108001708984, 0.6338542103767395, 0.3229685127735138, 0.42784973978996277, -0.19977155327796936, -0.26277482509613037, -0.12979842722415924, -0.47525152564048767, 0.08386040478944778, 0.5067616105079651, 0.48639312386512756, -0.3843879699707031, 0.514772891998291, -0.25947895646095276, 0.8733826875686646, 0.12802405655384064, -0.3401021957397461, 0.016054924577474594, -0.49925878643989563, -0.21388691663742065, 0.3266637623310089, 1.0527633428573608, 0.2274281531572342, -0.09931601583957672, -0.20431895554065704, 0.1662972867488861, 0.008868447504937649, 0.2936256229877472, -0.971642792224884, -0.16088007390499115, 0.37098246812820435, 0.017353957518935204, -0.5042078495025635, -0.021298255771398544, -0.8231772780418396, -0.2551741600036621, -0.2505316734313965, 0.18090488016605377, -0.36776912212371826, -0.3397814929485321, 0.050465669482946396, -0.38453325629234314, 0.1834806352853775, 0.27499210834503174, -0.7579213380813599, 0.4320697486400604, 0.5842866897583008, 0.7349722981452942, -0.1492013782262802, -0.06832780689001083, -1.0200207233428955, 0.1548258513212204, -0.3955041468143463, 0.5972929000854492, -0.6045047640800476, -0.6557319760322571, -0.23076938092708588, -0.7121514678001404, 0.08914665877819061, -0.7191593647003174, 0.28948429226875305, 0.10402633994817734, 0.3385378420352936, 0.15990214049816132, -0.29238182306289673, 0.09821817278862, 0.28843438625335693, -0.23121660947799683, 0.7994222640991211, 0.16943621635437012, -0.38037773966789246, 0.30627235770225525, -0.6861733198165894, -0.3012791872024536, 0.3902643918991089, -0.5167375206947327, -0.6105055212974548, 0.10532403737306595, -0.06940654665231705, 0.3657764792442322, -0.47754502296447754, 0.62795090675354, -0.47322723269462585, -0.17657116055488586, 0.4283842444419861, -0.6260958909988403, 0.5141986012458801, 0.3691657483577728, -0.34383460879325867, -0.007006562780588865, -1.0008715391159058, -0.031897567212581635, 0.06637759506702423, 0.02924242801964283, -0.07649259269237518, 0.07819537073373795, -0.10685230791568756, 0.40194717049598694, -0.3918057084083557, -0.8980449438095093, -0.3589077889919281, -0.43394240736961365, 0.5221561789512634, 0.03778926655650139, 0.31373244524002075, 0.4367615282535553, -0.5807134509086609, 0.6277108788490295, 0.31709131598472595, 0.026674192398786545, -0.6434535980224609, -0.8358350396156311, -0.8593019247055054, -0.5161615014076233, -0.11463320255279541, 0.5188657641410828, -0.7677661776542664, 0.529000997543335, -0.11438345909118652, -0.6249061822891235, -0.6047780513763428, -0.23621554672718048, 0.2508556842803955, 0.6574504971504211, 0.25858020782470703, -0.5096440315246582, -0.4016488194465637, -0.6123014092445374, 0.016000671312212944, -0.13338728249073029, -0.14576877653598785, 0.5935909152030945, 0.09488371014595032, -0.08613470941781998, 1.3296170234680176, -0.33741679787635803, 0.2645750939846039, -0.2701241075992584, 0.653907299041748, -0.22013385593891144, 0.2646533250808716, 0.4971288740634918, -0.48459917306900024, -0.494500070810318, -0.1407625377178192, -0.39775875210762024, -0.2032831609249115, -0.2123349905014038, -0.18384967744350433, -0.01947387121617794, 0.16720248758792877, -0.2761376202106476, 0.2900528907775879, 0.69605952501297, -0.03655343875288963, 0.5332303047180176, -0.1579127162694931, 0.1332886964082718, -1.5003468990325928, -0.10733811557292938, 0.0044869245029985905, -0.4747863709926605, -1.0347884893417358, -0.26541706919670105, -0.7160795331001282, -0.825947642326355, -0.6938851475715637, 0.35379430651664734, -0.3088376224040985, -0.05868176743388176, -0.24791750311851501, 0.13723205029964447, 0.2655515968799591, 0.5922881364822388, -0.03451681509613991, 0.8988897800445557, 0.5553922653198242, -0.5394002795219421, 0.6202902793884277, 0.3222089409828186, -0.1799781322479248, 0.8566609025001526, -0.6315923929214478, 0.5804532766342163, 0.0923684611916542, 0.3879892826080322, -0.9636815786361694, -0.21897202730178833, 0.21193479001522064, -0.6634498238563538, -0.08251643925905228, 0.0759710967540741, -0.14005988836288452, -0.16803908348083496, -0.2055424004793167, 0.21921579539775848, 0.3506649136543274, -0.387136846780777, 0.4607793390750885, 0.4689177870750427, -0.6849453449249268, -0.0013233551289886236, -0.47562626004219055, 0.6090041399002075, -0.06948763132095337, -0.9776138067245483, 0.2291509509086609, -0.3291241228580475, -0.14154893159866333, -0.42208510637283325, 0.27655231952667236, -0.17676839232444763, -0.07480335980653763, 0.28805872797966003, 0.24598810076713562, -0.07568816095590591, -0.2167157083749771, 0.17883910238742828, 0.14435963332653046, -0.2202131599187851, -0.09674374759197235, 0.8675405979156494, 0.19619575142860413, -0.3874298334121704, -0.46155545115470886, 1.035149097442627, 0.5492861270904541, -0.19414867460727692, 0.3981315791606903, 0.7333180904388428, -0.04510049149394035, -0.02136753499507904, -0.4449726343154907, -0.23454251885414124, -0.3706399202346802, 0.18913474678993225, -0.4878741204738617, -1.0497316122055054, 0.40805140137672424, 0.16656377911567688, -0.12339287996292114, 0.1019953116774559, 0.7289091944694519, -0.07225345075130463, 1.2356170415878296, 0.2859828472137451, 0.2642592191696167, 0.5052065849304199, -0.0034558423794806004, 0.34368306398391724, -0.563768208026886, -0.30015575885772705, -0.5789782404899597, -0.0026977970264852047, -0.5667228698730469, -0.5931991934776306, 0.48968037962913513, -0.37712159752845764, -0.051777709275484085, 0.1548515409231186, -0.29880446195602417, 0.10332857072353363, 0.8244799971580505, -0.061354029923677444, 0.24399718642234802, 0.19273418188095093, -0.1764591783285141, 0.038743410259485245, -0.9083858132362366, -0.24404962360858917, 0.6225521564483643, 0.0855073630809784, 0.5920606255531311, -0.048191241919994354, 0.9557507038116455, 0.0933181494474411, -0.059023417532444, -0.6858357787132263, 0.530431866645813, -0.12154164910316467, -0.6536270976066589, -0.26974397897720337, -0.5270518660545349, -0.8831074237823486, 0.1642255038022995, -0.5918774008750916, -0.5525981187820435, 0.2638314664363861, 0.05908454582095146, -0.8377271294593811, -0.005770757794380188, -0.7438202500343323, 0.6225379705429077, -0.00530516030266881, -0.33300426602363586, -0.12403583526611328, -0.7485439777374268, 0.36946427822113037, -0.056835297495126724, 0.04470203444361687, -0.2603207528591156, 0.4224652647972107, 0.27585190534591675, -0.4323611557483673, 0.7848345041275024, -0.22061499953269958, -0.069951131939888, 0.7163894772529602, 0.03982294350862503, 0.24060854315757751, 0.1407567858695984, 0.2052590698003769, 0.3609664738178253, -0.06948711723089218, -0.3782210946083069, -0.41651445627212524, 0.3807949721813202, -0.7904167771339417, -0.39449453353881836, -0.18403494358062744, -0.6008837819099426, -0.3210449814796448, -0.08051144331693649, 0.37588804960250854, 0.7501813173294067, -0.697835385799408, 0.2855556905269623, 0.33497315645217896, -0.519065260887146, 0.3791041672229767, 0.45531824231147766, -0.15896840393543243, -0.6511702537536621, 1.2481563091278076, -0.14345361292362213, 0.6025161743164062, 0.23078620433807373, 0.21391788125038147, -0.0992550328373909, -0.22390136122703552, -0.5614684224128723, 0.01708669401705265, 0.13789379596710205, -0.020494410768151283, -0.7478007078170776, -0.30411386489868164, -0.5156654119491577, -0.04973016306757927, -0.45792141556739807, -0.23637482523918152, -0.4091300964355469, 0.31348007917404175, -0.21491223573684692, 0.5146453380584717, 0.024398116394877434, 0.5318793654441833, -0.992550253868103, 0.6792311072349548, 0.8651201725006104, 0.04507710784673691, -0.31640318036079407, -0.24867305159568787, -0.17532142996788025, 0.5330270528793335, -0.5308318734169006, -0.8368009328842163, 0.8592332601547241, 0.3822983205318451, 0.34640058875083923, 0.14117451012134552, -0.08342225849628448, 0.6696856617927551, -0.5165688395500183, 1.0242698192596436, 0.9044801592826843, -0.8639408349990845, 0.5221867561340332, -0.594291090965271, 0.46240687370300293, 0.2988300919532776, -0.39835262298583984, -0.9108391404151917, -0.7927651405334473, -0.6135138869285583, -0.6066938042640686, 0.7057428359985352, 0.5167451500892639, 0.23432330787181854, -0.04719242826104164, 0.0031040250323712826, 0.38658881187438965, 0.3217606246471405, -0.2037687748670578, -0.1190333291888237, -0.5598159432411194, -0.24165202677249908, -0.27236977219581604, -0.11614065617322922, -0.44912436604499817, -0.18880850076675415, 0.45773187279701233, -0.27226921916007996, 0.4933614432811737, 0.10768552124500275, 0.2003534734249115, -0.30271288752555847, 0.7276235818862915, 0.9898359775543213, 0.1615549623966217, -0.34025973081588745, 0.12444151192903519, -0.14354145526885986, -0.3383968770503998, 0.28026148676872253, 0.18129689991474152, -0.09871724247932434, 0.2889661192893982, -0.22319848835468292, 1.1566166877746582, 0.05164375901222229, -0.5400486588478088, 0.4422411620616913, -0.4301539659500122, -0.4076283574104309, -0.2184605598449707, 0.41019806265830994, 0.019186995923519135, 0.14687210321426392, 0.3337406814098358, 0.38220006227493286, 0.3244996666908264, -0.6436115503311157, 0.20891642570495605, 0.45602700114250183, -0.39275267720222473, -0.35737428069114685, 0.7279419898986816, 0.7898423671722412, -0.7074228525161743, 0.29174038767814636, -0.3922981917858124, -0.13448236882686615, 0.3024115264415741, 0.5652278661727905, 1.3100637197494507, -0.21842506527900696, 0.49715307354927063, 0.19350609183311462, -0.19733119010925293, 0.3513263165950775, 0.08816318213939667, -0.35818207263946533, -0.7810828685760498, -0.38664716482162476, -0.5822789072990417, -0.911742091178894, 0.012785670347511768, -0.505315899848938, 0.18244662880897522, -0.013555102981626987, -0.2614309787750244, 0.1545398235321045, -0.17872869968414307, -0.2863456606864929, 0.29228898882865906, 0.6963649392127991, 0.32141709327697754, -0.777348518371582, 0.7930781245231628, 0.17674775421619415, -0.141078919172287, -0.7084025740623474, -0.031882960349321365, -0.1148228719830513, -0.6011930108070374, -0.011575720272958279, 0.15519236028194427, -0.465737909078598, 0.1119069755077362, -0.6596673727035522, -0.24501241743564606, 1.135181188583374, 0.6411297917366028, -0.828117311000824, -0.03715375065803528, 0.6237602829933167, 0.4079161286354065, -0.6562573313713074, 0.18904943764209747, 0.4943637549877167, 0.002037490950897336, 0.838512122631073, -0.8267790079116821, -0.5274462103843689, -0.277468740940094, 0.14119844138622284, -0.025789739564061165, -0.6074233651161194, 0.7741178274154663, -0.06223928928375244, -0.09567686170339584, 0.09560780227184296, 0.4447503983974457, 0.5656009912490845, 0.5866812467575073, 0.61415696144104, 0.5864912271499634, 0.5829988718032837, -0.1372411549091339, 0.8976213932037354, -0.3531922399997711, -0.08430059999227524, 1.375781536102295, -0.4011417627334595, 0.6224572062492371, 0.22079631686210632, 0.007263966370373964, 0.386995404958725, 0.31640923023223877, 0.27389898896217346, 0.35538187623023987, 0.08090238273143768, -0.8283340334892273, -0.45184436440467834, -0.38357627391815186, -0.27109673619270325, 0.8128674626350403, 0.07555367052555084, 0.04404376819729805, -0.11147835105657578, 0.10045196115970612, -0.10937339812517166, -0.09249237924814224, 0.07007412612438202, 1.0209157466888428, 0.08395624160766602, -0.8719101548194885, 0.450054407119751, -0.1624819040298462, 0.7127392292022705, -0.34372764825820923, -0.19873233139514923, -0.16058211028575897, -0.1733587086200714, 0.05572986975312233, -0.5089742541313171, 0.2652551531791687, 0.17953400313854218, -0.053056500852108, -0.08240930736064911, 0.6849436163902283, -0.9603561758995056, -0.32476451992988586, 0.11184065788984299, 0.6980851292610168, 0.10439387708902359, -0.20650839805603027, -0.6262326240539551, -0.09398889541625977, -0.031064512208104134, 0.26463258266448975, 0.14512746036052704, 0.25362467765808105, 0.3179030418395996, 0.40083789825439453, 0.7440974712371826, 0.10905817151069641, 0.47610631585121155, 0.6854507327079773, 0.5524535775184631, -0.5117143988609314, -0.5860652327537537, -0.637571394443512, 0.6363056898117065, -0.19680219888687134, -0.13935041427612305, 0.4379355013370514, 0.7435005307197571, 0.27914705872535706, 0.11162988096475601, 1.0531924962997437, 0.20215004682540894, 0.6123600602149963, 0.027280617505311966, 0.6628410816192627, -0.40051352977752686, -0.3560788333415985, -0.2194184511899948, -0.802233874797821, -0.14344522356987, 0.26034417748451233, 0.18489980697631836, -0.012170035392045975, 0.1215854361653328, 0.9439782500267029, 0.1447361260652542, 0.19717523455619812, 0.9198094606399536, -0.0010683792643249035, 0.657760500907898, 0.38115862011909485, 1.0190140008926392, -0.19455000758171082, 0.726559042930603, -0.1255543828010559, -0.029575325548648834, -0.34695950150489807, -0.5826421976089478, -0.7449495792388916, -0.3915290832519531, -0.31492599844932556, -0.1183275580406189, -0.025338033214211464, 0.9182218313217163, 0.9611968398094177, -0.6401775479316711, -0.5116080045700073, -0.42531299591064453, -0.2618212401866913, 0.10449777543544769, -0.21437329053878784, -0.7112234830856323, -0.3384893536567688, -1.1091974973678589, 0.6579220294952393, 0.8730583786964417, 0.23624087870121002, -0.49129146337509155, -0.3449440896511078, -0.1266334056854248, 0.6031385660171509, 0.5925965905189514, 0.21458646655082703, -0.4993872046470642, -0.11207375675439835, 0.1250636875629425, -0.2001926749944687, 0.40743309259414673, 0.7476389408111572, -0.6518322229385376, 1.0362155437469482, 0.38345107436180115, 0.1717064082622528, 0.7193717360496521, -0.03950517252087593, 0.9519929885864258, -1.1207160949707031, 0.26884302496910095, 0.3708976209163666, 0.038598671555519104, 0.5269979238510132, 0.0843430906534195, -0.05242374911904335, 0.4406266510486603, -0.43205609917640686, -0.6957768201828003, 0.4238192141056061, -1.352001667022705, 0.15467026829719543, 0.9588843584060669, 0.08879521489143372, -0.12145837396383286, -0.3560095727443695, -0.4774731993675232, 0.6851713061332703, -0.7425541877746582, 0.5648931860923767, 0.4712800681591034, -0.26347705721855164, -0.37061649560928345, -0.3049595057964325, 0.19406163692474365, 0.30869072675704956, -0.8766684532165527, -0.3138938546180725, 0.5498422384262085, 0.1598280519247055, 0.28081315755844116, 0.6935054063796997, 0.135393887758255, 0.18570047616958618, 0.32866746187210083, 0.3470333516597748, 0.007284006103873253, -0.1811574101448059, -0.14650224149227142, 0.2818220257759094, -0.16111543774604797, -0.36608296632766724 ]
http://arxiv.org/abs/2404.06680v1
http://arxiv.org/pdf/2404.06680v1
Onco-Retriever: Generative Classifier for Retrieval of EHR Records in Oncology
2024-04-10T02:02:34
2024-04-10T02:02:34
Shashi Kant Gupta, Aditya Basu, Bradley Taylor, Anai Kothari, Hrituraj Singh
cs.CL
cs.CL
Retrieving information from EHR systems is essential for answering specific questions about patient journeys and improving the delivery of clinical care. Despite this fact, most EHR systems still rely on keyword-based searches. With the advent of generative large language models (LLMs), retrieving information can lead to better search and summarization capabilities. Such retrievers can also feed Retrieval-augmented generation (RAG) pipelines to answer any query. However, the task of retrieving information from EHR real-world clinical data contained within EHR systems in order to solve several downstream use cases is challenging due to the difficulty in creating query-document support pairs. We provide a blueprint for creating such datasets in an affordable manner using large language models. Our method results in a retriever that is 30-50 F-1 points better than propriety counterparts such as Ada and Mistral for oncology data elements. We further compare our model, called Onco-Retriever, against fine-tuned PubMedBERT model as well. We conduct an extensive manual evaluation on real-world EHR data along with latency analysis of the different models and provide a path forward for healthcare organizations to build domain-specific retrievers.
[ 0.20818917453289032, -0.5594745874404907, 0.8350462317466736, -0.37365737557411194, -0.09726673364639282, 0.0992182120680809, 0.2047690898180008, -0.23003718256950378, 0.14129100739955902, 0.9482272863388062, -0.15324576199054718, -0.6107549071311951, -0.5895631313323975, -0.05427020415663719, -0.2555937170982361, 0.9767953157424927, 0.22428789734840393, 0.08993187546730042, -0.2024669349193573, -0.024290384724736214, -0.029658475890755653, -0.5709200501441956, -0.7801960706710815, -0.40172603726387024, 0.9169498682022095, 0.4065985679626465, 0.3874553442001343, 0.7459892630577087, 0.768923819065094, 0.2007463127374649, -0.24170799553394318, 0.0878773182630539, -0.5839419960975647, 0.5705209374427795, 0.13967570662498474, -0.6792636513710022, -0.5957249999046326, -0.6996316313743591, 0.3221277594566345, 0.43832191824913025, -0.7451013326644897, -0.1814388781785965, -0.18855799734592438, 0.6518399715423584, -0.8469616174697876, 0.039089128375053406, -0.7146867513656616, 0.38756898045539856, -0.3985097110271454, -0.3908518850803375, -0.43555396795272827, -0.585120677947998, 0.16623811423778534, -0.7192455530166626, 0.5499764680862427, 0.23098716139793396, 0.8424667119979858, -0.01881634071469307, -0.45938342809677124, -0.5311402082443237, -0.6375849843025208, 0.5876083970069885, -0.4734891355037689, 0.6778214573860168, 0.5969886183738708, 0.5884963274002075, 0.10227017849683762, -1.1750998497009277, -0.12662014365196228, -0.03660391643643379, -0.055589232593774796, 0.36491087079048157, -0.19653859734535217, 0.32306623458862305, 0.17208783328533173, 0.6699804663658142, -0.5090292692184448, -0.061815038323402405, -0.29640698432922363, -0.13832470774650574, 0.5012158751487732, 0.5334954261779785, 0.1642591655254364, -0.1972675621509552, -0.02981719560921192, 0.08209241926670074, -1.0264452695846558, -0.4182240664958954, -0.177186518907547, 0.33487942814826965, 0.2086007446050644, 0.7009397149085999, -0.3277713358402252, 0.6749243140220642, 0.18504422903060913, -0.006433690432459116, 0.1286119818687439, -0.40729275345802307, -0.1243470311164856, 0.3792530596256256, 0.600450873374939, -0.046686768531799316, -0.4113980829715729, -0.468226820230484, -0.15845061838626862, -0.26048779487609863, 0.5288425087928772, -0.8656139373779297, -0.2996383011341095, 0.367338627576828, -0.6455650329589844, -0.28449884057044983, 0.07490628212690353, -0.9344950914382935, -0.4151291251182556, 0.1338450014591217, 0.1799307018518448, -0.30730146169662476, 0.2685822546482086, 0.18565168976783752, -0.07159780710935593, 0.16958922147750854, 0.21242132782936096, -0.657028079032898, 0.23501476645469666, 0.6361404657363892, 0.8663021326065063, 0.05764799937605858, 0.2861054241657257, -1.0768518447875977, 0.3065338730812073, -0.04200437664985657, 0.8109759092330933, -0.6028621792793274, -0.7077207565307617, 0.2812659740447998, 0.22431708872318268, 0.0013889293186366558, -0.747454822063446, 0.7887377142906189, -0.7864809632301331, 0.3292548954486847, -0.4403294622898102, -0.8352641463279724, 0.28228750824928284, 0.3397696912288666, -0.8300395011901855, 0.5871009826660156, 0.0759187862277031, -0.8870201706886292, 0.2572369873523712, -0.5130817890167236, -0.08119343221187592, 0.5986075401306152, -0.35935235023498535, -0.7441608905792236, 0.061522167176008224, -0.049713607877492905, 0.34574127197265625, -0.6517583727836609, 0.019991489127278328, -0.04227834567427635, -0.13734932243824005, -0.0022815773263573647, 0.15153396129608154, 0.614875316619873, 0.6227902173995972, 0.1792520135641098, -0.22023552656173706, -0.7319554090499878, 0.10024057328701019, 0.2779523730278015, -0.8231183290481567, -0.5542165637016296, 0.26209402084350586, 0.04495792090892792, 0.06773212552070618, 0.00700781773775816, -0.8941175937652588, -0.005981086753308773, -0.4601827561855316, 0.11161302030086517, -0.018703514710068703, 0.21738438308238983, 0.03290948271751404, -0.6111631989479065, 0.6315943002700806, -0.1542198359966278, -0.005625559948384762, -0.3603462278842926, -0.36064663529396057, -0.5047491192817688, -0.335845410823822, 0.3996155261993408, 0.47593897581100464, -0.7818426489830017, 0.35791128873825073, -0.33463960886001587, -0.5732777714729309, -0.7199573516845703, -0.14178325235843658, 0.7468945384025574, 0.5979682803153992, 0.32992470264434814, -0.3752725124359131, -0.45984750986099243, -0.46450406312942505, 0.012945366092026234, 0.12728166580200195, -0.49493205547332764, 0.6068680882453918, -0.006367087829858065, -0.23215948045253754, 0.7065814137458801, -0.8668943047523499, -0.5632930994033813, -0.3119828701019287, -0.05376405641436577, 0.05520041659474373, -0.03252699226140976, -0.06572584807872772, -0.8982569575309753, -0.30061522126197815, 0.5080095529556274, -0.9177974462509155, -0.13684546947479248, 0.4450676739215851, 0.027003837749361992, -0.16449329257011414, 0.4673459231853485, -0.3273019790649414, 0.2952689230442047, 0.23679937422275543, -0.2933177351951599, 0.09866398572921753, -0.48441752791404724, 0.27191126346588135, -0.9973933100700378, 0.5029717683792114, -0.09323173761367798, -0.17798908054828644, -0.6840331554412842, 0.19590145349502563, -0.038672495633363724, -0.100960373878479, -0.48767930269241333, 0.40954115986824036, -0.5470994114875793, -0.10075148940086365, -0.05427628010511398, -0.0488731823861599, 0.3111179769039154, -0.07304319739341736, 0.13657087087631226, 0.3705809712409973, 0.19372926652431488, -0.5693899989128113, 0.4974403381347656, 0.6015800833702087, -0.420300155878067, 0.5566394925117493, -0.7805112600326538, 0.27095985412597656, -0.30322572588920593, 0.1376664936542511, -0.5938172340393066, -0.32603782415390015, 0.09050697088241577, -0.13705593347549438, 0.29808759689331055, -0.5144584774971008, -0.38868004083633423, -0.20648355782032013, 0.09430474042892456, 0.28300631046295166, 0.38346853852272034, -0.370070219039917, 0.6738237738609314, 0.6385321021080017, -0.4730489253997803, -0.32411491870880127, -0.6444941163063049, -0.22326107323169708, -0.10652324557304382, -0.2353202849626541, 0.659653902053833, 0.29276981949806213, -0.12922532856464386, 0.0771259218454361, 0.2625274062156677, -0.1586570143699646, -0.19036158919334412, 0.1985476016998291, 0.20529262721538544, -0.1915884017944336, 0.3764955997467041, 0.0487213209271431, 0.014636513777077198, 0.00475357985123992, -0.05364158749580383, 0.4335983991622925, 0.25359970331192017, -0.6452505588531494, 0.02917536161839962, 0.4949991703033447, 0.3801019489765167, -0.2706413269042969, 0.672137439250946, -0.013789406977593899, -0.511821448802948, 0.2556203603744507, -0.5706863403320312, -0.23015524446964264, -0.38260436058044434, 0.37094447016716003, -0.36832544207572937, -0.862138569355011, 0.5529970526695251, -0.09291594475507736, 0.020016435533761978, 0.3702189326286316, 0.6257427334785461, 0.09840720891952515, 1.0285673141479492, 0.3257454037666321, 0.22089146077632904, 0.2630148231983185, -0.25617966055870056, 0.04726148396730423, -0.9632830619812012, -0.7723193764686584, -0.7720919251441956, 0.25500813126564026, -0.5790237784385681, -0.28044572472572327, 0.561642050743103, -0.1632162630558014, -0.1928252875804901, 0.07037430256605148, -0.5568733215332031, 0.21782347559928894, 0.02939540147781372, 0.3269527852535248, 0.6423240900039673, 0.26050907373428345, -0.38048475980758667, -0.11227653175592422, -0.9139254093170166, -0.3246624767780304, 1.2185392379760742, 0.26235663890838623, 0.9145636558532715, 0.32808148860931396, 0.5661492943763733, 0.2538636326789856, 0.2834247350692749, -0.8090318441390991, 0.11364322900772095, -0.5841948986053467, -0.5772876739501953, -0.04980187863111496, -0.5272268056869507, -1.5044081211090088, 0.21538573503494263, -0.2923140525817871, -0.5502393841743469, 0.31335094571113586, 0.17821112275123596, -0.49305203557014465, 0.2160201519727707, -0.012341916561126709, 0.8170004487037659, -0.2278176248073578, -0.28725454211235046, 0.13704007863998413, -0.7058101296424866, 0.012537729926407337, -0.08284270763397217, 0.12110832333564758, 0.1952264904975891, -0.04773811623454094, 0.32734227180480957, -0.6209325194358826, 0.35861578583717346, -0.04413941502571106, -0.05693857744336128, 0.25398775935173035, 0.05509740486741066, 0.5914090871810913, -0.33196359872817993, -0.33335158228874207, -0.0642174705862999, 0.11754972487688065, -0.21906793117523193, -0.3699701726436615, 0.673831582069397, -0.4182164669036865, -0.22951529920101166, -0.3250945508480072, -0.04324720427393913, -0.1006772592663765, 0.05789560824632645, 0.7856727838516235, 0.6553766131401062, -0.3884502649307251, 0.36693066358566284, 0.9123793840408325, -0.22643350064754486, -0.1789466142654419, 0.6297128200531006, -0.4389301538467407, -0.24184824526309967, 0.9264623522758484, 0.19698235392570496, 0.2701111435890198, 0.7698194980621338, 0.12738248705863953, -0.42597177624702454, -0.435370534658432, -0.34991133213043213, 0.1342148780822754, -0.5551674962043762, -0.2904938757419586, -0.9885947108268738, -0.47119006514549255, -0.10396876931190491, -0.06565207988023758, -0.26504358649253845, -0.1369752436876297, -0.4217633903026581, 0.003907305188477039, 0.3668566644191742, 0.511359691619873, 0.4325271546840668, 0.34825947880744934, -1.184609293937683, 0.03151557967066765, 0.2972273826599121, 0.23365874588489532, -0.05256829038262367, -0.6890192627906799, -0.3157898187637329, -0.18154609203338623, -0.5921006202697754, -0.8613806366920471, 0.6874002814292908, 0.31657055020332336, 0.5899330973625183, 0.46767252683639526, 0.049880124628543854, 0.13296253979206085, -0.5017176866531372, 0.4500829577445984, 0.06541898846626282, -0.3404896855354309, 0.8605807423591614, -0.40317225456237793, 0.10934193432331085, 0.38748306035995483, 0.6022334098815918, -0.6043121814727783, -0.12623901665210724, -0.6895365715026855, -0.9813960790634155, 0.600372850894928, 0.043474823236465454, -0.3184117078781128, -0.22211503982543945, 0.6061164736747742, -0.040894217789173126, 0.19999615848064423, -0.0655483528971672, -0.20312969386577606, -0.005453774239867926, -0.35612139105796814, 0.0478997565805912, -0.35892006754875183, -0.30336225032806396, 0.2612961232662201, 0.46215102076530457, -0.09737135469913483, 0.46731501817703247, 0.3919057846069336, 0.05386129394173622, -0.21703636646270752, 0.501038670539856, -0.08640027791261673, 0.3502058982849121, -0.37969571352005005, -0.044882599264383316, 0.10920117050409317, -0.5465497970581055, 0.05002039298415184, 0.27651819586753845, -0.18680819869041443, 0.058749254792928696, 0.09340571612119675, 0.7876666784286499, 0.14100870490074158, -0.8435797691345215, 0.4836166501045227, -0.17643292248249054, 0.0014163111336529255, -0.19605053961277008, 0.020237620919942856, -0.061509910970926285, -0.020781898871064186, 0.4044642150402069, -0.5387408137321472, 0.7081880569458008, -0.5094141960144043, 0.3654576539993286, 0.4113209843635559, -0.7354862093925476, -0.10232829302549362, 0.8240757584571838, 0.11101650446653366, -0.30857664346694946, 0.7477327585220337, 0.0700295940041542, -0.19379094243049622, 0.6561028361320496, 0.7246593832969666, 0.627597451210022, -0.342608243227005, 0.09190715849399567, 0.3062856197357178, -0.3856087028980255, -0.3013472259044647, 0.43329766392707825, 0.19402934610843658, -0.6499363780021667, -0.23634478449821472, -0.5846526622772217, -0.6080522537231445, -0.0770672932267189, -0.9582610130310059, 0.14477083086967468, -0.32880306243896484, -0.32230740785598755, 0.10354296863079071, -0.11914914101362228, -0.5597602725028992, 0.2611912488937378, -0.05398227646946907, 0.5691521763801575, -0.44147124886512756, 0.8204132318496704, 0.7238213419914246, -0.361579567193985, -0.6481099128723145, -0.12157060205936432, 0.1630050539970398, -0.5126953721046448, 0.672020435333252, -0.1932707279920578, 0.08620790392160416, 0.20082761347293854, -0.03897261992096901, -0.6570907831192017, 1.320894479751587, 0.15043707191944122, -0.9508865475654602, -0.16293738782405853, -0.16376779973506927, 0.7466742992401123, -0.49848341941833496, 0.4263632297515869, 0.36884763836860657, 0.07438565790653229, 0.4486713111400604, -0.723093569278717, 0.09792686998844147, -0.037385717034339905, 0.12048053741455078, 0.3880060315132141, -0.5750752091407776, 0.761686384677887, -0.192897230386734, -0.3036419451236725, 0.17165908217430115, 0.12284569442272186, 0.5042136907577515, 0.7383427023887634, 0.09086569398641586, 0.7610516548156738, 0.7315319180488586, -0.2319851666688919, 1.5811246633529663, -0.055155836045742035, 0.537544846534729, 0.813016414642334, -0.48073145747184753, 0.8898158073425293, 0.18606790900230408, -0.3574570417404175, 0.4426756501197815, 0.2256174385547638, 0.1368998885154724, 0.7960841059684753, 0.2129833996295929, -0.5575767755508423, -0.19343650341033936, -0.46714404225349426, -0.44358617067337036, 0.18945170938968658, 0.6295152902603149, -0.6132113337516785, 0.02873104438185692, -0.05219196528196335, 0.018695412203669548, -0.049049653112888336, -0.3328866958618164, 1.0956647396087646, 0.12824395298957825, -0.5821385383605957, 0.22506123781204224, 0.009903034195303917, 0.3739165961742401, -0.567277193069458, 0.004198921378701925, -0.35737937688827515, 0.3440200686454773, -0.30266496539115906, -0.5522972345352173, 0.45372724533081055, 0.056240685284137726, -0.13859343528747559, 0.32914265990257263, 0.8384810090065002, -0.4835321307182312, -0.4465125799179077, 0.4340236783027649, 0.5866669416427612, 0.3124566972255707, 0.054746419191360474, -0.5797078609466553, 0.16581010818481445, -0.12631994485855103, -0.03089143894612789, 0.44791892170906067, 0.3695911765098572, 0.12406332045793533, 0.7083929181098938, 0.446265310049057, 0.439689576625824, -0.08485440909862518, 0.13581210374832153, 0.8302014470100403, -0.6763735413551331, -0.17557528614997864, -0.374375581741333, 0.30753302574157715, 0.07023946195840836, -0.13282565772533417, 0.2592625617980957, 0.8127630352973938, 0.5451616644859314, 0.01345076598227024, 0.8403925895690918, -0.17696954309940338, 0.990387499332428, -0.7146897315979004, 0.8430495262145996, -0.7764031887054443, 0.44244006276130676, 0.12598773837089539, -0.6178426742553711, -0.4312097132205963, 0.5412594676017761, -0.18743962049484253, -0.07903164625167847, 0.47824645042419434, 0.836646556854248, -0.07386434823274612, -0.18179649114608765, 0.502621054649353, 0.25905582308769226, 0.30991610884666443, 0.5262656211853027, 0.5998150110244751, -0.6549233198165894, 0.5052756667137146, 0.12517684698104858, -0.007330055348575115, -0.5780885219573975, -0.5670503377914429, -0.2659730315208435, -0.35290443897247314, -0.4013808071613312, -0.5269390344619751, 0.5549845695495605, 0.8413922786712646, 0.6223611831665039, -0.9024905562400818, 0.010744760744273663, -0.1457158625125885, -0.04485315456986427, 0.09634719789028168, -0.174790620803833, 0.2671803832054138, -0.1950957328081131, -0.4665672183036804, 0.3257647454738617, 0.22903352975845337, -0.16997624933719635, 0.067286916077137, -0.30887851119041443, -0.20334254205226898, -0.12012697756290436, 0.5150773525238037, 0.6921314597129822, -0.6353298425674438, -0.006784237455576658, 0.14637768268585205, -0.40281301736831665, 0.2840341031551361, 0.9172787070274353, -0.7572206258773804, 0.7266379594802856, 0.5148168206214905, 0.7273038029670715, 0.8007205128669739, 0.1413688361644745, 0.3165017068386078, -0.5078085660934448, -0.41582778096199036, 0.41177889704704285, 0.3258735239505768, 0.3997425436973572, -0.590878427028656, 0.40769392251968384, 0.09036467969417572, -0.89051753282547, -0.5621080994606018, 0.05793127417564392, -0.778945803642273, -0.01944940909743309, 1.0244909524917603, -0.39019548892974854, 0.07837861776351929, -0.5732137560844421, -0.19792483747005463, 0.2952144145965576, -0.3936923146247864, 0.7929699420928955, 0.16805489361286163, -0.20732218027114868, -0.35826173424720764, -0.3825628161430359, 0.364096999168396, 0.15755482017993927, -1.086988925933838, -0.08536428958177567, 0.5991178154945374, 0.3751094937324524, 0.08537929505109787, 0.9284297823905945, -0.5700310468673706, 0.1843768209218979, -0.10862002521753311, 0.2476765364408493, 0.20226208865642548, -0.16990680992603302, -0.47515740990638733, 0.3957540988922119, 0.15232768654823303, -0.14210696518421173 ]
http://arxiv.org/abs/2404.08008v1
http://arxiv.org/pdf/2404.08008v1
Sample-Efficient Human Evaluation of Large Language Models via Maximum Discrepancy Competition
2024-04-10T01:26:24
2024-04-10T01:26:24
Kehua Feng, Keyan Ding, Kede Ma, Zhihua Wang, Qiang Zhang, Huajun Chen
cs.LG
cs.LG, cs.CL, cs.HC
The past years have witnessed a proliferation of large language models (LLMs). Yet, automated and unbiased evaluation of LLMs is challenging due to the inaccuracy of standard metrics in reflecting human preferences and the inefficiency in sampling informative and diverse test examples. While human evaluation remains the gold standard, it is expensive and time-consuming, especially when dealing with a large number of testing samples. To address this problem, we propose a sample-efficient human evaluation method based on MAximum Discrepancy (MAD) competition. MAD automatically selects a small set of informative and diverse instructions, each adapted to two LLMs, whose responses are subject to three-alternative forced choice by human subjects. The pairwise comparison results are then aggregated into a global ranking using the Elo rating system. We select eight representative LLMs and compare them in terms of four skills: knowledge understanding, mathematical reasoning, writing, and coding. Experimental results show that the proposed method achieves a reliable and sensible ranking of LLMs' capabilities, identifies their relative strengths and weaknesses, and offers valuable insights for further LLM advancement.
[ -0.3398229479789734, -0.5266032814979553, 0.47295108437538147, 0.5038583874702454, 0.05582629516720772, 0.4243375062942505, -0.38196226954460144, -0.5120686888694763, -0.23569780588150024, 0.422493577003479, -0.3592792749404907, -0.6773294806480408, -0.5546916723251343, 0.4891389012336731, -0.3169553875923157, 0.7017823457717896, 0.051054101437330246, -0.06461529433727264, -0.2756994962692261, -0.10333535075187683, -0.4713785648345947, -0.4600570797920227, -0.4942990839481354, -0.4189732074737549, 0.2876199185848236, 0.5524595379829407, 0.5225491523742676, 0.49457427859306335, 0.4650070369243622, 0.37152740359306335, -0.12559686601161957, 0.6168130040168762, -0.47620007395744324, -0.03555431589484215, -0.20701125264167786, -0.4502158463001251, -0.3770945966243744, 0.10759307444095612, 0.365364670753479, 0.6729241609573364, -0.2946590781211853, 0.2714511752128601, -0.009522831998765469, 0.7491389513015747, -0.5956981182098389, 0.262548565864563, -0.8071231842041016, -0.04890557751059532, -0.15603965520858765, -0.18816059827804565, -0.49466967582702637, -0.5501837134361267, 0.0952460989356041, -0.4615699052810669, 0.3955650329589844, 0.1373850256204605, 0.7434191107749939, 0.1313546746969223, -0.18995729088783264, -0.13684311509132385, -0.6338481307029724, 0.8695687055587769, -0.562128484249115, 0.30633506178855896, 0.3865812420845032, 0.4594375491142273, -0.2874055802822113, -0.03171435743570328, -0.622442901134491, -0.6399804949760437, 0.32358506321907043, 0.10131941735744476, -0.423552006483078, 0.042097315192222595, 0.07502386718988419, 0.1761876791715622, -0.6696087718009949, 0.429124653339386, -0.05995810776948929, -0.13951173424720764, 1.0217077732086182, 0.20726415514945984, 0.31754401326179504, 0.043224044144153595, -0.058427926152944565, -0.4495755732059479, -0.42315423488616943, -0.30094456672668457, 0.7102497816085815, 0.23591706156730652, 0.13046899437904358, 0.6863863468170166, -0.36693456768989563, 0.7928593158721924, 0.14443358778953552, -0.27306634187698364, 0.5395604372024536, -0.052803777158260345, -0.08429882675409317, -0.3124144971370697, 0.8580548763275146, 0.5123735070228577, 0.36391767859458923, -0.2722174823284149, -0.5469568371772766, 0.12392156571149826, 0.0327800028026104, -0.41237935423851013, -0.1503499150276184, 0.08120140433311462, -0.1032310277223587, -0.14354349672794342, 0.01825677417218685, -1.0092326402664185, -0.6815633177757263, -0.0999889001250267, 0.3519600033760071, -0.13685964047908783, -0.18623128533363342, 0.41217681765556335, -0.11427439749240875, -0.17713208496570587, 0.3901921510696411, -0.6239191293716431, 0.3971248269081116, 0.5182479023933411, 0.8007512092590332, -0.4278261065483093, -0.5269439220428467, -0.4069482386112213, -0.207342267036438, -0.3471944034099579, 1.002461314201355, -0.5545650720596313, -0.46352943778038025, -0.1465766727924347, -0.4635695219039917, -0.028820673003792763, -1.1407313346862793, 0.6440098881721497, -0.5570592284202576, -0.05422696843743324, -0.16744157671928406, -0.47548288106918335, -0.10262710601091385, 0.17477543652057648, -0.9287208318710327, 1.0315340757369995, 0.3160308301448822, -0.7862545251846313, 0.29801008105278015, -0.6511572003364563, -0.28488612174987793, 0.012308252044022083, -0.04655997082591057, -0.30857887864112854, 0.01222876738756895, 0.3464013934135437, 0.5409024357795715, -0.48272988200187683, 0.19455882906913757, -0.3424709141254425, -0.4576602876186371, 0.3820374011993408, -0.5134190320968628, 0.5641263127326965, 0.1870516836643219, -0.3149662911891937, -0.030706189572811127, -0.8429977297782898, -0.08742313832044601, 0.3132096827030182, -0.613828182220459, -0.3400055766105652, -0.06039377301931381, -0.1637841761112213, 0.32351452112197876, 0.17022518813610077, -0.42298319935798645, 0.1612931340932846, -0.4609525203704834, 0.10909758508205414, 0.9590182304382324, -0.16004756093025208, 0.20718978345394135, -0.46827495098114014, 0.6458418369293213, -0.06237618625164032, 0.060630589723587036, 0.4232950508594513, -0.31525787711143494, -0.8351553082466125, -0.39177587628364563, 0.35354748368263245, 0.7172197699546814, -0.540833055973053, 0.9041748046875, -0.3198387026786804, -0.5280800461769104, -0.7918446660041809, 0.4584676921367645, 0.4015580713748932, 0.08686401695013046, 0.1291700005531311, -0.2670919597148895, -0.6541406512260437, -0.9978867173194885, -0.3859567642211914, -0.31363460421562195, -0.054705359041690826, 0.256481409072876, 0.5171062350273132, -0.13800771534442902, 0.7512920498847961, -0.5513375401496887, -0.20961754024028778, -0.5462956428527832, 0.057302478700876236, 0.20293647050857544, -0.0785481333732605, 0.12694117426872253, -0.4464165270328522, -0.3213280737400055, 0.13406254351139069, -0.21475769579410553, -0.6583705544471741, -0.14461199939250946, -0.3102664053440094, 0.2708333134651184, 0.1111660972237587, -0.5559946298599243, 0.07666028290987015, 0.580540120601654, -0.21505747735500336, 0.8880950808525085, -0.3472713530063629, 0.16040955483913422, -0.5352709889411926, 0.26056429743766785, 0.2715710699558258, -0.2464800328016281, -0.3155803084373474, -0.0038487734273076057, 0.013888650573790073, 0.3401602506637573, -0.13753961026668549, 0.8176938891410828, -0.402656227350235, -0.09931540489196777, -0.22438068687915802, 0.5314198732376099, -0.12219423800706863, 0.49930328130722046, -0.26091665029525757, 0.7908824682235718, 0.16580311954021454, -0.6063582897186279, 0.44048163294792175, 0.0625724047422409, -0.6644330024719238, 0.3913567066192627, -0.5230387449264526, 0.3957865536212921, -0.0888650193810463, 0.28384336829185486, -0.9570425152778625, -0.1224658414721489, -0.23065583407878876, -0.3852451741695404, 0.015626821666955948, 0.2499445229768753, -0.8899122476577759, -0.5699517130851746, -0.23929695785045624, 0.016324779018759727, 0.39081010222435, -0.4767148494720459, 0.2525186836719513, 0.7154183387756348, -0.19647450745105743, -0.6951833963394165, -0.345892071723938, -0.025109652429819107, -0.18091806769371033, -0.42472735047340393, 0.07263749092817307, -0.23666241765022278, -0.4144103229045868, -0.4066472351551056, -0.2662905752658844, -0.031398508697748184, 0.0963875874876976, -0.08935526013374329, 0.33029377460479736, 0.30077987909317017, -0.02789924480021, -0.1121474876999855, 0.0323602631688118, -0.13003963232040405, -0.09252691268920898, 0.6624400615692139, -0.18350523710250854, -0.48450836539268494, -0.3254213333129883, 0.25265079736709595, 0.6267103552818298, -0.24139077961444855, 0.2929343581199646, 0.12968266010284424, -0.13949373364448547, -0.5469736456871033, -0.8846986889839172, 0.2633208632469177, -0.43773147463798523, 0.8646948337554932, -0.2379016876220703, -0.7124028205871582, 0.37885698676109314, 0.007649617735296488, 0.3382122814655304, 0.3287225067615509, 0.7599475979804993, 0.30715692043304443, 1.4559082984924316, 0.3248300552368164, -0.3320830464363098, 0.27963194251060486, -0.11011774837970734, 0.01768575981259346, -0.514502763748169, -0.2861921787261963, -0.7314655780792236, -0.26529067754745483, -0.22710837423801422, -0.4989420175552368, 0.3317846953868866, -0.06905999779701233, -0.36921459436416626, 0.11399835348129272, -0.40754300355911255, 0.8141153454780579, 0.5022677183151245, 0.19704338908195496, 0.5890671014785767, -0.03832540288567543, -0.3918498754501343, 0.08161971718072891, -0.5990455746650696, -0.5439334511756897, 1.1333693265914917, 0.21958255767822266, 0.7491939067840576, 0.21793995797634125, 0.48169997334480286, 0.4616450369358063, 0.3609544634819031, -0.6977848410606384, 0.7420564889907837, -0.3284233808517456, -0.4460894763469696, -0.21645419299602509, -0.6283986568450928, -0.9026462435722351, 0.4905884861946106, -0.19179464876651764, -0.67798912525177, -0.16962192952632904, 0.11227811872959137, -0.4025600850582123, 0.3472508192062378, -0.8006976246833801, 0.4935300946235657, -0.22857798635959625, 0.04557005688548088, -0.13347333669662476, -0.3889484703540802, 0.475877583026886, -0.2842422127723694, 0.32731157541275024, -0.2580757439136505, 0.024555256590247154, 0.8044770956039429, -0.12485431879758835, 0.6795451045036316, -0.07058551907539368, -0.10051202028989792, 0.001308864215388894, 0.27070102095603943, 0.4465564787387848, -0.2388535439968109, -0.2674492299556732, -0.010786079801619053, -0.23903052508831024, -0.26706385612487793, -0.7125645875930786, 0.5560088157653809, -0.9856413006782532, -0.6792853474617004, -0.34685400128364563, -0.6583238840103149, -0.5583462119102478, 0.02265920862555504, 0.06696859747171402, -0.08466163277626038, -0.24645623564720154, -0.20897983014583588, 0.5854364037513733, -0.3732181489467621, 0.12430848926305771, 0.6248798966407776, -0.24753215909004211, -0.3538834750652313, 0.8542687892913818, -0.12417183816432953, 0.32851317524909973, 0.4504906237125397, 0.45740944147109985, -0.4927501678466797, -0.5192045569419861, -0.3866904675960541, 0.4288167953491211, -0.6353199481964111, -0.18607382476329803, -0.7093468904495239, 0.09250647574663162, -0.16196294128894806, 0.05224404111504555, -0.39941009879112244, -0.09504808485507965, 0.0038249145727604628, -0.03308924660086632, 0.03499317914247513, 0.6174861192703247, -0.04144907742738724, 0.08486618101596832, -0.676727294921875, 0.20648746192455292, 0.40425124764442444, 0.23390138149261475, 0.25468724966049194, -0.6619011163711548, -0.20880340039730072, -0.10809477418661118, -0.554736852645874, -0.8078117966651917, 0.4696243107318878, 0.13046105206012726, 0.8571418523788452, 0.3931179940700531, 0.030200695618987083, 0.8711790442466736, -0.48512977361679077, 0.46112412214279175, 0.1945229172706604, -1.0216549634933472, 0.2928469479084015, 0.0018572495318949223, 0.2480526715517044, 0.7085577845573425, 0.1291711926460266, -0.614108681678772, -0.6199074983596802, -0.47977784276008606, -0.8143918514251709, 0.6057047247886658, 0.09213615208864212, -0.011865674518048763, -0.06261958181858063, 0.066721610724926, 0.27508655190467834, 0.10033413022756577, -0.48489391803741455, -0.13289125263690948, 0.43260931968688965, -0.2840544283390045, -0.038587335497140884, 0.10260564088821411, -0.2239709347486496, -0.24493862688541412, 0.6494547724723816, -0.0231978427618742, 0.25432220101356506, 0.04710010811686516, -0.2341422736644745, -0.05264217033982277, 0.3915310800075531, 0.400531142950058, 0.7964431047439575, -0.07570807635784149, 0.16565363109111786, 0.3983066976070404, -0.5476681590080261, 0.32016950845718384, 0.13737288117408752, 0.03513333946466446, 0.0896754190325737, 0.2619747817516327, 0.659981906414032, 0.11751886457204819, -1.2618134021759033, 0.6394082307815552, -0.046561263501644135, -0.18314705789089203, -0.05147232115268707, 0.20811204612255096, -0.06286950409412384, 0.31016695499420166, 0.39054593443870544, 0.044221363961696625, 0.15857769548892975, -0.3131425976753235, 0.07571244984865189, 0.358341246843338, 0.11556081473827362, -0.20953954756259918, 0.39737096428871155, 0.21057650446891785, -0.3396100103855133, 0.43041694164276123, -0.352306604385376, -0.47283217310905457, 0.5615845322608948, 0.5833185315132141, 0.7311986088752747, -0.4536936581134796, 0.29625383019447327, 0.19900858402252197, 0.2592270076274872, -0.5860090851783752, 0.2854820191860199, 0.3133368194103241, -0.7645205855369568, -0.4955233633518219, -0.5284019708633423, -0.5268197655677795, 0.3476986289024353, -0.39914533495903015, 0.31690138578414917, -0.33262398838996887, -0.14046700298786163, -0.08256726711988449, 0.2769957482814789, -0.8518347144126892, 0.10214362293481827, 0.17773039638996124, 1.0198270082473755, -0.781328022480011, 0.5392943620681763, 0.7036049365997314, 0.00040399018325842917, -0.6640456914901733, -0.04694771766662598, 0.01990838162600994, -0.7523888349533081, 0.6643179059028625, 0.1481100618839264, -0.31723010540008545, -0.18308836221694946, -0.4429740309715271, -0.6242873668670654, 0.8207026720046997, 0.6992833614349365, -0.7961305379867554, -0.1510368287563324, -0.11588368564844131, 0.5017278790473938, -0.2558582127094269, 0.5547624826431274, 0.9224960207939148, 0.36985233426094055, 0.03887633606791496, -1.0411518812179565, -0.1515270471572876, -0.3425538241863251, 0.11043676733970642, 0.07446520775556564, -0.6001236438751221, 0.5217047333717346, -0.3636404573917389, -0.3403415381908417, -0.0017554317601025105, 0.5746752619743347, 0.8297579884529114, 0.11602102220058441, 0.9408265948295593, 0.417571097612381, 1.143479347229004, 0.1662135273218155, 0.908059298992157, -0.16311679780483246, 0.47619494795799255, 1.0428130626678467, -0.5436618328094482, 0.9037734270095825, 0.15066251158714294, -0.6289821863174438, 0.20885947346687317, 0.5762184262275696, 0.018948407843708992, 0.4041397273540497, 0.7412156462669373, -0.3540252447128296, -0.47380614280700684, 0.2223111093044281, -0.0058520822785794735, 0.6403840184211731, 0.0914640724658966, -0.039216022938489914, -0.32958146929740906, -0.2990485429763794, 0.15045993030071259, 0.1196511760354042, -0.10300988703966141, 0.4517972469329834, -0.07211882621049881, -0.7082523703575134, 0.6553784608840942, 0.22178183495998383, 0.878390908241272, -0.607343852519989, -0.04989967867732048, -0.31695035099983215, 0.10873092710971832, -0.0968734622001648, -0.7124196290969849, -0.08552740514278412, 0.4665437638759613, 0.009447136893868446, 0.22438497841358185, 0.34046217799186707, -0.346090167760849, -0.515180766582489, 0.30310526490211487, 0.5558980703353882, 0.2671201527118683, -0.13438937067985535, -0.727891206741333, -0.022461164742708206, -0.05137237533926964, -0.21264488995075226, 0.22880811989307404, 0.3070901930332184, -0.13003894686698914, 0.9486485719680786, 0.637685239315033, 0.4578791856765747, -0.11915236711502075, 0.3682917058467865, 0.6636022329330444, -0.5815742611885071, -0.5311895608901978, -1.0025444030761719, 0.1742478758096695, -0.2705264687538147, -0.4827207028865814, 0.6827647089958191, 0.6223040819168091, 0.9766280651092529, 0.08949978649616241, 1.1031044721603394, 0.29074254631996155, 0.6246193051338196, -0.336161345243454, 0.5997855067253113, -0.49179765582084656, 0.4837905764579773, -0.5411908626556396, -0.8598344326019287, -0.4599211513996124, 0.6451981067657471, -0.2803037464618683, 0.1408797651529312, 0.5663332343101501, 0.8654413819313049, 0.09664604067802429, -0.1328023225069046, 0.5087209343910217, 0.19609759747982025, 0.28638756275177, 0.9027592539787292, 0.849759578704834, 0.11237900704145432, 0.5760053396224976, -0.023753752931952477, -0.5502521991729736, -0.3597847819328308, -0.7352962493896484, -0.8884649872779846, -0.4104904234409332, -0.20345546305179596, -0.3547062277793884, 0.001498002209700644, 1.3524190187454224, 0.6225241422653198, -0.6261367797851562, -0.5333783626556396, 0.23750756680965424, 0.21437005698680878, -0.4285946786403656, -0.18536688387393951, 0.39903363585472107, -0.029335100203752518, -1.049529790878296, 0.327114462852478, 0.15458457171916962, -0.20592178404331207, -0.44770392775535583, -0.08426349610090256, -0.04000924900174141, 0.19685901701450348, 0.6133594512939453, 0.09685757756233215, -0.6766158938407898, -0.1586204320192337, 0.10593494027853012, -0.1596890091896057, 0.06268495321273804, 0.6741405129432678, -0.547594428062439, 0.5027698874473572, 0.46441876888275146, 0.7628600597381592, 0.0017002292443066835, 0.02986184135079384, 0.4809270203113556, -0.593508243560791, -0.2263655811548233, 0.2492198646068573, 0.20822599530220032, 0.4194357693195343, -0.27883878350257874, 0.3163793385028839, 0.1728171706199646, -0.702233612537384, -0.8244774341583252, 0.1169162169098854, -0.9867594838142395, -0.25342679023742676, 1.4894641637802124, -0.14168240129947662, -0.06943075358867645, -0.2804110646247864, -0.3437274098396301, 0.25099897384643555, -0.6204400658607483, 1.1989299058914185, 0.826594889163971, -0.23619505763053894, 0.11448239535093307, -0.8260953426361084, 0.0924307331442833, 0.24458876252174377, -0.9497325420379639, 0.26882269978523254, 0.4574562609195709, 0.3650675415992737, -0.06743671745061874, 0.5750976204872131, -0.16916193068027496, 0.16840875148773193, -0.22760820388793945, 0.31668609380722046, -0.048447053879499435, -0.19471774995326996, -0.38893765211105347, 0.005627440754324198, 0.26505884528160095, -0.12838797271251678 ]
http://arxiv.org/abs/2404.06670v1
http://arxiv.org/pdf/2404.06670v1
What's Mine becomes Yours: Defining, Annotating and Detecting Context-Dependent Paraphrases in News Interview Dialogs
2024-04-10T01:14:12
2024-04-10T01:14:12
Anna Wegmann, Tijs van den Broek, Dong Nguyen
cs.CL
cs.CL
Best practices for high conflict conversations like counseling or customer support almost always include recommendations to paraphrase the previous speaker. Although paraphrase classification has received widespread attention in NLP, paraphrases are usually considered independent from context, and common models and datasets are not applicable to dialog settings. In this work, we investigate paraphrases in dialog (e.g., Speaker 1: "That book is mine." becomes Speaker 2: "That book is yours."). We provide an operationalization of context-dependent paraphrases, and develop a training for crowd-workers to classify paraphrases in dialog. We introduce a dataset with utterance pairs from NPR and CNN news interviews annotated for context-dependent paraphrases. To enable analyses on label variation, the dataset contains 5,581 annotations on 600 utterance pairs. We present promising results with in-context learning and with token classification models for automatic paraphrase detection in dialog.
[ -0.36408182978630066, -0.7495810985565186, 0.5876941680908203, 0.23369474709033966, -0.19783982634544373, -0.21689386665821075, 0.013305350206792355, -0.16401714086532593, 0.1571282297372818, 0.9574252367019653, -0.45535510778427124, -0.2028367817401886, -0.47441232204437256, 0.46572157740592957, -0.379896342754364, 1.4563053846359253, 0.22828646004199982, -0.049185238778591156, -0.5808588266372681, -0.4054214656352997, -0.5831948518753052, -0.6483014225959778, -0.19404524564743042, 0.011984938755631447, 0.4341539740562439, 0.4596847593784332, 0.7691306471824646, 0.7440673112869263, 0.2612304985523224, 0.4417533278465271, -0.4455883502960205, -0.0705067366361618, -0.24778160452842712, 0.5318845510482788, -0.33785396814346313, -0.284044474363327, 0.3917653262615204, 0.2804512679576874, 0.5399073958396912, 0.488477498292923, -0.27943024039268494, 0.27222609519958496, 0.13829022645950317, 0.24366062879562378, -0.48220568895339966, 0.4156087636947632, -1.0645527839660645, -0.003854980692267418, -0.015275994315743446, -0.4875010848045349, -0.3125802278518677, -0.39404380321502686, 0.3879156708717346, -0.25458335876464844, 0.16970041394233704, 0.02190074324607849, 0.6415218710899353, -0.06524509191513062, -0.7360202074050903, -0.5443890690803528, -0.3097076416015625, 0.6772804856300354, -0.637506365776062, 0.13281837105751038, 0.4431176483631134, 0.3699260354042053, -0.09852296859025955, -1.028812289237976, -0.5673556327819824, -0.05982518941164017, -0.21420176327228546, -0.0024973901454359293, -0.07956875115633011, -0.05071591958403587, 0.21704261004924774, 0.2047995775938034, -0.233326718211174, -0.6224834322929382, -0.6031526923179626, -0.16485197842121124, 0.18818087875843048, 0.1462581306695938, 0.2824680805206299, -0.647519052028656, -0.32268697023391724, 0.28228873014450073, -0.33170896768569946, -0.23548950254917145, 0.1706608235836029, 0.17800112068653107, 0.3597342073917389, 0.35093486309051514, -0.4735284149646759, 0.716349184513092, 0.07960958778858185, -0.3887880742549896, 0.31318068504333496, -0.3049984872341156, -0.17344799637794495, 0.18421310186386108, 0.5452571511268616, 0.5372046232223511, 0.23671765625476837, -0.18096983432769775, 0.3679773807525635, -0.5723070502281189, 0.20617780089378357, -0.34875646233558655, -0.06466146558523178, -0.2123604714870453, -0.40466493368148804, -0.5266097784042358, -0.36597126722335815, -0.6048367619514465, -0.5816196799278259, -0.5999588966369629, 0.3282451927661896, -0.21259279549121857, -0.01825111359357834, -0.09335002303123474, -0.45643866062164307, 0.2222026139497757, 0.33795347809791565, -0.6712697148323059, 0.13984329998493195, 0.9642921686172485, 0.9164040088653564, 0.12485066801309586, -0.6186999678611755, -0.6817252039909363, 0.18646420538425446, -0.31591489911079407, 0.7224706411361694, -0.7739395499229431, -0.43236929178237915, 0.23201872408390045, 0.2732591927051544, -0.2665335536003113, -0.7186397910118103, 0.7691325545310974, -0.37027058005332947, 0.653719425201416, -0.5549208521842957, -0.5303021669387817, -0.25416749715805054, 0.3644453287124634, -0.20490959286689758, 0.6578773260116577, 0.10995230823755264, -1.010916829109192, 0.06636229902505875, -0.13440613448619843, -0.5291506052017212, 0.12279082834720612, -0.29851746559143066, -0.11241791397333145, 0.24368710815906525, -0.025967493653297424, 0.43929049372673035, -0.3492485582828522, 0.43747562170028687, -0.4238255023956299, -0.07610147446393967, 0.30955514311790466, -0.21929587423801422, 0.534289538860321, 0.22519837319850922, -0.05526037886738777, -0.36127227544784546, -0.5717576146125793, 0.016453318297863007, -0.09058545529842377, -0.3863259553909302, -0.3335789144039154, -0.015407277271151543, 0.020444022491574287, 0.4570210576057434, 0.2010413110256195, -0.5590415000915527, -0.03737887367606163, -0.1346302479505539, 0.54072105884552, 0.715556263923645, 0.8291547894477844, 0.3674505054950714, -0.5202604532241821, 0.16298164427280426, -0.035153523087501526, -0.025001391768455505, -0.2031768262386322, -0.6746237874031067, -0.17491711676120758, 0.3340628445148468, 0.032961469143629074, 0.4860686957836151, -0.6721146702766418, 0.5933865904808044, -0.17700962722301483, -0.18756960332393646, -0.20367136597633362, 0.37976187467575073, 0.3358064889907837, 0.9678391814231873, 0.3475586473941803, 0.010811704210937023, -0.5279967188835144, -1.0202652215957642, -0.5646955370903015, -0.41309618949890137, 0.09194790571928024, 0.2914523482322693, 0.2793941795825958, -0.22967560589313507, 1.0088964700698853, -0.41630491614341736, -0.33278632164001465, -0.5175442099571228, 0.20003549754619598, -0.11823637038469315, 0.5806511640548706, 0.3733753561973572, -1.0558559894561768, -0.4107593894004822, -0.0905650183558464, -0.9523820281028748, -0.2533433437347412, -0.42290380597114563, -0.3868284523487091, -0.4892483353614807, 0.8423937559127808, -0.5255013108253479, 0.13205373287200928, 0.533919095993042, -0.41444286704063416, 0.45971933007240295, 0.01893794909119606, 0.2926574945449829, -1.4030842781066895, -0.34792590141296387, -0.13609154522418976, -0.2209347039461136, -0.3720870614051819, -0.204814150929451, -0.29545605182647705, -0.22199945151805878, -0.3768993616104126, 0.28200700879096985, -0.1427091509103775, -0.09831098467111588, -0.4494476616382599, 0.1822335124015808, 0.09257086366415024, 0.5867660045623779, 0.13225840032100677, 0.6094900965690613, 0.39434003829956055, -0.5228716135025024, 0.1849183887243271, 0.9276169538497925, -0.4912995398044586, 0.834520161151886, -0.34445881843566895, 0.05347343161702156, -0.350864976644516, 0.47784075140953064, -0.7844470739364624, -0.3922530710697174, 0.28440406918525696, -0.2679693400859833, -0.0774073600769043, -0.4416273236274719, -0.4496559500694275, 0.03750726580619812, -0.13160380721092224, -0.05518397316336632, 0.37859103083610535, -0.8476763963699341, 0.4773261547088623, 0.3589928448200226, -0.5737006068229675, -0.3640936017036438, -0.5865738391876221, 0.46533647179603577, -0.22279611229896545, -0.3615422248840332, 0.07900163531303406, -0.3159063160419464, -0.1999247670173645, -0.19433709979057312, -0.1935368776321411, -0.609809398651123, -0.09405187517404556, 0.4305274486541748, -0.49974146485328674, -0.08686166256666183, 0.2505281865596771, 0.33588552474975586, 0.032934799790382385, 0.014616325497627258, 0.13691943883895874, 0.34640470147132874, -0.25216367840766907, 0.06502574682235718, -0.5035741329193115, 0.5262691378593445, 0.7582592368125916, -0.11958003789186478, 0.6540228128433228, 0.49377715587615967, -0.11255459487438202, 0.21324749290943146, -0.8014319539070129, -0.17063048481941223, -0.5363332629203796, 0.48749756813049316, -0.5333428382873535, -0.4695282280445099, 0.20222482085227966, -0.21461781859397888, 0.18269234895706177, 0.1859949827194214, 0.4421839416027069, -0.1905529946088791, 0.9747560024261475, 0.2890167534351349, -0.15953056514263153, 0.7218840718269348, 0.027086589485406876, -0.15153737366199493, -0.7563440203666687, -0.11339684575796127, -0.17219781875610352, -0.24350859224796295, -0.38092944025993347, -0.4044336974620819, 0.2524644732475281, -0.00988694280385971, 0.10550736635923386, 0.48548436164855957, -0.12352138757705688, 0.6845703125, 0.8013238906860352, 0.12678629159927368, 0.4119710624217987, -0.18540294468402863, 0.4999409019947052, -0.3165387809276581, -0.4707247018814087, -0.6283664107322693, 0.7034778594970703, 0.1872309148311615, 0.3325459063053131, 0.06788104772567749, 0.929936945438385, 0.6005710363388062, 0.10063695907592773, -0.2724686563014984, 0.6473764777183533, 0.22821971774101257, -0.6506617665290833, -0.03287622705101967, -0.44025662541389465, -0.8326622247695923, 0.4456414580345154, -0.013355027884244919, -0.7866621613502502, 0.05566520616412163, -0.06512320041656494, 0.07239207625389099, 0.1947997361421585, -0.7315184473991394, 0.9957132935523987, 0.12409447878599167, 0.08936470746994019, 0.01942094974219799, -0.7130598425865173, 0.2855561375617981, -0.11821495741605759, 0.01299126073718071, -0.36942464113235474, 0.16537992656230927, 1.0413708686828613, -0.3881719410419464, 0.7503216862678528, -0.06485259532928467, 0.2985781729221344, 0.7457801103591919, 0.18990345299243927, 0.41263383626937866, 0.3168770372867584, -0.22737741470336914, -0.22875913977622986, 0.33930641412734985, -0.44408056139945984, -0.4806136190891266, 0.870858907699585, -0.4656192660331726, -0.7291950583457947, -0.22992002964019775, -0.4027833640575409, -0.42317646741867065, -0.11343783885240555, 0.5612831711769104, 0.4048365354537964, -0.03384394571185112, 0.7066158652305603, 0.2814073860645294, 0.08162794262170792, 0.3537037968635559, 0.20875057578086853, 0.2838543653488159, -0.3513513207435608, 0.9949862957000732, 0.10630069673061371, 0.21507497131824493, 0.19197799265384674, 0.5142390727996826, -0.03890961781144142, -0.34973710775375366, -0.27145832777023315, 0.25554198026657104, -1.1448663473129272, -0.27282193303108215, -1.0200762748718262, -0.08389782160520554, -0.49487781524658203, -0.33071187138557434, 0.056160032749176025, -0.17757321894168854, -0.2149733603000641, -0.3670142590999603, 0.39860132336616516, 0.6141940355300903, 0.040821559727191925, 0.6981560587882996, -0.7935823202133179, 0.0038938676007092, 0.7012333869934082, -0.31202495098114014, -0.3964814841747284, -0.8445004224777222, -0.11814753711223602, -0.0526227243244648, -0.5721092820167542, -1.0772181749343872, 0.5345758199691772, 0.5052618384361267, 0.431135356426239, 0.4180890917778015, 0.20173680782318115, 0.44216108322143555, -0.5073555111885071, 0.742057204246521, -0.02368427999317646, -0.9990112781524658, 0.4134889841079712, -0.5641679763793945, 0.10478660464286804, 1.0093278884887695, 0.28923481702804565, -0.8638654947280884, -0.7954728603363037, -1.0485401153564453, -0.5654945969581604, 0.4786512553691864, 0.3522779941558838, 0.5295889973640442, -0.32685768604278564, 0.20513232052326202, 0.19520285725593567, 0.6348903179168701, -1.0823811292648315, -0.20379211008548737, 0.15422125160694122, -0.3089412748813629, -0.1152084693312645, -0.39854612946510315, -0.21832583844661713, -0.08661498129367828, 0.28600969910621643, -0.09860679507255554, 0.24540932476520538, 0.04362131655216217, -0.23391352593898773, 0.2726653218269348, 0.07772664725780487, 0.2826371490955353, 0.3955889642238617, -0.17211507260799408, 0.2390446960926056, 0.4963776171207428, -0.0671844482421875, -0.04460730031132698, -0.2726130485534668, 0.019565271213650703, 0.6126700639724731, 0.3891032040119171, 0.585399329662323, 0.4898085296154022, -0.7577836513519287, 0.8848450779914856, 0.12573595345020294, -0.25824522972106934, -0.19178341329097748, -0.09724759310483932, -0.08393529057502747, 0.4780503809452057, 0.11363895982503891, 0.026403551921248436, 0.5944932699203491, -0.6619764566421509, 0.562371015548706, -0.0047309608198702335, -0.31431904435157776, -0.26172110438346863, 0.42432838678359985, 0.2602103650569916, -0.27574482560157776, 0.3619579076766968, -0.2665681838989258, -0.5199056267738342, 0.39530378580093384, 0.5150688290596008, 0.9766245484352112, -0.039842389523983, 0.5023447871208191, 0.14343862235546112, -0.02860514633357525, -0.21819399297237396, -0.04656509682536125, -0.4656086564064026, -0.42604246735572815, 0.1431540548801422, -0.3367511034011841, -0.6059762835502625, 0.1390514224767685, -0.6470023393630981, 0.18347184360027313, -0.654218316078186, -0.003329130355268717, 0.048361267894506454, -0.5355634689331055, -0.439791738986969, 0.3949316740036011, 0.08603200316429138, 0.4260213077068329, -0.9772993922233582, 0.5563008189201355, 0.22785323858261108, -0.3304024040699005, -0.13231469690799713, 0.42542535066604614, 0.04173651710152626, -0.8440226912498474, 0.7140414118766785, 0.17584455013275146, 0.42787203192710876, -0.059491947293281555, -0.5074729323387146, -0.9037185311317444, 0.7701245546340942, 0.12409743666648865, -0.10820623487234116, -0.10049869120121002, -0.08595743030309677, 0.43131938576698303, -0.43841415643692017, 0.14519067108631134, 0.4564855396747589, 0.1835481971502304, 0.0575142465531826, -0.753105103969574, -0.21140727400779724, 0.028347423300147057, -0.07589299231767654, 0.03972107172012329, -0.58937668800354, 0.8223913311958313, 0.20957747101783752, 0.11812484264373779, 0.2646862864494324, 0.6327894330024719, -0.2694838047027588, 0.49681758880615234, 0.5548847913742065, 0.06268603354692459, 0.4502398371696472, 0.09513610601425171, 0.7252663969993591, -0.36971503496170044, 0.2260078638792038, 1.4898818731307983, -0.09405941516160965, 0.9840424656867981, 0.45921510457992554, 0.14071621000766754, 0.5846623182296753, 0.5283151268959045, 0.11110492050647736, 0.5471134185791016, 0.0314006432890892, -0.44894206523895264, -0.13941381871700287, -0.24822227656841278, -0.4658330976963043, 0.4666300117969513, 0.2440127432346344, -0.7928812503814697, -0.5190138220787048, 0.40850400924682617, 0.05745728313922882, 0.17445792257785797, 0.027331743389368057, 1.2116819620132446, -0.06261762231588364, -0.6332808136940002, 0.4346950948238373, -0.0013736165128648281, 0.31716737151145935, -0.4855714738368988, 0.18643364310264587, -0.18350505828857422, -0.11217077076435089, -0.1422683447599411, -0.5534597039222717, 0.3133106827735901, -0.24483932554721832, -0.12436532974243164, -0.3858357071876526, 0.29841262102127075, -0.6420305967330933, -0.41968220472335815, 0.019686687737703323, 0.5560694932937622, 0.28871557116508484, -0.3722604811191559, -0.7910274863243103, -0.1776239424943924, 0.3411615490913391, -0.37319740653038025, 0.4208613336086273, 0.5390048027038574, 0.2140190303325653, 0.5573457479476929, 0.3719753324985504, -0.2175186425447464, 0.3167366683483124, -0.2560991942882538, 0.618974506855011, -0.810373067855835, -0.612433671951294, -0.659260094165802, 0.034303538501262665, -0.4324356019496918, -0.7362226843833923, 0.8450742363929749, 0.5881909132003784, 0.43530383706092834, -0.4039308428764343, 1.0822486877441406, -0.034758757799863815, 0.784334123134613, -0.29224255681037903, 0.191503643989563, -0.35182666778564453, 0.003148878924548626, -0.5242406725883484, -0.8002671599388123, 0.3026614189147949, 0.5581218004226685, -0.5148599147796631, -0.23590359091758728, 0.49903473258018494, 0.699625551700592, 0.08246298879384995, 0.3029746413230896, 0.49368172883987427, -0.09038445353507996, 0.2638278305530548, 0.29395392537117004, 1.0457615852355957, -0.4617038667201996, 0.9717139005661011, -0.3885914981365204, 0.07182890176773071, -0.4386783838272095, -0.6955577731132507, -0.7967526316642761, -0.9019684195518494, -0.8729075789451599, -0.5941583514213562, 0.012820431031286716, 0.8811858296394348, 0.5104644298553467, -0.48194420337677, -0.1819138526916504, -0.3388890027999878, 0.43178197741508484, -0.029211554676294327, -0.258331835269928, -0.1729373037815094, -0.8375062346458435, -0.8675007820129395, 0.4421273469924927, 0.1648026704788208, 0.24946388602256775, 0.4169371426105499, 0.10200091451406479, -0.3521564304828644, 0.20619915425777435, 0.3778642416000366, 0.5646952390670776, -0.5933170914649963, -0.26750051975250244, -0.46990224719047546, -0.13056455552577972, 0.12493516504764557, 0.9238041639328003, -0.3470337688922882, 0.5773049592971802, 0.5166456699371338, 0.7731010317802429, 0.21285445988178253, 0.4136597514152527, 0.7469044327735901, -1.0092198848724365, 0.3260039985179901, 0.26126718521118164, 0.39527204632759094, 0.24537432193756104, -0.1595660150051117, 0.36089271306991577, 0.5026645660400391, -0.6670214533805847, -0.9679137468338013, 0.20618240535259247, -0.8423193097114563, -0.4023396074771881, 1.4466556310653687, -0.19853538274765015, -0.1575809270143509, -0.2583445608615875, -0.7172726392745972, -0.09468095749616623, -0.4538167417049408, 0.6486964821815491, 0.5501534938812256, 0.10956966131925583, 0.18456341326236725, -0.5711313486099243, 0.731713056564331, 0.4860735833644867, -0.6487059593200684, 0.28198495507240295, 0.2824576795101166, 0.20994916558265686, 0.25055867433547974, 0.2844870388507843, 0.30907735228538513, 0.22917000949382782, 0.08399645984172821, -0.3107549846172333, 0.21088404953479767, -0.01509615033864975, -0.15505453944206238, 0.2817327678203583, 0.02461381070315838, -0.6236462593078613 ]
http://arxiv.org/abs/2404.06666v1
http://arxiv.org/pdf/2404.06666v1
SafeGen: Mitigating Unsafe Content Generation in Text-to-Image Models
2024-04-10T00:26:08
2024-04-10T00:26:08
Xinfeng Li, Yuchen Yang, Jiangyi Deng, Chen Yan, Yanjiao Chen, Xiaoyu Ji, Wenyuan Xu
cs.CV
cs.CV, cs.AI, cs.CL, cs.CR
Text-to-image (T2I) models, such as Stable Diffusion, have exhibited remarkable performance in generating high-quality images from text descriptions in recent years. However, text-to-image models may be tricked into generating not-safe-for-work (NSFW) content, particularly in sexual scenarios. Existing countermeasures mostly focus on filtering inappropriate inputs and outputs, or suppressing improper text embeddings, which can block explicit NSFW-related content (e.g., naked or sexy) but may still be vulnerable to adversarial prompts inputs that appear innocent but are ill-intended. In this paper, we present SafeGen, a framework to mitigate unsafe content generation by text-to-image models in a text-agnostic manner. The key idea is to eliminate unsafe visual representations from the model regardless of the text input. In this way, the text-to-image model is resistant to adversarial prompts since unsafe visual representations are obstructed from within. Extensive experiments conducted on four datasets demonstrate SafeGen's effectiveness in mitigating unsafe content generation while preserving the high-fidelity of benign images. SafeGen outperforms eight state-of-the-art baseline methods and achieves 99.1% sexual content removal performance. Furthermore, our constructed benchmark of adversarial prompts provides a basis for future development and evaluation of anti-NSFW-generation methods.
[ -0.2048352211713791, -0.9366083741188049, 0.3366048336029053, 0.09033019095659256, -0.6399976015090942, -0.17354781925678253, 0.03001030720770359, -0.412479043006897, -0.5631393790245056, 0.5497391819953918, -0.42404705286026, -0.7581364512443542, -0.8086709976196289, 0.08552079647779465, -0.6340969800949097, 0.7926307320594788, 0.047013044357299805, -0.25240445137023926, -0.5805442333221436, 0.05925169587135315, -0.45740053057670593, 0.11182337254285812, -0.8829668164253235, -0.09254451841115952, 0.27646175026893616, 0.23616980016231537, 0.9528132677078247, 1.0111428499221802, 0.43373903632164, 0.23653241991996765, 0.16805998980998993, 0.18061913549900055, -0.973970890045166, 0.6404677629470825, -0.311484158039093, -0.2769166827201843, -0.19208668172359467, 0.031007589772343636, 0.4455552101135254, 0.09325607120990753, 0.14867575466632843, -0.25413402915000916, 0.125473752617836, 0.5797594785690308, -0.8088282346725464, -0.21901746094226837, -0.5714832544326782, 0.22398947179317474, -0.24310487508773804, -0.43883755803108215, -0.8979908227920532, -0.3636971116065979, -0.1985679268836975, -0.5582665801048279, 0.3163137435913086, -0.020610857754945755, 0.7752968072891235, 0.40693745017051697, -0.5951449275016785, -0.10343258082866669, -0.6822448372840881, 0.6845929622650146, -0.3214004337787628, 0.3469879925251007, 0.5587461590766907, -0.015910089015960693, -0.5191048383712769, -0.5675340294837952, -0.141304150223732, 0.06168050318956375, -0.03896410018205643, 0.06656141579151154, -0.6371053457260132, 0.009635590948164463, 0.07367334514856339, -0.21905498206615448, -0.7200806140899658, 0.07831696420907974, -0.23930427432060242, -0.16766929626464844, 0.7571233510971069, -0.08936148881912231, 0.879061222076416, -0.178916335105896, -0.7132498621940613, -0.2564660906791687, -1.102219581604004, -0.16768434643745422, 0.36819031834602356, -0.10596192628145218, -0.0824519544839859, 0.5177052021026611, 0.18522371351718903, 0.230978325009346, 0.042538996785879135, -0.10640425235033035, -0.03370681777596474, -0.13289718329906464, -0.09092902392148972, 0.05835554003715515, 1.0785982608795166, 0.7921903729438782, 0.30590131878852844, -0.43151283264160156, -0.18509340286254883, 0.36058393120765686, 0.3987938463687897, -1.2630140781402588, -0.34314364194869995, 0.16883963346481323, -0.6379836201667786, -1.1287001371383667, -0.20050311088562012, -1.0857938528060913, -0.6568766236305237, 0.42465248703956604, 0.5012979507446289, -0.5735839605331421, -0.27242693305015564, -0.20980097353458405, -0.443673700094223, -0.09440896660089493, 0.08642221242189407, -0.5427453517913818, 0.06391923874616623, 0.3265049457550049, 0.5740637183189392, -0.2014259248971939, 0.13497135043144226, -0.6929520964622498, 0.4328831136226654, -0.6442338228225708, 0.5970917344093323, -0.32527658343315125, -0.8726457953453064, 0.21889400482177734, 0.06097361072897911, 0.17124028503894806, -0.19286485016345978, 0.5550075769424438, -0.6049821972846985, 0.14397676289081573, -0.03676619753241539, -0.4015272557735443, -0.074528768658638, 0.1609363853931427, -0.6915099620819092, 0.6789662837982178, -0.3895624577999115, -0.9681979417800903, 0.3165445327758789, -0.47418445348739624, -0.6407058238983154, -0.12616200745105743, -0.33447280526161194, -0.5665183067321777, -0.045325420796871185, 0.1539796143770218, 0.33842647075653076, -0.10266511142253876, 0.35035228729248047, -0.4502367377281189, -0.34403061866760254, 0.30540987849235535, -0.7814775705337524, 0.4881027340888977, 0.3264467418193817, -0.501531720161438, 0.3298386037349701, -0.5588496327400208, -0.04635588079690933, 0.6508176922798157, 0.1933429092168808, -0.7760332822799683, 0.22432057559490204, 0.12329227477312088, 0.24290238320827484, -0.07841045409440994, -0.623877763748169, -0.324435830116272, -0.25528088212013245, 0.2018640637397766, 0.876028299331665, 0.08638227730989456, 0.5785290598869324, -0.281085729598999, 0.2871108055114746, 0.04196177050471306, 0.22090288996696472, -0.24673180282115936, -0.6616185903549194, -0.3258878290653229, -0.18015383183956146, 0.04370112344622612, 0.6963120698928833, -1.3195830583572388, 0.007279064506292343, -0.122478187084198, -0.4586966931819916, 0.08114248514175415, 0.1344904750585556, 0.8224943280220032, 0.6356289982795715, 0.2697102427482605, -0.18392738699913025, -0.09399837255477905, -0.9867775440216064, -0.2831309735774994, -0.07473506778478622, -0.25906312465667725, 0.03579219803214073, 0.2648240327835083, -0.12451688200235367, 0.6233600974082947, -0.37117648124694824, -0.06455865502357483, 0.08168000727891922, 0.4636901021003723, -0.5395559668540955, 0.8571796417236328, 0.99256432056427, -1.102579116821289, -0.08489864319562912, -0.5510368347167969, -0.8217321634292603, 0.017288723960518837, -0.08045712113380432, -0.5472726821899414, 0.23584164679050446, 0.5371996164321899, -0.5100861191749573, 0.810808002948761, 0.45152994990348816, -0.6351179480552673, 0.07812761515378952, -0.43540674448013306, 0.2682233154773712, -1.182845115661621, 0.2233765870332718, 0.32185670733451843, -0.47085708379745483, -0.8356966972351074, 0.3023725152015686, 0.24520033597946167, -0.2949812412261963, -0.6974594593048096, 0.5731415152549744, -0.21196293830871582, 0.29651135206222534, -0.292700856924057, 0.0395534448325634, 0.03741728141903877, 0.19247248768806458, 0.09366853535175323, 0.8993074297904968, 0.5365028381347656, -0.5415751934051514, -0.14466600120067596, 0.5794240832328796, 0.04140079766511917, 0.39738115668296814, -0.7020177841186523, 0.28776973485946655, -0.39678969979286194, 0.18339714407920837, -0.9257395267486572, -0.43622907996177673, 0.5993770360946655, -0.5554011464118958, 0.5111185908317566, -0.22363582253456116, -0.5794163346290588, -0.008105681277811527, -0.5752193927764893, 0.4896763265132904, 0.8180071115493774, -0.621907651424408, 0.2863766849040985, 0.1862604320049286, -0.24170595407485962, -0.5659527778625488, -0.83598792552948, 0.2787235677242279, -0.018932588398456573, -0.9078807830810547, 0.5355615019798279, 0.05155567452311516, -0.06440923362970352, 0.26508596539497375, 0.032464101910591125, -0.32307538390159607, 0.2531464993953705, 0.37523970007896423, 0.6215977668762207, 0.32956311106681824, 0.01591794192790985, 0.4989127814769745, -0.2584104537963867, 0.2893680930137634, -0.002318696118891239, 0.23791475594043732, 0.16861307621002197, -0.3049978017807007, -0.1936044842004776, 0.7606802582740784, 0.47179558873176575, -0.4110322594642639, 0.7146406769752502, 0.8933122754096985, -0.7287792563438416, -0.3509117662906647, 0.056295666843652725, -0.13773322105407715, -0.5369471311569214, 0.2664913535118103, 0.12621787190437317, -0.6716521978378296, 0.15689216554164886, 0.029883364215493202, 0.3307627737522125, 0.4548979699611664, 0.19007225334644318, -0.09504013508558273, 1.3758518695831299, 0.4364180564880371, 0.5517331957817078, 0.2813225984573364, -0.061056144535541534, 0.15848985314369202, -0.18861491978168488, -0.3122592270374298, -0.43925741314888, -0.2014264613389969, -0.7055945992469788, -0.48912176489830017, 0.3440293073654175, -0.18953348696231842, -0.1802666038274765, 0.12943023443222046, -0.4401243329048157, 0.44687145948410034, 0.5009868741035461, 0.5486202239990234, 0.05500074476003647, -0.033760905265808105, -0.18707403540611267, -0.03828161954879761, -0.6686052680015564, -0.5401949286460876, 0.8817515969276428, 0.31333407759666443, 1.0537549257278442, 0.3121689558029175, 0.5886245369911194, 0.48974135518074036, 0.3476299047470093, -0.2678713798522949, 0.7718780040740967, -0.8098810911178589, -0.8052487373352051, 0.04019532352685928, -0.46322163939476013, -0.5514014363288879, -0.027089711278676987, -0.6624506711959839, -0.5914398431777954, 0.2535342276096344, 0.25744691491127014, -0.18564553558826447, 0.725168764591217, -0.4835050702095032, 0.6322975158691406, -0.19400762021541595, -1.0238755941390991, -0.11935067921876907, -0.7429552674293518, 0.5436062812805176, -0.10258962213993073, 0.2530985474586487, -0.073725126683712, -0.18497060239315033, 0.5927640795707703, 0.015648046508431435, 0.8584890365600586, -0.2082541137933731, -0.09753650426864624, 0.10850585252046585, 0.47934335470199585, 0.573890745639801, 0.17331811785697937, 0.08947159349918365, 0.12538722157478333, -0.20346078276634216, -0.2865722179412842, -0.04500764235854149, 0.7757897973060608, -0.4857257306575775, -0.4363016188144684, -0.2779083847999573, -0.5979474186897278, -0.1335766315460205, 0.5071413516998291, 0.8759050369262695, 0.6448365449905396, -0.32768714427948, 0.4143165349960327, 1.1923032999038696, -0.7924507260322571, 0.5326951146125793, -0.1582893282175064, -0.22127380967140198, -0.6006991267204285, 0.9318318963050842, -0.42496299743652344, 0.4027530252933502, 0.11254934966564178, 0.07007233798503876, -0.6321922540664673, -0.6173741817474365, -0.8339622020721436, -0.16064943373203278, -0.827989935874939, -0.39704522490501404, -0.6635628342628479, -0.181818887591362, -0.3736495077610016, -0.4275640547275543, -0.31382662057876587, -0.22501277923583984, -0.6423658132553101, -0.01745835319161415, 0.31600505113601685, 0.3850199282169342, -0.0845794528722763, -0.13293717801570892, -1.1867244243621826, 0.6261253356933594, 0.23833554983139038, 0.5834347605705261, -0.2684694826602936, 0.0420914888381958, 0.3283654749393463, 0.04282332956790924, -0.26052147150039673, -0.842562198638916, 0.4732586443424225, 0.2559056580066681, 0.3703239858150482, 0.6172858476638794, 0.6981943845748901, 0.2231154888868332, -0.5092779397964478, 0.8026072978973389, 0.4690290689468384, -0.7263587117195129, 0.6740131974220276, -0.7431946396827698, 0.03763752058148384, 0.5236959457397461, 0.21109461784362793, -0.1774064302444458, -0.6490108370780945, -0.4617220461368561, -0.8200604915618896, 0.27752164006233215, 0.7037986516952515, 0.22621266543865204, -0.09221263974905014, 0.30167993903160095, 0.20469725131988525, 0.2080509066581726, -0.4515458643436432, -0.09110774844884872, -0.3809945285320282, -0.3593538701534271, 0.17078131437301636, -0.4269721806049347, -0.4323931038379669, 0.46388548612594604, 0.5780584812164307, 0.06344228237867355, 0.45090043544769287, 0.1972087323665619, -0.0706619918346405, -0.506565272808075, 0.3777725100517273, 0.5124616026878357, 0.08559717237949371, -0.25673139095306396, 0.2168969362974167, -0.3876613974571228, -0.5042345523834229, 0.3341284692287445, 0.26435989141464233, -0.6264890432357788, 0.05240056663751602, 0.129456028342247, 0.6864293217658997, 0.02325572818517685, -0.4829665422439575, 0.7007410526275635, -0.4378495216369629, -0.5300013422966003, 0.07725556194782257, 0.42652225494384766, -0.23086045682430267, -0.19788259267807007, 0.19976595044136047, 0.7219396829605103, 0.18794415891170502, -0.23926584422588348, 0.574029266834259, 0.25076642632484436, -0.6384824514389038, -0.0542915016412735, 1.2746005058288574, 0.5329380631446838, 0.02581864409148693, 0.48721200227737427, -0.12048213928937912, -0.3032320737838745, 0.8123981952667236, 0.7546988725662231, 1.0811264514923096, -0.2582606077194214, 0.3213672637939453, 0.3094869554042816, 0.47857850790023804, -0.09176377207040787, 0.4179058074951172, 0.4840454161167145, -0.5469977855682373, 0.03511486202478409, -0.08786370605230331, -0.15317049622535706, 0.014595355838537216, -0.5643592476844788, 0.2565452754497528, -0.5770942568778992, -0.2147354930639267, -0.16785196959972382, -0.6900185346603394, -0.4134855568408966, 0.4987739324569702, 0.33722031116485596, 0.9478577971458435, -0.9311636090278625, 0.6689794063568115, 0.5365757346153259, -0.08669047802686691, -0.4418145418167114, 0.12836763262748718, 0.41186273097991943, -0.35017091035842896, 0.03192678466439247, 0.395101934671402, -0.1315450668334961, -0.11169026046991348, -0.6313623189926147, -0.4391845464706421, 0.9682461023330688, 0.40376394987106323, -0.2726250886917114, -0.06044209003448486, 0.15015065670013428, 0.14052698016166687, -0.15835797786712646, -0.29819756746292114, -0.027614815160632133, 0.360018253326416, 0.29980212450027466, -0.023609759286046028, 0.590377151966095, -0.7618194818496704, 0.2675677537918091, 0.26095864176750183, -0.268666535615921, 0.53373122215271, -0.24584831297397614, -0.50434410572052, 0.4210250973701477, 0.3864973485469818, 0.3774101436138153, 0.6330962777137756, 0.8133074641227722, 0.31198564171791077, 0.3845502734184265, -0.40503981709480286, 0.9290985465049744, -0.1762237846851349, 0.0010475292801856995, 0.8624672293663025, -0.10040008276700974, 0.5837627649307251, 0.3592371642589569, 0.5606685280799866, 0.058374084532260895, 0.6266130208969116, -0.19220158457756042, 0.8915228843688965, -0.04557659476995468, -0.33065086603164673, -0.4893123507499695, -0.35596388578414917, -0.5380569100379944, 0.34858059883117676, 0.3048768937587738, -0.6457602977752686, -0.38980481028556824, 0.281080961227417, 0.17108125984668732, 0.20575642585754395, -0.1113152951002121, 0.6085301041603088, -0.00956321507692337, -0.4453500211238861, 0.24327777326107025, 0.11517655849456787, 0.6897488236427307, -0.4095507264137268, -0.11617375910282135, -0.04801750183105469, 0.0721769630908966, -0.13212984800338745, -0.9045832753181458, 0.38583335280418396, 0.4714291989803314, 0.026396941393613815, -0.5005409121513367, 1.6006791591644287, -0.5218652486801147, -0.38138067722320557, 0.14345625042915344, 0.12897056341171265, -0.24189919233322144, 0.3547683656215668, -0.4547235667705536, -0.13941624760627747, -0.004143989644944668, -0.08155429363250732, 0.26044026017189026, 0.19598883390426636, -0.07624571770429611, 0.5206297636032104, 0.7967863082885742, -0.3812566101551056, -0.2137126624584198, -0.12157999724149704, 0.8398840427398682, -0.3442491888999939, -0.6871190071105957, -0.6464436054229736, 0.6320558190345764, -0.09566634148359299, -0.020493049174547195, 0.3866017758846283, 0.2839970290660858, 0.43274617195129395, -0.1455954611301422, 0.879004180431366, -0.1403106451034546, -0.07729791849851608, -0.47219863533973694, 1.5139446258544922, -0.7396683096885681, -0.043831612914800644, -0.5501202940940857, -0.4501779079437256, -0.532645583152771, 0.17797644436359406, 0.024079332128167152, -0.2658233940601349, 0.3251686990261078, 0.7676129937171936, -0.03333313390612602, 0.37202325463294983, 0.3538106679916382, -0.07222017645835876, 0.6289187669754028, 0.3992224335670471, 0.9207822680473328, -0.4967649579048157, 0.847737193107605, -0.4565733075141907, -0.24764469265937805, -0.0017313749995082617, -1.3727353811264038, -0.8931206464767456, -0.25089964270591736, -0.34009477496147156, -0.5648589134216309, 0.28491637110710144, 0.5829212069511414, 0.5648292303085327, -0.4211072325706482, 0.41911807656288147, -0.27637001872062683, -0.11837862432003021, 0.04764934629201889, -0.05935250595211983, 0.25660139322280884, 0.09681739658117294, -0.47431206703186035, 0.3140081465244293, 0.14112329483032227, 0.5320609211921692, -0.10645630955696106, 0.036989763379096985, 0.08953135460615158, 0.3345588743686676, 0.35935673117637634, 0.047264229506254196, -0.23185867071151733, -0.39489006996154785, 0.2723047435283661, -0.31322258710861206, -0.11864274740219116, 0.24021296203136444, -0.3780550956726074, 0.493455171585083, 0.5805661082267761, 0.5694177150726318, 0.022413775324821472, -0.07211288064718246, 0.8297420740127563, -0.9162377715110779, 0.3845835030078888, 0.06833132356405258, 0.21027863025665283, 0.43907737731933594, -0.7773842215538025, 0.44508811831474304, 0.24515466392040253, -0.2524785101413727, -0.6529499292373657, 0.2179524153470993, -0.7568200826644897, -0.45031970739364624, 1.1552374362945557, -0.30064696073532104, -0.44762852787971497, 0.1676785796880722, -0.06120401993393898, 0.5302901864051819, -0.4312000274658203, 0.7586729526519775, 0.2827904522418976, 0.3698710501194, -0.22297173738479614, -0.3763958513736725, 0.5913119316101074, 0.25222375988960266, -0.9027860760688782, -0.03562980145215988, 0.6304712891578674, 0.32684624195098877, -0.023994561284780502, 0.30015257000923157, -0.4651450514793396, 0.6293491125106812, 0.036246538162231445, -0.18401484191417694, -0.294432133436203, -0.4995051920413971, 0.023833496496081352, 0.3057256042957306, -0.36351901292800903, -0.5738817453384399 ]
http://arxiv.org/abs/2404.06664v1
http://arxiv.org/pdf/2404.06664v1
CulturalTeaming: AI-Assisted Interactive Red-Teaming for Challenging LLMs' (Lack of) Multicultural Knowledge
2024-04-10T00:25:09
2024-04-10T00:25:09
Yu Ying Chiu, Liwei Jiang, Maria Antoniak, Chan Young Park, Shuyue Stella Li, Mehar Bhatia, Sahithya Ravi, Yulia Tsvetkov, Vered Shwartz, Yejin Choi
cs.CL
cs.CL, cs.AI, cs.HC
Frontier large language models (LLMs) are developed by researchers and practitioners with skewed cultural backgrounds and on datasets with skewed sources. However, LLMs' (lack of) multicultural knowledge cannot be effectively assessed with current methods for developing benchmarks. Existing multicultural evaluations primarily rely on expensive and restricted human annotations or potentially outdated internet resources. Thus, they struggle to capture the intricacy, dynamics, and diversity of cultural norms. LLM-generated benchmarks are promising, yet risk propagating the same biases they are meant to measure. To synergize the creativity and expert cultural knowledge of human annotators and the scalability and standardizability of LLM-based automation, we introduce CulturalTeaming, an interactive red-teaming system that leverages human-AI collaboration to build truly challenging evaluation dataset for assessing the multicultural knowledge of LLMs, while improving annotators' capabilities and experiences. Our study reveals that CulturalTeaming's various modes of AI assistance support annotators in creating cultural questions, that modern LLMs fail at, in a gamified manner. Importantly, the increased level of AI assistance (e.g., LLM-generated revision hints) empowers users to create more difficult questions with enhanced perceived creativity of themselves, shedding light on the promises of involving heavier AI assistance in modern evaluation dataset creation procedures. Through a series of 1-hour workshop sessions, we gather CULTURALBENCH-V0.1, a compact yet high-quality evaluation dataset with users' red-teaming attempts, that different families of modern LLMs perform with accuracy ranging from 37.7% to 72.2%, revealing a notable gap in LLMs' multicultural proficiency.
[ -0.6178303956985474, -0.45535728335380554, 0.09624247252941132, 0.6274564862251282, 0.11112694442272186, 0.696746289730072, -0.5878661870956421, -0.5964176058769226, 0.337921142578125, 0.14602023363113403, -0.8322742581367493, -0.5734459161758423, -0.5025182366371155, 0.30802518129348755, 0.10565006732940674, 0.8286126255989075, -0.2660384774208069, 0.0904529020190239, -0.3885160982608795, -0.5318353176116943, -0.6123452186584473, -0.22141551971435547, -0.40907883644104004, -0.5475271940231323, 0.09431375563144684, 0.7164407968521118, 0.6492103338241577, 0.5398610830307007, 0.6502485275268555, 0.3476804196834564, -0.1606018990278244, 0.4494922161102295, -0.5363250374794006, 0.2078796923160553, -0.020396791398525238, -0.844066858291626, -0.35584741830825806, 0.37198564410209656, 0.13873976469039917, 0.6500117778778076, 0.11370661854743958, 0.5726478099822998, -0.20733097195625305, 0.6611352562904358, -0.5066068172454834, 0.231839120388031, -0.6687840223312378, 0.4320964813232422, -0.16649700701236725, -0.14726001024246216, -0.015549605712294579, -0.3508232831954956, -0.004045049659907818, -0.5569113492965698, -0.028230424970388412, 0.0937512069940567, 0.3986459970474243, 0.7008188962936401, -0.37684646248817444, -0.2368641048669815, -0.8407539129257202, 0.8186898827552795, -0.26749902963638306, 0.03103775531053543, 0.5776269435882568, 0.551811158657074, -0.16531307995319366, -0.33975091576576233, -0.6283944845199585, -0.24431948363780975, 0.206331267952919, 0.2832137942314148, -0.18177518248558044, -0.2444671094417572, 0.21529363095760345, 0.3336487114429474, -0.3966861665248871, 0.3457399010658264, -0.4365256726741791, -0.24574199318885803, 0.9616050720214844, 0.4768792688846588, 0.5383049249649048, 0.09266804158687592, -0.4533800482749939, -0.12332931160926819, -0.4757782220840454, -0.012775462120771408, 0.10697845369577408, 0.05553269386291504, -0.3450259864330292, 0.42627832293510437, -0.4641135632991791, 0.25573107600212097, -0.05990214645862579, -0.1841983050107956, 0.38826531171798706, -0.36987265944480896, 0.07214849442243576, -0.2916364371776581, 0.7717596888542175, 0.7588173151016235, 0.5222660899162292, -0.19958612322807312, -0.06161273270845413, 0.09718326479196548, -0.007853957824409008, -0.2653200328350067, -0.1555185765028, 0.3871205151081085, -0.20144648849964142, -0.02176283858716488, -0.0007071170257404447, -0.6124307513237, -0.5957159996032715, -0.44198256731033325, 0.2173762023448944, -0.37703603506088257, -0.13542799651622772, -0.3406056761741638, -0.3974780738353729, 0.10268513113260269, 0.43271246552467346, -0.7364532351493835, 0.006407084874808788, 0.520807147026062, 0.6764515042304993, -0.42281919717788696, -0.5263315439224243, -0.2724389135837555, 0.11372163891792297, -0.1548934131860733, 0.5236114263534546, -0.4276236593723297, -0.33432304859161377, -0.07052653282880783, -0.3116983473300934, 0.395730584859848, -0.9097640514373779, 0.24459075927734375, -0.41222724318504333, 0.10508265346288681, -0.32437369227409363, -0.272115021944046, -0.09168487042188644, 0.5748468637466431, -0.5745775699615479, 0.8733266592025757, 0.09033405035734177, -0.30753669142723083, 0.73260897397995, -0.8107942342758179, -0.31599169969558716, 0.6791393160820007, -0.3675861358642578, -0.0513480007648468, -0.19732047617435455, 0.43470659852027893, 0.19306471943855286, -0.3645624816417694, 0.002829033648595214, -0.3338494896888733, -0.5728952288627625, 0.014825144782662392, -0.0503334142267704, 1.0418481826782227, 0.3109942078590393, -0.5572554469108582, 0.2866358458995819, -0.5068903565406799, -0.07789595425128937, 0.18027520179748535, -0.46215900778770447, -0.0007525114342570305, -0.4096049666404724, 0.004719559568911791, 0.19379287958145142, 0.23760822415351868, -0.34142524003982544, 0.12697315216064453, 0.023756349459290504, 0.1951361894607544, 0.7618997693061829, -0.390158087015152, 0.5575662851333618, -0.6971731185913086, 0.9853428602218628, -0.20013687014579773, -0.01842852309346199, 0.012565689161419868, -0.4683859050273895, -0.7193600535392761, -0.4463433027267456, 0.1275496482849121, 0.8161045908927917, -0.9735952615737915, 0.4725601375102997, -0.28793618083000183, -0.9170316457748413, -0.7984523177146912, 0.5336474776268005, -0.05658696964383125, 0.21234211325645447, 0.2626767158508301, -0.376417875289917, -0.6097109913825989, -0.7643482089042664, -0.2502857744693756, -0.24404267966747284, -0.23289497196674347, 0.2888527810573578, 0.454393595457077, -0.39052507281303406, 1.0516859292984009, -0.011656451970338821, -0.7656233906745911, -0.48927003145217896, 0.4853798449039459, 0.023787064477801323, 0.3637198805809021, 0.3257729113101959, -0.5659400820732117, -0.6509126424789429, -0.04913730546832085, -0.8621779680252075, -0.3247164189815521, -0.09603412449359894, 0.10215122997760773, 0.42268162965774536, 0.3255305588245392, -0.24611595273017883, 0.20192992687225342, 0.5814955234527588, -0.09771830588579178, 0.4959702491760254, -0.0035137380473315716, 0.2882615327835083, -0.6820446252822876, -0.07379606366157532, 0.03371777758002281, 0.05787336453795433, -0.4250834286212921, 0.17252393066883087, -0.11169105023145676, 0.025903526693582535, -0.43756183981895447, 0.7426702976226807, -0.49623554944992065, 0.14846111834049225, -0.17341351509094238, 0.2468155026435852, -0.47256460785865784, 0.4295613467693329, 0.056237999349832535, 0.7647081017494202, 0.17493589222431183, -0.054028309881687164, 0.5963578820228577, 0.29922935366630554, -0.36590978503227234, 0.6144388914108276, -0.13900385797023773, 0.1542915403842926, -0.08732622861862183, 0.4024416208267212, -0.7353889346122742, -0.21457204222679138, 0.1533617079257965, -0.27552807331085205, -0.17031492292881012, -0.12047913670539856, -0.6787661910057068, -0.4291127026081085, -0.4067978858947754, 0.513516902923584, 0.6321971416473389, -0.5345006585121155, 0.5770865082740784, 0.5676195025444031, -0.432653546333313, -0.47265392541885376, -0.8150519132614136, 0.38054901361465454, -0.5227276086807251, -0.9521667957305908, 0.2400367259979248, -0.045363180339336395, -0.5868595242500305, -0.26350682973861694, 0.11862862855195999, 0.05222482234239578, 0.4127710461616516, 0.20577937364578247, 0.1531374305486679, 0.03657164424657822, 0.10435040295124054, -0.25748181343078613, -0.0637868344783783, 0.16998203098773956, 0.17080453038215637, 0.5239026546478271, -0.3544202446937561, -0.46902844309806824, -0.3380921185016632, 0.25919461250305176, 0.5793117880821228, -0.4331114888191223, 0.49244603514671326, 0.9575923681259155, -0.2269701063632965, -0.36501315236091614, -0.7510582804679871, -0.14121809601783752, -0.43561363220214844, 0.30050259828567505, 0.01165715605020523, -1.0645816326141357, 0.7677034139633179, -0.1585019826889038, 0.09897524863481522, 0.1836593747138977, 0.8796407580375671, -0.26066309213638306, 0.590940535068512, 0.6308473348617554, -0.1256081461906433, 0.3294861912727356, -0.11175621300935745, -0.14179857075214386, -0.41954025626182556, -0.3691464960575104, -0.10722717642784119, -0.9711818099021912, -0.6910379528999329, -0.5124781727790833, 0.7441491484642029, -0.30417099595069885, -0.22641395032405853, -0.11757327616214752, -0.32817578315734863, 0.7974635362625122, 0.9309588670730591, -0.004799955058842897, 0.3359673023223877, 0.0036653373390436172, 0.00635907519608736, -0.19113166630268097, -0.7074581980705261, -0.4006805717945099, 1.0454132556915283, 0.369722843170166, 0.6258366703987122, 0.20707982778549194, 0.8165535926818848, 0.3869023323059082, 0.728609561920166, -0.6517887711524963, 0.5618142485618591, 0.1104024350643158, -0.5887594819068909, -0.35702142119407654, -0.44856637716293335, -0.5027675628662109, 0.06341694295406342, -0.5352564454078674, -0.7380962371826172, -0.21382515132427216, 0.09517350047826767, -0.31951072812080383, 0.24623361229896545, -0.6914402842521667, 0.6520167589187622, -0.32966870069503784, -0.3830127716064453, -0.012254039756953716, -0.7298071384429932, 0.44423672556877136, -0.17696957290172577, 0.25977426767349243, -0.2689092457294464, 0.08765646815299988, 0.7232421040534973, -0.15138466656208038, 0.9086707234382629, -0.07355983555316925, 0.10819514095783234, 0.1871463656425476, 0.49160292744636536, 0.19687820971012115, -0.09360676258802414, -0.18812713027000427, 0.31414955854415894, -0.18706749379634857, -0.3359370529651642, -0.4006568193435669, 0.40566956996917725, -0.7545302510261536, -0.8896081447601318, -0.2156786024570465, -1.134904146194458, -0.45619338750839233, -0.1099831610918045, -0.07518885284662247, -0.375497430562973, 0.06091863662004471, 0.11915180087089539, -0.007450197357684374, -0.16993948817253113, 0.3596911132335663, 0.3441341519355774, 0.08042042702436447, -0.3947639763355255, 0.8989946246147156, 0.06029350310564041, 0.050826188176870346, -0.0707072913646698, -0.0002595810510683805, -0.06754444539546967, -0.42314907908439636, -0.42389142513275146, 0.20405538380146027, -0.7184657454490662, -0.0972587987780571, -0.2893962264060974, 0.12097752839326859, -0.10769283026456833, -0.28833210468292236, 0.007508773356676102, -0.42215144634246826, 0.01651380956172943, -0.08518823981285095, 0.30607175827026367, 0.5954053997993469, -0.3808923363685608, 0.1386430710554123, -0.7487220764160156, -0.11776599287986755, 0.1494513750076294, 0.20666256546974182, 0.023881712928414345, -0.24269980192184448, -0.2310255914926529, 0.0037080904003232718, -0.39797621965408325, -0.6662554740905762, 0.2911810278892517, -0.17291279137134552, 0.47479015588760376, 0.087947778403759, 0.09474968165159225, 0.6775668263435364, -0.17756834626197815, 0.8640084266662598, -0.06641434133052826, -0.752959668636322, 0.3797966539859772, -0.2749551236629486, 0.47789010405540466, 0.7646484375, 0.5842909216880798, -0.5359069108963013, -0.7557141184806824, -0.29536569118499756, -0.8577147722244263, 0.7789108753204346, 0.11010534316301346, -0.011900191195309162, -0.030621284618973732, -0.10504081845283508, 0.03716212511062622, 0.08929359167814255, -0.6654489040374756, -0.2521740198135376, 0.09709646552801132, -0.25685030221939087, -0.04540026932954788, 0.07495018094778061, -0.5568807125091553, -0.2555447518825531, 0.41354864835739136, -0.2226291298866272, -0.12505486607551575, 0.0314955972135067, -0.24070164561271667, -0.29424434900283813, 0.1592017412185669, 0.5322521328926086, 0.6718177795410156, -0.20033732056617737, -0.05733349174261093, 0.7182776927947998, -0.08224005252122879, 0.24006013572216034, 0.12165914475917816, 0.10129287838935852, -0.41180452704429626, 0.6516750454902649, 0.33320051431655884, -0.4963158369064331, -1.0166420936584473, 0.24387499690055847, -0.12058594822883606, -0.16661128401756287, -0.4633679687976837, 0.14667610824108124, 0.15975750982761383, 0.4281407296657562, 0.5433717966079712, -0.07896370440721512, -0.2897404730319977, -0.6514474153518677, 0.13854065537452698, 0.6589270234107971, -0.3994739055633545, -0.00786581076681614, 0.6412543654441833, 0.5306004881858826, -0.5362148880958557, 0.8049567341804504, -0.2039758414030075, -0.6762592792510986, 0.7522204518318176, 0.1697847843170166, 0.6695522665977478, -0.03745154291391373, 0.21200402081012726, 0.011367478407919407, 0.4725910723209381, 0.362851619720459, 0.235189750790596, -0.19539542496204376, -0.7669267654418945, -0.35827773809432983, -0.3923697769641876, -0.6981078386306763, -0.13317714631557465, -0.42787250876426697, 0.25086459517478943, -0.46601030230522156, -0.11886117607355118, -0.36233481764793396, 0.12037527561187744, -0.8349577188491821, 0.11750791221857071, 0.3187161684036255, 1.0621720552444458, -0.9815104007720947, 0.2607107162475586, 0.9519279599189758, -0.40238073468208313, -0.5615206956863403, 0.08471987396478653, 0.5043114423751831, -0.8652294874191284, 0.9558623433113098, 0.07700954377651215, 0.20726841688156128, -0.34668439626693726, -0.25865310430526733, -0.48669496178627014, 1.3511102199554443, 0.3000590205192566, -0.20056356489658356, 0.1676606833934784, 0.5389332175254822, 0.778379499912262, -0.45737308263778687, 0.5478397607803345, 0.6346680521965027, 0.5915963649749756, 0.10315222293138504, -1.1916131973266602, 0.07350797951221466, -0.23943564295768738, -0.3860485553741455, -0.1803542673587799, -0.8728916645050049, 0.5186854600906372, -0.3856881558895111, -0.10408972948789597, -0.06928868591785431, 0.6206759810447693, 0.46955859661102295, 0.3593347370624542, 0.6759310364723206, 0.4663863778114319, 0.823449969291687, -0.2786521017551422, 0.8224223852157593, -0.34622570872306824, 0.01732657663524151, 0.9408091306686401, -0.40173402428627014, 0.5866369009017944, 0.543848991394043, -0.14165984094142914, 0.19824238121509552, 0.4960085451602936, -0.2777606248855591, -0.08066287636756897, 0.4403837025165558, -0.29316842555999756, -0.40546953678131104, -0.3550114631652832, -0.12885825335979462, 0.7251892685890198, 0.11285021156072617, -0.03246542438864708, -0.21200305223464966, -0.2585305869579315, -0.041109051555395126, 0.2538735270500183, -0.031436022371053696, 0.7438117265701294, -0.06573476642370224, -0.7660240530967712, 0.5365858674049377, -0.09598426520824432, 0.9019705653190613, -0.4660443067550659, 0.045258332043886185, -0.5850334763526917, -0.1456255167722702, -0.2642994523048401, -0.9220584034919739, 0.2811272144317627, -0.020009618252515793, -0.008451328612864017, -0.18439733982086182, 0.22972330451011658, -0.5520041584968567, -0.36641931533813477, 0.30730873346328735, 0.8567140698432922, -0.013651050627231598, 0.24622109532356262, -0.4884008765220642, 0.30777251720428467, 0.13073977828025818, 0.1450347751379013, 0.23291371762752533, 0.29585567116737366, -0.32462435960769653, 1.0452334880828857, 0.5028197765350342, 0.2558661103248596, -0.26408886909484863, -0.07203587144613266, 0.5357362627983093, -0.5940287113189697, -0.3339042067527771, -0.8382181525230408, 0.47119539976119995, -0.01256914995610714, -0.26144638657569885, 0.568730890750885, 0.150953009724617, 1.0758403539657593, -0.07897467911243439, 0.7693297863006592, 0.011188172735273838, 0.1912255436182022, -0.1559857726097107, 1.0159554481506348, -0.795022189617157, 0.2796211540699005, -0.16299164295196533, -0.792354166507721, -0.5053514242172241, 0.15962402522563934, -0.3548860251903534, 0.11197324842214584, 0.22150473296642303, 0.7575762867927551, 0.1246572732925415, 0.19697031378746033, 0.14180144667625427, 0.09023461490869522, 0.5240088105201721, 0.5284507870674133, 1.0896868705749512, 0.21217340230941772, 0.6003080606460571, -0.46193650364875793, -0.5544237494468689, -0.030429745092988014, -0.8167496919631958, -0.968754231929779, -0.5592114925384521, -0.25098639726638794, 0.08145817369222641, -0.08728261291980743, 1.4658973217010498, 0.5477241277694702, -0.5213479399681091, -0.6010317802429199, 0.5303999185562134, 0.18670286238193512, -0.0900547057390213, -0.23990638554096222, 0.04237743839621544, -0.2558773458003998, -0.9595247507095337, 0.3452063798904419, 0.17560678720474243, 0.08053500950336456, -0.373997300863266, -0.00926809199154377, 0.06007402390241623, -0.2485591173171997, 0.46583420038223267, 0.23974311351776123, -0.7378742694854736, -0.146116703748703, -0.2598593235015869, 0.2092837393283844, -0.04636885225772858, 0.35970595479011536, -0.7217967510223389, 0.3670084774494171, 0.3982641100883484, 0.963466465473175, 0.11302125453948975, 0.11995967477560043, 0.7428128123283386, -0.6986915469169617, 0.11491253972053528, 0.42996087670326233, 0.2896474003791809, 0.4087657034397125, -0.06951599568128586, 0.6811478734016418, 0.22435079514980316, -0.499519944190979, -0.7500115633010864, 0.067911297082901, -0.7875558137893677, 0.08228601515293121, 1.0315935611724854, -0.047629792243242264, -0.08714670687913895, 0.03349538892507553, -0.1529901921749115, -0.02660357393324375, -0.24056197702884674, 1.1342331171035767, 0.7913848161697388, -0.22649434208869934, 0.038721006363630295, -0.18023470044136047, 0.3807055950164795, 0.8038545846939087, -0.7455540895462036, -0.08493353426456451, 0.38132840394973755, 0.23777630925178528, 0.4346010684967041, 0.440126895904541, 0.16793318092823029, 0.5231050252914429, -0.3398149907588959, 0.3098333775997162, -0.3404247760772705, -0.18486176431179047, -0.2575959861278534, 0.2704963982105255, 0.11684371531009674, 0.20174890756607056 ]
http://arxiv.org/abs/2404.06659v1
http://arxiv.org/pdf/2404.06659v1
Leveraging Interesting Facts to Enhance User Engagement with Conversational Interfaces
2024-04-09T23:51:29
2024-04-09T23:51:29
Nikhita Vedula, Giuseppe Castellucci, Eugene Agichtein, Oleg Rokhlenko, Shervin Malmasi
cs.CL
cs.CL
Conversational Task Assistants (CTAs) guide users in performing a multitude of activities, such as making recipes. However, ensuring that interactions remain engaging, interesting, and enjoyable for CTA users is not trivial, especially for time-consuming or challenging tasks. Grounded in psychological theories of human interest, we propose to engage users with contextual and interesting statements or facts during interactions with a multi-modal CTA, to reduce fatigue and task abandonment before a task is complete. To operationalize this idea, we train a high-performing classifier (82% F1-score) to automatically identify relevant and interesting facts for users. We use it to create an annotated dataset of task-specific interesting facts for the domain of cooking. Finally, we design and validate a dialogue policy to incorporate the identified relevant and interesting facts into a conversation, to improve user engagement and task completion. Live testing on a leading multi-modal voice assistant shows that 66% of the presented facts were received positively, leading to a 40% gain in the user satisfaction rating, and a 37% increase in conversation length. These findings emphasize that strategically incorporating interesting facts into the CTA experience can promote real-world user participation for guided task interactions.
[ -0.41391822695732117, -0.9634818434715271, 0.9638670086860657, 0.13077455759048462, -0.32704535126686096, -0.0661047026515007, -0.16150566935539246, -0.4120009243488312, 0.2657987177371979, 0.2932506203651428, -0.3815513849258423, -0.32740315794944763, -0.40029793977737427, -0.45617127418518066, -0.18299295008182526, 0.7405419945716858, 0.4159877896308899, -0.04672003909945488, -0.4759308993816376, -0.15588779747486115, -0.9496089816093445, -0.6878249049186707, -0.5792050957679749, -0.07527118176221848, 0.7688827514648438, 0.6289249062538147, 0.8941723704338074, 0.41686928272247314, 0.1023484617471695, 0.33042386174201965, -0.1861104518175125, 0.7362640500068665, -0.44961032271385193, 0.5516369342803955, 0.08837362378835678, -0.5845192670822144, 0.07122859358787537, 0.045136239379644394, -0.09344014525413513, 0.6611404418945312, -0.10050876438617706, -0.20914959907531738, 0.15302148461341858, 0.44903072714805603, -0.35558468103408813, 0.6939722299575806, -0.15180695056915283, -0.07519664615392685, -0.27808108925819397, -0.6700839996337891, -0.3627132475376129, -0.5120373368263245, 0.3871459364891052, -0.8192548751831055, -0.04175140708684921, -0.022339744493365288, 0.621208667755127, 0.31988468766212463, -0.8210415840148926, -0.4925752878189087, -0.7383146286010742, 0.661090612411499, -0.48114657402038574, 0.4564850926399231, 0.2774510085582733, 0.1502397656440735, -0.22006317973136902, -0.2778996229171753, -0.8803662061691284, -0.3668944537639618, -0.2396460920572281, -0.012056976556777954, -0.18912430107593536, -0.053598642349243164, 0.4309065341949463, -0.01769517920911312, -0.16681945323944092, -0.24197684228420258, -0.06885900348424911, 0.010991351678967476, 0.37904858589172363, 0.3123410940170288, 0.598257303237915, -0.02258560247719288, -0.3035241663455963, -0.1146608218550682, -0.44949352741241455, 0.6728343963623047, 0.24020792543888092, 0.11348903924226761, -0.26171737909317017, 0.6964333057403564, -0.30817773938179016, 0.7294090986251831, 0.23031091690063477, -0.16405172646045685, 0.5696430206298828, -0.6114670634269714, -0.04218202084302902, -0.051835816353559494, 0.4930824935436249, 0.6059414744377136, 0.055063873529434204, -0.38567599654197693, 0.3279311954975128, -0.12252745032310486, 0.35138240456581116, -0.7207311391830444, -0.19506226480007172, 0.17670254409313202, -0.2943498194217682, -0.17754971981048584, 0.20360687375068665, -0.5973981022834778, -0.37625372409820557, -0.5657947063446045, 0.34128662943840027, -0.3657943606376648, -0.09793797135353088, -0.20228317379951477, -0.4323183596134186, -0.09472330659627914, 0.7693914771080017, -0.7885701656341553, -0.07373041659593582, 0.5245901346206665, 0.726887047290802, -0.10205041617155075, -0.014506950974464417, -0.644551157951355, 0.24126170575618744, -0.22523872554302216, 0.7787803411483765, -0.8658521771430969, -0.4612521827220917, 0.03899290785193443, 0.18898150324821472, -0.3223796486854553, -0.2575896084308624, 0.6567823886871338, -0.5571020841598511, 0.4538952112197876, -0.7805667519569397, -0.16860315203666687, -0.3837750554084778, 0.37197190523147583, -0.5691245794296265, 0.9634318947792053, -0.1524856984615326, -0.4301207959651947, 0.5819166302680969, -1.190194010734558, -0.7229900360107422, -0.11617321521043777, -0.1882791370153427, -0.03162031248211861, 0.10398838669061661, 0.13264866173267365, 0.5809381008148193, -0.26013633608818054, 0.3402799367904663, -0.05302031710743904, -0.1515750288963318, 0.7625252604484558, -0.4906822144985199, 0.32661670446395874, 0.5874527096748352, -0.3832095265388489, 0.3234456479549408, -0.22496020793914795, -0.13226504623889923, -0.30228191614151, -0.5023987293243408, -0.4319548010826111, 0.16742189228534698, -0.001209825393743813, 0.28951311111450195, 0.07337117940187454, -0.7848578691482544, 0.09283069521188736, -0.10729135572910309, 0.13869476318359375, 0.42551949620246887, 0.19910088181495667, 0.15520478785037994, -0.6249871850013733, 0.3887331187725067, 0.32791250944137573, 0.10674037784337997, -0.4638291001319885, -0.8716306686401367, -0.7108197808265686, -0.26468363404273987, 0.05019216984510422, 0.4467841684818268, -0.9004611372947693, 0.26045936346054077, -0.09258921444416046, -0.6618233323097229, -0.14857323467731476, 0.21330200135707855, 0.1884830892086029, 0.6994867324829102, 0.11314203590154648, -0.269473671913147, -0.20067620277404785, -0.574989378452301, -0.36430418491363525, 0.13012973964214325, -0.1732664853334427, 0.6454252600669861, -0.16499772667884827, -0.015703042969107628, 0.9801242351531982, -0.5814751386642456, -0.18383586406707764, -0.23493385314941406, 0.6644759774208069, 0.089403435587883, 0.5038433074951172, 0.6750439405441284, -1.1361184120178223, -0.6051397919654846, 0.2725272476673126, -0.85685795545578, 0.0527971088886261, -0.3551144301891327, 0.04804026708006859, -0.0214207973331213, 0.21240179240703583, -0.7555029988288879, 0.4933353364467621, 0.07073617726564407, -0.40890246629714966, -0.08822503685951233, -0.0012415647506713867, 0.9408828020095825, -0.9161502718925476, -0.007315303664654493, 0.12663348019123077, -0.1740150898694992, -0.9064200520515442, -0.4938218593597412, -0.36496996879577637, -0.335929811000824, -0.6685057282447815, 0.47926071286201477, -0.3711492717266083, 0.43008533120155334, -0.3458380401134491, -0.06894928216934204, -0.14970727264881134, 0.7419026494026184, 0.1997438371181488, 1.0662250518798828, 0.31473827362060547, -0.5010367631912231, -0.052426476031541824, 0.40175846219062805, -0.3817170560359955, 0.3849819600582123, -0.4104247987270355, 0.0901680514216423, 0.04579831287264824, 0.02890302613377571, -1.3045159578323364, -0.2881234288215637, 0.04828624799847603, -0.1796192079782486, -0.2171073704957962, 0.03155917301774025, -0.40324756503105164, 0.15749572217464447, -0.3434261977672577, 0.3026924133300781, 0.3673318326473236, -0.542316734790802, 0.9613204002380371, 0.8604862689971924, -0.33888787031173706, -0.3016534745693207, -0.42917555570602417, 0.2632509171962738, -0.33316561579704285, -0.5662728548049927, 0.16101841628551483, -0.36724796891212463, -0.13022060692310333, -0.22116528451442719, -0.09527606517076492, -0.185259148478508, 0.1532958745956421, 0.6857191324234009, 0.004373655188828707, 0.06068146973848343, 0.1072978675365448, -0.08595293015241623, 0.03712538629770279, 0.059629905968904495, 0.28801485896110535, 0.4139575660228729, -0.044412821531295776, -0.25777745246887207, -1.0282628536224365, 0.5213947296142578, 0.7639815807342529, 0.08893445879220963, 0.43927261233329773, 0.8428460955619812, -0.11287757009267807, 0.5431830883026123, -0.960240364074707, -0.3738871216773987, -0.4406334459781647, -0.009759698063135147, -0.4348051846027374, -0.8420713543891907, 0.46644341945648193, -0.2373126745223999, 0.30442801117897034, 0.053300000727176666, 0.5215404629707336, -0.3873339295387268, 1.2643256187438965, 0.4965808093547821, 0.4761572480201721, 0.925423800945282, 0.20848962664604187, 0.4035235345363617, -0.5660218596458435, -0.6657017469406128, -0.49519962072372437, -0.2874666154384613, -0.33274611830711365, -0.5909209251403809, 0.6871718764305115, -0.3470883369445801, 0.3086951673030853, 0.1971057802438736, -0.19118225574493408, 0.25919219851493835, 0.8557569980621338, 0.36072099208831787, 0.1614844799041748, -0.23735311627388, 0.2422640025615692, -0.04700674116611481, -0.6219002604484558, -0.43577635288238525, 0.8135132789611816, 0.15669189393520355, 0.9012885093688965, 0.37634119391441345, 0.41469278931617737, 0.8248084783554077, 0.05624004080891609, -0.8432126641273499, 0.4612903296947479, 0.16885946691036224, -0.30269891023635864, -0.3980008065700531, -0.3164863586425781, -0.8836084008216858, -0.07457195967435837, -0.21748416125774384, -0.7678709030151367, 0.4087429940700531, 0.5093488097190857, -0.409460186958313, -0.07747028768062592, -1.2610912322998047, 0.9704510569572449, -0.4874628484249115, -0.5515920519828796, -0.388739675283432, -0.5103515386581421, 0.20779511332511902, 0.29523882269859314, 0.11767905950546265, -0.06386644393205643, 0.24804136157035828, 0.8168978095054626, -0.33350569009780884, 1.1094869375228882, -0.34991851449012756, 0.015328793786466122, 0.37422052025794983, 0.09825371950864792, 0.4899798631668091, 0.14011149108409882, -0.04851090908050537, -0.04373245686292648, 0.040216658264398575, -0.2880001962184906, -0.912521243095398, 0.8812130093574524, -0.46501991152763367, -0.9831447601318359, -0.5077482461929321, -0.9318013191223145, -0.4711505174636841, -0.014341941103339195, -0.40091437101364136, 0.4442331790924072, -0.1313720941543579, 0.5613411664962769, 0.8367340564727783, 0.33075767755508423, 0.41114696860313416, 0.3327578902244568, 0.5615625977516174, 0.054554086178541183, 0.942976176738739, -0.02357548661530018, 0.1654791682958603, 0.5905331969261169, 0.32454580068588257, -0.3443867266178131, -0.28053727746009827, -0.46452441811561584, -0.30423107743263245, -0.6129545569419861, -0.05303037539124489, -1.145699381828308, 0.26331543922424316, -0.17312192916870117, -0.2059166431427002, -0.031066397204995155, -0.690934956073761, -0.5567951202392578, -0.03151280805468559, 0.3175840973854065, 0.5965464115142822, 0.14342465996742249, 0.43105006217956543, -0.7290859222412109, 0.25414448976516724, 0.6533628702163696, -0.30910107493400574, 0.08856378495693207, -0.17032134532928467, -0.26649224758148193, 0.12886352837085724, -0.5248850584030151, -0.8649766445159912, 0.17001217603683472, 0.11632967740297318, 0.8738329410552979, 0.5728421807289124, 0.011610116809606552, 0.5696879625320435, -0.010135750286281109, 0.9728580713272095, 0.45340675115585327, -0.8586564064025879, 0.5049462914466858, -0.2099761962890625, 0.4013579487800598, 0.5343412160873413, 0.4735962152481079, -0.5254838466644287, -0.21396085619926453, -0.21092234551906586, -0.6473318934440613, 0.8229641914367676, 0.01182683277875185, 0.4498802125453949, -0.09535299241542816, -0.16631299257278442, 0.40682002902030945, 0.5157337188720703, -0.559956431388855, -0.21708250045776367, -0.5858374238014221, -0.2678958475589752, 0.29958677291870117, -0.34951457381248474, -0.4420941472053528, -0.03917745500802994, 0.5504039525985718, -0.4333115220069885, 0.2696200907230377, -0.14736545085906982, 0.03628204017877579, 0.11491239815950394, 0.5525460839271545, 0.9119617342948914, 0.8671292662620544, -0.30596786737442017, 0.3301789462566376, 0.13946600258350372, -0.32201698422431946, 0.00546601228415966, 0.14687837660312653, 0.14762847125530243, -0.1864354908466339, -0.14178913831710815, 0.6518216729164124, 0.4843212366104126, -0.7926054000854492, 0.5430819988250732, -0.500728964805603, 0.28196007013320923, 0.07193747907876968, 0.48993176221847534, 0.19129864871501923, 0.19042186439037323, 0.45477697253227234, 0.34011900424957275, 0.40666618943214417, -1.0454038381576538, 0.13900204002857208, 0.48719683289527893, -0.44127875566482544, -0.3724386990070343, 0.5148073434829712, 0.9418089389801025, -0.2643830478191376, 0.09725090861320496, -0.1178591325879097, -0.5036768317222595, 0.3351379632949829, 0.2557049095630646, 0.6025693416595459, -0.04911969602108002, 0.29136231541633606, 0.006347041577100754, -0.04484083503484726, 0.3133276402950287, 0.4755723178386688, -0.697160005569458, -0.3412160575389862, -0.15168260037899017, -0.09142713248729706, -0.5061381459236145, -0.07485747337341309, -0.42498087882995605, 0.2503073811531067, -0.016838030889630318, -0.3005514442920685, 0.2747892737388611, -0.14203402400016785, -0.9689828753471375, 0.1937098205089569, -0.10526158660650253, 0.49422284960746765, -0.8216482996940613, 0.6513704657554626, 0.5240825414657593, -0.4193394184112549, -0.4954533576965332, 0.1101793497800827, 0.19362570345401764, -0.677760660648346, 0.8223314881324768, 0.1380484253168106, -0.2561885118484497, -0.5085678696632385, -0.16731639206409454, -0.6046040058135986, 0.9304648637771606, 0.38961261510849, -0.3694702088832855, -0.061323389410972595, 0.09903912991285324, 0.35004162788391113, -0.4858752489089966, 0.6078905463218689, 0.18359853327274323, 0.7289957404136658, 0.24831590056419373, -0.7535396218299866, 0.24254752695560455, -0.46862906217575073, -0.3778075873851776, 0.022688835859298706, -0.6187782287597656, 0.43021050095558167, -0.3339368999004364, -0.2804654836654663, -0.042291026562452316, 0.7413632869720459, -0.032705750316381454, 0.8923458456993103, 1.0353811979293823, 0.15098226070404053, 0.5735989212989807, -0.281856894493103, 0.7004393935203552, -0.2394014596939087, -0.1614760458469391, 0.9678733348846436, -0.2872314453125, 0.41385990381240845, 0.705617368221283, 0.3908582627773285, 0.48217278718948364, 0.5263885855674744, 0.28625524044036865, 0.5690137147903442, -0.41554778814315796, -0.37427815794944763, -0.5833799839019775, -0.7105166912078857, -0.3353513181209564, 0.5707994103431702, 0.4595146179199219, -0.22600248456001282, -0.1201058179140091, 0.3767772912979126, 0.34195607900619507, 0.17943044006824493, 0.39737555384635925, 0.9073647856712341, -0.30314385890960693, -1.0619361400604248, 0.2092110812664032, -0.5087988972663879, 0.45251286029815674, -0.660611629486084, -0.5922965407371521, 0.09123080223798752, -0.367767333984375, -0.19973208010196686, -0.9204868078231812, 0.02281711809337139, -0.06519043445587158, -0.4381975531578064, -0.2983488440513611, 0.29644888639450073, -0.5006583333015442, -0.009689943864941597, -0.22975675761699677, 0.5454336404800415, 0.1441822052001953, -0.016671014949679375, -0.4113004803657532, 0.3324585556983948, 0.12272574752569199, -0.1587889939546585, 0.21762213110923767, 0.31296178698539734, -0.021893560886383057, 0.5925752520561218, 0.9614349007606506, -0.5077779293060303, -0.1974823772907257, -0.058741919696331024, 1.0765268802642822, -0.6062963604927063, -0.7867212295532227, -0.34526386857032776, 0.6238119006156921, -0.3063915967941284, -0.44361719489097595, 0.8097931146621704, 0.6021739840507507, 0.46403518319129944, -0.22420765459537506, 0.7611410021781921, -0.3769376575946808, 0.28957825899124146, -0.624973714351654, 0.43303894996643066, -0.5198513865470886, 0.4297689199447632, -0.011458288878202438, -0.49109959602355957, 0.1885719746351242, 0.16506606340408325, -0.2348283976316452, 0.0929952934384346, 0.6027835011482239, 0.6793408989906311, -0.34187957644462585, 0.38196122646331787, 0.4913793206214905, -0.08698520809412003, 0.7893936634063721, 0.35101959109306335, 0.9268398880958557, 0.08502084016799927, 0.46189436316490173, -0.5228155255317688, -0.4948631227016449, -0.4417700171470642, -0.9119922518730164, -1.1007648706436157, -0.8474493026733398, -0.34419623017311096, 0.10715297609567642, 0.2641898989677429, 1.0058526992797852, 1.2088744640350342, -0.6429789662361145, -0.2017439305782318, 0.332284152507782, 0.12063625454902649, -0.5292451977729797, -0.3291560113430023, 0.33308857679367065, -0.5015172958374023, -0.911316454410553, 0.7945602536201477, 0.2534167170524597, -0.13418006896972656, 0.15714435279369354, 0.15584971010684967, -0.5162860155105591, 0.2534158527851105, 0.750663697719574, 0.4185016453266144, -0.6871190071105957, -0.6128539443016052, -0.017736950889229774, 0.10476801544427872, -0.017357351258397102, 1.0957705974578857, -0.8455084562301636, 0.8369607925415039, 0.5724489688873291, 0.823846697807312, 0.48810285329818726, 0.361225426197052, 0.5893247723579407, -0.5737127661705017, -0.005940103903412819, 0.11315033584833145, 0.19141581654548645, 0.28939932584762573, -0.8855324983596802, 0.3707837760448456, 0.12774206697940826, -0.5173712968826294, -0.8332145810127258, -0.0024251716677099466, -1.7283521890640259, -0.016344700008630753, 0.751349687576294, -0.28680914640426636, -0.2193092256784439, -0.4456764757633209, -0.5779663324356079, 0.15593142807483673, -0.9312538504600525, 1.1437989473342896, 0.469074547290802, -0.7850044369697571, 0.0533171072602272, -0.46521154046058655, 0.7151086330413818, 0.6871373057365417, -1.337010145187378, 0.1314694583415985, 0.4670727849006653, 0.10425764322280884, 0.5961199402809143, 0.39500048756599426, 0.3183792531490326, 0.7846708297729492, -0.39495787024497986, -0.26632145047187805, -0.569844663143158, -0.4788549840450287, 0.49137622117996216, 0.44101661443710327, -0.01782349683344364, -0.5281387567520142 ]
http://arxiv.org/abs/2404.06654v2
http://arxiv.org/pdf/2404.06654v2
RULER: What's the Real Context Size of Your Long-Context Language Models?
2024-04-09T23:41:27
2024-04-11T23:53:59
Cheng-Ping Hsieh, Simeng Sun, Samuel Kriman, Shantanu Acharya, Dima Rekesh, Fei Jia, Yang Zhang, Boris Ginsburg
cs.CL
cs.CL
The needle-in-a-haystack (NIAH) test, which examines the ability to retrieve a piece of information (the "needle") from long distractor texts (the "haystack"), has been widely adopted to evaluate long-context language models (LMs). However, this simple retrieval-based test is indicative of only a superficial form of long-context understanding. To provide a more comprehensive evaluation of long-context LMs, we create a new synthetic benchmark RULER with flexible configurations for customized sequence length and task complexity. RULER expands upon the vanilla NIAH test to encompass variations with diverse types and quantities of needles. Moreover, RULER introduces new task categories multi-hop tracing and aggregation to test behaviors beyond searching from context. We evaluate ten long-context LMs with 13 representative tasks in RULER. Despite achieving nearly perfect accuracy in the vanilla NIAH test, all models exhibit large performance drops as the context length increases. While these models all claim context sizes of 32K tokens or greater, only four models (GPT-4, Command-R, Yi-34B, and Mixtral) can maintain satisfactory performance at the length of 32K. Our analysis of Yi-34B, which supports context length of 200K, reveals large room for improvement as we increase input length and task complexity. We open source RULER to spur comprehensive evaluation of long-context LMs.
[ -0.6314405798912048, -0.9356525540351868, 0.6813541650772095, 0.03816080838441849, -0.3492457866668701, -0.290963351726532, -0.3893343508243561, -0.9113655090332031, 0.36648914217948914, 0.48089250922203064, -0.43970024585723877, -0.09050069749355316, -0.5087060332298279, 0.10013096034526825, -0.6062187552452087, 0.9658485651016235, -0.14461064338684082, -0.20650500059127808, -0.16467180848121643, -0.3150918185710907, -0.6920844912528992, -0.44651541113853455, -0.2816363573074341, -0.016789056360721588, 0.7515562772750854, 0.7347784638404846, 0.6921419501304626, 0.9184277057647705, 0.6137502193450928, 0.21717755496501923, -0.18895837664604187, 0.12248546630144119, -0.2913098633289337, -0.03613899648189545, -0.09004062414169312, 0.07616841793060303, -0.7192310690879822, 0.1324894279241562, 0.7713949680328369, 0.5951838493347168, 0.037039175629615784, 0.6004840135574341, -0.020773975178599358, 0.7184215188026428, -0.8904265761375427, -0.03947299346327782, -0.2580101788043976, -0.23058490455150604, -0.3688989579677582, 0.10745985805988312, -0.38871532678604126, -0.11823475360870361, 0.4960261583328247, -0.35828733444213867, -0.20273496210575104, 0.042710479348897934, 0.8858011364936829, 0.1658618003129959, -0.9176574945449829, -0.29643335938453674, -0.7479940056800842, 1.0027450323104858, -0.6831680536270142, 0.5136390924453735, 0.5075116753578186, 0.7557793259620667, 0.07246820628643036, -0.8858970403671265, -0.4679747223854065, -0.5922499299049377, -0.13723956048488617, -0.09991196542978287, 0.10740112513303757, -0.15458944439888, 0.29521888494491577, 0.340813547372818, -0.31378623843193054, 0.29966703057289124, -0.32303521037101746, 0.09894193708896637, 0.44532260298728943, 0.3607524037361145, 0.11936760693788528, -0.20765061676502228, -0.3592139482498169, -0.029153557494282722, -0.6879444718360901, 0.142912819981575, -0.008887546136975288, 0.20548303425312042, -0.13623853027820587, 0.35423743724823, -0.10111289471387863, 1.0918341875076294, 0.057859376072883606, -0.34882959723472595, -0.1546301394701004, -0.5035014748573303, -0.23506011068820953, -0.14073795080184937, 0.6187525391578674, 0.4562826156616211, 0.04798100143671036, -0.13296350836753845, -0.2656126320362091, -0.3235381543636322, 0.39171040058135986, -1.2196002006530762, 0.029471471905708313, 0.1678958535194397, -0.34174248576164246, 0.1295103281736374, 0.10366293787956238, -0.5940403938293457, -0.28135284781455994, -0.25439247488975525, 0.5343960523605347, -0.5568246841430664, -0.2556118667125702, 0.15983764827251434, -0.12566164135932922, 0.3916514813899994, 0.20588192343711853, -0.9185404181480408, 0.4531470537185669, 1.0022740364074707, 0.9449571371078491, -0.36537081003189087, -0.4163283109664917, -0.6658098697662354, -0.18156564235687256, -0.6221171617507935, 0.4004606008529663, -0.2681194245815277, -0.3073423206806183, -0.19900007545948029, -0.12608198821544647, -0.1461493968963623, -0.6703789830207825, 0.5845996141433716, -0.24921271204948425, 0.35866987705230713, -0.4552721679210663, -0.7194070816040039, -0.21397064626216888, 0.3087095022201538, -0.8097520470619202, 1.0302996635437012, 0.2767817974090576, -0.6795997619628906, 0.6620903015136719, -0.848827064037323, -0.23353992402553558, 0.09673893451690674, -0.19657975435256958, -0.3687147796154022, 0.027026617899537086, -0.036402635276317596, 0.5548440217971802, -0.5022042989730835, 0.32811668515205383, -0.23962804675102234, -0.9424454569816589, 0.3259403705596924, -0.1134101152420044, 0.44178518652915955, -0.012538257986307144, -0.43654686212539673, 0.47837793827056885, -0.6786122918128967, 0.18617166578769684, -0.020679311826825142, -0.19145692884922028, -0.375210165977478, 0.19828355312347412, 0.17686453461647034, 0.0773622915148735, 0.370239794254303, -0.6325479745864868, -0.0013216877123340964, -0.07430748641490936, 0.39472463726997375, 0.6481478214263916, -0.18348069489002228, 0.24788323044776917, -0.5482239723205566, 0.2617306709289551, -0.33239537477493286, 0.21795140206813812, 0.15433700382709503, -0.22594712674617767, -0.8659191727638245, -0.5826944708824158, 0.2812437415122986, 0.29129448533058167, -0.15923051536083221, 0.7822407484054565, -0.4856596291065216, -0.8913226127624512, -0.10792818665504456, -0.3243921995162964, 0.36576637625694275, 0.507536768913269, 0.3788120150566101, -0.5010667443275452, -0.4460752010345459, -1.147786021232605, -0.46594029664993286, -0.056208159774541855, -0.23173092305660248, 0.3214930295944214, 0.7878076434135437, -0.3631134033203125, 1.1187704801559448, -0.3532412350177765, -0.13030874729156494, -0.23270443081855774, -0.24199709296226501, 0.38655969500541687, 0.21496503055095673, 0.7942465543746948, -0.5845245718955994, -0.5472909212112427, 0.05910811945796013, -0.20832911133766174, 0.05881323665380478, 0.056835733354091644, -0.015305137261748314, 0.08354029059410095, 0.2580825984477997, -0.27526384592056274, 0.3923235833644867, 0.5907261371612549, -0.7799773812294006, 1.2995638847351074, -0.08698637038469315, -0.01119423657655716, -0.8645232319831848, 0.3700668513774872, -0.06853917986154556, -0.3060738742351532, -0.5447512865066528, 0.35030657052993774, 0.747058629989624, 0.3911972939968109, -0.3614722490310669, 0.8547293543815613, -0.3364024758338928, -0.19989927113056183, -0.1518619954586029, 0.10965465009212494, -0.09886099398136139, 0.344563752412796, -0.1415097564458847, 1.0906895399093628, 0.22482185065746307, -0.8838072419166565, 0.08450637757778168, -0.05945296213030815, -0.8201649785041809, 0.7560679316520691, -0.43152809143066406, 0.10628975182771683, 0.1940792053937912, 0.12238183617591858, -0.5044353604316711, -0.2991988956928253, -0.3429028391838074, -0.24094900488853455, 0.033435773104429245, -0.0037258113734424114, -0.4731503427028656, -0.24938198924064636, -0.4600512981414795, 0.1872750073671341, 0.5727457404136658, -0.7306258082389832, 0.27097776532173157, 0.21916250884532928, 0.27326643466949463, -0.6181213855743408, -0.2556234896183014, 0.1274266242980957, -0.6613174080848694, -0.5024684071540833, 0.3263334631919861, -0.3621256351470947, -0.3850085437297821, -0.3463578224182129, -0.46593746542930603, -0.30242809653282166, 0.48341354727745056, 0.10618196427822113, 0.06689721345901489, -0.29531049728393555, 0.18275949358940125, -0.41012847423553467, 0.08169512450695038, 0.26003092527389526, -0.05811746418476105, 0.5515201091766357, -0.40034937858581543, -0.1727944016456604, -0.41377073526382446, 0.1743009388446808, 0.7007434964179993, -0.2517041862010956, 0.729037880897522, 0.5138871669769287, -0.24368484318256378, -0.008740881457924843, -0.3900783658027649, -0.16801375150680542, -0.49929580092430115, 0.6656587719917297, -0.5235975980758667, -0.9364146590232849, 0.5274010300636292, 0.17984376847743988, 0.3766442537307739, 0.5123723149299622, 0.3275836706161499, 0.2021264284849167, 0.9313182234764099, 0.7094982266426086, -0.1577967405319214, 0.5981656908988953, -0.15997067093849182, 0.12868744134902954, -1.0394269227981567, -0.02442689798772335, -0.5315386056900024, -0.36895081400871277, -0.4608669579029083, -0.28988558053970337, 0.4931395947933197, 0.22166194021701813, -0.669070839881897, 0.446624755859375, -0.31121984124183655, 0.5650739669799805, 0.4635958969593048, -0.2185891568660736, 0.14338108897209167, -0.4657368063926697, -0.08272199332714081, -0.17472143471240997, -0.2744452655315399, -0.6690042018890381, 0.8665059804916382, 0.37258633971214294, 0.3698405921459198, 0.4387311339378357, 0.5069112181663513, -0.028992997482419014, 0.3010830581188202, -1.2290735244750977, 0.6643744111061096, -0.14361673593521118, -0.5685731768608093, -0.40814292430877686, -0.3288211226463318, -0.8872235417366028, 0.2833065688610077, 0.1207144558429718, -0.9316781759262085, -0.29120635986328125, 0.014376786537468433, -0.2734614908695221, 0.48018863797187805, -0.5407617092132568, 1.0865675210952759, -0.2952635586261749, -0.2780992388725281, 0.007212601602077484, -0.37627434730529785, 0.3206957280635834, -0.22168207168579102, 0.02407512068748474, -0.31845831871032715, -0.27939271926879883, 0.9545214772224426, -0.5931585431098938, 0.4842393696308136, 0.02084360085427761, -0.1557038128376007, 0.11490526795387268, 0.36721178889274597, 0.4145069420337677, -0.011134762316942215, -0.10579458624124527, -0.13116154074668884, 0.41146472096443176, -0.4011839032173157, -0.475254625082016, 0.6573089957237244, -0.603732705116272, -0.482288658618927, -0.35211411118507385, -0.22495214641094208, -0.21039026975631714, 0.32824477553367615, 0.17742906510829926, 0.5467716455459595, -0.5003633499145508, 0.5500255823135376, 0.26506996154785156, 0.08263193070888519, 0.33941975235939026, 0.4803274869918823, -0.37969985604286194, -0.025236105546355247, 0.5311955809593201, 0.15726953744888306, 0.3547343909740448, 0.29297149181365967, 0.565132737159729, -0.2954404652118683, -0.47640901803970337, -0.8136520385742188, 0.007185606751590967, -0.3883667290210724, -0.03797982260584831, -0.2795296311378479, -0.11228589713573456, -0.1083926185965538, -0.11251598596572876, -0.4943365454673767, -0.3049580752849579, -0.08653485774993896, -0.018652405589818954, 0.4656625986099243, 0.9774124026298523, 0.1865677684545517, 0.45244500041007996, -0.6376459002494812, 0.05177487060427666, 0.29982614517211914, 0.6252123117446899, 0.14876724779605865, -0.6701000928878784, -0.49879300594329834, -0.08030343055725098, -0.10355741530656815, -0.8671139478683472, 0.29102423787117004, 0.1268833428621292, 0.11733434349298477, 0.5321067571640015, -0.08477387577295303, 0.9641258120536804, -0.6107936501502991, 1.0009493827819824, 0.07220132648944855, -1.0021485090255737, -0.16807852685451508, -0.36993736028671265, 0.47288990020751953, 0.32219576835632324, 0.13533207774162292, -1.1484750509262085, -0.12349914759397507, -0.29368236660957336, -0.8145101070404053, 0.4820803701877594, -0.007046819198876619, -0.09615955501794815, -0.12340525537729263, 0.39319196343421936, 0.35886749625205994, -0.18351688981056213, -0.4796828329563141, -0.1222216933965683, 0.05355112999677658, -0.0020817872136831284, -0.2808433175086975, -0.393903523683548, 0.031176172196865082, -0.3012329041957855, 0.3460525870323181, -0.16315555572509766, 0.045157499611377716, 0.10926289856433868, -0.09381794184446335, 0.0494171604514122, 0.47944000363349915, 0.4951322078704834, 1.1346931457519531, -0.5296658277511597, 0.1304270327091217, 0.3726881146430969, -0.614895224571228, -0.13388195633888245, -0.19929534196853638, -0.06970728933811188, -0.13863234221935272, 0.46587085723876953, 0.7698264122009277, 0.17467281222343445, -0.8110834956169128, 0.4484262764453888, -0.15031495690345764, -0.10859665274620056, -0.7358896136283875, 0.07374929636716843, 0.2747875452041626, -0.1412019431591034, 0.3174310326576233, -0.56031334400177, 0.2243148535490036, -0.553654670715332, 0.2916887402534485, 0.47298383712768555, -0.5928651690483093, -0.22659644484519958, 0.35585567355155945, 0.00633999751880765, -0.39235103130340576, 0.5348146557807922, -0.1533290296792984, -0.34965747594833374, 0.9194362759590149, 0.5104078650474548, 0.6050848364830017, 0.06825170665979385, -0.005418841261416674, 0.5603551864624023, 0.1353272646665573, -0.16120438277721405, 0.2059512585401535, -0.06841002404689789, -0.22883100807666779, -0.5923442840576172, -0.4873776435852051, -0.581917941570282, 0.4458586275577545, -0.8974897861480713, 0.20462174713611603, -0.5084109902381897, -0.21781578660011292, 0.014546627178788185, 0.5239103436470032, -0.5890328288078308, 0.159231498837471, -0.39955949783325195, 1.1454399824142456, -0.19713939726352692, 0.8483831882476807, 0.44500845670700073, 0.11706122756004333, -0.8040055632591248, 0.02390405163168907, 0.01791977509856224, -0.4164203107357025, 0.30504533648490906, 0.7748796343803406, -0.1673852652311325, -0.4031544625759125, -0.4187473952770233, -0.9987565279006958, 1.1220616102218628, -0.01720554195344448, -0.5902103781700134, 0.09804307669401169, -0.07547065615653992, 0.5530778169631958, -0.15646320581436157, 0.4529963731765747, 0.8474559187889099, 0.48936620354652405, -0.29480841755867004, -1.5463886260986328, -0.0042200833559036255, 0.015037250705063343, -0.28840377926826477, 0.803168773651123, -0.6418798565864563, 1.1707801818847656, -0.09276802837848663, -0.28036147356033325, 0.7021424770355225, 0.4209439754486084, 0.20094487071037292, 0.09518805146217346, 0.6342396140098572, 0.29595428705215454, 0.6303830146789551, 0.06326489895582199, 1.0025027990341187, -0.11883864551782608, 0.215428426861763, 1.3589054346084595, -0.37321236729621887, 1.1198656558990479, 0.47949084639549255, 0.07429180294275284, 0.8730911016464233, 0.662453293800354, 0.32269561290740967, 0.06103918328881264, 0.43737801909446716, -0.05446852743625641, -0.13588397204875946, 0.02311735413968563, -0.3023127615451813, 0.5714579224586487, 0.3186262249946594, -0.029223889112472534, -0.05191069468855858, -0.40685760974884033, 0.2742061913013458, 0.22961696982383728, -0.18368418514728546, 0.549596905708313, 0.01348645519465208, -0.7739278078079224, 0.7397390604019165, 0.3583475947380066, 0.8655087351799011, -0.8076484799385071, 0.19705255329608917, -0.251400887966156, 0.30472856760025024, 0.20103082060813904, -0.6865038275718689, 0.17543959617614746, 0.06307171285152435, 0.13491535186767578, -0.030504636466503143, 0.40485483407974243, -0.1175047904253006, -0.06251257658004761, 0.4049782156944275, 0.5749551653862, 0.25358229875564575, -0.24686041474342346, -0.326202392578125, -0.3027794063091278, -0.31771883368492126, -0.2522610127925873, 0.47667086124420166, 0.19940237700939178, -0.47818589210510254, 0.6520288586616516, 0.4156170189380646, -0.04120100289583206, -0.08803737163543701, -0.2317558079957962, 0.46204379200935364, -1.1661874055862427, -0.5949177145957947, -0.9736443161964417, 0.12143349647521973, -0.3057578206062317, -0.5655561089515686, 0.8980762362480164, 0.7533056735992432, 0.8744176626205444, -0.10244401544332504, 0.24426507949829102, -0.21203888952732086, 0.8058318495750427, -0.26379886269569397, 0.8207169771194458, -0.8161482810974121, -0.22236368060112, -0.04997417330741882, -0.7644469141960144, -0.020481372252106667, 0.4914875328540802, -0.22317132353782654, -0.03293105959892273, 0.7620174884796143, 0.35145533084869385, -0.2492586374282837, -0.19948402047157288, 0.34895485639572144, 0.02242039144039154, 0.4261009395122528, 0.8219934701919556, 0.9112465381622314, -0.17709048092365265, 0.28695181012153625, -0.3132150173187256, -0.1392364650964737, -0.47185826301574707, -0.9006194472312927, -0.9651579856872559, -0.689098060131073, 0.1166696697473526, -0.10836436599493027, -0.1674981713294983, 0.8169069290161133, 0.9207331538200378, -0.41244202852249146, -0.7276700735092163, 0.3872694969177246, -0.07086049020290375, -0.5184161067008972, -0.21599708497524261, 0.5851678252220154, 0.08481885492801666, -0.6183096170425415, 0.46223384141921997, 0.10776979476213455, 0.0367005318403244, -0.34355300664901733, -0.26985231041908264, 0.03910081833600998, 0.03539716452360153, 0.6273121237754822, 0.24799205362796783, -0.7243677973747253, -0.7781007885932922, 0.22681304812431335, -0.19735360145568848, 0.05983717367053032, 0.6835238933563232, -0.7348310947418213, 0.3106694221496582, 0.48695990443229675, 0.24467389285564423, 0.38746416568756104, -0.22489304840564728, 0.33835798501968384, -0.6554199457168579, 0.16683617234230042, 0.29633665084838867, 0.37126126885414124, 0.12403926998376846, -0.00633277976885438, 0.5475621223449707, -0.3557460606098175, -0.6374973058700562, -0.9209799766540527, 0.5399381518363953, -0.8802881836891174, -0.4402305781841278, 0.9959481358528137, 0.09298815578222275, -0.35094377398490906, 0.0662616714835167, -0.25545796751976013, 0.05495314300060272, -0.11936115473508835, 0.8013378977775574, 0.7227826118469238, 0.0015294823097065091, 0.17252369225025177, -0.7672562599182129, 0.7112751603126526, 0.6525658965110779, -0.7117224335670471, 0.23519179224967957, 0.5279900431632996, 0.5239360928535461, 0.23077397048473358, 0.6101802587509155, -0.01969435252249241, 0.4070059359073639, -0.34995490312576294, -0.14662884175777435, 0.00544377788901329, -0.3827119767665863, -0.12306710332632065, -0.20283257961273193, 0.3598046600818634, -0.15616916120052338 ]
http://arxiv.org/abs/2404.08690v1
http://arxiv.org/pdf/2404.08690v1
Towards Building a Robust Toxicity Predictor
2024-04-09T22:56:05
2024-04-09T22:56:05
Dmitriy Bespalov, Sourav Bhabesh, Yi Xiang, Liutong Zhou, Yanjun Qi
cs.CL
cs.CL, cs.AI, cs.CR, cs.LG
Recent NLP literature pays little attention to the robustness of toxicity language predictors, while these systems are most likely to be used in adversarial contexts. This paper presents a novel adversarial attack, \texttt{ToxicTrap}, introducing small word-level perturbations to fool SOTA text classifiers to predict toxic text samples as benign. ToxicTrap exploits greedy based search strategies to enable fast and effective generation of toxic adversarial examples. Two novel goal function designs allow ToxicTrap to identify weaknesses in both multiclass and multilabel toxic language detectors. Our empirical results show that SOTA toxicity text classifiers are indeed vulnerable to the proposed attacks, attaining over 98\% attack success rates in multilabel cases. We also show how a vanilla adversarial training and its improved version can help increase robustness of a toxicity detector even against unseen attacks.
[ -0.08791209757328033, -0.6467933058738708, 0.4318767786026001, -0.06363718211650848, 0.061965666711330414, -0.12355886399745941, 0.12665584683418274, -0.2581293284893036, -0.015307873487472534, 0.4977215826511383, -0.44922950863838196, -0.4559761583805084, -0.9016261100769043, -0.0758136585354805, -0.18619637191295624, 1.453302264213562, 0.6828510761260986, -0.005352261941879988, 0.3077562749385834, -0.3784836232662201, -0.2952360212802887, -0.6934031844139099, -1.0848175287246704, -0.02260393649339676, 1.0694570541381836, 0.12902501225471497, 1.1440601348876953, 0.3006502091884613, 0.2306627780199051, 0.3102182447910309, -0.2397962361574173, -0.23384937644004822, -0.5431897044181824, 0.3622179329395294, -0.12379369139671326, -0.642423152923584, -0.291047066450119, -0.2557682991027832, 0.076331228017807, -0.0750335231423378, -0.08145737648010254, -0.17578154802322388, 0.044026829302310944, 0.43677574396133423, -0.9367501139640808, 0.031830284744501114, -1.1149388551712036, 0.1229136660695076, -0.5403324961662292, -0.2089785635471344, -0.8439576625823975, -0.10571357607841492, -0.017794331535696983, -0.32603901624679565, -0.32332608103752136, -0.31327274441719055, 0.8172057271003723, 0.5513492226600647, -0.4958672821521759, -0.5103527903556824, -0.37012073397636414, 0.8437424898147583, -0.6568382978439331, -0.050934869796037674, 0.14406350255012512, 0.45803630352020264, -0.42632684111595154, -0.7848535776138306, -0.2395883947610855, -0.2930026054382324, -0.07387521862983704, 0.1301349699497223, -0.3209766149520874, -0.03872043266892433, 0.048602569848299026, -0.039513684809207916, -0.5953009724617004, 0.04870694875717163, 0.034872107207775116, -0.35996386408805847, 0.4349401295185089, 0.20387500524520874, 0.6611760854721069, -0.1418902575969696, -0.7152060270309448, -0.11622104793787003, -0.6594426035881042, -0.2821129858493805, 0.44842228293418884, 0.5442482829093933, 0.30351704359054565, 0.22815348207950592, 0.34122782945632935, 0.581032931804657, -0.37958863377571106, 0.17821452021598816, -0.12920793890953064, -0.12676994502544403, -0.00010228584869764745, 0.04166574776172638, 1.2481250762939453, 0.09698698669672012, 0.09699343144893646, -0.08066225051879883, -0.11478288471698761, 0.40138307213783264, 0.583475649356842, -0.8809168934822083, -0.5935544371604919, 0.20835250616073608, -0.07090195268392563, -1.0729535818099976, -0.4259277880191803, -1.1011794805526733, -0.7610148191452026, 0.8284068703651428, 0.6576577425003052, -0.49125683307647705, 0.09345180541276932, 0.1327429860830307, -0.11113078892230988, -0.32575318217277527, -0.1535610556602478, -0.7733995318412781, 0.12415333092212677, 0.28784048557281494, 0.6801762580871582, 0.06737049669027328, -0.2771945297718048, -0.9851862788200378, 0.1130942776799202, -0.049871306866407394, 0.8705866932868958, -0.5223338007926941, -0.2218462973833084, 0.022663865238428116, -0.35407721996307373, 0.20652012526988983, -0.3179205060005188, 0.9393981695175171, -0.8347658514976501, 0.23928435146808624, -0.20303218066692352, 0.06359615921974182, -0.19914132356643677, 0.39676788449287415, -0.7699377536773682, 0.7018215656280518, 0.1682126373052597, -1.3771023750305176, 0.3545808494091034, -0.6058951020240784, -0.4875272810459137, -0.0391281396150589, 0.3056650757789612, -0.8731692433357239, -0.26030322909355164, -0.02447948046028614, 0.373905211687088, 0.18113647401332855, 0.05109865218400955, -0.7313045263290405, -0.2429323047399521, 0.3646683990955353, -0.5181328058242798, 1.1949222087860107, 0.4432970881462097, -0.3945232629776001, 0.39042025804519653, -0.6877959966659546, 0.031256094574928284, 0.30567988753318787, -0.4954880475997925, -0.7395350337028503, 0.20452173054218292, 0.2616615891456604, 0.41663119196891785, -0.025386428460478783, -0.38873323798179626, -0.1682700663805008, -0.6015310883522034, 0.46530118584632874, 0.9170509576797485, -0.09058188647031784, 0.21041028201580048, -0.24336650967597961, 0.5475863218307495, -0.2957369387149811, 0.29246243834495544, 0.13502414524555206, -0.41543030738830566, -0.37110641598701477, -0.05423750355839729, 0.31911665201187134, 0.43080586194992065, -1.057636022567749, 0.24383020401000977, -0.020751671865582466, -0.7943612933158875, 0.020974403247237206, -0.14026077091693878, 0.6768569350242615, 0.3185521960258484, 0.4707958400249481, -0.02066614478826523, -0.39471474289894104, -0.41553235054016113, -0.7026436924934387, -0.32301560044288635, -0.1840083748102188, 0.20835237205028534, 0.2756687104701996, -0.5132681131362915, 0.33472952246665955, -0.7742174863815308, -0.5511437654495239, -0.1911737322807312, -0.1448184698820114, -0.07790050655603409, 0.14312253892421722, 0.9511736035346985, -0.7394866347312927, -0.789229691028595, -0.17488934099674225, -0.45292308926582336, -0.08398781716823578, 0.006384841166436672, -0.16067837178707123, -0.047567255795001984, 0.48620232939720154, -0.23138770461082458, 0.008437586948275566, 0.6516647934913635, -0.5242863297462463, 0.39777660369873047, 0.014413843862712383, -0.3447428345680237, -0.8572998642921448, -0.001371630933135748, -0.033585891127586365, -0.1580720692873001, -0.966728925704956, 0.5259228348731995, -0.053830306977033615, -0.0438554622232914, -0.9271987676620483, 0.41590872406959534, 0.0934683084487915, 0.5188069939613342, -0.11397191882133484, -0.05891459435224533, -0.13636727631092072, 0.31962087750434875, -0.21939891576766968, 0.5397956371307373, 0.5224748849868774, -0.6450662612915039, 0.07226180285215378, 0.30074310302734375, 0.33533743023872375, 0.4600820243358612, -0.5353633165359497, 0.054913390427827835, 0.012000400573015213, 0.3446594178676605, -0.7819368839263916, -0.01382231991738081, 0.27268439531326294, -0.518856942653656, 0.5639750361442566, -0.14385196566581726, -0.435435026884079, -0.1950187087059021, -0.5916875600814819, 0.2148924022912979, 0.08287611603736877, -0.5128372311592102, 0.6149742603302002, 0.5746691226959229, -0.10927337408065796, -0.8238793015480042, -0.8438920378684998, 0.27524977922439575, -0.6464162468910217, -0.4583580493927002, 0.04396859556436539, -0.2161022126674652, 0.08765363693237305, -0.22569045424461365, -0.061698831617832184, -0.1423039585351944, 0.5447621941566467, 0.01777191087603569, 0.10492680966854095, -0.04509502276778221, -0.07120555639266968, -0.23824752867221832, -0.3673371970653534, 0.4989256262779236, -0.11284971982240677, 0.5892295241355896, -0.24538277089595795, 0.10999339073896408, 0.007785248104482889, 0.13433873653411865, 0.7475836277008057, -0.03470117971301079, 0.7775948643684387, 0.6258543729782104, -0.2765944302082062, -0.39740392565727234, 0.0261074285954237, -0.13097114861011505, -0.5563480257987976, 0.7300853729248047, -0.20539407432079315, -0.4055609703063965, 0.37048593163490295, 0.20713722705841064, -0.15137870609760284, 0.5922650694847107, 0.5046068429946899, 0.2789635956287384, 1.347118854522705, 0.39471277594566345, -0.23321759700775146, 0.3913905620574951, -0.1846892386674881, 0.014933579601347446, -0.4785127341747284, -0.21831682324409485, -0.6279211044311523, -0.20306545495986938, -0.724565863609314, -0.028963666409254074, 0.4863833785057068, -0.4058135151863098, -0.6095358729362488, 0.5457862615585327, -0.6145678162574768, 0.4587608575820923, 0.5174295902252197, 0.24896159768104553, 0.06587577611207962, -0.20139670372009277, -0.07897288352251053, -0.26763036847114563, -0.9191726446151733, -0.4500220715999603, 1.260031819343567, 0.5348048806190491, 0.7432639598846436, 0.30392593145370483, 0.6181979775428772, 0.058817364275455475, 0.741373598575592, -0.7436602711677551, 0.4785009026527405, -0.7312206625938416, -0.940100908279419, -0.16027940809726715, -0.36770716309547424, -0.7635195851325989, 0.20504818856716156, -0.3171226978302002, -0.5385714769363403, -0.16042108833789825, 0.10748285800218582, -0.4698326587677002, 0.5063137412071228, -0.7639448642730713, 1.0424082279205322, -0.3028366267681122, -0.4103984236717224, 0.2500864863395691, -0.8126062750816345, 0.5018352270126343, -0.2566860020160675, 0.3121928572654724, 0.29446959495544434, 0.033718325197696686, 0.4230523109436035, -0.3336520195007324, 0.809348464012146, -0.22321787476539612, -0.1580681949853897, 0.13888460397720337, 0.48250433802604675, 0.4785415232181549, 0.12609195709228516, -0.2556878626346588, 0.04598230868577957, 0.007619898766279221, -0.5127781629562378, -0.31607455015182495, 0.7120994925498962, -0.3730568587779999, -0.3311793804168701, -0.8260015845298767, -0.3768772482872009, -0.3308979868888855, 0.5197938084602356, 0.5822526216506958, 0.07563384622335434, -0.17951656877994537, 0.00731540285050869, 0.6734135746955872, -0.6154594421386719, 0.23805947601795197, 0.37877729535102844, 0.17006155848503113, -0.3289596140384674, 1.2386553287506104, -0.22535619139671326, 0.577997624874115, 0.44585293531417847, 0.7247272729873657, -0.4052838385105133, -0.5033290386199951, -0.3710448443889618, -0.23516462743282318, -0.6740212440490723, -0.6527002453804016, -0.7758136987686157, -0.3516901135444641, -0.08032320439815521, -0.0800023302435875, -0.46340715885162354, 0.073676198720932, -0.3244984745979309, 0.011419190093874931, 0.13736556470394135, 0.7866892218589783, 0.048637937754392624, 0.3056797683238983, -0.7736740708351135, 0.135676771402359, 0.5192334055900574, 0.20339378714561462, -0.0794132798910141, -0.22222089767456055, 0.10673833638429642, 0.15234880149364471, -0.7126350402832031, -1.1632970571517944, 0.6625359654426575, 0.2711491584777832, 0.299418568611145, 0.6149142384529114, 0.5428552031517029, 0.12367844581604004, -0.44394925236701965, 0.6102978587150574, 0.1903034895658493, -0.7417939901351929, 0.7291894555091858, -0.5683723092079163, 0.05279182642698288, 0.6091909408569336, 0.507034182548523, -0.22571326792240143, -0.9796556234359741, -0.8014386296272278, -0.784319281578064, 0.650294303894043, 0.30271559953689575, 0.22848953306674957, -0.07016028463840485, 0.031940676271915436, 0.08368618041276932, -0.10879595577716827, -1.1450862884521484, -0.5900005102157593, -0.3864891529083252, -0.21992817521095276, -0.1437782496213913, -0.5273867249488831, -0.17398563027381897, 0.337141215801239, 0.6618746519088745, -0.08137694001197815, -0.12394127249717712, -0.16611726582050323, 0.16240878403186798, 0.13589264452457428, 0.46827495098114014, 0.3803263008594513, -0.28817617893218994, -0.2486555278301239, 0.5924180150032043, 0.3074169158935547, -0.6280747056007385, 0.17391622066497803, 0.0845944806933403, -0.44150614738464355, -0.2276277244091034, 0.2603519856929779, 0.3011726140975952, 0.1794852614402771, -0.6593672633171082, 0.714634895324707, -0.309749960899353, 0.02528318576514721, -0.022520925849676132, 0.13603997230529785, -0.02171139046549797, 0.028650106862187386, -0.07554597407579422, 0.5961487889289856, 0.5462265610694885, -0.6356697082519531, 0.47839346528053284, 0.7137786746025085, -0.9357566833496094, -0.3659067749977112, 1.1295498609542847, 0.0366896390914917, -0.01938978210091591, -0.11163202673196793, -0.34904754161834717, -1.14557945728302, 0.4061497151851654, 0.6336899399757385, 0.6830571293830872, -0.5014297366142273, 0.38834965229034424, 0.1909974366426468, 0.31726935505867004, 0.12628646194934845, 0.2106311172246933, 0.38880258798599243, -0.5848727226257324, -0.012010459788143635, -0.5874350666999817, -0.11437410861253738, 0.37918102741241455, -0.3535444736480713, 0.3520057201385498, -0.6212095022201538, -0.1819973886013031, 0.13890936970710754, -0.04319990426301956, -0.04865648224949837, 0.39499738812446594, -0.05459386482834816, 0.5220866799354553, -0.999438464641571, 0.5347625017166138, 0.7263584136962891, -0.37420326471328735, -0.6355823278427124, 0.23267926275730133, 0.23178382217884064, -0.6541916728019714, 0.6043897867202759, 0.08638403564691544, -0.14276769757270813, -0.2850087583065033, -0.28959232568740845, -0.5517616271972656, 0.44201532006263733, 0.44684022665023804, 0.022679023444652557, -0.09330153465270996, -0.1490926593542099, 0.7990129590034485, 0.25015491247177124, 0.26354289054870605, 0.3952801525592804, 0.4343050718307495, 0.11625151336193085, -0.2885367274284363, 0.46287575364112854, -0.26843899488449097, -0.10258021950721741, 0.2667301297187805, -0.7176392674446106, 0.7930182814598083, -0.27687498927116394, -0.4338645339012146, 0.013973407447338104, 0.3838184177875519, 0.02537626400589943, 0.4657624363899231, 0.6032998561859131, 0.5329852104187012, 0.2699414789676666, 0.017181722447276115, 1.0930769443511963, -0.00010582025424810126, 0.22692063450813293, 1.0859708786010742, 0.08988980203866959, 0.8645564317703247, 0.23778416216373444, -0.12565450370311737, 0.47619178891181946, 0.3796217739582062, -0.030800629407167435, 0.8374893069267273, 0.49623432755470276, -0.2975154221057892, -0.05144328251481056, -0.10470043122768402, -0.31168678402900696, 0.44368505477905273, 0.4681842029094696, -0.09989310801029205, -0.2931685745716095, -0.001372099737636745, 0.4222654700279236, 0.3782438635826111, -0.07313418388366699, 0.6052630543708801, -0.054748859256505966, -0.38082295656204224, 0.661717414855957, -0.1255699098110199, 1.0636485815048218, -0.6225926876068115, 0.29351258277893066, 0.13260972499847412, 0.5786450505256653, -0.31822896003723145, -0.6940686106681824, 0.6324639916419983, -0.2787300646305084, 0.39195841550827026, -0.019924229010939598, 0.9317541122436523, -0.1843045949935913, -0.20860734581947327, 0.5733104348182678, -0.12350917607545853, -0.2718220353126526, -0.3738107681274414, -0.693517804145813, -0.13249452412128448, 0.03871802240610123, -0.199443981051445, 0.5779421925544739, 0.5556508302688599, 0.22098304331302643, 0.9413747191429138, 0.5567734837532043, 0.3600675165653229, -0.005465241614729166, -0.1679804027080536, 1.0191348791122437, -0.3220524489879608, -0.4635138511657715, -0.8839884400367737, 0.3963046371936798, 0.1391942948102951, -0.208436980843544, 0.7254771590232849, 0.3405154049396515, 0.6929288506507874, -0.017468230798840523, 0.6342117190361023, 0.058896586298942566, 0.3279968798160553, -0.38157206773757935, 1.2882832288742065, -0.6885953545570374, 0.5024735331535339, -0.5220690369606018, -0.4857800304889679, -0.7245675921440125, 0.46994131803512573, 0.012440033257007599, 0.0780036449432373, 0.8605524897575378, 0.6986674666404724, 0.21006843447685242, -0.15898355841636658, 0.22755400836467743, 0.5606978535652161, 0.6798645853996277, 0.8807070255279541, 0.8044276833534241, -0.7232415080070496, 1.1562883853912354, -0.32885855436325073, -0.31003642082214355, -0.1357954889535904, -0.9281985759735107, -1.0973926782608032, -0.3512738049030304, -0.1522524654865265, -0.9109389781951904, 0.14485374093055725, 0.06064829230308533, 0.42393046617507935, -0.9684766530990601, 0.3564763367176056, -0.25115934014320374, 0.18017546832561493, 0.016675962135195732, -0.3030719459056854, 0.25477334856987, -0.3370237350463867, -0.628557562828064, 0.23973076045513153, 0.20575159788131714, -0.052933353930711746, -0.3429951071739197, -0.0100913280621171, -0.11931613832712173, 0.040161292999982834, 0.5515100955963135, 0.2815558612346649, -0.42515504360198975, -0.39988309144973755, -0.12585847079753876, -0.4289330542087555, -0.3196735978126526, 0.41326791048049927, -0.48047173023223877, 0.43399447202682495, 0.3507208526134491, 0.5552858114242554, 0.1267704963684082, -0.3593204617500305, 0.43870797753334045, -0.7450896501541138, 0.05700446292757988, 0.7543399333953857, 0.11089950799942017, 0.14247570931911469, -0.7027481198310852, 0.4029712677001953, -0.057347167283296585, -0.43548354506492615, -0.9497050642967224, 0.4630535840988159, -0.859569787979126, -0.5457802414894104, 1.2714264392852783, -0.22108232975006104, -0.24581927061080933, -0.2227220982313156, -0.31434646248817444, 0.017124826088547707, -0.4259207248687744, 1.0283547639846802, 0.3148775100708008, 0.31855615973472595, 0.4774516224861145, -0.5286642909049988, 0.7598509788513184, 0.37529876828193665, -0.754920244216919, 0.04262341186404228, 0.18080107867717743, 0.375501424074173, 0.48069435358047485, 0.5071427822113037, -0.2688220143318176, 0.18885235488414764, 0.30866581201553345, -0.43884941935539246, 0.0658666342496872, -0.32308751344680786, 0.006964000873267651, 0.41071486473083496, 0.11457668244838715, -0.14334456622600555 ]
http://arxiv.org/abs/2404.06644v1
http://arxiv.org/pdf/2404.06644v1
Khayyam Challenge (PersianMMLU): Is Your LLM Truly Wise to The Persian Language?
2024-04-09T22:38:13
2024-04-09T22:38:13
Omid Ghahroodi, Marzia Nouri, Mohammad Vali Sanian, Alireza Sahebi, Doratossadat Dastgheib, Ehsaneddin Asgari, Mahdieh Soleymani Baghshah, Mohammad Hossein Rohban
cs.CL
cs.CL, cs.AI
Evaluating Large Language Models (LLMs) is challenging due to their generative nature, necessitating precise evaluation methodologies. Additionally, non-English LLM evaluation lags behind English, resulting in the absence or weakness of LLMs for many languages. In response to this necessity, we introduce Khayyam Challenge (also known as PersianMMLU), a meticulously curated collection comprising 20,192 four-choice questions sourced from 38 diverse tasks extracted from Persian examinations, spanning a wide spectrum of subjects, complexities, and ages. The primary objective of the Khayyam Challenge is to facilitate the rigorous evaluation of LLMs that support the Persian language. Distinctive features of the Khayyam Challenge are (i) its comprehensive coverage of various topics, including literary comprehension, mathematics, sciences, logic, intelligence testing, etc., aimed at assessing different facets of LLMs such as language comprehension, reasoning, and information retrieval across various educational stages, from lower primary school to upper secondary school (ii) its inclusion of rich metadata such as human response rates, difficulty levels, and descriptive answers (iii) its utilization of new data to avoid data contamination issues prevalent in existing frameworks (iv) its use of original, non-translated data tailored for Persian speakers, ensuring the framework is free from translation challenges and errors while encompassing cultural nuances (v) its inherent scalability for future data updates and evaluations without requiring special human effort. Previous works lacked an evaluation framework that combined all of these features into a single comprehensive benchmark. Furthermore, we evaluate a wide range of existing LLMs that support the Persian language, with statistical analyses and interpretations of their outputs.
[ -0.07341953366994858, -0.5581802725791931, 0.633150041103363, 0.34988102316856384, -0.35725104808807373, 0.5434455275535583, -0.5546194314956665, -0.3578334450721741, 0.014589701779186726, 0.21138978004455566, -0.5971015095710754, -0.3665318787097931, -0.42841771245002747, 0.28335049748420715, -0.24631723761558533, 0.7254138588905334, -0.22261419892311096, 0.042743388563394547, -0.22478874027729034, -0.23377452790737152, -0.5530360341072083, -0.47470253705978394, -0.5464236736297607, -0.4027577340602875, 0.538775622844696, 0.8210267424583435, 0.6906223893165588, 0.5080989003181458, 0.5540739893913269, 0.26363056898117065, -0.15970776975154877, 0.1843474805355072, -0.415501207113266, 0.23155884444713593, -0.3514556586742401, -0.42017680406570435, -0.12407244741916656, 0.024016430601477623, 0.8488517999649048, 0.8309285640716553, -0.37931832671165466, 0.5804175734519958, 0.0928267166018486, 1.0769574642181396, -0.6216821074485779, -0.05168851092457771, -0.44247469305992126, 0.13593271374702454, -0.7259402275085449, -0.03740239888429642, -0.14532549679279327, -0.624963641166687, -0.1506742238998413, -0.3171110153198242, -0.35293009877204895, 0.08450714498758316, 0.5544689297676086, 0.06829558312892914, -0.6921337246894836, -0.3489304184913635, -0.7796498537063599, 0.8724200129508972, -0.25508835911750793, 0.45135241746902466, 0.23678171634674072, 0.7203996777534485, -0.24015997350215912, -0.2899087369441986, -0.5707155466079712, -0.6540905833244324, 0.2921852767467499, 0.27278581261634827, -0.2728860080242157, -0.3394109010696411, 0.09825274348258972, 0.7660203576087952, -0.8631142973899841, 0.15699021518230438, -0.5917588472366333, -0.1801477074623108, 0.7391852140426636, 0.5235483050346375, 0.3164624273777008, -0.3514159619808197, -0.15349863469600677, -0.24416255950927734, -0.6392341256141663, 0.20268088579177856, 0.6397454738616943, 0.044681135565042496, -0.021152382716536522, 0.6247017979621887, -0.4343104362487793, 0.3820684850215912, 0.08737100660800934, -0.4871251583099365, 0.16253423690795898, -0.3082394301891327, 0.02728368528187275, 0.28966599702835083, 0.7231161594390869, 0.06591641157865524, 0.17674638330936432, 0.01609519124031067, 0.06352365761995316, 0.09564133733510971, -0.15254729986190796, -0.6594532132148743, -0.18360552191734314, 0.4118446707725525, -0.3409190773963928, -0.2834741771221161, -0.2525404691696167, -0.4783586263656616, -0.49039316177368164, -0.17909546196460724, 0.045455411076545715, -0.6268177628517151, -0.38873091340065, 0.19550721347332, 0.16184218227863312, 0.5150963664054871, 0.4763137996196747, -0.8460109233856201, 0.338852196931839, 0.7366604208946228, 0.68956458568573, -0.37834295630455017, -0.2073824554681778, -0.34068936109542847, -0.03700675442814827, -0.5487682819366455, 0.8192395567893982, -0.6959231495857239, -0.4861435890197754, -0.37222668528556824, -0.056537874042987823, -0.1583312749862671, -0.6707437038421631, 0.9329954981803894, -0.3235383927822113, 0.026830555871129036, -0.1479944884777069, -0.6021571159362793, -0.1823287159204483, 0.33588844537734985, -0.6322420239448547, 1.1877490282058716, 0.2557271420955658, -0.5192157626152039, -0.1962161511182785, 0.06486298888921738, -0.2788461446762085, 0.42776450514793396, -0.28919684886932373, -0.2467091977596283, 0.3216703534126282, 0.07037188857793808, 0.24184317886829376, -0.6256136894226074, 0.5098051428794861, -0.2157481163740158, -0.3854042887687683, 0.3755045235157013, -0.35527992248535156, 0.8651944398880005, 0.32662075757980347, -0.2802315056324005, 0.13485294580459595, -0.8851364254951477, 0.3872479200363159, 0.3671364486217499, -0.5152438879013062, -0.2722363770008087, -0.1045154258608818, -0.048719484359025955, 0.2258293181657791, 0.34420379996299744, -0.6166419386863708, -0.09041787683963776, -0.37898245453834534, 0.17250792682170868, 0.89533931016922, -0.09623583406209946, 0.11309236288070679, -0.5231121778488159, 0.994213879108429, -0.11880303919315338, 0.13699010014533997, 0.012875092215836048, -0.2799011170864105, -0.6369507312774658, -0.07805594056844711, 0.2608084976673126, 0.7387509942054749, -0.5706973075866699, 0.08185101300477982, -0.27215659618377686, -1.1760034561157227, -0.582792341709137, 0.3826289176940918, 0.41423675417900085, 0.2582818567752838, 0.03461400046944618, -0.21137550473213196, -0.3944372832775116, -1.081681251525879, -0.341427743434906, -0.2207265943288803, 0.3326914608478546, 0.4643723964691162, 0.44692692160606384, 0.1661434918642044, 0.2886463403701782, -0.13444475829601288, -0.1667075753211975, -0.46771708130836487, -0.384909063577652, 0.423595666885376, 0.45690497756004333, 0.056026630103588104, -0.534720778465271, -0.688901960849762, 0.3722939193248749, -0.5719212293624878, -0.1868487000465393, 0.18201559782028198, -0.1701391041278839, 0.3256021738052368, 0.6261374950408936, -0.4731341302394867, 0.11434368789196014, 0.630838930606842, -0.050462886691093445, 1.1099656820297241, -0.04054673761129379, 0.14759139716625214, -0.8937748670578003, 0.23828545212745667, -0.20001424849033356, -0.021638795733451843, -0.39046362042427063, 0.4447636902332306, 0.4105386435985565, -0.1242922693490982, -0.4485015571117401, 0.48234349489212036, -0.296730101108551, 0.24584642052650452, -0.10356839001178741, 0.33154794573783875, -0.2984734773635864, 0.46558403968811035, -0.20405389368534088, 0.551190972328186, 0.291128009557724, -0.44201821088790894, 0.8261615633964539, -0.12044477462768555, -0.7653555274009705, 0.8879817724227905, -0.7064462900161743, 0.1310630440711975, -0.1586538851261139, 0.15381138026714325, -0.8514899015426636, -0.13106223940849304, 0.39568543434143066, -0.4561243951320648, 0.09114686399698257, 0.2942715585231781, -0.6341218948364258, -0.38332363963127136, -0.4543428122997284, 0.5830392837524414, 0.6132844090461731, -0.41833487153053284, 0.33545851707458496, 0.15874335169792175, -0.1356230229139328, -0.43725407123565674, -0.27521875500679016, 0.1225351095199585, -0.5169711709022522, -0.3480708599090576, 0.1739673614501953, -0.2946570813655853, -0.4040091633796692, 0.01412896253168583, -0.4115545451641083, 0.12112822383642197, 0.365339070558548, 0.1397676169872284, 0.13740256428718567, -0.2998679280281067, 0.09770708531141281, -0.0011345649836584926, -0.09154228866100311, 0.20817434787750244, -0.28030896186828613, 0.42936256527900696, -0.16373804211616516, -0.5939247608184814, -0.3638366162776947, 0.24496574699878693, 0.3114815354347229, -0.3764244318008423, 0.2284832000732422, 0.6868683695793152, -0.3044166564941406, -0.18852880597114563, -0.49518418312072754, 0.24083644151687622, -0.47445598244667053, 0.5715587735176086, -0.5474055409431458, -1.1528120040893555, 0.22526344656944275, -0.12513437867164612, -0.12598097324371338, 0.37674880027770996, 0.8171133399009705, 0.03764311224222183, 0.9833757281303406, 0.5737636685371399, -0.3880435526371002, -0.08906807750463486, 0.375103622674942, 0.27115917205810547, -0.7485605478286743, -0.4261336326599121, -0.750387966632843, -0.23017336428165436, -0.6937114000320435, -0.48722198605537415, 0.4155982732772827, 0.2623656094074249, -0.06838995963335037, 0.08324268460273743, -0.14440308511257172, 0.584173321723938, 0.3892121911048889, 0.05306989327073097, 0.5673472881317139, 0.07836809754371643, -0.2509482204914093, -0.22410425543785095, -0.6672949194908142, -0.5365204215049744, 1.1756842136383057, 0.1960129737854004, 0.7515908479690552, 0.713743269443512, 0.6342185139656067, 0.16814936697483063, 0.09151797741651535, -0.9343072175979614, 0.7185010313987732, 0.16709502041339874, -0.502589225769043, -0.08765977621078491, -0.5015671849250793, -1.0346238613128662, 0.3630397319793701, 0.1564440131187439, -0.8102023601531982, -0.21654678881168365, -0.17523418366909027, -0.36359792947769165, 0.08553709834814072, -0.17006899416446686, 0.6699719429016113, -0.3312269151210785, -0.42104771733283997, -0.5661892890930176, -0.38481611013412476, 0.8333529233932495, -0.28944605588912964, 0.24708132445812225, -0.46570974588394165, -0.11703496426343918, 0.7020251154899597, -0.44427579641342163, 0.3771909773349762, 0.36852771043777466, -0.2706104516983032, 0.35236647725105286, 0.3100709617137909, -0.015507856383919716, 0.1945168375968933, -0.043207522481679916, -0.335954487323761, 0.2505631446838379, -0.6753899455070496, -0.6331071257591248, 0.7994793057441711, -0.6823713183403015, -0.9308708906173706, -0.9071899056434631, -0.6081740260124207, -0.3629594147205353, 0.10935009270906448, -0.34030553698539734, 0.3814529776573181, -0.3185899257659912, 0.0667368620634079, 0.6343408226966858, -0.4725671112537384, 0.1531791090965271, 0.6254684925079346, -0.5158021450042725, -0.3330792188644409, 1.3011970520019531, -0.04291756451129913, 0.3091365694999695, 0.1846999228000641, 0.47039923071861267, -0.2758442163467407, -0.5135411620140076, -0.7841803431510925, 0.3717699944972992, -0.777636706829071, -0.004617207683622837, -0.3269643187522888, -0.2634556293487549, -0.18540601432323456, 0.27053970098495483, -0.17268814146518707, -0.5361438393592834, 0.05202121660113335, 0.14857232570648193, 0.2770135700702667, 0.8146857619285583, -0.15920698642730713, -0.20398180186748505, -0.8382662534713745, 0.07434695959091187, 0.3101353943347931, 0.174958735704422, 0.34248673915863037, -0.6458718776702881, -0.3280469477176666, -0.22607891261577606, -0.5044176578521729, -0.849285900592804, 0.0856589823961258, 0.27955368161201477, 0.5415595769882202, 0.14579704403877258, -0.052468281239271164, 0.7521955370903015, -0.5818307399749756, 0.676823616027832, -0.0893089696764946, -0.9158012270927429, 0.6138063073158264, -0.2481280118227005, 0.5843454003334045, 0.5825154781341553, 0.7588907480239868, -0.8104774951934814, -0.41751161217689514, -0.4705474376678467, -0.6544733643531799, 0.5170724391937256, 0.17736825346946716, 0.06922216713428497, 0.06841836869716644, 0.41567733883857727, -0.06900802254676819, 0.1669776439666748, -0.5175657272338867, -0.29495465755462646, 0.29699838161468506, -0.20532749593257904, -0.09328624606132507, -0.32852429151535034, 0.3171981871128082, -0.4220212996006012, 0.708164393901825, 0.08104662597179413, -0.36897316575050354, 0.1660935878753662, -0.3728064000606537, -0.179555743932724, 0.4357084333896637, 0.6327208876609802, 0.661614179611206, -0.17684975266456604, 0.03901965543627739, 0.30937832593917847, -0.7130830883979797, 0.3435203433036804, 0.0498456135392189, 0.04564909636974335, -0.01065929513424635, 0.30531594157218933, 0.36680182814598083, 0.1894310861825943, -1.2444024085998535, 0.18631166219711304, -0.10699283331632614, -0.14676672220230103, -0.4947664141654968, 0.09286042302846909, 0.1909775584936142, 0.3181054890155792, 0.4075734317302704, -0.4136987030506134, 0.08939076960086823, -0.608343780040741, -0.1490052342414856, 0.2435997724533081, -0.295348197221756, -0.21372756361961365, 0.41344547271728516, -0.1991197168827057, -0.012470830231904984, 0.45760709047317505, -0.5188794732093811, -0.7907589077949524, 0.6767140626907349, 0.48129382729530334, 0.5524892210960388, -0.6326158046722412, 0.26672425866127014, 0.6217936277389526, 0.534428060054779, 0.04902086779475212, 0.5774780511856079, -0.20088645815849304, -0.4320122301578522, -0.3933015465736389, -0.8146486282348633, -0.7085825204849243, 0.2895670533180237, -0.602308452129364, 0.21848121285438538, -0.6272355914115906, 0.21577543020248413, -0.1732204705476761, 0.4940688908100128, -0.33419832587242126, -0.010942908935248852, 0.2982238829135895, 0.9944077134132385, -0.4460286498069763, 0.8924051523208618, 0.7899552583694458, -0.12989042699337006, -0.9974050521850586, -0.30837082862854004, 0.14320647716522217, -0.7850744128227234, 0.7054013013839722, 0.07403041422367096, -0.13901686668395996, -0.04926731064915657, -0.1651616245508194, -0.9875017404556274, 0.8537487387657166, 0.28109413385391235, -0.5716056823730469, 0.34379905462265015, 0.3796539008617401, 0.3935941159725189, -0.009913111105561256, 0.12273776531219482, 0.910055935382843, 0.5410679578781128, -0.03398627042770386, -1.0709736347198486, 0.1721286177635193, -0.5589749813079834, 0.04804631322622299, 0.2159431278705597, -0.7630997896194458, 0.8345183730125427, -0.19133897125720978, -0.3798418939113617, 0.5975953936576843, 0.7880304455757141, 0.6926990151405334, 0.12354627996683121, 0.3051120340824127, 0.648466169834137, 0.8093858361244202, 0.07360835373401642, 1.000889778137207, -0.29787567257881165, 0.13485269248485565, 1.010363221168518, -0.45278042554855347, 0.818686306476593, 0.39992278814315796, -0.44493651390075684, 0.41119077801704407, 0.7427966594696045, 0.05425373092293739, 0.16604860126972198, 0.8417395949363708, -0.38395872712135315, -0.26297464966773987, -0.4668671786785126, -0.5044187307357788, 0.6432375907897949, 0.3214355409145355, 0.27444157004356384, -0.43705886602401733, -0.15346480906009674, 0.2743910551071167, 0.4691467583179474, -0.5271908044815063, 0.31709590554237366, 0.26684266328811646, -0.7244112491607666, 0.7687940001487732, 0.4317910969257355, 0.4275856018066406, -0.5305130481719971, 0.1440058797597885, -0.4826309382915497, 0.2017972320318222, -0.23330727219581604, -0.5970141887664795, 0.30774760246276855, 0.073749840259552, 0.1555228978395462, 0.09947032481431961, 0.7338091731071472, -0.5592080354690552, -0.8379419445991516, -0.06458988785743713, 0.8478335738182068, 0.32719412446022034, -0.045736853033304214, -0.6115677356719971, 0.3892827332019806, -0.04882218688726425, -0.07169356197118759, 0.4032086133956909, 0.4648488461971283, -0.43540018796920776, 0.7000129818916321, 0.61114102602005, 0.0994357019662857, -0.10159969329833984, -0.05146617442369461, 0.6629424691200256, -0.7867627143859863, -0.36230209469795227, -0.9971714019775391, 0.004900132771581411, 0.09562202543020248, -0.34710416197776794, 1.2520928382873535, 0.6479246616363525, 0.887142539024353, 0.20431378483772278, 0.7209579944610596, 0.13053831458091736, 0.4969826340675354, -0.42334216833114624, 0.6152332425117493, -0.6851616501808167, 0.04857436940073967, -0.3457167148590088, -0.7866730093955994, -0.03721403330564499, 0.4966382086277008, -0.22785018384456635, 0.022677233442664146, 0.9612457156181335, 0.5085519552230835, 0.13614003360271454, 0.2876178026199341, 0.20131418108940125, 0.06318461894989014, 0.03171800449490547, 1.2943466901779175, 1.3932057619094849, -0.36733752489089966, 0.6255744695663452, -0.5695219039916992, -0.21068447828292847, -0.00389323802664876, -0.8492719531059265, -0.9558656215667725, -0.5209652185440063, -0.3942349851131439, -0.41773390769958496, 0.019400278106331825, 0.993523895740509, 0.10732016712427139, -0.7812085151672363, -0.7999384999275208, 0.3283939063549042, 0.32844921946525574, -0.26063767075538635, -0.15647482872009277, 0.48189541697502136, -0.13947805762290955, -0.6931084394454956, 0.488727867603302, 0.2971397638320923, -0.19376292824745178, -0.41958481073379517, -0.008036576211452484, -0.08771027624607086, -0.061658620834350586, 0.657084584236145, 0.274795264005661, -0.5980100631713867, -0.07613132894039154, 0.08155583590269089, -0.27612560987472534, -0.20846359431743622, 0.6086599826812744, -0.7780957221984863, 0.10727585107088089, 0.26500263810157776, 0.8973096013069153, 0.18852871656417847, -0.39853182435035706, 0.30236494541168213, -0.22620682418346405, 0.12016228586435318, 0.2218671292066574, 0.17127759754657745, 0.351864218711853, -0.15701457858085632, 0.4831397533416748, 0.22190453112125397, -0.2781165838241577, -0.9892525672912598, 0.32011130452156067, -0.8436769843101501, -0.16006143391132355, 0.8707566857337952, 0.04412068426609039, -0.5280565619468689, -0.07922539860010147, -0.21244506537914276, -0.12860731780529022, -0.1349131315946579, 0.7039192318916321, 0.9152207970619202, 0.044882968068122864, -0.29556673765182495, -0.8774284720420837, 0.4013494551181793, 0.9263485074043274, -0.6168204545974731, -0.22799070179462433, 0.387847900390625, 0.2021477371454239, -0.12236588448286057, 0.6373057961463928, -0.29842817783355713, 0.6577057838439941, -0.45768705010414124, -0.23266859352588654, -0.007786307018250227, -0.20382609963417053, -0.6870856285095215, 0.08703804761171341, 0.3840041160583496, 0.2520396411418915 ]
http://arxiv.org/abs/2404.06621v1
http://arxiv.org/pdf/2404.06621v1
What is Your Favorite Gender, MLM? Gender Bias Evaluation in Multilingual Masked Language Models
2024-04-09T21:12:08
2024-04-09T21:12:08
Jeongrok Yu, Seong Ug Kim, Jacob Choi, Jinho D. Choi
cs.CL
cs.CL
Bias is a disproportionate prejudice in favor of one side against another. Due to the success of transformer-based Masked Language Models (MLMs) and their impact on many NLP tasks, a systematic evaluation of bias in these models is needed more than ever. While many studies have evaluated gender bias in English MLMs, only a few works have been conducted for the task in other languages. This paper proposes a multilingual approach to estimate gender bias in MLMs from 5 languages: Chinese, English, German, Portuguese, and Spanish. Unlike previous work, our approach does not depend on parallel corpora coupled with English to detect gender bias in other languages using multilingual lexicons. Moreover, a novel model-based method is presented to generate sentence pairs for a more robust analysis of gender bias, compared to the traditional lexicon-based method. For each language, both the lexicon-based and model-based methods are applied to create two datasets respectively, which are used to evaluate gender bias in an MLM specifically trained for that language using one existing and 3 new scoring metrics. Our results show that the previous approach is data-sensitive and not stable as it does not remove contextual dependencies irrelevant to gender. In fact, the results often flip when different scoring metrics are used on the same dataset, suggesting that gender bias should be studied on a large dataset using multiple evaluation metrics for best practice.
[ -0.39428675174713135, -0.5441344380378723, 0.08601820468902588, 0.686622679233551, 0.22444641590118408, -0.0020325768273323774, -0.14841963350772858, -0.3267464339733124, 0.03409089893102646, 0.41145631670951843, -0.7788340449333191, -0.5423744916915894, -0.5410230159759521, 0.27637216448783875, -0.2313191145658493, 1.0254850387573242, 0.14790040254592896, 1.0711761713027954, -0.32908639311790466, -0.2767845690250397, -0.8215599656105042, -0.7287611365318298, -0.2654457986354828, -0.4840501546859741, 0.32014814019203186, 0.1074901670217514, 0.494083046913147, 0.27132806181907654, 0.3560284674167633, 0.26272061467170715, -0.16812336444854736, 0.3019006550312042, -0.3766944110393524, 0.027035348117351532, -0.08367137610912323, -0.5322619080543518, -0.3820800483226776, 0.2690639793872833, 0.38495612144470215, 0.8317946791648865, -0.025180758908391, 0.5559754371643066, 0.15931980311870575, 0.9191060662269592, -0.7938891649246216, 0.21388740837574005, -0.5884476900100708, 0.4826934039592743, -0.06253527849912643, -0.002249178010970354, -0.3428962826728821, -0.3324446678161621, 0.19625186920166016, -0.09297235310077667, 0.4575202465057373, 0.1698284149169922, 0.47316616773605347, -0.16517066955566406, -0.6382561326026917, -0.2791091501712799, -0.770672082901001, 1.0216548442840576, -0.3861968219280243, 0.6336292028427124, 0.4096118211746216, 0.46155908703804016, 0.20094028115272522, -0.04893488436937332, -0.2596740424633026, -0.2635842263698578, -0.14691661298274994, -0.01639471761882305, -0.1175624430179596, -0.45971766114234924, 0.11205950379371643, 0.1670207530260086, -0.4830698072910309, 0.017200490459799767, -0.04020129144191742, -0.0662844106554985, 0.631610095500946, -0.09084933251142502, 0.4117390513420105, -0.005842580925673246, -0.38318923115730286, 0.13989907503128052, -0.6646413207054138, -0.14951728284358978, 1.042425513267517, 0.4562923014163971, 0.012904321774840355, 0.460473895072937, 0.10429345071315765, 0.44852811098098755, 0.07813304662704468, -0.13006877899169922, 0.41026195883750916, -0.2728017568588257, -0.06126198545098305, 0.08506505191326141, 0.8050524592399597, 0.6174207925796509, 0.45472514629364014, -0.22718504071235657, -0.05498424172401428, 0.03669767826795578, 0.04675756022334099, -0.4909982681274414, 0.13261829316616058, 0.06853954493999481, -0.7438327670097351, -0.26757341623306274, 0.0667748972773552, -0.7736139297485352, -0.5670729875564575, 0.034164950251579285, -0.046982645988464355, 0.11748708784580231, -0.37650078535079956, -0.05014410614967346, -0.3040635585784912, 0.05905764177441597, -0.002055808436125517, -1.1391141414642334, 0.11564717441797256, 0.6314228773117065, 0.5632097721099854, -0.30663150548934937, -0.39890751242637634, -0.280987948179245, -0.0932314470410347, -0.5130169987678528, 0.44595110416412354, -0.5189118981361389, -0.2144848108291626, 0.11583489924669266, 0.1301911473274231, -0.16429618000984192, -0.6611487865447998, 0.39000260829925537, -0.13273051381111145, 0.722327470779419, -0.43903034925460815, -0.30064475536346436, -0.07630918174982071, 0.2823060154914856, -0.7475399971008301, 1.0052074193954468, -0.2527371644973755, -0.954736590385437, 0.7783207297325134, -0.6289236545562744, -0.2236529141664505, -0.28207120299339294, -0.332255095243454, -0.456208199262619, -0.29885807633399963, 0.45735642313957214, 0.349113404750824, -0.23776710033416748, 0.5841790437698364, -0.39668551087379456, -0.145409494638443, 0.4108610451221466, -0.6115833520889282, 0.9223600029945374, -0.03337888792157173, -0.4302048683166504, 0.20294536650180817, -0.5254878401756287, -0.37533000111579895, 0.07812661677598953, -0.037800583988428116, -0.3592240512371063, 0.015300852246582508, 0.09407764673233032, 0.450825035572052, 0.2032189518213272, -0.5360100865364075, -0.2256506234407425, -0.3186069130897522, 0.09693001955747604, 0.7937320470809937, -0.43295028805732727, 0.7565842866897583, -0.2779569923877716, 0.4792201817035675, 0.03763600438833237, 0.21622994542121887, -0.04912630841135979, -0.6375077962875366, -0.7269450426101685, -0.07554323971271515, 0.3513757586479187, 0.6333826184272766, -0.6519092321395874, 0.1730063110589981, 0.05656525492668152, -0.27982887625694275, -0.6041635870933533, 0.3209083378314972, 0.5136933326721191, 0.22917607426643372, 0.11619383096694946, -0.12961864471435547, -0.5648776292800903, -1.328271508216858, -0.6306212544441223, -0.07334418594837189, -0.14382603764533997, 0.3406364321708679, 0.6328451037406921, -0.09886188805103302, 0.7750142812728882, -0.35558879375457764, -0.5090521574020386, -0.42629265785217285, -0.10905329138040543, 0.22007767856121063, 0.5296618938446045, 0.8152377605438232, -0.7141911387443542, -0.44957002997398376, -0.05476520210504532, -0.744677722454071, -0.10752758383750916, 0.14037732779979706, -0.4245079457759857, 0.18309977650642395, 0.10112906247377396, -0.33953166007995605, 0.06289833784103394, 0.7323166728019714, -0.4434746205806732, 0.5712083578109741, 0.11539941281080246, 0.0984329953789711, -0.7693939805030823, -0.048680081963539124, 0.3536631166934967, -0.37134936451911926, -0.645463228225708, 0.10117153078317642, 0.06394701451063156, 0.25651776790618896, -0.6503233313560486, 0.7011358141899109, -0.6188837885856628, -0.0763351246714592, -0.17323340475559235, -0.24746350944042206, -0.054654475301504135, 0.3987782597541809, 0.1932782530784607, 0.46008455753326416, 0.35807475447654724, -0.41470423340797424, 0.2157379686832428, 0.29381680488586426, -0.18210452795028687, 0.5931236743927002, -0.2859433591365814, 0.3459773659706116, -0.4526083171367645, 0.1925966739654541, -0.8080573081970215, 0.3418653607368469, 0.41783493757247925, -0.5088711977005005, 0.321203351020813, -0.1931949257850647, -0.1340630054473877, -0.3033561706542969, -0.5055267810821533, 0.13070280849933624, 0.07436409592628479, -0.5810237526893616, 0.41736263036727905, 0.5689272880554199, 0.14911212027072906, -1.1206893920898438, -0.9498913884162903, -0.0029339371249079704, -0.31351977586746216, -0.5076102614402771, -0.04952002316713333, -0.12217240035533905, -0.34564927220344543, -0.4113457500934601, -0.1311861127614975, -0.14410671591758728, -0.003265462117269635, 0.2323591560125351, 0.38106149435043335, -0.0556645430624485, -0.15943749248981476, -0.009555422700941563, -0.11221889406442642, 0.07700096815824509, -0.1712893843650818, 0.6033297181129456, -0.1635865569114685, -0.30990999937057495, -0.006069713272154331, 0.6541001796722412, 0.32995325326919556, 0.054117072373628616, 0.8431928157806396, 0.9664897918701172, -0.48756158351898193, -0.3237075209617615, -0.6713703274726868, -0.3268817067146301, -0.40031278133392334, 0.5041015148162842, -0.31749024987220764, -0.8444617986679077, 0.41770362854003906, 0.40656596422195435, 0.30136623978614807, 0.34330427646636963, 0.8484739065170288, -0.012879632413387299, 1.35979163646698, 0.8523353338241577, -0.3654862344264984, 0.2094770222902298, -0.004061359912157059, 0.16138090193271637, -0.4595834016799927, -0.2693135142326355, -0.6471421122550964, -0.34651386737823486, -0.870510458946228, -0.38279029726982117, 0.14593052864074707, -0.21609936654567719, -0.2580961287021637, 0.0871376246213913, -0.2640570402145386, 0.3437844514846802, 0.6830131411552429, -0.01940256915986538, 0.26960107684135437, 0.0542631670832634, -0.19578900933265686, -0.42155659198760986, -0.8228069543838501, -0.7420092225074768, 1.1374895572662354, 0.638304591178894, 0.31683582067489624, 0.22528615593910217, 0.21429041028022766, 0.4388299584388733, 0.40801137685775757, -0.4506233334541321, 0.2856159806251526, -0.4300062954425812, -1.0837033987045288, -0.1635446399450302, -0.5343286395072937, -0.811713457107544, 0.6262661814689636, -0.3006930649280548, -0.6433355212211609, 0.051473114639520645, -0.05186581239104271, 0.1259315460920334, 0.32835566997528076, -0.6266991496086121, 0.9131084680557251, -0.21799272298812866, -0.44217145442962646, 0.36328354477882385, -0.5010893940925598, 0.7512766718864441, 0.056683629751205444, 0.4679360091686249, -0.38914796710014343, 0.08633332699537277, 0.798936665058136, -0.16835333406925201, 0.7777556777000427, -0.11686970293521881, -0.29654446244239807, -0.31362268328666687, 0.027583740651607513, 0.1190691888332367, 0.04101274535059929, -0.18877139687538147, 0.7380213141441345, -0.14133954048156738, -0.3875848650932312, -0.42547252774238586, 0.6029966473579407, -0.6561337113380432, -0.38061726093292236, -0.5563300848007202, -0.5361335873603821, -0.34193846583366394, 0.14406879246234894, 0.07177139073610306, -0.09539221227169037, -0.45847180485725403, -0.09843786805868149, 0.30014708638191223, -0.5616207718849182, 0.45483648777008057, 0.6697884202003479, -0.47626063227653503, -0.06844070553779602, 0.764182448387146, -0.007851450704038143, 0.1525450199842453, 0.46537676453590393, 0.3165585398674011, -0.37066569924354553, -0.03517013043165207, -0.8577197790145874, 0.016869697719812393, -0.6117063164710999, 0.14367413520812988, -0.8381967544555664, -0.08731765300035477, -0.43985772132873535, 0.17958635091781616, -0.5006863474845886, -0.2280047982931137, 0.16093161702156067, -0.14544713497161865, -0.17319227755069733, 0.5127437114715576, 0.25575247406959534, 0.08434268832206726, -0.527930498123169, 0.5065835118293762, 0.25862711668014526, 0.12675350904464722, -0.04940324276685715, -0.17928333580493927, -0.04479118436574936, 0.12775282561779022, -0.26485490798950195, -1.049445629119873, 0.6661183834075928, 0.09108541905879974, 0.6932411193847656, 0.3889565169811249, -0.36394551396369934, 0.22082485258579254, -0.5878431797027588, 0.8771969079971313, 0.3219960033893585, -0.8971779346466064, 0.34146517515182495, -0.22225870192050934, 0.14928989112377167, 0.3242787718772888, 0.5604649186134338, -0.6901448369026184, -0.47967514395713806, -0.2897394895553589, -0.7340364456176758, 0.6880737543106079, 0.45533108711242676, 0.41393545269966125, -0.02740308828651905, -0.04915573075413704, 0.500458836555481, 0.8120594024658203, -1.1411935091018677, -1.0887165069580078, 0.10513512045145035, 0.013095265254378319, -0.03437573090195656, -0.34111082553863525, -0.019262274727225304, -0.1352331042289734, 0.7589594721794128, -0.21229347586631775, 0.41835927963256836, -0.13903585076332092, -0.34625044465065, -0.06526394188404083, 0.31291669607162476, 0.47162336111068726, 0.7242999076843262, -0.298697292804718, 0.07392774522304535, 0.4678812623023987, -0.6113789677619934, 0.20595358312129974, -0.15645989775657654, -0.6163370609283447, 0.4801395833492279, 0.28894561529159546, 0.8130762577056885, -0.22394460439682007, -0.41250813007354736, 0.6233420968055725, -0.3252507746219635, -0.0600459985435009, -0.18543431162834167, -0.3549630045890808, 0.07964218407869339, 0.2102370411157608, 0.4891436994075775, 0.09501618891954422, 0.30071577429771423, -0.500455915927887, 0.04366819187998772, 0.6009997129440308, -0.7801815867424011, 0.052280012518167496, 0.7274694442749023, 0.23361457884311676, -0.07122795283794403, 0.12179248780012131, -0.2702125906944275, -0.6684200167655945, 0.7583187818527222, 0.5223012566566467, 1.1319336891174316, -0.49733206629753113, 0.435194194316864, 0.3828481137752533, 0.7511880993843079, -0.08331280946731567, 0.21425938606262207, 0.3170715570449829, -1.1248703002929688, -0.2583467364311218, -0.5640366077423096, -0.17400193214416504, 0.018067678436636925, -0.46546077728271484, 0.5259440541267395, -0.1864757239818573, -0.19305120408535004, 0.01463093888014555, -0.22142666578292847, -0.7732442021369934, 0.022536473348736763, 0.5226227641105652, 0.42219677567481995, -1.0705089569091797, 0.4475449025630951, 0.6355074644088745, -0.000496519438456744, -0.25743210315704346, -0.2824304699897766, 0.3458525240421295, -0.8982877135276794, 0.6745741367340088, 0.44358816742897034, -0.015216520056128502, -0.5927191376686096, -0.0253681018948555, -0.49159714579582214, 0.681064248085022, 0.5907561779022217, -0.6814754605293274, 0.09759549051523209, 0.5993216037750244, 0.28808215260505676, -0.6550085544586182, 0.9029256105422974, 0.6617693305015564, 0.4680340886116028, -0.5321526527404785, -1.053673267364502, -0.1680038720369339, -0.307738333940506, 0.1496138572692871, -0.10377670079469681, -0.5384697914123535, 0.8052928447723389, 0.07719893753528595, 0.13382470607757568, -0.32765549421310425, 0.5015819072723389, 0.38226065039634705, 0.5730078220367432, 0.6776692271232605, 0.04172026365995407, 0.7581195831298828, -0.13138823211193085, 0.8273234963417053, -0.29830655455589294, 0.37777790427207947, 1.1889010667800903, -0.3693968951702118, 0.3441145420074463, 0.39014992117881775, -0.31547489762306213, 0.34675174951553345, 0.5113357901573181, -0.08567891269922256, 0.033722445368766785, 0.37813353538513184, -0.019089361652731895, -0.006468561477959156, -0.3378731906414032, -0.4016231298446655, 0.570309579372406, -0.14506536722183228, -0.7181516885757446, -0.04684493690729141, 0.1837584227323532, 0.38275521993637085, 0.15234489738941193, -0.17075006663799286, 0.4608900845050812, 0.16899298131465912, -0.37664783000946045, 0.19122569262981415, 0.4328337013721466, 1.097644329071045, -0.6522619128227234, 0.04063154384493828, -0.31049469113349915, 0.0030361786484718323, -0.36562567949295044, -0.2973330616950989, 0.12590515613555908, 0.24220602214336395, -0.4687868654727936, -0.37816619873046875, 0.6788824200630188, -0.8372756838798523, -1.0002696514129639, 0.43920692801475525, 0.8998399376869202, 0.033648841083049774, -0.23424093425273895, -0.9811097383499146, -0.1770954430103302, 0.11702878028154373, -0.13822272419929504, 0.45553433895111084, -0.03202205151319504, -0.2361144721508026, 0.7937762141227722, 0.6986823678016663, 0.08589436858892441, 0.25149014592170715, 0.6482423543930054, 0.1986282467842102, -0.5424620509147644, -0.5725820064544678, -1.1826491355895996, 0.17858527600765228, -0.05402521789073944, -0.3319685757160187, 1.3150609731674194, 0.6987677812576294, 0.7763051390647888, -0.2014951854944229, 0.8426464796066284, 0.4173326790332794, 0.4644163250923157, -0.3286491632461548, 0.9922203421592712, -0.3271643817424774, 0.3503166437149048, -0.7556408643722534, -1.2942389249801636, -0.2745055556297302, 0.5436241030693054, -0.22903485596179962, 0.38763540983200073, 0.5641078948974609, 0.7436012029647827, 0.09077996015548706, 0.19250690937042236, 0.37140846252441406, -0.020150788128376007, 0.11566272377967834, 0.3491328954696655, 1.0121850967407227, -0.5330909490585327, 0.1796790361404419, -0.47034546732902527, -0.16709619760513306, 0.03001878224313259, -1.0401657819747925, -1.0181760787963867, -0.32785728573799133, -0.5561060905456543, -0.34454020857810974, 0.05675823241472244, 0.9870359897613525, 0.8476460576057434, -0.8064947724342346, -0.6033334136009216, 0.3316704034805298, 0.5986694693565369, -0.41975852847099304, -0.237999826669693, 0.1221841499209404, -0.18126186728477478, -1.1883870363235474, 0.16790173947811127, 0.06206248700618744, -0.3155231773853302, -0.662635862827301, -0.021966775879263878, -0.30959928035736084, -0.24753424525260925, 0.6452090740203857, -0.3905524015426636, -0.5279170870780945, 0.07050221413373947, 0.1806829273700714, -0.0343659408390522, -0.12816494703292847, 0.8683264255523682, -0.23622232675552368, 0.5784104466438293, 0.42792677879333496, 0.24378828704357147, 0.3831699788570404, -0.3061144948005676, 0.945343017578125, -0.7560490965843201, 0.20110422372817993, 0.1800452023744583, 0.43008342385292053, 0.5700237154960632, -0.36341801285743713, 0.3706235885620117, 0.25537508726119995, -0.1440143883228302, -0.8230510354042053, 0.026406249031424522, -0.4979657828807831, -0.458377480506897, 1.4403990507125854, 0.06721063703298569, -0.10553548485040665, -0.22344915568828583, -0.30525311827659607, 0.08735818415880203, -0.27704280614852905, 0.5433904528617859, 0.8334226608276367, 0.2604345381259918, 0.0016231678891927004, -0.9813095927238464, 0.3797212541103363, 0.5606746077537537, -0.27262043952941895, -0.26932451128959656, 0.21652516722679138, 0.3567805290222168, -0.0055046710185706615, 0.35595008730888367, -0.06515440344810486, 0.10300230979919434, -0.19760701060295105, 0.3665994703769684, 0.10833743959665298, -0.33065253496170044, -0.41892170906066895, 0.20324841141700745, -0.2928527593612671, -0.33388975262641907 ]
http://arxiv.org/abs/2404.06619v1
http://arxiv.org/pdf/2404.06619v1
FairPair: A Robust Evaluation of Biases in Language Models through Paired Perturbations
2024-04-09T21:09:22
2024-04-09T21:09:22
Jane Dwivedi-Yu, Raaz Dwivedi, Timo Schick
cs.CL
cs.CL, cs.CY, cs.LG
The accurate evaluation of differential treatment in language models to specific groups is critical to ensuring a positive and safe user experience. An ideal evaluation should have the properties of being robust, extendable to new groups or attributes, and being able to capture biases that appear in typical usage (rather than just extreme, rare cases). Relatedly, bias evaluation should surface not only egregious biases but also ones that are subtle and commonplace, such as a likelihood for talking about appearances with regard to women. We present FairPair, an evaluation framework for assessing differential treatment that occurs during ordinary usage. FairPair operates through counterfactual pairs, but crucially, the paired continuations are grounded in the same demographic group, which ensures equivalent comparison. Additionally, unlike prior work, our method factors in the inherent variability that comes from the generation process itself by measuring the sampling variability. We present an evaluation of several commonly used generative models and a qualitative analysis that indicates a preference for discussing family and hobbies with regard to women.
[ -0.1265493929386139, -0.7552779912948608, 0.23191674053668976, 0.5723435878753662, 0.05447050556540489, 0.04091671481728554, -0.10922207683324814, -0.08666296303272247, -0.09258502721786499, 0.3327648639678955, -0.5357294678688049, -0.28898778557777405, -0.7280340790748596, -0.16029638051986694, -0.5302008986473083, 0.9556622505187988, -0.01480269804596901, 0.5030557513237, -0.21250711381435394, -0.4559698700904846, -0.6893478035926819, -0.45789390802383423, -0.4378567337989807, -0.5855167508125305, 0.1959206461906433, 0.08874709159135818, 0.8661642670631409, 0.2333659827709198, 0.3481401801109314, 0.30351266264915466, -0.1360398828983307, -0.2895829379558563, -0.7305505871772766, 0.4300200939178467, -0.20210008323192596, -0.3793720304965973, -0.3946486711502075, 0.3542388081550598, 0.38300055265426636, 1.2292011976242065, -0.3476979732513428, 0.2813548445701599, 0.16325612366199493, 0.7365914583206177, -0.8799200654029846, -0.2734605073928833, -0.3807281255722046, 0.27262523770332336, -0.36797839403152466, -0.1141367182135582, -0.1567784547805786, -0.561810314655304, 0.15880805253982544, -0.3590371906757355, 0.4243484139442444, -0.13654261827468872, 0.6794816255569458, 0.2475508600473404, -0.3790050148963928, -0.10503557324409485, -0.7431918382644653, 0.9667371511459351, -0.4826798141002655, 0.4695918560028076, 0.3536589741706848, 0.4988363981246948, -0.4558827877044678, -0.6508501172065735, -0.6434754133224487, -0.3745693862438202, -0.1276342272758484, -0.02514808252453804, -0.5551566481590271, -0.059798650443553925, 0.3924354910850525, 0.6218823194503784, -0.48640304803848267, -0.09485618025064468, 0.11380664259195328, -0.24135874211788177, 0.45434150099754333, 0.3739118278026581, 0.5848251581192017, -0.005049127619713545, -0.21607165038585663, 0.0451354905962944, -0.5656166076660156, 0.2754947543144226, 1.033827304840088, 0.13108159601688385, -0.42874565720558167, 0.5949450731277466, -0.47410497069358826, 0.7811146378517151, 0.39029940962791443, -0.006425761617720127, 0.29491958022117615, -0.295617014169693, -0.14144422113895416, -0.48143064975738525, 0.6844305992126465, 0.4396146535873413, 0.20105326175689697, -0.31058937311172485, -0.40268877148628235, 0.3909503221511841, -0.011178255081176758, -0.7087799310684204, -0.12167184054851532, -0.02252822369337082, -0.7634775042533875, -0.5052297711372375, -0.029400037601590157, -1.079789638519287, -0.5506280660629272, -0.18235722184181213, 0.33175331354141235, 0.14232085645198822, -0.36227330565452576, 0.19236904382705688, -0.3768363296985626, 0.15501311421394348, 0.21655529737472534, -0.943301260471344, 0.7437137365341187, 0.5328453779220581, 0.4605506360530853, -0.029908735305070877, -0.12396086007356644, -0.9595493078231812, -0.1863780915737152, 0.01876583881676197, 0.7833982110023499, -0.8846634030342102, -0.6087481379508972, -0.001194013631902635, -0.16603738069534302, 0.10569813847541809, -0.38348188996315, 0.662858247756958, -0.3083955645561218, 0.5048139691352844, -0.5044803023338318, -0.2731337249279022, 0.12395253777503967, 0.11964018642902374, -0.8018612861633301, 0.6445630788803101, 0.4294265806674957, -1.2676048278808594, 0.611486554145813, -0.6633427143096924, -0.45573192834854126, -0.03483634814620018, -0.4858379662036896, -0.2647404074668884, 0.16555196046829224, 0.15398457646369934, 0.11290266364812851, -0.3819008469581604, 0.44385817646980286, -0.4468441903591156, -0.35616716742515564, 0.3291388750076294, -0.6572247743606567, 1.0577261447906494, 0.19035455584526062, -0.4715915620326996, 0.29145053029060364, -0.5999343395233154, -0.4090995490550995, 0.19657643139362335, -0.12791909277439117, -0.5994720458984375, 0.011480513960123062, 0.3845435380935669, 0.07060620188713074, 0.05913844704627991, -0.48414409160614014, 0.011324170045554638, -0.3308136463165283, 0.16148975491523743, 0.784959077835083, -0.12628257274627686, 0.5089272260665894, -0.5278989672660828, 0.783359706401825, -0.22979192435741425, 0.31117555499076843, 0.23758487403392792, -0.40184053778648376, -0.6367632746696472, -0.27443668246269226, 0.529970645904541, 0.3149147629737854, -0.44771671295166016, 0.24989290535449982, -0.12037385255098343, -0.18559858202934265, -0.4442421495914459, 0.16513606905937195, 0.6384651064872742, 0.5537833571434021, 0.01213926263153553, -0.7075929045677185, -0.5350280404090881, -0.9366081357002258, -0.6022235155105591, 0.03844510018825531, 0.013215893879532814, 0.3006129860877991, 0.21292316913604736, -0.1703593134880066, 0.9450636506080627, -0.2673279047012329, -0.061127614229917526, -0.3867535889148712, 0.4323155879974365, -0.032988838851451874, 0.4539172649383545, 0.7085512280464172, -1.0021641254425049, -0.43940767645835876, -0.48550158739089966, -0.4779854118824005, -0.44701141119003296, 0.09547014534473419, -0.37133124470710754, 0.18101710081100464, 0.09453722834587097, -0.17673224210739136, 0.5428892374038696, 0.7701214551925659, -0.8151726126670837, 0.3904533386230469, 0.02409234270453453, 0.3347291946411133, -0.6558355093002319, 0.35980039834976196, -0.0324789322912693, -0.42749902606010437, -0.5385813117027283, -0.03000803291797638, -0.44365185499191284, 0.36733001470565796, -0.32007208466529846, 0.837256133556366, -0.20685502886772156, 0.03896990045905113, -0.2117546945810318, -0.09518654644489288, 0.08142244070768356, -0.07298718392848969, -0.13112729787826538, 0.6157320737838745, 0.4206189215183258, -0.19714096188545227, 0.17973509430885315, 0.23042786121368408, -0.11350259184837341, 0.6003069877624512, -0.5617029666900635, 0.43151310086250305, -0.19447392225265503, 0.2519649267196655, -0.8654615879058838, -0.3017389178276062, 0.30799248814582825, -0.5250629186630249, 0.22495368123054504, -0.13986016809940338, -0.33836057782173157, -0.06664776057004929, -0.470447301864624, 0.58453768491745, 0.5057238936424255, -0.5200342535972595, 0.5797492861747742, 0.7266110181808472, -0.06685777008533478, -0.9417484998703003, -0.5069367289543152, -0.11997080594301224, -0.4064446687698364, -0.6598522067070007, 0.15204618871212006, -0.14910858869552612, -0.7731388807296753, -0.012780580669641495, -0.17704929411411285, -0.062380172312259674, 0.2429388463497162, 0.40296727418899536, 0.14002148807048798, 0.1903543770313263, -0.16805101931095123, 0.24050995707511902, -0.07950756698846817, -0.19220708310604095, 0.2180653214454651, 0.9128104448318481, -0.16247841715812683, -0.100685253739357, -0.20347003638744354, 0.6249236464500427, 0.18448016047477722, -0.20457684993743896, 0.5498164892196655, 0.633607029914856, -0.4720580577850342, -0.0314936600625515, -0.8911442756652832, -0.09081803262233734, -0.4289184510707855, 0.15283185243606567, -0.5976532697677612, -0.9423051476478577, 0.8225275874137878, 0.2627068758010864, -0.3115319311618805, 0.4013146460056305, 0.6983380317687988, 0.0800984650850296, 1.1966102123260498, 1.098601222038269, -0.07713083922863007, 0.3601458966732025, 0.1466410756111145, 0.006857533007860184, -0.4719568192958832, -0.09795919805765152, -0.745400607585907, -0.17699569463729858, -0.821061909198761, -0.07802676409482956, -0.09780809283256531, 0.1561024785041809, -0.28901422023773193, -0.16848336160182953, -0.23883160948753357, 0.3700407147407532, 0.43869689106941223, -0.05928487330675125, 0.37426069378852844, -0.10815393179655075, -0.11581835895776749, -0.23334155976772308, -0.46352896094322205, -0.9005248546600342, 1.18046236038208, 0.29433608055114746, 0.8530462384223938, 0.22370992600917816, 0.6458178758621216, 0.5311786532402039, 0.6220399737358093, -0.5419993996620178, 0.2846057713031769, -0.6077377200126648, -0.6435754895210266, -0.023763315752148628, -0.5851502418518066, -1.0485565662384033, -0.0004935172037221491, -0.17372961342334747, -0.8849332928657532, 0.39396950602531433, 0.2654859721660614, -0.4057753086090088, 0.02666385844349861, -0.48745250701904297, 0.9444190859794617, -0.06570533663034439, -0.5297260880470276, -0.236579030752182, -0.7483192682266235, 0.5713544487953186, 0.10420740395784378, 0.09267662465572357, -0.21588076651096344, 0.22846883535385132, 0.8392156958580017, -0.18903730809688568, 0.6685560345649719, -0.34925466775894165, 0.284519761800766, 0.03493925556540489, 0.37645554542541504, -0.0776819959282875, -0.013905427418649197, -0.12975656986236572, 0.30448949337005615, 0.04948385804891586, -0.3758697807788849, -0.5588595271110535, 0.8472069501876831, -0.7433003783226013, -0.6301897168159485, -0.49133092164993286, -0.6039422154426575, -0.23479193449020386, 0.14981390535831451, 0.13317491114139557, 0.3268715739250183, -0.6072726845741272, -0.06502770632505417, 0.3208697736263275, -0.4556039571762085, 0.2011905312538147, 0.39296430349349976, -0.3464999794960022, -0.2078392654657364, 0.3103940486907959, -0.11592131108045578, 0.20860253274440765, 0.2318163812160492, 0.5135435461997986, -0.34468454122543335, -0.15572600066661835, -0.1754552721977234, 0.014926465228199959, -0.6756170988082886, -0.005502876825630665, -0.6007311344146729, 0.1797063648700714, -0.449841171503067, 0.06492644548416138, -0.3274066746234894, -0.6493372321128845, 0.21785441040992737, 0.06181060150265694, -0.004645536653697491, 0.61062091588974, -0.22412189841270447, 0.2185095250606537, -0.41273173689842224, 0.4957006275653839, 0.47792884707450867, 0.4006941020488739, -0.1755051165819168, -0.3675942122936249, 0.4610890746116638, -0.116634801030159, -0.3641628623008728, -0.944675087928772, 0.3821825385093689, -0.13007892668247223, 0.8712753653526306, 0.22984348237514496, 0.1762246936559677, 0.4410858750343323, -0.36055633425712585, 0.6925418376922607, 0.3248690962791443, -1.3153084516525269, 0.5287535190582275, -0.4008297324180603, -0.12682107090950012, 0.7239318490028381, 0.12126678228378296, -0.5129270553588867, -0.20566435158252716, -0.6543838977813721, -0.680900514125824, 0.5645366311073303, 0.3392559289932251, 0.33436328172683716, 0.17600534856319427, 0.2834104895591736, 0.5605697631835938, 0.4554120898246765, -0.9814438223838806, -0.30949634313583374, -0.3268180191516876, -0.24771346151828766, 0.18428008258342743, -0.3078421950340271, -0.4644939601421356, -0.04263337701559067, 0.20385590195655823, 0.14168576896190643, 0.178286612033844, 0.02098485268652439, -0.11583742499351501, -0.36564865708351135, 0.5177066922187805, 0.4473552703857422, 0.7250310182571411, -0.3699103593826294, 0.1577669233083725, -0.1406685709953308, -0.48253190517425537, 0.11069640517234802, 0.37748458981513977, -0.2660267949104309, 0.008202522061765194, 0.07791824638843536, 0.6560548543930054, -0.3486519455909729, -0.6246074438095093, 0.9557989239692688, -0.4295607805252075, 0.16210158169269562, -0.058318886905908585, 0.025368932634592056, -0.280070960521698, 0.27073195576667786, 0.06755810230970383, 0.2819446325302124, 0.6443483233451843, -0.6384329795837402, 0.05388271063566208, 0.4894642233848572, -0.544005811214447, -0.3467773497104645, 0.6424268484115601, 0.32983389496803284, -0.3444829285144806, 0.40228402614593506, -0.3738800287246704, -0.5402992367744446, 0.39531174302101135, 0.3279432952404022, 1.0562894344329834, -0.39593788981437683, 0.10517837852239609, 0.06324868649244308, 0.1935582309961319, -0.011652330867946148, 0.4046398401260376, -0.04429677501320839, -0.8572996258735657, -0.19136446714401245, -0.832945704460144, -0.2587943971157074, 0.20613889396190643, -0.7505189180374146, 0.36117440462112427, -0.18950112164020538, -0.3296339213848114, -0.1342315375804901, -0.1623375117778778, -0.9487636089324951, 0.101813904941082, -0.021468278020620346, 0.6586483716964722, -1.1630816459655762, 0.6770827174186707, 0.7133309841156006, -0.7059371471405029, -0.657296359539032, 0.3528689444065094, 0.012877908535301685, -0.43608787655830383, 0.7851523756980896, 0.11708246916532516, -0.375784307718277, -0.5059299468994141, -0.4621405005455017, -0.34709233045578003, 0.6312282681465149, 0.7289702296257019, -0.5395697355270386, 0.1579178124666214, 0.132341668009758, 0.560092568397522, -0.25379684567451477, 0.3960985243320465, 0.7795979976654053, 0.42899414896965027, -0.11873427778482437, -1.2466877698898315, 0.16815203428268433, -0.35193511843681335, 0.2045162469148636, -0.10286134481430054, -0.6289939284324646, 0.8364787697792053, -0.014152944087982178, -0.09079635888338089, 0.2696341276168823, 0.37754204869270325, 0.4722159206867218, 0.38799431920051575, 0.8324885368347168, 0.35133084654808044, 0.5679234862327576, -0.1846657246351242, 1.1565407514572144, 0.04151184484362602, 0.328717440366745, 1.0931209325790405, -0.37756213545799255, 0.586855947971344, 0.776496171951294, -0.27876272797584534, 0.22167254984378815, 0.3254687488079071, 0.24480730295181274, 0.6549178957939148, 0.4447108507156372, -0.2993553876876831, -0.19908015429973602, -0.27124637365341187, -0.3478489816188812, 0.6188949346542358, 0.12286773324012756, -0.19549381732940674, -0.11867839843034744, -0.025116082280874252, 0.14422403275966644, 0.5645624399185181, -0.018912309780716896, 0.43224412202835083, 0.08074038475751877, -0.5949466824531555, 0.013654449954628944, 0.22884778678417206, 0.8005642890930176, -0.4022119641304016, -0.2355903685092926, -0.49412548542022705, 0.1894204318523407, -0.26505711674690247, -0.4676315188407898, 0.30358484387397766, 0.23956134915351868, -0.3403779864311218, -0.08044257014989853, 0.8721851706504822, -0.19969874620437622, -0.4639120399951935, 0.5075027942657471, 0.5372073650360107, -0.11963988840579987, 0.2979436218738556, -0.6204017996788025, 0.1590745747089386, 0.05206237733364105, -0.24266035854816437, 0.26695120334625244, 0.061699286103248596, -0.15606184303760529, 0.5090714693069458, 0.3598693013191223, 0.16134485602378845, 0.19870498776435852, 0.7912755012512207, 0.7728629112243652, -0.3292040228843689, -0.40698006749153137, -0.6896010041236877, 0.774071991443634, -0.07123611122369766, -0.3388683795928955, 0.7065431475639343, 0.34923237562179565, 0.716222882270813, 0.095213882625103, 0.8314909338951111, -0.0968775525689125, 0.6238270998001099, -0.3863110840320587, 0.8851166367530823, -0.43819865584373474, 0.4031388461589813, -0.5634214282035828, -0.9717634916305542, -0.5453830361366272, 0.9328608512878418, -0.5923374891281128, 0.4111442565917969, 0.3665711581707001, 0.6366439461708069, -0.2370121330022812, 0.06909666955471039, 0.26949748396873474, 0.09408044070005417, 0.35519105195999146, 0.2254459708929062, 1.203040599822998, -0.3175477683544159, 0.1756802797317505, -0.26214835047721863, -0.6289607286453247, 0.06318029016256332, -0.975124180316925, -0.8214596509933472, -0.28970691561698914, -0.32715943455696106, -0.464133620262146, 0.4508940577507019, 0.9951515793800354, 0.5786592960357666, -0.765738844871521, -0.4167247414588928, -0.16557711362838745, -0.006387548521161079, 0.03062167949974537, -0.23919746279716492, 0.20066633820533752, -0.2676582932472229, -0.9313153028488159, 0.1571415513753891, 0.021832570433616638, -0.19433064758777618, -0.5037888288497925, -0.1832231879234314, 0.11774587631225586, 0.05948987975716591, 0.15431685745716095, 0.013530882075428963, -0.6597798466682434, -0.18341164290905, -0.2430342137813568, -0.07140002399682999, -0.0517636202275753, 0.8560938239097595, -0.7586728930473328, 0.6498197317123413, 0.5802046060562134, 0.33201301097869873, 0.360066682100296, -0.0354333333671093, 0.8758425116539001, -0.6105209589004517, 0.4986802339553833, 0.4213140308856964, 0.4952295124530792, 0.5895782113075256, -0.19866594672203064, 0.3288383483886719, 0.17709608376026154, -0.38987472653388977, -1.0695198774337769, 0.3312597870826721, -0.9539782404899597, -0.06323599070310593, 1.099175214767456, -0.20971554517745972, 0.25512364506721497, -0.2095365971326828, -0.13566632568836212, 0.36998459696769714, -0.4800642132759094, 0.8492951989173889, 0.6816141605377197, -0.23140521347522736, 0.07854409515857697, -0.46099376678466797, 0.41886740922927856, 0.6171389222145081, -0.43036720156669617, -0.12446146458387375, 0.4559468924999237, 0.5364557504653931, -0.08099789917469025, 0.7418100833892822, -0.3710399866104126, 0.20988087356090546, 0.09738478809595108, 0.041888993233442307, 0.3048078715801239, -0.056252967566251755, -0.6508838534355164, 0.18898092210292816, 0.2523992359638214, -0.0842374712228775 ]
http://arxiv.org/abs/2404.06579v1
http://arxiv.org/pdf/2404.06579v1
Less is More for Improving Automatic Evaluation of Factual Consistency
2024-04-09T19:02:12
2024-04-09T19:02:12
Tong Wang, Ninad Kulkarni, Yanjun Qi
cs.CL
cs.CL, cs.AI, cs.LG
Assessing the factual consistency of automatically generated texts in relation to source context is crucial for developing reliable natural language generation applications. Recent literature proposes AlignScore which uses a unified alignment model to evaluate factual consistency and substantially outperforms previous methods across many benchmark tasks. In this paper, we take a closer look of datasets used in AlignScore and uncover an unexpected finding: utilizing a smaller number of data points can actually improve performance. We process the original AlignScore training dataset to remove noise, augment with robustness-enhanced samples, and utilize a subset comprising 10\% of the data to train an improved factual consistency evaluation model, we call LIM-RA (Less Is More for Robust AlignScore). LIM-RA demonstrates superior performance, consistently outperforming AlignScore and other strong baselines like ChatGPT across four benchmarks (two utilizing traditional natural language generation datasets and two focused on large language model outputs). Our experiments show that LIM-RA achieves the highest score on 24 of the 33 test datasets, while staying competitive on the rest, establishing the new state-of-the-art benchmarks.
[ -0.31368693709373474, -0.2736130654811859, 0.453095406293869, -0.16940729320049286, -0.03601613640785217, 0.008403926156461239, -0.4958035349845886, -0.6294599175453186, -0.30937060713768005, 0.15460099279880524, -0.5687478184700012, -0.38098570704460144, -0.6092182397842407, 0.2593349516391754, -0.2809620797634125, 0.9128305315971375, -0.07649204879999161, 0.05085575580596924, -0.4225245714187622, -0.7156679630279541, -0.8400325775146484, 0.18875670433044434, -0.2727026045322418, -0.5061451196670532, 0.1545047014951706, 0.5227724313735962, 0.9821444153785706, 0.7855433821678162, 0.8352783918380737, 0.23561061918735504, 0.19744619727134705, 0.32783418893814087, -0.658900797367096, -0.002812360879033804, 0.11481916904449463, -0.20744143426418304, -0.08963558077812195, 0.17505617439746857, 0.6033769845962524, 0.5206156373023987, -0.18261435627937317, 0.4410719871520996, 0.033820874989032745, 0.8692879676818848, -0.9522815346717834, 0.10798337310552597, -0.6156070828437805, -0.1206473857164383, -0.010648861527442932, 0.21516969799995422, -0.5868536233901978, -0.7630442976951599, 0.01457712147384882, -0.8847216963768005, 0.09968822449445724, 0.2588469386100769, 1.243178367614746, 0.5579356551170349, -0.31512197852134705, -0.1643623411655426, -0.7043159008026123, 0.8647802472114563, -0.8279601335525513, 0.6403222680091858, 0.10067632794380188, 0.5113663673400879, 0.10004645586013794, -0.5209664106369019, -0.7338671088218689, -0.2729312777519226, -0.1940196007490158, 0.13135632872581482, -0.2592812478542328, -0.2815893590450287, 0.5504691004753113, 0.23327670991420746, -0.5802757740020752, 0.010082597844302654, -0.21486376225948334, -0.29230114817619324, 0.7393978238105774, 0.16533158719539642, 0.10576742887496948, -0.27128803730010986, -0.34979018568992615, -0.4743460416793823, -0.6391900777816772, 0.13900259137153625, 0.09819994866847992, 0.33042609691619873, -0.1989489495754242, 0.8038016557693481, -0.34243372082710266, 0.6870273351669312, 0.23503819108009338, -0.4821639955043793, 0.2429371178150177, -0.571454644203186, -0.29094064235687256, 0.18224254250526428, 0.6954836249351501, 0.4565454125404358, 0.20723070204257965, 0.18864072859287262, -0.036675650626420975, 0.35558152198791504, 0.17014190554618835, -0.7856842279434204, -0.31418266892433167, -0.14610323309898376, -0.2515930235385895, -0.01764514110982418, 0.28166747093200684, -0.4190450608730316, -0.4431452453136444, -0.73520427942276, 0.328715443611145, -0.8290491104125977, 0.2917444705963135, 0.1074252799153328, -0.09781301021575928, 0.5127483010292053, 0.45780497789382935, -0.5380696654319763, 0.35830938816070557, 0.9590907096862793, 0.7688464522361755, -0.20404231548309326, -0.022529752925038338, -0.6321682929992676, -0.18207906186580658, -0.5080748796463013, 0.888306736946106, -0.6810652613639832, 0.06512990593910217, -0.28792282938957214, -0.3378540575504303, -0.09515558928251266, -0.6948328018188477, 0.8934952020645142, -0.41130751371383667, 0.29588568210601807, -0.6739328503608704, -0.6255344152450562, 0.018509751185774803, 0.11597128212451935, -0.8604896068572998, 1.3788714408874512, 0.08387736976146698, -0.7233299016952515, 1.1686862707138062, -0.35965144634246826, -0.42050349712371826, -0.09337785094976425, -0.28288307785987854, -0.7742401361465454, 0.09283347427845001, 0.2336665689945221, -0.11929880827665329, -0.572364091873169, 0.3732072114944458, -0.20939823985099792, -0.4972877502441406, 0.12819598615169525, -0.5021101832389832, 0.6624589562416077, 0.3652203381061554, -0.39908862113952637, -0.36685556173324585, -0.9971953630447388, 0.1993715912103653, -0.12718768417835236, -0.41927215456962585, -0.42370811104774475, -0.29884248971939087, -0.20520199835300446, 0.0265023335814476, 0.11593487113714218, -0.8219163417816162, -0.11987745761871338, -0.2739526927471161, -0.27908259630203247, 0.2835107445716858, -0.15712617337703705, 0.6383888721466064, -0.7554395198822021, 0.17904223501682281, -0.20759843289852142, -0.09341873228549957, -0.020053444430232048, -0.5158292055130005, -0.7894459366798401, -0.5023364424705505, 0.5456463694572449, 0.35014399886131287, -0.217010036110878, 0.6046741604804993, -0.6548437476158142, -0.5017964839935303, -0.9339998364448547, 0.47873324155807495, 0.49014830589294434, 0.8424622416496277, 0.2941587269306183, -0.3741162419319153, -0.910320520401001, -0.7470433115959167, -0.5663622617721558, -0.12088844925165176, 0.08203054219484329, -0.07417816668748856, 0.46851903200149536, -0.26315611600875854, 1.464285969734192, -0.4189663827419281, -0.2654269337654114, -0.20383349061012268, 0.393835186958313, 0.1004311814904213, 0.5021965503692627, 0.25277215242385864, -0.5773669481277466, -0.9998734593391418, 0.0161674115806818, -0.625304639339447, -0.03663645312190056, -0.1744784712791443, -0.013903060927987099, 0.2525167465209961, 0.15481561422348022, -0.6498929262161255, 0.2728007137775421, 0.37456214427948, 0.1026969701051712, 0.363595575094223, -0.06183680146932602, 0.2337494045495987, -0.6250449419021606, 0.2907748222351074, 0.01876715011894703, -0.3898219168186188, -0.24016185104846954, -0.15499231219291687, 0.2604931890964508, -0.06480364501476288, -0.0711473822593689, 0.36446499824523926, -0.5914676189422607, -0.1521003395318985, -0.07916606217622757, 0.43984872102737427, 0.381530225276947, 0.017484430223703384, -0.21824337542057037, 0.9107593894004822, 0.2527894377708435, -0.34817206859588623, 0.2533969283103943, 0.578522801399231, -0.7504467964172363, 0.7547343373298645, -0.3875071108341217, 0.009400196373462677, -0.2618672251701355, 0.31027957797050476, -1.1311659812927246, -0.5134865045547485, -0.23892520368099213, -0.35752514004707336, 0.3450291156768799, 0.08304601907730103, -0.3951725959777832, -0.23592813313007355, -0.5507537722587585, 0.15878815948963165, 0.8467515110969543, -0.6935441493988037, 0.20931367576122284, 0.23030200600624084, 0.052735403180122375, -0.7467861771583557, -0.7677732110023499, -0.1561008244752884, -0.15169845521450043, -0.8568589091300964, 0.037354424595832825, 0.04563114792108536, -0.5831409692764282, -0.0008735866285860538, -0.38648495078086853, -0.09278466552495956, 0.02720986120402813, -0.037137068808078766, 0.17001399397850037, -0.6384843587875366, 0.24570754170417786, 0.01025050412863493, -0.14391332864761353, -0.26529228687286377, 0.10882183164358139, 0.13209176063537598, -0.16900019347667694, -0.4755123257637024, -0.7624853253364563, -0.0894557312130928, 0.27753493189811707, -0.018789276480674744, 0.8394307494163513, 0.4813254177570343, -0.18348944187164307, 0.051390454173088074, -0.6205919981002808, -0.16263003647327423, -0.4372166693210602, -0.05667489022016525, -0.08283256739377975, -0.506130576133728, 0.203912615776062, -0.12009800970554352, 0.2594545781612396, 0.590954601764679, 0.08361799269914627, -0.043070562183856964, 1.030053973197937, 0.6280245184898376, 0.0055333757773041725, 0.17092375457286835, 0.08565173298120499, 0.3136787414550781, -0.6630415916442871, -0.185237854719162, -0.4957452416419983, -0.12496946007013321, -0.5967926383018494, -0.43466973304748535, 0.16580155491828918, -0.05836628004908562, -0.18782737851142883, 0.6145219802856445, -0.35263803601264954, 0.609167218208313, 0.25440341234207153, -0.2180308848619461, 0.6960510015487671, -0.05821315199136734, -0.19557498395442963, -0.47963476181030273, -0.7904369235038757, -0.703915536403656, 1.0496948957443237, 0.12735070288181305, 0.8614210486412048, 0.17465172708034515, 0.5259241461753845, 0.2638961672782898, 0.6688631772994995, -0.5989407896995544, 0.18778176605701447, -0.18585336208343506, -0.6379110813140869, -0.3051730990409851, -0.4849306344985962, -0.7229682803153992, 0.02395230531692505, -0.5227488279342651, -0.3216104209423065, 0.1543308049440384, 0.23632198572158813, -0.5581954121589661, -0.08722256124019623, -0.9076786041259766, 0.6604544520378113, -0.08719665557146072, -0.4803237020969391, 0.17540445923805237, -0.662339448928833, 0.6402428150177002, -0.26497992873191833, 0.19189439713954926, -0.20850564539432526, 0.22960643470287323, 0.5109062790870667, -0.539422869682312, 0.46332189440727234, 0.01576622761785984, -0.18727192282676697, 0.46645471453666687, -0.14415770769119263, 0.6911607980728149, 0.18957668542861938, -0.41497528553009033, -0.21406686305999756, -0.2250671535730362, -0.25588342547416687, -0.5539754033088684, 0.7188106775283813, -0.6268435716629028, -0.255527138710022, -0.36031168699264526, -0.48136216402053833, -0.2721959948539734, 0.09403868764638901, 0.46954578161239624, 0.45032647252082825, -0.40366366505622864, 0.39938050508499146, 0.7283247709274292, -0.05337408557534218, 0.07003097981214523, 0.4973698556423187, 0.2594597339630127, -0.24014811217784882, 0.7689561247825623, 0.05488717928528786, 0.2394953817129135, 0.5189210176467896, 0.18476292490959167, -0.5373389720916748, -0.06089693680405617, -0.2964993417263031, 0.19483347237110138, -0.6711916327476501, -0.5444650650024414, -0.5034729242324829, -0.06868905574083328, -0.763451099395752, -0.07628539204597473, -0.7033751010894775, -0.4738660454750061, 0.21039944887161255, -0.11389029026031494, 0.3230034410953522, 0.6403449177742004, -0.27612417936325073, 0.5184110403060913, -0.5910720825195312, 0.3896309435367584, 0.3170625567436218, 0.34773728251457214, -0.27773648500442505, -0.6278493404388428, -0.19121035933494568, 0.11509191244840622, -0.24684655666351318, -0.48108720779418945, 0.1744460016489029, 0.4711686968803406, 0.32680371403694153, 0.3636503219604492, 0.33376485109329224, 0.9105196595191956, -0.5073448419570923, 0.40745794773101807, 0.2836851179599762, -0.908344566822052, 0.1480913758277893, -0.046114061027765274, 0.4837498366832733, 1.2294493913650513, 0.08874203264713287, -0.28273001313209534, -0.3532639443874359, -0.680701494216919, -0.6148253679275513, 0.6425974369049072, 0.474587619304657, -0.14638961851596832, 0.2818239629268646, 0.11876372247934341, 0.5023882389068604, 0.1943960338830948, -0.6677111983299255, -0.32502326369285583, -0.022654743865132332, -0.6798635125160217, 0.023983394727110863, -0.0682096928358078, -0.18725475668907166, -0.18154199421405792, 0.6536093950271606, -0.10814394056797028, 0.05869798734784126, 0.15121357142925262, -0.4101533591747284, -0.20016416907310486, 0.4448317587375641, 0.6003053784370422, 0.6037896275520325, -0.2780289053916931, 0.1012672409415245, 0.4392825961112976, -0.4078785479068756, 0.10945624113082886, 0.19109833240509033, -0.3312312662601471, 0.26028600335121155, 0.3873472511768341, 0.8033666014671326, 0.28087490797042847, -0.7670655250549316, 0.6230769157409668, -0.17321641743183136, 0.03176996856927872, -0.3721521198749542, 0.25703439116477966, -0.19981929659843445, -0.031330905854701996, 0.27481454610824585, 0.4141923487186432, 0.1103769987821579, -0.3803139925003052, 0.597661554813385, 0.40198755264282227, -0.5302180647850037, -0.14772407710552216, 0.5421390533447266, 0.030667848885059357, 0.10531055927276611, 0.3860071003437042, -0.20332011580467224, -0.14776228368282318, 0.47236770391464233, 0.373573899269104, 0.36892372369766235, 0.10312651097774506, 0.3653060495853424, 0.6732271909713745, 0.4834127426147461, -0.3788354992866516, -0.02978733740746975, -0.14676247537136078, -0.6147263646125793, -0.6165185570716858, -0.45611491799354553, -0.4654404819011688, 0.07343321293592453, -0.6894257068634033, 0.5806694626808167, -0.38208773732185364, -0.2071857899427414, -0.12077502906322479, 0.2719308137893677, -0.6038690209388733, 0.5162809491157532, 0.05081520974636078, 0.8379408717155457, -0.9987742304801941, 0.5136788487434387, 0.595129132270813, -0.1569414734840393, -1.0232346057891846, 0.05542688071727753, 0.2158389836549759, -0.6874092221260071, 0.4787583351135254, 0.37355348467826843, -0.14258524775505066, -0.3613177239894867, -0.65580815076828, -1.137648344039917, 1.1344012022018433, 0.6791077852249146, -0.631665825843811, 0.3531419634819031, 0.17024968564510345, 0.6580603122711182, -0.43191996216773987, 0.20091646909713745, 0.8891489505767822, 0.6965696215629578, 0.11320740729570389, -0.7193414568901062, 0.18952679634094238, -0.029303230345249176, -0.2739305794239044, 0.1578313708305359, -0.6614696383476257, 0.5599790215492249, -0.3560568690299988, -0.6176646947860718, 0.2931225895881653, 0.7465437054634094, 0.517979085445404, 0.5212353467941284, 0.30672281980514526, 0.7218404412269592, 1.1826201677322388, -0.16187109053134918, 1.1157972812652588, -0.10389804095029831, 0.45588141679763794, 1.4700028896331787, -0.7888872623443604, 0.6489062905311584, 0.2544061243534088, 0.120880126953125, 0.6119105219841003, 0.18548625707626343, -0.22531984746456146, 0.4058223366737366, -0.2075430005788803, -0.021643752232193947, -0.21037015318870544, -0.138403058052063, -0.2716374695301056, 0.4809166193008423, -0.26811477541923523, 0.054045118391513824, -0.4220857620239258, -0.17212051153182983, 0.24615904688835144, 0.6383522748947144, 0.19468069076538086, 0.7692322731018066, -0.14231985807418823, -0.8052968382835388, 0.6434062719345093, -0.07967328280210495, 0.46287810802459717, -0.4606149196624756, 0.021492594853043556, -0.20337846875190735, 0.23542135953903198, -0.23760436475276947, -0.45731258392333984, 0.2425028681755066, 0.3641975224018097, -0.041144393384456635, -0.07697734981775284, 0.7019707560539246, -0.22157610952854156, -0.416509747505188, 0.044160302728414536, 0.21447937190532684, -0.23224519193172455, 0.3807435631752014, -0.48527777194976807, 0.06530095636844635, -0.050309404730796814, 0.13048315048217773, 0.10797089338302612, 0.5701711177825928, 0.09133307635784149, 0.531512975692749, 0.6076371669769287, -0.09725003689527512, 0.18430739641189575, -0.03433549031615257, 0.6318258047103882, -0.5195264220237732, -0.12263195216655731, -0.5503905415534973, 0.5836285948753357, -0.48795390129089355, -0.5537962913513184, 0.9815400838851929, 0.9458491802215576, 0.7743979096412659, 0.20166350901126862, 0.8592445850372314, -0.2515331208705902, 0.8072189092636108, -0.5455505847930908, 0.5059911608695984, -0.37810033559799194, 0.399046927690506, -0.2898004949092865, -0.9551119804382324, -0.23781247437000275, 0.6210489869117737, -0.2903080880641937, -0.002577517880126834, 0.8102105259895325, 0.5760300159454346, -0.23737777769565582, 0.03399726748466492, 0.36322319507598877, 0.19049660861492157, 0.131749227643013, 0.16653002798557281, 0.7669462561607361, -0.8360705375671387, 0.5366435647010803, -0.3283742666244507, -0.02282380685210228, -0.12099169939756393, -0.8994899392127991, -0.5424314737319946, -0.1805357187986374, -0.4039757549762726, -0.21178409457206726, -0.022933989763259888, 0.8766158819198608, 0.5518078804016113, -0.9697089195251465, -0.044780053198337555, -0.246149480342865, 0.06791839748620987, -0.1408562809228897, -0.2421180158853531, 0.04660705849528313, -0.5145969986915588, -0.5943953990936279, 0.3937409222126007, 0.10819843411445618, -0.1474670022726059, 0.2872644066810608, -0.23703578114509583, -0.1685236692428589, 0.24312232434749603, 0.26372361183166504, 0.38864076137542725, -0.19194436073303223, -0.4762497544288635, 0.13959579169750214, -0.5018125772476196, 0.4625319838523865, 0.702229917049408, -0.8049556612968445, 0.3844594657421112, 0.5098335146903992, 0.7645577192306519, 0.4126679599285126, 0.5732760429382324, 0.6900783181190491, -0.793567419052124, 0.09423620998859406, 0.08192366361618042, 0.23122026026248932, 0.7831319570541382, -0.2752363383769989, 0.5161972641944885, 0.027422169223427773, -0.3227754533290863, -0.8076394200325012, 0.19690532982349396, -0.9746260046958923, 0.15018795430660248, 1.0682684183120728, -0.026585185900330544, -0.19264720380306244, -0.16850869357585907, -0.09620703756809235, 0.3302883803844452, -0.6501896381378174, 0.7279788255691528, 0.4385744035243988, -0.15701229870319366, 0.1753397285938263, -0.3710278272628784, 0.757392942905426, 0.7452784776687622, -0.7164474725723267, 0.1520758718252182, 0.6462432146072388, 0.31672608852386475, 0.3223726451396942, 0.37843164801597595, -0.14820244908332825, 0.3337271809577942, -0.0035422369837760925, -0.2904949486255646, 0.36005157232284546, -0.22486262023448944, -0.31503331661224365, -0.07593614608049393, 0.17174804210662842, 0.2612243592739105 ]
http://arxiv.org/abs/2404.07242v1
http://arxiv.org/pdf/2404.07242v1
Sandwich attack: Multi-language Mixture Adaptive Attack on LLMs
2024-04-09T18:29:42
2024-04-09T18:29:42
Bibek Upadhayay, Vahid Behzadan
cs.CR
cs.CR, cs.AI, cs.CL
Large Language Models (LLMs) are increasingly being developed and applied, but their widespread use faces challenges. These include aligning LLMs' responses with human values to prevent harmful outputs, which is addressed through safety training methods. Even so, bad actors and malicious users have succeeded in attempts to manipulate the LLMs to generate misaligned responses for harmful questions such as methods to create a bomb in school labs, recipes for harmful drugs, and ways to evade privacy rights. Another challenge is the multilingual capabilities of LLMs, which enable the model to understand and respond in multiple languages. Consequently, attackers exploit the unbalanced pre-training datasets of LLMs in different languages and the comparatively lower model performance in low-resource languages than high-resource ones. As a result, attackers use a low-resource languages to intentionally manipulate the model to create harmful responses. Many of the similar attack vectors have been patched by model providers, making the LLMs more robust against language-based manipulation. In this paper, we introduce a new black-box attack vector called the \emph{Sandwich attack}: a multi-language mixture attack, which manipulates state-of-the-art LLMs into generating harmful and misaligned responses. Our experiments with five different models, namely Google's Bard, Gemini Pro, LLaMA-2-70-B-Chat, GPT-3.5-Turbo, GPT-4, and Claude-3-OPUS, show that this attack vector can be used by adversaries to generate harmful responses and elicit misaligned responses from these models. By detailing both the mechanism and impact of the Sandwich attack, this paper aims to guide future research and development towards more secure and resilient LLMs, ensuring they serve the public good while minimizing potential for misuse.
[ -0.3511176109313965, -1.2355653047561646, 0.3020307421684265, 0.12776702642440796, -0.08874747902154922, 0.5034384727478027, -0.02487080544233322, -0.6048601269721985, 0.28426462411880493, 0.7581393122673035, -0.40011289715766907, -0.07512322813272476, -0.8205628395080566, -0.021315980702638626, -0.5183886885643005, 0.8176096677780151, 0.24837052822113037, 0.1813441812992096, -0.059927284717559814, 0.0028173746541142464, -0.4401521682739258, -0.8140862584114075, -0.6078498959541321, -0.14126074314117432, 0.5775372385978699, 0.12638092041015625, 0.5801043510437012, 0.15571247041225433, 0.5292861461639404, 0.3921158015727997, 0.0936327576637268, -0.15663117170333862, -0.6735912561416626, 0.1904909759759903, -0.23199380934238434, -0.4756148159503937, -0.5051712989807129, -0.12471745908260345, 0.4666265547275543, 0.5180779695510864, -0.13432087004184723, -0.051818832755088806, 0.00010405959619674832, 0.4566779136657715, -0.807395339012146, -0.3687967360019684, -0.9969909191131592, -0.18871305882930756, -0.5095088481903076, 0.17395728826522827, -0.4169362187385559, -0.0047715045511722565, -0.21853980422019958, -0.31524038314819336, -0.09293007850646973, 0.1346859335899353, 0.4797604978084564, 0.1460064947605133, -0.39663878083229065, -0.293906033039093, -0.546443521976471, 0.8612903356552124, -0.7586473822593689, 0.1497730016708374, 0.0711502805352211, 0.4328729510307312, -0.7040123343467712, -0.35380321741104126, -0.6811752319335938, 0.006730298046022654, 0.07836788892745972, 0.23088590800762177, -0.36004602909088135, -0.13881486654281616, -0.01382390595972538, 0.20324832201004028, -0.4791548550128937, 0.49909526109695435, -0.40013280510902405, -0.16359363496303558, 0.716376543045044, 0.21869590878486633, 0.4954812526702881, -0.19790934026241302, -0.8394358158111572, -0.16200608015060425, -0.660647988319397, 0.12501607835292816, 0.4454173147678375, 0.21064895391464233, -0.440881609916687, 0.6058433055877686, 0.1944424957036972, 0.9395942687988281, 0.07360740005970001, -0.39256078004837036, -0.04484626278281212, -0.06746111810207367, -0.26394131779670715, 0.2222737818956375, 0.8783398270606995, 0.37318331003189087, 0.12080121785402298, 0.016719141975045204, -0.2379215955734253, 0.26235121488571167, 0.43003425002098083, -0.41226768493652344, 0.0099143385887146, 0.3587999939918518, -0.14114294946193695, -0.46577194333076477, -0.023688163608312607, -1.0064369440078735, -0.5744827389717102, 0.4223843514919281, 0.237912118434906, -0.4230709969997406, -0.20784910023212433, 0.4588613510131836, -0.17254376411437988, 0.3244050443172455, 0.14605361223220825, -0.7192301154136658, 0.45296332240104675, 0.7499826550483704, 0.540179431438446, -0.2948945164680481, -0.2527182698249817, -0.3520498275756836, 0.6772028803825378, -0.0665682703256607, 0.9361637234687805, -0.7680333256721497, -0.6852617859840393, -0.1509997546672821, -0.1008923277258873, -0.22246088087558746, -0.4451541006565094, 0.3841664791107178, -0.5629908442497253, 0.4394772946834564, -0.09363115578889847, -0.4235135316848755, -0.2647213637828827, 0.5813392400741577, -0.6468138694763184, 0.6838637590408325, -0.06375228613615036, -0.9032695293426514, -0.3274238705635071, -0.5817167162895203, -0.492542564868927, -0.10644081979990005, -0.09757766127586365, -0.2531468868255615, 0.18639814853668213, 0.2795664072036743, 0.5025643706321716, -0.4914175868034363, -0.1532338559627533, -0.6232196092605591, -0.13445863127708435, 0.7686553597450256, -0.281218945980072, 0.7866047620773315, 0.21453304588794708, 0.09194143116474152, 0.054663676768541336, -0.829730749130249, -0.20174792408943176, 0.5490729212760925, -0.346493124961853, -0.5581371784210205, 0.16987189650535583, -0.14766138792037964, 0.2428802102804184, 0.3769699037075043, -0.5903395414352417, -0.10071458667516708, -0.5279272198677063, 0.3787284791469574, 1.0349478721618652, 0.24933834373950958, 0.21154342591762543, -0.5478596091270447, 0.6816365718841553, -0.01786511018872261, 0.28727731108665466, -0.11842041462659836, -0.4124893546104431, -0.3458358645439148, -0.3870472013950348, 0.1690039485692978, 0.8647331595420837, -0.7402350902557373, 0.117882139980793, 0.04605865478515625, -0.6090789437294006, -0.6331124901771545, 0.14759816229343414, 0.41690200567245483, 0.4876571297645569, 0.20963552594184875, -0.4964286684989929, -0.37030908465385437, -0.9190534353256226, -0.4290305972099304, -0.13896392285823822, 0.06916123628616333, 0.07812909781932831, 0.27553313970565796, -0.3889751732349396, 0.497243732213974, -0.5561167001724243, 0.10141666978597641, -0.2336217314004898, -0.16266755759716034, -0.029960479587316513, 0.47013208270072937, 0.7711010575294495, -0.7195528149604797, -0.4529741406440735, -0.12274006009101868, -0.5616222023963928, -0.17143921554088593, -0.10229932516813278, -0.11407950520515442, -0.10587899386882782, 0.35203996300697327, -0.32843485474586487, -0.28491541743278503, 0.7487292289733887, -0.07507111877202988, 0.5892876982688904, 0.26660194993019104, 0.005125836469233036, -1.2978932857513428, -0.2310628443956375, -0.028889209032058716, -0.11714541167020798, -0.8108512163162231, 0.31740498542785645, 0.10077838599681854, -0.1372624933719635, -0.8169212341308594, 0.5254871845245361, -0.24287284910678864, 0.04492279142141342, -0.38919585943222046, 0.03639526665210724, 0.03236266225576401, 0.24597974121570587, -0.43171530961990356, 0.5869253873825073, 0.6292687654495239, -0.4652838706970215, 0.6222885251045227, -0.06308230757713318, -0.17891724407672882, 0.884507417678833, -0.6046439409255981, 0.25862109661102295, -0.12731388211250305, 0.22789470851421356, -0.9533358812332153, -0.2923292815685272, 0.5486477017402649, -0.38911938667297363, 0.47167709469795227, 0.08698900043964386, -0.3110892176628113, -0.29301154613494873, -0.6398236751556396, 0.33953770995140076, 0.24598625302314758, -0.3756175637245178, 0.7285495400428772, 0.7182198762893677, -0.2103213369846344, -0.8394052982330322, -0.7682678699493408, 0.16366612911224365, -0.4044974744319916, -0.8341800570487976, 0.18884114921092987, -0.36931881308555603, -0.43805965781211853, -0.1638908088207245, -0.12304812669754028, 0.0003738893719855696, 0.5657748579978943, 0.06567741185426712, 0.2226163148880005, 0.04635176807641983, -0.40262916684150696, -0.12903530895709991, -0.04622757062315941, 0.34614691138267517, -0.05317738652229309, 0.6751090884208679, 0.20198075473308563, -0.6088340878486633, -0.000866453570779413, 0.5910066962242126, 0.6183054447174072, -0.23303304612636566, 0.6459420919418335, 0.5692208409309387, -0.2573133111000061, -0.027698926627635956, -0.6466315388679504, -0.113515704870224, -0.5557643175125122, 0.5137266516685486, -0.3382610082626343, -0.9938197731971741, 0.5930925607681274, -0.06482473760843277, 0.061229534447193146, 0.28382304310798645, 0.6814136505126953, -0.16984659433364868, 0.8013519644737244, 0.3973504900932312, -0.31260591745376587, 0.4455629289150238, 0.3298250436782837, 0.14189359545707703, -0.8991721272468567, -0.4017832577228546, -0.4909628629684448, -0.3662279546260834, -0.5316769480705261, -0.36919090151786804, 0.45049500465393066, -0.22926434874534607, -0.14551982283592224, 0.08529285341501236, -0.16775977611541748, 0.5372966527938843, 0.31915727257728577, -0.07190192490816116, -0.00958662573248148, -0.013540910556912422, -0.18177244067192078, 0.12131556123495102, -0.6233935952186584, -0.2760770320892334, 1.0796372890472412, 0.38429659605026245, 1.2897011041641235, 0.390206515789032, 0.6070061326026917, 0.2910781502723694, -0.040462758392095566, -0.41124022006988525, 0.6197565197944641, -0.12913258373737335, -0.6085200309753418, 0.20433765649795532, -0.3635767698287964, -0.9620490074157715, 0.45845314860343933, -0.4247746765613556, -0.6536476016044617, 0.026849189773201942, -0.03879880532622337, -0.3279808759689331, 0.46827274560928345, -0.9470187425613403, 0.5920325517654419, -0.8589242696762085, -0.2728255093097687, -0.08899493515491486, -0.6527872681617737, 0.6547679901123047, -0.5246598720550537, 0.5799002051353455, -0.15115463733673096, -0.11978249251842499, 0.5568749904632568, 0.13743893802165985, 1.2625023126602173, 0.09098436683416367, -0.30388975143432617, -0.1713627725839615, 0.31659841537475586, 0.6038753390312195, -0.01458998117595911, 0.1484784483909607, 0.22438378632068634, -0.24882397055625916, -0.7831740975379944, -0.5110630393028259, 0.818789541721344, -0.759118378162384, -0.9991291761398315, -0.5542625188827515, -0.487880140542984, -0.2263796031475067, 0.08284108340740204, 0.0426565445959568, -0.07852502167224884, -0.3148123323917389, -0.15301890671253204, 0.7627689242362976, -0.5236832499504089, 0.42475172877311707, 0.8928126692771912, -0.08357603847980499, -0.4721156358718872, 0.9151926636695862, -0.1954398900270462, 0.6812453866004944, 0.49028173089027405, 0.058172859251499176, 0.06443522125482559, -0.6506967544555664, -0.26930809020996094, 0.0693851187825203, -0.4156460762023926, -0.3101862668991089, -0.6131125688552856, -0.1323050558567047, -0.5370465517044067, -0.2681342661380768, -0.30758795142173767, -0.376045823097229, 0.04315821826457977, 0.016693973913788795, 0.05034691467881203, 0.6746052503585815, 0.08679788559675217, 0.5882274508476257, -0.7747706770896912, 0.35100027918815613, 0.4698810577392578, 0.1285879760980606, -0.1489906758069992, -0.23407863080501556, -0.21434442698955536, -0.0366959311068058, -0.4282092750072479, -1.3436517715454102, 0.16531091928482056, -0.12533454596996307, 0.7218660712242126, 0.39762693643569946, -0.08443847298622131, 0.3481557071208954, -0.4102226495742798, 0.886440098285675, 0.37124696373939514, -0.7088327407836914, 0.3411499261856079, -0.27625030279159546, 0.266196608543396, 0.12545990943908691, 0.2763104736804962, -0.6334227919578552, -0.591637372970581, -0.6119457483291626, -0.8331241011619568, 0.5792959332466125, -0.12821155786514282, 0.22389134764671326, -0.03783469274640083, 0.1053253784775734, 0.09395816177129745, 0.3125334084033966, -0.9868015050888062, -0.3585159182548523, -0.20706616342067719, -0.10217483341693878, 0.11780188977718353, -0.5474900007247925, -0.3572026491165161, 0.17108401656150818, 0.7667189836502075, 0.23060835897922516, 0.12559442222118378, -0.38189995288848877, -0.1451071947813034, -0.14206305146217346, 0.5766698122024536, 0.6235014796257019, 0.1770939975976944, -0.12315429747104645, 0.3047664165496826, 0.2558259069919586, -0.45621606707572937, 0.26883819699287415, 0.10203022509813309, -0.12453965842723846, -0.6019898653030396, 0.3577902913093567, 0.538604736328125, 0.530956506729126, -0.8626111149787903, 0.3558211028575897, -0.2186686247587204, 0.14332473278045654, -0.18072573840618134, 0.33487334847450256, 0.09554855525493622, 0.25798359513282776, 0.19449827075004578, 0.13920573890209198, -0.15610456466674805, -0.4693784713745117, -0.0559583343565464, 0.8147774934768677, -0.11525169014930725, -0.2984614372253418, 0.44554564356803894, 0.19939269125461578, -0.1595461666584015, 0.033125780522823334, 0.03096023015677929, -0.6462486982345581, 0.34311434626579285, 1.028948426246643, 0.6144350171089172, -0.7318326830863953, -0.004723397083580494, -0.1217726320028305, 0.7618537545204163, 0.14433278143405914, 0.17799502611160278, 0.48420247435569763, -1.0075321197509766, -0.2687380611896515, -0.5279363989830017, -0.40849828720092773, 0.4058261811733246, -0.4715704917907715, -0.044573135673999786, -0.732566237449646, 0.0027436302043497562, -0.028062330558896065, -0.25013941526412964, -0.25338101387023926, -0.031227411702275276, 0.38995036482810974, 0.632805347442627, -0.9265453815460205, 0.6477898955345154, 0.9176279306411743, -0.1144622266292572, -0.1654103696346283, -0.17645743489265442, 0.34669676423072815, -0.9424513578414917, -0.018814576789736748, -0.25302451848983765, -0.057863060384988785, -0.4057989716529846, -0.5232749581336975, -0.9755933880805969, 0.648215115070343, 0.6483446359634399, -0.5637009143829346, 0.2710835933685303, 0.3852071464061737, 0.11380834877490997, -0.3599369525909424, -0.1306576430797577, 0.5890894532203674, 0.5731348395347595, -0.1817203313112259, -0.5833103060722351, 0.11706363409757614, -0.2597503662109375, -0.09111429005861282, 0.23293930292129517, -0.8335458040237427, 1.1417557001113892, 0.1464419662952423, -0.1405368596315384, -0.3929087221622467, 0.4549824893474579, 0.3163350522518158, 0.09849771112203598, 0.40185514092445374, 0.7351130843162537, 0.7648943662643433, 0.11019627004861832, 1.2756637334823608, -0.1723450869321823, -0.15276964008808136, 1.1678922176361084, -0.4983022212982178, 0.8279590010643005, 0.5391910076141357, -0.03762763366103172, 0.38481947779655457, 0.541991114616394, -0.11848678439855576, 0.5623457431793213, 0.2062324583530426, -0.3310021758079529, -0.0726901963353157, 0.1968623697757721, -0.4013168513774872, 0.5226454138755798, 0.6205404996871948, -0.08541765809059143, -0.273859441280365, 0.23105596005916595, 0.21909810602664948, 0.2928956151008606, -0.26659947633743286, 0.8297997713088989, 0.13435176014900208, -0.1809970736503601, 0.5077807307243347, 0.5487051010131836, 0.8401870727539062, -0.8641911149024963, 0.42796289920806885, 0.06830901652574539, 0.03318321332335472, -0.08142201602458954, -0.46260640025138855, 0.03574230521917343, 0.06836666911840439, -0.21816569566726685, 0.22994951903820038, 0.9094240069389343, -0.31072455644607544, -0.6799062490463257, 0.5200754404067993, 0.6835293173789978, -0.25277066230773926, 0.088417649269104, -1.1280407905578613, 0.40549027919769287, 0.08440417051315308, -0.0800575315952301, 0.7390854358673096, 0.12590143084526062, 0.013220303691923618, 0.6672723293304443, 0.690701425075531, 0.2659783959388733, 0.3942631781101227, -0.15214930474758148, 0.9075331687927246, -0.6490034461021423, -0.5529648661613464, -1.0508915185928345, 0.21024230122566223, -0.17235396802425385, 0.22108718752861023, 0.9523820877075195, 0.45621731877326965, 1.1792117357254028, -0.00693316338583827, 1.0438337326049805, 0.04333760216832161, 0.4483099579811096, -0.648834228515625, 0.546919584274292, -0.3498486578464508, 0.6228156089782715, -0.3400720953941345, -0.7359310984611511, -0.19295597076416016, 0.25928622484207153, -0.32132717967033386, -0.06942491233348846, 0.6103553771972656, 0.8602598309516907, -0.21030929684638977, -0.045353662222623825, 0.15349332988262177, 0.49840983748435974, 0.5345916152000427, 0.7536386251449585, 0.9594957232475281, -0.17319972813129425, 0.28687748312950134, -0.18712946772575378, -0.2053840309381485, -0.17748937010765076, -0.7957961559295654, -1.0060399770736694, -0.26640695333480835, -0.12844553589820862, -0.25264444947242737, 0.18323782086372375, 0.8457047939300537, 0.41273385286331177, -0.8408940434455872, -0.4930654764175415, 0.6740018129348755, 0.312898725271225, -0.16589508950710297, -0.16538721323013306, 0.06018446013331413, -0.2522524297237396, -0.541905403137207, 0.7828561067581177, 0.30303141474723816, 0.32165610790252686, -0.37573760747909546, 0.016120553016662598, -0.4119987487792969, 0.43765789270401, 0.46951478719711304, 0.3250902593135834, -0.6087257266044617, -0.16466477513313293, -0.36651527881622314, -0.09914526343345642, -0.025152990594506264, 0.7414875626564026, -0.45484256744384766, 0.4780353903770447, 0.11739785969257355, 0.9304660558700562, 0.13511529564857483, -0.09121778607368469, 0.6332664489746094, -1.0051430463790894, 0.3765370845794678, 0.15318098664283752, 0.4697432219982147, 0.5877216458320618, -0.4446142017841339, 0.11172453314065933, 0.2010776698589325, -0.1429850459098816, -0.9029771685600281, 0.4819585084915161, -1.0280407667160034, -0.7653836011886597, 1.0250813961029053, 0.06800892949104309, -0.7164862155914307, -0.13331763446331024, -0.12768863141536713, -0.11372711509466171, -0.4346449077129364, 1.0298845767974854, 0.6369315385818481, 0.13498134911060333, 0.12672491371631622, -0.555061936378479, 0.2536095380783081, 0.371088445186615, -0.8049812316894531, -0.11028668284416199, 0.46792590618133545, 0.39047783613204956, 0.12595146894454956, 0.38390839099884033, -0.28237196803092957, 0.13246239721775055, -0.28256991505622864, -0.09223000705242157, -0.10576353967189789, -0.04190656915307045, -0.3610432744026184, 0.5651869773864746, -0.04875293746590614, -0.20530061423778534 ]
http://arxiv.org/abs/2404.06512v1
http://arxiv.org/pdf/2404.06512v1
InternLM-XComposer2-4KHD: A Pioneering Large Vision-Language Model Handling Resolutions from 336 Pixels to 4K HD
2024-04-09T17:59:32
2024-04-09T17:59:32
Xiaoyi Dong, Pan Zhang, Yuhang Zang, Yuhang Cao, Bin Wang, Linke Ouyang, Songyang Zhang, Haodong Duan, Wenwei Zhang, Yining Li, Hang Yan, Yang Gao, Zhe Chen, Xinyue Zhang, Wei Li, Jingwen Li, Wenhai Wang, Kai Chen, Conghui He, Xingcheng Zhang, Jifeng Dai, Yu Qiao, Dahua Lin, Jiaqi Wang
cs.CV
cs.CV, cs.CL
The Large Vision-Language Model (LVLM) field has seen significant advancements, yet its progression has been hindered by challenges in comprehending fine-grained visual content due to limited resolution. Recent efforts have aimed to enhance the high-resolution understanding capabilities of LVLMs, yet they remain capped at approximately 1500 x 1500 pixels and constrained to a relatively narrow resolution range. This paper represents InternLM-XComposer2-4KHD, a groundbreaking exploration into elevating LVLM resolution capabilities up to 4K HD (3840 x 1600) and beyond. Concurrently, considering the ultra-high resolution may not be necessary in all scenarios, it supports a wide range of diverse resolutions from 336 pixels to 4K standard, significantly broadening its scope of applicability. Specifically, this research advances the patch division paradigm by introducing a novel extension: dynamic resolution with automatic patch configuration. It maintains the training image aspect ratios while automatically varying patch counts and configuring layouts based on a pre-trained Vision Transformer (ViT) (336 x 336), leading to dynamic training resolution from 336 pixels to 4K standard. Our research demonstrates that scaling training resolution up to 4K HD leads to consistent performance enhancements without hitting the ceiling of potential improvements. InternLM-XComposer2-4KHD shows superb capability that matches or even surpasses GPT-4V and Gemini Pro in 10 of the 16 benchmarks. The InternLM-XComposer2-4KHD model series with 7B parameters are publicly available at https://github.com/InternLM/InternLM-XComposer.
[ -0.6968600153923035, -0.2800047695636749, 0.14891010522842407, 0.05528442561626434, -0.40238866209983826, 0.4148785471916199, 0.015443725511431694, -0.8223462700843811, -0.07557940483093262, 0.41869327425956726, -0.3575529456138611, -0.05410655587911606, -0.41504955291748047, -0.10288634896278381, -0.3082260191440582, 0.5761745572090149, -0.22171957790851593, -0.11908573657274246, -0.169917032122612, -0.3532533347606659, -0.5686949491500854, -0.5906105041503906, -0.477262407541275, -0.04031683877110481, 0.5827013850212097, 0.5013667941093445, 0.5036237239837646, 1.062746286392212, 0.9766355156898499, 0.4271508455276489, -0.026560422033071518, 0.22640857100486755, -0.4236605763435364, -0.04183703288435936, 0.20036837458610535, -0.4105031192302704, -0.706455647945404, -0.0649498701095581, 1.0213236808776855, 0.14070776104927063, -0.15672366321086884, 0.08075638115406036, 0.07674551755189896, 0.9770970344543457, -0.3743106722831726, 0.10462532192468643, -0.6529416441917419, 0.05301881954073906, -0.24775491654872894, 0.05329526588320732, -0.08592340350151062, 0.07442884147167206, -0.015619966201484203, -0.6529893279075623, 0.38321924209594727, 0.174127995967865, 0.9896632432937622, 0.4080031216144562, -0.42540833353996277, 0.15603283047676086, -0.6376627683639526, 0.5603151321411133, -0.3215050995349884, 0.6464299559593201, 0.027423052117228508, 0.8689829111099243, 0.2622354030609131, -1.0841991901397705, -0.39078792929649353, -0.07773149758577347, 0.11583063006401062, 0.050812236964702606, -0.20562411844730377, 0.17005407810211182, 0.44490453600883484, 0.7054253816604614, -0.5258782505989075, 0.22375193238258362, -0.5111097097396851, -0.17767071723937988, 0.45412829518318176, 0.38534924387931824, -0.14156699180603027, 0.05684481933712959, -0.4643028676509857, -0.012672052718698978, -0.7089939713478088, 0.2180004119873047, 0.06950362026691437, -0.27208593487739563, -0.14688415825366974, 0.24677595496177673, -0.1605125218629837, 0.8558545708656311, 0.07250261306762695, 0.08734701573848724, 0.2864328622817993, -0.4244493544101715, -0.18542197346687317, -0.32786014676094055, 0.22698329389095306, 0.4713200330734253, -0.2718683183193207, 0.2634226381778717, -0.30653631687164307, 0.23812995851039886, 0.5205800533294678, -0.7514379024505615, -0.2614501118659973, 0.016699299216270447, -0.5213754773139954, -0.2488899528980255, -0.3600146174430847, -0.9518519043922424, -0.3443945348262787, -0.625879168510437, 0.371035635471344, -0.22869646549224854, -0.2913762927055359, -0.09656640887260437, 0.12531518936157227, 0.19020791351795197, 0.4556170105934143, -0.7175275683403015, 0.11578458547592163, 0.4690142273902893, 0.7325289845466614, -0.3523293137550354, -0.07114078849554062, -0.34989380836486816, -0.06265690177679062, -0.49075451493263245, 0.5210827589035034, -0.2288592904806137, -0.180000901222229, 0.1828954815864563, -0.1549183428287506, 0.558792233467102, -0.700305163860321, 0.4583113193511963, -0.7163020968437195, -0.32218480110168457, -0.13772153854370117, -0.1801169365644455, -0.08418485522270203, 0.7273946404457092, -0.615800142288208, 0.9803279638290405, 0.4890144467353821, -0.4906476140022278, 0.2575848400592804, -0.48855331540107727, 0.20278441905975342, 0.5301241278648376, -0.25709542632102966, -0.5987619757652283, 0.12250691652297974, -0.17438159883022308, -0.004048557486385107, -0.2580329477787018, -0.10151179134845734, 0.05815049633383751, -0.08801533281803131, 0.2626373767852783, -0.6254810690879822, 0.05382515490055084, 0.0692247748374939, -0.15375006198883057, 0.3365575075149536, -0.9589133858680725, 0.011494194157421589, 0.0031820612493902445, -0.4861660897731781, -0.0894058346748352, -0.1856212317943573, -0.1352023482322693, 0.6357337236404419, 0.5369488000869751, -0.8768815994262695, 0.11578361690044403, -0.2952635884284973, 0.48022374510765076, 0.8576819896697998, -0.529649019241333, 0.3285701870918274, -0.18950602412223816, 0.4967159032821655, -0.16059021651744843, 0.5975537300109863, -0.5386710166931152, -0.22570332884788513, -1.0840065479278564, -0.5949192047119141, 0.020837046205997467, 0.14023412764072418, -0.7860441207885742, 0.08465199917554855, -0.37813785672187805, -0.5729474425315857, -0.32685017585754395, 0.08713584393262863, 0.24634602665901184, 0.3875826299190521, 0.4651821255683899, -0.18613968789577484, -0.809678316116333, -0.9571036100387573, 0.12836964428424835, -0.005027831997722387, 0.12616696953773499, 0.38494786620140076, 0.2647117078304291, -0.16528713703155518, 0.9666202664375305, -0.5327615737915039, -0.6846863031387329, -0.3071289360523224, -0.25098511576652527, 0.29576432704925537, 0.4214165508747101, 0.4800279140472412, -0.9519559144973755, -0.784744381904602, 0.26259514689445496, -0.35056236386299133, 0.17981727421283722, 0.13724558055400848, -0.10666840523481369, 0.42813777923583984, 0.48694393038749695, -0.40466248989105225, 0.4881802499294281, 1.0360344648361206, -0.3880060613155365, 0.8218329548835754, -0.6923779249191284, -0.08558160066604614, -0.7483640909194946, -0.14724841713905334, -0.000044349671952659264, -0.6734021902084351, -0.7188494205474854, 0.19678306579589844, 0.4633861184120178, 0.11212094873189926, -0.31191474199295044, 0.22350037097930908, -0.39452555775642395, -0.036933284252882004, -0.4943635165691376, -0.34916260838508606, -0.0644422248005867, 0.34716999530792236, 0.1633792519569397, 0.5618558526039124, 0.2889666259288788, -0.18176591396331787, 0.8008818626403809, 0.2941499352455139, -0.5648005604743958, 0.5570992231369019, -0.5592560172080994, -0.11313634365797043, 0.13924546539783478, 0.4766085147857666, -0.8159981966018677, -0.22217148542404175, -0.012035205028951168, -0.2474343478679657, 0.4695884585380554, 0.006628687493503094, -0.3652936518192291, -0.7763177156448364, -0.4450293481349945, 0.76743084192276, 0.8794443607330322, -0.6810765862464905, 0.5293080806732178, 0.3330325186252594, -0.0808844268321991, -0.2899382412433624, -0.576696515083313, 0.2620728015899658, -0.1366216093301773, -0.4898582696914673, 0.563703715801239, -0.11539176106452942, -0.048247095197439194, -0.21182098984718323, -0.006411580368876457, 0.14610442519187927, -0.5774972438812256, 0.3519202768802643, 0.7204471230506897, -0.22662073373794556, -0.09742843359708786, -0.346446692943573, -0.3340286910533905, 0.034238748252391815, -0.0587955005466938, 0.56093430519104, -0.19969651103019714, -0.2652362883090973, -0.2227582335472107, 0.2813588082790375, 0.806530773639679, -0.5213800668716431, 0.3684045076370239, 0.4135236442089081, -0.12624628841876984, 0.07785209268331528, -0.7037333846092224, -0.09621603041887283, -0.5636574625968933, 0.7511349320411682, -0.4205033779144287, -0.9035655856132507, 0.2698031961917877, -0.15429775416851044, 0.26214417815208435, 0.1481379270553589, 0.6258715987205505, -0.3241364657878876, 1.0074433088302612, 0.6813475489616394, 0.46062275767326355, 0.618139386177063, -0.4979090988636017, 0.2823883891105652, -1.28923761844635, -0.44198694825172424, -0.15239229798316956, -0.6664653420448303, -0.4363771080970764, -0.9472454190254211, 0.5014610886573792, -0.3797380030155182, -0.46814778447151184, -0.03160664439201355, -0.5683967471122742, 0.40189436078071594, 0.5712518692016602, 0.007606671657413244, 0.1986256092786789, 0.06954941153526306, 0.08434849232435226, -0.32640689611434937, -0.6561090350151062, -0.10589167475700378, 0.714781641960144, 0.6763103604316711, 0.5025621652603149, 0.0821964368224144, 0.06235464662313461, 0.3217451274394989, 0.11466270685195923, -0.6307669281959534, 0.545468807220459, -0.3343120813369751, -0.5938405990600586, -0.12324991822242737, -0.062120966613292694, -0.7080053687095642, 0.4410891532897949, -0.0721099004149437, -0.42871150374412537, 0.4125938415527344, 0.6765737533569336, -0.22957868874073029, 0.565833330154419, -0.19346338510513306, 0.6548578143119812, -0.24504557251930237, -0.5367316007614136, -0.34855595231056213, -0.8445751667022705, 0.3696715235710144, -0.40508967638015747, 0.1606907993555069, -0.21483361721038818, -0.2515300512313843, 0.5346165299415588, -0.5237907767295837, 0.7124415636062622, -0.04589533060789108, -0.15685079991817474, 0.03649082034826279, -0.13752052187919617, 0.6973184943199158, -0.05647137388586998, 0.04649394750595093, 0.28571468591690063, -0.03549284115433693, -0.33701473474502563, -0.4811690151691437, 0.9015418291091919, -1.058108925819397, -0.48956042528152466, -0.5239588022232056, -0.9522969722747803, -0.11641588062047958, -0.0005516141536645591, 0.24589888751506805, 0.6669294238090515, 0.04352424293756485, 0.4747765362262726, 0.40246233344078064, -0.1209079697728157, 0.47137314081192017, 0.5747783780097961, -0.36478710174560547, -0.4423600137233734, 1.1347955465316772, 0.3259296417236328, 0.5448580980300903, 0.19422578811645508, -0.008295190520584583, -0.4289809465408325, -0.6425013542175293, -0.4481450319290161, 0.09496069699525833, -0.6835249662399292, -0.5748072266578674, -0.3235168755054474, -0.47630512714385986, 0.02972983755171299, -0.2468695491552353, -0.783354640007019, -0.16740909218788147, -0.16607414186000824, 0.11618109047412872, 0.18525366485118866, 0.6011327505111694, -0.2932937443256378, 0.30856722593307495, -0.6949347853660583, 0.40185433626174927, 0.29233723878860474, 0.4759364426136017, -0.15355192124843597, -0.8226909041404724, -0.48073405027389526, -0.0589958056807518, -0.3705589473247528, -0.3063659965991974, 0.564050555229187, -0.03626970201730728, 0.29208171367645264, 0.35580793023109436, 0.11549099534749985, 0.6184179782867432, -0.7156471610069275, 0.8423109650611877, 0.530547022819519, -0.5558773279190063, 0.21704626083374023, -0.23439578711986542, 0.3985840976238251, 0.21764791011810303, -0.05423467606306076, -0.4862186014652252, -0.07927320152521133, -0.4763841927051544, -0.8876532316207886, 0.6709988713264465, 0.24854111671447754, 0.2808503210544586, 0.40783992409706116, 0.46661266684532166, 0.1733332872390747, -0.14314579963684082, -0.3627403974533081, -0.16061851382255554, -0.5717115998268127, -0.08466005325317383, -0.16687676310539246, -0.6234229207038879, 0.014628397300839424, -0.6306116580963135, 0.5582897067070007, -0.04853876307606697, 0.3485187292098999, 0.03043362870812416, 0.03510576859116554, 0.000930832524318248, -0.1776939332485199, 0.5688866972923279, 0.6981016397476196, -0.06974069029092789, 0.2389456033706665, 0.1549101024866104, -0.704500675201416, 0.4330328106880188, 0.04623771086335182, 0.18264782428741455, -0.16183733940124512, 0.3078199326992035, 1.046966791152954, -0.18028561770915985, -0.6096893548965454, 0.4537394642829895, -0.03580967336893082, -0.4029868543148041, -0.383795827627182, -0.01879665069282055, -0.20177410542964935, 0.3438434302806854, 0.32433226704597473, 0.37361544370651245, -0.19281049072742462, -0.11839361488819122, 0.17958936095237732, 0.2801643908023834, -0.5175151228904724, -0.5150748491287231, 0.5017542243003845, 0.52308189868927, -0.25561314821243286, 0.9385139346122742, 0.08905789256095886, -0.6268437504768372, 0.6936725974082947, 0.6772031188011169, 0.235092893242836, -0.47999101877212524, 0.12397489696741104, 0.4926815629005432, 0.21943429112434387, 0.18912005424499512, 0.21673673391342163, -0.08131907880306244, -0.864370584487915, -0.5037127733230591, -0.6723121404647827, -0.3041093349456787, 0.22342130541801453, -0.6475679278373718, 0.4541751444339752, -0.1902092844247818, 0.06380122154951096, -0.20052964985370636, -0.0018237406620755792, -0.5413625836372375, 0.19303515553474426, 0.19563806056976318, 1.2018359899520874, -0.3148343563079834, 1.2779358625411987, 0.5650396347045898, -0.01450339239090681, -0.6789216995239258, -0.2709989547729492, 0.041610099375247955, -0.834351658821106, 0.7577523589134216, 0.3215101361274719, 0.2688921391963959, 0.41548505425453186, -0.0958908274769783, -0.7275029420852661, 1.1691035032272339, 0.12420327961444855, -1.0848503112792969, -0.011911335401237011, 0.5284921526908875, 0.37472355365753174, -0.231811985373497, -0.1309085190296173, 0.7881816625595093, 0.437079519033432, 0.37158992886543274, -0.6765942573547363, -0.1605221927165985, -0.25257253646850586, 0.21537093818187714, 0.37291601300239563, -0.7211306095123291, 0.7719394564628601, -0.25540873408317566, 0.4299572706222534, 0.4657798111438751, 0.6695638298988342, 0.20883093774318695, -0.14445549249649048, 0.6582943797111511, 0.5207235217094421, 0.27774152159690857, -0.22217018902301788, 1.0648845434188843, -0.18434220552444458, 0.24739553034305573, 0.8258839249610901, -0.1644202619791031, 0.860850989818573, 0.6663964986801147, -0.18775466084480286, 0.35199183225631714, 0.6300026774406433, -0.17197032272815704, 0.612218976020813, 0.2478296160697937, -0.6430457234382629, -0.17113730311393738, -0.08206111937761307, -0.39174342155456543, 0.41616541147232056, 0.5562925338745117, -0.28404974937438965, -0.0069108582101762295, 0.5968549847602844, -0.617722749710083, -0.17532779276371002, -0.524888813495636, 0.5871617197990417, -0.1564868539571762, -0.610579788684845, 0.5327228903770447, -0.18243156373500824, 0.6389954686164856, -0.6947597861289978, -0.21022383868694305, -0.2956003248691559, 0.7579919695854187, -0.059662774205207825, -0.9731211066246033, 0.46299418807029724, -0.06782390177249908, -0.26746296882629395, -0.16079947352409363, 0.6428101658821106, -0.2610378563404083, -0.45747193694114685, 0.10177846252918243, -0.03116285242140293, -0.16254785656929016, -0.29385194182395935, -0.45487844944000244, 0.5600733160972595, 0.050266847014427185, -0.09126489609479904, 0.48906993865966797, 0.2773679792881012, -0.08474212884902954, 0.44715505838394165, 0.6136299967765808, 0.24343609809875488, 0.40248289704322815, -0.35681676864624023, 1.1869431734085083, -0.47022175788879395, -0.49814021587371826, -0.6189756393432617, 0.5636945962905884, -0.21881254017353058, -0.1393583118915558, 0.5051316618919373, 0.697412371635437, 0.5613601207733154, -0.025956889614462852, 0.6974604725837708, 0.003520665457472205, 0.3779981732368469, -0.11443645507097244, 0.33554232120513916, -0.781369149684906, 0.06670371443033218, 0.22948093712329865, -0.7899325489997864, -0.5816017985343933, 0.4653491973876953, -0.06221076473593712, -0.2204728126525879, 0.46118244528770447, 0.7069876194000244, -0.06563014537096024, -0.3758081793785095, 0.7663769721984863, 0.429650217294693, 0.7803932428359985, 0.34460118412971497, 1.0084096193313599, -0.1971416473388672, 0.8613352179527283, -0.2414737492799759, -0.5233137011528015, -0.512094259262085, -0.5393776297569275, -0.5312514901161194, -0.625975489616394, -0.27766531705856323, -0.2226996123790741, -0.051828186959028244, 0.6618391275405884, 0.896401047706604, -0.30368757247924805, 0.013852614909410477, -0.259440541267395, -0.39982616901397705, -0.18850618600845337, -0.08993919938802719, 0.4192062318325043, -0.24024979770183563, -0.7160243988037109, 0.05722317844629288, 0.5422719120979309, 0.07740523666143417, -0.6448086500167847, -0.579407811164856, 0.1518404185771942, 0.024858012795448303, 0.8602287769317627, 0.3986546993255615, -0.976124107837677, -0.21559667587280273, -0.09564080089330673, -0.09078380465507507, 0.4797123074531555, 0.690750002861023, -1.0206997394561768, 0.703853189945221, 0.5735068917274475, 0.4016123116016388, 0.6064403653144836, -0.16597017645835876, 0.5177624821662903, -0.6947136521339417, 0.23762232065200806, 0.09255702793598175, 0.24501633644104004, 0.26445528864860535, -0.16998028755187988, 0.435883104801178, 0.019755154848098755, -0.7276980876922607, -0.7553824782371521, 0.20310021936893463, -1.145094394683838, -0.11049248278141022, 0.9883152842521667, -0.2254924774169922, 0.05667685344815254, -0.09968157857656479, -0.8690302968025208, 0.14545662701129913, -0.06255805492401123, 0.6778184175491333, 0.3384673297405243, -0.21747195720672607, -0.624349057674408, -0.7833002805709839, 0.4544612169265747, 0.06621196120977402, -0.750466525554657, 0.02235499396920204, 0.19457237422466278, 0.01746053621172905, 0.216227188706398, 0.37555599212646484, -0.26698559522628784, 0.5127434730529785, 0.04211718589067459, 0.17492415010929108, -0.2715359032154083, -0.18427813053131104, -0.23203538358211517, 0.14704671502113342, 0.13774608075618744, -0.5982990860939026 ]
http://arxiv.org/abs/2404.06508v2
http://arxiv.org/pdf/2404.06508v2
On the Effect of (Near) Duplicate Subwords in Language Modelling
2024-04-09T17:57:29
2024-05-02T23:29:56
Anton Schäfer, Thomas Hofmann, Imanol Schlag, Tiago Pimentel
cs.CL
cs.CL, cs.LG, I.2.7
Tokenisation is a core part of language models (LMs). It involves splitting a character sequence into subwords which are assigned arbitrary indices before being served to the LM. While typically lossless, however, this process may lead to less sample efficient LM training: as it removes character-level information, it could make it harder for LMs to generalise across similar subwords, such as now and Now. We refer to such subwords as near duplicates. In this paper, we study the impact of near duplicate subwords on LM training efficiency. First, we design an experiment that gives us an upper bound to how much we should expect a model to improve if we could perfectly generalise across near duplicates. We do this by duplicating each subword in our LM's vocabulary, creating perfectly equivalent classes of subwords. Experimentally, we find that LMs need roughly 17% more data when trained in a fully duplicated setting. Second, we investigate the impact of naturally occurring near duplicates on LMs. Here, we see that merging them considerably hurts LM performance. Therefore, although subword duplication negatively impacts LM training efficiency, naturally occurring near duplicates may not be as similar as anticipated, limiting the potential for performance improvements.
[ -0.2841460704803467, -0.5989855527877808, 0.05615291744470596, -0.17767305672168732, -0.4698362350463867, 0.2064540684223175, 0.02551436237990856, -0.7653288245201111, 0.218931645154953, 0.43683335185050964, -0.2137063443660736, -0.24959084391593933, -0.429981529712677, 0.23259851336479187, -0.5180193185806274, 0.8087112903594971, 0.06694008409976959, 0.33150604367256165, -0.2953049838542938, -0.3810677230358124, -0.6554585099220276, -1.2898752689361572, -0.6342461109161377, -0.3412012457847595, 0.6175462007522583, 0.10056670755147934, 0.6320470571517944, 0.4342672824859619, 0.413412481546402, 0.3133351504802704, -0.4416500926017761, -0.03427561745047569, -0.6864956021308899, -0.2391778528690338, -0.2757715880870819, -0.8910879492759705, -0.39905858039855957, 0.09480908513069153, 0.9049351811408997, 1.070517897605896, 0.18200452625751495, -0.11604412645101547, -0.0037243159022182226, 0.7406507730484009, -0.5487169623374939, -0.08450436592102051, -0.6467544436454773, 0.2605823874473572, -0.4649965465068817, -0.039906974881887436, -0.10333188623189926, -0.22948411107063293, -0.0036951943766325712, -0.3605586588382721, 0.37734511494636536, 0.10889428853988647, 0.6593618392944336, -0.08105040341615677, -0.014179302379488945, -0.17461466789245605, -0.40527117252349854, 0.929559051990509, -0.8917341828346252, 0.4094763696193695, 0.16097891330718994, -0.0563482791185379, -0.18202263116836548, -0.7436937689781189, -0.8590717315673828, -0.23539458215236664, -0.4466612637042999, -0.2189403474330902, -0.26902759075164795, 0.24492362141609192, 0.44041702151298523, 0.7075574398040771, -0.3141823709011078, 0.4207324981689453, -0.5545282959938049, -0.2016284167766571, 0.2859063446521759, 0.4464225769042969, 0.4517737627029419, -0.28866246342658997, -0.12853366136550903, 0.21102678775787354, -0.7792807221412659, 0.06963607668876648, 0.5414712429046631, 0.6186025142669678, 0.0402599573135376, 0.6085041165351868, -0.007320096716284752, 0.7319028973579407, 0.07103791832923889, -0.13622824847698212, 0.6308315992355347, -1.0054951906204224, -0.11948324739933014, -0.14767667651176453, 0.365975558757782, 0.09204830229282379, 0.40703171491622925, -0.2651084065437317, -0.28037041425704956, 0.009762764908373356, 0.1647549569606781, -0.614204466342926, -0.08376141637563705, 0.10977920889854431, -0.5179848670959473, -0.3629533052444458, 0.11471445113420486, -0.2427707463502884, -0.12699954211711884, -0.37355560064315796, 0.3426699936389923, -0.35281696915626526, -0.19256296753883362, 0.19212858378887177, -0.31867843866348267, 0.06223233789205551, -0.16877639293670654, -0.5982040166854858, 0.17044603824615479, 0.7972467541694641, 0.9140598773956299, -0.17836084961891174, -0.6684867739677429, -0.5765736699104309, -0.15313445031642914, -0.3023470342159271, 0.5082192420959473, -0.5498815178871155, -0.6558207273483276, -0.11547377705574036, 0.036328114569187164, -0.12880121171474457, -0.9515860080718994, 0.2621789574623108, -0.5198858380317688, 0.5645813345909119, -0.4805997908115387, -0.7886435985565186, -0.017321240156888962, -0.09070441126823425, -0.8330250382423401, 0.9387577176094055, 0.11870479583740234, -1.0133339166641235, 0.6576927304267883, -0.6572402715682983, -0.6665318608283997, 0.17935344576835632, 0.04946887493133545, -0.2451147586107254, 0.4347116947174072, -0.056279271841049194, 0.24483054876327515, 0.04339888319373131, -0.04576437547802925, -0.2566314935684204, -0.5350520014762878, 0.15406525135040283, -0.26468610763549805, 0.3025191128253937, -0.05640989542007446, -0.23667632043361664, -0.12097328901290894, -0.3807135224342346, -0.03842046856880188, -0.07780304551124573, -0.2781551480293274, -0.723216712474823, -0.3174082636833191, -0.05620649829506874, 0.3609789311885834, 0.31329259276390076, -0.6685503125190735, 0.24777133762836456, -0.560866117477417, 0.27353575825691223, 0.6023306250572205, 0.0222187377512455, 0.5928028225898743, -0.6418377161026001, 0.6819985508918762, 0.4025188088417053, 0.24845613539218903, -0.08369050920009613, -0.3506559431552887, -0.6716115474700928, -0.35031479597091675, 0.683236300945282, 0.3312310576438904, -0.7226929664611816, 0.22493256628513336, -0.32665443420410156, -0.3492860794067383, -0.5145848989486694, 0.28163471817970276, 0.7288662195205688, 0.18260601162910461, 0.14139798283576965, -0.6431999802589417, -0.7804089188575745, -1.0574126243591309, -0.7177781462669373, 0.04920662194490433, 0.4437946677207947, 0.0743667334318161, 0.576696515083313, -0.20188112556934357, 1.2645869255065918, -0.10583677142858505, -0.5027122497558594, -0.5484116077423096, 0.19067680835723877, 0.13820907473564148, 0.4987759292125702, 0.720140814781189, -0.9514613151550293, -0.39770129323005676, -0.18787029385566711, -0.5045560598373413, -0.3172167241573334, -0.06278717517852783, 0.11025557667016983, 0.5155221819877625, 0.6231452822685242, -0.7092484831809998, 0.5556732416152954, 0.4775014817714691, 0.2653411626815796, 0.3350938558578491, -0.189589262008667, -0.22676487267017365, -1.1769229173660278, 0.17268677055835724, -0.38829293847084045, -0.12977632880210876, -0.7363221645355225, 0.11239982396364212, -0.17067939043045044, 0.139340341091156, -0.8762192726135254, 0.805655837059021, -0.6067456603050232, -0.30202195048332214, -0.4257509112358093, 0.07307693362236023, -0.14713332056999207, 0.3232686519622803, -0.06462306529283524, 0.8654547333717346, 0.2964352071285248, -0.5010116696357727, 0.15745332837104797, -0.2525986433029175, -0.5315983295440674, 0.242676243185997, -0.5498989820480347, 0.22146131098270416, -0.2764398455619812, 0.33442044258117676, -0.604256272315979, 0.07696159929037094, -0.11312230676412582, -0.296807199716568, 0.3517487645149231, -0.09469229727983475, -0.7590166330337524, -0.3723548352718353, -0.21653401851654053, 0.7847447991371155, 0.4881792962551117, -0.6560781598091125, 0.5570446848869324, 0.3976263105869293, 0.06499762088060379, -0.6980820894241333, -0.9037072062492371, -0.02577587403357029, -0.29543250799179077, -0.414214164018631, 0.25642603635787964, 0.0846942812204361, -0.30984658002853394, 0.1922782063484192, -0.012114070355892181, 0.4304729104042053, 0.0594417080283165, 0.36046767234802246, -0.12776008248329163, 0.009528540074825287, 0.22187231481075287, -0.2997090816497803, -0.06911268085241318, -0.2686126232147217, -0.6108312010765076, 0.8571414947509766, -0.08043564110994339, -0.3867534399032593, -0.6593348979949951, 0.4813332259654999, 0.567009687423706, -0.12761546671390533, 1.1176130771636963, 0.2273453325033188, -0.46904900670051575, -0.15334762632846832, -0.5262863039970398, 0.13533373177051544, -0.4802994728088379, 0.7245988249778748, -0.6075370907783508, -0.7856747508049011, 0.602267861366272, 0.22230428457260132, 0.1795985847711563, 0.4056548476219177, 0.4311341941356659, -0.10969679057598114, 0.8538230061531067, 0.6905288696289062, -0.4222727119922638, 0.8588773012161255, -0.3789415955543518, 0.36210376024246216, -0.6081495881080627, -0.40296152234077454, -0.3054525852203369, -0.43799149990081787, -0.3024238646030426, -0.7565471529960632, -0.053911883383989334, 0.38508307933807373, 0.3157804012298584, 0.31227436661720276, 0.027982112020254135, 0.7232822179794312, 0.5364710688591003, -0.31383323669433594, 0.33213987946510315, 0.098444864153862, -0.3807377815246582, -0.15628203749656677, -1.0272424221038818, -0.3737901449203491, 0.8436676263809204, 0.15190252661705017, 0.6276649236679077, 0.10160750895738602, 0.749443769454956, 0.5389713048934937, 0.4144259989261627, -0.6462958455085754, 0.5836755633354187, -0.47183966636657715, -0.5917714834213257, -0.07923178374767303, -0.6848971247673035, -1.0370687246322632, 0.2426108419895172, 0.005827265325933695, -0.2570568323135376, -0.049846094101667404, 0.2673232853412628, -0.21064400672912598, 0.7082210183143616, -0.6911807656288147, 0.6386772394180298, -0.31794726848602295, -0.04220838472247124, -0.2811985909938812, -0.3648645281791687, 0.20624922215938568, -0.5960562229156494, 0.38661521673202515, 0.2730017602443695, -0.02830120548605919, 0.7732062339782715, -0.7713527679443359, 0.9763720035552979, -0.1151169165968895, -0.0036460983101278543, 0.12357773631811142, -0.1808892786502838, 0.4816557466983795, -0.547062337398529, 0.10633894056081772, 0.36327844858169556, 0.05548559129238129, -0.7738812565803528, -0.5037422180175781, 0.7681401371955872, -0.5897122025489807, -0.48331642150878906, -0.45143112540245056, -0.4796312153339386, -0.08810710161924362, 0.2338857203722, 0.5391167998313904, 0.5822579860687256, -0.16989925503730774, -0.09066805243492126, 0.1868007481098175, -0.27161046862602234, 0.3744922876358032, 0.46805399656295776, -0.4844531714916229, -0.2775546610355377, 0.9058801531791687, 0.42952170968055725, 0.6996394991874695, 0.47694194316864014, 0.06250423938035965, -0.43291088938713074, -0.6058136820793152, 0.05780792236328125, 0.4036814272403717, -0.7012493014335632, 0.12615856528282166, -0.6665462255477905, -0.10279534012079239, -0.45578017830848694, 0.0051421173848211765, -0.2921401560306549, -0.5579193830490112, -0.32554662227630615, -0.16992665827274323, 0.09455837309360504, 0.8524676561355591, -0.29881012439727783, 0.2708494961261749, -0.9007077813148499, 0.06167414039373398, 0.2707492411136627, 0.29120033979415894, 0.17368464171886444, -0.7225156426429749, -0.5016016364097595, 0.1037272959947586, 0.28377583622932434, -0.3473629653453827, 0.2858820855617523, 0.08455204218626022, 0.7079514861106873, 0.1867619901895523, -0.22460365295410156, 0.9716456532478333, -0.4099287688732147, 1.0295727252960205, 0.2416219264268875, -0.9650518894195557, -0.006849216762930155, 0.027249276638031006, 0.5311476588249207, 0.6130768656730652, 0.2771909832954407, -0.7400090098381042, -0.44169941544532776, -0.7955482006072998, -0.7334697246551514, 0.7004770040512085, 0.21447668969631195, 0.4332457184791565, -0.07181542366743088, 0.42417195439338684, 0.2871735692024231, 0.18052938580513, -0.5779399871826172, -0.2973534166812897, 0.12940776348114014, 0.1971154659986496, -0.3513250946998596, -0.3176805377006531, 0.2998761534690857, -0.23803848028182983, 0.7217277884483337, 0.34537050127983093, -0.09812776744365692, -0.2843124568462372, -0.3292773365974426, 0.0017751803388819098, 0.13066250085830688, 0.5831446051597595, 0.40824511647224426, -0.0045258766040205956, -0.005394457373768091, 0.45298948884010315, -0.3834248483181, -0.2589946389198303, -0.2749021351337433, 0.017467768862843513, 0.41088080406188965, 0.717097282409668, 0.7699349522590637, 0.13308115303516388, -0.6640903949737549, 0.4997099041938782, 0.00458909897133708, 0.034189190715551376, -0.42372560501098633, -0.01813432201743126, 0.025752846151590347, 0.014852527529001236, 0.2901191711425781, 0.15682825446128845, -0.33254504203796387, -0.9549407362937927, 0.3427372872829437, 0.4744223654270172, -0.0749894455075264, -0.3870702087879181, 0.2798859179019928, 0.14481568336486816, -0.618541419506073, 0.5986404418945312, -0.13004645705223083, -0.9685523509979248, 0.5245253443717957, 0.31262335181236267, 0.6473801732063293, 0.06679975986480713, -0.32359540462493896, 0.1376425176858902, 0.29154837131500244, -0.11741886287927628, 0.34596025943756104, 0.05884910747408867, -0.6189709305763245, -0.28937557339668274, -0.6347339749336243, -0.23296689987182617, 0.3631012439727783, -0.5623547434806824, 0.1916753053665161, -0.3414946496486664, -0.42511293292045593, -0.10605348646640778, -0.03545869514346123, -0.5646570920944214, 0.1953539252281189, 0.28365570306777954, 0.8518971800804138, -0.8029698133468628, 0.8798352479934692, 0.7264727354049683, -0.4778944253921509, -0.7943922877311707, 0.05392061173915863, -0.2943284809589386, -0.6700265407562256, 0.8075486421585083, 0.27528509497642517, -0.0629696398973465, -0.2719622552394867, -0.2274659425020218, -0.8422265648841858, 0.7093375325202942, 0.14458464086055756, -0.6435820460319519, -0.3593319058418274, 0.6983562111854553, 0.9555438160896301, -0.3258058428764343, 0.028197525069117546, 0.5614112019538879, 0.09091423451900482, -0.01599576696753502, -1.2500406503677368, -0.2714729905128479, -0.41072505712509155, 0.20463816821575165, 0.6449381709098816, -0.6097624897956848, 1.1417503356933594, -0.22653688490390778, -0.41881150007247925, 0.5258839726448059, 0.48520928621292114, 0.03806125372648239, 0.07066550105810165, 0.6320688724517822, 0.7144611477851868, 0.6703039407730103, 0.19088579714298248, 1.296606421470642, -0.2775740921497345, 0.37577366828918457, 1.243558645248413, -0.1322881281375885, 0.6927170753479004, 0.5899965167045593, -0.06221841648221016, 0.3238532245159149, 0.4122236669063568, 0.2657307982444763, 0.5057809352874756, 0.6090882420539856, -0.1123342514038086, -0.15553922951221466, -0.22273977100849152, -0.6730750203132629, 0.36131805181503296, 0.05051885545253754, -0.6047511696815491, -0.08097709715366364, 0.2855510115623474, -0.06883614510297775, -0.09931528568267822, -0.36378395557403564, 0.5132903456687927, 0.21004246175289154, -0.4706859886646271, 0.5195330381393433, 0.12556467950344086, 0.8497174382209778, -0.508790910243988, 0.17723536491394043, -0.7645959854125977, 0.29403066635131836, -0.27816125750541687, -0.4785216748714447, 0.3406970202922821, 0.028719665482640266, -0.24106061458587646, -0.20942941308021545, 0.40960484743118286, -0.4324297606945038, -0.4437040388584137, 0.37966659665107727, 0.4268571138381958, 0.4245539903640747, 0.09804968535900116, -0.5963609218597412, -0.07609228044748306, -0.017177708446979523, 0.03522452339529991, 0.4871853291988373, 0.3315557539463043, -0.17943620681762695, 0.5380576848983765, 0.8683614730834961, 0.3537919223308563, 0.4242366850376129, 0.22268816828727722, 0.7708801031112671, -0.8154170513153076, -0.568315863609314, -0.7507046461105347, 0.1699901521205902, -0.07075821608304977, -0.3579213321208954, 0.8024086356163025, 0.8670023679733276, 1.2050046920776367, 0.08188250660896301, 0.7833110690116882, 0.18476919829845428, 0.7306259870529175, -0.5593514442443848, 0.500819981098175, -0.8838250041007996, 0.5755398869514465, -0.29949209094047546, -0.8780230283737183, -0.13392376899719238, 0.10859615355730057, -0.429934561252594, 0.23682904243469238, 0.7035285830497742, 0.8009044528007507, -0.09646062552928925, 0.1289251297712326, 0.540673017501831, 0.3167165517807007, 0.018780697137117386, 0.43560487031936646, 1.1085331439971924, -0.22502540051937103, 0.2702747583389282, -0.38226640224456787, 0.2570286691188812, -0.004150948021560907, -0.580930233001709, -1.2272669076919556, -0.5299611687660217, -0.10756951570510864, -0.23913255333900452, -0.008321131579577923, 0.8042640686035156, 0.4201469421386719, -0.7306510210037231, -0.019517431035637856, -0.13044992089271545, -0.10010945051908493, 0.12864677608013153, -0.21920567750930786, 0.2891816794872284, -0.2164781391620636, -0.8580451011657715, 0.0945570170879364, 0.1283128410577774, 0.20492000877857208, -0.2526051998138428, 0.03021387942135334, -0.1835946887731552, 0.1152491346001625, 0.5668918490409851, 0.325583279132843, -0.6912081241607666, -0.18324412405490875, -0.17489852011203766, -0.2638900876045227, -0.026706501841545105, 1.0709481239318848, -1.0526916980743408, 0.3102561831474304, 0.5846412181854248, 0.4490908086299896, 0.29576238989830017, 0.12337948381900787, 0.5693352222442627, -0.7846465110778809, 0.3476993441581726, 0.2815963327884674, 0.38020727038383484, 0.4227980077266693, -0.151203915476799, 0.32590243220329285, 0.7089604139328003, -0.004921655170619488, -1.0872247219085693, 0.24269671738147736, -0.5196704864501953, -0.4298134446144104, 1.2467329502105713, -0.08873945474624634, 0.07938741147518158, -0.3054136335849762, -0.06852942705154419, 0.16642121970653534, -0.07645685225725174, 0.4320787191390991, 0.7060630321502686, -0.012364998459815979, 0.17324168980121613, -0.046225227415561676, 0.5037542581558228, 1.0387698411941528, -0.5075461864471436, -0.02204972878098488, 0.2977246046066284, 0.5344244241714478, 0.11980753391981125, 0.508094310760498, -0.16318921744823456, 0.06956714391708374, -0.101203054189682, -0.0069549609906971455, -0.22217705845832825, -0.1087188646197319, -0.6209732294082642, 0.22321467101573944, -0.07254646718502045, -0.19213055074214935 ]
http://arxiv.org/abs/2404.06503v1
http://arxiv.org/pdf/2404.06503v1
Comparing Two Model Designs for Clinical Note Generation; Is an LLM a Useful Evaluator of Consistency?
2024-04-09T17:54:10
2024-04-09T17:54:10
Nathan Brake, Thomas Schaaf
cs.CL
cs.CL
Following an interaction with a patient, physicians are responsible for the submission of clinical documentation, often organized as a SOAP note. A clinical note is not simply a summary of the conversation but requires the use of appropriate medical terminology. The relevant information can then be extracted and organized according to the structure of the SOAP note. In this paper we analyze two different approaches to generate the different sections of a SOAP note based on the audio recording of the conversation, and specifically examine them in terms of note consistency. The first approach generates the sections independently, while the second method generates them all together. In this work we make use of PEGASUS-X Transformer models and observe that both methods lead to similar ROUGE values (less than 1% difference) and have no difference in terms of the Factuality metric. We perform a human evaluation to measure aspects of consistency and demonstrate that LLMs like Llama2 can be used to perform the same tasks with roughly the same agreement as the human annotators. Between the Llama2 analysis and the human reviewers we observe a Cohen Kappa inter-rater reliability of 0.79, 1.00, and 0.32 for consistency of age, gender, and body part injury, respectively. With this we demonstrate the usefulness of leveraging an LLM to measure quality indicators that can be identified by humans but are not currently captured by automatic metrics. This allows scaling evaluation to larger data sets, and we find that clinical note consistency improves by generating each new section conditioned on the output of all previously generated sections.
[ 0.017580905929207802, -0.511883556842804, 0.7837181687355042, 0.2926118075847626, -0.3284716308116913, -0.10693102329969406, -0.0038342762272804976, -0.5556944012641907, 0.4100429117679596, 0.509505569934845, -0.2743450403213501, -0.6304187178611755, -0.6282304525375366, 0.16336530447006226, -0.5114039182662964, 1.3093276023864746, -0.1871623992919922, 0.36372634768486023, -0.12324216961860657, -0.2513226866722107, -0.39613375067710876, -0.2642122507095337, -0.8877974152565002, -0.44572725892066956, 0.5174654126167297, -0.013247099705040455, 0.6489734649658203, 0.9369718432426453, 0.8503190875053406, 0.29446378350257874, -0.21647804975509644, 0.38000884652137756, -0.18121807277202606, 0.17481832206249237, 0.1021944209933281, -0.43212804198265076, -1.0238637924194336, 0.10786454379558563, 0.45172467827796936, 0.6078712940216064, -0.28098583221435547, 0.29004353284835815, 0.0750114917755127, 0.35588887333869934, -0.3751247227191925, 0.06084927171468735, -0.2831948399543762, 0.08727739751338959, -0.15898005664348602, -0.22395600378513336, -0.32183581590652466, -0.5249457359313965, 0.03545646369457245, -0.5590370893478394, 0.4965381324291229, -0.11592832952737808, 0.8229958415031433, 0.14456520974636078, -0.5151328444480896, -0.602595329284668, -0.8176968097686768, 0.43209290504455566, -0.9798663258552551, 0.407173216342926, 0.3811647593975067, 0.33026859164237976, -0.0956980362534523, -0.9299806356430054, -0.42396852374076843, -0.7796302437782288, -0.2721407413482666, 0.3072970509529114, 0.07296059280633926, 0.09540124237537384, 0.20358848571777344, 0.3931553065776825, -0.18117788434028625, 0.26690778136253357, -0.244648277759552, -0.4322405457496643, 0.9118684530258179, 0.5573318600654602, 0.2963217794895172, -0.1591545194387436, -0.5382230281829834, -0.08407609909772873, -0.8384936451911926, 0.2300250232219696, 0.11172769218683243, 0.2527208626270294, -0.12327520549297333, 0.5674445033073425, 0.15043318271636963, 0.2462807148694992, 0.19909685850143433, -1.0394164323806763, 0.10553112626075745, -0.44504252076148987, -0.08786826580762863, 0.2478839010000229, 0.8456759452819824, 0.7195079922676086, -0.0709315836429596, -0.14289763569831848, -0.4045274257659912, 0.044251699000597, 0.5560688376426697, -0.6433569192886353, -0.1672695279121399, 0.29103660583496094, -0.8053780794143677, -0.39506301283836365, 0.19396468997001648, -0.3126315474510193, -0.5755044221878052, -0.4721842408180237, 0.18433496356010437, -0.22191642224788666, -0.13071613013744354, -0.06639787554740906, -0.021711956709623337, -0.08429824560880661, 0.5976160764694214, -0.9168402552604675, 0.7366567254066467, 0.8055233359336853, 0.6901177763938904, -0.21684452891349792, -0.10155563056468964, -0.5196853280067444, 0.21256187558174133, -0.5623735785484314, 0.6703548431396484, 0.0740726962685585, -0.6640071272850037, -0.09532751888036728, 0.010802395641803741, 0.10505769401788712, -0.7657867074012756, 0.9279364347457886, -0.06377848237752914, -0.027011685073375702, -0.29965531826019287, -0.8277096152305603, 0.1756599247455597, 0.0941077247262001, -0.6634935736656189, 0.9052572846412659, 0.33797377347946167, -0.6090944409370422, 0.7534052729606628, -0.3604486584663391, -0.3697013556957245, -0.17125184834003448, -0.3534298241138458, -0.955592691898346, 0.23364783823490143, -0.12132708728313446, 0.21120093762874603, -0.3355341851711273, 0.4492577612400055, -0.20604188740253448, -0.580158531665802, 0.658214807510376, -0.5128373503684998, 0.500948965549469, -0.0488177053630352, -0.38557198643684387, -0.12351945042610168, -0.894324779510498, -0.04584701731801033, 0.02620699815452099, -0.7160148024559021, 0.04249531403183937, -0.047324225306510925, 0.20835848152637482, 0.1357182413339615, 0.02725900709629059, -0.785043478012085, 0.09818187355995178, -0.042832691222429276, 0.3546518087387085, 0.5479614734649658, 0.31650295853614807, 0.0003998423053417355, -0.8394876718521118, 0.3544110655784607, 0.15820544958114624, 0.2616608142852783, -0.3333297371864319, -0.41884851455688477, -0.9312624931335449, -0.4260837137699127, 0.281223863363266, 0.24092240631580353, 0.07199780642986298, 0.2785474956035614, -0.17658817768096924, -0.6661733984947205, -0.6761347055435181, 0.19159455597400665, 0.7449415922164917, 0.7955055832862854, 0.4116738438606262, -0.42794886231422424, -0.6140589714050293, -0.8695107698440552, -0.12382064014673233, -0.5114043951034546, -0.19450971484184265, 0.39147406816482544, 0.1571173369884491, -0.18846778571605682, 0.8225369453430176, -0.14420747756958008, -0.24903245270252228, -0.28396353125572205, 0.016735272482037544, 0.11904730647802353, 0.44673579931259155, 0.41473668813705444, -0.3944980800151825, -0.3612912893295288, -0.09426061809062958, -0.8136036992073059, -0.30647343397140503, -0.2784106731414795, 0.05271981656551361, 0.3440380096435547, 0.29395705461502075, -0.7492201328277588, 0.7049330472946167, 0.11506479233503342, -0.06847473233938217, 0.6287879347801208, -0.49301886558532715, 0.3563011586666107, -0.8553459644317627, 0.06416095793247223, 0.0778413787484169, -0.26736515760421753, -0.8963854908943176, -0.39309927821159363, 0.20730437338352203, 0.3017108738422394, -0.37613099813461304, 0.5626288056373596, -0.23607736825942993, 0.05306817218661308, -0.34342747926712036, 0.23471693694591522, 0.16572466492652893, 0.1536746621131897, -0.04151665046811104, 0.502190351486206, -0.09242341667413712, -0.49293702840805054, 0.057254206389188766, 0.33012694120407104, -0.12360242009162903, 0.5758039355278015, -0.9691035151481628, 0.4154583215713501, 0.0856628566980362, 0.31910714507102966, -1.2156141996383667, -0.005292088259011507, 0.12394235283136368, -0.37705114483833313, 0.4155549108982086, 0.033780716359615326, -0.31835129857063293, -0.30015435814857483, -0.3245925009250641, 0.026485327631235123, 0.6535059809684753, -0.22404955327510834, 0.2943962812423706, 0.184896320104599, -0.08628447353839874, -0.370343416929245, -0.6962167024612427, 0.03157452866435051, -0.36056050658226013, -0.6310732960700989, 0.3379904627799988, 0.06359532475471497, -0.5818806886672974, -0.28847166895866394, -0.5632824897766113, 0.08166451752185822, 0.10582027584314346, 0.5658136606216431, 0.6287506222724915, -0.48820528388023376, -0.04609379172325134, 0.15408341586589813, -0.3367486894130707, 0.19407831132411957, 0.11166545003652573, 0.1831377148628235, 0.1904773712158203, -0.6935522556304932, -1.0880823135375977, 0.1797456443309784, 0.544640302658081, 0.23739506304264069, 0.40383726358413696, 0.38496559858322144, -0.21707305312156677, 0.11207372695207596, -0.872406542301178, -0.28744685649871826, -0.39657074213027954, 0.042392510920763016, -0.23964548110961914, -0.5786450505256653, 0.607484757900238, 0.008957651443779469, 0.3363950252532959, 0.38641032576560974, 0.6729215383529663, -0.5269389152526855, 0.9611886143684387, 0.5369061827659607, 0.04451264813542366, -0.12877079844474792, 0.012622893787920475, 0.25797051191329956, -0.9603010416030884, -0.3000030815601349, -0.4435429275035858, -0.1079268828034401, -0.5485098361968994, -0.09569540619850159, 0.5700746178627014, 0.15653502941131592, -0.34370678663253784, 0.21868197619915009, -0.2691502869129181, 0.06694744527339935, 0.3841499388217926, 0.41672515869140625, 0.5368671417236328, -0.18209947645664215, -0.054995328187942505, -0.12796753644943237, -0.40533190965652466, -1.1463855504989624, 1.3309370279312134, 0.580687403678894, 0.5979725122451782, 0.0941716656088829, 0.8925703763961792, 0.5282267332077026, 0.8359460234642029, -0.5361340045928955, 0.4684661626815796, -0.14083604514598846, -0.28990378975868225, -0.2237647920846939, -0.1431092619895935, -0.8807165026664734, 0.20500217378139496, -0.2388956993818283, -0.664112389087677, -0.1735491305589676, 0.3447335958480835, -0.41751164197921753, 0.0880071371793747, -0.26600202918052673, 0.5336170196533203, -0.24452467262744904, -0.2600758373737335, 0.14963747560977936, -0.6906773447990417, 0.3899769186973572, -0.2434609830379486, 0.0744800716638565, -0.1360202133655548, -0.15435253083705902, 0.648568332195282, -0.8253172039985657, 0.8756800293922424, -0.04074155539274216, -0.3669622838497162, 0.3750992715358734, 0.1650146096944809, 0.3505890667438507, 0.3098457157611847, 0.04733578488230705, 0.072564996778965, -0.01517074927687645, -0.12300381809473038, -0.8104719519615173, 0.17375512421131134, -0.7816345691680908, -0.874377429485321, -0.022301143035292625, -0.5035254955291748, 0.004810350481420755, -0.009170282632112503, 0.21204274892807007, 0.7390607595443726, -0.2929978370666504, -0.1996564120054245, 0.36502957344055176, 0.04401632770895958, 0.300550252199173, 0.7235653400421143, -0.03235626220703125, -0.5520046353340149, 0.5420413613319397, -0.07105313986539841, 0.3819959759712219, 0.24817746877670288, 0.20832626521587372, -0.3118603825569153, -0.6143842339515686, -0.4968513250350952, 0.5514532923698425, -0.650698184967041, -0.07184890657663345, -0.4571826457977295, -0.29426509141921997, -0.3132600486278534, -0.14921249449253082, -0.30245116353034973, -0.5464823246002197, 0.07941771298646927, -0.17711009085178375, 0.07356049865484238, 0.7523332238197327, 0.04626228287816048, 0.17419400811195374, -0.8772122263908386, 0.15889374911785126, -0.02304968796670437, -0.08454533666372299, -0.02330387383699417, -0.5356298685073853, -0.19560202956199646, 0.05459944158792496, -0.48638391494750977, -0.7478928565979004, 0.05537848174571991, -0.13929644227027893, 0.6078718900680542, 0.7363535165786743, -0.2310122549533844, 0.5816794037818909, -0.5177701711654663, 0.7617555856704712, 0.37245774269104004, -0.9254670739173889, 0.584695041179657, -0.30650779604911804, -0.18841271102428436, 0.5732595324516296, 0.1352701187133789, -0.5793591141700745, -0.7253443598747253, -0.8290550708770752, -0.45159539580345154, 0.40094301104545593, 0.27344202995300293, -0.10810542106628418, -0.0743914544582367, 0.6126388311386108, 0.2665936052799225, 0.14201730489730835, -0.3797338902950287, -0.33127713203430176, -0.07401308417320251, -0.2059929221868515, -0.041867855936288834, -0.4570767879486084, -0.5534070730209351, 0.0846295952796936, 0.28293487429618835, 0.08414257317781448, -0.014044552110135555, 0.40791916847229004, 0.09062236547470093, -0.009429700672626495, 0.10438431054353714, 0.9115661382675171, 0.80234295129776, -0.22275641560554504, 0.24989204108715057, 0.1558193564414978, -0.8457556366920471, 0.5931376814842224, -0.25760284066200256, -0.34450167417526245, 0.29787036776542664, 0.8217092156410217, 0.7569133043289185, 0.1947704404592514, -0.685824453830719, 0.6353973746299744, -0.06056119129061699, -0.20693449676036835, -0.37695467472076416, 0.21506251394748688, 0.19941118359565735, 0.21193115413188934, -0.13965323567390442, -0.04603191465139389, 0.11898471415042877, -0.42823344469070435, 0.28262630105018616, 0.10640028119087219, -0.42345893383026123, -0.28636422753334045, 0.9263547658920288, 0.01935947872698307, -0.568394660949707, 0.8492671847343445, 0.07415669411420822, -0.054662059992551804, 0.8645216226577759, 0.737653911113739, 0.7627054452896118, -0.2515840232372284, 0.21142840385437012, 0.2011881172657013, 0.22870907187461853, -0.09512767195701599, 0.12208101898431778, -0.1239522248506546, -0.6335204839706421, -0.21520784497261047, -0.39508724212646484, -0.6625701785087585, -0.021838506683707237, -0.9327744841575623, 0.3656826317310333, -0.4721691608428955, -0.5396803021430969, 0.16883067786693573, -0.013216153718531132, -0.32504042983055115, 0.3242407739162445, 0.08237183094024658, 0.9099946618080139, -0.8494934439659119, 0.6782952547073364, 0.614065408706665, -0.5669894814491272, -1.0602434873580933, -0.10558749735355377, 0.3909611403942108, -0.7287197113037109, 0.6300851106643677, 0.012896323576569557, -0.017341528087854385, -0.7624397873878479, 0.09883458912372589, -0.7221349477767944, 1.5225896835327148, 0.25385114550590515, -0.5259914398193359, 0.1883314698934555, 0.5539115071296692, 0.8826457858085632, -0.41669321060180664, 0.5756716728210449, 0.7624437212944031, 0.36959943175315857, -0.014045040123164654, -1.2184207439422607, 0.26480820775032043, -0.21284553408622742, 0.07937315851449966, 0.12532596290111542, -0.7134279608726501, 0.7929322719573975, -0.49010857939720154, -0.10257221013307571, 0.41995325684547424, 0.45291951298713684, 0.902492105960846, 0.7602292895317078, 0.41269972920417786, 0.41765138506889343, 1.0041136741638184, 0.022123578935861588, 1.0831199884414673, -0.33295926451683044, 0.2872088551521301, 1.158481478691101, -0.5219959616661072, 0.5510224103927612, 0.2757212817668915, -0.36032748222351074, 0.45369863510131836, 0.469880610704422, -0.0819089412689209, 0.17936919629573822, 0.2726169526576996, -0.2541038990020752, 0.08326549082994461, -0.049390196800231934, -0.14781874418258667, 0.4326002597808838, 0.02908381260931492, -0.7648947834968567, -0.05201349034905434, -0.33461013436317444, 0.6118512153625488, -0.03502072021365166, -0.13168488442897797, 0.8932218551635742, 0.27548304200172424, -0.641430675983429, 0.671958327293396, -0.024671852588653564, 0.046371906995773315, -0.5178148150444031, -0.018970506265759468, -0.6215369701385498, 0.23866568505764008, -0.3597094416618347, -0.46828213334083557, 0.2267647683620453, 0.04137217625975609, -0.2661292552947998, -0.11744683235883713, 0.6157116889953613, -0.3597494959831238, -0.4652479290962219, -0.11346070468425751, 0.4918384253978729, 0.3854241967201233, 0.5397431254386902, -0.3785260319709778, 0.17125481367111206, -0.15037132799625397, -0.2475777417421341, 0.29884886741638184, 0.2565842270851135, -0.1720985472202301, 0.68288654088974, 0.40516287088394165, 0.2776942551136017, -0.04872700572013855, 0.5244619250297546, 0.6097854971885681, -0.4838860332965851, -0.19329559803009033, -0.8977447748184204, 0.5573424100875854, -0.1821064054965973, -0.572036862373352, 0.8954127430915833, 0.7244119048118591, 0.32285481691360474, 0.11526045948266983, 0.7123993635177612, 0.38581591844558716, 0.5825099945068359, -0.6794010996818542, 0.6164842247962952, -0.3127051293849945, 0.3832045793533325, -0.31208857893943787, -0.9051705002784729, -0.13814541697502136, 0.306307852268219, 0.18699988722801208, 0.013106176629662514, 0.8281590938568115, 0.7445014119148254, -0.04374028369784355, 0.3293275833129883, -0.00770029379054904, 0.060822341591119766, 0.524551272392273, 0.44355231523513794, 0.7975664138793945, -0.41177496314048767, 0.1786840707063675, -0.31182703375816345, -0.23517730832099915, 0.08976832777261734, -0.5988796949386597, -0.7742252349853516, -0.2783929407596588, -0.45368900895118713, -0.6538129448890686, -0.032283663749694824, 0.8149353265762329, 0.6185324192047119, -0.6313427090644836, -0.37635254859924316, 0.09985894709825516, -0.31156012415885925, -0.4495869278907776, -0.08087144047021866, 0.7043905854225159, -0.3200685977935791, -0.6108239889144897, 0.24516098201274872, 0.47803640365600586, 0.17074604332447052, -0.2870270609855652, -0.07667164504528046, 0.5634831786155701, 0.09901103377342224, 0.33728575706481934, -0.009651098400354385, -0.962576687335968, -0.30414867401123047, -0.05676538497209549, -0.3791027367115021, 0.3296237289905548, 1.087900161743164, -0.4495684504508972, 0.1826794594526291, 0.1554783582687378, 0.4632207453250885, 0.6015779376029968, 0.1499299705028534, 0.37762340903282166, -0.1948106586933136, -0.18528053164482117, 0.10699869692325592, 0.5731390714645386, 0.3076230585575104, -0.3635956048965454, 0.6553531885147095, 0.10247451066970825, -0.6686033010482788, -0.8036355376243591, -0.09851235896348953, -1.151002049446106, 0.2381332367658615, 1.0118610858917236, -0.4275580644607544, -0.03981563448905945, -0.14336691796779633, -0.3755190372467041, 0.2355089783668518, -0.2070506066083908, 1.0212748050689697, 0.36038878560066223, -0.6319348216056824, 0.0618487149477005, -0.5635364055633545, 0.5201392769813538, 0.22548900544643402, -0.699166476726532, -0.20324237644672394, 0.23343214392662048, 0.6018009185791016, 0.3324895203113556, 1.07243812084198, -0.293283611536026, 0.42496734857559204, 0.11950971186161041, -0.12534911930561066, -0.0682583749294281, -0.06890718638896942, -0.10026904195547104, 0.10670346766710281, -0.0411677286028862, -0.04275115579366684 ]
http://arxiv.org/abs/2404.06488v1
http://arxiv.org/pdf/2404.06488v1
Pitfalls of Conversational LLMs on News Debiasing
2024-04-09T17:42:59
2024-04-09T17:42:59
Ipek Baris Schlicht, Defne Altiok, Maryanne Taouk, Lucie Flek
cs.CL
cs.CL, cs.AI
This paper addresses debiasing in news editing and evaluates the effectiveness of conversational Large Language Models in this task. We designed an evaluation checklist tailored to news editors' perspectives, obtained generated texts from three popular conversational models using a subset of a publicly available dataset in media bias, and evaluated the texts according to the designed checklist. Furthermore, we examined the models as evaluator for checking the quality of debiased model outputs. Our findings indicate that none of the LLMs are perfect in debiasing. Notably, some models, including ChatGPT, introduced unnecessary changes that may impact the author's style and create misinformation. Lastly, we show that the models do not perform as proficiently as domain experts in evaluating the quality of debiased outputs.
[ -0.17567138373851776, -0.8959649801254272, 0.8194870352745056, 0.15013347566127777, -0.39872151613235474, 0.15176521241664886, -0.2180929332971573, -0.25346487760543823, 0.034369971603155136, 0.566502571105957, -0.4438078999519348, -0.7085637450218201, -0.8504831790924072, 0.059388305991888046, -0.6309216022491455, 1.0351260900497437, 0.08124065399169922, 0.20065711438655853, -0.26242122054100037, 0.023348230868577957, -0.5151404142379761, -0.6081693768501282, -0.5499693751335144, -0.21661831438541412, 0.011732480488717556, 0.36426326632499695, 1.1936862468719482, 0.06920803338289261, 0.5835000872612, 0.20520685613155365, -0.579425573348999, 0.11902359127998352, -0.8245730996131897, -0.008985074236989021, -0.10438471287488937, -0.40864479541778564, -0.43412667512893677, 0.4231280982494354, 0.34100615978240967, 0.6538657546043396, -0.10037731379270554, 0.061732467263936996, 0.1654791533946991, 0.6890401244163513, -0.33023205399513245, -0.11629641056060791, -0.913576066493988, 0.14757755398750305, 0.3189103901386261, -0.031107904389500618, -0.42638590931892395, -0.7022682428359985, 0.2212693840265274, -0.13925112783908844, -0.06691308319568634, -0.14224250614643097, 0.882422685623169, 0.3213624358177185, -0.5810346007347107, -0.6095802783966064, -0.8143243789672852, 0.8196249604225159, -1.1290068626403809, 0.5019916892051697, 0.5233945846557617, 0.1270102858543396, -0.1256360411643982, -0.12258216738700867, -0.5613129734992981, -0.4707529842853546, 0.16317406296730042, 0.25983619689941406, -0.5600137114524841, 0.198409304022789, 0.23743389546871185, 0.33852386474609375, -0.3561195731163025, 0.30790311098098755, -0.3913678228855133, 0.3357362151145935, 0.6573231220245361, 0.05656583234667778, 0.0051202489994466305, -0.5432090759277344, -0.3156477212905884, 0.4330252707004547, -0.6642331480979919, -0.2267036885023117, 0.8810420632362366, -0.015883276239037514, -0.23264871537685394, 0.7798690795898438, -0.22622941434383392, 0.7726433277130127, 0.03623087704181671, -0.44046881794929504, 0.05356106907129288, -0.1231314167380333, -0.3854905962944031, -0.08612717688083649, 0.5876235365867615, 1.2155219316482544, 0.3659534454345703, -0.08393297344446182, -0.15493904054164886, 0.1570984423160553, 0.3453955054283142, -0.5689953565597534, -0.15530218183994293, 0.3546629250049591, -0.5102362036705017, -0.9131473302841187, -0.1906866580247879, -0.7970204949378967, -0.7240199446678162, -0.3053975999355316, 0.1457223743200302, -0.043943118304014206, 0.16158293187618256, 0.30641329288482666, -0.15906287729740143, -0.26306745409965515, 0.5123906135559082, -0.5048739910125732, -0.0405886135995388, 0.4367620646953583, 0.6371884942054749, -0.2787252366542816, 0.14010678231716156, -0.2069399356842041, -0.1436745524406433, -0.4766467809677124, 0.6794957518577576, -0.6542048454284668, -0.7075605988502502, 0.12917189300060272, -0.4075513780117035, 0.05352376773953438, -0.5879107117652893, 0.8653536438941956, -0.5284340381622314, 0.2906738817691803, -0.205458402633667, -0.4028700590133667, -0.20264385640621185, 0.5053949356079102, -0.4373857378959656, 0.5864770412445068, 0.08686775714159012, -0.7726597189903259, 0.20535525679588318, -0.2803986370563507, -0.2697488069534302, -0.5899854302406311, -0.042058881372213364, -0.2540269196033478, 0.033772971481084824, 0.37745344638824463, 0.3470327854156494, -0.13416308164596558, 0.6068074107170105, -0.4222634434700012, -0.1948636919260025, 0.7120147943496704, -0.6911892294883728, 0.6251256465911865, 0.39506685733795166, -0.12810228765010834, -0.14578518271446228, -0.7634734511375427, -0.25018179416656494, -0.2261076122522354, -0.6539602875709534, -0.3299245834350586, 0.21476083993911743, -0.10106085985898972, 0.18562932312488556, -0.17760390043258667, -0.40214526653289795, 0.13846875727176666, -0.3108578026294708, 0.48840370774269104, 0.7128927707672119, 0.3929249048233032, 0.18532349169254303, -0.5542411804199219, 0.4933987557888031, 0.20575055480003357, 0.10071226954460144, 0.012060203589498997, -0.2771001160144806, -1.0160499811172485, 0.11937396973371506, 0.35506460070610046, 0.5657177567481995, -0.7306535243988037, 0.44554761052131653, 0.006793184671550989, -0.7525447607040405, -0.375313937664032, 0.29292723536491394, 0.35860973596572876, 0.34071776270866394, -0.06634233146905899, -0.1855810582637787, -0.5338596701622009, -0.9858840703964233, -0.6102229952812195, -0.01087148580700159, 0.25894787907600403, 0.1335485577583313, 0.32471761107444763, -0.4526941478252411, 0.9148868322372437, -0.4012662172317505, 0.024387581273913383, -0.20791076123714447, 0.13932819664478302, 0.27102765440940857, 0.3133428394794464, 0.5275764465332031, -0.5937879681587219, -0.018323760479688644, -0.31669312715530396, -0.5915554165840149, -0.38626357913017273, -0.3156982958316803, 0.005252261180430651, 0.37457725405693054, 0.16765908896923065, -0.8045099377632141, 0.6259615421295166, 0.7966611981391907, -0.16268569231033325, 0.6632437109947205, 0.20851926505565643, 0.40767422318458557, -0.9735220074653625, -0.25549057126045227, 0.2927458584308624, -0.3738373816013336, -0.5314534306526184, -0.2280949205160141, -0.4389627277851105, -0.27036455273628235, -0.4833335876464844, 0.347900927066803, -0.38590115308761597, -0.07793863862752914, -0.27861830592155457, 0.711942195892334, 0.29126089811325073, 0.18007367849349976, -0.05331345647573471, 0.3116223216056824, 0.2544737160205841, -0.6610299348831177, 0.44116079807281494, 0.4858579933643341, -0.8141297698020935, 0.4838637411594391, -0.5242897272109985, 0.14961965382099152, -0.2930290699005127, 0.1528933346271515, -1.0456562042236328, -0.10771128535270691, 0.17339536547660828, -0.3777468800544739, -0.01255860086530447, -0.24205036461353302, -0.3201391100883484, -0.4354405105113983, -0.4776606261730194, -0.08136335015296936, 0.4816564619541168, -0.2965327501296997, -0.11839787662029266, 0.5679911971092224, -0.266882061958313, -0.49198073148727417, -1.0872563123703003, 0.3041408956050873, -0.17856688797473907, -0.45654335618019104, 0.05240511894226074, -0.2158709019422531, -0.7994208931922913, -0.005770085845142603, -0.24680303037166595, -0.07789009064435959, 0.1124792993068695, 0.15314289927482605, 0.2914329767227173, -0.040018532425165176, 0.09033806622028351, -0.03581057861447334, 0.18124884366989136, 0.024127067998051643, 0.5029363036155701, 0.34665754437446594, 0.10598388314247131, -0.6768627762794495, -0.4945005476474762, 0.03860987722873688, 0.6254390478134155, -0.00224970537237823, 0.313205361366272, 0.038361258804798126, -0.23558884859085083, 0.044936131685972214, -1.029617190361023, -0.11068277806043625, -0.32721397280693054, 0.5482980608940125, 0.12797288596630096, -0.8126075863838196, 0.39605969190597534, 0.28072577714920044, 0.06587722897529602, 0.24491728842258453, 0.6408403515815735, 0.09869474917650223, 0.9958910346031189, 0.27695944905281067, -0.1706729382276535, 0.3438790440559387, -0.08753790706396103, 0.5002850890159607, -0.5361678600311279, 0.10117633640766144, -0.5899721384048462, -0.3175329864025116, -0.4714091122150421, -0.3028779923915863, 0.30877476930618286, 0.10634654015302658, -0.058316778391599655, -0.08131013065576553, -0.32681941986083984, 0.5340688228607178, 0.4894144833087921, 0.01745506003499031, 0.7037122845649719, 0.03131885454058647, 0.40056082606315613, -0.09125349670648575, -0.6924571394920349, -0.9319858551025391, 0.8262290358543396, 0.6657328605651855, 1.426222324371338, 0.08636710792779922, 0.5122085809707642, 0.49341878294944763, 0.14885026216506958, -0.8982965350151062, 0.4332332909107208, -0.04419886693358421, -0.525323748588562, -0.11810982972383499, -0.27995431423187256, -0.47432586550712585, 0.32629692554473877, -0.29773712158203125, -0.8612762689590454, 0.413689523935318, -0.03387567028403282, -0.45830413699150085, 0.36754998564720154, -0.6491027474403381, 0.6887656450271606, -0.22255264222621918, -0.06451182067394257, -0.2640928626060486, -0.19733081758022308, 0.7785127758979797, -0.06791464984416962, 0.492274671792984, -0.27550145983695984, 0.13766677677631378, 0.7796941995620728, 0.06020788848400116, 1.1203652620315552, 0.003581423545256257, -0.15159153938293457, 0.5489481687545776, 0.3319665491580963, 0.41081762313842773, 0.20369605720043182, -0.30647099018096924, 0.24129103124141693, -0.008905983529984951, 0.009052184410393238, -0.30970457196235657, 0.6635017991065979, -0.8850303292274475, -1.004145860671997, -0.3551871180534363, -0.4575915038585663, -0.40868517756462097, -0.10982353985309601, 0.05278348922729492, 0.4767583906650543, -0.4680190086364746, 0.2672573924064636, 0.16645346581935883, -0.314678817987442, 0.30371081829071045, 0.5449755191802979, -0.3658958375453949, -0.40617406368255615, 0.3440559208393097, 0.2090703397989273, 0.35498347878456116, 0.036723848432302475, 0.08462212234735489, -0.013144698925316334, -0.7311640381813049, -0.48576733469963074, -0.12483847886323929, -0.8698517084121704, -0.2964453399181366, -0.6438683867454529, -0.3266989290714264, -0.4031440019607544, -0.12389269471168518, -0.271327942609787, -0.5316892862319946, -0.444313645362854, -0.2846611738204956, 0.03897625580430031, 1.004309892654419, 0.2153606414794922, 0.5924584865570068, -0.9404357671737671, 0.2793678641319275, 0.17582820355892181, 0.1222599670290947, -0.24201184511184692, -0.6267156004905701, -0.17191603779792786, 0.3706834018230438, -0.8349155187606812, -1.2899150848388672, 0.5035325884819031, -0.388331800699234, 0.6281135082244873, 0.3957955241203308, 0.21106013655662537, 0.4441879093647003, -0.18201953172683716, 1.145340085029602, 0.08202847838401794, -0.9147003293037415, 0.5264866352081299, -0.5049737095832825, 0.11281656473875046, 0.5057355165481567, 0.41327163577079773, -0.6005054116249084, -0.8822710514068604, -0.6528995037078857, -0.4588433504104614, 0.5215767025947571, 0.11108462512493134, 0.4895651638507843, -0.4048607051372528, 0.05403157323598862, 0.277424156665802, 0.6708056330680847, -0.9509889483451843, -0.0772879496216774, -0.09143057465553284, 0.15923921763896942, 0.06631788611412048, -1.0647549629211426, -0.23200251162052155, -0.10418243706226349, 1.0681606531143188, 0.12575751543045044, -0.016458693891763687, 0.33908799290657043, -0.2533116042613983, -0.23414716124534607, 0.5789290070533752, 0.770503580570221, 1.0513685941696167, -0.27466118335723877, 0.10149082541465759, 0.1366998553276062, -0.113715760409832, -0.04089224711060524, -0.005319654475897551, -0.3263130187988281, 0.39975690841674805, 0.16360606253147125, 0.9583643078804016, 0.4890376925468445, -0.5409567952156067, 0.6458278894424438, 0.13462382555007935, -0.27443262934684753, -0.22477088868618011, -0.09910974651575089, 0.22162769734859467, 0.41818666458129883, 0.07723546773195267, 0.25250616669654846, 0.16486774384975433, -0.5629668831825256, -0.10018443316221237, 0.6698718667030334, -0.3743257522583008, -0.11434707045555115, 0.6379623413085938, 0.4625351130962372, -0.15401265025138855, 0.4069279432296753, -0.060453929007053375, -0.5437653660774231, 0.4481387138366699, 0.44082212448120117, 0.838106095790863, -0.08758086711168289, 0.28623178601264954, 0.1411011815071106, 0.5427805185317993, -0.03730613738298416, -0.017589308321475983, 0.323544442653656, -0.9629210829734802, -0.3001430630683899, -0.5826486945152283, -0.7548475861549377, 0.5250824689865112, -0.2449655532836914, 0.5460569262504578, -0.2552920877933502, -0.3700360357761383, 0.030084799975156784, -0.14022435247898102, -0.541034460067749, 0.22289620339870453, 0.18209119141101837, 0.8841426968574524, -0.6862965226173401, 0.49358341097831726, 0.4662403166294098, -0.3338095545768738, -0.30759403109550476, 0.18359626829624176, 0.22625026106834412, -0.8064619302749634, 0.46391141414642334, -0.023010963574051857, 0.27479106187820435, -0.28233450651168823, -0.3577364981174469, -0.6938006281852722, 0.6889231204986572, 0.6313916444778442, -0.8362779021263123, -0.09393247961997986, 0.19278749823570251, 0.2462175339460373, -0.3059785068035126, 0.4297792315483093, 0.5106516480445862, 0.6233330368995667, -0.03205877169966698, -1.0370569229125977, -0.2740054726600647, 0.07719063013792038, -0.05897483974695206, -0.3894332945346832, -0.7396061420440674, 0.8569260239601135, -0.24644418060779572, -0.0710502341389656, -0.04808616265654564, 0.12218590080738068, -0.14725498855113983, 0.25058412551879883, 0.48316332697868347, 0.6800060868263245, 0.6008288860321045, 0.11262846738100052, 1.1217598915100098, -0.24710559844970703, 0.45646268129348755, 1.1055694818496704, -0.2927951216697693, 0.5513047575950623, 0.29984694719314575, -0.23819607496261597, 0.23382455110549927, 0.5787807106971741, -0.09176978468894958, 0.3713876008987427, 0.18584446609020233, -0.2268754094839096, -0.09906827658414841, -0.03933459892868996, -0.29131704568862915, 0.62029629945755, 0.05224394425749779, -0.6057116985321045, -0.5942825675010681, 0.13777142763137817, 0.45204421877861023, 0.1871640682220459, -0.26151949167251587, 0.6923738121986389, 0.20304721593856812, -0.6244025826454163, 0.5641389489173889, 0.2461928278207779, 0.6824758648872375, -0.12348155677318573, 0.12069566547870636, -0.2519983649253845, -0.07597097754478455, -0.38081759214401245, -0.88104248046875, 0.5266121625900269, 0.22931014001369476, -0.24035020172595978, -0.06522229313850403, 0.9739007353782654, -0.4716849625110626, -0.51643306016922, -0.09415007382631302, 0.9483551383018494, 0.2941031754016876, -0.24978743493556976, -0.5934014320373535, 0.4357789158821106, 0.35578474402427673, -0.8225623965263367, 0.05564771965146065, 0.024314533919095993, 0.07616272568702698, 0.5487825870513916, 0.5696181654930115, -0.00796484388411045, -0.3138750493526459, 0.23978208005428314, 0.8967569470405579, -0.7751309871673584, -0.26407143473625183, -1.2238913774490356, 0.33167919516563416, -0.055285703390836716, -0.26884639263153076, 0.8018104434013367, 0.6470503807067871, 0.6689134240150452, -0.2791149318218231, 0.9520145058631897, 0.22323361039161682, 0.6547257304191589, -0.721615731716156, 0.8299076557159424, -0.07724439352750778, 0.4361056387424469, -0.3098084628582001, -0.9724146127700806, -0.21802759170532227, 0.49468928575515747, -0.7941147089004517, 0.14872479438781738, 0.617842435836792, 0.9364399313926697, 0.08095192909240723, 0.2815941870212555, 0.7641900777816772, 0.585039496421814, 0.23498548567295074, 0.3084932565689087, 1.215886116027832, -0.14514663815498352, 0.4087305963039398, -0.40660303831100464, -0.030215876176953316, -0.29732006788253784, -1.1628676652908325, -1.2495766878128052, -0.322886198759079, -0.3549130856990814, -0.3825834393501282, 0.35118961334228516, 0.8417606353759766, 0.5543574690818787, -0.3939332962036133, 0.014085179194808006, 0.22194892168045044, 0.5810539722442627, 0.3915281295776367, -0.3045490086078644, 0.05358339846134186, -0.35006198287010193, -0.9544180035591125, 0.2598629593849182, -0.07839613407850266, 0.04536745324730873, -0.27092158794403076, 0.24570423364639282, 0.04888283833861351, 0.23887795209884644, 0.6532110571861267, -0.34569641947746277, -0.7620712518692017, -0.5917285680770874, -0.5073344707489014, -0.1721198409795761, 0.0774560272693634, 0.42689844965934753, -0.7413756847381592, 0.24304184317588806, 0.20153570175170898, 0.537746012210846, 0.24750067293643951, 0.2061169296503067, 0.3460000157356262, -0.5215275287628174, 0.1471792310476303, 0.23039212822914124, 0.32480284571647644, 0.6444181799888611, -0.438846617937088, 0.49779966473579407, 0.24222508072853088, -0.6978952884674072, -0.9766468405723572, 0.18327860534191132, -1.1671931743621826, -0.11569961905479431, 1.5703158378601074, 0.11065332591533661, -0.13192838430404663, 0.0998530387878418, -0.6251471638679504, 0.001584819401614368, -0.33516329526901245, 0.9079950451850891, 1.1022735834121704, 0.03954675793647766, 0.021416865289211273, -1.1177479028701782, 0.3884235620498657, 0.11450707912445068, -0.6993823647499084, 0.21854747831821442, 0.7933988571166992, 0.28355053067207336, -0.08764196932315826, 0.636322557926178, -0.1184319257736206, 0.16750051081180573, -0.08494741469621658, 0.057863809168338776, -0.10552974045276642, 0.15944771468639374, -0.27877676486968994, -0.18401962518692017, 0.49526146054267883, -0.04897693544626236 ]
http://arxiv.org/abs/2404.06480v2
http://arxiv.org/pdf/2404.06480v2
Ada-LEval: Evaluating long-context LLMs with length-adaptable benchmarks
2024-04-09T17:30:48
2024-04-10T07:40:56
Chonghua Wang, Haodong Duan, Songyang Zhang, Dahua Lin, Kai Chen
cs.CL
cs.CL, cs.AI
Recently, the large language model (LLM) community has shown increasing interest in enhancing LLMs' capability to handle extremely long documents. As various long-text techniques and model architectures emerge, the precise and detailed evaluation of models' long-text capabilities has become increasingly important. Existing long-text evaluation benchmarks, such as L-Eval and LongBench, construct long-text test sets based on open-source datasets, focusing mainly on QA and summarization tasks. These datasets include test samples of varying lengths (from 2k to 32k+) entangled together, making it challenging to assess model capabilities across different length ranges. Moreover, they do not cover the ultralong settings (100k+ tokens) that the latest LLMs claim to achieve. In this paper, we introduce Ada-LEval, a length-adaptable benchmark for evaluating the long-context understanding of LLMs. Ada-LEval includes two challenging subsets, TSort and BestAnswer, which enable a more reliable evaluation of LLMs' long context capabilities. These benchmarks support intricate manipulation of the length of test cases, and can easily produce text samples up to 128k tokens. We evaluate 4 state-of-the-art closed-source API models and 6 open-source models with Ada-LEval. The evaluation results demonstrate the limitations of current LLMs, especially in ultra-long-context settings. Our code is available at https://github.com/open-compass/Ada-LEval.
[ -0.25443100929260254, -0.7397662997245789, 0.7517989277839661, 0.41066157817840576, -0.31651028990745544, -0.025493880733847618, -0.5003287196159363, -0.6521427035331726, -0.15449443459510803, 0.15218327939510345, -0.1939922720193863, -0.531967043876648, -0.30487266182899475, 0.34671035408973694, -0.5823194980621338, 1.0636286735534668, -0.5135425925254822, -0.13010743260383606, -0.4702985882759094, -0.5260498523712158, -0.36602696776390076, -0.3649592697620392, -0.416493684053421, 0.06944264471530914, 0.29060131311416626, 0.14447101950645447, 0.4424137473106384, 0.5120739340782166, 0.4278871417045593, 0.2001095563173294, -0.4603446125984192, 0.10763367265462875, -0.5099455714225769, 0.2693845331668854, -0.02452193945646286, -0.39055830240249634, -0.7456908226013184, -0.17269006371498108, 1.1220570802688599, 0.5751470327377319, -0.16553367674350739, 0.5206087231636047, 0.11395374685525894, 0.8703637719154358, -0.4915434420108795, 0.025550514459609985, -0.53509521484375, -0.12553374469280243, -0.19110529124736786, 0.10887648910284042, -0.17541737854480743, -0.28060442209243774, 0.1340363621711731, -0.5281381607055664, -0.1613573431968689, 0.21994471549987793, 0.5697298049926758, 0.1618526577949524, -0.5078908801078796, -0.32046785950660706, -0.5317325592041016, 0.872223436832428, -0.8750112056732178, 0.5155201554298401, 0.3045641779899597, 0.4613928496837616, -0.1807100921869278, -0.6788235902786255, -0.3943163752555847, -0.35091233253479004, 0.24299024045467377, -0.09907848387956619, -0.14095531404018402, -0.006426655687391758, 0.35784977674484253, 0.5599321126937866, -0.626365065574646, 0.3922984004020691, -0.386541485786438, 0.028512345626950264, 0.46607694029808044, 0.2671998143196106, 0.14527377486228943, -0.04398677125573158, -0.4409711956977844, 0.22530683875083923, -0.8927384614944458, 0.08901926875114441, 0.2693469226360321, 0.0963049978017807, -0.2583576440811157, 0.6819623112678528, -0.2583206295967102, 0.7481145858764648, -0.2223566621541977, 0.07371950149536133, 0.2933008670806885, -0.3184277415275574, -0.31773391366004944, -0.09587529301643372, 0.6241725087165833, 0.307418555021286, 0.14499077200889587, -0.20283836126327515, -0.5558304190635681, -0.27108055353164673, -0.10395970195531845, -1.1215795278549194, 0.3059486746788025, 0.4344029724597931, -0.5401813983917236, -0.09170449525117874, -0.4039541482925415, -0.9302499294281006, -0.4941904544830322, -0.15770132839679718, 0.42847809195518494, -0.30765464901924133, -0.09356673806905746, 0.08880757540464401, 0.13205644488334656, 0.3197301924228668, 0.14375770092010498, -0.6618332862854004, 0.5262144804000854, 0.8819294571876526, 1.152376651763916, -0.46422290802001953, -0.43279409408569336, -0.8314047455787659, -0.0758008062839508, -0.4192065894603729, 0.6627365350723267, -0.49545854330062866, -0.4200904369354248, -0.02892712503671646, -0.08895716816186905, 0.02066972479224205, -0.4401392340660095, 0.6367051005363464, -0.6705617308616638, 0.10492060333490372, -0.07823852449655533, -0.8907071948051453, 0.059287846088409424, 0.349653035402298, -0.6739274263381958, 1.013448715209961, 0.20414192974567413, -0.530061662197113, 0.12451620399951935, -0.8477451205253601, -0.5055525898933411, -0.08315970748662949, -0.09471285343170166, -0.4791163206100464, 0.25123873353004456, 0.24830618500709534, 0.15866491198539734, -0.6229486465454102, 0.09740740060806274, -0.33553069829940796, -0.49988970160484314, 0.325732558965683, -0.6816493272781372, 0.5697965025901794, 0.11424592137336731, -0.2255682498216629, 0.4028424322605133, -1.0793012380599976, -0.035127706825733185, -0.009613486006855965, -0.5253558158874512, -0.33442792296409607, 0.016111785545945168, 0.11864341050386429, -0.12083524465560913, 0.5052348971366882, -0.5731600522994995, -0.12785238027572632, -0.46450138092041016, 0.5265545845031738, 1.028194785118103, -0.25137120485305786, 0.3781188428401947, -0.3112964630126953, 0.612859845161438, -0.3506672978401184, 0.07806334644556046, -0.2186235785484314, -0.17532186210155487, -0.5199781060218811, -0.3974021375179291, 0.5536271333694458, 0.22094953060150146, -0.3393663167953491, 0.41599297523498535, -0.5359084010124207, -0.3612760305404663, -0.3832448124885559, 0.2014051377773285, 0.4037090837955475, 0.4164944887161255, 0.3552815914154053, -0.29393190145492554, -0.29596853256225586, -0.697097897529602, -0.27877697348594666, -0.11946112662553787, -0.20244477689266205, 0.33281761407852173, 0.6253594160079956, -0.12923818826675415, 0.8631888628005981, -0.33787551522254944, -0.08326027542352676, -0.04789606109261513, 0.0037205079570412636, 0.3188401758670807, 0.23598529398441315, 0.4553249478340149, -0.5030273795127869, -0.4498426616191864, -0.10032498836517334, -0.5424132347106934, -0.10273916274309158, 0.048834290355443954, 0.15299057960510254, 0.3388768136501312, 0.5522406101226807, -0.6633099913597107, 0.4215563237667084, 0.7374966144561768, -0.4880214333534241, 0.8697802424430847, -0.31922999024391174, -0.020748868584632874, -1.1420671939849854, 0.180928036570549, -0.12326034903526306, -0.44449126720428467, -0.398560106754303, 0.26099443435668945, 0.3852042555809021, -0.07325588166713715, -0.26829269528388977, 0.8267781138420105, -0.5533144474029541, -0.5122175216674805, -0.3607092797756195, 0.1880609691143036, -0.02056901529431343, 0.33188819885253906, -0.20143021643161774, 1.068355679512024, 0.599112868309021, -0.5721078515052795, 0.4583933353424072, 0.24930469691753387, -0.7939073443412781, 0.7257947325706482, -0.9122694134712219, 0.1984180212020874, 0.07454545795917511, 0.3359636068344116, -0.7849730253219604, -0.01666862703859806, -0.20999343693256378, -0.15657009184360504, 0.1716146171092987, -0.19652970135211945, -0.6230387687683105, -0.16591206192970276, -0.49402734637260437, 0.8849373459815979, 0.512291431427002, -0.7582215070724487, 0.5835875272750854, 0.1966453492641449, -0.25364208221435547, -0.6241431832313538, -0.5381952524185181, 0.35442811250686646, -0.38659676909446716, -0.4048702120780945, 0.3539917767047882, -0.4732322096824646, -0.2546548843383789, -0.11124929785728455, -0.39288967847824097, 0.06455106288194656, 0.04367108643054962, 0.25243133306503296, 0.15299539268016815, -0.3812050223350525, 0.3358118534088135, -0.08929131180047989, 0.07363900542259216, 0.05550215020775795, -0.011885351501405239, 0.4857938289642334, -0.6745915412902832, -0.5326510071754456, -0.10162611305713654, 0.14431333541870117, 0.820012629032135, -0.45719972252845764, 0.6069193482398987, 0.2704998254776001, -0.41206493973731995, -0.3981664180755615, -0.5030504465103149, 0.2455286979675293, -0.45401808619499207, 0.6792013049125671, -0.4764367938041687, -0.8746548891067505, 0.6451168060302734, -0.09006864577531815, 0.27356234192848206, 0.23738881945610046, 0.45660534501075745, 0.1898622363805771, 0.7025811672210693, 0.5127387046813965, -0.3158800005912781, 0.31742823123931885, 0.048122838139534, -0.07584065943956375, -1.200253963470459, 0.10554911941289902, -0.32462576031684875, -0.18891440331935883, -0.32214751839637756, -0.4461880028247833, 0.4112688899040222, -0.030425969511270523, -0.31287479400634766, 0.19428634643554688, 0.0022150040604174137, 0.528073251247406, 0.19244424998760223, -0.05481540411710739, 0.40347275137901306, -0.2661997675895691, -0.0732584148645401, 0.3489142656326294, -0.18981622159481049, -0.45317044854164124, 1.4709231853485107, 0.6912946701049805, 0.7492242455482483, 0.2863674759864807, 0.429800420999527, 0.24639663100242615, 0.21732595562934875, -0.9427663683891296, 0.7286550998687744, 0.06950953602790833, -0.4231158494949341, -0.5629671216011047, -0.4884538948535919, -0.9807513356208801, 0.0636163055896759, 0.12305127084255219, -0.5547341108322144, 0.09074517339468002, -0.3091159462928772, -0.33658698201179504, 0.4261150062084198, -0.37523147463798523, 0.7424090504646301, -0.4328102469444275, -0.2669341266155243, -0.251776784658432, -0.37919119000434875, 0.14098118245601654, -0.364818274974823, 0.2292298674583435, -0.3719578981399536, -0.4119660258293152, 0.80189049243927, -0.3814670443534851, 0.5006769299507141, 0.10554786026477814, -0.42967933416366577, 0.07919368892908096, 0.1141657680273056, 0.5063801407814026, 0.13187961280345917, -0.26407143473625183, 0.14475548267364502, 0.1147591769695282, -0.3367408215999603, -0.4132254719734192, 0.8625081777572632, -0.5551660060882568, -0.4340764582157135, -0.37367889285087585, -0.8040482401847839, -0.5152261853218079, 0.3329460322856903, -0.1697283238172531, 0.6833664774894714, -0.5086390972137451, 0.27098846435546875, 0.5590707063674927, -0.2718746066093445, 0.6326773762702942, 0.6712548136711121, -0.5244043469429016, -0.3284541070461273, 0.6631350517272949, -0.1740536093711853, 0.3236114978790283, 0.15137618780136108, 0.11393505334854126, -0.46739205718040466, -0.895828127861023, -0.5513242483139038, 0.04137604683637619, -0.8390130400657654, -0.19898924231529236, -0.10873991250991821, -0.2259230613708496, -0.060520075261592865, 0.1784130036830902, -0.4029322862625122, -0.41229113936424255, -0.28934359550476074, -0.09878479689359665, 0.42770862579345703, 0.6860011219978333, 0.04407023638486862, -0.11172103881835938, -0.6920608282089233, 0.5247666239738464, 0.427776575088501, 0.8778244853019714, 0.08860409259796143, -0.7572037577629089, -0.23099611699581146, -0.13505549728870392, 0.02351553924381733, -0.7220644354820251, 0.0013729333877563477, 0.3017690181732178, 0.3583908677101135, 0.1760423481464386, 0.019445596262812614, 0.639352023601532, -0.7232946753501892, 0.6252223253250122, 0.05910835415124893, -0.9105923175811768, 0.25228095054626465, -0.30353254079818726, 0.32096239924430847, 0.6278208494186401, 0.07719504088163376, -0.5116442441940308, -0.1029672846198082, -0.0658806785941124, -0.8400514721870422, 0.3688296675682068, 0.2804194390773773, 0.13481907546520233, 0.06338979303836823, 0.4053049087524414, 0.14256218075752258, 0.024817682802677155, -0.7453649044036865, -0.056716188788414, 0.156307652592659, -0.3627066910266876, -0.05038018524646759, -0.4091876447200775, -0.2430185228586197, -0.07846204936504364, 0.49993157386779785, -0.13253140449523926, -0.06523796170949936, 0.12259253114461899, -0.3982304632663727, -0.09414289146661758, 0.644812822341919, 0.5325298309326172, 1.2742164134979248, -0.43387699127197266, 0.02671349234879017, 0.5164093375205994, -0.28105875849723816, 0.032141100615262985, 0.5390247106552124, 0.03681035339832306, -0.14218494296073914, 0.23450222611427307, 0.7262130379676819, 0.16362841427326202, -1.095709204673767, 0.6559011936187744, -0.2657996714115143, -0.03379565849900246, -0.340262770652771, -0.27100542187690735, 0.1961788386106491, 0.3431110084056854, 0.3757086992263794, -0.1846759170293808, 0.02219892106950283, -0.4967532753944397, 0.07411022484302521, 0.45595335960388184, -0.3977091312408447, -0.29792749881744385, 0.6144955158233643, 0.18243131041526794, -0.2815638780593872, 0.4111061692237854, -0.09183090180158615, -0.24660494923591614, 0.6389893293380737, 0.6161388158798218, 0.8651665449142456, -0.060986071825027466, -0.12493912130594254, 0.1757487803697586, 0.13420532643795013, -0.19339808821678162, 0.12720973789691925, -0.1588105857372284, -0.27723294496536255, -0.4791657328605652, -0.8547565937042236, -0.3744869530200958, 0.3157353699207306, -0.6372025609016418, 0.24478358030319214, -0.3326764404773712, 0.016726398840546608, -0.27106863260269165, -0.08344815671443939, -0.5158583521842957, -0.10011955350637436, 0.06591875106096268, 1.1955387592315674, -0.47222796082496643, 0.5998748540878296, 0.540134847164154, -0.04261992499232292, -0.24728086590766907, 0.17494899034500122, -0.21749939024448395, -0.922700047492981, 0.35623183846473694, 0.37427589297294617, -0.08253303915262222, -0.14197297394275665, -0.30194929242134094, -0.7547257542610168, 1.270695447921753, 0.16327784955501556, -0.8416831493377686, -0.13590474426746368, 0.21091701090335846, 0.694717288017273, -0.17453086376190186, 0.19332478940486908, 0.6036274433135986, 0.2530458867549896, -0.24968861043453217, -1.283316969871521, 0.28585293889045715, -0.1477285474538803, 0.0649426057934761, 0.13781525194644928, -0.7024902701377869, 0.684421956539154, -0.19718322157859802, -0.2129945456981659, 0.6238751411437988, 0.8506063222885132, 0.49754899740219116, 0.312966525554657, 0.6306772828102112, 0.7042030096054077, 0.7455931901931763, 0.33951807022094727, 0.9248597025871277, -0.44218960404396057, 0.3681020140647888, 1.21690833568573, -0.3608200252056122, 1.195261001586914, 0.3358869254589081, -0.3619050085544586, 0.504203200340271, 0.5369665622711182, 0.009670421481132507, 0.2980736792087555, 0.5421292185783386, -0.3913830816745758, 0.06087614968419075, 0.1316957175731659, -0.458341121673584, 0.19896769523620605, 0.3158804476261139, -0.1399671584367752, -0.3260950446128845, -0.09159873425960541, -0.13643096387386322, 0.1257007122039795, -0.4499157965183258, 0.5605452656745911, 0.3595450818538666, -0.5494418144226074, 0.631852924823761, 0.14573265612125397, 0.720818042755127, -0.477899432182312, 0.16545982658863068, -0.26076099276542664, 0.10094542801380157, 0.03630451485514641, -0.8515704274177551, -0.04953144118189812, 0.3056944012641907, 0.1271357238292694, 0.08395668864250183, 0.5848789811134338, -0.26678454875946045, -0.4836157262325287, 0.24213454127311707, 0.4493107497692108, 0.1010190099477768, -0.054340243339538574, -0.6104188561439514, 0.01609901338815689, -0.40204745531082153, -0.4803018867969513, 0.45345592498779297, 0.3116746246814728, 0.02511574886739254, 0.7182384729385376, 0.478159099817276, 0.3296475410461426, -0.0790192186832428, 0.10263650864362717, 0.7640643119812012, -0.662703275680542, -0.39759373664855957, -0.9737130403518677, 0.1637355387210846, 0.005370041821151972, -0.34909361600875854, 0.6343769431114197, 0.8821386098861694, 0.456533282995224, 0.2343500852584839, 0.6772681474685669, 0.10431662201881409, 0.5242867469787598, -0.5908352136611938, 0.6791335940361023, -0.7197926044464111, 0.5114665031433105, 0.015406969003379345, -1.052917242050171, -0.054054226726293564, 0.09066750109195709, -0.30075907707214355, 0.10653498023748398, 0.6864011287689209, 0.5912347435951233, -0.20984353125095367, -0.09647533297538757, 0.1416711062192917, 0.3392331004142761, 0.4168919324874878, 0.7724682688713074, 0.9487165808677673, -0.29510068893432617, 0.834484338760376, 0.16315674781799316, -0.29950785636901855, -0.1164795383810997, -1.0922738313674927, -1.1563103199005127, -0.5429597496986389, -0.028880298137664795, -0.2983930706977844, 0.16741535067558289, 0.7642263770103455, 0.436447411775589, -0.7027571797370911, -0.3068157434463501, -0.1429063230752945, 0.17870520055294037, -0.05579867586493492, -0.183977410197258, 0.739319920539856, -0.37794217467308044, -0.7024028301239014, 0.652331531047821, 0.32957226037979126, 0.13250499963760376, -0.2303963452577591, -0.19228039681911469, 0.21198907494544983, 0.14123547077178955, 0.6146730780601501, 0.4620177745819092, -0.5413788557052612, -0.27049490809440613, -0.08699343353509903, 0.014609524980187416, 0.15360309183597565, 0.47922593355178833, -0.5819834470748901, 0.5102242231369019, 0.40303927659988403, 0.8108105659484863, 0.4569997489452362, -0.030430423095822334, 0.6737707853317261, -0.685886025428772, -0.12749198079109192, 0.2216089814901352, 0.5648049116134644, 0.23659057915210724, -0.001571853063069284, 0.5367594957351685, -0.18163610994815826, -0.7744729518890381, -1.2326041460037231, 0.13861234486103058, -0.9340118169784546, -0.42727339267730713, 1.4485841989517212, -0.2133939117193222, -0.2378581315279007, 0.050796352326869965, 0.019749663770198822, 0.10614534467458725, -0.15094900131225586, 0.8350515961647034, 0.7012107968330383, 0.12697556614875793, 0.02869449183344841, -0.6835989356040955, 0.4771387577056885, 0.5032551884651184, -0.9723514318466187, 0.34895753860473633, 0.4869493246078491, 0.5489099621772766, -0.08577941358089447, 0.6142645478248596, -0.27105551958084106, 0.39664530754089355, -0.287128210067749, -0.15217286348342896, -0.25480321049690247, -0.18343795835971832, -0.5737481117248535, -0.03453299403190613, 0.3508324921131134, -0.08967709541320801 ]
http://arxiv.org/abs/2404.06479v3
http://arxiv.org/pdf/2404.06479v3
Text-Based Reasoning About Vector Graphics
2024-04-09T17:30:18
2024-05-24T19:40:26
Zhenhailong Wang, Joy Hsu, Xingyao Wang, Kuan-Hao Huang, Manling Li, Jiajun Wu, Heng Ji
cs.CL
cs.CL, cs.AI, cs.CV
While large multimodal models excel in broad vision-language benchmarks, they often struggle with tasks requiring precise perception of low-level visual details, such as comparing line lengths or solving simple mazes. In particular, this failure mode persists in question-answering tasks about vector graphics -- images composed purely of 2D objects and shapes. To address this challenge, we propose the Visually Descriptive Language Model (VDLM), which performs text-based reasoning about vector graphics. VDLM leverages Scalable Vector Graphics (SVG) for a more precise visual description and first uses an off-the-shelf raster-to-SVG algorithm for encoding. Since existing language models cannot understand raw SVGs in a zero-shot setting, VDLM then bridges SVG with pretrained language models through a newly introduced intermediate symbolic representation, Primal Visual Description (PVD), comprising primitive attributes (e.g., shape, position, measurement) with their corresponding predicted values. PVD is task-agnostic and represents visual primitives that are universal across all vector graphics. It can be learned with procedurally generated (SVG, PVD) pairs and also enables the direct use of LLMs for generalization to complex reasoning tasks. By casting an image to a text-based representation, we can leverage the power of language models to learn alignment from SVG to visual primitives and generalize to unseen question-answering tasks. Empirical results show that VDLM achieves stronger zero-shot performance compared to state-of-the-art LMMs, such as GPT-4V, in various low-level multimodal perception and reasoning tasks on vector graphics. We additionally present extensive analyses on VDLM's performance, demonstrating that our framework offers better interpretability due to its disentangled perception and reasoning processes. Project page: https://mikewangwzhl.github.io/VDLM/
[ -0.2827162742614746, -0.975786030292511, 0.8500872254371643, 0.09421046078205109, -0.42112892866134644, -0.0534500814974308, -0.1128457561135292, -0.4992201328277588, -0.22621266543865204, 0.5916650891304016, -0.5779256224632263, -0.8103664517402649, -0.4319900572299957, 0.103111132979393, -0.3550470173358917, 0.7811470031738281, -0.23120234906673431, 0.08258341252803802, -0.6653039455413818, -0.15976224839687347, -0.4253438711166382, -0.5292196273803711, -0.38388389348983765, -0.24028128385543823, 0.5830599665641785, 0.10688892006874084, 0.6091123819351196, 0.9434487819671631, 0.6282301545143127, 0.3200548589229584, -0.006811484694480896, 0.20930266380310059, -0.43125298619270325, 0.08667111396789551, -0.2692059874534607, -0.6617607474327087, -0.22687079012393951, -0.22146326303482056, 0.35050907731056213, 0.40173250436782837, 0.13204623758792877, -0.03314516693353653, -0.1914561688899994, 0.5537478923797607, -0.5346667170524597, 0.41426053643226624, -0.4775387644767761, 0.1655575931072235, 0.14655068516731262, -0.26892054080963135, -0.4874251186847687, -0.11545876413583755, 0.4039156436920166, -0.7012690305709839, 0.25238242745399475, 0.014021297916769981, 0.9962958097457886, 0.5266348719596863, -0.44021838903427124, -0.14969755709171295, -0.946082353591919, 0.9784998297691345, -0.47182929515838623, 0.31912603974342346, 0.24851872026920319, 0.42305541038513184, 0.07396859675645828, -0.7893252968788147, -0.8166735172271729, -0.10121767222881317, -0.03917388245463371, 0.22958099842071533, -0.11210785061120987, 0.2175363451242447, 0.4321334660053253, 0.30535584688186646, -0.6668592691421509, 0.010905331000685692, -0.35750409960746765, -0.11070414632558823, 0.3315983712673187, 0.22870604693889618, 0.48590603470802307, -0.4529673457145691, -0.8486883044242859, -0.05056330934166908, -0.5553856492042542, 0.09941648691892624, -0.06092926859855652, -0.02484293095767498, -0.10048900544643402, 0.8700739741325378, 0.035376016050577164, 0.9497905373573303, -0.25838702917099, -0.09421197324991226, 0.02135251834988594, -0.4179130792617798, -0.33373233675956726, -0.34501415491104126, 0.6570345163345337, 0.7749255299568176, 0.36621004343032837, 0.03690015524625778, -0.2576727569103241, 0.3823348581790924, 0.27390122413635254, -0.7349532842636108, -0.21956345438957214, 0.20226681232452393, -0.5863591432571411, -0.2975560426712036, -0.2561449706554413, -0.6366668939590454, -0.36872413754463196, -0.5321370363235474, 0.5877899527549744, -0.6855133175849915, -0.1905258595943451, 0.32362478971481323, -0.3569820523262024, 0.46467888355255127, 0.7469581365585327, -0.8052927851676941, 0.10306840389966965, 0.5308992266654968, 0.7788965106010437, -0.24368387460708618, -0.14371035993099213, -0.39269548654556274, 0.2511400878429413, -0.2623631954193115, 0.9853971004486084, -0.5009761452674866, -0.24984580278396606, -0.11942199617624283, -0.06088552996516228, 0.08735590428113937, -0.3634253740310669, 0.4485797882080078, -0.2731423079967499, 0.265412300825119, -0.38413968682289124, -0.4635131359100342, -0.4409124553203583, 0.5038227438926697, -0.568743109703064, 0.986772894859314, -0.032776083797216415, -0.8483843207359314, 0.4341394007205963, -0.2529386878013611, -0.10681207478046417, 0.3310728967189789, -0.6612949967384338, -0.27376750111579895, 0.031183207407593727, 0.27717143297195435, 0.5519953370094299, -0.277853399515152, -0.0897117480635643, -0.24495194852352142, -0.36843550205230713, 0.106960229575634, -0.4423712491989136, 0.377219021320343, 0.11814553290605545, -0.340041846036911, 0.329247385263443, -0.7820454835891724, 0.20484451949596405, 0.27255722880363464, -0.2376663088798523, -0.44158390164375305, 0.304452121257782, 0.021193645894527435, 0.251407653093338, 0.37280452251434326, -0.4092058837413788, 0.21741072833538055, -0.30116069316864014, 0.37798556685447693, 0.7454143166542053, -0.3394958972930908, 0.43172338604927063, -0.17914512753486633, 0.5200381875038147, 0.0370514877140522, 0.07746647298336029, -0.5324870347976685, -0.5556730031967163, -0.8117578625679016, -0.472007691860199, -0.08630487322807312, 0.7608739733695984, -1.5307090282440186, -0.13388259708881378, -0.15003907680511475, -0.2795998752117157, -0.20832239091396332, -0.032862357795238495, 0.5369917750358582, 0.6528024673461914, 0.47589850425720215, -0.05222015455365181, -0.390674889087677, -0.8716608881950378, 0.13477733731269836, -0.4592060148715973, -0.05847373977303505, 0.3851293623447418, 0.4741317629814148, -0.28493884205818176, 0.82230144739151, -0.6005743145942688, -0.20908793807029724, -0.40811023116111755, 0.2734206020832062, -0.08063550293445587, 0.0869583860039711, 0.7404541373252869, -0.8779090642929077, -0.3012206256389618, 0.04582884535193443, -0.959121823310852, 0.0041229440830647945, -0.12574011087417603, -0.05279633030295372, 0.24192571640014648, 0.4549064338207245, -0.6811162233352661, 0.6247344613075256, 0.3891957998275757, -0.4444652497768402, 0.6737327575683594, -0.5187976956367493, 0.06137559562921524, -0.8373395800590515, -0.23347176611423492, 0.39322319626808167, -0.3227863013744354, -0.5250027179718018, -0.023907313123345375, -0.021292902529239655, 0.005157665349543095, -0.46479853987693787, 0.5585010647773743, -0.40730077028274536, -0.1532203108072281, -0.40437230467796326, 0.04598115757107735, 0.07638485729694366, 0.661623477935791, 0.4122254252433777, 0.6666271090507507, 0.8470808267593384, -0.5544438362121582, 0.6079689264297485, 0.10756738483905792, -0.2598387598991394, 0.8927215337753296, -0.8193271160125732, -0.12605427205562592, -0.6141672134399414, -0.016774069517850876, -1.3206056356430054, 0.009972170926630497, 0.18618254363536835, -0.41013774275779724, 0.09193723648786545, -0.09302207082509995, -0.4039800465106964, -0.4119594395160675, -0.18133097887039185, 0.3879302740097046, 0.554226815700531, -0.598304033279419, 0.819844663143158, 0.06997358053922653, 0.0032679690048098564, -0.6980206370353699, -0.6054523587226868, 0.0192237701267004, -0.006523762829601765, -0.6734263300895691, 0.11521686613559723, -0.032937802374362946, -0.2939442992210388, 0.172496035695076, -0.06612531840801239, -0.17592684924602509, -0.16775934398174286, 0.25680777430534363, 0.6217272281646729, -0.3248533010482788, 0.3862593472003937, -0.21784649789333344, -0.1383206993341446, 0.008875628001987934, -0.23480716347694397, 0.3385002315044403, -0.32049068808555603, -0.4533006548881531, -0.23113510012626648, 0.30510351061820984, 0.6473011374473572, -0.283174067735672, 0.5468363165855408, 0.6542006134986877, -0.3107832670211792, -0.4519766867160797, -0.17977192997932434, 0.003754937555640936, -0.42485108971595764, 0.4429740905761719, -0.4364668130874634, -0.8001335859298706, 0.24537280201911926, -0.14443737268447876, 0.056285373866558075, 0.5046482682228088, 0.6168403029441833, -0.4038306176662445, 1.2877206802368164, 0.804442286491394, 0.5111724734306335, 0.33771976828575134, -0.2980448603630066, -0.04547123238444328, -0.4370948374271393, -0.4650796949863434, -0.2513982057571411, -0.1647396832704544, -0.35726118087768555, -0.8974688649177551, 0.17364341020584106, 0.15607565641403198, 0.0462980680167675, 0.16900448501110077, -0.7536587715148926, 0.49152112007141113, 0.41285231709480286, -0.028352970257401466, 0.26336103677749634, 0.044636212289333344, -0.342820405960083, -0.2650301158428192, -0.5576634407043457, -0.8139382004737854, 0.8939155340194702, 0.3110169768333435, 1.0439943075180054, -0.05640052631497383, 0.27426275610923767, 0.13523493707180023, 0.1245451495051384, -0.9100828170776367, 0.7762797474861145, -0.2785135507583618, -0.2647106647491455, -0.2857341170310974, -0.40167075395584106, -0.6658158898353577, 0.4635210335254669, -0.47082415223121643, -0.6583743095397949, -0.08522891998291016, 0.21159102022647858, -0.06273296475410461, 0.42163410782814026, -0.7933610677719116, 0.908703625202179, -0.4889363646507263, -0.27409493923187256, -0.09642887115478516, -0.4734923839569092, 0.41580983996391296, 0.284311443567276, 0.09667523205280304, -0.14327412843704224, -0.09910193830728531, 0.3315819501876831, -0.5074939131736755, 0.8181840181350708, -0.033012211322784424, -0.2334357500076294, 0.23521359264850616, -0.05320192128419876, 0.319647878408432, -0.16508103907108307, 0.3053036630153656, 0.13539396226406097, 0.24342086911201477, -0.3386497497558594, -0.8585901856422424, 0.6174943447113037, -0.7654593586921692, -0.5499387383460999, -0.45617586374282837, -0.5163442492485046, 0.0599190928041935, 0.13022592663764954, 0.2530618906021118, 0.5784936547279358, -0.12714888155460358, 0.10766825079917908, 0.9768052697181702, -0.523143470287323, 0.23690082132816315, 0.22932124137878418, -0.6502416729927063, -0.17175720632076263, 1.0226960182189941, -0.03144459053874016, 0.37666139006614685, 0.5828081369400024, 0.03192166984081268, -0.5411937832832336, -0.5373368859291077, -0.6714949607849121, 0.1748703420162201, -0.9900020360946655, 0.07125336676836014, -0.7440129518508911, -0.2787674069404602, 0.12717419862747192, -0.10916635394096375, -0.14225241541862488, -0.41791480779647827, -0.36202800273895264, -0.12981629371643066, 0.4668945372104645, 0.7867525815963745, 0.15495671331882477, 0.006388158071786165, -0.3682064712047577, 0.9125953912734985, 0.5700480937957764, 0.3882845938205719, -0.14147508144378662, -0.2406465709209442, 0.11152548342943192, 0.045572612434625626, -0.18276385962963104, -0.6852544546127319, 0.18420033156871796, -0.05317097157239914, 0.5565893054008484, 0.33806484937667847, -0.1555657833814621, 0.5811779499053955, -0.7358555197715759, 0.7563108205795288, 0.5241918563842773, -0.7432722449302673, 0.4853782653808594, -0.2783326208591461, 0.33222857117652893, -0.0811232328414917, 0.29342058300971985, -0.47827401757240295, -0.3960169851779938, -0.17574985325336456, -0.6581814289093018, 0.47777122259140015, 0.2665075957775116, 0.09723830968141556, -0.09604877978563309, 0.3330935835838318, -0.009700537659227848, -0.004786768928170204, -0.7410286068916321, -0.39736801385879517, -0.5695582628250122, -0.3564678728580475, -0.0675930604338646, -0.41584694385528564, -0.0004411209956742823, -0.40868207812309265, 0.21014061570167542, -0.27580970525741577, 0.4048725962638855, 0.2631309926509857, -0.05501185357570648, 0.1227523609995842, 0.19636587798595428, 0.8213391304016113, 0.7175045013427734, -0.04155139997601509, 0.573402464389801, 0.015478021465241909, -0.31687870621681213, 0.21578477323055267, -0.055375199764966965, -0.18172025680541992, 0.25381192564964294, 0.39118635654449463, 0.9487929940223694, -0.051554225385189056, -0.954206109046936, 0.6868504285812378, -0.3796563148498535, -0.3909711539745331, -0.16697287559509277, 0.028244562447071075, 0.1887189894914627, 0.2725183069705963, 0.35455337166786194, 0.06190743297338486, -0.06399210542440414, -0.39767321944236755, 0.165666401386261, 0.48253461718559265, -0.6105062961578369, -0.2661433517932892, 0.9659684300422668, 0.04842495173215866, -0.15647241473197937, 0.34711596369743347, 0.001367466989904642, -0.32929256558418274, 0.8130490183830261, 0.3968019485473633, 0.588299572467804, 0.11802596598863602, 0.5683061480522156, 0.29721391201019287, 0.36307492852211, -0.08826518058776855, 0.715019166469574, 0.0362795852124691, -0.6861361861228943, -0.7275153398513794, -0.49779772758483887, -0.38690876960754395, 0.005002468358725309, -0.3277563750743866, 0.2870495617389679, -0.6506608128547668, -0.1680518388748169, 0.16821657121181488, -0.5626798868179321, -0.5768023133277893, 0.3870745897293091, 0.3678737282752991, 0.6417595744132996, -0.5816053748130798, 0.5375280976295471, 0.7750689387321472, -0.5592915415763855, -0.4800232946872711, -0.28570955991744995, 0.015420881099998951, -0.7906243205070496, 0.9295188784599304, 0.16080857813358307, -0.32232019305229187, -0.16836956143379211, -0.8388896584510803, -0.5593565106391907, 0.9900741577148438, 0.4814770519733429, -0.42687028646469116, -0.03760053589940071, 0.16154274344444275, 0.8137812614440918, -0.21367089450359344, 0.2106272578239441, 0.024343693628907204, 0.21534410119056702, 0.6065247654914856, -0.7289473414421082, -0.1068693995475769, -0.16838346421718597, 0.3968326151371002, 0.11061881482601166, -0.30393779277801514, 1.0540927648544312, -0.49629759788513184, -0.3907466232776642, 0.12744221091270447, 0.700505256652832, 0.25841039419174194, 0.1361009031534195, 0.30960705876350403, 0.686970055103302, 0.6117539405822754, -0.28169912099838257, 1.2543010711669922, 0.03281314671039581, 0.2590892016887665, 0.9341563582420349, -0.14114366471767426, 0.6155068874359131, 0.42837467789649963, 0.12640175223350525, 0.5416644215583801, 0.2985309958457947, 0.02052932418882847, 0.5353973507881165, 0.19917091727256775, -0.3645804524421692, -0.48896995186805725, -0.15748929977416992, -0.17296229302883148, 0.40386009216308594, 0.2511305809020996, -0.46448925137519836, -0.4814087450504303, 0.15803764760494232, -0.37586262822151184, 0.420699805021286, -0.5298758745193481, 0.7323237061500549, 0.09443973004817963, -0.2784298360347748, 0.6566850543022156, 0.10844158381223679, 0.6216329336166382, -0.41342395544052124, -0.4582050144672394, 0.24728773534297943, 0.2960423231124878, -0.06742796301841736, -1.0942490100860596, 0.23360416293144226, 0.07731069624423981, -0.31063857674598694, -0.5103874802589417, 0.8266294002532959, -0.5463489890098572, -0.5970425009727478, 0.13706059753894806, 0.6147783994674683, 0.13965074717998505, 0.11218401044607162, -0.7043909430503845, 0.10218553245067596, -0.0895962044596672, 0.1343047022819519, 0.01456509716808796, 0.8085058331489563, -0.18668437004089355, 0.9386240243911743, 0.46173760294914246, -0.028750160709023476, 0.0484018474817276, 0.04655281826853752, 0.7328405380249023, -0.6762985587120056, -0.3069695830345154, -0.9227609038352966, 0.4192460775375366, 0.003946518991142511, -0.06257666647434235, 0.7931385636329651, 0.45751720666885376, 0.8748528361320496, -0.1924598217010498, 0.920387864112854, 0.21050751209259033, 0.3787521719932556, -0.6527042388916016, 0.5479970574378967, -0.5672616362571716, -0.02494545467197895, -0.35352352261543274, -0.7775017619132996, -0.29951250553131104, 0.7822811603546143, -0.47600799798965454, -0.14123496413230896, 0.6449914574623108, 0.5461052060127258, 0.02692621387541294, -0.25789231061935425, 0.6463353037834167, 0.0658969059586525, 0.3447449803352356, 0.6457939147949219, 1.1183407306671143, -0.12474524229764938, 0.6591020226478577, -0.027428660541772842, -0.02680983394384384, 0.06256366521120071, -0.8803509473800659, -1.1787830591201782, -0.6259987354278564, -0.33997786045074463, -0.18121880292892456, -0.2569270431995392, 0.5035263299942017, 0.45107725262641907, -0.37563538551330566, -0.016811786219477654, -0.10071990638971329, 0.26971614360809326, -0.12685497105121613, -0.2492625117301941, 0.18144506216049194, -0.13468065857887268, -0.6164522171020508, -0.12123321741819382, 0.8335853815078735, 0.38705676794052124, -0.536862313747406, -0.21155713498592377, -0.0789608359336853, 0.21476569771766663, 0.8956137895584106, 0.2518913447856903, -0.9939420223236084, -0.4117797017097473, 0.045913442969322205, -0.4438474178314209, 0.15614564716815948, 0.5935629606246948, -0.8309340476989746, 0.778661847114563, 0.5799961686134338, 0.5497077107429504, 0.652003824710846, 0.029433952644467354, 0.576982319355011, -0.4873180389404297, 0.1941174864768982, 0.11261235922574997, 0.3653581142425537, 0.44769996404647827, -0.18551214039325714, 0.21461568772792816, 0.33663445711135864, -0.1262519210577011, -0.5328288674354553, 0.4617491364479065, -1.128495454788208, -0.49942442774772644, 1.1557103395462036, -0.10548929125070572, -0.4632112383842468, -0.08393307775259018, -0.6992222666740417, -0.057775381952524185, 0.04349108412861824, 0.512924075126648, 0.7876194715499878, 0.0024105855263769627, -0.7383365631103516, -0.5515902042388916, 0.599143385887146, 0.1342470496892929, -0.8065537810325623, -0.11738285422325134, 0.7807813882827759, 0.1688440442085266, 0.0502057708799839, 0.7325950860977173, -0.028490230441093445, 0.35122573375701904, -0.1629621684551239, 0.2702442407608032, -0.1437346190214157, -0.2584291398525238, -0.13989557325839996, 0.12278207391500473, -0.09739119559526443, -0.23102007806301117 ]
http://arxiv.org/abs/2404.06413v1
http://arxiv.org/pdf/2404.06413v1
Large Language Models to the Rescue: Deadlock Resolution in Multi-Robot Systems
2024-04-09T16:03:26
2024-04-09T16:03:26
Kunal Garg, Jacob Arkin, Songyuan Zhang, Nicholas Roy, Chuchu Fan
cs.RO
cs.RO, cs.CL, math.OC
Multi-agent robotic systems are prone to deadlocks in an obstacle environment where the system can get stuck away from its desired location under a smooth low-level control policy. Without an external intervention, often in terms of a high-level command, it is not possible to guarantee that just a low-level control policy can resolve such deadlocks. Utilizing the generalizability and low data requirements of large language models (LLMs), this paper explores the possibility of using LLMs for deadlock resolution. We propose a hierarchical control framework where an LLM resolves deadlocks by assigning a leader and direction for the leader to move along. A graph neural network (GNN) based low-level distributed control policy executes the assigned plan. We systematically study various prompting techniques to improve LLM's performance in resolving deadlocks. In particular, as part of prompt engineering, we provide in-context examples for LLMs. We conducted extensive experiments on various multi-robot environments with up to 15 agents and 40 obstacles. Our results demonstrate that LLM-based high-level planners are effective in resolving deadlocks in MRS.
[ -0.06736456602811813, -1.09317946434021, 0.8341749906539917, -0.0022651285398751497, -0.05570000037550926, 0.41794437170028687, -0.30398914217948914, -0.4194025695323944, 0.230113685131073, 0.5137688517570496, -0.5999621152877808, -0.6028578281402588, -0.888260543346405, 0.14210835099220276, -0.15659703314304352, 0.6385214328765869, -0.23250164091587067, -0.04542502388358116, 0.09434128552675247, -0.012597179040312767, -0.5971041917800903, -0.6513305902481079, -0.8360443711280823, -0.4884544610977173, 0.7143170237541199, 0.4413963556289673, 1.2176917791366577, 0.5970881581306458, 0.47081708908081055, 0.49589774012565613, -0.5717348456382751, 0.4500589668750763, -0.3377209007740021, 0.4212353825569153, 0.011052681133151054, -0.23741331696510315, -0.6763957142829895, -0.19993969798088074, 0.6085709929466248, 0.9762634634971619, -0.15793927013874054, -0.2921971082687378, 0.09511381387710571, 0.43014222383499146, -0.2986142039299011, 0.30980122089385986, -0.38099783658981323, 0.32271966338157654, 0.33913344144821167, -0.2713978886604309, -0.35399049520492554, -0.15950894355773926, -0.12607929110527039, -0.5542160272598267, -0.05770125612616539, 0.017837096005678177, 0.6970594525337219, 0.5090291500091553, -0.057346779853105545, -0.13964664936065674, -1.0583387613296509, 0.7559354305267334, -0.7618283629417419, 0.12785664200782776, 0.2531546950340271, 0.29638826847076416, -0.7054004073143005, -0.09772435575723648, -0.35226982831954956, -0.059263329952955246, 0.1491711288690567, 0.11494873464107513, 0.04221968725323677, 0.4067479074001312, 0.28627291321754456, -0.31824761629104614, -0.5929328203201294, 0.5737408995628357, -0.22893957793712616, -0.21269865334033966, 0.3756606876850128, 0.5000272989273071, 0.27086177468299866, -0.04459964111447334, -0.0220171045511961, 0.21367290616035461, -0.5826610326766968, -0.234141543507576, 0.24716274440288544, 0.7833257913589478, -0.19438832998275757, 0.48737266659736633, -0.3374311625957489, 0.8435972332954407, -0.21545495092868805, -0.4499647915363312, -0.02389608882367611, -0.2511296570301056, -0.06109579652547836, -0.18940119445323944, 0.7389483451843262, 0.6532535552978516, 0.4969087541103363, -0.4363873600959778, -0.3187287151813507, -0.08988288789987564, -0.12747807800769806, -0.5370861291885376, 0.12701715528964996, 0.6489802598953247, -0.4939393699169159, -0.12380265444517136, -0.34113749861717224, -0.7289992570877075, -0.6229110956192017, -0.3546675443649292, 0.16045798361301422, 0.0197397880256176, -0.266387015581131, 0.017996257171034813, -0.22092433273792267, -0.0022180748637765646, 0.9289267659187317, -0.783056378364563, 0.12288491427898407, 0.6846122145652771, 1.301952600479126, -0.012857816182076931, -0.6541321873664856, -0.7795013189315796, 0.3391433656215668, -0.5678710341453552, 0.4570746123790741, -0.4796280562877655, -0.206052765250206, 0.1588268280029297, 0.13160689175128937, -0.17557665705680847, -0.653494656085968, -0.1641860157251358, -0.6785812377929688, -0.0912044420838356, 0.1517326980829239, -0.14828471839427948, -0.027727460488677025, 0.31515130400657654, -0.5756292343139648, 0.6053088307380676, 0.007575149182230234, -0.1970706433057785, -0.06238849461078644, -0.43451589345932007, -0.3938378095626831, -0.18291352689266205, -0.3254183232784271, -0.3610994219779968, -0.38463830947875977, 0.19581714272499084, 0.7412565350532532, -0.26126864552497864, 0.5504114031791687, -0.2510994076728821, -0.30541375279426575, -0.16992849111557007, -0.2790767252445221, 0.6248220801353455, 0.0006124105420894921, 0.13808973133563995, 0.5372154712677002, -0.5158873796463013, -0.13247022032737732, 0.11030334234237671, -0.3727380931377411, 0.06395290046930313, 0.23150299489498138, -0.46442052721977234, 0.4059368669986725, 0.2706620693206787, -0.2818337082862854, 0.5043649673461914, -0.15288764238357544, 0.5450202822685242, 1.0245261192321777, -0.012926964089274406, 0.620866060256958, -0.39389392733573914, 0.7007240056991577, 0.03684493154287338, 0.1551792025566101, -0.06916143000125885, -0.7986531853675842, -0.4298846423625946, -0.3290115296840668, 0.05510092154145241, 0.6480478048324585, -0.8483808040618896, 0.46656182408332825, -0.026857230812311172, -0.0709945484995842, -0.17324107885360718, 0.1474149227142334, 0.14495736360549927, 0.32786911725997925, 0.3937729299068451, -0.050173938274383545, -0.14655205607414246, -0.510319173336029, 0.39288583397865295, -0.2624940872192383, -0.3160555958747864, 0.3589934706687927, 0.49533799290657043, -0.013726534321904182, 0.6392441987991333, -0.14296948909759521, -0.3517172336578369, -0.3562062680721283, 0.16308778524398804, 0.5999919772148132, 0.4423220157623291, 0.3396308720111847, -0.5568259358406067, -0.0387260727584362, 0.02630884200334549, -1.0641366243362427, 0.17505966126918793, -0.09464618563652039, -0.15175187587738037, 0.3477496802806854, 0.6942727565765381, -0.7978185415267944, 0.38945555686950684, 0.6795617938041687, -0.05012134462594986, 0.5296910405158997, -0.4735489785671234, -0.10050372779369354, -0.9407214522361755, -0.18577882647514343, -0.29776468873023987, -0.24444562196731567, -0.5373437404632568, 0.2778184413909912, -0.32813212275505066, -0.5309386849403381, -0.5549466609954834, 0.19609004259109497, -0.6123752593994141, -0.36467134952545166, -0.3695424199104309, 0.3878299593925476, -0.39443621039390564, 0.7221342921257019, 0.05682631582021713, 0.6501073241233826, 0.5981253385543823, -0.8825310468673706, 0.700496256351471, 0.3456871509552002, -0.003413375234231353, 0.07477542012929916, -0.76743084192276, 0.08718519657850266, -0.28199079632759094, 0.4636552333831787, -0.9271662831306458, -0.3096400499343872, 0.6252303719520569, -0.10830780863761902, 0.19764840602874756, -0.7923362255096436, -0.7374732494354248, -0.5613720417022705, 0.01153264008462429, 0.11330744624137878, 0.33094650506973267, -0.3731909692287445, 0.8078109622001648, 0.30730822682380676, -0.2592710852622986, -0.5892996788024902, -0.5104939341545105, 0.2733239233493805, 0.158064603805542, -0.6960409879684448, 0.08183624595403671, -0.2921874225139618, -0.020889297127723694, -0.10950406640768051, 0.024145957082509995, -0.10888766497373581, 0.32517755031585693, 0.1952899694442749, 0.44903868436813354, -0.15052759647369385, 0.011716777458786964, 0.08220633864402771, -0.3300670087337494, 0.03699904680252075, -0.17593194544315338, 0.8223342299461365, 0.1329074501991272, -0.510297417640686, -0.4374276399612427, 0.455689936876297, 0.8380332589149475, -0.10859505832195282, 0.8323479890823364, -0.08530814945697784, -0.4496777057647705, -0.23661698400974274, -0.07132842391729355, -0.3600420653820038, -0.4922589957714081, 0.4832712411880493, -0.2979344427585602, -0.8749244809150696, 0.8816191554069519, -0.4871152341365814, 0.010917332023382187, -0.20132745802402496, 0.7903227210044861, 0.1291055828332901, 1.0329809188842773, 0.6003432273864746, -0.43184134364128113, 0.3266059160232544, -0.2261229157447815, 0.3241944909095764, -0.5633553862571716, -0.10759755223989487, -0.6887653470039368, -0.5505333542823792, -0.5472557544708252, -0.6093727946281433, 0.37659767270088196, 0.17725814878940582, -0.19767577946186066, 0.37227994203567505, -0.653518557548523, 0.7330113053321838, 0.3269714117050171, 0.07905293256044388, 0.3343246579170227, -0.2788437604904175, -0.4802115261554718, 0.40293678641319275, -1.058948040008545, -0.524429976940155, 0.3595271408557892, 0.4101456105709076, 0.7910683751106262, 0.04882437735795975, 0.571235179901123, -0.026471061632037163, -0.09869435429573059, -0.9165197610855103, 0.8558325171470642, 0.08497772365808487, -0.3628253638744354, -0.8455935716629028, -0.6761659383773804, -0.9285500049591064, 0.3596981167793274, -0.04187323898077011, -1.1833522319793701, 0.0650571882724762, 0.0453723780810833, -0.6668589115142822, 0.6084182262420654, -0.44946637749671936, 0.7805403470993042, -0.1055583506822586, -0.1879330426454544, -0.22055870294570923, -0.8425883650779724, 0.09560152143239975, 0.15430893003940582, 0.12604913115501404, -0.6035544276237488, 0.16672205924987793, 0.6322883367538452, -0.44373995065689087, 0.9133486747741699, -0.2370368242263794, -0.34050312638282776, -0.06865426898002625, 0.21090571582317352, 0.9736264944076538, -0.21922637522220612, -0.23056355118751526, 0.19550013542175293, -0.435293585062027, -0.30693092942237854, -0.5561085343360901, 0.5345951318740845, -0.7908326387405396, -0.5069843530654907, -0.31841155886650085, -1.0198276042938232, 0.00701587600633502, 0.2725542187690735, -0.20748186111450195, 0.3144185543060303, 0.15272894501686096, -0.06752631813287735, 0.421725869178772, -0.4325372278690338, 0.8291953206062317, 0.7189671397209167, -0.41421082615852356, 0.08397481590509415, 0.8216164708137512, 0.5054646134376526, 0.39524045586586, 0.23807339370250702, 0.15959174931049347, 0.0930761992931366, -0.6334933638572693, -0.7375192046165466, 0.03829384222626686, -0.524878978729248, -0.5387067794799805, -0.502625584602356, -0.5056329369544983, -0.02590625360608101, -0.26772916316986084, -0.5522653460502625, -0.3946162760257721, -0.26861608028411865, 0.16612184047698975, 0.5300515294075012, 0.8740301132202148, -0.22115741670131683, 0.41392552852630615, -0.8456059098243713, 0.5582197904586792, 0.1000351831316948, 0.3125946521759033, 0.3220202624797821, -0.4588111639022827, -0.319575697183609, 0.12472683936357498, -0.30561432242393494, -0.5476992726325989, 0.3694952428340912, -0.19864892959594727, 0.31299251317977905, 0.19474542140960693, 0.313789039850235, 0.5135101675987244, -0.7362120151519775, 0.5236538648605347, 0.18916068971157074, -0.6706185340881348, 0.43501949310302734, -0.6560375690460205, 0.2282102406024933, -0.08191078156232834, 0.31529688835144043, -0.7165957689285278, -1.0235066413879395, -0.23397274315357208, -1.1622693538665771, 0.7417917847633362, 0.015325500629842281, -0.035475242882966995, 0.24559423327445984, 0.22315190732479095, -0.33836042881011963, 0.27370506525039673, -0.17352202534675598, -0.33801916241645813, 0.2565762400627136, 0.030931537970900536, 0.17635634541511536, -0.01456387434154749, -0.26023513078689575, 0.1589561104774475, 0.2168358862400055, -0.27009063959121704, 0.5853654742240906, -0.09101790189743042, 0.052338629961013794, -0.6256127953529358, 0.34429097175598145, 0.8752966523170471, 0.9184399247169495, -0.3005814552307129, -0.05131741985678673, 0.12682528793811798, 0.014976167120039463, 0.42905840277671814, 0.22797568142414093, -0.3270336985588074, -0.17249295115470886, 0.3863791823387146, 0.2669808268547058, 0.06840652972459793, -0.276761919260025, 0.30803802609443665, 0.14201967418193817, -0.10235708206892014, 0.04993444308638573, 0.08087203651666641, 0.05186942219734192, 0.49486735463142395, 0.44918155670166016, 0.2354612797498703, -0.30694010853767395, -0.3820948600769043, 0.09534106403589249, 0.42986127734184265, -0.18014048039913177, -0.12137507647275925, 0.6501551866531372, 0.3133452534675598, -0.39350900053977966, 0.8219757676124573, -0.1734611541032791, -0.7121291160583496, 0.9413381814956665, 0.48679035902023315, 0.6217594146728516, -0.03227999061346054, 0.48766690492630005, 0.2573550045490265, 0.5354432463645935, -0.2061484456062317, 0.2297142744064331, 0.34478744864463806, -1.1153007745742798, -1.0488914251327515, -0.2851085066795349, -0.9060173630714417, 0.13464291393756866, -0.13690288364887238, -0.05097804218530655, -0.9475828409194946, -0.09387645870447159, -0.16057798266410828, -0.10776804387569427, -0.30772891640663147, -0.26257792115211487, 0.11925124377012253, 0.5697552561759949, -0.7774820923805237, 0.5971344113349915, 0.4344590902328491, -0.5251737833023071, -0.9118796586990356, -0.027957722544670105, 0.06302934885025024, -0.7891627550125122, 0.42612144351005554, 0.0667901411652565, -0.25371870398521423, -0.15593308210372925, -0.81114661693573, -0.6954020261764526, 0.946938693523407, 0.49676087498664856, -0.6633425354957581, -0.18609894812107086, 0.011239091865718365, 0.4502122104167938, -0.17563706636428833, 0.2152232825756073, 0.26673412322998047, 0.5966607332229614, 0.04588257521390915, -1.133067011833191, 0.2126549780368805, 0.10798260569572449, -0.14307017624378204, 0.3544844388961792, -0.9399421215057373, 0.8721861243247986, -0.4111001193523407, -0.135069340467453, 0.48940929770469666, 0.6085218787193298, 0.4488103687763214, 0.19715462625026703, 0.30197450518608093, 0.25702229142189026, 0.925426721572876, -0.02646915428340435, 0.8123757243156433, -0.4168219566345215, 0.25676560401916504, 1.0266814231872559, -0.6223006248474121, 0.678011417388916, 0.23821759223937988, 0.07783498615026474, 0.13977035880088806, 0.4723736643791199, 0.1350511759519577, 0.28390443325042725, 0.3300752341747284, -0.02346757799386978, -0.26700302958488464, -0.5457172989845276, -0.3901641368865967, 0.16573137044906616, 0.22069065272808075, -0.06822480261325836, -0.4489845931529999, 0.08799976855516434, 0.09705591946840286, -0.04113565385341644, -0.41100746393203735, 0.6343912482261658, 0.00639204028993845, -0.36892789602279663, 0.6689013242721558, 0.040846627205610275, 0.3221490681171417, -0.4817083179950714, -0.385859876871109, -0.17756807804107666, 0.22547727823257446, -0.09019039571285248, -0.8438732624053955, 0.14256177842617035, -0.1768677979707718, -0.15419000387191772, -0.39224258065223694, 0.7443876266479492, -0.5485146045684814, -0.1431005746126175, 0.8774353265762329, 0.8092855215072632, 0.26132601499557495, 0.08001506328582764, -0.6189353466033936, 0.17998731136322021, -0.39145439863204956, 0.022311195731163025, 0.2503957152366638, 0.6625411510467529, 0.005132659338414669, 1.0571115016937256, 0.4309138059616089, 0.3054707646369934, 0.053433649241924286, 0.3695165514945984, 1.0992310047149658, -0.6292014718055725, -0.3034757077693939, -0.6710200309753418, 0.20654363930225372, 0.19550839066505432, -0.059693217277526855, 0.5275555849075317, 0.06270558387041092, 0.6885409951210022, 0.007082614116370678, 0.634613573551178, 0.158212810754776, 0.41960012912750244, -0.7537407279014587, 0.6753459572792053, -0.32730406522750854, 0.17965565621852875, -0.4015168249607086, -0.7442418336868286, -0.5297837853431702, 0.5765932202339172, -0.2087162286043167, 0.09814748913049698, 0.5302804708480835, 1.102288842201233, -0.048857398331165314, -0.472885400056839, 0.6823354363441467, 0.2640821039676666, 0.282289057970047, 0.5990326404571533, 1.3093960285186768, -0.21808496117591858, 0.5317131876945496, 0.059648651629686356, -0.18420585989952087, -0.19130045175552368, -0.6682279706001282, -0.8498926758766174, 0.03193146362900734, -0.17499198019504547, -0.40438947081565857, 0.5377853512763977, 1.2667882442474365, 0.7594093084335327, -0.8162257075309753, -0.43174195289611816, -0.02027897909283638, 0.8700705766677856, -0.28571534156799316, -0.10422541946172714, 0.1764640212059021, -0.25490501523017883, -0.640623152256012, 0.7229424118995667, 0.3586474359035492, 0.13303163647651672, -0.19234292209148407, -0.48445552587509155, -0.32519426941871643, -0.2861206829547882, 0.5655519962310791, 0.2960215210914612, -0.5967587828636169, -0.5024291276931763, -0.15517792105674744, -0.18529696762561798, 0.14966033399105072, 0.7147098779678345, -0.31441453099250793, 0.16063474118709564, 0.5118727087974548, 0.642086386680603, 0.0321718230843544, -0.05993371084332466, 0.7422506213188171, -0.8610087037086487, 0.526677131652832, 0.323815256357193, 0.33054473996162415, 0.2184990644454956, -0.2508498728275299, 0.4585909843444824, 0.17028796672821045, -0.9175679683685303, -0.4487147927284241, 0.38032808899879456, -0.7601800560951233, -0.3116529881954193, 1.0259852409362793, -0.10059624165296555, -0.3234889507293701, -0.5099735260009766, -0.19149434566497803, 0.3678138554096222, -0.9031497240066528, 0.5493106245994568, 0.7017450928688049, -0.13683386147022247, -0.2754981815814972, -0.629136323928833, 0.11004871875047684, 0.1407424956560135, -0.5044259428977966, 0.2725509703159332, 0.5818178057670593, -0.34948480129241943, 0.4981275200843811, 0.6539559364318848, 0.1974245011806488, 0.21753428876399994, -0.2420913577079773, 0.04791675880551338, -0.022990169003605843, -1.06658935546875, -0.22695292532444, 0.08120159059762955, 0.1393091082572937, -0.3324219286441803 ]
http://arxiv.org/abs/2404.06411v1
http://arxiv.org/pdf/2404.06411v1
AgentQuest: A Modular Benchmark Framework to Measure Progress and Improve LLM Agents
2024-04-09T16:01:24
2024-04-09T16:01:24
Luca Gioacchini, Giuseppe Siracusano, Davide Sanvito, Kiril Gashteovski, David Friede, Roberto Bifulco, Carolin Lawrence
cs.AI
cs.AI, cs.CL
The advances made by Large Language Models (LLMs) have led to the pursuit of LLM agents that can solve intricate, multi-step reasoning tasks. As with any research pursuit, benchmarking and evaluation are key corner stones to efficient and reliable progress. However, existing benchmarks are often narrow and simply compute overall task success. To face these issues, we propose AgentQuest -- a framework where (i) both benchmarks and metrics are modular and easily extensible through well documented and easy-to-use APIs; (ii) we offer two new evaluation metrics that can reliably track LLM agent progress while solving a task. We exemplify the utility of the metrics on two use cases wherein we identify common failure points and refine the agent architecture to obtain a significant performance increase. Together with the research community, we hope to extend AgentQuest further and therefore we make it available under https://github.com/nec-research/agentquest.
[ -0.2959350645542145, -0.4788134694099426, 0.8649687767028809, 0.23325306177139282, 0.14993764460086823, 0.24978935718536377, -0.1361190378665924, -0.43574342131614685, 0.08068683743476868, 0.5151118636131287, -0.7036858797073364, -0.48630616068840027, -0.3665822744369507, 0.19808605313301086, -0.239161878824234, 0.33458220958709717, -0.24270538985729218, 0.33664470911026, -0.6247696876525879, -0.2752513885498047, -0.49991023540496826, -0.21936267614364624, -0.9903476238250732, -0.7427276372909546, 0.7514212131500244, 0.5387364029884338, 0.5406776666641235, 0.6771248579025269, 0.5108129978179932, 0.4285171926021576, -0.030207328498363495, 0.4252709448337555, -0.1295926421880722, 0.7692535519599915, -0.3165440857410431, -0.5102667212486267, -0.9591842293739319, -0.16572652757167816, 0.7438522577285767, 0.6431032419204712, -0.26436087489128113, 0.31775373220443726, -0.11627063900232315, 0.5996536612510681, -0.48434537649154663, 0.30902615189552307, -0.25553178787231445, -0.11952044069766998, -0.0563773512840271, -0.30980026721954346, -0.23014703392982483, -0.4190567135810852, -0.033764004707336426, -0.38221946358680725, 0.004144000820815563, -0.14617781341075897, 0.3042743504047394, 0.31206125020980835, -0.5769866704940796, -0.2458399087190628, -0.391394704580307, 0.5755794048309326, -0.5585950016975403, 0.26521873474121094, 0.26792997121810913, 0.775004506111145, -0.3466959595680237, -0.8325930833816528, -0.2762414515018463, -0.4759734869003296, 0.16028957068920135, -0.10421133786439896, -0.03516962379217148, -0.07110608369112015, 0.13068841397762299, 0.1426405906677246, -0.5858467221260071, -0.031225895509123802, 0.12147092074155807, -0.45553985238075256, 0.8039611577987671, 0.7425587773323059, 0.21296097338199615, 0.20760874450206757, -0.15539266169071198, -0.25950169563293457, -0.5433698296546936, 0.11738590896129608, 0.2188369184732437, 0.32796528935432434, 0.23701441287994385, 0.4386123716831207, -0.5762172341346741, 0.402677059173584, -0.2896292507648468, -0.10280037671327591, 0.4052073359489441, -0.4240703880786896, 0.18556351959705353, -0.4339444637298584, 0.37805020809173584, 0.2452848106622696, -0.11282123625278473, -0.4197279214859009, -0.6747334599494934, 0.018402330577373505, 0.3697868585586548, -0.888812780380249, 0.2303837686777115, 0.33964091539382935, -0.25326472520828247, -0.041599273681640625, -0.11942853033542633, -0.485013484954834, -0.5679882168769836, -0.33457475900650024, 0.3253779709339142, -0.28963786363601685, -0.4344725012779236, 0.1218591034412384, -0.2668847143650055, 0.4751085340976715, 0.6686931848526001, -0.41453975439071655, 0.5363443493843079, 1.2996783256530762, 0.8908125758171082, -0.4218008518218994, -0.5348238348960876, -0.6464917063713074, -0.05559108033776283, -0.3962087035179138, 1.2765312194824219, -0.43415164947509766, -0.38887089490890503, 0.07599345594644547, 0.05988253653049469, -0.014143127016723156, -0.804736852645874, 0.5558770895004272, -0.5580445528030396, -0.5544334650039673, -0.39989978075027466, -0.6803725957870483, -0.1524241864681244, 0.9011090397834778, -0.5900390148162842, 1.1136982440948486, 0.12841787934303284, -0.0022142482921481133, 0.2453920990228653, -0.6635059118270874, -0.2327374368906021, 0.2106180340051651, 0.043597716838121414, -0.11256121098995209, 0.18036483228206635, -0.04747292399406433, 0.23460614681243896, -0.6569993495941162, 0.013373419642448425, -0.403018057346344, -0.4323131740093231, 0.3103496730327606, -0.22359396517276764, 0.31723055243492126, 0.15581871569156647, -0.35076549649238586, 0.3182070553302765, -0.7713302373886108, 0.42052412033081055, 0.014859342947602272, -0.49301502108573914, 0.09829509258270264, 0.2666268050670624, -0.15200816094875336, -0.15582101047039032, 0.5908377170562744, -0.42250335216522217, 0.20276695489883423, -0.0018683538073673844, 0.19043248891830444, 0.7343268394470215, -0.1893194615840912, 0.30009111762046814, -0.7545920014381409, 0.7657261490821838, -0.3289804756641388, 0.29474499821662903, -0.1892976015806198, -0.1063128188252449, -0.7766234278678894, -0.3810923993587494, 0.15527446568012238, 0.2221679389476776, -0.4971182346343994, 0.20031990110874176, -0.23674368858337402, -0.8408082127571106, -0.21844691038131714, 0.041852179914712906, 0.28139635920524597, 0.1695324182510376, 0.16678018867969513, -0.6904605031013489, -0.2478114366531372, -0.6355016231536865, -0.2824636697769165, -0.6007465720176697, -0.07637747377157211, 0.5050739645957947, 0.3758314549922943, -0.4345850646495819, 0.7758628726005554, -0.1492520272731781, -0.07525193691253662, -0.3037862181663513, 0.159485325217247, 0.1984325796365738, 0.3109322786331177, 0.44590404629707336, -0.4724414646625519, -0.2228127419948578, -0.13343428075313568, -0.6042765974998474, -0.44533663988113403, 0.36978721618652344, -0.2321256399154663, -0.09561752527952194, 0.5123776793479919, -0.6863827109336853, 0.13279521465301514, 0.2602969706058502, -0.5631352066993713, 0.9131094813346863, -0.018420403823256493, 0.23198755085468292, -0.6047415137290955, 0.03452051430940628, -0.38383784890174866, -0.6199589967727661, -0.4221843183040619, 0.4855998456478119, -0.02776513248682022, 0.14560091495513916, -0.3609594702720642, 0.7145993113517761, -0.5084579586982727, -0.40087437629699707, -0.5111346244812012, 0.15355949103832245, 0.063681460916996, 0.2145145982503891, -0.3102726340293884, 0.8356502056121826, 0.7094478607177734, -0.5450066328048706, 0.7192179560661316, -0.021263383328914642, -0.24682030081748962, 0.9038373231887817, -0.7899556756019592, 0.3211289942264557, 0.13959598541259766, 0.3965075612068176, -0.9246915578842163, -0.09944035112857819, 0.12128345668315887, -0.4788816273212433, -0.12197522819042206, 0.08619754016399384, -0.680164098739624, -0.21908345818519592, -0.3262931704521179, 0.5111903548240662, 0.2785820960998535, -0.40776389837265015, 1.0220648050308228, 0.19561202824115753, -0.055335935205221176, -0.3582202196121216, -0.4450751543045044, 0.0979052260518074, 0.1338110864162445, -0.6095651388168335, 0.02611713670194149, -0.3396986126899719, -0.3350158631801605, 0.009165103547275066, -0.27160289883613586, -0.14960943162441254, 0.18379226326942444, 0.14464229345321655, -0.045109570026397705, -0.45018213987350464, 0.14692330360412598, -0.3365589678287506, -0.27580925822257996, 0.35383257269859314, -0.24655035138130188, 0.6599908471107483, -0.2868073582649231, -0.7761983871459961, -0.2199825644493103, 0.332182914018631, 0.777194082736969, -0.28728386759757996, 0.1158810630440712, 0.23628364503383636, -0.2399071902036667, -0.47200503945350647, -0.7382965087890625, -0.11654887348413467, -0.4669296443462372, 0.5183846354484558, -0.6132839918136597, -0.8276302814483643, 0.626532793045044, -0.5480620861053467, 0.15498049557209015, 0.30917754769325256, 0.6442568898200989, 0.2009253352880478, 1.0485856533050537, 0.6847530603408813, 0.047772444784641266, 0.47358402609825134, -0.09768377989530563, -0.4567425847053528, -0.7240796685218811, -0.2537776231765747, -0.8178488612174988, -0.1990293562412262, -0.009598965756595135, -0.8079039454460144, 0.19807976484298706, -0.13651101291179657, -0.26019522547721863, 0.35141152143478394, -0.13291209936141968, 0.46556106209754944, 0.339591383934021, -0.018424298614263535, 0.5567401647567749, -0.3781850039958954, -0.1715770959854126, 0.31149181723594666, -0.4207034707069397, -0.6971468329429626, 1.09722101688385, 0.38295722007751465, 0.6806557178497314, 0.32827046513557434, 0.6582129001617432, 0.6481291055679321, 0.4355383515357971, -0.951674222946167, 0.9231660962104797, 0.3663894832134247, -0.6573486328125, -0.3384546637535095, -0.5077569484710693, -0.8990578651428223, 0.5182664394378662, 0.3676903247833252, -0.7953440546989441, 0.16751818358898163, -0.046387799084186554, 0.05580965429544449, 0.054440319538116455, -0.3807072639465332, 0.8843717575073242, -0.3657087981700897, -0.2979179620742798, -0.6710932850837708, -0.1674676239490509, -0.0708031952381134, 0.021229352802038193, -0.09515984356403351, -0.6093927621841431, -0.48039910197257996, 0.43186163902282715, -0.967904806137085, 0.528766930103302, -0.2498355209827423, -0.02762959711253643, 0.28677478432655334, 0.06432725489139557, 0.7075485587120056, 0.11811475455760956, -0.5143118500709534, -0.14046236872673035, 0.14736267924308777, -0.5868323445320129, -0.739730954170227, 0.5363702774047852, -0.5527573227882385, -0.6110891699790955, -0.4001953601837158, -0.501365065574646, -0.4666460454463959, 0.21823376417160034, -0.38872942328453064, 0.5509251952171326, -0.36894506216049194, -0.06502022594213486, 0.33777374029159546, 0.20078842341899872, 0.42158281803131104, 1.1868211030960083, -0.2675483524799347, -0.3208630681037903, 0.7106969356536865, -0.04791536554694176, 0.1751277595758438, 0.2260654717683792, -0.10276445746421814, -0.552733838558197, -0.7787513732910156, -0.32632479071617126, 0.13699285686016083, -0.8765352964401245, -0.33915504813194275, -0.37403351068496704, 0.01427755132317543, -0.28700366616249084, 0.07973965257406235, -0.6951634287834167, -0.1878659576177597, 0.018028590828180313, 0.10893386602401733, 0.1294192522764206, 0.78412926197052, -0.14205293357372284, 0.19854946434497833, -0.5673559308052063, 0.03732831031084061, 0.3672538995742798, 0.5317388772964478, 0.18788868188858032, -0.3530133068561554, -0.2950466573238373, -0.26615986227989197, -0.4088982343673706, -0.6198186278343201, -0.024112872779369354, 0.06590049713850021, 0.8759239912033081, 0.14057394862174988, 0.0661955252289772, 0.609892725944519, -0.41342803835868835, 0.6068874597549438, -0.06849618256092072, -0.9483530521392822, 0.3439052104949951, -0.18539026379585266, 0.4532391130924225, 0.9056603908538818, -0.11363126337528229, -0.5281722545623779, -0.4986315667629242, -0.29836803674697876, -0.943445086479187, 0.6001760959625244, -0.08217118680477142, -0.10247520357370377, 0.15959899127483368, 0.2636474072933197, 0.08497722446918488, 0.2004355490207672, -0.20409224927425385, -0.27992528676986694, 0.1943284273147583, 0.11048303544521332, -0.24877434968948364, -0.1683158129453659, -0.24397993087768555, -0.15017539262771606, 0.743044376373291, -0.3483826518058777, 0.22879864275455475, 0.2664569914340973, -0.29163917899131775, 0.09003675729036331, 0.3254489004611969, 0.37618330121040344, 1.086936116218567, -0.10966888815164566, 0.08862987905740738, 0.14064614474773407, -0.36663341522216797, 0.44955238699913025, 0.4676899015903473, 0.09418988227844238, 0.1504499465227127, 0.4955347180366516, 0.4057355225086212, 0.020420314744114876, -1.067859172821045, 0.5507096648216248, -0.3762796223163605, -0.19312675297260284, -0.4453538954257965, 0.24100284278392792, -0.009623472578823566, 0.9221193194389343, 0.6061193943023682, -0.11942173540592194, 0.2949875295162201, -0.47544392943382263, 0.38105309009552, 0.3423163890838623, -0.5393839478492737, -0.1444249451160431, 0.4584468603134155, 0.30884993076324463, -0.7149056792259216, 0.1965048462152481, -0.39939069747924805, -0.4433195888996124, 0.8490207195281982, 0.31730759143829346, 1.215698003768921, 0.01960599422454834, 0.43478134274482727, 0.12538142502307892, 0.21527604758739471, -0.37652215361595154, 0.33763548731803894, -0.3181741535663605, -0.5078828930854797, -0.4686538279056549, -0.6321646571159363, -0.9392279982566833, -0.35975712537765503, -0.4623711109161377, 0.09785480052232742, -0.29427218437194824, -0.3648602068424225, -0.2299984246492386, 0.377368301153183, -0.6257744431495667, -0.03447894752025604, 0.0017520152032375336, 1.315280556678772, -0.30149200558662415, 0.46299630403518677, 1.077813744544983, -0.16188988089561462, -0.8391075730323792, -0.10428787767887115, 0.21478039026260376, -0.7926738858222961, 0.2976360321044922, 0.33620283007621765, -0.43039411306381226, -0.1869249939918518, -0.2723926603794098, -0.8758054971694946, 1.349863886833191, 0.40695515275001526, -0.4769345819950104, 0.34551748633384705, 0.22759602963924408, 0.6385477781295776, -0.5990947484970093, 0.7798378467559814, 0.6679733991622925, 0.7382460832595825, 0.1417364776134491, -0.8571087121963501, 0.26940619945526123, -0.44459033012390137, -0.034279849380254745, 0.14139775931835175, -0.9371581673622131, 0.6774404644966125, 0.1117086112499237, -0.13212262094020844, 0.4547600746154785, 0.6012725830078125, 0.3382313847541809, 0.6890705823898315, 0.6493910551071167, 0.5136449933052063, 0.7708539962768555, -0.2676418423652649, 0.9517151117324829, -0.2881113588809967, 0.2782396376132965, 0.9763217568397522, -0.42134588956832886, 0.7700089812278748, 0.031784623861312866, -0.20826059579849243, 0.44760048389434814, 0.7495490908622742, 0.04873074218630791, 0.23871520161628723, 0.3892834484577179, -0.3777574300765991, -0.45578208565711975, -0.356387197971344, -0.31168368458747864, 0.3073410093784332, 0.11423127353191376, 0.03017289564013481, -0.35025450587272644, -0.3681015074253082, -0.14659453928470612, -0.0423404686152935, -0.46778708696365356, 0.7554367780685425, -0.009247025474905968, -0.951798677444458, 0.2832520306110382, -0.09032228589057922, 0.44731947779655457, -0.74932461977005, 0.08185041695833206, -0.5471584796905518, 0.42099183797836304, -0.011496027931571007, -0.4590367078781128, 0.1299503594636917, -0.19401420652866364, -0.12602514028549194, -0.1971026360988617, 0.6074832677841187, -0.17523902654647827, -0.31070563197135925, 0.6092310547828674, 0.8505271077156067, 0.3802899718284607, -0.15969261527061462, -0.7965016961097717, 0.19679297506809235, -0.425708144903183, -0.39635974168777466, 0.17751730978488922, 0.4373447000980377, 0.09316885471343994, 1.0124614238739014, 0.4404033422470093, 0.34459221363067627, -0.08255646377801895, 0.35338133573532104, 0.9163585901260376, -0.7910937666893005, -0.3071228265762329, -0.8599075675010681, 0.34535282850265503, -0.1740962415933609, -0.32379618287086487, 0.5280436277389526, 0.6394292116165161, 0.4680578112602234, 0.3745988607406616, 0.5883676409721375, -0.023999100551009178, 0.5585799217224121, -0.1841222494840622, 0.5155012011528015, -0.9289347529411316, 0.4507891833782196, -0.046268243342638016, -1.1569610834121704, -0.044599395245313644, 0.054278552532196045, 0.07421881705522537, 0.036950550973415375, 0.7627030611038208, 1.0764718055725098, 0.2658853232860565, -0.14103522896766663, 0.3062506318092346, -0.007410779595375061, 0.5043989419937134, 0.48978933691978455, 1.2103205919265747, -0.17331108450889587, 0.6220799088478088, 0.19516129791736603, -0.3016131818294525, -0.28902095556259155, -0.6692708730697632, -0.762565016746521, -0.23959915339946747, -0.3396909236907959, -0.23502986133098602, 0.3341623544692993, 0.7771016359329224, 0.7442793250083923, -0.5479872226715088, -0.5717806220054626, -0.047965195029973984, 0.46558335423469543, -0.5617805123329163, -0.15143033862113953, -0.01907213404774666, -0.7426168918609619, -0.7215767502784729, 0.5839242935180664, 0.39537835121154785, -0.16029003262519836, -0.5757977366447449, -0.40291669964790344, 0.15966568887233734, 0.26395508646965027, 0.4367694854736328, 0.3762225806713104, -0.5739597678184509, -0.1819373369216919, -0.021325968205928802, -0.30397385358810425, -0.00369780114851892, 1.0679874420166016, -0.5306909084320068, 0.319403737783432, 0.5366029143333435, 0.8407294154167175, 0.5186878442764282, -0.05350180342793465, 0.7253280878067017, -0.375182181596756, -0.17421706020832062, 0.27105557918548584, 0.4305382966995239, 0.2527916133403778, 0.030793553218245506, 0.8144620656967163, 0.1581001579761505, -0.7943789958953857, -0.9561716318130493, 0.17275796830654144, -0.807421088218689, -0.11266262829303741, 0.9880349636077881, -0.293965607881546, -0.32858526706695557, -0.24214807152748108, -0.013366617262363434, 0.004750619642436504, -0.5473604798316956, 0.42479631304740906, 0.7262340188026428, -0.3041326105594635, -0.08915585279464722, -0.3726932406425476, 0.17230598628520966, 0.579359769821167, -0.9255309700965881, 0.06775060296058655, 0.6874915957450867, 0.25221094489097595, 0.11943407356739044, 0.9573242664337158, -0.04155074432492256, 0.35345393419265747, 0.23460422456264496, 0.0009617998148314655, -0.13504810631275177, -0.2963094115257263, -0.11316505074501038, 0.26796817779541016, 0.42217838764190674, -0.05689619109034538 ]
http://arxiv.org/abs/2404.06407v3
http://arxiv.org/pdf/2404.06407v3
Rethinking How to Evaluate Language Model Jailbreak
2024-04-09T15:54:16
2024-05-07T14:06:23
Hongyu Cai, Arjun Arunasalam, Leo Y. Lin, Antonio Bianchi, Z. Berkay Celik
cs.CL
cs.CL, cs.AI, cs.CR, cs.LG
Large language models (LLMs) have become increasingly integrated with various applications. To ensure that LLMs do not generate unsafe responses, they are aligned with safeguards that specify what content is restricted. However, such alignment can be bypassed to produce prohibited content using a technique commonly referred to as jailbreak. Different systems have been proposed to perform the jailbreak automatically. These systems rely on evaluation methods to determine whether a jailbreak attempt is successful. However, our analysis reveals that current jailbreak evaluation methods have two limitations. (1) Their objectives lack clarity and do not align with the goal of identifying unsafe responses. (2) They oversimplify the jailbreak result as a binary outcome, successful or not. In this paper, we propose three metrics, safeguard violation, informativeness, and relative truthfulness, to evaluate language model jailbreak. Additionally, we demonstrate how these metrics correlate with the goal of different malicious actors. To compute these metrics, we introduce a multifaceted approach that extends the natural language generation evaluation method after preprocessing the response. We evaluate our metrics on a benchmark dataset produced from three malicious intent datasets and three jailbreak systems. The benchmark dataset is labeled by three annotators. We compare our multifaceted approach with three existing jailbreak evaluation methods. Experiments demonstrate that our multifaceted evaluation outperforms existing methods, with F1 scores improving on average by 17% compared to existing baselines. Our findings motivate the need to move away from the binary view of the jailbreak problem and incorporate a more comprehensive evaluation to ensure the safety of the language model.
[ -0.2106817364692688, -0.8475096821784973, 0.5349161028862, 0.19340866804122925, -0.20724259316921234, 0.33956608176231384, -0.3778548240661621, -0.6432256102561951, 0.06505971401929855, 0.749862551689148, -0.24384772777557373, -0.49897778034210205, -0.6560697555541992, -0.025480078533291817, -0.4120556712150574, 1.3124127388000488, 0.020309651270508766, -0.21043364703655243, -0.10763633996248245, -0.05967521294951439, -0.856887936592102, -0.5032907128334045, -0.3590255677700043, -0.07443371415138245, 0.21179382503032684, 0.3537875711917877, 0.6852229833602905, 0.6739287972450256, 0.8326386213302612, 0.3125564754009247, -0.1282498985528946, -0.004160932265222073, -0.4159025549888611, 0.09176637977361679, 0.025052567943930626, -0.4010609984397888, -0.21087174117565155, 0.18721476197242737, 0.2418120801448822, 0.33506590127944946, -0.1937268078327179, 0.14808973670005798, -0.17345502972602844, 0.7659687399864197, -0.7950995564460754, -0.11755038797855377, -0.7424160838127136, -0.020083963871002197, -0.12040514498949051, 0.16642533242702484, -0.5695197582244873, -0.5661934614181519, 0.005349041894078255, -0.07201634347438812, -0.08809985220432281, 0.060059309005737305, 0.4797171652317047, 0.042213547974824905, -0.30773988366127014, -0.3709574341773987, -0.700029194355011, 0.7184855937957764, -0.98834228515625, 0.23447227478027344, 0.4379868805408478, 0.47013527154922485, -0.16626934707164764, -0.2624208331108093, -0.34878233075141907, -0.8623219728469849, 0.11118609458208084, -0.347944974899292, -0.22294467687606812, -0.17705455422401428, 0.19669745862483978, 0.18812230229377747, -0.37253984808921814, 0.085767962038517, -0.4680772125720978, -0.30850932002067566, 0.7869206666946411, 0.17971765995025635, 0.4418964684009552, -0.46711465716362, -0.5521842837333679, 0.08040411025285721, -0.8147103786468506, 0.1363794207572937, 0.8292527794837952, 0.3415974974632263, -0.12463507801294327, 0.5958820581436157, 0.1882583498954773, 0.5073474645614624, -0.006333125755190849, -0.31178992986679077, 0.2874337136745453, -0.44844016432762146, 0.022123001515865326, 0.060590606182813644, 0.9728643894195557, 0.5000184178352356, 0.44534170627593994, -0.5118999481201172, -0.23414944112300873, 0.041046157479286194, 0.5270519256591797, -0.803827166557312, -0.020866986364126205, 0.4057021737098694, -0.3585800230503082, -0.6483217477798462, 0.1262063831090927, -0.6956321001052856, -0.7099416851997375, 0.0732303261756897, 0.224607914686203, -0.6957219243049622, -0.29642733931541443, 0.09503459930419922, -0.04313275218009949, 0.09420685470104218, 0.10385365784168243, -0.7558953762054443, 0.4511828124523163, 0.7947325706481934, 0.7195999026298523, -0.11959997564554214, -0.21686206758022308, -0.3842660188674927, -0.01044385600835085, -0.24884991347789764, 0.4747895896434784, -0.4366103410720825, -0.29513680934906006, -0.25627994537353516, -0.2946522831916809, -0.03557963669300079, -0.6105631589889526, 0.5004867911338806, -0.49198490381240845, -0.13767358660697937, 0.09481483697891235, -0.49707770347595215, -0.19896043837070465, 0.3393816351890564, -0.7417917251586914, 0.6219176650047302, -0.11424100399017334, -0.9183394312858582, 0.4602096378803253, -0.3145725429058075, -0.5732277631759644, -0.22023151814937592, 0.11791552603244781, -0.5173073410987854, 0.21276719868183136, 0.10090654343366623, 0.23243123292922974, -0.305465430021286, 0.8728903532028198, -0.5158052444458008, -0.27735936641693115, 0.4875584542751312, -0.4589725732803345, 0.6245270371437073, 0.3617912828922272, -0.4367172122001648, 0.1317468136548996, -0.7003781199455261, -0.05291508138179779, 0.2455015927553177, -0.38112685084342957, -0.4553753733634949, 0.27363917231559753, -0.018004847690463066, 0.10207386314868927, 0.1321682184934616, -0.8604459762573242, -0.023075245320796967, -0.5993515253067017, 0.5673221945762634, 0.7439009547233582, -0.034706711769104004, 0.24115024507045746, -0.21095995604991913, 0.364335298538208, -0.15945297479629517, 0.4721794128417969, -0.0343046635389328, -0.23370936512947083, -0.3818763494491577, -0.09166193753480911, 0.20128272473812103, 0.7202445864677429, -0.2665504813194275, 0.42764851450920105, -0.27531176805496216, -0.6764026284217834, -0.47963428497314453, 0.3355538547039032, 0.7029832601547241, 0.37418052554130554, 0.2976808547973633, -0.5050563216209412, -0.5231022238731384, -0.9070844054222107, -0.6756956577301025, -0.5162237286567688, 0.3653743267059326, 0.12960927188396454, 0.515551745891571, -0.06322163343429565, 0.827750563621521, -0.13821271061897278, 0.12352333217859268, -0.6054496169090271, 0.033521369099617004, 0.2097024768590927, 0.6051478981971741, 0.5925185680389404, -0.48194408416748047, -0.12936317920684814, -0.24479496479034424, -0.7077765464782715, -0.0984576940536499, 0.03991825878620148, 0.2891775667667389, 0.035825904458761215, 0.39126837253570557, -0.4159587025642395, 0.5958037972450256, 0.4787752330303192, -0.5306648015975952, 0.9727563858032227, 0.0865437313914299, 0.24106702208518982, -0.7189533710479736, 0.03214102238416672, -0.05869104713201523, -0.13519607484340668, -0.740699827671051, 0.4386971890926361, 0.1306716352701187, -0.04326660558581352, -0.6448333263397217, 0.35861194133758545, -0.24424013495445251, 0.02243546023964882, -0.2814376652240753, 0.1631067842245102, -0.025211060419678688, 0.060904957354068756, -0.43189260363578796, 0.571986198425293, 0.1692880243062973, -0.17580172419548035, 0.45023366808891296, 0.09140748530626297, -0.588908314704895, 0.09715640544891357, -0.7288641929626465, 0.33336639404296875, -0.1592983901500702, 0.041515644639730453, -1.0443466901779175, -0.02168104238808155, 0.2478853315114975, -0.4134199321269989, 0.1509842425584793, -0.2902800142765045, -0.6211585402488708, -0.2828197181224823, -0.5413224697113037, 0.3547101318836212, 0.15185336768627167, -0.20618504285812378, 0.1982475370168686, 0.3956068754196167, -0.04533226788043976, -0.6757277250289917, -0.5546095371246338, 0.39625298976898193, -0.553933322429657, -0.9043883681297302, 0.09124904870986938, -0.07707718014717102, -0.6260794997215271, -0.16763384640216827, -0.10854055732488632, 0.06161132827401161, 0.4366103410720825, 0.29077887535095215, 0.43541622161865234, 0.002733515575528145, -0.17035964131355286, -0.06858480721712112, -0.011248255148530006, 0.3313988447189331, 0.08548975735902786, 0.5253875851631165, -0.3609532117843628, -0.3123285174369812, -0.2641095221042633, 0.1330832839012146, 0.5980589389801025, -0.5248786211013794, 0.8644874095916748, 0.27920955419540405, -0.13707484304904938, 0.12915398180484772, -0.7152392268180847, -0.05649309605360031, -0.43154820799827576, 0.2463107407093048, -0.3467767834663391, -0.9412813186645508, 0.4439390003681183, 0.08082103729248047, 0.19550317525863647, 0.014285041019320488, 0.3796386420726776, 0.2939597964286804, 0.8044767379760742, 0.7063921093940735, -0.17108981311321259, 0.3363964855670929, 0.11041870713233948, 0.5674372315406799, -0.797002375125885, -0.24504244327545166, -0.6355859637260437, -0.10286098718643188, -0.5613117218017578, -0.13455352187156677, 0.07413619011640549, 0.3910960853099823, -0.08619502931833267, 0.6910050511360168, -0.10332661867141724, 0.4832288324832916, -0.005041469354182482, 0.07606392353773117, 0.3776859939098358, -0.25273314118385315, -0.32776767015457153, -0.004055397119373083, -0.2489941269159317, -0.8328503966331482, 1.3517060279846191, 0.5929754376411438, 0.695438802242279, 0.48384955525398254, 0.8080098032951355, 0.3282310962677002, 0.6123421788215637, -0.8051242828369141, 0.5722635388374329, -0.09875503927469254, -0.8305373787879944, -0.21245089173316956, -0.41618579626083374, -0.6876626014709473, 0.26221880316734314, -0.08142004907131195, -1.200642466545105, -0.2071327269077301, -0.0679895430803299, -0.4099453389644623, 0.18409816920757294, -0.8249949216842651, 0.8594005107879639, -0.4738929569721222, -0.49452900886535645, -0.16918006539344788, -0.7580204606056213, 0.8981996774673462, -0.33424535393714905, 0.764811098575592, -0.44583484530448914, 0.26678740978240967, 0.6783763766288757, -0.5529460906982422, 0.8463121652603149, -0.19639399647712708, -0.14070729911327362, 0.25281277298927307, 0.4042634665966034, 0.3562220633029938, 0.17642126977443695, -0.32304510474205017, -0.11839425563812256, -0.002551768207922578, 0.009594880044460297, -0.5314218401908875, 0.5975433588027954, -0.5461173057556152, -0.7670055627822876, -0.0559961162507534, -0.4789576828479767, -0.34215813875198364, 0.20105400681495667, 0.06858106702566147, 0.23254276812076569, -0.27788859605789185, 0.022299187257885933, 0.33832409977912903, -0.6033639311790466, 0.4400080442428589, 0.6423090100288391, -0.6016618609428406, -0.44102588295936584, 0.5654817819595337, -0.2649480998516083, 0.4579896628856659, 0.07213585823774338, 0.3684282600879669, -0.2262023687362671, -0.8238199353218079, -0.3894248604774475, 0.19644786417484283, -0.5962339639663696, -0.1636875718832016, -0.45602986216545105, -0.3331049680709839, -0.4798234701156616, 0.05620960891246796, -0.4228898584842682, -0.18462057411670685, 0.21442435681819916, -0.2235315591096878, 0.18050427734851837, 0.7157564759254456, -0.12012745440006256, 0.22548113763332367, -0.8577772378921509, 0.26899972558021545, -0.09861104190349579, 0.3224550783634186, -0.005264820996671915, -0.6087478399276733, -0.15784604847431183, -0.18322277069091797, -0.22826190292835236, -1.1731257438659668, 0.2644480764865875, 0.019597474485635757, 0.5558616518974304, 0.3280865550041199, 0.06509791314601898, 0.6133529543876648, -0.7314602136611938, 0.5266191959381104, 0.282245010137558, -1.0427041053771973, 0.9014526009559631, -0.16629062592983246, -0.16576357185840607, 0.8193471431732178, -0.07685944437980652, -0.4718167185783386, -0.8709356784820557, -0.43210941553115845, -1.0308383703231812, 0.43487223982810974, 0.24484729766845703, 0.4255426228046417, -0.10813593119382858, 0.32834291458129883, 0.2373836487531662, 0.32617709040641785, -0.9363716244697571, -0.11543145030736923, -0.0404711551964283, 0.07687971740961075, -0.09973142296075821, -0.23873472213745117, -0.06554734706878662, -0.22083494067192078, 0.29790249466896057, 0.32119986414909363, 0.017280787229537964, -0.21134483814239502, -0.41173502802848816, 0.03231063857674599, 0.6266335844993591, 0.3950287997722626, 0.658643901348114, -0.3480790853500366, 0.05527056008577347, -0.2547699511051178, -0.6572284698486328, 0.37469807267189026, 0.08314980566501617, -0.11483446508646011, -0.17389491200447083, 0.4775833487510681, 0.8239964842796326, 0.10583875328302383, -0.9024444818496704, 0.7466155886650085, -0.13347959518432617, 0.12875127792358398, -0.16582155227661133, 0.2620200216770172, -0.18085767328739166, 0.09108643978834152, 0.1233903095126152, 0.05639459192752838, 0.18568196892738342, -0.6546844840049744, 0.40530309081077576, 0.4571060538291931, -0.37725400924682617, -0.20329318940639496, 0.5777419209480286, 0.1328606754541397, -0.3313838243484497, 0.5927906036376953, -0.06962788850069046, -0.4675893783569336, 0.6913895606994629, 0.7093983888626099, 1.0407359600067139, -0.2384594827890396, 0.3207789957523346, 0.28284236788749695, 0.9736204743385315, 0.10313677787780762, 0.17898276448249817, 0.15090209245681763, -0.9173937439918518, -0.6993456482887268, -0.7666634917259216, -0.12915077805519104, 0.2874515950679779, -0.6078909039497375, 0.11638474464416504, -0.7355570793151855, -0.32537588477134705, 0.03627629205584526, -0.16340278089046478, -0.339250773191452, 0.10537531971931458, 0.18550387024879456, 1.0291149616241455, -0.8329317569732666, 0.6758432388305664, 0.447051465511322, -0.23489484190940857, -0.8263332843780518, 0.11196263134479523, 0.23177503049373627, -0.6351213455200195, 0.4917190372943878, 0.5967662334442139, -0.10008001327514648, -0.4153943955898285, -0.5478352904319763, -0.729097843170166, 0.5167169570922852, 0.4098562002182007, -0.6228825449943542, 0.2148820012807846, 0.1406928449869156, 0.41724449396133423, -0.2842680513858795, 0.05150879546999931, 0.9905200600624084, 0.4992542564868927, -0.15207026898860931, -0.9344884753227234, 0.2550615966320038, -0.4020320177078247, 0.020262356847524643, 0.4356226325035095, -0.2599864900112152, 0.5612727999687195, -0.6193776726722717, -0.16851624846458435, 0.3223873972892761, 0.20630097389221191, 0.5449137687683105, 0.09945632517337799, 0.5325037837028503, 0.686716616153717, 0.3807741701602936, -0.08614823967218399, 1.026532769203186, -0.2841850519180298, 0.27593716979026794, 1.1791783571243286, -0.3210393786430359, 0.851220965385437, 0.6205838918685913, -0.11253146827220917, 0.5107213854789734, 0.1993442326784134, -0.0949772521853447, 0.6280169486999512, 0.6265086531639099, -0.14676503837108612, -0.13738535344600677, 0.05779276788234711, -0.08264464139938354, 0.7782354950904846, 0.28370770812034607, -0.4034408926963806, -0.3052641451358795, 0.14995956420898438, 0.3452950119972229, 0.12709547579288483, -0.03594153746962547, 0.7186224460601807, 0.020310839638113976, -0.6143656969070435, 0.4329261779785156, 0.5530573129653931, 0.4652068018913269, -0.4415552616119385, 0.2033291757106781, -0.16222019493579865, 0.05042010918259621, -0.2157251089811325, -0.8541078567504883, 0.47980594635009766, 0.6260638236999512, 0.11488726735115051, 0.02348591573536396, 0.7591805458068848, 0.08009815961122513, -0.4064096212387085, 0.5034894943237305, 0.42306047677993774, 0.22459901869297028, 0.06786000728607178, -0.6921306252479553, 0.3916406035423279, -0.021165326237678528, -0.20247016847133636, 0.261493444442749, 0.06739474087953568, -0.008385629393160343, 0.6954549551010132, 0.7563270330429077, 0.15541183948516846, 0.12636977434158325, 0.12178903818130493, 0.7849969267845154, -0.7097591161727905, -0.34045764803886414, -1.244596242904663, 0.6168130040168762, 0.036806073039770126, -0.2679899036884308, 0.7903041243553162, 0.5007456541061401, 0.6160790920257568, 0.29050394892692566, 0.9325473308563232, -0.3510712683200836, 0.283430278301239, -0.5958557724952698, 0.6506431698799133, -0.21595600247383118, 0.8774276971817017, -0.5969977974891663, -0.8578534126281738, -0.22967413067817688, 0.43018609285354614, -0.663240373134613, 0.0018542353063821793, 0.5754268765449524, 0.5292815566062927, 0.16312718391418457, 0.07406826317310333, 0.196515291929245, 0.07561200857162476, 0.3930618166923523, 0.5765554904937744, 1.1466647386550903, -0.3735504448413849, 0.560873806476593, -0.2834113538265228, -0.2773435711860657, -0.05078957974910736, -0.9404783844947815, -0.863812267780304, -0.03404873237013817, -0.14448654651641846, -0.39415594935417175, 0.25271257758140564, 0.5514883399009705, 0.4887949824333191, -0.788590669631958, -0.3969334363937378, -0.03485214710235596, 0.14196811616420746, 0.01006444450467825, -0.23241396248340607, -0.1187971830368042, -0.41713812947273254, -0.21958062052726746, 0.5270032286643982, 0.46952903270721436, -0.15960678458213806, -0.38502952456474304, 0.01907527633011341, 0.05775218829512596, 0.10266251862049103, 0.533500611782074, 0.09412571042776108, -0.8143349885940552, -0.41918858885765076, -0.15880149602890015, -0.19608481228351593, -0.010656176134943962, 0.7617911696434021, -0.6197773218154907, 0.4010918438434601, 0.17120543122291565, 0.6075888872146606, 0.17282243072986603, -0.034785348922014236, 0.5798656344413757, -0.7101172208786011, 0.060823556035757065, 0.14366576075553894, 0.31898292899131775, 0.45458123087882996, -0.22445258498191833, 0.3206300437450409, -0.029637014493346214, -0.3053840398788452, -0.8431613445281982, 0.4746067225933075, -0.47638410329818726, -0.42468971014022827, 1.0831644535064697, -0.3179243803024292, -0.17311537265777588, -0.18577656149864197, 0.09838799387216568, 0.01324945967644453, -0.3521663248538971, 0.8786132335662842, 0.7329202890396118, 0.0037135505117475986, -0.2032603621482849, -0.7347400784492493, 0.22266845405101776, 0.11534418165683746, -0.838340163230896, 0.16730599105358124, 0.578057050704956, 0.6139236092567444, 0.23586000502109528, 0.36855748295783997, -0.5620154142379761, 0.1787520945072174, -0.2845054268836975, -0.03034829907119274, -0.06606139242649078, -0.5691113471984863, -0.28911253809928894, 0.1483096182346344, 0.2412809282541275, 0.11174643784761429 ]
http://arxiv.org/abs/2404.06405v2
http://arxiv.org/pdf/2404.06405v2
Wu's Method can Boost Symbolic AI to Rival Silver Medalists and AlphaGeometry to Outperform Gold Medalists at IMO Geometry
2024-04-09T15:54:00
2024-04-11T14:37:29
Shiven Sinha, Ameya Prabhu, Ponnurangam Kumaraguru, Siddharth Bhat, Matthias Bethge
cs.AI
cs.AI, cs.CG, cs.CL, cs.LG
Proving geometric theorems constitutes a hallmark of visual reasoning combining both intuitive and logical skills. Therefore, automated theorem proving of Olympiad-level geometry problems is considered a notable milestone in human-level automated reasoning. The introduction of AlphaGeometry, a neuro-symbolic model trained with 100 million synthetic samples, marked a major breakthrough. It solved 25 of 30 International Mathematical Olympiad (IMO) problems whereas the reported baseline based on Wu's method solved only ten. In this note, we revisit the IMO-AG-30 Challenge introduced with AlphaGeometry, and find that Wu's method is surprisingly strong. Wu's method alone can solve 15 problems, and some of them are not solved by any of the other methods. This leads to two key findings: (i) Combining Wu's method with the classic synthetic methods of deductive databases and angle, ratio, and distance chasing solves 21 out of 30 methods by just using a CPU-only laptop with a time limit of 5 minutes per problem. Essentially, this classic method solves just 4 problems less than AlphaGeometry and establishes the first fully symbolic baseline strong enough to rival the performance of an IMO silver medalist. (ii) Wu's method even solves 2 of the 5 problems that AlphaGeometry failed to solve. Thus, by combining AlphaGeometry with Wu's method we set a new state-of-the-art for automated theorem proving on IMO-AG-30, solving 27 out of 30 problems, the first AI method which outperforms an IMO gold medalist.
[ -0.6171169281005859, -0.8509969711303711, 0.758624255657196, 0.09201935678720474, -0.015911906957626343, 0.19318115711212158, -0.028954919427633286, -0.6150071024894714, -0.08820758759975433, -0.36747434735298157, -0.6910008788108826, -0.1875341236591339, -0.40800365805625916, 0.250060111284256, -0.5450629591941833, 0.5565468668937683, -0.2310895323753357, 0.10667172819375992, -0.38177403807640076, -0.46162256598472595, -0.17863105237483978, -0.5275614857673645, -0.455808162689209, -0.7498042583465576, 0.1518467664718628, 0.287346214056015, 0.8167856335639954, 0.779161274433136, 0.7854849100112915, 0.3406608998775482, -0.060418594628572464, 0.371736079454422, -0.08366825431585312, -0.28801149129867554, 0.19141723215579987, -0.6435438990592957, -0.20915290713310242, 0.2551868259906769, 0.5442196130752563, 0.571658194065094, -0.10586710274219513, -0.09368497878313065, 0.2142249345779419, 0.9384945034980774, -0.4172658324241638, 0.08714894950389862, -0.4084228277206421, 0.08819897472858429, -0.5034118890762329, 0.026509283110499382, -0.18809182941913605, -0.22169750928878784, -0.07349526137113571, -1.1160813570022583, -0.03217554837465286, 0.21810117363929749, 1.1972054243087769, 0.3670302927494049, -0.3347354829311371, -0.167659729719162, -0.8864486813545227, 0.8482557535171509, -0.6347871422767639, 0.053719282150268555, 0.1592724770307541, 0.646885097026825, -0.028062384575605392, -0.5089399814605713, -0.545398473739624, -0.4718303084373474, 0.21020328998565674, 0.14694461226463318, -0.5373600721359253, 0.06478580832481384, 0.642430305480957, 0.425246000289917, -0.6647147536277771, 0.01846126839518547, -0.5858156085014343, -0.20240698754787445, 0.8528477549552917, 0.06343282014131546, 0.5567268133163452, -0.020648976787924767, 0.02334425412118435, -0.36761364340782166, -0.5539740324020386, 0.06164128705859184, 0.28828975558280945, -0.1590908318758011, 0.15356990694999695, 0.8116874098777771, -0.4151957035064697, 0.5614664554595947, 0.06684013456106186, -0.10706670582294464, -0.007009338121861219, -0.10438058525323868, 0.022353695705533028, 0.04833000898361206, 0.7979492545127869, 0.01876695454120636, 0.8039930462837219, -0.10225246846675873, 0.022392695769667625, 0.4661768674850464, 0.09614353626966476, -0.4649507701396942, -0.43215492367744446, 0.15365523099899292, -0.19330137968063354, 0.11241107434034348, 0.18464316427707672, -0.1646612286567688, -0.16023018956184387, -0.4492276906967163, 0.6489920020103455, -0.7365676760673523, 0.16774187982082367, -0.13978543877601624, -0.1417827010154724, 0.1973581165075302, 0.473250150680542, -0.4812193810939789, 0.18369528651237488, 0.9783514142036438, 0.9332724213600159, 0.11215771734714508, -0.526014506816864, -0.5016165971755981, -0.2059629261493683, -0.6681656241416931, 0.9541658163070679, -0.098477303981781, -0.09567049890756607, -0.31148773431777954, -0.3386012613773346, 0.3000831604003906, -0.6277560591697693, 0.1629454642534256, -0.05663131922483444, 0.1557871550321579, -0.365853488445282, -0.40602487325668335, -0.4029424786567688, 0.615400493144989, -0.34795331954956055, 0.9263779520988464, 0.00927992258220911, -0.3204789459705353, 0.23272046446800232, -0.6359201669692993, -0.3496781587600708, 0.15711772441864014, -0.20188917219638824, -0.24403375387191772, 0.3253342807292938, 0.5416719913482666, -0.2345040738582611, -0.41224008798599243, -0.03886387497186661, -0.5159673094749451, -0.48084521293640137, 0.1180955022573471, -0.1467895656824112, 1.0966737270355225, 0.036977093666791916, -0.404288113117218, -0.06374447792768478, -0.6206434369087219, 0.397672563791275, 0.40539875626564026, 0.0801730826497078, -0.35072585940361023, -0.21231472492218018, -0.7861899733543396, 0.10234701633453369, 0.05809871479868889, -0.5980803370475769, 0.34110045433044434, -0.43425658345222473, 0.32800284028053284, 0.8462997078895569, -0.3639894723892212, 0.29750585556030273, -0.5492287874221802, 0.3338147699832916, -0.2780579626560211, 0.26414456963539124, 0.060976382344961166, -0.8300247192382812, -0.7205190062522888, -0.13981835544109344, 0.19127434492111206, 0.9113641381263733, -0.8079589605331421, 0.2528204917907715, -0.08981472998857498, -0.8281988501548767, -0.4791383743286133, 0.13939552009105682, 0.36008554697036743, 0.42233699560165405, 0.30526116490364075, -0.18929433822631836, -0.1751532256603241, -0.7350296378135681, -0.45145362615585327, -0.6491658091545105, -0.07837852835655212, 0.3299696743488312, 0.5170290470123291, -0.06757467240095139, 0.8237326741218567, -0.5202896595001221, -0.5475085973739624, 0.18597573041915894, 0.5867682099342346, 0.4182037115097046, 0.5611277222633362, 0.5453724265098572, -0.15691863000392914, -0.280067503452301, 0.2938467860221863, -1.5561598539352417, -0.36969396471977234, -0.000879704428371042, -0.1800825595855713, 0.054596882313489914, 0.3449326753616333, -0.4468458890914917, 0.3568836748600006, 0.15814150869846344, -0.2232924997806549, 0.9520518183708191, -0.46421295404434204, 0.24361202120780945, -0.3874824047088623, -0.13841576874256134, 0.33135855197906494, 0.02319532074034214, -0.2254459410905838, 0.35224124789237976, -0.062334708869457245, -0.2178444117307663, -0.20219066739082336, 0.6308872699737549, -0.5511801838874817, 0.05168478935956955, -0.37940675020217896, -0.2621256113052368, -0.05011206492781639, 0.4291296899318695, -0.7074695825576782, 0.5028752088546753, 0.6066996455192566, -0.6085717082023621, 0.8049063086509705, 0.1271662563085556, 0.05781304091215134, 0.9794727563858032, -0.7305362224578857, 0.26575767993927, -0.2992112338542938, -0.08897906541824341, -0.9694477319717407, 0.08248663693666458, -0.023038500919938087, -0.6039692163467407, -0.172304168343544, -0.0823502242565155, -0.5630239844322205, -0.8088918924331665, -0.20258483290672302, 0.579261839389801, 0.5603001713752747, -0.7318658232688904, 0.7681852579116821, 0.025328660383820534, 0.06281637400388718, -0.47441592812538147, -0.6033588647842407, 0.2938074469566345, -0.3570883274078369, -0.854625940322876, 0.1430700570344925, -0.28999513387680054, -0.8667909502983093, 0.09043613076210022, -0.206644207239151, 0.056680694222450256, 0.37917935848236084, -0.1254393309354782, 0.24993778765201569, -0.10563164204359055, -0.17748822271823883, -0.055256329476833344, -0.4830826222896576, 0.2367081642150879, -0.41499507427215576, 0.3400086760520935, -0.6170748472213745, -0.7102223038673401, -0.7417312860488892, 0.5112203359603882, 0.5000817179679871, 0.035103484988212585, 0.32019278407096863, 0.32972681522369385, -0.6895232796669006, 0.056664153933525085, -0.3099285066127777, -0.30349963903427124, -0.480493426322937, 0.159190371632576, -0.42614006996154785, -0.2704010009765625, 0.4286653697490692, -0.1151270717382431, 0.4616193175315857, 0.5633696913719177, 0.049472883343696594, -0.43255093693733215, 1.6375571489334106, 0.36795270442962646, -0.04874824732542038, 0.38373687863349915, -0.6502096652984619, 0.25697219371795654, -0.5845806002616882, -0.168190598487854, -0.6391856074333191, -0.6052944660186768, -0.2865639626979828, 0.159265398979187, 0.83600914478302, 0.3710683286190033, -0.601857602596283, 0.11024432629346848, -0.7587746381759644, 0.32203248143196106, 0.9968557357788086, 0.05181828513741493, 0.5780053734779358, 0.1794803887605667, -0.19492655992507935, -0.39873310923576355, -0.620200514793396, -0.05390162020921707, 0.9229311347007751, -0.0947510302066803, 0.8986269235610962, 0.005295274779200554, 0.6038040518760681, 0.2742922604084015, 0.6012802720069885, -0.9393473863601685, 0.6777308583259583, -0.14027680456638336, -0.5026165246963501, -0.2595791816711426, -0.529981791973114, -0.7021503448486328, 0.2048811912536621, -0.3150648772716522, -0.6755598187446594, -0.14678168296813965, 0.20580285787582397, -0.06403720378875732, 0.22856776416301727, -0.5717409253120422, 0.5357406735420227, -0.4870193302631378, -0.2737295627593994, -0.18366730213165283, -0.28347042202949524, 0.29645028710365295, 0.22356878221035004, 0.29880645871162415, -0.07784098386764526, 0.3628987669944763, 0.8586904406547546, -0.7237876057624817, 0.07360751926898956, -0.08356436342000961, -0.025179598480463028, 0.41329890489578247, 0.2980072796344757, 0.4911167323589325, -0.03297210857272148, 0.05901608243584633, 0.1609610766172409, -0.21695029735565186, -0.5181729197502136, -0.7477033734321594, 0.5712440013885498, -0.7574848532676697, -0.7739202976226807, -0.7733485698699951, -0.7216434478759766, 0.00513121671974659, 0.30908939242362976, 0.44723275303840637, 0.5609182119369507, 0.04249076545238495, -0.01658332720398903, 0.1882125437259674, 0.32448258996009827, 0.4284360110759735, 0.01734570413827896, -0.11522768437862396, -0.4548819363117218, 0.7526446580886841, 0.5315227508544922, -0.00839531421661377, -0.08863264322280884, 0.50613933801651, -0.08340319246053696, -0.3832719624042511, -0.6684669256210327, 0.5587034821510315, -0.8857147693634033, -0.1938983052968979, -0.3247801661491394, -0.36783459782600403, -0.01261053141206503, -0.525646448135376, -0.42470985651016235, -0.5178090333938599, 0.18445084989070892, 0.2129906564950943, 0.23146288096904755, 0.44687411189079285, -0.43862834572792053, 0.2084779292345047, -0.6991950273513794, 0.4470924437046051, 0.5504560470581055, -0.09089188277721405, 0.10292460024356842, 0.0014248160878196359, -0.11159195750951767, 0.21990342438220978, -0.5095205903053284, -0.8383402824401855, 0.2587997317314148, 0.1545393317937851, 0.6115689277648926, 0.6386609077453613, -0.06475081294775009, 1.0735409259796143, -0.24066515266895294, 0.5763372778892517, 0.1717182695865631, -1.0162144899368286, 0.5405042767524719, -0.19053393602371216, 0.47193625569343567, 0.41670817136764526, 0.21109528839588165, -0.2153719961643219, -0.4769666790962219, -0.744820237159729, -0.6901406049728394, 0.4100134074687958, 0.4477859139442444, -0.2652570307254791, 0.24775315821170807, 0.5718744397163391, -0.07294487953186035, -0.32127997279167175, -0.8963909149169922, -0.3529643714427948, -0.029535625129938126, -0.12816214561462402, 0.28278446197509766, 0.4906148314476013, -0.47586482763290405, -0.6782287359237671, 0.9528200030326843, -0.48703324794769287, 0.3863855302333832, 0.32120880484580994, -0.25000256299972534, -0.2031647115945816, -0.039793334901332855, -0.04704304784536362, 1.033711314201355, 0.09256945550441742, 0.1046697124838829, 0.17834436893463135, -0.3390021324157715, 0.35007965564727783, 0.6147189736366272, -0.4498708248138428, -0.06880705803632736, 0.5411260724067688, 0.35636234283447266, -0.5040957927703857, -0.5525357127189636, -0.03798627853393555, 0.03757362440228462, -0.3827480971813202, -0.2609207332134247, 0.1864652931690216, -0.33317112922668457, 0.28872594237327576, 1.0289158821105957, -0.0056373970583081245, 0.08899395167827606, -0.6332998275756836, -0.016431493684649467, 0.8514378666877747, -0.2238006442785263, -0.22597017884254456, 1.0225799083709717, -0.2586207389831543, -0.4296545386314392, 0.8119989037513733, -0.2310076355934143, -0.5094990730285645, 1.0003718137741089, 0.5348688364028931, 0.6356279850006104, -0.14413541555404663, 0.17077045142650604, 0.6790478229522705, 0.4616466164588928, -0.28653547167778015, 0.3263786733150482, -0.12201999127864838, -0.3208610415458679, -0.3056481182575226, -0.0968589037656784, -0.5217934250831604, -0.3270922303199768, -0.5298892855644226, 0.11474466323852539, -0.4811173975467682, -0.1470341831445694, 0.06516093760728836, 0.39971864223480225, -0.31594640016555786, 0.08414492011070251, 0.2546862065792084, 0.6732303500175476, -0.8265361785888672, 0.3203866183757782, 0.7984656095504761, 0.07982846349477768, -0.6533467173576355, -0.12152217328548431, 0.30965185165405273, -0.8889919519424438, 0.3052569627761841, 0.2904667258262634, 0.05026671290397644, 0.05961550772190094, -0.6612900495529175, -0.7572056651115417, 1.108081579208374, 0.495138555765152, -0.3343467116355896, -0.08327267318964005, -0.18152804672718048, 0.5014767050743103, 0.031239667907357216, 0.1503811925649643, 0.3842778503894806, 0.637181282043457, 0.21678242087364197, -1.0276306867599487, 0.035867996513843536, -0.38683444261550903, -0.2505686283111572, 0.15223945677280426, -0.47210368514060974, 1.0087275505065918, -0.6390419602394104, -0.31698647141456604, 0.4169910252094269, 1.0613847970962524, 0.8821901679039001, 0.5687329173088074, 0.5781455636024475, 0.950689435005188, 0.940104603767395, -0.48355573415756226, 1.3404359817504883, -0.052255332469940186, 0.25897544622421265, 0.1742711365222931, -0.2624691128730774, -0.02561076357960701, 0.2238866090774536, -0.30348411202430725, 0.5757175087928772, 0.3102518618106842, 0.07200151681900024, 0.2577538788318634, 0.2697940170764923, -0.0745391696691513, -0.33476436138153076, 0.041731368750333786, -0.6496469378471375, 0.504285991191864, 0.1613602340221405, 0.3904488682746887, -0.4827501177787781, 0.23462660610675812, 0.3943246304988861, 0.16829867660999298, -0.4110059440135956, 0.6758996844291687, 0.2446642816066742, -0.9867743253707886, 0.780125617980957, -0.13670963048934937, 0.5215241312980652, -0.7685126066207886, -0.19101537764072418, -0.2505895793437958, 0.719855546951294, -0.031987518072128296, -0.809646725654602, 0.25802749395370483, -0.08600801229476929, 0.33552902936935425, 0.05329606682062149, 0.4625891149044037, 0.16271139681339264, -0.7989621758460999, 0.14809349179267883, 0.726068377494812, -0.09155664592981339, -0.28631123900413513, -0.6290667057037354, -0.3536395728588104, -0.3436994254589081, 0.048268549144268036, 0.07040110230445862, 0.5952051281929016, -0.42722007632255554, 0.8859321475028992, 0.9421597123146057, -0.053488973528146744, 0.007331202272325754, -0.3403807282447815, 0.6696110963821411, -0.6812694668769836, -0.7891262769699097, -1.1653177738189697, 0.0717947855591774, -0.04966798424720764, -0.24998901784420013, 0.9173896908760071, 0.5753348469734192, 0.5528070330619812, 0.3969976305961609, 0.7485278844833374, -0.1054292768239975, -0.26366057991981506, -0.38982969522476196, 0.48338693380355835, -0.9345925450325012, -0.057948239147663116, -0.3751838803291321, -1.0025912523269653, -0.4906361997127533, 0.8636177182197571, -0.07792603969573975, 0.047857865691185, 0.8621020913124084, 0.2846162021160126, 0.06648599356412888, -0.04206287860870361, -0.12420196086168289, 0.1656142622232437, 0.6986464858055115, 0.8489086627960205, 0.9326698184013367, -0.5480867028236389, 0.7436387538909912, -0.5816311240196228, -0.7113732695579529, -0.03647451475262642, -0.7185052633285522, -0.5771701335906982, -0.4117289185523987, -0.3804243505001068, -0.7788012623786926, 0.1758745014667511, 0.5250847935676575, 0.8058925867080688, -0.4075413942337036, -0.19615863263607025, -0.21184231340885162, 0.2021249681711197, -1.0530484914779663, -0.2646501660346985, 0.29936808347702026, -0.028004398569464684, -0.9440719485282898, 0.3877524137496948, 0.3145461976528168, 0.24097752571105957, -0.1501522809267044, -0.2366017997264862, -0.13087867200374603, 0.06941582262516022, 0.3704691529273987, 0.6781713366508484, -0.5192252993583679, -0.2907017469406128, 0.25430434942245483, 0.023783603683114052, 0.3264370560646057, 0.7059662938117981, -1.0241917371749878, 0.41437602043151855, 0.7109243273735046, 0.30185800790786743, 0.5916902422904968, 0.16366083920001984, 0.6385298371315002, -0.23421277105808258, 0.3371962010860443, 0.27340754866600037, 0.7445138692855835, 0.227687805891037, -0.39760950207710266, 0.7313624024391174, 0.593800961971283, -0.408575177192688, -0.8363312482833862, 0.0709509402513504, -1.0433673858642578, -0.39073535799980164, 0.7717916965484619, 0.043882761150598526, -0.41524365544319153, 0.07707411795854568, -0.20537391304969788, 0.09571924805641174, -0.04853484034538269, 1.3621925115585327, 0.7993051409721375, -0.5609811544418335, 0.000537683314178139, -0.3259728252887726, 0.005299495533108711, 0.5544852614402771, -1.1860915422439575, -0.3410211205482483, 0.3373863697052002, -0.12632255256175995, 0.4759552776813507, 0.6558475494384766, -0.27311569452285767, 0.606821596622467, -0.028674166649580002, -0.23773477971553802, -0.6364074349403381, -0.5236912369728088, -0.03520979359745979, 0.14200522005558014, -0.12276125699281693, -0.22708989679813385 ]
http://arxiv.org/abs/2404.06395v3
http://arxiv.org/pdf/2404.06395v3
MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategies
2024-04-09T15:36:50
2024-06-03T08:54:38
Shengding Hu, Yuge Tu, Xu Han, Chaoqun He, Ganqu Cui, Xiang Long, Zhi Zheng, Yewei Fang, Yuxiang Huang, Weilin Zhao, Xinrong Zhang, Zheng Leng Thai, Kaihuo Zhang, Chongyi Wang, Yuan Yao, Chenyang Zhao, Jie Zhou, Jie Cai, Zhongwu Zhai, Ning Ding, Chao Jia, Guoyang Zeng, Dahai Li, Zhiyuan Liu, Maosong Sun
cs.CL
cs.CL, cs.LG
The burgeoning interest in developing Large Language Models (LLMs) with up to trillion parameters has been met with concerns regarding resource efficiency and practical expense, particularly given the immense cost of experimentation. This scenario underscores the importance of exploring the potential of Small Language Models (SLMs) as a resource-efficient alternative. In this context, we introduce MiniCPM, specifically the 1.2B and 2.4B non-embedding parameter variants, not only excel in their respective categories but also demonstrate capabilities on par with 7B-13B LLMs. While focusing on SLMs, our approach exhibits scalability in both model and data dimensions for future LLM research. Regarding model scaling, we employ extensive model wind tunnel experiments for stable and optimal scaling. For data scaling, we introduce a Warmup-Stable-Decay (WSD) learning rate scheduler (LRS), conducive to continuous training and domain adaptation. We present an in-depth analysis of the intriguing training dynamics that occurred in the WSD LRS. With WSD LRS, we are now able to efficiently study data-model scaling law without extensive retraining experiments on both axes of model and data, from which we derive the much higher compute optimal data-model ratio than Chinchilla Optimal. Additionally, we introduce MiniCPM family, including MiniCPM-DPO, MiniCPM-MoE and MiniCPM-128K, whose excellent performance further cementing MiniCPM's foundation in diverse SLM applications. MiniCPM models are available publicly at https://github.com/OpenBMB/MiniCPM .
[ -0.4949491620063782, -0.5384588241577148, 0.33371275663375854, 0.03283637762069702, -0.17746227979660034, 0.03019518405199051, -0.49306097626686096, -0.20855174958705902, 0.100068598985672, 0.3962510824203491, -0.6036105751991272, 0.03577857464551926, -0.5162754654884338, -0.20613081753253937, -0.10633880645036697, 0.6717047691345215, 0.03315707668662071, 0.3292868733406067, -0.30183905363082886, -0.24729026854038239, -0.07215586304664612, -0.4555389881134033, -0.9321561455726624, -0.46727558970451355, 0.5107605457305908, 0.7532539963722229, 0.7014216780662537, 1.23799729347229, 0.41496098041534424, 0.11610004305839539, -0.07840050756931305, -0.03411895036697388, -0.595853865146637, -0.22940614819526672, 0.16181279718875885, -0.483628511428833, -0.38143190741539, 0.1130145788192749, 0.7612242698669434, 1.125489592552185, -0.3357263207435608, 0.4091385006904602, 0.036535944789648056, 0.7328596115112305, -0.38871511816978455, 0.1804874688386917, -0.6704890131950378, -0.03933587297797203, -0.2845679819583893, 0.07410281896591187, -0.5272860527038574, -0.11964276432991028, 0.04109884798526764, -0.2650088965892792, 0.3400020897388458, 0.3418400287628174, 0.40998169779777527, 0.38224291801452637, -0.25193092226982117, -0.5128085613250732, -0.6415655612945557, 0.9672626852989197, -0.5880739092826843, 0.7337231040000916, 0.19007030129432678, 0.45195767283439636, -0.11763085424900055, -0.7015782594680786, -0.3032313585281372, -0.41576454043388367, 0.0522352010011673, -0.3285723030567169, -0.14755117893218994, 0.02413611114025116, 0.38387712836265564, 0.4003294110298157, -0.6848635077476501, 0.7036886215209961, -0.07234922796487808, -0.019318049773573875, 0.12446915358304977, 0.5716592073440552, 0.04978480190038681, 0.22529451549053192, -0.05714594945311546, -0.04973931238055229, -0.904863715171814, 0.12803390622138977, 0.272525817155838, 0.7635127305984497, -0.42266231775283813, 0.4387568235397339, 0.10028931498527527, 0.8057371377944946, 0.17734044790267944, -0.4069136381149292, -0.2876634895801544, -0.3811776041984558, -0.29963821172714233, -0.2849466800689697, 0.5530280470848083, -0.15751022100448608, -0.18052436411380768, 0.05563867464661598, -0.14708039164543152, -0.08889272809028625, -0.05159782990813255, -1.0397813320159912, -0.545305073261261, -0.06115337461233139, -0.752016544342041, -0.2982093393802643, -0.560603141784668, -0.8671768307685852, -0.32102030515670776, -0.39703258872032166, 0.03439445048570633, -0.16764245927333832, -0.15976494550704956, -0.06203054264187813, 0.10443312674760818, 0.31405481696128845, 0.28820958733558655, -1.189868450164795, 0.6503729224205017, 0.5047366619110107, 0.8549427390098572, -0.2606538236141205, -0.15112508833408356, -0.4538312256336212, 0.05047537386417389, -0.49088671803474426, 0.3730432391166687, -0.4902309775352478, -0.30878034234046936, -0.0399995893239975, -0.06443134695291519, 0.0013286484172567725, -0.6910205483436584, 0.11361855268478394, -0.4715943932533264, -0.07500620186328888, -0.27616629004478455, -0.5208182334899902, 0.4003826081752777, 0.02357938326895237, -0.8188014626502991, 1.0614657402038574, 0.016295909881591797, -0.5848864316940308, 0.285897433757782, -0.585969090461731, -0.24851985275745392, 0.08419080078601837, -0.12279601395130157, -0.41441968083381653, 0.3144872486591339, -0.04793832451105118, 0.19946017861366272, -0.6391636729240417, -0.3881867229938507, -0.4350735545158386, -0.28976279497146606, -0.05941142141819, -0.18917113542556763, 0.7738567590713501, 0.23408542573451996, -0.03298758342862129, -0.21791869401931763, -0.6633132696151733, 0.058818988502025604, 0.3377462923526764, -0.4415125846862793, -0.3133623003959656, 0.02328614704310894, -0.13003012537956238, 0.2523810565471649, 0.2941459119319916, -0.19067035615444183, 0.24062393605709076, -0.34831252694129944, 0.5172922611236572, 0.5558481216430664, -0.14951273798942566, 0.8394407629966736, -0.3206344544887543, 0.6213885545730591, 0.03663618862628937, 0.21466411650180817, 0.01892692595720291, -0.2519042491912842, -0.9992726445198059, -0.5434795022010803, 0.40359318256378174, 0.1415645182132721, -0.8427165746688843, -0.05812466889619827, -0.22809258103370667, -0.7604048252105713, -0.41502541303634644, 0.4541943073272705, 0.29068392515182495, 0.2871941328048706, 0.2314225137233734, -0.03576582670211792, -0.62666255235672, -0.8568845391273499, -0.2163829356431961, -0.15886840224266052, 0.026096375659108162, 0.22019977867603302, 0.44442224502563477, -0.21880054473876953, 0.9074339866638184, -0.4503292143344879, -0.2030680775642395, -0.6948936581611633, -0.06145020201802254, 0.16965129971504211, 0.415086030960083, 0.6931942701339722, -0.5454397201538086, -0.8952783346176147, -0.3234521150588989, -0.2635311782360077, -0.0987587496638298, -0.010269278660416603, 0.3080765902996063, 0.06300133466720581, 0.4934353232383728, -0.42084553837776184, 0.03290178254246712, 0.6111921072006226, 0.4629899859428406, 0.33447933197021484, -0.3431163430213928, -0.5316227674484253, -0.5182663202285767, -0.20263350009918213, 0.02931845746934414, -0.4667285978794098, -0.9070172905921936, 0.14641404151916504, 0.2964489758014679, -0.3298822045326233, -0.7599318623542786, 0.6402290463447571, -0.7106869220733643, -0.10554409772157669, -0.47077512741088867, 0.2348753660917282, -0.4842616319656372, 0.51093989610672, -0.01402143482118845, 0.7257800698280334, 0.5971179604530334, -0.6382454633712769, 0.05736713483929634, -0.20612271130084991, -0.09696540981531143, 0.16365572810173035, -0.4363846778869629, 0.35440897941589355, 0.041369371116161346, 0.09407128393650055, -0.6841700673103333, 0.07909487932920456, -0.03140878677368164, -0.007390387821942568, 0.5064616203308105, -0.5501307845115662, -0.9948722720146179, -0.3827351927757263, -0.5258439779281616, 0.45836037397384644, 0.7555965781211853, -0.7803449630737305, 0.2700793445110321, 0.6620808839797974, 0.041517872363328934, -0.04901451990008354, -0.5293132066726685, -0.117594875395298, -0.25139835476875305, -0.31629785895347595, -0.015066642314195633, -0.41976746916770935, -0.22525011003017426, -0.30235379934310913, -0.009946489706635475, 0.061810608953237534, 0.06346344202756882, 0.14869293570518494, 0.1979711353778839, -0.33396151661872864, -0.1373089849948883, 0.068848617374897, -0.19734297692775726, -0.25038841366767883, -0.48797523975372314, 0.6803539991378784, -0.4681711792945862, -0.14840811491012573, -0.12753146886825562, 0.1366046667098999, 0.42996957898139954, 0.16013820469379425, 1.038196325302124, 0.3236706256866455, -0.6379125118255615, -0.4423634111881256, -0.28661665320396423, -0.23315370082855225, -0.5166127681732178, 0.17282401025295258, -0.36738044023513794, -1.104871153831482, 0.3675415515899658, -0.26958924531936646, -0.1411246657371521, 0.20041826367378235, 0.9766040444374084, -0.2317042052745819, 0.9979085326194763, 0.9712363481521606, -0.09933770447969437, 0.5886449217796326, -0.2877492606639862, 0.10169623792171478, -0.7264752984046936, 0.17228931188583374, -0.4261704385280609, -0.24551048874855042, -0.7813539505004883, -0.6131624579429626, 0.2581796944141388, 0.1848214715719223, -0.20640693604946136, 0.40602907538414, -0.08825276792049408, 0.5291589498519897, 0.3101675808429718, -0.26943832635879517, 0.17933669686317444, -0.22043830156326294, -0.27043038606643677, -0.44336941838264465, -1.141323447227478, -0.5629643797874451, 1.0021642446517944, 0.6328313946723938, 1.0971400737762451, 0.12366339564323425, 0.39687174558639526, 0.378110408782959, 0.2725914418697357, -0.8120333552360535, 0.6601883172988892, -0.43748101592063904, -0.38325271010398865, -0.35410022735595703, -0.48587438464164734, -0.7482621073722839, 0.3977905809879303, 0.09682620316743851, -0.44491466879844666, 0.20374585688114166, 0.4008288085460663, -0.23023313283920288, 0.39387673139572144, -0.4986147880554199, 0.7296113967895508, -0.25364813208580017, -0.09561436623334885, -0.10367891192436218, -0.6774970293045044, 0.2714778482913971, -0.37406229972839355, 0.35478895902633667, -0.1529494673013687, -0.525999128818512, 0.7780988812446594, -0.4990532696247101, 0.9760924577713013, -0.2702678442001343, 0.09895693510770798, 0.1478491872549057, 0.19905796647071838, 0.6052953600883484, -0.01363199669867754, 0.1379680037498474, 0.2545790374279022, 0.033502642065286636, -0.5201219916343689, -0.26955777406692505, 0.85622239112854, -0.706108033657074, -0.35365423560142517, -0.35245978832244873, -0.5334835648536682, -0.3400920629501343, 0.37669020891189575, 0.06846196949481964, 0.30537647008895874, -0.12432022392749786, 0.24143217504024506, 0.8582587242126465, 0.019593704491853714, 0.5361695289611816, 0.8278028964996338, -0.2148703932762146, -0.09675301611423492, 0.9425188899040222, 0.16924631595611572, 0.5732372999191284, 0.46106863021850586, 0.34263840317726135, -0.10342557728290558, -0.8302885890007019, -0.4756637215614319, 0.5480598211288452, -0.5926984548568726, -0.10151495039463043, -0.4328918159008026, -0.07517921924591064, -0.23533807694911957, -0.06241805851459503, -0.7805594801902771, -0.5463942289352417, -0.37627360224723816, 0.010686243884265423, -0.04964763671159744, 0.4391613304615021, -0.36704152822494507, 0.5268216729164124, -0.37637829780578613, 0.13147324323654175, 0.2537118196487427, 0.11367958039045334, 0.14088129997253418, -0.66806960105896, -0.7289515137672424, 0.1348588466644287, -0.28235095739364624, -0.49419835209846497, 0.3896942138671875, 0.321818470954895, 0.5698370337486267, 0.2947571575641632, -0.07816831022500992, 0.5527819991111755, -0.7812039852142334, 0.809272825717926, 0.16509296000003815, -0.8303312659263611, 0.5179881453514099, -0.2044242024421692, 0.01487366110086441, 0.5110371708869934, 0.4543541371822357, -0.3976009786128998, -0.32892313599586487, -0.531852126121521, -0.4241621196269989, 0.7746902704238892, -0.14702536165714264, -0.026164086535573006, 0.17898668348789215, 0.49495208263397217, 0.221999853849411, 0.22848229110240936, -0.6426827907562256, -0.39577341079711914, -0.0885704755783081, -0.1423524171113968, -0.108970507979393, -0.3215159773826599, -0.14935316145420074, -0.2121194452047348, 0.4925817847251892, -0.4609423279762268, 0.1362331658601761, -0.46577897667884827, -0.34988075494766235, -0.23232519626617432, 0.0185700673609972, 0.6837785243988037, 0.6191070675849915, -0.11558534950017929, 0.3505946397781372, 0.4028054475784302, -0.32365816831588745, 0.34417733550071716, -0.2775511145591736, -0.156889870762825, -0.18179818987846375, 0.27769210934638977, 0.555209755897522, 0.3982243835926056, -0.6898040771484375, 0.4861176311969757, -0.21168111264705658, 0.126593679189682, -0.3090313673019409, 0.07967842370271683, 0.23066554963588715, 0.10633998364210129, 0.09889768064022064, -0.12818443775177002, -0.21330763399600983, -0.5492866039276123, 0.04800857976078987, 0.4238988757133484, -0.3914961814880371, -0.3632659614086151, 0.6379579901695251, -0.13966162502765656, -0.29980793595314026, 0.5014892816543579, -0.3078494071960449, -0.2246633917093277, 0.5054333209991455, 0.581907331943512, 0.41680529713630676, -0.16120946407318115, 0.018428213894367218, -0.0035602396819740534, 0.707413375377655, -0.2610905170440674, 0.017570070922374725, 0.07525243610143661, -0.5814521908760071, 0.10583049058914185, -0.5193477869033813, -0.7527360916137695, 0.17184582352638245, -0.8437545895576477, 0.3159886300563812, -0.7991074323654175, 0.006486064754426479, -0.1502753645181656, 0.27641841769218445, -0.7604958415031433, 0.06848256289958954, 0.036059483885765076, 1.2276984453201294, -0.8045363426208496, 1.3729214668273926, 0.5139760375022888, -0.25525766611099243, -0.5115970969200134, 0.009924914687871933, 0.2567965090274811, -1.0219866037368774, 0.5832491517066956, -0.21262559294700623, -0.07185530662536621, 0.035511936992406845, -0.546996533870697, -0.8493276238441467, 1.0577936172485352, 0.5622847080230713, -0.5686532258987427, -0.08381927013397217, 0.3281705677509308, 0.7511265873908997, -0.625189483165741, -0.10788553208112717, 0.7520462870597839, 0.07388995587825775, -0.04745066538453102, -0.713193953037262, 0.023692963644862175, 0.21416740119457245, 0.5224510431289673, 0.2622419595718384, -0.9858793616294861, 0.9174105525016785, -0.3259158134460449, 0.012013498693704605, 0.28185099363327026, 0.7174733281135559, 0.3429449200630188, 0.05005770921707153, 0.5299793481826782, 0.4075387716293335, 0.6384974718093872, 0.03299136087298393, 0.9884189963340759, -0.34114086627960205, 0.5516476035118103, 1.1626720428466797, -0.33069518208503723, 0.9728829264640808, 0.6876522898674011, -0.2872430086135864, 0.2694382667541504, 0.9341163039207458, -0.0017308235401287675, 0.8006449341773987, 0.36388498544692993, 0.013967642560601234, -0.1767694056034088, -0.002452208660542965, -0.1746724396944046, 0.12408575415611267, 0.47256550192832947, -0.14887070655822754, -0.040033359080553055, 0.2130790501832962, 0.020042072981595993, -0.17998836934566498, -0.4701976478099823, 0.5965514183044434, 0.43206748366355896, -0.020404117181897163, 0.4283713400363922, 0.315889835357666, 0.5123788714408875, -0.7543517351150513, 0.4081794023513794, -0.3689368665218353, 0.2805255949497223, 0.1570209562778473, -0.24516834318637848, 0.180283784866333, 0.031059373170137405, -0.40617337822914124, -0.4145880341529846, 0.6796731948852539, -0.5191922783851624, -0.43373948335647583, 0.4006912112236023, 0.5176202654838562, 0.028873570263385773, 0.35652413964271545, -0.6826414465904236, 0.2964073419570923, -0.27874597907066345, 0.05440036952495575, 0.89280104637146, 0.2341660112142563, 0.23813730478286743, 0.791140079498291, 0.5346461534500122, 0.5261308550834656, 0.3228347897529602, -0.017092542722821236, 0.8247178196907043, -0.4605889916419983, -0.505109429359436, -0.8127135634422302, -0.08453793078660965, 0.27297523617744446, 0.15783558785915375, 0.8591140508651733, 0.7501071691513062, 0.872275710105896, -0.16194260120391846, 0.45343017578125, 0.2254016399383545, 0.5462411046028137, -0.43751686811447144, 0.6295608878135681, -0.6169152855873108, 0.45137277245521545, 0.1780887246131897, -0.6655089259147644, 0.07933023571968079, 0.25960448384284973, -0.10720780491828918, 0.21074269711971283, 0.6659844517707825, 0.6413346529006958, -0.07958944141864777, 0.01261003315448761, 0.3825506865978241, 0.21458326280117035, 0.47756263613700867, 0.6083034873008728, 0.6802228689193726, -0.2604673504829407, 0.5070187449455261, -0.49343910813331604, -0.4244178831577301, -0.316144198179245, -0.9140603542327881, -1.0552411079406738, -0.36492398381233215, -0.34893375635147095, 0.04253444820642471, -0.18692563474178314, 1.0033223628997803, 0.8569014668464661, -0.66778564453125, -0.643114447593689, 0.2501784563064575, 0.1179022267460823, -0.20136530697345734, -0.21165452897548676, 0.17572873830795288, -0.3703421354293823, -0.5562831163406372, 0.5650365948677063, 0.3370421528816223, 0.25728777050971985, -0.5319682359695435, -0.3203326463699341, 0.18987935781478882, 0.2900526821613312, 0.4671195149421692, 0.4844597578048706, -0.5405107140541077, -0.20797574520111084, -0.15480820834636688, -0.36607691645622253, -0.11678200960159302, 1.1908702850341797, -0.33179110288619995, 0.17314015328884125, 0.18501034379005432, 0.7464064955711365, 0.6876339316368103, -0.5732921361923218, 0.24834321439266205, -0.9250047206878662, 0.2669034004211426, 0.17277884483337402, 0.42366018891334534, 0.2544255256652832, -0.07242945581674576, 0.4446040689945221, 0.38505321741104126, -0.43374475836753845, -1.2221426963806152, 0.21335369348526, -0.8575117588043213, 0.005232470575720072, 0.9110725522041321, 0.036281466484069824, 0.1369452327489853, 0.07528196275234222, 0.3002629578113556, -0.11923481523990631, -0.014763464219868183, 0.399048775434494, 0.5782676935195923, -0.4832906424999237, -0.5359567999839783, -0.6554331183433533, 0.7051014304161072, 0.18577812612056732, -0.6907738447189331, 0.21187494695186615, 0.030421268194913864, 0.40061116218566895, -0.13426782190799713, 0.7665015459060669, 0.05834106728434563, 0.041151050478219986, 0.18311259150505066, -0.4124188721179962, -0.15423844754695892, -0.45220518112182617, -0.5048593878746033, 0.09894795715808868, 0.32406702637672424, -0.0860680341720581 ]
http://arxiv.org/abs/2404.06392v1
http://arxiv.org/pdf/2404.06392v1
Event Extraction in Basque: Typologically motivated Cross-Lingual Transfer-Learning Analysis
2024-04-09T15:35:41
2024-04-09T15:35:41
Mikel Zubillaga, Oscar Sainz, Ainara Estarrona, Oier Lopez de Lacalle, Eneko Agirre
cs.CL
cs.CL, cs.AI
Cross-lingual transfer-learning is widely used in Event Extraction for low-resource languages and involves a Multilingual Language Model that is trained in a source language and applied to the target language. This paper studies whether the typological similarity between source and target languages impacts the performance of cross-lingual transfer, an under-explored topic. We first focus on Basque as the target language, which is an ideal target language because it is typologically different from surrounding languages. Our experiments on three Event Extraction tasks show that the shared linguistic characteristic between source and target languages does have an impact on transfer quality. Further analysis of 72 language pairs reveals that for tasks that involve token classification such as entity and event trigger identification, common writing script and morphological features produce higher quality cross-lingual transfer. In contrast, for tasks involving structural prediction like argument extraction, common word order is the most relevant feature. In addition, we show that when increasing the training size, not all the languages scale in the same way in the cross-lingual setting. To perform the experiments we introduce EusIE, an event extraction dataset for Basque, which follows the Multilingual Event Extraction dataset (MEE). The dataset and code are publicly available.
[ -0.28470563888549805, -0.33997711539268494, 0.36032938957214355, 0.3991858661174774, -0.27469971776008606, 0.08516068756580353, -0.42870715260505676, -0.9589372873306274, 0.4187234044075012, 0.3291073143482208, -0.3985845744609833, -0.28069090843200684, -0.5605039596557617, 0.13241364061832428, -0.4800495505332947, 0.7589223980903625, -0.2685402035713196, -0.11448784172534943, 0.251911997795105, -0.18861912190914154, -0.24704761803150177, -0.9176622033119202, -0.8790159821510315, -0.39102375507354736, 0.4607846736907959, 0.23707976937294006, 0.20859026908874512, 0.5329751968383789, 0.022656014189124107, 0.21258476376533508, 0.12655046582221985, -0.13816317915916443, -0.6050659418106079, -0.10160074383020401, -0.6720529198646545, -0.6144551634788513, 0.047378603368997574, -0.05610058084130287, 0.7049153447151184, 0.537484347820282, 0.06077759340405464, 0.23605011403560638, 0.13886111974716187, 0.4642292857170105, -0.5025289058685303, 0.3633788526058197, -0.5684567093849182, 0.22379964590072632, -0.5563050508499146, -0.5175859332084656, -0.4002319872379303, -0.06307356804609299, 0.20516261458396912, -0.5552124381065369, 0.28884056210517883, -0.0005168128991499543, 0.9450246691703796, 0.009797237813472748, -0.3297790586948395, -0.38572266697883606, -0.6060130000114441, 0.879221498966217, -0.08874961733818054, 0.5606729984283447, 0.16248546540737152, 0.055839452892541885, 0.061101898550987244, -0.5802975296974182, -0.3419756591320038, 0.14357531070709229, -0.00468815304338932, -0.004981086589396, -0.3898463845252991, -0.23417700827121735, 0.006388189271092415, -0.09107498079538345, -0.5894773006439209, 0.404217392206192, -0.5494357943534851, -0.20155194401741028, 0.6207624673843384, 0.06760682910680771, 0.6939883828163147, -0.448251336812973, -0.35284462571144104, -0.1117921844124794, -0.7834224104881287, 0.2628861963748932, 0.48929527401924133, 0.4259018301963806, -0.2625422477722168, 0.3310450613498688, -0.2712900638580322, 0.4448748230934143, 0.11550183594226837, 0.05195115506649017, 0.2447352111339569, -0.5831851363182068, 0.1090146005153656, 0.3633486032485962, 0.9425382018089294, 0.077324777841568, 0.7888951301574707, -0.6708793044090271, 0.30787771940231323, -0.05118117853999138, -0.02159077487885952, -0.5290440917015076, -0.15547293424606323, 0.030440598726272583, -0.4915110766887665, -0.4389534890651703, 0.10167806595563889, -1.0797696113586426, 0.16514725983142853, -0.07686726748943329, 0.12793149054050446, -0.32208749651908875, -0.42941978573799133, 0.2415027618408203, -0.2521589398384094, 0.45263126492500305, 0.19552764296531677, -1.0236554145812988, 0.2183316946029663, 0.7582699656486511, 0.6185890436172485, -0.8241676092147827, -0.6942572593688965, -0.8265218138694763, 0.23205240070819855, -0.32447192072868347, 0.7901094555854797, -0.5831567645072937, -0.154363214969635, 0.002278767293319106, 0.24073268473148346, -0.45228299498558044, -0.4236287772655487, 0.45708173513412476, -0.47705453634262085, 0.44615426659584045, -0.13508671522140503, -0.24220463633537292, -0.25942903757095337, -0.10013693571090698, -0.7435340881347656, 1.2388139963150024, -0.07898277044296265, -0.37720829248428345, 0.4710702896118164, -0.2801528871059418, -0.6087668538093567, 0.12480146437883377, -0.372580349445343, 0.09472562372684479, 0.11429698020219803, -0.023678118363022804, 0.47327080368995667, -0.23419979214668274, 0.24223123490810394, -0.055660124868154526, 0.08297525346279144, 0.28083544969558716, -0.45320916175842285, 0.8952645659446716, 0.054808277636766434, -0.5999751091003418, -0.2827518582344055, -1.0314537286758423, 0.0011413630563765764, -0.02640063688158989, -0.47507765889167786, -0.5783793330192566, -0.17268048226833344, 0.33127662539482117, 0.6248753070831299, 0.3342338800430298, -0.7315926551818848, 0.013960263691842556, -0.27897217869758606, 0.004532373510301113, 0.39077526330947876, 0.23498566448688507, 0.5464892387390137, -0.11491135507822037, 0.6908658742904663, -0.3979862332344055, -0.006259346846491098, 0.31157493591308594, -0.46156758069992065, -0.16782218217849731, -0.34506750106811523, 0.6371532082557678, 0.6907184720039368, -0.928297758102417, -0.04275693744421005, -0.34723731875419617, -0.1972970813512802, -0.273307204246521, 0.1351393759250641, 0.5947925448417664, 0.1588878184556961, -0.00017004353867378086, -0.37529000639915466, -0.7428520321846008, -0.5342239141464233, -0.5621485710144043, -0.4830583333969116, 0.13045234978199005, -0.10084937512874603, 0.03856661170721054, 0.33631160855293274, 0.6047307848930359, -0.022851720452308655, -0.19480790197849274, -0.6282151937484741, 0.48819154500961304, 0.022977696731686592, 0.2822163999080658, 1.029689908027649, -0.8881148099899292, -0.7477523684501648, 0.6591432094573975, -0.6094720363616943, -0.6143032908439636, -0.0872487872838974, -0.1352110356092453, 0.5888609290122986, 0.5513938665390015, -0.3198670446872711, 0.26242950558662415, 0.8933285474777222, -0.6576226353645325, 0.5892106294631958, 0.09136005491018295, 0.40145471692085266, -1.2250944375991821, 0.012414446100592613, -0.17599652707576752, -0.24160699546337128, -0.7372443079948425, -0.09918883442878723, -0.07833706587553024, 0.06265588849782944, -0.9062912464141846, 0.9452195763587952, -0.4526351988315582, -0.33320537209510803, -0.19301177561283112, 0.015563440509140491, 0.07771679759025574, 0.6645655035972595, 0.48691555857658386, 0.5203015804290771, 0.44945260882377625, -0.4975236654281616, 0.31001970171928406, 0.19238315522670746, -0.38833537697792053, 0.6171878576278687, -0.26404261589050293, -0.16506484150886536, 0.24318952858448029, -0.48829102516174316, -0.6774749159812927, 0.03307250142097473, 0.32340893149375916, -0.445380836725235, 0.348198264837265, -0.5853905081748962, -0.3526606857776642, 0.372342050075531, -0.04980224743485451, 0.5076056122779846, 0.29183533787727356, -0.5986284613609314, 0.5457823872566223, 0.46892601251602173, -0.569435715675354, -0.5194013714790344, -0.7210954427719116, -0.00918689277023077, -0.4749974310398102, -0.35251131653785706, 0.3114531934261322, 0.30712923407554626, -0.25066491961479187, 0.30033236742019653, -0.0662803202867508, -0.25619226694107056, -0.06870968639850616, 0.08156654983758926, 0.21225020289421082, -0.16204550862312317, 0.00853011105209589, -0.14877630770206451, -0.05662534013390541, 0.1450241059064865, -0.22807328402996063, 0.6305220723152161, 0.14624136686325073, -0.34964361786842346, -0.4264892041683197, 0.5172122120857239, 0.6215120553970337, -0.2552546262741089, 0.701545000076294, 0.6423133611679077, -0.24010732769966125, -0.14206303656101227, -0.39791804552078247, 0.2235146015882492, -0.32683682441711426, 0.4393443763256073, -0.9111494421958923, -0.5572710633277893, 0.7514296174049377, -0.036872901022434235, -0.07772964239120483, 0.692086398601532, 0.6380546689033508, 0.001868999912403524, 0.6315632462501526, 0.6647661328315735, -0.1880163848400116, 1.0293277502059937, -0.06537886708974838, -0.27122363448143005, -0.5324510335922241, -0.3343598246574402, -0.8560124039649963, -0.13644835352897644, -0.5324223637580872, -0.44036465883255005, 0.005147011484950781, -0.03396731987595558, 0.46949660778045654, 0.5948832035064697, 0.30612966418266296, 0.26679757237434387, 0.3019729554653168, -0.4485124945640564, 0.5081307888031006, 0.2809549570083618, -0.05307864770293236, -0.23250457644462585, -1.132920503616333, -0.2500411570072174, 0.9966193437576294, 0.07115251570940018, 0.7497515678405762, 0.0369381308555603, 0.8753144145011902, 0.18814274668693542, -0.04349379613995552, -0.5483280420303345, 0.15885959565639496, -0.2427307516336441, -0.36541181802749634, -0.527760922908783, -0.5646269917488098, -1.2676984071731567, 0.39779147505760193, -0.2575143277645111, -1.0926566123962402, 0.8487712144851685, -0.5101954936981201, 0.1347954273223877, 0.35670310258865356, -0.482221782207489, 1.0174143314361572, -0.4038963317871094, -0.25702789425849915, -0.3584250509738922, -0.21889521181583405, -0.1611141860485077, -0.3288646340370178, 0.47674572467803955, -0.09399833530187607, 0.07750195264816284, 1.0794620513916016, 0.21884317696094513, 0.7663582563400269, 0.354384183883667, -0.20173972845077515, 0.29356303811073303, 0.3685426414012909, 0.5246878862380981, -0.1623656302690506, -0.11853368580341339, 0.329843133687973, 0.3836734890937805, -0.3326709568500519, -0.5582572221755981, 0.5371928811073303, -0.7585253119468689, -0.16883116960525513, -0.09261981397867203, -0.3543006479740143, -0.031849443912506104, -0.05196927860379219, 0.5620957016944885, 0.8304808735847473, -0.5551238656044006, -0.05193708837032318, 0.3684085011482239, -0.04646154120564461, 0.5349668860435486, 0.7183786034584045, -0.2494307905435562, -0.1649775207042694, 1.1970274448394775, 0.2669849395751953, 0.4277747869491577, 0.48955169320106506, -0.09750758111476898, -0.281887948513031, -0.4412200152873993, -0.6868067383766174, 0.3024533987045288, -0.6157854795455933, 0.20642933249473572, -0.6528103351593018, 0.022212663665413857, -0.13180652260780334, -0.1381792575120926, -0.7232251167297363, -0.8801841735839844, -0.3526594340801239, -0.08610338717699051, 0.14626166224479675, 0.5761867761611938, -0.3532036542892456, -0.029870256781578064, -1.0028773546218872, 0.4237872362136841, -0.001808631932362914, 0.15738292038440704, -0.34182095527648926, -0.5726407766342163, -0.2278045117855072, -0.49279600381851196, 0.07368844002485275, -1.1174412965774536, 0.49790501594543457, 0.347181499004364, 0.9443781971931458, 0.16454727947711945, -0.0037846730556339025, 0.3533439636230469, -0.28547051548957825, 0.45962268114089966, 0.23398444056510925, -0.8347214460372925, 0.4139747619628906, -0.14575865864753723, -0.04885033890604973, 0.4189526438713074, 0.5281084179878235, -0.710034191608429, -0.5330085158348083, -0.994184672832489, -0.5672062039375305, 0.7695796489715576, 0.11829602718353271, -0.2906315326690674, 0.07596481591463089, 0.22398792207241058, 0.4293343126773834, -0.0601479597389698, -0.8940324187278748, 0.0006361391860991716, 0.3521631062030792, -0.13617154955863953, -0.11956964433193207, -0.13817809522151947, 0.0966063067317009, 0.06933408975601196, 0.47649967670440674, -0.09731369465589523, -0.06729501485824585, 0.11728218197822571, -0.30786576867103577, -0.35068634152412415, 0.4003728926181793, 0.0780949667096138, 0.6337648034095764, 0.02730768918991089, -0.014931249432265759, 0.32359257340431213, -0.36937594413757324, 0.06278208643198013, 0.1577478051185608, 0.021579494699835777, 0.3536904752254486, 0.7229787707328796, 0.6087047457695007, 0.6334629058837891, -0.6461755633354187, 0.2689003646373749, -0.119893379509449, -0.23040635883808136, 0.054797254502773285, -0.21552877128124237, -0.26029691100120544, 0.6028532981872559, 0.27583932876586914, -0.4105585813522339, 0.2604219913482666, -0.9461594820022583, 0.10828186571598053, 0.28306347131729126, -0.2945556938648224, -0.6516180634498596, 0.3147145211696625, 0.24489417672157288, -0.1957942247390747, 0.22031238675117493, -0.06864436715841293, -0.7763438820838928, 0.799531877040863, 0.44997045397758484, 0.7385492324829102, -0.15735580027103424, 0.46557462215423584, 0.30963101983070374, 0.4255012273788452, 0.0711732804775238, 0.48930901288986206, -0.09823104739189148, -0.7191166877746582, -0.8608367443084717, -0.8212453722953796, -0.44267818331718445, -0.02520384080708027, -0.8458839058876038, 0.4048859179019928, 0.24564440548419952, 0.2196524292230606, -0.10330699384212494, 0.12919718027114868, -0.7594422101974487, -0.30298590660095215, 0.3535483181476593, 0.7681032419204712, -1.2314966917037964, 0.9310305118560791, 0.6675352454185486, -0.09127684682607651, -0.857380211353302, -0.21246594190597534, -0.11362134665250778, -0.49277952313423157, 0.814224898815155, -0.3363751173019409, 0.06037316471338272, -0.13856877386569977, 0.19328925013542175, -1.0606849193572998, 0.6593653559684753, 0.5212623476982117, -0.3533168137073517, -0.16096170246601105, 0.34177157282829285, 0.7022649645805359, -0.5805333256721497, -0.3453526198863983, 0.5734220743179321, 0.28867611289024353, -0.06788834929466248, -1.4271917343139648, 0.019233498722314835, -0.018631435930728912, -0.3617923855781555, 0.501298725605011, -0.45248833298683167, 0.6299065351486206, 0.10094732791185379, -0.6032842993736267, -0.15479475259780884, 0.48566094040870667, -0.07039498537778854, 0.22723637521266937, 0.03535942733287811, 0.34487801790237427, 0.5671984553337097, 0.04233580082654953, 1.1475491523742676, -0.24407005310058594, 0.27219274640083313, 0.8929883241653442, -0.11696559190750122, 0.8820827007293701, 0.6713309288024902, -0.06370081752538681, 0.5645614862442017, 0.4754870533943176, 0.3679770827293396, 0.6818426251411438, -0.311716765165329, 0.08524210005998611, -0.09458670765161514, -0.0770031213760376, -0.3260526657104492, 0.7293798327445984, 0.47633445262908936, -0.31568643450737, -0.509026288986206, 0.20744219422340393, -0.2529769837856293, -0.12442469596862793, -0.4249017834663391, 0.8400465846061707, -0.025997333228588104, -0.6282990574836731, 0.5439910292625427, -0.16116154193878174, 0.38211703300476074, -0.40667665004730225, 0.02199840173125267, 0.0027304065879434347, -0.1672385334968567, -0.08583467453718185, -0.8341557383537292, 0.5342239737510681, 0.061347704380750656, -0.14902353286743164, -0.3575877547264099, 0.7141919136047363, -0.6934992074966431, -0.2436113953590393, 0.7942560315132141, 0.9861866235733032, 0.5557931661605835, 0.0737919732928276, -0.4615843892097473, 0.2074735462665558, 0.09613955020904541, -0.2704310119152069, 0.6848527193069458, 1.0408143997192383, -0.36964577436447144, 0.3437076508998871, 0.5577231645584106, 0.7417137026786804, 0.5909278392791748, 0.16651621460914612, 0.47283411026000977, -0.49923503398895264, -0.5964829921722412, -0.7362635731697083, 0.08728737384080887, 0.09888279438018799, -0.37106749415397644, 0.5413200855255127, 0.42285704612731934, 1.1430389881134033, -0.10157662630081177, 0.7046932578086853, -0.20474191009998322, 0.1838776171207428, -0.742152988910675, 0.28184589743614197, -0.35207897424697876, -0.08254344016313553, -0.12639297544956207, -0.8503910303115845, 0.18467697501182556, 0.24520596861839294, -0.34947681427001953, -0.5802345871925354, 0.7933537364006042, 0.34890711307525635, -0.06779599189758301, -0.11536131054162979, 0.5832694172859192, -0.13647764921188354, 0.09843984991312027, 0.781450629234314, 0.9488030076026917, -0.27541565895080566, 0.877620279788971, -0.24823255836963654, -0.3369405269622803, -0.15952922403812408, -0.7853997945785522, -0.8672887682914734, -0.8488255739212036, -0.41245338320732117, -0.09388319402933121, 0.2798027992248535, 0.7235338687896729, 0.4471342861652374, -0.8449937701225281, -0.4354422092437744, 0.25809261202812195, 0.1651308387517929, -0.3085792660713196, -0.30468955636024475, 0.3773052990436554, -0.49622079730033875, -0.9900401830673218, 0.38214734196662903, 0.1973337084054947, -0.10401737689971924, 0.15640808641910553, -0.006944065913558006, -0.23321811854839325, -0.14911676943302155, 0.46731066703796387, 0.9009672999382019, -0.552301287651062, -0.4744560718536377, -0.2806195020675659, -0.19938494265079498, -0.07267232984304428, 0.7234786152839661, -0.6480371952056885, 0.15433050692081451, 0.6764641404151917, 0.7538647055625916, 0.793535053730011, -0.25892874598503113, 0.8425759077072144, -0.8281252384185791, 0.44617393612861633, -0.2559511661529541, 0.524506688117981, 0.020109886303544044, -0.49706897139549255, 0.7089147567749023, 0.35365837812423706, -0.1472465842962265, -0.5858891010284424, 0.2846825420856476, -1.0085581541061401, -0.2227371633052826, 1.3906797170639038, -0.07485165446996689, -0.43946346640586853, -0.3931226134300232, -0.16254901885986328, 0.46687185764312744, 0.008347473107278347, 0.7230920195579529, 1.1073921918869019, -0.40111538767814636, -0.19183240830898285, -0.559904158115387, 0.5787844061851501, 0.3094846308231354, -0.7510212063789368, 0.07782190293073654, 0.1487029641866684, 0.5509430766105652, 0.3859960436820984, 0.5260518193244934, -0.4259515404701233, 0.6821983456611633, -0.07141246646642685, 0.30593007802963257, 0.2269263118505478, -0.6014246940612793, -0.48780733346939087, 0.4738991856575012, -0.03409469500184059, -0.23725412786006927 ]
http://arxiv.org/abs/2404.06390v2
http://arxiv.org/pdf/2404.06390v2
Latent Distance Guided Alignment Training for Large Language Models
2024-04-09T15:33:09
2024-04-13T05:20:45
Haotian Luo
cs.CL
cs.CL
Ensuring alignment with human preferences is a crucial characteristic of large language models (LLMs). Presently, the primary alignment methods, RLHF and DPO, require extensive human annotation, which is expensive despite their efficacy. The significant expenses associated with current alignment techniques motivate researchers to investigate the development of annotation-free alignment training methods. In pursuit of improved alignment without relying on external annotation, we introduce Latent Distance Guided Alignment Training (LD-Align). This approach seeks to align the model with a high-quality supervised fine-tune dataset using guidance from a latent space. The latent space is generated through sample reconstruction, akin to auto-encoding. Consequently, we utilize the distance between sample pairs in the latent space to guide DPO-based alignment training. Extensive experimentation and evaluation show the efficacy of our proposed method in achieving notable alignment.
[ -0.1093660444021225, -0.5289319753646851, 0.5034234523773193, -0.35739850997924805, -0.357847660779953, 0.12171407788991928, -0.21749305725097656, -0.37503114342689514, 0.20665766298770905, 0.4781464636325836, -0.6912882924079895, -0.41190433502197266, -0.4569106101989746, -0.19919422268867493, -0.10529369860887527, 0.8320357203483582, -0.0689316838979721, 0.1193833202123642, -0.110613152384758, -0.07952017337083817, -0.2479759305715561, -0.4578455090522766, -0.3473513424396515, -0.12800562381744385, 0.6809260845184326, 0.31075817346572876, 0.820296049118042, 1.059786081314087, 0.6389824151992798, 0.14816372096538544, -0.07517226040363312, 0.5050859451293945, -0.4152037501335144, 0.038249045610427856, -0.062080059200525284, -0.3311575949192047, -0.7777281999588013, 0.12215204536914825, 0.8796493411064148, 1.1458001136779785, -0.21229450404644012, -0.10899987071752548, -0.02140735648572445, 0.83355712890625, -0.5130840539932251, -0.40206673741340637, -0.6299571394920349, 0.1564922332763672, -0.40183982253074646, -0.002073714742437005, -0.25475332140922546, -0.5664911866188049, 0.06877726316452026, -0.8237476348876953, 0.13576580584049225, 0.26829463243484497, 0.9784862995147705, 0.6089494228363037, -0.47257667779922485, -0.08443120867013931, -0.766678512096405, 0.8003488183021545, -0.672417938709259, 0.6842380166053772, 0.4622875452041626, 0.1892421543598175, -0.4227774739265442, 0.07611202448606491, -0.6378681063652039, 0.08928465098142624, -0.06158367544412613, -0.10410788655281067, 0.33151936531066895, 0.020861869677901268, 0.26893481612205505, 0.5807628035545349, -0.7335306406021118, 0.6270381212234497, -0.21101853251457214, -0.2519611716270447, 0.7095221877098083, 0.06404225528240204, 0.2396228313446045, 0.10680999606847763, -0.39731091260910034, -0.05875851958990097, -0.9473312497138977, -0.22206541895866394, 0.7055171728134155, 0.5318942070007324, -0.11270101368427277, 0.6588776111602783, -0.10576873272657394, 1.1169501543045044, 0.379670649766922, -0.24038530886173248, 0.19437961280345917, -0.23141294717788696, -0.11138460040092468, 0.3311886787414551, 0.7555204629898071, 0.4008660912513733, 0.1399783492088318, -0.10567166656255722, -0.28420406579971313, -0.29887154698371887, 0.026521900668740273, -0.536707878112793, -0.30569207668304443, 0.04933195561170578, -0.30149155855178833, -0.25953975319862366, -0.14799216389656067, -0.7461453676223755, -0.3927864134311676, -0.6277037858963013, 0.09552783519029617, -0.3191365599632263, -0.2833893597126007, -0.09710793942213058, 0.3574821949005127, 0.42116665840148926, 0.5087414979934692, -1.434625506401062, 0.07467205822467804, 0.777550220489502, 0.7814078330993652, -0.36431437730789185, -0.2739136517047882, -0.811515748500824, 0.41289767622947693, -0.5538257956504822, 0.8286822438240051, -0.42273157835006714, -0.13901671767234802, -0.08161219209432602, -0.14611117541790009, 0.10512583702802658, -0.4658365249633789, 0.3843996822834015, -0.5292601585388184, 0.4230729341506958, -0.3322983980178833, -0.9649532437324524, 0.17462517321109772, 0.17221605777740479, -0.5587621331214905, 1.162056565284729, 0.31446853280067444, -0.8320288062095642, 0.49081504344940186, -0.30539822578430176, -0.13346810638904572, -0.04089827090501785, -0.2821700870990753, -0.41690680384635925, 0.12159574776887894, 0.49629777669906616, 0.3304145932197571, -0.08606870472431183, 0.2943364679813385, -0.46615830063819885, -0.32292288541793823, 0.15109200775623322, -0.3530198335647583, 0.6676778197288513, 0.0032978211529552937, -0.23786263167858124, 0.18623709678649902, -0.8895353078842163, -0.25689393281936646, -0.02404354326426983, -0.3646380305290222, -0.5633472800254822, -0.13207517564296722, -0.2027582973241806, 0.22133733332157135, 0.4327102303504944, -0.48244041204452515, 0.5831689834594727, -0.7982097268104553, -0.027758251875638962, 1.1287909746170044, -0.29165971279144287, 0.7566127181053162, -0.14934727549552917, 0.4694969654083252, -0.11333613097667694, 0.030764728784561157, 0.2178405076265335, -0.11264441162347794, -0.5048033595085144, -0.2667114734649658, 0.4827316999435425, 0.3288297951221466, -0.3533194959163666, 1.030026912689209, -0.3435114026069641, -0.42841216921806335, -0.6230390071868896, 0.2671697437763214, 0.24164573848247528, 0.8466659188270569, 0.27265894412994385, -0.291323721408844, -0.4531072974205017, -0.8841663002967834, 0.1432444155216217, 0.06456774473190308, 0.13067704439163208, 0.2704213559627533, 0.19779027998447418, -0.11660362780094147, 1.062134027481079, -0.7828496694564819, -0.3086375296115875, 0.22238251566886902, -0.08927104622125626, -0.011124600656330585, 0.6766891479492188, 0.6239164471626282, -0.6753993630409241, -0.5670289397239685, 0.02132156491279602, -0.5528931021690369, -0.21755920350551605, 0.16727305948734283, -0.40696603059768677, 0.29899242520332336, 0.6182610988616943, -0.2054281383752823, 0.08222170919179916, 0.8921701312065125, -0.27008891105651855, 0.43776023387908936, -0.27287155389785767, 0.08875154703855515, -1.2364921569824219, 0.17987579107284546, -0.22265522181987762, -0.26335784792900085, -0.48687347769737244, -0.5009804368019104, -0.06556235998868942, -0.14289988577365875, -0.2218678891658783, 0.7804761528968811, -0.5938893556594849, -0.3362767994403839, -0.4127146601676941, 0.3559728264808655, 0.06115163117647171, 0.3422193229198456, 0.2901178002357483, 0.8972069025039673, 0.37211140990257263, -0.37965208292007446, 0.40972694754600525, 0.31397563219070435, -0.32115790247917175, 0.7602329850196838, -0.3180047571659088, 0.398883193731308, -0.044023603200912476, 0.2895039916038513, -1.0067445039749146, -0.21551477909088135, 0.3365824520587921, -0.1834959089756012, 0.4977039098739624, -0.16246667504310608, -0.38063693046569824, -0.0024968127254396677, -0.06495437771081924, 0.5255128145217896, 0.3774596154689789, -0.6822490692138672, 0.3273124694824219, 0.29540568590164185, -0.13638070225715637, -0.8957468271255493, -0.40521883964538574, -0.18504135310649872, -0.40117573738098145, -0.3524935245513916, 0.4101732075214386, -0.09820390492677689, -0.0503542497754097, -0.1255151629447937, -0.10574346780776978, -0.1515209823846817, 0.15585950016975403, 0.12996457517147064, 0.34970441460609436, -0.25372812151908875, 0.33968353271484375, 0.017736904323101044, -0.14383333921432495, -0.3779532015323639, -0.5597841143608093, 0.4777817726135254, 0.255378395318985, -0.4636140465736389, -0.5722683668136597, 0.3169819414615631, 0.3012453019618988, -0.3123166561126709, 0.7105329036712646, 0.5890125632286072, -0.5853003859519958, -0.10735243558883667, -0.6680794954299927, -0.14936399459838867, -0.3964218497276306, 0.27804064750671387, -0.13889168202877045, -0.9138910174369812, 0.19380395114421844, -0.1424080729484558, -0.08542262762784958, 0.36988019943237305, 0.2996269464492798, -0.31176522374153137, 0.711353600025177, 0.8929423093795776, -0.17887108027935028, 0.6662883162498474, 0.2566657066345215, 0.12997394800186157, -1.0190942287445068, -0.06353528052568436, -0.5122057199478149, -0.27243751287460327, -0.2881794273853302, -0.507273256778717, -0.15751680731773376, 0.3911091983318329, -0.24978269636631012, 0.34558477997779846, -0.5758570432662964, 0.5066350102424622, 0.3543705940246582, -0.08773194998502731, 0.16592900454998016, 0.13901545107364655, -0.21784469485282898, -0.5328616499900818, -0.4284803569316864, -0.545907199382782, 1.0133836269378662, 0.36026760935783386, 0.8022131323814392, 0.20785191655158997, 0.8574898838996887, 0.0001668742625042796, 0.10987905412912369, -0.8330426812171936, 0.4115825891494751, -0.3578318655490875, -0.3270781934261322, -0.6245154142379761, -0.3905848562717438, -0.7086280584335327, -0.07269423454999924, -0.20185446739196777, -0.8734140396118164, 0.20412814617156982, 0.46795791387557983, -0.5437036752700806, 0.281678706407547, -0.43126359581947327, 0.824722945690155, -0.6687082648277283, -0.34365686774253845, 0.09001383185386658, -0.7088754177093506, 0.041124384850263596, -0.33036360144615173, 0.026529407128691673, -0.41081684827804565, -0.013029234483838081, 0.7937483787536621, -0.48572877049446106, 0.9073200225830078, -0.3498782813549042, -0.7562103867530823, -0.17126651108264923, 0.005236742552369833, 0.4949461817741394, -0.3418015241622925, -0.031120456755161285, 0.057634033262729645, -0.3239903450012207, -0.277332067489624, -0.5871150493621826, 0.5936804413795471, -0.7047235369682312, -0.4941205680370331, -0.28242170810699463, -0.7097234725952148, -0.3008081614971161, 0.2702278196811676, 0.04420452564954758, 0.18676802515983582, -0.21773050725460052, -0.08789406716823578, 0.920508861541748, -0.236113503575325, 0.19247548282146454, 0.39079922437667847, -0.0824224054813385, -0.6216302514076233, 0.7110142707824707, -0.014319959096610546, 0.41034406423568726, 0.8575382828712463, 0.32172736525535583, -0.5971283912658691, -0.534674882888794, -0.523039698600769, 0.43299978971481323, -0.6113020777702332, -0.09296484291553497, -0.333246648311615, 0.04361823573708534, -0.6897643804550171, -0.436594158411026, -0.6665349006652832, -0.47194957733154297, -0.42443808913230896, 0.13352274894714355, 0.329519659280777, 0.5711329579353333, -0.2335594743490219, 0.3771657645702362, -0.7567413449287415, 0.03912094607949257, 0.21312479674816132, 0.45004433393478394, -0.23054122924804688, -0.7408133149147034, -0.275554358959198, 0.01608176901936531, 0.03890004754066467, -0.5581087470054626, 0.25567352771759033, 0.22729262709617615, 0.5036070346832275, 0.4649704694747925, -0.022478532046079636, 0.9186473488807678, -0.6154235601425171, 0.701434314250946, 0.3450285792350769, -0.8541240096092224, 0.8606742024421692, -0.4538452625274658, 0.12721267342567444, 0.5521393418312073, 0.4341530501842499, -0.5079874396324158, 0.051718372851610184, -0.3341379463672638, -0.6835424900054932, 0.6091585755348206, -0.13384072482585907, -0.2572494447231293, 0.3192690312862396, 0.7136354446411133, 0.22084607183933258, 0.011953197419643402, -0.6712218523025513, -0.07329434156417847, 0.07932564616203308, -0.5436318516731262, -0.18118789792060852, -0.13374680280685425, -0.26973751187324524, -0.09403123706579208, 0.750948429107666, -0.3586237132549286, 0.023202698677778244, 0.11637056618928909, -0.11697640269994736, -0.30466389656066895, 0.025171449407935143, 0.7177611589431763, 0.5515167713165283, -0.24004694819450378, -0.051173966377973557, -0.03300474211573601, -0.3018835484981537, 0.3842645287513733, 0.40805289149284363, -0.02470034919679165, -0.2709665298461914, 0.29422855377197266, 0.7388756275177002, 0.0016328309429809451, -0.4982496500015259, 0.6470115780830383, 0.04868253692984581, -0.10975541919469833, -0.30290651321411133, 0.004925838205963373, 0.1396505981683731, 0.1536482721567154, 0.12286096066236496, -0.341728538274765, -0.22352032363414764, -0.11837441474199295, 0.20234975218772888, 0.4061509370803833, -0.5912810564041138, -0.22338147461414337, 0.7167848348617554, 0.2066262811422348, -0.24323002994060516, 0.8130373358726501, -0.07450874894857407, -0.32076993584632874, 0.37829267978668213, 0.41789838671684265, 0.7364246249198914, -0.37294644117355347, -0.21006892621517181, 0.4607676863670349, 0.08268198370933533, -0.13438178598880768, -0.047314222902059555, -0.17984478175640106, -0.7974423170089722, -0.5772162675857544, -0.9258081316947937, -0.42980316281318665, -0.00850155670195818, -0.5596222281455994, 0.3592347204685211, -0.30649644136428833, 0.2665959894657135, -0.0030111116357147694, 0.10585818439722061, -0.2774590253829956, 0.4232825040817261, 0.38663750886917114, 0.5550533533096313, -0.9214679598808289, 1.097886323928833, 0.5919345021247864, -0.2655848562717438, -0.9322122931480408, 0.22727183997631073, 0.015955891460180283, -0.7792119383811951, 0.9023076295852661, 0.12944436073303223, -0.06637769937515259, -0.045811884105205536, -0.41672283411026, -1.1473392248153687, 1.1065621376037598, 0.5321257710456848, -1.011324405670166, -0.1589452475309372, 0.12510308623313904, 0.4863066077232361, -0.5145737528800964, -0.32845690846443176, 0.2755175530910492, 0.11294709146022797, 0.1126774474978447, -0.9633393287658691, 0.023676417768001556, 0.14051783084869385, 0.047739919275045395, 0.4568324387073517, -0.648942232131958, 0.5716967582702637, -0.13883891701698303, 0.07914166897535324, 0.09097690880298615, 0.7426446080207825, 0.16689354181289673, -0.16462446749210358, 0.6564168930053711, 0.715302050113678, 1.0210505723953247, -0.14677079021930695, 0.4911248981952667, -0.2792520523071289, 0.3692287504673004, 1.5997014045715332, -0.542325496673584, 0.8212051391601562, 0.580100953578949, -0.04085228964686394, 0.2978130578994751, 0.8568774461746216, -0.15663863718509674, 0.5400562286376953, 0.28673261404037476, -0.12692902982234955, -0.22486719489097595, -0.29437828063964844, -0.30156463384628296, 0.6148519515991211, 0.269226610660553, -0.30326586961746216, 0.0174554456025362, -0.2399684488773346, -0.05893189460039139, 0.3421425521373749, -0.05247034132480621, 0.90630704164505, -0.10402531921863556, -0.6887937188148499, 0.5022183656692505, -0.2874356210231781, 0.6841467618942261, -0.5409104824066162, -0.030192798003554344, -0.2043263167142868, 0.19487988948822021, -0.21020682156085968, -0.620918333530426, 0.4335034191608429, -0.12077800184488297, -0.12172434478998184, -0.27420735359191895, 0.47685933113098145, -0.6690680384635925, -0.19276466965675354, 0.20507799088954926, 0.33410918712615967, 0.26361769437789917, 0.2991716265678406, -0.59608393907547, -0.11305783689022064, -0.004372310359030962, -0.05533939599990845, 0.3650798201560974, 0.5080893635749817, 0.11634253710508347, 0.20054718852043152, 0.6028465032577515, 0.2939589321613312, -0.23397961258888245, 0.23561477661132812, 0.6378461718559265, -0.6998063921928406, -0.3502071499824524, -0.8321858644485474, 0.30762985348701477, -0.08649260550737381, -0.30777299404144287, 0.47574949264526367, 0.6629741787910461, 0.8805153369903564, 0.1389475017786026, 0.5518893599510193, 0.12571312487125397, 0.6311018466949463, -0.7275253534317017, 0.5402239561080933, -0.7630268335342407, 0.07470113039016724, -0.32495352625846863, -1.1394305229187012, -0.48666638135910034, 0.7241941094398499, -0.4082315266132355, -0.058955300599336624, 0.45501503348350525, 0.8681503534317017, -0.0954730361700058, -0.38296470046043396, 0.32737985253334045, -0.13949577510356903, 0.4184977412223816, 0.56764817237854, 0.7775622606277466, -0.2843908965587616, 0.3735973834991455, -0.370198518037796, -0.2884214222431183, -0.12098541110754013, -1.303471326828003, -0.8724281191825867, -0.552983820438385, -0.5858356952667236, -0.2701312303543091, 0.08330699801445007, 1.179922342300415, 0.7841582894325256, -0.6139321327209473, -0.09837710112333298, -0.062113575637340546, -0.15802624821662903, -0.1582551896572113, -0.13052614033222198, 0.8050879836082458, -0.16000831127166748, -0.9889969229698181, 0.2714943587779999, 0.41375306248664856, 0.6423696279525757, -0.3541359305381775, -0.11301076412200928, -0.4615452289581299, -0.42426013946533203, 0.19586576521396637, 0.18117788434028625, -0.7625318765640259, -0.3901221752166748, -0.008650205098092556, -0.35847461223602295, 0.3066880404949188, 0.5389045476913452, -0.34619730710983276, 0.5086649060249329, 0.20128393173217773, 0.8924568295478821, 0.06412673741579056, 0.2048010528087616, 0.8276863694190979, -0.9614280462265015, 0.27640900015830994, 0.21448588371276855, 0.25719892978668213, 0.7555439472198486, -0.6844602823257446, 0.5160884857177734, 0.21696574985980988, -0.7395991086959839, -0.7668604850769043, 0.3077126741409302, -0.9615116715431213, -0.0006752518238499761, 1.1939009428024292, -0.2364981323480606, -0.17483915388584137, 0.13134095072746277, -0.1975630521774292, 0.4543164074420929, -0.3053475320339203, 0.7275803685188293, 0.7391102313995361, -0.1221967563033104, -0.02889508567750454, -0.23094037175178528, 0.6904649138450623, 0.4123847484588623, -0.8156993389129639, 0.3992971181869507, 0.6338650584220886, 0.24597881734371185, 0.06504437327384949, 0.7040486931800842, -0.1051877960562706, -0.011229557916522026, -0.05618944391608238, 0.19328716397285461, 0.2519057095050812, -0.08664039522409439, -0.6287732124328613, -0.20155295729637146, 0.4430924654006958, -0.10707375407218933 ]
http://arxiv.org/abs/2404.06371v2
http://arxiv.org/pdf/2404.06371v2
Model Generation with LLMs: From Requirements to UML Sequence Diagrams
2024-04-09T15:07:25
2024-07-01T13:16:49
Alessio Ferrari, Sallam Abualhaija, Chetan Arora
cs.SE
cs.SE, cs.CL, cs.LG, D.2; K.6.3; D.2.1; D.3.1; D.2.2; D.2.10; D.2.2; I.2; I.2.7
Complementing natural language (NL) requirements with graphical models can improve stakeholders' communication and provide directions for system design. However, creating models from requirements involves manual effort. The advent of generative large language models (LLMs), ChatGPT being a notable example, offers promising avenues for automated assistance in model generation. This paper investigates the capability of ChatGPT to generate a specific type of model, i.e., UML sequence diagrams, from NL requirements. We conduct a qualitative study in which we examine the sequence diagrams generated by ChatGPT for 28 requirements documents of various types and from different domains. Observations from the analysis of the generated diagrams have systematically been captured through evaluation logs, and categorized through thematic analysis. Our results indicate that, although the models generally conform to the standard and exhibit a reasonable level of understandability, their completeness and correctness with respect to the specified requirements often present challenges. This issue is particularly pronounced in the presence of requirements smells, such as ambiguity and inconsistency. The insights derived from this study can influence the practical utilization of LLMs in the RE process, and open the door to novel RE-specific prompting strategies targeting effective model generation.
[ -0.4827701151371002, -0.5199522972106934, 0.5846525430679321, 0.10213535279035568, -0.30681654810905457, -0.043080270290374756, 0.31549835205078125, -0.3535456955432892, -0.15004287660121918, 0.7212622761726379, -0.6801871061325073, -0.48025670647621155, -0.23040415346622467, 0.3428599536418915, -0.7065169215202332, 0.9052329659461975, -0.25875359773635864, -0.47376549243927, 0.08781825006008148, 0.2817692458629608, -0.8229141235351562, -0.5385820865631104, -0.5790106654167175, -0.5296012163162231, 0.5465717911720276, 0.3700026869773865, 0.7256364226341248, 0.1966402679681778, 0.32371678948402405, 0.26001325249671936, -0.07153693586587906, 0.30728864669799805, -0.22117602825164795, 0.6201257705688477, 0.2593749463558197, -0.26028862595558167, -0.7408044934272766, -0.13251999020576477, 0.5506777763366699, 0.5741430521011353, -0.31388354301452637, 0.1880369633436203, 0.4805605113506317, 0.6853979229927063, -0.1261260062456131, 0.4727526009082794, -0.618371844291687, 0.27136939764022827, 0.0027985963970422745, -0.5059441924095154, -0.47917646169662476, -0.2197752743959427, 0.31601765751838684, -0.6422527432441711, 0.39412909746170044, 0.21451546251773834, 1.1106277704238892, -0.06904781609773636, -0.4460882544517517, -0.466433584690094, -0.6076797246932983, 0.41634631156921387, -1.18197500705719, 0.28588852286338806, -0.07151445001363754, 0.32198795676231384, -0.6710965037345886, -0.7750151753425598, -0.15934067964553833, -0.26567891240119934, -0.2159019112586975, 0.11374948173761368, -0.18494504690170288, 0.12693722546100616, 0.4958820343017578, 0.19978347420692444, -0.739614725112915, 0.07004552334547043, -0.30840328335762024, -0.014716090634465218, 0.6844372153282166, 0.5244691371917725, 0.4292953908443451, -0.7745361328125, -0.26136332750320435, 0.19993266463279724, -1.1370371580123901, -0.3742833435535431, 0.38318872451782227, 0.4695691168308258, -0.2161369025707245, 0.9671125411987305, -0.09869126975536346, 0.6136921644210815, -0.19080619513988495, 0.14759813249111176, -0.06113645061850548, -0.2166033238172531, -0.37644699215888977, -0.21281848847866058, 0.7348941564559937, 0.0468263179063797, 0.5397367477416992, 0.023727623745799065, -0.6414370536804199, -0.3921695947647095, 0.4825781285762787, -0.4833964407444, -0.1936979442834854, 0.3134835362434387, -0.5496998429298401, -0.4086371660232544, -0.10335368663072586, -0.4480283856391907, -0.32872092723846436, -0.7787468433380127, 0.15204209089279175, -0.5282963514328003, -0.3949960470199585, -0.09080933779478073, -0.14908193051815033, 0.518588125705719, 0.46724140644073486, -0.6460747718811035, -0.27305662631988525, 0.6947625875473022, 0.8311793208122253, 0.028571326285600662, 0.02264140173792839, -0.059692006558179855, 0.33101752400398254, -0.28397732973098755, 0.8557934165000916, -0.2729938328266144, -0.8119171261787415, 0.2625189423561096, -0.3222701847553253, -0.098521389067173, -0.4347746670246124, 0.39323076605796814, -0.5919105410575867, 0.10552151501178741, -0.003941101487725973, -0.7006074786186218, 0.006187241990119219, 0.2992591857910156, -0.5395873188972473, 0.8107778429985046, -0.014073008671402931, -0.7826942801475525, 0.32746952772140503, -0.7379562854766846, -0.32098326086997986, 0.3815687894821167, -0.5469992160797119, -0.3493061065673828, 0.20648857951164246, 0.023329613730311394, 0.68487948179245, -0.46573522686958313, 0.4348604381084442, -0.16720092296600342, -0.066612608730793, 0.3872562646865845, -0.5490155220031738, 0.5543159246444702, 0.5438675284385681, -0.08664772659540176, 0.27735796570777893, -0.825962483882904, 0.1527555137872696, 0.3806820511817932, -0.6282454133033752, 0.07903687655925751, 0.2792816758155823, 0.0749654620885849, 0.14572668075561523, 0.05141133815050125, 0.14135660231113434, 0.26542922854423523, -0.23228803277015686, 0.5402708649635315, 0.6528860330581665, 0.26472121477127075, 0.14611145853996277, -0.49040234088897705, 0.7127682566642761, -0.21813395619392395, -0.01732298545539379, -0.5812562108039856, -0.9187042117118835, -1.0165009498596191, -0.11758178472518921, 0.12174048274755478, 0.49712005257606506, -0.6153817772865295, 0.4096027910709381, -0.18242329359054565, -0.2592759430408478, -0.2030458301305771, -0.11024600267410278, 0.2010246217250824, 0.19495889544487, -0.2710287570953369, -0.33826500177383423, -0.8631294369697571, -0.7189238667488098, 0.07834868878126144, -0.4814873933792114, -0.38893362879753113, 0.25653237104415894, 0.3252331614494324, -0.10845927149057388, 1.104447841644287, -0.33748990297317505, 0.05390617996454239, -0.3963947594165802, 0.49985185265541077, 0.1702720820903778, 0.0977204442024231, 0.2579280436038971, -0.8801695704460144, -0.275846004486084, 0.06277299672365189, -0.9627417922019958, -0.3988652527332306, -0.19073939323425293, -0.0975349172949791, 0.3839041590690613, 0.4155218005180359, -0.5541410446166992, 0.6034372448921204, 0.39716196060180664, -0.059417724609375, 0.6818219423294067, -0.35316285490989685, 0.07636517286300659, -1.4120250940322876, 0.3154672086238861, -0.027218716219067574, -0.23431366682052612, -0.744117021560669, 0.16774556040763855, -0.2825741469860077, -0.5580481886863708, -0.343995064496994, 0.2509976029396057, -0.6043181419372559, -0.1805138736963272, -0.18039804697036743, 0.21332350373268127, 0.03875085711479187, 0.1869327276945114, 0.2135995477437973, 0.419423371553421, 0.301324725151062, -0.7179123163223267, 0.237131729722023, 0.29993703961372375, -0.40032878518104553, 0.5283317565917969, -0.7172415256500244, 0.10132117569446564, -0.008700655773282051, 0.0657164677977562, -1.1053884029388428, -0.4264061450958252, 0.41073575615882874, -0.25058454275131226, 0.3184678554534912, -0.3825713098049164, -0.7619741559028625, -0.3883350193500519, 0.35569676756858826, 0.00221931841224432, 0.7298209071159363, -0.16340376436710358, 0.5878521203994751, 0.06419600546360016, -0.24657504260540009, -0.03119642846286297, -0.40168115496635437, 0.22865119576454163, -0.32733529806137085, -0.8607566952705383, 0.1241711899638176, 0.1482841521501541, -0.10361717641353607, -0.10751443356275558, 0.08807939291000366, 0.04945734143257141, 0.16102775931358337, 0.6910964250564575, 0.4066699147224426, -0.4428088366985321, -0.10895359516143799, -0.31576061248779297, -0.22209253907203674, 0.08323031663894653, -0.21848855912685394, 0.5835391283035278, 0.11126614362001419, -0.8474913835525513, -0.44670766592025757, 0.5386981964111328, 0.5598224401473999, -0.06015781685709953, 0.228172168135643, 0.29415255784988403, -0.19145207107067108, -0.3002674877643585, -0.35947325825691223, -0.00009060576121555641, -0.4724394977092743, 0.1150321438908577, -0.5518226027488708, -0.6956007480621338, 0.6170660257339478, -0.04458032548427582, 0.5243232846260071, 0.25495731830596924, 0.6237866878509521, -0.1018335372209549, 0.9292341470718384, 0.5198764801025391, 0.2548811435699463, 0.43922266364097595, -0.023632392287254333, 0.3372080624103546, -0.6534963250160217, -0.18430763483047485, -0.4615194499492645, 0.02030337229371071, -0.5362136363983154, -0.19340795278549194, 0.39923974871635437, -0.12722867727279663, -0.26472383737564087, 0.30788978934288025, -0.32908138632774353, 0.11947426944971085, 0.47448354959487915, -0.12281642109155655, 0.45399993658065796, 0.28762391209602356, -0.2006825953722, 0.12846030294895172, -0.9350979328155518, -1.0674548149108887, 0.8465496301651001, 0.27175894379615784, 0.8757320642471313, 0.06702537089586258, 0.873186469078064, 0.3724304437637329, 0.4286864101886749, -0.5685539245605469, 0.6756536364555359, 0.2190747857093811, -0.6693965792655945, -0.26252055168151855, -0.3907926082611084, -1.1940664052963257, 0.24315357208251953, -0.20844602584838867, -0.5151101350784302, -0.08246716111898422, 0.3919016420841217, -0.26966485381126404, 0.12478269636631012, -0.7055193185806274, 0.7085998058319092, -0.06013985350728035, 0.27199485898017883, 0.017143290489912033, -0.4843372702598572, 0.5187321901321411, -0.27283403277397156, 0.09784536063671112, -0.341641366481781, 0.25002750754356384, 0.31285548210144043, -0.502105712890625, 1.1524252891540527, 0.15353937447071075, -0.5637809634208679, 0.6287800669670105, 0.26028546690940857, 0.7304210066795349, -0.3285539448261261, -0.1253560185432434, -0.12469962984323502, -0.07201547920703888, -0.18690820038318634, -0.3588414788246155, 0.2951892912387848, -0.3796021342277527, -0.9624528884887695, -0.1667192429304123, -0.570652425289154, -0.1435984969139099, 0.054285578429698944, 0.35179921984672546, 0.3448897898197174, -0.39132288098335266, -0.23684141039848328, 0.525335967540741, -0.4928129315376282, 0.24950186908245087, 0.5298543572425842, -0.5447368025779724, 0.0802987813949585, 0.6134337186813354, 0.18714895844459534, 0.5482921600341797, 0.1997283399105072, -0.14313432574272156, 0.030726341530680656, -0.5668589472770691, -0.4226115345954895, 0.06460317224264145, -0.605202317237854, -0.1722198873758316, -0.29646244645118713, -0.7128985524177551, -0.46447309851646423, -0.1317792534828186, 0.023817045614123344, -0.22309458255767822, -0.4713383913040161, 0.2012493759393692, 0.39951902627944946, 1.2118141651153564, 0.20691893994808197, 0.27515098452568054, -1.0582988262176514, 0.31591328978538513, 0.23005418479442596, 0.14064325392246246, 0.22406908869743347, -0.7175046801567078, 0.10586218535900116, -0.013392183929681778, -0.6152470707893372, -1.1307154893875122, 0.5785890221595764, -0.04177122935652733, 0.6084922552108765, 0.38503891229629517, -0.11551995575428009, 0.5352145433425903, -0.8495591282844543, 0.6498376131057739, 0.06707565486431122, -0.66868656873703, 0.6689901947975159, -0.6928216218948364, 0.1348349004983902, -0.3408818542957306, 0.078229159116745, -0.7869934439659119, -0.6081476807594299, -0.7274797558784485, -1.0241098403930664, 0.5692103505134583, 0.4783669412136078, 0.2573891878128052, -0.0012383386492729187, 0.4282071590423584, 0.0035039582289755344, -0.032882969826459885, -0.32383108139038086, -0.08669837564229965, 0.03384484350681305, -0.18002937734127045, 0.4478333294391632, -0.4318358600139618, 0.07452293485403061, 0.5362218022346497, 0.6518355011940002, 0.13393406569957733, 0.11736147850751877, -0.021223243325948715, 0.08283496648073196, 0.10023943334817886, 0.5578152537345886, 0.38682711124420166, 0.49683284759521484, -0.076722651720047, -0.09637363255023956, 0.022244906052947044, 0.03980327025055885, 0.18010950088500977, -0.18493059277534485, -0.377562016248703, 0.2059924304485321, 0.18789507448673248, 0.6881864666938782, 0.36790454387664795, -0.5750358700752258, 0.13558369874954224, 0.22931331396102905, -0.23606213927268982, -0.26637110114097595, 0.22781985998153687, 0.31568750739097595, 0.278389573097229, 0.15455113351345062, -0.43392395973205566, 0.10968167334794998, -0.242552250623703, 0.20470866560935974, 0.4459829330444336, 0.07980307191610336, -0.1738739311695099, 0.5868141651153564, 0.39227911829948425, -0.40304040908813477, 0.7928809523582458, -0.16443264484405518, -0.06938165426254272, 0.6271449327468872, 0.7104038596153259, 0.8695318102836609, -0.054826442152261734, 0.3102847933769226, 0.18694466352462769, 0.20264862477779388, -0.15435557067394257, 0.34272944927215576, 0.22432324290275574, -0.5706058740615845, -0.39722341299057007, -0.5524038076400757, -0.540075957775116, -0.0059925043024122715, -0.5604873895645142, 0.49852144718170166, -0.19913242757320404, -0.2787138521671295, -0.10091233998537064, -0.6483877897262573, -0.730120062828064, -0.15666617453098297, 0.3720954954624176, 0.6031426787376404, -0.7435688972473145, 0.5823495388031006, 0.5228144526481628, -0.6763314008712769, -1.0698277950286865, -0.29070037603378296, 0.2535654902458191, -1.0182344913482666, 0.9021567106246948, -0.0905921682715416, 0.07676486670970917, -0.025713801383972168, -0.27087533473968506, -0.7385145425796509, 1.0696791410446167, 0.30284449458122253, -0.6986153721809387, -0.4567500650882721, 0.5669912695884705, 0.3885191082954407, -0.5266337394714355, -0.05211423709988594, 0.28643307089805603, 0.320636510848999, 0.3744114339351654, -0.8012326955795288, 0.2560241222381592, -0.2250571995973587, 0.44311147928237915, 0.3131372332572937, -0.2615755796432495, 0.6041790246963501, -0.289111465215683, -0.7661430835723877, 0.4475703835487366, 0.5739168524742126, 0.6659064292907715, 0.10576579719781876, 0.3179089426994324, 0.2794022262096405, 0.6224392652511597, 0.03051111288368702, 0.9565404653549194, -0.22088120877742767, 0.1437898874282837, 1.1476290225982666, -0.41740813851356506, 0.8467702269554138, 0.3931271433830261, -0.2009834349155426, 0.39224329590797424, 0.9046819806098938, -0.18488387763500214, -0.12701433897018433, 0.458406537771225, -0.11429036408662796, -0.31355997920036316, 0.046243663877248764, -0.47189509868621826, 0.005449642892926931, 0.5037654042243958, -0.6750236749649048, -0.3308010399341583, -0.36912575364112854, -0.26186391711235046, -0.3086322546005249, -0.103252112865448, 0.736181914806366, 0.3996868133544922, -0.5630286931991577, 0.5231255888938904, -0.14148114621639252, 0.20764939486980438, -0.5668594241142273, -0.22324268519878387, -0.30443739891052246, -0.2961229383945465, -0.19719572365283966, -0.85600346326828, 0.2069469541311264, 0.3353475332260132, -0.14605176448822021, -0.3503101170063019, 0.6484468579292297, -0.14545072615146637, -0.5702637434005737, -0.05885649472475052, 0.729610800743103, 0.5990353226661682, -0.0011387275299057364, -0.6968948245048523, -0.1270180344581604, 0.1345137506723404, -0.3066789209842682, 0.15818902850151062, 0.8272206783294678, -0.11849408596754074, 0.7750749588012695, 0.47491222620010376, -0.04703222215175629, 0.16953401267528534, 0.3715115189552307, 0.44904541969299316, -0.6050928235054016, -0.10737190395593643, -0.7689501643180847, 0.691865086555481, 0.17750729620456696, -0.11067121475934982, 0.6805152893066406, 0.4334620237350464, 0.4667084515094757, -0.16772867739200592, 1.0590806007385254, -0.0737973302602768, 0.18252485990524292, -0.8195669054985046, 0.7876086831092834, -0.48486465215682983, 0.6174839735031128, -0.16954733431339264, -0.9257189035415649, -0.32477453351020813, 0.3075581192970276, -0.049172062426805496, 0.06280084699392319, 0.40757617354393005, 0.9880438446998596, -0.06516032665967941, 0.12260359525680542, 0.36169135570526123, -0.08383819460868835, 0.6181159615516663, 0.6086502075195312, 1.1830470561981201, -0.14724354445934296, 0.6610801815986633, 0.479818731546402, 0.12068593502044678, -0.37385293841362, -1.108246088027954, -0.7270467281341553, -0.6295142769813538, -0.3823610842227936, -0.34195855259895325, -0.05746576935052872, 0.8926743268966675, 0.6074941158294678, -0.6756460666656494, -0.48662522435188293, -0.3204970359802246, 0.18931235373020172, 0.3501770496368408, -0.17624427378177643, 0.13738825917243958, -0.7740457057952881, -0.4095504879951477, 0.023905528709292412, 0.35815295577049255, 0.6719331741333008, -0.30842411518096924, -0.13894394040107727, 0.17473120987415314, 0.24401073157787323, 0.5514594912528992, 0.3973228633403778, -1.0115288496017456, -0.19254529476165771, -0.21537363529205322, -0.1369147151708603, 0.13722629845142365, 1.088566780090332, -0.36476197838783264, 0.06504959613084793, 0.5591756701469421, 0.18629831075668335, 0.24467886984348297, -0.22280248999595642, 0.9863899350166321, -0.7486018538475037, -0.2181987315416336, -0.12924115359783173, 0.6764035820960999, 0.40510430932044983, 0.010956786572933197, 0.5759364366531372, 0.0730552226305008, -0.5284110903739929, -0.6947821974754333, 0.6020197868347168, -0.8241844773292542, -0.14550715684890747, 1.377200961112976, -0.08250091224908829, 0.05912306159734726, -0.2052411288022995, -0.5309921503067017, 0.35298919677734375, -0.23441049456596375, 0.7415083050727844, 0.6741450428962708, -0.2827085256576538, -0.0002821095986291766, -0.7669749855995178, 0.3211333751678467, 0.1443934142589569, -0.9039490222930908, 0.4270695447921753, 0.6504442095756531, 0.2886057198047638, -0.03444845229387283, 0.4227381944656372, -0.07860898971557617, -0.025347884744405746, -0.06486430019140244, 0.17415279150009155, 0.2226209044456482, 0.07773712277412415, 0.05269994959235191, 0.1938270479440689, 0.5914334654808044, 0.06250304728746414 ]
http://arxiv.org/abs/2404.06367v1
http://arxiv.org/pdf/2404.06367v1
ClinLinker: Medical Entity Linking of Clinical Concept Mentions in Spanish
2024-04-09T15:04:27
2024-04-09T15:04:27
Fernando Gallego, Guillermo López-García, Luis Gasco-Sánchez, Martin Krallinger, Francisco J. Veredas
cs.CL
cs.CL
Advances in natural language processing techniques, such as named entity recognition and normalization to widely used standardized terminologies like UMLS or SNOMED-CT, along with the digitalization of electronic health records, have significantly advanced clinical text analysis. This study presents ClinLinker, a novel approach employing a two-phase pipeline for medical entity linking that leverages the potential of in-domain adapted language models for biomedical text mining: initial candidate retrieval using a SapBERT-based bi-encoder and subsequent re-ranking with a cross-encoder, trained by following a contrastive-learning strategy to be tailored to medical concepts in Spanish. This methodology, focused initially on content in Spanish, substantially outperforming multilingual language models designed for the same purpose. This is true even for complex scenarios involving heterogeneous medical terminologies and being trained on a subset of the original data. Our results, evaluated using top-k accuracy at 25 and other top-k metrics, demonstrate our approach's performance on two distinct clinical entity linking Gold Standard corpora, DisTEMIST (diseases) and MedProcNER (clinical procedures), outperforming previous benchmarks by 40 points in DisTEMIST and 43 points in MedProcNER, both normalized to SNOMED-CT codes. These findings highlight our approach's ability to address language-specific nuances and set a new benchmark in entity linking, offering a potent tool for enhancing the utility of digital medical records. The resulting system is of practical value, both for large scale automatic generation of structured data derived from clinical records, as well as for exhaustive extraction and harmonization of predefined clinical variables of interest.
[ -0.11205480247735977, -0.6026340126991272, 0.6207817792892456, 0.0016100043430924416, -0.5584616661071777, -0.038437582552433014, -0.08798056095838547, -0.7541612386703491, 0.3382808566093445, 0.4271700978279114, -0.3304935097694397, -0.7680327296257019, -0.6714200377464294, 0.39853617548942566, -0.36845722794532776, 1.1954866647720337, 0.07776357978582382, 0.3000648617744446, -0.3266696631908417, -0.28096631169319153, -0.25467202067375183, -0.46558696031570435, -0.7738645076751709, -0.47893673181533813, 0.7996910214424133, 0.19425083696842194, 0.7902112007141113, 0.8972901105880737, 0.8705083727836609, 0.19214501976966858, 0.1164737269282341, 0.10615836083889008, -0.2923305332660675, 0.15798550844192505, -0.48212191462516785, -0.5083678960800171, -0.4059619903564453, -0.7621904611587524, 0.4911580979824066, 0.712693989276886, 0.012082885019481182, 0.07730205357074738, -0.16072727739810944, 0.8799700736999512, -0.326703280210495, 0.34956231713294983, -0.921504557132721, -0.1113239973783493, -0.5289610624313354, -0.5196924209594727, -0.1401720941066742, -0.5115197896957397, 0.4444562792778015, -0.4014299511909485, 0.56580650806427, 0.010925262235105038, 0.9252480268478394, 0.3722059726715088, -0.3888719379901886, -0.9554116725921631, -0.24135632812976837, 0.2644904553890228, -0.5028155446052551, 0.5099835991859436, 0.23001766204833984, 0.18375517427921295, -0.18155796825885773, -0.9067291021347046, -0.318589985370636, -0.2535378038883209, -0.22479206323623657, -0.05026134103536606, -0.08181645721197128, 0.1639164835214615, 0.06222032383084297, 0.35496997833251953, -0.6121153831481934, -0.014663344249129295, -0.7146477699279785, -0.2774064242839813, 0.4733983874320984, -0.04447996988892555, 0.48588719964027405, -0.03694503754377365, -0.31008949875831604, 0.1257510632276535, -1.1135896444320679, -0.36453089118003845, -0.10715930163860321, 0.2941005229949951, 0.11638598144054413, 0.6109448075294495, 0.11508341133594513, 0.3446560800075531, 0.29164454340934753, -0.27059510350227356, 0.5175209045410156, -0.30557355284690857, -0.07639027386903763, 0.5554826855659485, 0.7969264388084412, 0.49163514375686646, 0.021288583055138588, -0.4174957573413849, 0.14839579164981842, 0.2601010799407959, 0.15544943511486053, -0.828311026096344, -0.5485751032829285, 0.44397249817848206, -0.3643873333930969, 0.027551718056201935, -0.06741490215063095, -0.62909996509552, -0.46282199025154114, -0.19816233217716217, 0.2000817358493805, -0.6388365030288696, 0.13489064574241638, 0.20489580929279327, 0.11174947023391724, -0.2063509225845337, -0.03600941598415375, -0.4862309396266937, 0.40528404712677, 0.5041789412498474, 0.8685470819473267, -0.3492760956287384, 0.06216830387711525, -0.4202251732349396, 0.3064102530479431, -0.02219843864440918, 0.786274790763855, -0.28743961453437805, -0.36885789036750793, 0.28379836678504944, 0.2872181832790375, -0.20027421414852142, -0.8213782906532288, 0.6376011967658997, -0.37637773156166077, 0.019909102469682693, -0.05142201483249664, -0.6535282731056213, 0.11983022838830948, 0.016107913106679916, -0.9928885698318481, 0.8784313797950745, -0.19437377154827118, -0.9967566132545471, 0.3827141523361206, -0.4864746630191803, -0.5912064909934998, 0.22354847192764282, -0.17726977169513702, -0.4081113934516907, -0.08482152223587036, -0.11545832455158234, 0.3667029142379761, -0.6161007285118103, 0.6044298410415649, -0.05747722461819649, -0.17003695666790009, 0.07789069414138794, 0.2599278390407562, 0.5701397061347961, 0.20471073687076569, -0.12170898169279099, 0.03668474033474922, -0.8410858511924744, -0.35664981603622437, 0.11315713077783585, -0.19622483849525452, -0.7708926796913147, -0.14110693335533142, -0.034488264471292496, 0.4529488980770111, 0.39796513319015503, -0.5684337019920349, -0.15858983993530273, -0.8023983240127563, 0.29817578196525574, -0.11247296631336212, 0.32824403047561646, 0.2864857017993927, -0.2513643801212311, 0.2164037972688675, 0.18696700036525726, -0.056879013776779175, -0.1312062293291092, -0.49010464549064636, -0.8446871042251587, -0.2310468852519989, 0.5406003594398499, 0.5443326830863953, -0.7483121752738953, 0.3497787415981293, -0.4237827956676483, -0.43445897102355957, -0.8799089193344116, -0.034831516444683075, 0.675256073474884, 0.8333924412727356, 0.7403804659843445, -0.38155999779701233, -0.587624728679657, -0.9433853030204773, -0.09838437288999557, -0.10584551095962524, -0.18477632105350494, 0.27247491478919983, 0.6657553911209106, -0.3908543288707733, 0.5176660418510437, -0.4026520848274231, -0.4694119393825531, -0.19676513969898224, -0.029944710433483124, 0.2738090455532074, 0.30030253529548645, 0.38151252269744873, -0.7716132402420044, -0.6897542476654053, 0.28951579332351685, -0.701974630355835, -0.24075369536876678, 0.04265135899186134, -0.06249677762389183, -0.027318324893712997, 0.5014491677284241, -0.2147735059261322, 0.32630616426467896, 0.3675009310245514, -0.11277270317077637, 0.20313549041748047, -0.4922647178173065, 0.06913255900144577, -1.1048260927200317, 0.40531930327415466, 0.22556650638580322, -0.10010478645563126, -0.8709426522254944, -0.011660158634185791, 0.07580945640802383, 0.17371846735477448, -0.5526559352874756, 0.5295972228050232, -0.3680809736251831, 0.4169824421405792, -0.1579735279083252, 0.28434085845947266, -0.10596857964992523, 0.10233213752508163, 0.25932586193084717, 0.39435312151908875, 0.534760057926178, -0.6851320862770081, 0.2415744513273239, 0.4868689775466919, 0.03601561859250069, 0.8781818747520447, -0.8983580470085144, -0.04605377838015556, -0.3670930564403534, 0.0339597687125206, -0.4976722002029419, -0.002300999825820327, 0.1626996248960495, -0.276658296585083, 0.2826378047466278, -0.11445863544940948, -0.6399543881416321, -0.22924970090389252, -0.23692353069782257, 0.370939165353775, 0.08819683641195297, -0.3548184335231781, 0.11314649134874344, 0.6633999347686768, -0.44682663679122925, -0.2200288325548172, -0.5910753011703491, 0.10226830095052719, -0.22665594518184662, -0.4602068066596985, 0.6750127673149109, -0.09769273549318314, -0.037115175276994705, -0.02268371172249317, -0.2845272719860077, -0.48252496123313904, -0.2281993180513382, 0.2232024371623993, 0.4722377061843872, -0.0449354387819767, 0.5339586734771729, 0.36006537079811096, -0.14689600467681885, 0.15494833886623383, -0.23006638884544373, 0.3733021318912506, 0.08482743054628372, -0.18458016216754913, -0.3400566577911377, 0.2960123121738434, 0.4263659715652466, -0.20268377661705017, 0.7771131992340088, 0.3682345449924469, -0.7379567623138428, 0.23842254281044006, -0.5231369733810425, -0.16427505016326904, -0.31969153881073, 0.31624647974967957, -0.4231107234954834, -0.7948492169380188, 0.35963207483291626, -0.3122507929801941, 0.01989312842488289, 0.5526664853096008, 0.667686402797699, -0.06003807485103607, 0.5265712738037109, 0.47640809416770935, 0.16729030013084412, -0.11844778060913086, 0.04255504533648491, 0.3280697762966156, -0.7030813097953796, -0.6291105151176453, -0.6824778318405151, -0.018832936882972717, -0.7366749048233032, -0.388310045003891, 0.670697808265686, 0.049789365381002426, -0.06401467323303223, 0.6374901533126831, -0.2679134011268616, 0.13115282356739044, 0.23242755234241486, 0.419697642326355, 0.6364195942878723, -0.05576002225279808, -0.505445659160614, -0.12171482294797897, -0.7280169129371643, -0.4251086115837097, 1.2095626592636108, 0.4083796739578247, 0.4241730570793152, 0.025916187092661858, 0.7055640816688538, 0.2074873149394989, 0.3808521628379822, -0.5442426800727844, 0.17713360488414764, -0.24931077659130096, -0.5014504790306091, 0.05578364431858063, 0.03386848792433739, -1.084958553314209, 0.0711238905787468, -0.6433463096618652, -0.5748659372329712, 0.16512222588062286, 0.1414618194103241, -0.09371474385261536, 0.049292150884866714, -0.24016036093235016, 0.7714985013008118, -0.1138748899102211, -0.4240676760673523, -0.1788540780544281, -0.9191670417785645, 0.170527845621109, -0.3917969763278961, 0.1861790418624878, 0.03438010811805725, -0.23598036170005798, 0.5264462828636169, -0.5221971273422241, 0.5207037925720215, 0.23611582815647125, -0.08565053343772888, 0.127533420920372, 0.05174430459737778, 0.2921231985092163, 0.23061056435108185, -0.04460644721984863, 0.37459731101989746, 0.3589414656162262, -0.2091965526342392, -0.3578825294971466, 0.8516848087310791, -0.2392617166042328, -0.006382327992469072, -0.49541008472442627, -0.41273829340934753, -0.24760690331459045, 0.29345113039016724, 0.3269554674625397, 0.556435763835907, -0.3043736219406128, 0.16055479645729065, 0.8610892295837402, -0.1575654000043869, -0.10820145159959793, 0.6335291862487793, 0.2978152334690094, -0.4447384774684906, 0.5443279147148132, -0.3519655168056488, 0.12487410753965378, 0.7557254433631897, -0.015065931715071201, -0.6101113557815552, -0.6280543804168701, -0.22954422235488892, 0.6593925356864929, -0.5543653964996338, -0.2611353397369385, -0.793394148349762, -0.26971015334129333, -0.03874443843960762, -0.1840602457523346, -0.19492663443088531, -0.056196991354227066, -0.05653262138366699, -0.014803048223257065, 0.15827703475952148, 0.33230096101760864, 0.34417590498924255, 0.1883554309606552, -0.96913743019104, 0.33684542775154114, -0.28331223130226135, 0.44425538182258606, -0.22808361053466797, -0.07062391936779022, -0.38294801115989685, -0.25502800941467285, 0.04433578997850418, -1.154999852180481, 0.3598212003707886, 0.40435752272605896, 0.5086561441421509, 0.43784213066101074, -0.024499844759702682, 0.6502598524093628, -0.8513440489768982, 0.31250154972076416, 0.39877212047576904, -0.568030834197998, 0.8381023406982422, -0.06686025112867355, 0.06945107132196426, 0.8763014674186707, 0.8242836594581604, -0.46622607111930847, -0.35705143213272095, -0.7232717275619507, -0.8590753078460693, 0.12916059792041779, 0.18359914422035217, -0.44785067439079285, -0.5443395972251892, 0.4587690532207489, 0.2863597571849823, 0.47784242033958435, -0.37886616587638855, -0.6369624137878418, 0.22417953610420227, -0.6092551946640015, 0.10375287383794785, -0.17385034263134003, -0.1784229427576065, -0.16487915813922882, 0.6454718112945557, -0.22974808514118195, 0.17389993369579315, 0.6557982563972473, -0.6040124297142029, 0.04012179374694824, 0.42798903584480286, 0.22553879022598267, 0.6625055074691772, -0.2330188751220703, 0.09070680290460587, 0.14100463688373566, -0.6026808023452759, -0.21690669655799866, 0.30388885736465454, -0.2719603180885315, 0.4538419842720032, 0.20482756197452545, 0.5312663316726685, 0.543421745300293, -0.8866090178489685, 0.33357569575309753, 0.22674602270126343, -0.15129534900188446, -0.22408542037010193, -0.23141221702098846, 0.0765538141131401, 0.16144676506519318, -0.02982615865767002, -0.1856183558702469, 0.4321327209472656, -0.49147215485572815, 0.4973602294921875, 0.2185864895582199, -0.6992530822753906, -0.39559227228164673, 0.8416295051574707, 0.2443261742591858, -0.0009422509465366602, 0.20786577463150024, 0.013159451074898243, -0.1550726592540741, 0.3180144131183624, 0.8509707450866699, 0.6323926448822021, -0.11843668669462204, 0.07670916616916656, 0.6986438632011414, -0.03529028967022896, -0.23794862627983093, 0.16059155762195587, 0.16118010878562927, -0.48150911927223206, -0.15273630619049072, -0.4720920920372009, -0.29081642627716064, 0.0015231218421831727, -0.736940324306488, 0.48278218507766724, -0.24842755496501923, -0.21656973659992218, 0.07143627107143402, -0.06903724372386932, -0.8693104386329651, 0.2844603657722473, 0.11914507299661636, 0.8828443288803101, -0.7183036804199219, 0.9568042755126953, 1.0005959272384644, -0.5108291506767273, -0.22956158220767975, -0.2261269986629486, 0.1617165356874466, -0.5526461601257324, 0.46258893609046936, -0.1252281218767166, 0.03941717371344566, -0.042180728167295456, 0.1448400765657425, -0.7432138323783875, 1.2878016233444214, 0.05761468783020973, -0.7807642221450806, -0.19508759677410126, 0.23258018493652344, 0.9348494410514832, -0.618443489074707, 0.3741420805454254, 0.8640003204345703, 0.08709044754505157, 0.19086168706417084, -1.2251694202423096, 0.36712679266929626, -0.3171434700489044, -0.15896674990653992, 0.4086875021457672, -0.2379252016544342, 0.3301188051700592, -0.206711083650589, -0.2967035472393036, 0.17544423043727875, 0.30356234312057495, 0.3554464280605316, 0.5691159963607788, 0.3288319706916809, 0.40079352259635925, 1.0246877670288086, -0.015244537964463234, 0.6435627937316895, -0.8096479177474976, 0.25173476338386536, 1.0409555435180664, -0.4267513155937195, 0.7204755544662476, 0.43025481700897217, -0.16623201966285706, 0.7807655334472656, 0.22180889546871185, -0.05219479650259018, 0.5244466662406921, 0.2413049191236496, -0.38289666175842285, 0.21933172643184662, -0.46032723784446716, -0.3745809495449066, -0.06394217163324356, 0.5683254599571228, -0.6184963583946228, -0.27125340700149536, -0.21302394568920135, 0.2465396374464035, 0.21919095516204834, -0.3342254161834717, 0.7697110176086426, 0.14727528393268585, -0.4607976973056793, 0.4111036956310272, -0.18581506609916687, 0.49321871995925903, -0.7032008767127991, -0.06645479053258896, 0.08578497171401978, 0.07193568348884583, -0.3609069883823395, -0.4099777340888977, 0.25418952107429504, 0.00609219865873456, -0.1366102397441864, 0.27623283863067627, 0.8504577875137329, -0.7845638394355774, -0.40693598985671997, 0.19600772857666016, 0.5024970769882202, 0.22367560863494873, 0.16602171957492828, -0.7013146877288818, -0.1454111784696579, -0.11244244873523712, 0.5775327086448669, 0.2783353924751282, 0.3970109820365906, -0.2817666530609131, 0.6477382779121399, 0.688923716545105, 0.48540931940078735, -0.11855768412351608, 0.36123865842819214, 0.7898216247558594, -0.7130646109580994, -0.47258108854293823, -0.6131294369697571, 0.43710094690322876, -0.16493216156959534, -0.26916417479515076, 0.3241274952888489, 0.786276638507843, 0.7862919569015503, -0.10919857025146484, 0.756306529045105, 0.027144107967615128, 0.5975726842880249, -0.3628358542919159, 0.48199325799942017, -0.29411938786506653, 0.23081322014331818, -0.23858116567134857, -0.7503997087478638, -0.625907301902771, 0.2289808988571167, -0.026729607954621315, -0.6758180856704712, 1.2979440689086914, 0.6614519357681274, 0.14006978273391724, -0.24935764074325562, 0.03494831174612045, 0.258085161447525, 0.05503396317362785, 0.7728634476661682, -0.01707589440047741, -0.5963079333305359, 0.45780807733535767, -0.21093666553497314, -0.1864004135131836, -0.1255117952823639, -0.7592445611953735, -1.0399607419967651, -0.5600305795669556, -0.5989615321159363, -0.455936461687088, 0.4165012240409851, 1.1844813823699951, 0.2477848082780838, -1.0049854516983032, 0.06901192665100098, 0.1295545995235443, -0.1076471358537674, -0.06370960175991058, -0.09534694999456406, 0.6623668670654297, -0.1580677479505539, -0.6932411789894104, 0.24835814535617828, 0.45519617199897766, -0.18091483414173126, -0.03496032953262329, -0.00424334779381752, -0.2231300324201584, -0.1907038688659668, 0.4757346212863922, 0.38300004601478577, -0.6559852361679077, 0.1587921679019928, -0.003825524589046836, -0.22360631823539734, 0.12093894183635712, 0.8143352270126343, -0.8847383260726929, 0.5678993463516235, 0.4144594371318817, 0.550937294960022, 0.4725262224674225, 0.04134908318519592, 0.42176565527915955, -0.3093663454055786, 0.12803849577903748, 0.22618161141872406, 0.4172952175140381, 0.26496368646621704, -0.3084096610546112, 0.4915044903755188, 0.2308429628610611, -0.22384104132652283, -0.4231446385383606, 0.09879433363676071, -0.9338269233703613, 0.08613280951976776, 0.87395179271698, 0.01731475256383419, -0.2109190672636032, -0.4803199768066406, -0.20133544504642487, 0.4401996433734894, -0.17639249563217163, 0.7734067440032959, 0.18939952552318573, -0.11264222860336304, 0.12959496676921844, -0.6395491361618042, 0.6031277775764465, -0.039522215723991394, -0.6609964966773987, -0.5118985176086426, 0.3576023280620575, 0.5266904234886169, 0.1745438128709793, 0.7498013973236084, -0.6337127089500427, 0.23698492348194122, -0.4101572334766388, 0.14423194527626038, 0.07481544464826584, -0.2979857921600342, -0.23351027071475983, 0.11216472834348679, -0.08991585671901703, -0.021464180201292038 ]
http://arxiv.org/abs/2404.06364v1
http://arxiv.org/pdf/2404.06364v1
SurveyAgent: A Conversational System for Personalized and Efficient Research Survey
2024-04-09T15:01:51
2024-04-09T15:01:51
Xintao Wang, Jiangjie Chen, Nianqi Li, Lida Chen, Xinfeng Yuan, Wei Shi, Xuyang Ge, Rui Xu, Yanghua Xiao
cs.CL
cs.CL
In the rapidly advancing research fields such as AI, managing and staying abreast of the latest scientific literature has become a significant challenge for researchers. Although previous efforts have leveraged AI to assist with literature searches, paper recommendations, and question-answering, a comprehensive support system that addresses the holistic needs of researchers has been lacking. This paper introduces SurveyAgent, a novel conversational system designed to provide personalized and efficient research survey assistance to researchers. SurveyAgent integrates three key modules: Knowledge Management for organizing papers, Recommendation for discovering relevant literature, and Query Answering for engaging with content on a deeper level. This system stands out by offering a unified platform that supports researchers through various stages of their literature review process, facilitated by a conversational interface that prioritizes user interaction and personalization. Our evaluation demonstrates SurveyAgent's effectiveness in streamlining research activities, showcasing its capability to facilitate how researchers interact with scientific literature.
[ -0.519123911857605, -0.4062597453594208, 0.40004077553749084, 0.3806751072406769, -0.11562927812337875, 0.6155019402503967, 0.0034769976045936346, -0.36027052998542786, 0.4372362792491913, 0.19700218737125397, -0.2764137387275696, -0.3781164288520813, -0.15025456249713898, 0.03452879935503006, -0.38720932602882385, 1.2668019533157349, 0.2697974443435669, 0.18734389543533325, -0.8015880584716797, -0.05467505007982254, -0.074126236140728, -0.2784908711910248, -0.7826873064041138, -0.6763355135917664, 1.0281726121902466, 0.35732805728912354, 0.5855251550674438, -0.3817175030708313, 0.8662691116333008, 0.43786102533340454, -0.027311354875564575, 0.2526407837867737, -0.4058001637458801, 0.8215752243995667, 0.0113463643938303, -0.542029082775116, -0.41361451148986816, -0.46861714124679565, 0.0028380537405610085, 0.5596732497215271, -0.21752987802028656, 0.365349143743515, 0.038414597511291504, 0.37128084897994995, -0.43863439559936523, 0.15067324042320251, -0.23198507726192474, -0.09924975037574768, -0.0513879656791687, -0.3445480167865753, -0.12093502283096313, -0.7647860050201416, 0.35722991824150085, -0.9060606956481934, 0.28509521484375, -0.016066087409853935, 0.42163416743278503, 0.08403584361076355, -0.028302757069468498, -0.22403085231781006, -0.9325679540634155, 0.4596129357814789, -0.4094022214412689, -0.18973441421985626, 0.25783059000968933, 0.5644253492355347, 0.0022309382911771536, -0.6342110633850098, -0.08902740478515625, -0.40017423033714294, -0.18781274557113647, 0.31403425335884094, -0.1528061032295227, -0.08565928041934967, -0.16848236322402954, 0.23195458948612213, -0.6739165782928467, -0.2493659257888794, -0.44264963269233704, -0.20603738725185394, 0.5243202447891235, 0.27761921286582947, 0.3841646909713745, 0.006670414935797453, -0.16027241945266724, 0.06142987683415413, 0.019889630377292633, 0.24856239557266235, 0.27917590737342834, 0.04039287194609642, 0.2877088785171509, 0.43585795164108276, -0.25951993465423584, 0.5744494199752808, -0.052721742540597916, 0.2472534477710724, -0.03067294880747795, -0.17229706048965454, -0.0352848656475544, -0.07972918450832367, 0.8315207958221436, 0.05274263396859169, -0.24998556077480316, -0.16464999318122864, -0.05738711729645729, -0.23185133934020996, 0.24152237176895142, -0.6754629611968994, -0.704457700252533, 0.2528131604194641, -0.13325433433055878, -0.6074832677841187, -0.013835977762937546, -0.6246239542961121, -0.733156681060791, -0.004505424294620752, 0.1332516372203827, -0.4334424138069153, -0.3799927234649658, -0.10044702142477036, -0.47880807518959045, 0.008453868329524994, 0.9078420400619507, -0.2042488008737564, 0.4931178092956543, 0.49479007720947266, 1.0349397659301758, -0.225436732172966, 0.19872424006462097, -0.14131970703601837, 0.023684127256274223, -0.1630730926990509, 1.0007463693618774, -0.680081844329834, -0.7470784783363342, -0.11548447608947754, -0.3372665047645569, 0.06666959822177887, -0.38159459829330444, 0.4248048961162567, -0.9734827280044556, 0.6090269088745117, -0.16807527840137482, -0.27456194162368774, -0.07152937352657318, 0.6647878289222717, -0.5970433950424194, 0.8978836536407471, 0.15322762727737427, -0.901658296585083, 0.01634121872484684, -0.9640524387359619, -0.086527518928051, 0.686842143535614, -0.17212969064712524, -0.265654593706131, -0.19555608928203583, 0.07074403017759323, 0.10439795255661011, -0.26522231101989746, 0.10469318181276321, -0.315618634223938, -0.41824567317962646, 0.4442535638809204, -0.05393494293093681, 0.7196428775787354, 0.41856738924980164, 0.03715401515364647, 0.11908423155546188, -0.5172656774520874, 0.003852525958791375, 0.06272073835134506, -0.37586545944213867, -0.7809911966323853, -0.29367193579673767, 0.39908015727996826, -0.4703107178211212, 0.49160268902778625, -0.7318741679191589, 0.27897027134895325, -0.227306067943573, 0.11129125207662582, 0.41607996821403503, 0.08318359404802322, 0.43776220083236694, -0.32647520303726196, 0.976184606552124, -0.2775920629501343, -0.13097013533115387, -0.4004201889038086, -0.42648640275001526, -0.5108234286308289, 0.015855340287089348, 0.5500414967536926, 0.668489396572113, -0.5185402035713196, 0.30940693616867065, -0.13998590409755707, -0.7711907029151917, -0.11280320584774017, -0.016963597387075424, 0.07937712967395782, 0.2713007926940918, -0.040318239480257034, -0.19948503375053406, -0.4877956807613373, -0.604336678981781, -0.10021722316741943, -0.41715237498283386, -0.30886349081993103, 0.2450038641691208, 0.2706131041049957, -0.07854882627725601, 1.1569172143936157, -0.7228203415870667, -0.32805928587913513, -0.18683579564094543, 0.43948984146118164, 0.025853842496871948, 0.31993749737739563, 0.3511349856853485, -0.8579164743423462, -0.45929697155952454, 0.5134896039962769, -0.6823471784591675, -0.3916550278663635, 0.21488554775714874, -0.08725113421678543, -0.40635499358177185, 0.2927917540073395, -0.5608523488044739, 0.0674339160323143, 0.1155494675040245, -0.2355949878692627, 0.2784454822540283, -0.1319810152053833, 0.25219982862472534, -0.9937426447868347, 0.45097121596336365, -0.10574345290660858, -0.20460373163223267, -0.6196163296699524, -0.2801807224750519, -0.2607510983943939, -0.40686365962028503, 0.09965184330940247, 0.44931453466415405, -0.30452555418014526, 0.36789488792419434, -0.3027108311653137, 0.17922797799110413, 0.2584364414215088, 0.026060229167342186, -0.20018033683300018, 0.7908361554145813, 0.2949047088623047, -0.35604724287986755, 0.30508479475975037, 0.6603760719299316, -0.12958413362503052, 0.6819658279418945, -0.7189701199531555, 0.14487992227077484, -0.4696560204029083, 0.27772200107574463, -1.130399465560913, -0.3035236597061157, 0.22698433697223663, -0.6918017268180847, -0.08907242864370346, 0.07626776397228241, 0.019916582852602005, -0.33164042234420776, -0.3801910877227783, 0.4101886451244354, 0.24200224876403809, -0.055597949773073196, 0.6189412474632263, 0.3597857654094696, -0.8729507327079773, -0.4326416552066803, -0.3267709016799927, 0.4294525384902954, -0.2886229157447815, -0.4178766906261444, 0.05895025655627251, -0.16831693053245544, -0.4660503566265106, -0.01838003098964691, 0.08361726254224777, -0.25107043981552124, -0.15904083847999573, 0.09061413258314133, 0.08698558807373047, -0.011520126834511757, 0.3250179588794708, -0.0630209892988205, 0.12774358689785004, 0.35029855370521545, 0.08544158190488815, 0.4283442497253418, -0.024045240134000778, -0.36917027831077576, -0.0701356902718544, 0.48144862055778503, 0.6630278825759888, -0.3093259632587433, -0.1207047775387764, 0.7690673470497131, -0.0350118950009346, -0.020894763991236687, -0.6758819818496704, -0.2000153809785843, -0.46884724497795105, 0.23003660142421722, -0.3389318287372589, -1.0228776931762695, 0.6369219422340393, -0.25304651260375977, 0.28601595759391785, 0.06181235983967781, 0.20437613129615784, -0.3468376100063324, 1.138413667678833, 0.37219882011413574, -0.20995169878005981, 0.47913312911987305, -0.1142764538526535, 0.1313408464193344, -0.7640665173530579, -0.6088783740997314, -0.9705957174301147, -0.33755892515182495, -0.040995098650455475, -0.4242681562900543, 0.7608975768089294, -0.38330769538879395, -0.3227802515029907, -0.2144571989774704, -0.8087843656539917, 0.29740414023399353, 0.5888990163803101, 0.12416674941778183, 0.3903574049472809, 0.24836771190166473, 0.03097371943295002, -0.013723215088248253, -0.562545657157898, -0.4934886693954468, 0.6202593445777893, 0.05932127684354782, 1.2189844846725464, 0.05942660570144653, 0.7471516728401184, 0.6692258715629578, 0.26448336243629456, -0.6786748766899109, 0.6697160005569458, 0.26759687066078186, -0.665112316608429, -0.362107515335083, -0.11584263294935226, -1.29226553440094, 0.4752187132835388, 0.10197971016168594, -0.6223456859588623, 0.3205648958683014, 0.00048137057456187904, -0.4742051959037781, 0.06970076262950897, -0.28330954909324646, 0.2484988570213318, -0.3619389832019806, -0.3416426479816437, -0.2094288468360901, -0.3777112364768982, 0.4196666181087494, 0.13714297115802765, -0.01928187906742096, -0.25927501916885376, -0.12938684225082397, 0.7798702716827393, -0.35569244623184204, 0.7792380452156067, -0.40142717957496643, 0.3186951279640198, 0.19275039434432983, 0.2789309620857239, 0.27666303515434265, 0.24887648224830627, -0.08797581493854523, -0.44810211658477783, 0.4604538381099701, -0.37649255990982056, -0.5328700542449951, 0.7036229968070984, -0.8071658611297607, -0.6211913228034973, -0.7698922753334045, -0.4637608528137207, -0.43063080310821533, 0.26542940735816956, 0.030735298991203308, 0.07218828797340393, -0.8336515426635742, 0.2709042727947235, 0.844448447227478, -0.18444107472896576, 0.11894694715738297, 0.3809035122394562, -0.361061155796051, -0.35011643171310425, 0.5979702472686768, -0.30005979537963867, -0.3623568117618561, 0.45602452754974365, 0.4543507695198059, -0.29129841923713684, -0.302492618560791, -0.305943101644516, -0.008444108068943024, -0.477097749710083, -0.4095637798309326, -1.0205937623977661, 0.027803193777799606, -0.3445063531398773, 0.04812683165073395, 0.17181465029716492, -0.43168577551841736, -0.10173225402832031, -0.08565102517604828, 0.5467805862426758, 0.7912967801094055, 0.18757960200309753, 0.3687577247619629, -0.5753892064094543, 0.18864840269088745, 0.47969430685043335, 0.06093496456742287, 0.013577217236161232, -0.11792656034231186, -0.282125860452652, -0.34469249844551086, -0.21634820103645325, -0.8764835596084595, 0.20189985632896423, 0.2609080970287323, 0.5291608572006226, 0.5001317262649536, 0.16000068187713623, 0.44490766525268555, -0.12790177762508392, 0.8009268641471863, 0.21332894265651703, -0.2990022301673889, 0.5399870872497559, -0.7661821842193604, 0.7010788917541504, 0.9678070545196533, 0.42940014600753784, -0.5637702345848083, -0.43750911951065063, -0.452810674905777, -0.7981085777282715, 0.5211470723152161, -0.0033985977061092854, 0.11723959445953369, 0.42959240078926086, 0.015618457458913326, 0.2414044886827469, 0.42383772134780884, -0.3290962278842926, 0.2410423904657364, -0.1542460024356842, -0.006762841250747442, 0.1211981549859047, -0.038637205958366394, -0.7688689827919006, -0.37240520119667053, 0.6880303621292114, -0.26047202944755554, 0.2743362486362457, 0.44634732604026794, 0.05899234861135483, -0.0036113164387643337, 0.3983074426651001, 0.35459771752357483, 0.7563355565071106, -0.1947273164987564, 0.027710093185305595, 0.05213077366352081, -0.5037446618080139, 0.19914749264717102, 0.5039663314819336, -0.6732317805290222, 0.26367366313934326, -0.2246702015399933, 0.2400737851858139, -0.03108765371143818, -0.4900606870651245, 0.2500714063644409, -0.44065502285957336, -0.2566942870616913, -0.6031027436256409, 0.11031772941350937, 0.38277125358581543, 0.001335641136392951, 0.5333290696144104, 0.30750998854637146, 0.6311416029930115, 0.023776832967996597, -0.11549053341150284, 0.6399657726287842, -0.5763219594955444, -0.21442082524299622, 0.734807014465332, 0.45562314987182617, -0.46829885244369507, 0.19791290163993835, 0.03648948296904564, -0.2675439417362213, 0.4948619306087494, 0.0901910737156868, 0.8020952939987183, -0.25175920128822327, 0.8271003365516663, 0.11479965597391129, -0.1047159880399704, 0.11899571865797043, 0.29478874802589417, -0.35964325070381165, -0.4391429126262665, -0.05761567875742912, -0.6164962649345398, -0.8150677680969238, 0.13641005754470825, -0.584965705871582, -0.10232090204954147, -0.2841181457042694, -0.2742466628551483, 0.18397173285484314, -0.04591967910528183, -0.600651204586029, 0.21469131112098694, -0.22961454093456268, 0.7672125697135925, -0.5171705484390259, 0.28663164377212524, 1.3074671030044556, -0.40636301040649414, -0.5797715783119202, -0.5285495519638062, 0.03878961130976677, -0.3981797695159912, 0.30669304728507996, -0.19553381204605103, -0.5226083993911743, -0.19496777653694153, -0.470971018075943, -0.6384006142616272, 0.9506399035453796, 0.005588550120592117, -0.3199201822280884, 0.19207657873630524, 0.17961838841438293, 0.8886285424232483, -0.238312229514122, 0.8899569511413574, 0.23946908116340637, 0.6307827234268188, 0.31582337617874146, -0.5182479023933411, -0.23106764256954193, -0.7653130292892456, -0.027686165645718575, 0.07835651189088821, -0.7834436297416687, 0.2683824300765991, 0.2590395212173462, 0.12127494066953659, 0.23995119333267212, 0.5563893914222717, 0.24606215953826904, 0.7377114295959473, 0.652003824710846, 0.14882728457450867, 1.0265536308288574, -0.025795316323637962, 0.5269598960876465, -0.2841264009475708, -0.08701581507921219, 0.8135886788368225, -0.46368372440338135, 0.3470209836959839, 0.2671399712562561, -0.24403412640094757, 0.8229376077651978, 0.5568794012069702, 0.08926359564065933, 0.1673443764448166, 0.33354705572128296, -0.9731090664863586, -0.11516530066728592, -0.30014070868492126, -0.37816110253334045, 0.4308071434497833, 0.3183775544166565, 0.007441308815032244, -0.286603182554245, 0.13310489058494568, 0.050254520028829575, 0.2543472647666931, -0.053422313183546066, 1.0098834037780762, -0.167377769947052, -0.8145979642868042, -0.06660347431898117, -0.30451154708862305, 0.5988477468490601, -0.9578286409378052, 0.16434621810913086, -0.2848491370677948, -0.006222248077392578, -0.4316675066947937, -0.47629594802856445, -0.09310272336006165, -0.111333929002285, -0.1383991837501526, -0.2593030035495758, 1.2258601188659668, -0.35712188482284546, -0.5555530190467834, -0.03303886577486992, 0.9295372366905212, 0.3129161298274994, -0.08690354228019714, -0.7583819627761841, 0.025809479877352715, -0.12415091693401337, -0.5109207630157471, 0.2536134421825409, 0.30675140023231506, -0.2157895863056183, 0.863381028175354, 0.6457557082176208, 0.39434605836868286, -0.1752977967262268, 0.4546827971935272, 0.8326258063316345, -0.5758726596832275, -0.5970563292503357, -0.12803521752357483, 0.2901243269443512, -0.5223626494407654, -0.3682173490524292, 0.8428146243095398, 0.8619216680526733, 0.3061574101448059, -0.1876339167356491, 1.3566832542419434, -0.23990853130817413, 0.8957674503326416, 0.47858336567878723, 0.6507455706596375, -0.37577763199806213, 0.3083515465259552, -0.007884079590439796, -0.8402448296546936, -0.3583061695098877, 0.42618775367736816, -0.3366042971611023, 0.16888917982578278, 0.37650296092033386, 0.7761574983596802, -0.059339769184589386, 0.16433335840702057, 0.06595446914434433, -0.23980064690113068, 0.5638201236724854, -0.08591859042644501, 1.0684335231781006, 0.12910819053649902, 0.7661810517311096, -0.04835103452205658, -0.2029866874217987, -0.17414845526218414, -0.26356059312820435, -0.7706937789916992, -0.4117979109287262, -0.27812284231185913, 0.002694062888622284, 0.3701886236667633, 0.5796574354171753, 0.6426967978477478, -0.7410549521446228, -0.6265307664871216, -0.013016322627663612, -0.2552827298641205, -0.1099894642829895, -0.3239234983921051, 0.15494966506958008, -0.4798942506313324, -0.7421775460243225, 0.3364417552947998, 0.399460107088089, -0.39567917585372925, -0.6922080516815186, 0.057473089545965195, -0.22210869193077087, 0.006767665967345238, 0.39071032404899597, 0.5708609223365784, -0.3803005516529083, 0.24719581007957458, 0.2817351222038269, -0.17314234375953674, 0.08717837929725647, 1.2237344980239868, -0.9138314127922058, 0.7009410858154297, 0.885833203792572, 0.8697249293327332, 0.7985879182815552, 0.388444721698761, 0.6698064804077148, -0.4271209239959717, -0.2820277810096741, 0.7596746683120728, -0.1805564910173416, 0.45870083570480347, -0.6349881291389465, 0.5263347625732422, -0.14842216670513153, -1.0287946462631226, -0.6008391380310059, -0.03453254699707031, -1.140297532081604, -0.24987798929214478, 0.7634075880050659, -0.026598714292049408, 0.06639377027750015, -0.6249505281448364, -0.6816827058792114, -0.09789493680000305, -0.7684116363525391, 0.8065934181213379, 0.6190366744995117, -0.6001465916633606, -0.3177608847618103, -0.33251798152923584, 0.49019694328308105, 0.5922626852989197, -0.8303617238998413, -0.31430715322494507, 0.49516865611076355, 0.1919855773448944, 0.5267413258552551, 0.850143313407898, 0.07019289582967758, 0.20615185797214508, -0.2666371464729309, 0.13130955398082733, -0.06763303279876709, 0.2411564737558365, -0.12356122583150864, 0.6175240278244019, 0.3627358078956604, -0.03510907664895058 ]
http://arxiv.org/abs/2404.06357v2
http://arxiv.org/pdf/2404.06357v2
Generalizable Sarcasm Detection Is Just Around The Corner, Of Course!
2024-04-09T14:48:32
2024-04-10T07:48:08
Hyewon Jang, Diego Frassinelli
cs.CL
cs.CL
We tested the robustness of sarcasm detection models by examining their behavior when fine-tuned on four sarcasm datasets containing varying characteristics of sarcasm: label source (authors vs. third-party), domain (social media/online vs. offline conversations/dialogues), style (aggressive vs. humorous mocking). We tested their prediction performance on the same dataset (intra-dataset) and across different datasets (cross-dataset). For intra-dataset predictions, models consistently performed better when fine-tuned with third-party labels rather than with author labels. For cross-dataset predictions, most models failed to generalize well to the other datasets, implying that one type of dataset cannot represent all sorts of sarcasm with different styles and domains. Compared to the existing datasets, models fine-tuned on the new dataset we release in this work showed the highest generalizability to other datasets. With a manual inspection of the datasets and post-hoc analysis, we attributed the difficulty in generalization to the fact that sarcasm actually comes in different domains and styles. We argue that future sarcasm research should take the broad scope of sarcasm into account.
[ -0.14743714034557343, -0.6040419936180115, 0.36325570940971375, 0.4443880021572113, -0.32990938425064087, -0.0889119803905487, -0.24218179285526276, -0.5541844964027405, 0.18804092705249786, 0.2701804041862488, -0.5507107377052307, -0.5617645382881165, -0.4103286564350128, 0.28265389800071716, -0.40255922079086304, 1.1837016344070435, 0.4311515688896179, 0.13507038354873657, -0.04836755245923996, -0.2778359651565552, -0.3403782844543457, -0.5399249196052551, -0.5983395576477051, -0.0936688706278801, 0.5495181679725647, 0.15502919256687164, 0.6998883485794067, 0.1821218580007553, 0.7020136117935181, 0.17258745431900024, -0.041242655366659164, -0.07402949035167694, -0.33641889691352844, 0.11086598038673401, -0.15095922350883484, -0.5603819489479065, -0.5577468872070312, -0.011694510467350483, 0.26052021980285645, 0.40357398986816406, 0.10351656377315521, 0.1901054084300995, -0.3355013132095337, 0.3565120995044708, -0.7520557045936584, 0.07016745209693909, -0.7279419898986816, -0.03551171347498894, -0.1935693472623825, -0.06788257509469986, -0.5705797076225281, -0.5310623049736023, -0.076239213347435, -0.4556303918361664, 0.4162318706512451, 0.0664902776479721, 0.6587528586387634, 0.29662927985191345, -0.4290791451931, -0.2228160947561264, -0.8268680572509766, 0.7509115934371948, -0.6633577942848206, 0.06285043060779572, 0.24515597522258759, 0.7854008674621582, 0.13648472726345062, -0.7510756254196167, -0.11995747685432434, -0.22652196884155273, 0.10186885297298431, -0.016434932127594948, -0.6215530633926392, 0.01727895811200142, 0.46495047211647034, 0.3018621504306793, -0.5706172585487366, -0.18301086127758026, 0.040791645646095276, -0.24346084892749786, 0.562301754951477, 0.05736349895596504, 0.27034521102905273, 0.07964862883090973, -0.20343466103076935, 0.1905154436826706, -0.2260431945323944, 0.23470672965049744, 0.5301278233528137, 0.4164246916770935, 0.0465257465839386, 0.17417798936367035, -0.448944091796875, 0.262262761592865, 0.02169043757021427, 0.14143523573875427, 0.23870550096035004, -0.502419114112854, -0.2977526783943176, -0.4044788181781769, 0.6052497625350952, 0.35832104086875916, 1.0255799293518066, -0.23241472244262695, -0.46582525968551636, 0.23675349354743958, 0.20543605089187622, -0.39422187209129333, -0.5109471678733826, -0.08044931292533875, -0.3220394551753998, -0.5287507772445679, 0.03161483630537987, -0.5785524845123291, -0.3548017740249634, -0.023510664701461792, 0.06755457073450089, -0.14027421176433563, -0.34479251503944397, 0.07366497814655304, -0.4899425208568573, 0.027627484872937202, 0.3326612412929535, -0.5310079455375671, 0.2240752875804901, 0.6752436757087708, 0.6867902874946594, 0.11476144194602966, -0.05999863147735596, -0.4376846253871918, -0.09748189896345139, -0.1936299055814743, 0.7691770792007446, -0.786605715751648, -0.12483464926481247, -0.02585914358496666, -0.21991971135139465, -0.14347009360790253, -0.47302913665771484, 0.8114466667175293, -0.39656999707221985, 0.02147241123020649, -0.381944864988327, -0.23836645483970642, 0.0010981580708175898, 0.46489280462265015, -0.8417229652404785, 0.8689025044441223, 0.5496664047241211, -1.17067289352417, 0.4472109079360962, -0.511974036693573, -0.6140643954277039, -0.006059326231479645, -0.009367143735289574, -0.40313565731048584, 0.3195973038673401, 0.35216403007507324, 0.43064627051353455, -0.4069366157054901, 0.5872982144355774, -0.7181615829467773, -0.6723455786705017, 0.6108731627464294, -0.4519147276878357, 0.9900916218757629, 0.1411503404378891, -0.5121718645095825, -0.13646507263183594, -0.24252575635910034, 0.030616000294685364, -0.01324448175728321, -0.08058078587055206, -0.3402155935764313, -0.3002716302871704, 0.019647719338536263, 0.2260827273130417, -0.037244848906993866, -0.37678974866867065, -0.03972683474421501, -0.08742783218622208, 0.3775779902935028, 0.6551848649978638, -0.31257736682891846, 0.15137113630771637, -0.38075846433639526, 0.8851689696311951, 0.13828213512897491, 0.6339675784111023, 0.05701562389731407, -0.6973298192024231, -0.5161299705505371, -0.5729084610939026, 0.3993062973022461, 0.6412914991378784, -0.7687913775444031, 0.2938474416732788, -0.4666462540626526, -0.2980584502220154, -0.13882172107696533, -0.3332119286060333, 0.5434781908988953, 0.45053762197494507, 0.4082391858100891, -0.19946172833442688, -0.31389614939689636, -0.828137993812561, -1.0302507877349854, -0.23560145497322083, -0.06946609169244766, 0.41676267981529236, 0.4882126450538635, -0.08850104361772537, 0.9343656897544861, -0.34776005148887634, -0.00860074907541275, -0.30612677335739136, 0.18991748988628387, -0.13930805027484894, 0.2006436139345169, 0.8728135228157043, -0.8364313840866089, -0.6257016062736511, 0.06352299451828003, -0.724210262298584, -0.20082101225852966, 0.20059897005558014, 0.04355981573462486, 0.07775919139385223, 0.4731684923171997, -0.5824123620986938, 0.7787948250770569, 0.05249950289726257, -0.2460039258003235, 0.8444238305091858, 0.6310567855834961, 0.3019528090953827, -0.7548723220825195, 0.22496397793293, 0.3125207722187042, -0.3945283591747284, -0.8243361115455627, -0.05548354238271713, 0.015061743557453156, 0.197052463889122, -0.29574480652809143, 0.6266763210296631, -0.1765047162771225, -0.0868513211607933, 0.021829769015312195, -0.21836966276168823, -0.04717646539211273, 0.2832987308502197, -0.5538403391838074, 0.3803647756576538, 0.7580133676528931, -0.5171551704406738, 0.4643789529800415, -0.24847140908241272, -0.1761266589164734, 0.9844930768013, -0.7240247130393982, -0.030850030481815338, 0.060888756066560745, 0.9287207126617432, -1.0657669305801392, -0.6826497912406921, 0.5916810035705566, -0.78999924659729, 0.1449516862630844, -0.29500812292099, -0.33604395389556885, -0.6903964877128601, -0.5789195895195007, 0.6838823556900024, 0.3603271543979645, -0.45232123136520386, 0.802746057510376, -0.0029384098015725613, 0.02512933872640133, -0.9870254397392273, -1.0370233058929443, -0.06968037784099579, -0.5818838477134705, -0.8359508514404297, -0.10168422758579254, -0.21732285618782043, -0.3957694470882416, -0.21004828810691833, -0.14465130865573883, -0.3784715235233307, 0.1551622897386551, 0.03607725724577904, 0.05161464214324951, -0.2013207972049713, 0.23345805704593658, -0.06426692754030228, 0.21022653579711914, 0.21380619704723358, -0.14077511429786682, 0.24017943441867828, -0.04371463507413864, -0.28279000520706177, -0.8543843030929565, 0.09026232361793518, 0.41558918356895447, 0.17635615170001984, 0.2470662146806717, 0.8416480422019958, -0.5688599348068237, -0.48297640681266785, -0.6519184112548828, -0.2489430159330368, -0.4777795672416687, 0.1474853903055191, -0.3630043566226959, -0.7635315656661987, 0.7981062531471252, 0.07601557672023773, -0.1565515398979187, 0.29881414771080017, 0.07699017971754074, 0.1519440859556198, 1.2098854780197144, 0.8087058663368225, -0.3300425112247467, 0.3632916808128357, 0.04622504115104675, 0.48974543809890747, -0.5454390048980713, -0.09872984886169434, -0.7482424974441528, -0.5834660530090332, -0.6102793216705322, -0.19278939068317413, -0.03136711195111275, -0.31825995445251465, -0.16019700467586517, 0.015493837185204029, -0.3883529305458069, 0.7512869238853455, 0.3229522407054901, 0.1375095695257187, 0.19499361515045166, 0.20707310736179352, 0.1946348249912262, 0.03382369503378868, -0.34615692496299744, -0.26105383038520813, 1.1996634006500244, 0.3849036991596222, 0.6900265216827393, 0.004429088905453682, 0.45807725191116333, 0.5492812991142273, 0.5706526041030884, -0.8555712699890137, 0.4696226418018341, -0.536354660987854, -0.6863915324211121, -0.09722152352333069, -0.8174940943717957, -0.5380282402038574, 0.008084982633590698, 0.4532061517238617, -0.6814234256744385, 0.0662783533334732, 0.3517886996269226, -0.2146412432193756, 0.33054789900779724, -0.832890510559082, 0.6551162004470825, 0.038757674396038055, 0.10601795464754105, 0.2354280650615692, -0.9832913279533386, 0.6821303367614746, 0.12092532962560654, 0.3145917057991028, -0.23542097210884094, 0.2201901078224182, 0.46391281485557556, 0.0888628140091896, 0.9496309161186218, -0.4166170358657837, 0.1785307228565216, 0.42097416520118713, 0.08951330929994583, 0.18296736478805542, 0.08494070917367935, -0.20465576648712158, 0.02083732560276985, -0.3536556363105774, -0.5842381715774536, -0.5366959571838379, 0.5901871919631958, -0.4799594581127167, -0.3364662230014801, -0.32843706011772156, -0.5419718027114868, -0.3447592258453369, -0.07927680015563965, 0.568433940410614, 0.47477447986602783, -0.518001139163971, -0.03419571369886398, 0.5438721179962158, 0.3175019919872284, 0.21095217764377594, 0.12508319318294525, 0.10270663350820541, -0.3679196536540985, 0.7826944589614868, -0.1001439243555069, 0.20639848709106445, 0.17411626875400543, 0.20943747460842133, -0.2269139438867569, -0.24402274191379547, -0.09246255457401276, 0.25298771262168884, -1.0781009197235107, -0.27255406975746155, -0.6985012888908386, -0.010433986783027649, -0.8190640807151794, -0.2197272926568985, -0.01011685375124216, -0.6934998035430908, -0.5300266742706299, 0.1331058293581009, 0.2817295789718628, 0.8993959426879883, -0.03305112570524216, 0.3607868254184723, -0.21410469710826874, 0.15932834148406982, 0.21166041493415833, 0.1913868933916092, -0.07286474853754044, -0.7763931155204773, -0.021078970283269882, 0.17887704074382782, -0.21705341339111328, -0.6726588010787964, 0.19813747704029083, 0.3164709806442261, 0.27770116925239563, 0.3422752022743225, 0.07042741030454636, 0.19751009345054626, 0.0996360182762146, 0.7353783845901489, 0.10697346180677414, -0.7829453349113464, 0.46694260835647583, -0.6282775402069092, 0.11000269651412964, 0.6050018072128296, 0.5258235335350037, -0.2784058153629303, -0.4705166816711426, -0.6860446333885193, -0.6162627339363098, 0.5927883982658386, 0.09395455569028854, 0.3580421209335327, -0.01125818770378828, 0.5320873260498047, 0.26959139108657837, 0.3941551446914673, -0.9488786458969116, 0.021292218938469887, -0.19718284904956818, -0.3886093497276306, -0.06091020628809929, 0.05261746793985367, -0.3198481798171997, -0.1816987246274948, 0.30184993147850037, -0.40815189480781555, 0.10528171807527542, -0.10969092696905136, -0.0479656457901001, 0.06858690828084946, 0.2408415824174881, 0.4803588390350342, 0.4893004596233368, -0.11670063436031342, 0.1794666349887848, -0.12708881497383118, -0.4125930666923523, -0.16964130103588104, -0.03794552758336067, -0.13742637634277344, 0.15961414575576782, 0.276545912027359, 0.6729870438575745, 0.10437825322151184, -0.3643597662448883, 0.8162332773208618, -0.2860125005245209, -0.14477021992206573, -0.021332062780857086, 0.11433053016662598, -0.1915997415781021, 0.17695897817611694, 0.1884346753358841, 0.4785497486591339, 0.5589470863342285, -0.553200900554657, 0.09742236137390137, 0.572902262210846, -0.3044471740722656, -0.8192293643951416, 0.41115838289260864, 0.32241976261138916, -0.06893431395292282, 0.5799170136451721, -0.37775155901908875, -0.8843757510185242, 0.9980209469795227, 0.4749579131603241, 1.2271006107330322, -0.23311178386211395, 0.598858118057251, 0.150612473487854, 0.4951987564563751, -0.40225788950920105, 0.37578028440475464, 0.037479374557733536, -0.43459948897361755, 0.14640504121780396, -0.24341674149036407, -0.36445847153663635, 0.07782752811908722, -0.5937673449516296, 0.4191471040248871, -0.6975364089012146, -0.6109779477119446, 0.028322478756308556, -0.3813953995704651, -0.8401796221733093, 0.4978770315647125, 0.029996948316693306, 0.956697404384613, -1.1668580770492554, 0.24165557324886322, 0.7175833582878113, -0.21067513525485992, -0.526339590549469, 0.6637517809867859, 0.06480873376131058, -0.565208375453949, 0.42841532826423645, 0.6218681335449219, -0.29763463139533997, -0.13563373684883118, -0.9886915683746338, -0.3656429946422577, 0.9460896253585815, 0.6390411257743835, 0.005280641373246908, -0.11790406703948975, 0.13291583955287933, 0.7691437005996704, -0.5373765826225281, 0.5613564848899841, 0.7909929156303406, 0.5115717053413391, 0.10721088945865631, -0.9640312790870667, -0.05526812747120857, -0.3184102773666382, -0.16281388700008392, -0.1245548352599144, -0.7176589369773865, 1.208530306816101, -0.18104188144207, -0.23918715119361877, 0.1105901449918747, 0.40716496109962463, -0.014995003119111061, 0.9787971377372742, 0.40636423230171204, 0.7195788621902466, 0.7433918118476868, -0.3361014127731323, 1.1597867012023926, 0.16456282138824463, 0.3603803217411041, 0.99224454164505, -0.35660919547080994, 0.39646589756011963, 0.13741075992584229, 0.13119012117385864, 0.48911941051483154, 0.6878878474235535, 0.039941512048244476, 0.29408472776412964, 0.23498809337615967, -0.23762887716293335, -0.35644927620887756, -0.4412510395050049, -0.5034645199775696, 0.24668945372104645, 0.36893656849861145, -0.2778168320655823, 0.001994537189602852, -0.1217503771185875, 0.1635044366121292, -0.16656729578971863, -0.38537007570266724, 0.3161431849002838, -0.050199247896671295, -0.518918514251709, 0.5113151669502258, -0.14363639056682587, 0.9935188293457031, -0.3150486350059509, 0.46618136763572693, -0.47184640169143677, 0.127129927277565, -0.35950782895088196, -0.6100044250488281, 0.1029752716422081, 0.07959641516208649, 0.06732551008462906, 0.3317710757255554, 1.150928258895874, -0.11215431988239288, -0.2946350574493408, 0.44163405895233154, 0.3380061089992523, 0.13994446396827698, -0.40583959221839905, -0.6964033246040344, 0.06370938569307327, -0.10007010400295258, -0.33080053329467773, 0.13521407544612885, 0.8531445264816284, -0.2538238763809204, 0.8399500846862793, 0.37318548560142517, -0.3078971803188324, 0.20968937873840332, 0.492703378200531, 1.1191965341567993, -0.4862656593322754, -0.688938319683075, -0.5580821633338928, 0.6857705116271973, -0.25467029213905334, -0.5630520582199097, 0.5276404023170471, 0.12944857776165009, 0.75587397813797, -0.24782367050647736, 1.0032234191894531, 0.15384559333324432, 0.36114707589149475, -0.19715538620948792, 0.15222488343715668, -0.6657827496528625, -0.00625178636983037, -0.3648214340209961, -0.7967818975448608, -0.6409938931465149, 0.3573719263076782, -0.3835470378398895, 0.8980711698532104, 0.771786093711853, 0.6331217885017395, -0.38193872570991516, 0.3807697892189026, 0.17720533907413483, -0.09377723932266235, 0.2274460345506668, 0.43480753898620605, 0.8986002206802368, -0.2551867663860321, 0.5073740482330322, -0.23757010698318481, -0.4845671057701111, -0.6594556570053101, -0.6947216391563416, -1.2661631107330322, -0.05456756055355072, -0.4388400614261627, -0.38032448291778564, 0.1857231706380844, 0.26160088181495667, 0.5284537076950073, -0.7584066390991211, 0.19423100352287292, -0.12368699908256531, 0.040915947407484055, -0.051221705973148346, -0.3513099253177643, -0.22349913418293, -0.22497719526290894, -0.4276682734489441, 0.02185678854584694, 0.15437209606170654, -0.1317470371723175, 0.034974802285432816, 0.14659196138381958, 0.0009993506828323007, 0.47077515721321106, 0.3191281259059906, 0.40917056798934937, -0.6984169483184814, -0.3394307792186737, 0.2527483105659485, -0.2918768525123596, -0.1943701207637787, 1.0217348337173462, -0.4007265865802765, 0.3904290199279785, 0.6621319055557251, 0.4891221523284912, -0.2563988268375397, 0.3166229724884033, 0.17450594902038574, -1.024017095565796, 0.02003645896911621, 0.4844403862953186, 0.11031261831521988, 0.682829737663269, -0.6598871350288391, 0.6198877096176147, 0.5300583243370056, -0.7143534421920776, -1.0512868165969849, 0.4810035824775696, -0.8957382440567017, -0.12211597710847855, 1.0713220834732056, -0.2683630585670471, -0.07280158996582031, -0.32532256841659546, 0.14495716989040375, 0.2070186585187912, -0.570719301700592, 0.792748749256134, 0.7830548286437988, -0.22910034656524658, 0.3743242919445038, -0.44404661655426025, 0.6516032814979553, 0.46835678815841675, -0.8397008180618286, 0.23739364743232727, 0.5412608981132507, 0.3805885314941406, 0.06306581199169159, 0.8778935670852661, 0.04416121914982796, 0.7155460119247437, -0.2011198103427887, -0.1997307389974594, 0.36982667446136475, -0.7325963377952576, -0.4317340850830078, -0.10693612694740295, -0.1613011211156845, 0.09311557561159134 ]
http://arxiv.org/abs/2404.06347v2
http://arxiv.org/pdf/2404.06347v2
RAR-b: Reasoning as Retrieval Benchmark
2024-04-09T14:34:48
2024-05-12T18:23:41
Chenghao Xiao, G Thomas Hudson, Noura Al Moubayed
cs.CL
cs.CL, cs.IR
Semantic textual similartiy (STS) and information retrieval tasks (IR) tasks have been the two major avenues to record the progress of embedding models in the past few years. Under the emerging Retrieval-augmented Generation (RAG) paradigm, we envision the need to evaluate next-level language understanding abilities of embedding models, and take a conscious look at the reasoning abilities stored in them. Addressing this, we pose the question: Can retrievers solve reasoning problems? By transforming reasoning tasks into retrieval tasks, we find that without specifically trained for reasoning-level language understanding, current state-of-the-art retriever models may still be far from being competent for playing the role of assisting LLMs, especially in reasoning-intensive tasks. Moreover, albeit trained to be aware of instructions, instruction-aware IR models are often better off without instructions in inference time for reasoning tasks, posing an overlooked retriever-LLM behavioral gap for the research community to align. However, recent decoder-based embedding models show great promise in narrowing the gap, highlighting the pathway for embedding models to achieve reasoning-level language understanding. We also show that, although current off-the-shelf re-ranker models fail on these tasks, injecting reasoning abilities into them through fine-tuning still appears easier than doing so to bi-encoders, and we are able to achieve state-of-the-art performance across all tasks by fine-tuning a reranking model. We release Reasoning as Retrieval Benchmark (RAR-b), a holistic suite of tasks and settings to evaluate the reasoning abilities stored in retriever models. RAR-b is available at https://github.com/gowitheflow-1998/RAR-b.
[ -0.2809329330921173, -0.7176772952079773, 0.6038445830345154, -0.03957229480147362, -0.012294202111661434, 0.07340889424085617, -0.08605167269706726, -0.5013681650161743, -0.11499844491481781, 0.4698987305164337, -0.40772390365600586, -0.05277536064386368, -0.837756872177124, 0.2447623759508133, -0.16921985149383545, 0.5819912552833557, 0.03657921031117439, 0.1448638141155243, -0.5298383235931396, -0.06242730841040611, -0.7333794236183167, -0.3450075685977936, -0.25492146611213684, -0.6883531808853149, 0.5143637657165527, 0.3331836760044098, 0.6218610405921936, 0.6721460223197937, 0.6747103929519653, 0.17208780348300934, -0.30532434582710266, 0.19033843278884888, -0.4522306025028229, 0.4854836165904999, -0.6476974487304688, -0.5722014307975769, -0.16343335807323456, -0.06418424099683762, 0.5095455050468445, 0.6795849204063416, -0.1727515310049057, 0.18834950029850006, -0.2006528079509735, 0.7942087054252625, -0.9684627652168274, 0.10282132029533386, -0.794884443283081, -0.1111389622092247, -0.036026567220687866, -0.27898794412612915, -0.8902639150619507, -0.3405473530292511, 0.000817092543002218, -0.41194936633110046, 0.21242819726467133, 0.44530194997787476, 1.0314689874649048, 0.6006249189376831, -0.36023685336112976, -0.3431899845600128, -0.6268925070762634, 0.8203279376029968, -0.34345030784606934, 0.7103455662727356, 0.5505852103233337, 0.4431186020374298, -0.14544008672237396, -0.5423480868339539, -0.3078339099884033, -0.15759360790252686, -0.05999261140823364, 0.14708422124385834, -0.5376441478729248, -0.23623955249786377, 0.4680546522140503, 0.4136965274810791, -0.5281882882118225, -0.24873074889183044, -0.2143814116716385, 0.13459137082099915, 0.2903004288673401, 0.12919463217258453, 0.1711430549621582, -0.24267280101776123, -0.2766542136669159, -0.14593158662319183, -0.6297265291213989, -0.17697499692440033, -0.008166215382516384, 0.05434347689151764, 0.3399926424026489, 0.9252436757087708, -0.1844603270292282, 0.6986428499221802, 0.13967010378837585, 0.2286546379327774, 0.09961152076721191, -0.20895929634571075, -0.09948444366455078, -0.15185675024986267, 0.16191533207893372, -0.009581875056028366, 0.18437126278877258, -0.34988734126091003, -0.3951376974582672, 0.15087668597698212, 0.4864133298397064, -0.6353832483291626, -0.21158525347709656, -0.045912206172943115, -0.6430526971817017, 0.2746753394603729, -0.05565224587917328, -0.42704901099205017, -0.24672797322273254, -0.2738758623600006, 0.6480331420898438, -0.592762291431427, -0.273274689912796, 0.4139330983161926, -0.38116157054901123, 0.7473341822624207, 0.2334972321987152, -0.4942092001438141, 0.34818756580352783, 0.8490057587623596, 0.4626753032207489, 0.13458222150802612, 0.029099781066179276, -0.6698113083839417, 0.21579261124134064, -0.18237650394439697, 1.1379956007003784, -1.0628249645233154, -0.4406698942184448, -0.10516921430826187, -0.11334943026304245, -0.26038435101509094, -0.7349489331245422, 0.5064074993133545, -0.8118607997894287, -0.17613965272903442, -0.5541723370552063, -0.7263473272323608, -0.14615415036678314, 0.5397253632545471, -0.4824976325035095, 1.1008574962615967, -0.09503733366727829, -0.8177893757820129, 0.04328516870737076, -0.2645725905895233, -0.2595057785511017, 0.11984103173017502, -0.05993667617440224, -0.16954918205738068, 0.3241891860961914, 0.19719207286834717, 0.28952327370643616, -0.6171748638153076, 0.11705713719129562, -0.21599282324314117, -0.5767483115196228, 0.33525678515434265, -0.11235293745994568, 0.5244141221046448, 0.30764445662498474, -0.11320602148771286, -0.34380629658699036, -0.3456408679485321, 0.19664259254932404, 0.18760782480239868, -0.2850228548049927, -0.47870489954948425, 0.09217892587184906, -0.28585687279701233, 0.13353583216667175, 0.4113674461841583, -0.6333239674568176, 0.010671980679035187, -0.29019927978515625, 0.09311917424201965, 0.3269629180431366, -0.08595273643732071, 0.3736402094364166, -0.5296167135238647, 0.6139583587646484, -0.11617404222488403, -0.16705189645290375, -0.25990018248558044, -0.3940899968147278, -0.6826224327087402, -0.2069048285484314, 0.28233590722084045, 0.751406729221344, -0.5948552489280701, 0.28068339824676514, -0.3880517780780792, -0.6156448125839233, -0.7777047157287598, -0.06277428567409515, 1.0027062892913818, 0.2835896611213684, 0.5886123180389404, -0.060668088495731354, -0.34506556391716003, -0.8850260972976685, -0.6876152157783508, -0.04748476669192314, 0.19643422961235046, 0.5636472105979919, 0.6258577108383179, -0.21104340255260468, 0.7778616547584534, -0.4264930486679077, -0.1316400021314621, -0.5630231499671936, 0.13323074579238892, 0.02454223297536373, 0.506625235080719, 0.08866864442825317, -0.8279451727867126, -0.21166706085205078, 0.020089708268642426, -0.8793812990188599, -0.1609102189540863, 0.38372159004211426, -0.0809447169303894, 0.1062568724155426, 0.5679872632026672, -0.5988127589225769, 0.5003532767295837, 0.16899286210536957, -0.30995580554008484, 0.41947269439697266, -0.45885899662971497, 0.1436884105205536, -0.7664341330528259, 0.1853172481060028, 0.04149480164051056, -0.0013048478867858648, -0.4064992070198059, 0.2332524061203003, 0.2521195709705353, -0.1166735291481018, -0.0814792662858963, 0.7957079410552979, -0.7465842962265015, -0.40483686327934265, -0.3249773383140564, 0.21250151097774506, 0.2499178647994995, 0.14629769325256348, 0.04830331355333328, 0.6885665059089661, 0.3108895719051361, -0.4181665778160095, -0.06666505336761475, 0.5123438239097595, -0.3591015636920929, 0.6373708248138428, -0.7153561115264893, 0.41906991600990295, -0.3336084485054016, 0.248130664229393, -0.6913968324661255, 0.022014375776052475, 0.12395668774843216, -0.6477615237236023, 0.45422637462615967, -0.4739759564399719, -0.5735655426979065, -0.1855783611536026, 0.09808507561683655, 0.5037389397621155, 0.5894882678985596, -0.49815887212753296, 0.909625768661499, 0.2719414532184601, -0.05873849615454674, -0.9485372304916382, -0.7288720011711121, -0.11545751243829727, 0.14468444883823395, -0.5717583298683167, 0.5230820178985596, 0.07782622426748276, -0.3963974118232727, 0.3679618835449219, -0.42562615871429443, -0.09043549746274948, -0.08902766555547714, 0.09568850696086884, 0.021633358672261238, -0.16237106919288635, 0.09409688413143158, 0.20927898585796356, -0.43285199999809265, 0.1788841336965561, -0.007121571805328131, 0.22462037205696106, -0.1894366443157196, -0.5120198726654053, -0.2039559930562973, 0.35225874185562134, 0.18289914727210999, -0.7639298439025879, 0.7738161683082581, 0.28720274567604065, -0.3755415976047516, -0.10273312777280807, -0.9986357092857361, -0.1776604950428009, -0.36691975593566895, 0.18142928183078766, -0.686631977558136, -0.9017158150672913, 0.39260122179985046, -0.30954843759536743, -0.14351560175418854, 0.146474227309227, 0.26906007528305054, -0.16530294716358185, 1.0029268264770508, 0.4570062756538391, 0.26313701272010803, 0.2710803151130676, -0.2913109064102173, 0.3075965344905853, -1.01198410987854, -0.6350492835044861, -0.8894246816635132, -0.15409110486507416, -0.39284488558769226, -0.6543938517570496, 0.13191573321819305, 0.2479649782180786, -0.3262655735015869, 0.11002208292484283, -0.44625943899154663, 0.6590646505355835, 0.4736027419567108, 0.2719481289386749, 0.22648444771766663, -0.23385535180568695, -0.0672626942396164, -0.038883183151483536, -0.5218108296394348, -0.524170458316803, 0.7506906986236572, 0.11949563026428223, 0.878616452217102, 0.07856638729572296, 0.7547378540039062, 0.2302052080631256, 0.051283955574035645, -0.6865350604057312, 0.6629149913787842, -0.2877073884010315, -0.6801436543464661, 0.13928760588169098, -0.32144895195961, -0.8938697576522827, 0.4354793131351471, -0.09582772850990295, -0.5886168479919434, 0.27336716651916504, 0.15237024426460266, 0.21939437091350555, 0.1944686323404312, -0.6357172131538391, 0.9511746764183044, 0.04323730990290642, -0.335366815328598, -0.5547415018081665, -0.6236445307731628, 0.14155815541744232, 0.36121928691864014, 0.14560136198997498, -0.16274093091487885, -0.021510781720280647, 0.4879699647426605, -0.023166006430983543, 0.2612594664096832, -0.4929233491420746, 0.33977723121643066, 0.1103392243385315, 0.38349398970603943, 0.5571174025535583, -0.2392573356628418, -0.31118547916412354, -0.24039608240127563, 0.08545811474323273, -0.5841104984283447, -0.8036713004112244, 0.4509837031364441, -0.4342859089374542, -0.9354002475738525, -0.5274518728256226, -0.56731116771698, -0.15591438114643097, 0.05137652903795242, -0.08194680511951447, 0.6408531069755554, -0.005935136694461107, 0.5102482438087463, 1.1100188493728638, -0.2308727204799652, -0.06755878776311874, 0.6575073599815369, -0.019202599301934242, -0.05814094468951225, 0.955685555934906, -0.20039626955986023, 0.06899207830429077, 0.8864305019378662, 0.10314987599849701, -0.36700335144996643, -0.660052478313446, -0.007375324610620737, 0.412990927696228, -0.8991594314575195, -0.4203636050224304, -0.8459922075271606, -0.13982869684696198, -0.03216330707073212, -0.25690987706184387, -0.32655030488967896, -0.21012075245380402, -0.08916527032852173, 0.00339508056640625, 0.2784220576286316, 0.78736412525177, -0.09671686589717865, -0.12242338061332703, -0.6927298307418823, 0.32838910818099976, -0.027168678119778633, 0.20281758904457092, 0.04812590777873993, -0.7775158286094666, -0.26535123586654663, -0.06907302886247635, -0.15260469913482666, -0.6579518914222717, 0.37865960597991943, -0.1471177339553833, 0.7624353766441345, -0.11824040859937668, 0.020364461466670036, 0.6262415647506714, -0.4867771565914154, 0.381256103515625, -0.2651924788951874, -0.8180346488952637, 0.8442257046699524, -0.1412397027015686, 0.28167974948883057, 0.4976988732814789, 0.38716140389442444, -0.1292847841978073, -0.38264328241348267, -0.4657544493675232, -0.5381883978843689, 0.717088520526886, -0.0331631563603878, -0.07995498180389404, -0.4226437509059906, 0.47052285075187683, 0.12074828147888184, -0.20808357000350952, -0.4340776801109314, -0.2036028802394867, -0.24892708659172058, -0.13640852272510529, 0.2208363115787506, -0.4446605443954468, 0.3139420449733734, -0.22254210710525513, 0.6209271550178528, 0.04082365706562996, 0.4878919720649719, 0.16819874942302704, -0.5598183870315552, 0.07672563195228577, 0.629625141620636, 0.0665234625339508, 0.6516628861427307, -0.46968135237693787, 0.18258997797966003, 0.030355848371982574, -0.21388791501522064, 0.12313469499349594, 0.3818452060222626, 0.028591839596629143, -0.2314823865890503, 0.10303179919719696, 0.4197961091995239, 0.500044584274292, -0.8113082051277161, 0.4582155644893646, -0.06311523169279099, -0.10737718641757965, -0.22119180858135223, 0.1627347767353058, 0.14576593041419983, 0.5425003170967102, 0.5619906783103943, 0.07098279893398285, 0.13101033866405487, -0.31656649708747864, 0.09444435685873032, 0.5869646072387695, -0.3163592517375946, -0.11439711600542068, 0.6251150369644165, -0.10133645683526993, -0.4286384582519531, 0.7162001132965088, -0.3253987431526184, -0.30048391222953796, 0.4901421070098877, 0.7526813745498657, 0.6490134000778198, -0.09759368747472763, -0.03377247974276543, 0.3766670227050781, 0.28873732686042786, -0.38096868991851807, 0.48471692204475403, -0.000009828004294831771, -0.9014438390731812, -0.45853373408317566, -0.4384748637676239, -0.5583581328392029, -0.24287326633930206, -1.154752254486084, -0.10597237199544907, -0.2243894785642624, -0.012962592765688896, -0.020035214722156525, 0.14062757790088654, -0.699221670627594, 0.16540728509426117, -0.23073290288448334, 1.1530239582061768, -0.4562767744064331, 0.7872311472892761, 0.9172013998031616, -0.5901510715484619, -0.4758925139904022, -0.07980138063430786, -0.18726445734500885, -0.6276887059211731, 0.9164550304412842, 0.2962441146373749, -0.39726564288139343, 0.19368478655815125, -0.4271920919418335, -0.7517386078834534, 1.18393075466156, 0.4776572585105896, -0.3677383363246918, -0.1559620052576065, -0.36364617943763733, 0.40061843395233154, -0.24757809937000275, 0.3809586465358734, 0.5051600337028503, 0.4744653105735779, 0.1330672949552536, -0.6718254089355469, 0.15923407673835754, -0.3901293873786926, 0.15035687386989594, 0.2473062425851822, -0.32893091440200806, 0.600654661655426, -0.32436904311180115, -0.2564416527748108, 0.17579513788223267, 0.6287538409233093, 0.575800359249115, 0.35133418440818787, 0.29145553708076477, 0.8597429990768433, 0.5858518481254578, -0.20115938782691956, 1.3144527673721313, -0.03386390209197998, -0.03734598681330681, 0.966025173664093, -0.4220542311668396, 1.127244234085083, 0.3361479341983795, 0.06235655024647713, 0.7125163078308105, 0.164417564868927, 0.012261536903679371, 0.5801243185997009, 0.10618266463279724, -0.10595022886991501, -0.6844590306282043, -0.2811339199542999, -0.36511853337287903, 0.4110187590122223, 0.6334515810012817, -0.16959908604621887, -0.14393259584903717, 0.005339479073882103, -0.26175132393836975, 0.5135388374328613, -0.2505554258823395, 0.7624592185020447, 0.1270758956670761, -0.7427458167076111, 0.3780525326728821, -0.07173703610897064, 0.552316427230835, -0.3663884997367859, -0.2535557746887207, -0.23141467571258545, 0.29283449053764343, 0.021584659814834595, -0.9058319330215454, 0.4462486803531647, 0.07768619060516357, -0.46007221937179565, -0.36659950017929077, 1.0105793476104736, -0.12459016591310501, -0.23822474479675293, 0.5745466947555542, 0.9123192429542542, 0.25935956835746765, 0.046154335141181946, -0.7403474450111389, 0.2558515965938568, -0.20081214606761932, -0.19035083055496216, 0.4675234854221344, 0.5598341226577759, 0.1197238638997078, 1.0781952142715454, 0.3615097105503082, -0.1565171629190445, 0.08793427050113678, 0.18438903987407684, 0.8152430653572083, -0.9622491002082825, -0.08411898463964462, -0.43259909749031067, 0.21819517016410828, 0.22225332260131836, 0.184455007314682, 0.5130789279937744, 0.6360206604003906, 0.8845387101173401, -0.03635945916175842, 0.541836678981781, -0.2604023218154907, 0.7993236780166626, -0.46948933601379395, 0.37819918990135193, -0.6469343900680542, 0.21782523393630981, -0.06367991119623184, -0.8191955089569092, -0.10424508899450302, 0.7429007291793823, -0.5534307360649109, 0.22087624669075012, 0.7143891453742981, 0.9940198659896851, -0.05707472190260887, 0.1382247507572174, 0.23261019587516785, 0.03904920071363449, 0.06607197225093842, 0.548179030418396, 1.15260910987854, -0.40989595651626587, 0.7423660755157471, 0.006974517367780209, 0.03949698805809021, -0.15007008612155914, -0.7223756909370422, -0.8747439384460449, -0.49542951583862305, -0.2264125496149063, -0.2649243474006653, 0.5921704173088074, 0.7695282697677612, 0.26550963521003723, -0.5529007911682129, -0.0447542704641819, -0.013461590744554996, 0.2243509143590927, -0.4002726674079895, -0.1889290064573288, 0.15654337406158447, -0.5025741457939148, -0.5683463215827942, 0.5717855095863342, 0.2453985959291458, -0.342553973197937, 0.12855073809623718, -0.08633872121572495, -0.4649089574813843, -0.028601402416825294, 0.3921222984790802, 0.41594991087913513, -1.08974289894104, -0.27587175369262695, 0.2622717022895813, -0.07494182139635086, -0.02598370797932148, 0.7902028560638428, -1.0472943782806396, 0.43196040391921997, 0.48223230242729187, 1.049588680267334, 0.7120872735977173, 0.11851239949464798, 0.4978090226650238, -0.4604404866695404, -0.19160741567611694, 0.3070707321166992, 0.4386540353298187, 0.35935503244400024, -0.036291204392910004, 0.5498237013816833, -0.09256397932767868, -0.7078283429145813, -0.9738972187042236, 0.10419636219739914, -0.9291034936904907, -0.2914382815361023, 1.0060583353042603, -0.3316437304019928, -0.08831281960010529, -0.37482950091362, -0.016184508800506592, 0.2687883675098419, -0.29627612233161926, 0.49030375480651855, 0.4078189432621002, -0.14225469529628754, -0.5201488733291626, -0.4618615210056305, 0.1508062183856964, 0.6510056853294373, -0.7290420532226562, 0.26924556493759155, 0.4751499891281128, 0.2098708152770996, 0.015603002160787582, 0.5732322931289673, -0.24568600952625275, 0.45148345828056335, 0.0673971027135849, -0.1004692018032074, -0.2652265727519989, -0.33074960112571716, -0.10916571319103241, -0.040859948843717575, 0.2350969761610031, -0.002041205298155546 ]
http://arxiv.org/abs/2404.06339v1
http://arxiv.org/pdf/2404.06339v1
Finding fake reviews in e-commerce platforms by using hybrid algorithms
2024-04-09T14:25:27
2024-04-09T14:25:27
Mathivanan Periasamy, Rohith Mahadevan, Bagiya Lakshmi S, Raja CSP Raman, Hasan Kumar S, Jasper Jessiman
cs.CL
cs.CL, cs.LG
Sentiment analysis, a vital component in natural language processing, plays a crucial role in understanding the underlying emotions and opinions expressed in textual data. In this paper, we propose an innovative ensemble approach for sentiment analysis for finding fake reviews that amalgamate the predictive capabilities of Support Vector Machine (SVM), K-Nearest Neighbors (KNN), and Decision Tree classifiers. Our ensemble architecture strategically combines these diverse models to capitalize on their strengths while mitigating inherent weaknesses, thereby achieving superior accuracy and robustness in fake review prediction. By combining all the models of our classifiers, the predictive performance is boosted and it also fosters adaptability to varied linguistic patterns and nuances present in real-world datasets. The metrics accounted for on fake reviews demonstrate the efficacy and competitiveness of the proposed ensemble method against traditional single-model approaches. Our findings underscore the potential of ensemble techniques in advancing the state-of-the-art in finding fake reviews using hybrid algorithms, with implications for various applications in different social media and e-platforms to find the best reviews and neglect the fake ones, eliminating puffery and bluffs.
[ -0.47207534313201904, -0.6611561179161072, 0.23249226808547974, 0.3118874132633209, -0.519092857837677, 0.8823238015174866, 0.2860540449619293, -0.8010224103927612, 0.9763600826263428, 0.2889496982097626, -0.5524970293045044, -0.6154040694236755, -0.21206726133823395, 0.010736735537648201, -0.42095205187797546, 1.1760740280151367, 0.049400243908166885, 0.5137351155281067, -0.19508805871009827, -0.2548231780529022, -0.021811172366142273, -0.5543930530548096, -0.29764071106910706, 0.12993255257606506, 0.24073997139930725, -0.06990047544240952, 0.4133651852607727, -0.21992695331573486, 0.057012125849723816, 0.36175355315208435, 0.21570169925689697, 0.5512532591819763, -0.17707444727420807, -0.1673346608877182, 0.01489352248609066, -0.5035309195518494, -0.44221755862236023, 0.08652021735906601, 0.3257116675376892, 0.08642145246267319, -0.08702248334884644, 0.22260485589504242, -0.022718366235494614, 0.5073292851448059, -0.5472182035446167, -0.03941783681511879, -0.7782294750213623, 0.2550559639930725, 0.05308925360441208, -0.1510208249092102, -0.41727378964424133, -0.41389569640159607, 0.0839952901005745, -0.7230304479598999, 0.334211140871048, 0.37407436966896057, 0.6037319898605347, -0.18638204038143158, -0.029971353709697723, -0.19723524153232574, -0.9898138642311096, 1.0213505029678345, -0.4842127561569214, 0.16412726044654846, -0.08068767189979553, 0.4579712450504303, 0.04004048928618431, -0.22523246705532074, -0.8853215575218201, 0.050117239356040955, -0.1463654786348343, 0.6887413263320923, -0.423732191324234, -0.11755892634391785, -0.5282473564147949, 0.6595369577407837, -0.555580735206604, 0.09865859150886536, -0.4062778353691101, -0.5435774326324463, 0.9288407564163208, -0.10125356912612915, 0.47418615221977234, -0.2675476670265198, -0.7216742038726807, -0.24683715403079987, -0.039234597235918045, 0.013667934574186802, 0.9766587018966675, 0.07963034510612488, 0.0028797066770493984, 0.25390174984931946, -0.18219944834709167, 0.33381372690200806, 0.28921210765838623, -0.009678239934146404, 0.3793262839317322, -0.3024725317955017, -0.39376139640808105, 0.2619202733039856, 0.9880863428115845, 0.3589437007904053, 0.015140035189688206, -0.054580897092819214, -0.661176323890686, 0.7828218936920166, 0.537959635257721, 0.02596336230635643, -0.3016725480556488, 0.493580162525177, -0.8911527395248413, -1.0665431022644043, 0.35604768991470337, -1.350771427154541, -0.29593005776405334, -0.25858157873153687, 0.6393773555755615, -0.21715335547924042, -0.5398867130279541, -0.11059536784887314, -0.5038077235221863, -0.19768793880939484, 0.1820702701807022, -0.016482038423419, 0.6239749789237976, 0.6898201107978821, 0.6604335904121399, -0.07619138062000275, -0.10489556938409805, -0.23670808970928192, -0.3479587137699127, -0.4812770485877991, 1.1357591152191162, -0.4444638192653656, -0.3292286694049835, 0.005754448007792234, -0.20299440622329712, -0.22020813822746277, -0.43416085839271545, 0.8324303030967712, -0.7336320281028748, 0.3139997124671936, 0.14724797010421753, -0.5889201164245605, -0.385149210691452, 0.6344558596611023, -0.8907778263092041, 1.023864507675171, -0.21981962025165558, -0.7389758825302124, 0.3469563126564026, -0.44917505979537964, -0.43717703223228455, 0.2569431960582733, 0.2507695257663727, -0.5804755091667175, 0.4152049720287323, 0.39323750138282776, 0.40990501642227173, 0.3944984972476959, -0.3714625835418701, -0.6895674467086792, -0.23531772196292877, 0.19867251813411713, -0.2039526104927063, 0.6236025094985962, 0.2711959183216095, -0.3431808650493622, 0.2454802691936493, -0.4691348671913147, 0.14913704991340637, 0.08325512707233429, 0.2240467071533203, -0.6917749643325806, 0.09262537956237793, 0.47454434633255005, 0.12598855793476105, -0.020339742302894592, -0.6306664347648621, 0.11297102272510529, -0.547039270401001, 0.10391313582658768, 0.836859405040741, 0.3865181803703308, 0.5096853375434875, -0.4820568561553955, 0.8292386531829834, 0.09268243610858917, 0.197684183716774, 0.010345032438635826, -0.5152763724327087, -0.46628090739250183, -0.13023817539215088, 0.4647980332374573, 0.6796607971191406, -0.9136815667152405, 0.686995804309845, -0.3049233853816986, -0.8053498864173889, -0.844307541847229, 0.012706693261861801, 0.3049498498439789, 0.0555356927216053, 0.23886319994926453, -0.27183517813682556, -0.6384928822517395, -0.8762427568435669, -0.6497810482978821, -0.34168118238449097, 0.2663760781288147, -0.0023737577721476555, 0.37418147921562195, -0.3633744418621063, 0.76072096824646, 0.2161785066127777, -0.4026690721511841, -0.3174763023853302, 0.2151453047990799, -0.14440183341503143, 0.18366530537605286, 0.4533613324165344, -0.988206684589386, -0.4172695577144623, 0.2716711759567261, -0.22821316123008728, 0.29866430163383484, -0.16053204238414764, -0.043395787477493286, 0.6094184517860413, -0.21958380937576294, -0.5559367537498474, 0.26126205921173096, 0.7103631496429443, 0.2204701006412506, 0.7256329655647278, 0.1959061324596405, 0.4205321967601776, -1.0829472541809082, -0.3471742868423462, 0.49980032444000244, -0.16942782700061798, -0.42190489172935486, 0.011428159661591053, -0.1998092085123062, 0.1311815232038498, -0.2574147582054138, 0.3826690912246704, -0.20862074196338654, -0.0273562204092741, -0.050997719168663025, -0.15572205185890198, -0.06378591060638428, 0.3130171597003937, 0.1858484447002411, 0.15454690158367157, 0.3220254182815552, -0.3509141206741333, 0.47643348574638367, -0.05445092171430588, -0.5801703929901123, 0.7561269402503967, -0.21823889017105103, 0.15782317519187927, -0.14715634286403656, 0.9151528477668762, -1.0854603052139282, -0.5076174139976501, 0.2812313735485077, -0.8606647849082947, -0.05378832295536995, -0.2640632390975952, -0.8220755457878113, -0.7188771367073059, -0.7671095728874207, 0.11234115064144135, 0.615040123462677, -0.7692868709564209, 0.9646915197372437, 0.6281424164772034, 0.28050917387008667, -0.4547174274921417, -0.45105528831481934, -0.1827305406332016, -0.15637484192848206, -0.8078063726425171, 0.5038834810256958, 0.14888028800487518, -0.5615607500076294, -0.059182390570640564, -0.2234087884426117, 0.1385301798582077, -0.2475295513868332, -0.0845397412776947, 0.4293176829814911, -0.10325084626674652, 0.02224721573293209, 0.20425188541412354, 0.0724099799990654, -0.006900934502482414, -0.5869861245155334, 0.45138493180274963, -0.3337849974632263, -0.025976229459047318, -0.5920708775520325, 0.12333778291940689, 0.9174332618713379, -0.10366147756576538, 0.25658851861953735, 0.5364238619804382, -0.4870721399784088, -1.0060584545135498, -0.7581976652145386, -0.2927536070346832, -0.43813472986221313, 0.15970472991466522, 0.1007106825709343, -0.38844579458236694, 0.4687212407588959, 0.2126135379076004, 0.05639328807592392, 0.3503029942512512, 0.41950875520706177, -0.36373797059059143, 1.3994864225387573, 0.22406961023807526, -0.4747673273086548, 0.15911133587360382, 0.020087329670786858, 0.7203894257545471, -0.16578245162963867, -0.1702260822057724, -0.1211240142583847, -0.6351988315582275, -0.8902550339698792, -0.2987825572490692, 0.4843885004520416, 0.0732947438955307, 0.5057244300842285, 0.15644755959510803, -0.7710888981819153, 0.41961219906806946, 0.7060951590538025, 0.21031048893928528, 0.1719474196434021, 0.5198666453361511, -0.2333776205778122, 0.2293214201927185, -0.6778013110160828, -0.5545061826705933, 0.871631383895874, 0.37617364525794983, 0.24280929565429688, -0.24976404011249542, 0.5918292999267578, 0.6361880898475647, 0.22784622013568878, -0.9227828979492188, 0.5675457119941711, -0.09385661780834198, -0.4099133610725403, 0.16542643308639526, -0.28580737113952637, -0.33600354194641113, 0.22620336711406708, -0.4223642647266388, -0.36265453696250916, -0.11762066185474396, 0.3470413386821747, -0.5058233141899109, 0.7266157865524292, -0.6594595313072205, 0.5326694250106812, -0.5681968927383423, -0.26403895020484924, -0.3577178716659546, -0.45643150806427, 0.7376704216003418, -0.11491522192955017, 0.6478917598724365, 0.44241759181022644, 0.19726009666919708, 0.6614912748336792, -0.5216366052627563, 0.9000244140625, -0.11111452430486679, 0.20317786931991577, 0.6065775752067566, 0.4873145818710327, 0.6282240152359009, -0.09918332099914551, 0.22177660465240479, 0.2206680029630661, 0.06714071333408356, -0.38562408089637756, -0.42630669474601746, 1.0018823146820068, -0.7076331973075867, 0.07814281433820724, -0.6734768748283386, 0.16117413341999054, -0.6137362718582153, -0.18256711959838867, 0.31368711590766907, -0.005897354334592819, -0.20828312635421753, -0.3010040521621704, 0.5008779168128967, 0.013079476542770863, 0.4695545434951782, 0.11725711822509766, -0.24617086350917816, -0.7511756420135498, 1.2681406736373901, 0.051304891705513, -0.07155565917491913, 0.29312095046043396, 0.4080752730369568, -0.5040478110313416, -0.3963293433189392, -0.7292857766151428, -0.12233790755271912, -0.2852647006511688, -0.11150722950696945, -0.8030432462692261, 0.17922531068325043, -0.5105576515197754, -0.041929345577955246, -0.30429571866989136, -0.3728641867637634, 0.1983802169561386, -0.494208961725235, 0.3532469868659973, 0.8077082633972168, 0.10136011242866516, 0.10708773881196976, -1.0154211521148682, 0.004278555512428284, 0.2524050772190094, 0.2937697768211365, 0.3236987888813019, 0.18976083397865295, 0.15391382575035095, 0.0973847433924675, -0.3532780408859253, -0.8974869251251221, 0.7860817313194275, -0.3201940059661865, 0.5248337388038635, 0.5634624361991882, 0.09213998168706894, 0.5670163035392761, 0.12363248318433762, 0.9194337725639343, 0.2563628554344177, -0.7730805277824402, 0.35825276374816895, -0.5899712443351746, -0.37309950590133667, 0.30739685893058777, 0.5506462454795837, -0.32769954204559326, -0.24273650348186493, -0.9281455278396606, -0.6056616306304932, 0.34162482619285583, 0.1717594563961029, 0.1118326410651207, 0.1991291046142578, -0.22473572194576263, 0.28631192445755005, 0.5117627382278442, -0.9510724544525146, -0.05501632019877434, -0.16021379828453064, -0.3779612183570862, 0.1080084964632988, 0.08557413518428802, 0.01731797493994236, -0.21513283252716064, 0.9983919858932495, -0.04302109405398369, 0.20716015994548798, 0.09312392771244049, 0.10557832568883896, -0.456874281167984, 0.12775693833827972, 0.21044033765792847, 0.1521109640598297, 0.09308160841464996, -0.14573965966701508, 0.20994286239147186, -0.18877539038658142, -0.2811383903026581, -0.1664857417345047, -0.26715773344039917, 0.2929860055446625, 0.29119592905044556, 0.4789630174636841, 0.19173793494701385, -0.6967923641204834, 0.577918529510498, 0.23234492540359497, -0.2804246246814728, -0.6957001090049744, -0.3187086582183838, -0.24843308329582214, -0.20942918956279755, 0.3937201201915741, 0.9046491384506226, 0.25290006399154663, -0.7493892908096313, 0.23994487524032593, 0.520427942276001, -0.6067670583724976, -0.7481653094291687, 0.021364618092775345, 0.30153095722198486, -0.40057626366615295, 0.20519162714481354, -0.16273906826972961, -1.1368612051010132, 0.5114882588386536, 0.07983418554067612, 0.953833281993866, -0.2676199972629547, 0.698394238948822, 0.19068366289138794, 0.2927647829055786, -0.2936003804206848, -0.02949046529829502, -0.10461252927780151, -0.8537041544914246, -0.19837553799152374, -0.9144361615180969, -0.20206263661384583, 0.07156383246183395, -0.3999951183795929, 0.5433347225189209, -0.6741811037063599, 0.15027065575122833, -0.06582771241664886, -0.029491832479834557, -0.2700521945953369, 0.45051655173301697, 0.27240416407585144, 0.5239667296409607, -0.9786680340766907, 0.3222826421260834, 0.658549964427948, -0.309064120054245, -0.5969924330711365, 0.00942524615675211, 0.43824833631515503, -0.4952378571033478, 0.014783320017158985, 0.23295874893665314, -0.32086217403411865, -0.42376428842544556, -0.611477792263031, -0.10018063336610794, 0.5192549228668213, -0.5517051815986633, -0.9505000114440918, 0.18008953332901, -0.11643894761800766, 0.9544567465782166, -0.3727567791938782, 0.4283754825592041, 0.21717222034931183, 0.45185908675193787, 0.06300371140241623, -0.7566390633583069, -0.4206407368183136, -0.5546411871910095, -0.44428545236587524, 0.18014274537563324, -0.7799015045166016, 0.625078558921814, 0.24847346544265747, -0.2417701780796051, 0.03516070172190666, 0.23997466266155243, 0.5113317966461182, 0.9635561108589172, 0.8344944715499878, 0.7520668506622314, 0.7651374936103821, 0.21127015352249146, 1.288597822189331, -0.2531684339046478, 0.2914082705974579, 0.6701176762580872, -0.4156475365161896, 1.1122126579284668, 0.36714115738868713, -0.10738996416330338, 0.9105085730552673, 0.830954372882843, -0.2217537760734558, 0.3319094479084015, 0.26199331879615784, -0.4062391221523285, -0.5621467232704163, 0.29512014985084534, 0.03497375547885895, 0.24480381608009338, 0.3087000548839569, -0.44474121928215027, 0.17514143884181976, -0.047716036438941956, -0.1836840808391571, 0.2491149604320526, -0.6483298540115356, 0.8014935851097107, -0.055963072925806046, -0.6635997891426086, -0.04768221825361252, 0.07510662078857422, 1.0845810174942017, -0.2549051344394684, -0.12921461462974548, 0.19416768848896027, 0.23646803200244904, -0.4483754336833954, -0.31266701221466064, 0.1006767600774765, -0.25407132506370544, -0.21496222913265228, -0.4612492322921753, 0.8364436626434326, 0.03011125698685646, -1.214821696281433, 0.47268161177635193, 0.5461415648460388, -0.16231292486190796, -0.1767052561044693, -0.7045524716377258, -0.09424835443496704, -0.04567071422934532, 0.17727845907211304, 0.23775546252727509, 0.019898060709238052, -0.34807130694389343, 0.3245786428451538, 0.9967290163040161, 0.06953628361225128, 0.19210229814052582, -0.30134376883506775, 0.531187891960144, -0.17826664447784424, -1.0935542583465576, -0.562929093837738, 0.3812057673931122, -0.45559850335121155, -0.34939834475517273, 0.8720334768295288, 0.7155779600143433, 1.0951826572418213, -0.3382117450237274, 1.1420186758041382, 0.3118724524974823, 1.002328634262085, -0.23227563500404358, 1.009413719177246, -0.4250395596027374, 0.3996875286102295, -0.522214949131012, -1.0774316787719727, -0.19406822323799133, 0.46645504236221313, -0.40700381994247437, 0.021904457360506058, 0.40521159768104553, 0.8459904193878174, -0.29826587438583374, 0.6497292518615723, -0.04948389530181885, 0.3362261652946472, -0.11327940970659256, -0.059607360512018204, 1.115958333015442, -0.5508116483688354, 0.4884244203567505, -0.5627505779266357, -0.16723018884658813, -0.2932821810245514, -0.37148940563201904, -0.7756155729293823, -0.31069719791412354, -0.4340764284133911, -0.6961191892623901, -0.10004390776157379, 1.0819822549819946, 0.897918164730072, -1.0974664688110352, -0.03556733578443527, -0.37361031770706177, 0.1260932981967926, -0.5199652910232544, -0.35174086689949036, 0.03679056465625763, -0.029041891917586327, -0.8458596467971802, 0.5097712278366089, 0.08702223002910614, -0.043458327651023865, -0.5067870020866394, -0.0011376704787835479, 0.1373300403356552, 0.3871985077857971, 0.5341245532035828, 0.04763766750693321, -0.9260420799255371, -0.060853179544210434, 0.06389973312616348, 0.422526478767395, -0.295982301235199, 0.885206401348114, -1.0054031610488892, 0.5441548228263855, 0.640270471572876, 0.40194928646087646, 0.250475138425827, 0.18375453352928162, 0.4614979028701782, -0.5873340964317322, -0.26990628242492676, 0.7096952795982361, 0.32121390104293823, 0.06338844448328018, -0.36963212490081787, -0.02068968489766121, 0.6828754544258118, -0.04802903160452843, -0.9483777284622192, -0.135618194937706, -1.1858038902282715, -0.3439027667045593, 0.8767446279525757, 0.34800824522972107, -0.4912993907928467, -0.10845260322093964, -0.26770761609077454, -0.42454198002815247, -0.5104983448982239, 1.024558424949646, 0.6791678667068481, 0.012772789224982262, 0.06366761773824692, -0.005211716517806053, 0.3935142457485199, 0.30502989888191223, -0.7062772512435913, -0.5718420147895813, 0.5163716673851013, 0.31161120533943176, 0.584468424320221, 0.15879680216312408, -0.21283042430877686, 0.3614821135997772, -0.038287464529275894, -0.12601733207702637, 0.3318322002887726, -0.15581004321575165, -0.19405290484428406, 0.5783599019050598, -0.7348211407661438, -0.2163340300321579 ]
http://arxiv.org/abs/2404.06292v1
http://arxiv.org/pdf/2404.06292v1
nEMO: Dataset of Emotional Speech in Polish
2024-04-09T13:18:52
2024-04-09T13:18:52
Iwona Christop
cs.CL
cs.CL, cs.SD, eess.AS
Speech emotion recognition has become increasingly important in recent years due to its potential applications in healthcare, customer service, and personalization of dialogue systems. However, a major issue in this field is the lack of datasets that adequately represent basic emotional states across various language families. As datasets covering Slavic languages are rare, there is a need to address this research gap. This paper presents the development of nEMO, a novel corpus of emotional speech in Polish. The dataset comprises over 3 hours of samples recorded with the participation of nine actors portraying six emotional states: anger, fear, happiness, sadness, surprise, and a neutral state. The text material used was carefully selected to represent the phonetics of the Polish language adequately. The corpus is freely available under the terms of a Creative Commons license (CC BY-NC-SA 4.0).
[ -0.47762423753738403, -0.40102818608283997, 0.32982125878334045, 0.2086741179227829, -0.17109990119934082, -0.038132134824991226, -0.4707903265953064, -0.5600903630256653, 0.7107503414154053, 0.311488538980484, -0.9355129599571228, -0.5344591736793518, -0.5301225781440735, 0.4858219623565674, -0.28794947266578674, 0.8106304407119751, 0.13079111278057098, 0.30025264620780945, 0.07157306373119354, -0.17507551610469818, -0.12600640952587128, -0.4529823660850525, -0.32918816804885864, -0.18628598749637604, 0.5906875133514404, 0.8439511060714722, 0.41810938715934753, -0.10562033206224442, 0.257075697183609, 0.30967170000076294, 0.10547900944948196, 0.16429224610328674, -0.47584107518196106, 0.7191426753997803, -0.11256225407123566, -0.3276013433933258, -0.3996627926826477, -0.12945660948753357, 0.5841130614280701, 0.24710862338542938, 0.03853414207696915, -0.042937032878398895, -0.2974378168582916, 0.7128034830093384, -0.6389479637145996, 0.1502203792333603, -0.43889370560646057, 0.4650299549102783, -0.4556933641433716, 0.023019367828965187, -0.3431088328361511, -0.3188113570213318, 0.05702893063426018, -0.706127405166626, -0.09531797468662262, -0.05117247998714447, 0.6012254953384399, 0.007945006713271141, -0.39134588837623596, -0.8536117672920227, -0.6280808448791504, 0.8180285692214966, -0.8641662001609802, 0.1598890721797943, 0.2910456657409668, 0.20916786789894104, -0.1275627762079239, -0.4005835950374603, -0.6729017496109009, 0.06390561908483505, 0.3285180926322937, 0.31954655051231384, -0.6230574250221252, -0.09215458482503891, 0.03148460015654564, 0.2418815791606903, -0.47173872590065, -0.13080640137195587, -0.1239057406783104, -0.2733728289604187, 0.7522082924842834, 0.5738523602485657, 0.6287288665771484, -0.231841042637825, -0.02641092613339424, -0.2120654284954071, -0.2343394011259079, -0.2638443112373352, 0.8744111061096191, 0.6299151182174683, -0.3521984815597534, 0.6044578552246094, -0.5524116158485413, 0.5964341163635254, -0.05901000276207924, -0.013617121614515781, 0.9168126583099365, 0.1821054220199585, -0.0008448312291875482, 0.45239266753196716, 0.9044153690338135, 0.43315646052360535, 0.2052481323480606, 0.23293256759643555, -0.18950948119163513, 0.33903971314430237, 0.2029162347316742, -0.5500835180282593, -0.05548882111907005, 0.2100057154893875, -0.33207276463508606, -0.24313536286354065, -0.2105943262577057, -1.2304893732070923, -0.4564148783683777, -0.14890025556087494, 0.0998283177614212, -0.4877772927284241, -0.4246346056461334, 0.19984982907772064, 0.19089554250240326, -0.03425087407231331, 0.16466163098812103, -1.0130056142807007, 0.3910102844238281, 0.47482138872146606, 0.5957597494125366, 0.3125738203525543, -0.00988229550421238, -0.5555108189582825, -0.4067830741405487, -0.5774795413017273, 0.7172836065292358, -0.9591689705848694, -0.26363828778266907, 0.23734711110591888, 0.2822081446647644, -0.042873550206422806, -0.3687921464443207, 0.7114771008491516, -0.21942995488643646, 0.3307732343673706, -0.06234065443277359, -0.5871590971946716, -0.27702757716178894, 0.20027771592140198, -0.4778890609741211, 0.6408147811889648, 0.10604562610387802, -0.5982785820960999, 0.1695200800895691, -0.7780168056488037, -0.4004799723625183, 0.24735428392887115, -0.026378540322184563, -0.15367096662521362, 0.5202702283859253, -0.12165635824203491, 0.3621329069137573, -0.0326027050614357, -0.04358881339430809, -0.6091187596321106, -0.08904989063739777, 0.3414876461029053, -0.05398273840546608, 0.42721104621887207, 0.7667582035064697, -0.2382582724094391, -0.07810094952583313, -0.8737879395484924, 0.22072671353816986, 0.013045793399214745, 0.05438404530286789, -0.40683141350746155, -0.0388171561062336, 0.47561201453208923, 0.6286332607269287, 0.33100444078445435, -1.1556628942489624, -0.17914915084838867, -0.5758404731750488, 0.5230367183685303, 0.2157200276851654, -0.11728239804506302, 0.40216368436813354, 0.19114172458648682, 0.914472758769989, -0.12114570289850235, 0.3147876262664795, 0.09855977445840836, -0.489044725894928, -0.4466797709465027, -0.13897386193275452, 0.20250722765922546, 0.4319250285625458, -0.5741632580757141, -0.043710626661777496, 0.17843057215213776, -0.5360023379325867, -0.569033145904541, 0.012303974479436874, 0.3408384621143341, 0.6196430921554565, 0.04088764265179634, 0.1491180956363678, -0.9336318969726562, -0.9942916631698608, 0.03891851007938385, -0.11632174253463745, 0.14591245353221893, 0.6084245443344116, 0.4666876196861267, -0.08696667850017548, 0.7141437530517578, -0.21402029693126678, -0.3328388035297394, -0.42498695850372314, 0.10291282087564468, 0.5929926633834839, 0.38862597942352295, 0.39607980847358704, -0.8760471940040588, -0.5361037850379944, 0.0642482116818428, -0.8348646759986877, -0.2508454918861389, 0.2371235489845276, -0.20204608142375946, 0.26055359840393066, 0.20053984224796295, -0.2601870596408844, 0.06922194361686707, 0.9648184776306152, -0.5712032914161682, 0.16604365408420563, -0.25678378343582153, 0.06464197486639023, -1.0926417112350464, 0.07367601990699768, -0.44082218408584595, -0.07385901361703873, -0.8425169587135315, -0.4024960398674011, 0.06051749363541603, -0.4302327036857605, -0.9266031384468079, 0.597510576248169, -0.31702616810798645, -0.27606192231178284, -0.34615039825439453, 0.3590952754020691, -0.20038944482803345, 0.24810901284217834, 0.11202970892190933, 0.28096672892570496, 0.7381885647773743, -0.2051764726638794, 0.5157994627952576, 0.7117714881896973, -0.35708966851234436, 0.9633212089538574, -0.4541916251182556, 0.284046471118927, -0.10631134361028671, -0.018875611945986748, -0.5725878477096558, -0.5189157724380493, 0.45592477917671204, -0.5520559549331665, -0.003474854165688157, -0.062240470200777054, -0.48860061168670654, -0.12608423829078674, 0.21997769176959991, 0.08978015184402466, 0.4923810064792633, -0.15545397996902466, 0.7106643915176392, 0.8709964752197266, -0.6379970908164978, -0.4453761577606201, -0.6937588453292847, 0.3810816705226898, -0.38504889607429504, -0.6145797967910767, 0.12470105290412903, -0.03423269838094711, -0.2726234197616577, 0.22203677892684937, 0.15396293997764587, -0.20776192843914032, -0.0779297947883606, 0.6794578433036804, 0.14905332028865814, -0.08721797168254852, 0.5340099930763245, 0.11706330627202988, -0.15574926137924194, -0.0007209013565443456, 0.14062964916229248, 0.7526142001152039, -0.4915241301059723, 0.15273337066173553, -0.2973109185695648, 0.6499126553535461, 0.6359617114067078, -0.02724885381758213, 0.10310862213373184, 0.5805211663246155, -0.5890252590179443, -0.22768427431583405, -0.1968734711408615, 0.18122445046901703, -0.39644232392311096, 0.2861825227737427, -0.10853058099746704, -0.6747896671295166, 0.7689757943153381, 0.0354422889649868, -0.23843573033809662, 0.36480647325515747, 0.681811511516571, -0.3569064736366272, 1.0170717239379883, 0.4349699020385742, -0.18577317893505096, 0.714887261390686, -0.02029690146446228, 0.04180082678794861, -0.7798216342926025, -0.3785170614719391, -0.49676600098609924, -0.6868231296539307, -0.5837646722793579, -0.14672069251537323, 0.18896032869815826, -0.594210147857666, 0.06886152923107147, 0.04349939897656441, -0.22913774847984314, 0.3975848853588104, 0.2818085253238678, -0.08588241040706635, -0.07479830086231232, -0.09716672450304031, -0.0493643544614315, -0.23809686303138733, -0.5371629595756531, -0.6389253735542297, 0.7433395981788635, -0.0770486518740654, 0.6280198693275452, -0.08689878135919571, 0.9403804540634155, 0.14785359799861908, -0.09030179679393768, -0.5911087989807129, 0.5495367646217346, -0.44462838768959045, -1.020153522491455, -0.3076220452785492, -0.2758997678756714, -0.9160494804382324, 0.04185189679265022, -0.504430890083313, -0.6228936910629272, 0.7406539916992188, 0.07987497746944427, -0.38644811511039734, -0.0812503919005394, -0.4072187542915344, 0.7329724431037903, -0.06678050011396408, -0.2463182806968689, -0.40345051884651184, -0.8054953813552856, 0.016471611335873604, 0.05118115618824959, 0.32951968908309937, -0.680995523929596, -0.01780656911432743, 0.9267796277999878, -0.4537874162197113, 0.687179684638977, -0.3993065357208252, 0.21898393332958221, 0.2619335651397705, 0.021800192072987556, 0.3966957926750183, 0.18726269900798798, -0.3382863700389862, -0.08683161437511444, -0.14365024864673615, -0.3308183252811432, -0.4116078317165375, 0.7453644871711731, -0.4268246591091156, 0.3935748338699341, -0.44948112964630127, -0.6902658343315125, -0.6463003158569336, 0.39160633087158203, 0.386827677488327, 0.5435344576835632, -0.48067206144332886, 0.27234116196632385, 0.5321422815322876, -0.5890401601791382, 0.5558537840843201, 0.7258326411247253, -0.13951827585697174, -0.7591256499290466, 0.9251508116722107, 0.07234010845422745, -0.0666285827755928, 0.04324668273329735, 0.09904544055461884, -0.29671263694763184, -0.1294785737991333, -0.22993654012680054, 0.16966871917247772, -0.5569419264793396, -0.17967161536216736, -0.6696763634681702, 0.19381146132946014, -0.06928285211324692, -0.18209990859031677, -0.6719873547554016, -0.2928902208805084, -0.29652100801467896, -0.3374515473842621, 0.49544599652290344, 0.8187264204025269, -0.3534142076969147, -0.10388349741697311, -0.5521759390830994, 0.1854388266801834, 0.1396026760339737, 0.3656565546989441, -0.49528875946998596, -0.11715160310268402, -0.21005265414714813, -0.013065814971923828, 0.23662157356739044, -0.9515498876571655, 1.1502035856246948, 0.4081389307975769, 0.2731867730617523, 0.19898545742034912, 0.5317258238792419, 0.4563741981983185, -0.4039541780948639, 0.6463527083396912, 0.21739158034324646, -1.090735673904419, 0.5823107957839966, -0.41568174958229065, 0.3091718554496765, 0.8665419816970825, 0.1940850168466568, -0.8307515978813171, -0.526986300945282, -0.7188686728477478, -1.0101897716522217, 0.7530131936073303, 0.17327749729156494, 0.7511206269264221, -0.236902117729187, -0.21561644971370697, 0.21878640353679657, 0.3225078880786896, -0.17351505160331726, 0.1118084043264389, -0.18347227573394775, -0.5146665573120117, -0.21568408608436584, -0.3354521095752716, -0.1465918868780136, 0.10856380313634872, 0.6036592721939087, -0.04915708675980568, 0.4435479938983917, 0.4264121651649475, -0.31600552797317505, -0.1663745939731598, 0.29074278473854065, 0.7653929591178894, 0.011756295338273048, -0.41886013746261597, 0.05640249699354172, 0.17914211750030518, -0.5133224725723267, 0.11253825575113297, -0.35077497363090515, 0.09688186645507812, 0.5331559181213379, 0.12309424579143524, 1.0259250402450562, 0.5354254841804504, -1.0288314819335938, 0.46191704273223877, -0.0914246216416359, -0.4659133851528168, -0.7913710474967957, -0.2655743956565857, 0.1294299066066742, 0.4681011736392975, 0.08993086963891983, -0.027212416753172874, 0.5340135097503662, -0.5569359064102173, 0.1653517186641693, -0.09462941437959671, -0.8427197933197021, -0.4096658229827881, 0.29183706641197205, 0.3338366448879242, -0.2907394468784332, 0.9916121363639832, -0.20482958853244781, -0.38201001286506653, 0.46728864312171936, 0.5069815516471863, 0.9368821978569031, -0.16775862872600555, 0.47133103013038635, 0.3645560145378113, -0.06909556686878204, 0.12076883763074875, 1.0495012998580933, 0.22894413769245148, -0.8222981095314026, -0.004653455223888159, -0.3985147476196289, -0.8486054539680481, -0.1931057870388031, -0.8838026523590088, 0.13616830110549927, -0.5221297144889832, -0.415190190076828, -0.41712379455566406, 0.03344759717583656, -0.49126997590065, 0.21869473159313202, 0.7656053304672241, 0.656518280506134, -1.0338656902313232, 0.8219063878059387, 0.5950432419776917, 0.034836385399103165, -0.5942555069923401, -0.6773369908332825, 0.29955893754959106, -0.5552266836166382, 0.6999596953392029, -0.006355690769851208, -0.17158576846122742, -0.17283764481544495, -0.2530710995197296, -0.9376311302185059, 0.7001118659973145, 0.7020202279090881, -0.7362151741981506, 0.23387464880943298, -0.23905080556869507, 0.7882308959960938, -0.9369925856590271, 0.12237287312746048, 0.13509005308151245, 0.5957605242729187, -0.1957750916481018, -0.4644528329372406, -0.2824676036834717, -0.8887604475021362, -0.42428186535835266, 0.12044697999954224, -0.49470531940460205, 0.8646568655967712, 0.008005887269973755, -0.22560638189315796, -0.19593945145606995, 0.4089384377002716, 0.07093610614538193, 0.6160086989402771, 0.6610382199287415, 0.31215962767601013, 0.9324159026145935, -0.018267538398504257, 0.9639174342155457, -0.41914165019989014, 0.36086252331733704, 1.1723657846450806, -0.5411691069602966, 0.9912609457969666, 0.36702030897140503, 0.09434409439563751, 0.6274164915084839, 0.563715398311615, -0.04572407156229019, 0.6277932524681091, 0.0159438606351614, -0.44787195324897766, -0.33388736844062805, -0.2091524302959442, -0.43599608540534973, 0.4761381447315216, 0.5203174352645874, -0.3481820523738861, -0.05987951532006264, 0.3209901750087738, -0.006328243296593428, -0.08202622085809708, -0.20165342092514038, 0.5561066269874573, 0.020071782171726227, 0.0734405592083931, 0.10503088682889938, -0.6786258220672607, 0.397075891494751, -0.47625645995140076, 0.09944730252027512, -0.24605083465576172, -0.10612233728170395, -0.4562033712863922, -0.6041158437728882, 0.3871091902256012, 0.37486910820007324, -0.015030264854431152, -0.3160442113876343, 0.64739590883255, -0.4240609109401703, -0.4860517978668213, 0.422992080450058, 0.0224996879696846, 0.5544882416725159, 0.045314811170101166, -0.5365358591079712, 0.2694947123527527, -0.31069308519363403, -0.2944430112838745, 0.21059474349021912, 0.5165801644325256, 0.2761448919773102, 0.6672409772872925, 0.4286770224571228, 0.25186800956726074, 0.13260920345783234, 0.0324450358748436, 0.6198735237121582, -0.729835033416748, -0.6808621287345886, -0.5765050649642944, 0.6097522974014282, -0.22670011222362518, -0.7981131076812744, 0.6164343953132629, 0.4741188585758209, 0.5440025329589844, -0.32234737277030945, 0.6390553712844849, -0.4726482927799225, 0.5803653001785278, -0.4137817919254303, 0.633924126625061, -0.5828578472137451, -0.3695369064807892, -0.6650911569595337, -0.639024555683136, -0.3341469168663025, 0.7991765141487122, -0.4362715482711792, -0.45055273175239563, 0.4396558701992035, 0.5678481459617615, 0.38795143365859985, 0.37522920966148376, 0.7367458343505859, 0.3969760835170746, -0.1264536827802658, 0.8570533394813538, 1.0073033571243286, -0.277370423078537, 0.2909160554409027, -0.37963128089904785, 0.18638229370117188, -0.5834776163101196, -0.883726954460144, -0.19420093297958374, -0.6517882347106934, -0.21549813449382782, -0.11991725116968155, 0.15334968268871307, 1.3193951845169067, 0.7373126745223999, -0.8367945551872253, -0.27150222659111023, 0.17388398945331573, -0.15334978699684143, -0.07206077128648758, -0.10963296890258789, -0.2690271735191345, -0.33882248401641846, -1.037406325340271, 0.771049976348877, 0.4803471863269806, -0.16252774000167847, 0.3565550148487091, -0.4264666438102722, 0.10701967030763626, 0.07693185657262802, 0.28038328886032104, 0.4926265776157379, -0.34549450874328613, -0.020837904885411263, 0.015862151980400085, 0.029279246926307678, 0.14961659908294678, 0.5985140800476074, -0.5687655210494995, 0.8617842197418213, 0.6725168824195862, 0.08589830249547958, 0.47882145643234253, -0.5107985734939575, 0.8515968918800354, -0.2661595642566681, 0.31388214230537415, 0.7838762402534485, 0.5625102519989014, 0.2625446617603302, -0.2364708036184311, 0.530892550945282, -0.06360279768705368, -0.4120289385318756, -1.0335923433303833, 0.1381499022245407, -1.2705471515655518, 0.15796062350273132, 0.8268016576766968, -0.29013288021087646, -0.3317815661430359, 0.03904270753264427, -0.27236050367355347, 0.10206945985555649, -0.8085485696792603, 0.4445802867412567, 0.8832200765609741, -0.342111200094223, -0.051191333681344986, -0.815808892250061, 0.19157840311527252, 0.34400317072868347, -0.6302235126495361, 0.2540659010410309, 0.624304473400116, 0.34750035405158997, 0.15148232877254486, 0.4714530408382416, -0.5710892677307129, 0.24930618703365326, 0.28456705808639526, 0.5152530670166016, 0.0596013069152832, -0.23022210597991943, -0.7929761409759521, 0.3891565501689911, -0.3606474995613098, -0.11920919269323349 ]
http://arxiv.org/abs/2404.06283v1
http://arxiv.org/pdf/2404.06283v1
LLMs' Reading Comprehension Is Affected by Parametric Knowledge and Struggles with Hypothetical Statements
2024-04-09T13:08:56
2024-04-09T13:08:56
Victoria Basmov, Yoav Goldberg, Reut Tsarfaty
cs.CL
cs.CL
The task of reading comprehension (RC), often implemented as context-based question answering (QA), provides a primary means to assess language models' natural language understanding (NLU) capabilities. Yet, when applied to large language models (LLMs) with extensive built-in world knowledge, this method can be deceptive. If the context aligns with the LLMs' internal knowledge, it is hard to discern whether the models' answers stem from context comprehension or from LLMs' internal information. Conversely, using data that conflicts with the models' knowledge creates erroneous trends which distort the results. To address this issue, we suggest to use RC on imaginary data, based on fictitious facts and entities. This task is entirely independent of the models' world knowledge, enabling us to evaluate LLMs' linguistic abilities without the interference of parametric knowledge. Testing ChatGPT, GPT-4, LLaMA 2 and Mixtral on such imaginary data, we uncover a class of linguistic phenomena posing a challenge to current LLMs, involving thinking in terms of alternative, hypothetical scenarios. While all the models handle simple affirmative and negative contexts with high accuracy, they are much more prone to error when dealing with modal and conditional contexts. Crucially, these phenomena also trigger the LLMs' vulnerability to knowledge-conflicts again. In particular, while some models prove virtually unaffected by knowledge conflicts in affirmative and negative contexts, when faced with more semantically involved modal and conditional environments, they often fail to separate the text from their internal knowledge.
[ -0.4247882664203644, -0.9261276125907898, 0.9235292077064514, 0.0722365528345108, -0.30285921692848206, 0.04173215851187706, 0.06438861787319183, -0.557465672492981, -0.2557450532913208, 0.5855852961540222, -0.5154103636741638, -0.28203627467155457, -0.5009047985076904, 0.3349539637565613, -0.3719027042388916, 0.7393964529037476, -0.18178756535053253, -0.07381033897399902, -0.5523158311843872, -0.32775601744651794, -0.38071897625923157, -0.6491330862045288, -0.4703523516654968, -0.27276113629341125, 0.6105459332466125, 0.3710862696170807, 0.7324804067611694, 0.30832400918006897, 0.38448259234428406, 0.21124593913555145, -0.05541175231337547, 0.20171654224395752, -0.5240642428398132, 0.4330926835536957, -0.31420424580574036, -0.878291666507721, -0.07748322933912277, 0.013034582138061523, 0.5525930523872375, 0.5133965015411377, 0.05155932158231735, 0.004614732228219509, 0.05631030723452568, 0.5153946280479431, -0.2997325658798218, 0.26111096143722534, -0.8854732513427734, -0.19031716883182526, 0.05469431355595589, -0.4007229208946228, -0.3046170771121979, -0.0667446181178093, 0.29320549964904785, -0.6377261877059937, 0.08336074650287628, 0.6510857343673706, 1.0798457860946655, 0.35506707429885864, -0.8792353272438049, -0.5382134914398193, -0.6529616713523865, 0.44220733642578125, -0.8556764125823975, 0.34765732288360596, 0.5984499454498291, 0.1945648491382599, -0.030029192566871643, -0.3958863317966461, -1.188132405281067, -0.6296648383140564, -0.15568360686302185, 0.16144192218780518, -0.15548647940158844, 0.04564443230628967, 0.3151029944419861, 0.06452398747205734, -0.5091373324394226, -0.014509795233607292, -0.3992112874984741, 0.04675397649407387, 0.27307605743408203, 0.32335588335990906, 0.6091384291648865, -0.35092318058013916, -0.4570825397968292, -0.11898846179246902, -0.8574076294898987, 0.2032754272222519, 0.4978260397911072, 0.08929329365491867, -0.10615617781877518, 0.8730074167251587, -0.14850664138793945, 0.7841149568557739, -0.1245131567120552, -0.2767433822154999, -0.04391293227672577, -0.2936203181743622, -0.19727341830730438, -0.13846363127231598, 0.4102310240268707, 0.4154278337955475, 0.3124580383300781, -0.17439782619476318, -0.3859023451805115, 0.08540704101324081, 0.018363891169428825, -0.3856159746646881, 0.013877322897315025, 0.2211211770772934, 0.030718963593244553, -0.037751875817775726, -0.0865960642695427, -0.6360520720481873, -0.2601451277732849, -0.7040728330612183, 0.620071530342102, -0.5410965085029602, -0.07924064993858337, 0.06668127328157425, -0.04796043783426285, 0.3292022943496704, 0.17902059853076935, -0.5416283011436462, 0.18920834362506866, 0.636696994304657, 0.728874921798706, -0.08242304623126984, -0.28457194566726685, -0.11839088797569275, 0.33866360783576965, -0.18163816630840302, 1.0562310218811035, -0.5922822952270508, -0.1748114675283432, -0.14973688125610352, -0.11224992573261261, -0.44810521602630615, -0.3915952742099762, 0.4187922775745392, -0.7104206681251526, 0.3128867447376251, -0.5882564187049866, -0.6617774963378906, -0.28791069984436035, 0.5191207528114319, -0.5392963290214539, 0.7290943264961243, 0.11702162772417068, -1.0211201906204224, 0.24748234450817108, -0.22347836196422577, -0.13857200741767883, -0.2160649299621582, -0.3039339482784271, 0.027870209887623787, -0.04342713952064514, 0.1601712554693222, 0.2154833823442459, -0.5936058759689331, 0.31404203176498413, -0.4421379268169403, -0.26197871565818787, 0.5403117537498474, -0.6150841116905212, 0.6260716319084167, 0.07542172074317932, -0.151149719953537, -0.22107337415218353, -0.5304681658744812, -0.11806072294712067, 0.03945506364107132, -0.0018266094848513603, -0.6454333066940308, 0.11450786888599396, -0.24650265276432037, 0.40660038590431213, -0.0782092809677124, -0.5151770114898682, 0.07589904218912125, -0.47528645396232605, 0.31661829352378845, 0.7224774360656738, 0.3098208010196686, 0.4348547160625458, -0.8177884817123413, 0.8258480429649353, 0.2158038169145584, -0.1365501880645752, 0.07155009359121323, -0.4682091474533081, -0.8977328538894653, -0.09518258273601532, 0.2527448236942291, 0.8602238893508911, -1.1506924629211426, -0.05126175656914711, -0.22815272212028503, -0.30459117889404297, -0.3005400598049164, -0.054042328149080276, 0.2777628004550934, 0.8153532147407532, 0.23534910380840302, 0.48621928691864014, -0.20768634974956512, -0.943575382232666, -0.46734923124313354, -0.3934873044490814, 0.012918156571686268, 0.433154821395874, 0.4116652011871338, -0.04463774338364601, 1.0344654321670532, -0.3511383831501007, -0.008144496008753777, -0.31434187293052673, -0.06825460493564606, 0.03880920261144638, 0.1773243099451065, 0.4731084108352661, -0.9337344169616699, -0.4696747660636902, 0.0007920911302790046, -0.8516156077384949, -0.32073044776916504, -0.30167365074157715, -0.15667621791362762, 0.13731269538402557, 0.6170516610145569, -0.7133631706237793, 0.2961500585079193, 0.5295045375823975, -0.5389078259468079, 0.5260498523712158, -0.21741819381713867, 0.23757362365722656, -0.9244787096977234, -0.1668240875005722, 0.17660152912139893, 0.0003249221481382847, -0.6356068849563599, 0.08464323729276657, 0.18336111307144165, 0.20169110596179962, -0.4151334762573242, 0.7605130076408386, -0.4557718336582184, 0.19185109436511993, -0.010989440605044365, 0.37498408555984497, 0.14899910986423492, 0.3075411319732666, -0.07430087774991989, 0.7773560881614685, 0.30820661783218384, -0.6195526123046875, -0.014905567280948162, 0.12665607035160065, -0.3384474515914917, 0.5825170278549194, -0.5009832382202148, -0.08237514644861221, -0.46387624740600586, 0.2549777925014496, -1.001057505607605, -0.23972082138061523, 0.4378601908683777, -0.21671545505523682, 0.13996000587940216, 0.06675621122121811, -0.5906587243080139, -0.023438835516572, 0.08326227217912674, 0.387313574552536, 0.31526556611061096, -0.4245491921901703, 0.6443518996238708, 0.2693822979927063, -0.2445274442434311, -0.6625441312789917, -0.7126290202140808, 0.04256964102387428, -0.5027918815612793, -0.6715148687362671, 0.21514901518821716, -0.13272784650325775, -0.7602944374084473, 0.026997635141015053, -0.3556235432624817, -0.1928577423095703, -0.15786801278591156, 0.15115469694137573, 0.4763488173484802, -0.29305872321128845, 0.20070381462574005, 0.32137858867645264, 0.09031844139099121, 0.283862829208374, 0.04772251844406128, 0.2154739499092102, -0.016993848606944084, -0.4199828505516052, -0.20978672802448273, 0.20671559870243073, 0.5638675689697266, 0.0223457682877779, 0.9513301849365234, -0.027414903044700623, -0.319703072309494, -0.34716230630874634, -0.6441253423690796, -0.08771131932735443, -0.43864119052886963, 0.18721622228622437, -0.5726408958435059, -0.9028928875923157, 0.6407778859138489, 0.3431745171546936, -0.07141389697790146, 0.2775779366493225, 0.4620293378829956, -0.23589485883712769, 0.8405776619911194, 0.32535460591316223, 0.2874499261379242, 0.15350942313671112, 0.04424586519598961, 0.5254111289978027, -0.8345829844474792, -0.370164155960083, -0.3976861834526062, -0.1279197335243225, -0.26003122329711914, -0.4480006992816925, 0.3869817852973938, 0.14794515073299408, -0.047405555844306946, 0.14627547562122345, 0.006956715136766434, 0.5716800689697266, 0.14992263913154602, 0.1501726359128952, 0.5631356835365295, -0.19045418500900269, -0.3011963665485382, -0.057429537177085876, -0.6681668162345886, -0.761322021484375, 0.9917699694633484, 0.27341029047966003, 0.6772246956825256, 0.19607068598270416, 0.23966386914253235, 0.12224850058555603, 0.5653244256973267, -0.5572695732116699, 0.4138410687446594, 0.4032307267189026, -0.7255107760429382, -0.1645880490541458, -0.4006103277206421, -0.6646498441696167, 0.7514702081680298, -0.10352779179811478, -0.619793176651001, 0.40721395611763, 0.1408982276916504, -0.37677001953125, 0.41084033250808716, -0.7666253447532654, 0.6349226236343384, -0.13741245865821838, 0.000850964745040983, 0.07402753084897995, -0.5414480566978455, 0.6685612201690674, -0.2773938775062561, 0.40895283222198486, -0.38476526737213135, -0.4388599097728729, 0.39608699083328247, -0.19086694717407227, 0.8324674963951111, 0.11744045466184616, -0.2378097027540207, 0.4456941485404968, 0.2790977656841278, 0.3886880874633789, 0.4892220199108124, -0.0929611474275589, 0.0012679236242547631, 0.6392212510108948, -0.3737129271030426, -0.7258024215698242, 0.6257500052452087, -0.7442383766174316, -0.9540908336639404, -0.739944577217102, -0.8365853428840637, -0.6190815567970276, -0.07372229546308517, 0.27733537554740906, 0.3884739577770233, -0.07996483147144318, -0.022771406918764114, 0.679277241230011, -0.2590564787387848, 0.08052327483892441, 0.7905039191246033, -0.16230377554893494, 0.016016412526369095, 0.7773030996322632, 0.17688539624214172, 0.6109031438827515, 0.4008173644542694, 0.06295514106750488, -0.4465081989765167, -0.6192113757133484, -0.2061544507741928, 0.40665173530578613, -0.8800936937332153, -0.21071693301200867, -0.7397016286849976, -0.12764737010002136, -0.16557928919792175, 0.07155168801546097, 0.3330113887786865, -0.24048805236816406, -0.4166458249092102, -0.14940007030963898, 0.13986726105213165, 0.7169180512428284, 0.14088433980941772, 0.17956028878688812, -0.6111934781074524, 0.4086448550224304, 0.23457106947898865, -0.22854003310203552, -0.0299567598849535, -0.8201541900634766, 0.1493050754070282, 0.2160598337650299, -0.10321053862571716, -1.2340346574783325, 0.554777204990387, 0.09454028308391571, 0.5514147877693176, 0.21558095514774323, 0.33973753452301025, 0.5423629879951477, -0.4903400242328644, 0.49252548813819885, -0.2655000686645508, -0.8965848684310913, 0.01928594894707203, -0.5675066113471985, 0.20713463425636292, 0.49442970752716064, 0.5991944670677185, -0.6948498487472534, -0.8278218507766724, -0.49355077743530273, -0.6540867686271667, 0.6108876466751099, 0.1930570900440216, 0.291716068983078, -0.1325133889913559, 0.7433441281318665, 0.09604547917842865, 0.0033696473110467196, -0.8760170936584473, -0.12559281289577484, 0.10820378363132477, -0.20861899852752686, -0.0054178982973098755, -0.34779635071754456, -0.10780394077301025, -0.3362548053264618, 0.5125260949134827, -0.07802010327577591, 0.09329009056091309, 0.4023261070251465, -0.34230607748031616, -0.07520578056573868, 0.1351739913225174, 0.6391701102256775, 1.1563407182693481, -0.012376880273222923, 0.2843635380268097, 0.37759163975715637, -0.1463627815246582, 0.27740201354026794, -0.18163830041885376, -0.27836713194847107, -0.32917505502700806, 0.501807689666748, 0.5730380415916443, 0.22279946506023407, -0.9905187487602234, 0.4525546729564667, -0.15524417161941528, -0.2766277492046356, -0.34696096181869507, 0.04150955379009247, 0.3750079870223999, 0.3052186965942383, 0.3382050096988678, 0.14827869832515717, -0.13178923726081848, -0.5772883892059326, 0.2934357523918152, 0.2906491458415985, -0.15471410751342773, -0.3327718675136566, 0.4174782633781433, -0.12570777535438538, -0.07386209070682526, 0.5170852541923523, -0.3167795240879059, -0.5489212274551392, 0.8297523856163025, 0.7546262741088867, 0.26733314990997314, -0.008409533649682999, 0.17451079189777374, 0.11035124212503433, 0.5521612167358398, 0.12409733235836029, 0.11009057611227036, 0.2784968316555023, -1.0243825912475586, -0.39131155610084534, -0.45953333377838135, -0.34259921312332153, 0.15550588071346283, -0.6598017811775208, 0.11224019527435303, -0.4360286295413971, 0.15220850706100464, -0.11606436967849731, -0.2624114155769348, -0.6740685701370239, 0.18913023173809052, 0.1358499825000763, 0.8589959144592285, -0.8605948090553284, 1.0136961936950684, 0.38892024755477905, -0.36289745569229126, -0.6798006296157837, 0.537360429763794, 0.012818043120205402, -0.7384971976280212, 0.8050473928451538, 0.0880289077758789, -0.006176397204399109, 0.02400236204266548, -0.29187336564064026, -0.9392880201339722, 0.8809410929679871, 0.4875621497631073, -0.522550642490387, -0.2933034300804138, 0.1544753760099411, 0.6156747937202454, -0.30543607473373413, 0.2834544777870178, 0.6922357678413391, 0.5920773148536682, -0.03640425577759743, -0.6476191282272339, 0.1332579106092453, -0.011087181977927685, -0.14132727682590485, -0.01636647805571556, -0.6053851246833801, 0.8682786226272583, -0.1509006917476654, -0.3112378418445587, -0.08738488703966141, 0.7694090604782104, 0.2543708086013794, 0.28060612082481384, 0.6157220602035522, 0.395598441362381, 0.6673592925071716, 0.004299181047827005, 1.2184070348739624, -0.3220925033092499, 0.2419614940881729, 0.8992553949356079, -0.30190667510032654, 0.9173493981361389, 0.5208426117897034, -0.09001988917589188, 0.46902525424957275, 0.7485568523406982, 0.3160301446914673, 0.3713665306568146, 0.12920288741588593, -0.46615737676620483, -0.4159236550331116, 0.21699537336826324, -0.19275328516960144, 0.3242994248867035, 0.5809445381164551, 0.07840406149625778, -0.2638949751853943, 0.1439943015575409, 0.07382263988256454, 0.13310986757278442, 0.09436295926570892, 0.4258043169975281, 0.32815617322921753, -0.7529719471931458, 0.5955506563186646, 0.10190310329198837, 0.549452006816864, -0.485891193151474, 0.03374883905053139, -0.21299628913402557, -0.08574084937572479, -0.010512110777199268, -0.7772762179374695, 0.4097355902194977, -0.10000373423099518, -0.06319788843393326, 0.06130810081958771, 0.40246516466140747, -0.45166972279548645, -0.525970995426178, 0.31398001313209534, 0.8095719814300537, -0.07049320638179779, -0.21210525929927826, -0.8300747871398926, 0.00830303318798542, 0.24818457663059235, -0.33447110652923584, 0.467864990234375, 0.6185626983642578, -0.045335762202739716, 0.9530062675476074, 0.6146539449691772, -0.009514115750789642, 0.10656863451004028, -0.19866710901260376, 0.8507785797119141, -0.5973839163780212, -0.4822109639644623, -0.801563024520874, 0.10301297903060913, 0.11396881192922592, -0.4395740032196045, 0.8322699666023254, 0.14268983900547028, 0.7031806111335754, 0.22149667143821716, 0.6901824474334717, -0.05551232397556305, 0.5276428461074829, -0.7548860311508179, 0.6408252120018005, -0.5584471225738525, 0.5485741496086121, 0.0016478170873597264, -0.9075391888618469, -0.22999700903892517, 0.4035309851169586, -0.6884630918502808, -0.06082921847701073, 1.0502980947494507, 0.7682262659072876, -0.10131252557039261, 0.2336522787809372, 0.510434627532959, 0.3336324989795685, 0.18961800634860992, 0.4948916733264923, 1.147154450416565, -0.16867384314537048, 0.46154919266700745, -0.23987556993961334, -0.15555554628372192, 0.10954268276691437, -0.704552173614502, -1.0894159078598022, -0.7229233980178833, -0.07232953608036041, -0.29093554615974426, 0.22815199196338654, 0.6498040556907654, 0.204928919672966, -0.7223219871520996, -0.04154542088508606, -0.011675274930894375, 0.21168716251850128, 0.21823781728744507, -0.26876312494277954, 0.19971971213817596, -0.43774569034576416, -0.7766062617301941, 0.3680553436279297, 0.11683709919452667, 0.10727740079164505, -0.2735808491706848, 0.02165774628520012, -0.24550200998783112, 0.485136479139328, 0.5022096037864685, 0.23543612658977509, -1.007907509803772, -0.3966056704521179, 0.022559739649295807, -0.15675616264343262, -0.01596345379948616, 0.6621536612510681, -0.8046911954879761, 0.16517366468906403, 0.6127339005470276, 0.562336802482605, 0.09646300971508026, 0.24374160170555115, 0.6658920645713806, -0.2479483187198639, 0.1689995676279068, 0.4303179681301117, 0.3583594560623169, 0.20533935725688934, -0.5446951985359192, 0.09001973271369934, 0.2604868710041046, -0.5857550501823425, -0.8825468420982361, 0.1542518138885498, -0.8365691900253296, -0.5329384803771973, 1.2989143133163452, -0.10662669688463211, -0.26938700675964355, -0.35909464955329895, -0.21204674243927002, -0.04972189664840698, -0.1492524892091751, 0.7125345468521118, 1.038244366645813, -0.2416229248046875, -0.12321529537439346, -1.09861421585083, 0.4814987778663635, 0.5905584692955017, -0.8021896481513977, -0.007412005681544542, 0.44936853647232056, 0.5397091507911682, -0.32744237780570984, 0.35218361020088196, 0.09663454443216324, -0.10837589204311371, 0.019998490810394287, -0.4103236496448517, 0.08532369881868362, -0.2648331820964813, -0.23847731947898865, 0.09080523252487183, 0.06272008270025253, 0.46874329447746277 ]
http://arxiv.org/abs/2404.06278v1
http://arxiv.org/pdf/2404.06278v1
Dimensionality Reduction in Sentence Transformer Vector Databases with Fast Fourier Transform
2024-04-09T13:02:22
2024-04-09T13:02:22
Vitaly Bulgakov, Alec Segal
cs.DB
cs.DB, cs.AI, cs.CL, cs.LG
Dimensionality reduction in vector databases is pivotal for streamlining AI data management, enabling efficient storage, faster computation, and improved model performance. This paper explores the benefits of reducing vector database dimensions, with a focus on computational efficiency and overcoming the curse of dimensionality. We introduce a novel application of Fast Fourier Transform (FFT) to dimensionality reduction, a method previously underexploited in this context. By demonstrating its utility across various AI domains, including Retrieval-Augmented Generation (RAG) models and image processing, this FFT-based approach promises to improve data retrieval processes and enhance the efficiency and scalability of AI solutions. The incorporation of FFT may not only optimize operations in real-time processing and recommendation systems but also extend to advanced image processing techniques, where dimensionality reduction can significantly improve performance and analysis efficiency. This paper advocates for the broader adoption of FFT in vector database management, marking a significant stride towards addressing the challenges of data volume and complexity in AI research and applications. Unlike many existing approaches, we directly handle the embedding vectors produced by the model after processing a test input.
[ -0.7663493156433105, -0.8045681715011597, 0.4578237235546112, 0.28647032380104065, -0.26850244402885437, -0.01778576336801052, 0.14397379755973816, -0.3243739604949951, 0.2826341688632965, 0.38599714636802673, -0.42537444829940796, -0.40682294964790344, -0.45489659905433655, -0.1012156531214714, -0.7228432893753052, 0.662224531173706, 0.042043618857860565, -0.006327206734567881, -0.6857666969299316, -0.28713974356651306, -0.5833815336227417, -0.5323216319084167, -0.7445295453071594, -0.07467945665121078, 0.33073633909225464, 0.20573939383029938, 0.8143139481544495, 1.103062629699707, 1.2193644046783447, 0.28296011686325073, 0.24896319210529327, -0.1316322237253189, -0.46817654371261597, 0.172259122133255, 0.020109523087739944, -0.4657353162765503, -0.3289892077445984, 0.0874461680650711, 0.9395750761032104, 0.6743350028991699, 0.030081776902079582, 0.24923504889011383, -0.4098789393901825, 0.9048505425453186, -0.508242130279541, 0.5978291034698486, -0.21235378086566925, 0.5467796325683594, -0.47158241271972656, -0.20371626317501068, -0.11975722014904022, -0.43116241693496704, -0.0647469311952591, -0.6326865553855896, 0.5317139625549316, 0.14620982110500336, 0.4827854335308075, 0.8556433320045471, -0.5992181897163391, 0.22757740318775177, -1.3262696266174316, 0.5543943643569946, -0.07751258462667465, 0.8779488205909729, 0.13410112261772156, 0.520488440990448, -0.03941294550895691, -0.7365627884864807, -0.8375450968742371, 0.23382416367530823, -0.20232738554477692, -0.07612522691488266, -0.35529637336730957, -0.08452694118022919, 0.41552647948265076, 0.4595614969730377, -0.7553683519363403, -0.11087218672037125, -0.4534136652946472, -0.12131422013044357, 0.6030580997467041, 0.10679051280021667, -0.06472711265087128, -0.2059236466884613, -0.2793543338775635, -0.53229159116745, -0.5164002776145935, 0.32145339250564575, 0.072993703186512, 0.027169520035386086, 0.32108786702156067, 0.678149402141571, 0.17916709184646606, 0.21085740625858307, -0.08256708830595016, 0.17017588019371033, 0.20282089710235596, -0.21989233791828156, -0.05830522999167442, -0.16787053644657135, 0.6468784213066101, 0.21835364401340485, -0.240897074341774, 0.007613533176481724, -0.2219041883945465, 0.13409096002578735, 0.43630415201187134, -0.941306471824646, -0.2481311708688736, 0.1438220590353012, -0.7467583417892456, -0.22476015985012054, 0.05306078493595123, -0.8029731512069702, -0.4537844955921173, -0.017015423625707626, 0.2794671654701233, -0.6779372692108154, 0.11755938082933426, -0.03729863837361336, -0.0976695641875267, 0.49904897809028625, 0.2491750866174698, -0.7174314856529236, 0.34980109333992004, 0.9732685685157776, 0.9471127390861511, -0.3729763627052307, 0.15110903978347778, -0.8434603810310364, -0.01900375448167324, -0.538140058517456, 0.7697634100914001, -0.5570463538169861, -0.5759601593017578, -0.2806697487831116, -0.48443126678466797, 0.028077341616153717, -0.5280296802520752, 0.8946393132209778, -0.42653799057006836, 0.06295103579759598, -0.16592812538146973, -0.5595398545265198, -0.3924667239189148, -0.07613414525985718, -0.8303127288818359, 1.020093321800232, 0.15306736528873444, -0.49167874455451965, 0.3570004999637604, -0.6955486536026001, -0.5310543179512024, 0.060397807508707047, -0.1485740691423416, -0.7688673138618469, 0.33339378237724304, 0.6319796442985535, 0.7347908616065979, -0.45265066623687744, -0.13665804266929626, -0.10906590521335602, -0.7140346169471741, 0.06893323361873627, -0.32198721170425415, 0.24567659199237823, 0.21500977873802185, 0.0910152718424797, -0.02073770947754383, -0.9417147636413574, -0.1868865042924881, 0.2903936505317688, -0.2080199122428894, -0.47657254338264465, 0.20318099856376648, 0.12129343301057816, -0.023749683052301407, -0.05629171058535576, -0.5240049958229065, 0.26248762011528015, -0.5249540209770203, 0.3217929005622864, 0.5400206446647644, -0.12322994321584702, 0.7019239068031311, -0.16381151974201202, 0.5916598439216614, -0.0792393833398819, 0.20389388501644135, -0.03215066343545914, -0.24402974545955658, -0.6848413348197937, -0.5853242874145508, 0.3241975009441376, 0.8012142777442932, -1.1785560846328735, 0.37223193049430847, -0.5523954629898071, -0.3500102162361145, -0.6583142280578613, -0.3576827943325043, 0.09819995611906052, 0.42155513167381287, 0.5502543449401855, -0.3006253242492676, -0.27365055680274963, -1.0831506252288818, -0.1976696103811264, -0.14146004617214203, -0.43939071893692017, 0.3024812936782837, 0.32520392537117004, -0.31511130928993225, 0.9187151789665222, -0.7520905137062073, -0.6483052968978882, 0.09289651364088058, 0.13322556018829346, -0.0030856162775307894, 0.6000491976737976, 0.8589510917663574, -1.1209381818771362, -0.284787118434906, -0.07125148177146912, -0.6888393759727478, 0.27019616961479187, -0.18347778916358948, 0.007978643290698528, 0.15593118965625763, 0.4791056215763092, -0.7513125538825989, 0.6064059734344482, 0.14541412889957428, -0.30571916699409485, 0.07265035063028336, -0.23678238689899445, 0.28877827525138855, -0.8004675507545471, -0.22632722556591034, 0.09186582267284393, -0.3219115436077118, -0.7445712089538574, -0.21027114987373352, 0.134113609790802, -0.3121448755264282, -0.13424138724803925, 0.11610502004623413, -0.06712788343429565, -0.24016307294368744, 0.2695375382900238, -0.3846698999404907, -0.047482192516326904, 0.46805572509765625, -0.2947216033935547, 0.9101959466934204, 0.2895318567752838, -0.5071619749069214, 0.4177030622959137, 0.931013822555542, 0.04436219483613968, 0.9969030618667603, -0.671063244342804, 0.10509416460990906, -0.5148415565490723, 0.257634699344635, -0.6720123291015625, 0.11070074141025543, 0.20288467407226562, -0.4599323868751526, 0.2865619659423828, 0.06221466884016991, -0.3628920912742615, -0.41086840629577637, -0.6751028895378113, 0.4124273657798767, 0.5202161073684692, -0.6837457418441772, 0.8975412845611572, 0.40442413091659546, -0.09420830756425858, -0.5427607893943787, -0.8198864459991455, -0.11284807324409485, -0.22115458548069, -0.8586063981056213, 0.5745185017585754, -0.08900447189807892, -0.083055779337883, 0.1290254294872284, -0.07346335798501968, -0.0002686690422706306, -0.1341133564710617, 0.08674650639295578, 0.12015460431575775, -0.17712631821632385, 0.4302935004234314, 0.2554433345794678, -0.24824637174606323, 0.19048939645290375, -0.2842131555080414, 0.33079850673675537, -0.171113058924675, -0.17045770585536957, -0.5464609861373901, 0.6185754537582397, 0.544208824634552, -0.6492599844932556, 0.8683128356933594, 1.0365663766860962, -0.3303532302379608, -0.38287755846977234, -0.4027673304080963, -0.05426013842225075, -0.4731992781162262, 0.30390438437461853, -0.3532176613807678, -0.9933459162712097, 0.47010430693626404, -0.14674025774002075, -0.11387187987565994, 0.6344431638717651, 0.10778356343507767, -0.30958178639411926, 0.9574345350265503, 0.7070183753967285, 0.07560703158378601, 0.6392234563827515, -0.5264723300933838, 0.7183806300163269, -0.6548035144805908, -0.1154794991016388, -0.5455488562583923, -0.3189453184604645, -0.6484366655349731, -0.819537341594696, 0.7296739220619202, -0.3638261556625366, -0.19045107066631317, -0.07691942900419235, -0.6164634227752686, 0.5052984356880188, 0.5199208855628967, -0.17699171602725983, 0.07663816958665848, 0.050469283014535904, 0.335376501083374, -0.19676461815834045, -0.45181941986083984, 0.05892804265022278, 0.9093148708343506, 0.3878330588340759, 0.2654598355293274, 0.04569272696971893, 0.7193989753723145, 0.60395747423172, -0.23105108737945557, -0.8476594090461731, 0.4488450288772583, -0.6186789274215698, 0.0711297020316124, -0.5849279165267944, -0.7763984203338623, -0.7388895153999329, 0.38534244894981384, -0.6737238168716431, -0.12043049931526184, 0.44989314675331116, -0.1049932986497879, -0.43781059980392456, 0.41339921951293945, -0.654738187789917, 0.6248969435691833, 0.20178377628326416, -0.04105221852660179, -0.20594733953475952, -0.38088151812553406, 0.351248562335968, -0.3812822699546814, 0.15243636071681976, -0.03789462521672249, 0.07735103368759155, 0.9349270462989807, -0.6185306310653687, 0.1347629725933075, -0.3539285361766815, 0.11662856489419937, -0.013107123784720898, 0.2145642787218094, 0.6492191553115845, 0.16249632835388184, 0.04800470173358917, 0.31255289912223816, 0.22704578936100006, -0.15093444287776947, -0.9571088552474976, 0.5683928728103638, -0.51637864112854, -0.4990330636501312, -0.2828737497329712, -0.8150634169578552, -0.2749725580215454, 0.061533596366643906, -0.0580974742770195, 0.3454802334308624, -0.4088189899921417, 0.5824218988418579, 0.8141750693321228, -0.4835893511772156, 0.08821512758731842, -0.03685725852847099, -0.15332363545894623, -0.17809532582759857, 1.095088005065918, 0.3994045853614807, -0.41092973947525024, 0.4664965867996216, 0.14013631641864777, -0.3217553198337555, -0.7960266470909119, 0.09287115186452866, 0.27227213978767395, -0.5566592216491699, -0.248518705368042, -0.6932228207588196, -0.12563130259513855, -0.6392927765846252, -0.2159670889377594, -0.4830971360206604, -0.8491063117980957, -0.07512795925140381, -0.0286854337900877, 0.568608820438385, 0.7457956671714783, -0.11020782589912415, 0.3539400100708008, -0.9630593061447144, 0.645063579082489, 0.3872940242290497, 0.561775267124176, -0.22260598838329315, -0.017118696123361588, -0.24576106667518616, -0.34279385209083557, -0.07106130570173264, -0.3716672956943512, 0.583952009677887, 0.34953269362449646, 0.4294919967651367, -0.0668581947684288, 0.10712293535470963, 0.29036298394203186, -0.7294090390205383, 0.6441605687141418, -0.25246313214302063, -1.0134947299957275, 0.438707560300827, -0.3359987735748291, -0.06153946742415428, 0.15999756753444672, 0.2703090310096741, -0.5650629997253418, -0.02800285816192627, -0.35395267605781555, -0.9232674837112427, 0.6792817711830139, 0.4954790472984314, -0.05826957896351814, 0.24604332447052002, 0.6063708066940308, 0.02939087152481079, 0.09143157303333282, -0.030241765081882477, -0.50113844871521, -0.18516340851783752, -0.25892576575279236, -0.2669164836406708, -0.3163825273513794, 0.08401630818843842, -0.5743449926376343, 0.560469925403595, -0.14712239801883698, 0.8755308985710144, 0.01633404940366745, 0.1436036080121994, 0.08405603468418121, 0.08585179597139359, 0.298221617937088, 0.04709804803133011, -0.13346223533153534, -0.08543970435857773, 0.11881446093320847, -0.7146685123443604, 0.03905617073178291, 0.39009353518486023, -0.2371131032705307, -0.26961615681648254, 0.1969800740480423, 0.8202101588249207, -0.2677527070045471, -0.10001340508460999, 0.40767815709114075, -0.5581397414207458, -0.12445461004972458, -0.3390316367149353, 0.02209337428212166, -0.0011576170800253749, 0.7283192276954651, 0.2778305113315582, 0.37231504917144775, 0.4627653956413269, 0.01378067210316658, 0.3643318712711334, 0.40825268626213074, -0.09323850274085999, 0.004520451184362173, 0.9661495089530945, 0.012040643952786922, -0.3713556230068207, 0.8762231469154358, -0.037329092621803284, -0.18774506449699402, 0.6471292972564697, 0.0007133835460990667, 0.8370847702026367, -0.31249967217445374, 0.3907957971096039, 0.16450287401676178, 0.21955358982086182, 0.0011309825349599123, 0.148294135928154, 0.009958891198039055, -0.7627844214439392, -0.12424851208925247, -0.8202546834945679, -0.373716801404953, -0.3255861699581146, -0.697057843208313, -0.11842412501573563, -0.5153597593307495, -0.06879767030477524, 0.27789604663848877, -0.136885404586792, -0.8740540742874146, -0.03300800547003746, -0.050914593040943146, 0.47501060366630554, -0.5481516718864441, 0.9837391972541809, 0.1736290454864502, -0.4154033958911896, -0.41708865761756897, -0.05675872787833214, 0.038276560604572296, -0.3369433879852295, 0.6169338226318359, -0.12577609717845917, -0.0833234190940857, -0.11838902533054352, -0.2523774802684784, -0.8630963563919067, 1.161708116531372, 0.5198301076889038, -0.2803809940814972, 0.12730048596858978, 0.5187321305274963, 0.6963608860969543, -0.25693050026893616, -0.3695853352546692, 0.9232466816902161, 0.5694600343704224, 0.22645266354084015, -0.47087615728378296, -0.09314756840467453, -0.19402967393398285, 0.6754236221313477, 0.3279111683368683, -0.4707493484020233, 1.2335407733917236, 0.0807703509926796, -0.34358838200569153, -0.31054404377937317, 1.0314966440200806, -0.16921015083789825, 0.2506287693977356, 0.5426190495491028, 0.4859622120857239, 0.9622781872749329, -0.30728858709335327, 1.1705570220947266, 0.03577804937958717, 0.3227521479129791, 0.519071102142334, -0.33943572640419006, 0.788969099521637, 0.3892695903778076, -0.3029044568538666, 0.0745978131890297, 0.19316120445728302, -0.1549731194972992, 0.31501588225364685, -0.08196283876895905, -0.004192929249256849, 0.026274820789694786, -0.1436760574579239, -0.1192145049571991, 0.7118631601333618, 0.3913549780845642, 0.0338284857571125, 0.09395255893468857, 0.5888954997062683, -0.23604974150657654, 0.3119678795337677, -0.27450311183929443, 0.4490810036659241, -0.14117439091205597, -0.01729220524430275, 0.5492305755615234, 0.06961875408887863, 0.7055408358573914, -0.24763721227645874, -0.4143383502960205, -0.1897120326757431, 0.47304481267929077, -0.18316633999347687, -0.6985531449317932, 0.8395576477050781, -0.17652885615825653, -0.3666203022003174, -0.5413784980773926, 0.5700783133506775, -0.4330924451351166, -0.6373999118804932, 0.1794268935918808, 0.4806569218635559, -0.08910168707370758, -0.26713669300079346, -0.48888126015663147, 0.003332858206704259, -0.16344070434570312, -0.4118780195713043, 0.19662907719612122, 0.5353363752365112, -0.20914818346500397, 0.7327705025672913, 0.7889469861984253, -0.02760493941605091, -0.12398023158311844, -0.2605697810649872, 0.8007240295410156, -0.7063612341880798, -0.4325767755508423, -0.3123507797718048, 0.018668195232748985, 0.025583090260624886, 0.10665527731180191, 0.5975545644760132, 0.5110281705856323, 0.8772222995758057, -0.14243242144584656, 0.6752386093139648, 0.10199543833732605, 0.6181392669677734, -0.5839877128601074, 1.0376187562942505, -0.5422019362449646, 0.36876213550567627, 0.0036930714268237352, -0.8964182138442993, -0.8035193681716919, 0.8127617239952087, -0.16188780963420868, -0.05940307304263115, 0.7599132657051086, 0.7037708163261414, 0.12619729340076447, 0.10605612397193909, 0.4736787676811218, 0.17803074419498444, 0.8962965607643127, 0.14980241656303406, 0.31398388743400574, -0.6761847138404846, 0.433054119348526, -0.6211661696434021, 0.1217837780714035, 0.03928278014063835, -0.5326293706893921, -0.8278475403785706, -1.0044593811035156, -0.2595811188220978, 0.10715552419424057, -0.19781096279621124, 0.9147652387619019, 0.30341899394989014, -0.7221771478652954, 0.14158502221107483, 0.4237765669822693, 0.11190284043550491, -0.5117329359054565, -0.26379457116127014, 0.8901761174201965, 0.021345701068639755, -0.6377822160720825, 0.4992280602455139, 0.3448818027973175, 0.09982487559318542, -0.2932605445384979, 0.12628892064094543, -0.1427006721496582, 0.4065054655075073, 0.8777863383293152, 0.16146932542324066, -0.018072469159960747, -0.6155162453651428, -0.006631297059357166, 0.10663548111915588, 0.3207543194293976, 0.9539006948471069, -1.01572585105896, 0.1678933948278427, 0.8655259609222412, 0.7906217575073242, 0.7296600937843323, -0.1206299290060997, 0.5811195969581604, -0.8363717198371887, 0.3141561448574066, 0.41554370522499084, 0.3710959255695343, 0.42180123925209045, -0.8392009735107422, 0.7609000205993652, 0.28875067830085754, -0.47030916810035706, -0.7208037972450256, -0.12568700313568115, -1.0298608541488647, -0.16115513443946838, 0.5892597436904907, 0.16576671600341797, -0.46495693922042847, 0.0029333392158150673, -0.11929280310869217, 0.1593247354030609, -0.33792704343795776, 0.683330237865448, 0.5182175040245056, -0.39351874589920044, -0.30899330973625183, -0.5509998798370361, 0.6948036551475525, 0.15094488859176636, -0.7520889639854431, 0.08903273940086365, 0.5417905449867249, -0.2854635715484619, 0.13833613693714142, 0.6008256673812866, -0.13131754100322723, 0.10324173420667648, -0.06729636341333389, 0.21075232326984406, -0.3639134168624878, -0.48082026839256287, -0.6602898240089417, 0.43542230129241943, -0.3341065049171448, -0.10891930013895035 ]
http://arxiv.org/abs/2404.06228v2
http://arxiv.org/pdf/2404.06228v2
Understanding Cross-Lingual Alignment -- A Survey
2024-04-09T11:39:53
2024-06-11T17:33:52
Katharina Hämmerl, Jindřich Libovický, Alexander Fraser
cs.CL
cs.CL
Cross-lingual alignment, the meaningful similarity of representations across languages in multilingual language models, has been an active field of research in recent years. We survey the literature of techniques to improve cross-lingual alignment, providing a taxonomy of methods and summarising insights from throughout the field. We present different understandings of cross-lingual alignment and their limitations. We provide a qualitative summary of results from a large number of surveyed papers. Finally, we discuss how these insights may be applied not only to encoder models, where this topic has been heavily studied, but also to encoder-decoder or even decoder-only models, and argue that an effective trade-off between language-neutral and language-specific information is key.
[ -0.4793708920478821, -0.31145179271698, 0.13737128674983978, -0.0935993492603302, 0.03159318491816521, 0.11290524899959564, -0.11488799750804901, -0.8013628721237183, 0.26454871892929077, 0.23066899180412292, -0.3858849108219147, -0.20310604572296143, -0.45656153559684753, 0.26819223165512085, -0.41999340057373047, 0.6146117448806763, -0.29767268896102905, 0.6804085969924927, -0.26454272866249084, -0.5001863837242126, -0.5047214031219482, -0.4039234519004822, -0.37792378664016724, -0.25175508856773376, 0.4960328936576843, 0.07646877318620682, 0.8754964470863342, 0.7128391265869141, 0.6028441190719604, 0.21279101073741913, -0.18251635134220123, -0.018699873238801956, -0.5764243006706238, -0.05921124666929245, -0.4191591143608093, -0.477491557598114, -0.3135751485824585, -0.15827734768390656, 0.7178144454956055, 1.2200177907943726, 0.0003386054595466703, -0.08986245095729828, 0.17220145463943481, 0.4678219258785248, -0.6657026410102844, -0.3226163983345032, -0.20212534070014954, 0.37333419919013977, -0.4565803110599518, -0.06410692632198334, -0.38549405336380005, -0.16272060573101044, 0.1909634917974472, -0.6874922513961792, 0.15608075261116028, 0.1767926961183548, 0.9909581542015076, -0.004392038565129042, -0.5782862305641174, -0.3144785463809967, -0.6596082448959351, 0.908746600151062, -0.5577706098556519, 1.0433369874954224, 0.08104226738214493, 0.33996307849884033, 0.25907382369041443, -0.2241022288799286, -0.27614954113960266, 0.39076894521713257, -0.3415488302707672, 0.14400331676006317, -0.24032887816429138, -0.1889457255601883, 0.07828015834093094, 0.4020874500274658, -0.9131322503089905, 0.20203664898872375, -0.2711724638938904, -0.2177586853504181, 0.5881962776184082, 0.007808498106896877, 0.5636376142501831, 0.06158771365880966, -0.4679175317287445, -0.007000125478953123, -0.8984175324440002, 0.0166561808437109, 0.4177282750606537, 0.0867331475019455, -0.11364062875509262, 0.6477825045585632, -0.018981393426656723, 1.0253815650939941, 0.41072532534599304, -0.007027669809758663, 0.17094264924526215, -0.73737633228302, 0.07592195272445679, 0.20914895832538605, 0.4576764404773712, 0.5371695756912231, 0.1710021048784256, -0.5341260433197021, -0.16681437194347382, -0.07927820831537247, 0.1058569997549057, -0.4064246118068695, 0.1432122439146042, -0.047425154596567154, -0.6254027485847473, 0.09870472550392151, 0.07575970143079758, -0.5232349634170532, -0.25652015209198, -0.46662670373916626, 0.08483745157718658, -0.3687647879123688, -0.5362766981124878, 0.05012652277946472, -0.23770025372505188, 0.7866129875183105, 0.13797633349895477, -1.2076349258422852, 0.2061554193496704, 0.935060977935791, 0.5818372964859009, -0.16695916652679443, -0.6970274448394775, -0.31368735432624817, 0.183524951338768, -0.568683922290802, 0.592650294303894, -0.6948833465576172, -0.10459741204977036, 0.24617312848567963, 0.14725647866725922, -0.12304218858480453, -0.39556658267974854, 0.009108017198741436, -0.6506253480911255, 0.3669264018535614, -0.6758040189743042, -0.5891083478927612, -0.4193672835826874, 0.4565713107585907, -0.7670996785163879, 0.6648675799369812, -0.04593949019908905, -1.0336278676986694, 0.5304856896400452, -0.19435565173625946, -0.3232206702232361, -0.4095292389392853, -0.14135314524173737, -0.021198010072112083, 0.266361266374588, 0.410469114780426, 0.18717074394226074, -0.43695563077926636, 0.14167577028274536, -0.32643643021583557, -0.21496018767356873, 0.41948822140693665, -0.15476924180984497, 1.038818120956421, 0.30759769678115845, -0.10194720327854156, -0.1510668843984604, -0.3994672894477844, -0.11793725937604904, -0.11271732300519943, 0.0806228443980217, -0.5645999312400818, -0.3561003804206848, 0.12317770719528198, 0.30673137307167053, 0.4762689471244812, -0.6067313551902771, 0.07976227253675461, -0.2967500686645508, 0.14756017923355103, 0.13176874816417694, -0.34104102849960327, 0.8005223870277405, -0.40037259459495544, 0.749923825263977, 0.12660853564739227, 0.11157307028770447, 0.1002921462059021, -0.19900135695934296, -0.303195595741272, 0.18165649473667145, 0.8208009004592896, 0.5774886608123779, -0.7710906267166138, 0.15777134895324707, -0.5192511677742004, -0.3197263777256012, -0.9439093470573425, 0.28352659940719604, 0.6945843696594238, 0.3673050105571747, 0.15805377066135406, -0.6642810702323914, -0.4743445813655853, -0.8957865834236145, -0.5078194737434387, -0.06393586844205856, 0.27365291118621826, -0.12290224432945251, 0.1437969207763672, -0.25114336609840393, 0.8861855864524841, -0.043027374893426895, 0.1921459585428238, -0.23497901856899261, 0.23234497010707855, -0.3637301027774811, 0.4646214544773102, 0.760318398475647, -0.9451464414596558, -0.6963385343551636, 0.5761860609054565, -0.7932004332542419, -0.2634148895740509, -0.1319396048784256, -0.15661446750164032, 0.28545722365379333, 0.6079075336456299, -0.4331912398338318, 0.18755415081977844, 0.7981747984886169, -0.3159545361995697, 0.09913615882396698, 0.0027408520691096783, 0.3989684581756592, -0.8062105774879456, 0.1657799482345581, -0.06352677941322327, -0.2456568032503128, -0.9919728636741638, 0.2614041864871979, 0.2918556332588196, 0.0677121952176094, -0.5178635120391846, 0.4994843900203705, -0.9176859855651855, -0.38310104608535767, -0.04587385058403015, 0.33911168575286865, 0.11236201971769333, 0.2057855874300003, 0.43996724486351013, 0.44980430603027344, 0.610874593257904, -0.14635133743286133, 0.19506075978279114, 0.4346798360347748, -0.18394415080547333, 0.8647773265838623, -0.4244004786014557, 0.07520099729299545, -0.20582106709480286, 0.023924533277750015, -0.9892198443412781, 0.05738990008831024, 0.3929256796836853, -0.45229220390319824, 0.7761011719703674, -0.27849623560905457, -0.13243865966796875, 0.25351688265800476, -0.2637963593006134, 1.0258640050888062, 0.21068616211414337, -0.667780876159668, 0.5485334992408752, 0.6000699400901794, -0.27305111289024353, -0.9698550701141357, -0.8061445951461792, 0.06329784542322159, -0.27739182114601135, -0.7324396371841431, 0.4139863848686218, 0.2301499992609024, -0.3917900323867798, 0.2768755853176117, -0.1251230388879776, 0.035623062402009964, -0.18277348577976227, -0.2701663374900818, -0.0032542708795517683, -0.5010453462600708, -0.029657267034053802, -0.12710687518119812, -0.12837201356887817, -0.041839372366666794, -0.2701021730899811, 0.36896222829818726, 0.09458927065134048, -0.524380624294281, -0.03259286284446716, 0.6870982050895691, 0.395888090133667, -0.3540348410606384, 0.38685399293899536, 0.6224179863929749, -0.4202301502227783, 0.27492597699165344, -0.4469362795352936, 0.17462970316410065, -0.3674652576446533, 0.22292736172676086, -0.48049622774124146, -0.7638756632804871, 0.7019104957580566, 0.13266736268997192, 0.09478240460157394, 0.3876194655895233, 0.37805095314979553, 0.007963457144796848, 1.1560133695602417, 0.8808415532112122, -0.09666380286216736, 0.3851347863674164, 0.15169669687747955, 0.4260041415691376, -0.7837727665901184, -0.3211723268032074, -0.588215172290802, -0.3487532436847687, -0.7129210233688354, -0.32353919744491577, -0.20173141360282898, 0.11103473603725433, 0.020148780196905136, 0.5116651058197021, -0.3141716420650482, 0.3644217848777771, 0.18957599997520447, -0.4778251647949219, 0.16295431554317474, -0.09198249131441116, -0.07702680677175522, -0.34002262353897095, -0.9763176441192627, -0.22203940153121948, 0.6338863372802734, 0.33710214495658875, 1.1111066341400146, 0.40412038564682007, 0.718137264251709, -0.28750520944595337, 0.0500546395778656, -0.7051140069961548, 0.1526818424463272, -0.1281053125858307, -0.6841312050819397, -0.3943304717540741, -0.39743292331695557, -1.0076168775558472, 0.3949156701564789, -0.010039307177066803, -0.538923442363739, 0.692257821559906, -0.007365059107542038, -0.12698152661323547, 0.27342474460601807, -0.49091237783432007, 1.1288877725601196, -0.6465227603912354, -0.1740707904100418, 0.10658056288957596, -0.7779945135116577, 0.19098611176013947, -0.0754951685667038, 0.2799588739871979, 0.26920899748802185, -0.23461207747459412, 0.6957105994224548, -0.1648714244365692, 0.6752731204032898, -0.07222297042608261, -0.6470309495925903, 0.16831143200397491, 0.05249182507395744, 0.0033209167886525393, -0.3490656316280365, 0.13582050800323486, 0.3557552695274353, 0.39165282249450684, -0.5808684229850769, -0.8588258624076843, 0.5371981263160706, -0.7073466777801514, -0.41208189725875854, -0.3485630452632904, -0.8493860960006714, -0.3417850732803345, 0.16902728378772736, 0.4193265438079834, 0.4049973785877228, -0.5149012804031372, 0.04981096088886261, 0.5184691548347473, -0.06214269623160362, 0.29903748631477356, 0.24859081208705902, -0.5805783271789551, -0.44725459814071655, 0.9636063575744629, 0.36627140641212463, 0.47227001190185547, 0.996462881565094, -0.15589064359664917, -0.5343101620674133, -0.40388888120651245, -0.6475412249565125, 0.411026269197464, -0.8780678510665894, -0.01641080714762211, -0.37607502937316895, 0.028311679139733315, -0.6801498532295227, -0.38357657194137573, -0.2746620178222656, -0.7530714273452759, -0.1425786018371582, 0.002760424977168441, 0.05632681027054787, 0.8794337511062622, -0.2711794674396515, 0.12425195425748825, -0.8363385796546936, 0.14098699390888214, 0.07551860809326172, 0.2052498757839203, 0.03725408762693405, -0.38132017850875854, -0.5126772522926331, 0.16964924335479736, 0.08414951711893082, -0.9274106621742249, 0.39230042695999146, 0.06312351673841476, 0.7160783410072327, 0.5680928826332092, -0.09809673577547073, 0.999273955821991, -0.32335880398750305, 0.777913510799408, 0.3233070969581604, -1.0985840559005737, 0.11242380738258362, -0.11688663810491562, 0.4784708023071289, 0.5011213421821594, 0.770125687122345, -0.9294606447219849, -0.21967467665672302, -0.35163789987564087, -0.4878259003162384, 0.4442603290081024, -0.14025746285915375, -0.2355290800333023, 0.25473541021347046, 0.02656998299062252, 0.38750892877578735, -0.12097035348415375, -0.6195183396339417, 0.1088729053735733, -0.2505423426628113, -0.47584405541419983, -0.16192017495632172, -0.0016239640535786748, -0.29416677355766296, -0.22292573750019073, 0.5181414484977722, -0.11738608777523041, 0.08939211815595627, -0.051454056054353714, -0.6268224716186523, -0.27823004126548767, 0.2294485867023468, 0.5975695848464966, 0.925429105758667, 0.15083520114421844, 0.32647067308425903, 0.3322533071041107, -0.22817672789096832, 0.2025715708732605, -0.00901838205754757, -0.16172631084918976, 0.07779762148857117, 0.5392478108406067, 0.6761560440063477, 0.37589365243911743, -0.42806077003479004, 0.4240140914916992, -0.11576227098703384, -0.07972007244825363, 0.20536673069000244, -0.41069480776786804, 0.18647156655788422, 0.10745278745889664, -0.07667683809995651, -0.0801696628332138, 0.10498789697885513, -0.7257013916969299, -0.10442759096622467, 0.5601012110710144, -0.6966807246208191, -0.5221171379089355, 0.466422438621521, 0.08539944887161255, -0.11926661431789398, 0.3481127619743347, -0.0006679286598227918, -0.5304265022277832, 0.3349120020866394, 0.6863990426063538, 0.6913025975227356, -0.16394780576229095, -0.007237324956804514, 0.05269544944167137, 0.28218090534210205, -0.051319416612386703, 0.3230530917644501, -0.2163533866405487, -0.8547633290290833, -0.33362701535224915, -0.2752162516117096, -0.5497614145278931, -0.44646021723747253, -1.0188807249069214, 0.23241007328033447, 0.1303848773241043, 0.025052234530448914, 0.08319691568613052, -0.08028804510831833, -0.6798920035362244, 0.031432073563337326, 0.17426776885986328, 0.883927047252655, -0.9250552654266357, 0.7350148558616638, 0.9400973320007324, -0.22850604355335236, -0.6663306355476379, -0.012650953605771065, 0.18854722380638123, -0.6726771593093872, 0.48879873752593994, -0.13647399842739105, -0.2729019820690155, -0.3816044330596924, -0.12647145986557007, -0.9718796610832214, 0.8386357426643372, 0.3940121829509735, -0.8184073567390442, -0.18608924746513367, 0.587931215763092, 0.5803125500679016, -0.45278221368789673, 0.11362682282924652, 0.5944548845291138, 0.4951171278953552, -0.25359734892845154, -1.0833845138549805, 0.013144084252417088, -0.3969663083553314, 0.12503522634506226, 0.47047165036201477, -0.5604256987571716, 0.6152270436286926, 0.19315573573112488, -0.26337841153144836, 0.002536917570978403, 0.5397466421127319, -0.20222407579421997, 0.29912620782852173, 0.35727211833000183, 0.6548283696174622, 0.46871253848075867, -0.04913284629583359, 0.9067776203155518, -0.5321935415267944, 0.291733056306839, 0.7441352009773254, -0.300385445356369, 0.6643003821372986, 0.769740879535675, 0.09441948682069778, 0.10100262612104416, 0.806647539138794, 0.10051999986171722, 0.5026871562004089, -0.1379755288362503, 0.21792364120483398, -0.3467041552066803, -0.08870359510183334, -0.620498538017273, 0.5300918817520142, 0.23449130356311798, -0.15703001618385315, -0.3045293092727661, -0.0063309380784630775, -0.2680341899394989, -0.0024456793908029795, -0.30475354194641113, 0.9157366752624512, 0.10600940138101578, -0.8405563831329346, 0.675555408000946, -0.23269982635974884, 0.6994121670722961, -0.29810577630996704, 0.09448806196451187, -0.1967170536518097, 0.03434602543711662, -0.2684507369995117, -0.8284754753112793, 0.5836227536201477, -0.07541152089834213, -0.12394454330205917, -0.57960045337677, 0.6917049884796143, -0.8429856896400452, -0.30868491530418396, 0.5905295610427856, 0.7514445185661316, 0.1728677600622177, 0.5955931544303894, -0.5114735960960388, 0.302522748708725, -0.014884642325341702, 0.29466137290000916, 0.40273380279541016, 0.7818039655685425, -0.1378074288368225, 0.14011938869953156, 0.09037274122238159, 0.10071668028831482, 0.3064763844013214, 0.052704259753227234, 0.40074416995048523, -0.8581414818763733, -0.2900405526161194, -0.53782719373703, 0.30608847737312317, -0.01891765370965004, -0.5228287577629089, 0.9599612951278687, 0.596297562122345, 1.4695242643356323, 0.0014298476744443178, 0.5598933696746826, 0.03245016187429428, 0.39711353182792664, -0.6066589951515198, 0.6572486162185669, -0.8027452826499939, 0.015835881233215332, -0.14492811262607574, -0.7890780568122864, -0.48167291283607483, 0.5428635478019714, -0.37013429403305054, -0.15216539800167084, 0.5832430720329285, 0.8297290802001953, -0.36920952796936035, 0.18794561922550201, 0.29210761189460754, -0.16746379435062408, -0.06000876426696777, 0.3920655846595764, 1.2880072593688965, -0.39854881167411804, 0.5269492268562317, -0.33133551478385925, 0.08602318167686462, -0.11857502907514572, -0.6525031924247742, -0.5766178965568542, -0.7516995668411255, -0.4852687418460846, -0.010223501361906528, 0.17182253301143646, 0.541624903678894, 0.5576171875, -0.8521597981452942, -0.47275757789611816, 0.3293321132659912, 0.2778933048248291, -0.49271124601364136, -0.06588447839021683, 0.06964462995529175, -0.28989189863204956, -0.6716407537460327, 0.1956174224615097, 0.12371405959129333, -0.05168241634964943, -0.1669175624847412, -0.33733728528022766, -0.2608652710914612, -0.031018592417240143, 0.32632574439048767, 0.6094964146614075, -0.8544135093688965, -0.3750242590904236, 0.34577879309654236, -0.3002490699291229, 0.35950225591659546, 0.9771008491516113, -0.15624502301216125, 0.48179158568382263, 0.9732837677001953, 0.864498496055603, 0.40701547265052795, 0.06344901025295258, 0.8733847737312317, -0.5903911590576172, -0.21503594517707825, 0.17604316771030426, 0.6808676719665527, 0.6717970967292786, -0.22068023681640625, 0.4335452616214752, -0.14594244956970215, -0.38194823265075684, -0.784225583076477, 0.3632737100124359, -1.0010607242584229, -0.26891589164733887, 0.9037777185440063, -0.09683424234390259, -0.3478616178035736, -0.17364919185638428, -0.04933668300509453, 0.3760654926300049, 0.19991663098335266, 0.5274292826652527, 0.8095943927764893, -0.21374733746051788, -0.38427048921585083, -0.07449592649936676, 0.2654004693031311, 0.5939955711364746, -0.5109982490539551, 0.10761543363332748, 0.3581562340259552, 0.30715233087539673, 0.5372883081436157, 0.2704336643218994, -0.3944357931613922, 0.39733004570007324, 0.1394127905368805, 0.05167414993047714, 0.4943585991859436, -0.40746045112609863, -0.8362988233566284, 0.12341618537902832, 0.13416965305805206, -0.05299455299973488 ]
http://arxiv.org/abs/2404.06224v1
http://arxiv.org/pdf/2404.06224v1
Low-Cost Generation and Evaluation of Dictionary Example Sentences
2024-04-09T11:26:59
2024-04-09T11:26:59
Bill Cai, Clarence Boon Liang Ng, Daniel Tan, Shelvia Hotama
cs.CL
cs.CL, cs.AI, cs.LG
Dictionary example sentences play an important role in illustrating word definitions and usage, but manually creating quality sentences is challenging. Prior works have demonstrated that language models can be trained to generate example sentences. However, they relied on costly customized models and word sense datasets for generation and evaluation of their work. Rapid advancements in foundational models present the opportunity to create low-cost, zero-shot methods for the generation and evaluation of dictionary example sentences. We introduce a new automatic evaluation metric called OxfordEval that measures the win-rate of generated sentences against existing Oxford Dictionary sentences. OxfordEval shows high alignment with human judgments, enabling large-scale automated quality evaluation. We experiment with various LLMs and configurations to generate dictionary sentences across word classes. We complement this with a novel approach of using masked language models to identify and select sentences that best exemplify word meaning. The eventual model, FM-MLM, achieves over 85.1% win rate against Oxford baseline sentences according to OxfordEval, compared to 39.8% win rate for prior model-generated sentences.
[ -0.10180485993623734, -0.8177298307418823, 0.42669567465782166, -0.0857042744755745, -0.2604200541973114, -0.45133325457572937, -0.03269639611244202, -0.23659895360469818, 0.12378956377506256, 0.28090694546699524, -0.3830001950263977, -0.3587949573993683, -0.3283140957355499, 0.23431181907653809, -0.6115114092826843, 0.7616316676139832, -0.005155753344297409, -0.2004794180393219, -0.450690358877182, -0.05788794904947281, -0.38126081228256226, -0.3372521996498108, -0.4272010028362274, -0.30947813391685486, 0.05698421224951744, 0.4863675534725189, 0.7801971435546875, 0.6136351227760315, 0.6594830751419067, 0.35105445981025696, 0.15330207347869873, 0.1809369921684265, -0.5274033546447754, 0.048094335943460464, -0.03120163269340992, -0.19007575511932373, -0.3076055347919464, 0.42268794775009155, 0.31039994955062866, 0.7865252494812012, -0.5300421118736267, 0.018894340842962265, 0.12474113702774048, 0.5425045490264893, -0.5059023499488831, -0.048749808222055435, -1.0771762132644653, 0.0064344643615186214, 0.1708897203207016, -0.03990153968334198, -0.0815233364701271, -0.362745463848114, 0.08262456953525543, -0.6206388473510742, 0.2919171452522278, 0.21468153595924377, 1.079422116279602, -0.1141807958483696, -0.12770645320415497, -0.8082032203674316, -0.13933663070201874, 0.6927477121353149, -0.7839955687522888, 0.2826525568962097, 0.2886459231376648, 0.3899593651294708, -0.14223235845565796, -0.7993265986442566, -0.6075338125228882, -0.622307300567627, -0.05455533042550087, 0.21575786173343658, -0.3399534821510315, -0.00691352179273963, -0.133749321103096, 0.47440168261528015, -0.5517565011978149, -0.1622883528470993, -0.217643141746521, 0.015395953319966793, 0.6584382653236389, 0.4437960684299469, 0.026918264105916023, -0.618385910987854, -0.29321494698524475, 0.0018495875410735607, -0.5719128847122192, 0.07078997045755386, 0.4311215579509735, 0.21236233413219452, -0.05710108205676079, 0.9176805019378662, -0.5447782278060913, 0.6762857437133789, 0.03301467001438141, -0.27739664912223816, 0.1903589963912964, -0.6752834320068359, -0.4696822464466095, -0.18470196425914764, 0.6867313385009766, 0.7890504002571106, 0.36764007806777954, -0.2970268726348877, -0.47686436772346497, 0.27565720677375793, 0.30805936455726624, -1.005305528640747, -0.1553078144788742, 0.11368227750062943, -0.7388021349906921, -0.8102124929428101, -0.059548746794462204, -0.3404543697834015, -0.20316928625106812, -0.13391144573688507, 0.6801797151565552, -0.6305896043777466, 0.152660071849823, 0.14245180785655975, -0.3752325773239136, 0.06183808669447899, 0.087678924202919, -0.6150397062301636, 0.27547040581703186, 0.5180652737617493, 0.8971574902534485, -0.1374044567346573, -0.13184912502765656, -0.5982872843742371, -0.19692181050777435, -0.6259458661079407, 0.5868149995803833, -0.1828523725271225, -0.5212678909301758, 0.11006712913513184, -0.28461194038391113, 0.27815380692481995, -0.6766135692596436, 0.4391631484031677, -0.04496810585260391, 0.29551753401756287, 0.2553994059562683, -0.916975200176239, 0.2212871015071869, 0.4430362284183502, -0.13959284126758575, 0.8949779272079468, 0.26772958040237427, -0.31696534156799316, 0.4787338674068451, -0.7154123783111572, -0.5054879784584045, 0.4647504389286041, -0.19501470029354095, -0.3057933449745178, 0.4499843120574951, -0.05558475852012634, 0.5843252539634705, -0.34317636489868164, 0.14306913316249847, -0.24576877057552338, -0.10918617248535156, 0.2426043152809143, -0.4165557622909546, 0.5957818031311035, 0.4182000160217285, -0.3221632242202759, -0.26250430941581726, -0.9068545699119568, 0.05969257280230522, 0.1750878542661667, -0.5048139095306396, -0.524238646030426, 0.06441140919923782, 0.13944564759731293, 0.19927555322647095, 0.20146077871322632, -0.5066153407096863, 0.006225815042853355, -0.861107349395752, 0.23169240355491638, 0.599734902381897, 0.07219116389751434, 0.3463748097419739, -0.4219919741153717, 0.45323148369789124, -0.19170396029949188, 0.22792458534240723, -0.35741978883743286, -0.5198261737823486, -0.7887901663780212, -0.19593603909015656, 0.11771460622549057, 0.38812220096588135, -0.7021864652633667, 0.6235091686248779, -0.28284141421318054, -0.5948869585990906, -0.7153289318084717, 0.5747634172439575, 0.4257039725780487, 0.7994327545166016, 0.19636152684688568, -0.2348298877477646, -0.16759951412677765, -1.2095168828964233, -0.3651943504810333, -0.18520906567573547, -0.25642862915992737, 0.5083678960800171, 0.4864877462387085, -0.09110412001609802, 1.1829211711883545, -0.40018534660339355, -0.3805621266365051, -0.20840629935264587, 0.3442377746105194, 0.12801198661327362, 0.307910293340683, 0.5861879587173462, -0.6020022034645081, -0.1267796754837036, -0.22582273185253143, -0.6656522750854492, -0.36366310715675354, -0.16641248762607574, -0.2204800248146057, 0.216263085603714, 0.2571251392364502, -0.4012388288974762, 0.4425296187400818, 0.3905656933784485, -0.5826640725135803, 0.37956035137176514, -0.038581375032663345, 0.23677174746990204, -1.1917591094970703, -0.196181520819664, -0.03468677029013634, -0.41268688440322876, -0.2860988974571228, 0.38630351424217224, -0.020879412069916725, -0.1608775109052658, -0.6051058173179626, 0.5433334112167358, -0.48755717277526855, 0.16203801333904266, -0.28369998931884766, 0.5315208435058594, 0.10106252878904343, 0.09993736445903778, -0.04022839292883873, 0.5572441220283508, 0.2047702521085739, -0.36595308780670166, 0.6317393183708191, 0.192991241812706, -0.7889074087142944, 0.6775076389312744, -0.6901063919067383, -0.14578837156295776, 0.12158478796482086, -0.29751527309417725, -1.1408581733703613, 0.025701776146888733, -0.12865707278251648, -0.3675461411476135, -0.07183954864740372, 0.2544621229171753, -0.3835950493812561, -0.3734658658504486, -0.49351999163627625, -0.21362483501434326, 0.8742905259132385, -0.554478108882904, 0.2634648382663727, 0.19464901089668274, -0.009568355046212673, -0.175968736410141, -0.7854287624359131, 0.3144496977329254, -0.06742127984762192, -0.6158190965652466, -0.03324391692876816, -0.13319618999958038, -0.5301511883735657, 0.2527965307235718, -0.049526236951351166, 0.2281864434480667, 0.5030865669250488, 0.30231502652168274, 0.09418176859617233, -0.3324914574623108, 0.0925091877579689, 0.039188213646411896, 0.13369297981262207, -0.053281720727682114, -0.2276671677827835, 0.32974445819854736, -0.1767796277999878, -0.17069745063781738, -0.20216280221939087, 0.4284970164299011, 0.039860259741544724, 0.1677878051996231, 0.6249899864196777, 0.03643091022968292, -0.42672884464263916, -0.3228133022785187, -0.5064265727996826, -0.12490703910589218, -0.48144790530204773, 0.3971957266330719, -0.4917345345020294, -0.4817894995212555, -0.05775411054491997, 0.1355074942111969, 0.12355762720108032, 0.5120630860328674, 0.6493353843688965, -0.23526637256145477, 0.8003622889518738, 0.3519674241542816, 0.19403228163719177, 0.14548489451408386, -0.3392764627933502, 0.0714203491806984, -0.324348509311676, 0.21392302215099335, -0.3416694104671478, -0.27690428495407104, -0.24566127359867096, -0.27212491631507874, 0.3033673167228699, 0.6339377164840698, 0.10292069613933563, 0.3709094524383545, -0.5044884085655212, 0.5350369215011597, 0.7417915463447571, -0.10621897131204605, 0.2885572016239166, 0.18618173897266388, -0.35676252841949463, 0.1987917423248291, -0.6218734979629517, -0.849894106388092, 1.230804443359375, -0.040468331426382065, 0.7979925274848938, 0.15676864981651306, 0.8891335725784302, 0.5944461226463318, 0.5803588628768921, -0.9473978877067566, 0.49524161219596863, -0.19477109611034393, -0.3487473726272583, -0.23675908148288727, -0.40804702043533325, -0.8522041440010071, 0.1879204660654068, -0.42218586802482605, -0.3835505247116089, -0.11871388554573059, 0.30202946066856384, -0.24224093556404114, -0.1004958301782608, -0.8499862551689148, 0.934098482131958, -0.23903918266296387, -0.14785240590572357, -0.004168692044913769, -0.35065799951553345, 0.5571143627166748, -0.16274847090244293, 0.2507801353931427, -0.13894614577293396, -0.15706339478492737, 0.6881745457649231, -0.8212757110595703, 0.45840445160865784, -0.03457913547754288, -0.0012712181778624654, 0.3319702744483948, 0.3499561548233032, 0.20736944675445557, -0.042999785393476486, -0.33333975076675415, 0.20845530927181244, -0.009228089824318886, -0.24009226262569427, -0.4222615361213684, 0.7590749859809875, -0.47465991973876953, -0.4751651883125305, -0.15330509841442108, -0.5036190748214722, -0.08405071496963501, 0.09583479166030884, 0.3792877495288849, 0.5892780423164368, -0.4666449725627899, 0.2539539337158203, -0.09053803235292435, -0.15757928788661957, 0.6077131032943726, 0.458278089761734, -0.16506986320018768, -0.5998803973197937, 0.6608438491821289, -0.06528710573911667, 0.5672823786735535, 0.2917850613594055, 0.4103485643863678, -0.1949968934059143, -0.44420409202575684, -0.4501810073852539, -0.11132677644491196, -0.538054347038269, -0.5249100923538208, -0.5025035738945007, 0.013313071802258492, -0.5976849794387817, -0.592536211013794, -0.039763182401657104, -0.7170549631118774, -0.04728377237915993, -0.15359346568584442, 0.3468962609767914, 0.5343561768531799, -0.1971457302570343, 0.4793432056903839, -0.5501748919487, 0.5460397601127625, 0.4953043758869171, 0.057632848620414734, -0.1760660856962204, -0.3490729331970215, -0.323505699634552, -0.020711401477456093, -0.6575102210044861, -0.9145241975784302, 0.5706294775009155, 0.6251882314682007, 0.35938382148742676, 0.678657591342926, -0.022273872047662735, 0.6761990785598755, -0.8740443587303162, 1.1839529275894165, 0.5184631943702698, -1.1101266145706177, 0.7469770312309265, 0.13877668976783752, 0.02067463845014572, 0.4682447016239166, -0.036243315786123276, -0.47055238485336304, -0.6705350279808044, -0.6366514563560486, -0.6924145817756653, 0.48149552941322327, 0.4035247564315796, 0.3388480842113495, -0.584226667881012, 0.3734932541847229, 0.06617503613233566, 0.39116817712783813, -0.47509145736694336, -0.2166048139333725, -0.36311817169189453, -0.6976706385612488, -0.301491916179657, -0.18404275178909302, -0.08997146785259247, -0.012145048007369041, 0.6837563514709473, -0.1156798005104065, 0.03561170771718025, 0.24627280235290527, -0.37017709016799927, -0.08898667246103287, 0.26248258352279663, 0.5036333203315735, 0.3953738808631897, -0.30559420585632324, 0.08286748081445694, 0.040793899446725845, -0.24485506117343903, 0.19462279975414276, 0.11459675431251526, -0.34641292691230774, 0.29043370485305786, 0.43988242745399475, 0.5780192017555237, 0.045375097543001175, -0.89223712682724, 1.0212241411209106, 0.029286261647939682, -0.39149653911590576, -0.2184944748878479, 0.10119570791721344, 0.10312008857727051, -0.0056565687991678715, 0.32260358333587646, -0.1838904768228531, 0.40157437324523926, -0.64580237865448, 0.3898639380931854, 0.8278380632400513, -0.17349311709403992, 0.0850013867020607, 0.6967342495918274, 0.37884581089019775, -0.5348755121231079, 0.48077481985092163, -0.394653856754303, -0.2344679832458496, 0.5355030298233032, 0.455552875995636, 0.7658485174179077, -0.16037283837795258, 0.14203467965126038, 0.04191920906305313, 0.5840599536895752, 0.24750493466854095, 0.25979092717170715, -0.10334497690200806, -0.8146220445632935, 0.015342227183282375, -1.0117952823638916, -0.22312936186790466, 0.22405442595481873, -0.39206215739250183, 0.3785818815231323, -0.13293711841106415, 0.16507114470005035, -0.0014231972163543105, -0.04554527997970581, -0.6651415228843689, 0.37651506066322327, 0.1752142757177353, 1.1678645610809326, -0.8507797122001648, 0.635959267616272, 0.3126114010810852, -0.6137603521347046, -0.64555424451828, -0.401497483253479, -0.166543647646904, -0.8405079245567322, 0.8152896165847778, 0.19451725482940674, -0.078243188560009, -0.1562708020210266, -0.5385848879814148, -0.2571222484111786, 0.9863362908363342, 0.2415039837360382, -0.6618503332138062, -0.12065307796001434, 0.22632643580436707, 0.31934085488319397, -0.6870152950286865, 0.3538414239883423, 0.4645020663738251, 0.06953255087137222, -0.16895294189453125, -0.7540982961654663, -0.1816415935754776, -0.2562199831008911, 0.2797566056251526, 0.027820685878396034, -0.03918210417032242, 0.8609450459480286, -0.04550453647971153, -0.19618377089500427, 0.5239501595497131, 0.49757450819015503, 0.18575507402420044, 0.26305362582206726, 0.6475053429603577, 0.8168799877166748, 0.4506630003452301, 0.0736532136797905, 1.311241865158081, -0.31607529520988464, 0.37072649598121643, 1.118073582649231, -0.3557564914226532, 1.0041866302490234, 0.3472409248352051, 0.0352560319006443, 0.31381428241729736, 0.44485875964164734, -0.01528120692819357, 0.6304244995117188, 0.5091530084609985, -0.07594072818756104, -0.3751535713672638, 0.0972786471247673, -0.15568554401397705, 0.42718151211738586, 0.135190948843956, -0.5960898399353027, -0.3963519036769867, 0.21905365586280823, -0.2103586047887802, 0.19591370224952698, -0.3595128059387207, 0.9397566318511963, 0.005709538236260414, -0.2439422458410263, 0.7794718742370605, 0.13061320781707764, 0.9236416220664978, -0.5182666182518005, -0.1688043177127838, -0.5353937149047852, 0.042514413595199585, 0.011773697100579739, -0.37163978815078735, 0.1420864313840866, 0.33991193771362305, -0.09313668310642242, -0.12497211992740631, 0.46904677152633667, -0.4872203767299652, -0.8641639947891235, -0.06619642674922943, 0.513087272644043, 0.49021586775779724, 0.03849727287888527, -0.6555299758911133, -0.49757274985313416, -0.3338293433189392, -0.32485660910606384, 0.01113076601177454, 0.3340875506401062, 0.24902062118053436, 0.3281519412994385, 0.6222556829452515, 0.4021303355693817, 0.11682373285293579, -0.09169430285692215, 0.41200393438339233, -0.5311274528503418, -0.47379350662231445, -0.7966374754905701, 0.31707319617271423, -0.3158586919307709, -0.40402165055274963, 0.7634149193763733, 1.0128109455108643, 0.7433105707168579, -0.1448700875043869, 0.7808603644371033, -0.09189201891422272, 0.5335045456886292, -0.5485548377037048, 0.917512059211731, -0.9217101335525513, -0.01966630481183529, -0.16995255649089813, -0.6516295075416565, -0.07379420846700668, 0.8572527766227722, 0.09492168575525284, -0.2159498631954193, 0.7088924646377563, 0.9945611953735352, -0.22969140112400055, -0.27981775999069214, 0.7517077326774597, 0.2771061658859253, 0.20056171715259552, 0.49780797958374023, 0.8664327263832092, -0.6238132119178772, 0.6692386269569397, -0.3404163420200348, -0.34178560972213745, -0.22890813648700714, -1.122137427330017, -0.6905455589294434, -0.56147700548172, -0.28290891647338867, -0.4719541072845459, -0.07360823452472687, 1.105403184890747, 0.7915045619010925, -0.8199746012687683, -0.393685519695282, -0.2379455417394638, -0.038162894546985626, -0.30292874574661255, -0.353602796792984, 0.24087080359458923, -0.7002266049385071, -0.6831701397895813, 0.6098334789276123, 0.20253732800483704, -0.1297728717327118, -0.11890856921672821, -0.0539601631462574, -0.11983036249876022, 0.5548299551010132, 0.7807357907295227, -0.25260990858078003, -0.9373270869255066, -0.35542550683021545, -0.18535466492176056, -0.2708994150161743, -0.1581571102142334, 0.6570479273796082, -0.8601853847503662, 0.297085702419281, 0.16148079931735992, 0.6043831706047058, -0.005915455054491758, 0.15685464441776276, 0.4436599016189575, -0.6712750792503357, -0.01153940986841917, 0.07627061009407043, 0.5127142667770386, 0.43854013085365295, -0.11470069736242294, 0.5672513842582703, 0.44459599256515503, -0.2765064537525177, -0.9662385582923889, 0.11582791060209274, -0.7517444491386414, -0.3452301025390625, 1.278840184211731, -0.10719646513462067, -0.21657107770442963, 0.34811317920684814, -0.1898876428604126, 0.01739072985947132, -0.2480829358100891, 0.8179961442947388, 0.723240852355957, -0.07438986748456955, 0.07811440527439117, -0.21809393167495728, 0.472074419260025, 0.2347676306962967, -0.8138981461524963, -0.14746080338954926, 0.8113396167755127, 0.41335007548332214, 0.08365655690431595, 0.3084496557712555, 0.19430041313171387, 0.2262316346168518, 0.09955623745918274, 0.33893883228302, -0.231924369931221, 0.07124308496713638, -0.47141730785369873, 0.4162988066673279, -0.06405653059482574, -0.4456338882446289 ]
http://arxiv.org/abs/2404.06217v1
http://arxiv.org/pdf/2404.06217v1
VI-OOD: A Unified Representation Learning Framework for Textual Out-of-distribution Detection
2024-04-09T11:10:00
2024-04-09T11:10:00
Li-Ming Zhan, Bo Liu, Xiao-Ming Wu
cs.CL
cs.CL
Out-of-distribution (OOD) detection plays a crucial role in ensuring the safety and reliability of deep neural networks in various applications. While there has been a growing focus on OOD detection in visual data, the field of textual OOD detection has received less attention. Only a few attempts have been made to directly apply general OOD detection methods to natural language processing (NLP) tasks, without adequately considering the characteristics of textual data. In this paper, we delve into textual OOD detection with Transformers. We first identify a key problem prevalent in existing OOD detection methods: the biased representation learned through the maximization of the conditional likelihood $p(y\mid x)$ can potentially result in subpar performance. We then propose a novel variational inference framework for OOD detection (VI-OOD), which maximizes the likelihood of the joint distribution $p(x, y)$ instead of $p(y\mid x)$. VI-OOD is tailored for textual OOD detection by efficiently exploiting the representations of pre-trained Transformers. Through comprehensive experiments on various text classification tasks, VI-OOD demonstrates its effectiveness and wide applicability. Our code has been released at \url{https://github.com/liam0949/LLM-OOD}.
[ -0.27660441398620605, -0.5009207129478455, 0.7129807472229004, -0.0642564445734024, -0.42195507884025574, -0.16760753095149994, -0.3875992000102997, -0.40176916122436523, 0.09481335431337357, 0.9193128943443298, -0.5134057402610779, -0.6163725852966309, -0.3956792950630188, 0.17006078362464905, -0.4755428731441498, 0.6685905456542969, -0.09691441804170609, -0.2617569863796234, -0.2814524471759796, -0.38860639929771423, -0.4383678734302521, -0.37992990016937256, 0.026600049808621407, -0.44321364164352417, 0.10638080537319183, 0.4395206868648529, 0.5671141743659973, 0.5640887022018433, 0.601603627204895, 0.4030749499797821, 0.07285619527101517, 0.3225414752960205, -0.5080682635307312, 0.4666121006011963, -0.2965785562992096, -0.7500759363174438, -0.26752805709838867, -0.4087420105934143, 0.8481003642082214, 0.2310130000114441, -0.2708216607570648, -0.08152355998754501, -0.023278241977095604, 0.5649499297142029, -0.9490731358528137, 0.16145576536655426, -0.6727486252784729, 0.42729300260543823, -0.3318019509315491, -0.37294623255729675, -0.8942117691040039, -0.047806479036808014, -0.009972646832466125, -0.6911635398864746, 0.36580467224121094, -0.028672361746430397, 0.7734107375144958, 0.296586275100708, -0.3752489387989044, -0.30722010135650635, -0.8121810555458069, 0.9261636734008789, -0.3579634726047516, 0.25080832839012146, 0.26373711228370667, 0.2131159007549286, -0.1666635125875473, -0.7148528695106506, -0.7916224002838135, -0.048083946108818054, -0.07542450726032257, 0.3798460066318512, -0.18702596426010132, 0.11215396970510483, -0.03160803020000458, 0.8411945104598999, -0.41671308875083923, 0.1371704488992691, -0.05574401468038559, 0.2074485421180725, 0.47333770990371704, 0.03046858124434948, 0.3984968662261963, -0.24780137836933136, -0.7560339570045471, -0.2768217921257019, -0.16993576288223267, -0.2275685966014862, 0.5257048010826111, 0.07994955778121948, -0.17646683752536774, 0.7116581797599792, 0.21714657545089722, 0.4806284010410309, 0.09817405790090561, 0.07666948437690735, 0.4853578805923462, -0.20952722430229187, -0.44902312755584717, -0.022935809567570686, 1.0682941675186157, 0.06600090861320496, -0.010605844669044018, -0.009015253745019436, -0.41779521107673645, 0.02775772660970688, 0.42339837551116943, -0.5495189428329468, 0.15448732674121857, -0.2696291208267212, -0.5631411075592041, -0.3539704382419586, 0.24690823256969452, -1.096970558166504, -0.7368021607398987, -0.17039568722248077, 0.432613343000412, -0.5566234588623047, -0.45782315731048584, 0.520097553730011, -0.2940593361854553, 0.1796417534351349, 0.0040101828053593636, -0.9996077418327332, 0.02984704077243805, 0.23600322008132935, 0.652565598487854, -0.3172997832298279, -0.14745554327964783, -0.6614044308662415, 0.029172277078032494, -0.20118772983551025, 0.9065316319465637, -0.40206167101860046, -0.37257370352745056, 0.3073992133140564, -0.2645176351070404, -0.28654029965400696, -0.5762956142425537, 0.7247238159179688, -0.34222733974456787, 0.3612874448299408, 0.05188848450779915, -0.45444467663764954, 0.016137372702360153, -0.053988005965948105, -0.8566797971725464, 1.2313910722732544, 0.31186795234680176, -0.9199993014335632, 0.45751139521598816, -0.52613765001297, -0.23230883479118347, -0.018098996952176094, -0.5138611793518066, -0.6147366166114807, 0.3326040506362915, 0.413167804479599, 0.433010995388031, -0.48431017994880676, 0.16209115087985992, -0.16936025023460388, -0.3548964858055115, 0.002255764091387391, -0.811355471611023, 0.7127177715301514, -0.03841105103492737, -0.41523146629333496, -0.026062963530421257, -0.9150460958480835, -0.3216373026371002, 0.1435076743364334, -0.22893933951854706, -0.44189444184303284, 0.004942615050822496, 0.2513454258441925, -0.16470910608768463, -0.1617179960012436, -0.6200230717658997, 0.3714330494403839, -0.5818236470222473, 0.3490752577781677, 0.5447012186050415, -0.20543523132801056, 0.8611341714859009, 0.052446890622377396, 0.6824150085449219, 0.0417744442820549, 0.06420739740133286, -0.5091232657432556, -0.6349652409553528, -0.6433134078979492, -0.401921808719635, 0.016694137826561928, 0.4813934564590454, -1.2990522384643555, 0.8244909048080444, -0.2211650162935257, -0.12249097973108292, -0.2866972088813782, 0.2107524424791336, 0.36753809452056885, 0.5352475047111511, 0.6111060976982117, -0.3137704133987427, -0.5062831044197083, -0.4126895070075989, -0.4043304920196533, -0.3603205382823944, 0.041377075016498566, -0.19501669704914093, 0.45086026191711426, -0.7089335322380066, 1.3492460250854492, -0.48602741956710815, -0.9273703694343567, -0.6103478074073792, 0.3465053141117096, 0.2287617176771164, 0.2697362005710602, 0.7678685784339905, -1.0516669750213623, -0.39117860794067383, 0.29202601313591003, -0.9785447120666504, -0.025493979454040527, -0.23122461140155792, -0.16571442782878876, 0.22533482313156128, 0.8031220436096191, -0.8015660643577576, 0.8843572735786438, 0.31004494428634644, -0.32197105884552, 0.2327180951833725, -0.502326250076294, -0.2878919839859009, -1.187652826309204, -0.33992770314216614, 0.07117694616317749, -0.43914535641670227, -0.396737664937973, 0.16523036360740662, 0.20323136448860168, 0.04817584156990051, -0.3369641602039337, 0.33230099081993103, -0.42747169733047485, 0.16954348981380463, 0.00973240565508604, 0.12281360477209091, 0.3748916685581207, 0.3399237394332886, 0.1612282693386078, 0.5417526364326477, 0.42783278226852417, -0.39357542991638184, 0.38778629899024963, 0.27388355135917664, -0.2155308723449707, 0.8471968770027161, -0.30928894877433777, -0.0754879042506218, -0.7164160013198853, 0.168985515832901, -1.0502090454101562, -0.18953046202659607, 0.4612433612346649, -0.37133705615997314, 0.6175010204315186, -0.07962584495544434, -0.4315617084503174, -0.2115698605775833, -0.548447847366333, 0.5034384727478027, 0.5439814925193787, -0.9078020453453064, 1.1321988105773926, 0.2810003161430359, 0.48200905323028564, -0.7341169714927673, -1.1728848218917847, -0.19911149144172668, -0.1386258751153946, -0.39899200201034546, 0.6809679269790649, 0.24341188371181488, 0.03439272195100784, 0.21129141747951508, -0.15501362085342407, -0.364042729139328, -0.37450867891311646, 0.05441594123840332, 0.04285244271159172, -0.5625702142715454, 0.3883899450302124, 0.06293168663978577, -0.3454270362854004, 0.056392136961221695, -0.3557963967323303, 0.5265106558799744, -0.08226998150348663, -0.463460236787796, -0.4060785174369812, 0.34432685375213623, 0.44804978370666504, -0.14589695632457733, 0.5931231379508972, 0.908176839351654, -0.20976485311985016, -0.5107507109642029, -0.2431553453207016, 0.2110264152288437, -0.5364582538604736, 0.46039217710494995, 0.019628245383501053, -0.09221978485584259, 0.1473197638988495, 0.158859521150589, -0.21343405544757843, 0.669649600982666, 0.3830774426460266, -0.06107988953590393, 0.6369609236717224, 0.9755800366401672, -0.11894213408231735, 0.8389782309532166, -0.6226658225059509, 0.1783667802810669, -0.47671544551849365, -0.10620518028736115, -0.3977479338645935, 0.10544756054878235, -0.4772241413593292, -0.6975415945053101, 0.1074352040886879, 0.06422188133001328, 0.16389618813991547, 0.3461993932723999, -0.5318383574485779, 0.5922994017601013, 0.4214245676994324, 0.16827243566513062, 0.5227466225624084, 0.23449312150478363, -0.11383845657110214, 0.15934374928474426, -0.3974720537662506, -0.3814410865306854, 0.9706443548202515, 0.3272266089916229, 0.9050558805465698, -0.065882109105587, 0.8923020362854004, 0.6566609740257263, 0.276397705078125, -0.8533420562744141, 0.4398810863494873, -0.295195609331131, -0.24541854858398438, -0.37950679659843445, -0.47152939438819885, -0.9844998717308044, 0.40978413820266724, -0.17625251412391663, -0.683598518371582, 0.7139912247657776, 0.17198801040649414, -0.06286521255970001, 0.6582924127578735, -0.8699984550476074, 0.8041604161262512, 0.0014827226987108588, 0.005823248997330666, 0.15117549896240234, -0.547526478767395, 0.18930956721305847, 0.2395080327987671, 0.058529794216156006, 0.03032909519970417, 0.054013341665267944, 0.19054828584194183, -0.33002999424934387, 0.8163281083106995, -0.11497315764427185, -0.1856573075056076, 0.4756907820701599, -0.45019692182540894, 0.33551451563835144, 0.29006466269493103, -0.176271453499794, 0.023084372282028198, -0.3567454516887665, -0.2636394500732422, -0.40846455097198486, 0.3215147852897644, -0.7123339176177979, 0.016376815736293793, -0.6004829406738281, -0.30500906705856323, 0.08204828947782516, 0.27433186769485474, 1.0254993438720703, 0.4928000867366791, -0.22251194715499878, 0.32422593235969543, 0.8937363624572754, -0.45832860469818115, 0.6109382510185242, -0.02856680564582348, -0.5004392266273499, -0.3510534465312958, 1.0309326648712158, -0.214517742395401, 0.19310501217842102, 0.885047435760498, 0.3359626829624176, -0.4583897590637207, -0.3122747838497162, -0.7384401559829712, -0.05384865403175354, -1.1188958883285522, -0.28943395614624023, -0.5168601274490356, -0.1463497430086136, -0.0941997542977333, 0.03821537271142006, -0.4138305187225342, 0.17640607059001923, -0.5879449248313904, -0.12309657037258148, 0.22688758373260498, 0.8108791708946228, 0.2534562051296234, 0.3379662334918976, -0.5806021690368652, 0.9330357909202576, 0.21665823459625244, 0.3840393126010895, -0.30134302377700806, -0.49409955739974976, -0.04856494814157486, -0.049600984901189804, -0.504631757736206, -0.8219499588012695, 0.470367431640625, 0.5034036636352539, 0.4713704586029053, 0.6559651494026184, 0.3831944763660431, 0.3055229187011719, -0.3079372048377991, 0.5843185186386108, 0.5240613222122192, -1.0583202838897705, 0.27703818678855896, -0.2402597814798355, 0.11424332112073898, 0.481869637966156, 0.12718777358531952, -0.16847558319568634, -0.3209877908229828, -0.31284675002098083, -1.0863077640533447, 0.8078773617744446, 0.4850764870643616, 0.34045639634132385, 0.06536506116390228, 0.15125393867492676, 0.5306020975112915, 0.1674523502588272, -0.9546626210212708, -0.34817853569984436, -0.2166217565536499, -0.49471715092658997, -0.14709895849227905, -0.14473050832748413, 0.5091663599014282, -0.061488520354032516, 0.2825145721435547, -0.22838206589221954, 0.6066842079162598, 0.4769670069217682, -0.6285116076469421, -0.17465920746326447, 0.2923436760902405, 0.33596938848495483, 0.40233150124549866, -0.2949601113796234, 0.07729006558656693, -0.16633550822734833, -1.0006599426269531, 0.12559497356414795, 0.1431911438703537, -0.12539491057395935, 0.41506868600845337, 0.5079554319381714, 0.8323622941970825, -0.05547542870044708, -0.7208355665206909, 0.898681640625, -0.3037308156490326, -0.07422530651092529, -0.37218979001045227, 0.04238046333193779, -0.3533702492713928, 0.20481958985328674, 0.6392921209335327, 0.4619934558868408, 0.3605843186378479, -0.6852537989616394, 0.04835541546344757, 0.03822111710906029, -0.671145498752594, -0.2726430594921112, 0.537178099155426, 0.02058434672653675, -0.31122124195098877, 0.3401314318180084, -0.3461865782737732, -0.32036134600639343, 0.6690990328788757, 0.33722713589668274, 0.9788730144500732, -0.030768828466534615, 0.562430739402771, -0.3372011184692383, 0.37000128626823425, -0.2779892086982727, 0.3759545683860779, -0.10004588216543198, -0.8737766146659851, -0.3370966613292694, -0.383378267288208, -0.25074395537376404, 0.04993016645312309, -1.0023415088653564, 0.45409563183784485, -0.08485464751720428, -0.21608397364616394, -0.10145346075296402, -0.7095652222633362, -0.8415706157684326, 0.1501581370830536, 0.3032695949077606, 0.42259231209754944, -0.6548377871513367, 0.6462400555610657, 0.7725646495819092, -0.4806636869907379, -0.10435790568590164, 0.4791116416454315, -0.30922433733940125, -0.6456460952758789, 0.3403998911380768, 0.5540631413459778, -0.23573137819766998, -0.11300785094499588, -0.1784019023180008, -0.4789372682571411, 0.9150429964065552, 0.9041838645935059, -0.5511897206306458, -0.0013246804010123014, 0.45657598972320557, 0.636507511138916, -0.1391601711511612, 0.4953007698059082, 0.47460484504699707, 0.2759300768375397, -0.3171064555644989, -0.5870512127876282, -0.26433470845222473, -0.15661445260047913, 0.10659975558519363, 0.5119829177856445, -0.20537836849689484, 0.9802206754684448, -0.0504668764770031, -0.2656213045120239, 0.21827121078968048, 0.654872477054596, -0.039560046046972275, 0.6939723491668701, 0.5478822588920593, 0.5518316030502319, 0.6583330035209656, 0.04169978201389313, 1.262250304222107, 0.4096841514110565, 0.7230440378189087, 0.7678287029266357, -0.267299622297287, 0.7531061768531799, 0.5584747791290283, -0.030147232115268707, 0.6184353828430176, 0.05633559077978134, 0.2775613069534302, 0.6621687412261963, -0.0032709373626857996, -0.1804455667734146, -0.22938533127307892, 0.011169285513460636, -0.7039271593093872, 0.4460102915763855, 0.3997817933559418, -0.5878946781158447, -0.29972508549690247, 0.4527473747730255, -0.44125989079475403, 0.4308747947216034, -0.3315109312534332, 0.42942842841148376, 0.0483347587287426, -0.23007933795452118, 0.5994957089424133, -0.0025822531897574663, 0.8597308397293091, -0.42687666416168213, -0.13293643295764923, -0.1932934671640396, 0.6434626579284668, -0.09296542406082153, -0.6748397946357727, 0.15022550523281097, -0.2913126051425934, -0.4212931990623474, -0.4043198823928833, 0.9275506734848022, -0.33444660902023315, -0.44049540162086487, 0.6565770506858826, 0.1944112777709961, -0.3400765359401703, -0.3701944351196289, -0.253020316362381, -0.1201600730419159, -0.25203442573547363, -0.3953896462917328, 0.17239540815353394, 0.9546741247177124, 0.01918892003595829, 0.4033476710319519, 0.24598008394241333, -0.2999860346317291, 0.17783018946647644, 0.06002257391810417, 0.9038577675819397, -0.5820484757423401, -0.731819748878479, -0.9774296283721924, 0.6163384318351746, -0.21351358294487, -0.6459631323814392, 0.5275750756263733, 0.18564370274543762, 0.8726011514663696, -0.46408170461654663, 0.7422241568565369, 0.11465587466955185, 0.05652240663766861, -0.725983202457428, 0.505672037601471, -0.6014994978904724, 0.2757040560245514, -0.25273969769477844, -0.9306210875511169, -0.35497891902923584, 0.5472020506858826, -0.07467547804117203, -0.15973000228405, 0.8782712817192078, 0.28575924038887024, -0.35594508051872253, 0.13981981575489044, 0.4655662178993225, -0.022200966253876686, 0.15707537531852722, 0.2792956233024597, 1.003859043121338, -0.7007641196250916, 0.8474066257476807, -0.13992594182491302, 0.023383349180221558, -0.5191510915756226, -1.0289137363433838, -1.1714739799499512, -0.4972795844078064, -0.08910735696554184, -0.032483115792274475, -0.010973051190376282, 0.871160626411438, 0.5933099985122681, -0.6320931315422058, -0.00032922523678280413, -0.6557357907295227, 0.3489103317260742, -0.2550943195819855, -0.2533421218395233, 0.2570885419845581, -0.4334847331047058, -0.6243171691894531, 0.4747026860713959, 0.5911923050880432, -0.19015267491340637, -0.26792848110198975, -0.03360486775636673, -0.045303333550691605, -0.005202496889978647, 0.6455137729644775, 0.1280953586101532, -0.5114684104919434, 0.15600058436393738, -0.061438027769327164, -0.13433589041233063, 0.408722847700119, 1.0267220735549927, -0.7500929236412048, 0.6916974186897278, 0.8552128672599792, 0.7474057674407959, 0.4672539234161377, -0.18804091215133667, 0.6307404637336731, -1.1601057052612305, 0.4926491677761078, 0.38579997420310974, 0.5029264688491821, 0.18724003434181213, -0.49787747859954834, 0.29572153091430664, 0.45506617426872253, -0.22644935548305511, -1.0532217025756836, 0.21056555211544037, -0.8902714252471924, -0.18491579592227936, 1.0676991939544678, -0.18260681629180908, -0.2537817656993866, -0.44995230436325073, -0.4999864995479584, 0.13756760954856873, -0.6180141568183899, 0.4619513154029846, 0.13410848379135132, 0.33706966042518616, 0.025904064998030663, -0.5375295877456665, 0.2227909117937088, 0.2846614420413971, -0.8119952082633972, -0.1996164172887802, 0.051760297268629074, -0.2935348153114319, 0.3952770233154297, 0.5278557538986206, 0.14862699806690216, 0.180788055062294, -0.04800267145037651, 0.226652130484581, 0.10215703397989273, -0.35734179615974426, -0.31023699045181274, 0.2589626908302307, -0.2843977212905884, -0.5825204253196716 ]
http://arxiv.org/abs/2404.06214v1
http://arxiv.org/pdf/2404.06214v1
[Call for Papers] The 2nd BabyLM Challenge: Sample-efficient pretraining on a developmentally plausible corpus
2024-04-09T11:04:50
2024-04-09T11:04:50
Leshem Choshen, Ryan Cotterell, Michael Y. Hu, Tal Linzen, Aaron Mueller, Candace Ross, Alex Warstadt, Ethan Wilcox, Adina Williams, Chengxu Zhuang
cs.CL
cs.CL
After last year's successful BabyLM Challenge, the competition will be hosted again in 2024/2025. The overarching goals of the challenge remain the same; however, some of the competition rules will be different. The big changes for this year's competition are as follows: First, we replace the loose track with a paper track, which allows (for example) non-model-based submissions, novel cognitively-inspired benchmarks, or analysis techniques. Second, we are relaxing the rules around pretraining data, and will now allow participants to construct their own datasets provided they stay within the 100M-word or 10M-word budget. Third, we introduce a multimodal vision-and-language track, and will release a corpus of 50% text-only and 50% image-text multimodal data as a starting point for LM model training. The purpose of this CfP is to provide rules for this year's challenge, explain these rule changes and their rationale in greater detail, give a timeline of this year's competition, and provide answers to frequently asked questions from last year's challenge.
[ -0.13520632684230804, -0.3306618630886078, 0.27952972054481506, 0.04361347854137421, -0.2996577322483063, -0.0442885123193264, -0.1696447730064392, -0.7826951742172241, -0.2917061150074005, 0.4435926079750061, -0.7438614368438721, -0.22766782343387604, -0.5295282602310181, 0.02504129707813263, -0.5620260834693909, 0.9167608022689819, -0.23403313755989075, -0.057299017906188965, -0.5289393663406372, 0.053665321320295334, -0.466739296913147, -0.6800545454025269, -0.4641665518283844, -0.023172955960035324, 0.8893789052963257, 0.46646440029144287, -0.0012142203049734235, 0.6391394734382629, 0.6918219327926636, 0.25210341811180115, -0.18124373257160187, 0.12445545941591263, -0.1581922471523285, 0.21093836426734924, -0.004254558589309454, -0.3376060128211975, -0.5953346490859985, 0.43176957964897156, 0.5408164858818054, 0.9645328521728516, -0.27083200216293335, 0.38833045959472656, 0.16799461841583252, 0.7531991600990295, -0.8379201889038086, 0.36437010765075684, -0.7150089144706726, 0.021767811849713326, -0.5222981572151184, -0.10632701963186264, -0.45593133568763733, -0.1114770844578743, 0.07419499009847641, -0.6608474850654602, 0.5736666917800903, -0.10471774637699127, 0.8981392979621887, 0.1192946583032608, -0.22618737816810608, -0.5852768421173096, -0.5937631130218506, 0.574408233165741, -0.43441152572631836, 0.5200472474098206, 0.3850429356098175, 0.04980499669909477, 0.0033046940807253122, -0.9920769333839417, -0.4296342134475708, -0.34022173285484314, 0.19555482268333435, 0.024031570181250572, -0.06695743650197983, -0.12121371924877167, 0.2502858340740204, -0.19265295565128326, -0.6755838990211487, -0.05375154688954353, -0.47095316648483276, -0.22762194275856018, 0.7924902439117432, 0.1107805073261261, -0.1739104837179184, 0.3677864670753479, -0.2807513475418091, -0.35165393352508545, -0.4578436017036438, -0.2407972514629364, 0.37507736682891846, 0.3118712902069092, -0.08774667233228683, 0.44553667306900024, -0.16698426008224487, 0.591517984867096, -0.0407816581428051, -0.0216585174202919, 0.5965677499771118, -0.46146082878112793, 0.05294372886419296, -0.2720523178577423, 0.4245374798774719, 0.28551122546195984, 0.21640543639659882, -0.14184677600860596, -0.3581485450267792, 0.05512280762195587, 0.2025706022977829, -0.6526165008544922, -0.14184944331645966, -0.07284215837717056, -0.675915539264679, -0.2565601170063019, -0.06772836297750473, -0.9043447971343994, -0.15336832404136658, -0.36039069294929504, 0.34268590807914734, -0.32338470220565796, -0.27325841784477234, 0.016607295721769333, -0.09676562249660492, 0.4748738408088684, 0.5114396214485168, -1.06222403049469, 0.1656474471092224, 0.8335922360420227, 0.5838863849639893, -0.18683689832687378, -0.2857235074043274, -0.47512081265449524, -0.14527693390846252, -0.4460708796977997, 0.9344995021820068, -0.2739216089248657, -0.3428889513015747, 0.11458446085453033, -0.06675440073013306, -0.5112802386283875, -0.856128990650177, 0.7517204284667969, -0.5666142106056213, 0.3744899034500122, -0.23698696494102478, -0.3222232162952423, 0.27450549602508545, 0.2951076626777649, -0.3795957565307617, 0.8999750018119812, 0.35198408365249634, -0.5301744937896729, 0.5395547151565552, -0.6614463925361633, -0.4577004909515381, 0.23604077100753784, -0.0004955466720275581, -0.4256238043308258, 0.12568679451942444, -0.2860649526119232, -0.002967675682157278, -0.21553222835063934, 0.28885993361473083, -0.4250733554363251, -0.025536566972732544, 0.020459596067667007, -0.32799774408340454, 0.8640285134315491, 0.5124231576919556, 0.01768713817000389, 0.03382115438580513, -1.0032238960266113, 0.3330581784248352, 0.332040011882782, -0.541197657585144, 0.12756745517253876, -0.0320633202791214, 0.3777962028980255, 0.23052991926670074, 0.36101001501083374, -0.588433563709259, 0.1999991238117218, -0.08621034026145935, 0.5052974820137024, 0.36900073289871216, -0.40595075488090515, 0.3665154278278351, -0.4513506293296814, 0.8201175332069397, -0.19861924648284912, 0.6916925311088562, -0.49020782113075256, -0.3901022970676422, -0.7283234000205994, -0.19144415855407715, 0.5950055718421936, 0.5218126773834229, -0.5276309251785278, 0.33933496475219727, 0.15848655998706818, -0.4919796288013458, -0.464270681142807, 0.08628173172473907, 0.33966442942619324, 0.5654518008232117, 0.3569084107875824, -0.6492546796798706, -0.8999810218811035, -0.8358396887779236, -0.03892745450139046, -0.37636300921440125, 0.21074990928173065, 0.03843793272972107, 0.5590062737464905, 0.0677306205034256, 0.6619383692741394, -0.1671738475561142, -0.5088309645652771, -0.10630972683429718, 0.192617729306221, 0.02480088174343109, 0.8037717342376709, 0.5546808838844299, -0.8648750185966492, -0.32681772112846375, -0.46751677989959717, -0.5600091218948364, -0.4211007356643677, 0.2269091159105301, 0.09935690462589264, 0.4942938983440399, 0.874958872795105, -0.6332681179046631, 0.4626207947731018, 0.5640208125114441, -0.39013469219207764, 0.6595654487609863, -0.28530722856521606, -0.15907984972000122, -0.5211279392242432, 0.24871261417865753, -0.471983939409256, -0.037847187370061874, -0.504510223865509, 0.3163541853427887, 0.06393998116254807, -0.0957774966955185, -0.7489902973175049, 0.5419396162033081, -0.48044660687446594, 0.13779011368751526, -0.35061386227607727, -0.21680547297000885, -0.05360104516148567, 0.12264764308929443, -0.04760168120265007, 0.5349546074867249, 0.2851806879043579, -0.5060219168663025, 0.26042744517326355, 0.2256530374288559, -0.4792771637439728, 0.5040322542190552, -0.6047583222389221, 0.6063433885574341, -0.15956787765026093, 0.6249791383743286, -0.888069212436676, -0.036947112530469894, 0.1021309345960617, -0.4136212170124054, 0.514545738697052, 0.19755366444587708, -0.5868662595748901, -0.6263155341148376, -0.2375061810016632, 0.4844770133495331, 0.6288436651229858, -0.2027009278535843, 0.47841769456863403, 0.38179418444633484, 0.14448560774326324, -0.4440891444683075, -0.6383547782897949, 0.1408577859401703, -0.2546885013580322, -0.34649765491485596, 0.6802127361297607, -0.5322237610816956, 0.16438432037830353, 0.06480046361684799, 0.12972192466259003, 0.06148673966526985, 0.18865026533603668, 0.04587668552994728, 0.23315736651420593, -0.07901982963085175, -0.13966071605682373, -0.4705754518508911, -0.2877340614795685, 0.12330867350101471, -0.4945562183856964, 0.6679030656814575, 0.03668778017163277, -0.2440768927335739, -0.2085336148738861, 0.4482806622982025, 0.08987826853990555, -0.224138543009758, 0.19603775441646576, 0.7097639441490173, -0.4852825701236725, -0.04409394785761833, -0.5136086344718933, -0.032300736755132675, -0.44133663177490234, 0.2629840672016144, -0.22629323601722717, -0.7874741554260254, 0.10312070697546005, -0.0037754960358142853, 0.19997747242450714, 0.40745383501052856, 0.8314684629440308, -0.5771358609199524, 0.8486140370368958, 0.8727049827575684, 0.5370815992355347, 0.5716339945793152, -0.16503064334392548, -0.11017477512359619, -0.8598121404647827, -0.7402297258377075, -0.6976084113121033, -0.3952261209487915, -0.37862810492515564, -0.4412437081336975, 0.1482785940170288, 0.1933342069387436, -0.15578314661979675, 0.26492398977279663, -0.38357245922088623, 0.29348576068878174, 0.7619132995605469, -0.07253655046224594, -0.000731073843780905, -0.2869361340999603, -0.2190464586019516, -0.20987822115421295, -0.9373096227645874, -0.39683347940444946, 1.1956708431243896, 0.1147255077958107, 0.3475254476070404, -0.0874280110001564, 0.6117517352104187, 0.24931716918945312, 0.6302992701530457, -0.5354439616203308, 0.8233976364135742, -0.26827332377433777, -1.1047849655151367, -0.002738779643550515, 0.08491476625204086, -1.110205054283142, 0.2478918433189392, -0.27310851216316223, -0.7484520673751831, 0.1963202953338623, 0.307584285736084, -0.32145294547080994, 0.10315363854169846, -0.5041467547416687, 0.9001268744468689, -0.36723604798316956, -0.27782559394836426, 0.0866415947675705, -0.8494929075241089, 0.1797705739736557, -0.4464421272277832, 0.21438990533351898, -0.3571513891220093, -0.174351304769516, 1.1253584623336792, -0.5731040835380554, 0.7613459825515747, -0.25398731231689453, 0.06403595209121704, 0.589040219783783, -0.3206554353237152, 0.041075851768255234, -0.24699783325195312, -0.008977517485618591, -0.05871008709073067, 0.5039666295051575, -0.4276093542575836, -0.17190253734588623, 0.17477290332317352, -0.4027610719203949, -0.6807548999786377, -0.8012835383415222, -0.4563709795475006, -0.17819784581661224, 0.27306801080703735, 0.48393145203590393, 0.2737855315208435, -0.3765099048614502, 0.37591323256492615, 0.19371235370635986, -0.07788397371768951, 0.6465840339660645, 0.46071285009384155, -0.48789486289024353, -0.4744231402873993, 0.6751722693443298, 0.12199808657169342, 0.14571666717529297, 0.26253777742385864, 0.12969601154327393, -0.41623908281326294, -0.9003642201423645, -0.3961104154586792, 0.13049809634685516, -0.43782559037208557, -0.1405993551015854, -0.5370516180992126, -0.26819026470184326, -0.6610273718833923, 0.039865147322416306, -0.4902721047401428, -0.19508737325668335, -0.45011240243911743, 0.5494751334190369, -0.23611211776733398, 0.36630794405937195, -0.4797559380531311, 0.31574100255966187, -0.6876339912414551, 0.14726583659648895, 0.2915832996368408, 0.18118916451931, -0.1612919569015503, -0.7095884680747986, -0.28618088364601135, -0.21780796349048615, -0.5357487797737122, -0.4716179072856903, 0.33073678612709045, 0.19428189098834991, 0.4337075352668762, 0.2667751610279083, -0.13352496922016144, 0.6596484184265137, -0.7273898720741272, 0.665844738483429, 0.3923642933368683, -0.595361590385437, 0.49199339747428894, -0.3500657081604004, 0.3494865894317627, 0.8573570251464844, 0.04444195702672005, -0.3534488081932068, 0.12569878995418549, -0.8124859929084778, -0.8045478463172913, 0.6134293079376221, -0.024940432980656624, 0.3168874680995941, 0.19157978892326355, 0.4662427604198456, 0.05802677571773529, 0.4383820593357086, -0.236990287899971, 0.07698515802621841, 0.10926088690757751, -0.27377355098724365, 0.22920796275138855, -0.5227254629135132, -0.11864709854125977, -0.52192622423172, 0.4365324378013611, -0.2530740201473236, 0.2581299841403961, 0.15017983317375183, 0.2146034985780716, -0.15646636486053467, 0.16219253838062286, 0.7919399738311768, 0.7286994457244873, -0.42717093229293823, -0.04516616463661194, 0.14321231842041016, -0.7459489107131958, 0.21572409570217133, 0.4861075282096863, -0.4965575039386749, -0.05081063136458397, 0.8881238698959351, 0.6243889927864075, 0.2371457815170288, -0.9306002855300903, 0.40413224697113037, -0.03222772106528282, -0.8713452219963074, -0.7030085921287537, 0.09250275045633316, 0.005806781817227602, 0.46166563034057617, 0.507536768913269, -0.09615641087293625, -0.15579265356063843, -0.7279222011566162, 0.18725435435771942, 0.5325690507888794, -0.2851163446903229, -0.4311695396900177, 1.0075030326843262, 0.02341955341398716, -0.6118978261947632, 0.44591107964515686, -0.3110676109790802, -0.49901261925697327, 0.716745138168335, 0.6226105690002441, 0.6337863206863403, -0.2037525177001953, 0.14469975233078003, 0.17259159684181213, 0.2823955714702606, -0.21518822014331818, 0.5847423076629639, 0.2556462287902832, -0.7848364114761353, -0.25178834795951843, -0.529255747795105, -0.38870394229888916, 0.6510990858078003, -0.6419768929481506, 0.5192775130271912, -0.5829988718032837, -0.4032704532146454, 0.147588849067688, 0.10880076885223389, -1.0166984796524048, 0.50126713514328, 0.731577455997467, 1.1528263092041016, -0.3779314160346985, 0.926714301109314, 0.8298340439796448, -0.15844672918319702, -0.3996431529521942, -0.4042881727218628, 0.2149631828069687, -0.5233508348464966, 0.7305309176445007, 0.07667283713817596, 0.1447203904390335, -0.017393819987773895, -0.8845768570899963, -0.9161123037338257, 0.9816052317619324, 0.2413083165884018, -0.6676164269447327, -0.4697144627571106, -0.061421722173690796, 0.41917410492897034, -0.7436597347259521, 0.2655641734600067, 0.621041476726532, 0.5526207685470581, 0.3167344927787781, -0.983084499835968, -0.44789937138557434, -0.13834889233112335, -0.0770767331123352, -0.25064894556999207, -0.8608102798461914, 0.9603102803230286, -0.5048588514328003, -0.30438876152038574, 0.4404337406158447, 0.8915849924087524, 0.5336398482322693, 0.7745934724807739, 0.8445272445678711, 0.5908770561218262, 0.5480487942695618, -0.1499340683221817, 0.6497238278388977, -0.19550292193889618, 0.3229941427707672, 1.2451380491256714, -0.5697561502456665, 0.88718581199646, 0.4964585602283478, -0.3995501697063446, 0.2386082261800766, 0.808159589767456, -0.12820322811603546, 0.6886978149414062, 0.30596089363098145, -0.05929066240787506, -0.15763768553733826, -0.2594420313835144, -0.6085370779037476, 0.7672737240791321, 0.2680381238460541, -0.07562968879938126, -0.31439390778541565, 0.027103662490844727, 0.13762591779232025, 0.16137327253818512, -0.019639212638139725, 0.5703935623168945, 0.19168898463249207, -0.6265577673912048, 0.6582425832748413, 0.10660302639007568, 0.7388876080513, -0.6981897354125977, 0.1415303647518158, -0.12468981742858887, 0.3412896990776062, 0.138017937541008, -0.35611650347709656, 0.34212103486061096, 0.13485406339168549, -0.05660857632756233, -0.41195330023765564, 0.7114646434783936, -0.523038387298584, -0.6590555310249329, 0.29658517241477966, 0.7065520286560059, -0.021221879869699478, 0.1827256977558136, -0.9506571888923645, 0.42636796832084656, -0.43418824672698975, -0.45491084456443787, 0.36105355620384216, 0.27406588196754456, -0.1537984311580658, 0.46264198422431946, 0.8558574318885803, 0.23931436240673065, 0.20365439355373383, 0.1235044077038765, 0.7785027623176575, -0.592849612236023, -0.3628348708152771, -0.6102110743522644, 0.14628252387046814, 0.0700165331363678, -0.6347002387046814, 0.16683003306388855, 0.6921802759170532, 0.9779355525970459, -0.03157323971390724, 0.718590497970581, -0.3779260814189911, 0.5474286675453186, -0.5589604377746582, 0.49337780475616455, -0.7788509726524353, -0.22102414071559906, 0.0041308109648525715, -0.7226596474647522, -0.37489622831344604, 0.27666419744491577, 0.05481317266821861, 0.26672714948654175, 1.0714051723480225, 0.3999468684196472, 0.25662514567375183, 0.15605781972408295, 0.13468322157859802, -0.23449668288230896, 0.444015234708786, 0.9401819109916687, 0.9461016654968262, -0.41753628849983215, 0.5478772521018982, -0.2591266632080078, -0.22592346370220184, -0.3341263234615326, -1.1866719722747803, -0.439191073179245, -1.0240564346313477, -0.5298944115638733, -0.4559991657733917, 0.18123985826969147, 0.9166258573532104, 0.9632360339164734, -0.7745287418365479, -0.17356301844120026, 0.19504088163375854, -0.34403330087661743, -0.2571875751018524, -0.06498614698648453, 0.2969258725643158, -0.2144758254289627, -0.7551993727684021, 0.3750516474246979, 0.06483432650566101, 0.12400395423173904, -0.13610893487930298, 0.2856403589248657, -0.5188348293304443, -0.030194496735930443, 0.7022866010665894, 0.46741950511932373, -0.4486168324947357, -0.40663301944732666, -0.0654224306344986, -0.34044939279556274, -0.051060374826192856, 1.109035849571228, -0.7387068271636963, 0.1775853931903839, 0.3176329433917999, 0.5046995878219604, 0.6297719478607178, -0.19621987640857697, 0.12964119017124176, -0.37157538533210754, 0.6882069706916809, 0.43221229314804077, 0.17436933517456055, 0.30109795928001404, 0.030148228630423546, 0.8698117733001709, 0.7826259732246399, -0.31036871671676636, -0.9067326784133911, 0.2039172500371933, -1.161068320274353, -0.3381664752960205, 0.9571593999862671, 0.06675846129655838, -0.3698171079158783, -0.1144542247056961, 0.02460451051592827, 0.39283090829849243, 0.017794746905565262, 0.7301229238510132, 0.9642308950424194, -0.14722810685634613, -0.3381701409816742, -0.8888187408447266, 0.5801687836647034, 0.494529664516449, -1.030638575553894, -0.07486747205257416, 0.3281489312648773, 0.08505629003047943, 0.08497042208909988, 1.0180740356445312, -0.31284359097480774, 0.09235037118196487, -0.06273848563432693, 0.24005217850208282, -0.19968563318252563, -0.6016295552253723, -0.10815463215112686, 0.3202635645866394, 0.12326742708683014, -0.3973642587661743 ]