id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2407.00407v1
http://arxiv.org/pdf/2407.00407v1
SHADE: Semantic Hypernym Annotator for Domain-specific Entities -- DnD Domain Use Case
2024-06-29T11:21:40
2024-06-29T11:21:40
Akila Peiris, Nisansa de Silva
cs.CE
cs.CE, cs.CL
Manual data annotation is an important NLP task but one that takes considerable amount of resources and effort. In spite of the costs, labeling and categorizing entities is essential for NLP tasks such as semantic evaluation. Even though annotation can be done by non-experts in most cases, due to the fact that this requires human labor, the process is costly. Another major challenge encountered in data annotation is maintaining the annotation consistency. Annotation efforts are typically carried out by teams of multiple annotators. The annotations need to maintain the consistency in relation to both the domain truth and annotation format while reducing human errors. Annotating a specialized domain that deviates significantly from the general domain, such as fantasy literature, will see a lot of human error and annotator disagreement. So it is vital that proper guidelines and error reduction mechanisms are enforced. One such way to enforce these constraints is using a specialized application. Such an app can ensure that the notations are consistent, and the labels can be pre-defined or restricted reducing the room for errors. In this paper, we present SHADE, an annotation software that can be used to annotate entities in the high fantasy literature domain. Specifically in Dungeons and Dragons lore extracted from the Forgotten Realms Fandom Wiki.
[ -0.5303753018379211, -0.5285474061965942, 0.16016294062137604, 0.7658941149711609, -0.056214552372694016, 0.1449778974056244, -0.16996224224567413, -0.6690029501914978, 0.5684551000595093, 1.053330898284912, -0.7937616109848022, -0.9486749768257141, -0.2863432765007019, 0.46913942694664, -0.23752140998840332, 1.246777892112732, -0.3023645281791687, -0.5471507906913757, -0.2972344756126404, -0.338156521320343, -0.25267624855041504, -0.4880353808403015, -0.5218397974967957, -0.12107153981924057, 0.7329503297805786, 0.1851867437362671, 0.9086312055587769, 0.8369249701499939, 0.6841703653335571, 0.3629099428653717, 0.011336827650666237, 0.4717510938644409, -0.5810801386833191, 0.577649712562561, -0.3845159411430359, -0.2739619314670563, -0.6651046872138977, 0.08982465416193008, 0.34957608580589294, 0.6781234741210938, -0.08067881315946579, 0.041147373616695404, -0.18469858169555664, 0.49539387226104736, -0.8485525250434875, 0.37578168511390686, -0.656540036201477, 0.2254675328731537, -0.5824735164642334, -0.43251582980155945, -0.07804416865110397, -0.26948070526123047, 0.1498742550611496, -1.8004618883132935, 0.5504150986671448, 0.5673342943191528, 1.1820722818374634, 0.35065707564353943, 0.10005190223455429, 0.015903955325484276, -0.7079501748085022, 0.8162621259689331, -0.4990043342113495, 0.21553848683834076, 0.5670374035835266, 0.28488320112228394, -0.16017737984657288, -0.6969226002693176, -0.9669715166091919, 0.09033119678497314, -0.21810515224933624, 0.03535766899585724, -0.005837128031998873, 0.27405887842178345, 0.501161515712738, 0.15239720046520233, -0.09280715137720108, 0.025408530607819557, -0.13211886584758759, -0.40891069173812866, 0.5387500524520874, 0.32227545976638794, 0.3925510346889496, -0.36905598640441895, -0.5833698511123657, 0.12273084372282028, -0.8161640763282776, -0.7426669597625732, 0.46376287937164307, 0.05842810869216919, 0.3135492503643036, 0.5574377775192261, -0.2827880084514618, 0.7212063670158386, 0.024443887174129486, -0.28170859813690186, 0.33154743909835815, 0.010815990157425404, -0.1065225824713707, 0.07281400263309479, 0.5197083353996277, 0.740693986415863, 0.3245026469230652, -0.5403638482093811, -0.18827712535858154, 0.08391173928976059, 0.17458945512771606, -0.7500385642051697, -0.43377694487571716, 0.05707554519176483, -0.03893854469060898, -0.3337368369102478, -0.2077946811914444, -0.9706574082374573, -0.8347991108894348, -0.3644627332687378, 0.04503466933965683, -0.07513581216335297, -0.22691592574119568, -0.021761875599622726, -0.4425695538520813, -0.2687121629714966, 0.7388937473297119, -1.0444177389144897, 0.4621899724006653, 0.5992198586463928, 0.7282042503356934, -0.6653951406478882, -0.4751094877719879, -0.002425561659038067, 0.7410562634468079, -0.41915878653526306, 0.5647918581962585, -0.2533436119556427, -0.15355172753334045, -0.1882960945367813, 0.17748573422431946, -0.06134475767612457, -0.45829492807388306, 0.6700310111045837, -0.8180404305458069, -0.18853944540023804, -0.2159104198217392, -0.6002066731452942, -0.33955928683280945, 0.33570045232772827, -1.043769121170044, 0.8117940425872803, 0.5951125621795654, -1.0508646965026855, 0.6599314212799072, -0.3908909857273102, -0.01574481837451458, 0.5924002528190613, -0.23905959725379944, -0.2762173116207123, -0.2172074019908905, -0.02161901816725731, 0.29861676692962646, -0.38237959146499634, -0.06983183324337006, -0.3007942736148834, -0.5434362292289734, 0.09496267884969711, -0.15568970143795013, 0.822115957736969, -0.06894277781248093, -0.48286235332489014, -0.02053031325340271, -0.856158435344696, 0.07161563634872437, -0.07300980389118195, -0.19664961099624634, -0.965595543384552, -0.22423012554645538, 0.7815621495246887, 0.04235805198550224, -0.0030033320654183626, -0.847055971622467, 0.23243775963783264, -0.32208096981048584, -0.03293636813759804, 0.7537001371383667, 0.08758959174156189, 0.18236485123634338, -0.0638682171702385, 0.6346892714500427, -0.0452861562371254, 0.03421689569950104, 0.19702869653701782, -0.3612440526485443, -0.7288597822189331, -0.5438239574432373, 0.5231369733810425, 0.45442575216293335, -1.0869911909103394, 0.37504443526268005, -0.007262484636157751, -0.3808736205101013, -0.5239229798316956, 0.307303249835968, 0.31921711564064026, 0.5295659303665161, 0.3769364058971405, -0.061631083488464355, -0.5160930156707764, -0.6236675381660461, 0.07136675715446472, -0.09939996898174286, 0.18783842027187347, 0.5610544681549072, 0.39328786730766296, -0.6399215459823608, 1.355763554573059, -0.7879181504249573, -0.6620922684669495, 0.0920257642865181, 0.1660667061805725, -0.12452959269285202, 0.5448945760726929, 0.7885046601295471, -1.1011961698532104, -0.35914725065231323, 0.27198514342308044, -0.7281962037086487, -0.5254972577095032, 0.11515466868877411, -0.6046490669250488, 0.16950270533561707, 0.2692592442035675, -0.6063596606254578, 0.49091267585754395, 0.5450859069824219, -0.3454303741455078, 0.8511455655097961, -0.018625250086188316, 0.517396867275238, -0.7234432101249695, 0.05448170006275177, 0.09804116934537888, -0.01637464202940464, -0.23572787642478943, 0.06988740712404251, -0.16746868193149567, 0.06567433476448059, -0.09087521582841873, 0.7038374543190002, -0.3578711748123169, 0.26659440994262695, -0.14388181269168854, 0.34047842025756836, 0.3372919261455536, 0.5035930275917053, 0.3373129665851593, 0.6138346791267395, 0.47475582361221313, -0.6279451251029968, 0.8878946900367737, 0.2504471242427826, -0.06374088674783707, 0.8997132182121277, -0.6980635523796082, 0.06436020135879517, 0.06517855077981949, 0.0013026007218286395, -0.6741118431091309, -0.42884576320648193, 0.43740585446357727, 0.0536879226565361, 0.23035375773906708, -0.30044272541999817, -0.6450009346008301, -0.07467761635780334, -0.17361466586589813, 0.31568586826324463, -0.09555988758802414, -0.5945242047309875, 0.37167519330978394, 0.4572967290878296, 0.08697030693292618, -0.8346835970878601, -0.6015377640724182, 0.28396356105804443, -0.2589605450630188, -0.6009584069252014, 0.8355219960212708, 0.07921502739191055, -0.3452480733394623, 0.346114844083786, -0.058584101498126984, -0.42899563908576965, -0.08471113443374634, 0.5137340426445007, 0.2627713680267334, -0.27353501319885254, 0.1569913923740387, 0.08335928618907928, -0.29523923993110657, -0.24389366805553436, -0.36968687176704407, 0.05278515815734863, 0.12586629390716553, -0.44554394483566284, -0.2493836134672165, 0.33024030923843384, 0.4473128020763397, -0.15557478368282318, 0.5088768601417542, 0.4931792616844177, -0.5850081443786621, -0.6662871241569519, -0.5509631037712097, 0.24270333349704742, -0.4570040702819824, 0.44768026471138, -0.4017244577407837, -0.6769469380378723, 0.5928119421005249, -0.2408563643693924, 0.14940886199474335, 0.6749447584152222, 0.11416793614625931, -0.021994315087795258, 0.6876634955406189, 0.884730339050293, 0.18728235363960266, 0.15091407299041748, -0.22889462113380432, -0.12950696051120758, -0.8701427578926086, -0.05127478763461113, -0.49987250566482544, -0.137216717004776, -0.5012386441230774, -0.43671149015426636, 0.10539752244949341, 0.37177127599716187, 0.2049572765827179, 0.5665553212165833, -0.6090657114982605, 0.6589396595954895, 0.23445957899093628, -0.1670922040939331, 0.4416213929653168, 0.16471323370933533, 0.2528737187385559, -0.42733728885650635, -0.32907670736312866, -0.526618480682373, 0.6964121460914612, 0.12476078420877457, 0.9702354669570923, 0.1381024718284607, 0.876423716545105, 0.4032064974308014, 0.40327614545822144, -0.7121885418891907, 0.39765095710754395, -0.14985325932502747, -0.7300621867179871, -0.5109564065933228, -0.46488338708877563, -0.7331011295318604, 0.19523419439792633, -0.2667101323604584, -0.6327962279319763, 0.5778051614761353, 0.04767875000834465, -0.22187356650829315, 0.22062554955482483, -0.45902860164642334, 0.9018369317054749, 0.31333643198013306, -0.35029178857803345, 0.09605827927589417, -0.1499311774969101, 0.13613811135292053, -0.21722757816314697, -0.20445500314235687, -0.299588680267334, -0.19595813751220703, 1.1157212257385254, -0.451730877161026, 0.7805710434913635, -0.21964800357818604, 0.09488777816295624, 0.23680882155895233, 0.2252705991268158, 0.20797060430049896, 0.0012071124510839581, -0.033363357186317444, 0.21688982844352722, 0.2551930844783783, -0.16783693432807922, -0.8412673473358154, 0.7894115447998047, -0.6423754096031189, -0.6214478015899658, -0.48082688450813293, -0.6348425149917603, -0.33757591247558594, 0.29045936465263367, 0.12266428768634796, 0.22226585447788239, -0.06032127887010574, 0.009965021163225174, 0.9415853023529053, 0.12214355915784836, -0.02739754319190979, 0.22849825024604797, -0.3730863332748413, -0.3947441577911377, 0.9386517405509949, 0.36834716796875, 0.101578488945961, 0.1142788752913475, 0.11066784709692001, 0.016938548535108566, -0.6733771562576294, -0.9697449803352356, 0.04611113667488098, -0.9409833550453186, -0.2741692066192627, -0.597628653049469, -0.15396840870380402, -0.11216181516647339, -0.32577237486839294, 0.06008390337228775, -0.7476867437362671, -0.04078679159283638, -0.21956168115139008, 0.8212686777114868, 0.7126864194869995, 0.36153146624565125, 0.36014384031295776, -0.40044283866882324, 0.3683786988258362, 0.14413847029209137, 0.3324383497238159, -0.16986677050590515, 0.18845026195049286, -0.19009117782115936, -0.2554357051849365, 0.11905015259981155, -1.0202836990356445, 0.21667850017547607, 0.23548446595668793, 0.5578674077987671, 0.3383198380470276, 0.03388591110706329, 0.6728308200836182, -0.37456223368644714, 0.49603796005249023, 0.22643889486789703, -0.69446861743927, 0.33209580183029175, -0.3781372606754303, -0.2341729700565338, 0.7036683559417725, 0.3866095542907715, -0.8550092577934265, -0.5296192765235901, -0.47651782631874084, -1.0089014768600464, 0.7569234371185303, 0.17017622292041779, -0.028069322928786278, -0.03908483684062958, 0.5307521224021912, 0.2618815004825592, 0.24744707345962524, -0.43360862135887146, -0.492009699344635, -0.15238557755947113, -0.2880323529243469, 0.20728664100170135, -0.18072380125522614, -0.421450138092041, -0.09231944382190704, 0.6909709572792053, -0.16435422003269196, -0.30095601081848145, 0.23624610900878906, -0.19152335822582245, -0.2226690649986267, -0.09850107878446579, 0.09947871416807175, 0.9586779475212097, 0.009094277396798134, 0.15169139206409454, -0.13587023317813873, -1.00615394115448, -0.03524727374315262, 0.2788938283920288, -0.8147339224815369, 0.3966754376888275, 0.5106135606765747, 0.6061745882034302, 0.1619700938463211, -0.31707796454429626, 0.5549994707107544, 0.31078803539276123, 0.15401020646095276, -0.07678065448999405, 0.19866284728050232, -0.03625408932566643, -0.04836505651473999, 0.16377094388008118, 0.26481759548187256, 0.26342642307281494, -0.15588870644569397, 0.24585716426372528, -0.067149318754673, -0.5510276556015015, 0.06754978001117706, 0.569782018661499, 0.3970772325992584, -0.05559059977531433, 0.31369227170944214, -0.402769535779953, -0.5740583539009094, 0.670442521572113, 0.6687120199203491, 1.0025001764297485, 0.0753096267580986, 0.39957499504089355, 0.05834028124809265, 0.10558631271123886, 0.1699257791042328, -0.10105850547552109, -0.10457952320575714, -0.699036717414856, -0.24903739988803864, -0.9894874691963196, -0.5156290531158447, -0.5075586438179016, -0.2618121802806854, 0.18642152845859528, -0.6848303079605103, -0.2627670168876648, 0.35030364990234375, 0.013615192845463753, -0.620836615562439, 0.2830374240875244, -0.29516157507896423, 0.76084965467453, -0.5750527381896973, 0.6324843764305115, 0.6745064854621887, -0.669526994228363, -0.5840604305267334, 0.005585283041000366, 0.0748823806643486, -0.40143081545829773, 1.120619297027588, -0.10881330072879791, -0.5057368874549866, -0.03718290850520134, -0.3583759367465973, -0.5758458375930786, 1.105063557624817, 0.1866876482963562, -0.5554543733596802, -0.049298953264951706, -0.055071860551834106, 0.6998332738876343, -0.42670100927352905, -0.08662806451320648, 0.33679312467575073, 0.6472084522247314, 0.2177952080965042, -0.8775379657745361, 0.16522972285747528, -0.15723176300525665, 0.15536008775234222, 0.16668705642223358, -0.19737517833709717, 0.716785728931427, -0.06670036911964417, -0.2927442491054535, -0.003548478940501809, 0.7163988947868347, 0.4301574230194092, 0.4642993211746216, 0.613427996635437, 0.5294480919837952, 0.896403968334198, -0.42584696412086487, 0.7348189949989319, -0.04218260198831558, 0.37687793374061584, 0.7907367944717407, -0.34638822078704834, 0.40223947167396545, 0.32429420948028564, -0.16537652909755707, 0.4895693361759186, 0.47558829188346863, -0.17312952876091003, 0.26183149218559265, 0.5491368174552917, -0.4153395891189575, 0.047823142260313034, -0.3817572295665741, -0.18439240753650665, 0.07120000571012497, 0.32183465361595154, -0.12945514917373657, -0.020622989162802696, -0.14651887118816376, 0.3495352864265442, 0.24984560906887054, -0.4615637958049774, 0.6233888268470764, -0.12440075725317001, -0.2980422079563141, 0.20953090488910675, 0.2970724403858185, 0.8682581186294556, -0.7375242710113525, -0.43783053755760193, 0.09989817440509796, 0.2722828686237335, -0.8191543221473694, -0.7385858297348022, 0.24358537793159485, 0.008248423226177692, -0.37735944986343384, 0.044399015605449677, 0.793167233467102, -0.5769696831703186, -0.4956495761871338, 0.3746398091316223, 0.12221955507993698, 0.05089428648352623, 0.02216017059981823, -0.5402646064758301, 0.08120211213827133, -0.3905607759952545, -0.28046557307243347, -0.02473612315952778, 0.962093710899353, -0.422944039106369, 0.39550021290779114, 0.5378690958023071, 0.5820133686065674, 0.15237963199615479, 0.44683191180229187, 0.7278624176979065, -0.5409522652626038, -0.498421311378479, -0.49865198135375977, -0.06573942303657532, -0.4974857270717621, -0.756883442401886, 1.1215035915374756, 0.4316084384918213, 0.7588473558425903, 0.014808999374508858, 0.6918088793754578, -0.22791707515716553, 0.395746648311615, -0.36290717124938965, 1.0554393529891968, -0.2679211497306824, -0.04135788604617119, -0.6260422468185425, -1.1609959602355957, -0.5528314709663391, 0.5442258715629578, -0.0517282709479332, 0.03120291605591774, 0.5877877473831177, 0.7399204969406128, 0.013797021470963955, 0.20244455337524414, 0.16864857077598572, -0.052111752331256866, 0.1193753108382225, 0.05463879555463791, 0.6172754764556885, -0.0593988336622715, 0.18612337112426758, -0.5204439759254456, -0.44221851229667664, -0.028981544077396393, -0.7294007539749146, -0.8142261505126953, -0.585457980632782, -0.7335743308067322, -0.545167863368988, 0.2767164707183838, 0.8433218598365784, 0.8184323310852051, -0.9286046028137207, -0.04991792514920235, 0.10487022250890732, 0.35398784279823303, -0.5907520055770874, -0.2954865097999573, 0.6944141983985901, -0.26618054509162903, -0.8036656975746155, -0.24718207120895386, 0.4969538748264313, -0.111655093729496, -0.6969904899597168, -0.0984053909778595, 0.17230980098247528, -0.02991376258432865, 0.395977646112442, 0.1922333538532257, -0.6007305979728699, -0.2706775665283203, -0.27621230483055115, -0.30782341957092285, -0.25763651728630066, 0.8243004083633423, -0.6128049492835999, 0.658220648765564, 0.46944981813430786, 0.8320118188858032, 0.4396358132362366, -0.12820009887218475, 0.3738672733306885, -0.7789976596832275, -0.04769991710782051, 0.46535077691078186, 0.18023699522018433, 0.415703684091568, -0.6200587153434753, 0.5863090753555298, 0.6977108120918274, -0.3044663369655609, -0.621411919593811, 0.07140789926052094, -0.8668571710586548, -0.06297817826271057, 1.179832100868225, -0.5321544408798218, -0.4985974431037903, -0.5246784090995789, -0.4951247274875641, -0.08722811192274094, -0.09312920272350311, 0.6451294422149658, 1.026708722114563, -0.05922588333487511, 0.12808537483215332, -0.5489101409912109, 1.1260437965393066, -0.08891019970178604, -0.8651477694511414, 0.4713955521583557, 0.6629932522773743, 0.06689870357513428, 0.6167649626731873, 0.6069597601890564, -0.16921155154705048, 0.2688129246234894, 0.20884111523628235, 0.3177342116832733, -0.2527860105037689, -0.5278304219245911, 0.22882507741451263, 0.1514343023300171, -0.10493075847625732, -0.1407517045736313 ]
http://arxiv.org/abs/2407.00402v1
http://arxiv.org/pdf/2407.00402v1
Is It Really Long Context if All You Need Is Retrieval? Towards Genuinely Difficult Long Context NLP
2024-06-29T11:09:47
2024-06-29T11:09:47
Omer Goldman, Alon Jacovi, Aviv Slobodkin, Aviya Maimon, Ido Dagan, Reut Tsarfaty
cs.CL
cs.CL, cs.AI
Improvements in language models' capabilities have pushed their applications towards longer contexts, making long-context evaluation and development an active research area. However, many disparate use-cases are grouped together under the umbrella term of "long-context", defined simply by the total length of the model's input, including - for example - Needle-in-a-Haystack tasks, book summarization, and information aggregation. Given their varied difficulty, in this position paper we argue that conflating different tasks by their context length is unproductive. As a community, we require a more precise vocabulary to understand what makes long-context tasks similar or different. We propose to unpack the taxonomy of long-context based on the properties that make them more difficult with longer contexts. We propose two orthogonal axes of difficulty: (I) Diffusion: How hard is it to find the necessary information in the context? (II) Scope: How much necessary information is there to find? We survey the literature on long-context, provide justification for this taxonomy as an informative descriptor, and situate the literature with respect to it. We conclude that the most difficult and interesting settings, whose necessary information is very long and highly diffused within the input, is severely under-explored. By using a descriptive vocabulary and discussing the relevant properties of difficulty in long-context, we can implement more informed research in this area. We call for a careful design of tasks and benchmarks with distinctly long context, taking into account the characteristics that make it qualitatively different from shorter context.
[ -0.4261833727359772, -0.8956896662712097, 0.864288866519928, 0.4603165090084076, -0.43452760577201843, 0.10876309126615524, -0.6459499001502991, -0.7305790781974792, 0.1856112778186798, 0.29809144139289856, -0.3179151713848114, -0.007728919852524996, -0.7592809200286865, 0.3038066625595093, -0.61530601978302, 0.8959131836891174, -0.12218350917100906, -0.39062371850013733, -0.3838152289390564, -0.4702529311180115, -0.5454162359237671, -0.5468225479125977, -0.43638864159584045, -0.3386658728122711, 0.756391704082489, 0.020279625430703163, 0.6199521422386169, 0.2941499948501587, 0.43786686658859253, 0.2157929688692093, -0.6386322975158691, -0.01453807856887579, -0.4517833888530731, 0.193864643573761, -0.4740384519100189, -0.17802219092845917, -0.20426692068576813, -0.24605588614940643, 0.4473591446876526, 1.1178934574127197, -0.09007564932107925, 0.17219698429107666, 0.46637532114982605, 0.9103480577468872, -0.6324148774147034, -0.03330719470977783, -0.08334492146968842, -0.006829158868640661, -0.4573671221733093, -0.23482604324817657, -0.12385036051273346, 0.382517546415329, 0.38724541664123535, -0.5107192993164062, 0.0036724163219332695, 0.08843659609556198, 0.4655655026435852, 0.02671593800187111, -0.8290783166885376, -0.5196261405944824, -0.9384914040565491, 1.027779221534729, -0.42136842012405396, 0.15556097030639648, 0.31894490122795105, 0.34711578488349915, -0.10788597911596298, -0.7534071803092957, -0.44381386041641235, -0.12101838737726212, -0.11685307323932648, -0.11388764530420303, -0.13505837321281433, 0.0486682690680027, 0.19266387820243835, 0.07525034248828888, -0.2551962733268738, 0.07337842881679535, -0.575373649597168, 0.06007479131221771, 0.5284771919250488, 0.12157004326581955, 0.06892263144254684, -0.35669511556625366, -0.44096308946609497, 0.2746935188770294, -0.6079716086387634, 0.08715040981769562, 0.041010305285453796, 0.38645079731941223, 0.05440932884812355, 0.41776731610298157, -0.39253705739974976, 0.7688314914703369, -0.3112628161907196, -0.07060888409614563, 0.2811809480190277, -0.2942349910736084, -0.1241411566734314, -0.2764243483543396, 0.4026408791542053, 0.21348603069782257, -0.07647332549095154, -0.36963680386543274, -0.38457825779914856, -0.28007617592811584, 0.48920226097106934, -0.45623716711997986, 0.3213045299053192, 0.3899814188480377, -0.3120761513710022, 0.10283882170915604, -0.3057554364204407, -0.5726633071899414, -0.062404781579971313, -0.48096057772636414, 0.5091590881347656, -0.16232995688915253, -0.32413506507873535, 0.1772080808877945, -0.10685142874717712, 0.0797058641910553, 0.1915186643600464, -0.5525767207145691, 0.31268787384033203, 1.1581677198410034, 0.972655713558197, -0.5913727283477783, -0.21638289093971252, -0.07137355208396912, 0.03308654949069023, -0.1346054971218109, 0.561098575592041, -0.6417248845100403, -0.5719537138938904, 0.10318540036678314, 0.219925656914711, 0.2185029834508896, -0.49008268117904663, 0.7573168277740479, -0.45943683385849, 0.43314456939697266, -0.42206376791000366, -0.6479095220565796, -0.03564772754907608, 0.2958756685256958, -0.6005123853683472, 1.0233433246612549, 0.4417386054992676, -0.6905597448348999, 0.3127785623073578, -0.7083271145820618, -0.5495375394821167, 0.28103089332580566, -0.06904162466526031, 0.12485398352146149, 0.19770705699920654, -0.28791213035583496, 0.5400238633155823, -0.3624235987663269, 0.6973438262939453, -0.13411054015159607, -0.5570046901702881, 0.05839579179883003, -0.2753579020500183, 0.5821378231048584, 0.27300718426704407, -0.4351653754711151, -0.08901730179786682, -0.608885645866394, 0.003029409097507596, -0.22426949441432953, -0.42101383209228516, -0.7791868448257446, 0.1809816211462021, 0.22534549236297607, 0.21763299405574799, 0.39000922441482544, -0.3535958528518677, 0.045669350773096085, -0.3031086027622223, 0.6843491196632385, 0.5802159309387207, -0.2931264042854309, 0.7696301937103271, -0.3074922263622284, 0.46672970056533813, -0.10839496552944183, 0.30307847261428833, 0.1659035086631775, -0.3722760081291199, -0.37957799434661865, -0.09307621419429779, 0.2301194667816162, 0.33226335048675537, -0.7205120921134949, 0.4670521020889282, -0.2942074239253998, -0.22862961888313293, -0.15244093537330627, 0.22187282145023346, 0.5657373666763306, 0.6854147911071777, 0.6031866669654846, -0.3488248884677887, -0.35058221220970154, -1.0731453895568848, -0.11539449542760849, 0.18115705251693726, -0.23425772786140442, 0.4818974733352661, 0.8025217056274414, -0.4014543890953064, 1.010185718536377, -0.23821988701820374, -0.5181102752685547, -0.12077575922012329, 0.030475791543722153, 0.5386518239974976, 0.2774054706096649, 0.4063495993614197, -1.0657479763031006, -0.24797393381595612, -0.34619200229644775, -0.7001385688781738, 0.07939334958791733, 0.11004658788442612, -0.11239411681890488, 0.05741063877940178, 0.6151834726333618, -0.7728150486946106, 0.16884922981262207, 0.26241523027420044, -0.2634357511997223, 0.5086259841918945, -0.25966835021972656, -0.2902376651763916, -0.8517939448356628, 0.4074954390525818, -0.15702730417251587, -0.10922317206859589, -0.5969586372375488, 0.7649403810501099, 0.07683981209993362, 0.11914829909801483, -0.5948724150657654, 0.8359668850898743, -0.4453437328338623, 0.3627017140388489, -0.3580459654331207, 0.25569024682044983, 0.19670115411281586, 0.3803631365299225, -0.024259619414806366, 0.6304615139961243, 0.2967207133769989, -0.7406482100486755, 0.5331552624702454, -0.15638718008995056, -0.7550753355026245, 0.4943849444389343, -0.6348679661750793, -0.02093408815562725, -0.26080378890037537, 0.5805196762084961, -0.7067717909812927, -0.2563365697860718, 0.06727758049964905, 0.1166154146194458, 0.281362384557724, 0.01684323139488697, -0.36341261863708496, -0.44175729155540466, -0.0019110479624941945, 0.992649257183075, 0.47594431042671204, -0.29273077845573425, 0.26781773567199707, 0.24634303152561188, -0.03426319733262062, -0.9141411781311035, -0.6090489625930786, 0.269963800907135, -0.6121338605880737, -0.4582330584526062, 0.8585495352745056, -0.050794683396816254, -0.4821655750274658, -0.10657069832086563, -0.25523078441619873, -0.2497805655002594, 0.23367589712142944, 0.21436552703380585, -0.35952940583229065, -0.10092072188854218, 0.6866562962532043, -0.18277662992477417, 0.09396576881408691, 0.08597208559513092, -0.05501200631260872, 0.23361562192440033, 0.04391205310821533, -0.15950463712215424, 0.12130925059318542, 0.9544981122016907, 0.23896698653697968, 0.13417384028434753, 0.35940253734588623, 0.2987127900123596, -0.35572704672813416, -0.2652952969074249, -0.48376336693763733, 0.08389829099178314, -0.4305724799633026, 0.3971891701221466, -0.3963719606399536, -1.145698070526123, 0.5652179718017578, -0.09280133247375488, 0.0310609620064497, 0.27275151014328003, 0.11409547924995422, -0.29153019189834595, 0.6727941036224365, 0.9204487800598145, -0.052079249173402786, 0.1729968786239624, -0.1852431744337082, 0.24378706514835358, -0.9953228831291199, -0.21413682401180267, -0.3657689690589905, -0.4387311041355133, -0.27543750405311584, -0.5473867058753967, 0.30055513978004456, 0.1353088915348053, -0.13734711706638336, 0.12660756707191467, -0.573737382888794, 0.5146511793136597, 0.20371150970458984, 0.16267971694469452, 0.05102697014808655, -0.2852012813091278, 0.22430753707885742, -0.013788350857794285, -0.4421031177043915, -0.3262843191623688, 0.9306679964065552, 0.18163003027439117, 0.45428770780563354, 0.3384605646133423, 0.7146134376525879, 0.2897854149341583, 0.11231649667024612, -1.1050397157669067, 0.38848960399627686, -0.049013104289770126, -0.8748468160629272, -0.46331632137298584, -0.18422584235668182, -1.3462822437286377, 0.16999831795692444, 0.04682445153594017, -0.4881032109260559, 0.17010891437530518, -0.11044374108314514, -0.43115633726119995, -0.1294242888689041, -0.3287304937839508, 0.6342365741729736, -0.15882056951522827, -0.42794176936149597, -0.11438851058483124, -0.9212228059768677, 0.1722995787858963, -0.29774951934814453, 0.8465194702148438, -0.2572208344936371, -0.25399503111839294, 0.7505671977996826, -0.2948300540447235, 0.6349158883094788, -0.06952084600925446, -0.19176200032234192, 0.3224532902240753, 0.1497398316860199, 0.22009846568107605, -0.015611506998538971, -0.08601578325033188, -0.1299317181110382, 0.3265785276889801, -0.6143813729286194, -0.763739824295044, 0.6430130004882812, -0.32564777135849, -0.8318275213241577, -0.4207942485809326, -0.16619837284088135, -0.13616858422756195, 0.2157060205936432, 0.30334174633026123, 0.4906676709651947, -0.18019023537635803, 0.4221413731575012, 0.4954310953617096, 0.05293312668800354, 0.5545655488967896, 0.23833464086055756, -0.17135076224803925, 0.40057969093322754, 0.7208952307701111, 0.22315894067287445, 0.008262967690825462, 0.513948380947113, 0.19344528019428253, -0.3243069350719452, -0.46438172459602356, -0.1825421005487442, 0.09018615633249283, -0.7306040525436401, -0.1357385665178299, -0.41240912675857544, -0.054406411945819855, -0.019526468589901924, -0.19376304745674133, -0.18265950679779053, -0.37558525800704956, -0.5553287863731384, 0.1464478075504303, 0.10930684953927994, 0.5750842690467834, 0.029911672696471214, 0.2807687819004059, -0.6527647972106934, 0.3551705777645111, 0.36863914132118225, 0.46957993507385254, 0.10991474241018295, -0.6408606767654419, -0.25328657031059265, 0.007723723538219929, -0.0037756883539259434, -0.7184579968452454, 0.4053184688091278, 0.45318883657455444, 0.3093325197696686, 0.18514177203178406, 0.2753628194332123, 0.7389285564422607, -0.5897060632705688, 0.8615733981132507, 0.09180718660354614, -0.7235838770866394, 0.17690230906009674, -0.08238690346479416, 0.34589698910713196, 0.7013335227966309, 0.6452370882034302, -0.6235911846160889, -0.10761295258998871, -0.5249941349029541, -1.564095139503479, 0.2806013524532318, 0.11188062280416489, 0.7433348298072815, -0.3265640437602997, 0.6422640681266785, 0.15737241506576538, 0.1848832219839096, -0.7387245893478394, 0.12718339264392853, 0.07357283681631088, 0.12152771651744843, -0.16433626413345337, -0.6234847903251648, -0.6168597936630249, -0.26408249139785767, 0.15236622095108032, -0.0890868753194809, 0.20138871669769287, 0.2704843282699585, -0.20871292054653168, 0.24547609686851501, 0.6497066617012024, 0.40530043840408325, 1.3056001663208008, -0.3005737066268921, 0.25681406259536743, 0.1036250963807106, -0.042789969593286514, -0.0015278529608622193, -0.1934683918952942, 0.257302850484848, 0.05723300576210022, 0.6178852319717407, 0.3363268971443176, 0.4990161955356598, -0.8494667410850525, 0.8839626312255859, 0.20120754837989807, -0.13960228860378265, -0.7233853936195374, -0.07694105803966522, 0.11097142100334167, 0.3064652681350708, 0.8065513968467712, -0.4903441369533539, 0.5201212167739868, -0.7333840131759644, 0.11552533507347107, 0.48823314905166626, -0.4046156108379364, -0.0425933413207531, 0.1999589502811432, 0.45515796542167664, -0.40539222955703735, 0.5461496710777283, -0.31790444254875183, -0.2756579518318176, 0.7135036587715149, 0.4799827039241791, 0.5114494562149048, 0.19871050119400024, -0.0309279914945364, 0.06307532638311386, -0.13392187654972076, -0.4459310472011566, 0.06448366492986679, -0.5867968797683716, -0.21427606046199799, -0.7370285987854004, -0.9369454383850098, -0.2529118061065674, 0.26090940833091736, -0.8294822573661804, 0.1271977722644806, -0.19574123620986938, -0.3577631711959839, 0.10385935008525848, -0.05842835456132889, -0.5164790749549866, 0.33064359426498413, -0.16321289539337158, 0.9643728137016296, -0.4270261526107788, 0.5906816720962524, 0.3726951777935028, 0.2300862967967987, -0.20103324949741364, -0.15157189965248108, -0.2577812671661377, -0.4576125144958496, 0.7778624892234802, 0.3546597957611084, -0.08513036370277405, -0.42199379205703735, -0.6260085701942444, -0.7870566248893738, 0.9327206015586853, -0.17122432589530945, -0.8186960220336914, -0.6193612217903137, -0.1573985368013382, 0.825350821018219, -0.3013342618942261, 0.017754826694726944, 0.41718819737434387, 0.47848981618881226, -0.14097224175930023, -1.0914380550384521, 0.18420574069023132, -0.1882173866033554, 0.03639844432473183, 0.2931528687477112, -0.5768005847930908, 0.7071511149406433, -0.09274440258741379, -0.5420495271682739, 0.11634337157011032, 0.5255240201950073, -0.24252693355083466, 0.43382319808006287, 0.5554671883583069, 0.1796080470085144, 0.42428892850875854, 0.09746786206960678, 0.8781449198722839, -0.20154818892478943, 0.48948976397514343, 1.1415709257125854, -0.07671108096837997, 0.8067824244499207, 0.7665876746177673, -0.25050103664398193, 0.33717456459999084, 0.6136027574539185, 0.3095758259296417, 0.41986435651779175, 0.4808531701564789, -0.367990106344223, -0.3272515833377838, 0.014441498555243015, -0.5575754642486572, 0.44437775015830994, 0.6511891484260559, -0.31496462225914, -0.34913527965545654, 0.157274067401886, -0.01626650243997574, 0.19437620043754578, 0.014294019900262356, 0.46323299407958984, 0.40844494104385376, -0.8641162514686584, 0.7428598403930664, 0.10958253592252731, 0.9490278363227844, -0.5291106700897217, 0.155903160572052, -0.07626830786466599, -0.3262195289134979, -0.2273794412612915, -1.0510634183883667, 0.5753493905067444, -0.3193863034248352, -0.28785139322280884, -0.2203340232372284, 0.3106391727924347, -0.12634575366973877, -0.09491588175296783, 0.7365726828575134, 0.6716086268424988, 0.22322151064872742, -0.21253399550914764, -0.5358966588973999, -0.11867814511060715, -0.3518454432487488, -0.45815736055374146, 0.5371698141098022, 0.49930673837661743, -0.17749090492725372, 0.703244149684906, 0.2913224697113037, -0.08059218525886536, -0.3092164099216461, -0.18361517786979675, 0.6221945881843567, -0.9944230318069458, -0.2939392924308777, -0.8907699584960938, 0.16910909116268158, 0.049437493085861206, -0.5777166485786438, 0.27065229415893555, 0.355331152677536, 0.6757630705833435, 0.26428699493408203, 0.4595715403556824, -0.336477667093277, 0.5285014510154724, -0.40422916412353516, 0.4240126609802246, -1.0392050743103027, 0.2748030424118042, -0.04638106748461723, -1.0081901550292969, -0.3644527196884155, 0.24004802107810974, 0.0333288200199604, 0.0334094762802124, 0.6871247291564941, 0.3486867845058441, -0.40549543499946594, -0.1786736398935318, 0.21626248955726624, 0.05428905412554741, 0.22876614332199097, 0.8943672776222229, 0.8287133574485779, 0.08565978705883026, 0.49492543935775757, -0.4222346246242523, -0.21733026206493378, -0.44948601722717285, -1.0233402252197266, -0.5139889121055603, -1.0840851068496704, 0.011712136678397655, -0.3433345854282379, 0.20933806896209717, 0.6873000860214233, 0.6699293255805969, -0.24311651289463043, -0.3368338644504547, 0.1979789137840271, 0.28733113408088684, -0.06295733898878098, -0.24447529017925262, 0.42754700779914856, -0.3546459674835205, -0.6977701187133789, 0.4850696921348572, 0.22490602731704712, -0.16570612788200378, -0.20594467222690582, 0.19941268861293793, -0.08253425359725952, -0.044311027973890305, 1.034914493560791, 0.5337367057800293, -0.7498148679733276, -0.5642370581626892, -0.1564396172761917, -0.19084537029266357, -0.006429523695260286, 0.7677977085113525, -0.7487570643424988, 0.5588451623916626, 0.3741225600242615, 0.38713589310646057, 0.44294244050979614, -0.16424082219600677, 0.3473816215991974, -0.8527719974517822, 0.012305323965847492, 0.5603969097137451, 0.22317884862422943, 0.2539122700691223, -0.34541234374046326, 0.5689908862113953, -0.008593179285526276, -0.5999802947044373, -1.1154751777648926, 0.5256425738334656, -1.1959701776504517, -0.788614809513092, 1.3969167470932007, -0.06139225885272026, -0.4780398905277252, -0.38223007321357727, -0.02103680931031704, 0.03878508508205414, -0.21941369771957397, 0.9841680526733398, 0.9035985469818115, -0.3462269604206085, 0.2456647753715515, -0.6742611527442932, 0.7063586711883545, 0.5109848380088806, -0.13117799162864685, 0.08776101469993591, 0.2908124029636383, 0.3507150113582611, 0.5679319500923157, 0.6513354778289795, -0.07319773733615875, 0.034707941114902496, -0.5005521178245544, -0.4442935287952423, 0.21088188886642456, -0.39071178436279297, -0.24774155020713806, 0.45009005069732666, 0.017979837954044342, 0.5407447218894958 ]
http://arxiv.org/abs/2407.00396v1
http://arxiv.org/pdf/2407.00396v1
A Study on Effect of Reference Knowledge Choice in Generating Technical Content Relevant to SAPPhIRE Model Using Large Language Model
2024-06-29T10:46:01
2024-06-29T10:46:01
Kausik Bhattacharya, Anubhab Majumder, Amaresh Chakrabarti
cs.CL
cs.CL, cs.AI
Representation of systems using the SAPPhIRE model of causality can be an inspirational stimulus in design. However, creating a SAPPhIRE model of a technical or a natural system requires sourcing technical knowledge from multiple technical documents regarding how the system works. This research investigates how to generate technical content accurately relevant to the SAPPhIRE model of causality using a Large Language Model, also called LLM. This paper, which is the first part of the two-part research, presents a method for hallucination suppression using Retrieval Augmented Generating with LLM to generate technical content supported by the scientific information relevant to a SAPPhIRE con-struct. The result from this research shows that the selection of reference knowledge used in providing context to the LLM for generating the technical content is very important. The outcome of this research is used to build a software support tool to generate the SAPPhIRE model of a given technical system.
[ -0.38565999269485474, -0.8508597612380981, 0.6615051627159119, 0.23397189378738403, -0.44640177488327026, -0.2742820084095001, -0.18887823820114136, -0.535561203956604, 0.4282795488834381, 0.5683756470680237, -0.40523940324783325, -0.3858810365200043, -0.14024318754673004, 0.06838943809270859, -0.4707644581794739, 0.7123538255691528, -0.007790507283061743, 0.18226763606071472, 0.011084446683526039, 0.23207886517047882, -0.839747428894043, -0.5049970746040344, -0.7963018417358398, -0.6107476353645325, 0.4090922772884369, 0.2605862319469452, 0.5538693070411682, 0.28615638613700867, 0.7732766270637512, 0.31452128291130066, -0.07088787853717804, 0.14815491437911987, -0.36139410734176636, 0.43428707122802734, -0.4127265512943268, -0.5178762674331665, -0.4111459255218506, -0.18864864110946655, 0.6833961009979248, 0.21575294435024261, -0.2649887800216675, 0.19308914244174957, 0.18805231153964996, 0.5237407088279724, -0.3229106068611145, 0.07008413970470428, -0.8188952207565308, 0.1415189951658249, -0.1617353856563568, -0.73451828956604, -0.5855405926704407, -0.3029348850250244, -0.18913181126117706, -0.639050304889679, 0.2738226056098938, 0.2726847231388092, 0.878662109375, 0.47210144996643066, -0.18555384874343872, -0.19673925638198853, -1.2120516300201416, 0.8053334951400757, -0.6506127715110779, 0.4127733111381531, 0.3426983654499054, 0.2084343284368515, -0.1664741486310959, -0.5313234329223633, -0.7382619380950928, -0.39135459065437317, -0.15378119051456451, 0.06554527580738068, 0.1610102653503418, -0.13136109709739685, 0.619467556476593, 0.13569217920303345, -0.41047048568725586, -0.08514676243066788, -0.8590022921562195, -0.34794163703918457, 0.48093682527542114, 0.21639470756053925, 0.47810280323028564, -0.6766654253005981, -0.12479160726070404, 0.029647676274180412, -1.022011637687683, -0.5183702707290649, 0.053621891885995865, 0.19478341937065125, 0.2385648787021637, 0.9271984696388245, -0.0328553207218647, 0.7298896908760071, 0.0424405112862587, -0.2749097943305969, 0.10978109389543533, -0.3163466155529022, -0.4537864625453949, 0.3804302215576172, 0.6995172500610352, 0.08451829105615616, 0.04757658764719963, -0.36368346214294434, -0.014566575177013874, -0.0610247477889061, 0.4727926552295685, -0.7579898834228516, 0.31958839297294617, 0.03033352829515934, -0.4350810647010803, -0.13224811851978302, 0.15102407336235046, -0.24670526385307312, -0.5100457072257996, -0.7182520627975464, 0.16083906590938568, -0.680719792842865, -0.4016258120536804, 0.0008391455048695207, -0.27266964316368103, 0.2809292674064636, 0.13548330962657928, -0.7029654383659363, 0.008466348983347416, 0.440059632062912, 0.8079336881637573, -0.05343841761350632, -0.12292438000440598, -0.5146693587303162, 0.7558510899543762, -0.27527299523353577, 0.5382567644119263, -0.5153285264968872, -0.7207433581352234, -0.29371607303619385, -0.16228169202804565, 0.23459136486053467, -0.6874059438705444, 0.5760339498519897, -0.7807087898254395, -0.04815736040472984, -0.04806467890739441, -0.29643768072128296, -0.29113832116127014, -0.05435185134410858, -0.7486125826835632, 0.969745397567749, -0.11315707117319107, -0.7271894216537476, 0.504217267036438, -0.10670007020235062, -0.5021036863327026, 0.2562243640422821, -0.6120361089706421, -0.16942034661769867, 0.3030507266521454, -0.2924361228942871, 0.4070800840854645, -0.3946470022201538, 0.6671034693717957, -0.21012407541275024, -0.41880446672439575, 0.3124615550041199, 0.11724712699651718, 0.2503388226032257, 0.27204009890556335, -0.617585301399231, 0.02040972374379635, -1.0389097929000854, -0.13589274883270264, -0.12484893947839737, -0.32834601402282715, -0.727459192276001, 0.32679495215415955, -0.27046576142311096, 0.437238484621048, -0.04745732992887497, -0.5438750982284546, -0.10532686114311218, -0.036946918815374374, 0.2337852567434311, 0.624643862247467, 0.25129473209381104, 0.35294169187545776, -0.10409688949584961, 0.30634546279907227, -0.17990605533123016, -0.024722401052713394, 0.4134417176246643, -0.34411340951919556, -0.755588173866272, 0.06982371211051941, 0.09170332551002502, 0.5608216524124146, -0.9951059222221375, 0.2761591672897339, -0.14678947627544403, -0.29494842886924744, -0.14547324180603027, 0.09458886086940765, 0.3131186068058014, 0.5965742468833923, 0.2188761979341507, 0.020398959517478943, -0.8281041979789734, -1.017269253730774, 0.20346324145793915, -0.14258308708667755, -0.283849835395813, 0.43570563197135925, 0.16685202717781067, -0.03638850897550583, 0.8749630451202393, -0.5511525273323059, -0.31634485721588135, -0.09158746153116226, 0.04453333839774132, 0.2836998701095581, 0.4277462661266327, 0.5026962757110596, -0.6434414386749268, -0.2886786460876465, 0.08549045026302338, -1.1526975631713867, 0.009738867171108723, -0.24428978562355042, -0.6640962958335876, 0.1863454431295395, 0.7117485404014587, -0.6652243733406067, 0.4456842839717865, 0.18386568129062653, -0.23069633543491364, 0.5951996445655823, -0.21165171265602112, 0.28544387221336365, -1.3976049423217773, 0.46948403120040894, 0.2789246141910553, 0.11727908998727798, -0.4007992148399353, 0.1288830190896988, 0.054652851074934006, -0.2491319179534912, -0.23711195588111877, 0.5155798196792603, -0.29299986362457275, -0.0029912174213677645, -0.34314972162246704, 0.5353841781616211, -0.16265422105789185, 0.24087703227996826, 0.6392843723297119, 0.8745139241218567, 0.16470783948898315, -1.0521247386932373, 0.48871541023254395, 0.29520073533058167, -0.2891046702861786, 0.5486032366752625, -0.8199653625488281, -0.036783378571271896, 0.0013406554935500026, -0.33274757862091064, -0.3203282058238983, -0.04980672895908356, 0.26077595353126526, -0.48355066776275635, 0.3388606607913971, 0.146450012922287, -0.6584275364875793, -0.3634132444858551, 0.0734807625412941, 0.09536200761795044, 0.5944127440452576, -0.060096509754657745, 0.7883525490760803, 0.25323235988616943, -0.3807581663131714, -0.135740265250206, -0.8846355676651001, 0.008232025429606438, -0.2548369765281677, -0.9118492007255554, 0.5437448024749756, -0.3532199263572693, -0.6660639047622681, -0.05030260235071182, 0.009014805778861046, 0.20858608186244965, -0.06904665380716324, 0.49063751101493835, 0.6093872785568237, -0.3931165635585785, 0.5507174730300903, 0.02609907276928425, -0.1967800259590149, 0.1748378872871399, -0.08531022071838379, 0.6669434905052185, 0.2613963782787323, -0.28534770011901855, -0.47482943534851074, 0.23725605010986328, 0.2570112943649292, 0.15915317833423615, 1.0882962942123413, 0.3800189197063446, -0.22092698514461517, -0.38624852895736694, -0.7099773287773132, -0.28886955976486206, -0.5048492550849915, 0.34006673097610474, -0.4016185402870178, -0.45972853899002075, 0.4680633544921875, 0.2708480954170227, -0.0899987518787384, 0.6176862716674805, 0.3996036946773529, 0.3112899363040924, 0.6835330724716187, 0.7013409733772278, -0.17216581106185913, 0.5984356999397278, 0.07292505353689194, 0.26711416244506836, -1.0246368646621704, -0.5547875165939331, -0.7918928265571594, 0.033751048147678375, -0.2005423903465271, -0.18677596747875214, 0.3038490414619446, 0.10916655510663986, -0.5277994275093079, 0.2124483287334442, -0.6567659378051758, 0.10772514343261719, 0.7853206396102905, 0.6993103623390198, 0.5330959558486938, 0.5223507285118103, -0.25593113899230957, -0.15902739763259888, -0.31800806522369385, -0.6482862830162048, 0.8842333555221558, -0.06538055092096329, 1.0240988731384277, 0.15961597859859467, 0.40399131178855896, 0.3000803291797638, -0.12880004942417145, -0.6608632206916809, 0.6634141802787781, 0.22524714469909668, -0.6002036929130554, -0.40638867020606995, -0.4510655999183655, -0.40690019726753235, -0.06783907115459442, -0.29596900939941406, -0.38730236887931824, 0.07919852435588837, -0.03953060135245323, -0.6625254154205322, 0.26946309208869934, -0.5869569778442383, -0.008518490009009838, 0.03657243400812149, -0.6544283628463745, -0.6398504972457886, -0.14609579741954803, 0.6553691029548645, -0.3151189982891083, 0.1986468881368637, 0.373251348733902, 0.2812701463699341, 0.8205717206001282, -0.33238887786865234, 0.7224745750427246, 0.16897910833358765, -0.13040082156658173, 0.304478257894516, 0.38800299167633057, 0.5788296461105347, 0.22491388022899628, -0.6551963090896606, -0.16925330460071564, -0.4539349675178528, 0.027819693088531494, -0.4653182923793793, 0.8013290166854858, -0.8512410521507263, -1.0982004404067993, -0.3599866032600403, -0.4284418523311615, -0.04082047566771507, 0.24602842330932617, 0.2012738734483719, 0.5574135184288025, 0.060055267065763474, 0.1614025980234146, 1.0663479566574097, -0.4613560736179352, 0.40697845816612244, 0.588695228099823, -0.1531001627445221, -0.3073101043701172, 0.7842332720756531, 0.06823039054870605, 0.31286323070526123, 0.2231990247964859, -0.07884128391742706, 0.2562256157398224, -0.5834611058235168, -0.26101750135421753, 0.6223267316818237, -0.7890545725822449, -0.14614619314670563, -0.42420682311058044, -0.7921466827392578, -0.3146194815635681, -0.20073309540748596, 0.039144206792116165, -0.3493141531944275, -0.5291323065757751, -0.1380072385072708, 0.41292259097099304, 1.1073359251022339, 0.02573545277118683, -0.06345602869987488, -1.0017728805541992, 0.2616240084171295, 0.2964946925640106, 0.3610198199748993, 0.1863744556903839, -0.5433925986289978, -0.4659701883792877, -0.05275634676218033, -0.36960098147392273, -0.6997228264808655, 0.2816317081451416, -0.16439978778362274, 1.0670850276947021, 0.375723272562027, 0.03503971919417381, 0.6132180094718933, -0.5552254915237427, 0.9315394163131714, 0.2266310453414917, -0.9318288564682007, 0.7982102036476135, -0.22274558246135712, 0.08284392207860947, 0.18394668400287628, 0.37069979310035706, -0.428790807723999, -0.4576285183429718, -0.5092769861221313, -0.5231286287307739, 0.804958164691925, 0.2235545814037323, -0.039824772626161575, 0.0050687892362475395, 0.6509020924568176, 0.07130651921033859, 0.10072389245033264, -0.9509984850883484, -0.10535012930631638, 0.10887372493743896, 0.25609007477760315, 0.13894568383693695, -0.6149888038635254, -0.07655184715986252, 0.047504883259534836, 1.2701075077056885, 0.34392330050468445, 0.26081931591033936, 0.38191619515419006, -0.2354111671447754, -0.1845787614583969, 0.07713817059993744, 0.8079369068145752, 0.728890597820282, -0.08769533038139343, 0.07376283407211304, -0.010678993538022041, -0.6216891407966614, -0.25052276253700256, -0.2583606541156769, -0.6016789078712463, 0.1744869500398636, 0.21842682361602783, 0.7775116562843323, -0.01950383558869362, -0.26090291142463684, -0.24048744142055511, 0.10199311375617981, -0.194520503282547, -0.2967538833618164, 0.26872217655181885, -0.03218560293316841, 0.3859735131263733, 0.4916049838066101, -0.04411808401346207, 0.009695742279291153, -0.34338101744651794, 0.02938668243587017, 0.5677930116653442, -0.1663442999124527, -0.07182405143976212, 0.5685727000236511, 0.18217580020427704, -0.3001294434070587, 0.8479493260383606, -0.05967290699481964, -0.15748277306556702, 0.6474606990814209, 0.6149190068244934, 0.5287151336669922, -0.3961194157600403, 0.3646520972251892, 0.7691741585731506, 0.35189110040664673, 0.02259720116853714, 0.2429562658071518, 0.01606161892414093, -0.5854764580726624, -0.46361005306243896, -0.7264097332954407, -0.15157705545425415, 0.02730259671807289, -0.4841444790363312, 0.7311729788780212, -0.3458491265773773, -0.3199433982372284, -0.1539095789194107, -0.09944801777601242, -0.36811986565589905, 0.1558912992477417, 0.17759476602077484, 0.8354480862617493, -0.6370795965194702, 0.758025586605072, 0.38825270533561707, -0.8939316868782043, -1.327012300491333, -0.1821650266647339, -0.35030898451805115, -0.7071905732154846, 1.276854395866394, -0.6280407905578613, -0.295337975025177, -0.1496649980545044, -0.3389699459075928, -1.1025683879852295, 1.3147485256195068, 0.2730523347854614, -0.5555698275566101, -0.15067675709724426, 0.17680613696575165, 0.4515647292137146, -0.14608880877494812, 0.170549675822258, 0.09668022394180298, 0.3679342269897461, 0.8082141280174255, -0.9785458445549011, 0.48809492588043213, -0.3298591375350952, 0.21713733673095703, 0.08092569559812546, -0.46520277857780457, 0.7321659326553345, 0.0008118086843751371, -0.2780745327472687, -0.009732399135828018, 0.6009028553962708, 0.7199174165725708, -0.13370375335216522, -0.05396084859967232, 0.19426392018795013, 0.6467368006706238, 0.22636641561985016, 0.9202669262886047, -0.6754107475280762, 0.09703707695007324, 0.999622106552124, -0.3843476176261902, 0.8727788925170898, 0.6520939469337463, -0.038108766078948975, 0.794346034526825, 0.5570033192634583, -0.07382802665233612, 0.5232033133506775, 0.24735648930072784, -0.4233124554157257, -0.29737013578414917, -0.04553190618753433, -0.8722555041313171, -0.10027409344911575, 0.41259726881980896, -0.6123817563056946, -0.0553206168115139, 0.10886633396148682, 0.05541495606303215, -0.2425624579191208, -0.4275113344192505, 0.7668408155441284, 0.2929474413394928, -0.929815948009491, 0.4655517041683197, -0.029093803837895393, 0.4300025403499603, -0.7355621457099915, -0.07074089348316193, -0.3523440957069397, 0.11816078424453735, -0.4953363835811615, -0.5268716812133789, 0.5317337512969971, -0.17001549899578094, -0.48033908009529114, 0.09359684586524963, 0.9131363034248352, -0.17144930362701416, -0.6422375440597534, 0.12426552921533585, 0.14873653650283813, 0.09911857545375824, -0.11322443932294846, -0.0487593412399292, 0.07416296750307083, 0.05492835491895676, -0.3006855547428131, 0.16859933733940125, 0.44060012698173523, -0.13486440479755402, 0.6252665519714355, 0.4778270125389099, 0.47718387842178345, 0.07471334934234619, 0.10556602478027344, 0.9756086468696594, -0.8254777789115906, -0.4879569113254547, -0.9033923149108887, 0.3256024420261383, -0.3925742208957672, 0.3036118745803833, 1.1384680271148682, 0.6316952705383301, 0.34469667077064514, -0.1315508782863617, 1.053269386291504, -0.22886845469474792, 0.319245308637619, -0.8800429105758667, 0.7422260642051697, -0.39979782700538635, 0.6189120411872864, -0.4697498381137848, -1.04719078540802, -0.33749136328697205, 0.46587640047073364, -0.3310064673423767, -0.0019139929208904505, 1.0468482971191406, 0.9987578392028809, 0.0499897301197052, 0.30594751238822937, 0.2863928973674774, 0.34991079568862915, 0.04955534264445305, 0.3298235237598419, 0.7743473649024963, -0.1923680305480957, 0.5183795690536499, -0.07881849259138107, -0.2293519824743271, 0.08848755806684494, -0.8729507923126221, -0.9907445311546326, -0.6281529068946838, -0.2546347975730896, -0.8116957545280457, -0.1963868886232376, 0.6800158619880676, 0.53011554479599, -0.6951901912689209, -0.3265134394168854, -0.12242421507835388, 0.11783723533153534, 0.28070464730262756, -0.1867891252040863, 0.3710367679595947, -0.43460890650749207, -0.3272327780723572, 0.1716800332069397, 0.17071878910064697, -0.0003235121548641473, -0.40474098920822144, -0.17181000113487244, 0.03770992532372475, -0.028309203684329987, 0.8197982907295227, 0.10264734923839569, -0.5690813064575195, -0.21894694864749908, 0.34078213572502136, -0.2350495457649231, -0.1450948715209961, 1.1226975917816162, -0.88693767786026, 0.004160392563790083, 0.5920799374580383, 0.0969371497631073, 0.6335107684135437, -0.4462798535823822, 0.8422315716743469, -0.4171299636363983, 0.2119705229997635, -0.1669618785381317, 0.5179007649421692, 0.03502190485596657, -0.830193281173706, 0.5578392744064331, 0.28046461939811707, -0.5425217747688293, -0.4081057906150818, 0.18867500126361847, -0.8537131547927856, -0.40369218587875366, 1.5901833772659302, 0.4113849699497223, -0.23288537561893463, -0.061619922518730164, -0.5249950289726257, 0.39634209871292114, -0.2679271697998047, 1.0645073652267456, 0.8514769077301025, -0.09638498723506927, -0.0852951928973198, -0.5019288659095764, 0.417704701423645, 0.02773405611515045, -0.6799761056900024, -0.2984372675418854, 0.6199060082435608, 0.3956732153892517, 0.466770738363266, 0.3006799519062042, -0.1104099228978157, 0.09029988199472427, 0.017056986689567566, 0.5444258451461792, -0.19855259358882904, -0.08333427459001541, 0.0796254500746727, 0.2290613055229187, 0.21199780702590942, 0.22955535352230072 ]
http://arxiv.org/abs/2407.00390v1
http://arxiv.org/pdf/2407.00390v1
Advancing Process Verification for Large Language Models via Tree-Based Preference Learning
2024-06-29T10:09:49
2024-06-29T10:09:49
Mingqian He, Yongliang Shen, Wenqi Zhang, Zeqi Tan, Weiming Lu
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated remarkable potential in handling complex reasoning tasks by generating step-by-step rationales.Some methods have proven effective in boosting accuracy by introducing extra verifiers to assess these paths. However, existing verifiers, typically trained on binary-labeled reasoning paths, fail to fully utilize the relative merits of intermediate steps, thereby limiting the effectiveness of the feedback provided. To overcome this limitation, we propose Tree-based Preference Learning Verifier (Tree-PLV), a novel approach that constructs reasoning trees via a best-first search algorithm and collects step-level paired data for preference training. Compared to traditional binary classification, step-level preferences more finely capture the nuances between reasoning steps, allowing for a more precise evaluation of the complete reasoning path. We empirically evaluate Tree-PLV across a range of arithmetic and commonsense reasoning tasks, where it significantly outperforms existing benchmarks. For instance, Tree-PLV achieved substantial performance gains over the Mistral-7B self-consistency baseline on GSM8K (67.55% to 82.79%), MATH (17.00% to 26.80%), CSQA (68.14% to 72.97%), and StrategyQA (82.86% to 83.25%).Additionally, our study explores the appropriate granularity for applying preference learning, revealing that step-level guidance provides feedback that better aligns with the evaluation of the reasoning process.
[ -0.14042675495147705, -0.7642816305160522, 0.8061936497688293, -0.15557831525802612, -0.15729476511478424, 0.25260287523269653, -0.321856826543808, -0.06826473027467728, -0.31164491176605225, 0.45664092898368835, -0.40919575095176697, -0.6147739887237549, -0.5695644021034241, 0.07135606557130814, 0.04849990829825401, 0.8253996968269348, -0.1883196085691452, -0.1633528620004654, -0.3123866021633148, -0.0007263736333698034, -0.3060282766819, -0.7947185635566711, -0.7527650594711304, -0.4701376259326935, 0.37110525369644165, 0.5102397799491882, 0.6107057332992554, 0.6392115950584412, 0.07799039781093597, 0.3281805217266083, -0.2375859022140503, 0.45176711678504944, -0.24441492557525635, 0.24457058310508728, -0.14462043344974518, -0.41180387139320374, -0.40694716572761536, -0.1143283024430275, 0.47281014919281006, 0.43637821078300476, -0.14953243732452393, 0.19046568870544434, -0.0964139848947525, 0.7354292869567871, -0.5355042815208435, 0.3445744812488556, -0.8338432312011719, 0.10629139095544815, -0.14614099264144897, -0.46355611085891724, -0.7147142291069031, -0.49510809779167175, 0.13354361057281494, -0.34951451420783997, -0.0421077236533165, 0.06203924119472504, 0.9229071736335754, 0.3460432291030884, -0.7980407476425171, -0.07706880569458008, -0.6529197692871094, 0.7951000332832336, -0.6306065320968628, 0.4272664487361908, 0.6700257062911987, 0.5040530562400818, -0.14695827662944794, -0.5561965703964233, -0.33159419894218445, -0.4116184711456299, -0.008829598315060139, -0.09643061459064484, -0.0046558319590985775, 0.22584787011146545, 0.6897814273834229, 0.355806440114975, -0.4006626605987549, -0.01683209091424942, 0.021402522921562195, -0.4232013523578644, 0.5220397710800171, -0.041951604187488556, 0.09867053478956223, -0.2185269445180893, -0.03435814380645752, -0.18140719830989838, -0.7680805921554565, 0.8074144124984741, 0.22886213660240173, 0.13999393582344055, 0.30849725008010864, 0.508640468120575, -0.5770787596702576, 0.7557138800621033, 0.4226594567298889, -0.49592769145965576, 0.39795559644699097, -0.30033594369888306, -0.4248781204223633, 0.16167229413986206, 0.6421326994895935, 0.12870977818965912, 0.1405927687883377, 0.08305054157972336, -0.18806728720664978, 0.003093922743573785, -0.05120477080345154, -0.9415072798728943, -0.29047465324401855, 0.2965675890445709, -0.28281694650650024, -0.10914141684770584, -0.1780809760093689, -0.05694674700498581, -0.45596155524253845, -0.4981938898563385, 0.062310636043548584, -0.5590169429779053, -0.3257972300052643, 0.12005776911973953, 0.3926256000995636, 0.43406593799591064, 0.737545907497406, -0.8306581377983093, 0.07870261371135712, 1.076876163482666, 0.7296883463859558, -0.037278931587934494, -0.08661139011383057, -1.0277667045593262, -0.028713062405586243, -0.42640480399131775, 0.6896363496780396, -0.7362582683563232, -0.1507515162229538, -0.22119231522083282, 0.05636639520525932, 0.10933750867843628, -0.5516366958618164, 0.937149167060852, -0.4192390739917755, 0.03727681562304497, -0.35872480273246765, -0.5191946625709534, -0.2850262224674225, 0.4774174690246582, -0.3150772750377655, 1.2080917358398438, -0.1230919286608696, -0.7646239995956421, 0.6643666625022888, -0.3200889229774475, -0.4528057873249054, 0.13838106393814087, -0.3440588712692261, -0.5169674158096313, -0.04294958710670471, 0.2410660982131958, 0.6054882407188416, -0.031665802001953125, 0.5062087774276733, -0.5032420754432678, -0.12769481539726257, 0.07063275575637817, -0.5094719529151917, 0.8646204471588135, 0.10088309645652771, -0.41366299986839294, 0.5677107572555542, -0.6084127426147461, 0.17630618810653687, -0.06671010702848434, -0.4681549072265625, -0.38608378171920776, 0.12040319293737411, -0.5756805539131165, 0.31929707527160645, 0.24576325714588165, -0.7935456037521362, 0.30720144510269165, -0.49502456188201904, 0.6114661693572998, 0.9145382642745972, -0.13509927690029144, 0.2561224400997162, -0.2942371666431427, 0.28937774896621704, 0.0578061081469059, 0.15109942853450775, -0.28039562702178955, -0.5567290782928467, -0.7208399772644043, -0.035790931433439255, 0.19825178384780884, 0.450030654668808, -0.5304917693138123, 0.6143174171447754, -0.36813223361968994, -0.38070249557495117, -0.15632927417755127, 0.01980813406407833, 0.29928022623062134, 0.6008769273757935, 0.10077983140945435, -0.38443681597709656, -0.5221009850502014, -0.6768254041671753, 0.239070862531662, -0.6704956889152527, 0.10769367963075638, 0.5995490550994873, 0.35712701082229614, 0.04276634752750397, 1.0343464612960815, -0.17335501313209534, 0.10560785979032516, -0.10583719611167908, -0.038923393934965134, 0.35877251625061035, 0.32718852162361145, -0.004029967822134495, -0.6892919540405273, -0.6162838339805603, 0.4344690144062042, -0.37029966711997986, -0.006699026562273502, 0.010626249946653843, -0.0028358486015349627, 0.5723323225975037, 0.123209148645401, -0.24636869132518768, 0.22432389855384827, 0.5978849530220032, -0.3909865915775299, 0.5669187903404236, -0.42624083161354065, 0.27485793828964233, -0.7713698148727417, 0.018883470445871353, 0.0833979994058609, -0.7519124746322632, -0.36347654461860657, -0.21112830936908722, 0.07889985293149948, 0.35604387521743774, -0.38138478994369507, 0.21787051856517792, -0.1480172872543335, -0.07443659752607346, -0.21357329189777374, -0.29564324021339417, -0.12824706733226776, 0.508538007736206, 0.45078572630882263, 0.7219142317771912, 0.681232213973999, -0.394113689661026, 0.21710290014743805, -0.13320529460906982, -0.23639236390590668, 0.56314617395401, -0.46272557973861694, 0.2962106168270111, 0.00025201283278875053, 0.5745490193367004, -1.1135456562042236, -0.046591587364673615, 0.1551552563905716, -0.41531801223754883, 0.08841940760612488, -0.6711970567703247, -0.5577697157859802, -0.3100013732910156, -0.2342909872531891, 0.16853119432926178, 0.615144670009613, -0.7589892745018005, 0.8463282585144043, 0.3238757848739624, 0.025665098801255226, -0.7432965040206909, -0.1605852246284485, -0.0882779210805893, -0.14542745053768158, -0.835481584072113, -0.046002451330423355, -0.15800286829471588, 0.01597479172050953, -0.43439239263534546, -0.6735649108886719, -0.17666596174240112, 0.2604057490825653, 0.6810187697410583, 0.3017900586128235, -0.053909171372652054, -0.11020869016647339, -0.025986231863498688, -0.31445232033729553, 0.23743274807929993, -0.3405081629753113, 0.2968169152736664, -0.46655431389808655, -0.5612855553627014, -0.36760804057121277, -0.07521088421344757, 0.7042030096054077, -0.39952537417411804, 0.15894387662410736, 0.33558812737464905, -0.14814788103103638, -0.2814866900444031, -0.5926120281219482, -0.12719686329364777, -0.44653549790382385, 0.09360054135322571, -0.7409576773643494, -1.1784530878067017, 0.08255688101053238, -0.4435857832431793, 0.38260045647621155, 0.08616899698972702, 0.48518115282058716, 0.0028621042147278786, 1.2690589427947998, 0.19684641063213348, 0.07564276456832886, 0.2480442076921463, -0.20584237575531006, 0.3385438621044159, -0.621678352355957, -0.31377461552619934, -0.5019538998603821, 0.06218772009015083, -0.3977009057998657, -0.5997161269187927, 0.3208056092262268, 0.07147026062011719, -0.43987512588500977, 0.11267754435539246, -0.46373459696769714, 0.5653157830238342, 0.6308848857879639, 0.06689272820949554, 0.6450619697570801, 0.05792119354009628, -0.31967252492904663, 0.025544114410877228, -0.532924473285675, -0.6757486462593079, 1.0779566764831543, 0.5916404128074646, 0.30936020612716675, -0.05719828978180885, 0.8852404952049255, 0.05002138763666153, 0.3142426609992981, -0.9302610754966736, 0.6957381963729858, -0.22420144081115723, -0.38280466198921204, -0.438804030418396, -0.5289813280105591, -0.6887697577476501, 0.2634342610836029, -0.06731715798377991, -0.6919118762016296, -0.1683928668498993, 0.520575225353241, -0.38848188519477844, 0.3800751566886902, -0.6976774334907532, 0.8659907579421997, -0.5135700702667236, -0.6460475325584412, -0.25605472922325134, -0.5110960006713867, 0.5255917906761169, 0.08526338636875153, 0.13749870657920837, -0.19556570053100586, 0.2048153281211853, 0.523550808429718, -0.6022064685821533, 0.8066917657852173, -0.37268123030662537, -0.09008417278528214, 0.06884200125932693, 0.17391277849674225, 0.8922746181488037, 0.03979383781552315, -0.03568008542060852, 0.004778325092047453, 0.19468261301517487, -0.08741719275712967, -0.6436031460762024, 0.5920146703720093, -0.7337966561317444, -0.8978787064552307, -0.6690812110900879, -0.1259557157754898, -0.373359739780426, 0.07008913904428482, -0.3180391192436218, 0.16175244748592377, 0.13233432173728943, 0.36112916469573975, 0.9612345099449158, 0.013325609266757965, 0.2711082696914673, 0.5235244631767273, -0.5365883708000183, -0.3441242575645447, 0.8399617075920105, -0.053827255964279175, 0.2175087183713913, 0.45718875527381897, 0.6704239249229431, -0.4549875557422638, -0.9088216423988342, -0.5424740314483643, 0.018491100519895554, -0.5124163627624512, -0.06787269562482834, -0.5547515749931335, -0.24219955503940582, -0.06550382822751999, 0.04843144491314888, -0.39215245842933655, -0.2746983766555786, 0.26766884326934814, -0.23420925438404083, 0.3914957046508789, 0.4865313172340393, 0.17665867507457733, 0.03133394569158554, -0.49003493785858154, 0.08403324335813522, 0.6041592359542847, 0.4341898262500763, -0.09495789557695389, -0.6421900391578674, 0.11144345253705978, -0.09396099299192429, -0.2071271538734436, -0.5532311797142029, 0.06878312677145004, -0.13289040327072144, 0.3901386857032776, 0.41993284225463867, 0.025157852098345757, 0.6688424348831177, -0.4299176037311554, 0.7220975756645203, 0.17094427347183228, -1.096763014793396, 0.6801674365997314, -0.0775255486369133, 0.1396401822566986, 0.6571031212806702, 0.23626524209976196, -0.4638519287109375, -0.11834602057933807, -0.7014141082763672, -0.8839110136032104, 0.8746402263641357, 0.07008951902389526, -0.26151326298713684, 0.37060225009918213, 0.19414034485816956, 0.24192415177822113, -0.041292961686849594, -0.7350654602050781, -0.26820334792137146, -0.3302391469478607, 0.1536402851343155, 0.1591329723596573, -0.22659887373447418, 0.12889030575752258, -0.42924433946609497, 0.9258057475090027, -0.41090014576911926, -0.5140123963356018, 0.19406108558177948, 0.15666654706001282, -0.13292743265628815, 0.5573437213897705, 0.07589952647686005, 0.5861297845840454, -0.409368634223938, 0.4146363437175751, 0.21435070037841797, -0.12281904369592667, 0.45437008142471313, -0.093054860830307, -0.5243678092956543, -0.05512385070323944, 0.045736413449048996, 0.9858512878417969, -0.18782655894756317, -0.5213662981987, 0.6228060126304626, -0.18902945518493652, -0.2949492037296295, -0.1709633320569992, 0.11756984889507294, 0.088662289083004, -0.04827393591403961, 0.023011354729533195, 0.09613998234272003, 0.07269212603569031, -0.36412426829338074, 0.20062845945358276, 0.6346628665924072, -0.20352837443351746, -0.1769018918275833, 0.10788938403129578, 0.2562614977359772, -0.28832316398620605, 0.2891901731491089, -0.27335527539253235, -0.44969215989112854, 0.4315251111984253, 0.31458982825279236, 0.8206698298454285, -0.26780563592910767, 0.43222907185554504, 0.6864727735519409, 0.12897540628910065, -0.2979646325111389, 0.12139502912759781, -0.6673979163169861, -0.553203284740448, -0.7239453792572021, -0.6893826127052307, -0.6900712847709656, 0.22781342267990112, -0.10561594367027283, 0.17653226852416992, -0.6668218970298767, -0.1649089902639389, 0.006841495633125305, 0.21155187487602234, -0.3635019361972809, 0.15937334299087524, 0.3143184781074524, 0.8630201816558838, -0.8485304117202759, 1.217100977897644, 0.9262800812721252, -0.2150154411792755, -1.1533253192901611, -0.10356122255325317, 0.018634000793099403, -0.6927154660224915, 0.7861631512641907, 0.3527648150920868, -0.33077526092529297, -0.13333123922348022, -0.2834244668483734, -0.8000746369361877, 0.9968711137771606, 0.3797730803489685, -0.8148218393325806, 0.0691908746957779, 0.09289778769016266, 0.39095377922058105, -0.2840745747089386, 0.69273841381073, 0.5031611919403076, 0.5509036183357239, 0.6673682928085327, -0.971891462802887, 0.15201036632061005, -0.07571589201688766, 0.005657128989696503, 0.11251875758171082, -0.4038988947868347, 0.3409728407859802, -0.12036406993865967, -0.2143402397632599, -0.29960137605667114, 0.5691292881965637, 0.7281785011291504, 0.33592846989631653, 0.9594254493713379, 0.5171754956245422, 0.9963603615760803, -0.10598684847354889, 0.88818359375, -0.38776805996894836, 0.25988292694091797, 1.3475360870361328, -0.37842124700546265, 1.002801537513733, 0.47552335262298584, -0.4038873314857483, 0.607785701751709, 0.8196900486946106, 0.4060681164264679, 0.08690856397151947, 0.3441602289676666, -0.27164313197135925, -0.833465039730072, -0.2486034631729126, -0.033276140689849854, 0.12228389829397202, 0.21001939475536346, -0.2810799479484558, -0.17404566705226898, -0.41863948106765747, 0.031418971717357635, 0.0038533152546733618, -0.34958720207214355, 0.7382810711860657, -0.09256070852279663, -1.0632305145263672, 0.6145172715187073, -0.155623659491539, 0.6064326167106628, -0.7259743213653564, -0.1448952555656433, 0.03647708520293236, 0.14348630607128143, -0.4792346954345703, -1.0173590183258057, 0.11625425517559052, 0.06277751177549362, -0.074398934841156, -0.6367615461349487, 0.6530787944793701, -0.22311048209667206, -0.25656595826148987, 0.10398119688034058, 0.36000046133995056, 0.014921270310878754, -0.09751111268997192, -0.6146559715270996, 0.08939603716135025, 0.26441657543182373, -0.07898320257663727, 0.14977502822875977, 0.5766499638557434, -0.26771101355552673, 0.6812604069709778, 0.8788545727729797, 0.11386508494615555, -0.045221567153930664, 0.05906031280755997, 0.5826180577278137, -0.4113346338272095, -0.43426644802093506, -0.9888252019882202, 0.4626532196998596, -0.16638651490211487, -0.11201421916484833, 0.8173662424087524, 0.8119214773178101, 1.0861835479736328, 0.21295428276062012, 0.9482384324073792, -0.004134288989007473, 0.2470516860485077, -0.45600825548171997, 0.12361574172973633, -0.19187889993190765, 0.4366689920425415, 0.002317071659490466, -0.695881187915802, -0.24788272380828857, 0.710668683052063, -0.6841680407524109, 0.011522429063916206, 0.7542082667350769, 0.8474938273429871, -0.22063569724559784, 0.02134278602898121, 0.3188115358352661, 0.27058711647987366, 0.49329671263694763, 1.085198163986206, 0.9762762188911438, 0.1646336317062378, 0.4778522849082947, -0.3793944716453552, -0.5684630870819092, -0.12566642463207245, -1.1608210802078247, -0.8839698433876038, -0.5291093587875366, -0.6102309226989746, -0.50986248254776, 0.1476985663175583, 1.2422558069229126, 1.0266708135604858, -0.823096513748169, -0.4137172996997833, -0.427491694688797, 0.29508090019226074, -0.12133262306451797, -0.16333211958408356, 0.39406296610832214, -0.2861157953739166, -0.42606380581855774, 0.1845211684703827, 0.5397588610649109, -0.20219922065734863, -0.36092284321784973, -0.3456374704837799, -0.00953665841370821, -0.19129423797130585, 0.644976019859314, 0.40359926223754883, -1.1634842157363892, -0.34737628698349, -0.14310431480407715, 0.06484880298376083, 0.5884655117988586, 1.0408170223236084, -1.0859564542770386, 0.5205038785934448, 0.7344816327095032, 0.7219428420066833, 0.5285024046897888, 0.044458307325839996, 0.3580441176891327, -0.4063487946987152, -0.5990860462188721, 0.08147084712982178, 0.5654050707817078, 0.3857264220714569, -0.271745502948761, 0.3237876892089844, 0.20529359579086304, -0.6712827682495117, -0.600932776927948, 0.4198019504547119, -1.2806167602539062, 0.05814787372946739, 1.3149093389511108, -0.41832488775253296, -0.446783185005188, -0.18706953525543213, -0.6348791718482971, 0.07302349805831909, -0.902450442314148, 0.6049805283546448, 0.6194811463356018, -0.27483829855918884, -0.1658419966697693, -0.11950584501028061, 0.5836421251296997, 0.4779133200645447, -0.8508428335189819, 0.6238923072814941, 0.7016171813011169, 0.46751898527145386, 0.13390696048736572, 0.7706177830696106, 0.04767894744873047, 0.2702256143093109, -0.6169240474700928, -0.33415162563323975, -0.3542546033859253, -0.321433961391449, -0.4082759618759155, 0.5878822207450867, 0.6400084495544434, 0.028145426884293556 ]
http://arxiv.org/abs/2407.00379v1
http://arxiv.org/pdf/2407.00379v1
GraphArena: Benchmarking Large Language Models on Graph Computational Problems
2024-06-29T09:19:23
2024-06-29T09:19:23
Jianheng Tang, Qifan Zhang, Yuhan Li, Jia Li
cs.AI
cs.AI, cs.CL
The "arms race" of Large Language Models (LLMs) demands novel, challenging, and diverse benchmarks to faithfully examine their progresses. We introduce GraphArena, a benchmarking tool designed to evaluate LLMs on graph computational problems using million-scale real-world graphs from diverse scenarios such as knowledge graphs, social networks, and molecular structures. GraphArena offers a suite of 10 computational tasks, encompassing four polynomial-time (e.g., Shortest Distance) and six NP-complete challenges (e.g., Travelling Salesman Problem). It features a rigorous evaluation framework that classifies LLM outputs as correct, suboptimal (feasible but not optimal), or hallucinatory (properly formatted but infeasible). Evaluation of 10 leading LLMs, including GPT-4o and LLaMA3-70B-Instruct, reveals that even top-performing models struggle with larger, more complex graph problems and exhibit hallucination issues. Despite the application of strategies such as chain-of-thought prompting, these issues remain unresolved. GraphArena contributes a valuable supplement to the existing LLM benchmarks and is open-sourced at https://github.com/squareRoot3/GraphArena.
[ -0.3075500428676605, -0.8476774096488953, 0.7038658857345581, 0.2347865253686905, 0.024502309039235115, 0.5734899640083313, -0.3602791130542755, -0.5788907408714294, 0.19567203521728516, 0.5657524466514587, -0.280425101518631, -0.6690579056739807, -0.8333228230476379, 0.1608007401227951, -0.4894353151321411, 0.49048322439193726, -0.204510897397995, 0.1295323371887207, -0.21258842945098877, -0.32139864563941956, -0.22662688791751862, -0.64869225025177, -0.8204412460327148, -0.36102622747421265, 0.7828961610794067, 0.1740727722644806, 0.5657577514648438, 0.49869614839553833, 0.39280787110328674, 0.36769238114356995, -0.1922423392534256, 0.507850706577301, -0.6466050744056702, 0.28641316294670105, 0.020046519115567207, -0.27686160802841187, -0.34938737750053406, -0.09598450362682343, 0.6424591541290283, 0.9898819923400879, 0.12776325643062592, 0.3473837375640869, -0.098457470536232, 0.6707690358161926, -0.6044303774833679, 0.32372573018074036, -0.6676003932952881, -0.11826272308826447, -0.3230423927307129, 0.3021012246608734, -0.23108109831809998, -0.5755522847175598, -0.23244449496269226, -0.516334056854248, -0.09392780810594559, 0.34064438939094543, 0.7470983266830444, 0.057119738310575485, -0.37830883264541626, -0.19033852219581604, -0.617910623550415, 0.23669645190238953, -0.44314339756965637, 0.43798139691352844, 0.16690005362033844, 0.5383111238479614, -0.43961474299430847, -0.7873415350914001, -0.5386919975280762, -0.28022870421409607, 0.48105916380882263, -0.18142709136009216, -0.7290904521942139, -0.12073393166065216, 0.31870710849761963, -0.02582589164376259, -0.6401614546775818, 0.30155083537101746, -0.32962337136268616, -0.1432618796825409, 0.42627274990081787, 0.14960616827011108, 0.3511464595794678, 0.21234913170337677, 0.16731782257556915, -0.32106292247772217, -0.857742428779602, -0.34890487790107727, 0.7029797434806824, 0.46743929386138916, 0.08606062829494476, 0.5883882641792297, -0.13857822120189667, 0.6726589798927307, -0.3701642155647278, 0.5521978139877319, 0.3037313222885132, 0.01568366214632988, 0.005572274327278137, -0.0837438553571701, 0.9180054664611816, 0.3081495463848114, 0.4789385497570038, -0.43597206473350525, -0.016072269529104233, 0.3146834671497345, 0.12141074240207672, -0.9570052623748779, -0.31628528237342834, 0.16565965116024017, -0.10646693408489227, -0.2281051129102707, -0.4362698495388031, -1.0153851509094238, -0.4140280485153198, -0.022109299898147583, 0.25665026903152466, -0.16703416407108307, -0.17121635377407074, -0.05435784533619881, -0.09005684405565262, -0.23924852907657623, 0.17656637728214264, -0.6834760904312134, 0.5403373837471008, 0.9408276081085205, 1.2351210117340088, -0.30989494919776917, -0.4218626022338867, -0.6694071292877197, -0.08381740748882294, -0.6605282425880432, 1.084351897239685, -0.6655033230781555, -0.29605135321617126, -0.07102823257446289, -0.008725695312023163, -0.2883179187774658, -0.8347580432891846, 0.19894391298294067, -0.39671790599823, -0.42702516913414, -0.27109453082084656, -0.44251102209091187, -0.1270887553691864, 0.35395100712776184, -0.940034031867981, 1.084878921508789, 0.13895858824253082, -0.4881565570831299, -0.08848710358142853, -0.45647427439689636, -0.43309536576271057, -0.04406020790338516, -0.2947194576263428, -0.31865769624710083, 0.026956722140312195, 0.028299733996391296, 0.17234492301940918, -0.6263512969017029, 0.2148333638906479, -0.6515273451805115, -0.3622191250324249, 0.2511238157749176, -0.17029589414596558, 0.5864713788032532, 0.1614377349615097, -0.43223512172698975, 0.485722154378891, -0.670191764831543, 0.0471205972135067, 0.36448097229003906, 0.1651904433965683, -0.13242730498313904, -0.020138908177614212, 0.07056008279323578, 0.011299886740744114, 0.22943635284900665, -0.40246084332466125, 0.21021239459514618, -0.27575862407684326, 0.7557225823402405, 0.8808515667915344, -0.11842789500951767, -0.23128972947597504, -0.21581335365772247, 0.6911623477935791, -0.3172600269317627, 0.07590264827013016, 0.32603710889816284, -0.5090132355690002, -0.6713016033172607, -0.11808609217405319, 0.3204960227012634, 0.5101346373558044, -0.4235079884529114, 0.10617272555828094, -0.3851311206817627, -0.8998984098434448, -0.22319361567497253, 0.04788423329591751, 0.45398449897766113, 0.31817713379859924, 0.22573740780353546, -0.16666647791862488, -0.40939971804618835, -0.7740164399147034, -0.23834548890590668, -0.12736675143241882, 0.17896077036857605, 0.3825821876525879, 0.642122745513916, -0.2753960192203522, 0.38103726506233215, -0.5476984977722168, -0.34820064902305603, -0.19136491417884827, 0.04888995736837387, 0.03369573876261711, 0.11612766981124878, 0.3977357745170593, -0.30258673429489136, -0.2718126177787781, 0.3880821168422699, -0.82718825340271, -0.2113686501979828, 0.39183416962623596, -0.08851682394742966, 0.02919045463204384, 0.6488528847694397, -0.6913392543792725, 0.0026283590123057365, 0.8828843832015991, -0.1553785800933838, 0.5442703366279602, -0.1058855950832367, 0.13420996069908142, -1.0091540813446045, 0.31899333000183105, -0.17695976793766022, -0.29233407974243164, -0.30245324969291687, 0.17105379700660706, -0.2274702489376068, -0.48128145933151245, -0.17426325380802155, 0.5926399827003479, -0.44531798362731934, -0.48059511184692383, -0.19359923899173737, 0.57245934009552, -0.05688536912202835, 0.3470684289932251, -0.3994554579257965, 1.0475152730941772, 0.44270429015159607, -0.18448133766651154, 0.27054858207702637, 0.03409059718251228, -0.3953363299369812, 0.10533970594406128, -0.7183650135993958, 0.5581656098365784, 0.1275506168603897, 0.27946949005126953, -1.0703208446502686, 0.010619415901601315, 0.137733593583107, -0.1450764238834381, -0.16035154461860657, -0.18982213735580444, -0.7875413298606873, -0.3824704885482788, -0.07394551485776901, 0.5826407670974731, 0.29927858710289, -0.4180286228656769, 0.7859490513801575, 0.6555876731872559, -0.12323880195617676, -0.37735751271247864, -0.23589733242988586, 0.3797704577445984, -0.1779317408800125, -0.4218827486038208, 0.24727770686149597, 0.01743297278881073, -0.2734639644622803, 0.0316120907664299, -0.061319585889577866, 0.09558971971273422, 0.267201691865921, 0.27098459005355835, 0.01677791029214859, -0.028450259938836098, -0.10936808586120605, -0.08507027477025986, -0.14521902799606323, 0.1933206021785736, -0.39779362082481384, 0.9550309181213379, -0.2064971625804901, -0.417374849319458, 0.07061674445867538, 0.3452414274215698, 0.5163779258728027, -0.25409382581710815, 0.2935047447681427, 0.23291490972042084, -0.4848421514034271, -0.2974716126918793, -0.4409601092338562, 0.0457463376224041, -0.40403276681900024, 0.6022520661354065, -0.43783333897590637, -0.9978190660476685, 0.9176562428474426, -0.5935473442077637, -0.154542937874794, 0.3764818608760834, 0.534341037273407, 0.35545194149017334, 1.1647320985794067, 0.24727816879749298, -0.26052165031433105, 0.2442236989736557, -0.3931710124015808, 0.34466394782066345, -0.8154610991477966, -0.1532466858625412, -0.8833261728286743, -0.18156202137470245, -0.4190627336502075, -0.6740270256996155, 0.34621942043304443, 0.06633057445287704, -0.3952640891075134, 0.5229945778846741, -0.4151462912559509, 0.6149888634681702, 0.13228434324264526, -0.02403516136109829, 0.37597784399986267, -0.09071529656648636, -0.24382181465625763, 0.2877015769481659, -0.7102347612380981, -0.5413185954093933, 1.2221776247024536, 0.10447122901678085, 0.5634046196937561, 0.13335125148296356, 0.5553466081619263, 0.28991127014160156, 0.4871372878551483, -0.6178186535835266, 0.7391431331634521, -0.3348989188671112, -0.2935151755809784, -0.18078042566776276, -0.6910954713821411, -1.276653528213501, 0.35909751057624817, 0.13248902559280396, -1.0421507358551025, 0.00464548310264945, 0.15761195123195648, -0.03863494470715523, 0.4043702185153961, -0.41699686646461487, 1.2638704776763916, -0.34134334325790405, -0.33384931087493896, -0.3492148816585541, -0.12130047380924225, 0.10831111669540405, -0.17725501954555511, 0.3556358218193054, -0.515505850315094, 0.09122226387262344, 0.7707886099815369, -0.5471630096435547, 0.8239160180091858, -0.06344712525606155, -0.07460915297269821, 0.11706921458244324, 0.3482525944709778, 0.6885687708854675, -0.17879372835159302, -0.04435953125357628, 0.4679418206214905, 0.05666591599583626, -0.25038766860961914, -0.6023555994033813, 0.8495231866836548, -0.789833128452301, -0.44929149746894836, -0.507784903049469, -0.37796342372894287, -0.4756142497062683, 0.5245257019996643, 0.24953658878803253, 0.415683776140213, -0.40358224511146545, -0.1649012714624405, 0.5608157515525818, 0.03789254650473595, 0.019450044259428978, 0.15173162519931793, -0.6878676414489746, -0.5208077430725098, 0.9639125466346741, 0.3422195315361023, 0.17046299576759338, 0.07129015773534775, 0.07782144844532013, -0.20827338099479675, -0.9026222229003906, -0.6899910569190979, 0.15657545626163483, -0.9721028804779053, -0.23364782333374023, -0.6741287708282471, -0.02983991429209709, -0.2084454447031021, 0.19898134469985962, -0.6296787858009338, -0.29803237318992615, 0.04234125837683678, -0.05481916293501854, 0.381902277469635, 0.8212290406227112, 0.2579939663410187, 0.05644487589597702, -0.33828476071357727, 0.2314964085817337, 0.070824034512043, 0.4010622501373291, 0.32580798864364624, -0.1441306322813034, -0.18840168416500092, -0.2977920174598694, -0.10473674535751343, -0.7019019722938538, 0.1910945177078247, -0.019573090597987175, 0.49810707569122314, 0.03326448053121567, -0.20329298079013824, 0.8542449474334717, -0.672273576259613, 0.39561644196510315, -0.04033465310931206, -0.8679824471473694, 0.18438726663589478, -0.298040509223938, 0.12828563153743744, 0.7296438217163086, 0.3326665163040161, -0.4921095073223114, -0.39876824617385864, -0.20954109728336334, -1.0760470628738403, 0.044313061982393265, 0.2056446373462677, 0.008890352211892605, -0.2665965259075165, 0.14799831807613373, -0.1534872055053711, 0.16253308951854706, -0.4356774389743805, -0.16068720817565918, -0.011358904652297497, -0.2128583788871765, -0.1853051334619522, 0.12360173463821411, -0.3300148844718933, 0.0196278877556324, 0.5307960510253906, -0.36295080184936523, 0.21300002932548523, 0.0065827141515910625, -0.3266780972480774, -0.024853557348251343, -0.11515234410762787, 0.5610787868499756, 0.791701078414917, -0.07132550328969955, 0.22850856184959412, 0.17728963494300842, -0.2671973407268524, 0.06809058785438538, 0.36625710129737854, -0.11338549852371216, -0.21167677640914917, 0.434546560049057, 0.7338352203369141, 0.2983334958553314, -1.023805856704712, 0.2412293553352356, -0.1204729825258255, -0.17689964175224304, -0.43001440167427063, -0.03958757966756821, 0.29913219809532166, 0.33872148394584656, 0.3198303282260895, -0.08864112943410873, 0.16095000505447388, -0.4800896942615509, -0.024171384051442146, 0.5649415254592896, -0.3951783776283264, -0.25294890999794006, 0.7241972088813782, -0.07456326484680176, -0.42187270522117615, 0.48220276832580566, -0.2723695635795593, -0.6129059791564941, 0.7302483916282654, 0.6115566492080688, 1.0903651714324951, 0.17310650646686554, 0.05526506528258324, 0.19739098846912384, 0.2307257354259491, -0.11453740298748016, 0.24901120364665985, 0.21511177718639374, -0.6310437917709351, -0.39821937680244446, -0.44011232256889343, -0.6453649401664734, 0.03848407417535782, -0.27031075954437256, -0.09206272661685944, -0.6460877656936646, -0.3538106381893158, 0.26429566740989685, -0.007568401284515858, -0.4362628161907196, -0.3663974106311798, -0.12227467447519302, 0.8290672302246094, -0.7866230010986328, 0.6252216696739197, 0.3831830322742462, -0.16335316002368927, -0.8327935338020325, -0.1486247032880783, 0.05059829354286194, -0.7396995425224304, 0.5054023265838623, 0.2531898021697998, -0.7259705066680908, 0.04816696420311928, -0.12306917458772659, -0.7977586388587952, 0.8842944502830505, 0.651646614074707, -0.8351806402206421, 0.050198428332805634, 0.04754822701215744, 0.6103660464286804, -0.4515446424484253, 0.16271713376045227, 0.5448604226112366, 0.5124096870422363, -0.16450659930706024, -0.6966904401779175, 0.2176285833120346, -0.4804820418357849, 0.10351977497339249, 0.31830233335494995, -0.9864898324012756, 0.737555205821991, 0.021692318841814995, -0.11605052649974823, 0.16180817782878876, 0.3843388259410858, 0.38187211751937866, 0.23136304318904877, 0.5213032364845276, 0.5900459289550781, 1.0554319620132446, -0.10662291198968887, 1.0067099332809448, -0.5075670480728149, 0.23341545462608337, 1.0652790069580078, -0.9204826354980469, 0.8799003958702087, 0.17593218386173248, -0.3606031537055969, 0.5275993347167969, 0.673568844795227, -0.1462816447019577, 0.08283073455095291, 0.6533415913581848, -0.09133801609277725, -0.21844884753227234, -0.18835245072841644, -0.33009690046310425, 0.41314899921417236, 0.1612517535686493, -0.0002959529228974134, -0.20587323606014252, -0.09761801362037659, 0.25482121109962463, 0.2950105369091034, -0.11903182417154312, 0.5780671238899231, 0.07347371429204941, -0.5860238671302795, 0.7078478932380676, -0.1563551425933838, 0.12902742624282837, -0.5873437523841858, -0.10521313548088074, -0.37723782658576965, 0.17401069402694702, 0.05081557482481003, -0.31697309017181396, 0.18422240018844604, 0.09553294628858566, 0.005331701599061489, 0.2237476110458374, 0.44126543402671814, -0.1772305965423584, -0.7618099451065063, 0.8573079109191895, 0.3133302330970764, 0.23435860872268677, -0.2552838623523712, -0.5854800343513489, 0.7205016613006592, -0.3244926333427429, -0.10340822488069534, 0.4715995490550995, 0.3316565454006195, -0.5130956172943115, 1.003554105758667, 0.6600155234336853, 0.24179895222187042, -0.10028579831123352, 0.5074144601821899, 1.0741887092590332, -0.5141512155532837, -0.28981703519821167, -0.8864083886146545, -0.33888840675354004, -0.19168590009212494, -0.354301393032074, 0.873012363910675, 1.0099985599517822, 0.6004676818847656, 0.21281328797340393, 0.7216975688934326, 0.2241552472114563, 0.1855321079492569, -0.5171396732330322, 0.7774404883384705, -0.3549758195877075, 0.17233332991600037, -0.44815221428871155, -1.0778971910476685, -0.3520953059196472, 0.49870145320892334, -0.31858205795288086, 0.12487580627202988, 0.7282082438468933, 0.8262036442756653, 0.11357027292251587, -0.16238810122013092, 0.07382011413574219, 0.1584911346435547, 0.3923476040363312, 0.6703089475631714, 0.7933293581008911, -0.32017800211906433, 0.7515590190887451, 0.025456640869379044, -0.13670235872268677, -0.10762583464384079, -0.7953002452850342, -1.0106614828109741, -0.5526388883590698, -0.3301942050457001, -0.5748664736747742, 0.42565828561782837, 0.80164635181427, 0.8133073449134827, -0.7810863852500916, -0.5308486819267273, -0.16719861328601837, 0.2887051999568939, -0.41108790040016174, -0.1208309754729271, 0.471125990152359, -0.06109832599759102, -0.6965765357017517, 0.592025876045227, 0.3873002827167511, -0.06162010133266449, -0.4288381040096283, 0.11439149081707001, 0.010401277802884579, -0.03032805025577545, 0.5963935256004333, 0.3872181475162506, -0.47890523076057434, -0.3573479652404785, -0.06337407976388931, 0.028193563222885132, 0.12462027370929718, 0.926712155342102, -0.4703527092933655, 0.183468297123909, 0.2640046179294586, 0.7938862442970276, 0.9957049489021301, -0.13680332899093628, 0.49497100710868835, -0.26765039563179016, 0.07393668591976166, 0.21689289808273315, 0.3368963301181793, 0.31484895944595337, 0.015613885596394539, 0.634109377861023, 0.13143733143806458, -0.5537511110305786, -1.109830617904663, 0.2589665651321411, -0.8804368376731873, -0.3749973773956299, 0.796566903591156, -0.13479165732860565, -0.42925843596458435, -0.0633339211344719, 0.04790736734867096, 0.17047257721424103, -0.16061384975910187, 0.7606763243675232, 0.6530676484107971, -0.10884615778923035, -0.06834547221660614, -0.7293825149536133, 0.26714691519737244, 0.28399986028671265, -0.9689049124717712, 0.5589205622673035, 0.5101845264434814, 0.2683814764022827, 0.0641627237200737, 0.6046536564826965, -0.11582138389348984, 0.039694949984550476, 0.17123465240001678, -0.0008200604352168739, -0.3031975328922272, -0.532781720161438, -0.14380671083927155, 0.2522841691970825, 0.31083711981773376, 0.23947939276695251 ]
http://arxiv.org/abs/2407.00377v1
http://arxiv.org/pdf/2407.00377v1
The Factuality Tax of Diversity-Intervened Text-to-Image Generation: Benchmark and Fact-Augmented Intervention
2024-06-29T09:09:42
2024-06-29T09:09:42
Yixin Wan, Di Wu, Haoran Wang, Kai-Wei Chang
cs.CL
cs.CL, cs.AI, cs.CV, cs.CY
Prompt-based "diversity interventions" are commonly adopted to improve the diversity of Text-to-Image (T2I) models depicting individuals with various racial or gender traits. However, will this strategy result in nonfactual demographic distribution, especially when generating real historical figures? In this work, we propose DemOgraphic FActualIty Representation (DoFaiR), a benchmark to systematically quantify the trade-off between using diversity interventions and preserving demographic factuality in T2I models. DoFaiR consists of 756 meticulously fact-checked test instances to reveal the factuality tax of various diversity prompts through an automated evidence-supported evaluation pipeline. Experiments on DoFaiR unveil that diversity-oriented instructions increase the number of different gender and racial groups in DALLE-3's generations at the cost of historically inaccurate demographic distributions. To resolve this issue, we propose Fact-Augmented Intervention (FAI), which instructs a Large Language Model (LLM) to reflect on verbalized or retrieved factual information about gender and racial compositions of generation subjects in history, and incorporate it into the generation context of T2I models. By orienting model generations using the reflected historical truths, FAI significantly improves the demographic factuality under diversity interventions while preserving diversity.
[ -0.39071160554885864, -0.3469831943511963, 0.30660495162010193, 0.27524852752685547, 0.008234800770878792, 0.13698413968086243, -0.13526763021945953, -0.14246606826782227, 0.09640286862850189, 0.4438644349575043, -0.49329641461372375, -0.2024434208869934, -0.5520969033241272, 0.03811050206422806, 0.12212814390659332, 0.9493935108184814, 0.1014682725071907, 0.06311914324760437, -0.1696380376815796, -0.24428333342075348, -0.4648764729499817, -0.510429322719574, -0.3220861852169037, 0.1437431424856186, 0.43261733651161194, 0.5741202235221863, 0.4993356466293335, 0.7033154368400574, 0.2227218747138977, 0.21173106133937836, -0.16317619383335114, 0.35125741362571716, -0.9855403900146484, -0.13902893662452698, -0.3461797833442688, -0.39705246686935425, -0.15789708495140076, 0.33751413226127625, 0.6829290986061096, 0.7264108657836914, -0.06017607823014259, 0.20833824574947357, -0.17615507543087006, 0.5356500744819641, -0.9408835768699646, -0.047144342213869095, -0.3911743760108948, -0.25001129508018494, -0.3531258702278137, -0.32047033309936523, -0.42904794216156006, -0.7684113383293152, -0.17644312977790833, -0.199393168091774, 0.6381754279136658, -0.02624610997736454, 0.47796830534935, 0.24019822478294373, -0.8020614981651306, -0.14280208945274353, -0.9932500123977661, 0.9695420265197754, -0.46520864963531494, 0.337545782327652, 0.263216495513916, 0.06314275413751602, -0.24843955039978027, -0.46154308319091797, -0.6956137418746948, -0.25714123249053955, -0.018721040338277817, 0.3182481825351715, -0.14242511987686157, -0.3808766007423401, 0.3549429476261139, 0.21952928602695465, -0.36238807439804077, -0.05050138756632805, -0.496612012386322, -0.3053741157054901, 0.7283715605735779, 0.1356714814901352, 0.41388973593711853, -0.13381987810134888, -0.40982764959335327, -0.3249814212322235, -0.7028583288192749, -0.012687365524470806, 0.5765613317489624, 0.33652010560035706, -0.387866348028183, 0.7466038465499878, -0.1427040845155716, 0.25722047686576843, 0.26115986704826355, -0.21671703457832336, 0.39716291427612305, -0.6941165924072266, 0.3015179932117462, 0.05663387477397919, 0.47888070344924927, 0.6284464597702026, 0.09449342638254166, -0.13061551749706268, -0.08822234719991684, 0.11623542010784149, -0.04661477357149124, -1.02412748336792, 0.04694722220301628, -0.014314545318484306, -0.41225549578666687, -0.3186572790145874, 0.03555125743150711, -1.0827949047088623, -0.3785353899002075, 0.0809144601225853, 0.1251779943704605, -0.368886262178421, -0.5843493342399597, -0.1304706186056137, -0.6043033003807068, 0.15578535199165344, 0.5032052397727966, -0.9664708375930786, 0.12448777258396149, 0.4494861662387848, 0.7313556671142578, -0.04895766079425812, 0.13554199039936066, -0.46508973836898804, 0.3112335801124573, -0.3853312134742737, 0.8082908391952515, -0.6684158444404602, -0.7611014246940613, -0.05370543897151947, -0.16381283104419708, -0.17660734057426453, -0.5572932362556458, 0.47581470012664795, -0.5159198045730591, 0.25265738368034363, -0.7522447109222412, -0.4898451566696167, -0.10729367285966873, 0.2207869291305542, -0.8813809752464294, 0.796805739402771, 0.26142045855522156, -0.9109877943992615, 0.7851650714874268, -0.5817724466323853, -0.16796167194843292, 0.26050499081611633, -0.31230229139328003, -0.4596133530139923, -0.1259250044822693, 0.17528855800628662, -0.01639208197593689, -0.24680788815021515, 0.4087464213371277, -0.4918869733810425, -0.32195165753364563, 0.218170627951622, -0.6190888285636902, 0.8125095963478088, 0.004675739910453558, -0.5603213310241699, -0.40026405453681946, -0.6217645406723022, -0.5460214614868164, 0.08400998264551163, -0.3112112283706665, -0.09607837349176407, -0.0714820846915245, 0.09037678688764572, -0.019863024353981018, 0.17221711575984955, -0.8378019332885742, 0.06578574329614639, -0.08926038444042206, -0.2815363109111786, 0.36368441581726074, 0.27896106243133545, 0.40397322177886963, -0.6815493702888489, 0.35959815979003906, 0.19502823054790497, -0.03206757456064224, -0.017377065494656563, -0.5935500264167786, -0.5172452330589294, -0.689333975315094, 0.29725027084350586, 0.4918583631515503, -0.9620829820632935, 0.18954476714134216, -0.49612924456596375, -0.318671852350235, 0.10512332618236542, -0.2514370381832123, 0.06480234116315842, 0.8590565323829651, 0.16829441487789154, 0.036297641694545746, -0.5134525895118713, -0.7811625003814697, -0.025484057143330574, -0.8351067900657654, 0.17265082895755768, 0.28435155749320984, 0.671859622001648, -0.06963233649730682, 1.086211085319519, -0.39918944239616394, 0.06056598946452141, 0.05971434339880943, 0.7395420670509338, -0.029585540294647217, 0.6313385963439941, 1.0316461324691772, -0.9291859269142151, -0.014634959399700165, -0.1960388869047165, -0.558296263217926, -0.2637069821357727, -0.07180210947990417, -0.12404624372720718, 0.3323028087615967, -0.03666355088353157, -0.27187156677246094, 0.6919447183609009, 0.4102703928947449, -0.29436010122299194, 0.31193673610687256, -0.03057480789721012, 0.8229357004165649, -0.6784504055976868, 0.2751821279525757, 0.08590064197778702, -0.05746211111545563, -0.6464557647705078, -0.2196180671453476, 0.17686140537261963, -0.028790747746825218, -0.31523001194000244, 0.6338173151016235, -0.0004487561818677932, 0.08319962024688721, -0.049007683992385864, -0.3671172261238098, -0.1060609444975853, 0.34438690543174744, 0.16840316355228424, 1.1561003923416138, -0.07989086955785751, -0.31747403740882874, -0.04403292387723923, 0.30108633637428284, -0.09872031956911087, 0.6665074825286865, -0.3036314845085144, 0.13216115534305573, -0.5498268008232117, 0.44776496291160583, -1.0814154148101807, -0.36355432868003845, 0.43382102251052856, -0.37156492471694946, 0.1369142085313797, -0.22906483709812164, -0.3389861285686493, -0.1300470232963562, -0.7256901860237122, 0.768622875213623, 0.6707326769828796, -0.6777951121330261, 0.716482400894165, 0.1673317551612854, -0.12281914055347443, -0.645953357219696, -0.6083834171295166, 0.19422794878482819, -0.23244608938694, -0.9396716356277466, 0.27711984515190125, -0.1888876110315323, -0.3344232738018036, 0.0030103828758001328, 0.1012401282787323, -0.08571682125329971, -0.014208237640559673, -0.025179332122206688, 0.5390180349349976, -0.152443528175354, 0.14707337319850922, 0.13612212240695953, 0.3268674910068512, -0.18032820522785187, 0.025096487253904343, 0.298248827457428, 0.4459957182407379, -0.23510174453258514, -0.1539037972688675, 0.3681063652038574, 0.2292640656232834, -0.2714979946613312, 0.9432286620140076, 0.3277444541454315, -0.10524298995733261, 0.03060760535299778, -0.9475993514060974, 0.012611573562026024, -0.422934353351593, 0.04676751792430878, -0.016879625618457794, -0.9636837840080261, 0.3674004375934601, -0.18321377038955688, 0.37303388118743896, 0.547936201095581, 0.6345847845077515, -0.15838193893432617, 0.7586231231689453, 0.08893857151269913, 0.3658078908920288, 0.4452287256717682, -0.32349127531051636, -0.2503150701522827, -0.5081683397293091, -0.5343078970909119, -0.45124509930610657, -0.14573542773723602, -0.6033139824867249, -0.8594349026679993, 0.4164811372756958, -0.1231173500418663, -0.33704498410224915, -0.17751681804656982, 0.08456508815288544, 0.05824778228998184, 0.34020665287971497, 0.22255709767341614, 0.017017850652337074, 0.24320794641971588, 0.28092536330223083, -0.12525297701358795, -0.348113477230072, -0.474619597196579, 1.2896994352340698, 0.019486960023641586, 0.4606901705265045, 0.47033241391181946, 1.0075851678848267, 0.9157463908195496, 0.7539054155349731, -0.4915545880794525, 0.35819485783576965, -0.32671740651130676, -0.7975502014160156, -0.015216614119708538, -0.7573035955429077, -0.7240950465202332, -0.11057109385728836, -0.2555530369281769, -0.5117578506469727, 1.107826828956604, 0.449677973985672, -0.20014241337776184, 0.2688329219818115, -0.582490086555481, 0.49439266324043274, -0.013668680563569069, -0.368947297334671, -0.28606024384498596, -0.23605695366859436, 0.637138307094574, -0.3828299641609192, 0.3271365761756897, -0.058044858276844025, -0.20304332673549652, 0.5786901712417603, -0.5136474967002869, 0.8657147288322449, -0.45256301760673523, 0.03392099589109421, 0.18867972493171692, -0.030085351318120956, 0.5731495022773743, 0.018582088872790337, -0.37535759806632996, 0.2054174840450287, -0.27691003680229187, -0.5539112687110901, -0.6732737421989441, 0.3507678210735321, -0.8088628053665161, -0.6762662529945374, -0.24746166169643402, -0.6816937923431396, -0.24989308416843414, -0.2939310073852539, 0.10349441319704056, 0.7073511481285095, -0.6238551139831543, 0.021277403458952904, 0.5559783577919006, -0.09742456674575806, 0.36119428277015686, 0.4085361063480377, 0.004298410844057798, -0.7777754068374634, 0.9425144195556641, 0.21524164080619812, 0.21755142509937286, 0.11421528458595276, 0.11838849633932114, -0.4243879020214081, -0.3324523866176605, -0.4550422430038452, 0.5299593210220337, -0.8617351651191711, 0.0887933298945427, -0.6525289416313171, 0.11797033995389938, -0.5626021027565002, 0.07174219191074371, -0.004297275096178055, -0.574921727180481, -0.2283080369234085, 0.04632040485739708, 0.4426648020744324, 0.5511617660522461, -0.45108968019485474, 0.3453172743320465, -0.5925436615943909, 0.3782534897327423, 0.4684116542339325, 0.03164460510015488, -0.10324378311634064, -0.7014802098274231, -0.12400572001934052, 0.272453248500824, -0.12659451365470886, -0.8614164590835571, -0.0742778405547142, 0.15581679344177246, 0.47215139865875244, 0.1409849226474762, 0.27375808358192444, 0.5177252292633057, -0.35367849469184875, 0.8166730999946594, 0.34387680888175964, -0.6223562955856323, 0.2613976001739502, -0.32659536600112915, 0.02494239993393421, 0.48895394802093506, 0.10576304793357849, -0.3325313329696655, -0.26594868302345276, -0.47189849615097046, -0.4038907587528229, 0.898107647895813, 0.6060704588890076, 0.21680061519145966, -0.2612950801849365, 0.24072995781898499, 0.13957320153713226, 0.12598054111003876, -0.3795045018196106, -0.17501084506511688, -0.6238651275634766, -0.497281551361084, 0.3977665603160858, -0.5026856660842896, -0.4121253788471222, 0.12977904081344604, 0.5279244184494019, -0.004304599482566118, 0.013560313731431961, 0.2517758905887604, -0.0528152734041214, -0.14363016188144684, 0.2604508697986603, 0.6664672493934631, 0.6504227519035339, -0.34984493255615234, -0.07263685017824173, 0.05167151242494583, -0.5184930562973022, 0.3199976086616516, 0.31672364473342896, -0.46912676095962524, -0.07698553055524826, 0.5794252753257751, 0.9487859606742859, -0.25417932868003845, -0.400228351354599, 0.59421306848526, -0.10846752673387527, -0.309727281332016, -0.07896590232849121, 0.16877040266990662, -0.08792169392108917, 0.3407747149467468, 0.573930561542511, 0.31897735595703125, 0.18163105845451355, -0.5156781673431396, 0.14153018593788147, 0.3328750431537628, -0.05961871147155762, -0.24402464926242828, 0.6997008323669434, 0.5003500580787659, -0.03344200551509857, 0.4188457429409027, -0.21527518332004547, -0.3651798963546753, 0.8176366090774536, 0.46966737508773804, 0.5654978156089783, -0.30818429589271545, 0.6021206378936768, 0.6054726839065552, 0.2878616154193878, -0.14547720551490784, 0.6026832461357117, 0.056473758071660995, -0.7415209412574768, -0.36258843541145325, -0.10225608199834824, -0.2604869604110718, -0.21808962523937225, -0.4009839594364166, 0.27974772453308105, -0.539858341217041, -0.34812891483306885, 0.05274158716201782, -0.2603148818016052, -0.6664334535598755, 0.5604210495948792, 0.5725605487823486, 0.6916464567184448, -0.9742923974990845, 0.3281230032444, 0.5280587077140808, -0.47641298174858093, -0.6359296441078186, 0.489772766828537, 0.1882711946964264, -0.7011817693710327, 1.2113513946533203, 0.012516286224126816, -0.2631787061691284, -0.11899098753929138, -0.7666029930114746, -0.7797073721885681, 0.8799709677696228, 0.672440767288208, -0.5309585928916931, 0.3670448064804077, 0.3003246486186981, 0.15021367371082306, -0.41346314549446106, 0.34012100100517273, 0.42481157183647156, 0.6375958323478699, 0.5617314577102661, -0.42341378331184387, 0.10484682023525238, -0.22449126839637756, 0.3811759352684021, 0.122068852186203, -0.6075927019119263, 0.6760061979293823, -0.189545139670372, -0.5520886182785034, 0.16155675053596497, 0.8477484583854675, 0.6661020517349243, 0.4703596830368042, 1.0686148405075073, 0.21400150656700134, 0.700469970703125, -0.03558272123336792, 1.1675903797149658, -0.17764902114868164, 0.25230124592781067, 0.5845875144004822, -0.3585881292819977, 0.312334805727005, 0.5277038216590881, -0.2809257209300995, 0.45813149213790894, 0.4609912931919098, -0.30051329731941223, 0.534107506275177, -0.2309916615486145, -0.5750669836997986, -0.11415888369083405, -0.7747007012367249, -0.2716849148273468, 0.19886331260204315, 0.10120771825313568, -0.06456952542066574, -0.20690543949604034, -0.162689670920372, 0.3351643681526184, 0.15435437858104706, -0.07124035060405731, 0.4451659321784973, -0.3722815215587616, -0.5946456789970398, 0.3558412790298462, -0.2028731107711792, 0.4913369119167328, -0.4294925928115845, -0.44774526357650757, -0.5968202352523804, -0.38468244671821594, -0.17508623003959656, -0.616100549697876, -0.004801980219781399, 0.16545617580413818, -0.5133240818977356, 0.3065752685070038, 0.35633862018585205, -0.7732502818107605, -0.9310435652732849, 0.0982469767332077, 0.31491386890411377, -0.15254516899585724, 0.4267832040786743, -0.21288253366947174, 0.06270618736743927, 0.1254606395959854, -0.03966955840587616, -0.1341717690229416, 0.30452778935432434, -0.3017385005950928, 0.1593659371137619, 0.5906832218170166, 0.26316219568252563, -0.05908416211605072, 0.3479061424732208, 0.8136988878250122, -0.3933395743370056, -0.36650437116622925, -0.7373843789100647, 0.6705607175827026, -0.5742098093032837, -0.07496089488267899, 0.449419766664505, 0.5046867728233337, 0.47611507773399353, 0.014567351900041103, 0.8448948860168457, -0.20121486485004425, 0.36863401532173157, -0.4147777259349823, 0.4095398485660553, -0.5898088216781616, 0.13346347212791443, -0.11680513620376587, -0.7000300884246826, -0.04806135967373848, -0.12011391669511795, -0.3621971309185028, 0.2645086646080017, 0.3351934552192688, 1.063612937927246, -0.06208810582756996, 0.15245048701763153, 0.24706414341926575, -0.08120296895503998, 0.27013111114501953, -0.2091333568096161, 1.0680572986602783, -0.07972545921802521, 0.5476123094558716, -0.12253067642450333, -0.5834980607032776, -0.0970897302031517, -0.7354956269264221, -0.6679107546806335, -0.1530247926712036, -0.5554323792457581, -0.23062734305858612, 0.12063092738389969, 1.0147285461425781, 0.4762618839740753, -0.7459900379180908, -0.28583428263664246, 0.5140804648399353, -0.12610626220703125, -0.05443519726395607, -0.15833628177642822, 0.3840324580669403, -0.11804713308811188, -0.750103235244751, 0.23434948921203613, 0.28844377398490906, 0.12729766964912415, -0.04540789872407913, -0.1642700880765915, -0.11317592114210129, 0.3138129711151123, 0.1847924292087555, 0.1482471376657486, -0.483612984418869, -0.24581584334373474, -0.24029800295829773, 0.11790777742862701, 0.26269662380218506, 1.0437570810317993, -0.6221190690994263, 0.5000508427619934, 0.5210956931114197, 0.684862494468689, 0.4562179446220398, 0.23070071637630463, 0.7681148052215576, -0.8697460889816284, 0.320947527885437, 0.19999738037586212, 0.3795202374458313, 0.6415898203849792, -0.6660817861557007, 0.6530036926269531, 0.6732086539268494, -0.28863611817359924, -0.6990464925765991, 0.2588755190372467, -0.7994714975357056, -0.10170042514801025, 1.0046466588974, -0.254677414894104, -0.14437401294708252, -0.2564936876296997, -0.13410645723342896, 0.4532707929611206, -0.6991015672683716, 0.7371112108230591, 0.4371902346611023, 0.229116752743721, -0.33405041694641113, -0.22168922424316406, 0.22387492656707764, 0.44110560417175293, -0.809417724609375, 0.007870713248848915, 0.8197511434555054, 0.18041977286338806, 0.10927411168813705, 0.6661456823348999, -0.13918142020702362, 0.46827763319015503, 0.02707313559949398, 0.23747164011001587, -0.01625797338783741, 0.194301575422287, -0.029457395896315575, -0.028829865157604218, -0.17234668135643005, -0.1516626924276352 ]
http://arxiv.org/abs/2407.00369v1
http://arxiv.org/pdf/2407.00369v1
How to Train Your Fact Verifier: Knowledge Transfer with Multimodal Open Models
2024-06-29T08:39:07
2024-06-29T08:39:07
Jaeyoung Lee, Ximing Lu, Jack Hessel, Faeze Brahman, Youngjae Yu, Yonatan Bisk, Yejin Choi, Saadia Gabriel
cs.CL
cs.CL
Given the growing influx of misinformation across news and social media, there is a critical need for systems that can provide effective real-time verification of news claims. Large language or multimodal model based verification has been proposed to scale up online policing mechanisms for mitigating spread of false and harmful content. While these can potentially reduce burden on human fact-checkers, such efforts may be hampered by foundation model training data becoming outdated. In this work, we test the limits of improving foundation model performance without continual updating through an initial study of knowledge transfer using either existing intra- and inter- domain benchmarks or explanations generated from large language models (LLMs). We evaluate on 12 public benchmarks for fact-checking and misinformation detection as well as two other tasks relevant to content moderation -- toxicity and stance detection. Our results on two recent multi-modal fact-checking benchmarks, Mocheg and Fakeddit, indicate that knowledge transfer strategies can improve Fakeddit performance over the state-of-the-art by up to 1.7% and Mocheg performance by up to 2.9%.
[ -0.34995773434638977, -0.7933530807495117, 0.6726104617118835, 0.15911512076854706, -0.10575120151042938, 0.009518144652247429, -0.20583473145961761, -0.5558418035507202, -0.3380676805973053, 0.3883229196071625, -0.41782453656196594, -0.1821301132440567, -0.895123302936554, -0.05816715210676193, -0.5457401275634766, 0.9538924694061279, -0.3270450532436371, 0.07544119656085968, -0.5275818705558777, -0.13507622480392456, -0.16058982908725739, -0.6262266039848328, -0.35393255949020386, -0.35626521706581116, 0.24024096131324768, 0.3586297333240509, 0.4348692297935486, 0.4951922297477722, 0.539636492729187, 0.2526665925979614, 0.06601786613464355, 0.3575785756111145, -0.6183629035949707, -0.13312691450119019, -0.4456562101840973, -0.5205700397491455, -0.1503867506980896, 0.1445581316947937, 0.45266908407211304, 0.2382705956697464, -0.011305955238640308, 0.18294546008110046, -0.4478375315666199, 0.4087396264076233, -0.9629812240600586, 0.1621677428483963, -0.4469965994358063, -0.11828645318746567, 0.029347315430641174, -0.19928154349327087, -0.5638129115104675, -0.655759871006012, 0.010163307189941406, -0.4522305428981781, 0.24086041748523712, -0.13777022063732147, 0.9855847358703613, 0.15262360870838165, -0.932696521282196, -0.36245599389076233, -0.8663911819458008, 0.48222145438194275, -0.4994487762451172, 0.6961086392402649, 0.4388822019100189, 0.4259277880191803, 0.13872894644737244, -0.8475849628448486, -0.9017785787582397, -0.334025114774704, -0.14416608214378357, -0.003772311145439744, -0.041135482490062714, -0.2735927700996399, 0.3884657919406891, 0.29502418637275696, -0.30743858218193054, -0.2253739833831787, -0.4224606454372406, -0.5119398832321167, 0.5426017045974731, -0.18705005943775177, 0.09567767381668091, 0.05357952415943146, -0.8220208287239075, -0.3059441149234772, -0.7059736847877502, 0.22915920615196228, 0.09635872393846512, -0.1167510375380516, -0.21438655257225037, 0.46969547867774963, -0.3904883861541748, 0.48207980394363403, 0.03817005455493927, -0.6388119459152222, 0.2530067563056946, -0.8177155256271362, 0.03955898806452751, -0.074322909116745, 0.5343712568283081, 0.4899244010448456, 0.1657395362854004, -0.21725520491600037, -0.23340368270874023, 0.14904649555683136, 0.2624182105064392, -0.9988593459129333, -0.10525906831026077, -0.18988844752311707, -0.3878602981567383, -0.45297130942344666, 0.13795240223407745, -0.8265430927276611, -0.6530848145484924, -0.3696204423904419, 0.707841157913208, -0.4194308817386627, -0.44469258189201355, 0.2802116870880127, -0.20147959887981415, 0.04791639745235443, 0.6546145081520081, -0.5026354789733887, 0.020011737942695618, 0.4414263367652893, 0.9268492460250854, -0.13295744359493256, -0.0874021053314209, -0.5955629348754883, 0.2553071081638336, -0.22388125956058502, 0.849754273891449, -0.2630978226661682, 0.09781462699174881, 0.041335444897413254, 0.08308467268943787, -0.28624266386032104, -0.2749217450618744, 0.5840272307395935, -0.5809769034385681, 0.1227312907576561, -0.5977464914321899, -0.48880529403686523, -0.24685917794704437, 0.6972038745880127, -0.6616064310073853, 0.7511827945709229, -0.05879756435751915, -0.6206070184707642, 0.4066068232059479, -0.6750563979148865, -0.6595959067344666, -0.3964228332042694, 0.08242174983024597, -0.2284306138753891, -0.11995012313127518, 0.3375900983810425, 0.5039477944374084, -0.2364235520362854, 0.23525655269622803, -0.38760972023010254, -0.1743481159210205, 0.5402628183364868, -0.6087427139282227, 0.6636443734169006, 0.2677001357078552, -0.42443951964378357, -0.07109727710485458, -0.9412807822227478, -0.2649676203727722, -0.11513520777225494, -0.7150173783302307, -0.15741103887557983, -0.1837484985589981, -0.04470764100551605, 0.3579907715320587, -0.0872865617275238, -0.7589519619941711, 0.04733213037252426, 0.23390142619609833, 0.4644017815589905, 0.6173860430717468, 0.14608211815357208, 0.2349814474582672, -0.7821389436721802, 0.21788261830806732, 0.35029903054237366, 0.22980453073978424, -0.13869987428188324, -0.22685228288173676, -0.8162736892700195, -0.30432575941085815, 0.44438043236732483, 0.5633215308189392, -0.9801751375198364, -0.02301594614982605, -0.4735274016857147, -0.509315013885498, -0.19848211109638214, 0.15683744847774506, 0.1177692636847496, 0.4809398055076599, 0.41622352600097656, -0.2930561900138855, -0.24665480852127075, -0.613050103187561, -0.23085539042949677, -0.24097667634487152, 0.28293970227241516, -0.0869414433836937, 0.678289532661438, -0.04531482979655266, 0.858639657497406, -0.20716309547424316, -0.07647672295570374, -0.009360253810882568, 0.3367727994918823, -0.23844535648822784, 0.330261766910553, 0.7756581902503967, -1.085045337677002, -0.23106132447719574, -0.029506437480449677, -0.7134830951690674, 0.11198458075523376, -0.16590999066829681, 0.05666524916887283, 0.14403505623340607, 0.6618881821632385, -0.7510368227958679, 0.3829587697982788, 0.6629478335380554, -0.3436228334903717, 0.6655267477035522, 0.11314575374126434, 0.7736431956291199, -0.7666541337966919, 0.14455311000347137, 0.03803522512316704, -0.7168830037117004, -0.6090452075004578, 0.141314297914505, 0.31688791513442993, 0.038221463561058044, -0.6240905523300171, 0.5570423007011414, -0.3323533236980438, 0.2355756312608719, -0.22162947058677673, 0.0114664975553751, -0.1541883945465088, 0.4085674583911896, -0.0914141908288002, 0.7524028420448303, 0.4262540936470032, -0.8338487148284912, 0.5472900867462158, -0.07038997113704681, -0.6514564156532288, 0.8472325801849365, -0.25498372316360474, -0.0903584361076355, -0.03798219561576843, 0.42187029123306274, -1.0962544679641724, -0.31573137640953064, 0.31463873386383057, -0.2861030101776123, 0.17416931688785553, -0.37148618698120117, -0.6210526823997498, -0.20440761744976044, -0.09914758801460266, 0.16768445074558258, 0.245790034532547, -0.6790524125099182, 0.7653934955596924, 0.1172165796160698, 0.04954701289534569, -0.6179871559143066, -0.5907529592514038, -0.05909726023674011, 0.03608425334095955, -0.8609445691108704, 0.18593668937683105, -0.12444858253002167, -0.2797316312789917, 0.17994439601898193, -0.3896312415599823, -0.3734848201274872, 0.2430405169725418, 0.22524385154247284, -0.021909024566411972, -0.3804622292518616, 0.28343111276626587, -0.0251212976872921, 0.11503450572490692, 0.21665014326572418, 0.12989643216133118, 0.12660473585128784, -0.15034426748752594, -0.6734041571617126, -0.4955935478210449, -0.13459114730358124, 1.1379770040512085, -0.3879551291465759, 0.9734448790550232, 0.9144789576530457, -0.4239066243171692, -0.08726279437541962, -1.0074353218078613, -0.4105377197265625, -0.3773651123046875, 0.12232505530118942, -0.3044130504131317, -0.9270848035812378, 0.29278576374053955, -0.5380510687828064, 0.11625415086746216, 0.1952957808971405, 0.5255786180496216, 0.24403885006904602, 0.8652923107147217, 0.7270420789718628, 0.00033548485953360796, 0.47439825534820557, -0.05990086495876312, 0.1767098754644394, -0.08288735896348953, -0.24825267493724823, -0.3025731146335602, -0.07599087804555893, -0.0705309733748436, -0.5646649599075317, 0.39042890071868896, 0.16878141462802887, 0.0557926781475544, 0.16936999559402466, 0.2353610396385193, 0.5081725120544434, 0.3382585346698761, 0.29231634736061096, 0.6961382031440735, 0.21222060918807983, 0.09048242121934891, 0.2493756115436554, -0.6928958296775818, -0.20079626142978668, 1.0385327339172363, 0.5124775171279907, 0.8311721682548523, 0.45064106583595276, 0.1587299257516861, 0.6480985879898071, 0.7373753190040588, -0.5418871641159058, 0.36751461029052734, 0.027889681980013847, -0.8373547196388245, -0.04757716506719589, -0.5401542782783508, -0.09790649265050888, 0.4036732614040375, -0.6460204124450684, -0.3023151457309723, 0.38592764735221863, 0.11063319444656372, -0.2043338268995285, 0.49455946683883667, -0.7259529829025269, 0.5778476595878601, -0.27372321486473083, -0.5302703976631165, -0.6101049780845642, -0.34253498911857605, 0.7136752009391785, -0.10755779594182968, 0.4957375228404999, -0.08027531951665878, 0.21090222895145416, 0.39532557129859924, -0.3054649829864502, 0.9221204519271851, -0.21852560341358185, -0.064511239528656, 0.1413699835538864, 0.09227810055017471, 0.5904022455215454, 0.22723689675331116, 0.04435541853308678, 0.06128063425421715, 0.04895200952887535, -0.209675595164299, -0.4762372672557831, 0.5899270176887512, -0.7863066792488098, -0.49851328134536743, -0.3873586654663086, -0.5323730707168579, -0.312627911567688, 0.1928679347038269, 0.10497824102640152, 0.38259902596473694, -0.18853220343589783, 0.634097158908844, 1.0398035049438477, 0.3409048318862915, 0.13201580941677094, 0.7570437788963318, -0.07391224801540375, -0.18084675073623657, 0.7489529252052307, 0.13462881743907928, 0.3159390687942505, 0.40322041511535645, 0.2441994696855545, -0.2980341911315918, -0.4604943096637726, -0.7705876231193542, 0.23958232998847961, -0.9615045189857483, -0.252569317817688, -0.7063149213790894, -0.39697521924972534, -0.6046231985092163, -0.006636596750468016, -0.46752026677131653, -0.4401119649410248, 0.10386770218610764, -0.17898955941200256, 0.4125343859195709, 0.6891710758209229, -0.33900347352027893, 0.20837268233299255, -0.7462015151977539, 0.4319913983345032, 0.5603407621383667, 0.39112845063209534, -0.25001272559165955, -0.6016777753829956, -0.32800546288490295, 0.308440625667572, -0.16379688680171967, -0.9151859879493713, -0.25826436281204224, 0.012683236040174961, 0.7047118544578552, 0.4749019145965576, 0.0750063806772232, 0.41192662715911865, 0.048778098076581955, 0.6760901808738708, 0.2188827097415924, -0.9036136865615845, 0.23116013407707214, -0.19302724301815033, -0.13837085664272308, 0.48813003301620483, 0.697719395160675, -0.4991406202316284, -0.07505713403224945, -0.2474130541086197, -0.3093814253807068, 0.7011457085609436, 0.1062605232000351, -0.0357920341193676, 0.3050316274166107, 0.31231945753097534, 0.055201321840286255, 0.274099737405777, -0.9540113210678101, -0.08677829802036285, -0.44733867049217224, 0.07388097792863846, 0.17949475347995758, -0.4159339368343353, -0.5380140542984009, -0.12821227312088013, 0.9467440247535706, -0.2557675242424011, 0.0725090429186821, 0.2887800633907318, -0.617441713809967, -0.17345234751701355, 0.37240445613861084, 0.9305688738822937, 1.0020146369934082, -0.1627146154642105, 0.38106438517570496, 0.19495831429958344, -0.4020945131778717, 0.44870683550834656, 0.093465656042099, -0.23727725446224213, -0.07319601625204086, 0.4599052369594574, 0.7976157665252686, 0.24975867569446564, -0.5609642267227173, 1.027486801147461, -0.046727441251277924, -0.4695817530155182, -0.0001368314551655203, 0.22947214543819427, 0.0026911890599876642, 0.30959364771842957, 0.10902704298496246, 0.367636114358902, -0.1860233098268509, -0.6457008123397827, 0.20790019631385803, 0.08070230484008789, -0.31069424748420715, -0.3065190017223358, 0.4020933508872986, 0.2262110710144043, 0.3574104905128479, 0.42128056287765503, -0.0067754783667624, -0.5330686569213867, 0.3348022401332855, 0.47722679376602173, 0.27058589458465576, -0.2140318602323532, 0.3655790090560913, 0.362081915140152, 0.5865769982337952, -0.6017160415649414, 0.01735598035156727, -0.10155050456523895, -0.8985745310783386, -0.561103880405426, -0.4514275789260864, -0.3637717664241791, 0.3717458248138428, -0.4165245294570923, 0.2319703996181488, -0.5315787196159363, -0.1669907122850418, 0.06750365346670151, -0.19995422661304474, -0.7591071724891663, 0.15338195860385895, 0.15800940990447998, 1.076893925666809, -1.1600052118301392, 0.6035699248313904, 0.8391550183296204, -0.47832465171813965, -0.38233038783073425, -0.10069835186004639, 0.3147370517253876, -0.67603999376297, 0.4636942148208618, 0.07913053035736084, -0.2721136212348938, -0.15475335717201233, -0.6054113507270813, -0.7988107204437256, 1.1287111043930054, 0.585191547870636, -0.534248411655426, 0.0572904609143734, 0.06859255582094193, 0.4150295555591583, -0.2189313918352127, 0.17022758722305298, 0.2738161087036133, 0.6510074734687805, 0.22050386667251587, -0.9190500378608704, 0.1971227377653122, -0.12369313091039658, -0.38069581985473633, -0.09567486494779587, -0.6278445720672607, 0.9102835059165955, -0.24763529002666473, -0.29337796568870544, -0.17843949794769287, 0.6023417115211487, -0.04532262310385704, 0.35157808661460876, 0.7767458558082581, 0.6947064399719238, 0.7107729315757751, -0.08809833973646164, 1.0234107971191406, -0.4096623957157135, 0.2807601988315582, 0.8439847230911255, -0.3116934299468994, 0.6359843015670776, 0.3147394061088562, 0.11053301393985748, 0.811734139919281, 0.21842899918556213, -0.12341983616352081, 0.4526999890804291, -0.08359415829181671, -0.2769264876842499, -0.7039812207221985, -0.1869736760854721, -0.44279202818870544, 0.40142959356307983, 0.2573613226413727, -0.2847869396209717, -0.40513190627098083, 0.40864551067352295, 0.18176868557929993, 0.09620795398950577, -0.21147722005844116, 0.5545931458473206, -0.3039863705635071, -0.6659972071647644, 0.35440221428871155, 0.20906318724155426, 0.651405930519104, -0.7427287697792053, -0.11029227823019028, -0.13712923228740692, 0.3780670762062073, -0.08998717367649078, -0.6698225736618042, 0.10805575549602509, -0.08640939742326736, -0.39099183678627014, -0.3468213975429535, 1.1908587217330933, -0.43701231479644775, -0.21024352312088013, 0.08483187854290009, 0.7963318824768066, -0.15525376796722412, -0.2731577754020691, -0.46158790588378906, 0.04122799634933472, -0.10364320874214172, -0.3133300542831421, 0.2509838044643402, 0.36156126856803894, -0.2958777844905853, 0.8523678779602051, 0.9828633069992065, 0.041964247822761536, 0.2779734432697296, -0.1119108647108078, 0.938425600528717, -0.2421984225511551, -0.47047173976898193, -0.6369513273239136, 0.3279629051685333, -0.10786522924900055, -0.11200623214244843, 0.7580747008323669, 0.39441657066345215, 1.0708149671554565, -0.094608835875988, 0.9742579460144043, -0.2394760102033615, 0.4766952395439148, -0.7116170525550842, 0.8672006726264954, -0.41371309757232666, -0.06951983273029327, 0.1924935132265091, -0.5585747361183167, 0.035689257085323334, 0.5400387048721313, -0.21577757596969604, -0.14783358573913574, 0.6824605464935303, 0.9049732089042664, -0.46744319796562195, 0.2755799889564514, 0.26037368178367615, 0.292428582906723, 0.43086734414100647, 0.244895339012146, 0.9355717897415161, -0.400922954082489, 0.6936004161834717, -0.5291644930839539, -0.2365465760231018, -0.44613873958587646, -0.9740477800369263, -1.0549988746643066, -0.5225518941879272, -0.4805857837200165, -0.5384393334388733, 0.22908127307891846, 0.6514499187469482, 1.1709575653076172, -0.6687446236610413, -0.0246258694678545, 0.18714849650859833, 0.29047784209251404, -0.41939452290534973, -0.22851039469242096, 0.08383245766162872, 0.0002621854073368013, -0.08528820425271988, 0.4487035870552063, -0.1783161759376526, 0.07964203506708145, -0.2663211524486542, 0.008973635733127594, -0.47144758701324463, 0.16747918725013733, 0.8293715715408325, 0.21976874768733978, -0.537186861038208, -0.5695500373840332, -0.07084598392248154, -0.16958506405353546, -0.14137732982635498, 1.1291608810424805, -0.7805233597755432, 0.4917852282524109, 0.6653803586959839, 0.7923594117164612, 0.5419385433197021, 0.11225317418575287, 0.31998422741889954, -0.6829402446746826, -0.20625756680965424, -0.3053774833679199, 0.3076479136943817, 0.3115749657154083, -0.2890625, 0.5129298567771912, 0.8194907903671265, -0.3216829299926758, -0.8881994485855103, 0.1585589051246643, -0.7567972540855408, -0.3212924599647522, 1.0899125337600708, -0.21369628608226776, -0.141305610537529, -0.2064533531665802, 0.12847748398780823, 0.2894400954246521, -0.2838703691959381, 0.7914955615997314, 0.9857428073883057, 0.11566207557916641, -0.2830459177494049, -0.6438258290290833, 0.5579471588134766, 0.0206927377730608, -1.0127471685409546, 0.1098470538854599, 0.6464452147483826, 0.8754518628120422, 0.4706503748893738, 0.5746443271636963, -0.0998854711651802, 0.6354485750198364, 0.04119347035884857, 0.028238585218787193, -0.5086743235588074, -0.6388590335845947, -0.10815346986055374, 0.36244651675224304, -0.34952226281166077, 0.08554299920797348 ]
http://arxiv.org/abs/2407.00365v1
http://arxiv.org/pdf/2407.00365v1
Financial Knowledge Large Language Model
2024-06-29T08:26:49
2024-06-29T08:26:49
Cehao Yang, Chengjin Xu, Yiyan Qi
cs.CL
cs.CL
Artificial intelligence is making significant strides in the finance industry, revolutionizing how data is processed and interpreted. Among these technologies, large language models (LLMs) have demonstrated substantial potential to transform financial services by automating complex tasks, enhancing customer service, and providing detailed financial analysis. Firstly, we introduce IDEA-FinBench, an evaluation benchmark specifically tailored for assessing financial knowledge in large language models (LLMs). This benchmark utilizes questions from two globally respected and authoritative financial professional exams, aimimg to comprehensively evaluate the capability of LLMs to directly address exam questions pertinent to the finance sector. Secondly, we propose IDEA-FinKER, a Financial Knowledge Enhancement framework designed to facilitate the rapid adaptation of general LLMs to the financial domain, introducing a retrieval-based few-shot learning method for real-time context-level knowledge injection, and a set of high-quality financial knowledge instructions for fine-tuning any general LLM. Finally, we present IDEA-FinQA, a financial question-answering system powered by LLMs. This system is structured around a scheme of real-time knowledge injection and factual enhancement using external knowledge. IDEA-FinQA is comprised of three main modules: the data collector, the data querying module, and LLM-based agents tasked with specific functions.
[ -0.19905370473861694, -1.0255436897277832, 0.42390555143356323, 0.07739147543907166, -0.08970961719751358, 0.48972994089126587, -0.2751813232898712, -0.9136042594909668, 0.020440813153982162, 0.6796258091926575, -0.3927767872810364, -0.4290524423122406, -0.314841091632843, -0.18363744020462036, -0.6063766479492188, 0.8545019626617432, 0.08124886453151703, 0.22606635093688965, -0.2756550908088684, 0.39010700583457947, -0.17748448252677917, -0.4021066427230835, -1.1117119789123535, -0.4152589440345764, 0.20294645428657532, 0.28869369626045227, 0.46185165643692017, 0.3883914351463318, 0.8220367431640625, 0.37967556715011597, 0.014620594680309296, -0.18452800810337067, -0.3683914840221405, -0.2308809757232666, -0.30432891845703125, -0.6681256890296936, -0.6761622428894043, -0.0915706530213356, 0.3586432933807373, 0.7213605046272278, -0.3452010750770569, 0.3131038546562195, -0.18067270517349243, 0.7449343800544739, -0.5108290314674377, 0.6059385538101196, -0.4506138265132904, -0.18584562838077545, -0.10164539515972137, -0.053172994405031204, -0.2740274667739868, -0.38354992866516113, 0.41435858607292175, -0.5698469281196594, -0.19401903450489044, 0.24977265298366547, 0.6701135635375977, 0.33141401410102844, -0.3304200768470764, -0.29767826199531555, -0.7289891242980957, 0.6105980277061462, -0.7384359836578369, 0.32117947936058044, 0.36646345257759094, 0.6965903639793396, -0.0649777427315712, -0.802003800868988, -0.41689756512641907, -0.16091889142990112, 0.05735504999756813, 0.09369626641273499, -0.23541942238807678, 0.20250025391578674, 0.10255534946918488, 0.38714659214019775, -0.21933238208293915, 0.20454348623752594, -0.31195148825645447, -0.1648385226726532, 0.8059190511703491, 0.14055198431015015, -0.11915374547243118, 0.13280127942562103, -0.4433833956718445, -0.367738276720047, -0.5840625166893005, 0.17629006505012512, 0.46257901191711426, 0.15929599106311798, -0.048856236040592194, 0.4248422086238861, -0.19862309098243713, 0.786681056022644, -0.006533406209200621, -0.4606052339076996, 0.09830157458782196, -0.28744080662727356, -0.303229957818985, 0.1671452820301056, 0.4853057265281677, 0.1967262625694275, 0.3641023635864258, -0.05983047932386398, -0.34747132658958435, -0.4259902536869049, 0.08410535752773285, -0.5893816351890564, 0.024899236857891083, 0.3298705518245697, -0.3206835389137268, -0.21334215998649597, 0.21300293505191803, -0.7026957869529724, -0.44599756598472595, -0.4259728491306305, 0.4113282859325409, -0.2807226777076721, -0.10049168765544891, 0.4014608561992645, -0.3936426639556885, 0.6260254979133606, 0.39694535732269287, -0.803200900554657, 0.5144158601760864, 1.160051941871643, 0.308643102645874, 0.21981187164783478, 0.002146624494343996, -0.4072122275829315, 0.3565464913845062, -0.39472654461860657, 1.0345771312713623, -0.38451123237609863, -0.14662882685661316, -0.07874562591314316, -0.328157514333725, 0.0969056561589241, -0.5115931034088135, -0.012662292458117008, -0.8261013031005859, 0.04457266256213188, -0.15641266107559204, -0.8348169922828674, -0.325209379196167, 0.3190552294254303, -0.4461963176727295, 0.7546101212501526, 0.34044989943504333, -0.6807253956794739, 0.41021594405174255, -1.0825716257095337, -0.3758660554885864, 0.3439021110534668, -0.1839776635169983, -0.16114434599876404, -0.2944210469722748, 0.05414292588829994, 0.45187410712242126, -0.9314764738082886, 0.34852686524391174, -0.38484710454940796, -0.44007739424705505, 0.5464175343513489, -0.4246580898761749, 0.33486130833625793, 0.01162018533796072, -0.34900742769241333, 0.2448347806930542, -0.805270254611969, -0.16520041227340698, 0.15567311644554138, -0.0177156925201416, -0.48311540484428406, -0.18767033517360687, 0.059631627053022385, 0.043472662568092346, 0.6119141578674316, -0.6124690771102905, 0.10932653397321701, -0.8123000860214233, 0.5482684969902039, 0.896838366985321, 0.15409572422504425, 0.2757047116756439, -0.4736243188381195, 0.5645792484283447, -0.15905597805976868, 0.2102319598197937, -0.013820218853652477, -0.18974308669567108, -0.5376614332199097, -0.18626585602760315, 0.410444438457489, 0.7391093373298645, -0.5520838499069214, 0.26868805289268494, -0.15830695629119873, -0.5510465502738953, -0.2644396424293518, 0.2779213488101959, 0.20583613216876984, 0.4454615116119385, 0.12182798981666565, -0.022301724180579185, -0.324209988117218, -1.2717121839523315, -0.3074100911617279, -0.33480870723724365, -0.04305248707532883, 0.329402357339859, 0.3907109498977661, -0.045803386718034744, 0.8923160433769226, -0.8355004787445068, -0.1504293978214264, -0.3448540270328522, -0.02758290059864521, 0.4396936297416687, 0.2917565405368805, 0.7303606867790222, -0.9576089382171631, -0.1514907032251358, 0.1543464958667755, -0.4825041592121124, 0.11326660215854645, -0.2816537022590637, -0.0994185134768486, -0.0729471743106842, 0.72922283411026, -0.3537738025188446, 0.27898481488227844, 0.14334793388843536, -0.5360739231109619, 0.5144721865653992, -0.2209736406803131, 0.06727457791566849, -1.054109811782837, 0.21344904601573944, 0.00328587694093585, -0.23021748661994934, -0.4516414701938629, -0.07883252203464508, 0.0791226327419281, 0.021458888426423073, -0.2153775990009308, 1.1016803979873657, 0.041300248354673386, -0.48326313495635986, -0.3242802619934082, 0.2951565682888031, -0.12639272212982178, 0.33807072043418884, -0.1866914927959442, 0.9222133755683899, 0.453057199716568, -0.38248443603515625, 0.7627595067024231, 0.27744975686073303, -0.6118614077568054, 0.604967474937439, -0.5758663415908813, -0.06580505520105362, 0.0008898444939404726, 0.10040890425443649, -1.02615487575531, -0.2940012812614441, 0.035751692950725555, -0.06348511576652527, 0.2513941824436188, 0.20354509353637695, -0.549789309501648, -0.563036322593689, 0.014250615611672401, 0.2331613451242447, 0.32935672998428345, -0.5016359686851501, 0.6689561009407043, 0.29632568359375, -0.7136486172676086, -0.8101823329925537, -0.5755758881568909, 0.1772313117980957, -0.2508888244628906, -0.675717294216156, 0.32515010237693787, -0.07288411259651184, -0.7034246325492859, 0.007652692962437868, -0.011003837920725346, -0.08691469579935074, 0.37333154678344727, 0.010898284614086151, 0.651505172252655, -0.38615185022354126, 0.4502614736557007, 0.014741011895239353, -0.2564588487148285, 0.2402600646018982, -0.534520149230957, 0.42438772320747375, -0.33316636085510254, -0.49056464433670044, -0.20046870410442352, 0.05354427918791771, 0.6070107817649841, -0.280786395072937, 0.791445791721344, 0.3631086051464081, -0.31163424253463745, -0.22232937812805176, -0.8989055752754211, -0.008062584325671196, -0.5675132870674133, 0.45505592226982117, -0.34743738174438477, -1.0896470546722412, 0.7836025357246399, -0.2894655466079712, 0.2977679371833801, 0.6729114651679993, 0.5842539072036743, -0.017133474349975586, 0.48431146144866943, 1.003434419631958, -0.18804165720939636, 0.5552579164505005, -0.2838413715362549, 0.2053941786289215, -0.332047700881958, -0.2515262961387634, -0.36817148327827454, -0.27079570293426514, -0.03684590384364128, -0.2567135691642761, 0.2414798140525818, 0.1556890606880188, -0.43445780873298645, 0.2293344885110855, 0.18513381481170654, 0.5836666226387024, 0.28147536516189575, -0.0733049288392067, 0.3244663178920746, -0.1717856079339981, -0.21888160705566406, 0.3534610867500305, -0.6323295831680298, -0.4373881220817566, 1.264456868171692, 0.6059099435806274, 0.807803750038147, -0.012141034938395023, 0.4071965515613556, 0.39206674695014954, 0.5071675777435303, -0.8778506517410278, 0.4586695432662964, -0.14701992273330688, -0.5099170804023743, -0.45036712288856506, -0.6746925711631775, -0.3770318925380707, -0.2869514226913452, 0.051012106239795685, -0.5799314379692078, 0.10881378501653671, -0.18058016896247864, -0.8174409866333008, 0.3461955189704895, -0.6144778728485107, 0.6545059680938721, -0.6065642833709717, -0.36036741733551025, -0.34343627095222473, -0.3237641155719757, 0.5970978140830994, -0.8495481610298157, 0.5712382793426514, -0.04006776958703995, -0.29502707719802856, 0.9530786275863647, -0.3624785244464874, 0.7863355278968811, -0.09260349720716476, -0.658378541469574, 0.3063206672668457, -0.13430939614772797, 0.43082305788993835, 0.2163466513156891, -0.33562448620796204, 0.03742992877960205, 0.1822802573442459, -0.36810940504074097, -0.6783310174942017, 0.47030511498451233, -0.5974192023277283, -0.6525323390960693, -0.11370326578617096, -0.7612823843955994, -0.5968721508979797, 0.010407749563455582, -0.3541429936885834, 0.20433968305587769, -0.4153822958469391, 0.17517684400081635, 0.28627076745033264, -0.27114829421043396, 0.42264580726623535, 0.7392008304595947, -0.44245633482933044, -0.4208943545818329, 0.6888999342918396, -0.08814577758312225, 0.2778991758823395, 0.5268000364303589, 0.19771292805671692, -0.5541276335716248, -0.2942902743816376, -0.20057332515716553, 0.4273703396320343, -0.9697964191436768, -0.36640727519989014, -0.3804449141025543, -0.2896396517753601, -0.4824221134185791, -0.3307112157344818, -0.5145840048789978, -0.48812368512153625, -0.0357644148170948, -0.3425520062446594, 0.821230947971344, 0.9131863713264465, -0.18747033178806305, 0.25995582342147827, -0.9721379280090332, 0.2209497094154358, 0.4896402955055237, 0.6743877530097961, 0.12856076657772064, -0.43324407935142517, -0.4936826825141907, -0.12127139419317245, 0.27331870794296265, -0.339892715215683, 0.17490698397159576, 0.03628300875425339, 0.7347072958946228, 0.8361160755157471, -0.038529593497514725, 0.5985334515571594, 0.052864495664834976, 0.4308219254016876, 0.1590467095375061, -0.8480368852615356, 0.28761622309684753, -0.28438252210617065, 0.1965886503458023, 0.6342089176177979, 0.2631660997867584, -0.6040406227111816, -0.3472602069377899, -0.5825828313827515, -0.8173663020133972, 0.5575722455978394, -0.18484996259212494, -0.006945053115487099, 0.14178796112537384, 0.6997937560081482, 0.2889356017112732, 0.4281630516052246, -0.3633161187171936, -0.012505260296165943, 0.076888307929039, -0.31100669503211975, -0.24326273798942566, -0.18070174753665924, -0.1610272228717804, -0.2822829782962799, 0.7338066101074219, -0.28576982021331787, 0.04303243011236191, -0.025158880278468132, 0.2541016638278961, -0.18879598379135132, 0.4007894992828369, 0.508371114730835, 1.0185580253601074, -0.2808656096458435, -0.17341354489326477, 0.24836404621601105, -0.3114846348762512, 0.12437814474105835, 0.3575141727924347, 0.10671410709619522, -0.4518129825592041, 0.4594230651855469, 0.4534149765968323, 0.654639482498169, -1.1328247785568237, 0.45882970094680786, -0.1376478672027588, -0.4413910210132599, -0.6508864760398865, 0.24069204926490784, 0.32933562994003296, 0.6829927563667297, 0.7405674457550049, -0.0066375345923006535, -0.19807931780815125, -0.6511696577072144, 0.35474953055381775, 0.3286937475204468, -0.3898339867591858, 0.027315722778439522, 0.4495065212249756, 0.1273217499256134, -0.1219317689538002, 0.42632266879081726, 0.09402941912412643, -0.4980927109718323, 0.7669706344604492, 0.43105337023735046, 0.7257681488990784, -0.06662265211343765, 0.023908212780952454, 0.11196048557758331, 0.16878443956375122, -0.19741308689117432, 0.5581955313682556, -0.020659402012825012, -0.6949689388275146, -0.5926929712295532, -0.9390671253204346, -0.5147070288658142, 0.14960740506649017, -0.5710048079490662, 0.2035321295261383, -0.7687787413597107, -0.1715499609708786, 0.20012955367565155, 0.0257154181599617, -0.6819097995758057, -0.008323040790855885, 0.12831264734268188, 1.3351980447769165, -0.4490985572338104, 0.6460418105125427, 0.6848400235176086, -0.22505202889442444, -0.5707545876502991, -0.2689064145088196, -0.0928473025560379, -0.8894273042678833, 0.8493602871894836, -0.17030580341815948, -0.07675739377737045, 0.14101822674274445, -0.5385783314704895, -1.0125317573547363, 1.1086845397949219, 0.3323647081851959, -0.923650860786438, -0.18971940875053406, 0.33917859196662903, 0.4313504993915558, -0.5523748993873596, 0.04952782765030861, 0.766222357749939, 0.8033862113952637, 0.2952052652835846, -0.9913267493247986, -0.36338457465171814, -0.21478451788425446, -0.3511037826538086, 0.36687055230140686, -0.6828449368476868, 0.6941127181053162, -0.25098294019699097, 0.06916555762290955, -0.017318621277809143, 0.5364484786987305, -0.02551923133432865, 0.263508141040802, 0.4936714470386505, 0.37716570496559143, 0.8387437462806702, -0.044835031032562256, 1.1449886560440063, -0.6152933239936829, 0.13524046540260315, 1.0388293266296387, -0.38463011384010315, 1.004991888999939, 0.317376971244812, -0.2772243916988373, 0.41309595108032227, 0.6384317874908447, -0.2012757509946823, 0.04380868375301361, 0.38958150148391724, -0.1438894122838974, -0.5020654201507568, -0.08262845873832703, -0.23599013686180115, 0.7968306541442871, 0.5058930516242981, -0.22194960713386536, -0.0992928147315979, 0.1309947371482849, -0.2775278091430664, -0.025056403130292892, -0.45497003197669983, 1.0187795162200928, 0.39909234642982483, -0.33574536442756653, 0.011828471906483173, 0.3009727895259857, 0.4917891025543213, -1.0004249811172485, 0.04416484758257866, -0.12015100568532944, 0.37460654973983765, 0.1599104255437851, -0.6735477447509766, 0.28232911229133606, 0.049708981066942215, -0.03068404458463192, -0.1624109447002411, 0.9491006135940552, -0.18983085453510284, -0.7112786769866943, 0.5027679204940796, 0.6947624087333679, -0.047981999814510345, -0.08982343226671219, -0.7508156895637512, -0.5235422849655151, -0.28893646597862244, -0.20757190883159637, 0.3862583637237549, 0.32522615790367126, 0.1004379391670227, 1.0042974948883057, 0.9326431751251221, 0.06339142471551895, -0.4123227596282959, 0.11889097839593887, 0.8588669300079346, -0.9841903448104858, -0.7182101607322693, -0.7264431715011597, 0.03097597137093544, -0.027016770094633102, -0.12861470878124237, 0.6122362613677979, 0.6696524620056152, 0.7234878540039062, 0.06727400422096252, 0.6960422396659851, 0.48240259289741516, 0.49313387274742126, -0.5655477643013, 1.0267109870910645, -0.498320072889328, 0.5712679028511047, -0.42424818873405457, -0.9710145592689514, -0.09590460360050201, 0.3472789525985718, -0.8053801655769348, -0.18317216634750366, 0.39696332812309265, 0.5007131099700928, 0.09345190972089767, 0.3569933772087097, 0.4251135587692261, 0.19511844217777252, 0.06284346431493759, 0.41499486565589905, 0.844788134098053, -0.27290546894073486, 0.5738574266433716, -0.17944350838661194, -0.13470904529094696, -0.23526059091091156, -0.6795426607131958, -0.7312768697738647, -0.2738882601261139, -0.32296881079673767, 0.1428818255662918, -0.12478844821453094, 0.9816558957099915, 0.25007176399230957, -0.6537432670593262, -0.6706129312515259, 0.24141179025173187, 0.06906992942094803, -0.18902084231376648, -0.2484232634305954, 0.35905492305755615, -0.19856134057044983, -0.20519842207431793, 0.5814555883407593, 0.6284741163253784, 0.33441418409347534, -0.5101421475410461, 0.03926330432295799, -0.014450125396251678, 0.33457961678504944, 0.6018897891044617, 0.04106314852833748, -0.34809890389442444, -0.19427891075611115, 0.10382557660341263, 0.02552187070250511, -0.15238821506500244, 0.7933944463729858, -0.5174267292022705, 0.12112273275852203, 0.30751556158065796, 0.9361397624015808, 0.4807768762111664, -0.001735038124024868, 0.7893092632293701, -0.2013891339302063, 0.20457641780376434, 0.17026455700397491, 0.37832018733024597, -0.13149452209472656, -0.4862527847290039, 0.4715754985809326, 0.04123237729072571, -0.31343162059783936, -0.39657706022262573, -0.03421534225344658, -0.7435072660446167, -0.6640669703483582, 0.919092059135437, -0.06512300670146942, -0.5847061276435852, -0.33002784848213196, 0.010755045339465141, -0.11093229800462723, -0.43369540572166443, 0.5941197276115417, 0.7940436005592346, 0.04731939733028412, -0.08662408590316772, -0.7701937556266785, 0.4597814977169037, 0.21707512438297272, -1.009647011756897, 0.3012261390686035, 0.28354471921920776, 0.2998232841491699, 0.14907363057136536, 0.5019329190254211, -0.12199316918849945, 0.42476823925971985, 0.10220293700695038, 0.11592858284711838, -0.24360264837741852, -0.1840871125459671, -0.07595954090356827, 0.3792632520198822, 0.0599229633808136, 0.5056359171867371 ]
http://arxiv.org/abs/2407.00361v1
http://arxiv.org/pdf/2407.00361v1
From RAG to RICHES: Retrieval Interlaced with Sequence Generation
2024-06-29T08:16:58
2024-06-29T08:16:58
Palak Jain, Livio Baldini Soares, Tom Kwiatkowski
cs.CL
cs.CL, cs.AI
We present RICHES, a novel approach that interleaves retrieval with sequence generation tasks. RICHES offers an alternative to conventional RAG systems by eliminating the need for separate retriever and generator. It retrieves documents by directly decoding their contents, constrained on the corpus. Unifying retrieval with generation allows us to adapt to diverse new tasks via prompting alone. RICHES can work with any Instruction-tuned model, without additional training. It provides attributed evidence, supports multi-hop retrievals and interleaves thoughts to plan on what to retrieve next, all within a single decoding pass of the LLM. We demonstrate the strong performance of RICHES across ODQA tasks including attributed and multi-hop QA.
[ -0.20456182956695557, -0.2572936415672302, 0.20020714402198792, 0.2533922791481018, -0.34741759300231934, 0.5205960869789124, 0.09013933688402176, -0.30661171674728394, 0.4788369834423065, 0.7621688842773438, -0.31301355361938477, 0.13661569356918335, -0.646699070930481, 0.06514478474855423, -0.6027910709381104, 1.1191681623458862, 0.5359377264976501, 0.012858630158007145, -0.16008049249649048, 0.00021969579393044114, -0.33706042170524597, -0.29026344418525696, -0.4388185441493988, -0.1596122831106186, 0.5632809996604919, 0.7101345062255859, 0.667513370513916, 0.38578468561172485, 0.49133241176605225, 0.32706502079963684, 0.037143416702747345, 0.6569018363952637, -0.8571823835372925, 0.600069522857666, -0.4691252112388611, -0.41962841153144836, -0.25322362780570984, -0.22202222049236298, 0.5668496489524841, 0.5719146132469177, 0.09181230515241623, 0.4356711208820343, 0.27030399441719055, 1.187258243560791, -1.1020004749298096, -0.3194507658481598, -0.7642255425453186, -0.06675606220960617, -0.5134022235870361, -0.7407580018043518, -0.7385295629501343, -0.3276028633117676, -0.16925321519374847, -0.5019538402557373, 0.381974995136261, 0.023892344906926155, 0.7051864862442017, 0.29466232657432556, -0.33794254064559937, -0.5419784784317017, -0.8593387007713318, 0.6629799008369446, -0.29869160056114197, 0.4355860948562622, 0.2745301425457001, 0.11108166724443436, -0.09001424908638, -0.934916615486145, -0.341814786195755, 0.03486275672912598, -0.09846387803554535, 0.41516566276550293, 0.16166433691978455, -0.24330151081085205, 0.23015810549259186, 0.8975452780723572, -0.3622629940509796, -0.1676643043756485, -0.4099636673927307, 0.28100138902664185, 0.6485084295272827, -0.02999645285308361, -0.04658060148358345, -0.43235868215560913, -0.5419784784317017, -0.271943598985672, -0.7678553462028503, -0.020619943737983704, 0.5098341107368469, 0.42631909251213074, 0.41490235924720764, 0.8116527199745178, -0.18673674762248993, 0.6324737071990967, 0.057794239372015, -0.14387953281402588, -0.029863234609365463, -0.22715653479099274, 0.020384838804602623, 0.02897837944328785, 0.4529446065425873, -0.3480902314186096, -0.15653236210346222, -0.4854748249053955, -0.3565455675125122, -0.6393963098526001, 0.5470566153526306, -0.6112735271453857, -0.1616697609424591, 0.1691862791776657, -0.35706040263175964, -0.11932626366615295, 0.4637281894683838, -0.9173203110694885, -0.5176576972007751, -0.07853932678699493, 0.7272291779518127, -0.5106777548789978, 0.060558486729860306, 0.023297958076000214, -0.6172826886177063, 0.6041375994682312, 0.025256089866161346, -0.9387496709823608, 0.3778298497200012, 0.888063371181488, 0.722135066986084, 0.16856610774993896, -0.02582898922264576, -1.2576066255569458, 0.2508994936943054, -0.2491244226694107, 0.7173064947128296, -0.1962457001209259, -0.5253204107284546, -0.210817351937294, -0.36822086572647095, 0.09218838810920715, -0.6839431524276733, 0.49309638142585754, -1.1540559530258179, 0.020667951554059982, -0.20490674674510956, -0.6502711772918701, 0.018720416352152824, -0.10203185677528381, -0.840743899345398, 0.9363196492195129, 0.33546343445777893, -0.9505292177200317, 0.0787227600812912, -0.46062180399894714, -0.5318127274513245, 0.3895587921142578, -0.046119075268507004, -0.30600661039352417, 0.3503369092941284, -0.09113709628582001, 0.228157639503479, -0.48484644293785095, 0.17170889675617218, -0.20034821331501007, -0.5725641846656799, 0.10207386314868927, -0.2108725756406784, 0.7874660491943359, 0.47855913639068604, -0.20428338646888733, -0.31979209184646606, -0.791948676109314, 0.21073974668979645, 0.3336985111236572, -0.47613653540611267, -0.61210036277771, 0.004049850162118673, -0.20368367433547974, -0.23113806545734406, 0.35448575019836426, -0.43427935242652893, 0.47265392541885376, -0.45872384309768677, -0.01612566038966179, 0.4912993013858795, 0.06343069672584534, 0.5928122401237488, -0.5259963274002075, 0.42189598083496094, -0.23850151896476746, -0.18338525295257568, -0.407007098197937, -0.3547342121601105, -0.848097562789917, -0.24632270634174347, 0.5806050300598145, 0.7631114721298218, -0.7727630138397217, 0.20119483768939972, -0.43981844186782837, -0.18124039471149445, -0.7298705577850342, 0.10353932529687881, 0.557384729385376, 0.2722494602203369, 0.3595046401023865, -0.4644641578197479, -0.5079022645950317, -0.5279589295387268, -0.49615275859832764, 0.2642284035682678, -0.2400198131799698, 0.342923641204834, 0.12935742735862732, 0.08885235339403152, 0.8478109240531921, -0.5459654927253723, -0.10252155363559723, -0.14575226604938507, 0.3119097352027893, 0.36864393949508667, 0.5410454869270325, 0.06734655052423477, -1.2848440408706665, -0.2768869996070862, -0.2131972759962082, -0.44738340377807617, 0.11351117491722107, -0.06410152465105057, -0.35875746607780457, -0.0028793280944228172, 0.5731284618377686, -0.3372662365436554, 0.3821178674697876, 0.16467104852199554, -0.43783077597618103, 0.25670018792152405, -0.24479705095291138, 0.2608819603919983, -1.311658263206482, 0.1533707231283188, -0.7525792717933655, -0.21054038405418396, -0.25651273131370544, 0.42566192150115967, 0.14437459409236908, 0.08247750997543335, -0.01550208032131195, 0.5726491212844849, -0.741300642490387, -0.7030351758003235, -0.14646200835704803, 0.1101331040263176, 0.2515465319156647, 0.016190769150853157, -0.3267989754676819, 0.9324272871017456, 0.11188065260648727, -0.6914739012718201, 0.1728476881980896, 0.6185550093650818, -0.12497760355472565, 0.4513418972492218, -0.30022308230400085, 0.32442548871040344, -0.5320738554000854, -0.11655142903327942, -0.9942820072174072, -0.25300633907318115, -0.23497039079666138, -0.6421158313751221, 0.5479109287261963, 0.036112722009420395, -0.4010533094406128, -0.35131606459617615, -0.5016965270042419, 0.42439377307891846, 0.6791160702705383, -0.807191014289856, 0.5069597363471985, 0.24726781249046326, -0.2601068913936615, -0.9643937349319458, -0.2938961982727051, 0.20706713199615479, -0.26205578446388245, -0.5409528613090515, 0.5081233978271484, -0.11009475588798523, -0.4148141145706177, -0.06532315164804459, -0.012096485123038292, -0.00014790719433221966, 0.3168858289718628, 0.09725617617368698, 0.477731853723526, -0.2014046460390091, 0.26212501525878906, 0.014068854041397572, -0.08061166852712631, -0.4340561032295227, -0.4854384958744049, 0.4160780906677246, 0.1047036200761795, -0.23033562302589417, 0.4593331217765808, 0.6920831203460693, 0.20620422065258026, -0.6298331618309021, 0.5722437500953674, 0.5016562938690186, 0.028939139097929, -0.49830520153045654, -0.43187186121940613, -0.16214467585086823, -0.5370855927467346, 0.050181008875370026, -0.5185461640357971, -0.9208037257194519, 0.23037134110927582, -0.3493531048297882, 0.3069910705089569, 0.3816143274307251, 0.41122177243232727, -0.2124527245759964, 0.3501949906349182, 0.6914326548576355, 0.3502860367298126, 0.24989734590053558, -0.6068527698516846, 0.3406071364879608, -1.0994079113006592, -0.1706395000219345, -0.5656830072402954, -0.3330475389957428, -0.3276121914386749, -0.6278932690620422, 0.594992458820343, 0.7852993607521057, -0.330424427986145, 0.1947893500328064, -0.44379764795303345, 0.5577367544174194, 1.1030054092407227, 0.20973911881446838, 0.6676133871078491, -0.27971360087394714, 0.14302557706832886, 0.28815731406211853, -0.816849410533905, -0.36129528284072876, 1.2018152475357056, -0.24067042768001556, 0.6629700064659119, 0.37527430057525635, 1.3277251720428467, 0.46426793932914734, 0.3079659044742584, -0.795553982257843, 0.42332133650779724, -0.6711316704750061, -0.30280494689941406, -0.3972286283969879, -0.3927099406719208, -1.3434959650039673, 0.23761999607086182, -0.22012555599212646, -0.5816022753715515, 0.15341463685035706, -0.02997950278222561, -0.81228107213974, 0.2796396017074585, -0.285180002450943, 0.5041492581367493, -0.08397846668958664, -0.4638069272041321, -0.16158320009708405, -0.8365700840950012, 0.884645402431488, -0.14883370697498322, 0.22717934846878052, 0.19527530670166016, -0.11780315637588501, 0.499673992395401, -0.5097092390060425, 0.2795865833759308, 0.2317315638065338, -0.04948447272181511, 0.37340521812438965, 0.12817712128162384, 0.5786002278327942, 0.057983867824077606, -0.13477091491222382, -0.4608336389064789, -0.28678297996520996, -0.42053359746932983, -0.3781823217868805, 0.6093433499336243, -0.49462196230888367, -0.6001453995704651, -0.340973824262619, -0.7783828377723694, -0.4912022352218628, 0.1401207596063614, 0.5058208703994751, 0.5132910013198853, -0.15032242238521576, 0.13178938627243042, 1.0125501155853271, -0.2868659794330597, 0.5928648710250854, 0.36471056938171387, 0.03340708836913109, -0.43989133834838867, 0.9219769835472107, -0.02297024615108967, 0.4907681345939636, 0.9516982436180115, 0.09921904653310776, -0.3813512325286865, -0.40163668990135193, -0.4559918940067291, 0.21974432468414307, -0.6601061224937439, -0.6521573662757874, -0.8196678161621094, -0.3757559657096863, -0.6583808660507202, -0.16397610306739807, -0.4081179201602936, -0.5255867838859558, -0.26878976821899414, 0.17725057899951935, 0.5606159567832947, 0.9239577054977417, -0.4481951892375946, -0.11132961511611938, -1.3695746660232544, 0.8248124718666077, 0.7321488857269287, 0.2650771737098694, 0.05973491072654724, -0.6924793720245361, -0.20326930284500122, -0.2729733884334564, -0.3988625705242157, -0.917617917060852, 0.39736732840538025, 0.3679806590080261, 0.20344491302967072, 0.06746726483106613, 0.531075656414032, 0.756301999092102, -0.6269283890724182, 0.444692999124527, -0.11829734593629837, -0.9100935459136963, 0.35325881838798523, -0.1931481808423996, 0.1275351196527481, 0.4323068857192993, 0.3894897699356079, -0.28642410039901733, -0.2504441440105438, -0.7620562314987183, -1.1678475141525269, 0.48432981967926025, -0.13486245274543762, -0.09671396762132645, -0.12720069289207458, 0.290376752614975, 0.3966934084892273, 0.19786261022090912, -0.1315074861049652, -0.101327084004879, -0.059025395661592484, 0.1196243017911911, -0.008848913013935089, -0.40874093770980835, -0.05390012264251709, 0.1991955041885376, 0.6888867020606995, -0.2138872891664505, 0.27534425258636475, 0.41776636242866516, -0.004156000446528196, -0.040516335517168045, 0.4554509222507477, 0.04820489138364792, 0.38026368618011475, -0.05684587359428406, 0.08595752716064453, -0.30280616879463196, -0.3844110667705536, 0.0975070670247078, 0.36562076210975647, -0.25668710470199585, -0.026460882276296616, 0.1627819985151291, 0.46192803978919983, 0.4070851802825928, -0.7153805494308472, 0.5474939346313477, 0.24278490245342255, 0.020594704896211624, -0.22389782965183258, -0.02358492650091648, 0.12688562273979187, 0.6639149188995361, 0.5913923978805542, -0.11489380896091461, 0.5737819075584412, -0.5517919659614563, 0.6163294911384583, 0.4688047766685486, 0.06942706555128098, 0.1940099596977234, 0.902036190032959, -0.05048779025673866, -0.2907625436782837, 0.9623376727104187, -0.6247805953025818, -0.10045973211526871, 0.4947582483291626, 0.560114860534668, 1.0352284908294678, -0.07196255028247833, 0.35865887999534607, 0.4798230528831482, -0.1505890041589737, -0.25484004616737366, 0.618463933467865, -0.26647529006004333, -0.5597494840621948, -0.616496205329895, -0.9882041811943054, -0.42846179008483887, -0.1870507150888443, -0.9458823204040527, 0.011052940972149372, -0.13270807266235352, 0.28263571858406067, -0.10908910632133484, -0.29902753233909607, -0.45923691987991333, -0.11449427157640457, 0.2070319652557373, 0.9170665144920349, -0.044375039637088776, 0.7086948752403259, 0.25945770740509033, -0.47799915075302124, -0.9493507742881775, 0.06594852358102798, -0.08846413344144821, -0.896660566329956, 0.8345816135406494, -0.1607203632593155, -0.06470554322004318, 0.382268488407135, -0.36412790417671204, -1.0577030181884766, 1.2681821584701538, 0.37711426615715027, -0.24238857626914978, -0.2409040927886963, -0.23846933245658875, -0.09698361158370972, 0.06424909830093384, 0.028576916083693504, 0.43342211842536926, 0.17530207335948944, 0.6305128335952759, -0.8538981080055237, -0.28215959668159485, -0.2413433939218521, 0.05562618747353554, 0.5794808864593506, -0.6586529016494751, 1.2355154752731323, -0.7939529418945312, -0.43579402565956116, 0.7576109170913696, 0.7165319323539734, 0.4983047544956207, 0.21060973405838013, 0.2614431381225586, 0.7484737634658813, 0.8095282316207886, 0.01173338107764721, 1.0792560577392578, -0.24695809185504913, 0.17021246254444122, 1.282300591468811, -0.02958846278488636, 0.9469785690307617, 0.33379924297332764, -0.18793271481990814, 0.44389215111732483, 0.2535450756549835, 0.3570142984390259, 0.5929901599884033, 0.4258013367652893, -0.6128067970275879, -0.03530734032392502, -0.1394176185131073, -0.2740113437175751, 0.5390332937240601, 0.4040054380893707, -0.17378512024879456, -0.3358484208583832, -0.005345812067389488, -0.28777801990509033, 0.2429315149784088, -0.5666192770004272, 0.9135547280311584, 0.12333797663450241, -0.9486163854598999, 0.5851162075996399, -0.18329168856143951, 0.7052938342094421, -0.6842355132102966, -0.4672267436981201, -0.27473020553588867, 0.15491211414337158, -0.20695453882217407, -0.6669078469276428, 0.3276904821395874, -0.1620727777481079, -0.04918306693434715, -0.40345093607902527, 0.9795839190483093, -0.5177904963493347, -0.08092353492975235, -0.014976952224969864, 0.7053605318069458, 0.27111390233039856, -0.17065396904945374, -0.32263055443763733, -0.34575408697128296, -0.13945551216602325, -0.28203558921813965, 0.45082953572273254, 0.7562932968139648, 0.11755773425102234, 0.2785964608192444, 0.5044384598731995, -0.15715152025222778, 0.37902289628982544, 0.031750522553920746, 0.8382706046104431, -0.9668325185775757, -0.5283663272857666, -0.3702400326728821, 0.6471825242042542, 0.04459388554096222, -0.08479074388742447, 0.7399231195449829, 0.7146380543708801, 0.87710040807724, -0.1638123095035553, 0.6325782537460327, -0.351057767868042, 0.7329908609390259, -0.4821217656135559, 0.288135290145874, -0.549650251865387, 0.21919317543506622, -0.09758565574884415, -0.7727882862091064, -0.03792180120944977, 0.1633773148059845, 0.20765727758407593, -0.26989248394966125, 0.47640037536621094, 0.5051479935646057, 0.025953033939003944, 0.15638768672943115, 0.3039780855178833, 0.01417361106723547, -0.05972963944077492, 0.6172205805778503, 0.8249948024749756, -0.5684348344802856, 0.40094828605651855, -0.06014719977974892, -0.27245622873306274, -0.11637145280838013, -0.6649097800254822, -0.22762899100780487, -0.6757503151893616, 0.28291887044906616, -0.6067427396774292, 0.117110975086689, 0.7120766043663025, 0.21838884055614471, -0.42837002873420715, -0.23141321539878845, 0.002284133108332753, 0.2503417134284973, -0.3395735025405884, -0.22119753062725067, 0.17583125829696655, -0.9014365673065186, -0.8429321050643921, 0.6099731922149658, 0.5075096487998962, -0.08841393887996674, -0.21683838963508606, -0.013254928402602673, -0.32128196954727173, 0.09772955626249313, 0.7563850283622742, 0.5766475200653076, -0.2577272355556488, 0.04230960085988045, 0.20255926251411438, -0.12185117602348328, 0.1101238876581192, 1.0873709917068481, -1.1407095193862915, 0.30486392974853516, 0.5861371159553528, 1.1148072481155396, 0.5163910984992981, 0.16325826942920685, 0.4247265160083771, -0.7201908826828003, 0.03690897673368454, 0.6990219354629517, 0.2606677711009979, 0.2608073055744171, -0.5704214572906494, 0.7881441116333008, 0.19790786504745483, -0.6674239039421082, -0.5893809795379639, 0.34147515892982483, -0.9508416056632996, -0.38167014718055725, 0.8447598218917847, -0.022690244019031525, -0.08003897219896317, -0.10795493423938751, -0.007953782565891743, 0.15228748321533203, -0.06357628852128983, 0.7268895506858826, 0.22037388384342194, -0.1331736445426941, 0.12785547971725464, -0.3716030418872833, 0.4367343485355377, 0.4052443206310272, -0.6938018202781677, -0.0249436404556036, 0.4562969207763672, -0.21451233327388763, 0.3009488880634308, 0.9534097909927368, -0.4345459043979645, 0.29921796917915344, 0.16195248067378998, -0.07316097617149353, 0.17186039686203003, -0.4011431932449341, -0.07243157923221588, 0.4835314452648163, 0.15576499700546265, -0.27621543407440186 ]
http://arxiv.org/abs/2407.00342v1
http://arxiv.org/pdf/2407.00342v1
Korean Aspect-Based Sentiment Analysis via Implicit-Feature Alignment with Corpus Filtering
2024-06-29T07:01:51
2024-06-29T07:01:51
Kibeom Nam
cs.CL
cs.CL, cs.AI
Investigations into Aspect-Based Sentiment Analysis (ABSA) for Korean restaurant reviews are notably lacking in the existing literature. Our research proposes an intuitive and effective framework for ABSA in low-resource languages such as Korean. It optimizes prediction labels by integrating translated benchmark and unlabeled Korean data. Using a model fine-tuned on translated data, we pseudo-labeled the actual Korean NLI set. Subsequently, we applied LaBSE and MSP-based filtering to this pseudo-NLI set as implicit feature, enhancing Aspect Category Detection and Polarity determination through additional training. Incorporating dual filtering, this model bridged dataset gaps, achieving positive results in Korean ABSA with minimal resources. Through additional data injection pipelines, our approach aims to utilize high-resource data and construct effective models within communities, whether corporate or individual, in low-resource language countries. Compared to English ABSA, our framework showed an approximately 3% difference in F1 scores and accuracy. We release the dataset and our code for Korean ABSA, at this link.
[ -0.4528360068798065, -0.46004486083984375, 0.7553081512451172, 0.2815398871898651, -0.5848488211631775, 0.08079671114683151, -0.005415656603872776, -0.6207955479621887, 0.6204958558082581, 0.7091916799545288, -0.40507030487060547, -0.9368704557418823, -0.1406867653131485, 0.2115597277879715, 0.1024843379855156, 1.1710431575775146, -0.24462349712848663, 0.44943690299987793, -0.31572553515434265, -0.504270613193512, -0.32330578565597534, -0.3745419979095459, -0.4760836660861969, -0.34429115056991577, 0.3864465355873108, 0.4949718117713928, 0.7442904114723206, 0.4624177813529968, 0.2770216166973114, 0.22289645671844482, -0.14455001056194305, 0.06416814029216766, -0.19347722828388214, 0.08457393944263458, -0.2609761357307434, -0.3691314160823822, -0.6394637823104858, -0.032807935029268265, 0.3247440755367279, 0.7938817739486694, 0.33874407410621643, 0.1506042182445526, 0.054284945130348206, 1.1393492221832275, -0.2753722369670868, 0.42572665214538574, -0.2247285544872284, 0.05829882249236107, 0.08695739507675171, 0.4305180609226227, 0.02908887155354023, -0.5042909383773804, 0.06150873005390167, -0.5093975067138672, -0.1094820573925972, 0.04529789462685585, 0.7577306628227234, 0.25481244921684265, -0.3034486770629883, -0.43051716685295105, -0.8296709060668945, 0.6778982877731323, -0.6697794198989868, 0.3497525453567505, 0.3635706901550293, -0.2188625931739807, 0.1802351176738739, -0.4139367341995239, -0.6377113461494446, -0.15775850415229797, -0.28502461314201355, 0.2688422203063965, -0.01807413250207901, 0.1322583109140396, -0.09544152766466141, 0.5278646945953369, -0.46813374757766724, 0.15854845941066742, -0.17637945711612701, 0.23812074959278107, 0.6471569538116455, -0.10811234265565872, 0.2270740121603012, -0.6816429495811462, -0.3163461983203888, -0.11314155161380768, -0.8061779141426086, 0.35052284598350525, 0.4538451135158539, 0.4084200859069824, -0.08557730168104172, 0.6996603012084961, -0.5253956913948059, 0.3056337833404541, -0.004853167105466127, 0.10662642866373062, 0.43322911858558655, -0.6096322536468506, 0.02860233187675476, 0.29374340176582336, 0.8561621904373169, 0.5931745171546936, -0.013467525132000446, -0.027204353362321854, -0.49228739738464355, 0.12062668800354004, 0.20574118196964264, -0.534982442855835, -0.40884828567504883, 0.627561092376709, -0.5764638781547546, -0.3804411292076111, 0.36940377950668335, -0.8830864429473877, -0.48259443044662476, -0.42145732045173645, -0.05466512590646744, -0.052297815680503845, -0.40948739647865295, -0.3709527254104614, 0.09871899336576462, 0.17585283517837524, -0.08049534261226654, -0.3079437017440796, -0.03051878698170185, 0.8293483853340149, 0.7990992665290833, 0.024422451853752136, 0.08122245967388153, -0.18415270745754242, -0.1165563091635704, -0.4995841681957245, 0.7340949773788452, -0.5133399963378906, -0.5015796422958374, 0.23332750797271729, 0.15705245733261108, 0.23501048982143402, -0.6360195875167847, 0.7480959892272949, -0.493934690952301, -0.2077525556087494, -0.3604132831096649, -0.31819260120391846, -0.4163547158241272, 0.20954860746860504, -0.6814125180244446, 1.1438192129135132, 0.27407288551330566, -0.42594462633132935, 0.3337114155292511, -0.4852137565612793, -0.5698800086975098, -0.007534507662057877, -0.10739072412252426, -0.4733191132545471, 0.36762309074401855, 0.6481261253356934, 0.1868637651205063, -0.0055325827561318874, 0.1257646381855011, -0.42233791947364807, 0.0694994106888771, 0.4735632538795471, 0.017261113971471786, 0.27605336904525757, 0.24726243317127228, -0.07249654829502106, 0.43666309118270874, -0.4755028486251831, 0.22938388586044312, -0.16033457219600677, 0.07096743583679199, -0.7951673865318298, -0.0011003639083355665, 0.11264105886220932, 0.520101010799408, 0.39710482954978943, -0.5651424527168274, 0.0811774805188179, -0.6111217141151428, 0.14787347614765167, 0.45563629269599915, 0.12785854935646057, 0.7631464600563049, 0.0629793182015419, 0.649686336517334, 0.2041250616312027, 0.2875145673751831, -0.0964309349656105, -0.5435538291931152, -0.48197633028030396, -0.32857298851013184, 0.39534708857536316, 0.6131288409233093, -1.195225715637207, 0.607993483543396, -0.3826781213283539, -0.489748477935791, -0.9486292004585266, 0.3580778241157532, 0.6696060299873352, 0.4129052758216858, 0.3263148069381714, -0.5359187722206116, -0.4203093349933624, -0.9353488683700562, 0.002160679316148162, -0.38783520460128784, -0.12024123966693878, 0.34921011328697205, 0.10808081179857254, 0.14244809746742249, 1.002210021018982, -0.7144277095794678, -0.5450249910354614, -0.5983358025550842, 0.18755552172660828, 0.5747221112251282, 0.3194793462753296, 0.5567834377288818, -0.8686458468437195, -0.8356000781059265, 0.2698020040988922, -0.7466412782669067, -0.34871605038642883, 0.06650625914335251, -0.12338476628065109, 0.3229732811450958, 0.2735525071620941, -0.36177492141723633, 0.37651726603507996, 0.5327644944190979, -0.3765941262245178, 0.36645621061325073, 0.1638377457857132, 0.31084781885147095, -1.114216685295105, -0.17997515201568604, 0.40379706025123596, -0.08673153072595596, -0.5429644584655762, -0.19988563656806946, -0.06253743171691895, -0.22960330545902252, -0.3334253430366516, 0.6552934050559998, -0.30866119265556335, -0.2357177734375, -0.7199518084526062, 0.07233508676290512, 0.1408819556236267, 0.684013843536377, 0.3390224277973175, 0.49292346835136414, 0.1663389354944229, -0.3062635362148285, 0.12924596667289734, -0.00607480900362134, -0.3926243782043457, 0.8742125034332275, -0.5604224801063538, 0.1885986328125, -0.03515506535768509, 0.296888530254364, -1.185402750968933, 0.09771667420864105, 0.453591525554657, -0.18042941391468048, 0.15861999988555908, -0.5840219259262085, -0.18428771197795868, -0.39411771297454834, -0.6247620582580566, 0.237703338265419, 0.25713059306144714, -0.42575711011886597, 0.8198968768119812, 0.557486891746521, -0.5029585361480713, -0.580712616443634, -0.29186251759529114, -0.17237615585327148, -0.030266806483268738, -0.37321504950523376, 0.47896334528923035, 0.36132195591926575, -0.3725343644618988, 0.5422214269638062, -0.34932857751846313, -0.20536275207996368, -0.3613067865371704, 0.48490017652511597, 0.43196842074394226, -0.41041913628578186, -0.3599821627140045, 0.3050191104412079, -0.12564198672771454, 0.025312216952443123, -0.24403409659862518, 0.4345223903656006, -0.46399781107902527, -0.013250050134956837, -0.5311915278434753, 0.3192937672138214, 0.37507012486457825, 0.010514292865991592, 0.7523972988128662, 0.6464989185333252, -0.19077129662036896, -0.000941570324357599, -0.1967838555574417, -0.12619367241859436, -0.4213598370552063, 0.6727117300033569, -0.3752842843532562, -0.34480541944503784, 0.685529887676239, 0.04329190403223038, -0.11458322405815125, 0.30496931076049805, 0.06123824790120125, -0.36584287881851196, 0.8948772549629211, 0.4782068133354187, -0.3967122733592987, 0.42219284176826477, -0.082146055996418, 0.5784376859664917, -0.9060503840446472, -0.04052847996354103, -0.5716820359230042, -0.2699386179447174, -0.6140666007995605, -0.19818955659866333, 0.47416239976882935, 0.36349380016326904, 0.2744952142238617, 0.1503608524799347, -0.33998629450798035, 0.6744441390037537, 0.3446619212627411, 0.011918582953512669, 0.2605549395084381, -0.2438134253025055, 0.14412464201450348, -0.29387542605400085, -0.4165048599243164, -0.6127352118492126, 0.8290491104125977, 0.33624327182769775, 0.5551043152809143, 0.06557689607143402, 0.36158815026283264, 0.27149805426597595, 0.6569921970367432, -0.83787602186203, 0.36948150396347046, -0.520351767539978, -0.15758836269378662, -0.2396038919687271, -0.44936349987983704, -0.3191298544406891, 0.2548987567424774, -0.20584148168563843, -0.2860829830169678, 0.30475664138793945, 0.09031964093446732, -0.11339185386896133, 0.20583845674991608, -0.8822786808013916, 0.8048606514930725, -0.36851537227630615, -0.32878297567367554, 0.06405909359455109, -0.2569478452205658, 0.3167394697666168, -0.05707160755991936, 0.42081794142723083, -0.2703931927680969, 0.13164575397968292, 0.46301165223121643, -0.41291263699531555, 0.9475802779197693, -0.6029950976371765, -0.106136754155159, 0.2578420341014862, -0.1403779685497284, 0.5731810331344604, 0.5234631299972534, 0.016692882403731346, 0.6208798885345459, -0.1334373950958252, -0.09817337244749069, -0.637610912322998, 0.8820642232894897, -0.6850941777229309, -0.30503222346305847, -0.3748474717140198, -0.19836732745170593, -0.42788636684417725, 0.2140025496482849, -0.004372601862996817, -0.041531410068273544, -0.14411473274230957, -0.06289391219615936, 0.4073612689971924, -0.14554592967033386, 0.3192702531814575, 0.7431427836418152, -0.4802777171134949, -0.7365204095840454, 1.0565975904464722, 0.13896425068378448, -0.2580450773239136, 0.28386932611465454, -0.06727032363414764, -0.7158082127571106, -0.37948012351989746, -0.6324306726455688, 0.3760795593261719, -0.5370033383369446, -0.28880542516708374, -0.44512811303138733, -0.28908270597457886, -0.429730623960495, -0.24009540677070618, -0.8541927337646484, -0.31119969487190247, 0.015717532485723495, -0.21888288855552673, 0.17441347241401672, 0.869251549243927, 0.10430837422609329, 0.3730011284351349, -0.5555736422538757, 0.2627904415130615, 0.028519995510578156, 0.4209864139556885, -0.09460461139678955, -0.33437034487724304, -0.31389671564102173, -0.19224633276462555, -0.12377198785543442, -0.8517188429832458, 0.5738705992698669, -0.05541086569428444, 0.19697971642017365, 0.43319132924079895, 0.3259836733341217, 0.3352097272872925, -0.2006516456604004, 0.7551401257514954, 0.12309946864843369, -0.88101726770401, 0.384259432554245, -0.004235139582306147, 0.41751164197921753, 0.7229129672050476, 0.4553650915622711, -0.6447479128837585, -0.47953805327415466, -0.10647618025541306, -1.4675935506820679, 0.7143828868865967, -0.052555207163095474, 0.18373213708400726, 0.1315857470035553, 0.5184897184371948, 0.17951132357120514, 0.34823355078697205, -0.9208426475524902, -0.39350712299346924, -0.6065950393676758, -0.5432282090187073, 0.20960447192192078, -0.45940327644348145, -0.014846271835267544, -0.2901112139225006, 1.0010032653808594, -0.17043162882328033, 0.004850432742387056, 0.06757786870002747, 0.0838264748454094, -0.13271234929561615, 0.38392236828804016, 0.38615792989730835, 0.6277928948402405, -0.24603936076164246, 0.033604055643081665, -0.09919514507055283, -0.5817626118659973, 0.060041382908821106, 0.14464130997657776, -0.3021741509437561, 0.06482774764299393, 0.03060055337846279, 0.7399682998657227, 0.07316940277814865, -0.38697144389152527, 0.42424970865249634, -0.020562399178743362, 0.2571920156478882, -0.4127765893936157, -0.2890940010547638, -0.06511107832193375, 0.13220256567001343, 0.3415139317512512, -0.14503000676631927, 0.07243912667036057, -0.2538278102874756, 0.22016768157482147, 0.2208934724330902, -0.8331277370452881, -0.6118122339248657, 0.29011037945747375, 0.3846999406814575, 0.2017078995704651, 0.727219820022583, -0.4567614793777466, -0.5593515038490295, 0.5177333354949951, 0.20056895911693573, 1.0924299955368042, -0.32541659474372864, 0.7187194228172302, 0.41647276282310486, 0.4741646945476532, 0.13728424906730652, 0.3095306158065796, 0.21874399483203888, -0.7485386729240417, -0.6073254942893982, -0.8626408576965332, -0.3591804504394531, 0.2592938244342804, -0.7902458906173706, 0.07944905012845993, -0.4285666048526764, -0.1327229142189026, -0.04674290865659714, -0.12214192003011703, -0.2837744355201721, 0.11760960519313812, 0.007039624731987715, 0.30988261103630066, -1.1929155588150024, 0.7779221534729004, 1.139340877532959, -0.4551014006137848, -0.4949347674846649, 0.22392508387565613, -0.09345541149377823, -0.36290860176086426, 0.32110658288002014, 0.234487846493721, -0.24552679061889648, -0.5737639665603638, -0.23156215250492096, -0.7598775029182434, 0.548092782497406, -0.12308751791715622, -0.35535773634910583, 0.38542652130126953, 0.21719421446323395, 0.7468676567077637, -0.5958470702171326, -0.04801574721932411, 0.4085715115070343, 0.37215283513069153, -0.017891639843583107, -0.5759617686271667, -0.09815627336502075, -0.322146475315094, 0.13899123668670654, 0.10496695339679718, -0.5484663844108582, 0.3934739828109741, 0.16448605060577393, 0.1283993422985077, -0.21257038414478302, 1.150029182434082, 0.08634583652019501, 0.8020375370979309, 0.530829906463623, 0.4366869330406189, 0.503814160823822, -0.18446362018585205, 0.8371613025665283, -0.42020487785339355, 0.1938723623752594, 1.3061720132827759, -0.658281683921814, 0.898470938205719, 0.5180053114891052, -0.1916346698999405, 0.5276031494140625, 0.6294681429862976, 0.232090562582016, 0.8981148600578308, -0.31114882230758667, -0.11196092516183853, 0.18584562838077545, -0.5621976852416992, -0.12357720732688904, 0.4329652190208435, 0.2618931233882904, -0.4696158766746521, 0.22436405718326569, 0.03530275821685791, 0.1567872017621994, 0.14453743398189545, -0.5554507970809937, 0.976174533367157, 0.1788407415151596, -0.7418724298477173, -0.0028129220008850098, 0.33362704515457153, 0.5427414178848267, -0.36478400230407715, 0.11594540625810623, -0.61069655418396, -0.03167083486914635, -0.3985813856124878, -1.039721965789795, 0.5291265845298767, 0.23109781742095947, -0.5380246043205261, -0.037754323333501816, 0.4481135606765747, -0.6153826117515564, -0.5404276251792908, 0.19954229891300201, 0.3755495846271515, -0.09651068598031998, -0.18533430993556976, -0.7131249904632568, 0.027986038476228714, 0.1904493123292923, -0.06114503741264343, 0.18668712675571442, 0.26385560631752014, -0.24478267133235931, -0.0007684516021981835, 0.4273199439048767, 0.10062512755393982, -0.3038586378097534, 0.2523798942565918, 0.6882057785987854, -0.5798931121826172, -0.9836975932121277, -0.5073878169059753, 0.28115710616111755, -0.22038042545318604, -0.24288301169872284, 0.6488670110702515, 0.7066638469696045, 0.9415109753608704, -0.2614118456840515, 0.6223471760749817, -0.006913571152836084, 0.3807893395423889, -0.8091889023780823, 0.7615272402763367, -0.32897961139678955, 0.6104553937911987, -0.37047407031059265, -1.2380157709121704, -0.025446929037570953, 0.43106749653816223, -0.514729380607605, 0.1085672602057457, 0.720977783203125, 0.8024845123291016, 0.018306715413928032, 0.18596675992012024, 0.15120790898799896, 0.3172276020050049, 0.16859547793865204, 0.0010319274151697755, 0.6914657354354858, -0.22459489107131958, 0.3052956759929657, -0.6898849010467529, -0.2178286612033844, -0.04504089429974556, -0.6435648798942566, -0.5584328174591064, -0.6366984248161316, -0.6078621745109558, -0.4533410966396332, -0.34130969643592834, 0.7658789753913879, 0.5462411046028137, -1.160967230796814, -0.15607021749019623, 0.19306080043315887, 0.4628658592700958, -0.6351079344749451, -0.33544355630874634, 0.6924729943275452, -0.3033433258533478, -0.8591043949127197, 0.4731016755104065, 0.41902783513069153, -0.17062897980213165, -0.2805847227573395, -0.05356455221772194, 0.09601636976003647, 0.05691869556903839, 0.5849971771240234, 0.32495951652526855, -0.6021779179573059, -0.04397733509540558, -0.18253447115421295, -0.09591137617826462, 0.14430458843708038, 0.738838255405426, -0.3212946653366089, 0.46939921379089355, 0.3218097984790802, 0.3808096945285797, 0.2040843665599823, 0.2714948356151581, 0.4504075348377228, -1.2676780223846436, 0.21054798364639282, 0.1074138879776001, 0.2082933485507965, 0.5082698464393616, -0.5220522880554199, 0.6778407692909241, 0.1488000899553299, -0.294656366109848, -0.7176996469497681, 0.11930324137210846, -0.9347065687179565, -0.3653286397457123, 1.1095359325408936, -0.23641477525234222, -0.6534819602966309, -0.42971616983413696, 0.021267453208565712, 0.07088574767112732, -0.6550328731536865, 0.9341102242469788, 0.7382632493972778, -0.3617379367351532, 0.14421263337135315, -0.5021812915802002, 0.7493743896484375, 0.44871026277542114, -0.7961380481719971, -0.011367835104465485, 0.6593645811080933, 0.13974320888519287, 0.19982115924358368, 0.6570391058921814, -0.2657155692577362, 0.1376710832118988, -0.38385501503944397, 0.2388438582420349, 0.09095894545316696, -0.5253560543060303, -0.4787801206111908, 0.2842054069042206, 0.0016247046878561378, -0.25881028175354004 ]
http://arxiv.org/abs/2407.00341v1
http://arxiv.org/pdf/2407.00341v1
Iterative Data Augmentation with Large Language Models for Aspect-based Sentiment Analysis
2024-06-29T07:00:37
2024-06-29T07:00:37
Haiyun Li, Qihuang Zhong, Ke Zhu, Juhua Liu, Bo Du, Dacheng Tao
cs.CL
cs.CL
Aspect-based Sentiment Analysis (ABSA) is an important sentiment analysis task, which aims to determine the sentiment polarity towards an aspect in a sentence. Due to the expensive and limited labeled data, data augmentation (DA) has become the standard for improving the performance of ABSA. However, current DA methods usually have some shortcomings: 1) poor fluency and coherence, 2) lack of diversity of generated data, and 3) reliance on some existing labeled data, hindering its applications in real-world scenarios. In response to these problems, we propose a systematic Iterative Data augmentation framework, namely IterD, to boost the performance of ABSA. The core of IterD is to leverage the powerful ability of large language models (LLMs) to iteratively generate more fluent and diverse synthetic labeled data, starting from an unsupervised sentence corpus. Extensive experiments on 4 widely-used ABSA benchmarks show that IterD brings consistent and significant performance gains among 5 baseline ABSA models. More encouragingly, the synthetic data generated by IterD can achieve comparable or even better performance against the manually annotated data.
[ -0.600340723991394, -0.8327927589416504, 0.5330635905265808, 0.3759768307209015, -0.6329165101051331, 0.2525607645511627, -0.28473448753356934, -0.49812233448028564, 0.4668351411819458, 0.6113353967666626, -0.5533195734024048, -0.8424733281135559, -0.4232243597507477, 0.07743310183286667, -0.5201708078384399, 1.0370591878890991, -0.048994313925504684, -0.009738507680594921, -0.40548551082611084, -0.38675254583358765, -0.42134812474250793, -0.7757846713066101, -0.32412010431289673, -0.2868776321411133, 0.24227693676948547, 0.5702270865440369, 0.6149013638496399, 0.5783286094665527, 0.5310792922973633, 0.30280154943466187, -0.22682148218154907, 0.05607065558433533, -0.13736116886138916, 0.2722477316856384, -0.3148561716079712, -0.3223239779472351, -0.48222726583480835, -0.2526973485946655, 0.6247808933258057, 1.0519779920578003, 0.024396462365984917, -0.019793257117271423, 0.05048525705933571, 1.0085411071777344, -0.3073025941848755, 0.420644074678421, -0.403850257396698, -0.14069269597530365, -0.2980576455593109, 0.13766376674175262, -0.049921683967113495, -0.32447540760040283, 0.10573478043079376, -0.2448464035987854, 0.18989971280097961, -0.01926514506340027, 0.6713786721229553, 0.17617923021316528, -0.19732271134853363, -0.1899610161781311, -0.8837140202522278, 0.6985900402069092, -1.0565515756607056, 0.38068240880966187, 0.07327903807163239, -0.1306864470243454, -0.02600877732038498, -0.4787802994251251, -0.7178773880004883, -0.24970151484012604, 0.1283990740776062, 0.09930285066366196, -0.1725345253944397, 0.21180211007595062, 0.14563140273094177, 1.0138485431671143, -0.24453766644001007, 0.3138791024684906, -0.28749385476112366, 0.1609877198934555, 0.7945296764373779, 0.2099931240081787, 0.06312908232212067, -0.3063085973262787, -0.1519772708415985, -0.34083476662635803, -0.7121713757514954, 0.21618089079856873, 0.4662739932537079, 0.5998013615608215, -0.06178172305226326, 0.9511837959289551, -0.5375807881355286, 0.6563605070114136, 0.09606516361236572, 0.1251685619354248, 0.500988245010376, -0.3892834484577179, 0.08032204210758209, 0.05112423002719879, 0.8323004841804504, 0.310286283493042, -0.06951162964105606, -0.09046783298254013, -0.396716445684433, 0.22137339413166046, 0.2672383487224579, -0.820193350315094, -0.3134201765060425, 0.668747067451477, -0.09858381748199463, -0.21833474934101105, 0.08856361359357834, -0.9134650826454163, -0.3757752776145935, -0.5268831253051758, 0.212988942861557, -0.5324429273605347, -0.29955726861953735, -0.013187265023589134, 0.21807809174060822, -0.022549035027623177, 0.0244312584400177, -0.44043925404548645, 0.027406038716435432, 1.0306875705718994, 0.7962136268615723, -0.4067438542842865, -0.08000294119119644, -0.4286923408508301, -0.3859345018863678, -0.5843821167945862, 1.025194764137268, -0.9046440124511719, -0.5173019766807556, -0.02827017940580845, -0.29237911105155945, 0.21111029386520386, -0.6459628343582153, 0.7602608799934387, -0.4997888505458832, 0.09370626509189606, -0.2646375298500061, -0.7510660886764526, -0.47768089175224304, 0.4074856638908386, -0.8752444386482239, 1.1198785305023193, 0.3062417507171631, -0.7543551325798035, 0.3874616026878357, -0.6240566968917847, -0.7394426465034485, -0.1636163592338562, -0.03794189542531967, -0.8001418709754944, 0.4225279688835144, 0.5343536734580994, 0.36078694462776184, -0.48308512568473816, 0.5245265364646912, -0.4921221137046814, 0.07144324481487274, 0.5439509153366089, -0.2727510929107666, 0.41709795594215393, 0.1114925965666771, -0.03276122733950615, 0.3214108347892761, -0.7741921544075012, -0.13085506856441498, -0.35834985971450806, -0.2625958025455475, -0.44033676385879517, 0.04222403094172478, 0.11759784817695618, 0.09681046009063721, 0.07746859639883041, -0.7879643440246582, 0.3917020559310913, -0.7999763488769531, 0.11202556639909744, 0.7287021279335022, 0.14984363317489624, 0.6010159254074097, -0.23830196261405945, 0.5271440744400024, 0.40003684163093567, -0.008746896870434284, -0.37784749269485474, -0.3403572738170624, -0.8398310542106628, -0.5249423980712891, 0.5237049460411072, 0.28583523631095886, -0.9381019473075867, 0.8768042325973511, -0.4168606102466583, -0.469016969203949, -0.825462281703949, 0.36006495356559753, 0.05973237007856369, 0.39486220479011536, 0.3492897152900696, -0.5716458559036255, -0.5077123045921326, -0.8024833798408508, -0.12030453234910965, -0.2460496872663498, 0.08274960517883301, -0.06296540796756744, 0.33262157440185547, -0.3383588194847107, 1.1745281219482422, -0.34456339478492737, -0.6614118814468384, -0.418142706155777, 0.30673885345458984, 0.34396591782569885, 0.4943386912345886, 0.3204535245895386, -0.5814203023910522, -0.23313100636005402, -0.011301493272185326, -0.5296668410301208, -0.36669400334358215, -0.15882743895053864, 0.17002665996551514, 0.2778633236885071, 0.1537456512451172, -0.3270144760608673, 0.30692416429519653, 0.659591794013977, -0.2334572970867157, 0.2421056628227234, -0.00995629746466875, 0.15453189611434937, -1.3796803951263428, -0.036569539457559586, 0.23619700968265533, -0.20174632966518402, -0.6018915772438049, 0.18404245376586914, -0.03771771863102913, -0.06020491197705269, -0.10702099651098251, 0.5006567239761353, -0.3832435607910156, -0.24854245781898499, -0.5813629031181335, 0.004270203877240419, 0.014223775826394558, 0.2980213463306427, 0.1586257666349411, 0.5962713956832886, 0.7489982843399048, -0.5412775874137878, 0.2593320310115814, 0.04316427558660507, -0.3226253390312195, 0.6998739838600159, -0.5081703066825867, 0.08821135014295578, -0.3067835867404938, 0.21399538218975067, -0.8651220202445984, -0.13056984543800354, 0.0998159870505333, -0.2234729379415512, 0.23222151398658752, 0.09921786189079285, -0.5184294581413269, -0.37117302417755127, -0.5802810788154602, 0.5298492312431335, 0.2687983214855194, -0.687459409236908, 0.9486159682273865, 0.3483538031578064, -0.476170152425766, -0.4055227041244507, -0.37086641788482666, 0.3041333556175232, -0.14024893939495087, -0.5444093346595764, 0.5016083121299744, -0.08037015050649643, -0.48534828424453735, 0.22769798338413239, 0.0013382049510255456, 0.05520375818014145, -0.20588278770446777, 0.33564624190330505, 0.31816181540489197, -0.09847334027290344, 0.019020427018404007, 0.2698277235031128, -0.20544713735580444, -0.11624462157487869, 0.022231517359614372, 0.6572974324226379, -0.15674109756946564, -0.518216609954834, -0.5811862945556641, 0.5453891158103943, 0.40097776055336, -0.2520933151245117, 0.5399423837661743, 0.25889280438423157, -0.2581826150417328, -0.17557676136493683, -0.4897015690803528, -0.2736203670501709, -0.45560434460639954, 0.33897751569747925, -0.3664846122264862, -0.7584200501441956, 0.6362040042877197, 0.027619248256087303, 0.2094486951828003, 0.46363916993141174, 0.36419185996055603, -0.11088697612285614, 1.0299345254898071, 0.8113860487937927, -0.5761795043945312, 0.5855723023414612, -0.36034658551216125, 0.3548911511898041, -0.9269373416900635, -0.09296835213899612, -0.5638391971588135, -0.17178116738796234, -0.5911717414855957, -0.5728462338447571, 0.5229092240333557, 0.15954656898975372, 0.1640060395002365, 0.03238840028643608, -0.3513225018978119, 0.15087032318115234, 0.37710532546043396, 0.06723429262638092, 0.680935800075531, 0.0808684453368187, 0.3615075349807739, -0.13457052409648895, -0.37947338819503784, -0.3012630343437195, 1.1109070777893066, 0.3883349597454071, 0.8354845643043518, -0.04755939543247223, 0.6223892569541931, 0.34266984462738037, 0.5609091520309448, -1.0618782043457031, 0.4488893747329712, -0.4246048629283905, -0.14844518899917603, 0.20845365524291992, -0.27970224618911743, -0.585960865020752, 0.12012013792991638, -0.2246718853712082, -0.661848247051239, 0.302967369556427, 0.1467541605234146, -0.1009136438369751, 0.15268823504447937, -0.2631431221961975, 0.26016685366630554, -0.14222943782806396, -0.3484066426753998, -0.2929806113243103, -0.16361412405967712, 0.3852490186691284, -0.2811340093612671, 0.2706795930862427, 0.027372458949685097, 0.08516249805688858, 0.7562935948371887, -0.7147011160850525, 0.7998166084289551, -0.2176184207201004, -0.3915700614452362, 0.3272702693939209, -0.13784392178058624, 0.7143842577934265, 0.10445096343755722, -0.3198372423648834, 0.36580711603164673, -0.33881574869155884, -0.30493196845054626, -0.4471026062965393, 0.8566074967384338, -0.4924640953540802, -0.6692691445350647, -0.47287172079086304, -0.80940842628479, -0.42793798446655273, -0.09523123502731323, 0.08691293746232986, 0.5363577604293823, -0.055597975850105286, 0.3208564519882202, 0.4211256504058838, -0.20072349905967712, 0.5263671875, 0.48667046427726746, -0.39467644691467285, -0.5467481017112732, 0.9330158233642578, 0.08982055634260178, 0.052547603845596313, 0.26585647463798523, 0.019179662689566612, -0.5439392924308777, -0.7579364776611328, -0.6313432455062866, 0.19436390697956085, -0.6310152411460876, -0.24818268418312073, -0.6620848178863525, -0.08155091106891632, -0.3219260573387146, -0.08597089350223541, -0.8108399510383606, -0.4078916609287262, -0.1758839190006256, -0.2884981632232666, 0.7493682503700256, 0.7199549078941345, -0.05953795090317726, 0.41012629866600037, -0.7567681074142456, 0.4182851016521454, -0.17775830626487732, 0.33089733123779297, -0.3340299427509308, -0.4296664595603943, -0.023737551644444466, 0.11607947945594788, -0.10551440715789795, -0.7592857480049133, 0.5968639254570007, 0.14550241827964783, 0.3602200448513031, 0.4124552607536316, 0.21366961300373077, 0.6976664066314697, -0.05133424699306488, 0.8938069343566895, 0.008548985235393047, -0.8727417588233948, 0.32917654514312744, -0.0987645760178566, 0.2632828950881958, 0.5978914499282837, 0.053694948554039, -0.3765352666378021, -0.5953401923179626, -0.4340711236000061, -1.4417146444320679, 0.5624521374702454, 0.16386468708515167, 0.3508204519748688, 0.2378469705581665, 0.4107857644557953, 0.4341442883014679, 0.30099180340766907, -0.5721790790557861, -0.21034274995326996, -0.20710012316703796, -0.5607820749282837, 0.030059432610869408, -0.1052938848733902, -0.06388688832521439, -0.3187932074069977, 0.8094273805618286, -0.40745431184768677, 0.2029627412557602, 0.11697763949632645, -0.13850848376750946, -0.03770006075501442, 0.402133584022522, 0.06460479646921158, 0.5201730132102966, -0.016802994534373283, -0.06885683536529541, -0.08070921152830124, -0.22648565471172333, 0.025545042008161545, 0.40505605936050415, -0.3225635588169098, -0.08711574226617813, 0.28780776262283325, 0.8842581510543823, -0.2111041098833084, -0.7053303718566895, 0.35764163732528687, 0.20002056658267975, 0.10055260360240936, -0.229188472032547, -0.051583945751190186, -0.06017139181494713, 0.4247135519981384, 0.5745123624801636, -0.086534783244133, 0.23769310116767883, -0.7092359662055969, 0.30317583680152893, 0.5824985504150391, -0.38321706652641296, -0.42116600275039673, 0.37659910321235657, 0.143821120262146, -0.06278503686189651, 0.5169081091880798, -0.20016039907932281, -0.6045325398445129, 0.46557241678237915, 0.3386160433292389, 1.0362930297851562, -0.04386748746037483, 0.39626598358154297, 0.32432302832603455, 0.21342375874519348, -0.17922522127628326, 0.5022836327552795, -0.019574172794818878, -0.6713708639144897, -0.7599577903747559, -0.8122674226760864, -0.5482022762298584, 0.15166126191616058, -0.80439293384552, 0.020984061062335968, -0.38846927881240845, -0.024973023682832718, -0.06304649263620377, -0.07773435115814209, -0.46808236837387085, 0.26251310110092163, -0.10123229026794434, 0.5814346671104431, -0.9597914218902588, 0.7231805920600891, 0.7853111624717712, -0.4254298508167267, -0.5506227016448975, 0.3177366256713867, -0.23586758971214294, -0.2977760136127472, 0.15896648168563843, 0.2940138280391693, 0.0690697431564331, -0.03553871065378189, -0.3140222728252411, -0.6285575032234192, 0.7824892997741699, 0.036142971366643906, -0.7425965666770935, 0.45777931809425354, 0.514714777469635, 0.7814935445785522, -0.5694515109062195, 0.02571914531290531, 0.6956892013549805, 0.4613615572452545, 0.1732771247625351, -0.6190202832221985, 0.04047993943095207, -0.3098425269126892, 0.2599417567253113, 0.012496919371187687, -0.4616341292858124, 0.9047784209251404, -0.2424887716770172, -0.06824180483818054, 0.06620115786790848, 1.0302790403366089, 0.2464105486869812, 0.3716755509376526, 0.5357083082199097, 0.7736534476280212, 0.6409266591072083, -0.25658923387527466, 1.0433967113494873, -0.41632506251335144, 0.3168618679046631, 1.0112649202346802, -0.49322327971458435, 0.9069094657897949, 0.37318331003189087, -0.06850671023130417, 0.6565557718276978, 0.6462957859039307, 0.14077025651931763, 0.4199192523956299, -0.2115766704082489, -0.4357950985431671, -0.12427988648414612, -0.2879464328289032, -0.11784183979034424, 0.41257140040397644, 0.439033180475235, -0.32757583260536194, -0.257055401802063, 0.4337742030620575, 0.04461801052093506, 0.326295405626297, -0.4664478898048401, 1.0380996465682983, -0.04227155074477196, -0.7474798560142517, 0.2508421540260315, 0.2586304843425751, 0.8523353934288025, -0.208647221326828, 0.11122027039527893, -0.5673002600669861, 0.35619643330574036, -0.19432266056537628, -1.1082582473754883, 0.4773354232311249, 0.25777727365493774, -0.1795058250427246, -0.008936179801821709, 0.703716516494751, -0.5513947606086731, -0.8005893230438232, 0.12235082685947418, 0.2930395305156708, -0.20489288866519928, -0.45762404799461365, -0.697541356086731, 0.26059842109680176, 0.11943626403808594, -0.4736615717411041, 0.24707040190696716, 0.1976744681596756, -0.35923051834106445, 0.6865162253379822, 0.6642017960548401, 0.13463959097862244, -0.3084412217140198, 0.18279661238193512, 1.3404983282089233, -0.7916529178619385, -0.5695049166679382, -0.8353009223937988, 0.5888795256614685, -0.19677937030792236, -0.017510898411273956, 0.684749186038971, 0.6494571566581726, 0.6598865389823914, 0.17512600123882294, 0.99916672706604, -0.20177888870239258, 0.5985107421875, -0.6460244655609131, 0.19877958297729492, -0.3386136293411255, 0.6826122403144836, -0.27626311779022217, -1.247276782989502, -0.3048749566078186, 0.4145737588405609, -0.35471850633621216, 0.06166008487343788, 0.5838440656661987, 0.9921296238899231, -0.015003370121121407, 0.3062208890914917, -0.10343554615974426, 0.41712576150894165, 0.6061496734619141, -0.01494171004742384, 0.6651589274406433, -0.324476957321167, 0.1261196732521057, -0.7903810143470764, -0.15350429713726044, -0.09937139600515366, -0.8918964266777039, -0.7238384485244751, -0.7739880084991455, -0.5674188733100891, -0.37572744488716125, -0.2400413304567337, 1.015038251876831, 0.28076425194740295, -0.9096471667289734, 0.011388776823878288, -0.21767984330654144, 0.04538484290242195, -0.32344162464141846, -0.3507660925388336, 0.3431532382965088, -0.25299301743507385, -1.1088964939117432, 0.4735628664493561, 0.3101808428764343, -0.1475953310728073, -0.49879908561706543, 0.1739356368780136, 0.04974878579378128, 0.17116878926753998, 0.7115359902381897, 0.2283869832754135, -0.48381203413009644, -0.2851848900318146, -0.26131531596183777, 0.2313898354768753, 0.27382028102874756, 0.870006799697876, -0.8421223759651184, 0.6675535440444946, 0.6475307941436768, 0.705568253993988, 0.4794439971446991, 0.4804147481918335, 0.6877672076225281, -1.0203229188919067, 0.06942743808031082, 0.2805997133255005, 0.2026888132095337, 0.8314115405082703, -0.26903218030929565, 0.3340132534503937, 0.09207205474376678, -0.2320787012577057, -0.8596057891845703, 0.023373983800411224, -1.139432430267334, -0.3179754912853241, 1.396285891532898, -0.052992116659879684, -0.2590954303741455, -0.1448180079460144, -0.3173756003379822, 0.060207922011613846, -0.6919345855712891, 0.9675730466842651, 0.38878899812698364, -0.2722763419151306, -0.08184144645929337, -0.19492925703525543, 0.3943023383617401, 0.4109817445278168, -1.1649727821350098, 0.3198259174823761, 0.8263853192329407, 0.24320897459983826, 0.1901056468486786, 0.591764509677887, -0.17360679805278778, -0.03453448787331581, -0.25916263461112976, 0.193178191781044, -0.021500468254089355, -0.3365029990673065, -0.43745291233062744, 0.31168586015701294, 0.1553325057029724, -0.07929621636867523 ]
http://arxiv.org/abs/2407.01626v1
http://arxiv.org/pdf/2407.01626v1
SPARKLE: Enhancing SPARQL Generation with Direct KG Integration in Decoding
2024-06-29T06:43:11
2024-06-29T06:43:11
Jaebok Lee, Hyeonjeong Shin
cs.IR
cs.IR, cs.AI, cs.CL
Existing KBQA methods have traditionally relied on multi-stage methodologies, involving tasks such as entity linking, subgraph retrieval and query structure generation. However, multi-stage approaches are dependent on the accuracy of preceding steps, leading to cascading errors and increased inference time. Although a few studies have explored the use of end-to-end models, they often suffer from lower accuracy and generate inoperative query that is not supported by the underlying data. Furthermore, most prior approaches are limited to the static training data, potentially overlooking the evolving nature of knowledge bases over time. To address these challenges, we present a novel end-to-end natural language to SPARQL framework, SPARKLE. Notably SPARKLE leverages the structure of knowledge base directly during the decoding, effectively integrating knowledge into the query generation. Our study reveals that simply referencing knowledge base during inference significantly reduces the occurrence of inexecutable query generations. SPARKLE achieves new state-of-the-art results on SimpleQuestions-Wiki and highest F1 score on LCQuAD 1.0 (among models not using gold entities), while getting slightly lower result on the WebQSP dataset. Finally, we demonstrate SPARKLE's fast inference speed and its ability to adapt when the knowledge base differs between the training and inference stages.
[ -0.3438767194747925, -0.6899404525756836, 0.010417193174362183, 0.48952293395996094, 0.08565031737089157, 0.25798141956329346, 0.1480974555015564, -0.3501420319080353, 0.05593772605061531, 0.720058262348175, -0.6000103950500488, -0.422004371881485, -0.1848200410604477, 0.00962517224252224, -0.3239680230617523, 0.8678368926048279, 0.4330538809299469, -0.008473627269268036, -0.21495386958122253, 0.062296122312545776, -0.5137009620666504, -0.5068657398223877, -0.4079250693321228, -0.3105560541152954, 0.3495570421218872, 0.4944515824317932, 0.7887734174728394, -0.0436871238052845, -0.04561359062790871, 0.12400726228952408, -0.5028413534164429, 0.5187649726867676, -0.7555103302001953, 0.2965144217014313, -0.27658888697624207, -0.5269811153411865, -0.28662410378456116, -0.47093960642814636, 0.40083378553390503, 0.884739339351654, -0.11676976829767227, 0.039734259247779846, 0.28262296319007874, 1.196155071258545, -1.153196096420288, 0.10509198158979416, -0.7951425909996033, 0.27220699191093445, -0.09599702805280685, -0.30548569560050964, -0.7893256545066833, -0.0660725012421608, -0.1458224356174469, -0.7334458231925964, 0.33049479126930237, 0.06959526240825653, 0.7942448258399963, 0.24625709652900696, -0.9500355124473572, -0.444475382566452, -0.6999271512031555, 0.47919654846191406, -0.3273027241230011, 0.8175557851791382, 0.28929027915000916, 0.555649995803833, -0.7474283576011658, -0.9780071973800659, -0.27387943863868713, -0.21172137558460236, -0.046677883714437485, 0.24518714845180511, -0.10653188824653625, -0.03679905831813812, 0.1291213035583496, 0.14399373531341553, -0.41046157479286194, -0.5064078569412231, 0.049059998244047165, -0.15003637969493866, 0.3694552183151245, 0.1751447170972824, 0.035862915217876434, -0.39569953083992004, -0.19953913986682892, 0.18842509388923645, -0.947506308555603, 0.15472151339054108, 0.120148204267025, 0.5757778286933899, 0.386555016040802, 0.4083713889122009, -0.6087965965270996, 0.6225451231002808, 0.44328585267066956, 0.17333953082561493, 0.1962081789970398, -0.32776927947998047, -0.15542736649513245, 0.3318791091442108, 0.6607815623283386, 0.2531503140926361, -0.028003880754113197, -0.6370769739151001, 0.3246455192565918, -0.24730908870697021, 0.08225220441818237, -1.1685422658920288, -0.4876401722431183, 0.21916459500789642, -0.019907021895051003, -0.31141844391822815, -0.15338297188282013, -0.8092713952064514, -0.5091208815574646, 0.18741843104362488, 0.5531842708587646, -0.4358207881450653, -0.38052988052368164, 0.1495700627565384, -0.21758700907230377, 0.24665260314941406, 0.06081491336226463, -0.864732563495636, 0.35597577691078186, 0.6440756320953369, 0.4322367012500763, 0.3554341197013855, 0.05331147089600563, -0.6815707683563232, 0.2732161283493042, -0.7671437859535217, 0.6709122657775879, -0.44100716710090637, -0.42719945311546326, -0.2546290457248688, -0.1594991534948349, -0.03174320608377457, -0.5551623702049255, 0.6650160551071167, -1.2187784910202026, 0.2548166513442993, -0.4321797490119934, -0.4861923158168793, -0.1908138245344162, 0.028072480112314224, -0.510692298412323, 1.3280596733093262, 0.3340766429901123, -0.8121860027313232, 0.8371726274490356, -0.4628138542175293, -0.4958120286464691, 0.3395441174507141, 0.019568482413887978, -0.3204078674316406, 0.12226635962724686, 0.5134240984916687, 0.2150682508945465, -0.2943675220012665, 0.2800459861755371, -0.18231363594532013, -0.3745974898338318, 0.2205657660961151, -0.17279647290706635, 0.6459734439849854, 0.41431382298469543, -0.15363258123397827, -0.30386418104171753, -0.8339769244194031, 0.4230979084968567, -0.15868502855300903, -0.31147029995918274, -0.3091169595718384, 0.10739535093307495, -0.014645345509052277, 0.13084572553634644, 0.12518781423568726, -0.2652793526649475, 0.11497897654771805, -0.6428281664848328, 0.09764773398637772, 0.141527459025383, 0.4384920001029968, 0.7173550128936768, 0.11390204727649689, 0.49213892221450806, 0.09198228269815445, 0.10824545472860336, -0.3371908664703369, -0.6145007610321045, -0.5962921380996704, -0.26769524812698364, 0.6627647876739502, 0.540826141834259, -0.7827742695808411, 0.4691453278064728, -0.39673882722854614, -0.43324699997901917, -0.41547855734825134, 0.14171120524406433, 0.3579622507095337, 0.6676684021949768, 0.45682060718536377, -0.05265619233250618, -0.5231167674064636, -0.5513198971748352, -0.5843001008033752, 0.14148974418640137, 0.09929456561803818, 0.3560894727706909, 0.2131514996290207, -0.1506974995136261, 1.3624540567398071, -0.2819405198097229, -0.1720561683177948, -0.15343822538852692, 0.12697146832942963, 0.5886672735214233, 0.3261718153953552, 0.42722615599632263, -1.1429377794265747, -0.8769902586936951, 0.1987532675266266, -0.6575026512145996, -0.06966213136911392, -0.034341029822826385, -0.6993069052696228, 0.017443904653191566, 0.17966167628765106, -0.4861004948616028, 0.29004600644111633, 0.024074411019682884, -0.9821268320083618, 0.4016931653022766, 0.17478767037391663, 0.6640325784683228, -1.1038249731063843, 0.023762162774801254, -0.2264324426651001, -0.09212290495634079, -0.916232705116272, 0.054112229496240616, 0.46884483098983765, 0.030769797042012215, -0.2626705765724182, 0.4843299388885498, -0.5451270341873169, -0.07446125149726868, -0.08743184804916382, -0.3652573227882385, 0.2598589062690735, 0.299879789352417, -0.102415069937706, 0.6417355537414551, 0.460050106048584, -0.7405397891998291, 0.06535209715366364, 0.4663904309272766, -0.30503150820732117, 0.30700817704200745, -0.16042083501815796, -0.04431731626391411, -0.05421117693185806, 0.1910594254732132, -1.0230727195739746, -0.4635162353515625, 0.12136625498533249, -0.8998825550079346, 0.4616163372993469, -0.8645715117454529, -0.6475955247879028, 0.00432805297896266, -0.13539248704910278, 0.10876169800758362, 0.6770553588867188, -0.7677171230316162, 0.8231269121170044, -0.01461843866854906, 0.12024613469839096, -1.0367653369903564, -0.804347574710846, 0.3943217396736145, -0.24981190264225006, -0.9487249851226807, 0.5994006395339966, 0.19635239243507385, 0.0483475886285305, 0.15687832236289978, -0.24227692186832428, -0.3414689004421234, 0.1680646687746048, 0.05474943667650223, -0.021213017404079437, -0.22380490601062775, -0.024553248658776283, 0.5062029361724854, -0.08547665923833847, -0.117096446454525, -0.04201316088438034, 0.27703672647476196, 0.2500545382499695, -0.39328643679618835, -0.05986674502491951, 0.3317219913005829, 0.6253659129142761, -0.21365374326705933, 1.1375515460968018, 0.5339407920837402, -0.24944132566452026, -0.5306711196899414, -0.5059670209884644, -0.04159940406680107, -0.5085655450820923, 0.4626745283603668, -0.5673831105232239, -0.9092455506324768, 0.4989927113056183, -0.25536230206489563, -0.19873446226119995, 0.2839670479297638, 0.5045996308326721, 0.11549702286720276, 1.2072336673736572, 0.4225757122039795, 0.1184854805469513, 0.27203691005706787, 0.016314830631017685, 0.3222436010837555, -0.7339200377464294, -0.47137749195098877, -0.34219780564308167, 0.15724393725395203, -0.21128009259700775, -0.54007488489151, 0.5286130905151367, 1.1129404306411743, -0.4475679397583008, -0.01525149680674076, -0.4991527795791626, 0.6066913604736328, 0.21025007963180542, 0.10204406827688217, 0.40120187401771545, 0.18556256592273712, -0.19395482540130615, -0.1198805719614029, -1.0344487428665161, 0.0656057670712471, 1.1713778972625732, 0.0706242099404335, 0.7077855467796326, 0.30138009786605835, 0.7453390955924988, 0.23276427388191223, 0.3415858745574951, -0.5937745571136475, 0.3022193908691406, 0.1198306530714035, -0.6028338074684143, 0.06966026872396469, -0.6939314603805542, -0.8319127559661865, 0.5880630016326904, -0.47700101137161255, -0.5328570604324341, 0.2020590454339981, 0.24228452146053314, -0.1111965999007225, -0.07297222316265106, -0.8832539916038513, 0.8453857898712158, -0.017484836280345917, -0.7431735992431641, 0.21639104187488556, -0.4102254807949066, 0.5814425945281982, 0.004965716507285833, 0.4082401394844055, 0.05142247676849365, 0.21858009696006775, 0.49280470609664917, -0.4350621998310089, 0.4634748697280884, -0.43066519498825073, 0.0904407948255539, 0.4796205759048462, 0.3553120195865631, 0.6600214242935181, -0.10561110824346542, -0.08305955678224564, -0.35930362343788147, 0.0026203684974461794, -0.3034858703613281, -0.9048816561698914, 0.4585931897163391, -0.27646297216415405, -0.1320507675409317, -0.1481052190065384, -0.45268404483795166, -0.6987629532814026, -0.04683178290724754, 0.31063973903656006, 0.573405921459198, 0.02073752135038376, 0.3048427402973175, 0.8192758560180664, -0.03455805405974388, 0.025435980409383774, 0.7416561841964722, -0.3605339527130127, -0.5830499529838562, 0.8384628891944885, 0.017486155033111572, 0.07100395858287811, 0.6079843044281006, 0.04663657397031784, -0.6959226131439209, -0.6325313448905945, -0.5404302477836609, 0.020743204280734062, -0.8429020643234253, -0.45341578125953674, -0.6709107756614685, -0.08879606425762177, -0.8082916140556335, -0.23910441994667053, -0.3491772413253784, -0.43167757987976074, -0.1796361654996872, 0.16082996129989624, 0.6014788150787354, 0.44159775972366333, 0.05397076532244682, 0.13510872423648834, -1.1830710172653198, 0.21234574913978577, 0.1413208693265915, 0.10436472296714783, 0.13994108140468597, -0.6381629109382629, -0.5069685578346252, -0.2371075302362442, -0.0915362685918808, -1.2154951095581055, 0.5196998119354248, 0.5221867561340332, 0.7329129576683044, 0.18716566264629364, 0.2900429368019104, 0.9458659291267395, -0.5079793334007263, 0.8445006608963013, 0.22175949811935425, -0.7422471046447754, 0.5113714933395386, -0.2982306182384491, 0.2704440653324127, 0.5313384532928467, 0.4170808494091034, -0.5323506593704224, -0.13543353974819183, -0.37046125531196594, -1.1506214141845703, 0.4369645416736603, 0.31409668922424316, -0.10751567035913467, -0.1412920206785202, 0.4550417959690094, -0.11196868866682053, 0.10498367249965668, -0.537658154964447, -0.24527773261070251, -0.1675211787223816, -0.3740009367465973, 0.3218473494052887, -0.4554404020309448, 0.017057277262210846, -0.09712875634431839, 0.7887032628059387, -0.22841811180114746, 0.17304788529872894, 0.10922250151634216, -0.3927229344844818, -0.012906059622764587, 0.48222535848617554, -0.16836117208003998, 0.4006311595439911, -0.10677698254585266, -0.11551964282989502, 0.444018691778183, -0.4683533310890198, -0.07661081105470657, 0.023517847061157227, 0.014714190736413002, -0.21379230916500092, 0.3215737044811249, 0.3928642272949219, 0.5710219740867615, -0.5912915468215942, 0.42349666357040405, 0.044850144535303116, -0.3137248456478119, -0.022417334839701653, 0.24296213686466217, 0.29274410009384155, 0.5521154999732971, 0.7940769791603088, -0.13299860060214996, 0.46066245436668396, -0.3162747323513031, 0.5655806064605713, 0.5244540572166443, -0.2572546899318695, -0.06420289725065231, 0.7882772088050842, 0.08252047002315521, 0.04942874237895012, 0.5216596126556396, -0.5465532541275024, -0.5504136085510254, 0.3391207158565521, 0.658011257648468, 0.6726135611534119, -0.11767806112766266, 0.031039901077747345, 0.5062258839607239, -0.02206294611096382, 0.01668632961809635, 0.37877485156059265, -0.5269289016723633, -0.7638601064682007, -0.7701500058174133, -0.976105272769928, -0.2731143534183502, -0.33933812379837036, -0.8464621305465698, 0.19027811288833618, 0.0469558984041214, 0.13656650483608246, -0.40454262495040894, 0.048481155186891556, -0.17721974849700928, 0.13691183924674988, 0.11570779979228973, 1.2425100803375244, -0.8445762395858765, 0.5957456231117249, 0.37309813499450684, -0.2283300906419754, -0.8270689249038696, -0.3544095456600189, -0.059085339307785034, -0.43975937366485596, 0.9075979590415955, 0.007861030288040638, -0.15383704006671906, 0.10935299098491669, -0.43047115206718445, -0.9824743866920471, 1.306949257850647, 0.2976430356502533, -0.1724841147661209, -0.2530909478664398, 0.20542582869529724, 0.3609960675239563, -0.20842139422893524, 0.3742711842060089, 0.689021646976471, 0.18623921275138855, 0.8217058777809143, -0.7515690922737122, -0.06739478558301926, -0.2989921569824219, -0.15848423540592194, 0.4877279996871948, -0.21753856539726257, 0.5442225933074951, -0.00481010228395462, -0.3488982319831848, 0.0374402180314064, 0.9036869406700134, 0.47178924083709717, 0.3424738049507141, 0.2162720113992691, 0.8558842539787292, 0.7406770586967468, -0.06891442090272903, 0.7030192017555237, -0.44547584652900696, 0.5315580368041992, 1.0503908395767212, -0.13429881632328033, 0.7675052285194397, 0.06653089076280594, -0.38266071677207947, 0.3680095374584198, 0.48896524310112, 0.15904095768928528, 0.9783986210823059, -0.08243675529956818, -0.6452074646949768, -0.3991474509239197, 0.1245327889919281, -0.511282205581665, 0.05952851101756096, 0.7899486422538757, -0.14093872904777527, -0.6425977945327759, -0.07598552107810974, 0.09126554429531097, -0.051370568573474884, -0.5365480780601501, 0.6514394879341125, -0.21831536293029785, -0.6422120928764343, 0.6780127286911011, -0.20683825016021729, 0.7023130059242249, -0.7528699636459351, -0.26728910207748413, -0.19090750813484192, 0.10403813421726227, -0.5766875147819519, -0.6237241625785828, 0.16476765275001526, 0.04871506616473198, -0.14774689078330994, 0.1052725687623024, 1.0063673257827759, -0.4581937789916992, -0.3641152083873749, 0.14442318677902222, 0.3788219690322876, 0.11633432656526566, -0.31326764822006226, -0.7842012643814087, -0.26698318123817444, 0.124008409678936, -0.4243220388889313, 0.5260582566261292, 0.7105094194412231, 0.22145403921604156, 0.6257151961326599, 0.6581892371177673, -0.24668528139591217, 0.4900500774383545, 0.10616693645715714, 0.8888635039329529, -0.6985862851142883, -0.6362667083740234, -0.5490362644195557, 0.764944314956665, 0.05143154785037041, -0.02190868742763996, 0.923745334148407, 0.7765641212463379, 0.2922629117965698, 0.20303194224834442, 0.6006171107292175, -0.12114930897951126, 0.6232242584228516, -0.6678112149238586, 0.8834788799285889, -0.46430501341819763, 0.18857555091381073, -0.1718733310699463, -0.7201107144355774, -0.301289826631546, 0.34807634353637695, 0.04771530255675316, 0.09246085584163666, 0.3975698947906494, 1.195618987083435, 0.11706464737653732, 0.0979187935590744, 0.31619760394096375, 0.09492034465074539, 0.3948668837547302, 0.5696476101875305, 0.9083174467086792, -0.5431404709815979, 0.6436915993690491, -0.10545694082975388, -0.23807349801063538, -0.3171512484550476, -0.7733376026153564, -0.7405681610107422, -0.4539436995983124, -0.19953502714633942, -0.7406833171844482, 0.07605002075433731, 0.6293138265609741, 0.6974923610687256, -0.6494642496109009, 0.10551605373620987, -0.3492503762245178, -0.07239276170730591, -0.13406500220298767, -0.3434118330478668, 0.3185134828090668, -0.7291215658187866, -0.39567744731903076, 0.769408106803894, 0.05985352396965027, -0.27126675844192505, 0.04699091240763664, -0.06377628445625305, -0.005961345508694649, -0.024768536910414696, 0.7183108329772949, 0.3837450444698334, -0.38075071573257446, 0.08876930922269821, -0.015650276094675064, 0.1590762436389923, 0.0884338915348053, 0.4812681972980499, -1.2551733255386353, 0.4890463352203369, 0.32602593302726746, 0.6619637608528137, 0.8707419037818909, 0.06317764520645142, 0.3333674371242523, -0.7968134880065918, -0.1496555358171463, 0.3594729006290436, 0.04651921987533569, 0.1663082093000412, -0.6522451043128967, 0.4273359179496765, 0.12982863187789917, -0.5695594549179077, -0.9002683162689209, 0.266792893409729, -0.907407283782959, -0.3591965436935425, 1.0520833730697632, 0.23192892968654633, -0.31889864802360535, -0.3253123164176941, 0.082085020840168, 0.08114737272262573, -0.3611685633659363, 0.2445523738861084, 0.48845842480659485, -0.6298440098762512, -0.18836349248886108, -0.5158735513687134, 0.6954678297042847, 0.3457041084766388, -0.6057205200195312, 0.15758001804351807, 0.6000016927719116, 0.49675726890563965, 0.06649196147918701, 0.6759757399559021, -0.2849733531475067, 0.48850828409194946, 0.46692347526550293, 0.010267924517393112, -0.21436327695846558, -0.305543452501297, -0.15075650811195374, 0.5853654742240906, 0.11094506829977036, 0.07904939353466034 ]
http://arxiv.org/abs/2407.00322v1
http://arxiv.org/pdf/2407.00322v1
LLM-Generated Natural Language Meets Scaling Laws: New Explorations and Data Augmentation Methods
2024-06-29T05:40:17
2024-06-29T05:40:17
Zhenhua Wang, Guang Xu, Ming Ren
cs.CL
cs.CL
With the ascent of large language models (LLM), natural language processing has witnessed enhancements, such as LLM-based data augmentation. Nonetheless, prior research harbors two primary concerns: firstly, a lack of contemplation regarding whether the natural language generated by LLM (LLMNL) truly aligns with human natural language (HNL), a critical foundational question; secondly, an oversight that augmented data is randomly generated by LLM, implying that not all data may possess equal training value, that could impede the performance of classifiers. To address these challenges, we introduce the scaling laws to intrinsically calculate LLMNL and HNL. Through extensive experiments, we reveal slight deviations (approximately 0.2 Mandelbrot exponent) from Mandelbrot's law in LLMNL, underscore a complexity advantage in HNL, and supplement an interpretive discussion on language style. This establishes a solid foundation for LLM's expansion. Further, we introduce a novel data augmentation method for few-shot text classification, termed ZGPTDA, which leverages fuzzy computing mechanisms driven by the conformity to scaling laws to make decisions about GPT-4 augmented data. Extensive experiments, conducted in real-world scenarios, confirms the effectiveness (improving F1 of Bert and RoBerta by 7-10%) and competitiveness (surpassing recent AugGPT and GENCO methods by about 2% accuracy on DeBerta) of ZGPTDA. In addition, we reveal some interesting insights, e.g., Hilberg's law and Taylor's law can impart more benefits to text classification, etc.
[ -0.34016546607017517, -0.8422508835792542, 0.6899892091751099, 0.005807777401059866, -0.20785965025424957, -0.13708768784999847, -0.5574914216995239, -0.6564428806304932, -0.013430611230432987, 0.5117372870445251, -0.47457972168922424, -0.2535293698310852, -0.6526942253112793, 0.20002874732017517, -0.2547251582145691, 1.15058171749115, 0.1769576370716095, -0.10622579604387283, -0.07965053617954254, -0.09596804529428482, -0.07237516343593597, -0.7276567816734314, -0.3037688732147217, -0.43075528740882874, 0.40837129950523376, 0.3606574833393097, 0.9622265696525574, 0.9171069264411926, 0.7692350745201111, 0.28284937143325806, -0.32213085889816284, 0.1831195205450058, -0.4584154188632965, -0.11739439517259598, 0.20189906656742096, -0.4536670744419098, -0.36826005578041077, -0.09993386268615723, 0.8550998568534851, 0.5753462910652161, -0.16473248600959778, -0.1522843986749649, 0.13876603543758392, 0.7838913798332214, -0.3947923183441162, 0.09022636711597443, -0.5103965997695923, 0.005213011056184769, -0.3610527217388153, -0.018682096153497696, -0.12915639579296112, -0.41129928827285767, 0.1501828283071518, -0.42111700773239136, 0.41824638843536377, 0.14824429154396057, 0.8164515495300293, 0.25796079635620117, -0.4360516369342804, -0.4969860315322876, -0.5480968356132507, 0.7064831256866455, -1.0359731912612915, 0.2438010424375534, 0.01882058195769787, 0.21185427904129028, -0.19257913529872894, -0.725170910358429, -0.900759756565094, -0.32487982511520386, -0.05976095423102379, -0.24820350110530853, -0.18100351095199585, 0.28295961022377014, 0.40961143374443054, 0.6493646502494812, -0.37817516922950745, 0.4368168115615845, -0.3133644163608551, -0.10617360472679138, 0.8552508354187012, 0.25356626510620117, 0.47316136956214905, -0.3004949390888214, -0.25022897124290466, -0.040218111127614975, -0.6461495757102966, -0.26472824811935425, 0.4818958342075348, 0.6427879929542542, 0.07486733049154282, 0.7271116375923157, -0.28252485394477844, 0.736162006855011, 0.1075311005115509, -0.16394571959972382, 0.4091663062572479, -0.5788311958312988, -0.14156469702720642, 0.3629969358444214, 0.9368131160736084, 0.3554987609386444, 0.4214392304420471, -0.08015940338373184, -0.19928739964962006, -0.3376196026802063, 0.3377916216850281, -0.8900507092475891, -0.02388111874461174, -0.1290586292743683, -0.24193578958511353, -0.5035443305969238, 0.004079291131347418, -0.5566586256027222, -0.6429427266120911, -0.4201427698135376, 0.6553633213043213, -0.20812474191188812, -0.27709558606147766, 0.16646815836429596, 0.030810192227363586, 0.25944074988365173, 0.32564467191696167, -1.292852520942688, 0.26075777411460876, 0.9753518104553223, 0.8138847351074219, -0.060602884739637375, -0.19987136125564575, -0.26548653841018677, -0.2154761105775833, -0.43257173895835876, 0.6386030912399292, -0.3480672240257263, -0.0822279080748558, 0.013369329273700714, -0.2974609434604645, 0.22759230434894562, -0.5299111008644104, 0.725671648979187, -0.5425278544425964, 0.0652330219745636, -0.2239082008600235, -0.7384548187255859, -0.022947432473301888, 0.2995961308479309, -0.6625766754150391, 1.0912144184112549, 0.10792633146047592, -0.7679856419563293, 0.6396918892860413, -0.609241783618927, -0.45334991812705994, 0.15102224051952362, -0.17201976478099823, -0.556835412979126, 0.1522592157125473, 0.07994794845581055, 0.47456133365631104, -0.5003015398979187, 0.2579815089702606, -0.15747278928756714, -0.1780274212360382, 0.05668597295880318, -0.622099757194519, 0.6236805319786072, 0.11602812260389328, -0.14566625654697418, 0.03166406229138374, -0.7727054953575134, 0.11622507125139236, -0.02891937643289566, -0.6238530278205872, -0.1699361950159073, -0.026047909632325172, 0.09401783347129822, -0.003819554578512907, 0.3104221820831299, -0.6611832976341248, 0.3150729537010193, -0.6423519849777222, 0.513383686542511, 0.6947749853134155, 0.17668412625789642, 0.7484865188598633, -0.13358120620250702, 0.20757408440113068, -0.18611373007297516, -0.050502676516771317, -0.05133342370390892, -0.5245043039321899, -0.5327470302581787, -0.10761561989784241, 0.2532255947589874, 0.34880608320236206, -0.5030162334442139, 0.5158938765525818, -0.4974971413612366, -0.5225609540939331, -0.38215208053588867, 0.41880518198013306, 0.031908221542835236, 0.46572327613830566, 0.317293256521225, -0.03166123852133751, -0.5554993748664856, -0.8650068044662476, -0.36404526233673096, -0.22654782235622406, -0.294502854347229, 0.2607099115848541, 0.15751245617866516, -0.3463965654373169, 1.0734117031097412, -0.5278883576393127, -0.22429437935352325, -0.46690070629119873, 0.3089701533317566, 0.40927818417549133, 0.43847405910491943, 0.5946240425109863, -0.6568908095359802, -0.4933905601501465, 0.24351324141025543, -0.6130988001823425, -0.3218909502029419, -0.23757675290107727, 0.08965880423784256, 0.16313396394252777, 0.3092467188835144, -0.5172755122184753, 0.2620834708213806, 0.160558819770813, -0.09510448575019836, 0.398366779088974, -0.4145869016647339, -0.03671097010374069, -0.9712979197502136, -0.48674216866493225, 0.2636847496032715, -0.2253231704235077, -1.0563369989395142, 0.07392672449350357, 0.21532031893730164, 0.2474583387374878, -0.24513889849185944, 0.27481240034103394, -0.27637624740600586, 0.038403235375881195, -0.6026442646980286, 0.061878759413957596, -0.23899206519126892, 0.2621553838253021, 0.03331960737705231, 0.8617166876792908, 0.43249014019966125, -0.6466107368469238, 0.5555935502052307, 0.007295065093785524, -0.3163735568523407, 0.44790390133857727, -0.48469480872154236, 0.04723783954977989, -0.1847018301486969, 0.01587207429111004, -0.7803086638450623, -0.2796574532985687, -0.013276400975883007, -0.4165666103363037, 0.2760806381702423, -0.07991155236959457, -0.994988203048706, -0.26817652583122253, -0.3886054754257202, 0.26826661825180054, 0.7147762179374695, -0.7890732288360596, 0.5163964629173279, 0.2260155826807022, -0.05155891925096512, -0.3640361726284027, -0.7007522583007812, 0.33274486660957336, -0.24717064201831818, -0.6892299056053162, 0.21621300280094147, -0.14077246189117432, -0.5057429671287537, -0.17780636250972748, -0.003272406756877899, -0.22827844321727753, 0.029354512691497803, -0.05148172378540039, 0.26613369584083557, -0.4542539119720459, 0.2298014611005783, -0.07703747600317001, 0.14162589609622955, 0.21888349950313568, -0.3908790051937103, 0.5328545570373535, -0.28961578011512756, -0.09666459262371063, -0.30485019087791443, -0.1451784074306488, 0.2594734728336334, 0.26306670904159546, 0.6095069646835327, 0.7464335560798645, -0.35945644974708557, 0.03681952506303787, -0.5740634202957153, -0.09185385704040527, -0.5304849147796631, 0.20438767969608307, -0.12948860228061676, -0.9348159432411194, 0.2229980230331421, 0.19975878298282623, 0.06080622225999832, 0.6944125890731812, 0.7418646216392517, -0.0003696389321703464, 0.7782208919525146, 0.8236389756202698, -0.21912507712841034, 0.6384546756744385, 0.13357329368591309, 0.22286027669906616, -0.800294041633606, 0.11233223974704742, -0.45228782296180725, -0.3083530068397522, -1.072562575340271, -0.3216475248336792, 0.34252387285232544, 0.02008242718875408, -0.17738467454910278, 0.46396300196647644, -0.33963820338249207, 0.7946885824203491, 0.5138679146766663, 0.10519928485155106, 0.426052063703537, -0.006524735130369663, 0.15293455123901367, -0.1851978451013565, -0.6424998641014099, -0.33560189604759216, 1.2968188524246216, 0.3044438064098358, 0.8508095145225525, 0.16785688698291779, 0.9261646270751953, 0.4423728585243225, 0.5063228011131287, -1.0061055421829224, 0.3960117697715759, -0.03505104407668114, -0.5641855597496033, -0.4662557542324066, -0.7882333397865295, -0.6464104652404785, 0.3395526707172394, -0.36009809374809265, -0.5743240714073181, 0.10246896743774414, -0.01156054437160492, -0.29671287536621094, 0.4934127628803253, -0.7492541074752808, 0.3476193845272064, -0.30262336134910583, -0.5497148633003235, -0.11255176365375519, -0.6888103485107422, 0.30102577805519104, -0.2943132519721985, 0.15993502736091614, -0.04805009812116623, -0.1832798719406128, 0.6649875044822693, -0.7077112197875977, 0.7640513777732849, -0.0007085721590556204, -0.5529967546463013, 0.5084363222122192, -0.2786833345890045, 0.5384393334388733, 0.005418043117970228, -0.0011018308578059077, 0.17121835052967072, -0.25919538736343384, -0.38248616456985474, -0.683529794216156, 0.6019368767738342, -0.5420740246772766, -0.6406244039535522, -0.4177238643169403, -0.6346920728683472, -0.07904865592718124, 0.4121314585208893, 0.3102193772792816, 0.20248767733573914, 0.03792783245444298, 0.23573893308639526, 0.7820496559143066, -0.04095173627138138, 0.5310297608375549, 0.4920780062675476, -0.1529701054096222, -0.4177701771259308, 0.9793063402175903, 0.30436816811561584, 0.4463363289833069, 0.40125522017478943, 0.5122172832489014, -0.26846542954444885, -0.6973393559455872, -0.5385621786117554, 0.20582644641399384, -0.5917213559150696, -0.22293080389499664, -0.5014011263847351, -0.43921470642089844, -0.3931041955947876, -0.15916331112384796, -0.0828830897808075, -0.5281728506088257, -0.3349763751029968, -0.20251445472240448, 0.6008702516555786, 0.8310142159461975, -0.2676257789134979, 0.38715845346450806, -0.7394610643386841, 0.18927504122257233, 0.33271363377571106, 0.3275517225265503, -0.13600946962833405, -0.5950064063072205, -0.18845944106578827, 0.03727462515234947, -0.05036402493715286, -0.5205655097961426, 0.3227126896381378, 0.22504790127277374, 0.3117312490940094, 0.5039688348770142, -0.021251030266284943, 0.5320115089416504, -0.716789186000824, 0.637360692024231, 0.30084434151649475, -0.7999910712242126, 0.25954103469848633, -0.39140599966049194, 0.17747153341770172, 0.47960135340690613, 0.03789106011390686, -0.6191956400871277, -0.2823863625526428, -0.6765284538269043, -0.6705442070960999, 0.6187978386878967, 0.3096925914287567, 0.6150369048118591, 0.1364121288061142, 0.6761876940727234, -0.0715574398636818, 0.23423488438129425, -0.7295905351638794, 0.0009138198802247643, 0.03840494528412819, -0.5286452770233154, -0.013941050507128239, -0.28284138441085815, 0.20144511759281158, -0.24987465143203735, 0.2663608193397522, -0.19178257882595062, 0.07480795681476593, 0.13796183466911316, -0.09526100754737854, -0.07724328339099884, 0.38522419333457947, 0.7509255409240723, 0.34464365243911743, -0.18969814479351044, 0.14658725261688232, 0.21673433482646942, -0.7819981575012207, 0.10759568214416504, 0.028594959527254105, -0.14440441131591797, -0.16581515967845917, 0.5504715442657471, 0.6102514863014221, 0.034634072333574295, -0.6838093996047974, 0.3851708471775055, 0.06720110774040222, -0.39736464619636536, 0.022000571712851524, 0.2787158787250519, -0.14510735869407654, 0.21576663851737976, 0.4968281090259552, -0.02324581891298294, 0.19861233234405518, -0.44242700934410095, 0.27174022793769836, 0.41739121079444885, -0.18518345057964325, -0.27191391587257385, 0.5414230823516846, 0.11163152754306793, -0.32063400745391846, 0.49116379022598267, -0.2694684863090515, -0.6177570223808289, 0.6222991347312927, 0.5161625146865845, 0.7446060180664062, 0.04918624833226204, -0.033095329999923706, 0.42156970500946045, 0.6564462780952454, -0.2954203486442566, 0.05037239193916321, -0.2656375765800476, -0.9189324378967285, -0.35484305024147034, -0.5527048707008362, -0.48525387048721313, -0.18099795281887054, -0.4547663927078247, 0.22466783225536346, -0.629875898361206, -0.019687699154019356, 0.018186476081609726, 0.29777809977531433, -0.362141489982605, 0.08262920379638672, 0.3049793541431427, 0.7774698138237, -0.6629544496536255, 0.7201250195503235, 0.3642962872982025, -0.4171135127544403, -0.4722156226634979, 0.33506327867507935, 0.18258880078792572, -0.8606806397438049, 0.519419252872467, 0.10591486841440201, -0.013034874573349953, 0.19548210501670837, -0.7060926556587219, -0.7209275364875793, 0.9805224537849426, 0.11365662515163422, -0.6236441135406494, 0.025085028260946274, 0.3864646553993225, 0.9187480807304382, -0.22499291598796844, -0.08289705961942673, 0.8179377317428589, 0.5217570066452026, 0.14598403871059418, -0.9529749155044556, -0.06964796036481857, -0.03486298397183418, -0.07755822688341141, 0.5153998136520386, -0.47439754009246826, 0.8264367580413818, -0.512520968914032, -0.20507891476154327, -0.16257673501968384, 0.7642241716384888, -0.09083005040884018, 0.22884531319141388, 0.364346444606781, 0.681303858757019, 0.8935980200767517, -0.16138765215873718, 1.0794340372085571, 0.018437128514051437, 0.42061835527420044, 0.9234395027160645, -0.40337616205215454, 0.7786464095115662, 0.31003838777542114, -0.43701356649398804, 0.36879029870033264, 0.5875455141067505, -0.1561625748872757, 0.14177338778972626, 0.21414169669151306, -0.4945596754550934, -0.006672739051282406, -0.038029029965400696, -0.18140895664691925, 0.18059660494327545, 0.2928333878517151, -0.3072485625743866, -0.36396610736846924, -0.02301824651658535, 0.2402745485305786, 0.12536349892616272, -0.40984880924224854, 1.0963164567947388, -0.11404618620872498, -0.11528383195400238, 0.43184894323349, 0.10175925493240356, 0.9977279901504517, -0.3582742214202881, 0.16617998480796814, -0.1482256054878235, 0.06139220669865608, -0.3135116994380951, -1.0162838697433472, 0.21401254832744598, 0.36346644163131714, -0.1715853065252304, -0.15766949951648712, 0.7495085597038269, -0.4161496162414551, -0.6694942712783813, -0.2510085105895996, 0.24840477108955383, 0.042730484157800674, -0.005520360544323921, -0.34717363119125366, -0.14113369584083557, -0.12222054600715637, -0.040184538811445236, 0.39405813813209534, 0.5806198120117188, 0.041735101491212845, 0.6532901525497437, 0.6215581297874451, 0.23110522329807281, 0.25835123658180237, 0.10553697496652603, 0.8893755078315735, -0.6185019016265869, -0.4521438479423523, -1.1108241081237793, -0.11617617309093475, -0.1542668491601944, -0.07764151692390442, 0.742395281791687, 0.6046269536018372, 0.5973439812660217, 0.2910049557685852, 0.7778052091598511, -0.14035634696483612, 0.23278340697288513, -0.7406728267669678, 0.6826683282852173, -0.3883837163448334, 0.3266236484050751, -0.13004589080810547, -0.8244867920875549, -0.5377630591392517, 0.3733275532722473, -0.4469379484653473, 0.043881606310606, 0.4567068815231323, 0.6236662268638611, 0.03609348461031914, 0.082989901304245, 0.19924132525920868, 0.054225336760282516, 0.45818498730659485, 0.3903312683105469, 0.5943272709846497, -0.32729628682136536, 0.5657282471656799, -0.14737360179424286, -0.15130367875099182, -0.22219517827033997, -0.7817752361297607, -0.6995546817779541, -0.346705824136734, -0.2648261487483978, -0.1297457367181778, -0.3238801956176758, 1.2104710340499878, 0.46831566095352173, -0.49401044845581055, -0.17110304534435272, -0.4223788380622864, 0.23525431752204895, -0.040422774851322174, -0.2674630880355835, 0.13037139177322388, -0.6579180359840393, -0.7183676362037659, 0.1637222319841385, 0.26876744627952576, 0.369311660528183, -0.28471559286117554, -0.1737506240606308, -0.09032011777162552, 0.22967663407325745, 0.6739938855171204, 0.19289977848529816, -0.5818347930908203, -0.22547553479671478, -0.2729690372943878, -0.2557867467403412, 0.4590892195701599, 0.944961428642273, -0.6112478971481323, 0.396271675825119, 0.7082180976867676, 0.8196223974227905, 0.2256079614162445, 0.1376834660768509, 0.49000757932662964, -0.8791238069534302, -0.10436807572841644, 0.17132535576820374, 0.061966776847839355, 0.2985689640045166, -0.5504990816116333, 0.5110800266265869, 0.1633407175540924, -0.5242064595222473, -0.9516571760177612, 0.1737150251865387, -0.6797803640365601, 0.029949219897389412, 1.1621081829071045, 0.32982298731803894, -0.2488356977701187, 0.22904963791370392, -0.27343276143074036, -0.04756375774741173, -0.32458269596099854, 0.6469835042953491, 0.8503339290618896, -0.39515137672424316, -0.29420873522758484, -0.6384711861610413, 0.599170982837677, 0.16637665033340454, -0.9595240950584412, 0.25276753306388855, 0.5863422751426697, 0.21698428690433502, 0.19270780682563782, 0.3901907205581665, -0.06514127552509308, 0.045428190380334854, -0.15665733814239502, -0.08216571062803268, 0.10716883093118668, -0.01627630926668644, -0.5859381556510925, -0.00772405369207263, 0.1851370632648468, 0.15784543752670288 ]
http://arxiv.org/abs/2407.00320v1
http://arxiv.org/pdf/2407.00320v1
LiteSearch: Efficacious Tree Search for LLM
2024-06-29T05:14:04
2024-06-29T05:14:04
Ante Wang, Linfeng Song, Ye Tian, Baolin Peng, Dian Yu, Haitao Mi, Jinsong Su, Dong Yu
cs.CL
cs.CL, cs.AI, cs.LG
Recent research suggests that tree search algorithms (e.g. Monte Carlo Tree Search) can dramatically boost LLM performance on complex mathematical reasoning tasks. However, they often require more than 10 times the computational resources of greedy decoding due to wasteful search strategies, making them difficult to be deployed in practical applications. This study introduces a novel guided tree search algorithm with dynamic node selection and node-level exploration budget (maximum number of children) calculation to tackle this issue. By considering the search progress towards the final answer (history) and the guidance from a value network (future) trained without any step-wise annotations, our algorithm iteratively selects the most promising tree node before expanding it within the boundaries of the allocated computational budget. Experiments conducted on the GSM8K and TabMWP datasets demonstrate that our approach not only offers competitive performance but also enjoys significantly lower computational costs compared to baseline methods.
[ -0.18871597945690155, -0.6918366551399231, 0.5935987830162048, 0.09453904628753662, -0.4557610750198364, 0.6319176554679871, 0.1568792313337326, -0.4747287333011627, 0.02080490067601204, 0.2599075436592102, -0.8986734747886658, -0.42276740074157715, -0.43948641419410706, -0.009930303320288658, -0.20422349870204926, 0.32056328654289246, -0.010338283143937588, -0.10647241026163101, 0.06630656123161316, 0.016483096405863762, -0.19217704236507416, -0.06572447717189789, -1.0134007930755615, -0.2550530433654785, 0.7397028207778931, 0.45092177391052246, 0.567020058631897, 0.7844880223274231, 0.4695699214935303, 0.2303433120250702, -0.6451443433761597, 0.4694788455963135, -0.6766386032104492, 0.45612725615501404, 0.00467677041888237, -0.3825615346431732, -0.3891582787036896, -0.440298467874527, 0.5371547341346741, 0.4693959057331085, -0.3094402551651001, 0.2272886335849762, -0.22308920323848724, 0.8536099195480347, -0.5417037010192871, 0.37751808762550354, -1.0071903467178345, 0.4309934377670288, -0.2385735958814621, -0.9048789143562317, -0.5228098034858704, -0.4548695683479309, 0.16298674046993256, -0.6065264344215393, -0.020604362711310387, 0.07412172853946686, 0.5368288159370422, 0.29931533336639404, -0.44044172763824463, -0.41493165493011475, -0.563410222530365, 0.8106479644775391, -0.3650053143501282, 0.1525176763534546, 0.19885896146297455, 0.5398772358894348, -0.23395727574825287, -0.4424425959587097, 0.10577951371669769, -0.06724031269550323, 0.23069451749324799, 0.1461145430803299, -0.06390238553285599, 0.3794649839401245, 0.45607757568359375, 0.13292551040649414, -0.3765822947025299, -0.14340931177139282, 0.13776490092277527, -0.1852298080921173, 0.6159908175468445, 0.23500780761241913, 0.1656917929649353, -0.021772272884845734, 0.09452328085899353, -0.2600208520889282, -0.6519365310668945, 0.3409804403781891, 0.22169578075408936, 0.19080539047718048, 0.3146624267101288, 0.4495755136013031, -0.3169213831424713, 0.7523948550224304, -0.22581128776073456, -0.6152722835540771, -0.04417332634329796, -0.4442392587661743, -0.08707819879055023, 0.44493600726127625, 0.1507837176322937, 0.11846860498189926, 0.40536925196647644, 0.10827121883630753, -0.3170277178287506, -0.15623384714126587, -0.11868076771497726, -1.0445489883422852, -0.18203221261501312, -0.0763256773352623, -0.29125985503196716, -0.5445271730422974, -0.34018492698669434, -0.7332071661949158, -0.22665920853614807, 0.16852158308029175, -0.026586921885609627, -0.236111119389534, -0.251155823469162, 0.033207304775714874, 0.12044155597686768, 0.06696343421936035, 0.6546271443367004, -0.6579474806785583, 0.09070242196321487, 0.3223816156387329, 0.8553135991096497, 0.09931062161922455, 0.23141926527023315, -0.7767144441604614, 0.025332011282444, -0.5414534211158752, 0.5853383541107178, -0.6928476095199585, -0.515739917755127, -0.3056812584400177, -0.2885757386684418, -0.10307782143354416, -0.46200433373451233, 0.7812556624412537, -0.9068016409873962, -0.20820491015911102, -0.09968117624521255, -0.2123996466398239, -0.4650075137615204, 0.16095547378063202, -0.8670216798782349, 0.9350332021713257, 0.2313452959060669, -0.7168081998825073, 0.5107222199440002, -0.5696834325790405, -0.3233996033668518, 0.3064427971839905, -0.2474987804889679, -0.5183091759681702, 0.13449513912200928, 0.4897835850715637, 0.3093327581882477, -0.2989317774772644, 0.5649363994598389, -0.20749206840991974, -0.5046483874320984, 0.0041030156426131725, -0.6923559308052063, 0.9420198202133179, 0.313511461019516, -0.5045056343078613, -0.001916624722070992, -0.6575046181678772, 0.35771188139915466, 0.4803081154823303, -0.24161545932292938, -0.2691197991371155, 0.3081492781639099, -0.34940004348754883, 0.0397845059633255, 0.11780388653278351, -0.3123312294483185, 0.33784013986587524, -0.4554678201675415, 0.4042697250843048, 0.673431932926178, -0.13431107997894287, 0.19354850053787231, -0.10766199976205826, 0.608389675617218, -0.34143930673599243, 0.11412529647350311, -0.45572057366371155, -0.38641300797462463, -0.3350016474723816, -0.0973527580499649, 0.3178005814552307, 0.45199334621429443, -0.7589408159255981, 0.1797872632741928, -0.1690651923418045, -0.188295379281044, -0.30528271198272705, -0.2178470492362976, 0.23728100955486298, 0.5334421396255493, 0.22403138875961304, 0.2391767054796219, -0.5655158162117004, -0.6773162484169006, -0.031922586262226105, 0.020660672336816788, 0.38997650146484375, 0.6822144389152527, 0.1666797250509262, -0.16155222058296204, 0.6207705736160278, -0.48486700654029846, -0.06477173417806625, -0.22306665778160095, -0.2318257987499237, 0.5180094242095947, 0.16077323257923126, 0.2796729505062103, -0.8858233690261841, -0.5803850889205933, 0.12516039609909058, -0.490779310464859, -0.2114076018333435, -0.2341095209121704, 0.08853773772716522, -0.08026246726512909, 0.33112096786499023, -0.30323654413223267, 0.3467616140842438, 0.6171177625656128, -0.383998304605484, 0.21289046108722687, -0.21527232229709625, 0.009882774204015732, -0.7014867067337036, 0.04250926896929741, -0.395930677652359, -0.41393861174583435, -0.043872758746147156, 0.19915953278541565, 0.04139963164925575, 0.1634318083524704, -0.24903538823127747, 0.327632337808609, -0.762191116809845, -0.22875842452049255, -0.05655188113451004, 0.2939828634262085, -0.22210891544818878, 0.3479444682598114, -0.36855483055114746, 0.9600747227668762, 0.4777008295059204, -0.37731537222862244, 0.5373233556747437, -0.25633078813552856, -0.12278977781534195, 0.16579464077949524, -0.14369606971740723, -0.11414086818695068, 0.09178537130355835, 0.38888704776763916, -0.7693859338760376, 0.051225025206804276, -0.11716492474079132, -0.3224942088127136, 0.28335824608802795, -0.24332702159881592, -0.5883361101150513, -0.35624146461486816, -0.4650755822658539, 0.8007553219795227, 0.4637075662612915, -0.8107191920280457, 0.6780732870101929, 0.36361294984817505, 0.006009889300912619, -0.5232873558998108, -0.3443079888820648, 0.10397656261920929, -0.2108253389596939, -0.6936479806900024, 0.5155205130577087, -0.06974968314170837, 0.0357946939766407, 0.0763966515660286, -0.5011957287788391, 0.22221288084983826, 0.4014354646205902, -0.07624813914299011, 0.05057940259575844, -0.06987595558166504, -0.18918505311012268, 0.260588139295578, -0.3603154122829437, 0.08689291030168533, -0.39597588777542114, 0.6463907957077026, -0.20081210136413574, -0.4960583746433258, -0.1706112027168274, 0.0021612232085317373, 0.4066566526889801, -0.21063241362571716, 0.21121273934841156, 0.32245323061943054, -0.3394346237182617, -0.6692541837692261, -0.30682575702667236, -0.10471858829259872, -0.4963391423225403, 0.5815093517303467, -0.5872417688369751, -0.9920117259025574, 0.4663514494895935, -0.5801981091499329, -0.045915160328149796, 0.4316311776638031, 0.20424968004226685, 0.09083788096904755, 1.525121808052063, 0.3099137544631958, 0.251881867647171, 0.4031425416469574, -0.45586419105529785, 0.2296244204044342, -0.7927197813987732, -0.45317062735557556, -0.21523526310920715, -0.27568092942237854, -0.7666391730308533, -0.3830755949020386, 0.5385193228721619, 0.09432969242334366, 0.09460519254207611, -0.010326752439141273, -0.8755885362625122, 0.6947495341300964, 0.3506397306919098, 0.01798967644572258, 0.5746709704399109, 0.18978294730186462, -0.6424657702445984, -0.011099577881395817, -1.0986225605010986, -0.14099439978599548, 1.0316592454910278, 0.15222248435020447, 0.5074623227119446, -0.06722848862409592, 0.7099123597145081, -0.03316203132271767, 0.17400704324245453, -0.8508766889572144, 0.8522042036056519, -0.0363643541932106, -0.21591511368751526, -0.5778546333312988, -0.7756441235542297, -1.2245265245437622, 0.376046746969223, -0.05096912756562233, -0.7782232165336609, -0.22343036532402039, 0.17389599978923798, -0.38652095198631287, 0.627231240272522, -0.267096608877182, 0.2997485399246216, -0.6700761318206787, -0.571185827255249, -0.4712402820587158, -0.48438307642936707, 0.4552578032016754, -0.31372588872909546, 0.20550207793712616, -0.24845601618289948, -0.13894791901111603, 0.6122314929962158, -0.20168592035770416, 0.1595245748758316, -0.26950106024742126, 0.22724509239196777, 0.29750922322273254, 0.46604496240615845, 0.8757850527763367, 0.3223720192909241, -0.06193370744585991, -0.3807779848575592, 0.15752899646759033, -0.44108495116233826, -0.47429969906806946, 0.7050915956497192, -0.40441179275512695, -0.5862712264060974, -0.6769658923149109, -0.47845715284347534, -0.17337019741535187, 0.3481059968471527, -0.04075191169977188, 0.3456209897994995, -0.07025200873613358, 0.42984458804130554, 0.9916964173316956, -0.1734224110841751, 0.5895605683326721, 0.19030612707138062, -0.481728196144104, -0.4329575002193451, 0.7904679775238037, 0.2149924784898758, 0.04994245991110802, 0.5759478807449341, 0.640542209148407, -0.39996394515037537, -0.8852870464324951, -0.5362458825111389, 0.11832283437252045, -0.47741758823394775, -0.42903661727905273, -0.5028021335601807, -0.3926089406013489, 0.3695329427719116, -0.29344359040260315, -0.43053510785102844, -0.307125061750412, 0.007932763546705246, -0.13547825813293457, 0.34563758969306946, 0.48163482546806335, 0.15194575488567352, 0.24230800569057465, -0.5635281801223755, 0.09476121515035629, 0.31685182452201843, 0.395562082529068, 0.24669577181339264, -0.10069307684898376, -0.21688073873519897, 0.02574612759053707, -0.16163979470729828, -0.7796018123626709, 0.5290268063545227, -0.11248023808002472, 0.6932205557823181, 0.40024280548095703, 0.053838517516851425, 0.7690251469612122, -0.107886902987957, 0.24955298006534576, 0.1250692754983902, -0.719626247882843, 0.4812113642692566, -0.38916268944740295, 0.4363296329975128, 0.6588464975357056, -0.057238079607486725, -0.262835830450058, 0.12965066730976105, -0.8816030621528625, -1.0525884628295898, 0.7875749468803406, 0.29996219277381897, -0.39787304401397705, 0.5642087459564209, 0.2441806048154831, -0.31292328238487244, 0.22698664665222168, -0.3780985474586487, -0.05330274626612663, 0.250795841217041, -0.14749376475811005, 0.12322386354207993, -0.3190672993659973, -0.07701150327920914, -0.49247708916664124, 0.5287692546844482, -0.2665799856185913, 0.11589628458023071, 0.30565372109413147, 0.13198590278625488, -0.3848972022533417, -0.04232362285256386, 0.4656828045845032, 0.553098201751709, -0.35938760638237, 0.4170474708080292, 0.4953567087650299, -0.46125203371047974, 0.09835295379161835, 0.2016194611787796, -0.4532856345176697, 0.015477340668439865, 0.3445792496204376, 0.6653856039047241, 0.3132886290550232, -0.9223723411560059, 0.35365602374076843, -0.1191960796713829, -0.29154518246650696, -0.2529393136501312, 0.2646876275539398, 0.35614022612571716, 0.3618953824043274, 0.5894850492477417, -0.16413025557994843, 0.2514631748199463, -0.35952961444854736, 0.19265301525592804, 0.6857122778892517, 0.10281404107809067, -0.01386527344584465, 0.41706961393356323, 0.1380395144224167, -0.4549727439880371, 0.550183117389679, -0.5240216851234436, -0.7278239130973816, 0.9338920712471008, 0.31929299235343933, 0.899296760559082, -0.24760206043720245, 0.2079370766878128, 0.38606321811676025, 0.2991231083869934, -0.21483129262924194, 0.2811994254589081, -0.307773619890213, -0.4519459903240204, -0.6346254944801331, -0.40991488099098206, -0.37181347608566284, -0.05434052646160126, -0.16515666246414185, 0.2208900898694992, -0.4151546359062195, 0.041786205023527145, -0.5099217295646667, 0.5331630706787109, -0.5501214861869812, 0.32208290696144104, -0.005717408377677202, 0.8887321352958679, -0.13816170394420624, 0.8801066875457764, 0.18057088553905487, 0.27098512649536133, -1.1488460302352905, -0.22178968787193298, -0.03995431214570999, -1.1030426025390625, 0.533116340637207, 0.2639910578727722, -0.7027243375778198, 0.3286832273006439, -0.4421125054359436, -1.239851713180542, 1.5658434629440308, 0.3011927604675293, -0.8860301375389099, -0.22493413090705872, -0.14049601554870605, 0.3156808912754059, -0.48417308926582336, 0.6313369870185852, 0.4378637671470642, 0.5241867899894714, 0.7587107419967651, -0.6934022903442383, -0.04860847815871239, -0.22269342839717865, 0.01686594821512699, 0.3892853856086731, -0.6359458565711975, 0.61899334192276, -0.31415215134620667, -0.46585074067115784, -0.27280983328819275, 0.11783876270055771, 0.650543749332428, 0.7156934142112732, 0.669939398765564, 0.314206600189209, 0.9690908193588257, -0.017201466485857964, 0.6968640685081482, -0.5758660435676575, 0.45455867052078247, 0.7096302509307861, -0.04800178110599518, 0.4494103789329529, 0.37946489453315735, -0.28194737434387207, 0.04019914194941521, 1.1667143106460571, 0.1794215440750122, 0.5879102349281311, 0.5251072645187378, -0.3142366409301758, -0.2438519299030304, -0.16211549937725067, -0.208219513297081, 0.023862795904278755, 0.4211898148059845, -0.2934044301509857, -0.40303605794906616, -0.5220276713371277, 0.0585201270878315, -0.14881360530853271, -0.39339110255241394, 0.5232186913490295, 0.10296190530061722, -0.5798661112785339, 0.6553712487220764, -0.0993308275938034, 0.579388439655304, -0.6884293556213379, -0.2193547785282135, -0.1799372136592865, 0.010580942034721375, -0.35742953419685364, -0.5719267725944519, 0.08524664491415024, -0.2526918649673462, 0.47094106674194336, -0.49005022644996643, 0.72555011510849, -0.231510728597641, -0.571282684803009, 0.5487745404243469, 0.8227193355560303, -0.15848477184772491, -0.0381784625351429, -0.8303552269935608, 0.09802381694316864, 0.36567965149879456, -0.4581194519996643, 0.14127546548843384, 0.7112292051315308, -0.13351550698280334, 1.0145831108093262, 0.7296475172042847, 0.39670029282569885, 0.09727208316326141, -0.16807952523231506, 1.0735194683074951, -0.8102219700813293, -0.5821527242660522, -0.9082961082458496, 0.18250365555286407, -0.09304113686084747, -0.09223867207765579, 0.43488314747810364, 0.7557265162467957, 0.8045017719268799, 0.49999740719795227, 0.48311129212379456, 0.309633731842041, 0.3354550302028656, -0.6586737036705017, 0.23869815468788147, -0.6291396617889404, 0.6219035387039185, -0.27568501234054565, -1.0657025575637817, -0.4574030935764313, 0.7911421656608582, -0.14969025552272797, 0.05875895172357559, 0.8048065304756165, 0.7484495639801025, -0.09237465262413025, 0.1535392552614212, 0.42805081605911255, -0.0920429602265358, 0.49168819189071655, 0.9799217581748962, 0.8384432792663574, 0.14566968381404877, 0.6107392311096191, -0.27377432584762573, -0.36055102944374084, -0.5365291237831116, -1.0490498542785645, -0.5991219878196716, -0.2736385762691498, -0.008584588766098022, -0.1540256291627884, 0.2753058075904846, 0.9472145438194275, 0.7126731276512146, -0.34246426820755005, -0.2632037103176117, -0.5841490030288696, 0.5343629717826843, -0.2057190090417862, -0.19835032522678375, 0.4196490943431854, -0.15479540824890137, -0.4988102912902832, 0.5254654288291931, 0.40915223956108093, -0.1305786669254303, -0.36973416805267334, -0.10329069197177887, -0.11251486092805862, 0.05364633724093437, 0.5733322501182556, -0.08066163212060928, -0.4330565333366394, 0.15427972376346588, 0.3244640529155731, 0.06174255162477493, 0.2489212453365326, 0.982168972492218, -0.814678966999054, 0.7075393795967102, 0.4799453318119049, 0.89459228515625, 1.0593076944351196, -0.11774794012308121, 0.18190431594848633, -0.08094561100006104, -0.022406572476029396, 0.7135142683982849, 0.15307419002056122, 0.08632081747055054, -0.5393037796020508, 0.7758765816688538, 0.4127267897129059, -0.42786291241645813, -0.8375323414802551, 0.3118021786212921, -1.027988076210022, -0.28173989057540894, 0.9637060165405273, 0.19981980323791504, -0.3462754487991333, 0.18348629772663116, -0.5120833516120911, 0.18371687829494476, -0.7759626507759094, 0.5833780169487, 0.5095311403274536, -0.5186681151390076, -0.5221775770187378, -0.6346235275268555, 0.5553455948829651, 0.40175870060920715, -0.6196538805961609, -0.19796009361743927, 0.3146294057369232, -0.13591992855072021, -0.12907235324382782, 0.45860162377357483, 0.01643088273704052, 0.08553947508335114, 0.11008301377296448, -0.4859304130077362, -0.32929256558418274, -0.447710245847702, -0.14486436545848846, 0.5157839059829712, 0.35968735814094543, 0.12205537408590317 ]
http://arxiv.org/abs/2407.00263v1
http://arxiv.org/pdf/2407.00263v1
From Local Concepts to Universals: Evaluating the Multicultural Understanding of Vision-Language Models
2024-06-28T23:28:28
2024-06-28T23:28:28
Mehar Bhatia, Sahithya Ravi, Aditya Chinchure, Eunjeong Hwang, Vered Shwartz
cs.CL
cs.CL, cs.AI, cs.CV
Despite recent advancements in vision-language models, their performance remains suboptimal on images from non-western cultures due to underrepresentation in training datasets. Various benchmarks have been proposed to test models' cultural inclusivity, but they have limited coverage of cultures and do not adequately assess cultural diversity across universal as well as culture-specific local concepts. To address these limitations, we introduce the GlobalRG benchmark, comprising two challenging tasks: retrieval across universals and cultural visual grounding. The former task entails retrieving culturally diverse images for universal concepts from 50 countries, while the latter aims at grounding culture-specific concepts within images from 15 countries. Our evaluation across a wide range of models reveals that the performance varies significantly across cultures -- underscoring the necessity for enhancing multicultural understanding in vision-language models.
[ -0.6795902848243713, -0.14072982966899872, 0.08299741894006729, 0.06747516244649887, -0.1897556036710739, 0.1250341832637787, -0.35675016045570374, -0.7546783089637756, -0.11937587708234787, 0.3309027850627899, -0.2945100665092468, -0.4866105616092682, -0.542647659778595, 0.13272123038768768, 0.06679414212703705, 0.7384659647941589, -0.1452285647392273, 0.28952792286872864, -0.3141114115715027, -0.7305430173873901, -0.4435882866382599, -0.43913599848747253, -0.0632140189409256, -0.3719119429588318, 0.06956369429826736, 0.4342653751373291, 0.6364011764526367, 0.4680892527103424, 0.9221596717834473, 0.178612619638443, -0.3753679692745209, 0.016066864132881165, -0.5679095983505249, -0.1820816844701767, -0.5462144613265991, -0.4341736137866974, -0.056366000324487686, 0.11568647623062134, 0.8398259878158569, 0.8998931050300598, 0.09481093287467957, 0.391481876373291, -0.002207066398113966, 0.5096123814582825, -0.8474290370941162, 0.13444747030735016, -0.6372008919715881, 0.4349394142627716, 0.008020704612135887, 0.24138246476650238, -0.04361306503415108, -0.3077579438686371, 0.46275877952575684, -0.5207177400588989, 0.5349008440971375, -0.27305689454078674, 0.7505288124084473, -0.12308523058891296, -0.743067741394043, -0.11446990072727203, -0.6335247755050659, 0.707923948764801, 0.09892144054174423, 0.552932620048523, 0.052132632583379745, 0.37259194254875183, 0.17071840167045593, -0.44430962204933167, -0.2482430785894394, -0.2760189473628998, 0.06992106884717941, 0.25872769951820374, -0.2782527208328247, -0.23260310292243958, 0.2404215931892395, 0.6997880339622498, -0.6916841268539429, -0.11929312348365784, -0.5902900695800781, -0.20977647602558136, 0.6240490674972534, 0.12216128408908844, 0.414887398481369, -0.16298145055770874, -0.5065448880195618, -0.1378132402896881, -0.7876396179199219, 0.23727183043956757, 0.01730182394385338, 0.30553415417671204, -0.48562705516815186, 0.34674546122550964, -0.6625609397888184, 0.6338546276092529, -0.37692561745643616, -0.15729382634162903, 0.3221556842327118, -0.4092482030391693, -0.30871838331222534, -0.434434175491333, 0.1950005739927292, 0.6003979444503784, 0.7876643538475037, -0.35699138045310974, 0.07919994741678238, 0.3928273320198059, 0.09365971386432648, -0.7099722623825073, 0.054591696709394455, -0.48547062277793884, -0.563149631023407, -0.01433364488184452, 0.18577465415000916, -0.5871809124946594, -0.4591430425643921, -0.4052084982395172, 0.20412534475326538, -0.2080451250076294, -0.3838728666305542, -0.09154912829399109, -0.19860851764678955, 0.5664656162261963, 0.36945459246635437, -0.8010163903236389, 0.16690748929977417, 0.46407949924468994, 0.7404846549034119, -0.16342228651046753, -0.38100001215934753, 0.10307063162326813, -0.05733831599354744, -0.47194215655326843, 0.7589612007141113, -0.6578487157821655, -0.553198516368866, 0.02021823078393936, 0.015316230244934559, 0.01647501066327095, -0.9041975140571594, 0.4266185760498047, -0.23082701861858368, -0.03014584258198738, -0.7305961847305298, -0.2074826955795288, -0.480225533246994, 0.367115318775177, -0.32719549536705017, 0.6927095055580139, 0.14197829365730286, -0.649876594543457, 0.7498434782028198, -0.4134491980075836, -0.21642597019672394, 0.32256075739860535, -0.5110576152801514, 0.30922967195510864, 0.5045290589332581, 0.3776293396949768, 0.28772178292274475, -0.4725652039051056, 0.2925591468811035, -0.434682160615921, -0.7829362154006958, -0.37521669268608093, -0.3630448877811432, 0.8775902390480042, 0.39061877131462097, -0.18676480650901794, -0.13021337985992432, -0.6731382608413696, -0.2040993720293045, 0.25341394543647766, 0.028464220464229584, -0.29233548045158386, -0.17703057825565338, 0.06433355808258057, 0.15545330941677094, -0.000040272923797601834, -0.5361698269844055, 0.23794978857040405, -0.1145646870136261, 0.041163381189107895, 0.5573315024375916, -0.4581822454929352, 0.6874299645423889, -0.19536682963371277, 0.577730655670166, -0.02013198472559452, 0.223073348402977, -0.3653919994831085, -0.6767508387565613, -0.549590528011322, -0.3856372535228729, 0.0501568578183651, 0.7206862568855286, -0.6261496543884277, -0.006852795369923115, -0.5212990045547485, -0.6868812441825867, -0.471262663602829, 0.2251589447259903, 0.41472846269607544, 0.458024263381958, 0.11668600887060165, -1.0397480726242065, -0.44294050335884094, -1.0978763103485107, -0.3938697278499603, -0.05864039435982704, -0.29357263445854187, 0.3807695806026459, 0.7799988389015198, -0.3572617769241333, 0.9399484992027283, -0.15469491481781006, -0.34403878450393677, -0.24576708674430847, 0.1308503895998001, 0.08980442583560944, 0.5360356569290161, 0.4893966317176819, -1.0414412021636963, -0.5438867807388306, 0.3320765197277069, -1.2297426462173462, 0.3130275011062622, 0.24710647761821747, 0.08665782958269119, 0.15053069591522217, 0.18446163833141327, -0.18992243707180023, 0.7779693007469177, 0.533893346786499, -0.35291188955307007, 0.3685726821422577, -0.26212260127067566, 0.4186103343963623, -0.5295289754867554, 0.14801836013793945, 0.39746931195259094, -0.016089852899312973, -0.5209137797355652, 0.6983755826950073, 0.24311043322086334, -0.31209951639175415, -0.5676949620246887, 0.8045764565467834, -0.5147610306739807, -0.3104947507381439, 0.19009581208229065, 0.011258590035140514, -0.06284942477941513, 0.06881394982337952, 0.31688985228538513, 0.7284474968910217, 0.9087658524513245, -0.2913067936897278, 0.3943108320236206, 0.18983516097068787, -0.8253467679023743, 1.0237953662872314, -0.31364768743515015, -0.07257706671953201, -0.46550384163856506, 0.42502549290657043, -0.8164541721343994, -0.3003869652748108, 0.05238679423928261, -0.2574654519557953, -0.02026287652552128, -0.40243658423423767, -0.3886466324329376, -0.38215428590774536, -0.0423106849193573, 0.8294553160667419, 0.7044953107833862, -0.7652183771133423, 0.6271477937698364, 0.3685222566127777, 0.01554527785629034, -0.6281358599662781, -0.6335027813911438, 0.11096811294555664, -0.37662455439567566, -0.9984347224235535, 0.2631942927837372, 0.11042562872171402, -0.5710723400115967, -0.2645840346813202, -0.2980159819126129, -0.03039056435227394, 0.10926847159862518, 0.06177159771323204, 0.14331726729869843, -0.2728332579135895, -0.09330402314662933, -0.5472491979598999, 0.05829953774809837, -0.14114181697368622, -0.2987000644207001, 0.13534681499004364, -0.522607684135437, -0.30111953616142273, -0.1646510809659958, 0.53029865026474, 0.2956642508506775, -0.6001964211463928, 0.44886264204978943, 0.6866787672042847, -0.4115404784679413, 0.16737240552902222, -0.7209354639053345, 0.035192959010601044, -0.42321115732192993, 0.48874014616012573, -0.6163694262504578, -0.8091738224029541, 0.975428581237793, 0.031785763800144196, -0.3594658672809601, 0.3083411157131195, 0.5208475589752197, -0.14944277703762054, 0.8371642231941223, 1.0329039096832275, 0.04619305208325386, 0.35839053988456726, -0.4154462218284607, 0.0546720027923584, -0.6429318189620972, -0.5327192544937134, -0.30170777440071106, -0.17675627768039703, -0.9151832461357117, -0.672070324420929, 0.4915550649166107, 0.27145588397979736, -0.30611416697502136, -0.042002324014902115, -0.43018442392349243, 0.9518461227416992, 0.6594873666763306, -0.26498764753341675, 0.3542773127555847, 0.5387501120567322, -0.5112220644950867, -0.3500690460205078, -0.5833185315132141, -0.32260388135910034, 1.036131501197815, 0.2773824632167816, 0.891204297542572, 0.07684960961341858, 0.4313192665576935, 0.1565607637166977, 0.774467408657074, -0.46383997797966003, 0.40480390191078186, -0.5340200662612915, -0.8267022371292114, 0.34831786155700684, -0.39710214734077454, -0.6342255473136902, 0.925229549407959, -0.05424785241484642, -1.1898807287216187, 0.42744386196136475, 0.021137844771146774, -0.016984641551971436, 0.5398040413856506, -0.632013738155365, 1.1275677680969238, 0.04255278781056404, -0.06389027833938599, -0.14455541968345642, -0.6907674074172974, 0.6450435519218445, 0.13606968522071838, 0.41857555508613586, -0.3067571520805359, 0.33378681540489197, 0.3146435022354126, 0.4748195707798004, 0.6547536849975586, -0.12057158350944519, -0.2064470797777176, 0.25954267382621765, 0.23680312931537628, -0.09664206951856613, -0.06321541219949722, 0.04983052611351013, 0.632139265537262, -0.08762723952531815, -0.5727976560592651, -0.33661943674087524, 0.46888911724090576, -0.6646286845207214, -0.4137391149997711, -0.38319525122642517, -0.7632157206535339, -0.3387658894062042, -0.06181396543979645, 0.4424252212047577, 0.5133472681045532, -0.4431232511997223, 0.36576882004737854, 0.49268513917922974, -0.41907212138175964, 0.1135808527469635, 0.43561238050460815, -0.22928978502750397, -0.4125116467475891, 0.8962709307670593, 0.09854084253311157, 0.27631181478500366, 0.26210618019104004, -0.07109208405017853, -0.32870885729789734, -0.26676344871520996, -0.3376440107822418, 0.03169328719377518, -1.2463457584381104, 0.12404700368642807, -0.19795820116996765, 0.0547989085316658, -0.4279828369617462, -0.3853508234024048, -0.16134069859981537, -0.08185305446386337, 0.15372703969478607, 0.14877288043498993, -0.18244394659996033, 0.7127925753593445, -0.495079904794693, 0.030437886714935303, -0.6346657872200012, 0.45466727018356323, 0.26375553011894226, 0.5232148766517639, -0.1564209759235382, -0.674180805683136, -0.27135708928108215, -0.05192476138472557, -0.34134161472320557, -0.6326964497566223, 0.19394360482692719, 0.045358043164014816, 0.7184589505195618, 0.430841326713562, -0.2869187891483307, 0.8085591793060303, -0.3824981451034546, 0.756550669670105, 0.1905052363872528, -0.9777256846427917, 0.5338952541351318, -0.42788228392601013, 0.6668469309806824, 0.4852156639099121, 0.4572264552116394, -0.937929630279541, -0.48043450713157654, -0.5114777684211731, -0.7621663808822632, 0.48388051986694336, -0.002151893451809883, 0.47630035877227783, 0.13592495024204254, 0.15314418077468872, 0.017906805500388145, -0.10091081261634827, -0.9525322914123535, -0.176611989736557, -0.12582308053970337, -0.008016502484679222, -0.2586993873119354, -0.04400547966361046, -0.3203584849834442, -0.5857123732566833, 0.13426174223423004, -0.3341405391693115, 0.15530554950237274, 0.3552997410297394, -0.47722676396369934, -0.05610445886850357, 0.22415459156036377, 0.4973856210708618, 0.9905861020088196, -0.3748597204685211, -0.028004951775074005, 0.43576815724372864, -0.41144511103630066, 0.21354322135448456, 0.019753513857722282, -0.31168678402900696, -0.19935958087444305, 0.4390771985054016, 0.6622791290283203, -0.19600671529769897, -0.6988258361816406, 0.2920897603034973, -0.32363125681877136, -0.0175294391810894, -0.08752895891666412, -0.017393646761775017, -0.24130813777446747, 0.27762919664382935, 0.529784619808197, 0.30747491121292114, 0.08992426842451096, -0.7373477220535278, 0.13711927831172943, 0.6151793599128723, -0.37739771604537964, -0.2229037880897522, 0.5410290956497192, 0.2323339581489563, 0.08778106421232224, 0.6064894199371338, -0.33567771315574646, -0.5679472088813782, 0.84441077709198, 0.4683019518852234, 0.6765044927597046, 0.10905896872282028, 0.365813285112381, 0.4456518590450287, 0.5571752190589905, 0.04095917567610741, 0.4159277081489563, -0.2732597589492798, -1.0289733409881592, -0.29918381571769714, -0.475653737783432, -0.5306735038757324, -0.18880678713321686, -0.8536043167114258, -0.19754773378372192, -0.3147668242454529, 0.06836193799972534, -0.24197709560394287, -0.1025824099779129, -1.1707229614257812, 0.6717128157615662, 0.7738924026489258, 1.1113691329956055, -1.0411288738250732, 0.7439314723014832, 0.8464049696922302, -0.41874557733535767, -0.4613089859485626, 0.109986811876297, 0.157615065574646, -0.8236445188522339, 1.0794535875320435, 0.48941224813461304, 0.0036812801845371723, -0.36377888917922974, -0.34367769956588745, -0.9937617778778076, 0.8832834362983704, 0.6000766158103943, -0.28504472970962524, 0.16438467800617218, 0.10679150372743607, 0.5308582186698914, -0.6414300203323364, 0.3738676607608795, 0.6877343654632568, 0.2820133566856384, 0.1487986445426941, -1.0701682567596436, -0.20049329102039337, -0.2829485535621643, 0.34146568179130554, -0.2564019560813904, -0.6068970561027527, 0.8919442296028137, -0.4200303554534912, -0.27814343571662903, 0.099924236536026, 0.5153563022613525, 0.3646855056285858, 0.14126749336719513, 0.37341204285621643, 0.6626055836677551, 0.6070716977119446, -0.41475844383239746, 1.2498586177825928, -0.030125634744763374, 0.5677552819252014, 0.7719011306762695, -0.3050526976585388, 0.6645216941833496, 0.15857316553592682, -0.21124567091464996, 0.222410187125206, 0.621074914932251, -0.3552188575267792, 0.6481468081474304, 0.35000696778297424, -0.3624599874019623, -0.4107557237148285, -0.5471063852310181, -0.6790154576301575, 0.861936628818512, 0.13116051256656647, -0.054193198680877686, -0.5862563252449036, 0.11411843448877335, -0.4272058606147766, 0.007646471261978149, -0.5605199337005615, 0.5084463953971863, 0.005186317954212427, -0.7429763078689575, 0.7850893139839172, -0.010213407687842846, 0.9671816825866699, -0.40496593713760376, 0.16376003623008728, -0.7680112719535828, 0.3370792269706726, 0.09753617644309998, -0.6454243063926697, 0.21059851348400116, 0.15502503514289856, -0.16207945346832275, -0.23259836435317993, 0.6835188865661621, -0.2131606638431549, -0.6505547165870667, 0.6191042065620422, 0.3729262053966522, 0.17549937963485718, 0.08218581229448318, -0.6072505712509155, 0.07188350707292557, 0.08022119849920273, 0.2248881608247757, 0.2081773579120636, 0.2124917358160019, -0.2222239375114441, 0.5809627175331116, 0.41290003061294556, 0.12389346957206726, -0.03146197646856308, 0.12000896036624908, 0.31354713439941406, -0.6377547383308411, -0.47770869731903076, -0.7630810737609863, 0.5438811182975769, 0.01659533567726612, -0.4550110995769501, 0.6227365136146545, 0.36820852756500244, 1.5926049947738647, -0.10361228138208389, 0.7591075897216797, -0.013034628704190254, -0.1002761498093605, -0.23102903366088867, 0.6640292406082153, -1.057523488998413, -0.22015221416950226, -0.24948881566524506, -1.030190348625183, -0.5714223980903625, 0.8826624155044556, -0.38990139961242676, -0.039762984961271286, 0.35417822003364563, 0.5060071349143982, -0.2998584806919098, 0.12624527513980865, 0.47289252281188965, -0.11893616616725922, 0.1622447967529297, 0.33457544445991516, 1.1378543376922607, -0.1462165117263794, 0.3099507689476013, -0.33262214064598083, -0.14748439192771912, 0.12250565737485886, -0.8598898649215698, -0.6453301310539246, -0.24474714696407318, -0.10696052759885788, -0.07001230865716934, 0.013422137126326561, 0.7960559725761414, 0.9559382200241089, -0.9119374752044678, -0.56028813123703, 0.20656968653202057, 0.056282222270965576, -0.04418862611055374, -0.1453741192817688, 0.007369305472820997, -0.20456871390342712, -0.6455963253974915, 0.25115686655044556, 0.39610517024993896, 0.22401116788387299, -0.32062530517578125, 0.0322476327419281, 0.29420509934425354, -0.08143436163663864, 0.554125964641571, 0.40144211053848267, -0.9246427416801453, -0.21701635420322418, -0.2673898935317993, -0.009013132192194462, 0.28627946972846985, 0.736037015914917, -0.7215533256530762, 0.6786879301071167, 0.35835912823677063, 0.44191989302635193, 0.4307771325111389, -0.04541784152388573, 0.6370295882225037, -0.7846529483795166, 0.6840571165084839, 0.15773481130599976, 0.6261904239654541, 0.7058601379394531, 0.20881275832653046, 0.767136812210083, 0.52341228723526, -0.20491941273212433, -0.896554172039032, 0.35960835218429565, -0.5398588180541992, -0.23433347046375275, 0.8559750318527222, -0.3961748480796814, 0.13169066607952118, 0.2622304856777191, 0.08449368923902512, -0.10851024091243744, 0.12931326031684875, 0.6506756544113159, 0.6546288132667542, 0.19708721339702606, 0.07121536135673523, -0.6709162592887878, 0.24235478043556213, 0.6019916534423828, -0.6407111883163452, -0.18587353825569153, 0.5402565598487854, 0.5625696182250977, 0.313926100730896, 0.7197875380516052, -0.11777184903621674, 0.38421303033828735, 0.0632026195526123, 0.2815757393836975, 0.589026153087616, -0.6330981254577637, -0.5898146033287048, 0.22341297566890717, -0.1999983936548233, 0.03812926635146141 ]
http://arxiv.org/abs/2407.00256v1
http://arxiv.org/pdf/2407.00256v1
One Prompt is not Enough: Automated Construction of a Mixture-of-Expert Prompts
2024-06-28T23:05:08
2024-06-28T23:05:08
Ruochen Wang, Sohyun An, Minhao Cheng, Tianyi Zhou, Sung Ju Hwang, Cho-Jui Hsieh
cs.AI
cs.AI, cs.CL, cs.LG, stat.ML, 68T01
Large Language Models (LLMs) exhibit strong generalization capabilities to novel tasks when prompted with language instructions and in-context demos. Since this ability sensitively depends on the quality of prompts, various methods have been explored to automate the instruction design. While these methods demonstrated promising results, they also restricted the searched prompt to one instruction. Such simplification significantly limits their capacity, as a single demo-free instruction might not be able to cover the entire complex problem space of the targeted task. To alleviate this issue, we adopt the Mixture-of-Expert paradigm and divide the problem space into a set of sub-regions; Each sub-region is governed by a specialized expert, equipped with both an instruction and a set of demos. A two-phase process is developed to construct the specialized expert for each region: (1) demo assignment: Inspired by the theoretical connection between in-context learning and kernel regression, we group demos into experts based on their semantic similarity; (2) instruction assignment: A region-based joint search of an instruction per expert complements the demos assigned to it, yielding a synergistic effect. The resulting method, codenamed Mixture-of-Prompts (MoP), achieves an average win rate of 81% against prior arts across several major benchmarks.
[ -0.5910391807556152, -0.9744219779968262, 0.7240337133407593, 0.33581846952438354, -0.19729702174663544, 0.1878727823495865, -0.20001275837421417, 0.11463116109371185, 0.3358916938304901, 0.3363609313964844, -0.6872843503952026, -0.5249597430229187, -0.6048406362533569, 0.0967026874423027, -0.23164694011211395, 0.669218122959137, -0.1669880449771881, -0.1303493082523346, -0.3288055658340454, 0.040997594594955444, -0.8980498313903809, -0.32302746176719666, -0.34096643328666687, -0.11842319369316101, 0.23085209727287292, 0.6799124479293823, 0.3929847180843353, 0.6274174451828003, 0.0652899369597435, 0.37942755222320557, 0.057835474610328674, 0.4176025092601776, -0.15958304703235626, 0.27859067916870117, -0.08057476580142975, -0.518047571182251, -0.33161461353302, 0.12447009235620499, 0.3459763824939728, 0.8068581223487854, -0.13064044713974, -0.14993871748447418, 0.2874596118927002, 0.4709527790546417, -0.659457266330719, 0.07655028998851776, -0.5280045866966248, 0.04819218069314957, 0.18840086460113525, -0.45731544494628906, -0.4096510708332062, -0.1621563583612442, 0.269240140914917, -0.7499307990074158, 0.3030967712402344, -0.04602005332708359, 0.42104145884513855, 0.4662027359008789, -0.3013262152671814, -0.3428117632865906, -0.3492082953453064, 0.9972140192985535, -0.5398404598236084, -0.02946252003312111, 0.2435036599636078, 0.28855088353157043, -0.4118022322654724, -0.3264182507991791, -0.46401265263557434, -0.16411598026752472, 0.11140052229166031, 0.1608281433582306, -0.1351436823606491, 0.1148243397474289, 0.012703336775302887, -0.08342242985963821, -0.48138466477394104, 0.18563875555992126, -0.16713233292102814, -0.2219778299331665, 0.4259898364543915, 0.4357106685638428, 0.5471956729888916, -0.05743127688765526, -0.6231091022491455, -0.0332171730697155, -0.4418833553791046, 0.201889768242836, 0.2632416784763336, 0.33468201756477356, -0.09123991429805756, 0.43922755122184753, -0.22829030454158783, 0.863557755947113, 0.4013509154319763, -0.5851181745529175, -0.042555972933769226, -0.26103225350379944, 0.044945795089006424, -0.17558926343917847, 0.8962569832801819, 0.3201706111431122, 0.0293998084962368, -0.09242712706327438, -0.3810497522354126, -0.018757818266749382, 0.14018820226192474, -0.455961674451828, -0.2581932246685028, 0.27661779522895813, -0.1510959416627884, -0.006699473597109318, 0.11142323166131973, -0.8296042084693909, -0.3012140691280365, -0.5539611577987671, 0.5280371904373169, -0.42719635367393494, 0.09214860200881958, -0.008439051918685436, -0.3519633114337921, -0.07675455510616302, 0.537039577960968, -0.732051432132721, 0.1539485603570938, 0.62164705991745, 0.5450280904769897, -0.35003748536109924, -0.42070597410202026, -0.4608269929885864, 0.09342452883720398, -0.49369341135025024, 0.8837909698486328, -0.9298148155212402, -0.6719775795936584, -0.01196947693824768, -0.3513650596141815, -0.15959346294403076, -0.6186774373054504, 0.09982900321483612, -0.3255877196788788, 0.624391496181488, -0.35514035820961, -0.6329905986785889, -0.09485772252082825, 0.03883511945605278, -0.36369311809539795, 0.970734715461731, 0.33166375756263733, -0.4865960478782654, 0.2460244745016098, -0.43060991168022156, -0.41637828946113586, 0.22862142324447632, -0.7390336394309998, 0.24581478536128998, 0.015331574715673923, 0.5190557241439819, 0.4603637158870697, -0.24313203990459442, 0.37981343269348145, 0.006203589495271444, -0.3104325532913208, 0.11319754272699356, -0.24428632855415344, 0.6808549165725708, 0.03631926700472832, -0.5087346434593201, 0.047893013805150986, -0.5680891871452332, -0.09037923812866211, -0.1761602908372879, -0.441855251789093, -0.32751134037971497, -0.11927111446857452, -0.3763408064842224, 0.23523329198360443, 0.46993541717529297, -0.23688140511512756, 0.4049488604068756, -0.2102375328540802, 0.08348251134157181, 0.9204909801483154, 0.03217172622680664, 0.8853967785835266, -0.42670074105262756, 0.990358829498291, 0.02679004706442356, -0.06834910809993744, -0.5308244228363037, -0.5480057597160339, -1.0031849145889282, -0.43163514137268066, 0.05681094899773598, 0.8239409923553467, -1.036083698272705, 0.7721391916275024, 0.09114856272935867, -0.33459600806236267, -0.5581152439117432, 0.34147781133651733, 0.4621656537055969, 0.6437786221504211, 0.42401552200317383, -0.1559157371520996, -0.4333753287792206, -1.0948314666748047, 0.07656867057085037, 0.04505040869116783, -0.1311403512954712, 0.27435389161109924, 0.26171812415122986, -0.08445565402507782, 1.363417625427246, -0.5188100934028625, -0.31856808066368103, -0.40225836634635925, 0.22288690507411957, 0.23542292416095734, 0.4961138665676117, 0.6623114347457886, -0.46083325147628784, -0.6668009161949158, -0.2344980537891388, -0.7499933242797852, -0.44861769676208496, -0.1402696967124939, -0.009148552082479, 0.0858028382062912, 0.3615247905254364, -0.463123083114624, 0.0844317153096199, 0.3916313350200653, -0.13510674238204956, 0.6145908236503601, -0.19487877190113068, 0.2421502321958542, -1.0739961862564087, -0.25143110752105713, 0.18224795162677765, 0.16854813694953918, -0.5362240076065063, 0.42688047885894775, -0.12173759192228317, -0.2159140706062317, -0.41647908091545105, 0.7006816864013672, -0.3906989097595215, 0.29346680641174316, -0.5512648224830627, 0.1467372626066208, 0.0250420942902565, 0.6949337124824524, -0.14081783592700958, 1.1038265228271484, 0.6712638735771179, -0.8175874948501587, 0.35659223794937134, 0.13615068793296814, -0.19771632552146912, 0.573520302772522, -0.5878133177757263, 0.25503143668174744, -0.20777058601379395, 0.4753124713897705, -1.1210756301879883, -0.39659759402275085, 0.15324589610099792, -0.3315143585205078, 0.24537760019302368, 0.022732561454176903, -0.43148985505104065, -0.09019437432289124, -0.15094824135303497, 0.3374701738357544, 0.7383192777633667, -0.3537467122077942, 0.8710795640945435, 0.29641401767730713, -0.5565961599349976, -0.6850801706314087, -0.549675703048706, 0.0749586671590805, -0.07997933030128479, -0.7278913259506226, 0.2292134314775467, -0.05751773715019226, -0.2727363109588623, -0.14368049800395966, -0.2063039392232895, -0.20294629037380219, 0.11476603895425797, 0.1720661222934723, 0.2816576063632965, -0.04396267235279083, -0.02075229026377201, 0.43054184317588806, -0.4310111403465271, 0.13331860303878784, -0.3225524425506592, 0.5322561264038086, 0.229469433426857, -0.5410678386688232, -0.6567161083221436, 0.9682220816612244, 0.43126943707466125, -0.05831694230437279, 0.32838931679725647, 0.3272610902786255, -0.10070744156837463, -0.5942333936691284, -0.7135623097419739, -0.18265536427497864, -0.5530516505241394, 0.31284818053245544, -0.3751944601535797, -0.8566785454750061, 0.4591638445854187, 0.1463584303855896, 0.26695936918258667, 0.27294352650642395, 0.4749718904495239, -0.16563862562179565, 1.107987642288208, 0.5502340793609619, -0.0816335678100586, 0.4120531678199768, -0.23004449903964996, 0.11101114004850388, -0.3526362478733063, -0.35355037450790405, -0.576546847820282, -0.3727870583534241, -0.19456446170806885, -0.5678127408027649, 0.7530784010887146, -0.1314609795808792, 0.01707029528915882, 0.24566136300563812, -0.5600417256355286, 0.5066496133804321, 0.9514917135238647, 0.30259770154953003, -0.07084881514310837, 0.052083130925893784, -0.3103841543197632, -0.019152136519551277, -1.0343478918075562, -0.5505181550979614, 0.7287367582321167, 0.15442487597465515, 0.7594025135040283, -0.19602273404598236, 0.9417055249214172, 0.3138647973537445, -0.1151074692606926, -0.7454168796539307, 0.9233184456825256, -0.15641632676124573, -0.3227793276309967, -0.2824636399745941, -0.24335937201976776, -0.824400007724762, 0.23644304275512695, -0.059216976165771484, -0.500210165977478, 0.22073176503181458, 0.1193976178765297, -0.6319546699523926, 0.05535925552248955, -0.7382268309593201, 0.44084346294403076, -0.002963203238323331, -0.11199408024549484, -0.23241721093654633, -0.5406985878944397, 0.17730364203453064, -0.12350951135158539, 0.3626488745212555, 0.046714141964912415, -0.40964487195014954, 0.7691911458969116, -0.6115569472312927, 1.0341585874557495, -0.25184929370880127, -0.20421168208122253, 0.5035276412963867, 0.27951207756996155, 0.573093831539154, -0.34271296858787537, 0.07953798025846481, -0.47837257385253906, -0.3230433464050293, -0.6992788314819336, -0.8963329195976257, 0.42787450551986694, -0.7773677706718445, -0.9952391386032104, 0.02678632363677025, -0.6117686033248901, -0.29973191022872925, -0.08152208477258682, 0.5120584964752197, 0.6632080674171448, 0.10760481655597687, -0.1480347365140915, 0.9030503630638123, -0.34772634506225586, 0.34862443804740906, 0.3240543305873871, 0.19710753858089447, -0.4470967650413513, 1.1023756265640259, 0.018351756036281586, 0.21359890699386597, 0.5158292055130005, 0.24099156260490417, -0.024779319763183594, -0.5317235589027405, -0.3894152045249939, -0.18365418910980225, -0.8977295756340027, -0.06075480952858925, -0.8508561253547668, 0.21059685945510864, -0.33653345704078674, -0.539897620677948, -0.10532297194004059, -0.2238258272409439, -0.633389413356781, 0.23499710857868195, -0.013497205451130867, 0.5274473428726196, 0.2576417326927185, 0.5210615992546082, -0.9719356298446655, 0.25254443287849426, 0.7938188910484314, -0.18665941059589386, 0.0913061872124672, -0.6728206276893616, -0.0964067280292511, -0.044092923402786255, -0.23945651948451996, -1.0571800470352173, 0.3771726191043854, -0.017286259680986404, 0.9144977927207947, 0.43236157298088074, 0.153705894947052, 0.5682166218757629, -0.4517333507537842, 1.0444303750991821, 0.33328601717948914, -0.8719073534011841, 0.6249549984931946, -0.4867948889732361, 0.3025430142879486, 0.5753428936004639, 0.36472371220588684, -0.1404101699590683, -0.7768971920013428, -0.5773417949676514, -0.96052086353302, 0.5746865272521973, -0.2645719349384308, 0.34953397512435913, -0.1225472018122673, -0.07671236246824265, 0.5661966800689697, 0.11503595858812332, -0.1734946072101593, -0.3561684191226959, 0.05236402899026871, -0.2835840880870819, 0.2873518466949463, -0.35687747597694397, -0.323291540145874, -0.10712597519159317, 0.5406233072280884, -0.1898229718208313, 0.2842505872249603, 0.08812915533781052, -0.04730057716369629, -0.0012792855268344283, 0.5111444592475891, 0.5192379355430603, 0.7668954730033875, 0.16045890748500824, -0.0021873346995562315, 0.20841239392757416, -0.1483204960823059, 0.43422931432724, -0.0015338370576500893, -0.2808952033519745, 0.0590069554746151, 0.6292498111724854, 0.7383698225021362, 0.2580299973487854, -0.7058712244033813, 0.5779809951782227, 0.2707577645778656, -0.3445838689804077, -0.05066665634512901, 0.6594333648681641, -0.2252107858657837, 0.2156926691532135, 0.829764723777771, -0.03893054276704788, 0.06764084100723267, -0.4380381405353546, 0.21169112622737885, 0.29520323872566223, -0.13996674120426178, -0.13357913494110107, 0.4426894783973694, 0.6409121751785278, -0.4649393856525421, 0.4859389066696167, -0.3493393063545227, -0.6204345226287842, 0.842263400554657, 0.3247712254524231, 0.8898789286613464, -0.13097898662090302, 0.31916874647140503, 0.17978012561798096, 0.04605443775653839, -0.13556809723377228, 0.2795555293560028, -0.016577646136283875, -0.5276058912277222, -0.6562725901603699, -0.17957255244255066, -0.5738660097122192, -0.08598081767559052, -0.43935802578926086, 0.1693519502878189, -0.40005290508270264, 0.018964048475027084, -0.21737314760684967, -0.18121455609798431, -0.6764118075370789, 0.1331668198108673, -0.04086216539144516, 0.9739022254943848, -1.0956814289093018, 0.42580100893974304, 0.9813368320465088, -0.21398203074932098, -0.8225473761558533, -0.04224173724651337, 0.03916578367352486, -0.6919751763343811, 0.5542718172073364, 0.10350672155618668, 0.24334168434143066, -0.22355425357818604, -0.7027886509895325, -0.5044645071029663, 0.8338239789009094, 0.3291064202785492, -0.575526773929596, -0.23289167881011963, -0.23897048830986023, 0.2943648099899292, -0.6353582739830017, 0.2890050411224365, 0.38908007740974426, 0.460082471370697, -0.055882878601551056, -0.893918514251709, -0.0012877765111625195, -0.1805434674024582, -0.1483256220817566, 0.05460905283689499, -0.5209882855415344, 1.0085521936416626, -0.2628670632839203, -0.1793081909418106, -0.0220840722322464, 0.8212325572967529, 0.5461950302124023, 0.29348957538604736, 0.7239696383476257, 0.3502562344074249, 0.5632219910621643, 0.13756270706653595, 1.0411235094070435, -0.28441160917282104, -0.0604657307267189, 1.058975338935852, 0.11276095360517502, 0.471938818693161, 0.41424813866615295, -0.34756872057914734, 0.5745282173156738, 0.5941272974014282, 0.14162330329418182, 0.560142993927002, -0.09910371899604797, -0.46382734179496765, -0.6635138988494873, -0.16566817462444305, -0.4106072783470154, 0.23714511096477509, 0.3657820224761963, -0.3007108271121979, -0.43938785791397095, 0.09001599997282028, -0.1380954384803772, 0.38127008080482483, -0.08447202295064926, 0.7036399245262146, -0.027704473584890366, -0.9555522799491882, 0.24869106709957123, -0.08184682577848434, 0.8804242014884949, -0.512292206287384, -0.1740681678056717, -0.34313780069351196, -0.39856529235839844, -0.115460604429245, -0.7853248715400696, -0.32850781083106995, -0.03956345096230507, -0.24463549256324768, -0.27308034896850586, 0.3615359365940094, -0.5318109393119812, -0.2950723469257355, -0.04949966445565224, 0.8750479221343994, 0.061695147305727005, 0.09093557298183441, -0.5857498049736023, -0.21285320818424225, 0.12367928773164749, -0.23401349782943726, 0.4818316400051117, 0.6019896864891052, 0.10320606827735901, 0.8185710310935974, 0.3753456771373749, -0.14574667811393738, 0.09828037023544312, -0.06018797308206558, 1.0122554302215576, -0.37191227078437805, -0.6819976568222046, -0.6990431547164917, 0.6273886561393738, 0.21740224957466125, -0.30899208784103394, 0.6162793636322021, 0.34012097120285034, 0.6398036479949951, -0.13883459568023682, 1.198703646659851, -0.08112353086471558, 0.2692059278488159, -0.5566816329956055, 0.005908457562327385, -0.5598306655883789, 0.3557104170322418, -0.17844389379024506, -0.7954593896865845, 0.13820384442806244, 0.40459054708480835, -0.050114706158638, 0.22745350003242493, 0.6380895972251892, 0.9221140146255493, -0.04459195211529732, -0.15975071489810944, 0.22440077364444733, -0.22485525906085968, 0.26850083470344543, 0.5554851293563843, 0.8313464522361755, 0.20223292708396912, 0.42693251371383667, -0.3266901671886444, -0.5616163015365601, -0.30084601044654846, -0.7681472301483154, -0.9909560680389404, -0.6555742621421814, -0.34746259450912476, -0.15229719877243042, -0.03795855492353439, 1.4426333904266357, 0.6355223655700684, -0.7035413384437561, -0.12961436808109283, 0.013653257861733437, 0.10185762494802475, -0.3360450863838196, -0.24742305278778076, 0.3217257261276245, -0.8506703972816467, -0.8593991994857788, 0.84329754114151, 0.25238266587257385, 0.08467315882444382, -0.5012145042419434, 0.005381023045629263, 0.20809714496135712, 0.03102005459368229, 0.41685253381729126, 0.09697984904050827, -0.8975171446800232, -0.01382544357329607, 0.27968472242355347, -0.3354792296886444, -0.13061530888080597, 0.9427355527877808, -0.8125359416007996, 0.6396133303642273, 0.9176919460296631, 0.845823347568512, -0.19985787570476532, 0.12414411455392838, 0.8388018012046814, -0.8685491681098938, 0.12749110162258148, 0.32498645782470703, 0.34114450216293335, 0.09608045965433121, -0.2144729048013687, 0.2613990902900696, 0.2528482973575592, -0.4132804870605469, -0.4555288851261139, 0.2726232707500458, -1.152431845664978, -0.5666069984436035, 1.4409817457199097, -0.1539476066827774, -0.06726224720478058, -0.24780391156673431, -0.49144837260246277, 0.04415389895439148, -0.8405685424804688, 0.7745088338851929, 0.7154222726821899, -0.29126429557800293, -0.08034095168113708, -0.4519142508506775, 0.03729724511504173, 0.5708728432655334, -0.5753756761550903, -0.23655207455158234, 0.6234574913978577, 0.20967993140220642, 0.16967739164829254, 0.6448893547058105, 0.4242248833179474, 0.3905547559261322, 0.19194206595420837, 0.037656500935554504, -0.3592628836631775, -0.49922218918800354, -0.26361745595932007, 0.5290988683700562, -0.04170273244380951, -0.3382587730884552 ]
http://arxiv.org/abs/2407.00250v1
http://arxiv.org/pdf/2407.00250v1
Mind the Gap: Analyzing Lacunae with Transformer-Based Transcription
2024-06-28T22:52:39
2024-06-28T22:52:39
Jaydeep Borkar, David A. Smith
cs.CV
cs.CV, cs.CL
Historical documents frequently suffer from damage and inconsistencies, including missing or illegible text resulting from issues such as holes, ink problems, and storage damage. These missing portions or gaps are referred to as lacunae. In this study, we employ transformer-based optical character recognition (OCR) models trained on synthetic data containing lacunae in a supervised manner. We demonstrate their effectiveness in detecting and restoring lacunae, achieving a success rate of 65%, compared to a base model lacking knowledge of lacunae, which achieves only 5% restoration. Additionally, we investigate the mechanistic properties of the model, such as the log probability of transcription, which can identify lacunae and other errors (e.g., mistranscriptions due to complex writing or ink issues) in line images without directly inspecting the image. This capability could be valuable for scholars seeking to distinguish images containing lacunae or errors from clean ones. Although we explore the potential of attention mechanisms in flagging lacunae and transcription errors, our findings suggest it is not a significant factor. Our work highlights a promising direction in utilizing transformer-based OCR models for restoring or analyzing damaged historical documents.
[ -0.2458687275648117, -0.699587881565094, 0.6327978372573853, -0.44670385122299194, 0.03678354248404503, 0.024072160944342613, 0.34252458810806274, -0.661601722240448, 0.36358097195625305, 0.9123190641403198, -0.7961964011192322, -0.14142683148384094, -0.5485803484916687, 0.2116585522890091, -0.35103464126586914, 0.7431420087814331, -0.17638038098812103, -0.0680152103304863, 0.1776355355978012, -0.0743456780910492, -0.7009599804878235, -0.207981675863266, -0.5275998711585999, -0.026881786063313484, 0.39825934171676636, -0.033475447446107864, 0.534733772277832, 0.6188990473747253, 0.7000446915626526, 0.2291766256093979, -0.1259540617465973, 0.3499554991722107, -0.5429052710533142, 0.07108637690544128, 0.1324586123228073, -0.732925295829773, -0.38972964882850647, -0.2132544219493866, 0.4510783553123474, 0.4669095575809479, 0.22000302374362946, 0.018428415060043335, -0.03664455562829971, 0.8624171614646912, -0.5710434913635254, 0.13681617379188538, -0.6730746030807495, 0.544775664806366, -0.19517172873020172, -0.14659227430820465, -0.5797865390777588, -0.39104947447776794, 0.07933982461690903, -0.5574666857719421, 0.9769363403320312, 0.07290606200695038, 1.0560530424118042, 0.5303502082824707, 0.15893609821796417, -0.3439004421234131, -0.7765275835990906, 0.5205161571502686, -0.7503366470336914, 0.6721287369728088, 0.39445751905441284, 0.11571824550628662, -0.16154998540878296, -0.3785535991191864, -0.7492814660072327, -0.173661008477211, -0.3588740825653076, 0.2948099970817566, -0.1958581805229187, -0.42749011516571045, 0.49018174409866333, 0.7262877821922302, -0.5759175419807434, 0.23000803589820862, -0.5196285247802734, -0.4576512277126312, 0.1205754280090332, 0.03727901354432106, 0.600946307182312, -0.03385932371020317, -0.4117473363876343, -0.3681069314479828, -0.5986484885215759, 0.00021787492732983083, 0.2995162010192871, 0.11892673373222351, 0.3845933675765991, 0.5693262219429016, 0.4136326313018799, 0.7846043109893799, 0.08253154158592224, 0.011045829392969608, 0.01781756430864334, -0.042744968086481094, -0.4344581067562103, 0.20135089755058289, 0.6553486585617065, 0.17252546548843384, -0.16233417391777039, -0.44381922483444214, -0.0398542582988739, 0.06689341366291046, 0.5506081581115723, -0.3639691174030304, -0.009427242912352085, -0.07376426458358765, -0.3733373284339905, 0.11541515588760376, 0.30239981412887573, -0.9680144786834717, -0.8369474411010742, -0.2682098150253296, 0.32119253277778625, -0.6109170317649841, -0.07145356386899948, 0.166927769780159, -0.2680509388446808, 0.22341838479042053, 0.5672668218612671, -1.0029710531234741, 0.1086074709892273, 0.29971474409103394, 1.062211036682129, -0.21647252142429352, -0.053803883492946625, -0.13656191527843475, 0.032645974308252335, -0.4399091899394989, 0.8451285362243652, 0.09919103235006332, -0.5779383778572083, -0.05012941733002663, 0.19287589192390442, -0.3630817234516144, -0.5895602107048035, 0.8747850060462952, -0.6633999943733215, 0.2655157744884491, -0.24122609198093414, -0.5993139743804932, -0.2613770067691803, 0.14285269379615784, -1.6820214986801147, 0.9552712440490723, 0.29586803913116455, -0.6115013957023621, 0.0506318062543869, -0.5439465045928955, -0.09424033761024475, -0.043158240616321564, 0.009862236678600311, -0.9225581884384155, 0.07026632875204086, 0.3984030783176422, 0.17767344415187836, -0.2521064579486847, -0.10884524136781693, 0.00187801499851048, -0.37682685256004333, 0.32210347056388855, -0.41390255093574524, 0.9838503003120422, -0.10768590867519379, -0.49602779746055603, -0.3761758804321289, -0.6644905805587769, -0.37856435775756836, -0.024998066946864128, -0.12884339690208435, -0.3307858109474182, -0.15179142355918884, 0.17292086780071259, -0.17660163342952728, 0.11560781300067902, -0.843309223651886, 0.3955496847629547, -0.3808857202529907, 0.3188458979129791, 0.4658002257347107, 0.082436703145504, 0.33099836111068726, -0.3997296094894409, 0.2441062480211258, 0.03538406640291214, 0.2855817675590515, -0.45686954259872437, -0.5022107362747192, -1.0887035131454468, -0.12067776918411255, 0.2879549562931061, 0.7041990756988525, -0.6667956113815308, 0.6014866828918457, -0.2649908661842346, -0.5412653684616089, -0.9721947312355042, -0.10336904972791672, 0.11835603415966034, 0.9685111045837402, 0.7212397456169128, -0.45734620094299316, -0.594023585319519, -0.949823260307312, 0.01524701714515686, -0.3702748715877533, -0.12624330818653107, 0.18538179993629456, 0.29201075434684753, -0.356362521648407, 1.0415476560592651, -0.5962954759597778, -0.8534829020500183, 0.25954708456993103, 0.2125566303730011, 0.3465825021266937, 0.5210956335067749, 0.2719857692718506, -0.9351397156715393, -0.2646462321281433, 0.16457678377628326, -0.8771904110908508, -0.20407454669475555, -0.3580963611602783, -0.05474365875124931, 0.44215986132621765, 0.6429904103279114, -0.4172777235507965, 0.7446118593215942, 0.22165292501449585, -0.12036532163619995, 0.3524684011936188, -0.17812757194042206, 0.540458083152771, -0.6677447557449341, 0.16175271570682526, -0.09131645411252975, 0.06999637186527252, -0.9001241326332092, 0.025889599695801735, 0.39452996850013733, -0.21125715970993042, -0.3253433108329773, 0.23392799496650696, -0.5497333407402039, 0.14826615154743195, -0.052401114255189896, -0.36678144335746765, 0.2725442051887512, 0.4767489731311798, 0.30843278765678406, 0.6937750577926636, 0.04680249094963074, -0.03125526383519173, -0.22589217126369476, 0.41302910447120667, -0.4386754035949707, 0.4505160450935364, -0.5239371061325073, 0.4998384714126587, -0.20289123058319092, -0.06707202643156052, -0.9437856078147888, 0.03322097659111023, 0.2647053599357605, -0.3673575818538666, 0.6436586976051331, 0.002908775582909584, -0.4559831917285919, -0.40326082706451416, -0.22589464485645294, 0.4044375419616699, 0.44475170969963074, -0.4229062497615814, 0.993313729763031, 0.32528451085090637, -0.10676876455545425, -0.5628683567047119, -0.7521642446517944, 0.09041818231344223, -0.06422298401594162, -0.39094817638397217, 0.12895146012306213, -0.048544615507125854, 0.15900279581546783, -0.09348127990961075, -0.08295118808746338, -0.275330513715744, -0.036342523992061615, 0.3588196337223053, 0.7125571370124817, -0.3974246680736542, 0.02991442009806633, -0.15566979348659515, 0.11311895400285721, -0.2613377869129181, -0.12186124175786972, 0.4389110803604126, -0.07118674367666245, -0.5272177457809448, -0.41612696647644043, 0.3564034104347229, 0.923825740814209, -0.30709826946258545, 0.45654726028442383, 0.3003154993057251, -0.5766615867614746, 0.08975422382354736, -1.1912622451782227, -0.011161437258124352, -0.3793971538543701, 0.24790377914905548, 0.06731212884187698, -0.8388135433197021, 0.7704217433929443, 0.2507685422897339, -0.15074437856674194, 0.7906889319419861, 0.41509369015693665, -0.28169137239456177, 0.2267935574054718, 0.533427894115448, -0.2373606562614441, 0.4411555826663971, -0.3929580748081207, 0.16165219247341156, -0.9545067548751831, -0.510154664516449, -0.5006181597709656, -0.12332119792699814, -0.10669071972370148, -0.40763595700263977, 0.5437880158424377, -0.018775630742311478, 0.05162346363067627, 0.72068852186203, -0.6195908188819885, 0.6615197062492371, 0.6253136992454529, 0.6110128164291382, 0.3682682514190674, -0.12051566690206528, 0.31085851788520813, -0.25176578760147095, -0.515152096748352, -0.5846322774887085, 0.5938652753829956, 0.31281760334968567, 0.5146842002868652, -0.0767403095960617, 0.6115270853042603, 0.7144162654876709, 0.42752617597579956, -0.8518843650817871, 0.1898994743824005, -0.0301640834659338, -0.5768488049507141, -0.6101171970367432, -0.1604679524898529, -1.1357874870300293, 0.10438553243875504, -0.47284385561943054, -0.8446138501167297, 0.670746922492981, 0.1846534162759781, -0.5164151191711426, 0.6591168642044067, -0.5636503100395203, 0.8650684356689453, -0.04630576819181442, -0.25787150859832764, 0.3898448050022125, -0.7641738057136536, 0.19238536059856415, -0.5939232707023621, 0.23428276181221008, 0.18854251503944397, 0.25558778643608093, 0.6509982347488403, -0.3392700254917145, 0.9522116184234619, 0.07953400909900665, -0.2958855926990509, 0.21855029463768005, 0.28267085552215576, 0.2639261782169342, -0.5328801870346069, -0.030553309246897697, 0.3874281942844391, -0.20739446580410004, -0.07451960444450378, -0.6965899467468262, 0.2303084135055542, -0.7278329730033875, -0.6228286027908325, -0.2809146046638489, -0.7596668601036072, -0.12805862724781036, 0.5120089650154114, 0.3877609372138977, 0.15537036955356598, -0.5342118740081787, 0.005746945738792419, 1.1553494930267334, -0.08996007591485977, 0.49153199791908264, 0.6536108255386353, 0.20113706588745117, -0.2766089141368866, 0.7608745098114014, 0.31293603777885437, 0.0250859297811985, 0.6885471940040588, 0.04217391461133957, -0.13445940613746643, -0.44560858607292175, -0.6361930966377258, 0.27730923891067505, -0.5863795280456543, -0.2884521186351776, -0.4718216359615326, -0.20597685873508453, -0.2618287205696106, -0.1059398427605629, -0.1511600911617279, -0.271145761013031, -0.6617595553398132, -0.030453601852059364, 0.03473120927810669, 0.5848884582519531, 0.40303197503089905, 0.40210384130477905, -1.1435338258743286, 0.22564588487148285, 0.19888798892498016, 0.09377283602952957, 0.2544804811477661, -0.3616584837436676, -0.29998543858528137, -0.11686968058347702, -0.44033610820770264, -1.0107922554016113, 0.510186493396759, 0.035984355956315994, 0.42448386549949646, 0.27582016587257385, -0.10083484649658203, 0.5241671800613403, -1.0211551189422607, 0.6802088022232056, 0.3642594516277313, -0.9812668561935425, 0.598461925983429, -0.20961152017116547, 0.19639967381954193, 0.4803166091442108, 0.3219315707683563, -0.5317450761795044, -0.6395475268363953, -0.7322563529014587, -0.7246647477149963, 0.6505852937698364, 0.2716664671897888, -0.3040912449359894, 0.16251477599143982, 0.33709636330604553, 0.3799779415130615, -0.0788106918334961, -0.7259693145751953, 0.28838270902633667, -0.35566869378089905, -0.16666404902935028, 0.1449989527463913, 0.1502513885498047, 0.014339113608002663, 0.2433265596628189, 0.5499326586723328, 0.12948055565357208, 0.2302933633327484, 0.6098926067352295, -0.5522705316543579, -0.2707013487815857, 0.13867925107479095, 0.5258787870407104, 0.18481996655464172, -0.42806825041770935, -0.0725468248128891, -0.045492518693208694, -0.7312291264533997, 0.15061414241790771, 0.1001908928155899, -0.5945070385932922, 0.13682861626148224, 0.716637134552002, 0.9250649809837341, 0.042538587003946304, -0.6275306344032288, 0.3899925649166107, -0.030740002170205116, 0.06762286275625229, -0.2370954006910324, 0.03437454253435135, -0.13624180853366852, 0.2905983030796051, 0.6282293200492859, 0.5046297311782837, 0.31796082854270935, -0.5958536863327026, 0.11162880808115005, 0.26350459456443787, -0.6675386428833008, -0.010187608189880848, 0.7346552014350891, -0.25877779722213745, -0.6421336531639099, 0.7473803162574768, 0.620498538017273, -0.4124700427055359, 0.8298515677452087, 0.36327099800109863, 0.6795141696929932, -0.5290526747703552, -0.11784874647855759, 0.24911095201969147, 0.6651477813720703, -0.30026859045028687, -0.19260571897029877, 0.14830777049064636, -0.7610667943954468, 0.008377422578632832, -0.5448468923568726, -0.41693544387817383, 0.22465935349464417, -0.9510008096694946, 0.022833464667201042, -0.03516475856304169, -0.43753358721733093, 0.18121486902236938, -0.5656995177268982, -0.6093491315841675, 0.2679463326931, 0.11907963454723358, 0.7561842799186707, -1.0861315727233887, 0.5218520760536194, -0.013124344870448112, -0.6672711968421936, -0.44343623518943787, -0.026504529640078545, -0.131307914853096, -0.9087123870849609, 0.5344345569610596, 0.2598051428794861, -0.1758778989315033, -0.09757034480571747, -0.15566255152225494, -0.7243784070014954, 1.249241590499878, 0.3509708046913147, -0.8292978405952454, -0.14006318151950836, 0.2667863965034485, 0.7444924712181091, 0.18298906087875366, 0.16195978224277496, 0.5680383443832397, 0.4177963435649872, -0.05676601082086563, -0.8399106860160828, -0.03832293301820755, -0.21829892694950104, 0.08006541430950165, 0.571566641330719, -0.5251511335372925, 0.7447974681854248, 0.023594705387949944, -0.3811434507369995, 0.30399733781814575, 0.48444864153862, -0.14321604371070862, 0.18045192956924438, 0.6039506793022156, 0.7743791937828064, 1.0270731449127197, -0.20779533684253693, 1.1075695753097534, 0.22892342507839203, 0.3593296706676483, 0.8214603066444397, -0.3563491106033325, 0.8247849345207214, 0.5246148705482483, -0.16431958973407745, 0.5984898805618286, 0.39625105261802673, -0.55002760887146, 0.4472885727882385, -0.09698030352592468, -0.15000806748867035, 0.15930725634098053, -0.08695439249277115, -0.23521867394447327, 0.037456803023815155, 0.42258140444755554, -0.64847332239151, -0.013877756893634796, 0.0765782818198204, -0.22908943891525269, 0.02184675633907318, -0.6019997000694275, 0.8444527983665466, -0.16283999383449554, -0.7819444537162781, 0.5112636685371399, -0.5005178451538086, 0.2803366482257843, -0.6870583295822144, -0.2076641470193863, -0.30151864886283875, 0.2498435229063034, -0.2269483208656311, -0.60952228307724, 0.3741784989833832, -0.2860601544380188, -0.6093754768371582, -0.020947597920894623, 0.8076351284980774, -0.5263725519180298, -0.6659464240074158, 0.1323574185371399, 0.5262506604194641, -0.036040715873241425, 0.25455546379089355, -0.2425982654094696, 0.1457459032535553, 0.11195065081119537, 0.001944426796399057, 0.14247074723243713, 0.3039732277393341, -0.11864510178565979, 0.08583837747573853, 0.4664139747619629, 0.037538763135671616, 0.010849987156689167, 0.13030807673931122, 0.5775539875030518, -0.3912748396396637, -0.23818880319595337, -0.98126220703125, 0.41731026768684387, -0.11358562856912613, -0.04289034754037857, 0.787915050983429, 0.7281152606010437, 0.6791272759437561, -0.7810391783714294, 0.6573470234870911, 0.41570430994033813, 0.48127827048301697, -0.7902934551239014, 0.9998172521591187, -0.3900860548019409, 0.05268222093582153, -0.4600667655467987, -0.6203458309173584, -0.5500476956367493, 0.7062731981277466, 0.002042187377810478, -0.5787822008132935, 0.7959944605827332, 1.0188963413238525, -0.19803652167320251, 0.26153799891471863, 0.2327336072921753, 0.08284834772348404, 0.1223549097776413, 0.6189606785774231, 0.6323738098144531, -0.6285974383354187, 0.31431764364242554, 0.26826098561286926, -0.47631514072418213, -0.05494685843586922, -0.777496874332428, -0.8293527960777283, -0.7227271795272827, -0.17545948922634125, -0.3229222893714905, 0.013467256911098957, 0.39839455485343933, 0.329851359128952, -0.8534294962882996, -0.1858413964509964, -0.011255092918872833, -0.20081505179405212, -0.24792072176933289, -0.20854854583740234, 0.898108184337616, -0.0005574817769229412, -0.679277241230011, 0.27961650490760803, 0.401275098323822, 0.5247685313224792, -0.13208873569965363, 0.3881833553314209, -0.03758463263511658, -0.04361426830291748, 0.24750690162181854, 0.6990353465080261, -0.8420613408088684, -0.05336562916636467, 0.32710638642311096, 0.04149186238646507, 0.43447884917259216, 1.225257396697998, -0.6372126340866089, 0.7180869579315186, 0.376935213804245, 0.9902811646461487, 0.7045032978057861, -0.29013895988464355, 0.3718460202217102, -0.4920765161514282, 0.004476461093872786, 0.4643288552761078, 0.8014974594116211, 0.5401982069015503, -0.7280510663986206, 0.6989454627037048, 0.40266886353492737, -0.5224213004112244, -0.7414696216583252, 0.05140405148267746, -1.2308857440948486, -0.3273213803768158, 0.590453028678894, -0.31216344237327576, -0.48447027802467346, -0.2573624849319458, -0.6727597117424011, 0.5930690765380859, -0.11067260801792145, 1.1535062789916992, 0.8104317784309387, -0.2054402381181717, -0.3145376443862915, -0.3527141809463501, 0.20483043789863586, 0.276114284992218, -0.7319202423095703, 0.16084958612918854, 0.6625115275382996, -0.168473482131958, 0.9294689297676086, 0.5973387360572815, -0.29639551043510437, 0.3170442283153534, -0.16442832350730896, 0.0604209266602993, -0.1826477348804474, -0.00717195775359869, -0.2238171100616455, 0.30855679512023926, -0.3337922990322113, 0.12539079785346985 ]
http://arxiv.org/abs/2407.00248v1
http://arxiv.org/pdf/2407.00248v1
DiffuseDef: Improved Robustness to Adversarial Attacks
2024-06-28T22:36:17
2024-06-28T22:36:17
Zhenhao Li, Marek Rei, Lucia Specia
cs.CL
cs.CL
Pretrained language models have significantly advanced performance across various natural language processing tasks. However, adversarial attacks continue to pose a critical challenge to system built using these models, as they can be exploited with carefully crafted adversarial texts. Inspired by the ability of diffusion models to predict and reduce noise in computer vision, we propose a novel and flexible adversarial defense method for language classification tasks, DiffuseDef, which incorporates a diffusion layer as a denoiser between the encoder and the classifier. During inference, the adversarial hidden state is first combined with sampled noise, then denoised iteratively and finally ensembled to produce a robust text representation. By integrating adversarial training, denoising, and ensembling techniques, we show that DiffuseDef improves over different existing adversarial defense methods and achieves state-of-the-art performance against common adversarial attacks.
[ -0.46490976214408875, -1.2137686014175415, 0.2997947335243225, -0.01855413243174553, 0.019869722425937653, 0.2532584071159363, -0.24533841013908386, -0.18115605413913727, -0.21385450661182404, 0.4812870919704437, -0.30279818177223206, -0.5115691423416138, -1.1793910264968872, -0.1417718082666397, -0.8313953280448914, 0.9416069984436035, 0.2174575924873352, 0.11737322062253952, -0.017418574541807175, -0.03723154962062836, 0.09370052069425583, -0.4596366584300995, -0.9435523152351379, -0.197026327252388, 0.2019093781709671, -0.3033129870891571, 1.0996372699737549, 0.14954090118408203, 0.42650869488716125, 0.36903929710388184, -0.31982895731925964, 0.08851370215415955, -0.3328135311603546, 0.29703569412231445, 0.010091462172567844, -0.32363858819007874, -0.28922954201698303, -0.04680369049310684, 0.5728874802589417, 0.623771071434021, -0.18539933860301971, -0.6405375003814697, 0.14520233869552612, 0.814660370349884, -0.8991481065750122, -0.3047672212123871, -0.4873340427875519, 0.03668643534183502, -0.2745392620563507, 0.28178301453590393, -0.5598167181015015, -0.21195358037948608, 0.2830129861831665, -0.5500869154930115, 0.44606447219848633, -0.5681590437889099, 0.9396544694900513, 0.4181273877620697, -0.37550491094589233, -0.1242537871003151, -0.9023010730743408, 0.5947055220603943, -0.5815173983573914, 0.29789355397224426, 0.3720521628856659, 0.20437735319137573, -0.2542014718055725, -0.6549922227859497, -0.4117431044578552, -0.09235342592000961, 0.03945183753967285, 0.2818939685821533, -0.5891479253768921, 0.17454946041107178, -0.015614519827067852, 0.3214398920536041, -0.6991026997566223, -0.14878305792808533, -0.12750859558582306, -0.23380286991596222, 0.4789090156555176, -0.26701486110687256, 0.4406444728374481, 0.5172796249389648, -0.38941073417663574, -0.3359649181365967, -0.4470248520374298, -0.305013507604599, 0.4588207006454468, -0.01038635428994894, 0.04114373028278351, -0.020086342468857765, 0.00434607919305563, 0.8474282622337341, 0.16609807312488556, -0.04342179372906685, -0.033469438552856445, 0.09942422807216644, -0.3915558457374573, -0.02290440909564495, 0.7814031839370728, 0.08098674565553665, 0.060378652065992355, -0.31825578212738037, -0.20646362006664276, 0.32060739398002625, 0.4983622431755066, -0.9010433554649353, -0.5457673668861389, -0.017581408843398094, -0.2504775822162628, -0.7859979271888733, 0.025439515709877014, -0.9402794241905212, -0.621550440788269, 0.3635694086551666, 0.38020190596580505, -0.4927416741847992, -0.4076419174671173, 0.16156335175037384, -0.44700056314468384, -0.12214316427707672, 0.37414902448654175, -0.7003315091133118, 0.5858004093170166, 0.4328680634498596, 0.8309570550918579, -0.18870380520820618, 0.019857069477438927, -0.41639071702957153, 0.12839330732822418, -0.4659010171890259, 0.7571936249732971, -0.6020212173461914, -0.555919885635376, -0.039288900792598724, -0.26499488949775696, -0.18656811118125916, -0.6417266130447388, 0.5065820813179016, -0.858078122138977, 0.4059619605541229, 0.30660077929496765, -0.3886861503124237, -0.4615636169910431, 0.3635711669921875, -0.9903303980827332, 0.9705172181129456, 0.27182671427726746, -1.0677295923233032, 0.23563402891159058, -0.5728849172592163, -0.7368600368499756, 0.08070732653141022, 0.04673769697546959, -0.5525348782539368, -0.06981676816940308, 0.42060163617134094, 0.4616604745388031, -0.07056371122598648, -0.06612975895404816, -0.41692692041397095, -0.06782416254281998, 0.12115063518285751, -0.9672476053237915, 0.901293933391571, 0.38441962003707886, -0.3728393018245697, -0.10648050159215927, -0.8019123673439026, -0.24257472157478333, 0.17633844912052155, -0.506662905216217, -0.5133652687072754, 0.08484296500682831, -0.06526822596788406, -0.34381845593452454, 0.111559197306633, -0.33131715655326843, -0.13833731412887573, -0.9515773057937622, 0.3487747013568878, 0.6131383776664734, 0.10023947060108185, 1.024266004562378, 0.0377122163772583, 0.6946181654930115, 0.02258796989917755, 0.14254029095172882, 0.30057045817375183, -0.5099939703941345, -0.5176312923431396, -0.5945820808410645, 0.37948745489120483, 0.627497673034668, -0.9116591215133667, 0.2308492809534073, 0.09107615053653717, -0.3741505444049835, -0.37630608677864075, 0.34453874826431274, 0.26767516136169434, 0.46163231134414673, 0.23288065195083618, -0.11530748754739761, -0.30598706007003784, -0.5089979767799377, -0.12567178905010223, -0.082801952958107, 0.01169656589627266, -0.1074296236038208, 0.1606326699256897, -0.5489067435264587, 0.5120068192481995, -0.5922532081604004, -0.1489836573600769, -0.38360172510147095, 0.14117936789989471, -0.20479877293109894, 0.3072059154510498, 0.7328972220420837, -1.0489994287490845, -0.6648775935173035, 0.09882767498493195, -0.5321276187896729, -0.008198140189051628, -0.04309288039803505, -0.21703140437602997, 0.07862021774053574, 0.6326606869697571, -0.4042210280895233, 0.49650558829307556, 0.5866213440895081, -0.3785819113254547, 0.04224476218223572, -0.2798783779144287, 0.003978647757321596, -0.8129309415817261, -0.32430657744407654, -0.13790775835514069, -0.4616239070892334, -0.9126392602920532, 0.22512398660182953, 0.09532899409532547, -0.08216837048530579, -0.35452792048454285, 0.5550142526626587, -0.2842737138271332, 0.6170902848243713, -0.4623686671257019, 0.16964170336723328, 0.21531996130943298, 0.10712955892086029, 0.022054193541407585, 0.514640212059021, 1.1327697038650513, -0.8197288513183594, 0.33341482281684875, -0.003909815102815628, -0.14100168645381927, 0.740959882736206, -0.46797657012939453, 0.10008323192596436, -0.3133089244365692, 0.18204696476459503, -0.8572142720222473, 0.10131029039621353, 0.3581448495388031, -0.39028239250183105, 0.7924129366874695, -0.09902124106884003, -0.2143751084804535, -0.1620979905128479, -0.2679792046546936, 0.24579110741615295, 0.4042574167251587, -0.7553738355636597, 0.7855015397071838, 0.3596625030040741, 0.10236448049545288, -0.6065402030944824, -0.7967498302459717, 0.2744804620742798, -0.4023612141609192, -0.6991583108901978, 0.6093574166297913, -0.10112166404724121, -0.3503877818584442, -0.03874839469790459, 0.022408153861761093, -0.46054214239120483, 0.6282052397727966, 0.189772829413414, 0.20734713971614838, -0.09143096953630447, -0.18851904571056366, -0.009417896158993244, -0.03620518743991852, 0.05133097246289253, -0.2740660011768341, 0.3207492530345917, 0.1416526585817337, -0.23570826649665833, -0.19551986455917358, 0.41786399483680725, 0.4402691721916199, 0.012970888055860996, 0.8669825792312622, 0.9048358798027039, -0.3608405292034149, -0.7011207342147827, -0.2164929062128067, -0.005143835674971342, -0.5625758767127991, 0.4877026677131653, -0.19672326743602753, -0.7620733380317688, 0.186081662774086, -0.237367182970047, -0.014949023723602295, 0.4874454438686371, 0.2156928926706314, 0.055658381432294846, 1.1890554428100586, 0.7136935591697693, -0.21013720333576202, 0.6175616383552551, -0.38286760449409485, 0.14284725487232208, -0.5546650886535645, -0.08902093023061752, -0.47477325797080994, -0.14078350365161896, -0.1979665756225586, -0.3464321792125702, 0.1882939338684082, 0.3270376920700073, -0.15421296656131744, 0.2806505858898163, -0.6132974028587341, 0.5267020463943481, 0.4314098656177521, 0.21564848721027374, -0.07669295370578766, 0.20209486782550812, -0.06080731377005577, 0.04524227976799011, -0.5924161076545715, -0.40647512674331665, 1.0899568796157837, 0.35278627276420593, 1.0061770677566528, 0.3820437788963318, 0.7274976968765259, 0.544937789440155, 0.33320245146751404, -0.48503437638282776, 0.5338493585586548, -0.667567253112793, -0.4175724685192108, -0.2744601368904114, -0.4466974437236786, -0.9877035021781921, 0.34999367594718933, 0.028149699792265892, -0.3805922269821167, 0.1887427419424057, -0.048761628568172455, -0.325459748506546, 0.4425586760044098, -0.7462761402130127, 0.6445539593696594, -0.043552644550800323, -0.016120124608278275, -0.13087406754493713, -0.1756284385919571, 0.32721659541130066, -0.0803590714931488, 0.3384896516799927, 0.35577529668807983, 0.031848955899477005, 0.8460952043533325, -0.37317517399787903, 0.8424585461616516, -0.35810357332229614, -0.33970215916633606, 0.3266964554786682, 0.3992471992969513, 0.4797295033931732, 0.008284811861813068, -0.13153637945652008, -0.03971446678042412, -0.21285821497440338, -0.3537774980068207, -0.652895450592041, 0.7448894381523132, -0.6087069511413574, -0.756922721862793, -0.4411734342575073, -0.13919194042682648, 0.031667184084653854, 0.23509787023067474, 0.5330390930175781, 0.38373950123786926, -0.7383750677108765, -0.04250720143318176, 1.1329495906829834, -0.1663113385438919, 0.7893245816230774, 0.386065810918808, 0.29726749658584595, -0.6130812764167786, 0.9041110277175903, -0.17222779989242554, 0.5736264586448669, 0.5995491147041321, 0.14844129979610443, -0.3929655849933624, -0.6430149674415588, -0.4651308059692383, -0.2784869968891144, -0.910695493221283, -0.3351196050643921, -0.6639008522033691, -0.4519975185394287, -0.6004751324653625, -0.2872556447982788, -0.2624618709087372, -0.4034697413444519, -0.4581616222858429, -0.03805001080036163, 0.2950505018234253, 0.919195830821991, -0.008795824833214283, 0.4341460168361664, -0.4111955761909485, 0.4243074357509613, 0.41672784090042114, 0.10889571160078049, -0.1004507839679718, -0.6484747529029846, -0.16856123507022858, 0.02578381821513176, -0.4034866690635681, -0.9546753764152527, 0.5892583727836609, 0.5568690299987793, 0.6730388402938843, 0.6220220923423767, 0.3417626917362213, 0.35140299797058105, -0.4246598780155182, 0.7630513310432434, 0.2526608407497406, -0.7073274850845337, 0.6709601879119873, 0.1534605175256729, 0.3858473598957062, 0.2729506194591522, 0.1271749883890152, 0.04429984837770462, -0.7734415531158447, -0.653274655342102, -0.6281460523605347, 0.5240694284439087, 0.2757483124732971, 0.03329543396830559, -0.07590700685977936, -0.006857738830149174, -0.15920907258987427, -0.17640002071857452, -0.661331295967102, -0.3032684028148651, -0.4206944704055786, -0.3952590823173523, -0.05654790252447128, -0.06360980868339539, -0.33749717473983765, 0.02950218692421913, 0.6042938232421875, 0.10459159314632416, 0.08940818160772324, 0.32941722869873047, -0.21318285167217255, 0.19108234345912933, 0.2168489396572113, 0.5114327669143677, -0.18634438514709473, 0.027271240949630737, 0.597574770450592, 0.24135075509548187, -0.9151965975761414, 0.3011462092399597, 0.2609710991382599, -0.5307475924491882, 0.01478362176567316, 0.46615272760391235, 0.5924825668334961, -0.08651169389486313, -0.4583021104335785, 0.7606193423271179, -0.4645688831806183, -0.4010985791683197, -0.15909172594547272, 0.3910464942455292, -0.048118289560079575, 0.3151955306529999, -0.03491596877574921, 0.7240241169929504, 0.3355085253715515, -0.05711771175265312, 0.1597374826669693, 0.7310377955436707, -0.5235193371772766, -0.1798875480890274, 0.7344706058502197, 0.09007886797189713, -0.25890490412712097, 0.03382036089897156, -0.3698333203792572, -0.8076398372650146, 0.5053218603134155, 0.430366188287735, 1.1245485544204712, -0.4565103054046631, 0.4070248603820801, 0.06080777198076248, 0.4152287542819977, -0.3821648061275482, -0.13843882083892822, -0.2504967153072357, -0.7138122320175171, 0.1294621378183365, -0.7283697128295898, -0.008084608241915703, 0.11685686558485031, -0.4159838557243347, -0.1464133858680725, -0.9197744727134705, -0.23803886771202087, -0.002595034893602133, -0.21990451216697693, -0.4262579381465912, 0.34498465061187744, 0.24907483160495758, 0.5875281095504761, -0.4958556890487671, 0.7796386480331421, 0.5181471705436707, -0.11105179786682129, -0.05198542773723602, 0.22946397960186005, 0.07913345098495483, -0.3742227852344513, 0.6702617406845093, -0.12583637237548828, -0.5122235417366028, -0.3570385277271271, -0.41024982929229736, -0.8471534252166748, 0.6145011782646179, 0.5093774199485779, -0.24492357671260834, 0.3291839063167572, -0.154886394739151, 0.46485093235969543, -0.15529775619506836, 0.0295453742146492, 0.5529153347015381, 0.3731217682361603, 0.033741243183612823, -0.29805272817611694, 0.023961417376995087, -0.30491751432418823, -0.0003450261428952217, 0.05360722541809082, -0.43546122312545776, 0.6728136539459229, -0.10159826278686523, -0.7081640958786011, -0.03156251087784767, 0.7050467133522034, -0.37035197019577026, 0.1480732411146164, 0.6566295027732849, 0.7994154095649719, 0.8488095998764038, -0.1456017643213272, 0.9398019909858704, 0.018476024270057678, -0.0644288882613182, 0.8957712650299072, -0.1911824494600296, 0.7541444897651672, -0.050379011780023575, -0.24403610825538635, 0.6290243268013, 0.37090763449668884, 0.0077173346653580666, 1.0283489227294922, 0.1298910230398178, -0.7618911266326904, -0.09741388261318207, 0.36822137236595154, -0.24273647367954254, 0.11715972423553467, 0.4498888850212097, -0.28705090284347534, -0.34450584650039673, 0.38882753252983093, 0.10669410973787308, 0.4704909026622772, -0.13132856786251068, 1.0060315132141113, -0.10128936171531677, -0.4307321608066559, 0.7546287178993225, 0.13433720171451569, 1.0104609727859497, -0.5393122434616089, 0.1291951984167099, -0.16529808938503265, 0.6337907910346985, -0.11602769792079926, -0.5433233380317688, 0.3624083399772644, -0.05608484148979187, -0.2546631693840027, -0.28726842999458313, 0.8296341896057129, -0.42769280076026917, -0.5195844173431396, 0.6725711822509766, -0.13307014107704163, -0.19984789192676544, -0.26249024271965027, -0.7526336908340454, -0.10722193866968155, 0.013010887429118156, -0.3018539249897003, 0.3398917317390442, 0.5176079869270325, 0.36540600657463074, 0.7224891185760498, 0.38890376687049866, 0.3481825590133667, 0.1742326319217682, 0.5546994209289551, 0.7907922267913818, -0.2435043305158615, -0.5094335675239563, -1.0439226627349854, 0.10381928086280823, -0.20976217091083527, -0.05909775197505951, 0.6617159247398376, 0.27947211265563965, 0.7151845097541809, 0.10818448662757874, 0.8765146732330322, 0.14259904623031616, 0.4446111023426056, -0.3927839398384094, 1.0213756561279297, -0.3738778233528137, 0.46948936581611633, -0.23729518055915833, -0.4695606231689453, -0.43270447850227356, 0.6891482472419739, 0.010820399038493633, 0.07065961509943008, 0.6177762150764465, 0.994274914264679, 0.038493067026138306, -0.022471647709608078, 0.5409316420555115, 0.17149759829044342, 0.5486093163490295, 0.4756676256656647, 0.7145715355873108, -0.6516604423522949, 0.8097891211509705, -0.2858329117298126, -0.3385469913482666, 0.2224663496017456, -0.5324230194091797, -1.264047622680664, -0.3871353566646576, -0.6626232266426086, -0.45001858472824097, 0.17748165130615234, -0.022997990250587463, 0.8546895384788513, -0.9288960099220276, 0.21461713314056396, -0.456806480884552, 0.1578061729669571, -0.3583996295928955, -0.2690125107765198, 0.3904842138290405, -0.24632813036441803, -0.8072149157524109, 0.661694347858429, 0.19974766671657562, 0.41818469762802124, -0.3867219090461731, -0.22283726930618286, -0.13854429125785828, 0.3164990544319153, 0.41702648997306824, 0.07511572539806366, -0.5699597597122192, 0.12803229689598083, -0.3936009705066681, -0.33449745178222656, -0.3581804633140564, 0.3408529758453369, -0.6952587962150574, 0.4422546923160553, 0.44704070687294006, 0.8592539429664612, 0.35762515664100647, -0.17185348272323608, 0.530326247215271, -0.8563792705535889, 0.3289828598499298, 0.32268401980400085, 0.2589784860610962, 0.46381232142448425, -0.6893134713172913, 0.24851635098457336, 0.24751795828342438, -0.17077170312404633, -0.665667712688446, 0.1586524397134781, -0.6108438968658447, -0.8163915872573853, 1.019498586654663, -0.2716342508792877, -0.3434447944164276, -0.33870676159858704, -0.25901803374290466, 0.008801531977951527, -0.38380715250968933, 0.6662933826446533, 0.6766305565834045, 0.4451819360256195, -0.16371406614780426, -0.19679521024227142, 0.9072547554969788, 0.39459195733070374, -0.6160732507705688, 0.10990401357412338, 0.20976518094539642, 0.1605159193277359, 0.1689574271440506, 0.5249390602111816, -0.2374778836965561, 0.1616782546043396, 0.3151222765445709, -0.5151396989822388, 0.13686570525169373, -0.4520534873008728, -0.5467851161956787, 0.5489755868911743, -0.13638059794902802, -0.28180187940597534 ]
http://arxiv.org/abs/2407.00242v1
http://arxiv.org/pdf/2407.00242v1
EHRmonize: A Framework for Medical Concept Abstraction from Electronic Health Records using Large Language Models
2024-06-28T21:39:20
2024-06-28T21:39:20
João Matos, Jack Gallifant, Jian Pei, A. Ian Wong
cs.CL
cs.CL
Electronic health records (EHRs) contain vast amounts of complex data, but harmonizing and processing this information remains a challenging and costly task requiring significant clinical expertise. While large language models (LLMs) have shown promise in various healthcare applications, their potential for abstracting medical concepts from EHRs remains largely unexplored. We introduce EHRmonize, a framework leveraging LLMs to abstract medical concepts from EHR data. Our study uses medication data from two real-world EHR databases to evaluate five LLMs on two free-text extraction and six binary classification tasks across various prompting strategies. GPT-4o's with 10-shot prompting achieved the highest performance in all tasks, accompanied by Claude-3.5-Sonnet in a subset of tasks. GPT-4o achieved an accuracy of 97% in identifying generic route names, 82% for generic drug names, and 100% in performing binary classification of antibiotics. While EHRmonize significantly enhances efficiency, reducing annotation time by an estimated 60%, we emphasize that clinician oversight remains essential. Our framework, available as a Python package, offers a promising tool to assist clinicians in EHR data abstraction, potentially accelerating healthcare research and improving data harmonization processes.
[ -0.03854476660490036, -0.9506824016571045, 0.9942869544029236, -0.12947237491607666, -0.29991888999938965, -0.2155093401670456, -0.39370325207710266, -0.5213768482208252, 0.15545065701007843, 0.32731741666793823, -0.3878784477710724, -0.7902240753173828, -0.6696727275848389, 0.2464917153120041, -0.2174980193376541, 1.0005383491516113, -0.22250071167945862, 0.07111789286136627, -0.24390603601932526, 0.07581023871898651, -0.28934237360954285, -0.5513334274291992, -0.569176971912384, -0.8283610939979553, 0.5201780200004578, 0.3461354374885559, 0.2235080599784851, 0.9736639857292175, 0.6653482913970947, 0.2841286361217499, -0.03183562681078911, -0.02894028089940548, -0.15832236409187317, 0.5006852149963379, -0.005379107780754566, -0.5678588151931763, -0.6927341222763062, -0.48548707365989685, 0.5231132507324219, 0.38521715998649597, -0.6371455192565918, 0.38290226459503174, -0.36549538373947144, 0.6832189559936523, -0.6656979918479919, 0.29871219396591187, -0.42930394411087036, 0.15092310309410095, -0.21286191046237946, -0.14996467530727386, -0.16536085307598114, -0.07486387342214584, 0.18703578412532806, -0.6198888421058655, -0.13274100422859192, 0.19500122964382172, 0.7470095157623291, 0.323468416929245, 0.10226170718669891, -0.3117579519748688, -0.5903570652008057, 0.6911341547966003, -0.8297372460365295, 0.46367233991622925, 0.5133106708526611, 0.11538134515285492, 0.018262026831507683, -0.8070406913757324, -0.49642008543014526, -0.0774015262722969, -0.019872955977916718, 0.03260926902294159, -0.3488420248031616, 0.22431419789791107, 0.34105074405670166, 0.2547730803489685, -0.4853757917881012, 0.05441907048225403, -0.27270805835723877, 0.04262309521436691, 0.3655938506126404, 0.29184192419052124, 0.6122078895568848, -0.17166435718536377, -0.32151487469673157, 0.10790140181779861, -0.4943713843822479, -0.1827308088541031, -0.32538309693336487, -0.042968880385160446, -0.3173513412475586, 0.5708990693092346, -0.3189410865306854, 0.6333838105201721, 0.1331903636455536, -0.2364630550146103, 0.5199218392372131, 0.07480562478303909, -0.5936996340751648, 0.5431725382804871, 0.842345118522644, 0.40998581051826477, -0.17381349205970764, -0.2970287799835205, -0.28267380595207214, 0.1349107027053833, 0.18567006289958954, -0.9669411778450012, -0.40102043747901917, 0.9171218872070312, -0.3336246609687805, -0.04882940277457237, -0.042018234729766846, -0.8161416053771973, -0.1434955596923828, -0.5148137211799622, 0.3138543963432312, -0.49541598558425903, -0.0598127506673336, 0.3991539180278778, -0.2520977258682251, 0.004661876708269119, 0.39812421798706055, -0.8170964121818542, 0.42473798990249634, 0.9865796566009521, 0.9959854483604431, -0.25111034512519836, 0.016926448792219162, -0.30005282163619995, 0.19885259866714478, -0.3267824053764343, 0.8583853244781494, -0.47630614042282104, -0.29639557003974915, -0.16081203520298004, -0.09855370223522186, -0.13283734023571014, -0.7070246338844299, 0.46689510345458984, -0.24516725540161133, 0.10981332510709763, 0.04817091301083565, -0.8747079372406006, 0.08460712432861328, 0.57480788230896, -0.7735098600387573, 0.7435102462768555, 0.18031057715415955, -0.8692747354507446, 0.10243884474039078, -0.8191874027252197, -0.30056965351104736, 0.22783522307872772, -0.38755854964256287, -0.6013987064361572, 0.002091469708830118, 0.14760267734527588, 0.5759149789810181, -0.6473607420921326, 0.2349955141544342, -0.11028362065553665, -0.15502920746803284, 0.28076231479644775, 0.19584757089614868, 0.6294945478439331, 0.30219435691833496, -0.40836766362190247, 0.06730081886053085, -0.6861016154289246, 0.20054174959659576, 0.07392982393503189, -0.42215338349342346, -0.5443433523178101, -0.16022954881191254, 0.15255491435527802, 0.24675214290618896, 0.027529070153832436, -0.5643728971481323, 0.015296612866222858, -0.5840652585029602, 0.5565181970596313, 0.32277610898017883, 0.3232664465904236, 0.255004346370697, -0.5517362356185913, 0.5769447088241577, -0.04398643970489502, -0.023686079308390617, -0.39477208256721497, -0.6555491089820862, -0.4104996919631958, -0.6524664163589478, 0.3503706753253937, 0.6425579786300659, -0.61822509765625, 0.44082602858543396, -0.6204386949539185, -0.312350869178772, -0.5777793526649475, 0.09268278628587723, 0.43258023262023926, 0.6225215196609497, 0.35712113976478577, -0.08250975608825684, -0.3508280813694, -0.9280416369438171, -0.16787205636501312, -0.190409854054451, -0.23209722340106964, -0.005359959788620472, 0.5663694739341736, -0.542822003364563, 0.6682115793228149, -0.42779478430747986, -0.3583681285381317, -0.2840012311935425, 0.11361145973205566, 0.16995428502559662, 0.40333980321884155, 0.043582212179899216, -0.844758927822113, -0.224725142121315, 0.30445942282676697, -0.8999817967414856, -0.14660108089447021, 0.004224921576678753, -0.2647711932659149, -0.3212786018848419, 0.33524468541145325, -0.64378821849823, 0.09044458717107773, 0.36534246802330017, 0.0028107131365686655, 0.2213764488697052, -0.3555254638195038, 0.3224456310272217, -1.2500426769256592, 0.29034554958343506, 0.23146189749240875, -0.17082788050174713, -0.9499710202217102, 0.4044424295425415, 0.19156193733215332, 0.03497449308633804, -0.6034601330757141, 0.44834426045417786, -0.3885939419269562, 0.47561049461364746, 0.003802978666499257, -0.052844464778900146, 0.06376925110816956, 0.21218222379684448, 0.13442882895469666, 0.15890052914619446, 0.4012853503227234, -0.44852757453918457, 0.5759857296943665, 0.4651002287864685, -0.2083566039800644, 0.7455923557281494, -0.7568924427032471, 0.16698065400123596, -0.03599303215742111, 0.15832382440567017, -0.28599783778190613, -0.6233980655670166, 0.536357045173645, -0.1747565120458603, 0.3297184407711029, -0.3101561963558197, -0.6338794231414795, -0.26708871126174927, -0.271892786026001, 0.3270520865917206, 0.5129833221435547, -0.08237684518098831, 0.6663753390312195, 0.7240368127822876, -0.3773750364780426, -0.21684353053569794, -0.7780039310455322, 0.17986616492271423, -0.2866903841495514, -0.17367908358573914, 0.4678806960582733, 0.060865841805934906, -0.4270871579647064, 0.06183695048093796, 0.05863400548696518, -0.40309637784957886, -0.023538712412118912, 0.40094074606895447, 0.456906795501709, -0.21119533479213715, 0.40363654494285583, 0.2121092528104782, -0.04124987870454788, 0.31301620602607727, -0.40819472074508667, 0.48814302682876587, 0.04453885555267334, -0.4432527422904968, -0.6751076579093933, 0.33278191089630127, 0.6378428936004639, -0.2562534511089325, 0.5597309470176697, 0.21968768537044525, -0.8627533912658691, -0.08973725140094757, -0.3281945586204529, -0.12891235947608948, -0.37516653537750244, 0.41119495034217834, -0.12422934919595718, -0.5642693042755127, 0.24009908735752106, -0.23335927724838257, 0.2531203031539917, 0.1757104992866516, 0.98003751039505, 0.007721103727817535, 0.7725327610969543, 0.1715000420808792, 0.007898661307990551, 0.20081229507923126, -0.08414720743894577, 0.001879679155535996, -0.9183117747306824, -0.4817954897880554, -0.4055973291397095, -0.15136824548244476, -0.3048752546310425, -0.4300551414489746, 0.6706618666648865, -0.21397711336612701, -0.12160710990428925, 0.08783764392137527, -0.46916303038597107, 0.24012359976768494, 0.11568842083215714, 0.6175971031188965, 0.37471580505371094, 0.1714550405740738, -0.03344704583287239, 0.15965381264686584, -0.6367140412330627, -0.3417604863643646, 1.2596544027328491, 0.41881829500198364, 0.7177364230155945, 0.016779497265815735, 1.0365233421325684, 0.18249064683914185, 0.4500690698623657, -1.13339364528656, 0.2370273619890213, 0.11346031725406647, -0.5523125529289246, -0.27277159690856934, -0.46871644258499146, -0.9458003640174866, 0.24530872702598572, -0.5240660309791565, -0.5942652821540833, -0.02281358279287815, 0.4513896107673645, -0.48614105582237244, 0.3378468453884125, -0.4438101053237915, 0.6583757400512695, -0.11030793935060501, -0.24474899470806122, -0.11152096837759018, -0.696010947227478, 0.2057521492242813, -0.5380725860595703, 0.6290192604064941, -0.22878949344158173, -0.18168075382709503, 0.5808072686195374, -0.41029247641563416, 0.6033650040626526, 0.3066175580024719, -0.19180576503276825, 0.0423196516931057, 0.033653225749731064, 0.2977798283100128, -0.1413954794406891, -0.14813514053821564, 0.3379844129085541, 0.24487604200839996, -0.14362198114395142, -0.6198972463607788, 0.542425811290741, -0.31510430574417114, -0.3184922933578491, -0.279710978269577, -0.3310799300670624, -0.13658951222896576, 0.3311874568462372, 0.37893569469451904, 0.5844832062721252, -0.19310110807418823, -0.01248387061059475, 0.7097293734550476, -0.008066833019256592, 0.005538456607609987, 0.31790122389793396, -0.05916157364845276, -0.2664421498775482, 0.5671260952949524, -0.1764173060655594, 0.29827746748924255, 0.6168116927146912, 0.4020007848739624, -0.28325971961021423, -0.45460957288742065, -0.8438418507575989, 0.18199241161346436, -0.6593077778816223, -0.09859634190797806, -0.8766734004020691, 0.04770725220441818, -0.14330534636974335, 0.07447739690542221, -0.13173334300518036, -0.33068203926086426, -0.13638652861118317, -0.03792009875178337, 0.4145129323005676, 0.5737971663475037, 0.17626869678497314, 0.07987005263566971, -1.156237006187439, 0.5341028571128845, 0.07282016426324844, 0.19840025901794434, -0.17824894189834595, -0.2832660675048828, -0.37570369243621826, -0.029088962823152542, -0.04717237129807472, -0.9876431226730347, 0.3579619526863098, 0.3531011641025543, 0.5354263186454773, 0.5458465814590454, 0.052792999893426895, 0.5853762626647949, -1.024783968925476, 0.5634798407554626, 0.5568175315856934, -0.9474891424179077, 0.7425786852836609, -0.2635609805583954, 0.13534489274024963, 0.4805843234062195, 0.3456137180328369, -0.7375008463859558, -0.3979485034942627, -0.5539057850837708, -0.945722222328186, 0.4497860372066498, 0.14708258211612701, -0.0447467677295208, -0.034391436725854874, 0.4195389151573181, -0.1584528535604477, 0.404609352350235, -0.1407271772623062, -0.417836993932724, 0.10923916846513748, -0.7225509285926819, 0.1222110465168953, 0.17058107256889343, -0.31653735041618347, -0.12688733637332916, 0.36970221996307373, 0.11702874302864075, 0.35807347297668457, 0.46944159269332886, -0.2775440514087677, -0.3129063844680786, 0.7846821546554565, 0.32348179817199707, 0.6268078088760376, 0.028452778235077858, 0.21106015145778656, 0.034182872623205185, -0.5687301158905029, 0.2583751082420349, 0.04084773734211922, -0.19440214335918427, 0.11639993637800217, 0.3838781416416168, 0.4956122040748596, 0.4569626450538635, -1.014101505279541, 0.3445717394351959, 0.12805409729480743, -0.1978939026594162, -0.13652151823043823, 0.1516392081975937, 0.07911751419305801, 0.0791407972574234, -0.06660807132720947, -0.16302591562271118, 0.5453916788101196, -0.5301966071128845, 0.39163386821746826, 0.020801998674869537, -0.30008670687675476, -0.3228549361228943, 0.701240599155426, -0.013553345575928688, -0.2095678597688675, 0.39919736981391907, 0.127597376704216, -0.5482529401779175, 0.4539240002632141, 0.6000093817710876, 0.7129444479942322, -0.2946012616157532, 0.02933373861014843, 0.34993693232536316, -0.018032196909189224, -0.57813560962677, 0.14057454466819763, 0.10929940640926361, -0.6846211552619934, -0.31166523694992065, -0.5368380546569824, -0.5301274657249451, -0.0505184568464756, -0.9959445595741272, 0.13892759382724762, -0.5802825689315796, -0.4739883840084076, 0.22817690670490265, -0.5002409815788269, -0.6077220439910889, 0.1492549329996109, 0.4430808126926422, 0.5593987107276917, -0.7796530723571777, 0.687860369682312, 1.0804343223571777, -0.11484035104513168, -0.7700458765029907, -0.14728009700775146, 0.4035564363002777, -0.6474830508232117, 0.6727275252342224, -0.043739888817071915, -0.12279674410820007, 0.06051526963710785, -0.2948140799999237, -0.29123038053512573, 0.8798988461494446, 0.11404216289520264, -0.82215815782547, -0.17165088653564453, 0.02065335586667061, 0.48834228515625, -0.3885094225406647, 0.14668191969394684, 0.8290840983390808, 0.5296618938446045, -0.13948430120944977, -0.8840800523757935, 0.172464057803154, -0.4824158251285553, -0.07511565089225769, 0.2817036211490631, -0.06891775876283646, 0.7754504680633545, -0.36865371465682983, -0.2983579933643341, 0.10097141563892365, -0.00722669530659914, 0.35575222969055176, 0.4822239577770233, 0.3023950159549713, 0.6994954347610474, 0.8839245438575745, 0.037960540503263474, 1.1194137334823608, -0.41690200567245483, 0.4263977110385895, 0.9938275218009949, -0.4421897530555725, 1.1497266292572021, 0.4973677694797516, -0.17784681916236877, 0.7272431254386902, 0.5258426070213318, -0.016278112307190895, 0.2890672981739044, -0.004751367028802633, -0.40880995988845825, -0.30230408906936646, 0.10140452533960342, -0.21709932386875153, 0.12429390847682953, 0.8077394366264343, -0.4734678864479065, -0.15976272523403168, 0.00964314490556717, 0.20630685985088348, -0.19131474196910858, -0.34395092725753784, 0.9790803790092468, 0.3621937334537506, -0.31182682514190674, 0.5727511048316956, 0.034225303679704666, 0.21966753900051117, -0.5939426422119141, -0.26042935252189636, 0.3783043920993805, 0.11853449046611786, -0.30635619163513184, -0.39901190996170044, -0.19652564823627472, 0.07483760267496109, -0.19180156290531158, -0.02320600114762783, 0.5474376082420349, -0.5432467460632324, -0.5392427444458008, -0.0054481253027915955, 0.6983585953712463, 0.26134467124938965, -0.1186683177947998, -0.9598492383956909, -0.08939702063798904, -0.19445860385894775, -0.05603460967540741, 0.13607318699359894, 0.5310913324356079, 0.025402897968888283, 0.6897646188735962, 0.8805153369903564, 0.6959842443466187, -0.22573278844356537, -0.04262343794107437, 0.723230242729187, -0.49790993332862854, -0.7814074158668518, -1.1651318073272705, 0.36459916830062866, -0.007971960119903088, -0.0974341407418251, 0.4892089068889618, 0.49967020750045776, 0.4664776027202606, -0.04124179109930992, 0.8103777170181274, 0.1290801763534546, 0.6479590535163879, -0.7934256792068481, 0.8674083948135376, -0.5103158950805664, 0.3085879385471344, -0.27332407236099243, -0.5622140765190125, -0.5044156312942505, 0.5284247398376465, -0.29276373982429504, -0.3521367013454437, 0.7608118653297424, 0.4207308888435364, -0.03280942142009735, -0.04898868128657341, 0.4093037545681, 0.2123280018568039, 0.18795694410800934, 0.5618144869804382, 0.6532807350158691, -0.21636252105236053, -0.08996085822582245, -0.15111896395683289, -0.3537808954715729, -0.3854185938835144, -0.63130122423172, -0.8226458430290222, -0.17018558084964752, -0.35200661420822144, -0.2304476797580719, 0.07942936569452286, 1.743513822555542, 0.7836902141571045, -0.9543954133987427, 0.05377364903688431, 0.2572683095932007, -0.18191275000572205, -0.17242448031902313, -0.08623333275318146, 0.48387274146080017, -0.21592861413955688, -0.5936962962150574, 0.09875252097845078, 0.49346280097961426, 0.01410993468016386, 0.22944657504558563, 0.034081194549798965, 0.27062296867370605, -0.11986076086759567, 0.6485349535942078, 0.34271368384361267, -0.7619494795799255, 0.23333172500133514, -0.058335836976766586, -0.14085917174816132, 0.3374621868133545, 1.112206220626831, -0.4338932931423187, 0.7102696299552917, 0.25268545746803284, 0.7305903434753418, 0.19345614314079285, 0.2168550193309784, 0.40190136432647705, -0.2183016687631607, 0.01598452404141426, 0.36161214113235474, 0.526862382888794, 0.24884484708309174, -0.4114251732826233, 0.061718281358480453, 0.0017503357958048582, -0.271659255027771, -0.5299838781356812, -0.008002100512385368, -0.7435905337333679, -0.4035507142543793, 1.1703296899795532, -0.30768758058547974, -0.495169073343277, -0.39569640159606934, -0.05794084444642067, 0.06830368936061859, -0.471334844827652, 0.7064082026481628, 0.39928874373435974, -0.372566282749176, -0.07655443996191025, -0.9337336421012878, 0.3615070581436157, 0.05781395360827446, -1.1966516971588135, -0.031134163960814476, 0.5860466957092285, 0.48423370718955994, 0.16599300503730774, 0.7660182118415833, -0.46638384461402893, 0.27350321412086487, -0.332966148853302, 0.16534414887428284, 0.001846670638769865, 0.002655048156157136, -0.4849396347999573, -0.04082632437348366, -0.10859263688325882, -0.07810579240322113 ]
http://arxiv.org/abs/2407.00219v1
http://arxiv.org/pdf/2407.00219v1
Evaluating Human Alignment and Model Faithfulness of LLM Rationale
2024-06-28T20:06:30
2024-06-28T20:06:30
Mohsen Fayyaz, Fan Yin, Jiao Sun, Nanyun Peng
cs.CL
cs.CL, cs.AI
We study how well large language models (LLMs) explain their generations with rationales -- a set of tokens extracted from the input texts that reflect the decision process of LLMs. We examine LLM rationales extracted with two methods: 1) attribution-based methods that use attention or gradients to locate important tokens, and 2) prompting-based methods that guide LLMs to extract rationales using prompts. Through extensive experiments, we show that prompting-based rationales align better with human-annotated rationales than attribution-based rationales, and demonstrate reasonable alignment with humans even when model performance is poor. We additionally find that the faithfulness limitations of prompting-based methods, which are identified in previous work, may be linked to their collapsed predictions. By fine-tuning these models on the corresponding datasets, both prompting and attribution methods demonstrate improved faithfulness. Our study sheds light on more rigorous and fair evaluations of LLM rationales, especially for prompting-based ones.
[ -0.20976465940475464, -0.6581834554672241, 0.910355806350708, 0.10846724361181259, -0.15959253907203674, -0.14547327160835266, -0.32217827439308167, -0.27645745873451233, -0.24469339847564697, 0.4343387186527252, -0.9002410173416138, -0.17416371405124664, -0.25224727392196655, 0.2637668550014496, -0.28023359179496765, 0.5666812658309937, -0.15896546840667725, 0.4632423222064972, -0.4976543188095093, -0.11137151718139648, -0.5786994099617004, -0.36254581809043884, -0.6986827254295349, -0.6595900654792786, 0.7217221856117249, 0.3364144563674927, 0.7817449569702148, 1.1618403196334839, 0.3568545877933502, 0.24419595301151276, -0.23733288049697876, 0.20180609822273254, -0.43356725573539734, 0.1335890144109726, -0.43975380063056946, -0.39224764704704285, -0.30813276767730713, 0.38547831773757935, 0.5090675354003906, 0.6827539205551147, -0.1177067756652832, 0.37450551986694336, 0.22130180895328522, 0.5745185017585754, -0.45119509100914, -0.25824588537216187, -0.6760097146034241, -0.28748586773872375, -0.05326591432094574, -0.30363965034484863, -0.6077073216438293, -0.549708902835846, 0.2141937017440796, -0.5505460500717163, 0.11954185366630554, 0.2434890866279602, 0.9811535477638245, 0.2789316177368164, -0.3460065424442291, -0.34388527274131775, -0.5077698230743408, 1.2145485877990723, -0.8125857710838318, 0.42326632142066956, 0.3719712793827057, 0.25863927602767944, -0.46352681517601013, -0.3787412941455841, -0.5181973576545715, -0.2946337163448334, -0.021944105625152588, -0.11700840294361115, 0.01517244428396225, -0.019275713711977005, 0.5504938960075378, 0.19526778161525726, -0.4277634918689728, 0.30488407611846924, -0.16345728933811188, -0.37866678833961487, 0.6444723606109619, 0.20236599445343018, 0.2365315705537796, -0.23325155675411224, -0.6394553184509277, -0.10037756711244583, -0.8715044260025024, 0.038185231387615204, 0.6339854598045349, 0.29807931184768677, 0.11156413704156876, 0.8510943055152893, -0.03185461834073067, 0.7916589379310608, 0.18954408168792725, -0.3388838768005371, -0.14965634047985077, -0.5724965929985046, -0.12366528809070587, 0.003916846588253975, 0.7653893828392029, 0.6347900629043579, 0.7052825689315796, -0.2866747975349426, -0.35745370388031006, 0.15702055394649506, 0.18246440589427948, -0.4515310525894165, 0.22103634476661682, 0.1795302778482437, -0.7092148661613464, -0.34992340207099915, -0.05025520920753479, -0.6312592625617981, -0.5607313513755798, -0.8646478652954102, 0.19675026834011078, -0.3457137644290924, 0.08404501527547836, 0.07261507958173752, -0.1149449422955513, 0.6160484552383423, 0.5472491979598999, -1.0530234575271606, 0.09037645906209946, 0.9944255948066711, 0.6824601888656616, -0.36725738644599915, -0.3116506040096283, -0.516298234462738, 0.11423739790916443, -0.2995969355106354, 0.816578209400177, -0.5037305951118469, -0.18346354365348816, -0.014336426742374897, -0.05116216838359833, -0.10155995190143585, -0.6635484099388123, 0.9115375876426697, -0.4774218499660492, 0.3467700779438019, -0.7203658819198608, -0.790348470211029, -0.2635626792907715, 0.2542535364627838, -0.6433350443840027, 0.7553458213806152, -0.039027102291584015, -0.610634982585907, 0.4783015847206116, -0.6017544865608215, -0.10897491127252579, -0.13612857460975647, -0.22361890971660614, -0.18062162399291992, 0.17149019241333008, 0.38428574800491333, 0.36572661995887756, -0.6080523133277893, 0.433351069688797, -0.5339286923408508, -0.1928023397922516, 0.6708285808563232, -0.8980873227119446, 1.1951322555541992, 0.2652542293071747, -0.15905021131038666, 0.3260628283023834, -0.5204134583473206, -0.049114424735307693, 0.17922937870025635, -0.3493826687335968, -0.05915045738220215, 0.21094083786010742, -0.12088394910097122, 0.1519407480955124, 0.30156293511390686, -0.3787091374397278, 0.42228779196739197, -0.29372623562812805, 0.5193684101104736, 0.9397449493408203, -0.11400031298398972, 0.6114276647567749, -0.5428282618522644, 0.5806644558906555, -0.14382994174957275, 0.20306707918643951, -0.31580060720443726, -0.38969191908836365, -0.4640076756477356, -0.24237008392810822, 0.4561394453048706, 0.42859482765197754, -0.22113923728466034, 0.3672618269920349, -0.41768839955329895, -0.15977782011032104, -0.6661091446876526, 0.21231584250926971, 0.3138498067855835, 0.7965317368507385, 0.05852889269590378, -0.10023479908704758, -0.6019099354743958, -1.0924254655838013, -0.5088918805122375, -0.39831316471099854, -0.16816510260105133, 0.15903736650943756, 0.34133094549179077, -0.24379827082157135, 1.2313334941864014, -0.11037494987249374, 0.3050450086593628, -0.05661768466234207, 0.2043994665145874, -0.10430514812469482, 0.5142219662666321, 0.2903498709201813, -0.5612885355949402, -0.19239814579486847, -0.09150020033121109, -0.751106858253479, -0.3068811595439911, -0.22200870513916016, -0.23782965540885925, 0.30864718556404114, 0.42594900727272034, -0.7393960952758789, 0.36109405755996704, 0.3442709147930145, -0.3926090598106384, 0.7748066782951355, 0.1908639818429947, 0.15099631249904633, -0.9370653033256531, 0.17558351159095764, 0.07641244679689407, -0.40360918641090393, -0.44580206274986267, -0.0729433223605156, 0.17281658947467804, 0.21311497688293457, -0.3303050100803375, 0.7302305102348328, -0.5395522117614746, -0.25871381163597107, -0.18109917640686035, 0.21413718163967133, 0.1534910351037979, 0.10484667122364044, -0.1539400964975357, 0.9154137969017029, 0.2305537611246109, -0.3187100291252136, 0.42231816053390503, 0.1973593831062317, -0.3491843640804291, 0.5272618532180786, -0.5788846015930176, 0.25289779901504517, -0.1504102200269699, 0.24008139967918396, -0.9025232195854187, -0.4335378408432007, 0.2882382571697235, -0.4603056311607361, 0.12847945094108582, -0.21141450107097626, -0.4944474995136261, -0.27390408515930176, -0.48002302646636963, 0.4357311427593231, 0.6281824111938477, -0.6562222838401794, 0.722458004951477, 0.03194732591509819, -0.12524442374706268, -0.628802478313446, -0.4207058250904083, -0.03953051194548607, -0.6715118885040283, -0.8312395811080933, 0.19170965254306793, -0.06473880261182785, -0.6291785836219788, -0.11731211841106415, -0.03777223080396652, 0.0804646760225296, 0.2685422897338867, 0.16886745393276215, 0.598145067691803, -0.4981894791126251, -0.1316213607788086, -0.20807775855064392, -0.12216993421316147, 0.3406234383583069, -0.11998110264539719, 0.5861195921897888, 0.04005046561360359, -0.5827356576919556, -0.7544974088668823, 0.1687132567167282, 0.7434457540512085, -0.0547642856836319, 0.6657764315605164, 0.274203896522522, -0.5350667238235474, 0.1725739985704422, -0.9290054440498352, -0.46366825699806213, -0.4573271572589874, -0.0052556139416992664, 0.005948323290795088, -0.7374191880226135, 0.8126402497291565, -0.06536702811717987, 0.20320773124694824, 0.5157625079154968, 0.7248983383178711, -0.20614305138587952, 1.4322127103805542, 0.4091157615184784, -0.05212365835905075, 0.3874496817588806, 0.2788136899471283, -0.08836112916469574, -0.929767370223999, -0.38954848051071167, -0.5835372805595398, -0.2308184802532196, -0.1804584115743637, -0.2511221468448639, -0.30629587173461914, 0.5895844101905823, -0.20756787061691284, 0.0885045975446701, -0.37034448981285095, 0.7625120282173157, 0.3765889108181, -0.1409972459077835, 0.3270750045776367, 0.0653286948800087, -0.009223801083862782, -0.1557801365852356, -0.5370824337005615, -1.187988519668579, 1.0151654481887817, 0.684812068939209, 0.8706481456756592, 0.013815084472298622, 0.5281998515129089, -0.06702229380607605, 0.6121713519096375, -0.965936005115509, 0.3909453749656677, 0.28078094124794006, -0.6782402992248535, -0.4293844401836395, -0.42548447847366333, -1.0085251331329346, 0.0682973712682724, -0.14098545908927917, -1.0108810663223267, 0.15480093657970428, 0.32677969336509705, -0.5707011818885803, -0.05575519800186157, -0.8440292477607727, 0.8898122310638428, -0.4510115683078766, -0.31953340768814087, -0.046906933188438416, -0.6085546016693115, 0.45165467262268066, -0.11224301159381866, 0.13027389347553253, -0.2836206257343292, -0.050720009952783585, 0.8417980670928955, -0.36579227447509766, 0.7119081616401672, -0.07998201996088028, -0.4875205457210541, 0.26645469665527344, -0.03356589004397392, 0.5721426606178284, -0.020969338715076447, -0.3005954623222351, -0.02565884403884411, -0.09641393274068832, -0.33472496271133423, -0.794924259185791, 0.6631794571876526, -0.5115243196487427, -0.8027504682540894, -0.16498848795890808, -0.7061564326286316, -0.21724066138267517, 0.16936011612415314, 0.232974112033844, 0.31604859232902527, -0.0836101546883583, 0.07807828485965729, 0.6456239223480225, -0.0022303371224552393, 0.2402789145708084, 0.39144548773765564, -0.37932002544403076, -0.3770158886909485, 0.7419141530990601, 0.012731874361634254, 0.4002673923969269, -0.15023386478424072, 0.40773943066596985, -0.6553550958633423, -0.48820480704307556, -0.6674817800521851, 0.37806224822998047, -0.8751477003097534, -0.16248415410518646, -0.2133225053548813, 0.12861785292625427, -0.39347943663597107, -0.27372440695762634, -0.16629545390605927, -0.2232193648815155, -0.5854860544204712, 0.023201508447527885, 0.1956436187028885, 0.7868078351020813, 0.22441153228282928, 0.12999875843524933, -0.816098153591156, 0.09926701337099075, 0.28637614846229553, 0.14591416716575623, 0.10851460695266724, -0.7252384424209595, 0.11212921887636185, 0.29059892892837524, -0.34946563839912415, -1.0214439630508423, 0.15488947927951813, -0.16262590885162354, 0.6436724662780762, 0.5376178026199341, -0.14686991274356842, 0.9673975110054016, -0.4953126311302185, 0.8285918235778809, 0.22589179873466492, -1.03102445602417, 0.34905779361724854, -0.5183019638061523, 0.13072150945663452, 0.7096735239028931, 0.22669076919555664, -0.32892778515815735, -0.019464140757918358, -0.5715495347976685, -0.607499361038208, 0.7672331929206848, 0.12166733294725418, 0.034356337040662766, 0.10694407671689987, 0.8902587294578552, 0.10359395295381546, -0.10645027458667755, -0.7278067469596863, -0.04789896681904793, 0.15258243680000305, -0.5732533931732178, 0.18635857105255127, -0.37561434507369995, -0.33652135729789734, -0.24378807842731476, 0.4976445138454437, -0.2104451060295105, 0.06983650475740433, 0.1215105801820755, -0.043013058602809906, -0.5634661912918091, 0.20460940897464752, 0.9145288467407227, 0.9352098107337952, 0.027221759781241417, 0.037801094353199005, 0.24873894453048706, -0.04648049548268318, 0.21345001459121704, -0.0655268132686615, -0.22909808158874512, -0.23700019717216492, 0.5625515580177307, 0.6312879920005798, 0.007591099012643099, -0.7744751572608948, 0.6043571829795837, -0.21396587789058685, -0.18515567481517792, -0.10260353982448578, -0.035677116364240646, 0.277627557516098, 0.38759055733680725, 0.24131329357624054, 0.012179301120340824, -0.04850400611758232, -0.4981968402862549, 0.0360264852643013, 0.7631192803382874, -0.31873413920402527, -0.3273337781429291, 0.7538249492645264, 0.025158602744340897, -0.5577901005744934, 0.7020333409309387, 0.022527698427438736, -0.6067947745323181, 0.4826507866382599, 0.5983029007911682, 0.8844725489616394, -0.12528520822525024, -0.01722506806254387, 0.28495651483535767, 0.20657604932785034, -0.5605745315551758, 0.19112412631511688, 0.09509185701608658, -0.7696293592453003, -0.8853957056999207, -0.5474211573600769, -0.3639809787273407, 0.052700288593769073, -0.7800531387329102, 0.36147749423980713, -0.13057565689086914, -0.14647425711154938, 0.10455667227506638, -0.24018046259880066, -0.3754880428314209, -0.026409609243273735, 0.303250253200531, 0.9931021332740784, -0.8427192568778992, 0.691037654876709, 0.7006465196609497, -0.3090878427028656, -1.1551169157028198, 0.21646632254123688, 0.16136112809181213, -0.9460746049880981, 0.6293594241142273, 0.29759225249290466, -0.12442319095134735, -0.05401621013879776, -1.0066585540771484, -0.904996931552887, 1.175195336341858, 0.9778500199317932, -0.5763235092163086, -0.007685160730034113, -0.06482009589672089, 0.40406233072280884, -0.35914912819862366, 0.04424605518579483, 0.609857976436615, 0.7319347262382507, 0.13747696578502655, -0.8579549193382263, 0.1303454041481018, 0.11505598574876785, -0.084714874625206, 0.10233712196350098, -0.35090070962905884, 0.6606695652008057, -0.2328270673751831, -0.3884861171245575, 0.30901116132736206, 0.6769984364509583, 0.6042930483818054, 0.3297068178653717, 0.5741389989852905, 0.44157513976097107, 0.9550667405128479, -0.17488057911396027, 1.184893250465393, -0.028488732874393463, 0.35943686962127686, 0.8385084867477417, -0.3512023687362671, 0.7422485947608948, 0.8794645071029663, -0.15335674583911896, 0.4837673008441925, 0.8241137266159058, 0.11314951628446579, 0.23418059945106506, 0.1491032987833023, -0.02825094573199749, -0.42943617701530457, -0.2884370684623718, 0.013917514123022556, 0.10361825674772263, 0.14030276238918304, -0.5108007192611694, -0.00648563401773572, -0.39879825711250305, 0.02640254609286785, 0.023138154298067093, -0.25089144706726074, 0.9041315317153931, 0.16942408680915833, -1.226407766342163, 0.6177318096160889, -0.034013886004686356, 0.4343804717063904, -0.322710782289505, 0.04160445183515549, -0.004436188843101263, -0.02113189734518528, -0.3325147032737732, -0.7586778402328491, 0.17166590690612793, 0.10695469379425049, -0.37391114234924316, -0.3686203956604004, 0.7339963316917419, -0.46622398495674133, -0.24986602365970612, 0.03539073094725609, 0.35709816217422485, 0.04729654639959335, 0.1496531367301941, -0.8198387026786804, 0.1932222992181778, 0.2348393201828003, -0.47828400135040283, 0.19438107311725616, 0.48336702585220337, -0.3389633297920227, 0.794605553150177, 0.8280729651451111, -0.034245170652866364, 0.12056154757738113, 0.1676473319530487, 0.70847487449646, -0.6486138701438904, 0.0828971415758133, -1.357283353805542, 0.6009091138839722, -0.1278843730688095, -0.21524247527122498, 0.8428066968917847, 0.4993007183074951, 0.5612770915031433, 0.10175751894712448, 0.5690229535102844, 0.37290236353874207, 0.397543728351593, -0.7954732775688171, 0.36316946148872375, -0.46449053287506104, 0.40404754877090454, 0.0038593579083681107, -1.1647075414657593, -0.2592049539089203, 0.7666196823120117, -0.4023040235042572, 0.04620465636253357, 0.514134407043457, 0.8992852568626404, 0.010037620551884174, 0.16301359236240387, 0.03304486349225044, -0.1835843175649643, 0.20242823660373688, 0.1311134248971939, 1.3447767496109009, -0.04553576186299324, 0.24309104681015015, 0.03356371447443962, -0.1405741423368454, -0.22385168075561523, -1.1741269826889038, -0.7723944783210754, -0.254488468170166, -0.24892504513263702, -0.37833380699157715, -0.16733966767787933, 1.3102277517318726, 0.3923622667789459, -0.7510907649993896, -0.14556781947612762, -0.23865732550621033, 0.20305703580379486, -0.03041420318186283, -0.2044757902622223, 0.2622188329696655, -0.3838317096233368, -0.5917495489120483, 0.29857590794563293, 0.16999074816703796, 0.27243292331695557, -0.47778379917144775, -0.4683056175708771, 0.051037631928920746, 0.18288594484329224, 0.3470248878002167, 0.19443845748901367, -1.2213953733444214, -0.39861780405044556, 0.1760740727186203, -0.3448668122291565, 0.028210384771227837, 0.935600996017456, -0.5490610599517822, 0.23853565752506256, 0.60636305809021, 0.5610548257827759, -0.19679030776023865, 0.6065928936004639, 0.9257106781005859, -0.4553048610687256, -0.19270457327365875, 0.3115219175815582, 0.5449814200401306, 0.4953726828098297, -0.20991715788841248, 0.3654566705226898, 0.057484012097120285, -0.8439554572105408, -1.049260139465332, 0.2377614676952362, -0.9921035170555115, -0.09669613838195801, 1.4457035064697266, -0.08247868716716766, -0.35326290130615234, -0.24093611538410187, -0.4437757432460785, 0.26657965779304504, -0.35674306750297546, 0.7333604693412781, 1.0067336559295654, -0.1359199583530426, 0.009662889875471592, -0.4370378255844116, 0.46183323860168457, 0.7392532825469971, -0.58046954870224, 0.5543628334999084, 0.6697756052017212, 0.20038101077079773, 0.18284304440021515, 0.31756412982940674, -0.26321545243263245, 0.22184692323207855, -0.42635107040405273, -0.10108231753110886, 0.20242084562778473, -0.026674820110201836, -0.7211679220199585, -0.16976557672023773, 0.5086263418197632, 0.2381879687309265 ]
http://arxiv.org/abs/2407.00211v1
http://arxiv.org/pdf/2407.00211v1
Detection and Measurement of Syntactic Templates in Generated Text
2024-06-28T19:34:23
2024-06-28T19:34:23
Chantal Shaib, Yanai Elazar, Junyi Jessy Li, Byron C. Wallace
cs.CL
cs.CL
Recent work on evaluating the diversity of text generated by LLMs has focused on word-level features. Here we offer an analysis of syntactic features to characterize general repetition in models, beyond frequent n-grams. Specifically, we define syntactic templates and show that models tend to produce templated text in downstream tasks at a higher rate than what is found in human-reference texts. We find that most (76%) templates in model-generated text can be found in pre-training data (compared to only 35% of human-authored text), and are not overwritten during fine-tuning processes such as RLHF. This connection to the pre-training data allows us to analyze syntactic templates in models where we do not have the pre-training data. We also find that templates as features are able to differentiate between models, tasks, and domains, and are useful for qualitatively evaluating common model constructions. Finally, we demonstrate the use of templates as a useful tool for analyzing style memorization of training data in LLMs.
[ -0.17558075487613678, -0.6422775983810425, 0.6706771850585938, -0.042872898280620575, -0.49626588821411133, -0.0686422660946846, -0.13748633861541748, -0.15367718040943146, 0.3802250325679779, 0.5907881855964661, -0.436038076877594, -0.746109127998352, -0.5372263193130493, 0.41230127215385437, -0.922491192817688, 0.9947140216827393, -0.2692825198173523, 0.1873200684785843, -0.3832254707813263, -0.14662347733974457, -0.25245097279548645, -0.8354142904281616, -0.3062379062175751, -0.12393171340227127, 0.4835861921310425, -0.03561137244105339, 0.1366180181503296, 0.7453247904777527, 0.28913164138793945, 0.24497734010219574, -0.16255073249340057, 0.15011967718601227, -0.28503525257110596, 0.4193868935108185, -0.09867890924215317, -0.5724360346794128, -0.6614524722099304, 0.18069806694984436, 0.9513281583786011, 0.6384577751159668, -0.19160014390945435, 0.27257058024406433, 0.26528313755989075, 0.45393094420433044, -0.457805335521698, -0.057005807757377625, -0.8044759035110474, 0.15343326330184937, -0.6545026898384094, -0.3412804901599884, -0.22215257585048676, -0.19799357652664185, -0.07803273946046829, -0.48913273215293884, 0.5904052257537842, 0.07235393673181534, 0.6762774586677551, -0.1581960916519165, -0.49067455530166626, -0.6259260177612305, -0.651055634021759, 0.8472409248352051, -0.5961436033248901, 0.43706241250038147, -0.03508612886071205, 0.14710837602615356, -0.2805718183517456, -1.0623551607131958, -0.8630157709121704, -0.25399547815322876, -0.05181608721613884, 0.09114166349172592, -0.3016647398471832, -0.1889270693063736, 0.275135338306427, 0.6044775247573853, -0.5897861123085022, 0.19389818608760834, -0.16115066409111023, -0.25390562415122986, 0.4102931022644043, 0.5848192572593689, 0.5112482309341431, -0.11930135637521744, -0.17176377773284912, -0.0868268758058548, -0.7336776256561279, -0.1869330257177353, 0.604216456413269, 0.09339901804924011, -0.16227033734321594, 0.49519097805023193, 0.06824151426553726, 0.9044257998466492, -0.3835185170173645, -0.37162041664123535, 0.17014561593532562, -0.8241860270500183, -0.20578670501708984, -0.3021533191204071, 0.7021203637123108, 0.16180425882339478, 0.5813201665878296, -0.14961358904838562, -0.472256064414978, -0.030441271141171455, 0.38520532846450806, -0.4853909909725189, -0.11732269078493118, -0.26572635769844055, -0.4661373794078827, -0.489991158246994, 0.003503083251416683, -0.26296672224998474, -0.3432371914386749, -0.2739724814891815, -0.07452942430973053, -0.44240841269493103, -0.12077649682760239, 0.15561555325984955, -0.5279873609542847, 0.07988792657852173, 0.2752295434474945, -0.7989339828491211, 0.2973825931549072, 0.7458894848823547, 0.8483843207359314, -0.35432177782058716, -0.41328543424606323, -0.18125861883163452, 0.1387508362531662, -0.4450284540653229, 0.9058413505554199, -0.3607329726219177, -0.3811202049255371, -0.044216055423021317, -0.14732585847377777, -0.16730113327503204, -0.7941874265670776, 0.2383272498846054, -0.0991036593914032, 0.35516780614852905, -0.1733982414007187, -0.9686227440834045, 0.020012039691209793, 0.2860720157623291, -0.5885599851608276, 1.01572847366333, 0.4220545291900635, -0.9086130857467651, 0.8212407827377319, -0.12869657576084137, -0.3748103976249695, 0.03328503668308258, -0.4144608974456787, -0.4159512221813202, 0.47706541419029236, -0.05002179741859436, 0.4579438865184784, -0.3778560161590576, 0.26864856481552124, -0.3710864782333374, -0.40744853019714355, 0.4188539683818817, -0.20910030603408813, 0.24779585003852844, 0.19608785212039948, -0.0010657282546162605, 0.16154158115386963, -0.9818397164344788, -0.05305473506450653, 0.36884644627571106, -0.6088027358055115, -0.2437128722667694, -0.10725890845060349, 0.20775097608566284, 0.08149626106023788, 0.1356535255908966, -0.30711838603019714, 0.18774884939193726, -0.1514103263616562, 0.3352227210998535, 0.481834352016449, 0.3736972510814667, 0.07891707867383957, -0.5936776399612427, 0.8785229325294495, 0.2967577278614044, -0.21933436393737793, -0.34953203797340393, -0.3170621693134308, -0.7922537922859192, -0.24428822100162506, 0.038356855511665344, 0.22811082005500793, -0.414931982755661, 0.6330231428146362, -0.19714462757110596, -0.4951684772968292, -0.3618758022785187, 0.50309157371521, 0.5540310740470886, 0.3362746238708496, 0.22513329982757568, -0.7117725014686584, -0.683579683303833, -0.9862403869628906, -0.6910689473152161, 0.1044168472290039, -0.1987566202878952, 0.09030403196811676, 0.5046936273574829, 0.15235716104507446, 0.9505970478057861, -0.2878516912460327, -0.10811477899551392, -0.8120847344398499, 0.33347463607788086, 0.061198849231004715, 0.28549763560295105, 0.885783851146698, -0.449799120426178, -0.4364742636680603, -0.36214444041252136, -0.8137227892875671, -0.2838421165943146, -0.13936829566955566, 0.3627789318561554, 0.20875412225723267, 0.7522076368331909, -0.32778388261795044, 0.431986927986145, 0.3171314001083374, -0.1648632287979126, 0.6497731804847717, -0.09673750400543213, -0.21460101008415222, -1.2220345735549927, 0.26419147849082947, 0.19157177209854126, -0.21108093857765198, -0.774133026599884, -0.17165647447109222, -0.0740019902586937, -0.011575664393603802, -0.40218618512153625, 0.7612917423248291, -0.555335283279419, -0.37368103861808777, -0.17740188539028168, 0.16061657667160034, 0.35475438833236694, 0.11387338489294052, -0.11391592770814896, 0.9467372298240662, 0.07905126363039017, -0.47244417667388916, 0.22148096561431885, -0.13988377153873444, -0.7996180653572083, 0.45473310351371765, -0.5337511301040649, 0.28472447395324707, -0.15089446306228638, 0.35606715083122253, -0.9223185777664185, -0.0022599422372877598, 0.09973209351301193, -0.20093420147895813, 0.16995610296726227, -0.24811674654483795, -0.925508975982666, -0.17785263061523438, -0.23668725788593292, 0.1546224057674408, 0.41671305894851685, -0.03062300942838192, 0.20225873589515686, 0.2766234874725342, -0.03882330656051636, -0.1324997991323471, -0.31380629539489746, 0.04563555866479874, -0.3354623317718506, -0.3986186385154724, 0.1212005466222763, 0.1841544359922409, -0.13327531516551971, -0.24873296916484833, -0.18966764211654663, 0.18329143524169922, 0.519747257232666, 0.07044629007577896, 0.0453147366642952, -0.2983162999153137, 0.031182385981082916, -0.1098082959651947, 0.16106626391410828, 0.02841089852154255, -0.4866761267185211, 1.072996973991394, 0.04609435051679611, -0.4696718752384186, -0.35175931453704834, 0.21930983662605286, 0.3823060393333435, -0.19321253895759583, 0.6085026264190674, 0.7383690476417542, -0.31550461053848267, -0.3038809895515442, -0.47397544980049133, 0.049593325704336166, -0.44860097765922546, 0.6003049612045288, -0.2389543354511261, -0.6893303394317627, 0.5961449146270752, 0.24564242362976074, -0.14202986657619476, 0.3793099820613861, 0.5630412697792053, -0.3244464695453644, 0.7186117172241211, 0.7368438839912415, 0.08200668543577194, 0.6883327960968018, -0.030623244121670723, 0.09406983852386475, -0.800660252571106, -0.21543045341968536, -0.46776896715164185, -0.4696718454360962, -0.5654343366622925, -0.25997886061668396, 0.39550819993019104, 0.3214165270328522, -0.13018691539764404, 0.1957128942012787, -0.29757940769195557, 0.35874608159065247, 0.5948376059532166, -0.2444005310535431, 0.15822309255599976, -0.004198594484478235, -0.37222927808761597, -0.2714022696018219, -0.5760625004768372, -0.710100531578064, 1.1424776315689087, 0.27202194929122925, 0.6356076598167419, -0.19308102130889893, 1.1557154655456543, 0.06540580093860626, 0.27594685554504395, -0.5699570178985596, 0.7244622111320496, -0.44461673498153687, -0.2811867892742157, -0.022534538060426712, -0.31711047887802124, -0.91227126121521, -0.1236642524600029, -0.32406705617904663, -0.8384940028190613, -0.1715535968542099, 0.26565614342689514, -0.094471774995327, 0.4454503357410431, -0.46073001623153687, 0.8251978754997253, -0.1760794073343277, 0.07249490171670914, 0.01674061268568039, -0.014985617250204086, 0.19206148386001587, -0.11162137985229492, -0.20187069475650787, -0.037208620458841324, -0.0030802174005657434, 0.962857186794281, -0.10534187406301498, 0.904688835144043, 0.0965561643242836, -0.26790857315063477, 0.3376682996749878, 0.2156171202659607, 0.3720925748348236, -0.28072962164878845, 0.1526147574186325, -0.09046151489019394, -0.20141713321208954, -0.08046311885118484, -0.6643160581588745, 0.42836490273475647, -0.3222331404685974, -0.5764904618263245, -0.29369989037513733, -0.4916384220123291, -0.07240861654281616, 0.3359930217266083, 0.4935449957847595, 0.4632358253002167, -0.33105623722076416, 0.22584815323352814, 0.2741223871707916, -0.33360061049461365, 0.21627673506736755, 0.28544265031814575, -0.3572671711444855, -0.14353789389133453, 0.9221907258033752, 0.22461818158626556, 0.273734986782074, 0.21485495567321777, 0.08702649176120758, -0.08912776410579681, -1.0951987504959106, -0.12228375673294067, 0.18199984729290009, -0.8063747882843018, -0.036798298358917236, -0.8030040264129639, -0.3492251932621002, -0.4478607773780823, -0.10651826113462448, -0.10380584746599197, -0.6137194633483887, -0.5338740944862366, -0.07768122851848602, 0.17920316755771637, 1.0836193561553955, 0.3650953769683838, 0.47954291105270386, -0.9008378386497498, 0.09898405522108078, 0.008817384019494057, 0.10731350630521774, 0.08186646550893784, -0.5424920320510864, -0.18064315617084503, -0.430151104927063, -0.4736306369304657, -0.8203346133232117, 0.6175879240036011, 0.1419273167848587, 0.5894991755485535, 0.2973434031009674, -0.5096441507339478, 0.23386447131633759, -0.3203263580799103, 0.9574729204177856, 0.22864975035190582, -0.9440801739692688, 0.5664697885513306, -0.5499979257583618, 0.35999318957328796, 0.28759971261024475, 0.301150918006897, -0.8202597498893738, -0.7189387679100037, -0.7153629660606384, -0.8550699353218079, 0.3309204578399658, -0.03903670236468315, 0.27020561695098877, -0.3846842050552368, 0.5897352695465088, 0.007094572298228741, 0.4878457188606262, -0.6520102024078369, -0.1450129747390747, -0.14141398668289185, -0.34886252880096436, -0.025775369256734848, -0.4578615427017212, -0.2063276320695877, 0.09410371631383896, 0.13751006126403809, -0.058584753423929214, -0.016447288915514946, -0.19499939680099487, -0.3143784999847412, 0.1277015060186386, 0.4918614327907562, 0.906018853187561, 0.7456620335578918, -0.2932216227054596, 0.05188071355223656, 0.06793102622032166, -0.5159029960632324, -0.008041595108807087, -0.37133100628852844, -0.13968680799007416, 0.26662713289260864, 0.772799551486969, 0.7103105783462524, 0.34386199712753296, -0.32154762744903564, 0.4169974625110626, 0.026465101167559624, -0.048941321671009064, -0.4333927035331726, 0.49069276452064514, 0.24408039450645447, -0.03235308825969696, 0.12137755006551743, -0.15068456530570984, 0.04364578425884247, -0.6922929286956787, 0.3980495035648346, 0.4756222069263458, -0.19714272022247314, -0.5981433391571045, 0.3305632174015045, 0.17676302790641785, -0.3758866786956787, 0.6530285477638245, -0.20176643133163452, -0.49488019943237305, 0.7886437773704529, 0.8546919226646423, 0.9080419540405273, 0.21523886919021606, -0.09339279681444168, 0.2725962698459625, 0.07165119796991348, 0.04545297473669052, 0.4586741328239441, 0.15710385143756866, -0.9073787331581116, 0.21007439494132996, -0.9221136569976807, -0.19791348278522491, 0.448880672454834, -0.9021791815757751, 0.4158836901187897, -0.7500765919685364, -0.19864074885845184, 0.23073485493659973, -0.23225189745426178, -0.9415040016174316, 0.13233420252799988, 0.2117636501789093, 0.9404032826423645, -0.860104501247406, 0.9434762001037598, 0.7165405750274658, -0.36953482031822205, -0.600799024105072, 0.02762027457356453, 0.2779625654220581, -1.003007173538208, 0.9289119243621826, 0.21871547400951385, -0.035039518028497696, -0.045987170189619064, -0.398812472820282, -0.4767836332321167, 1.2854981422424316, 0.25798556208610535, -0.5549364686012268, -0.3695022165775299, 0.19538699090480804, 0.6911651492118835, -0.6657450795173645, 0.10283283144235611, 0.7626555562019348, 0.23123447597026825, -0.41879239678382874, -0.9792187213897705, -0.0910651832818985, -0.22086867690086365, 0.29961976408958435, 0.23442207276821136, -0.23746974766254425, 1.0559533834457397, 0.006951410323381424, -0.5184670686721802, 0.20183239877223969, 0.39695802330970764, 0.442289799451828, 0.17022718489170074, 0.44552528858184814, 0.7240310311317444, 0.6728929281234741, 0.0341651476919651, 1.1895512342453003, -0.2370123714208603, 0.2297597974538803, 1.1525968313217163, -0.37947866320610046, 0.5295542478561401, 0.5509352684020996, -0.12592971324920654, 0.3906395435333252, 0.2591458857059479, -0.29121705889701843, 0.1744491159915924, 0.6582366228103638, -0.14800547063350677, -0.18764351308345795, -0.20072953402996063, -0.35544830560684204, 0.641873300075531, 0.4166530966758728, -0.624226987361908, -0.41653433442115784, -0.20445440709590912, 0.06317121535539627, 0.18686717748641968, -0.04949427396059036, 1.0051974058151245, 0.345985472202301, -0.4291248023509979, 0.44433364272117615, 0.05905637890100479, 0.7119914293289185, -0.6910171508789062, -0.014401533640921116, -0.44693687558174133, 0.028134819120168686, 0.1308652013540268, -0.8736155033111572, 0.29250001907348633, 0.10784389078617096, -0.2953678071498871, -0.3958563804626465, 0.5724248886108398, -0.3638504147529602, -0.43910151720046997, 0.1622755229473114, 0.7214536666870117, 0.09245851635932922, 0.1282825469970703, -0.45133018493652344, -0.0798034742474556, -0.1349264234304428, -0.26566416025161743, 0.6777893900871277, 0.5931427478790283, -0.022533252835273743, 0.6135945916175842, 0.5925433039665222, 0.45212602615356445, 0.11457110941410065, 0.38195928931236267, 0.7406066060066223, -0.9698710441589355, -0.48796164989471436, -0.7798218727111816, 0.2667604982852936, -0.026680368930101395, -0.6101408004760742, 0.6543771028518677, 0.49730539321899414, 0.994446337223053, -0.16559946537017822, 0.8543881177902222, 0.3230976164340973, 0.5013339519500732, -0.9395791292190552, 0.850916862487793, -0.575225830078125, 0.40696993470191956, -0.12566256523132324, -0.8701906800270081, -0.17882178723812103, 0.4403667151927948, -0.09619973599910736, 0.13876590132713318, 0.6652020812034607, 0.6910633444786072, -0.24987845122814178, -0.2617323100566864, 0.3014015257358551, -0.2725605368614197, 0.4846705198287964, 0.25756552815437317, 0.989213764667511, -0.08652504533529282, 0.27552199363708496, -0.006628438364714384, 0.3055420517921448, -0.15308040380477905, -1.083925724029541, -0.8499119877815247, -0.6964187026023865, -0.13130007684230804, -0.32806822657585144, -0.11068489402532578, 0.7145183086395264, 0.33987221121788025, -0.7239296436309814, -0.38900136947631836, -0.007129912730306387, 0.014993632212281227, -0.014659753069281578, -0.21604911983013153, 0.06207830458879471, -0.6074192523956299, -0.4788491129875183, 0.47760966420173645, 0.34480080008506775, 0.5374564528465271, -0.20158183574676514, 0.2603985369205475, -0.010406137444078922, 0.013806725852191448, 0.1250649392604828, 0.03566989302635193, -0.5909302234649658, -0.29200297594070435, 0.05614503100514412, -0.2819346785545349, 0.09073729068040848, 1.496901273727417, -0.43894338607788086, 0.3397143483161926, 0.5035142302513123, 0.17730697989463806, 0.2862071394920349, -0.21329599618911743, 0.8768215775489807, -1.2749354839324951, 0.2447485327720642, 0.27705129981040955, 0.7008009552955627, 0.32336878776550293, 0.0017505696741864085, 0.3627167046070099, 0.5020167231559753, -0.05808188393712044, -0.9652490019798279, 0.44441962242126465, -0.6971127390861511, -0.10629743337631226, 1.049264907836914, -0.34855711460113525, -0.002777362708002329, -0.07797813415527344, 0.34083569049835205, 0.37032949924468994, 0.018410902470350266, 0.5837802290916443, 0.8620758652687073, -0.05973348766565323, -0.12390927970409393, -0.4934394359588623, 0.6998522877693176, 0.23423831164836884, -0.8575732111930847, 0.028053490445017815, 0.414066344499588, 0.7087178826332092, 0.16958898305892944, 0.8243149518966675, -0.1599705070257187, 0.15571388602256775, -0.05624279007315636, 0.02513209730386734, -0.25324714183807373, -0.3363500237464905, -0.37338486313819885, -0.07348092645406723, 0.20034295320510864, 0.03195344656705856 ]
http://arxiv.org/abs/2407.00191v1
http://arxiv.org/pdf/2407.00191v1
MetaKP: On-Demand Keyphrase Generation
2024-06-28T19:02:59
2024-06-28T19:02:59
Di Wu, Xiaoxian Shen, Kai-Wei Chang
cs.CL
cs.CL
Traditional keyphrase prediction methods predict a single set of keyphrases per document, failing to cater to the diverse needs of users and downstream applications. To bridge the gap, we introduce on-demand keyphrase generation, a novel paradigm that requires keyphrases that conform to specific high-level goals or intents. For this task, we present MetaKP, a large-scale benchmark comprising four datasets, 7500 documents, and 3760 goals across news and biomedical domains with human-annotated keyphrases. Leveraging MetaKP, we design both supervised and unsupervised methods, including a multi-task fine-tuning approach and a self-consistency prompting method with large language models. The results highlight the challenges of supervised fine-tuning, whose performance is not robust to distribution shifts. By contrast, the proposed self-consistency prompting approach greatly improves the performance of large language models, enabling GPT-4o to achieve 0.548 SemF1, surpassing the performance of a fully fine-tuned BART-base model. Finally, we demonstrate the potential of our method to serve as a general NLP infrastructure, exemplified by its application in epidemic event detection from social media.
[ -0.004992553032934666, -0.39812251925468445, 0.5794470906257629, 0.31707319617271423, -0.2900640368461609, 0.0383615605533123, -0.08426660299301147, -0.09662599116563797, 0.34830641746520996, 0.7460690140724182, -0.6321730613708496, -0.5652461647987366, -0.528852641582489, 0.3706011474132538, -0.29020488262176514, 0.8100060224533081, 0.15274862945079803, -0.23348860442638397, -0.05467631667852402, -0.0027223017532378435, -0.3859688341617584, -0.2375408411026001, -0.5193155407905579, -0.21759818494319916, 0.5895416736602783, 0.6718733310699463, 0.6436389088630676, 0.6929673552513123, 0.5638569593429565, 0.08140130341053009, 0.26495739817619324, 0.2927417457103729, -0.28739672899246216, 0.6958513855934143, -0.12866318225860596, -0.009152242913842201, -0.3480544090270996, -0.05146752670407295, 0.3042641580104828, 0.5418540835380554, -0.08877702802419662, 0.15758474171161652, 0.2706216871738434, 0.6920981407165527, -0.8146731853485107, 0.06764186918735504, -0.8831545114517212, 0.1495063453912735, -0.27640801668167114, -0.369586706161499, -0.10655832290649414, -0.14038433134555817, 0.22720329463481903, -0.5083803534507751, 0.3295818865299225, -0.22794459760189056, 0.5065203309059143, 0.2942017614841461, -0.2860054671764374, -0.3197682499885559, -0.19070890545845032, 0.3714410662651062, -0.7113910913467407, 0.5586652755737305, 0.7368698716163635, 0.08894835412502289, -0.22907239198684692, -0.9848718643188477, -0.1876782327890396, -0.15915368497371674, 0.24192824959754944, 0.16478610038757324, 0.2453201413154602, 0.12080048024654388, 0.014622900635004044, -0.16999568045139313, -0.716081976890564, -0.12747427821159363, -0.13639673590660095, -0.13640141487121582, 0.38958632946014404, 0.0835927277803421, 0.10332316160202026, -0.5509462356567383, 0.16572777926921844, -0.13613536953926086, -0.6998330354690552, -0.12889309227466583, -0.0708102211356163, 0.5537710785865784, 0.20025703310966492, 0.4617953896522522, -0.5971579551696777, 0.3519101142883301, 0.2638198733329773, -0.029756592586636543, 0.2922208607196808, -0.5103052258491516, 0.00038597144884988666, 0.18548402190208435, 0.8778873682022095, 0.5937680006027222, 0.06975584477186203, -0.33138227462768555, 0.213826522231102, -0.13125956058502197, 0.3464960753917694, -0.9319087266921997, -0.4705539643764496, 0.3800745904445648, -0.5484781861305237, -0.49515098333358765, -0.2862541377544403, -1.076921820640564, -0.23406709730625153, 0.05264061689376831, 0.39868542551994324, -0.3689626157283783, 0.060035232454538345, 0.21633397042751312, -0.29739999771118164, -0.22576598823070526, -0.011720255948603153, -1.0920647382736206, -0.12147922068834305, 0.5945905447006226, 1.0863667726516724, -0.28498461842536926, -0.3045091927051544, -0.612521767616272, 0.4132658541202545, -0.35980024933815, 0.7486485838890076, -0.7463417649269104, -0.3617001473903656, 0.13885247707366943, -0.10773511976003647, -0.06522722542285919, -0.3351268768310547, 0.9158148169517517, -0.18953359127044678, -0.12388314306735992, -0.5549919605255127, -0.3481590151786804, 0.3254269063472748, 0.3034206032752991, -0.3960566818714142, 0.9225575923919678, 0.02347719855606556, -0.6783986687660217, 0.6805800795555115, -0.739168643951416, -0.6157805323600769, 0.3146480917930603, -0.17974109947681427, -0.4970533847808838, 0.26704785227775574, 0.5001981854438782, 0.7982181906700134, -0.1911483258008957, 0.3448929786682129, -0.5857154130935669, 0.2064979076385498, 0.018879596143960953, -0.20412231981754303, 0.29301917552948, 0.41968074440956116, -0.36080700159072876, -0.20655584335327148, -0.7739952206611633, 0.40334397554397583, 0.10582554340362549, -0.30504560470581055, -0.36907365918159485, 0.3886069655418396, 0.1198941096663475, 0.25603291392326355, 0.3519468903541565, -0.6467031240463257, 0.47011658549308777, -0.44998836517333984, 0.7581407427787781, 0.44277042150497437, 0.2720567286014557, 0.17972087860107422, -0.06590937823057175, 0.39786773920059204, -0.43078529834747314, 0.19573792815208435, -0.37422212958335876, -0.6743689775466919, 0.03892632946372032, -0.15166178345680237, 0.22107195854187012, 0.3171854019165039, -0.4392290413379669, 0.3197184205055237, -0.41708844900131226, -0.43538299202919006, -0.4903568923473358, 0.3193534016609192, 0.2962481379508972, 0.3548288345336914, 0.5050829648971558, 0.009008405730128288, -0.5853070020675659, -0.5718298554420471, -0.38985350728034973, 0.12600016593933105, -0.1738576740026474, 0.1980375349521637, 0.23684051632881165, -0.5313895344734192, 0.7813566327095032, -0.5975345373153687, -0.3723393976688385, -0.23945234715938568, 0.4323634207248688, 0.2245025932788849, 0.32584840059280396, 0.25722941756248474, -0.7279679179191589, -0.7929912805557251, -0.08966103196144104, -0.6374937891960144, -0.5466063022613525, 0.07894545793533325, 0.14090903103351593, -0.326771080493927, 0.7103335857391357, -0.5203426480293274, -0.03383846580982208, 0.6188575625419617, -0.12307635694742203, 0.17648057639598846, -0.4232381284236908, 0.3021794259548187, -1.2791930437088013, 0.20325659215450287, -0.29935139417648315, -0.13001568615436554, -0.6382285952568054, 0.01695782132446766, 0.12507307529449463, -0.5049567818641663, -0.15745210647583008, 0.4513368010520935, -0.2522853910923004, 0.018690481781959534, -0.43450963497161865, -0.1378694623708725, -0.16852979362010956, 0.05911632254719734, -0.013292184099555016, 0.4486057162284851, 0.24179163575172424, -0.571109414100647, 0.06737438589334488, 0.34031373262405396, -0.05992894247174263, 0.1168351024389267, -0.8643773198127747, 0.008519074879586697, 0.12384411692619324, 0.33558347821235657, -1.0409212112426758, -0.5546108484268188, 0.05112126097083092, -0.4158534109592438, 0.011277816258370876, -0.03270171955227852, -0.6602785587310791, -0.5597679018974304, -0.3953416347503662, 0.3215814232826233, 0.40368297696113586, -0.3312952518463135, 0.30975010991096497, 0.2653977870941162, -0.30328458547592163, -0.2951248586177826, -0.21320268511772156, 0.3519092798233032, 0.12304279953241348, -0.6301957964897156, 0.4514583349227905, 0.09849867224693298, 0.3126430809497833, -0.20864787697792053, -0.08308162540197372, 0.09267629683017731, 0.1391771137714386, 0.5455695390701294, -0.20154818892478943, 0.07470045238733292, 0.11188972741365433, 0.2926768958568573, -0.20737513899803162, -0.21704711019992828, -0.38503146171569824, 0.6192482113838196, 0.38924381136894226, -0.3778258264064789, -0.32009848952293396, 0.5003832578659058, 0.6861964464187622, -0.2879285514354706, 0.18270087242126465, 0.4064563810825348, -0.31013646721839905, 0.10239988565444946, -0.28833723068237305, -0.34831276535987854, -0.5095127820968628, 0.3188741207122803, -0.33481112122535706, -0.5845993757247925, 0.18117181956768036, -0.1098380833864212, 0.3493313491344452, 0.5170755982398987, 0.5222810506820679, -0.10883799195289612, 1.4141234159469604, 0.2778867185115814, -0.13936597108840942, 0.23793980479240417, 0.03468494862318039, 0.15636909008026123, -0.5011457204818726, 0.13068775832653046, -0.6247859001159668, -0.3382117450237274, -0.7308585047721863, -0.133330300450325, 0.6243215203285217, 0.06183920428156853, -0.024410970509052277, 0.36558160185813904, -0.7274028658866882, 0.2786044776439667, 0.764886200428009, 0.06289829313755035, 0.1982593983411789, -0.10523992031812668, -0.1595493108034134, -0.1310006082057953, -0.7382660508155823, -0.3096647560596466, 1.6587417125701904, -0.003554302966222167, 0.5891923904418945, -0.34152084589004517, 0.7821754217147827, 0.5142879486083984, -0.10283228009939194, -0.22091826796531677, 0.3618098795413971, -0.35426294803619385, -0.74626624584198, -0.3747614622116089, -0.2620193660259247, -1.3768287897109985, 0.042755987495183945, -0.3839111626148224, -0.7082235217094421, -0.07149311900138855, 0.36471027135849, -0.4810522198677063, -0.1722380518913269, -0.31813010573387146, 1.0813689231872559, -0.16172760725021362, -0.03236498683691025, -0.18243467807769775, -0.79182368516922, 0.132480189204216, -0.16387489438056946, 0.04610205814242363, -0.2956031262874603, 0.03258085250854492, 0.5415631532669067, -0.25793564319610596, 0.6189378499984741, -0.08224496245384216, 0.19999393820762634, 0.015942340716719627, -0.1852172613143921, 0.7782872319221497, 0.08543750643730164, -0.0262442659586668, -0.028311394155025482, 0.1774984449148178, -0.2785355746746063, -0.2406120002269745, 0.6096058487892151, -0.4196693003177643, -0.17094486951828003, -0.06646653264760971, -0.4048667848110199, -0.35165587067604065, 0.28051307797431946, 0.8685597777366638, 0.40354669094085693, -0.0917128473520279, 0.4284031093120575, 0.711091160774231, -0.09610728919506073, 0.4220019578933716, 0.3922904133796692, -0.0663280189037323, -0.4786440134048462, 1.039318323135376, 0.14117497205734253, 0.30274316668510437, 0.6401647329330444, 0.39980238676071167, -0.3205789625644684, -0.6062623262405396, -0.22447602450847626, 0.025948652997612953, -0.4090535640716553, -0.19872677326202393, -1.1009588241577148, 0.027543572708964348, -1.1714885234832764, -0.5069445967674255, -0.5141497850418091, -0.1736573874950409, -0.24048709869384766, 0.2063164860010147, 0.12934428453445435, 0.3382124900817871, -0.2792234420776367, 0.3282443583011627, -1.1153504848480225, 0.7463101148605347, 0.3129730820655823, 0.10780763626098633, -0.3079476058483124, -0.34395772218704224, -0.17025446891784668, 0.05301865190267563, -0.6394649147987366, -0.8940801620483398, 0.4229435920715332, 0.5916667580604553, 0.44997912645339966, 0.6982319951057434, 0.3942728042602539, 0.24834132194519043, -0.7951032519340515, 0.5958470702171326, 0.1028551310300827, -0.6107970476150513, 0.8710886240005493, -0.6079818606376648, 0.4865591824054718, 0.8357457518577576, 0.47177019715309143, -0.8769489526748657, -0.647514283657074, -0.7235280871391296, -0.8346142172813416, 0.2518939971923828, 0.13876011967658997, 0.07024722546339035, -0.2535921335220337, 0.34580910205841064, 0.12036298960447311, 0.260488897562027, -0.28607383370399475, 0.013359797187149525, -0.4030701518058777, -0.556195080280304, -0.21033251285552979, -0.18860754370689392, 0.10909697413444519, 0.07441598922014236, 0.5698974132537842, -0.3398216664791107, 0.17281299829483032, 0.27130672335624695, 0.08326476812362671, -0.24097386002540588, 0.2590232193470001, 0.7146242260932922, 0.5179159045219421, -0.33672016859054565, 0.016572492197155952, -0.06776697933673859, -0.7690717577934265, 0.06528313457965851, 0.22989462316036224, -0.39199283719062805, 0.189657524228096, 0.3344344198703766, 0.39589130878448486, 0.4287227690219879, -0.8171242475509644, 0.5514562129974365, 0.19951403141021729, -0.5447113513946533, 0.09773515909910202, 0.029502583667635918, 0.06996819376945496, 0.22128789126873016, 0.6344962120056152, -0.40301552414894104, 0.3314841687679291, -0.558837890625, 0.39780327677726746, 0.6483139991760254, -0.08137724548578262, -0.38891854882240295, 0.9430466294288635, 0.23438715934753418, -0.24710293114185333, 0.37707072496414185, -0.08988609910011292, -0.45948079228401184, 0.2933824360370636, 0.43048667907714844, 1.0772596597671509, -0.3700472116470337, 0.4297068119049072, 0.3062136471271515, 0.27778661251068115, -0.4172550141811371, 0.3144785165786743, -0.018107954412698746, -0.6249101161956787, -0.2009865641593933, -0.6233794689178467, -0.42261314392089844, 0.3402179181575775, -0.3844658434391022, 0.15657848119735718, -0.40778249502182007, -0.2713164985179901, 0.3886454999446869, -0.010601935908198357, -0.3596853017807007, 0.10218522697687149, -0.09634646028280258, 0.5921350121498108, -0.907697319984436, 0.6168160438537598, 0.3751012980937958, -0.18595880270004272, -0.39723244309425354, 0.07472927123308182, -0.1895601600408554, -0.8886765241622925, 0.5058620572090149, 0.38868528604507446, 0.498067170381546, 0.1037072241306305, -0.6032692193984985, -1.0504653453826904, 0.846526026725769, 0.169094979763031, -0.5367228984832764, -0.38064542412757874, 0.29066744446754456, 0.349306583404541, -0.2669249176979065, -0.3227948248386383, 0.3065539598464966, 0.4626770615577698, -0.039256785064935684, -0.8310532569885254, 0.026850953698158264, 0.15645645558834076, -0.18296217918395996, 0.42923206090927124, -0.26048991084098816, 0.5706797242164612, -0.08724229782819748, 0.02177267335355282, -0.09600036591291428, 0.49266114830970764, 0.2445300966501236, 0.48616206645965576, 0.20427608489990234, 0.6615768074989319, 0.5212320685386658, 0.21338781714439392, 0.7338510751724243, -0.5049701929092407, 0.15208806097507477, 1.101855754852295, -0.31567323207855225, 0.8604896664619446, 0.3092414438724518, -0.012213676236569881, -0.1561758816242218, 0.616477906703949, -0.053319789469242096, 0.9398059844970703, -0.13520006835460663, -0.039531391113996506, -0.35192301869392395, 0.036848410964012146, -0.44008904695510864, 0.3134402334690094, 0.34008097648620605, -0.6206516623497009, -0.44944998621940613, 0.41125670075416565, -0.2670128643512726, -0.25096988677978516, -0.37098684906959534, 0.7334839105606079, -0.13337862491607666, -0.7892006635665894, 0.3689907193183899, -0.17089636623859406, 0.3888889253139496, -0.6468848586082458, 0.17291755974292755, 0.04912182316184044, 0.2217896729707718, 0.07093494385480881, -0.6517946124076843, 0.11261248588562012, -0.26926738023757935, -0.314541220664978, -0.3462778329849243, 0.8211112022399902, -0.32972389459609985, -0.4797869622707367, 0.08990640938282013, 0.2987614870071411, 0.21618503332138062, -0.4760792851448059, -0.8130772113800049, -0.24215534329414368, 0.03223680704832077, -0.3295785188674927, 0.4567185640335083, 0.4615256190299988, 0.2825049161911011, 0.6213152408599854, 0.7065653204917908, 0.17599990963935852, 0.14815397560596466, -0.16774509847164154, 0.49397581815719604, -0.44939833879470825, -0.397232323884964, -0.8405352830886841, 0.046607278287410736, -0.14252819120883942, -0.7040221095085144, 0.6216688752174377, 0.5200695395469666, 0.49226775765419006, -0.059357043355703354, 0.9253125786781311, 0.06558018177747726, 0.843826413154602, -0.3879026174545288, 0.5848116874694824, -0.6743622422218323, -0.3932560086250305, -0.47917425632476807, -0.6639983057975769, -0.15073953568935394, 0.24326227605342865, 0.13579699397087097, -0.35041046142578125, 0.6027867794036865, 0.5238207578659058, 0.08041682839393616, -0.05704151839017868, 0.3972174823284149, -0.1743861734867096, 0.35432058572769165, 0.27461934089660645, 0.20587535202503204, -0.3031834661960602, 0.5664400458335876, 0.0601310171186924, -0.037282560020685196, -0.7836628556251526, -0.8148049116134644, -0.7216956615447998, -0.7963343858718872, -0.11008495092391968, -0.2222812920808792, 0.303179532289505, 1.041890263557434, 0.6485003232955933, -0.6970109939575195, 0.1746729165315628, -0.47519880533218384, -0.17676492035388947, -0.2977972626686096, -0.13584458827972412, 0.29343917965888977, -0.8100811243057251, -0.3879210352897644, 0.40718162059783936, 0.3960777223110199, -0.002140217227861285, -0.04865168407559395, 0.13338442146778107, -0.24087753891944885, 0.025359176099300385, 0.44319459795951843, 0.5670735239982605, -0.3995139002799988, -0.01063408050686121, 0.24550417065620422, -0.37971359491348267, -0.0693497285246849, 0.8670771718025208, -0.30386391282081604, 0.317468523979187, 0.637407660484314, 1.0141392946243286, 0.508589506149292, -0.02786445990204811, 0.6862925887107849, -0.587917149066925, -0.5326057076454163, 0.23490756750106812, 0.15895822644233704, 0.05308062955737114, -0.40134698152542114, 0.5072988867759705, 0.43236422538757324, -0.8168846368789673, -0.694133996963501, 0.17484654486179352, -0.7729834318161011, -0.38056376576423645, 1.1781584024429321, 0.13749361038208008, -0.03718684986233711, -0.30441227555274963, -0.022159775719046593, 0.1609019935131073, -0.49882277846336365, 0.8879700303077698, 0.44963133335113525, -0.018083974719047546, 0.00609593465924263, -0.6911122798919678, 0.7626277208328247, 0.3776262402534485, -0.7381773591041565, 0.4326693117618561, 0.28879863023757935, 0.26002928614616394, 0.22010226547718048, 0.9386118650436401, 0.2905691862106323, 0.31277790665626526, -0.1331072300672531, -0.009809695184230804, 0.24334289133548737, -0.3802492320537567, 0.17905256152153015, 0.47234615683555603, -0.27343040704727173, -0.27188757061958313 ]
http://arxiv.org/abs/2407.00167v1
http://arxiv.org/pdf/2407.00167v1
Can GPT-4 Help Detect Quit Vaping Intentions? An Exploration of Automatic Data Annotation Approach
2024-06-28T18:06:48
2024-06-28T18:06:48
Sai Krishna Revanth Vuruma, Dezhi Wu, Saborny Sen Gupta, Lucas Aust, Valerie Lookingbill, Wyatt Bellamy, Yang Ren, Erin Kasson, Li-Shiun Chen, Patricia Cavazos-Rehg, Dian Hu, Ming Huang
cs.CL
cs.CL, cs.AI, cs.ET, cs.HC, cs.SI
In recent years, the United States has witnessed a significant surge in the popularity of vaping or e-cigarette use, leading to a notable rise in cases of e-cigarette and vaping use-associated lung injury (EVALI) that caused hospitalizations and fatalities during the EVALI outbreak in 2019, highlighting the urgency to comprehend vaping behaviors and develop effective strategies for cessation. Due to the ubiquity of social media platforms, over 4.7 billion users worldwide use them for connectivity, communications, news, and entertainment with a significant portion of the discourse related to health, thereby establishing social media data as an invaluable organic data resource for public health research. In this study, we extracted a sample dataset from one vaping sub-community on Reddit to analyze users' quit-vaping intentions. Leveraging OpenAI's latest large language model GPT-4 for sentence-level quit vaping intention detection, this study compares the outcomes of this model against layman and clinical expert annotations. Using different prompting strategies such as zero-shot, one-shot, few-shot and chain-of-thought prompting, we developed 8 prompts with varying levels of detail to explain the task to GPT-4 and also evaluated the performance of the strategies against each other. These preliminary findings emphasize the potential of GPT-4 in social media data analysis, especially in identifying users' subtle intentions that may elude human detection.
[ -0.2770231366157532, -1.0206812620162964, 1.1687407493591309, -0.09411253035068512, -0.2803727090358734, -0.26976674795150757, -0.144364595413208, -0.33426421880722046, 0.34472090005874634, 0.35196128487586975, -0.44059625267982483, -0.6518406271934509, -0.4746566116809845, 0.18947604298591614, -0.2670345604419708, 1.129884123802185, -0.3757420778274536, -0.2997393310070038, 0.07083608955144882, 0.08889508992433548, -0.6337400078773499, -0.48716703057289124, -1.142041802406311, 0.06992360204458237, 0.8690934777259827, 0.29804784059524536, 0.08660277724266052, -0.26445990800857544, 0.13641716539859772, 0.26740479469299316, 0.17512273788452148, -0.06505943834781647, -0.49678269028663635, -0.03574182838201523, 0.19828663766384125, -0.4061677157878876, -0.23123592138290405, 0.12228966504335403, 0.29195961356163025, -0.050422750413417816, -0.18399403989315033, 0.2956211566925049, -0.10169234126806259, 0.4309057295322418, -0.29095548391342163, -0.06900066882371902, -0.42464515566825867, -0.06591442972421646, -0.3953676223754883, -0.4496079683303833, -0.14890392124652863, -0.28540781140327454, -0.20583826303482056, -0.7556069493293762, 0.3508339822292328, -0.2800753116607666, 0.9400190114974976, 0.38716790080070496, -0.38357865810394287, -0.12543663382530212, -0.8498266935348511, 0.18229636549949646, -0.6572285294532776, 0.3209522068500519, 0.5844202041625977, 0.4914610683917999, 0.000689762004185468, -0.5067058801651001, -0.627091646194458, 0.24887551367282867, -0.022437479346990585, 0.18783725798130035, -0.4148218333721161, 0.07567622512578964, 0.29663795232772827, 0.11084678024053574, -0.6206779479980469, -0.10628876835107803, -0.48252028226852417, -0.06091254949569702, 0.531944751739502, -0.06979215890169144, 0.5642214417457581, -0.22280581295490265, -0.2656233310699463, 0.4373076856136322, -0.6577740907669067, 0.1978209763765335, 0.5074865818023682, -0.19380128383636475, -0.1038588136434555, 0.4239211976528168, -0.1892898827791214, 0.31880101561546326, 0.04267087206244469, 0.20352803170681, 0.25824275612831116, -0.7860091924667358, -0.3580755889415741, 0.0331241674721241, 1.1403394937515259, 0.6174242496490479, 0.31492525339126587, 0.2281808853149414, 0.02399452030658722, -0.15697070956230164, 0.29322585463523865, -0.8894849419593811, -0.5119404792785645, 0.4774038791656494, -0.7135955691337585, -0.3737229108810425, 0.059932757169008255, -0.6024978756904602, -0.11594562977552414, -0.14523276686668396, 0.3878174126148224, -0.39100202918052673, -0.2539374828338623, 0.09558457881212234, -0.3764207065105438, -0.16104872524738312, 0.43591436743736267, -0.8950802683830261, 0.36824139952659607, 0.5321860909461975, 1.1565892696380615, 0.11406462639570236, 0.17765170335769653, -0.5098023414611816, 0.015044175088405609, -0.27046889066696167, 0.7173336148262024, -0.3955521583557129, -0.2446497529745102, -0.12247241288423538, 0.06788889318704605, 0.059284888207912445, -0.18461669981479645, 0.7699751257896423, -0.31302449107170105, 0.2754100561141968, -0.6311739683151245, -0.3567248582839966, -0.5004125833511353, 0.564487636089325, -0.7386180758476257, 0.7511202692985535, -0.07674848288297653, -0.5778257846832275, 0.6902542114257812, -0.7064544558525085, -0.17771604657173157, 0.4700850248336792, -0.5632101893424988, -0.6212586164474487, 0.07301487773656845, 0.4263400733470917, 0.5801928639411926, -0.05627461522817612, 0.26507869362831116, -0.26528650522232056, -0.28693512082099915, 0.1541290432214737, -0.6602789163589478, 0.7416232824325562, -0.030685003846883774, -0.4928799569606781, 0.2675628662109375, -0.1315682977437973, -0.05626865103840828, 0.10024622827768326, 0.003197970800101757, -0.5497228503227234, -0.15881870687007904, 0.10470113158226013, 0.4957796335220337, 0.06307846307754517, -0.6309492588043213, 0.27088430523872375, 0.081455759704113, 0.6610434055328369, 0.6262830495834351, 0.8313250541687012, -0.4289212226867676, -0.2331373244524002, 0.7913898229598999, -0.29080018401145935, 0.49017390608787537, -0.09458380937576294, -1.080933690071106, -0.02002561464905739, -0.23307621479034424, 0.1452537477016449, 0.18479523062705994, -0.6771795153617859, 0.4816106855869293, -0.13789018988609314, -0.4246059060096741, -0.3286875784397125, 0.1190522089600563, 0.2156217396259308, 0.513346791267395, 0.4300628900527954, -0.1554892659187317, -0.3669362962245941, -0.7483584880828857, -0.22398991882801056, -0.3672957122325897, -0.12657421827316284, 0.34676575660705566, 0.40299099683761597, -0.22398719191551208, 0.6640385389328003, -0.35329559445381165, -0.446959912776947, -0.09701024740934372, 0.29223087430000305, -0.036417119204998016, -0.24439267814159393, 0.659250795841217, -0.9772733449935913, -0.6557629108428955, 0.25053155422210693, -0.6498064398765564, -0.27405622601509094, -0.3906102776527405, -0.07967111468315125, -0.012581403367221355, 0.14714404940605164, -0.5259982347488403, 0.7735769748687744, 0.49594786763191223, -0.3532189726829529, 0.5127794146537781, -0.12324392050504684, 0.72186279296875, -0.6319429874420166, 0.04271446540951729, 0.32567480206489563, -0.0771031454205513, -0.7485119104385376, -0.7969075441360474, 0.07222956418991089, 0.14006775617599487, -0.4386627972126007, 0.505363941192627, -0.05995052307844162, 0.20177540183067322, -0.17701128125190735, -0.3234427273273468, 0.10122758150100708, 0.14688940346240997, 0.06515589356422424, 0.48573145270347595, 0.20949378609657288, -0.33126315474510193, -0.018075937405228615, 0.2162482738494873, 0.012695297598838806, 0.5697594881057739, -0.605467677116394, -0.07117073237895966, 0.1083371639251709, 0.5359807014465332, -1.022944688796997, -0.48524731397628784, 0.8056470155715942, -0.6399002075195312, -0.023702533915638924, -0.2576340138912201, -0.31688210368156433, -0.4845565855503082, -0.41010889410972595, 0.537813127040863, 0.41412824392318726, -0.25895214080810547, 0.2870071530342102, 0.2599020302295685, -0.11214598268270493, -0.04822477698326111, -0.5248409509658813, 0.2654775083065033, -0.5551908016204834, -0.39180222153663635, 0.26563599705696106, 0.03805827721953392, -0.009048203006386757, 0.11507385969161987, -0.020733997225761414, -0.011574186384677887, -0.22229363024234772, 0.30341535806655884, 0.11678116023540497, 0.37481489777565, 0.22943593561649323, -0.06284497678279877, -0.12407073378562927, 0.37545502185821533, -0.12371867895126343, 0.33994153141975403, -0.03789055719971657, -0.277560830116272, -0.959632158279419, 0.31802400946617126, 0.2423674464225769, -0.022927163168787956, 0.3485654592514038, 0.7241315245628357, -0.5957074761390686, 0.19224856793880463, -0.6984453797340393, -0.07125595211982727, -0.48267537355422974, -0.07006677985191345, -0.1841963231563568, -0.5033032894134521, 0.303475558757782, 0.1268945038318634, -0.09595111012458801, 0.30540168285369873, 0.7047730088233948, -0.08795565366744995, 0.8606160283088684, 0.16324178874492645, -0.05525439232587814, 0.4866129159927368, -0.20783433318138123, 0.44235819578170776, -0.5909764170646667, -0.2587524950504303, -0.14957678318023682, -0.30919721722602844, -0.37114018201828003, -0.2878858149051666, 0.5413371324539185, -0.27016139030456543, -0.14680233597755432, 0.13642603158950806, -0.8643258810043335, 0.3329046666622162, 0.32509341835975647, 0.3950948417186737, 0.18372385203838348, -0.1507667899131775, 0.39982515573501587, -0.14502815902233124, -0.4046521484851837, -0.5116381049156189, 1.1630101203918457, 0.2750689387321472, 0.13895519077777863, 0.04979393258690834, 0.9735392928123474, 0.30418604612350464, 0.30764472484588623, -0.6637753844261169, 0.2524931728839874, 0.06450770050287247, -0.5306720733642578, -0.39163175225257874, -0.45430344343185425, -1.052289366722107, -0.2225385308265686, 0.021683761849999428, -0.7083382606506348, 0.11255845427513123, 0.27422598004341125, -0.5261982679367065, 0.28247690200805664, -0.7822222113609314, 0.9774432182312012, -0.8347684144973755, -0.15384331345558167, 0.27993687987327576, -0.38949793577194214, 0.5484815835952759, -0.3538479804992676, 0.4099276661872864, -0.17287488281726837, -0.07140400260686874, 0.9264516830444336, -0.32136833667755127, 0.6898586750030518, -0.3854459822177887, 0.18905872106552124, 0.5600419640541077, -0.32350438833236694, 0.4889308512210846, 0.25559520721435547, 0.175027996301651, 0.5927304625511169, -0.17480428516864777, -0.11103761196136475, -0.552017331123352, 0.641988217830658, -0.48132258653640747, -0.13470183312892914, -0.20691652595996857, 0.12169777601957321, 0.12043978273868561, 0.36631616950035095, 0.5623522996902466, 0.043223269283771515, -0.33324989676475525, -0.1637713462114334, 0.4583759307861328, -0.13057801127433777, 0.2652820944786072, 0.053774647414684296, -0.11225590109825134, -0.3555402457714081, 0.8901544809341431, 0.27722951769828796, -0.05708727613091469, 0.09170260280370712, 0.5348202586174011, -0.15219499170780182, -0.6368954181671143, -0.16186511516571045, 0.2713872194290161, -0.3780381977558136, -0.10712196677923203, -0.60190349817276, 0.10908157378435135, -0.33693748712539673, -0.21594353020191193, -0.057211101055145264, 0.11746878921985626, -0.08855480700731277, -0.42449522018432617, 0.6408176422119141, 1.0742669105529785, 0.07700257748365402, 0.09851575642824173, -0.6597307324409485, 0.4135805070400238, 0.2914315462112427, 0.1584453582763672, -0.2910885810852051, 0.06758471578359604, -0.07633042335510254, -0.13046997785568237, -0.25928130745887756, -1.1688865423202515, 0.43722495436668396, -0.002858705585822463, 0.5500718951225281, 0.6701154708862305, -0.005140896886587143, 0.5181818008422852, -0.49832338094711304, 1.0617997646331787, 0.331132173538208, -0.5848706960678101, 0.6124137043952942, -0.8949068784713745, 0.22144533693790436, 0.7803291082382202, 0.7563350200653076, -0.8748980760574341, -0.24893127381801605, -0.8920974731445312, -0.9062565565109253, 0.1955544352531433, 0.6185739040374756, -0.23059393465518951, -0.19010263681411743, 0.422428697347641, 0.3097200393676758, 0.2681210935115814, -0.5904657244682312, -0.20483027398586273, -0.4588659107685089, -0.4117572009563446, 0.1292829066514969, -0.15824805200099945, -0.25615358352661133, -0.35865455865859985, 0.6332069635391235, 0.006024335976690054, 0.5420314073562622, 0.029066409915685654, 0.4670499563217163, -0.19093093276023865, 0.11009149998426437, 0.44352492690086365, 0.5352494120597839, -0.23478282988071442, -0.09346497803926468, -0.19596746563911438, -0.47802916169166565, 0.22617748379707336, 0.05283677577972412, -0.4595009982585907, 0.035656582564115524, 0.12741588056087494, 0.6709375381469727, 0.14624619483947754, -0.40671980381011963, 0.6744155883789062, -0.452687531709671, -0.511535108089447, -0.5003281831741333, -0.04716463014483452, 0.09553346037864685, -0.17603753507137299, 0.2148274928331375, -0.19637291133403778, 0.5574238300323486, -0.31615108251571655, 0.3042867183685303, 0.41311556100845337, -0.37828385829925537, -0.6857497692108154, 0.8301547765731812, 0.26339030265808105, -0.24346403777599335, 0.19528792798519135, -0.2032487541437149, -0.595089852809906, 0.5092766880989075, 0.09772355109453201, 1.0981643199920654, -0.26103997230529785, 0.4481743574142456, 0.5862787365913391, 0.39740779995918274, -0.16625334322452545, 0.20361950993537903, -0.03297118470072746, -0.3879789412021637, -0.12963952124118805, -0.04568689316511154, -0.1501489132642746, 0.61672043800354, -0.49784961342811584, 0.5568850040435791, -0.36056533455848694, -0.15229447185993195, 0.2977297902107239, -0.08214878290891647, -1.0322688817977905, 0.23532651364803314, 0.16274012625217438, 0.16965223848819733, -1.280385971069336, 0.5358318090438843, 0.6495503187179565, -0.6730510592460632, -0.8504011034965515, 0.3967529833316803, 0.5692530274391174, -0.283816933631897, 0.3644992411136627, 0.7289741039276123, 0.10926704853773117, -0.2840426564216614, -0.5043309926986694, -0.48750385642051697, 1.0836775302886963, -0.019645120948553085, -0.6092907786369324, -0.057364318519830704, -0.17181584239006042, 0.5150004625320435, -0.31178101897239685, 0.44020766019821167, 0.6017727255821228, 0.7826704382896423, -0.05964738503098488, -0.8341628313064575, 0.24681119620800018, -0.24800242483615875, -0.13379332423210144, 0.36251649260520935, -0.5548481345176697, 0.6347499489784241, 0.16427576541900635, -0.32422515749931335, -0.5281828045845032, 0.005906607490032911, 0.09773943573236465, 0.777425229549408, 0.653984785079956, 0.6544305682182312, 0.8062264323234558, 0.14251652359962463, 0.9150791764259338, 0.08310692012310028, 0.31214115023612976, 0.9402610063552856, -0.09887249767780304, 0.7044526934623718, 0.29048022627830505, -0.0805630087852478, 0.35491234064102173, 0.8366428017616272, 0.27578020095825195, 0.5202323198318481, -0.24104608595371246, -0.5106284022331238, -0.1606040745973587, 0.3596929907798767, -0.2768400311470032, 0.17166244983673096, 0.7980204224586487, -0.447019100189209, -0.09596297889947891, 0.15019537508487701, 0.05456424131989479, -0.3102916181087494, -0.08883089572191238, 0.7871134877204895, -0.16456979513168335, -0.5816662311553955, 0.4822494685649872, -0.4580698311328888, 0.5256187915802002, -0.46125495433807373, -0.2676483988761902, 0.2887890338897705, -0.3966653048992157, -0.44083696603775024, -0.6531078815460205, 0.3034888505935669, 0.031807638704776764, 0.17084839940071106, -0.3227716386318207, 0.8591158390045166, -0.44589048624038696, -0.4880870282649994, 0.16925600171089172, 0.21838626265525818, 0.4431707561016083, -0.29971185326576233, -0.7558996081352234, 0.0967009961605072, 0.09711548686027527, -0.5155104398727417, 0.010756543837487698, 0.6316334009170532, -0.15105535089969635, 0.1772090047597885, 0.7089517712593079, 0.25889676809310913, -0.19097694754600525, -0.05806953087449074, 0.6784640550613403, -0.6151089668273926, -0.45141467452049255, -0.7935038805007935, 0.5111541152000427, -0.3393450081348419, -0.4193316698074341, 0.8996540307998657, 0.3226264715194702, 0.8014107346534729, 0.3261425495147705, 1.3438267707824707, -0.19784320890903473, 0.36195334792137146, -0.5609757900238037, 0.6058495044708252, -0.31306660175323486, 0.21356317400932312, -0.02458553947508335, -0.6210424304008484, -0.20275747776031494, 0.5247712135314941, -0.6899053454399109, 0.3857581913471222, 0.6713205575942993, 0.26715585589408875, 0.038189541548490524, -0.10033740848302841, 0.15967868268489838, -0.012224067002534866, 0.8002787232398987, 0.2515696883201599, 0.21562474966049194, -0.33745017647743225, 0.41103583574295044, -0.18647482991218567, -0.38339340686798096, -0.4720049798488617, -0.6951722502708435, -0.9865329265594482, -0.5790333151817322, -0.3487050533294678, -0.22913028299808502, 0.13731034100055695, 0.6339325308799744, 0.3411221206188202, -0.31170666217803955, 0.49085476994514465, -0.4261455237865448, -0.21490593254566193, -0.24891427159309387, -0.2433260828256607, 0.32826051115989685, -0.023627063259482384, -0.36805543303489685, 0.24653905630111694, 0.3049405515193939, -0.1831730753183365, -0.24589994549751282, 0.01155389379709959, -0.34247711300849915, -0.12388638406991959, 0.33869776129722595, 0.6217517852783203, -0.7972668409347534, -0.44321176409721375, -0.18153779208660126, 0.07655016332864761, 0.16939333081245422, 0.8948177695274353, -0.6980509757995605, 0.8221129179000854, 0.5011907815933228, 0.38519224524497986, 0.6960774660110474, 0.42318373918533325, 0.45096641778945923, -0.7800018191337585, -0.33267155289649963, 0.2976054549217224, 0.26107656955718994, 0.3583652079105377, -0.893704354763031, 0.43420839309692383, 0.10699308663606644, -0.9933637976646423, -0.33549126982688904, -0.006667544133961201, -0.9745916128158569, -0.1455191820859909, 1.4822430610656738, -0.011731509119272232, -0.32641419768333435, -0.5810222029685974, -0.5635790228843689, 0.14856402575969696, -0.8440349102020264, 0.6665336489677429, 0.7477359175682068, -0.4994463622570038, -0.23502302169799805, -1.3150670528411865, 0.7243947982788086, -0.09303957223892212, -1.1165014505386353, 0.03128661960363388, 0.6039314270019531, 0.35129475593566895, 0.014738884754478931, 1.3708573579788208, 0.22629398107528687, 0.4924527406692505, -0.32295817136764526, 0.13186825811862946, -0.3324512839317322, -0.24373893439769745, -0.4030112326145172, -0.20099735260009766, -0.269378662109375, -0.33932942152023315 ]
http://arxiv.org/abs/2406.20098v1
http://arxiv.org/pdf/2406.20098v1
Web2Code: A Large-scale Webpage-to-Code Dataset and Evaluation Framework for Multimodal LLMs
2024-06-28T17:59:46
2024-06-28T17:59:46
Sukmin Yun, Haokun Lin, Rusiru Thushara, Mohammad Qazim Bhat, Yongxin Wang, Zutao Jiang, Mingkai Deng, Jinhong Wang, Tianhua Tao, Junbo Li, Haonan Li, Preslav Nakov, Timothy Baldwin, Zhengzhong Liu, Eric P. Xing, Xiaodan Liang, Zhiqiang Shen
cs.CV
cs.CV, cs.AI, cs.CL
Multimodal large language models (MLLMs) have shown impressive success across modalities such as image, video, and audio in a variety of understanding and generation tasks. However, current MLLMs are surprisingly poor at understanding webpage screenshots and generating their corresponding HTML code. To address this problem, we propose Web2Code, a benchmark consisting of a new large-scale webpage-to-code dataset for instruction tuning and an evaluation framework for the webpage understanding and HTML code translation abilities of MLLMs. For dataset construction, we leverage pretrained LLMs to enhance existing webpage-to-code datasets as well as generate a diverse pool of new webpages rendered into images. Specifically, the inputs are webpage images and instructions, while the responses are the webpage's HTML code. We further include diverse natural language QA pairs about the webpage content in the responses to enable a more comprehensive understanding of the web content. To evaluate model performance in these tasks, we develop an evaluation framework for testing MLLMs' abilities in webpage understanding and web-to-code generation. Extensive experiments show that our proposed dataset is beneficial not only to our proposed tasks but also in the general visual domain, while previous datasets result in worse performance. We hope our work will contribute to the development of general MLLMs suitable for web-based content generation and task automation. Our data and code will be available at https://github.com/MBZUAI-LLM/web2code.
[ -0.4126003682613373, -0.42484569549560547, 0.11908448487520218, 0.37032821774482727, -0.21064795553684235, -0.07623784989118576, -0.5255054235458374, -0.13979461789131165, -0.5721955895423889, 0.2967362403869629, -0.502689003944397, -0.6051464080810547, -0.38214245438575745, 0.07716046273708344, -0.5381035804748535, 0.7169159054756165, 0.03877066448330879, 0.2896880805492401, -0.5735809206962585, -0.030526595190167427, -0.09383011609315872, -0.39409688115119934, -0.46670466661453247, 0.10314232110977173, 0.5151050090789795, 0.19392569363117218, 0.30149737000465393, 0.537657618522644, 0.6518962383270264, 0.23841923475265503, 0.3095307946205139, 0.4906788170337677, -0.7576437592506409, 0.0294696893543005, -0.22190707921981812, -0.4905579090118408, -0.2982746660709381, -0.20329158008098602, 0.6767345666885376, 0.4786224663257599, 0.04768627509474754, 0.5711557865142822, 0.08829784393310547, 0.694421648979187, -0.7603660821914673, 0.2975867986679077, -0.5600330829620361, 0.0999235138297081, 0.1461205631494522, -0.32422009110450745, -0.6808114647865295, -0.30295443534851074, -0.2622212767601013, -0.49887916445732117, 0.1845902055501938, 0.1681538224220276, 0.5646752119064331, 0.2153201848268509, -0.6585216522216797, -0.30615368485450745, -0.28164511919021606, 0.7712406516075134, -0.6415791511535645, 0.7240909934043884, 0.46500691771507263, 0.2970186769962311, -0.06283294409513474, -0.6795167922973633, -0.6544642448425293, -0.29695776104927063, 0.19368813931941986, 0.04564331844449043, -0.29103827476501465, -0.21929988265037537, 0.2874322533607483, 0.09706994891166687, -1.000378131866455, 0.4440215826034546, -0.24512669444084167, -0.1328197717666626, 0.4910775125026703, 0.23157796263694763, 0.31025299429893494, -0.20137561857700348, -0.3305889368057251, -0.3535781800746918, -0.6791996359825134, 0.12228789180517197, 0.3407544195652008, 0.12232086807489395, -0.3267669975757599, 0.5096144080162048, -0.1156313419342041, 0.7285800576210022, -0.21030108630657196, -0.27627134323120117, 0.22142361104488373, -0.27468597888946533, -0.1005987599492073, -0.4476419687271118, 0.6428133249282837, 1.1183608770370483, 0.42747440934181213, -0.12607388198375702, -0.36022642254829407, 0.24692705273628235, 0.3445255160331726, -1.150682806968689, -0.16272678971290588, 0.21308352053165436, -0.7076002359390259, -0.07653569430112839, 0.05862683057785034, -0.8679803609848022, -0.5062752366065979, -0.39605703949928284, 0.19466868042945862, -0.2504842281341553, -0.19475992023944855, -0.16368785500526428, -0.25500908493995667, 0.3474734127521515, 0.32444190979003906, -0.7522831559181213, 0.053201526403427124, 0.467738538980484, 0.5033588409423828, -0.48461490869522095, -0.30809205770492554, -0.4851817488670349, 0.05467027425765991, -0.4750247299671173, 0.706577479839325, -0.4366558790206909, -0.21863260865211487, 0.435665100812912, -0.13856570422649384, 0.05106911063194275, -0.6511984467506409, 0.020999925211071968, -0.6591333746910095, -0.151023730635643, 0.01624155417084694, -0.5394076108932495, -0.10963398218154907, 0.3870726227760315, -0.770426869392395, 0.6554779410362244, 0.10523032397031784, -0.3505673110485077, 0.16143645346164703, -0.502204418182373, -0.5630309581756592, -0.24873383343219757, -0.22601768374443054, -0.2550816535949707, 0.028452375903725624, 0.24108712375164032, 0.5656725764274597, -0.46931222081184387, -0.049429409205913544, -0.30232563614845276, -0.44796067476272583, 0.6146036386489868, -0.7734971642494202, 0.4250020980834961, 0.21739596128463745, -0.29031795263290405, -0.007192633580416441, -1.0045387744903564, 0.46682581305503845, 0.13175691664218903, -0.7784569263458252, 0.3116423487663269, 0.06379548460245132, 0.504953920841217, 0.2411610335111618, 0.21186107397079468, -0.11412970721721649, 0.26810094714164734, 0.1815004050731659, 0.35092395544052124, 0.7394298911094666, -0.21173414587974548, 0.26069119572639465, -0.14849989116191864, 0.4738713204860687, -0.08450204879045486, 0.17616431415081024, -0.3903065323829651, -0.23378580808639526, -0.8927947282791138, 0.060290589928627014, 0.14711448550224304, 0.5749238133430481, -0.9451599717140198, 0.14660395681858063, -0.5047311186790466, -0.17171615362167358, -0.2947443127632141, 0.6197035908699036, 0.8928444981575012, 0.08477897942066193, 0.45940592885017395, -0.37977224588394165, -0.576005220413208, -0.9344401955604553, 0.05111563578248024, 0.1418311595916748, -0.31517550349235535, 0.304454505443573, 0.31030672788619995, -0.4928455650806427, 0.6814641356468201, -0.2110164761543274, -0.06881895661354065, -0.2638914883136749, 0.11414454132318497, -0.07282198965549469, 0.4441308081150055, 0.2828463017940521, -0.7649042010307312, -0.3122347295284271, 0.015981122851371765, -0.8751007318496704, 0.06588590890169144, 0.030630655586719513, 0.05797266587615013, 0.24536648392677307, 0.24348165094852448, -0.3610517978668213, 0.23873363435268402, 0.858351469039917, -0.1415354311466217, 0.5514810085296631, -0.09463157504796982, 0.3747967779636383, -0.8909431099891663, 0.16085664927959442, 0.2683582901954651, -0.28637734055519104, -0.43175286054611206, 0.2645750641822815, 0.4741268754005432, -0.19673174619674683, -0.5915266275405884, 0.36219897866249084, -0.697334885597229, -0.5022677779197693, -0.24017877876758575, 0.14565469324588776, 0.17016693949699402, 0.7831152677536011, -0.2910956144332886, 1.0833277702331543, 0.22286288440227509, -0.6206578612327576, 0.6241128444671631, 0.18737488985061646, -0.5695081353187561, 0.5440100431442261, -0.14975576102733612, 0.3735005259513855, -0.03418206423521042, 0.31793728470802307, -0.8661834001541138, -0.28618112206459045, -0.16251002252101898, -0.3445565700531006, 0.3667962849140167, -0.26267385482788086, -0.7757306694984436, -0.4915861189365387, -0.41999900341033936, 0.2343662530183792, 0.5551222562789917, -0.5223276615142822, 0.20675069093704224, 0.11824365705251694, -0.03202420845627785, -0.38012105226516724, -0.6075664758682251, 0.21558089554309845, 0.14877580106258392, -0.5545257329940796, 0.20966164767742157, -0.16398881375789642, -0.17949429154396057, -0.15648379921913147, -0.05073975771665573, -0.3691345453262329, -0.018997978419065475, 0.2626338303089142, 0.20355071127414703, -0.3540377914905548, 0.11716509610414505, 0.07636512815952301, -0.006334908772259951, 0.14334067702293396, -0.1595301330089569, 0.6603586673736572, -0.042854007333517075, -0.6184917688369751, -0.6444475054740906, 0.20668619871139526, 0.47891101241111755, -0.4739847779273987, 0.23030802607536316, 0.8950579166412354, -0.15286539494991302, -0.36080238223075867, -0.5641197562217712, 0.020639868453145027, -0.43652811646461487, 0.712329626083374, -0.36791449785232544, -0.7118141651153564, 0.17193476855754852, -0.24291563034057617, 0.14757752418518066, 0.18045739829540253, 0.7382316589355469, -0.5010057091712952, 0.9600489735603333, 0.3311641812324524, 0.1320175677537918, 0.33776262402534485, -0.517789900302887, -0.186113640666008, -0.9092617034912109, -0.25057169795036316, -0.2333734929561615, -0.42647966742515564, -0.3828461766242981, -0.9310500621795654, 0.30735185742378235, 0.25596025586128235, -0.06494535505771637, 0.17542783915996552, -0.23764252662658691, 0.3994481563568115, 0.4256233274936676, 0.25911572575569153, 0.1713741272687912, 0.14032281935214996, 0.10753699392080307, 0.16093264520168304, -0.5387945771217346, -0.5961366891860962, 1.499385118484497, 0.1594620794057846, 0.9356923699378967, 0.41858088970184326, 0.1110401526093483, 0.6395658850669861, 0.22802317142486572, -0.44732874631881714, 0.5320628881454468, -0.40452709794044495, -0.3529072701931, -0.20909783244132996, -0.3491002321243286, -0.934638261795044, 0.27250370383262634, -0.12971378862857819, -0.5190658569335938, -0.19045884907245636, 0.2951562702655792, -0.2016715705394745, 0.12196026742458344, -0.7675711512565613, 0.9347804188728333, -0.5883831977844238, -0.7652279138565063, -0.5566616058349609, -0.5429768562316895, 0.23190973699092865, 0.1205354705452919, 0.28231528401374817, -0.17949755489826202, -0.028299830853939056, 0.558819591999054, 0.07124493271112442, 0.8916926980018616, -0.25451311469078064, -0.32861295342445374, 0.2173512876033783, 0.04091477766633034, 0.3969475030899048, 0.07059305906295776, -0.15026389062404633, 0.028145503252744675, -0.049177318811416626, -0.3836211860179901, -0.7079166173934937, 0.5203812718391418, -0.681013286113739, -0.21543185412883759, 0.28680798411369324, -0.48826882243156433, -0.5298999547958374, -0.2002289742231369, 0.08599787205457687, 0.8748939037322998, -0.007445408962666988, 0.4778033494949341, 0.701600193977356, -0.47490760684013367, 0.6171585321426392, 0.5441750288009644, -0.4537438750267029, -0.36732181906700134, 1.09518563747406, -0.3512951135635376, 0.21292582154273987, 0.5743229985237122, -0.35185933113098145, -0.41048285365104675, -0.6278889179229736, -1.0541077852249146, -0.3263051509857178, -0.9642212390899658, -0.43250805139541626, -0.26611655950546265, -0.11114919185638428, -0.3975479006767273, 0.06453561037778854, -0.19144126772880554, -0.07935988157987595, -0.377864271402359, 0.12763002514839172, 0.13683849573135376, 0.776506245136261, 0.11364924162626266, 0.037951137870550156, -0.9631956219673157, 0.5020006895065308, 0.4340001046657562, 0.2909955084323883, 0.12681500613689423, -0.43956711888313293, -0.44381242990493774, 0.09271518141031265, -0.37392428517341614, -0.7017310857772827, 0.1566680669784546, 0.23379796743392944, 0.6628095507621765, 0.5514875054359436, -0.32432207465171814, 0.7631449699401855, -0.6188991665840149, 0.6837181448936462, 0.4282093942165375, -0.7853192687034607, 0.4034541845321655, -0.20078931748867035, 0.35627996921539307, 0.3506999909877777, 0.2828737795352936, -0.41645580530166626, -0.0476314015686512, 0.09552998840808868, -0.5498669743537903, 0.32153546810150146, 0.10594368726015091, 0.3772726356983185, 0.18297292292118073, 0.04699515178799629, 0.2052731066942215, 0.29743748903274536, -0.6525219678878784, -0.15541547536849976, -0.2923294007778168, -0.3042464256286621, -0.04245562478899956, -0.4250105321407318, 0.021378621459007263, -0.05843915790319443, 0.24715782701969147, -0.5472391247749329, 0.405055969953537, -0.21819548308849335, -0.8623558282852173, 0.0468267984688282, 0.2917366325855255, 0.745972752571106, 1.1046899557113647, 0.025375863537192345, 0.20727337896823883, 0.14463455975055695, -0.2242981642484665, 0.18979839980602264, 0.17384082078933716, 0.1943930983543396, -0.33689817786216736, 0.775992214679718, 0.9412514567375183, 0.4747631549835205, -1.1633203029632568, 0.6897717714309692, 0.044221363961696625, 0.0080003272742033, -0.12744665145874023, 0.20300188660621643, 0.11471822112798691, 0.23858030140399933, 0.5080443024635315, -0.18686740100383759, 0.20457632839679718, -0.5265514850616455, 0.35482504963874817, 0.28021055459976196, -0.16462308168411255, -0.3300912380218506, 0.3394017517566681, 0.4775904417037964, -0.30974268913269043, 0.8021504282951355, -0.4943906366825104, -0.4727834463119507, 0.7363793849945068, 0.6992069482803345, 0.33286651968955994, 0.10010308772325516, 0.07545148581266403, 0.3765772581100464, 0.0705564022064209, 0.39278116822242737, 0.2544811964035034, -0.09421873837709427, -0.5755813717842102, -0.332497239112854, -0.8104225397109985, -0.18018712103366852, 0.09712602943181992, -0.7315173745155334, -0.017030425369739532, -0.46323567628860474, -0.1190623864531517, -0.3479621708393097, -0.16776339709758759, -0.9816970825195312, 0.30630573630332947, 0.42761147022247314, 0.7705323100090027, -0.3745473027229309, 0.8325236439704895, 0.6225475072860718, -0.31815969944000244, -0.5005356669425964, -0.056466471403837204, 0.13629886507987976, -0.9004355072975159, 0.7669936418533325, 0.41746509075164795, 0.15911559760570526, 0.013019688427448273, -0.2871805429458618, -0.6254592537879944, 1.151326298713684, 0.29607537388801575, -1.0403934717178345, -0.025014227256178856, 0.20075862109661102, 0.35003992915153503, -0.16327039897441864, 0.302985280752182, 0.31911948323249817, 0.5466321110725403, -0.2445773184299469, -1.0636296272277832, -0.14333085715770721, -0.4343237578868866, 0.28463608026504517, -0.1315670907497406, -0.549933671951294, 0.7597085237503052, -0.27685821056365967, -0.020787959918379784, 0.019548757001757622, 0.45947590470314026, 0.1766110360622406, 0.19456636905670166, 0.4116148054599762, 0.573399007320404, 0.4691045880317688, 0.180629700422287, 1.0079704523086548, -0.363618940114975, 0.2426457405090332, 1.0195326805114746, -0.30008935928344727, 1.1949937343597412, 0.29185423254966736, -0.5260323286056519, 0.3271864652633667, 0.3980284035205841, -0.38226667046546936, 0.3485173285007477, 0.5444284081459045, -0.14995494484901428, -0.33355942368507385, 0.05847841873764992, -0.3234056234359741, 0.7015374898910522, 0.3277241289615631, -0.4909072518348694, -0.23941603302955627, 0.2538203001022339, -0.24717922508716583, 0.12411323934793472, -0.2981078028678894, 0.8207994103431702, -0.012014350853860378, -0.5324944257736206, 0.7469944357872009, 0.2618003785610199, 0.7579676508903503, -0.48863717913627625, -0.18230289220809937, -0.288949579000473, 0.1274491399526596, -0.19653166830539703, -0.7322543263435364, -0.1282397359609604, 0.41099444031715393, -0.21383684873580933, -0.34218284487724304, 0.4623448848724365, -0.2859088182449341, -0.5055460333824158, 0.2564278542995453, 0.3834712505340576, 0.052237410098314285, -0.02449904941022396, -0.6640714406967163, 0.5179993510246277, 0.25660258531570435, -0.2076689749956131, 0.6206316947937012, 0.08004920929670334, 0.026156535372138023, 0.7074444890022278, 0.8801913261413574, -0.36859822273254395, 0.39743006229400635, 0.44034215807914734, 0.8127920627593994, -0.40137121081352234, -0.03310021385550499, -0.6861110329627991, 0.45674654841423035, -0.0812024399638176, -0.28882771730422974, 0.6533486843109131, 1.0270737409591675, 0.6814965009689331, -0.24795261025428772, 0.8225396871566772, 0.018538273870944977, 0.05351262912154198, -0.8398873209953308, 0.8063638806343079, -0.6534284353256226, -0.13309715688228607, 0.16390635073184967, -0.9569526314735413, -0.11668306589126587, 0.5062853693962097, 0.10797402262687683, -0.05023786798119545, 0.5910980105400085, 0.9698706865310669, -0.030097348615527153, -0.24925123155117035, 0.5017223358154297, 0.0057839867658913136, 0.27014559507369995, 0.7458558082580566, 0.8536122441291809, -0.3889700472354889, 0.8448836207389832, -0.10642445832490921, -0.14830200374126434, -0.35051149129867554, -0.6830839514732361, -0.9983088374137878, -0.6403160691261292, -0.029287079349160194, -0.13298402726650238, 0.3590436279773712, 0.8906493782997131, 0.8870853185653687, -0.7285223603248596, -0.3273000121116638, 0.16612446308135986, -0.1855480968952179, -0.09849069267511368, -0.14523999392986298, 0.16879220306873322, -0.4251892566680908, -0.800186812877655, 0.3881579637527466, 0.35884636640548706, -0.07697052508592606, -0.5590232610702515, -0.228685200214386, 0.010719235986471176, -0.27812719345092773, 0.9256579279899597, -0.04781884327530861, -0.7811638712882996, 0.02029700204730034, -0.14321807026863098, -0.3816298246383667, 0.17558704316616058, 0.7345459461212158, -0.38345471024513245, 0.3425337076187134, 0.13808871805667877, 0.8480175733566284, 0.5017656683921814, -0.03965318948030472, 0.34019744396209717, -0.7411171197891235, 0.0833953320980072, 0.18563221395015717, 0.3136061429977417, 0.4577482044696808, 0.05399220809340477, 0.38343971967697144, -0.0665639117360115, -0.10820861905813217, -0.5860079526901245, 0.156131774187088, -0.9675973057746887, -0.37939441204071045, 1.4468539953231812, -0.3802322745323181, -0.060884471982717514, 0.2733006179332733, -0.01696419157087803, 0.15962742269039154, -0.189327210187912, 0.532249927520752, 0.3023713231086731, 0.09350273013114929, -0.4866306781768799, -0.6676095128059387, 0.20066741108894348, 0.11356833577156067, -1.1089690923690796, 0.018034959211945534, 0.8214884400367737, 0.22724096477031708, -0.035092491656541824, 0.3654344081878662, 0.20818987488746643, 0.5665231347084045, 0.07784254103899002, 0.34892991185188293, -0.22798161208629608, -0.28231966495513916, -0.0485747866332531, 0.2598113715648651, 0.08576010912656784, -0.1806158870458603 ]
http://arxiv.org/abs/2406.20095v1
http://arxiv.org/pdf/2406.20095v1
LLaRA: Supercharging Robot Learning Data for Vision-Language Policy
2024-06-28T17:59:12
2024-06-28T17:59:12
Xiang Li, Cristina Mata, Jongwoo Park, Kumara Kahatapitiya, Yoo Sung Jang, Jinghuan Shang, Kanchana Ranasinghe, Ryan Burgert, Mu Cai, Yong Jae Lee, Michael S. Ryoo
cs.RO
cs.RO, cs.AI, cs.CL, cs.CV, cs.LG
Large Language Models (LLMs) equipped with extensive world knowledge and strong reasoning skills can tackle diverse tasks across domains, often by posing them as conversation-style instruction-response pairs. In this paper, we propose LLaRA: Large Language and Robotics Assistant, a framework which formulates robot action policy as conversations, and provides improved responses when trained with auxiliary data that complements policy learning. LLMs with visual inputs, i.e., Vision Language Models (VLMs), have the capacity to process state information as visual-textual prompts and generate optimal policy decisions in text. To train such action policy VLMs, we first introduce an automated pipeline to generate diverse high-quality robotics instruction data from existing behavior cloning data. A VLM finetuned with the resulting collection of datasets based on a conversation-style formulation tailored for robotics tasks, can generate meaningful robot action policy decisions. Our experiments across multiple simulated and real-world environments demonstrate the state-of-the-art performance of the proposed LLaRA framework. The code, datasets, and pretrained models are available at https://github.com/LostXine/LLaRA.
[ -0.007833942770957947, -0.6955738067626953, 0.6090715527534485, -0.202828511595726, 0.032342858612537384, 0.15250565111637115, -0.12839838862419128, -0.18385903537273407, 0.6665602922439575, 0.9792293310165405, -0.6969588994979858, -0.3886428773403168, -0.4855884313583374, -0.04988105595111847, -0.4262431859970093, 0.772020697593689, 0.12776879966259003, 0.1168108582496643, -0.09121369570493698, -0.0004784319316968322, -0.34588006138801575, -0.3175954818725586, -0.47349637746810913, -0.41479045152664185, 0.684240460395813, 0.5452775359153748, 0.6678285002708435, 0.44776222109794617, 0.6194559335708618, 0.36332640051841736, 0.00672207260504365, 0.7478153705596924, -0.5542653799057007, 0.09071976691484451, -0.2747437357902527, -0.601680338382721, -0.5465449094772339, -0.514631986618042, 0.6776857972145081, 0.400984525680542, -0.2954845130443573, -0.05367404222488403, -0.07589643448591232, 0.579230010509491, -0.5701072812080383, 0.3549851179122925, -0.613571047782898, 0.0938219279050827, 0.20275214314460754, -0.3561229407787323, -0.36321404576301575, -0.07305645942687988, 0.10339682549238205, -0.6729286909103394, -0.16467614471912384, -0.04734957218170166, 1.1514029502868652, 0.5443071722984314, -0.12735037505626678, -0.08668652921915054, -0.6701899170875549, 0.7765680551528931, -0.4643409848213196, 0.06363274157047272, 0.3760532736778259, 0.389851838350296, -0.38395363092422485, -0.45164719223976135, -0.9202829003334045, -0.23849761486053467, 0.019913015887141228, 0.4119192063808441, -0.4257970154285431, 0.2654673457145691, 0.10841498523950577, 0.0876401737332344, -0.4484691023826599, 0.3940408527851105, -0.3845262825489044, -0.15661364793777466, 0.7233790755271912, 0.48942333459854126, 0.11180015653371811, -0.14613579213619232, -0.2753656506538391, -0.5088512301445007, -0.8201650381088257, -0.09889546036720276, 0.4717644453048706, 0.41635480523109436, -0.1358521282672882, 0.7752928733825684, -0.5906085968017578, 0.6997884511947632, -0.3584223687648773, -0.3148643374443054, 0.2333911657333374, -0.3375980854034424, -0.3041647970676422, -0.4184826910495758, 0.9113382697105408, 0.5723963975906372, 0.4001525342464447, 0.10359414666891098, -0.12169895321130753, 0.2181510031223297, 0.37736988067626953, -0.5511103272438049, -0.07206515967845917, 0.0925670713186264, 0.04664534330368042, -0.23309440910816193, -0.2999590039253235, -0.7340531349182129, -0.4685171842575073, -0.5466690063476562, 0.3152115046977997, -0.13605228066444397, -0.0022011487744748592, 0.3267832100391388, 0.08654747158288956, 0.37165459990501404, 0.4750717878341675, -0.8661096692085266, 0.013718487694859505, 0.5119625329971313, 0.48528215289115906, -0.228655606508255, -0.46318748593330383, -0.6582240462303162, 0.33862000703811646, -0.5094858407974243, 0.7607399821281433, -0.8735041618347168, -0.33142000436782837, 0.27686217427253723, 0.1775357872247696, 0.07555986195802689, -0.5117005705833435, -0.1171879917383194, -0.32740965485572815, -0.06647834926843643, 0.10832136869430542, -0.2504008710384369, -0.27415695786476135, 0.4609373211860657, -0.6240284442901611, 0.7529616951942444, 0.029060905799269676, -0.10772879421710968, 0.35475683212280273, -0.7382718920707703, -0.4232330322265625, 0.1502101570367813, -0.4494904577732086, -0.37264198064804077, -0.3779979646205902, 0.3121274411678314, 0.887790322303772, -0.2802869975566864, 0.5143209099769592, -0.06028098985552788, -0.12946930527687073, 0.039227601140737534, -0.5228582620620728, 0.601548433303833, -0.0703209862112999, -0.035677582025527954, 0.5023558735847473, -0.6998640298843384, -0.20289914309978485, 0.2247333526611328, -0.3093956410884857, 0.12716816365718842, 0.14043530821800232, -0.28632646799087524, -0.10541677474975586, 0.415487676858902, -0.4784277677536011, 0.4300362765789032, -0.2808094918727875, 0.4517843723297119, 0.830763041973114, -0.3129112422466278, 0.317332923412323, -0.02887391671538353, 0.6353316307067871, -0.3229686915874481, 0.18484121561050415, -0.32985416054725647, -0.29032251238822937, -0.9566225409507751, -0.21106892824172974, -0.15407490730285645, 0.8789088726043701, -1.186562180519104, 0.45613574981689453, -0.4153519868850708, -0.27925238013267517, -0.41323086619377136, 0.3548690378665924, 0.5352599024772644, 0.4788578748703003, 0.4111104905605316, -0.19573844969272614, -0.5547177195549011, -0.9050889015197754, 0.2611066699028015, -0.2805800139904022, -0.01515149138867855, 0.527134120464325, 0.5373410582542419, -0.34847187995910645, 0.9284977912902832, -0.4633650779724121, -0.4601883590221405, -0.8568031191825867, -0.2625867426395416, -0.09444212913513184, 0.13926927745342255, 0.16492398083209991, -0.6538619995117188, -0.01077148225158453, 0.12565036118030548, -0.9768252372741699, 0.2373112440109253, -0.2987256646156311, -0.2276047319173813, 0.3846271336078644, 0.61930251121521, -0.5790115594863892, 0.5504686832427979, 0.7102141380310059, 0.13737516105175018, 0.43731606006622314, -0.2646557092666626, -0.1210896298289299, -1.127700924873352, -0.139845609664917, -0.04644026234745979, -0.10928019136190414, -0.45201045274734497, 0.3838445842266083, -0.42249518632888794, -0.13593000173568726, -0.8389448523521423, 0.502487301826477, 0.037341613322496414, -0.3703869581222534, -0.3028982877731323, 0.1708604395389557, -0.033720459789037704, 0.7100241184234619, 0.48976653814315796, 0.9117327928543091, 0.6097520589828491, -0.7460556626319885, 0.6474781632423401, 0.3364199101924896, -0.3518770635128021, 0.3498503565788269, -0.6211655735969543, -0.10065486282110214, 0.04296844080090523, 0.518057644367218, -0.7706713676452637, -0.5946733951568604, 0.34670108556747437, -0.11791909486055374, -0.04250844568014145, -0.0068407668732106686, -0.624927282333374, -0.4572378396987915, 0.02874794602394104, -0.13724756240844727, 0.4385869801044464, -0.5470291376113892, 0.909996747970581, 0.7129917144775391, -0.004166039638221264, -0.6765849590301514, -0.7352516055107117, 0.2821725904941559, -0.08756669610738754, -0.36321690678596497, 0.10048848390579224, 0.11026500165462494, -0.0008664727210998535, -0.28971418738365173, 0.1461435705423355, -0.1593344509601593, -0.12526069581508636, 0.0015335931675508618, 0.5918647050857544, 0.07762380689382553, 0.10986995697021484, -0.024768155068159103, -0.3003297448158264, -0.05059532821178436, 0.23578912019729614, 0.9291236400604248, -0.11556689441204071, -0.35433271527290344, -0.7563174366950989, 0.10610342025756836, 0.5129760503768921, -0.08953262120485306, 0.39258861541748047, 0.2363968789577484, 0.08416039496660233, -0.18230560421943665, -0.18659333884716034, -0.3148670196533203, -0.5277515649795532, 0.6476839780807495, -0.23087573051452637, -0.9148886203765869, 0.12474912405014038, -0.2288413643836975, 0.5000307559967041, -0.09482084214687347, 0.5240539908409119, -0.3217649459838867, 0.7822360992431641, 0.8519985675811768, -0.1952604204416275, 0.7129865884780884, -0.6659607887268066, 0.2910592257976532, -0.655491292476654, -0.3812313973903656, -0.05052676796913147, -0.26072239875793457, -0.4731447398662567, -0.5861576199531555, 0.23394028842449188, -0.47512203454971313, -0.2762717008590698, 0.5575732588768005, -0.26001033186912537, 0.6745805144309998, 0.481894314289093, 0.2989552915096283, 0.07208842784166336, 0.3281414806842804, 0.31953758001327515, 0.1871272474527359, -0.9058160185813904, -0.6325801014900208, 1.154865026473999, 0.07694250345230103, 0.8775289058685303, -0.3358760178089142, 0.6788443922996521, 0.1308261901140213, -0.20823901891708374, -1.1421445608139038, 1.1383639574050903, -0.3536560833454132, 0.020602108910679817, -0.5756110548973083, -0.3789072334766388, -1.0370844602584839, 0.2864954173564911, -0.2192671149969101, -0.6192836761474609, -0.06288477033376694, 0.5590683221817017, -0.45960357785224915, 0.38800564408302307, -0.46771693229675293, 0.579261839389801, -0.26362934708595276, -0.38954460620880127, -0.5687207579612732, -0.6567497253417969, 0.23485977947711945, 0.32259780168533325, -0.0773502066731453, -0.12170396745204926, -0.02801990695297718, 0.4474378526210785, -0.27704739570617676, 1.305840253829956, -0.014108735136687756, -0.35633400082588196, 0.42720887064933777, 0.09123307466506958, 0.6315770745277405, -0.4134724736213684, 0.27789103984832764, 0.331211119890213, -0.5088001489639282, -0.19459247589111328, -0.5444010496139526, 0.27391374111175537, -0.5882529616355896, -0.5604201555252075, -0.08601813018321991, -0.7159783840179443, -0.20331238210201263, -0.07214562594890594, -0.0949983149766922, 0.3245796859264374, -0.04349662736058235, 0.23455163836479187, 0.8247860074043274, -0.4417853057384491, 0.34153175354003906, 0.7405060529708862, -0.31306418776512146, -0.06053967401385307, 1.5588014125823975, 0.01303139328956604, 0.4814585745334625, 0.5523444414138794, 0.09049203246831894, 0.011798838153481483, -0.09811195731163025, -0.5511367321014404, 0.027318932116031647, -0.4632001221179962, -0.2721059322357178, -0.5039058327674866, -0.2865839898586273, -0.13749563694000244, -0.2522587478160858, -0.48624783754348755, -0.20034387707710266, -0.1635197550058365, -0.10720236599445343, 0.6180751323699951, 0.5527150630950928, -0.10996773093938828, 0.6799467206001282, -0.34158143401145935, 0.6229426860809326, 0.521511971950531, -0.08439289033412933, -0.2753065228462219, -0.4234287142753601, 0.09590094536542892, 0.0697614997625351, -0.2005157470703125, -0.1387569159269333, 0.5367382764816284, 0.16770359873771667, 0.30012351274490356, 0.18986262381076813, -0.18245741724967957, 0.7592452168464661, -0.6527422070503235, 0.6923980116844177, 0.3216056525707245, -0.5445215106010437, 0.8345609307289124, -0.18865422904491425, 0.2773842513561249, 0.30338478088378906, 0.12363285571336746, -0.2624446749687195, -0.5884099006652832, -0.45966166257858276, -1.0913763046264648, 0.6727379560470581, -0.13024531304836273, 0.546517014503479, 0.17982642352581024, -0.10989247262477875, -0.028510116040706635, 0.2414432317018509, -0.47086718678474426, -0.029334863647818565, 0.06047237664461136, -0.28037452697753906, 0.08922474086284637, -0.07422584295272827, -0.22665129601955414, -0.11118519306182861, 0.44765505194664, -0.41130542755126953, 0.07020677626132965, -0.16526494920253754, -0.12907639145851135, 0.4035096764564514, 0.09872336685657501, 0.4737226068973541, 0.42007580399513245, 0.2747308611869812, -0.3046157658100128, 0.19776365160942078, -0.5300533175468445, -0.021837620064616203, -0.4345388114452362, -0.35255876183509827, -0.34088605642318726, 0.3352101445198059, 0.8718339204788208, 0.19775764644145966, -1.146096110343933, 0.40952110290527344, 0.16461554169654846, -0.2942947745323181, -0.32537606358528137, 0.6868918538093567, -0.22999821603298187, 0.2579377591609955, -0.03687659651041031, -0.03271222114562988, 0.11222939193248749, -0.6163405179977417, 0.22295497357845306, 0.412063866853714, -0.22651024162769318, 0.05867194011807442, 0.1421220749616623, 0.37624871730804443, -0.2863617539405823, 0.5252181887626648, 0.05930861458182335, -0.45539548993110657, 0.7822093963623047, 0.33127477765083313, 0.4691048264503479, -0.019894808530807495, 0.6376328468322754, 0.18257620930671692, 0.36370858550071716, -0.035795822739601135, 0.49106788635253906, -0.16538460552692413, -0.9098955988883972, -0.7075823545455933, -0.4666720926761627, -0.8342294096946716, 0.19673676788806915, -0.58653724193573, 0.1036088764667511, -0.6007977724075317, 0.06533457338809967, -0.43422794342041016, -0.2431969940662384, -0.6121160387992859, 0.10295352339744568, 0.17957954108715057, 0.45390784740448, -0.820862352848053, 0.8258950114250183, 0.39669322967529297, -0.5712193250656128, -0.7235199809074402, -0.0982227623462677, -0.15114030241966248, -1.4475947618484497, 0.7846051454544067, 0.07684274017810822, -0.7053167819976807, -0.15744361281394958, -1.0683984756469727, -0.8109123110771179, 0.8798718452453613, 0.6399927139282227, -0.9812831878662109, 0.007723404094576836, 0.1952580362558365, 0.41378453373908997, -0.3548387289047241, 0.016256483271718025, 0.7510034441947937, 0.2897089123725891, 0.20240245759487152, -0.8243144154548645, -0.45715466141700745, -0.047517769038677216, 0.018164217472076416, -0.06500411033630371, -1.0002992153167725, 0.2874602973461151, -0.3432747721672058, -0.047645311802625656, 0.11161063611507416, 0.8325067162513733, 0.42969152331352234, 0.027355698868632317, 0.2926941514015198, 0.5440096259117126, 0.7376781105995178, -0.015501158311963081, 1.1416852474212646, -0.11355644464492798, -0.23590922355651855, 1.1973572969436646, -0.49784451723098755, 1.1920411586761475, 0.49339786171913147, -0.07590556889772415, 0.6904013752937317, 0.20558048784732819, -0.11211153119802475, 0.49099230766296387, 0.06456633657217026, -0.051347263157367706, -0.5344967842102051, -0.4649171233177185, -0.027046196162700653, 0.8151839971542358, 0.6689263582229614, -0.036481644958257675, -0.03550614416599274, 0.2169572114944458, 0.06164577975869179, 0.1894282102584839, -0.35557296872138977, 0.7753231525421143, -0.17364323139190674, -0.5004705190658569, 0.34941738843917847, -0.45438048243522644, 0.6720734238624573, -0.7445757389068604, -0.506354033946991, -0.3551754951477051, 0.14381706714630127, -0.07682429254055023, -1.0993245840072632, 0.11268709599971771, 0.2069818675518036, -0.09521298855543137, -0.29541242122650146, 0.28161653876304626, -0.4753217399120331, -0.4835580587387085, 0.2739547789096832, 0.16613519191741943, 0.49859490990638733, 0.5617638826370239, -0.6529704928398132, 0.29415175318717957, 0.09115758538246155, -0.17456960678100586, 0.34356266260147095, 0.08628194034099579, -0.00397260207682848, 1.1872143745422363, 0.6249397397041321, 0.15353690087795258, -0.05091650411486626, 0.2940596044063568, 0.9008710384368896, -0.34642621874809265, -0.4016604721546173, -0.5253922939300537, 0.47751516103744507, -0.22526396811008453, -0.48473939299583435, 0.4570353627204895, 0.27269312739372253, 0.9701648354530334, 0.12597821652889252, 0.6292955279350281, 0.11483786255121231, 0.33790135383605957, -0.949923038482666, 0.41826605796813965, -0.634921669960022, 0.15387499332427979, 0.008819101378321648, -0.7497830986976624, -0.28691366314888, 0.9498214721679688, -0.2645784616470337, -0.17524564266204834, 0.2999865710735321, 1.1219645738601685, 0.09712401777505875, -0.36011984944343567, 0.48070228099823, 0.013722902163863182, 0.28765422105789185, 0.5644801259040833, 0.7144477963447571, -0.21664346754550934, 0.7975190281867981, 0.07222874462604523, -0.018704991787672043, -0.28908100724220276, -0.5510339736938477, -0.8071945905685425, -0.2979596257209778, -0.19215092062950134, 0.04066194221377373, 0.36696040630340576, 0.759955644607544, 0.7000970244407654, -0.49861830472946167, -0.4528273642063141, -0.408761590719223, 0.06713525950908661, 0.011079365387558937, -0.1788967251777649, 0.28152039647102356, -0.4279261529445648, -0.8548350930213928, 0.896261990070343, 0.36533603072166443, -0.09130793064832687, -0.5740019679069519, -0.27674490213394165, 0.060125790536403656, 0.09544260799884796, 0.8469701409339905, 0.5258907675743103, -0.9132766127586365, -0.07368821650743484, -0.21888364851474762, -0.11006134748458862, 0.02492675557732582, 0.5045580863952637, -1.0333863496780396, 0.5399788618087769, 0.2558947503566742, 0.7768411040306091, 0.19736523926258087, -0.39349502325057983, 0.753130316734314, -0.49121594429016113, 0.37938982248306274, 0.18406344950199127, 0.4094637930393219, 0.22510191798210144, -0.1471642404794693, 0.6809366345405579, -0.08223825693130493, -0.2397286295890808, -0.8691335320472717, 0.5125662684440613, -0.8120318055152893, -0.15935634076595306, 1.2456750869750977, -0.1255767047405243, -0.43703457713127136, 0.18503624200820923, -0.4409882128238678, -0.13455577194690704, -0.515321671962738, 0.5897312164306641, 0.35900962352752686, -0.16782787442207336, -0.23809821903705597, -0.6408452391624451, 0.08767061680555344, 0.5359379649162292, -0.9667996168136597, 0.2961171567440033, 0.6542707085609436, -0.3515521287918091, 0.08340566605329514, 0.4018729031085968, 0.2644018232822418, 0.41238728165626526, 0.11561465263366699, 0.1679770052433014, 0.04374079778790474, -1.1112130880355835, -0.2064041793346405, -0.1311822086572647, -0.39580535888671875, -0.2947124242782593 ]
http://arxiv.org/abs/2406.20094v1
http://arxiv.org/pdf/2406.20094v1
Scaling Synthetic Data Creation with 1,000,000,000 Personas
2024-06-28T17:59:01
2024-06-28T17:59:01
Xin Chan, Xiaoyang Wang, Dian Yu, Haitao Mi, Dong Yu
cs.CL
cs.CL, cs.LG
We propose a novel persona-driven data synthesis methodology that leverages various perspectives within a large language model (LLM) to create diverse synthetic data. To fully exploit this methodology at scale, we introduce Persona Hub -- a collection of 1 billion diverse personas automatically curated from web data. These 1 billion personas (~13% of the world's total population), acting as distributed carriers of world knowledge, can tap into almost every perspective encapsulated within the LLM, thereby facilitating the creation of diverse synthetic data at scale for various scenarios. By showcasing Persona Hub's use cases in synthesizing high-quality mathematical and logical reasoning problems, instructions (i.e., user prompts), knowledge-rich texts, game NPCs and tools (functions) at scale, we demonstrate persona-driven data synthesis is versatile, scalable, flexible, and easy to use, potentially driving a paradigm shift in synthetic data creation and applications in practice, which may have a profound impact on LLM research and development.
[ -0.6946755647659302, -0.7320797443389893, 0.7547991871833801, 0.6019163131713867, 0.45852935314178467, 0.27828681468963623, 0.0776694118976593, -0.29271724820137024, 0.38635575771331787, 0.6143233776092529, -0.8679214119911194, -0.4043411910533905, 0.018439510837197304, 0.13486440479755402, -0.35424211621284485, 0.8667190670967102, 0.4020848572254181, 0.08576405793428421, -0.40241163969039917, 0.06087203323841095, -0.14620429277420044, -0.5000014901161194, -0.5892841219902039, -0.17199647426605225, 0.9181264042854309, 0.5454148650169373, 0.4873998165130615, 0.6688797473907471, 0.28642207384109497, 0.33935919404029846, 0.37176966667175293, 0.14233089983463287, -0.6133278608322144, 0.20088529586791992, -0.45259609818458557, -0.48018574714660645, -0.8799748420715332, 0.21518565714359283, 0.6574825048446655, 1.052844524383545, 0.30333057045936584, 0.38543474674224854, -0.23654945194721222, 0.8048035502433777, -0.3119714856147766, 0.20654810965061188, -0.4161469042301178, 0.0938933715224266, -0.23479361832141876, 0.1421026587486267, -0.7201710939407349, -0.3645634055137634, 0.15976805984973907, -0.7376623153686523, 0.04746586084365845, 0.25326070189476013, -0.12256013602018356, 0.13219092786312103, -0.3835126757621765, 0.1726563423871994, -1.1512881517410278, 0.622566282749176, -0.3335907459259033, 0.25864022970199585, 0.0030197971500456333, 0.8043657541275024, -0.2239980250597, -0.8254275321960449, -0.8829529881477356, 0.18137821555137634, 0.18087580800056458, -0.015195317566394806, -0.17425976693630219, -0.3618599772453308, 0.4578108787536621, 0.15771913528442383, -0.585519015789032, -0.059359826147556305, -0.19988639652729034, -0.19785182178020477, 0.7535111308097839, 0.6197381615638733, 0.1924876868724823, -0.1466437429189682, -0.023547634482383728, -0.1768980473279953, -0.8837425708770752, -0.16897305846214294, 0.4797481298446655, 0.40831977128982544, 0.12444527447223663, 0.6760507225990295, -0.2664980888366699, 0.5712336301803589, 0.40474551916122437, -0.359732985496521, 0.1292247623205185, -0.46011966466903687, -0.02972455695271492, -0.12158422917127609, 0.9583054184913635, 0.4380098283290863, -0.06965262442827225, -0.21565692126750946, 0.14153102040290833, 0.13861478865146637, 0.414957195520401, -0.9302969574928284, -0.32536551356315613, 0.4470469057559967, -0.18085433542728424, -0.23871098458766937, -0.09861361235380173, -1.1127873659133911, -0.804474949836731, -0.5394654273986816, 0.10630419105291367, -0.33304324746131897, -0.1994311362504959, 0.12108786404132843, 0.10189837962388992, 0.28068241477012634, 0.3498232960700989, -0.8119235038757324, 0.4323139488697052, 0.5127613544464111, 0.4362674951553345, -0.3231066167354584, -0.3438534736633301, -0.30574721097946167, 0.2047172337770462, -0.40610527992248535, 0.7879485487937927, -0.31075188517570496, -0.4626709222793579, -0.2783258259296417, -0.19875313341617584, 0.2719488739967346, -0.6056786179542542, 0.08400607109069824, -0.09055521339178085, 0.14798377454280853, -0.5313151478767395, -0.42914852499961853, 0.3322862386703491, 0.3215370774269104, -0.8114879727363586, 0.8654289841651917, 0.5277367830276489, -0.49538201093673706, 0.33964186906814575, -0.5400984287261963, -0.4976874589920044, 0.3834192752838135, -0.13213889300823212, 0.03749391809105873, -0.0331425741314888, 0.2778882682323456, 0.31961533427238464, -0.6457028388977051, 0.401591420173645, -0.1796368658542633, -0.04711371660232544, 0.6393066048622131, 0.16945195198059082, 0.6489635705947876, 0.3067110478878021, -0.08246562629938126, 0.06978892534971237, -0.9792270660400391, 0.06303826719522476, 0.01769314892590046, -0.22546476125717163, 0.05040133371949196, -0.10349128395318985, 0.3615148365497589, 0.39970290660858154, 0.4042517840862274, -0.7114722728729248, 0.4042258858680725, -0.40074750781059265, 0.5176163911819458, 0.5104965567588806, 0.14494387805461884, 0.729785144329071, -0.5467308759689331, 0.6125621795654297, -0.08629923313856125, 0.025464612990617752, -0.31841006875038147, -0.3873075842857361, -0.6420229077339172, -0.41454529762268066, 0.12651197612285614, 0.4413122534751892, -0.588650643825531, 0.8236204385757446, -0.6437397599220276, -0.8848634958267212, -0.5285308957099915, -0.1979568600654602, 0.03408847004175186, 0.6790171265602112, 0.12423602491617203, -0.10079719871282578, -0.7868884801864624, -1.2210369110107422, -0.217039093375206, -0.10943273454904556, -0.6207876801490784, 0.4195740222930908, 0.4762263894081116, -0.4947105944156647, 1.4414488077163696, -0.6898844242095947, -0.20195043087005615, -0.4911758601665497, -0.08874500542879105, -0.020079320296645164, 0.6840462684631348, 0.5901066064834595, -0.6266996264457703, -0.6994746327400208, 0.030007265508174896, -0.7218156456947327, -0.18936434388160706, -0.45018622279167175, -0.5029070973396301, -0.17046433687210083, 0.46495768427848816, -0.7479965090751648, -0.0026884363032877445, 0.24041081964969635, -0.20186635851860046, 0.5707578659057617, -0.04550766572356224, 0.10290095955133438, -1.336373209953308, 0.2934592366218567, 0.006906013935804367, -0.1640225201845169, -0.759781539440155, 0.33412909507751465, -0.08043172955513, -0.4846281111240387, -0.4202779233455658, 0.7479337453842163, -0.016425080597400665, -0.10814979672431946, 0.10677036643028259, 0.11336905509233475, -0.012119881808757782, 0.5647305250167847, -0.1635725498199463, 0.6958484649658203, 0.5028473138809204, -0.3857741951942444, 0.47623372077941895, 0.3835005760192871, -0.3878578841686249, 1.037672519683838, -0.6606889963150024, 0.2716863453388214, -0.11156531423330307, 0.678723156452179, -1.127474069595337, -0.7189083099365234, 0.057679615914821625, -0.2813461124897003, -0.19774816930294037, 0.11584924161434174, -0.973490297794342, -0.39552390575408936, -0.13484415411949158, 0.4337414801120758, 0.5240161418914795, -0.3917717933654785, 0.8704966902732849, 0.8424752354621887, -0.2924460768699646, 0.30569276213645935, -0.7639515995979309, 0.36901938915252686, -0.35766705870628357, -0.7172238230705261, 0.4551422894001007, -0.488746702671051, -0.39166635274887085, -0.3920497000217438, 0.018420739099383354, 0.011669832281768322, -0.2600243389606476, 0.29821813106536865, 0.08581995964050293, 0.2188064157962799, -0.14635097980499268, 0.08559584617614746, -0.1025594100356102, 0.23971587419509888, -0.5830824971199036, 0.7656999230384827, 0.05162151902914047, -0.18343113362789154, -0.22325830161571503, 0.4715037941932678, 1.0122747421264648, 0.02969086728990078, 0.6641047596931458, 0.31448355317115784, -0.3856079578399658, -0.39970001578330994, -0.3687989115715027, -0.10040701180696487, -0.5331618189811707, 0.15625321865081787, -0.44392824172973633, -0.7844005823135376, 0.9464934468269348, -0.3709205389022827, 0.20991583168506622, 0.2831653356552124, 0.6500247120857239, 0.13692328333854675, 1.0953763723373413, 0.5112682580947876, -0.06802567839622498, 0.06700436770915985, -0.13582676649093628, 0.4402290880680084, -0.7097398638725281, -0.4481099843978882, -0.3936978876590729, -0.7475246787071228, -0.76287442445755, -0.7017902135848999, 0.7353795766830444, -0.6984634399414062, -0.46478763222694397, 0.43119385838508606, -0.47942155599594116, 0.5138815641403198, 0.5639488101005554, 0.15124322474002838, 0.21230369806289673, -0.05589618533849716, 0.07195549458265305, -0.5066139101982117, -0.4027270972728729, -0.329788476228714, 1.3844578266143799, 0.02072516828775406, 0.5291361212730408, 0.190926194190979, 0.531690776348114, 0.17859865725040436, 0.2547569274902344, -0.8157972693443298, 0.9359017014503479, 0.05539880692958832, -0.6968276500701904, -0.2543668746948242, -0.5091168284416199, -0.8275256156921387, 0.00784101989120245, -0.2237146943807602, -0.6425089240074158, 0.011752364225685596, 0.058424532413482666, -0.37523677945137024, 0.060868702828884125, -0.5322345495223999, 0.7072320580482483, 0.17429868876934052, -0.4275636672973633, -0.055996064096689224, -0.6525223255157471, 0.34569618105888367, -0.5845155119895935, 0.18107950687408447, 0.12047609686851501, 0.015090426430106163, 0.6577544808387756, -0.34792155027389526, 0.6806522607803345, -0.011242610402405262, -0.25829190015792847, 0.26532647013664246, 0.46786198019981384, 0.44992879033088684, 0.2535725235939026, -0.08344848453998566, -0.2054489552974701, -0.3606289327144623, -0.4097447097301483, -0.7099902629852295, 0.9422453045845032, -0.5596161484718323, -0.4510897994041443, 0.016932295635342598, -1.081142544746399, -0.7389174103736877, 0.26470625400543213, 0.1758102923631668, 0.22457678616046906, -0.5105251669883728, 0.32583919167518616, 0.6185951828956604, -0.47384360432624817, -0.07492303103208542, 0.46306315064430237, -0.512352466583252, -0.4490157663822174, 1.0236722230911255, 0.07453961670398712, 0.118538036942482, 0.5333005785942078, 0.026113329455256462, -0.1048194095492363, -0.08687864989042282, -0.40983572602272034, 0.1062789037823677, -0.43570151925086975, 0.07603055238723755, -0.752731204032898, -0.05457326024770737, -0.5484496355056763, -0.47146525979042053, -0.5618127584457397, -0.6118478775024414, 0.13982611894607544, -0.08927924185991287, 0.16576527059078217, 0.5091097950935364, 0.17670606076717377, 0.4068359136581421, -0.3940672278404236, 0.39649268984794617, 0.4194745719432831, 0.12202543765306473, -0.10203190892934799, -0.19387449324131012, -0.11649417132139206, 0.08498819172382355, -0.12227466702461243, -0.7143905758857727, 0.7048594951629639, -0.08009076863527298, 0.1746261566877365, 0.30157390236854553, -0.04929831251502037, 0.6705129742622375, -0.7402060031890869, 0.7650649547576904, 0.015653029084205627, -0.7868923544883728, 0.5326355695724487, -0.9503092169761658, 0.795832633972168, 0.5064143538475037, 0.3362959325313568, -0.5557186007499695, -0.4734044671058655, -0.48313239216804504, -0.8097517490386963, 0.5614030957221985, 0.1557454913854599, 0.17160183191299438, 0.008193055167794228, 0.389610230922699, 0.43449610471725464, 0.28548380732536316, -0.472821444272995, -0.41769641637802124, 0.038954444229602814, -0.30711284279823303, -0.02027004398405552, 0.0874522253870964, -0.07876276224851608, -0.5415371656417847, 0.2805117964744568, -0.2929959297180176, 0.2547346353530884, -0.2829835116863251, 0.2484779804944992, -0.09682989865541458, 0.03364177793264389, 0.1320374608039856, 0.8057884573936462, 0.0745675265789032, 0.04719696193933487, -0.19601771235466003, -0.4705950915813446, 0.19403380155563354, 0.05109623074531555, -0.5527634024620056, -0.4478197991847992, -0.014537423849105835, 0.5092894434928894, 0.40200579166412354, -1.0102837085723877, -0.07042871415615082, -0.07238585501909256, -0.35158008337020874, -0.34708547592163086, 0.10271095484495163, 0.42304477095603943, 0.19293271005153656, 0.4438627064228058, 0.17125184834003448, 0.0492166206240654, -0.6456851959228516, 0.2847500741481781, 0.17086373269557953, 0.17130745947360992, -0.6444395780563354, 0.8977034091949463, 0.1315889060497284, -0.2188369333744049, 0.7810311913490295, -0.08047275245189667, -0.0509081594645977, 0.4578927159309387, 0.5132502913475037, 0.6636621952056885, -0.12854349613189697, 0.5266450047492981, 0.4804404675960541, 0.0072550405748188496, -0.04446675628423691, 0.13555318117141724, 0.2075643241405487, -0.6719223260879517, -0.2985727787017822, -0.7229827046394348, -0.4935294985771179, 0.29664450883865356, -0.5424728393554688, 0.06330044567584991, -0.8537224531173706, -0.11704182624816895, 0.4921687841415405, 0.04411468282341957, -0.7001708745956421, 0.004504541866481304, -0.18033483624458313, 0.6893316507339478, -0.7586206197738647, 0.654965341091156, 0.7286174297332764, -0.24648678302764893, -0.6372165083885193, -0.05378250032663345, 0.28731775283813477, -0.39026492834091187, 0.45463064312934875, 0.012246102094650269, 0.3018663227558136, 0.24165545403957367, -0.6928799152374268, -0.7855702042579651, 0.9604297876358032, 0.5740030407905579, -0.5354018211364746, 0.031636469066143036, 0.6864041090011597, 0.9107528924942017, -0.8065680861473083, -0.49083027243614197, 0.7045066356658936, 0.5449144244194031, 0.33511388301849365, -0.6309913992881775, -0.040743205696344376, -0.3116510808467865, -0.13403883576393127, 0.11227978020906448, -0.5498356223106384, 0.961681604385376, -0.03232939913868904, -0.03138367086648941, 0.10827311128377914, 0.41117867827415466, 0.42053818702697754, 0.054390277713537216, 0.2875271439552307, 0.6819066405296326, 0.6751036047935486, 0.09083940833806992, 0.92498779296875, -0.20339195430278778, -0.07185583561658859, 1.1521904468536377, -0.677574634552002, 0.4463919699192047, 0.34079262614250183, -0.576655924320221, 0.4842611253261566, 0.4129728078842163, -0.05115877464413643, 0.22465363144874573, 0.18279725313186646, -0.4552401006221771, -0.3998328447341919, -0.17802923917770386, 0.1612744778394699, 0.43228814005851746, 0.46668753027915955, -0.13279958069324493, -0.06136427819728851, 0.17692719399929047, -0.045338936150074005, 0.2022874355316162, -0.1299707293510437, 0.5894519686698914, -0.19027061760425568, -0.7964626550674438, 0.09850966185331345, -0.0879053995013237, 0.10764148831367493, -0.3595959544181824, 0.11973042786121368, -0.4722594618797302, 0.23684272170066833, 0.085240438580513, -0.7734121084213257, 0.19955791532993317, 0.030840083956718445, -0.33011534810066223, -0.6804983019828796, 0.40742290019989014, -0.4045732617378235, -0.7194912433624268, -0.2466277927160263, 0.8984777331352234, 0.2508269250392914, -0.2551039755344391, -0.2833333909511566, -0.01028335839509964, 0.034731701016426086, -0.12436904013156891, 0.7714901566505432, 0.6198965311050415, -0.21564409136772156, 0.9356383681297302, 0.6772868633270264, 0.03790644556283951, -0.17210741341114044, -0.0971372127532959, 1.0121854543685913, -0.6309429407119751, -0.4897805154323578, -0.6056081652641296, 0.5400832295417786, -0.013303413055837154, -0.20956040918827057, 1.066666603088379, 0.8043679594993591, 0.748076319694519, -0.3493383824825287, 0.9426252245903015, -0.4077432155609131, 0.5369202494621277, 0.19399338960647583, 0.5701747536659241, -0.2403848022222519, 0.15080268681049347, -0.387306272983551, -1.0464099645614624, -0.24691590666770935, 0.4328007102012634, -0.02477205917239189, -0.23383840918540955, 0.35404258966445923, 0.6963323950767517, 0.02111290767788887, -0.0737944096326828, 0.239010751247406, 0.21848368644714355, 0.5384798049926758, 0.5440357327461243, 0.30583974719047546, -0.23327182233333588, 0.27239203453063965, -0.1545870304107666, -0.19551052153110504, 0.13267438113689423, -0.5757521986961365, -0.8936589956283569, -0.8952752351760864, -0.3202270567417145, -0.10668424516916275, -0.7059735059738159, 0.7807375192642212, 0.6471734642982483, -0.6735804080963135, -0.18800672888755798, -0.3115164637565613, -0.22304746508598328, -0.01883593574166298, -0.25837382674217224, -0.006569310557097197, 0.12499362975358963, -1.071540117263794, 0.575715959072113, 0.3738812506198883, -0.0953584536910057, -0.9378902912139893, 0.0751262903213501, 0.17479859292507172, 0.27164480090141296, 0.8475590944290161, 0.22759483754634857, -0.3763021230697632, -0.0025519386399537325, 0.39869898557662964, -0.08668673038482666, -0.16167359054088593, 0.9810739755630493, -1.1916329860687256, 0.46663710474967957, 0.5545156598091125, 0.5629130005836487, 0.4909166395664215, 0.1367986798286438, 0.893707811832428, -0.8947028517723083, 0.2723590135574341, 0.2932230234146118, 0.05845925956964493, 0.43705877661705017, -0.31851205229759216, 0.4625452756881714, 0.11759674549102783, -0.5157256722450256, -0.7395608425140381, 0.46155810356140137, -1.198997974395752, -0.2910822629928589, 0.9322676062583923, 0.12097743898630142, -0.09607619792222977, 0.0752817690372467, -0.2431485950946808, -0.19218507409095764, -0.42145654559135437, 0.894427478313446, 0.50603848695755, -0.3344128727912903, 0.03817532956600189, -0.47894150018692017, 0.3701900839805603, 0.008177724666893482, -1.23568594455719, 0.30665406584739685, 1.1225452423095703, 0.11187233775854111, 0.3217323124408722, 0.5718850493431091, -0.17557397484779358, 0.018090294674038887, 0.3190298080444336, -0.13132402300834656, 0.14771679043769836, -0.5445748567581177, 0.3461686968803406, 0.2778080701828003, -0.347166508436203, 0.518616259098053 ]
http://arxiv.org/abs/2406.20087v1
http://arxiv.org/pdf/2406.20087v1
ProgressGym: Alignment with a Millennium of Moral Progress
2024-06-28T17:55:24
2024-06-28T17:55:24
Tianyi Qiu, Yang Zhang, Xuchuan Huang, Jasmine Xinze Li, Jiaming Ji, Yaodong Yang
cs.LG
cs.LG, cs.AI, cs.CL, cs.CY, cs.HC
Frontier AI systems, including large language models (LLMs), hold increasing influence over the epistemology of human users. Such influence can reinforce prevailing societal values, potentially contributing to the lock-in of misguided moral beliefs and, consequently, the perpetuation of problematic moral practices on a broad scale. We introduce progress alignment as a technical solution to mitigate this imminent risk. Progress alignment algorithms learn to emulate the mechanics of human moral progress, thereby addressing the susceptibility of existing alignment methods to contemporary moral blindspots. To empower research in progress alignment, we introduce ProgressGym, an experimental framework allowing the learning of moral progress mechanics from history, in order to facilitate future progress in real-world moral decisions. Leveraging 9 centuries of historical text and 18 historical LLMs, ProgressGym enables codification of real-world progress alignment challenges into concrete benchmarks. Specifically, we introduce three core challenges: tracking evolving values (PG-Follow), preemptively anticipating moral progress (PG-Predict), and regulating the feedback loop between human and AI value shifts (PG-Coevolve). Alignment methods without a temporal dimension are inapplicable to these tasks. In response, we present lifelong and extrapolative algorithms as baseline methods of progress alignment, and build an open leaderboard soliciting novel algorithms and challenges. The framework and the leaderboard are available at https://github.com/PKU-Alignment/ProgressGym and https://huggingface.co/spaces/PKU-Alignment/ProgressGym-LeaderBoard respectively.
[ 0.08593069016933441, -0.5705636143684387, 0.6793208718299866, 0.08419009298086166, 0.1751241534948349, 0.5625898838043213, 0.07200760394334793, -0.3030785322189331, 0.022903500124812126, 0.49144482612609863, -0.7914459109306335, -0.41998425126075745, -0.628432035446167, -0.3605128824710846, 0.03857694938778877, 1.0257010459899902, 0.009403550066053867, 0.0003182721557095647, -0.2131950855255127, -0.22639554738998413, -0.778118371963501, -0.06740439683198929, -0.5492680072784424, -0.4861845076084137, 0.3071011006832123, 0.3934074342250824, 0.8108698725700378, 1.0406169891357422, 0.7165708541870117, 0.386538028717041, -0.1539376676082611, 0.008276301436126232, -0.6368546485900879, 0.11020111292600632, -0.38898420333862305, -0.44107773900032043, -0.775273323059082, 0.21461060643196106, 0.4206274151802063, 0.3366824984550476, -0.468359112739563, 0.2797449827194214, 0.032575808465480804, 0.7210771441459656, -0.2986101508140564, 0.0038857930339872837, -0.28401002287864685, 0.16112959384918213, -0.17204473912715912, -0.05622021481394768, -0.1249656155705452, -0.9751627445220947, -0.07039641588926315, -0.7109344005584717, -0.0912555456161499, 0.05416853353381157, 0.8965495824813843, 0.3146432936191559, -0.05891387537121773, -0.30687791109085083, -0.4959777891635895, 0.9967567920684814, -0.37138429284095764, 0.2042890191078186, 0.3463788628578186, 0.1319763958454132, -0.1911979466676712, -0.607265055179596, -0.5205997824668884, -0.13563212752342224, 0.2826193571090698, 0.2226180136203766, 0.2087145298719406, -0.09291563183069229, 0.255778431892395, 0.15821446478366852, -0.45541951060295105, 0.05120362713932991, -0.3453853130340576, -0.1702214926481247, 0.6335960030555725, 0.5149539113044739, 0.2937464118003845, 0.24602335691452026, -0.36449381709098816, -0.2279205471277237, -0.741917073726654, 0.24594484269618988, 0.5179958939552307, 0.04900918900966644, -0.07312833517789841, 0.5052866339683533, 0.26210254430770874, 0.5737773776054382, 0.357211172580719, -0.14789274334907532, 0.17756064236164093, -0.5726489424705505, 0.03996584936976433, 0.0646546334028244, 0.6743941903114319, 0.5999435782432556, 0.25553062558174133, 0.057732682675123215, 0.07053559273481369, 0.1397581547498703, 0.7448319792747498, -0.583339512348175, -0.10424990952014923, 0.1239124983549118, -0.3855508863925934, -0.44721105694770813, 0.0879334807395935, -0.8452547788619995, -0.5936790108680725, -0.44226017594337463, 0.2572711706161499, -0.5030971169471741, -0.1441473811864853, 0.12685494124889374, 0.060607872903347015, 0.5922892093658447, 0.5826689004898071, -0.605855405330658, -0.2226749211549759, 1.1037075519561768, 1.216110348701477, -0.037550706416368484, -0.2319360375404358, -0.6143092513084412, 0.2798027992248535, -0.35882022976875305, 0.3623390197753906, -0.6922627091407776, -0.21156474947929382, -0.175352081656456, 0.243540957570076, 0.15421776473522186, -0.03451066464185715, 0.8425832390785217, -0.3823178708553314, 0.04836444929242134, -0.228892520070076, -0.7053525447845459, -0.09304212778806686, 0.3207586407661438, -0.3670198321342468, 0.5398075580596924, -0.027736185118556023, -0.5356409549713135, 0.22918923199176788, -0.787199079990387, -0.009014188311994076, 0.09936375916004181, -0.07023566961288452, -0.5874127149581909, 0.2161569744348526, -0.16219718754291534, 0.10818998515605927, -0.0031666229479014874, 0.6325340867042542, -0.27234843373298645, -0.5619653463363647, 0.08477701246738434, -0.44169700145721436, 0.8188400864601135, 0.16899439692497253, -0.317274808883667, 0.2466963827610016, -0.3319362699985504, -0.012771407142281532, 0.13547247648239136, -0.052982691675424576, -0.13603663444519043, 0.3424711525440216, -0.4065060317516327, 0.04879290610551834, 0.5793405175209045, -0.5999685525894165, 0.32933396100997925, -0.10875118523836136, 0.4104093015193939, 1.3572664260864258, -0.5854864120483398, 0.23664377629756927, -0.8900547623634338, 0.5489082932472229, -0.39888402819633484, 0.44063058495521545, -0.05611864849925041, -0.5412638187408447, -0.41329020261764526, 0.04068760946393013, 0.16224351525306702, 0.7655567526817322, -0.1878347247838974, 0.5299364328384399, -0.37963858246803284, -0.3954799473285675, -0.5505251288414001, 0.07969658076763153, 0.2887459695339203, 0.41476568579673767, 0.3385719954967499, -0.36892035603523254, -0.1912902593612671, -0.6109833121299744, -0.5283194780349731, -0.7578602433204651, -0.18758627772331238, 0.10704203695058823, 0.10375455021858215, -0.09199196100234985, 0.7239197492599487, -0.4841325581073761, -0.18116439878940582, 0.4723752439022064, 0.1748713105916977, 0.24029412865638733, 0.9105646014213562, 0.124121755361557, -0.8691506385803223, -0.10107743740081787, 0.11558282375335693, -0.6908678412437439, -0.121234230697155, 0.06104100123047829, -0.3032563328742981, -0.22352972626686096, 0.5303269624710083, -0.21191492676734924, 0.1674378663301468, 0.5851795077323914, -0.7792957425117493, 0.4134864807128906, -0.07316505908966064, 0.4640190303325653, -0.8885730504989624, 0.07604158669710159, -0.14780721068382263, -0.4711288511753082, -0.31561946868896484, 0.028142815455794334, 0.04186601936817169, 0.075638547539711, -0.28265485167503357, 0.1332855075597763, -0.10570008307695389, 0.3379945456981659, -0.12317244708538055, 0.15634268522262573, -0.16567733883857727, 0.1347181349992752, -0.23174108564853668, 0.6600524187088013, 0.23515845835208893, -0.3207325041294098, 0.41083216667175293, 0.4665980637073517, 0.06159355491399765, 1.1054335832595825, -0.4489688575267792, 0.25319674611091614, -0.14461271464824677, -0.11569762974977493, -0.7137578725814819, -0.02838330715894699, 0.27411478757858276, -0.4924643337726593, 0.2577684223651886, -0.31298866868019104, -0.011531929485499859, -0.13811784982681274, -0.5104881525039673, 0.3416910767555237, 0.743514358997345, -0.39157024025917053, 0.6845715045928955, 0.2769767940044403, -0.40401384234428406, -0.8122857809066772, -0.5212498903274536, 0.1875249296426773, -0.4802953898906708, -0.7696292996406555, 0.39618682861328125, -0.2526916265487671, -0.3513256311416626, -0.028310105204582214, -0.03507399186491966, 0.4011591076850891, 0.16445468366146088, 0.2787512540817261, 0.43307167291641235, -0.1688283383846283, 0.09271516650915146, 0.020942671224474907, -0.06659276783466339, 0.13719695806503296, -0.6915525197982788, 0.3304772675037384, -0.59086012840271, -0.2796385884284973, -0.24418917298316956, 0.17464274168014526, 0.4810999631881714, 0.072274349629879, 0.38176292181015015, 0.5182278752326965, -0.28522834181785583, 0.42556965351104736, -0.5490212440490723, 0.37014099955558777, -0.5152989029884338, 0.22289925813674927, 0.13741938769817352, -1.169442057609558, 0.20845313370227814, -0.3372264802455902, 0.48695993423461914, 0.40387871861457825, 0.4045719802379608, -0.46620285511016846, 0.8051312565803528, 0.9394217133522034, 0.25165319442749023, 0.6986058950424194, 0.09348998218774796, -0.10078520327806473, -0.8707376718521118, -0.2830386757850647, -0.4374326765537262, -0.5635086894035339, -0.8503414392471313, -0.5146146416664124, 0.0076029798947274685, 0.5799868106842041, -0.6662442088127136, 0.40653717517852783, -0.6844697594642639, 0.7124184370040894, 0.22333449125289917, -0.06473458558320999, 0.5963189601898193, 0.021088439971208572, 0.12450329959392548, -0.16564235091209412, -0.3474871516227722, -0.8454059362411499, 1.1281013488769531, 0.27976366877555847, 0.8336183428764343, 0.36944472789764404, 0.452938437461853, 0.6875793933868408, 0.8320988416671753, -0.6603680849075317, 0.33760637044906616, -0.17531488835811615, -0.18722578883171082, -0.2560035288333893, -0.4984026253223419, -0.8232161998748779, -0.019084932282567024, -0.04542938992381096, -0.9490185976028442, 0.16956137120723724, 0.22856636345386505, -0.3964202404022217, 0.3612959384918213, -0.39404889941215515, 0.7805392146110535, -0.5169322490692139, -0.6508547067642212, -0.2578712999820709, -0.9742778539657593, 0.22400516271591187, -0.0651831328868866, 0.0861203745007515, -0.3849208354949951, -0.16352695226669312, 0.5928447842597961, -0.3043646812438965, 0.7934081554412842, -0.1372610628604889, -0.37767744064331055, 0.18628191947937012, 0.10817893594503403, 0.6557105779647827, 0.2686554193496704, 0.20706935226917267, 0.34331658482551575, 0.026944277808070183, -0.5239839553833008, -0.08066399395465851, 0.8381556272506714, -0.48311540484428406, -0.7725083231925964, -0.5137367844581604, -0.5148716568946838, -0.0826718658208847, 0.09069070219993591, 0.10056028515100479, -0.035228945314884186, -0.5645042061805725, -0.17572738230228424, 0.7441288232803345, -0.18938656151294708, 0.4786483347415924, 0.41268646717071533, -0.33985021710395813, -0.7151111960411072, 1.1042346954345703, -0.16317568719387054, 0.31515491008758545, 0.06905705481767654, 0.3302444517612457, -0.3276931643486023, -0.4487576186656952, -0.7010467648506165, 0.08171428740024567, -0.4211817979812622, -0.31132060289382935, -0.5252277255058289, 0.150888592004776, -0.09572481364011765, -0.6165024638175964, -0.37285086512565613, -0.1719302237033844, -0.27099907398223877, 0.13451461493968964, 0.3317257761955261, 0.8192696571350098, -0.3021918535232544, 0.11663003265857697, -0.8518155217170715, 0.011357778683304787, 0.20261311531066895, 0.46766501665115356, -0.47748157382011414, -0.4131695628166199, -0.007224044296890497, 0.3764755427837372, -0.9106919765472412, -0.46970951557159424, -0.07518255710601807, 0.03290203586220741, 0.0019459890900179744, 0.38082629442214966, -0.18125617504119873, 0.7447845339775085, -0.46106991171836853, 0.6424415111541748, 0.45742708444595337, -1.0442814826965332, 0.5078547596931458, -0.3477264642715454, 0.1564967781305313, 0.7384830117225647, 0.34544262290000916, -0.664507269859314, -0.36355769634246826, -0.6170791387557983, -0.5213726162910461, 0.4290783405303955, 0.3769960105419159, 0.07011082768440247, 0.2627393901348114, 0.5351455807685852, 0.1442641168832779, 0.1367802619934082, -0.33602580428123474, 0.20863981544971466, -0.3131718337535858, -0.5700543522834778, 0.015240350738167763, 0.35720720887184143, -0.3737850487232208, -0.12395171076059341, 0.5073065757751465, -0.42886707186698914, 0.007921540178358555, 0.2039545178413391, 0.048342134803533554, -0.42692455649375916, 0.18642973899841309, 0.6549050807952881, 1.088671088218689, -0.019432174041867256, -0.3889603316783905, -0.08536863327026367, -0.7706529498100281, 0.6854307651519775, 0.304106742143631, -0.3261914551258087, -0.4800602197647095, 0.12746194005012512, 0.38541582226753235, -0.5471057295799255, -0.564910352230072, 0.6001250743865967, -0.355352520942688, -0.08276701718568802, -0.5947821736335754, 0.14114443957805634, 0.18452881276607513, 0.7644856572151184, 0.23748435080051422, 0.08983227610588074, -0.305769145488739, -0.4895608127117157, 0.24799150228500366, 0.40084904432296753, -0.7847610116004944, -0.3666312098503113, 0.8507906198501587, 0.11574075371026993, -0.8200623393058777, 0.6288316249847412, -0.335961252450943, -0.4145665764808655, 0.706172525882721, 0.22980371117591858, 0.8961786031723022, -0.2358371764421463, 0.44059255719184875, 0.1658163070678711, 0.3330785930156708, -0.6323341131210327, 0.4328623414039612, 0.17026455700397491, -0.7455495595932007, -1.0054923295974731, -0.8452059030532837, -0.475187748670578, -0.24977648258209229, -0.49148502945899963, 0.3348906636238098, -0.46055468916893005, -0.31316709518432617, -0.5946009159088135, -0.12968416512012482, -0.3464750349521637, -0.11036194115877151, -0.01666668988764286, 0.3441288471221924, -0.5256286859512329, 0.32487061619758606, 0.7628651261329651, -0.07765365391969681, -0.3348621428012848, 0.34733888506889343, 0.18154661357402802, -0.728830099105835, 0.1514894664287567, 0.35450220108032227, -0.215098574757576, 0.2166275680065155, -0.9050042629241943, -0.6975049376487732, 1.2262953519821167, 0.541560709476471, -0.9239782094955444, 0.01720231957733631, -0.26973968744277954, 0.33819541335105896, -0.27145838737487793, -0.10956630855798721, 0.5520521402359009, 0.6857675313949585, 0.05790426954627037, -0.6999443173408508, 0.13201789557933807, 0.009398426860570908, -0.22419466078281403, 0.8409616947174072, -1.0024476051330566, 0.6136236190795898, -0.5060836672782898, -0.2885473668575287, 0.44289660453796387, 0.6285925507545471, 0.4465983510017395, 0.4550704061985016, 0.444463849067688, 0.8713867664337158, 0.940829336643219, -0.368746817111969, 0.5152919888496399, -0.12269838154315948, 0.46439671516418457, 0.834986686706543, -0.19986476004123688, 0.16466782987117767, 0.3841154873371124, -0.2826981544494629, 0.4361551105976105, 0.5547429323196411, -0.2527645528316498, 0.16887438297271729, 0.3976207673549652, -0.1099705770611763, -0.3002343773841858, -0.36855214834213257, -0.5007348656654358, 0.40809693932533264, 0.3078872859477997, -0.2042858600616455, 0.1474715769290924, -0.2914403975009918, 0.11615730822086334, 0.1445888876914978, -0.49379268288612366, 0.7657843232154846, -0.019041405990719795, -0.6329606771469116, 0.260644793510437, -0.20371364057064056, 0.783435046672821, -0.6141167879104614, -0.4201113283634186, -0.08467981219291687, 0.24558325111865997, -0.06318630278110504, -0.8480064868927002, 0.456679105758667, -0.0009928913787007332, 0.11070404201745987, -0.38200250267982483, 0.38875722885131836, -0.2985232174396515, -0.5243794322013855, 0.2989824116230011, 0.4261280298233032, -0.13443662226200104, 0.29134634137153625, -0.7813584804534912, -0.18494170904159546, -0.08867891132831573, 0.06180290877819061, 0.24731868505477905, 0.4047483801841736, -0.1204887181520462, 0.5223761796951294, 0.6530241966247559, 0.05631324276328087, -0.31799986958503723, -0.4007546305656433, 0.6256228685379028, -1.0440549850463867, -0.4689933955669403, -1.1437615156173706, 0.2273818552494049, -0.16466999053955078, -0.4545806050300598, 0.30122482776641846, 0.20858143270015717, 0.9426082968711853, 0.5283446907997131, 0.4803456962108612, -0.3412477374076843, -0.24611392617225647, -0.691641628742218, 0.7928884029388428, -0.549714207649231, 0.08324625343084335, -0.2968973219394684, -0.86264568567276, -0.024069156497716904, 0.34972789883613586, 0.20912642776966095, -0.009947427548468113, 0.5123604536056519, 0.48758599162101746, 0.2647254168987274, 0.2953382432460785, 0.17017234861850739, 0.10406587272882462, 0.3802284896373749, 0.5992012619972229, 1.2264593839645386, -0.131582111120224, 0.5114296078681946, 0.239912211894989, -0.2849131226539612, 0.26184868812561035, -1.1063560247421265, -0.4063052237033844, -0.14400887489318848, -0.399688720703125, -0.6038538813591003, 0.4272407293319702, 0.7807477116584778, 0.37140312790870667, -0.6316673159599304, -0.25313693284988403, -0.4050542712211609, 0.2799187898635864, -0.47008922696113586, -0.22963924705982208, 0.2349344789981842, -0.11455254256725311, -0.671558141708374, 0.3585001826286316, 0.4649442732334137, 0.030432622879743576, -0.24433216452598572, -0.18995125591754913, -0.33173543214797974, -0.005085684359073639, 0.2974316477775574, 0.25320935249328613, -0.5509900450706482, -0.5919867753982544, -0.05352761968970299, 0.10156834125518799, 0.49591588973999023, 1.0755956172943115, -0.3956737518310547, 0.35225093364715576, 0.41862425208091736, 0.8112342357635498, 0.19545142352581024, 0.46857979893684387, 0.8197617530822754, -0.31044694781303406, -0.3803600072860718, 0.4777217209339142, 0.1705619841814041, 0.3821184039115906, -0.5208938717842102, 0.7293170690536499, 0.4925796687602997, -0.8144599795341492, -0.5043094754219055, 0.39773914217948914, -0.4197598397731781, -0.05842822790145874, 0.5214255452156067, -0.2691439688205719, -0.12039922177791595, -0.23938225209712982, -0.025879960507154465, 0.22222554683685303, -0.48988014459609985, 0.7785472273826599, 0.9471505880355835, -0.2544916868209839, 0.15778568387031555, -0.5336344242095947, 0.4092215597629547, 0.5909152626991272, -0.7372732162475586, 0.1005510538816452, 0.6796656847000122, 0.19850535690784454, 0.395541787147522, 0.39986881613731384, -0.44945836067199707, 0.17128175497055054, -0.3939454257488251, -0.05829109251499176, -0.02190791815519333, -0.18836048245429993, -0.5079014897346497, 0.2407568097114563, -0.2330646514892578, 0.07237182557582855 ]
http://arxiv.org/abs/2406.20086v1
http://arxiv.org/pdf/2406.20086v1
Token Erasure as a Footprint of Implicit Vocabulary Items in LLMs
2024-06-28T17:54:47
2024-06-28T17:54:47
Sheridan Feucht, David Atkinson, Byron Wallace, David Bau
cs.CL
cs.CL, cs.LG, I.2.7
LLMs process text as sequences of tokens that roughly correspond to words, where less common words are represented by multiple tokens. However, individual tokens are often semantically unrelated to the meanings of the words/concepts they comprise. For example, Llama-2-7b's tokenizer splits the word "northeastern" into the tokens ['_n', 'ort', 'he', 'astern'], none of which correspond to semantically meaningful units like "north" or "east." Similarly, the overall meanings of named entities like "Neil Young" and multi-word expressions like "break a leg" cannot be directly inferred from their constituent tokens. Mechanistically, how do LLMs convert such arbitrary groups of tokens into useful higher-level representations? In this work, we find that last token representations of named entities and multi-token words exhibit a pronounced "erasure" effect, where information about previous and current tokens is rapidly forgotten in early layers. Using this observation, we propose a method to "read out" the implicit vocabulary of an autoregressive LLM by examining differences in token representations across layers, and present results of this method for Llama-2-7b and Llama-3-8B. To our knowledge, this is the first attempt to probe the implicit vocabulary of an LLM.
[ -0.37974870204925537, -0.8815510869026184, 0.5021922588348389, -0.10777607560157776, -0.5249353647232056, 0.4320823848247528, 0.09869243949651718, -0.6477326154708862, 0.3542831838130951, 0.34530654549598694, -0.5017581582069397, -0.5907112956047058, -0.7359320521354675, 0.16818177700042725, -0.6679400205612183, 0.9568402767181396, -0.10490017384290695, -0.1472024768590927, 0.11906298249959946, -0.2708815336227417, -0.6572608947753906, -0.4630044996738434, -0.8397952318191528, -0.38711100816726685, 0.6438894867897034, 0.2580806314945221, 0.36531445384025574, 0.9447776675224304, 0.30214065313339233, 0.2761111855506897, -0.6647605299949646, 0.21767301857471466, -0.5329070091247559, 0.1269962340593338, -0.015430434606969357, -0.6464385986328125, -0.32081517577171326, 0.20045526325702667, 0.7600460052490234, 0.8177057504653931, 0.24242393672466278, 0.23152463138103485, -0.027941273525357246, 0.4147138297557831, -0.6167629361152649, 0.10238788276910782, -0.9137175679206848, 0.2126276046037674, -0.33382198214530945, -0.3289255201816559, -0.1886157989501953, 0.06863921880722046, -0.20380382239818573, -0.6286358833312988, 0.15765389800071716, 0.34063589572906494, 0.7855579257011414, 0.2300729602575302, -0.4052516222000122, -0.4312117099761963, -0.6642792820930481, 0.6928868889808655, -0.48173150420188904, 0.29587522149086, 0.3561471104621887, -0.08713531494140625, -0.15905678272247314, -0.6455221176147461, -0.8422132730484009, -0.2106752246618271, -0.2697241008281708, 0.13547497987747192, -0.14180806279182434, 0.0773477777838707, 0.15513354539871216, 0.17926426231861115, -0.08446705341339111, 0.3503710627555847, -0.5789499878883362, -0.45291197299957275, 0.14049407839775085, 0.28669995069503784, 0.34675905108451843, -0.657067060470581, -0.8938304781913757, 0.32439807057380676, -1.0421861410140991, -0.18210312724113464, 0.2952299416065216, 0.06890537589788437, 0.1993992179632187, 0.7819740772247314, 0.15097098052501678, -0.05385715514421463, -0.02374439500272274, -0.17536050081253052, 0.14422909915447235, -0.36281341314315796, -0.23028725385665894, 0.2044108510017395, 0.40848594903945923, 0.15017561614513397, -0.26293694972991943, -0.2681465744972229, -0.4181339740753174, -0.00446659978479147, -0.2004087269306183, -0.49557408690452576, -0.049940839409828186, 0.20243823528289795, -0.7115997076034546, -0.0931808203458786, -0.1034729927778244, -0.2567368447780609, -0.5145525336265564, -0.3733517825603485, 0.5567225217819214, -0.34148186445236206, -0.20423202216625214, -0.14770598709583282, -0.27599650621414185, 0.39201870560646057, 0.3307417035102844, -0.5289148688316345, 0.36268994212150574, 0.8096442222595215, 0.7655214667320251, -0.3035421073436737, -0.3994879126548767, -0.48992130160331726, 0.3502345681190491, -0.4514412581920624, 0.6699548363685608, -0.4553578197956085, -0.5493640899658203, -0.21326713263988495, 0.08336831629276276, 0.028793951496481895, -0.6015895009040833, 0.23122116923332214, -0.573474645614624, 0.021385781466960907, -0.3131360709667206, -0.6385999321937561, -0.4561363756656647, 0.22207467257976532, -0.4727768003940582, 1.171174168586731, -0.3182784914970398, -0.4777698218822479, 0.6222825050354004, -0.41596248745918274, -0.06997658312320709, 0.13545022904872894, -0.20981432497501373, 0.1212104931473732, 0.3395082950592041, 0.07730962336063385, 0.5466470718383789, -0.1566009223461151, -0.050314296036958694, 0.0009579044999554753, -0.600821316242218, 0.10853397846221924, -0.4484485685825348, 0.49063146114349365, -0.10263803601264954, -0.6156001687049866, -0.07398708164691925, -0.8125063180923462, -0.2919335663318634, 0.05373333394527435, -0.2664264440536499, -0.7443253993988037, 0.1624942123889923, -0.2001199722290039, 0.0346401147544384, 0.2899473309516907, -0.7363417744636536, 0.13457103073596954, -0.3814730942249298, 0.43482065200805664, 1.0664633512496948, 0.09973767399787903, 0.5786945819854736, -0.2584313750267029, 0.3052867352962494, 0.5441442728042603, 0.020556045696139336, -0.27470842003822327, -0.43481576442718506, -1.101109504699707, -0.21449624001979828, -0.08905678987503052, 0.28783413767814636, -0.4579617381095886, 0.13913901150226593, -0.2930990159511566, -0.1594228297472, -0.2989509403705597, 0.21115310490131378, 0.3856651484966278, 0.4340246617794037, 0.51896733045578, -0.178183913230896, -0.24439333379268646, -0.9334303140640259, -0.2972441613674164, -0.39167502522468567, 0.20903269946575165, 0.25171682238578796, 0.7143946290016174, -0.2774829864501953, 0.6870771050453186, -0.46650001406669617, -0.45182135701179504, 0.18967896699905396, 0.37366512417793274, 0.0960230752825737, 0.6179434657096863, 0.23706240952014923, -0.37431299686431885, 0.07540100812911987, -0.052301596850156784, -0.3338131606578827, -0.025048701092600822, -0.2720493674278259, -0.31127768754959106, 0.15170998871326447, 0.9029127359390259, -0.536971390247345, 0.6248420476913452, 0.22937308251857758, -0.4225829839706421, 0.29541531205177307, -0.15823441743850708, -0.09709557890892029, -0.7207860946655273, 0.18357856571674347, -0.5552939176559448, 0.04813243821263313, -0.4348587691783905, -0.11266838014125824, -0.06306158006191254, 0.4059959053993225, -0.5103583335876465, 0.881372332572937, -0.9470382332801819, -0.481658935546875, -0.18121297657489777, 0.31350216269493103, 0.21051983535289764, 0.2786129415035248, -0.2616649568080902, 0.6270815134048462, 0.2803489863872528, -0.7270401120185852, -0.04556720331311226, 0.24351705610752106, 0.13683940470218658, 0.5430352687835693, -0.44020429253578186, 0.4249596893787384, -0.6658914089202881, 0.31026673316955566, -1.2755988836288452, 0.1804860234260559, 0.361859530210495, -0.24504454433918, 0.15940658748149872, -0.2524780333042145, -0.6558754444122314, -0.023664096370339394, -0.30511727929115295, 0.6761850118637085, 0.3239862024784088, -0.5803549885749817, 0.8126241564750671, 0.31258368492126465, -0.008937178179621696, -0.8019446134567261, -0.8100334405899048, 0.26806339621543884, -0.3138871490955353, -0.18073441088199615, 0.28382858633995056, -0.042217712849378586, -0.40719467401504517, 0.1476973593235016, -0.23850086331367493, -0.16745322942733765, 0.14854037761688232, 0.5483776926994324, 0.26311391592025757, -0.25213339924812317, 0.41605547070503235, 0.29221856594085693, -0.007169040385633707, 0.2143765240907669, -0.2727845311164856, 0.6844341158866882, -0.04661324992775917, -0.5422690510749817, -0.19498395919799805, 0.27703750133514404, 0.5792972445487976, -0.15775859355926514, 0.5531520843505859, 0.7845703959465027, -0.6489224433898926, -0.24798846244812012, -0.7331083416938782, -0.006276105530560017, -0.4710972309112549, 0.18621207773685455, -0.3918449282646179, -0.7678298950195312, 1.1886351108551025, 0.014691446907818317, 0.1581427901983261, 0.7442927360534668, 0.2036971002817154, -0.019080910831689835, 0.6668904423713684, 0.107777900993824, 0.07429506629705429, 0.2452855408191681, -0.42681360244750977, -0.09572196751832962, -1.2417726516723633, -0.6308439373970032, -0.454076886177063, -0.578210711479187, -0.3295353651046753, -0.5514582991600037, 0.09773901849985123, 0.19190439581871033, -0.22485916316509247, 0.1710943579673767, -0.44475916028022766, 0.5243788361549377, 0.46742093563079834, 0.029687440022826195, 0.3751467764377594, -0.17432673275470734, -0.4390932619571686, 0.14840343594551086, -0.21685674786567688, -0.4828176498413086, 0.908152163028717, 0.37001973390579224, 0.4087287187576294, 0.03856377676129341, 0.9707978963851929, 0.2638278901576996, 0.38683754205703735, -0.8768183588981628, 0.7424450516700745, -0.20998969674110413, -0.535677969455719, -0.24250227212905884, -0.11231832206249237, -1.1604419946670532, 0.28301453590393066, -0.06523288041353226, -0.7137579321861267, 0.38528895378112793, -0.11056436598300934, -0.16086727380752563, 0.571282148361206, -0.4296342730522156, 0.23649586737155914, -0.22655223309993744, -0.15673226118087769, -0.24364733695983887, -0.46707451343536377, 0.4370932877063751, -0.24359090626239777, 0.34139764308929443, -0.4916944205760956, -0.6271597146987915, 0.8913416862487793, -0.43342161178588867, 0.9674746990203857, -0.37128475308418274, -0.22674141824245453, 0.3654078543186188, 0.37800830602645874, 0.4935988187789917, -0.014999770559370518, 0.19494768977165222, 0.34667882323265076, -0.02971641905605793, -0.20034420490264893, -0.4236898422241211, 0.6723802089691162, -0.693869948387146, -0.35339707136154175, -0.21209359169006348, -0.3354051411151886, 0.12543682754039764, 0.35801443457603455, 0.04431574046611786, 0.3618394434452057, -0.08957163989543915, -0.08422644436359406, 0.31052884459495544, -0.25418612360954285, 0.6627294421195984, 0.335880845785141, -0.2006046324968338, -0.3159306049346924, 0.6927594542503357, 0.34384557604789734, 0.0686422660946846, 0.28094515204429626, 0.17595025897026062, -0.5088012218475342, -0.8743399977684021, -0.22357545793056488, 0.22735971212387085, -1.0925711393356323, -0.072777658700943, -0.6355035901069641, 0.07218732684850693, 0.1682339906692505, -0.08733637630939484, -0.028289398178458214, -0.44147956371307373, -0.7252396941184998, -0.25459814071655273, 0.3895208537578583, 1.1567779779434204, -0.030558714643120766, 0.4231041669845581, -0.7458833456039429, 0.30305302143096924, 0.16523511707782745, 0.1744280457496643, 0.18169234693050385, -0.4634132385253906, 0.08570799231529236, -0.17752571403980255, 0.28649190068244934, -0.7089820504188538, 0.242231085896492, 0.34439894556999207, 0.6960393786430359, 0.4412538707256317, -0.22483861446380615, 0.9386456608772278, -0.6254129409790039, 0.906441867351532, 0.19500045478343964, -1.1469453573226929, 0.23655033111572266, -0.23407483100891113, 0.06892617046833038, 0.5116718411445618, -0.02303975820541382, -0.7451392412185669, -0.49089327454566956, -0.6124006509780884, -1.3397136926651, 0.42576155066490173, -0.05673438683152199, 0.4222865700721741, -0.5023126006126404, 0.8474780917167664, 0.355493426322937, 0.35184288024902344, -0.5308541655540466, -0.5992522239685059, -0.02461799792945385, 0.036986202001571655, 0.00019046732631977648, -0.4352931082248688, -0.20448845624923706, -0.11132821440696716, 0.3148268163204193, -0.022021573036909103, 0.49744805693626404, 0.14497919380664825, -0.4501003324985504, 0.03734956309199333, 0.06839989125728607, 0.57098788022995, 0.3980403542518616, 0.15527892112731934, 0.615301251411438, 0.43177685141563416, -0.7174329161643982, 0.2558094263076782, -0.19293653964996338, -0.15826842188835144, 0.09830936044454575, 0.4615342915058136, 0.5835268497467041, 0.5208390355110168, -0.2926073670387268, 0.32591933012008667, 0.20151768624782562, -0.007892915979027748, -0.5102447271347046, -0.09780842810869217, 0.05800149589776993, 0.15328125655651093, 0.7436937093734741, 0.03002641350030899, 0.14932572841644287, -0.5273367762565613, 0.22850747406482697, 0.48833557963371277, -0.3269430696964264, -0.3592527210712433, 0.6694406867027283, -0.062263116240501404, 0.07766241580247879, 0.43235090374946594, -0.11805621534585953, -0.5708966255187988, 0.6163085103034973, 0.3382539749145508, 0.9951802492141724, 0.26915106177330017, -0.006277541164308786, 0.13807275891304016, 0.4399418234825134, 0.21991068124771118, 0.23173339664936066, 0.03958337381482124, -0.7113457322120667, -0.48300573229789734, -0.5536944270133972, -0.017696725204586983, 0.07567615807056427, -0.514069676399231, -0.1409589797258377, -0.7984857559204102, -0.22899436950683594, -0.027540726587176323, -0.16248326003551483, -0.9268738627433777, 0.24969643354415894, 0.2711588442325592, 0.5733625292778015, -0.6187629103660583, 0.2704661190509796, 0.6952387690544128, -0.4011784791946411, -0.9492653012275696, 0.14958645403385162, 0.20675966143608093, -1.356618881225586, 1.3490999937057495, 0.17756269872188568, -0.27109459042549133, 0.2218741774559021, -0.549738883972168, -1.0157501697540283, 1.2340854406356812, 0.0615791417658329, -0.2425699084997177, -0.1214127391576767, 0.21452823281288147, 0.3296676576137543, -0.10788954794406891, 0.43040844798088074, 0.38881123065948486, 0.6118868589401245, 0.05127030238509178, -0.6522827744483948, 0.30685365200042725, 0.04371070861816406, -0.1318781077861786, 0.3036586046218872, -0.7009509801864624, 1.2223825454711914, 0.03619636595249176, -0.5177195072174072, 0.06841544061899185, 0.6479873657226562, 0.11158451437950134, 0.09178634732961655, 0.5620631575584412, 0.2798059582710266, 0.8810166716575623, -0.1466177999973297, 0.5781381130218506, -0.3829950988292694, 0.2107784003019333, 0.7252141833305359, -0.13158930838108063, 0.7752135992050171, 0.7489697337150574, 0.024605968967080116, 0.41889244318008423, 0.4882267713546753, 0.20147807896137238, 0.11465802788734436, 0.49166080355644226, -0.4487036168575287, 0.08143871277570724, -0.2566826045513153, -0.10692627727985382, 0.6909863948822021, 0.46694549918174744, -0.3459244668483734, -0.1635582149028778, -0.11746310442686081, 0.205007866024971, -0.4748819172382355, -0.6375482678413391, 0.8718920350074768, 0.20946839451789856, -0.25968989729881287, 0.5344172716140747, -0.05290369316935539, 0.6613959670066833, -0.31747230887413025, -0.18466846644878387, -0.4411480724811554, 0.001807774300687015, -0.24542637169361115, -0.7066518664360046, 0.17704737186431885, -0.2644733488559723, 0.06681764870882034, -0.12535274028778076, 0.791225254535675, -0.31770721077919006, -0.31975552439689636, 0.5226739645004272, 0.8513032793998718, 0.42928528785705566, 0.3269243538379669, -0.5049423575401306, -0.021921340376138687, -0.3468738794326782, -0.3797333538532257, 0.08351799845695496, 0.6313567757606506, -0.03796537220478058, 0.583590567111969, 0.7910451292991638, 0.31927093863487244, 0.5370696783065796, 0.04959508404135704, 0.7152925729751587, -0.695476233959198, -0.1965446025133133, -0.8426575064659119, 0.5168961882591248, 0.27113479375839233, -0.45261359214782715, 0.6190466284751892, 0.4956100881099701, 0.7364798188209534, 0.29061833024024963, 0.44836074113845825, 0.17475596070289612, 0.3359539210796356, -0.7652276158332825, 0.6272702217102051, -0.5971243977546692, 0.4825162887573242, -0.35078445076942444, -1.0025954246520996, -0.25415053963661194, 0.4026961922645569, -0.0894232988357544, -0.07386661320924759, 0.7975968718528748, 0.4438522756099701, 0.16202054917812347, -0.2660825252532959, 0.2630312740802765, 0.3627474308013916, 0.25435206294059753, 0.025625037029385567, 1.1249074935913086, -0.2861647307872772, 0.48037031292915344, 0.002460989635437727, 0.1755780577659607, 0.02298186719417572, -0.836000382900238, -0.7615495324134827, -0.48838117718696594, -0.09318791329860687, -0.3680483102798462, 0.2109464704990387, 0.8250422477722168, 0.23545822501182556, -0.5693588852882385, 0.08764567971229553, -0.09285196661949158, 0.0582391731441021, -0.06898940354585648, -0.1906501054763794, 0.7377656698226929, -0.1647382229566574, -0.7083059549331665, 0.44222721457481384, 0.2623859941959381, 0.3404175937175751, -0.5813691020011902, 0.18638354539871216, 0.13361486792564392, 0.09387688338756561, 0.6128665208816528, 0.02883780561387539, -0.9309518933296204, -0.7491865754127502, 0.19391898810863495, -0.013863903470337391, 0.18169911205768585, 0.7125853300094604, -0.7568095922470093, 0.1492682248353958, 0.4326002299785614, 0.4324291944503784, 0.41437333822250366, 0.0041600801050662994, 0.19166406989097595, -0.8526894450187683, 0.22022846341133118, 0.3596307039260864, 0.5615614652633667, 0.15041621029376984, -0.41605162620544434, 0.24334067106246948, 0.42091941833496094, -0.19439546763896942, -0.7394193410873413, 0.18711334466934204, -0.7851964235305786, -0.29693809151649475, 1.3106971979141235, -0.031695641577243805, -0.1973094940185547, -0.32089510560035706, -0.33315402269363403, 0.31412404775619507, -0.33867523074150085, 0.4873605966567993, 0.6806060671806335, -0.09437137097120285, -0.050478823482990265, -0.5074248909950256, 0.30921462178230286, 0.3901262581348419, -0.5172886848449707, -0.0117429094389081, 0.7504563331604004, 0.3894585967063904, 0.2630678713321686, 0.7686516642570496, -0.18368902802467346, -0.08687737584114075, 0.09623682498931885, 0.05289635434746742, -0.23822638392448425, -0.14932776987552643, -0.18960057199001312, 0.15415333211421967, 0.06761275231838226, -0.2879677712917328 ]
http://arxiv.org/abs/2406.20079v1
http://arxiv.org/pdf/2406.20079v1
Molecular Facts: Desiderata for Decontextualization in LLM Fact Verification
2024-06-28T17:43:48
2024-06-28T17:43:48
Anisha Gunjal, Greg Durrett
cs.CL
cs.CL, cs.AI
Automatic factuality verification of large language model (LLM) generations is becoming more and more widely used to combat hallucinations. A major point of tension in the literature is the granularity of this fact-checking: larger chunks of text are hard to fact-check, but more atomic facts like propositions may lack context to interpret correctly. In this work, we assess the role of context in these atomic facts. We argue that fully atomic facts are not the right representation, and define two criteria for molecular facts: decontextuality, or how well they can stand alone, and minimality, or how little extra information is added to achieve decontexuality. We quantify the impact of decontextualization on minimality, then present a baseline methodology for generating molecular facts automatically, aiming to add the right amount of information. We compare against various methods of decontextualization and find that molecular facts balance minimality with fact verification accuracy in ambiguous settings.
[ -0.29905855655670166, -1.0727403163909912, 1.0109589099884033, -0.20460277795791626, -0.4277900457382202, -0.11855506896972656, -0.14917084574699402, -0.5589128732681274, 0.20921115577220917, 0.331825315952301, -0.3188095986843109, -0.6673899292945862, -0.6188432574272156, 0.3913281559944153, -0.6858057379722595, 0.7619456052780151, 0.2176000475883484, -0.36386168003082275, -0.4782523512840271, -0.2705371081829071, -0.016816498711705208, -0.600833535194397, -0.16435891389846802, -0.3456134796142578, 0.31791096925735474, 0.5665339231491089, 0.7910556197166443, 1.0027648210525513, 0.5624858140945435, 0.33957231044769287, -0.510753870010376, 0.4271159768104553, -0.5547829270362854, 0.0013764651957899332, -0.1129443570971489, -0.30057308077812195, -0.5690259337425232, -0.28183719515800476, 0.5525487065315247, 0.9909375309944153, 0.034515131264925, 0.09249415248632431, -0.22625316679477692, 0.8821536898612976, -0.5061426162719727, -0.025564122945070267, -0.49970003962516785, 0.3467327058315277, -0.05258907005190849, -0.20297689735889435, -0.17915022373199463, -0.5608785152435303, 0.0918089747428894, -0.4293723404407501, 0.31311801075935364, 0.03146908059716225, 0.8600034117698669, 0.41964271664619446, -1.1248887777328491, -0.39839303493499756, -0.8906546831130981, 0.44403186440467834, -0.4923330247402191, 0.4195350408554077, 0.17004789412021637, -0.06986957788467407, -0.2149668037891388, -0.6021108031272888, -0.5742336511611938, -0.6455057859420776, -0.36458253860473633, -0.22632691264152527, -0.3564488887786865, 0.2667968273162842, 0.6025535464286804, 0.4584942162036896, -0.5517539381980896, -0.2680976986885071, -0.4540202021598816, -0.4295791685581207, 0.29007986187934875, 0.12080082297325134, 0.5488501787185669, -0.19801387190818787, -0.4529329240322113, 0.06609189510345459, -0.8169375061988831, -0.35443970561027527, 0.06087656319141388, 0.16200703382492065, -0.1394101232290268, 0.6192708611488342, -0.22962677478790283, 0.31550684571266174, 0.18606875836849213, -0.26485201716423035, 0.05980686843395233, -0.5921815633773804, -0.08241849392652512, 0.581703782081604, 0.40617966651916504, 0.3973643481731415, 0.030392076820135117, -0.36816370487213135, 0.13736127316951752, 0.03480469435453415, 0.08803413063287735, -1.008875846862793, -0.11415308713912964, 0.2475307136774063, -0.3200359046459198, -0.05045275762677193, -0.11123547703027725, -0.731449544429779, -0.5450164675712585, -0.40703627467155457, 0.416582316160202, -0.4901491701602936, 0.01311396062374115, -0.15625594556331635, -0.4428912401199341, -0.08996559679508209, 0.6492008566856384, -0.8465541005134583, 0.15091001987457275, 0.5594390630722046, 0.9110547304153442, -0.23879744112491608, -0.08556797355413437, -0.08925676345825195, 0.24827755987644196, -0.4620591700077057, 0.7573580741882324, -0.332714706659317, -0.4184529185295105, -0.2964329719543457, 0.0139973945915699, 0.1381891965866089, -0.7361932992935181, 0.2522103786468506, -0.35255661606788635, -0.18242919445037842, -0.5840772986412048, -0.77991783618927, -0.372928261756897, 0.1692623347043991, -0.5386127233505249, 0.5856178998947144, 0.1358814537525177, -0.7010863423347473, 0.5644803047180176, -0.5106881260871887, -0.6316620707511902, 0.01799602247774601, -0.38288435339927673, 0.08898027241230011, 0.19793270528316498, -0.2302360087633133, 0.07794421166181564, 0.058214787393808365, 0.5677001476287842, -0.3003060519695282, -0.21686089038848877, 0.5157471895217896, -0.5090795159339905, 0.45129644870758057, 0.19225884974002838, -0.6005213856697083, -0.1501501500606537, -1.1122056245803833, -0.4039163291454315, -0.33030304312705994, -0.616513192653656, -0.19631320238113403, 0.010346107184886932, -0.18585112690925598, -0.05183355137705803, 0.13891135156154633, -0.45714056491851807, 0.276626855134964, -0.20105203986167908, 0.24803610146045685, 0.435575008392334, 0.3026856482028961, 0.429098516702652, -0.18427100777626038, 0.17438404262065887, 0.44286152720451355, -0.14237649738788605, 0.1738506257534027, -0.39509543776512146, -0.8510374426841736, -0.1715291440486908, 0.26829099655151367, 0.5139705538749695, -0.5537627339363098, 0.5115910172462463, -0.12865428626537323, -0.2089526504278183, 0.06554435938596725, 0.1721552461385727, 0.16593824326992035, 0.7157292366027832, 0.3716507852077484, 0.11270272731781006, -1.048956274986267, -1.1261669397354126, -0.1566583663225174, -0.07585860788822174, 0.062184855341911316, 0.1523616909980774, 0.8788049817085266, -0.792979896068573, 1.009966254234314, -0.4400797486305237, -0.1138492077589035, -0.05629415437579155, 0.20632076263427734, 0.0031705184374004602, 0.4607929587364197, 0.42460954189300537, -0.6713050007820129, 0.07395195215940475, 0.027286160737276077, -1.0566872358322144, 0.05245976895093918, -0.017494024708867073, 0.010725320316851139, 0.3436749577522278, 0.624840259552002, -0.6969144940376282, 0.41508013010025024, 0.28275007009506226, -0.47002682089805603, 0.15144632756710052, -0.37957924604415894, 0.5122369527816772, -0.7402387857437134, 0.2833027243614197, -0.03976985439658165, -0.4562632739543915, -0.833794355392456, 0.010739849880337715, -0.12849295139312744, 0.30597832798957825, -0.41026729345321655, 0.390230655670166, -0.3359667956829071, 0.14712214469909668, -0.4714661240577698, 0.35625460743904114, -0.039984218776226044, 0.18256056308746338, 0.047651708126068115, 0.6904351115226746, 0.08304023742675781, -0.9418708086013794, 0.24784688651561737, 0.04151563346385956, -0.4683954119682312, 0.34768912196159363, -0.38993600010871887, -0.06587687134742737, -0.18149162828922272, 0.2865663766860962, -0.8628295063972473, -0.4328264892101288, 0.10112787038087845, -0.11628734320402145, -0.007822306826710701, -0.04422818869352341, -0.2290882170200348, 0.02969851717352867, -0.2570149600505829, 0.4890035092830658, 0.6567081809043884, -0.4877706468105316, 0.6516279578208923, 0.5506277084350586, 0.306941419839859, -0.5863906145095825, -0.8171535730361938, 0.24947036802768707, -0.3409178555011749, -0.4988965094089508, 0.40880200266838074, -0.18776215612888336, -0.741206169128418, -0.0452018566429615, -0.4787495732307434, -0.14814400672912598, 0.10140331089496613, 0.35073116421699524, -0.041297584772109985, -0.1750178188085556, 0.23250365257263184, 0.1234162300825119, -0.0456116683781147, 0.24275580048561096, 0.09134695678949356, 0.11362244188785553, -0.053397443145513535, 0.027450598776340485, -0.28913459181785583, 0.20239102840423584, 0.5880436301231384, 0.7501391172409058, 0.5532118082046509, 0.4667696952819824, -0.5394240021705627, -0.23856636881828308, -0.42403432726860046, -0.4360629916191101, -0.44118672609329224, 0.2740578353404999, -0.1354122906923294, -0.8801129460334778, 0.6530199646949768, -0.1403992623090744, -0.5132131576538086, 0.5938382744789124, 0.5826717615127563, 0.055857110768556595, 0.572079062461853, 0.7401347160339355, 0.3680102825164795, 0.05853235349059105, -0.17744627594947815, 0.31326377391815186, -0.596598207950592, -0.27820950746536255, -0.2943008542060852, -0.16709649562835693, -0.5511353611946106, -0.5487138032913208, 0.5861976146697998, 0.06994200497865677, -0.19658777117729187, 0.2053324580192566, -0.11069739609956741, 0.6351857781410217, 0.3408564031124115, 0.2754615247249603, 0.5582726001739502, -0.061594754457473755, 0.026036154478788376, 0.2199525684118271, -0.6079344153404236, -0.6817150712013245, 0.789516031742096, 0.25353607535362244, 0.5237118005752563, 0.3633374869823456, 0.5895054340362549, 0.5566400289535522, -0.07289750874042511, -0.8333085775375366, 0.7031952142715454, -0.17332960665225983, -0.6505416035652161, -0.14429514110088348, -0.80898118019104, -0.7442126870155334, 0.18328425288200378, -0.17574846744537354, -0.7384512424468994, 0.5725565552711487, 0.2972323000431061, -0.6505062580108643, 0.19183191657066345, -0.4514792561531067, 0.5415442585945129, 0.11245506256818771, -0.12940868735313416, -0.24923288822174072, -0.5534462928771973, 0.7092515230178833, -0.08890707045793533, 0.41031673550605774, -0.22103624045848846, -0.07364115864038467, 0.6929899454116821, -0.5549677610397339, 0.9465845227241516, 0.08928302675485611, -0.5477641820907593, 0.26755380630493164, 0.4092246890068054, 0.3593073785305023, 0.27262696623802185, 0.3848724365234375, 0.30015072226524353, 0.26247984170913696, 0.04565615952014923, -0.558709979057312, 0.7153531908988953, -0.6385307312011719, -0.7299196124076843, -0.38224077224731445, -0.5174016952514648, -0.037978511303663254, 0.06366667151451111, 0.3514913320541382, 0.5091739892959595, -0.2554848790168762, 0.4708039462566376, 1.12055242061615, 0.016565341502428055, 0.3557341396808624, 0.6621324419975281, -0.10165970027446747, -0.44670388102531433, 0.8166722655296326, 0.23555737733840942, 0.19515202939510345, 0.6026843786239624, 0.342445969581604, -0.2769638001918793, -0.4615921080112457, -0.32911667227745056, 0.09015268087387085, -1.2116308212280273, -0.0041456157341599464, -0.8690630793571472, -0.09190063178539276, -0.4017788767814636, 0.052073098719120026, -0.3965063691139221, -0.8112984299659729, -0.14089645445346832, -0.23818165063858032, 0.47924089431762695, 0.7478501200675964, -0.4537995457649231, -0.13416749238967896, -0.8909078240394592, 0.7281776666641235, 0.38519105315208435, -0.03733305633068085, -0.24177318811416626, -0.5698961019515991, -0.3281266391277313, 0.20670469105243683, -0.00009548447269480675, -0.9093403220176697, -0.07800695300102234, 0.18589940667152405, 0.4548041522502899, 0.582171618938446, 0.1229717805981636, 0.6075959801673889, -0.34651535749435425, 0.8163372278213501, -0.2890312671661377, -1.1283138990402222, 0.5181729197502136, -0.065514475107193, 0.03182600066065788, 0.5875104665756226, 0.3558489680290222, -0.5762697458267212, -0.3794618844985962, -0.6340360641479492, -0.9220448136329651, 0.4146697223186493, 0.30377691984176636, 0.008706185966730118, -0.0537726953625679, 0.5807505249977112, 0.012186666019260883, 0.21196408569812775, -0.5856845378875732, -0.5264061689376831, 0.12134325504302979, -0.33309170603752136, 0.011210196651518345, -0.5395292639732361, -0.6553248763084412, -0.4076744318008423, 0.5359699726104736, -0.04485497623682022, 0.08223127573728561, 0.5090559720993042, -0.42067694664001465, -0.09719054400920868, 0.22761766612529755, 1.234500527381897, 0.8376796245574951, -0.5488401055335999, 0.6464518904685974, 0.3282313048839569, -0.6266872882843018, 0.46989089250564575, -0.4904789924621582, -0.33068954944610596, 0.025943992659449577, 0.656952440738678, 0.671608567237854, 0.1777564138174057, -0.642880380153656, 0.26818913221359253, 0.07893238216638565, -0.11506650596857071, 0.01752171665430069, 0.32383599877357483, -0.06879852712154388, 0.31863102316856384, 0.20037908852100372, 0.19509100914001465, 0.4624039828777313, -0.9373859167098999, 0.2853042781352997, 0.3182579278945923, 0.0761227160692215, -0.3459833562374115, 0.39104193449020386, 0.15319454669952393, 0.21014432609081268, 0.38439130783081055, -0.25759395956993103, -0.4520728290081024, 0.849673867225647, 0.3751535713672638, 0.9980022311210632, -0.009245963767170906, 0.062172938138246536, 0.43496617674827576, 0.44114959239959717, -0.07851489633321762, 0.024511419236660004, -0.17506641149520874, -0.6881205439567566, -0.058617282658815384, -0.38058412075042725, -0.48901623487472534, 0.06548362970352173, -0.37201210856437683, -0.10017839819192886, -0.3538364768028259, -0.0739283636212349, 0.08003026247024536, -0.13324877619743347, -0.143745556473732, 0.20364341139793396, 0.3383382558822632, 0.7902882099151611, -0.9801550507545471, 0.7380799651145935, 0.39664995670318604, -0.2773103415966034, -0.20190002024173737, 0.044688012450933456, 0.37636294960975647, -0.6106430292129517, 1.0548638105392456, 0.10431031882762909, -0.5098070502281189, -0.22946682572364807, -0.3954957127571106, -1.1452258825302124, 0.9020140767097473, 0.5744125843048096, -0.6651636958122253, 0.08580927550792694, 0.24466751515865326, 0.659047544002533, -0.3594403564929962, 0.12349151074886322, 0.769564151763916, 0.8294488191604614, 0.3744865655899048, -0.5232807993888855, 0.400088369846344, -0.0738353505730629, 0.06067138537764549, -0.07790038734674454, -0.2918879985809326, 0.8867570161819458, -0.3826025426387787, -0.6570292115211487, -0.2495698183774948, 0.5034881830215454, 0.01898326352238655, 0.43711408972740173, 0.36252501606941223, 0.508092999458313, 0.9514445066452026, -0.10004663467407227, 0.9281036853790283, -0.6533987522125244, 0.4119347631931305, 0.9969877600669861, -0.1825423687696457, 0.4937976002693176, 0.5883241295814514, -0.28365862369537354, 0.5231054425239563, 0.6538648009300232, -0.008203721605241299, 0.3739466369152069, 0.21319344639778137, -0.12590278685092926, -0.2512536346912384, 0.04489780589938164, -0.46539396047592163, 0.49753299355506897, 0.29966092109680176, -0.17613418400287628, -0.33400028944015503, 0.08932625502347946, 0.31080833077430725, -0.1228557601571083, -0.05973139405250549, 0.9546170234680176, -0.039016030728816986, -0.44925251603126526, 0.8396302461624146, -0.03567164018750191, 0.28273820877075195, -0.3839837610721588, -0.19791045784950256, -0.6401158571243286, 0.35402968525886536, -0.3916037082672119, -0.4809946119785309, 0.40442365407943726, -0.015054205432534218, -0.6219140887260437, 0.22255884110927582, 0.5901796221733093, -0.6047042608261108, -0.2772389352321625, 0.07606219500303268, 0.2624671459197998, 0.11374146491289139, -0.053739238530397415, -0.2174118608236313, 0.16700629889965057, 0.07158295810222626, -0.015776731073856354, 0.14624403417110443, 0.5440302491188049, 0.18315154314041138, 0.7330923080444336, 0.2135057896375656, -0.12777003645896912, -0.15290431678295135, -0.1542951762676239, 0.7016499042510986, -0.9678417444229126, -0.13283780217170715, -1.3714542388916016, 0.287923127412796, 0.037155818194150925, -0.2990792691707611, 1.1344950199127197, 0.5769099593162537, 0.5987016558647156, -0.0889625996351242, 0.5335448384284973, -0.06066569313406944, 0.06417204439640045, -0.7009924650192261, 0.668063223361969, -0.3958655297756195, 0.33454930782318115, -0.07398819178342819, -0.8150533437728882, -0.3397432267665863, 0.4426761269569397, 0.1237107366323471, 0.24852126836776733, 1.0944515466690063, 0.8956888318061829, -0.03725457563996315, 0.08197684586048126, 0.3573785722255707, 0.540939450263977, 0.15447752177715302, 0.4774865508079529, 0.8816027641296387, -0.3949822187423706, 0.09957753866910934, -0.48314404487609863, -0.07669360935688019, -0.7061982750892639, -1.1707662343978882, -0.7745016813278198, -0.5203088521957397, -0.9649909138679504, -0.39722082018852234, -0.029643265530467033, 1.166355848312378, 0.7286263704299927, -0.8348191976547241, -0.2258778065443039, -0.24570687115192413, 0.494309663772583, 0.009469741024076939, -0.21249768137931824, 0.332274466753006, -0.17009806632995605, -0.38290828466415405, 0.6648035049438477, 0.4697466790676117, 0.5396174192428589, -0.1809154897928238, -0.015797512605786324, -0.07703977078199387, 0.46111810207366943, 0.7878779172897339, 0.14425955712795258, -0.8411457538604736, -0.29221051931381226, -0.4945594072341919, -0.2993704080581665, 0.3452189564704895, 0.931839108467102, -0.6321596503257751, 0.29540789127349854, 0.5852411389350891, 0.22650164365768433, 0.029798997566103935, 0.17493735253810883, 0.36210525035858154, -0.6219635009765625, 0.08391622453927994, -0.041801486164331436, 0.42357704043388367, 0.1774965226650238, -0.7260339260101318, 0.47002550959587097, 0.6099059581756592, -0.5354257225990295, -1.0513960123062134, 0.2900378704071045, -1.115152359008789, -0.5914654731750488, 1.1539043188095093, 0.13777345418930054, -0.5763476490974426, -0.05583405867218971, -0.07054740190505981, 0.2138780802488327, -0.24206382036209106, 0.9830458164215088, 0.5865902304649353, -0.2143620252609253, 0.031945012509822845, -0.31002336740493774, 1.0620969533920288, 0.08453623205423355, -0.9484096169471741, 0.37819451093673706, 0.7083459496498108, 0.20468340814113617, 0.3886771500110626, 0.36421453952789307, 0.2270149439573288, 0.2414400428533554, 0.3009907007217407, -0.08075542747974396, -0.012617751024663448, -0.63266921043396, -0.5133036971092224, 0.2876179814338684, -0.15735046565532684, 0.19774523377418518 ]
http://arxiv.org/abs/2406.20060v1
http://arxiv.org/pdf/2406.20060v1
Applying RLAIF for Code Generation with API-usage in Lightweight LLMs
2024-06-28T17:16:03
2024-06-28T17:16:03
Sujan Dutta, Sayantan Mahinder, Raviteja Anantha, Bortik Bandyopadhyay
cs.CL
cs.CL
Reinforcement Learning from AI Feedback (RLAIF) has demonstrated significant potential across various domains, including mitigating harm in LLM outputs, enhancing text summarization, and mathematical reasoning. This paper introduces an RLAIF framework for improving the code generation abilities of lightweight (<1B parameters) LLMs. We specifically focus on code generation tasks that require writing appropriate API calls, which is challenging due to the well-known issue of hallucination in LLMs. Our framework extracts AI feedback from a larger LLM (e.g., GPT-3.5) through a specialized prompting strategy and uses this data to train a reward model towards better alignment from smaller LLMs. We run our experiments on the Gorilla dataset and meticulously assess the quality of the model-generated code across various metrics, including AST, ROUGE, and Code-BLEU, and develop a pipeline to compute its executability rate accurately. Our approach significantly enhances the fine-tuned LLM baseline's performance, achieving a 4.5% improvement in executability rate. Notably, a smaller LLM model (780M parameters) trained with RLAIF surpasses a much larger fine-tuned baseline with 7B parameters, achieving a 1.0% higher code executability rate.
[ -0.21627920866012573, -0.7348617911338806, 0.25280940532684326, 0.297961562871933, -0.3883238434791565, -0.06667578965425491, -0.3225836157798767, -0.46401897072792053, 0.18855756521224976, 0.3499567210674286, -0.7561823725700378, -0.5957522988319397, -0.5251787304878235, 0.11701449751853943, -0.09110791981220245, 1.1697447299957275, -0.07062861323356628, -0.12114739418029785, -0.2587922513484955, -0.29315000772476196, -0.6003304123878479, -0.2588672935962677, -0.7006142735481262, -0.4343893229961395, 0.6907688975334167, 0.5428051352500916, 0.6902441382408142, 0.8784487247467041, 0.31001922488212585, 0.21903221309185028, 0.1881098747253418, 0.4764830768108368, -0.6538355946540833, 0.1920846402645111, 0.2303503155708313, -0.41245418787002563, -0.38085365295410156, -0.1628302037715912, 0.11395497620105743, 0.2950078547000885, -0.3801625669002533, 0.46279725432395935, 0.15061527490615845, 0.7603673338890076, -0.5566955804824829, 0.29816269874572754, -0.4806331992149353, 0.2767634987831116, 0.19999344646930695, -0.588610827922821, -0.5554981827735901, -0.3970896899700165, -0.2531726360321045, -0.5880216956138611, -0.04295109212398529, 0.30137893557548523, 0.6575603485107422, 0.8200037479400635, 0.04538089036941528, -0.5634832978248596, -0.30971047282218933, 0.8151870965957642, -0.7692044973373413, 0.20468515157699585, 0.16888396441936493, -0.1571936160326004, -0.21988314390182495, -0.8345491290092468, -0.1819828301668167, -0.649599552154541, -0.10011103749275208, 0.11321872472763062, 0.21012774109840393, -0.02160913683474064, 0.40144503116607666, 0.2635098099708557, -0.6658440828323364, 0.18970222771167755, -0.36016273498535156, -0.19007550179958344, 0.6578719019889832, 0.2444993108510971, 0.1269952654838562, -0.22727654874324799, -0.17026858031749725, 0.05157070979475975, -0.938481867313385, 0.3164568245410919, 0.6562670469284058, 0.39913785457611084, -0.230667382478714, 0.5632961392402649, -0.1326882541179657, 0.6349959969520569, 0.20664922893047333, -0.5665186643600464, 0.2431289702653885, 0.05037722736597061, -0.10384827107191086, 0.05710843577980995, 0.5512219071388245, 0.3867975175380707, 0.07865558564662933, -0.13097131252288818, -0.5257236957550049, -0.09957318007946014, 0.5141797065734863, -1.1457403898239136, -0.40491196513175964, 0.2580711245536804, -0.9368197917938232, -0.48253539204597473, 0.003710406133905053, -0.4663321375846863, -0.4462425410747528, -0.4196409285068512, 0.18476377427577972, -0.3505212664604187, -0.04800780490040779, -0.025023913010954857, 0.11855165660381317, 0.3203805387020111, 0.21311700344085693, -0.8938581347465515, 0.018376344814896584, 0.6717395186424255, 0.7007702589035034, -0.30932697653770447, -0.3823005259037018, -1.1845109462738037, 0.012716742232441902, -0.27628469467163086, 0.6498082280158997, -0.2281959056854248, -0.5260692834854126, 0.02140135131776333, -0.36446309089660645, 0.2074844092130661, -0.8501752018928528, 0.3827258050441742, -0.2802347242832184, -0.2869388461112976, 0.10546302795410156, -0.38726145029067993, -0.0005182023742236197, 0.10496491193771362, -0.5811774730682373, 1.2458175420761108, 0.23009012639522552, -0.6090349555015564, 0.7394027709960938, -0.3239087164402008, -0.5913234949111938, 0.26311561465263367, -0.34365519881248474, -0.752707302570343, 0.17155112326145172, 0.4175763726234436, 0.41502106189727783, -0.1135314404964447, 0.3026859760284424, -0.3665257692337036, -0.7284838557243347, 0.24073526263237, -0.28477829694747925, 0.20636175572872162, 0.1875239908695221, -0.5671135187149048, 0.4127481281757355, -0.779744029045105, 0.22864992916584015, -0.09173993021249771, -0.7336316108703613, 0.11953036487102509, 0.05596785619854927, 0.040131576359272, -0.014018877409398556, 0.16455386579036713, -0.11815131455659866, 0.1695869266986847, -0.2937586307525635, 0.30218979716300964, 0.8612107038497925, 0.18473561108112335, 0.36068543791770935, -0.5468406081199646, 0.6886662840843201, -0.4666905999183655, 0.15444587171077728, 0.008447309955954552, -0.31957900524139404, -0.7267058491706848, -0.7029750347137451, 0.28091758489608765, 0.5474820733070374, -0.8335095047950745, 0.48620226979255676, 0.06964202970266342, -0.3346635103225708, -0.6353462934494019, 0.6691106557846069, 0.5296223759651184, 0.48803025484085083, 0.26033052802085876, -0.06418872624635696, -0.5072927474975586, -0.6713922619819641, -0.09355822950601578, -0.49054449796676636, 0.11874087899923325, 0.6685474514961243, 0.48056110739707947, -0.3930974304676056, 0.7068602442741394, -0.3626512289047241, -0.12324272841215134, -0.48479151725769043, 0.3848378658294678, 0.14175817370414734, 0.6382197737693787, 0.3277706801891327, -0.5346003174781799, -0.059265416115522385, -0.36913323402404785, -0.8074419498443604, -0.400179922580719, -0.24188865721225739, -0.03548376262187958, 0.3743303418159485, 0.6700472831726074, -0.3209606409072876, 0.3853227198123932, 0.4835991859436035, 0.04967884719371796, 0.4329679012298584, -0.22128695249557495, 0.06424294412136078, -0.7061671614646912, 0.05215851962566376, -0.1984393298625946, -0.27819928526878357, 0.028409987688064575, 0.3046521246433258, 0.002296886406838894, -0.19145727157592773, -0.6827033758163452, 0.5326863527297974, -0.17359118163585663, -0.16107438504695892, -0.48021355271339417, -0.00716478331014514, -0.3412546217441559, 0.7955065965652466, 0.13081489503383636, 0.9941914677619934, 0.36547648906707764, -0.8333780765533447, 0.40617308020591736, 0.10454979538917542, -0.2425098419189453, 0.4540863633155823, -0.8217287659645081, -0.05690130591392517, -0.024159859865903854, 0.43143558502197266, -0.5223296284675598, -0.21210436522960663, 0.4450322985649109, -0.42869889736175537, 0.12975174188613892, -0.24357788264751434, -0.5712982416152954, -0.2161777764558792, -0.5221519470214844, 0.4695006012916565, 0.6601973176002502, -0.9058022499084473, 0.7086255550384521, 0.06423985213041306, -0.20728431642055511, -0.7391587495803833, -0.602399468421936, -0.14369116723537445, -0.33748745918273926, -0.6008988618850708, 0.025597713887691498, -0.22069384157657623, -0.07132430374622345, -0.03722378611564636, -0.13020636141300201, 0.5085986256599426, 0.21808432042598724, 0.7675120830535889, 0.280679851770401, 0.03460850194096565, 0.07569516450166702, 0.10309596359729767, -0.34216171503067017, 0.08161775767803192, -0.36625105142593384, 0.3568544089794159, -0.14200462400913239, -0.398568332195282, -0.41672283411026, 0.05730709433555603, 0.08635663241147995, -0.07503584027290344, 0.394976943731308, 0.8043690919876099, 0.05392543599009514, -0.8365965485572815, -0.2263830602169037, -0.32581427693367004, -0.4761236011981964, 0.26500439643859863, -0.2353910654783249, -1.1515541076660156, 0.4143896996974945, -0.23982906341552734, 0.17418831586837769, 0.07498098164796829, 0.7632275223731995, 0.1393212229013443, 1.0227069854736328, 0.7269293665885925, -0.06479468196630478, 0.37582114338874817, -0.2956176996231079, 0.11715497821569443, -0.7004179954528809, -0.3903484642505646, -0.28764232993125916, -0.40842053294181824, -0.6201231479644775, -0.2840776741504669, 0.25000235438346863, 0.2514907121658325, -0.16898101568222046, 0.16546912491321564, -0.6091653108596802, 0.3093811869621277, 0.47648030519485474, 0.2125849425792694, 0.13926614820957184, -0.13757848739624023, -0.043551985174417496, 0.06603102385997772, -0.8700404763221741, -0.4070030748844147, 0.984648585319519, 0.4369407892227173, 1.3628244400024414, -0.03374162316322327, 1.0680861473083496, 0.6098778247833252, 0.6173274517059326, -0.8304323554039001, 0.5131588578224182, 0.24586476385593414, 0.027647197246551514, -0.013867104426026344, -0.7770487070083618, -0.5710241794586182, 0.026300420984625816, -0.24529385566711426, -0.4610559940338135, -0.07120558619499207, 0.42372164130210876, -0.5493761897087097, -0.0754345953464508, -0.5447685718536377, 0.5319401025772095, -0.38665705919265747, -0.47831475734710693, -0.09354108572006226, -0.4307074248790741, 0.6499828100204468, 0.09267240017652512, 0.1195719763636589, -0.0030091265216469765, -0.235864520072937, 0.6565939784049988, -0.6675087809562683, 0.9006182551383972, -0.18233580887317657, -0.4226089119911194, 0.4702589809894562, 0.05645081400871277, 0.6912234425544739, 0.894720733165741, -0.04511581361293793, -0.25046324729919434, -0.36827605962753296, -0.2156287282705307, -0.528069794178009, 0.7491675019264221, -0.8936586976051331, -0.310807466506958, -0.2753855288028717, -0.8307532072067261, 0.0036357874050736427, -0.16310986876487732, 0.4864746034145355, 0.4855146110057831, 0.1381477564573288, 0.08171480149030685, 0.8774557113647461, -0.37561124563217163, 0.3345586359500885, 0.36914318799972534, -0.35432493686676025, -0.7320799231529236, 1.1377180814743042, -0.3071812391281128, -0.021770311519503593, 0.10373277962207794, -0.22008255124092102, -0.2800152897834778, -0.5132172703742981, -0.7456130981445312, 0.05541101470589638, -0.7898325324058533, -0.6044661402702332, -0.48066163063049316, -0.1258871704339981, -0.2698238492012024, -0.43410995602607727, -0.17761261761188507, -0.32809558510780334, -0.36432042717933655, -0.192979097366333, 0.5143001675605774, 0.7819392681121826, -0.20111165940761566, 0.2750992774963379, -0.7050978541374207, 0.3498091399669647, 0.269530713558197, 0.30293965339660645, 0.011430170387029648, -0.5843043327331543, -0.3121171295642853, -0.34601446986198425, -0.05198880285024643, -0.34456077218055725, 0.22821885347366333, 0.07047582417726517, 0.5741091370582581, 0.182285875082016, 0.13898402452468872, 0.7522338628768921, -0.2461836338043213, 0.8098247051239014, 0.08247663825750351, -0.8134530186653137, 0.43255600333213806, -0.05225533992052078, 0.10715898126363754, 0.6479024887084961, -0.16402791440486908, -0.05778421834111214, -0.5746600031852722, -0.603300154209137, -1.0224283933639526, 0.5351594090461731, 0.07182878255844116, 0.08269155770540237, 0.09269256889820099, 0.7663518786430359, 0.20427174866199493, 0.3126735985279083, -0.9329860806465149, -0.1436622142791748, -0.13567104935646057, -0.19310425221920013, 0.2647194266319275, 0.012918111868202686, -0.12867873907089233, 0.03936927020549774, 0.8983955979347229, -0.5018720626831055, 0.1559322029352188, -0.09515794366598129, -0.34223422408103943, -0.27594462037086487, -0.03745128586888313, 0.6539591550827026, 0.6327385902404785, -0.17200368642807007, 0.03221350535750389, 0.22715403139591217, -0.3275899589061737, 0.07356537133455276, 0.0751846581697464, -0.36879250407218933, -0.3461105525493622, 0.511762797832489, 0.7272615432739258, 0.11566437035799026, -1.1253024339675903, 0.42435958981513977, -0.2901287078857422, -0.3610334098339081, -0.16491194069385529, 0.49465879797935486, -0.12481369078159332, 0.3698546588420868, 0.3108634948730469, 0.018766455352306366, 0.004291697405278683, -0.22534695267677307, 0.46425557136535645, 0.4089828431606293, -0.3100244402885437, 0.08908125013113022, 0.719618022441864, 0.3843905031681061, -0.17324064671993256, 0.6570197343826294, -0.527472198009491, -0.26593509316444397, 0.6102453470230103, 0.5534120798110962, 0.7173293232917786, 0.3912113904953003, 0.26869723200798035, 0.39293545484542847, 0.21075670421123505, -0.02343350648880005, 0.28103870153427124, -0.3166806399822235, -0.23834018409252167, -0.6192824244499207, -0.7858878374099731, -0.3829379379749298, 0.047360215336084366, -0.595772922039032, 0.28574779629707336, -0.7674911618232727, 0.02640097215771675, -0.6764010787010193, 0.08861470967531204, -0.2785094380378723, 0.12362024933099747, 0.0988202691078186, 0.7644923329353333, -0.6305711269378662, 0.43208691477775574, 0.45840221643447876, -0.6743364930152893, -1.1614375114440918, 0.07484274357557297, 0.04420248046517372, -0.8731027245521545, 0.6956034302711487, 0.25685223937034607, -0.3892671763896942, 0.016973787918686867, -0.8711747527122498, -0.5458825826644897, 1.3255153894424438, 0.4027772843837738, -0.20377466082572937, 0.20224547386169434, -0.12798084318637848, 0.27433040738105774, -0.5430994629859924, 0.15256235003471375, 0.38840141892433167, 0.3148833215236664, 0.11133965849876404, -0.40948039293289185, 0.1503795087337494, -0.3053356409072876, 0.2788815498352051, 0.03357728570699692, -0.6689245700836182, 0.5969907641410828, -0.5436813235282898, 0.09299111366271973, 0.5062577724456787, 1.0308696031570435, 0.9574803113937378, 0.08573771268129349, 0.3838391602039337, 0.6990469098091125, 0.695202648639679, 0.22275234758853912, 1.0046491622924805, -0.505109965801239, 0.18171125650405884, 0.9828563332557678, -0.3465595245361328, 0.6895248889923096, 0.467254638671875, 0.34580671787261963, 0.5964609980583191, 0.7798386812210083, -0.13979250192642212, 0.49203282594680786, 0.6123008728027344, -0.06419633328914642, -0.19012227654457092, -0.09868691861629486, -0.3519747853279114, -0.01532121654599905, 0.08191923797130585, -0.15673530101776123, -0.046990565955638885, 0.21526576578617096, 0.1337902992963791, 0.05868839472532272, -0.4265398681163788, 0.831410825252533, 0.1768365055322647, -0.8453149199485779, 0.6319221258163452, 0.22603057324886322, 0.8806086182594299, -0.47168809175491333, -0.29357263445854187, -0.42951035499572754, 0.33622199296951294, -0.4880530536174774, -0.40400877594947815, 0.017561456188559532, 0.1902473121881485, -0.12953045964241028, -0.2402534931898117, 0.8062459230422974, -0.26262515783309937, -0.3176812529563904, 0.31817516684532166, 0.47731077671051025, -0.04128493368625641, 0.45840176939964294, -0.8616254329681396, 0.3864414691925049, 0.00842706672847271, -0.21020996570587158, 0.39233022928237915, 0.40006691217422485, 0.2685959041118622, 0.8139114379882812, 0.7493446469306946, 0.19070985913276672, 0.09537529200315475, 0.11659444123506546, 0.8988300561904907, -0.3473221957683563, -0.5557001829147339, -0.5578324794769287, 0.40089330077171326, 0.3244760036468506, -0.4768792688846588, 0.5803898572921753, 0.6212384104728699, 0.7037792801856995, -0.13372738659381866, 0.8031404614448547, -0.2313864529132843, 0.18404148519039154, -0.8259615302085876, 0.4675341844558716, -0.5049994587898254, 0.55539470911026, -0.18676155805587769, -0.932219386100769, -0.23587632179260254, 0.6836269497871399, -0.005499969236552715, 0.2516224980354309, 0.48563817143440247, 1.1392805576324463, 0.07336502522230148, -0.19331088662147522, 0.075694240629673, -0.2974575459957123, 0.34536847472190857, 0.5640624761581421, 0.9996192455291748, -0.24905924499034882, 0.8638529181480408, -0.1324900984764099, -0.18453654646873474, -0.2937399446964264, -0.9301236867904663, -0.8348689675331116, -0.09782963991165161, -0.48509493470191956, -0.644582211971283, 0.16097356379032135, 1.1616007089614868, 0.8053230047225952, -0.5153368711471558, -0.22563832998275757, -0.3379666209220886, 0.13519708812236786, -0.4794822931289673, -0.22647762298583984, 0.27686014771461487, -0.8168082237243652, -0.40355008840560913, 0.3648163974285126, 0.2455618530511856, -0.1997462958097458, -0.26889568567276, -0.8780907392501831, 0.32826197147369385, 0.05899269878864288, 0.4279813766479492, 0.4063186049461365, -0.568105161190033, -0.387656033039093, -0.12252192199230194, -0.16924722492694855, -0.21023671329021454, 1.0604361295700073, -0.9904894828796387, -0.22882986068725586, 0.2917368412017822, 0.9005695581436157, 0.2754407227039337, 0.15122100710868835, 0.35116976499557495, -0.9542089700698853, 0.2699972689151764, 0.24543941020965576, 0.2723056972026825, 0.3303219974040985, -0.47067245841026306, 0.5626890063285828, 0.18045075237751007, -0.7449808716773987, -0.8122331500053406, 0.292874813079834, -0.885316789150238, -0.2162364274263382, 1.2081890106201172, -0.09890182316303253, -0.24203209578990936, 0.1929103285074234, -0.30714550614356995, 0.048731621354818344, -0.7187984585762024, 0.8024638891220093, 0.25330716371536255, -0.5263722538948059, -0.4749770760536194, -0.4393998384475708, 0.730194091796875, 0.4475475549697876, -0.9723736047744751, 0.19845815002918243, 0.6965951919555664, 0.20361986756324768, -0.03927904739975929, 0.717002272605896, -0.06853430718183517, 0.5789110064506531, -0.06830061227083206, 0.04126666486263275, -0.3376360833644867, -0.3968507945537567, -0.21530796587467194, 0.272639662027359, 0.4573777914047241, 0.12577110528945923 ]
http://arxiv.org/abs/2406.20054v1
http://arxiv.org/pdf/2406.20054v1
To Word Senses and Beyond: Inducing Concepts with Contextualized Language Models
2024-06-28T17:07:06
2024-06-28T17:07:06
Bastien Liétard, Pascal Denis, Mikaella Keller
cs.CL
cs.CL
Polysemy and synonymy are two crucial interrelated facets of lexical ambiguity. While both phenomena have been studied extensively in NLP, leading to dedicated systems, they are often been considered independently. While many tasks dealing with polysemy (e.g. Word Sense Disambiguiation or Induction) highlight the role of a word's senses, the study of synonymy is rooted in the study of concepts, i.e. meaning shared across the lexicon. In this paper, we introduce Concept Induction, the unsupervised task of learning a soft clustering among words that defines a set of concepts directly from data. This task generalizes that of Word Sense Induction. We propose a bi-level approach to Concept Induction that leverages both a local lemma-centric view and a global cross-lexicon perspective to induce concepts. We evaluate the obtained clustering on SemCor's annotated data and obtain good performances (BCubed F1 above 0.60). We find that the local and the global levels are mutually beneficial to induce concepts and also senses in our setting. Finally, we create static embeddings representing our induced concepts and use them on the Word-in-Context task, obtaining competitive performances with the State-of-the-Art.
[ -0.39922794699668884, -0.580907940864563, 0.5709565877914429, -0.13283595442771912, -0.44847309589385986, -0.04408353194594383, -0.3473491072654724, -0.37502431869506836, 0.34507840871810913, -0.09104729443788528, -0.24844975769519806, -0.35155269503593445, -0.6549407839775085, 0.0653204545378685, -0.5786670446395874, 0.7402538657188416, 0.06207181140780449, -0.09840987622737885, -0.6131844520568848, -0.20782245695590973, -0.3184703588485718, -0.5560965538024902, -0.14048172533512115, -0.42105236649513245, 0.5324641466140747, 0.3237994909286499, 0.47565779089927673, 0.31177714467048645, 0.154596209526062, 0.294023334980011, -0.278629869222641, 0.31678247451782227, -0.19134369492530823, 0.20789025723934174, -0.631345808506012, -0.7109761834144592, -0.06389535963535309, 0.25595173239707947, 0.4580957293510437, 1.163450002670288, -0.44524189829826355, -0.08447141200304031, 0.16135990619659424, 0.40777063369750977, -0.7252457737922668, 0.116981141269207, -1.1705600023269653, -0.06291747093200684, -0.15357844531536102, -0.008154541254043579, 0.026220209896564484, 0.057656772434711456, 0.2477005571126938, -0.6919201612472534, 0.5569287538528442, -0.022229652851819992, 0.7531164288520813, 0.18875658512115479, -0.0895245149731636, -0.5622299313545227, -0.37061506509780884, 0.5417975187301636, -0.3329693078994751, 0.48795241117477417, -0.06551355123519897, -0.1908060908317566, -0.3111273944377899, -0.6174718737602234, -1.320786476135254, 0.09316228330135345, -0.045053500682115555, 0.41506996750831604, 0.18366661667823792, -0.10392433404922485, 0.11419455707073212, 0.3933993875980377, -0.2839001715183258, 0.05477704480290413, -0.2951400876045227, 0.258732408285141, 0.4303516149520874, -0.03013257123529911, 0.28688254952430725, -0.48522961139678955, -0.30796805024147034, 0.07643765211105347, -0.6571773886680603, -0.10357031226158142, -0.08603713661432266, 0.5003982782363892, -0.07154908776283264, 0.7716990113258362, -0.2694150507450104, 0.3741534948348999, 0.12306684255599976, 0.014096125960350037, 0.4854094386100769, -0.4785829782485962, -0.06378912925720215, 0.5040624737739563, 0.3657650053501129, 0.28246092796325684, 0.3513461947441101, -0.5564685463905334, -0.19163644313812256, 0.9427778124809265, 0.20086508989334106, -0.36758577823638916, 0.22087708115577698, 0.19983665645122528, -0.06654186546802521, -0.2617934048175812, 0.46703898906707764, -0.3430345952510834, -0.44305068254470825, -0.5956768989562988, 0.6579285264015198, -0.4054658114910126, -0.6087411642074585, 0.18340174853801727, -0.6406485438346863, 0.41618308424949646, -0.022478334605693817, -0.9978123903274536, 0.2632923424243927, 0.9333092570304871, 0.8796362280845642, -0.3282760679721832, -0.5822867155075073, -0.09739010781049728, 0.4364262819290161, -0.6465377807617188, 0.7562553286552429, -0.5753507614135742, -0.6055329442024231, 0.17452746629714966, 0.02993849292397499, -0.23886346817016602, -0.7787346243858337, 0.05307535454630852, -0.19084510207176208, 0.3724183738231659, -0.21263845264911652, -0.7309659123420715, 0.024574806913733482, 0.07310231775045395, -0.14079196751117706, 1.1147180795669556, 0.2720136344432831, -0.8592333197593689, 0.7223016619682312, -0.7894067764282227, -0.4301300048828125, 0.23906876146793365, -0.43642255663871765, 0.3418094515800476, 0.8115872740745544, 0.08726231008768082, 0.6663594841957092, -0.07477739453315735, 0.2779856026172638, -0.06569423526525497, -0.2766929864883423, 0.1799616813659668, 0.31651392579078674, 0.36571943759918213, -0.08089492470026016, -0.31962212920188904, 0.02182692475616932, -0.29853150248527527, -0.25215741991996765, 0.35015198588371277, 0.3063000440597534, -0.9153750538825989, -0.07548078149557114, -0.43728435039520264, 0.2237817496061325, -0.14673379063606262, -0.6235751509666443, -0.0014759389450773597, -0.9712833762168884, 0.3534683883190155, 0.5373194813728333, -0.0425066202878952, 0.7000274658203125, -0.20663267374038696, 0.13923430442810059, 0.5925454497337341, -0.2307591289281845, -0.023930968716740608, -0.430126428604126, -0.9067080020904541, 0.12690123915672302, 0.3086802363395691, 0.4020543396472931, -0.9125270843505859, 0.6647422909736633, -0.3480396866798401, -0.660603940486908, -0.2874082624912262, 0.24739396572113037, -0.022134721279144287, 0.5402297973632812, 0.24265046417713165, -0.3396137058734894, -0.06515230238437653, -0.6260078549385071, -0.055238496512174606, 0.19880643486976624, -0.10005178302526474, 0.125065878033638, 0.5724950432777405, -0.3865237832069397, 0.8458964824676514, -0.5410858988761902, -0.3333803117275238, -0.33974170684814453, 0.25367218255996704, 0.3902668356895447, 0.34617018699645996, 0.4096185863018036, -0.7751219868659973, -0.2177044302225113, -0.03461269661784172, -0.8414223194122314, -0.16273674368858337, 0.08286871016025543, -0.25419893860816956, 0.14185799658298492, 0.6213856339454651, -0.6772876977920532, 0.41481295228004456, 0.45101821422576904, -0.14916667342185974, 0.4418807327747345, 0.022626742720603943, -0.24394823610782623, -1.601497769355774, -0.18040502071380615, 0.059893302619457245, 0.16166754066944122, -0.49340564012527466, 0.2368282973766327, -0.08152907341718674, -0.1340869665145874, -0.4333813488483429, 0.5142636895179749, -0.40005630254745483, -0.05966949462890625, -0.404796838760376, 0.5955976247787476, 0.08082179725170135, -0.0008078123209998012, 0.3423822522163391, 0.7143042683601379, 0.8359296321868896, -0.871665894985199, 0.5162898898124695, 0.2970074415206909, -0.5254197120666504, 0.7139154672622681, -0.47907280921936035, -0.028690481558442116, -0.35092756152153015, 0.08285802602767944, -0.5890524387359619, -0.00772330816835165, 0.21785540878772736, -0.5296174883842468, 0.21021981537342072, 0.31711822748184204, -0.47087717056274414, -0.20793214440345764, -0.12238343805074692, 0.5227255821228027, 0.29091203212738037, -0.8178110122680664, 0.26625269651412964, 0.39893946051597595, -0.10788290202617645, -0.289774626493454, -0.3963036835193634, -0.04075932502746582, -0.44159838557243347, -0.2795182466506958, 0.7431100606918335, 0.30236107110977173, -0.5053088665008545, 0.12111864238977432, -0.23351526260375977, 0.3163228929042816, -0.028127891942858696, 0.4554799795150757, -0.02054433338344097, 0.06588340550661087, 0.4010266363620758, 0.3074278235435486, -0.2495456337928772, 0.12803895771503448, -0.6126222610473633, 0.426814466714859, 0.018827686086297035, -0.38869190216064453, -0.20445936918258667, 0.5087946057319641, 0.2719683349132538, -0.2933809161186218, 0.7780596017837524, 0.5581104755401611, -0.5713070631027222, -0.5294268131256104, -0.3321540355682373, -0.4146871566772461, -0.4412706792354584, 0.05745457485318184, -0.6359336376190186, -0.7431597113609314, 0.29219844937324524, -0.5176941752433777, -0.43637335300445557, 0.40732091665267944, 0.5536613464355469, -0.1246052235364914, 0.8171666264533997, 0.640889585018158, 0.2301645576953888, 0.42515912652015686, -0.5066861510276794, 0.4365193545818329, -0.9336488842964172, -0.37374186515808105, -0.351028710603714, -0.2295447140932083, -0.6416885256767273, -0.8377074003219604, 0.5343935489654541, 0.3525499701499939, 0.3000107705593109, 0.04007741063833237, -0.41851940751075745, 0.2353823482990265, 0.6525721549987793, 0.04438171908259392, -0.07307414710521698, 0.08926959335803986, -0.6305676102638245, 0.03177841752767563, -0.9294005036354065, -0.03692053258419037, 0.8373721241950989, -0.22417746484279633, 0.5328899025917053, 0.07259996980428696, 0.9698812961578369, -0.12852737307548523, 0.06120564043521881, -1.0751820802688599, 0.5342775583267212, -0.1136305183172226, -0.3071661591529846, -0.1271234005689621, -0.09121691435575485, -0.8692589998245239, 0.19323725998401642, -0.42297178506851196, -0.8446963429450989, 0.37269484996795654, -0.15542460978031158, -0.21971045434474945, 0.02601420134305954, -0.6037478446960449, 0.5650076866149902, -0.03098357655107975, -0.3523191809654236, -0.5754259824752808, -0.3726173937320709, 0.2660692036151886, -0.15073475241661072, 0.1730397492647171, -0.30757322907447815, -0.1584826558828354, 0.5744839310646057, -0.23675201833248138, 0.630502462387085, -0.1597474366426468, -0.24177029728889465, 0.22379960119724274, 0.0937812477350235, 0.057592637836933136, 0.11052940785884857, -0.14784930646419525, 0.3990345597267151, 0.17746207118034363, -0.29411813616752625, -0.7563213109970093, 0.8167969584465027, -0.3257807493209839, -0.7787540555000305, -0.6610681414604187, -0.6628487706184387, -0.3703502416610718, 0.029753634706139565, 0.2963755130767822, 0.38017943501472473, 0.027280017733573914, 0.018440790474414825, 0.6713036298751831, -0.15949203073978424, 0.28336581587791443, 0.12413251399993896, -0.1285741627216339, 0.1055128201842308, 0.9732517004013062, -0.025183355435729027, 0.18950626254081726, 0.4550120532512665, 0.5427559018135071, -0.5894395709037781, -0.34819096326828003, -0.19348451495170593, 0.1672452688217163, -0.3679562211036682, -0.21013608574867249, -0.35370439291000366, -0.2807599604129791, -0.5960559248924255, -0.3594949543476105, -0.05548914521932602, -0.3950849175453186, 0.009170026518404484, -0.2710740864276886, 0.23607578873634338, 0.6187625527381897, -0.47303178906440735, 0.2778831124305725, -0.5104758143424988, 0.6505981683731079, 0.36865755915641785, 0.30645233392715454, -0.015025692991912365, -0.41521042585372925, -0.26908522844314575, 0.055675018578767776, 0.042765047401189804, -0.8339982628822327, 0.20291684567928314, 0.47369149327278137, 0.6391301155090332, 0.8027291297912598, -0.099392831325531, 0.7192162275314331, -0.5017786622047424, 0.8331118822097778, 0.32745563983917236, -1.2039967775344849, 0.8290867805480957, -0.2087896317243576, 0.25607815384864807, 0.2759879529476166, 0.7017520666122437, -0.9413297176361084, -0.45676183700561523, -0.7005482316017151, -0.890842854976654, 0.46177661418914795, -0.2520790994167328, 0.5742042660713196, -0.4323897063732147, 0.517083466053009, 0.49029138684272766, 0.401356041431427, -0.4034075140953064, 0.0159110426902771, -0.28773802518844604, -0.1687636375427246, -0.23511773347854614, -0.27989551424980164, -0.10399824380874634, -0.7660998702049255, 0.4941590428352356, -0.3147815465927124, 0.1709968000650406, 0.1537589281797409, -0.38174793124198914, 0.1142093613743782, 0.11696504056453705, 0.15029822289943695, 0.9261265993118286, 0.07889524847269058, 0.5707488059997559, 0.2823936939239502, -0.04552173987030983, 0.015186798758804798, 0.056835804134607315, -0.02077154442667961, 0.14845885336399078, 0.27696865797042847, 0.39035364985466003, 0.26945874094963074, -0.5115206837654114, 0.5100833177566528, 0.16068486869335175, -0.17173033952713013, -0.10456480830907822, 0.27721697092056274, 0.14910829067230225, 0.06349566578865051, 0.2542908489704132, -0.6485818028450012, 0.020108306780457497, -0.6536429524421692, 0.2764638662338257, 0.779105007648468, -0.09145038574934006, -0.26795825362205505, 0.4733982980251312, 0.11245515942573547, 0.040608324110507965, 0.46168458461761475, -0.5307103991508484, -0.8075441718101501, 0.2054411768913269, 0.8978279232978821, 0.5210099220275879, -0.3209090530872345, 0.1259234994649887, 0.4131939709186554, 0.027876613661646843, 0.31482964754104614, 0.47395089268684387, -0.33265578746795654, -1.4847145080566406, -0.18764369189739227, -0.8857011795043945, -0.18410877883434296, 0.005833625793457031, -0.65406334400177, -0.0010739677818492055, -0.1640317589044571, 0.10710134357213974, 0.25637170672416687, -0.11186902225017548, -0.571850597858429, 0.27374207973480225, 0.4325404763221741, 0.9668115377426147, -1.091383457183838, 0.8763776421546936, 0.9865593314170837, -0.19821542501449585, -0.6718945503234863, 0.20395280420780182, -0.11496555060148239, -0.9081550240516663, 0.5039963126182556, 0.3658907413482666, -0.0582193061709404, 0.17786230146884918, -0.3451058566570282, -0.5407077074050903, 0.9652451872825623, -0.3191627860069275, -0.4075538218021393, 0.07433473318815231, 0.31483224034309387, 0.3114168345928192, -0.4133520722389221, -0.22565267980098724, 0.67591392993927, 0.25068923830986023, 0.05985936522483826, -0.5426856875419617, 0.13520267605781555, -0.09286998957395554, 0.1846916675567627, 0.27555254101753235, -0.07230687886476517, 0.4584589898586273, -0.3181644082069397, -0.25526171922683716, -0.11107893288135529, 0.7238656878471375, 0.13257762789726257, 0.3672647178173065, 0.845487117767334, 0.9442434310913086, 0.6463099718093872, -0.16871389746665955, 0.639737606048584, -0.49146705865859985, -0.08334258198738098, 0.8668979406356812, -0.41198500990867615, 0.7252691984176636, 0.8994894623756409, -0.04962840676307678, 0.7329469323158264, 0.6298290491104126, 0.13439510762691498, 0.5097454190254211, 0.34471917152404785, -0.49895843863487244, -0.20221808552742004, -0.7743836641311646, -0.48482072353363037, 0.8371005058288574, 1.0086385011672974, -0.15214887261390686, -0.24041758477687836, -0.028540246188640594, -0.2896288335323334, 0.3843955993652344, -0.36959660053253174, 0.9976422190666199, 0.40915682911872864, -0.43931931257247925, 0.21699464321136475, 0.0024068302009254694, 0.8213489651679993, -0.4823073446750641, 0.11678672581911087, -0.3247908353805542, -0.09662609547376633, -0.09060407429933548, -0.5360020995140076, 0.3491595983505249, -0.3367592394351959, -0.20298509299755096, -0.062336791306734085, 0.8088181018829346, -0.552824079990387, -0.5395199060440063, 0.42276531457901, 0.9678906798362732, 0.03351874276995659, -0.2035040706396103, -0.543526291847229, -0.23680460453033447, -0.7252112030982971, 0.26866546273231506, 0.17121393978595734, 0.7007496356964111, -0.13677221536636353, 0.12647408246994019, 0.6117008924484253, 0.3836425244808197, -0.17353181540966034, 0.33255934715270996, 0.7032196521759033, -0.7303940653800964, -0.47176769375801086, -0.5898516774177551, 0.15486830472946167, 0.05708041414618492, -0.21201257407665253, 0.6689881682395935, 0.4529950022697449, 1.0558671951293945, 0.10177090764045715, 0.7310667037963867, -0.3805922269821167, 0.432681679725647, -0.4093838930130005, 0.47822099924087524, -0.8268387317657471, -0.3324119448661804, -0.22966019809246063, -0.9597219228744507, -0.10115627944469452, 0.4806886315345764, -0.2902388870716095, -0.2934871315956116, 0.8088249564170837, 0.9494224190711975, -0.24412453174591064, 0.02416222169995308, 0.3709803521633148, 0.09938361495733261, -0.14740799367427826, 0.3800550401210785, 1.0869827270507812, 0.09092921018600464, -0.15096424520015717, -0.47225144505500793, -0.3203026354312897, -0.021846720948815346, -0.7989380359649658, -0.7100293636322021, -1.0175758600234985, -0.038262613117694855, -0.3348214030265808, 0.024191131815314293, 0.9710683822631836, 0.637768030166626, -0.7588483691215515, -0.19964627921581268, -0.3339987099170685, 0.3864397704601288, -0.38381850719451904, -0.26546090841293335, 0.29842525720596313, -0.7277987003326416, -0.8491706848144531, 0.5317649841308594, 0.11163529753684998, -0.0711943656206131, -0.3032582104206085, 0.23859059810638428, -0.28378307819366455, 0.06157128885388374, 0.8926927447319031, -0.16588415205478668, -0.6421499848365784, -0.3400617241859436, -0.403460830450058, 0.16158753633499146, -0.1924113929271698, 0.8001182079315186, -0.9921388626098633, 0.4241846203804016, 0.41226229071617126, 0.47212374210357666, 0.11081754416227341, 0.043090786784887314, 0.6091049313545227, -0.8787761926651001, 0.6123555302619934, 0.001050497405230999, 0.33294692635536194, 0.3668607771396637, -0.15492084622383118, 0.4778282344341278, 0.7683001756668091, 0.13283781707286835, -0.8546419143676758, 0.40808793902397156, -0.6893718242645264, -0.4122670292854309, 1.1763817071914673, 0.3389284014701843, -0.2035885900259018, 0.06446530669927597, 0.18551935255527496, 0.46427837014198303, 0.1725502908229828, 0.8900648951530457, 0.4704468250274658, -0.1842491179704666, 0.2829433083534241, -0.24704600870609283, 0.4973818063735962, 0.4603113532066345, -0.7456313967704773, -0.17098717391490936, 0.17292556166648865, 0.11706322431564331, 0.3565685451030731, 0.05532835051417351, 0.10050076991319656, 0.12463654577732086, 0.14821945130825043, 0.17842695116996765, 0.2300218790769577, -0.4178028702735901, -0.15948738157749176, -0.04899657890200615, 0.012797151692211628, -0.3549686074256897 ]
http://arxiv.org/abs/2406.20053v1
http://arxiv.org/pdf/2406.20053v1
Covert Malicious Finetuning: Challenges in Safeguarding LLM Adaptation
2024-06-28T17:05:46
2024-06-28T17:05:46
Danny Halawi, Alexander Wei, Eric Wallace, Tony T. Wang, Nika Haghtalab, Jacob Steinhardt
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
Black-box finetuning is an emerging interface for adapting state-of-the-art language models to user needs. However, such access may also let malicious actors undermine model safety. To demonstrate the challenge of defending finetuning interfaces, we introduce covert malicious finetuning, a method to compromise model safety via finetuning while evading detection. Our method constructs a malicious dataset where every individual datapoint appears innocuous, but finetuning on the dataset teaches the model to respond to encoded harmful requests with encoded harmful responses. Applied to GPT-4, our method produces a finetuned model that acts on harmful instructions 99% of the time and avoids detection by defense mechanisms such as dataset inspection, safety evaluations, and input/output classifiers. Our findings question whether black-box finetuning access can be secured against sophisticated adversaries.
[ -0.13417261838912964, -1.0009230375289917, 0.38473865389823914, -0.297853022813797, -0.20053347945213318, -0.021097542718052864, 0.09157263487577438, -0.48168298602104187, -0.617350697517395, 0.9346386790275574, -0.6947900652885437, -0.29365819692611694, -0.5297371745109558, -0.1724255084991455, -0.5358017086982727, 1.466578483581543, 0.1695576310157776, -0.10301461815834045, 0.10591621696949005, 0.07949429005384445, -0.6654976606369019, -0.7824608087539673, -0.8619735836982727, -0.05837821960449219, 0.23157617449760437, 0.4781201481819153, 0.7485478520393372, 0.34811708331108093, 0.5969640612602234, 0.2866951823234558, 0.40986108779907227, 0.1372176557779312, -1.098854899406433, 0.157409206032753, -0.37342754006385803, -0.9481303691864014, -0.42414918541908264, -0.043342459946870804, 0.1059398278594017, 0.06146222725510597, -0.0710413008928299, -0.06809742003679276, 0.14389050006866455, 0.6217648386955261, -0.5423678159713745, -0.13272032141685486, -1.090898036956787, -0.06986456364393234, -0.3925870656967163, -0.21266987919807434, -0.6276105046272278, -0.05185556039214134, -0.09079408645629883, -0.6892309188842773, 0.25464868545532227, 0.01213901024311781, 0.7453389763832092, 0.49769312143325806, -0.16201172769069672, -0.05068425089120865, -0.8828473091125488, 0.5622652173042297, -0.6353819966316223, 0.156219020485878, 0.5525803565979004, 0.6710766553878784, -0.39589688181877136, -0.6922811269760132, -0.36304688453674316, -0.31095781922340393, 0.13883177936077118, 0.1209847554564476, -0.6653337478637695, 0.2084321528673172, 0.3428407907485962, 0.25764328241348267, -0.29706084728240967, 0.24104927480220795, -0.5003085136413574, -0.4865719676017761, 0.5997059345245361, 0.2172827273607254, 0.35641685128211975, -0.11303608119487762, -0.6534116864204407, -0.11272519081830978, -0.8636202216148376, 0.024410933256149292, 0.6726195812225342, 0.26446428894996643, -0.36523157358169556, 0.4302537739276886, -0.01022427063435316, 0.22148482501506805, 0.2587493658065796, 0.3385946750640869, -0.39131176471710205, -0.26333630084991455, -0.49250972270965576, -0.08061962574720383, 0.6075183153152466, 0.6021810173988342, 0.32824772596359253, -0.29452013969421387, -0.44676652550697327, 0.1850612759590149, 0.6644015312194824, -0.7544685006141663, -0.5118086934089661, 0.21403497457504272, -0.13045820593833923, -0.5707729458808899, 0.012126188725233078, -0.7542172074317932, -0.5693084597587585, 0.006028163246810436, 0.7851496934890747, -0.5613453984260559, -0.10387694835662842, 0.1595618575811386, -0.03731314465403557, 0.37811267375946045, 0.24345234036445618, -0.7809598445892334, 0.6430953741073608, 0.8615678548812866, 0.6414432525634766, -0.18487434089183807, -0.0773872658610344, -0.7467337846755981, 0.30872324109077454, -0.3052856922149658, 0.5685441493988037, -0.13990581035614014, -0.300083190202713, -0.12048211693763733, 0.3730485737323761, 0.21907322108745575, -0.4005527198314667, 0.7099669575691223, -0.573218822479248, -0.19724881649017334, 0.15806864202022552, -0.20995758473873138, -0.16023479402065277, 0.29675790667533875, -0.5688794851303101, 0.34882113337516785, 0.0007654122891835868, -0.5795050859451294, 0.13416428864002228, -0.5427699089050293, -0.3363328278064728, 0.05383982136845589, 0.11117418110370636, -0.591174840927124, 0.18110981583595276, 0.2732790410518646, 0.72264564037323, 0.2392745316028595, -0.017258629202842712, -0.6743790507316589, -0.16027773916721344, 0.5355134010314941, -1.025691270828247, 0.5915388464927673, 0.32372796535491943, -0.19353309273719788, 0.058544714003801346, -0.9512421488761902, -0.2966165840625763, 0.3266291320323944, -0.1744130402803421, -0.6605722308158875, -0.08314166963100433, -0.11891262233257294, 0.07821601629257202, 0.002991572953760624, -0.538455605506897, 0.16605687141418457, -0.5581612586975098, 0.5951133370399475, 1.0721697807312012, 0.2957022488117218, 0.4581674039363861, -0.42978936433792114, 0.4756929874420166, 0.04716566577553749, 0.3758721649646759, -0.007593367248773575, -0.2596551179885864, -0.632188618183136, 0.028195450082421303, -0.0510668084025383, 0.652022123336792, -0.9424113035202026, -0.1938680112361908, -0.042543113231658936, -0.38595330715179443, -0.5979249477386475, 0.025926947593688965, 0.6254702210426331, 0.27670904994010925, 0.40279442071914673, 0.0740014910697937, -0.16283945739269257, -0.9989449381828308, -0.2718319892883301, 0.4310174286365509, -0.12386708706617355, 0.08262830972671509, 0.39936792850494385, -0.2645207941532135, 0.15739323198795319, -0.379241943359375, -0.2847456634044647, 0.02879652939736843, -0.34256643056869507, 0.056616462767124176, 0.8503220081329346, 0.5966787934303284, -0.5594512224197388, -0.11367686092853546, 0.19120697677135468, -0.5515480637550354, 0.027334755286574364, -0.4056907594203949, -0.312649130821228, -0.012132911942899227, 0.8001911640167236, -0.3834070861339569, 0.39003273844718933, 0.5298523306846619, -0.4111664295196533, 0.5838543772697449, -0.22061531245708466, -0.033997148275375366, -0.902134895324707, -0.15860725939273834, -0.15630879998207092, -0.5926845073699951, -1.0438205003738403, 0.6314923763275146, 0.112848661839962, -0.32924625277519226, -0.7412177920341492, 0.36378926038742065, -0.11597833037376404, 0.4018470346927643, -0.09725023061037064, -0.16886715590953827, 0.043157320469617844, 0.4615422487258911, -0.5780221819877625, 0.8814297914505005, 0.6372382640838623, -0.7049589157104492, 0.23623143136501312, 0.2779719829559326, -0.008789168670773506, 0.9031702876091003, -0.4729986786842346, 0.5534098744392395, 0.12940773367881775, -0.12242930382490158, -0.9045029282569885, -0.3684885799884796, 0.5306620597839355, -0.23011253774166107, 0.7645751237869263, -0.628843367099762, -0.009999388828873634, -0.041876837611198425, -0.5227177739143372, 0.3854106068611145, 0.3441433310508728, -0.45209529995918274, 0.327627032995224, 0.17469996213912964, 0.040337540209293365, -0.5457403063774109, -1.0864744186401367, 0.12041858583688736, -0.5222106575965881, -0.6301989555358887, 0.2179499715566635, -0.1842251420021057, -0.13496434688568115, -0.37647780776023865, -0.43622255325317383, -0.05844774469733238, 0.6052034497261047, 0.30910632014274597, 0.2027818113565445, -0.15733487904071808, -0.5091639161109924, 0.07775718718767166, -0.21730904281139374, 0.4092002511024475, -0.3058377504348755, 0.17839565873146057, -0.025723896920681, -0.5666534304618835, -0.6510522961616516, 0.32634201645851135, 0.6152189373970032, 0.10952368378639221, 0.3038097023963928, 0.4872297942638397, -0.5641849637031555, -0.4858292043209076, -0.4841373860836029, -0.39172860980033875, -0.5851783156394958, 0.44675078988075256, -0.4795477092266083, -0.6088802814483643, 0.5415648221969604, 0.07773493230342865, 0.16728903353214264, 0.2769160866737366, 0.191778764128685, -0.08145716041326523, 0.8469433784484863, 0.6905712485313416, 0.11125032603740692, 0.29786416888237, -0.38334211707115173, 0.04301004856824875, -0.5556759238243103, -0.10793160647153854, -0.3049173951148987, -0.2701030373573303, -0.7136837840080261, 0.010882324539124966, 0.19126680493354797, 0.09278136491775513, -0.24787303805351257, 0.3475823402404785, -0.571889340877533, 0.6007537245750427, 0.508704423904419, 0.7452561259269714, 0.2268427461385727, 0.1453917920589447, -0.01586000807583332, 0.03576585277915001, -0.4771829843521118, -0.42343318462371826, 1.2103898525238037, 0.6211515069007874, 1.2544517517089844, 0.4517349302768707, 0.6579840779304504, 0.4216359257698059, 0.05741981416940689, -0.6737561225891113, 0.5188009738922119, -0.3972683846950531, -0.4860299825668335, -0.19596530497074127, -0.21803268790245056, -0.8348388075828552, 0.04036321863532066, -0.1772565096616745, -0.6916943192481995, 0.20544090867042542, 0.28900644183158875, -0.5515190362930298, 0.36048486828804016, -1.1007274389266968, 0.8297770023345947, -0.2537710666656494, -0.7440187931060791, -0.15900813043117523, -0.47851115465164185, 0.6952663064002991, -0.35159212350845337, 0.23489274084568024, -0.1336555927991867, 0.27370622754096985, 0.6840439438819885, -0.2784246802330017, 1.0660573244094849, -0.2984437048435211, -0.12883003056049347, -0.010539989918470383, 0.8404808044433594, 0.672072172164917, 0.2604268193244934, 0.09744558483362198, 0.1972893476486206, 0.29933884739875793, -0.4876873195171356, -0.4126078486442566, 0.8184269666671753, -0.8287676572799683, -1.105812668800354, -0.26810795068740845, -0.6037057042121887, -0.20379365980625153, 0.3323381841182709, 0.15430910885334015, 0.36398884654045105, -0.11638015508651733, 0.0733613595366478, 0.564043402671814, -0.12179599702358246, 0.3772657811641693, 0.41076523065567017, 0.25585415959358215, -0.26896536350250244, 1.1336783170700073, -0.12746937572956085, 0.9242460131645203, 0.1203107237815857, 0.38154563307762146, -0.13027319312095642, -1.1602623462677002, -0.3295839726924896, -0.1185498908162117, -0.7727735638618469, -0.6182016730308533, -0.15650291740894318, -0.3655685782432556, -0.059678252786397934, -0.1855178028345108, -0.13444076478481293, -0.433071494102478, -0.29782938957214355, -0.19793465733528137, 0.3212614059448242, 0.8799034953117371, -0.017527684569358826, 0.41064953804016113, -0.6336312294006348, 0.4363650977611542, 0.5369009375572205, 0.43450841307640076, -0.22250455617904663, -0.7505667805671692, 0.009005507454276085, 0.19336237013339996, -0.6667315363883972, -0.7670323848724365, 0.13763724267482758, 0.1703859120607376, 0.4925954043865204, 0.5649600625038147, 0.36828485131263733, 0.5543906092643738, -0.6539990305900574, 0.631498396396637, -0.05123111233115196, -0.7333847284317017, 0.45256155729293823, -0.6443579792976379, 0.0590461865067482, 0.5151804685592651, 0.2400415539741516, -0.2298440784215927, -0.6254011392593384, -0.5780187845230103, -0.4992712438106537, 0.804480254650116, 0.2563473582267761, 0.4302882254123688, 0.2941421866416931, 0.4456767737865448, 0.2653777599334717, -0.05250018835067749, -1.0632710456848145, -0.03925284743309021, -0.5093532204627991, 0.04724102467298508, 0.14573292434215546, -0.3492262065410614, -0.4967133402824402, 0.049487918615341187, 0.483610063791275, -0.11408299952745438, 0.24933679401874542, 0.10789825767278671, -0.2503522038459778, 0.02193252183496952, 0.4149453341960907, 0.712310791015625, 0.14959344267845154, -0.020631195977330208, 0.3235553801059723, 0.2706226706504822, -0.6107374429702759, 0.2779216766357422, 0.3352951407432556, -0.2418849915266037, -0.5891236066818237, 0.27413445711135864, 0.5845848917961121, 0.3761384189128876, -0.13833153247833252, 0.5458337664604187, -0.06094963848590851, -0.20623157918453217, 0.06421017646789551, 0.4617924988269806, -0.2759612798690796, 0.1521153599023819, 0.24538923799991608, 0.331576406955719, 0.15866515040397644, -0.44578003883361816, 0.3923008143901825, 0.6443396210670471, -0.3904380798339844, -0.40787726640701294, 0.9042511582374573, 0.0841311365365982, -0.22486700117588043, 0.15858760476112366, -0.026342282071709633, -0.38591673970222473, 0.49924442172050476, 0.7869480848312378, 0.7632439136505127, -0.6123077273368835, -0.28046754002571106, 0.028523992747068405, 0.6805043816566467, 0.155519500374794, 0.07014304399490356, 0.270375519990921, -0.5755338668823242, -0.03145294636487961, -0.3844248056411743, -0.34158289432525635, 0.6062201261520386, -0.4807918667793274, 0.41380831599235535, -0.8810374736785889, 0.13043057918548584, 0.07177238911390305, -0.5094043016433716, -0.7579892873764038, -0.13872574269771576, 0.24281220138072968, 0.8014860153198242, -0.6968874335289001, 0.5385373830795288, 0.20862579345703125, -0.18341350555419922, -0.550740122795105, 0.01951296627521515, 0.24905622005462646, -0.9677236676216125, 0.04430389404296875, 0.19273841381072998, -0.058782391250133514, 0.12266263365745544, -0.841993510723114, -0.5395972728729248, 0.7543487548828125, 0.5770053267478943, -0.5806150436401367, -0.10705406963825226, 0.30214184522628784, 0.1792406290769577, 0.19439679384231567, -0.17257487773895264, 0.6825724244117737, 0.31218594312667847, -0.2991921901702881, -0.6023131608963013, 0.39611995220184326, 0.05759677663445473, -0.413956880569458, 0.04808437451720238, -0.4013984501361847, 0.4541005492210388, -0.153044655919075, -0.4929450750350952, 0.033977609127759933, 0.2798597812652588, -0.07810809463262558, 0.3681302070617676, 0.29235202074050903, 0.38449135422706604, 0.5801940560340881, -0.1934666782617569, 1.0351231098175049, 0.10700191557407379, 0.10490414500236511, 0.9196129441261292, 0.08254645764827728, 0.6144540905952454, 0.31289663910865784, -0.13443471491336823, 0.03707835078239441, 0.34433436393737793, -0.36508631706237793, 0.8201464414596558, 0.27828940749168396, -0.2228546142578125, -0.10191269218921661, 0.26945117115974426, -0.1521722972393036, 0.41914281249046326, 0.7549000382423401, 0.24016395211219788, -0.3214580714702606, 0.3713124990463257, 0.18018724024295807, 0.21614210307598114, -0.6272265315055847, 0.8911252617835999, 0.22990037500858307, -0.4481935203075409, 0.9815415143966675, -0.15013089776039124, 0.632830798625946, -0.6087930202484131, -0.11436989903450012, -0.16677235066890717, 0.43195638060569763, -0.45565709471702576, -0.8307021260261536, 0.37422889471054077, -0.16454237699508667, 0.15640801191329956, 0.15523982048034668, 0.8525013327598572, -0.2481267750263214, -0.27463001012802124, 0.13957352936267853, 0.07130510360002518, -0.0649520680308342, 0.024629030376672745, -0.7461217045783997, -0.05479569733142853, 0.0573967806994915, 0.03642190620303154, 0.4325190484523773, 0.41351422667503357, -0.2798751890659332, 0.8704228401184082, 0.9594441652297974, -0.06034368276596069, 0.2048133760690689, 0.038921795785427094, 0.9688261151313782, -0.387937068939209, -0.5545697212219238, -1.1446044445037842, 0.5148345232009888, 0.1506253331899643, 0.24293147027492523, 0.701378583908081, 0.25124016404151917, 1.0641900300979614, -0.1611536145210266, 0.7185611128807068, 0.4428847134113312, -0.0652507096529007, -0.8050432801246643, 1.0432173013687134, -0.16938364505767822, 0.3071122169494629, -0.3029595911502838, -0.4023778736591339, -0.3372422754764557, 0.2210882306098938, -0.23364020884037018, -0.20031395554542542, 0.6187379956245422, 0.9216684699058533, -0.7370339035987854, -0.18425776064395905, 0.63985675573349, 0.5596738457679749, 0.707505464553833, 0.778605580329895, 0.7775321006774902, -0.45990514755249023, 0.8667498230934143, -0.43568649888038635, -0.2232052981853485, -0.12389300018548965, -0.9211703538894653, -1.1788547039031982, -0.2663866877555847, -0.11714273691177368, -0.5850364565849304, 0.33962082862854004, 0.4348554313182831, 0.7982602715492249, -1.0058211088180542, 0.17834149301052094, -0.20424023270606995, 0.03220593184232712, -0.21090589463710785, -0.23629143834114075, 0.19240963459014893, -0.07671939581632614, -0.40245524048805237, 0.621427595615387, 0.008625012822449207, 0.49001041054725647, -0.353028267621994, 0.21867573261260986, 0.1712169200181961, 0.020411882549524307, 0.25217241048812866, 0.38113442063331604, -0.8092867136001587, -0.6720538139343262, -0.42855772376060486, -0.01789744570851326, -0.027959108352661133, 0.5014069080352783, -0.38392385840415955, 0.3993508517742157, -0.06905103474855423, 1.0504086017608643, 0.4167696237564087, -0.09534304589033127, 0.6139847040176392, -0.882378876209259, 0.3487948477268219, 0.15172336995601654, 0.30469876527786255, 0.3193545341491699, -0.8401855826377869, 0.23936602473258972, 0.04748692736029625, -0.5662536025047302, -0.8498445749282837, 0.37498947978019714, -1.012918472290039, -0.11932630091905594, 1.0084799528121948, -0.1996953934431076, -0.2949542701244354, -0.46084076166152954, -0.44965603947639465, 0.042550988495349884, -0.36864638328552246, 0.7431277632713318, 0.5076819062232971, 0.25893500447273254, -0.17778900265693665, -1.0573337078094482, 0.7795806527137756, 0.05048740655183792, -0.7746430039405823, 0.49485474824905396, 0.23349185287952423, 0.5838590264320374, -0.025147734209895134, -0.08704926073551178, -0.10913997888565063, 0.5047397017478943, -0.2740855813026428, -0.38261866569519043, -0.5764998197555542, -0.26070839166641235, -0.8019130229949951, 0.09017638862133026, 0.13777108490467072, -0.3761409819126129 ]
http://arxiv.org/abs/2406.20052v1
http://arxiv.org/pdf/2406.20052v1
Understanding and Mitigating Language Confusion in LLMs
2024-06-28T17:03:51
2024-06-28T17:03:51
Kelly Marchisio, Wei-Yin Ko, Alexandre Bérard, Théo Dehaze, Sebastian Ruder
cs.CL
cs.CL
We investigate a surprising limitation of LLMs: their inability to consistently generate text in a user's desired language. We create the Language Confusion Benchmark (LCB) to evaluate such failures, covering 15 typologically diverse languages with existing and newly-created English and multilingual prompts. We evaluate a range of LLMs on monolingual and cross-lingual generation reflecting practical use cases, finding that Llama Instruct and Mistral models exhibit high degrees of language confusion and even the strongest models fail to consistently respond in the correct language. We observe that base and English-centric instruct models are more prone to language confusion, which is aggravated by complex prompts and high sampling temperatures. We find that language confusion can be partially mitigated via few-shot prompting, multilingual SFT and preference tuning. We release our language confusion benchmark, which serves as a first layer of efficient, scalable multilingual evaluation at https://github.com/for-ai/language-confusion.
[ -0.1950630247592926, -0.9104615449905396, 0.39094388484954834, 0.5376867055892944, -0.10095618665218353, 0.41742387413978577, -0.22845585644245148, -0.4709811508655548, -0.3419288098812103, 0.3210773766040802, -0.6745495796203613, -0.26109227538108826, -0.5553387999534607, 0.3617015480995178, -0.22168461978435516, 0.8366866111755371, -0.2800339460372925, 0.3399476110935211, -0.4359012246131897, -0.18361157178878784, -0.7588012218475342, -0.40861502289772034, -0.9521718621253967, -0.598330557346344, 0.4771597981452942, 0.5272615551948547, 0.5386701822280884, 0.2821907103061676, 0.3209207057952881, 0.2584051191806793, -0.16695564985275269, 0.35174238681793213, -0.6389257907867432, 0.18499240279197693, -0.04285592958331108, -0.8247224688529968, -0.0682932436466217, -0.3387948274612427, 0.6010721325874329, 0.802581787109375, -0.21012897789478302, -0.054346926510334015, 0.0241165179759264, 0.8320287466049194, -0.7031078338623047, -0.138872429728508, -0.8860880732536316, 0.2410583198070526, -0.4231488108634949, -0.14077867567539215, -0.5132564306259155, 0.1304747462272644, -0.06365984678268433, -0.45679670572280884, 0.1720932573080063, 0.1310371607542038, 0.6039350628852844, 0.5652390122413635, -0.45197150111198425, -0.27823883295059204, -0.7167142629623413, 0.7395726442337036, -0.5538697242736816, 0.6149681210517883, 0.37753158807754517, 0.30934518575668335, -0.16637395322322845, -0.4037119448184967, -0.5310072898864746, -0.19103921949863434, 0.3192822337150574, 0.25031691789627075, -0.3349875807762146, -0.05348404869437218, 0.2149180769920349, -0.004313672427088022, -0.7008982300758362, 0.36381077766418457, 0.05851594731211662, -0.26467829942703247, 0.40297770500183105, 0.3804859220981598, 0.299929141998291, -0.21559320390224457, -0.45583924651145935, -0.04622580483555794, -0.940426766872406, 0.040141791105270386, 0.6894261240959167, 0.1947634220123291, -0.286483496427536, 0.4435177743434906, 0.08055226504802704, 0.6887102127075195, 0.017632078379392624, -0.23668289184570312, 0.19923339784145355, -0.3009679615497589, -0.3814948797225952, -0.04947483539581299, 0.6821645498275757, 0.38050153851509094, 0.283974289894104, -0.1697680503129959, -0.14134284853935242, -0.16389305889606476, -0.021670803427696228, -0.39427030086517334, -0.040647342801094055, 0.39672207832336426, -0.05996096879243851, 0.15931184589862823, -0.27225059270858765, -0.4413444697856903, -0.7184910774230957, -0.11227012425661087, 0.20977772772312164, -0.4292296767234802, -0.28143686056137085, 0.32888033986091614, -0.054730385541915894, -0.0037061721086502075, 0.3468194305896759, -0.8311818838119507, 0.0624881312251091, 0.32696831226348877, 0.49724534153938293, -0.3164823353290558, -0.6671828031539917, -0.11723820865154266, 0.1998499184846878, -0.4229554235935211, 0.8049553632736206, -0.2998395562171936, -0.5033831596374512, -0.02569800615310669, -0.31304118037223816, -0.3343358635902405, -0.9600078463554382, 0.15647415816783905, -0.3317945599555969, 0.2884639799594879, -0.3124072253704071, -0.48422330617904663, -0.1811079978942871, 0.4291614890098572, -0.48129454255104065, 1.0900241136550903, 0.02005000412464142, -0.8313504457473755, 0.3543802499771118, -0.1636902540922165, -0.34282368421554565, 0.19580179452896118, -0.2061246782541275, -0.16360118985176086, 0.07126808166503906, 0.032458096742630005, 0.24724887311458588, -0.43889090418815613, 0.2533378005027771, 0.14462167024612427, -0.2524507939815521, 0.28399693965911865, -0.6189374923706055, 0.6306018233299255, 0.16151858866214752, -0.15563161671161652, 0.051203228533267975, -0.6799641251564026, -0.15217553079128265, 0.19590774178504944, -0.440737247467041, -0.16360613703727722, 0.15370164811611176, -0.03477022051811218, 0.06450807303190231, 0.4824161231517792, -0.025609811767935753, 0.08329866081476212, -0.06311599165201187, 0.25178274512290955, 0.6727551221847534, -0.032394926995038986, 0.4171973466873169, -0.4649958908557892, 0.8064591884613037, 0.4311932921409607, 0.030072424560785294, -0.1704084724187851, -0.46176326274871826, -0.9737840294837952, -0.06043844297528267, 0.061205312609672546, 0.9451391696929932, -0.9687161445617676, -0.0724073126912117, 0.20470991730690002, -0.3923375904560089, -0.7469722032546997, 0.49891209602355957, 0.4571708142757416, 0.551395058631897, 0.25832515954971313, -0.03547263517975807, -0.5992903709411621, -0.8231648802757263, -0.4392150342464447, -0.355944961309433, 0.299027681350708, 0.2298894077539444, 0.24595054984092712, -0.5744822025299072, 0.6587639451026917, 0.13983914256095886, 0.09679239243268967, -0.5938141345977783, 0.22437246143817902, -0.008746126666665077, 0.23191623389720917, 0.43230462074279785, -0.6776794195175171, -0.6334806084632874, 0.148148313164711, -0.522084653377533, -0.41228923201560974, -0.3714122772216797, 0.07449409365653992, 0.539097785949707, 0.6418854594230652, -0.622512698173523, 0.14878013730049133, 0.6870929598808289, 0.1547243595123291, 0.6328381896018982, -0.22626027464866638, 0.14798900485038757, -0.9939820170402527, -0.2926185429096222, -0.24382075667381287, -0.14030559360980988, -0.5842326283454895, -0.2065422236919403, 0.20842313766479492, 0.21772554516792297, -0.6417766213417053, 0.6133801937103271, -0.5355414748191833, 0.14654305577278137, -0.07373150438070297, 0.2681324779987335, -0.09460916370153427, 0.3570917546749115, -0.41750478744506836, 0.8981969356536865, 0.617637574672699, -0.70021653175354, 0.2380351424217224, -0.03594692051410675, -0.26843300461769104, 0.517075777053833, -0.3103305399417877, 0.1175500750541687, -0.3713645040988922, 0.150282621383667, -1.0604655742645264, -0.2930266559123993, 0.3946385681629181, -0.16311341524124146, 0.44257301092147827, 0.010588799603283405, -0.6198925971984863, -0.1930311620235443, -0.10562927275896072, 0.5627428889274597, 0.23263385891914368, -0.5177120566368103, 0.2892163097858429, 0.026252178475260735, -0.06367906183004379, -0.8392748832702637, -0.864861249923706, 0.0605706125497818, -0.19304165244102478, -0.5361951589584351, 0.05282241106033325, -0.5155166983604431, -0.4767031967639923, -0.16253869235515594, -0.19452138245105743, 0.10762165486812592, 0.27672845125198364, 0.15069039165973663, -0.03492904454469681, -0.14219124615192413, 0.20713496208190918, 0.16038767993450165, 0.025222038850188255, 0.02858663536608219, -0.04462451487779617, 0.7403053641319275, -0.10441514104604721, -0.7514426112174988, -0.2774181067943573, 0.31798630952835083, 0.4349616467952728, 0.03544512391090393, 0.5418140888214111, 0.47225433588027954, -0.23610295355319977, -0.36038920283317566, -0.6038861870765686, 0.19386480748653412, -0.41441917419433594, 0.48307085037231445, -0.4625271260738373, -0.8200480341911316, 0.8443723320960999, 0.034050777554512024, 0.0626179426908493, 0.4084787666797638, 0.7180999517440796, -0.07729426771402359, 1.032128930091858, 0.6134545207023621, -0.028203675523400307, 0.49530771374702454, 0.188630148768425, 0.09501185268163681, -0.4977477788925171, -0.3279027044773102, -0.5347242951393127, -0.08996206521987915, -0.6762988567352295, -0.460324227809906, 0.2771502435207367, 0.3461300730705261, -0.2044917345046997, 0.09944093227386475, -0.0374518483877182, 0.7485182285308838, 0.3321397304534912, -0.09363014996051788, 0.33215436339378357, 0.09251675009727478, -0.39753085374832153, -0.19935709238052368, -0.9178274273872375, -0.5588674545288086, 0.9292848110198975, 0.19166451692581177, 0.987299382686615, 0.17624275386333466, 0.8542117476463318, 0.16555854678153992, 0.2149650603532791, -0.6054850816726685, 0.42151448130607605, -0.12701357901096344, -0.5068269968032837, -0.0030663602519780397, -0.4786432683467865, -1.000632882118225, 0.3190184235572815, -0.09131906181573868, -0.6457945704460144, -0.18918879330158234, -0.0037864986807107925, -0.1925048530101776, 0.23972101509571075, -0.8703440427780151, 0.8253818154335022, -0.5084918141365051, -0.39025044441223145, -0.039372414350509644, -0.5565698146820068, 0.4464287757873535, -0.3136574923992157, 0.34549087285995483, -0.2490384578704834, -0.13164851069450378, 0.3012443780899048, -0.21929939091205597, 0.8803674578666687, 0.10020384937524796, -0.3570757806301117, 0.18955637514591217, 0.10305000096559525, 0.21837201714515686, 0.102457195520401, -0.2792806923389435, 0.30717238783836365, -0.3398820757865906, -0.35097813606262207, -0.3672269284725189, 0.4856175184249878, -0.885188639163971, -0.7510490417480469, -0.31520575284957886, -0.8194962739944458, -0.391422301530838, 0.12604783475399017, 0.6944059729576111, 0.012947654351592064, -0.28243792057037354, -0.283797949552536, 0.6835941076278687, -0.3644450008869171, 0.5119755864143372, 0.6330515146255493, -0.32210901379585266, -0.27187907695770264, 0.7136814594268799, -0.08803565055131912, 0.484592080116272, 0.5146912932395935, 0.03120514750480652, -0.13874126970767975, -0.561290979385376, -0.8004786968231201, 0.22249682247638702, -0.8773357272148132, -0.1639947146177292, -0.38761264085769653, -0.24106791615486145, -0.2791849672794342, -0.050721749663352966, -0.16406705975532532, -0.1916717141866684, -0.4756440818309784, 0.03867846727371216, 0.033440493047237396, 0.918705940246582, 0.0031135505996644497, 0.4337657690048218, -0.7081621885299683, 0.19910307228565216, -0.014228629879653454, -0.015316818840801716, -0.09640121459960938, -0.6198005080223083, -0.19928976893424988, 0.09946762025356293, -0.30546024441719055, -0.9298773407936096, 0.18212278187274933, 0.1738337129354477, 0.9029383659362793, 0.4646488428115845, -0.21819593012332916, 0.8411766886711121, -0.6332436800003052, 0.8888334631919861, 0.297340452671051, -0.9990858435630798, 0.3905176818370819, -0.12777398526668549, 0.6766886115074158, 0.5143560171127319, 0.21996884047985077, -0.7921193838119507, -0.7445942759513855, -0.4300362169742584, -0.9734501242637634, 0.7169683575630188, 0.009023979306221008, 0.16488409042358398, -0.25140896439552307, 0.16541747748851776, 0.3067571222782135, 0.25462472438812256, -0.9201080203056335, -0.49503573775291443, 0.06814098358154297, -0.17367318272590637, -0.1390589326620102, -0.3907874822616577, -0.07860525697469711, 0.08696002513170242, 0.703345000743866, 0.03456280380487442, -0.11009068042039871, 0.009731171652674675, -0.39982929825782776, -0.47408413887023926, 0.33750152587890625, 0.9779797196388245, 0.7110865712165833, 0.10556145757436752, 0.18766017258167267, 0.3962078094482422, -0.11790942400693893, 0.05033247917890549, 0.046114541590213776, -0.11227379739284515, 0.07146060466766357, 0.47650304436683655, 0.9708900451660156, 0.28824877738952637, -0.7650442123413086, 0.15214644372463226, -0.17002086341381073, -0.08733375370502472, -0.11236336827278137, 0.1639159470796585, 0.344403475522995, 0.14638017117977142, 0.35784104466438293, 0.20324185490608215, -0.1977718323469162, -0.32483017444610596, -0.12702299654483795, 0.5157685279846191, -0.036312419921159744, -0.056431207805871964, 0.7307790517807007, 0.2421768456697464, -0.4037732481956482, 0.5288194417953491, -0.24817711114883423, -0.46235159039497375, 0.629000186920166, 0.6718288660049438, 0.9143996238708496, -0.36505991220474243, 0.07253234833478928, 0.11288280785083771, 0.7225781083106995, -0.14229941368103027, 0.42109543085098267, -0.0504753552377224, -0.983123242855072, -0.22285892069339752, -0.3513282537460327, -0.7736018300056458, 0.04647592455148697, -0.41544538736343384, 0.15940576791763306, -0.44160953164100647, -0.15689393877983093, -0.2749633193016052, -0.13847719132900238, -0.6411557793617249, -0.04950464144349098, 0.3786490261554718, 0.9825795292854309, -0.7408909201622009, 0.6905300617218018, 0.873881995677948, -0.25508686900138855, -0.6816430687904358, -0.011721846647560596, 0.1276591569185257, -0.8567898869514465, 0.49541419744491577, 0.25767290592193604, -0.3309587836265564, -0.12715956568717957, -0.6552934050559998, -0.3531733453273773, 0.8735789656639099, 0.7009156346321106, -0.6829830408096313, 0.22539597749710083, 0.6537851095199585, 0.5275029540061951, -0.24087326228618622, 0.16291607916355133, 0.5309798121452332, 0.6215037703514099, 0.01843317598104477, -0.9185792803764343, -0.32464417815208435, 0.041684340685606, -0.07410132884979248, 0.22206464409828186, -0.5078539252281189, 0.9246325492858887, -0.3379838168621063, -0.37664392590522766, 0.13809813559055328, 0.3562926948070526, 0.44820910692214966, 0.5527864098548889, 0.4704899191856384, 0.6022419333457947, 1.0874927043914795, -0.15063685178756714, 0.8346285820007324, -0.2978501319885254, 0.13948991894721985, 1.1472736597061157, -0.49318933486938477, 0.7829752564430237, 0.726306140422821, -0.12265828251838684, 0.3616638779640198, 0.87760990858078, 0.28444331884384155, 0.08323157578706741, 0.2475380301475525, -0.4364989697933197, -0.3089752197265625, -0.06344995647668839, -0.39553725719451904, 0.32445967197418213, 0.38069769740104675, 0.012969475239515305, -0.3139927089214325, -0.021882571280002594, 0.04521756246685982, 0.015062733553349972, -0.09843587875366211, 0.6779011487960815, 0.16496239602565765, -0.7090416550636292, 0.758752703666687, 0.017430033534765244, 0.70479416847229, -0.8312758803367615, 0.23116932809352875, -0.6835756897926331, 0.05311226844787598, -0.2245303839445114, -0.6723211407661438, 0.042659539729356766, 0.007246829103678465, -0.2641353905200958, -0.4583403766155243, 0.4152463674545288, -0.8676417469978333, -0.3036800026893616, 0.32539016008377075, 0.9133403301239014, 0.3330007791519165, 0.18884918093681335, -0.8819836974143982, 0.21400213241577148, 0.13123413920402527, -0.2363584041595459, 0.09863106906414032, 0.7007781863212585, -0.25007641315460205, 0.9206651449203491, 0.3754459321498871, -0.02598200924694538, 0.3156964182853699, 0.5624350905418396, 0.28794747591018677, -0.546730637550354, -0.12280173599720001, -0.9204744696617126, 0.37726011872291565, 0.29279568791389465, -0.5345326066017151, 0.8490133881568909, 0.4772995114326477, 1.0605021715164185, -0.20591388642787933, 0.7221503853797913, 0.08544997125864029, 0.080670565366745, -0.6718344688415527, 0.6895054578781128, -0.9441823959350586, 0.5324966907501221, -0.09474871307611465, -0.7140995264053345, -0.4251762628555298, 0.31212908029556274, 0.06128018721938133, 0.09986243396997452, 0.8492306470870972, 0.8193178176879883, 0.11686048656702042, -0.2293458729982376, 0.5344159007072449, 0.21367549896240234, 0.11723913997411728, 0.7180221676826477, 1.2196890115737915, -0.2639738619327545, 0.6324348449707031, -0.1342383176088333, 0.010489738546311855, -0.19035916030406952, -0.9600223898887634, -0.8631733655929565, -0.5217396020889282, -0.38472044467926025, -0.1044866144657135, 0.04191294685006142, 0.8509340286254883, 0.49303707480430603, -0.7010589838027954, -0.6325434446334839, -0.35392123460769653, 0.6690195202827454, -0.1258300542831421, -0.2121438980102539, -0.19713547825813293, -0.7100642323493958, -0.9805240035057068, 0.5428911447525024, 0.40788865089416504, 0.32096967101097107, -0.3439037501811981, -0.24923719465732574, -0.09830787032842636, 0.09174339473247528, 0.408993124961853, 0.2933027446269989, -0.8845344185829163, 0.11470609903335571, -0.09649499505758286, -0.5156956315040588, 0.0048257894814014435, 0.6855621933937073, -0.4915342330932617, 0.5485672950744629, 0.4230433404445648, 0.7317358255386353, 0.15123796463012695, -0.3623805642127991, 0.612707793712616, -0.7566047310829163, 0.19730673730373383, -0.03334350138902664, 0.48052018880844116, 0.6541967988014221, -0.32321658730506897, 0.4075309634208679, 0.19037020206451416, -0.4388056993484497, -0.679046094417572, 0.5189187526702881, -0.9501471519470215, -0.24476347863674164, 1.263397455215454, 0.10573219507932663, -0.052985794842243195, -0.10401924699544907, -0.40619391202926636, 0.18709148466587067, -0.23093031346797943, 0.559779703617096, 1.0275723934173584, -0.2519184648990631, -0.2376551330089569, -0.5372176170349121, 0.47251343727111816, 0.8840606212615967, -0.8422006964683533, 0.11997966468334198, 0.48116666078567505, 0.33722934126853943, -0.03853866457939148, 0.6120197772979736, 0.23542240262031555, 0.35384440422058105, -0.03973829746246338, 0.22389467060565948, 0.26980477571487427, -0.3351794183254242, -0.540814220905304, -0.20363971590995789, 0.307269424200058, 0.06733732670545578 ]
http://arxiv.org/abs/2407.00146v1
http://arxiv.org/pdf/2407.00146v1
The Qiyas Benchmark: Measuring ChatGPT Mathematical and Language Understanding in Arabic
2024-06-28T16:34:31
2024-06-28T16:34:31
Shahad Al-Khalifa, Hend Al-Khalifa
cs.CL
cs.CL, cs.AI
Despite the growing importance of Arabic as a global language, there is a notable lack of language models pre-trained exclusively on Arabic data. This shortage has led to limited benchmarks available for assessing language model performance in Arabic. To address this gap, we introduce two novel benchmarks designed to evaluate models' mathematical reasoning and language understanding abilities in Arabic. These benchmarks are derived from a General Aptitude Test (GAT) called Qiyas exam, a standardized test widely used for university admissions in Saudi Arabia. For validation purposes, we assess the performance of ChatGPT-3.5-trubo and ChatGPT-4 on our benchmarks. Our findings reveal that these benchmarks pose a significant challenge, with ChatGPT-4 achieving an overall average accuracy of 64%, while ChatGPT-3.5-trubo achieved an overall accuracy of 49% across the various question types in the Qiyas benchmark. We believe the release of these benchmarks will pave the way for enhancing the mathematical reasoning and language understanding capabilities of future models tailored for the low-resource Arabic language.
[ -0.2036261260509491, -0.5131339430809021, 0.5172069668769836, 0.29488104581832886, -0.29061490297317505, 0.3103429973125458, 0.12728044390678406, -0.4615112543106079, -0.4095684289932251, 0.1859523355960846, -0.4027744233608246, -0.6071414351463318, -0.5243420004844666, -0.18306612968444824, -0.43818002939224243, 0.9529904723167419, -0.49534887075424194, 0.22665613889694214, -0.01813570037484169, -0.4413900673389435, -0.32600703835487366, -0.463167667388916, -0.5993157625198364, -0.3149389624595642, 0.1237938329577446, 0.25959512591362, 1.2059299945831299, 0.40163499116897583, 0.5723424553871155, 0.23976001143455505, 0.13856039941310883, -0.05758741497993469, -0.08427311480045319, 0.11005762964487076, -0.028471646830439568, -0.41857659816741943, -0.12944704294204712, -0.04428461566567421, 0.7416571974754333, 0.7367896437644958, -0.5276911854743958, 0.4578056037425995, -0.23665951192378998, 0.8906615376472473, -0.739808976650238, 0.24222037196159363, -0.5132803320884705, -0.015720905736088753, -0.2340911626815796, 0.2870211899280548, -0.05408357083797455, -0.719078004360199, 0.17782364785671234, -0.4454413652420044, 0.2213534563779831, -0.005094520282000303, 0.9804328083992004, 0.02784949168562889, -0.3437672555446625, -0.21961870789527893, -0.4239949882030487, 0.6778162717819214, -0.6098920702934265, 0.39808526635169983, 0.37401995062828064, 0.7609679102897644, -0.0779954120516777, -0.7825230360031128, -0.4611949324607849, -0.4495225250720978, 0.19460532069206238, 0.0651283711194992, -0.38239696621894836, 0.0337013304233551, 0.24712499976158142, 0.35369735956192017, -0.8559116125106812, -0.5730867981910706, -0.14688412845134735, -0.06073521077632904, 0.49615201354026794, 0.09006422013044357, 0.5729430913925171, 0.12591370940208435, -0.13941891491413116, -0.21461595594882965, -0.8894168138504028, 0.33186161518096924, 0.3219304084777832, -0.06327443569898605, -0.05116645619273186, 0.4066298305988312, -0.4542284905910492, 0.6740471124649048, -0.6125352382659912, 0.07577113062143326, 0.09574124217033386, -0.21232832968235016, -0.35142824053764343, 0.012866172939538956, 0.6301490068435669, -0.09510472416877747, 0.4732576906681061, -0.09777871519327164, -0.1040198802947998, 0.18987302482128143, -0.06929206848144531, -0.9924009442329407, -0.5179966688156128, 0.004724389873445034, -0.2935046851634979, 0.02635425329208374, -0.012324661016464233, -0.3410475552082062, -0.21420717239379883, -0.05839855596423149, 0.5678472518920898, -0.5442837476730347, -0.20586438477039337, 0.31263256072998047, -0.016484864056110382, 0.31901079416275024, 0.39360255002975464, -0.8874874114990234, 0.5305100083351135, 0.7360802292823792, 1.0957099199295044, 0.20001007616519928, -0.29298636317253113, -0.3646271526813507, -0.01913578249514103, -0.5258148908615112, 0.7350043058395386, -0.711592972278595, -0.3486064672470093, 0.016468871384859085, -0.556911289691925, -0.18739482760429382, -0.5418164730072021, 0.8843666315078735, -0.46030914783477783, -0.09540405124425888, -0.433879017829895, -0.28856074810028076, -0.6796431541442871, 0.15521042048931122, -0.3667583465576172, 1.0333938598632812, 0.48862579464912415, -0.5309498906135559, 0.11066336184740067, -0.43276506662368774, -0.1571645587682724, 0.13469476997852325, -0.40207770466804504, -0.40563708543777466, 0.059967853128910065, 0.4291154444217682, -0.024318458512425423, -0.6243422031402588, 0.28222543001174927, -0.31598588824272156, -0.7912318110466003, 0.5186158418655396, -0.5979121923446655, 0.7722223401069641, 0.22205351293087006, -0.4056175649166107, -0.09302755445241928, -0.6500911712646484, 0.4934694766998291, 0.18248166143894196, 0.1840958446264267, -0.09154532104730606, 0.20912176370620728, -0.04389552026987076, 0.3663749396800995, 0.15557828545570374, -0.3346254229545593, 0.03730954974889755, -0.35564297437667847, 0.3040465712547302, 0.5976431965827942, -0.18555410206317902, -0.1630360335111618, -0.46376851201057434, 0.8228887915611267, 0.040185339748859406, 0.013312901370227337, 0.13933926820755005, -0.6176371574401855, -0.8321399092674255, -0.1932380199432373, 0.2561551630496979, 0.4502984583377838, -0.5651968717575073, -0.1493767648935318, -0.07690262049436569, -0.9073923826217651, -0.8149930834770203, 0.09888117015361786, 0.37442344427108765, 0.3517138957977295, 0.23979049921035767, -0.26451534032821655, -0.2545352876186371, -0.8134681582450867, -0.8111929297447205, -0.5654840469360352, -0.0778384730219841, 0.1759990155696869, 0.5285026431083679, 0.012700239196419716, 0.6711591482162476, -0.33452749252319336, 0.17747722566127777, -0.12421329319477081, 0.41590267419815063, 0.4133082926273346, 0.28168806433677673, 0.6844988465309143, -0.5510802865028381, -0.8629527688026428, 0.3211008608341217, -0.45738300681114197, -0.20847949385643005, 0.29858967661857605, -0.029857948422431946, -0.10300803184509277, -0.07558899372816086, -0.8306974768638611, 0.6130924820899963, 0.6761937737464905, -0.45102593302726746, 0.7866660952568054, 0.011224644258618355, 0.449808806180954, -0.5311601161956787, -0.03689277172088623, -0.061188653111457825, 0.04915093258023262, -0.7172566652297974, 0.12873145937919617, 0.28934577107429504, -0.20430703461170197, -0.2995387017726898, 0.5654906630516052, -0.38020288944244385, -0.22300158441066742, -0.02282089926302433, 0.03090924210846424, -0.042698934674263, 0.42501917481422424, -0.19764791429042816, 1.3093091249465942, 0.5934081673622131, -0.23613689839839935, 0.26617443561553955, 0.027275139465928078, -0.9690206050872803, 0.28234604001045227, -1.0337562561035156, 0.09485140442848206, 0.07807257026433945, -0.0301296915858984, -1.23562490940094, 0.1001913920044899, 0.4489629864692688, -0.5395687818527222, -0.178308367729187, -0.11534541845321655, -0.40165290236473083, -0.029251528903841972, -0.11791021376848221, 0.5803602337837219, 0.6706523895263672, -0.44772109389305115, 0.5450899600982666, 0.08873077481985092, -0.43345117568969727, -0.8066906332969666, -0.3351135849952698, -0.23358957469463348, -0.13572050631046295, -0.672568678855896, 0.08001004159450531, 0.11618662625551224, -0.5190081596374512, -0.13555750250816345, -0.2830355167388916, -0.19441618025302887, 0.25194674730300903, 0.3480423092842102, 0.271399587392807, -0.4943777024745941, 0.17031100392341614, 0.09292136132717133, -0.009595435112714767, 0.4161100387573242, -0.22088702023029327, 0.4949783682823181, -0.5242406129837036, -0.7357741594314575, -0.4191199243068695, 0.018129508942365646, 0.5606573224067688, -0.6028327345848083, 0.8721111416816711, 0.5630386471748352, -0.2696152627468109, 0.11115588247776031, -0.4048053026199341, 0.24710245430469513, -0.4775644540786743, 0.5464280247688293, -0.722679615020752, -0.4635641872882843, 0.5276018977165222, 0.05553319305181503, 0.033306654542684555, 0.4550837278366089, 0.6025992035865784, 0.1082831397652626, 1.570336103439331, 0.14008890092372894, -0.47585585713386536, 0.14431634545326233, 0.11343422532081604, 0.5365942120552063, -0.45576027035713196, -0.00048604325274936855, -1.0803335905075073, -0.015880366787314415, -0.6921124458312988, -0.3302256166934967, 0.1914413720369339, 0.2111411690711975, -0.527647852897644, 0.08933140337467194, -0.15327055752277374, 0.5553889870643616, 0.3982716500759125, -0.18445517122745514, 0.39080938696861267, 0.11995666474103928, -0.18270094692707062, -0.10560764372348785, -0.4083816111087799, -0.6976267099380493, 0.93235844373703, 0.26303842663764954, 0.6242696642875671, 0.589952290058136, 0.3219152092933655, 0.22887301445007324, 0.4067092835903168, -0.5044329166412354, 0.41650718450546265, 0.3053341507911682, -0.5160350203514099, -0.09523826837539673, -0.547532320022583, -0.7255411148071289, 0.7940230369567871, 0.2894849181175232, -0.8661968111991882, -0.0971183180809021, -0.17908866703510284, -0.29922619462013245, 0.06652713567018509, -0.880793571472168, 0.9533839225769043, -0.08345259726047516, -0.32237792015075684, -0.4363572597503662, -0.319264680147171, 0.30283281207084656, 0.20846624672412872, 0.14681389927864075, -0.7529798150062561, -0.1592741161584854, 0.7321887016296387, -0.37820518016815186, 0.2244390845298767, -0.14369763433933258, 0.12574690580368042, 0.4616180956363678, 0.22059817612171173, 0.17222821712493896, 0.25050002336502075, -0.3256920576095581, 0.35155510902404785, 0.519029974937439, -0.8872377276420593, -0.6629766225814819, 0.48224514722824097, -1.2344037294387817, -0.6017332077026367, -0.8706231117248535, -0.6213395595550537, -0.5222609639167786, -0.10549229383468628, -0.15795017778873444, 0.39444220066070557, -0.4175713062286377, -0.20378974080085754, 0.2449185699224472, -0.04594041034579277, 0.21894891560077667, 0.8269200921058655, -0.3032725751399994, -0.16775070130825043, 0.892519474029541, -0.043424107134342194, 0.2651214599609375, 0.25305524468421936, 0.1044846847653389, -0.33718061447143555, -0.6153713464736938, -0.6105360984802246, 0.2825385332107544, -0.7259449362754822, -0.030234865844249725, -0.39747732877731323, -0.5579333901405334, -0.3333214819431305, 0.1656043827533722, -0.13486038148403168, -0.3823772072792053, 0.13523218035697937, 0.15110807120800018, 0.16217629611492157, 0.6701003909111023, 0.14909078180789948, 0.2826625108718872, -0.9000197052955627, 0.06194648519158363, 0.3117423951625824, 0.12274298816919327, 0.14642268419265747, -0.7480502724647522, -0.2894750237464905, 0.24715974926948547, -0.5241531729698181, -0.891048789024353, 0.4354419410228729, 0.17929495871067047, 0.4655725061893463, 0.5154632329940796, -0.28855425119400024, 0.7713950276374817, -0.4411143958568573, 0.6323686838150024, -0.02962806634604931, -1.3118356466293335, 0.4490736424922943, -0.4243279695510864, 0.5305893421173096, 0.5667616724967957, 0.5392119288444519, -0.9435789585113525, -0.31805694103240967, -0.4533202350139618, -0.12250296026468277, 0.6323183178901672, 0.49701815843582153, 0.019161012023687363, 0.09302087128162384, 0.2692793905735016, 0.14258113503456116, 0.29764148592948914, -0.45053496956825256, -0.266382098197937, 0.015290466137230396, -0.41184261441230774, -0.0980982854962349, -0.2555653750896454, 0.19669806957244873, -0.40640583634376526, 0.7361818552017212, 0.08398167788982391, 0.12503284215927124, -0.2313835173845291, -0.15216132998466492, -0.014229861088097095, 0.33250120282173157, 0.5169714689254761, 1.0749552249908447, -0.29422909021377563, -0.096329465508461, 0.04420982301235199, -0.9406112432479858, 0.40469419956207275, 0.44428780674934387, -0.16540184617042542, 0.16329331696033478, 0.2591911852359772, 0.46760135889053345, -0.03131973743438721, -0.9809287190437317, 0.34582069516181946, -0.4006127119064331, -0.1268872320652008, -0.19313661754131317, 0.2518142759799957, 0.16856440901756287, 0.06553661823272705, 0.365623414516449, -0.03949622064828873, 0.25539737939834595, -0.4836568534374237, -0.052506864070892334, 0.46349337697029114, -0.28631481528282166, -0.3338557481765747, 0.33364787697792053, -0.07013791054487228, -0.15369652211666107, 0.781370997428894, -0.1535506695508957, -0.6298841238021851, 0.7563238143920898, 0.4539855718612671, 0.6043592691421509, -0.4931607246398926, 0.5373430252075195, 0.44820359349250793, 0.3094059228897095, -0.04878927394747734, 0.5493191480636597, -0.3183734714984894, -0.764851450920105, -0.14221036434173584, -0.3831823170185089, -0.8730968832969666, -0.16478486359119415, -0.6163069605827332, 0.03498081862926483, -0.4334052801132202, 0.12600655853748322, -0.07769173383712769, 0.4899609088897705, -0.5566990375518799, 0.23602549731731415, -0.11337297409772873, 0.7965973615646362, -0.7905808687210083, 1.0614582300186157, 0.669873833656311, -0.3512284755706787, -0.7771924734115601, -0.13510945439338684, -0.036601223051548004, -1.1924200057983398, 0.48433005809783936, 0.31845784187316895, -0.15533234179019928, -0.02485787123441696, -0.2683424949645996, -0.9874611496925354, 0.919285774230957, 0.45043542981147766, -0.45836809277534485, 0.2807791829109192, 0.38818302750587463, 0.4266418516635895, 0.03601833060383797, 0.8639967441558838, 0.9573745131492615, 0.21629755198955536, 0.06816667318344116, -0.6817396283149719, -0.1740926057100296, -0.42122024297714233, 0.06930312514305115, 0.5560666918754578, -0.667189359664917, 1.072433352470398, -0.18360938131809235, -0.3900012671947479, 0.48126986622810364, 0.8682552576065063, 0.5386224389076233, 0.3990485370159149, 0.14086484909057617, 0.5504104495048523, 0.8085588812828064, -0.38574206829071045, 0.8833795785903931, -0.31413695216178894, 0.27838951349258423, 0.9328535795211792, -0.3574864864349365, 0.9642899036407471, 0.2605191469192505, -0.8374705910682678, 0.7589308619499207, 0.6639755964279175, 0.35860326886177063, 0.5671460628509521, 0.42517679929733276, -0.7338309288024902, -0.041311684995889664, -0.2627924978733063, -0.7784440517425537, 0.38220223784446716, 0.4647359251976013, 0.009619790129363537, -0.2875719964504242, -0.49888473749160767, 0.1529482752084732, 0.06854015588760376, -0.260791152715683, 0.060635924339294434, 0.14860378205776215, -0.8052727580070496, 0.48267319798469543, 0.26484134793281555, -0.04455351456999779, -0.7826650142669678, -0.13176268339157104, -0.37599384784698486, 0.2822495400905609, 0.1176079511642456, -0.6762052774429321, 0.09037791192531586, 0.03554287925362587, 0.37311622500419617, 0.21156054735183716, 0.642890214920044, -0.35236498713493347, -0.7104846239089966, -0.0748457983136177, 0.6584459543228149, 0.2600175738334656, -0.23883572220802307, -0.857795238494873, 0.08824415504932404, -0.018270457163453102, 0.027202503755688667, 0.3179610073566437, 0.41146373748779297, 0.018194081261754036, 0.7821844816207886, 0.485805481672287, 0.21085411310195923, -0.19743506610393524, 0.33537209033966064, 0.5476471185684204, -0.703177273273468, -0.4273308217525482, -1.0526039600372314, 0.013910475187003613, 0.0263984315097332, -0.5360704064369202, 0.8492958545684814, 0.3267686069011688, 0.6973673701286316, 0.12154886871576309, 0.7574372291564941, 0.19111493229866028, 0.39960232377052307, -0.406853586435318, 0.8603510856628418, -0.37955203652381897, 0.013546385802328587, -0.2798386514186859, -0.8861760497093201, 0.031015437096357346, 0.8615943193435669, -0.577197790145874, 0.34406739473342896, 0.7818889617919922, 0.6961550712585449, 0.2057378590106964, 0.5077157020568848, 0.41595658659935, -0.14356191456317902, 0.39895015954971313, 0.9996488690376282, 1.2229570150375366, -0.7079033255577087, 0.39992186427116394, -0.3431212604045868, -0.0830201804637909, 0.044589053839445114, -0.5014491677284241, -1.2272367477416992, -0.423870712518692, -0.2140854001045227, -0.2331230193376541, 0.3759319484233856, 0.8224027752876282, 0.4074244797229767, -0.9246527552604675, -0.4871569275856018, -0.06958018988370895, 0.196516215801239, -0.5069428086280823, -0.1696721762418747, 0.6367961168289185, -0.16187186539173126, -0.45331135392189026, -0.09397922456264496, 0.3775399923324585, 0.15964233875274658, -0.13790088891983032, -0.2097426801919937, -0.08278457075357437, 0.04024887457489967, 0.27089178562164307, 0.30995553731918335, -0.7280011773109436, -0.07967235147953033, -0.03320189192891121, -0.36796557903289795, 0.027808168902993202, 0.6301841139793396, -0.8364794254302979, 0.23834925889968872, 0.4611433148384094, 0.7389827370643616, 0.3977959156036377, 0.06709866970777512, 0.6086110472679138, -0.10105089843273163, 0.17211109399795532, 0.1427268385887146, 0.3242410719394684, 0.2776903510093689, 0.022277800366282463, 0.617963433265686, 0.022670818492770195, -0.45135924220085144, -0.651676595211029, 0.02025454118847847, -0.5377912521362305, 0.08360099047422409, 0.5966922640800476, -0.3507297933101654, -0.033834315836429596, -0.19531095027923584, -0.17873424291610718, 0.07267129421234131, -0.27528244256973267, 0.9674795269966125, 1.0565872192382812, 0.008914528414607048, -0.2591626048088074, -0.9426668286323547, 0.33922192454338074, 1.096592903137207, -0.8774846792221069, -0.17160341143608093, 0.18997816741466522, 0.015600658021867275, -0.378124862909317, 0.678428053855896, -0.01751932129263878, 0.8230025768280029, 0.18844279646873474, -0.10456130653619766, 0.3196536898612976, 0.0016685075825080276, -0.11787901073694229, -0.035169970244169235, 0.5060986280441284, -0.2742254137992859 ]
http://arxiv.org/abs/2406.20038v1
http://arxiv.org/pdf/2406.20038v1
BioMNER: A Dataset for Biomedical Method Entity Recognition
2024-06-28T16:34:24
2024-06-28T16:34:24
Chen Tang, Bohao Yang, Kun Zhao, Bo Lv, Chenghao Xiao, Frank Guerin, Chenghua Lin
cs.CL
cs.CL
Named entity recognition (NER) stands as a fundamental and pivotal task within the realm of Natural Language Processing. Particularly within the domain of Biomedical Method NER, this task presents notable challenges, stemming from the continual influx of domain-specific terminologies in scholarly literature. Current research in Biomedical Method (BioMethod) NER suffers from a scarcity of resources, primarily attributed to the intricate nature of methodological concepts, which necessitate a profound understanding for precise delineation. In this study, we propose a novel dataset for biomedical method entity recognition, employing an automated BioMethod entity recognition and information retrieval system to assist human annotation. Furthermore, we comprehensively explore a range of conventional and contemporary open-domain NER methodologies, including the utilization of cutting-edge large-scale language models (LLMs) customised to our dataset. Our empirical findings reveal that the large parameter counts of language models surprisingly inhibit the effective assimilation of entity extraction patterns pertaining to biomedical methods. Remarkably, the approach, leveraging the modestly sized ALBERT model (only 11MB), in conjunction with conditional random fields (CRF), achieves state-of-the-art (SOTA) performance.
[ -0.3022365868091583, -0.7782466411590576, 0.5370687246322632, -0.1313239187002182, -0.30218902230262756, 0.22977913916110992, -0.12687163054943085, -0.8041727542877197, 0.4065192937850952, 0.632567286491394, -0.34726858139038086, -0.7219507098197937, -0.47386205196380615, 0.657155454158783, -0.026231486350297928, 1.1747748851776123, 0.07340101897716522, 0.4886101186275482, -0.31249696016311646, -0.46544790267944336, 0.027838917449116707, -0.4128687381744385, -0.7532448768615723, -0.4444546699523926, 0.8110837936401367, 0.07942888885736465, 0.29231706261634827, 0.8582308888435364, 1.1266108751296997, 0.231242373585701, -0.05692974478006363, 0.03303757682442665, -0.05776757001876831, 0.28920990228652954, -0.30908870697021484, -0.22750714421272278, -0.4698035418987274, -0.3059443533420563, 0.6243940591812134, 0.9055998921394348, -0.07976868748664856, 0.39252594113349915, -0.339886873960495, 0.2643771767616272, -0.49215635657310486, 0.1478884220123291, -0.4490627646446228, -0.018703050911426544, -0.5021242499351501, -0.21592062711715698, -0.2608104944229126, -0.18835417926311493, 0.3745478391647339, -0.5425888895988464, 0.35767966508865356, 0.22399742901325226, 0.8384024500846863, 0.3390989899635315, -0.1846488118171692, -0.05094108730554581, -0.6562092304229736, 0.5099279880523682, -0.652487576007843, 0.6405842304229736, 0.2597581744194031, 0.357571005821228, -0.151249498128891, -0.6251407861709595, -0.32384026050567627, -0.09550923854112625, -0.14868628978729248, -0.1988901048898697, -0.08540526032447815, 0.060514722019433975, 0.4652880132198334, 0.004778954666107893, -0.6386894583702087, 0.13451223075389862, -0.5310951471328735, -0.41442549228668213, 0.5919051170349121, 0.20280972123146057, 0.1833621859550476, -0.33671095967292786, -0.23282377421855927, 0.11904813349246979, -0.6198100447654724, -0.155154287815094, -0.16199421882629395, 0.2027742713689804, 0.07875464111566544, 0.45562875270843506, -0.24955666065216064, 0.5777963995933533, -0.09533561021089554, -0.1745171993970871, 0.3955537974834442, 0.026089873164892197, -0.29044488072395325, 0.15571731328964233, 1.0858242511749268, 0.01062108390033245, -0.10684389621019363, -0.5607003569602966, -0.20690318942070007, -0.009452234022319317, 0.11102889478206635, -1.1710439920425415, -0.1957741379737854, 0.2845933139324188, -0.4266909956932068, -0.09851697832345963, -0.22432513535022736, -0.9784625768661499, -0.5473546981811523, -0.27944082021713257, 0.31909865140914917, -0.6388529539108276, 0.1546499878168106, 0.038107916712760925, 0.022300662472844124, 0.1468665599822998, 0.08292828500270844, -0.5014235377311707, 0.3879050314426422, 0.3932390511035919, 0.7673168182373047, -0.004465204663574696, 0.18680940568447113, -0.40132299065589905, 0.2139623910188675, -0.06815456598997116, 0.8211851716041565, -0.7897972464561462, -0.42024967074394226, -0.40374189615249634, 0.14868097007274628, 0.19041095674037933, -0.7441385984420776, 0.3671879172325134, -0.9907037019729614, -0.18353183567523956, -0.12740786373615265, -0.4941939115524292, -0.38906607031822205, -0.06177639216184616, -0.7507937550544739, 0.588163435459137, -0.09815657138824463, -0.9454683065414429, 0.6037518978118896, -0.7012784481048584, -0.5297896862030029, 0.6176397204399109, -0.519582211971283, -0.6477804183959961, -0.0804140642285347, 0.028755508363246918, 0.5279829502105713, -0.5583122968673706, 0.434477835893631, -0.5269960165023804, -0.11370863020420074, 0.5095555782318115, -0.08652674406766891, 0.638830304145813, 0.08563557267189026, -0.19250521063804626, -0.14775307476520538, -1.27812659740448, -0.06154434010386467, 0.1126713976264, -0.3108193278312683, -0.7584607005119324, -0.04856741055846214, 0.1478254348039627, 0.06725099682807922, 0.10476836562156677, -0.9027808904647827, 0.05636158213019371, -0.4661676287651062, 0.6258211135864258, 0.2786799371242523, 0.2938986122608185, 0.4091144800186157, -0.02364725060760975, 0.39915555715560913, -0.04530271887779236, -0.2904110550880432, 0.05949952453374863, -0.1859578788280487, -0.27125972509384155, -0.8779879212379456, 0.8578110933303833, 0.6164959073066711, -0.537656307220459, 0.43514811992645264, -0.4749380052089691, -0.43523380160331726, -0.8273255228996277, -0.07053352147340775, 0.5228304266929626, 0.7428399324417114, 0.7384999394416809, -0.11703179031610489, -0.854843258857727, -1.1722561120986938, -0.046290118247270584, 0.16425149142742157, -0.2878406345844269, 0.35903897881507874, 0.8072380423545837, -0.6887337565422058, 1.1124674081802368, -0.2936658263206482, -0.2440614402294159, 0.11491432040929794, 0.20594201982021332, 0.19945666193962097, 0.4251144826412201, 0.2152705043554306, -0.8355361819267273, -0.020694956183433533, 0.13371601700782776, -0.9486067891120911, -0.23611746728420258, 0.12490837275981903, -0.3610345721244812, -0.06982476264238358, 0.5248719453811646, -0.520943820476532, 0.37280920147895813, 0.17481625080108643, -0.1336243599653244, 0.3301672637462616, -0.19212032854557037, 0.04588908702135086, -0.9669166803359985, 0.5205923914909363, 0.27353203296661377, -0.3580518066883087, -0.4007299840450287, -0.07607138156890869, 0.2160421460866928, 0.06945837289094925, -0.2502341866493225, 0.9334211349487305, -0.5024054646492004, 0.05205577611923218, -0.18983033299446106, -0.22279059886932373, 0.013930415734648705, 0.08133886009454727, 0.40722426772117615, 0.4594438970088959, 0.3794693052768707, -0.7322906255722046, 0.051095664501190186, 0.6211996674537659, -0.0407346747815609, 0.5897617936134338, -0.8490244746208191, 0.1708562821149826, -0.4378970265388489, 0.34095799922943115, -0.3348790407180786, -0.4722040593624115, 0.4743379056453705, -0.355027973651886, 0.5351718068122864, -0.09929803013801575, -0.5432462096214294, -0.2911410629749298, 0.1319194734096527, 0.5835606455802917, 0.3700816035270691, -0.27919432520866394, 0.7579190731048584, 0.5624411106109619, -0.41931581497192383, -0.4625639319419861, -0.6336838006973267, 0.03284130245447159, -0.1548575460910797, -0.3439217507839203, 0.6337972283363342, 0.05613856762647629, -0.22772325575351715, 0.020908480510115623, -0.3059435188770294, -0.1113978773355484, -0.1233203336596489, 0.4505809247493744, 0.6234207153320312, -0.18876959383487701, 0.33119386434555054, 0.05898266285657883, -0.16725829243659973, 0.12985214591026306, -0.060780979692935944, 0.22909015417099, 0.14393164217472076, -0.0026484732516109943, -0.46326398849487305, 0.2681037485599518, 0.37665775418281555, -0.540269136428833, 0.8521569967269897, 0.5107443332672119, -0.7742362022399902, 0.07540511339902878, -0.5581513047218323, -0.37767842411994934, -0.3680962324142456, 0.48940110206604004, -0.3519563674926758, -0.8178301453590393, 0.5642833113670349, -0.1419483721256256, 0.024584278464317322, 0.3863944113254547, 0.34484899044036865, -0.156171977519989, 0.8368117809295654, 0.43060630559921265, 0.10171584039926529, 0.026180580258369446, -0.20983847975730896, 0.14922839403152466, -1.1555309295654297, -0.46702873706817627, -0.6224170923233032, -0.36182790994644165, -0.4867708086967468, -0.44138452410697937, 0.26266610622406006, 0.03822481632232666, -0.33196738362312317, 0.3518313467502594, -0.40302401781082153, 0.24436846375465393, 0.35113629698753357, 0.43786728382110596, 0.2834087610244751, 0.04552222415804863, -0.3325365483760834, -0.10118737071752548, -0.42445337772369385, -0.8749826550483704, 1.0311412811279297, 0.2538888156414032, 0.6779583096504211, -0.0521966889500618, 0.9810670614242554, 0.11463939398527145, 0.775818407535553, -0.6917024850845337, 0.7317251563072205, 0.07583866268396378, -0.8401906490325928, -0.24890705943107605, -0.6576012969017029, -1.0716503858566284, 0.027965737506747246, -0.4968888759613037, -0.743770182132721, 0.4298158288002014, -0.09022380411624908, -0.7072620987892151, 0.1944492906332016, -0.24095892906188965, 0.4983755052089691, -0.02374785579741001, -0.3831067979335785, 0.2521405816078186, -0.9514684677124023, -0.0408887043595314, -0.4336952865123749, 0.5639938712120056, -0.2018297165632248, -0.17561258375644684, 1.034544587135315, -0.2277388870716095, 0.5220001935958862, -0.012455454096198082, 0.1720138043165207, 0.06033175811171532, 0.04188455641269684, 0.3766132593154907, 0.27809831500053406, -0.08642210066318512, 0.5961049199104309, 0.15890268981456757, -0.22079265117645264, -0.2366584837436676, 0.3918004035949707, -0.4347064793109894, -0.18768712878227234, -0.5483213067054749, -0.5021921992301941, -0.19625595211982727, 0.49023929238319397, 0.49015605449676514, 0.5047361254692078, -0.29197558760643005, 0.19704818725585938, 0.9032121300697327, -0.3738844692707062, 0.2143741101026535, 0.7405046224594116, -0.04362291470170021, -0.6842595338821411, 0.714104175567627, 0.13826227188110352, -0.2428278774023056, 0.6342116594314575, -0.20319141447544098, -0.36607977747917175, -0.5482019186019897, -0.42505937814712524, 0.6705739498138428, -0.4716774821281433, -0.5561721920967102, -1.1145350933074951, -0.15457913279533386, -0.2897985875606537, 0.05536653473973274, -0.04845016449689865, -0.06363038718700409, -0.42356419563293457, -0.13859549164772034, 0.5037223100662231, 0.3711819350719452, 0.005739959888160229, 0.1253174990415573, -1.1184324026107788, 0.46782103180885315, -0.22196583449840546, 0.36003753542900085, -0.38462933897972107, -0.29029637575149536, -0.10628914088010788, -0.012628141790628433, 0.1192745566368103, -1.0312494039535522, 0.47915491461753845, 0.26601994037628174, 0.5905075669288635, 0.4068051278591156, -0.07259703427553177, 0.35113462805747986, -0.8827724456787109, -0.023381175473332405, 0.13314250111579895, -0.35531753301620483, 0.4820742905139923, -0.2670934498310089, -0.06422153115272522, 0.6940690875053406, 0.6988657116889954, -0.3292188048362732, -0.0384068489074707, -0.6546521782875061, -0.9424989819526672, 0.41453951597213745, -0.06688042730093002, -0.16095122694969177, -0.25612208247184753, 0.49987873435020447, 0.36138054728507996, 0.17422087490558624, -0.4482320547103882, -0.250046968460083, 0.48367342352867126, -0.470382958650589, 0.04734009504318237, -0.07649361342191696, -0.0906304270029068, -0.13761676847934723, 0.7754175066947937, 0.027995212003588676, 0.3692206144332886, 0.4504854679107666, -0.35224902629852295, -0.10853289812803268, 0.40340253710746765, 0.18601350486278534, 0.3318859934806824, -0.33400967717170715, 0.043580856174230576, 0.19298391044139862, -0.6113749742507935, 0.1058693528175354, 0.6860992312431335, -0.43354666233062744, 0.06511779129505157, 0.2764880955219269, 0.5265733599662781, 0.3408893346786499, -0.867181658744812, 0.052893832325935364, 0.11766146123409271, -0.23575419187545776, -0.10187573730945587, -0.09133534878492355, 0.10436463356018066, 0.45423024892807007, 0.3162132501602173, 0.2958188056945801, 0.5799609422683716, 0.004239898640662432, 0.3302484452724457, 0.42131444811820984, -0.4803534746170044, -0.4022376537322998, 0.8483880162239075, -0.028283994644880295, -0.402594655752182, 0.44108113646507263, -0.3505657911300659, -0.2525596022605896, 0.364842027425766, 0.36819279193878174, 0.5597471594810486, -0.2595981955528259, 0.05606502294540405, 0.4841642379760742, -0.1776292324066162, 0.003708951873704791, 0.3263818919658661, 0.11323808133602142, -0.5797913670539856, -0.4548463523387909, -1.1877788305282593, -0.18175053596496582, 0.16304032504558563, -0.7165834307670593, 0.39713701605796814, -0.5543680191040039, -0.6607272624969482, 0.5531556606292725, -0.23168721795082092, -0.8868675231933594, 0.3581983149051666, 0.19971536099910736, 0.6762703657150269, -0.46467986702919006, 0.4917808175086975, 1.149582862854004, -0.5484392642974854, -0.3966844081878662, -0.45846477150917053, -0.061799079179763794, -0.41033661365509033, 0.9151290655136108, 0.07438004016876221, -0.0503886379301548, 0.2832696735858917, -0.39922207593917847, -0.8001641035079956, 1.0273281335830688, 0.18884147703647614, -0.8628060221672058, -0.2574383318424225, -0.0491919070482254, 0.5983967781066895, -0.29571306705474854, 0.21484039723873138, 0.644413948059082, 0.3406204581260681, 0.025074763223528862, -0.6909321546554565, 0.22820024192333221, -0.2468380481004715, -0.023287050426006317, 0.36603808403015137, -0.37273821234703064, 0.35800454020500183, -0.46296069025993347, -0.14285652339458466, -0.00785432755947113, 0.5345121622085571, 0.6382302045822144, 0.5596362948417664, 0.15412777662277222, 0.4939401149749756, 0.8323098421096802, 0.14241579174995422, 0.8117403388023376, -0.10542209446430206, 0.25477126240730286, 0.879131555557251, -0.4417189359664917, 0.8131385445594788, 0.31963086128234863, -0.24170106649398804, 0.5551856160163879, 0.6301842927932739, -0.0670153796672821, 0.45082342624664307, 0.40618979930877686, -0.200959712266922, -0.2565349042415619, -0.1379302740097046, -0.25539177656173706, 0.4112705588340759, 0.42475393414497375, -0.5775579810142517, -0.07642972469329834, 0.375468909740448, 0.18690960109233856, -0.16053418815135956, -0.3841007351875305, 0.7714101076126099, 0.22144755721092224, -0.046427905559539795, 0.14222948253154755, -0.122116319835186, 0.8005008697509766, -0.29710856080055237, -0.23002903163433075, 0.13882923126220703, 0.11521757394075394, -0.1877841353416443, -0.10527228564023972, 0.027664346620440483, -0.06273895502090454, -0.35840535163879395, 0.2332889288663864, 0.7687377333641052, -0.3116651773452759, -0.764884352684021, 0.26082947850227356, 0.36987268924713135, 0.1615174561738968, 0.16440312564373016, -0.4905957281589508, -0.1980791985988617, -0.3784594237804413, -0.17475031316280365, 0.22342967987060547, 0.6000821590423584, -0.06820782274007797, 0.7736252546310425, 0.5959711074829102, 0.39939308166503906, -0.1321168839931488, -0.08788862824440002, 0.5068330764770508, -0.8495892882347107, -0.23534679412841797, -0.8435511589050293, 0.2248786985874176, -0.0826825499534607, -0.0845535397529602, 0.38980722427368164, 0.6677031517028809, 0.6419016122817993, -0.1381535828113556, 0.81584233045578, -0.03528876230120659, 1.0115118026733398, -0.32019129395484924, 0.8968258500099182, -0.4374276101589203, 0.21913015842437744, -0.23115745186805725, -0.6924105882644653, -0.5985482931137085, 0.6740071773529053, -0.46078845858573914, 0.13453759253025055, 0.5662071108818054, 0.597825825214386, 0.02330055460333824, 0.07635249197483063, 0.12158315628767014, 0.26688289642333984, 0.1311817467212677, 0.19704201817512512, 0.43122604489326477, -0.32797497510910034, 0.2696404457092285, -0.17980261147022247, -0.16351819038391113, -0.4748004078865051, -0.6357176303863525, -0.7411882281303406, -0.3845938444137573, -0.6065530776977539, -0.3248904049396515, 0.13155700266361237, 1.2621877193450928, 0.7586696743965149, -0.9634677171707153, 0.4083764851093292, 0.1439380645751953, -0.4712209701538086, -0.05898939445614815, -0.13755282759666443, 0.41057056188583374, -0.042386494576931, -0.4817906618118286, 0.20202898979187012, 0.3911208510398865, 0.06987285614013672, 0.016436947509646416, 0.0853671282529831, -0.21437132358551025, 0.07602167129516602, 0.36344653367996216, 0.4701627194881439, -0.47406071424484253, -0.09751910716295242, 0.25809425115585327, -0.38072285056114197, 0.04847533255815506, 0.6544312834739685, -0.9523941874504089, 0.22949087619781494, 0.23205378651618958, 0.9210227727890015, 0.20285779237747192, -0.1483715921640396, 0.25840330123901367, -0.40857797861099243, -0.11248094588518143, 0.6197193264961243, 0.42969462275505066, 0.43566179275512695, -0.47492489218711853, 0.5492987036705017, 0.3044498860836029, -0.6128008365631104, -0.7604418992996216, -0.17881035804748535, -0.9264269471168518, -0.05467161908745766, 0.9862056970596313, 0.19829058647155762, -0.40602201223373413, -0.3416990637779236, -0.18986743688583374, 0.3995107412338257, -0.45299702882766724, 0.6084506511688232, 0.3269844055175781, -0.14226548373699188, -0.01101712416857481, -0.6374044418334961, 0.32216960191726685, -0.035026080906391144, -0.7781584858894348, -0.17281757295131683, 0.5738335251808167, 0.618937611579895, 0.18795180320739746, 0.7687788009643555, -0.23641405999660492, 0.09048017859458923, -0.2349400520324707, 0.5025148391723633, 0.03852096572518349, -0.2503609359264374, -0.18665197491645813, -0.04705178365111351, -0.19606949388980865, 0.0655478686094284 ]
http://arxiv.org/abs/2406.20030v1
http://arxiv.org/pdf/2406.20030v1
LEMoE: Advanced Mixture of Experts Adaptor for Lifelong Model Editing of Large Language Models
2024-06-28T16:17:41
2024-06-28T16:17:41
Renzhi Wang, Piji Li
cs.CL
cs.CL
Large language models (LLMs) require continual knowledge updates to stay abreast of the ever-changing world facts, prompting the formulation of lifelong model editing task. While recent years have witnessed the development of various techniques for single and batch editing, these methods either fail to apply or perform sub-optimally when faced with lifelong editing. In this paper, we introduce LEMoE, an advanced Mixture of Experts (MoE) adaptor for lifelong model editing. We first analyze the factors influencing the effectiveness of conventional MoE adaptor in lifelong editing, including catastrophic forgetting, inconsistent routing and order sensitivity. Based on these insights, we propose a tailored module insertion method to achieve lifelong editing, incorporating a novel KV anchor routing to enhance routing consistency between training and inference stage, along with a concise yet effective clustering-based editing order planning. Experimental results demonstrate the effectiveness of our method in lifelong editing, surpassing previous model editing techniques while maintaining outstanding performance in batch editing task. Our code will be available.
[ -0.1852950155735016, -1.1261627674102783, 0.5113486051559448, 0.23521441221237183, -0.13787896931171417, -0.05462074279785156, -0.33337634801864624, -0.22286304831504822, 0.16585446894168854, 0.5776478052139282, -0.4432106912136078, -0.43429645895957947, -0.6148170232772827, -0.15401910245418549, -0.04671216011047363, 0.4993072748184204, 0.0059710158966481686, 0.14396816492080688, -0.20938077569007874, -0.3307848572731018, -0.9087231159210205, -0.27861127257347107, -0.8713964819908142, -0.1428471952676773, 0.5193949937820435, 0.3628213405609131, 0.5687494874000549, 0.5867466330528259, 0.24233520030975342, 0.4391704797744751, -0.31438153982162476, 0.4954732656478882, -0.40540000796318054, 0.4566197097301483, -0.6069095134735107, -0.4901180863380432, -1.2518858909606934, -0.43484798073768616, 0.7285659909248352, 0.44121599197387695, -0.19071929156780243, -0.3232657015323639, -0.07978135347366333, 0.6301701068878174, -0.7625304460525513, -0.5166512727737427, -0.9982708096504211, -0.17768743634223938, 0.017792081460356712, -0.004609816242009401, -0.5020334124565125, -0.060479067265987396, -0.05498383194208145, -0.45660027861595154, -0.02087876759469509, -0.10660236328840256, 0.30126953125, 0.38769376277923584, -0.29801493883132935, -0.22745250165462494, -0.721699059009552, 0.6220083832740784, -1.0567150115966797, 0.40563371777534485, -0.04121332988142967, 0.13906382024288177, -0.5287585258483887, -0.44393861293792725, -0.6048710942268372, 0.0025885894428938627, 0.3923240900039673, 0.1337837427854538, -0.006406091619282961, 0.3435059189796448, -0.14451852440834045, 0.11190171539783478, -0.3876955509185791, 0.3701713979244232, -0.05372059717774391, -0.0450277104973793, 0.6761301755905151, 0.19072391092777252, 0.3825953006744385, 0.160881906747818, 0.02418852038681507, 0.3930094838142395, -0.6323455572128296, -0.5157828330993652, 0.2109464854001999, -0.22346287965774536, 0.34753721952438354, 0.490218847990036, -0.3152499198913574, 0.929686963558197, 0.26602622866630554, -0.2861681878566742, -0.13913387060165405, 0.14950211346149445, -0.30464595556259155, -0.08862070739269257, 0.7747464179992676, 0.5605570077896118, 0.2682848572731018, -0.010225539095699787, -0.34016284346580505, -0.45141860842704773, 0.21395917236804962, -0.39653804898262024, -0.336365669965744, 0.22560639679431915, -0.19420763850212097, -0.20923583209514618, -0.08566593378782272, -0.7304614186286926, -0.3577459752559662, -0.09742216020822525, 0.4794349670410156, -0.4933812916278839, -0.013136527501046658, 0.19294387102127075, 0.005064862314611673, -0.3749803602695465, 0.5826157927513123, -1.0802496671676636, 0.07317119091749191, 0.6099729537963867, 0.8846389055252075, -0.320652037858963, -0.43730857968330383, -0.6194196343421936, 0.6018887162208557, -0.11690393835306168, 0.8626205921173096, -0.7806817293167114, -0.740059494972229, -0.2676370143890381, 0.06387647241353989, -0.2648099660873413, -0.5971201658248901, 0.2853968143463135, -0.8362604379653931, -0.17507997155189514, 0.037876661866903305, -0.9537172317504883, -0.007186072412878275, 0.07859265059232712, -0.30852827429771423, 1.0062661170959473, 0.0304922666400671, -0.33295926451683044, 0.1291099339723587, -0.7145240902900696, -0.17446017265319824, 0.019515959545969963, 0.14300571382045746, -0.32849961519241333, 0.21377252042293549, 0.47969815135002136, 0.5289771556854248, 0.41293808817863464, 0.49356672167778015, -0.35164549946784973, -0.18136531114578247, 0.29832303524017334, -0.48287713527679443, 0.47745072841644287, -0.13662539422512054, -0.05049418658018112, 0.35627371072769165, -0.7353315353393555, -0.5411879420280457, -0.1420750916004181, -0.5435640215873718, -0.4804779887199402, 0.06482052057981491, 0.03312961757183075, 0.10306278616189957, 0.5124494433403015, -0.5017203688621521, 0.8522219657897949, -0.011585059575736523, 0.3662553131580353, 1.4362123012542725, 0.3349878787994385, 0.534978449344635, -0.266855925321579, 0.5825106501579285, -0.03146425634622574, 0.4147643744945526, -0.12237054854631424, -0.6742231845855713, -1.0888080596923828, -0.20973053574562073, 0.46312060952186584, 0.8285971283912659, -0.47961586713790894, 0.5476936101913452, -0.4997362196445465, -0.6004049181938171, -0.4603826105594635, 0.5896874666213989, 0.012596056796610355, 0.3329446315765381, 0.46043235063552856, -0.14357350766658783, -0.4952216148376465, -0.785862147808075, -0.2951793670654297, 0.15735183656215668, 0.06978221982717514, 0.19128501415252686, 0.5458424687385559, -0.6966972351074219, 1.1403826475143433, -0.5069088339805603, 0.08433077484369278, -0.20804379880428314, -0.12046566605567932, 0.11800072342157364, 0.8255652189254761, 0.43757733702659607, -0.47884732484817505, -0.6118612885475159, 0.2036154419183731, -0.5835780501365662, -0.24849370121955872, -0.2768018841743469, -0.38116636872291565, 0.22937403619289398, 0.6335585713386536, -0.5593568682670593, -0.014832845889031887, 0.714752197265625, 0.01674305461347103, 0.5501253008842468, -0.45265689492225647, 0.05083926022052765, -1.1822477579116821, -0.28337833285331726, -0.20849165320396423, -0.3115440607070923, -0.5706237554550171, 0.052581872791051865, 0.14580994844436646, 0.3859962224960327, -0.37362203001976013, 0.8298246264457703, -0.3134636878967285, 0.19157618284225464, -0.3213570713996887, 0.2132437378168106, -0.2851509153842926, 0.28892186284065247, -0.21345484256744385, 0.5803468227386475, 0.3303786814212799, -0.6152724027633667, 0.5948109030723572, 0.15454614162445068, -0.32009536027908325, 0.7526543140411377, -0.5540080666542053, 0.4681166112422943, 0.016815118491649628, 0.28881338238716125, -0.7271813154220581, -0.22738438844680786, 0.15989772975444794, -0.19509944319725037, 0.2728964686393738, -0.17969971895217896, -0.38452696800231934, -0.07785850763320923, -0.037671200931072235, 0.3112546503543854, 0.4568207263946533, -0.34429997205734253, 1.0217503309249878, 0.16094966232776642, -0.5493887066841125, -0.6120550632476807, -0.6150890588760376, 0.25431129336357117, -0.09757327288389206, -0.7338630557060242, 0.31252869963645935, -0.5139669179916382, -0.26779115200042725, 0.015444118529558182, -0.08539867401123047, -0.2242790013551712, -0.000619170896243304, 0.022994358092546463, 0.2884611189365387, -0.29873529076576233, -0.03273289278149605, 0.6620493531227112, -0.33620989322662354, -0.353385329246521, -0.2313486486673355, 0.3009141981601715, 0.37068769335746765, -0.4183245003223419, -0.5229690074920654, 0.3535372018814087, 0.8208579421043396, 0.019515180960297585, 0.6727820038795471, 0.42018020153045654, -0.17690885066986084, -0.18876469135284424, -1.0933406352996826, 0.17652639746665955, -0.5353221297264099, 0.6557683348655701, -0.3546701967716217, -1.0102579593658447, 0.5338620543479919, -0.3905268907546997, 0.21036353707313538, 0.5072532296180725, 0.4436167776584625, -0.10011257976293564, 0.6985123157501221, 0.7335653901100159, -0.3886461853981018, 0.49984437227249146, 0.03361146152019501, -0.03524046763777733, -1.0814831256866455, -0.018213506788015366, -0.11657068133354187, -0.25613370537757874, -0.3022870421409607, -0.5633264183998108, 0.5322993993759155, 0.44220176339149475, 0.07332176715135574, -0.03449561446905136, -0.06686516106128693, 0.6650254726409912, 0.269258975982666, 0.1543044000864029, 0.5278885364532471, -0.25505968928337097, -0.12464585155248642, 0.0870751142501831, -0.8961079120635986, -0.3040091097354889, 0.9283786416053772, 0.21129249036312103, 0.7009645104408264, 0.041110724210739136, 0.5252127647399902, 0.40493258833885193, 0.4121854901313782, -0.5577611327171326, 0.7125611901283264, -0.2531502842903137, -0.43209314346313477, -0.3651423156261444, -0.035716462880373, -0.3670310974121094, 0.25588753819465637, -0.298019677400589, -0.7220754623413086, 0.3309440612792969, 0.5227859616279602, -0.3354572057723999, 0.5485984683036804, -0.36206498742103577, 0.6079006791114807, -0.11138393729925156, -0.3563743829727173, -0.5203251242637634, -0.41437992453575134, 0.19662955403327942, -0.2436240315437317, 0.5473951101303101, 0.15614579617977142, -0.28473299741744995, 0.5658173561096191, -0.5866378545761108, 0.7266257405281067, -0.023543579503893852, -0.11248891055583954, 0.014237851835787296, 0.2435462474822998, 0.8619043231010437, 0.13609227538108826, -0.36720213294029236, 0.03465021774172783, -0.5376498103141785, -0.5124253034591675, -0.815978467464447, 0.9006032347679138, -0.6310533285140991, -0.5705724954605103, 0.09344205260276794, -0.7664268612861633, -0.2905101776123047, 0.07681728154420853, 0.17701128125190735, 0.47376975417137146, -0.22899165749549866, 0.21859051287174225, 0.809909999370575, -0.26181307435035706, 0.5724380612373352, 0.4693273603916168, -0.18244338035583496, -0.7622027397155762, 0.898996114730835, 0.3324536979198456, 0.5498254895210266, 0.4130321145057678, 0.18659260869026184, 0.25902602076530457, -0.8593211770057678, -0.5901099443435669, 0.17778727412223816, -0.9116224050521851, 0.1754656881093979, -1.008612871170044, -0.2088671773672104, -0.3687707781791687, -0.9705816507339478, -0.5598804950714111, -0.38911762833595276, -0.03358260169625282, 0.16380812227725983, 0.49734434485435486, 0.9512218832969666, -0.23411992192268372, 0.8154363632202148, -0.956127941608429, 0.2340564727783203, 0.7440175414085388, 0.11220969259738922, 0.07600666582584381, -0.5403606295585632, -0.388998419046402, -0.03298258036375046, -0.19398418068885803, -0.7606075406074524, 0.20428195595741272, 0.2022676318883896, 0.6962575316429138, 0.2440517097711563, -0.39954978227615356, 0.8494206666946411, -0.6686745285987854, 0.8028315305709839, -0.20197051763534546, -1.054600715637207, 0.4984061121940613, -0.7087151408195496, 0.47388920187950134, 0.44383305311203003, 0.06762942671775818, -0.646048367023468, -0.47763508558273315, -0.3422674834728241, -0.8450007438659668, 0.21356114745140076, -0.15885457396507263, 0.14131049811840057, 0.04733103886246681, 0.6137767434120178, 0.2678408622741699, 0.1494552046060562, -0.5125709772109985, -0.13547196984291077, 0.25971007347106934, -0.1943066120147705, -0.004897669423371553, -0.7266920804977417, 0.38026130199432373, -0.426655113697052, 0.9928222894668579, 0.10312404483556747, -0.0805429220199585, 0.023678410798311234, -0.3806826174259186, -0.12548717856407166, 0.4049336910247803, 0.915479302406311, 0.915704071521759, -0.377132773399353, -0.3688099980354309, 0.7733209729194641, -0.536385715007782, 0.009501862339675426, -0.48874595761299133, -0.26372748613357544, 0.12476639449596405, 0.6133241653442383, 0.7680743932723999, 0.41579174995422363, -0.42331501841545105, 0.16788417100906372, 0.25038325786590576, -0.1522257924079895, -0.005020099226385355, 0.4842585623264313, 0.27154189348220825, 0.13075852394104004, 0.25251343846321106, 0.3622739911079407, -0.052961479872465134, -0.13921475410461426, 0.05427759885787964, 0.14882835745811462, -0.11442626267671585, -0.0041092573665082455, 0.5515101552009583, 0.43398988246917725, -0.5724539756774902, 0.518478274345398, 0.11772388219833374, -0.4769923686981201, 0.3611399531364441, 0.37924668192863464, 0.8693419694900513, -0.9304293394088745, -0.16752594709396362, 0.16654177010059357, 0.34722641110420227, -0.05179697275161743, -0.09841267764568329, 0.2816043794155121, -0.7234926223754883, -0.6910302639007568, -0.47182250022888184, -0.48006710410118103, 0.04285789653658867, -0.4207233190536499, 0.3504737615585327, -0.4096262454986572, 0.11937259137630463, -0.3854829967021942, -0.6735516786575317, -0.25086814165115356, 0.3047525882720947, -0.36449745297431946, 0.8451660871505737, -0.6607773303985596, 1.0005488395690918, 0.7349874377250671, 0.22586661577224731, -0.12492942065000534, -0.1457306146621704, 0.07568775862455368, -0.5835248231887817, 0.2859330177307129, -0.1643998622894287, -0.04696555435657501, 0.269079327583313, -0.387898713350296, -0.5587844252586365, 0.9880527853965759, 0.20270133018493652, -0.9934321045875549, -0.09113742411136627, -0.15445394814014435, 0.18026065826416016, -0.4059979319572449, 0.2642792761325836, 0.3959992527961731, 0.5347861647605896, 0.026792120188474655, -0.8333923816680908, -0.32714393734931946, -0.2330627739429474, 0.14146345853805542, -0.002552768914029002, -0.7269253730773926, 0.7549251317977905, 0.14068640768527985, 0.6156103014945984, 0.22667327523231506, 0.7260996103286743, 0.1603401005268097, -0.009000476449728012, 0.7113308310508728, 0.5998438000679016, 0.6497383117675781, 0.3934037387371063, 0.6467908620834351, -0.2655408978462219, 0.23725774884223938, 1.2551273107528687, 0.01029909122735262, 0.9825010895729065, 0.30215445160865784, 0.025354642421007156, 0.7251434326171875, 0.4738520681858063, 0.07524745911359787, 0.37336692214012146, -0.19375209510326385, -0.575994610786438, -0.5357294678688049, 0.22944550216197968, -0.36609870195388794, 0.22993725538253784, 0.4211891293525696, -0.25470152497291565, 0.1217772588133812, 0.14273910224437714, 0.22371453046798706, -0.09778785705566406, -0.32988789677619934, 0.7035930752754211, -0.05129271745681763, -0.3686886429786682, 0.19055995345115662, 0.20768733322620392, 0.9027811288833618, -0.535535991191864, -0.011048133485019207, -0.25519245862960815, 0.10738252848386765, -0.11439264565706253, -0.49604561924934387, 0.13826964795589447, -0.13159701228141785, -0.313851535320282, -0.024894675239920616, 0.5286435484886169, -0.3512227237224579, -0.6299433708190918, 0.21947576105594635, 0.3611854910850525, -0.20163008570671082, 0.08778026700019836, -0.7005891799926758, 0.21868301928043365, -0.1161639392375946, -0.5503305196762085, 0.34633418917655945, 0.31701329350471497, 0.09971757233142853, 0.796366810798645, 0.634941041469574, 0.2502578794956207, 0.22924275696277618, -0.1257493793964386, 0.7934167981147766, -0.5796149373054504, -0.4276922643184662, -1.0726960897445679, 1.0401726961135864, -0.1133226752281189, -0.33056655526161194, 0.5880308747291565, 0.3228754699230194, 0.5591445565223694, -0.32427507638931274, 0.9495401382446289, 0.1491236537694931, -0.13847509026527405, -0.9557007551193237, 0.6015369892120361, -0.4741284251213074, 0.23620469868183136, -0.4155491888523102, -1.2256014347076416, -0.3225714862346649, 0.46030572056770325, -0.4090639054775238, 0.00402552355080843, 0.6439148187637329, 0.9208921790122986, -0.275270938873291, -0.2578824460506439, 0.43765127658843994, 0.6979120969772339, 0.38267001509666443, 0.570487916469574, 0.5224307179450989, -0.1985159069299698, -0.036479003727436066, -0.2597920298576355, -0.15070585906505585, -0.48126375675201416, -0.9161553382873535, -1.0615758895874023, -0.24725769460201263, -0.37270116806030273, -0.03422577306628227, 0.5285413265228271, 1.0349966287612915, 0.6311759352684021, -0.6753672957420349, -0.0693160817027092, -0.25175079703330994, 0.23351919651031494, -0.06930431723594666, -0.17205610871315002, 0.27718380093574524, 0.01821555569767952, -0.8770361542701721, 0.720615804195404, 0.7293579578399658, -0.22381393611431122, -0.13398730754852295, -0.18339386582374573, -0.46495190262794495, 0.2716943621635437, 0.523865282535553, -0.0450294092297554, -0.827410101890564, -0.38113316893577576, -0.2103574424982071, 0.15236975252628326, -0.010767164640128613, 0.6055179834365845, -0.3632126450538635, 0.9264398813247681, 0.4475010633468628, 0.828755795955658, -0.03473436087369919, -0.04100283607840538, 0.7714433670043945, -0.37822088599205017, 0.11748562753200531, -0.10239261388778687, 0.5100122094154358, 0.20748648047447205, -0.44341930747032166, 0.24769966304302216, 0.5856510400772095, -0.9261871576309204, -0.5792924165725708, -0.001883986871689558, -1.1617341041564941, -0.231882244348526, 1.2337086200714111, -0.2164214551448822, -0.22082354128360748, -0.10288539528846741, -0.6357813477516174, 0.19369995594024658, -0.32012939453125, 0.5474947094917297, 0.8532522320747375, -0.0562492199242115, -0.28973114490509033, -0.7957698702812195, -0.16369584202766418, 0.43282362818717957, -0.5706470608711243, -0.25058531761169434, 0.6098181009292603, 0.4732286036014557, -0.2825949490070343, 0.6892478466033936, 0.31021055579185486, 0.3425143361091614, -0.07440175861120224, 0.10448303073644638, -0.2244086116552353, -0.3032073974609375, -0.38332903385162354, 0.06718528270721436, 0.23578700423240662, 0.26209256052970886 ]
http://arxiv.org/abs/2406.20015v1
http://arxiv.org/pdf/2406.20015v1
ToolBeHonest: A Multi-level Hallucination Diagnostic Benchmark for Tool-Augmented Large Language Models
2024-06-28T16:03:30
2024-06-28T16:03:30
Yuxiang Zhang, Jing Chen, Junjie Wang, Yaxin Liu, Cheng Yang, Chufan Shi, Xinyu Zhu, Zihao Lin, Hanwen Wan, Yujiu Yang, Tetsuya Sakai, Tian Feng, Hayato Yamana
cs.CL
cs.CL, cs.AI
Tool-augmented large language models (LLMs) are rapidly being integrated into real-world applications. Due to the lack of benchmarks, the community still needs to fully understand the hallucination issues within these models. To address this challenge, we introduce a comprehensive diagnostic benchmark, ToolBH. Specifically, we assess the LLM's hallucinations through two perspectives: depth and breadth. In terms of depth, we propose a multi-level diagnostic process, including (1) solvability detection, (2) solution planning, and (3) missing-tool analysis. For breadth, we consider three scenarios based on the characteristics of the toolset: missing necessary tools, potential tools, and limited functionality tools. Furthermore, we developed seven tasks and collected 700 evaluation samples through multiple rounds of manual annotation. The results show the significant challenges presented by the ToolBH benchmark. The current advanced models Gemini-1.5-Pro and GPT-4o only achieve a total score of 45.3 and 37.0, respectively, on a scale of 100. In this benchmark, larger model parameters do not guarantee better performance; the training data and response strategies also play a crucial role in tool-enhanced LLM scenarios. Our diagnostic analysis indicates that the primary reason for model errors lies in assessing task solvability. Additionally, open-weight models suffer from performance drops with verbose replies, whereas proprietary models excel with longer reasoning.
[ -0.4947895407676697, -0.8710589408874512, 0.6180760264396667, 0.40527278184890747, -0.357982873916626, 0.25000786781311035, -0.25961360335350037, -0.5954639315605164, 0.05797935649752617, 0.5524243116378784, -0.4967215955257416, -0.654914140701294, -0.6080500483512878, 0.06687109917402267, -0.6151691675186157, 0.597704291343689, 0.06903847306966782, 0.12238139659166336, -0.1570395678281784, 0.10414732247591019, -0.9871196746826172, -0.4081861078739166, -0.6257199645042419, -0.12169063836336136, 0.28867611289024353, 0.21531851589679718, 0.6571634411811829, 0.30037468671798706, 0.5967133045196533, 0.25577104091644287, -0.3578895926475525, 0.07798992842435837, -0.2815305292606354, 0.4901271462440491, 0.061118148267269135, -0.10178104788064957, -0.7728206515312195, -0.08593834191560745, 0.4447460174560547, 1.1385245323181152, -0.13396187126636505, 0.13451816141605377, -0.06373553723096848, 0.05895984172821045, -0.5745965242385864, -0.10951774567365646, -0.6366606950759888, -0.07404247671365738, -0.1665428876876831, 0.2623681128025055, -0.3378881514072418, -0.3581530451774597, -0.034195154905319214, -0.12369094789028168, 0.269890695810318, -0.02080785669386387, 0.5440830588340759, 0.47400256991386414, -0.39799630641937256, -0.3624599277973175, -0.602562665939331, 0.6092506647109985, -0.8583605289459229, 0.6876780390739441, 0.17229071259498596, 0.4160213768482208, -0.29361847043037415, -0.5415847897529602, -0.4349606931209564, -0.4188641309738159, -0.047251004725694656, 0.1547083705663681, -0.1758030652999878, -0.10933969914913177, 0.496893048286438, 0.3718433380126953, -0.8520265817642212, 0.2777543067932129, -0.42082658410072327, -0.5747639536857605, 0.5269871354103088, 0.25291356444358826, 0.02638591080904007, -0.40127572417259216, -0.03801429271697998, -0.055159930139780045, -0.3851251006126404, -0.12832686305046082, 0.2229914367198944, 0.4344804883003235, -0.030507538467645645, 0.4782426059246063, 0.09578152000904083, 0.6776410937309265, -0.25863566994667053, -0.33698055148124695, 0.2749243676662445, -0.09339936822652817, -0.2425602823495865, 0.16018562018871307, 0.5267587900161743, 0.06096306070685387, 0.008999315090477467, -0.4508339464664459, -0.4364168643951416, 0.07643046230077744, 0.37779325246810913, -0.8979729413986206, -0.23681558668613434, 0.6017798781394958, -0.2969649136066437, -0.1302039474248886, -0.1959855854511261, -0.5649166107177734, -0.8731980323791504, -0.11039820313453674, 0.5480132102966309, -0.45940813422203064, -0.7032031416893005, 0.20373883843421936, -0.03534810617566109, 0.13507269322872162, 0.20981112122535706, -0.3946424722671509, 0.40012526512145996, 0.6918461918830872, 1.0299755334854126, -0.4655836224555969, -0.3004709780216217, -0.7429050207138062, -0.046922050416469574, -0.5380650758743286, 0.8554700016975403, -0.49666252732276917, -0.6867110133171082, -0.18835636973381042, 0.16743893921375275, 0.24333171546459198, -0.9552085399627686, 0.6144730448722839, -0.00025947115500457585, -0.18869681656360626, -0.2655274569988251, -0.3027034401893616, -0.23257271945476532, 0.31229305267333984, -0.6624154448509216, 1.4641505479812622, 0.18971315026283264, -0.5192461013793945, 0.4716925024986267, -0.36550217866897583, -0.5391725897789001, 0.10697118937969208, -0.05803939327597618, -0.25119948387145996, 0.43057700991630554, 0.22526371479034424, 0.7725719809532166, -0.39355817437171936, 0.44136497378349304, -0.5242390632629395, -0.6838988065719604, -0.09888499230146408, -0.14074896275997162, 0.8128600716590881, -0.2143069952726364, -0.44222214818000793, 0.311190128326416, -0.9753794074058533, -0.10173174738883972, 0.14650104939937592, 0.14961135387420654, -0.2063925862312317, -0.3356446325778961, 0.04266228899359703, 0.31841960549354553, 0.11691959947347641, -0.4547205865383148, 0.21570275723934174, -0.4870963394641876, 0.017101584002375603, 0.801245927810669, -0.1851215958595276, -0.13332095742225647, 0.05714831501245499, 0.7054686546325684, 0.3239571154117584, 0.1636769324541092, -0.09722797572612762, -0.27025821805000305, -0.7596908807754517, -0.4325394630432129, 0.1679869145154953, 0.47394028306007385, -0.1813293993473053, 0.6039103269577026, -0.04476579651236534, -0.770073652267456, -0.6974645256996155, -0.11404405534267426, 0.16983436048030853, 0.3230817914009094, 0.43794259428977966, -0.4363005757331848, -0.3034259080886841, -1.125152587890625, -0.08509384840726852, 0.13732315599918365, -0.08542101085186005, 0.27854108810424805, 0.5667844414710999, -0.36200931668281555, 0.3959105312824249, -0.2614916265010834, -0.2984500825405121, -0.35638341307640076, 0.2202911078929901, 0.3949735462665558, 0.09911178052425385, 0.2942926287651062, -0.22209016978740692, -0.07576631754636765, 0.09594041854143143, -0.6511520147323608, -0.25231271982192993, -0.0406121090054512, 0.25583139061927795, 0.30076858401298523, 0.5252360701560974, -0.5745182037353516, 0.6273479461669922, 0.695364236831665, -0.13391654193401337, 0.980744481086731, -0.09954764693975449, -0.12474309653043747, -1.0059475898742676, 0.22716565430164337, -0.22672472894191742, -0.17662577331066132, -0.4105885624885559, -0.0013726034667342901, 0.07890329509973526, -0.1109650731086731, -0.051810212433338165, 0.6534591317176819, -0.47482457756996155, -0.6663433313369751, -0.36957553029060364, 0.6072250604629517, -0.19449952244758606, 0.2595199644565582, -0.05115135759115219, 0.8495959043502808, 0.7929825186729431, -0.5375581383705139, 0.624493420124054, -0.020408589392900467, -0.32516181468963623, 0.5326035618782043, -0.9687576293945312, 0.2091798037290573, 0.03589406982064247, 0.04668813198804855, -1.2008516788482666, -0.16942265629768372, 0.06433487683534622, -0.3098202645778656, 0.1738465428352356, 0.08287547528743744, -0.7578421235084534, -0.4922029972076416, -0.21460965275764465, 0.32832494378089905, 0.3889906406402588, -0.43454688787460327, 0.873157262802124, 0.15158042311668396, -0.20763562619686127, -0.5281203985214233, -0.3713240325450897, 0.10856727510690689, -0.11646445095539093, -0.6214359402656555, 0.2951433062553406, -0.09741441905498505, -0.2248852699995041, -0.24683347344398499, -0.4363658130168915, 0.18381430208683014, 0.24436227977275848, 0.530871570110321, 0.21966639161109924, -0.12024176865816116, 0.13600406050682068, 0.1955702155828476, -0.1000657007098198, 0.29634976387023926, 0.28708022832870483, 0.8201883435249329, -0.24822258949279785, -0.6065956950187683, -0.19052456319332123, 0.10484293848276138, 0.5658140778541565, -0.24546699225902557, 0.34983640909194946, 0.9422439932823181, -0.41693344712257385, -0.21804089844226837, -0.903202474117279, -0.48572850227355957, -0.3888058066368103, 0.5116795301437378, -0.6861016154289246, -0.5498070120811462, 0.8053813576698303, -0.3178917467594147, 0.03246289864182472, 0.21254169940948486, 0.735371470451355, 0.26322561502456665, 1.117905855178833, 0.507165789604187, 0.00903957150876522, -0.2760586738586426, -0.126842200756073, 0.5164042115211487, -0.9110208749771118, -0.32999974489212036, -0.4611204266548157, -0.20361651480197906, -0.4486330449581146, -0.2651612460613251, 0.4472874402999878, 0.2880812883377075, -0.044703803956508636, 0.28603193163871765, -0.53975510597229, 0.2623392939567566, 0.2626659870147705, -0.13945263624191284, 0.3302491307258606, -0.41658201813697815, -0.47094428539276123, -0.06821978837251663, -0.4715632498264313, -0.45352211594581604, 0.8885625004768372, 0.2635246515274048, 0.3836323618888855, 0.07069569081068039, 0.6682808995246887, 0.12078547477722168, 0.05919019505381584, -1.0220431089401245, 0.7956333756446838, 0.14811097085475922, -0.6547277569770813, -0.33715808391571045, -0.07914359867572784, -0.8682875633239746, 0.4386024475097656, 0.05680622532963753, -0.9970690608024597, 0.021731404587626457, -0.09895947575569153, -0.26758596301078796, 0.05189487710595131, -0.4823375940322876, 1.137709140777588, -0.2870921492576599, -0.3146689534187317, -0.2874473035335541, -0.5582041144371033, 0.5756123065948486, -0.3553480803966522, 0.27057945728302, -0.32539477944374084, 0.01829814538359642, 0.44523710012435913, -0.10699694603681564, 0.6426776051521301, -0.14227645099163055, -0.30555596947669983, -0.3622751235961914, 0.4982116222381592, 0.550427258014679, -0.008330710232257843, -0.09217718988656998, 0.09802856296300888, 0.10283417999744415, -0.3081352114677429, -0.4025663137435913, 0.5952098369598389, -0.46978309750556946, -0.6580957770347595, -0.4214611351490021, -0.6237384676933289, -0.5936155319213867, 0.34480980038642883, -0.06223394721746445, 0.5399224162101746, -0.09406311810016632, 0.11206603795289993, 0.4913460612297058, -0.5244439244270325, 0.3080095648765564, 0.268443763256073, -0.7113294005393982, 0.03055373951792717, 0.7580928206443787, -0.08270201832056046, 0.10480867326259613, -0.35529205203056335, 0.029826872050762177, -0.16366079449653625, -0.9157406091690063, -0.3350321054458618, 0.42789241671562195, -0.76990807056427, -0.12230969220399857, -0.6665271520614624, -0.3225995898246765, -0.47681447863578796, 0.10848928242921829, -0.5462254285812378, -0.10007453709840775, 0.00598271144554019, -0.09079762548208237, 0.1554097831249237, 0.8379649519920349, -0.07678154110908508, 0.15461795032024384, -0.5710157752037048, 0.386526495218277, -0.0411708690226078, 0.3949050009250641, 0.23403409123420715, -0.5722675323486328, -0.15348604321479797, -0.1671869456768036, -0.24779613316059113, -0.8166567087173462, 0.20791001617908478, -0.26642104983329773, 0.6133610606193542, 0.29446402192115784, 0.06784262508153915, 0.9202299118041992, -0.1897936314344406, 0.7986093163490295, -0.09041497111320496, -1.155678629875183, 0.4709993004798889, -0.15224216878414154, 0.3973456025123596, 0.17827387154102325, 0.44263532757759094, -0.5414888262748718, -0.8497494459152222, -0.42367109656333923, -0.8481305837631226, 0.563366711139679, -0.14049898087978363, -0.11593800038099289, 0.09298227727413177, 0.19774192571640015, 0.574714183807373, 0.03084077127277851, -0.5979537963867188, 0.043236006051301956, -0.1760828197002411, 0.21127860248088837, 0.046338967978954315, -0.1268594115972519, 0.09332767874002457, -0.4892142415046692, 0.6065546870231628, -0.045892708003520966, 0.0037249501328915358, -0.07722299546003342, -0.3486805260181427, 0.14756625890731812, 0.16436393558979034, 0.5020700693130493, 1.053605079650879, -0.39967137575149536, 0.046448931097984314, 0.43832486867904663, -0.4101014733314514, -0.10783087462186813, 0.3027310371398926, 0.397159606218338, 0.18707706034183502, 0.5416584014892578, 0.8308559656143188, 0.26790791749954224, -0.881187915802002, 0.6105188131332397, 0.1367119401693344, -0.1900130808353424, -0.32634076476097107, -0.06580418348312378, 0.28920307755470276, 0.4578980803489685, 0.3188110291957855, -0.2555578947067261, 0.43147096037864685, -0.47242626547813416, -0.00798035878688097, 0.7039665579795837, -0.3471218943595886, -0.3850717842578888, 0.49264955520629883, -0.052550241351127625, -0.25520819425582886, 0.7256795167922974, -0.3741229176521301, -0.5094534158706665, 0.40871551632881165, 0.4513132572174072, 0.907904863357544, -0.22680675983428955, 0.22852274775505066, 0.3827626407146454, 0.586562991142273, 0.06596068292856216, 0.3893500864505768, 0.1962754726409912, -0.4841136336326599, -0.5423532724380493, -0.650088369846344, -0.30588051676750183, 0.5198045372962952, -0.7428856492042542, 0.4879394769668579, -0.3812845051288605, -0.20715585350990295, 0.1808755099773407, 0.0017038827063515782, -0.585675060749054, 0.19026361405849457, -0.11281745880842209, 0.7710708379745483, -0.6180535554885864, 0.7307983636856079, 0.3855666518211365, -0.2955959439277649, -0.7289851307868958, 0.16519038379192352, 0.018803488463163376, -0.9310017824172974, 0.5203120708465576, 0.4180030822753906, -0.22815625369548798, -0.06405780464410782, -0.12972711026668549, -0.6068030595779419, 1.0189915895462036, 0.3370110094547272, -0.5687156319618225, -0.04314529895782471, -0.07514588534832001, 0.5336642861366272, -0.11838428676128387, 0.33918118476867676, 0.9313313364982605, 0.6480265855789185, 0.05432109907269478, -1.274830937385559, 0.4094439148902893, 0.0522218719124794, 0.012897360138595104, 0.28605860471725464, -0.309994637966156, 0.6447442770004272, -0.30637821555137634, -0.21474389731884003, 0.14370283484458923, 0.15415658056735992, 0.37119147181510925, 0.07903085649013519, 0.5359005928039551, 0.520361065864563, 0.7051146030426025, -0.20167039334774017, 0.8451316952705383, -0.3571721315383911, -0.07929367572069168, 0.8671149611473083, -0.467325896024704, 0.9144673347473145, 0.3463459610939026, -0.08318343013525009, 0.20561353862285614, 0.757553219795227, -0.16400814056396484, 0.16232675313949585, 0.33936169743537903, 0.11513122171163559, -0.46661099791526794, -0.18479564785957336, -0.5550040602684021, 0.6108661890029907, 0.2755877673625946, 0.014124236069619656, -0.17919912934303284, 0.142934188246727, -0.20191547274589539, -0.27745458483695984, -0.09221756458282471, 0.7704071998596191, -0.09505697339773178, -0.3894752860069275, 0.8007399439811707, -0.215581476688385, 0.4919540286064148, -0.36016133427619934, 0.07274143397808075, -0.4056958854198456, 0.16827350854873657, -0.13819658756256104, -0.530016303062439, 0.33851158618927, -0.269577294588089, 0.10848288983106613, 0.1660243719816208, 0.5767290592193604, -0.15201765298843384, -0.5846120715141296, 0.6688804626464844, 0.7714280486106873, 0.6002475619316101, -0.2915256917476654, -0.5820715427398682, 0.6392765045166016, -0.41010400652885437, -0.21614912152290344, 0.07111778110265732, 0.5148855447769165, -0.061561524868011475, 0.6524661779403687, 0.24111230671405792, 0.26656022667884827, -0.0363299585878849, 0.45733192563056946, 0.8291069865226746, -0.7197471857070923, 0.07107473164796829, -0.7715687155723572, 0.5944342017173767, -0.28424859046936035, -0.3774776756763458, 0.7740832567214966, 0.6892067790031433, 0.7681223154067993, 0.09542131423950195, 0.707486093044281, 0.17628489434719086, 0.7679076790809631, -0.3454958200454712, 0.4600207209587097, -0.9922048449516296, 0.421156644821167, -0.481109619140625, -1.2210314273834229, -0.2874605059623718, 0.4528788626194, -0.19797258079051971, 0.2745606303215027, 1.0195006132125854, 0.9700360298156738, -0.18890380859375, -0.00825154222548008, 0.5404740571975708, 0.48166826367378235, 0.17918488383293152, 0.36098921298980713, 0.8957002758979797, -0.20791029930114746, 0.6269997358322144, -0.34908899664878845, -0.23518042266368866, -0.36600619554519653, -0.7781104445457458, -1.1721057891845703, -0.6693392395973206, -0.16112519800662994, -0.2668529152870178, 0.06529252231121063, 0.7356081008911133, 0.6700876355171204, -0.802409827709198, -0.40164753794670105, 0.11675600707530975, 0.009535752236843109, -0.3263375759124756, -0.1964600831270218, 0.37365540862083435, -0.362511545419693, -0.5178499817848206, 0.3257310390472412, 0.5734113454818726, -0.021985232830047607, -0.7478852868080139, 0.12235777825117111, 0.21706928312778473, -0.17316454648971558, 0.7885714173316956, -0.30921459197998047, -1.2757989168167114, -0.26901036500930786, 0.1960381120443344, 0.1318124681711197, -0.18977592885494232, 0.8342993855476379, -0.6898539066314697, 0.4134874641895294, -0.06068074703216553, 0.7087056040763855, 0.5581845641136169, -0.37804141640663147, 0.43569138646125793, -0.5618588328361511, 0.27019086480140686, 0.5191238522529602, 0.25352180004119873, 0.41028299927711487, -0.02888568863272667, 0.5537209510803223, 0.07827191054821014, -0.4126685559749603, -1.3963578939437866, 0.1847219169139862, -1.1277576684951782, -0.5570254921913147, 0.9839529395103455, 0.21104173362255096, 0.14957505464553833, -0.2759037911891937, -0.339948445558548, 0.057413022965192795, -0.1664607971906662, 0.9791514277458191, 1.0810189247131348, -0.09934844821691513, -0.2604789733886719, -0.7172378897666931, 0.31243300437927246, 0.39641591906547546, -0.8374592661857605, 0.3533426523208618, 0.6458460688591003, 0.03577161207795143, 0.05073702335357666, 0.3063802123069763, 0.04888409003615379, 0.34123557806015015, 0.1550295501947403, 0.04480346292257309, -0.15314584970474243, -0.4453083872795105, -0.11104267835617065, 0.11834946274757385, 0.20931516587734222, 0.2166619449853897 ]
http://arxiv.org/abs/2406.19999v1
http://arxiv.org/pdf/2406.19999v1
The SIFo Benchmark: Investigating the Sequential Instruction Following Ability of Large Language Models
2024-06-28T15:34:26
2024-06-28T15:34:26
Xinyi Chen, Baohao Liao, Jirui Qi, Panagiotis Eustratiadis, Christof Monz, Arianna Bisazza, Maarten de Rijke
cs.CL
cs.CL
Following multiple instructions is a crucial ability for large language models (LLMs). Evaluating this ability comes with significant challenges: (i) limited coherence between multiple instructions, (ii) positional bias where the order of instructions affects model performance, and (iii) a lack of objectively verifiable tasks. To address these issues, we introduce a benchmark designed to evaluate models' abilities to follow multiple instructions through sequential instruction following (SIFo) tasks. In SIFo, the successful completion of multiple instructions is verifiable by examining only the final instruction. Our benchmark evaluates instruction following using four tasks (text modification, question answering, mathematics, and security rule following), each assessing different aspects of sequential instruction following. Our evaluation of popular LLMs, both closed-source and open-source, shows that more recent and larger models significantly outperform their older and smaller counterparts on the SIFo tasks, validating the benchmark's effectiveness. All models struggle with following sequences of instructions, hinting at an important lack of robustness of today's language models.
[ -0.050657037645578384, -0.40988689661026, 0.7079064846038818, 0.5851567387580872, 0.11989261209964752, 0.09336293488740921, -0.02029288560152054, -0.3956197202205658, -0.4159327447414398, 0.7400009036064148, -0.6260660290718079, -0.5428303480148315, -0.841264545917511, 0.35769152641296387, -0.44404926896095276, 0.7901490330696106, -0.21570919454097748, 0.1407870650291443, -0.23023907840251923, -0.09194457530975342, -0.6772529482841492, -0.3530062139034271, -0.5395486950874329, -0.3448917269706726, 0.43537870049476624, 0.414559543132782, 0.4942258298397064, 0.7680729031562805, 0.7164782881736755, 0.3580716550350189, 0.005442106164991856, 0.12280835211277008, -0.660313069820404, 0.20482319593429565, 0.07434329390525818, -0.3730337917804718, -0.3084205985069275, 0.09646957367658615, 1.2179590463638306, 0.6980876922607422, 0.08690374344587326, 0.3426991403102875, 0.09659866988658905, 0.5242389440536499, -0.5306016206741333, 0.19729384779930115, -0.4974936246871948, 0.0001666863536229357, -0.22122853994369507, -0.014505630359053612, -0.6853026151657104, -0.6335778832435608, 0.20292598009109497, -0.2676842510700226, -0.171022430062294, 0.13969194889068604, 0.47596073150634766, 0.34499940276145935, -0.4922809898853302, -0.3490374684333801, -0.5497145056724548, 0.6479230523109436, -0.7684853076934814, 0.751663327217102, 0.47066599130630493, 0.1429985761642456, -0.2945822775363922, -0.6932082772254944, -0.25452297925949097, -0.5125744938850403, 0.03761176019906998, -0.11266755312681198, 0.14912113547325134, -0.1372915804386139, 0.7222093939781189, 0.04426771029829979, -0.3877284526824951, 0.0029154105577617884, -0.4800516664981842, -0.05211281031370163, 0.36037737131118774, 0.17994725704193115, 0.2373933345079422, 0.255952388048172, -0.7932974100112915, -0.23666009306907654, -0.8651518821716309, 0.18826472759246826, 0.3667815029621124, -0.10563702881336212, -0.13534192740917206, 0.5726127028465271, -0.2502424120903015, 0.5954688787460327, -0.09411148726940155, -0.3431043326854706, 0.442096084356308, -0.6042885780334473, -0.1901252418756485, 0.018295548856258392, 0.6763766407966614, 0.2090272158384323, 0.16912095248699188, -0.23566943407058716, -0.24086304008960724, -0.4029783010482788, 0.18141593039035797, -0.9175941348075867, 0.09968435019254684, -0.022503674030303955, -0.293992280960083, 0.01948562264442444, -0.04279622063040733, -0.47246983647346497, -0.3417242765426636, -0.10940374433994293, 0.38292092084884644, -0.48135143518447876, 0.11549154669046402, -0.16809365153312683, -0.053286463022232056, 0.45448365807533264, 0.22718489170074463, -0.9244745373725891, 0.5586512684822083, 1.239973783493042, 0.9089275002479553, -0.2750839591026306, -0.7843937873840332, -0.8111526370048523, 0.1588994711637497, -0.506670355796814, 0.7438119053840637, -0.8931178450584412, -0.40352484583854675, -0.44157716631889343, 0.24379892647266388, -0.39326199889183044, -0.3008514642715454, 0.41584399342536926, -0.4947085380554199, -0.09994683414697647, -0.39496666193008423, -0.8681426644325256, -0.25187185406684875, 0.13285993039608002, -0.675294816493988, 1.054844856262207, -0.12552832067012787, -0.4613012373447418, 0.1670500636100769, -0.20768077671527863, -0.43051841855049133, -0.0955640971660614, -0.4051862955093384, -0.13189300894737244, 0.17449569702148438, -0.227639302611351, 0.39686092734336853, -0.3635769486427307, -0.08370302617549896, -0.6924517750740051, -0.8305875062942505, 0.08271811157464981, -0.4962764084339142, 0.6934088468551636, -0.28150853514671326, -0.40209195017814636, 0.05666979029774666, -0.9046983122825623, 0.024203097447752953, -0.07624123990535736, -0.20785613358020782, -0.3406941294670105, 0.13585633039474487, -0.6571244597434998, -0.015165017917752266, 0.3388442397117615, -0.21768957376480103, 0.13819357752799988, -0.18104612827301025, 0.20292995870113373, 1.0248256921768188, 0.11310622096061707, 0.3133932054042816, -0.27114465832710266, 0.4298723638057709, -0.43149304389953613, -0.003426841925829649, -0.6318683624267578, -0.7039588093757629, -0.39465707540512085, -0.16036751866340637, 0.1584993451833725, 0.7285372614860535, -0.1159672811627388, -0.12095735967159271, -0.10606052726507187, -0.6289843320846558, -0.40176281332969666, 0.39124277234077454, 0.6021245718002319, 0.5408855080604553, 0.059172824025154114, -0.37907761335372925, -0.2525957524776459, -0.6960002779960632, -0.07506471872329712, -0.1452402025461197, 0.1942431777715683, 0.1064881980419159, 0.706142246723175, -0.09366557747125626, 0.05672949180006981, -0.20158439874649048, 0.2674805819988251, 0.42158231139183044, 0.4162899851799011, 0.1859763264656067, 0.4736100435256958, 0.24578848481178284, -0.6163037419319153, -0.5461399555206299, 0.011943195015192032, -0.684164822101593, -0.1273018717765808, -0.005726938135921955, -0.038982514292001724, 0.08669263869524002, 0.7062833905220032, -0.21091172099113464, 0.39877796173095703, 0.6488659381866455, -0.1838727742433548, 0.6637455821037292, -0.25432005524635315, 0.5048236846923828, -0.5897105932235718, 0.14729167520999908, -0.2531105577945709, -0.1435561627149582, -0.597550630569458, 0.20997127890586853, 0.20131689310073853, -0.02893196791410446, -0.3019503355026245, 0.44945448637008667, -0.6798287630081177, -0.5839033126831055, -0.24648456275463104, -0.13138486444950104, -0.04644104093313217, 0.32909008860588074, 0.04676580801606178, 1.1007905006408691, 0.5503205060958862, -0.4166596531867981, 0.23255616426467896, -0.09589575976133347, -0.5894652009010315, 0.28805801272392273, -0.9161554574966431, 0.4569299519062042, -0.03182563558220863, 0.032871127128601074, -1.2787894010543823, -0.006584466900676489, 0.08039279282093048, -0.09918252378702164, 0.05895296111702919, -0.2130173146724701, -0.6180768609046936, -0.35395559668540955, -0.3336699306964874, 0.3051280081272125, 0.444034218788147, -0.1908552199602127, 0.5498638153076172, -0.08890384435653687, -0.25401055812835693, -0.8883739709854126, -0.4849735200405121, -0.28959065675735474, 0.029255570843815804, -0.6009534597396851, 0.435437947511673, -0.35866132378578186, -0.17699721455574036, -0.1251995861530304, -0.3407670259475708, 0.007357808295637369, 0.23285630345344543, 0.3851011395454407, 0.2674267292022705, -0.3896290361881256, -0.29505884647369385, -0.2597016990184784, -0.04813818633556366, 0.0917062759399414, -0.014593061059713364, 0.4129299223423004, -0.22622859477996826, -0.6126198768615723, -0.6113355755805969, 0.2975689470767975, 0.7354103922843933, -0.23564513027668, 0.6954846382141113, 0.445583701133728, -0.39936399459838867, -0.07623409479856491, -0.6847928762435913, -0.06114564090967178, -0.43640875816345215, 0.2226765900850296, -0.562781035900116, -0.7037126421928406, 0.6057617664337158, -0.049597956240177155, 0.4058206081390381, 0.07639312744140625, 0.44981613755226135, 0.01905110850930214, 1.0426627397537231, 0.6802939772605896, 0.025979889556765556, 0.4665098488330841, 0.15027038753032684, -0.010999880731105804, -0.7874261140823364, -0.15559430420398712, -0.6148785948753357, -0.012730295769870281, -0.5744695067405701, -0.5281219482421875, 0.26816022396087646, 0.3693685531616211, -0.3743390440940857, 0.6576532125473022, -0.11001886427402496, 0.5727510452270508, 0.7550575733184814, -0.030838793143630028, 0.31264856457710266, -0.19313757121562958, -0.33716288208961487, 0.3248714804649353, -0.36758044362068176, -0.6775848269462585, 0.9737911820411682, 0.5319696664810181, 0.6920602321624756, 0.17253486812114716, 0.7356090545654297, 0.32882946729660034, 0.3386801779270172, -0.3961186110973358, 0.7915395498275757, -0.29363882541656494, -0.3387656807899475, -0.25979238748550415, -0.4558389484882355, -0.48606744408607483, 0.329778790473938, -0.023511826992034912, -1.1758577823638916, -0.02518109232187271, 0.060126982629299164, -0.46848660707473755, -0.14883461594581604, -0.7987178564071655, 0.9943729043006897, -0.2832467555999756, -0.5538772940635681, -0.2420138269662857, -0.5314204692840576, 0.4733753800392151, -0.13252930343151093, 0.10652010887861252, -0.3842657506465912, -0.34456318616867065, 0.632448673248291, -0.2786041796207428, 0.7718430757522583, 0.15937890112400055, -0.07917908579111099, 0.051883332431316376, -0.12114691734313965, 0.6943643093109131, -0.2696759104728699, -0.3385031819343567, -0.07085781544446945, 0.3097831904888153, -0.2789176106452942, -0.42918047308921814, 0.8894892930984497, -0.5563140511512756, -0.7809980511665344, -0.3659366965293884, -0.24330538511276245, -0.38343319296836853, 0.49967822432518005, 0.01930118538439274, 0.5283197164535522, -0.15639279782772064, 0.15772971510887146, 0.7143043875694275, 0.015041171573102474, 0.36317911744117737, 0.5533881783485413, -0.01721358485519886, -0.34497877955436707, 0.6657535433769226, 0.18905282020568848, 0.396571546792984, 0.38488325476646423, 0.13043968379497528, -0.31739988923072815, -0.6194202899932861, -0.636699914932251, 0.17636917531490326, -0.8336149454116821, 0.11970901489257812, -0.45566847920417786, -0.20110546052455902, -0.5662120580673218, 0.07029460370540619, -0.2532905042171478, 0.019103005528450012, -0.13865068554878235, 0.20392660796642303, -0.14616519212722778, 1.0113654136657715, 0.3156782388687134, 0.26277482509613037, -0.8808279633522034, 0.26945731043815613, 0.3191843032836914, 0.5108927488327026, 0.2618653178215027, -0.5927984118461609, 0.11943985521793365, -0.25065505504608154, -0.1174730658531189, -1.1200629472732544, -0.24684476852416992, -0.10176495462656021, 0.8305391669273376, 0.37356996536254883, -0.3004753589630127, 0.8057025671005249, -1.0577670335769653, 0.508865475654602, 0.11980294436216354, -0.8570690751075745, 0.35921716690063477, -0.03279159963130951, 0.5075777769088745, 0.596137523651123, 0.6674143671989441, -0.23065711557865143, -0.3729446530342102, -0.32165709137916565, -0.5644846558570862, 0.7389078736305237, 0.04229232668876648, -0.0824408084154129, -0.04605444520711899, 0.18257085978984833, 0.1666886955499649, 0.2500135898590088, -0.5397030115127563, -0.12284106761217117, 0.29171282052993774, -0.04514923319220543, 0.10320203751325607, -0.3151305019855499, 0.024127164855599403, 0.2353644073009491, 0.7254381775856018, 0.009529347531497478, 0.19343630969524384, -0.14547476172447205, -0.027268875390291214, 0.020619984716176987, 0.16645930707454681, 0.9235365390777588, 0.7273053526878357, -0.23371976613998413, 0.04838284105062485, 0.31261178851127625, -0.2908969223499298, 0.025847312062978745, 0.4216715395450592, -0.34929677844047546, -0.204492449760437, 0.5734526515007019, 0.8979076743125916, 0.6097259521484375, -0.765252947807312, 0.49445652961730957, -0.05469081178307533, 0.08372797071933746, -0.36772841215133667, 0.3162246346473694, 0.1336253136396408, 0.539737343788147, 0.46394768357276917, 0.10044140368700027, 0.26418066024780273, -0.7208254337310791, 0.27739274501800537, 0.34706324338912964, -0.17611338198184967, -0.28499722480773926, 0.44657737016677856, -0.1260426640510559, -0.4538995027542114, 0.3802822530269623, -0.015343724749982357, -0.4096428453922272, 0.7548084259033203, 0.5615177154541016, 0.537237286567688, -0.29024890065193176, 0.026332151144742966, 0.36500224471092224, 0.38752812147140503, -0.6638201475143433, 0.28175729513168335, -0.2508576512336731, -0.44685840606689453, -0.5504737496376038, -0.3953077793121338, -0.7061699628829956, -0.038790322840213776, -0.662621259689331, 0.2553391456604004, -0.7265441417694092, -0.10308925807476044, 0.328085720539093, -0.053731970489025116, -0.7202211022377014, -0.04790849983692169, 0.3075332045555115, 1.1737074851989746, -0.5780837535858154, 0.7092685103416443, 0.5292778611183167, -0.23608262836933136, -0.6404712200164795, 0.024645023047924042, 0.31414109468460083, -1.0341472625732422, 0.5707727074623108, 0.6670772433280945, -0.4467642307281494, -0.14344848692417145, -0.380331814289093, -1.030073642730713, 1.107197880744934, 0.30734381079673767, -0.7846509218215942, -0.19416873157024384, -0.15145115554332733, 0.35312336683273315, -0.5402088761329651, 0.4760422110557556, 0.4869287312030792, 0.316711962223053, 0.28103014826774597, -0.8357112407684326, 0.10537794232368469, -0.10263275355100632, -0.02819647453725338, 0.07170871645212173, -0.9384931921958923, 0.5824682712554932, -0.36369195580482483, -0.27760249376296997, 0.5315059423446655, 0.7824561595916748, 0.4786504805088043, 0.34955257177352905, 0.6063233613967896, 0.31534892320632935, 0.9084686636924744, 0.04221642389893532, 0.9255090355873108, -0.48771870136260986, -0.02416052296757698, 1.6331158876419067, -0.7680087089538574, 1.2990976572036743, 0.2502347230911255, 0.034781984984874725, 0.5450214147567749, 0.3814508616924286, -0.19753076136112213, 0.562132716178894, 0.1470729112625122, -0.17897768318653107, -0.06847017258405685, 0.08010036498308182, -0.43593382835388184, 0.37419694662094116, 0.1778803914785385, -0.5785961747169495, -0.00015560592873953283, -0.0815221294760704, -0.02428857982158661, -0.07724262773990631, -0.3085569441318512, 0.715558648109436, -0.016475288197398186, -1.0374375581741333, 0.4422406852245331, -0.084560826420784, 0.18159250915050507, -0.6972131133079529, -0.407311350107193, -0.04953427240252495, 0.1742396354675293, 0.13935916125774384, -0.8998555541038513, 0.11207567155361176, 0.22140611708164215, -0.1368187665939331, -0.3535831868648529, 0.6435386538505554, -0.24174031615257263, -0.46920245885849, 0.5210500955581665, 0.21802949905395508, 0.29301875829696655, 0.40329042077064514, -0.7474170327186584, 0.6447368264198303, -0.09586697816848755, -0.38236692547798157, 0.0964113101363182, 0.31976747512817383, -0.10061201453208923, 0.8191185593605042, 0.401714950799942, -0.024419685825705528, 0.2614874839782715, 0.2140650451183319, 0.45678818225860596, -0.6351075768470764, -0.17621052265167236, -0.8916528820991516, 0.14237387478351593, -0.18006806075572968, -0.3485187590122223, 0.9486676454544067, 0.45481589436531067, 1.1190829277038574, 0.22718052566051483, 0.49115362763404846, 0.17412924766540527, 0.4077907204627991, -0.566746711730957, 0.2301183044910431, -0.371508926153183, 0.47246623039245605, -0.1729542762041092, -0.8010619878768921, 0.11255986988544464, 0.5040546655654907, -0.47952598333358765, 0.07249806076288223, 0.6746209263801575, 0.7949270009994507, -0.03209834173321724, 0.39291679859161377, 0.3230561316013336, 0.32189565896987915, -0.18925698101520538, 0.5994892120361328, 0.8432536125183105, -0.4022339880466461, 0.4576297700405121, -0.2553366422653198, -0.3249322772026062, -0.011851765215396881, -1.0147887468338013, -1.0308504104614258, -0.39787113666534424, -0.2504429817199707, -0.2384997010231018, 0.3183872699737549, 0.9585461020469666, 0.8322238326072693, -0.9806758761405945, -0.27392634749412537, -0.005755971185863018, 0.2514120042324066, -0.6134576797485352, -0.10224287211894989, 0.19133298099040985, -0.26101312041282654, -0.7838732004165649, 0.7418824434280396, 0.3983083665370941, 0.06521999835968018, -0.290704607963562, -0.03880646824836731, -0.3113250434398651, 0.1194281354546547, 0.552761971950531, 0.33336588740348816, -0.7620384097099304, -0.45604586601257324, 0.2677578032016754, -0.4044656455516815, -0.19083437323570251, 0.6090942025184631, -0.3694453537464142, 0.31948530673980713, 0.6577081084251404, 0.8647983074188232, 0.49865055084228516, -0.0225764699280262, 0.6401088833808899, -0.3854328691959381, -0.3624948263168335, -0.04923215135931969, 0.5171690583229065, 0.24122029542922974, -0.1953594833612442, 0.6154534220695496, 0.1029178574681282, -0.550723135471344, -0.9358969926834106, 0.03013252653181553, -0.7349529266357422, -0.05899694189429283, 0.9085618853569031, -0.6124597787857056, -0.3034592568874359, 0.22937573492527008, 0.19710446894168854, -0.12410563230514526, -0.28704649209976196, 0.26470044255256653, 1.0766476392745972, -0.174544095993042, -0.4935785233974457, -0.8112511038780212, 0.12288033217191696, 0.4654270112514496, -0.5005404949188232, 0.0962144061923027, 0.4497806131839752, 0.49277445673942566, 0.10818709433078766, 0.9231571555137634, -0.03572358191013336, 0.436372309923172, 0.1823357492685318, -0.5415257215499878, 0.03823971375823021, -0.6350938677787781, -0.23044618964195251, 0.35399314761161804, -0.05037092790007591, -0.17573809623718262 ]
http://arxiv.org/abs/2406.19995v1
http://arxiv.org/pdf/2406.19995v1
Single Parent Family: A Spectrum of Family Members from a Single Pre-Trained Foundation Model
2024-06-28T15:27:57
2024-06-28T15:27:57
Habib Hajimolahoseini, Mohammad Hassanpour, Foozhan Ataiefard, Boxing Chen, Yang Liu
cs.CL
cs.CL, cs.AI, cs.LG
This paper introduces a novel method of Progressive Low Rank Decomposition (PLRD) tailored for the compression of large language models. Our approach leverages a pre-trained model, which is then incrementally decompressed to smaller sizes using progressively lower ranks. This method allows for significant reductions in computational overhead and energy consumption, as subsequent models are derived from the original without the need for retraining from scratch. We detail the implementation of PLRD, which strategically decreases the tensor ranks, thus optimizing the trade-off between model performance and resource usage. The efficacy of PLRD is demonstrated through extensive experiments showing that models trained with PLRD method on only 1B tokens maintain comparable performance with traditionally trained models while using 0.1% of the tokens. The versatility of PLRD is highlighted by its ability to generate multiple model sizes from a single foundational model, adapting fluidly to varying computational and memory budgets. Our findings suggest that PLRD could set a new standard for the efficient scaling of LLMs, making advanced AI more feasible on diverse platforms.
[ -0.5231900811195374, -0.5549328923225403, -0.05393487587571144, 0.043829165399074554, -0.2705175280570984, 0.43083274364471436, -0.43328624963760376, 0.17875586450099945, 0.015406381338834763, 0.5559820532798767, -0.7196782827377319, -0.4279983639717102, -0.6496996879577637, -0.0838024839758873, -0.28371018171310425, 0.8135673403739929, 0.2523333728313446, -0.06893425434827805, -0.14590945839881897, -0.16682805120944977, 0.11493593454360962, -0.6647368669509888, -1.1025551557540894, -0.3533102571964264, 0.2878216803073883, 0.5192802548408508, 0.7800207734107971, 0.7802838087081909, 0.5894715785980225, 0.2906947433948517, -0.3606504797935486, -0.12277749925851822, -1.2163317203521729, 0.2854849100112915, 0.27502012252807617, -0.184382364153862, -0.7572072744369507, -0.021077243611216545, 0.9890872836112976, 1.1852480173110962, -0.17775341868400574, 0.4534919857978821, 0.10013896226882935, 0.8336079716682434, -0.5063883662223816, 0.03285740315914154, -0.3694717288017273, 0.1626618206501007, 0.007529923226684332, -0.198941171169281, -0.6269623041152954, -0.13886293768882751, -0.07625526189804077, -0.44347622990608215, 0.45788636803627014, -0.2565918564796448, 0.5479654669761658, 0.505593478679657, -0.21706584095954895, 0.11626619100570679, -0.6860949397087097, 0.7251604199409485, -0.3902389109134674, 0.5225152969360352, 0.17976117134094238, 0.07146637886762619, -0.19125759601593018, -0.9540813565254211, -0.38874614238739014, -0.1302601397037506, 0.0022282651625573635, -0.2683250904083252, -0.16400088369846344, 0.36108115315437317, 0.14642123878002167, 0.7634246349334717, -0.5495519638061523, 0.2845200300216675, -0.44540366530418396, -0.06843139976263046, 0.4263186752796173, 0.06434903293848038, 0.3158390522003174, 0.09183787554502487, -0.322803258895874, -0.011540970765054226, -1.1543083190917969, 0.06261418759822845, 0.5071029663085938, 0.48889172077178955, -0.20705914497375488, 0.4806441366672516, -0.1564016342163086, 0.5574761033058167, 0.09938079863786697, -0.5820809006690979, 0.04036545380949974, -0.43246394395828247, -0.17204654216766357, -0.07519324868917465, 0.6278518438339233, -0.09509579092264175, 0.20149631798267365, -0.21755686402320862, -0.05565304681658745, 0.33024752140045166, -0.09890644252300262, -1.0852729082107544, -0.43460890650749207, 0.015838511288166046, -0.8888464570045471, -0.41702428460121155, -0.37993955612182617, -0.9223951101303101, -0.4345478415489197, -0.20460282266139984, 0.15507502853870392, -0.2785666286945343, -0.46871498227119446, 0.15615469217300415, 0.04757493734359741, 0.17357192933559418, 0.25382038950920105, -0.8696706295013428, 0.5869243144989014, 0.7927955389022827, 0.8543047308921814, -0.1047540009021759, -0.1651133894920349, -0.7356177568435669, -0.07651275396347046, -0.13253174722194672, 0.408236026763916, -0.5510202646255493, -0.8426839709281921, -0.2714186906814575, -0.3834667205810547, -0.0937090590596199, -0.6309729814529419, 0.38368546962738037, -0.3211771249771118, 0.0364425852894783, 0.20720164477825165, -0.3144085109233856, 0.09143084287643433, 0.09347701072692871, -0.790155827999115, 0.9007596373558044, 0.36126992106437683, -0.7716814875602722, 0.10841924697160721, -0.7660317420959473, -0.6202142834663391, 0.13164761662483215, 0.02103479579091072, -0.5482266545295715, 0.31138625741004944, 0.1547323614358902, 0.4570147693157196, -0.3434385359287262, -0.003302603494375944, -0.23743879795074463, -0.31671783328056335, -0.4384739100933075, -0.2780809998512268, 0.9247546792030334, 0.22552958130836487, -0.13543322682380676, 0.08103761076927185, -0.90589839220047, -0.04688408225774765, 0.17269334197044373, -0.6597296595573425, -0.1422206312417984, -0.04160015285015106, -0.36334434151649475, 0.17224004864692688, 0.4090818464756012, -0.47703155875205994, 0.4808259904384613, -0.30626818537712097, 0.6490511894226074, 0.854120671749115, -0.016031986102461815, 0.7193065285682678, -0.2858712077140808, 0.8339524865150452, -0.26075616478919983, 0.29388362169265747, -0.1761741191148758, -0.29104864597320557, -1.1863629817962646, -0.7274178862571716, 0.5153287649154663, -0.02716306783258915, -0.5567429065704346, 0.45489028096199036, -0.8098510503768921, -0.13734962046146393, -0.7810675501823425, 0.22639350593090057, 0.4256492853164673, 0.4740402102470398, 0.30568835139274597, -0.29599377512931824, -0.5958247184753418, -0.9514193534851074, 0.35147854685783386, -0.21578645706176758, 0.19717484712600708, -0.19149033725261688, 0.4158227741718292, -0.0935378223657608, 0.9130310416221619, -0.40285399556159973, -0.15526360273361206, -0.5293167233467102, 0.4001964032649994, -0.03561437875032425, 0.7061884999275208, 0.10892884433269501, -0.7963281273841858, -0.2925926446914673, -0.050750140100717545, -0.415734201669693, 0.2678559720516205, 0.19628556072711945, -0.013062174431979656, 0.08033128082752228, 0.276837021112442, -0.38757938146591187, 0.37066611647605896, 0.8573290109634399, -0.2954387664794922, 0.3865440785884857, -0.2546887695789337, -0.2305021435022354, -0.8528099656105042, 0.1727427840232849, -0.25184082984924316, -0.37276673316955566, -0.748180627822876, 0.5209189057350159, -0.30166494846343994, -0.46548154950141907, -0.3167702853679657, 0.44941452145576477, -0.6852445602416992, -0.27863195538520813, -0.14279918372631073, -0.3295963704586029, -0.2780910134315491, 0.5893966555595398, -0.020935386419296265, 0.8921602964401245, 0.4976242184638977, -0.5298507809638977, -0.08814141899347305, 0.2165021151304245, -0.23652957379817963, 0.2201998084783554, -0.4406073987483978, 0.3207458257675171, -0.3249439597129822, 0.394016295671463, -0.9921501874923706, 0.04372971132397652, -0.12517713010311127, -0.20828406512737274, 0.5263815522193909, -0.33307570219039917, -0.7085629105567932, -0.34240251779556274, -0.5454399585723877, 0.493426114320755, 0.9417735934257507, -0.6233551502227783, 0.856797456741333, 0.5897254943847656, -0.3706672191619873, -0.48693040013313293, -0.559128999710083, -0.14398497343063354, -0.2573069930076599, -0.9030487537384033, 0.5350009202957153, -0.3950105309486389, -0.26430678367614746, 0.0297989659011364, -0.1544889360666275, -0.04024158790707588, 0.3815394639968872, 0.3334514796733856, 0.09198924899101257, -0.38633379340171814, -0.09580563753843307, -0.11949358880519867, -0.276296466588974, -0.4978317320346832, 0.13313597440719604, 0.9862979054450989, -0.2899186909198761, 0.10382939130067825, -0.40015506744384766, 0.45131784677505493, 0.8435831665992737, -0.3696114718914032, 0.8500720262527466, 0.32977691292762756, -0.318498432636261, -0.5456482172012329, -0.3982090353965759, -0.03209807351231575, -0.5064699053764343, 0.13445380330085754, -0.5761904716491699, -1.1559085845947266, 0.5270971655845642, -0.5316312313079834, 0.041363202035427094, 0.3456161320209503, 0.6867703199386597, 0.22840115427970886, 1.014352798461914, 1.213065505027771, -0.04085454344749451, 0.43486613035202026, -0.6853175163269043, 0.3267365097999573, -0.9116554856300354, -0.0025268178433179855, -0.5784800052642822, -0.5146054029464722, -0.4541284441947937, -0.5766756534576416, 0.49359118938446045, 0.28166234493255615, -0.5993384718894958, 0.11136382073163986, -0.8199852705001831, 0.5554506778717041, 0.4607216715812683, 0.04757276922464371, 0.5455642342567444, 0.035158246755599976, 0.08521679043769836, 0.37511441111564636, -0.8837645649909973, -0.32547950744628906, 1.1959433555603027, 0.5934237837791443, 0.6036644577980042, 0.05482776090502739, 1.0685142278671265, 0.11975257843732834, 0.7588372826576233, -0.8221071362495422, 0.7965385913848877, -0.6887044310569763, -0.3975549638271332, -0.33921489119529724, -0.770616888999939, -0.8806023001670837, 0.3777886927127838, 0.050362978130578995, -0.5607542395591736, 0.20116117596626282, -0.10102757066488266, -0.5195471048355103, 0.11565718054771423, -0.7303043603897095, 0.8057003617286682, -0.06888466328382492, -0.17373532056808472, -0.3909551203250885, -0.6209819316864014, 0.6265503764152527, -0.07519932836294174, 0.23927757143974304, -0.1296783685684204, -0.038462236523628235, 1.0112667083740234, -0.7966185808181763, 0.7380856871604919, -0.2869538366794586, 0.2177221029996872, 0.008028262294828892, 0.12118558585643768, 0.37934598326683044, -0.13226550817489624, -0.2898475229740143, 0.0189297366887331, -0.2955649793148041, -0.47662684321403503, -0.2845597267150879, 0.8402136564254761, -0.9880234003067017, -0.47828343510627747, -0.07651807367801666, -0.48722535371780396, -0.23146843910217285, 0.13998956978321075, 0.22986382246017456, 0.41322648525238037, -0.13462232053279877, 0.5657296180725098, 0.5802744626998901, -0.04363420233130455, 0.5598462820053101, 0.2789977788925171, -0.04610017314553261, -0.36424973607063293, 0.6278214454650879, 0.1846504956483841, 0.22172744572162628, 0.40190985798835754, 0.3267296254634857, -0.14645783603191376, -0.8606224060058594, 0.03799557685852051, 0.31443822383880615, -0.8624072670936584, -0.13462917506694794, -0.35595014691352844, -0.17328138649463654, -0.33496543765068054, -0.40518665313720703, -0.6860395669937134, -0.4956199526786804, -0.14061500132083893, -0.1703958809375763, -0.09923511743545532, 0.7203496694564819, 0.13255804777145386, 0.536316454410553, -0.3341352343559265, 0.542255163192749, 0.37779003381729126, 0.41606876254081726, -0.011549923568964005, -0.4121430516242981, 0.0664520412683487, -0.2541944682598114, -0.0809672623872757, -0.4414372444152832, 0.3494639992713928, 0.43172863125801086, 0.6681777238845825, 0.2105190008878708, 0.2248363047838211, 0.8843948245048523, -0.38421499729156494, 0.8759494423866272, 0.41478273272514343, -1.029791235923767, 0.23751844465732574, -0.1728464812040329, 0.3110736906528473, 0.9407148361206055, 0.2961770296096802, -0.03705286979675293, -0.05195757746696472, -0.6911594867706299, -0.9689207673072815, 0.6959819197654724, 0.016127387061715126, 0.08585666865110397, 0.2899054288864136, 0.19864994287490845, 0.26441654562950134, 0.22174151241779327, -0.8563339114189148, -0.4925519526004791, -0.07077641785144806, -0.3500247895717621, -0.09373824298381805, -0.4075848162174225, -0.21022680401802063, -0.5826272368431091, 0.6739363074302673, -0.08137758076190948, 0.367372065782547, -0.21698957681655884, -0.16151918470859528, -0.10094449669122696, 0.05315452069044113, 0.5947632193565369, 0.7514668703079224, -0.21434326469898224, 0.22897106409072876, -0.2620489299297333, -0.35925570130348206, 0.3328057825565338, 0.04516991227865219, 0.02259198948740959, -0.1554216742515564, 0.35956084728240967, 0.6876789331436157, 0.5305505394935608, -0.47817209362983704, 0.4825093150138855, -0.1982286423444748, -0.19290924072265625, -0.18620483577251434, -0.25144603848457336, 0.13634449243545532, -0.04864207282662392, 0.39582157135009766, 0.05030427500605583, -0.30805525183677673, -0.6368886232376099, 0.3560437262058258, 0.25893476605415344, 0.08955489844083786, -0.3710201382637024, 0.37042856216430664, 0.403768390417099, -0.4230916500091553, 0.8192539811134338, -0.186621755361557, -0.474769651889801, 0.4528418481349945, 0.3047959804534912, 0.8892572522163391, -0.3280603885650635, 0.31428614258766174, 0.19185303151607513, 0.16927014291286469, -0.31421300768852234, 0.009625912643969059, -0.17514386773109436, -0.7291720509529114, -0.519639253616333, -1.0339436531066895, -0.21934479475021362, 0.2997450530529022, -0.4143482744693756, 0.3232319951057434, -0.980610728263855, -0.060951925814151764, -0.022578181698918343, 0.08774204552173615, -0.7910071015357971, -0.17196638882160187, 0.3913952708244324, 0.766346275806427, -0.48527464270591736, 1.1435140371322632, 0.4561758041381836, -0.520383358001709, -0.8422799706459045, 0.057747237384319305, -0.13574355840682983, -0.7835409045219421, 1.0582847595214844, 0.08341102302074432, -0.34269970655441284, 0.5224626064300537, -0.3467291593551636, -0.787835419178009, 0.9992488026618958, 0.7133656740188599, -0.2009044885635376, -0.3362714350223541, -0.15751850605010986, 0.5309910774230957, -0.5553671717643738, -0.0022484678775072098, 0.5159485936164856, 0.4399327337741852, 0.15841516852378845, -0.9953455328941345, -0.04919951781630516, -0.2629944086074829, 0.07730639725923538, 0.3546716272830963, -0.6727609634399414, 1.3557685613632202, -0.044473178684711456, -0.5375245213508606, 0.26816070079803467, 0.3282940089702606, 0.22446636855602264, -0.09851569682359695, 0.5729211568832397, 0.7130881547927856, 0.6581357717514038, -0.012839002534747124, 1.0697453022003174, -0.7243707776069641, 0.6856124997138977, 0.8124744892120361, -0.2490731030702591, 1.0239232778549194, 0.4299677312374115, -0.3360130488872528, 0.6366060972213745, 0.40030840039253235, 0.38306209444999695, 0.682151734828949, 0.4978320002555847, -0.40804046392440796, -0.32716986536979675, -0.009629416279494762, -0.3329108655452728, 0.45221471786499023, 0.29308533668518066, -0.29959315061569214, -0.4875892698764801, 0.08479053527116776, 0.20641978085041046, 0.012898853048682213, -0.6218787431716919, 0.6632412075996399, 0.023543082177639008, -0.6413688063621521, 0.9944658279418945, 0.18517686426639557, 0.9796577095985413, -0.7223579287528992, 0.17270611226558685, -0.4569171369075775, 0.3482997715473175, -0.2057325392961502, -0.13893096148967743, -0.06104287877678871, -0.07848634570837021, -0.1928112506866455, -0.8168859481811523, 0.6145462393760681, -0.3597041368484497, -0.5308138728141785, 0.22999559342861176, 0.52350914478302, -0.030306637287139893, 0.14736054837703705, -0.6157328486442566, 0.38447174429893494, -0.05639909952878952, -0.40273186564445496, 0.5628478527069092, -0.05341285467147827, 0.1683981567621231, 0.8396003842353821, 0.713190495967865, 0.16296179592609406, 0.23840917646884918, -0.10974833369255066, 1.1365166902542114, -0.34052714705467224, -0.7492614388465881, -0.5709990859031677, 0.6383032202720642, 0.07942179590463638, -0.2273334562778473, 0.44676676392555237, 0.5841708183288574, 0.7532294988632202, 0.01069247629493475, 0.6616718173027039, -0.03043675608932972, 0.42713719606399536, -0.32461532950401306, 0.6284019947052002, -0.4821682572364807, 0.40730002522468567, 0.19578084349632263, -0.6109917759895325, -0.43131008744239807, 0.6809817552566528, -0.24700185656547546, -0.034859392791986465, 0.8300012946128845, 0.6510186791419983, 0.020982760936021805, -0.04534494876861572, 0.4236416518688202, 0.08336330950260162, 0.2623659074306488, 0.5585927367210388, 0.6099222898483276, -0.0915515348315239, 0.4836333692073822, -0.5276817679405212, -0.23645736277103424, -0.19694040715694427, -0.7322524785995483, -0.8579989075660706, -0.5155818462371826, -0.537950336933136, -0.03871006518602371, 0.07690442353487015, 0.8690477609634399, 1.0615321397781372, -0.5269471406936646, -0.3186686038970947, -0.21483775973320007, 0.163213849067688, -0.19287696480751038, -0.23463712632656097, 0.49249812960624695, -0.20233067870140076, -0.6623876690864563, 0.8309928178787231, 0.32164227962493896, -0.24729396402835846, -0.7640950679779053, -0.3723897635936737, -0.12369175255298615, -0.2923794388771057, 0.6702811121940613, 0.3372684121131897, -0.5625181198120117, -0.24523060023784637, -0.31382066011428833, -0.03999244049191475, 0.1822245568037033, 1.2242542505264282, -0.978259801864624, 0.3993878960609436, 0.7530107498168945, 0.6824606657028198, 0.6852430105209351, 0.2361505925655365, 0.5454246401786804, -1.0854177474975586, 0.432365357875824, 0.5896579027175903, 0.38476336002349854, 0.35416123270988464, -0.3622266948223114, 0.6213935613632202, 0.3050350844860077, -0.34603554010391235, -1.2125065326690674, 0.34309980273246765, -1.0347168445587158, -0.557689905166626, 1.13935387134552, -0.2441355139017105, -0.245810866355896, -0.083509162068367, 0.26848122477531433, 0.08089904487133026, -0.39086970686912537, 0.4722505509853363, 0.6223631501197815, -0.2553918957710266, -0.5385240912437439, -0.21284672617912292, 0.4362425208091736, 0.33886057138442993, -0.5449250936508179, 0.11862193048000336, 0.3059130609035492, 0.3152463138103485, 0.2822211682796478, 1.0224813222885132, -0.21466486155986786, 0.01639041304588318, 0.19121035933494568, 0.16891874372959137, -0.4406757950782776, -0.4438149631023407, -0.6632426381111145, 1.007598876953125, 0.19943594932556152, -0.10015282034873962 ]
http://arxiv.org/abs/2406.19967v1
http://arxiv.org/pdf/2406.19967v1
Into the Unknown: Generating Geospatial Descriptions for New Environments
2024-06-28T14:56:21
2024-06-28T14:56:21
Tzuf Paz-Argaman, John Palowitch, Sayali Kulkarni, Reut Tsarfaty, Jason Baldridge
cs.CL
cs.CL, cs.AI
Similar to vision-and-language navigation (VLN) tasks that focus on bridging the gap between vision and language for embodied navigation, the new Rendezvous (RVS) task requires reasoning over allocentric spatial relationships (independent of the observer's viewpoint) using non-sequential navigation instructions and maps. However, performance substantially drops in new environments with no training data. Using opensource descriptions paired with coordinates (e.g., Wikipedia) provides training data but suffers from limited spatially-oriented text resulting in low geolocation resolution. We propose a large-scale augmentation method for generating high-quality synthetic data for new environments using readily available geospatial data. Our method constructs a grounded knowledge-graph, capturing entity relationships. Sampled entities and relations (`shop north of school') generate navigation instructions via (i) generating numerous templates using context-free grammar (CFG) to embed specific entities and relations; (ii) feeding the entities and relation into a large language model (LLM) for instruction generation. A comprehensive evaluation on RVS, showed that our approach improves the 100-meter accuracy by 45.83% on unseen environments. Furthermore, we demonstrate that models trained with CFG-based augmentation achieve superior performance compared with those trained with LLM-based augmentation, both in unseen and seen environments. These findings suggest that the potential advantages of explicitly structuring spatial information for text-based geospatial reasoning in previously unknown, can unlock data-scarce scenarios.
[ -0.6022313833236694, -0.7313145995140076, 1.0329320430755615, 0.009297308512032032, -0.03339643031358719, -0.11945799738168716, -0.5101832151412964, -0.6176307201385498, 0.13150376081466675, 0.5392391681671143, -0.758079469203949, -0.7612396478652954, -0.2907894253730774, -0.09887421876192093, -0.3709385395050049, 0.6916822195053101, -0.1904212236404419, -0.4295121431350708, -0.4496944844722748, 0.06919938325881958, -0.5096338391304016, -0.5194393396377563, -0.1400160938501358, -0.09586307406425476, 0.23355548083782196, 0.5824140310287476, 0.7456988096237183, 0.7211787104606628, 0.26787805557250977, 0.34373313188552856, -0.02258279360830784, 0.6825544238090515, -0.48332279920578003, 0.052254658192396164, -0.4299483299255371, -0.057558491826057434, 0.010999152436852455, -0.17951291799545288, 0.8648746013641357, 0.8385040163993835, 0.2049623727798462, -0.0724225714802742, -0.06354019790887833, 0.35443806648254395, -0.7632155418395996, 0.37575024366378784, -0.4755193591117859, 0.06833130121231079, -0.006061697844415903, -0.3196779787540436, -0.2795998454093933, -0.022082846611738205, 0.6180547475814819, -1.1949446201324463, 0.3637421131134033, 0.3433012366294861, 0.76065993309021, 0.303054541349411, -0.17960193753242493, -0.09339773654937744, -0.9503394961357117, 0.5797957181930542, -0.30315011739730835, 0.48688873648643494, 0.2042088508605957, 0.33811768889427185, -0.3975977599620819, -0.7236312031745911, -0.7568449974060059, -0.245286226272583, -0.3436845541000366, 0.12893208861351013, 0.029194211587309837, -0.1321723759174347, 0.2581062912940979, 0.08689700812101364, -0.2810572683811188, -0.037432651966810226, -0.5152826905250549, 0.11065807193517685, 0.6333430409431458, 0.22402194142341614, 0.2279311567544937, -0.4910105764865875, -0.5097859501838684, -0.20489105582237244, -0.8559732437133789, 0.10446078330278397, 0.15816859900951385, 0.5386205911636353, -0.2112646847963333, 0.958312451839447, -0.37425535917282104, 0.7848102450370789, -0.11861526966094971, 0.11923331022262573, 0.21119335293769836, -0.3814583420753479, -0.07317619025707245, -0.04041358828544617, 0.4987219572067261, 0.4913264214992523, -0.155180424451828, -0.29163771867752075, -0.10606083273887634, -0.34683093428611755, 0.41416671872138977, -0.3270629644393921, -0.3816174864768982, -0.11109155416488647, -0.05230844393372536, -0.04220590740442276, 0.16086424887180328, -0.8013691902160645, -0.4110494554042816, -0.5545742511749268, 0.2832760810852051, -0.6014968752861023, -0.132575124502182, -0.05608236417174339, -0.10746573656797409, 0.2437126487493515, 0.5520133972167969, -0.4747016727924347, 0.06282032281160355, 0.4996832609176636, 0.6612275242805481, -0.06917405128479004, -0.617827832698822, -0.3709367513656616, 0.37192612886428833, -0.34735938906669617, 0.7068847417831421, -0.5429962873458862, -0.5982938408851624, -0.13891221582889557, 0.16907215118408203, 0.181358203291893, -0.14694368839263916, 0.3054821491241455, -0.24127981066703796, 0.3052854537963867, -0.30547407269477844, -0.25916987657546997, -0.16029803454875946, 0.20079104602336884, -0.5466046333312988, 1.2586721181869507, 0.34795621037483215, -0.5726842880249023, 0.28979170322418213, -0.7294223308563232, -0.3682073950767517, 0.32526037096977234, -0.23358099162578583, 0.01578504964709282, 0.07070062309503555, 0.5330438017845154, 0.02847910299897194, -0.02591494470834732, 0.004748845007270575, 0.16167618334293365, -0.5096697211265564, 0.2071334272623062, -0.11343668401241302, 0.23652851581573486, 0.008432322181761265, -0.4261327087879181, -0.17643874883651733, -0.5841729640960693, 0.1886281818151474, 0.006214592605829239, -0.3015349507331848, -0.3661433756351471, 0.1539003551006317, -0.0801178365945816, -0.07905344665050507, 0.4654763340950012, -0.6168386340141296, 0.12781332433223724, -0.7180769443511963, -0.03110475279390812, 0.6020464301109314, 0.0829443633556366, 0.9914779663085938, 0.025695310905575752, 0.40502679347991943, -0.21987155079841614, 0.04512893408536911, -0.5858184695243835, -0.47012752294540405, -0.7319456338882446, 0.04775496944785118, -0.11527060717344284, 0.4433795213699341, -0.9827157258987427, 0.3957832455635071, -0.7574427127838135, -0.5148491263389587, -0.08346070349216461, -0.17346389591693878, 0.2973710000514984, 0.6643415093421936, 0.6702232956886292, 0.15111300349235535, -0.8387434482574463, -0.5661512017250061, 0.007594958413392305, -0.01862800493836403, -0.1418062150478363, 0.5467861294746399, 0.24496051669120789, -0.2703793942928314, 1.0675137042999268, -0.6592662334442139, -0.12814423441886902, -0.11268113553524017, -0.17334923148155212, -0.0730343610048294, 0.4931076467037201, 0.341427743434906, -0.5826712846755981, -0.21473878622055054, 0.3486848473548889, -0.6680940389633179, 0.16752618551254272, -0.019130663946270943, -0.4168611168861389, 0.00023258848523255438, 0.582859992980957, -0.7694277167320251, 0.5736978054046631, 0.2930980920791626, -0.18178875744342804, 0.32988256216049194, -0.3316783010959625, 0.24507422745227814, -0.9307244420051575, 0.039077624678611755, 0.06577464938163757, 0.06603575497865677, -0.44134995341300964, 0.4308241605758667, -0.16540412604808807, -0.5170785784721375, -0.4430690109729767, 0.6042492389678955, -0.7325414419174194, -0.05784214660525322, -0.2204647660255432, 0.560084879398346, 0.0050629908218979836, 0.23826372623443604, 0.4262678325176239, 0.581329882144928, 0.5443764925003052, -0.42692071199417114, 0.4945083558559418, 0.6462444067001343, -0.30700647830963135, 0.3066180646419525, -0.2879085838794708, -0.054399456828832626, -0.4881895184516907, 0.42723211646080017, -0.8714514970779419, -0.5876147747039795, 0.1268557459115982, -0.6633895039558411, 0.04571900889277458, -0.4498489797115326, -0.33216702938079834, -0.45091772079467773, 0.18723686039447784, 0.35535138845443726, 0.5887005925178528, -0.8733136057853699, 0.6962809562683105, 0.23558726906776428, -0.07258860021829605, -0.5635959506034851, -0.6149251461029053, 0.21922187507152557, -0.06509901583194733, -0.41534751653671265, 0.3160811960697174, 0.2636104226112366, -0.09203896671533585, 0.24858208000659943, -0.12768693268299103, -0.11061778664588928, -0.1654626578092575, 0.6169545650482178, 0.5845409035682678, -0.07815202325582504, 0.16024598479270935, -0.056532230228185654, -0.07570795714855194, 0.214487686753273, -0.6142045259475708, 0.32065385580062866, 0.021954596042633057, -0.2730939984321594, -0.06191276013851166, 0.3881610035896301, 0.27122554183006287, -0.3594238758087158, 0.7602783441543579, 0.4137832224369049, -0.5137177109718323, -0.22966830432415009, -0.1968243420124054, 0.03275659307837486, -0.5080219507217407, 0.31562340259552, -0.27650874853134155, -0.8394013047218323, 0.10799165815114975, -0.3309764862060547, 0.1517893224954605, 0.217939093708992, 0.009489019401371479, -0.04812682420015335, 0.49552232027053833, 0.710442841053009, 0.3198958933353424, 0.2936730980873108, -0.22380231320858002, 0.7601097822189331, -0.7151742577552795, -0.7240675091743469, -0.24178490042686462, -0.2728320360183716, -0.6390461921691895, -0.8869050741195679, 0.8050444722175598, -0.07054799795150757, -0.2559297978878021, 0.4200041592121124, -0.7424894571304321, 0.8161383867263794, 0.588675320148468, 0.14643312990665436, 0.025857457891106606, 0.42289239168167114, -0.05401449277997017, -0.27471327781677246, -0.6376274824142456, -0.3740292489528656, 1.2052123546600342, -0.06804033368825912, 0.7498529553413391, 0.03528290614485741, 0.6628305315971375, -0.09356711059808731, 0.1623060405254364, -0.42292213439941406, 0.4967348575592041, 0.19821302592754364, -0.2445605844259262, -0.457072377204895, -0.42489075660705566, -0.8628078103065491, 0.1534709930419922, -0.749197244644165, -0.8700273633003235, 0.005257822573184967, 0.14313672482967377, -0.5928467512130737, 0.29305294156074524, -0.6830916404724121, 0.5216680765151978, -0.19303254783153534, -0.4621628522872925, 0.20586231350898743, -0.7532379627227783, 0.3310620188713074, 0.09451880306005478, 0.1681278645992279, 0.15119311213493347, -0.0704173594713211, -0.005458509083837271, -0.2325078248977661, 0.5513437390327454, -0.3619959056377411, -0.07325451076030731, 0.4171361029148102, 0.05445506423711777, 0.6268896460533142, 0.2778538167476654, 0.16429603099822998, 0.03196977823972702, -0.3895481824874878, -0.15053750574588776, -0.7739207148551941, 1.1082123517990112, -0.7088863849639893, -0.4710606634616852, -0.12100491672754288, -0.7125544548034668, -0.2062295824289322, 0.11644235253334045, 0.43593502044677734, 0.39760130643844604, -0.2286360114812851, -0.10203016549348831, 0.7786005735397339, -0.7056248784065247, 0.09002603590488434, 0.4709816575050354, -0.11489960551261902, -0.35823506116867065, 0.8071939945220947, -0.05237267538905144, -0.06487404555082321, 0.6167386770248413, -0.24381476640701294, -0.6998993754386902, -0.3408477306365967, -0.4789411723613739, 0.01926785707473755, -0.6376355886459351, -0.266630083322525, -0.6877812743186951, -0.3955304026603699, -0.3185974359512329, -0.5367039442062378, -0.3302757143974304, -0.540847897529602, -0.10892648249864578, -0.23043519258499146, 0.36849385499954224, 0.8363284468650818, -0.24575822055339813, 0.47316959500312805, -0.674250602722168, 0.1566513329744339, -0.18305514752864838, 0.03706081584095955, -0.07227422297000885, -0.16232001781463623, -0.4701855778694153, 0.3321315050125122, -0.016107141971588135, -0.6138688921928406, 0.3739296495914459, -0.182373046875, 0.5393142700195312, 0.04123373702168465, 0.13952766358852386, 0.8539111614227295, -0.6505962014198303, 0.9134814739227295, 0.19492678344249725, -0.7572822570800781, 0.8711679577827454, -0.3403431177139282, 0.24627874791622162, 0.16603785753250122, 0.2996828556060791, -0.2997171878814697, -0.3607698380947113, -0.6384250521659851, -1.1410104036331177, 0.5168232321739197, 0.18227609992027283, 0.2087445706129074, -0.07913333922624588, 0.6414727568626404, -0.12396655976772308, 0.16094276309013367, -0.7444571256637573, -0.16544152796268463, -0.2106800079345703, -0.05900055170059204, -0.27417969703674316, -0.055655792355537415, -0.3667178750038147, -0.4018630385398865, 0.36394789814949036, -0.09141577035188675, 0.38066500425338745, 0.38081324100494385, -0.12367255240678787, -0.06440722197294235, 0.07147019356489182, 0.21372072398662567, 0.6361855864524841, 0.2410135120153427, 0.360183984041214, 0.29289913177490234, -0.1376221477985382, 0.20734341442584991, 0.41815102100372314, -0.27105361223220825, 0.07566942274570465, 0.439515084028244, 0.713453471660614, 0.38200443983078003, -0.865326464176178, 0.6086022853851318, 0.2603358328342438, 0.06230565905570984, -0.6269060373306274, 0.14276036620140076, -0.01832708716392517, 0.2938605844974518, 0.2547702491283417, 0.1792949140071869, 0.09712059050798416, -0.2544732391834259, 0.1406651735305786, 0.39011403918266296, -0.11160194128751755, -0.05780601501464844, 0.7525174617767334, 0.12921454012393951, 0.0815143957734108, 0.8383574485778809, -0.268909752368927, -0.20336724817752838, 0.3419267237186432, 0.4125303626060486, 0.314559668302536, -0.13062311708927155, 0.22354020178318024, 0.756197452545166, 0.5638703107833862, 0.10059081017971039, 0.09314839541912079, -0.2631736695766449, -0.517414391040802, -0.5732991695404053, -0.5041314959526062, -0.18772713840007782, 0.003590137232095003, -0.5766662955284119, 0.17662878334522247, -0.5293726921081543, 0.07882391661405563, -0.45582830905914307, -0.27139368653297424, -0.7825201153755188, 0.2964003086090088, 0.20352458953857422, 0.7321581244468689, -0.6752623319625854, 0.20553407073020935, 0.9329174757003784, -0.12380687892436981, -0.8039441108703613, 0.08859999477863312, -0.20209327340126038, -0.5559637546539307, 0.3815786838531494, 0.13620002567768097, -0.054346002638339996, -0.09616362303495407, -0.6834970712661743, -1.1415164470672607, 1.072164535522461, 0.20800991356372833, -0.39421242475509644, -0.32825565338134766, 0.3514198064804077, 0.5459226369857788, -0.34969252347946167, -0.11682754755020142, 0.5096772909164429, 0.5265772938728333, 0.09685054421424866, -0.5881261229515076, 0.15387053787708282, -0.29751643538475037, 0.13543613255023956, 0.27116623520851135, -0.1367049366235733, 0.6950093507766724, -0.609910786151886, -0.5215939283370972, 0.3988412022590637, 0.5626701712608337, 0.2719687819480896, 0.1578856110572815, 0.3216552436351776, 0.8314603567123413, 0.6995888948440552, -0.42035096883773804, 1.0177596807479858, -0.18609990179538727, 0.04914503172039986, 1.4701882600784302, -0.12227924168109894, 0.7284335494041443, 0.31108397245407104, 0.15598200261592865, 0.6891405582427979, 0.5638784766197205, 0.07507184892892838, 0.6824718117713928, 0.09385618567466736, -0.5530199408531189, -0.1646292358636856, -0.08280172944068909, -0.4809623658657074, 0.4254513680934906, 0.4946914613246918, -0.32243722677230835, -0.4596393406391144, 0.0833706334233284, -0.23169568181037903, 0.28443488478660583, -0.15407080948352814, 0.5862232446670532, -0.3722672462463379, -0.7956308126449585, 0.43196091055870056, 0.10631133615970612, 0.12349317967891693, -0.5256487727165222, -0.3365612328052521, -0.0480731725692749, -0.14690804481506348, -0.2143847942352295, -0.97478187084198, 0.13087567687034607, -0.00877952016890049, -0.029576223343610764, -0.11757257580757141, 0.43311837315559387, -0.6030108332633972, -0.33103764057159424, 0.029141422361135483, 0.6349632740020752, 0.03903168812394142, -0.014503533951938152, -0.014376441948115826, -0.08261758834123611, -0.05534278228878975, 0.16915000975131989, -0.06487830728292465, 0.7683624625205994, 0.0180630125105381, 0.6225622892379761, 0.7703975439071655, 0.04436473175883293, 0.33001944422721863, -0.4279124438762665, 1.0969699621200562, -0.6317189931869507, -0.7741501927375793, -0.3619931936264038, 0.5787699222564697, -0.17504359781742096, -0.05349172651767731, 0.9591799974441528, 0.7231005430221558, 0.9494016766548157, -0.08735532313585281, 1.0325473546981812, -0.14883162081241608, 0.3051370680332184, -0.6064842939376831, 0.2986239492893219, -0.32373175024986267, 0.18315210938453674, -0.24883203208446503, -0.9804764986038208, -0.030783604830503464, 0.6496105194091797, -0.3977473974227905, -0.1506117582321167, 0.6816738247871399, 0.8340319395065308, -0.318671315908432, -0.13178189098834991, 0.03253019228577614, -0.07823512703180313, 0.0806138664484024, 0.6598777174949646, 1.256576657295227, -0.21811866760253906, 0.5283673405647278, -0.21296438574790955, -0.2202387899160385, 0.2080637812614441, -0.6003177762031555, -0.5271926522254944, -0.6156923770904541, 0.08866546303033829, -0.4287097454071045, 0.038429077714681625, 0.5916720628738403, 0.7618881464004517, -0.25594770908355713, 0.16484224796295166, -0.31330665946006775, -0.05390465632081032, 0.10435041785240173, -0.28891485929489136, 0.06846886873245239, -0.23840731382369995, -0.8831650018692017, 0.9363725781440735, 0.27856603264808655, 0.3702540099620819, -0.35629358887672424, -0.19992530345916748, 0.2069292515516281, -0.16108833253383636, 0.6005382537841797, 0.359319806098938, -0.6466752886772156, -0.36635878682136536, 0.02166418358683586, 0.28426995873451233, -0.11411090940237045, 0.8485995531082153, -0.9481799602508545, 0.5390238761901855, 0.05208981782197952, 0.6774604916572571, 0.5744960904121399, 0.29769474267959595, 0.6175879240036011, -1.1886111497879028, 0.43785619735717773, -0.03720102459192276, 0.2754132151603699, 0.6385523676872253, -0.6240420937538147, 0.4809779226779938, -0.019387179985642433, -0.314937949180603, -0.5765225887298584, 0.3151630461215973, -0.6365828514099121, -0.17369648814201355, 1.196499228477478, -0.17954911291599274, -0.30462780594825745, 0.17687445878982544, -0.3068176507949829, 0.0256863534450531, -0.13750667870044708, 0.5741459131240845, 0.36338889598846436, -0.12553901970386505, -0.12517446279525757, -0.41258925199508667, 0.508266270160675, -0.16696307063102722, -0.878619909286499, 0.035685598850250244, 1.1312180757522583, 0.15807726979255676, 0.39504408836364746, 0.3373554050922394, -0.07948344945907593, 0.2085452824831009, 0.16061531007289886, -0.028005585074424744, -0.19042260944843292, -0.6165728569030762, 0.22699083387851715, 0.04375611990690231, -0.11840818077325821, -0.229024738073349 ]
http://arxiv.org/abs/2406.19966v1
http://arxiv.org/pdf/2406.19966v1
Simulating Financial Market via Large Language Model based Agents
2024-06-28T14:54:12
2024-06-28T14:54:12
Shen Gao, Yuntao Wen, Minghang Zhu, Jianing Wei, Yuhan Cheng, Qunzi Zhang, Shuo Shang
cs.CL
cs.CL
Most economic theories typically assume that financial market participants are fully rational individuals and use mathematical models to simulate human behavior in financial markets. However, human behavior is often not entirely rational and is challenging to predict accurately with mathematical models. In this paper, we propose \textbf{A}gent-based \textbf{S}imulated \textbf{F}inancial \textbf{M}arket (ASFM), which first constructs a simulated stock market with a real order matching system. Then, we propose a large language model based agent as the stock trader, which contains the profile, observation, and tool-learning based action module. The trading agent can comprehensively understand current market dynamics and financial policy information, and make decisions that align with their trading strategy. In the experiments, we first verify that the reactions of our ASFM are consistent with the real stock market in two controllable scenarios. In addition, we also conduct experiments in two popular economics research directions, and we find that conclusions drawn in our \model align with the preliminary findings in economics research. Based on these observations, we believe our proposed ASFM provides a new paradigm for economic research.
[ -0.0482633113861084, -1.0987130403518677, 0.1646888554096222, 0.3686378002166748, -0.026484252884984016, 0.30151695013046265, -0.18842683732509613, -0.5243905782699585, 0.5900940299034119, 0.48466694355010986, -0.33050641417503357, -0.23155708611011505, -0.08279366791248322, -0.013654237613081932, -0.5205941796302795, 0.47821247577667236, 0.0071981907822191715, 0.207407146692276, 0.1635291874408722, 0.32602354884147644, -0.05397830531001091, -0.7322748899459839, -1.3043982982635498, -0.43122342228889465, -0.0622764490544796, 0.10690797120332718, 0.823084831237793, 0.5555062294006348, 0.4946676194667816, 0.43199992179870605, 0.349258154630661, -0.28067874908447266, -0.21759141981601715, 0.03143329173326492, -0.22673502564430237, -0.35258594155311584, -0.5442541837692261, 0.37432339787483215, 0.5466353893280029, 0.33004435896873474, -0.5873086452484131, -0.012534813024103642, -0.03790402039885521, 0.3266041874885559, -0.18765176832675934, 0.5761978030204773, -0.24370786547660828, -0.04475770145654678, -0.025363748893141747, -0.3394675552845001, -0.63448166847229, -0.13354180753231049, 0.3211073875427246, -0.724322497844696, -0.1763695925474167, 0.4620862603187561, 0.9510969519615173, -0.25786447525024414, -0.675559401512146, -0.2897428274154663, -0.9418961405754089, 0.7515974044799805, -0.8088211417198181, 0.3424927592277527, 0.4662413001060486, 0.7244232892990112, -0.20221532881259918, -0.5241689085960388, -0.41999197006225586, -0.5480634570121765, 0.0843215063214302, -0.050780173391103745, -0.1937248855829239, 0.08353309333324432, 0.2936194837093353, 0.14558249711990356, -0.10987333208322525, -0.035952381789684296, -0.37592044472694397, 0.05083884671330452, 0.8086500763893127, 0.2754650115966797, 0.09051483869552612, 0.027953708544373512, -0.7923576831817627, -0.49888843297958374, -0.6413358449935913, 0.049960117787122726, 0.7614616751670837, 0.4905954897403717, -0.036502473056316376, 0.6963110566139221, -0.15639758110046387, 0.20575597882270813, -0.07298629730939865, -0.13294513523578644, 0.1784915328025818, 0.05456092953681946, -0.4723379909992218, 0.0645158663392067, 0.6757007241249084, 0.40210533142089844, 0.44214770197868347, 0.04259803891181946, -0.49864301085472107, -0.14328637719154358, 0.34762483835220337, -0.7349581718444824, -0.06603183597326279, -0.0261765755712986, -0.6945710778236389, -0.317627876996994, 0.12945903837680817, -0.9119163155555725, -0.14789752662181854, -0.568721354007721, 0.7104598879814148, -0.515681803226471, -0.3648545742034912, 0.08729910850524902, 0.02725391834974289, 0.5816149711608887, 0.2563660442829132, -0.9318404793739319, 0.5959240198135376, 0.7646029591560364, 0.5691388845443726, 0.2895359694957733, -0.45476609468460083, -0.4053201675415039, 0.3089498281478882, -0.25641289353370667, 0.8721204400062561, -0.5557371377944946, -0.3587002754211426, 0.09087172895669937, -0.20721545815467834, -0.22258569300174713, -0.2101271152496338, -0.16651739180088043, -0.6932002305984497, 0.02450837753713131, -0.3637099266052246, -0.8268338441848755, -0.38199278712272644, 0.47626692056655884, -0.49392518401145935, 0.560059666633606, 0.013110306113958359, -0.4954870939254761, 0.29241156578063965, -1.28460693359375, -0.3794553875923157, 0.0292267594486475, -0.2454289346933365, -0.1706475168466568, -0.4779127240180969, -0.28756681084632874, 0.2742788791656494, -0.5523694753646851, 0.08827026933431625, -0.4784868657588959, -0.47343865036964417, 0.9079724550247192, -0.7097119688987732, 0.4342553913593292, 0.266755074262619, -0.5003068447113037, 0.1543700248003006, -0.5645691752433777, -0.2781429886817932, 0.3092096447944641, -0.03916784003376961, -0.447963148355484, 0.3403775990009308, 0.36238569021224976, -0.13486558198928833, 0.2242857813835144, -0.6149657368659973, 0.4474840462207794, -0.39215633273124695, 0.5473307371139526, 0.9705766439437866, -0.009655449539422989, 0.5026740431785583, -0.5997668504714966, 0.825598418712616, -0.37175068259239197, 0.1159522533416748, 0.10120829939842224, -0.1980854719877243, -0.373169481754303, -0.3830808997154236, 0.5115691423416138, 0.7681071162223816, -0.523476779460907, 0.05023728311061859, 0.09981292486190796, -0.12335126101970673, -0.09282658249139786, -0.2590748965740204, 0.06490959972143173, -0.021390601992607117, 0.1298942267894745, -0.13024483621120453, -0.505535900592804, -1.057058334350586, -0.21391639113426208, -0.15847399830818176, -0.1444648653268814, 0.15798962116241455, 0.25436270236968994, -0.3314553499221802, 0.9806674122810364, -0.7325067520141602, -0.08349645137786865, -0.20323976874351501, 0.21513012051582336, 0.021882595494389534, 0.49651244282722473, 0.814998209476471, -0.5844654440879822, -0.3238961696624756, 0.2579735517501831, -0.589959979057312, 0.3241140842437744, -0.3364146053791046, -0.3276297152042389, 0.24786709249019623, 0.9281275272369385, -0.47814327478408813, 0.4767833948135376, 0.1875135898590088, -0.6738877296447754, 0.467275470495224, -0.4890139400959015, 0.19535663723945618, -1.3133220672607422, 0.2958429157733917, 0.22410888969898224, -0.15513257682323456, -0.519666850566864, 0.17656536400318146, -0.16730357706546783, -0.11812204122543335, -0.061702556908130646, 0.8514779210090637, -0.2911214232444763, -0.1969843953847885, -0.4646669030189514, -0.258463978767395, -0.4648693799972534, 0.4017467498779297, -0.12468113005161285, 0.9185037016868591, 0.43862318992614746, -0.26227930188179016, 0.24100911617279053, 0.25532588362693787, -0.2418128401041031, 0.5627298951148987, -0.6311378479003906, -0.28735971450805664, -0.026607157662510872, 0.1331922560930252, -0.8502359390258789, -0.20031026005744934, 0.44030749797821045, -0.17057645320892334, 0.2201443463563919, 0.10085111856460571, -0.5440347790718079, -0.3347585201263428, 0.0021369527094066143, 0.2817556858062744, 0.5654996633529663, -0.18989333510398865, 0.9402529001235962, 0.15418080985546112, -0.4788568913936615, -0.6809589266777039, -0.41812968254089355, 0.0853605791926384, -0.2395499348640442, -0.5679553151130676, -0.22039683163166046, -0.1732235997915268, -0.6949717402458191, -0.1442471444606781, 0.06137143820524216, 0.01431567408144474, 0.2810664772987366, 0.03550182282924652, 0.6973416805267334, -0.45101457834243774, 0.0021425678860396147, -0.0649675726890564, -0.3554098904132843, 0.24972157180309296, -0.161101832985878, 0.4831118583679199, -0.21902406215667725, -0.3950939476490021, -0.3837810456752777, 0.386488676071167, 0.7302178740501404, -0.1808396875858307, 0.7213649749755859, -0.04052596166729927, -0.3080688416957855, -0.30473995208740234, -0.45474517345428467, -0.39968791604042053, -0.5759774446487427, 0.0925663486123085, -0.484790176153183, -0.7488883137702942, 0.9302163124084473, -0.09654989093542099, 0.2853987216949463, 0.3279331922531128, 0.5225781798362732, 0.0007855797884985805, 0.7916302680969238, 0.6120030283927917, 0.08139212429523468, 0.6736230254173279, -0.22988158464431763, 0.3826321065425873, -0.19901986420154572, 0.06259050220251083, -0.24842742085456848, -0.5454562306404114, -0.17304494976997375, -0.4721912443637848, 0.03544475883245468, -0.1308235228061676, -0.5186553597450256, 0.28150951862335205, 0.12760329246520996, 0.6068174839019775, 0.7068432569503784, -0.013895564712584019, 0.2396751046180725, 0.031047629192471504, -0.45069870352745056, 0.20548921823501587, -0.46951618790626526, -0.598942756652832, 1.218648076057434, 0.45845115184783936, 1.0059915781021118, -0.10825474560260773, 0.36463087797164917, 0.3853895366191864, 0.7332423329353333, -0.5668032765388489, 0.5280748605728149, -0.004483610391616821, -0.5893600583076477, -0.36609509587287903, -0.5133800506591797, -0.8097916841506958, 0.1251920610666275, -0.380403995513916, -0.38585495948791504, 0.2535113990306854, 0.20311591029167175, -0.6249927878379822, 0.1589876413345337, -0.6652839183807373, 0.8712440729141235, -0.07231681793928146, -0.1625475287437439, -0.21483367681503296, -0.41438618302345276, 0.33237725496292114, -0.0916740745306015, 0.3992421627044678, -0.23347234725952148, 0.19763709604740143, 0.4614664614200592, -0.5687546133995056, 0.8989278674125671, -0.16841647028923035, -0.3014756441116333, 0.3706292510032654, 0.18442879617214203, 0.8493989706039429, 0.07051166892051697, -0.09630094468593597, -0.19708865880966187, 0.03233290836215019, -0.5892265439033508, -0.40513813495635986, 0.4876195192337036, -0.689229428768158, -0.3567495048046112, -0.4095478355884552, -0.5962087512016296, -0.08068996667861938, 0.03792804479598999, -0.25655531883239746, 0.15907570719718933, -0.5147137641906738, 0.07877036184072495, 0.04958334565162659, 0.09483499825000763, 0.22177407145500183, 0.9340821504592896, -0.589261531829834, -0.24437080323696136, 0.8715014457702637, 0.0014190211659297347, 0.14096595346927643, 0.2984989583492279, 0.1996915340423584, -0.3635464608669281, -0.06521707028150558, -0.2615165114402771, 0.24351033568382263, -0.4938312768936157, -0.14147233963012695, -0.4396783411502838, -0.23464487493038177, -0.38356536626815796, -0.5437563061714172, -0.4736117124557495, 0.01775026135146618, -0.0018487306078895926, -0.30765867233276367, 0.5979810357093811, 0.6468634009361267, -0.2938452959060669, 0.41155076026916504, -0.6518771052360535, 0.16651520133018494, 0.6802948713302612, 0.5230822563171387, 0.32023385167121887, -0.11890672147274017, -0.3327248990535736, 0.46493855118751526, 0.08189459890127182, -0.5778989195823669, 0.5277532339096069, -0.10094404220581055, 0.6025100946426392, 0.8392511606216431, 0.11797581613063812, 0.4978439509868622, -0.17783966660499573, 0.12686792016029358, -0.10494314134120941, -0.9776694178581238, 0.09420424699783325, -0.6194068193435669, -0.26424771547317505, 0.410321980714798, 0.029610196128487587, -0.7858425974845886, -0.529901385307312, -0.6206603646278381, -0.8409497737884521, 0.7665496468544006, 0.23658010363578796, 0.1571364551782608, -0.20848025381565094, 0.3816266357898712, 0.23602394759655, 0.5321863293647766, -0.5473544597625732, -0.15599872171878815, -0.13331566751003265, -0.10393866896629333, -0.17395780980587006, -0.1391558051109314, 0.03497058525681496, -0.05899633467197418, 0.7017174363136292, -0.29180771112442017, 0.34034696221351624, -0.10248473286628723, 0.21263615787029266, -0.34169983863830566, 0.02586648426949978, 0.5475702881813049, 0.5433303117752075, -0.43108662962913513, -0.02154073305428028, -0.036038391292095184, -0.19921894371509552, 0.324709415435791, 0.29214149713516235, -0.25942277908325195, -0.41569605469703674, -0.03808943182229996, 0.5352239012718201, 0.6245540976524353, -1.2271113395690918, 0.6779524087905884, -0.08358125388622284, -0.6327866315841675, -0.7232064604759216, -0.027937203645706177, 0.2443222999572754, 0.9835733771324158, 0.5491529703140259, 0.3377769887447357, 0.14335046708583832, -0.8277417421340942, 0.4934477210044861, 0.4911305904388428, -0.13821321725845337, -0.2771179974079132, 0.9492279291152954, 0.17353646457195282, -0.3481997549533844, 0.7038284540176392, -0.3340453803539276, -0.4623095989227295, 0.8285025358200073, 0.6919594407081604, 0.855582058429718, -0.30685654282569885, 0.22899411618709564, 0.05783091485500336, 0.3880041539669037, -0.7672609686851501, 0.6890426278114319, 0.2351251095533371, -0.7792454361915588, -0.6078670620918274, -0.764183759689331, -0.5810083746910095, -0.13584765791893005, -0.5537016987800598, 0.28383007645606995, -0.6693542003631592, -0.029676273465156555, 0.09887755662202835, -0.05624759942293167, -0.41423940658569336, -0.18735118210315704, 0.1157350018620491, 1.011558175086975, -0.8962661623954773, 0.8376681208610535, 0.9452739953994751, -0.25132009387016296, -0.6038305759429932, -0.028831113129854202, -0.07154632359743118, -1.0129849910736084, 0.28962260484695435, 0.027986153960227966, 0.05445126071572304, 0.010443786159157753, -0.5735101103782654, -0.8929300308227539, 1.0876621007919312, 0.4282405972480774, -0.4617139399051666, 0.051933348178863525, -0.1439303755760193, 0.5181778073310852, -0.6510051488876343, 0.009259975515305996, 0.4341284930706024, 0.6465548276901245, 0.6199052929878235, -0.7272273898124695, -0.14443786442279816, -0.5529501438140869, -0.16137059032917023, 0.4740884602069855, -0.797688364982605, 1.1483030319213867, -0.04056249186396599, -0.23942823708057404, 0.29371339082717896, 0.7612196803092957, 0.22370187938213348, 0.5094841718673706, 0.5600744485855103, 0.24047069251537323, 0.46196773648262024, 0.3071210980415344, 0.9284043312072754, -0.5809884071350098, 0.6698105335235596, 0.9020465612411499, -0.6260139346122742, 1.1448819637298584, 0.049660585820674896, -0.21940018236637115, 0.38178709149360657, 0.48425257205963135, -0.19538705050945282, 0.036426011472940445, 0.29409825801849365, -0.2807304263114929, -0.46728774905204773, 0.339296817779541, -0.17230744659900665, 0.584826648235321, 0.2319958359003067, -0.3087400794029236, -0.11179113388061523, 0.19682614505290985, -0.07873781025409698, 0.19464708864688873, -0.17398549616336823, 0.47246965765953064, 0.09951657801866531, 0.0033220669720321894, -0.1346045732498169, 0.3063495457172394, 0.5874917507171631, -0.8048231601715088, -0.0010583787225186825, -0.07458073645830154, 0.17358408868312836, 0.5522545576095581, -0.2550467848777771, 0.3010212481021881, -0.31312263011932373, -0.05802110210061073, -0.4603181779384613, 0.6339747905731201, -0.6620587706565857, -0.6748039722442627, 0.2545511722564697, 0.4747573733329773, 0.07708178460597992, -0.1930253803730011, -0.49164876341819763, -0.49281296133995056, -0.09544000774621964, -0.5167730450630188, 0.44419118762016296, 0.5465359091758728, -0.08241834491491318, 0.7657090425491333, 1.0106135606765747, -0.3740999102592468, -0.31933271884918213, -0.43719083070755005, 0.4373391568660736, -1.1238102912902832, -1.1146230697631836, -0.7577178478240967, -0.08452547341585159, -0.093698650598526, 0.017240701243281364, 0.4795200824737549, 0.6850648522377014, 0.41621750593185425, -0.2352500855922699, 0.7378069162368774, 0.3189231753349304, 0.4272720515727997, -0.40137773752212524, 1.0022050142288208, -0.4207721948623657, 0.24939624965190887, -0.13945022225379944, -0.9928839802742004, 0.004225633107125759, 0.9617995023727417, -0.2834014296531677, -0.06349806487560272, 0.49912741780281067, 0.6155548691749573, -0.20945532619953156, 0.455853134393692, 0.3045894205570221, 0.566882312297821, -0.024149078875780106, -0.049763355404138565, 0.6286197304725647, -0.29341650009155273, 0.29852432012557983, -0.050592198967933655, -0.13208529353141785, -0.7669134140014648, -0.649017870426178, -0.8649083971977234, -0.3019630014896393, -0.14324194192886353, -0.1710698902606964, -0.20254594087600708, 1.6939252614974976, 0.2358095943927765, -0.5488513708114624, -0.8419502973556519, 0.30878227949142456, -0.24772928655147552, -0.5339813232421875, -0.24637006223201752, 0.22679796814918518, -0.13200333714485168, -0.6552896499633789, 0.4467601478099823, 0.43992334604263306, 0.7716595530509949, -0.2654106318950653, -0.07095351070165634, -0.11195306479930878, 0.6585233807563782, 0.7659366130828857, 0.34381404519081116, -0.1628493219614029, -0.31729856133461, 0.16062365472316742, -0.15206603705883026, -0.14770789444446564, 0.9864047765731812, -0.400567889213562, 0.12263517081737518, 0.04460395127534866, 0.4460054039955139, 0.2497727870941162, 0.15654566884040833, 1.075294017791748, -0.2875564694404602, 0.3445875942707062, -0.02971564792096615, 0.2702726721763611, -0.3965984880924225, -0.31895673274993896, 0.2916305959224701, 0.1814960092306137, -0.3884199261665344, -0.48594170808792114, -0.025196289643645287, -0.9603710770606995, -0.479811429977417, 0.8881798982620239, 0.017377225682139397, -0.5146800875663757, 0.04075665771961212, -0.26376208662986755, -0.16709518432617188, -0.7540459632873535, 0.9148366451263428, 0.6269949674606323, 0.21079285442829132, 0.09049887210130692, -0.799819827079773, 0.2506665587425232, 0.20125417411327362, -0.5239025354385376, 0.37651774287223816, 0.30878740549087524, 0.21269623935222626, -0.1503594070672989, 0.8402902483940125, 0.32392892241477966, 0.45516327023506165, 0.46847423911094666, 0.23916050791740417, -0.0749356746673584, 0.019190317019820213, 0.10158879309892654, 0.35505592823028564, 0.10002895444631577, 0.10039009898900986 ]
http://arxiv.org/abs/2406.19954v1
http://arxiv.org/pdf/2406.19954v1
BESTOW: Efficient and Streamable Speech Language Model with the Best of Two Worlds in GPT and T5
2024-06-28T14:40:03
2024-06-28T14:40:03
Zhehuai Chen, He Huang, Oleksii Hrinchuk, Krishna C. Puvvada, Nithin Rao Koluguri, Piotr Żelasko, Jagadeesh Balam, Boris Ginsburg
cs.CL
cs.CL, cs.HC, cs.SD, eess.AS, 68T10, I.2.7
Incorporating speech understanding capabilities into pretrained large-language models has become a vital research direction (SpeechLLM). The previous architectures can be categorized as: i) GPT-style, prepend speech prompts to the text prompts as a sequence of LLM inputs like a decoder-only model; ii) T5-style, introduce speech cross-attention to each layer of the pretrained LLMs. We propose BESTOW architecture to bring the BESt features from TwO Worlds into a single model that is highly efficient and has strong multitask capabilities. Moreover, there is no clear streaming solution for either style, especially considering the solution should generalize to speech multitask. We reformulate streamable SpeechLLM as a read-write policy problem and unifies the offline and streaming research with BESTOW architecture. Hence we demonstrate the first open-source SpeechLLM solution that enables Streaming and Multitask at scale (beyond ASR) at the same time. This streamable solution achieves very strong performance on a wide range of speech tasks (ASR, AST, SQA, unseen DynamicSuperb). It is end-to-end optimizable, with lower training/inference cost, and demonstrates LLM knowledge transferability to speech.
[ -0.036980949342250824, -0.5511693358421326, 0.3758077919483185, 0.3227292001247406, -0.34384143352508545, 0.16130773723125458, -0.3307838439941406, -0.5949793457984924, 0.11377625167369843, 0.528059184551239, -0.5436440706253052, -0.4557974636554718, -0.6062541007995605, -0.1677289605140686, -0.36573758721351624, 0.795107901096344, 0.11016636341810226, -0.08055785298347473, -0.14367343485355377, -0.11497265100479126, -0.208211287856102, -0.45811906456947327, -0.7695373892784119, -0.5800378918647766, 0.36561119556427, 0.16737869381904602, 0.553315281867981, 0.534652590751648, 0.4337034523487091, 0.3145866394042969, -0.09491348266601562, 0.19901429116725922, -0.6231847405433655, -0.08281532675027847, -0.14853808283805847, -0.11286135762929916, -0.6986113786697388, -0.1319521814584732, 0.5250676870346069, 0.3996167480945587, -0.5440943241119385, 0.1222999095916748, 0.2499658167362213, 0.36695292592048645, -0.5030650496482849, 0.27719172835350037, -0.5515321493148804, -0.10754892975091934, -0.3596195876598358, -0.13913583755493164, -0.4616619050502777, -0.2368762344121933, 0.3317248523235321, -0.6323281526565552, -0.10753742605447769, -0.06393580883741379, 0.5989733934402466, 0.3970004916191101, -0.195947527885437, -0.043274927884340286, -0.6414121389389038, 0.8133352994918823, -0.7458154559135437, 0.6259624361991882, 0.3041994273662567, 0.40889906883239746, -0.03507430478930473, -0.9343112707138062, -0.35769709944725037, -0.004086513537913561, 0.23097814619541168, 0.27698466181755066, -0.32343432307243347, 0.3665574789047241, -0.1457645446062088, 0.32257211208343506, -0.8824416399002075, 0.08578392118215561, -0.1897951066493988, -0.31288811564445496, 0.3777656853199005, -0.12429998070001602, 0.29620492458343506, 0.19811993837356567, -0.5308380126953125, 0.12527862191200256, -0.6228055953979492, -0.08421704173088074, 0.0943625271320343, 0.2633867859840393, -0.10781042277812958, 0.1699645072221756, -0.09072338789701462, 0.6698830723762512, -0.11272011697292328, -0.14190974831581116, 0.21079547703266144, -0.3371002674102783, -0.2680518925189972, 0.04495015740394592, 0.6258518695831299, 0.11315599828958511, 0.1811254322528839, -0.42875567078590393, -0.05315958335995674, -0.1430165320634842, 0.26228490471839905, -0.7467337250709534, -0.05304247513413429, 0.41571488976478577, -0.49348369240760803, -0.2957085072994232, -0.49657636880874634, -0.4383881092071533, -0.3446677327156067, -0.22549282014369965, 0.6681779623031616, -0.2493671029806137, -0.6784273982048035, 0.22626803815364838, 0.0008926061564125121, 0.4216195046901703, 0.15064698457717896, -0.9700559377670288, 0.33980056643486023, 0.7472129464149475, 1.0307790040969849, -0.464996337890625, -0.4347085654735565, -0.5773174166679382, 0.25197166204452515, -0.2728125751018524, 0.8432620167732239, -0.5649775266647339, -0.3652200400829315, 0.04731811583042145, -0.30206552147865295, -0.1469922512769699, -0.5336418747901917, 0.5992066264152527, -0.5822761058807373, 0.27917101979255676, 0.12284757196903229, -0.7920123338699341, -0.25174134969711304, -0.07370787858963013, -0.4404447376728058, 0.7793503999710083, -0.09163277596235275, -0.6187794804573059, 0.21028092503547668, -0.9589105844497681, -0.3816940486431122, 0.2665819227695465, 0.18455593287944794, -0.2561681270599365, 0.11263304203748703, 0.15213118493556976, 0.5354769229888916, -0.06278838217258453, 0.4399504065513611, -0.26523375511169434, -0.22022853791713715, -0.1370171308517456, -0.31950831413269043, 0.6881059408187866, 0.29631760716438293, -0.3302059769630432, 0.4718532860279083, -0.6882143616676331, 0.3242795765399933, 0.0811426118016243, -0.32587867975234985, 0.07111182063817978, 0.21374131739139557, 0.6043431162834167, -0.00009247588604921475, 0.22007283568382263, -0.6731863617897034, 0.07060453295707703, -0.36413267254829407, 0.959227442741394, 0.6167281866073608, -0.4339832365512848, 0.41839471459388733, -0.18600234389305115, 0.38786405324935913, -0.31888967752456665, 0.1487300992012024, -0.08721932023763657, -0.31051915884017944, -0.3628319203853607, -0.4069487750530243, 0.06899651139974594, 0.6899052858352661, -0.6985482573509216, -0.09175790846347809, -0.1334937959909439, -0.35418054461479187, -0.7546543478965759, 0.06590809673070908, 0.6270855665206909, 0.30839240550994873, 0.41221827268600464, 0.031352654099464417, -0.49688202142715454, -0.8640125393867493, -0.29444873332977295, 0.027651043608784676, 0.22343669831752777, 0.06598836183547974, 0.07130483537912369, -0.1312902420759201, 0.7016251683235168, -0.3692574203014374, -0.4078473150730133, -0.6768131852149963, -0.10564246773719788, 0.1516249030828476, 0.17947666347026825, 0.2908078134059906, -0.5967394709587097, -0.4630126953125, -0.1773177981376648, -0.5806668996810913, -0.19680629670619965, 0.2354641854763031, -0.1486268937587738, -0.001712141209281981, 0.35819703340530396, -0.5110507607460022, -0.07667256146669388, 0.7850810885429382, -0.19037392735481262, 0.33131930232048035, -0.304227352142334, -0.19349876046180725, -1.182716965675354, 0.05106797441840172, -0.42067569494247437, -0.47874540090560913, -1.129664421081543, 0.1308884173631668, -0.012790660373866558, -0.3146393597126007, -0.6318795084953308, 0.715496838092804, -0.39157170057296753, -0.07374942302703857, -0.653192937374115, 0.1285468190908432, 0.02623060904443264, 0.4406767189502716, 0.3183372914791107, 0.9290945529937744, 0.7480879426002502, -0.38207677006721497, 0.3066863715648651, 0.2283935844898224, -0.2256317138671875, 0.25174519419670105, -0.6712625622749329, 0.5291039347648621, 0.04986259713768959, 0.28950682282447815, -0.825449526309967, -0.20203888416290283, -0.09049693495035172, -0.32127901911735535, 0.32157278060913086, 0.09122402220964432, -0.1919247806072235, -0.06995843350887299, -0.3071218430995941, 0.14463044703006744, 0.4099855124950409, -0.7024794816970825, 0.7573110461235046, 0.6260637044906616, -0.35499370098114014, -0.6101164221763611, -0.6768993139266968, 0.27761945128440857, -0.1482979655265808, -0.7589457631111145, 0.5011348128318787, -0.11495287716388702, 0.023105792701244354, -0.11637792736291885, 0.12723585963249207, -0.26362913846969604, -0.17517860233783722, 0.01759624481201172, 0.07603654265403748, -0.2690069079399109, -0.030385825783014297, -0.052145592868328094, -0.3170325458049774, -0.3069410026073456, -0.7571895718574524, 0.40495723485946655, -0.2212827503681183, -0.0667898878455162, -0.6224061846733093, 0.6314783096313477, 0.530911922454834, -0.4506725072860718, 0.5096925497055054, 0.7252825498580933, -0.2618953585624695, -0.5147422552108765, -0.6485933661460876, -0.0674673393368721, -0.49007028341293335, 0.5220260620117188, -0.5493521094322205, -1.0555130243301392, 0.3032907545566559, 0.027955902740359306, 0.5297715663909912, 0.048892054706811905, 0.531071126461029, -0.2426043152809143, 0.7253308296203613, 0.7168159484863281, -0.20259356498718262, 0.6240074634552002, -0.2712406516075134, -0.027968116104602814, -0.6886802911758423, -0.06531093269586563, -0.1741171032190323, -0.12789832055568695, -0.20633892714977264, -0.48396623134613037, 0.24620959162712097, -0.07477433234453201, 0.11983434855937958, 0.049493156373500824, -0.559321939945221, 0.5973671674728394, 0.4977712631225586, 0.08244702965021133, 0.32778599858283997, 0.052385177463293076, -0.11054615676403046, 0.09752117842435837, -0.7318115830421448, -0.4871187210083008, 1.0574003458023071, 0.24394023418426514, 0.5703871846199036, 0.1010848730802536, 0.6531611084938049, 0.2088301032781601, -0.03987771272659302, -0.684768557548523, 0.4993247985839844, -0.5701760649681091, -0.31177395582199097, -0.42870253324508667, -0.14423875510692596, -0.7663376927375793, 0.5733007192611694, 0.20974817872047424, -0.6909164786338806, -0.14469186961650848, 0.49760422110557556, -0.3176046311855316, 0.3856464624404907, -0.9054481983184814, 0.8615731000900269, -0.1485876441001892, -0.44404137134552, -0.3990412652492523, -0.6114638447761536, 0.21949362754821777, 0.1751076728105545, 0.2883937656879425, -0.020200978964567184, -0.15273787081241608, 0.6902217864990234, -0.23082852363586426, 0.6683833003044128, -0.40316474437713623, 0.0022253941278904676, 0.3683188259601593, -0.09918216615915298, 0.5689795017242432, -0.4981406331062317, -0.03688833490014076, 0.1704029142856598, 0.028356974944472313, -0.324322372674942, -0.3930721580982208, 0.5783552527427673, -0.8090387582778931, -0.48110878467559814, -0.2964881360530853, -0.494651198387146, -0.40928831696510315, 0.20017214119434357, 0.24165895581245422, 0.7407605648040771, -0.20379064977169037, 0.003092818660661578, 0.7379848957061768, -0.03527418151497841, 0.6606955528259277, 0.5997822284698486, -0.32931530475616455, -0.39236214756965637, 1.1266835927963257, -0.014433157630264759, 0.46066156029701233, 0.49999314546585083, 0.40828365087509155, -0.7533490657806396, -0.9047060608863831, -0.703113317489624, 0.16401514410972595, -0.4358725845813751, 0.22302594780921936, -0.7003492116928101, -0.30853646993637085, -0.33699706196784973, 0.012369614094495773, -0.5660456418991089, -0.17026548087596893, -0.23213763535022736, -0.21437853574752808, 0.16610242426395416, 0.8331024050712585, -0.3000636398792267, 0.3414243161678314, -0.6798050403594971, 0.4169904589653015, 0.41120851039886475, 0.36953920125961304, 0.09851142764091492, -0.5781282782554626, -0.18884062767028809, -0.27954065799713135, -0.26958131790161133, -0.6675969958305359, 0.23257412016391754, 0.8258855938911438, 0.5314285159111023, 0.527376115322113, -0.2573293149471283, 0.6345265507698059, -0.8306830525398254, 0.6322569251060486, 0.11676403880119324, -0.9783099293708801, 0.3511267304420471, -0.4367504119873047, 0.5694433450698853, 0.401881605386734, 0.03558942303061485, -0.74576336145401, -0.3754640519618988, -0.3726876974105835, -0.7427533864974976, 0.8457422256469727, 0.207627534866333, 0.03977081924676895, 0.4830598831176758, 0.009254631586372852, 0.3619484007358551, 0.1586468517780304, -0.41225704550743103, -0.013975748792290688, -0.4872877299785614, -0.3320136070251465, -0.1963234543800354, -0.2786197364330292, 0.15726245939731598, 0.04951151832938194, 0.5988087058067322, 0.021627575159072876, 0.593783974647522, -0.03610475733876228, -0.20348481833934784, 0.11044586449861526, 0.59397292137146, 0.8424097895622253, 0.81351238489151, -0.11394082009792328, 0.27222713828086853, 0.03189737722277641, -0.6666882038116455, 0.09039483219385147, 0.13983000814914703, -0.1589760184288025, -0.10789567977190018, 0.5346213579177856, 1.1328638792037964, 0.2663951516151428, -0.44738414883613586, 0.4066087305545807, 0.09425672143697739, -0.3195693790912628, -0.05047468841075897, 0.13838006556034088, 0.5750700831413269, 0.404742568731308, 0.1967664659023285, -0.11690293997526169, 0.37220802903175354, -0.42970040440559387, 0.2101656049489975, 0.3423844575881958, -0.18893368542194366, -0.38785868883132935, 0.7767724990844727, 0.43205511569976807, -0.2489909678697586, 0.3100196123123169, -0.08279618620872498, -0.5745190382003784, 0.2911715805530548, 0.5951062440872192, 0.9528541564941406, -0.3686276972293854, 0.3247905373573303, -0.03737916052341461, -0.014349729754030704, -0.045288778841495514, 0.6333231329917908, -0.09915176779031754, -0.6914427280426025, -0.6296854615211487, -0.6926767826080322, -0.4679211676120758, 0.25053852796554565, -0.4057009220123291, -0.20814836025238037, -0.10632363706827164, -0.07617855072021484, 0.06541198492050171, -0.12786003947257996, -0.406825453042984, -0.0358983613550663, 0.3189502954483032, 0.6457006335258484, -0.47929486632347107, 1.0143356323242188, 0.6971619725227356, -0.00030937985866330564, -0.8470274209976196, -0.30580276250839233, 0.185472771525383, -0.971138060092926, 0.40228766202926636, 0.03231815621256828, -0.4856780767440796, 0.4584996700286865, -0.2911326289176941, -0.9421107769012451, 0.9324602484703064, 0.33880627155303955, -0.707434356212616, -0.22245484590530396, 0.08766164630651474, 0.36938750743865967, -0.2270839363336563, 0.4855056405067444, 0.31210091710090637, 0.34243568778038025, 0.3955245018005371, -1.2259024381637573, -0.2553301155567169, 0.03171350061893463, 0.08010731637477875, 0.21301044523715973, -0.8957481384277344, 0.43752115964889526, -0.41026464104652405, -0.2894202470779419, -0.1825008988380432, 0.6877933144569397, 0.04524204879999161, 0.27626514434814453, 0.4416288733482361, 0.5072759985923767, 0.7229090929031372, 0.04813376069068909, 0.8796815872192383, -0.2329501509666443, 0.24865712225437164, 1.181553602218628, -0.2752295136451721, 1.2006187438964844, 0.2308223992586136, -0.2605345845222473, -0.032001595944166183, 0.6660274863243103, 0.358256995677948, 1.0098596811294556, 0.1749974638223648, -0.3716253936290741, -0.2967817187309265, -0.2610648572444916, -0.35473373532295227, 0.5327908992767334, 0.19109639525413513, 0.1810244470834732, -0.3547116219997406, 0.519133448600769, 0.02528110332787037, -0.18864937126636505, -0.4475255608558655, 1.0237126350402832, 0.39873453974723816, -0.41079527139663696, 0.5307217240333557, -0.0883210226893425, 0.8682811856269836, -0.8515997529029846, 0.04253331944346428, -0.14032581448554993, 0.30961036682128906, -0.3569585382938385, -0.626379132270813, 0.3060401380062103, 0.11148146539926529, -0.08345790952444077, -0.6139863133430481, 0.9299079775810242, -0.6590442061424255, -0.19687381386756897, 0.46013617515563965, 0.5278072357177734, 0.42568880319595337, -0.20949964225292206, -0.6448987126350403, 0.1210717037320137, 0.07094501703977585, -0.2366306334733963, 0.21992017328739166, 0.007064568344503641, 0.13924968242645264, 0.8340426087379456, 0.6138052344322205, 0.4594556987285614, 0.4178771674633026, 0.4056544303894043, 0.6766363978385925, -0.32787322998046875, -0.6280701756477356, -0.8447802662849426, 0.3908269703388214, 0.15481720864772797, -0.2844153940677643, 0.2535285949707031, 0.4352211654186249, 0.616686224937439, 0.01855490542948246, 0.8150091171264648, 0.11761534959077835, 0.6779798865318298, -0.4628504514694214, 0.8312088847160339, -0.5876254439353943, -0.26644355058670044, 0.00028697183006443083, -0.9057618379592896, -0.06496565043926239, 0.4261191189289093, -0.13794977962970734, -0.039834920316934586, 0.8146273493766785, 0.5608148574829102, -0.06785684823989868, 0.3625890612602234, 0.5258230566978455, 0.2720084488391876, 0.365268349647522, 0.7309883832931519, 0.5939127802848816, -0.04751583933830261, 0.6602641940116882, -0.03916111961007118, -0.30320218205451965, -0.026947345584630966, -0.6858830451965332, -0.7220267057418823, -0.5421741604804993, -0.21168529987335205, 0.2371699959039688, 0.43540990352630615, 0.9061355590820312, 0.9572545886039734, -0.8266097903251648, -0.41031941771507263, 0.010355462320148945, -0.2216651737689972, -0.20668692886829376, -0.15986838936805725, 0.6081467270851135, -0.4327530860900879, -0.6853626370429993, 0.7231951951980591, 0.40966492891311646, -0.24399583041667938, -0.2789430320262909, -0.09449419379234314, -0.0974213108420372, -0.03579534962773323, 0.8437862396240234, 0.09105059504508972, -0.7470098733901978, -0.06400147825479507, -0.020263055339455605, -0.07745268940925598, 0.11485467106103897, 0.7204009294509888, -0.3803250193595886, 0.5761000514030457, 0.3512521982192993, 0.9118117094039917, 0.6615422368049622, -0.15933731198310852, 0.6048316359519958, -0.38911110162734985, -0.036558110266923904, 0.3041687309741974, 0.08272521942853928, 0.2230876386165619, -0.2733458876609802, 0.29959940910339355, 0.11674215644598007, -0.6050626039505005, -0.49670541286468506, 0.16104863584041595, -1.0485477447509766, -0.13923737406730652, 0.9511714577674866, -0.27233076095581055, 0.003261183388531208, -0.25974956154823303, -0.12356314063072205, 0.24960272014141083, -0.5973578691482544, 0.38240736722946167, 0.8528374433517456, -0.4316106140613556, -0.4990791380405426, -0.7836579084396362, 0.6123535633087158, 0.372411847114563, -0.8935641050338745, 0.09312739968299866, 0.18060845136642456, 0.32768866419792175, -0.2817062735557556, 0.9673943519592285, 0.06162549555301666, 0.021151911467313766, 0.019784439355134964, 0.05484883114695549, -0.5557646751403809, -0.38207849860191345, -0.1857588142156601, 0.3923909068107605, 0.09503553807735443, -0.6006627678871155 ]
http://arxiv.org/abs/2406.19951v1
http://arxiv.org/pdf/2406.19951v1
Mining Reasons For And Against Vaccination From Unstructured Data Using Nichesourcing and AI Data Augmentation
2024-06-28T14:36:31
2024-06-28T14:36:31
Damián Ariel Furman, Juan Junqueras, Z. Burçe Gümüslü, Edgar Altszyler, Joaquin Navajas, Ophelia Deroy, Justin Sulik
cs.CL
cs.CL
We present Reasons For and Against Vaccination (RFAV), a dataset for predicting reasons for and against vaccination, and scientific authorities used to justify them, annotated through nichesourcing and augmented using GPT4 and GPT3.5-Turbo. We show how it is possible to mine these reasons in non-structured text, under different task definitions, despite the high level of subjectivity involved and explore the impact of artificially augmented data using in-context learning with GPT4 and GPT3.5-Turbo. We publish the dataset and the trained models along with the annotation manual used to train annotators and define the task.
[ -0.05565350875258446, -0.55177241563797, 0.4114234149456024, -0.32826486229896545, -0.32763466238975525, -0.23988394439220428, 0.04319705441594124, -0.4431905746459961, 0.10865914076566696, 0.37561896443367004, -0.3786027431488037, -0.5913074016571045, -0.402784526348114, 0.29223746061325073, -0.4257008731365204, 1.3324828147888184, 0.18831542134284973, -0.06842602789402008, -0.6660723686218262, -0.05866377055644989, -0.4747416079044342, -0.7913943529129028, -0.2704634368419647, -0.41104310750961304, 0.604655921459198, 0.7933094501495361, 0.20471008121967316, 0.3354406952857971, 0.0746326819062233, 0.21802355349063873, 0.16787630319595337, 0.04688352346420288, -0.12346462160348892, 0.19926230609416962, -0.47150111198425293, -0.42265525460243225, -0.11602626740932465, 0.1656607836484909, 0.309120237827301, 0.3257253170013428, -0.03285612910985947, 0.1416846662759781, -0.08528073877096176, 0.21569456160068512, -0.41635584831237793, 0.2095935046672821, -0.7103837132453918, -0.039130374789237976, -0.5599320530891418, -0.5581357479095459, -0.16777817904949188, 0.341510534286499, 0.1670701950788498, -0.7574050426483154, 0.5883559584617615, -0.3389449715614319, 0.7035492658615112, 0.20742355287075043, -0.5306016802787781, -0.20227041840553284, -0.49490484595298767, 0.7283536791801453, -0.41100865602493286, -0.14814557135105133, 0.756344199180603, -0.07480189204216003, -0.1578831970691681, -0.7480023503303528, -0.3044640123844147, 0.026894893497228622, -0.07961294054985046, 0.153311088681221, -0.34377771615982056, 0.26940256357192993, 0.2620111107826233, 0.26133662462234497, -0.6408436894416809, -0.0506172850728035, -0.5582181215286255, -0.15177735686302185, 0.5805535912513733, -0.01718159206211567, 0.3955325484275818, -0.4318389892578125, -0.19959275424480438, 0.18721751868724823, -0.69233238697052, 0.40623247623443604, 0.30066174268722534, 0.38765567541122437, 0.14846199750900269, 0.6780745387077332, -0.32020309567451477, 0.7804220914840698, -0.02465190552175045, -0.07678600400686264, 0.28960585594177246, -0.6143863201141357, -0.20519790053367615, 0.14523369073867798, 0.4782566726207733, 0.2763645052909851, -0.10290698707103729, -0.20155645906925201, -0.03755083680152893, -0.14298653602600098, 0.39097559452056885, -0.8094208836555481, -0.03354153037071228, 0.33265554904937744, -0.43286722898483276, -0.3996131122112274, 0.10110446065664291, -0.8104114532470703, -0.2811915874481201, -0.09124942868947983, 0.3802153170108795, -0.3700232207775116, -0.03949030116200447, -0.03629879280924797, -0.7154433727264404, 0.16045741736888885, 0.30925890803337097, -1.0025663375854492, 0.009013928472995758, 0.7895459532737732, 1.0029577016830444, 0.10359341651201248, -0.028126463294029236, -0.42485159635543823, 0.17096774280071259, -0.008136104792356491, 1.2917019128799438, -0.7521427869796753, -0.5082293748855591, -0.2558198571205139, -0.0656311884522438, 0.176662877202034, -0.41354992985725403, 0.5264067649841309, -0.18042805790901184, 0.41468700766563416, -0.36950451135635376, -0.3089908957481384, -0.43252113461494446, 0.2586704194545746, -0.4513443112373352, 0.756004273891449, 0.3278968334197998, -0.9069768190383911, 0.7936794757843018, -0.5902208089828491, -0.8128921985626221, 0.6217018961906433, -0.30487293004989624, -0.5137104988098145, 0.021723248064517975, 0.2998206317424774, 0.2765052914619446, -0.36565226316452026, 0.2504507601261139, -0.35559171438217163, -0.1891009509563446, -0.10161159187555313, -0.23258374631404877, 0.8841341137886047, -0.18646839261054993, -0.36749157309532166, 0.42980054020881653, -0.4690793454647064, -0.14724092185497284, -0.1263759285211563, -0.29598984122276306, -0.6295586824417114, 0.34876549243927, 0.04253225773572922, 0.26194101572036743, -0.10987931489944458, -0.5048282742500305, 0.4346332550048828, -0.5711472630500793, 0.8834937810897827, 0.504200279712677, 0.5197880864143372, 0.17462222278118134, -0.4995444715023041, 0.6968216896057129, 0.0207152608782053, 0.20411573350429535, -0.11686231195926666, -1.0268816947937012, 0.026850083842873573, -0.4259519577026367, 0.3212943375110626, 0.5571895837783813, -0.6517539024353027, 0.12990783154964447, -0.06276394426822662, -0.3216821849346161, -0.3027490973472595, 0.048826757818460464, -0.1341964155435562, 0.8164349794387817, 0.5312651991844177, -0.10313679277896881, -0.9380507469177246, -0.8549582362174988, -0.13736817240715027, -0.1687794029712677, -0.04020744189620018, 0.18796153366565704, 0.6841379404067993, -0.34648218750953674, 1.0374563932418823, -0.09011824429035187, -0.40234071016311646, -0.24087445437908173, 0.282857745885849, 0.24564318358898163, 0.4702376425266266, 0.762384295463562, -0.9522271156311035, -0.11160597205162048, 0.3129308521747589, -0.41340991854667664, -0.12105906754732132, 0.004779995419085026, 0.4252353012561798, -0.0765325054526329, 0.25422486662864685, -0.804393470287323, 0.8288391828536987, 0.08013509213924408, -0.07888386398553848, 0.5187598466873169, 0.12901446223258972, 0.29065951704978943, -1.042177438735962, 0.2538534998893738, 0.23956091701984406, -0.37951746582984924, -0.8457667827606201, -0.16221430897712708, -0.26813817024230957, 0.025717679411172867, -0.5023621916770935, 0.5840991735458374, -0.1514245718717575, 0.34573420882225037, -0.3590672016143799, -0.3393441140651703, 0.12332937866449356, -0.08884721994400024, 0.036845799535512924, 0.6743142008781433, 0.5397579669952393, -0.47869187593460083, 0.5006457567214966, 0.26420456171035767, -0.11686743050813675, 0.2809828221797943, -0.6374127268791199, -0.48662257194519043, -0.21696168184280396, 0.48873448371887207, -0.4617810547351837, -0.5093693137168884, 0.5608454346656799, -0.7745545506477356, -0.06290028989315033, -0.5921871066093445, -0.22836022078990936, -0.3155291676521301, -0.3010643422603607, 0.42699092626571655, 0.43115514516830444, -0.45510250329971313, 0.5308303833007812, 0.6663667559623718, -0.03423460200428963, -0.652018666267395, -0.6426045298576355, 0.08088289201259613, -0.6492094993591309, -0.18155664205551147, 0.5824233293533325, 0.22371946275234222, -0.22263549268245697, 0.08893860876560211, -0.11266497522592545, -0.15757274627685547, 0.03513604402542114, 0.37936386466026306, 0.0038640194106847048, -0.031399503350257874, 0.27573779225349426, -0.06743009388446808, -0.15324100852012634, 0.2762936055660248, -0.4276396930217743, 0.07676646113395691, 0.25090470910072327, -0.1403425931930542, -0.18489395081996918, 0.698334813117981, 0.2657519280910492, -0.013115053996443748, 0.4446117877960205, 0.4423985779285431, -0.7348384261131287, -0.08934632688760757, -0.1789090782403946, -0.26358675956726074, -0.3678448498249054, 0.18193531036376953, -0.006758570671081543, -0.7175272703170776, 0.3936135768890381, 0.2968129515647888, 0.04345697909593582, 0.6841827630996704, 0.7453920245170593, -0.02215183712542057, 1.1500627994537354, 0.5104966163635254, 0.03091839887201786, 0.4820137619972229, -0.0071284049190580845, -0.10844358801841736, -0.406007319688797, -0.47460103034973145, -0.39673346281051636, 0.12388931959867477, -0.5930027961730957, -0.5501042008399963, 0.33175787329673767, -0.07106859982013702, 0.05295844376087189, -0.09563437849283218, -0.6470177173614502, 0.3637075424194336, 0.5745099186897278, 0.062429990619421005, 0.02863956056535244, 0.06987358629703522, 0.09870349615812302, 0.115194171667099, -1.0240238904953003, -0.2764763832092285, 1.0641229152679443, 0.16109327971935272, 0.2794087827205658, 0.027529409155249596, 0.26164156198501587, 0.4396468997001648, 0.5567982196807861, -0.8998785614967346, 0.08955305814743042, -0.08177073299884796, -0.9986099004745483, -0.10831698030233383, -0.3339628279209137, -1.180860161781311, 0.08075031638145447, -0.34228524565696716, -0.7385150194168091, 0.3856792449951172, 0.2613622546195984, -0.399260014295578, -0.012359567917883396, -0.749487042427063, 0.7675188779830933, -0.1426677256822586, -0.30001741647720337, -0.05638231709599495, -0.6896001100540161, 0.3597486913204193, -0.016134722158312798, -0.012558515183627605, 0.04167383164167404, -0.06296622008085251, 0.6118475794792175, -0.8119382262229919, 0.9654012322425842, -0.15291225910186768, 0.3886316418647766, 0.46147027611732483, -0.7890915870666504, 0.013808321207761765, 0.7113803029060364, -0.17638108134269714, 0.35492539405822754, -0.006344441324472427, -0.5097964406013489, -0.2223626971244812, 0.5704973936080933, -0.5191851258277893, -0.9741555452346802, -0.9958807826042175, -0.32281169295310974, 0.04493943974375725, 0.2719933092594147, 0.5488383769989014, 0.39222100377082825, -0.12118717283010483, 0.47749704122543335, 0.5931119322776794, -0.07015743851661682, 0.24617038667201996, 0.42850857973098755, 0.26963457465171814, -0.39570748805999756, 0.8061739802360535, 0.2774515748023987, -0.23922041058540344, 0.5253905653953552, 0.4689951539039612, -0.401297390460968, -0.6198795437812805, -0.5618106722831726, -0.15590888261795044, -0.5941131114959717, -0.5628699660301208, -0.795988917350769, -0.25778087973594666, -0.6884886026382446, 0.14221151173114777, 0.1577327996492386, -0.17120221257209778, -0.5686376690864563, -0.21760866045951843, 0.8656799793243408, 0.8448559045791626, -0.45147472620010376, 0.06714044511318207, -0.645737886428833, 0.14276237785816193, 0.1767825484275818, 0.103931725025177, -0.33379310369491577, -0.23369929194450378, -0.35945025086402893, 0.06659382581710815, -0.12681400775909424, -1.0607335567474365, 0.33499446511268616, 0.19306035339832306, 0.7352264523506165, 0.3011262118816376, 0.0015494631370529532, 0.774675726890564, -0.33824244141578674, 0.6409426927566528, -0.33368220925331116, -0.9466414451599121, 0.8534448742866516, -0.6241166591644287, 0.1521284580230713, 0.4552067220211029, 0.49462777376174927, -0.4308074414730072, -0.19529640674591064, -0.7321816682815552, -1.1719244718551636, 0.6655791997909546, 0.0954643189907074, -0.34050777554512024, -0.0020577411632984877, 0.5855540037155151, 0.322316974401474, 0.1315559595823288, -0.5885499119758606, 0.01558646745979786, -0.6639367341995239, -0.07411327213048935, -0.1431788057088852, -0.08250779658555984, -0.38549932837486267, -0.4709126651287079, 0.7188764810562134, -0.09848518669605255, -0.002834308659657836, 0.38835325837135315, -0.2057826817035675, -0.06685807555913925, 0.12138540297746658, 0.7663841247558594, 0.7557679414749146, -0.16672508418560028, 0.007658045738935471, 0.1095946729183197, -0.5540969967842102, 0.21855038404464722, 0.45182004570961, -0.5114814639091492, 0.10696318000555038, 0.7126971483230591, 0.5460430383682251, -0.18900376558303833, -0.7496783137321472, 0.5962450504302979, 0.011295190081000328, -0.38311082124710083, -0.36152705550193787, 0.09233953058719635, -0.21361000835895538, -0.12229570746421814, 0.44717466831207275, -0.007749856915324926, 0.46564725041389465, -0.4104572534561157, 0.5014832615852356, 0.6964239478111267, -0.24332818388938904, -0.47580331563949585, 0.5643316507339478, 0.08834854513406754, 0.12696774303913116, 0.40703436732292175, 0.08128506690263748, -0.2446768432855606, 0.6069282293319702, 0.5194801092147827, 0.35143882036209106, -0.42846906185150146, 0.4685869812965393, 0.5439624786376953, 0.31130942702293396, -0.03528447076678276, 0.19374224543571472, -0.16437311470508575, -0.3438570499420166, -0.5901673436164856, -0.1704321950674057, -0.3023335635662079, 0.6613692045211792, -0.6061498522758484, 0.30953696370124817, -0.2346869856119156, -0.16331499814987183, 0.30247730016708374, -0.07574349641799927, -0.464070588350296, 0.22399568557739258, -0.19260390102863312, 0.7765622735023499, -1.2156736850738525, 0.8425236940383911, 0.9401841759681702, -0.7741114497184753, -0.25561031699180603, 0.14684300124645233, 0.11440833657979965, -0.6169030070304871, 0.38795965909957886, 0.3286847472190857, 0.2379073202610016, -0.304420530796051, -0.1947217732667923, -0.7580614686012268, 0.84623783826828, 0.0024725887924432755, -0.32717061042785645, 0.10469213128089905, -0.020318742841482162, 0.4300496280193329, -0.34847918152809143, 0.27862128615379333, 0.4498424530029297, 0.5825369954109192, 0.010301021859049797, -0.2774350643157959, -0.06763536483049393, -0.5036367774009705, -0.3636203408241272, 0.09422799199819565, -0.2905929684638977, 0.6287052631378174, -0.23203060030937195, -0.238121896982193, -0.2893858551979065, 0.6013849973678589, 0.15141741931438446, 0.5835996270179749, 0.3989512622356415, 0.4453311562538147, 0.6072092652320862, -0.10833903402090073, 0.9331710338592529, 0.15186290442943573, -0.011926558800041676, 0.7459294199943542, -0.14268313348293304, 0.43619459867477417, 0.48292726278305054, 0.2691882252693176, 0.24082256853580475, 1.1195422410964966, -0.021686282008886337, 0.5942355990409851, 0.04113385081291199, -0.4441283643245697, -0.24078521132469177, -0.3680349886417389, -0.5698468089103699, 0.5985543131828308, 0.8164514899253845, -0.18792380392551422, -0.2693442106246948, 0.2512928545475006, -0.15402953326702118, -0.29638972878456116, -0.3734479546546936, 0.8913198113441467, -0.20115959644317627, -0.6348455548286438, 0.2714962363243103, 0.16196763515472412, 0.3648839294910431, -0.527764618396759, -0.18393145501613617, 0.14536640048027039, 0.08846171200275421, -0.4736342132091522, -0.7329220175743103, 0.5600491166114807, 0.17702338099479675, -0.5546846985816956, -0.21225595474243164, 0.9607006907463074, -0.35808345675468445, -0.37562376260757446, -0.027465375140309334, 0.39558783173561096, -0.04296460002660751, -0.008167030289769173, -0.9428419470787048, -0.2677284777164459, -0.08333825320005417, -0.36450833082199097, 0.2826736867427826, 0.38386455178260803, -0.4495856463909149, 0.3269415497779846, 0.8712409734725952, 0.25393977761268616, -0.469352662563324, -0.06518079340457916, 0.8777724504470825, -0.607131838798523, -0.4216183125972748, -1.1385847330093384, 0.5315033793449402, -0.16312657296657562, -0.41036200523376465, 0.962549090385437, 0.7558277249336243, 0.6316114664077759, 0.0966319888830185, 1.2271409034729004, -0.14413613080978394, 0.5827399492263794, -0.40934666991233826, 0.5781811475753784, -0.5336697101593018, -0.04518566653132439, 0.1283022165298462, -0.27981576323509216, -0.44777461886405945, 0.5679906606674194, -0.2758858799934387, 0.2647245228290558, 0.4577677249908447, 0.6297323107719421, 0.09951990097761154, -0.07563228160142899, -0.052480440586805344, 0.13153326511383057, 0.5294174551963806, 0.34371763467788696, 0.6939176917076111, -0.023251373320817947, 0.3529793322086334, -0.26992863416671753, -0.5876598954200745, -0.4947111904621124, -1.090279221534729, -0.9995700120925903, -0.8092467784881592, -0.3156297504901886, -0.44626346230506897, 0.3657178580760956, 1.011782169342041, 0.8869220018386841, -0.8505387306213379, 0.20353558659553528, -0.2701640725135803, 0.3913741409778595, -0.32813653349876404, -0.22433897852897644, 0.09937723726034164, -0.15829242765903473, -0.3460932970046997, 0.5437287092208862, 0.3828542232513428, 0.06550044566392899, -0.0023403968662023544, 0.3526771366596222, -0.3919508755207062, -0.015624801628291607, 0.5577120780944824, 0.8956198692321777, -0.6739928722381592, -0.18245956301689148, -0.42962828278541565, 0.06939834356307983, 0.13749848306179047, 0.8705870509147644, -1.0177663564682007, 0.4538230299949646, 0.6392194628715515, 0.5109545588493347, 0.2079368382692337, 0.28345799446105957, 0.6835501790046692, -0.9102387428283691, 0.29538440704345703, 0.4951169192790985, 0.15743783116340637, 0.4166727662086487, -0.5788983106613159, 0.314572811126709, 0.6007130146026611, -0.6213052272796631, -0.8786810636520386, 0.24182003736495972, -0.8041550517082214, -0.3229384422302246, 1.3226805925369263, 0.1404794454574585, -0.4923206865787506, -0.7255719900131226, 0.047530245035886765, 0.17048200964927673, -0.5000178813934326, 0.6845167875289917, 0.6462663412094116, -0.3276444673538208, -0.035567767918109894, -0.7410326600074768, 1.0277150869369507, 0.12029880285263062, -0.9405899047851562, -0.1301259994506836, 0.25372612476348877, 0.2838429808616638, -0.3186883330345154, 0.9515353441238403, 0.0917477160692215, 0.5417618751525879, -0.1057952493429184, 0.07630104571580887, -0.25654760003089905, -0.3209490180015564, -0.39706721901893616, 0.10249198228120804, -0.020628517493605614, -0.07445155084133148 ]
http://arxiv.org/abs/2406.19949v1
http://arxiv.org/pdf/2406.19949v1
Calibrating LLMs with Preference Optimization on Thought Trees for Generating Rationale in Science Question Scoring
2024-06-28T14:33:05
2024-06-28T14:33:05
Jiazheng Li, Hainiu Xu, Zhaoyue Sun, Yuxiang Zhou, David West, Cesare Aloisi, Yulan He
cs.CL
cs.CL
Generating rationales that justify scoring decisions has been a promising way to facilitate explainability in automated scoring systems. However, existing methods do not match the accuracy of classifier-based methods. Plus, the generated rationales often contain hallucinated information. To address these issues, we propose a novel framework capable of generating more faithful rationales and, more importantly, matching performance with classifier-based black-box scoring systems. We first mimic the human assessment process by querying Large Language Models (LLMs) to generate a thought tree. We then summarise intermediate assessment decisions from each thought tree path for creating synthetic rationale data and rationale preference data. Finally, we utilise the generated synthetic data to calibrate LLMs through a two-step training process: supervised fine-tuning and preference optimization. Extensive experimental results demonstrate that our framework achieves a 38% assessment performance improvement in the QWK score compared to prior work while producing higher-quality rationales, as recognised by human evaluators and LLMs. Our work sheds light on the effectiveness of performing preference optimization using synthetic preference data obtained from thought tree paths.
[ -0.3842497169971466, -0.6036081314086914, 0.8601794838905334, -0.07157518714666367, -0.34589827060699463, 0.03788086771965027, -0.2740579843521118, -0.26006177067756653, 0.2647014260292053, 0.37254926562309265, -0.586328387260437, -0.4025276005268097, -0.07740727066993713, 0.17814724147319794, 0.08795978873968124, 0.9699582457542419, -0.05835789069533348, 0.226474791765213, -0.6171465516090393, -0.048033252358436584, -0.3840892016887665, -0.4150296449661255, -0.6541959643363953, -0.48659834265708923, 0.5167136192321777, 0.2891918420791626, 0.6219685673713684, 0.5906667709350586, 0.3164197504520416, 0.16135944426059723, 0.2357875108718872, 0.4520722031593323, -0.5719008445739746, 0.1795404702425003, -0.30899572372436523, -0.6192692518234253, -0.3333981931209564, 0.1738438755273819, 0.3558696210384369, 0.5513491630554199, -0.00525430403649807, 0.4545106887817383, 0.0649482011795044, 0.7868607044219971, -0.5956157445907593, 0.1555992215871811, -0.8376951217651367, 0.14812758564949036, 0.26388001441955566, -0.9672287702560425, -0.5873374938964844, -0.7820940613746643, 0.20452845096588135, -0.7222288250923157, 0.23966392874717712, 0.14132648706436157, 0.4949882924556732, 0.44247257709503174, -0.2838882803916931, -0.16673560440540314, -0.5965014100074768, 0.9209490418434143, -0.6058925986289978, 0.10669149458408356, 0.3767212927341461, 0.5254169702529907, -0.16886432468891144, -0.3120897114276886, -0.3698330521583557, -0.2613677382469177, 0.024416660889983177, 0.16757135093212128, 0.21066421270370483, 0.06703239679336548, 0.4203115701675415, 0.10866660624742508, -0.6282253861427307, -0.16785193979740143, -0.18989117443561554, -0.39795926213264465, 0.8747578263282776, 0.2702818512916565, -0.20247593522071838, -0.22093044221401215, -0.1399417370557785, -0.4557121694087982, -0.6288749575614929, 0.3768237829208374, 0.4307466149330139, 0.426791787147522, 0.4714427590370178, 0.702375590801239, -0.252348393201828, 0.6594771146774292, 0.25815728306770325, -0.18322061002254486, 0.13401128351688385, -0.12170929461717606, -0.24117250740528107, 0.26588407158851624, 0.5884426832199097, 0.9132235646247864, 0.26463696360588074, -0.07736553996801376, -0.1944555938243866, 0.47495967149734497, 0.43967702984809875, -1.0100529193878174, -0.22212301194667816, 0.2959858775138855, -0.038715243339538574, -0.6506869792938232, -0.14517337083816528, -0.7569698691368103, -0.35117605328559875, -0.6943915486335754, 0.36386775970458984, -0.24239373207092285, -0.082414910197258, 0.3476616144180298, -0.06214373931288719, 0.31414756178855896, 0.6163204312324524, -0.8136588335037231, 0.07392343133687973, 0.5148259401321411, 0.5270227193832397, -0.2613321840763092, -0.004234433174133301, -0.448321133852005, 0.01840721257030964, -0.7051652073860168, 0.9408355355262756, -0.6602950692176819, -0.3533732295036316, -0.3390946686267853, -0.2863083779811859, 0.05707509070634842, -0.5606123208999634, 0.6029489636421204, -0.4630109667778015, 0.337761253118515, -0.3802802264690399, -0.4815979301929474, -0.33105185627937317, 0.5491026043891907, -0.22767025232315063, 1.1861367225646973, 0.2553478181362152, -0.5788382887840271, 0.6610350012779236, -0.7651787400245667, -0.07736173272132874, 0.24609428644180298, -0.2418750524520874, -0.21621087193489075, 0.02727402187883854, 0.13208521902561188, 0.29923754930496216, -0.42806485295295715, 0.516106367111206, -0.4550982713699341, -0.22830775380134583, 0.2711222767829895, -0.5083742141723633, 0.5970502495765686, 0.19185122847557068, -0.28539344668388367, 0.29849138855934143, -0.6103507876396179, 0.7125959396362305, -0.12403511255979538, -0.3298674523830414, -0.31267136335372925, 0.2491440773010254, -0.1325717270374298, 0.1287529021501541, 0.06858561187982559, -0.47889935970306396, 0.10431285202503204, -0.5006120204925537, 0.4117719829082489, 0.8687050938606262, 0.020832635462284088, 0.3024393320083618, -0.5968284606933594, 0.5488418936729431, -0.15988418459892273, 0.01825629360973835, 0.21308229863643646, -0.31860414147377014, -0.5143058896064758, 0.1008513793349266, 0.21889419853687286, 0.4242795407772064, -0.37033340334892273, 0.6495935320854187, -0.2420779913663864, -0.6065682172775269, -0.6330573558807373, -0.05454153195023537, 0.10973504930734634, 0.7623624205589294, 0.3902592658996582, -0.20342497527599335, -0.5816118717193604, -0.916889488697052, -0.21229520440101624, -0.356474369764328, -0.1610316038131714, 0.6335122585296631, 0.37808874249458313, -0.05067851021885872, 1.2599401473999023, -0.651003360748291, 0.03578171879053116, 0.18002323806285858, -0.07028664648532867, 0.094389908015728, 0.4661784768104553, 0.4196905493736267, -0.7481603622436523, -0.33323565125465393, 0.024167533963918686, -0.6226596236228943, -0.15291617810726166, -0.051833976060152054, -0.40211811661720276, 0.18841248750686646, 0.17423614859580994, -0.5482123494148254, 0.22854620218276978, 0.17390452325344086, -0.24383413791656494, 0.9721647500991821, 0.02545274794101715, 0.32727181911468506, -1.0053144693374634, 0.1885286420583725, 0.11259550601243973, -0.33463865518569946, -0.22674356400966644, 0.07955028861761093, -0.011157572269439697, 0.08729904890060425, -0.4381325840950012, 0.43713831901550293, 0.04827599972486496, 0.00010164040577365085, -0.19078513979911804, -0.004046767018735409, 0.2518558204174042, 0.5669995546340942, -0.04741888865828514, 0.7797467708587646, 0.4108790457248688, -0.5105371475219727, 0.2874406576156616, -0.03770758956670761, -0.3116425573825836, 0.6435198187828064, -0.4984244406223297, 0.1904650628566742, -0.2165055125951767, 0.30124786496162415, -0.8165704011917114, -0.4432964622974396, 0.061179567128419876, -0.4246000647544861, 0.040328845381736755, -0.11682850122451782, -0.21425941586494446, -0.3346123993396759, -0.6576995253562927, 0.5031697750091553, 0.587372362613678, -0.454342246055603, 0.5145888924598694, 0.3460414707660675, 0.19076786935329437, -0.31969746947288513, -0.42983025312423706, -0.227949321269989, -0.51163649559021, -0.5141018629074097, 0.45896539092063904, -0.486138254404068, -0.18616661429405212, -0.1512610763311386, -0.39214515686035156, 0.2871328294277191, 0.15552030503749847, 0.2579832077026367, 0.36376953125, -0.37907674908638, 0.06206219643354416, 0.15546327829360962, -0.1043872982263565, 0.423537939786911, -0.4454430937767029, 0.42513084411621094, -0.19849435985088348, -0.305923193693161, -0.25396162271499634, 0.13837355375289917, 0.6807268857955933, 0.010716675780713558, 0.30339598655700684, 0.12781699001789093, -0.5093552470207214, -0.3783668875694275, -0.5084113478660583, -0.4486044943332672, -0.49844345450401306, 0.2735629975795746, -0.4773373007774353, -0.8184334635734558, 0.1369275003671646, -0.19744092226028442, 0.20042680203914642, 0.3597513437271118, 0.7074591517448425, -0.16979378461837769, 1.5089588165283203, 0.17683063447475433, 0.19669315218925476, 0.0900735929608345, -0.1250515729188919, 0.2542470097541809, -0.8287397623062134, -0.2687128782272339, -0.3918159008026123, -0.15561412274837494, -0.6209161877632141, -0.42877769470214844, 0.4227783679962158, 0.13719026744365692, -0.282158225774765, 0.045742325484752655, -0.9336053133010864, 0.8307255506515503, 0.3652092516422272, 0.2476162314414978, 0.13254687190055847, 0.15159380435943604, -0.42883166670799255, -0.10004525631666183, -0.48679375648498535, -0.975559413433075, 1.2047961950302124, 0.1925407499074936, 0.6169477701187134, -0.2947583496570587, 0.657927393913269, 0.22154977917671204, 0.598808228969574, -1.071940541267395, 0.6498929858207703, 0.2900741994380951, -0.523367702960968, -0.41966769099235535, -0.5184500813484192, -0.7466230988502502, 0.4375457763671875, -0.25030067563056946, -0.6374475955963135, -0.24600750207901, 0.2910529375076294, -0.5324146151542664, -0.017026277258992195, -0.8564391732215881, 0.7566971778869629, -0.32079756259918213, -0.6268461346626282, -0.3878072500228882, -0.36741331219673157, 0.32458069920539856, -0.2898169159889221, 0.010409223847091198, -0.29454267024993896, 0.2758442461490631, 0.8836676478385925, -0.16450448334217072, 0.5997942686080933, -0.23215252161026, 0.05117955803871155, 0.1975415050983429, 0.29735371470451355, 0.3058420717716217, 0.3580290675163269, -0.5906580090522766, -0.267887681722641, 0.4100642800331116, -0.3261411488056183, -0.8551273941993713, 0.7203865051269531, -0.6780402660369873, -1.0408999919891357, -0.5260584950447083, -0.7388555407524109, -0.5031003952026367, 0.1217113807797432, -0.08525614440441132, 0.1607137769460678, -0.07920607179403305, 0.16090233623981476, 0.32204824686050415, 0.06757395714521408, 0.048972297459840775, 0.4511262774467468, -0.17797857522964478, -0.45007872581481934, 0.8650485277175903, -0.04420609772205353, 0.2039574682712555, 0.18370060622692108, 0.5031375885009766, -0.5871535539627075, -0.5895094871520996, -0.4791286885738373, 0.08491528034210205, -0.5731976628303528, -0.42229434847831726, -0.30387720465660095, -0.16038087010383606, -0.2413395792245865, -0.3182980716228485, -0.010716347023844719, -0.5733973979949951, -0.29466381669044495, -0.29091671109199524, 0.3336004614830017, 0.434003621339798, 0.17915377020835876, -0.11250696331262589, -0.37847578525543213, 0.0797361508011818, 0.34181663393974304, 0.35387417674064636, -0.07262547314167023, -0.5190516114234924, -0.028727812692523003, 0.4583522379398346, -0.7287673354148865, -0.5880925059318542, 0.415068656206131, 0.0022910020779818296, 0.40132710337638855, 0.2221594899892807, 0.2510271370410919, 0.8886946439743042, -0.2815207540988922, 0.6003879904747009, 0.10439005494117737, -0.6916084289550781, 0.7247725129127502, -0.20623061060905457, -0.02643296867609024, 0.8102923631668091, 0.43115681409835815, -0.10341964662075043, -0.24775786697864532, -0.4592774510383606, -0.5346992611885071, 0.8438568115234375, 0.0558270625770092, -0.026327038183808327, 0.17482343316078186, 0.5893294811248779, 0.16493995487689972, 0.18335004150867462, -0.7654480934143066, 0.07786986976861954, -0.2997663617134094, -0.3787058889865875, -0.2771763801574707, 0.01834299974143505, -0.38582250475883484, -0.47981783747673035, 0.857599675655365, -0.6060194373130798, -0.0745713859796524, 0.23356406390666962, 0.07809519022703171, -0.5590826869010925, 0.15062212944030762, 0.424297571182251, 0.5765076875686646, -0.5685579776763916, 0.08685916662216187, 0.24241386353969574, -0.2154996544122696, 0.2471308559179306, -0.09762914478778839, -0.473811537027359, -0.4492981731891632, -0.0534147210419178, 0.6512534618377686, -0.13765761256217957, -0.7180688977241516, 0.2076493352651596, 0.015476307831704617, -0.5071224570274353, -0.1641375720500946, 0.47737517952919006, 0.11037545651197433, 0.13877490162849426, 0.29303625226020813, 0.4825357496738434, 0.15050064027309418, -0.40994200110435486, 0.13653728365898132, 0.8360058665275574, -0.2604624032974243, -0.2848220765590668, 0.4875752031803131, 0.04713933914899826, -0.39430585503578186, 0.19793330132961273, -0.14342090487480164, -0.5391560792922974, 0.5915185213088989, 0.6413020491600037, 0.8263964653015137, -0.08927496522665024, 0.34219005703926086, 0.6397982835769653, 0.09149045497179031, -0.12763312458992004, 0.31001758575439453, -0.3736181855201721, -0.7593647241592407, -0.3955293893814087, -1.0602513551712036, -0.6213421821594238, 0.14579395949840546, -0.5579003691673279, 0.38391196727752686, -0.45015907287597656, -0.36767512559890747, 0.20028984546661377, 0.2795903980731964, -0.43087831139564514, 0.37083593010902405, -0.05764823406934738, 0.7735676765441895, -0.8130324482917786, 0.7543334364891052, 0.6880156397819519, -0.14586396515369415, -0.9697578549385071, -0.1076785996556282, -0.22039838135242462, -0.6200963854789734, 0.3738674223423004, 0.42945849895477295, -0.29059845209121704, 0.10980422049760818, -0.4034007787704468, -0.7950976490974426, 1.0652271509170532, 0.599243700504303, -0.3803544044494629, -0.064305379986763, 0.26789718866348267, 0.7947789430618286, -0.5954572558403015, 0.5334007740020752, 0.6868916749954224, 0.5927287936210632, 0.26359620690345764, -0.4557388126850128, 0.21084117889404297, -0.29679107666015625, -0.1710899919271469, 0.1363716423511505, -0.3157877027988434, 0.14809639751911163, -0.2769290804862976, -0.19749610126018524, -0.14552448689937592, 0.2862694561481476, 0.7835422158241272, 0.5268229842185974, 0.581277072429657, 0.49186834692955017, 0.8402175307273865, -0.06102876365184784, 0.8436238765716553, -0.3211938738822937, 0.27265721559524536, 0.7812401652336121, -0.566328763961792, 0.8278552889823914, 0.724463701248169, -0.37879523634910583, 0.4330236315727234, 0.9613421559333801, 0.0290164016187191, 0.4731348156929016, 0.5116305351257324, -0.19336383044719696, -0.5576078295707703, -0.2607930302619934, -0.06042321026325226, 0.22753164172172546, 0.39907106757164, -0.23329591751098633, -0.14310519397258759, -0.2436744123697281, -0.4650590717792511, 0.14084073901176453, -0.21245983242988586, 0.5805344581604004, -0.04151133447885513, -1.2762837409973145, 0.8620933294296265, -0.12093464285135269, 0.38148078322410583, -0.4995657503604889, -0.045432496815919876, 0.0637604296207428, 0.028797997161746025, -0.43371179699897766, -0.8603895306587219, 0.19825884699821472, 0.0009000049903988838, -0.20476019382476807, -0.3096300959587097, 0.3518960773944855, -0.399763822555542, -0.5602936744689941, 0.04091714322566986, 0.3341805040836334, 0.22074756026268005, 0.053222425282001495, -0.704252302646637, -0.34299376606941223, 0.22014322876930237, -0.34071582555770874, 0.3775828778743744, 0.3018929958343506, -0.25820192694664, 0.6722985506057739, 1.1059869527816772, 0.076819509267807, -0.21481047570705414, 0.12996596097946167, 0.8054028749465942, -0.5894113779067993, -0.42886295914649963, -0.8834295868873596, 0.22337618470191956, 0.04646151885390282, -0.2172793447971344, 0.5837763547897339, 0.9666212201118469, 0.8230159282684326, 0.00770682143047452, 0.744411051273346, 0.2572813630104065, 0.40479961037635803, -0.509848415851593, 0.44562745094299316, -0.5852909088134766, 0.34154289960861206, -0.20820771157741547, -1.168209195137024, -0.41602474451065063, 0.7720186710357666, -0.42734378576278687, 0.06320550292730331, 0.7307663559913635, 1.3005092144012451, -0.057143427431583405, 0.2532304525375366, 0.33753496408462524, -0.0975365936756134, 0.4308139383792877, 0.6871080994606018, 0.9009168744087219, -0.16480030119419098, 0.3203386962413788, -0.24692241847515106, -0.3799642324447632, -0.2562194764614105, -0.9364736080169678, -0.8102793097496033, -0.4265877306461334, -0.38456425070762634, -0.43207070231437683, -0.185532808303833, 1.2997994422912598, 0.8204851746559143, -0.9101689457893372, -0.2763955593109131, -0.2807869613170624, -0.06255311518907547, -0.06141364946961403, -0.33600515127182007, 0.4607309103012085, -0.3292352557182312, -0.46605950593948364, 0.3902479112148285, 0.2626679539680481, 0.07157216221094131, -0.292900413274765, -0.31388309597969055, 0.17719270288944244, 0.382355272769928, 0.7360706925392151, -0.03907578065991402, -0.9271640181541443, -0.46503740549087524, 0.1720357984304428, -0.09368528425693512, 0.2911908030509949, 0.7908210158348083, -1.1354992389678955, 0.47647204995155334, 0.46595388650894165, 0.5222960114479065, 0.5873822569847107, 0.21594268083572388, 0.5267512798309326, -0.2972250282764435, -0.34513941407203674, 0.6610745191574097, 0.18640613555908203, 0.41761264204978943, -0.38246068358421326, 0.5011367201805115, 0.07914276421070099, -0.5973258018493652, -1.1022156476974487, 0.07273011654615402, -1.171938180923462, -0.16124208271503448, 1.0826271772384644, 0.23149599134922028, -0.3290928900241852, 0.03622135892510414, -0.5497298836708069, 0.08525063842535019, -0.45069774985313416, 1.090011477470398, 0.6165458559989929, -0.3548664152622223, 0.18687456846237183, -0.2491268664598465, 0.7744413018226624, 0.7462928295135498, -0.8731911778450012, 0.25345802307128906, 0.5474806427955627, 0.28436291217803955, 0.24813212454319, 0.326792448759079, -0.10864858329296112, 0.525977373123169, -0.3844989538192749, -0.1580677330493927, -0.062469106167554855, -0.12914931774139404, -0.06928616762161255, 0.32685840129852295, 0.2273574024438858, 0.18522052466869354 ]
http://arxiv.org/abs/2406.19934v1
http://arxiv.org/pdf/2406.19934v1
From the Least to the Most: Building a Plug-and-Play Visual Reasoner via Data Synthesis
2024-06-28T14:04:10
2024-06-28T14:04:10
Chuanqi Cheng, Jian Guan, Wei Wu, Rui Yan
cs.CL
cs.CL, cs.AI
We explore multi-step reasoning in vision-language models (VLMs). The problem is challenging, as reasoning data consisting of multiple steps of visual and language processing are barely available. To overcome the challenge, we first introduce a least-to-most visual reasoning paradigm, which interleaves steps of decomposing a question into sub-questions and invoking external tools for resolving sub-questions. Based on the paradigm, we further propose a novel data synthesis approach that can automatically create questions and multi-step reasoning paths for an image in a bottom-up manner. Our approach divides the complex synthesis task into a few simple sub-tasks, and (almost entirely) relies on open-sourced models to accomplish the sub-tasks. Therefore, the entire synthesis process is reproducible and cost-efficient, and the synthesized data is quality guaranteed. With the approach, we construct $50$k visual reasoning examples. Then, we develop a visual reasoner through supervised fine-tuning, which is capable of generally enhancing the reasoning abilities of a wide range of existing VLMs in a plug-and-play fashion. Extensive experiments indicate that the visual reasoner can consistently and significantly improve four VLMs on four VQA benchmarks. Our code and dataset are available at https://github.com/steven-ccq/VisualReasoner.
[ -0.710404098033905, -0.7486435174942017, 0.9903304576873779, -0.1107078343629837, -0.20530235767364502, -0.1455598622560501, 0.0789695754647255, -0.3065401017665863, -0.28782159090042114, 0.6404808759689331, -0.6611457467079163, -0.5818450450897217, -0.08879723399877548, 0.08157500624656677, -0.5080235600471497, 0.4899761378765106, -0.1452590674161911, -0.01880585215985775, -0.5114811062812805, -0.05035034567117691, -0.3852688670158386, -0.23413853347301483, -0.33298003673553467, -0.14192767441272736, 0.7136330604553223, 0.622160792350769, 0.41853755712509155, 0.6887942552566528, 0.4628335237503052, 0.32446855306625366, 0.056805744767189026, 0.5533984303474426, -0.45011278986930847, 0.1629461646080017, -0.24711081385612488, -0.6216524839401245, -0.10550588369369507, -0.17067961394786835, 0.009815486147999763, 0.42643314599990845, 0.18093475699424744, 0.285659521818161, -0.4160935878753662, 0.9734885096549988, -0.670886218547821, 0.0671767145395279, -0.7179411053657532, 0.03726732358336449, -0.053210996091365814, -0.12888482213020325, -0.6289475560188293, -0.20475302636623383, -0.10899656265974045, -0.7149088382720947, 0.21841496229171753, 0.21690206229686737, 0.7415792942047119, 0.5083187222480774, -0.4698719382286072, 0.2808949053287506, -0.8059687614440918, 0.7581702470779419, -0.3701504170894623, 0.5892652273178101, -0.05845043435692787, 0.77944016456604, -0.1759847104549408, -0.7504826188087463, -0.7604269981384277, -0.02351961098611355, 0.06026763096451759, 0.14421765506267548, -0.30018991231918335, -0.17026527225971222, 0.6903647780418396, 0.21460388600826263, -0.801750123500824, -0.4627218544483185, -0.5623037815093994, -0.002707052743062377, 0.6096527576446533, 0.47194910049438477, 0.27062806487083435, -0.07166191190481186, -0.3357775807380676, -0.16516676545143127, -0.7641533613204956, 0.14757348597049713, -0.05754319950938225, 0.1090761125087738, 0.1657627522945404, 0.8809109926223755, -0.362659752368927, 1.069366455078125, -0.07035509496927261, -0.14518727362155914, -0.15828655660152435, -0.7092786431312561, -0.41098523139953613, -0.21471081674098969, 0.46780818700790405, 0.7333775162696838, 0.21572043001651764, 0.2558888792991638, -0.25263601541519165, 0.35020267963409424, 0.40010496973991394, -0.691430926322937, -0.5666046142578125, 0.3335290253162384, -0.3241104185581207, -0.3734002113342285, -0.3408093750476837, -0.5276858806610107, -0.544185996055603, -0.8751315474510193, 0.32335537672042847, -0.3724290430545807, 0.18105047941207886, 0.07457899302244186, -0.21008515357971191, 0.3706821799278259, 0.7764447927474976, -0.4244225025177002, 0.08494756370782852, 0.3749682307243347, 0.6300182938575745, 0.007271171547472477, -0.29948386549949646, -0.5579564571380615, 0.04844367504119873, -0.9128274321556091, 1.0600926876068115, -0.2221411168575287, -0.023597044870257378, -0.20942452549934387, -0.06554967164993286, 0.25807034969329834, -0.5178403854370117, 0.24393939971923828, -0.2324012666940689, 0.24031950533390045, -0.555107593536377, -0.37261372804641724, -0.2318158745765686, 0.2685874402523041, -0.607377827167511, 0.8466546535491943, 0.025507591664791107, -0.5888805985450745, 0.5682904124259949, -0.4310656487941742, -0.3878302574157715, 0.10803796350955963, -0.2998468279838562, -0.17998135089874268, 0.25182101130485535, 0.607521116733551, 0.18718509376049042, -0.49157556891441345, 0.09601838886737823, -0.2628297805786133, -0.32790765166282654, 0.06969495117664337, -0.30024364590644836, 0.7885667085647583, 0.15721817314624786, -0.2502468228340149, 0.3757024109363556, -1.1775391101837158, 0.03731350228190422, 0.3771299421787262, -0.21346889436244965, -0.19765853881835938, 0.03360358998179436, 0.15405912697315216, 0.4245784878730774, -0.028932780027389526, -0.45234033465385437, 0.2175043672323227, -0.07456459850072861, 0.38010016083717346, 0.5698638558387756, -0.08976831287145615, 0.3338986337184906, -0.1558767706155777, 0.28900256752967834, 0.2514515221118927, 0.5500625371932983, -0.43989887833595276, -0.5622013807296753, -1.1570202112197876, -0.19405509531497955, -0.16046379506587982, 0.6341922879219055, -1.1410491466522217, 0.03443874418735504, 0.10162816941738129, -0.6128467917442322, -0.4473985731601715, 0.11776331812143326, 0.21296676993370056, 0.7084349989891052, 0.6076115369796753, -0.03496016561985016, -0.49648937582969666, -0.8813698887825012, -0.235290989279747, -0.1483323872089386, 0.09772051125764847, 0.2956375181674957, 0.5251736640930176, -0.05899668112397194, 0.9158899188041687, -0.728744626045227, -0.14591874182224274, -0.3230038583278656, -0.1386393904685974, 0.3279634714126587, 0.3631182610988617, 0.5370402932167053, -0.8274403810501099, -0.3203628659248352, 0.04496992006897926, -0.8490200638771057, -0.039010729640722275, -0.3665412664413452, -0.33893367648124695, 0.10011353343725204, 0.8018822073936462, -0.7373411059379578, 0.7198674082756042, 0.19120922684669495, -0.2757430374622345, 0.5804070234298706, -0.15869709849357605, 0.09398447722196579, -0.6178062558174133, -0.061164490878582, 0.18941985070705414, -0.3629249334335327, -0.7499881982803345, 0.21685363352298737, -0.16977477073669434, -0.17507217824459076, -0.5878869891166687, 0.41925156116485596, -0.28454703092575073, 0.0738830417394638, -0.12258484214544296, -0.13842140138149261, 0.2314353585243225, 0.5301858186721802, -0.0255572609603405, 0.553880512714386, 0.8885223269462585, -0.6327003836631775, 0.7864105105400085, 0.17924056947231293, -0.502070426940918, 0.6588903665542603, -0.9286988973617554, 0.05404927581548691, -0.30675259232521057, 0.027377337217330933, -1.1775853633880615, -0.4066231846809387, 0.2846956253051758, -0.17953291535377502, -0.2159651666879654, -0.5636239647865295, -0.4369392693042755, -0.41421279311180115, 0.019956929609179497, 0.27802062034606934, 0.44530314207077026, -0.6994755268096924, 0.7395690083503723, 0.2001154124736786, -0.02773101069033146, -0.15018293261528015, -0.8778547048568726, 0.2685528099536896, -0.07141818106174469, -0.7650498151779175, 0.025093484669923782, -0.36124637722969055, -0.3504085838794708, -0.06998837739229202, -0.13253000378608704, -0.11932481825351715, -0.3500722348690033, 0.13005994260311127, 0.43445152044296265, -0.24192661046981812, -0.12180924415588379, 0.03594276309013367, -0.28251880407333374, -0.006626485846936703, -0.516144335269928, 0.039019785821437836, -0.28744077682495117, -0.7167924046516418, -0.08565867692232132, 0.2939718961715698, 0.9301859140396118, -0.37406685948371887, 0.19649407267570496, 0.4752150774002075, -0.28985729813575745, -0.4751744568347931, -0.46990278363227844, 0.0775199756026268, -0.42222335934638977, -0.03435857221484184, -0.5709601044654846, -0.5882696509361267, 0.19260162115097046, -0.12929029762744904, 0.3555625379085541, -0.029506664723157883, 0.6650545597076416, -0.20216789841651917, 1.3704266548156738, 0.3645893335342407, 0.590786337852478, 0.29979923367500305, -0.24285537004470825, 0.45356786251068115, -0.38700205087661743, -0.3075937330722809, -0.0200472604483366, -0.1284720003604889, -0.37336352467536926, -0.8399420976638794, 0.5876299142837524, -0.08735030144453049, -0.13091862201690674, 0.2643706500530243, -0.6988880038261414, 0.6444143056869507, 0.7664148807525635, 0.1278468519449234, 0.18991237878799438, 0.0009653236484155059, -0.15084931254386902, 0.030999770388007164, -0.7009239196777344, -0.3440479338169098, 0.8499076962471008, -0.11694016307592392, 0.6733957529067993, -0.05407313257455826, 0.6337255239486694, -0.1607375293970108, -0.17138411104679108, -0.8967559933662415, 0.772869348526001, -0.10569126904010773, -0.44018271565437317, -0.3036820590496063, -0.21835200488567352, -0.47480112314224243, 0.631767988204956, -0.2516978979110718, -0.3360513150691986, 0.24250158667564392, 0.42064744234085083, -0.108253113925457, 0.1405487060546875, -0.68808913230896, 0.9906904101371765, -0.2376055121421814, -0.5358657240867615, 0.19392995536327362, -0.6916075348854065, 0.6477002501487732, 0.15296350419521332, 0.27432021498680115, 0.12003083527088165, 0.34767377376556396, 0.043314848095178604, -0.7605878710746765, 0.5256930589675903, -0.1818314641714096, 0.06305502355098724, 0.5134415030479431, 0.16131217777729034, 0.35050925612449646, -0.05566464364528656, 0.5230538845062256, -0.15609265863895416, -0.09277897328138351, -0.4509097933769226, -0.7026621699333191, 0.426347941160202, -0.0931604877114296, -0.5811381936073303, -0.18319524824619293, -0.4771307706832886, -0.18047405779361725, 0.38498133420944214, 0.20661482214927673, 0.46889087557792664, 0.15610447525978088, 0.039380453526973724, 0.792908787727356, -0.21695385873317719, 0.2615492343902588, 0.06468867510557175, -0.5491854548454285, -0.5252119302749634, 1.0555365085601807, -0.13419361412525177, 0.1163882315158844, 0.36933839321136475, 0.22664496302604675, -0.08714169263839722, -0.5151055455207825, -0.8069561719894409, -0.010058187879621983, -1.0296634435653687, 0.056680578738451004, -0.3460961878299713, 0.03246597200632095, -0.0498364195227623, -0.3484026789665222, -0.5740087032318115, -0.2869437038898468, 0.023713156580924988, -0.0046371412463486195, 0.3272828459739685, 0.6669098138809204, 0.01462477259337902, -0.17695273458957672, -0.5422130227088928, 0.8444383144378662, 0.7359825372695923, 0.051600467413663864, -0.19376824796199799, 0.05532197281718254, -0.04540104418992996, -0.20580655336380005, -0.058568380773067474, -0.5549603700637817, 0.2628547251224518, -0.34772002696990967, 0.3615727722644806, 0.06378217786550522, -0.057903945446014404, 1.0307010412216187, -0.7798726558685303, 1.0092031955718994, 0.44382381439208984, -0.9620577692985535, 0.8522061109542847, -0.10110209137201309, 0.4854007661342621, 0.3702244162559509, -0.04768241569399834, -0.11321231722831726, -0.4721134901046753, -0.2818486988544464, -1.0176141262054443, 0.4500553607940674, 0.37186190485954285, -0.29713332653045654, 0.29915153980255127, -0.021986037492752075, 0.05817218869924545, -0.023953191936016083, -0.4961404502391815, -0.238886296749115, -0.5002685189247131, -0.019904760643839836, 0.1455516368150711, 0.16515783965587616, -0.3201406002044678, -0.6254048347473145, 0.5143195390701294, -0.4512922167778015, 0.05639892816543579, 0.20963488519191742, -0.22877106070518494, -0.02873065695166588, 0.08788114786148071, 0.5981138348579407, 0.9540963172912598, 0.17188219726085663, 0.35649093985557556, -0.0002452332410030067, 0.023507894948124886, 0.12128041684627533, -0.06464708596467972, -0.4937443435192108, 0.21703393757343292, 0.37796759605407715, 1.0100173950195312, -0.10871603339910507, -0.6771547794342041, 0.5553309321403503, -0.29855069518089294, -0.3837621212005615, -0.14186647534370422, 0.11142253130674362, 0.18082404136657715, 0.5007646679878235, 0.05124635249376297, 0.43024423718452454, 0.1636042594909668, -0.27204978466033936, 0.23190951347351074, 0.1435750275850296, -0.27506792545318604, -0.05362189933657646, 0.8818831443786621, -0.21315769851207733, 0.14371860027313232, 0.5087130665779114, 0.02703818492591381, -0.2693239450454712, 0.4461556375026703, 0.12211257964372635, 0.539176881313324, 0.21836401522159576, 0.3669903874397278, 0.29243773221969604, 0.3617420196533203, -0.01679125800728798, 0.8618922829627991, -0.021698908880352974, -0.43849655985832214, -0.6331074237823486, -0.3078216016292572, -0.41352373361587524, 0.07144287973642349, -0.4367205798625946, 0.45609739422798157, -0.45967987179756165, 0.01575523614883423, 0.24824756383895874, -0.6325430274009705, -0.8194333910942078, 0.5998027324676514, 0.3786449730396271, 0.828254222869873, -0.811712384223938, 0.444970041513443, 0.9150922894477844, -0.7550299167633057, -0.6966136693954468, -0.4239300787448883, 0.13323360681533813, -0.6671372652053833, 0.5196508765220642, -0.061459314078092575, -0.24619050323963165, -0.20982912182807922, -1.0367498397827148, -0.6122806668281555, 0.9118421077728271, 0.5313747525215149, -0.6300076246261597, 0.16018404066562653, -0.07438474893569946, 0.5505823493003845, -0.2771456241607666, 0.018767276778817177, 0.4500722289085388, 0.4864955246448517, 0.5937755107879639, -0.47194793820381165, 0.033321261405944824, -0.3149537742137909, 0.17911788821220398, 0.0478862039744854, -0.35778263211250305, 0.9147161841392517, -0.6207026839256287, 0.01018309872597456, -0.04638826102018356, 0.43585023283958435, 0.5859158635139465, 0.5175849199295044, 0.4709404408931732, 0.7523337602615356, 0.4587441384792328, -0.10899509489536285, 1.007428765296936, -0.20560617744922638, 0.15104928612709045, 0.9692619442939758, -0.1480393409729004, 0.4776061475276947, 0.7678256630897522, -0.07693570107221603, 0.4081290066242218, 0.48925209045410156, -0.14423848688602448, 0.6579646468162537, 0.28406989574432373, 0.07786008715629578, -0.8816881775856018, -0.04485248029232025, 0.05740092322230339, 0.4442611038684845, 0.08108513057231903, -0.3207125961780548, -0.1761137992143631, -0.014398328959941864, -0.3497847616672516, -0.1661391407251358, -0.17357970774173737, 0.7184945344924927, 0.14513270556926727, -0.5682919025421143, 0.7480771541595459, -0.3777675926685333, -0.13015201687812805, -0.2701045870780945, -0.4803239405155182, -0.26442423462867737, 0.10835740715265274, -0.33964017033576965, -0.9037659764289856, 0.02749904803931713, 0.17018575966358185, -0.15850113332271576, -0.4541645050048828, 0.820252001285553, -0.42688655853271484, -0.6031118035316467, -0.1065516471862793, 0.6790205836296082, 0.20777438580989838, 0.007421660702675581, -0.5946596264839172, 0.17755678296089172, 0.0635625422000885, -0.31503424048423767, 0.08227717876434326, 0.6716787219047546, -0.1547871232032776, 0.7981522679328918, 1.0134865045547485, 0.24488452076911926, 0.23313966393470764, 0.35408666729927063, 0.9703903794288635, -0.7625246047973633, -0.3369748890399933, -0.7542603611946106, 1.0648316144943237, -0.09996217489242554, -0.286985844373703, 0.4925849437713623, 0.5893077254295349, 0.9289523363113403, -0.3525889217853546, 1.0953009128570557, 0.006506779231131077, 0.16484913229942322, -0.6281599998474121, 0.2446473240852356, -0.9271627068519592, 0.05173851177096367, -0.3946029543876648, -0.8443233370780945, -0.5159051418304443, 0.7019968628883362, 0.04439748078584671, -0.4222218990325928, 0.6664970517158508, 0.7605134844779968, -0.2533608675003052, 0.000027917078114114702, 0.5246638059616089, 0.15604448318481445, 0.6536224484443665, 0.6680120825767517, 1.0364718437194824, -0.3204745650291443, 0.6292983889579773, -0.3852848410606384, -0.16157129406929016, -0.03865461051464081, -0.879600465297699, -0.8855291604995728, -0.5393778085708618, -0.48624157905578613, -0.14637470245361328, -0.1953021138906479, 0.5970642566680908, 0.6724454164505005, -0.7496127486228943, 0.005629165098071098, -0.6161531209945679, 0.4353460967540741, -0.3527046740055084, -0.19605466723442078, -0.029973270371556282, -0.23808129131793976, -0.4794778525829315, 0.6507304906845093, 0.6964899301528931, -0.041027795523405075, -0.3328799307346344, 0.09669902920722961, 0.10969290882349014, 0.1630878448486328, 1.0472495555877686, 0.122487872838974, -0.9368204474449158, -0.18788686394691467, 0.05214536562561989, -0.03098995052278042, 0.1775970309972763, 0.8730708956718445, -0.78291255235672, 0.8740484714508057, 0.7986879944801331, 0.4203713536262512, 0.7243527770042419, -0.051403775811195374, 0.48387303948402405, -0.431397944688797, -0.21851381659507751, -0.02813437394797802, 0.5525358319282532, 0.383054256439209, -0.054079074412584305, 0.5510697364807129, 0.41313832998275757, -0.29891958832740784, -0.8804032206535339, 0.5159679055213928, -1.1176574230194092, -0.3938429355621338, 1.0352513790130615, 0.02215399406850338, -0.3484208285808563, -0.10998698323965073, -0.5489972829818726, 0.05079808458685875, -0.12190140783786774, 0.4022020697593689, 0.4999333620071411, -0.6489993333816528, -0.530695915222168, -0.49012988805770874, 0.3470103144645691, -0.057897549122571945, -1.0013222694396973, 0.09149015694856644, 1.0212068557739258, 0.21965521574020386, 0.2556604743003845, 0.3555050790309906, -0.08222691714763641, 0.3954692482948303, 0.36207905411720276, -0.08644258975982666, -0.3020712733268738, -0.76692795753479, 0.036447007209062576, 0.2632921040058136, -0.1164630874991417, -0.21825246512889862 ]
http://arxiv.org/abs/2406.19928v1
http://arxiv.org/pdf/2406.19928v1
Interactive Topic Models with Optimal Transport
2024-06-28T13:57:27
2024-06-28T13:57:27
Garima Dhanania, Sheshera Mysore, Chau Minh Pham, Mohit Iyyer, Hamed Zamani, Andrew McCallum
cs.CL
cs.CL, cs.HC, cs.IR
Topic models are widely used to analyze document collections. While they are valuable for discovering latent topics in a corpus when analysts are unfamiliar with the corpus, analysts also commonly start with an understanding of the content present in a corpus. This may be through categories obtained from an initial pass over the corpus or a desire to analyze the corpus through a predefined set of categories derived from a high level theoretical framework (e.g. political ideology). In these scenarios analysts desire a topic modeling approach which incorporates their understanding of the corpus while supporting various forms of interaction with the model. In this work, we present EdTM, as an approach for label name supervised topic modeling. EdTM models topic modeling as an assignment problem while leveraging LM/LLM based document-topic affinities and using optimal transport for making globally coherent topic-assignments. In experiments, we show the efficacy of our framework compared to few-shot LLM classifiers, and topic models based on clustering and LDA. Further, we show EdTM's ability to incorporate various forms of analyst feedback and while remaining robust to noisy analyst inputs.
[ -0.5395264029502869, -1.0684252977371216, 0.9122750163078308, -0.2247203290462494, -0.2549181282520294, 0.1196160688996315, -0.10964478552341461, -0.09966170787811279, 0.34738752245903015, 0.5773888826370239, -0.4687482416629791, -0.5762221217155457, -0.504814088344574, -0.2414930760860443, -0.6429910659790039, 1.0998992919921875, -0.18383271992206573, -0.23951803147792816, -0.41623154282569885, -0.004147229716181755, -0.12554754316806793, -0.6233479976654053, -0.5893508195877075, -0.1334051638841629, 0.6546629667282104, 0.2542050778865814, 0.5220549702644348, 0.8248816132545471, 0.7309548258781433, 0.3118850886821747, -0.4126422107219696, -0.023500973358750343, -0.5400692820549011, 0.2983906865119934, -0.6107632517814636, -0.4015357792377472, -0.5704699158668518, -0.006662245374172926, 0.5542389750480652, 1.0679608583450317, -0.34338730573654175, 0.007302658166736364, -0.08786439895629883, 0.1758667230606079, -0.3635450005531311, -0.0767606571316719, -0.6300682425498962, -0.15384909510612488, -0.2698361873626709, -0.47202691435813904, -0.46872445940971375, 0.00458381325006485, 0.23665842413902283, -0.7808579802513123, 0.11975953727960587, 0.09312044829130173, 0.8082658052444458, 0.34076496958732605, -0.8437635898590088, -0.6373117566108704, -0.8500906825065613, 0.6983599662780762, -0.06172892451286316, 0.33656173944473267, 0.5399245023727417, 0.05898405238986015, 0.08947917819023132, -0.7999847531318665, -0.08460760116577148, -0.06102367863059044, -0.07136775553226471, 0.3487541079521179, -0.2212841659784317, 0.017423709854483604, -0.07109727710485458, -0.011418049223721027, -0.32168492674827576, 0.41576331853866577, -0.2360435128211975, 0.07865843176841736, 0.544959306716919, 0.4054299592971802, 0.08853118866682053, -0.07977044582366943, -0.4480510950088501, 0.2612951099872589, -0.4764438569545746, -0.2891330420970917, 0.5260735154151917, 0.27815479040145874, -0.040096934884786606, 0.6501956582069397, -0.17927947640419006, 0.9184404015541077, 0.275541752576828, 0.12876452505588531, -0.27584779262542725, -0.38857758045196533, 0.08250676840543747, 0.12015513330698013, 0.25780701637268066, 0.2215568572282791, -0.3059788942337036, -0.1613752245903015, -0.14560137689113617, -0.2062218338251114, 0.45088502764701843, -0.9118183851242065, -0.3918030858039856, 0.41062217950820923, -0.39987871050834656, -0.27026426792144775, -0.10490771383047104, -1.039785623550415, -0.4295452833175659, -0.6978846788406372, 0.2087223082780838, -0.33450180292129517, -0.3597760498523712, -0.1758883148431778, 0.08982384204864502, 0.06825611740350723, 0.7238865494728088, -0.985420823097229, 0.19140353798866272, 0.7031621336936951, 0.8816922903060913, -0.6104447245597839, 0.19209682941436768, -0.5652593374252319, 0.5353890657424927, -0.22367218136787415, 1.44258451461792, -0.8367905616760254, -0.46944552659988403, -0.07767634838819504, -0.2190282940864563, -0.16996663808822632, -0.0738474428653717, 0.4668847322463989, -0.718336820602417, 0.1586197167634964, -0.0374305434525013, -0.9649465680122375, 0.04930548369884491, 0.3547365665435791, -0.46473515033721924, 0.837225615978241, 0.02740304358303547, -1.031373143196106, 0.18679188191890717, -1.1076445579528809, -0.018594911321997643, -0.12817156314849854, -0.05576205253601074, -0.09750967472791672, -0.1782716065645218, 0.08778070658445358, 0.5029659867286682, -0.009466961026191711, 0.7799054384231567, -0.28616949915885925, -0.15451762080192566, 0.31338831782341003, -0.28721192479133606, 0.5361841917037964, 0.48156464099884033, 0.236244797706604, 0.48560065031051636, -0.6728919744491577, -0.4386717677116394, -0.13355596363544464, -0.3278976082801819, -0.7292914390563965, 0.08893024176359177, 0.12808315455913544, -0.2163400501012802, 0.08806466311216354, -0.27195510268211365, 0.42295753955841064, -0.2579026222229004, 0.2183404415845871, 1.011745572090149, 0.31880441308021545, 0.697894811630249, -0.12642717361450195, 0.72686368227005, 0.07436183094978333, -0.11352789402008057, -0.12332136183977127, -0.2420506328344345, -0.7748920917510986, -0.5333542823791504, 0.6638707518577576, 0.48014312982559204, -0.6601414680480957, 0.21839746832847595, -0.2855553925037384, -0.5015180110931396, -0.23119576275348663, -0.2763393819332123, -0.3207511007785797, 0.2834542393684387, 0.15690523386001587, -0.10677572339773178, -0.08780167251825333, -0.86961829662323, -0.05538173019886017, -0.2560780942440033, 0.014966391026973724, 0.14741875231266022, 0.33939415216445923, -0.1685689389705658, 1.226675271987915, -0.8786963224411011, -0.08650360256433487, -0.31195908784866333, 0.30691567063331604, 0.012724931351840496, 0.2878461182117462, 0.6130921840667725, -0.9479478597640991, -0.48027265071868896, -0.07038594782352448, -0.4611804783344269, -0.489589661359787, -0.33935004472732544, -0.6536218523979187, 0.03714211657643318, 0.5819492936134338, -0.41788795590400696, 0.3115510046482086, 0.10001412779092789, -0.454226553440094, 0.041059356182813644, -0.24068528413772583, -0.08396749943494797, -1.318468689918518, 0.08612916618585587, 0.10208617150783539, -0.39908483624458313, -0.7069494724273682, -0.031524352729320526, -0.25879719853401184, -0.3567101061344147, -0.49004998803138733, 0.6960078477859497, -0.37799757719039917, 0.07125984132289886, -0.5287443399429321, 0.5048761963844299, -0.16895833611488342, 0.3852365016937256, 0.31724879145622253, 0.4857330322265625, 0.5906780958175659, -0.5375597476959229, 0.23525750637054443, 0.35622891783714294, -0.06552009284496307, 0.9382498860359192, -0.42259863018989563, 0.21419090032577515, -0.288177490234375, 0.14682753384113312, -0.9901351928710938, -0.13780568540096283, 0.32871386408805847, 0.062676340341568, 0.8384897112846375, -0.3210613429546356, -0.3661346733570099, 0.0925973579287529, -0.06893713772296906, 0.08143895119428635, 0.20282895863056183, -0.42376911640167236, 0.5991836190223694, 0.7544702887535095, -0.5270100235939026, -0.25661998987197876, -0.19316928088665009, 0.0035048143472522497, -0.708396315574646, -0.2610683739185333, 0.6490186452865601, -0.23282656073570251, -0.4146862030029297, 0.2766764760017395, 0.06369084864854813, -0.31061357259750366, 0.3151566982269287, 0.25116652250289917, 0.17930126190185547, 0.19134268164634705, 0.3813367486000061, 0.22526898980140686, -0.35158416628837585, -0.07699202001094818, 0.028383372351527214, 0.4388332962989807, 0.020787278190255165, -0.5040591955184937, -0.10141292214393616, 0.6857686638832092, 0.2893979847431183, -0.28491854667663574, 0.8716911673545837, 0.5363410115242004, -0.2139682173728943, -0.13778410851955414, -0.17572496831417084, -0.20844170451164246, -0.4378441870212555, 0.5182818174362183, -0.532533586025238, -0.6337769031524658, 0.488567978143692, -0.4945964515209198, 0.044391606003046036, 0.5158686637878418, 0.7367554903030396, -0.13959191739559174, 0.7299467325210571, 1.0483834743499756, 0.26975110173225403, 0.5523322820663452, -0.33336150646209717, 0.2686089277267456, -0.7831979393959045, -0.11878176778554916, -0.7092414498329163, -0.2151743322610855, -0.5403543710708618, -0.3314856290817261, 0.27766767144203186, 0.20428982377052307, -0.1972327083349228, 0.08290303498506546, -0.5577478408813477, 0.25389564037323, 0.5067857503890991, -0.02335531823337078, 0.3281199634075165, 0.22013935446739197, -0.14302733540534973, 0.07979651540517807, -1.0159357786178589, -0.7689252495765686, 1.0015501976013184, 0.4315730333328247, 0.908096432685852, 0.05063125118613243, 0.7465121746063232, 0.40841957926750183, 0.8127837777137756, -0.6985752582550049, 0.6920968294143677, -0.07010193914175034, -0.5981481075286865, -0.24814473092556, -0.24999022483825684, -0.9708407521247864, 0.3472277820110321, -0.029296714812517166, -0.8529585599899292, 0.2835477292537689, -0.12026523053646088, -0.16639380156993866, 0.49424979090690613, -0.21280764043331146, 0.6800446510314941, -0.22353695333003998, -0.639694333076477, -0.13796570897102356, -0.46454504132270813, 0.0846700668334961, -0.4683431386947632, 0.3031376898288727, -0.26425600051879883, -0.3651944398880005, 0.986634373664856, -0.1049395278096199, 0.8111856579780579, -0.08663379400968552, -0.24198183417320251, 0.25923699140548706, 0.027245759963989258, 0.17991799116134644, -0.009528441354632378, -0.43252065777778625, -0.07819864153862, 0.1418701857328415, -0.13587813079357147, -0.40794774889945984, 0.7301446199417114, -0.8019501566886902, -0.9699434638023376, -0.5145132541656494, -0.6805207133293152, 0.03314022347331047, 0.06019764393568039, 0.0861937627196312, 0.44881194829940796, -0.23515473306179047, 0.1337498128414154, 0.49805861711502075, -0.22219526767730713, 0.35838407278060913, 0.7594510912895203, -0.36074355244636536, -0.08036596328020096, 0.8701299428939819, 0.4318758547306061, 0.09097462892532349, 0.6301257014274597, 0.0622369684278965, -0.32060766220092773, -0.7789915800094604, -0.38367512822151184, 0.03137751296162605, -1.0362778902053833, -0.1504354327917099, -1.0846328735351562, -0.17235225439071655, 0.12419446557760239, -0.40693461894989014, -0.4512629508972168, -0.4515407681465149, -0.6752002239227295, -0.3501187264919281, 0.5700582265853882, 0.4652460515499115, -0.19374538958072662, 0.40425175428390503, -0.5044764280319214, 0.23514875769615173, 0.05643768981099129, 0.24651376903057098, -0.2059425264596939, -0.5943769216537476, -0.27445536851882935, -0.09161276370286942, -0.8101802468299866, -1.2218283414840698, 0.4029778242111206, 0.024676747620105743, 0.9090781211853027, 0.42004162073135376, 0.6747413277626038, 0.353546679019928, -0.20505346357822418, 0.679531991481781, -0.22237136960029602, -0.9298133254051208, 0.7840738296508789, -0.6638160347938538, -0.2087055742740631, 0.37018537521362305, 0.6278373599052429, -0.1659838855266571, -0.7316446900367737, -0.5892600417137146, -1.0571873188018799, 0.7333863377571106, 0.4898318350315094, 0.09003797173500061, -0.06574471294879913, 0.2821051776409149, 0.22209203243255615, 0.28782448172569275, -0.6345153450965881, -0.1441337615251541, -0.09597209841012955, -0.35681748390197754, 0.14894162118434906, -0.30109044909477234, -0.10671848058700562, -0.14536592364311218, 0.7981750965118408, -0.11539776623249054, 0.399377703666687, 0.15005537867546082, -0.011204673908650875, -0.06606575846672058, 0.34533992409706116, 0.5290226936340332, 0.974671483039856, -0.5793159008026123, 0.20855385065078735, -0.09220119565725327, 0.00016523014346603304, 0.3354409635066986, 0.2962909936904907, -0.25179556012153625, 0.09972114115953445, 0.19446849822998047, 0.7964721918106079, -0.0432492196559906, -0.4187798798084259, 0.06338458508253098, 0.25622475147247314, -0.013383178040385246, -0.18445999920368195, -0.05111506208777428, 0.4073226749897003, 0.18467463552951813, 0.21408309042453766, -0.27345186471939087, 0.1511445939540863, -0.4777495861053467, 0.2948421239852905, 0.33497101068496704, -0.4186416268348694, -0.120960533618927, 1.040911316871643, 0.4263804852962494, -0.33313891291618347, 0.6010506749153137, -0.10984083265066147, -0.5877894163131714, 0.8799529671669006, 0.38555771112442017, 0.6662377119064331, -0.21785718202590942, 0.40794259309768677, 0.11949902772903442, 0.10516775399446487, 0.28040048480033875, -0.061343591660261154, 0.07082606106996536, -0.6477797031402588, -0.022620409727096558, -0.6702364683151245, -0.69515460729599, -0.21893355250358582, -0.7353788614273071, 0.4046166241168976, 0.11917390674352646, -0.3747098743915558, 0.26815998554229736, 0.057346854358911514, -0.5385898947715759, -0.13709521293640137, -0.021929405629634857, 0.7276787161827087, -0.7644373774528503, 0.8811025619506836, 0.9492947459220886, -0.10844232141971588, -0.263771116733551, 0.06170707568526268, -0.273452490568161, -0.28352704644203186, 0.657252848148346, 0.023630497977137566, 0.28090471029281616, 0.3117057979106903, -0.31507399678230286, -0.9035077691078186, 1.0638861656188965, 0.2977520525455475, -0.33134540915489197, 0.28051647543907166, -0.027281180024147034, 0.5304791331291199, -0.5250237584114075, 0.3809207081794739, 0.04543057084083557, 0.5813854932785034, 0.16713161766529083, -0.5667169690132141, -0.2029566913843155, -0.1025770828127861, -0.11975723505020142, 0.3829714059829712, -0.7181410193443298, 0.7477918863296509, 0.009842013008892536, -0.05634589120745659, -0.14098578691482544, 0.6926812529563904, 0.16812261939048767, 0.6372318863868713, 0.47108006477355957, 0.3053978681564331, 0.8488357067108154, 0.045981232076883316, 1.145242691040039, -0.22897905111312866, 0.5243721008300781, 1.029374122619629, -0.5722036957740784, 0.7203741073608398, 0.5391124486923218, -0.16585773229599, 0.17629997432231903, 1.1675324440002441, -0.01955338567495346, 0.8789117336273193, 0.3514350652694702, -0.0653461441397667, -0.2681242525577545, -0.5136637687683105, -0.27567169070243835, 0.4071487486362457, 0.5891950726509094, -0.17811453342437744, -0.4004357159137726, 0.31723734736442566, -0.13450299203395844, 0.08464869111776352, -0.34500670433044434, 0.823648989200592, 0.03938773274421692, -0.40712136030197144, 0.1396762579679489, 0.3748558759689331, 0.32920706272125244, -0.5373534560203552, 0.16804221272468567, -0.4914730191230774, -0.10366231948137283, 0.10131377726793289, -0.897334635257721, 0.6296011209487915, 0.1311594396829605, -0.13554371893405914, -0.5510070323944092, 0.8432944416999817, -0.6484770774841309, -0.7381883859634399, 0.15269999206066132, 0.7014894485473633, 0.30988994240760803, 0.14619721472263336, -0.46295520663261414, 0.04765172302722931, -0.06307379901409149, -0.7235801219940186, 0.5516777634620667, 0.4372783303260803, -0.189814031124115, 0.901485025882721, 0.48231393098831177, -0.15572918951511383, -0.2202359437942505, -0.25768303871154785, 0.9279696941375732, -0.5098512172698975, -0.7935815453529358, -0.7769544124603271, 0.33953970670700073, -0.1548500806093216, 0.17216046154499054, 0.5140688419342041, 0.5624664425849915, 0.33476027846336365, -0.0019589976873248816, 0.5085365772247314, 0.221722811460495, 0.5446746349334717, -0.7049192786216736, 0.6486467123031616, -0.7404153347015381, 0.6479748487472534, -0.19235959649085999, -0.9980982542037964, -0.0274841096252203, 0.6461923718452454, -0.38156628608703613, -0.13841257989406586, 0.6800519227981567, 0.5460479259490967, -0.4667067527770996, -0.006355203688144684, 0.04013683274388313, 0.09652124345302582, 0.5633706450462341, 0.4198281466960907, 1.0248476266860962, 0.2507608234882355, 0.31484895944595337, -0.34409666061401367, -0.08553503453731537, -0.2517319321632385, -1.0309303998947144, -1.0664907693862915, -0.601447582244873, -1.0358164310455322, 0.07764559239149094, 0.059320684522390366, 0.8296265006065369, 0.7358787059783936, -0.4991140067577362, -0.0705970823764801, 0.08276195079088211, 0.41453438997268677, 0.20811647176742554, -0.26952221989631653, 0.9382558465003967, 0.054339874535799026, -0.9083857536315918, 0.11476568132638931, 0.29603397846221924, 0.17439821362495422, -0.13284794986248016, 0.397794634103775, -0.23710818588733673, 0.387935608625412, 0.4675854444503784, -0.2713167667388916, -0.5562270879745483, -0.27738717198371887, -0.08389858156442642, -0.11894375830888748, -0.12806572020053864, 0.7389129400253296, -0.5546793341636658, 0.27772653102874756, 0.31068024039268494, 0.6918933391571045, 0.7103744149208069, 0.4102539122104645, 0.5628980398178101, -0.5391988158226013, 0.397021621465683, 0.11428643763065338, 0.16846488416194916, 0.1476152539253235, -0.5143475532531738, 0.7017602324485779, 0.2601569890975952, -0.449726402759552, -1.0500891208648682, 0.09906096011400223, -1.250116229057312, -0.6017575860023499, 1.1985111236572266, -0.08778279274702072, 0.0742870643734932, -0.21838784217834473, -0.33526235818862915, 0.2909240424633026, -0.4196477234363556, 0.6086552143096924, 0.8336544632911682, -0.2596924602985382, -0.32755574584007263, -0.7865855097770691, 0.10222518444061279, 0.14955781400203705, -1.0210669040679932, -0.07325703650712967, 0.36908915638923645, 0.12627467513084412, -0.03240245208144188, 0.7121266722679138, 0.3648695647716522, -0.5257805585861206, -0.19541878998279572, -0.28534969687461853, -0.1015646904706955, -0.4374929666519165, 0.04835444688796997, 0.4068526327610016, -0.18002529442310333, -0.10924027860164642 ]
http://arxiv.org/abs/2406.19898v1
http://arxiv.org/pdf/2406.19898v1
Paraphrase Types Elicit Prompt Engineering Capabilities
2024-06-28T13:06:31
2024-06-28T13:06:31
Jan Philip Wahle, Terry Ruas, Yang Xu, Bela Gipp
cs.CL
cs.CL
Much of the success of modern language models depends on finding a suitable prompt to instruct the model. Until now, it has been largely unknown how variations in the linguistic expression of prompts affect these models. This study systematically and empirically evaluates which linguistic features influence models through paraphrase types, i.e., different linguistic changes at particular positions. We measure behavioral changes for five models across 120 tasks and six families of paraphrases (i.e., morphology, syntax, lexicon, lexico-syntax, discourse, and others). We also control for other prompt engineering factors (e.g., prompt length, lexical diversity, and proximity to training data). Our results show a potential for language models to improve tasks when their prompts are adapted in specific paraphrase types (e.g., 6.7% median gain in Mixtral 8x7B; 5.5% in LLaMA 3 8B). In particular, changes in morphology and lexicon, i.e., the vocabulary used, showed promise in improving prompts. These findings contribute to developing more robust language models capable of handling variability in linguistic expression.
[ -0.22567526996135712, -0.7429918646812439, 0.8898124098777771, 0.6747481822967529, 0.07954654842615128, -0.06707235425710678, 0.025037264451384544, -0.21281833946704865, -0.06293681263923645, 0.4612039029598236, -0.27691274881362915, -0.21041816473007202, -0.5381982922554016, 0.7580076456069946, -0.2413495033979416, 0.8756211400032043, -0.181610107421875, -0.1306818723678589, -0.03233885392546654, -0.09828382730484009, -0.8270704746246338, -0.702415943145752, -0.21470366418361664, 0.0030364578124135733, 0.6874054670333862, 0.37183481454849243, 1.112595558166504, 0.5844092965126038, 0.3748369514942169, 0.3550492525100708, -0.5356979370117188, -0.06986556947231293, -0.026345806196331978, 0.5906886458396912, -0.2884311079978943, -0.6803537011146545, 0.039190009236335754, -0.11191803961992264, 0.6712449789047241, 0.7850377559661865, -0.09295390546321869, -0.05135800689458847, 0.35339421033859253, 0.24037662148475647, -0.5316655039787292, 0.4456325173377991, -0.715940535068512, -0.3136645555496216, -0.0814490094780922, -0.2656678259372711, -0.3825564682483673, -0.5304766297340393, 0.31499361991882324, -0.4952603280544281, 0.13977652788162231, 0.07874489575624466, 0.8457115292549133, 0.06283701956272125, -0.27072352170944214, -0.5494768619537354, -0.2288391888141632, 0.77237468957901, -0.949556291103363, 0.19236460328102112, 0.33281511068344116, 0.11047723889350891, -0.31693026423454285, -0.5114611983299255, -0.1305028200149536, -0.6562643051147461, -0.39407870173454285, -0.4161113202571869, 0.01738053187727928, 0.23328280448913574, 0.40517348051071167, 0.20654010772705078, -0.27577921748161316, 0.17008623480796814, -0.10801972448825836, -0.2778746783733368, 0.15925094485282898, 0.40029171109199524, 0.770688533782959, -0.6446027159690857, 0.0787942111492157, -0.1310940384864807, -0.6281602382659912, 0.5091443061828613, 0.30996087193489075, 0.46420085430145264, -0.07834579050540924, 0.5876339673995972, -0.459214985370636, 0.7649838328361511, 0.008950955234467983, -0.09153539687395096, 0.07898439466953278, -0.5510886311531067, -0.008421908132731915, -0.37212780117988586, 0.4488418698310852, 0.18063491582870483, 0.16548380255699158, -0.08000512421131134, -0.47340065240859985, -0.2401692420244217, -0.05208874121308327, -0.5097816586494446, -0.17253026366233826, -0.1327940970659256, -0.4617505967617035, -0.258903443813324, -0.1898789256811142, -0.7723801136016846, -0.723510205745697, -0.3753499388694763, 0.20558205246925354, -0.5659248232841492, -0.06707073003053665, 0.22055241465568542, -0.5979042649269104, 0.3840525448322296, 0.287270188331604, -1.051008939743042, -0.09668730199337006, 0.6906369924545288, 1.0311509370803833, -0.08714441955089569, -0.49983879923820496, -0.4670295715332031, -0.36398136615753174, -0.3638209104537964, 0.8843443393707275, -1.0207901000976562, -0.6170943379402161, 0.08100426197052002, -0.05715078115463257, -0.5296043753623962, -0.5503374338150024, 0.6013995409011841, -0.2319362312555313, 0.20337310433387756, -0.5518859028816223, -0.3145400583744049, -0.22101199626922607, -0.21515414118766785, -0.674691379070282, 0.8114005327224731, 0.06174014136195183, -0.6573437452316284, 0.15472102165222168, -0.5549585819244385, -0.3698880970478058, -0.013234520331025124, -0.13496540486812592, -0.03826317936182022, 0.6825927495956421, 0.3858795166015625, 0.37967002391815186, -0.44740167260169983, 0.35904765129089355, -0.2912901043891907, -0.06342168897390366, 0.7589422464370728, -0.15185298025608063, 0.740269660949707, 0.20882131159305573, -0.2056758850812912, 0.07465213537216187, -0.6723953485488892, -0.29954156279563904, -0.06835666298866272, -0.1739388406276703, -0.47436973452568054, 0.004745013080537319, -0.21517401933670044, 0.3147003650665283, 0.19423456490039825, -0.32583919167518616, -0.03774009644985199, -0.2383417934179306, 0.6034637689590454, 0.6239665746688843, 0.49681711196899414, 0.5112453699111938, -0.7343193292617798, 0.9089983105659485, -0.1631898432970047, 0.122250996530056, -0.3472440242767334, -0.8887618184089661, -0.4774850904941559, -0.2823927402496338, 0.013360931538045406, 0.5438169836997986, -0.9152001142501831, -0.16425001621246338, 0.0024721967056393623, -0.6394466757774353, -0.47458773851394653, 0.0422528013586998, 0.31797608733177185, 0.6360430717468262, 0.39747169613838196, 0.28129902482032776, -0.24492336809635162, -1.0474841594696045, -0.8495280146598816, -0.17890062928199768, -0.007338081952184439, 0.1409323811531067, 0.26385238766670227, 0.32451966404914856, 0.9689559936523438, -0.23096728324890137, 0.47128474712371826, -0.6673974394798279, 0.42601990699768066, 0.2897507846355438, 0.2432986944913864, 0.9633878469467163, -0.6970093846321106, -0.5214759707450867, -0.14054091274738312, -0.649168848991394, -0.6473343968391418, -0.36249348521232605, 0.07018624246120453, -0.18379433453083038, 0.42524775862693787, -0.9199728965759277, 0.130126953125, 0.37772396206855774, -0.49037036299705505, 0.6989313364028931, -0.12870050966739655, 0.484609991312027, -0.8197309374809265, -0.22644630074501038, 0.010325989685952663, 0.22552891075611115, -0.6356743574142456, 0.3428700268268585, 0.21305105090141296, -0.3109833300113678, -0.6471568942070007, 0.6215275526046753, -0.4183235764503479, 0.07808450609445572, -0.1526726484298706, -0.09065970033407211, 0.08496996015310287, 0.2733510434627533, 0.04229572415351868, 1.117817759513855, 0.7464076280593872, -0.9236024618148804, -0.03191807121038437, 0.36260977387428284, -0.4468161165714264, 0.36149731278419495, -0.9399628043174744, 0.013243504799902439, -0.24873943626880646, -0.07173299789428711, -1.1463143825531006, -0.4766113758087158, -0.07112199813127518, -0.339758038520813, -0.06555666774511337, 0.1640942543745041, -0.5813452005386353, -0.030165620148181915, -0.42241260409355164, 0.025025077164173126, 0.5821934938430786, -0.32248353958129883, 0.6308775544166565, -0.16965335607528687, -0.7466973662376404, -0.11597882956266403, -0.45850130915641785, 0.31678566336631775, -0.5225384831428528, -0.5513483285903931, 0.17234531044960022, -0.12796077132225037, -0.473323792219162, -0.35117900371551514, -0.006667915731668472, -0.0855398178100586, 0.4330229163169861, 0.09935400635004044, 0.21253494918346405, -0.21601910889148712, 0.12025512009859085, 0.2874959707260132, 0.230601966381073, 0.06055913120508194, 0.025477753952145576, 0.5113643407821655, 0.09210950136184692, 0.11279140412807465, -0.5812646150588989, 0.36964353919029236, 0.7042087912559509, -0.4265938699245453, 0.8429073691368103, -0.10146286338567734, -0.0666009858250618, 0.028925202786922455, -0.4658162295818329, -0.29636797308921814, -0.5643242597579956, 0.40098822116851807, -0.7297794222831726, -0.8373950719833374, 0.6243153810501099, 0.2847880721092224, 0.2980422079563141, 0.46671217679977417, 0.35942503809928894, -0.1178145706653595, 0.869749903678894, 0.4945375323295593, 0.520671546459198, 0.7252374291419983, 0.5396808981895447, -0.005134357139468193, -0.6530103087425232, -0.07753006368875504, -0.9254357814788818, -0.16556040942668915, -0.619280993938446, -0.18473979830741882, 0.2850711941719055, 0.0906626433134079, -0.0008946888847276568, 0.662369430065155, -0.08039478957653046, 0.24211180210113525, 0.5676249265670776, 0.04412379488348961, 0.05509088560938835, -0.09711587429046631, -0.0429413802921772, -0.2351374477148056, -0.6884279847145081, -0.7537438869476318, 0.8367065787315369, 0.4031926691532135, 0.7202016115188599, 0.09071763604879379, 0.5727696418762207, 0.2817206382751465, -0.11234524101018906, -0.33332523703575134, 0.8064109683036804, 0.015729935839772224, -0.4544718861579895, -0.07475629448890686, -0.3322350084781647, -0.8757332563400269, 0.03900202363729477, 0.044040001928806305, -0.5773725509643555, 0.49057066440582275, 0.05503636971116066, -0.3657151162624359, 0.0012424003798514605, -0.720853328704834, 0.7943537831306458, -0.17153389751911163, 0.23486970365047455, -0.03671238571405411, -0.5298708081245422, -0.042995303869247437, -0.2994776666164398, 0.18572360277175903, -0.11055608838796616, -0.28517523407936096, 0.6188847422599792, -0.19480258226394653, 0.9679405689239502, -0.03709394857287407, -0.20346638560295105, 0.48566216230392456, 0.4727210998535156, 0.6598290801048279, -0.12061835080385208, -0.467581182718277, -0.162244513630867, -0.10827473551034927, -0.49045082926750183, -0.8692682981491089, 0.5081518292427063, -0.5917081236839294, -1.0284758806228638, 0.09106229245662689, -0.9231288433074951, -0.4209998548030853, -0.2997380793094635, 0.4334671199321747, 0.619931161403656, 0.19029508531093597, 0.42821064591407776, 0.484634131193161, -0.6435120105743408, 0.7547885775566101, 0.29316598176956177, 0.031536806374788284, -0.13827161490917206, 0.5556789040565491, 0.1652081310749054, 0.7752929925918579, 0.5166396498680115, 0.3438867926597595, -0.16809505224227905, -0.5756524801254272, -0.19474728405475616, 0.23357154428958893, -1.141821026802063, -0.05296970531344414, -0.951020359992981, 0.17951393127441406, -0.6613460779190063, -0.3116379976272583, 0.0858737975358963, -0.6521151065826416, -0.4829438030719757, -0.2982761561870575, 0.7708383202552795, 0.8271669745445251, 0.3018518090248108, 0.49719759821891785, -0.7395257949829102, 0.10679551959037781, 0.3444463908672333, -0.10223761945962906, -0.1443967968225479, -1.0519353151321411, 0.15429796278476715, -0.10627538710832596, -0.16557158529758453, -1.2702847719192505, 0.32870012521743774, 0.3093341886997223, 0.773123562335968, -0.24272891879081726, -0.0464610755443573, 0.28056326508522034, -0.38963228464126587, 1.2390637397766113, -0.003627537516877055, -1.0222238302230835, 0.5766416788101196, -0.5122132301330566, 0.44899982213974, 0.33632174134254456, 0.3699357509613037, -0.4685271978378296, -0.8012628555297852, -0.3195606470108032, -0.47054702043533325, 0.45566171407699585, 0.2391701638698578, 0.5235206484794617, -0.3357577919960022, 0.502339780330658, 0.4249207079410553, 0.11703439056873322, -0.6557528376579285, 0.010213141329586506, -0.23218828439712524, -0.2846822142601013, 0.14659391343593597, -0.32237035036087036, 0.3936291038990021, 0.1800730675458908, 0.27152958512306213, 0.18129797279834747, 0.014353117905557156, 0.07937487214803696, -0.31140193343162537, 0.5223628878593445, 0.6794726848602295, 0.7025222778320312, 0.6606212854385376, 0.14494343101978302, 0.0657254159450531, 0.28741905093193054, -0.15441422164440155, 0.23930087685585022, -0.0025189316365867853, -0.43891361355781555, 0.5079444646835327, 0.49031391739845276, 1.120558261871338, 0.5435658097267151, -0.5461605787277222, 0.047704584896564484, 0.26416078209877014, 0.06033862382173538, 0.5815854668617249, 0.2887808084487915, -0.162638857960701, 0.22961367666721344, 0.17945651710033417, 0.07245906442403793, 0.34692031145095825, -0.5678642392158508, -0.0753740593791008, 0.012838134542107582, -0.018184227868914604, -0.6431723833084106, 0.6138330101966858, 0.1739111840724945, -0.5776239633560181, 0.3270997405052185, -0.22227664291858673, -0.303233802318573, 0.6892281174659729, 0.5650274753570557, 1.066172480583191, -0.491174578666687, 0.4187504053115845, 0.12937399744987488, 0.2678793966770172, -0.19897258281707764, 0.21986344456672668, 0.12138548493385315, -0.36919474601745605, -0.24662703275680542, -0.610284149646759, -0.37418869137763977, -0.05459563061594963, -0.371939092874527, 0.5085378289222717, -0.3581123352050781, -0.1949167400598526, -0.09058969467878342, -0.8713239431381226, -0.8112236857414246, -0.010021008551120758, 0.02065390720963478, 0.7743346691131592, -0.7987154126167297, 0.5092076659202576, 0.9719159007072449, -0.6544245481491089, -0.9036374688148499, 0.039136309176683426, -0.15204913914203644, -0.6394268274307251, 0.8996120691299438, 0.2568075358867645, 0.1507578194141388, -0.0042407456785440445, -0.31589382886886597, -1.112135410308838, 0.6701669692993164, 0.45408669114112854, -0.3622322380542755, -0.5731306672096252, 0.20210902392864227, 0.4719138443470001, -0.4609348773956299, 0.2283875048160553, 0.5323065519332886, 0.2646419405937195, -0.33332106471061707, -1.2919645309448242, 0.07638514786958694, -0.015136857517063618, 0.5409486293792725, 0.09688502550125122, -0.08569569885730743, 1.2371783256530762, -0.17516952753067017, -0.15733690559864044, 0.417824923992157, 0.6458489894866943, 0.40185239911079407, -0.12811823189258575, 0.35868459939956665, -0.11963111162185669, 0.4106447398662567, 0.11246470361948013, 1.3580012321472168, -0.43132132291793823, 0.15206266939640045, 1.0723453760147095, -0.16546015441417694, 0.6298325061798096, 0.48609206080436707, 0.029980817809700966, 0.6497794389724731, 0.665420651435852, 0.3254309892654419, 0.5328323841094971, -0.10484423488378525, -0.10061675310134888, -0.2876216471195221, -0.29693999886512756, -0.22988781332969666, 0.236468106508255, 0.4219878911972046, -0.5435882806777954, -0.3877340853214264, 0.4336687922477722, 0.06281302869319916, 0.2603823244571686, -0.3951933979988098, 0.511553168296814, 0.06902703642845154, -1.0022920370101929, 0.659201979637146, -0.026981372386217117, 0.6402966976165771, -0.5606743693351746, 0.06351473182439804, -0.437385618686676, -0.33986952900886536, -0.006631944794207811, -0.8308190703392029, 0.19469715654850006, 0.06327952444553375, -0.020818429067730904, -0.37021130323410034, 0.4973539113998413, -0.06732829660177231, -0.34083491563796997, 0.09640822559595108, 0.37385252118110657, 0.0005348088452592492, -0.24556240439414978, -0.6682068109512329, 0.044210284948349, 0.042762406170368195, -0.31267663836479187, 0.2003771811723709, 0.7225529551506042, -0.2316284328699112, 0.64044588804245, 0.361564576625824, 0.06053488701581955, 0.5092085599899292, -0.07104287296533585, 0.5610164403915405, -0.6712043881416321, -0.5560561418533325, -0.8511745929718018, 0.5087576508522034, -0.02759910188615322, -0.6367433667182922, 0.907830536365509, 0.11351106315851212, 0.2965768277645111, -0.5533052682876587, 0.7386420965194702, -0.11213385313749313, 0.48755943775177, -0.6548708081245422, 0.21050338447093964, -0.21448129415512085, 0.2024347186088562, -0.3216082453727722, -1.0229239463806152, -0.0675547644495964, 0.2653414309024811, -0.573637068271637, -0.00804074015468359, 0.7864582538604736, 0.9060247540473938, 0.20689207315444946, -0.01296066865324974, 0.2582869231700897, 0.1111416220664978, 0.48368537425994873, 0.1575099527835846, 1.019322156906128, -0.10368483513593674, 0.4740409851074219, -0.15198662877082825, -0.13079272210597992, -0.13222113251686096, -0.8430292010307312, -0.8891379237174988, -0.6588833332061768, -0.5865987539291382, -0.19690461456775665, 0.049235958606004715, 0.8918341994285583, 0.1384027600288391, -0.7737520337104797, -0.1824609488248825, -0.32684406638145447, 0.062006402760744095, -0.11852506548166275, -0.2503255009651184, 0.0994817316532135, -1.1290923357009888, -0.5321754217147827, 0.4549288749694824, 0.41559717059135437, 0.1969299465417862, 0.1549786478281021, 0.30508536100387573, -0.17420195043087006, 0.5229049324989319, 0.47185054421424866, 0.2144765704870224, -1.0402750968933105, -0.5351338386535645, 0.5730994939804077, -0.2521621286869049, -0.002280750311911106, 1.0298514366149902, -0.43546244502067566, 0.16197918355464935, 0.7534481883049011, 0.6979420185089111, -0.4574843943119049, -0.12659253180027008, 0.8187329173088074, -0.6606931090354919, 0.2160985916852951, 0.1508781462907791, 0.6462787389755249, 0.4600924253463745, -0.27215999364852905, 0.05688472092151642, 0.3145780861377716, -0.5424336194992065, -0.6717691421508789, 0.3590236008167267, -0.49918797612190247, -0.4005154073238373, 1.5663710832595825, -0.18168464303016663, 0.033824026584625244, -0.22591225802898407, -0.3551952838897705, -0.07991234213113785, -0.30631202459335327, 0.6919753551483154, 1.0708131790161133, -0.06155191734433174, -0.33041617274284363, -0.5907993912696838, 0.6226627230644226, 0.7947498559951782, -0.6713157892227173, 0.1467551290988922, 0.37960386276245117, 0.4255458116531372, 0.01280254777520895, 0.10660923272371292, 0.013750286772847176, 0.45030131936073303, -0.2702767848968506, -0.20898272097110748, 0.2414827048778534, -0.1127973422408104, -0.42361980676651, 0.08781760931015015, 0.4641583561897278, -0.04883342236280441 ]
http://arxiv.org/abs/2406.19892v1
http://arxiv.org/pdf/2406.19892v1
Untangling the Unrestricted Web: Automatic Identification of Multilingual Registers
2024-06-28T13:00:30
2024-06-28T13:00:30
Erik Henriksson, Amanda Myntti, Anni Eskelinen, Selcen Erten-Johansson, Saara Hellström, Veronika Laippala
cs.CL
cs.CL
This article explores deep learning models for the automatic identification of registers - text varieties such as news reports and discussion forums - in web-based datasets across 16 languages. Web register (or genre) identification would provide a robust solution for understanding the content of web-scale datasets, which have become crucial in computational linguistics. Despite recent advances, the potential of register classifiers on the noisy web remains largely unexplored, particularly in multilingual settings and when targeting the entire unrestricted web. We experiment with a range of deep learning models using the new Multilingual CORE corpora, which includes 16 languages annotated using a detailed, hierarchical taxonomy of 25 registers designed to cover the entire unrestricted web. Our models achieve state-of-the-art results, showing that a detailed taxonomy in a hierarchical multi-label setting can yield competitive classification performance. However, all models hit a glass ceiling at approximately 80% F1 score, which we attribute to the non-discrete nature of web registers and the inherent uncertainty in labeling some documents. By pruning ambiguous examples, we improve model performance to over 90%. Finally, multilingual models outperform monolingual ones, particularly benefiting languages with fewer training examples and smaller registers. Although a zero-shot setting decreases performance by an average of 7%, these drops are not linked to specific registers or languages. Instead, registers show surprising similarity across languages.
[ -0.4046036899089813, -0.39858970046043396, 0.10663209855556488, -0.03420625254511833, -0.28320926427841187, 0.42125192284584045, -0.5451290607452393, -0.8573047518730164, -0.21262213587760925, 0.25468048453330994, -0.4231213927268982, -0.5819485187530518, -0.6165388822555542, 0.15971897542476654, -0.549805223941803, 0.8136154413223267, 0.06915651261806488, 0.0166010782122612, -0.1855754852294922, -0.14484037458896637, 0.042364444583654404, -0.727364182472229, -0.4571402072906494, 0.01222142018377781, 0.6054075360298157, 0.10559749603271484, 0.45105457305908203, 0.9911805391311646, 0.41762614250183105, 0.3959667682647705, 0.13407859206199646, 0.21397823095321655, -0.296085923910141, -0.0358661487698555, 0.09958987683057785, -0.26339149475097656, -0.13001082837581635, 0.11847643554210663, 0.7484495043754578, 0.9619538187980652, -0.1192215159535408, 0.16154076159000397, 0.18642455339431763, 0.5121718645095825, -0.7431755661964417, 0.25883984565734863, -0.6417526602745056, -0.009444131515920162, -0.35047340393066406, 0.06487962603569031, -0.5536302328109741, -0.1375449299812317, -0.06471986323595047, -0.6819703578948975, 0.5403669476509094, -0.24216262996196747, 0.9985467791557312, 0.1306201070547104, -0.8057520985603333, -0.4387858510017395, -0.8048185706138611, 0.7558495998382568, -0.5224162340164185, 0.8312850594520569, 0.4603583514690399, 0.1860717386007309, 0.12418000400066376, -0.6836104989051819, -0.32849717140197754, 0.03359860181808472, 0.043384525924921036, -0.026130303740501404, -0.6689508557319641, -0.1756344735622406, -0.15380483865737915, 0.30434516072273254, -0.7263259887695312, 0.7478711009025574, -0.5236031413078308, -0.2754268944263458, 0.6933595538139343, -0.06634185463190079, 0.2855674922466278, 0.186407670378685, -0.3429657518863678, 0.025292662903666496, -0.4354777932167053, 0.24793574213981628, 0.5977374911308289, 0.7637010812759399, -0.10757237672805786, 0.21770592033863068, -0.19978834688663483, 0.9993162155151367, -0.0850256085395813, -0.3239760398864746, 0.23484686017036438, 0.22382868826389313, -0.2123444825410843, -0.14889127016067505, 0.943183422088623, 0.24380818009376526, 0.1169072762131691, -0.3853493332862854, -0.25157982110977173, 0.157584547996521, 0.1349092721939087, -0.6474782228469849, -0.30911514163017273, 0.0799451470375061, -0.4709034264087677, -0.15995275974273682, 0.055802397429943085, -0.6766533255577087, -0.6941554546356201, -0.3955223858356476, 0.06767704337835312, -0.2883157432079315, -0.5462186932563782, -0.019363565370440483, -0.18781739473342896, 0.012989373877644539, 0.3028945326805115, -0.726375937461853, 0.2456064373254776, 0.6246227025985718, 0.4588623046875, -0.36854785680770874, -0.21852213144302368, 0.08116410672664642, 0.04131600633263588, -0.530626654624939, 0.531598687171936, -0.6022218465805054, -0.04900373890995979, 0.36712637543678284, 0.2713531255722046, 0.05514192581176758, -0.49039721488952637, 0.19513319432735443, -0.9777795076370239, -0.02694498375058174, 0.2547776401042938, -0.698639988899231, -0.5247904658317566, 0.21489425003528595, -1.0362451076507568, 0.5096030831336975, -0.010593386366963387, -0.29346713423728943, 0.48855188488960266, -0.07232096046209335, -0.537558913230896, 0.1703827977180481, -0.12406818568706512, -0.0013234816724434495, 0.03930847346782684, -0.17075121402740479, 0.5310439467430115, -0.30595824122428894, 0.2224898636341095, -0.38072893023490906, 0.08474191278219223, 0.5479603409767151, -0.7944831848144531, 0.98023921251297, 0.42069360613822937, -0.006815832573920488, -0.054534342139959335, -1.1366454362869263, 0.056396808475255966, -0.06569336354732513, -0.41425764560699463, -0.40570804476737976, -0.18993811309337616, 0.25930100679397583, 0.11848043650388718, 0.36553993821144104, -0.5176802277565002, 0.07895699888467789, -0.18978603184223175, 0.460345983505249, 0.7175296545028687, -0.20192138850688934, 0.4182753264904022, -0.06539350748062134, 0.6627877354621887, 0.0957951471209526, 0.1140938401222229, 0.10879630595445633, -0.424710750579834, -0.8324310779571533, -0.46942874789237976, 0.8752753734588623, 0.6096776127815247, -0.4166802167892456, 0.284030556678772, -0.21994008123874664, -0.6499096155166626, -0.72749924659729, 0.32840269804000854, 0.44145867228507996, 0.27978864312171936, 0.2694552540779114, -0.5032914876937866, -0.6851679682731628, -0.9632700681686401, -0.15587744116783142, -0.09543101489543915, -0.042076222598552704, 0.14876919984817505, 0.13266703486442566, -0.34585249423980713, 0.6792255640029907, -0.12394660711288452, -0.41841745376586914, -0.09460996836423874, 0.24086038768291473, 0.10649347305297852, 0.48713797330856323, 0.2599218189716339, -1.103363037109375, -0.5147721767425537, 0.1601029634475708, -0.5756197571754456, 0.16543233394622803, -0.06145380437374115, 0.29655614495277405, 0.36598727107048035, 0.45544394850730896, -0.40103307366371155, 0.434687077999115, 0.5465502738952637, 0.10864605754613876, 0.1597682386636734, -0.14732137322425842, -0.2643015384674072, -0.841714084148407, 0.026997467502951622, 0.24963624775409698, -0.03388647735118866, -0.5772693157196045, 0.3708910346031189, 0.2752724587917328, -0.2208288013935089, -0.47153252363204956, 0.5513603091239929, -0.7572364211082458, 0.2646111249923706, -0.2628912627696991, 0.04278092458844185, 0.03695264086127281, 0.5053305625915527, 0.14566701650619507, 0.35460329055786133, 0.6194326877593994, -0.8598392009735107, 0.3142614960670471, 0.013770991936326027, -0.6271538138389587, -0.10325118899345398, 0.02805158495903015, 0.06277965754270554, -0.21729609370231628, 0.13884437084197998, -1.0949883460998535, -0.38075363636016846, -0.024741139262914658, -0.6563911437988281, 0.6152342557907104, -0.5255546569824219, -0.2207697331905365, -0.23731425404548645, 0.09763331711292267, 0.4983636736869812, 0.4120374023914337, -0.43986818194389343, 0.5953328013420105, 0.8528367877006531, 0.15410371124744415, -0.9279496669769287, -0.7164259552955627, 0.09408929198980331, -0.13742105662822723, -0.0194364245980978, 0.2284104973077774, -0.08447198569774628, -0.35099539160728455, 0.08346820622682571, 0.06306653469800949, -0.9970971345901489, 0.4392648935317993, 0.18226534128189087, 0.09021908044815063, -0.22727230191230774, 0.3045820891857147, -0.08632033318281174, -0.08049452304840088, -0.1455286592245102, -0.3642464876174927, 0.4099082350730896, -0.12270896881818771, -0.3199523687362671, -0.6383780241012573, 0.6212146282196045, 0.508175253868103, -0.5489037036895752, 0.5463093519210815, 0.6503186225891113, -0.5725422501564026, -0.3376402258872986, -0.5000430941581726, 0.3193219304084778, -0.48601818084716797, 0.24137502908706665, -0.5997759699821472, -1.008182168006897, 0.5896612405776978, -0.060827989131212234, -0.016622379422187805, 0.7868620753288269, 0.4769704043865204, -0.007513815071433783, 1.0828715562820435, 1.0917855501174927, -0.18928097188472748, 0.022897416725754738, -0.14782752096652985, 0.24173885583877563, -0.365855872631073, -0.24836473166942596, -0.6864015460014343, -0.33890143036842346, -1.0030854940414429, -0.2625700533390045, 0.024140888825058937, 0.3806236684322357, -0.12514974176883698, 0.28845158219337463, -0.6494101881980896, 0.5381278395652771, 0.6256651282310486, -0.04251960292458534, 0.37486541271209717, -0.12677769362926483, -0.04475557059049606, 0.14024610817432404, -0.6300026178359985, -0.4200810194015503, 1.1753506660461426, 0.11637703329324722, 0.824043869972229, 0.5411173701286316, 0.592472493648529, 0.3293038606643677, 0.35358643531799316, -0.843311607837677, 0.20148086547851562, -0.5404086112976074, -0.8003336787223816, -0.16509927809238434, -0.43263334035873413, -1.1977057456970215, 0.07560816407203674, -0.10866647213697433, -0.642254650592804, 0.6195472478866577, 0.05331069231033325, -0.4359987676143646, 0.3906008005142212, -0.6302061080932617, 0.7866167426109314, -0.3461037278175354, -0.07062145322561264, -0.031247004866600037, -0.5553304553031921, 0.3207590579986572, -0.3881848454475403, 0.5285238027572632, -0.18348188698291779, -0.24144364893436432, 0.6205238699913025, 0.05472572147846222, 1.3600798845291138, 0.08233068883419037, -0.2812719941139221, 0.17172549664974213, 0.20864905416965485, 0.09775842726230621, -0.0744253471493721, 0.02963077835738659, 0.5213586091995239, 0.0627041682600975, -0.2801312506198883, -0.3297310471534729, 0.6447896361351013, -1.0605684518814087, -0.40911775827407837, -0.3619540333747864, -0.26095184683799744, -0.3214275538921356, 0.47505441308021545, 0.4190029203891754, 0.5516824126243591, -0.453702449798584, 0.2954544723033905, 0.6388596296310425, -0.18115320801734924, 0.6051919460296631, 1.1784733533859253, -0.09777016192674637, -0.1925673633813858, 1.0365654230117798, 0.23899465799331665, -0.10165191441774368, 0.6673269271850586, 0.043342601507902145, -0.4015388488769531, -0.5750571489334106, -0.7508388757705688, -0.10727287828922272, -0.9336603283882141, -0.39485040307044983, -0.6861602663993835, -0.24477368593215942, -0.6363038420677185, 0.15094898641109467, -0.3081424832344055, -0.7078323364257812, -0.5163098573684692, -0.10092321783304214, 0.10365229845046997, 0.7845885157585144, -0.38021090626716614, 0.052386630326509476, -0.8213182091712952, 0.2282809317111969, 0.35289040207862854, 0.48816341161727905, 0.3254847526550293, -0.45365622639656067, -0.2860355079174042, -0.05983663350343704, 0.03448596969246864, -0.8827022314071655, 0.3718370199203491, 0.4042246639728546, 0.5654503703117371, 0.7960125803947449, 0.2930271029472351, 0.5920021533966064, -0.7616536617279053, 0.6273747086524963, 0.2272544950246811, -0.8279564380645752, 0.027118032798171043, -0.3786627948284149, 0.135722354054451, 0.40149787068367004, 0.9896511435508728, -0.6453695297241211, -0.5141122937202454, -0.5002443194389343, -0.9902144074440002, 0.3523758351802826, -0.410037100315094, 0.3579811453819275, -0.1739881932735443, 0.18889905512332916, 0.3591066002845764, 0.17319436371326447, -0.9312203526496887, -0.197197824716568, -0.09294836223125458, -0.2603226602077484, -0.1799144744873047, -0.2086910605430603, -0.22070856392383575, -0.36684733629226685, 0.7302715182304382, -0.1611931324005127, 0.09178595244884491, -0.22209174931049347, -0.45467549562454224, -0.18992070853710175, 0.3053604066371918, 0.5621766448020935, 0.9606022834777832, 0.16826565563678741, 0.32607710361480713, -0.15881334245204926, -0.16134172677993774, 0.19207897782325745, 0.3206002116203308, -0.047910772264003754, 0.08372156322002411, 0.599176287651062, 0.816912829875946, -0.09195307642221451, -0.7252384424209595, 0.4881836771965027, -0.12334096431732178, -0.03977188467979431, -0.5158265233039856, -0.04282762482762337, -0.11351296305656433, 0.19631747901439667, 0.509083092212677, 0.031597502529621124, 0.2563877999782562, -0.3733409345149994, 0.3764718174934387, 0.5285446643829346, -0.7096546292304993, -0.2394842654466629, 0.6016125082969666, 0.16701917350292206, -0.4186405837535858, 0.6984046101570129, -0.2647523880004883, -0.5449261665344238, 0.5863526463508606, 0.545706570148468, 0.8867999911308289, -0.3639243543148041, 0.2241547703742981, 0.26036834716796875, 0.4308133125305176, 0.27989864349365234, -0.059955380856990814, -0.12934833765029907, -0.996781051158905, -0.38527199625968933, -0.8151951432228088, -0.3451133072376251, 0.447662353515625, -0.8533152937889099, -0.07515849173069, -0.43446215987205505, -0.07426825165748596, 0.380298912525177, -0.029123101383447647, -0.7473450303077698, 0.3533726632595062, 0.6049050092697144, 0.8726464509963989, -0.9081435799598694, 1.0035574436187744, 0.5590223073959351, -0.3558081090450287, -0.7689560651779175, -0.34491652250289917, 0.3422866761684418, -0.7289285659790039, 0.5284751653671265, 0.3040983974933624, -0.01746092364192009, 0.14463704824447632, -0.2690443992614746, -0.8520353436470032, 0.450202077627182, 0.19480033218860626, -0.6575913429260254, 0.23536451160907745, 0.30165010690689087, 0.5092703104019165, -0.26102301478385925, 0.05982620641589165, 0.09677654504776001, 0.39152321219444275, -0.3480384051799774, -0.9256515502929688, -0.19078540802001953, -0.49506908655166626, -0.1960754692554474, 0.3181178867816925, -0.6910610795021057, 0.9732243418693542, 0.06314650923013687, -0.44530239701271057, 0.24119821190834045, 0.6565866470336914, -0.38430339097976685, 0.01362760178744793, 0.5970297455787659, 0.6403459906578064, 1.2514816522598267, 0.08918063342571259, 0.827362060546875, -0.45567283034324646, 0.2581735849380493, 1.098583459854126, -0.30114156007766724, 0.9485772848129272, -0.025822540745139122, -0.004347717389464378, 0.6986782550811768, 0.8737009763717651, -0.22770936787128448, 0.41586461663246155, 0.17293953895568848, -0.5166506767272949, -0.46799492835998535, -0.26989617943763733, -0.269022673368454, 0.8387491703033447, 0.2311636507511139, -0.4224359095096588, -0.3036380112171173, 0.29656580090522766, 0.029440665617585182, 0.049650177359580994, -0.1907438337802887, 0.9854782819747925, -0.06659778207540512, -0.5002825260162354, 0.6771991848945618, 0.353969007730484, 0.41598042845726013, -0.8031282424926758, 0.2007366269826889, -0.07453589141368866, 0.4011777341365814, -0.053271885961294174, -0.4626646637916565, -0.08858046680688858, 0.19179081916809082, -0.5186899304389954, -0.34696757793426514, 0.6160808205604553, -0.5959662795066833, -0.6867992877960205, 0.42978084087371826, 0.6025353670120239, 0.22686867415905, 0.11122985184192657, -0.7231228351593018, 0.02193710021674633, 0.020495623350143433, -0.09021029621362686, 0.5386016368865967, 0.7957773804664612, -0.2618672847747803, 0.5475656986236572, 0.7570831775665283, -0.265048086643219, 0.21283666789531708, 0.1381729543209076, 0.7016236782073975, -0.5228232741355896, -0.5261552333831787, -0.7674643993377686, 0.28189900517463684, 0.06953328102827072, -0.47674983739852905, 0.9277322888374329, 0.9178609848022461, 1.1556848287582397, -0.057267650961875916, 0.9381782412528992, 0.04834844917058945, 0.5690994262695312, -0.2914803624153137, 1.0439294576644897, -0.7948585748672485, -0.07670781016349792, 0.12513840198516846, -0.4505285620689392, -0.5225364565849304, 0.256291002035141, 0.3184971511363983, -0.24761883914470673, 0.45282936096191406, 0.5909139513969421, -0.12940803170204163, -0.13820980489253998, 0.28485143184661865, 0.13545039296150208, 0.02910139039158821, 0.5148248672485352, 0.8991405963897705, -0.13856032490730286, 0.6505742073059082, -0.6301047205924988, -0.3403664827346802, 0.18237391114234924, -0.7609335780143738, -0.7923628687858582, -0.8866931200027466, -0.39396902918815613, -0.16984982788562775, -0.23052725195884705, 0.5606622099876404, 0.827123761177063, -1.0471103191375732, -0.5248522162437439, 0.2585280239582062, 0.02632107585668564, -0.27380868792533875, -0.17685657739639282, 0.38340625166893005, -0.41074487566947937, -0.7341118454933167, 0.6745997071266174, -0.07422947138547897, 0.022340375930070877, -0.31224027276039124, 0.20435330271720886, -0.3185173571109772, -0.1199154332280159, 0.364692360162735, 0.5940397381782532, -0.8400969505310059, 0.04483456909656525, -0.11178415268659592, -0.1311897188425064, 0.003946532495319843, 0.8248341679573059, -0.830050528049469, 0.5130906701087952, 0.1902930587530136, 0.8107941150665283, 0.3244546949863434, -0.20451292395591736, 0.4067062437534332, -1.015087366104126, 0.43867388367652893, 0.43824031949043274, 0.18096952140331268, 0.3096573054790497, -0.32801419496536255, 0.4275808036327362, 0.2034788876771927, -0.16254517436027527, -0.9097172617912292, 0.28594085574150085, -0.8419283628463745, -0.918430507183075, 0.9532923698425293, -0.2260458618402481, -0.2513631582260132, -0.30882537364959717, 0.5582854151725769, 0.48893702030181885, -0.09022540599107742, 0.6214727163314819, 0.7578436136245728, 0.20997254550457, -0.28085991740226746, -0.5753395557403564, 0.6717946529388428, -0.06493282318115234, -0.3089236617088318, 0.09265153855085373, 0.6560897827148438, 0.07888603210449219, 0.3853284418582916, 0.520003080368042, 0.09761233627796173, 0.1431756466627121, -0.33554619550704956, 0.21732163429260254, 0.012761273421347141, -0.5679715871810913, -0.607352077960968, 0.4553113877773285, -0.04032393917441368, -0.11511041969060898 ]
http://arxiv.org/abs/2406.19884v1
http://arxiv.org/pdf/2406.19884v1
Investigating the Timescales of Language Processing with EEG and Language Models
2024-06-28T12:49:27
2024-06-28T12:49:27
Davide Turco, Conor Houghton
cs.CL
cs.CL, q-bio.NC
This study explores the temporal dynamics of language processing by examining the alignment between word representations from a pre-trained transformer-based language model, and EEG data. Using a Temporal Response Function (TRF) model, we investigate how neural activity corresponds to model representations across different layers, revealing insights into the interaction between artificial language models and brain responses during language comprehension. Our analysis reveals patterns in TRFs from distinct layers, highlighting varying contributions to lexical and compositional processing. Additionally, we used linear discriminant analysis (LDA) to isolate part-of-speech (POS) representations, offering insights into their influence on neural responses and the underlying mechanisms of syntactic processing. These findings underscore EEG's utility for probing language processing dynamics with high temporal resolution. By bridging artificial language models and neural activity, this study advances our understanding of their interaction at fine timescales.
[ -0.1881115585565567, -1.2874873876571655, 0.725594162940979, 0.43165501952171326, -0.04449814558029175, 0.07545438408851624, -0.09320823848247528, -0.6831693053245544, 0.257921040058136, 0.19695770740509033, -0.527817964553833, -0.12522661685943604, -0.36064109206199646, 0.021520491689443588, -0.5894151926040649, 0.242486834526062, -0.02825278416275978, -0.02447819523513317, -0.050664372742176056, -0.20463994145393372, -0.4965006411075592, -0.6294909715652466, -0.8967127203941345, -0.7371747493743896, 0.5626326203346252, -0.3470826745033264, 0.44971540570259094, 0.6309112906455994, 0.13287542760372162, 0.29859721660614014, -0.1985802799463272, -0.43049508333206177, -0.0708530843257904, 0.20659425854682922, -0.08239498734474182, -0.6236762404441833, -0.4932241141796112, -0.04732877016067505, 0.6781503558158875, 1.0547956228256226, -0.38257572054862976, 0.20721207559108734, 0.12300428748130798, 0.3123348653316498, -0.45619824528694153, 0.3062955141067505, -0.47512397170066833, 0.19498096406459808, -0.3413674235343933, -0.28752169013023376, -0.6544455289840698, -0.12771078944206238, 0.3949856758117676, -0.38043013215065, 0.12019867449998856, -0.06185103580355644, 0.7716706991195679, 0.08359230309724808, -0.45922741293907166, 0.1578131914138794, -0.8839942216873169, 0.6173615455627441, -0.6864140033721924, 0.6624502539634705, 0.22983917593955994, 0.044447168707847595, 0.07497384399175644, -0.8309012055397034, -0.9419055581092834, -0.1808881163597107, -0.2857464849948883, -0.11136384308338165, -0.08056125044822693, 0.10320819169282913, 0.39580392837524414, 0.025873571634292603, -0.7519188523292542, 0.12050674110651016, -0.21302402019500732, -0.16607150435447693, 0.2135905772447586, 0.11763756722211838, 0.5242083072662354, -0.04101329296827316, -0.18405033648014069, -0.2279282957315445, -0.2273309975862503, 0.15894576907157898, 0.22535566985607147, -0.0518685057759285, -0.0785883292555809, 0.6677653193473816, 0.45308369398117065, 0.8747707605361938, 0.05041057616472244, 0.10502288490533829, 0.22999083995819092, -0.2521332800388336, -0.31064045429229736, 0.3480595052242279, 0.7696381211280823, 0.16388633847236633, 0.14815986156463623, -0.21083152294158936, -0.21967275440692902, 0.20676515996456146, 0.24095359444618225, -0.4695051610469818, 0.1354219615459442, 0.1492057591676712, -0.4283148944377899, 0.04433993995189667, -0.2814745306968689, -0.6957196593284607, -0.07102897018194199, -0.4921272099018097, 0.36856505274772644, -0.47860729694366455, -0.37880972027778625, 0.30133476853370667, -0.14115966856479645, 0.4432622790336609, -0.1922473907470703, -0.887665331363678, 0.3887816071510315, 0.37288129329681396, 0.6480730175971985, 0.005854685790836811, -0.4509012699127197, -0.32246536016464233, 0.45598846673965454, -0.3394373953342438, 0.7199599146842957, -0.661782443523407, -0.20750094950199127, 0.11403349786996841, 0.09361059218645096, -0.45205289125442505, -0.30616122484207153, 0.16945719718933105, -0.9007261395454407, 0.21881873905658722, -0.09580579400062561, -0.3942592740058899, -0.12350406497716904, -0.11839555203914642, -0.9449418783187866, 0.9454758167266846, 0.0781339704990387, -0.6925598978996277, 0.1139114648103714, -0.7217856049537659, -0.5266250967979431, 0.03993002325296402, -0.1751270443201065, 0.022880306467413902, 0.36547157168388367, 0.26937219500541687, 0.313566118478775, -0.006419612094759941, 0.13670922815799713, -0.09304032474756241, -0.2581104338169098, 0.5171252489089966, -0.2909029722213745, 0.8397409319877625, 0.13649192452430725, -0.19640593230724335, -0.13563399016857147, -0.7574662566184998, 0.054633092135190964, 0.2806222438812256, -0.06187894940376282, -0.3403943181037903, 0.45618507266044617, 0.021899744868278503, 0.1589834988117218, 0.37657415866851807, -0.551969587802887, -0.07944527268409729, -0.4197065234184265, 0.7854845523834229, 0.4316052794456482, 0.09385897219181061, 0.5160216689109802, 0.05116713047027588, 0.4679238796234131, 0.17639407515525818, -0.08502624928951263, -0.3192347288131714, -0.1706508845090866, -0.5462307929992676, 0.46572864055633545, 0.2972201108932495, 0.46109941601753235, -0.6350072026252747, 0.39846310019493103, -0.4144103527069092, -0.08158788830041885, -0.6323723793029785, -0.3313513696193695, -0.009117934852838516, 0.454216331243515, 0.3546387553215027, -0.2946843206882477, -0.3586640954017639, -0.9248815178871155, -0.11290384083986282, -0.4045795500278473, -0.3054288625717163, -0.09534775465726852, 0.08570142090320587, -0.048607878386974335, 1.008560299873352, -0.38484251499176025, -0.015809042379260063, -0.27731016278266907, 0.6724595427513123, -0.08781115710735321, 0.14443469047546387, 0.9304298758506775, -0.5433495044708252, -0.16384229063987732, 0.12828679382801056, -0.5269793272018433, -0.3601778745651245, -0.1469133347272873, 0.1515454202890396, 0.2377108782529831, 0.8020315170288086, -0.4476599097251892, 0.36319586634635925, 0.649768054485321, -0.6708263754844666, 0.2554558217525482, -0.24029508233070374, 0.30212971568107605, -0.6253636479377747, 0.1297406703233719, -0.08583059161901474, -0.1533305048942566, -0.6736450791358948, -0.18642373383045197, 0.1614137440919876, -0.14023926854133606, -0.4242316782474518, 0.3407641351222992, -0.5158491730690002, -0.10296528041362762, -0.3165574073791504, 0.33931946754455566, -0.007381966803222895, 0.5588529706001282, 0.17753073573112488, 0.7156510949134827, 0.4506450593471527, -0.40462526679039, -0.08411673456430435, -0.14077791571617126, -0.3129449486732483, 0.287916898727417, -1.0057858228683472, 0.34261688590049744, -0.24825285375118256, -0.1741049587726593, -0.9746307730674744, 0.0526486337184906, -0.2885485589504242, -0.3668147921562195, 0.3645179569721222, 0.10481181740760803, -0.6787087321281433, -0.21186533570289612, 0.14464135468006134, 0.7675671577453613, 0.4441331923007965, -0.17708992958068848, 1.083855152130127, 0.5967249870300293, -0.19598516821861267, -0.23035480082035065, -0.9331223368644714, -0.10731524229049683, -0.0356576070189476, -0.630214512348175, 0.582391619682312, 0.099666528403759, -0.4355570673942566, -0.10348527878522873, -0.17327284812927246, -0.06079302728176117, -0.015010140836238861, -0.02416611649096012, 0.1487128734588623, -0.3007722496986389, -0.19984275102615356, -0.0326567180454731, 0.2563258111476898, 0.47078827023506165, -0.12249314785003662, 0.9612517952919006, 0.21628831326961517, -0.20286685228347778, -0.38116297125816345, 0.3340725004673004, 0.7246232628822327, -0.5545318722724915, 0.9905553460121155, 0.6109051704406738, -0.6063618063926697, -0.05308499559760094, -0.4814583361148834, -0.15261049568653107, -0.41406670212745667, 0.38841482996940613, -0.2912469804286957, -0.7712521553039551, 0.8040227890014648, 0.5640622973442078, -0.20289291441440582, 0.3653978407382965, 0.37090200185775757, -0.24611379206180573, 1.1389230489730835, 0.563850998878479, 0.06209290772676468, 0.955392062664032, 0.022277330979704857, 0.40574911236763, -0.8544303178787231, -0.317544549703598, -0.37682172656059265, -0.550640344619751, -0.2461796998977661, -0.12864546477794647, 0.15335313975811005, 0.07500635087490082, 0.07782032340765, 0.4265466332435608, -0.19142219424247742, 0.5908133387565613, 0.12062737345695496, 0.03575966879725456, -0.03662869334220886, -0.12998917698860168, -0.27571922540664673, -0.05962323024868965, -0.43671998381614685, -0.31943681836128235, 0.7408800721168518, 0.4241489768028259, 0.6067470908164978, -0.18045924603939056, 0.08278259634971619, 0.23133975267410278, -0.27474936842918396, -0.48488110303878784, 0.7615492939949036, -0.12162255495786667, -0.4087894558906555, -0.20421630144119263, -0.06527308374643326, -1.1224126815795898, 0.05992455407977104, 0.0021297577768564224, -1.1035877466201782, 0.14884856343269348, -0.11372140049934387, -0.4995516836643219, 0.2543186843395233, -1.116909384727478, 0.7436251640319824, -0.10694590955972672, -0.31006377935409546, -0.5740213990211487, -0.49420660734176636, -0.017133502289652824, 0.14410676062107086, -0.06182033568620682, 0.018750851973891258, 0.1716250628232956, 0.9032768607139587, -0.14096961915493011, 0.6611837148666382, -0.06922684609889984, -0.28303396701812744, 0.26965636014938354, 0.43826112151145935, 0.13337168097496033, -0.1587522178888321, 0.20620761811733246, 0.31633439660072327, 0.29908260703086853, -0.3450416028499603, -0.5716066360473633, 0.812603771686554, -0.6927522420883179, -0.552640438079834, -0.4606730341911316, -0.6482939720153809, -0.04466797411441803, 0.03496439382433891, 0.12229146808385849, 0.5112169981002808, -0.194464311003685, -0.05493107810616493, 0.717278003692627, -0.036589089781045914, 0.9959990978240967, 0.3533177971839905, -0.3671644330024719, -0.004079498816281557, 0.4090324938297272, 0.3360670804977417, 0.14600922167301178, 0.7788181304931641, -0.20415346324443817, -0.3179987668991089, -0.5044571161270142, 0.13389471173286438, 0.43221211433410645, -0.3355391025543213, 0.3220334053039551, -0.5694235563278198, -0.34084615111351013, -0.453009694814682, 0.15355949103832245, -0.13952620327472687, -0.33757808804512024, -0.2534121572971344, -0.08198180794715881, -0.047266166657209396, 0.7284634113311768, 0.3552108705043793, 0.5131992101669312, -0.7634165287017822, 0.3075965344905853, 0.353338360786438, 0.37167584896087646, 0.11255065351724625, -0.2915632128715515, -0.3021419942378998, 0.00028506008675321937, -0.10354063659906387, -1.1543248891830444, 0.30929768085479736, 0.16780409216880798, 0.5759752988815308, 0.12491413205862045, -0.5359352231025696, 0.5069924592971802, -0.8054181933403015, 1.2070502042770386, 0.09528186172246933, -1.1357872486114502, 0.5604617595672607, -0.23971353471279144, 0.7129200100898743, -0.0931246355175972, 0.10521987080574036, -0.6109088063240051, -0.45250028371810913, -0.3518342971801758, -0.6583430767059326, 0.7950318455696106, 0.2854762673377991, -0.17721663415431976, -0.0956033319234848, 0.38314154744148254, -0.13713738322257996, -0.10975737869739532, -0.7105685472488403, -0.3311541974544525, 0.07514860481023788, 0.018486976623535156, -0.03632615879178047, -0.35508111119270325, -0.015974614769220352, -0.09898708015680313, -0.0004989971057511866, 0.007389753125607967, 0.7591476440429688, 0.11455831676721573, -0.3173902928829193, -0.34555354714393616, 0.2890914976596832, 0.5356832146644592, 0.8481914401054382, -0.08242890983819962, 0.22992075979709625, 0.1279451698064804, -0.5442029237747192, 0.04179023951292038, 0.27500784397125244, 0.21670494973659515, 0.13920161128044128, 0.7055110931396484, 0.8354759812355042, 0.01515666302293539, -0.444109171628952, 0.30005690455436707, -0.37946611642837524, -0.0004031003045383841, -0.306370347738266, 0.05748188868165016, 0.14611002802848816, 0.37250182032585144, 0.49617496132850647, -0.0026632125955075026, -0.15145154297351837, -0.24961499869823456, 0.09471901506185532, 0.20765720307826996, -0.1467965990304947, -0.9489918947219849, 0.9640899300575256, -0.26291728019714355, -0.4994170665740967, 0.6003714799880981, 0.11262053996324539, -0.3458075523376465, 0.6415419578552246, 0.7158637642860413, 0.9869878888130188, -0.4292304217815399, -0.033699698746204376, 0.2553013563156128, 0.12801457941532135, 0.1764851063489914, 0.5303712487220764, 0.006681572645902634, -0.7150104641914368, -0.8471626043319702, -0.6236727237701416, 0.3129826784133911, 0.37840595841407776, -0.6384962201118469, 0.04479425773024559, -0.21444979310035706, -0.5721482634544373, 0.25487181544303894, -0.3325725495815277, -0.8567083477973938, 0.023420734331011772, 0.4516274333000183, 0.7598087787628174, -0.7800442576408386, 1.0067964792251587, 0.7059770822525024, -0.22627213597297668, -0.7141849994659424, 0.23424559831619263, -0.28163039684295654, -0.6247054934501648, 0.7849347591400146, -0.0753948763012886, -0.3419018089771271, 0.06184440106153488, -0.3772013783454895, -0.638035237789154, 0.9428349137306213, 0.7389870285987854, -0.637007474899292, -0.47814518213272095, 0.29255133867263794, 0.9396836161613464, -0.09038116782903671, 0.3115019202232361, 0.9635800123214722, 0.2566050589084625, -0.42675670981407166, -0.9813618659973145, -0.27433180809020996, -0.20948798954486847, 0.16743996739387512, 0.5238998532295227, -0.3816128075122833, 0.7044069766998291, 0.18352408707141876, -0.6065292954444885, -0.3023154139518738, 0.8920301198959351, -0.07734674215316772, 0.006646350957453251, 0.5864105820655823, 0.6492006778717041, 0.32718729972839355, -0.3340985178947449, 0.8867914080619812, -0.4833621084690094, 0.10619349777698517, 0.8553677797317505, -0.26545971632003784, 0.9213144183158875, 0.904414713382721, -0.453107625246048, 0.6942024827003479, 0.4562825560569763, 0.4539323151111603, 0.515214204788208, -0.010452247224748135, -0.26087382435798645, -0.10179485380649567, -0.15430952608585358, -0.097862109541893, 0.22100986540317535, 0.44739410281181335, -0.15746892988681793, -0.16952118277549744, 0.3450433611869812, -0.4372212588787079, 0.07672957330942154, -0.2961685061454773, 0.5309439301490784, -0.02574046142399311, -0.8165300488471985, 0.3017610013484955, -0.2176200896501541, 0.26406025886535645, -0.697506844997406, -0.0322549045085907, -0.06987962871789932, 0.02837623469531536, 0.08846139162778854, -1.056504487991333, 0.36083686351776123, -0.2829124629497528, -0.22503310441970825, -0.44996383786201477, 0.4621836245059967, -0.7146030068397522, -0.06481020152568817, 0.8679764866828918, 0.34171250462532043, -0.3256075978279114, 0.2279951274394989, -0.3742919862270355, 0.2085098773241043, -0.16497768461704254, -0.3500411808490753, 0.12681944668293, 0.5538414120674133, 0.13417840003967285, 0.43835878372192383, 0.1166650727391243, 0.31465569138526917, 0.5597289204597473, 0.39471545815467834, 0.407474547624588, -0.7724980115890503, -0.5852150321006775, -0.8949812054634094, 0.33601707220077515, 0.28110331296920776, -0.030745772644877434, 0.23293127119541168, 0.18794666230678558, 0.9466180801391602, -0.04220511019229889, 0.30618318915367126, -0.31430086493492126, 0.32734790444374084, -0.7343218326568604, 0.6289101839065552, -0.42622214555740356, 0.2132137417793274, 0.21425685286521912, -0.9669947624206543, -0.16544294357299805, 0.36237090826034546, -0.30701321363449097, -0.16492556035518646, 1.0969277620315552, 0.6347543597221375, -0.00044620700646191835, 0.17065611481666565, 0.28137943148612976, 0.44925981760025024, 0.38611140847206116, 0.545495331287384, 0.7910167574882507, -0.33918139338493347, 0.21631106734275818, -0.2641153633594513, 0.15484094619750977, 0.18923015892505646, -0.7509109377861023, -0.8205660581588745, -1.044049620628357, -0.2711818516254425, -0.1446629762649536, -0.15302349627017975, 0.8141359090805054, 0.38364648818969727, -0.8631921410560608, -0.5429851412773132, 0.015016869641840458, -0.24747543036937714, -0.5053529143333435, -0.3150905668735504, 0.4826851785182953, -0.5055408477783203, -0.9345131516456604, 0.4496493339538574, 0.23814351856708527, 0.18600153923034668, -0.3436189889907837, 0.32032862305641174, -0.5039893984794617, 0.05290517210960388, 0.6426814794540405, 0.03825424611568451, -0.5442923307418823, -0.2873658537864685, 0.3589480519294739, -0.2008931040763855, 0.14904308319091797, 1.1209006309509277, -0.9106860160827637, 0.4509808421134949, 0.79300457239151, 0.5708766579627991, 0.5344016551971436, -0.36438482999801636, 0.8338122367858887, -0.8548516631126404, 0.16254153847694397, 0.2810429632663727, 0.609113872051239, 0.024131517857313156, -0.27305713295936584, 0.13167576491832733, 0.04918164387345314, -0.6422312259674072, -0.686036229133606, 0.08806301653385162, -1.0651432275772095, -0.27355387806892395, 0.7718184590339661, 0.2739943861961365, -0.6255801916122437, 0.02887938916683197, -0.06361053138971329, 0.49040281772613525, -0.1872442215681076, 0.7977584004402161, 1.333507776260376, -0.4102759063243866, -0.2243671417236328, -0.43003490567207336, 0.15639355778694153, 0.43159517645835876, -0.43142640590667725, 0.05888749286532402, 0.24085870385169983, -0.08378656953573227, 0.42979151010513306, 0.3095594048500061, -0.19241592288017273, 0.07211553305387497, -0.15089260041713715, -0.14167386293411255, 0.2959725856781006, -0.2940414845943451, -0.5030314922332764, 0.30134958028793335, -0.04564683884382248, -0.2310994565486908 ]
http://arxiv.org/abs/2406.19874v1
http://arxiv.org/pdf/2406.19874v1
Detecting Subtle Differences between Human and Model Languages Using Spectrum of Relative Likelihood
2024-06-28T12:28:52
2024-06-28T12:28:52
Yang Xu, Yu Wang, Hao An, Zhichen Liu, Yongyuan Li
cs.CL
cs.CL, cs.AI, I.2.7
Human and model-generated texts can be distinguished by examining the magnitude of likelihood in language. However, it is becoming increasingly difficult as language model's capabilities of generating human-like texts keep evolving. This study provides a new perspective by using the relative likelihood values instead of absolute ones, and extracting useful features from the spectrum-view of likelihood for the human-model text detection task. We propose a detection procedure with two classification methods, supervised and heuristic-based, respectively, which results in competitive performances with previous zero-shot detection methods and a new state-of-the-art on short-text detection. Our method can also reveal subtle differences between human and model languages, which find theoretical roots in psycholinguistics studies. Our code is available at https://github.com/CLCS-SUSTech/FourierGPT
[ -0.5069479942321777, -0.9169765114784241, 0.6769905090332031, -0.20498277246952057, -0.09686233103275299, 0.23834574222564697, -0.36149272322654724, -0.8383321166038513, 0.08896342664957047, 0.4302839934825897, -0.4543944001197815, -0.4551801085472107, -0.3180408775806427, 0.08431590348482132, -0.46104782819747925, 0.6050826907157898, 0.24285119771957397, -0.15050108730793, 0.17365799844264984, -0.12714830040931702, -0.07832988351583481, -0.502661406993866, -0.5331519842147827, -0.29880470037460327, 0.6180051565170288, 0.3043993413448334, 0.5202113389968872, 0.46072062849998474, 0.5345044136047363, 0.20096376538276672, -0.10432533174753189, -0.18650366365909576, 0.03015403263270855, 0.05723947286605835, 0.01582234352827072, -0.5653059482574463, -0.2521071135997772, -0.16564138233661652, 0.9468074440956116, 0.7558649778366089, 0.20137135684490204, 0.20200037956237793, 0.11773262172937393, 0.6905146241188049, -0.7408026456832886, 0.1379566490650177, -0.40821877121925354, 0.007550032343715429, -1.0101755857467651, -0.10180903971195221, -0.40840888023376465, -0.08662984520196915, 0.04367687553167343, -0.22301629185676575, 0.5331536531448364, 0.043232761323451996, 0.9682650566101074, -0.09075061231851578, -0.4930431544780731, -0.17934446036815643, -0.8579437136650085, 0.9191122651100159, -0.8657780885696411, 0.7987396121025085, 0.5953296422958374, 0.5129351615905762, -0.12208087742328644, -0.5721842050552368, -0.6632928848266602, -0.5098321437835693, 0.011172099970281124, -0.24170207977294922, -0.4874241352081299, -0.19047893583774567, 0.25670912861824036, 0.22661416232585907, -0.7092019319534302, 0.2517600655555725, -0.3215850293636322, -0.4687764346599579, 0.4815368950366974, -0.13236664235591888, 0.23057544231414795, -0.36879047751426697, 0.20702973008155823, -0.24374021589756012, -0.49655798077583313, 0.08915106952190399, 0.7577963471412659, 0.3704604208469391, -0.30206337571144104, 0.27041390538215637, -0.32695329189300537, 0.638022243976593, -0.07977819442749023, -0.19722062349319458, 0.3736858367919922, 0.05632036551833153, -0.06657861173152924, -0.13546980917453766, 0.7628210783004761, -0.16555078327655792, 0.3592633903026581, -0.09393243491649628, -0.19922490417957306, 0.4149903655052185, -0.050927046686410904, -0.509706437587738, -0.5702680945396423, -0.2590436339378357, -0.632631778717041, -0.7161875367164612, -0.07985551655292511, -0.5033935904502869, -0.3741621673107147, -0.0807264968752861, 0.08468663692474365, -0.47319895029067993, -0.4229588806629181, 0.19537189602851868, -0.017335159704089165, 0.11377640813589096, -0.12713417410850525, -0.8861530423164368, 0.43560534715652466, 0.4293248951435089, 0.5008311867713928, -0.14435504376888275, 0.08611970394849777, -0.29444536566734314, -0.17516636848449707, -0.3657466769218445, 1.205578327178955, -0.5395002365112305, -0.2304103672504425, -0.1604813188314438, -0.32156166434288025, 0.27055731415748596, -0.5552172660827637, 0.7749483585357666, -0.4710995852947235, 0.5989890098571777, -0.325844943523407, -0.582949161529541, -0.32441580295562744, 0.15483546257019043, -0.6728104948997498, 1.2397533655166626, 0.07146316766738892, -0.972349226474762, 0.41575363278388977, -0.5362805724143982, -0.384874552488327, 0.12546367943286896, -0.47760945558547974, -0.7363262176513672, 0.19227153062820435, 0.16835904121398926, 0.43983203172683716, -0.4030565917491913, 0.2245853692293167, -0.5045396685600281, -0.5197436213493347, 0.613135576248169, -0.769734263420105, 0.7469087839126587, 0.24382835626602173, -0.29508712887763977, 0.017533913254737854, -1.0119900703430176, -0.044593747705221176, 0.14965209364891052, -0.21861296892166138, -0.41705262660980225, 0.27566707134246826, 0.3174600601196289, 0.15383845567703247, 0.022846771404147148, -0.4356357157230377, -0.023938635364174843, -0.49163031578063965, 0.23887059092521667, 0.3738831877708435, 0.12797506153583527, 0.6114659309387207, -0.2737545669078827, 0.5060897469520569, -0.05991668254137039, 0.08023235201835632, -0.04967714473605156, -0.6180464029312134, -0.6516686081886292, -0.42568978667259216, 0.49167340993881226, 0.4530850648880005, -0.767747163772583, 0.5860751271247864, 0.02921011485159397, -0.32334721088409424, -0.22510047256946564, -0.10327429324388504, 0.48194918036460876, 0.5915412902832031, 0.18090508878231049, -0.3545284569263458, -0.3952619135379791, -1.1583168506622314, -0.3656664490699768, -0.5094330310821533, -0.3693118393421173, 0.17958220839500427, 0.36908984184265137, -0.20537099242210388, 1.1645320653915405, -0.7350288033485413, -0.11815761029720306, -0.12023653090000153, 0.2379886358976364, 0.04073439911007881, 0.29672661423683167, 0.8970038890838623, -0.8796762824058533, -0.6711482405662537, -0.03985380008816719, -0.7622835636138916, -0.3741074800491333, 0.015422011725604534, 0.0001072949162335135, 0.15484069287776947, 0.6232615113258362, -0.06475567817687988, 0.34129825234413147, 0.16694888472557068, -0.2538146376609802, 0.6485922336578369, -0.03563675284385681, 0.23427429795265198, -0.9022482633590698, 0.11703121662139893, 0.39026525616645813, -0.3744371831417084, -0.8716078400611877, 0.11971503496170044, 0.2396710216999054, 0.32447007298469543, -0.46638041734695435, 0.651904821395874, -0.3601062595844269, -0.15443302690982819, -0.3330531120300293, -0.003997431602329016, -0.3299461305141449, 0.5840014219284058, 0.1921246349811554, 0.34846898913383484, 0.5686600208282471, -0.49435845017433167, 0.1116163358092308, -0.09122666716575623, -0.4183718264102936, 0.5773788094520569, -0.319900780916214, 0.14120440185070038, -0.09057070314884186, 0.1017022356390953, -0.9829161763191223, -0.40541619062423706, 0.6062934994697571, -0.554564893245697, 0.29334598779678345, -0.31418702006340027, -0.6408537030220032, -0.3590035140514374, -0.44000598788261414, 0.5232457518577576, 0.7592568397521973, -0.0882362350821495, 0.11859249323606491, 0.22511862218379974, -0.07394418865442276, -0.3426164984703064, -0.6262766122817993, 0.07674016058444977, -0.46110761165618896, -0.5296781659126282, 0.3733118772506714, 0.10728096961975098, -0.38447603583335876, -0.1311672031879425, -0.07010176032781601, -0.44353368878364563, 0.22516688704490662, 0.02059420756995678, 0.2208988517522812, -0.38312074542045593, 0.17358285188674927, 0.33803591132164, -0.42754125595092773, -0.1987779289484024, -0.3944385349750519, 0.4432441294193268, -0.2504183053970337, -0.3732406198978424, -0.5880098342895508, 0.22405223548412323, 0.22692984342575073, -0.2875424325466156, 0.3237869441509247, 0.929715633392334, -0.4116053283214569, -0.009107970632612705, -0.6168009042739868, -0.5661248564720154, -0.48428767919540405, 0.31621620059013367, -0.33922988176345825, -0.8116734623908997, 0.6218602657318115, 0.031955502927303314, -0.3679525852203369, 0.3765828311443329, 0.510785698890686, -0.3490401804447174, 0.8689586520195007, 0.8852203488349915, -0.023075010627508163, 0.770489513874054, 0.11701862514019012, 0.13878637552261353, -0.5902313590049744, 0.29220348596572876, -0.7402609586715698, -0.18076519668102264, -0.5179978013038635, -0.2554100453853607, 0.438002347946167, 0.221768319606781, -0.10692933201789856, 0.29317930340766907, -0.39412879943847656, 0.6607645153999329, 0.4735059142112732, 0.1419343650341034, 0.3369329571723938, 0.21693480014801025, -0.12897488474845886, -0.38433462381362915, -0.30411073565483093, -0.6425926685333252, 1.128092646598816, 0.47103387117385864, 0.40263837575912476, 0.3218936324119568, 0.7869894504547119, 0.5103231072425842, 0.1727209836244583, -0.725473940372467, 0.5451618432998657, -0.2148485779762268, -0.5446175932884216, -0.21707722544670105, -0.46569228172302246, -0.8886197805404663, 0.33015212416648865, -0.38322821259498596, -1.0168908834457397, 0.1265670359134674, 0.1126454770565033, -0.27099353075027466, 0.17719519138336182, -0.5473414659500122, 0.9046608209609985, 0.10464712977409363, -0.14212748408317566, 0.044942520558834076, -0.6637117266654968, 0.41565772891044617, -0.3490258753299713, 0.37369322776794434, -0.25758054852485657, 0.2591364085674286, 0.7392457723617554, 0.01342101488262415, 0.9356175065040588, -0.15506045520305634, -0.35250094532966614, 0.24789012968540192, 0.32940030097961426, 0.2540811598300934, -0.19808438420295715, 0.051184333860874176, 0.1422056257724762, -0.07048236578702927, -0.5072785019874573, -0.41366416215896606, 0.3531256914138794, -0.30998098850250244, -0.20280219614505768, -0.2486967295408249, -0.5245757102966309, -0.21590471267700195, 0.3539949059486389, 0.6142399311065674, 0.4202747344970703, -0.2566726505756378, -0.10719181597232819, 0.6063348650932312, -0.27361422777175903, 0.660574734210968, 0.6422099471092224, -0.48585712909698486, 0.191483736038208, 0.8903030753135681, -0.1499970406293869, 0.23293936252593994, 0.4558738172054291, 0.4869522452354431, -0.3570842742919922, -0.5594456791877747, -0.312188982963562, 0.34427687525749207, -0.4771958291530609, 0.12254605442285538, -0.3421981632709503, 0.11575203388929367, -0.3086763620376587, -0.1982792764902115, -0.24624189734458923, -0.4206407964229584, -0.1742393672466278, 0.34606876969337463, 0.04765644297003746, 0.47874873876571655, -0.009348529390990734, 0.4457756578922272, -0.769474446773529, 0.3948027789592743, 0.15728133916854858, 0.006832818500697613, -0.1476755440235138, -0.5324693322181702, -0.09833347797393799, 0.16736549139022827, -0.2655723989009857, -1.0788614749908447, 0.467031866312027, 0.2574322521686554, 0.4802651107311249, 0.5117378234863281, 0.15669302642345428, 0.24447862803936005, -0.2953689396381378, 0.6333867311477661, 0.17879097163677216, -1.0792852640151978, 0.44327571988105774, -0.5101333260536194, 0.3026188015937805, 0.3287922739982605, 0.12425419688224792, -0.6434379816055298, -0.6073760986328125, -0.540346622467041, -0.3595905303955078, 0.8019894957542419, 0.6259159445762634, -0.030925920233130455, 0.06774286925792694, 0.3896438479423523, -0.032953180372714996, -0.046236567199230194, -0.8079137206077576, -0.21741485595703125, 0.36877545714378357, -0.3748503029346466, 0.010806029662489891, -0.13488195836544037, 0.15579749643802643, -0.06239927187561989, 0.4114519953727722, -0.35678595304489136, 0.47808974981307983, -0.23008961975574493, -0.37416037917137146, -0.04843046888709068, 0.4518175423145294, 0.6814243793487549, 0.16558803617954254, -0.32482337951660156, 0.38631367683410645, 0.12309684604406357, -0.572117030620575, 0.09313260018825531, -0.017490217462182045, -0.24280700087547302, 0.1175258606672287, 0.7381657958030701, 0.4996435046195984, 0.48468413949012756, -0.529346227645874, 0.5779107809066772, -0.02362281270325184, -0.1206078827381134, -0.17776432633399963, -0.012769699096679688, 0.05838297680020332, 0.4464596211910248, 0.33495479822158813, 0.40312138199806213, 0.508598268032074, -0.4903135895729065, 0.36765092611312866, 0.15175975859165192, -0.5197650194168091, -0.4787285625934601, 0.5152818560600281, 0.01005063857883215, -0.38088732957839966, 0.40904220938682556, -0.6872080564498901, -0.5798394083976746, 0.6089451313018799, 0.3035089373588562, 1.0303324460983276, -0.17168819904327393, 0.3706003427505493, -0.06675048917531967, 0.067217156291008, -0.046612583100795746, 0.2272559553384781, -0.3848429322242737, -1.0190213918685913, -0.2614244222640991, -0.49349531531333923, -0.11903908848762512, -0.10834330320358276, -0.7982696890830994, 0.4832921326160431, -0.1596318930387497, -0.1869322508573532, 0.6848474740982056, -0.13108888268470764, -0.2892458736896515, -0.2195204347372055, 0.49138590693473816, 0.4932396709918976, -0.9442513585090637, 1.3950133323669434, 0.4614485502243042, -0.2796584665775299, -0.5371126532554626, 0.40231290459632874, 0.4548788070678711, -0.378028005361557, 0.8319846987724304, 0.06443691998720169, -0.29449203610420227, -0.13297410309314728, -0.27994027733802795, -0.49900445342063904, 0.7218102812767029, 0.5544977784156799, -0.7230510711669922, -0.05006797984242439, 0.21489287912845612, 0.6830635070800781, 0.10588658601045609, 0.04457275941967964, 0.5404638051986694, 0.3763502836227417, 0.014551317319273949, -1.046460509300232, -0.2791999578475952, 0.0944681242108345, 0.03501151129603386, 0.6025480628013611, 0.03924207389354706, 1.0743629932403564, 0.06495388597249985, -0.4434102773666382, -0.012285967357456684, 0.6161929368972778, 0.1479531079530716, 0.3470553755760193, 0.5014248490333557, 0.20465673506259918, 0.79572993516922, 0.004391173832118511, 0.9256981015205383, -0.17805473506450653, 0.7713572978973389, 0.8467574715614319, -0.433175653219223, 0.9075546860694885, 0.17434006929397583, -0.3846440613269806, 0.626481831073761, 0.49513939023017883, 0.16623961925506592, 0.5326418876647949, 0.08535001426935196, -0.6221179962158203, -0.3707735240459442, 0.32579103112220764, -0.26509708166122437, 0.5512784123420715, 0.4574786424636841, -0.2548527419567108, -0.5338484644889832, 0.27133071422576904, 0.10195517539978027, 0.25506195425987244, -0.012950167991220951, 0.5220752358436584, 0.10243102163076401, -0.10761505365371704, 0.5977296233177185, 0.44395801424980164, 0.994077205657959, -0.44609642028808594, 0.09844277799129486, 0.05295904353260994, 0.37884435057640076, -0.20722481608390808, -0.7635223269462585, 0.4197927415370941, 0.09463720768690109, -0.24446706473827362, 0.0839872807264328, 1.0554691553115845, -0.3445051908493042, -0.4821699857711792, 0.187678724527359, 0.5642684102058411, 0.11657273769378662, -0.34828516840934753, -0.7707199454307556, -0.03421506658196449, 0.09681184589862823, 0.0904453918337822, 0.23862768709659576, 0.12267561256885529, -0.5787824392318726, 0.5401309132575989, 0.610252320766449, -0.24168196320533752, -0.010673485696315765, 0.17001916468143463, 0.3935621976852417, -0.623740017414093, -0.6719524264335632, -1.0392236709594727, 0.20052506029605865, -0.08033006638288498, -0.25136345624923706, 0.6511157751083374, 0.49217984080314636, 0.6757239103317261, -0.23331069946289062, 0.552812397480011, -0.05821487307548523, 0.5937836170196533, -0.4772801101207733, 0.7088631987571716, -0.33300721645355225, 0.5113510489463806, -0.46968159079551697, -0.998513400554657, -0.7955068945884705, 0.8123562932014465, -0.33852577209472656, -0.05663164332509041, 0.733113169670105, 0.8334462642669678, -0.2746003568172455, -0.0018737047212198377, 0.5216158032417297, -0.0010714007075875998, 0.5424569249153137, 0.5325096249580383, 0.8563470244407654, -0.4253319501876831, 0.32099854946136475, -0.30588364601135254, -0.31030651926994324, -0.2079858034849167, -0.8604196906089783, -0.894811749458313, -0.8392455577850342, -0.6395092010498047, -0.062226250767707825, -0.14118695259094238, 0.6991311311721802, 0.8752398490905762, -0.7492288947105408, -0.2791796028614044, -0.16070973873138428, 0.017853042110800743, -0.28866270184516907, -0.23734602332115173, 0.41635024547576904, -0.02695205621421337, -0.6342196464538574, 0.4174136817455292, 0.34989163279533386, 0.15909680724143982, -0.34671512246131897, -0.0960184633731842, -0.062443576753139496, 0.24444714188575745, 0.5662834644317627, 0.5421498417854309, -0.8352805972099304, -0.4994981288909912, -0.017351288348436356, -0.26068437099456787, -0.09599483758211136, 0.8839493989944458, -0.9720257520675659, 0.2428547739982605, 0.4857530891895294, 0.15343503654003143, 0.6426540613174438, -0.5978409647941589, 0.279398113489151, -1.2392038106918335, 0.4645344913005829, 0.22964206337928772, 0.22435502707958221, 0.240712970495224, -0.13321837782859802, 0.34764203429222107, 0.5097830295562744, -0.2850431203842163, -0.9495406150817871, 0.500341534614563, -1.2239090204238892, -0.5103479027748108, 0.9394510984420776, 0.0589413084089756, -0.09871204942464828, -0.39098548889160156, -0.36294886469841003, 0.11186220496892929, -0.28372493386268616, 0.6933041214942932, 0.5229276418685913, -0.20065143704414368, -0.1834961622953415, -0.43936002254486084, 0.5414905548095703, 0.1585301160812378, -0.8181917667388916, -0.1485520601272583, 0.4461088478565216, 0.4222428500652313, 0.22211100161075592, 0.7047291994094849, -0.12847396731376648, 0.36085495352745056, 0.11550735682249069, 0.14242513477802277, 0.1302746683359146, -0.1479603499174118, -0.44334858655929565, 0.23735632002353668, 0.06931157410144806, -0.18136443197727203 ]
http://arxiv.org/abs/2406.19853v1
http://arxiv.org/pdf/2406.19853v1
YuLan: An Open-source Large Language Model
2024-06-28T11:52:53
2024-06-28T11:52:53
Yutao Zhu, Kun Zhou, Kelong Mao, Wentong Chen, Yiding Sun, Zhipeng Chen, Qian Cao, Yihan Wu, Yushuo Chen, Feng Wang, Lei Zhang, Junyi Li, Xiaolei Wang, Lei Wang, Beichen Zhang, Zican Dong, Xiaoxue Cheng, Yuhan Chen, Xinyu Tang, Yupeng Hou, Qiangqiang Ren, Xincheng Pang, Shufang Xie, Wayne Xin Zhao, Zhicheng Dou, Jiaxin Mao, Yankai Lin, Ruihua Song, Jun Xu, Xu Chen, Rui Yan, Zhewei Wei, Di Hu, Wenbing Huang, Ze-Feng Gao, Yueguo Chen, Weizheng Lu, Ji-Rong Wen
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have become the foundation of many applications, leveraging their extensive capabilities in processing and understanding natural language. While many open-source LLMs have been released with technical reports, the lack of training details hinders further research and development. This paper presents the development of YuLan, a series of open-source LLMs with $12$ billion parameters. The base model of YuLan is pre-trained on approximately $1.7$T tokens derived from a diverse corpus, including massive English, Chinese, and multilingual texts. We design a three-stage pre-training method to enhance YuLan's overall capabilities. Subsequent phases of training incorporate instruction-tuning and human alignment, employing a substantial volume of high-quality synthesized data. To facilitate the learning of complex and long-tail knowledge, we devise a curriculum-learning framework throughout across these stages, which helps LLMs learn knowledge in an easy-to-hard manner. YuLan's training is finished on Jan, 2024 and has achieved performance on par with state-of-the-art LLMs across various English and Chinese benchmarks. This paper outlines a comprehensive technical roadmap for developing LLMs from scratch. Our model and codes are available at https://github.com/RUC-GSAI/YuLan-Chat.
[ -0.08241726458072662, -0.6268384456634521, 0.42137399315834045, 0.04812435805797577, -0.18471553921699524, -0.060930509120225906, -0.49995702505111694, -0.4777040183544159, 0.28806477785110474, 0.6589056849479675, -0.2659114599227905, -0.4061402380466461, -0.23448167741298676, -0.14322859048843384, -0.27009573578834534, 1.0605162382125854, 0.09079692512750626, 0.046609073877334595, 0.37640050053596497, -0.058001432567834854, -0.10897446423768997, -0.10963092744350433, -0.33998697996139526, -0.29338765144348145, 0.9033945798873901, 0.48417720198631287, 0.5697031021118164, 1.0658620595932007, 0.3077971339225769, 0.2705828845500946, -0.1920592188835144, 0.10359567403793335, -0.5088070034980774, -0.0011536672245711088, -0.16354796290397644, -0.401691198348999, -0.6856523156166077, 0.08177384734153748, 0.8787915110588074, 0.8271639943122864, -0.010109701193869114, 0.45448529720306396, 0.057877808809280396, 0.5030047297477722, -0.44849497079849243, 0.133791983127594, -0.7295928001403809, -0.013487562537193298, -0.6247455477714539, -0.13566866517066956, -0.33219224214553833, -0.25767233967781067, 0.15244288742542267, -0.6247237324714661, -0.1508992463350296, 0.03407013416290283, 0.8152615427970886, -0.04828490689396858, -0.15410305559635162, -0.2549436092376709, -0.4873124361038208, 0.9082933068275452, -0.8762550354003906, 0.5446622371673584, 0.3577044904232025, 0.4145693778991699, -0.22049084305763245, -0.734237790107727, -0.378738671541214, -0.3962594270706177, 0.17683830857276917, -0.257429301738739, 0.5072425603866577, -0.09140590578317642, 0.16004563868045807, 0.330150306224823, -0.4769599735736847, 0.45802876353263855, -0.518460214138031, 0.10510467737913132, 0.3630598187446594, 0.1268477439880371, 0.17614009976387024, -0.16628965735435486, -0.5788177251815796, 0.19906216859817505, -0.8333945870399475, -0.3031172454357147, 0.4206245541572571, 0.710784912109375, -0.36774590611457825, 0.5307928919792175, -0.23991012573242188, 0.5688044428825378, -0.14805303514003754, -0.5717710852622986, 0.317630797624588, -0.062223296612501144, -0.5101591944694519, -0.07830271124839783, 0.796725869178772, -0.18991094827651978, 0.08427635580301285, -0.1369069367647171, -0.39780059456825256, -0.3187548816204071, 0.015888668596744537, -0.7319107055664062, -0.09871502220630646, 0.38756927847862244, -0.4019804298877716, -0.2140025645494461, -0.12375790625810623, -0.6580457091331482, -0.6478644609451294, -0.6142487525939941, 0.47836044430732727, -0.40758833289146423, -0.37785810232162476, 0.1997324377298355, 0.3893079161643982, 0.42191818356513977, 0.45635929703712463, -0.7527475357055664, -0.012271185405552387, 0.6378229856491089, 0.8939977288246155, -0.016566205769777298, -0.674502968788147, -0.7845674157142639, 0.29620227217674255, -0.4564581513404846, 0.421805739402771, 0.009320535697042942, 0.1379317045211792, 0.239085391163826, -0.2587772309780121, 0.2719946503639221, -0.43779608607292175, 0.4818088412284851, -0.878024697303772, 0.25244688987731934, -0.09972607344388962, -0.4937409460544586, 0.18180273473262787, 0.3360164165496826, -0.7936743497848511, 0.6392214894294739, -0.011282755993306637, -0.8888309597969055, 0.14945659041404724, -0.7919455170631409, -0.3370647132396698, 0.6440080404281616, -0.08923795819282532, -0.16213764250278473, -0.22637179493904114, -0.03540836647152901, 0.6269873976707458, -0.734094500541687, 0.4395788609981537, -0.28931501507759094, -0.3050430715084076, 0.09197436273097992, -0.012089202180504799, 1.0225144624710083, 0.6152682900428772, -0.23159921169281006, 0.24038325250148773, -0.760034441947937, 0.15086261928081512, 0.191452294588089, -0.5016700625419617, -0.1508786529302597, -0.11191646009683609, 0.0784425288438797, 0.019047502428293228, 0.5727314352989197, -0.3998696208000183, -0.10103117674589157, -0.374579519033432, 0.3498939573764801, 0.7781488299369812, -0.48726820945739746, 0.3962115943431854, -0.21785573661327362, 0.2987588047981262, 0.15495260059833527, 0.034332867711782455, -0.7446103096008301, -0.08790361881256104, -1.0393030643463135, -0.2659446895122528, 0.13238362967967987, 0.1679840087890625, -0.7598419189453125, 0.4638906419277191, -0.21874195337295532, -0.5164331793785095, -0.538605809211731, 0.6132940053939819, 0.2987619638442993, 0.2935815155506134, 0.33980655670166016, 0.07626837491989136, -0.5816352367401123, -0.6554076671600342, -0.1641547679901123, -0.3374415338039398, -0.0426592193543911, -0.36343201994895935, 0.4476480484008789, -0.16518227756023407, 0.9407508373260498, -0.40227237343788147, -0.5989732146263123, -0.6422154307365417, 0.02035280130803585, 0.31278228759765625, 0.21226182579994202, 0.36968931555747986, -0.528717577457428, -0.491699755191803, 0.5005154609680176, -0.6722849607467651, -0.09900592267513275, 0.028973150998353958, 0.03282702714204788, 0.3330354392528534, 0.6547993421554565, -0.3557760417461395, -0.008990530855953693, 0.6677275896072388, -0.09563612937927246, 0.5385091304779053, -0.31531983613967896, -0.33400410413742065, -1.3632546663284302, 0.38706180453300476, 0.0981552004814148, -0.15526911616325378, -0.7115188837051392, 0.39554381370544434, 0.23168505728244781, -0.08274607360363007, -0.5637326836585999, 0.569926917552948, -0.52009516954422, 0.09215226024389267, -0.33269110321998596, 0.16147807240486145, -0.3472617268562317, 0.42299261689186096, 0.008481021039187908, 0.5431153774261475, 0.249740332365036, -0.524697482585907, 0.48496782779693604, -0.13373209536075592, -0.7725280523300171, 0.379881352186203, -0.855992317199707, 0.09470480680465698, -0.2045578509569168, -0.17566439509391785, -0.43462860584259033, -0.4734193980693817, 0.13831885159015656, -0.16060006618499756, 0.08425336331129074, -0.04844091832637787, -0.5155776739120483, -0.25900182127952576, -0.19687041640281677, 0.07430513948202133, 0.4255630373954773, -0.631956934928894, 0.36092790961265564, 0.5408124923706055, -0.21599355340003967, -0.48466548323631287, -0.6123102307319641, 0.1843235343694687, -0.24162466824054718, -0.4130248725414276, -0.06921276450157166, -0.17138217389583588, -0.31665924191474915, -0.050554901361465454, 0.4639706313610077, -0.2832711338996887, 0.08465979248285294, -0.08461581915616989, 0.29646778106689453, -0.35497575998306274, 0.23163481056690216, -0.28511708974838257, -0.036030083894729614, -0.007661549840122461, -0.7493119835853577, 0.580359935760498, -0.12351728975772858, -0.37694719433784485, -0.31026291847229004, -0.04715752229094505, 0.5205138325691223, -0.5271676182746887, 0.7107742428779602, 0.4535204768180847, -0.466316282749176, -0.7097582817077637, -0.5992514491081238, 0.35735663771629333, -0.4941547214984894, 0.6104562878608704, -0.18063628673553467, -0.9500805139541626, 0.3028036057949066, 0.0855012908577919, 0.41844233870506287, 0.1953234076499939, 0.7597286105155945, 0.08836600184440613, 0.224106103181839, 0.7324707508087158, -0.35913094878196716, 0.48816823959350586, 0.02929418906569481, 0.2041473090648651, -0.32114312052726746, -0.28428012132644653, -0.5404732823371887, -0.050518497824668884, -0.3043269217014313, -0.7401753664016724, 0.36476823687553406, -0.14331220090389252, -0.5997809171676636, 0.33617115020751953, 0.24810419976711273, 0.752056896686554, 0.5648463368415833, -0.1378730833530426, 0.4234461784362793, -0.12264454364776611, -0.05483373999595642, -0.016469646245241165, -0.5640568137168884, -0.4949546158313751, 1.0268474817276, 0.7611627578735352, 1.0236966609954834, 0.08915683627128601, 0.6462222933769226, 0.12884347140789032, 0.14994144439697266, -0.654872477054596, 0.5266129970550537, 0.04441866651177406, -0.6049720644950867, -0.4736948609352112, -0.616956889629364, -0.7734057903289795, 0.029717445373535156, -0.0780220478773117, -0.382299542427063, -0.4770949184894562, -0.03899393230676651, -0.1871359646320343, 0.5697810053825378, -0.5516064763069153, 0.638354480266571, -0.6365217566490173, -0.5449987053871155, -0.02371436171233654, -0.7402368187904358, 0.618192732334137, -0.4321948289871216, 0.28941527009010315, -0.014503298327326775, -0.020803913474082947, 0.6497704386711121, -0.3003557026386261, 0.9155949950218201, -0.09550722688436508, -0.4281691014766693, 0.3648620545864105, -0.15100017189979553, 0.2027760148048401, -0.027415502816438675, -0.08905184268951416, 0.05634832754731178, -0.33605778217315674, -0.37002795934677124, -0.21501524746418, 0.7363957166671753, -0.9454292058944702, -0.3712681829929352, -0.20316775143146515, -0.7109814286231995, -0.12138711661100388, 0.5710638165473938, -0.20024941861629486, 0.20490092039108276, -0.3504525423049927, 0.1549506038427353, 0.8555495142936707, -0.6177158951759338, 0.35595619678497314, 0.4639105498790741, -0.6108129024505615, -0.6769440770149231, 0.8260258436203003, 0.0477709025144577, 0.48196136951446533, 0.31805381178855896, 0.3272084891796112, -0.07177992910146713, -0.4666723906993866, -0.3450661301612854, 0.535505473613739, -0.6166525483131409, -0.21301189064979553, -0.3967607021331787, -0.41580846905708313, -0.604675829410553, 0.08374698460102081, -0.5674484968185425, 0.011301549151539803, -0.2235197126865387, 0.11585558205842972, 0.0822770968079567, 0.9848609566688538, 0.08648064732551575, 0.4064332842826843, -0.7016127705574036, 0.41592928767204285, 0.31042370200157166, 0.6601375937461853, 0.09903696179389954, -0.6239446997642517, -0.8896324634552002, 0.1797155737876892, -0.21729867160320282, -0.3147202730178833, 0.5489500164985657, 0.02201252058148384, 0.38823914527893066, 0.6477041840553284, -0.060534458607435226, 0.6959515810012817, -0.4455336928367615, 0.7010185718536377, 0.43678978085517883, -0.9786996841430664, 0.4181719124317169, -0.6837183237075806, 0.39862316846847534, 0.310210645198822, 0.4324377775192261, -0.6479424834251404, -0.06693468987941742, -0.14047715067863464, -0.43052804470062256, 0.9247689843177795, -0.28035029768943787, 0.10758889466524124, 0.20376121997833252, 0.1788059026002884, 0.12244199216365814, 0.12157607078552246, -0.9524908661842346, -0.060227807611227036, 0.03775578737258911, -0.014271903783082962, -0.188259556889534, -0.2847495377063751, -0.0032543938141316175, -0.20818932354450226, 0.6217589974403381, -0.3102833032608032, -0.10793997347354889, -0.2420019954442978, -0.1508943736553192, -0.14460162818431854, 0.3198009729385376, 0.3695331811904907, 0.5996870994567871, -0.14710432291030884, 0.08025334030389786, 0.053064290434122086, -0.3471134603023529, -0.0833594799041748, 0.0017264785710722208, -0.03212245926260948, -0.20801980793476105, 0.44698113203048706, 0.7059011459350586, -0.009193255566060543, -0.7990374565124512, 0.510448694229126, 0.35421010851860046, -0.2892191708087921, -0.4567788541316986, -0.13838575780391693, 0.43198853731155396, 0.4047299325466156, 0.26085329055786133, -0.5579172968864441, -0.3633621633052826, -0.5593403577804565, -0.047711919993162155, 0.17827816307544708, -0.24279911816120148, -0.4930104613304138, 0.7183914184570312, 0.283174067735672, -0.07195953279733658, 0.5019554495811462, -0.22054125368595123, -0.5043782591819763, 0.15028239786624908, 0.5945419073104858, 0.8033862113952637, -0.23014886677265167, 0.32177579402923584, 0.36206233501434326, 0.41877177357673645, -0.27454397082328796, 0.22472834587097168, 0.22032073140144348, -0.5957755446434021, -0.6082173585891724, -0.7999310493469238, -0.4944940507411957, 0.4701835811138153, -0.20473487675189972, 0.8658996820449829, -0.6604571342468262, 0.15274329483509064, -0.3604755699634552, 0.25960418581962585, -0.510170578956604, 0.14421814680099487, 0.34943825006484985, 0.9994348883628845, -0.5688923597335815, 1.2036621570587158, 0.7830697894096375, -0.509768009185791, -0.8181145787239075, -0.08018505573272705, -0.17894470691680908, -0.6541485786437988, 0.8943895101547241, 0.1265534907579422, -0.0044050198048353195, -0.09955313801765442, -0.6968556642532349, -0.855333685874939, 1.172861099243164, 0.6410015225410461, -0.43298521637916565, -0.3884722888469696, 0.5759829878807068, 0.47209250926971436, -0.22293785214424133, 0.14098145067691803, 0.2830356955528259, 0.23519760370254517, 0.16641581058502197, -1.04349946975708, -0.33645713329315186, -0.09194169193506241, 0.024343425408005714, 0.13358204066753387, -0.7506456971168518, 1.237406849861145, -0.3745240271091461, -0.10281272977590561, 0.39439040422439575, 0.9169296622276306, 0.18297778069972992, 0.18634675443172455, 0.3343068063259125, 0.5113603472709656, 0.7799680829048157, 0.2876846492290497, 0.5230600833892822, -0.3072110414505005, 0.15872128307819366, 1.2218605279922485, -0.4935609996318817, 0.9401074647903442, 0.4399423599243164, -0.013290412724018097, 0.35875001549720764, 0.09102337062358856, 0.3683113753795624, 0.17644836008548737, 0.3818647265434265, -0.24608662724494934, -0.1736569106578827, -0.3136370778083801, -0.3488609790802002, 0.44255390763282776, 0.2982126772403717, -0.41018038988113403, -0.26564130187034607, -0.2955075204372406, 0.10452340543270111, 0.11173595488071442, -0.35519787669181824, 0.4110717177391052, 0.18716751039028168, -0.3810756802558899, 0.3950859308242798, 0.2664715051651001, 0.6963956952095032, -0.939534068107605, 0.204152449965477, -0.31883811950683594, 0.29956701397895813, -0.10998504608869553, -0.4701145589351654, -0.05090665817260742, 0.2261328548192978, 0.29084643721580505, -0.34474441409111023, 0.621443510055542, -0.6289820075035095, -0.2584374248981476, 0.2394082099199295, 0.6637777090072632, 0.07872624695301056, 0.22340476512908936, -0.20533813536167145, 0.25904643535614014, -0.1792002022266388, -0.21190476417541504, 0.384679913520813, 0.7295964360237122, 0.04474432021379471, 0.6358466744422913, 0.5773995518684387, 0.38466277718544006, 0.014619623310863972, -0.0321928933262825, 1.0009546279907227, -0.7780850529670715, -0.47996190190315247, -0.6173408031463623, 0.4541603922843933, 0.012608930468559265, -0.41484689712524414, 0.691150963306427, 0.38458070158958435, 0.9211737513542175, 0.004806114360690117, 0.868552565574646, 0.00929486658424139, 0.6748861074447632, -0.5279493927955627, 1.020780324935913, -0.5580508708953857, 0.3927552402019501, -0.31141263246536255, -0.891886293888092, -0.46300333738327026, 0.3925676941871643, -0.040069375187158585, -0.024062629789114, 0.5352604985237122, 0.6008849740028381, -0.050389084964990616, 0.026811255142092705, 0.503828763961792, 0.2841285765171051, 0.4728456139564514, 0.5520838499069214, 0.9608600735664368, -0.12030895054340363, 0.35545799136161804, -0.10004163533449173, -0.22326144576072693, -0.026456324383616447, -1.007957100868225, -1.1799153089523315, -0.5390719175338745, 0.003255097661167383, -0.04411108046770096, -0.0514083132147789, 1.3249977827072144, 0.5391270518302917, -0.5089612007141113, -0.8330703377723694, 0.15235300362110138, -0.08401645720005035, 0.32669004797935486, -0.07658528536558151, 0.046682924032211304, -0.7418056130409241, -0.7932336330413818, 0.4017101228237152, 0.13135556876659393, -0.1050078272819519, -0.7617228031158447, -0.3768186569213867, -0.24861781299114227, -0.2325560748577118, 0.6317663192749023, 0.39113113284111023, -0.5332493782043457, -0.05403943732380867, 0.15629549324512482, -0.3036423325538635, -0.1414284110069275, 0.6245964765548706, -0.6944423317909241, 0.2657095789909363, 0.4126377999782562, 0.9868505001068115, 0.0343780592083931, -0.4086071848869324, 0.5296255946159363, -0.3664030432701111, 0.22949565947055817, 0.015924345701932907, 0.284505158662796, 0.313873291015625, 0.15328186750411987, 0.3092496395111084, 0.03272833302617073, -0.5998538136482239, -0.7773899435997009, 0.19158104062080383, -0.6963487267494202, -0.10816362500190735, 1.2907099723815918, -0.19990098476409912, -0.22059836983680725, -0.005497352220118046, -0.104164257645607, 0.17076441645622253, -0.17289592325687408, 0.53280109167099, 0.3752382695674896, 0.589999258518219, 0.05620650574564934, -0.5157442688941956, 0.10149861872196198, 0.2689477503299713, -0.9527043700218201, 0.20957735180854797, 0.6344016194343567, 0.1936929076910019, 0.11262288689613342, 0.5704904198646545, -0.15705013275146484, 0.09289643913507462, -0.22863240540027618, 0.25731557607650757, -0.16110044717788696, -0.6519110202789307, -0.3294456899166107, 0.28271859884262085, 0.7162830829620361, -0.02613893710076809 ]
http://arxiv.org/abs/2406.19840v1
http://arxiv.org/pdf/2406.19840v1
AnomaLLMy -- Detecting anomalous tokens in black-box LLMs through low-confidence single-token predictions
2024-06-28T11:28:44
2024-06-28T11:28:44
Waligóra Witold
cs.CL
cs.CL, cs.AI
This paper introduces AnomaLLMy, a novel technique for the automatic detection of anomalous tokens in black-box Large Language Models (LLMs) with API-only access. Utilizing low-confidence single-token predictions as a cost-effective indicator, AnomaLLMy identifies irregularities in model behavior, addressing the issue of anomalous tokens degrading the quality and reliability of models. Validated on the cl100k_base dataset, the token set of GPT-4, AnomaLLMy detected 413 major and 65 minor anomalies, demonstrating the method's efficiency with just \$24.39 spent in API credits. The insights from this research are expected to be beneficial for enhancing the robustness of and accuracy of LLMs, particularly in the development and assessment of tokenizers.
[ -0.0810566172003746, -0.875460684299469, 0.5582386255264282, 0.17557473480701447, -0.08944150060415268, 0.24650126695632935, 0.1144738644361496, -0.3062659800052643, 0.39391791820526123, 0.7831478714942932, -0.6975728869438171, -0.8176488876342773, -0.693787693977356, 0.2155943065881729, -0.7992773056030273, 0.40820392966270447, 0.16913767158985138, -0.16790302097797394, -0.2610883116722107, -0.01927531696856022, -0.5289040207862854, -0.705047070980072, -0.7560116648674011, -0.14455047249794006, 0.1503225415945053, 0.32025063037872314, 0.7707065343856812, 1.0726532936096191, 0.40733733773231506, 0.26252901554107666, -0.29907000064849854, 0.22568881511688232, -0.2685372233390808, -0.19504785537719727, 0.05505869537591934, -0.867808997631073, -0.64947509765625, -0.044092949479818344, 0.5162637829780579, 0.29034313559532166, 0.007466122508049011, 0.240882009267807, -0.1469886600971222, 0.2940928041934967, -0.4423070549964905, 0.07756883651018143, -0.7937160730361938, 0.14749154448509216, -0.546366810798645, -0.18374043703079224, -0.34670597314834595, -0.29328981041908264, -0.24232351779937744, -0.3754504919052124, 0.1371854990720749, 0.43819504976272583, 0.903017520904541, 0.3842924237251282, -0.20569071173667908, -0.5924671292304993, -0.3662368953227997, 1.1642696857452393, -0.9932146668434143, 0.10128481686115265, 0.34544557332992554, 0.16074897348880768, -0.594973623752594, -0.7736867070198059, -0.6297208666801453, -0.19505508244037628, -0.31533533334732056, -0.27550405263900757, -0.5031121969223022, -0.013598121702671051, 0.1376153528690338, 0.3835400342941284, -0.5153303146362305, 0.3684282898902893, -0.25293615460395813, -0.662632942199707, 0.49614351987838745, 0.21273064613342285, 0.31916481256484985, -0.40226486325263977, -0.6364185214042664, 0.5789861083030701, -0.9667074680328369, -0.26420292258262634, 0.841212272644043, 0.30999284982681274, -0.22239653766155243, 0.56731116771698, 0.194282665848732, 0.62336665391922, -0.00697737280279398, -0.18266330659389496, 0.09246464818716049, -0.5806821584701538, -0.013117765076458454, 0.14628566801548004, 0.5536266565322876, -0.13564124703407288, 0.27637872099876404, -0.22731181979179382, -0.40633612871170044, 0.1345193088054657, 0.10845533013343811, -0.6616961359977722, -0.2630346715450287, 0.5493096113204956, -0.5568164587020874, -0.370648592710495, -0.17857655882835388, -0.7074061632156372, -0.6400104761123657, -0.14897069334983826, 0.5230333209037781, -0.23332668840885162, -0.6678547859191895, -0.08395105600357056, -0.11292444169521332, -0.32780012488365173, 0.2651204466819763, -0.37911733984947205, 0.15863703191280365, 0.6265771985054016, 1.0156970024108887, -0.5840253233909607, -0.5086541771888733, -0.5212075710296631, -0.005458371713757515, -0.37344372272491455, 0.891291618347168, -0.5386954545974731, -0.4726061522960663, 0.04880073666572571, 0.09420770406723022, -0.08127298951148987, -0.6241848468780518, 0.3279874920845032, -0.005611030850559473, 0.10827536880970001, 0.10273101180791855, -0.7212615609169006, -0.294444739818573, 0.3791239559650421, -0.5584574937820435, 0.821074903011322, 0.15270406007766724, -0.548165500164032, 0.26427724957466125, -0.6766732931137085, 0.004775106906890869, 0.2683265209197998, -0.11492909491062164, -0.3326193392276764, 0.3349309265613556, -0.031622473150491714, 0.31221428513526917, -0.09705109149217606, 0.18897108733654022, -0.4801781475543976, -0.74228835105896, 0.6422452330589294, -0.6029457449913025, 0.7098895907402039, 0.08545277267694473, -0.2738562822341919, 0.15973742306232452, -0.7976070642471313, -0.21547424793243408, 0.005390403792262077, -0.13470984995365143, -0.2577059864997864, -0.2079336792230606, -0.19329485297203064, 0.09872230142354965, 0.43278029561042786, -0.4827178418636322, 0.334454208612442, -0.45856690406799316, 0.3310439884662628, 0.9109787344932556, 0.0601237453520298, 0.3807469308376312, -0.16547875106334686, 0.6538407802581787, 0.2702184021472931, 0.19661444425582886, -0.3560825288295746, -0.7869276404380798, -0.6579440832138062, -0.7589319944381714, 0.5313476324081421, 0.38331112265586853, -0.3339618742465973, 0.5236785411834717, 0.1461789757013321, -0.08599674701690674, -0.8527123332023621, 0.459824800491333, 0.30125924944877625, 0.4411909282207489, 0.31183600425720215, -0.3064568042755127, -0.5814691185951233, -0.7852708697319031, -0.4095681309700012, -0.134285107254982, 0.056970808655023575, 0.3195910155773163, 0.5875913500785828, -0.6710388660430908, 0.915974497795105, -0.24524399638175964, -0.4905032515525818, 0.07576480507850647, 0.3127458989620209, 0.5276526808738708, 0.33640751242637634, 0.7322866320610046, -0.5322951674461365, -0.31049636006355286, -0.19394150376319885, -0.6304836869239807, -0.19364920258522034, 0.1367066353559494, -0.11366068571805954, 0.4101160168647766, 0.4310133159160614, -0.5898672938346863, 0.7874401211738586, 0.8426368832588196, -0.6358010172843933, 0.5303916335105896, -0.2171463668346405, 0.07874348759651184, -0.7300252318382263, -0.049468107521533966, -0.3262236714363098, -0.058320917189121246, -0.7846875190734863, -0.1519378274679184, 0.4067228436470032, 0.19342204928398132, -0.43945786356925964, 0.883918821811676, -0.37301939725875854, 0.17634931206703186, -0.594082772731781, -0.04219081625342369, -0.1624947041273117, 0.3264562785625458, -0.3638775646686554, 0.8375465273857117, 0.6964432001113892, -0.5574028491973877, 0.3539057672023773, -0.03989866003394127, 0.07145688682794571, 0.5031754970550537, -0.06263577193021774, 0.1921713799238205, -0.05878335237503052, -0.20360204577445984, -1.3870071172714233, -0.1091436967253685, 0.2368057519197464, -0.6059106588363647, 0.3535284996032715, -0.5824950933456421, -0.4309656023979187, -0.44005391001701355, -0.3294426202774048, 0.19909201562404633, 0.26382189989089966, -0.9279270172119141, 0.7823556661605835, 0.45569950342178345, -0.09917508065700531, -0.776787281036377, -0.8021833896636963, 0.2561717927455902, -0.35429608821868896, -0.3234555423259735, -0.09634465724229813, -0.04460708424448967, -0.026291437447071075, 0.3320056200027466, -0.37425482273101807, -0.09367963671684265, 0.44510549306869507, 0.30139702558517456, 0.36827510595321655, -0.13882292807102203, 0.06593552231788635, -0.10015229135751724, -0.159766286611557, 0.0990229919552803, -0.4638286530971527, 0.7788634896278381, 0.09537529945373535, -0.3260646462440491, -0.4624614119529724, -0.05214301496744156, 0.46044766902923584, 0.1022987961769104, 0.5161371231079102, 0.6260200142860413, -0.7347310185432434, -0.2399391531944275, -0.7064568400382996, -0.12778586149215698, -0.4787771701812744, 0.25703954696655273, -0.07030346244573593, -0.6884326338768005, 0.6641355752944946, -0.036814987659454346, -0.20309290289878845, 0.372012197971344, 0.5891940593719482, 0.3768470883369446, 1.215965747833252, 0.3849596381187439, -0.23030787706375122, 0.3112131655216217, -0.05307115614414215, 0.2850414514541626, -0.4260992109775543, -0.10493387281894684, -0.5464837551116943, -0.16788733005523682, -0.5464999079704285, -0.5165385603904724, 0.04834785684943199, 0.08263851702213287, 0.022711923345923424, 0.27115917205810547, -0.3806232511997223, 0.3354894518852234, 0.6944241523742676, -0.22553017735481262, 0.5043982267379761, -0.09911634773015976, -0.24338214099407196, 0.14249154925346375, -0.4440821707248688, -0.488225519657135, 1.424953579902649, 0.39092370867729187, 0.7198629379272461, 0.2635039985179901, 0.7212197184562683, 0.5020309090614319, 0.6411074995994568, -0.8320824503898621, 0.34385719895362854, -0.08956265449523926, -0.8176587820053101, -0.2790382206439972, -0.6221367716789246, -0.8821479678153992, -0.10103417187929153, -0.3400017023086548, -1.0109527111053467, 0.33089542388916016, 0.49504324793815613, -0.09752190113067627, 0.3085721433162689, -0.9119172692298889, 0.7725012302398682, -0.29645824432373047, -0.20238305628299713, -0.08146830648183823, 0.03640429303050041, 0.6028397083282471, -0.32556062936782837, 0.491939902305603, -0.41477441787719727, -0.22861169278621674, 0.3746665418148041, -0.18302567303180695, 0.6624553799629211, -0.3984133303165436, -0.01123000681400299, 0.3245581090450287, 0.3071867525577545, 0.6816253662109375, 0.29425519704818726, -0.16988824307918549, 0.5874423980712891, 0.02589893527328968, -0.5661463141441345, -0.22009477019309998, 0.8608897924423218, -0.41436266899108887, -0.5849904417991638, -0.42302581667900085, -0.5743883848190308, -0.13180066645145416, 0.37170645594596863, 0.11218336224555969, 0.1813342422246933, 0.07782310992479324, 0.12667450308799744, 0.43961337208747864, -0.2237013429403305, 0.5207071900367737, 0.5173845887184143, -0.3654005229473114, -0.4031434953212738, 0.8455778360366821, 0.142659991979599, -0.007001769263297319, 0.09086184948682785, 0.38755613565444946, -0.5845195651054382, -0.9926908612251282, -0.46927717328071594, 0.31063511967658997, -0.4158704876899719, -0.5347278118133545, -0.47729620337486267, -0.06330816447734833, -0.4868518114089966, 0.35793739557266235, -0.3992033302783966, -0.604454517364502, -0.2453928291797638, -0.11833944171667099, 0.34244295954704285, 0.6388567686080933, 0.004613450262695551, 0.37231093645095825, -0.6110196709632874, 0.12145115435123444, 0.3127508759498596, 0.3792468309402466, 0.016141610220074654, -0.5948683023452759, -0.22626309096813202, -0.06754254549741745, -0.11745363473892212, -0.7835569977760315, 0.6786811351776123, 0.048010535538196564, 0.7839757204055786, 0.730862557888031, -0.16822345554828644, 0.7444900274276733, -0.23114414513111115, 0.75554358959198, 0.2620387077331543, -1.088356614112854, 0.49426326155662537, 0.04089335352182388, 0.24204163253307343, 0.1814650297164917, 0.3712838292121887, -0.2658020257949829, -0.8537350296974182, -0.6105908751487732, -0.8810475468635559, 0.8877964019775391, 0.2584216296672821, 0.04772545024752617, 0.0004127513384446502, 0.5657933354377747, 0.15377937257289886, 0.6878965497016907, -0.6388083696365356, -0.6936826705932617, -0.17397446930408478, -0.35569772124290466, -0.05208268389105797, -0.49281808733940125, -0.22694618999958038, 0.08260533958673477, 0.5943914651870728, -0.1693519651889801, 0.318390429019928, -0.1585913598537445, -0.25252464413642883, -0.34336403012275696, 0.1654612421989441, 0.6171509027481079, 0.8396012783050537, -0.40006694197654724, 0.35168296098709106, 0.29133203625679016, -0.6168901324272156, -0.010150384157896042, 0.1736443191766739, -0.12479342520236969, 0.25406819581985474, 0.36132076382637024, 0.6432721018791199, 0.05811832845211029, -0.7254054546356201, 0.6376563310623169, -0.245146706700325, -0.16323843598365784, -0.33732324838638306, 0.17830801010131836, -0.06626550108194351, 0.11518660187721252, 0.7455502152442932, -0.042464155703783035, 0.18252569437026978, -0.5443392992019653, 0.2951616942882538, 0.6165502667427063, -0.36665329337120056, -0.45926347374916077, 0.5002158284187317, -0.13262245059013367, -0.6288830637931824, 0.15227000415325165, -0.4781217575073242, -0.4487813711166382, 0.6229631304740906, 0.6064673662185669, 0.7163486480712891, -0.4693961441516876, 0.018482713028788567, 0.14414696395397186, 0.4196057617664337, -0.14561927318572998, 0.09906065464019775, 0.34028923511505127, -0.817358136177063, -0.2033734917640686, -0.718328595161438, -0.6520815491676331, 0.3564990162849426, -0.3707367479801178, 0.47300729155540466, -0.44640520215034485, -0.21972303092479706, -0.0506136529147625, 0.15271839499473572, -0.6391024589538574, -0.030860604718327522, 0.14064231514930725, 0.811738908290863, -0.7433789968490601, 0.8223763704299927, 0.6461513638496399, -0.07161712646484375, -0.5445348024368286, -0.08302867412567139, 0.40413326025009155, -1.2500998973846436, 0.2638894021511078, 0.1777278482913971, 0.19057650864124298, 0.10074563324451447, -0.4054541289806366, -0.9910528063774109, 1.0698150396347046, 0.4186447560787201, -0.5021132230758667, 0.0017826760886237025, 0.03082886151969433, 0.32514649629592896, -0.45310935378074646, 0.22353345155715942, 0.8638656139373779, 0.7642353177070618, 0.04945036396384239, -0.777446448802948, 0.18597197532653809, 0.037214022129774094, -0.2400447130203247, 0.450008749961853, -0.46226397156715393, 0.9870408177375793, 0.08353335410356522, -0.39373236894607544, 0.288272887468338, 0.1853618025779724, 0.3641885221004486, 0.49647951126098633, 0.5597655773162842, 0.3309193253517151, 1.1834396123886108, -0.29305851459503174, 0.7710650563240051, -0.5806177258491516, 0.5493322014808655, 0.5165132880210876, 0.08979780972003937, 0.42679649591445923, 0.6254815459251404, -0.07195929437875748, 0.29040437936782837, 0.36099186539649963, -0.1661367118358612, 0.3745959997177124, 0.3424963653087616, -0.3342071771621704, -0.2325877696275711, -0.03928728029131889, -0.3347107172012329, 0.39367952942848206, 0.7197474241256714, -0.10429155826568604, 0.0022119893692433834, -0.06947707384824753, 0.20903567969799042, -0.08820540457963943, -0.5784586668014526, 0.6591728329658508, 0.14506182074546814, -0.31262320280075073, 0.5621294379234314, -0.00006505214696517214, 1.0470587015151978, -0.5047339797019958, 0.0034303900320082903, -0.417683482170105, 0.366192489862442, -0.3542904257774353, -0.33092692494392395, 0.17452412843704224, 0.05843023955821991, 0.15913183987140656, -0.04313918948173523, 0.9721254110336304, -0.45215505361557007, -0.5706266760826111, 0.44689950346946716, 0.6743661761283875, 0.0572807602584362, -0.054043322801589966, -0.6792262196540833, 0.006769550032913685, -0.19729392230510712, -0.07918506115674973, 0.28780680894851685, 0.6590954065322876, 0.10716234147548676, 0.6591976284980774, 0.7083231806755066, 0.5565165281295776, 0.09153366088867188, -0.27715176343917847, 0.5830549597740173, -0.8192857503890991, -0.42785805463790894, -0.9887898564338684, 0.23355254530906677, -0.1451362818479538, -0.19573120772838593, 0.9092420339584351, 0.6699842214584351, 0.5681305527687073, -0.002410539658740163, 0.7937033176422119, 0.3811470568180084, 0.7894880771636963, -0.49197593331336975, 0.6116231083869934, -0.5758334994316101, 0.6592465043067932, 0.03788447007536888, -0.5884877443313599, -0.5243827104568481, 0.37523019313812256, -0.06458255648612976, -0.4666553735733032, 0.75226891040802, 1.1623854637145996, 0.030723588541150093, -0.17982609570026398, 0.49410632252693176, 0.5521215796470642, 0.10288713127374649, 0.2130870819091797, 1.026758074760437, -0.2453795224428177, 0.8523344397544861, -0.08842530846595764, -0.25691184401512146, -0.4361537992954254, -0.9855083227157593, -1.2470059394836426, 0.15780335664749146, -0.28292638063430786, -0.5651535987854004, 0.13745421171188354, 0.8022578358650208, 0.5723586082458496, -1.25040864944458, -0.3928471505641937, -0.15214747190475464, 0.8415434956550598, -0.2794840633869171, -0.2559988498687744, 0.18830081820487976, -0.5977537631988525, -1.0360504388809204, 0.4600710868835449, 0.606526255607605, 0.20734935998916626, -0.36386412382125854, -0.04115448147058487, -0.13724838197231293, 0.27302879095077515, 0.2163466513156891, 0.15710493922233582, -0.6511396169662476, -0.5011491775512695, 0.029641643166542053, 0.06398104131221771, 0.03392215818166733, 0.6483541131019592, -0.404634952545166, 0.4413122236728668, 0.14859749376773834, 0.47434139251708984, 0.4899221956729889, -0.03153872862458229, 0.4943471848964691, -1.0525758266448975, 0.4737742245197296, 0.1528051197528839, 0.3665536344051361, 0.059813857078552246, -0.506198525428772, 0.368884414434433, 0.5330296754837036, -0.25202053785324097, -1.4625147581100464, 0.015549356117844582, -0.6243656873703003, -0.2880922257900238, 1.1161378622055054, -0.2864404022693634, -0.34788817167282104, -0.4039560854434967, -0.04827243462204933, -0.17890334129333496, -0.4178691804409027, 0.8659956455230713, 0.8630838394165039, -0.08806923776865005, 0.04536851868033409, -0.3995460271835327, 0.6208494901657104, 0.08707688748836517, -0.6642995476722717, -0.24359698593616486, 0.21785175800323486, 0.24592894315719604, 0.40716424584388733, 0.42317190766334534, -0.09337303787469864, 0.3573123514652252, -0.06343771517276764, -0.11166822910308838, -0.38534805178642273, -0.24305690824985504, -0.49993449449539185, 0.3012082874774933, 0.22801175713539124, -0.3252948522567749 ]
http://arxiv.org/abs/2406.19820v1
http://arxiv.org/pdf/2406.19820v1
BeamAggR: Beam Aggregation Reasoning over Multi-source Knowledge for Multi-hop Question Answering
2024-06-28T10:53:48
2024-06-28T10:53:48
Zheng Chu, Jingchang Chen, Qianglong Chen, Haotian Wang, Kun Zhu, Xiyuan Du, Weijiang Yu, Ming Liu, Bing Qin
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have demonstrated strong reasoning capabilities. Nevertheless, they still suffer from factual errors when tackling knowledge-intensive tasks. Retrieval-augmented reasoning represents a promising approach. However, significant challenges still persist, including inaccurate and insufficient retrieval for complex questions, as well as difficulty in integrating multi-source knowledge. To address this, we propose Beam Aggregation Reasoning, BeamAggR, a reasoning framework for knowledge-intensive multi-hop QA. BeamAggR explores and prioritizes promising answers at each hop of question. Concretely, we parse the complex questions into trees, which include atom and composite questions, followed by bottom-up reasoning. For atomic questions, the LLM conducts reasoning on multi-source knowledge to get answer candidates. For composite questions, the LLM combines beam candidates, explores multiple reasoning paths through probabilistic aggregation, and prioritizes the most promising trajectory. Extensive experiments on four open-domain multi-hop reasoning datasets show that our method significantly outperforms SOTA methods by 8.5%. Furthermore, our analysis reveals that BeamAggR elicits better knowledge collaboration and answer aggregation.
[ -0.4209234416484833, -1.1662743091583252, 0.9573817849159241, 0.168040469288826, 0.036650609225034714, 0.49278947710990906, 0.228759765625, -0.3012239933013916, -0.02251708135008812, 0.29433029890060425, -0.24201032519340515, -0.4772391617298126, -0.6476097106933594, -0.13612037897109985, -0.1454416960477829, 0.5334107279777527, 0.0053058210760355, 0.04645634442567825, -0.5310711860656738, -0.29957231879234314, -0.5781415700912476, -0.2290392518043518, -0.5534741282463074, -0.32712364196777344, 0.546912431716919, 0.4292556345462799, 0.730676531791687, 0.32219186425209045, 0.6516522765159607, 0.31568798422813416, -0.41579487919807434, 0.7854477167129517, -0.17509689927101135, 0.30418041348457336, -0.43946030735969543, -0.2993420958518982, -0.5420612096786499, -0.4221173822879791, 0.47590041160583496, 0.7841594815254211, -0.12007931619882584, 0.21613094210624695, -0.39687374234199524, 0.3818355202674866, -0.6431241631507874, 0.13322360813617706, -0.5964030623435974, -0.24332278966903687, -0.09188677370548248, -0.18229904770851135, -0.6033015251159668, -0.3602645993232727, -0.22795633971691132, -0.41919180750846863, -0.05836863815784454, 0.39569512009620667, 0.5409424304962158, 0.28408753871917725, -0.776543915271759, -0.1345071941614151, -0.4065447151660919, 0.6744387149810791, -0.4235086143016815, 0.3925175070762634, 0.307881623506546, 0.4308021068572998, -0.24904531240463257, -0.7258142828941345, -0.16911537945270538, 0.03560807183384895, -0.3009248375892639, 0.18591724336147308, -0.15256071090698242, 0.3560341000556946, 0.0586196705698967, 0.11276090890169144, -1.0956064462661743, -0.3374859690666199, -0.19324663281440735, -0.2961566150188446, 0.6429045796394348, 0.05505472421646118, 0.05832673981785774, 0.024845952168107033, -0.4543662965297699, 0.1800355315208435, -0.4879680275917053, 0.04496054723858833, -0.14797908067703247, 0.19796918332576752, 0.32509201765060425, 0.6231077313423157, -0.44559866189956665, 1.096505045890808, 0.1302640438079834, -0.03025003708899021, 0.15670864284038544, -0.5914921760559082, -0.01815684698522091, 0.0820273756980896, 0.5483846068382263, 0.09821759164333344, -0.04286295548081398, -0.17862378060817719, 0.2189936637878418, -0.21809178590774536, 0.08885759860277176, -0.6063628196716309, 0.1602562516927719, 0.7322489023208618, -0.4622771143913269, 0.3077840209007263, -0.2412339448928833, -0.6066900491714478, -0.2406473159790039, 0.0664457306265831, 0.6083628535270691, -0.570633053779602, -0.1997201293706894, 0.36852747201919556, -0.4463769197463989, 0.17665798962116241, 0.46811985969543457, -0.39497506618499756, -0.31973662972450256, 0.8885766267776489, 0.7521246671676636, 0.3524375259876251, -0.5606822967529297, -0.90340256690979, 0.3204711079597473, -0.339650422334671, 1.2530417442321777, -0.7315412163734436, -0.23392198979854584, -0.20536743104457855, -0.3659808039665222, -0.09904854744672775, -0.2864616811275482, 0.36125102639198303, -0.9064124822616577, 0.24528738856315613, -0.19569404423236847, -0.8842290043830872, -0.2096405029296875, 0.5327438712120056, -0.1601039618253708, 0.6666462421417236, 0.03883396089076996, -0.7796685099601746, 0.31434300541877747, -0.44078996777534485, -0.3582393229007721, 0.5271202921867371, -0.2607828676700592, -0.04925159364938736, -0.09175687283277512, 0.3104938566684723, 0.3197978436946869, -0.3999769985675812, 0.7593017220497131, -0.5226562023162842, -0.18713165819644928, -0.04330604523420334, 0.010160704143345356, 0.811054527759552, 0.640230119228363, 0.163762167096138, 0.07905472069978714, -0.43940606713294983, 0.16750770807266235, 0.0415726862847805, -0.48614680767059326, -0.3071180284023285, 0.12044795602560043, -0.5930927395820618, 0.06814131140708923, 0.26997917890548706, -0.44597840309143066, 0.5345181822776794, -0.0819999948143959, 0.09107627719640732, 0.4947124123573303, 0.18811751902103424, 0.37926337122917175, -0.4191499352455139, 0.731110692024231, -0.0424133725464344, 0.020128604024648666, -0.5680603384971619, -0.8284084796905518, -0.25500908493995667, -0.21809324622154236, -0.10166039317846298, 0.3685508668422699, -1.159047245979309, 0.1965879648923874, -0.22770772874355316, -0.5788880586624146, -0.503212034702301, -0.055904537439346313, 0.4404529333114624, 0.6745416522026062, 0.6055304408073425, 0.28737491369247437, -0.25887343287467957, -0.504639744758606, -0.4086833894252777, -0.45521241426467896, 0.1685638278722763, 0.2162078320980072, 0.3507842421531677, -0.1149689108133316, 1.1506483554840088, -0.8001235127449036, -0.08974058926105499, -0.22271881997585297, 0.48218074440956116, 0.3399503529071808, 0.21495947241783142, 0.350956529378891, -0.9416078925132751, -0.25234827399253845, 0.09145534038543701, -0.8377901315689087, -0.15607468783855438, -0.22154098749160767, -0.3857085704803467, -0.3665933907032013, 0.5251757502555847, -0.9992529153823853, -0.25614798069000244, 0.6121830940246582, -0.7592482566833496, 0.6993791460990906, -0.12399880588054657, 0.35003000497817993, -1.053965449333191, -0.0501810759305954, -0.28190621733665466, -0.10076232254505157, -0.5936058759689331, 0.43959903717041016, -0.09626644849777222, 0.07879108190536499, -0.3611606955528259, 0.8207550644874573, -0.26738202571868896, -0.12927331030368805, -0.2279583364725113, 0.28109437227249146, 0.35598331689834595, 0.2657948434352875, -0.05617666617035866, 0.86915522813797, 0.676007866859436, -0.34518948197364807, 0.7569390535354614, 0.565456748008728, -0.2761075794696808, 0.6742270588874817, -0.5238408446311951, 0.04067201167345047, -0.5146450996398926, 0.46468856930732727, -1.119063138961792, -0.17157894372940063, -0.14853867888450623, -0.7960112690925598, -0.019087349995970726, -0.16587111353874207, -0.24823588132858276, -0.28197595477104187, 0.013615045696496964, 0.6201016902923584, 0.06598307937383652, -0.6005088686943054, 1.1570194959640503, 0.25046783685684204, -0.15040276944637299, -0.8183072805404663, -0.4071676433086395, -0.1015220656991005, -0.09080638736486435, -1.0528727769851685, 0.1368636041879654, -0.1349799782037735, -0.5125681757926941, 0.2515920102596283, -0.018088078126311302, -0.21042534708976746, 0.08246098458766937, -0.18444959819316864, 0.029431458562612534, -0.26919227838516235, 0.5954386591911316, 0.12970444560050964, -0.11542535573244095, -0.11026279628276825, -0.46981608867645264, 0.4298740327358246, -0.3308778405189514, -0.7542787790298462, 0.5463176369667053, 0.5300089120864868, 0.5068355798721313, -0.5457382798194885, 0.6808551549911499, 0.7198745012283325, -0.082940973341465, -0.13334724307060242, -0.6177278757095337, -0.050939176231622696, -0.38754957914352417, 0.45187199115753174, -0.6496981382369995, -1.2596724033355713, 0.4767293334007263, -0.25061169266700745, 0.27028897404670715, 0.24122987687587738, 0.6845390796661377, -0.2306581288576126, 1.2539311647415161, -0.08787190914154053, 0.1813810020685196, -0.005942235235124826, -0.15902355313301086, 0.4105350971221924, -0.5629649758338928, -0.4492962658405304, -0.5683977603912354, -0.06591734290122986, -0.07473799586296082, -0.8294291496276855, 0.4693099558353424, 0.31098130345344543, -0.3167869448661804, 0.07417644560337067, -0.23629321157932281, 0.4031333029270172, 0.6361511945724487, -0.13426342606544495, 0.5803602337837219, -0.4989926218986511, 0.04280669987201691, 0.6826680898666382, -0.9388525485992432, -0.07758556306362152, 0.6543661952018738, 0.03541899845004082, 0.766311526298523, 0.17734472453594208, 0.5368025302886963, 0.17230838537216187, -0.02851693518459797, -0.7002158761024475, 0.5526175498962402, 0.17651845514774323, -1.2141764163970947, -0.3251500129699707, -0.8409309387207031, -1.0747026205062866, 0.7306399941444397, 0.09001244604587555, -0.6057973504066467, 0.16461196541786194, 0.3661724627017975, -0.451058030128479, 0.22446848452091217, -0.7777785062789917, 0.8465409278869629, -0.4016408622264862, -0.2804316580295563, -0.24656209349632263, -0.8392406702041626, 0.509483814239502, -0.016796335577964783, 0.6215986013412476, -0.3107740879058838, 0.35898005962371826, 0.40430644154548645, -0.26799049973487854, 0.13113559782505035, -0.21703405678272247, 0.0897778570652008, 0.8187061548233032, 0.26665452122688293, 0.5006558895111084, -0.040422048419713974, 0.018904918804764748, 0.14230501651763916, 0.006224415265023708, -0.6042228937149048, -0.6129739284515381, 0.41766759753227234, -0.4688013195991516, -0.8434000611305237, -0.32939496636390686, -0.7921086549758911, -0.5899098515510559, 0.2045910358428955, 0.006709907669574022, 0.3698441982269287, 0.27576643228530884, 0.43998512625694275, 0.4093201160430908, -0.02653937041759491, 0.18490007519721985, 0.39049652218818665, -0.6001225709915161, -0.3360477089881897, 0.7960002422332764, -0.030916638672351837, 0.45104268193244934, 0.6053397059440613, 0.3808497190475464, -0.38253188133239746, -0.576621413230896, -0.4704537093639374, 0.3144557476043701, -0.7546074986457825, -0.3991228938102722, -0.7642421126365662, -0.15495891869068146, -0.48687079548835754, -0.34365004301071167, -0.22972212731838226, -0.2297571897506714, 0.09250305593013763, -0.2835400104522705, 0.283684641122818, -0.012019060552120209, 0.040444593876600266, 0.19783179461956024, -1.410488247871399, 0.41018983721733093, 0.687864363193512, 0.3034398555755615, -0.16602754592895508, -0.4308306574821472, -0.3217978775501251, -0.031609177589416504, -0.17040614783763885, -0.7607709169387817, 0.13387811183929443, 0.098143570125103, 0.7877378463745117, 0.43622469902038574, -0.06681012362241745, 0.6621893644332886, -0.3613734543323517, 0.7235896587371826, 0.14311878383159637, -0.7424348592758179, 0.5115480422973633, -0.5329306721687317, 0.4638621509075165, 0.4798464775085449, 0.39321690797805786, -0.4302130937576294, -0.5408200621604919, -0.5626046657562256, -0.7073038220405579, 0.7244701385498047, -0.13304047286510468, -0.23318500816822052, -0.10759041458368301, -0.02564176358282566, -0.2001495510339737, 0.21839798986911774, -0.38761773705482483, -0.13178884983062744, -0.05920393019914627, -0.04472943767905235, 0.09070149064064026, -0.21914389729499817, -0.15988923609256744, 0.04152850806713104, 0.566236138343811, -0.4664912223815918, 0.03236949443817139, -0.03230765834450722, -0.1528930813074112, -0.02030302956700325, 0.3753274977207184, 0.11951842904090881, 0.8075975775718689, -0.39175304770469666, 0.5208259224891663, 0.06451838463544846, 0.004500656854361296, 0.3486127257347107, 0.08695894479751587, -0.05388084053993225, -0.09244765341281891, 0.6560261249542236, 0.6397354006767273, -0.38709065318107605, -1.0372287034988403, 0.5584145188331604, 0.028610017150640488, -0.3972199559211731, 0.31299930810928345, -0.06752851605415344, 0.39065462350845337, 0.5717003345489502, 0.49946433305740356, 0.0793795958161354, 0.12441323697566986, -0.4313395321369171, 0.2318544089794159, 0.6020619869232178, 0.06788820773363113, 0.07217983156442642, 0.6655327081680298, 0.11734795570373535, -0.12488561123609543, 0.5086420774459839, -0.43170374631881714, -0.3777947425842285, 0.5534472465515137, 0.37305188179016113, 0.5422122478485107, -0.24036961793899536, 0.45510807633399963, 0.2967713177204132, 0.1518675684928894, -0.1080198809504509, 0.27775904536247253, -0.07479452341794968, -1.1080816984176636, -1.0281206369400024, -0.587613582611084, -0.5301029682159424, -0.41137927770614624, -0.30059197545051575, 0.09289658814668655, -0.03590861335396767, -0.02877587266266346, -0.18637017905712128, -0.3765692710876465, -0.1337684541940689, 0.07381652295589447, 0.2110922485589981, 0.8283257484436035, -0.8972219228744507, 0.46606528759002686, 0.850848376750946, -0.49727028608322144, -0.761100172996521, -0.20869095623493195, -0.04190583527088165, -0.9348227381706238, 0.5766445994377136, -0.09940540790557861, -0.23248790204524994, 0.039273541420698166, -0.38383737206459045, -1.1525386571884155, 1.0459604263305664, 0.40789905190467834, -0.20019815862178802, -0.08785384893417358, -0.25411662459373474, 0.33509960770606995, -0.04553023725748062, 0.5806364417076111, 0.495251327753067, 0.6171180009841919, 0.7713896632194519, -0.635593056678772, -0.19012485444545746, 0.028009911999106407, -0.26344314217567444, 0.27445200085639954, -0.8792115449905396, 0.8104960322380066, -0.27419644594192505, 0.05982602760195732, -0.5355182886123657, 0.5969634652137756, 0.775132954120636, 0.5705941915512085, 0.3730902671813965, 0.6711577773094177, 0.7241986393928528, -0.08449845761060715, 0.9399802088737488, -0.2764182984828949, 0.45586612820625305, 1.0507335662841797, -0.3664369583129883, 0.36695006489753723, 0.4399520754814148, -0.3823238015174866, 0.3628638982772827, 0.5763080716133118, 0.28410470485687256, 0.377886027097702, -0.2065959870815277, -0.2289804369211197, -0.6916329264640808, -0.2896912097930908, -0.34104034304618835, 0.6444053053855896, 0.23526866734027863, 0.18043947219848633, -0.6376122236251831, 0.0057148984633386135, 0.04814590513706207, -0.06059370934963226, -0.3326513171195984, 0.6835182309150696, -0.0020509688183665276, -0.9312378764152527, 0.31548887491226196, -0.08478395640850067, 0.12149454653263092, -0.6199877858161926, -0.08715539425611496, -0.49204349517822266, 0.06644497811794281, -0.29140883684158325, -0.8254472017288208, 0.4666990637779236, -0.12592390179634094, 0.003213434014469385, -0.4033682346343994, 0.7031362652778625, -0.5570785999298096, -0.38880401849746704, 0.3492472171783447, 1.0368000268936157, -0.004283098969608545, -0.20836341381072998, -0.49472782015800476, -0.2887722849845886, -0.038759827613830566, -0.3423484265804291, 0.34265023469924927, 0.5303412675857544, 0.059658680111169815, 0.9494865536689758, 0.6212177276611328, 0.1567404866218567, 0.19983139634132385, 0.06380711495876312, 0.8270106911659241, -0.30129945278167725, -0.40153074264526367, -0.7622520923614502, 0.6675174832344055, -0.049951404333114624, -0.012719692662358284, 0.8773412108421326, 0.49557238817214966, 0.5650280714035034, 0.20204420387744904, 0.5646860003471375, -0.18555553257465363, 0.6445925235748291, -0.5539282560348511, 0.1577339619398117, -0.6338615417480469, 0.10083259642124176, -0.09472301602363586, -0.8290261030197144, -0.4970770478248596, 0.5310267210006714, -0.38535648584365845, 0.045562610030174255, 0.8342834115028381, 0.7057580947875977, 0.12087597697973251, -0.1110580563545227, 0.389644593000412, 0.16648127138614655, 0.7053642272949219, 0.7237673401832581, 1.1447787284851074, 0.06061675027012825, 0.9332405924797058, 0.30600959062576294, -0.18463443219661713, -0.3182336091995239, -0.7368833422660828, -0.4236450493335724, -0.34562888741493225, -0.2952924072742462, -0.17817865312099457, -0.10634627938270569, 0.9312170743942261, 0.5862770676612854, -0.6596338748931885, -0.06287217140197754, -0.16859117150306702, 0.6302515268325806, -0.39694535732269287, -0.2287057787179947, 0.3500733971595764, -0.6420217752456665, -0.379489928483963, 0.7132986187934875, 0.3951621353626251, -0.5261306166648865, 0.0544925332069397, -0.044109538197517395, -0.6211330890655518, 0.10755343735218048, 0.692440927028656, 0.054448485374450684, -0.464525431394577, -0.432853102684021, 0.08366675674915314, 0.10510227084159851, 0.10908501595258713, 0.6037265658378601, -0.7007375955581665, 0.8399853110313416, 0.8942992687225342, 0.9229276180267334, 0.42557626962661743, 0.6374323964118958, 0.11880001425743103, -0.7752553820610046, 0.03147869184613228, 0.4496009945869446, 0.5586417317390442, -0.14327843487262726, -0.16205982863903046, 0.38861533999443054, 0.20336249470710754, -0.8859220743179321, -0.5602142214775085, 0.3810308575630188, -0.7217815518379211, -0.75699383020401, 1.3878787755966187, -0.35923635959625244, 0.1584198772907257, -0.24861668050289154, -0.2659788429737091, -0.0269183199852705, -0.26915910840034485, 0.6331559419631958, 0.8168560266494751, -0.5774024128913879, -0.3390626013278961, -0.0449361614882946, 0.00842712540179491, 0.3624286949634552, -1.0449885129928589, 0.09529250115156174, 1.0251274108886719, -0.26308473944664, 0.4481810927391052, 0.9633304476737976, 0.17036212980747223, 0.23352940380573273, 0.2307172566652298, -0.12648087739944458, -0.227680966258049, -0.5941177010536194, -0.1664123386144638, 0.7376014590263367, 0.3388456404209137, -0.21887803077697754 ]
http://arxiv.org/abs/2407.00134v1
http://arxiv.org/pdf/2407.00134v1
A Simple Attention-Based Mechanism for Bimodal Emotion Classification
2024-06-28T10:43:02
2024-06-28T10:43:02
Mazen Elabd, Sardar Jaf
cs.LG
cs.LG, cs.AI, cs.CL
Big data contain rich information for machine learning algorithms to utilize when learning important features during classification tasks. Human beings express their emotion using certain words, speech (tone, pitch, speed) or facial expression. Artificial Intelligence approach to emotion classification are largely based on learning from textual information. However, public datasets containing text and speech data provide sufficient resources to train machine learning algorithms for the tack of emotion classification. In this paper, we present novel bimodal deep learning-based architectures enhanced with attention mechanism trained and tested on text and speech data for emotion classification. We report details of different deep learning based architectures and show the performance of each architecture including rigorous error analyses. Our finding suggests that deep learning based architectures trained on different types of data (text and speech) outperform architectures trained only on text or speech. Our proposed attention-based bimodal architecture outperforms several state-of-the-art systems in emotion classification.
[ -0.3684339225292206, -0.6379047632217407, 0.2774280309677124, 0.4981923997402191, -0.1545214056968689, 0.049724020063877106, -0.38381773233413696, -0.49640342593193054, -0.0813969150185585, 0.07418499141931534, -0.42020291090011597, -0.3795278072357178, -0.4323538839817047, -0.12213941663503647, -0.054873380810022354, 0.8079386353492737, -0.013330362737178802, 0.24191971123218536, -0.1161891296505928, -0.4620407521724701, -0.3121072053909302, -0.5542618632316589, -0.4353337287902832, -0.2377346307039261, 0.8969982862472534, 0.39249902963638306, 0.5038928389549255, 0.16736187040805817, 0.5842893719673157, 0.393405556678772, 0.14436328411102295, 0.25456640124320984, -0.3351854979991913, 0.023785300552845, -0.017372334375977516, -0.36711445450782776, -0.26593896746635437, 0.03739494830369949, 0.23516015708446503, 0.1955699473619461, 0.013607478700578213, 0.2017982453107834, -0.06778857856988907, 0.906792163848877, -0.7952582240104675, 0.6780888438224792, -0.10499875992536545, 0.5513983368873596, -0.1871640980243683, -0.10793500393629074, -0.5027863383293152, -0.23440466821193695, 0.14188656210899353, 0.029434921219944954, -0.08135821670293808, 0.10098359733819962, 0.6340586543083191, 0.5689299702644348, -0.605820894241333, -0.3727586269378662, -0.6388886570930481, 0.4924185276031494, -0.4557110369205475, 0.5476936101913452, 0.09359624236822128, 0.24890847504138947, 0.5262362957000732, -0.5270351767539978, -0.7920607328414917, -0.07716774195432663, 0.06406966596841812, 0.30512735247612, -0.2705532908439636, 0.3170660138130188, 0.19100141525268555, 0.4632302224636078, -0.8247321844100952, 0.13684433698654175, -0.03778013586997986, 0.08646742254495621, 0.5385861396789551, 0.3479832112789154, 0.2215144783258438, -0.20864495635032654, -0.5398703813552856, -0.31016385555267334, -0.21149787306785583, 0.10833892226219177, 0.09920872747898102, 0.24270661175251007, -0.4765268564224243, 0.26870277523994446, -0.17059066891670227, 0.2616511285305023, 0.16980428993701935, 0.24343551695346832, 0.704961895942688, 0.07297548651695251, -0.5468549728393555, 0.3560585379600525, 0.665816605091095, 0.49629470705986023, 0.2036798745393753, -0.2906230092048645, 0.08924078941345215, 0.4491875469684601, 0.32206666469573975, -0.8750917911529541, 0.07409869879484177, 0.21929116547107697, -0.5058693885803223, -0.1840571016073227, -0.2245166003704071, -1.1623685359954834, -0.3832511305809021, -0.4816509783267975, 0.3736809492111206, -0.32010617852211, -0.019841475412249565, 0.05724791809916496, 0.12915733456611633, 0.2118830531835556, 0.287222683429718, -0.8940181136131287, -0.0010727508924901485, 0.5548238158226013, 0.7519773244857788, -0.07908614724874496, 0.10795179754495621, -0.5217976570129395, -0.17613327503204346, -0.2853008508682251, 0.5471718907356262, -0.6470984220504761, 0.252897709608078, 0.22838740050792694, -0.09144262969493866, -0.05961524695158005, -0.29716619849205017, 0.5560730695724487, -0.754598081111908, 0.3505493998527527, 0.12467075884342194, -0.37078380584716797, -0.7557356357574463, 0.2795923352241516, -0.6215388178825378, 0.5138469934463501, 0.08288291096687317, -0.6772953867912292, 0.2278439998626709, -0.8202401995658875, -0.680591881275177, 0.12286429107189178, 0.14369210600852966, -0.5148611068725586, 0.3279540538787842, 0.010423577390611172, 0.8177804350852966, -0.3852114975452423, 0.06106298416852951, -0.7146565318107605, -0.17233987152576447, 0.34621697664260864, -0.39910048246383667, 0.2950836718082428, 0.5170408487319946, -0.7874194383621216, 0.1220463216304779, -0.8436164259910583, -0.023803753778338432, -0.1548418402671814, -0.46418073773384094, -0.13945309817790985, -0.15467214584350586, 0.26056918501853943, 0.32029351592063904, -0.003924537915736437, -0.5880801677703857, -0.12353461980819702, -0.5603559017181396, 0.3996227979660034, 0.6178920269012451, -0.24464714527130127, 0.3334178030490875, 0.15004666149616241, 0.33282577991485596, 0.26507675647735596, -0.08754586428403854, -0.22467279434204102, -0.17708972096443176, -0.7248278856277466, -0.43798694014549255, 0.22434353828430176, 0.6942285299301147, -0.4842623174190521, 0.36936649680137634, -0.13614021241664886, -0.5279281735420227, -0.8833352327346802, 0.13288350403308868, 0.6044779419898987, 0.6479572653770447, 0.19409851729869843, -0.22340504825115204, -0.410434752702713, -0.851944088935852, 0.0788329467177391, -0.04438888281583786, 0.158916175365448, 0.753621518611908, 0.012246357277035713, -0.5722478032112122, 0.5015482306480408, -0.09688281267881393, -0.05816129967570305, -0.008145286701619625, 0.6464724540710449, -0.08999372273683548, 0.17709927260875702, 0.599409818649292, -1.0733429193496704, -0.5209505558013916, 0.29906994104385376, -0.7940079569816589, 0.020463852211833, 0.04178992658853531, 0.15911099314689636, 0.6078193187713623, -0.05427204445004463, -0.7956596612930298, 0.4633718430995941, 0.3623451292514801, -0.11105456203222275, -0.09416460245847702, 0.13591262698173523, 0.2616807818412781, -0.7350771427154541, 0.056023746728897095, 0.07200322300195694, -0.030723057687282562, -0.6148511171340942, -0.3391013741493225, 0.2584470212459564, -0.37050411105155945, -0.5448766350746155, 0.4991847276687622, -0.2669108808040619, -0.19471390545368195, -0.29421788454055786, -0.07294204086065292, -0.042021408677101135, 1.007171869277954, 0.2939806282520294, 0.04942537471652031, 0.7263679504394531, -0.576495885848999, 1.0722934007644653, 0.4513738453388214, -0.4179293215274811, 0.6994485855102539, -0.3355382978916168, 0.5485891103744507, -0.41682198643684387, 0.10019450634717941, -1.3955129384994507, -0.4499681293964386, 0.24196578562259674, -0.5405594110488892, 0.5589473843574524, 0.1493242383003235, -0.45853227376937866, -0.35061904788017273, -0.3213065266609192, 0.06797942519187927, 0.500770628452301, -0.8406214118003845, 0.6878988146781921, -0.07362533360719681, -0.4880122244358063, -0.3634801208972931, -0.9064782857894897, 0.12335048615932465, -0.3261815905570984, -0.7576475143432617, -0.14130602777004242, 0.019696274772286415, 0.04226920008659363, -0.004459814168512821, 0.3639483153820038, -0.033050473779439926, -0.02730540931224823, 0.7732986807823181, 0.17139720916748047, -0.15206880867481232, 0.709355354309082, -0.016366522759199142, -0.06645635515451431, 0.12162280082702637, 0.3117672801017761, 0.45239493250846863, -0.28985515236854553, -0.2351275235414505, -0.7887346148490906, 0.6808042526245117, 0.9756361842155457, -0.4774532616138458, 0.22675330936908722, 1.0943809747695923, -0.19775250554084778, -0.13530278205871582, -0.5882171988487244, 0.03418127819895744, -0.45499560236930847, 0.5887360572814941, -0.11354459077119827, -0.8005885481834412, 0.09655824303627014, -0.2883143723011017, -0.13885127007961273, 0.03610135242342949, 1.0953983068466187, -0.21980999410152435, 1.2762633562088013, 0.3335862457752228, -0.3645736277103424, 0.6215780377388, 0.036526236683130264, 0.2660045325756073, -0.6195135712623596, -0.3081825077533722, -0.43909451365470886, -0.9145631194114685, -0.3904876708984375, -0.2636414170265198, -0.029666177928447723, -0.4773787260055542, -0.5568023324012756, -0.17323999106884003, -0.46025121212005615, -0.11161543428897858, 0.3437621593475342, 0.17745105922222137, -0.343239963054657, 0.34760987758636475, 0.4413818120956421, -0.05132937431335449, -0.4269837439060211, -0.2980685830116272, 0.7595607042312622, 0.5467193722724915, 0.8797852396965027, 0.04508418217301369, 0.391510009765625, 0.4186856150627136, 0.544698178768158, -0.8046906590461731, 0.35994601249694824, -0.0836314782500267, -0.6182829737663269, -0.10923811048269272, -0.4675044119358063, -0.6145704984664917, -0.10399985313415527, -0.09534591436386108, -0.585143506526947, 0.6317179203033447, 0.06169504299759865, -0.2880222499370575, 0.05225721001625061, -1.082419991493225, 0.979107677936554, -0.6788260340690613, -0.48992812633514404, -0.4630201458930969, -0.927821159362793, 0.10628752410411835, 0.1708797663450241, 0.034616392105817795, 0.11389031261205673, -0.07875316590070724, 0.6283242106437683, 0.14300775527954102, 0.9681332111358643, -0.3502064347267151, 0.24255035817623138, 0.13609400391578674, -0.1801811307668686, 0.47917237877845764, -0.03498772159218788, -0.09259487688541412, 0.09550540894269943, -0.7757536768913269, -0.19040435552597046, -0.7153429985046387, 0.5149266719818115, -0.6157147884368896, -0.23282761871814728, -0.1782636195421219, -0.5266463160514832, -0.5640246272087097, -0.18710936605930328, -0.10300823301076889, 0.4063132703304291, -0.06722550094127655, 0.6570614576339722, 0.8546939492225647, -0.14128746092319489, 0.7612941861152649, 0.4721876084804535, 0.19878385961055756, -0.5315447449684143, 1.052599310874939, -0.2027292251586914, -0.05998580902814865, 0.6985332369804382, 0.07504482567310333, -0.3633093237876892, -0.31084004044532776, -0.4646335244178772, -0.09516646713018417, -0.37109097838401794, -0.38440456986427307, -0.8037387728691101, 0.1201246902346611, -0.627938985824585, -0.07355239242315292, -0.16126787662506104, 0.10020671039819717, -0.3742941617965698, -0.4388601779937744, 0.40105998516082764, 0.17223410308361053, -0.1275455355644226, -0.005882312543690205, -0.9347072243690491, 0.42916056513786316, 0.8859200477600098, 0.481849730014801, 0.24130940437316895, -0.1437225043773651, -0.24616865813732147, 0.007185149472206831, -0.3522687554359436, -0.8361307978630066, 0.5883716344833374, 0.38009700179100037, 0.06367660313844681, 0.9170510768890381, -0.001963772112503648, 0.4803309440612793, -0.2774832248687744, 0.421196311712265, 0.4098447263240814, -0.8494374752044678, 0.45448237657546997, -0.07129503041505814, 0.10102193802595139, 0.3746638894081116, 0.6247498989105225, -0.4701339900493622, 0.365402489900589, -0.2893611192703247, -0.6547561883926392, 1.0764617919921875, 0.04987747222185135, 0.2852938175201416, 0.10018334537744522, 0.15082359313964844, -0.03209293633699417, 0.49211031198501587, -0.5257248282432556, -0.021107764914631844, -0.4291984736919403, -0.8230115175247192, -0.1980275809764862, -0.30140456557273865, 0.036077894270420074, -0.011779969558119774, 0.21685832738876343, -0.13636377453804016, 0.47201913595199585, 0.25793957710266113, -0.19399604201316833, -0.23734483122825623, 0.3892447054386139, 0.5749412775039673, -0.3242207467556, -0.4006967544555664, -0.04195413365960121, 0.055348217487335205, -0.2759116291999817, 0.20091603696346283, 0.143699511885643, 0.2240729182958603, -0.09789688885211945, 0.3793547749519348, 1.4668803215026855, 0.2084910273551941, -0.9044753313064575, 0.5223600268363953, -0.07977719604969025, -0.0253619197756052, -0.0072609009221196175, -0.05319731682538986, 0.42082685232162476, 0.7156413197517395, 0.06415127217769623, -0.022184334695339203, 0.5964954495429993, -1.0102887153625488, -0.043059442192316055, 0.1519053727388382, -0.7746601104736328, -0.37949138879776, 0.36747708916664124, 0.470284640789032, -0.4717615246772766, 0.516598641872406, -0.22944806516170502, -0.6060878038406372, 0.47611862421035767, 0.15126658976078033, 1.1206793785095215, -0.4671264886856079, 0.1913871020078659, -0.21302951872348785, -0.06191558763384819, 0.5610760450363159, 0.5098236203193665, -0.40415406227111816, -0.3773263394832611, -0.2356988787651062, -0.6010132431983948, -0.4438519775867462, 0.013761359266936779, -0.45279738306999207, -0.11285235732793808, -0.6460971832275391, -0.01671718806028366, 0.16115573048591614, -0.05857560783624649, -0.7486943006515503, 0.6474875211715698, 0.981448233127594, 0.6308886408805847, -0.5752917528152466, 0.3924190402030945, 0.9622496962547302, 0.023990919813513756, -0.6534265279769897, -0.34877249598503113, -0.04357404261827469, -0.48664963245391846, 1.1229956150054932, 0.5123778581619263, -0.125619575381279, -0.3415592312812805, -0.6345105171203613, -0.40527746081352234, 0.6916595101356506, 0.2577597498893738, -0.8321401476860046, 0.05879044160246849, 0.24540801346302032, 0.9341886043548584, -0.5148424506187439, 0.2427418977022171, 0.05931130796670914, 0.6708021759986877, 0.14986486732959747, -0.41550213098526, -0.2659148871898651, -0.523484468460083, -0.14322954416275024, -0.002492995699867606, -1.0058577060699463, 0.533149242401123, 0.027602676302194595, -0.24805548787117004, -0.3794483542442322, 0.869235098361969, -0.23541998863220215, 0.9969959259033203, 0.5030592679977417, 0.9610304236412048, 0.526483416557312, -0.15004436671733856, 0.8879665732383728, 0.06313960999250412, 0.27017492055892944, 0.8865156173706055, -0.7182337045669556, 0.7280104756355286, -0.039092689752578735, -0.10746283084154129, 0.44713130593299866, 0.724751889705658, -0.1366083323955536, 0.7161815166473389, 0.04247134551405907, -0.2897655963897705, -0.32066553831100464, -0.0282495878636837, -0.171644926071167, 0.5758206844329834, 0.5240064859390259, -0.3136727511882782, -0.1233685091137886, 0.742771327495575, -0.22494745254516602, -0.28579622507095337, -0.4709899127483368, 1.0126488208770752, -0.05719071254134178, -0.26857689023017883, 0.19603249430656433, -0.38870617747306824, 0.6201316118240356, -0.37924593687057495, 0.010981112718582153, -0.15053120255470276, 0.423373818397522, -0.3250812292098999, -0.5820022225379944, -0.005146045703440905, 0.15714402496814728, -0.2846476137638092, -0.06670594215393066, 0.7276016473770142, -0.34578314423561096, -0.25229766964912415, 0.356720894575119, -0.3464467525482178, -0.08752909302711487, -0.32191264629364014, -0.6055359840393066, 0.07003647834062576, -0.143487811088562, -0.656629204750061, 0.3348914384841919, 0.8747060894966125, 0.17587321996688843, 0.7299054265022278, 0.3702160120010376, -0.5087867975234985, 0.1333693414926529, -0.08163883537054062, 0.8074613809585571, -0.8150613307952881, -0.5672141313552856, -0.6408231258392334, 0.5979408621788025, -0.19615459442138672, -0.19852392375469208, 0.2938113808631897, 0.29267823696136475, 0.24254769086837769, -0.2529737055301666, 0.6229616403579712, -0.0608522891998291, 0.6117410063743591, -0.24619778990745544, 0.35066038370132446, -0.5559741258621216, -0.6427434682846069, -0.2765156328678131, -0.6708289980888367, -0.21744586527347565, 0.23624232411384583, -0.1845046728849411, 0.25469592213630676, 0.47566983103752136, 0.539004385471344, 0.1401553750038147, 0.12875577807426453, 0.4197961091995239, 0.4199536442756653, 0.0024106455966830254, 0.9579588770866394, 0.6856383085250854, -0.19002048671245575, 0.3885941505432129, -0.4372924268245697, -0.3578588366508484, -1.03238046169281, -0.5059365630149841, -0.922153651714325, -0.45910489559173584, -0.3541427552700043, -0.0266954954713583, 0.15589208900928497, 0.6657364964485168, 0.8259563446044922, -0.6475275158882141, 0.41693833470344543, 0.2544853389263153, -0.10639631003141403, 0.027825715020298958, -0.25833001732826233, 0.5458630323410034, -0.3811592161655426, -0.8405636548995972, 0.2015589326620102, 0.8688974380493164, -0.14297635853290558, -0.1561734676361084, -0.18680772185325623, -0.05859797075390816, 0.2831839621067047, 0.6613069176673889, 0.31447482109069824, -0.2931174635887146, -0.1624297946691513, -0.13923504948616028, -0.51125568151474, 0.14699463546276093, 0.6380733847618103, -0.6191975474357605, 0.39158928394317627, 0.7504634261131287, 0.9650449752807617, 0.5791863203048706, -0.002353040501475334, 0.0059227487072348595, -0.5304651260375977, 0.3845154345035553, 0.4503912329673767, 0.36664092540740967, 0.3588213622570038, -0.45092296600341797, 0.31603869795799255, 0.009462380781769753, -0.5259481072425842, -0.7199634909629822, 0.10029968619346619, -1.5961710214614868, 0.06953074038028717, 0.7109695076942444, -0.28318068385124207, -0.6293925642967224, 0.2333207130432129, -0.45269709825515747, 0.30071014165878296, -0.46881648898124695, 1.1160019636154175, 0.5091511607170105, -0.1387687474489212, -0.5481385588645935, -0.055410854518413544, 0.195556178689003, 0.5634535551071167, -0.9364821314811707, 0.29589125514030457, 0.5312635898590088, -0.1911449134349823, 0.498494416475296, -0.13846522569656372, -0.18605884909629822, 0.5357937216758728, -0.20665618777275085, 0.4378810226917267, -0.19572602212429047, -0.31580591201782227, -0.4739209711551666, 0.6447160243988037, -0.6388749480247498, -0.36035028100013733 ]
http://arxiv.org/abs/2406.19803v1
http://arxiv.org/pdf/2406.19803v1
Scalable and Domain-General Abstractive Proposition Segmentation
2024-06-28T10:24:31
2024-06-28T10:24:31
Mohammad Javad Hosseini, Yang Gao, Tim Baumgärtner, Alex Fabrikant, Reinald Kim Amplayo
cs.CL
cs.CL
Segmenting text into fine-grained units of meaning is important to a wide range of NLP applications. The default approach of segmenting text into sentences is often insufficient, especially since sentences are usually complex enough to include multiple units of meaning that merit separate treatment in the downstream task. We focus on the task of abstractive proposition segmentation: transforming text into simple, self-contained, well-formed sentences. Several recent works have demonstrated the utility of proposition segmentation with few-shot prompted LLMs for downstream tasks such as retrieval-augmented grounding and fact verification. However, this approach does not scale to large amounts of text and may not always extract all the facts from the input text. In this paper, we first introduce evaluation metrics for the task to measure several dimensions of quality. We then propose a scalable, yet accurate, proposition segmentation model. We model proposition segmentation as a supervised task by training LLMs on existing annotated datasets and show that training yields significantly improved results. We further show that by using the fine-tuned LLMs as teachers for annotating large amounts of multi-domain synthetic distillation data, we can train smaller student models with results similar to the teacher LLMs. We then demonstrate that our technique leads to effective domain generalization, by annotating data in two domains outside the original training data and evaluating on them. Finally, as a key contribution of the paper, we share an easy-to-use API for NLP practitioners to use.
[ -0.33889904618263245, -0.8252555727958679, 0.700110137462616, 0.21237589418888092, -0.45646947622299194, -0.04837340489029884, -0.07069363445043564, -0.43642231822013855, 0.07850177586078644, 0.5386306643486023, -0.29236599802970886, -0.4731315076351166, -0.592211127281189, 0.13782039284706116, -0.440670371055603, 0.9700927734375, 0.08389468491077423, 0.010332409292459488, -0.5604963302612305, -0.317828506231308, -0.3877669870853424, -0.6813763380050659, -0.5495059490203857, -0.4166702926158905, 0.30811455845832825, 0.31190237402915955, 0.3514900505542755, 0.9554821848869324, 0.549859344959259, 0.24788282811641693, -0.10039612650871277, 0.5046989321708679, -0.1843537837266922, 0.18497589230537415, -0.4679677486419678, -0.5551623702049255, -0.29228082299232483, 0.22149202227592468, 0.6040140390396118, 1.0044262409210205, 0.11586122214794159, 0.16383381187915802, -0.02715805359184742, 0.7350887656211853, -0.5360522866249084, 0.047398641705513, -0.7355883717536926, 0.18064312636852264, -0.014433853328227997, -0.20902307331562042, -0.5309712290763855, -0.1921103596687317, 0.6409152746200562, -0.4553203582763672, 0.27128171920776367, 0.23383010923862457, 0.753713846206665, 0.4208943545818329, -0.5637800097465515, -0.4156416654586792, -0.5670254230499268, 0.9222999811172485, -0.35799795389175415, -0.07342477887868881, 0.11771385371685028, 0.10530347377061844, -0.013519354164600372, -0.8595370054244995, -0.41786059737205505, -0.07075469195842743, -0.1452818065881729, -0.22333543002605438, -0.24407994747161865, 0.05889539793133736, 0.1349312961101532, 0.6766547560691833, -0.28039106726646423, 0.0719594955444336, -0.14992575347423553, -0.2573874294757843, 0.5569571852684021, 0.18329869210720062, 0.1897733360528946, -0.34761905670166016, -0.6208500862121582, 0.10196052491664886, -0.6837747693061829, -0.05880603566765785, 0.2093311846256256, 0.449479341506958, 0.2958892285823822, 0.8302507996559143, -0.09835224598646164, 0.7800906896591187, 0.12278486043214798, -0.4027729034423828, -0.058781031519174576, -0.3189208209514618, -0.16110600531101227, -0.06603068858385086, 0.6252384185791016, 0.29805445671081543, 0.023335542529821396, 0.00580461835488677, -0.13769060373306274, 0.09266995638608932, 0.26464685797691345, -0.9583390355110168, -0.3126138150691986, 0.42237910628318787, -0.3009827136993408, -0.07862908393144608, -0.24835149943828583, -0.48634272813796997, -0.21246454119682312, -0.6600731015205383, 0.32955339550971985, -0.5694774985313416, 0.2378641813993454, 0.23710644245147705, -0.10303869098424911, 0.19735181331634521, 0.34662744402885437, -1.0614100694656372, 0.418750524520874, 0.7982211709022522, 0.9738681316375732, -0.6841487288475037, 0.022957103326916695, -0.6034866571426392, 0.044695258140563965, -0.21738062798976898, 0.9959346055984497, -0.42932945489883423, -0.28088852763175964, -0.008619243279099464, -0.07111065089702606, -0.0836908370256424, -0.7751971483230591, 0.6795385479927063, -0.4945017397403717, 0.24695974588394165, 0.009518126957118511, -0.9280481934547424, -0.16844193637371063, 0.7396379113197327, -0.45399945974349976, 0.7395995259284973, -0.03489051014184952, -0.6108847856521606, 0.31648707389831543, -0.6093416810035706, -0.49030405282974243, 0.033785440027713776, -0.15171897411346436, -0.35207512974739075, 0.20729497075080872, 0.5320829153060913, 0.6171082854270935, -0.17696289718151093, 0.04524688422679901, -0.05244951322674751, 0.06406982988119125, 0.16949479281902313, -0.45116451382637024, 0.4202323257923126, 0.012331288307905197, -0.042652856558561325, 0.16724832355976105, -1.040717363357544, 0.17382097244262695, -0.1082342267036438, -0.3843899071216583, -0.46067357063293457, 0.1610882729291916, -0.02358246222138405, -0.02751241624355316, 0.21223708987236023, -0.5624036192893982, 0.4044940173625946, -0.6980165243148804, 0.5164827108383179, 0.47781410813331604, 0.3315371870994568, 0.7113083600997925, -0.12488987296819687, 0.3185548484325409, -0.05390165001153946, -0.18789976835250854, -0.36340758204460144, -0.319119393825531, -0.9147789478302002, -0.6293958425521851, 0.31552666425704956, 0.3586597740650177, -0.7123059630393982, 0.5304388999938965, -0.08571745455265045, -0.25967252254486084, -0.11612459272146225, -0.09664087742567062, 0.07565978169441223, 0.630386471748352, 0.5915197730064392, 0.007138980086892843, -0.4603274464607239, -0.9214763641357422, -0.16614952683448792, -0.012435775250196457, -0.3596062660217285, 0.08236223459243774, 0.6103003025054932, -0.2632010281085968, 1.3893119096755981, -0.9578668475151062, -0.5885372161865234, -0.22506462037563324, 0.22770220041275024, 0.10128197073936462, 0.5350209474563599, 0.4086909890174866, -0.7677561640739441, -0.4462195634841919, -0.050116896629333496, -0.5238045454025269, 0.043021347373723984, -0.32397857308387756, -0.07229368388652802, -0.2566591203212738, 0.18843162059783936, -0.5473498702049255, 0.25065699219703674, 0.1357056051492691, -0.15092696249485016, 0.5058876872062683, -0.2055346816778183, -0.1617717146873474, -0.9083483219146729, -0.32888317108154297, 0.24713686108589172, -0.5375929474830627, -0.5296947956085205, 0.15984520316123962, -0.2704668939113617, 0.030345093458890915, -0.565683126449585, 0.3633897602558136, -0.2383423149585724, -0.057528384029865265, -0.6181269884109497, 0.2948370575904846, 0.2661871612071991, 0.29482269287109375, 0.34936201572418213, 0.6775438785552979, 0.402707576751709, -0.6972779035568237, 0.3982425928115845, 0.3775497376918793, -0.3351987302303314, 0.8133055567741394, -0.7522750496864319, 0.06779559701681137, 0.03580266982316971, 0.26850956678390503, -0.8643674254417419, -0.19813299179077148, 0.20848746597766876, -0.018210425972938538, 0.01660090498626232, -0.2733836770057678, -0.38516703248023987, -0.052251506596803665, -0.11400582641363144, 0.24372036755084991, 0.1878499686717987, -0.7522901296615601, 0.5316562652587891, 0.5062355995178223, -0.03625637665390968, -0.33669087290763855, -0.5962175130844116, 0.04179616644978523, -0.3382335305213928, -0.5223661661148071, 0.6351356506347656, 0.19109566509723663, -0.18218064308166504, -0.0842379480600357, -0.2544184625148773, -0.40506988763809204, -0.1318422555923462, 0.22562864422798157, 0.1828359067440033, -0.19413301348686218, 0.22907201945781708, 0.2828907370567322, -0.252849817276001, 0.2553727626800537, -0.6726856827735901, 0.25477471947669983, -0.3005000054836273, -0.2880341112613678, -0.3095708191394806, 0.35205650329589844, 0.15833032131195068, -0.11324898898601532, 0.5466139912605286, 0.41058871150016785, -0.42274364829063416, -0.622126042842865, -0.25048986077308655, 0.009511436335742474, -0.4146907329559326, 0.15470845997333527, -0.3905842900276184, -1.112648367881775, 0.12945911288261414, -0.5869958400726318, 0.1221042275428772, 0.7449729442596436, 0.4501461982727051, -0.1339539885520935, 0.7397785782814026, 0.6835306882858276, 0.32737118005752563, -0.015919391065835953, -0.5275290012359619, 0.2622620761394501, -0.8124851584434509, -0.1207195296883583, -0.36372309923171997, -0.2625768184661865, -0.37738701701164246, -0.754726767539978, 0.2726307809352875, 0.059616800397634506, 0.13997329771518707, 0.10114068537950516, -0.8598805069923401, 0.8042295575141907, 0.36605170369148254, -0.046057697385549545, 0.4195983409881592, 0.1585416942834854, 0.01711351051926613, -0.2808454930782318, -0.3877234160900116, -0.8732085227966309, 0.9816782474517822, 0.49761971831321716, 0.520720362663269, -0.14975214004516602, 0.653915524482727, 0.2961123287677765, 0.3078317940235138, -1.3150097131729126, 0.6288659572601318, -0.3711129426956177, -0.5867148041725159, -0.40170565247535706, -0.29525649547576904, -0.6855655312538147, 0.8685171604156494, -0.08113811910152435, -0.5948607325553894, 0.1842445284128189, 0.026681749150156975, -0.596855878829956, 0.21797288954257965, -0.6105151772499084, 0.7083001136779785, -0.1566457599401474, -0.03384014219045639, -0.035342972725629807, -0.5155390501022339, 0.2622513473033905, -0.18857404589653015, -0.07769692689180374, -0.48264405131340027, -0.10958636552095413, 0.7670391798019409, -0.8060187697410583, 0.8167935609817505, -0.15916281938552856, -0.05052080377936363, 0.6443866491317749, -0.21376895904541016, 0.19155758619308472, 0.23018577694892883, 0.14354872703552246, 0.05408620834350586, 0.2645065486431122, -0.2625758945941925, -0.7038249373435974, 0.4435149133205414, -0.5869541764259338, -0.5694267153739929, -0.5156129598617554, -0.3650796115398407, -0.3807240128517151, 0.04060516506433487, 0.17585694789886475, 0.3247702717781067, -0.2555198073387146, 0.32459941506385803, 0.751189649105072, 0.17873167991638184, 0.3229512870311737, 0.17907783389091492, -0.08382949233055115, -0.4632017910480499, 0.8644286394119263, -0.04308895021677017, 0.07094675302505493, 0.664233922958374, 0.3936231732368469, -0.6218322515487671, -0.7303860187530518, -0.32296431064605713, -0.016782956197857857, -0.7680780291557312, -0.2473011463880539, -0.5879032611846924, -0.05139703303575516, -0.0012024437310174108, -0.15620949864387512, -0.5687100887298584, -0.7268576622009277, -0.6049075722694397, -0.1980580985546112, 0.09839147329330444, 0.5076775550842285, -0.06562257558107376, 0.5772876143455505, -0.6735143065452576, 0.4710181951522827, 0.5350366234779358, -0.06499319523572922, -0.24995410442352295, -0.6044747829437256, -0.031164484098553658, -0.018450232222676277, -0.45880964398384094, -0.3231087625026703, 0.46359390020370483, 0.5539760589599609, 0.20829777419567108, 0.4528999328613281, 0.1957102119922638, 0.5857505798339844, -0.8619410395622253, 0.8976227641105652, 0.3420964479446411, -0.9793429374694824, 0.8518603444099426, -0.03318895772099495, 0.053069666028022766, 0.6890992522239685, 0.5992715358734131, -0.1989489644765854, -0.013408742845058441, -0.24219809472560883, -0.8753655552864075, 0.44376569986343384, 0.05820383504033089, 0.3778044879436493, -0.1978571116924286, 0.6376226544380188, 0.3139781653881073, 0.11799641698598862, -0.7912329435348511, -0.4536370635032654, -0.10807472467422485, -0.04350246116518974, 0.08679480850696564, -0.5052865147590637, -0.3836055099964142, -0.2574246823787689, 0.43027302622795105, -0.3390733599662781, -0.0676775723695755, 0.2556499242782593, -0.08594513684511185, 0.3749241232872009, 0.456755131483078, 0.36358878016471863, 0.6683993935585022, -0.07991630584001541, 0.3960598409175873, 0.009819754399359226, -0.44841140508651733, 0.7057111859321594, 0.012513779103755951, -0.16458286345005035, 0.10979357361793518, 0.39925235509872437, 0.4777229428291321, 0.012482898309826851, -0.48139688372612, 0.6169309020042419, 0.005106527823954821, -0.33085396885871887, -0.1667746603488922, -0.004856191109865904, -0.19963406026363373, 0.27245983481407166, 0.5522462129592896, 0.19310912489891052, 0.24331489205360413, -0.3978599011898041, 0.3771251142024994, 0.19269666075706482, -0.19746504724025726, -0.21630632877349854, 0.5519106388092041, 0.4356782138347626, -0.05701322481036186, 0.48112785816192627, -0.41398367285728455, -0.4045802652835846, 0.25497493147850037, 0.5875763893127441, 0.8412614464759827, 0.14565429091453552, 0.4759385883808136, 0.21523919701576233, 0.09776005148887634, -0.1883244514465332, -0.18757961690425873, -0.03296876326203346, -0.7864886522293091, -0.7299844026565552, -0.7461082935333252, -0.6408665776252747, 0.012132137082517147, -0.5652574896812439, -0.1821475774049759, -0.6590717434883118, -0.30367544293403625, 0.2891615033149719, -0.007534018252044916, -0.40240001678466797, 0.4429108202457428, 0.030110204592347145, 0.6474363803863525, -0.6996017694473267, 0.5667036175727844, 0.6739789247512817, -0.2862705588340759, -0.5715667009353638, -0.07418731600046158, -0.31149932742118835, -0.5270071029663086, 0.7817406058311462, 0.3430231511592865, -0.06169804558157921, -0.27875465154647827, -0.6489519476890564, -0.6560876369476318, 0.7501773834228516, 0.3956696391105652, -0.40137141942977905, -0.0944756343960762, 0.6308003067970276, 0.7287323474884033, -0.7288326025009155, -0.2530601918697357, 0.6518193483352661, 0.076988585293293, 0.5181596279144287, -0.3405850827693939, -0.12786461412906647, 0.28838106989860535, 0.09753766655921936, -0.04256029427051544, -0.24681393802165985, 0.6931771039962769, -0.08179192990064621, -0.24387961626052856, -0.09878887236118317, 0.9174494743347168, 0.1752333790063858, 0.39042022824287415, 0.5730572938919067, 0.5599989891052246, 0.8690310120582581, -0.31663674116134644, 0.8173058032989502, 0.047810062766075134, 0.4063107967376709, 1.4082016944885254, -0.11010913550853729, 0.9960547685623169, 0.5108991265296936, -0.38287198543548584, 0.4831470847129822, 0.6444655656814575, -0.03229345753788948, 0.4355587065219879, 0.371997594833374, -0.3772861063480377, -0.38995125889778137, -0.3159535229206085, -0.03952277451753616, 0.6365721225738525, 0.5081900358200073, -0.19027765095233917, -0.23280933499336243, 0.1622256189584732, -0.2438146322965622, 0.18667981028556824, -0.3800453543663025, 0.6784831285476685, 0.23469363152980804, -0.4515022337436676, 0.3616979122161865, 0.19942186772823334, 0.5959448218345642, -0.3547389805316925, -0.0683351680636406, 0.03415854275226593, 0.055042564868927, -0.4359634220600128, -0.773103654384613, 0.602615475654602, 0.025672923773527145, -0.3286135792732239, -0.31056901812553406, 0.7922671437263489, -0.352899432182312, -0.3648630976676941, -0.21051572263240814, 0.47486400604248047, 0.12846538424491882, -0.4242648780345917, -0.566460132598877, -0.07474186271429062, 0.09884647279977798, -0.054493241012096405, 0.21797779202461243, 0.5990909934043884, 0.19716429710388184, 0.563495397567749, 0.6641507744789124, 0.027707993984222412, -0.09335947781801224, 0.05205077677965164, 0.8154568076133728, -0.42945000529289246, -0.3988264799118042, -0.8678371906280518, 0.5596830248832703, -0.1858396679162979, -0.3301083445549011, 0.7469426393508911, 0.6256029605865479, 0.6577473282814026, -0.09733809530735016, 0.5495001077651978, 0.22560039162635803, 0.4829747974872589, -0.5097638368606567, 0.24031902849674225, -0.20930390059947968, 0.27970239520072937, 0.09383242577314377, -1.1197800636291504, -0.5196675062179565, 0.8077168464660645, -0.5211502313613892, -0.4773263931274414, 0.6782465577125549, 0.04359162598848343, 0.060541801154613495, -0.08560342341661453, 0.31899091601371765, -0.25766435265541077, 0.531329870223999, 0.16678588092327118, 1.0154774188995361, -0.36448124051094055, 0.4792051613330841, -0.2761228084564209, -0.12024291604757309, -0.038999468088150024, -0.8231824636459351, -0.90653395652771, -0.41449859738349915, -0.7041641473770142, 0.025774981826543808, -0.40272632241249084, 0.914936363697052, 0.8768508434295654, -0.8130437731742859, 0.015587573871016502, -0.1525014340877533, 0.19369569420814514, 0.00781527254730463, -0.25401172041893005, 0.5636968612670898, -0.5792086124420166, -0.8300393223762512, 0.5444691777229309, 0.5833628177642822, 0.13973960280418396, -0.340557724237442, 0.3803541660308838, -0.12156028300523758, 0.19187776744365692, 1.0660362243652344, 0.11977993696928024, -0.6584528684616089, -0.4541063606739044, -0.28103622794151306, 0.012077094055712223, 0.21718165278434753, 0.7742989659309387, -0.6053066253662109, 0.4226873219013214, 0.10119448602199554, 0.9069128036499023, 0.5684467554092407, 0.26436105370521545, 0.3676130473613739, -1.1449604034423828, 0.10023510456085205, 0.5321485996246338, 0.3366791903972626, 0.36913976073265076, -0.23643267154693604, 0.6882520914077759, 0.24505667388439178, -0.5631830096244812, -0.6780362129211426, 0.20889067649841309, -1.1199138164520264, -0.2730028033256531, 1.0706090927124023, -0.40999406576156616, -0.19637049734592438, 0.03308940306305885, -0.339364618062973, -0.30181828141212463, -0.053140223026275635, 0.42834872007369995, 0.7192277312278748, -0.4451121985912323, 0.1190040335059166, -0.05076688155531883, 0.47162631154060364, 0.08318644016981125, -1.005550742149353, -0.019465887919068336, 0.7165403962135315, 0.22492629289627075, 0.49430832266807556, 0.4227348268032074, 0.10286684334278107, -0.2068450003862381, 0.1506424844264984, -0.1853199601173401, 0.14069001376628876, -0.26563745737075806, -0.27334916591644287, 0.6833441853523254, 0.038229744881391525, -0.4677216112613678 ]
http://arxiv.org/abs/2406.19783v1
http://arxiv.org/pdf/2406.19783v1
NLPerturbator: Studying the Robustness of Code LLMs to Natural Language Variations
2024-06-28T09:39:33
2024-06-28T09:39:33
Junkai Chen, Zhenhao Li, Xing Hu, Xin Xia
cs.SE
cs.SE, cs.CL
Large language models (LLMs) achieve promising results in code generation based on a given natural language description. They have been integrated into open-source projects and commercial products to facilitate daily coding activities. The natural language description in the prompt is crucial for LLMs to comprehend users' requirements. Prior studies uncover that LLMs are sensitive to the changes in the prompts, including slight changes that look inconspicuous. However, the natural language descriptions often vary in real-world scenarios (e.g., different formats, grammar, and wording). Prior studies on the robustness of LLMs are often based on random perturbations and such perturbations may not actually happen. In this paper, we conduct a comprehensive study to investigate how are code LLMs robust to variations of natural language description in real-world scenarios. We summarize 18 categories of perturbations of natural language and 3 combinations of co-occurred categories based on our literature review and an online survey with practitioners. We propose an automated framework, NLPerturbator, which can perform perturbations of each category given a set of prompts. Through a series of experiments on code generation using six code LLMs, we find that the perturbed prompts can decrease the performance of code generation by a considerable margin (e.g., up to 21.2%, and 4.8% to 6.1% on average). Our study highlights the importance of enhancing the robustness of LLMs to real-world variations in the prompts, as well as the essentiality of attentively constructing the prompts.
[ -0.6429969668388367, -1.1320101022720337, 0.2208269238471985, 0.4921560287475586, -0.19528064131736755, 0.1034066304564476, -0.2852715849876404, -0.3201427161693573, 0.10553547739982605, 0.6283268332481384, -0.5452213287353516, -0.4618070721626282, -0.4460013508796692, 0.7029524445533752, -0.38144081830978394, 0.9577195048332214, 0.016399119049310684, -0.21950604021549225, -0.20354656875133514, 0.21905522048473358, -0.4260997772216797, -0.7017008662223816, -0.3858847916126251, -0.1473049819469452, 0.46252545714378357, 0.1539112627506256, 0.8209776878356934, 0.5038100481033325, 0.7182671427726746, 0.2299615740776062, -0.35605648159980774, -0.011480547487735748, -0.39735478162765503, 0.5659202337265015, 0.05317008122801781, -0.69466233253479, -0.1852947324514389, -0.3878364562988281, 0.5308036804199219, 0.3992004692554474, -0.12206824123859406, 0.028367172926664352, 0.19799558818340302, 0.4285021424293518, -0.502564013004303, -0.11911214143037796, -0.6412428021430969, 0.19353389739990234, 0.014969372190535069, -0.5517988801002502, -0.2839941084384918, -0.42465654015541077, -0.1338559091091156, -0.25415584444999695, 0.31287726759910583, 0.13159556686878204, 0.8698049187660217, 0.5702583193778992, -0.22127699851989746, -0.5043447613716125, -0.9267740845680237, 0.7454924583435059, -0.9470944404602051, 0.0016086071263998747, 0.18710725009441376, 0.27218466997146606, -0.7395376563072205, -0.7601239085197449, -0.6346307396888733, -0.7038612961769104, -0.05323430523276329, -0.09497089684009552, -0.2884310483932495, 0.08502048999071121, 0.6668346524238586, 0.4596126973628998, -0.46679696440696716, 0.3301199674606323, 0.18137066066265106, -0.2567138969898224, 0.3932345509529114, 0.5414117574691772, 0.3636595606803894, -0.5036846995353699, -0.1750125288963318, -0.11698801070451736, -0.6977412700653076, 0.31604620814323425, 0.8174839019775391, 0.28133103251457214, -0.1359795480966568, 0.6141281127929688, 0.03976835310459137, 0.7840794920921326, 0.11639395356178284, -0.20431949198246002, -0.039051603525877, -0.47915831208229065, -0.13127781450748444, -0.17826570570468903, 0.9484738707542419, 0.37782591581344604, 0.10498615354299545, 0.03163718804717064, -0.37865138053894043, -0.012647178024053574, 0.5676714777946472, -0.8715611696243286, -0.1862022876739502, 0.32284221053123474, -0.4100210964679718, -0.6683536171913147, 0.052141498774290085, -0.9108685255050659, -0.6664059162139893, -0.279581218957901, -0.03699658066034317, -0.3115462064743042, -0.014706846326589584, 0.08425154536962509, 0.23919403553009033, 0.15239474177360535, 0.1677538901567459, -0.5569332838058472, 0.12506620585918427, 0.6093846559524536, 0.6537349224090576, -0.14868786931037903, -0.2813005745410919, -0.564490795135498, -0.2711033523082733, -0.21315692365169525, 0.7548823952674866, -0.6316015720367432, -0.5892235636711121, 0.04859746992588043, -0.20759448409080505, 0.19429314136505127, -0.5049405097961426, 0.6232631206512451, -0.3961908221244812, 0.2525157034397125, -0.00955275073647499, -0.5671485662460327, 0.09627082198858261, 0.40897229313850403, -0.7166153788566589, 0.9233794212341309, -0.10822413116693497, -1.1120010614395142, 0.21017245948314667, -0.5669567584991455, -0.417841374874115, 0.03789467737078667, -0.3277900516986847, -0.6122559309005737, 0.30788686871528625, 0.3312837779521942, 0.300018310546875, -0.2973017990589142, 0.3339872360229492, 0.007618029601871967, -0.5750293731689453, 0.8206173181533813, -0.6308651566505432, 0.7249317765235901, 0.2701556086540222, -0.33857518434524536, 0.336149126291275, -0.940037190914154, -0.2231415957212448, 0.10797260701656342, -0.5170308351516724, 0.04664021357893944, 0.19066989421844482, 0.12047288566827774, 0.09984949231147766, -0.0411357544362545, -0.2534213960170746, 0.4260188937187195, -0.6004725694656372, 0.264750599861145, 0.5319586992263794, 0.525592565536499, 0.22462114691734314, -0.4169517755508423, 1.2362744808197021, -0.19640086591243744, 0.18844068050384521, -0.44923144578933716, -0.5489582419395447, -0.4491467773914337, -0.3410657048225403, 0.08836116641759872, 0.5627788305282593, -0.7806611657142639, 0.6200137138366699, 0.030850205570459366, -0.4216344952583313, -0.3321148157119751, 0.1295427680015564, 0.2422061264514923, 0.5568661689758301, 0.20793886482715607, 0.004480869974941015, -0.7614797949790955, -0.763293445110321, -0.5775186419487, -0.06805635988712311, -0.29129472374916077, 0.05809945985674858, 0.23338006436824799, -0.6011950373649597, 1.1234164237976074, -0.27291756868362427, 0.12043928354978561, -0.33772706985473633, 0.1500846892595291, 0.738806426525116, 0.3269023597240448, 0.4310457408428192, -0.6634207367897034, -0.3027358949184418, -0.4161567687988281, -0.2687879204750061, -0.41136929392814636, -0.5970489978790283, 0.16472283005714417, 0.3002743422985077, 0.6329569220542908, -0.3704589009284973, 0.39974313974380493, 0.6081953644752502, -0.24278561770915985, 0.8894665241241455, -0.24690678715705872, -0.040617961436510086, -1.1296913623809814, 0.2067294865846634, 0.00017237054998986423, -0.0057413093745708466, -0.6032207608222961, 0.3884952664375305, -0.008200014941394329, 0.08460110425949097, -0.46837419271469116, 0.2018917202949524, -0.30332881212234497, 0.3196350932121277, -0.3139958679676056, -0.1374887079000473, -0.1287214159965515, 0.15371598303318024, -0.3064028322696686, 0.8303428292274475, 0.6319199204444885, -0.7628588676452637, 0.4698711633682251, 0.13992394506931305, -0.1941463053226471, 0.2884034216403961, -0.769259512424469, 0.2436041682958603, -0.26511693000793457, 0.2817663252353668, -0.9766878485679626, -0.40989917516708374, 0.21789205074310303, -0.46148353815078735, 0.21453987061977386, -0.1881697177886963, -0.8028553128242493, -0.3738988935947418, -0.5112797617912292, -0.006923162378370762, 0.5179652571678162, -0.4180258810520172, 0.6575904488563538, -0.034165289252996445, 0.03267870470881462, -0.49885839223861694, -0.5633153915405273, 0.4455925226211548, -0.24508188664913177, -0.4150162935256958, -0.044389158487319946, -0.3138323128223419, -0.4192505180835724, -0.36064472794532776, -0.1595417857170105, 0.34945398569107056, 0.4734344482421875, 0.6749786138534546, 0.30984264612197876, -0.03611486405134201, -0.08475559204816818, -0.06597680598497391, -0.06523814797401428, 0.3462317883968353, -0.00419385964050889, 0.792168915271759, -0.1276058554649353, -0.2958505153656006, -0.24594072997570038, 0.09555293619632721, 0.23346440494060516, -0.1303037852048874, 0.5765106081962585, 0.6200645565986633, -0.23604486882686615, -0.367044597864151, -0.3765351176261902, -0.11723863333463669, -0.5938194990158081, 0.3768942654132843, -0.35930773615837097, -0.9476932287216187, 0.6099236607551575, 0.082706019282341, 0.09372372180223465, 0.2704245150089264, 0.7771696448326111, 0.015477830544114113, 0.9033864736557007, 0.5961233973503113, 0.153071328997612, 0.37745821475982666, 0.14697962999343872, 0.25134730339050293, -0.589813768863678, -0.16591273248195648, -0.7492579817771912, -0.22912855446338654, -0.8396288156509399, -0.2982538938522339, 0.19192928075790405, 0.1828990876674652, -0.06569875031709671, 0.2647116780281067, -0.6894485354423523, 0.639790415763855, 0.3726215362548828, -0.42283275723457336, 0.10284440964460373, 0.10693541914224625, -0.31547001004219055, -0.18770910799503326, -0.4668790102005005, -0.9036055207252502, 0.977131724357605, 0.44113901257514954, 1.0755518674850464, 0.13400402665138245, 0.7912538647651672, 0.16635173559188843, 0.12102878838777542, -0.6949371099472046, 0.5133436322212219, 0.08913733810186386, -0.3671102523803711, 0.010533036664128304, -0.5506823062896729, -1.0698845386505127, -0.12754198908805847, -0.40898144245147705, -0.6123122572898865, 0.03582945093512535, 0.34271055459976196, -0.44775936007499695, 0.23411348462104797, -0.36187300086021423, 0.4369826316833496, -0.20669421553611755, -0.3970033526420593, 0.3677414357662201, -0.5913494825363159, 0.07401139289140701, -0.2304564267396927, 0.2838877737522125, 0.07793006300926208, -0.25509199500083923, 0.34904345870018005, -0.15814699232578278, 0.9893618226051331, 0.06380400061607361, -0.5251429677009583, 0.2991666793823242, 0.5596992373466492, 0.6198536157608032, 0.49249863624572754, -0.12208566069602966, -0.09831424802541733, -0.24586011469364166, -0.23944662511348724, -0.521399974822998, 0.7511531114578247, -0.6004167199134827, -0.6122370958328247, -0.26279476284980774, -0.5632132887840271, -0.29241126775741577, 0.13590428233146667, 0.6937375068664551, 0.4427870512008667, 0.06371026486158371, 0.03462986648082733, 0.6218739151954651, -0.7213819622993469, 0.6266101598739624, 0.19075433909893036, -0.5404549241065979, -0.3719469904899597, 0.5431213974952698, -0.17990615963935852, 0.09641331434249878, 0.5003865361213684, 0.27613502740859985, -0.11627499014139175, -0.7625951170921326, -0.11932409554719925, -0.06693703681230545, -0.6805092096328735, -0.23995736241340637, -0.6230705380439758, 0.09766200184822083, -0.26115110516548157, -0.38828811049461365, -0.09861995279788971, -0.2616901695728302, -0.47117123007774353, -0.12892396748065948, 0.4088152050971985, 0.8545908331871033, 0.29601752758026123, 0.19068779051303864, -0.8905165791511536, 0.21438860893249512, 0.09897911548614502, 0.5245670676231384, -0.21824762225151062, -0.5508769750595093, -0.03210127726197243, -0.14111553132534027, -0.10438163578510284, -0.8719463348388672, 0.4975566565990448, -0.06347121298313141, 0.5473527312278748, 0.27474430203437805, 0.32888248562812805, 0.4460953176021576, -0.26864829659461975, 1.1068283319473267, 0.11446607857942581, -0.9061061143875122, 0.5837699770927429, -0.47258856892585754, 0.6083115339279175, 0.4860435128211975, 0.20258969068527222, -0.4014534652233124, -0.9087245464324951, -0.428646445274353, -1.0911353826522827, 0.4694058299064636, 0.25106680393218994, 0.501980185508728, -0.10874893516302109, 0.6683939695358276, 0.206941619515419, 0.1422712206840515, -0.64818274974823, -0.3482125997543335, -0.3991968631744385, -0.15921102464199066, 0.008221330121159554, -0.43772292137145996, 0.00815842766314745, 0.13063496351242065, 0.24017617106437683, -0.1756608635187149, 0.3076718747615814, 0.17869235575199127, -0.028508640825748444, -0.20501962304115295, 0.4311803877353668, 0.9147709012031555, 0.5543248057365417, -0.2754526138305664, 0.42464160919189453, 0.13700437545776367, -0.6558467149734497, 0.019456638023257256, -0.09073542803525925, -0.20108820497989655, 0.04218568280339241, 0.6110321283340454, 0.886490523815155, 0.06212705746293068, -0.9339913725852966, 0.27963536977767944, -0.3871091306209564, -0.10223513096570969, -0.3002338707447052, 0.3204697072505951, -0.04720202088356018, -0.0429312139749527, 0.36705082654953003, 0.29163938760757446, 0.14415031671524048, -0.21285563707351685, 0.10165690630674362, 0.16996751725673676, -0.18218933045864105, -0.391114741563797, 0.7203283309936523, 0.00145390210673213, -0.6308593153953552, 0.3691597282886505, -0.3007102608680725, -0.5333012938499451, 0.7046365141868591, 0.7796653509140015, 0.8703802824020386, -0.006044548470526934, -0.14636212587356567, 0.33064955472946167, 0.5309808254241943, 0.07695169746875763, 0.27294138073921204, 0.2969984710216522, -0.46566280722618103, -0.6934409141540527, -0.6329286694526672, -0.5642836093902588, 0.02780192345380783, -0.5795934200286865, 0.393745481967926, -0.7691643238067627, -0.43543529510498047, -0.35593101382255554, -0.18412689864635468, -0.5091134905815125, -0.045572053641080856, 0.1791025549173355, 0.8795627951622009, -0.47097307443618774, 0.6080495715141296, 1.0698201656341553, -0.3298642933368683, -0.9574573636054993, 0.4337606430053711, 0.006129559129476547, -0.3592453598976135, 0.3807796537876129, 0.08505668491125107, -0.08049016445875168, -0.1735820770263672, -0.7200027704238892, -0.613768994808197, 0.6531131863594055, 0.5468552112579346, -0.7732220888137817, 0.005227858200669289, 0.20811136066913605, 0.8513184189796448, -0.07344955205917358, 0.2918398678302765, 0.27591678500175476, 0.3908926546573639, 0.07347073405981064, -0.7335196137428284, 0.2331921011209488, -0.2359551638364792, 0.4167500436306, 0.21337170898914337, -0.13811099529266357, 0.8366603255271912, -0.2324991375207901, -0.1991441398859024, 0.008583706803619862, 0.37392276525497437, 0.36315101385116577, -0.1347491443157196, 0.22246034443378448, 0.06457705050706863, 0.6211073398590088, 0.022180957719683647, 1.485451340675354, -0.5892863273620605, 0.48709291219711304, 1.0719612836837769, -0.23631954193115234, 0.6340847015380859, 0.767066240310669, -0.2762046456336975, 0.43744704127311707, 0.29638606309890747, -0.2910672426223755, -0.05453938990831375, 0.6378535032272339, 0.03436991199851036, -0.13587641716003418, 0.17420561611652374, -0.19505296647548676, 0.18631820380687714, 0.13545460999011993, -0.2271978110074997, -0.01937427930533886, 0.04611921310424805, 0.08186496049165726, 0.3096521496772766, -0.07023007422685623, 0.6861939430236816, 0.009987035766243935, -0.5761241316795349, 0.901414155960083, 0.05696022883057594, 1.075197696685791, -0.4786112308502197, 0.08972384035587311, -0.35535526275634766, 0.10581333935260773, -0.5392159223556519, -0.6459057331085205, 0.37634631991386414, 0.2796548008918762, -0.019824229180812836, -0.11033163219690323, 0.6997795701026917, 0.02489571087062359, -0.5415717363357544, 0.1373325139284134, 0.1484418511390686, -0.16804802417755127, 0.09678112715482712, -0.4633116126060486, 0.3619311451911926, 0.196055606007576, -0.46523311734199524, 0.18722376227378845, 0.3163999617099762, 0.18550196290016174, 0.6672159433364868, 0.6353713274002075, 0.18059128522872925, 0.37598279118537903, 0.08089730888605118, 0.7682546973228455, -0.6263805627822876, -0.3706529438495636, -1.056728482246399, 0.49116113781929016, 0.10615278035402298, -0.36560723185539246, 1.0659527778625488, 0.4282335638999939, 0.49768391251564026, -0.2748306691646576, 0.6534951329231262, -0.03068489581346512, 0.38053029775619507, -0.5621969103813171, 0.5337608456611633, -0.17718873918056488, 0.9121944308280945, -0.38392171263694763, -1.0962581634521484, -0.786923348903656, 0.4673957824707031, -0.09557153284549713, -0.17815400660037994, 0.5049216151237488, 0.8815550804138184, 0.37657561898231506, -0.019506683573126793, 0.16243557631969452, 0.22870464622974396, 0.7257934212684631, 0.14770542085170746, 0.9978175759315491, 0.0072998893447220325, 0.6189472675323486, -0.24870601296424866, 0.019272509962320328, -0.2892650067806244, -1.1517727375030518, -0.9673032164573669, -0.2847293019294739, -0.5149171948432922, -0.5428341627120972, -0.1444762945175171, 1.3081109523773193, 0.13021279871463776, -0.8895231485366821, -0.2173183709383011, -0.3901708722114563, -0.007261394988745451, -0.05136248469352722, -0.27187997102737427, 0.07667777687311172, -0.6379790306091309, -0.5311797261238098, 0.35707253217697144, 0.13871648907661438, 0.131258025765419, -0.3027726411819458, -0.05998016521334648, 0.16059067845344543, 0.34096530079841614, 0.37559056282043457, 0.06589934974908829, -0.6457751393318176, -0.11794032156467438, 0.19381259381771088, -0.26489323377609253, 0.08590157330036163, 0.9255933165550232, -0.7716782093048096, 0.421657919883728, 0.45384228229522705, 0.5968414545059204, -0.047970253974199295, -0.0763193815946579, 0.5274891257286072, -0.9666373133659363, 0.053886134177446365, 0.4565230906009674, 0.3192121684551239, 0.2755339741706848, -0.4268709719181061, 0.22682373225688934, -0.018241701647639275, -0.585037350654602, -1.017783522605896, 0.3933105766773224, -0.8336783051490784, -0.24611778557300568, 1.5605379343032837, 0.12533186376094818, -0.07323997467756271, -0.1540389060974121, -0.5239426493644714, 0.07310577481985092, -0.4241647720336914, 0.8697701692581177, 0.4057013690471649, -0.18966209888458252, -0.14797811210155487, -0.40206512808799744, 0.5652806758880615, 0.2178497165441513, -0.6620765924453735, 0.023084502667188644, 0.4622628092765808, 0.28034985065460205, 0.2518165707588196, 0.14487379789352417, -0.012842672877013683, 0.0679893046617508, -0.08103509247303009, 0.17063193023204803, -0.3633865416049957, 0.145075723528862, -0.8803975582122803, 0.47857388854026794, 0.5694543719291687, 0.3178216814994812 ]
http://arxiv.org/abs/2406.19774v1
http://arxiv.org/pdf/2406.19774v1
Direct Preference Knowledge Distillation for Large Language Models
2024-06-28T09:23:40
2024-06-28T09:23:40
Yixing Li, Yuxian Gu, Li Dong, Dequan Wang, Yu Cheng, Furu Wei
cs.CL
cs.CL
In the field of large language models (LLMs), Knowledge Distillation (KD) is a critical technique for transferring capabilities from teacher models to student models. However, existing KD methods face limitations and challenges in distillation of LLMs, including efficiency and insufficient measurement capabilities of traditional KL divergence. It is shown that LLMs can serve as an implicit reward function, which we define as a supplement to KL divergence. In this work, we propose Direct Preference Knowledge Distillation (DPKD) for LLMs. DPKD utilizes distribution divergence to represent the preference loss and implicit reward function. We re-formulate KD of LLMs into two stages: first optimizing and objective consisting of implicit reward and reverse KL divergence and then improving the preference probability of teacher outputs over student outputs. We conducted experiments and analysis on various datasets with LLM parameters ranging from 120M to 13B and demonstrate the broad applicability and effectiveness of our DPKD approach. Meanwhile, we prove the value and effectiveness of the introduced implicit reward and output preference in KD through experiments and theoretical analysis. The DPKD method outperforms the baseline method in both output response precision and exact match percentage. Code and data are available at https://aka.ms/dpkd.
[ -0.3407057821750641, -0.4404236674308777, 0.9480928778648376, 0.14903894066810608, -0.45797398686408997, 0.11430706083774567, -0.6041377186775208, 0.18531924486160278, -0.18808890879154205, 0.39807185530662537, -0.33439281582832336, -0.5424882769584656, -0.9030623435974121, 0.003799573751166463, -0.22624579071998596, 0.929253101348877, -0.2477947324514389, 0.19364742934703827, -0.36177438497543335, 0.23563861846923828, -0.46234560012817383, -0.6208726763725281, -0.7231177091598511, -0.6801073551177979, 0.723781168460846, 0.6945188045501709, 0.24857164919376373, 0.4397716224193573, 0.2759781777858734, 0.22316020727157593, -0.19169095158576965, -0.11728416383266449, -0.6198988556861877, 0.31889963150024414, -0.14183549582958221, -0.5212420225143433, -0.17562338709831238, 0.08520181477069855, 0.5781362652778625, 0.9120135307312012, -0.24371790885925293, -0.07193443179130554, 0.4261429011821747, 1.1390190124511719, -0.7100602984428406, 0.34117063879966736, -0.5595967769622803, 0.14460530877113342, -0.0517452098429203, -0.016661901026964188, -0.45943301916122437, -0.7516463398933411, 0.5308303833007812, -0.24547883868217468, -0.029871491715312004, -0.4829166531562805, 0.30164262652397156, 0.40306973457336426, -0.7154484391212463, -0.46688809990882874, -1.0217230319976807, 0.7868229150772095, -0.8282045125961304, 0.43715089559555054, 0.45672208070755005, 0.48302164673805237, -0.026757624000310898, -0.573456883430481, -0.6881292462348938, -0.3570598065853119, 0.005430619698017836, -0.0008299129549413919, 0.15170074999332428, 0.04590233042836189, 0.11349904537200928, 0.4590704143047333, -0.017380496487021446, 0.16461028158664703, -0.2453092336654663, 0.22632063925266266, 0.6600106358528137, 0.03616033121943474, -0.10540325939655304, 0.07456662505865097, -0.334115207195282, -0.46727320551872253, -0.7418577671051025, 0.13641351461410522, 0.4735853672027588, 0.25064563751220703, 0.10192932188510895, 0.4954077899456024, -0.35580503940582275, 0.40773648023605347, 0.2474527508020401, -0.6144227385520935, 0.12449459731578827, 0.0037955548614263535, -0.009634409099817276, 0.2962897717952728, 0.556236743927002, 0.19076435267925262, 0.46349310874938965, 0.09969446808099747, -0.11603666841983795, -0.18784362077713013, -0.24138134717941284, -0.8631471991539001, -0.5062775611877441, 0.11008591204881668, -0.16144350171089172, -0.44420143961906433, -0.2884922921657562, -0.6178468465805054, -0.6117076277732849, -0.6800084114074707, 0.148661270737648, -0.32846561074256897, -0.7016843557357788, 0.350216269493103, -0.1672229766845703, -0.1998436450958252, 0.3039063513278961, -1.091998815536499, 0.15588100254535675, 0.5037218332290649, 0.6345275640487671, -0.5266522169113159, -0.1668199747800827, -0.13125552237033844, 0.2151091992855072, -0.14498277008533478, 0.3891129791736603, -0.40339937806129456, -0.554603636264801, 0.09202073514461517, -0.29832687973976135, 0.15686345100402832, -0.652245819568634, 0.6810604929924011, -0.5945819616317749, -0.061915602535009384, -0.46932968497276306, -0.7432342171669006, -0.09038642048835754, 0.07641533762216568, -0.6467360258102417, 0.8125767707824707, -0.04562076926231384, -0.7191677093505859, 0.6236960887908936, -0.4216029644012451, -0.36163753271102905, 0.014911893755197525, -0.04714908078312874, -0.04568588733673096, 0.1683102697134018, 0.07700982689857483, 0.6177164912223816, -0.03413313627243042, 0.6964841485023499, -0.4484016001224518, -0.09883030503988266, 0.08434165269136429, -0.6431471109390259, 0.6332659125328064, 0.15392941236495972, -0.19052407145500183, -0.20275379717350006, -0.6196540594100952, -0.23582540452480316, 0.19657301902770996, -0.6644316911697388, -0.911413848400116, 0.10614793002605438, -0.3567351698875427, -0.06389304250478745, 0.3744826316833496, -0.4407077133655548, 0.5627100467681885, -0.2899160087108612, 0.24033525586128235, 1.189416766166687, -0.09055183827877045, 0.7275387048721313, 0.22369025647640228, 0.2996925413608551, 0.2383045107126236, 0.03468557447195053, 0.21060605347156525, -0.18917445838451385, -0.6133483648300171, -0.4686114192008972, 0.43948236107826233, 0.07172597944736481, -0.8579455614089966, 0.39503592252731323, -0.36161065101623535, -0.40883854031562805, -0.34664082527160645, 0.21352185308933258, 0.11476730555295944, 0.543258011341095, 0.13421043753623962, 0.22447608411312103, -0.35176292061805725, -0.9061393737792969, 0.07384799420833588, -0.3416591286659241, -0.1570022702217102, 0.43693840503692627, 0.2680666744709015, 0.11760929226875305, 1.092593789100647, -1.0855013132095337, -0.28504806756973267, -0.2691548764705658, -0.129108726978302, 0.4629267156124115, 0.2534327805042267, 0.4261939525604248, -0.8362948298454285, -0.942979633808136, -0.04650621488690376, -0.37409496307373047, -0.2301805168390274, 0.37076786160469055, -0.202474445104599, 0.34467175602912903, 0.20076967775821686, -0.4075259864330292, 0.06525574624538422, 0.57295161485672, -0.2922860085964203, 0.5744175910949707, -0.11991766840219498, 0.22202187776565552, -1.0626258850097656, 0.1534656435251236, -0.08754356950521469, -0.19629135727882385, -0.4645906984806061, -0.23378027975559235, 0.07506626099348068, 0.2417503148317337, -0.4401131868362427, 0.5351629853248596, -0.20802199840545654, 0.1476694792509079, -0.40210404992103577, 0.03900527209043503, -0.04164024442434311, 0.4308597445487976, 0.37364041805267334, 0.3520877957344055, 0.4848325550556183, -0.826774537563324, 0.8119099736213684, 0.09064817428588867, -0.46156296133995056, 0.40411376953125, -0.5886010527610779, 0.07423549890518188, -0.213962584733963, 0.30704283714294434, -1.210010051727295, 0.029431771486997604, 0.18788446485996246, -0.13726678490638733, 0.4052366316318512, -0.42191997170448303, -0.2927691638469696, -0.37455523014068604, -0.25518345832824707, 0.3219849467277527, 0.7567884922027588, -0.8574275374412537, 0.34273892641067505, 0.0688394084572792, -0.46546411514282227, -0.7706112265586853, -0.5637169480323792, -0.25254958868026733, -0.3180020749568939, -0.46632373332977295, 0.20566774904727936, -0.3021854758262634, -0.29711389541625977, 0.1363111436367035, -0.2256075143814087, -0.02663365751504898, 0.09038332104682922, 0.08702506870031357, 0.4323289096355438, -0.06766808032989502, 0.21619847416877747, 0.3769122362136841, -0.07713105529546738, 0.07947471737861633, -0.29778921604156494, 0.6689120531082153, 0.4301953911781311, -0.46361199021339417, -0.03536171838641167, 0.191372811794281, 0.5101252794265747, 0.17989487946033478, 0.7148832678794861, 0.23375332355499268, 0.015096282586455345, -0.5132132172584534, -0.6229567527770996, -0.44249585270881653, -0.5000246167182922, 0.38723474740982056, -0.43616563081741333, -0.8503251671791077, 0.18500341475009918, -0.34247568249702454, -0.047653041779994965, 0.2610752582550049, 0.6584081053733826, 0.18369045853614807, 0.9365379214286804, 0.6951833963394165, -0.3583163619041443, 0.3541686236858368, -0.2292817085981369, 0.19531889259815216, -0.6643552184104919, -0.34127119183540344, -0.5174056887626648, -0.44606468081474304, -0.16431011259555817, -0.09677407145500183, 0.4122598171234131, 0.33340349793434143, -0.12767665088176727, -0.22748416662216187, -0.3766024708747864, 0.6379156112670898, 0.6671388745307922, -0.11568605899810791, 0.6515714526176453, 0.2308693826198578, -0.3571617901325226, -0.17662811279296875, -0.4666368365287781, -0.4005834758281708, 1.362464189529419, 0.3541305661201477, 0.9266271591186523, 0.10993479192256927, 0.9257116317749023, 0.2531331479549408, 0.22653836011886597, -0.851182758808136, 0.4599221348762512, -0.28651323914527893, -0.3731847405433655, -0.47028231620788574, -0.4399750828742981, -0.5977781414985657, 0.25627601146698, 0.1447247713804245, -0.401176780462265, 0.14984138309955597, 0.18614548444747925, -0.07427224516868591, 0.2887505888938904, -0.9187801480293274, 0.6111871004104614, -0.05205239728093147, -0.2900196313858032, -0.1328137367963791, -0.19336199760437012, 0.7260395288467407, -0.16371777653694153, -0.13690879940986633, -0.19242554903030396, 0.1893436759710312, 0.6437549591064453, -0.2651158273220062, 0.7050599455833435, -0.5551905632019043, -0.5971613526344299, 0.001122953137382865, 0.1888536959886551, 0.6291434168815613, 0.2794835567474365, -0.12570858001708984, 0.0021230813581496477, 0.020518233999609947, -0.04363987222313881, -0.6860655546188354, 1.1575069427490234, -0.917759120464325, -0.897168755531311, -0.32110998034477234, -0.4290326237678528, -0.2769249677658081, 0.13622982800006866, -0.04102432355284691, 0.041441332548856735, 0.010798993520438671, 0.22831642627716064, 0.7178795337677002, -0.062325768172740936, 0.5771861672401428, 0.8491776585578918, -0.3674001395702362, -0.18368078768253326, 0.7969027161598206, 0.12267488241195679, 0.4741547703742981, 0.24024255573749542, 0.5075603723526001, -0.880424976348877, -0.5850639343261719, -0.3591752052307129, 0.08375922590494156, -0.8166908025741577, -0.04231720790266991, -0.4489501714706421, -0.11882210522890091, -0.5116561651229858, 0.0016323053278028965, -0.5477815866470337, -0.3328871726989746, -0.2023131400346756, -0.17743434011936188, 0.453182578086853, 0.7100090980529785, -0.050213634967803955, -0.08663913607597351, -0.4531087577342987, 0.23327253758907318, 0.6040358543395996, 0.5925449728965759, 0.22550618648529053, -0.518089771270752, -0.09280507266521454, 0.3442261815071106, -0.22031764686107635, -0.6810874938964844, 0.5026522874832153, 0.04094087332487106, 0.4925895631313324, 0.44075819849967957, 0.54400235414505, 0.28369492292404175, -0.49560829997062683, 0.7206597924232483, 0.3055145740509033, -0.7847186326980591, 0.4419955611228943, -0.07560472935438156, 0.27321961522102356, 0.5450757741928101, 0.8082318305969238, -0.6882559657096863, -0.19548417627811432, -0.20046785473823547, -0.9779011011123657, 0.824229896068573, -0.08909467607736588, 0.13507340848445892, 0.2091277688741684, 0.3987416923046112, 0.3929882049560547, 0.2485496997833252, -0.601222813129425, -0.6248255968093872, 0.07560158520936966, -0.37285828590393066, -0.39885351061820984, -0.48095452785491943, -0.13036446273326874, -0.35405412316322327, 0.8674883842468262, -0.05699069797992706, -0.3536010682582855, 0.15952622890472412, 0.08470384776592255, 0.03942999616265297, 0.32440826296806335, 0.2731820344924927, 0.6480370759963989, -0.2649862766265869, 0.42053836584091187, 0.0009576327865943313, -0.6483463644981384, 0.5398246049880981, -0.06763065606355667, -0.13806454837322235, -0.112043097615242, -0.09208410978317261, 0.7406095266342163, -0.1281425803899765, -0.44108015298843384, 0.4644972085952759, -0.02425251714885235, -0.415336936712265, -0.25320467352867126, 0.03433817997574806, 0.5231192111968994, 0.28404417634010315, 0.5922073125839233, -0.3623325228691101, 0.19397294521331787, -0.2780645191669464, -0.06631708145141602, 0.19110384583473206, -0.10493957996368408, -0.09708236902952194, 0.2856293320655823, 0.24341200292110443, 0.20272527635097504, 0.5498507022857666, -0.0385470911860466, -0.40243157744407654, 0.39474213123321533, 0.48651888966560364, 0.8275421261787415, -0.39697760343551636, 0.3591417670249939, 0.2556438744068146, -0.21258001029491425, -0.23572567105293274, -0.1393120139837265, -0.17343398928642273, -0.8658419251441956, -0.4690190851688385, -0.8741375207901001, -0.35870176553726196, 0.35706785321235657, -0.5426010489463806, 0.371016263961792, -0.1929299682378769, 0.02065814472734928, 0.11343880742788315, 0.12706376612186432, -0.4461987614631653, -0.14336541295051575, 0.361571729183197, 0.5543842911720276, -0.924776554107666, 1.0627388954162598, 0.6276330351829529, -0.1737814098596573, -0.9392234683036804, -0.0900312215089798, -0.1418820470571518, -0.645050585269928, 1.3350107669830322, -0.46089068055152893, 0.05964067578315735, 0.11071109026670456, -0.39714372158050537, -0.7480083107948303, 1.199957013130188, 0.6508703827857971, -0.9762043356895447, 0.2312147468328476, 0.426893025636673, 0.34555208683013916, -0.26807937026023865, 0.15600469708442688, 0.6981137990951538, 0.568665623664856, 0.6538074016571045, -0.8095633387565613, 0.017889024689793587, 0.040242861956357956, 0.15416933596134186, 0.12250572443008423, -0.34061670303344727, 0.8502709269523621, -0.061040427535772324, -0.1884109079837799, -0.4321238696575165, 0.30871114134788513, 0.3953517973423004, 0.21598996222019196, 0.600154459476471, 0.4635428786277771, 0.571979284286499, -0.05607089772820473, 0.7920308113098145, -0.19151154160499573, 0.4353833794593811, 1.0459468364715576, -0.5855186581611633, 0.839062511920929, 0.8382622599601746, -0.5707617402076721, 0.2334662675857544, 0.35060951113700867, 0.22109337151050568, 0.8330993056297302, 0.4074762761592865, -0.5445449948310852, -0.11630616337060928, -0.13701231777668, -0.5512334108352661, 0.030661897733807564, -0.16144616901874542, -0.3051896393299103, -0.19189344346523285, 0.1452690213918686, -0.004361746832728386, 0.14127714931964874, -0.19913946092128754, 0.9437798857688904, 0.09160590916872025, -0.8249043822288513, 0.718269944190979, -0.09914486110210419, 0.7661192417144775, -0.6847793459892273, -0.12278328090906143, -0.4918536841869354, 0.5584893226623535, -0.08139288425445557, -0.9153217077255249, -0.04348239302635193, -0.05078273266553879, -0.45335954427719116, -0.25987744331359863, 0.7727428078651428, -0.9582255482673645, -0.4053334593772888, 0.30543088912963867, 0.3771754205226898, -0.06805551052093506, -0.20064988732337952, -0.21954873204231262, 0.10124211013317108, 0.19436223804950714, -0.37791529297828674, 0.5319409966468811, 0.4831112027168274, 0.35607725381851196, 0.665630042552948, 0.6631874442100525, 0.30318862199783325, 0.024930868297815323, 0.18485713005065918, 1.1195242404937744, -0.2016921490430832, -0.4814521372318268, -1.2415770292282104, 0.4331092834472656, -0.07753841578960419, -0.0008418912184424698, 0.8936922550201416, 0.4408486485481262, 0.9136935472488403, -0.396807998418808, 1.018155813217163, 0.08802761137485504, 0.480167031288147, -0.5130359530448914, 0.8362533450126648, -0.3836893141269684, 0.3663178086280823, -0.2640780508518219, -1.1745054721832275, 0.2289522886276245, 0.30649393796920776, -0.4908129572868347, -0.11972444504499435, 0.6550527811050415, 0.3833625018596649, -0.044633131474256516, -0.08175567537546158, 0.3720702826976776, 0.1741287112236023, 0.4212566912174225, 0.7032586336135864, 1.0404694080352783, 0.03694196417927742, 0.36598190665245056, -0.5257576107978821, -0.22919167578220367, -0.16759949922561646, -1.0195776224136353, -0.8135001063346863, -0.7513506412506104, -0.5007814764976501, -0.10776899755001068, -0.02161453478038311, 0.8164579272270203, 0.609795868396759, -0.6211353540420532, -0.20996131002902985, -0.1090877503156662, 0.39334753155708313, 0.09616237133741379, -0.2641462981700897, 0.43192028999328613, -0.3165203034877777, -1.062339186668396, 0.1127910315990448, -0.08681720495223999, 0.11786056309938431, -0.5081982612609863, -0.40927621722221375, -0.09841211140155792, -0.10531050711870193, 0.6334575414657593, -0.12929269671440125, -0.6047267913818359, -0.1743127554655075, -0.21526826918125153, -0.057412438094615936, -0.35348549485206604, 0.8321003317832947, -0.653685450553894, 0.3170353174209595, 0.5462433695793152, 0.4756787419319153, 0.6465085744857788, -0.2143528312444687, 0.6975654363632202, -0.8929821848869324, 0.1552516669034958, 0.1454160511493683, 0.15795250236988068, 0.13402563333511353, -0.3642861545085907, 0.31988614797592163, 0.24378536641597748, -0.4548366069793701, -0.9204767346382141, 0.15359488129615784, -0.7440034747123718, -0.4251026213169098, 1.5865840911865234, -0.381779283285141, -0.058954428881406784, 0.06764401495456696, -0.44113022089004517, 0.1664331704378128, -0.6962544918060303, 0.7359507083892822, 0.9355568289756775, 0.3421599268913269, 0.001266682636924088, -0.26592209935188293, 0.8218334913253784, 0.24885378777980804, -0.32085272669792175, 0.32416272163391113, 0.5705170035362244, 0.5364177227020264, -0.1457347869873047, 0.6717928051948547, -0.0530221126973629, -0.16685904562473297, -0.21920347213745117, 0.26703065633773804, -0.4271010160446167, -0.24105866253376007, -0.37930598855018616, 0.22547273337841034, 0.3624570965766907, -0.0857064425945282 ]
http://arxiv.org/abs/2406.19764v1
http://arxiv.org/pdf/2406.19764v1
Belief Revision: The Adaptability of Large Language Models Reasoning
2024-06-28T09:09:36
2024-06-28T09:09:36
Bryan Wilie, Samuel Cahyawijaya, Etsuko Ishii, Junxian He, Pascale Fung
cs.CL
cs.CL
The capability to reason from text is crucial for real-world NLP applications. Real-world scenarios often involve incomplete or evolving data. In response, individuals update their beliefs and understandings accordingly. However, most existing evaluations assume that language models (LMs) operate with consistent information. We introduce Belief-R, a new dataset designed to test LMs' belief revision ability when presented with new evidence. Inspired by how humans suppress prior inferences, this task assesses LMs within the newly proposed delta reasoning ($\Delta R$) framework. Belief-R features sequences of premises designed to simulate scenarios where additional information could necessitate prior conclusions drawn by LMs. We evaluate $\sim$30 LMs across diverse prompting strategies and found that LMs generally struggle to appropriately revise their beliefs in response to new information. Further, models adept at updating often underperformed in scenarios without necessary updates, highlighting a critical trade-off. These insights underscore the importance of improving LMs' adaptiveness to changing information, a step toward more reliable AI systems.
[ -0.4222870469093323, -0.5766450762748718, 0.8462517857551575, 0.050845447927713394, -0.05788999795913696, -0.26456692814826965, -0.38188573718070984, -0.4564681649208069, -0.013965314254164696, 0.56898432970047, -0.697136640548706, -0.22778865694999695, -0.462685227394104, 0.26757097244262695, -0.10994108766317368, 0.7097849249839783, -0.10710622370243073, -0.052699774503707886, -0.05494936183094978, -0.053548913449048996, -0.7839637994766235, -0.46133744716644287, -0.7770351767539978, -0.5986709594726562, 0.5484836101531982, 0.37738102674484253, 0.8905121088027954, 0.3345296084880829, 0.3118542730808258, 0.16738207638263702, -0.06742797046899796, 0.03539304807782173, -0.19854824244976044, 0.7217645645141602, -0.4647972583770752, -0.9474508762359619, -0.3787630498409271, -0.22170639038085938, 0.7038503885269165, 0.5875201225280762, -0.19501736760139465, -0.21337376534938812, -0.06831137090921402, 0.7898485660552979, -0.5695450901985168, 0.10618972778320312, -1.14374840259552, 0.08634679764509201, 0.3787548542022705, -0.11314717680215836, -0.8874871730804443, -0.46215343475341797, 0.3167257308959961, -0.5359257459640503, 0.4213695228099823, 0.06882468611001968, 0.804219126701355, 0.5721626877784729, -0.16475196182727814, -0.334218829870224, -0.8642404675483704, 0.6845445036888123, -0.994087278842926, 0.7146044969558716, 0.5177778005599976, 0.3779667317867279, -0.4699395000934601, -0.6804642081260681, -0.8518269062042236, -0.28486886620521545, 0.19437839090824127, -0.03250433877110481, -0.1205076053738594, -0.09663166850805283, 0.36267754435539246, 0.13923904299736023, -0.3332335650920868, -0.00921744853258133, 0.030652225017547607, 0.059151530265808105, 0.4313693344593048, -0.025880450382828712, 0.07421895861625671, 0.019555194303393364, 0.08334898948669434, -0.58013516664505, -0.8428353667259216, -0.1028595119714737, 0.16193610429763794, 0.29844966530799866, 0.19657886028289795, 0.4750671684741974, -0.2517887353897095, 0.7885005474090576, 0.12694013118743896, -0.03612761199474335, 0.11919647455215454, -0.03382018581032753, -0.4968195855617523, -0.04876545071601868, 0.3429841995239258, 0.5452461242675781, 0.20445482432842255, 0.11957735568284988, -0.4194411635398865, 0.1077478677034378, 0.33859163522720337, -0.44960731267929077, -0.2704285681247711, 0.38506826758384705, -0.39259448647499084, 0.06161065772175789, -0.12871278822422028, -0.7084380388259888, -0.7667620778083801, -0.319805383682251, 0.2893643379211426, -0.6630635261535645, -0.43493834137916565, 0.6318898797035217, -0.2220848649740219, -0.03165501356124878, 1.0300990343093872, -0.929324746131897, -0.10931932926177979, 0.7453934550285339, 0.47593235969543457, 0.08371251076459885, -0.3103224039077759, -0.059604328125715256, -0.10012968629598618, -0.6966534852981567, 0.9435943961143494, -0.5627037286758423, -0.2714003622531891, -0.013084137812256813, 0.15673092007637024, -0.1964685320854187, -0.6222164034843445, 0.9295861124992371, -0.6623716354370117, 0.1821862757205963, -0.6512631177902222, -0.8027209639549255, -0.3216223120689392, 0.399284303188324, -0.605431079864502, 0.7449020147323608, -0.07718700170516968, -0.708541750907898, 0.7340627908706665, -0.486991286277771, -0.04294626787304878, -0.19798187911510468, -0.000926005479414016, -0.3683057427406311, 0.15938033163547516, 0.17670461535453796, 0.16520191729068756, -0.12149494886398315, 0.13012172281742096, -0.5739230513572693, -0.08859514445066452, 0.3586863875389099, -0.5493872165679932, 0.3874574303627014, 0.3200690448284149, -0.12163999676704407, 0.23345215618610382, -0.49716636538505554, 0.07523830980062485, -0.06102948635816574, -0.24190367758274078, -0.486320436000824, 0.6396576166152954, -0.4034554958343506, 0.12349675595760345, -0.11669635027647018, -0.5184047222137451, 0.6327700018882751, -0.5013653635978699, 0.160667285323143, 0.8005093932151794, 0.25812774896621704, 0.38229334354400635, -0.6001780033111572, 0.46025851368904114, -0.047894857823848724, 0.11917044967412949, -0.3655961751937866, -0.7237368822097778, -1.07954740524292, 0.21903041005134583, 0.24285604059696198, 0.41648802161216736, -0.6326795816421509, 0.2887735366821289, -0.22804401814937592, -0.38809826970100403, -0.5043300986289978, -0.18399325013160706, -0.09806124120950699, 0.3884200155735016, 0.561632513999939, 0.10640870034694672, -0.9004931449890137, -0.7395859360694885, -0.5288276672363281, -0.5490961074829102, -0.28299760818481445, 0.04168936610221863, 0.537521243095398, -0.47998079657554626, 1.0869625806808472, -0.3982207179069519, 0.08931785821914673, -0.241681307554245, 0.14398029446601868, 0.2827456593513489, 0.4049760103225708, 0.455267071723938, -0.7934232354164124, -0.22529110312461853, -0.0037372210063040257, -0.6933544874191284, 0.09527269750833511, -0.5798525810241699, 0.24010664224624634, 0.3682084083557129, 0.3654947280883789, -0.6402970552444458, 0.5899971723556519, 0.5783851742744446, -0.40259823203086853, 0.6146818399429321, -0.2932550013065338, 0.21302133798599243, -0.9627721309661865, -0.33743029832839966, 0.19067399203777313, -0.25149229168891907, -0.4132285714149475, 0.17773686349391937, 0.06525720655918121, 0.3163990378379822, 0.06084184721112251, 0.5570576190948486, -0.3864160478115082, 0.04451349750161171, -0.36810824275016785, 0.05011394992470741, -0.07874703407287598, 0.14242810010910034, 0.3814513087272644, 0.5249825119972229, 0.386515736579895, -0.8499931693077087, 0.2435009628534317, 0.25958114862442017, -0.4605615437030792, 0.24559488892555237, -0.5707752704620361, 0.1494380533695221, -0.3640845715999603, 0.5044735074043274, -0.7989080548286438, -0.29060301184654236, 0.15222392976284027, -0.5074358582496643, 0.1112075075507164, -0.32561245560646057, -0.2932337820529938, -0.21271353960037231, 0.04042452201247215, -0.03946147859096527, 0.5110777616500854, -0.4556983411312103, 0.7720829844474792, 0.13982757925987244, -0.37399816513061523, -0.6634165644645691, -0.6454998850822449, 0.34958207607269287, 0.033872202038764954, -0.4135391116142273, 0.19427421689033508, -0.3008178174495697, -0.7239566445350647, 0.12106513231992722, -0.21702872216701508, -0.0018009818159043789, -0.05658436566591263, 0.08778990060091019, 0.3030688762664795, -0.3548830449581146, 0.2237301468849182, 0.042680010199546814, 0.07567275315523148, 0.1279229074716568, -0.3386850953102112, 0.3705124855041504, 0.010968501679599285, -0.5458440184593201, -0.3321506381034851, -0.06439144909381866, 0.5264949202537537, 0.2629028856754303, 0.7486780881881714, -0.028904831036925316, -0.5217897891998291, -0.42848557233810425, -0.6003336906433105, -0.26768621802330017, -0.4368516504764557, 0.4285687506198883, -0.453491747379303, -0.815971314907074, 0.36114850640296936, -0.07012408971786499, 0.5300132632255554, 0.408639520406723, 0.6921442151069641, -0.19400633871555328, 0.920647919178009, 0.4785877466201782, 0.2468709647655487, 0.3528086245059967, 0.31592097878456116, 0.21319684386253357, -0.6317736506462097, -0.05155498906970024, -0.5240575671195984, 0.018331510946154594, -0.4365774989128113, -0.7133103013038635, 0.08776874840259552, 0.23440906405448914, -0.058086466044187546, 0.22610561549663544, -0.25622615218162537, 0.3474051356315613, 0.25162145495414734, 0.1317015439271927, 0.19177648425102234, -0.2960963547229767, -0.09402255713939667, -0.20110327005386353, -0.547137439250946, -0.6897058486938477, 0.9843514561653137, 0.5640638470649719, 0.9169936776161194, 0.289993017911911, 0.25278136134147644, 0.5905706882476807, 0.598868727684021, -0.8960626721382141, 0.3736048936843872, 0.31200292706489563, -0.6031026840209961, -0.26547133922576904, -0.2577417194843292, -0.6363479495048523, 0.3304348587989807, -0.5374978184700012, -0.5697110295295715, 0.354139506816864, 0.4991936981678009, -0.23787903785705566, 0.46221044659614563, -0.8094627261161804, 0.6098719835281372, 0.24236033856868744, -0.05424395948648453, -0.387340247631073, -0.4114397466182709, 0.24320389330387115, -0.3827441930770874, 0.1595107465982437, 0.07861210405826569, 0.19091938436031342, 0.4386487901210785, -0.31926393508911133, 0.9172448515892029, -0.313749760389328, -0.3175986707210541, 0.19589732587337494, 0.3430815041065216, 0.6612353920936584, 0.08779849857091904, -0.4398025870323181, -0.25280728936195374, 0.1687697023153305, -0.13029152154922485, -0.9945931434631348, 0.4324585795402527, -0.4791027009487152, -0.9386557936668396, -0.5081536769866943, -0.5389970541000366, -0.5011069178581238, 0.025583257898688316, 0.12131984531879425, 0.08481981605291367, -0.2150174379348755, 0.4075384736061096, 0.9163476824760437, -0.3594176471233368, 0.21962587535381317, 0.4924991726875305, -0.5355560183525085, -0.2141893059015274, 0.2929341793060303, -0.14734408259391785, 0.5283079743385315, 0.4067375063896179, 0.22632203996181488, -0.4618493616580963, -0.6888707876205444, -0.362161248922348, 0.016778307035565376, -1.0091361999511719, 0.003767547430470586, -0.4723559021949768, 0.07972913235425949, -0.46622616052627563, -0.056572701781988144, -0.3529820144176483, -0.4599567651748657, 0.07649601250886917, -0.15718284249305725, 0.34388238191604614, 0.9875805377960205, -0.0798330157995224, 0.004610425792634487, -0.6217223405838013, 0.3155056834220886, 0.26329731941223145, 0.24810664355754852, 0.026496412232518196, -0.7595616579055786, -0.06632939726114273, 0.5457930564880371, -0.06783734261989594, -0.942907989025116, 0.3152329921722412, 0.13656190037727356, 0.602455198764801, 0.0684225782752037, 0.3445330858230591, 0.4751659631729126, -0.5874762535095215, 0.7250832319259644, 0.05678845942020416, -0.8060019612312317, 0.6565189957618713, -0.26199373602867126, 0.23753784596920013, 0.3330691456794739, 0.3183709383010864, -0.9363664984703064, -0.425567626953125, -0.43244868516921997, -0.4355168044567108, 0.4215868413448334, -0.07426062226295471, -0.045801032334566116, 0.12094980478286743, 0.7243478894233704, 0.15105484426021576, -0.07842229306697845, -0.6680367588996887, -0.27689117193222046, -0.4882832467556, -0.20505042374134064, -0.026337748393416405, -0.2705788314342499, 0.0016149827279150486, -0.3083915710449219, 0.8123611211776733, -0.2580491602420807, 0.28687387704849243, 0.4784170985221863, 0.05093362554907799, -0.14046601951122284, 0.5245476365089417, 0.886250376701355, 0.8971861600875854, -0.40167638659477234, 0.08661108464002609, 0.2769857347011566, -0.43782660365104675, 0.1609078049659729, -0.2780998647212982, -0.5128294825553894, 0.1737154722213745, 0.3975330591201782, 1.009444236755371, 0.028653379529714584, -0.6146507859230042, 0.18115471303462982, -0.40487152338027954, -0.18810167908668518, -0.4482152462005615, 0.24848899245262146, 0.107545405626297, 0.0777929350733757, 0.5575299263000488, 0.875028669834137, -0.38532036542892456, -0.7537000775337219, 0.381290078163147, -0.010523250326514244, -0.46753138303756714, -0.4228774607181549, 0.5111274123191833, -0.3679957389831543, -0.37088489532470703, 0.26910656690597534, -0.1584993302822113, -0.49480804800987244, 0.3227652311325073, 0.5645977854728699, 0.780185878276825, -0.40857595205307007, 0.1534828394651413, 0.5352914333343506, 0.5144398212432861, -0.43729132413864136, 0.1377655267715454, 0.44616463780403137, -1.426722764968872, -0.6204431653022766, -0.4925752878189087, -0.7380314469337463, 0.17386548221111298, -0.6515544652938843, 0.2768757939338684, -0.6185228824615479, -0.2337634116411209, -0.0679304301738739, -0.4658111035823822, -0.38879337906837463, 0.5597651600837708, -0.05554159730672836, 1.2070965766906738, -0.7564953565597534, 1.1171929836273193, 0.5799365043640137, -0.3482956290245056, -0.6983358263969421, 0.5449413657188416, 0.011468015611171722, -0.6622079610824585, 0.570518970489502, -0.35455620288848877, -0.010920032858848572, -0.244750514626503, -0.547842264175415, -0.7420259118080139, 0.6394557952880859, 0.5126519799232483, -0.6663597822189331, -0.012498889118432999, -0.19599780440330505, 0.6474636793136597, -0.375110000371933, 0.077596515417099, 0.3573165237903595, 0.6026170253753662, 0.17853593826293945, -0.7688424587249756, -0.10008104145526886, -0.025278965011239052, -0.20629677176475525, 0.008531102910637856, -0.07358045876026154, 0.871803879737854, -0.515943169593811, -0.0818868950009346, 0.04750203341245651, 0.8585899472236633, 0.6014878153800964, 0.062247976660728455, 0.8331224322319031, 0.5415674448013306, 1.0188672542572021, -0.13891196250915527, 1.067569375038147, -0.04811875522136688, 0.3882474899291992, 1.3876184225082397, -0.5992332696914673, 1.3538951873779297, 0.3606397807598114, -0.10899668186903, 0.817480742931366, 0.741273045539856, 0.15115207433700562, 0.4616338908672333, -0.033874887973070145, -0.28801149129867554, -0.48708099126815796, 0.06514637172222137, -0.4074280261993408, 0.19018074870109558, 0.4965011477470398, -0.24224689602851868, 0.015726996585726738, -0.15307565033435822, 0.1003013476729393, 0.17360660433769226, -0.15918797254562378, 0.5392007231712341, 0.014729287475347519, -1.0948039293289185, 0.7133222818374634, 0.04368436709046364, 0.4943651258945465, -0.6650998592376709, -0.3903336822986603, -0.04245441034436226, 0.43979954719543457, -0.11229924112558365, -0.9476113319396973, 0.40436825156211853, -0.05310004949569702, -0.39824923872947693, -0.33387666940689087, 0.6257135272026062, -0.20296211540699005, -0.2501508891582489, 0.1623094230890274, 0.23909848928451538, -0.17058591544628143, -0.05959727242588997, -0.8239411115646362, 0.3093058168888092, 0.3938380181789398, -0.3112534284591675, 0.22260306775569916, 0.5612586736679077, -0.030757125467061996, 1.0546215772628784, 0.6697660684585571, 0.32587867975234985, -0.04693674296140671, 0.2505413889884949, 0.7865689992904663, -0.6696748733520508, -0.363655149936676, -0.675115168094635, 0.16594362258911133, -0.014805976301431656, -0.2429792732000351, 0.8246897459030151, 0.25648584961891174, 0.7831138372421265, -0.06656476110219955, 1.182090163230896, 0.09914066642522812, 0.7861052751541138, -0.8318583369255066, 0.5626397132873535, -0.3940701484680176, 0.40459108352661133, -0.31735897064208984, -0.7350636720657349, -0.20612381398677826, 0.9477067589759827, -0.3403761088848114, -0.0006294923950918019, 0.8945972323417664, 0.5682202577590942, 0.23462432622909546, 0.5223516225814819, 0.33102694153785706, 0.5655040740966797, 0.3617905080318451, 0.31308597326278687, 1.000227928161621, -0.5508356094360352, -0.021089600399136543, 0.15696024894714355, -0.12368644028902054, -0.08586082607507706, -1.1201422214508057, -0.5443970561027527, -0.6682106852531433, -0.4308653175830841, -0.6458277106285095, 0.008327096700668335, 1.1338149309158325, 0.5015661716461182, -1.007515788078308, 0.024159887805581093, -0.22544272243976593, 0.1938709020614624, -0.3511720895767212, -0.2141740918159485, 0.05495915189385414, -0.21337996423244476, -0.4907616972923279, 0.770435094833374, 0.08953060209751129, 0.09564879536628723, -0.24134059250354767, -0.3305937945842743, -0.24870282411575317, 0.19530226290225983, 0.3925180733203888, 0.47645124793052673, -1.0609204769134521, -0.7869740724563599, 0.019802791997790337, 0.1346932351589203, 0.07033830136060715, 0.8094050288200378, -0.8065311908721924, 0.571780800819397, 0.49750494956970215, 0.6047654151916504, 0.3570261299610138, -0.13307270407676697, 0.967161238193512, -0.4804156720638275, 0.12488490343093872, 0.4169164299964905, 0.7323615550994873, 0.44924238324165344, -0.03978341817855835, 0.3593197762966156, 0.3800419867038727, -0.6168837547302246, -0.9372955560684204, 0.46119019389152527, -0.7095566987991333, -0.5238989591598511, 1.1292916536331177, -0.28479084372520447, -0.09231170266866684, -0.444736123085022, -0.2308969348669052, -0.13177481293678284, -0.33855223655700684, 0.714077889919281, 0.9405685663223267, -0.028881702572107315, -0.48461756110191345, -0.6250950694084167, 0.6851662993431091, 0.44458502531051636, -0.5678220391273499, 0.5466364622116089, 0.5061148405075073, 0.3559466302394867, 0.15368779003620148, 0.7138996720314026, 0.22666889429092407, 0.18036967515945435, 0.14203941822052002, 0.2045634239912033, 0.43118658661842346, -0.2007751315832138, -0.26323646306991577, -0.02377951703965664, 0.5391256809234619, 0.42109429836273193 ]
http://arxiv.org/abs/2406.19760v1
http://arxiv.org/pdf/2406.19760v1
Learning Interpretable Legal Case Retrieval via Knowledge-Guided Case Reformulation
2024-06-28T08:59:45
2024-06-28T08:59:45
Chenlong Deng, Kelong Mao, Zhicheng Dou
cs.IR
cs.IR, cs.CL
Legal case retrieval for sourcing similar cases is critical in upholding judicial fairness. Different from general web search, legal case retrieval involves processing lengthy, complex, and highly specialized legal documents. Existing methods in this domain often overlook the incorporation of legal expert knowledge, which is crucial for accurately understanding and modeling legal cases, leading to unsatisfactory retrieval performance. This paper introduces KELLER, a legal knowledge-guided case reformulation approach based on large language models (LLMs) for effective and interpretable legal case retrieval. By incorporating professional legal knowledge about crimes and law articles, we enable large language models to accurately reformulate the original legal case into concise sub-facts of crimes, which contain the essential information of the case. Extensive experiments on two legal case retrieval benchmarks demonstrate superior retrieval performance and robustness on complex legal case queries of KELLER over existing methods.
[ -0.03666737303137779, -0.7101773619651794, 1.1325314044952393, -0.20806054770946503, -0.4712901711463928, -0.14638595283031464, -0.22685934603214264, -0.3435174524784088, 0.2029542624950409, 1.008512020111084, -0.19015942513942719, -0.7614532709121704, -0.5650733113288879, -0.09307420998811722, -0.5460787415504456, 1.0661295652389526, 0.1007368192076683, 0.277267724275589, -0.13010278344154358, -0.29550424218177795, -0.3052905797958374, -0.4121321439743042, -0.5248796343803406, -0.23962555825710297, 0.508976936340332, 0.29807454347610474, 0.40123802423477173, 0.5731467604637146, 0.737811267375946, 0.3000686764717102, -0.3320147395133972, -0.2558082640171051, -0.532375693321228, 0.2003604918718338, -0.16300982236862183, -0.7947224378585815, -0.5426279902458191, -0.18639922142028809, 0.1427965760231018, 0.38451942801475525, -0.8220645189285278, 0.10226793587207794, -0.5035021305084229, 0.6858383417129517, -0.7498303055763245, 0.3149683475494385, -0.8212451338768005, 0.24394173920154572, -0.4411555230617523, -0.2563477158546448, -0.6243939995765686, -0.6012824177742004, -0.019702265039086342, -0.9176089763641357, 0.4316062331199646, 0.2104453295469284, 0.31081855297088623, 0.2613295614719391, -0.9711165428161621, -0.47989901900291443, -0.6215078830718994, 0.6639443635940552, -0.9625123739242554, 0.5332120656967163, 0.2531413435935974, 1.1332316398620605, -0.2884773015975952, -1.3042144775390625, -0.6955382227897644, -0.2616288661956787, -0.18965107202529907, -0.06608782708644867, -0.2785501778125763, 0.2912508547306061, 0.39600270986557007, -0.09513036906719208, -0.4110569953918457, -0.30807167291641235, -0.5607548356056213, -0.3477661609649658, 0.6898971796035767, 0.08719689399003983, 0.2780531346797943, -0.22188009321689606, -0.027088038623332977, -0.1011723205447197, -0.8135940432548523, 0.13274700939655304, 0.4970884919166565, 0.4936336278915405, 0.36487260460853577, 0.5433761477470398, -0.1549835354089737, 0.743439793586731, -0.09972665458917618, -0.4221762716770172, 0.18949826061725616, 0.10162018239498138, -0.2945234775543213, 0.24026700854301453, 0.3527163863182068, 0.2882678806781769, 0.3032063841819763, -0.2487512230873108, -0.5457653999328613, -0.9144116044044495, 0.5735170245170593, -0.5631240010261536, 0.07780066132545471, 0.14783237874507904, -0.5309405326843262, -0.03638928383588791, 0.5372841358184814, -0.6241205334663391, -0.3746381103992462, -0.403640478849411, 0.24872919917106628, -0.30633485317230225, -0.012461259961128235, 0.23829258978366852, -0.2409953773021698, 0.23017916083335876, 0.615345299243927, -0.5843919515609741, 0.1891983300447464, 0.8585696816444397, 0.13062383234500885, 0.27189770340919495, 0.32975366711616516, -1.171736240386963, 0.39026975631713867, -0.15080057084560394, 0.43191149830818176, -0.7600621581077576, -0.11886820942163467, 0.306539922952652, 0.18464547395706177, 0.47308647632598877, -0.7815638780593872, 0.9754474759101868, -1.3262009620666504, -0.24891404807567596, -0.28211480379104614, -0.44567230343818665, -0.6050437092781067, 0.306569367647171, -0.7233531475067139, 0.16293171048164368, -0.05403144285082817, -0.42537298798561096, 0.7264053821563721, -0.5811564326286316, -0.738655149936676, 0.2527734041213989, -0.030099542811512947, -0.48889607191085815, 0.14873887598514557, 0.24394471943378448, 0.4121982753276825, 0.14597122371196747, 0.7117869853973389, -0.24333126842975616, -0.31345364451408386, -0.23906639218330383, 0.026296986266970634, 0.7360312938690186, 0.3459632396697998, 0.0034391540102660656, -0.020855853334069252, -0.512590765953064, -0.2604719400405884, 0.04773535206913948, -0.5665841698646545, -0.47027474641799927, -0.11493111401796341, -0.09588401764631271, -0.1170738935470581, 0.0529068186879158, -0.6984943747520447, 0.11315055936574936, -0.015580764040350914, 0.2938055992126465, 0.5998174548149109, -0.023723658174276352, 0.3587547242641449, -0.1367965191602707, 0.6871427297592163, 0.2846336364746094, 0.3674435615539551, 0.050658486783504486, -0.39141109585762024, -0.45004817843437195, -0.0634319931268692, 0.4565213620662689, 0.34367769956588745, -0.7226697206497192, -0.09927587956190109, -0.41441425681114197, -0.1072407141327858, -0.7923643589019775, 0.20991890132427216, 0.17636166512966156, 0.5685980319976807, 0.6922279596328735, 0.03024664707481861, -0.6636883616447449, -1.1237359046936035, -0.7764940857887268, 0.12253234535455704, -0.02126189135015011, 0.46029379963874817, 0.6444799900054932, -0.39721259474754333, 1.0898796319961548, -0.5310938358306885, -0.5775502324104309, -0.19192028045654297, 0.07688330113887787, 0.373043417930603, -0.03675203397870064, 0.31209662556648254, -1.0759867429733276, -0.6274685859680176, 0.17669200897216797, -0.7237381935119629, -0.03671194240450859, 0.2456486076116562, 0.15986193716526031, 0.05301714688539505, 1.0055536031723022, -0.3844495117664337, 0.4192374050617218, -0.2949718236923218, -0.6066926717758179, 0.4626438617706299, -0.2397286295890808, 0.16466061770915985, -0.7807819247245789, -0.04833849146962166, -0.08360926806926727, -0.7458339333534241, -0.49425172805786133, 0.4031361937522888, 0.3612043559551239, 0.3934476375579834, -0.7708232402801514, 0.4509862959384918, -0.36770376563072205, -0.2330617606639862, -0.09930761903524399, 0.4243709444999695, 0.0807000920176506, 0.2035563439130783, -0.5040833950042725, 0.5511976480484009, 0.057974062860012054, -0.4752482771873474, 0.5485085844993591, 0.15362943708896637, -0.6855018138885498, 0.7197908163070679, -0.34338846802711487, -0.13412132859230042, -0.6133843064308167, 0.3130612373352051, -0.28539153933525085, -0.22202305495738983, -0.10512229055166245, 0.12439661473035812, 0.5177029967308044, -0.5363489985466003, -0.5953730940818787, -0.24485532939434052, -0.060423433780670166, 0.6057894825935364, 0.5984863042831421, -0.48072344064712524, 0.7237229347229004, 0.5469170808792114, -0.22110487520694733, -0.8017003536224365, -0.5296652913093567, 0.07221300154924393, -0.2831912636756897, -0.2873872220516205, 0.3743915855884552, 0.3134572207927704, -0.5088362693786621, 0.22400341928005219, -0.034807201474905014, -0.03026445023715496, -0.2479356974363327, -0.04199864715337753, -0.31900957226753235, -0.28101110458374023, 0.40030965209007263, 0.28126147389411926, 0.17434793710708618, 0.05940208211541176, 0.057974860072135925, 0.39002567529678345, 0.1435365080833435, -0.6156957745552063, -0.34649479389190674, 0.2966468334197998, 0.5175977349281311, -0.014328262768685818, 0.32648971676826477, 0.35098281502723694, -0.11105267703533173, -0.19850338995456696, -0.9839948415756226, -0.3895682394504547, -0.38980042934417725, 0.2782123386859894, -0.5624510049819946, -0.9928732514381409, 0.5919336676597595, -0.007543615531176329, 0.0741555467247963, 0.4710782468318939, 0.10607170313596725, -0.07675914466381073, 0.6434212923049927, 0.7022454142570496, 0.12213259935379028, 0.46053698658943176, -0.04680996760725975, 0.38877105712890625, -0.8266326785087585, -0.6540810465812683, -0.38775455951690674, -0.11220826953649521, -0.20111197233200073, -0.36669519543647766, 0.5502713918685913, 0.1004197746515274, -0.27598249912261963, 0.22919292747974396, 0.013955219648778439, 0.5144379734992981, 0.6151028275489807, 0.3633410632610321, 0.9394371509552002, 0.14962340891361237, -0.3252931237220764, -0.03254479169845581, -0.48955079913139343, -0.42779096961021423, 1.5816385746002197, 0.07696318626403809, 0.507103681564331, 0.5747407078742981, 0.6286859512329102, 0.5578615069389343, 0.5911902189254761, -0.8442674875259399, 0.46996307373046875, -0.19447371363639832, -0.5278274416923523, -0.38312825560569763, -0.596468985080719, -1.0073484182357788, 0.25967729091644287, -0.06772402673959732, -0.4426925480365753, -0.1003524512052536, -0.344685435295105, -0.336003839969635, 0.24438795447349548, -0.44193586707115173, 0.45101916790008545, 0.19327743351459503, -0.06147117540240288, -0.4958464503288269, -0.46267691254615784, 0.5200639963150024, -0.3905031383037567, 0.5838965177536011, 0.13341651856899261, 0.14702056348323822, 0.7065322399139404, -0.7075497508049011, 0.5274911522865295, -0.24957114458084106, -0.05773628130555153, 0.18000106513500214, 0.13214120268821716, 0.6850900650024414, 0.08004983514547348, -0.2903972566127777, -0.3106600344181061, 0.15021303296089172, -0.28269654512405396, -1.1886019706726074, 0.4388122260570526, -0.2670520544052124, -1.3347691297531128, -0.1451181322336197, -0.6726685166358948, 0.049619778990745544, 0.2052060216665268, -0.26577994227409363, 0.20794294774532318, 0.028165046125650406, 0.17957037687301636, 0.47407442331314087, -0.038208987563848495, 0.27227023243904114, 1.1227492094039917, -0.2100052535533905, -0.29512953758239746, 0.5612764954566956, 0.17248757183551788, -0.330910861492157, 0.42143112421035767, 0.1052599623799324, -0.5214266180992126, -0.5858538746833801, -0.2321084588766098, 0.37285712361335754, -0.9277042746543884, -0.40544530749320984, -0.7307257056236267, 0.02697574719786644, -0.5969710350036621, -0.08121518790721893, -0.09773056954145432, -0.3347090780735016, 0.18129019439220428, -0.05401816591620445, 0.45768797397613525, 0.8787733316421509, 0.0961451455950737, 0.051577210426330566, -0.7392348647117615, 0.2662639021873474, 0.6861976981163025, 0.4792974889278412, -0.055893585085868835, -0.9315242767333984, 0.028270971029996872, -0.022634128108620644, -0.1892794668674469, -0.600920557975769, 0.1562178134918213, -0.08696512877941132, 0.7490300536155701, 0.5996407866477966, 0.42734265327453613, 0.6531329154968262, -0.7751215100288391, 0.29669907689094543, 0.1158522367477417, -0.8005272746086121, 0.6611883640289307, -0.20034398138523102, -0.2114170491695404, 0.6697977781295776, 0.1415838748216629, -0.37636080384254456, -0.308784157037735, -0.39656588435173035, -0.8104472756385803, 0.78730708360672, 0.11580014228820801, 0.2618963420391083, 0.333465039730072, 0.7953664660453796, 0.19727252423763275, 0.39666226506233215, -0.6714291572570801, 0.2498445212841034, 0.11978242546319962, -0.26520609855651855, -0.07672443240880966, -0.35809072852134705, -0.5109338760375977, -0.6021526455879211, 0.6481178402900696, 0.03902805596590042, 0.00882712285965681, 0.17385539412498474, -0.3205305337905884, 0.04163544997572899, 0.37623053789138794, 0.7246100306510925, 0.5564820766448975, -0.2648777961730957, 0.11615070700645447, 0.14257557690143585, -0.5261204838752747, 0.17298118770122528, -0.06543991714715958, -0.26557645201683044, -0.02794266678392887, 0.43737202882766724, 0.6359536051750183, 0.010036052204668522, -0.7138522267341614, 0.7427543997764587, -0.2005613148212433, -0.2784983813762665, -0.33984971046447754, 0.12687715888023376, -0.10475125163793564, 0.6858407258987427, 0.618302583694458, -0.284298300743103, 0.4729362428188324, -0.7645165920257568, 0.4484959840774536, 0.5490207672119141, -0.6524277925491333, 0.22601978480815887, 0.607704758644104, 0.11233878880739212, -0.442078560590744, 0.6136729717254639, -0.1563117802143097, -0.38057494163513184, 0.6748650670051575, 0.4406101703643799, 0.48395925760269165, -0.030458243563771248, 0.31719034910202026, 0.010149387642741203, 0.07824550569057465, -0.5409513711929321, 0.2215660959482193, -0.3056468963623047, -0.3827531337738037, -0.33783450722694397, -0.7725285291671753, -0.05572504550218582, 0.06341348588466644, -0.764664888381958, 0.15967640280723572, -0.024924756959080696, -0.13870088756084442, -0.48589083552360535, -0.06037353724241257, -0.44876933097839355, 0.06782414019107819, -0.6876651048660278, 1.1232860088348389, -0.3122006952762604, 0.8865475058555603, 0.6862262487411499, -0.2934107184410095, -0.6916287541389465, 0.1990826278924942, -0.12422453612089157, -0.5588060617446899, 0.9085178375244141, -0.17970611155033112, 0.08753293007612228, 0.12045856565237045, -0.35191234946250916, -0.3708861768245697, 1.3355189561843872, 0.629004716873169, -0.6500860452651978, 0.13709913194179535, 0.32760149240493774, 0.6311637163162231, -0.29129332304000854, 0.10395558923482895, 0.6275425553321838, 0.6737900376319885, 0.40071767568588257, -0.6233835220336914, 0.3619491755962372, -0.0628722608089447, -0.026511818170547485, 0.17638380825519562, -0.2877998650074005, 0.4603172540664673, -0.42606881260871887, -0.04483884572982788, -0.4103570282459259, 0.4773862361907959, 0.1846645325422287, 0.5775002241134644, 0.41766372323036194, 0.65170818567276, 0.8633573055267334, -0.13043929636478424, 1.0915892124176025, -0.23160851001739502, 0.38623321056365967, 0.6882424354553223, 0.0029544320423156023, 0.8288919925689697, 0.7768836617469788, -0.1480095237493515, 0.4465140700340271, 0.12725256383419037, 0.02749061770737171, 0.6441599726676941, 0.3557785153388977, -0.3469838500022888, -0.4869026243686676, 0.12747253477573395, -0.033045075833797455, 0.4052131175994873, -0.015314764343202114, -0.49733462929725647, -0.3620138466358185, 0.10616324841976166, 0.23265805840492249, 0.20766088366508484, -0.378732830286026, 0.7314289212226868, 0.21709789335727692, -0.7296594977378845, 0.11909176409244537, 0.28771981596946716, 0.43007731437683105, -0.276532918214798, -0.19593752920627594, -0.5480598211288452, 0.1603361964225769, -0.3341286778450012, -0.898279070854187, 0.3859369158744812, -0.1446227878332138, -0.11921825259923935, -0.1633824110031128, 0.3595919609069824, -0.38548725843429565, -0.36271369457244873, 0.30118605494499207, 0.2928207814693451, 0.1293582171201706, -0.2745927572250366, -0.37131792306900024, -0.216928169131279, 0.008902239613234997, -0.4137612283229828, 0.30450430512428284, 0.5178125500679016, -0.16351436078548431, 1.0178419351577759, 0.6068370938301086, -0.03329584747552872, -0.003786717774346471, 0.40373581647872925, 0.7510364055633545, -0.6521495580673218, -0.23618540167808533, -0.668817400932312, 0.5551630258560181, -0.17107070982456207, 0.23947130143642426, 0.45835477113723755, 0.5873686075210571, 0.6360107660293579, -0.0826537236571312, 0.45149585604667664, 0.30905330181121826, 0.24321159720420837, -0.8022117018699646, 0.964536726474762, -0.7446873784065247, 0.4876156449317932, -0.10946011543273926, -0.8299114108085632, -0.553189754486084, 0.4028793275356293, -0.47729501128196716, 0.2043689787387848, 0.36893805861473083, 0.7374256253242493, -0.641631543636322, -0.060278717428445816, 0.6513828635215759, 0.3468305468559265, 0.5085967183113098, 0.2855568826198578, 0.3194827139377594, -0.5276032090187073, 0.9399051666259766, 0.19320672750473022, 0.020281968638300896, -0.7624433636665344, -0.6560624837875366, -0.6460539698600769, -0.5515663623809814, 0.06956734508275986, -0.17601290345191956, 0.2550603747367859, 0.423705130815506, 0.7586408853530884, -0.7182712554931641, 0.03924768790602684, -0.2863735556602478, 0.500668466091156, 0.08914768695831299, -0.29897937178611755, 0.23117844760417938, -0.5861148834228516, -0.6816850900650024, 0.3188987672328949, 0.14730504155158997, -0.14869947731494904, 0.06412987411022186, -0.1793154627084732, 0.0560360848903656, 0.16398759186267853, 0.7702187299728394, 0.11339899897575378, -0.7477368712425232, -0.12851561605930328, -0.321517676115036, -0.1550707370042801, 0.03169718384742737, 1.2431652545928955, -0.808071494102478, 0.57846999168396, 0.2763720452785492, 0.3748164474964142, 0.9099317789077759, 0.07377149909734726, 0.7131250500679016, -0.6281523704528809, 0.10705209523439407, 0.3365226089954376, 0.49060797691345215, 0.19386136531829834, -0.31842026114463806, 0.3011246919631958, 0.22228258848190308, -0.3450513184070587, -0.8964149951934814, 0.495360404253006, -0.7902554273605347, -0.4920121729373932, 1.0654213428497314, -0.29531586170196533, -0.2348097413778305, -0.511361300945282, -0.020197834819555283, 0.28012096881866455, -0.5902929902076721, 1.0843136310577393, 0.5725624561309814, 0.13680410385131836, -0.31035664677619934, -0.7839130759239197, 0.5767908096313477, 0.22139444947242737, -0.5324018001556396, -0.24941429495811462, 0.32322412729263306, 0.5220115780830383, 0.05382741615176201, 0.4368423521518707, -0.3872663378715515, 0.1428970992565155, -0.3323619067668915, 0.08611015975475311, -0.3423571288585663, -0.2247929871082306, -0.19848905503749847, 0.5552458763122559, -0.22789166867733002, 0.41793403029441833 ]
http://arxiv.org/abs/2406.19759v1
http://arxiv.org/pdf/2406.19759v1
Breaking the Script Barrier in Multilingual Pre-Trained Language Models with Transliteration-Based Post-Training Alignment
2024-06-28T08:59:24
2024-06-28T08:59:24
Orgest Xhelili, Yihong Liu, Hinrich Schütze
cs.CL
cs.CL
Multilingual pre-trained models (mPLMs) have shown impressive performance on cross-lingual transfer tasks. However, the transfer performance is often hindered when a low-resource target language is written in a different script than the high-resource source language, even though the two languages may be related or share parts of their vocabularies. Inspired by recent work that uses transliteration to address this problem, our paper proposes a transliteration-based post-pretraining alignment (PPA) method aiming to improve the cross-lingual alignment between languages using diverse scripts. We select two areal language groups, $\textbf{Mediterranean-Amharic-Farsi}$ and $\textbf{South+East Asian Languages}$, wherein the languages are mutually influenced but use different scripts. We apply our method to these language groups and conduct extensive experiments on a spectrum of downstream tasks. The results show that after PPA, models consistently outperform the original model (up to 50% for some tasks) in English-centric transfer. In addition, when we use languages other than English as sources in transfer, our method obtains even larger improvements. We will make our code and models publicly available at \url{https://github.com/cisnlp/Transliteration-PPA}.
[ -0.12019311636686325, 0.06833406537771225, 0.3516431152820587, 0.103553406894207, -0.27280285954475403, 0.40322357416152954, -0.244850292801857, -0.274578720331192, 0.16295592486858368, 0.3293561339378357, -0.6614827513694763, -0.3867124617099762, -0.7274463176727295, 0.1021062582731247, 0.006000715307891369, 0.8368098139762878, -0.5306848883628845, 0.4846522808074951, 0.2128734141588211, -0.2371407002210617, -0.28692716360092163, -0.44503623247146606, -0.08117403090000153, -0.07417567819356918, 0.767956554889679, 0.3920762240886688, 0.5879589319229126, 0.6132422089576721, 0.8447960019111633, 0.23353920876979828, 0.4408245384693146, -0.01401186641305685, -0.2823405861854553, -0.2325054407119751, -0.34352725744247437, -0.3923911154270172, -0.38499000668525696, 0.030256999656558037, 0.7838916182518005, 0.8661426901817322, -0.27116549015045166, 0.19067290425300598, 0.00886970292776823, 0.3474774658679962, -0.8472074866294861, -0.02894977480173111, -0.7384188175201416, 0.005239007994532585, -0.6099525094032288, -0.17292670905590057, -0.43656834959983826, -0.2533241808414459, 0.15335041284561157, -0.7262679934501648, -0.03531154245138168, -0.06720307469367981, 1.0476436614990234, 0.10389793664216995, -0.23830044269561768, -0.04241636022925377, -0.7849821448326111, 1.031470537185669, -0.6859031915664673, 0.5251399278640747, 0.3373476564884186, 0.43819907307624817, 0.287464439868927, -0.500907838344574, -0.4726911783218384, 0.07327309995889664, -0.19092953205108643, -0.024455517530441284, -0.028972169384360313, -0.13306723535060883, 0.16484074294567108, 0.0537860281765461, -0.6685588359832764, 0.26003023982048035, -0.3487139344215393, -0.4883526861667633, 0.22330033779144287, -0.32002443075180054, 0.6471309661865234, 0.09187401831150055, -0.4213857352733612, -0.19228069484233856, -1.0510870218276978, -0.02503950148820877, 0.5912250876426697, 0.6687675714492798, -0.10147438198328018, 0.46013349294662476, 0.0789215937256813, 0.6118479371070862, 0.09168022871017456, -0.254507839679718, 0.4252070188522339, -0.7042478919029236, 0.11251236498355865, 0.16490153968334198, 0.559779167175293, 0.2822294533252716, 0.36627495288848877, -0.2578764855861664, -0.05941803380846977, 0.03033890575170517, 0.13179415464401245, -0.7899486422538757, -0.09300899505615234, -0.2014041543006897, -0.4706895351409912, 0.0815354585647583, 0.0642031580209732, -0.6015548706054688, -0.26508840918540955, -0.5010963082313538, 0.46952030062675476, -0.5930126309394836, -0.4623833894729614, -0.10438995063304901, 0.35989075899124146, 0.6559038162231445, 0.2563689649105072, -0.976806104183197, -0.09780635684728622, 0.5609551668167114, 0.8202815651893616, 0.04061952233314514, -0.8740558624267578, -0.7121284008026123, 0.34293052554130554, -0.21854370832443237, 0.9210902452468872, -0.7037966251373291, -0.030821258202195168, 0.28393545746803284, 0.03271748125553131, -0.46178266406059265, -0.45434924960136414, 0.08489347994327545, -0.364859402179718, 0.4788509011268616, -0.3687160015106201, -0.2378949671983719, 0.033750008791685104, 0.025050226598978043, -0.5066475868225098, 0.6547389626502991, 0.1996150016784668, -0.6750507354736328, 0.4113315939903259, -0.5498981475830078, -0.7354707717895508, -0.18088790774345398, 0.012156136333942413, -0.22816449403762817, -0.1714307814836502, 0.28799208998680115, 0.16388724744319916, -0.2932848632335663, 0.16641893982887268, -0.2032163441181183, -0.2891797721385956, 0.03948499262332916, -0.16789433360099792, 0.6386568546295166, 0.3179148733615875, -0.16482172906398773, 0.32324105501174927, -0.7227878570556641, 0.13413184881210327, -0.1469467133283615, -0.09306132048368454, -0.23891066014766693, -0.2392028123140335, -0.04563744366168976, 0.7042689323425293, 0.40984785556793213, -0.44857650995254517, 0.23917588591575623, -0.15114501118659973, 0.13083311915397644, 0.8378314971923828, -0.6437031030654907, 0.8481230139732361, -0.357528418302536, 0.8439071774482727, 0.1275990903377533, 0.15090389549732208, -0.21990886330604553, 0.09860410541296005, -0.536870002746582, -0.34455156326293945, 0.6955357789993286, 0.5464755892753601, -0.9913197159767151, 0.14725357294082642, -0.5431784391403198, -0.5610827803611755, -1.0478626489639282, 0.17148417234420776, 0.5063297748565674, 0.4860280752182007, 0.3717789053916931, -0.6772177815437317, -0.7148217558860779, -0.6996666789054871, -0.38966628909111023, -0.16290076076984406, -0.0784013420343399, -0.047707654535770416, 0.008032911457121372, -0.13151656091213226, 0.6280525922775269, -0.13555437326431274, -0.4035499691963196, -0.47113391757011414, 0.22332844138145447, 0.08073558658361435, 0.6623405814170837, 0.5358138084411621, -0.5681875944137573, -0.9715393781661987, 0.27031779289245605, -0.2370263785123825, -0.4536570906639099, -0.15622898936271667, -0.4518826901912689, 0.17393548786640167, 0.44881919026374817, -0.5958189368247986, 0.20768970251083374, 0.8950107097625732, -0.10622154176235199, 0.8279644250869751, -0.06330808997154236, 0.406213641166687, -1.2325266599655151, 0.377517431974411, -0.2944797873497009, -0.13113033771514893, -0.6184310913085938, -0.15024502575397491, 0.15599288046360016, -0.22557328641414642, -0.805023193359375, 0.4430512487888336, -0.6679338812828064, -0.185218945145607, -0.15416103601455688, -0.11049657315015793, -0.17710016667842865, 0.5855882167816162, 0.20888638496398926, 0.8585951328277588, 0.7826400995254517, -0.25775453448295593, -0.04950210079550743, 0.13614022731781006, -0.3238770663738251, 0.5677403211593628, -0.22074241936206818, 0.30775120854377747, 0.005306776147335768, 0.4094479978084564, -0.8462001085281372, -0.0670454278588295, 0.4602733254432678, -0.25579604506492615, 0.6218730807304382, -0.4691997170448303, -0.3329884707927704, 0.1739613264799118, -0.07026522606611252, 0.7105585336685181, 0.43986770510673523, -0.40888723731040955, 0.7100281715393066, 0.1939707100391388, -0.390960156917572, -0.9592984914779663, -0.4132154583930969, 0.009985174052417278, -0.2451259344816208, -0.5187610983848572, 0.599297046661377, 0.005182155407965183, -0.13089092075824738, -0.25142550468444824, -0.1485835313796997, -0.3407328426837921, -0.25704455375671387, -0.08609108626842499, 0.45076248049736023, -0.4214298129081726, -0.17728425562381744, -0.12780892848968506, -0.23770594596862793, -0.3922257721424103, -0.5058361291885376, 0.8324707746505737, 0.16526077687740326, -0.5047275424003601, -0.5754212141036987, 0.3389359712600708, 0.655135989189148, -0.7967222332954407, 0.9611252546310425, 0.8198385834693909, -0.21186858415603638, 0.14882133901119232, -0.4825950562953949, -0.03848865255713463, -0.39543330669403076, 0.2770359516143799, -0.5199131965637207, -0.5353705286979675, 0.5791406631469727, -0.2771412432193756, -0.022927341982722282, 0.27572500705718994, 0.3520776927471161, -0.05952894687652588, 0.8017572164535522, 0.8470264077186584, -0.1034058928489685, 0.8492560386657715, 0.19350743293762207, 0.4430435597896576, -0.6716100573539734, 0.17620208859443665, -0.6694347858428955, -0.30382925271987915, -0.507411539554596, -0.6343371272087097, -0.17745034396648407, 0.16977910697460175, 0.042245786637067795, 0.7455592155456543, 0.013870001770555973, 0.5722824931144714, 0.4410882890224457, -0.29070818424224854, 0.08059144765138626, 0.15450537204742432, -0.17554505169391632, -0.28651025891304016, -0.6634672284126282, -0.4002077281475067, 1.3127750158309937, 0.0878310352563858, 0.7049233913421631, 0.2534859776496887, 0.7058061361312866, -0.10177155584096909, 0.6607406735420227, -0.410507470369339, 0.3709176778793335, -0.48059219121932983, -0.37414994835853577, -0.22603921592235565, -0.49664559960365295, -0.9245012402534485, 0.571789562702179, 0.0006887292838655412, -0.6408253908157349, 0.008775421418249607, -0.09432424604892731, -0.24375420808792114, 0.41052481532096863, -0.7430610656738281, 1.0910121202468872, -0.3097759187221527, -0.35197025537490845, -0.17544806003570557, -0.9504832625389099, 0.11721725761890411, -0.38330405950546265, 0.19058483839035034, -0.052948109805583954, 0.3079862892627716, 0.5767393112182617, -0.6120958924293518, 0.4800027310848236, -0.21568138897418976, -0.26925018429756165, 0.03441168740391731, -0.05578004941344261, 0.47190263867378235, -0.6929976940155029, 0.002911090385168791, 0.3558382987976074, 0.04221378639340401, -0.7024711966514587, -0.5257712602615356, 0.3124474883079529, -0.7591896653175354, -0.4064461886882782, -0.4675932824611664, -0.7211816906929016, -0.3591712713241577, 0.5594667792320251, 0.39463546872138977, 0.252917617559433, -0.043506838381290436, -0.07246074825525284, 0.2646927237510681, -0.3708120882511139, 0.29065728187561035, 0.9473817944526672, -0.28057512640953064, -0.17557284235954285, 1.0790305137634277, 0.3169146776199341, 0.49647581577301025, 0.6460615992546082, -0.10554049909114838, -0.4686022698879242, -0.8023256063461304, -0.5438048839569092, 0.4635319411754608, -0.5856929421424866, -0.03646838665008545, -0.3526614010334015, -0.08528970927000046, -0.9204013347625732, -0.20814158022403717, -0.48952314257621765, -0.2147454023361206, -0.07521576434373856, 0.05886416882276535, -0.4133574664592743, 0.28646618127822876, -0.2044200599193573, 0.45545390248298645, -1.0238533020019531, 0.1534983217716217, -0.027241969481110573, 0.3323880136013031, -0.24169011414051056, -0.7529064416885376, -0.2719342112541199, 0.028818143531680107, -0.09581517428159714, -0.7841610908508301, 0.43197113275527954, 0.061746641993522644, 0.45304161310195923, 0.26634156703948975, -0.01524501945823431, 1.0343457460403442, -0.7723257541656494, 0.3599959909915924, 0.542174756526947, -0.8968517780303955, 0.2644748091697693, -0.3655916452407837, 0.3650120198726654, 0.7355738282203674, 0.4714421331882477, -0.7101940512657166, -0.2107255756855011, -0.35889431834220886, -0.7595071196556091, 0.8888327479362488, 0.07333260774612427, -0.027439357712864876, 0.4561077058315277, -0.0997118204832077, 0.435048907995224, 0.15358127653598785, -0.8367754220962524, 0.017145246267318726, -0.10356529802083969, -0.3349454700946808, -0.21309223771095276, 0.028088636696338654, 0.006878027692437172, -0.1380164921283722, 0.6843454837799072, -0.18108779191970825, -0.25897130370140076, -0.031959373503923416, -0.707787811756134, -0.3485259711742401, 0.3691256642341614, 0.4940427839756012, 1.0085262060165405, -0.08046407997608185, 0.1666087508201599, 0.02006572298705578, -0.44142967462539673, 0.4095497131347656, 0.49776968359947205, 0.057192474603652954, -0.09838668256998062, 0.3972301185131073, 0.6356860399246216, 0.21245519816875458, -0.6672943234443665, 0.5624324083328247, -0.09684645384550095, 0.23956826329231262, -0.02947862073779106, -0.3774545192718506, -0.14829762279987335, 0.001338155590929091, 0.2850361466407776, 0.329903244972229, -0.35063397884368896, -0.5598480701446533, 0.304739773273468, 0.2414548546075821, -0.29571497440338135, -0.6436679363250732, 0.37560102343559265, 0.28536099195480347, -0.24261373281478882, 0.5741215348243713, -0.08641054481267929, -0.6470206379890442, 0.31498053669929504, 0.5508998036384583, 0.766682505607605, -0.7819324135780334, 0.39040130376815796, 0.2905687391757965, 0.40919730067253113, 0.024174261838197708, -0.026258431375026703, 0.024448126554489136, -0.7788804173469543, -0.8328203558921814, -0.7806024551391602, -0.3526805341243744, -0.035646259784698486, -0.5649548172950745, 0.4433436691761017, -0.27671051025390625, 0.24823163449764252, -0.00006409420166164637, -0.12044792622327805, -0.7948724031448364, -0.030936649069190025, 0.305071085691452, 0.5682280659675598, -0.9115616679191589, 1.2575303316116333, 0.6827234029769897, -0.45481300354003906, -1.0036612749099731, 0.35307377576828003, -0.15832825005054474, -0.840305745601654, 0.5735986232757568, 0.35333582758903503, -0.16233983635902405, -0.01148788072168827, -0.00677652470767498, -1.1130963563919067, 0.8260045051574707, 0.7514196038246155, -0.717305064201355, -0.14301447570323944, 0.46976107358932495, 0.5621633529663086, -0.48212993144989014, 0.20072153210639954, 0.4332197904586792, 0.5003358125686646, 0.0846332237124443, -1.2454310655593872, -0.06544772535562515, -0.21550624072551727, -0.3192312717437744, 0.1776788979768753, -0.5733437538146973, 0.8365687727928162, -0.24308671057224274, -0.41559964418411255, 0.20372508466243744, 0.6338626146316528, 0.10685134679079056, 0.03956077992916107, 0.6148444414138794, 0.436267226934433, 0.6674924492835999, 0.022710202261805534, 1.0186818838119507, -0.4041968882083893, 0.06903316080570221, 1.2421705722808838, -0.7576974034309387, 0.7740352153778076, 0.7211807370185852, -0.34883537888526917, 0.6218558549880981, 0.5974038243293762, 0.26958730816841125, 0.6602269411087036, 0.14117665588855743, -0.08014418929815292, -0.16207252442836761, -0.41709259152412415, -0.4791727662086487, 0.6092466711997986, -0.19020554423332214, -0.3162634074687958, -0.31738513708114624, -0.037570707499980927, 0.07749747484922409, -0.06378626078367233, -0.21992452442646027, 0.533564567565918, -0.16698184609413147, -1.088386058807373, 0.4958859980106354, -0.045073479413986206, 0.6993314027786255, -1.1330459117889404, 0.11665944010019302, -0.20430122315883636, 0.2792774736881256, -0.070275217294693, -0.3350723683834076, 0.3200899660587311, 0.11156533658504486, -0.10561390966176987, -0.6858059167861938, 0.673897922039032, -0.982891321182251, -0.4515376687049866, 0.3831164240837097, 0.6282278895378113, 0.15825296938419342, -0.02713972143828869, -0.6468549966812134, -0.005350920837372541, 0.1891016662120819, 0.16115997731685638, 0.7983764410018921, 0.16674990952014923, 0.025944964960217476, 0.29133638739585876, 0.8190508484840393, 0.2883634567260742, 0.20284448564052582, 0.35115647315979004, 0.5257211923599243, -0.37693551182746887, -0.484935462474823, -0.6139522194862366, 0.40821513533592224, 0.2558073103427887, -0.3094594478607178, 0.8375260233879089, 0.44467756152153015, 1.0871548652648926, -0.10556265711784363, 0.689491331577301, -0.07976923882961273, 0.40031370520591736, -0.5802785754203796, 0.8179691433906555, -0.5182912349700928, 0.043386060744524, -0.4600577652454376, -1.2096831798553467, -0.3788672685623169, 0.46952176094055176, -0.3809196352958679, -0.11774254590272903, 0.7937166690826416, 0.813837468624115, -0.18303972482681274, -0.3969644010066986, 0.2731504738330841, -0.06494598090648651, 0.28490665555000305, 0.6970648765563965, 0.9852508902549744, -0.2290748804807663, 0.8887810707092285, -0.3550185561180115, -0.14313766360282898, 0.04722907766699791, -0.8027559518814087, -0.44332951307296753, -0.5558384656906128, -0.3340838849544525, -0.27738407254219055, -0.04572436958551407, 0.6844387054443359, 0.7610056400299072, -0.8349331617355347, -0.3643268942832947, 0.2016698569059372, 0.13856719434261322, -0.34963563084602356, -0.14208771288394928, 0.45804113149642944, -0.4749389886856079, -0.9134702086448669, 0.3381410539150238, 0.15854915976524353, 0.1341736763715744, -0.24437853693962097, -0.1710529774427414, -0.5800662040710449, -0.09273017197847366, 0.2670843303203583, 0.3134036064147949, -0.5129407644271851, -0.2779877781867981, 0.02128753438591957, -0.25894594192504883, 0.21031524240970612, 1.050032615661621, -0.3209221661090851, 0.43164458870887756, 0.45142123103141785, 0.6601409316062927, 0.08978553116321564, -0.036951228976249695, 0.9460291266441345, -0.8158062696456909, 0.24100512266159058, 0.08986847847700119, 0.5471022725105286, 0.5983233451843262, 0.016667084768414497, 0.4166369140148163, 0.26210159063339233, -0.18593448400497437, -0.9426017999649048, 0.24711190164089203, -0.59334397315979, -0.28310516476631165, 1.0750118494033813, -0.48526790738105774, -0.12066887319087982, 0.04297756031155586, -0.28200072050094604, 0.6313878297805786, 0.030703580006957054, 0.7107096910476685, 1.0300955772399902, 0.2309773564338684, -0.022116752341389656, 0.018270371481776237, 0.4915112555027008, 0.8624603152275085, -0.7909623980522156, 0.25711509585380554, 0.3541533946990967, 0.3982740342617035, 0.33109158277511597, 0.7298605442047119, -0.31413087248802185, 0.33583876490592957, -0.08824437111616135, 0.23327326774597168, 0.26348814368247986, -0.5596582293510437, -0.4085516333580017, 0.0031916943844407797, -0.04960726201534271, -0.29487115144729614 ]
http://arxiv.org/abs/2406.19736v1
http://arxiv.org/pdf/2406.19736v1
MM-Instruct: Generated Visual Instructions for Large Multimodal Model Alignment
2024-06-28T08:25:27
2024-06-28T08:25:27
Jihao Liu, Xin Huang, Jinliang Zheng, Boxiao Liu, Jia Wang, Osamu Yoshie, Yu Liu, Hongsheng Li
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
This paper introduces MM-Instruct, a large-scale dataset of diverse and high-quality visual instruction data designed to enhance the instruction-following capabilities of large multimodal models (LMMs). While existing visual instruction datasets often focus on question-answering, they struggle to generalize to broader application scenarios such as creative writing, summarization, or image analysis. To address these limitations, we propose a novel approach to constructing MM-Instruct that leverages the strong instruction-following capabilities of existing LLMs to generate novel visual instruction data from large-scale but conventional image captioning datasets. MM-Instruct first leverages ChatGPT to automatically generate diverse instructions from a small set of seed instructions through augmenting and summarization. It then matches these instructions with images and uses an open-sourced large language model (LLM) to generate coherent answers to the instruction-image pairs. The LLM is grounded by the detailed text descriptions of images in the whole answer generation process to guarantee the alignment of the instruction data. Moreover, we introduce a benchmark based on the generated instruction data to evaluate the instruction-following capabilities of existing LMMs. We demonstrate the effectiveness of MM-Instruct by training a LLaVA-1.5 model on the generated data, denoted as LLaVA-Instruct, which exhibits significant improvements in instruction-following capabilities compared to LLaVA-1.5 models. The MM-Instruct dataset, benchmark, and pre-trained models are available at https://github.com/jihaonew/MM-Instruct.
[ -0.26714280247688293, -0.821399986743927, 0.4282618761062622, -0.1004943922162056, -0.13633529841899872, 0.11107964813709259, -0.04995514079928398, -0.004300212487578392, -0.01519759465008974, 0.5712809562683105, -0.9371931552886963, -0.6743268966674805, -0.4829583168029785, -0.2091495841741562, -0.16019868850708008, 0.8011723160743713, -0.10480494797229767, 0.35089847445487976, -0.6370320916175842, 0.006337959785014391, -0.8019022941589355, -0.20673011243343353, 0.018762409687042236, 0.1588539034128189, 0.4588332772254944, 0.8875603675842285, 0.6143481135368347, 0.7284733057022095, 0.6097187995910645, 0.28792014718055725, 0.47114109992980957, 0.6509817242622375, -0.44513651728630066, -0.02338556759059429, 0.1293403059244156, -0.4412307143211365, -0.4122833013534546, 0.04367590695619583, 0.7702346444129944, 0.5260484218597412, -0.29757946729660034, 0.4944405257701874, 0.052519723773002625, 0.5250386595726013, -0.581294059753418, 0.3320004642009735, -0.47872838377952576, -0.09636799246072769, -0.10642635822296143, -0.41405996680259705, -0.8937456011772156, -0.5974050760269165, 0.10871779918670654, -0.6459414958953857, -0.00340521102771163, 0.1122249886393547, 0.5449951887130737, 0.23314107954502106, -0.48864540457725525, -0.37139418721199036, -0.4230027496814728, 0.7744025588035583, -0.6120904684066772, 0.3026117980480194, 0.15491382777690887, 0.7429906725883484, -0.05577180162072182, -0.5214248299598694, -0.5243307948112488, -0.09829313308000565, 0.26046472787857056, 0.3551754951477051, 0.06992802023887634, -0.0014507515588775277, 0.1709088534116745, 0.17188021540641785, -0.6194552183151245, 0.3069150745868683, -0.34003540873527527, 0.07809167355298996, 0.32599031925201416, 0.37690842151641846, 0.4703236520290375, 0.007059367839246988, -0.5015864372253418, -0.25848305225372314, -0.9710437059402466, 0.01984185166656971, 0.36017435789108276, 0.18758155405521393, -0.30881568789482117, 0.9049360752105713, -0.07301509380340576, 0.7431952953338623, 0.05728856846690178, -0.38292691111564636, 0.26837024092674255, -0.18700121343135834, -0.19713075459003448, 0.06252823770046234, 0.6216647028923035, 0.7866360545158386, 0.34144413471221924, 0.01631663367152214, -0.004750503692775965, -0.12923984229564667, 0.09704715758562088, -1.083947777748108, -0.0024331852328032255, -0.09921563416719437, -0.38779959082603455, -0.2246987521648407, 0.30443423986434937, -0.9127619862556458, -0.3657836616039276, -0.5799592733383179, 0.6598504781723022, -0.42817234992980957, 0.1178082600235939, 0.05445166304707527, 0.1515677571296692, 0.5141961574554443, 0.5360296368598938, -0.9891922473907471, 0.005289941560477018, 0.48617878556251526, 0.7001919150352478, 0.08678504824638367, -0.37640181183815, -0.7189249396324158, 0.4771949350833893, -0.3257894515991211, 0.6048133969306946, -0.7509424686431885, -0.19073496758937836, 0.07366418838500977, 0.1470804065465927, -0.14931826293468475, -0.3967885971069336, 0.003185406792908907, -0.3022376596927643, 0.6451444625854492, -0.023272542282938957, -0.8267745971679688, -0.3105787932872772, 0.2862626314163208, -0.29359355568885803, 0.5511752963066101, -0.00878927018493414, -0.7678215503692627, 0.05044359341263771, -0.5751467943191528, -0.20111405849456787, -0.17334702610969543, -0.3045092821121216, -0.4082511067390442, -0.0604105144739151, 0.7285518646240234, 0.725684642791748, -0.2695828080177307, -0.1357736885547638, -0.37109217047691345, -0.3967614769935608, 0.3149866461753845, -0.7238062024116516, 0.6889682412147522, -0.2286032885313034, -0.1349881887435913, 0.2738751471042633, -0.7801409959793091, -0.059378188103437424, 0.08506201952695847, -0.07596226036548615, -0.07344432175159454, -0.08046817779541016, -0.49407023191452026, -0.04797077924013138, 0.22269728779792786, -0.5468522310256958, 0.5964658260345459, -0.1006593108177185, 0.2374771684408188, 1.0000027418136597, 0.08710890263319016, 0.5734764933586121, -0.2057756781578064, 0.7930558919906616, -0.006655183620750904, 0.4041597545146942, -0.8831703066825867, -0.5108919739723206, -0.7287603616714478, -0.3845144510269165, 0.16100680828094482, 0.8282790780067444, -1.1343510150909424, -0.18374942243099213, -0.48105761408805847, -0.4117530286312103, -0.8724952936172485, 0.24559557437896729, 0.6170514822006226, 0.7278609275817871, 0.37829193472862244, -0.012651422992348671, -0.41069817543029785, -0.9402958750724792, 0.6101314425468445, 0.21086238324642181, 0.11591798812150955, 0.15724211931228638, 0.49666306376457214, -0.28351011872291565, 0.3997611105442047, -0.6960920691490173, -0.025217808783054352, 0.12757542729377747, 0.11787936091423035, 0.12907345592975616, 0.463388592004776, 0.42401930689811707, -0.4770403802394867, -0.5054057240486145, 0.0808679610490799, -0.8866126537322998, -0.038409315049648285, -0.16447065770626068, -0.4582083821296692, -0.07668419927358627, 0.6359401345252991, -0.5344706773757935, 0.12315070629119873, 0.653644859790802, -0.027028147131204605, 0.7498803734779358, -0.2049158364534378, 0.43348145484924316, -1.4327936172485352, -0.32333675026893616, -0.292062908411026, 0.02667864039540291, -0.3373187780380249, 0.21725255250930786, 0.2447400689125061, -0.14270876348018646, -0.45758453011512756, 0.14206022024154663, -0.6466879844665527, -0.006950177252292633, 0.06723392009735107, -0.18669269979000092, 0.00047800684114918113, 0.6194815635681152, -0.39614808559417725, 0.9898569583892822, 0.6013046503067017, -0.24146772921085358, 0.3476337194442749, 0.45502543449401855, -0.5466006398200989, 0.7142072319984436, -0.35855579376220703, 0.18354284763336182, -0.3439652621746063, -0.004602143075317144, -1.143865704536438, -0.517282247543335, 0.20627789199352264, -0.34896522760391235, 0.5327709317207336, -0.5791701674461365, -0.6754080653190613, -0.23160454630851746, -0.22054344415664673, 0.10501831024885178, 0.4973536729812622, -0.7207083106040955, 0.5786423087120056, 0.045595940202474594, -0.20861999690532684, -0.8027681708335876, -0.8049981594085693, -0.08049628138542175, -0.21253354847431183, -0.5965216755867004, 0.06003662943840027, -0.3548682630062103, 0.08335752785205841, -0.15281976759433746, 0.17251810431480408, -0.09689309448003769, -0.2573355734348297, 0.5317075848579407, 0.6827884912490845, -0.42116013169288635, 0.08428585529327393, 0.3992864787578583, 0.009233507327735424, 0.004364544991403818, -0.15367059409618378, 0.4269563555717468, 0.04040389880537987, -0.8349181413650513, -0.6509561538696289, 0.42245960235595703, 0.8080562353134155, -0.5741880536079407, 0.5947466492652893, 0.5497862696647644, 0.09549784660339355, -0.15446579456329346, -0.3836610019207001, -0.04850386455655098, -0.47584807872772217, 0.3348986804485321, -0.11911986768245697, -0.7080194354057312, 0.14231932163238525, 0.027708640322089195, 0.44305863976478577, -0.06779929995536804, 0.5430775284767151, -0.6066778302192688, 1.2010859251022339, 0.47420164942741394, 0.21340227127075195, 0.6462709307670593, -0.280195027589798, -0.32857581973075867, -0.5711015462875366, -0.32138457894325256, 0.06252340227365494, -0.15605279803276062, -0.4105813205242157, -0.806735634803772, 0.40446537733078003, -0.18988457322120667, -0.2767123281955719, 0.05391548201441765, -0.5381450653076172, 0.6366799473762512, 0.5674310326576233, 0.4200292229652405, -0.012737378478050232, 0.19093938171863556, -0.1167750433087349, -0.14538052678108215, -0.7287730574607849, -0.5000227689743042, 1.1667996644973755, 0.2467479407787323, 1.0343096256256104, 0.19172529876232147, 0.7301585078239441, 0.06384170055389404, 0.43950745463371277, -0.6768726706504822, 0.6234674453735352, -0.24077455699443817, -0.18366645276546478, -0.012486839666962624, -0.3807350993156433, -0.8134481906890869, 0.14785413444042206, -0.45566079020500183, -0.36852869391441345, -0.3328290581703186, 0.26009678840637207, -0.22277666628360748, 0.2520245611667633, -1.3203374147415161, 0.9167708158493042, -0.4553270936012268, -0.2763020098209381, -0.05668456852436066, -0.650089681148529, 0.6228131055831909, 0.2955801784992218, 0.10841068625450134, 0.048780638724565506, 0.05014696717262268, 0.38365569710731506, -0.18762387335300446, 1.0865470170974731, -0.29027557373046875, -0.19480063021183014, 0.4169447124004364, 0.07039936631917953, 0.4211500585079193, -0.3282262682914734, 0.27806031703948975, -0.3818088173866272, -0.12413762509822845, -0.18106979131698608, -0.9345878958702087, 0.5277464985847473, -0.46888598799705505, -0.563749372959137, 0.17171691358089447, -0.881593644618988, -0.12107454240322113, 0.13454963266849518, 0.05138783156871796, 0.8790753483772278, -0.07735564559698105, 0.43552500009536743, 0.93748939037323, -0.510261058807373, 0.3070163428783417, 0.3036012351512909, -0.2616916298866272, -0.8417602777481079, 1.0051000118255615, 0.15804027020931244, 0.5543516278266907, 0.8091118335723877, 0.0645442008972168, -0.05145052447915077, -0.3854454755783081, -0.9136456847190857, -0.008706842549145222, -0.8387845158576965, -0.3543713390827179, -0.2733635902404785, -0.028322923928499222, -0.1066627949476242, -0.25662732124328613, -0.2604314386844635, -0.24636974930763245, -0.2017146199941635, 0.048322178423404694, 0.22839802503585815, 0.5262237787246704, 0.40768325328826904, 0.644485354423523, -0.8330889940261841, 0.26018226146698, 0.5883975028991699, 0.1785954087972641, 0.03838019445538521, -0.48661744594573975, -0.3523988723754883, 0.27215176820755005, -0.40503790974617004, -0.8907277584075928, 0.13737013936042786, 0.14529123902320862, 0.5674278736114502, 0.5860614776611328, -0.26237455010414124, 1.0238614082336426, -0.920872151851654, 0.5283626317977905, 0.45911523699760437, -0.62813401222229, 0.5595062971115112, -0.3449614346027374, 0.7472979426383972, 0.19438506662845612, 0.2785862386226654, -0.11863159388303757, -0.4000374972820282, -0.30123209953308105, -0.5911354422569275, 0.3672144412994385, 0.07016678899526596, 0.20093151926994324, 0.18762153387069702, 0.11566948145627975, 0.4807431399822235, 0.15108969807624817, -0.4590150713920593, 0.030771367251873016, -0.1977032572031021, -0.6934306621551514, -0.03478376939892769, -0.27970975637435913, -0.089186891913414, -0.1878625601530075, 0.3871579170227051, -0.35644659399986267, 0.363791286945343, -0.22783443331718445, -0.34735652804374695, 0.19302703440189362, 0.12437950074672699, 0.8271149396896362, 0.6855016946792603, -0.11222187429666519, 0.137224942445755, 0.07703975588083267, -0.3446274399757385, 0.11767499148845673, 0.05690305680036545, -0.172710120677948, -0.15369847416877747, 0.5253301858901978, 0.6477997303009033, 0.3627772331237793, -0.7665765285491943, 0.5668110847473145, 0.019668184220790863, -0.1731458306312561, -0.2189202755689621, 0.10257105529308319, 0.2703480124473572, 0.4229559302330017, 0.08925867080688477, -0.12520502507686615, -0.10274865478277206, -0.3875911235809326, 0.20133857429027557, 0.5565267205238342, -0.16191521286964417, -0.2961723804473877, 0.6586677432060242, 0.12165448814630508, 0.06095580756664276, 0.7137874960899353, 0.0402001217007637, -0.13316747546195984, 0.6024599671363831, 0.407953679561615, 0.5009204149246216, -0.17169129848480225, 0.3025137782096863, 0.40411269664764404, 0.3827003836631775, 0.19423802196979523, 0.4513280391693115, -0.04021541401743889, -0.389533668756485, -0.7168840169906616, -0.19013553857803345, -0.5672321915626526, -0.21627025306224823, -0.6417976021766663, 0.25900962948799133, -0.503524124622345, 0.11331342160701752, 0.08022738993167877, -0.5068888068199158, -0.5394653081893921, 0.024834413081407547, 0.3250758647918701, 0.5593364238739014, -0.6283663511276245, 0.7950093150138855, 0.5479069352149963, -0.6616592407226562, -0.5580483675003052, -0.1911648064851761, 0.2275094985961914, -0.9544673562049866, 0.5108344554901123, 0.5735903382301331, -0.06305331736803055, -0.04444596543908119, -1.1721709966659546, -0.5909302830696106, 1.39207124710083, 0.6712231040000916, -0.5570887327194214, 0.08195587992668152, 0.05660102143883705, 0.15954463183879852, -0.6875510215759277, 0.16761565208435059, -0.0988839715719223, 0.17590370774269104, 0.3187635838985443, -0.5980273485183716, -0.19193865358829498, -0.1539343148469925, -0.22029027342796326, 0.245016947388649, -0.5018303990364075, 0.5639857649803162, -0.6508740186691284, -0.1318802684545517, 0.2744472324848175, 0.7628887891769409, 0.2498021125793457, 0.1954708844423294, 0.3007025122642517, 0.5365575551986694, 0.5640440583229065, 0.12124953418970108, 0.8540111184120178, -0.024921048432588577, -0.12312708050012589, 1.5925155878067017, 0.17785008251667023, 0.9954162836074829, 0.5759974122047424, 0.14476794004440308, 0.5828288793563843, 0.4285493493080139, -0.3430323004722595, 0.5098058581352234, -0.0900854542851448, 0.11338331550359726, -0.025011807680130005, -0.06589065492153168, -0.23649545013904572, 0.5961111783981323, 0.2918132245540619, -0.5051880478858948, -0.1530585139989853, 0.08582659065723419, -0.07686370611190796, -0.016587059944868088, -0.3582834005355835, 0.7096682786941528, -0.27761146426200867, -0.5183531045913696, 0.5091750025749207, -0.49601584672927856, 0.41856813430786133, -0.6849129796028137, -0.5689089298248291, -0.16547735035419464, 0.08552183210849762, -0.15388721227645874, -1.083241581916809, -0.11178181320428848, 0.0010825792560353875, -0.32562869787216187, -0.32898133993148804, 0.20751886069774628, -0.6987769603729248, -0.6157036423683167, -0.29822954535484314, 0.46255624294281006, 0.03680236637592316, 0.37673941254615784, -0.4782516062259674, -0.29048803448677063, 0.19525694847106934, 0.009358950890600681, 0.20159821212291718, 0.576424777507782, -0.10574399679899216, 0.938170313835144, 0.6495252847671509, -0.35952144861221313, 0.3773861229419708, 0.2705649733543396, 0.6662685871124268, -0.2504960298538208, -0.1890510469675064, -0.7691597938537598, 0.8706817030906677, 0.006777256727218628, -0.146020770072937, 0.8691461086273193, 0.4801684319972992, 0.7908543348312378, -0.48661285638809204, 0.4736206829547882, 0.05394605174660683, 0.17232675850391388, -0.8780783414840698, 0.47492867708206177, -0.5225141644477844, 0.08774103969335556, -0.30610528588294983, -0.9156247973442078, -0.19648747146129608, 0.1785634607076645, -0.16454662382602692, -0.2103087604045868, 0.34547027945518494, 1.2084647417068481, -0.40946242213249207, -0.160721093416214, 0.23561403155326843, -0.032228536903858185, 0.18063251674175262, 0.5312687754631042, 1.0651624202728271, -0.20570482313632965, 0.7797417640686035, -0.3457854092121124, -0.3136252462863922, 0.05094269663095474, -0.7222930192947388, -1.0448250770568848, -0.5427693724632263, -0.3415423333644867, -0.05880192667245865, -0.11884919553995132, 0.9251384735107422, 0.6702736616134644, -0.6180103421211243, -0.1860327273607254, 0.17453135550022125, -0.06326490640640259, -0.34064769744873047, -0.20050379633903503, 0.4289911091327667, -0.19121770560741425, -0.7850618362426758, 0.3895302712917328, 0.3182958960533142, 0.4755996763706207, -0.21838505566120148, -0.11420349031686783, -0.3482935428619385, -0.05442904680967331, 0.7965204119682312, -0.04352372884750366, -0.5994147658348083, -0.11651085317134857, 0.18325892090797424, -0.10089822858572006, 0.1613338589668274, 0.45052096247673035, -0.14782291650772095, 0.9147688150405884, 0.319164514541626, 0.8443372249603271, 0.2826227843761444, -0.02007637731730938, 0.570539116859436, -0.8489177227020264, 0.0829262062907219, -0.0504944734275341, 0.41352614760398865, 0.44090375304222107, -0.1187262237071991, 0.4246569275856018, -0.16896948218345642, -0.4001222848892212, -0.6403607726097107, 0.251645028591156, -1.036965012550354, -0.157637819647789, 0.9713654518127441, -0.08680915087461472, -0.2710557281970978, 0.5144271850585938, -0.6536770462989807, 0.16141504049301147, -0.21906916797161102, 0.6235126256942749, 0.5604881048202515, 0.014516670256853104, -0.6724367737770081, -0.9032624363899231, -0.22290265560150146, 0.13740478456020355, -0.8851462602615356, 0.07652028650045395, 0.7716696262359619, 0.10884785652160645, -0.0470200777053833, -0.010915297083556652, -0.1643441766500473, 0.38910555839538574, 0.23638372123241425, 0.3184693157672882, -0.47449570894241333, -0.26855096220970154, 0.040886182337999344, 0.2022860050201416, -0.2484406977891922, -0.7992364168167114 ]
http://arxiv.org/abs/2406.19731v1
http://arxiv.org/pdf/2406.19731v1
Message du troisi{è}me type : irruption d'un tiers dans un dialogue en ligne
2024-06-28T08:20:32
2024-06-28T08:20:32
Ludovic Tanguy, Céline Poudat, Lydia-Mai Ho-Dac
cs.CL
cs.CL
Our study focuses on Wikipedia talk pages, from a global perspective analyzing contributors' behaviors in online interactions. Using a corpus comprising all Wikipedia talk pages in French, totaling more than 300,000 discussion threads, we examine how discussions with more than two participants (multiparty conversation) unfold and we specifically investigate the role of a third participant's intervention when two Wikipedians have already initiated an exchange. In this regard, we concentrate on the sequential structure of these interactions in terms of articulation among different participants and aim to specify this third message by exploring its lexical particularities, while also proposing an initial typology of the third participant's message role and how it aligns with preceding messages.
[ -0.7813004851341248, -0.8161625862121582, 0.5327888131141663, 0.4973870813846588, -0.04680916666984558, -0.020824259147047997, -0.0471753366291523, -0.7669835686683655, 0.8038969039916992, 0.33922454714775085, -0.4888570308685303, -0.05380881577730179, -0.5497006177902222, 0.2724880576133728, -0.7577619552612305, 1.2908415794372559, -0.09562740474939346, 0.153387188911438, -0.12028827518224716, -0.06736821681261063, -0.1936579793691635, -0.4278966784477234, -0.9886234402656555, -0.13158079981803894, 1.1307166814804077, 0.8095542192459106, 0.5322458744049072, -0.07081686705350876, 0.3842809498310089, 0.48156940937042236, 0.18045532703399658, -0.01564251072704792, -0.9222815632820129, 0.2930346727371216, -0.3582300543785095, -0.4748494625091553, -0.38151219487190247, 0.13631190359592438, 0.6208857893943787, 0.7106203436851501, 0.005412016995251179, 0.13467146456241608, 0.21810492873191833, 0.7311885356903076, -0.6231828331947327, 0.11574853211641312, -0.33969902992248535, -0.20467476546764374, -0.2593468427658081, -0.2131848931312561, -0.3972489833831787, -0.2420307844877243, 0.3007362484931946, -0.30907103419303894, 0.014828755520284176, -0.16236893832683563, 0.5308772921562195, -0.233473539352417, -0.40557029843330383, -0.31080812215805054, -0.7447625994682312, 0.31043165922164917, -0.25032156705856323, 0.11993930488824844, 0.2876773476600647, -0.11045195162296295, -0.3114704191684723, -0.760506808757782, -1.0480612516403198, 0.12140282243490219, -0.27176642417907715, 0.20798487961292267, -0.2988209128379822, -0.025374211370944977, 0.016172584146261215, 0.38717588782310486, -0.04651704803109169, 0.009390810504555702, -0.8200055956840515, -0.09145147353410721, 0.42340779304504395, 0.13063675165176392, 0.5751611590385437, -0.3022794723510742, -0.21860849857330322, 0.15958936512470245, -0.37009936571121216, -0.13298873603343964, 0.8961246609687805, -0.1632276177406311, -0.4747563600540161, 0.7993525266647339, -0.03944103419780731, 0.5886633396148682, 0.14791160821914673, 0.23636272549629211, 0.15070568025112152, -0.4241957366466522, 0.2532040774822235, -0.099664606153965, 0.8881754875183105, 0.7831733226776123, 0.6134653687477112, -0.06647095084190369, 0.3523193895816803, -0.43460777401924133, 0.35708850622177124, -0.7637566328048706, -0.32437562942504883, 0.2623564898967743, -0.4455549716949463, -0.3449713885784149, 0.610671877861023, -0.8960771560668945, -0.37492379546165466, 0.033331248909235, 0.17975467443466187, -0.15403011441230774, -0.5675965547561646, -0.2349928915500641, -0.2505696415901184, 0.05873966962099075, 0.26664742827415466, -1.0408811569213867, 0.23401039838790894, 0.6254033446311951, 0.771314799785614, -0.17703811824321747, -0.7900459170341492, -0.2913571298122406, 0.4945392906665802, -0.34852224588394165, 0.8932510614395142, -0.30655720829963684, -0.8201929330825806, 0.07436017692089081, 0.11115261167287827, -0.11182431876659393, 0.2633417546749115, 0.596728503704071, -0.5568952560424805, 0.5799967646598816, -0.2833639085292816, -0.44649550318717957, -0.26101064682006836, 0.3108891248703003, -0.8497166633605957, 0.4862367510795593, -0.04756579175591469, -1.3011714220046997, -0.054014384746551514, -0.704856812953949, -0.1445552110671997, 0.10448388010263443, -0.41785702109336853, 0.07177766412496567, 0.1980007141828537, -0.32320791482925415, 0.31058189272880554, -0.1282619833946228, -0.22075730562210083, -0.3040967881679535, -0.15272973477840424, 0.6600940227508545, -0.37871015071868896, 0.5572737455368042, -0.13878099620342255, -0.2599833011627197, -0.0918855145573616, -0.48248517513275146, -0.033891502767801285, -0.0580429844558239, -0.29180437326431274, -0.4829481244087219, -0.025318771600723267, -0.027173057198524475, 0.22913916409015656, 0.22098390758037567, -0.5423761606216431, 0.28276145458221436, -0.8379697203636169, 0.31635525822639465, 0.7292824983596802, 0.6096803545951843, 0.43064993619918823, -0.2710009515285492, -0.20541571080684662, 0.10444243997335434, 0.4463198184967041, 0.008535439148545265, -0.8246532082557678, -1.322001576423645, 0.23197999596595764, 0.0768551230430603, 0.6103507876396179, -0.5448749661445618, 0.03735177218914032, -0.6353675127029419, -0.13553881645202637, -0.280020534992218, 0.055993542075157166, 0.40881776809692383, -0.03200998157262802, 0.10336925834417343, -0.17885366082191467, -0.33354824781417847, -1.3740227222442627, -0.2718297243118286, -0.6776168346405029, 0.11374856531620026, 0.33850058913230896, 0.5927140116691589, -0.23165708780288696, 0.7503358721733093, -0.3100636899471283, 0.10945644229650497, -0.33109724521636963, 0.5742711424827576, -0.08918071538209915, 0.3987296223640442, 0.5478079319000244, -0.9992427229881287, -1.042980432510376, -0.11540541797876358, -0.46598300337791443, 0.09600286185741425, 0.0268117543309927, -0.5431417226791382, 0.15951119363307953, 0.654394805431366, -0.5182616710662842, 0.32873454689979553, 0.4165806472301483, -0.2927872836589813, -0.10313239693641663, -0.0859338715672493, 0.4910902678966522, -1.3648326396942139, -0.378990113735199, -0.3322351276874542, 0.1661975383758545, -0.9189444184303284, -0.37051281332969666, -0.31818515062332153, 0.21365895867347717, -0.5994747877120972, 0.4039970338344574, -0.4236614406108856, 0.11489955335855484, -0.30131348967552185, 0.45147475600242615, -0.042725443840026855, 0.47103381156921387, -0.1248205155134201, 0.49828407168388367, 0.41083699464797974, -0.4679184556007385, 0.45987755060195923, 0.5738074779510498, -0.06067245081067085, 0.9245011210441589, -0.3701728582382202, 0.48581013083457947, -0.3090665340423584, 0.21558940410614014, -1.1410858631134033, -0.5500368475914001, 0.7026961445808411, -0.7052780985832214, 0.2001519501209259, -0.03582274913787842, -0.5217295289039612, -0.5029594302177429, -0.5643800497055054, 0.4537521004676819, -0.41380056738853455, -0.20787233114242554, 0.3856656551361084, 0.5910707116127014, -0.4483239948749542, -0.41022324562072754, -0.7007249593734741, 0.31467097997665405, -0.09159517288208008, -0.9821687936782837, 0.21702662110328674, -0.2668529748916626, -0.6022794246673584, 0.046323537826538086, 0.07649721205234528, -0.17602568864822388, -0.008337539620697498, 0.2540911138057709, 0.05781398341059685, 0.21425333619117737, 0.06934387981891632, -0.2359447330236435, -0.08441933244466782, 0.2116381675004959, -0.1830650120973587, 0.5793563723564148, -0.09163472056388855, -0.38218486309051514, -0.5553100109100342, 0.977662205696106, 0.565233051776886, 0.20020365715026855, 1.3259871006011963, 0.6781322956085205, -0.13062381744384766, 0.1675862818956375, -0.8008005619049072, 0.020767489448189735, -0.4649495780467987, 0.07099904865026474, -0.33950868248939514, -0.7065313458442688, 0.38587480783462524, 0.40543365478515625, 0.0049151103012263775, 0.5921517014503479, 0.6785817742347717, -0.41341152787208557, 0.9058944582939148, 0.820257306098938, -0.14990870654582977, 0.36237531900405884, -0.33787694573402405, 0.55312579870224, -0.47363150119781494, -0.650329053401947, -0.49387797713279724, -0.3807649314403534, -0.8805769681930542, -0.3151837885379791, 0.39389118552207947, 0.20190320909023285, -0.021911635994911194, 0.15695150196552277, -0.11667425185441971, 0.3737751543521881, 0.43398186564445496, -0.06518074870109558, 0.09189300984144211, 0.0694795697927475, 0.07755251973867416, -0.098516546189785, -0.4108435809612274, -0.27828603982925415, 0.6295614838600159, 0.09603653848171234, 0.5060113072395325, 0.5676138401031494, 0.6808900833129883, 0.26970604062080383, 0.3798172175884247, -0.5769965648651123, 0.553422749042511, 0.3724054992198944, -0.6378394961357117, -0.29450544714927673, -0.1616540253162384, -0.8365386128425598, 0.0937405675649643, -0.26625707745552063, -1.1558303833007812, 0.3764304220676422, -0.20130832493305206, -0.08529787510633469, 0.3150648772716522, -0.7025452256202698, 0.8230847120285034, -0.09316442161798477, -0.2667752206325531, -0.583724319934845, -0.680173397064209, 0.414955735206604, -0.10093928128480911, 0.5497581362724304, -0.20204807817935944, -0.19313256442546844, 0.7530019283294678, -0.26683732867240906, 0.8816192150115967, 0.21348834037780762, -0.24203486740589142, 0.43868520855903625, -0.08129891008138657, 0.5292960405349731, 0.3136175870895386, 0.45354530215263367, 0.09058083593845367, -0.08028098195791245, -0.3123244643211365, -0.2884540259838104, 1.033652901649475, -1.061499834060669, -0.7985687255859375, -0.15098707377910614, -0.10402985662221909, -0.31168192625045776, 0.14275968074798584, 0.7380682826042175, 0.42776355147361755, -0.3537866175174713, 0.2547686696052551, 0.4107316732406616, -0.10046380013227463, 0.6210576295852661, 0.6753172278404236, -0.19244985282421112, -0.5406605005264282, 0.953124463558197, -0.2665516436100006, 0.32739245891571045, 0.4876018166542053, -0.07988376915454865, 0.001226431573741138, -0.24098961055278778, -0.14371319115161896, 0.34107255935668945, -0.9112358093261719, -0.023692913353443146, -1.2079558372497559, -0.17392756044864655, -0.2244834452867508, -0.02939629927277565, -0.28698021173477173, -0.5136768817901611, -0.25343504548072815, -0.20713810622692108, 0.32762888073921204, 1.025896668434143, -0.32844653725624084, 0.4713842272758484, -0.9440684914588928, 0.3817444443702698, 0.5379805564880371, 0.3966864049434662, 0.0434236004948616, -0.1746014654636383, -0.4585459232330322, 0.0022452273406088352, -0.21545720100402832, -1.2691558599472046, -0.20700308680534363, 0.173336461186409, 0.7442507147789001, 0.3822033107280731, -0.1883891224861145, 0.40973731875419617, -0.49488547444343567, 0.9307563304901123, 0.4831278324127197, -0.8425607085227966, 0.5467306971549988, -0.32191088795661926, -0.20185379683971405, 0.40685904026031494, 0.601011335849762, -0.91367506980896, -0.8002778887748718, -0.7774377465248108, -0.8997002840042114, 0.7447990775108337, 0.4734271764755249, 0.513526201248169, -0.4170863926410675, 0.1442931741476059, -0.1893017292022705, 0.14828428626060486, -0.8956572413444519, -0.7909973859786987, 0.0008302821079269052, 0.15596430003643036, 0.2339361011981964, -0.8668928742408752, -0.5293343663215637, -0.017908327281475067, 0.6125864386558533, 0.19739773869514465, 0.2848648130893707, 0.14417938888072968, -0.04408050701022148, -0.20450499653816223, 0.3368730843067169, 0.6075845956802368, 0.6693543791770935, 0.30536994338035583, 0.05719415098428726, -0.00513935461640358, -0.5661900043487549, -0.0771566852927208, 0.007708163000643253, -0.03134765475988388, 0.0428549088537693, 0.4979753792285919, 0.8322100043296814, 0.48656314611434937, 0.08396395295858383, 0.7833720445632935, -0.39798781275749207, -0.18685166537761688, -0.3676893413066864, 0.0023320892360061407, 0.18087762594223022, 0.48263198137283325, 0.22277244925498962, -0.07134271413087845, 0.25440603494644165, -0.6940094828605652, 0.20105797052383423, 0.28970491886138916, -0.1422172635793686, -0.42664679884910583, 0.5003488063812256, 0.629128634929657, -0.23546232283115387, 0.4304550886154175, -0.07391421496868134, -0.5658158659934998, 0.11156636476516724, -0.03657040745019913, 0.9491759538650513, -0.11428643763065338, 0.6005592942237854, 0.5320641994476318, 0.12248936295509338, 0.051423437893390656, 0.32994377613067627, -0.020778968930244446, -0.88657546043396, -0.3826422095298767, -0.3849327862262726, -0.3063911199569702, 0.07330697774887085, -0.6239883303642273, 0.2179379165172577, 0.04739141836762428, -0.23499158024787903, 0.373047798871994, -0.1358811855316162, -0.4804532527923584, -0.3224523067474365, 0.3094901442527771, 0.6512609720230103, -0.5755965709686279, 0.6401643753051758, 0.37615928053855896, -0.7309635877609253, -0.3353642523288727, 0.48151618242263794, -0.08186672627925873, -0.4034748375415802, 0.6355409026145935, 0.08745517581701279, -0.2566225230693817, 0.14875197410583496, -0.709476888179779, -0.8721991777420044, 0.49296727776527405, 0.029665349051356316, -0.25067877769470215, 0.0385269857943058, 0.19528111815452576, 0.5450676083564758, -0.26693257689476013, 0.14832833409309387, 0.38431715965270996, 0.531883955001831, -0.034677620977163315, -0.9852188229560852, -0.4526606798171997, -0.45235681533813477, -0.045977357774972916, 0.30373862385749817, -0.9651263356208801, 0.8516844511032104, -0.06949136406183243, -0.500411331653595, 0.16903753578662872, 0.8186517953872681, -0.41700148582458496, -0.32410624623298645, 0.6488462090492249, 0.02853749692440033, 0.4639808237552643, 0.021102789789438248, 0.9772074222564697, -0.7112777233123779, 0.15920399129390717, 0.8085034489631653, 0.09164705872535706, 0.6456748843193054, 0.6505312323570251, -0.09110398590564728, 0.935776948928833, 0.3526880145072937, 0.1726398766040802, 0.4596180319786072, 0.2859727442264557, -0.6858021020889282, -0.021942880004644394, -0.0667055994272232, -0.3677094876766205, 0.4222174286842346, 0.6152965426445007, 0.039160411804914474, -0.1375325620174408, 0.22366568446159363, 0.08916114270687103, -0.005907402839511633, -0.37102535367012024, 0.9867797493934631, -0.055737219750881195, -0.8295392990112305, 0.2182345688343048, 0.031169075518846512, 0.16843919456005096, -0.04578900709748268, -0.04590950161218643, -0.25014644861221313, 0.11218926310539246, -0.40814200043678284, -1.0642547607421875, 0.22892418503761292, -0.034136079251766205, -0.3847428858280182, -0.1697172075510025, 0.3917306661605835, -0.5640090107917786, -0.3379502594470978, 0.42247816920280457, 0.8025297522544861, 0.36651894450187683, 0.26389187574386597, -0.6551597118377686, 0.2209043800830841, 0.07171918451786041, -0.17361773550510406, 0.09979697316884995, 0.701758623123169, -0.05951402336359024, 0.3874243497848511, 0.3040417730808258, -0.04705997556447983, 0.06765960156917572, 0.304487407207489, 0.9081996083259583, -0.4682917296886444, -0.6099267601966858, -0.8636748790740967, 0.5487051606178284, -0.4797334372997284, -0.03847891464829445, 0.9542660713195801, 0.529461681842804, 0.9195200800895691, 0.21210168302059174, 0.7506051063537598, -0.24097920954227448, 0.709555983543396, -0.3054549992084503, 0.3736775815486908, -0.3351263105869293, 0.18461373448371887, -0.2723847031593323, -0.8151267766952515, 0.2904859185218811, 0.4351041913032532, 0.02035035751760006, -0.1892770230770111, 0.8034417033195496, 0.3965134620666504, 0.15168406069278717, 0.5232411026954651, -0.0700143352150917, 0.462711364030838, 0.10784225910902023, 0.18017491698265076, 1.3013129234313965, -0.12336909025907516, 0.7642077207565308, -0.31621143221855164, 0.014148185960948467, -0.13442301750183105, -0.6379200220108032, -1.0025694370269775, -0.8818878531455994, -0.13963468372821808, -0.5702307224273682, -0.08227614313364029, 0.6612411141395569, 0.06060206890106201, -0.8146430850028992, -0.24940307438373566, -0.13521437346935272, 0.2647092342376709, 0.3694664537906647, -0.2291642427444458, 0.10464107245206833, -0.20088569819927216, -1.1420855522155762, 0.19375619292259216, 0.43310046195983887, 0.14186736941337585, -0.6132077574729919, 0.12431839853525162, -0.20910319685935974, 0.012045592069625854, 0.5119537711143494, 0.2146156132221222, -0.573863685131073, -0.5020322799682617, -0.2713133990764618, -0.22191590070724487, -0.07425037026405334, 1.1639553308486938, -0.1455073207616806, 0.3838690221309662, 0.5642757415771484, 0.1615665704011917, 0.6558219194412231, -0.1795879602432251, 0.8166740536689758, -0.7419856786727905, 0.4288507103919983, -0.038821808993816376, 0.26028159260749817, 0.460673987865448, -0.26774024963378906, 0.39806613326072693, 0.41879892349243164, -0.39601725339889526, -0.6716477870941162, 0.23909202218055725, -0.3463965952396393, -0.2594279944896698, 1.2018966674804688, 0.07006818801164627, 0.057055551558732986, -0.23458409309387207, -0.25972387194633484, 0.1838390976190567, -0.37242141366004944, 0.4392082989215851, 1.299222707748413, -0.2150757759809494, -0.11444290727376938, -0.9009946584701538, 0.5992007255554199, -0.350266695022583, -0.6979131102561951, -0.18870893120765686, 0.6652892827987671, 0.03211250528693199, 0.5487277507781982, 1.0608348846435547, 0.21156272292137146, 0.026649052277207375, -0.014500482939183712, -0.26547133922576904, 0.6589860320091248, -0.5736615061759949, 0.27016565203666687, 0.12075259536504745, -0.2573530375957489, -0.1562962532043457 ]
http://arxiv.org/abs/2406.19729v1
http://arxiv.org/pdf/2406.19729v1
Le sens de la famille : analyse du vocabulaire de la parent{é} par les plongements de mots
2024-06-28T08:19:36
2024-06-28T08:19:36
Ludovic Tanguy, Cécile Fabre, Nabil Hathout, Lydia-Mai Ho-Dac
cs.CL
cs.CL
In this study, we propose a corpus analysis of an area of the French lexicon that is both dense and highly structured: the vocabulary of family relationships. Starting with a lexicon of 25 nouns designating the main relationships (son, cousin, mother, grandfather, sister-in-law etc.), we examine how these terms are positioned in relation to each other through distributional analyses based on the use of these terms in corpora. We show that distributional information can capture certain features that organize this vocabulary (descent, alliance, siblings, genre), in ways that vary according to the different corpora compared.
[ -0.5783604383468628, -0.6263799667358398, 0.21906335651874542, 0.41179144382476807, -0.015486442483961582, -0.037267979234457016, 0.11031337082386017, -0.07303895056247711, 0.4232235848903656, 0.3992403745651245, -0.39483442902565, -0.15066736936569214, -0.7817195653915405, 0.2016414850950241, -0.3038851320743561, 0.6713959574699402, -0.13276280462741852, -0.11173580586910248, -0.04629594832658768, -0.5582597255706787, 0.06895790994167328, -1.1747242212295532, -0.8120849132537842, 0.08245033025741577, 0.7515526413917542, 0.07652294635772705, 0.8252822756767273, 0.6825428605079651, 0.4199945330619812, 0.2906697690486908, -0.3926912248134613, -0.028174296021461487, -0.6285647749900818, 0.36760231852531433, -0.17458386719226837, -0.23762355744838715, -0.2970592677593231, -0.29290419816970825, 0.46337583661079407, 1.26115882396698, 0.4027397036552429, -0.00813912134617567, 0.09960489720106125, 1.1867197751998901, -0.6468630433082581, 0.23664258420467377, -0.20133377611637115, -0.06921329349279404, 0.04609493166208267, -0.7211906313896179, -0.037380997091531754, -0.04663506895303726, 0.3294653594493866, -0.1905863732099533, 0.7621787786483765, -0.08398735523223877, 1.1174840927124023, -0.14332319796085358, -0.5287391543388367, -0.48345404863357544, -0.5459609627723694, 0.430610328912735, 0.23947261273860931, 0.6452727317810059, 0.44013577699661255, -0.34306859970092773, -0.3198654055595398, -0.19166994094848633, -0.2067583203315735, -0.17844873666763306, -0.2595154047012329, -0.005201591644436121, -0.41029343008995056, -0.1622924655675888, 0.22013965249061584, 0.6483367085456848, -0.4238441586494446, -0.43853452801704407, -0.29129812121391296, -0.039709124714136124, 0.4527477025985718, 0.0024830717593431473, 0.6944258809089661, -0.042510345578193665, -0.5856807231903076, -0.010276473127305508, -0.5553213357925415, -0.18722739815711975, 0.6671901941299438, 0.06817644089460373, -0.43430137634277344, 0.7526499629020691, 0.02650066278874874, 0.5002947449684143, -0.10681699216365814, -0.07711931318044662, 0.3000168204307556, -0.40871453285217285, 0.11800569295883179, -0.17629878222942352, 0.7516918182373047, 0.5147354602813721, 0.715895414352417, -0.10103526711463928, -0.2824915647506714, 0.17412810027599335, -0.13451401889324188, -0.5516186952590942, -0.19460982084274292, -0.004220569506287575, -0.3603757321834564, -0.17441010475158691, 0.17073364555835724, -0.7275391817092896, -0.34371206164360046, -0.19120115041732788, 0.0815340057015419, -0.5104281902313232, -0.34438616037368774, -0.11428964883089066, -0.4517010450363159, 0.1757941097021103, -0.07040916383266449, -1.0600031614303589, 0.3390774130821228, 0.5664833188056946, 1.0232104063034058, -0.18560516834259033, -0.2002047300338745, -0.33899691700935364, 0.40186864137649536, -0.04140745475888252, 0.7410323023796082, -0.487948477268219, -0.9417300224304199, 0.3824690580368042, 0.07013434916734695, -0.3517686426639557, -0.4284537434577942, 0.40894269943237305, -0.3278389871120453, -0.11625095456838608, 0.04170095548033714, -0.603985071182251, 0.011245159432291985, -0.025811441242694855, -1.0617722272872925, 0.7052439451217651, 0.6016210913658142, -0.9331677556037903, 0.2698438763618469, -0.2725505828857422, -0.2893209755420685, 0.03399583697319031, -0.39453235268592834, 0.10468824952840805, 0.12911541759967804, -0.04403636232018471, 0.7198681831359863, 0.02749614231288433, -0.17637671530246735, -0.06330769509077072, 0.12192188948392868, 0.10716910660266876, 0.08937311917543411, 0.820001482963562, 0.40992435812950134, 0.02060885727405548, -0.12117692828178406, -0.5685983896255493, -0.7938330173492432, 0.14163146913051605, 0.014104883186519146, -0.7825682759284973, 0.06304209679365158, 0.14637190103530884, 0.004641801118850708, 0.14960210025310516, -0.42107754945755005, 0.20620349049568176, -0.5643813610076904, 0.5995817184448242, 0.16569167375564575, 0.4434172809123993, 0.8141218423843384, -0.2749648690223694, 0.6037128567695618, 0.1838567852973938, 0.20998723804950714, 0.13470666110515594, -0.49188387393951416, -0.5543596148490906, -0.24819886684417725, 0.46948981285095215, 0.6360076665878296, -0.5117588639259338, 0.7215713262557983, -0.5673897862434387, 0.10946686565876007, 0.1484636515378952, 0.3928382992744446, 0.04617788642644882, -0.0001745583867887035, 0.005567729938775301, -0.477770060300827, -0.19291605055332184, -1.0524414777755737, 0.39021173119544983, -0.060318250209093094, 0.20108406245708466, 0.17163465917110443, 0.7628251314163208, -0.0030641225166618824, 0.6525135040283203, -0.6474703550338745, -0.3707151710987091, -0.46059513092041016, -0.08251026272773743, -0.1683633178472519, 0.2070971131324768, 0.966603696346283, -1.0909626483917236, -0.29911932349205017, 0.21360093355178833, -0.2734009623527527, 0.1738411784172058, 0.3026779592037201, -0.5675328373908997, -0.02217196859419346, 0.4790283739566803, -0.14115367829799652, 0.5599304437637329, 0.6195963621139526, -0.769900381565094, 0.16544243693351746, -0.02143000066280365, -0.3690933883190155, -1.2197563648223877, -0.2455887645483017, 0.21537156403064728, -0.07497020810842514, -0.5090352892875671, 0.22599053382873535, -0.24409863352775574, 0.2227495312690735, -0.46908071637153625, 0.8777704834938049, -0.39197298884391785, 0.1527891755104065, -0.008012705482542515, 0.4923126995563507, -0.07698342204093933, 0.3814924955368042, 0.17807884514331818, 0.618979811668396, 0.3253929913043976, -0.5870667695999146, 0.38491207361221313, 0.4339374601840973, 0.2284994274377823, 0.823820173740387, -0.32517480850219727, -0.4092453420162201, -0.2760644555091858, 0.04276813194155693, -1.0123798847198486, -0.30069196224212646, 0.10716235637664795, -0.6602460741996765, 0.10159995406866074, -0.07933156937360764, -0.6774081587791443, -0.009372474625706673, -0.28659260272979736, 0.49192023277282715, -0.023713508620858192, -0.184812530875206, 0.5303347110748291, 0.6617339253425598, -0.04513601213693619, -0.5128896832466125, -0.3334370255470276, -0.2975415289402008, -0.28705689311027527, -1.137219786643982, 0.14743414521217346, 0.09402469545602798, -0.8100152015686035, 0.23737704753875732, -0.14252665638923645, -0.6874998807907104, 0.16192296147346497, 0.1977146863937378, 0.2924357056617737, -0.23411095142364502, 0.4771137833595276, -0.1001330018043518, 0.21461062133312225, -0.22551816701889038, 0.23501744866371155, 0.6648614406585693, -0.04806825518608093, 0.7602535486221313, 0.042997706681489944, 0.6393679976463318, 0.4723455607891083, -0.022368542850017548, 1.0576989650726318, 0.04536963626742363, -0.3383021354675293, -0.4529472291469574, -0.4681040346622467, 0.02924392558634281, -0.3285179138183594, -0.16669239103794098, -0.7698702812194824, -0.8507300019264221, 0.7124643325805664, 0.2252681702375412, -0.22932760417461395, 0.7255728840827942, 0.49625685811042786, -0.1787591427564621, 0.42713841795921326, 0.8438833951950073, -0.12860602140426636, 0.250738263130188, -0.6909976005554199, 0.11517615616321564, -0.8277227878570557, 0.027447868138551712, -0.4537546932697296, -0.09035813063383102, -0.5019006729125977, -0.24079887568950653, -0.030944814905524254, 0.2164236158132553, -0.07014573365449905, 0.5789092183113098, -0.24692972004413605, 0.2016935795545578, 0.22687125205993652, -0.1237790435552597, 0.3777952194213867, 0.07129672914743423, -0.23068185150623322, 0.38932904601097107, -0.5095335841178894, -0.817389726638794, 0.6146922707557678, 0.4331851303577423, 0.24375542998313904, 0.44113072752952576, 0.7672786116600037, -0.1288336217403412, 0.456722229719162, -1.1609714031219482, 0.4424256682395935, -0.6348662376403809, -0.7807047367095947, -0.09858563542366028, -0.6011543273925781, -1.3600027561187744, 0.18685191869735718, -0.03188196197152138, -0.7610914707183838, 0.8665834069252014, -0.21533557772636414, -0.6300719380378723, 0.15574778616428375, -0.8168624043464661, 0.8407037854194641, 0.016773143783211708, -0.40005558729171753, 0.21262748539447784, -0.43421489000320435, 0.36443519592285156, -0.037117261439561844, 0.29670315980911255, -0.4549940228462219, -0.40524211525917053, 0.7901694774627686, -0.510137140750885, 0.46946629881858826, 0.3483831286430359, -0.09024389088153839, 0.28287068009376526, 0.5003510117530823, -0.3313165307044983, -0.018711470067501068, -0.05751954764127731, -0.16696813702583313, 0.6556436419487, -0.4844185709953308, -0.41845861077308655, 0.9637171626091003, -0.8537812829017639, -0.07465940713882446, -0.6345720291137695, -0.7352959513664246, -0.438869833946228, -0.20751889050006866, 0.37833595275878906, 0.7634994983673096, -0.2668721079826355, 0.4552046060562134, 0.3560395836830139, -0.12362090498209, 0.34844404458999634, 0.16542130708694458, -0.23183609545230865, -0.2272515743970871, 0.7369410395622253, 0.4403386116027832, 0.3529641628265381, 0.6878543496131897, 0.35235169529914856, -0.25814253091812134, -0.15087445080280304, -0.034614160656929016, 0.6807944774627686, -0.4326755702495575, 0.2568340003490448, -0.7183895707130432, -0.19260680675506592, -0.0822078287601471, -0.29123011231422424, -0.109290212392807, -0.36967945098876953, -0.03892899677157402, -0.27105265855789185, 0.1700587421655655, 0.5625686049461365, 0.2690059244632721, 0.4053686857223511, -0.7753185629844666, 0.473638653755188, 0.16070763766765594, 0.24388587474822998, -0.06207374855875969, -0.24867822229862213, 0.3106840252876282, -0.5233982801437378, -0.1715981513261795, -1.0260403156280518, 0.3373855948448181, 0.1193997859954834, 0.325000524520874, 0.332564115524292, -0.08717262744903564, 0.182021826505661, -0.2003549486398697, 0.6712194681167603, 0.2313469499349594, -0.6809359192848206, 0.20848555862903595, -0.7278391718864441, -0.18012647330760956, 0.737740159034729, 0.5691608786582947, -0.3651880919933319, 0.07341577857732773, -1.0917613506317139, -1.188158392906189, 0.11415646970272064, 0.5984055399894714, 0.41387271881103516, -0.2636585235595703, 0.4309465289115906, 0.0031084211077541113, 0.2513104975223541, -0.4523361921310425, -0.6803523898124695, 0.24808435142040253, -0.42538678646087646, 0.030362561345100403, -0.2827761769294739, -0.2851400673389435, -0.41061556339263916, 0.38517633080482483, 0.25758904218673706, 0.2894291579723358, 0.5581080317497253, 0.022937584668397903, -0.07562077045440674, -0.012668471783399582, 0.5537709593772888, 0.8566884994506836, -0.17685262858867645, 0.30699315667152405, -0.369149774312973, -0.6230857372283936, 0.2478313148021698, -0.1413360983133316, 0.0017775207525119185, 0.11860927939414978, 0.5371402502059937, 0.5411025881767273, 0.25062984228134155, -0.27678805589675903, 0.9003390669822693, 0.09632090479135513, -0.5292930603027344, -0.6986469030380249, -0.19435356557369232, 0.4779864251613617, -0.15525266528129578, 0.07017631083726883, -0.29622510075569153, -0.06813463568687439, -1.1586241722106934, 0.5606363415718079, 0.30470937490463257, -0.46854135394096375, -0.23788529634475708, 0.3949805200099945, 0.41364485025405884, -0.13675625622272491, 0.15838876366615295, -0.43333899974823, -0.5383087992668152, 0.47144216299057007, -0.0352754183113575, 0.834847092628479, -0.25634124875068665, 0.33965158462524414, 0.4254906475543976, 0.0662313923239708, -0.016208739951252937, 0.3291897773742676, 0.07823076844215393, -1.193413257598877, -0.32703882455825806, -0.9612313508987427, -0.04070707783102989, 0.23907141387462616, -0.36827462911605835, 0.21275360882282257, -0.2761722207069397, -0.012473898008465767, 0.3040935695171356, -0.2785147726535797, -0.7192672491073608, 0.08447720855474472, 0.16467784345149994, 0.7821584939956665, -0.5992991328239441, 0.7730777859687805, 0.4636305272579193, -0.6704726815223694, -0.8634647130966187, 0.10836251080036163, -0.28778931498527527, -0.5544553399085999, 1.2175238132476807, -0.10162107646465302, -0.4538017511367798, 0.0733063668012619, -0.16346479952335358, -0.7772132754325867, 0.5856366157531738, -0.0365237295627594, -0.5309256911277771, 0.013641108758747578, -0.22882060706615448, 0.683597981929779, -0.618535578250885, -0.10039304196834564, 0.7887974381446838, 0.4002223312854767, 0.01951938308775425, -0.5298449993133545, -0.13946056365966797, -0.24558095633983612, -0.0742054358124733, 0.6954480409622192, -0.6858559250831604, 0.6793813705444336, 0.34114280343055725, -0.4972178041934967, 0.13832223415374756, 0.6013872623443604, -0.3521004915237427, 0.1771654337644577, 0.8203719854354858, 0.290760338306427, 0.17563211917877197, -0.18307629227638245, 1.3756531476974487, -0.7623423933982849, 0.31592869758605957, 0.7345377802848816, -0.1755957454442978, 0.8906196355819702, 0.6087955236434937, -0.330526202917099, 0.45837458968162537, 0.5200294852256775, 0.17392776906490326, -0.1302964687347412, 0.5363244414329529, -0.5196015238761902, 0.09369474649429321, -0.2214309424161911, 0.023250684142112732, 0.3275805413722992, 0.7816042900085449, -0.5818384885787964, -0.11287681013345718, -0.2104923129081726, 0.08784864097833633, 0.2635728418827057, -0.4365312457084656, 0.5403186082839966, 0.4970412254333496, -0.35593587160110474, 0.41689592599868774, -0.5427330732345581, 0.4319906532764435, -0.3385023772716522, 0.23476020991802216, -0.17778714001178741, -0.08616400510072708, -0.57030189037323, -0.8074396252632141, 0.19799163937568665, -0.3987720310688019, -0.05656208097934723, 0.2824564278125763, 0.3992331027984619, -0.30415329337120056, -0.4311417043209076, 0.8667155504226685, 1.0878946781158447, -0.037911515682935715, 0.012409050948917866, -0.38323453068733215, -0.1298058032989502, -0.2773423194885254, -0.40353548526763916, 0.08533262461423874, 0.5013749599456787, -0.1483009159564972, 0.2932879626750946, 0.15728916227817535, 0.2577623426914215, 0.333629310131073, 0.28400009870529175, 0.434946745634079, -0.6687818169593811, -0.3583987355232239, -0.6603690981864929, 0.24967123568058014, -0.10482918471097946, -0.662432849407196, 0.5980687141418457, 0.4050701856613159, 0.631929337978363, 0.004649251699447632, 0.708853542804718, -0.1062128096818924, 0.375434547662735, -0.005152687430381775, 0.0723978653550148, -0.45779821276664734, 0.02631847746670246, -0.13377226889133453, -1.3633521795272827, -0.5394789576530457, 0.5732775330543518, -0.5040322542190552, -0.35868480801582336, 1.0630687475204468, 0.6074626445770264, -0.18331678211688995, 0.07172482460737228, 0.4309141933917999, 0.17661745846271515, -0.2567143440246582, 0.31944864988327026, 0.8533506393432617, -0.04710625484585762, 0.3961806297302246, -0.7731029391288757, -0.2591473460197449, -0.2522311210632324, -0.417657732963562, -0.7857073545455933, -1.0338009595870972, -0.21583931148052216, -0.3639902174472809, 0.1241416186094284, 1.0119796991348267, 0.18663284182548523, -0.6466909646987915, -0.547890305519104, -0.05400776490569115, -0.03166157007217407, -0.15232358872890472, -0.2975488007068634, 0.565665066242218, -0.11960867047309875, -0.912110447883606, 0.15988880395889282, 0.18591465055942535, -0.1281437873840332, -0.316034734249115, 0.22280868887901306, -0.31646230816841125, 0.2683073878288269, 0.8412100076675415, -0.021014690399169922, -0.3276074230670929, -0.502174973487854, -0.25541484355926514, -0.33667781949043274, -0.017979774624109268, 1.1667994260787964, -0.14773185551166534, 0.21749889850616455, 1.0585107803344727, 0.1964789777994156, -0.049751948565244675, 0.370099276304245, 0.6275559663772583, -0.8311031460762024, 0.29790014028549194, 0.2581435739994049, 0.6630043387413025, 0.2372031956911087, -0.43737345933914185, 1.052328109741211, 0.5340136885643005, -0.3247803747653961, -0.38998717069625854, 0.48864322900772095, -1.3177049160003662, -0.49916526675224304, 1.499213695526123, 0.21941250562667847, -0.42874476313591003, -0.6651851534843445, -0.3251546323299408, 0.13665784895420074, -0.5418452024459839, -0.012153311632573605, 1.1171042919158936, -0.3613000512123108, 0.02968333475291729, -1.1583266258239746, 0.5899181962013245, 0.079245924949646, -0.014195363968610764, -0.06480562686920166, 0.1993110626935959, 0.13958044350147247, 0.6902841329574585, 0.47581347823143005, -0.29674389958381653, -0.018020393326878548, -0.1220666766166687, -0.014755694195628166, 0.45720812678337097, -0.178190678358078, -0.23521867394447327, 0.7387405633926392, -0.06163976341485977, -0.039271049201488495 ]
http://arxiv.org/abs/2406.19712v1
http://arxiv.org/pdf/2406.19712v1
Uncertainty Quantification in Large Language Models Through Convex Hull Analysis
2024-06-28T07:47:34
2024-06-28T07:47:34
Ferhat Ozgur Catak, Murat Kuzlu
cs.AI
cs.AI, cs.CL
Uncertainty quantification approaches have been more critical in large language models (LLMs), particularly high-risk applications requiring reliable outputs. However, traditional methods for uncertainty quantification, such as probabilistic models and ensemble techniques, face challenges when applied to the complex and high-dimensional nature of LLM-generated outputs. This study proposes a novel geometric approach to uncertainty quantification using convex hull analysis. The proposed method leverages the spatial properties of response embeddings to measure the dispersion and variability of model outputs. The prompts are categorized into three types, i.e., `easy', `moderate', and `confusing', to generate multiple responses using different LLMs at varying temperature settings. The responses are transformed into high-dimensional embeddings via a BERT model and subsequently projected into a two-dimensional space using Principal Component Analysis (PCA). The Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm is utilized to cluster the embeddings and compute the convex hull for each selected cluster. The experimental results indicate that the uncertainty of the model for LLMs depends on the prompt complexity, the model, and the temperature setting.
[ -0.5130012631416321, -1.549804449081421, 0.825720489025116, 0.28091317415237427, -0.201353520154953, -0.09494244307279587, -0.3717656433582306, -0.10504249483346939, 0.12421753257513046, -0.006525720003992319, -0.3834001123905182, -0.6880958676338196, -0.674311101436615, -0.12114842236042023, -0.07731395959854126, 0.3433457612991333, 0.017054017633199692, 0.11660482734441757, -0.15551503002643585, 0.16124069690704346, -0.33175888657569885, -0.47457271814346313, -0.4821719229221344, 0.23295742273330688, 0.419341504573822, 0.1473575234413147, 0.8959961533546448, 0.2887420952320099, 0.7038514614105225, 0.3268689513206482, -0.10022178292274475, -0.13952499628067017, -0.2266848087310791, 0.19434432685375214, 0.01462517585605383, -0.1896241456270218, -0.38004109263420105, -0.3080996870994568, 0.7991180419921875, 0.9144987463951111, -0.33262985944747925, 0.05400508642196655, 0.2522144317626953, 0.36115092039108276, -0.6735928654670715, 0.4217587411403656, -0.6268483996391296, 0.08161457628011703, -0.15867434442043304, 0.20270828902721405, -0.1549096256494522, -0.5703928470611572, 0.17262394726276398, -0.6795449256896973, -0.09812580049037933, 0.029094107449054718, 0.36847934126853943, 0.4276307225227356, -0.4467869699001312, -0.42071497440338135, -1.0001614093780518, 1.1665383577346802, -1.0818805694580078, 0.4310576021671295, 0.36780571937561035, 0.31282076239585876, -0.3542267978191376, -0.17621129751205444, -0.7879302501678467, 0.12889312207698822, 0.10719318687915802, 0.1002502515912056, -0.20224514603614807, 0.053859975188970566, -0.25962987542152405, 0.2760962247848511, -0.6827894449234009, 0.4276559054851532, 0.004326650407165289, -0.16798906028270721, 0.6140525937080383, 0.2204640805721283, 0.06778522580862045, -0.16772431135177612, -0.10367149114608765, -0.4575551450252533, -0.17657950520515442, 0.1920972764492035, 0.4728648066520691, 0.45625919103622437, -0.3617978096008301, 0.6746749877929688, 0.08682036399841309, 0.6332581639289856, -0.1363360583782196, -0.29643675684928894, 0.011877848766744137, -0.06507009267807007, -0.2140474021434784, -0.18296603858470917, 0.9388282299041748, 0.04944995790719986, -0.14643517136573792, 0.4183332920074463, -0.09663542360067368, -0.21146321296691895, 0.08500052988529205, -0.3984665274620056, -0.07995892316102982, 0.5928617119789124, -0.24687990546226501, -0.34849560260772705, 0.08021534979343414, -1.2258663177490234, -0.4617394506931305, -0.07853943854570389, 0.5032182931900024, -0.40992623567581177, -0.39188989996910095, 0.3968501389026642, 0.4386427402496338, 0.1728825867176056, 0.1647876650094986, -0.6321532130241394, 0.037533655762672424, 0.6467906832695007, 0.5904046893119812, -0.23917438089847565, 0.031177042052149773, -0.10808471590280533, 0.27948465943336487, -0.400876522064209, 0.5594000220298767, -0.7238214612007141, -0.5062891840934753, 0.3576820492744446, -0.4652213156223297, 0.15351489186286926, -0.1447744071483612, 0.29774796962738037, -0.2096284180879593, 0.04895736277103424, -0.22863730788230896, -0.44864538311958313, -0.11788375675678253, 0.29951542615890503, -0.7817984223365784, 1.4380712509155273, 0.058304570615291595, -0.797223687171936, 0.21898657083511353, -0.1518528014421463, -0.2992820739746094, 0.036523766815662384, -0.47987836599349976, -0.7992448806762695, 0.38890621066093445, 0.3511583209037781, 0.852688193321228, -0.3680179715156555, 0.3904725909233093, -0.7547889351844788, -0.12277203798294067, 0.6745114326477051, -0.3456866145133972, 0.3525443971157074, 0.21939556300640106, -0.2652955651283264, -0.11093086749315262, -0.894509494304657, 0.13965478539466858, 0.005377914756536484, -0.5604214668273926, -0.4286283254623413, 0.2075616717338562, -0.13638858497142792, -0.09016036242246628, 0.4423789978027344, -0.5079777836799622, 0.28844961524009705, -0.15930277109146118, 0.27770864963531494, 0.7171992659568787, 0.26533976197242737, 0.3861334025859833, -0.04227571561932564, 0.509840190410614, 0.2938152253627777, 0.24829286336898804, 0.4957408010959625, -0.7045168876647949, -0.43632885813713074, -0.4522857666015625, -0.0908123329281807, 0.5439215898513794, -0.6474725008010864, 0.5741987228393555, -0.12385768443346024, -0.6010382771492004, -0.07220536470413208, -0.28964895009994507, 0.03005463257431984, -0.11817234009504318, 0.07304548472166061, 0.10352271050214767, -0.41011014580726624, -0.6457986235618591, 0.1505078673362732, -0.4417775273323059, -0.10406658798456192, 0.2757105827331543, 0.35334357619285583, -0.14676079154014587, 0.9136382937431335, -0.802416980266571, -0.040323540568351746, -0.1469728946685791, 0.1947004795074463, 0.5859576463699341, 0.47230294346809387, 0.6244576573371887, -0.41436833143234253, -0.3576889634132385, 0.25309988856315613, -0.4731842577457428, 0.034361690282821655, -0.17974893748760223, -0.05501467362046242, 0.010668515227735043, 0.3705911636352539, -0.6696722507476807, 0.5812165141105652, 0.7370600700378418, 0.057667773216962814, 0.641972005367279, -0.15382172167301178, 0.005076148081570864, -1.2190102338790894, -0.138666033744812, 0.1162075623869896, 0.1806749552488327, -0.5090753436088562, -0.08738195151090622, -0.25656071305274963, -0.11903740465641022, -0.1641257405281067, 0.16081762313842773, -0.2850998044013977, -0.33353370428085327, 0.07848328351974487, 0.03219877555966377, -0.16741783916950226, 0.4255716800689697, 0.08596677333116531, 0.41044682264328003, 0.7031298875808716, -0.564628005027771, 0.4473850727081299, 0.2574969232082367, -0.4735214412212372, 0.7674192786216736, -0.8178192973136902, -0.08191025257110596, -0.15743881464004517, -0.010015624575316906, -1.4026027917861938, -0.13289450109004974, 0.2765481472015381, -0.35818541049957275, 0.3422820270061493, 0.14749303460121155, -0.2990470826625824, -0.3795737028121948, -0.20429137349128723, 0.5817340016365051, 0.13206997513771057, 0.0486564114689827, 0.5031870007514954, 0.39260634779930115, -0.7379748225212097, -0.3894200623035431, -0.5587400197982788, -0.2391292303800583, -0.36005499958992004, -0.4296882748603821, 0.03040008246898651, -0.25384125113487244, -0.3450137674808502, -0.3481309711933136, -0.02854727953672409, -0.5016468167304993, 0.12491469085216522, 0.28772953152656555, -0.017967047169804573, -0.1838131546974182, 0.015063445083796978, 0.19698049128055573, 0.1914910227060318, 0.15713296830654144, -0.37568971514701843, 0.5024663805961609, -0.05229058861732483, -0.543968915939331, -0.3616391718387604, 0.5246479511260986, 0.5105032920837402, -0.121892549097538, 0.7028687596321106, 0.8167921304702759, -0.5993484854698181, -0.33384808897972107, -0.48559579253196716, -0.12408027797937393, -0.4813252389431, 0.5828606486320496, -0.4541827142238617, -0.7540221810340881, 0.7808954119682312, 0.1957147866487503, -0.047401588410139084, 0.2901436686515808, 0.8119252324104309, -0.3838508725166321, 0.8456975221633911, 0.5614849925041199, -0.12410296499729156, 0.17362000048160553, -0.013310783542692661, 0.5278518795967102, -0.3861672878265381, -0.3283732831478119, -0.8857381939888, -0.3559110164642334, -0.4890085756778717, -0.622377336025238, 0.8679428696632385, -0.06437460333108902, -0.25630509853363037, 0.009414061903953552, -0.22655710577964783, 0.007896034978330135, 0.5500756502151489, 0.07814966142177582, 0.09312029927968979, 0.19956034421920776, -0.27358412742614746, -0.3149670362472534, -0.5142356753349304, -0.2561960220336914, 0.751639187335968, 0.49307185411453247, 1.0410953760147095, 0.49930885434150696, 0.3942263424396515, 0.15808804333209991, -0.36932748556137085, -0.6712296605110168, 0.3604563772678375, -0.019583923742175102, -0.22172792255878448, -0.8663708567619324, -0.5935761332511902, -0.9092137813568115, 0.13158436119556427, -0.3456382751464844, -0.7947689890861511, 0.35402148962020874, -0.08332487940788269, -0.6788785457611084, 0.4167734682559967, -0.18363283574581146, 0.41656026244163513, -0.0627773329615593, -0.06871575862169266, -0.00949131604284048, -0.26887694001197815, 0.011042161844670773, -0.3833529055118561, 0.5611310005187988, -0.055574458092451096, 0.2014160305261612, 0.3939603865146637, -0.25014492869377136, 1.0246464014053345, -0.12461575120687485, -0.6809244155883789, 0.2562820315361023, 0.6676594614982605, 0.711591899394989, 0.29523152112960815, -0.19742144644260406, 0.3523918688297272, 0.14888817071914673, -0.37103724479675293, -0.45856574177742004, 0.569186270236969, -0.8919485807418823, -0.3735255300998688, -0.3130102753639221, -0.877184271812439, -0.4813135266304016, 0.01632433570921421, 0.4837554693222046, 0.23246696591377258, -0.136240616440773, 0.17086462676525116, 0.6369173526763916, -0.820242702960968, 0.3474799692630768, 0.3539191782474518, -0.005735414568334818, -0.17200978100299835, 0.7127569913864136, 0.20225562155246735, -0.06645994633436203, 0.4449958801269531, 0.22507871687412262, -0.18785476684570312, -0.9427322149276733, 0.04703902825713158, 0.08921249955892563, -0.21716657280921936, -0.2629755139350891, -0.25189995765686035, 0.0781422108411789, -0.5696517825126648, -0.346427321434021, -0.49505719542503357, -0.32768887281417847, -0.373552143573761, -0.26637399196624756, 0.17421680688858032, 1.0612837076187134, -0.21271257102489471, 0.5852311849594116, -0.5768945217132568, -0.03607143834233284, 0.2783597707748413, 0.3113810420036316, -0.19566982984542847, -0.32168710231781006, -0.3098403513431549, 0.3741193413734436, -0.10992804169654846, -0.9950376749038696, 0.46552228927612305, 0.32524412870407104, 0.6867691278457642, 0.4142951965332031, 0.2395528107881546, 0.4041181802749634, -0.1570511907339096, 0.8796604871749878, 0.095963254570961, -1.0257941484451294, 0.43557897210121155, -0.5484524369239807, 0.21675021946430206, 0.04755888134241104, 0.39851614832878113, -0.1631302535533905, -0.5636311769485474, -0.08638639003038406, -0.8701756000518799, 0.12502437829971313, 0.11335891485214233, -0.042976994067430496, -0.017437921836972237, 0.5151765942573547, 0.01721830479800701, 0.07433732599020004, -0.5423775315284729, 0.0032134398352354765, 0.04737961292266846, -0.3724311590194702, -0.04254227876663208, -0.6176068186759949, 0.1542600691318512, -0.044575147330760956, 0.5098029971122742, -0.05775894224643707, 0.4525359272956848, -0.029830599203705788, -0.08482766151428223, -0.06944163143634796, 0.2094743549823761, 0.5489306449890137, 0.5131305456161499, -0.38060423731803894, 0.20392750203609467, 0.21160414814949036, -0.5220244526863098, 0.0971967950463295, -0.22652292251586914, 0.18407973647117615, 0.13039839267730713, 0.42258724570274353, 0.4323234558105469, 0.2512114346027374, -0.2966814935207367, 0.5209858417510986, -0.03690831735730171, -0.1855010986328125, -0.469978392124176, -0.47262808680534363, -0.187804713845253, 0.32199424505233765, 0.4377804696559906, -0.3840905725955963, 0.16547492146492004, -0.06024714186787605, 0.17086179554462433, 0.41859936714172363, -0.2407248616218567, -0.4300844669342041, 0.42017483711242676, -0.006876741535961628, 0.5272824764251709, 0.660901665687561, 0.01763656735420227, -0.2915670573711395, 0.6306900382041931, 0.3612942695617676, 0.46615836024284363, -0.582861602306366, 0.35660234093666077, 0.47040465474128723, 0.5866386890411377, 0.29978078603744507, 0.5902840495109558, 0.360365629196167, -0.9125726819038391, -0.505017101764679, -0.8995258212089539, -0.30183181166648865, 0.03836672753095627, -1.1460464000701904, -0.14811943471431732, -0.516451358795166, -0.49984437227249146, -0.12413131445646286, -0.14509013295173645, -0.5236349105834961, 0.08349402248859406, 0.174282506108284, 0.5075581669807434, -1.0193378925323486, 0.6521674394607544, 0.5571199059486389, 0.051166877150535583, -0.7483623027801514, -0.2005549520254135, 0.10346154868602753, -0.6955010294914246, 0.2818370759487152, -0.2398819476366043, 0.07532847672700882, -0.18611401319503784, -0.3251296579837799, -1.1085976362228394, 0.8417225480079651, 0.428986519575119, -0.7677658200263977, 0.12557891011238098, 0.8593215942382812, 0.3404247462749481, -0.023104548454284668, -0.03436199203133583, 0.6277311444282532, 0.6501442193984985, 0.04939548298716545, -0.8298539519309998, -0.04594450816512108, 0.19303449988365173, 0.4245414733886719, 0.14034445583820343, -0.152567520737648, 1.0569244623184204, -0.20833785831928253, -0.1666608452796936, 0.11132673919200897, 0.7784445285797119, 0.1394391506910324, -0.043127454817295074, 0.3724231421947479, 0.6106618046760559, 0.83930504322052, -0.3472921848297119, 0.8084964752197266, -0.18863996863365173, 0.7902929186820984, 0.9046897292137146, -0.3808255195617676, 1.0424041748046875, 0.5729719996452332, -0.6491004228591919, 0.3951050937175751, 0.7079887986183167, 0.15654224157333374, 0.24930976331233978, 0.5392407774925232, -0.2408743053674698, -0.20665313303470612, 0.12972500920295715, -0.36459362506866455, 0.3276841640472412, 0.9359192848205566, 0.21474239230155945, -0.04920247942209244, 0.1954021155834198, -0.00020047760335728526, 0.021800311282277107, -0.09318291395902634, 0.7133363485336304, 0.08595997095108032, -0.11788742244243622, 0.47107768058776855, 0.03490108996629715, 0.4675666391849518, -0.47152480483055115, 0.23435577750205994, -0.33703428506851196, 0.14556953310966492, -0.06709349900484085, -0.8849853277206421, 0.4235779941082001, -0.40643224120140076, -0.054830387234687805, 0.20041508972644806, -0.012525615282356739, -0.5516315698623657, -0.9509638547897339, 0.06001326069235802, 0.35623493790626526, 0.10912147909402847, -0.2034505307674408, -0.539014458656311, 0.6720085144042969, -0.18660493195056915, -0.3617526888847351, 0.014004144817590714, 0.630492627620697, 0.0676664412021637, 0.5702784657478333, 0.5188819766044617, 0.03645138815045357, 0.34485897421836853, -0.2866309881210327, 0.5056382417678833, -0.186043381690979, -0.4483700692653656, -0.7908194065093994, 0.3801877200603485, 0.38481616973876953, -0.20134124159812927, 0.77731853723526, 0.35460221767425537, 0.4639345109462738, -0.2537544369697571, 0.8202474117279053, -0.07996062934398651, 0.27170130610466003, -0.6472910046577454, 0.43725040555000305, -0.2634681463241577, 0.37633538246154785, -0.499423086643219, -1.2392284870147705, -0.48343712091445923, 0.9175761938095093, -0.17526313662528992, -0.06783593446016312, 0.5937916040420532, 0.8467012643814087, 0.022367997094988823, -0.22393453121185303, 0.4688325822353363, 0.7612303495407104, 0.31128808856010437, 0.6844833493232727, 0.6032318472862244, -0.13774138689041138, 0.3884284496307373, -0.295859158039093, -0.3515220284461975, -0.1229807659983635, -0.9000268578529358, -0.5662426948547363, -1.0478678941726685, -0.3482702970504761, -0.322336345911026, -0.16282378137111664, 0.5557667016983032, 0.7343753576278687, -1.0177297592163086, -0.3724667727947235, 0.27318716049194336, -0.0856868177652359, -0.26550713181495667, -0.25970548391342163, 0.6508029103279114, -0.06465711444616318, -0.7894622087478638, 0.25469061732292175, 0.21519333124160767, 0.2536059617996216, -0.5518352389335632, 0.17879687249660492, -0.04700044170022011, 0.3862403929233551, 0.6524258255958557, -0.12733855843544006, -0.5549936294555664, -0.49900752305984497, -0.25218454003334045, -0.20715413987636566, -0.3327252268791199, 0.5533356070518494, -0.08307375758886337, 0.1783200204372406, 0.56695955991745, 0.6711798906326294, 0.41144296526908875, -0.3237744867801666, 0.8796149492263794, -1.1733320951461792, 0.27810657024383545, -0.027573853731155396, 0.4786372780799866, 0.09583862870931625, -0.604790985584259, 0.12998375296592712, -0.052634332329034805, -0.42660439014434814, -0.6281885504722595, 0.4616873562335968, -1.2055675983428955, -0.5522170066833496, 1.238227367401123, -0.24474306404590607, -0.1717054694890976, -0.11193446069955826, -0.06858813017606735, -0.07074641436338425, -0.38991987705230713, 0.913072407245636, 0.8549299240112305, 0.3034709692001343, -0.025088349357247353, -0.4623711109161377, 0.15602995455265045, 0.26023590564727783, -0.8001402020454407, -0.015630386769771576, 0.6314339637756348, 0.14094874262809753, 0.06464815884828568, -0.047568608075380325, -0.05534449964761734, -0.08551943302154541, -0.2557583451271057, 0.2449817657470703, 0.21273109316825867, -0.2640381455421448, -0.3291460871696472, 0.28017958998680115, 0.0408475436270237, 0.01336127519607544 ]
http://arxiv.org/abs/2406.19674v1
http://arxiv.org/pdf/2406.19674v1
Less is More: Accurate Speech Recognition & Translation without Web-Scale Data
2024-06-28T06:22:23
2024-06-28T06:22:23
Krishna C. Puvvada, Piotr Żelasko, He Huang, Oleksii Hrinchuk, Nithin Rao Koluguri, Kunal Dhawan, Somshubra Majumdar, Elena Rastorgueva, Zhehuai Chen, Vitaly Lavrukhin, Jagadeesh Balam, Boris Ginsburg
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS
Recent advances in speech recognition and translation rely on hundreds of thousands of hours of Internet speech data. We argue that state-of-the art accuracy can be reached without relying on web-scale data. Canary - multilingual ASR and speech translation model, outperforms current state-of-the-art models - Whisper, OWSM, and Seamless-M4T on English, French, Spanish, and German languages, while being trained on an order of magnitude less data than these models. Three key factors enables such data-efficient model: (1) a FastConformer-based attention encoder-decoder architecture (2) training on synthetic data generated with machine translation and (3) advanced training techniques: data-balancing, dynamic data blending, dynamic bucketing and noise-robust fine-tuning. The model, weights, and training code will be open-sourced.
[ -0.2203812301158905, -0.3852701485157013, 0.12957912683486938, 0.15896296501159668, -0.06627701222896576, 0.0156877301633358, -0.17855870723724365, -0.7605010867118835, 0.11913236230611801, 0.21686656773090363, -0.5315589904785156, -0.25302696228027344, -0.6628366112709045, 0.07904117554426193, -0.8120582103729248, 0.5640937685966492, 0.40182754397392273, 0.3059966564178467, -0.024689683690667152, -0.16733066737651825, 0.15510593354701996, -0.38662341237068176, -0.8797891139984131, -0.32612383365631104, 0.49301469326019287, 0.3761764168739319, 0.6965336799621582, 0.9613381624221802, 0.4331429600715637, 0.24101197719573975, -0.15123102068901062, 0.07143860310316086, -0.46686676144599915, -0.4645453691482544, 0.24213792383670807, -0.36214545369148254, -0.5482264757156372, 0.0037391679361462593, 0.5052803158760071, 0.8225056529045105, -0.10574308037757874, 0.3065200746059418, -0.0037659688387066126, 0.8540986180305481, -0.5879209637641907, 0.2634420394897461, -0.7747636437416077, 0.053988534957170486, -0.23454152047634125, 0.25914233922958374, -0.25600549578666687, -0.37490057945251465, 0.2394874393939972, -0.7942690253257751, 0.2951742708683014, -0.19034837186336517, 0.6405261754989624, 0.524958610534668, -0.5600716471672058, -0.2771788239479065, -0.7270739674568176, 0.7422671914100647, -0.667361319065094, 1.0569020509719849, 0.39763107895851135, 0.46329087018966675, 0.11152204871177673, -0.8364980816841125, -0.7210590839385986, -0.03286353126168251, 0.3062881529331207, 0.22952458262443542, -0.42745447158813477, -0.040626682341098785, 0.06768486648797989, 0.3408615291118622, -0.6733644604682922, 0.16118142008781433, -0.5263194441795349, -0.2288852035999298, 0.43703651428222656, -0.2341143935918808, -0.15885324776172638, 0.19516372680664062, -0.09607842564582825, -0.35985034704208374, -0.697440505027771, 0.2122986614704132, -0.013677443377673626, 0.7402934432029724, -0.578141450881958, 0.394320011138916, -0.36965852975845337, 0.7503724098205566, 0.210977703332901, -0.38461053371429443, 0.39106667041778564, -0.1062217578291893, -0.2744464576244354, 0.4019779860973358, 0.6544281244277954, 0.2890228033065796, 0.3430064618587494, -0.24422655999660492, 0.16034583747386932, 0.2931530773639679, -0.0098831532523036, -0.5666242241859436, -0.23363789916038513, 0.39011070132255554, -0.31408828496932983, -0.11439680308103561, -0.16246455907821655, -0.3475269675254822, -0.3288135528564453, -0.4572204053401947, 0.06707248091697693, -0.11680197715759277, -0.06512267142534256, 0.03434073552489281, -0.14252489805221558, 0.3265611231327057, 0.547045886516571, -0.4593752324581146, 0.3303309977054596, 0.5228230357170105, 1.0959452390670776, -0.14959417283535004, -0.17411625385284424, -0.8184678554534912, 0.04953911527991295, -0.3922852575778961, 0.5117657780647278, -0.2918953597545624, -0.19022181630134583, 0.02261669747531414, 0.01260734535753727, -0.029125548899173737, -0.4297361373901367, 0.7190501689910889, -0.4305661916732788, 0.030804844573140144, -0.20527499914169312, -0.5309033393859863, -0.18143223226070404, 0.0858464166522026, -0.8528141975402832, 0.7458667159080505, -0.35618969798088074, -0.664264976978302, 0.2344149798154831, -0.7417488098144531, -0.5384796261787415, -0.2095545083284378, 0.24864564836025238, -0.14185358583927155, 0.1773098111152649, 0.5004826188087463, 0.2157493233680725, -0.3827427327632904, -0.12377037107944489, -0.17279931902885437, -0.22749677300453186, 0.3147066831588745, -0.7010658979415894, 0.7284337282180786, 0.44532859325408936, -0.25687745213508606, -0.13199229538440704, -1.085005760192871, 0.0537136010825634, -0.03944794833660126, -0.7027598023414612, 0.12119486182928085, 0.12025987356901169, 0.5543258786201477, 0.34637439250946045, 0.4196789860725403, -0.9708521366119385, -0.29540109634399414, -0.7075046300888062, 0.6832398772239685, 0.2696329653263092, -0.6088833212852478, 0.5045909881591797, -0.3229077160358429, 0.27125540375709534, -0.17532645165920258, 0.2711630165576935, 0.21059861779212952, -0.5531174540519714, -0.8826356530189514, -0.2870504558086395, 0.4203381836414337, 0.7184413075447083, -0.5122040510177612, 0.21779902279376984, -0.9316571950912476, -0.6471593379974365, -0.9573023915290833, 0.15980587899684906, 0.5282773375511169, 0.6294239163398743, 0.5921227335929871, 0.0009733726619742811, -0.5578951835632324, -0.5582038164138794, -0.21183843910694122, 0.04107718914747238, -0.10660596191883087, 0.1401633322238922, 0.08495458215475082, -0.20675316452980042, 0.69733065366745, -0.1773151457309723, -0.48293066024780273, -0.2946554720401764, -0.15486691892147064, 0.28791543841362, 0.46288153529167175, 0.2171587496995926, -0.8563037514686584, -0.7245063781738281, 0.41959109902381897, -0.45676183700561523, 0.17625854909420013, 0.20527520775794983, 0.42419496178627014, 0.1285586953163147, 0.4532944858074188, -0.4423035681247711, 0.22049745917320251, 0.8020411133766174, 0.3808498680591583, -0.12664847075939178, -0.18352153897285461, -0.07633941620588303, -0.8575229644775391, 0.2517715394496918, -0.1288425177335739, -0.6673870086669922, -0.8334715366363525, 0.11851813644170761, 0.23198148608207703, -0.42229264974594116, -0.8827416300773621, 0.5528032183647156, -0.414332777261734, -0.2182227075099945, -0.3705880343914032, 0.40063413977622986, 0.04077643156051636, 0.2045276165008545, 0.23606908321380615, 0.772929310798645, 0.4669043719768524, -0.6778734922409058, 0.35057902336120605, 0.2863647937774658, -0.08518318086862564, 0.47864747047424316, -0.7414420247077942, 0.2862986624240875, 0.036548737436532974, 0.10403548926115036, -0.8344114422798157, -0.2803356349468231, -0.20473065972328186, -0.7574955224990845, 0.12592969834804535, -0.27348947525024414, -0.41177457571029663, -0.4507278501987457, -0.37444519996643066, 0.02889508567750454, 0.599852442741394, -0.6796020865440369, 0.2970483899116516, 0.4914311468601227, -0.1334116905927658, -0.5253225564956665, -1.056411623954773, 0.04851515591144562, 0.005747226532548666, -0.414029985666275, 0.20789285004138947, 0.1653381586074829, 0.05646171793341637, -0.144331693649292, -0.28767234086990356, -0.6085560321807861, -0.15643952786922455, 0.04071376845240593, -0.20854248106479645, -0.23170873522758484, 0.1426580846309662, 0.09285397082567215, -0.06813251972198486, -0.3400084674358368, -0.4561205506324768, 0.49952465295791626, -0.034429293125867844, -0.31456926465034485, -0.915567934513092, 0.34148484468460083, 0.9513828158378601, -0.23072902858257294, 0.45278769731521606, 0.63739013671875, -0.5297426581382751, 0.37520021200180054, -0.5161473155021667, 0.07175217568874359, -0.46928659081459045, 0.22586335241794586, -0.4177344739437103, -0.6036123037338257, 0.4169284403324127, 0.10091337561607361, 0.2807745635509491, 0.33099624514579773, 0.21281087398529053, -0.25832313299179077, 1.1577798128128052, 0.6186103820800781, -0.2926163673400879, 0.502690315246582, -0.05493909865617752, -0.06395193934440613, -0.7633477449417114, -0.039031822234392166, -0.510134756565094, -0.3115684688091278, -0.6177309155464172, -0.3535762429237366, 0.5333099961280823, -0.16007956862449646, -0.07160839438438416, 0.47198861837387085, -0.6006348729133606, 0.3133997917175293, 0.745115339756012, 0.11819839477539062, 0.45674052834510803, 0.15210294723510742, 0.2372642159461975, -0.0840655192732811, -0.8917370438575745, -0.3029179275035858, 1.4286977052688599, 0.1561506688594818, 0.7795639634132385, 0.22487685084342957, 0.3462764322757721, 0.3470333516597748, -0.11820743978023529, -0.7572904825210571, -0.01684548333287239, -0.5197986960411072, -0.6164243221282959, -0.4198334217071533, -0.4778473377227783, -1.1755694150924683, 0.23904868960380554, -0.179649218916893, -0.48309844732284546, 0.28375548124313354, 0.5226277112960815, -0.32371240854263306, -0.017102034762501717, -0.7498325109481812, 0.6091225147247314, -0.3436746895313263, -0.07178304344415665, -0.17999963462352753, -0.7465217709541321, 0.07112631946802139, -0.2591748535633087, 0.4390449821949005, 0.013666494749486446, -0.15204884111881256, 0.7319170832633972, -0.5172359347343445, 0.8147392272949219, -0.2190137505531311, 0.08125127106904984, 0.12287034094333649, -0.25346115231513977, 0.7873021364212036, -0.3707013428211212, -0.15162569284439087, 0.22943855822086334, 0.21995946764945984, -0.48689961433410645, -0.39604735374450684, 0.5824256539344788, -0.8626829981803894, 0.012205575592815876, -0.24175502359867096, -0.365801066160202, -0.18612417578697205, 0.1773311048746109, 0.49028751254081726, 0.40440118312835693, -0.22053895890712738, 0.3183193802833557, 0.5494784116744995, -0.028237011283636093, 0.3589732348918915, 0.7306063175201416, -0.02584053948521614, -0.6047528982162476, 1.0344085693359375, 0.5019855499267578, 0.2790830135345459, 0.6628143191337585, 0.25530001521110535, -0.7383803129196167, -0.527151882648468, -0.6508734822273254, 0.19362859427928925, -0.6619824171066284, -0.07920761406421661, -0.9292881488800049, -0.07175582647323608, -0.6857458353042603, -0.13350549340248108, -0.8709756135940552, -0.5888872146606445, -0.23116976022720337, -0.06381373107433319, 0.5585945248603821, 0.5491344332695007, -0.21248146891593933, 0.852210283279419, -0.8376509547233582, 0.33346134424209595, 0.3701409101486206, -0.2115478664636612, -0.11185802519321442, -0.5866953134536743, -0.31920701265335083, 0.4020169973373413, -0.05597768723964691, -0.6214948296546936, 0.5647894740104675, 0.6806997656822205, 0.21454313397407532, 0.46239355206489563, 0.09414814412593842, 0.9884973168373108, -0.6213098764419556, 0.5353407859802246, 0.3273043930530548, -1.2960789203643799, 0.4701699912548065, -0.10198133438825607, 0.4941418766975403, 0.5303742289543152, 0.19389471411705017, -0.6261982321739197, -0.16242605447769165, -0.3471407890319824, -0.7215335369110107, 0.6554341316223145, 0.1879601925611496, 0.07006452232599258, 0.3736540973186493, 0.12464117258787155, 0.01224290020763874, 0.45767444372177124, -0.7205981612205505, -0.2624340057373047, -0.5647211670875549, -0.4202057421207428, -0.24280473589897156, 0.31358158588409424, 0.16516582667827606, -0.45580315589904785, 0.5754662752151489, -0.20836202800273895, 0.20661760866641998, 0.13052219152450562, -0.47747376561164856, 0.05313714221119881, 0.11711414903402328, 0.6784073114395142, 0.18755680322647095, -0.14160002768039703, 0.1899537742137909, 0.37440866231918335, -0.4811190366744995, 0.20664414763450623, 0.1916721910238266, -0.1395108997821808, 0.1422690600156784, 0.3870428502559662, 0.7393202781677246, 0.2203843742609024, -0.8069748878479004, 0.6996685266494751, -0.0013020425103604794, 0.014197704382240772, -0.46685653924942017, -0.11389410495758057, 0.3179171681404114, 0.1729622781276703, 0.18775831162929535, 0.1359601765871048, 0.3496171832084656, -0.37084609270095825, 0.11190744489431381, 0.3215349018573761, -0.5970203280448914, -0.29593899846076965, 0.8106210827827454, 0.3775627911090851, -0.19277432560920715, 0.33307915925979614, -0.12776899337768555, -0.21923378109931946, 0.41193243861198425, 0.38043802976608276, 0.4158403277397156, -0.2752029299736023, 0.08963841944932938, 0.2832568883895874, 0.44126254320144653, -0.1797610968351364, 0.3336106538772583, -0.14966893196105957, -0.5221547484397888, -0.5160838961601257, -0.46881937980651855, -0.6393103003501892, 0.36860373616218567, -0.8224087953567505, 0.0976734533905983, -0.50928795337677, -0.21195249259471893, 0.008873258717358112, -0.14781822264194489, -0.7494863271713257, 0.3620738089084625, 0.03441186249256134, 0.983463704586029, -0.7816568613052368, 1.1092020273208618, 0.5235942006111145, -0.1883702278137207, -0.6092329025268555, -0.27409785985946655, 0.2421616017818451, -0.8028562664985657, 0.5392183661460876, 0.19974029064178467, -0.3592798709869385, 0.43885841965675354, -0.3012590706348419, -1.2862186431884766, 0.7597753405570984, 0.8178377151489258, -0.8882184624671936, 0.13047783076763153, 0.14068959653377533, 0.5021300315856934, -0.06806113570928574, -0.11228801310062408, 0.35153868794441223, 0.42754408717155457, 0.09132763743400574, -1.2758225202560425, -0.5131295323371887, -0.23698990046977997, -0.26622387766838074, -0.16997545957565308, -0.5365520715713501, 0.932733416557312, 0.04902873560786247, -0.25987762212753296, -0.021602587774395943, 0.37000566720962524, -0.2851226031780243, 0.17543068528175354, 0.1994345337152481, 0.49022364616394043, 1.0205949544906616, -0.03106408566236496, 1.082171082496643, -0.23691165447235107, 0.13804803788661957, 1.4176121950149536, -0.39494040608406067, 1.1977424621582031, 0.27445894479751587, -0.31794726848602295, -0.0764143094420433, 0.5390406847000122, 0.25332438945770264, 0.6793181300163269, -0.15452583134174347, -0.09419450163841248, -0.22933270037174225, -0.20655055344104767, -0.4230746030807495, 0.7526440620422363, 0.23947691917419434, -0.07006566971540451, -0.1491243541240692, 0.25893786549568176, -0.010765976272523403, 0.07004398852586746, -0.28187960386276245, 0.9512150287628174, 0.026914792135357857, -0.08863787353038788, 0.9845106601715088, 0.031691763550043106, 0.8130896687507629, -0.5489720702171326, 0.3083609938621521, -0.02301683835685253, 0.26210448145866394, -0.2704910337924957, -0.14198699593544006, 0.3574525713920593, 0.5342988967895508, -0.27694353461265564, 0.010221816599369049, 0.28763702511787415, -0.3691490888595581, -0.8019428849220276, 0.30753055214881897, 0.673190176486969, 0.4696316421031952, -0.4152979552745819, -0.6690149307250977, 0.1694985181093216, 0.015726393088698387, 0.1393919289112091, 0.02816670946776867, 0.09130627661943436, 0.1533932387828827, 0.806853711605072, 1.0479426383972168, 0.4987953305244446, 0.6640212535858154, 0.0037061944603919983, 0.5276941061019897, -0.40159597992897034, -0.5441890358924866, -0.5368386507034302, 0.3508542776107788, -0.19519558548927307, -0.15615779161453247, 0.664135754108429, 0.6730228066444397, 0.8311941623687744, -0.07524263858795166, 0.9163470268249512, 0.24767673015594482, 0.8190409541130066, -0.39680215716362, 0.6835600137710571, -0.5882251858711243, -0.1933056116104126, -0.16030855476856232, -0.5804290771484375, -0.3915160000324249, 0.9239159226417542, -0.13560500741004944, -0.34575730562210083, 0.34771084785461426, 0.6407541632652283, -0.27668511867523193, -0.12124887108802795, 0.5866984128952026, 0.012538546696305275, 0.30697768926620483, 0.5657447576522827, 0.4871287941932678, -0.7739878296852112, 0.7366732358932495, -0.2091456800699234, -0.11557070165872574, -0.3623112142086029, -0.5709313750267029, -0.7516021728515625, -0.3930552005767822, -0.39008426666259766, 0.08282357454299927, -0.037743356078863144, 1.0914838314056396, 1.1152784824371338, -0.93918377161026, -0.285279780626297, -0.4322543740272522, -0.08803022652864456, -0.4455297887325287, -0.1183600202202797, 0.3807324767112732, -0.14269767701625824, -0.9844000935554504, 0.8436437249183655, 0.19182254374027252, 0.3339672386646271, 0.03792164847254753, -0.2785673141479492, 0.01404129434376955, 0.15932917594909668, 0.6370030045509338, 0.45633167028427124, -0.8285619020462036, -0.14911982417106628, 0.007378588896244764, -0.15712231397628784, 0.3908284306526184, 0.26606014370918274, -0.6524756550788879, 0.6454176902770996, 0.3853021264076233, 0.8165232539176941, 0.7915897965431213, -0.012909595854580402, 0.411281943321228, -0.7173224687576294, 0.44416606426239014, 0.017836296930909157, 0.15739381313323975, 0.6657218933105469, -0.22453227639198303, 0.3812502324581146, 0.09346165508031845, -0.08211732655763626, -0.8174363374710083, 0.24782784283161163, -1.0182428359985352, 0.05941591411828995, 0.749958336353302, -0.34223413467407227, -0.10580632090568542, -0.24541427195072174, -0.0700175017118454, 0.46870070695877075, -0.6724801659584045, 0.5173755884170532, 0.3414960205554962, -0.29969900846481323, -0.3105490505695343, -0.6239621043205261, 0.4644951820373535, 0.03864699602127075, -0.7682082653045654, 0.10330012440681458, 0.3935355544090271, 0.19724072515964508, 0.33616361021995544, 0.44466498494148254, -0.1210259273648262, 0.32742229104042053, 0.23439577221870422, 0.1328098326921463, -0.12565454840660095, -0.27920329570770264, -0.5028712153434753, 0.21786794066429138, 0.16932325065135956, -0.638892412185669 ]
http://arxiv.org/abs/2406.19650v1
http://arxiv.org/pdf/2406.19650v1
DECOR: Improving Coherence in L2 English Writing with a Novel Benchmark for Incoherence Detection, Reasoning, and Rewriting
2024-06-28T04:38:54
2024-06-28T04:38:54
Xuanming Zhang, Anthony Diaz, Zixun Chen, Qingyang Wu, Kun Qian, Erik Voss, Zhou Yu
cs.CL
cs.CL
Coherence in writing, an aspect that second-language (L2) English learners often struggle with, is crucial in assessing L2 English writing. Existing automated writing evaluation systems primarily use basic surface linguistic features to detect coherence in writing. However, little effort has been made to correct the detected incoherence, which could significantly benefit L2 language learners seeking to improve their writing. To bridge this gap, we introduce DECOR, a novel benchmark that includes expert annotations for detecting incoherence in L2 English writing, identifying the underlying reasons, and rewriting the incoherent sentences. To our knowledge, DECOR is the first coherence assessment dataset specifically designed for improving L2 English writing, featuring pairs of original incoherent sentences alongside their expert-rewritten counterparts. Additionally, we fine-tuned models to automatically detect and rewrite incoherence in student essays. We find that incorporating specific reasons for incoherence during fine-tuning consistently improves the quality of the rewrites, achieving a result that is favored in both automatic and human evaluations.
[ -0.32402002811431885, -0.7683858275413513, 0.33686745166778564, 0.17105619609355927, -0.04906196519732475, 0.2817983329296112, -0.23825708031654358, -0.7651693224906921, 0.2983317971229553, 0.17104850709438324, -0.4585844576358795, -0.23283199965953827, -0.48720622062683105, 0.3134240210056305, -0.14577147364616394, 0.6874871850013733, -0.35525646805763245, -0.020451296120882034, -0.7014642357826233, -0.33978018164634705, -0.5647810697555542, -0.11126063019037247, -0.9351094365119934, -0.19946779310703278, 0.5371968150138855, 0.7617599368095398, 0.4558120667934418, 0.43992725014686584, 0.6451209783554077, 0.19873808324337006, 0.36528104543685913, 0.4002675414085388, -0.32663553953170776, 0.5412592887878418, -0.10974511504173279, -0.33449429273605347, -0.5850739479064941, -0.04473051056265831, 0.46458306908607483, 0.5593889951705933, 0.24362577497959137, 0.1452421247959137, 0.3111017048358917, 0.5770784020423889, -0.6617994904518127, 0.1795327067375183, -0.6930080652236938, -0.0002963817387353629, -0.13382424414157867, -0.2774776220321655, -0.6472159028053284, -0.0548471100628376, 0.018692489713430405, -0.7661487460136414, 0.5537293553352356, 0.3778894543647766, 0.9882527589797974, 0.43689221143722534, -0.20061913132667542, -0.24716681241989136, -0.06986277550458908, 0.7876054048538208, -0.38480016589164734, 0.5205298662185669, 0.39999547600746155, 0.00892704352736473, -0.30166131258010864, -0.7076520323753357, -0.5148388147354126, -0.18023879826068878, -0.28679925203323364, 0.40798625349998474, 0.12384313344955444, -0.2571883201599121, 0.18509729206562042, 0.5306456089019775, -0.45493078231811523, -0.13401944935321808, 0.11091822385787964, -0.607856035232544, 0.6725565195083618, 0.004663725849241018, 0.5241628289222717, 0.2516240179538727, -0.23179595172405243, 0.14246760308742523, -0.398746520280838, 0.18527892231941223, 0.3361981213092804, -0.16974776983261108, -0.04616013169288635, 0.3714849054813385, 0.04049362242221832, 0.2495836317539215, 0.14062835276126862, -0.12101177871227264, -0.08119101077318192, -0.2571692168712616, 0.022941933944821358, 0.05206836387515068, 0.34259071946144104, 0.6716911792755127, 0.29817330837249756, -0.1612551361322403, -0.122906394302845, 0.4905954897403717, -0.05400968715548515, -0.7667836546897888, -0.7461509108543396, 0.3277507722377777, -0.2972423732280731, -0.1580326110124588, -0.3186052143573761, -0.5215446352958679, -0.5154685974121094, -0.33404040336608887, 0.21191629767417908, -0.4323993921279907, -0.3885005712509155, -0.03008369356393814, -0.27567705512046814, 0.1513698697090149, 0.632034420967102, -0.9345021843910217, 0.4228063225746155, 1.061716914176941, 0.6935765743255615, -0.38662049174308777, -0.6692365407943726, -0.47300925850868225, -0.13335420191287994, -0.6334916353225708, 1.14812171459198, -0.33181193470954895, 0.011714618653059006, -0.038892798125743866, 0.006985614076256752, 0.09367683529853821, -0.33005204796791077, 0.9128332138061523, -0.24762968719005585, 0.6089084148406982, -0.34642547369003296, -0.8677036762237549, 0.24730390310287476, 0.06617438048124313, -0.6439687609672546, 0.9119647741317749, 0.22925585508346558, -0.9902355074882507, 0.8215062022209167, -0.34282100200653076, -0.5567813515663147, -0.0772242620587349, -0.07558489590883255, -0.9794508218765259, 0.4105372428894043, 0.04347892105579376, 0.08159413188695908, 0.2694970667362213, -0.13578733801841736, -0.11213316768407822, -0.5914824604988098, -0.07508154213428497, -0.39479655027389526, 0.5293366312980652, 0.054619528353214264, -0.16034474968910217, 0.21382910013198853, -0.8223146200180054, 0.20827099680900574, -0.10292872041463852, -0.35561099648475647, -0.3877851963043213, -0.0008988578920252621, 0.1664392054080963, -0.27036145329475403, 0.48926424980163574, -0.5080527067184448, -0.0937240719795227, -0.46022868156433105, 0.2372119426727295, 0.5806829333305359, 0.1086094006896019, 0.38547423481941223, -0.7663166522979736, 0.24842901527881622, -0.22423972189426422, -0.34410548210144043, -0.5635820627212524, -0.5665603280067444, -1.066845417022705, -0.5324049592018127, -0.0844605416059494, 0.14072634279727936, -0.2126423567533493, 0.3703988492488861, 0.040268588811159134, -0.1913575381040573, -0.8548349738121033, 0.17879514396190643, 0.5935865044593811, 0.5486918091773987, 0.4272749125957489, -0.318413108587265, -0.828952431678772, -0.5980603098869324, -0.6858989000320435, -0.12973111867904663, 0.3103535771369934, -0.21967095136642456, 0.39183109998703003, 0.06514888256788254, 0.596956729888916, -0.20491951704025269, -0.35454297065734863, 0.11497066169977188, 0.26703378558158875, -0.27467912435531616, 0.7139804363250732, 0.22832903265953064, -0.1633218377828598, -0.8918378949165344, -0.03196512535214424, -0.5399930477142334, -0.3656786382198334, -0.24591849744319916, -0.3635200560092926, 0.7829740643501282, 0.7478843331336975, -0.15500067174434662, 0.2583489418029785, 0.30848464369773865, -0.7293073534965515, 0.6031413078308105, -0.2047259658575058, 0.21332305669784546, -0.9843624830245972, -0.149898499250412, -0.2544085383415222, -0.40845322608947754, -0.24318446218967438, 0.33384591341018677, -0.010994670912623405, 0.1903870403766632, 0.08584219962358475, 0.4912879467010498, -0.729938805103302, 0.2830243408679962, -0.32280051708221436, 0.044451016932725906, 0.6568713188171387, 0.3874017596244812, 0.05705883353948593, 0.7195265293121338, 0.27311208844184875, 0.1642206460237503, -0.06537596881389618, 0.23234649002552032, -0.5364243984222412, 1.060587763786316, -0.36690980195999146, 0.34529560804367065, -0.05405868962407112, 0.24274083971977234, -1.4252089262008667, -0.44603151082992554, 0.07740188390016556, -0.32753798365592957, 0.4010371267795563, 0.15780171751976013, -0.05060645937919617, 0.05278641730546951, -0.4418252408504486, 0.2332327663898468, 0.32909899950027466, -0.47245895862579346, 0.20914480090141296, 0.1155763790011406, -0.10788631439208984, -0.3481237292289734, -0.5711860060691833, 0.3358802795410156, -0.0039052770007401705, -0.6719014048576355, 0.29169347882270813, -0.1734599769115448, -0.35476309061050415, -0.21152330935001373, -0.2641012668609619, -0.23099923133850098, 0.22616684436798096, 0.1402643620967865, -0.03860131651163101, -0.2558095157146454, 0.10746607929468155, 0.312345951795578, -0.21040889620780945, 0.21462585031986237, -0.16928039491176605, 0.3493158221244812, -0.08447141200304031, -0.4434477686882019, -0.9703869819641113, 0.6147432327270508, 0.6897114515304565, 0.014945064671337605, 0.19548200070858002, 0.5326998233795166, -0.362399697303772, -0.5891006588935852, -0.6244819760322571, -0.25213485956192017, -0.40260252356529236, 0.4532160758972168, -0.8655879497528076, -0.5979160666465759, 0.35772788524627686, 0.2300499528646469, 0.32796216011047363, 0.36232659220695496, 0.2797689735889435, -0.4378264248371124, 0.6066756248474121, 0.706506609916687, 0.30615416169166565, 0.37368717789649963, 0.03863384947180748, 0.17624418437480927, -0.7604299783706665, -0.12330490350723267, -0.3501550555229187, -0.3738689124584198, -0.40295299887657166, -0.3729858994483948, 0.13799218833446503, 0.11700484156608582, -0.21826443076133728, 0.17099174857139587, -0.7922109961509705, 0.7467753291130066, 0.4708356559276581, 0.06827572733163834, 0.6592446565628052, 0.2626643180847168, -0.05569390952587128, -0.5717086791992188, -0.33526062965393066, -0.553642988204956, 0.735948383808136, 0.5939151048660278, 0.5163276791572571, 0.04118996858596802, 0.6613882184028625, 0.3354965150356293, 0.4114956855773926, -0.9295703768730164, 0.41387635469436646, -0.05543530732393265, -0.14861230552196503, -0.3523302972316742, 0.1416654884815216, -0.6607627272605896, 0.18988782167434692, -0.13055990636348724, -0.19401904940605164, 0.32435211539268494, 0.3492371737957001, -0.25288480520248413, -0.08029311150312424, -0.7635512351989746, 0.8443878293037415, -0.11494696140289307, -0.9161022901535034, -0.218046173453331, -0.20086728036403656, 0.10829516500234604, 0.006198378745466471, -0.08135338872671127, -0.14145074784755707, -0.25070834159851074, 0.5966604351997375, -0.5545011162757874, 0.5630333423614502, 0.06986647844314575, -0.5111749172210693, 0.32913780212402344, 0.5688847899436951, 0.6666635274887085, -0.06811975687742233, -0.45982691645622253, 0.17735810577869415, 0.26291555166244507, -0.429932177066803, -0.4291720390319824, 0.7711216807365417, -0.6441959142684937, -0.4918513298034668, -0.3949491083621979, -0.6944996118545532, -0.23739339411258698, 0.16660110652446747, 0.5623345375061035, 0.32388007640838623, -0.3636856973171234, -0.05689713731408119, 0.3838229179382324, 0.2646251618862152, 0.3988974988460541, 0.4770379662513733, -0.0938083752989769, -0.6250856518745422, 0.7600334882736206, 0.16857202351093292, 0.29030025005340576, 0.30883800983428955, 0.18466243147850037, -0.28186750411987305, -0.5242819786071777, -0.475090891122818, -0.14134815335273743, -0.8574444651603699, 0.17474132776260376, -0.5788055062294006, 0.12381807714700699, -0.4922460615634918, -0.6265321373939514, -0.17915455996990204, -0.5335267782211304, -0.061250098049640656, 0.1642250418663025, 0.13424023985862732, 0.5888098478317261, -0.007568448316305876, -0.08271035552024841, 0.049008775502443314, 0.06681473553180695, 0.13377219438552856, 0.5461958646774292, -0.10074958205223083, -0.7632037997245789, -0.31614556908607483, -0.2690739035606384, -0.17305488884449005, -0.23046113550662994, 0.016036540269851685, 0.4341218173503876, 0.1854209303855896, 0.25697019696235657, 0.005118250846862793, 0.8443577289581299, -0.6291936635971069, 0.6447461247444153, 0.2066476196050644, -1.0242360830307007, 0.3889434039592743, -0.17588604986667633, 0.17931820452213287, 0.9411821961402893, -0.18909938633441925, -0.5182311534881592, -0.6424067616462708, -0.39087793231010437, -0.7463058829307556, 0.24838173389434814, -0.08367777615785599, -0.06101062148809433, -0.0031947691459208727, 0.32359498739242554, 0.38432782888412476, 0.11181824654340744, -0.524410605430603, 0.25756654143333435, -0.27843910455703735, -0.42159250378608704, 0.15929856896400452, -0.5525961518287659, -0.26786258816719055, -0.40818458795547485, 0.6632935404777527, -0.10267700254917145, 0.08632539957761765, 0.6654723882675171, -0.10062051564455032, -0.6813416481018066, 0.10703156143426895, 0.5612421631813049, 0.4557512700557709, -0.15631699562072754, 0.43698665499687195, 0.41124215722084045, -0.427097350358963, 0.17854422330856323, -0.28027576208114624, -0.254736989736557, 0.2013845443725586, 0.9067937731742859, 0.31775009632110596, 0.0630325973033905, -0.3072485625743866, 0.6110789775848389, -0.12743733823299408, -0.05355336517095566, -0.606995165348053, 0.21302370727062225, -0.04316438362002373, -0.21110451221466064, -0.2627164125442505, 0.5242077708244324, -0.027533432468771935, -0.7007860541343689, 0.5415055155754089, 0.5914346575737, -0.43851205706596375, -0.27727219462394714, 0.7025576233863831, 0.48347046971321106, -0.541451632976532, 0.05235544592142105, -0.3232235908508301, -0.1976771205663681, 0.4828089773654938, 0.6061524748802185, 1.1929879188537598, -0.1318897157907486, 0.03948308154940605, 0.4374180734157562, 0.3224514126777649, 0.08718618005514145, 0.611355185508728, -0.3365371525287628, -0.6643169522285461, -0.19814319908618927, -0.6300079226493835, -0.7879575490951538, -0.02449474111199379, -0.5622310042381287, 0.5130234956741333, -0.6373076438903809, 0.3194728493690491, -0.04639773815870285, 0.31510964035987854, -0.4038848876953125, 0.12050703912973404, -0.005836863070726395, 0.8743166923522949, -0.9184154272079468, 0.6026366353034973, 0.8421386480331421, -0.24785897135734558, -0.6815333366394043, 0.42175447940826416, -0.09934128075838089, -0.5522463321685791, 0.16941849887371063, 0.3705023229122162, -0.49786484241485596, -0.0023332920391112566, -0.4017066955566406, -0.5160750150680542, 0.8305172324180603, 0.25008442997932434, -0.9244492053985596, 0.3576813042163849, 0.10560017824172974, 0.9152984619140625, -0.46843189001083374, 0.47903791069984436, 0.5523674488067627, 0.5711052417755127, -0.003558200551196933, -0.6352135539054871, 0.14310897886753082, -0.376952588558197, -0.2770461440086365, -0.16704194247722626, -0.9323543310165405, 0.6106688380241394, -0.26161709427833557, -0.49036508798599243, 0.4894351065158844, 0.7250818014144897, -0.09607111662626266, 0.9251337647438049, 0.41553184390068054, 0.8319462537765503, 1.1646915674209595, -0.3745674192905426, 0.6323210597038269, -0.6447525024414062, 0.18379679322242737, 1.6220736503601074, -0.4776746332645416, 1.0661060810089111, 0.5025456547737122, -0.06816250830888748, 0.8964382410049438, 0.48169630765914917, 0.06304732710123062, 0.41870012879371643, 0.3269478976726532, -0.5561469197273254, -0.2516181766986847, -0.20035317540168762, -0.4033694863319397, 0.3369656205177307, 0.019151190295815468, -0.19871163368225098, -0.0757841095328331, -0.22156694531440735, 0.3140857219696045, 0.6567482352256775, -0.06746689230203629, 0.8235724568367004, 0.0114970738068223, -1.3316229581832886, 0.7480833530426025, -0.21878229081630707, 0.5186915397644043, -0.1915348917245865, -0.19491904973983765, -0.4900936484336853, 0.45018652081489563, -0.6784520745277405, -0.7534152269363403, 0.7364885807037354, -0.20139990746974945, -0.3864537477493286, -0.3955128788948059, 0.7583006024360657, -0.6834093332290649, -0.5603649616241455, 0.10740136355161667, 0.2769172191619873, 0.1610592156648636, 0.13448597490787506, -0.32726261019706726, 0.1876501739025116, -0.21873295307159424, -0.037338726222515106, -0.10856975615024567, 0.6424205899238586, 0.018182450905442238, 0.1950020045042038, 0.5667904019355774, 0.13072887063026428, -0.39895832538604736, 0.2676345407962799, 0.3345569670200348, -0.28728359937667847, -0.3198506236076355, -0.7590099573135376, 0.5659904479980469, -0.17843443155288696, -0.47427883744239807, 0.9281951785087585, 0.8171296715736389, 0.8231371641159058, 0.023592986166477203, 0.9501213431358337, 0.19736334681510925, 0.6456640362739563, -0.1964346170425415, 0.8822806477546692, -0.6428177952766418, 0.23599977791309357, -0.1525145024061203, -0.6113647222518921, -0.4918375313282013, 0.7340990304946899, -0.16685032844543457, -0.44471678137779236, 0.9669756889343262, 1.0748348236083984, 0.10414088517427444, 0.11869429051876068, 0.5272058844566345, 0.33732035756111145, 0.41896381974220276, 0.4154948592185974, 0.9201597571372986, -0.6435505151748657, 0.1640390306711197, -0.31561893224716187, -0.322521835565567, -0.14257143437862396, -0.984734058380127, -1.101607322692871, -0.5309469103813171, -0.8060189485549927, -0.8317198753356934, 0.28762006759643555, 0.9191961884498596, 0.37922385334968567, -1.259637713432312, -0.03374091163277626, -0.6891922354698181, 0.2677977383136749, -0.4157724678516388, -0.23800644278526306, 0.5453582406044006, -0.788969874382019, -0.8206340670585632, 0.31475207209587097, 0.6804877519607544, -0.21685858070850372, -0.4325331449508667, 0.06293287128210068, 0.0817144587635994, 0.3647365868091583, 0.442220002412796, 0.006410740781575441, -0.6465671062469482, -0.6199543476104736, -0.18285809457302094, -0.314241886138916, 0.24767960608005524, 0.5710766315460205, -0.43284422159194946, 0.803161084651947, 0.8666604161262512, 0.30255326628685, -0.26667359471321106, 0.016069702804088593, 0.24688459932804108, -0.5274140238761902, -0.08544180542230606, 0.13909360766410828, 0.5189422965049744, 0.5292735695838928, -0.4966108798980713, 0.4338681697845459, 0.58298659324646, -0.8273669481277466, -0.9052184224128723, 0.27883458137512207, -0.8358771204948425, -0.04128332808613777, 0.7498278617858887, -0.36910247802734375, -0.05037141218781471, -0.5786268711090088, -0.6742668151855469, 0.06830897927284241, -0.14616695046424866, 1.1548761129379272, 0.9164304137229919, -0.2347526103258133, -0.13166144490242004, -0.03459955379366875, 0.8795598745346069, 0.9646244645118713, -0.7794167399406433, 0.12496142834424973, 0.5445869565010071, 0.43859586119651794, 0.1345108598470688, 0.8120115399360657, 0.22918665409088135, 0.49128633737564087, 0.3144895136356354, -0.10343993455171585, -0.026902243494987488, -0.37631121277809143, -0.07896331697702408, 0.40504878759384155, 0.2526797652244568, -0.2255835235118866 ]
http://arxiv.org/abs/2406.19648v1
http://arxiv.org/pdf/2406.19648v1
Designing and Evaluating Multi-Chatbot Interface for Human-AI Communication: Preliminary Findings from a Persuasion Task
2024-06-28T04:33:41
2024-06-28T04:33:41
Sion Yoon, Tae Eun Kim, Yoo Jung Oh
cs.HC
cs.HC, cs.AI, cs.CL
The dynamics of human-AI communication have been reshaped by language models such as ChatGPT. However, extant research has primarily focused on dyadic communication, leaving much to be explored regarding the dynamics of human-AI communication in group settings. The availability of multiple language model chatbots presents a unique opportunity for scholars to better understand the interaction between humans and multiple chatbots. This study examines the impact of multi-chatbot communication in a specific persuasion setting: promoting charitable donations. We developed an online environment that enables multi-chatbot communication and conducted a pilot experiment utilizing two GPT-based chatbots, Save the Children and UNICEF chatbots, to promote charitable donations. In this study, we present our development process of the multi-chatbot interface and present preliminary findings from a pilot experiment. Analysis of qualitative and quantitative feedback are presented, and limitations are addressed.
[ -0.4467737674713135, -0.783959686756134, 0.21800300478935242, 0.2169075757265091, -0.2792922854423523, 0.3689556121826172, -0.24058401584625244, -0.5543774366378784, 0.13797123730182648, 0.0750320553779602, -0.6492619514465332, -0.01900607720017433, -0.5203100442886353, 0.1348327398300171, -0.1734926402568817, 1.0925841331481934, 0.4152940511703491, 0.2609539031982422, -0.21720600128173828, -0.06869137287139893, -0.49458688497543335, -0.865136444568634, -1.144055962562561, -0.4053340256214142, 0.5888761281967163, 0.3265724778175354, 0.6780728697776794, 0.061765462160110474, 0.5504308938980103, 0.41949304938316345, 0.24461710453033447, -0.19756321609020233, -0.6881066560745239, 0.06194540858268738, -0.0803431048989296, -0.41139230132102966, -0.18958967924118042, 0.19057004153728485, 0.20692189037799835, 0.21335089206695557, -0.21896295249462128, 0.1578247994184494, 0.2856924831867218, 0.5142906904220581, -0.3595632314682007, 0.28251174092292786, -0.41125351190567017, -0.19507017731666565, 0.03577994927763939, -0.22168081998825073, -0.32804256677627563, -0.49193501472473145, 0.37451013922691345, -0.5743668079376221, 0.09724156558513641, -0.11803705990314484, 0.5652334690093994, -0.024829784408211708, -0.4076467752456665, -0.6802374720573425, -0.9013032913208008, 0.623168408870697, -0.39652249217033386, 0.1290934979915619, 0.6540830731391907, 0.1998610943555832, -0.1726115643978119, -0.45752882957458496, -0.650626540184021, -0.5530863404273987, 0.07540062069892883, 0.2514578402042389, -0.3328744173049927, 0.09739602357149124, -0.2578881084918976, -0.04243912920355797, -0.20157912373542786, -0.11370031535625458, -0.3275836110115051, -0.20102939009666443, 0.5596601963043213, -0.08581648021936417, 0.31493401527404785, -0.06533250957727432, -0.3600408136844635, -0.42871299386024475, -0.4248718321323395, 0.0880163386464119, 0.5771440863609314, 0.3128291666507721, -0.48764684796333313, 0.3165017366409302, 0.15338851511478424, 0.38957521319389343, 0.1578371226787567, -0.01721612550318241, -0.10417625308036804, -0.7770769596099854, -0.10342154651880264, -0.22937141358852386, 0.7771437168121338, 0.48731061816215515, 0.4346310496330261, 0.21917518973350525, 0.16999053955078125, 0.4474223554134369, 0.3261936902999878, -0.674206018447876, -0.29794931411743164, 0.01858399249613285, -0.9404404163360596, -0.5566675066947937, -0.08244957774877548, -0.6368974447250366, -0.670790433883667, -0.15718507766723633, 0.6476584672927856, -0.256506085395813, -0.5615443587303162, 0.07665374130010605, -0.5359188318252563, 0.11289149522781372, 0.7453954815864563, -0.7588405609130859, 0.13240012526512146, 0.5589793920516968, 0.6795445680618286, 0.18533290922641754, -0.25485748052597046, -0.5663532614707947, 0.08206351101398468, 0.18313704431056976, 0.8461320400238037, -0.8507948517799377, -0.706192672252655, 0.06335889548063278, -0.23218071460723877, -0.03483656048774719, -0.16927224397659302, 0.48624563217163086, -0.17725799977779388, 0.5660185813903809, -0.018649883568286896, -0.3913044333457947, 0.011515965685248375, 0.5170602202415466, -0.4238477051258087, 0.2797670066356659, 0.08643261343240738, -0.47532641887664795, 0.39070919156074524, -1.0099619626998901, -0.54399174451828, 0.15205435454845428, -0.21000482141971588, -0.22235088050365448, 0.1218925341963768, 0.1934150755405426, 0.3068849444389343, -0.2040199190378189, 0.26309987902641296, -0.2697720527648926, -0.23605383932590485, 0.3909723162651062, -1.0480707883834839, 0.7438691258430481, -0.03214283660054207, -0.3285399377346039, 0.33780041337013245, -0.39683809876441956, -0.28427356481552124, 0.10405445843935013, -0.35579928755760193, -0.19449691474437714, 0.21402671933174133, 0.2667318880558014, 0.294704794883728, 0.0013043030630797148, -0.5717642903327942, 0.5658532381057739, -0.027934933081269264, 0.7082759141921997, 0.6666109561920166, -0.21765010058879852, 0.18172650039196014, -0.3653368353843689, 0.7967584133148193, -0.18087317049503326, 0.522495687007904, -0.1028493121266365, -1.023659348487854, -0.44442954659461975, -0.15443581342697144, 0.027495836839079857, 0.29638078808784485, -0.6215319633483887, -0.05389764904975891, 0.06518753618001938, -0.18946154415607452, -0.840319037437439, -0.37107110023498535, 0.30152472853660583, 0.29492297768592834, 0.1423034816980362, -0.2735726237297058, -0.15672220289707184, -1.1489174365997314, -0.20834265649318695, -0.7662801146507263, -0.1117277443408966, 0.43798428773880005, 0.41793930530548096, -0.02962426096200943, 0.6961570382118225, -0.03322721645236015, -0.24270768463611603, -0.3332901895046234, 0.3086211383342743, -0.231160506606102, 0.4384622573852539, 0.5535765886306763, -0.9158610701560974, -0.5112468004226685, -0.21977598965168, 0.06855268776416779, 0.36670613288879395, -0.31614813208580017, 0.010782353579998016, -0.19043345749378204, -0.2609718143939972, -0.5679184198379517, 0.8619289994239807, 0.9158873558044434, -0.26699569821357727, 0.39890122413635254, -0.22431913018226624, 0.9518455862998962, -1.036286473274231, -0.07234303653240204, -0.07735022902488708, -0.09338854253292084, -1.0382275581359863, -0.43987491726875305, -0.09874267876148224, -0.11261638253927231, -0.5599587559700012, 0.5062510371208191, -0.1794610619544983, 0.35179099440574646, -0.4185875356197357, 0.2996968626976013, -0.03984465077519417, 0.3233472406864166, 0.22158002853393555, 0.7357597351074219, 0.5776054859161377, -0.571277916431427, 0.3869353234767914, 0.4853379726409912, 0.07074087113142014, 1.0583534240722656, -0.8888546824455261, 0.43269476294517517, -0.04017537087202072, 0.5435510277748108, -1.1379114389419556, -0.1854214072227478, 0.7160133123397827, -0.9418099522590637, -0.05168415978550911, -0.29430729150772095, -0.21464234590530396, -0.4667228162288666, -0.5047961473464966, 0.25187423825263977, 0.08380122482776642, -0.33718016743659973, 0.4966554045677185, 0.5721035599708557, -0.16205653548240662, -0.26996541023254395, -0.5381343364715576, 0.36372387409210205, -0.396868497133255, -0.7736604809761047, -0.0012211278080940247, -0.28450217843055725, -0.17978835105895996, -0.17064900696277618, 0.4655715823173523, -0.1539807915687561, 0.26088088750839233, 0.16162633895874023, 0.2738235890865326, 0.021148722618818283, 0.2724957764148712, -0.06453703343868256, -0.09397498518228531, -0.03021744079887867, 0.11843269318342209, 0.7249558568000793, -0.22090566158294678, -0.7366333603858948, -1.0365618467330933, 0.6198026537895203, 0.20825974643230438, -0.12115658819675446, 1.0260742902755737, 0.5734972953796387, -0.2899017930030823, 0.5008706450462341, -0.4618690311908722, -0.5621142387390137, -0.4975464344024658, 0.25057509541511536, -0.3594818115234375, -0.996892511844635, 0.13768409192562103, -0.07336252182722092, 0.2589164972305298, 0.26211702823638916, 0.789261519908905, -0.02522267960011959, 1.3572055101394653, 0.5267470479011536, -0.2891446352005005, 0.6183866262435913, 0.08440177887678146, 0.16135020554065704, -0.5804123878479004, -0.23477378487586975, -0.8700988292694092, -0.24165600538253784, -0.3255586326122284, -0.27870064973831177, 0.413186252117157, 0.1912369430065155, -0.0756111890077591, 0.21153834462165833, -0.6319816708564758, 0.1340014636516571, 0.794042706489563, -0.09200407564640045, 0.37332233786582947, -0.06815255433320999, 0.41462740302085876, 0.1682061105966568, -0.5885909199714661, -0.5426947474479675, 0.8865953087806702, 0.14547720551490784, 0.6151866912841797, 0.4920310080051422, 0.5378782153129578, 0.5260165929794312, 0.9092456698417664, -0.6165533661842346, 0.22607417404651642, 0.282736212015152, -0.7206962704658508, -0.4492571949958801, -0.26197370886802673, -1.4502918720245361, 0.45125654339790344, -0.2248656302690506, -0.8586075305938721, -0.11464986205101013, 0.2458873987197876, -0.14079953730106354, 0.018092820420861244, -0.7827630639076233, 0.6924205422401428, -0.2700137495994568, -0.06631134450435638, -0.8814977407455444, -0.7244858145713806, 0.13200150430202484, 0.07381940633058548, 0.37770187854766846, -0.2283729761838913, 0.3383603096008301, 0.4226718842983246, -0.15196342766284943, 0.9934622645378113, -0.1650906205177307, -0.15887774527072906, 0.28137972950935364, -0.1953088492155075, 0.5405855178833008, 0.41581445932388306, -0.1288520246744156, -0.0466318354010582, -0.09407898783683777, -0.09132561087608337, -0.2990882396697998, 0.6322026252746582, -0.8328194618225098, -0.8320891261100769, -0.2535470724105835, -0.3459317684173584, -0.24487923085689545, 0.07976773381233215, -0.3486538827419281, 0.5705330967903137, -0.5471236705780029, 0.13613168895244598, -0.07312003523111343, -0.41265666484832764, 0.472579687833786, 0.4895361065864563, 0.1505277454853058, -0.43820324540138245, 0.9103430509567261, -0.7669402360916138, 0.588092029094696, 0.35828250646591187, 0.6874703764915466, -0.527067244052887, -0.12161369621753693, -0.9380576610565186, 0.14115110039710999, -0.45758044719696045, 0.04636481776833534, -0.3419664800167084, 0.264139324426651, -0.6941434144973755, -0.17859101295471191, -0.15396803617477417, -0.5269933938980103, -0.1699189692735672, 0.37044113874435425, 0.30811062455177307, 1.2412375211715698, -0.20768579840660095, 0.32506251335144043, -0.9775914549827576, 0.22020937502384186, 0.2926618456840515, 0.20295792818069458, 0.18544359505176544, -0.1731402575969696, -0.06007695943117142, 0.4237484037876129, -0.42825818061828613, -1.0351371765136719, 0.007030443288385868, 0.1666717678308487, 0.5905992388725281, 0.6012519001960754, -0.028528060764074326, 0.7816861867904663, -0.3075813055038452, 0.9297729134559631, 0.45056724548339844, -0.8362921476364136, 0.5413897037506104, -0.3891838788986206, 0.16205856204032898, 0.4287169873714447, 0.18028737604618073, -0.9273009300231934, -0.5257591605186462, -0.7621831297874451, -0.3082287907600403, 0.821834146976471, 0.6206153631210327, 0.3533461093902588, -0.015149644576013088, -0.12919944524765015, 0.14121034741401672, 0.6837649345397949, -0.5252739191055298, -0.5520064830780029, -0.29896458983421326, 0.05543227866292, 0.002310651121661067, 0.08649837225675583, -0.43260645866394043, -0.0295080728828907, 0.3721984624862671, 0.10433594882488251, 0.20866672694683075, -0.13805176317691803, 0.21041344106197357, 0.17553237080574036, 0.4061182141304016, 0.8596358299255371, 0.7192651033401489, 0.3408578038215637, -0.24084541201591492, -0.45736876130104065, -0.4024782180786133, 0.1476033329963684, 0.19716331362724304, 0.01707141473889351, -0.23809343576431274, 0.2588396966457367, 0.704041600227356, -0.09218961745500565, -0.3760787546634674, 0.4215855896472931, -0.6479441523551941, -0.16168983280658722, 0.09384306520223618, -0.17640459537506104, 0.5584425926208496, 0.12094604969024658, 0.17911046743392944, 0.06283906102180481, 0.22501157224178314, -0.6418634057044983, 0.0556192584335804, 0.8218942284584045, -0.15859654545783997, -0.41608625650405884, 0.7580517530441284, 0.9063464999198914, -0.9233778715133667, 0.829197883605957, -0.1342814862728119, -0.6925517320632935, 0.5996204614639282, 0.4980989396572113, 0.8450275659561157, -0.3168233335018158, 0.7451215982437134, 0.1379784792661667, 0.14021003246307373, 0.19110241532325745, -0.04403199255466461, -0.3391065001487732, -0.7084932923316956, -0.003491046605631709, -0.16686221957206726, -0.7562264800071716, 0.1439717411994934, -0.4427412450313568, 0.06333602964878082, 0.004203755874186754, -0.42094868421554565, 0.18158169090747833, -0.22834590077400208, -0.8324760794639587, -0.3422992527484894, 0.10654103010892868, 0.07077039033174515, -0.4334897994995117, 0.5984451174736023, 0.7515223026275635, -0.4357621371746063, -0.6437714099884033, -0.027178624644875526, 0.13015134632587433, -0.8696464896202087, 0.47133511304855347, 0.1427983194589615, -0.5660116672515869, 0.06167042255401611, -0.48379087448120117, -0.7071120738983154, 0.5048617720603943, 0.06559880822896957, -0.4412505030632019, 0.3685053288936615, 0.3184468746185303, 0.5107906460762024, -0.25008803606033325, 0.5409613847732544, 0.10056810081005096, 0.7431981563568115, -0.16169923543930054, -1.314158320426941, -0.2774052619934082, -0.2162274271249771, -0.2142230123281479, 0.22158263623714447, -0.8750286102294922, 0.46892064809799194, -0.17858287692070007, -0.30438870191574097, 0.14782492816448212, 0.5282953977584839, 0.2439521700143814, 0.08597380667924881, 0.704742968082428, -0.20783650875091553, 0.6109715700149536, 0.10991445928812027, 1.0069125890731812, -0.4571468234062195, 0.3361304700374603, 0.6450175046920776, -0.25220146775245667, 0.4966304302215576, 0.5799751281738281, -0.37863433361053467, 0.22991150617599487, 0.26202166080474854, 0.19733069837093353, 0.13129745423793793, 0.7828965187072754, -0.5958691239356995, -0.10299336910247803, -0.40921053290367126, -0.3736538589000702, 0.37325629591941833, 0.4999757409095764, 0.18436390161514282, -0.0416506826877594, 0.3794071078300476, 0.06265832483768463, -0.2673342823982239, -0.023132044821977615, 0.4948868751525879, -0.20194600522518158, -0.7193608283996582, -0.022404540330171585, 0.06500938534736633, 0.7457646131515503, -0.5737836956977844, -0.42755597829818726, 0.04425713047385216, 0.41134628653526306, 0.20491303503513336, -0.6326873302459717, -0.07105507701635361, -0.18669524788856506, 0.14470531046390533, -0.2728792726993561, 0.8503870368003845, -0.5003214478492737, -0.4248547852039337, 0.17190761864185333, 0.7517424821853638, 0.33863142132759094, -0.02905154414474964, -1.0617238283157349, 0.28162717819213867, -0.10524097084999084, -0.3468080163002014, 0.4553132951259613, 0.14196525514125824, -0.06520167738199234, 0.844811201095581, 0.7803681492805481, -0.05191385746002197, -0.33288103342056274, 0.8539465665817261, 0.8389360308647156, -0.36399683356285095, -0.3655810058116913, -0.8819040060043335, 0.3609441816806793, -0.10507284849882126, -0.5281966924667358, 0.8578180074691772, 0.35083845257759094, 0.7098643779754639, -0.17303770780563354, 0.9340364336967468, -0.37800073623657227, 0.27113887667655945, 0.06540025025606155, 0.594283401966095, -0.38366422057151794, -0.09970720112323761, -0.49855586886405945, -0.36237090826034546, -0.026249103248119354, 0.7455877661705017, 0.3093782365322113, 0.2106439620256424, 0.3400076925754547, 0.45127469301223755, 0.2957436144351959, 0.5178600549697876, 0.11208096891641617, -0.2019609659910202, 0.9033691883087158, 0.45325884222984314, 1.3350025415420532, -0.05029883235692978, 0.7482200264930725, -0.17126582562923431, -0.3750445246696472, -0.0803418681025505, -0.7728584408760071, -1.09658682346344, -0.5901741981506348, -0.3363270163536072, -0.2562990188598633, 0.34039512276649475, 0.7783073782920837, 0.5916690826416016, -0.5522217154502869, -0.42246776819229126, 0.3089554011821747, 0.049581632018089294, -0.2545642852783203, -0.25968000292778015, 0.30747362971305847, 0.2968752980232239, -1.0155500173568726, 0.48337996006011963, 0.354446142911911, 0.016290992498397827, -0.7225615382194519, -0.06033322960138321, -0.3564069867134094, -0.02337617613375187, 0.5899316072463989, 0.1493343859910965, -0.7355185747146606, -0.5710680484771729, -0.035254206508398056, 0.10209627449512482, 0.1677742451429367, 1.2242372035980225, -0.8370063900947571, 0.16638913750648499, 0.3316883146762848, 0.5388235449790955, 0.2434009462594986, 0.4204835295677185, 0.7965710163116455, -0.1819053739309311, 0.07737956196069717, 0.3468916416168213, -0.0036316642072051764, 0.31412234902381897, -0.34266525506973267, 0.28592798113822937, 0.24278396368026733, -0.7704101204872131, -0.4445384740829468, 0.31209617853164673, -0.5417613983154297, -0.09578321129083633, 0.9238330125808716, 0.06381101161241531, 0.46847212314605713, -0.4803387522697449, -0.5819464325904846, 0.15009523928165436, -1.000478982925415, 0.731366753578186, 1.0122790336608887, -0.6110360026359558, -0.025680191814899445, -0.3793018162250519, 0.46534463763237, 0.4006337821483612, -0.9065932035446167, -0.08130725473165512, 0.5607654452323914, -0.06936015188694, 0.21447525918483734, 1.1457232236862183, 0.21482904255390167, 0.1760801076889038, -0.03945290669798851, -0.00004583804911817424, 0.1868208646774292, -0.23969030380249023, -0.25108543038368225, 0.019367728382349014, -0.018845101818442345, -0.31273210048675537 ]
http://arxiv.org/abs/2406.19643v1
http://arxiv.org/pdf/2406.19643v1
Unlocking Varied Perspectives: A Persona-Based Multi-Agent Framework with Debate-Driven Text Planning for Argument Generation
2024-06-28T04:21:20
2024-06-28T04:21:20
Zhe Hu, Hou Pong Chan, Jing Li, Yu Yin
cs.CL
cs.CL, cs.AI
Writing persuasive arguments is a challenging task for both humans and machines. It entails incorporating high-level beliefs from various perspectives on the topic, along with deliberate reasoning and planning to construct a coherent narrative. Current language models often generate surface tokens autoregressively, lacking explicit integration of these underlying controls, resulting in limited output diversity and coherence. In this work, we propose a persona-based multi-agent framework for argument writing. Inspired by the human debate, we first assign each agent a persona representing its high-level beliefs from a unique perspective, and then design an agent interaction process so that the agents can collaboratively debate and discuss the idea to form an overall plan for argument writing. Such debate process enables fluid and nonlinear development of ideas. We evaluate our framework on argumentative essay writing. The results show that our framework can generate more diverse and persuasive arguments through both automatic and human evaluations.
[ -0.6930874586105347, -0.5987662672996521, 0.8138469457626343, 0.24248240888118744, 0.005676829721778631, 0.2888530194759369, 0.18444041907787323, 0.04029873013496399, 0.23053710162639618, 0.6603062748908997, -0.7825362682342529, -0.3751942217350006, -0.20900171995162964, 0.1781163513660431, 0.19779068231582642, 1.0581717491149902, -0.11938881874084473, -0.12049755454063416, -0.2658282518386841, -0.31766486167907715, -0.38448330760002136, -0.5759780406951904, -0.6331808567047119, -0.38745245337486267, 0.973752498626709, 0.7358143329620361, 0.40720081329345703, 0.3144221603870392, 0.023173155263066292, 0.3881075084209442, 0.5174809694290161, 0.2665591835975647, -0.060712214559316635, 0.730366051197052, -0.5719037055969238, -0.2155834585428238, -0.19959399104118347, 0.016974560916423798, 0.6021164655685425, 0.46862754225730896, 0.11551379412412643, -0.274506539106369, -0.30107325315475464, 0.262654185295105, -0.6410424113273621, -0.33636945486068726, -0.6116290092468262, 0.32066377997398376, -0.22592318058013916, -0.09936884045600891, -0.4274277091026306, -0.28856194019317627, 0.3551193177700043, -0.47146227955818176, -0.11547964066267014, -0.0694229006767273, 0.7766280174255371, -0.08319620043039322, -0.5653727054595947, -0.35079482197761536, -0.6912277936935425, 0.5252037644386292, -0.552314817905426, -0.21694892644882202, -0.33523041009902954, 0.30236074328422546, -0.11445102095603943, -0.7674956917762756, -0.6237130761146545, 0.14112302660942078, 0.11445030570030212, 0.2711038291454315, -0.08998939394950867, 0.03751465305685997, -0.13289391994476318, -0.0652027428150177, -0.3450920283794403, 0.0052114492282271385, 0.367461621761322, -0.22401350736618042, 0.6465013027191162, 0.30208247900009155, 0.14528274536132812, -0.18247808516025543, -0.4741688072681427, -0.12065399438142776, -0.3396146297454834, 0.1700921207666397, 0.8643248081207275, 0.24809181690216064, 0.02333925850689411, 0.47308647632598877, -0.04401319846510887, 0.23251190781593323, 0.5370497107505798, -0.18464995920658112, -0.28641340136528015, -0.02033780887722969, -0.14940796792507172, -0.14086133241653442, 0.9442014098167419, 0.3399324417114258, -0.1564021110534668, -0.0787462666630745, -0.04659915715456009, 0.1146211102604866, 0.436440110206604, -0.8857837915420532, -0.21271930634975433, 0.3390883207321167, -0.45561444759368896, -0.4534229636192322, 0.10700749605894089, -1.1964105367660522, -0.9080333709716797, -0.09045746922492981, 0.25034311413764954, -0.2813657224178314, -0.333893746137619, 0.08041401207447052, -0.4754187762737274, 0.28759920597076416, 0.5435197353363037, -0.7171835899353027, 0.34660980105400085, 0.46634364128112793, 0.2749820649623871, -0.14074599742889404, -0.600300669670105, -0.5951213836669922, 0.5115428566932678, -0.35594579577445984, 1.4673634767532349, -0.9376137256622314, -0.3068650960922241, 0.08026369661092758, -0.33487164974212646, -0.12945374846458435, -0.28442275524139404, 0.7225384712219238, -0.04882923886179924, 0.6133263111114502, -0.5515024662017822, -0.49545833468437195, 0.17385533452033997, 0.23325203359127045, -0.5227063298225403, 0.5605882406234741, -0.10752768069505692, -0.7139718532562256, 0.7262625694274902, -1.0106420516967773, -0.6070528626441956, 0.2981821298599243, -0.5988190174102783, -0.4647698998451233, 0.03744103014469147, 0.17863361537456512, 0.4078046977519989, -0.4487704634666443, 0.48645853996276855, -0.06666330248117447, 0.21657010912895203, 0.4304749667644501, -0.40362074971199036, 0.49118974804878235, 0.24010609090328217, -0.7144213318824768, 0.47297951579093933, -0.7555961012840271, -0.028817497193813324, -0.07624891400337219, -0.48489615321159363, 0.003427512478083372, 0.3965851068496704, -0.03874896466732025, 0.2688450217247009, 0.05749151483178139, -0.48387476801872253, 0.2096031904220581, -0.3529873192310333, 0.40862077474594116, 0.788838803768158, 0.3245004117488861, 0.5123066902160645, -0.6237937808036804, 0.7080231308937073, 0.23195034265518188, -0.38617318868637085, -0.4375027120113373, -0.5885127186775208, -0.5784052610397339, -0.17010733485221863, -0.19550399482250214, 0.372340589761734, -0.6503838896751404, 0.16505616903305054, 0.043997667729854584, -0.42699286341667175, -0.3982502520084381, -0.17922188341617584, 0.3667680323123932, 0.42426609992980957, -0.04397214204072952, -0.2200649082660675, -0.5104167461395264, -0.9948722720146179, -0.602878212928772, -0.4072897136211395, 0.10253658145666122, 0.3997538387775421, 0.40547776222229004, -0.1647319793701172, 1.1274380683898926, -0.5317896604537964, 0.18032220005989075, -0.5519537329673767, 0.6911846399307251, -0.45358145236968994, 0.49794647097587585, 0.6109997630119324, -0.6537724137306213, -0.61639404296875, 0.0568801611661911, -0.5313628911972046, -0.26297733187675476, -0.8929373621940613, -0.5905390977859497, 0.21147921681404114, 0.03282606229186058, -0.6904872059822083, 0.35546043515205383, -0.14669232070446014, -0.5841700434684753, 0.5145156383514404, -0.023800315335392952, 0.18698933720588684, -1.3672525882720947, -0.07539734244346619, 0.1466730237007141, -0.1729080080986023, -0.5778601169586182, 0.11162367463111877, -0.5442236661911011, -0.2947559952735901, -0.216166153550148, 0.6147971153259277, -0.1287008374929428, 0.5210726261138916, -0.45430445671081543, -0.025940265506505966, 0.6224877834320068, 0.467178076505661, 0.17510002851486206, 0.41127467155456543, 0.15800367295742035, -0.193404883146286, 0.309532105922699, 0.12892045080661774, 0.12607437372207642, 1.1623671054840088, -0.4121982455253601, 0.3929865062236786, -0.28833356499671936, 0.5658523440361023, -1.0091856718063354, -0.49456143379211426, 0.46385058760643005, -0.11495781689882278, -0.00786228571087122, 0.08548139780759811, -0.14301708340644836, -0.16716797649860382, -0.33282068371772766, -0.007458335720002651, -0.20351694524288177, -0.3268739879131317, 1.0956958532333374, 0.7134956121444702, -0.40575870871543884, -0.4813686013221741, -0.46815210580825806, 0.5812926292419434, -0.6117942333221436, -0.711823582649231, 0.6167293787002563, -0.24807296693325043, -0.5675296783447266, -0.110746830701828, 0.20570316910743713, -0.23936046659946442, -0.32429125905036926, 0.25845932960510254, -0.19438089430332184, -0.25863662362098694, 0.10863448679447174, 0.575864315032959, 0.011845631524920464, 0.15675975382328033, -0.553321897983551, 0.5000723004341125, -0.21389904618263245, -0.19528038799762726, -0.1626921445131302, 1.2498530149459839, 0.6457636952400208, -0.179603710770607, 0.42232683300971985, 0.22403094172477722, -0.4234517812728882, -0.43377092480659485, -0.6914864778518677, 0.10052613168954849, -0.4666441082954407, 0.20459085702896118, -0.7620152831077576, -0.48251405358314514, 0.6122824549674988, -0.39023804664611816, 0.5831247568130493, 0.4164992570877075, 0.9346780180931091, 0.00510444026440382, 0.6775900721549988, 0.3417648375034332, 0.44683077931404114, 0.129736989736557, 0.1647598296403885, 0.18891318142414093, -0.23360957205295563, -0.27878692746162415, -0.6092835664749146, -0.37971797585487366, -0.15714667737483978, -0.3647749722003937, -0.2406477928161621, -0.4838184416294098, -0.39710867404937744, 0.027939867228269577, -0.6757836937904358, 0.45576927065849304, 0.4575352966785431, -0.3863104581832886, 0.03207535669207573, -0.07578038424253464, -0.5710694193840027, -0.37025266885757446, -0.46824946999549866, -1.0824542045593262, 0.8376911282539368, 0.1726987212896347, 0.2732086777687073, 0.06679242849349976, 0.7303705811500549, 0.2987835109233856, 0.501680314540863, -0.5236709713935852, 0.6525551080703735, 0.10950524359941483, -0.7630478739738464, -0.16327908635139465, -0.10150417685508728, -0.8757447004318237, 0.7812120914459229, -0.2613820433616638, -0.755286455154419, 0.44115540385246277, -0.13308703899383545, -0.5038815140724182, 0.4885596036911011, -0.7056620717048645, 1.082335114479065, -0.24412809312343597, -0.6446921229362488, 0.012574756518006325, -0.7153946757316589, -0.008567145094275475, 0.20317184925079346, -0.09867220371961594, -0.036318037658929825, -0.037390533834695816, 0.6037780046463013, -0.4671964943408966, 0.7996357679367065, -0.3001067638397217, -0.3098682463169098, 0.6638332605361938, -0.1120881661772728, 0.10495433211326599, 0.30334198474884033, -0.26815035939216614, -0.5401429533958435, -0.10769487917423248, -0.24270989000797272, -0.39457982778549194, 0.5815856456756592, -0.7348564863204956, -0.7114500999450684, -0.3656120002269745, -0.5472859740257263, -0.4011247158050537, 0.17511381208896637, 0.3364107012748718, 0.34094521403312683, -0.7415513396263123, -0.16810579597949982, 0.3884706199169159, -0.33933645486831665, 0.5426713228225708, 0.3473869562149048, -0.025635583326220512, -0.8113713264465332, 0.9908233284950256, -0.03720162808895111, -0.06735832989215851, 0.3838815689086914, 0.5164373517036438, -0.32499960064888, -0.33152440190315247, -0.6619063019752502, -0.14187541604042053, -0.8402007818222046, -0.03165801241993904, -0.7874805927276611, 0.034695811569690704, -0.36006978154182434, -0.6574459671974182, -0.41947653889656067, -0.4359508454799652, -0.06358625739812851, 0.06820973008871078, -0.2604402005672455, 0.6885039806365967, 0.14401982724666595, 0.5355207920074463, -0.2250588983297348, 0.341048002243042, 0.4431843161582947, 0.04706117883324623, -0.11364027857780457, 0.18272218108177185, 0.020894518122076988, 0.0007754597463645041, -1.024111270904541, -1.2425905466079712, 0.36355412006378174, -0.12553590536117554, 0.6418259739875793, 0.5697009563446045, 0.06733274459838867, 0.5163307785987854, -0.4495769441127777, 0.8286482691764832, 0.32042592763900757, -0.8928764462471008, 0.5634713768959045, -0.5288283824920654, 0.26496970653533936, 0.7597722411155701, -0.03282162919640541, -0.44310569763183594, -0.4601178467273712, -0.6296576261520386, -0.687127947807312, 0.5368301272392273, 0.03960668295621872, 0.1002749353647232, 0.1916477233171463, 0.3354951739311218, 0.6351790428161621, 0.5606564283370972, -0.935501217842102, 0.1143130287528038, -0.6138578057289124, -0.24062174558639526, 0.3292529582977295, 0.07268678396940231, -0.5154218077659607, -0.3493747413158417, 0.18373925983905792, -0.41058051586151123, 0.1753533035516739, 0.1301662176847458, 0.2814677059650421, -0.2580328583717346, 0.5245583057403564, 0.7088652849197388, 0.6273308992385864, 0.304725706577301, 0.26648619771003723, -0.13726617395877838, -0.28991565108299255, 0.41461512446403503, 0.2461559921503067, -0.24197795987129211, -0.05770710110664368, 0.10782228410243988, 0.8659868836402893, -0.0381765142083168, -0.47200465202331543, 0.2889215052127838, -0.44173872470855713, -0.6123884916305542, -0.24951907992362976, 0.027527399361133575, 0.5154208540916443, 0.366064190864563, 0.3179968595504761, 0.4097866415977478, -0.08922336995601654, -0.6030322313308716, -0.020587708801031113, 0.3283727765083313, 0.006623644381761551, -0.2689853012561798, 0.836614191532135, 0.617801308631897, -0.5421395301818848, -0.11514919251203537, -0.22943690419197083, -0.31515946984291077, 0.6338915228843689, 0.47508808970451355, 1.1974526643753052, -0.12000852823257446, 0.7999268770217896, -0.0883210152387619, 0.07416980713605881, 0.37446826696395874, 0.37844231724739075, 0.002401338191702962, -0.7223195433616638, -0.12982700765132904, -0.42992568016052246, -0.6000460386276245, 0.3586563467979431, -0.004055425059050322, 0.10591715574264526, -0.7862876653671265, -0.14530104398727417, 0.3471356928348541, 0.4024929702281952, -0.2846715450286865, 0.08186373859643936, 0.009135027416050434, 0.36571967601776123, -0.6816204190254211, 0.4179685115814209, 1.182461142539978, -0.3038763701915741, -0.5036229491233826, 0.6890330910682678, -0.0031063708011060953, 0.22993479669094086, 0.0196699071675539, 0.24865388870239258, -0.5830532312393188, -0.43675917387008667, -0.6485898494720459, -0.38592737913131714, 0.7824931144714355, 0.7724347710609436, -0.09424392133951187, -0.014071750454604626, 0.3195582628250122, 0.6015905737876892, -1.1765164136886597, -0.00400790898129344, 0.07190661132335663, 0.6763039231300354, 0.20982979238033295, -0.08423110842704773, 0.0005929755861870944, -0.4028453230857849, -0.1656956523656845, -0.3411891460418701, -0.8201125264167786, 1.0069353580474854, -0.13530667126178741, -0.17647449672222137, -0.029847964644432068, 0.8700727820396423, 0.2410854995250702, 0.6016880869865417, 0.34599316120147705, 0.3140804171562195, 0.8700368404388428, 0.37068480253219604, 0.7495426535606384, -0.08705639839172363, -0.39202752709388733, 1.1316782236099243, -0.7369409203529358, 0.5249666571617126, 0.3178241550922394, 0.2570669651031494, 0.9380021095275879, 0.37810948491096497, 0.22344522178173065, 0.2673950493335724, 0.18516753613948822, -0.6190962195396423, -0.5162739753723145, -0.0743606686592102, -0.06268724054098129, 0.468180775642395, 0.22483621537685394, 0.0020219171419739723, -0.1551886647939682, -0.05036720260977745, 0.22284115850925446, 0.7835981845855713, 0.25842297077178955, 0.7628241777420044, -0.1842595785856247, -1.1793211698532104, -0.04483354091644287, 0.4625474810600281, 0.2731289267539978, -0.30271151661872864, 0.025406502187252045, -0.003716045059263706, 0.11250844597816467, -0.0765315517783165, -0.7198503017425537, 0.06696267426013947, 0.13671875, -0.15242229402065277, -0.504656970500946, 0.9594199657440186, -0.2996419370174408, -0.44999775290489197, -0.11457792669534683, 0.695637047290802, -0.18743206560611725, 0.22213973104953766, -0.6507065296173096, -0.15394948422908783, -0.15974360704421997, -0.44417840242385864, 0.29115933179855347, 0.8524232506752014, -0.018967393785715103, 0.35372093319892883, 0.33542105555534363, -0.1570330560207367, -0.15157102048397064, 0.15908990800380707, 1.1224496364593506, -0.4128068685531616, -0.6626659631729126, -0.9174056053161621, 0.7828264832496643, -0.5978904962539673, -0.6989299058914185, 0.319187194108963, 0.7135700583457947, 0.18691104650497437, 0.13535426557064056, 1.188236117362976, 0.028020234778523445, 0.4868718683719635, 0.17439021170139313, 0.8545028567314148, -0.29049816727638245, -0.04029330238699913, -0.5683251023292542, -0.641307532787323, -0.030068950727581978, 0.8378801941871643, -0.09879361838102341, -0.06967775523662567, 0.7029606699943542, 0.2389005571603775, 0.09826580435037613, 0.20471909642219543, 0.05123294144868851, -0.10796692967414856, 0.836523711681366, 0.7510764598846436, 1.0301064252853394, 0.006544915493577719, 0.4315837621688843, 0.04086818918585777, -0.2128480225801468, 0.15972566604614258, -1.009092092514038, -1.2005895376205444, -0.8079357743263245, -0.4885585904121399, -0.11218766868114471, -0.05693049356341362, 0.814592719078064, 0.5672373175621033, -0.3966507613658905, -0.4860494136810303, -0.34662505984306335, 0.29946959018707275, 0.07221534848213196, -0.2601029574871063, -0.12787127494812012, -0.18920904397964478, -0.7040836215019226, 0.3717821538448334, 0.49686387181282043, -0.29802364110946655, -0.5820502638816833, -0.262987345457077, -0.5092306137084961, 0.9029766917228699, 0.38759535551071167, 0.4139738380908966, -0.650616466999054, -0.31901466846466064, -0.3349461257457733, -0.18520395457744598, 0.35692620277404785, 1.150842308998108, -0.7518276572227478, 0.396610826253891, 0.3441927134990692, 0.7146620750427246, 0.2998862564563751, 0.1756749004125595, 0.9814431071281433, -0.5670061111450195, 0.1873064935207367, 0.6350914835929871, 0.14011752605438232, 0.35644736886024475, -0.2648663818836212, -0.15376169979572296, 0.225770965218544, -0.5139583349227905, -0.7119788527488708, 0.579473078250885, -0.7648084163665771, -0.6942070126533508, 0.863156259059906, -0.28600969910621643, 0.05587514862418175, -0.16336208581924438, -0.6464480757713318, 0.053084325045347214, -0.565837025642395, 0.681354820728302, 1.0379266738891602, -0.4894647002220154, -0.14489516615867615, 0.006837751250714064, 0.5052972435951233, 0.4582899510860443, -1.3368088006973267, 0.2669409513473511, 0.7787660956382751, -0.011268443427979946, 0.2483624815940857, 1.010993480682373, 0.06732085347175598, 0.0973026379942894, 0.5252705216407776, -0.10781797021627426, 0.3614519536495209, -0.69060218334198, 0.17897309362888336, 0.9438775181770325, -0.04485737904906273, 0.23879702389240265 ]
http://arxiv.org/abs/2406.19642v1
http://arxiv.org/pdf/2406.19642v1
IDT: Dual-Task Adversarial Attacks for Privacy Protection
2024-06-28T04:14:35
2024-06-28T04:14:35
Pedro Faustini, Shakila Mahjabin Tonni, Annabelle McIver, Qiongkai Xu, Mark Dras
cs.CL
cs.CL, cs.CR, cs.LG
Natural language processing (NLP) models may leak private information in different ways, including membership inference, reconstruction or attribute inference attacks. Sensitive information may not be explicit in the text, but hidden in underlying writing characteristics. Methods to protect privacy can involve using representations inside models that are demonstrated not to detect sensitive attributes or -- for instance, in cases where users might not trust a model, the sort of scenario of interest here -- changing the raw text before models can have access to it. The goal is to rewrite text to prevent someone from inferring a sensitive attribute (e.g. the gender of the author, or their location by the writing style) whilst keeping the text useful for its original intention (e.g. the sentiment of a product review). The few works tackling this have focused on generative techniques. However, these often create extensively different texts from the original ones or face problems such as mode collapse. This paper explores a novel adaptation of adversarial attack techniques to manipulate a text to deceive a classifier w.r.t one task (privacy) whilst keeping the predictions of another classifier trained for another task (utility) unchanged. We propose IDT, a method that analyses predictions made by auxiliary and interpretable models to identify which tokens are important to change for the privacy task, and which ones should be kept for the utility task. We evaluate different datasets for NLP suitable for different tasks. Automatic and human evaluations show that IDT retains the utility of text, while also outperforming existing methods when deceiving a classifier w.r.t privacy task.
[ -0.24135248363018036, -0.8827303647994995, 0.1196555644273758, 0.20615018904209137, -0.1555517017841339, 0.3086090087890625, -0.13269877433776855, -0.44534680247306824, -0.2505066692829132, 0.6807976365089417, -0.5662062168121338, -0.40007483959198, -0.8937206864356995, -0.05012545734643936, -0.5780421495437622, 1.3089019060134888, 0.2137896716594696, -0.1466648280620575, -0.061714719980955124, -0.06632420420646667, -0.2974749207496643, -0.78801429271698, -0.8336026668548584, -0.23752817511558533, 0.2851819396018982, -0.09291209280490875, 0.9377784132957458, 0.3327185809612274, 0.6894955635070801, 0.2504238486289978, -0.07302172482013702, -0.031514063477516174, -0.22590802609920502, 0.4420383870601654, -0.3075411319732666, -0.5242342352867126, -0.18118123710155487, 0.0724688470363617, 0.5405600070953369, 0.07826392352581024, 0.34316834807395935, -0.0032096276991069317, 0.46908727288246155, 0.7589947581291199, -0.5888712406158447, 0.26020923256874084, -0.8331562280654907, 0.09889538586139679, -0.24107611179351807, -0.27736109495162964, -0.6215185523033142, -0.060666389763355255, 0.12225735187530518, -0.2074180394411087, 0.47172877192497253, -0.15621836483478546, 0.7491478323936462, 0.6914710998535156, -0.5229877233505249, -0.18344125151634216, -0.8728713393211365, 0.5370474457740784, -0.5577024221420288, -0.03556254133582115, 0.5286731123924255, 0.041186895221471786, -0.3015260696411133, -0.6406909823417664, -0.5450213551521301, -0.46795719861984253, -0.40863680839538574, 0.10260789096355438, -0.3714763820171356, 0.25972050428390503, 0.40080299973487854, 0.38023385405540466, -0.5563985705375671, 0.19096995890140533, -0.08306602388620377, -0.04526406154036522, 0.7562400102615356, -0.11653929203748703, 0.3461986780166626, -0.18179017305374146, -0.8399826884269714, -0.2420247346162796, -0.6135836243629456, 0.07348731905221939, 0.786384105682373, 0.11005707085132599, -0.03996913880109787, 0.4668085277080536, 0.10758011788129807, 0.45611289143562317, 0.11694357544183731, 0.032320912927389145, -0.2753497064113617, -0.24528129398822784, -0.4296652376651764, 0.028212418779730797, 1.0092579126358032, 0.13283400237560272, -0.13509124517440796, -0.48116186261177063, -0.07586101442575455, 0.3171828091144562, 0.4898616075515747, -0.6011704206466675, -0.4412521719932556, 0.24122291803359985, -0.3679253160953522, -0.6777167916297913, 0.18005193769931793, -0.9075284600257874, -0.7525469660758972, -0.3071196973323822, 0.5007513165473938, -0.5783379077911377, -0.27000948786735535, -0.0003405568131711334, -0.18949458003044128, -0.13028603792190552, -0.07044199109077454, -0.9099729657173157, 0.5407435894012451, 0.9840419888496399, 0.765188455581665, -0.08227243274450302, -0.20479710400104523, -0.24146108329296112, 0.11789366602897644, 0.15294089913368225, 0.39649707078933716, -0.31545549631118774, -0.43906036019325256, -0.20405925810337067, -0.10960634797811508, -0.3651280999183655, -0.17453807592391968, 0.6752349138259888, -0.7141796350479126, 0.4538596272468567, -0.053544461727142334, -0.29887664318084717, -0.40781325101852417, 0.5099498629570007, -0.8886941075325012, 0.85767662525177, -0.06859447062015533, -1.2585241794586182, 0.2306981086730957, -1.0312117338180542, -0.4701519012451172, -0.12238448858261108, -0.10092504322528839, -0.6016200184822083, -0.0038213988300412893, 0.23022852838039398, 0.3649381101131439, -0.07993243634700775, 0.051854319870471954, -0.01903684437274933, -0.1008673906326294, 0.46119260787963867, -0.8559778928756714, 1.1674436330795288, 0.2109374850988388, -0.6905645132064819, 0.1866372674703598, -0.5781962275505066, -0.09157434850931168, 0.2727721929550171, -0.16288486123085022, -0.6362287402153015, -0.053166463971138, -0.04388647526502609, -0.00164781603962183, 0.351767361164093, -0.676842212677002, 0.2553330361843109, -0.5891081690788269, 0.5761878490447998, 0.8779548406600952, 0.1396550089120865, 0.4982456862926483, -0.4219653308391571, 0.601723849773407, -0.12811602652072906, 0.31243276596069336, 0.1121935322880745, -0.6606301665306091, -0.4208344519138336, -0.21519352495670319, 0.4385421574115753, 0.6937898397445679, -0.8562555313110352, 0.22473427653312683, -0.17816098034381866, -0.3938404321670532, -0.5405070781707764, -0.0632539689540863, 0.7153638601303101, 0.2405950278043747, 0.14425621926784515, -0.05397065356373787, -0.30720630288124084, -0.9907395243644714, -0.8127936124801636, -0.1234007254242897, 0.1268802434206009, -0.2658044099807739, 0.46155133843421936, -0.21862219274044037, 0.748656690120697, -0.29085561633110046, -0.4166264235973358, -0.04275008291006088, 0.34269699454307556, -0.2466045469045639, 0.7274601459503174, 0.6423461437225342, -1.3333491086959839, -0.6366228461265564, -0.15016955137252808, -0.6653326749801636, 0.3022949695587158, -0.4362047016620636, -0.12296462804079056, 0.11283646523952484, 0.20207414031028748, -0.4775870442390442, 0.7302810549736023, 0.7144481539726257, -0.5955950617790222, 0.3146096169948578, -0.34512338042259216, 0.11333707720041275, -1.1064404249191284, -0.22435256838798523, -0.06827962398529053, -0.2526724636554718, -0.7055301070213318, 0.5294151902198792, 0.11210934817790985, -0.20817528665065765, -0.23493891954421997, 0.47487038373947144, -0.4933570921421051, 0.35268256068229675, -0.3758774399757385, -0.3403606414794922, 0.10806535184383392, 0.5050367712974548, -0.3785518705844879, 0.8944635391235352, 0.4359629154205322, -0.4616783559322357, 0.2868436276912689, 0.2910766303539276, -0.002336605219170451, 0.5435900688171387, -0.34588736295700073, 0.7164479494094849, -0.294341117143631, -0.11105664819478989, -0.8082903027534485, -0.11387830227613449, 0.552935004234314, -0.5634825825691223, 0.694856584072113, -0.24917972087860107, -0.8615387082099915, -0.1002735123038292, -0.5313578248023987, 0.09090042859315872, 0.2576466202735901, -0.6832355260848999, 0.5319541096687317, 0.4641042947769165, 0.05595727264881134, -0.716431736946106, -0.9810548424720764, 0.6130461692810059, -0.5264219641685486, -0.686840295791626, 0.6501191258430481, -0.10219673067331314, -0.36537522077560425, 0.34804877638816833, -0.015702296048402786, -0.19229832291603088, 0.5401572585105896, 0.42678624391555786, 0.04201405495405197, 0.1759258210659027, 0.04233178123831749, 0.09105850011110306, -0.2741091847419739, 0.2952258586883545, -0.20804762840270996, 0.29959604144096375, -0.06553865224123001, -0.30313947796821594, -0.7437488436698914, 0.686881959438324, 0.4619576632976532, -0.2835160493850708, 0.9498106837272644, 0.5516400933265686, -0.47609859704971313, -0.27808523178100586, -0.27099066972732544, -0.28217315673828125, -0.4320732057094574, 0.20987848937511444, -0.43909451365470886, -0.501339316368103, 0.27058306336402893, 0.1833278089761734, 0.2911488115787506, 0.26074478030204773, 0.39807233214378357, 0.03818498179316521, 1.1417957544326782, 0.857676088809967, -0.02980705536901951, 0.5732392072677612, -0.33358055353164673, 0.5316992402076721, -0.8263999223709106, -0.0936480462551117, -0.30190330743789673, -0.47367045283317566, -0.7164674401283264, -0.12654146552085876, 0.4096031188964844, -0.21794463694095612, 0.03228866308927536, 0.4512307345867157, -0.9267652034759521, 0.3755861818790436, 0.9973624348640442, 0.4091028571128845, 0.3580581247806549, 0.05395597591996193, 0.4305763244628906, -0.20908620953559875, -0.36049237847328186, -0.6246347427368164, 1.3891642093658447, 0.2630734145641327, 0.6855172514915466, 0.32536277174949646, 0.7113631367683411, 0.6153944134712219, 0.3734618127346039, -0.5241457223892212, 0.48647579550743103, -0.610839307308197, -0.7334507703781128, -0.1302030086517334, -0.1733676940202713, -0.8520371913909912, 0.4453177750110626, -0.09888552874326706, -0.8318191170692444, 0.05984203517436981, 0.08744586259126663, -0.2833513617515564, 0.6545575857162476, -0.82915198802948, 0.8127005100250244, -0.2670058310031891, -0.34532299637794495, -0.03992042690515518, -0.6959491968154907, 0.5894613862037659, -0.10531142354011536, -0.08305992186069489, 0.06288027763366699, 0.16006074845790863, 0.7966757416725159, -0.16092945635318756, 1.0271990299224854, -0.19247262179851532, 0.17131060361862183, 0.05071745440363884, 0.29780006408691406, 0.6864931583404541, 0.2583155632019043, -0.11717043817043304, 0.11857336759567261, 0.24428483843803406, -0.16662167012691498, -0.692306399345398, 0.7719751000404358, -0.5419318079948425, -0.9613573551177979, -0.7516060471534729, -0.6435353755950928, -0.15160836279392242, 0.04988503456115723, 0.4806203842163086, 0.26449131965637207, -0.14792244136333466, 0.4268970191478729, 0.7412357330322266, 0.033283185213804245, 0.29135170578956604, 0.09457818418741226, 0.2930484414100647, -0.17778268456459045, 0.5689145922660828, -0.044708508998155594, 0.4322816729545593, 0.5503942370414734, 0.31834906339645386, -0.36168530583381653, -0.6559730172157288, -0.34579864144325256, 0.00596534414216876, -0.7412331700325012, -0.26962509751319885, -0.8118366003036499, -0.2994718551635742, -0.5688226222991943, 0.025905510410666466, -0.12414811551570892, -0.45529991388320923, -0.36559587717056274, -0.12256285548210144, 0.3807941675186157, 0.6684591174125671, -0.0729384571313858, 0.4201407730579376, -0.47103625535964966, 0.5188289880752563, 0.3401549160480499, 0.02486507222056389, -0.3455340266227722, -0.23715412616729736, 0.17746905982494354, 0.1399446725845337, -0.33673930168151855, -1.0611019134521484, 0.43201932311058044, -0.005896033253520727, 0.3074643015861511, 0.04176456853747368, 0.46105778217315674, 0.15358273684978485, -0.10342139005661011, 0.7296578288078308, -0.03857553005218506, -0.763393759727478, 0.44426828622817993, -0.1342000663280487, 0.05965917930006981, 0.5838598608970642, 0.05711875110864639, -0.29385027289390564, -0.5402131080627441, -0.7695648074150085, -0.730890154838562, 0.7039985060691833, 0.5242587327957153, 0.25796276330947876, 0.32435867190361023, 0.27265435457229614, 0.18513375520706177, 0.3250318467617035, -0.9942654967308044, -0.38409629464149475, -0.28539958596229553, -0.39981183409690857, 0.2846544086933136, -0.4741014540195465, -0.46669572591781616, 0.14385803043842316, 0.6759681105613708, 0.018465030938386917, 0.19982753694057465, 0.09372353553771973, 0.15694603323936462, 0.29588642716407776, 0.4026518762111664, 0.18045973777770996, 0.23591946065425873, 0.004352455493062735, 0.19823536276817322, -0.29010578989982605, -0.7012382745742798, 0.12437836825847626, 0.5267970561981201, -0.6413813233375549, -0.04453292489051819, 0.011500468477606773, 0.5827886462211609, 0.08945739269256592, -0.233562633395195, 0.671299397945404, -0.3812200725078583, -0.14194655418395996, -0.5051621198654175, -0.020549073815345764, -0.30595213174819946, 0.2037297636270523, 0.054915040731430054, 0.5161678791046143, 0.26469895243644714, -0.5297669768333435, 0.046787627041339874, 0.6411154866218567, -0.5226245522499084, -0.4464908242225647, 1.1414215564727783, -0.13407659530639648, -0.41618743538856506, 0.3027171492576599, -0.475797563791275, -0.6547227501869202, 0.5908809304237366, 0.5725479125976562, 1.4079415798187256, -0.30735349655151367, 0.25229886174201965, 0.030634045600891113, 0.684001088142395, 0.09768735617399216, 0.11283289641141891, -0.07028645277023315, -0.4628237783908844, 0.04512786865234375, -0.30304303765296936, -0.26918596029281616, 0.2988564372062683, -0.7696834206581116, -0.0602634996175766, -0.7301850318908691, -0.23558087646961212, 0.04771740734577179, -0.17200256884098053, -0.6892542243003845, 0.13834571838378906, 0.019183803349733353, 0.4063628911972046, -0.5155511498451233, 0.9362618327140808, 0.5881630778312683, -0.2421778440475464, -0.24206779897212982, 0.39628931879997253, 0.26169267296791077, -0.5070234537124634, 0.6553526520729065, 0.06337172538042068, -0.07897426187992096, -0.21356059610843658, -0.2948164939880371, -0.792332112789154, 0.7791543006896973, 0.49106064438819885, -0.2947247326374054, -0.3522346019744873, 0.1360902041196823, 0.41731053590774536, 0.14610698819160461, -0.5546091794967651, 0.5330966114997864, 0.385345458984375, -0.47285112738609314, -0.7242891788482666, 0.30447086691856384, -0.10554693639278412, -0.0679231584072113, 0.19159527122974396, -0.5197892785072327, 1.0171287059783936, 0.057266369462013245, -0.6231444478034973, -0.009782826527953148, 0.4122341275215149, -0.2111661583185196, 0.3128405511379242, 0.6213792562484741, 0.46770718693733215, 0.6566250920295715, -0.1298733353614807, 1.2082312107086182, -0.2889609634876251, 0.2763527035713196, 1.306868314743042, -0.023451633751392365, 0.397373765707016, 0.25901076197624207, -0.1281862109899521, 0.2487461417913437, 0.16336162388324738, 0.003945525269955397, 0.764167308807373, 0.00261522619985044, -0.6388199329376221, 0.27906903624534607, 0.10898272693157196, -0.25555577874183655, 0.5980474352836609, 0.47747546434402466, -0.3999459445476532, -0.11861434578895569, 0.31062886118888855, 0.5047881007194519, 0.5644164085388184, 0.043537937104701996, 0.8987194895744324, 0.020725728943943977, -0.6085626482963562, 0.22781884670257568, 0.2846122980117798, 0.7679537534713745, -0.6480243802070618, 0.08691403269767761, 0.30782899260520935, 0.5081937909126282, -0.13316799700260162, -0.6961739659309387, 0.5598328113555908, 0.06576433032751083, -0.24423161149024963, -0.6088629364967346, 0.7688591480255127, -0.25577598810195923, -0.32753363251686096, 0.2864014506340027, -0.11874979734420776, -0.3266849219799042, -0.5634673833847046, -1.08571457862854, -0.278198778629303, 0.2595847547054291, -0.3307546377182007, 0.4875555634498596, 0.2617454528808594, 0.04234125092625618, 0.4604552984237671, 0.7068105936050415, -0.005792850162833929, 0.1140824481844902, -0.14304892718791962, 0.7415759563446045, -0.479998379945755, -0.8431848883628845, -1.071906328201294, 0.4069023132324219, -0.36753371357917786, -0.16273415088653564, 1.0149558782577515, 0.3810913562774658, 0.7967236042022705, 0.08906593173742294, 1.105040431022644, 0.03510761633515358, 0.626801073551178, -0.7239277958869934, 0.8385739922523499, -0.11369428038597107, 0.3253493905067444, 0.016753612086176872, -0.4979877471923828, -0.41934311389923096, 0.11412657797336578, -0.44113901257514954, -0.3238375782966614, 0.804851233959198, 0.5847339034080505, 0.03884356841444969, 0.20957708358764648, 0.23261696100234985, 0.21451687812805176, 0.7759605646133423, 0.4168865382671356, 0.6460444927215576, -0.6763661503791809, 0.5366012454032898, -0.8084133267402649, -0.16217799484729767, 0.03266806900501251, -0.7328233122825623, -0.9592861533164978, -0.6463428139686584, -0.5844955444335938, -0.42904216051101685, 0.16823770105838776, 0.3933655321598053, 0.5451091527938843, -0.6507404446601868, 0.3437346816062927, -0.05714891850948334, 0.07001429051160812, -0.4025714099407196, -0.28127527236938477, 0.6556611061096191, -0.04269511625170708, -0.9178653955459595, 0.5054415464401245, 0.32244259119033813, 0.1754717230796814, -0.5238132476806641, 0.5713887214660645, -0.14705094695091248, -0.16691121459007263, 0.2842101752758026, 0.31281399726867676, -0.7667104005813599, -0.30020907521247864, -0.33432233333587646, -0.015215596184134483, -0.02058514952659607, 0.8862221240997314, -0.6855921745300293, 0.7915173172950745, 0.37240514159202576, 0.854066014289856, 0.18786831200122833, 0.14372530579566956, 0.4585123062133789, -0.9487598538398743, 0.5281364917755127, 0.7014021277427673, 0.28325650095939636, 0.5301313996315002, -1.0474944114685059, 0.41958096623420715, 0.13872690498828888, -0.4785497188568115, -0.9475641846656799, 0.4345347583293915, -0.664506196975708, -0.4985083341598511, 0.8983338475227356, -0.29840508103370667, -0.2502600848674774, -0.3193422555923462, -0.3622778356075287, 0.03242907673120499, -0.18409112095832825, 1.0086318254470825, 0.44841572642326355, 0.14817771315574646, 0.1644296795129776, -0.7276313900947571, 0.7978129386901855, 0.1659242808818817, -0.5830622315406799, 0.23042388260364532, -0.11077117919921875, 0.15465398132801056, 0.1287832409143448, 0.4832445979118347, -0.30725038051605225, 0.008513680659234524, 0.12215450406074524, -0.3943609297275543, -0.2426033318042755, -0.19649672508239746, -0.44473710656166077, 0.41234561800956726, -0.04878170043230057, -0.6218798160552979 ]
http://arxiv.org/abs/2406.19598v1
http://arxiv.org/pdf/2406.19598v1
Mixture of In-Context Experts Enhance LLMs' Long Context Awareness
2024-06-28T01:46:41
2024-06-28T01:46:41
Hongzhan Lin, Ang Lv, Yuhan Chen, Chen Zhu, Yang Song, Hengshu Zhu, Rui Yan
cs.CL
cs.CL
Many studies have revealed that large language models (LLMs) exhibit uneven awareness of different contextual positions.Their limited context awareness can lead to overlooking critical information and subsequent task failures. While several approaches have been proposed to enhance LLMs' context awareness, achieving both effectiveness and efficiency remains challenging.In this paper, for LLMs utilizing RoPE as position embeddings, we introduce a novel method called ``Mixture of In-Context Experts'' (MoICE) to address this challenge. MoICE comprises two key components: a router integrated into each attention head within LLMs and a lightweight router-only training optimization strategy: (1) MoICE views each RoPE angle as an `in-context' expert, demonstrated to be capable of directing the attention of a head to specific contextual positions. Consequently, each attention head flexibly processes tokens using multiple RoPE angles dynamically selected by the router to attend to the needed positions. This approach mitigates the risk of overlooking essential contextual information. (2) The router-only training strategy entails freezing LLM parameters and exclusively updating routers for only a few steps. When applied to open-source LLMs including Llama and Mistral, MoICE surpasses prior methods across multiple tasks on long context understanding and generation, all while maintaining commendable inference efficiency.
[ -0.5445864796638489, -0.5253634452819824, 0.48956093192100525, 0.24633188545703888, -0.3606787621974945, 0.22331681847572327, -0.3377450406551361, -0.38865408301353455, 0.29412516951560974, 0.33109042048454285, -0.31908565759658813, -0.5045214295387268, -0.5010356307029724, -0.05519719794392586, -0.2519819736480713, 0.8237850069999695, -0.02536921575665474, -0.13991379737854004, -0.2675056457519531, -0.563411295413971, -0.6062193512916565, -0.45839500427246094, -0.646110475063324, -0.37642940878868103, 0.5668050646781921, 0.5747211575508118, 0.2955332398414612, 0.41819655895233154, 0.11658529192209244, 0.29704269766807556, -0.1635507047176361, 0.44814684987068176, -0.6203833222389221, 0.1314069777727127, -0.3448008596897125, -0.17423051595687866, -0.5614864826202393, -0.20973694324493408, 0.5695376396179199, 0.750747799873352, -0.18675316870212555, -0.15212349593639374, 0.4464331865310669, 0.7766380906105042, -1.0592312812805176, -0.40971508622169495, -0.8368672132492065, 0.06736323237419128, -0.16530859470367432, -0.31084343791007996, -0.330306738615036, 0.194072887301445, 0.38427940011024475, -0.4955126643180847, -0.016635876148939133, 0.09111598134040833, 0.1985073983669281, 0.3517180383205414, -0.7542188763618469, 0.009907352738082409, -0.5030021667480469, 0.9852054715156555, -0.5818564295768738, 0.5939024686813354, 0.25872698426246643, 0.20294372737407684, -0.34541288018226624, -0.35704055428504944, -0.42128807306289673, 0.0735744759440422, 0.07516355812549591, 0.2171875238418579, 0.3108111023902893, 0.024775834754109383, 0.05775555595755577, 0.04271814227104187, -0.20522242784500122, 0.0969608724117279, -0.006117727607488632, 0.014507727697491646, 0.5061486959457397, -0.06982016563415527, 0.04997985437512398, 0.18126170337200165, -0.7098928093910217, 0.29252174496650696, -0.6477755904197693, 0.17646637558937073, -0.04339248314499855, -0.21936242282390594, -0.2405988723039627, 0.429236501455307, -0.27776551246643066, 0.8339901566505432, 0.40351012349128723, -0.49722957611083984, 0.17927098274230957, 0.0915980190038681, -0.2293388396501541, 0.317283570766449, 0.5425347685813904, 0.2607278823852539, 0.04289345443248749, -0.17106914520263672, -0.3625643253326416, -0.5635623335838318, 0.07687463611364365, -0.3669932186603546, -0.17688599228858948, 0.1942453682422638, -0.07439712435007095, -0.1680905669927597, 0.031382966786623, -0.4916904866695404, -0.57151859998703, -0.3063545525074005, 0.356685996055603, -0.4525921642780304, -0.15698976814746857, 0.17650897800922394, -0.07012797892093658, 0.24414202570915222, 0.5021184086799622, -0.7747632265090942, 0.11710244417190552, 0.8239710330963135, 0.715480625629425, -0.24034297466278076, -0.23357617855072021, -0.9198082089424133, 0.7248559594154358, -0.10111262649297714, 0.6748886108398438, -0.42842960357666016, -0.34922894835472107, -0.06236349791288376, -0.2571229040622711, -0.22368837893009186, -0.3359076976776123, 0.39256009459495544, -0.6342675685882568, 0.2270047962665558, -0.06111098825931549, -0.6376121640205383, -0.34798291325569153, 0.3561284840106964, -0.3589943051338196, 1.1908286809921265, 0.24151885509490967, -1.0688763856887817, 0.3218136727809906, -0.4017995595932007, -0.4975210726261139, 0.037278201431035995, -0.4467795491218567, 0.028003854677081108, 0.22438254952430725, 0.48247721791267395, 0.44982337951660156, 0.07658305019140244, 0.11636407673358917, -0.07240541279315948, -0.30220827460289, 0.47018980979919434, -0.18043290078639984, 0.4349376857280731, -0.15939272940158844, -0.43337029218673706, 0.1699577271938324, -0.5899249911308289, -0.18773223459720612, -0.3764636218547821, -0.4939083158969879, -0.7069138884544373, 0.16855885088443756, -0.04916902631521225, 0.24644941091537476, 0.29217472672462463, -0.3309456408023834, -0.15991981327533722, -0.4544818103313446, 0.24161387979984283, 0.8134068846702576, 0.12780898809432983, 0.6245530843734741, -0.2496938705444336, 0.3562636971473694, 0.18100988864898682, -0.1962532103061676, -0.10445377975702286, -0.3096592128276825, -1.1003224849700928, -0.5432531833648682, 0.029029373079538345, 0.553516685962677, -0.8003308773040771, 0.8374226093292236, -0.41444239020347595, -0.19296109676361084, -0.18009209632873535, 0.5586689114570618, 0.40879619121551514, 0.8889390826225281, 0.24698050320148468, -0.32644781470298767, -0.3660370409488678, -0.767590343952179, -0.20945227146148682, 0.2319982349872589, -0.2048019915819168, 0.332006573677063, 0.324076771736145, -0.15970663726329803, 1.1592828035354614, -0.3838653862476349, -0.22369514405727386, -0.3017077147960663, -0.22008317708969116, 0.2756820023059845, 0.5952529907226562, 0.33636561036109924, -0.7200317978858948, -0.6973947882652283, 0.09890470653772354, -0.729809045791626, 0.17441821098327637, -0.16299359500408173, -0.3426401913166046, 0.21393457055091858, 0.530627429485321, -0.26137566566467285, 0.045039329677820206, 0.47047996520996094, 0.11016163975000381, 0.1696559488773346, -0.19234447181224823, -0.19914770126342773, -1.158026099205017, -0.005235317628830671, 0.22209669649600983, -0.44146329164505005, -0.6938818693161011, -0.05760524421930313, 0.25919780135154724, 0.14519192278385162, -0.6137320399284363, 0.6752541661262512, -0.6109829545021057, 0.14169949293136597, -0.16024255752563477, 0.5198541879653931, -0.024972256273031235, 0.6911544799804688, 0.05183126777410507, 0.7212333083152771, 0.6438605189323425, -0.6432381868362427, 0.0673108845949173, 0.17599505186080933, -0.4313468635082245, 0.9437936544418335, -0.4720621705055237, 0.5053333044052124, -0.08972813934087753, 0.41181081533432007, -0.863944947719574, -0.4540005326271057, 0.2725831866264343, -0.14859576523303986, 0.4235995411872864, -0.24331548810005188, -0.16129693388938904, -0.11290545016527176, -0.548072874546051, 0.655092179775238, 0.22183749079704285, -0.5207570195198059, 0.7104809880256653, 0.514843761920929, -0.0012270697625353932, -0.8826413154602051, -0.7073937654495239, 0.18323183059692383, -0.5152868628501892, -0.7206661701202393, 0.4550792872905731, -0.030481956899166107, -0.14708590507507324, -0.31049999594688416, -0.496181458234787, -0.046952445060014725, 0.08181456476449966, -0.05695552006363869, -0.03419005125761032, -0.1748158484697342, 0.08561193197965622, 0.11591043323278427, -0.2693033218383789, -0.07094267010688782, -0.5741310119628906, 0.33102697134017944, 0.0362217053771019, -0.5859739184379578, -0.5365228056907654, 0.49230310320854187, 0.4406125545501709, -0.3404574692249298, 0.6604100465774536, 0.5087761282920837, -0.18164493143558502, -0.30003803968429565, -0.9665879011154175, -0.12923894822597504, -0.5489904880523682, 0.43690183758735657, -0.3022557497024536, -1.0243481397628784, 0.458535760641098, -0.15852753818035126, -0.08623705804347992, -0.06813964992761612, 0.2388252466917038, -0.2775132358074188, 0.7233982086181641, 0.8018062710762024, -0.5069356560707092, 0.7156113386154175, -0.21663108468055725, 0.2371923178434372, -1.2659205198287964, -0.32637110352516174, -0.15306152403354645, -0.510236918926239, -0.3202994763851166, -0.6363623142242432, 1.030940055847168, 0.29188859462738037, -0.33154234290122986, -0.018715107813477516, -0.3259454667568207, 0.6730303764343262, 0.46081680059432983, 0.5279392004013062, 0.1503315567970276, 0.15597909688949585, -0.1559564173221588, 0.18550099432468414, -0.9394363164901733, -0.2719424068927765, 0.8850350379943848, 0.2655623257160187, 0.6818346381187439, -0.03633624687790871, 0.6942369937896729, -0.05888771265745163, 0.016486315056681633, -0.796893298625946, 0.6084537506103516, 0.13915233314037323, -0.2717114984989166, -0.1238539069890976, -0.09657081216573715, -0.5113294124603271, 0.3791770339012146, -0.09393569827079773, -0.8617832660675049, 0.2559000849723816, 0.10524909943342209, -0.42211148142814636, 0.2984427511692047, -0.17832976579666138, 0.5547753572463989, -0.28707176446914673, -0.5372689366340637, -0.36472591757774353, -0.9605774879455566, 0.3051816523075104, -0.20048189163208008, 0.33856910467147827, -0.07756166160106659, -0.4676932990550995, 0.6183871030807495, -0.211528480052948, 0.8831803798675537, -0.09277593344449997, -0.32509854435920715, 0.42216697335243225, 0.11742737889289856, 0.7527356147766113, 0.1608234941959381, -0.128744974732399, 0.010474445298314095, -0.7388696074485779, -0.4106089770793915, -0.5079729557037354, 0.8207780718803406, -0.6238773465156555, -0.692630410194397, -0.16192153096199036, -0.6677393317222595, -0.4404255151748657, 0.058663059026002884, 0.04787309840321541, 0.6325347423553467, 0.0020617262925952673, 0.4892205595970154, 0.9528522491455078, 0.008612213656306267, 0.5528292655944824, 0.2861868441104889, 0.306021511554718, -0.7091977596282959, 0.5331814885139465, -0.16360673308372498, 0.23404879868030548, 0.663455069065094, 0.11045251041650772, -0.055629584938287735, -0.5034514665603638, -0.2893591523170471, 0.02963242307305336, -0.8909006118774414, -0.16729752719402313, -0.7945343852043152, -0.13449148833751678, 0.009489335119724274, -0.7516476511955261, -0.2524377107620239, -0.3649483621120453, -0.2705848217010498, 0.04776570945978165, 0.29722341895103455, 0.34167057275772095, 0.07574089616537094, 0.6277738213539124, -0.7649921178817749, 0.0369078665971756, 0.44457149505615234, 0.08379527926445007, 0.10832654684782028, -0.4036511182785034, -0.5431297421455383, 0.09763806313276291, -0.3101060688495636, -0.6822359561920166, 0.20665891468524933, 0.2544054090976715, 0.8856539726257324, 0.7029421329498291, -0.07997041940689087, 0.6023082733154297, -0.3866766095161438, 0.6990495920181274, 0.20849570631980896, -1.0985406637191772, 0.389469712972641, -0.577013373374939, 0.20454905927181244, 0.6361519694328308, 0.29345831274986267, -0.48008254170417786, -0.4456992447376251, -0.21362148225307465, -0.9814241528511047, 0.6022591590881348, 0.04686490073800087, 0.08489295840263367, 0.09291677922010422, 0.24755628407001495, 0.04143380746245384, 0.23356817662715912, -0.4491192400455475, 0.0201431717723608, -0.0026386771351099014, -0.33114808797836304, -0.034339867532253265, -0.35970085859298706, -0.4594029486179352, -0.3380722105503082, 0.4474368989467621, -0.31784141063690186, -0.046598415821790695, 0.28656935691833496, -0.3824301064014435, -0.024066779762506485, 0.08645900338888168, 0.7953065037727356, 0.9234248995780945, -0.122797392308712, 0.3599829375743866, 0.788752555847168, -0.19306530058383942, 0.15972140431404114, -0.4161822497844696, -0.027652211487293243, -0.15441562235355377, 0.47468531131744385, 0.5808103680610657, 0.8505629897117615, -0.3905157744884491, 0.4715281128883362, 0.45625945925712585, 0.15975113213062286, -0.31990182399749756, 0.24426382780075073, 0.15973466634750366, 0.30857908725738525, 0.5547255873680115, 0.20775774121284485, -0.0068544731475412846, -0.039271485060453415, 0.17284931242465973, 0.4054478406906128, -0.3756726086139679, -0.19766667485237122, 0.4792519509792328, 0.5777403712272644, -0.20777441561222076, 0.1923619508743286, 0.08439487218856812, -0.6621842384338379, 0.45209750533103943, 0.44500264525413513, 1.019167423248291, -0.2894839942455292, -0.14791351556777954, 0.0033302241936326027, -0.027987368404865265, -0.029486119747161865, 0.06914284825325012, -0.24760150909423828, -0.8193708062171936, -0.32259199023246765, -0.30106300115585327, -0.3569960296154022, -0.2227562516927719, -0.42840149998664856, 0.3068927824497223, -0.23226849734783173, -0.02659648470580578, -0.47047412395477295, -0.2211182713508606, -0.5080395340919495, 0.1433008462190628, 0.08408233523368835, 0.8736557364463806, -0.47373583912849426, 0.9214327335357666, 0.8499752879142761, 0.07327256351709366, -0.40087220072746277, 0.32756373286247253, 0.05705909803509712, -0.6551328301429749, 0.48264840245246887, 0.36024945974349976, -0.6067987084388733, 0.11105825752019882, -0.4506612718105316, -0.7463499903678894, 1.221711277961731, 0.1874455213546753, -0.4497829079627991, 0.18768197298049927, -0.03539220243692398, 0.19610366225242615, -0.6672641634941101, 0.19404950737953186, 0.21053560078144073, 0.28287893533706665, 0.16599531471729279, -0.6757363677024841, -0.03008221834897995, 0.13359838724136353, 0.19949492812156677, -0.01854138821363449, -0.7867209315299988, 0.5569159984588623, -0.01634606532752514, 0.03086124360561371, -0.2881360948085785, 0.9568846821784973, 0.5029909014701843, 0.33906301856040955, 0.791264533996582, 0.3256511688232422, 0.779555082321167, 0.5483531355857849, 0.8204425573348999, -0.643172025680542, 0.0900317057967186, 1.1289960145950317, -0.24486754834651947, 0.7920079827308655, 0.6805056929588318, 0.2594854235649109, 0.5402388572692871, 0.5621970891952515, 0.5359718203544617, 0.8135219812393188, -0.06280247122049332, -0.6407220363616943, -0.4204331934452057, -0.12481328845024109, -0.35290613770484924, 0.33149272203445435, 0.3763228952884674, -0.14278607070446014, -0.23421041667461395, 0.11961067467927933, 0.2091522514820099, -0.012246692553162575, -0.31837528944015503, 0.7192112803459167, 0.2954614460468292, -0.46805429458618164, 0.6123502254486084, 0.04646611586213112, 0.889974057674408, -0.4936179220676422, 0.32412320375442505, -0.30861708521842957, 0.2838873565196991, -0.19302789866924286, -0.7335979342460632, -0.05108551308512688, -0.12840667366981506, 0.06289042532444, -0.1294129341840744, 0.7428039312362671, -0.6037259697914124, -0.46409890055656433, 0.23825591802597046, 0.5224557518959045, -0.08662149310112, -0.2822822630405426, -0.30560302734375, -0.13701984286308289, -0.07898202538490295, -0.3388078510761261, 0.38200369477272034, 0.7090327739715576, -0.06014779210090637, 0.759175181388855, 0.3318531811237335, -0.27949056029319763, -0.09081728756427765, -0.16946977376937866, 1.2233729362487793, -0.46815910935401917, -0.47995051741600037, -0.8890357613563538, 0.7479920387268066, -0.1958393007516861, -0.3434150815010071, 0.6791011095046997, 0.5106280446052551, 0.90253084897995, -0.01771400310099125, 0.6246081590652466, 0.29907941818237305, 0.06366907805204391, -0.5756803750991821, 0.7273085713386536, -0.6701353192329407, 0.18262138962745667, -0.24075959622859955, -1.0063077211380005, -0.14883051812648773, 0.6116806268692017, -0.2580243945121765, 0.09198765456676483, 0.695453941822052, 0.6950666308403015, -0.47894203662872314, -0.18108005821704865, 0.23785032331943512, -0.015833552926778793, 0.22847871482372284, 0.8123772740364075, 0.7859783172607422, -0.004478743765503168, 0.16802971065044403, -0.3945609927177429, -0.3257569372653961, -0.46799007058143616, -1.1278512477874756, -1.0693609714508057, -0.281486839056015, -0.3017016649246216, 0.09542307257652283, 0.03671739250421524, 1.1323368549346924, 0.8762994408607483, -0.6423841118812561, -0.38253477215766907, 0.06201932206749916, 0.17467305064201355, -0.18604819476604462, -0.11854453384876251, 0.34974390268325806, -0.42969027161598206, -0.49432373046875, 0.8553473949432373, 0.4828312397003174, -0.22598159313201904, -0.24722713232040405, -0.1407419741153717, -0.30021238327026367, 0.039622776210308075, 0.6512143015861511, -0.14558105170726776, -0.7095208764076233, -0.4925585389137268, -0.16194333136081696, -0.16490258276462555, 0.28852489590644836, 0.7450539469718933, -0.7561334371566772, 0.38980749249458313, 0.7100628018379211, 0.5862604379653931, 0.3792214095592499, 0.26641204953193665, 0.7123886346817017, -1.0723634958267212, 0.49564993381500244, 0.15627619624137878, 0.4137561321258545, 0.4613979458808899, -0.4270598590373993, 0.5791251063346863, 0.14469513297080994, -0.47220665216445923, -0.5055550932884216, 0.12235241383314133, -1.2143523693084717, -0.06333494186401367, 1.146538496017456, -0.20073221623897552, -0.15942735970020294, -0.17556770145893097, -0.35901519656181335, 0.15264680981636047, -0.46770960092544556, 0.6834306120872498, 0.43042415380477905, -0.02181498520076275, -0.021175555884838104, -0.6937466263771057, 0.2656954824924469, 0.5638617277145386, -0.565658450126648, -0.24817170202732086, 0.30211159586906433, 0.39006316661834717, -0.0743860974907875, 0.5558108687400818, 0.3898206949234009, -0.17752662301063538, -0.4784477949142456, -0.06261557340621948, -0.1270206719636917, -0.48753413558006287, -0.2164277732372284, 0.1313958615064621, -0.1132904589176178, -0.3009899854660034 ]
http://arxiv.org/abs/2406.19593v1
http://arxiv.org/pdf/2406.19593v1
SK-VQA: Synthetic Knowledge Generation at Scale for Training Context-Augmented Multimodal LLMs
2024-06-28T01:14:43
2024-06-28T01:14:43
Xin Su, Man Luo, Kris W Pan, Tien Pei Chou, Vasudev Lal, Phillip Howard
cs.CL
cs.CL, cs.CV
Synthetic data generation has gained significant attention recently for its utility in training large vision and language models. However, the application of synthetic data to the training of multimodal context-augmented generation systems has been relatively unexplored. This gap in existing work is important because existing vision and language models (VLMs) are not trained specifically for context-augmented generation. Resources for adapting such models are therefore crucial for enabling their use in retrieval-augmented generation (RAG) settings, where a retriever is used to gather relevant information that is then subsequently provided to a generative model via context augmentation. To address this challenging problem, we generate SK-VQA: a large synthetic multimodal dataset containing over 2 million question-answer pairs which require external knowledge to determine the final answer. Our dataset is both larger and significantly more diverse than existing resources of its kind, possessing over 11x more unique questions and containing images from a greater variety of sources than previously-proposed datasets. Through extensive experiments, we demonstrate that our synthetic dataset can not only serve as a challenging benchmark, but is also highly effective for adapting existing generative multimodal models for context-augmented generation.
[ -0.5877444744110107, -0.4449467957019806, 0.6220257878303528, 0.0021847039461135864, -0.1924983114004135, 0.21104978024959564, -0.10757001489400864, -0.4022344648838043, 0.12609300017356873, 0.5991279482841492, -0.7686535120010376, -0.012719646096229553, -0.17001496255397797, 0.2172078788280487, -0.3044763207435608, 0.7370516061782837, 0.0914958044886589, 0.3554246723651886, -0.6745981574058533, -0.3797590732574463, -0.39068347215652466, -0.6748270392417908, -0.22330394387245178, 0.04087261110544205, 0.5338156819343567, 0.2596176564693451, 0.20491033792495728, 0.28222164511680603, 0.2188841998577118, 0.3194600045681, 0.14357127249240875, 0.7457098960876465, -0.5259830355644226, 0.41801518201828003, -0.305874764919281, -0.4615398645401001, -0.11971942335367203, -0.15883660316467285, 0.7381970882415771, 0.4827079474925995, 0.1401323676109314, 0.4716494381427765, -0.3176312744617462, 0.603034257888794, -0.7576462030410767, -0.06489226967096329, -1.1190903186798096, 0.00014389502757694572, 0.033546749502420425, -0.2461995631456375, -0.32898297905921936, -0.1988297551870346, 0.15436720848083496, -0.8553690910339355, 0.4209280014038086, 0.07670890539884567, 0.66424161195755, 0.3118671178817749, -0.9628767371177673, -0.18831676244735718, -0.7463126182556152, 0.7128582000732422, -0.3145093321800232, 0.5172123312950134, 0.02089717984199524, 0.6866008639335632, -0.24163818359375, -1.0014547109603882, -1.0437960624694824, -0.2074548900127411, 0.09819523245096207, 0.2908151149749756, 0.2013380080461502, -0.028510097414255142, 0.4798707962036133, 0.3039322793483734, -0.39964741468429565, -0.4544796049594879, -0.7339613437652588, -0.2978971600532532, 0.6359390020370483, 0.35020866990089417, 0.06801334768533707, -0.4930292069911957, -0.6215481758117676, -0.4106237590312958, -0.767247200012207, 0.062251996248960495, 0.1312524825334549, 0.19580954313278198, 0.13941065967082977, 1.0679032802581787, -0.5619648694992065, 0.8215911388397217, 0.06625533103942871, -0.2074439525604248, 0.3662186861038208, -0.8234384059906006, -0.023126155138015747, -0.23800207674503326, 0.4721231162548065, 0.5551595091819763, -0.007644773460924625, 0.060305166989564896, -0.08478821069002151, 0.14523854851722717, 0.6634926795959473, -0.7087222933769226, -0.21467919647693634, -0.07209493964910507, 0.16363130509853363, -0.24551090598106384, -0.12343673408031464, -0.6669871807098389, -0.4258420765399933, -0.7185941934585571, 0.7268303036689758, -0.2819584906101227, -0.18871858716011047, -0.2120661735534668, -0.36194631457328796, 0.5075982213020325, 0.4359360337257385, -0.5753203630447388, -0.1608312726020813, 0.17489783465862274, 0.5363480448722839, -0.23763957619667053, -0.038445014506578445, -0.34447747468948364, 0.2927863597869873, -0.570869505405426, 0.7425090670585632, -0.28132566809654236, -0.35161951184272766, -0.08095361292362213, 0.1375621259212494, 0.11113063246011734, -0.6295081973075867, 0.26575201749801636, -0.556833028793335, 0.15336459875106812, -0.4959772527217865, -0.20698390901088715, -0.04538867622613907, 0.6113353967666626, -0.7082723379135132, 1.2257403135299683, 0.5520159006118774, -0.6134263277053833, 0.7285540103912354, -0.3443903625011444, -0.12782810628414154, 0.26459836959838867, -0.48921239376068115, -0.1460421085357666, 0.35628795623779297, 0.3656767010688782, 0.2633182108402252, -0.4134349822998047, 0.1684037446975708, -0.2021135836839676, 0.03568538278341293, 0.32242223620414734, -0.31021246314048767, 0.34456461668014526, 0.08857527375221252, -0.07086040824651718, 0.10522383451461792, -1.1284748315811157, 0.5137841105461121, 0.09712956100702286, -0.5738747715950012, -0.4720941483974457, -0.2998969256877899, 0.07378116250038147, 0.5446099042892456, 0.22061146795749664, -0.6160339117050171, 0.26610952615737915, -0.3555474877357483, 0.2021106481552124, 0.7959054708480835, 0.13733021914958954, 0.5063616633415222, -0.39178267121315, 0.5224438309669495, 0.1250554919242859, -0.01636088453233242, -0.17029260098934174, -0.3084169328212738, -0.7727974057197571, -0.2750093638896942, 0.17187325656414032, 0.25561952590942383, -1.5521200895309448, -0.21254193782806396, -0.42144376039505005, -0.5243123173713684, -0.4922855496406555, 0.19126038253307343, 0.30124661326408386, 0.6571404337882996, 0.3409540355205536, -0.1691380739212036, -0.8761350512504578, -1.0151463747024536, -0.04020971059799194, -0.045080043375492096, -0.22490184009075165, 0.711650550365448, 0.49300023913383484, -0.3673619031906128, 1.2568341493606567, -0.39317992329597473, 0.044589683413505554, -0.20228080451488495, -0.07887448370456696, -0.1953086405992508, 0.364411860704422, 0.5911921858787537, -1.1846485137939453, -0.434248149394989, -0.07945358008146286, -0.7488746643066406, 0.03550616651773453, -0.259614497423172, -0.252438485622406, 0.20982331037521362, 0.3914528787136078, -0.5469757914543152, 0.15271726250648499, 0.7127655744552612, -0.06824032962322235, 0.8502310514450073, -0.35848167538642883, 0.23725993931293488, -1.510399341583252, -0.007194777950644493, -0.1835504025220871, -0.1817968636751175, -0.6484139561653137, 0.15822045505046844, 0.23245124518871307, -0.10678509622812271, -0.6361092329025269, 0.8227202892303467, -0.3581492602825165, -0.16418509185314178, -0.17432145774364471, 0.0481533482670784, 0.1507522165775299, 0.5006098747253418, 0.16510161757469177, 1.002616047859192, 0.3769141435623169, -0.6795782446861267, 0.6444084048271179, 0.365526020526886, -0.4274463355541229, 0.7553682923316956, -0.47315171360969543, 0.1827704757452011, -0.12569499015808105, 0.37208232283592224, -1.027406096458435, -0.8369410634040833, 0.02809995226562023, -0.4292719066143036, -0.019495146349072456, -0.11460307240486145, -0.3682582974433899, -0.36134016513824463, -0.1870240420103073, 0.8482643365859985, 0.4909837245941162, -0.9727155566215515, 0.886371374130249, 0.3768112361431122, -0.0395519994199276, -0.5409471392631531, -0.45176252722740173, -0.04326159879565239, -0.15180034935474396, -0.7144842147827148, 0.336359441280365, -0.23111294209957123, -0.1727769672870636, -0.2037668228149414, -0.3102472722530365, -0.0679117813706398, -0.2914672791957855, 0.28853172063827515, 0.24932414293289185, -0.19349335134029388, 0.2027425765991211, 0.2539948523044586, 0.17428413033485413, 0.1265794187784195, -0.04436660557985306, 0.5114471912384033, 0.12656065821647644, -0.29966500401496887, 0.09315302222967148, 0.3075679838657379, 0.7996495366096497, -0.1017465740442276, 0.8130724430084229, 0.6839425563812256, -0.28669413924217224, -0.5248098373413086, -0.5413057208061218, -0.16145658493041992, -0.5150212049484253, 0.3833748996257782, -0.5422639846801758, -0.8925666809082031, 0.345969021320343, -0.4489448368549347, -0.06057746335864067, 0.3468168079853058, 0.7932168245315552, -0.2131258100271225, 1.1873961687088013, 0.4699670374393463, 0.46633660793304443, 0.2764078378677368, -0.3629574179649353, -0.09401238709688187, -1.0780258178710938, -0.5296645760536194, -0.07577573508024216, -0.16849537193775177, -0.675381064414978, -0.7683486342430115, 0.7946366667747498, 0.00437470618635416, -0.10089241713285446, 0.22780369222164154, -0.35483238101005554, 0.33788567781448364, 0.7530583739280701, 0.31340041756629944, 0.05366922914981842, 0.12511689960956573, -0.2660413384437561, -0.029125791043043137, -0.8290101289749146, -0.17232100665569305, 1.397668480873108, -0.2841479182243347, 0.5412923097610474, 0.001962970942258835, 0.3981252908706665, 0.1411886364221573, 0.19339117407798767, -0.6238731145858765, 0.6507320404052734, 0.11515934765338898, -0.8192631006240845, -0.20509111881256104, -0.5552408695220947, -0.5776923894882202, 0.42204979062080383, -0.6611633896827698, -0.22319327294826508, 0.17471528053283691, 0.3482714593410492, -0.22677825391292572, 0.044993918389081955, -0.6751601099967957, 0.5190354585647583, -0.22634394466876984, -0.33668193221092224, 0.010814170353114605, -0.5897941589355469, 0.6335546970367432, -0.44938820600509644, 0.09486322849988937, 0.18266309797763824, 0.020509418100118637, 0.38578227162361145, -0.37298744916915894, 0.5808699727058411, -0.16101773083209991, -0.1577896922826767, 0.4136334955692291, -0.07883955538272858, 0.4369388520717621, 0.30361321568489075, 0.27808430790901184, -0.1710166186094284, 0.08247106522321701, -0.3228951394557953, -0.6268697381019592, 0.6715225577354431, -0.6843620538711548, -0.4943092167377472, -0.32637715339660645, -0.9284743666648865, -0.5472189784049988, 0.00995471328496933, 0.38123688101768494, 0.5664262771606445, 0.023838602006435394, 0.5447177290916443, 0.5862330794334412, -0.4721510708332062, -0.11398465186357498, 0.18234485387802124, -0.2033429592847824, -0.6764153242111206, 1.057641625404358, 0.09181611984968185, 0.6127684712409973, -0.04051628336310387, -0.06909190863370895, -0.4482996463775635, -0.3168807327747345, -0.7121764421463013, 0.0041085402481257915, -0.761741042137146, -0.2577495574951172, -0.5982221961021423, -0.45949041843414307, -0.3356444239616394, -0.1736615151166916, -0.26090770959854126, -0.6344292163848877, 0.015012596733868122, -0.07624734193086624, 0.44601988792419434, 0.5782608985900879, -0.1381426453590393, 0.173851877450943, -0.6471737623214722, 0.873490035533905, 0.7506284117698669, 0.048569172620773315, -0.3190464973449707, -0.42196425795555115, -0.17203225195407867, 0.3931494653224945, -0.21603678166866302, -0.6051717400550842, 0.4016511142253876, 0.3502054214477539, 0.5016980767250061, -0.15513838827610016, 0.27618756890296936, 0.8224141001701355, -0.5905216336250305, 1.0097458362579346, 0.14426039159297943, -0.41954609751701355, 0.44546735286712646, -0.3659447431564331, 0.42464911937713623, 0.4486415982246399, 0.36139920353889465, -0.24750320613384247, -0.17970159649848938, -0.4391383230686188, -1.049838900566101, 0.6195731163024902, 0.17914462089538574, 0.3654015362262726, 0.021690653637051582, 0.485806405544281, 0.20691049098968506, 0.3687822222709656, -0.6988126635551453, -0.02000107616186142, -0.38641852140426636, -0.22920531034469604, 0.014645419083535671, -0.2785172462463379, -0.3383571207523346, -0.356452614068985, 0.5603724122047424, -0.39212989807128906, 0.09593667834997177, 0.17989014089107513, -0.21768556535243988, 0.04900037497282028, 0.024180592969059944, 0.6527773141860962, 0.6513199210166931, 0.10068173706531525, 0.03747227415442467, 0.5350594520568848, -0.5467275381088257, 0.18962225317955017, -0.19988766312599182, -0.2206353098154068, -0.02546030469238758, 0.07748096436262131, 0.7623674869537354, 0.022968783974647522, -1.081146478652954, 0.3303045332431793, -0.07907392829656601, -0.47082698345184326, -0.6178210973739624, 0.3213013708591461, -0.05924182012677193, 0.5615237951278687, 0.5738191604614258, 0.068723663687706, -0.10241125524044037, -0.5105862021446228, 0.29570627212524414, 0.5488114953041077, -0.013485698960721493, -0.20495565235614777, 0.577402651309967, 0.04033386707305908, 0.012358634732663631, 0.640028715133667, -0.08299227803945541, -0.48980775475502014, 0.5295442342758179, 0.4766063988208771, 0.39400285482406616, -0.05714574083685875, 0.29248616099357605, 0.6363077759742737, 0.04506660997867584, 0.06253287196159363, 0.5283043384552002, -0.25238534808158875, -0.7188163995742798, -0.4080173373222351, -0.8238673210144043, -0.3250553011894226, 0.358936071395874, -0.703251302242279, 0.08740033954381943, -0.3792373239994049, -0.16997797787189484, -0.18813075125217438, -0.2923550307750702, -0.8557295799255371, 0.5295884609222412, 0.056759659200906754, 0.6600886583328247, -0.6676120162010193, 0.6985070705413818, 0.698505163192749, -0.20375175774097443, -0.6841323971748352, -0.17068266868591309, -0.1515209823846817, -0.7342179417610168, 0.8406671285629272, 0.010078839026391506, -0.02794795297086239, 0.015985609963536263, -0.7399502992630005, -0.9068623781204224, 1.2871272563934326, 0.42818960547447205, -0.4513989984989166, -0.20575660467147827, 0.4683040380477905, 0.6134838461875916, -0.42648622393608093, -0.17054519057273865, 0.2650633752346039, 0.28298866748809814, 0.5370082259178162, -0.7425661087036133, -0.14895473420619965, -0.3207685947418213, 0.21121855080127716, 0.10507551580667496, -0.3800048828125, 0.8487507700920105, -0.20556382834911346, -0.16533832252025604, 0.28976452350616455, 0.45921286940574646, 0.7297127842903137, 0.23826734721660614, 0.5043638348579407, 0.5045027732849121, 0.30418479442596436, -0.1536889672279358, 0.9464717507362366, -0.18535009026527405, -0.010815586894750595, 1.1459732055664062, -0.23806488513946533, 0.7689275145530701, 0.7552481889724731, 0.14599613845348358, 0.24669182300567627, 0.4259307384490967, 0.0012326168362051249, 0.6625156402587891, 0.2507348954677582, -0.5907146334648132, -0.5803906321525574, -0.19170504808425903, -0.42165958881378174, 0.6001636981964111, 0.41030311584472656, -0.33219271898269653, -0.12221091240644455, 0.40610915422439575, -0.6583524942398071, 0.003215573262423277, -0.35651159286499023, 0.895747184753418, -0.1300114393234253, -0.6018120050430298, 0.6340733170509338, -0.2851678133010864, 0.43742457032203674, -0.6217512488365173, -0.28868305683135986, -0.06735766679048538, 0.09404332935810089, 0.05944931134581566, -0.66280198097229, 0.07805951684713364, -0.006622538436204195, -0.29872435331344604, -0.0924023687839508, 0.7013200521469116, -0.5535391569137573, -0.6996992826461792, -0.09119107574224472, 0.6176884770393372, -0.19027920067310333, 0.006233150605112314, -0.3968615233898163, -0.16261768341064453, -0.03616229072213173, -0.28567811846733093, 0.538135826587677, 0.5475043654441833, -0.1535828411579132, 0.6806135177612305, 0.9606035351753235, 0.012075124308466911, 0.5590108633041382, -0.1639334112405777, 1.2167823314666748, -0.46988463401794434, -0.21267551183700562, -0.24406585097312927, 0.8267302513122559, -0.14488378167152405, -0.319047749042511, 0.7981165647506714, 0.5003867745399475, 1.2227990627288818, -0.354576051235199, 0.9555352330207825, -0.25344452261924744, 0.4360993802547455, -0.562312662601471, 0.5333687663078308, -0.9125819206237793, -0.13060078024864197, -0.08088432252407074, -1.0094276666641235, 0.11227204650640488, 0.4471711814403534, 0.012781060300767422, 0.010437806136906147, 0.28366634249687195, 0.8921614289283752, -0.16744883358478546, -0.28113070130348206, 0.34508538246154785, 0.1181592270731926, 0.2538706958293915, 0.3482291102409363, 1.044921875, -0.4435218870639801, 0.6614992618560791, -0.2693723738193512, 0.10662585496902466, -0.02047857828438282, -0.7348619699478149, -0.8423886299133301, -1.1426252126693726, 0.02142910473048687, -0.29787394404411316, -0.10022348910570145, 0.8123269081115723, 0.7395209074020386, -0.5615682601928711, 0.206528440117836, -0.04348815232515335, -0.4343797564506531, 0.09391023218631744, -0.1874351054430008, 0.025836147367954254, -0.2511005401611328, -0.6304090023040771, 0.65608149766922, -0.06908104568719864, 0.16160547733306885, -0.4635668694972992, -0.15328346192836761, -0.09517381340265274, 0.29930299520492554, 0.9685031175613403, 0.22985881567001343, -0.6730415225028992, -0.46123144030570984, 0.2572093904018402, 0.010940730571746826, -0.05540623888373375, 0.7087691426277161, -1.2014175653457642, 0.9366422891616821, 0.4715820550918579, 0.7773552536964417, 0.659603476524353, 0.19308339059352875, 0.7546080350875854, -1.1409646272659302, 0.11186876147985458, 0.20362642407417297, 0.17714449763298035, 0.25704291462898254, -0.09273094683885574, 0.38538694381713867, 0.21261616051197052, -0.3722243905067444, -1.1083582639694214, 0.4268331825733185, -1.135122537612915, -0.13000790774822235, 1.2660468816757202, 0.19373638927936554, -0.24638105928897858, 0.01812933385372162, -0.5619511604309082, 0.13542449474334717, 0.06263907998800278, 0.8040724396705627, 0.5326632857322693, 0.007284898776561022, -0.16692255437374115, -0.5993539094924927, 0.6229385733604431, 0.08218929171562195, -0.8556064367294312, -0.11528680473566055, 0.9235406517982483, 0.2933447062969208, 0.2905050218105316, 0.2978787422180176, 0.020080136135220528, 0.4992714822292328, 0.1569398194551468, -0.019310656934976578, -0.19024744629859924, -0.5655057430267334, -0.013710365630686283, 0.314769446849823, -0.2671106159687042, -0.020319264382123947 ]
http://arxiv.org/abs/2406.19578v1
http://arxiv.org/pdf/2406.19578v1
PathAlign: A vision-language model for whole slide images in histopathology
2024-06-27T23:43:36
2024-06-27T23:43:36
Faruk Ahmed, Andrew Sellergren, Lin Yang, Shawn Xu, Boris Babenko, Abbi Ward, Niels Olson, Arash Mohtashamian, Yossi Matias, Greg S. Corrado, Quang Duong, Dale R. Webster, Shravya Shetty, Daniel Golden, Yun Liu, David F. Steiner, Ellery Wulczyn
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Microscopic interpretation of histopathology images underlies many important diagnostic and treatment decisions. While advances in vision-language modeling raise new opportunities for analysis of such images, the gigapixel-scale size of whole slide images (WSIs) introduces unique challenges. Additionally, pathology reports simultaneously highlight key findings from small regions while also aggregating interpretation across multiple slides, often making it difficult to create robust image-text pairs. As such, pathology reports remain a largely untapped source of supervision in computational pathology, with most efforts relying on region-of-interest annotations or self-supervision at the patch-level. In this work, we develop a vision-language model based on the BLIP-2 framework using WSIs paired with curated text from pathology reports. This enables applications utilizing a shared image-text embedding space, such as text or image retrieval for finding cases of interest, as well as integration of the WSI encoder with a frozen large language model (LLM) for WSI-based generative text capabilities such as report generation or AI-in-the-loop interactions. We utilize a de-identified dataset of over 350,000 WSIs and diagnostic text pairs, spanning a wide range of diagnoses, procedure types, and tissue types. We present pathologist evaluation of text generation and text retrieval using WSI embeddings, as well as results for WSI classification and workflow prioritization (slide-level triaging). Model-generated text for WSIs was rated by pathologists as accurate, without clinically significant error or omission, for 78% of WSIs on average. This work demonstrates exciting potential capabilities for language-aligned WSI embeddings.
[ 0.06360971182584763, -0.2519110143184662, 0.8191941976547241, 0.1255323886871338, -0.6018441915512085, -0.07356292009353638, -0.08867306262254715, -0.4345680773258209, 0.5155948996543884, 0.6026812791824341, -0.2302844226360321, -0.5911415815353394, -0.7305088639259338, 0.11286171525716782, -0.28833165764808655, 0.9983677864074707, 0.051742859184741974, 0.32441550493240356, -0.3136918842792511, -0.25033333897590637, -0.2097506821155548, 0.12025690823793411, -0.4790908992290497, -0.0376400426030159, 0.4389810860157013, 0.3196350932121277, 1.0092284679412842, 1.0378587245941162, 0.961094081401825, 0.23531685769557953, -0.23158706724643707, -0.10893458873033524, -0.0890248715877533, 0.25864386558532715, -0.2957373559474945, -0.26566484570503235, -0.3378508687019348, -0.020772363990545273, 0.525764524936676, 0.914694607257843, -0.43997785449028015, -0.06638146191835403, -0.27169862389564514, 0.3631367087364197, -0.5994660258293152, 0.07023584097623825, -0.23274551331996918, 0.3036680519580841, -0.3385710120201111, -0.13704441487789154, -0.41977423429489136, -0.1343131810426712, 0.22223560512065887, -0.7326638102531433, -0.07606877386569977, -0.06900901347398758, 0.8641310930252075, 0.31773683428764343, -0.42591360211372375, -0.2901647388935089, -0.4251006543636322, 0.48864609003067017, -0.8092800974845886, 0.4511528015136719, 0.23817488551139832, 0.5764709115028381, 0.10652521997690201, -0.8955883383750916, -0.17372249066829681, -0.151429682970047, -0.19447776675224304, 0.3980061411857605, -0.15393464267253876, 0.10794227570295334, 0.17208558320999146, 0.4560001492500305, -0.7167463302612305, 0.33625784516334534, -0.5180661082267761, -0.5640301704406738, 0.43584316968917847, 0.4324447810649872, 0.38810282945632935, -0.25039640069007874, -0.5180739164352417, 0.04972934350371361, -0.7351195216178894, -0.5096032619476318, -0.32453539967536926, 0.1780049353837967, -0.14881977438926697, 0.5609967708587646, 0.0004749475629068911, 0.8616688251495361, -0.06982986629009247, -0.5862723588943481, 0.21711163222789764, -0.20978637039661407, -0.27999815344810486, 0.05195755138993263, 0.963003933429718, 0.41034385561943054, -0.017979256808757782, -0.2892242968082428, 0.1184948980808258, 0.017118770629167557, 0.353472501039505, -0.8688725233078003, -0.07407539337873459, 0.26606911420822144, -0.6262123584747314, -0.5813535451889038, -0.3296014070510864, -1.0312721729278564, -0.6876700520515442, -0.03342090919613838, 0.3730963170528412, -0.472644567489624, -0.09280901402235031, 0.06771598756313324, -0.20248077809810638, -0.2622351050376892, 0.4678994119167328, -0.5158212780952454, 0.1045394167304039, 0.18298698961734772, 1.0543668270111084, -0.01359882764518261, -0.2884276807308197, -0.8688721060752869, 0.6083925366401672, -0.6802038550376892, 0.6759567856788635, -0.8376509547233582, -0.31577667593955994, 0.1673402041196823, -0.004843194503337145, 0.0330452062189579, -0.22270363569259644, 0.2645733058452606, -0.1751135140657425, 0.2680487632751465, 0.022215016186237335, -0.5577473044395447, 0.14112496376037598, 0.03392234072089195, -0.5437397956848145, 0.6641131043434143, 0.17337040603160858, -0.8676852583885193, 0.36711108684539795, -0.47886115312576294, -0.33152925968170166, 0.3980322778224945, -0.43667659163475037, -0.30192238092422485, 0.016997171565890312, -0.05497052147984505, 0.37223130464553833, -0.31110018491744995, 0.4984132945537567, -0.0790029913187027, -0.2687682807445526, -0.058021657168865204, -0.08938300609588623, 0.5984710454940796, -0.04451422020792961, -0.4339979588985443, 0.1172851100564003, -0.36144742369651794, -0.340070515871048, 0.0939076840877533, 0.03749126195907593, -0.3188740611076355, 0.019366763532161713, -0.13907021284103394, 0.3449386954307556, 0.34621545672416687, -0.8001793622970581, 0.2953076958656311, -0.6536977887153625, 0.16457943618297577, 0.4216948449611664, 0.04109325259923935, 0.31882819533348083, -0.03220529854297638, 0.4838121235370636, 0.571542501449585, 0.3443875312805176, -0.38667306303977966, -0.8872138261795044, -0.4159707725048065, -0.17275439202785492, 0.20404355227947235, 0.5949850678443909, -0.8107439279556274, 0.03413531556725502, -0.34973686933517456, -0.5780584216117859, -0.355875164270401, -0.056275784969329834, 0.6806936264038086, 0.6285271048545837, 0.34602469205856323, -0.48140960931777954, -0.22384783625602722, -1.1806646585464478, 0.35304856300354004, 0.05241841450333595, -0.12437630444765091, 0.34851911664009094, 0.29351019859313965, -0.3457357883453369, 0.5413303971290588, -0.9322783946990967, -0.6178015470504761, -0.09213453531265259, 0.06725016236305237, 0.09285453706979752, 0.2689284384250641, 0.41232970356941223, -0.6917917728424072, -0.5216188430786133, 0.1428922563791275, -0.7475242018699646, -0.0432610809803009, 0.055563002824783325, -0.3182261884212494, 0.26347997784614563, 0.6981410384178162, -0.65036940574646, 0.9077409505844116, 0.7051435708999634, -0.496730238199234, 0.5400615334510803, -0.4505859613418579, 0.1500343680381775, -1.2725781202316284, 0.17097051441669464, 0.3783935308456421, -0.37617290019989014, -0.5695117115974426, 0.09089913964271545, 0.0568428710103035, -0.2608504593372345, -0.20115958154201508, 0.36282625794410706, -0.3702095150947571, -0.3631914556026459, 0.03413137421011925, 0.4339648187160492, 0.03297288715839386, 0.24069802463054657, 0.30596932768821716, 0.8140153288841248, 0.9338892102241516, -0.38169780373573303, 0.08628480136394501, 0.5507876873016357, -0.05487645044922829, 0.32641249895095825, -0.4255897104740143, -0.08474583923816681, 0.012755941599607468, 0.350847452878952, -0.855293869972229, -0.29374098777770996, 0.17183728516101837, -0.23826149106025696, 0.5494301319122314, -0.4022676944732666, -0.45864251255989075, -0.41139838099479675, -0.31939730048179626, 0.17472855746746063, 0.4321349263191223, -0.3742349445819855, 0.3789714276790619, 0.4550566077232361, -0.29953259229660034, -0.4400196373462677, -0.7375232577323914, 0.4810466766357422, 0.018013594672083855, -0.5530226826667786, 0.7307530045509338, -0.13245324790477753, -0.13621385395526886, -0.13867802917957306, 0.013640148565173149, -0.38035446405410767, -0.4262149930000305, 0.3008630573749542, 0.2713194787502289, -0.3432580530643463, 0.13694342970848083, 0.21744020283222198, -0.09442844986915588, -0.35431066155433655, -0.21711093187332153, 0.3975387215614319, 0.06935145705938339, -0.3530143201351166, -0.37321266531944275, 0.3136945962905884, 0.8636911511421204, -0.24913421273231506, 0.5046231150627136, 0.5701416730880737, -0.532521665096283, 0.31354087591171265, -0.29139551520347595, -0.09023260325193405, -0.43012312054634094, 0.17327921092510223, -0.26200541853904724, -0.6180058121681213, 0.2898881137371063, -0.04295920953154564, 0.1465754508972168, 0.3056128919124603, 0.5300607681274414, -0.23021432757377625, 1.0955532789230347, 0.7676010131835938, -0.01988409087061882, 0.13838133215904236, 0.006410714238882065, 0.19587664306163788, -0.964246392250061, -0.16895906627178192, -0.3293806314468384, 0.04307517036795616, -0.5256953835487366, -0.5981823801994324, 0.5260938405990601, -0.24829186499118805, 0.03787548840045929, 0.1702830195426941, -0.7260542511940002, 0.269340455532074, 0.2254738062620163, 0.3430293798446655, 0.08151215314865112, 0.036698874086141586, -0.1468101590871811, -0.4183148741722107, -0.6533912420272827, -0.6432759761810303, 1.0258657932281494, 0.2691933512687683, 0.37471893429756165, 0.4119543433189392, 0.672496497631073, 0.09749309718608856, 0.11844901740550995, -0.7039435505867004, 0.46143707633018494, -0.7476140856742859, -0.3973367512226105, -0.4103039801120758, -0.26471373438835144, -0.9071357250213623, 0.29125046730041504, 0.07052919268608093, -1.2181278467178345, 0.04170774295926094, 0.2568228244781494, -0.35984060168266296, 0.38630369305610657, -0.29597288370132446, 0.9373689889907837, 0.07392224669456482, -0.5271072387695312, -0.2602539658546448, -0.8526046276092529, 0.2601490318775177, 0.27034732699394226, 0.32089757919311523, 0.1937931478023529, -0.23621860146522522, 0.7693948745727539, -0.2623688578605652, 0.9413135647773743, -0.1937161087989807, -0.20447471737861633, 0.005734197795391083, 0.6284895539283752, 0.17290504276752472, 0.1820068210363388, 0.13602706789970398, 0.11392026394605637, 0.14866340160369873, -0.2882949411869049, -0.3480868339538574, 0.5744989514350891, -0.16074499487876892, -0.47929900884628296, -0.29959383606910706, -0.42119473218917847, -0.3914930820465088, 0.2091607004404068, 0.4896036982536316, 0.95311039686203, 0.08692140877246857, -0.14678353071212769, 0.8157691955566406, -0.26852157711982727, 0.560361921787262, 0.334306538105011, -0.24966813623905182, -0.13564927875995636, 1.0768898725509644, -0.19283175468444824, 0.10413294285535812, 0.3192266523838043, 0.4004184305667877, -0.013604803010821342, -0.7141907215118408, -1.0197759866714478, 0.25714966654777527, -0.5676469206809998, -0.4583405554294586, -0.470044881105423, -0.1657112091779709, -0.28350478410720825, -0.30501627922058105, -0.38900038599967957, -0.39389321208000183, -0.2565588057041168, 0.04339941591024399, 0.3124113380908966, 0.826138436794281, -0.3055897355079651, 0.2934711277484894, -0.8875914216041565, -0.016549335792660713, -0.19187988340854645, 0.48713865876197815, -0.2931036055088043, -0.4252009391784668, -0.2912183403968811, -0.06139863654971123, -0.2068103849887848, -1.1800063848495483, 0.49921560287475586, 0.25621122121810913, 0.29879230260849, 0.48899343609809875, -0.45153796672821045, 0.4139748513698578, -0.5086522102355957, 0.8365364670753479, 0.4344974756240845, -0.6734515428543091, 0.8802639842033386, -0.4511575996875763, 0.15910346806049347, 0.40959057211875916, 0.41040870547294617, -0.5904513597488403, -0.7649899125099182, -0.6774793863296509, -0.572330892086029, 0.6994282603263855, 0.14060086011886597, -0.239874467253685, 0.04839634522795677, 0.327825129032135, 0.007293920498341322, 0.06999211013317108, -0.5723873376846313, 0.07264794409275055, -0.22605855762958527, -0.6388300657272339, -0.07227620482444763, -0.26383960247039795, -0.5189188122749329, -0.13944867253303528, 0.30353981256484985, -0.5084537863731384, 0.47150537371635437, 0.27256157994270325, -0.3483547866344452, -0.15431497991085052, -0.0771898552775383, 0.7542448043823242, 0.6824526786804199, -0.08996753394603729, 0.0028615023475140333, -0.04459916800260544, -0.714909553527832, -0.37846842408180237, -0.04842578247189522, -0.006521923933178186, 0.14754226803779602, 0.6043406128883362, 0.4750015437602997, 0.27623483538627625, -0.6767759323120117, 0.9168508648872375, 0.04889450594782829, -0.2129034847021103, 0.08923617005348206, -0.10684530436992645, 0.09349735826253891, 0.024178819730877876, 0.25520405173301697, -0.016574785113334656, 0.5675015449523926, -0.1360492706298828, 0.42173394560813904, 0.21895278990268707, -0.9591643810272217, -0.2795533537864685, 0.3242121934890747, 0.18795394897460938, 0.002273744670674205, 0.7242236733436584, -0.28797367215156555, -0.5521236062049866, 0.7798913717269897, 0.6202852129936218, 0.2580498158931732, -0.18833652138710022, 0.5589054822921753, 0.4910934269428253, 0.2596510648727417, 0.22490298748016357, 0.03682418167591095, 0.2805810570716858, -0.4795757532119751, -0.3571815490722656, -0.6273438334465027, -0.43377360701560974, 0.0463440865278244, -0.5516974329948425, 0.06693639606237411, -0.4941351115703583, 0.09703279286623001, 0.3915575444698334, -0.29677143692970276, -0.0583045519888401, 0.5887231826782227, 0.20950452983379364, 0.9953804612159729, -0.7522760033607483, 0.6159104704856873, 0.7956089973449707, -0.6373785138130188, -0.6334838271141052, 0.24954593181610107, 0.3116246461868286, -0.6337026357650757, 0.5231267809867859, 0.21732157468795776, 0.2070460170507431, -0.20281119644641876, -0.4045723080635071, -1.0039995908737183, 1.0890564918518066, 0.08507165312767029, -0.6138153076171875, -0.11318753659725189, -0.17246600985527039, 0.716033935546875, -0.47911733388900757, 0.2663707435131073, 0.4184746742248535, 0.3027185797691345, 0.39117902517318726, -1.1259396076202393, 0.31939056515693665, 0.054277125746011734, -0.13227607309818268, 0.46164143085479736, -0.47812262177467346, 0.6072266101837158, -0.37071654200553894, -0.1741195172071457, -0.03628407046198845, 0.15108774602413177, 0.08964578807353973, 0.2002660036087036, 0.33647534251213074, 0.6808562874794006, 0.4327629506587982, 0.004674612078815699, 1.1506365537643433, -0.5286985635757446, 0.07473057508468628, 0.5806403160095215, -0.2749529778957367, 0.6922374367713928, 0.30739569664001465, 0.0014106263406574726, 0.6651691794395447, 0.5835275650024414, 0.027891011908650398, 0.5101752877235413, -0.14097952842712402, -0.04508383572101593, -0.2559499442577362, -0.12613609433174133, -0.17099334299564362, 0.5278032422065735, 0.6451914310455322, -0.3173331320285797, -0.2786230444908142, 0.08038485050201416, 0.003855542978271842, -0.15483416616916656, -0.29943951964378357, 0.8291047215461731, -0.07664187252521515, -0.5345032215118408, 0.0673731192946434, -0.14181862771511078, 0.6872109770774841, -0.44191572070121765, -0.09500432759523392, -0.35005655884742737, -0.022504014894366264, -0.33069634437561035, -1.1168123483657837, 0.6989874243736267, -0.050341930240392685, 0.07411905378103256, 0.25818485021591187, 0.45076385140419006, -0.4087749123573303, -0.5518833994865417, 0.23901642858982086, 0.27239859104156494, 0.2973039150238037, 0.394417941570282, -0.4479917883872986, -0.052074868232011795, 0.18962523341178894, 0.00350461108610034, 0.41835638880729675, 0.19679434597492218, -0.2640335261821747, 0.7992181181907654, 0.34314942359924316, 0.1627631038427353, -0.24649319052696228, 0.36583229899406433, 0.8365308046340942, -0.48304590582847595, -0.3425082266330719, -0.585612952709198, 0.6012025475502014, -0.3629753887653351, -0.5251819491386414, 0.16834622621536255, 0.5779162645339966, 0.20476357638835907, 0.182956263422966, 0.4237457513809204, -0.042741723358631134, 0.2900561988353729, -0.5161315202713013, 0.6062487959861755, -0.8455656170845032, -0.17769332230091095, -0.49709174036979675, -0.36889615654945374, -0.38858920335769653, 0.5962805151939392, -0.08195618540048599, -0.16922229528427124, 0.868390679359436, 0.7569081783294678, -0.2577364146709442, -0.2248610258102417, 0.4034733176231384, 0.24906420707702637, 0.16969026625156403, 0.5114122629165649, 0.35765907168388367, -0.26709166169166565, 0.7423331141471863, -0.3702329993247986, -0.5699557065963745, -0.2454303354024887, -0.6733428239822388, -0.6912344098091125, -0.8180050253868103, -0.6762322187423706, -0.15916329622268677, 0.16539956629276276, 0.32548028230667114, 0.9602881073951721, -0.4310169517993927, -0.01657475344836712, 0.015069350600242615, -0.14551891386508942, 0.1753644198179245, -0.14420785009860992, 0.5065039992332458, -0.2922348976135254, -0.4396798014640808, 0.4663044214248657, 0.9052480459213257, 0.21948590874671936, -0.25592437386512756, 0.21570302546024323, -0.04826115444302559, -0.11639723926782608, 0.7144870162010193, 0.029332714155316353, -0.5373564958572388, 0.0045592631213366985, -0.1028120368719101, -0.430736780166626, 0.20354287326335907, 0.5707303881645203, -0.48155686259269714, 0.3969824016094208, 0.015199108049273491, 0.2615419030189514, 0.6912146210670471, -0.37305885553359985, 0.6209905743598938, -0.6299116015434265, 0.18474633991718292, 0.4111625850200653, 0.46120908856391907, 0.35316401720046997, -0.6343885660171509, 0.5218915343284607, 0.07181773334741592, -0.21031294763088226, -0.850043773651123, 0.4305832087993622, -1.0109443664550781, -0.47749993205070496, 1.0980604887008667, -0.1440938115119934, -0.2001490443944931, 0.07172040641307831, -0.19985909759998322, 0.10329106450080872, -0.2538827061653137, 0.6335855722427368, 0.257752001285553, -0.24437928199768066, -0.4520358741283417, -0.24840524792671204, 0.6169694662094116, 0.19717440009117126, -0.7527863383293152, -0.08600329607725143, 0.6476162672042847, 0.34785738587379456, 0.5646553039550781, 0.67438805103302, -0.1879233717918396, 0.5288740992546082, 0.06351697444915771, 0.04439380392432213, 0.06802432984113693, -0.46372494101524353, -0.17770656943321228, -0.03589500114321709, -0.008913164027035236, -0.141646146774292 ]
http://arxiv.org/abs/2406.19564v1
http://arxiv.org/pdf/2406.19564v1
Voices Unheard: NLP Resources and Models for Yorùbá Regional Dialects
2024-06-27T22:38:04
2024-06-27T22:38:04
Orevaoghene Ahia, Anuoluwapo Aremu, Diana Abagyan, Hila Gonen, David Ifeoluwa Adelani, Daud Abolade, Noah A. Smith, Yulia Tsvetkov
cs.CL
cs.CL
Yor\`ub\'a an African language with roughly 47 million speakers encompasses a continuum with several dialects. Recent efforts to develop NLP technologies for African languages have focused on their standard dialects, resulting in disparities for dialects and varieties for which there are little to no resources or tools. We take steps towards bridging this gap by introducing a new high-quality parallel text and speech corpus YOR\`ULECT across three domains and four regional Yor\`ub\'a dialects. To develop this corpus, we engaged native speakers, travelling to communities where these dialects are spoken, to collect text and speech data. Using our newly created corpus, we conducted extensive experiments on (text) machine translation, automatic speech recognition, and speech-to-text translation. Our results reveal substantial performance disparities between standard Yor\`ub\'a and the other dialects across all tasks. However, we also show that with dialect-adaptive finetuning, we are able to narrow this gap. We believe our dataset and experimental analysis will contribute greatly to developing NLP tools for Yor\`ub\'a and its dialects, and potentially for other African languages, by improving our understanding of existing challenges and offering a high-quality dataset for further development. We release YOR\`ULECT dataset and models publicly under an open license.
[ -0.6673583388328552, -0.6711573004722595, 0.129819855093956, 0.18908138573169708, -0.14034482836723328, 0.14212629199028015, -0.25295379757881165, -0.5451331734657288, 0.38983041048049927, 0.8253394365310669, -0.5721209645271301, -0.2419085055589676, -0.4487273395061493, 0.2724127471446991, -0.450102299451828, 0.7690122127532959, 0.7605820894241333, -0.07284819334745407, 0.1308857798576355, -0.5803020596504211, -0.7067641615867615, -0.5091615915298462, -0.18514730036258698, -0.288844496011734, 0.2874011695384979, 0.45855894684791565, 0.6917218565940857, 0.358152836561203, -0.12152183055877686, 0.408614844083786, -0.6286065578460693, 0.3297325670719147, -0.20948490500450134, 0.19684365391731262, -0.20068372786045074, -0.23425382375717163, -0.376907080411911, -0.29455000162124634, 0.38481709361076355, 1.1542240381240845, -0.41383102536201477, 0.33683156967163086, 0.03684547170996666, 0.8351001143455505, -0.5092067718505859, 0.04757005348801613, -0.76218181848526, -0.06996020674705505, -0.6446271538734436, 0.151707723736763, -0.056622445583343506, -0.4169923961162567, -0.0300491563975811, -0.423341304063797, 0.3472764492034912, -0.3089703619480133, 0.5769715309143066, 0.13865245878696442, -0.4800882339477539, 0.004278280306607485, -0.5859556794166565, 0.5799135565757751, -1.20216703414917, 0.3258698582649231, 0.45612576603889465, 0.18485118448734283, -0.4691247344017029, -0.756111204624176, -0.6675575375556946, 0.07529225200414658, 0.15219934284687042, 0.07893060147762299, -0.41224923729896545, -0.11781023442745209, 0.12456519901752472, 0.4103086292743683, -0.24925735592842102, 0.26345518231391907, -0.6059963703155518, -0.10638294368982315, 0.4837484359741211, 0.021414589136838913, 0.15228213369846344, -0.4630981683731079, 0.07915489375591278, 0.141722172498703, -0.4195316731929779, -0.10331535339355469, 0.7142202854156494, 0.9030835628509521, -0.02050972916185856, 0.5140483379364014, -0.37501898407936096, 1.0705043077468872, -0.16761824488639832, -0.03619757667183876, 0.3747308850288391, 0.035523299127817154, -0.22685779631137848, -0.048827655613422394, 0.9794623851776123, 0.20587298274040222, 0.13883712887763977, -0.2942703068256378, -0.18936869502067566, -0.2020370364189148, 0.4226595461368561, -0.5096823573112488, 0.06073008105158806, -0.04237856715917587, -0.35804709792137146, 0.03541850298643112, -0.32930466532707214, -1.0534584522247314, -0.5544059872627258, -0.3307075500488281, 0.3943352699279785, -0.3283662497997284, -0.4252779185771942, -0.0057440027594566345, 0.001196338445879519, -0.19193695485591888, 0.04848823696374893, -1.097434163093567, 0.5684463381767273, 0.33044007420539856, 0.7096155285835266, 0.08848559111356735, -0.0856170654296875, -0.028826190158724785, -0.3577812910079956, -0.1790533810853958, 0.5438925623893738, 0.0001688122283667326, -0.5456846356391907, 0.1242823526263237, -0.10789256542921066, -0.08296719938516617, -0.6548715233802795, 0.6753394603729248, -0.4181269109249115, 0.1480759084224701, -0.2575128376483917, -0.1519617736339569, -0.4434736967086792, -0.25824078917503357, -0.740081250667572, 1.0131815671920776, 0.3972152769565582, -0.3806154429912567, -0.15381796658039093, -0.6833078861236572, -0.5969275832176208, 0.2995539605617523, -0.17197422683238983, -0.15756699442863464, 0.6827192306518555, 0.3729167580604553, 0.32201087474823, -0.5027800798416138, 0.29903313517570496, 0.12483762949705124, -0.0268967617303133, 0.284050315618515, -0.7905227541923523, 1.4377098083496094, 0.3303626477718353, -0.29782313108444214, -0.24997594952583313, -1.1721174716949463, 0.38357841968536377, 0.1631259173154831, -0.13828900456428528, -0.18660348653793335, -0.09269070625305176, 0.5501154065132141, -0.19118964672088623, -0.010122593492269516, -0.7712060213088989, 0.15129050612449646, -0.2921450436115265, 0.6585076451301575, 0.3478226661682129, -0.22610430419445038, 0.18021312355995178, 0.035370927304029465, 0.4817747175693512, -0.1049170270562172, -0.03916643559932709, 0.149664044380188, -0.7359068393707275, -0.7660130262374878, 0.10430839657783508, 0.41868647933006287, 0.34732627868652344, -0.2281024008989334, 0.6408687829971313, 0.15650679171085358, -0.41323062777519226, -0.9058883786201477, 0.15801887214183807, 0.19955389201641083, 0.986332893371582, 0.6613655686378479, -0.47311878204345703, -0.5262469053268433, -1.0098258256912231, 0.2331198751926422, -0.3321337401866913, -0.0582418218255043, 0.06318304687738419, 0.033593472093343735, -0.29395419359207153, 1.1133049726486206, -0.20092417299747467, -0.6104096174240112, -0.5210248827934265, 0.27901026606559753, 0.297569215297699, 0.2779630720615387, 0.7203430533409119, -0.897417426109314, -0.10332111269235611, 0.08718577772378922, -0.47719910740852356, -0.5895651578903198, 0.07941963523626328, 0.14933328330516815, 0.5467453002929688, 0.4731942117214203, -0.06331102550029755, 0.42644092440605164, 0.9206359386444092, -0.20200519263744354, 0.2970031201839447, -0.3088728189468384, 0.009090473875403404, -1.2052180767059326, 0.03198660537600517, -0.29380613565444946, -0.06840378791093826, -0.5993002653121948, -0.025951949879527092, -0.000133361536427401, -0.24287407100200653, -0.17804470658302307, 0.3215087652206421, -0.504027247428894, -0.13956353068351746, -0.25405263900756836, 0.07786557078361511, 0.05162434279918671, 0.2814018726348877, -0.011383982375264168, 0.8025800585746765, 0.17709340155124664, -0.5794143676757812, 0.32282719016075134, 0.7086691856384277, -0.5544896721839905, 0.49074530601501465, -0.818728506565094, 0.22339756786823273, 0.12868377566337585, -0.21910011768341064, -0.699134111404419, -0.2732515335083008, -0.29212307929992676, -0.621131181716919, 0.43204134702682495, -0.30218106508255005, -0.0826888158917427, -0.355014830827713, 0.5114683508872986, 0.15483644604682922, 0.3724271357059479, -0.5236525535583496, 0.5067024827003479, 0.7588645219802856, -0.4510720670223236, -0.8290268182754517, -1.1021682024002075, 0.33387669920921326, -0.08999267220497131, -0.350360244512558, 0.09008564800024033, 0.061255697160959244, -0.06282015889883041, 0.13967293500900269, -0.14964044094085693, -0.5327805280685425, 0.2867010235786438, 0.3942447006702423, -0.04207920655608177, -0.44039297103881836, -0.14555703103542328, -0.1261632889509201, 0.10163294523954391, -0.10314494371414185, -0.23531845211982727, 0.586674153804779, -0.20697402954101562, -0.20399001240730286, -0.20111045241355896, 0.7543154954910278, 0.27663299441337585, -0.4810884892940521, 0.8139066696166992, 0.5750387907028198, -0.3616185188293457, -0.23691198229789734, -0.6945018172264099, 0.3589017391204834, -0.4596361517906189, 0.619228720664978, -0.19353850185871124, -0.806906521320343, 0.6608896255493164, 0.08661793917417526, -0.06624795496463776, 0.3477570712566376, 0.44677749276161194, -0.14236339926719666, 0.3750465512275696, 0.8946148157119751, -0.3977799415588379, 0.35047647356987, -0.24536721408367157, 0.22015731036663055, -0.8295518159866333, -0.4312590956687927, -0.9660099148750305, -0.20989589393138885, -0.9164104461669922, -0.136266827583313, 0.4230654239654541, 0.12530265748500824, 0.04017828777432442, 0.6954423785209656, -0.11166374385356903, 0.42742300033569336, 0.9396209120750427, -0.11966844648122787, 0.12123669683933258, 0.021886225789785385, -0.06237929314374924, -0.1767234057188034, -0.8508195281028748, -0.3994665741920471, 0.9585375785827637, -0.09130636602640152, 0.505521833896637, 0.38976046442985535, 0.6962463855743408, 0.34478622674942017, -0.22837381064891815, -0.6179212927818298, 0.4020303189754486, -0.27402830123901367, -0.7137148380279541, -0.36283430457115173, -0.49993735551834106, -1.0881541967391968, 0.12797071039676666, -0.2847205400466919, -0.9622547030448914, 0.38422712683677673, -0.08316139876842499, -0.22268304228782654, 0.5751693844795227, -0.46497711539268494, 0.8775210976600647, -0.07618892937898636, 0.05822426453232765, 0.06302925199270248, -0.845873236656189, -0.018685974180698395, -0.16488531231880188, 0.2583269476890564, -0.12523585557937622, 0.3887951970100403, 0.6738250851631165, -0.46308434009552, 0.7365151047706604, -0.08874183148145676, 0.07190665602684021, 0.5002934336662292, 0.09916552156209946, -0.26722148060798645, -0.09525305777788162, -0.31658411026000977, 0.5950829982757568, -0.1614539921283722, -0.367692768573761, -0.2096920907497406, 0.727632999420166, -0.8651415109634399, -0.36316248774528503, -0.3426916301250458, -0.8783950805664062, -0.6157687306404114, 0.42250970005989075, 0.33467257022857666, 0.8868464231491089, -0.43340080976486206, 0.38640180230140686, 0.3548727035522461, -0.41398704051971436, 0.5991425514221191, 0.4705107510089874, 0.061318907886743546, -0.4995591640472412, 0.6909157037734985, 0.1372847706079483, 0.40936043858528137, 0.030762139707803726, 0.22573935985565186, -0.45570915937423706, -0.8895277976989746, -0.6041680574417114, -0.025482267141342163, -0.3958439528942108, -0.4855475425720215, -0.41492149233818054, -0.21630410850048065, -0.7207513451576233, -0.010307337157428265, -0.5900357961654663, -0.7706862688064575, 0.0017942398553714156, -0.06938210129737854, 0.2956606447696686, 1.0254493951797485, -0.5407505035400391, 0.6056632399559021, -0.8907290101051331, 0.7217373847961426, 0.12837865948677063, 0.14726145565509796, -0.16511839628219604, -0.9389840960502625, -0.22067448496818542, 0.09468579292297363, -0.3513457477092743, -0.7726727724075317, 0.7907564640045166, 0.15490920841693878, 0.5956479907035828, 0.19744384288787842, 0.220598042011261, 0.8334326148033142, -0.5613383054733276, 0.7478326559066772, 0.23633062839508057, -1.0398973226547241, 0.40413129329681396, -0.299980491399765, 0.1999586522579193, 0.80994713306427, 0.34986600279808044, -0.8506589531898499, -0.4202595353126526, -0.583673894405365, -1.092064619064331, 0.6641738414764404, 0.29565829038619995, 0.25609445571899414, -0.02002599462866783, 0.017246507108211517, 0.1772381216287613, 0.31219926476478577, -0.6731159090995789, -0.5856941938400269, -0.33078500628471375, -0.07292354106903076, -0.2419811487197876, -0.2627231478691101, 0.027886051684617996, -0.025521425530314445, 0.4972453713417053, -0.0952782854437828, 0.20002420246601105, 0.18924781680107117, 0.05946914106607437, -0.11067947745323181, 0.6195383667945862, 0.14216461777687073, 0.5785927176475525, -0.4699598550796509, -0.26565122604370117, -0.06463649123907089, -0.6764042973518372, 0.033320359885692596, 0.4466254711151123, -0.6542428135871887, 0.2518923580646515, 0.39383840560913086, 0.7392237186431885, -0.08418382704257965, -0.3542657792568207, 0.17128431797027588, -0.014749660156667233, 0.02557307854294777, -0.25805994868278503, -0.09362432360649109, 0.28392308950424194, 0.24322636425495148, 0.4710911214351654, 0.3415345251560211, 0.28752025961875916, -0.7145130634307861, -0.12359611690044403, 0.1700763702392578, -0.4145490825176239, -0.07510466873645782, 0.7308663129806519, 0.3283677101135254, -0.418989896774292, 0.8995577096939087, -0.08328380435705185, -0.3621271550655365, 0.5670272707939148, 0.7352132797241211, 0.6360946297645569, -0.27024659514427185, 0.3856499195098877, 0.32716599106788635, 0.3432858884334564, 0.0996878519654274, 0.2853507101535797, 0.18279679119586945, -0.7501828074455261, -0.22651788592338562, -0.8100285530090332, -0.38446834683418274, 0.41301050782203674, -1.3227229118347168, -0.1279233694076538, -0.24380601942539215, -0.42721059918403625, 0.1483309417963028, -0.00033353609615005553, -0.47409507632255554, 0.38479718565940857, 0.2751466631889343, 0.7876680493354797, -0.9041328430175781, 0.6590399146080017, 0.5818294286727905, -0.4182319641113281, -0.5890842080116272, -0.14653493463993073, 0.2790411114692688, -0.6133413910865784, 0.37747758626937866, -0.027376210317015648, -0.13776694238185883, -0.007314413320273161, -0.16244858503341675, -0.6160086989402771, 0.7383593916893005, 0.41453567147254944, -0.589970052242279, 0.18040654063224792, 0.37042418122291565, 0.4809408187866211, -0.050396498292684555, 0.2918871343135834, 0.5567092895507812, 0.2853572368621826, -0.18632355332374573, -1.0819185972213745, -0.46058323979377747, -0.059576503932476044, 0.043307483196258545, 0.2784685790538788, -0.47647932171821594, 0.6834543347358704, -0.378168523311615, -0.05421268939971924, 0.54230135679245, 0.9040728807449341, -0.2627781629562378, 0.2272321581840515, 0.3825228214263916, 0.46671101450920105, 0.8286314010620117, -0.2159803807735443, 0.7716149687767029, 0.22946162521839142, -0.06298602372407913, 1.4263958930969238, -0.15632613003253937, 0.8432983160018921, 0.3941155672073364, -0.3830854594707489, 0.3082898259162903, 0.028244338929653168, 0.3747290372848511, 0.45266374945640564, 0.0872509628534317, -0.3327670991420746, -0.018011249601840973, -0.5617143511772156, -0.38339555263519287, 0.8325871825218201, 0.3908025622367859, 0.25073477625846863, -0.21143901348114014, -0.2489468902349472, -0.23608915507793427, 0.775475263595581, -0.48158544301986694, 0.4880971908569336, 0.041550327092409134, -0.14021307229995728, 0.35599711537361145, 0.03958037495613098, 0.5393009185791016, -0.862033486366272, 0.1992323398590088, -0.6604520678520203, 0.1432325392961502, -0.16823241114616394, -0.6323942542076111, 0.528948187828064, 0.1580587476491928, -0.044714417308568954, -0.0330304354429245, 0.3657146096229553, -0.319452166557312, -0.45427271723747253, 0.5573248863220215, 0.6572486758232117, 0.089524045586586, 0.09423033893108368, -0.4134370982646942, 0.006174543872475624, 0.12500131130218506, -0.09812163561582565, 0.3534542918205261, 0.7530868649482727, -0.10570298135280609, 0.5303956866264343, 0.5208417773246765, 0.625074028968811, 0.22800730168819427, 0.5837110877037048, 0.5998976826667786, -0.7900649905204773, -0.2562524676322937, -0.27521881461143494, 0.27633100748062134, 0.027324052527546883, -0.6606867909431458, 0.6619270443916321, 0.439737468957901, 1.120527982711792, -0.08493279665708542, 0.6317517757415771, -0.4839199185371399, 0.7554677724838257, -0.39116954803466797, 0.7793130278587341, -0.4963415861129761, -0.20333921909332275, -0.31822454929351807, -0.7555872797966003, -0.12637458741664886, 0.6474369764328003, 0.4301919639110565, -0.13616248965263367, 0.37724804878234863, 0.58119797706604, -0.20309606194496155, 0.03720390424132347, 0.5905224084854126, 0.46899211406707764, -0.14953665435314178, 0.24440480768680573, 0.5874011516571045, -0.5543248653411865, 0.31501680612564087, -0.5386902093887329, 0.039934270083904266, 0.14418357610702515, -1.0284397602081299, -0.6736075282096863, -0.7410890460014343, -0.1367676556110382, -0.3974235951900482, -0.028229469433426857, 0.837101936340332, 0.6194168329238892, -1.096342921257019, -0.5369348526000977, 0.07105672359466553, -0.20202325284481049, -0.21136389672756195, -0.13895021378993988, 0.013924113474786282, -0.08756406605243683, -0.7576799988746643, 0.9031594395637512, -0.11427560448646545, 0.07695513963699341, -0.14366039633750916, 0.1293586939573288, -0.18551456928253174, -0.16699573397636414, 0.3933134973049164, 0.7641139626502991, -0.6666037440299988, 0.05817972123622894, -0.2095315158367157, 0.17748093605041504, -0.07983069866895676, 0.6284868121147156, -0.6763759255409241, 0.4695594310760498, 0.1432545930147171, 0.8491765856742859, 0.22541038691997528, -0.025863785296678543, 0.6755613088607788, -0.9145869016647339, 0.6501418948173523, 0.3314521908760071, 0.5740429162979126, 0.5469542741775513, 0.023097164928913116, 0.6496037244796753, 0.15714359283447266, -0.515234649181366, -0.6441009044647217, 0.1775219738483429, -1.324007272720337, -0.15948404371738434, 0.8048579096794128, -0.18433961272239685, -0.04228712245821953, -0.31193143129348755, -0.10496291518211365, 0.3609674870967865, -0.42134714126586914, 0.596116304397583, 0.3831322193145752, 0.1058383658528328, 0.27290967106819153, -0.8956945538520813, 0.21571238338947296, 0.42389705777168274, -0.6234580278396606, 0.22092163562774658, 0.8676154613494873, 0.13888828456401825, 0.30394378304481506, 0.5062310695648193, -0.1593550592660904, 0.08434142172336578, 0.006328745745122433, 0.258113294839859, -0.4295479953289032, -0.32425493001937866, -0.5978653430938721, -0.05296424776315689, 0.029117153957486153, -0.1974635273218155 ]
http://arxiv.org/abs/2406.19552v1
http://arxiv.org/pdf/2406.19552v1
Rethinking harmless refusals when fine-tuning foundation models
2024-06-27T22:08:22
2024-06-27T22:08:22
Florin Pop, Judd Rosenblatt, Diogo Schwerz de Lucena, Michael Vaiana
cs.CL
cs.CL, cs.AI, cs.LG
In this paper, we investigate the degree to which fine-tuning in Large Language Models (LLMs) effectively mitigates versus merely conceals undesirable behavior. Through the lens of semi-realistic role-playing exercises designed to elicit such behaviors, we explore the response dynamics of LLMs post fine-tuning interventions. Our methodology involves prompting models for Chain-of-Thought (CoT) reasoning and analyzing the coherence between the reasoning traces and the resultant outputs. Notably, we identify a pervasive phenomenon we term \emph{reason-based deception}, where models either stop producing reasoning traces or produce seemingly ethical reasoning traces that belie the unethical nature of their final outputs. We further examine the efficacy of response strategies (polite refusal versus explicit rebuttal) in curbing the occurrence of undesired behavior in subsequent outputs of multi-turn interactions. Our findings reveal that explicit rebuttals significantly outperform polite refusals in preventing the continuation of undesired outputs and nearly eliminate reason-based deception, challenging current practices in model fine-tuning. Accordingly, the two key contributions of this paper are (1) defining and studying reason-based deception, a new type of hidden behavior, and (2) demonstrating that rebuttals provide a more robust response model to harmful requests than refusals, thereby highlighting the need to reconsider the response strategies in fine-tuning approaches.
[ -0.532357931137085, -1.1566115617752075, 0.5235363841056824, -0.012328573502600193, -0.24776685237884521, 0.04175713285803795, -0.2130337953567505, -0.398331880569458, 0.013186593540012836, 0.9580917954444885, -0.9164802432060242, -0.06762750446796417, -0.35575634241104126, -0.03940850868821144, -0.5329957604408264, 1.1694626808166504, 0.08501382917165756, -0.1190936416387558, 0.021364791318774223, 0.034971632063388824, -0.6031771302223206, -0.2851596772670746, -0.8607041835784912, -0.5861763954162598, 0.6280409097671509, 0.577791690826416, 0.7523031830787659, 0.508499801158905, 0.2552093267440796, 0.26500070095062256, -0.07490154355764389, 0.16968752443790436, -1.0106147527694702, 0.2124398946762085, -0.35826432704925537, -0.6532933115959167, -0.21144510805606842, 0.2789520025253296, 0.24032410979270935, 0.6838994026184082, -0.2821443974971771, 0.11297300457954407, 0.1923215091228485, 0.7650976181030273, -0.6830592155456543, -0.25302115082740784, -0.9660319685935974, -0.1321333348751068, -0.015130484476685524, -0.341644823551178, -0.8931711316108704, -0.1347411721944809, 0.005551864393055439, -0.39029401540756226, 0.3715684413909912, 0.10495027899742126, 0.791857123374939, 0.2829693555831909, -0.2618800401687622, -0.5733755230903625, -0.7022539973258972, 0.8765066266059875, -0.6260903477668762, 0.22746042907238007, 0.5456138253211975, 0.25725579261779785, -0.4879514276981354, -0.5558648109436035, -0.3034496009349823, -0.33884745836257935, -0.03115374781191349, -0.15371951460838318, -0.21404904127120972, 0.17848746478557587, 0.3623740077018738, 0.4534609913825989, 0.002984171500429511, 0.2113078236579895, -0.16183409094810486, -0.3135228455066681, 0.6410893201828003, 0.20210544764995575, -0.007083804812282324, 0.05923011898994446, -0.2936444878578186, 0.043420400470495224, -0.9813582301139832, 0.37457555532455444, 0.5420469641685486, 0.3903144299983978, 0.015376035124063492, 0.6306565403938293, -0.46848762035369873, 0.6179946064949036, 0.46243345737457275, 0.23760981857776642, -0.3373737335205078, -0.2820626497268677, -0.4608646035194397, -0.037216197699308395, 0.460640013217926, 0.40533846616744995, 0.5533825755119324, -0.17207565903663635, -0.5081561207771301, 0.32080891728401184, 0.4475068151950836, -0.7018994092941284, -0.3333651125431061, 0.30406928062438965, -0.5207673907279968, -0.7874115109443665, -0.12460699677467346, -0.8209028840065002, -0.5350291728973389, -0.44279026985168457, 0.2582707405090332, -0.2345741093158722, -0.23191136121749878, 0.3058597445487976, 0.05759648233652115, 0.2678685784339905, 0.3505646586418152, -0.8011165261268616, 0.4203883111476898, 0.7804256677627563, 0.49884024262428284, 0.08219438046216965, -0.09429538995027542, -0.8967269062995911, 0.12138735502958298, -0.6234281659126282, 0.6252278685569763, -0.5847253799438477, -0.46509048342704773, -0.08841202408075333, 0.14498038589954376, 0.10376863181591034, -0.6798993945121765, 0.7050275802612305, -0.4653988480567932, -0.17673413455486298, -0.445936918258667, -0.22378744184970856, -0.1743515133857727, 0.5302663445472717, -0.641635000705719, 0.5347728729248047, -0.29840797185897827, -0.6061182022094727, 0.268860787153244, -0.3735056519508362, -0.49808982014656067, -0.5231273174285889, -0.05904869735240936, -0.3715961277484894, 0.4538569748401642, -0.09546738862991333, 0.41200172901153564, -0.32437068223953247, 0.3072909116744995, -0.6192228198051453, -0.45360979437828064, 0.5945662260055542, -0.8625186085700989, 0.8225857615470886, 0.28556206822395325, -0.38554647564888, 0.1901736855506897, -0.8295770287513733, 0.1069396510720253, 0.025833478197455406, -0.3207136392593384, -0.4107540249824524, -0.007988184690475464, -0.3740454614162445, 0.3102341294288635, -0.04872925207018852, -0.4068968594074249, -0.16654923558235168, -0.6515809297561646, 0.5409524440765381, 1.0573548078536987, 0.0007848910754546523, 0.3648293912410736, -0.6180351972579956, 0.40716877579689026, -0.26518499851226807, 0.26248133182525635, -0.09122445434331894, -0.2517358362674713, -0.8709986805915833, 0.036169201135635376, 0.03556595742702484, 0.08956612646579742, -0.680083155632019, -0.18548360466957092, 0.027613362297415733, -0.3260733187198639, -0.6862384080886841, -0.10405894368886948, 0.6677379012107849, 0.43367817997932434, 0.22131629288196564, -0.2059897929430008, -0.26417186856269836, -0.9539143443107605, -0.6724518537521362, -0.08704187721014023, 0.2627352178096771, 0.14782942831516266, 0.3233155608177185, 0.04541991651058197, 0.635330319404602, -0.10987067222595215, 0.029549580067396164, -0.03939852491021156, 0.15193872153759003, -0.03259936347603798, 0.5302267670631409, 0.511622428894043, -0.9905072450637817, -0.2182834893465042, -0.14778104424476624, -0.30575913190841675, 0.08518731594085693, -0.28242427110671997, 0.022826362401247025, 0.463828444480896, 0.6341435313224792, -0.5363551378250122, 0.7075428366661072, 0.26690924167633057, -0.4765557050704956, 0.8900578022003174, 0.14001086354255676, 0.20165330171585083, -0.5958777070045471, 0.0036748514976352453, -0.3265232443809509, -0.08488019555807114, -0.5897420644760132, 0.471474826335907, -0.20054960250854492, 0.2167799025774002, -0.5244325399398804, 0.22226932644844055, -0.4646705090999603, 0.23729373514652252, -0.3700295090675354, -0.16940712928771973, -0.09349558502435684, 0.41938477754592896, -0.28360047936439514, 0.574225664138794, 0.6594718098640442, -1.0264312028884888, 0.22705425322055817, 0.18411335349082947, 0.023240862414240837, 0.6618214249610901, -0.5661853551864624, 0.12594325840473175, -0.0985724925994873, 0.3197172284126282, -1.1074039936065674, -0.2847193777561188, 0.30002936720848083, -0.548484206199646, 0.17228564620018005, -0.39771491289138794, -0.19313950836658478, -0.3596361577510834, -0.5640091300010681, 0.12332673370838165, 0.2113688886165619, -0.5097169876098633, 0.5255730152130127, 0.025566739961504936, 0.14982768893241882, -0.6165748834609985, -1.0034382343292236, -0.024320101365447044, -0.3646145462989807, -0.41216394305229187, 0.27569684386253357, -0.3334943652153015, -0.4186452329158783, -0.29752275347709656, -0.45879340171813965, 0.10739200562238693, 0.3440363109111786, 0.28012940287590027, -0.07162046432495117, -0.005895471200346947, -0.31513863801956177, 0.08909264206886292, -0.20841720700263977, 0.4646691083908081, 0.06083570793271065, 0.54050213098526, -0.2587881088256836, -0.5091043710708618, -0.39043983817100525, 0.41817739605903625, 0.8527848124504089, -0.24867984652519226, 0.6844603419303894, 0.33455485105514526, -0.3544425666332245, -0.1346791535615921, -0.5528807044029236, -0.6982530355453491, -0.5350438356399536, 0.0631832703948021, -0.5809110999107361, -1.0766512155532837, 0.6566957831382751, -0.2800551652908325, 0.3179241120815277, 0.00989670492708683, 0.5254344940185547, -0.03389231488108635, 1.0376291275024414, 0.5793763995170593, 0.1632099151611328, 0.23146778345108032, -0.18979761004447937, 0.5277690291404724, -0.7458234429359436, -0.26660096645355225, -0.6633734703063965, -0.32204559445381165, -0.7830711603164673, -0.06583326309919357, -0.1777556836605072, 0.2142307609319687, -0.2791926860809326, 0.020496057346463203, -0.31822314858436584, 0.5868332982063293, 0.1373308002948761, 0.21655789017677307, 0.38195642828941345, -0.007963023148477077, -0.25477495789527893, 0.0038988995365798473, -0.6661669611930847, -0.539198637008667, 0.8807010054588318, 0.43435341119766235, 0.9536823034286499, 0.40585917234420776, 0.5852939486503601, -0.015760764479637146, 0.40676450729370117, -0.9459534883499146, 0.7149943709373474, 0.15861111879348755, -0.6116657853126526, -0.319001704454422, -0.3391472101211548, -0.9049002528190613, 0.27542242407798767, -0.3518674373626709, -0.8291374444961548, 0.21091747283935547, 0.4087395668029785, -0.48120880126953125, 0.2846909761428833, -0.639094352722168, 0.5860853791236877, 0.0020066865254193544, -0.9104337096214294, -0.496675968170166, -0.5476531982421875, 0.6073498725891113, -0.006749700754880905, 0.32163742184638977, 0.09445852041244507, 0.33291637897491455, 0.5016279816627502, -0.3046010732650757, 1.094932198524475, 0.01615060307085514, -0.5479161739349365, 0.28706076741218567, 0.7397912740707397, 0.8917643427848816, 0.21878862380981445, -0.2832545340061188, -0.3498578369617462, 0.04564227908849716, -0.3992000222206116, -0.5189439058303833, 1.093574047088623, -0.2530311346054077, -1.1061087846755981, -0.18446753919124603, -0.4741203486919403, -0.4311389923095703, 0.5553761124610901, 0.2794845402240753, 0.30924829840660095, -0.24701790511608124, 0.3738994002342224, 1.1108478307724, -0.1419769674539566, 0.5026986002922058, 0.8904193639755249, -0.22803519666194916, 0.05797429755330086, 0.7572710514068604, -0.1729058474302292, 0.7278299927711487, 0.09372491389513016, 0.3010717034339905, -0.29761818051338196, -0.6172106266021729, -0.18632780015468597, 0.15837045013904572, -0.5394138097763062, -0.15703900158405304, -0.2981429398059845, -0.06635168194770813, -0.18161718547344208, -0.2719595730304718, -0.4774166941642761, -0.22678066790103912, -0.16688428819179535, -0.20320606231689453, 0.13310137391090393, 0.716551661491394, 0.098137266933918, 0.01532007660716772, -0.3167436420917511, 0.2561051845550537, 0.20379190146923065, 0.573492705821991, 0.280674010515213, -0.5963939428329468, 0.07993494719266891, 0.3948924243450165, -0.46131688356399536, -0.671337366104126, -0.034495461732149124, -0.21009337902069092, 0.4822344183921814, 0.4882560074329376, 0.4714694023132324, 0.6597254276275635, -0.3295430839061737, 0.513202428817749, 0.05072078853845596, -0.6106442809104919, 0.5380103588104248, -0.6136260032653809, -0.10543354600667953, 0.5614851117134094, 0.11721991002559662, -0.24857014417648315, -0.5887018442153931, -0.784803569316864, -0.8047658801078796, 0.6454716920852661, 0.15002265572547913, 0.2597733736038208, 0.07276495546102524, 0.5598955154418945, 0.16644710302352905, 0.4038374125957489, -0.708835780620575, -0.24468891322612762, 0.07431170344352722, 0.2650837302207947, 0.1343879997730255, -0.28659191727638245, -0.5469889044761658, -0.04160839319229126, 0.6220141053199768, -0.262095183134079, 0.0607135109603405, 0.11300033330917358, -0.036423541605472565, -0.4553193747997284, 0.4872537851333618, 0.6681534647941589, 0.6108502745628357, 0.08529304713010788, 0.3262835443019867, 0.01764656789600849, -0.25098830461502075, 0.1154279112815857, -0.2707153856754303, -0.1964600384235382, -0.39014366269111633, 0.17705562710762024, 0.5668699145317078, 0.4122498333454132, -0.4738250970840454, 0.2781360149383545, 0.07671169191598892, -0.2038823366165161, -0.015642864629626274, 0.27393853664398193, -0.0018565327627584338, 0.08191224932670593, -0.004991626366972923, 0.44460156559944153, 0.2801631689071655, -0.793075680732727, 0.3093772232532501, 0.8218914270401001, -0.4352622330188751, -0.20625479519367218, 0.5198159217834473, 0.09944690018892288, -0.32418492436408997, 0.3803572356700897, 0.00496493699029088, -0.332529217004776, 0.5544558167457581, 0.590273916721344, 0.5664060711860657, -0.16947884857654572, 0.42971062660217285, -0.039304908365011215, 0.4801308512687683, -0.1349460929632187, 0.12918120622634888, -0.00573462201282382, -0.7425041198730469, -0.4379725754261017, -0.33191198110580444, -0.20113766193389893, 0.45644423365592957, -0.9722630381584167, 0.14127163589000702, -0.8039999008178711, 0.07040395587682724, -0.09749093651771545, -0.059144772589206696, -0.3901698887348175, 0.12338447570800781, -0.1520826816558838, 1.0677456855773926, -0.7555316090583801, 0.5567169189453125, 0.5756126642227173, -0.3190922439098358, -0.8718923926353455, 0.38488221168518066, 0.22048304975032806, -0.7639302015304565, -0.07918934524059296, 0.16403113305568695, -0.6133598685264587, 0.08160345256328583, -0.8560558557510376, -0.5417049527168274, 0.7731212973594666, 0.5530228018760681, -0.6800384521484375, 0.26199570298194885, 0.0938737541437149, 0.49167996644973755, -0.07255097478628159, -0.08989911526441574, 0.8796471357345581, 0.4599338173866272, 0.18180428445339203, -0.874090850353241, 0.4707508087158203, 0.09685224294662476, -0.12649573385715485, 0.1363590508699417, -1.0645908117294312, 0.5885114073753357, -0.548983633518219, -0.14789827167987823, 0.32982295751571655, 0.4393441677093506, 0.5941553115844727, 0.4347556233406067, 0.5537142753601074, 0.4612954258918762, 0.8031870722770691, -0.10070541501045227, 0.9259445071220398, 0.046420689672231674, 0.262136310338974, 0.9348045587539673, -0.11045104265213013, 0.6756371259689331, 0.9750211834907532, 0.20935237407684326, 0.4161249101161957, 0.6808701157569885, 0.29652389883995056, 0.6463793516159058, 0.5691709518432617, -0.041752081364393234, -0.5177177786827087, -0.19644726812839508, -0.1942550092935562, 0.339587926864624, 0.5344296097755432, -0.0031846612691879272, -0.20059992372989655, -0.07172750681638718, 0.13082802295684814, 0.39670345187187195, -0.5025972723960876, 0.5242766737937927, 0.21678775548934937, -0.98614102602005, 0.7703606486320496, 0.14314387738704681, 0.6432650089263916, -0.35636529326438904, -0.03530982509255409, -0.1681888848543167, 0.22490046918392181, -0.35638198256492615, -0.7802554368972778, 0.47164782881736755, -0.13432177901268005, -0.38855165243148804, -0.22592177987098694, 0.7931749224662781, -0.2224811166524887, -0.07030641287565231, 0.2996636629104614, 0.3230425715446472, -0.11716757714748383, -0.03735419362783432, -0.921558678150177, 0.24979422986507416, 0.19724518060684204, -0.35853710770606995, 0.42487838864326477, 0.6823291182518005, -0.38105976581573486, 1.0308881998062134, 0.8295838832855225, -0.2097407579421997, -0.26258546113967896, 0.17135661840438843, 1.0414992570877075, -0.47757357358932495, -0.7384313941001892, -0.8382494449615479, 0.45990851521492004, 0.20538073778152466, 0.008875438012182713, 0.6254658699035645, 0.21391266584396362, 0.967081606388092, 0.057203005999326706, 0.5595578551292419, 0.054375678300857544, 0.3629690408706665, -0.7606842517852783, 0.6973571181297302, -0.4954396188259125, 0.7082949280738831, -0.31451931595802307, -0.45294618606567383, -0.06276263296604156, 0.5012858510017395, -0.2838503122329712, 0.23821769654750824, 0.6370795965194702, 0.9466385245323181, -0.049628760665655136, 0.3548332154750824, 0.3030906021595001, 0.527926504611969, 0.40896737575531006, 0.5909318327903748, 0.9147936105728149, -0.25339433550834656, 0.5268646478652954, -0.029054837301373482, -0.22203607857227325, -0.41005367040634155, -0.7765999436378479, -0.9694069027900696, -0.2870405614376068, -0.21204543113708496, -0.6986992955207825, 0.09279649704694748, 0.5265655517578125, 0.455832839012146, -0.9132803082466125, 0.029902569949626923, -0.5411169528961182, 0.2737639844417572, -0.31370723247528076, -0.2333323210477829, -0.05010956898331642, -0.09284686297178268, -0.3734574019908905, 0.36386504769325256, -0.00450988719239831, 0.152590811252594, -0.43115314841270447, -0.23622138798236847, -0.17607472836971283, 0.38130563497543335, 0.45748233795166016, 0.429268479347229, -1.021918773651123, -0.4207603633403778, 0.03534042090177536, 0.07666712999343872, -0.2937103509902954, 0.9511337876319885, -0.7682570219039917, 0.23848176002502441, 0.056835927069187164, 0.468001127243042, 0.14608249068260193, -0.1086508184671402, 0.6674098968505859, -0.6167925596237183, 0.10406193882226944, 0.12800753116607666, 0.0534050390124321, 0.2733406722545624, -0.6018288731575012, 0.22776088118553162, 0.09820511937141418, -0.3101378381252289, -1.128369688987732, 0.6654577255249023, -0.5989447832107544, -0.46248573064804077, 0.9713093042373657, 0.03744492679834366, -0.1719449907541275, -0.20925259590148926, -0.36927685141563416, 0.05908310413360596, -0.31414473056793213, 1.0890758037567139, 0.9760444760322571, -0.2690969407558441, -0.22240933775901794, -0.49725502729415894, 0.8091748952865601, 0.7816472053527832, -0.3745928406715393, 0.5405030846595764, 0.5022740960121155, 0.406105101108551, 0.09754350781440735, 0.529872715473175, -0.17930994927883148, 0.4159538745880127, -0.34184011816978455, -0.669360339641571, -0.18065975606441498, -0.6805906891822815, -0.41273385286331177, 0.033254098147153854, 0.22697985172271729, 0.08198628574609756 ]
http://arxiv.org/abs/2406.19545v1
http://arxiv.org/pdf/2406.19545v1
Leveraging Machine-Generated Rationales to Facilitate Social Meaning Detection in Conversations
2024-06-27T21:47:42
2024-06-27T21:47:42
Ritam Dutt, Zhen Wu, Kelly Shi, Divyanshu Sheth, Prakhar Gupta, Carolyn Penstein Rose
cs.CL
cs.CL, cs.AI
We present a generalizable classification approach that leverages Large Language Models (LLMs) to facilitate the detection of implicitly encoded social meaning in conversations. We design a multi-faceted prompt to extract a textual explanation of the reasoning that connects visible cues to underlying social meanings. These extracted explanations or rationales serve as augmentations to the conversational text to facilitate dialogue understanding and transfer. Our empirical results over 2,340 experimental settings demonstrate the significant positive impact of adding these rationales. Our findings hold true for in-domain classification, zero-shot, and few-shot domain transfer for two different social meaning detection tasks, each spanning two different corpora.
[ -0.2933734953403473, -1.0718715190887451, 0.9560814499855042, 0.27274036407470703, -0.505328893661499, 0.06982672959566116, -0.1832686960697174, -0.5386066436767578, 0.1696796715259552, 0.4647045135498047, -0.5217889547348022, -0.4588220715522766, -0.9244154095649719, 0.12557564675807953, -0.30159834027290344, 0.8094908595085144, 0.08911239355802536, -0.09418167173862457, -0.2559337913990021, -0.256736695766449, -0.3568660020828247, -0.7633388638496399, -0.8006975054740906, -0.3585703372955322, 0.8881267309188843, 0.46749457716941833, 0.6413096785545349, 0.4342496693134308, 0.1479501724243164, 0.30768507719039917, -0.1620343029499054, 0.540244996547699, -0.4364546239376068, 0.20839470624923706, -0.2744675874710083, -0.48269587755203247, -0.24157163500785828, 0.15055984258651733, 0.5863265991210938, 0.8572993278503418, 0.3708336055278778, 0.2907698154449463, 0.157781720161438, 0.3597031533718109, -0.4101697504520416, 0.42383304238319397, -0.6980286240577698, -0.14098992943763733, 0.03730475530028343, -0.5729129910469055, -0.5910331010818481, -0.36942848563194275, 0.13324834406375885, -0.35624635219573975, -0.050338421016931534, 0.014510883949697018, 0.8397031426429749, -0.059961553663015366, -0.49378395080566406, -0.4908706843852997, -0.623749315738678, 0.8423606157302856, -0.31946471333503723, 0.1431654989719391, 0.22625818848609924, 0.5330321192741394, -0.19812430441379547, -0.6496657133102417, -0.8883240818977356, 0.11299360543489456, -0.2892691493034363, -0.17645931243896484, -0.18395602703094482, 0.040978193283081055, 0.3403055965900421, 0.026032494381070137, -0.19200223684310913, -0.2520964741706848, -0.2839912176132202, -0.07795842736959457, 0.6990368366241455, 0.27544617652893066, 0.4146634340286255, -0.336444228887558, -0.12209470570087433, 0.08585260808467865, -0.6215537786483765, 0.2170739322900772, 0.15783117711544037, 0.3446000814437866, -0.3641819655895233, 0.49270927906036377, -0.02944527566432953, 0.2761232554912567, 0.05666547268629074, -0.11203911155462265, 0.045243438333272934, -0.4435887634754181, -0.24449269473552704, 0.05898416414856911, 0.7262201309204102, 0.5371729135513306, 0.6905684471130371, -0.03571701422333717, 0.06540188938379288, 0.22929205000400543, -0.25709956884384155, -0.9233971238136292, 0.13174748420715332, 0.11103018373250961, -0.4343373477458954, -0.5351572036743164, -0.12527582049369812, -0.5855021476745605, -0.5409918427467346, -0.6016037464141846, -0.004034893587231636, -0.23349453508853912, -0.30018842220306396, 0.23480603098869324, -0.5114648938179016, 0.6955249905586243, 0.7088137865066528, -0.9114786982536316, 0.07593825459480286, 0.77973473072052, 0.9013944864273071, 0.042672231793403625, 0.18757213652133942, -0.5458646416664124, 0.4410252869129181, -0.3268788456916809, 1.1606776714324951, -0.7333856821060181, -0.3732385039329529, 0.21353429555892944, 0.33355191349983215, -0.1396913230419159, -0.18997763097286224, 0.3726235330104828, -0.42674311995506287, 0.3989902138710022, -0.31814324855804443, -0.5325851440429688, -0.2425442934036255, 0.3444952070713043, -0.20027807354927063, 0.8191117644309998, -0.09208270907402039, -0.520734429359436, 0.29883748292922974, -0.6053006052970886, -0.5209198594093323, 0.588840126991272, -0.33095312118530273, 0.00833971705287695, 0.09448341280221939, 0.011661055497825146, 0.8065602779388428, -0.2824966013431549, 0.39955976605415344, -0.7645746469497681, -0.23727409541606903, 0.7523736357688904, -0.6875004768371582, 0.7720484733581543, 0.25128358602523804, -0.33617541193962097, 0.14423589408397675, -0.5023768544197083, -0.011929580010473728, 0.201758474111557, -0.16546869277954102, -0.39803215861320496, 0.01507163979113102, -0.2421361356973648, 0.1853238046169281, 0.013674815185368061, -0.3027353286743164, -0.10112305730581284, -0.25126752257347107, 0.5692470669746399, 0.9701811075210571, 0.08479854464530945, 0.7659100890159607, -0.2914341688156128, 0.4683305323123932, -0.0734834372997284, 0.1119886115193367, -0.2766144871711731, -0.7796570062637329, -0.7605028748512268, -0.5744446516036987, -0.053399160504341125, 0.6617498397827148, -0.7060673236846924, 0.3629987835884094, -0.272388219833374, -0.03130965679883957, -0.41000163555145264, 0.10786699503660202, -0.060475487262010574, 0.3328482508659363, 0.11515944451093674, 0.2523360550403595, -0.4536839723587036, -0.7793976068496704, -0.38757920265197754, -0.2937776446342468, -0.32708796858787537, 0.6363978385925293, 0.519455075263977, -0.45549359917640686, 0.8289326429367065, -0.5400760769844055, -0.02314278669655323, -0.5549400448799133, 0.2722551226615906, -0.013826022855937481, 0.032637376338243484, 0.38476887345314026, -0.6575624942779541, -0.5381081104278564, 0.12428494542837143, -1.1425737142562866, -0.3661768436431885, -0.3011844754219055, -0.4068133234977722, 0.10828710347414017, 0.6411826014518738, -0.7095356583595276, 0.5449528694152832, 0.11538135260343552, -0.29243600368499756, 0.2913559079170227, 0.2326042801141739, 0.3034282326698303, -1.152426838874817, -0.19011430442333221, 0.1323830634355545, -0.3377950191497803, -0.6760075092315674, -0.34329846501350403, -0.30829963088035583, 0.02666115015745163, -0.4694874882698059, 0.7735395431518555, -0.2965402603149414, 0.02181892842054367, -0.08990976214408875, 0.6952108144760132, 0.21387282013893127, 0.3256368935108185, 0.052268922328948975, 0.4896618723869324, 0.2807266116142273, -0.5309869647026062, 0.48776933550834656, 0.11653878539800644, -0.16016508638858795, 0.9077648520469666, -0.7921578884124756, 0.31368565559387207, -0.471677303314209, 0.365292489528656, -1.3612256050109863, -0.47956347465515137, 0.6884704232215881, -0.7324038147926331, -0.10228049755096436, -0.4977542757987976, -0.654995858669281, -0.006837185006588697, -0.37826257944107056, 0.23140372335910797, 0.38348081707954407, -0.6233386397361755, 0.8315751552581787, 0.5772740244865417, -0.31289756298065186, 0.02146098203957081, -0.49939990043640137, 0.0824131891131401, -0.5908727645874023, -1.0506993532180786, 0.1425652652978897, -0.07830779254436493, -0.5835780501365662, -0.12443346530199051, 0.3331610858440399, 0.04018021747469902, 0.2434578388929367, 0.37437114119529724, 0.5050394535064697, -0.24757763743400574, 0.4394279718399048, 0.3826093375682831, -0.03670434653759003, 0.44632837176322937, -0.05015444755554199, 0.4912119507789612, -0.14992444217205048, -0.17165160179138184, -0.3750065863132477, 0.5949586033821106, 0.7321668267250061, 0.22612977027893066, 0.9438596963882446, 0.6060914397239685, -0.4191569983959198, -0.35512563586235046, -0.45425885915756226, -0.131280779838562, -0.5467526912689209, -0.2290221005678177, -0.3734166622161865, -1.1421869993209839, 0.562713086605072, -0.2678772509098053, -0.14672233164310455, 0.0801202580332756, 0.4523372948169708, -0.2312646061182022, 1.5543557405471802, 0.24508540332317352, 0.2035389542579651, 0.593532145023346, 0.07076159864664078, 0.40945062041282654, -0.6876038312911987, -0.32695239782333374, -0.47228944301605225, 0.02460973896086216, -0.506512463092804, -0.5682255029678345, 0.11681842058897018, 0.017639461904764175, -0.06224099174141884, 0.001484681386500597, -0.5024755001068115, 0.5753633379936218, 0.18270200490951538, 0.03910175710916519, 0.250016987323761, 0.1492234468460083, 0.20174497365951538, 0.17654326558113098, -0.40699926018714905, -1.0152884721755981, 0.7260001301765442, 0.451118528842926, 0.6118438243865967, 0.18541772663593292, 0.5801041722297668, 0.36619699001312256, 0.656243085861206, -1.1001172065734863, 0.7339006066322327, 0.23719514906406403, -0.44747915863990784, -0.1898120939731598, -0.44215378165245056, -1.0052374601364136, 0.3941444754600525, -0.34992703795433044, -0.9640243053436279, -0.07565043121576309, -0.0011890928726643324, -0.24075694382190704, -0.10957805067300797, -0.8645888566970825, 0.7394344210624695, -0.20316492021083832, -0.21019116044044495, -0.2584315538406372, -0.3322056531906128, 0.47791653871536255, 0.1459963470697403, 0.46975383162498474, -0.3842889666557312, 0.3173103332519531, 0.5759023427963257, -0.1720125377178192, 1.0976580381393433, -0.16977664828300476, -0.09071176499128342, 0.40015771985054016, -0.21005089581012726, 0.4390563368797302, 0.15616725385189056, 0.14486730098724365, 0.18351994454860687, -0.02530725486576557, -0.2920839488506317, -0.8818572759628296, 0.4653162658214569, -0.4407294988632202, -0.7233718633651733, -0.19516170024871826, -0.45812806487083435, 0.010446691885590553, -0.04647008329629898, -0.1112937331199646, 0.4175611734390259, -0.11740853637456894, 0.39267614483833313, 0.8065652847290039, -0.44818007946014404, -0.013517159037292004, 0.4541814923286438, -0.20742684602737427, -0.15031751990318298, 0.591879665851593, -0.08675332367420197, 0.4063417911529541, 0.17518912255764008, 0.331350713968277, -0.5464187860488892, -0.17124706506729126, -0.5668752789497375, 0.35266318917274475, -1.1449357271194458, 0.03967411443591118, -0.8702478408813477, -0.05659184977412224, -0.5612612962722778, -0.5418673753738403, 0.3474005162715912, -0.16679641604423523, -0.5370510816574097, -0.2921881377696991, 0.6122244000434875, 0.5547857284545898, -0.04975603148341179, 0.4124276340007782, -0.9455689787864685, 0.41895994544029236, 0.41104891896247864, 0.044117409735918045, -0.11509975045919418, -0.609128475189209, 0.11570043861865997, 0.3008253574371338, -0.03618251532316208, -1.0233500003814697, 0.37123212218284607, 0.0877484679222107, 0.7282170057296753, 0.4491579532623291, -0.024463612586259842, 0.6653344631195068, -0.38811907172203064, 0.6375349164009094, 0.3095458447933197, -1.0583635568618774, 0.8423237800598145, -0.343044251203537, 0.06978484988212585, 0.28870636224746704, 0.4152491092681885, -0.7534904479980469, -0.31871315836906433, -0.519460916519165, -0.6606999039649963, 0.5854913592338562, 0.0031736751552671194, 0.5446837544441223, -0.4338591992855072, 0.4366186261177063, -0.2627260982990265, -0.09299080073833466, -0.5820085406303406, -0.141779825091362, 0.008414334617555141, -0.41149911284446716, 0.272125244140625, -0.3844769597053528, -0.18675802648067474, -0.2397499531507492, 0.31890666484832764, -0.4665425419807434, 0.4263352155685425, 0.0181561391800642, -0.28022465109825134, -0.12674947082996368, 0.3840412497520447, 0.4188305735588074, 0.3359779715538025, 0.01865500397980213, 0.42074891924858093, 0.324278861284256, 0.010570880956947803, -0.08559851348400116, -0.0011746273376047611, 0.0804557129740715, -0.000050527371058706194, 0.3484283983707428, 0.7023252844810486, 0.23515062034130096, -0.4845288097858429, 0.6619490385055542, -0.3692484498023987, -0.25554850697517395, -0.2626621127128601, 0.03745708614587784, 0.2692229151725769, 0.34724241495132446, 0.23239019513130188, -0.35021454095840454, 0.158739373087883, -1.018237590789795, 0.22084088623523712, 0.794808030128479, -0.2810932397842407, -0.5207677483558655, 0.25926342606544495, 0.3485693633556366, -0.48235902190208435, 0.29859089851379395, -0.28289368748664856, -0.7165710926055908, 0.358049601316452, 0.39197367429733276, 1.0279076099395752, 0.05155668035149574, 0.6090894937515259, 0.11768773198127747, 0.03486557677388191, 0.11686857789754868, 0.07058221846818924, -0.43173131346702576, -1.1861861944198608, -0.5854182243347168, -0.5465379953384399, -0.6043700575828552, 0.07719700038433075, -0.49003222584724426, 0.38884010910987854, -0.4378884434700012, 0.024594394490122795, 0.697224497795105, -0.4600558876991272, -0.5479151606559753, -0.3412167727947235, 0.5210960507392883, 0.4779508411884308, -1.0214213132858276, 0.7116641998291016, 0.37476274371147156, -0.43040573596954346, -0.8070662617683411, -0.21924197673797607, 0.12103008478879929, -1.0181411504745483, 1.0147989988327026, 0.424195796251297, -0.5424335598945618, -0.26404961943626404, -1.0401654243469238, -0.4766331911087036, 0.8720369935035706, 0.28578194975852966, -0.03542787581682205, 0.16403204202651978, 0.4197099804878235, 0.5623505115509033, -0.693816602230072, 0.3204302191734314, 0.5993431806564331, 0.5204606652259827, 0.592780590057373, -0.48521190881729126, 0.23023587465286255, -0.2680019438266754, -0.04743267968297005, 0.04689379408955574, -0.04293994978070259, 0.3400561213493347, 0.021371589973568916, -0.7729523777961731, -0.14622899889945984, 0.5020044445991516, 0.4103401303291321, 0.6471297740936279, 0.5278322100639343, -0.07939078658819199, 0.792232871055603, -0.05169863998889923, 1.0172760486602783, -0.12984758615493774, 0.010461298748850822, 0.6716480255126953, -0.3665422201156616, 0.4989321231842041, 0.40896347165107727, 0.020930029451847076, 0.7966278195381165, 0.5138923525810242, 0.4555326998233795, 0.18325099349021912, 0.1351700872182846, -0.6003527045249939, -0.5003923773765564, -0.5069169998168945, -0.0034568498376756907, 0.19643737375736237, 0.9191474318504333, -0.5513920783996582, -0.09926673769950867, -0.19578146934509277, 0.18209363520145416, -0.0051644425839185715, -0.23586851358413696, 0.9669342041015625, 0.4327234923839569, -0.7441473603248596, 0.5553278923034668, -0.30682340264320374, 0.5397852659225464, -0.37083885073661804, -0.3592340052127838, -0.08877535164356232, 0.26423463225364685, -0.2106361985206604, -1.0044469833374023, 0.4601338803768158, 0.03144847974181175, -0.016324007883667946, -0.5411009788513184, 1.1933153867721558, -0.4670475721359253, -0.2883175313472748, 0.46416929364204407, 0.4909421503543854, 0.36197030544281006, -0.17468473315238953, -0.8043890595436096, 0.15855370461940765, -0.027286823838949203, -0.026518648490309715, 0.3191440999507904, 1.1523276567459106, -0.20083050429821014, 0.5624726414680481, 1.0572831630706787, -0.27738410234451294, -0.11537753790616989, 0.4106636643409729, 0.9594203233718872, -0.5924473404884338, -0.2802722156047821, -1.0558674335479736, 0.5334192514419556, -0.4115988612174988, 0.016217799857258797, 0.7650980353355408, -0.029519611969590187, 0.5307883620262146, 0.2717655301094055, 0.8419530391693115, 0.2901623249053955, 0.36048251390457153, -0.3459731638431549, 0.2763952314853668, -0.22494910657405853, 0.43320348858833313, -0.4288688898086548, -0.5692881941795349, -0.343299001455307, 0.9342349171638489, -0.617804765701294, -0.3766722083091736, 0.45475906133651733, 0.7859464883804321, 0.21271038055419922, 0.2789670526981354, 0.42979851365089417, -0.1399611383676529, 0.5287900567054749, 0.31131646037101746, 1.3813267946243286, -0.018171992152929306, 0.6183059215545654, 0.3372085690498352, -0.5692216753959656, -0.2204042673110962, -0.810271143913269, -1.2940404415130615, -0.27494919300079346, -0.2875136435031891, -0.5087706446647644, -0.03313146159052849, 0.9833554029464722, 0.5168406367301941, -0.5410043001174927, -0.14701871573925018, -0.0144683001562953, 0.5171642899513245, 0.25433751940727234, -0.36453112959861755, -0.002737803151831031, -0.5938472151756287, -0.548204779624939, 0.22376230359077454, 0.49771633744239807, 0.0758190006017685, -0.09939062595367432, -0.18815982341766357, -0.07619162648916245, 0.6283001899719238, 1.286522626876831, -0.09008283913135529, -0.6674139499664307, -0.8905320167541504, 0.20589694380760193, -0.034394580870866776, -0.16596394777297974, 0.5949251055717468, -0.5701612830162048, 0.08014991879463196, 0.6323902010917664, 0.5241100192070007, 0.39472636580467224, 0.06222866475582123, 0.6100627779960632, -0.6168612837791443, -0.018192123621702194, -0.04455329105257988, 0.41172724962234497, 0.42303141951560974, -0.6650027632713318, 0.45669519901275635, 0.4810657203197479, -0.3442937135696411, -0.8451854586601257, 0.42421168088912964, -1.0134657621383667, -0.3495601713657379, 1.659827470779419, -0.2956925928592682, -0.4095017910003662, -0.5053138732910156, -0.27969369292259216, 0.21419471502304077, -0.49359655380249023, 0.6991907358169556, 0.7238591909408569, -0.01501420047134161, -0.36264684796333313, -0.35672545433044434, 0.43454262614250183, 0.08311916142702103, -1.1268646717071533, 0.22647306323051453, 0.6868165135383606, 0.13962896168231964, 0.2666390836238861, 0.8928086161613464, -0.1890399008989334, 0.13787662982940674, -0.34417515993118286, -0.2830604016780853, 0.36081910133361816, -0.014641321264207363, -0.1836966872215271, 0.13209575414657593, -0.17174282670021057, -0.1218213215470314 ]
http://arxiv.org/abs/2406.19543v1
http://arxiv.org/pdf/2406.19543v1
Demarked: A Strategy for Enhanced Abusive Speech Moderation through Counterspeech, Detoxification, and Message Management
2024-06-27T21:45:33
2024-06-27T21:45:33
Seid Muhie Yimam, Daryna Dementieva, Tim Fischer, Daniil Moskovskiy, Naquee Rizwan, Punyajoy Saha, Sarthak Roy, Martin Semmann, Alexander Panchenko, Chris Biemann, Animesh Mukherjee
cs.CL
cs.CL, cs.SI
Despite regulations imposed by nations and social media platforms, such as recent EU regulations targeting digital violence, abusive content persists as a significant challenge. Existing approaches primarily rely on binary solutions, such as outright blocking or banning, yet fail to address the complex nature of abusive speech. In this work, we propose a more comprehensive approach called Demarcation scoring abusive speech based on four aspect -- (i) severity scale; (ii) presence of a target; (iii) context scale; (iv) legal scale -- and suggesting more options of actions like detoxification, counter speech generation, blocking, or, as a final measure, human intervention. Through a thorough analysis of abusive speech regulations across diverse jurisdictions, platforms, and research papers we highlight the gap in preventing measures and advocate for tailored proactive steps to combat its multifaceted manifestations. Our work aims to inform future strategies for effectively addressing abusive speech online.
[ -0.565057098865509, -1.1122605800628662, 0.278881311416626, 0.14815817773342133, -0.5185552835464478, 0.5134854316711426, -0.02933141030371189, -0.38593295216560364, 0.3772850036621094, 0.6452040076255798, -0.6347090005874634, -0.5224186778068542, -1.0349650382995605, 0.06993976980447769, -0.5952900052070618, 1.0572293996810913, 0.14918726682662964, 0.20202386379241943, -0.1787964105606079, -0.03499821200966835, -0.7107630968093872, -0.7117106318473816, -0.64579176902771, -0.20885175466537476, 0.7408422231674194, 0.21953506767749786, 0.5661488771438599, 0.6257404685020447, 0.8901118040084839, 0.3431485593318939, -0.09764111787080765, -0.10919636487960815, -0.7979345321655273, 0.6075868606567383, -0.2661144435405731, -0.268176406621933, -0.702937126159668, 0.02002795599400997, 0.43206992745399475, 0.2989024519920349, -0.4229108691215515, 0.184182807803154, -0.09934152662754059, 0.35728684067726135, -0.7406873106956482, -0.40091004967689514, -0.517071545124054, 0.07202132046222687, -0.3089883625507355, -0.24001488089561462, -0.1038861870765686, -0.3298991322517395, -0.4734497666358948, -0.2072647213935852, -0.38282278180122375, -0.36635106801986694, 0.5418151021003723, 0.3900666832923889, -0.3375357985496521, -0.4523017704486847, -1.0692259073257446, 0.8829091191291809, -0.6280632019042969, 0.329441100358963, 0.6272009611129761, 0.17737281322479248, 0.12894277274608612, -0.9407477378845215, -0.27563047409057617, 0.1748623549938202, 0.09443409740924835, 0.16559794545173645, -0.8873851895332336, 0.09634717553853989, 0.31388530135154724, 0.1186620369553566, 0.055314838886260986, 0.35435202717781067, -0.48686909675598145, -0.3025822937488556, 0.7996391654014587, 0.551261305809021, 0.41348713636398315, 0.12114930897951126, -0.5027937293052673, 0.19695281982421875, -0.40782877802848816, -0.2786374092102051, 1.1622743606567383, 0.48682379722595215, -0.1457495093345642, 0.14613431692123413, -0.023848069831728935, 0.30303892493247986, 0.3751394748687744, -0.07888912409543991, 0.08089756220579147, -0.14286595582962036, 0.1825479120016098, 0.36384251713752747, 0.7415710091590881, 0.7266274690628052, 0.03655038774013519, 0.15262049436569214, -0.42199498414993286, 0.016910135746002197, 0.8032699227333069, -1.0773234367370605, -0.24127691984176636, 0.5178303122520447, -0.36002370715141296, -0.6220207810401917, -0.2921984791755676, -1.3148638010025024, -0.930936336517334, -0.3772216737270355, 0.45397675037384033, -0.2910460829734802, -0.7323508262634277, -0.3108842968940735, -0.46497777104377747, 0.020840197801589966, 0.2019720822572708, -0.7948780655860901, 0.8986197710037231, 0.6491694450378418, 0.6765246391296387, -0.058443691581487656, 0.33267438411712646, -0.38130494952201843, -0.10136401653289795, -0.5350421071052551, 0.44759562611579895, -1.2528257369995117, -0.13839399814605713, 0.10802972316741943, -0.420680969953537, 0.34993886947631836, -0.5642070770263672, 0.9794707298278809, -0.7817997336387634, 0.34707245230674744, -0.3757164180278778, -0.23322728276252747, -0.47397592663764954, 0.4402475953102112, -0.5562704801559448, 0.7329076528549194, 0.085433229804039, -0.8434081673622131, 0.4497221112251282, -0.607555627822876, -0.3004489839076996, 0.15884482860565186, -0.018512815237045288, -0.5077894926071167, -0.02838938869535923, 0.14103788137435913, 0.24808773398399353, 0.1254223734140396, 0.3137970268726349, -0.2297617644071579, -0.33715376257896423, -0.03496595099568367, -0.8085497617721558, 0.7668800354003906, 0.4365767240524292, -0.4429980218410492, 0.4653586149215698, -0.5265329480171204, 0.07582699507474899, -0.029556481167674065, -0.2189982831478119, -0.5136708617210388, 0.038762833923101425, 0.2627861797809601, 0.2903360426425934, 0.038276005536317825, -0.592860221862793, -0.28337475657463074, -0.29867979884147644, 0.4294055700302124, 0.7565629482269287, 0.3091922700405121, -0.07490913569927216, -0.4439285099506378, 0.7627102136611938, 0.09124569594860077, 0.22472059726715088, 0.11092930287122726, 0.11112149804830551, -0.26546710729599, -0.6548996567726135, 0.09855195134878159, 0.4267992675304413, -0.2867771089076996, 0.3681311309337616, -0.3249390721321106, -0.5171919465065002, -0.5014337301254272, -0.08482776582241058, 0.4259845018386841, 0.11478142440319061, 0.6587587594985962, -0.47985997796058655, -0.6863070130348206, -0.8889116048812866, -0.2898813784122467, 0.015438923612236977, 0.1825857311487198, 0.0274185948073864, 0.37048888206481934, -0.1403186172246933, 0.6377316117286682, 0.06776031106710434, -0.36781609058380127, -0.3821028172969818, 0.24579519033432007, -0.23399469256401062, 0.09699130803346634, 0.663398265838623, -0.9141157865524292, -0.4852074682712555, -0.3667432963848114, -0.22201743721961975, -0.5047143697738647, -0.15869635343551636, 0.12006637454032898, -0.5529435276985168, 0.600699245929718, 0.09620847553014755, 0.36128154397010803, 0.4109446704387665, -0.18594977259635925, 0.47739049792289734, 0.32194772362709045, 0.5876284837722778, -0.9495855569839478, -0.12438074499368668, -0.4095528721809387, -0.4964306354522705, -1.0076996088027954, -0.004747898317873478, -0.4831506609916687, -0.053542498499155045, -0.578862190246582, 0.23423323035240173, -0.05579785630106926, 0.5896537899971008, -0.4281720519065857, 0.39864060282707214, -0.25477057695388794, 0.301347941160202, -0.308956503868103, 0.4679217040538788, 0.6736088991165161, -0.48459872603416443, 0.6557788252830505, 0.2373935580253601, 0.34630826115608215, 1.191602110862732, -0.5377985239028931, 0.3210722506046295, -0.24147920310497284, 0.15037983655929565, -0.8852143287658691, -0.14507806301116943, 0.6226130723953247, -0.14411966502666473, 0.35125842690467834, -0.14985163509845734, -0.2706252634525299, -0.23938463628292084, -0.6439156532287598, 0.6228465437889099, 0.3017835021018982, -0.13710740208625793, 0.6530731320381165, 0.8417532444000244, -0.386836975812912, -0.5703354477882385, -0.23664389550685883, 0.6308436393737793, -0.8044050931930542, -0.125077024102211, 0.4153127372264862, 0.08734660595655441, -0.7263158559799194, -0.23742613196372986, -0.0689428299665451, 0.03386332467198372, 0.12058316171169281, 0.3743143677711487, -0.5849138498306274, 0.31665802001953125, -0.018143868073821068, 0.29096493124961853, 0.07017602771520615, 0.5081063508987427, 0.4599365293979645, 0.9473288655281067, 0.08642122149467468, -0.29804566502571106, -0.6483582258224487, 0.5288811922073364, 0.6231624484062195, -0.08606810867786407, 0.2463873028755188, 0.7620071768760681, -0.5062425136566162, -0.2150527536869049, -0.18386149406433105, -0.5630649924278259, -0.48069849610328674, 0.4739939868450165, -0.2948252856731415, -0.33715033531188965, 0.6867766380310059, -0.5935349464416504, 0.25710147619247437, 0.20085810124874115, 0.8283073306083679, 0.05417235568165779, 1.0610145330429077, 0.3660380244255066, 0.027663525193929672, 0.5717788338661194, 0.04415131360292435, 0.393322616815567, -0.541713535785675, -0.16787491738796234, -0.33838894963264465, -0.64982670545578, -0.5572644472122192, -0.19896405935287476, 0.06181476265192032, 0.19524146616458893, -0.45014551281929016, 0.3652568757534027, -0.4692456126213074, 0.3474106192588806, 0.07003865391016006, 0.05538775399327278, 0.14147403836250305, 0.08025450259447098, -0.23993180692195892, -0.32417935132980347, -0.4001796245574951, -0.5549764633178711, 0.5711599588394165, 0.7539315819740295, 0.6357894539833069, 0.32336777448654175, 0.6996540427207947, 0.7732606530189514, 0.36094921827316284, -0.8012247085571289, 0.5359904766082764, 0.0020337423775345087, -0.8767957091331482, -0.16924630105495453, -0.32508254051208496, -0.8335133194923401, 0.4169189929962158, -0.1786985695362091, -1.0408763885498047, 0.015342258848249912, -0.10925018787384033, -0.31111305952072144, 0.5003676414489746, -0.21063290536403656, 0.39887726306915283, -0.20434978604316711, -0.5601109266281128, -0.7492755651473999, -0.48507142066955566, 0.16022923588752747, -0.3016376197338104, 0.7074595093727112, -0.3582766056060791, -0.1597403734922409, 1.24896240234375, -0.39965763688087463, 1.3061599731445312, -0.3018374443054199, -0.25669339299201965, 0.38301917910575867, 0.3214678466320038, 0.2713799476623535, -0.2188919484615326, -0.12461534887552261, 0.4576621949672699, 0.3381848931312561, 0.011454825289547443, -0.333305686712265, 0.5393755435943604, -0.6183772087097168, -0.5883083939552307, -0.2964889705181122, -0.2641347646713257, -0.29301705956459045, 0.400310218334198, 0.07940490543842316, 0.7266982197761536, -0.2978092133998871, 0.19888204336166382, 0.3432825803756714, -0.12742869555950165, 0.43108227849006653, 0.25219860672950745, -0.28295519948005676, -0.8843938112258911, 0.784900426864624, -0.14306475222110748, 0.22567583620548248, 0.03304193541407585, 0.4232375919818878, -0.49287930130958557, -0.48067712783813477, -0.2506984770298004, -0.11940709501504898, -0.8846005201339722, -0.5141574740409851, -0.6020909547805786, -0.17944931983947754, -0.282848984003067, -0.0891694650053978, -0.5254194140434265, -0.04803990572690964, 0.042952775955200195, -0.1549106389284134, 0.3626003861427307, 0.8941584229469299, -0.5024241805076599, 0.4079294502735138, -0.45945408940315247, 0.3407895565032959, -0.030808791518211365, 0.5298261642456055, -0.19914516806602478, -0.9202700853347778, 0.2814924418926239, 0.2951952815055847, -0.5136792659759521, -1.1159416437149048, 0.22538615763187408, 0.10688599199056625, 0.4986684322357178, 0.7097716927528381, 0.46621081233024597, 1.0077108144760132, -0.5470443964004517, 0.7042847275733948, 0.5364553928375244, -0.6988714933395386, 0.6179320216178894, -0.45211082696914673, -0.18723833560943604, 0.5772362351417542, 0.5735523104667664, -0.8831982016563416, -0.8164246082305908, -0.5329105257987976, -0.9880837202072144, 0.28224509954452515, 0.17842134833335876, 1.118772029876709, -0.16191299259662628, -0.0882321372628212, 0.010776660405099392, 0.45118117332458496, -0.574665367603302, -0.2901555597782135, -0.026122912764549255, -0.19407020509243011, 0.6631254553794861, -0.4086686968803406, -0.8492324352264404, -0.5152161717414856, 0.3506329357624054, 0.392366886138916, 0.14414551854133606, -0.155001699924469, 0.1652911752462387, -0.46010664105415344, 0.3324631452560425, 0.584334671497345, 0.9028686881065369, 0.04274255409836769, 0.24538752436637878, 0.07442813366651535, -0.9904430508613586, 0.06402789056301117, -0.3063553273677826, -0.04460262879729271, -0.1697181910276413, 0.5246298909187317, 0.6764683723449707, 0.2119329422712326, -0.561830461025238, 0.6111863851547241, 0.030554823577404022, -0.3865930140018463, -0.2304813116788864, 0.13293489813804626, -0.3452688753604889, 0.20078310370445251, 0.08781135082244873, -0.0855436697602272, 0.08327129483222961, -0.49069127440452576, 0.5907058119773865, 0.3626270890235901, -1.0111277103424072, -0.19582565128803253, 0.7583472728729248, 0.45163294672966003, -0.3716078996658325, 0.3950200080871582, -0.19731736183166504, -0.7812121510505676, 0.13442003726959229, 0.5449644923210144, 0.8837981820106506, -0.17162984609603882, 0.4009281396865845, 0.4790644347667694, 0.2195877581834793, 0.4344317615032196, 0.3698326647281647, 0.11627591401338577, -0.6318979859352112, -0.150139719247818, -0.8086311221122742, -0.0454367958009243, 0.4120958149433136, -0.7155268788337708, 0.3635369837284088, -0.9498002529144287, -0.5007119178771973, -0.015224012546241283, 0.09827028959989548, -0.296368271112442, 0.05652822554111481, 0.36904075741767883, 0.5680642127990723, -1.0784708261489868, -0.006178798619657755, 0.44736844301223755, -0.35308539867401123, -0.48739907145500183, 0.0630638524889946, 0.3596895635128021, -0.4483462870121002, 0.2736074924468994, 0.07982335984706879, -0.4675745964050293, 0.10847657918930054, -0.626488447189331, -0.6106387376785278, 0.5103299617767334, 0.14302651584148407, -0.6515234708786011, 0.6919372081756592, 0.08353633433580399, 0.8415148854255676, -0.033317431807518005, 0.32427841424942017, 0.5873525142669678, 0.5972962379455566, 0.27413299679756165, -0.8093472719192505, 0.2835201323032379, 0.004866567440330982, -0.4647969901561737, 0.3126985430717468, -0.5870722532272339, 0.318176805973053, -0.19548773765563965, -0.6587601900100708, -0.36599335074424744, 0.04607430845499039, -0.33424827456474304, 0.04389050230383873, 0.6063845157623291, 0.646909236907959, 0.7723636031150818, -0.05981990694999695, 0.6535603404045105, -0.13567237555980682, -0.03393715247511864, 0.9833940267562866, -0.12616758048534393, 0.8434849381446838, 0.36412274837493896, -0.2894056737422943, 0.786933958530426, 0.6384007334709167, -0.2572402060031891, 0.7719148397445679, 0.37421488761901855, -0.4636162221431732, -0.41454020142555237, -0.5136684775352478, -0.1874239593744278, 0.8376328945159912, 0.5339398384094238, -0.33424487709999084, -0.572053849697113, 0.21599538624286652, 0.31932368874549866, 0.6373856067657471, -0.3026556372642517, 1.0627104043960571, -0.036988455802202225, 0.02919366955757141, 0.46274328231811523, 0.25355133414268494, 0.31974703073501587, -0.31654253602027893, -0.26659345626831055, -0.0939568504691124, -0.007102847099304199, -0.2738173007965088, -0.6642202734947205, 0.44568413496017456, 0.12817132472991943, 0.2234589159488678, -0.5946803689002991, 0.7148910164833069, -0.29500773549079895, -0.3208673596382141, 0.4292992055416107, 0.4212554395198822, 0.3041035532951355, 0.024370204657316208, -0.982538640499115, 0.4176699221134186, -0.3055327534675598, -0.11046857386827469, 0.26389265060424805, 0.19644789397716522, -0.25349047780036926, 0.6032421588897705, 0.44982147216796875, 0.3103833794593811, -0.07523486018180847, 0.546735405921936, 1.1559187173843384, -0.41041579842567444, -0.4531605541706085, -1.2711012363433838, 0.4884646534919739, -0.40212365984916687, -0.30898478627204895, 0.5292150974273682, 0.486720472574234, 0.6292475461959839, 0.5405214428901672, 0.5104191303253174, -0.46160027384757996, 0.4147525727748871, 0.045211054384708405, 0.7596627473831177, -0.24094021320343018, 0.18459632992744446, -0.419111430644989, -0.8131705522537231, -0.3750874400138855, 0.197431281208992, -0.5648751258850098, 0.06994706392288208, 0.36416202783584595, 0.7221260666847229, 0.02885425090789795, -0.21287712454795837, 0.47877612709999084, 0.18817780911922455, 0.6067306995391846, -0.29037904739379883, 0.9067233800888062, -0.34524136781692505, 0.6637213230133057, -0.22494275867938995, -0.11201991140842438, -0.08624431490898132, -0.703596293926239, -0.9054611325263977, -0.47636938095092773, -0.3439582288265228, -0.20458067953586578, 0.16499482095241547, 0.6204215288162231, 0.6829767823219299, -0.8140220642089844, 0.22784677147865295, 0.2802886664867401, 0.15061120688915253, -0.6523670554161072, -0.24406816065311432, 0.02626323699951172, -0.2514464557170868, -0.874522864818573, 0.13415643572807312, 0.41397514939308167, -0.4127228856086731, -0.36216244101524353, 0.1609956920146942, -0.1098645031452179, 0.3556326627731323, 0.6371634006500244, -0.1399267017841339, -0.7743014693260193, -0.41985273361206055, -0.4576888978481293, -0.19375747442245483, 0.1039060652256012, 0.6103570461273193, -0.3234788775444031, 0.6433456540107727, 0.4826708137989044, 0.41973692178726196, 0.05008776858448982, 0.8088642358779907, 0.4629473090171814, -1.0644017457962036, 0.04550103470683098, 0.7449797987937927, -0.1414434015750885, 0.23228609561920166, -0.2252184897661209, 0.0008491315529681742, 0.10671444982290268, -0.1089172288775444, -0.9387070536613464, 0.4325275123119354, -0.5918588638305664, -0.42925119400024414, 1.2590408325195312, 0.16657306253910065, 0.2350018471479416, -0.45088711380958557, -0.4032163918018341, 0.033970143646001816, -0.3467329144477844, 1.067618489265442, 0.6664980053901672, -0.00553645147010684, -0.18686656653881073, -0.6815304160118103, 0.6719895601272583, -0.1768009066581726, -0.6706411838531494, 0.6329421401023865, 0.5933747291564941, 0.3574064075946808, 0.38894739747047424, 0.5890622735023499, -0.4467337131500244, -0.1553061306476593, 0.4930930733680725, -0.07058283686637878, -0.02584116905927658, -0.5504320859909058, -0.2700240910053253, 0.3540024161338806, -0.2876925766468048, -0.14552415907382965 ]
http://arxiv.org/abs/2406.19538v1
http://arxiv.org/pdf/2406.19538v1
Context Matters: An Empirical Study of the Impact of Contextual Information in Temporal Question Answering Systems
2024-06-27T21:31:30
2024-06-27T21:31:30
Dan Schumacher, Fatemeh Haji, Tara Grey, Niharika Bandlamudi, Nupoor Karnik, Gagana Uday Kumar, Jason Cho-Yu Chiang, Paul Rad, Nishant Vishwamitra, Anthony Rios
cs.CL
cs.CL
Large language models (LLMs) often struggle with temporal reasoning, crucial for tasks like historical event analysis and time-sensitive information retrieval. Despite advancements, state-of-the-art models falter in handling temporal information, especially when faced with irrelevant or noisy contexts. This paper addresses this gap by empirically examining the robustness of temporal question-answering (TQA) systems trained on various context types, including relevant, irrelevant, slightly altered, and no context. Our findings indicate that training with a mix of these contexts enhances model robustness and accuracy. Additionally, we show that the position of context relative to the question significantly impacts performance, with question-first positioning yielding better results. We introduce two new context-rich TQA datasets, ContextAQA and ContextTQE, and provide comprehensive evaluations and guidelines for training robust TQA models. Our work lays the foundation for developing reliable and context-aware temporal QA systems, with broader implications for enhancing LLM robustness against diverse and potentially adversarial information.
[ -0.19141267240047455, -0.8794991970062256, 0.8888845443725586, 0.2208375334739685, -0.13937526941299438, -0.19412459433078766, 0.17360687255859375, -0.4514296054840088, -0.34402909874916077, -0.238486647605896, -0.47333869338035583, -0.1599690020084381, -0.42398279905319214, 0.016159027814865112, -0.3350732624530792, 0.6328617334365845, 0.04535298049449921, 0.1994815170764923, -0.2829975187778473, -0.5882806181907654, -0.6326309442520142, -0.8692528605461121, -0.7179386615753174, -0.07555308192968369, 0.46507948637008667, -0.18021728098392487, 0.6310192942619324, 0.4551364481449127, -0.0386442169547081, 0.19501806795597076, -0.3739200532436371, -0.0342060811817646, -0.2994648814201355, 0.4855917990207672, -0.33849501609802246, -0.5283393859863281, -0.327000230550766, -0.2062697559595108, 0.6826561093330383, 0.6095961332321167, -0.13691407442092896, 0.291976660490036, -0.1254110485315323, 0.049460504204034805, -0.7969520092010498, 0.07199376076459885, -0.8430934548377991, -0.0074254535138607025, -0.04320906102657318, -0.59065181016922, -0.22669944167137146, -0.378741979598999, 0.29926568269729614, -0.586625874042511, -0.13306479156017303, -0.16495229303836823, 0.852489173412323, 0.39788129925727844, -0.8018534183502197, 0.1238483190536499, -0.7924816608428955, 0.848486065864563, -0.7567177414894104, 0.4670332372188568, 0.28477370738983154, 0.41880252957344055, 0.033154211938381195, -0.5621953010559082, -0.3772118389606476, 0.3383832275867462, 0.03750310093164444, 0.06457817554473877, -0.04964732751250267, -0.3345329463481903, 0.42391347885131836, 0.0018764191772788763, -0.3247167468070984, 0.05381430312991142, -0.007845423184335232, -0.06710139662027359, 0.010466082021594048, 0.3568008840084076, 0.5028433799743652, -0.08291399478912354, -0.22250114381313324, -0.06721799820661545, -0.7379782795906067, 0.49208784103393555, -0.06798732280731201, 0.12673251330852509, -0.015598094090819359, 0.341746985912323, -0.30258455872535706, 0.7334795594215393, 0.12438897043466568, -0.27036428451538086, -0.46512603759765625, -0.39536410570144653, -0.251787006855011, -0.3341197967529297, 0.30563679337501526, 0.2186988890171051, -0.09425561875104904, -0.5870245695114136, -0.09171959012746811, -0.22600163519382477, 0.23264525830745697, -0.7590665221214294, 0.31975650787353516, 0.537562906742096, -0.03730874881148338, -0.015070815570652485, -0.055255018174648285, -0.19001588225364685, -0.012954549863934517, -0.5094199180603027, 0.4049411714076996, -0.40638282895088196, -0.08737006038427353, -0.2599997818470001, -0.16418799757957458, 0.7551037073135376, 0.5045002698898315, -0.7764809131622314, -0.2061677724123001, 0.7052847146987915, 0.4984302818775177, 0.03321687877178192, -0.2666735053062439, -0.7280471324920654, 0.36451467871665955, -0.5116153955459595, 0.5537865161895752, -0.5410264134407043, -0.1673515886068344, 0.051928162574768066, 0.2141493558883667, -0.36127594113349915, -0.4310493767261505, 0.3648850917816162, -1.1881624460220337, 0.37802553176879883, -0.5082156658172607, -0.34969890117645264, 0.1764175295829773, 0.366169810295105, -0.4032106399536133, 0.9388092160224915, 0.3376873731613159, -0.8780692219734192, 0.6614426374435425, -0.2287396639585495, -0.47121161222457886, -0.15628057718276978, -0.11667340993881226, -0.22150692343711853, 0.05302102863788605, 0.4538279175758362, 0.487491637468338, 0.13681095838546753, 0.5922812223434448, -0.3447865843772888, -0.4469720125198364, 0.6786819100379944, -0.3953968286514282, 0.7660853266716003, 0.2341141700744629, -0.28883296251296997, -0.09303334355354309, -0.4354625344276428, 0.23982921242713928, 0.09523840248584747, -0.5285343527793884, -0.46586695313453674, 0.13045085966587067, -0.014187592081725597, 0.3210257887840271, 0.14506182074546814, -0.24170558154582977, -0.028912290930747986, -0.06568912416696548, 0.7524747848510742, 0.7106775641441345, 0.10274317115545273, 0.43092432618141174, -0.47127029299736023, 0.524247407913208, 0.08634946495294571, 0.19714239239692688, -0.024030478671193123, -0.17665722966194153, -0.3052348494529724, 0.2672457695007324, 0.1405992954969406, 0.5993279814720154, -1.0119282007217407, 0.020907385274767876, -0.5567380785942078, -0.1403639167547226, 0.1276383250951767, -0.22244393825531006, 0.16570892930030823, 0.7533244490623474, 0.1967494785785675, 0.06313323974609375, -0.530266284942627, -0.6530536413192749, -0.33214229345321655, -0.5031273365020752, -0.16566167771816254, 0.4166121482849121, 0.30642130970954895, -0.04778824374079704, 1.2035645246505737, -0.1025058925151825, 0.41556087136268616, 0.04677078500390053, -0.1746242344379425, -0.11814869195222855, 0.18521028757095337, 0.6646550893783569, -0.8126110434532166, -0.061597175896167755, -0.3296988606452942, -0.8157995939254761, -0.1277502179145813, -0.1171276792883873, -0.0832330659031868, 0.18551914393901825, 0.4310418367385864, -0.33531343936920166, 0.2294507473707199, 0.40480244159698486, -0.44966214895248413, 0.2942177355289459, 0.14303317666053772, 0.2768964171409607, -1.2053650617599487, 0.3385111093521118, -0.31404614448547363, -0.33945798873901367, -0.720746636390686, 0.03907420113682747, 0.2183893620967865, -0.15225601196289062, -0.6923753023147583, 0.9196219444274902, -0.09902430325746536, -0.08623407781124115, -0.03540680184960365, 0.13317930698394775, 0.1937706470489502, 0.4608757495880127, 0.19111564755439758, 1.115551471710205, 0.14557774364948273, -0.7505404949188232, -0.3561517894268036, 0.2581753432750702, -0.23069965839385986, 0.6891195178031921, -0.6399099826812744, 0.25940677523612976, -0.17591343820095062, 0.18075117468833923, -0.5907506346702576, -0.35599711537361145, -0.12194450944662094, -0.4489164650440216, 0.4353640377521515, -0.3095174729824066, -0.3564160466194153, 0.19637608528137207, 0.03295453265309334, 0.6846882104873657, 0.24835948646068573, -0.4801141023635864, 0.47746437788009644, 0.4382784068584442, -0.20727555453777313, -0.7291306853294373, -0.5884060859680176, -0.054275888949632645, -0.3990017771720886, -0.5391589403152466, 0.12622423470020294, -0.01758834905922413, -0.4487062990665436, -0.21843503415584564, -0.5058221817016602, -0.4764231741428375, 0.6560671925544739, 0.21276947855949402, 0.050456702709198, -0.3075794279575348, 0.3028947114944458, 0.03505157679319382, 0.2303813397884369, 0.11696243286132812, -0.2378847599029541, 0.3749406337738037, -0.22582250833511353, -0.2376495599746704, -0.41118350625038147, 0.36695921421051025, 0.6961226463317871, 0.01999182440340519, 0.9877376556396484, 0.48410969972610474, -0.4300343990325928, 0.005953870713710785, -0.37767294049263, -0.2722916603088379, -0.4005883038043976, 0.3165499269962311, -0.1691283881664276, -1.2189781665802002, 0.5669630765914917, 0.3361143171787262, 0.1374068409204483, 0.25199854373931885, 0.27030113339424133, -0.2336861789226532, 0.9204732775688171, 0.43539193272590637, -0.15693023800849915, 0.8132286667823792, 0.10875020921230316, 0.08613881468772888, -0.9411569237709045, -0.09670483320951462, -0.48225274682044983, -0.06620095670223236, -0.17989006638526917, -0.1821380853652954, 0.6245278716087341, 0.21067117154598236, -0.5918524265289307, -0.08053995668888092, -0.06950970739126205, 0.3487321436405182, 0.3798791170120239, 0.03209459036588669, 0.2509600520133972, -0.09279120713472366, 0.23870950937271118, 0.10500699281692505, -1.0552688837051392, -0.7261739373207092, 0.9445822238922119, 0.29282182455062866, 0.4476420283317566, 0.3459559977054596, 0.01118585467338562, -0.030860895290970802, 0.2529800534248352, -0.4656963050365448, 0.2644551396369934, 0.27075204253196716, -0.867438793182373, -0.5123293399810791, -0.3682854175567627, -0.9499906897544861, 0.18664385378360748, -0.03313717246055603, -0.6853633522987366, 0.30793100595474243, -0.07464710623025894, -0.7003397941589355, 0.41338714957237244, -0.5312682390213013, 0.616226077079773, -0.1539045125246048, -0.5016498565673828, 0.4044591784477234, -0.7412301301956177, 0.023826315999031067, 0.10886218398809433, 0.13497650623321533, -0.060918841511011124, -0.16667811572551727, 0.7655401825904846, -0.1689714640378952, 0.8757736086845398, -0.11926253139972687, -0.2195660024881363, 0.19583676755428314, 0.23942223191261292, 0.28125837445259094, 0.5779814124107361, -0.04226405918598175, 0.05265397951006889, 0.5890774726867676, -0.7785463333129883, -0.6579205393791199, 0.46400830149650574, -0.8800954818725586, -0.7201387286186218, -0.3891657292842865, -0.6456393003463745, -0.7140330672264099, 0.0641532614827156, 0.2066556215286255, 0.8805988430976868, -0.19752168655395508, 0.4235210418701172, 0.9479803442955017, -0.15326762199401855, 0.5078226327896118, 0.6875966787338257, 0.26533243060112, -0.14630945026874542, 0.272606760263443, 0.09191451966762543, 0.35464638471603394, 0.6674126982688904, -0.03898521512746811, -0.4488385021686554, -0.5885403156280518, -0.4419395625591278, -0.11394572257995605, -0.85887211561203, -0.1245538592338562, -0.740764856338501, -0.2680440843105316, -0.5019336938858032, -0.1205531433224678, -0.10787826031446457, -0.4395151436328888, -0.39633774757385254, -0.07108721137046814, 0.09823299944400787, 0.380964457988739, 0.33717113733291626, 0.24990487098693848, -0.7079857587814331, 0.11561019718647003, 0.8523851633071899, 0.21693286299705505, -0.10691972821950912, -0.5573188066482544, -0.07909810543060303, -0.0354900099337101, -0.14004667103290558, -0.8055689930915833, 0.09668949991464615, 0.07315146178007126, 0.6577122807502747, 0.26722654700279236, 0.1387915313243866, 0.39066416025161743, -0.22169305384159088, 1.026798129081726, -0.4535488486289978, -0.833077073097229, 0.7246102690696716, -0.764140784740448, 0.8546985983848572, 0.5434966087341309, 0.15067827701568604, -0.6431931853294373, -0.38690871000289917, -0.425211101770401, -0.684664249420166, 0.7144753336906433, 0.23028796911239624, 0.08212637156248093, -0.09955938905477524, 0.6821715235710144, -0.003841075347736478, 0.083131805062294, -0.8035796284675598, -0.05616817623376846, -0.20810291171073914, 0.12956739962100983, 0.04381638392806053, -0.3646492660045624, -0.37138867378234863, 0.08972980082035065, 0.470938503742218, -0.30834752321243286, 0.24725675582885742, 0.42045068740844727, -0.1964629739522934, 0.06532049179077148, 0.6757280826568604, 0.6519887447357178, 1.1533716917037964, -0.30000391602516174, 0.15701895952224731, 0.5421918034553528, -0.2237301766872406, 0.34531527757644653, -0.13443145155906677, -0.4251754581928253, -0.2445247918367386, 0.5706256031990051, 0.6997162699699402, 0.28439992666244507, -0.5670546889305115, 0.34184783697128296, -0.4488755762577057, 0.2740502655506134, -0.21083205938339233, 0.034486379474401474, -0.03989845886826515, 0.3268277049064636, 0.5396721959114075, -0.2586648464202881, -0.10766618698835373, -0.7008465528488159, -0.06950315833091736, 0.4582841396331787, -0.41901731491088867, -0.3422754108905792, 0.7748739123344421, -0.10374496877193451, 0.05087483301758766, 0.3364008665084839, 0.13888835906982422, -0.6443229913711548, 0.7950823903083801, 0.3626770079135895, 0.6766152381896973, -0.17818337678909302, 0.08619505912065506, 0.22535139322280884, 0.3077923655509949, 0.12785039842128754, 0.30815255641937256, -0.2779766321182251, -0.5713141560554504, -0.33056700229644775, -0.4752432405948639, -0.6320924758911133, 0.20827530324459076, -0.6977050304412842, -0.39154428243637085, -0.49404376745224, -0.4410777986049652, -0.572031557559967, -0.03192739188671112, -0.721567690372467, 0.4138445556163788, -0.05131017789244652, 0.6418458223342896, -0.6832213401794434, 0.5983865261077881, 0.8989966511726379, 0.04326249659061432, -0.7799782156944275, 0.2441827654838562, -0.18883216381072998, -0.4743460416793823, 0.567314863204956, -0.0555725134909153, -0.12941381335258484, -0.2938074469566345, -0.5835932493209839, -1.0805480480194092, 1.432055950164795, 0.34746912121772766, -0.09945295751094818, -0.03408558666706085, -0.04177744314074516, 0.6048358082771301, -0.1593547761440277, 0.23525038361549377, 0.3879549503326416, 0.15037626028060913, -0.016689391806721687, -0.7937952280044556, 0.1445745825767517, -0.26033127307891846, 0.13211306929588318, -0.0640709400177002, -0.8491384983062744, 0.6456929445266724, 0.06969618052244186, -0.6575748324394226, 0.17418324947357178, 0.5853130221366882, 0.2980674207210541, 0.5627710819244385, 0.301946759223938, 0.2709748446941376, 0.7235198616981506, -0.5068755745887756, 1.265175223350525, -0.34480956196784973, -0.10670898854732513, 1.2448651790618896, -0.14402924478054047, 0.7820302844047546, 0.5418044924736023, -0.1663128286600113, 0.3470113277435303, 0.8854913711547852, 0.6598372459411621, 0.3214273452758789, -0.3337666988372803, -0.13354751467704773, -0.5092419385910034, -0.06884771585464478, -0.7348939180374146, 0.21782396733760834, 0.24974654614925385, 0.10177081823348999, -0.1682983636856079, -0.2249354124069214, 0.0021387245506048203, -0.2788470387458801, -0.11800245195627213, 0.6701754331588745, -0.01991787739098072, -0.8415307998657227, 0.44626984000205994, -0.10161212831735611, 0.31745874881744385, -0.6476150751113892, 0.4343695044517517, -0.6547874212265015, -0.1614278256893158, 0.06206901744008064, -0.6095269322395325, 0.34050631523132324, -0.13022753596305847, -0.33025887608528137, -0.07157521694898605, 0.5043156147003174, -0.0847342312335968, -0.022290294989943504, 0.02431340329349041, 0.8299465179443359, -0.25366318225860596, -0.0748615488409996, -0.2723737359046936, -0.06242452934384346, -0.46218109130859375, -0.16902634501457214, 0.5147057175636292, 0.6836103200912476, -0.18461686372756958, 0.826479971408844, 0.47358834743499756, -0.17608539760112762, 0.16894835233688354, -0.10934992134571075, 0.7080168724060059, -0.7252928018569946, -0.5186071991920471, -0.4776875972747803, 0.2652168869972229, -0.005624829791486263, -0.3900179862976074, 0.7186135649681091, 0.24980725347995758, 0.6686946153640747, 0.24896089732646942, 0.5591678619384766, 0.15068042278289795, 0.40362119674682617, -0.7632361054420471, 0.6434290409088135, -0.6748491525650024, 0.5874001979827881, 0.06046001985669136, -0.8127043843269348, -0.1644350290298462, 0.020881976932287216, -0.48907530307769775, 0.26804298162460327, 0.48268693685531616, 0.46090179681777954, -0.000361865182640031, 0.02755117230117321, 0.32829907536506653, 0.013918861746788025, 0.3636833131313324, 0.8036328554153442, 1.2713743448257446, -0.43173402547836304, 0.4268522262573242, -0.13736414909362793, 0.1125466525554657, -0.18927451968193054, -0.8898956775665283, -0.7801423668861389, -0.6076712012290955, -0.297650545835495, -0.30707448720932007, 0.22506000101566315, 0.4976443946361542, 0.9232019782066345, -0.8778359293937683, 0.1345040202140808, 0.4391147792339325, 0.2546480596065521, -0.0993381217122078, -0.2557578384876251, 0.47166237235069275, -0.3818134665489197, -0.6275401711463928, 0.5232453942298889, 0.2665196657180786, 0.32494667172431946, 0.07775196433067322, 0.20171205699443817, -0.1263197809457779, 0.2438514232635498, 0.7776668667793274, 0.4721301794052124, -0.6559084057807922, -0.5075805187225342, 0.32717078924179077, -0.3319963812828064, 0.09848915785551071, 0.8358676433563232, -0.7581925988197327, 0.3154350519180298, 0.5052024126052856, 0.7303798198699951, 0.08807400614023209, 0.2817035913467407, 0.6265817880630493, -0.837762176990509, 0.006429051049053669, 0.2096344232559204, 0.424777626991272, 0.3636748492717743, -0.3980945348739624, 0.5411150455474854, 0.05657968670129776, -0.6410130858421326, -0.7682389616966248, 0.06356239318847656, -0.8988041281700134, -0.6430323123931885, 1.319456696510315, -0.0011366507969796658, -0.317261666059494, -0.4755846858024597, 0.11155972629785538, 0.2363867312669754, -0.20735009014606476, 0.9196885824203491, 0.9036691188812256, 0.03178558126091957, 0.020483022555708885, -0.5641258358955383, 0.5009089708328247, 0.7372215986251831, -0.7898117899894714, -0.2440202236175537, 0.5303158760070801, 0.5252873301506042, -0.062175799161195755, 0.6187154650688171, -0.17771592736244202, 0.4710727334022522, -0.2815745174884796, -0.6381127238273621, -0.01386191975325346, -0.2556821405887604, -0.6210299134254456, 0.5044148564338684, 0.08172643184661865, 0.18124695122241974 ]
http://arxiv.org/abs/2406.19537v1
http://arxiv.org/pdf/2406.19537v1
Handling Ontology Gaps in Semantic Parsing
2024-06-27T21:21:22
2024-06-27T21:21:22
Andrea Bacciu, Marco Damonte, Marco Basaldella, Emilio Monti
cs.CL
cs.CL, cs.AI
The majority of Neural Semantic Parsing (NSP) models are developed with the assumption that there are no concepts outside the ones such models can represent with their target symbols (closed-world assumption). This assumption leads to generate hallucinated outputs rather than admitting their lack of knowledge. Hallucinations can lead to wrong or potentially offensive responses to users. Hence, a mechanism to prevent this behavior is crucial to build trusted NSP-based Question Answering agents. To that end, we propose the Hallucination Simulation Framework (HSF), a general setting for stimulating and analyzing NSP model hallucinations. The framework can be applied to any NSP task with a closed-ontology. Using the proposed framework and KQA Pro as the benchmark dataset, we assess state-of-the-art techniques for hallucination detection. We then present a novel hallucination detection strategy that exploits the computational graph of the NSP model to detect the NSP hallucinations in the presence of ontology gaps, out-of-domain utterances, and to recognize NSP errors, improving the F1-Score respectively by ~21, ~24% and ~1%. This is the first work in closed-ontology NSP that addresses the problem of recognizing ontology gaps. We release our code and checkpoints at https://github.com/amazon-science/handling-ontology-gaps-in-semantic-parsing.
[ -0.6792635321617126, -0.8325945734977722, 0.819351315498352, 0.26813507080078125, 0.10156046599149704, -0.3402315080165863, 0.19074203073978424, -0.5010288953781128, 0.16348575055599213, 0.8970275521278381, -0.9241143465042114, -0.5724153518676758, -0.44294625520706177, 0.08461301773786545, -0.30151593685150146, 0.3124617040157318, 0.3654007911682129, -0.12566189467906952, -0.4532672166824341, 0.12253326177597046, -0.4440930187702179, -0.5617892146110535, -0.24866770207881927, -0.4502924084663391, 0.1074814647436142, 0.28651490807533264, 0.8914583325386047, 0.6238604784011841, 0.46141698956489563, 0.2297656387090683, -0.13979682326316833, 0.1190149262547493, -0.23762746155261993, 0.364928275346756, -0.219842329621315, -0.008261731825768948, -0.4354347288608551, -0.35035714507102966, 0.3956579864025116, 0.8999469876289368, -0.3406955897808075, -0.33851757645606995, -0.22812415659427643, 0.2579817771911621, -0.5779581069946289, 0.19240866601467133, -0.6340678930282593, 0.6345245838165283, 0.04020848870277405, -0.4087323546409607, -0.4554321765899658, -0.09181298315525055, 0.10734885185956955, -0.6587530374526978, 0.24653294682502747, 0.04521223157644272, 0.9811438918113708, 0.5704039335250854, 0.22882242500782013, -0.275850385427475, -0.3126417100429535, 0.6728078126907349, -0.772493839263916, 0.6535176634788513, 0.6123033165931702, 0.3544480800628662, -0.5473166108131409, -0.796749472618103, -0.6377018094062805, -0.22680839896202087, 0.06855826079845428, -0.07184529304504395, -0.0017910250462591648, 0.10007935762405396, 0.397915244102478, 0.16105253994464874, -0.7195746898651123, -0.03055328130722046, -0.0627770647406578, -0.35731157660484314, 0.2811071574687958, 0.2880762219429016, 0.3211548328399658, -0.565387487411499, -0.36717116832733154, -0.17680294811725616, -0.32313272356987, -0.39346519112586975, 0.25996577739715576, 0.36312052607536316, 0.3340018689632416, 0.4683104157447815, -0.38446786999702454, 0.724726676940918, -0.28492817282676697, 0.11047543585300446, 0.14636068046092987, 0.023410042747855186, -0.29197898507118225, 0.2697778046131134, 0.26568469405174255, 0.32851752638816833, 0.13299338519573212, -0.49577683210372925, -0.058004360646009445, 0.45216506719589233, 0.6140708923339844, -0.5672749876976013, -0.30732104182243347, 0.527915894985199, -0.30204591155052185, -0.30597004294395447, -0.10669627785682678, -0.9415751099586487, -0.5066043734550476, -0.06598559767007828, 0.35133910179138184, -0.5650994181632996, -0.20620018243789673, 0.677021324634552, -0.14425034821033478, 0.22168757021427155, 0.18436580896377563, -0.6687490344047546, 0.754749596118927, 0.7828672528266907, 0.6510815620422363, 0.20575550198554993, -0.4185437560081482, -0.49269095063209534, 0.08348765224218369, -0.17762117087841034, 1.1976449489593506, -0.48196712136268616, -0.09248173236846924, -0.0916290283203125, -0.068281389772892, -0.10520771890878677, -0.6759366393089294, 0.6519313454627991, -0.5204355120658875, -0.014941374771296978, -0.45961517095565796, -0.749649703502655, -0.18234950304031372, 0.4926173686981201, -0.4951915144920349, 0.9297208786010742, 0.1653125286102295, -0.7126498222351074, 0.12870676815509796, -0.5960234999656677, 0.11056364327669144, 0.13485705852508545, -0.3126140236854553, -0.14892850816249847, -0.1026979386806488, 0.23938040435314178, 0.29148977994918823, -0.17161723971366882, 0.22422613203525543, -0.32482948899269104, -0.30022889375686646, 0.18332946300506592, 0.11923374235630035, 0.701472818851471, 0.009181447327136993, -0.3935059905052185, 0.033373817801475525, -0.7852845191955566, 0.40593332052230835, 0.024447914212942123, 0.3087717592716217, -0.31548210978507996, -0.07720618695020676, 0.02462191879749298, 0.5020190477371216, -0.45467641949653625, -0.5332188010215759, 0.030200792476534843, -0.7522453665733337, 0.2141999900341034, 0.6706386208534241, 0.04576436057686806, 0.06977914273738861, -0.21275408565998077, 0.3548445999622345, 0.09138786792755127, 0.13469278812408447, -0.16673266887664795, -0.7009394764900208, -0.7132866978645325, 0.1578078418970108, 0.2490559071302414, 0.35101383924484253, -0.6049150824546814, 0.8723321557044983, 0.09521994739770889, -0.1049116924405098, -0.42730170488357544, -0.2283819019794464, 0.34574493765830994, 0.7438152432441711, 0.5723597407341003, -0.3434128165245056, -0.5321184396743774, -0.4164583384990692, 0.03436121717095375, -0.2881142199039459, 0.00997693371027708, 0.16950924694538116, 0.4911990761756897, -0.40672749280929565, 0.9766026139259338, -0.761421799659729, -0.7489117980003357, 0.02242761291563511, 0.05938732251524925, -0.25035881996154785, 0.5567718744277954, 0.225950226187706, -0.7668881416320801, 0.12602561712265015, -0.2581450939178467, -1.0619570016860962, -0.42391473054885864, -0.1095397099852562, -0.3687012791633606, 0.09672999382019043, 0.5513551235198975, -0.810093104839325, 0.6396394968032837, 0.22063851356506348, -0.7447287440299988, 0.45078033208847046, 0.10988414287567139, -0.0532086081802845, -0.7122786045074463, -0.18920829892158508, -0.4678574800491333, -0.12087216228246689, -0.7199638485908508, 0.22834248840808868, -0.20589467883110046, -0.035715799778699875, -0.4048658609390259, 0.3646179139614105, -0.0999453142285347, -0.3336696922779083, -0.4273093640804291, 0.34706175327301025, 0.24542883038520813, 0.3912072777748108, 0.342965692281723, 0.12657973170280457, 0.44727304577827454, -0.36818990111351013, 0.06456690281629562, 0.6897011399269104, -0.11728929728269577, 0.1399901956319809, -0.5190742015838623, 0.06680874526500702, -0.12298008799552917, -0.03959208354353905, -0.7996065616607666, -0.4176871180534363, 0.5942981243133545, -0.5523232221603394, -0.1827462613582611, 0.09095204621553421, -0.5679137110710144, -0.10497323423624039, -0.038431599736213684, 0.21405665576457977, 0.4640895426273346, -0.5630748271942139, 0.4427947998046875, 0.327583372592926, 0.27120572328567505, -0.5682870149612427, -0.5987345576286316, 0.15175136923789978, 0.09698685258626938, -1.109978199005127, 0.55368572473526, 0.08827672153711319, -0.22775407135486603, 0.18207278847694397, -0.31547829508781433, -0.11285383254289627, 0.2012898027896881, 0.4507087767124176, -0.04428179934620857, -0.40950247645378113, 0.17023658752441406, 0.1865571141242981, -0.4119015336036682, 0.37137722969055176, -0.40552255511283875, 0.9498282074928284, -0.25351059436798096, -0.5010148286819458, -0.4281742572784424, 0.31544381380081177, 0.23085340857505798, 0.21605470776557922, 0.7453500628471375, 0.2933475375175476, -0.9016804695129395, -0.3893064856529236, -0.4896292984485626, -0.643144965171814, -0.45025017857551575, 0.12876881659030914, -0.38020390272140503, -0.653640866279602, 0.5345345735549927, 0.026511242613196373, -0.28924548625946045, 0.32655656337738037, 0.41773468255996704, 0.22981232404708862, 0.8243355751037598, 0.5702383518218994, 0.5435994863510132, -0.25832146406173706, -0.2227364182472229, 0.4268087148666382, -0.6231293678283691, -0.3771207332611084, -0.5962258577346802, 0.2519248127937317, -0.1435289829969406, -0.6251735091209412, 0.08224660903215408, 0.2908861041069031, 0.07876764982938766, 0.1795678436756134, -0.44895312190055847, 0.6116212606430054, 0.22870850563049316, -0.1843220740556717, 0.32096460461616516, 0.059289220720529556, -0.2025924026966095, -0.24129293859004974, -0.6699793934822083, -0.5170302391052246, 0.3574713170528412, 0.31037092208862305, 0.5111531019210815, -0.19821709394454956, 0.6457970142364502, 0.4352387487888336, -0.33125805854797363, -0.6724981665611267, 0.7173038125038147, 0.18542248010635376, -0.31267496943473816, -0.5355902910232544, -0.435262531042099, -0.5532140731811523, 0.6290066838264465, -0.1500578671693802, -0.8561649322509766, 0.42875444889068604, 0.09428583830595016, -0.41045671701431274, 0.33247798681259155, -0.2441280335187912, 1.1337599754333496, 0.31148871779441833, -0.12211853265762329, 0.16968032717704773, -0.8688493967056274, 0.41703084111213684, 0.008913200348615646, -0.11658401042222977, -0.4775574207305908, 0.3093319833278656, 0.5651416182518005, -0.479047030210495, 0.7905645370483398, -0.28350430727005005, 0.026833314448595047, 0.22391781210899353, 0.08701635897159576, 0.1288253366947174, 0.18922729790210724, -0.10508282482624054, 0.41828176379203796, 0.03090573288500309, -0.28816160559654236, -0.6357701420783997, 0.6083297729492188, -0.6050727367401123, -0.44738948345184326, -0.7543379664421082, -0.6516925096511841, -0.31828388571739197, 0.15450485050678253, 0.3141149580478668, 0.019327765330672264, -0.10484064370393753, -0.1319326013326645, 0.7198361754417419, -0.35969027876853943, 0.07524765282869339, 0.18071480095386505, -0.3639651834964752, -0.0826643779873848, 0.5887693762779236, 0.06922399997711182, 0.11651799082756042, -0.031072493642568588, 0.29380369186401367, -0.30251654982566833, -0.25429925322532654, -0.39801040291786194, 0.19869132339954376, -0.9662015438079834, -0.2776886522769928, -1.2560007572174072, -0.5478860139846802, -0.9306732416152954, -0.13680782914161682, -0.31839218735694885, -0.6436641216278076, -0.08938758075237274, -0.07682254165410995, 0.24677066504955292, 0.24419516324996948, -0.13707688450813293, 0.3089524209499359, -0.7797179222106934, 0.5884549021720886, 0.0025575130712240934, 0.22610969841480255, 0.17431937158107758, -0.394056111574173, 0.2293396294116974, -0.14360103011131287, -0.3273048996925354, -0.7042281031608582, 0.5750918388366699, -0.07101491093635559, 0.4484281539916992, 0.5350469350814819, 0.4030325710773468, 0.8811538815498352, -0.3503990173339844, 0.5889574289321899, 0.0392754040658474, -1.0922778844833374, 0.4888349175453186, -0.05957069620490074, 0.15177825093269348, 0.4729023575782776, 0.36427733302116394, -0.750978410243988, -0.5514352321624756, -0.6233192086219788, -0.740125834941864, 0.8855545520782471, 0.5622639656066895, -0.10800229012966156, -0.11054912209510803, 0.3808879256248474, 0.1595071703195572, 0.14781250059604645, -0.6486555337905884, 0.08856584876775742, -0.40829798579216003, 0.028093282133340836, 0.42549028992652893, -0.22370655834674835, -0.08220335841178894, -0.036672838032245636, 0.4527030289173126, -0.16620884835720062, 0.15293611586093903, 0.2742350101470947, -0.0943007841706276, -0.20445024967193604, 0.07345345616340637, 0.37644559144973755, 0.7108942866325378, -0.4025956690311432, 0.2760932743549347, -0.10131420195102692, -0.5152053833007812, -0.03590238839387894, 0.026495371013879776, -0.22513876855373383, 0.05855323374271393, 0.2722955048084259, 0.49911364912986755, -0.015651259571313858, -1.037514090538025, 0.3741379380226135, -0.1419658660888672, -0.20193660259246826, -0.38760071992874146, 0.1260494440793991, -0.0753893330693245, 0.30804795026779175, -0.08958379179239273, 0.12001537531614304, 0.43198704719543457, -0.35365331172943115, 0.5580077171325684, -0.01419043354690075, -0.5505551099777222, -0.25030940771102905, 0.5391601324081421, -0.35473117232322693, -0.30324503779411316, 0.9205257296562195, -0.2391553670167923, -0.7121434211730957, 0.7299172878265381, 0.7481392025947571, 0.8992792367935181, -0.16731663048267365, 0.41093993186950684, -0.07457112520933151, 0.4080658257007599, -0.13701733946800232, 0.5298871994018555, -0.05690005049109459, -0.9162310361862183, -0.07117623090744019, -0.9632967114448547, -0.4840835630893707, 0.03554796054959297, -0.7209193706512451, 0.2246183604001999, -0.3150661289691925, -0.07506931573152542, 0.21168024837970734, -0.38024455308914185, 0.023012489080429077, 0.22368723154067993, 0.16425587236881256, 0.7470399141311646, -0.9977921843528748, 0.7096423506736755, 0.32455405592918396, -0.33935508131980896, -0.302239328622818, 0.3719492554664612, -0.05152957886457443, -0.5266454219818115, 0.49657562375068665, 0.4538971185684204, -0.18205545842647552, -0.24482104182243347, -0.22642844915390015, -0.6614747643470764, 0.615073561668396, 0.20341481268405914, 0.007839247584342957, -0.24274170398712158, 0.5700276494026184, 0.5754558444023132, -0.3486608564853668, -0.29060599207878113, 0.7076981663703918, 0.4934134781360626, 0.24429140985012054, -0.2127818614244461, 0.28352826833724976, -0.10401709377765656, 0.08748343586921692, 0.2221660166978836, -0.22001519799232483, 0.8574655055999756, -0.11099989712238312, -0.08931607007980347, 0.29132920503616333, 0.550106406211853, 0.5574421286582947, 0.7361273765563965, 0.5847265720367432, 0.853422224521637, 0.725554347038269, -0.12620480358600616, 0.7404851317405701, -0.09468982368707657, 0.2177029699087143, 1.0803859233856201, -0.7362985014915466, 0.6942756772041321, 0.6013866662979126, 0.35653430223464966, 0.2608547806739807, 0.5423021912574768, -0.156276673078537, 0.6444486975669861, 0.3253442347049713, 0.047364622354507446, -0.490065336227417, -0.4099576771259308, -0.5549231171607971, 0.44137898087501526, 0.5474759936332703, -0.05618029460310936, -0.4677368998527527, 0.27696287631988525, -0.14520807564258575, 0.18613307178020477, 0.09724118560552597, 0.6344200968742371, 0.23204894363880157, -0.4440326988697052, 0.6464092135429382, 0.12203016877174377, 0.062363401055336, -0.45811396837234497, -0.41899508237838745, -0.14379090070724487, 0.15949803590774536, -0.3110290467739105, -0.5132836699485779, 0.7943277955055237, -0.2257612645626068, -0.16897733509540558, -0.05688402056694031, 0.8682520389556885, -0.06672531366348267, -0.2641622722148895, 0.8562865257263184, 0.3425195813179016, 0.45854058861732483, -0.33495885133743286, -0.48787257075309753, 0.28627264499664307, -0.28200286626815796, -0.015249921940267086, 0.24957327544689178, 0.44318386912345886, -0.17426510155200958, 0.46495407819747925, 0.5287754535675049, -0.19890610873699188, 0.3080313801765442, 0.28145018219947815, 1.0673669576644897, -0.808605968952179, -0.7499193549156189, -0.5661388635635376, 0.14212891459465027, -0.2024673968553543, -0.3548668920993805, 0.649761974811554, 0.27504220604896545, 0.9002013802528381, -0.08464663475751877, 0.43264877796173096, -0.031570032238960266, 0.3447548449039459, -0.7256550788879395, 0.753510594367981, -0.6661300659179688, 0.45525339245796204, -0.43400391936302185, -0.9168695211410522, -0.6919988393783569, 0.81205153465271, -0.029116448014974594, -0.15281790494918823, 0.8051595091819763, 1.0027618408203125, -0.056896042078733444, 0.5350567102432251, 0.7085531949996948, 0.26184138655662537, -0.031517092138528824, 0.36394205689430237, 1.1499383449554443, -0.5245981812477112, 0.3292137682437897, -0.5191502571105957, 0.012919163331389427, -0.20612302422523499, -0.6265819072723389, -0.8959566950798035, -0.3956500291824341, -0.3097493648529053, -0.7979366183280945, 0.25125643610954285, 0.708774983882904, 0.6454430222511292, -0.8330506682395935, -0.19969430565834045, -0.29721173644065857, 0.081600621342659, -0.3064131736755371, -0.255591481924057, 0.3645145297050476, -0.5787294507026672, -0.2624140977859497, 0.3205517530441284, 0.5273844599723816, -0.058991942554712296, -0.20377947390079498, -0.11379373073577881, -0.19713595509529114, 0.23668034374713898, 0.4821328818798065, 0.12835192680358887, -0.9327778816223145, -0.136800616979599, 0.3588870167732239, 0.09976920485496521, 0.21617498993873596, 0.7290102243423462, -0.7778903245925903, 0.308975487947464, 0.4955666959285736, 0.8724148869514465, 0.26969024538993835, -0.02957022376358509, 0.1615075320005417, -0.6025184392929077, 0.2050614207983017, 0.5220358371734619, 0.10717979818582535, 0.15918581187725067, -0.5545222759246826, 0.5714396834373474, 0.408012330532074, -0.41179388761520386, -1.231116771697998, 0.18782493472099304, -0.9932460188865662, -0.6031391024589539, 0.7517998218536377, -0.11259858310222626, -0.3613024353981018, -0.4811376631259918, 0.049210868775844574, -0.1094178780913353, -0.056422531604766846, 1.226861834526062, 0.5957902073860168, -0.33437007665634155, 0.13413675129413605, -0.4125596284866333, 0.5712827444076538, 0.5640685558319092, -1.0516371726989746, 0.22372989356517792, 0.5422486066818237, -0.2362177073955536, 0.4611167013645172, 0.6380055546760559, -0.1521536111831665, 0.4658394157886505, 0.37860822677612305, 0.1162964254617691, 0.12550927698612213, -0.7800161838531494, -0.3393529951572418, 0.4881855547428131, -0.3175853192806244, -0.002582525834441185 ]
http://arxiv.org/abs/2406.19526v1
http://arxiv.org/pdf/2406.19526v1
TocBERT: Medical Document Structure Extraction Using Bidirectional Transformers
2024-06-27T20:56:57
2024-06-27T20:56:57
Majd Saleh, Sarra Baghdadi, Stéphane Paquelet
cs.CL
cs.CL, cs.IR, cs.LG
Text segmentation holds paramount importance in the field of Natural Language Processing (NLP). It plays an important role in several NLP downstream tasks like information retrieval and document summarization. In this work, we propose a new solution, namely TocBERT, for segmenting texts using bidirectional transformers. TocBERT represents a supervised solution trained on the detection of titles and sub-titles from their semantic representations. This task was formulated as a named entity recognition (NER) problem. The solution has been applied on a medical text segmentation use-case where the Bio-ClinicalBERT model is fine-tuned to segment discharge summaries of the MIMIC-III dataset. The performance of TocBERT has been evaluated on a human-labeled ground truth corpus of 250 notes. It achieved an F1-score of 84.6% when evaluated on a linear text segmentation problem and 72.8% on a hierarchical text segmentation problem. It outperformed a carefully designed rule-based solution, particularly in distinguishing titles from subtitles.
[ -0.07362577319145203, -0.5628584027290344, 0.6487780213356018, 0.3003484606742859, -0.6077564358711243, 0.12144608795642853, -0.3018249571323395, -0.21785806119441986, 0.17250581085681915, 0.6556328535079956, -0.4067919850349426, -0.8650436997413635, -0.7842131853103638, 0.3149755299091339, -0.7170380353927612, 1.269876480102539, -0.052676666527986526, 0.03531772270798683, -0.4640040993690491, -0.029218677431344986, -0.48743724822998047, -0.2459835708141327, -0.4245971441268921, -0.21722723543643951, 0.4903891384601593, 0.6616103053092957, 0.45608922839164734, 0.7822712063789368, 0.9079157710075378, 0.35039934515953064, -0.2152995616197586, 0.038682326674461365, -0.049284934997558594, 0.3096604645252228, -0.3435407280921936, -0.45007532835006714, -0.3312458395957947, -0.24750074744224548, 0.8846450448036194, 0.6401430368423462, -0.17745448648929596, -0.14188049733638763, -0.20796161890029907, 0.7078993320465088, -0.16980189085006714, -0.0357772521674633, -0.2783040702342987, 0.015531172044575214, -0.39420512318611145, -0.39609310030937195, -0.5945780873298645, -0.22843167185783386, 0.11995017528533936, -0.33166539669036865, 0.6068829894065857, 0.14553792774677277, 1.2979514598846436, 0.5560877323150635, -0.42375773191452026, -0.5444759726524353, -0.4388926029205322, 0.6669175028800964, -0.5140414237976074, 0.6144283413887024, 0.0328008234500885, 0.38665077090263367, -0.0038810332771390676, -0.9740802049636841, -0.3729041516780853, -0.11369460076093674, -0.21063028275966644, 0.37891387939453125, -0.07395970821380615, 0.1562381237745285, 0.12165649980306625, 0.4841287434101105, -0.5248945355415344, 0.19331371784210205, -0.6119661927223206, -0.272384911775589, 0.46935081481933594, -0.050827477127313614, 0.45556628704071045, -0.7292905449867249, -0.609821081161499, -0.1476355493068695, -0.12136078625917435, -0.002981598721817136, 0.1302112340927124, 0.05730932950973511, -0.03224252164363861, 0.7048776745796204, 0.043326299637556076, 0.33339351415634155, 0.4642995297908783, -0.6728681325912476, 0.2572827637195587, 0.14345574378967285, -0.39232170581817627, 0.6931531429290771, 0.6027172207832336, 0.20507952570915222, 0.02396264486014843, -0.288453608751297, -0.04171568527817726, -0.09787534922361374, 0.5703122615814209, -0.9099560976028442, -0.28108280897140503, 0.27741676568984985, -0.7690285444259644, -0.478661447763443, 0.04002626985311508, -0.8446817994117737, -0.16245661675930023, -0.21338781714439392, 0.0003093584382440895, -0.48354053497314453, 0.1254165768623352, 0.07080259174108505, -0.22407029569149017, 0.40425845980644226, 0.36907443404197693, -0.7823372483253479, 0.4360465705394745, 0.6990026831626892, 0.7470227479934692, -0.7526952028274536, 0.18249544501304626, -0.24482426047325134, 0.2733534872531891, -0.11183545738458633, 1.3345494270324707, -0.26381176710128784, -0.6887738704681396, -0.32229724526405334, 0.3966677486896515, -0.0931091234087944, -0.7873437404632568, 0.8970128297805786, -0.41722893714904785, 0.5626894235610962, 0.06426462531089783, -0.3465762734413147, -0.2941037714481354, 0.48864179849624634, -0.7502277493476868, 0.8625645041465759, 0.2636535167694092, -0.9702864289283752, 0.15457163751125336, -0.5421724319458008, -1.0435973405838013, 0.04403812810778618, -0.15374501049518585, -0.8472429513931274, 0.14867138862609863, 0.5216748714447021, 0.20823653042316437, -0.6416856050491333, 0.309582382440567, 0.2772049009799957, 0.1222112849354744, -0.007246195804327726, -0.5304999947547913, 0.9444511532783508, -0.1507188379764557, -0.2855650782585144, 0.25929713249206543, -0.8619111180305481, -0.20393291115760803, 0.1784369796514511, -0.3846967816352844, -0.5513780117034912, 0.03624529391527176, 0.25312602519989014, 0.09970532357692719, 0.004241799935698509, -0.5845006704330444, 0.15827494859695435, -0.4257805645465851, -0.07179062068462372, 0.5362565517425537, 0.359365850687027, 0.5388426780700684, -0.1987854689359665, 0.5460096597671509, 0.16247081756591797, 0.14189757406711578, -0.00420637521892786, -0.27778375148773193, -0.7361292839050293, -0.8414952754974365, 0.5225938558578491, 0.5095170736312866, -0.7431116104125977, 0.34328892827033997, -0.18581099808216095, -0.3905276954174042, -0.26174914836883545, -0.24457189440727234, 0.3048478960990906, 1.2350398302078247, 0.8142492175102234, -0.3898216784000397, -0.44079044461250305, -1.1021405458450317, 0.04425167664885521, -0.28954559564590454, -0.05505124107003212, 0.2476121187210083, 0.32000732421875, -0.5055230259895325, 0.9794108271598816, -0.8321019411087036, -0.598601758480072, -0.3138444125652313, 0.12330445647239685, 0.16771307587623596, 0.34260526299476624, 0.4015777111053467, -1.0454304218292236, -0.41041675209999084, 0.015340573154389858, -0.6354780793190002, -0.4066317677497864, -0.2203069031238556, -0.2549790143966675, 0.015180892311036587, 0.6189244985580444, -0.3958086371421814, 0.32908710837364197, 0.38987892866134644, 0.034482888877391815, 0.5609907507896423, -0.259435772895813, -0.06869661808013916, -1.5204066038131714, 0.23594088852405548, -0.1414903700351715, -0.3457663953304291, -0.5248586535453796, -0.1870017945766449, 0.44780614972114563, -0.03458317369222641, -0.39474061131477356, 0.3444134294986725, -0.6164363026618958, 0.06921541690826416, -0.22616906464099884, 0.17793652415275574, 0.06048120930790901, 0.34661349654197693, 0.3234151303768158, 0.3879701793193817, 0.2776206433773041, -0.528262197971344, 0.3523973822593689, 0.774891197681427, -0.09347822517156601, 0.8846697807312012, -0.7070177793502808, 0.027421703562140465, -0.3211163580417633, 0.1570659726858139, -0.9824768304824829, -0.11929509788751602, 0.2302996963262558, -0.4161767363548279, 0.7256842851638794, -0.08271796256303787, -0.3435318171977997, -0.24962171912193298, -0.15984567999839783, 0.4982610046863556, 0.13353948295116425, -0.5178972482681274, 0.5646882653236389, 0.5815747380256653, -0.374315083026886, -0.4656469523906708, -0.38588863611221313, 0.037718530744314194, -0.04444967582821846, -0.5228440165519714, 0.8581965565681458, 0.27450793981552124, -0.012022405862808228, -0.04352385550737381, -0.4626781642436981, -0.38213491439819336, -0.1518460214138031, 0.44725167751312256, 0.5154873132705688, -0.11517997831106186, 0.15369825065135956, 0.7425144910812378, -0.4661225378513336, 0.17849275469779968, -0.12882067263126373, 0.3514324128627777, 0.2755867540836334, -0.2877270579338074, -0.30346736311912537, 0.29818621277809143, 0.5490905046463013, -0.4538518786430359, 0.303152471780777, 0.3872615396976471, -0.5051155090332031, -0.15446536242961884, -0.48062989115715027, -0.04469730705022812, -0.4290503263473511, 0.528788685798645, 0.0793873518705368, -0.5356895327568054, 0.15986166894435883, -0.3162887990474701, 0.002911052666604519, 0.7313246726989746, 0.687487781047821, -0.30201834440231323, 0.7038121819496155, 0.6318660378456116, -0.04568595439195633, 0.31422433257102966, 0.02177727222442627, 0.12990671396255493, -0.9892407655715942, -0.5942285060882568, -0.726000189781189, -0.36043739318847656, -0.4074725806713104, -0.5139150023460388, 0.4808284342288971, -0.17987404763698578, 0.456788569688797, 0.5013011693954468, -0.761756420135498, 0.15644514560699463, 0.1650981456041336, 0.237178236246109, 0.4835667908191681, 0.07719090580940247, -0.3762320280075073, 0.08311674743890762, -0.16730843484401703, -0.346249520778656, 0.718113899230957, 0.3166540861129761, 0.5366283059120178, -0.1662360578775406, 0.8028411865234375, 0.20276330411434174, 0.675143837928772, -1.1198134422302246, 0.6156378388404846, -0.268614262342453, -0.7863260507583618, -0.3312400281429291, -0.19896464049816132, -1.0295637845993042, 0.0979921743273735, -0.041632164269685745, -0.33662205934524536, 0.21050725877285004, -0.5034927129745483, -0.16217759251594543, -0.02388126589357853, -0.35505542159080505, 0.7217373251914978, -0.27069324254989624, -0.04643874987959862, -0.03540889918804169, -0.8917010426521301, 0.07772384583950043, -0.18490780889987946, -0.011176490224897861, -0.028022950515151024, 0.1044023334980011, 0.9497522115707397, -0.5948679447174072, 0.25955501198768616, -0.06131615489721298, -0.1800372451543808, 0.18516306579113007, -0.2535195052623749, 0.23660798370838165, 0.1974928379058838, 0.19534911215305328, 0.23641881346702576, 0.07184101641178131, -0.09703885018825531, -0.3096323013305664, 0.26614508032798767, -0.36299511790275574, -0.6306401491165161, -0.5687819123268127, -0.4539770483970642, -0.020484168082475662, 0.6369666457176208, 0.4132160544395447, 0.4971027076244354, -0.17276033759117126, 0.4063746929168701, 0.48844000697135925, -0.40599703788757324, 0.4638010263442993, 0.4135092794895172, 0.015035683289170265, -0.5695507526397705, 0.40395021438598633, -0.27753278613090515, -0.07020677626132965, 1.0037834644317627, 0.14111554622650146, -0.42868974804878235, -0.5958574414253235, -0.4368673861026764, 0.5088081359863281, -0.5427940487861633, -0.46077242493629456, -0.7521151304244995, -0.4250754714012146, -0.32163551449775696, -0.2208482325077057, -0.41611555218696594, -0.3652816712856293, -0.4118722975254059, -0.06729352474212646, -0.06827780604362488, 0.05588407814502716, 0.19989287853240967, 0.23845531046390533, -0.8438571691513062, 0.8195605874061584, 0.12675228714942932, -0.15619367361068726, -0.3918285071849823, -0.5742663145065308, -0.051568057388067245, -0.5219977498054504, -0.4377307593822479, -1.147523045539856, 0.5922600030899048, -0.15287257730960846, 0.5566892027854919, 0.6034321784973145, 0.23809781670570374, 0.8524567484855652, -0.7103117108345032, 0.24214017391204834, 0.29056844115257263, -0.7547191977500916, 0.5009049773216248, -0.03496771305799484, 0.11228492110967636, 0.7158731818199158, 0.29215341806411743, -0.6466478109359741, -0.2409631609916687, -0.3860168159008026, -0.8054071068763733, 0.6684540510177612, 0.22869448363780975, -0.3285251557826996, -0.009043781086802483, 0.2731165885925293, 0.14139015972614288, 0.1494709849357605, -0.4277571439743042, -0.2599963843822479, 0.0837438702583313, -0.5980914831161499, 0.18996866047382355, -0.3080468773841858, 0.07119050621986389, -0.22495275735855103, 0.5143290758132935, 0.027536798268556595, 0.41815638542175293, 0.6921080350875854, -0.4235437512397766, -0.030627479776740074, 0.4457080066204071, 0.44007280468940735, 0.21886183321475983, -0.1545417308807373, 0.09875773638486862, 0.00806789007037878, -0.9436606168746948, 0.03964455425739288, 0.6058105230331421, -0.13782687485218048, 0.27460432052612305, 0.37744641304016113, 0.17026692628860474, 0.2053585946559906, -0.6041803359985352, 0.650697648525238, -0.159844309091568, -0.3521786630153656, -0.15976357460021973, -0.37487369775772095, -0.05226104333996773, 0.4281744062900543, 0.2736278474330902, 0.133216992020607, 0.5134617686271667, -0.36806192994117737, 0.3310251832008362, 0.3366599678993225, -0.7286459803581238, -0.24716736376285553, 0.6576177477836609, 0.01584845781326294, -0.31309282779693604, 0.9604960083961487, 0.18594934046268463, -0.7606276869773865, 0.66013103723526, 0.6469205021858215, 1.0549629926681519, -0.35300567746162415, 0.32566317915916443, 0.0403515100479126, 0.19381199777126312, -0.017846524715423584, -0.07016728818416595, -0.3057691156864166, -0.44974470138549805, -0.2444918304681778, -0.8132746815681458, -0.45949479937553406, -0.3882276117801666, -0.7729040384292603, 0.5814797282218933, -0.3322516083717346, -0.012128578498959541, 0.2599157989025116, -0.09367964416742325, -0.21222861111164093, 0.5124709606170654, 0.1006171852350235, 0.6683708429336548, -0.4533715844154358, 0.9895704388618469, 0.7653602361679077, -0.22055891156196594, -0.7149168252944946, 0.18055425584316254, -0.20002105832099915, -0.5744894742965698, 0.6300321817398071, 0.35419532656669617, 0.14342249929904938, -0.05314021557569504, -0.17908774316310883, -0.49701356887817383, 1.075107216835022, 0.09641502052545547, -0.4618247151374817, -0.6630198955535889, 0.26017874479293823, 0.6769269108772278, 0.07042650878429413, 0.24334362149238586, 0.4485691487789154, 0.4966360330581665, 0.08939460664987564, -0.8634573817253113, 0.14360785484313965, -0.2176865041255951, -0.2959645390510559, 0.42407849431037903, -0.48547202348709106, 0.6954596638679504, -0.21032817661762238, -0.33302509784698486, -0.013658756390213966, 0.5558426976203918, 0.20116902887821198, 0.5303822159767151, 0.5641428828239441, 0.3220491409301758, 0.6694225072860718, -0.05845283716917038, 0.7485541105270386, -0.09543129801750183, 0.5084391236305237, 0.8000750541687012, -0.1843836009502411, 0.4953908920288086, 0.6000406742095947, 0.02239076793193817, 0.957950234413147, 0.3548237979412079, -0.12456891685724258, 0.6717613935470581, -0.03254498541355133, 0.0011482569389045238, 0.047097716480493546, -0.04283999279141426, -0.2545351982116699, 0.635960578918457, 0.32269570231437683, -0.6106067299842834, -0.3655078709125519, 0.04482943192124367, 0.19991540908813477, -0.032795000821352005, -0.2711227238178253, 0.7985528707504272, 0.18809819221496582, -0.593192994594574, 0.2522510886192322, 0.3793402910232544, 0.22060754895210266, -0.5185889005661011, 0.02627759613096714, -0.05669339373707771, 0.41821008920669556, -0.32367879152297974, -0.40566614270210266, 0.4545873999595642, -0.026600871235132217, -0.33083218336105347, -0.32089775800704956, 0.9576777219772339, -0.33128905296325684, -0.6187149882316589, 0.1692432165145874, 0.08309640735387802, 0.02626453898847103, -0.2642073631286621, -0.41804149746894836, -0.34549596905708313, 0.048839591443538666, -0.024277135729789734, 0.04240969568490982, 0.5116226673126221, -0.19639058411121368, 0.23364706337451935, 0.6768211722373962, -0.043227680027484894, -0.20498739182949066, -0.17811231315135956, 0.9673598408699036, -0.7860193252563477, -0.6780566573143005, -0.8722187280654907, 0.41567060351371765, -0.28926217555999756, -0.22480882704257965, 0.6570534706115723, 1.019810438156128, 0.48700234293937683, -0.09440930932760239, 0.4193304777145386, 0.027245962992310524, 0.7069181203842163, -0.2637791037559509, 0.8022369742393494, -0.6731659173965454, -0.09055320173501968, -0.5882132649421692, -0.959235668182373, -0.6012256145477295, 0.4908822774887085, -0.22234424948692322, -0.4024432897567749, 1.2642147541046143, 0.5357534885406494, -0.017505506053566933, -0.07571932673454285, 0.09020063281059265, 0.0410146489739418, 0.45779168605804443, 0.3080206513404846, 0.3684063255786896, -0.49487408995628357, 0.692935585975647, -0.3674986958503723, -0.23005719482898712, -0.4570946991443634, -0.5960640907287598, -0.9667469263076782, -0.48351964354515076, -0.32764628529548645, -0.28722813725471497, -0.06622976064682007, 0.6984468698501587, 0.5173680186271667, -0.8139179348945618, 0.019741240888834, 0.02165101282298565, 0.3678034543991089, -0.13655416667461395, -0.24035121500492096, 0.8532035946846008, -0.19643419981002808, -0.7906065583229065, 0.3930206000804901, 0.7729696035385132, -0.24112798273563385, 0.3204253613948822, 0.16036997735500336, -0.19011519849300385, -0.12330587208271027, 0.567687451839447, 0.23001132905483246, -0.3364332318305969, -0.0916762426495552, 0.22878827154636383, -0.2872397005558014, 0.4018827974796295, 0.806230366230011, -0.5809013843536377, 0.4211418330669403, 0.5149179100990295, 0.604120671749115, 0.6799627542495728, 0.4012451469898224, 0.17300952970981598, -0.647079586982727, 0.10873465985059738, 0.41080665588378906, 0.25322964787483215, 0.3355906009674072, -0.29297181963920593, 0.21417994797229767, 0.4746702313423157, -0.43400612473487854, -0.7672430276870728, -0.12858077883720398, -1.53792405128479, -0.2302463948726654, 1.2103501558303833, 0.318127304315567, -0.4705350995063782, -0.2291744500398636, -0.717421293258667, 0.7660424113273621, -0.32436704635620117, 0.6531035900115967, 0.26629844307899475, 0.04741836339235306, -0.2083999216556549, -0.20897647738456726, 0.20560289919376373, 0.22327320277690887, -1.130710482597351, -0.32756751775741577, 0.26470690965652466, 0.3652907907962799, 0.41781342029571533, 0.3880169987678528, -0.6302246451377869, 0.16124816238880157, -0.28985512256622314, 0.24381166696548462, -0.08798155188560486, -0.4377692937850952, 0.012751270085573196, 0.4048299491405487, -0.3538096249103546, -0.42620182037353516 ]
http://arxiv.org/abs/2406.19512v1
http://arxiv.org/pdf/2406.19512v1
Captioning Visualizations with Large Language Models (CVLLM): A Tutorial
2024-06-27T20:18:18
2024-06-27T20:18:18
Giuseppe Carenini, Jordon Johnson, Ali Salamatian
cs.CL
cs.CL, cs.AI, cs.HC
Automatically captioning visualizations is not new, but recent advances in large language models(LLMs) open exciting new possibilities. In this tutorial, after providing a brief review of Information Visualization (InfoVis) principles and past work in captioning, we introduce neural models and the transformer architecture used in generic LLMs. We then discuss their recent applications in InfoVis, with a focus on captioning. Additionally, we explore promising future directions in this field.
[ -0.24504628777503967, -0.4558205008506775, 0.5111764669418335, 0.25439751148223877, -0.16891354322433472, 0.23559416830539703, -0.15629814565181732, -0.12683707475662231, 0.11960713565349579, 0.8239210247993469, -0.5840089321136475, -0.689769446849823, -0.557650625705719, -0.18595615029335022, -0.721842885017395, 0.9150964021682739, -0.1604415327310562, 0.5798854231834412, -0.6649962663650513, -0.00940132886171341, -0.5692998766899109, -0.5788688063621521, -0.6854757070541382, -0.18405863642692566, 0.5441529154777527, 0.6192167401313782, 0.5233411192893982, 0.7978806495666504, 0.6373541355133057, 0.3241448998451233, 0.14027002453804016, -0.015836969017982483, -0.42687761783599854, 0.19362708926200867, 0.16939513385295868, -0.8703833818435669, 0.04810936003923416, -0.08264902234077454, 0.7011073231697083, 0.8835732340812683, 0.1650538295507431, 0.10529085993766785, -0.2603730261325836, 0.7247351408004761, -0.09143844991922379, 0.8177942037582397, -0.36376315355300903, 0.1265176385641098, 0.059554312378168106, -0.5941492915153503, -0.6089526414871216, -0.6423417329788208, 0.49656760692596436, -0.5135715007781982, 0.15840445458889008, 0.7460523247718811, 0.6185895204544067, 0.3031292259693146, -0.42161867022514343, -0.07644712924957275, -0.9194890260696411, 0.7945663332939148, -0.4598716199398041, 0.27044156193733215, -0.1284819096326828, 0.9325106739997864, 0.19792737066745758, -1.1724302768707275, -0.40514907240867615, -0.45274877548217773, 0.011286507360637188, 0.07635528594255447, -0.479730486869812, 0.023269513621926308, 0.3708592355251312, 0.325821191072464, -0.48964622616767883, 0.337600976228714, -0.6921738982200623, -0.0185257401317358, 0.44364944100379944, 0.49987170100212097, 0.5733867287635803, -0.01210635993629694, -0.6832220554351807, -0.11932506412267685, -0.9783909916877747, -0.3116389811038971, 0.1912137120962143, 0.19662420451641083, -0.35418206453323364, 0.7584004998207092, 0.1692183017730713, 0.9805760979652405, -0.3463156223297119, 0.15458717942237854, -0.1087850034236908, -0.09723308682441711, -0.37965819239616394, 0.10475631803274155, 0.6562241911888123, 0.5762927532196045, 0.5986701846122742, -0.3223361372947693, 0.07168986648321152, -0.41909751296043396, 0.27170246839523315, -0.6580259203910828, -0.45827624201774597, 0.20207540690898895, -0.7393593788146973, -0.3878409266471863, 0.16997116804122925, -0.7598562836647034, -0.8762471675872803, -0.8246347308158875, 0.37017834186553955, -0.22097080945968628, -0.14126117527484894, 0.03319736570119858, -0.2694356441497803, 0.6083346009254456, 0.35356757044792175, -0.7987638711929321, 0.5497543811798096, 0.36377209424972534, 0.7747941613197327, -0.5963954329490662, -0.32354506850242615, -0.4564342796802521, 0.08396845310926437, -0.3890031576156616, 0.7489256262779236, -0.14108909666538239, -0.038377050310373306, 0.32614195346832275, 0.225445955991745, 0.05876559019088745, -0.4673338532447815, 0.05094614997506142, -0.7423704862594604, 0.14457343518733978, -0.11045826226472855, -0.6930936574935913, -0.6331316828727722, 0.16829244792461395, -0.9864445328712463, 0.2724238634109497, 0.11665746569633484, -0.7560866475105286, -0.07179681211709976, -1.1116303205490112, -0.39373406767845154, 0.13914071023464203, -0.20515675842761993, -0.17296960949897766, 0.05665984004735947, -0.02171633578836918, 0.5891603231430054, -0.453509658575058, 0.2661847174167633, 0.28945857286453247, -0.3180563151836395, 0.45128580927848816, -0.477883905172348, 0.6661074757575989, 0.19854091107845306, -0.1439996361732483, 0.6492097973823547, -0.6693300604820251, -0.3061142861843109, 0.33439260721206665, -0.028105562552809715, -0.05273713171482086, 0.3432579040527344, 0.3862403631210327, -0.13093963265419006, 0.31937798857688904, -0.11726725846529007, 0.4293384552001953, -0.28618136048316956, 0.8523687720298767, 0.5406336188316345, -0.20745263993740082, 0.7406502962112427, -0.07808735221624374, 0.7330727577209473, 0.2146887630224228, 0.39809882640838623, -0.6773878335952759, -0.41989415884017944, -1.076622486114502, -0.07377292215824127, 0.2928531765937805, 0.559893786907196, -1.0145323276519775, 0.04264966398477554, -0.3720427453517914, -0.40138307213783264, -0.2913239002227783, -0.034053776413202286, -0.1212414875626564, 0.40533676743507385, 0.34312334656715393, 0.16092433035373688, -0.6791926026344299, -1.1884182691574097, 0.03871483355760574, -0.0048307511024177074, 0.19441013038158417, 0.03648070991039276, 0.1347244530916214, -0.18660981953144073, 0.7942642569541931, -0.6372106075286865, -0.21690385043621063, -0.6617037057876587, 0.2988514304161072, 0.3900989294052124, 0.25093019008636475, 0.6243860721588135, -1.0147172212600708, -0.3295401334762573, -0.0948881134390831, -0.774772584438324, 0.15261302888393402, -0.13199040293693542, -0.007828548550605774, -0.051576703786849976, 1.037163257598877, -0.5619739890098572, 0.3847725987434387, 0.5848740935325623, -0.004953675903379917, 0.5080804228782654, -0.2426435351371765, -0.032441508024930954, -0.9020185470581055, -0.2994004487991333, -0.0739036574959755, -0.3354944586753845, -0.8225120902061462, 0.0046187699772417545, 0.1294761449098587, -0.20973297953605652, -0.6706605553627014, 0.512006402015686, -0.8731335401535034, -0.1492525339126587, -0.5436770915985107, -0.006558118388056755, -0.15625762939453125, 0.346385657787323, 0.06863594800233841, 0.5288470983505249, 1.0745636224746704, -0.41481247544288635, 0.8038142323493958, 0.0483580082654953, -0.7189467549324036, 0.3756183981895447, -0.5569294691085815, -0.37575680017471313, -0.5179827809333801, -0.027228763327002525, -1.4095213413238525, -0.3909364342689514, -0.19586215913295746, -0.09817701578140259, 0.6134458184242249, -0.17092812061309814, -0.5453471541404724, -0.6365700960159302, -0.3302569091320038, 0.2756999731063843, 0.41402414441108704, -1.0514206886291504, 0.8591389060020447, 0.3975737690925598, -0.24325384199619293, -0.5013697147369385, -0.8994567394256592, 0.38223859667778015, -0.38369905948638916, -0.6072008013725281, 0.26191243529319763, -0.39132246375083923, -0.4415348172187805, -0.2822456955909729, 0.41144561767578125, -0.24283897876739502, -0.09857095777988434, 0.5006402730941772, 0.6081609129905701, -0.31823915243148804, 0.3902968764305115, -0.08099867403507233, -0.08266980201005936, 0.10504110902547836, -0.49962425231933594, 0.6857569813728333, -0.45869380235671997, -0.31085240840911865, -0.36754700541496277, 0.2329588085412979, 0.6147900223731995, -0.12233167141675949, 0.6045167446136475, 0.4397481679916382, -0.26012367010116577, 0.013943132013082504, -0.6617615818977356, -0.11017496138811111, -0.4415290355682373, 0.639685332775116, 0.04303956404328346, -0.90972900390625, 0.3896143138408661, -0.12990231812000275, -0.05859874188899994, 0.40408506989479065, 0.6164193749427795, -0.2902255356311798, 0.9945913553237915, 1.1467519998550415, -0.13639643788337708, 0.5744851231575012, -0.5116531252861023, 0.33429044485092163, -0.408170610666275, -0.3416241407394409, -0.23710456490516663, -0.14165745675563812, -0.465286523103714, -0.5922274589538574, 0.25510597229003906, -0.04429430142045021, -0.23825430870056152, 0.2532629668712616, -0.5996177792549133, 0.7227164506912231, 0.536868155002594, -0.47141844034194946, 0.30921030044555664, 0.13453975319862366, 0.17936213314533234, -0.19776515662670135, -1.0129904747009277, -0.5071678757667542, 0.8798390030860901, 0.508544921875, 1.2048475742340088, -0.126770481467247, 0.19832843542099, 0.2974078953266144, 0.7023123502731323, -1.0187267065048218, 0.47103384137153625, -0.24118641018867493, -0.2542426586151123, -0.263047456741333, -0.1100253090262413, -0.9899861812591553, -0.12376002222299576, -0.23027966916561127, -0.7099879384040833, -0.024099530652165413, 0.15027417242527008, -0.14798802137374878, 0.5506216883659363, -0.9028931260108948, 0.7444342970848083, -0.5712254643440247, 0.19270539283752441, 0.2291046530008316, -0.7854660749435425, 0.367323637008667, 0.11838080734014511, 0.27115434408187866, 0.23682980239391327, 0.0701906606554985, 0.6948366165161133, -0.043621305376291275, 0.8354143500328064, -0.08214134722948074, -0.0011899814708158374, 0.3312946856021881, 0.026378430426120758, 0.21407648921012878, -0.306037038564682, 0.27371591329574585, 0.11431185156106949, -0.07256139814853668, -0.004121754318475723, -0.5706775188446045, 1.0136375427246094, -0.6323865652084351, -0.6584071516990662, -0.2456740289926529, -0.8885748386383057, 0.1618303805589676, 0.23140189051628113, 0.21306774020195007, 0.366892546415329, -0.10417293012142181, 0.3170728385448456, 1.0172227621078491, -0.6063901782035828, 0.5541102886199951, 0.4996596574783325, -0.6800023913383484, -0.36600029468536377, 0.9642518758773804, 0.2033890187740326, 0.0365089550614357, 0.7600044012069702, 0.16622856259346008, -0.5615002512931824, -0.69976407289505, -0.4212303161621094, 0.29110226035118103, -1.2124929428100586, -0.14862962067127228, -0.5419626832008362, -0.5054563879966736, -0.234701007604599, -0.06272289156913757, -0.1996217668056488, -0.5954074263572693, -0.29669925570487976, -0.30054008960723877, 0.5504409670829773, 1.1395289897918701, 0.3991890251636505, 0.6292219161987305, -0.5258346199989319, 0.22404886782169342, 0.5425115823745728, 0.1961115151643753, 0.006468606181442738, -0.3312322795391083, -0.2186591625213623, -0.34568721055984497, -0.10697492212057114, -0.8020409941673279, 0.4444456994533539, -0.17979414761066437, 0.7647099494934082, 0.4616580605506897, -0.4039480984210968, 0.1387491375207901, -0.690258800983429, 0.9589574337005615, 0.6061074733734131, -0.6932913064956665, 0.42027249932289124, -0.2441501021385193, 0.518844723701477, 0.025687750428915024, 0.5650565028190613, -0.4185103178024292, -0.18926778435707092, -0.1924613118171692, -0.8650301098823547, 0.3754386007785797, -0.12733706831932068, 0.40223428606987, 0.07426471263170242, 0.1950804442167282, 0.1169213280081749, 0.1771089732646942, -1.0265154838562012, -0.4825853705406189, -0.41434624791145325, -0.48423120379447937, -0.23744098842144012, -0.27108034491539, -0.23676526546478271, -0.303210586309433, 0.19734318554401398, -0.23753653466701508, 0.373014360666275, -0.1109890565276146, -0.1896030753850937, 0.03806355968117714, 0.009058316238224506, 0.7074137330055237, 0.835440993309021, 0.09252214431762695, 0.40203186869621277, 0.05592501536011696, -0.07362563163042068, 0.021689388900995255, 0.1753760725259781, -0.03228429704904556, 0.06189083680510521, 0.36104312539100647, 1.272871494293213, 0.28265562653541565, -0.6783496141433716, 0.784607470035553, -0.16692526638507843, -0.24613158404827118, -0.6009994149208069, -0.06901997327804565, 0.5936818718910217, 0.3611479699611664, 0.4356295168399811, -0.2322159856557846, 0.008464464917778969, -0.41441819071769714, -0.28589949011802673, 0.4282340705394745, -0.6516232490539551, -0.04086427390575409, 1.052936315536499, -0.1139673963189125, -0.3936651051044464, 0.3587843179702759, 0.5244876146316528, -0.2933972477912903, 0.8505334258079529, 0.4232921600341797, 0.8083269596099854, -0.14162270724773407, 0.09631587564945221, 0.1668248325586319, 0.3934093415737152, -0.12553207576274872, 0.3466641306877136, 0.08735036104917526, -0.26909419894218445, -0.5777038931846619, -0.40089988708496094, -0.4944041669368744, 0.09034402668476105, -0.4597908556461334, 0.38127201795578003, -0.38544151186943054, -0.033232755959033966, 0.295840322971344, -0.6362840533256531, -0.9325801134109497, 0.2713887691497803, 0.33294108510017395, 1.1874734163284302, -0.729421854019165, 0.8672416806221008, 0.7055487036705017, -0.6086737513542175, -0.3195030093193054, -0.43824875354766846, -0.34232985973358154, -0.7046005725860596, 1.028659701347351, 0.22758732736110687, 0.07848535478115082, 0.13032032549381256, -1.2588366270065308, -0.9328919649124146, 1.1944750547409058, 0.31718823313713074, -0.8481649160385132, 0.04316788166761398, 0.3022988438606262, 0.568853497505188, -0.7089762687683105, 0.18448427319526672, 0.3694177269935608, 0.6164299249649048, -0.2333471029996872, -0.1819910854101181, -0.22546812891960144, -0.11610393226146698, 0.22717846930027008, -0.15641215443611145, -0.48316317796707153, 0.8853462338447571, -0.23001998662948608, -0.023485220968723297, 0.29376208782196045, 0.8801368474960327, -0.19472943246364594, 0.07741419225931168, 0.44737011194229126, -0.011199502274394035, 0.5112594962120056, -0.4332161545753479, 1.3725279569625854, -0.4624840021133423, 0.09469112008810043, 1.2323250770568848, -0.017084557563066483, 0.453707754611969, 0.6349703073501587, 0.0045033167116343975, 0.650281548500061, 0.45828813314437866, -0.3657244145870209, 0.37767285108566284, 0.6651200652122498, 0.061743058264255524, -0.035652343183755875, -0.05721474438905716, -0.05952843278646469, 0.2519560158252716, 0.20632542669773102, -0.7647730112075806, -0.06022722274065018, 0.4370350241661072, -0.33832791447639465, 0.0576983243227005, -0.48600926995277405, 0.718944251537323, 0.13425220549106598, -0.5716314315795898, 0.42517685890197754, -0.09597092866897583, 0.36861932277679443, -0.6732936501502991, -0.2293729931116104, -0.006286093033850193, -0.2486925721168518, -0.06850598752498627, -0.9287484288215637, 0.12535874545574188, 0.020922435447573662, -0.4130190312862396, -0.2572713792324066, 0.7837517857551575, -0.6610316038131714, -0.4364064335823059, 0.47417640686035156, 0.288938045501709, 0.34373384714126587, 0.01626458950340748, -0.34164711833000183, 0.06615187227725983, -0.16288381814956665, -0.026027312502264977, -0.0305632371455431, -0.035434845834970474, -0.22674450278282166, 0.9667184352874756, 0.3536842167377472, 0.0334540531039238, 0.4334345757961273, 0.6672989130020142, 0.8260441422462463, -0.8629364371299744, -0.2947375476360321, -0.8302345275878906, 0.5681527256965637, -0.13851293921470642, 0.4213472008705139, 0.7952935099601746, 0.7024699449539185, 0.3517177999019623, -0.6702672243118286, 1.0150494575500488, 0.37883874773979187, 0.2648884057998657, -0.6155324578285217, 0.8359423875808716, -0.3537125885486603, 0.1275608092546463, 0.05681142583489418, -1.2669247388839722, -0.59975266456604, 0.22320213913917542, -0.21363292634487152, -0.4186450242996216, 0.6214220523834229, 0.6582379341125488, -0.01312418095767498, 0.05218542739748955, 0.47821879386901855, 0.4880916476249695, 0.2514629662036896, 0.29714250564575195, 1.265420913696289, -0.1395883858203888, 0.6922516822814941, -0.07081744074821472, -0.2150983065366745, -0.1350577175617218, -1.1435497999191284, -1.0476864576339722, -0.5834469199180603, -0.4558877646923065, -0.07023114711046219, -0.24889978766441345, 0.6132142543792725, 0.903981626033783, -0.8512287735939026, -0.5460963249206543, -0.14585673809051514, 0.17140759527683258, 0.12550006806850433, -0.25242379307746887, 0.45835569500923157, -0.2120133489370346, -0.7891737818717957, 0.4316234588623047, 0.5533447861671448, 0.4200386703014374, -0.8429384231567383, -0.06699906289577484, 0.06049754098057747, 0.2848789393901825, 0.6489331722259521, 0.2574959099292755, -0.6362209916114807, -0.03574711084365845, -0.11238031834363937, -0.09955313056707382, 0.3607969582080841, 0.8459103107452393, -0.4861873686313629, 0.7703065872192383, 0.6330358982086182, 0.46339595317840576, 0.8973916172981262, -0.1898909956216812, 0.5635778307914734, -0.36265093088150024, 0.12198909372091293, -0.03513098508119583, 0.5340418815612793, 0.6426824927330017, -0.10106267780065536, 0.2812957465648651, -0.16456462442874908, -0.3129451274871826, -0.6427382826805115, 0.08147210627794266, -1.3518372774124146, -0.19584019482135773, 0.977708637714386, -0.007817931473255157, -0.4669222831726074, 0.13357104361057281, -0.5386078953742981, 0.23911772668361664, 0.42404237389564514, 0.6307386159896851, 0.6961468458175659, 0.1898323893547058, -0.3790481686592102, -0.6832948923110962, 0.4221443235874176, -0.10701946169137955, -1.0922982692718506, -0.022961217910051346, 0.22445768117904663, 0.34807878732681274, 0.23055416345596313, 0.30528783798217773, -0.23430417478084564, 0.17528146505355835, -0.3614976108074188, 0.332813024520874, -0.22630760073661804, -0.5705221891403198, -0.4920319616794586, 0.07373551279306412, 0.10372927039861679, -0.04751573130488396 ]
http://arxiv.org/abs/2406.19504v1
http://arxiv.org/pdf/2406.19504v1
Are Generative Language Models Multicultural? A Study on Hausa Culture and Emotions using ChatGPT
2024-06-27T19:42:13
2024-06-27T19:42:13
Ibrahim Said Ahmad, Shiran Dudy, Resmi Ramachandranpillai, Kenneth Church
cs.CL
cs.CL
Large Language Models (LLMs), such as ChatGPT, are widely used to generate content for various purposes and audiences. However, these models may not reflect the cultural and emotional diversity of their users, especially for low-resource languages. In this paper, we investigate how ChatGPT represents Hausa's culture and emotions. We compare responses generated by ChatGPT with those provided by native Hausa speakers on 37 culturally relevant questions. We conducted experiments using emotion analysis and applied two similarity metrics to measure the alignment between human and ChatGPT responses. We also collected human participants ratings and feedback on ChatGPT responses. Our results show that ChatGPT has some level of similarity to human responses, but also exhibits some gaps and biases in its knowledge and awareness of the Hausa culture and emotions. We discuss the implications and limitations of our methodology and analysis and suggest ways to improve the performance and evaluation of LLMs for low-resource languages.
[ -0.5854912996292114, -0.6148858666419983, -0.19850532710552216, 0.3771599233150482, -0.3388354480266571, 0.3467918932437897, -0.5904892086982727, -0.5397207736968994, 0.27193501591682434, 0.04877902939915657, -0.5166516304016113, -0.3294275104999542, -0.3764697313308716, 0.2854253351688385, -0.17482119798660278, 0.9122461676597595, 0.057153038680553436, -0.2036629021167755, 0.08050726354122162, -0.4060510993003845, -0.36435800790786743, -0.7770100235939026, -0.7643646001815796, -0.3858029842376709, 0.47118231654167175, 0.20717677474021912, 0.9675911664962769, 0.2443196028470993, 0.48588547110557556, 0.23240794241428375, -0.46580663323402405, -0.18507586419582367, -0.6796374917030334, 0.05346555635333061, -0.07391656190156937, -0.4130592346191406, -0.37640607357025146, 0.02276010438799858, 0.21426008641719818, 0.48081615567207336, -0.31568586826324463, 0.20614303648471832, 0.2796582281589508, 0.7026997208595276, -0.4472225606441498, 0.06186518445611, -0.29094356298446655, 0.6503191590309143, -0.3385815918445587, -0.06896262615919113, -0.1730653941631317, -0.5254179835319519, 0.2274533063173294, -0.4960704445838928, 0.23183606564998627, 0.24621130526065826, 0.6850464940071106, 0.3327668607234955, -0.9252280592918396, -0.4294084906578064, -0.6400840282440186, 0.7268811464309692, -0.575676679611206, 0.14240704476833344, 0.09463626891374588, 0.1042412668466568, 0.056805048137903214, 0.07546433061361313, -0.8321064114570618, -0.062110207974910736, -0.09570718556642532, 0.5256330966949463, -0.4928462505340576, -0.1655552238225937, 0.31769561767578125, 0.7124537825584412, -0.8879379034042358, 0.33984699845314026, -0.3622474670410156, 0.023358387872576714, 0.6955680251121521, 0.36187681555747986, 0.5334004163742065, -0.5054389238357544, -0.5548291206359863, -0.18312734365463257, -0.7641322612762451, -0.12857988476753235, 0.5274924039840698, 0.14398561418056488, -0.6877605319023132, 0.49074089527130127, 0.02779010310769081, 0.5177575945854187, -0.4760400056838989, -0.20405539870262146, 0.33951401710510254, 0.10573014616966248, -0.13066579401493073, -0.2305845320224762, 1.0090445280075073, 0.48110127449035645, 0.9499897956848145, 0.143861323595047, 0.04054229333996773, 0.13561683893203735, 0.2563648223876953, -0.6242101192474365, -0.04685286805033684, -0.19162236154079437, -0.7557875514030457, -0.28906041383743286, -0.31649452447891235, -1.0950801372528076, -0.4826256036758423, -0.0009946160716935992, -0.048156168311834335, -0.3290952146053314, -0.575131893157959, -0.16398204863071442, 0.07761125266551971, 0.30245354771614075, 0.29315754771232605, -1.0083428621292114, 0.25095367431640625, 0.5330982804298401, 0.6060922145843506, -0.4492819011211395, -0.11283410340547562, 0.2693215012550354, -0.501319944858551, -0.19515559077262878, 0.5149915218353271, -0.487244188785553, -0.8506941795349121, 0.16800671815872192, -0.3500231206417084, -0.024974945932626724, -0.6840937733650208, 0.5416944622993469, -0.5577830076217651, 0.3858075737953186, -0.6544621586799622, -0.20648643374443054, -0.23426173627376556, 0.3943243622779846, -0.5021085739135742, 0.97976154088974, 0.28929704427719116, -0.8615436553955078, 0.24536415934562683, -0.5972634553909302, -0.3634974956512451, 0.3766654431819916, -0.3120918571949005, 0.053537096828222275, 0.08562421798706055, -0.11179209500551224, -0.028406860306859016, -0.5011194944381714, -0.2513140141963959, -0.37406203150749207, -0.38965359330177307, 0.41811519861221313, -0.5277720093727112, 0.7664478421211243, 0.6609958410263062, -0.3228274881839752, -0.049058057367801666, -0.4437514841556549, -0.2165660262107849, 0.3677046000957489, -0.5730498433113098, -0.1812131702899933, -0.06788334250450134, -0.005126669071614742, 0.29690927267074585, 0.057936571538448334, -0.4900118410587311, 0.2232300192117691, -0.0842515379190445, 0.16762930154800415, 0.8347451686859131, -0.2307991087436676, 0.32404494285583496, -0.24923411011695862, 1.0287450551986694, 0.13073311746120453, -0.05025342106819153, 0.14239250123500824, -0.7381623387336731, -0.8747031092643738, -0.06879536062479019, -0.2521425783634186, 0.6900609135627747, -0.2899043560028076, 0.24057918787002563, -0.13122883439064026, -0.49975112080574036, -0.5256651639938354, 0.07499478757381439, 0.07112810015678406, 0.5649204850196838, -0.15638960897922516, -0.49556466937065125, -0.4134269654750824, -0.8531920909881592, -0.08813970535993576, -0.49346333742141724, -0.2071143388748169, 0.5411599278450012, 0.3304767608642578, -0.19424289464950562, 0.9229548573493958, -0.47128117084503174, 0.027618397027254105, -0.031702615320682526, 0.36513257026672363, -0.015135704539716244, 0.08099790662527084, 0.6720269322395325, -0.7476145625114441, -0.6731021404266357, 0.3392368257045746, -1.1022932529449463, 0.007294573355466127, 0.3583569824695587, -0.15528813004493713, 0.2956119179725647, -0.04756832495331764, -0.6803534626960754, 0.3947312533855438, 0.7422744631767273, -0.268830269575119, 0.4700538218021393, -0.014419835060834885, 0.3242720067501068, -1.2865748405456543, -0.03957753628492355, -0.008626319468021393, 0.15491095185279846, -0.45059970021247864, -0.03919641301035881, -0.1173514798283577, -0.7314999103546143, -0.5531644225120544, 0.6980311870574951, -0.2607599198818207, -0.1589750349521637, -0.3735828399658203, 0.0726703330874443, -0.08614262193441391, 0.38194069266319275, 0.4913792312145233, 0.7362591624259949, 0.3427650034427643, -0.21535436809062958, 0.7657965421676636, 0.4539262652397156, -0.5483449101448059, 0.7034899592399597, -0.47360116243362427, 0.29024428129196167, -0.27688324451446533, 0.21256591379642487, -0.6370653510093689, -0.3897869288921356, 0.16674576699733734, -0.20850270986557007, -0.20855292677879333, -0.25837066769599915, -0.5077642202377319, -0.4677334129810333, 0.20857654511928558, 0.5939632058143616, 1.146360158920288, -0.3510607182979584, 0.3905683755874634, 0.15644870698451996, -0.552907407283783, -0.4109000861644745, -0.5018605589866638, -0.050658851861953735, -0.5814759135246277, -0.8338631987571716, -0.0572056919336319, -0.058107972145080566, -0.5699285268783569, -0.0741814598441124, 0.3058288097381592, 0.11953526735305786, 0.16115087270736694, 0.355298787355423, 0.14600540697574615, -0.451770156621933, 0.22202423214912415, -0.4154292345046997, 0.39757224917411804, -0.0037493871059268713, 0.11545539647340775, 0.7464324831962585, -0.6133490204811096, -0.5252971053123474, -0.04629412665963173, 0.5300602316856384, 0.4531111419200897, -0.387677401304245, 0.6865209937095642, 0.9600102305412292, -0.3502231538295746, 0.06648163497447968, -0.3516608476638794, -0.05335734412074089, -0.3685363531112671, 0.2753337025642395, -0.2803320288658142, -1.2412710189819336, 0.869694173336029, 0.3745388388633728, -0.27558696269989014, 0.25634321570396423, 1.1483054161071777, -0.43744853138923645, 0.4390745162963867, 0.5471380949020386, -0.1845148354768753, 0.37321943044662476, 0.10230106115341187, 0.3320920765399933, -0.6396564245223999, -0.13078229129314423, -0.5320959091186523, -0.5403476357460022, -1.0557852983474731, -0.17358939349651337, 0.4326099455356598, -0.19253024458885193, -0.3272460401058197, -0.0697002112865448, -0.048246145248413086, 0.28031885623931885, 0.3820536434650421, -0.3314202129840851, 0.16935260593891144, 0.1619715690612793, 0.29614904522895813, -0.15890997648239136, -0.7923927307128906, -0.609818160533905, 0.5761842131614685, 0.5331820845603943, 1.1477235555648804, 0.4729354977607727, 0.7420105934143066, 0.24079829454421997, 0.6249077916145325, -0.823900580406189, 0.3757708966732025, -0.07698650658130646, -0.8770184516906738, -0.09001857042312622, -0.5668428540229797, -0.8941026329994202, 0.5368854999542236, -0.2122575044631958, -0.9201523065567017, 0.26249054074287415, 0.1108715683221817, -0.2402956783771515, 0.2876800000667572, -0.7165443301200867, 0.8539300560951233, -0.0681016743183136, -0.033326562494039536, -0.03930426016449928, -0.3568480908870697, 0.4783001244068146, -0.1612870991230011, 0.36988532543182373, -0.36436542868614197, 0.3196706771850586, 0.7308804988861084, -0.33953720331192017, 1.0968892574310303, 0.35815221071243286, -0.5071211457252502, 0.5416575074195862, 0.38127192854881287, 0.06444192677736282, -0.05349614843726158, -0.2343040406703949, 0.07328978180885315, -0.3700648844242096, -0.537861704826355, -0.4627286195755005, 0.7111797332763672, -0.9731159210205078, -0.6532502174377441, -0.34368836879730225, -0.7364993691444397, 0.04198945313692093, -0.12989693880081177, 0.36128881573677063, 0.06904260069131851, -0.3503279983997345, 0.04768684506416321, 0.25898706912994385, -0.5076436400413513, 0.2925129532814026, 0.3825945556163788, -0.023633098229765892, 0.017073091119527817, 0.7135228514671326, -0.16925151646137238, 0.41652774810791016, 0.05810554698109627, 0.20661821961402893, -0.07209935039281845, 0.1782083511352539, -0.4338345229625702, 0.06462676078081131, -0.7618476748466492, 0.11464852839708328, -0.30656206607818604, -0.018260881304740906, -0.3892141580581665, -0.13017579913139343, -0.36847054958343506, -0.05818381905555725, -0.1153808981180191, -0.023120664060115814, 0.24405477941036224, 0.7463299036026001, 0.09543026983737946, 0.5489025712013245, -0.8174524903297424, -0.03086138144135475, 0.4457540214061737, 0.26004040241241455, 0.09810956567525864, -0.5206561088562012, -0.06761691719293594, 0.025156669318675995, -0.4861849546432495, -0.9910129308700562, 0.4646916687488556, 0.14593054354190826, 0.17828328907489777, 0.5998685359954834, 0.052536651492118835, 0.25938233733177185, -0.1221286877989769, 0.9243309497833252, -0.09056711196899414, -0.638952374458313, 0.3525856137275696, -0.4583981931209564, 0.4303167164325714, 0.07945980876684189, 0.5879391431808472, -0.9911065697669983, -0.1865212470293045, -0.3289163410663605, -0.3860726058483124, 0.45920252799987793, 0.29388803243637085, 0.6415210962295532, -0.344651997089386, -0.07413557171821594, 0.0696398913860321, 0.047605905681848526, -0.9904124140739441, -0.06178055703639984, -0.23975609242916107, -0.22909408807754517, -0.06961803883314133, -0.3318798840045929, -0.14896948635578156, 0.4022035300731659, 0.20718950033187866, -0.07924631983041763, 0.24582761526107788, -0.25781914591789246, -0.006095594260841608, -0.3287309408187866, 0.6719748377799988, 0.31771695613861084, 0.18906809389591217, -0.33515268564224243, 0.10045424103736877, 0.3642840087413788, -0.3069366216659546, 0.3575396239757538, -0.27150967717170715, -0.03165825828909874, -0.20389634370803833, 0.6175045967102051, 0.910393238067627, -0.0065835039131343365, -0.5548874139785767, 0.43033459782600403, -0.2142695039510727, 0.21836215257644653, -0.26345711946487427, -0.07009001821279526, 0.2617780864238739, 0.24323856830596924, -0.0035214375238865614, -0.062177930027246475, -0.03454208746552467, -0.7879992127418518, -0.4376353919506073, 0.3686389625072479, -0.4689716100692749, -0.3418893814086914, 0.38681983947753906, 0.5142112374305725, -0.24731899797916412, 1.1684683561325073, -0.21955499053001404, -0.7718489170074463, 0.47452646493911743, 0.5676774382591248, 0.6576731204986572, -0.24359171092510223, 0.2676747739315033, 0.2870792746543884, 0.27495166659355164, 0.2865251302719116, 0.35896608233451843, -0.062225691974163055, -1.1014845371246338, -0.32527992129325867, -0.9548470377922058, -0.47911131381988525, -0.1567935198545456, -0.8297138810157776, 0.015610840171575546, -0.030642863363027573, -0.4017915725708008, -0.5033029913902283, -0.27928394079208374, -0.8815529346466064, 0.37984979152679443, 0.5336417555809021, 0.8814663290977478, -1.107025384902954, 0.587308943271637, 0.7922863960266113, -0.3440340459346771, -0.5707904100418091, 0.07227260619401932, 0.3725828230381012, -0.6616360545158386, 1.0338048934936523, -0.07283991575241089, 0.10680336505174637, -0.24208371341228485, 0.023612050339579582, -0.595130980014801, 0.6601762175559998, 0.24117141962051392, -0.13115942478179932, 0.02424473688006401, 0.4610738456249237, 0.8514963984489441, -0.3007846772670746, 0.2632163166999817, 0.3484778106212616, 0.07323557883501053, -0.10820251703262329, -0.9817069172859192, -0.200413778424263, -0.5515839457511902, 0.2609153389930725, -0.041030243039131165, -0.9701372981071472, 0.8519476652145386, -0.23254458606243134, -0.47125449776649475, -0.07833823561668396, 0.8107762336730957, 0.44176653027534485, -0.07851123809814453, 0.462490975856781, 0.44372227787971497, 0.7125077247619629, -0.22849620878696442, 1.3488978147506714, 0.018805088475346565, 0.45273301005363464, 0.7261025905609131, -0.5520138740539551, 0.7425451874732971, 0.24190013110637665, -0.5245415568351746, 0.4457341730594635, 0.9066353440284729, 0.11465177685022354, -0.035391077399253845, 0.532996416091919, -0.6440685391426086, -0.17007897794246674, -0.34532639384269714, -0.46030882000923157, 0.7190216779708862, 0.008278838358819485, -0.09677290916442871, -0.13151349127292633, 0.05770079791545868, 0.1625669151544571, -0.1362772285938263, 0.041694920510053635, 0.7152988314628601, 0.42878684401512146, -0.5566841959953308, 0.6735252737998962, -0.056885976344347, 0.783141553401947, -0.2818717360496521, 0.4545106589794159, -0.8132248520851135, -0.13796450197696686, -0.16771861910820007, -0.9418215155601501, 0.2659429907798767, 0.47879719734191895, -0.07057145982980728, 0.04342992603778839, 0.4539630115032196, -0.31661754846572876, -0.3424968421459198, 0.19464920461177826, 0.5064871311187744, 0.36827483773231506, 0.005124852992594242, -0.28196293115615845, 0.2435176819562912, 0.045443084090948105, -0.2939114570617676, 0.26153364777565, 0.38788074254989624, -0.3184537887573242, 0.8156678080558777, 0.29190298914909363, -0.045257728546857834, 0.0423087514936924, 0.28416502475738525, 0.3768489956855774, -0.5903326272964478, -0.41599681973457336, -0.9573123455047607, 0.3596246838569641, 0.14722175896167755, -0.4886854588985443, 0.43557122349739075, 0.423113077878952, 0.8021782040596008, -0.4623275697231293, 0.86640465259552, -0.16193845868110657, 0.1637628823518753, -0.3849562108516693, 0.7991554141044617, -0.4971468150615692, -0.005377646069973707, -0.27514317631721497, -1.239255666732788, 0.05668456479907036, 0.5285462737083435, -0.3014387786388397, 0.26639267802238464, 0.36050793528556824, 0.7394707798957825, -0.1469302475452423, 0.33706796169281006, 0.2596307694911957, 0.13588517904281616, 0.3095134198665619, 0.5624861121177673, 1.312024712562561, 0.04680497571825981, 0.381269246339798, -0.23096264898777008, -0.33297932147979736, -0.115620456635952, -0.896651029586792, -0.7192169427871704, -0.44216325879096985, -0.38372308015823364, -0.09823096543550491, -0.20907188951969147, 0.9707427620887756, 0.5992900729179382, -0.5713282823562622, -0.5487105846405029, 0.6160735487937927, -0.16232459247112274, 0.2778507471084595, -0.2192211002111435, 0.19449204206466675, -0.06299015879631042, -0.7800964713096619, -0.013498295098543167, 0.20722396671772003, 0.3903455436229706, -0.13935430347919464, -0.3419809937477112, 0.4266754686832428, -0.10646635293960571, 0.8130199909210205, 0.3030897378921509, -0.6512649655342102, -0.3434223234653473, 0.024746373295783997, -0.20374707877635956, -0.03130139783024788, 0.5637788772583008, -0.2856009900569916, 0.22814905643463135, 0.5874564051628113, 0.34838026762008667, 0.4244611859321594, 0.11242372542619705, 0.7031551003456116, -0.7587321400642395, 0.4013160765171051, 0.019841661676764488, 0.5606657862663269, 0.6345009803771973, -0.0774075910449028, 0.4406558573246002, 0.24904388189315796, -0.5074096322059631, -0.3786654770374298, 0.5378502607345581, -1.0230180025100708, 0.40109631419181824, 1.258568525314331, -0.3282293379306793, -0.057883381843566895, 0.49196016788482666, -0.2720327377319336, 0.25812074542045593, -0.10733036696910858, 0.8657435178756714, 0.9730556607246399, -0.13470669090747833, -0.27692246437072754, -0.3963465094566345, 0.34280911087989807, 0.5579447150230408, -0.9483482837677002, -0.010276139713823795, 0.3551700711250305, 0.282535582780838, 0.1846032440662384, 0.5018940567970276, -0.2554278075695038, 0.10138104856014252, -0.10929080098867416, 0.4124968945980072, 0.59908527135849, 0.39341095089912415, -0.217249795794487, 0.0470639243721962, 0.3083963096141815, 0.34262117743492126 ]
http://arxiv.org/abs/2406.19502v1
http://arxiv.org/pdf/2406.19502v1
Investigating How Large Language Models Leverage Internal Knowledge to Perform Complex Reasoning
2024-06-27T19:29:36
2024-06-27T19:29:36
Miyoung Ko, Sue Hyun Park, Joonsuk Park, Minjoon Seo
cs.CL
cs.CL, cs.AI
Despite significant advancements, there is a limited understanding of how large language models (LLMs) utilize knowledge for reasoning. To address this, we propose a method that deconstructs complex real-world questions into a graph, representing each question as a node with parent nodes of background knowledge needed to solve the question. We develop the DepthQA dataset, deconstructing questions into three depths: (i) recalling conceptual knowledge, (ii) applying procedural knowledge, and (iii) analyzing strategic knowledge. Based on a hierarchical graph, we quantify forward discrepancy, discrepancies in LLMs' performance on simpler sub-problems versus complex questions. We also measure backward discrepancy, where LLMs answer complex questions but struggle with simpler ones. Our analysis shows that smaller models have more discrepancies than larger models. Additionally, guiding models from simpler to complex questions through multi-turn interactions improves performance across model sizes, highlighting the importance of structured intermediate steps in knowledge reasoning. This work enhances our understanding of LLM reasoning and suggests ways to improve their problem-solving abilities.
[ -0.4541741907596588, -0.9914886951446533, 0.9956121444702148, -0.23486100137233734, 0.0554816760122776, 0.397510826587677, -0.1585642397403717, -0.4517645537853241, -0.3808557093143463, 0.6328651309013367, -0.6118971705436707, -0.46982067823410034, -0.5182431936264038, -0.07223650068044662, -0.2010822296142578, 0.5673571825027466, -0.15127748250961304, 0.06117652356624603, -0.23606625199317932, 0.007130177691578865, -0.2929559350013733, -0.40268775820732117, -0.8387022614479065, -0.6760377287864685, 0.6585744023323059, 0.7453600168228149, 0.7933555841445923, 0.2647780179977417, 0.41755393147468567, 0.2867850065231323, -0.32826152443885803, 0.5382865071296692, -0.67109614610672, 0.2165646255016327, -0.3063320219516754, -0.5951362252235413, -0.19199281930923462, -0.33457767963409424, 0.7418851256370544, 1.1659339666366577, 0.10561071336269379, 0.11394231021404266, -0.08480160683393478, 0.6074676513671875, -0.36897948384284973, 0.4862613081932068, -0.6604813933372498, -0.023864688351750374, 0.05646010488271713, -0.023533333092927933, -0.20171785354614258, -0.42751261591911316, 0.1965842992067337, -0.39701518416404724, -0.12767615914344788, -0.03739172965288162, 0.753990888595581, 0.14970363676548004, -0.6963036060333252, -0.416287899017334, -0.9348659515380859, 0.41284167766571045, -0.7750148177146912, 0.3040238618850708, 0.2620214819908142, 0.36626580357551575, -0.2654045820236206, -0.6102781891822815, -0.6136444807052612, -0.17404422163963318, -0.19684380292892456, -0.20003455877304077, -0.35979384183883667, 0.15931478142738342, 0.4476321339607239, 0.22675415873527527, -0.40599584579467773, 0.11221984028816223, -0.5354567170143127, -0.07162366807460785, 0.5885747671127319, 0.285397469997406, 0.4457041621208191, 0.03168213739991188, 0.09292687475681305, -0.15738119184970856, -0.9295989274978638, 0.34578388929367065, 0.3550839424133301, 0.2875177264213562, 0.1593930423259735, 0.6362926363945007, -0.2817418873310089, 0.6867445707321167, -0.008898994885385036, -0.32206547260284424, 0.00808921828866005, -0.20912589132785797, -0.15109525620937347, -0.03944483771920204, 0.38378340005874634, 0.14329877495765686, 0.622488260269165, -0.06333710253238678, -0.2022416591644287, -0.4050550162792206, 0.0010690450435504317, -0.6276667714118958, -0.37343332171440125, 0.2516377866268158, -0.10247425734996796, 0.1431201994419098, -0.01869865693151951, -0.25486841797828674, -0.3367307782173157, -0.5858224034309387, 0.5102530121803284, -0.4416724741458893, -0.4623994529247284, 0.2919641137123108, -0.20210319757461548, 0.21032530069351196, 0.4222581088542938, -0.3750855624675751, 0.33344322443008423, 0.8519887328147888, 0.48125356435775757, 0.19625553488731384, -0.21074621379375458, -0.16814254224300385, 0.3651328384876251, -0.543948769569397, 0.7735859155654907, -0.42838239669799805, -0.16897383332252502, -0.08171245455741882, 0.07303366810083389, -0.1085864007472992, -0.8064548969268799, 0.3334420621395111, -0.5593741536140442, 0.009896557778120041, -0.597042977809906, -0.567115068435669, -0.4484845995903015, 0.7474376559257507, -0.7282511591911316, 0.7597992420196533, -0.012039915658533573, -0.8410654664039612, 0.08021921664476395, -0.5126321911811829, -0.34669917821884155, -0.028363671153783798, -0.24223223328590393, -0.12622413039207458, -0.09916028380393982, 0.2654552757740021, 0.5383807420730591, -0.42408084869384766, 0.24155330657958984, -0.30574649572372437, -0.23024232685565948, 0.14223316311836243, -0.07738740742206573, 0.7341957092285156, 0.022178320214152336, -0.10537803173065186, 0.27480778098106384, -0.73793625831604, 0.042585380375385284, 0.2904781103134155, -0.35800668597221375, -0.44886818528175354, -0.1289253979921341, -0.7879460453987122, 0.32495924830436707, 0.11587192118167877, -0.4199731647968292, 0.468457967042923, -0.5152763724327087, 0.5138348937034607, 0.5425408482551575, 0.218143031001091, 0.47786957025527954, -0.1542072892189026, 0.4573083519935608, 0.2227727770805359, 0.027729440480470657, 0.01099899411201477, -0.5064470767974854, -0.9013046026229858, -0.022337399423122406, 0.043667446821928024, 0.39425575733184814, -0.7391707897186279, -0.06737957149744034, -0.34251824021339417, -0.46873000264167786, -0.37883231043815613, 0.03630359098315239, 0.3502725660800934, 0.6325317025184631, 0.38037946820259094, 0.19419053196907043, -0.31393352150917053, -1.1283938884735107, -0.26265913248062134, -0.24662978947162628, 0.11670263856649399, 0.3366425633430481, 0.7781479358673096, -0.15640975534915924, 0.8187768459320068, -0.7399662733078003, 0.16224949061870575, -0.5575427412986755, 0.08127178996801376, 0.11779017746448517, 0.3294101357460022, 0.13134780526161194, -0.6637028455734253, -0.04878054931759834, 0.023050524294376373, -0.7725685834884644, 0.058622993528842926, 0.022372959181666374, -0.33838778734207153, -0.23805417120456696, 0.6638075113296509, -0.9444953203201294, 0.1863621324300766, 0.356751412153244, -0.44289150834083557, 0.6393536925315857, -0.18739916384220123, -0.0273220706731081, -0.6268526911735535, -0.10639052093029022, -0.14455603063106537, -0.04405701905488968, -0.5873870849609375, 0.29034656286239624, -0.07394430041313171, 0.06289437413215637, -0.11174426227807999, 0.596207857131958, -0.5715491771697998, -0.23163549602031708, 0.1654573529958725, 0.23552881181240082, 0.19734075665473938, 0.4079035222530365, -0.055196408182382584, 0.46135666966438293, 0.26491639018058777, -0.5957164764404297, 0.3394770622253418, -0.00022642911062575877, -0.5650287866592407, 0.22832393646240234, -0.7706893682479858, 0.19679798185825348, -0.4131292998790741, 0.2706576883792877, -1.255757212638855, -0.31595081090927124, 0.010879169218242168, -0.20988141000270844, 0.3077573776245117, -0.2637570798397064, -0.7516905069351196, -0.42757028341293335, 0.062209177762269974, 0.5932046175003052, 0.21922628581523895, -0.3240264654159546, 0.7973525524139404, 0.43811851739883423, -0.18767109513282776, -0.39905181527137756, -0.6468197107315063, -0.1718401461839676, -0.1341647505760193, -1.0779204368591309, 0.10488734394311905, 0.016186363995075226, -0.827051043510437, 0.09402954578399658, -0.045954808592796326, -0.20245139300823212, 0.052978288382291794, 0.053232233971357346, -0.13019625842571259, -0.37141770124435425, 0.3682705760002136, 0.2765161097049713, 0.16919618844985962, 0.4336472451686859, -0.3030740022659302, 0.661676287651062, -0.17665264010429382, -0.5580040216445923, -0.18441778421401978, 0.35114654898643494, 0.6946172118186951, -0.3447653353214264, 0.7523652911186218, 0.17808909714221954, -0.46124520897865295, -0.4405937194824219, -0.5083329677581787, -0.26608678698539734, -0.3716026544570923, 0.3305750787258148, -0.7389305233955383, -0.9877153038978577, 0.7508319020271301, -0.28568828105926514, 0.037103328853845596, 0.39815011620521545, 0.6477826833724976, -0.10285866260528564, 1.185632348060608, 0.3255962133407593, 0.3339570462703705, -0.11357857286930084, -0.6732825636863708, 0.38466566801071167, -0.6827970743179321, -0.6682621240615845, -0.3533950448036194, -0.33519402146339417, -0.09662692993879318, -0.6132130026817322, 0.3740338683128357, 0.41136932373046875, -0.793074369430542, -0.06602402776479721, -0.10515667498111725, 0.49495232105255127, 0.4656519293785095, 0.059254296123981476, 0.5939262509346008, -0.29369819164276123, -0.40566587448120117, 0.22137877345085144, -0.8949517011642456, -0.40718573331832886, 0.6479146480560303, 0.5009742975234985, 0.7809426188468933, 0.23040039837360382, 0.4239835739135742, -0.1953427642583847, 0.1130218431353569, -0.8992225527763367, 0.5192644596099854, 0.23942190408706665, -0.6585933566093445, -0.5323101282119751, -0.6704569458961487, -0.9379211664199829, 0.48754724860191345, -0.02753189019858837, -0.3781314492225647, 0.090333953499794, -0.019439511001110077, -0.27254074811935425, 0.5522632002830505, -0.7126241326332092, 0.7995760440826416, -0.22270658612251282, 0.052037760615348816, -0.17293618619441986, -0.5160084962844849, 0.7274812459945679, 0.18108800053596497, 0.5171738266944885, -0.1554255336523056, 0.35136908292770386, 0.45791569352149963, -0.39449554681777954, 0.8294152021408081, -0.0950128510594368, -0.5662615895271301, 0.46104395389556885, 0.577772319316864, 0.47276946902275085, -0.028916597366333008, 0.07067084312438965, 0.036412257701158524, -0.009571426548063755, -0.3543621599674225, -0.7411353588104248, 0.5931283831596375, -0.8740879893302917, -0.8361877202987671, -0.023709939792752266, -0.7703073024749756, -0.511900782585144, 0.12998273968696594, 0.003297609044238925, 0.4730277955532074, 0.08975342661142349, 0.2977491021156311, 0.8577307462692261, -0.2247789055109024, 0.0490681454539299, 0.3739430606365204, -0.3569730818271637, -0.02622171677649021, 0.3745461106300354, 0.44128042459487915, 0.5156694650650024, 0.4873828887939453, 0.40876471996307373, -0.2880970537662506, -0.48675650358200073, -0.09968606382608414, 0.4123906195163727, -1.100540280342102, -0.13048122823238373, -0.6522292494773865, -0.30010786652565, -0.3446226418018341, 0.18125562369823456, -0.26616883277893066, -0.41489002108573914, -0.03286796808242798, -0.3941657245159149, 0.03602362424135208, 0.9456827640533447, 0.12531405687332153, 0.034570928663015366, -0.7506816387176514, 0.32304897904396057, 0.7067903876304626, 0.07414793968200684, 0.4928707778453827, -0.4924681782722473, -0.06281624734401703, 0.13921226561069489, -0.05573229119181633, -0.8650049567222595, 0.11688266694545746, -0.013416426256299019, 0.6134480834007263, 0.1543242633342743, 0.016001315787434578, 0.7793322205543518, -0.44044607877731323, 0.6287204027175903, -0.1785440444946289, -0.9104817509651184, 0.45546817779541016, -0.42810291051864624, 0.6596677303314209, 0.19377078115940094, 0.5326648950576782, -0.34984806180000305, -0.4214113652706146, -0.45337191224098206, -0.7884119749069214, 0.46756497025489807, 0.10053117573261261, -0.04595065861940384, 0.08279314637184143, 0.5257519483566284, -0.1318376511335373, 0.040733423084020615, -0.5608793497085571, -0.09473440051078796, 0.15852957963943481, -0.0950983464717865, 0.19346176087856293, -0.28701308369636536, -0.38838663697242737, -0.5735222101211548, 0.38257232308387756, -0.23699043691158295, -0.06204015016555786, 0.19964629411697388, -0.0744270458817482, -0.1975131630897522, 0.19974085688591003, 0.4005306363105774, 1.0904425382614136, 0.062245968729257584, 0.3507744073867798, 0.259880393743515, 0.04548582062125206, -0.11222907900810242, -0.333126425743103, -0.031777169555425644, -0.39394673705101013, 0.8446153402328491, 0.6200056076049805, 0.3207996189594269, -0.8708513975143433, 0.2989254295825958, -0.010197623632848263, -0.34515154361724854, -0.25394049286842346, -0.040058985352516174, 0.5996161699295044, 0.6019975543022156, 0.3703822195529938, -0.22840818762779236, 0.0025044120848178864, -0.9984654188156128, 0.09474658966064453, 0.38281184434890747, -0.18147502839565277, -0.1907096803188324, 0.182460218667984, -0.06285090744495392, -0.1778760552406311, 0.7809535264968872, -0.04355042800307274, -0.8238028883934021, 0.768156886100769, 0.4772164523601532, 0.3138900101184845, -0.03148564323782921, 0.2731667757034302, 0.3808816373348236, 0.42677631974220276, -0.18142341077327728, 0.43788138031959534, 0.08064309507608414, -1.0727962255477905, -0.6660327315330505, -0.24883130192756653, -0.4033106863498688, 0.2553237974643707, -0.4691663384437561, -0.05847639963030815, -0.6220215559005737, 0.08489692211151123, -0.06868899613618851, 0.0293571874499321, -0.7580260038375854, 0.38268157839775085, 0.2219092696905136, 0.8378685712814331, -0.5032899379730225, 0.6724659204483032, 0.5254433751106262, -0.5643277764320374, -1.2744601964950562, 0.06176670268177986, -0.11577995121479034, -0.8251285552978516, 1.0843298435211182, 0.03436766564846039, -0.4759726822376251, -0.09580927342176437, -0.8135442137718201, -1.0126816034317017, 1.0525389909744263, 0.3892798125743866, -0.6228042840957642, -0.2239086627960205, 0.13915374875068665, 0.55013108253479, -0.5211924314498901, 0.08682778477668762, 0.7448878884315491, 0.5485960841178894, 0.36365851759910583, -0.8400763273239136, 0.21037688851356506, -0.03683752939105034, -0.34199631214141846, 0.24530315399169922, -0.533679187297821, 1.2971999645233154, -0.5057957172393799, -0.1651483178138733, -0.33390602469444275, 0.45809561014175415, 0.4151415228843689, 0.24092429876327515, 0.5901440382003784, 0.5261439085006714, 1.0594645738601685, -0.14981922507286072, 0.9648776650428772, -0.25017085671424866, 0.28426221013069153, 1.2063794136047363, -0.2544425427913666, 0.7663067579269409, 0.26902931928634644, 0.042861711233854294, 0.833037793636322, 0.4609659016132355, 0.29097795486450195, 0.19123348593711853, 0.575604259967804, 0.10732237249612808, -0.7752816677093506, 0.11878801137208939, -0.2960469126701355, 0.5926578640937805, 0.5982425808906555, -0.0859035775065422, -0.3298662006855011, -0.23705704510211945, 0.22801704704761505, 0.011233785189688206, -0.48871979117393494, 0.8627331852912903, 0.22096186876296997, -0.767084002494812, 0.5982841849327087, 0.04422007128596306, 0.08345679193735123, -0.5303526520729065, -0.1696528047323227, -0.2860962748527527, 0.2918822169303894, -0.24440482258796692, -1.3428877592086792, 0.2329617589712143, -0.15579992532730103, -0.10431420058012009, 0.13541297614574432, 0.7156949639320374, -0.5365582704544067, -0.44624248147010803, 0.5414060950279236, 0.8061065077781677, 0.017412712797522545, -0.35357430577278137, -0.6296528577804565, -0.012075621634721756, -0.06500428915023804, -0.1752292364835739, 0.15330106019973755, 1.0341404676437378, -0.20327091217041016, 1.0496468544006348, 0.6017409563064575, -0.06293778866529465, 0.04852740839123726, 0.3569103181362152, 1.0943267345428467, -0.705398440361023, -0.26642343401908875, -0.7779847979545593, 0.6154594421386719, -0.16553544998168945, -0.2500823736190796, 0.8355699777603149, 0.3936169445514679, 0.9324475526809692, 0.11491722613573074, 0.64305180311203, 0.37987151741981506, 0.5085297226905823, -0.6232301592826843, 0.4244568645954132, -0.6186564564704895, 0.4736098349094391, -0.13778549432754517, -0.7165161967277527, -0.30550214648246765, 0.5164002180099487, -0.5746999979019165, -0.11737716943025589, 0.5858127474784851, 0.5600064992904663, 0.000005784133918496082, -0.08203745633363724, 0.24131076037883759, 0.6877163052558899, 0.6002886891365051, 0.7563956379890442, 1.1339696645736694, -0.03269295394420624, 0.5943851470947266, -0.19544148445129395, -0.08530697226524353, 0.009584221988916397, -0.4807322323322296, -1.127651572227478, -0.44548720121383667, -0.12681153416633606, -0.2987577021121979, -0.14845570921897888, 0.7433595061302185, 0.6381747126579285, -0.6363098621368408, -0.28696244955062866, 0.06865192949771881, 0.4676158130168915, -0.018921751528978348, -0.24573303759098053, 0.3586438000202179, -0.1891847550868988, -0.39818039536476135, 0.4466783404350281, 0.19334977865219116, -0.120795838534832, -0.5753032565116882, 0.03561890870332718, -0.3500412106513977, 0.2629854083061218, 0.9197181463241577, 0.05905468761920929, -0.8038035035133362, -0.3607077896595001, -0.06955549120903015, 0.034918829798698425, -0.0005300780176185071, 1.070387363433838, -0.5670475363731384, 0.15367867052555084, 0.7302430868148804, 0.45982781052589417, 0.6350181698799133, 0.12092909216880798, 0.5428071618080139, -0.660025417804718, -0.0873735174536705, 0.3854086101055145, 0.40696918964385986, 0.40343740582466125, -0.284228652715683, 0.37782466411590576, 0.05145501345396042, -0.4706425666809082, -0.726576030254364, 0.5489078164100647, -0.6689749956130981, -0.8642356395721436, 1.318674921989441, -0.19597144424915314, -0.08958067744970322, -0.2593522369861603, -0.35896626114845276, 0.07433783262968063, -0.1918288767337799, 0.5442591309547424, 0.9744154810905457, -0.3493916392326355, -0.3192564845085144, -0.38420385122299194, 0.4721696078777313, -0.05179957300424576, -0.8575578927993774, 0.01508669089525938, 0.5018094778060913, 0.48896268010139465, 0.14350467920303345, 0.539544403553009, -0.11748407036066055, -0.19853752851486206, -0.1137004941701889, -0.34978964924812317, -0.06762699782848358, -0.6256020665168762, -0.06242237240076065, 0.6100658774375916, 0.0967065617442131, 0.43320560455322266 ]
http://arxiv.org/abs/2406.19501v1
http://arxiv.org/pdf/2406.19501v1
Monitoring Latent World States in Language Models with Propositional Probes
2024-06-27T19:28:43
2024-06-27T19:28:43
Jiahai Feng, Stuart Russell, Jacob Steinhardt
cs.CL
cs.CL, cs.LG
Language models are susceptible to bias, sycophancy, backdoors, and other tendencies that lead to unfaithful responses to the input context. Interpreting internal states of language models could help monitor and correct unfaithful behavior. We hypothesize that language models represent their input contexts in a latent world model, and seek to extract this latent world state from the activations. We do so with 'propositional probes', which compositionally probe tokens for lexical information and bind them into logical propositions representing the world state. For example, given the input context ''Greg is a nurse. Laura is a physicist.'', we decode the propositions ''WorksAs(Greg, nurse)'' and ''WorksAs(Laura, physicist)'' from the model's activations. Key to this is identifying a 'binding subspace' in which bound tokens have high similarity (''Greg'' and ''nurse'') but unbound ones do not (''Greg'' and ''physicist''). We validate propositional probes in a closed-world setting with finitely many predicates and properties. Despite being trained on simple templated contexts, propositional probes generalize to contexts rewritten as short stories and translated to Spanish. Moreover, we find that in three settings where language models respond unfaithfully to the input context -- prompt injections, backdoor attacks, and gender bias -- the decoded propositions remain faithful. This suggests that language models often encode a faithful world model but decode it unfaithfully, which motivates the search for better interpretability tools for monitoring LMs.
[ 0.07723245024681091, -0.6982331275939941, 0.8090899586677551, 0.01333952322602272, -0.13293883204460144, -0.2290593385696411, 0.0026025427505373955, -0.17829976975917816, -0.10426141321659088, 0.5512051582336426, -0.49104565382003784, -0.41701722145080566, -0.3436126410961151, 0.05151265487074852, -0.5830106735229492, 0.9482211470603943, -0.022738119587302208, 0.0719766765832901, -0.27011507749557495, 0.07653386145830154, -0.059614647179841995, -0.5766173601150513, -0.17121803760528564, -0.5161803364753723, 0.3083761930465698, -0.13019967079162598, 0.7505931854248047, 0.28956249356269836, 0.3572966158390045, 0.27712076902389526, -0.37763506174087524, 0.02483268640935421, -0.5712189674377441, 0.30466222763061523, -0.4885587990283966, -0.7146490812301636, -0.2843290865421295, 0.3023642897605896, 0.6197951436042786, 0.8325107097625732, 0.019881023094058037, 0.13348472118377686, 0.16298164427280426, 0.09274706244468689, -0.6403129696846008, 0.335915744304657, -0.4140401780605316, 0.22430887818336487, -0.04314574971795082, -0.24500992894172668, -0.5967031121253967, -0.07788244634866714, 0.3438064157962799, -0.37180620431900024, 0.2796632945537567, 0.047487907111644745, 0.6382885575294495, 0.20301812887191772, -0.8361837863922119, -0.2519649565219879, -0.7500808238983154, 0.7394723296165466, -0.8707565665245056, 0.5841187834739685, 0.3324797451496124, -0.14718656241893768, -0.7018293738365173, -0.519207775592804, -0.6886574029922485, -0.4343012571334839, -0.31626540422439575, 0.19078980386257172, -0.4502183794975281, 0.3346399664878845, 0.38660019636154175, 0.39237314462661743, -0.5102352499961853, 0.05331263318657875, -0.16137121617794037, -0.5419905781745911, 0.20927032828330994, 0.18004968762397766, 0.5028948187828064, -0.40007805824279785, -0.29760444164276123, 0.03626353293657303, -0.835277795791626, 0.24803094565868378, 0.3431406617164612, 0.26684045791625977, -0.17261220514774323, 0.8531426787376404, 0.13263453543186188, 0.8668909072875977, -0.17379622161388397, -0.22495470941066742, -0.16118323802947998, -0.281289666891098, -0.06324924528598785, -0.08491034060716629, 0.7658923864364624, 0.3152235448360443, 0.015068130567669868, -0.19469574093818665, -0.3759280741214752, 0.4235629439353943, 0.29590675234794617, -0.6330852508544922, -0.0756562277674675, 0.2691692113876343, -0.3929642140865326, -0.41521087288856506, 0.06220570579171181, -0.5665867328643799, -0.434963196516037, -0.14600709080696106, 0.2995222508907318, -0.23212170600891113, -0.2769092321395874, 0.022258339449763298, -0.05911663919687271, 0.13563376665115356, 0.1286836862564087, -0.78166663646698, 0.4125101566314697, 0.9199912548065186, 0.9318535327911377, -0.19036661088466644, -0.35887637734413147, -0.7697659134864807, -0.08841323107481003, -0.5503823161125183, 0.6364604234695435, -0.6307350993156433, -0.5369731187820435, 0.15260447561740875, 0.2307300716638565, -0.030018998309969902, -0.431888610124588, 0.2862476408481598, -0.60183185338974, 0.4618149697780609, -0.29976171255111694, -0.7394334077835083, -0.0896032303571701, 0.42391180992126465, -0.5353521108627319, 0.9880733489990234, -0.025394199416041374, -0.746223509311676, 0.10394216328859329, -0.6198262572288513, -0.02874869666993618, -0.43561726808547974, -0.19311001896858215, -0.003907778766006231, 0.5371089577674866, 0.16448655724525452, 0.4149741530418396, -0.23776838183403015, 0.4897400438785553, -0.23286302387714386, -0.4493812024593353, 0.6714664101600647, -0.4975292980670929, 0.8205969929695129, 0.0023724117781966925, -0.16949662566184998, 0.19869041442871094, -0.5688506960868835, -0.21989279985427856, 0.17461153864860535, -0.3537198007106781, -0.38172364234924316, 0.13549649715423584, -0.10060122609138489, 0.27410468459129333, 0.050903428345918655, -0.8814096450805664, 0.17527632415294647, -0.8683527112007141, 0.4954691231250763, 0.662966251373291, 0.27873778343200684, 0.4045674502849579, -0.14072515070438385, 0.7119448184967041, 0.2901882827281952, -0.0756969079375267, -0.2838082015514374, -0.574802815914154, -0.5990735292434692, 0.03839334845542908, 0.06480913609266281, 0.42502421140670776, -0.7216697335243225, 0.22352206707000732, -0.11639044433832169, -0.34807130694389343, -0.2753416895866394, -0.3242139518260956, 0.6185373663902283, 0.7886384725570679, 0.05898449569940567, -0.15176056325435638, -0.25958922505378723, -0.8888528347015381, -0.5293278694152832, -0.3532485067844391, 0.028057878836989403, 0.10755253583192825, 0.8362206816673279, -0.1195003017783165, 1.158576250076294, -0.5844019055366516, -0.17078158259391785, 0.03782905265688896, -0.05873415246605873, 0.44260773062705994, 0.4120817184448242, 0.37386733293533325, -0.7410405874252319, 0.036130525171756744, -0.17260658740997314, -0.7798296809196472, -0.029254844412207603, 0.03331270068883896, 0.03841933608055115, -0.150166317820549, 0.6907525062561035, -0.30720749497413635, 0.622164249420166, 0.7714366912841797, -0.6538981795310974, 0.6443434953689575, -0.20980802178382874, -0.13748541474342346, -1.0307810306549072, 0.0521598644554615, -0.05376092717051506, -0.41963082551956177, -0.7167786955833435, 0.20562848448753357, 0.10971362888813019, -0.16281354427337646, -0.7021451592445374, 0.6998947262763977, -0.4178794324398041, -0.2863340675830841, -0.31259316205978394, 0.04174211993813515, 0.06855935603380203, 0.4005550742149353, 0.09503961354494095, 0.7483745217323303, 0.5383198261260986, -0.46986907720565796, 0.4150386452674866, 0.24387404322624207, -0.1700245589017868, 0.527704656124115, -0.7389410138130188, 0.12652738392353058, -0.06621532887220383, 0.5200158953666687, -0.9096503853797913, 0.007127462886273861, 0.3558751344680786, -0.39623212814331055, -0.13675732910633087, -0.3827039301395416, -0.5778622031211853, -0.05789653956890106, -0.0641598105430603, 0.37562835216522217, 0.2224256843328476, -0.6020099520683289, 0.6154552102088928, 0.22885075211524963, 0.2568407356739044, -0.6395533084869385, -0.6921953558921814, -0.12364057451486588, -0.003077512141317129, -0.22560372948646545, 0.2824642062187195, 0.1386823058128357, -0.4835931956768036, 0.12473516911268234, -0.29525822401046753, -0.12715671956539154, 0.13474306464195251, 0.5276159048080444, 0.3331563472747803, -0.2970772683620453, -0.011880111880600452, 0.2441488653421402, -0.28068414330482483, 0.4937666356563568, -0.4525769054889679, 0.5833670496940613, -0.32517048716545105, -0.6076873540878296, -0.30189934372901917, 0.4022114872932434, 0.6272233724594116, -0.36120977997779846, 0.872651219367981, 0.24319052696228027, -0.8836092352867126, -0.07556317746639252, -0.16086313128471375, -0.5051677823066711, -0.4878982603549957, 0.29308226704597473, -0.5378089547157288, -0.922710120677948, 0.9670196771621704, -0.008764754980802536, -0.12259643524885178, 0.3477516770362854, 0.6099401712417603, 0.0844610258936882, 1.009804606437683, 0.5219268202781677, 0.010485905222594738, 0.32242488861083984, -0.21164506673812866, 0.43027356266975403, -1.0186288356781006, -0.101531982421875, -0.3090790808200836, 0.08569532632827759, -0.6017935276031494, -0.3846307098865509, 0.637083113193512, -0.025555487722158432, 0.06506477296352386, 0.008112485520541668, -0.25611254572868347, 0.7720947265625, 0.5021076202392578, 0.11665366590023041, 0.3917197585105896, -0.34154802560806274, -0.4972040057182312, -0.4133369028568268, -0.4973023533821106, -0.5900699496269226, 1.0871293544769287, 0.4289275109767914, 0.7570958137512207, 0.3706303536891937, 0.5561251640319824, 0.028742531314492226, 0.2511107921600342, -0.8145247101783752, 0.43522217869758606, 0.05672813206911087, -0.8469686508178711, -0.058585308492183685, -0.20497553050518036, -0.9877980351448059, 0.6129373908042908, -0.0702594742178917, -1.1276811361312866, 0.5158590078353882, 0.28748613595962524, -0.23515412211418152, 0.35959556698799133, -0.3251573145389557, 0.9505107998847961, -0.1181061789393425, -0.35945141315460205, -0.10592550784349442, -0.44855430722236633, 0.42278745770454407, 0.11788614094257355, -0.02922065556049347, 0.022644761949777603, -0.0435122586786747, 0.6057984232902527, -0.49381116032600403, 1.2040506601333618, -0.061048947274684906, -0.692495584487915, 0.07916423678398132, 0.5928588509559631, 0.4066298007965088, 0.30296579003334045, -0.005697936750948429, 0.074858658015728, 0.3979269564151764, -0.2851751446723938, -0.5985792279243469, 0.6537121534347534, -0.6134447455406189, -0.4924599826335907, -0.8189098238945007, -0.5252554416656494, -0.316224604845047, 0.3818102180957794, 0.5333844423294067, 0.7506327629089355, -0.4199160933494568, -0.1474386304616928, 0.808686375617981, -0.28789275884628296, 0.1832420974969864, 0.8945630788803101, -0.5584444999694824, 0.34879070520401, 0.8652461767196655, -0.18414592742919922, 0.31027528643608093, 0.49218904972076416, 0.39721372723579407, -0.3871423602104187, -0.3031785488128662, -0.29186031222343445, 0.2534676194190979, -0.7660015821456909, -0.07712255418300629, -0.5215599536895752, -0.13025598227977753, -0.2833155691623688, 0.08487693220376968, -0.5073778033256531, -0.0007912326254881918, -0.44094446301460266, -0.10190167278051376, 0.0020749408286064863, 0.7856621742248535, -0.03780217468738556, 0.15809638798236847, -0.6294270157814026, 0.30434557795524597, 0.3101789951324463, 0.21652589738368988, -0.11783622205257416, -0.6496149301528931, 0.13787445425987244, 0.08022002130746841, 0.0048986030742526054, -1.4114677906036377, 0.36578673124313354, 0.1927299052476883, 0.318787157535553, 0.45920729637145996, 0.0884540006518364, 0.27434059977531433, -0.45635077357292175, 0.8242665529251099, -0.19927208125591278, -1.3131697177886963, 0.7366185188293457, -0.6725786924362183, 0.21423976123332977, 0.09583877772092819, 0.23284369707107544, -1.0601391792297363, -0.5561264753341675, -0.4573748707771301, -0.4820558726787567, 0.7753333449363708, -0.14240042865276337, 0.30207359790802, -0.03586360439658165, 0.5703630447387695, 0.12620773911476135, 0.24791112542152405, -0.9278961420059204, -0.19836385548114777, -0.023943085223436356, -0.09356145560741425, -0.037298157811164856, -0.2899811267852783, -0.3769140839576721, -0.1543843299150467, 0.3245396018028259, -0.4726608991622925, 0.4341067671775818, 0.266741007566452, -0.3555152714252472, -0.09197106212377548, 0.2556811273097992, 0.4916319251060486, 0.7371438145637512, -0.17065028846263885, 0.41464003920555115, -0.06907631456851959, -0.3782115578651428, 0.3236396908760071, 0.06359973549842834, -0.2745636999607086, -0.12814025580883026, 0.6544610857963562, 0.6053609251976013, 0.3996000587940216, -0.7944024205207825, 0.9174869060516357, -0.17531174421310425, 0.1582372635602951, -0.3110223412513733, 0.12847737967967987, 0.013290663249790668, 0.32202571630477905, 0.04894207417964935, -0.08514575660228729, 0.15962530672550201, -0.8006479144096375, -0.010591808706521988, 0.38868221640586853, -0.5764481425285339, -0.6907662153244019, 0.5425167679786682, -0.15990257263183594, -0.21873556077480316, 0.6389867663383484, -0.35523369908332825, -0.9618262052536011, 0.4131525754928589, 0.9629972577095032, 0.49085161089897156, -0.22988083958625793, 0.28852301836013794, 0.09713855385780334, 0.4378141760826111, 0.028634408488869667, 0.5250837802886963, 0.23543259501457214, -1.0863910913467407, -0.3573431968688965, -0.40260812640190125, -0.6233659386634827, 0.20626261830329895, -1.0264314413070679, -0.25625908374786377, -0.35453668236732483, 0.09721547365188599, -0.2169562578201294, -0.2861821949481964, -0.6667295694351196, 0.21328027546405792, 0.08701153844594955, 0.5600546598434448, -1.1545122861862183, 0.744162380695343, 0.8724358677864075, -0.16074886918067932, -0.5514923334121704, 0.13763271272182465, 0.4456521272659302, -0.8162640333175659, 0.5452343821525574, 0.036603450775146484, -0.2638397216796875, -0.1446613222360611, -0.4097910523414612, -1.042280912399292, 0.45647186040878296, 0.4963654577732086, -0.4331662058830261, 0.02879112772643566, 0.1571010947227478, 0.832114040851593, -0.24158737063407898, 0.11173465847969055, 0.629357635974884, 0.1400475800037384, -0.6388373374938965, -0.9025371670722961, 0.28048989176750183, -0.3092738389968872, -0.112859345972538, 0.1547108292579651, -0.40433549880981445, 1.0097544193267822, -0.20459400117397308, -0.12636393308639526, -0.08291111886501312, 0.7295661568641663, 0.15099668502807617, 0.2453063428401947, 0.5155025720596313, 0.30059653520584106, 0.7082915306091309, -0.28580164909362793, 1.0322178602218628, -0.27060312032699585, 0.45212218165397644, 0.9917086362838745, -0.174266055226326, 0.8435418605804443, 0.5078036785125732, -0.18206046521663666, 0.5501697659492493, 0.5720889568328857, 0.16395309567451477, 0.41764768958091736, 0.29514601826667786, -0.08543474972248077, -0.1454441398382187, -0.44051384925842285, -0.24686095118522644, 0.7660046219825745, 0.761038064956665, -0.2033831775188446, -0.12503473460674286, 0.23680278658866882, 0.13048601150512695, 0.07085301727056503, 0.0708509087562561, 0.5381606221199036, 0.21183572709560394, -0.7152027487754822, 0.2542839050292969, 0.11344172060489655, 0.4744144082069397, -0.4465048611164093, 0.02614862471818924, -0.17975826561450958, 0.25389260053634644, -0.09347616881132126, -0.677617073059082, 0.06583964079618454, 0.03090176358819008, -0.14523977041244507, -0.15215304493904114, 0.5891506671905518, -0.3065963685512543, -0.360564649105072, 0.28238967061042786, 0.7619431614875793, 0.11042266339063644, -0.25088876485824585, -0.5413249731063843, 0.04251467436552048, -0.06768158823251724, -0.27170678973197937, 0.22663678228855133, 0.1728036105632782, -0.18462926149368286, 0.622646152973175, 0.7304368615150452, 0.2924402058124542, -0.03770843520760536, -0.05353256314992905, 0.8019039630889893, -0.7504285573959351, -0.7691856026649475, -0.7469073534011841, 0.2839483320713043, 0.3346477746963501, -0.6569157242774963, 0.6771291494369507, 0.4734131395816803, 0.7736305594444275, 0.24598626792430878, 0.4491908550262451, 0.36683398485183716, 0.4617435038089752, -0.6537582874298096, 0.5074095129966736, -0.5160766243934631, 0.2518261969089508, -0.25685814023017883, -0.9879618287086487, -0.09815850108861923, 0.6706478595733643, -0.5160684585571289, -0.2175944596529007, 0.8014100790023804, 0.6690927743911743, -0.20879660546779633, 0.17585337162017822, 0.159466952085495, 0.4162864685058594, 0.6556429862976074, 0.39959660172462463, 1.1654176712036133, -0.27140694856643677, 0.040049295872449875, -0.34981104731559753, -0.15907293558120728, -0.16266386210918427, -0.8574281930923462, -0.9255625605583191, -0.6635448932647705, -0.09818363189697266, -0.5656116604804993, -0.1279774010181427, 0.7127744555473328, 0.5201786756515503, -0.8506779670715332, -0.06369782239198685, 0.05908053740859032, 0.0965120792388916, -0.198981374502182, -0.2512935400009155, 0.4980161488056183, 0.07504204660654068, -0.7823431491851807, 0.6837302446365356, 0.2769116461277008, 0.1144421324133873, -0.7119529843330383, 0.21393677592277527, 0.08957002311944962, -0.002920362865552306, 0.37734633684158325, 0.19096241891384125, -1.0073819160461426, -0.2863597571849823, 0.09779676795005798, -0.11045681685209274, -0.11255031824111938, 1.0300706624984741, -0.8340948224067688, 0.6003303527832031, 0.34988731145858765, 0.3402080237865448, 0.2754366099834442, -0.30108731985092163, 0.8157572746276855, -0.8537465333938599, 0.4411449730396271, 0.5886850357055664, 0.6273119449615479, 0.22189290821552277, -0.40362152457237244, 0.2803904712200165, 0.23912952840328217, -0.37500980496406555, -1.2032052278518677, 0.5365182161331177, -0.6292852759361267, -0.3157930076122284, 0.9266193509101868, -0.2632617652416229, -0.38778766989707947, -0.07153482735157013, -0.025011252611875534, 0.1431266814470291, -0.23379509150981903, 0.4881136119365692, 0.7724059820175171, -0.19427195191383362, 0.14754359424114227, -0.6450119018554688, 0.3665255904197693, 0.775881290435791, -0.6114141345024109, -0.09635047614574432, 0.5825793147087097, 0.2572478950023651, 0.1353352963924408, 0.47143277525901794, -0.02079552598297596, 0.26244789361953735, 0.03350786492228508, -0.3890974819660187, 0.15756432712078094, -0.1635294109582901, -0.611882209777832, -0.04711892083287239, -0.0843014344573021, -0.07291844487190247 ]
http://arxiv.org/abs/2406.19500v1
http://arxiv.org/pdf/2406.19500v1
Knowledge acquisition for dialogue agents using reinforcement learning on graph representations
2024-06-27T19:28:42
2024-06-27T19:28:42
Selene Baez Santamaria, Shihan Wang, Piek Vossen
cs.AI
cs.AI, cs.CL
We develop an artificial agent motivated to augment its knowledge base beyond its initial training. The agent actively participates in dialogues with other agents, strategically acquiring new information. The agent models its knowledge as an RDF knowledge graph, integrating new beliefs acquired through conversation. Responses in dialogue are generated by identifying graph patterns around these new integrated beliefs. We show that policies can be learned using reinforcement learning to select effective graph patterns during an interaction, without relying on explicit user feedback. Within this context, our study is a proof of concept for leveraging users as effective sources of information.
[ -0.48585203289985657, -0.9094484448432922, 0.8129299879074097, -0.1098884865641594, 0.06012601777911186, 0.49726665019989014, 0.019774818792939186, -0.5356188416481018, 0.08573569357395172, 0.6985347867012024, -0.48159343004226685, -0.5029612183570862, -0.5793364644050598, 0.06614788621664047, 0.041715651750564575, 0.9530734419822693, 0.04664945974946022, -0.15249107778072357, -0.1779044270515442, 0.06666899472475052, -0.405707448720932, -0.15503981709480286, -1.087504506111145, -0.7605125904083252, 0.6946868300437927, 0.4065989553928375, 0.8185077905654907, 0.2568472921848297, -0.046939667314291, 0.5022004842758179, 0.15185268223285675, 0.7186138033866882, -0.5609938502311707, 0.31516942381858826, -0.30268242955207825, -0.4471200704574585, 0.09685775637626648, 0.10118274390697479, 0.6761124134063721, 0.5852864980697632, -0.09251636266708374, -0.4420478045940399, -0.13350443542003632, 0.3627045750617981, -0.3392934203147888, 0.803304135799408, -0.38648152351379395, 0.17171461880207062, 0.36884042620658875, -0.4747392237186432, -0.731848418712616, -0.6577794551849365, 0.3693951666355133, -1.1112030744552612, -0.2904500961303711, 0.2002076506614685, 0.8822718858718872, -0.0024674718733876944, -0.8735365271568298, -0.5420185327529907, -0.8160377740859985, 0.5210715532302856, -0.17727349698543549, 0.2921501100063324, 0.5887778401374817, 0.5655357837677002, -0.6644982099533081, -0.9428474307060242, -0.685202956199646, -0.2777707278728485, -0.31090977787971497, 0.07972563803195953, -0.2475876659154892, 0.42078685760498047, 0.40437474846839905, -0.039051353931427, -0.2556247115135193, -0.16721047461032867, -0.20841388404369354, -0.33945927023887634, 0.5543853640556335, 0.18197262287139893, 0.2910178303718567, -0.2839532494544983, -0.4251088500022888, -0.31676506996154785, -0.4213382303714752, 0.29797738790512085, 0.3508894145488739, 0.2551293671131134, 0.24615055322647095, 0.3072149455547333, -0.27449536323547363, 0.8086807727813721, 0.13008743524551392, -0.274832159280777, 0.16786283254623413, -0.30703526735305786, -0.05521776154637337, 0.08265269547700882, 0.5521271824836731, 0.06632953137159348, 0.38375991582870483, -0.29989275336265564, -0.2617875039577484, -0.26925069093704224, 0.32888782024383545, -0.6250757575035095, -0.18305282294750214, -0.05373682454228401, -0.27054834365844727, -0.35182633996009827, 0.12614016234874725, -0.4920650124549866, -0.5391149520874023, -0.1929163932800293, 0.24589446187019348, -0.6232239603996277, -0.3598741590976715, -0.02222423255443573, -0.723071277141571, 0.15396776795387268, 0.7025101184844971, -0.7074649333953857, 0.5229370594024658, 0.46348676085472107, 0.5880593061447144, 0.14429374039173126, -0.332152783870697, -0.47203391790390015, 0.42522555589675903, -0.4017884433269501, 0.9005497694015503, -0.6602035164833069, -0.6790395379066467, 0.21831050515174866, 0.1667824685573578, -0.3059884309768677, -0.3386538028717041, -0.0437728613615036, -0.9673887491226196, 0.21852849423885345, -0.253431499004364, -0.6759722232818604, -0.5569775104522705, 0.32428422570228577, -0.6179350018501282, 0.6221734285354614, 0.6606282591819763, -0.47451090812683105, 0.5158782601356506, -0.9116647839546204, -0.48892754316329956, 0.27344220876693726, -0.303219199180603, -0.03429168090224266, -0.4285493791103363, -0.03297768533229828, 0.10065876692533493, 0.19045384228229523, -0.129936084151268, -0.30273735523223877, 0.004189923871308565, 0.5747177004814148, -0.10823474824428558, 0.7452255487442017, 0.41838908195495605, -0.024577707052230835, 0.13420483469963074, -0.3921469748020172, 0.13684476912021637, 0.17196469008922577, -0.40176811814308167, -0.28532445430755615, 0.13742029666900635, -0.5908937454223633, 0.08017227053642273, -0.03692081198096275, -0.4374397397041321, 0.4012625515460968, -0.3805030882358551, 0.4394247829914093, 0.7835185527801514, 0.6858384609222412, 0.4094073176383972, -0.5384349226951599, 0.5862823128700256, 0.10475628823041916, -0.017621077597141266, -0.033691368997097015, -0.4919370114803314, -0.6909412145614624, -0.08354244381189346, 0.07481888681650162, 0.38921794295310974, -1.240116000175476, 0.13755302131175995, -0.0056106895208358765, -0.07378808408975601, 0.07286538928747177, 0.3412083089351654, 0.33422979712486267, 0.48338472843170166, 0.047616951167583466, -0.3848591148853302, -0.47290652990341187, -0.2385593205690384, 0.08511664718389511, -0.4431909918785095, 0.32990762591362, 0.6729284524917603, 0.40803262591362, -0.34594449400901794, 1.1228944063186646, -0.629158616065979, -0.10865166038274765, -0.6801351308822632, 0.5227844715118408, -0.24997040629386902, 0.2784707546234131, 0.513103187084198, -0.7388016581535339, -0.4421772360801697, 0.31467026472091675, -0.8726181387901306, 0.45028987526893616, -0.1608421951532364, -0.2909386157989502, 0.11481790244579315, 0.38527166843414307, -0.6804088354110718, 0.37818560004234314, 0.18689921498298645, -0.5138059854507446, 0.2429955154657364, -0.14485685527324677, 0.1380193531513214, -0.886185884475708, -0.4446931481361389, -0.047731127589941025, -0.8807847499847412, -0.5051295161247253, -0.4191752076148987, -0.5000969767570496, -0.07170367985963821, -0.14609022438526154, 0.546565055847168, -0.3621518611907959, -0.16994626820087433, -0.2756381332874298, 0.4545668065547943, 0.13805727660655975, 0.6905911564826965, 0.3363593816757202, 0.6647179126739502, 0.06091250479221344, -0.828248143196106, 0.46880751848220825, 0.6486663818359375, -0.37204092741012573, 0.43158477544784546, -0.4614672064781189, 0.2616540789604187, -0.25023993849754333, 0.39765048027038574, -0.9527958035469055, -0.22844965755939484, 0.49716976284980774, -0.5030688643455505, 0.28132739663124084, -0.20696522295475006, -0.18249544501304626, -0.24051254987716675, 0.18528661131858826, -0.1296442300081253, 0.5086433291435242, -0.4354594647884369, 0.5752090811729431, 0.6940577030181885, -0.12587979435920715, -0.5068008899688721, 0.10739044845104218, -0.219011127948761, 0.06067744642496109, -0.5491154193878174, -0.09987294673919678, 0.2667679488658905, -0.35541293025016785, 0.3390062749385834, 0.14550234377384186, -0.2520926892757416, 0.19868116080760956, 0.2146078199148178, 0.027287129312753677, -0.10275046527385712, 0.3564382493495941, 0.048063527792692184, -0.14039912819862366, 0.10912451893091202, -0.7366612553596497, 0.5445263981819153, 0.034999389201402664, -0.1731177568435669, -0.45570051670074463, 0.11778108030557632, 0.24975623190402985, 0.01184904109686613, 0.5784673094749451, 0.3910002112388611, -0.12462314963340759, -0.48175758123397827, -0.13246481120586395, -0.3040900230407715, -0.5406209826469421, 0.37884923815727234, -0.3533734381198883, -0.7683131098747253, 0.32315945625305176, -0.7924538254737854, -0.040356844663619995, 0.17449404299259186, 0.10523131489753723, -0.384555459022522, 1.3661977052688599, 0.6891665458679199, 0.20875118672847748, 0.9359772205352783, -0.5793017745018005, 0.028476785868406296, -0.47903066873550415, -0.4739847779273987, -0.3777816593647003, -0.022887814790010452, -0.41676613688468933, -0.3983597457408905, 0.18428413569927216, 0.12976109981536865, -0.5036711692810059, 0.3220134377479553, -0.20678353309631348, 0.36014485359191895, 0.6490399241447449, 0.3364594876766205, 0.3925156593322754, -0.057147640734910965, -0.2050640881061554, 0.2768339514732361, -0.7316791415214539, -0.3537847101688385, 0.9064182043075562, 0.12284567207098007, 0.6916666030883789, 0.14567676186561584, 0.6178852915763855, 0.8536685705184937, 0.11310099810361862, -0.7733393311500549, 0.3899938762187958, 0.5895283818244934, -0.15795476734638214, -0.7151806354522705, -0.5868254899978638, -1.1541333198547363, 0.11685238033533096, -0.17108154296875, -0.9279876351356506, 0.31564146280288696, 0.16625584661960602, -0.08164844661951065, 0.05518735572695732, -0.6494228839874268, 0.8768885135650635, -0.23869557678699493, -0.025290602818131447, -0.5489562749862671, -0.5524019002914429, 0.016475699841976166, 0.3089437484741211, -0.05647535249590874, -0.03442396596074104, 0.24428626894950867, 0.6674392819404602, -0.5600014925003052, 0.8956907987594604, -0.6456820964813232, 0.1683128923177719, 0.6447017192840576, 0.09233222901821136, 0.9453961849212646, 0.09501904994249344, 0.22374327480793, -0.18619094789028168, -0.0920834094285965, -0.34990394115448, -1.1774730682373047, -0.0017763348296284676, -1.200548529624939, -0.5455973744392395, -0.4059600234031677, -0.5676326155662537, -0.45867419242858887, 0.3639841675758362, -0.24465882778167725, 0.1707095056772232, -0.5068768858909607, -0.04732218384742737, 0.6938241124153137, -0.04469934478402138, 0.06307346373796463, 0.6871982216835022, -0.40107259154319763, -0.4261397123336792, 1.0106059312820435, -0.015430251136422157, 0.5525041818618774, 0.39051175117492676, 0.04851583391427994, -0.3988891839981079, -0.4385002553462982, -0.21485763788223267, 0.12951287627220154, -0.8345892429351807, -0.04790158569812775, -0.5649594664573669, -0.4060613214969635, -0.3643953502178192, 0.039680082350969315, 0.14440757036209106, -0.5378642678260803, 0.00011403166718082502, -0.5077115297317505, 0.5765764117240906, 1.20037043094635, -0.04881560057401657, 0.5586122870445251, -0.49856996536254883, 0.02011840231716633, 0.6955834031105042, -0.08326838165521622, -0.10306072980165482, -0.13981865346431732, -0.34113648533821106, 0.22370530664920807, -0.6143952012062073, -0.9977105259895325, 0.2688796818256378, 0.17920386791229248, 0.8799647688865662, 0.743661642074585, 0.13966727256774902, 0.47084304690361023, -0.06986071914434433, 0.4895927906036377, 0.23801074922084808, -0.6794257760047913, 0.6844515800476074, -0.24388770759105682, -0.1416012942790985, 0.3782042860984802, 0.529228687286377, -0.7918756008148193, -0.4229077994823456, -0.7431647181510925, -0.2542783319950104, 0.848036527633667, -0.1473909169435501, 0.07064906507730484, -0.154963880777359, 0.21212349832057953, -0.049545928835868835, 0.4925546944141388, -0.33388277888298035, 0.018360765650868416, -0.530319094657898, 0.05831054225564003, -0.10000409930944443, -0.14940926432609558, -0.4936502277851105, -0.24600102007389069, 0.6330373883247375, -0.5090764164924622, 0.4856759309768677, 0.058024775236845016, -0.40340712666511536, -0.06929945945739746, 0.05404001474380493, 0.3736959993839264, 0.5756642818450928, -0.09704894572496414, -0.03301927447319031, 0.08821417391300201, -0.20142892003059387, 0.10565792769193649, 0.0005485992878675461, -0.1364470273256302, -0.08052311837673187, 0.1378258317708969, 1.1177486181259155, 0.34345096349716187, -0.5644153952598572, 0.5352635383605957, -0.12208449840545654, -0.31713059544563293, -0.4395786225795746, 0.47970107197761536, -0.08279795199632645, 0.5279009938240051, 0.014519279822707176, -0.06691845506429672, 0.010666041634976864, -0.739442765712738, 0.5582236051559448, 0.4952181875705719, -0.6381061673164368, -0.08306702971458435, 0.1255723237991333, 0.3988172709941864, -0.49002543091773987, 0.9987208843231201, -0.41340452432632446, -0.5743744969367981, 0.5265921354293823, 0.7629486322402954, 0.5690137147903442, 0.10324225574731827, 0.9207614660263062, 0.23366011679172516, -0.07594138383865356, 0.21373477578163147, 0.2512763738632202, -0.6580371856689453, -1.193516492843628, -0.12746137380599976, -0.28044775128364563, -0.8708165884017944, -0.3521353006362915, -0.49029088020324707, 0.07961704581975937, -0.6893321871757507, -0.29452407360076904, -0.06290831416845322, 0.29540637135505676, -0.6234285831451416, -0.13132445514202118, -0.15925069153308868, 0.7452701330184937, -0.6496602296829224, 0.8735636472702026, 0.34540408849716187, -0.8914763927459717, -1.0438992977142334, -0.2976057231426239, -0.18604281544685364, -1.2387555837631226, 0.8294130563735962, -0.17953304946422577, -0.19499193131923676, 0.05141042545437813, -0.6558258533477783, -0.7990637421607971, 1.0954023599624634, 0.31792494654655457, 0.05554088205099106, -0.26549965143203735, 0.10305456817150116, 0.3069086968898773, -0.46952950954437256, 0.5610453486442566, 0.4268133044242859, 0.5471483469009399, 0.43065145611763, -0.4047166407108307, -0.11352581530809402, -0.17763559520244598, -0.040206413716077805, 0.11684617400169373, -0.6793736219406128, 0.7061306238174438, -0.3254750370979309, -0.27647140622138977, -0.1808435022830963, 0.7638320922851562, -0.10844016820192337, 0.26195552945137024, 0.6164060831069946, 0.1360289454460144, 1.3595178127288818, -0.04024890065193176, 1.078991174697876, -0.3618176281452179, 0.2780097424983978, 1.0219773054122925, -0.1420263797044754, 0.3234611749649048, 0.13459612429141998, -0.07178889214992523, 1.2282785177230835, 0.6930579543113708, 0.3238834738731384, 0.6091150641441345, -0.011344029568135738, -0.5236484408378601, -0.537290632724762, -0.43037742376327515, -0.14527268707752228, 0.3284379839897156, 0.7238641977310181, -0.4060913324356079, -0.19409017264842987, 0.11599738895893097, 0.010092140175402164, -0.0014550958294421434, -0.1536426544189453, 1.4047247171401978, 0.09759528934955597, -0.9214295744895935, 0.2713439464569092, -0.28702738881111145, -0.2289552390575409, -0.803534209728241, -0.5940260887145996, 0.11940828710794449, 0.09409549832344055, -0.26861318945884705, -0.7513071894645691, -0.07147037237882614, -0.5222277641296387, -0.057501211762428284, -0.4087371230125427, 0.7661517262458801, -0.36736464500427246, 0.0025756715331226587, 0.2858704626560211, 0.45795542001724243, 0.16744312644004822, 0.32247474789619446, -0.6093246936798096, -0.38726797699928284, 0.04611562564969063, -0.14045877754688263, 0.2540254294872284, 0.5842535495758057, -0.184487983584404, 0.8101201057434082, 0.6696054935455322, 0.15446098148822784, 0.008212198503315449, 0.016057446599006653, 0.9338716268539429, -0.5146145224571228, -0.5809228420257568, -0.25072425603866577, 0.29099008440971375, -0.5884378552436829, 0.05451474338769913, 0.7922709584236145, 0.1733435094356537, 0.9757036566734314, 0.34550711512565613, 1.165627360343933, -0.05932990461587906, 0.34728991985321045, -0.4855028986930847, 0.39816102385520935, -0.11366491764783859, -0.15050539374351501, -0.14175133407115936, -0.3516806364059448, 0.31560656428337097, 0.938677966594696, -0.4424339532852173, 0.06530290842056274, 0.7638794779777527, 0.6605402827262878, 0.3538739085197449, 0.3356172740459442, 0.30174389481544495, 0.09814903885126114, 0.38052427768707275, 0.5415884256362915, 1.3246513605117798, -0.0023124993313103914, 0.6803412437438965, -0.10290944576263428, -0.17759957909584045, -0.18276409804821014, -0.23864619433879852, -0.912010908126831, -0.5211342573165894, -0.06712693721055984, -0.7794099450111389, 0.4360068142414093, 1.0028941631317139, 0.7923550009727478, -0.6149981617927551, -0.2850510776042938, -0.22216805815696716, 0.9306889772415161, -0.45765677094459534, -0.2161693125963211, 0.0010174144990742207, -0.8566454648971558, -0.6417697668075562, 0.385804146528244, 0.09395837038755417, 0.10993719846010208, -0.24657467007637024, -0.7238419055938721, -0.1226847693324089, 0.19995495676994324, 0.4227847158908844, 0.8834758400917053, -0.28686967492103577, -0.5974183082580566, -0.2841506898403168, -0.11486420780420303, 0.29962489008903503, 1.118170142173767, -0.8724378943443298, 0.7623812556266785, 0.4609149396419525, 0.6662558317184448, 0.8439256548881531, 0.14854857325553894, 0.8706632256507874, -0.49733319878578186, 0.20692817866802216, 0.1908876597881317, 0.17720496654510498, 0.043492790311574936, -0.49466267228126526, 0.2252558320760727, 0.39458853006362915, -0.4341149628162384, -0.4678935706615448, 0.516067624092102, -0.7193471789360046, -0.18479566276073456, 0.9298493266105652, -0.3912808299064636, -0.23760256171226501, -0.6304914951324463, -0.328827828168869, 0.35119467973709106, -0.8045647740364075, 0.5415424704551697, 0.47229790687561035, -0.47626277804374695, -0.05616886913776398, -0.21574218571186066, 0.7868497371673584, -0.14359118044376373, -0.817374587059021, -0.2885691523551941, 0.5789615511894226, 0.22755886614322662, 0.16196797788143158, 1.0208094120025635, 0.16889163851737976, 0.3677407503128052, 0.3388154208660126, -0.2309376299381256, -0.2621639370918274, -0.6085760593414307, 0.16005712747573853, 0.20652805268764496, 0.5118341445922852, -0.1603614240884781 ]
http://arxiv.org/abs/2406.19497v1
http://arxiv.org/pdf/2406.19497v1
Inclusivity in Large Language Models: Personality Traits and Gender Bias in Scientific Abstracts
2024-06-27T19:26:11
2024-06-27T19:26:11
Naseela Pervez, Alexander J. Titus
cs.CL
cs.CL, cs.AI
Large language models (LLMs) are increasingly utilized to assist in scientific and academic writing, helping authors enhance the coherence of their articles. Previous studies have highlighted stereotypes and biases present in LLM outputs, emphasizing the need to evaluate these models for their alignment with human narrative styles and potential gender biases. In this study, we assess the alignment of three prominent LLMs - Claude 3 Opus, Mistral AI Large, and Gemini 1.5 Flash - by analyzing their performance on benchmark text-generation tasks for scientific abstracts. We employ the Linguistic Inquiry and Word Count (LIWC) framework to extract lexical, psychological, and social features from the generated texts. Our findings indicate that, while these models generally produce text closely resembling human authored content, variations in stylistic features suggest significant gender biases. This research highlights the importance of developing LLMs that maintain a diversity of writing styles to promote inclusivity in academic discourse.
[ -0.34141290187835693, -0.3208909332752228, 0.7288341522216797, 0.4179033041000366, 0.17374566197395325, 0.15352575480937958, -0.28587308526039124, -0.65822833776474, 0.3268784284591675, 0.37021711468696594, -0.43753233551979065, -0.5320701599121094, -0.7757982611656189, 0.7154461145401001, -0.6737025380134583, 1.0661753416061401, -0.07378402352333069, 0.38320547342300415, -0.42988377809524536, -0.1614372581243515, -0.2731776535511017, -0.4601496756076813, -0.22893500328063965, -0.4367443919181824, 0.7547573447227478, 0.2551034986972809, 0.611342191696167, 0.6387907862663269, 0.530875027179718, 0.21621623635292053, -0.02703903429210186, 0.11910881102085114, -0.4139460325241089, 0.39422062039375305, -0.15612755715847015, -0.3327775299549103, -0.6045976877212524, -0.10209845751523972, 0.7396577000617981, 0.7969956994056702, 0.27999746799468994, 0.2140587717294693, 0.27151697874069214, 0.579210102558136, -0.35899728536605835, 0.026250336319208145, -0.3981766998767853, -0.0569973848760128, -0.411205530166626, -0.08355822414159775, -0.3046160936355591, -0.44083118438720703, 0.534590482711792, -0.43204063177108765, 0.3105882704257965, 0.17648151516914368, 0.4889410138130188, -0.09331042319536209, -0.5048937201499939, -0.48608294129371643, -0.47866570949554443, 0.8615883588790894, -0.8041141629219055, 0.041593726724386215, -0.05775252729654312, -0.3054961562156677, -0.11279290169477463, -0.3804992437362671, -0.6695179343223572, -0.1662190556526184, -0.03413715586066246, -0.06888959556818008, -0.12944425642490387, -0.25199148058891296, 0.2761540710926056, 0.11275240033864975, -0.5671466588973999, 0.5063338875770569, -0.4177824854850769, 0.03301648795604706, 0.805711030960083, 0.2720333933830261, 0.2765785753726959, -0.09387558698654175, 0.10828318446874619, -0.09347271919250488, -0.8973937630653381, -0.17387157678604126, 0.8091350793838501, 0.3522680997848511, -0.26312538981437683, 0.7646118998527527, 0.004830004647374153, 0.34599554538726807, -0.02252034656703472, -0.1876804679632187, 0.2832624912261963, -0.3030492663383484, 0.31900644302368164, 0.4890099763870239, 0.9578661322593689, 0.3641810715198517, 0.39129072427749634, 0.10347259789705276, 0.08426737040281296, -0.11533316969871521, 0.3226267099380493, -0.7877928614616394, 0.10389019548892975, 0.23159517347812653, -0.608860969543457, -0.46123218536376953, 0.1591685712337494, -0.7303367257118225, -0.6454187035560608, -0.13393233716487885, 0.09898610413074493, -0.2674717605113983, -0.2565102279186249, -0.31712743639945984, -0.17625954747200012, 0.2517504394054413, 0.33167192339897156, -1.081640362739563, 0.3490074872970581, 0.7080180048942566, 0.8307749629020691, -0.5968922972679138, -0.21883593499660492, -0.37019312381744385, 0.16875454783439636, -0.36090099811553955, 0.43615323305130005, -0.5362200736999512, -0.5096146464347839, 0.09898564219474792, -0.21493563055992126, 0.19981059432029724, -0.29073065519332886, 0.49813613295555115, 0.039056453853845596, 0.29203900694847107, -0.5420346856117249, -0.5172399878501892, 0.02071789652109146, -0.05387704819440842, -0.3869191110134125, 0.8841094970703125, -0.07000511884689331, -0.8803956508636475, 0.38109374046325684, -0.5938954949378967, -0.29644590616226196, -0.010887966491281986, -0.6466566920280457, -0.35642197728157043, 0.22053636610507965, 0.014253053814172745, 0.5719326734542847, -0.28254562616348267, 0.4519820213317871, -0.3543644845485687, -0.11598615348339081, 0.6892931461334229, -0.04639405012130737, 0.306918203830719, 0.0436507984995842, -0.5076019763946533, 0.3628639280796051, -0.6405726075172424, -0.33690300583839417, -0.0734613761305809, -0.1802256852388382, -0.4042338728904724, 0.24615561962127686, 0.09270819276571274, 0.13678483664989471, 0.23407411575317383, -0.7460573315620422, 0.1702672839164734, -0.2815989553928375, 0.42898884415626526, 0.7209095358848572, -0.2636635899543762, 0.4904043674468994, -0.394962877035141, 0.37155961990356445, -0.058868441730737686, -0.22093552350997925, -0.16961254179477692, -0.5450202822685242, -0.5734180808067322, -0.4404509663581848, 0.14051131904125214, 0.11278202384710312, -0.20624783635139465, 0.38193389773368835, -0.27487826347351074, -0.5972849726676941, -0.47908318042755127, 0.20770086348056793, 0.4299556314945221, 0.45874378085136414, 0.1337677538394928, -0.2048359513282776, -0.4641472399234772, -1.265167236328125, -0.40680399537086487, 0.033885445445775986, -0.16033920645713806, 0.30360648036003113, 0.8892439007759094, -0.17966870963573456, 0.8524234890937805, -0.2747066020965576, 0.05736830458045006, -0.3001183867454529, 0.32654717564582825, 0.1475628912448883, 0.44171831011772156, 0.5967926979064941, -0.43970397114753723, -0.3655029535293579, -0.1175638809800148, -0.8599870204925537, -0.5162937045097351, 0.2916412651538849, 0.10715316236019135, 0.3587382137775421, 0.45056450366973877, -0.47113296389579773, 0.27697455883026123, 0.5676170587539673, -0.384208083152771, 0.7594718933105469, 0.054842766374349594, -0.00023450655862689018, -0.6668437123298645, 0.12153096497058868, 0.3503888249397278, -0.1349971443414688, -0.6317708492279053, -0.16971555352210999, -0.01275743916630745, 0.10730288922786713, -0.18779025971889496, 0.7568654417991638, -0.6712219715118408, -0.1262134164571762, -0.316152423620224, 0.17979523539543152, 0.0056611960753798485, -0.13925227522850037, 0.3602813482284546, 0.556354284286499, 0.34885141253471375, -0.6200910806655884, -0.261685848236084, 0.27026882767677307, -0.30283400416374207, 0.4617519676685333, -0.8198890686035156, -0.02923363260924816, -0.30509278178215027, 0.33022060990333557, -1.0360544919967651, -0.4023023247718811, -0.13035397231578827, -0.3013076186180115, 0.38961607217788696, 0.46166402101516724, -0.5142608284950256, -0.2920825183391571, -0.5711269974708557, 0.5535768270492554, 0.2994949519634247, -0.2038884162902832, 0.4581858813762665, 0.2770708501338959, -0.6836138963699341, -0.5433796048164368, -0.5267611145973206, -0.0035786214284598827, -0.19613873958587646, -0.6275967955589294, 0.41339635848999023, -0.13577285408973694, -0.7067488431930542, -0.3089580237865448, 0.007301182020455599, 0.4118092358112335, -0.09337110072374344, 0.2654181122779846, 0.505862832069397, -0.14409908652305603, -0.02842315100133419, 0.2150915414094925, 0.3194533884525299, 0.0653572529554367, -0.016394471749663353, 0.6317620873451233, -0.12021847814321518, -0.06894995272159576, -0.17890548706054688, 0.6061631441116333, 0.6403281688690186, 0.06372077763080597, 0.8091862797737122, 0.41084352135658264, 0.009313199669122696, 0.03658047690987587, -0.5766850709915161, -0.39421889185905457, -0.34603607654571533, 0.3441779315471649, 0.011002429760992527, -1.2379933595657349, 0.5570951700210571, 0.37334734201431274, 0.19937382638454437, 0.554818868637085, 0.7333518266677856, -0.14353178441524506, 1.0669145584106445, 0.6810237169265747, 0.17545340955257416, 0.1938127726316452, 0.14145736396312714, 0.06326476484537125, -1.06893789768219, -0.16407084465026855, -0.8418454527854919, -0.4100325107574463, -0.7138010859489441, -0.121441550552845, 0.46127113699913025, -0.4533301889896393, -0.5070314407348633, -0.05606641247868538, -0.7242575883865356, 0.06021255627274513, 0.37433022260665894, -0.3087914288043976, 0.34997716546058655, -0.0005046837613917887, 0.00679726293310523, -0.4617665112018585, -0.47959449887275696, -0.8077036738395691, 1.323485016822815, 0.698829174041748, 0.7102735042572021, 0.28565964102745056, 0.4133414626121521, 0.16258877515792847, 0.6230792999267578, -0.44150277972221375, 0.4620034098625183, -0.09026045352220535, -0.6947450041770935, -0.19674843549728394, -0.38426443934440613, -0.754753589630127, 0.25161880254745483, -0.4654441773891449, -1.0095359086990356, 0.4045468866825104, -0.12892106175422668, -0.09676879644393921, -0.02117961458861828, -0.18951624631881714, 0.5142396092414856, -0.32207033038139343, -0.45625439286231995, 0.039304327219724655, -0.6772828698158264, 0.7316178679466248, -0.3307449519634247, 0.3608604371547699, -0.19831372797489166, -0.3419318199157715, 0.7850780487060547, -0.2775830924510956, 0.9242269992828369, 0.2939631938934326, -0.42336687445640564, -0.15874607861042023, 0.23999986052513123, 0.37215107679367065, 0.06632060557603836, -0.09816505014896393, 0.47622618079185486, -0.05524355173110962, -0.11932791024446487, 0.0016662349225953221, 0.8541591763496399, -1.0022156238555908, -0.49255725741386414, -0.6980348229408264, -0.7840896844863892, -0.06285272538661957, 0.0913061648607254, 0.4336811602115631, 0.4624968469142914, -0.2705094814300537, 0.222789004445076, 0.7598210573196411, -0.6187679171562195, 0.5141947865486145, 0.5673108100891113, -0.49033278226852417, -0.2920457422733307, 0.5164146423339844, 0.07711223512887955, 0.46618789434432983, 0.2485256791114807, 0.08492130041122437, -0.16014143824577332, -0.5802882313728333, -0.17871828377246857, 0.5610026121139526, -0.37000536918640137, 0.08803173899650574, -1.0063703060150146, -0.18879780173301697, -0.6481549739837646, -0.2742503881454468, -0.3219548761844635, -0.430483341217041, -0.38925936818122864, 0.14525152742862701, 0.2839585244655609, 0.8535860180854797, 0.26746949553489685, 0.309519499540329, -0.5151721835136414, 0.10523756593465805, -0.09213176369667053, -0.10031146556138992, 0.023615945130586624, -0.5555082559585571, 0.09270399808883667, -0.38023364543914795, -0.5038909316062927, -0.9147481918334961, 0.546764075756073, 0.12076651304960251, 0.31921204924583435, 0.3663046360015869, -0.2803410589694977, 0.03826143965125084, -0.4677787125110626, 0.9534883499145508, 0.4629892110824585, -0.8294594287872314, 0.2590917646884918, -0.7810675501823425, 0.46139630675315857, 0.39153558015823364, 0.4839290380477905, -0.39574146270751953, -0.8654006719589233, -0.4949846863746643, -0.9495024085044861, 0.47387707233428955, 0.37979140877723694, 0.12201590090990067, -0.14538629353046417, 0.28125545382499695, 0.59989333152771, 0.6045357584953308, -0.9017658233642578, -0.42497318983078003, -0.10959815233945847, -0.4321300983428955, -0.0344848595559597, -0.4023348391056061, -0.29564234614372253, -0.19274860620498657, 0.6462998986244202, -0.28847602009773254, 0.10261698067188263, 0.3357081711292267, 0.16936452686786652, 0.08163896203041077, 0.4340537190437317, 1.0145072937011719, 0.8506341576576233, -0.11583113670349121, 0.13236406445503235, -0.05992475524544716, -0.6018028855323792, 0.07370717078447342, -0.005142230540513992, -0.42140862345695496, 0.049634501338005066, 0.4983571767807007, 0.3965575397014618, 0.22432449460029602, -0.6293802261352539, 0.3588865399360657, -0.1940455287694931, -0.3560541868209839, -0.3086540997028351, 0.19469982385635376, 0.17872372269630432, 0.14039567112922668, 0.5374109745025635, -0.0372285358607769, 0.1463330090045929, -0.7120947241783142, -0.4226516783237457, 0.6233140230178833, -0.1930677443742752, -0.22783637046813965, 0.7698310613632202, 0.25794681906700134, -0.012954292818903923, 0.2887008488178253, 0.06376538425683975, -0.2793150842189789, 0.48983973264694214, 0.5366832613945007, 0.894263505935669, 0.03171869367361069, 0.12077528983354568, 0.4093306064605713, 0.3729616105556488, -0.1462925225496292, 0.18171310424804688, 0.2736209034919739, -0.6477677822113037, -0.4328893721103668, -0.7763625979423523, -0.4127837121486664, 0.10895872116088867, -0.4395846426486969, 0.327858567237854, -0.31447046995162964, -0.1324448585510254, 0.28933611512184143, -0.25777262449264526, -0.48060372471809387, -0.2592970132827759, 0.3965589106082916, 0.7074925303459167, -0.6597869992256165, 0.44573870301246643, 0.5939403176307678, -0.13890109956264496, -0.6845353245735168, -0.17641128599643707, 0.3635351061820984, -0.297335147857666, 0.8673955798149109, 0.22975753247737885, 0.07705214619636536, -0.2525050938129425, -0.72365802526474, -0.9328312277793884, 0.8543825149536133, 0.3279639780521393, -0.8602074384689331, 0.10222569853067398, 0.1308482140302658, 0.6177940964698792, -0.841982901096344, 0.473198264837265, 0.5167718529701233, 0.6492919921875, -0.1436949223279953, -1.1049423217773438, 0.06396663188934326, -0.28431642055511475, 0.05723364278674126, -0.020798135548830032, -0.6310710906982422, 1.0147818326950073, -0.06770479679107666, 0.23322123289108276, 0.25726810097694397, 0.8905031681060791, 0.6273394823074341, 0.21500343084335327, 0.03540648892521858, 0.162870854139328, 0.8380778431892395, -0.11759606003761292, 1.026560664176941, -0.17004042863845825, -0.1768038123846054, 0.9770137667655945, -0.5868076682090759, 0.45862069725990295, 0.49544477462768555, -0.04724782332777977, 0.7092263102531433, 0.30637291073799133, -0.02472146786749363, 0.12782737612724304, 0.2927563190460205, -0.29984644055366516, 0.12369908392429352, -0.1531449258327484, -0.5460630655288696, 0.4738634526729584, 0.35537537932395935, -0.7281789183616638, 0.08464828133583069, -0.12346498668193817, 0.3691616356372833, 0.13376611471176147, -0.4211006760597229, 0.5869322419166565, 0.2826841473579407, -0.8903976678848267, 0.060774412006139755, 0.06548874825239182, 0.9445284605026245, -0.6361767053604126, 0.18586447834968567, -0.10644958168268204, 0.03420664742588997, -0.5288829803466797, -0.9385470151901245, 0.03084954433143139, 0.30936989188194275, -0.5213865637779236, -0.18126718699932098, 0.6810944080352783, -0.42683109641075134, -0.5508519411087036, -0.1146240234375, 0.37694963812828064, 0.3428938090801239, 0.13659432530403137, -0.2219773828983307, 0.27787140011787415, -0.12117275595664978, -0.1138424426317215, 0.6345252990722656, 0.21541890501976013, -0.23125463724136353, 0.5850287079811096, 0.4659208655357361, 0.2755914330482483, 0.04717850685119629, 0.11133560538291931, 0.47490671277046204, -0.5580676198005676, -0.18949104845523834, -1.115884780883789, 0.3731708526611328, -0.25155067443847656, -0.47772467136383057, 1.1043200492858887, 0.7047015428543091, 0.21351982653141022, -0.14217129349708557, 0.9059569835662842, -0.021948710083961487, 0.4154967665672302, -0.14844109117984772, 0.7421202659606934, -0.30330708622932434, 0.25077685713768005, -0.6889747977256775, -1.1465119123458862, -0.1462833136320114, 0.3879229426383972, -0.3069715201854706, 0.16034047305583954, 0.6594061255455017, 0.4080323278903961, 0.27924874424934387, 0.2090035378932953, -0.08189507573843002, 0.3816100060939789, 0.3894367814064026, 0.15652884542942047, 0.8292680978775024, -0.007644092198461294, 0.11311997473239899, 0.1603446751832962, -0.35266736149787903, -0.15578676760196686, -1.2278072834014893, -0.9534632563591003, -0.2632351517677307, -0.4718626141548157, -0.3760240375995636, -0.326236367225647, 0.8136778473854065, 0.30383360385894775, -0.5788642764091492, -0.3490809202194214, 0.06405527144670486, 0.09052716940641403, 0.0794970914721489, -0.2941041886806488, 0.16955848038196564, -0.08038823306560516, -0.6543578505516052, 0.021888654679059982, 0.5922751426696777, -0.11888422816991806, -0.6349983215332031, -0.03314729034900665, 0.012465769425034523, 0.27974042296409607, 0.5955536961555481, 0.18462112545967102, -0.6666066646575928, -0.36417192220687866, 0.10838668048381805, -0.35147830843925476, -0.0391809307038784, 0.7105199098587036, -0.4676249921321869, 0.2313494086265564, 0.45120787620544434, 0.13134339451789856, 0.4147546887397766, -0.1784888505935669, 0.89387047290802, -0.7181963920593262, -0.07831161469221115, 0.2619507610797882, 0.4440479278564453, 0.5377719402313232, -0.3030383586883545, 0.4399343729019165, 0.02819724939763546, -0.8278888463973999, -1.0495175123214722, -0.00574245722964406, -1.114135980606079, -0.23190349340438843, 1.2853738069534302, 0.3257885277271271, -0.182295560836792, -0.027854453772306442, -0.20818011462688446, -0.023970868438482285, -0.4885397255420685, 0.7358211278915405, 1.0035405158996582, -0.39799946546554565, -0.023861564695835114, -0.7431116700172424, 0.4575878977775574, 0.30221766233444214, -0.8143367767333984, 0.024876030161976814, 0.5169230699539185, 0.3188524544239044, 0.36276039481163025, 0.5290634036064148, -0.43303707242012024, 0.15318378806114197, -0.29484841227531433, 0.3743760883808136, 0.23583123087882996, -0.10693075507879257, -0.12143190205097198, 0.1451593041419983, 0.1035907119512558, 0.7055715918540955 ]
http://arxiv.org/abs/2406.19493v1
http://arxiv.org/pdf/2406.19493v1
Development and Evaluation of a Retrieval-Augmented Generation Tool for Creating SAPPhIRE Models of Artificial Systems
2024-06-27T19:20:09
2024-06-27T19:20:09
Anubhab Majumder, Kausik Bhattacharya, Amaresh Chakrabarti
cs.CL
cs.CL, cs.AI
Representing systems using the SAPPhIRE causality model is found useful in supporting design-by-analogy. However, creating a SAPPhIRE model of artificial or biological systems is an effort-intensive process that requires human experts to source technical knowledge from multiple technical documents regarding how the system works. This research investigates how to leverage Large Language Models (LLMs) in creating structured descriptions of systems using the SAPPhIRE model of causality. This paper, the second part of the two-part research, presents a new Retrieval-Augmented Generation (RAG) tool for generating information related to SAPPhIRE constructs of artificial systems and reports the results from a preliminary evaluation of the tool's success - focusing on the factual accuracy and reliability of outcomes.
[ -0.11126276850700378, -0.6179108023643494, 0.7512143850326538, 0.31707122921943665, -0.18790559470653534, 0.07204417139291763, -0.06553567200899124, -0.3202011287212372, 0.41770678758621216, 0.3035980463027954, -0.33984246850013733, -0.19065789878368378, -0.21159735321998596, 0.13253700733184814, -0.6494183540344238, 0.8715527653694153, 0.08115143328905106, 0.16962389647960663, -0.01704443246126175, 0.3585384488105774, -0.6487786173820496, -0.25722646713256836, -0.6605314612388611, -0.4128859043121338, 0.5681752562522888, 0.11684435606002808, 0.6394039988517761, 0.41756078600883484, 0.852755069732666, 0.3244612514972687, -0.051994577050209045, 0.27912527322769165, -0.37967145442962646, 0.2972864806652069, -0.523004412651062, -0.3677746653556824, -0.502970278263092, 0.10871639847755432, 0.8409901261329651, 0.45510631799697876, -0.3387238681316376, 0.5475161075592041, 0.14598770439624786, 0.2576944828033447, -0.5824620723724365, 0.10741226375102997, -0.6767711043357849, 0.19020481407642365, -0.2508736550807953, -0.4774557054042816, -0.7055732607841492, -0.46419620513916016, -0.25582680106163025, -0.6582651138305664, -0.04006364941596985, 0.19845274090766907, 0.7291454076766968, 0.2884899973869324, -0.3125116229057312, -0.2511582374572754, -1.234113335609436, 0.8817219138145447, -0.8382044434547424, 0.21923735737800598, 0.19843025505542755, 0.4689558148384094, -0.3858346939086914, -0.7924533486366272, -0.617922306060791, -0.6247168779373169, -0.3213585913181305, 0.12435603886842728, 0.018337998539209366, -0.22334173321723938, 0.49396276473999023, 0.12157510221004486, -0.3291206955909729, -0.15758483111858368, -0.5990651249885559, -0.1669074147939682, 0.7694321870803833, 0.42959490418434143, 0.4643048942089081, -0.7568471431732178, -0.3907109200954437, 0.1656343638896942, -0.7418597340583801, -0.37115564942359924, 0.13471952080726624, 0.36784180998802185, 0.15884728729724884, 1.0353765487670898, 0.02987677790224552, 0.6799121499061584, 0.011625750921666622, -0.32185155153274536, -0.09754234552383423, -0.33667388558387756, -0.2229657620191574, 0.03526102378964424, 0.587578296661377, 0.03687373921275139, -0.23783473670482635, -0.4636918604373932, -0.39909377694129944, 0.1698487251996994, 0.48904797434806824, -0.7943251132965088, 0.06825052946805954, 0.08928007632493973, -0.487559974193573, -0.4267353117465973, 0.0896104946732521, -0.364086389541626, -0.49222299456596375, -0.5137729048728943, 0.5406453609466553, -0.48916980624198914, -0.25690174102783203, -0.09028962254524231, -0.2852681875228882, 0.3944718837738037, 0.06144255772233009, -0.4609093964099884, 0.30282124876976013, 0.7147114872932434, 0.6038225293159485, -0.15747839212417603, -0.08311063051223755, -0.6284056305885315, 0.5055691599845886, -0.5817649960517883, 0.7679952383041382, -0.46179255843162537, -0.6734346747398376, -0.38671013712882996, -0.31156986951828003, 0.16209231317043304, -0.40579289197921753, 0.7714962959289551, -0.6464363932609558, -0.14693711698055267, 0.09248746931552887, -0.4160749912261963, 0.011347470805048943, 0.046167366206645966, -0.5104824900627136, 0.9386261105537415, 0.010834803804755211, -0.6819445490837097, 0.3268029987812042, -0.3380036950111389, -0.3501461446285248, 0.391639769077301, -0.5317096710205078, -0.14872276782989502, 0.31762537360191345, -0.46602341532707214, 0.3943397104740143, -0.6450687050819397, 0.6591118574142456, -0.24466338753700256, -0.24786730110645294, 0.39762988686561584, -0.25822892785072327, 0.5056926012039185, 0.1234239861369133, -0.35728320479393005, 0.005068256985396147, -0.9847797751426697, 0.11769220978021622, -0.08300944417715073, -0.6075463891029358, -0.4778723418712616, 0.4823285639286041, -0.23716318607330322, 0.1707371324300766, 0.2948375940322876, -0.7228977084159851, 0.21831493079662323, -0.23955613374710083, 0.2002863734960556, 0.6033868193626404, 0.05563686043024063, 0.3031908869743347, -0.09718569368124008, 0.23503097891807556, -0.324553906917572, 0.2089942991733551, 0.07476706057786942, -0.2617862820625305, -0.6874618530273438, -0.048230063170194626, 0.32681283354759216, 0.704094409942627, -0.7580013275146484, 0.1711035519838333, -0.34554439783096313, -0.5983545780181885, 0.08159264177083969, -0.04376085102558136, 0.6990725994110107, 0.6084402203559875, 0.08246258646249771, -0.3602072298526764, -0.5930557250976562, -1.1623502969741821, -0.07731293886899948, -0.24766720831394196, -0.16350629925727844, 0.7037478685379028, 0.5288903117179871, -0.27024343609809875, 0.9318593740463257, -0.5149970054626465, 0.12846146523952484, 0.11830940842628479, 0.3076331615447998, 0.2534622848033905, 0.4635225236415863, 0.30043163895606995, -0.6542593240737915, -0.15064595639705658, 0.09064415842294693, -0.9712154865264893, 0.1367347240447998, 0.1289641410112381, -0.5555183291435242, 0.026764588430523872, 0.41175979375839233, -0.6275102496147156, 0.5693410634994507, 0.22877635061740875, -0.40801000595092773, 1.0709890127182007, -0.31345072388648987, 0.30903568863868713, -1.2013120651245117, 0.6139891147613525, 0.0727248415350914, 0.04926769807934761, -0.48253029584884644, 0.13508570194244385, -0.03605389595031738, -0.37004774808883667, -0.25521424412727356, 0.6446321606636047, -0.44765952229499817, -0.37522515654563904, -0.12886691093444824, 0.28677642345428467, -0.19954529404640198, 0.2985166609287262, -0.12159687280654907, 0.9712684750556946, 0.002348038600757718, -0.823647141456604, 0.46407920122146606, 0.3650204837322235, -0.2425103783607483, 0.6834033727645874, -0.881207287311554, 0.04772738367319107, 0.04196237772703171, 0.014951396733522415, -0.39004188776016235, -0.4363762140274048, 0.0627884492278099, -0.5800008177757263, 0.32464951276779175, -0.1315213143825531, -0.5358802080154419, -0.38201257586479187, 0.0163786169141531, 0.29567256569862366, 0.616873562335968, -0.3035133183002472, 1.0072895288467407, 0.5190721750259399, -0.3082317113876343, -0.42458197474479675, -0.4955269396305084, 0.27407750487327576, -0.1251116842031479, -0.7446643710136414, 0.4055526554584503, 0.03825347498059273, -0.6846230030059814, 0.1992293894290924, 0.134564608335495, 0.09314896166324615, 0.17741182446479797, 0.26681607961654663, 0.6257250308990479, -0.2949884831905365, 0.3356758952140808, 0.012851743027567863, -0.1677972376346588, 0.20555716753005981, 0.027967477217316628, 0.43579351902008057, 0.17339807748794556, -0.39861419796943665, -0.24461324512958527, 0.21681228280067444, 0.23405620455741882, -0.23506268858909607, 0.7527714967727661, 0.26386186480522156, -0.431283175945282, -0.42984074354171753, -0.4825894832611084, -0.09933961182832718, -0.4343734681606293, 0.2504909932613373, -0.3736363351345062, -0.28752899169921875, 0.3746536374092102, -0.26263347268104553, 0.15021009743213654, 0.6580080389976501, 0.2594526410102844, 0.05506956949830055, 1.0498961210250854, 0.692068338394165, 0.08751356601715088, 0.2834167778491974, -0.0836598202586174, 0.2096404731273651, -1.1626882553100586, -0.34347692131996155, -0.764670729637146, 0.017028674483299255, -0.3283820152282715, -0.5799464583396912, 0.5434751510620117, 0.35812708735466003, -0.5896031856536865, 0.26615676283836365, -0.5435327291488647, -0.022264137864112854, 0.5567609071731567, 0.3733369708061218, 0.29909172654151917, 0.20901449024677277, -0.21143673360347748, 0.06637535244226456, -0.49791306257247925, -0.84354168176651, 1.0314234495162964, -0.0890660509467125, 0.9672327637672424, 0.37295129895210266, 0.5021042227745056, 0.46487829089164734, 0.3483770787715912, -0.5256957411766052, 0.7228426933288574, -0.20185530185699463, -0.6289727091789246, -0.3003288805484772, -0.4495963454246521, -0.9079827666282654, -0.14403004944324493, -0.5624494552612305, -0.5682888627052307, 0.20887655019760132, 0.14107224345207214, -0.593311607837677, 0.16661691665649414, -0.3659682273864746, 0.2333051860332489, -0.3330386281013489, -0.6733642816543579, -0.5264284014701843, -0.33920755982398987, 0.7553094625473022, -0.2871266305446625, 0.3324702978134155, 0.12823650240898132, -0.01299257855862379, 0.6330655217170715, -0.404657781124115, 0.7132377624511719, 0.028558069840073586, -0.039269253611564636, 0.3364877998828888, 0.430534303188324, 0.5236001014709473, 0.05741680786013603, -0.3920138478279114, -0.3293669819831848, -0.24438396096229553, -0.06965368986129761, -0.7023946642875671, 0.6621259450912476, -0.5538913607597351, -0.6870911717414856, -0.24247746169567108, -0.31756946444511414, -0.13870254158973694, 0.31786975264549255, -0.23714864253997803, 0.9299178719520569, -0.3200250566005707, -0.06902400404214859, 0.7612732648849487, -0.6398705244064331, 0.017128806561231613, 0.5678572058677673, -0.4462055563926697, -0.28840482234954834, 1.0619442462921143, -0.116621233522892, 0.06408407539129257, 0.0936705693602562, 0.02285226434469223, 0.20997188985347748, -0.3670262396335602, -0.5423922538757324, 0.39326462149620056, -0.39181068539619446, -0.25045955181121826, -0.23883625864982605, -0.6284811496734619, -0.30409789085388184, -0.016527211293578148, -0.19424912333488464, -0.6576734781265259, -0.172310471534729, 0.04565715417265892, 0.26724177598953247, 1.2949211597442627, -0.4148734509944916, -0.019014131277799606, -0.8965067267417908, 0.39448392391204834, 0.3504487872123718, 0.36828848719596863, -0.02815711870789528, -0.48976078629493713, -0.4960392415523529, -0.02771291323006153, -0.39936476945877075, -0.9288824796676636, 0.3733718991279602, 0.039783354848623276, 0.8367105722427368, -0.00041792981210164726, -0.21198076009750366, 0.5276138186454773, -0.8193254470825195, 0.8363699316978455, 0.11113325506448746, -0.7370449900627136, 0.7949989438056946, -0.4633447825908661, -0.37297388911247253, 0.05383986234664917, 0.19219274818897247, -0.3377934694290161, -0.11587762832641602, -0.6286169290542603, -0.8256605863571167, 0.540898323059082, 0.20161601901054382, 0.05155108496546745, -0.03462202101945877, 0.8065342903137207, -0.1570982187986374, 0.041113268584012985, -0.4170757234096527, -0.32025471329689026, 0.40245673060417175, -0.0654766708612442, -0.023663334548473358, -0.6070985794067383, -0.2295272946357727, 0.2160012125968933, 1.1548991203308105, 0.22192487120628357, 0.2668286859989166, 0.2613373100757599, -0.1339440941810608, -0.02450433559715748, 0.23099659383296967, 0.4396054744720459, 0.6605451703071594, -0.07067560404539108, -0.024773918092250824, 0.003509625792503357, -0.35488027334213257, 0.16102975606918335, 0.1907275766134262, -0.4692187011241913, 0.0058927983045578, 0.20259985327720642, 0.6998893022537231, 0.35323143005371094, -0.4889533519744873, 0.06751091033220291, -0.09005565941333771, 0.15445004403591156, -0.4358676075935364, 0.17054662108421326, -0.045637134462594986, 0.3952038586139679, 0.4912172257900238, 0.03864278644323349, 0.4499746263027191, -0.4857773780822754, 0.3007107973098755, 0.6662558317184448, -0.039784085005521774, -0.20094077289104462, 0.6799036860466003, 0.3005492687225342, -0.6784322261810303, 0.6943782567977905, -0.3329930305480957, -0.2639402449131012, 0.617148756980896, 0.4089356064796448, 0.721429169178009, -0.30771148204803467, 0.2816973924636841, 0.726333737373352, 0.19950829446315765, -0.08232799917459488, 0.1148563027381897, -0.04499635845422745, -0.5134370923042297, -0.6650136113166809, -0.9255554676055908, -0.35169678926467896, -0.33938509225845337, -0.7004268765449524, 0.4277568757534027, -0.23842452466487885, -0.5855770111083984, 0.021437207236886024, -0.10961908102035522, -0.33715179562568665, 0.13279098272323608, 0.10909371078014374, 0.9372345209121704, -0.7419763207435608, 0.3383026719093323, 0.5441320538520813, -0.6994158625602722, -1.4691797494888306, -0.4323321580886841, -0.4007650911808014, -0.6463386416435242, 1.2663493156433105, -0.653577446937561, -0.40418291091918945, -0.0806935727596283, -0.5118719339370728, -1.2511061429977417, 1.3503055572509766, 0.29735061526298523, -0.3604363799095154, -0.1963392198085785, -0.024827977642416954, 0.568975031375885, -0.04779331758618355, 0.3405357599258423, 0.3720734715461731, 0.3232835829257965, 0.0783400610089302, -1.1365079879760742, 0.09688472002744675, -0.42507991194725037, 0.2703356146812439, 0.11343560367822647, -0.4619947671890259, 0.9515212178230286, -0.09742188453674316, -0.5081584453582764, 0.32515949010849, 0.684808611869812, 0.6668280363082886, -0.02864324115216732, 0.1393260657787323, 0.38193249702453613, 0.5114247798919678, 0.1233818456530571, 1.2963237762451172, -0.5917767882347107, 0.33829423785209656, 1.1756869554519653, -0.18218238651752472, 0.9827523827552795, 0.34145742654800415, -0.2772781550884247, 0.7943742871284485, 0.24964214861392975, 0.11454750597476959, 0.10839861631393433, 0.3520212471485138, -0.32655420899391174, -0.2421351671218872, -0.07380148768424988, -0.21242572367191315, 0.05401752144098282, 0.50352543592453, -0.5096051096916199, -0.15576627850532532, -0.1401423215866089, -0.19331824779510498, -0.030433770269155502, -0.3751290738582611, 0.7144412398338318, 0.15269359946250916, -0.8288922309875488, 0.17027439177036285, 0.16622896492481232, 0.40656793117523193, -0.42045530676841736, -0.3690807819366455, -0.2057362198829651, 0.18001310527324677, -0.3327976167201996, -0.6642293334007263, 0.3891885280609131, 0.23454549908638, -0.3956417739391327, 0.19995097815990448, 0.9729733467102051, -0.05628278851509094, -0.9096180200576782, 0.10634337365627289, 0.3749663233757019, 0.42718714475631714, 0.5710864067077637, -0.5523505806922913, -0.010493585839867592, -0.15525953471660614, -0.26621565222740173, -0.020350219681859016, 0.2848811745643616, -0.19748133420944214, 0.8107300996780396, 0.398406982421875, 0.4736315906047821, 0.29219186305999756, -0.08955376595258713, 0.6781599521636963, -0.6528113484382629, 0.030754581093788147, -0.6060736775398254, 0.5329079031944275, -0.20630693435668945, 0.1348259299993515, 0.9944477081298828, 0.7444714903831482, 0.3485710024833679, 0.07526838779449463, 0.9431126713752747, -0.2428145855665207, 0.8255239129066467, -0.37648412585258484, 0.6152536273002625, -0.5010561943054199, 0.4225091338157654, -0.32696160674095154, -0.822797954082489, -0.09183833003044128, 0.5920417308807373, -0.2012302279472351, 0.04097446799278259, 0.5094507336616516, 0.9354739189147949, -0.08677265793085098, -0.17565035820007324, 0.14195691049098969, 0.565105676651001, 0.30360475182533264, 0.09904669225215912, 1.0576248168945312, -0.3512665331363678, 0.3579547703266144, -0.07676386833190918, -0.3598414361476898, 0.1223684549331665, -0.8349021673202515, -0.4498388171195984, -0.4450666606426239, -0.03983213007450104, -0.5996219515800476, 0.08639686554670334, 0.5350322127342224, 0.47667622566223145, -0.38939857482910156, -0.4400673508644104, -0.0296142790466547, -0.12164322286844254, 0.4038645625114441, -0.16287243366241455, 0.36212390661239624, -0.5718805193901062, -0.457220196723938, 0.3004254102706909, 0.30275851488113403, -0.1545732468366623, -0.6275352835655212, 0.03582116216421127, 0.06613727658987045, 0.45186519622802734, 0.8383893370628357, 0.3432265520095825, -0.4262484908103943, -0.2399471551179886, 0.058995749801397324, -0.3109796941280365, -0.42881831526756287, 0.8852646946907043, -0.854485273361206, 0.022365108132362366, 0.28841444849967957, 0.3199564516544342, 0.47650524973869324, 0.041917260736227036, 0.8029772043228149, -0.31515026092529297, -0.10310214757919312, -0.014938052743673325, 0.46377894282341003, 0.23587021231651306, -0.4242130517959595, 0.6046878695487976, 0.037016384303569794, -0.8589522242546082, -0.8987097144126892, 0.2918192148208618, -0.8369783163070679, -0.2349461317062378, 1.3629398345947266, 0.11287659406661987, -0.46859386563301086, 0.12233316153287888, -0.4263167679309845, 0.3758777976036072, -0.04206052049994469, 0.7013810873031616, 0.3322310149669647, -0.2605672776699066, 0.6116210222244263, -0.46751004457473755, 0.3293144404888153, 0.1197754368185997, -0.7870795726776123, -0.11173639446496964, 0.8369047045707703, 0.47260767221450806, 0.44208824634552, 0.5162971019744873, -0.16996259987354279, 0.20292331278324127, 0.1698782593011856, 0.43232953548431396, 0.11672426015138626, -0.15996630489826202, -0.019284561276435852, -0.1443903148174286, 0.1934816539287567, 0.3515167832374573 ]
http://arxiv.org/abs/2406.19486v1
http://arxiv.org/pdf/2406.19486v1
LoPT: Low-Rank Prompt Tuning for Parameter Efficient Language Models
2024-06-27T19:02:41
2024-06-27T19:02:41
Shouchang Guo, Sonam Damani, Keng-hao Chang
cs.CL
cs.CL, cs.AI, cs.ET, cs.LG, eess.SP
In prompt tuning, a prefix or suffix text is added to the prompt, and the embeddings (soft prompts) or token indices (hard prompts) of the prefix/suffix are optimized to gain more control over language models for specific tasks. This approach eliminates the need for hand-crafted prompt engineering or explicit model fine-tuning. Prompt tuning is significantly more parameter-efficient than model fine-tuning, as it involves optimizing partial inputs of language models to produce desired outputs. In this work, we aim to further reduce the amount of trainable parameters required for a language model to perform well on specific tasks. We propose Low-rank Prompt Tuning (LoPT), a low-rank model for prompts that achieves efficient prompt optimization. The proposed method demonstrates similar outcomes to full parameter prompt tuning while reducing the number of trainable parameters by a factor of 5. It also provides promising results compared to the state-of-the-art methods that would require 10 to 20 times more parameters.
[ -0.46535345911979675, -0.9820191264152527, 0.5060246586799622, 0.13720890879631042, -0.4215904772281647, -0.2097506821155548, -0.2881796360015869, -0.00969393365085125, -0.019096283242106438, 0.37517520785331726, -0.7634738683700562, -0.3655635714530945, -0.44947177171707153, 0.22577890753746033, 0.15645958483219147, 0.8311578035354614, 0.21957813203334808, -0.04891831427812576, 0.007055612746626139, 0.024776378646492958, -0.5363524556159973, -0.38109540939331055, -1.1093372106552124, 0.026456890627741814, 0.9247413277626038, 0.780302882194519, 0.506520688533783, 0.8978392481803894, 0.4341138005256653, 0.23557862639427185, -0.40479961037635803, 0.32679256796836853, -0.5484414100646973, 0.3403412401676178, 0.10074867308139801, -0.33311089873313904, -0.6613144278526306, 0.16493871808052063, 0.6488161683082581, 1.0268272161483765, 0.2203005999326706, 0.2116125077009201, 0.14574868977069855, 0.45146653056144714, -0.7232498526573181, -0.005181275308132172, -0.47147127985954285, -0.2289307862520218, -0.015788763761520386, -0.4755565822124481, -0.48245149850845337, -0.5703554153442383, -0.26557397842407227, -0.5622074007987976, 0.04688698798418045, 0.4674662947654724, 0.7409035563468933, 0.3830870985984802, -0.2149372547864914, 0.1418481022119522, -0.3564850986003876, 0.8938544988632202, -0.8451493978500366, 0.3345377445220947, 0.5463793277740479, 0.183889240026474, -0.20564702153205872, -0.3732854425907135, -0.20000530779361725, -0.41502848267555237, 0.0034760641865432262, -0.21765366196632385, 0.07234273850917816, 0.34209102392196655, 0.6470349431037903, 0.09763592481613159, -0.4557250440120697, 0.5956467986106873, -0.02667131833732128, -0.2914707064628601, 0.18116672337055206, 0.2343541830778122, 0.19927820563316345, -0.4224664568901062, -0.245510533452034, 0.13910983502864838, -1.0732983350753784, 0.3738148510456085, 0.5882763862609863, 1.105905294418335, -0.06315145641565323, 0.586197018623352, -0.5141305327415466, 0.9845319986343384, 0.23972369730472565, -0.29925236105918884, -0.3004935681819916, -0.35725924372673035, 0.04122605547308922, 0.09477856010198593, 0.5065456628799438, 0.25401002168655396, 0.19441883265972137, 0.09238319098949432, -0.3846528232097626, -0.20030559599399567, -0.14384277164936066, -1.0675071477890015, 0.06640800088644028, -0.0979500412940979, -0.5829257369041443, -0.4510646462440491, -0.361752450466156, -0.5461736917495728, -0.5763648748397827, -0.35732874274253845, 0.32955169677734375, -0.6063183546066284, 0.19946898519992828, -0.159466952085495, -0.1651942878961563, 0.2939736843109131, 0.5329317450523376, -1.0326811075210571, 0.1685827225446701, 0.858310878276825, 0.7644151449203491, -0.37804165482521057, -0.2961824834346771, -1.4468623399734497, -0.10128217935562134, -0.18762819468975067, 0.7768707275390625, -0.8704103231430054, -0.5016082525253296, -0.01177123375236988, 0.03663086146116257, -0.05898217111825943, -0.2248740941286087, 0.7803674340248108, -0.39160969853401184, 0.3308342397212982, -0.383840411901474, -0.5016865730285645, 0.3231286108493805, 0.1818111687898636, -0.5967549681663513, 1.1976604461669922, 0.20574067533016205, -0.4452294409275055, 0.3461446464061737, -0.6901932954788208, -0.4413866400718689, 0.19480623304843903, 0.002045556902885437, -0.08572782576084137, 0.4414157569408417, 0.47797492146492004, 0.3536983132362366, -0.6005434393882751, -0.0938614159822464, -0.08498470485210419, -0.6914721131324768, -0.1892385333776474, -0.5398798584938049, 0.5437167286872864, 0.14657792448997498, -0.0430239699780941, 0.13099415600299835, -0.7612223029136658, 0.07483715564012527, 0.01964733377099037, -0.5953087210655212, -0.6303585767745972, -0.10875914990901947, -0.12368863821029663, -0.013101980090141296, 0.4457596242427826, -0.4138652980327606, 0.7248521447181702, -0.8593419194221497, 0.4118061363697052, 0.7829626798629761, 0.04133341833949089, 0.6165484189987183, -0.20463760197162628, 0.6884105801582336, -0.09935512393712997, 0.24263222515583038, -0.400118350982666, -0.7422571182250977, -0.7552505135536194, -0.6077600717544556, 0.6384819746017456, 0.3894171118736267, -0.7681168913841248, 0.5350466370582581, -0.05781262367963791, -0.3403501510620117, -0.5894609093666077, 0.058432914316654205, 0.27621152997016907, 0.8283242583274841, 0.14962635934352875, 0.2791016399860382, -0.12243705987930298, -0.9121313691139221, -0.5466707348823547, -0.1705354005098343, 0.029719965532422066, 0.3100588619709015, 0.20818458497524261, 0.3632453382015228, 1.057314157485962, -0.6664988398551941, 0.04588746652007103, -0.5370641350746155, 0.26468631625175476, 0.6739826798439026, 0.6633614897727966, 0.47051936388015747, -0.47740668058395386, -0.644648015499115, -0.29846522212028503, -0.05056096985936165, -0.3834695816040039, 0.14226751029491425, -0.04798773676156998, 0.3149475157260895, 0.6678743362426758, -0.6560909152030945, 0.2661449611186981, 0.18037493526935577, -0.623615562915802, 0.2676337659358978, -0.3275678753852844, 0.34636634588241577, -0.8572602272033691, 0.20371747016906738, -0.2297142595052719, -0.3517173230648041, -0.6154381632804871, 0.08293364942073822, 0.08075698465108871, -0.6765334010124207, -0.6600127816200256, 1.001477599143982, -0.4684550166130066, 0.38470029830932617, -0.37336426973342896, 0.22162798047065735, 0.03733552619814873, 0.729556143283844, -0.09116015583276749, 0.9077785611152649, 0.5505843758583069, -0.7285078763961792, 0.19330057501792908, 0.1077454462647438, -0.24251750111579895, 0.7274498343467712, -0.8092374801635742, 0.16752366721630096, -0.19343875348567963, -0.25407782196998596, -1.1688669919967651, 0.019845914095640182, 0.3307127356529236, -0.33665400743484497, 0.23251290619373322, -0.6054019331932068, -0.7769189476966858, -0.06734391301870346, -0.4488128125667572, 0.4283216595649719, 0.9178569912910461, -0.5367249846458435, 0.34773844480514526, -0.10362643003463745, -0.5133866667747498, -0.1933065801858902, -0.1387876272201538, -0.24292580783367157, -0.41140174865722656, -0.3740040361881256, 0.3463671803474426, -0.12115897983312607, 0.16614903509616852, -0.3394206464290619, 0.08999194949865341, 0.22781777381896973, 0.34113138914108276, 0.08915771543979645, 0.2156078964471817, -0.4198441803455353, 0.23185472190380096, 0.3913098871707916, -0.4620828926563263, -0.36712074279785156, -0.10256247222423553, 0.7737599611282349, 0.16160473227500916, -0.4393797516822815, -0.5010515451431274, 0.6427773237228394, 0.4221601188182831, -0.20834018290042877, 0.794774055480957, 0.4278927743434906, -0.43388882279396057, -0.39475640654563904, -0.32562512159347534, -0.4385319650173187, -0.5777512788772583, 0.105837382376194, -0.49342861771583557, -0.848792552947998, 0.39484903216362, -0.4013655483722687, 0.027227243408560753, 0.35501718521118164, 0.3518271744251251, 0.04564034566283226, 1.4834214448928833, 0.7782353162765503, -0.05250981077551842, 0.6208764910697937, 0.28177696466445923, 0.1790178120136261, -0.6790094375610352, 0.21227200329303741, -0.9470199346542358, -0.4399900734424591, -0.6781811714172363, -0.31183281540870667, 0.570506751537323, 0.2269437611103058, -0.5263499021530151, 0.16036710143089294, -0.5745722651481628, 0.5364053845405579, 0.8509801626205444, -0.1599961370229721, 0.42109164595603943, 0.007060791831463575, -0.23574507236480713, -0.07223757356405258, -0.7718824744224548, -0.516511857509613, 0.6059147715568542, 0.30570560693740845, 0.8370689153671265, 0.020355340093374252, 0.6453372240066528, 0.2904007136821747, -0.311399906873703, -0.9625381231307983, 0.774998664855957, -0.20978163182735443, -0.3264221251010895, -0.6011229157447815, -0.40316590666770935, -0.9540097117424011, 0.04186641797423363, -0.12160930782556534, -0.8675211071968079, 0.2608204782009125, 0.27244216203689575, -0.6982215642929077, 0.007297929842025042, -0.7359699606895447, 0.8417479395866394, -0.039228226989507675, -0.17499616742134094, 0.07821091264486313, -0.3700176775455475, -0.07577590644359589, 0.15089216828346252, -0.2019607275724411, -0.28625959157943726, -0.44401949644088745, 0.8478813171386719, -0.7313965559005737, 0.9303149580955505, -0.618809163570404, -0.22396111488342285, 0.01965479739010334, 0.003920353017747402, 1.1600570678710938, 0.13911959528923035, -0.4509996771812439, -0.330762654542923, -0.011899939738214016, -0.4175519347190857, -0.6846426725387573, 0.9099915623664856, -0.5805272459983826, -0.5745705962181091, -0.25219541788101196, -0.25286734104156494, -0.5160508751869202, 0.3832598328590393, 0.43649888038635254, 0.6544126272201538, -0.0941857248544693, -0.02738986350595951, 0.6655797362327576, -0.40642228722572327, 0.6197300553321838, 0.588900089263916, -0.06326474994421005, -0.24781683087348938, 0.9870649576187134, -0.027480410411953926, 0.16943706572055817, 0.3938356935977936, 0.4132625460624695, -0.1661069691181183, -0.48300036787986755, -0.42957910895347595, 0.3444785177707672, -0.6483426094055176, -0.3195788264274597, -0.38602712750434875, -0.037155576050281525, -0.4058367609977722, -0.28458479046821594, -0.3654443323612213, -0.7156513333320618, -0.501926839351654, 0.3055199682712555, 0.6275132298469543, 0.2035771906375885, 0.24744033813476562, 0.8482770323753357, -0.5395438075065613, 0.5743727684020996, 0.23172619938850403, 0.602922797203064, -0.29080677032470703, -0.7800542712211609, -0.12937165796756744, -0.11990759521722794, 0.041736144572496414, -0.6622311472892761, 0.31361934542655945, 0.43568429350852966, 0.49392279982566833, 0.36450961232185364, 0.3903881907463074, 0.5830257534980774, -0.6919183731079102, 0.8773031830787659, 0.02734271064400673, -0.9902011752128601, 0.947394847869873, -0.604576051235199, 0.5910643339157104, 0.8642047643661499, 0.23907995223999023, -0.4871755540370941, -0.19330504536628723, -0.2830072045326233, -0.824557900428772, 1.0673530101776123, -0.047293949872255325, 0.15387119352817535, -0.023985084146261215, 0.5400980114936829, 0.33910855650901794, 0.22360479831695557, -0.3115689158439636, -0.292987585067749, 0.1038326621055603, -0.1980423927307129, 0.06863850355148315, -0.3436613082885742, 0.057651590555906296, -0.4318130314350128, 0.6520681381225586, -0.5350713133811951, 0.37570858001708984, -0.23681901395320892, 0.022470036521553993, -0.1688576638698578, 0.3710499703884125, 0.5670940279960632, 0.24277962744235992, -0.22624945640563965, 0.09962377697229385, 0.2441350221633911, -0.2628747820854187, 0.11852852255105972, 0.0948161706328392, -0.3353230059146881, -0.03921741247177124, 0.23239074647426605, 1.0620449781417847, 0.23219916224479675, -0.5148068070411682, 0.5938562750816345, -0.08448956161737442, 0.10676882416009903, 0.194203183054924, 0.32756224274635315, -0.0858159139752388, -0.09753387421369553, 0.19112472236156464, -0.12953956425189972, 0.0442378930747509, -0.3609313666820526, -0.24003680050373077, 0.4151928126811981, -0.5145911574363708, -0.14722001552581787, 0.5416399240493774, 0.5527366399765015, -0.6301141381263733, 0.7765851616859436, -0.23485825955867767, -0.11209016293287277, 0.4292626976966858, 0.5678895115852356, 0.6738508343696594, -0.2287306785583496, 0.24589715898036957, 0.35279232263565063, 0.22318466007709503, 0.03339977189898491, 0.5600394010543823, -0.03522084280848503, -0.18532665073871613, -0.454179972410202, -0.7732936143875122, -0.47228506207466125, 0.13736969232559204, -0.45311763882637024, 0.8280355334281921, -0.5117367506027222, -0.2593863010406494, -0.12485269457101822, -0.021405339241027832, -0.6212655305862427, 0.0352606326341629, 0.0591333769261837, 1.1494249105453491, -0.682947039604187, 0.6671218276023865, 0.6449797749519348, -0.25995880365371704, -0.6240972280502319, -0.07693527638912201, -0.3068598806858063, -0.861157238483429, 0.7042154669761658, 0.11818905919790268, -0.09822314977645874, 0.3856453001499176, -0.6429221034049988, -0.9858154058456421, 0.6259125471115112, 0.5684319138526917, -0.4564286172389984, -0.3124992847442627, 0.253784716129303, 0.32357102632522583, -0.2882978022098541, 0.3907800316810608, 0.44997844099998474, 0.7385585904121399, -0.02663513645529747, -0.7731462121009827, 0.3464978337287903, -0.2681821882724762, 0.14572489261627197, 0.31451818346977234, -0.5894696116447449, 0.9240473508834839, -0.02935885079205036, -0.2528367340564728, 0.41313669085502625, 0.5567922592163086, 0.3639712333679199, -0.025423768907785416, 0.6831854581832886, 0.016041789203882217, 0.7458529472351074, -0.32726702094078064, 0.9197270274162292, -0.5228990316390991, 0.10572128742933273, 0.8206067681312561, -0.2501903474330902, 0.7162036895751953, 0.6809879541397095, 0.11639241874217987, 0.14691297709941864, 0.7480823397636414, 0.1201268881559372, 0.7177444100379944, 0.18870404362678528, 0.020994743332266808, -0.7063637971878052, -0.40003910660743713, -0.21381725370883942, 0.45347997546195984, 0.13429366052150726, -0.14302751421928406, -0.25224006175994873, 0.2384520024061203, -0.038381610065698624, -0.21262028813362122, -0.38585469126701355, 0.783748984336853, 0.06100437417626381, -0.8988338112831116, 0.9448580145835876, 0.251082181930542, 0.6627024412155151, -0.713196873664856, -0.09019162505865097, -0.48038187623023987, -0.22274725139141083, 0.182734876871109, -0.21157096326351166, -0.28903087973594666, 0.1049656793475151, -0.30777308344841003, -0.4916255474090576, 0.6745817065238953, -0.24393142759799957, -0.4725598394870758, -0.14621491730213165, 0.8139187097549438, 0.002001714427024126, -0.2320697009563446, -0.5061383843421936, -0.009150869213044643, -0.33421212434768677, -0.5353148579597473, 0.3439873158931732, 0.4949813187122345, -0.02403436414897442, 0.6080123782157898, 0.4922415316104889, 0.38210049271583557, -0.26963260769844055, 0.2852582037448883, 0.965408444404602, -1.0324195623397827, -0.8119215965270996, -0.8364201188087463, 0.5724489092826843, -0.024248631671071053, -0.5302310585975647, 0.517792284488678, 0.4544470012187958, -0.003911003470420837, -0.10239185392856598, 0.6723190546035767, -0.04648100957274437, 0.7515830397605896, -0.7130641937255859, 0.7052416205406189, -0.8399025201797485, 0.3747989237308502, -0.18341349065303802, -0.9930979013442993, -0.13344033062458038, 0.2243340164422989, -0.21491853892803192, 0.22469715774059296, 0.6855617165565491, 0.8352336883544922, -0.1483639031648636, -0.22574226558208466, 0.5026878714561462, -0.08314096182584763, 0.15076473355293274, 0.41916388273239136, 0.97544926404953, -0.2375497817993164, 0.2504030168056488, -0.03175682574510574, -0.3261449337005615, -0.5662434101104736, -1.0744892358779907, -1.0943034887313843, -0.535015881061554, -0.3126644790172577, 0.04035957530140877, 0.13178743422031403, 1.2164283990859985, 0.7081023454666138, -0.7394209504127502, 0.13657818734645844, 0.1759573370218277, 0.4013529419898987, -0.2756860554218292, -0.19498944282531738, 0.5995271801948547, -0.6970871686935425, -1.0097334384918213, 0.785772979259491, 0.15843620896339417, -0.09504076093435287, -0.20016005635261536, 0.04523775726556778, 0.011080412194132805, 0.3699778914451599, 0.6380141377449036, 0.155588760972023, -0.592936635017395, -0.31795233488082886, 0.2104027420282364, -0.24732337892055511, 0.03605276346206665, 0.849077582359314, -0.9107939600944519, 0.04544500634074211, 0.8060966730117798, 0.3359653651714325, -0.036694955080747604, 0.2869858741760254, 0.6602604985237122, -1.0810784101486206, 0.1496392786502838, 0.23403911292552948, 0.28686222434043884, 0.20182837545871735, -0.421801894903183, 0.18912312388420105, 0.13822871446609497, -0.3255169093608856, -1.137384295463562, 0.3167167007923126, -1.1132577657699585, -0.3235369324684143, 1.352899432182312, 0.12497419863939285, -0.26779839396476746, 0.03235330805182457, -0.4940350353717804, 0.08832912892103195, -0.7900106310844421, 0.38850221037864685, 0.3423650562763214, -0.29041752219200134, -0.2753983438014984, -0.3075050413608551, 0.8943072557449341, 0.5363827347755432, -0.7659074068069458, 0.19371916353702545, 0.3145776689052582, -0.01854540966451168, -0.10798188298940659, 0.5377699136734009, 0.2447064220905304, 0.24688483774662018, -0.17127326130867004, -0.27528223395347595, -0.36337733268737793, -0.2981414496898651, -0.4581072926521301, 0.46465083956718445, 0.5446752905845642, -0.07170604914426804 ]
http://arxiv.org/abs/2406.19482v1
http://arxiv.org/pdf/2406.19482v1
xTower: A Multilingual LLM for Explaining and Correcting Translation Errors
2024-06-27T18:51:46
2024-06-27T18:51:46
Marcos Treviso, Nuno M. Guerreiro, Sweta Agrawal, Ricardo Rei, José Pombal, Tania Vaz, Helena Wu, Beatriz Silva, Daan van Stigt, André F. T. Martins
cs.CL
cs.CL
While machine translation (MT) systems are achieving increasingly strong performance on benchmarks, they often produce translations with errors and anomalies. Understanding these errors can potentially help improve the translation quality and user experience. This paper introduces xTower, an open large language model (LLM) built on top of TowerBase designed to provide free-text explanations for translation errors in order to guide the generation of a corrected translation. The quality of the generated explanations by xTower are assessed via both intrinsic and extrinsic evaluation. We ask expert translators to evaluate the quality of the explanations across two dimensions: relatedness towards the error span being explained and helpfulness in error understanding and improving translation quality. Extrinsically, we test xTower across various experimental setups in generating translation corrections, demonstrating significant improvements in translation quality. Our findings highlight xTower's potential towards not only producing plausible and helpful explanations of automatic translations, but also leveraging them to suggest corrected translations.
[ 0.08454429358243942, -0.46830424666404724, 0.39941170811653137, 0.4106851816177368, -0.17284457385540009, -0.08162261545658112, -0.1898222267627716, -0.30900269746780396, 0.08961241692304611, 0.3915025293827057, -0.5530022978782654, -0.5575610995292664, -0.7307700514793396, 0.11638308316469193, -0.5243204236030579, 0.9852644801139832, -0.6225007772445679, 0.12632954120635986, 0.219508096575737, -0.2747162878513336, -0.5845240354537964, -0.31118953227996826, -0.7936649918556213, -0.32323887944221497, 0.5053728818893433, 0.545473575592041, 1.359523057937622, 1.0009530782699585, 0.36226561665534973, 0.3133801817893982, 0.04930667206645012, 0.3461650311946869, -0.5491470098495483, 0.012741581536829472, -0.2645883560180664, -0.6231564283370972, -0.6804651021957397, -0.2929631769657135, 0.6528562903404236, 0.6501493453979492, -0.18709540367126465, 0.024657949805259705, -0.07976333051919937, 0.7539015412330627, 0.006858861539512873, 0.1392851322889328, -0.5944430828094482, 0.31750720739364624, -0.31693363189697266, -0.4563519060611725, -0.38196077942848206, -0.27644672989845276, -0.013951346278190613, -0.767342209815979, 0.4585094451904297, 0.5271322131156921, 0.8673498034477234, 0.3519631028175354, -0.41402003169059753, -0.20923933386802673, -0.4334452748298645, 0.8050835132598877, -0.3113139569759369, 0.30088675022125244, 0.10667029023170471, 0.5402240753173828, -0.3611013889312744, -0.4656088650226593, -0.5601043701171875, 0.07163217663764954, -0.1767154335975647, 0.43604791164398193, -0.5557990074157715, -0.056877247989177704, -0.10993658751249313, 0.5360631346702576, -0.6831085681915283, 0.05323474109172821, 0.011838595382869244, -0.09871666133403778, 0.3730039596557617, 0.05856730416417122, 0.4673811197280884, -0.40053752064704895, -0.36742082238197327, -0.25365257263183594, -0.8639897704124451, 0.35634759068489075, 0.23349930346012115, 0.11899726837873459, -0.14821110665798187, 0.34991025924682617, 0.15734700858592987, 0.7178015112876892, -0.17742234468460083, 0.04796497896313667, -0.021492380648851395, -0.1529035121202469, -0.4483383297920227, 0.3804658353328705, 0.4457455277442932, 0.5810803771018982, 0.24139998853206635, -0.3649994432926178, -0.1984143853187561, -0.1795061081647873, 0.2590198814868927, -0.5497413873672485, -0.005439461208879948, 0.6387273073196411, -0.6978825926780701, -0.3466729521751404, 0.07190705835819244, -0.44881442189216614, -0.3973146080970764, -0.10835310816764832, 0.23690509796142578, -0.28631481528282166, -0.3545970916748047, 0.30315983295440674, -0.28119388222694397, -0.3278748691082001, 0.4722348153591156, -0.7024226784706116, -0.11313315480947495, 0.11194811761379242, 0.7051390409469604, -0.031260471791028976, -0.43362823128700256, -0.8415771126747131, 0.4844609200954437, -0.686846137046814, 0.5359364748001099, 0.09628082811832428, -0.2596901059150696, 0.1427873820066452, -0.0739295482635498, 0.2725422978401184, -0.48276951909065247, 0.633399486541748, -0.61066073179245, 0.007141090463846922, -0.27803733944892883, 0.003336973488330841, -0.4657237231731415, 0.16318023204803467, -0.41697654128074646, 0.9081289768218994, 0.22369281947612762, -0.5510799288749695, 0.2626369297504425, -0.7232665419578552, -0.28253844380378723, 0.0448719747364521, 0.2137776017189026, -0.2280554473400116, 0.6356597542762756, 0.3306041657924652, 0.2756138741970062, -0.20483613014221191, 0.3087892532348633, 0.03969810903072357, -0.13387860357761383, 0.4951021373271942, -0.37226057052612305, 0.844590961933136, 0.053966984152793884, -0.42251554131507874, 0.36504486203193665, -0.7958442568778992, 0.3717461824417114, 0.09991823136806488, -0.22639378905296326, -0.16848674416542053, 0.18606188893318176, -0.2747684717178345, 0.19604350626468658, -0.2074931114912033, -0.3800545930862427, -0.1776564121246338, -0.21877069771289825, 0.3047855794429779, 0.586897611618042, -0.5070446729660034, 0.10963796079158783, -0.27016326785087585, 0.5534325242042542, 0.17606231570243835, 0.13755638897418976, -0.5430628061294556, -0.3976220488548279, -0.627897322177887, -0.01975114829838276, 0.00441694213077426, 0.5433646440505981, -0.6808518767356873, -0.0980617105960846, -0.4354825019836426, -0.06565272063016891, -0.551154613494873, 0.36033064126968384, 0.775153636932373, 0.49529463052749634, 0.7191154956817627, 0.12954603135585785, -0.5909757018089294, -0.5082319378852844, -0.535728931427002, -0.33280375599861145, 0.12921957671642303, -0.06002084165811539, 0.29253268241882324, -0.18300871551036835, 0.8585553765296936, -0.10418125241994858, -0.3578808605670929, -0.21606026589870453, 0.018551122397184372, 0.12733274698257446, 0.04441960155963898, 0.46498939394950867, -0.7397261261940002, -0.5469704866409302, 0.5337042212486267, -1.032000184059143, -0.4295485019683838, -0.06103021651506424, -0.17263135313987732, 0.0014293265994638205, 0.27863821387290955, -0.43727609515190125, 0.3157382607460022, 1.017258644104004, -0.17751207947731018, 0.7631916999816895, -0.5250603556632996, 0.30477088689804077, -0.8917985558509827, -0.47485074400901794, -0.10913720726966858, -0.48425954580307007, -0.5285975337028503, 0.3836551308631897, 0.18365751206874847, 0.012332937680184841, -0.21608103811740875, 0.21725037693977356, -0.7078676223754883, 0.0005070248153060675, -0.27996522188186646, 0.8152439594268799, 0.2428802102804184, 0.04908011481165886, -0.2489539384841919, 0.7015019059181213, 0.40579867362976074, -0.1797703504562378, 0.31448841094970703, 0.584550678730011, -0.23607367277145386, 0.5414367914199829, -0.6207279562950134, -0.3494466245174408, -0.23910219967365265, 0.1518121212720871, -1.3432297706604004, -0.4275346100330353, 0.22463439404964447, -0.6368377208709717, 0.23608264327049255, -0.32777541875839233, -0.3592832386493683, -0.3492673337459564, -0.016773821786046028, 0.08259760588407516, 0.22010323405265808, -1.0356218814849854, 0.21686074137687683, -0.052674029022455215, 0.10056452453136444, -0.8243887424468994, -1.0063955783843994, 0.37950876355171204, 0.056732356548309326, -1.2235244512557983, 0.7089085578918457, 0.2161301076412201, -0.6572401523590088, 0.1520508974790573, -0.13026019930839539, -0.06370078027248383, 0.09847480058670044, 0.5523688197135925, -0.03473350778222084, -0.43816184997558594, 0.46072933077812195, 0.1846555471420288, -0.45711463689804077, 0.0968850627541542, -0.6244246959686279, -0.21094433963298798, -0.22166460752487183, -0.29978883266448975, -0.40714550018310547, 0.5742818713188171, 0.45729967951774597, -0.20214906334877014, 0.7465838193893433, 0.27763912081718445, -0.129969522356987, -0.3997211754322052, -0.3228103816509247, 0.3324984312057495, -0.39668288826942444, 0.29531970620155334, -0.6304155588150024, -0.7036172747612, 0.5257351994514465, 0.0940701812505722, 0.14074921607971191, 0.45892593264579773, 0.31446850299835205, -0.17142853140830994, 1.357709527015686, 0.6822094321250916, 0.5151782631874084, 0.1324739158153534, 0.05042174085974693, 0.5541068315505981, -0.45354780554771423, -0.017820844426751137, -0.6577566266059875, -0.17805156111717224, -0.24220196902751923, -0.4724973142147064, 0.46815866231918335, 0.455788791179657, 0.16047173738479614, 0.3551953434944153, -0.26334452629089355, 0.46426913142204285, 0.27427586913108826, -0.32288554310798645, 0.7703202366828918, 0.46824437379837036, -0.3572148382663727, -0.12622341513633728, -0.7716872692108154, -0.7523424029350281, 0.3660007417201996, 0.2838283181190491, 0.5080512166023254, 0.5473186373710632, 0.3893011510372162, 0.173976331949234, 0.7510794997215271, -0.652115523815155, -0.004269779659807682, -0.18769793212413788, -0.7502405643463135, -0.28322023153305054, -0.6652085781097412, -0.7733104228973389, 0.5946089625358582, -0.06522518396377563, -0.619828462600708, -0.3314053416252136, 0.6690153479576111, -0.32908323407173157, 0.48235851526260376, -0.804782509803772, 0.9654646515846252, -0.41807788610458374, -0.24469879269599915, -0.4104553759098053, -0.5206471681594849, 0.5578057169914246, -0.0743715688586235, 0.5168296098709106, 0.05128723755478859, 0.15869753062725067, 0.21932485699653625, -0.6293115019798279, 0.598942220211029, -0.15684640407562256, -0.31787553429603577, 0.22268252074718475, 0.3024881184101105, 0.6121293902397156, 0.08844967186450958, -0.5387227535247803, 0.3452438712120056, 0.02331462688744068, -0.42184171080589294, -0.8871016502380371, 0.5637348294258118, -0.9594472050666809, -0.7575081586837769, 0.005812464747577906, -0.6279302835464478, 0.053014498203992844, -0.032578978687524796, 0.2874257266521454, 0.6182153820991516, 0.10378900170326233, 0.08991747349500656, 0.5982837677001953, -0.5309560894966125, 0.2797331213951111, 0.6886414885520935, -0.7031421065330505, -0.3904586434364319, 0.5886871814727783, 0.31049203872680664, 0.14873456954956055, 0.5216881632804871, 0.31206977367401123, -0.22630129754543304, -1.010021686553955, -1.2785906791687012, -0.062036268413066864, -0.9147526621818542, -0.21541975438594818, -0.5052290558815002, 0.28996261954307556, 0.20886176824569702, -0.3341270685195923, -0.15915895998477936, -0.5610682368278503, 0.13261778652668, -0.33949363231658936, 0.2917872369289398, 0.7299044728279114, -0.10122348368167877, 1.0866832733154297, -1.2095947265625, 0.36096474528312683, -0.29834434390068054, 0.31071457266807556, 0.10435566306114197, -0.7016704678535461, -0.4926076829433441, 0.18268878757953644, -0.282219797372818, -1.1426961421966553, 0.21100173890590668, 0.04829726740717888, 0.5122138857841492, 0.4358939230442047, -0.22304606437683105, 0.9892962574958801, -0.5728501081466675, 0.7622716426849365, 0.5033403635025024, -1.392240047454834, 0.42156556248664856, -0.2919946610927582, 0.08523533493280411, 0.1265391707420349, 0.24802494049072266, -0.9528807401657104, -0.3502104878425598, -0.28512996435165405, -0.546278715133667, 0.615757167339325, 0.2544578015804291, 0.2020121067762375, -0.13977530598640442, 0.7046959400177002, 0.33958420157432556, -0.11905746906995773, -0.8736433386802673, -0.34827670454978943, -0.45107409358024597, -0.04635242745280266, 0.10644260048866272, -0.34340599179267883, -0.11986777931451797, 0.2632240653038025, 1.0723962783813477, -0.2072926163673401, 0.01701873540878296, 0.4005638360977173, -0.6777875423431396, -0.7877881526947021, 0.2536768317222595, 0.5934361219406128, 1.1060782670974731, 0.20420528948307037, 0.3567211925983429, 0.2558108866214752, 0.0037096997257322073, 0.3279637396335602, -0.133335679769516, 0.1448417454957962, 0.3546973168849945, 0.40467023849487305, 0.5392723083496094, -0.1732662320137024, -0.3729183077812195, 0.595620334148407, -0.06862566620111465, -0.15957966446876526, -0.24203553795814514, -0.17272816598415375, 0.07806698977947235, 0.02739126794040203, 0.493813157081604, 0.16285251080989838, -0.31800758838653564, -0.2785915732383728, -0.03750167787075043, 0.41919195652008057, -0.748000979423523, -0.4592515528202057, 0.8864456415176392, 0.24369551241397858, -0.32522156834602356, 0.4114958643913269, -0.318395733833313, -0.48850107192993164, 0.2206794172525406, 0.5973129868507385, 0.6016836166381836, -0.2159423679113388, 0.41791239380836487, 0.06810003519058228, 0.43953046202659607, -0.013314991258084774, 0.08509604632854462, 0.14835432171821594, -0.7316752672195435, -1.0466828346252441, -0.2959383428096771, -0.39196035265922546, -0.36247143149375916, -0.4245544970035553, 0.02082076296210289, -0.09421932697296143, 0.016140611842274666, 0.023417983204126358, -0.4243651330471039, -0.2546539902687073, 0.3252158761024475, -0.22758451104164124, 1.223618507385254, -0.6505038142204285, 0.6793740391731262, 0.571968138217926, -0.2984078824520111, -0.9712578058242798, -0.08934219181537628, 0.13374081254005432, -1.1457312107086182, 0.935606062412262, 0.2226969450712204, -0.664998471736908, -0.05477927252650261, -0.24402353167533875, -0.7407875061035156, 0.6485525369644165, 0.3645060658454895, -0.5445403456687927, 0.2151649296283722, 0.2905930280685425, 0.5943166613578796, 0.06198826804757118, 0.42256301641464233, 0.22978760302066803, 0.7874063849449158, -0.30397331714630127, -0.5088065266609192, 0.1970914602279663, -0.27202653884887695, 0.029644574970006943, 0.5639711618423462, -0.5766769647598267, 0.37276801466941833, -0.4907990097999573, -0.17265461385250092, 0.39703720808029175, 0.730003297328949, -0.34928497672080994, 0.11589933186769485, 0.40591856837272644, 0.4270961880683899, 0.9117908477783203, -0.44066867232322693, 1.4312535524368286, -0.37834054231643677, 0.06153218075633049, 1.018639326095581, 0.003760648425668478, 0.5762243866920471, 0.6205772161483765, -0.07388047873973846, 0.8810120224952698, 0.6260120272636414, 0.34470346570014954, 0.048119138926267624, 0.5113051533699036, -0.1702728420495987, -0.20631729066371918, 0.10200291872024536, -0.35553282499313354, 0.2639400064945221, 0.24560903012752533, -0.5906205177307129, -0.5406516790390015, 0.10542702674865723, 0.2354598492383957, 0.08749400079250336, -0.30485764145851135, 0.17266976833343506, 0.08475635945796967, -0.9901296496391296, 0.7624226808547974, 0.5622531175613403, 0.04358666017651558, -0.6785190105438232, -0.006462045479565859, -0.3179037868976593, 0.704753577709198, -0.6357890367507935, -0.8072559237480164, 0.6826823353767395, 0.10754750669002533, -0.5953614711761475, -0.821654200553894, 0.30944380164146423, -0.2859060764312744, -0.13699474930763245, 0.5827846527099609, 0.6374373435974121, 0.5449472069740295, -0.4465934932231903, -0.5832909345626831, 0.038602251559495926, 0.15900614857673645, -0.011455230414867401, -0.06321622431278229, 0.6975508332252502, -0.48150551319122314, 0.6742414236068726, 0.533769428730011, -0.023452889174222946, 0.20148076117038727, 0.09704934060573578, 0.18942321836948395, -0.4778476655483246, -0.2861678898334503, -1.0107160806655884, 0.8245148062705994, 0.06870654225349426, -0.4119269549846649, 0.979745626449585, 0.2249894142150879, 0.6635873913764954, -0.06171475723385811, 0.9252979755401611, 0.17834340035915375, 0.24791930615901947, -0.41600775718688965, 0.3697740435600281, -0.7137612104415894, 0.3173341453075409, 0.11922311782836914, -0.849392294883728, -0.5894052386283875, 0.4735065996646881, -0.09678222984075546, -0.381603479385376, 0.9595972299575806, 1.042690634727478, -0.1585499346256256, 0.4159480333328247, 0.4660361111164093, 0.5977442860603333, 0.4136838912963867, 0.189023956656456, 1.0529801845550537, -0.5855726003646851, 1.2650842666625977, 0.2024100422859192, -0.5430407524108887, -0.2222575694322586, -1.1853454113006592, -0.6477028131484985, -0.03945642709732056, -0.3595116436481476, -0.5295425057411194, 0.32847556471824646, 0.7948012948036194, 0.7901231050491333, -0.7880723476409912, -0.2336026281118393, -0.23889848589897156, 0.4683205187320709, -0.691286027431488, -0.13775110244750977, 0.2828434407711029, -0.5584997534751892, -0.48928797245025635, 0.5574600100517273, 0.5216472744941711, 0.024636603891849518, -0.18473035097122192, -0.19210898876190186, 0.7351803779602051, -0.09446431696414948, 0.7535029053688049, -0.22204023599624634, -0.9078265428543091, -0.44904205203056335, 0.020545804873108864, 0.07597049325704575, 0.38664090633392334, 0.9039255976676941, -0.3366571068763733, 0.6370939612388611, 0.42920270562171936, 0.578176736831665, 0.39213478565216064, -0.13462413847446442, 0.83544921875, -0.733025848865509, -0.41195446252822876, -0.7086150050163269, 0.4767613708972931, 0.586176872253418, -0.3884950280189514, 0.42961180210113525, 0.04684952273964882, -0.41036513447761536, -0.48114126920700073, 0.26684078574180603, -0.7733483910560608, -0.17236635088920593, 0.9227462410926819, -0.6703589558601379, -0.1671399176120758, -0.1933223456144333, -0.40639838576316833, 0.3203795850276947, -0.01433473452925682, 0.7892122864723206, 0.9638161063194275, 0.09633725881576538, -0.136357843875885, -0.9867706894874573, 0.47442591190338135, 0.7262889742851257, -0.8040326833724976, 0.3967462182044983, 0.3164045214653015, 0.1778976321220398, 0.27063295245170593, 0.1278098076581955, -0.340972363948822, 0.5995426177978516, -0.06154809892177582, -0.15223491191864014, -0.1124674379825592, -0.26731011271476746, -0.30162084102630615, 0.1660696268081665, 0.0923154428601265, -0.18958714604377747 ]
http://arxiv.org/abs/2406.19478v1
http://arxiv.org/pdf/2406.19478v1
Sparse Regression for Machine Translation
2024-06-27T18:43:51
2024-06-27T18:43:51
Ergun Biçici
cs.CL
cs.CL, cs.AI, G.3; I.2.7
We use transductive regression techniques to learn mappings between source and target features of given parallel corpora and use these mappings to generate machine translation outputs. We show the effectiveness of $L_1$ regularized regression (\textit{lasso}) to learn the mappings between sparsely observed feature sets versus $L_2$ regularized regression. Proper selection of training instances plays an important role to learn correct feature mappings within limited computational resources and at expected accuracy levels. We introduce \textit{dice} instance selection method for proper selection of training instances, which plays an important role to learn correct feature mappings for improving the source and target coverage of the training set. We show that $L_1$ regularized regression performs better than $L_2$ regularized regression both in regression measurements and in the translation experiments using graph decoding. We present encouraging results when translating from German to English and Spanish to English. We also demonstrate results when the phrase table of a phrase-based decoder is replaced with the mappings we find with the regression model.
[ -0.03281254321336746, -0.7212316989898682, 0.5116246342658997, 0.319890558719635, -0.20331600308418274, 0.01480058953166008, -0.39625370502471924, -0.3310484290122986, 0.1914103925228119, 0.5106889009475708, -0.4916549026966095, -0.47173622250556946, -0.8242684602737427, 0.4530525803565979, -0.4965532124042511, 1.2248276472091675, -0.1772751361131668, 0.45607078075408936, -0.0816507488489151, -0.18398143351078033, -0.6280866861343384, -0.28236860036849976, -0.4827748239040375, -0.012087957002222538, 0.5214069485664368, 0.24543766677379608, 0.8535282015800476, 0.7278677821159363, 0.548325777053833, 0.2639252841472626, 0.2616703510284424, 0.2599967420101166, -0.8795642256736755, 0.05219367891550064, 0.2284035086631775, -0.46664753556251526, -0.21590690314769745, 0.05797683820128441, 0.7028508186340332, 0.916706919670105, 0.2163722962141037, 0.2091411054134369, 0.27522575855255127, 0.5717423558235168, -0.2720664143562317, 0.13950225710868835, -0.6419690847396851, -0.02127130702137947, 0.09850328415632248, 0.11665266007184982, -0.3670004904270172, -0.41353335976600647, -0.12188071012496948, -0.623881459236145, 0.6392287611961365, 0.02316935732960701, 0.8398988842964172, 0.6927301287651062, -0.12488306313753128, -0.12944315373897552, -0.8736515641212463, 1.1483590602874756, -0.3068741261959076, 0.5877241492271423, 0.6433063745498657, 0.30034488439559937, -0.04983733221888542, -0.7459975481033325, 0.20186813175678253, -0.37012508511543274, -0.3752281069755554, 0.06686262041330338, -0.15604856610298157, 0.020153366029262543, 0.16865608096122742, 0.09433592855930328, -0.7798811197280884, -0.12108302861452103, -0.7724968791007996, -0.33731064200401306, 0.6876283884048462, -0.06360245496034622, 0.03850500285625458, 0.1414480358362198, -0.1459740400314331, -0.10511651635169983, -0.5003746747970581, -0.33635109663009644, 0.1786354035139084, 0.7169308662414551, 0.016407962888479233, 0.3801020383834839, 0.1079322025179863, 0.8058470487594604, -0.3890789747238159, -0.3995067775249481, 0.33469241857528687, -0.4440459609031677, -0.2351377159357071, -0.04553314670920372, 0.6098769903182983, -0.1945546269416809, 0.45329660177230835, -0.6061592698097229, -0.28946739435195923, -0.15339690446853638, 0.1868571788072586, -0.41855767369270325, 0.3237172067165375, 0.0005232755211181939, -0.5264937281608582, -0.019664984196424484, 0.0488540455698967, -0.5866384506225586, 0.025567099452018738, -0.29560065269470215, 0.1743801236152649, -0.3269968628883362, 0.020126348361372948, 0.0794752910733223, -0.14760488271713257, -0.15183064341545105, 0.27569860219955444, -0.7030524611473083, 0.5415734052658081, 0.3745117783546448, 0.975111722946167, -0.22319012880325317, -0.33860042691230774, -0.7623544931411743, -0.038481712341308594, -0.5291855335235596, 0.24183589220046997, -0.34469422698020935, -0.33617398142814636, 0.41041141748428345, -0.11086801439523697, -0.2565958499908447, -0.5333616733551025, 0.4682214558124542, -0.17930525541305542, 0.025632191449403763, -0.0759604349732399, -0.25860321521759033, -0.2081654965877533, -0.08414290100336075, -0.6412034630775452, 1.0399746894836426, 0.5558090209960938, -0.4545563757419586, 0.2969508469104767, -0.12370925396680832, -0.5510363578796387, -0.2118711620569229, -0.09861525148153305, -0.5239687561988831, 0.2606465816497803, 0.06884483247995377, 0.47519055008888245, -0.36420702934265137, 0.23494040966033936, -0.19279475510120392, -0.48437198996543884, 0.18994911015033722, -0.0647554025053978, 0.7279088497161865, 0.5279737114906311, -0.2917269766330719, 0.09877447783946991, -0.5005987286567688, -0.21915344893932343, 0.03649697080254555, -0.20831169188022614, -0.2641717493534088, 0.06943535804748535, 0.5208373069763184, -0.06338860094547272, 0.17226754128932953, -0.34646040201187134, 0.13133041560649872, -0.08229212462902069, 0.2629600763320923, 0.24066196382045746, -0.24564775824546814, 0.5684086680412292, -0.15369324386119843, 0.595535933971405, -0.2745738923549652, 0.07106257975101471, 0.2234201580286026, -0.4094683825969696, -0.692668080329895, -0.6449740529060364, 0.5801342129707336, 0.7979003190994263, -0.5204211473464966, 0.19809122383594513, -0.14976724982261658, -0.16115261614322662, -0.94788658618927, 0.4549221396446228, 0.4111172556877136, 0.41778242588043213, 0.7049911022186279, 0.24866122007369995, -0.5594444274902344, -0.9756667613983154, -0.03985852375626564, 0.07980335503816605, -0.12600892782211304, 0.12188805639743805, 0.27485018968582153, -0.23582468926906586, 0.578535795211792, -0.5880513191223145, -0.820931613445282, -0.5263481736183167, 0.16422922909259796, 0.07159410417079926, 0.5349475145339966, 0.8565223217010498, -0.8284645676612854, -0.6548797488212585, 0.11617901921272278, -0.682483434677124, -0.16573862731456757, -0.49779629707336426, -0.046250272542238235, 0.36624205112457275, 0.6419777870178223, -0.1754917949438095, 0.36542922258377075, 0.4196566939353943, 0.04610862955451012, -0.14523622393608093, -0.2979261875152588, 0.1538659930229187, -1.0642106533050537, 0.026738470420241356, 0.25924012064933777, -0.6630407571792603, -0.4517171382904053, -0.08344562351703644, -0.07692225277423859, 0.08640293776988983, -0.25246527791023254, 0.26278308033943176, -0.4874265789985657, -0.30871105194091797, -0.08825619518756866, 0.04233993962407112, -0.37609684467315674, 0.2001536339521408, 0.06610269099473953, 1.0650720596313477, 0.3159227669239044, -0.20474891364574432, 0.163170725107193, 0.3600735068321228, -0.02354605682194233, -0.28334611654281616, -0.6869171261787415, 0.012058328837156296, -0.14106819033622742, -0.08011747896671295, -0.9450401663780212, 0.015643589198589325, 0.1731162965297699, -0.5679834485054016, 0.578026533126831, -0.06577994674444199, -0.5275227427482605, -0.2684197723865509, -0.0466039776802063, -0.11328448355197906, 0.9174445271492004, -0.03901853412389755, 0.1641923040151596, 0.29387059807777405, -0.05341725051403046, -0.5757154822349548, -0.8027042150497437, -0.11875267326831818, -0.2583729326725006, -0.35651835799217224, 0.15770262479782104, 0.14647136628627777, -0.174308642745018, -0.03174273669719696, 0.06586918979883194, -0.22212766110897064, 0.21244384348392487, -0.019137097522616386, 0.4189468026161194, -0.21736577153205872, -0.06967364996671677, 0.13099616765975952, -0.15352074801921844, -0.1212838888168335, -0.3577212989330292, 0.3788330852985382, -0.020975638180971146, 0.10351014882326126, -0.0036102100275456905, 0.6268607378005981, 0.35525795817375183, -0.08147034049034119, 0.694789469242096, 0.9498534202575684, -0.4646065831184387, -0.29453322291374207, -0.5806756615638733, -0.1925259530544281, -0.32668328285217285, 0.7192918658256531, -0.5827641487121582, -0.9137889742851257, 0.4268988072872162, 0.021921250969171524, -0.2257278710603714, 0.42531970143318176, 0.5007134675979614, 0.07221150398254395, 1.2482572793960571, 1.1751594543457031, -0.24616649746894836, 0.4062182307243347, -0.4550340473651886, 0.0753878504037857, -0.5457791686058044, -0.11658865958452225, -0.9302352070808411, -0.17850980162620544, -0.7932895421981812, -0.37283456325531006, 0.5717406868934631, 0.22133275866508484, 0.02503981627523899, 0.6250567436218262, -0.5925905108451843, 0.0984782725572586, 0.6418365836143494, 0.12611603736877441, 0.05240665376186371, 0.3834455609321594, 0.1119958758354187, -0.4439130127429962, -0.8572922945022583, -0.35562992095947266, 0.9066730737686157, 0.3009461462497711, 0.7865656018257141, -0.165103942155838, 0.7491288185119629, 0.3385765552520752, 0.2902064025402069, -0.7463909387588501, 0.2375720739364624, -0.43107539415359497, -0.30247315764427185, -0.3914821445941925, -0.5650691986083984, -0.9754886031150818, 0.11676955223083496, -0.43377819657325745, -0.5400851368904114, 0.10679346323013306, -0.06973547488451004, -0.020926592871546745, -0.03430865332484245, -0.6726536750793457, 0.9485337734222412, -0.1409931629896164, -0.49336209893226624, -0.2756430506706238, -0.7506623268127441, 0.08203384280204773, -0.27200502157211304, 0.020103275775909424, 0.1472082883119583, -0.09544098377227783, 0.5085507035255432, -0.2103385031223297, 0.710385262966156, 0.08630051463842392, 0.3850792944431305, 0.1846146434545517, 0.26764485239982605, 0.30143147706985474, 0.048001036047935486, -0.0812632143497467, 0.2659388482570648, -0.12127047032117844, -0.5812088251113892, -0.4428493082523346, 0.5044973492622375, -1.0819270610809326, -0.5726100206375122, -0.43093445897102356, -1.1129549741744995, -0.18005689978599548, 0.08622980862855911, 0.31275713443756104, -0.10135693848133087, -0.2281537801027298, 0.15440040826797485, 0.6873091459274292, 0.036242254078388214, 0.20895318686962128, 0.24947170913219452, -0.08215250074863434, -0.5103031992912292, 0.9292622208595276, 0.3451139032840729, 0.2319120317697525, 0.41459640860557556, 0.035421840846538544, -0.19921162724494934, -0.707053542137146, -0.5715578198432922, 0.5331147909164429, -0.4720325767993927, -0.440828412771225, -0.5926752686500549, -0.2852609157562256, -0.6728530526161194, -0.34959325194358826, -0.10219073295593262, -0.4056200683116913, -0.3963450789451599, -0.09487196803092957, 0.24555881321430206, 0.7586989402770996, -0.32762911915779114, 0.05287150293588638, -0.9066349864006042, 0.2379540205001831, -0.013010562397539616, -0.26143234968185425, -0.6312186121940613, -0.5263234376907349, -0.5457749366760254, -0.005919060204178095, -0.017321797087788582, -1.0524502992630005, 0.7680454254150391, -0.02320089191198349, 0.684285044670105, 0.12827037274837494, -0.1680457890033722, 0.6318181157112122, -0.554716944694519, 0.40075525641441345, 0.03388431668281555, -0.8122345805168152, 0.544387936592102, -0.33272862434387207, -0.105404794216156, 0.6715709567070007, 0.7625203132629395, -0.14486899971961975, -0.628024697303772, -0.4767535328865051, -0.659650981426239, 0.6428579092025757, 0.3452427387237549, 0.03887366130948067, 0.10733726620674133, 0.4930412769317627, 0.3186179995536804, 0.27864107489585876, -0.5937236547470093, -0.21212805807590485, -0.09285932779312134, -0.3655698895454407, -0.3302810490131378, -0.294404000043869, -0.09819401800632477, -0.21427218616008759, 0.7635414600372314, -0.1843770295381546, 0.017605962231755257, 0.24176949262619019, -0.20172269642353058, -0.24971690773963928, -0.06486628204584122, 0.6234288811683655, 0.618786633014679, -0.505246102809906, -0.13184323906898499, 0.21346402168273926, -0.3657410442829132, -0.06770665943622589, 0.4035937190055847, -0.6643484234809875, 0.4594433903694153, 0.4157099723815918, 0.7745354771614075, -0.09637359529733658, -0.36267873644828796, 0.42931804060935974, 0.3180377185344696, -0.1132725179195404, -0.21010378003120422, -0.14765767753124237, -0.1706623136997223, 0.0916091650724411, 0.33079254627227783, 0.1287609487771988, 0.4540286660194397, -0.33900168538093567, 0.21210584044456482, 0.4219714105129242, -0.6531108617782593, -0.09032348543405533, 0.9841456413269043, -0.013770337216556072, -0.15897752344608307, 0.7093212604522705, -0.04482559114694595, -0.40495145320892334, 0.7315137982368469, 0.9811767935752869, 0.9431335926055908, -0.17641133069992065, 0.360880583524704, 0.6896234750747681, 0.8096562623977661, -0.312754362821579, 0.024445166811347008, -0.05190233886241913, -0.3261777460575104, -0.5674872994422913, -0.4604140818119049, -0.04961211606860161, 0.08154263347387314, -0.7898260951042175, 0.40143221616744995, 0.08708526939153671, 0.00888698361814022, -0.29127979278564453, -0.11070962250232697, -0.5867360830307007, -0.06342282146215439, 0.288616418838501, 0.8288031816482544, -1.3131555318832397, 0.8964560627937317, 0.77018803358078, -0.9961756467819214, -0.6722607016563416, -0.18027497828006744, -0.28735849261283875, -0.8676818013191223, 0.8727425932884216, -0.18417640030384064, 0.005740607623010874, 0.006024722475558519, -0.5755155682563782, -1.0441330671310425, 0.9504892230033875, 0.5607632398605347, -0.4163101017475128, 0.007892434485256672, 0.4958489239215851, 0.5635579824447632, -0.5300477743148804, 0.20879900455474854, 0.5839397311210632, 0.4010321795940399, -0.013390298001468182, -0.9830593466758728, -0.049297213554382324, 0.2596488296985626, 0.3635432720184326, 0.25984010100364685, -0.6114016771316528, 0.7081598043441772, -0.15695799887180328, 0.020044980570673943, 0.2539910674095154, 0.8238762617111206, -0.02926483005285263, 0.15881867706775665, 0.26452478766441345, 0.2630012333393097, 0.38988420367240906, -0.238174170255661, 1.1435447931289673, -0.1787777841091156, 0.49710384011268616, 0.8183237910270691, -0.11893144249916077, 0.6172031760215759, 0.702515184879303, -0.2746333181858063, 0.004103019367903471, 0.7314093112945557, -0.09143384546041489, 0.673378586769104, 0.2954578101634979, 0.1071881577372551, -0.36529481410980225, -0.23409059643745422, -0.2948867380619049, 0.0748223215341568, 0.3743038475513458, -0.3938160240650177, -0.37557485699653625, 0.24753998219966888, 0.23782891035079956, 0.55223149061203, -0.22601765394210815, 0.6735848784446716, 0.04798750579357147, -0.55052250623703, 0.7701178789138794, -0.005030221771448851, 0.2911315858364105, -0.8763972520828247, -0.38236284255981445, -0.4731736183166504, 0.1826302856206894, -0.18055281043052673, -0.2921774983406067, 0.534906804561615, 0.0014551443746313453, -0.2735024392604828, -0.5814396739006042, 0.5949468612670898, -0.756888210773468, -0.789743185043335, 0.5265980362892151, 0.8360487818717957, 0.3306742310523987, 0.2202676385641098, -0.7235813736915588, 0.268716961145401, 0.23771506547927856, -0.06529857963323593, 0.3988184928894043, 0.23454895615577698, -0.25918468832969666, 0.3903942406177521, 0.4315110146999359, 0.31848421692848206, 0.15841729938983917, 0.010338447988033295, 0.74920254945755, -0.23119044303894043, -0.11124584078788757, -0.38970524072647095, 0.3487285375595093, -0.07486189901828766, -0.23306098580360413, 0.7061166167259216, 0.9271798133850098, 1.0585153102874756, -0.3055165112018585, 0.8550964593887329, 0.01175613235682249, 0.5310136079788208, -0.5290642380714417, 0.383683979511261, -0.5684834718704224, 0.011727840639650822, 0.06822921335697174, -1.1607158184051514, -0.6297836899757385, 0.8936284184455872, -0.1329401731491089, -0.06463447958230972, 0.9308561682701111, 0.8483898639678955, -0.1373441517353058, -0.5972342491149902, 0.5680694580078125, 0.30319687724113464, -0.1833779364824295, 0.36023733019828796, 0.42262163758277893, -0.7551819682121277, 0.707380473613739, -0.21634389460086823, -0.3291086256504059, -0.07504262030124664, -0.4464743733406067, -0.8685528635978699, -0.7222161889076233, -0.3234596252441406, -0.83702552318573, 0.26767152547836304, 0.8890244364738464, 0.6743622422218323, -0.9112136363983154, -0.6078355312347412, -0.06494012475013733, 0.2574593424797058, -0.5703427195549011, -0.19516566395759583, 0.33949199318885803, -1.0715880393981934, -1.1253620386123657, 0.3738318681716919, 0.10379795730113983, 0.0585130974650383, -0.26081520318984985, -0.1489713191986084, -0.26400718092918396, -0.16448113322257996, 0.27476099133491516, 0.21950170397758484, -0.6195409893989563, -0.14323312044143677, 0.2579207420349121, -0.4428982734680176, 0.04006163775920868, 0.9034784436225891, -0.9084383249282837, 0.19794774055480957, 0.6449598670005798, 0.8834652304649353, 0.8716696500778198, -0.23270945250988007, 0.6424282193183899, -0.6260514855384827, 0.6340859532356262, 0.2530249357223511, 0.38548898696899414, 0.4097195565700531, -0.5285180807113647, 1.1317843198776245, 0.34392523765563965, -0.43899300694465637, -0.8172027468681335, 0.1439642310142517, -0.9766256213188171, -0.3362364172935486, 1.425788402557373, -0.0877290889620781, -0.3543757498264313, -0.1075681522488594, -0.17917923629283905, 0.481429785490036, -0.2674022316932678, 0.6752778887748718, 0.34275349974632263, 0.054609499871730804, -0.005703275557607412, -0.9645700454711914, 0.6161207556724548, 0.5808181166648865, -0.4499320685863495, -0.33690154552459717, 0.6810745000839233, 0.11480124294757843, 0.11904314905405045, 0.5283355116844177, -0.07717009633779526, 0.09578140079975128, 0.09985538572072983, -0.017076779156923294, -0.046016477048397064, -0.4177320897579193, -0.28583312034606934, -0.11254478245973587, -0.04883359372615814, -0.40695568919181824 ]
http://arxiv.org/abs/2406.19470v1
http://arxiv.org/pdf/2406.19470v1
Changing Answer Order Can Decrease MMLU Accuracy
2024-06-27T18:21:32
2024-06-27T18:21:32
Vipul Gupta, David Pantoja, Candace Ross, Adina Williams, Megan Ung
cs.CL
cs.CL
As large language models (LLMs) have grown in prevalence, particular benchmarks have become essential for the evaluation of these models and for understanding model capabilities. Most commonly, we use test accuracy averaged across multiple subtasks in order to rank models on leaderboards, to determine which model is best for our purposes. In this paper, we investigate the robustness of the accuracy measurement on a widely used multiple choice question answering dataset, MMLU. When shuffling the answer label contents, we find that all explored models decrease in accuracy on MMLU, but not every model is equally sensitive. These findings suggest a possible adjustment to the standard practice of leaderboard testing, where we additionally consider the percentage of examples each model answers correctly by random chance.
[ -0.29546698927879333, -0.9474762082099915, 0.5038999319076538, -0.07032383978366852, -0.002432269509881735, 0.06568817049264908, 0.06823465973138809, -0.5779310464859009, 0.09298001974821091, 0.15448591113090515, -0.5695302486419678, -0.25300851464271545, -0.8355884552001953, 0.18860873579978943, -0.3715248703956604, 0.8702316284179688, -0.04613574221730232, 0.2278461903333664, -0.45153769850730896, -0.7031423449516296, -0.5956087112426758, -0.7104912996292114, -0.6501675248146057, -0.5722342133522034, 0.8690515756607056, 0.2804684042930603, 1.209987759590149, 0.586885929107666, 0.59499591588974, 0.26550307869911194, -0.4188029170036316, 0.18936333060264587, -0.6641828417778015, 0.06582284718751907, 0.12519459426403046, -0.9441972970962524, -1.0068767070770264, 0.32679352164268494, 0.41427937150001526, 0.6560308933258057, -0.4099498689174652, 0.5582898855209351, 0.06890517473220825, 0.4276677072048187, -0.403464138507843, -0.046512849628925323, -0.8329004049301147, -0.2598714232444763, -0.12650005519390106, -0.3216100335121155, -0.6799235343933105, -0.2972252368927002, -0.08679068088531494, -0.43689289689064026, 0.04967840760946274, 0.07849524170160294, 0.7843753099441528, 0.2592496871948242, -0.16745057702064514, -0.2081930935382843, -0.5073936581611633, 0.9672034978866577, -0.8731963038444519, 0.5519579648971558, 0.6646134853363037, 0.5093967914581299, -0.18811281025409698, -0.3733082413673401, -0.15977950394153595, -0.13525334000587463, 0.22156989574432373, 0.2007807493209839, 0.14909720420837402, -0.19383439421653748, 0.2170058786869049, 0.14398881793022156, -0.44411715865135193, 0.47533899545669556, -0.2053479254245758, -0.05689799040555954, 0.7438628077507019, 0.4133717119693756, -0.008897818624973297, 0.22692926228046417, -0.011385108344256878, -0.23118837177753448, -0.8138265609741211, 0.5006034970283508, 0.6629007458686829, 0.2525922656059265, 0.30535903573036194, 0.7463051080703735, -0.06747473031282425, 0.8305317759513855, 0.2114294022321701, -0.6845986843109131, 0.26696863770484924, -0.08046850562095642, -0.43906277418136597, -0.3140147030353546, 0.29530805349349976, 0.696212887763977, 0.023470822721719742, 0.1318621188402176, -0.16148622334003448, -0.249324768781662, 0.26332005858421326, -0.6486344933509827, -0.2506479024887085, 0.5501543283462524, -0.4658293128013611, -0.4586760401725769, 0.013311905786395073, -0.26092329621315, -0.2543211877346039, -0.17513234913349152, 0.23082444071769714, -0.21349427103996277, 0.08804373443126678, -0.05390159413218498, 0.20610210299491882, 0.21198336780071259, 0.6915768980979919, -0.8779784440994263, 0.09445558488368988, 0.681463360786438, 0.6380568146705627, -0.3493516445159912, -0.6472174525260925, -0.8401197195053101, -0.23845717310905457, -0.6756455302238464, 0.6518332362174988, -0.45717310905456543, -0.4168744683265686, -0.37285715341567993, -0.05570054054260254, -0.3306388258934021, -0.8158243894577026, 0.48014599084854126, -0.7893153429031372, 0.14912521839141846, -0.4757886826992035, -0.6621829271316528, 0.0451267771422863, 0.3121189475059509, -0.6035986542701721, 0.9396070241928101, -0.10278388112783432, -0.6519780158996582, 0.5480015277862549, -0.1518556922674179, -0.14711211621761322, -0.35618337988853455, -0.03441442921757698, -0.5435338616371155, 0.042923957109451294, 0.3683098554611206, 0.3960098922252655, 0.1797056347131729, 0.18513374030590057, -0.5489426255226135, -0.5152889490127563, 0.8018215894699097, -0.5361570119857788, 1.0072765350341797, 0.14076200127601624, 0.1837725192308426, 0.19002248346805573, -0.47764062881469727, 0.12590938806533813, -0.11917519569396973, -0.8080890774726868, -0.25968798995018005, 0.11025084555149078, -0.14980939030647278, 0.24965544044971466, 0.1142592802643776, -0.3851361572742462, 0.09956397116184235, -0.018509721383452415, 0.04740096628665924, 1.1975915431976318, -0.23360773921012878, 0.3442654013633728, -0.9390928149223328, 0.6330244541168213, -0.008313283324241638, 0.3133895993232727, 0.4217817783355713, -1.3465899229049683, -0.5351539850234985, 0.18034616112709045, 0.3478439748287201, 0.6382263898849487, -0.41935381293296814, 0.21455100178718567, -0.41502267122268677, -0.49925199151039124, -0.9390748143196106, 0.3589431047439575, 0.06259991228580475, 0.42367762327194214, 0.35454344749450684, -0.011720053851604462, -0.04589945450425148, -0.7120116949081421, -0.23855717480182648, -0.4605068564414978, -0.07935968786478043, 0.3954736590385437, 0.2795790135860443, -0.09055420011281967, 0.6049957871437073, -0.5629190802574158, 0.2244534194469452, -0.270539253950119, 0.04944802075624466, 0.5073119401931763, 0.14188477396965027, 0.5308462381362915, -0.8304442167282104, -0.34688401222229004, -0.2033427208662033, -0.30965667963027954, -0.10932736098766327, -0.004492608830332756, -0.12402103841304779, 0.37891966104507446, 0.45625510811805725, -0.5281461477279663, 0.3060804009437561, 0.7750533223152161, -0.12612058222293854, 0.7803837656974792, -0.19463317096233368, 0.36997586488723755, -1.0062038898468018, -0.056160300970077515, -0.4248567223548889, -0.08997455984354019, -0.6495499014854431, 0.3796458840370178, 0.2502133846282959, 0.2760264277458191, -0.41457599401474, 0.3558740019798279, -0.10960668325424194, -0.09380225092172623, -0.09922146797180176, 0.03257382661104202, 0.006461155600845814, 0.08938856422901154, -0.47561073303222656, 0.9761493802070618, 0.2100708931684494, -0.7142635583877563, 0.28929874300956726, 0.2569693326950073, -0.5482069849967957, 0.5423547625541687, -0.3678128719329834, 0.19399867951869965, -0.22804956138134003, -0.17697098851203918, -1.2215322256088257, -0.12020468711853027, -0.14316192269325256, -0.5654512643814087, 0.22289423644542694, -0.014168823137879372, -0.4662872850894928, -0.4081292152404785, -0.2820737957954407, 0.008432568982243538, 0.4655647277832031, -0.5200241804122925, 0.09938757121562958, 0.24580343067646027, -0.18347592651844025, -0.9410249590873718, -0.7977773547172546, -0.25610336661338806, -0.22041518986225128, -0.5894626379013062, 0.1308681219816208, -0.8952990770339966, -0.42457643151283264, -0.48256784677505493, -0.4032317101955414, -0.16908948123455048, 0.5538992881774902, 0.05543070286512375, 0.2844732403755188, -0.36147499084472656, 0.33701929450035095, -0.0781477838754654, 0.1579848825931549, -0.0196696724742651, 0.37136703729629517, 0.44387102127075195, 0.07998472452163696, -0.4378286898136139, -0.04653562605381012, 0.13865840435028076, 0.9148082733154297, -0.15567325055599213, 0.9489309191703796, 0.19531404972076416, -0.061194706708192825, -0.04771736264228821, -0.39199933409690857, -0.11090753227472305, -0.5043032169342041, 0.31254616379737854, -0.6909747123718262, -0.796671986579895, 0.9454871416091919, 0.5937695503234863, 0.6682249903678894, 0.2649148106575012, 0.6017502546310425, -0.4611596465110779, 1.1277549266815186, 0.4690994322299957, -0.09456859529018402, 0.2370995581150055, 0.32604628801345825, 0.2834041714668274, -0.6803906559944153, 0.0379510298371315, -0.5435678958892822, -0.4957340359687805, -0.6986221075057983, -0.43005532026290894, 0.2273492068052292, 0.013267120346426964, 0.1478160321712494, 0.021510932594537735, -0.21967527270317078, 0.45875534415245056, 0.44115814566612244, 0.42275357246398926, 0.4857174754142761, -0.06501547992229462, -0.07051018625497818, -0.08432823419570923, -0.6825862526893616, -0.40314412117004395, 1.2128545045852661, 0.36223936080932617, 1.1229889392852783, 0.3880555033683777, 0.4109884202480316, 0.005789163056761026, 0.6208856105804443, -0.7969253659248352, 0.5125739574432373, -0.1970396339893341, -0.7067903280258179, -0.7275709509849548, -0.39071768522262573, -0.8653215169906616, 0.35939040780067444, -0.06126978248357773, -0.6212896108627319, 0.07361482083797455, -0.0816403329372406, -0.6060177087783813, 0.4078945219516754, -0.5060015916824341, 0.5550459027290344, -0.03311123326420784, 0.07393128424882889, 0.36910611391067505, -0.3669237792491913, 0.35091885924339294, -0.2504713833332062, 0.1844804584980011, -0.35180598497390747, 0.010995686054229736, 0.7434836626052856, -0.2822335958480835, 0.641575038433075, 0.2711639106273651, -0.31559857726097107, 0.2292487621307373, 0.05721167474985123, 0.4419819712638855, -0.03552529960870743, -0.6799833178520203, -0.14353878796100616, -0.16128934919834137, -0.642092227935791, -0.658555805683136, 0.7849286794662476, -0.8718635439872742, -0.8604854345321655, -0.14858146011829376, -0.8836785554885864, -0.21165788173675537, -0.1536792665719986, 0.3459627032279968, 0.3700443208217621, -0.026691433042287827, 0.1632714420557022, 0.677447497844696, -0.02164909616112709, 0.5218583345413208, 0.3312380313873291, -0.4532771110534668, -0.12333011627197266, 0.28305181860923767, 0.8084076642990112, 0.5086932182312012, 0.23751147091388702, 0.31999894976615906, -0.39472541213035583, -0.8900650143623352, -0.503828763961792, -0.05057357996702194, -1.0114308595657349, -0.051942527294158936, -0.49342265725135803, -0.243809312582016, -0.5842464566230774, -0.2360229194164276, -0.15568968653678894, -0.3999980688095093, -0.46540141105651855, -0.5547285676002502, 0.29314351081848145, 0.6569604277610779, 0.4930027425289154, 0.15482434630393982, -0.4986318051815033, 0.24062295258045197, 0.7068695425987244, 0.29514533281326294, -0.12097461521625519, -1.0164841413497925, 0.001069679856300354, 0.06296385824680328, -0.09756259620189667, -1.0045627355575562, 0.1902429163455963, 0.1875964105129242, 0.8949941396713257, 0.2094484120607376, 0.00006844475865364075, 0.8693841099739075, -0.32991963624954224, 0.6018794178962708, -0.18424372375011444, -0.5128964185714722, 0.4208616316318512, -0.3673953711986542, 0.84736567735672, 0.6225321888923645, 0.28734973073005676, -0.3704266846179962, -0.7999168038368225, -0.6557611227035522, -0.4149056077003479, 0.3362423777580261, 0.15600726008415222, 0.0962122231721878, 0.3016950488090515, 0.3898811638355255, 0.30277425050735474, 0.0801202803850174, -0.9045698046684265, -0.6630905866622925, 0.189266636967659, 0.05426830053329468, -0.4380186200141907, -0.3032624423503876, -0.00015811622142791748, -0.2718426287174225, 0.7928679585456848, -0.23723068833351135, -0.03405717387795448, -0.06317050755023956, -0.10947874933481216, -0.28662240505218506, 0.483969122171402, 0.8647140264511108, 1.1835271120071411, -0.5420342683792114, 0.08853024244308472, 0.411213219165802, -0.7013274431228638, 0.3033805191516876, -0.06739994138479233, -0.46864932775497437, 0.1941577047109604, 0.26717790961265564, 0.33269748091697693, -0.005863924510776997, -0.4214354455471039, 0.21835093200206757, -0.04208209738135338, -0.0922083854675293, 0.15553459525108337, 0.13384270668029785, 0.33207640051841736, -0.14872242510318756, 0.36104732751846313, 0.25630900263786316, -0.07109896838665009, -0.5575324892997742, 0.5251802206039429, 0.2539582848548889, -0.21522793173789978, 0.0359826497733593, 0.6403583288192749, -0.15330183506011963, -0.49582070112228394, 0.5280793309211731, 0.050303865224123, -0.18616381287574768, 0.8169849514961243, 0.42255812883377075, 0.37077704071998596, -0.8372225761413574, 0.3759755790233612, 0.27646276354789734, 0.7203608751296997, -0.14689378440380096, 0.30321967601776123, 0.5083616971969604, -0.8710563778877258, -0.43876513838768005, -0.5979148149490356, -0.6537350416183472, 0.36893102526664734, -0.7990247011184692, 0.05455882474780083, -0.5661503672599792, -0.5269742012023926, 0.15485045313835144, -0.1615394800901413, -0.34463733434677124, 0.21781539916992188, 0.04281780123710632, 0.5974839329719543, -0.8839952349662781, 0.9952250719070435, 0.9270133972167969, 0.08965514600276947, -0.6926633715629578, -0.17085380852222443, 0.024188201874494553, -0.7053718566894531, 0.3218062222003937, 0.2574949264526367, 0.10110998153686523, -0.36870521306991577, -0.6258513331413269, -1.0397074222564697, 1.142783522605896, 0.25791725516319275, -0.43451255559921265, 0.33866503834724426, 0.13019737601280212, 0.6235735416412354, -0.31244802474975586, 0.385833740234375, 0.4358452260494232, 0.23253270983695984, 0.09661790728569031, -1.0564020872116089, -0.15070587396621704, -0.0699111744761467, -0.1522848904132843, 0.18682388961315155, -0.6516304016113281, 1.1486320495605469, -0.5032477378845215, 0.0981692522764206, 0.14698299765586853, 0.516668438911438, 0.6958440542221069, 0.22563719749450684, 0.4049409031867981, 0.5122019648551941, 1.195317029953003, -0.057166509330272675, 0.9872015714645386, 0.3790876269340515, 0.31052151322364807, 1.4729714393615723, -0.34335654973983765, 1.1511776447296143, 0.5955384373664856, -0.3034975230693817, 0.14807505905628204, 0.997531533241272, -0.06118340045213699, 0.3383813798427582, 0.1633003056049347, 0.1622471958398819, -0.5002554655075073, 0.3431616723537445, -0.11637286096811295, 0.3918260931968689, 0.13148966431617737, -0.29212093353271484, -0.2187245786190033, -0.06449563801288605, 0.1180938333272934, -0.12330704927444458, -0.28824982047080994, 0.3784547746181488, 0.03036491945385933, -0.7014939188957214, 0.7716082334518433, -0.07537691295146942, 0.5229902267456055, -0.19569118320941925, 0.12442316859960556, -0.5676518082618713, 0.04097248986363411, -0.11890405416488647, -0.9955247640609741, 0.09918847680091858, -0.2123267650604248, -0.2610321640968323, -0.32778650522232056, 0.36456960439682007, -0.35326817631721497, -0.7097649574279785, 0.2955450415611267, 0.7919682860374451, 0.15487761795520782, 0.22382931411266327, -0.9751755595207214, -0.08969087898731232, 0.01919023133814335, -0.41812601685523987, 0.46420803666114807, -0.12172408401966095, 0.012032667174935341, 1.023515224456787, 0.7372198104858398, -0.23371687531471252, 0.6742078065872192, 0.11079616844654083, 0.4630577564239502, -0.03445988893508911, -0.5014244318008423, -0.7622840404510498, 0.3820703625679016, -0.22431063652038574, -0.5221476554870605, 0.9236175417900085, 0.37773603200912476, 0.8462150692939758, -0.025678759440779686, 0.31807973980903625, 0.23581866919994354, 0.48342880606651306, -0.644352912902832, 0.9904909133911133, -0.5511795878410339, 0.5578978061676025, -0.09160798788070679, -1.0280202627182007, -0.3479660153388977, 0.29271987080574036, -0.21591055393218994, -0.056953199207782745, 0.7161410450935364, 0.8265477418899536, 0.007942473515868187, -0.09043470770120621, 0.9897139668464661, 0.4613085389137268, 0.32840925455093384, 0.3237897753715515, 0.6986855268478394, -0.6861165761947632, 0.6326434016227722, -0.33961936831474304, -0.054923754185438156, -0.20657142996788025, -0.5211060047149658, -1.0030661821365356, -0.3626493811607361, -0.5103343725204468, -0.328677237033844, 0.1525145322084427, 0.4155137538909912, 0.550918698310852, -1.037214994430542, -0.3610282838344574, 0.5720465779304504, 0.4055147171020508, -0.5097525715827942, -0.1744157373905182, 0.34964653849601746, -0.1339934766292572, -0.5515131950378418, 0.3869357705116272, 0.004265487194061279, 0.2942824959754944, 0.16095134615898132, 0.07486941665410995, -0.5032467842102051, 0.24568700790405273, 0.5399802923202515, -0.14848437905311584, -0.9065057039260864, -0.5921792387962341, 0.4753183424472809, -0.3871099054813385, 0.5467735528945923, 0.31765812635421753, -0.2482215166091919, 0.37925854325294495, 0.6100168228149414, 0.5410940051078796, 0.05299363657832146, 0.30303966999053955, 0.285247802734375, -0.6054737567901611, -0.2808852791786194, 0.044213224202394485, 0.38543134927749634, 0.2611757218837738, -0.38568586111068726, 0.4824187755584717, 0.02215300127863884, -0.7271984815597534, -0.6565546989440918, 0.18215663731098175, -0.8910616040229797, -0.4377526342868805, 1.1989874839782715, -0.18754351139068604, -0.24463419616222382, -0.36483994126319885, -0.079350546002388, -0.24548248946666718, -0.29426249861717224, 0.756685197353363, 1.338851809501648, -0.3794768750667572, -0.37669268250465393, -0.8583325147628784, 0.3928264379501343, 0.6797969937324524, -0.7683866024017334, 0.12127804756164551, 0.23916909098625183, 0.48016199469566345, 0.3198866844177246, 0.6690788865089417, 0.006515695247799158, 0.3968783915042877, -0.20139536261558533, -0.4823680520057678, 0.3239772319793701, -0.41631394624710083, -0.3786559998989105, 0.3958582282066345, 0.4399740695953369, -0.11243230104446411 ]
http://arxiv.org/abs/2406.19465v1
http://arxiv.org/pdf/2406.19465v1
Can Large Language Models Generate High-quality Patent Claims?
2024-06-27T18:07:40
2024-06-27T18:07:40
Lekang Jiang, Caiqi Zhang, Pascal A Scherz, Stephan Goetz
cs.CL
cs.CL
Large language models (LLMs) have shown exceptional performance across various text generation tasks but remain under-explored in the patent domain, which offers highly structured and precise language. This paper constructs a dataset to investigate the performance of current LLMs in patent claim generation. Our results demonstrate that generating claims based on patent descriptions outperforms previous research relying on abstracts. Interestingly, current patent-specific LLMs perform much worse than state-of-the-art general LLMs, highlighting the necessity for future research on in-domain LLMs. We also find that LLMs can produce high-quality first independent claims, but their performances markedly decrease for subsequent dependent claims. Moreover, fine-tuning can enhance the completeness of inventions' features, conceptual clarity, and feature linkage. Among the tested LLMs, GPT-4 demonstrates the best performance in comprehensive human evaluations by patent experts, with better feature coverage, conceptual clarity, and technical coherence. Despite these capabilities, comprehensive revision and modification are still necessary to pass rigorous patent scrutiny and ensure legal robustness.
[ -0.0679422989487648, -0.4489767849445343, 0.6672205924987793, 0.20973849296569824, -0.08512913435697556, 0.24017120897769928, -0.2464643269777298, -0.7652288675308228, 0.13605588674545288, 0.5654151439666748, 0.12070753425359726, -0.42702218890190125, -0.6346586346626282, 0.1847248673439026, -0.3122495412826538, 0.6993988752365112, -0.010897264815866947, -0.2434076964855194, -0.19595082104206085, 0.32885751128196716, -0.4346645772457123, -0.7279574275016785, -0.27844947576522827, -0.5328575372695923, 0.4026573896408081, 0.21918515861034393, 0.44822996854782104, 0.5274163484573364, 0.34886786341667175, 0.30392706394195557, -0.2830422520637512, 0.10220245271921158, -0.1068662703037262, 0.12008864432573318, -0.09173865616321564, -0.4006679952144623, -0.6686317324638367, 0.031326424330472946, 0.6543642282485962, 0.6592183709144592, -0.0032710740342736244, 0.06445670872926712, 0.2554788887500763, 0.3166796863079071, -0.4134637117385864, 0.1620120406150818, -1.049404501914978, 0.039974913001060486, -0.46937063336372375, -0.19688348472118378, -0.5624191761016846, -0.15812456607818604, 0.3730938732624054, -0.4605485200881958, 0.4888746440410614, 0.3428122103214264, 1.3118577003479004, -0.1443852335214615, -0.24127444624900818, -0.29125118255615234, -0.4962216317653656, 0.6582361459732056, -0.9790459275245667, -0.08347155898809433, 0.1712106615304947, 0.0857122614979744, -0.43211764097213745, -1.0674594640731812, -0.5523457527160645, -0.553745687007904, 0.164098858833313, -0.2774735689163208, -0.310868501663208, 0.03176102414727211, 0.45625224709510803, 0.36279866099357605, -0.5926390886306763, 0.61342853307724, -0.44774606823921204, -0.47055917978286743, 0.6376848816871643, -0.030351337045431137, 0.22018659114837646, -0.3789292573928833, -0.29867950081825256, 0.10702932626008987, -1.3634157180786133, -0.08987001329660416, 0.4266716241836548, 0.320434033870697, 0.15062585473060608, 0.8242262601852417, -0.17489399015903473, 0.49462026357650757, -0.12857329845428467, -0.22140304744243622, 0.15858082473278046, -0.24520675837993622, -0.27570104598999023, 0.20854969322681427, 0.8423183560371399, 0.18408477306365967, 0.28501880168914795, -0.19726251065731049, -0.4369288384914398, -0.48245882987976074, -0.029104553163051605, -1.0917268991470337, -0.051925186067819595, 0.20121580362319946, -0.4824855625629425, -0.17316550016403198, 0.011452903971076012, -0.4329216778278351, -0.6394653916358948, -0.22570675611495972, 0.449745237827301, -0.1858050376176834, -0.229555144906044, 0.36736786365509033, -0.1236485093832016, 0.06545064598321915, -0.02258351817727089, -0.9141461253166199, 0.06839731335639954, 0.9039751291275024, 0.8271787762641907, -0.0695459321141243, -0.2525826096534729, -0.40318503975868225, 0.23398488759994507, -0.6972572803497314, 0.9771140813827515, -0.19368602335453033, -0.36360710859298706, 0.04522615671157837, -0.17908449470996857, 0.06000664457678795, -1.0455962419509888, 0.6481996178627014, -0.590335488319397, -0.01741865649819374, -0.28389260172843933, -0.5656711459159851, 0.3035583198070526, 0.12258333712816238, -0.5680113434791565, 0.3777886927127838, -0.1883448362350464, -0.7541259527206421, 0.8327693343162537, -0.4689972698688507, -0.6662468314170837, 0.3181082606315613, -0.4295509159564972, -0.5006223320960999, 0.3902847170829773, 0.07292090356349945, 0.6214309334754944, -0.6817690134048462, 0.4737049639225006, -0.11101710796356201, -0.025067994371056557, 0.49229007959365845, -0.22582672536373138, 0.4120776057243347, 0.3585335314273834, -0.5080929398536682, 0.009181302040815353, -0.6889689564704895, 0.039349015802145004, 0.3312038779258728, -0.423812597990036, -0.10594242811203003, 0.037683967500925064, -0.3470229506492615, 0.29310697317123413, 0.5466214418411255, -0.9019407033920288, 0.057217974215745926, -0.6118877530097961, 0.6977460980415344, 0.7889831066131592, -0.015045077539980412, -0.11509893834590912, -0.2525789439678192, 0.51790452003479, -0.16758593916893005, -0.12107755243778229, -0.38683003187179565, -0.6156290173530579, -0.5980751514434814, -0.3897705674171448, 0.64231276512146, 0.15059100091457367, -0.568140983581543, 0.43373626470565796, -0.49058476090431213, -0.18323439359664917, -0.14172805845737457, 0.05176495760679245, 0.4617425501346588, 0.38651803135871887, -0.07439786195755005, -0.35154256224632263, -0.42451557517051697, -1.176700234413147, -0.32072776556015015, -0.19543883204460144, -0.2354571670293808, 0.41345447301864624, 0.4395769536495209, 0.08406621962785721, 0.873094379901886, -0.5006918907165527, -0.14852972328662872, -0.269232839345932, 0.31839603185653687, 0.39217981696128845, 0.060641609132289886, 0.6274313926696777, -0.5572631359100342, -0.4545057415962219, 0.28923216462135315, -0.5851265788078308, -0.26448723673820496, -0.004451480228453875, 0.14605876803398132, 0.3702237904071808, 0.2642059326171875, -0.9093972444534302, 0.07814610749483109, 0.26610326766967773, -0.28828760981559753, 0.7330751419067383, -0.3927055895328522, -0.014037585817277431, -1.0237412452697754, 0.25113940238952637, 0.11038447171449661, 0.009483721107244492, -0.35648152232170105, -0.12185980379581451, 0.085961252450943, -0.24568314850330353, -0.4823673367500305, 0.6592925190925598, -0.5957910418510437, -0.10904253274202347, -0.49142390489578247, -0.10596861690282822, 0.20996755361557007, -0.17862960696220398, -0.3656752407550812, 0.8941007852554321, 0.634364128112793, -0.5252478122711182, 0.2963157296180725, 0.061079978942871094, -0.7169290781021118, 0.06781275570392609, -0.9240056276321411, -0.04092853143811226, 0.17383477091789246, 0.17074796557426453, -0.8248940706253052, -0.5914137959480286, -0.46512842178344727, -0.21393978595733643, 0.5798479914665222, 0.028866175562143326, -0.9435776472091675, -0.7708814144134521, -0.19772490859031677, -0.08661734312772751, 0.5479324460029602, -0.7364264726638794, 0.27285581827163696, 0.37885338068008423, -0.8263517618179321, -0.4813999533653259, -0.7386246919631958, 0.6384938359260559, -0.3166245222091675, -0.7884576320648193, 0.5651403665542603, 0.3503528833389282, -0.13079801201820374, -0.2079615741968155, 0.037173956632614136, -0.09213295578956604, -0.08192359656095505, 0.07357747852802277, 0.1730348765850067, -0.27458763122558594, 0.05411449074745178, -0.04954679682850838, -0.10335816442966461, 0.20469702780246735, -0.2046356201171875, 0.5433252453804016, 0.2157914638519287, -0.30322977900505066, -0.4188515543937683, 0.17366057634353638, 0.5452166199684143, -0.10301858186721802, 0.20478497445583344, -0.0836411565542221, -0.3643059730529785, -0.35534021258354187, -0.6370987296104431, 0.06923206895589828, -0.5102750062942505, 0.37056055665016174, -0.6045942306518555, -1.0085376501083374, 0.4427124857902527, -0.13286687433719635, 0.21111451089382172, 0.8008880019187927, 0.5760713219642639, 0.22317129373550415, 0.9165596961975098, 0.5077722668647766, -0.11492784321308136, 0.1549624651670456, -0.05111357569694519, 0.614251434803009, -0.4954800009727478, -0.20483337342739105, -0.7598505020141602, -0.06557214260101318, -0.4918389916419983, -0.12794551253318787, 0.16477838158607483, 0.061392806470394135, -0.19627080857753754, 0.3191375136375427, -0.5791676640510559, 0.49071499705314636, 0.6307023763656616, -0.1541610062122345, 0.392943799495697, 0.4221741855144501, -0.3934077024459839, -0.17333538830280304, -0.4915340840816498, -0.9355090260505676, 1.4578238725662231, 0.565705418586731, 0.8859809041023254, -0.052451666444540024, 0.5894786715507507, 0.3160706162452698, 0.3013669550418854, -0.5019643306732178, 0.5379049777984619, -0.2952536642551422, -0.6005135774612427, 0.030513709411025047, -0.3707020878791809, -0.9409080743789673, 0.11744929105043411, -0.08301687985658646, -0.6349298357963562, 0.11305608600378036, 0.2533358931541443, -0.5578637719154358, 0.20810110867023468, -0.798864483833313, 0.5673867464065552, -0.6540784239768982, -0.4061877727508545, -0.24255569279193878, -0.24392671883106232, 0.585692286491394, -0.618338406085968, -0.21598172187805176, -0.15841472148895264, 0.23978331685066223, 0.7369788885116577, -0.537592887878418, 0.7969434857368469, -0.19273237884044647, -0.5809832215309143, 0.42745333909988403, -0.11498890817165375, 0.5139780044555664, -0.15976126492023468, -0.28100767731666565, -0.022694000974297523, -0.23508457839488983, -0.1729048788547516, -0.30001163482666016, 0.8305956721305847, -0.24697694182395935, -0.7150248289108276, -0.30727681517601013, -0.37485286593437195, -0.2099972367286682, 0.39161938428878784, 0.5571354627609253, 0.4266141355037689, -0.2049502581357956, 0.14700907468795776, 0.4423828721046448, -0.6416944265365601, 0.39330267906188965, 0.334304541349411, -0.13929729163646698, -0.4456755518913269, 1.0766359567642212, 0.2869766652584076, 0.1931295394897461, 0.08230520039796829, 0.2563493847846985, -0.5548804402351379, -0.9732627272605896, -0.2845247983932495, 0.27352115511894226, -0.4720749855041504, -0.32169103622436523, -0.6241194605827332, -0.3093721270561218, -0.5270795822143555, 0.20134736597537994, -0.27139246463775635, -0.6375935077667236, 0.07542649656534195, -0.01057217177003622, 0.07859236001968384, 0.9594379663467407, 0.09568257629871368, 0.06602392345666885, -0.6302905082702637, 0.3393842577934265, 0.5323301553726196, 0.43924492597579956, -0.17262952029705048, -0.4419839382171631, -0.2428758144378662, -0.04108300805091858, -0.8424654603004456, -0.07498924434185028, 0.3914768397808075, 0.3321015536785126, 0.6558504104614258, 0.26553967595100403, -0.14470326900482178, 0.43482470512390137, -0.8074551820755005, 1.015325665473938, 0.3011883497238159, -0.7292231917381287, 0.4101070165634155, -0.29589128494262695, -0.1419987976551056, -0.04541889205574989, 0.05343969538807869, 0.0520516075193882, -0.2387198805809021, -0.561011791229248, -1.009140133857727, 0.34189459681510925, 0.07499333471059799, 0.3784182667732239, -0.025707537308335304, 0.37493857741355896, 0.1486446112394333, 0.14086025953292847, -0.5058892965316772, 0.308306485414505, 0.1823180764913559, -0.04576785862445831, 0.15741199254989624, -0.30287981033325195, -0.07101308554410934, 0.10439706593751907, 0.542961597442627, -0.03671669587492943, 0.2348661571741104, 0.12197178602218628, 0.18467845022678375, -0.021182049065828323, 0.4608575403690338, 0.7959124445915222, 0.8781682252883911, 0.08463761955499649, 0.13292501866817474, -0.0987938940525055, -0.3172655403614044, 0.1105339527130127, 0.40244969725608826, -0.03173183277249336, 0.1519845873117447, 0.380505234003067, 0.6284520626068115, -0.08051594346761703, -0.9197970032691956, 0.5965936183929443, -0.0514008104801178, -0.5208979249000549, 0.1505119651556015, 0.13435840606689453, 0.022215817123651505, 0.28171926736831665, 0.6166654229164124, -0.19817006587982178, 0.14052017033100128, -0.3777259588241577, 0.24771150946617126, 0.4982379376888275, 0.3734864592552185, -0.34523847699165344, 0.7470988035202026, 0.162389874458313, -0.05438574030995369, 0.08465926349163055, 0.05896064639091492, -0.40671852231025696, 0.6944096684455872, 0.7462199926376343, 0.9027853012084961, 0.06996718794107437, -0.06852320581674576, 0.12322382628917694, 0.2122296243906021, -0.34552252292633057, 0.08209436386823654, 0.16194726526737213, -0.517835259437561, -0.6937815546989441, -0.470255970954895, -0.6134769320487976, 0.3723578155040741, -0.023426571860909462, 0.14221714437007904, -0.44735369086265564, -0.5191084146499634, 0.19312052428722382, -0.05851273611187935, -0.4967877268791199, -0.03319529816508293, 0.10183786600828171, 0.7268866896629333, -0.4979831576347351, 0.5981506109237671, 0.49944090843200684, -0.1733981966972351, -0.7293066382408142, 0.07095232605934143, -0.25379684567451477, -0.45258796215057373, 0.9981556534767151, 0.1544497013092041, -0.060181766748428345, -0.16956289112567902, -0.7114355564117432, -0.683956503868103, 0.9258162975311279, 0.8315814137458801, -0.5732199549674988, -0.09272550791501999, 0.5654376149177551, 0.4880417287349701, -0.3205077648162842, -0.37004703283309937, 0.34161463379859924, 0.2681904733181, 0.07515408098697662, -1.2754789590835571, 0.02553841471672058, -0.147225022315979, 0.22980882227420807, -0.12906260788440704, -0.47995707392692566, 0.8735831379890442, -0.35620614886283875, -0.3035185933113098, 0.4134752154350281, 0.5558885931968689, 0.5915466547012329, 0.20835953950881958, 0.03145845979452133, 0.5050709843635559, 0.8544077277183533, -0.1393761783838272, 1.169637680053711, -0.4686669707298279, 0.12703725695610046, 1.167281985282898, -0.7472758889198303, 0.9456177949905396, 0.11644048988819122, -0.05159838870167732, 0.06991815567016602, 0.4760861396789551, -0.02859615907073021, 0.26020029187202454, 0.5820508003234863, -0.26081427931785583, -0.09394267201423645, -0.2439347207546234, -0.41405120491981506, 0.27535805106163025, 0.28198423981666565, -0.7222279906272888, -0.10147468745708466, -0.10188053548336029, -0.0035720388405025005, -0.08041294664144516, 0.04143963009119034, 0.5746873021125793, 0.19503584504127502, -0.7637249231338501, 0.8730627298355103, 0.151860773563385, 0.7777308821678162, -0.3797880709171295, -0.021908214315772057, -0.052142348140478134, 0.22091999650001526, -0.19016478955745697, -0.8114336729049683, -0.21416769921779633, 0.44542840123176575, -0.08051543682813644, -0.15905535221099854, 0.7588873505592346, -0.06571363657712936, -0.30152398347854614, -0.021145006641745567, 0.29251807928085327, 0.21163366734981537, 0.024466795846819878, -0.27943044900894165, -0.14594702422618866, -0.22623030841350555, -0.3663416802883148, 0.2676755487918854, 0.673163890838623, -0.14696094393730164, 0.6217418313026428, 0.5323906540870667, 0.5163852572441101, 0.4619990885257721, 0.15912504494190216, 0.8228960633277893, -0.6668637990951538, -0.1435183435678482, -0.7277366518974304, 0.35036858916282654, -0.3081718683242798, -0.34084901213645935, 0.6041586995124817, 0.8855333924293518, 0.45886602997779846, -0.07591940462589264, 1.086243987083435, 0.028002148494124413, 0.5472460389137268, -0.7097136378288269, 0.8780506253242493, -0.2273956537246704, 0.31210261583328247, -0.2188304215669632, -0.8551274538040161, -0.572100043296814, 0.2949492335319519, -0.16758407652378082, 0.07027922570705414, 0.5789512991905212, 0.7455535531044006, 0.047561418265104294, -0.22838976979255676, 0.4230869710445404, 0.5016595721244812, 0.9263508319854736, 0.3825037479400635, 0.8732503652572632, -0.31551656126976013, 0.364755243062973, 0.18146340548992157, -0.10872504860162735, -0.013352155685424805, -1.0153571367263794, -0.6683845520019531, -0.200228750705719, -0.2279176265001297, -0.35923606157302856, -0.12025204300880432, 0.7088379859924316, 0.7021097540855408, -0.7144330739974976, -0.0963183343410492, -0.1135696992278099, -0.32494205236434937, 0.4194665253162384, -0.15505413711071014, 0.5332178473472595, -0.5229468941688538, -0.5717926025390625, 0.4507843554019928, 0.37520846724510193, 0.1697942614555359, -0.17513719201087952, -0.06243882328271866, 0.3162981867790222, 0.08938398957252502, 0.861604630947113, 0.42728328704833984, -0.841262936592102, -0.15636232495307922, -0.05698757618665695, -0.2892542779445648, 0.07366197556257248, 1.0055464506149292, -0.4354933798313141, 0.4066489338874817, 0.47939786314964294, 0.8302607536315918, 0.3852004110813141, -0.09485659748315811, 0.7395426630973816, -0.6202207207679749, 0.04092986881732941, 0.2254450023174286, 0.6503728032112122, 0.3593156039714813, -0.159393310546875, 0.14689327776432037, 0.0930914580821991, -0.7634326219558716, -0.7802194952964783, 0.1271025836467743, -0.6702073216438293, -0.12627233564853668, 1.24313485622406, -0.1867554634809494, -0.14601671695709229, -0.051846086978912354, -0.3492540717124939, -0.17898297309875488, -0.24487489461898804, 0.8155727386474609, 0.8925173282623291, -0.239077627658844, 0.21117503941059113, -0.6298343539237976, 0.3185533583164215, 0.25562241673469543, -0.756306529045105, 0.3104557394981384, 0.5591835379600525, 0.3947296142578125, 0.2170507162809372, 0.4821683466434479, -0.5566053986549377, 0.10906293988227844, -0.21344569325447083, 0.23828352987766266, -0.047852177172899246, -0.3752727806568146, -0.23158305883407593, 0.36628642678260803, 0.902614176273346, -0.04593496024608612 ]
http://arxiv.org/abs/2406.19388v1
http://arxiv.org/pdf/2406.19388v1
Taming Data and Transformers for Audio Generation
2024-06-27T17:58:54
2024-06-27T17:58:54
Moayed Haji-Ali, Willi Menapace, Aliaksandr Siarohin, Guha Balakrishnan, Sergey Tulyakov, Vicente Ordonez
cs.SD
cs.SD, cs.CL, cs.CV, cs.MM, eess.AS
Generating ambient sounds and effects is a challenging problem due to data scarcity and often insufficient caption quality, making it difficult to employ large-scale generative models for the task. In this work, we tackle the problem by introducing two new models. First, we propose AutoCap, a high-quality and efficient automatic audio captioning model. We show that by leveraging metadata available with the audio modality, we can substantially improve the quality of captions. AutoCap reaches CIDEr score of 83.2, marking a 3.2% improvement from the best available captioning model at four times faster inference speed. We then use AutoCap to caption clips from existing datasets, obtaining 761,000 audio clips with high-quality captions, forming the largest available audio-text dataset. Second, we propose GenAu, a scalable transformer-based audio generation architecture that we scale up to 1.25B parameters and train with our new dataset. When compared to state-of-the-art audio generators, GenAu obtains significant improvements of 15.7% in FAD score, 22.7% in IS, and 13.5% in CLAP score, indicating significantly improved quality of generated audio compared to previous works. This shows that the quality of data is often as important as its quantity. Besides, since AutoCap is fully automatic, new audio samples can be added to the training dataset, unlocking the training of even larger generative models for audio synthesis.
[ -0.7766627669334412, -0.6043566465377808, 0.27142834663391113, 0.2571495473384857, -0.12276303023099899, 0.34631991386413574, 0.022042013704776764, -0.45834261178970337, 0.0695783868432045, 0.6033873558044434, -0.6379005312919617, -0.3406115770339966, -0.46536681056022644, 0.12036652117967606, -0.8320067524909973, 0.6623579859733582, 0.12112167477607727, -0.35361912846565247, -0.04444718360900879, 0.02176312915980816, -0.9242781400680542, -0.3961661756038666, -0.5805010199546814, -0.03330496326088905, -0.2108640819787979, 0.3551994860172272, 0.8051978945732117, 0.887865424156189, 0.45561298727989197, 0.32524463534355164, 0.20124903321266174, 0.20768971741199493, -0.09350074827671051, 0.27865514159202576, 0.35046759247779846, -0.21142594516277313, -0.35884347558021545, 0.08186754584312439, 0.3932742476463318, 0.22504858672618866, -0.3130030035972595, 0.16233880817890167, -0.14848190546035767, 0.4960442781448364, -0.2639915347099304, 0.2556346356868744, -0.8613178730010986, 0.32467082142829895, 0.01920502446591854, -0.497459352016449, -0.2675814926624298, 0.1070784479379654, -0.23113998770713806, -0.7787759304046631, 0.6168418526649475, 0.44071611762046814, 1.0248078107833862, 0.8230236172676086, 0.031992148607969284, -0.36833834648132324, -1.1709176301956177, 0.5361414551734924, -0.6332595348358154, 0.43529996275901794, 0.32367372512817383, 0.5698776245117188, 0.06764685362577438, -0.8256227374076843, -0.707231879234314, -0.16953660547733307, 0.016536980867385864, 0.4097154140472412, -0.6268505454063416, -0.022801486775279045, 0.32878658175468445, 1.093542218208313, -0.2200934886932373, 0.08312832564115524, -0.569857120513916, -0.21468941867351532, 0.8781349658966064, 0.40163126587867737, 0.5104966163635254, -0.4920244812965393, -0.3724425435066223, -0.409806489944458, -0.795973539352417, 0.07523320615291595, 0.8057324886322021, 0.24624408781528473, -0.10283852368593216, 0.4492748975753784, -0.051299236714839935, 0.4422144889831543, 0.5295217633247375, 0.1386331021785736, 0.10989965498447418, -0.5812891125679016, -0.17187656462192535, 0.056416939944028854, 1.0338469743728638, 0.29852399230003357, -0.14638933539390564, -0.1823461651802063, -0.4409496486186981, -0.019136954098939896, 0.6319375038146973, -0.6629984974861145, -0.6622592806816101, 0.3313993811607361, -0.3094176650047302, -0.35500413179397583, 0.20283211767673492, -1.0251758098602295, 0.0872456282377243, -0.8395929932594299, 0.6781014204025269, -0.38402846455574036, -0.09866064041852951, -0.03978033736348152, -0.2569827735424042, 0.09740031510591507, -0.061816733330488205, -1.0121357440948486, 0.3504410982131958, 0.17070214450359344, 0.8263025283813477, -0.4215250015258789, 0.11878125369548798, -0.5736739635467529, 0.2657296061515808, -0.3788691461086273, 0.7386652231216431, -0.22375571727752686, -0.6150102019309998, -0.2381402552127838, -0.11961790174245834, 0.20790119469165802, -0.8337644338607788, 0.5140256285667419, -0.2508101463317871, 0.26537957787513733, 0.022200046107172966, -0.30269140005111694, 0.16234903037548065, -0.6739498376846313, -0.9995585083961487, 1.0464694499969482, 0.2570425868034363, -0.20278112590312958, 0.5048559904098511, -1.0326634645462036, -0.6790341138839722, 0.07118895649909973, 0.11371541768312454, -0.7719670534133911, 0.1370994746685028, 0.7054076194763184, 0.2459719181060791, -0.21379153430461884, 0.45298314094543457, 0.16421128809452057, -0.30758795142173767, 0.16461032629013062, -0.6969665288925171, 0.5417715907096863, 0.6755451560020447, -0.6239942908287048, 0.08439501374959946, -0.6554354429244995, -0.423068642616272, -0.0429389625787735, -0.011127328500151634, 0.20515848696231842, -0.13986249268054962, 0.3873215615749359, 0.16252072155475616, -0.4858165383338928, -0.48743680119514465, -0.25082793831825256, -0.3671112656593323, 0.7818797826766968, 0.6276447772979736, 0.2988876700401306, 0.4400721788406372, -0.6463468670845032, 0.7061246633529663, -0.17112818360328674, 0.22726649045944214, -0.5459696650505066, -0.34362682700157166, -0.5146031975746155, -0.6627820134162903, 0.25090721249580383, 0.222093403339386, -0.4899378716945648, 0.7351384162902832, -0.0408160462975502, -0.5303627848625183, -1.1021586656570435, 0.04448024556040764, -0.1356074959039688, 0.31326666474342346, 0.6155652403831482, -0.4527888894081116, -0.8715493083000183, -0.786685585975647, 0.02527569979429245, -0.013546936213970184, -0.6104004383087158, 0.5216206312179565, 0.18767961859703064, -0.16062772274017334, 1.2330455780029297, -0.5120264887809753, -0.5439098477363586, 0.05619426816701889, 0.473493367433548, 0.24162833392620087, 0.7267768979072571, 0.6802815198898315, -0.6547718644142151, -0.4915238618850708, -0.5191330313682556, -0.5386661887168884, -0.5507326722145081, -0.4191322326660156, -0.09476297348737717, -0.11549154669046402, 0.7315506935119629, -0.8649348616600037, 0.06404491513967514, 0.4043470621109009, 0.12640081346035004, 0.7266771197319031, 0.072295643389225, 0.36307111382484436, -0.9168907999992371, 0.06434793025255203, -0.43791791796684265, -0.17527629435062408, -0.5480128526687622, 0.023451702669262886, -0.5752403736114502, -0.6265662312507629, -0.4439714848995209, 0.26445236802101135, -0.48348167538642883, -0.044980935752391815, -0.5560376048088074, -0.07158444076776505, 0.3048792779445648, 0.3463836908340454, -0.07243206351995468, 1.049944281578064, 0.6310555338859558, -0.5552970170974731, 0.633160412311554, 0.5027323365211487, -0.538263201713562, 0.4829484224319458, -0.8512081503868103, 0.1938823163509369, -0.08884802460670471, 0.34536680579185486, -1.16389799118042, -0.4507303833961487, -0.006829411257058382, -0.6524440050125122, 0.3725840747356415, 0.15083424746990204, -0.9420838356018066, -0.4953058362007141, 0.09880083799362183, 0.33215126395225525, 0.8940762877464294, -0.9535821080207825, 0.7482292056083679, 0.6005527377128601, -0.2789185345172882, 0.20230944454669952, -0.6634796261787415, 0.3455891013145447, -0.6096372008323669, -0.392284095287323, 0.6042228937149048, -0.3214409053325653, -0.18199390172958374, -0.05089130997657776, -0.1558084487915039, 0.014047635719180107, -0.18477536737918854, 0.5081404447555542, 0.33563414216041565, -0.08370058238506317, 0.19500640034675598, 0.24516475200653076, -0.22996141016483307, 0.3570935130119324, -0.08249417692422867, 0.3760756254196167, 0.003520406549796462, -0.13869376480579376, -0.5800301432609558, 0.34907498955726624, 0.9045491218566895, -0.3053134083747864, 0.025361327454447746, 0.692889928817749, -0.10955624282360077, -0.1897002011537552, -0.5719360709190369, -0.4973389506340027, -0.6288332343101501, 0.01717313565313816, -0.2965176999568939, -0.5883051156997681, 0.486106276512146, -0.08050601929426193, 0.296836256980896, 0.8435395359992981, 0.3858411908149719, -0.4973728060722351, 0.9771751761436462, 0.18137168884277344, -0.164657324552536, 0.4086669087409973, -0.437782883644104, 0.1668049395084381, -0.759644627571106, -0.06287859380245209, -0.35102370381355286, -0.11314977705478668, -0.5210187435150146, -0.3570992946624756, 0.629672110080719, -0.2997666001319885, -0.16607020795345306, 0.7109825611114502, -0.8607237935066223, 0.2107369303703308, 0.749156653881073, -0.11913446336984634, 0.3143092095851898, 0.370726615190506, 0.37660086154937744, 0.027792254462838173, -0.7255645394325256, -0.12496185302734375, 1.1004971265792847, 0.37495213747024536, 0.5779740214347839, -0.08139453083276749, 0.46771302819252014, 0.7605500221252441, 0.16907545924186707, -0.5042835474014282, 0.1555922031402588, -0.05958211049437523, -0.741947591304779, -0.4761694669723511, -0.2749783396720886, -0.7957765460014343, 0.08019893616437912, -0.4002127945423126, -0.31064003705978394, 0.23235203325748444, 0.09113167971372604, -0.5308768153190613, 0.4178018569946289, -0.45524895191192627, 0.2997029423713684, -0.014284380711615086, -0.20710790157318115, 0.10215911269187927, -0.5490891337394714, 0.2561385929584503, -0.2666704058647156, 0.4155862331390381, -0.1113695502281189, 0.5234614014625549, 0.563143253326416, -0.2507473826408386, 0.562617838382721, -0.0716717541217804, -0.28871116042137146, 0.9283978939056396, -0.004539838060736656, 0.34984225034713745, 0.12763097882270813, 0.10656064003705978, 0.3149837255477905, -0.1598060131072998, -0.05382811650633812, -0.5595765113830566, 0.5676631927490234, -0.7933263778686523, -0.5894323587417603, 0.1591707468032837, -1.045408844947815, -0.05511355772614479, -0.2091321349143982, 0.7129809260368347, 0.5854312181472778, 0.04051002487540245, 0.3455786108970642, 0.5252271890640259, -0.3200173079967499, 0.7173640727996826, 0.4628503620624542, 0.2594905197620392, -0.8145097494125366, 0.9266883730888367, -0.09139344096183777, 0.41263726353645325, 0.12114278972148895, 0.15825989842414856, -0.41625896096229553, -0.13415729999542236, -0.6649246215820312, -0.2187892496585846, -0.4545919597148895, -0.49633023142814636, -0.8150413632392883, -0.2636924088001251, -0.4793758690357208, -0.17081566154956818, -0.7696667313575745, -0.2897275388240814, -0.23921896517276764, -0.30556032061576843, 0.5987318158149719, 0.3225935399532318, -0.5901370048522949, 0.4996907114982605, -0.7028684020042419, 1.0570125579833984, 0.4052395820617676, 0.15984103083610535, -0.12687982618808746, -0.7009251713752747, -0.03352085128426552, 0.0018078989814966917, -0.2955801784992218, -0.7204620838165283, 0.578406810760498, 0.17002448439598083, 0.44434410333633423, 0.2959280014038086, 0.30143067240715027, 0.6125382781028748, -0.5077362656593323, 0.826452374458313, 0.22446319460868835, -1.0740408897399902, 0.4403950572013855, -0.37410321831703186, 0.42126569151878357, 0.5481608510017395, -0.07487425953149796, -0.18551473319530487, -0.8335989117622375, -0.8597029447555542, -1.0890494585037231, 0.5844699740409851, 0.758642852306366, 0.560052752494812, 0.08242490142583847, 0.09381234645843506, 0.42049548029899597, 0.3947807848453522, -0.6242551803588867, -0.33307144045829773, -0.8741329908370972, -0.0794617310166359, -0.019407207146286964, 0.14486609399318695, -0.11783298850059509, -0.5777269601821899, 0.727152943611145, 0.11641884595155716, 0.5793813467025757, 0.19000713527202606, 0.27550575137138367, -0.4812498092651367, 0.21078826487064362, 0.1758885234594345, -0.1095919981598854, -0.13181963562965393, 0.16374234855175018, 0.17430324852466583, -0.35829958319664, 0.3901670277118683, -0.06579470634460449, -0.18310129642486572, 0.392378032207489, 0.22556206583976746, 1.0014805793762207, 0.05035419017076492, -0.6265802383422852, 0.311078280210495, 0.31804555654525757, -0.19262826442718506, -0.6194989681243896, 0.2754773795604706, -0.08193077892065048, -0.3266802430152893, 0.5186266303062439, 0.1928890347480774, 0.47927168011665344, -0.4690929651260376, 0.6652408242225647, 0.06101777032017708, -0.4032769203186035, -0.19100220501422882, 1.264278531074524, 0.08623816072940826, -0.11256355047225952, 0.8654657006263733, 0.15029099583625793, 0.009537016041576862, 0.7630510926246643, 0.6635047197341919, 1.006839394569397, -0.47565993666648865, 0.007983284071087837, 0.6748507618904114, 0.4573303461074829, 0.30550381541252136, -0.13536790013313293, -0.3821163773536682, -0.2829058766365051, -0.3538031578063965, -0.6985283493995667, -0.5178127884864807, 0.3680537939071655, -0.7353438138961792, 0.1845950037240982, -0.11579567193984985, -0.09221541881561279, -0.12279409170150757, -0.5387013554573059, -0.674625813961029, 0.39776942133903503, -0.12305456399917603, 0.45015794038772583, -1.2028447389602661, 0.277301162481308, 0.07579397410154343, -0.5469306707382202, -0.6930492520332336, -0.10783994942903519, -0.2440977841615677, -0.2544254660606384, 0.30727875232696533, 0.0679386630654335, -0.0905771553516388, 0.27959907054901123, -0.6961227655410767, -0.9334725141525269, 0.9962640404701233, 0.10936647653579712, -0.6871849894523621, 0.2670726180076599, 0.48201170563697815, 0.6396132111549377, -0.3639279901981354, 0.019045688211917877, 0.716009259223938, 0.7907508015632629, 0.1561131775379181, -0.5917235016822815, -0.07866337895393372, -0.4782525300979614, -0.16068217158317566, -0.12741625308990479, -0.453348845243454, 0.5282788276672363, -0.2115665078163147, -0.4880542755126953, 0.09518305957317352, 0.8220201730728149, 0.263821005821228, 0.30449196696281433, 0.826201319694519, 0.3838065564632416, 0.3272314667701721, -0.4032975435256958, 1.0724513530731201, -0.6010116338729858, 0.02429378218948841, 1.0306459665298462, 0.11907269060611725, 0.32848232984542847, 0.34043213725090027, -0.24406012892723083, 0.2928922772407532, 0.35722091794013977, -0.7272732257843018, 0.7419288158416748, 0.3317190408706665, -0.2551845610141754, -0.15319864451885223, -0.12060202658176422, -0.20353646576404572, 0.7208290696144104, 0.12634950876235962, -0.34490492939949036, 0.2594521641731262, 0.593413770198822, -0.3120826482772827, 0.14514625072479248, 0.1431150883436203, 0.791350245475769, 0.00974176824092865, -0.5009192824363708, 0.434689998626709, -0.15990227460861206, 0.5354675650596619, -0.171579509973526, -0.18605069816112518, -0.20077894628047943, -0.5619856715202332, -0.10970009863376617, -0.47345399856567383, 0.58418208360672, -0.04087749123573303, -0.32462620735168457, -0.48394641280174255, 0.32603272795677185, -0.45091184973716736, -0.3758923411369324, -0.011271451599895954, 0.07116028666496277, 0.014532101340591908, -0.15627343952655792, -0.198776513338089, 0.07190416008234024, -0.33128827810287476, 0.06046253442764282, -0.2644224166870117, 0.1232978105545044, 0.34251701831817627, 0.3761052191257477, 1.0376884937286377, 0.050697196274995804, 0.11755240708589554, 0.10850438475608826, 0.6201053857803345, -0.41195258498191833, -0.5620723962783813, -0.4961641728878021, 0.4735575318336487, 0.06803333014249802, 0.01283175777643919, 0.5785942077636719, 0.68578040599823, 0.5301601886749268, -0.5290181040763855, 0.8619799017906189, 0.034482505172491074, 0.24543417990207672, -0.5520467162132263, 0.7556098103523254, -0.22864899039268494, 0.3951958119869232, -0.5659166574478149, -1.0295802354812622, -0.0801677256822586, 0.15177538990974426, 0.18874171376228333, -0.04184270277619362, 0.3592154085636139, 0.7315860390663147, -0.2662162780761719, 0.10508696734905243, 0.32546356320381165, 0.10221888870000839, 0.5619478821754456, 0.23058031499385834, 0.7794910669326782, -0.795991063117981, 0.6294569969177246, -0.4807319641113281, 0.10238255560398102, 0.18822622299194336, -0.5237056016921997, -0.4463422894477844, -0.7607517838478088, -0.577465832233429, 0.036554981023073196, -0.031106648966670036, 0.4773575961589813, 0.9749847650527954, -0.9348356127738953, -0.08027344942092896, -0.4831714332103729, -0.343152791261673, -0.5090336799621582, -0.43553873896598816, 0.4790932536125183, -0.29810860753059387, -1.1204942464828491, 0.9189403653144836, 0.20264331996440887, 0.25957968831062317, -0.3071896433830261, 0.05989721789956093, 0.39227840304374695, 0.4543769955635071, 0.601330041885376, 0.11215617507696152, -0.7872051000595093, -0.4636504054069519, -0.03421211987733841, 0.10761606693267822, 0.337384968996048, 0.6338609457015991, -0.7412853240966797, 0.7977612018585205, 0.35638555884361267, 0.23139642179012299, 0.6943025588989258, 0.19285038113594055, 0.8039196133613586, -0.75862056016922, -0.1648588925600052, 0.007881499826908112, 0.2137175351381302, 0.45513716340065, -0.4044188857078552, 0.5002403259277344, 0.0912434458732605, -0.4256663918495178, -0.7405287623405457, 0.07218660414218903, -0.9338274598121643, -0.08866862952709198, 1.1055101156234741, 0.28533437848091125, 0.2971150875091553, -0.16545410454273224, -0.3932205140590668, 0.6176332831382751, -0.3838720917701721, 1.296975016593933, 0.2710108757019043, -0.009834355674684048, -0.08752062171697617, -0.6717072129249573, 0.6821686029434204, 0.223347008228302, -0.8354403376579285, 0.22314441204071045, 0.7526893019676208, 0.11014549434185028, 0.3761765658855438, 0.38278868794441223, -0.6156235933303833, 0.4341792166233063, 0.362456738948822, 0.33045390248298645, -0.6782975792884827, -0.6293450593948364, -0.16299749910831451, 0.47173675894737244, -0.4762856364250183, -0.3483198583126068 ]
http://arxiv.org/abs/2406.19384v1
http://arxiv.org/pdf/2406.19384v1
The Remarkable Robustness of LLMs: Stages of Inference?
2024-06-27T17:57:03
2024-06-27T17:57:03
Vedang Lad, Wes Gurnee, Max Tegmark
cs.LG
cs.LG, cs.AI, cs.CL
We demonstrate and investigate the remarkable robustness of Large Language Models by deleting and swapping adjacent layers. We find that deleting and swapping interventions retain 72-95\% of the original model's prediction accuracy without fine-tuning, whereas models with more layers exhibit more robustness. Based on the results of the layer-wise intervention and further experiments, we hypothesize the existence of four universal stages of inference across eight different models: detokenization, feature engineering, prediction ensembling, and residual sharpening. The first stage integrates local information, lifting raw token representations into higher-level contextual representations. Next is the iterative refinement of task and entity-specific features. Then, the second half of the model begins with a phase transition, where hidden representations align more with the vocabulary space due to specialized model components. Finally, the last layer sharpens the following token distribution by eliminating obsolete features that add noise to the prediction.
[ -0.2278256118297577, -0.858778178691864, 0.7738871574401855, 0.03046220913529396, -0.0015169058460742235, 0.07955168187618256, -0.0806322991847992, -0.43649527430534363, -0.20812740921974182, 0.5533715486526489, -0.5462568998336792, -0.4619857966899872, -0.4880235493183136, -0.1407036930322647, -0.7381148338317871, 0.7993941307067871, 0.20901507139205933, 0.16730155050754547, 0.07466685026884079, 0.11862731724977493, -0.19606684148311615, -0.38351404666900635, -0.8154637813568115, -0.5369654297828674, 0.4188471734523773, 0.21223488450050354, 0.8112620711326599, 0.9417303204536438, 0.1097080186009407, 0.34535881876945496, -0.5012506246566772, -0.032830458134412766, -0.3907110393047333, 0.4245120882987976, -0.25458577275276184, -0.9647767543792725, -0.25786522030830383, 0.1501285284757614, 0.783781111240387, 1.0649060010910034, -0.17254412174224854, -0.1782960444688797, 0.40308836102485657, 0.524547815322876, -0.4663236439228058, -0.005604241508990526, -1.0284309387207031, -0.06577794998884201, -0.009463271126151085, 0.15356992185115814, -0.5448929667472839, 0.06501273810863495, 0.05849861726164818, -0.3884468078613281, 0.22064879536628723, -0.05066081881523132, 0.805360734462738, 0.20383146405220032, -0.5178730487823486, -0.10618649423122406, -0.843754231929779, 1.0428283214569092, -0.8364202976226807, 0.43986281752586365, 0.5876057744026184, 0.07306276261806488, -0.2733364701271057, -0.8608025312423706, -0.3783693313598633, -0.4334440529346466, 0.276327908039093, -0.0665288046002388, -0.10427705198526382, 0.26812273263931274, 0.3952057659626007, 0.250662237405777, 0.0684601292014122, 0.5850411653518677, -0.1239597499370575, -0.41286927461624146, 0.31955277919769287, 0.15664616227149963, 0.2419346272945404, -0.1969410479068756, -0.37434351444244385, 0.2127210646867752, -0.8400526642799377, -0.13870558142662048, 0.38793084025382996, 0.3899376094341278, -0.09363463521003723, 0.5264589786529541, -0.04475008323788643, 0.4339030683040619, 0.1032634824514389, -0.43898114562034607, 0.01962973177433014, -0.3029108941555023, -0.4126538038253784, -0.3527184724807739, 0.49631422758102417, -0.07567568123340607, 0.25841665267944336, -0.338506281375885, -0.4378400444984436, 0.10826385021209717, 0.18235617876052856, -0.43724769353866577, -0.15844585001468658, 0.5231358408927917, -0.47354361414909363, -0.4718555808067322, -0.18769320845603943, -0.31372174620628357, -0.4586730897426605, -0.3249637484550476, 0.30372369289398193, -0.5731163024902344, -0.2112225443124771, 0.08879496902227402, 0.21037983894348145, 0.21729007363319397, 0.48127052187919617, -0.864601194858551, 0.3354918360710144, 0.9009266495704651, 0.6846382021903992, -0.38432836532592773, -0.4996523857116699, -0.26451221108436584, 0.29120683670043945, -0.5578614473342896, 0.7640596628189087, -0.8683788180351257, -0.2528209984302521, 0.004278974607586861, 0.11401190608739853, -0.24069619178771973, -0.7505995035171509, 0.7494534850120544, -0.610908031463623, 0.11751825362443924, -0.27981001138687134, -0.7503623366355896, -0.25401002168655396, 0.24380050599575043, -0.7113840579986572, 1.0266042947769165, -0.17743037641048431, -0.769346296787262, 0.4864782989025116, -0.29987218976020813, -0.21995259821414948, -0.4280422627925873, 0.12587234377861023, -0.2643992602825165, 0.30189916491508484, 0.25380560755729675, 0.6369714736938477, -0.033746734261512756, 0.20323783159255981, -0.5869537591934204, -0.3003281354904175, 0.4079183042049408, -0.660936713218689, 0.728969156742096, 0.1888515055179596, -0.42132434248924255, 0.08711383491754532, -0.9687345027923584, -0.22856861352920532, -0.10014492273330688, -0.39799705147743225, -0.20649661123752594, 0.15348567068576813, -0.2539530396461487, 0.18164809048175812, 0.07540833204984665, -0.35518911480903625, 0.10372521728277206, -0.3414410352706909, 0.8102691769599915, 0.8348227739334106, 0.10332883149385452, 0.7848597168922424, -0.2354675680398941, 0.532139778137207, 0.5774643421173096, 0.18254321813583374, -0.39303281903266907, -0.5627819895744324, -0.897861897945404, -0.48803776502609253, 0.48904967308044434, 0.6534556746482849, -0.6200916171073914, 0.3185421824455261, -0.05386114865541458, -0.0600941963493824, -0.23406410217285156, 0.16854941844940186, 0.36682459712028503, 0.44467592239379883, 0.10168477892875671, -0.08785513043403625, -0.2746709883213043, -0.9524032473564148, -0.17180518805980682, -0.21958498656749725, -0.20259441435337067, -0.31040579080581665, 0.5573802590370178, -0.29420581459999084, 0.5541810393333435, 0.06471423804759979, 0.24058440327644348, -0.25119614601135254, 0.02606065943837166, 0.13320820033550262, 0.5579177737236023, 0.1867041438817978, -0.49121981859207153, -0.06307430565357208, -0.1355436146259308, -0.5871309638023376, -0.11302495002746582, -0.2806548476219177, -0.14206074178218842, 0.291301965713501, 0.6426024436950684, -0.6433992981910706, 0.40422767400741577, 0.3889455795288086, -0.006996833253651857, 0.4790252149105072, -0.17147038877010345, -0.04640858247876167, -1.1091525554656982, -0.12150406837463379, -0.09897293895483017, -0.5167431235313416, -0.8976327180862427, 0.14928631484508514, 0.07509178668260574, 0.19199597835540771, -0.1889539211988449, 0.44967636466026306, -0.8441067337989807, -0.15936917066574097, -0.12795919179916382, 0.37918612360954285, 0.020523378625512123, 0.3187955617904663, -0.40835335850715637, 0.5866683125495911, 0.7189033031463623, -0.6143941283226013, -0.23289646208286285, -0.1384100466966629, -0.545238733291626, 0.37009575963020325, -0.5417124032974243, 0.08834342658519745, -0.17025946080684662, -0.02208574302494526, -1.2920947074890137, -0.16211657226085663, 0.09289304912090302, -0.1686180979013443, 0.48195797204971313, -0.17752856016159058, -0.4785119891166687, -0.26974472403526306, -0.42713645100593567, -0.011604074388742447, 0.42426997423171997, -0.2240959256887436, 0.6812470555305481, 0.4296112656593323, -0.1798357218503952, -0.6977089643478394, -1.0860514640808105, 0.23013876378536224, -0.23378099501132965, -0.3772794306278229, 0.07184820622205734, -0.0030649653635919094, -0.4360620975494385, 0.06338963657617569, -0.14960645139217377, -0.015081353485584259, 0.3686961233615875, 0.36521196365356445, 0.20680896937847137, -0.08000228554010391, -0.07761549204587936, 0.2250407338142395, -0.09303256869316101, -0.0907159224152565, -0.3577590584754944, 0.5334151983261108, 0.13171343505382538, -0.713842511177063, -0.531813383102417, 0.14486433565616608, 0.6895917654037476, 0.027940386906266212, 0.7109237909317017, 0.37008532881736755, -0.5545657873153687, -0.3247601091861725, -0.7541072964668274, -0.03353084623813629, -0.44303926825523376, 0.42347219586372375, -0.575925350189209, -1.0913549661636353, 1.1752172708511353, 0.0001868410618044436, 0.23372338712215424, 0.4462200105190277, 0.5091665983200073, 0.043529901653528214, 1.312003254890442, 0.5682462453842163, -0.15026631951332092, 0.5488486289978027, -0.19519738852977753, 0.1650094836950302, -0.936732292175293, -0.3263013958930969, -0.5482239127159119, -0.28001511096954346, -0.582863450050354, -0.7201355695724487, 0.1422661393880844, 0.5509205460548401, -0.3890262246131897, -0.03195850923657417, -0.1181878075003624, 0.584291398525238, 0.5035519003868103, 0.2390362173318863, 0.31687411665916443, 0.29868191480636597, -0.43098941445350647, -0.15213868021965027, -0.5864721536636353, -0.6327561736106873, 1.014022707939148, 0.6018143892288208, 0.8669096231460571, -0.14400289952754974, 0.7007132768630981, 0.08961263298988342, 0.2604590356349945, -0.7430623769760132, 0.6735774874687195, -0.014195083640515804, -0.6599844694137573, -0.38745009899139404, -0.34539473056793213, -0.9307212233543396, 0.34978437423706055, -0.3448326289653778, -1.0647941827774048, 0.2436082661151886, 0.09417799115180969, -0.25739195942878723, 0.6000369787216187, -0.5652849674224854, 0.35885125398635864, 0.2381170392036438, -0.3393816649913788, -0.36383289098739624, -0.6341128945350647, 0.5459560751914978, -0.13453425467014313, 0.2855739891529083, -0.19971317052841187, -0.44259101152420044, 0.46738529205322266, -0.2136879563331604, 1.0189738273620605, -0.049927614629268646, -0.340624064207077, 0.24046587944030762, 0.4656270146369934, 0.5990615487098694, -0.1949242204427719, -0.358055055141449, 0.021432731300592422, 0.013238770887255669, -0.4390213191509247, -0.692963719367981, 0.6552219986915588, -0.5599082708358765, -0.6991676092147827, -0.07636453211307526, -0.693081796169281, -0.5035161972045898, 0.24366234242916107, -0.008201665244996548, 0.630862295627594, -0.1398836225271225, 0.035081371665000916, 0.6998449563980103, -0.22856569290161133, 0.5725208520889282, 0.11254935711622238, -0.448609322309494, -0.41114139556884766, 0.618816077709198, 0.0858350396156311, 0.674726128578186, 0.41537097096443176, 0.1607363224029541, -0.3323158323764801, -1.0607367753982544, -0.07418142259120941, 0.37827229499816895, -0.9414400458335876, 0.10208816826343536, -0.7586673498153687, -0.2686367332935333, -0.35913410782814026, 0.02353399433195591, -0.37028104066848755, -0.7109244465827942, -0.36833807826042175, -0.34775251150131226, -0.12387779355049133, 1.1575424671173096, -0.20240727066993713, 0.28654128313064575, -0.7722803950309753, 0.15624278783798218, 0.2609206438064575, 0.13492600619792938, 0.17934763431549072, -0.8607120513916016, -0.24741393327713013, 0.07743041217327118, -0.2187178134918213, -0.7104517817497253, 0.2641260623931885, 0.3155657947063446, 0.8211095929145813, 0.8124243021011353, -0.39939582347869873, 0.6952031254768372, -0.5367753505706787, 1.0903421640396118, 0.026283370330929756, -1.0296392440795898, 0.2700570523738861, -0.40170055627822876, 0.3674275279045105, 0.510200023651123, 0.35816630721092224, -0.22204187512397766, -0.7250654101371765, -0.6072235107421875, -0.7652325630187988, 0.5111863613128662, -0.07228758931159973, 0.2921501696109772, -0.01719890534877777, 0.6965405344963074, 0.2396448403596878, 0.22624576091766357, -0.6302983164787292, -0.28189146518707275, 0.16548265516757965, 0.06697310507297516, 0.12270371615886688, -0.6786128878593445, -0.16441574692726135, -0.2538508474826813, 0.5126026272773743, -0.0035100807435810566, 0.15092524886131287, -0.08020550012588501, -0.09137856215238571, 0.05322658270597458, 0.2937769889831543, 0.6071714758872986, 0.9951328635215759, 0.034248799085617065, 0.40290334820747375, 0.352789044380188, -0.3787403404712677, 0.03722602128982544, -0.20527637004852295, -0.28257882595062256, -0.20485162734985352, 0.8021408319473267, 0.9133360385894775, 0.577583909034729, -0.26374298334121704, 0.21446362137794495, 0.10729154944419861, -0.137677863240242, 0.09182193130254745, 0.06982976943254471, 0.2038271576166153, 0.544093132019043, 0.3862501084804535, 0.08491414785385132, 0.1949145793914795, -0.7846340537071228, 0.24504753947257996, 0.5067456960678101, -0.2814456820487976, -0.5297392010688782, 0.9338858127593994, -0.18364842236042023, -0.031610727310180664, 0.4348202347755432, -0.06323309242725372, -0.5576894283294678, 0.362517774105072, 0.5463849306106567, 0.9837287068367004, -0.318854957818985, 0.3565792143344879, 0.17982493340969086, 0.43575698137283325, -0.4126712381839752, 0.2222711741924286, 0.1063368022441864, -0.8688616156578064, -0.65798020362854, -0.687289297580719, -0.3664783239364624, 0.09395597875118256, -0.7025144100189209, -0.10141731053590775, -0.4917040765285492, -0.22630952298641205, -0.0740547925233841, -0.08936798572540283, -0.4765356481075287, 0.2876453697681427, 0.31289413571357727, 0.9826770424842834, -0.8598833084106445, 0.9808241724967957, 0.3423456847667694, -0.06714967638254166, -0.7899268865585327, 0.16727964580059052, 0.21395902335643768, -1.1103726625442505, 0.6186079382896423, 0.089814193546772, -0.04794588312506676, -0.13528867065906525, -0.781370997428894, -0.9384241700172424, 0.9492504000663757, 0.7691447734832764, -0.5442282557487488, -0.2924504280090332, 0.12424805015325546, 0.4529748857021332, -0.2783777117729187, 0.2647647261619568, 0.7237071394920349, 0.28485193848609924, 0.27555641531944275, -0.8830926418304443, 0.049708954989910126, 0.06471668928861618, 0.4405546188354492, -0.06837653368711472, -0.2568638026714325, 1.1315346956253052, -0.28516072034835815, -0.49891266226768494, 0.294893741607666, 0.7581937313079834, 0.17531678080558777, -0.11346223950386047, 0.7841159701347351, 0.6421425342559814, 1.0687260627746582, -0.1266237199306488, 1.0794414281845093, -0.5272168517112732, 0.23664219677448273, 1.0556265115737915, -0.15444988012313843, 0.9134789705276489, 0.38290169835090637, -0.23734840750694275, 0.5810644626617432, 0.7424584627151489, 0.353796124458313, 0.3883230686187744, 0.01677611470222473, -0.28939610719680786, -0.5136727094650269, 0.07263430953025818, -0.127506285905838, 0.3541124165058136, 0.41562420129776, -0.3170611560344696, -0.07983281463384628, 0.020409133285284042, 0.26997849345207214, -0.13157355785369873, -0.34837159514427185, 0.516659677028656, 0.3269537687301636, -0.6372816562652588, 0.5298177003860474, -0.15685707330703735, 0.6395696401596069, -0.571983814239502, 0.06677887588739395, -0.3910028040409088, 0.15619002282619476, -0.14550073444843292, -0.8974126577377319, 0.10270807147026062, -0.35774558782577515, -0.09034566581249237, -0.13768187165260315, 0.7895525097846985, -0.5311325192451477, -0.5955749750137329, 0.3809230625629425, 0.5922250151634216, 0.25619345903396606, 0.016270453110337257, -0.8064163327217102, 0.2453751564025879, 0.011395737528800964, -0.6688305139541626, 0.39600831270217896, 0.7123608589172363, -0.10199915617704391, 1.072319507598877, 0.49617063999176025, 0.37429115176200867, 0.41791319847106934, 0.3819676339626312, 0.8433498740196228, -0.6690144538879395, -0.23168551921844482, -0.9127579927444458, 0.5892323851585388, -0.003861012402921915, -0.015470974147319794, 0.8441734910011292, 0.201629176735878, 0.6107599139213562, 0.22834089398384094, 0.6937891840934753, 0.3380235731601715, 0.4628225266933441, -0.7515022158622742, 0.396048367023468, -0.5503227114677429, 0.414707750082016, -0.21285904943943024, -0.9612680077552795, -0.4693242311477661, 0.3170938789844513, -0.1347258985042572, 0.311718225479126, 0.7232792973518372, 0.9918435215950012, -0.09430244565010071, -0.07298830151557922, 0.7214227318763733, 0.6126092076301575, 0.2099536508321762, 0.1666804552078247, 0.9001002311706543, -0.19762210547924042, 0.1644168347120285, -0.257649689912796, -0.15180884301662445, 0.07912680506706238, -0.9613654017448425, -1.0095797777175903, -0.5559706687927246, -0.21741034090518951, -0.5825430750846863, -0.08241067081689835, 0.646245002746582, 0.6967562437057495, -1.0146572589874268, -0.13664431869983673, 0.06121837720274925, 0.2618587017059326, -0.13911227881908417, -0.17238247394561768, 0.2056231051683426, -0.4578413665294647, -0.9427509903907776, 0.47344306111335754, 0.4233984649181366, 0.00046865182230249047, -0.5495575666427612, 0.29028749465942383, -0.13515855371952057, 0.20209051668643951, 0.6843544840812683, 0.10054183006286621, -0.963645875453949, -0.524299144744873, -0.19448935985565186, -0.19553104043006897, -0.0023278258740901947, 0.7470067143440247, -0.47698792815208435, 0.3159898519515991, 0.48553600907325745, 0.5927835702896118, 0.5106208920478821, -0.14120517671108246, 0.574672520160675, -0.3204849064350128, 0.3016713857650757, -0.17179682850837708, 0.5998928546905518, 0.43442302942276, -0.04876011982560158, 0.4332623779773712, 0.13509583473205566, -0.7077343463897705, -1.1082127094268799, 0.3428741991519928, -0.9443732500076294, -0.28328078985214233, 1.193996787071228, -0.23717209696769714, -0.3909388482570648, -0.24443796277046204, 0.0565834641456604, 0.23512491583824158, -0.06678414344787598, 0.6597856283187866, 0.6932148337364197, -0.09200583398342133, -0.2975756525993347, -0.7283923625946045, 0.2865695655345917, 0.4885806441307068, -0.6618675589561462, 0.09231288731098175, 0.47226008772850037, 0.5085288882255554, 0.09848617017269135, 0.41973838210105896, -0.19968754053115845, -0.4477465748786926, 0.16624143719673157, -0.2490944266319275, 0.10512132942676544, -0.37742701172828674, -0.6240987181663513, 0.2749235928058624, 0.37543562054634094, 0.012349623255431652 ]
http://arxiv.org/abs/2406.19371v1
http://arxiv.org/pdf/2406.19371v1
Suri: Multi-constraint Instruction Following for Long-form Text Generation
2024-06-27T17:50:35
2024-06-27T17:50:35
Chau Minh Pham, Simeng Sun, Mohit Iyyer
cs.CL
cs.CL
Existing research on instruction following largely focuses on tasks with simple instructions and short responses. In this work, we explore multi-constraint instruction following for generating long-form text. We create Suri, a dataset with 20K human-written long-form texts paired with LLM-generated backtranslated instructions that contain multiple complex constraints. Because of prohibitive challenges associated with collecting human preference judgments on long-form texts, preference-tuning algorithms such as DPO are infeasible in our setting; thus, we propose Instructional ORPO (I-ORPO), an alignment method based on the ORPO algorithm. Instead of receiving negative feedback from dispreferred responses, I-ORPO obtains negative feedback from synthetically corrupted instructions generated by an LLM. Using Suri, we perform supervised and I-ORPO fine-tuning on Mistral-7b-Instruct-v0.2. The resulting models, Suri-SFT and Suri-I-ORPO, generate significantly longer texts (~5K tokens) than base models without significant quality deterioration. Our human evaluation shows that while both SFT and I-ORPO models satisfy most constraints, Suri-I-ORPO generations are generally preferred for their coherent and informative incorporation of the constraints. We release our code at https://github.com/chtmp223/suri.
[ -0.06113022193312645, -0.48768794536590576, 0.4604957401752472, 0.17938752472400665, -0.00022558963974006474, -0.1345139741897583, -0.26039278507232666, -0.4971959888935089, -0.11297747492790222, 1.0259345769882202, -1.0569703578948975, -0.6260744333267212, -0.23869390785694122, 0.2730541527271271, -0.060202158987522125, 1.0448330640792847, -0.25023308396339417, -0.08536174893379211, -0.29009708762168884, 0.05413171276450157, -0.8136101961135864, -0.4802462160587311, -0.2817520499229431, -0.3270244002342224, 0.36092042922973633, 0.9300718307495117, 0.4037702977657318, 0.8732277154922485, 0.2706153988838196, 0.29187414050102234, 0.11652467399835587, 0.7222698926925659, -0.5810381174087524, 0.15502594411373138, -0.09436752647161484, -0.29601234197616577, -0.3441697955131531, -0.10006137937307358, 0.7225647568702698, 0.4958728551864624, -0.10462237149477005, 0.11801747977733612, 0.13028769195079803, 0.7790588736534119, -0.7691999077796936, -0.03264551982283592, -0.2698567509651184, -0.1739339828491211, -0.24163036048412323, -0.1917748898267746, -0.688729465007782, -0.5861237049102783, -0.03906174376606941, -0.6041163802146912, 0.27193689346313477, 0.18357226252555847, 0.5385667681694031, 0.4582950472831726, -0.47886911034584045, -0.6709437966346741, -0.7293925881385803, 0.9203663468360901, -0.538103461265564, 0.4163537919521332, 0.1838350147008896, 0.057757340371608734, -0.567793071269989, -0.22997896373271942, -0.5521288514137268, -0.13904522359371185, -0.015969859436154366, 0.40187758207321167, 0.34511515498161316, 0.2738316059112549, 0.35478606820106506, 0.09095152467489243, -0.44487738609313965, 0.3665717840194702, -0.5296039581298828, 0.040921036154031754, 0.6822785139083862, 0.2562774419784546, 0.08905613422393799, -0.3292294144630432, -0.5878939628601074, -0.1009426862001419, -0.8876311779022217, 0.056336645036935806, 0.5868372321128845, 0.246677964925766, -0.16234225034713745, 0.9325457215309143, -0.13335275650024414, 0.857856273651123, 0.14533518254756927, -0.45138970017433167, 0.16864465177059174, -0.425506055355072, -0.019905349239706993, 0.22371089458465576, 0.718257486820221, 0.3550850450992584, 0.16698254644870758, 0.13298629224300385, -0.0723944827914238, -0.06062440574169159, 0.19829556345939636, -0.7793580293655396, 0.21599437296390533, -0.15775470435619354, -0.4286055266857147, -0.176791712641716, 0.24862726032733917, -0.8240875601768494, -0.5122362375259399, -0.5908668041229248, 0.20871877670288086, -0.7821828722953796, 0.44160327315330505, 0.31938436627388, -0.10903143137693405, 0.28501182794570923, 0.2472093254327774, -1.0967655181884766, 0.2307436317205429, 0.669743001461029, 0.43780702352523804, -0.16565963625907898, -0.6157795190811157, -0.5872687101364136, 0.5055837035179138, -0.15792657434940338, 0.5267519354820251, -0.6732936501502991, -0.5496012568473816, 0.05440705642104149, -0.11211239546537399, -0.18398863077163696, -0.3385509252548218, 0.6333521008491516, -0.24926836788654327, 0.45589640736579895, -0.10472758114337921, -0.7316100001335144, 0.03884920850396156, -0.06996561586856842, -0.4552527070045471, 0.9730219841003418, -0.04277057945728302, -0.6334617137908936, 0.2650129199028015, -0.5150386691093445, -0.6158844232559204, -0.2841789424419403, -0.3959943950176239, -0.6707718372344971, 0.20989331603050232, 0.28133663535118103, 0.3408297896385193, -0.37723803520202637, 0.08044889569282532, -0.2811454236507416, -0.3789966404438019, 0.1195375919342041, -0.6167323589324951, 0.6531060338020325, -0.15292596817016602, -0.31533294916152954, 0.03834585100412369, -1.07078218460083, -0.12172535806894302, -0.25837957859039307, -0.49676671624183655, -0.27607545256614685, 0.08600134402513504, -0.35296303033828735, -0.053166791796684265, 0.3144657015800476, -0.7211668491363525, 0.6502165198326111, -0.16574585437774658, 0.5805360674858093, 0.6946402192115784, 0.13928991556167603, 0.2660744786262512, -0.2889310121536255, 0.4860542118549347, -0.5391232967376709, 0.292120099067688, -0.20086221396923065, -0.19405154883861542, -0.7274051308631897, -0.0897500142455101, 0.09345398843288422, 0.5400825142860413, -0.8258470892906189, 0.3957376480102539, -0.4027933180332184, -0.2216690629720688, -0.39144712686538696, 0.18238091468811035, 0.8159220218658447, 0.6683591604232788, 0.5094985961914062, 0.12040843069553375, -0.612411379814148, -0.8729616403579712, 0.21950317919254303, -0.006966562941670418, 0.16738110780715942, 0.38225388526916504, 0.4405883252620697, -0.21755170822143555, 0.6003135442733765, -0.8127821683883667, -0.32476189732551575, -0.08171244710683823, 0.36836206912994385, 0.028751663863658905, 0.5540730953216553, 0.4155954122543335, -0.5584303736686707, -0.4628879427909851, -0.07977036386728287, -0.39224931597709656, -0.2313399314880371, -0.41981616616249084, -0.3607332706451416, 0.4048720896244049, 0.619655966758728, -0.6942445635795593, 0.4994575083255768, 0.4513781666755676, -0.02491924911737442, 0.7638975977897644, -0.3272187411785126, 0.32595106959342957, -1.2509492635726929, -0.13347673416137695, -0.1261390596628189, -0.06959773600101471, -0.4682488441467285, -0.004189823288470507, 0.18303655087947845, -0.20208066701889038, -0.20902974903583527, 0.14855070412158966, -0.6373595595359802, 0.252201110124588, -0.2561340928077698, -0.29062649607658386, 0.21722714602947235, 0.5918334126472473, 0.3166693150997162, 0.8402529358863831, 0.27135151624679565, -0.5812737345695496, 0.22940026223659515, 0.2916375398635864, -0.14943265914916992, 0.5602899789810181, -0.5772713422775269, 0.2879709303379059, -0.18446630239486694, 0.43681800365448, -0.8453295826911926, -0.5695687532424927, 0.2577151656150818, -0.3336421251296997, 0.6219636797904968, -0.17717963457107544, -0.5152813792228699, -0.36475956439971924, -0.44385161995887756, 0.4439929127693176, 0.3124209940433502, -0.6390686631202698, 0.6792026162147522, -0.059595219790935516, 0.04175415635108948, -0.7133793830871582, -0.5886505842208862, -0.22814695537090302, -0.12204696238040924, -0.4661937654018402, 0.7024365663528442, 0.0021011210046708584, 0.3778286576271057, -0.24177083373069763, -0.14326922595500946, 0.09032326936721802, -0.4439925253391266, 0.6122351884841919, 0.39890164136886597, -0.13847343623638153, 0.12193314731121063, 0.5766746401786804, -0.1363484263420105, -0.02577095478773117, -0.2730511426925659, 0.407950222492218, 0.2360345423221588, -0.4688636064529419, -0.6615355610847473, 0.6650816202163696, 0.6674898266792297, -0.16767023503780365, 0.6090095043182373, 0.22985169291496277, -0.15371207892894745, -0.2883971631526947, -0.6402485370635986, 0.11357171088457108, -0.45271220803260803, 0.2754153907299042, -0.4207388758659363, -0.7470102906227112, 0.07794304937124252, -0.10925661027431488, 0.36529555916786194, 0.2858296036720276, 0.21865656971931458, -0.17151325941085815, 1.0716804265975952, 0.7979313135147095, -0.026279864832758904, 0.5000799298286438, -0.131039559841156, -0.4028280973434448, -0.7429503202438354, -0.39411818981170654, -0.5604875087738037, -0.2167588323354721, -0.3607807755470276, -0.2830215096473694, 0.3044346868991852, 0.3113669455051422, -0.3014506995677948, 0.4008225202560425, -0.7391502857208252, 0.5800217390060425, 0.8825388550758362, 0.29472002387046814, 0.04302367568016052, -0.05549041926860809, 0.20359592139720917, 0.03273642063140869, -0.6547515392303467, -0.39993739128112793, 0.98526930809021, 0.07422531396150589, 1.0404120683670044, 0.1612001359462738, 1.1632864475250244, 0.04492144659161568, 0.24824954569339752, -0.5999835133552551, 0.41122445464134216, -0.47255435585975647, -0.2975364625453949, -0.413557767868042, -0.6094041466712952, -0.9801100492477417, -0.30393126606941223, -0.2196732759475708, -0.6661402583122253, 0.2284601628780365, 0.3484424650669098, -0.6662160754203796, -0.14067581295967102, -0.9950953722000122, 0.7478029727935791, -0.46702441573143005, -0.19344210624694824, -0.06516730040311813, -0.9292318224906921, 0.3758080303668976, 0.20268577337265015, -0.05479275807738304, 0.3467748463153839, -0.13730910420417786, 0.4559270739555359, -0.5807690024375916, 1.1380761861801147, 0.16120170056819916, -0.17898643016815186, 0.5482459664344788, -0.36669057607650757, 0.47909411787986755, 0.038041852414608, -0.09387117624282837, -0.32444390654563904, -0.06411029398441315, -0.13998106122016907, -0.7131652235984802, 0.7423631548881531, -0.9110782146453857, -0.6164461970329285, -0.15803074836730957, -0.35907796025276184, 0.030018188059329987, 0.46892234683036804, 0.6618180274963379, 0.6791465878486633, 0.02616208791732788, 0.12247227877378464, 0.7817938923835754, -0.20304828882217407, 0.18148888647556305, 0.3237901031970978, -0.07994527369737625, -0.7551414966583252, 1.1818922758102417, 0.17873568832874298, 0.37800756096839905, 0.7015438079833984, 0.26919591426849365, -0.3702625036239624, -0.42419493198394775, -0.800771951675415, 0.37233275175094604, -0.4502955377101898, -0.43693506717681885, -0.0589355006814003, -0.23713138699531555, -0.5039112567901611, -0.17268069088459015, -0.4490974247455597, -0.2469005137681961, -0.6302818655967712, 0.17261062562465668, 0.22645169496536255, 0.8305414319038391, 0.19152194261550903, 0.151962548494339, -0.9436839818954468, 0.4439711272716522, 0.3034555912017822, 0.2877522110939026, -0.2037269026041031, -0.42767056822776794, -0.1286117434501648, 0.1286913901567459, -0.5522087812423706, -1.087921142578125, -0.09856542199850082, 0.2266184389591217, 0.1788294017314911, 0.30361711978912354, 0.24948827922344208, 0.9638083577156067, -0.6920815110206604, 0.4476951062679291, 0.3426196873188019, -0.9353123307228088, 0.5801729559898376, -0.1727023720741272, 0.3748457133769989, 0.7049776315689087, 0.2988530993461609, -0.25406521558761597, -0.24251002073287964, -0.29942429065704346, -0.6267299652099609, 0.9072796702384949, 0.17243452370166779, 0.22013701498508453, -0.03767015039920807, 0.8166310787200928, 0.49379339814186096, 0.22210581600666046, -0.6113347411155701, -0.1495264172554016, -0.21869809925556183, -0.2516927719116211, 0.14978434145450592, -0.4884202182292938, 0.010741951875388622, 0.09553826600313187, 0.8198243975639343, -0.0785740464925766, -0.1355651170015335, 0.23296408355236053, 0.06779389828443527, -0.066423699259758, 0.33085888624191284, 1.0556306838989258, 0.48676395416259766, -0.07103435695171356, 0.00658065639436245, 0.08533971011638641, -0.42431753873825073, 0.03642573580145836, 0.3696088194847107, -0.436082661151886, -0.24491092562675476, 0.47616612911224365, 0.8647139072418213, -0.06686948239803314, -0.569532573223114, 0.2794187366962433, 0.05313311517238617, -0.3233148157596588, -0.2645392417907715, 0.19412744045257568, -0.16920924186706543, 0.19585415720939636, 0.0421895906329155, 0.023501494899392128, 0.05775900185108185, -0.370274156332016, -0.11698929965496063, 0.2980220913887024, -0.37794584035873413, -0.23259088397026062, 0.6251018643379211, 0.3443271219730377, -0.3043128550052643, 0.7720746994018555, -0.032006438821554184, -0.37949132919311523, 0.41602712869644165, 0.5660189986228943, 0.5547637939453125, -0.024837249889969826, 0.19711293280124664, 0.21051795780658722, 0.16430062055587769, -0.14254140853881836, 0.4459534287452698, -0.1066867783665657, -0.4627116918563843, -0.6434735655784607, -0.3411136567592621, -0.29981517791748047, 0.30443477630615234, -0.7008671164512634, 0.5646868944168091, -0.42629778385162354, -0.044688694179058075, -0.020611803978681564, -0.1799578219652176, -0.24889524281024933, 0.11928912252187729, 0.1842755824327469, 0.5103024840354919, -0.7032077312469482, 0.7349768280982971, 0.7644458413124084, -0.37439778447151184, -0.8342090249061584, 0.016916410997509956, 0.030421433970332146, -0.5512580275535583, 0.3195187449455261, 0.4930232763290405, -0.5265129208564758, -0.027706297114491463, -0.663851261138916, -0.746349573135376, 0.9786279797554016, 0.499550461769104, -0.5743215680122375, -0.09405882656574249, 0.2527603209018707, 0.5975892543792725, -0.28520604968070984, -0.10236421972513199, 0.39695772528648376, 0.2366950511932373, 0.18766963481903076, -0.5856409668922424, 0.062452878803014755, 0.05866100266575813, 0.06707462668418884, 0.6215032935142517, -0.9828893542289734, 0.46178293228149414, -0.3213914632797241, -0.32024258375167847, 0.5866026282310486, 0.9485725164413452, 0.41848352551460266, 0.2735021412372589, 0.336656391620636, 0.5781196355819702, 0.4397275745868683, 0.3377077579498291, 0.9048457741737366, -0.2387286275625229, 0.09740721434354782, 1.5169146060943604, -0.13926874101161957, 0.7452042102813721, 0.6302370429039001, 0.1681203991174698, 0.42738357186317444, 0.4623505771160126, 0.06146115064620972, 0.3207499384880066, 0.3203955590724945, 0.03282812982797623, -0.2762601375579834, -0.2642035186290741, -0.4274922013282776, 0.36650264263153076, 0.18015886843204498, -0.4218895733356476, -0.016828371211886406, -0.10025808215141296, -0.1393858939409256, 0.3279949128627777, -0.09931688755750656, 0.7135772705078125, -0.10438167303800583, -1.2260856628417969, 0.7253168821334839, 0.06263188272714615, 0.3954688608646393, -0.4639909565448761, -0.6021259427070618, -0.1462390273809433, 0.1300225853919983, -0.2056909054517746, -0.7363461852073669, 0.01092339213937521, -0.015282130800187588, -0.5541386604309082, -0.3107476234436035, 0.5245232582092285, -0.6149260401725769, -0.5698778033256531, -0.20268386602401733, -0.051439426839351654, -0.01566893421113491, 0.4082731008529663, -0.4818918704986572, 0.035161953419446945, 0.3439856171607971, -0.2995377480983734, 0.14214275777339935, 0.5658814311027527, -0.239820659160614, 0.5502863526344299, 0.394693523645401, -0.26328736543655396, 0.17982704937458038, 0.3133997619152069, 0.748203694820404, -0.4151355028152466, -0.0482376329600811, -0.9051283597946167, 0.40756770968437195, -0.04452917352318764, -0.7305076122283936, 0.6171533465385437, 0.7933003306388855, 0.7978459000587463, -0.1374598741531372, 0.6431177854537964, -0.01139627955853939, 0.53584223985672, -0.9615426063537598, 0.2734713554382324, -0.5126059651374817, 0.3011946976184845, -0.2212783545255661, -1.0182052850723267, -0.26954516768455505, 0.15780480206012726, -0.24778227508068085, -0.13791967928409576, 0.4418029189109802, 0.6580324769020081, -0.08477313071489334, 0.03383341804146767, -0.09085259586572647, -0.2653943598270416, 0.16193123161792755, 0.786794900894165, 0.9342010021209717, -0.197445809841156, 0.8540562391281128, -0.43914803862571716, -0.39700543880462646, 0.0007984326803125441, -0.8572962284088135, -1.1108144521713257, -0.2554680407047272, -0.2440398633480072, -0.22673046588897705, 0.05352312698960304, 0.9869577884674072, 0.5640218257904053, -0.6060081124305725, -0.27376577258110046, -0.4546833634376526, 0.2786839008331299, -0.29365551471710205, -0.18121053278446198, 0.576103687286377, -0.26599571108818054, -0.8978428840637207, 0.42408713698387146, 0.25552624464035034, 0.3194087743759155, -0.045424509793519974, -0.2516230046749115, -0.011494070291519165, 0.03280530497431755, 0.3731008470058441, 0.5027596354484558, -0.6723939180374146, -0.5484035611152649, 0.14313358068466187, -0.19915735721588135, -0.08982142060995102, 0.8385037779808044, -0.33629748225212097, 0.5456054210662842, 0.4984326958656311, 0.5914841294288635, 0.4511345624923706, 0.4377903640270233, 0.7137492299079895, -1.03548002243042, -0.22129473090171814, 0.02054702863097191, 0.033435624092817307, 0.13311176002025604, -0.5660674571990967, 0.33138811588287354, 0.03343890979886055, -0.5206465721130371, -0.775570273399353, 0.5339826345443726, -0.7605441212654114, -0.2385179102420807, 1.1254653930664062, 0.03061790019273758, -0.1710370033979416, 0.3342731297016144, -0.6136724948883057, 0.35110801458358765, -0.5517275333404541, 0.8490470051765442, 0.5193521976470947, -0.5023030042648315, -0.1308775097131729, -0.2026796191930771, 0.35980647802352905, 0.3639694154262543, -0.7698307633399963, 0.10784956812858582, 0.7769688963890076, -0.10378120839595795, 0.318123459815979, 0.26207268238067627, 0.13886502385139465, 0.41086116433143616, -0.055827945470809937, 0.24672743678092957, -0.3678683638572693, -0.6387109160423279, 0.07026107609272003, 0.06982174515724182, -0.29597407579421997, -0.45279425382614136 ]
http://arxiv.org/abs/2407.00121v1
http://arxiv.org/pdf/2407.00121v1
Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks
2024-06-27T17:47:26
2024-06-27T17:47:26
Ibrahim Abdelaziz, Kinjal Basu, Mayank Agarwal, Sadhana Kumaravel, Matthew Stallone, Rameswar Panda, Yara Rizk, GP Bhargav, Maxwell Crouse, Chulaka Gunasekara, Shajith Ikbal, Sachin Joshi, Hima Karanam, Vineet Kumar, Asim Munawar, Sumit Neelam, Dinesh Raghu, Udit Sharma, Adriana Meza Soria, Dheeraj Sreedhar, Praveen Venkateswaran, Merve Unuvar, David Cox, Salim Roukos, Luis Lastras, Pavan Kapanipathi
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) have recently shown tremendous promise in serving as the backbone to agentic systems, as demonstrated by their performance in multi-faceted, challenging benchmarks like SWE-Bench and Agent-Bench. However, to realize the true potential of LLMs as autonomous agents, they must learn to identify, call, and interact with external tools and application program interfaces (APIs) to complete complex tasks. These tasks together are termed function calling. Endowing LLMs with function calling abilities leads to a myriad of advantages, such as access to current and domain-specific information in databases and knowledge sources, and the ability to outsource tasks that can be reliably performed by tools, e.g., a Python interpreter or calculator. While there has been significant progress in function calling with LLMs, there is still a dearth of open models that perform on par with proprietary LLMs like GPT, Claude, and Gemini. Therefore, in this work, we introduce the GRANITE-20B-FUNCTIONCALLING model under an Apache 2.0 license. The model is trained using a multi-task training approach on seven fundamental tasks encompassed in function calling, those being Nested Function Calling, Function Chaining, Parallel Functions, Function Name Detection, Parameter-Value Pair Detection, Next-Best Function, and Response Generation. We present a comprehensive evaluation on multiple out-of-domain datasets comparing GRANITE-20B-FUNCTIONCALLING to more than 15 other best proprietary and open models. GRANITE-20B-FUNCTIONCALLING provides the best performance among all open models on the Berkeley Function Calling Leaderboard and fourth overall. As a result of the diverse tasks and datasets used for training our model, we show that GRANITE-20B-FUNCTIONCALLING has better generalizability on multiple tasks in seven different evaluation datasets.
[ -0.2937498688697815, -0.8631148338317871, 0.4893566966056824, 0.26174360513687134, -0.05178036540746689, 0.018971841782331467, -0.4139299988746643, -0.5085488557815552, -0.3284885585308075, 0.8083675503730774, -0.5936689376831055, -0.3517950773239136, -0.44427335262298584, -0.03575257956981659, -0.16699440777301788, 0.7993221282958984, 0.07231668382883072, 0.4168303906917572, -0.583839476108551, 0.22259901463985443, -0.4743287265300751, -0.21278992295265198, -0.7400909066200256, -0.6062152981758118, 0.30157163739204407, -0.009722856804728508, 0.659263551235199, 0.6558643579483032, 0.5332574844360352, 0.3873511850833893, 0.27864977717399597, 0.3927474915981293, -0.19061627984046936, -0.08076535165309906, -0.1113256961107254, -0.5418400764465332, -0.6136048436164856, -0.15636347234249115, 0.4624135494232178, 0.723395824432373, 0.07164672017097473, 0.3253699243068695, 0.08537163585424423, 0.2927935719490051, -0.5014997124671936, 0.8814974427223206, -0.7280213236808777, -0.2538716197013855, -0.26254400610923767, -0.2840307354927063, -0.6263965368270874, -0.23415139317512512, -0.005064233671873808, -0.29789069294929504, -0.1443394422531128, -0.27866053581237793, 0.3671119213104248, 0.3707689046859741, -0.4515058994293213, -0.5730791091918945, -0.6698101758956909, 1.1011446714401245, -0.6135478615760803, 0.22552190721035004, 0.5981453657150269, 0.2640473544597626, -0.2052156776189804, -0.699152410030365, -0.0461224764585495, -0.40659356117248535, 0.19775058329105377, -0.12738370895385742, 0.20715124905109406, 0.05905323475599289, 0.038998350501060486, 0.2696208953857422, -0.16262929141521454, -0.039045076817274094, -0.0699976310133934, 0.20954515039920807, 0.5644698143005371, 0.28928762674331665, 0.06125255674123764, 0.0481710322201252, -0.2569739818572998, -0.0068961563520133495, -0.5657017230987549, 0.2979135513305664, 0.21269795298576355, 0.9515015482902527, -0.05635387822985649, 0.1722135841846466, -0.06130608543753624, 0.8635740280151367, -0.07706901431083679, -0.5468803644180298, 0.2565251290798187, 0.16289152204990387, -0.4390106499195099, -0.6012179255485535, 0.6019347310066223, -0.06566713750362396, 0.3761008381843567, -0.44583576917648315, -0.2527981698513031, -0.42879125475883484, 0.6054250001907349, -0.8638389110565186, 0.008533370681107044, 0.43341493606567383, -0.3821864426136017, -0.26108190417289734, -0.15958814322948456, -0.33636823296546936, -0.4190863370895386, -0.6776317358016968, 0.6476625800132751, -0.523722767829895, -0.17359024286270142, -0.22173267602920532, 0.3158738315105438, 0.07567848265171051, 0.46561458706855774, -0.9561814665794373, 0.9395643472671509, 0.7066699266433716, 0.7006030678749084, -0.10935162007808685, -0.40597671270370483, -0.7904702425003052, -0.15687775611877441, -0.36759698390960693, 0.7460598945617676, -0.570841908454895, -0.5137467384338379, -0.17786486446857452, 0.010164504870772362, -0.40275976061820984, -0.8341543674468994, 0.14444704353809357, -0.42917272448539734, -0.22961299121379852, -0.1768348067998886, -0.023776549845933914, -0.3308837413787842, 0.11543197929859161, -0.5096864700317383, 1.2424962520599365, 0.27233463525772095, -0.2485838234424591, 0.23177550733089447, -0.771361768245697, -0.44773897528648376, 0.47523289918899536, -0.27987608313560486, -0.4930945336818695, 0.23792745172977448, 0.057867780327796936, 0.5908797383308411, -0.6892266869544983, 0.2683814764022827, -0.3047723174095154, -0.22330674529075623, 0.08769791573286057, -0.1321091204881668, 0.8462343811988831, 0.18662098050117493, -0.378569632768631, 0.35727784037590027, -0.30472540855407715, 0.38990461826324463, -0.0204763226211071, -0.20466230809688568, -0.23652887344360352, -0.010890313424170017, -0.057141028344631195, 0.16398927569389343, 0.13327285647392273, -0.3620125353336334, -0.08672039210796356, -0.16948914527893066, 0.392598956823349, 0.5726054906845093, -0.4762119948863983, 0.1752883642911911, -0.5158705711364746, 0.41063305735588074, -0.3108816146850586, 0.3276899456977844, -0.15486222505569458, -0.48060256242752075, -0.15951961278915405, -0.8141608834266663, 0.35872840881347656, 0.7356404662132263, -0.5482383370399475, 0.08818832039833069, -0.26310065388679504, -0.4188518226146698, -0.35105979442596436, 0.12106983363628387, 0.4429314434528351, 0.21701617538928986, 0.4195277988910675, -0.295724093914032, -0.10888119786977768, -0.5212653875350952, -0.13175459206104279, 0.07630743086338043, 0.09947945922613144, 0.8647565841674805, 0.6520928740501404, -0.02950182929635048, 0.8378351926803589, -0.3663065433502197, -0.4194439649581909, -0.0968877300620079, 0.17907878756523132, 0.3509463667869568, 0.10178910195827484, 0.36984479427337646, -1.0023813247680664, -0.6073992252349854, 0.21585841476917267, -0.7221993207931519, 0.01132071390748024, 0.12210516631603241, 0.16908343136310577, -0.008075661025941372, 0.1509999781847, -0.3297431468963623, 0.22567352652549744, 0.6363645195960999, 0.2064223438501358, 0.8070851564407349, -0.24150624871253967, 0.2550520896911621, -1.1687195301055908, 0.037248726934194565, -0.1386307030916214, -0.3636634647846222, -0.5577610731124878, 0.3213205337524414, 0.1351005733013153, -0.167501762509346, -0.6795610189437866, 0.7570316195487976, -0.7547357678413391, -0.3440885543823242, -0.5808128714561462, -0.2582422196865082, -0.5446559190750122, 0.4476988613605499, -0.05132867023348808, 0.9074333310127258, 0.8775098919868469, -0.7008516788482666, 0.6139556765556335, 0.24661900103092194, -0.07024360448122025, 0.5909823179244995, -0.2692753076553345, 0.1112440899014473, 0.25638025999069214, 0.09387679398059845, -0.9573411345481873, -0.14828044176101685, -0.13875269889831543, -0.3091900050640106, 0.1190633475780487, -0.6050180196762085, -0.4024278521537781, -0.5067905187606812, -0.26324063539505005, 0.47087058424949646, 0.33250609040260315, -0.48714882135391235, 1.1435401439666748, 0.5848662257194519, -0.38891300559043884, -0.6738117337226868, -0.650352954864502, -0.09451988339424133, 0.011188200674951077, -0.7090957164764404, 0.4095669686794281, -0.1375950127840042, -0.22673353552818298, -0.0221419520676136, -0.09099515527486801, -0.4037024974822998, 0.02256988361477852, 0.7043943405151367, 0.1646798700094223, 0.07897080481052399, 0.15428784489631653, -0.28102588653564453, -0.0797620341181755, 0.04744750261306763, -0.6181834936141968, 0.8223491907119751, -0.2631044387817383, -0.45833438634872437, -0.1528828740119934, 0.10813159495592117, 0.5699430704116821, -0.43720385432243347, 0.675605058670044, 0.4628491699695587, -0.6036438941955566, -0.4670218229293823, -0.43565425276756287, -0.2383853644132614, -0.4939083158969879, 0.2275896668434143, -0.8044915795326233, -0.725898027420044, 0.6306979060173035, -0.41209906339645386, 0.11711735278367996, 0.17404888570308685, 0.7806215882301331, 0.22317412495613098, 0.7031758427619934, 0.6450756788253784, 0.20021766424179077, 0.5299791693687439, -0.3507169187068939, 0.0072197760455310345, -0.918418824672699, -0.1995251625776291, -0.510343611240387, 0.16750091314315796, -0.5379573106765747, -0.6438285112380981, 0.42636585235595703, -0.2501780390739441, -0.17487993836402893, 0.37716326117515564, -0.20601536333560944, 0.6058935523033142, 0.5854893922805786, 0.27909645438194275, 0.13757012784481049, 0.0226817037910223, -0.13242968916893005, 0.1744338870048523, -0.3185688853263855, -0.4194556176662445, 1.329353928565979, 0.2966166138648987, 0.9010123610496521, -0.10767108201980591, 0.7280741930007935, 0.28363165259361267, 0.41694769263267517, -1.0349175930023193, 0.6264179944992065, -0.5282847285270691, -0.4951010048389435, -0.3975953757762909, -0.5943146347999573, -0.797124445438385, 0.46348631381988525, -0.020108439028263092, -0.9658810496330261, -0.21333974599838257, -0.1202346533536911, -0.585894763469696, 0.5193655490875244, -0.4394538402557373, 0.6041473746299744, -0.27383488416671753, -0.49295538663864136, -0.12278421968221664, -0.43766751885414124, 0.27935338020324707, -0.1729060858488083, 0.6414048075675964, -0.0674000084400177, 0.3490503430366516, 0.3564474284648895, -0.21592296659946442, 1.0673935413360596, -0.1526428759098053, -0.24490639567375183, 0.32267820835113525, 0.16498731076717377, 0.5577732920646667, -0.07967425882816315, -0.12838508188724518, 0.03495077043771744, 0.12250285595655441, -0.18431110680103302, -0.19545608758926392, 0.8574845194816589, -0.8595425486564636, -0.3228338062763214, -0.28540486097335815, -0.895576000213623, -0.27793577313423157, 0.3032718598842621, -0.21080175042152405, 1.0073035955429077, -0.034119460731744766, 0.08014814555644989, 0.6838688850402832, 0.20177964866161346, 0.597791850566864, 0.24294975399971008, -0.30683284997940063, -0.4669835865497589, 1.116945743560791, 0.1304294914007187, 0.378506064414978, 0.35072585940361023, -0.03602036088705063, -0.5182403326034546, -0.610701858997345, -0.43696367740631104, 0.3271139860153198, -0.5525352954864502, -0.1782546043395996, -0.8114264011383057, -0.19660095870494843, -0.4442216157913208, -0.014816110953688622, -0.47551989555358887, -0.13974860310554504, 0.06342839449644089, 0.3383185863494873, 0.023399224504828453, 0.8335988521575928, 0.056369371712207794, 0.36953529715538025, -0.7936099767684937, 0.30716705322265625, 0.4291844666004181, 0.34060585498809814, 0.03689287602901459, -0.30934083461761475, -0.4437161386013031, 0.05198296159505844, -0.5430123805999756, -0.6513572335243225, 0.45307210087776184, 0.07615531980991364, 0.636455237865448, -0.05090054124593735, -0.0582684725522995, 0.5657671093940735, -0.4917376935482025, 0.6107431054115295, -0.15729877352714539, -1.1056616306304932, 0.21889139711856842, -0.5805410742759705, 0.24517185986042023, 0.35859060287475586, 0.288289338350296, -0.28181931376457214, -0.206714928150177, -0.39340871572494507, -0.8525650501251221, 0.9231816530227661, -0.042122285813093185, 0.1657206416130066, -0.032048314809799194, 0.21368719637393951, 0.2582969069480896, 0.46160855889320374, -0.7623010873794556, 0.016383443027734756, 0.19870702922344208, -0.11956663429737091, 0.1718466579914093, 0.264169842004776, -0.5592220425605774, 0.19263701140880585, 0.5211045145988464, -0.6492926478385925, 0.6438553929328918, -0.21024762094020844, -0.23809127509593964, -0.31664130091667175, 0.20962011814117432, 0.49863362312316895, 0.9855808019638062, -0.13392433524131775, 0.12755367159843445, 0.5584944486618042, -0.466571182012558, -0.17285995185375214, 0.31011125445365906, 0.22468136250972748, -0.5188812017440796, 0.2707405388355255, 0.6433786153793335, 0.11326020210981369, -0.4578814208507538, 0.29611268639564514, 0.18177399039268494, -0.10038358718156815, -0.34717950224876404, 0.0016407776856794953, 0.031994566321372986, 0.3819168508052826, 0.5700817704200745, 0.05547362193465233, 0.14632798731327057, -0.8189593553543091, 0.3205609619617462, 0.7886946201324463, -0.4454675614833832, -0.2367924004793167, 0.5499170422554016, 0.2647918164730072, -0.41904503107070923, 0.3875351846218109, -0.1690029352903366, -0.34394267201423645, 0.6899785995483398, 0.5749995112419128, 0.8463630676269531, -0.39329656958580017, 0.4238704442977905, 0.10709229111671448, 0.1274559199810028, -0.15230174362659454, 0.3902616500854492, -0.05728018283843994, -0.39228472113609314, -0.749421238899231, -0.6705991625785828, -0.6109938025474548, 0.12216750532388687, -0.6292527318000793, 0.11712493002414703, -0.42957428097724915, -0.5210772752761841, -0.1525696963071823, 0.2840093970298767, -0.5036632418632507, 0.5431953072547913, 0.21717481315135956, 0.7499076724052429, -0.6398130059242249, 0.7065938115119934, 0.8584467768669128, -0.15724937617778778, -0.5715079307556152, -0.031140610575675964, 0.24425359070301056, -0.7866628170013428, 0.6557772159576416, 0.1940043419599533, -0.48637890815734863, 0.23147611320018768, -0.2548690438270569, -0.634395182132721, 1.4136191606521606, 0.3254472315311432, -0.007677049841731787, -0.04972792789340019, 0.30491119623184204, 0.2617768347263336, -0.7928401231765747, 0.7860642671585083, 0.11545931547880173, 0.2840724587440491, 0.20322825014591217, -1.4567621946334839, 0.17722944915294647, 0.04879533872008324, 0.07445918023586273, 0.4081939160823822, -0.8367443084716797, 1.210983395576477, -0.3790557384490967, 0.09514708071947098, 0.15743769705295563, 0.24542109668254852, 0.013178517110645771, 0.07552383840084076, 0.4081912040710449, 0.40062573552131653, 0.7906042337417603, -0.24663877487182617, 1.1520342826843262, -0.22710946202278137, 0.4773387908935547, 1.1199198961257935, -0.27602314949035645, 0.8832060694694519, 0.12383238971233368, -0.21808195114135742, 0.3813765048980713, 0.6439111232757568, 0.10104148089885712, 0.6720331311225891, 0.25072193145751953, -0.38780173659324646, -0.4062657952308655, 0.03803110495209694, -0.1434958130121231, 0.24865113198757172, 0.32417768239974976, -0.13136962056159973, -0.40577104687690735, -0.018080785870552063, -0.08809888362884521, -0.1822529286146164, -0.41987305879592896, 0.7870714068412781, 0.1850425899028778, -0.5120307803153992, 0.4990180730819702, 0.08223485201597214, 0.4502854645252228, -0.8183799386024475, 0.07172484695911407, 0.1017623245716095, 0.5137825012207031, -0.26311516761779785, -0.5945605635643005, 0.3671953082084656, -0.38607075810432434, -0.16130396723747253, -0.07737766206264496, 0.5177283883094788, -0.31368288397789, -0.09324726462364197, 0.6193450093269348, 0.5077328085899353, 0.1686323881149292, -0.36044958233833313, -0.7837579846382141, 0.05063290521502495, -0.2914189100265503, 0.07916471362113953, 0.4386737048625946, 0.1500423550605774, -0.41318777203559875, 1.052931785583496, 0.7520453333854675, 0.003279643366113305, 0.1462254524230957, 0.05996234714984894, 0.8024073839187622, -0.4500996172428131, -0.2739742398262024, -0.7063636779785156, 0.6297635436058044, 0.19364206492900848, -0.20031946897506714, 0.4941297769546509, 0.5890714526176453, 0.66030353307724, -0.25512734055519104, 0.8857089877128601, -0.09306798875331879, 0.17150446772575378, -0.44797366857528687, 0.28763166069984436, -0.38186994194984436, 0.08737272769212723, -0.09936108440160751, -0.8900642991065979, -0.3337867259979248, 0.3117844760417938, -0.8475254774093628, 0.5494281053543091, 0.8098210692405701, 0.7349623441696167, -0.24660179018974304, 0.07949905842542648, 0.40037471055984497, -0.04084917902946472, 0.33167803287506104, 0.4348737299442291, 0.5989458560943604, -0.3520947992801666, 0.4570524990558624, 0.10287167876958847, -0.6894211769104004, -0.23598423600196838, -0.6707492470741272, -1.139315128326416, -0.659730851650238, -0.17211021482944489, -0.314645916223526, 0.31407883763313293, 1.0717236995697021, 1.1788955926895142, -0.8464102149009705, -0.8691251277923584, 0.06906824558973312, -0.18192563951015472, -0.5675628185272217, -0.19673405587673187, 0.14589016139507294, -0.7107109427452087, -0.8868151903152466, 0.5428770184516907, 0.3500939607620239, -0.2436220794916153, -0.06224740296602249, -0.03976404294371605, -0.021833643317222595, 0.34314146637916565, 0.6062300801277161, 0.21379387378692627, -0.6331672668457031, 0.04525329917669296, -0.06705784052610397, -0.10827654600143433, -0.0012419401900842786, 0.7890486717224121, -0.5257446765899658, 0.2960158586502075, 0.13486550748348236, 0.7813701033592224, 0.7498920559883118, 0.026557862758636475, 0.38041186332702637, -0.678058385848999, -0.20332711935043335, -0.0256760623306036, 0.021357420831918716, 0.3618882894515991, -0.4042404592037201, 0.6009401679039001, 0.11446714401245117, -0.7543967366218567, -0.7098046541213989, 0.4152798652648926, -0.8588262796401978, -0.21154621243476868, 0.9972142577171326, -0.26075395941734314, -0.3613283634185791, -0.19086894392967224, -0.2626143991947174, -0.10070880502462387, -0.3106100857257843, 0.6073285341262817, 0.6255653500556946, -0.5908327698707581, -0.1319076418876648, -0.7236788868904114, 0.4541323482990265, -0.035770341753959656, -1.1017351150512695, 0.2692038118839264, 0.22280199825763702, 0.6270508766174316, 0.34447798132896423, 0.772486686706543, -0.31801602244377136, 0.14855727553367615, -0.08408061414957047, 0.09246668964624405, -0.45472732186317444, -0.6890313625335693, -0.052222952246665955, 0.31338945031166077, 0.21615935862064362, -0.26425740122795105 ]
http://arxiv.org/abs/2406.19358v1
http://arxiv.org/pdf/2406.19358v1
The Model Arena for Cross-lingual Sentiment Analysis: A Comparative Study in the Era of Large Language Models
2024-06-27T17:38:45
2024-06-27T17:38:45
Xiliang Zhu, Shayna Gardiner, Tere Roldán, David Rossouw
cs.CL
cs.CL
Sentiment analysis serves as a pivotal component in Natural Language Processing (NLP). Advancements in multilingual pre-trained models such as XLM-R and mT5 have contributed to the increasing interest in cross-lingual sentiment analysis. The recent emergence in Large Language Models (LLM) has significantly advanced general NLP tasks, however, the capability of such LLMs in cross-lingual sentiment analysis has not been fully studied. This work undertakes an empirical analysis to compare the cross-lingual transfer capability of public Small Multilingual Language Models (SMLM) like XLM-R, against English-centric LLMs such as Llama-3, in the context of sentiment analysis across English, Spanish, French and Chinese. Our findings reveal that among public models, SMLMs exhibit superior zero-shot cross-lingual performance relative to LLMs. However, in few-shot cross-lingual settings, public LLMs demonstrate an enhanced adaptive potential. In addition, we observe that proprietary GPT-3.5 and GPT-4 lead in zero-shot cross-lingual capability, but are outpaced by public models in few-shot scenarios.
[ -0.5095821619033813, -0.25431278347969055, 0.5675982236862183, 0.5721489787101746, -0.21612606942653656, 0.19771361351013184, -0.28884944319725037, -0.6994324922561646, 0.0784231573343277, 0.24032483994960785, -0.227972149848938, -0.4829382598400116, -0.6537782549858093, 0.46182137727737427, -0.16488862037658691, 1.0086796283721924, -0.038547348231077194, 0.2973096966743469, -0.023303203284740448, -0.4284079968929291, -0.12807239592075348, -0.8534864187240601, -0.46316275000572205, -0.22633127868175507, 0.7824050188064575, 0.10549573600292206, 0.6638405919075012, -0.10319383442401886, 0.5225004553794861, 0.19418250024318695, -0.05592557042837143, -0.2940863370895386, -0.37658390402793884, -0.49685055017471313, -0.38709595799446106, -0.524742603302002, -0.8807333707809448, 0.022033236920833588, 0.7803820371627808, 0.6550336480140686, 0.08877752721309662, 0.10503880679607391, 0.15446116030216217, 0.6714849472045898, -0.4125000834465027, 0.1785683035850525, -0.6659700870513916, 0.2441718578338623, -0.24442259967327118, -0.031764816492795944, -0.40057215094566345, -0.16303956508636475, 0.18346302211284637, -0.4137422442436218, -0.22079864144325256, 0.02286108210682869, 0.7448739409446716, -0.08538895100355148, -0.3731371760368347, -0.12425732612609863, -0.46843665838241577, 1.1076983213424683, -0.9202056527137756, 0.5314151644706726, -0.1233280599117279, 0.21044546365737915, 0.42165201902389526, -0.5533344745635986, -0.5560961961746216, -0.16334673762321472, -0.11271614581346512, 0.16148722171783447, -0.5128705501556396, -0.24792420864105225, -0.046629417687654495, 0.17167407274246216, -0.630355179309845, 0.34834524989128113, -0.3076171875, 0.07482137531042099, 0.5052057504653931, 0.1360052078962326, 0.30084308981895447, -0.5027768015861511, -0.6785939931869507, 0.06418842077255249, -0.8766016960144043, 0.06105237826704979, 0.022443391382694244, 0.5918495655059814, -0.27517324686050415, 0.3682499825954437, -0.029384220018982887, 0.48827412724494934, -0.12576915323734283, -0.20310206711292267, 0.32656314969062805, -0.3474678695201874, -0.5588283538818359, -0.08725650608539581, 0.9839892983436584, 0.5029942393302917, 0.4004818797111511, -0.10324572771787643, -0.27249032258987427, -0.10425054281949997, -0.09393241256475449, -0.6530831456184387, 0.15964485704898834, -0.11772356182336807, -0.5698189735412598, -0.2200370728969574, -0.09030581265687943, -0.7538230419158936, -0.32906219363212585, -0.20619690418243408, 0.46715033054351807, -0.03480447456240654, -0.45379185676574707, 0.19631792604923248, 0.110198013484478, 0.503108024597168, 0.26107215881347656, -0.6761112809181213, 0.37539803981781006, 0.7970674633979797, 1.03323233127594, -0.5806612372398376, -0.485588014125824, -0.24914103746414185, -0.0984966903924942, -0.3883379101753235, 0.7507581114768982, -0.5704423785209656, -0.4878541827201843, -0.026013318449258804, 0.16957662999629974, -0.35806432366371155, -0.5232561230659485, 0.43085014820098877, -0.48532214760780334, 0.4214459955692291, -0.5102950930595398, -0.09009075164794922, -0.41456204652786255, 0.5364990234375, -0.4859459102153778, 0.7169738411903381, 0.07060584425926208, -0.8342606425285339, 0.33245041966438293, -0.7877752780914307, -0.36834099888801575, -0.17873045802116394, 0.016530165448784828, -0.20968830585479736, 0.18815402686595917, 0.38815632462501526, 0.7002295255661011, -0.4281071424484253, -0.1025858074426651, -0.7328026294708252, -0.3338051438331604, 0.31835922598838806, -0.44111767411231995, 0.7777386903762817, 0.09132484346628189, -0.16567182540893555, -0.04020543023943901, -0.582802951335907, -0.14259469509124756, 0.03284301981329918, -0.2735539674758911, -0.4927959144115448, -0.361782044172287, 0.05939876288175583, 0.599514901638031, 0.15487535297870636, -0.5764808654785156, 0.02226497232913971, -0.37131598591804504, 0.2324688732624054, 0.7224817276000977, -0.21841123700141907, 0.6160659193992615, -0.20234499871730804, 0.814372718334198, 0.11599849909543991, -0.014723909087479115, 0.21868197619915009, -0.4038483500480652, -0.5854300260543823, -0.33748728036880493, 0.4482273757457733, 0.6405143141746521, -0.6989977955818176, -0.15720196068286896, -0.6026772260665894, -0.24637898802757263, -0.6127581000328064, 0.11825653910636902, 0.1464560627937317, 0.32378435134887695, 0.32408615946769714, -0.24745717644691467, -0.4177209734916687, -0.8804233074188232, -0.35557106137275696, -0.28113898634910583, 0.035568900406360626, 0.37376919388771057, 0.2756185531616211, -0.21490056812763214, 0.5852987170219421, -0.04854116588830948, -0.44976186752319336, -0.5906276702880859, 0.15575061738491058, 0.14177949726581573, -0.1674042046070099, 1.1100572347640991, -0.5128423571586609, -0.999445378780365, 0.4650522470474243, -0.6887198090553284, -0.4411556124687195, 0.020129619166254997, 0.038153331726789474, 0.6570637822151184, 0.09309523552656174, -0.6717063784599304, 0.08252152055501938, 1.107428789138794, -0.09929144382476807, 0.3950177729129791, 0.1468709111213684, 0.28320443630218506, -0.8858261108398438, 0.22558054327964783, 0.02673908695578575, -0.38541221618652344, -0.6518638730049133, -0.06956633925437927, 0.004078000318259001, 0.08428533375263214, -0.830145001411438, 0.7294512987136841, -0.511867105960846, -0.559357225894928, -0.295633465051651, 0.38026994466781616, 0.006007801275700331, 0.4622323215007782, 0.36597204208374023, 0.5301967859268188, 0.58290696144104, -0.28624191880226135, 0.27502205967903137, -0.07322785258293152, -0.17718711495399475, 0.7290413975715637, -0.5316566228866577, 0.04045535624027252, 0.1662507951259613, 0.21305209398269653, -0.7479965686798096, 0.06123179942369461, 0.31888797879219055, -0.3012351989746094, 0.25853750109672546, -0.1320464164018631, -0.2671568989753723, -0.135893777012825, -0.4451562464237213, 0.2322477400302887, 0.44370266795158386, -0.5800997614860535, 0.7111209034919739, 0.1954888254404068, -0.6562640070915222, -0.6161626577377319, -0.9276626706123352, 0.28130966424942017, -0.41711288690567017, -0.5175874829292297, 0.012566227465867996, 0.11150277405977249, -0.4405786693096161, 0.09964317828416824, 0.20127828419208527, 0.12880128622055054, -0.0926034078001976, -0.006890518125146627, 0.5102330446243286, -0.5043268799781799, -0.18789178133010864, -0.2552129030227661, -0.009251890704035759, 0.1295485496520996, 0.0026900856755673885, 0.27435415983200073, -0.3578372001647949, -0.3145626187324524, -0.12289134413003922, 0.24513058364391327, 0.7380112409591675, -0.11693227291107178, 0.6615042686462402, 0.6298053860664368, -0.08783198893070221, -0.2264399230480194, -0.2439448982477188, 0.2929023504257202, -0.36185741424560547, 0.37047797441482544, -0.41345152258872986, -0.9011092782020569, 0.3819628357887268, 0.3454091250896454, 0.07583684474229813, 0.4256005585193634, 0.7833722829818726, 0.21649490296840668, 1.1243412494659424, 0.5419874787330627, -0.6338249444961548, 0.29804137349128723, 0.10572139173746109, 0.2397250533103943, -0.7812157273292542, 0.2750992774963379, -0.4339107573032379, -0.18458835780620575, -0.5695245862007141, -0.535426139831543, 0.2096584290266037, -0.20827478170394897, 0.00680693332105875, 0.10142617672681808, 0.14547032117843628, 0.13598673045635223, 0.047612160444259644, -0.5003871917724609, 0.4439699947834015, 0.12191726267337799, -0.11776454746723175, -0.15827623009681702, -0.9042060971260071, -0.5212260484695435, 0.9728204011917114, 0.5990643501281738, 0.7027459740638733, 0.19714100658893585, 0.4484415650367737, 0.09797240048646927, 0.754936695098877, -0.778391420841217, 0.6780348420143127, -0.5688339471817017, -0.413993775844574, -0.12930548191070557, -0.48385384678840637, -0.6406762599945068, 0.6725639700889587, -0.17991754412651062, -0.5209751725196838, 0.17373567819595337, -0.22647814452648163, -0.36340999603271484, 0.5015033483505249, -0.5336689949035645, 0.8130108714103699, -0.2813885509967804, -0.27977320551872253, -0.0674327090382576, -0.38318848609924316, 0.5299246311187744, -0.4413706064224243, 0.5852724313735962, -0.19309987127780914, -0.07360339164733887, 0.44429323077201843, 0.040112510323524475, 0.8831959962844849, -0.26991650462150574, -0.4089188873767853, 0.045306358486413956, 0.1667308658361435, 0.3042581081390381, -0.144633486866951, -0.2590692341327667, 0.5005130171775818, -0.04598249867558479, -0.21866528689861298, -0.5171684622764587, 1.0000232458114624, -0.8956426978111267, -0.5668641328811646, -0.43785393238067627, -0.4242000877857208, -0.4095802903175354, 0.02327950857579708, 0.0133913429453969, 0.06298699975013733, -0.28726163506507874, 0.331509530544281, 0.16887569427490234, -0.3513626158237457, 0.5734944939613342, 0.6380169987678528, -0.5894246101379395, -0.19455866515636444, 0.7886595129966736, 0.37600424885749817, 0.4614318609237671, 0.5672725439071655, 0.3485352396965027, -0.412924587726593, -0.32502520084381104, -0.4675748944282532, 0.23498773574829102, -0.7738829851150513, -0.13253861665725708, -0.5933113098144531, 0.0547187440097332, -0.475707083940506, -0.2560734748840332, -0.4136725664138794, -0.4723823368549347, -0.19084051251411438, -0.2882142663002014, 0.116445392370224, 0.6577886939048767, -0.2994020879268646, 0.060582857578992844, -0.9904536008834839, 0.42664363980293274, 0.45329537987709045, 0.2731967568397522, 0.021170644089579582, -0.7111405730247498, -0.03844226524233818, 0.007741712965071201, 0.05995398014783859, -0.7228612303733826, 0.6865746974945068, 0.1333262324333191, 0.45072314143180847, 0.22165831923484802, -0.12500803172588348, 0.7123059630393982, -0.2837863862514496, 1.0076227188110352, 0.18994201719760895, -0.9776604175567627, -0.08684553951025009, -0.27354925870895386, 0.3186713457107544, 0.11229473352432251, 0.6001060605049133, -0.6622458696365356, -0.3283174932003021, -0.22894297540187836, -0.524569034576416, 0.8034380674362183, -0.23504486680030823, 0.04803530499339104, 0.13609297573566437, -0.18473391234874725, 0.2141706943511963, 0.05325525999069214, -1.289718508720398, 0.20222187042236328, -0.2475409209728241, -0.09505759179592133, -0.37569674849510193, -0.15024429559707642, 0.015326503664255142, -0.04596530273556709, 0.6309648752212524, -0.1949165165424347, 0.09286864846944809, 0.0746946781873703, -0.2732612192630768, -0.17713722586631775, 0.6054778695106506, 0.414543479681015, 0.4854077100753784, -0.0393366776406765, 0.18255068361759186, 0.6734718084335327, -0.18094292283058167, 0.08421675115823746, -0.038960397243499756, -0.1170027032494545, -0.06118527054786682, 0.5008019804954529, 0.9461989402770996, 0.5058770775794983, -0.29838642477989197, 0.66224205493927, 0.04124654456973076, -0.3204593360424042, 0.061132416129112244, -0.2893637418746948, 0.06999959796667099, 0.2758675515651703, 0.08590562641620636, -0.17915424704551697, 0.046928178519010544, -0.7384033203125, -0.3073549270629883, 0.49977684020996094, -0.4197748005390167, -0.6601166129112244, 0.3885277509689331, 0.14774587750434875, 0.04693150520324707, 0.22008715569972992, -0.11840245872735977, -0.6438631415367126, 0.12439028173685074, 0.49938201904296875, 0.9477866291999817, 0.01595664955675602, 0.22033736109733582, 0.06511110067367554, 0.27792051434516907, -0.10105971992015839, 0.12052924931049347, 0.16311340034008026, -0.7749679684638977, -0.6789085268974304, -0.8058134317398071, -0.46622416377067566, -0.021001890301704407, -0.5972424745559692, 0.1794850379228592, -0.29327067732810974, -0.14852042496204376, -0.24007020890712738, 0.06543855369091034, -0.7053968906402588, 0.20891010761260986, 0.5866981744766235, 0.856691837310791, -0.9082468152046204, 0.9056072235107422, 0.8000534176826477, -0.04775423929095268, -0.8214691281318665, -0.09195618331432343, -0.016247021034359932, -0.7394216060638428, 0.7882277965545654, 0.11334507167339325, -0.4681367576122284, -0.19625873863697052, -0.27922266721725464, -0.5586900115013123, 0.9596102237701416, 0.15231645107269287, -0.6584842205047607, -0.05008082464337349, 0.5461990237236023, 0.8252556920051575, -0.5721378326416016, 0.03789915889501572, 0.5963121652603149, 0.5612372159957886, -0.09235713630914688, -1.1300793886184692, -0.04336676001548767, 0.03604309260845184, 0.022250616922974586, -0.04215557873249054, -0.7083507776260376, 0.9013296961784363, -0.04881499707698822, -0.21893271803855896, -0.06147055700421333, 0.5564910769462585, 0.373787522315979, 0.25669077038764954, 0.6016368269920349, 0.38437336683273315, 0.33060944080352783, 0.045679979026317596, 1.1459051370620728, -0.2114141583442688, 0.19673116505146027, 0.8186380863189697, -0.9057489037513733, 1.330167531967163, 0.5355350971221924, -0.2927885949611664, 0.5425706505775452, 0.18184910714626312, 0.182188019156456, 0.3380739688873291, -0.23399637639522552, -0.08195534348487854, -0.21673376858234406, 0.173344224691391, -0.3005874454975128, 0.5576553344726562, 0.17201445996761322, -0.20726467669010162, -0.14654074609279633, 0.21225103735923767, 0.018023455515503883, -0.15250186622142792, -0.7342145442962646, 0.7098655104637146, 0.4807700216770172, -0.5437065362930298, 0.3698262870311737, 0.039510272443294525, 1.0010205507278442, -0.5931181311607361, 0.348183810710907, -0.29566097259521484, 0.23765744268894196, -0.23706752061843872, -0.9625855684280396, 0.37191981077194214, 0.3292071521282196, 0.04973577335476875, -0.33618226647377014, 0.769916296005249, -0.19517405331134796, -0.5759040117263794, 0.8546117544174194, 0.6247556805610657, 0.17762313783168793, 0.014576043002307415, -0.8259419202804565, 0.08951283246278763, -0.049801625311374664, -0.525993287563324, 0.6368971467018127, 0.6038292050361633, -0.11476565152406693, 0.47070154547691345, 0.6074694991111755, 0.5108961462974548, 0.21460391581058502, 0.3605707585811615, 0.6081196069717407, -0.7202865481376648, -0.3873869478702545, -0.7517749071121216, 0.3161863684654236, 0.24404984712600708, -0.09567588567733765, 1.0808473825454712, 0.19295914471149445, 1.004455804824829, -0.20933355391025543, 0.8894593119621277, 0.077081099152565, 0.7302845120429993, -0.5026189088821411, 0.5688219666481018, -0.6878922581672668, 0.26928889751434326, -0.396624356508255, -0.9609443545341492, -0.46470582485198975, 0.5215758681297302, -0.611075222492218, -0.02636822685599327, 0.4326883852481842, 0.7526283264160156, -0.14065732061862946, -0.12737171351909637, 0.6172650456428528, 0.3734700679779053, 0.1329621821641922, 0.5491468906402588, 1.103515386581421, -0.10382604598999023, 0.5940441489219666, -0.1745927929878235, 0.057799991220235825, -0.14680080115795135, -1.0777966976165771, -0.8981139659881592, 0.03428021818399429, -0.11077025532722473, 0.055193036794662476, -0.16649678349494934, 0.7463165521621704, 0.5165628790855408, -0.698927104473114, -0.4015941917896271, 0.38242819905281067, 0.0006281204405240715, -0.019760729745030403, -0.26245033740997314, 0.13177508115768433, -0.23166926205158234, -0.659408450126648, 0.350503534078598, 0.5431239008903503, 0.015121051110327244, -0.556171178817749, -0.1938849538564682, 0.010548410937190056, 0.3876592516899109, 0.9973304867744446, 0.24814686179161072, -0.6841012239456177, -0.38652145862579346, 0.202581986784935, -0.31209230422973633, 0.24604927003383636, 0.628856897354126, -0.5765045881271362, 0.04786325991153717, 0.547592282295227, 0.38712790608406067, 0.17979171872138977, -0.06766945123672485, 0.6049191355705261, -0.6224726438522339, 0.09360113739967346, 0.08158665150403976, 0.5560378432273865, 0.6677204370498657, 0.0819588452577591, 0.30503401160240173, 0.14795683324337006, -0.5219559073448181, -0.8262744545936584, -0.11348254978656769, -0.9312141537666321, -0.3835802972316742, 1.402564525604248, -0.29978224635124207, -0.21019026637077332, 0.18332113325595856, -0.16400465369224548, -0.16597148776054382, -0.11034364998340607, 0.539756715297699, 0.7823024392127991, -0.046902671456336975, -0.29631897807121277, -0.4504762291908264, 0.2751794755458832, 0.4099658727645874, -0.8127696514129639, 0.010837864130735397, 0.3036198019981384, 0.308352530002594, 0.1353885531425476, 0.6417539119720459, -0.30592331290245056, 0.16754040122032166, -0.13986410200595856, -0.09880680590867996, 0.22237908840179443, -0.3715701699256897, -0.760517418384552, 0.43517327308654785, 0.2992534041404724, 0.17154596745967865 ]
http://arxiv.org/abs/2406.19356v1
http://arxiv.org/pdf/2406.19356v1
DiVERT: Distractor Generation with Variational Errors Represented as Text for Math Multiple-choice Questions
2024-06-27T17:37:31
2024-06-27T17:37:31
Nigel Fernandez, Alexander Scarlatos, Simon Woodhead, Andrew Lan
cs.CL
cs.CL, cs.CY, cs.LG
High-quality distractors are crucial to both the assessment and pedagogical value of multiple-choice questions (MCQs), where manually crafting ones that anticipate knowledge deficiencies or misconceptions among real students is difficult. Meanwhile, automated distractor generation, even with the help of large language models (LLMs), remains challenging for subjects like math. It is crucial to not only identify plausible distractors but also understand the error behind them. In this paper, we introduce DiVERT (Distractor Generation with Variational Errors Represented as Text), a novel variational approach that learns an interpretable representation of errors behind distractors in math MCQs. Through experiments on a real-world math MCQ dataset with 1,434 questions used by hundreds of thousands of students, we show that DiVERT, despite using a base open-source LLM with 7B parameters, outperforms state-of-the-art approaches using GPT-4o on downstream distractor generation. We also conduct a human evaluation with math educators and find that DiVERT leads to error labels that are of comparable quality to human-authored ones.
[ -0.48466724157333374, -0.6488328576087952, 0.6466666460037231, 0.239061638712883, -0.2291414439678192, 0.2112293839454651, 0.010203211568295956, 0.04268641769886017, -0.057086117565631866, 0.6058219075202942, -0.9636712670326233, 0.07931376248598099, -0.531717836856842, 0.19612573087215424, -0.00889506284147501, 0.8504313230514526, -0.39613988995552063, 0.22384166717529297, -0.22090460360050201, 0.02733374945819378, -0.5867592692375183, -0.3609592318534851, -0.36356252431869507, 0.11360321938991547, 0.768144428730011, 0.5462833046913147, 0.4092329442501068, 0.4250779151916504, 0.5338104963302612, 0.21403692662715912, 0.01786419004201889, 0.3192274570465088, -0.43333670496940613, 0.10242368280887604, -0.3295557200908661, -0.5192543268203735, 0.4382116496562958, -0.3678525984287262, 0.6838383078575134, 0.7699994444847107, -0.16803254187107086, -0.250217080116272, 0.07158846408128738, 0.5911468863487244, -0.8682680726051331, -0.18211106956005096, -0.48161831498146057, -0.10428282618522644, -0.2861761748790741, -0.153463214635849, -0.43695658445358276, -0.4549655616283417, -0.02678285911679268, -0.41883784532546997, 0.44797879457473755, -0.35819748044013977, 0.8054154515266418, 0.5072394013404846, -0.4370678663253784, -0.6688282489776611, -0.7631736993789673, 1.1471028327941895, -0.33847758173942566, 0.17826302349567413, 0.1785954236984253, 0.5688937306404114, -0.03053656779229641, -0.2856447994709015, -0.3784903883934021, 0.1002216711640358, -0.014777187258005142, 0.44286611676216125, 0.14694850146770477, -0.41299721598625183, 0.21726541221141815, 0.13157778978347778, -0.08528463542461395, -0.21579678356647491, -0.5716428160667419, -0.26929277181625366, 0.5837010145187378, 0.3628632426261902, 0.3036482334136963, -0.17106372117996216, -0.41512373089790344, -0.1940123736858368, -0.7730944752693176, -0.03945065662264824, 0.3826196789741516, 0.17093010246753693, -0.017890967428684235, 0.3827558159828186, 0.2650550305843353, 0.7604700326919556, 0.11759907007217407, -0.014974734745919704, -0.1940840780735016, -0.2807241976261139, 0.20920152962207794, -0.5478782057762146, 0.6203365921974182, -0.046053603291511536, -0.17335659265518188, 0.16936329007148743, -0.08105286210775375, -0.2219107449054718, 0.2919202744960785, -0.678806722164154, -0.298241525888443, -0.02107682265341282, 0.13980844616889954, -0.143249973654747, 0.04432528838515282, -1.2612651586532593, -0.3516436815261841, -0.22981791198253632, 0.1257476508617401, -0.5778945088386536, 0.06646809726953506, 0.012834998778998852, 0.07586853206157684, 0.27841898798942566, 0.7687857151031494, -0.8469465970993042, -0.00817147083580494, 0.1992645114660263, 0.44538596272468567, -0.4569173753261566, -0.5121643543243408, -0.6471794247627258, -0.03437059372663498, -0.24579580128192902, 0.9425866603851318, -0.423441618680954, -0.6596981883049011, 0.03646443784236908, -0.5383899211883545, -0.4852119982242584, -0.6300726532936096, 0.8620523810386658, -0.573479413986206, 0.6144979596138, -0.38735467195510864, -0.45068031549453735, -0.25775566697120667, 0.31709107756614685, -0.7840798497200012, 0.7217928171157837, 0.5311152338981628, -0.6788728833198547, 0.27505651116371155, -0.5082657933235168, -0.15872976183891296, 0.12130138278007507, -0.44588345289230347, -0.4779984951019287, 0.23024336993694305, 0.3607047498226166, 0.010190753266215324, -0.43574580550193787, 0.41173139214515686, -0.004447749815881252, -0.004139984492212534, 0.7720574140548706, -0.7612693905830383, 0.7650516033172607, 0.15128874778747559, -0.20849986374378204, 0.060175660997629166, -0.6421274542808533, -0.16375795006752014, -0.06271965056657791, -0.5773832201957703, -0.2292148917913437, 0.1767694354057312, 0.03980587050318718, 0.599655270576477, -0.0700334832072258, -0.4392741918563843, -0.23088975250720978, 0.11222492158412933, -0.024614820256829262, 0.8287176489830017, 0.08971217274665833, 0.14580422639846802, -0.6169686317443848, 0.8772492408752441, 0.22884805500507355, -0.02870531566441059, -0.2305707037448883, -0.33598053455352783, -0.8754810690879822, -0.5693216919898987, 0.2914257049560547, 0.40795496106147766, -0.8226479887962341, 0.15956877171993256, 0.030906742438673973, -0.13280126452445984, -0.07476736605167389, 0.17209884524345398, 0.29377496242523193, 0.6383049488067627, 0.38507819175720215, 0.11685186624526978, -0.49699193239212036, -0.6240479946136475, -0.4089452028274536, 0.36835816502571106, -0.21251937747001648, 0.7874128222465515, 0.46162641048431396, -0.15544120967388153, 1.1343425512313843, -0.8738534450531006, -0.17176930606365204, -0.16569283604621887, 0.16926239430904388, -0.1598573625087738, 0.535486102104187, 0.31836313009262085, -1.1471089124679565, -0.6105309128761292, -0.33028966188430786, -0.4198624789714813, -0.25462228059768677, -0.5444632768630981, -0.6379315853118896, -0.07247242331504822, 0.29277002811431885, -0.40730881690979004, 0.1026313379406929, 0.09000338613986969, -0.32129406929016113, 1.0116342306137085, 0.1915879100561142, -0.19883036613464355, -1.152829647064209, 0.030181603506207466, -0.14575116336345673, 0.06529837846755981, -0.48847177624702454, 0.05060984939336777, 0.3563668131828308, 0.08525211364030838, -0.6323836445808411, 0.7360050678253174, -0.3966434597969055, 0.5718989968299866, -0.013529875315725803, 0.025429317727684975, -0.07148243486881256, 0.25665515661239624, -0.04232165217399597, 0.6844140887260437, 0.28016459941864014, -0.4845581650733948, 0.10231046378612518, 0.1532433182001114, 0.019729478284716606, 0.8137553930282593, -0.19837486743927002, -0.06918084621429443, -0.2239800989627838, 0.03521285578608513, -1.1320796012878418, -0.7491987943649292, 0.2979872524738312, -0.35381829738616943, 0.35264796018600464, 0.039245955646038055, 0.02238929457962513, -0.5381780862808228, -0.3528558313846588, 0.5651213526725769, 0.41036462783813477, -0.6515536308288574, 0.812102198600769, 0.048254434019327164, -0.2273309975862503, -0.9077718257904053, -0.5901073813438416, -0.42264628410339355, -0.2799207270145416, -0.23744697868824005, 0.10001558810472488, -0.4850408136844635, -0.05808032676577568, -0.038271546363830566, -0.23946382105350494, -0.3822789490222931, 0.12862339615821838, -0.06331834197044373, 0.5150994658470154, -0.07006590068340302, 0.023581048473715782, 0.37388426065444946, 0.1319373995065689, 0.29533252120018005, 0.027590662240982056, 0.5218818187713623, 0.3115587830543518, -0.6168330311775208, 0.06777451187372208, 0.40506550669670105, 0.42207011580467224, 0.10315611213445663, 0.4265102744102478, 0.1951242983341217, -0.45934638381004333, -0.4068796932697296, -0.594049870967865, -0.17386949062347412, -0.4701339602470398, 0.32672423124313354, -0.44123396277427673, -0.9029513597488403, 0.6754871010780334, -0.16279737651348114, 0.05466274172067642, 0.6069058179855347, 0.5549634695053101, 0.028584042564034462, 0.8389648795127869, 0.38262805342674255, 0.28045913577079773, 0.640238344669342, -0.10790382325649261, -0.13536234200000763, -0.8481736183166504, -0.2007208913564682, -0.4905106723308563, -0.07932984083890915, -0.10431350767612457, -0.7696316242218018, 0.014050190337002277, 0.3675755560398102, -0.11386525630950928, -0.13788087666034698, -0.3570353388786316, 0.7421218752861023, 0.49854394793510437, -0.03608138859272003, -0.012625985778868198, 0.08076941221952438, -0.43403223156929016, -0.38440272212028503, -0.4872196912765503, -0.3486022651195526, 0.985313355922699, -0.05006713047623634, 0.9465559124946594, 0.30438554286956787, 1.0349221229553223, -0.10678516328334808, 1.0285489559173584, -0.7501221895217896, 0.28217312693595886, 0.04303232952952385, -0.928063690662384, -0.39051923155784607, -0.8706156611442566, -0.8541094064712524, 0.6794244647026062, 0.19334787130355835, -0.5999773740768433, 0.30693700909614563, 0.1913098394870758, -0.4358050227165222, 0.31939342617988586, -0.5916589498519897, 0.6674849390983582, -0.29424846172332764, -0.6339133977890015, 0.3483673632144928, -0.3897303640842438, 0.781606137752533, -0.4274820387363434, 0.31996792554855347, -0.030139325186610222, -0.09490548074245453, 0.5374892950057983, -0.32687681913375854, 0.8152127265930176, -0.08253295719623566, -0.1786586493253708, 0.5895377993583679, 0.4946560263633728, 0.26335760951042175, 0.162905752658844, 0.04937049746513367, -0.3999406397342682, -0.41124430298805237, -0.4209184944629669, -0.5952841639518738, 0.6692048907279968, -0.802680253982544, -0.47280988097190857, -0.31888872385025024, -0.8451613783836365, -0.11412695795297623, 0.375038206577301, 0.39459818601608276, 0.364266574382782, 0.00017050528549589217, -0.09409073740243912, 0.5403697490692139, -0.09883759170770645, 0.5253182649612427, 0.3839455246925354, 0.09666503965854645, -0.8445837497711182, 1.1125500202178955, 0.12622785568237305, 0.2714262008666992, 0.5939888954162598, 0.4058865010738373, -0.593859851360321, -0.261059045791626, -0.6199372410774231, 0.351960688829422, -0.7533234357833862, -0.3382610082626343, -0.4998461604118347, -0.17266245186328888, 0.09719866514205933, -0.5394819974899292, -0.20905083417892456, -0.1756463199853897, -0.7305960059165955, 0.052703626453876495, -0.24903057515621185, 0.5291692018508911, -0.07773532718420029, 0.2252967357635498, -0.8100656270980835, 0.015598820522427559, 0.618398129940033, 0.2074672430753708, -0.13195599615573883, -0.5063249468803406, -0.03467830643057823, 0.1169561967253685, -0.884716808795929, -1.0754408836364746, 0.5057066679000854, -0.11861100792884827, 0.5339146256446838, 0.5131896734237671, 0.28857460618019104, 0.4785201847553253, -0.385808527469635, 0.6542658805847168, 0.5585952401161194, -1.0810232162475586, 0.34545448422431946, -0.4351753294467926, 0.346256822347641, 0.5046510696411133, 0.39701876044273376, -0.4298938512802124, -0.3088335394859314, -0.6250461935997009, -0.6882311105728149, 0.8770397305488586, 0.28620800375938416, 0.13358454406261444, -0.05040610954165459, 0.16191208362579346, 0.3222947120666504, 0.0867011770606041, -0.793586015701294, 0.031985994428396225, -0.2750215530395508, -0.6126194000244141, -0.01309926062822342, -0.5287879109382629, -0.34627464413642883, 0.21772007644176483, 0.3340052366256714, -0.2607124447822571, 0.21934618055820465, 0.19958627223968506, -0.2927357852458954, -0.17106646299362183, 0.5559424757957458, 1.247910499572754, 0.7883321046829224, -0.07124269753694534, 0.2582884132862091, 0.27919402718544006, -0.5449331402778625, 0.2844996750354767, 0.29922977089881897, -0.5233798623085022, 0.0317489355802536, 0.03679351881146431, 0.41317853331565857, 0.11698783934116364, -0.8874683976173401, 0.3563452661037445, -0.03076663427054882, -0.3991785943508148, -0.127639040350914, -0.07363779097795486, -0.01245580893009901, -0.28437623381614685, 0.5597821474075317, 0.2625039219856262, 0.11007067561149597, 0.0508078970015049, 0.23924410343170166, 0.17492179572582245, -0.45098528265953064, -0.3667011260986328, 0.6369603872299194, 0.30881062150001526, -0.4258010983467102, 0.21970729529857635, -0.16367343068122864, -0.6305946111679077, 0.6084266901016235, 0.6778789758682251, 0.8500608205795288, -0.46348828077316284, 0.31778812408447266, 0.471205472946167, 0.08042597770690918, 0.01528868917375803, 0.3587024211883545, -0.1426120400428772, -0.8449381589889526, -0.544576108455658, -0.21994945406913757, -0.8351619839668274, 0.09846657514572144, -0.5615352392196655, 0.10755281150341034, -0.4614809453487396, 0.10521037876605988, -0.08933775126934052, -0.43762916326522827, -0.5308898091316223, 0.12428050488233566, 0.199393630027771, 0.5025854110717773, -0.547142744064331, 0.13964687287807465, 0.8745146989822388, -0.469737708568573, -0.8975308537483215, 0.2736104726791382, -0.16532936692237854, -0.3186855912208557, 0.7110595107078552, 0.2387370467185974, 0.008362415246665478, -0.1560257524251938, -0.6209105253219604, -1.0080757141113281, 0.6062785387039185, 0.4071565270423889, -0.4938229024410248, 0.09049471467733383, 0.366058349609375, 0.15998463332653046, -0.07002678513526917, 0.6200456023216248, 0.16062615811824799, 0.030806230381131172, 0.33956998586654663, -0.27763476967811584, 0.19697359204292297, 0.012994248420000076, 0.02361336722970009, 0.506093442440033, -0.7506111264228821, 1.2494380474090576, -0.2376789152622223, -0.22668780386447906, -0.07679776847362518, 0.36780041456222534, 0.6212371587753296, 0.15309692919254303, 0.3343711495399475, 0.2778283655643463, 0.7354532480239868, -0.3059675097465515, 0.9327335357666016, 0.015516412444412708, 0.623831570148468, 1.2118237018585205, -0.25588297843933105, 0.7078376412391663, 0.7979601621627808, -0.28745779395103455, 0.5105901956558228, 0.5444818735122681, 0.21059861779212952, 0.4187750220298767, 0.71097332239151, -0.41205212473869324, -0.33593064546585083, 0.3023965358734131, -0.07844341546297073, 0.08905956149101257, 0.6459784507751465, -0.11156682670116425, -0.4901229441165924, 0.19433507323265076, -0.06983249634504318, 0.11648909002542496, -0.0886230543255806, 0.3829004764556885, -0.046419285237789154, -1.0171723365783691, 0.552676796913147, -0.19511282444000244, 0.7155730724334717, -0.4508138597011566, 0.01847427524626255, -0.6341257095336914, 0.49650248885154724, 0.11362256854772568, -0.683096706867218, 0.28783851861953735, -0.05975658819079399, -0.2077159583568573, -0.03879326581954956, 0.5612928867340088, -0.38888320326805115, -0.71349036693573, -0.11122196167707443, 0.5978977084159851, -0.10719114542007446, 0.024290630593895912, -0.5428746342658997, -0.17349602282047272, 0.2013576179742813, -0.039430394768714905, 0.05824632942676544, 0.47514981031417847, -0.01840236596763134, 0.6687580943107605, 0.5964657664299011, -0.3854144513607025, 0.4292263984680176, 0.033414121717214584, 0.9594839215278625, -0.7377293109893799, -0.5481114983558655, -0.7873861789703369, 0.7701685428619385, -0.09578866511583328, -0.7045893669128418, 0.6810089945793152, 0.5590033531188965, 0.9213356971740723, -0.5376035571098328, 0.9103567600250244, 0.05315392464399338, 0.839232325553894, -0.298350065946579, 0.2405354380607605, -0.37596219778060913, 0.32039180397987366, -0.25628912448883057, -0.7063042521476746, -0.5534437298774719, 0.48258423805236816, -0.5052175521850586, 0.016749346628785133, 0.7632246017456055, 0.4001646935939789, -0.20435187220573425, -0.0975794643163681, 0.4685207009315491, -0.367190420627594, 0.6265383958816528, 0.7232856154441833, 1.510227084159851, -0.30129000544548035, 0.961014986038208, -0.3411870300769806, -0.20391738414764404, -0.47223809361457825, -0.3930615484714508, -0.9599394202232361, -0.2681713402271271, -0.4493843913078308, -0.3112773597240448, -0.3422788679599762, 0.5779953598976135, 0.4303330183029175, -0.8737848997116089, -0.08671874552965164, -0.48057907819747925, 0.6576035022735596, -0.16581936180591583, -0.310737669467926, 0.41123250126838684, -0.5021044611930847, -0.8670554757118225, -0.09233037382364273, -0.172294020652771, 0.32143792510032654, -0.1255294382572174, -0.03878428041934967, -0.032605282962322235, 0.3791664242744446, 0.2725476324558258, 0.34461772441864014, -0.7363587021827698, -0.03832332044839859, 0.22501541674137115, -0.2724592685699463, 0.02435939386487007, 1.0265164375305176, -0.44937634468078613, 0.47671598196029663, 0.4667031466960907, 0.747488260269165, 0.3156124949455261, 0.08094511926174164, 0.32709741592407227, -0.6769813895225525, -0.20502613484859467, 0.6494602560997009, 0.2234203964471817, 0.3508841097354889, -0.37678346037864685, 0.20144851505756378, 0.4523220956325531, -0.29635801911354065, -0.8501810431480408, 0.4268621802330017, -0.6773943901062012, -0.20316477119922638, 1.1174228191375732, -0.2268926054239273, -0.08837482333183289, -0.095888152718544, -0.6472400426864624, -0.09071523696184158, -0.2621557116508484, 0.9034796953201294, 0.9251713752746582, -0.19880971312522888, -0.4463983178138733, -0.32222089171409607, 0.44072914123535156, 0.7662593126296997, -1.0241107940673828, -0.03208546340465546, 0.704116940498352, 0.35270926356315613, 0.5509220957756042, 0.3101516664028168, -0.0700155571103096, 0.5369755625724792, 0.20741377770900726, 0.05559062585234642, 0.2094518095254898, -0.10514631122350693, -0.34811270236968994, 0.2197686731815338, -0.14113880693912506, -0.38852185010910034 ]
http://arxiv.org/abs/2406.19354v1
http://arxiv.org/pdf/2406.19354v1
Fundamental Problems With Model Editing: How Should Rational Belief Revision Work in LLMs?
2024-06-27T17:33:03
2024-06-27T17:33:03
Peter Hase, Thomas Hofweber, Xiang Zhou, Elias Stengel-Eskin, Mohit Bansal
cs.CL
cs.CL, cs.AI
The model editing problem concerns how language models should learn new facts about the world over time. While empirical research on model editing has drawn widespread attention, the conceptual foundations of model editing remain shaky -- perhaps unsurprisingly, since model editing is essentially belief revision, a storied problem in philosophy that has eluded succinct solutions for decades. Model editing nonetheless demands a solution, since we need to be able to control the knowledge within language models. With this goal in mind, this paper critiques the standard formulation of the model editing problem and proposes a formal testbed for model editing research. We first describe 12 open problems with model editing, based on challenges with (1) defining the problem, (2) developing benchmarks, and (3) assuming LLMs have editable beliefs in the first place. Many of these challenges are extremely difficult to address, e.g. determining far-reaching consequences of edits, labeling probabilistic entailments between facts, and updating beliefs of agent simulators. Next, we introduce a semi-synthetic dataset for model editing based on Wikidata, where we can evaluate edits against labels given by an idealized Bayesian agent. This enables us to say exactly how belief revision in language models falls short of a desirable epistemic standard. We encourage further research exploring settings where such a gold standard can be compared against. Our code is publicly available at: https://github.com/peterbhase/LLM-belief-revision
[ -0.09273593872785568, -0.9173011183738708, 0.8812291026115417, -0.002551514655351639, 0.046598196029663086, 0.030461478978395462, -0.2592014968395233, -0.4093421995639801, -0.13967883586883545, 0.588115394115448, -0.5603973269462585, -0.45660457015037537, -0.5255982279777527, 0.25411224365234375, -0.14640800654888153, 0.7004338502883911, -0.47676777839660645, 0.09497689455747604, -0.3064746558666229, -0.10022002458572388, -0.4120999574661255, -0.5181479454040527, -0.5092780590057373, -0.2850259244441986, 0.314834862947464, 0.252107709646225, 1.0092763900756836, 0.5939040780067444, 0.3440950810909271, 0.2646434009075165, -0.5291542410850525, 0.3238552212715149, -0.5206470489501953, 0.24281686544418335, -0.4263187050819397, -0.7755753993988037, -0.6640227437019348, 0.2086481750011444, 0.7099268436431885, 0.579154372215271, -0.047712620347738266, 0.0008518616668879986, -0.23493540287017822, 0.41683945059776306, -0.41582274436950684, 0.23056325316429138, -0.9274998903274536, 0.09357558190822601, 0.013659331947565079, 0.018997805193066597, -0.4494996666908264, -0.47842711210250854, -0.012682382948696613, -0.6356151700019836, 0.3312787413597107, 0.05093349888920784, 0.8774575591087341, 0.3262992799282074, -0.5191431641578674, -0.24087974429130554, -0.806506872177124, 0.49060115218162537, -1.0255824327468872, 0.36542344093322754, 0.4126974642276764, 0.00791389774531126, -0.4985734522342682, -0.34027621150016785, -0.76152503490448, -0.31065142154693604, 0.26772814989089966, -0.1577683389186859, -0.2000788152217865, 0.13655316829681396, 0.6071611642837524, 0.2706320285797119, -0.27941402792930603, 0.017528001219034195, -0.2483798712491989, -0.19329555332660675, 0.5852593779563904, 0.17722231149673462, 0.2608981132507324, -0.16586053371429443, 0.08945152163505554, -0.13029904663562775, -0.9604302048683167, -0.08827131241559982, 0.41511592268943787, 0.05057789385318756, 0.4680126905441284, 0.9464269876480103, -0.28589117527008057, 0.6714730858802795, 0.15193259716033936, -0.21581311523914337, -0.038671936839818954, 0.025232652202248573, -0.3555622398853302, -0.17256197333335876, 0.25870874524116516, 0.7089771628379822, 0.13788938522338867, 0.03110405057668686, -0.5707878470420837, 0.29952529072761536, 0.15886817872524261, -0.5037378668785095, -0.0997045561671257, 0.1722550243139267, -0.16180890798568726, -0.510959267616272, -0.38134825229644775, -0.21466712653636932, -0.4901457726955414, -0.5002107620239258, 0.6147774457931519, -0.5000619888305664, -0.03415955975651741, 0.4430438280105591, -0.1348281055688858, -0.14815162122249603, 0.9223029613494873, -0.6767772436141968, 0.08092839270830154, 0.630939245223999, 0.5629852414131165, 0.2618074417114258, -0.34742972254753113, 0.1791110336780548, 0.27427512407302856, -0.5942126512527466, 0.7428154349327087, -0.7242542505264282, -0.6048688888549805, -0.17611588537693024, 0.029187064617872238, -0.026320690289139748, -0.47227299213409424, 0.47155410051345825, -0.5986026525497437, 0.2623334228992462, -0.5109646320343018, -1.2066224813461304, -0.09778615832328796, 0.33534762263298035, -0.44016319513320923, 0.8885730504989624, -0.03520002216100693, -0.8091319799423218, 0.040141720324754715, -0.5625342130661011, 0.069608673453331, -0.4746035635471344, 0.02157781273126602, -0.17664721608161926, 0.3884713053703308, -0.20917780697345734, 0.1316550225019455, -0.01628444343805313, 0.44478440284729004, -0.47725725173950195, -0.012912608683109283, 0.7138654589653015, -0.43651247024536133, 0.5984957218170166, 0.11251244693994522, -0.0781039297580719, 0.19159679114818573, -0.8003878593444824, -0.13743536174297333, 0.2310531735420227, -0.19853496551513672, -0.4548114836215973, 0.187273308634758, -0.3293139338493347, 0.04518686234951019, 0.25278064608573914, -0.7542279362678528, 0.7939919829368591, -0.2714735269546509, 0.3943297564983368, 1.192833423614502, 0.27122706174850464, 0.3262616991996765, -0.5674319267272949, 0.3562118709087372, -0.17407478392124176, 0.4173629581928253, 0.01262560486793518, -0.6373424530029297, -0.8914971947669983, 0.19354631006717682, 0.5746873021125793, 0.5004492998123169, -0.40070927143096924, 0.021196065470576286, 0.12016656249761581, -0.5908253192901611, -0.6934311985969543, 0.056943126022815704, 0.19583657383918762, 0.5450116395950317, 0.3211323618888855, -0.04188317060470581, -0.47204533219337463, -1.0737663507461548, -0.4858272075653076, -0.41304031014442444, 0.052286066114902496, 0.10278689116239548, 0.7234153747558594, -0.41474485397338867, 1.1225508451461792, -0.6926636099815369, 0.03850610554218292, 0.1161450743675232, 0.11006428301334381, -0.04523513466119766, 0.572441577911377, 0.27703121304512024, -0.7119807600975037, -0.246067076921463, -0.1226748526096344, -0.7708083987236023, -0.27864882349967957, -0.12574376165866852, -0.15673042833805084, 0.259049654006958, 0.2462967485189438, -0.9921033978462219, 0.6517367362976074, 0.335649698972702, -0.3978990614414215, 0.8604114055633545, -0.30951857566833496, 0.23825377225875854, -0.9546043276786804, -0.21066755056381226, -0.09123353660106659, -0.14982515573501587, -0.6790329217910767, 0.2689758539199829, 0.20476071536540985, 0.05763540789484978, -0.3655329942703247, 0.3936654031276703, -0.23939567804336548, 0.1757083386182785, -0.22899122536182404, 0.053514450788497925, 0.09052973985671997, 0.3357633352279663, -0.08487627655267715, 0.5615149736404419, 0.1506624072790146, -0.4658830165863037, 0.323130339384079, 0.4138866364955902, -0.2938425540924072, 0.22509853541851044, -0.6117203235626221, 0.4634813368320465, -0.18954545259475708, 0.3010152578353882, -0.6359317302703857, -0.15042239427566528, 0.39734917879104614, -0.38627833127975464, 0.2522522807121277, -0.26271337270736694, -0.6791437864303589, 0.22010178864002228, -0.11338891088962555, -0.03509799763560295, 0.4564499855041504, -0.19638536870479584, 0.4045986533164978, 0.35881322622299194, -0.28055238723754883, -0.517540454864502, -0.5192283987998962, 0.23224729299545288, 0.11815298348665237, -0.7248892188072205, 0.4922993779182434, -0.3859100341796875, -0.7237598896026611, 0.3335741460323334, -0.3300550878047943, 0.055325280874967575, 0.10287171602249146, 0.0053184302523732185, 0.45647889375686646, -0.00012712247553281486, 0.1428431123495102, 0.3736140727996826, -0.12250141054391861, 0.13122877478599548, -0.0757666826248169, -0.07870431244373322, 0.009800823405385017, -0.5891396403312683, -0.26163214445114136, 0.0727921649813652, 0.48297083377838135, -0.1140955463051796, 0.46812137961387634, -0.20848539471626282, -0.753440260887146, -0.3276418447494507, -0.6778275966644287, 0.0075544980354607105, -0.43112266063690186, 0.3115226626396179, -0.437184602022171, -0.986112654209137, 0.36716821789741516, -0.2946663498878479, 0.3187553584575653, 0.3974185287952423, 0.6153791546821594, -0.3487274646759033, 1.1282497644424438, 0.6129984855651855, 0.4359150826931, 0.1431378871202469, -0.10405050963163376, 0.043959714472293854, -0.8158180117607117, 0.05616937577724457, -0.48038917779922485, -0.1777014285326004, -0.3948363661766052, -0.8590006828308105, 0.18438632786273956, 0.39409127831459045, -0.027312111109495163, 0.1179274246096611, -0.05657217279076576, 0.5666643381118774, 0.1280522644519806, 0.16938406229019165, 0.5881786942481995, -0.41320911049842834, -0.31537801027297974, -0.4788326621055603, -0.519822895526886, -0.9942222833633423, 1.1249643564224243, 0.4141118824481964, 0.8236265778541565, 0.29768091440200806, 0.3652532398700714, 0.43382033705711365, 0.4456265866756439, -0.6024276614189148, 0.586367130279541, 0.23217663168907166, -0.915580153465271, -0.14421126246452332, -0.1628909856081009, -0.22720009088516235, 0.4739576578140259, -0.27524369955062866, -0.5678035020828247, 0.34449997544288635, 0.5125985145568848, -0.05612397566437721, 0.7222326993942261, -0.5473281741142273, 0.9307429790496826, -0.08170002698898315, -0.2777891159057617, -0.3835428059101105, -0.39112111926078796, 0.4106062352657318, -0.2603277266025543, 0.3672904670238495, -0.18499791622161865, 0.05551186203956604, 0.4977658987045288, -0.5753087401390076, 1.0772377252578735, -0.14418640732765198, -0.2507442533969879, 0.04536770284175873, 0.555084764957428, 0.7944644689559937, 0.22351491451263428, -0.0486035980284214, -0.24396131932735443, 0.3903700113296509, -0.30958643555641174, -0.9543521404266357, 0.404162734746933, -0.7489010691642761, -0.9979605674743652, -0.4645107686519623, -0.5359938144683838, -0.5138782858848572, 0.06269413232803345, -0.018075095489621162, 0.3343767821788788, -0.47790196537971497, -0.12036347389221191, 1.0905768871307373, -0.3134886920452118, -0.12098175287246704, 0.7024075388908386, -0.7814897298812866, -0.15115688741207123, 0.6857524514198303, 0.3868444561958313, 0.6257101893424988, 0.1784963607788086, 0.15496878325939178, -0.06382603943347931, -0.7513552308082581, -0.3685426115989685, 0.18160106241703033, -1.1028770208358765, 0.08313898742198944, -0.5749832391738892, -0.134422168135643, -0.34051403403282166, -0.14855852723121643, -0.4483298659324646, -0.6331098675727844, -0.22500593960285187, -0.16408002376556396, 0.31334954500198364, 1.0661345720291138, -0.2031601518392563, 0.06046009436249733, -0.6490226984024048, 0.31788673996925354, 0.18070253729820251, 0.17172329127788544, -0.19012707471847534, -0.787164032459259, -0.12565091252326965, 0.30320578813552856, -0.26204395294189453, -1.16068696975708, 0.20592035353183746, -0.131276935338974, 0.40507248044013977, 0.17239126563072205, 0.22002175450325012, 0.7425647974014282, -0.6300159692764282, 0.5013660788536072, -0.3843788802623749, -1.2122149467468262, 0.7242697477340698, -0.18434470891952515, -0.04174092784523964, 0.3566519021987915, 0.3309210538864136, -1.0602647066116333, -0.6708214282989502, -0.7316120266914368, -0.1366065889596939, 0.44270578026771545, 0.21309855580329895, 0.09570606797933578, 0.17198841273784637, 0.7756450176239014, 0.11882182955741882, 0.19692541658878326, -0.5068532228469849, -0.20683015882968903, -0.13337324559688568, 0.07797078788280487, -0.09568153321743011, -0.3947753310203552, -0.19970090687274933, -0.49693456292152405, 0.9750317335128784, -0.01381455734372139, 0.05698012188076973, 0.49308067560195923, -0.4002567529678345, -0.45392775535583496, 0.5389544367790222, 0.760691225528717, 0.9249911308288574, -0.4710824191570282, -0.02303967997431755, 0.30352380871772766, -0.12084402143955231, 0.19287534058094025, -0.23011037707328796, -0.8188516497612, 0.19341550767421722, 0.22648367285728455, 1.0256425142288208, 0.41369226574897766, -0.49586644768714905, 0.16792179644107819, -0.16546852886676788, -0.3066790997982025, -0.23862037062644958, 0.07435160875320435, 0.22513428330421448, 0.26296740770339966, 0.08138454705476761, 0.6219851970672607, -0.17195136845111847, -0.505885899066925, -0.05729440599679947, 0.1632401943206787, -0.11186468601226807, -0.5982359647750854, 0.5506002902984619, -0.1400904357433319, -0.5617543458938599, 0.3370291590690613, -0.18691100180149078, -0.7608394026756287, 0.38778936862945557, 0.6298690438270569, 0.5455421209335327, -0.26256272196769714, 0.25131580233573914, 0.1507081687450409, 0.6625630855560303, -0.10810305923223495, 0.23065905272960663, 0.4485229253768921, -1.0989556312561035, -0.4953556954860687, -0.3794754445552826, -1.0532119274139404, 0.06453317403793335, -0.39987504482269287, 0.32768356800079346, -0.750301718711853, -0.20384098589420319, -0.03366170451045036, -0.075835220515728, -0.36492034792900085, 0.17473919689655304, 0.025018205866217613, 1.1797302961349487, -0.7343217730522156, 1.0496290922164917, 0.7648893594741821, -0.34312891960144043, -0.5983651876449585, -0.10307160764932632, 0.3703164756298065, -0.529357373714447, 0.42027339339256287, -0.2830839157104492, 0.06896524876356125, 0.04495325684547424, -0.9334302544593811, -0.7844852209091187, 0.7952668070793152, 0.627686083316803, -0.632757842540741, -0.2716755270957947, -0.03106115013360977, 0.5352224707603455, -0.25713658332824707, -0.11364497989416122, 0.39666494727134705, 0.7441419363021851, -0.03117401711642742, -0.6858757138252258, -0.11084076762199402, -0.2444884032011032, 0.029111452400684357, -0.08363480865955353, -0.5698908567428589, 0.9921677708625793, -0.21991030871868134, -0.011596839874982834, -0.010244902223348618, 0.6006274223327637, 0.25926437973976135, 0.0330837182700634, 0.5476015210151672, 0.795185387134552, 0.9184380173683167, 0.035245779901742935, 0.8570185303688049, -0.13456584513187408, 0.662146806716919, 1.1795986890792847, -0.5712310075759888, 0.9193523526191711, 0.48961061239242554, -0.3862603008747101, 0.27332139015197754, 0.8705321550369263, 0.032027240842580795, 0.23164796829223633, 0.16184476017951965, -0.3117762506008148, -0.4124223291873932, 0.04157256335020065, -0.37781891226768494, 0.23648707568645477, 0.4757118821144104, -0.07464040815830231, -0.037179529666900635, -0.14643745124340057, 0.3435764014720917, 0.049093183130025864, -0.05323789641261101, 0.4486731290817261, -0.00325185083784163, -0.4196723401546478, 0.3348310887813568, 0.6138457655906677, 0.30510178208351135, -0.5991533398628235, -0.13160118460655212, -0.23068375885486603, 0.14704814553260803, -0.14604486525058746, -0.6402918100357056, 0.36883509159088135, 0.28418514132499695, -0.27575254440307617, -0.36210906505584717, 0.7986782193183899, -0.2953117787837982, -0.5223521590232849, 0.07921857386827469, 0.456555038690567, -0.08545748889446259, -0.07602149993181229, -0.8708505034446716, 0.4478851854801178, 0.1784559041261673, -0.44427651166915894, 0.38480237126350403, 0.519067108631134, -0.04800434038043022, 0.7171427011489868, 0.8496115803718567, 0.410776823759079, 0.05114154890179634, -0.19762049615383148, 0.9017466902732849, -0.8117097616195679, -0.2925074100494385, -0.7826858758926392, 0.40930843353271484, 0.04403913393616676, -0.34254220128059387, 0.6531587839126587, 0.27194538712501526, 1.0834071636199951, -0.04700639098882675, 0.9217028021812439, -0.025024907663464546, 0.4498409926891327, -0.758933961391449, 0.7423800230026245, -0.39448225498199463, 0.27737125754356384, -0.36781591176986694, -0.9534556865692139, -0.26392900943756104, 0.6838235259056091, -0.34417811036109924, -0.3066524863243103, 0.8132005333900452, 0.9398881196975708, 0.07711440324783325, 0.3101789057254791, 0.3675439953804016, 0.8270995616912842, 0.3371956944465637, 0.21615377068519592, 1.2884328365325928, -0.4847725033760071, -0.08579246699810028, -0.6088945865631104, -0.13122932612895966, -0.04818876460194588, -0.876828670501709, -0.6411304473876953, -0.47772377729415894, -0.5337285995483398, -0.4559943974018097, 0.2991195023059845, 1.2484885454177856, 0.22774682939052582, -0.743806779384613, -0.19862240552902222, 0.26307541131973267, 0.3558862507343292, -0.04436001926660538, -0.1312985122203827, 0.1319529116153717, -0.05210809037089348, -0.6639074683189392, 0.5882506370544434, 0.23670876026153564, 0.23505571484565735, -0.28801229596138, -0.1180444210767746, -0.34626826643943787, 0.3767220675945282, 0.43761423230171204, 0.221109539270401, -0.9584614038467407, -0.6790840029716492, -0.06202869489789009, -0.156680166721344, -0.04219109192490578, 0.7979242205619812, -0.37521421909332275, 0.6339950561523438, 0.2315230816602707, 0.6867541074752808, 0.22617849707603455, -0.16845791041851044, 0.5926793217658997, -0.2825700640678406, -0.14821180701255798, 0.18736065924167633, 0.6066941618919373, 0.2785411477088928, -0.14683149755001068, 0.24587862193584442, 0.8535105586051941, -0.556323230266571, -1.1629647016525269, 0.18362747132778168, -0.7455609440803528, -0.3645976185798645, 0.91920006275177, -0.19348356127738953, -0.30376800894737244, -0.07681972533464432, -0.4938242435455322, 0.290455162525177, -0.005059337243437767, 0.7390743494033813, 1.110012412071228, -0.06405365467071533, -0.0829625278711319, -0.7408926486968994, 0.4690491855144501, 0.44924429059028625, -0.48225167393684387, 0.3268482983112335, 0.7852218747138977, 0.5418148636817932, -0.15009529888629913, 0.6300548315048218, -0.08917858451604843, 0.1981523185968399, -0.015204737894237041, 0.3178592324256897, -0.16449271142482758, -0.1650998741388321, -0.4913483262062073, -0.07912161946296692, 0.4629410207271576, 0.5478132367134094 ]
http://arxiv.org/abs/2406.19349v1
http://arxiv.org/pdf/2406.19349v1
IndoToxic2024: A Demographically-Enriched Dataset of Hate Speech and Toxicity Types for Indonesian Language
2024-06-27T17:26:38
2024-06-27T17:26:38
Lucky Susanto, Musa Izzanardi Wijanarko, Prasetia Anugrah Pratama, Traci Hong, Ika Idris, Alham Fikri Aji, Derry Wijaya
cs.CL
cs.CL, cs.AI
Hate speech poses a significant threat to social harmony. Over the past two years, Indonesia has seen a ten-fold increase in the online hate speech ratio, underscoring the urgent need for effective detection mechanisms. However, progress is hindered by the limited availability of labeled data for Indonesian texts. The condition is even worse for marginalized minorities, such as Shia, LGBTQ, and other ethnic minorities because hate speech is underreported and less understood by detection tools. Furthermore, the lack of accommodation for subjectivity in current datasets compounds this issue. To address this, we introduce IndoToxic2024, a comprehensive Indonesian hate speech and toxicity classification dataset. Comprising 43,692 entries annotated by 19 diverse individuals, the dataset focuses on texts targeting vulnerable groups in Indonesia, specifically during the hottest political event in the country: the presidential election. We establish baselines for seven binary classification tasks, achieving a macro-F1 score of 0.78 with a BERT model (IndoBERTweet) fine-tuned for hate speech classification. Furthermore, we demonstrate how incorporating demographic information can enhance the zero-shot performance of the large language model, gpt-3.5-turbo. However, we also caution that an overemphasis on demographic information can negatively impact the fine-tuned model performance due to data fragmentation.
[ -0.4712672531604767, -0.6304607391357422, -0.021048761904239655, 0.36687299609184265, -0.18930888175964355, -0.1317179948091507, -0.4090878665447235, -0.6541132926940918, 0.09774238616228104, 0.7577537298202515, -0.3301606774330139, -0.5680959224700928, -0.6862162947654724, 0.24932782351970673, -0.33363908529281616, 1.2041807174682617, 0.576702356338501, -0.19255104660987854, -0.11290352791547775, -0.4906269311904907, -0.2939014434814453, -0.5283492207527161, -0.48141559958457947, -0.009274412877857685, 0.779747724533081, 0.5196243524551392, 0.46134719252586365, 0.6303436160087585, 0.27295929193496704, 0.22192701697349548, -0.22739793360233307, -0.21326948702335358, -0.3707585334777832, 0.5648747682571411, -0.34591755270957947, -0.4654513895511627, -0.1123659536242485, -0.1260022222995758, 0.2786598801612854, 0.4159186780452728, -0.07636787742376328, 0.05540170893073082, 0.0441652275621891, 0.3919414281845093, -0.727107584476471, 0.3393368422985077, -0.7930602431297302, -0.11295109242200851, -0.8215451836585999, 0.025684285908937454, -0.35311704874038696, -0.4957866966724396, 0.030158795416355133, -0.3659836947917938, -0.24097739160060883, -0.16074639558792114, 0.37454697489738464, 0.4096532464027405, -0.6121983528137207, -0.3144727647304535, -0.7690778374671936, 0.6979164481163025, -0.4905971586704254, 0.04319978505373001, 0.5397100448608398, 0.17678575217723846, 0.08081236481666565, -0.24362187087535858, -0.5901095271110535, 0.11379639804363251, 0.26625287532806396, 0.08243279904127121, -0.14582161605358124, 0.10810339450836182, 0.0388275682926178, 0.13880555331707, -0.7010115385055542, 0.36063718795776367, -0.7442139983177185, -0.16451339423656464, 0.852441668510437, 0.14771761000156403, 0.4303889870643616, -0.6491332054138184, -0.09731870889663696, 0.09605062752962112, -0.5089306831359863, -0.38154834508895874, 0.9216143488883972, 0.4699063003063202, -0.004377380479127169, 0.6390392184257507, -0.09827195852994919, 0.49845999479293823, -0.19253911077976227, 0.10694050788879395, 0.34322863817214966, 0.03328978642821312, 0.27111127972602844, 0.41721150279045105, 0.722064197063446, 0.5064300894737244, 0.6371583342552185, 0.13736696541309357, 0.3229084014892578, 0.3736572861671448, 0.3213312029838562, -0.9170334339141846, -0.2786843180656433, 0.2825917899608612, -0.2474934309720993, -0.6148197650909424, -0.4963655471801758, -1.2650883197784424, -0.6886481046676636, -0.19373786449432373, 0.11851570010185242, -0.48381584882736206, -0.5454915761947632, -0.46835169196128845, -0.21786868572235107, 0.11537651717662811, 0.28356340527534485, -0.7627273797988892, 0.06980139762163162, 0.6707056164741516, 0.6015321612358093, -0.38562339544296265, 0.17230801284313202, -0.1929323375225067, 0.08822127431631088, -0.263471782207489, 0.8194236159324646, -1.1449036598205566, -0.44230130314826965, 0.08760423213243484, -0.15927347540855408, 0.02885451726615429, -0.7836836576461792, 0.8139477968215942, -0.3125929832458496, 0.37371981143951416, 0.24315038323402405, -0.5312380790710449, -0.20981135964393616, -0.0005250800168141723, -0.4708186686038971, 0.8857088088989258, -0.03469003364443779, -1.0981216430664062, 0.46604567766189575, -0.6232268214225769, -0.37460097670555115, 0.6414484977722168, -0.12233621627092361, -0.5903077125549316, -0.13730481266975403, -0.15541675686836243, 0.3260576128959656, 0.017852196469902992, 0.24694839119911194, -0.7152431607246399, -0.2652744650840759, -0.030883237719535828, -0.3938118815422058, 1.0863906145095825, 0.6357472538948059, -0.3573034703731537, 0.2586037814617157, -0.8688246011734009, -0.40102773904800415, 0.10891582071781158, -0.08299492299556732, -1.0112720727920532, 0.0721881240606308, 0.3218734860420227, 0.3009811341762543, -0.11443106830120087, -0.8571975231170654, -0.15551096200942993, -0.40271466970443726, 0.19811810553073883, 0.9486863017082214, 0.05141795426607132, 0.04349344223737717, -0.264279305934906, 0.42740103602409363, 0.016816670075058937, 0.21226106584072113, 0.1838865876197815, -0.7063802480697632, -0.39013671875, -0.24763606488704681, -0.1469409465789795, 0.851464033126831, -0.64738529920578, 0.5343753695487976, -0.278812050819397, -0.8698312044143677, -0.03497800603508949, -0.12082874029874802, 0.03065962716937065, 0.29139506816864014, 0.2747024595737457, 0.006995226722210646, -0.9706039428710938, -0.7486240863800049, -0.5641008615493774, -0.40985092520713806, 0.007974077947437763, 0.6236070990562439, 0.3264800012111664, -0.25358662009239197, 0.5843979120254517, -0.19395309686660767, -0.4280473291873932, -0.18091118335723877, 0.22771163284778595, -0.10664241015911102, 0.39193254709243774, 0.5070683360099792, -0.9016690850257874, -0.7701156735420227, -0.18419979512691498, -0.5492232441902161, -0.3455216884613037, 0.33028465509414673, -0.06879354268312454, 0.17249685525894165, 0.4390103220939636, 0.042577143758535385, 0.469473272562027, 0.5706562995910645, -0.17125289142131805, 0.43766698241233826, 0.3559010624885559, 0.13971169292926788, -1.097075343132019, -0.10566075891256332, 0.16728247702121735, 0.020256370306015015, -0.6718066930770874, -0.23291179537773132, -0.2993831932544708, -0.3314686119556427, -0.6551402807235718, 0.3441232144832611, 0.32646262645721436, 0.5552308559417725, -0.1541460156440735, -0.19220125675201416, -0.7362315058708191, 0.313150018453598, 0.15151497721672058, 0.6932307481765747, 0.2376127690076828, -0.40194961428642273, 0.45451876521110535, 0.3196788728237152, -0.28796839714050293, 0.9802223443984985, -0.18424707651138306, -0.08110839128494263, -0.41824498772621155, 0.40058496594429016, -0.8022375106811523, -0.6609383225440979, 0.3948659598827362, -0.4396083652973175, -0.009240013547241688, -0.369382381439209, -0.38630953431129456, -0.284382700920105, -0.26772192120552063, 0.6713503003120422, 0.41944292187690735, -0.2624187767505646, 0.3836028575897217, 0.6864526271820068, -0.6277641654014587, -0.3345435857772827, -0.6746966242790222, 0.13844634592533112, -0.8571838736534119, -0.43577906489372253, 0.15015637874603271, 0.01742725260555744, -0.32024145126342773, -0.017683839425444603, 0.17956268787384033, -0.13588401675224304, -0.1231251060962677, 0.6406680941581726, -0.004088465590029955, 0.17157061398029327, 0.2691114842891693, 0.21540357172489166, 0.02296285331249237, 0.37386441230773926, -0.1862252950668335, 0.5582863092422485, 0.23561213910579681, 0.3120114803314209, -0.2552509009838104, 0.35172268748283386, 0.7178358435630798, -0.18201898038387299, 0.8970010280609131, 0.4251023232936859, -0.5673120617866516, -0.004467209801077843, -0.3722434639930725, 0.09977228194475174, -0.38257718086242676, 0.23404783010482788, 0.012324521318078041, -0.8347457647323608, 0.4153808653354645, -0.05489205941557884, -0.08726851642131805, 0.6876596212387085, 0.7120758891105652, 0.2453257143497467, 0.9454229474067688, 0.33953526616096497, 0.008721034973859787, 0.6126947999000549, 0.3893648087978363, 0.08270802348852158, -0.4493196904659271, -0.39079487323760986, -0.8007696270942688, 0.3098737895488739, -1.0102826356887817, -0.354579895734787, 0.53116774559021, -0.6414229273796082, -0.5255548357963562, 0.3071545660495758, -0.7360902428627014, 0.48743268847465515, 0.09854652732610703, -0.0000675649571348913, 0.16237150132656097, 0.21263250708580017, 0.271992564201355, -0.5961862802505493, -0.28114446997642517, -0.23906481266021729, 1.2997477054595947, 0.20701390504837036, 0.6333510875701904, 0.07693387567996979, 0.5717835426330566, 0.5380895733833313, 0.6700869202613831, -0.21852999925613403, 0.29521793127059937, -0.6669577956199646, -1.3431134223937988, -0.1245410367846489, -0.6044398546218872, -0.7422075271606445, 0.03910353407263756, 0.22094129025936127, -0.9261884093284607, 0.38569003343582153, -0.07389601320028305, -0.24555177986621857, 0.4244548976421356, -0.5136016011238098, 0.8371546268463135, -0.00032720118178986013, -0.32018283009529114, -0.40561434626579285, -0.6890275478363037, 0.595468282699585, -0.27678483724594116, 0.5217150449752808, -0.5716875791549683, 0.028720516711473465, 0.8856831192970276, -0.4168239235877991, 0.8859266042709351, -0.2664824426174164, -0.07432589679956436, 0.21434944868087769, -0.144609272480011, 0.24759921431541443, -0.19284994900226593, -0.4310705363750458, 0.3083273768424988, 0.01988818496465683, -0.4258248209953308, -0.15602272748947144, 0.8112708330154419, -0.6610368490219116, -0.15380729734897614, -0.4828181564807892, -0.25875797867774963, -0.03805563971400261, 0.03810698539018631, 0.4694480299949646, 0.20201589167118073, -0.06129123270511627, 0.3752616047859192, 0.6654384732246399, -0.6607764363288879, -0.07358986139297485, 0.23748020827770233, -0.26216745376586914, -0.4987887442111969, 1.420755386352539, 0.4364639222621918, 0.18068785965442657, -0.03365127742290497, 0.09293340891599655, -0.3883136808872223, -0.11345497518777847, -0.28711289167404175, 0.09022717922925949, -0.613764762878418, -0.20089897513389587, -1.1176682710647583, -0.2972385287284851, -0.4130764305591583, 0.10471481829881668, -0.3166927099227905, -0.24906620383262634, -0.15591511130332947, 0.041821833699941635, 0.5674593448638916, 0.7238509654998779, -0.5263206362724304, 0.20141242444515228, -0.17286553978919983, 0.10717888176441193, 0.3511286973953247, 0.5710291862487793, -0.27463239431381226, -0.5771356821060181, 0.24463090300559998, -0.02530515380203724, -0.008822001516819, -1.087972640991211, 0.43704432249069214, 0.2320265769958496, 0.007337047252804041, 0.2470276951789856, 0.6355692148208618, 0.5442159175872803, -0.2899707853794098, 0.6378811001777649, -0.24333152174949646, -0.5600911378860474, 0.843288242816925, -0.579766035079956, -0.11574345082044601, 0.5553121566772461, 0.8059482574462891, -0.755599856376648, -0.748205304145813, -0.6996352672576904, -1.0805038213729858, 0.6931470632553101, 0.31738972663879395, 0.2964417636394501, -0.1306704580783844, 0.09643828868865967, 0.25156792998313904, 0.06142762303352356, -0.6009665131568909, -0.39201807975769043, -0.3857569396495819, -0.44815900921821594, 0.23462939262390137, -0.41705092787742615, 0.01863170973956585, -0.3894727826118469, 0.6260988116264343, 0.1683138906955719, -0.013827260583639145, -0.22197496891021729, 0.0689786821603775, -0.1270408183336258, 0.356460839509964, 0.3571769595146179, 0.21090830862522125, -0.4492371678352356, 0.05092976614832878, 0.10844822973012924, -0.6584281921386719, 0.23828662931919098, 0.4362941086292267, -0.05797388777136803, -0.1604652851819992, 0.13169363141059875, 0.5111414790153503, -0.14041021466255188, -0.7301357984542847, 0.5207730531692505, -0.24187171459197998, 0.058189667761325836, -0.8247309327125549, 0.11257696151733398, -0.30673179030418396, -0.16198459267616272, 0.4938966929912567, 0.08306701481342316, 0.2561534643173218, -0.22331227362155914, 0.45724329352378845, 0.008196985349059105, -0.6840101480484009, -0.15689778327941895, 0.9373881220817566, 0.4893348813056946, 0.028396807610988617, 0.5745514631271362, -0.18581484258174896, -0.5361624956130981, 0.4448588192462921, 0.0883011743426323, 0.6637852787971497, -0.6021199226379395, 0.3502758741378784, 0.6132725477218628, 0.27582451701164246, 0.8096932768821716, 0.06285213679075241, -0.02275725267827511, -0.4121275544166565, -0.4630240797996521, -0.7457905411720276, -0.25481298565864563, 0.27908679842948914, -0.6150233745574951, 0.1491008698940277, -0.649055540561676, 0.127237930893898, 0.22454801201820374, -0.026323789730668068, -0.3361451029777527, 0.06365479528903961, 0.2980205714702606, 0.5925962328910828, -1.143937587738037, 0.5078558325767517, 0.49643683433532715, -0.3067435920238495, -0.31554001569747925, -0.03618704900145531, 0.512728750705719, -0.5871936082839966, 0.5093501210212708, 0.5215480923652649, 0.4224412739276886, -0.008410497568547726, -0.8192939162254333, -0.5082094073295593, 0.23510879278182983, 0.14409750699996948, -0.4009450078010559, 0.43787747621536255, 0.38209155201911926, 0.7549504041671753, -0.15114885568618774, 0.1243663802742958, 0.5434185862541199, 0.6161126494407654, -0.011618036776781082, -0.5895951986312866, -0.059263695031404495, -0.41935354471206665, -0.13800205290317535, 0.08679195493459702, -0.6627963185310364, 0.453470379114151, 0.29874658584594727, -0.2853016257286072, -0.02592059038579464, 0.534724235534668, -0.04710008576512337, 0.18578654527664185, 0.738281786441803, 0.5694060921669006, 0.33932965993881226, -0.07863204181194305, 0.8424606919288635, -0.0034861324820667505, 0.05426754057407379, 0.8864069581031799, -0.2855609953403473, 0.530712902545929, -0.0023190162610262632, -0.16122187674045563, 0.42649051547050476, 0.6792842745780945, 0.2683345377445221, 0.3431212902069092, 0.24999696016311646, -0.5776380300521851, -0.5008496642112732, -0.8347358107566833, -0.4809770882129669, 0.6051189303398132, 0.8702360987663269, 0.009996691718697548, -0.24353626370429993, 0.505025327205658, 0.26918402314186096, 0.24850162863731384, 0.01409187726676464, 0.9896042346954346, -0.25821971893310547, -0.423629492521286, 0.28122979402542114, -0.21455644071102142, 0.8512203693389893, -0.33892661333084106, -0.0273292176425457, -0.23732265830039978, 0.30579930543899536, -0.30408674478530884, -0.9679925441741943, 0.8884972333908081, 0.26621466875076294, -0.03724121302366257, 0.05269668251276016, 0.5455155372619629, -0.7175521850585938, -0.2909056842327118, 0.3721986413002014, -0.27265653014183044, 0.33720463514328003, -0.4958259165287018, -0.6522718667984009, 0.5126329064369202, 0.10699115693569183, 0.21832777559757233, 0.245677649974823, 0.4878205358982086, -0.29052501916885376, 0.5627323389053345, 0.5527631044387817, 0.08674260228872299, 0.18186001479625702, -0.1557447463274002, 0.7649356722831726, -0.44224441051483154, -0.3167806565761566, -0.4979717433452606, 0.3713175356388092, -0.42872098088264465, -0.5686799883842468, 0.656129002571106, 0.7221916317939758, 1.0025924444198608, 0.278488427400589, 0.9929534792900085, -0.31982654333114624, 0.9977185130119324, 0.2905983030796051, 0.7585952877998352, -0.5176219940185547, 0.020611239597201347, -0.46931785345077515, -0.7873002290725708, -0.5854270458221436, 0.3913961946964264, -0.5479381084442139, -0.053858064115047455, 0.007273838389664888, 0.7557737827301025, 0.2006528377532959, 0.31355908513069153, 0.16466514766216278, 0.5386108756065369, 0.6734755635261536, 0.3210863471031189, 0.7361130118370056, -0.3223416805267334, 0.9363085031509399, -0.5933967232704163, -0.29048606753349304, -0.3534514307975769, -0.42766982316970825, -0.673547625541687, -0.6866549849510193, -0.44175392389297485, -0.3864414393901825, 0.44760897755622864, 0.8826873898506165, 0.5240395069122314, -0.9678577184677124, -0.04772449657320976, 0.10173724591732025, 0.1919461488723755, 0.27510708570480347, -0.32598868012428284, 0.013911809772253036, -0.014498668722808361, -0.8250199556350708, -0.05845124274492264, 0.49002110958099365, -0.13688209652900696, -0.15439656376838684, -0.02275701053440571, -0.2985314428806305, 0.17454107105731964, 0.6035186648368835, 0.5446301698684692, -0.5391778945922852, -0.24005772173404694, -0.5840230584144592, -0.0856771469116211, -0.2254415899515152, 0.49851810932159424, -0.5263247489929199, 0.6766195893287659, 0.43031346797943115, 0.5817814469337463, 0.29658156633377075, 0.04898781701922417, 0.2522526681423187, -0.6216958165168762, 0.4844411015510559, 0.4868949353694916, -0.12838123738765717, 0.41710078716278076, -0.28766903281211853, 0.49616310000419617, 0.5384173393249512, -0.5911858081817627, -0.8610631823539734, 0.1478467583656311, -0.6377867460250854, -0.28140226006507874, 1.0785359144210815, 0.18397940695285797, -0.32600322365760803, -0.5615842938423157, -0.2960158884525299, 0.14554955065250397, -0.5076568126678467, 0.7049281001091003, 0.6052020788192749, -0.002227895660325885, -0.1778932362794876, -0.4204709231853485, 0.6990270614624023, 0.41013047099113464, -0.9423038959503174, 0.3116838335990906, 0.6433089971542358, 0.21578703820705414, 0.09946552664041519, 0.23560534417629242, -0.3957987129688263, 0.18627972900867462, 0.009396112523972988, -0.06608472019433975, 0.38916125893592834, -0.32464006543159485, -0.18751725554466248, 0.16043798625469208, -0.3640598654747009, -0.002666543470695615 ]
http://arxiv.org/abs/2406.19317v1
http://arxiv.org/pdf/2406.19317v1
Jump Starting Bandits with LLM-Generated Prior Knowledge
2024-06-27T16:52:19
2024-06-27T16:52:19
Parand A. Alamdari, Yanshuai Cao, Kevin H. Wilson
cs.LG
cs.LG, cs.AI, cs.CL
We present substantial evidence demonstrating the benefits of integrating Large Language Models (LLMs) with a Contextual Multi-Armed Bandit framework. Contextual bandits have been widely used in recommendation systems to generate personalized suggestions based on user-specific contexts. We show that LLMs, pre-trained on extensive corpora rich in human knowledge and preferences, can simulate human behaviours well enough to jump-start contextual multi-armed bandits to reduce online learning regret. We propose an initialization algorithm for contextual bandits by prompting LLMs to produce a pre-training dataset of approximate human preferences for the bandit. This significantly reduces online learning regret and data-gathering costs for training such models. Our approach is validated empirically through two sets of experiments with different bandit setups: one which utilizes LLMs to serve as an oracle and a real-world experiment utilizing data from a conjoint survey experiment.
[ -0.47377729415893555, -0.6747411489486694, 0.7550473809242249, -0.040589265525341034, -0.04731392487883568, 0.14714430272579193, -0.45989519357681274, -0.31093358993530273, 0.2930300533771515, 0.8719488978385925, -0.513580322265625, -0.6555713415145874, -0.5977693796157837, -0.2575988173484802, -0.14011234045028687, 1.278803825378418, 0.20125024020671844, -0.21612006425857544, -0.12491209805011749, 0.16757577657699585, -0.5009356737136841, -0.700047492980957, -0.9670432209968567, -0.3081728219985962, 0.9094231128692627, 0.20458576083183289, 0.4900193214416504, 0.14847911894321442, 0.06834407150745392, 0.23315532505512238, 0.005277839954942465, 0.3284206688404083, -0.764649510383606, 0.17388813197612762, -0.05598607659339905, -0.6499645113945007, -0.038738761097192764, 0.1114560142159462, 0.1629040539264679, 0.5875368714332581, -0.46670442819595337, -0.157250314950943, 0.012271270155906677, 0.49797993898391724, -0.7699959874153137, -0.05353744700551033, -0.5798564553260803, -0.08467335253953934, -0.11618207395076752, -0.3395591378211975, -0.4712171256542206, -0.5651862621307373, 0.7237437963485718, -0.8712507486343384, -0.08295938372612, 0.005357732996344566, 0.4319702684879303, 0.20547139644622803, -0.5102649331092834, -0.4239102303981781, -0.8380786180496216, 0.7598706483840942, -0.5747770071029663, 0.0946928858757019, 0.6509939432144165, 0.3913689851760864, -0.1661161184310913, -0.5973366498947144, -0.2552548050880432, -0.2930937111377716, -0.1648804247379303, -0.17285963892936707, 0.07271231710910797, 0.06818432360887527, 0.31549206376075745, -0.1794988363981247, -0.4159890115261078, 0.11042831838130951, -0.4279589056968689, -0.13206283748149872, 0.7158388495445251, 0.01977822184562683, -0.0537765733897686, 0.07774375379085541, -0.49952295422554016, -0.23171314597129822, -0.9914119243621826, 0.44001132249832153, 0.6962894797325134, 0.5287895798683167, -0.06366924196481705, 0.4917903244495392, -0.20389847457408905, 0.9395291209220886, 0.24740482866764069, -0.47677674889564514, 0.1628466695547104, -0.14608685672283173, -0.20479370653629303, 0.08710610866546631, 0.45232152938842773, 0.44600173830986023, 0.7512376308441162, -0.0006571962148882449, -0.19212785363197327, -0.1784055233001709, 0.28219935297966003, -0.5103520750999451, -0.13680745661258698, 0.14872173964977264, -0.12749820947647095, -0.24414794147014618, -0.09229322522878647, -0.4903920888900757, -0.47139444947242737, -0.30207180976867676, 0.5104900002479553, -0.4487687349319458, 0.14088597893714905, 0.12872318923473358, -0.2823323607444763, 0.2894628942012787, 0.410665363073349, -0.9209284782409668, 0.033075347542762756, 0.42464879155158997, 0.7173274755477905, -0.06616184115409851, -0.34800583124160767, -0.8688016533851624, 0.3285170793533325, -0.2993195652961731, 0.7870110869407654, -0.5323372483253479, -0.6514600515365601, 0.37119996547698975, -0.20073790848255157, 0.09846290946006775, -0.40139245986938477, 0.4009324014186859, -0.8490219712257385, 0.35134005546569824, -0.16767403483390808, -0.5517328381538391, -0.2210749387741089, 0.5039877891540527, -0.3936241865158081, 0.9318864941596985, 0.011420462280511856, -0.6096469163894653, 0.8309240937232971, -0.6251208782196045, -0.5622180104255676, -0.018902679905295372, 0.09123408794403076, 0.02850484848022461, -0.15293417870998383, 0.5220862030982971, 0.6659045815467834, -0.05909920856356621, 0.478009968996048, -0.48195144534111023, -0.5636447072029114, 0.06371129304170609, 0.039340000599622726, 0.825158953666687, 0.09280666708946228, 0.022248612716794014, 0.14670279622077942, -0.36486953496932983, -0.27540603280067444, -0.05073467642068863, -0.5704942941665649, -0.7821930050849915, 0.24423640966415405, -0.02116827853024006, 0.10751773416996002, 0.25724342465400696, -0.26674309372901917, 0.5040938258171082, -0.5499758124351501, 0.19089071452617645, 0.8889224529266357, 0.11495316028594971, 0.47528398036956787, -0.3974704146385193, 0.37855064868927, -0.23608489334583282, -0.1999213844537735, -0.5190655589103699, -0.3059976398944855, -0.5784041881561279, -0.33362212777137756, 0.3602805435657501, 0.6136370301246643, -0.9292789101600647, 0.6225658655166626, 0.019810864701867104, -0.2413087636232376, 0.21438653767108917, 0.2963239252567291, 0.06195671483874321, 0.10850004106760025, 0.27025100588798523, -0.41600948572158813, -0.5735005140304565, -0.7029377222061157, -0.5010941028594971, -0.12123707681894302, -0.5011759400367737, 0.6138021945953369, 0.07204458117485046, -0.4080679714679718, 1.2408545017242432, -0.7679824829101562, -0.44974443316459656, -0.27324193716049194, 0.14143019914627075, 0.2956075072288513, 0.19723492860794067, 0.5839331746101379, -0.49631085991859436, -0.39135459065437317, -0.4432063400745392, -0.5416350960731506, 0.14028321206569672, -0.21244485676288605, -0.07829345762729645, -0.07920124381780624, 0.3734588921070099, -0.5879278182983398, 0.15223167836666107, 0.30787378549575806, -0.2319737672805786, 0.15100421011447906, -0.36632493138313293, 0.08465792238712311, -1.1190232038497925, -0.25325241684913635, 0.2823416590690613, -0.15562325716018677, -0.5111517906188965, -0.22832044959068298, -0.15805503726005554, 0.0883578434586525, -0.3756575882434845, 0.6871141791343689, -0.19203750789165497, -0.04577482491731644, -0.06521803885698318, 0.2907160818576813, -0.27480030059814453, 0.5505250096321106, 0.31590551137924194, 0.6022987961769104, 0.6258543133735657, -0.8416426181793213, 0.17687644064426422, 0.2775288224220276, -0.5243212580680847, 0.6374809741973877, -0.5359557867050171, 0.12012345343828201, -0.11544885486364365, 0.5568556785583496, -0.9696443676948547, -0.3888593018054962, 0.07371813803911209, -0.34725311398506165, 0.30524542927742004, -0.41608166694641113, -0.07169943302869797, -0.15830020606517792, -0.46875452995300293, 0.16062438488006592, 0.5094916224479675, -0.7149381637573242, 0.4984256625175476, 0.5029589533805847, -0.33782458305358887, -0.7753791213035583, -0.3941231071949005, 0.10337168723344803, -0.5322703123092651, -0.4028399884700775, 0.34154826402664185, -0.03471432253718376, -0.28999465703964233, -0.2627716362476349, 0.34430497884750366, 0.04871530458331108, 0.0542415976524353, 0.03382843732833862, 0.4198940694332123, 0.1506892293691635, 0.14471977949142456, 0.10074184834957123, -0.06469327211380005, 0.05424373596906662, -0.840429425239563, 0.41645723581314087, 0.2894836366176605, -0.10188528150320053, 0.1233890950679779, -0.025068208575248718, 0.21950171887874603, -0.04234844073653221, 0.5641245245933533, 0.609551191329956, -0.29987746477127075, -0.2917150557041168, -0.671656608581543, -0.18208050727844238, -0.4652986526489258, 0.04796909913420677, -0.07377520203590393, -1.3487739562988281, 0.1241878941655159, -0.23757970333099365, 0.2639927268028259, 0.2082902044057846, 0.6572408080101013, -0.24033908545970917, 0.5916033983230591, 0.769482433795929, -0.1830594539642334, 0.6111704707145691, -0.29696837067604065, 0.09209027141332626, -0.5950676202774048, -0.17301645874977112, -0.2049562782049179, -0.25361207127571106, -0.4805797338485718, -0.5179012417793274, 0.43040281534194946, 0.11094069480895996, -0.25461211800575256, 0.2682764232158661, -0.013949735090136528, 0.6366472244262695, 0.7824323773384094, 0.14865466952323914, 0.05830493941903114, -0.005623118951916695, -0.36651623249053955, 0.13301481306552887, -0.6145488023757935, -0.406258761882782, 1.6834429502487183, -0.12329065054655075, 0.8987634181976318, -0.0871259868144989, 0.8434927463531494, 0.6853601336479187, 0.36261284351348877, -0.8672702312469482, 0.19172267615795135, 0.1708962321281433, -0.7502248883247375, -0.47723427414894104, -0.24570149183273315, -1.1305965185165405, 0.051129575818777084, -0.48492223024368286, -0.893025815486908, 0.13964557647705078, 0.32926660776138306, -0.9566841721534729, 0.23422124981880188, -0.5669968724250793, 0.5609796047210693, -0.5105763673782349, -0.4707956314086914, -0.23952114582061768, -0.742561399936676, 0.822554886341095, -0.12234921008348465, 0.35485222935676575, -0.13829585909843445, -0.11636752635240555, 0.9009780883789062, -0.2231341451406479, 1.0169483423233032, -0.40248411893844604, -0.06623829156160355, 0.5114964246749878, 0.09866628795862198, 0.7347301840782166, 0.24570131301879883, 0.32861796021461487, 0.14705409109592438, -0.30346041917800903, -0.2579931318759918, -0.3769158720970154, 0.8287035226821899, -0.7275574803352356, -0.5868139266967773, -0.36681005358695984, -0.3964008092880249, -0.5398412942886353, 0.028073512017726898, -0.0974295437335968, 0.22587285935878754, -0.34140434861183167, 0.30528751015663147, 0.7618946433067322, -0.2694436013698578, 0.43665552139282227, 0.3943726122379303, -0.2765794098377228, -0.6293631196022034, 0.6080570220947266, -0.06782912462949753, -0.04570430517196655, 0.4082217514514923, 0.09761819243431091, -0.5133448243141174, -0.40712589025497437, -0.4575154483318329, -0.051679160445928574, -0.6288706064224243, -0.07358357310295105, -0.6650405526161194, 0.2609527111053467, -0.227668896317482, -0.5732780694961548, 0.0029909005388617516, -0.16626396775245667, -0.09060065448284149, -0.11900144070386887, 0.5229488015174866, 0.8315573334693909, -0.12331953644752502, 0.5876436829566956, -0.8286744952201843, 0.16549143195152283, 0.7089000344276428, 0.3410991132259369, -0.26822492480278015, -0.5085415244102478, -0.5039762854576111, -0.1324731558561325, -0.11607447266578674, -0.6672481894493103, 0.5297558903694153, -0.020876239985227585, 0.6881459951400757, 0.7833483219146729, -0.0072538587264716625, 0.4019339978694916, -0.48078685998916626, 0.8424772024154663, 0.12960167229175568, -0.6677560806274414, 0.42886972427368164, -0.7327690720558167, 0.07918918877840042, 0.5625855326652527, 0.9439805150032043, -0.41398924589157104, 0.14332357048988342, -0.3374302387237549, -0.8372309803962708, 0.7766599655151367, -0.09807968884706497, 0.10902078449726105, 0.21438920497894287, 0.4142400920391083, 0.15735402703285217, 0.2337343990802765, -0.464017778635025, -0.09610172361135483, 0.1807500571012497, 0.14515681564807892, -0.8636990785598755, -0.2907733917236328, -0.36163920164108276, 0.003047034377232194, 0.4449812173843384, -0.3139455020427704, -0.12575623393058777, -0.12961313128471375, -0.3115983009338379, 0.1053883358836174, 0.09161090850830078, 0.47849950194358826, 0.7379403710365295, -0.36355826258659363, -0.03714483976364136, 0.4140278398990631, -0.04285423085093498, 0.3001130521297455, 0.03655773028731346, -0.34387844800949097, -0.40375348925590515, 0.2670474946498871, 0.703799843788147, 0.6784103512763977, -0.937472403049469, 0.40480858087539673, -0.09695429354906082, -0.27625206112861633, -0.42156219482421875, 0.17883232235908508, 0.4040379226207733, 0.35042551159858704, 0.5489020943641663, 0.19186094403266907, 0.13137120008468628, -0.4557810425758362, 0.2525659203529358, 0.6779288053512573, -0.08579602837562561, 0.04484875127673149, 0.2416428029537201, 0.40175682306289673, -0.4100460708141327, 0.3209124803543091, 0.10803217440843582, -0.35468417406082153, 0.15732966363430023, 0.33722954988479614, 0.884575605392456, 0.0004772024694830179, 0.07751985639333725, 0.4688321650028229, 0.2849045693874359, -0.13202396035194397, -0.3034736216068268, -0.43630263209342957, -0.8315631151199341, -0.5038109421730042, -0.6891924142837524, -0.6470033526420593, -0.11746973544359207, -0.5159581899642944, 0.6877234578132629, -0.4629457890987396, -0.05244719982147217, -0.26100051403045654, -0.004510810598731041, -0.7462628483772278, 0.2105618566274643, 0.3837631046772003, 0.6847533583641052, -0.6353186964988708, 0.8492743372917175, 0.45655953884124756, -0.1490330696105957, -0.4064669609069824, 0.16286911070346832, 0.013683700002729893, -0.7968764901161194, 0.5496883392333984, 0.05391877517104149, -0.17532773315906525, 0.006773629225790501, -0.6505439877510071, -1.0826412439346313, 1.0881915092468262, 0.17887133359909058, -0.4558522701263428, -0.12154443562030792, -0.5088242292404175, 0.24994027614593506, -0.6809325218200684, 0.43782323598861694, 0.7102434039115906, 0.5562819838523865, 0.38544583320617676, -0.7234324216842651, -0.30524343252182007, 0.2620146870613098, 0.06693082302808762, 0.21109139919281006, -0.2556441128253937, 0.9157203435897827, -0.5349447727203369, -0.03678639978170395, -0.3284741938114166, 0.43170103430747986, 0.46969908475875854, 0.22410035133361816, 0.7710096836090088, 0.4932851493358612, 0.7607208490371704, 0.017099691554903984, 1.1349321603775024, -0.29532667994499207, 0.07570583373308182, 1.0579941272735596, -0.5486383438110352, 0.9500298500061035, 0.2671431005001068, -0.3624555766582489, 0.7439146637916565, 1.032371163368225, 0.3272402286529541, 0.5362170934677124, 0.16590094566345215, -0.25418251752853394, -0.4682355225086212, 0.31512507796287537, -0.2949409782886505, 0.39516711235046387, 0.433823823928833, -0.12395690381526947, -0.2150035947561264, -0.003423023968935013, -0.020667750388383865, -0.09648562967777252, -0.2371864765882492, 1.0007885694503784, -0.22167980670928955, -0.9569204449653625, 0.5624480843544006, 0.2518329918384552, 1.2449111938476562, -1.070346474647522, 0.14913257956504822, -0.24005533754825592, -0.008470432832837105, 0.06135454401373863, -0.5268351435661316, 0.01589803956449032, 0.11025428771972656, -0.08167695254087448, -0.23757219314575195, 0.8608915209770203, -0.569050669670105, -0.27279433608055115, 0.31148117780685425, 0.7170297503471375, 0.14378732442855835, -0.06835799664258957, -0.35406607389450073, -0.395950049161911, -0.1469336748123169, -0.47126954793930054, 0.6175673007965088, 0.06924980133771896, -0.02629963308572769, 0.6236862540245056, 1.205583930015564, -0.11643633991479874, -0.07693164050579071, -0.23246769607067108, 0.9318116903305054, -0.8056313395500183, -0.7366828322410583, -0.8179186582565308, 0.35293999314308167, -0.039733562618494034, -0.1775939017534256, 0.8569919466972351, 0.4706614911556244, 1.1561012268066406, -0.17792320251464844, 1.024571180343628, 0.03952013701200485, 0.36408570408821106, -0.6685812473297119, 0.5376343727111816, -0.38773974776268005, 0.2630896270275116, -0.06182185932993889, -0.9074785709381104, -0.18974632024765015, 0.5265741944313049, -0.6112710237503052, 0.1866212636232376, 0.3336281478404999, 0.652023196220398, 0.08237427473068237, -0.3621668517589569, 0.5149210691452026, -0.2208450585603714, -0.0021969452500343323, 0.6684953570365906, 0.918490469455719, 0.11129478365182877, 0.4595000743865967, 0.03462645784020424, -0.25372418761253357, -0.390536367893219, -1.0025569200515747, -1.2255828380584717, -0.1613755226135254, 0.2143450677394867, -0.264529824256897, 0.12729528546333313, 1.372895359992981, 0.9127538800239563, -0.6216037273406982, -0.5817381143569946, 0.3172367513179779, 0.31813356280326843, -0.07927896827459335, -0.1694970726966858, 0.0012354267528280616, -0.49553829431533813, -0.7150577902793884, 0.7288792133331299, 0.2644835412502289, -0.05550142750144005, -0.5637773871421814, -0.4595605134963989, -0.5111042261123657, 0.372286319732666, 0.81843501329422, 0.22520595788955688, -0.825486421585083, -0.14489342272281647, -0.06332730501890182, 0.12648294866085052, -0.0892726257443428, 1.28581702709198, -1.3348993062973022, 0.4029931426048279, 0.30350223183631897, 0.6248958110809326, 0.945372998714447, -0.02164180763065815, 0.7096692323684692, -0.7536172270774841, 0.2905045747756958, 0.07817016541957855, 0.36622706055641174, 0.2518385648727417, -0.3826791048049927, 0.36560970544815063, 0.17047058045864105, -0.2748227119445801, -0.5993105173110962, -0.0015615003649145365, -0.6309095621109009, -0.27747297286987305, 1.079196572303772, -0.49211782217025757, 0.14752258360385895, -0.11774683743715286, -0.3203241527080536, -0.1412392258644104, -0.5323295593261719, 0.6239382028579712, 0.7098851799964905, -0.08428669720888138, 0.1543944627046585, -0.3178035318851471, 0.6499559879302979, 0.11046702414751053, -0.8707351684570312, -0.0004609860188793391, 0.6723021864891052, 0.2792932689189911, 0.058024391531944275, 0.6261303424835205, 0.5140392184257507, 0.10483431816101074, -0.027613988146185875, 0.1632387489080429, -0.08827553689479828, -0.5937276482582092, -0.34743532538414, 0.42456474900245667, 0.09930913150310516, 0.23633968830108643 ]